all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Reopening current buffer's file
@ 2013-06-29 16:18 Paul Dembry
  2013-06-29 18:34 ` Drew Adams
  2013-06-29 18:46 ` Michael Heerdegen
  0 siblings, 2 replies; 5+ messages in thread
From: Paul Dembry @ 2013-06-29 16:18 UTC (permalink / raw)
  To: help-gnu-emacs

In 21.3.1 (old suse machine), I can do the following:

 1. Open a file, e.g. moose
2. c-x c-f
3. Presuming that moose has been changed externally, emacs asks "File moose
 changed on disk. Reread from disk? (yes or no)"
4. Answer yes and it reopens the file

 In 24.2.1 (new suse machine), c-x c-f always opens a directory listing. I 
am
 using the same $(HOME)/.emacs file. I cannot figure out how to have 24.2.1
 behave the same way as 21.3.1. Is this a simple setting in the options? I 
could not find one.

 Thanks,
Paul




^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Reopening current buffer's file
  2013-06-29 16:18 Reopening current buffer's file Paul Dembry
@ 2013-06-29 18:34 ` Drew Adams
  2013-06-29 18:46 ` Michael Heerdegen
  1 sibling, 0 replies; 5+ messages in thread
From: Drew Adams @ 2013-06-29 18:34 UTC (permalink / raw)
  To: Paul Dembry, help-gnu-emacs

>  using the same $(HOME)/.emacs file.

Try `emacs -Q', that is, without your init file.

If you do not see the problem in that case, then bisect
your init file until you find what is causing the problem.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Reopening current buffer's file
  2013-06-29 16:18 Reopening current buffer's file Paul Dembry
  2013-06-29 18:34 ` Drew Adams
@ 2013-06-29 18:46 ` Michael Heerdegen
  2013-06-29 18:54   ` Jambunathan K
  1 sibling, 1 reply; 5+ messages in thread
From: Michael Heerdegen @ 2013-06-29 18:46 UTC (permalink / raw)
  To: help-gnu-emacs

Hello Paul,

> In 21.3.1 (old suse machine), I can do the following:
>
> 1. Open a file, e.g. moose
> 2. c-x c-f
> 3. Presuming that moose has been changed externally, emacs asks "File moose
> changed on disk. Reread from disk? (yes or no)"
> 4. Answer yes and it reopens the file
>
> In 24.2.1 (new suse machine), c-x c-f always opens a directory
> listing. I am
> using the same $(HOME)/.emacs file. I cannot figure out how to have 24.2.1
> behave the same way as 21.3.1. Is this a simple setting in the
> options? I could not find one.

Seems that the behavior wrt defaults has been changed.  You can try M-n
in the minibuffer.  Or, use M-x revert-buffer instead, which is designed
for reopening.  Bind it to a key if you need it often.


Regards,

Michael.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Reopening current buffer's file
  2013-06-29 18:46 ` Michael Heerdegen
@ 2013-06-29 18:54   ` Jambunathan K
  0 siblings, 0 replies; 5+ messages in thread
From: Jambunathan K @ 2013-06-29 18:54 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: help-gnu-emacs


> M-x revert-buffer instead, which is designed for reopening.  Bind it
> to a key if you need it often.

There is one already

        C-x C-v RET

Just don't look at the name of the function! Believe me it reverts the
buffer.







^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Reopening current buffer's file
       [not found] <mailman.57604.1372553131.22519.help-gnu-emacs@gnu.org>
@ 2013-07-01 20:27 ` Paul Dembry
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Dembry @ 2013-07-01 20:27 UTC (permalink / raw)
  To: help-gnu-emacs

>> M-x revert-buffer instead, which is designed for reopening.  Bind it
>> to a key if you need it often.
> 
> There is one already
> 
>        C-x C-v RET

Thanks, I'll use this.
Regards,
Paul



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-07-01 20:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-29 16:18 Reopening current buffer's file Paul Dembry
2013-06-29 18:34 ` Drew Adams
2013-06-29 18:46 ` Michael Heerdegen
2013-06-29 18:54   ` Jambunathan K
     [not found] <mailman.57604.1372553131.22519.help-gnu-emacs@gnu.org>
2013-07-01 20:27 ` Paul Dembry

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.