From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: Re: default-toplevel-value and set-default-toplevel-value
Date: Mon, 26 Dec 2016 17:40:46 +0200 [thread overview]
Message-ID: <834m1qy9z5.fsf@gnu.org> (raw)
In-Reply-To: <jwv60m7cowy.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Sun, 25 Dec 2016 23:09:37 -0500)
> From: Stefan Monnier <monnier@IRO.UMontreal.CA>
> Cc: emacs-devel@gnu.org
> Date: Sun, 25 Dec 2016 23:09:37 -0500
>
> > I seem to see there's more to this than meets the eye, see
> > http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00924.html.
> > Could you please help me understand it? I'd like to document this for
> > Emacs 25.2.
>
> I don't understand: there's no use of default-toplevel-value in your
> example, AFAICT.
Yes, because there doesn't seem to be any need for using it, as
default-value is unaffected by the let-binding. I expected
default-value to return the value from let-binding, and
default-toplevel-value to return the global value, otherwise I don't
see why the latter is needed. I guess I misunderstood something that
you and/or the doc string were trying to tell.
Thanks.
next prev parent reply other threads:[~2016-12-26 15:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-12 16:19 default-toplevel-value and set-default-toplevel-value Eli Zaretskii
2016-12-12 16:57 ` Stefan Monnier
2016-12-24 18:45 ` Eli Zaretskii
2016-12-26 3:29 ` Eli Zaretskii
2016-12-26 4:09 ` Stefan Monnier
2016-12-26 15:40 ` Eli Zaretskii [this message]
2016-12-26 16:45 ` Stefan Monnier
2016-12-26 17:13 ` Eli Zaretskii
2016-12-27 1:17 ` Stefan Monnier
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=834m1qy9z5.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@IRO.UMontreal.CA \
/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.