GNU bug report logs -
#36539
elec-pair.elc gets surreptitiously loaded (almost) unconditionally at start up.
Previous Next
Reported by: Alan Mackenzie <acm <at> muc.de>
Date: Sun, 7 Jul 2019 14:15:01 UTC
Severity: minor
Tags: fixed, patch
Fixed in version 27.1
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello again, Noam.
On Sun, Jul 07, 2019 at 14:47:51 -0400, Noam Postavsky wrote:
> Alan Mackenzie <acm <at> muc.de> writes:
> > Just as a matter of interest, I commented out the pertinent form in
> > emacs-lisp-mode, did a make bootstrap, emacs -Q, and elec-pair.elc was
> > still present in my Emacs. :-(
> > I don't know why, or how, but it is. With your patch (below), have you
> > tested whether or not elec-pair.elc hasn't been loaded on starting
> > Emacs? If it hasn't been loaded, you've found some trick that eludes
> > me.
> How are you checking? M-: (featurep 'elec-pair) RET returns nil for me.
Yes, it worked for me, too. :-(
> Assuming you have help-enable-completion-auto-load set to t (the
> default), it's pretty easy to load various things just by hitting TAB in
> response to describe-function or describe-variable.
That was my problem. I didn't know about
help-enable-completion-auto-load (which says it was new in 26.3). I
think I will disable this in my .emacs - it seems it will cause me more
problems than it will help. I've always used C-h f and C-h v to see an
Elisp file's autoloads. Thanks for the tip!.
[ .... ]
> >> + (setq-local electric-quote-string t)
> >> (setq imenu-case-fold-search nil)
> >> (add-function :before-until (local 'eldoc-documentation-function)
> >> #'elisp-eldoc-documentation-function)
> >> --
> >> 2.11.0
> > As a matter of interest, what is that 2.11.0 that I keep seeing at the
> > bottom of patches?
> Looks like 'git format-patch' adds the git version at the bottom.
Ah, so that's it. Thanks!
> $ git --version
> git version 2.11.0
Thanks for the revised patch. I'll try it.
--
Alan Mackenzie (Nuremberg, Germany).
This bug report was last modified 6 years and 28 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.