From: Eduardo Ochs <eduardoochs@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Where does a dir-local variable come from?
Date: Mon, 5 Sep 2022 23:59:06 -0300 [thread overview]
Message-ID: <CADs++6giUfara-byaSb1MQLT0DBr9MRL586DVORbDAB2ByYYZQ@mail.gmail.com> (raw)
In-Reply-To: <837d2ikpq2.fsf@gnu.org>
On Mon, 5 Sept 2022 at 09:16, Eli Zaretskii <eliz@gnu.org> wrote:
>
> > From: Eduardo Ochs <eduardoochs@gmail.com>
> > 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
next prev parent reply other threads:[~2022-09-06 2:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-05 8:58 Where does a dir-local variable come from? Eduardo Ochs
2022-09-05 11:47 ` Eli Zaretskii
2022-09-06 2:59 ` Eduardo Ochs [this message]
2022-09-06 3:27 ` Emanuel Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADs++6giUfara-byaSb1MQLT0DBr9MRL586DVORbDAB2ByYYZQ@mail.gmail.com \
--to=eduardoochs@gmail.com \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.