unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Perry Smith <pedz@easesoftware.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: find-file change between emacs 21 and emacs 22
Date: Mon, 13 Nov 2006 23:22:06 -0600	[thread overview]
Message-ID: <0798EAAE-ECAA-4A44-8A00-FFEBFD51852F@easesoftware.com> (raw)
In-Reply-To: <uhcx2irvq.fsf@gnu.org>


[-- Attachment #1.1: Type: text/plain, Size: 2274 bytes --]

On Nov 13, 2006, at 10:17 PM, Eli Zaretskii wrote:

>> From: Perry Smith <pedz@easesoftware.com>
>> Date: Mon, 13 Nov 2006 17:22:46 -0600
>>
>> In emacs 22, simply hitting return after the ^X-^F reads in the
>> directory.  That confuses me a lot.  I'm simply not use to it.
>
> Most people wanted this change.  You seem to be the first one to want
> the old and confusing behavior.  It is confusing because re-reading
> the file is not something an Emacs user would normally want.  Can you
> tell why you need that?

If I'm writing quick scaffolding code, I get my Makefile to compile  
and then execute the program and capture various things in different  
output files.  I want to reload the output files to look at them.   
Another example, (roughly the same situation) I'm mucking with my C++  
code and checking the assembly output trying to find things that the  
compiler optimizes better than other things.  Again, the output is to  
foo.s (the assembly language).  I need to reload the file after each  
test.

I did not find it confusing.  I thought it was really brilliant to  
give me two nice things with only one key stroke difference: reload  
the file or do the dired.  As it is now, I can only do one of those.   
(I haven't tried your suggestion yet.)

>> Is it possible to revert it back to what emacs 21 did -- maybe a
>> customized option or some variable I can set?
>
> Not really, but the NEWS entry that describes the change shows a
> work-around:
>
>   ** C-x C-f RET, typing nothing in the minibuffer, is no longer a  
> special case.
>
>   Since the default input is the current directory, this has the  
> effect
>   of specifying the current directory.  Normally that means to  
> visit the
>   directory with Dired.
>
>   You can get the old behavior by typing C-x C-f M-n RET, which  
> fetches
>   the actual file name into the minibuffer.

Oh! thats just as good!  I'll have to re-teach my fingers but that  
shouldn't be a problem.

I looked in the NEWS before my post and did not find the entry you  
mention.  (I was searching for find-file.) I'll look again.

Thanks for your help.
Perry Smith
Ease Software, Inc.
pedz@easesoftware.com
http://www.easesoftware.com

Low cost SATA Products for IBMs p5, pSeries, and RS/6000 AIX systems




[-- Attachment #1.2: Type: text/html, Size: 8426 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

  reply	other threads:[~2006-11-14  5:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-13 23:22 find-file change between emacs 21 and emacs 22 Perry Smith
2006-11-14  4:17 ` Eli Zaretskii
2006-11-14  5:22   ` Perry Smith [this message]
2006-11-14 20:01     ` Eli Zaretskii
     [not found]   ` <mailman.549.1163481741.2155.help-gnu-emacs@gnu.org>
2006-11-14  7:23     ` Mathias Dahl
2006-11-14 18:53       ` Kevin Rodgers
2006-11-14  8:09     ` spamfilteraccount
2006-11-14 13:52       ` Perry Smith

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=0798EAAE-ECAA-4A44-8A00-FFEBFD51852F@easesoftware.com \
    --to=pedz@easesoftware.com \
    --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).