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: Wed, 14 Jun 2006 21:27:58 +0900 [thread overview]
Message-ID: <E1FqUTW-0004Ji-00@etlken> (raw)
In-Reply-To: <87hd2ua7gi.fsf@williamxwl.com> (message from William Xu on Fri, 09 Jun 2006 19:34:21 +0800)
In article <87hd2ua7gi.fsf@williamxwl.com>, William Xu <william.xwl@gmail.com> writes:
> Kenichi Handa <handa@m17n.org> writes:
>> In article <87u06xov1q.fsf@www.williamxu.com>, William Xu <william.xwl@gmail.com> writes:
>>
>>> I've set global-auto-revert-mode to t, and there are two emacs opening
>>> the same file, say `foo'. When one of them *inserts*(deletion doesn't
>>> have this problem, strangely..) something and saves foo, then in the
>>> other emacs's foo buffer, it prompts (which shouldn't happend as
>>> global-auto-revert-mode is turned on),
>>
>>> foo changed on disk; really edit the buffer? (y, n, r or C-h)
>>
>>> Typing either n or r seems no effects, it'll keep prompting. Typing y
>>> removes the prompt, though.
>>
>> I think emacs-unicode-2 doesn't change anything about that
>> feature. Don't you see the same problem in CVS HEAD?
> Nope... actually i used to be using emacs-snapshot, things just work
> fine. I turned to emacs-unicode for gbk support recently, and met that
> problem.
Ah, I found that this bug happens when you insert non-ASCII
characters, 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.
---
Kenichi Handa
handa@m17n.org
next prev parent reply other threads:[~2006-06-14 12:27 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 [this message]
2006-06-14 14:02 ` William Xu
2006-10-23 13:04 ` Kenichi Handa
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
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=E1FqUTW-0004Ji-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 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).