all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: have dired always refresh on changed disk
Date: Fri, 26 Sep 2014 21:38:00 +0200	[thread overview]
Message-ID: <87d2ai6ulj.fsf@debian.uxu> (raw)

dired often tells me the disk has changed and I should
hit "g" to refresh the buffer.

Because dired knows it, it should be simple having it
always do it, automatically. (But: does dired *always*
know it?)

It could be an option as perhaps not everyone wants it
(?).

But I don't care for the status of the buffers that
aren't selected. Only when I select or open a dired
buffer, it matters to me if it is in synch or not.

The dired hooks I found are:

    dired-after-readin-hook
    dired-before-readin-hook
    dired-load-hook
    dired-mode-hook

- none of which seem to be suited (?) to do this in.

Can this be done easily or do I change the code?

-- 
underground experts united


             reply	other threads:[~2014-09-26 19:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-26 19:38 Emanuel Berg [this message]
2014-09-26 20:17 ` have dired always refresh on changed disk John Mastro
     [not found] ` <mailman.9750.1411762663.1147.help-gnu-emacs@gnu.org>
2014-09-26 21:39   ` Emanuel Berg
2014-09-27  3:19   ` Emanuel Berg
2014-09-27  3:51     ` John Mastro
     [not found]     ` <mailman.9779.1411789931.1147.help-gnu-emacs@gnu.org>
2014-09-27 12:51       ` Emanuel Berg
2014-09-27 14:18         ` Robert Thorpe
2014-09-27 13:23       ` Emanuel Berg
2014-09-27 23:01         ` John Mastro

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=87d2ai6ulj.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --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.
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.