all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joachim Nilsson <joachim.nilsson@vmlinux.org>
Cc: Help GNU Emacs <help-gnu-emacs@gnu.org>
Subject: Re: find-file strangeness on OS-X
Date: Sat, 10 Jul 2004 10:28:12 +0200	[thread overview]
Message-ID: <1089448091.21877.88.camel@isengard.vmlinux.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0407092027310.3097-100000@localhost.localdomain>

On Sat, 2004-07-10 at 05:29, andrew_certain_gnu@thecertains.com wrote:
> I'm running Andrew Choi's emacs binary for OS-X, and I'm having a problem 
> with find-file.  Normally, if you do C-x C-f RET, emacs looks to see if 
> the file in the buffer has changed on disk and asks if you want to reload 
> it.  Under OS-X, it just loads the directory.  Is this a bug?  Is it 
> configurable?  I'd like to get the normal behavior back.

My GNU/Linux build of the current CVS version (21.3.50.4) also
loads the directory.  The latest stable Debian release has Emacs
21.2.1 and it does exactly what you want, and the upcoming new
release (testing) of Debian has Emacs 21.3.1 which also does 
exactly what you want, so it could be that the semantics of the
C-x C-f command has changed.

Doing a simple "M-x apropos" on find-file reveals as much.  In
the CVS version the description now says:

"Edit file filename.  Switch to a buffer visiting file filename,
creating one if none already exists.  Interactively, the default if you
just type RET is the current directory, but the visited file name is
available through the minibuffer history: type M-n to pull it into the
minibuffer."

Personally I've never used C-x C-f for the purpose you described.
I use "M-x revert-buffer" or "File->Revert Buffer" in the menu.
Maybe you can bind it to a set of keys that suit you or, use some
kind of hook thing to do revert-buffer on "C-x C-f RET".


 /Jocke

-- 
Joachim Nilsson :: <joachim AT vmlinux DOT org> 
+46(0)21-123348 :: <http://vmlinux.org/joachim/>

  reply	other threads:[~2004-07-10  8:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-10  3:29 find-file strangeness on OS-X andrew_certain_gnu
2004-07-10  8:28 ` Joachim Nilsson [this message]
     [not found] ` <mailman.443.1089448243.22971.help-gnu-emacs@gnu.org>
2004-07-12 20:27   ` Kevin Rodgers

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=1089448091.21877.88.camel@isengard.vmlinux.org \
    --to=joachim.nilsson@vmlinux.org \
    --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.