all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Daniel Colascione" <dancol@dancol.org>
To: "Tassilo Horn" <tsdh@gnu.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: Thu, 17 Jan 2019 11:29:37 -0800	[thread overview]
Message-ID: <1d3c66e91f333c63bbe07c000928d55d.squirrel@dancol.org> (raw)
In-Reply-To: <87bm4fdygh.fsf@gnu.org>

> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> >> Starting program: /home/horn/Repos/el/emacs/src/emacs
>>> >> [Thread debugging using libthread_db enabled]
>>> >> Using host libthread_db library "/usr/lib/libthread_db.so.1".
>>> >> [New Thread 0x7fffeea70700 (LWP 25211)]
>>> >> [Detaching after vfork from child process 25212]
>>> >> [New Thread 0x7fffee22d700 (LWP 25213)]
>>> >> [New Thread 0x7fffed2b2700 (LWP 25214)]
>>> >> [Detaching after vfork from child process 25215]
>>> >> [Detaching after vfork from child process 25216]
>>> >> [Detaching after vfork from child process 25217]
>>> >> [Detaching after vfork from child process 25218]
>>> >> [Detaching after vfork from child process 25219]
>>> >
>>> > Any idea what are all those vforks about?  Is this something caused
>>> > by your init files?
>>>
>>> I don't get them with run -Q, so I guess it's something in my init
>>> file.  When I try again, now I only get 21 vforks instead of the 132
>>> I've had before.
>>>
>>> If I were keen to know what's the cause, how would I find out?
>>
>> If your customizations cause a lot of processes to be launched at
>> startup, then the above is expected.  Otherwise, I'd suggest to look
>> for some code which might launch such processes which you didn't
>> intend.
>
> 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.






  reply	other threads:[~2019-01-17 19:29 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 [this message]
2019-01-18  5:40                 ` Tassilo Horn
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1d3c66e91f333c63bbe07c000928d55d.squirrel@dancol.org \
    --to=dancol@dancol.org \
    --cc=34094@debbugs.gnu.org \
    --cc=tsdh@gnu.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.