From: Tassilo Horn <tsdh@gnu.org>
To: "Daniel Colascione" <dancol@dancol.org>
Cc: 34094@debbugs.gnu.org
Subject: bug#34094: 27.0.50; (wrong-type-argument stringp (require . elec-pair)) with describe-function (and other commands)
Date: Fri, 18 Jan 2019 06:40:39 +0100 [thread overview]
Message-ID: <8736pqseug.fsf@gnu.org> (raw)
In-Reply-To: <1d3c66e91f333c63bbe07c000928d55d.squirrel@dancol.org> (Daniel Colascione's message of "Thu, 17 Jan 2019 11:29:37 -0800")
"Daniel Colascione" <dancol@dancol.org> writes:
>> I temporarily added
>>
>> (advice-add 'call-process :before #'debug)
>> (advice-add 'start-process :before #'debug)
>>
>> to my ~/.emacs and restarted, and there are several packages which
>> invoke external commands at startup, e.g., Magit trying to figure out
>> the defaults I've set in my ~/.gitconfig. So that seems to be expected.
>
> IMHO, every time a package does this, it's a bug. Launching programs
> is way too expensive to do on every startup. Packages should be
> caching the results of system introspection somehow.
Well, it starts up in around 3 seconds and I have 60 packages installed
(including dependencies). And of course, I start emacs just once a day.
I can easily live with that.
Anyway, that discussion doesn't really belong here. :-)
BTW, I just compared startup times with
time emacs --eval '(kill-emacs)'
which gave 3.2 seconds when I start emacs/src/emacs which uses the
emacs.pdmp file, and it took 4.2 seconds when I start with my symlink
where the emacs.pdmp is probably not used (Loading loadup.el (source)...
dump mode: nil).
When I do the same with -Q, it's 0.2 vs. 1.2 seconds. So it seems like
the dump helps a lot to startup a naked emacs, but as soon as you have
your own "parallel operating system" in your ~/.emacs (and who
doesn't?), that doesn't really matter anymore.
Bye,
Tassilo
next prev parent reply other threads:[~2019-01-18 5:40 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-16 7:42 bug#34094: 27.0.50; (wrong-type-argument stringp (require . elec-pair)) with describe-function (and other commands) Tassilo Horn
2019-01-16 10:36 ` Glenn Morris
2019-01-16 10:38 ` Tassilo Horn
2019-01-16 10:56 ` Tassilo Horn
2019-01-16 18:43 ` Tassilo Horn
2019-01-16 19:20 ` Eli Zaretskii
2019-01-17 5:52 ` Tassilo Horn
2019-01-17 13:40 ` Eli Zaretskii
2019-01-17 16:46 ` Tassilo Horn
2019-01-17 19:29 ` Daniel Colascione
2019-01-18 5:40 ` Tassilo Horn [this message]
2019-01-16 19:40 ` Daniel Colascione
2019-01-17 5:27 ` Tassilo Horn
2019-01-16 11:14 ` Robert Pluim
2020-02-17 15:07 ` Stefan Monnier
2020-02-17 15:31 ` Tassilo Horn
2020-02-17 16:33 ` Stefan Monnier
2020-02-17 17:34 ` Eli Zaretskii
2020-02-17 21:33 ` Stefan Monnier
2022-05-01 10:57 ` bug#34094: bug#34178: 27.0.50; Tramp not responding correctly to "/scp:slc:" syntax Lars Ingebrigtsen
2022-05-02 4:56 ` Tassilo Horn
2022-05-02 8:04 ` Lars Ingebrigtsen
2020-08-12 4:35 ` bug#34094: 27.0.50; (wrong-type-argument stringp (require . elec-pair)) with describe-function (and other commands) Xdkkz Lpwjd
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=8736pqseug.fsf@gnu.org \
--to=tsdh@gnu.org \
--cc=34094@debbugs.gnu.org \
--cc=dancol@dancol.org \
/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).