all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Dever <dan.dever@caviumnetworks.com>
To: <21952@debbugs.gnu.org>
Cc: Michael Albinus <michael.albinus@gmx.de>
Subject: bug#21952: 24.5; auto-revert-tail-mode doesn't work (perhaps because of nfs)
Date: Fri, 2 Sep 2016 08:58:11 -0400	[thread overview]
Message-ID: <57C97763.4040307@caviumnetworks.com> (raw)
In-Reply-To: <87h9abevym.fsf@gmx.de>

On 08/23/2016 04:22 AM, Michael Albinus wrote:
> When autorevert detects a file on a known mount location,
> `auto-revert-use-notify' is set to nil per default. See
> `auto-revert-notify-exclude-dir-regexp', which uses
>
> (regexp-opt '("/afs/" "/media/" "/mnt" "/net/" "/tmp_mnt/"))
>
> Perhaps, the file Dan wants to watch is mounted somewhere else. In this
> case I recommend to extend that variable.
>
> Dan, could you check whether this works for you?

This does work (tried it on emacs-25.0.95).

I prefer just setting auto-revert-use-notify to nil, however, since we'd never be using auto-revert on locally mounted files anyways.  But thanks for mentioning the alternative.

What also works is the configuration switch that we recently discovered (and have used to build 25.1-rc1/-rc2): "--with-file-notification=no".

I'm not sure I understand the preference for using a file notification utility by default for auto-revert when that utility only works on locally mounted files.  I haven't worked in an environment where our storage has been locally mounted in decades, and I've never had a reason to use auto-revert at home.

Thanks,
Dan





  reply	other threads:[~2016-09-02 12:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-18 15:00 bug#21952: 24.5; auto-revert-tail-mode doesn't work (perhaps because of nfs) dan.dever
2015-11-18 17:41 ` Eli Zaretskii
2016-08-23  8:22   ` Michael Albinus
2016-09-02 12:58     ` Dan Dever [this message]
2016-09-02 13:43       ` Michael Albinus

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=57C97763.4040307@caviumnetworks.com \
    --to=dan.dever@caviumnetworks.com \
    --cc=21952@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /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.