From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67393: 29.1; Slow to open file if autosave exists Date: Tue, 16 Jan 2024 19:10:46 +0200 Message-ID: <83zfx5b3vt.fsf@gnu.org> References: <83a5r5gdxk.fsf@gnu.org> <87frztc7iy.fsf@localhost> <867cl4kg4l.fsf@mail.linkov.net> <87cyuwdcb4.fsf@localhost> <868r5jse0m.fsf@mail.linkov.net> <83r0jbbg2z.fsf@gnu.org> <86a5pv508o.fsf@mail.linkov.net> <83h6k38s9g.fsf@gnu.org> <86bkaa7oaa.fsf@mail.linkov.net> <868r4pp74s.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3875"; mail-complaints-to="usenet@ciao.gmane.io" Cc: materus213@gmail.com, yantar92@posteo.net, 67393@debbugs.gnu.org, stefankangas@gmail.com To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 16 18:12:37 2024 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 1rPmzN-0000n8-CU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Jan 2024 18:12:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPmyq-0003Jg-Lb; Tue, 16 Jan 2024 12:12:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPmyn-0003Ih-Nm for bug-gnu-emacs@gnu.org; Tue, 16 Jan 2024 12:12:01 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rPmyn-0002VC-FU for bug-gnu-emacs@gnu.org; Tue, 16 Jan 2024 12:12:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rPmyn-0006vl-Tu for bug-gnu-emacs@gnu.org; Tue, 16 Jan 2024 12:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Jan 2024 17:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67393 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 67393-submit@debbugs.gnu.org id=B67393.170542506626475 (code B ref 67393); Tue, 16 Jan 2024 17:12:01 +0000 Original-Received: (at 67393) by debbugs.gnu.org; 16 Jan 2024 17:11:06 +0000 Original-Received: from localhost ([127.0.0.1]:49622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPmxu-0006sx-Bg for submit@debbugs.gnu.org; Tue, 16 Jan 2024 12:11:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPmxs-0006s3-Kj for 67393@debbugs.gnu.org; Tue, 16 Jan 2024 12:11:05 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPmxl-0002P2-Ti; Tue, 16 Jan 2024 12:10:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=SCytJTU8cAzJBWZbp/nftrGhRJSPEI9uulKy6vCXkwQ=; b=Hn912sgwCL1/ VTTSGCNU9Ws4j91q84KaL2l/haUpdPqOdn6sWJmj1k8ZcboZJIHFocvDjXR55AyIqen92p/nWl9Q2 gptBBf9piL2NNjc5oSXA9Nts4I2afpo8zrYW2RbVON/Hk4DfZFDVDUVQUdyVKZeJTKDSo51qYblFe X4lSeDInC7Kiub+fs4+n/cQ6dLtjdJM720QGHK8Co5aJWds1tz09MIZTmgKRYQOaFYGmSrmrCEpas P5Pk9RE59hO94QWddPyEDCGHxPModJ7zggGl5a3AVAeccyv2P3sffI5BgJH+ICscAJIdKRNGqYb2b 6yhNdwDEsABASCRRLuHKUw==; In-Reply-To: <868r4pp74s.fsf@mail.linkov.net> (message from Juri Linkov on Tue, 16 Jan 2024 18:36:51 +0200) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:278351 Archived-At: > From: Juri Linkov > Cc: materus213@gmail.com, yantar92@posteo.net, 67393@debbugs.gnu.org, > stefankangas@gmail.com > Date: Tue, 16 Jan 2024 18:36:51 +0200 > > > A defcustom would be one option. 'set-important-message' like > > implemented by Ihor would be another option. All this could be > > added after creating the new function 'important-message'. > > So here is the new function 'important-message' and its calls > in two discussed places. Is this in preparation for some followup? Because if not, I'm not sure it is justified to add a short function that has just 2 callers. What do we gain, as a counter-weight to the need to document the new function, insist that new code uses it, etc.? What do others think? > I'm not sure why 'after-find-file' uses non-nil NODISP arg > in (sit-for 1 t). This means is that the message is not > displayed? Then why 'message' is called? I think it means redisplay is not called. 'message' causes redisplay of the echo-area, but we don't need to redisplay the rest.