GNU bug report logs - #55491
All completion fragments get added to obarray

Previous Next

Package: emacs;

Reported by: JD Smith <jdtsmith <at> gmail.com>

Date: Tue, 17 May 2022 20:23:01 UTC

Severity: normal

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 55491 <at> debbugs.gnu.org, Richard Stallman <rms <at> gnu.org>, jdtsmith <at> gmail.com
Subject: bug#55491: All completion fragments get added to obarray
Date: Sat, 11 Jun 2022 03:46:10 +0300
On 07.06.2022 12:30, Lars Ingebrigtsen wrote:
> Dmitry Gutov<dgutov <at> yandex.ru>  writes:
> 
>> How about this, then?
> [...]
> 
>> -                                             (read (current-buffer))))))
>> +                                             (let ((pt (point)))
>> +                                               (ignore-errors
>> +                                                 (forward-sexp)
>> +                                                 (intern-soft
>> +                                                  (buffer-substring pt (point)))))))))
>>                               (error nil))))
> Makes sense, I think.  (But the ignore-errors is probably not
> necessary, since the entire form is already covered by one in form of
> the condition-case...)

Thanks.

I've pushed the updated change. Seems to work okay.




This bug report was last modified 2 years and 347 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.