From: Tassilo Horn <tassilo@member.fsf.org>
To: rms@gnu.org
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: doc-view.el: about cursor and filename display
Date: Tue, 16 Oct 2007 08:34:38 +0200 [thread overview]
Message-ID: <87przfbm9t.fsf@baldur.tsdh.de> (raw)
In-Reply-To: <E1Ihdle-00031x-Gc@fencepost.gnu.org> (Richard Stallman's message of "Tue, 16 Oct 2007 00:10:54 -0400")
Richard Stallman <rms@gnu.org> writes:
> That can happen if the user calls revert explicitly as well (yes,
> less likely and less severe, but still: the user might do M-x
> revert-buffer, then get annoyed that it doesn't see the result, so
> do it again and again and again).
>
> It shouldn't be too difficult to protect against it by detecting
> the situation and "reacting appropriately".
>
> I don't see how it is possible to detect such a situation. M-x
> revert-buffer could at most detect that input is pending; it cannot
> tell what that input will do when executed, so there is really nothing
> it can do.
I'm not completely sure, but the docs lead me to the impression that I
can set `revert-buffer-function' in doc-view buffers to the function
that reconverts a file. In that function I could check for currently
running processes and revert/reconvert only if no process is already
running. If there's a conversion process underway, I could inform the
user with a message.
Bye,
Tassilo
next prev parent reply other threads:[~2007-10-16 6:34 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-15 8:27 doc-view.el: about cursor and filename display William Xu
2007-10-15 9:20 ` Tassilo Horn
2007-10-15 11:15 ` William Xu
2007-10-15 15:13 ` Tassilo Horn
2007-10-16 4:10 ` Richard Stallman
2007-10-15 14:00 ` Stefan Monnier
2007-10-15 14:20 ` Tassilo Horn
2007-10-16 4:10 ` Richard Stallman
2007-10-16 6:34 ` Tassilo Horn [this message]
2007-10-17 5:02 ` Richard Stallman
2007-10-17 8:39 ` Tassilo Horn
2007-10-17 13:57 ` Stefan Monnier
2007-10-17 16:19 ` Tassilo Horn
2007-10-18 5:02 ` Richard Stallman
2007-10-18 6:50 ` Tassilo Horn
2007-10-17 19:54 ` Tassilo Horn
2007-10-17 23:29 ` Dan Nicolaescu
2007-10-18 1:47 ` Miles Bader
2007-10-19 5:40 ` Richard Stallman
2007-10-19 7:50 ` David Kastrup
2007-10-20 1:31 ` Miles Bader
2007-10-21 14:56 ` David Kastrup
2007-10-21 19:23 ` Stefan Monnier
2007-10-21 20:26 ` David Kastrup
2007-10-22 0:48 ` Stefan Monnier
2007-10-20 3:29 ` Richard Stallman
2007-10-18 6:56 ` Tassilo Horn
2007-10-18 8:10 ` David Kastrup
2007-10-18 8:19 ` Tassilo Horn
2007-10-18 8:33 ` David Kastrup
2007-10-19 0:45 ` Juri Linkov
2007-10-18 20:37 ` Reiner Steib
2007-10-17 20:49 ` Richard Stallman
2007-10-17 20:54 ` Tassilo Horn
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=87przfbm9t.fsf@baldur.tsdh.de \
--to=tassilo@member.fsf.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=rms@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.