GNU bug report logs - #54653
28.0.92; incorrect modification of completion-at-point-functions

Previous Next

Package: emacs;

Reported by: Holger Schurig <holgerschurig <at> gmail.com>

Date: Thu, 31 Mar 2022 12:50:02 UTC

Severity: normal

Tags: moreinfo

Found in version 28.0.92

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

Bug is archived. No further changes may be made.

Full log


Message #11 received at 54653 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 54653 <at> debbugs.gnu.org, Holger Schurig <holgerschurig <at> gmail.com>
Subject: Re: bug#54653: 28.0.92; incorrect modification of
 completion-at-point-functions
Date: Sat, 02 Apr 2022 17:37:48 +0200
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> That `t` stands for "also run the global value of the hook" - see
> (info "(elisp) Running Hooks"):
>
>      If the hook variable is buffer-local, the buffer-local variable
>      will be used instead of the global variable.  However, if the
>      buffer-local variable contains the element ‘t’, the global hook
>      variable will be run as well.

So this seems to be working as designed.

Holger, what was the actual problem you were seeing with
completion-at-point-functions?  If don't you want to have
elisp-completion-at-point run, you have to remove it from the
buffer-local value from emacs-lisp-mode-hook (or remove the buffer-local
value altogether), I think.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 17 days ago.

Previous Next


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