unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: New Files and directories
Date: Wed, 28 Oct 2015 03:19:18 +0100	[thread overview]
Message-ID: <87y4en91ll.fsf@debian.uxu> (raw)
In-Reply-To: 7ded04fb-0f2b-470b-9256-ae924e9ff6a0@googlegroups.com

hadrien.daures@gmail.com writes:

> I haven't used emacs for a while and I forgot how to
> refresh the directories content.
>
> When I create new files/directories, my emacs won't
> show them unless I restart it... pretty annoying...
> I remember I had a shortcut for that.

Many people have already told you about the shortcut,
so let me join that crowd and tell you that the key
for that is `g' which is `revert-buffer' :)

No, seriously, another alternative is to have dired
automatically and always show an refreshed view.

You can do this with:

    (setq dired-auto-revert-buffer #'dired-directory-changed-p)

If it doesn't work, check out this file and see if you
can figure it out:

    http://user.it.uu.se/~embe8573/conf/emacs-init/dired-my.el

-- 
underground experts united
http://user.it.uu.se/~embe8573




      parent reply	other threads:[~2015-10-28  2:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-27  9:35 New Files and directories hadrien.daures
2015-10-27 13:40 ` Drew Adams
2015-10-27 14:00 ` Charles Curley
2015-10-27 14:11 ` Dan Espen
2015-10-27 14:29 ` hadrien.daures
2015-10-27 15:38   ` Dan Espen
2015-10-28  2:04     ` Emanuel Berg
     [not found]     ` <mailman.1182.1445997306.7904.help-gnu-emacs@gnu.org>
2015-10-28  2:33       ` Dan Espen
2015-10-28  2:19 ` Emanuel Berg [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=87y4en91ll.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.
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).