From: Emanuel Berg <incal@dataswamp.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Getting the operational value of a buffer variable
Date: Fri, 02 Dec 2022 03:33:11 +0100 [thread overview]
Message-ID: <87v8mu7cwo.fsf@dataswamp.org> (raw)
In-Reply-To: aEkq77_JqzzgeuasOG6d63g1YjyfDzQkSq6h1bS78IQ1AgGWFGRAobFYpcmEyprjHdA0by_fZxN5hseeyUaBkkAyYg6WxsHgcUlDP4n1O34=@protonmail.com
Heime wrote:
> I want to get the operational value of a buffer variable.
> If the buffer has a local value, one cannot use the
> default-value implementation. And if the local value in nil,
> I have to get the default-value.
>
> Would like a robust implementation that would not
> miss anything.
Just use/evaluate the variable name to find out what it is, it
isn't two things at once, relax.
Local always wins over global, and that's the way it should
be, cmp. the Vietnam war ...
--
underground experts united
https://dataswamp.org/~incal
next prev parent reply other threads:[~2022-12-02 2:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-02 1:07 Getting the operational value of a buffer variable Heime
2022-12-02 2:33 ` Emanuel Berg [this message]
2022-12-02 2:52 ` [External] : " Drew Adams
2022-12-02 13:25 ` Heime
2022-12-02 22:00 ` Heime
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v8mu7cwo.fsf@dataswamp.org \
--to=incal@dataswamp.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).