From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-orgmode@gnu.org
Subject: Re: magit, revert, folding, normal-mode, performance
Date: Sun, 27 Jun 2010 02:01:54 +0200 [thread overview]
Message-ID: <87lja1ny19.fsf@telefonica.net> (raw)
In-Reply-To: AANLkTikGlMH_JC6dGPTUlDPmv7Ao_2evcC0ERwzCff6E@mail.gmail.com
Samuel Wales <samologist@gmail.com> writes:
> Worth knowing that magit reverts buffers. It appears to
> revert all buffers, not just those with changes.
Magit reverts all saved buffers on the current working copy after
committing.
> This has 2 consequences for org. Magit is slow, and org visibility is
> reset to default.
I'm the author of the patch that introduced that behavior on magit. The
purpose is to update the VC modeline text that indicates when a file is
edited (Git-branch_name for pristine files, Git:branch_name for edited
files.) It's true thas sometimes reverting can be slow and produce side
effects.
> So I wonder:
>
> Is there a way to preserve visibilty across revert-buffer?
I'll look at the docstring of `revert-buffer' and, specifically, to
`revert-buffer-function'. But don't bother, I have a patch for updating
the VC modeline without reverting the buffer and will submit it to the
magit mailing list right now.
> Has anybody profiled loading a large org file?
prev parent reply other threads:[~2010-06-27 0:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-26 18:38 magit, revert, folding, normal-mode, performance Samuel Wales
2010-06-27 0:01 ` Óscar Fuentes [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=87lja1ny19.fsf@telefonica.net \
--to=ofv@wanadoo.es \
--cc=emacs-orgmode@gnu.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.