From: Alan Mackenzie <acm@muc.de>
To: Noam Postavsky <npostavs@gmail.com>
Cc: 36539@debbugs.gnu.org
Subject: bug#36539: elec-pair.elc gets surreptitiously loaded (almost) unconditionally at start up.
Date: Sun, 7 Jul 2019 19:10:52 +0000 [thread overview]
Message-ID: <20190707191052.GB4053@ACM> (raw)
In-Reply-To: <87tvbx3cmg.fsf@gmail.com>
Hello again, Noam.
On Sun, Jul 07, 2019 at 14:47:51 -0400, Noam Postavsky wrote:
> Alan Mackenzie <acm@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).
next prev parent reply other threads:[~2019-07-07 19:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-07 14:14 bug#36539: elec-pair.elc gets surreptitiously loaded (almost) unconditionally at start up Alan Mackenzie
2019-07-07 16:57 ` Noam Postavsky
2019-07-07 18:29 ` Alan Mackenzie
2019-07-07 18:45 ` Eli Zaretskii
2019-07-07 19:14 ` Alan Mackenzie
2019-07-07 18:47 ` Noam Postavsky
2019-07-07 19:10 ` Alan Mackenzie [this message]
2019-07-07 19:17 ` Eli Zaretskii
2019-07-13 11:54 ` Eli Zaretskii
2019-07-13 22:41 ` Noam Postavsky
2019-07-19 0:09 ` Noam Postavsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190707191052.GB4053@ACM \
--to=acm@muc.de \
--cc=36539@debbugs.gnu.org \
--cc=npostavs@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).