unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: William Xu <william.xwl@gmail.com>
Subject: Re: emacs-unicode-2: global-auto-revert-mode doesn't work properly
Date: Tue, 24 Oct 2006 16:40:52 +0800	[thread overview]
Message-ID: <87ejsyqf6z.fsf@www.williamxu.com> (raw)
In-Reply-To: E1GbzU9-0003Vi-00@etlken

Kenichi Handa <handa@m17n.org> writes:

[...]

> insert_1 can be called with the arg PREPARE zero, but as
> insert_from_buffer and insert_from_buffer_1 don't have such
> an arg, prepare_to_modify_buffer is called unconditionally,
> which leads to the call of
> ask-user-about-supersession-threat, which makes
> global-auto-revert-mode don't work.
>
> I've fixed that by binding buffer-file-name to nil
> temporarily.

Hmm, that did fix it, in latest checkout. Thanks ! 

-- 
William

Marijuana will be legal some day, because the many law students
who now smoke pot will someday become congressmen and legalize
it in order to protect themselves.
		-- Lenny Bruce

      reply	other threads:[~2006-10-24  8:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-07 15:16 emacs-unicode-2: global-auto-revert-mode doesn't work properly William Xu
2006-06-09  2:30 ` Kenichi Handa
2006-06-09 11:34   ` William Xu
2006-06-14 12:27     ` Kenichi Handa
2006-06-14 14:02       ` William Xu
2006-10-23 13:04         ` Kenichi Handa
2006-10-24  8:40           ` William Xu [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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87ejsyqf6z.fsf@www.williamxu.com \
    --to=william.xwl@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).