all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dmitry@gutov.dev>
To: Eli Zaretskii <eliz@gnu.org>, Ihor Radchenko <yantar92@posteo.net>
Cc: 67672@debbugs.gnu.org, schand@cooley.com, rmoore@cooley.com
Subject: bug#67672: EMACS - Slow opening files
Date: Wed, 13 Dec 2023 13:59:41 +0200	[thread overview]
Message-ID: <b4c5faa9-31b7-1998-65b8-e5cbf22ec886@gutov.dev> (raw)
In-Reply-To: <83v892s4o6.fsf@gnu.org>

On 13/12/2023 13:49, Eli Zaretskii wrote:
>> From: Ihor Radchenko <yantar92@posteo.net>
>> Cc: Eli Zaretskii <eliz@gnu.org>, "67672@debbugs.gnu.org"
>>   <67672@debbugs.gnu.org>, "Chand, Suresh" <schand@cooley.com>
>> Date: Tue, 12 Dec 2023 21:56:51 +0000
>>
>> "Moore, Rider" <rmoore@cooley.com> writes:
>>
>>> Ah, thank you sooo much!!  I think this fixed our issue.
>>> Thank you for the instructions as well.  Does it matter where we save the test.el file?  Once we run M-x load-file we are done with it?
>>
>> Do note that removing vc-refresh-state may break some things related to
>> version control functionality of Emacs, so what I asked you to do is a
>> workaround at best; not a proper fix.
>>
>> Eli or people more familiar with vc-hg.el internals might ask more
>> questions to narrow down the more precise cause.
>>
>> For now, we just determined that `vc-refresh-state' is slow in your setup.
> 
> Dmitry, any ideas?

Something to try is (setq vc-hg-parse-hg-data-structures nil) and see 
whether that changes something.

Another - is to (setq vc-command-messages t), see what commands are run 
(in *Messages*) and test them in the terminal, comparing performance and 
debugging it on their side (perhaps working with TrueCrypt support, 
reporting that such and such commands are slow).

Finally, if the users only want to run Emacs as a "normal text editor", 
then setting vc-handled-backends to nil would improve performance, while 
removing all the VC related features.






      reply	other threads:[~2023-12-13 11:59 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-06 22:43 bug#67672: EMACS - Slow opening files Chand, Suresh
2023-12-07  6:43 ` Eli Zaretskii
2023-12-07 16:39   ` Moore, Rider
2023-12-07 18:01     ` Eli Zaretskii
2023-12-07 18:16       ` Moore, Rider
2023-12-07 18:28         ` Eli Zaretskii
2023-12-08 21:41           ` Moore, Rider
2023-12-09  7:29             ` Eli Zaretskii
2023-12-11 17:16               ` Moore, Rider
2023-12-11 17:53                 ` Eli Zaretskii
2023-12-12 15:52                   ` Moore, Rider
2023-12-12 17:07                     ` Eli Zaretskii
2023-12-12 17:57                       ` Moore, Rider
2023-12-12 18:40                         ` Eli Zaretskii
2023-12-12 19:06                           ` Moore, Rider
2023-12-12 19:15                             ` Eli Zaretskii
2023-12-12 19:33                               ` Moore, Rider
2023-12-12 19:46                                 ` Eli Zaretskii
2023-12-12 19:58                                   ` Moore, Rider
2023-12-12 21:03                                     ` Ihor Radchenko
2023-12-12 21:18                                       ` Moore, Rider
2023-12-12 21:25                                         ` Ihor Radchenko
2023-12-12 21:25                                           ` Moore, Rider
2023-12-12 21:29                                             ` Moore, Rider
2023-12-12 21:43                                               ` Ihor Radchenko
2023-12-12 21:32                                             ` Ihor Radchenko
2023-12-12 21:38                                               ` Moore, Rider
2023-12-12 21:56                                                 ` Ihor Radchenko
2023-12-13 11:49                                                   ` Eli Zaretskii
2023-12-13 11:59                                                     ` Dmitry Gutov [this message]

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=b4c5faa9-31b7-1998-65b8-e5cbf22ec886@gutov.dev \
    --to=dmitry@gutov.dev \
    --cc=67672@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=rmoore@cooley.com \
    --cc=schand@cooley.com \
    --cc=yantar92@posteo.net \
    /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.