From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eduardo Ochs Newsgroups: gmane.emacs.help Subject: Re: Where does a dir-local variable come from? Date: Mon, 5 Sep 2022 23:59:06 -0300 Message-ID: References: <837d2ikpq2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9624"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 06 04:59:53 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oVOob-0002OJ-8P for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 06 Sep 2022 04:59:53 +0200 Original-Received: from localhost ([::1]:58834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVOoZ-0000pM-LH for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 22:59:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVOo6-0000pB-Eg for help-gnu-emacs@gnu.org; Mon, 05 Sep 2022 22:59:22 -0400 Original-Received: from mail-il1-x130.google.com ([2607:f8b0:4864:20::130]:42648) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVOo4-0001rX-Jy; Mon, 05 Sep 2022 22:59:22 -0400 Original-Received: by mail-il1-x130.google.com with SMTP id k2so5358042ilu.9; Mon, 05 Sep 2022 19:59:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=5QgieJ1rX2lG5Yog81aJ3dIfsli8DFA9myiUUj5krjU=; b=K3jmpo1oOpUbzdFVBSBbJ5ZcrZ/wem3+m68N6X1ovOwhrLdk53EKFWXSvtVoxTVfAR k14lYMPlkoFjy6EQh9JJOIozyNiDxXqEmBmfKsPnRqALpSze9NDO0GxnE0NIjPDZMvQI dz7xxPKZu7Yu4BxuFuZ8AzuDodk2rEXPLjUaFcu0McDzs5H6k+RuW7gNVnhhk7t1zjL9 y6zxi9bI4k3XZ/BtgmVctAeB2nQOd0WDnBEhHMdSPnAZhlMZN9IQRbmOnV3QgHyYlNXk NRhb0EduhOwtm6CwmOuJ48fUzF8tsm/MUuMJRuVo5Zb5Lm5YqVxkEShdLhpEGGdB6RHY wkqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=5QgieJ1rX2lG5Yog81aJ3dIfsli8DFA9myiUUj5krjU=; b=w2zEtqPiP7b0aZ4dmGi4qHMhL/j7Or88z/V2nWMYzDYHUzzEuaaSktC1KwvAzEgr0Z DcVeDMLwH0PaEJrmVplWzdGz5Wa/VR/Nf6tg4HnGG0AGszu4EZr9MmwTBxylOux7iTCT aDbes2BxiZ5j2mCLuNOxjs3ihQeiVF1Via13feJe8kWkWRSg/G/NM3NGf4aju63/V/jT aVVWTazVUMXz20CwJrKbUsR1Kx34spRtWgb3a5uUEASt+bu9kac68LED8/67wExpM9PY 8/8lbL16QCV/up/xItxfWsgC+3mXutGx4GK9XmAKFMCOYIy4KDlVMtp/rpUrHz1HmpEj eQ3w== X-Gm-Message-State: ACgBeo3weuxl/Oqwxt/xHNpJf7wZq65wBE0j13n96aTXxnK0HG0AGn4H 74yiQqL0BkUVfav56MJCcoyCQ0SeNxIcCUC54IU24MWQ44U= X-Google-Smtp-Source: AA6agR6Jy7XJJ4wcM9wTncKichPD4ETycp4Y9GLDPEpRHqkxmoBrjkT4NSgYXaK3l8B9ZwJMMryf1BEwuQD+ot5zyR0= X-Received: by 2002:a92:b106:0:b0:2dc:eebb:e6f6 with SMTP id t6-20020a92b106000000b002dceebbe6f6mr26418480ilh.54.1662433158169; Mon, 05 Sep 2022 19:59:18 -0700 (PDT) In-Reply-To: <837d2ikpq2.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::130; envelope-from=eduardoochs@gmail.com; helo=mail-il1-x130.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139269 Archived-At: On Mon, 5 Sept 2022 at 09:16, Eli Zaretskii wrote: > > > From: Eduardo Ochs > > Date: Mon, 5 Sep 2022 05:58:12 -0300 > > > > is there a good low-level way to discover where a certain dir-local > > variable "comes from"? For example, in my machine these two files > > > > /home/edrx/.dir-locals.el > > /home/edrx/eev-current/.dir-locals.el > > "C-h v" is supposed to tell you which dir-locals file have set the > current value of a variable. Oops, you're right! When I run `C-h v ee-preferred-c' inside a file it reports which .dir-locals.el file has set that variable, but when I run `C-h v ee-preferred-c' inside a dired buffer it doesn't, and I had only tested that in a dired buffer. My mistake! Sorry! =( [[]], Eduardo Ochs http://angg.twu.net/eepitch.html http://angg.twu.net/#eev