emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Propagating local variables?


From: John Wiegley
Subject: Re: Propagating local variables?
Date: Wed, 16 May 2018 22:16:08 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin)

>>>>> Richard Stallman <address@hidden> writes:

> I'm not sure what the idea means. What does "parent" mean in this context?
> Is a parent a buffer?

The parent is the buffer where you create the variables that will extend to
any children spawned "on behalf" of that buffer. So, not every buffer you
create while currently visiting that buffer, but those which match some kind
of predicate.

Thus, when editing a C file, you might want the compilation buffer, M-x shell,
M-x gdb, and a few others, to inherit the process-environment so that they are
all using the same version of the tools for a particular project, independent
of whether a dir-locals.el might be usable or not.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]