From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32613 invoked by alias); 13 Apr 2012 09:11:34 -0000 Received: (qmail 32603 invoked by uid 22791); 13 Apr 2012 09:11:33 -0000 X-SWARE-Spam-Status: No, hits=-4.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 13 Apr 2012 09:11:19 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1SIcXE-00030D-Ph from Yao_Qi@mentor.com ; Fri, 13 Apr 2012 02:11:16 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Fri, 13 Apr 2012 02:11:16 -0700 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.1.289.1; Fri, 13 Apr 2012 02:11:15 -0700 Message-ID: <4F87ED9A.5020500@codesourcery.com> Date: Fri, 13 Apr 2012 09:45:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: Eli Zaretskii CC: , Subject: Re: RFC: add .dir-locals.el References: <87bonj8aa0.fsf@fleche.redhat.com> <4F8614A8.6040800@codesourcery.com> <83bomw4vob.fsf@gnu.org> In-Reply-To: <83bomw4vob.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00343.txt.bz2 On 04/13/2012 03:06 AM, Eli Zaretskii wrote: > Can't you make them not risky conditioned on specific types of values, > like strings etc.? Could you elaborate a little please? I find that emacs prompts to ask apply risky local variables when opening *every* file in gdb, which is boring to me. I'll think of how to "make them not risky", but I have no clue so far. -- Yao (齐尧)