all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Torsten Bronger <bronger@physik.rwth-aachen.de>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 24113@debbugs.gnu.org
Subject: bug#24113: 25.1.50; auto-revert-check-vc-info causes delayed screen refreshs
Date: Sun, 13 Dec 2020 23:55:36 +0100	[thread overview]
Message-ID: <878sa1s4d3.fsf@physik.rwth-aachen.de> (raw)
In-Reply-To: <87popvxv51.fsf@physik.rwth-aachen.de>

[-- Attachment #1: Type: text/plain, Size: 2062 bytes --]

Hallöchen!

Lars Ingebrigtsen schreibt:

> Torsten Bronger <bronger@physik.rwth-aachen.de> writes:
>
>> If auto-revert-check-vc-info is non-nil and some buffers contain
>> version-controlled files, the screen refresh is often delayed.
>> For example, I press "g" in Gnus to get new news, they are indeed
>> fetched, but the screen does not change at first.  After a couple
>> of seconds, the screen is updated and I see the new numbers of
>> messages.
>
> I've tried running with that variable set to t for a while now,
> and I haven't seen any strange pauses after hitting `g' in the
> *Group* buffer.
>
> Are you still seeing this problem in more recent Emacs version?

Not with Gnus and hitting "g".  But still on start-up.

> If so, could you try to create a simpler test case for reproducing
> the problem?

Not simpler, but clearer and hopefully more reliable.

1. Make your Emacs use the following simple .emacs configuration
   file:

       (custom-set-variables
        '(auto-revert-check-vc-info t)
        '(desktop-save-mode t)
       )

   Remove your .emacs.desktop for a fresh start.

2. Make a new directory and create many files in it, e.g. by saying

       mkdir test; cd test; for a in `seq 100`; do touch $a; done

3. Start Emacs and open all of these files, e.g. by using dired-x
   and the keybinding "F".  (Obviously, you have to expand your
   .emacs for this a bit.)  Then, close Emacs let Emacs write your
   buffer status to the desktop file.

4. Open Emacs again.  It will start quickly.  Close it.

5. Say in the directory with the many files:

       git init

6. Open Emacs again.  It will start very slowly.  Close it.

7. Open Emacs again.  This time, press any key during start-up.  It
   will start quickly again.

What I expect is that Emacs always starts quickly, even without
pressing a key.  I can safely say that the delay is VC-related but I
don't know how to proceed to find out at which operation Emacs
hangs.

Regards,
Torsten.

-- 
Torsten Bronger

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4913 bytes --]

  reply	other threads:[~2020-12-13 22:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-30 10:44 bug#24113: 25.1.50; auto-revert-check-vc-info causes delayed screen refreshs Torsten Bronger
2020-12-02 10:53 ` Lars Ingebrigtsen
2020-12-13 22:55   ` Torsten Bronger [this message]
2021-09-03  9:47     ` Lars Ingebrigtsen
2021-09-08 20:37       ` Torsten Bronger
2021-09-09 14:27         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878sa1s4d3.fsf@physik.rwth-aachen.de \
    --to=bronger@physik.rwth-aachen.de \
    --cc=24113@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.