From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs 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 Message-ID: <8736pqseug.fsf@gnu.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> <1d3c66e91f333c63bbe07c000928d55d.squirrel@dancol.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1547790368 27052 195.159.176.226 (18 Jan 2019 05:46:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 18 Jan 2019 05:46:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 34094@debbugs.gnu.org To: "Daniel Colascione" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 18 06:46:04 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 1gkMyf-0006tb-Gf for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Jan 2019 06:46:01 +0100 Original-Received: from localhost ([127.0.0.1]:32960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkN0m-0005jk-Fg for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Jan 2019 00:48:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkN0g-0005gv-1x for bug-gnu-emacs@gnu.org; Fri, 18 Jan 2019 00:48:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gkMtr-0005kA-7k for bug-gnu-emacs@gnu.org; Fri, 18 Jan 2019 00:41:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36219) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gkMtq-0005jW-QU for bug-gnu-emacs@gnu.org; Fri, 18 Jan 2019 00:41:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gkMtq-0004fm-J7 for bug-gnu-emacs@gnu.org; Fri, 18 Jan 2019 00:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Jan 2019 05:41:02 +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.154779005217935 (code B ref 34094); Fri, 18 Jan 2019 05:41:02 +0000 Original-Received: (at 34094) by debbugs.gnu.org; 18 Jan 2019 05:40:52 +0000 Original-Received: from localhost ([127.0.0.1]:35500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gkMtf-0004fC-Ly for submit@debbugs.gnu.org; Fri, 18 Jan 2019 00:40:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gkMte-0004f1-Hc for 34094@debbugs.gnu.org; Fri, 18 Jan 2019 00:40:50 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkMtY-0004qm-ND; Fri, 18 Jan 2019 00:40:44 -0500 Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:35919) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1gkMtX-0002NP-Jl; Fri, 18 Jan 2019 00:40:43 -0500 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id CFE3C28D83; Fri, 18 Jan 2019 00:40:41 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Fri, 18 Jan 2019 00:40:41 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrgeelgdekfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhfffgjkf gfgggtsehttdertddtredtnecuhfhrohhmpefvrghsshhilhhoucfjohhrnhcuoehtshgu hhesghhnuhdrohhrgheqnecukfhppedvuddvrddukeehrddvtdefrddufeegnecurfgrrh grmhepmhgrihhlfhhrohhmpehthhhorhhnodhmvghsmhhtphgruhhthhhpvghrshhonhgr lhhithihqdekieejfeekjeekgedqieefhedvleekqdhtshguhheppehgnhhurdhorhhgse hfrghsthhmrghilhdrfhhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Original-Received: from pchta-and (portal.shd.de [212.185.203.134]) by mail.messagingengine.com (Postfix) with ESMTPA id 4AE6110085; Fri, 18 Jan 2019 00:40:40 -0500 (EST) In-Reply-To: <1d3c66e91f333c63bbe07c000928d55d.squirrel@dancol.org> (Daniel Colascione's message of "Thu, 17 Jan 2019 11:29:37 -0800") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:154540 Archived-At: "Daniel Colascione" 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