From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: daniel@bigwalter.net (Daniel Jensen) Newsgroups: gmane.emacs.help Subject: Re: dired loading on C-x C-f Date: Wed, 11 Feb 2009 01:38:05 +0100 Message-ID: <87r625byfm.fsf@orme.bigwalter.net> References: <11d90d76-e5d6-4643-b36e-79f3710ea1f9@g3g2000pre.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234363678 31282 80.91.229.12 (11 Feb 2009 14:47:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Feb 2009 14:47:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 11 15:49:13 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LXGOk-0006Kk-Bb for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Feb 2009 15:49:10 +0100 Original-Received: from localhost ([127.0.0.1]:48841 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXGNQ-00016n-Pq for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Feb 2009 09:47:48 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!newshub.sdsu.edu!feeder.erje.net!newsfeed0.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-X-Trace: individual.net gmbr6l+KidXA/jsjWZApnQSX7aSY6pBba3aqTynxXV0LnLvgMP Cancel-Lock: sha1:HagLmJ4Fg8PvHYE5x481dUKb77U= sha1:GQqN3U6CQF+h8LgyiNii2MevMSc= X-Face: SNGmwsN&0DaHhS0!*%\@y"Wc^).,<; VsqY#}K/NJ:A Z6_>Md7x$Z9C1%BAu41M'12-8(f2{H*8OsnYv,K+y.szl1K>}{uC/>2?; k[KUiD=$}@z>odk|7Tk7i $A|{j7LhTt!:SdVp5Z, kKA247}--"-QLedxCbw|#&bh=R]Rd)kx{q+T'fG)9ayG`+\@g'3vx1Fd3bl -`3}Guvr!A"Z);"$|]CXW>YR5m"<[L User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:166736 X-Mailman-Approved-At: Wed, 11 Feb 2009 09:38:09 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62056 Archived-At: keethraxx@gmail.com writes: > I have a problem with a specific installation of emacs (22.1.1 on > SPARC Solaris 9) behaving strangely. > > On most other systems if I have a file open in a buffer but changed on > disk (outside of emacs) and press C-x C-f [RET] it tells me that the > file has changed and asks me whether I want to reload it. > > However this one opens dired instead. My ~/.emacs file is the same. This is the new behaviour in Emacs 22. (See the NEWS file.) You can use `C-x C-f M-n RET' instead. > I wonder if there is any way to force the "standard" (ie. "prompt to > reload") behavior? This hack was posted by Ted Stern: (defun find-file-read-args (prompt mustmatch) (list (let ((find-file-default (and buffer-file-name (abbreviate-file-name buffer-file-name)))) (read-file-name prompt nil find-file-default mustmatch)) t))