unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Simias <simias.n@gmail.com>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.50; hexl-mode and auto-revert-mode incompatibilities
Date: Fri, 25 Jan 2008 10:28:32 +0100	[thread overview]
Message-ID: <4799ABC0.9040200@gmx.at> (raw)
In-Reply-To: <86k5lyuvx0.fsf@simias.hd.free.fr>

 >   Mmh, it behaves the same way as in the first patch for me, I hope I
 > haven't made a mistake. auto-revert-tail-mode still breaks.

So even brute force won't help us here?  Could you, for testing
purposes, insert at the beginning of `auto-revert-tail-handler' a
message like:

(defun auto-revert-tail-handler (size)
   (message "%s" auto-revert-tail-is-revert-buffer) (ding)
   (let ((modified (buffer-modified-p))

evaluate that and tell me what gets printed for hexl-mode buffers?
Basically,

     (set (make-local-variable 'auto-revert-tail-is-revert-buffer) t)

in hexl-mode together with

	(if (and auto-revert-tail-mode
		 (not auto-revert-tail-is-revert-buffer))
	    (auto-revert-tail-handler size)

in `auto-revert-handler' should assure that `auto-revert-tail-handler'
is _never_ called for hexl-mode buffers.

      reply	other threads:[~2008-01-25  9:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-21  1:58 23.0.50; hexl-mode and auto-revert-mode incompatibilities Simias
2008-01-21 13:38 ` martin rudalics
2008-01-22  2:06   ` Simias
2008-01-22 13:50     ` martin rudalics
2008-01-25  8:55       ` Simias
2008-01-25  9:28         ` martin rudalics [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=4799ABC0.9040200@gmx.at \
    --to=rudalics@gmx.at \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=simias.n@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).