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: Sun, 24 Dec 2023 20:39:16 +0200 Message-ID: <83r0jbbg2z.fsf@gnu.org> References: <83a5r5gdxk.fsf@gnu.org> <87frztc7iy.fsf@localhost> <867cl4kg4l.fsf@mail.linkov.net> <87cyuwdcb4.fsf@localhost> <868r5jse0m.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19740"; 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 Sun Dec 24 19:40:10 2023 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 1rHTOU-0004wn-EA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Dec 2023 19:40:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHTOI-00014b-KC; Sun, 24 Dec 2023 13:39:58 -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 1rHTOH-00014C-62 for bug-gnu-emacs@gnu.org; Sun, 24 Dec 2023 13:39:57 -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 1rHTOG-0004HK-SR for bug-gnu-emacs@gnu.org; Sun, 24 Dec 2023 13:39:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHTOM-0005gq-LB for bug-gnu-emacs@gnu.org; Sun, 24 Dec 2023 13:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Dec 2023 18:40:02 +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.170344318221841 (code B ref 67393); Sun, 24 Dec 2023 18:40:02 +0000 Original-Received: (at 67393) by debbugs.gnu.org; 24 Dec 2023 18:39:42 +0000 Original-Received: from localhost ([127.0.0.1]:53507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHTO0-0005gC-RZ for submit@debbugs.gnu.org; Sun, 24 Dec 2023 13:39:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHTNu-0005ft-Mb for 67393@debbugs.gnu.org; Sun, 24 Dec 2023 13:39:38 -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 1rHTNh-0004FM-61; Sun, 24 Dec 2023 13:39:22 -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=9SLJvTqdqCg2XDmiyIxR0ZTUmxDKaMZnKmpv1B4pAO4=; b=pTm+D8HwmMKr 6FlVNYBc5HJ2kxnGePF+kJVZMAebzXxYUc7ZEs4XMtW7JcLkDnfdYsFE9K9vzbNFMZZM7otIbdRCG 7nttYoBxznP1ULwVEwNxSwQT+0d6InHsFC7721tHRh+bfoRpwNAQazs7AZnm3ckOXFdfEqMT08Hkb 85gQKjG0Mhfje2MG8Q8ZK14nXmgfiDpuCT9RlIX0n4MFDzH0TJRA5CV5fbTkqfK3npHQERDSR4B2x GpPV53MxwVragRHleL2bHOHWELBhXKEAKWZOGkzYqpHZ6WtefUZKBgpSLrM+WkphgD/D8ZMPZMz2E M5Io57vkad7lNSFlCNTgbQ==; In-Reply-To: <868r5jse0m.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 24 Dec 2023 19:34:53 +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:276823 Archived-At: > From: Juri Linkov > Cc: Stefan Kangas , materus213 > , Eli Zaretskii , > 67393@debbugs.gnu.org > Date: Sun, 24 Dec 2023 19:34:53 +0200 > > >>> This is indeed not a bug, but I am wondering if it would be better to > >>> utilize `set-multi-message' somehow. We are certainly able to display > >>> multiple recent messages in the echo area. Then, why not allow to keep > >>> more important ones visible for a time period without blocking? > >> > >> It's not easy to temporarily enable `set-multi-message', > >> since it's not clear at what moment to disable it afterwards. > > > > What I meant is to change the default `set-message-function' in such a > > way that it displays "important" messages for a custom time period, in > > addition to the last message. > > I agree. The most annoying delay is in 'ispell-parse-output': > > (ding) ; error message from ispell! > (message "Ispell error: %s" output) > (sit-for 5) > > So I need to waste 5 seconds several times during spell-checking. Only when there's an error, right? > It would be nicer to prepend this error message to any last displayed > message during these 5 seconds. We don't really know whether doing that will be effective. Given N lines of messages in the echo-area, what are the chances that the user will see all of them, or even the most important one(s)? IOW, we don't have any real experience with this kind of UI. We need to collect such experience first, before we conclude that this could be used as an alternative to sit-for.