all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: emacs-unicode-2: global-auto-revert-mode doesn't work properly
Date: Mon, 23 Oct 2006 22:04:57 +0900	[thread overview]
Message-ID: <E1GbzU9-0003Vi-00@etlken> (raw)
In-Reply-To: <87k67jzvh3.fsf@www.williamxu.com> (message from William Xu on Wed, 14 Jun 2006 22:02:16 +0800)

I've just reached to my todo-list entry about this matter.

In article <87k67jzvh3.fsf@www.williamxu.com>, William Xu <william.xwl@gmail.com> writes:

> Kenichi Handa <handa@m17n.org> writes:
> > Ah, I found that this bug happens when you insert non-ASCII
> > characters,

> Smart guess ! But seems it makes no difference here.. 

> > and I found the reason why that causes the
> > problem only in emacs-unicode-2 (difference in REPLACE
> > handling in Finsert_file_contents; HEAD uses insert_1 but
> > emacs-unicode-2 uses insert_from_buffer).  I'm now working
> > on fixing it.  Please wait for a while.

> Still progress though ! :-)

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.

---
Kenichi Handa
handa@m17n.org

  reply	other threads:[~2006-10-23 13:04 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 [this message]
2006-10-24  8:40           ` William Xu

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=E1GbzU9-0003Vi-00@etlken \
    --to=handa@m17n.org \
    --cc=emacs-devel@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.