From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Daniel Colascione" Newsgroups: gmane.emacs.bugs 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 Message-ID: <1d3c66e91f333c63bbe07c000928d55d.squirrel@dancol.org> References: <013c256592b481d95b789885b666b02d3b73f338.camel@gnu.org> <87muo0evle.fsf@gnu.org> <87sgxsub00.fsf@gnu.org> <87d0ow30ln.fsf@gnu.org> <83muo0csux.fsf@gnu.org> <8736pr4yqj.fsf@gnu.org> <83imyncshl.fsf@gnu.org> <87bm4fdygh.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1547753365 32273 195.159.176.226 (17 Jan 2019 19:29:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2019 19:29:25 +0000 (UTC) User-Agent: SquirrelMail/1.4.23 [SVN] Cc: 34094@debbugs.gnu.org To: "Tassilo Horn" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 17 20:29:21 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gkDLr-0008E6-CT for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Jan 2019 20:29:19 +0100 Original-Received: from localhost ([127.0.0.1]:53548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkDNy-0002Tf-Iu for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Jan 2019 14:31:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkDMZ-0001UP-Is for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2019 14:30:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gkDMY-0004xm-Hf for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2019 14:30:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36057) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gkDMY-0004x0-Dz for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2019 14:30:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gkDMY-0005Hb-1Z for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2019 14:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Daniel Colascione" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Jan 2019 19:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34094 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 34094-submit@debbugs.gnu.org id=B34094.154775338020254 (code B ref 34094); Thu, 17 Jan 2019 19:30:01 +0000 Original-Received: (at 34094) by debbugs.gnu.org; 17 Jan 2019 19:29:40 +0000 Original-Received: from localhost ([127.0.0.1]:35338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gkDMC-0005Gc-Dr for submit@debbugs.gnu.org; Thu, 17 Jan 2019 14:29:40 -0500 Original-Received: from dancol.org ([96.126.100.184]:38228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gkDMA-0005GU-WD for 34094@debbugs.gnu.org; Thu, 17 Jan 2019 14:29:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:To:From:Subject:Date:References:In-Reply-To:Message-ID; bh=6mAGOvkU830yyXJOYyWr0pSOWMxrRh5rTcypxAHkrA4=; b=MJX3tSihR36oGxZRul3hBl0+hzZhKq7oygw6dZAXbbGYh0vRafDQv5DtCeBeDTaOzQ378/kD8kXGhr+f4R3V3mIHsau+E5fbg4HXTjqzIyJg3Bw/BmqcacG1P7ZUIJziz0fnSiGPJ3vsSyvrwIOpJQH/96ive0OvaO20yIhys0nxqlCgF8TnMS5hrfmaDZzQVrZJLssWt6Zs8Yjor/+53/aXULOjG8QSt8frGruxB+8ZYVLAB1tCNTTC65tSXw7z7xP/h/RQWrieK7UYV52+NZja7DbLSaXslPDCobpQka9ma721oPbyRP8qzgO41OgAE8xGD4Fx8kecHaCkFe+kUw==; Original-Received: from localhost ([127.0.0.1] helo=dancol.org) by dancol.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gkDM9-0001ly-Oj; Thu, 17 Jan 2019 11:29:37 -0800 Original-Received: from 104.132.34.69 (SquirrelMail authenticated user dancol) by dancol.org with HTTP; Thu, 17 Jan 2019 11:29:37 -0800 In-Reply-To: <87bm4fdygh.fsf@gnu.org> X-Priority: 3 (Normal) Importance: Normal X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:154528 Archived-At: > Eli Zaretskii 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.