From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#41640: 28.0.50; shell startup very slow when init file is used Date: Sun, 27 Sep 2020 15:10:08 +0200 Message-ID: <87o8lr2wnj.fsf@gnus.org> References: <87d06e4jer.fsf@gmail.com> <83h7vqar34.fsf@gnu.org> <87mu5h3ofg.fsf@gmail.com> <838sh1bui4.fsf@gnu.org> <87pnad1zif.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7925"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: jsynacek@redhat.com, 41640@debbugs.gnu.org To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 27 15:11:36 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMWSk-0001xr-U5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Sep 2020 15:11:34 +0200 Original-Received: from localhost ([::1]:41846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMWSk-0006r9-0J for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Sep 2020 09:11:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMWSE-0006QS-AQ for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2020 09:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37129) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMWSD-000461-WF for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2020 09:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kMWSD-00015R-RQ for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2020 09:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Sep 2020 13:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41640 X-GNU-PR-Package: emacs Original-Received: via spool by 41640-submit@debbugs.gnu.org id=B41640.16012122224109 (code B ref 41640); Sun, 27 Sep 2020 13:11:01 +0000 Original-Received: (at 41640) by debbugs.gnu.org; 27 Sep 2020 13:10:22 +0000 Original-Received: from localhost ([127.0.0.1]:48672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMWRa-00014D-K7 for submit@debbugs.gnu.org; Sun, 27 Sep 2020 09:10:22 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:37296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMWRZ-00013u-03 for 41640@debbugs.gnu.org; Sun, 27 Sep 2020 09:10:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bC7JUkoynIuZBZi4STCj7N62qcV3RDxXs/NCUNapZ2A=; b=uR0uS7ocf1I1jY65yzk3y6rjF5 O9EWwPvVq9qFfaGGcl7lUxPgNXmtLPF5iz1+I7nvE1Nir2kZ3EuF7zjwXc9Jc5ppKbcD8N90Rb+SG 33ShPlkuT6Xo3i+cUNxNEneUv1WF2ZJ1pF96UjkNdh0Y2zdAcN0Mir4i24+roiu2EIuw=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMWRN-0004FX-Ht; Sun, 27 Sep 2020 15:10:14 +0200 X-Now-Playing: Sandy Denny's _Like An Old Fashioned Waltz_: "No End" In-Reply-To: <87pnad1zif.fsf@gmail.com> (Pip Cet's message of "Fri, 05 Jun 2020 12:13:44 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:189129 Archived-At: Pip Cet writes: > There's also an alternative explanation, which is that the systems > available back then might have discarded input arriving before the > prompt was first written. But, if that's the case today, it's likely to > be done for a reason, and we shouldn't try to prevent it. The person reporting the bug says that Pip's patch fixes the problem. There was some discussion about what the original code from the 90s was trying to fix, and the answer was... that we don't know. So I just went ahead and applied the patch. I tried it here, and it didn't break anything, but there are many systems out there. But I think it's worth a try, so I'm pushing it to Emacs 28. If it breaks anything, we should revert it. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no