GNU bug report logs -
#76305
31.0.50; Local variable names missing from 'setq' argument completions
Previous Next
To reply to this bug, email your comments to 76305 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#76305
; Package
emacs
.
(Sat, 15 Feb 2025 16:20: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
.
(Sat, 15 Feb 2025 16:20:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
Local variable name completion in ELisp seems to fail at uneven setq
argument positions:
1. emacs -Q
2. Permit local variables analysis in scratch buffer by evaluating
(setq-local trusted-content :all)
3. Insert:
(defun foo (barbaz) bar)
4. Place point after "bar" and hit C-M-i
5. See "bar" completed to "barbaz", as expected
6. Now insert instead:
(defun foo (barbaz) (setq bar))
7. Again with point after "bar", hit C-M-i
8. Emacs reports "no match" instead of completing to "barbaz"
This used to work as expected in Emacs 28, but not in 29, 30 or master.
Regards,
Eshel
Severity set to 'minor' from 'normal'
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Wed, 19 Feb 2025 02:10:08 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#76305
; Package
emacs
.
(Tue, 04 Mar 2025 02:42:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 76305 <at> debbugs.gnu.org (full text, mbox):
Eshel Yaron <me <at> eshelyaron.com> writes:
> Hi,
>
> Local variable name completion in ELisp seems to fail at uneven setq
> argument positions:
>
> 1. emacs -Q
> 2. Permit local variables analysis in scratch buffer by evaluating
> (setq-local trusted-content :all)
> 3. Insert:
> (defun foo (barbaz) bar)
> 4. Place point after "bar" and hit C-M-i
> 5. See "bar" completed to "barbaz", as expected
> 6. Now insert instead:
> (defun foo (barbaz) (setq bar))
> 7. Again with point after "bar", hit C-M-i
> 8. Emacs reports "no match" instead of completing to "barbaz"
>
> This used to work as expected in Emacs 28, but not in 29, 30 or master.
Maybe it's worth bisecting this?
>
>
> Regards,
>
> Eshel
This bug report was last modified 158 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.