unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: tramp and auto-revert-tail-mode
Date: Tue, 22 Aug 2006 23:55:31 +0200	[thread overview]
Message-ID: <87bqqccu5o.fsf@hans.local.net> (raw)
In-Reply-To: <nqirkli2e8.fsf@alcatel.de> (Michael Albinus's message of "Tue, 22 Aug 2006 10:46:23 +0200")

Michael Albinus <michael.albinus@gmx.de> writes:

> Dieter Wilhelm <dieter@duenenhof-wilhelm.de> writes:
>
>> Hi
>
> Hi,
>
>> I wanted to use auto-revert-tail-mode in a buffer which I opened with
>> tramp because of read restrictions (/su::/var/log/mail I think).  But
>> this modes doesn't work as expected, is this a known bug or
>> complication?
>
>>From autorevert.el:
>
> ;; Auto-Revert Mode can be activated for individual buffers.  Global
> ;; Auto-Revert Mode applies to all file buffers. (If the user option
> ;; `global-auto-revert-non-file-buffers' is non-nil, it also applies
> ;; to some non-file buffers.  This option is disabled by default.)
> ;; Since checking a remote file is too slow, these modes do not check
> ;; or revert remote files.
>
> See also `auto-revert-handler':
>
>     (let* ((buffer (current-buffer))
> 	   (revert
> 	    (or (and buffer-file-name
> 		     (not (file-remote-p buffer-file-name))
> 		     ...
>

Thank you for the pointer: It seems to me that file-remote-p is not
thoroughly enough for above cases when the file is indeed locally
opened?

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany

  reply	other threads:[~2006-08-22 21:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5426.1156227355.9609.help-gnu-emacs@gnu.org>
2006-08-22  8:46 ` tramp and auto-revert-tail-mode Michael Albinus
2006-08-22 21:55   ` Dieter Wilhelm [this message]
2006-08-23  7:23     ` Michael Albinus
2006-08-23 23:52       ` Dieter Wilhelm
2006-08-24  7:06         ` Michael Albinus
2006-08-21 22:32 Dieter Wilhelm

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=87bqqccu5o.fsf@hans.local.net \
    --to=dieter@duenenhof-wilhelm.de \
    --cc=help-gnu-emacs@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.
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).