GNU bug report logs -
#75852
[PATCH] ; (let-alist): Document double-dot escape syntax.
Previous Next
Reported by: Eshel Yaron <me <at> eshelyaron.com>
Date: Sun, 26 Jan 2025 08:06:02 UTC
Severity: normal
Tags: patch
Fixed in version 30.1
Done: Eshel Yaron <me <at> eshelyaron.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75852 in the body.
You can then email your comments to 75852 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#75852
; Package
emacs
.
(Sun, 26 Jan 2025 08:06:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Eshel Yaron <me <at> eshelyaron.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 26 Jan 2025 08:06:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Tags: patch
Document a "hidden" let-alist feature.
[0001-let-alist-Document-double-dot-escape-syntax.patch (text/patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#75852
; Package
emacs
.
(Sun, 26 Jan 2025 14:10:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 75852 <at> debbugs.gnu.org (full text, mbox):
Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> gnu.org> writes:
> Tags: patch
>
> Document a "hidden" let-alist feature.
Artur, any comments?
> From 286f79bf5768fb093f0a044084a83a89fffe111f Mon Sep 17 00:00:00 2001
> From: Eshel Yaron <me <at> eshelyaron.com>
> Date: Sun, 26 Jan 2025 08:56:15 +0100
> Subject: [PATCH] ; (let-alist): Document double-dot escape syntax.
>
> ---
> lisp/emacs-lisp/let-alist.el | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/lisp/emacs-lisp/let-alist.el b/lisp/emacs-lisp/let-alist.el
> index 239a4ad69eb..b79c2e51de9 100644
> --- a/lisp/emacs-lisp/let-alist.el
> +++ b/lisp/emacs-lisp/let-alist.el
> @@ -146,6 +146,12 @@ let-alist
> inside the original alist by using dots inside the symbol, as
> displayed in the example above.
>
> +To refer to a non-`let-alist' variable starting with a dot in BODY, use
> +two dots instead of one. For example, in the following form `..foo'
> +refers to the variable `.foo' bound outside of the `let-alist':
> +
> + (let ((.foo 42)) (let-alist \\='((foo . nil)) ..foo))
> +
> Note that there is no way to differentiate the case where a key
> is missing from when it is present, but its value is nil. Thus,
> the following form evaluates to nil:
> --
> 2.46.2
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#75852
; Package
emacs
.
(Sun, 26 Jan 2025 14:23:03 GMT)
Full text and
rfc822 format available.
Message #11 received at 75852 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Looks good to me!
Em dom., 26 de jan. de 2025, 11:08, Stefan Kangas <stefankangas <at> gmail.com>
escreveu:
> Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text
> editors" <bug-gnu-emacs <at> gnu.org> writes:
>
> > Tags: patch
> >
> > Document a "hidden" let-alist feature.
>
> Artur, any comments?
>
> > From 286f79bf5768fb093f0a044084a83a89fffe111f Mon Sep 17 00:00:00 2001
> > From: Eshel Yaron <me <at> eshelyaron.com>
> > Date: Sun, 26 Jan 2025 08:56:15 +0100
> > Subject: [PATCH] ; (let-alist): Document double-dot escape syntax.
> >
> > ---
> > lisp/emacs-lisp/let-alist.el | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/lisp/emacs-lisp/let-alist.el b/lisp/emacs-lisp/let-alist.el
> > index 239a4ad69eb..b79c2e51de9 100644
> > --- a/lisp/emacs-lisp/let-alist.el
> > +++ b/lisp/emacs-lisp/let-alist.el
> > @@ -146,6 +146,12 @@ let-alist
> > inside the original alist by using dots inside the symbol, as
> > displayed in the example above.
> >
> > +To refer to a non-`let-alist' variable starting with a dot in BODY, use
> > +two dots instead of one. For example, in the following form `..foo'
> > +refers to the variable `.foo' bound outside of the `let-alist':
> > +
> > + (let ((.foo 42)) (let-alist \\='((foo . nil)) ..foo))
> > +
> > Note that there is no way to differentiate the case where a key
> > is missing from when it is present, but its value is nil. Thus,
> > the following form evaluates to nil:
> > --
> > 2.46.2
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#75852
; Package
emacs
.
(Sun, 26 Jan 2025 20:01:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 75852 <at> debbugs.gnu.org (full text, mbox):
Artur Malabarba <arturmalabarba <at> gmail.com> writes:
> Looks good to me!
Thanks! Eshel, please install on emacs-30.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#75852
; Package
emacs
.
(Mon, 27 Jan 2025 07:29:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 75852 <at> debbugs.gnu.org (full text, mbox):
close 75852 30.1
quit
Stefan Kangas <stefankangas <at> gmail.com> writes:
> Artur Malabarba <arturmalabarba <at> gmail.com> writes:
>
>> Looks good to me!
>
> Thanks! Eshel, please install on emacs-30.
Done in commit 84595cbcc78.
Thanks,
Eshel
bug marked as fixed in version 30.1, send any further explanations to
75852 <at> debbugs.gnu.org and Eshel Yaron <me <at> eshelyaron.com>
Request was from
Eshel Yaron <me <at> eshelyaron.com>
to
control <at> debbugs.gnu.org
.
(Mon, 27 Jan 2025 07:29:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 24 Feb 2025 12:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 166 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.