all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Jacobson <jidanni@deadspam.com>
Subject: Re: It is prompting me for a filename. I would like to fill in the current filename.
Date: 10 Apr 2002 15:28:47 +0800	[thread overview]
Message-ID: <m2r8lo57ww.fsf@jidanni.org> (raw)
In-Reply-To: jeadsd3p06.fsf@sykes.suse.de

And there it was, on M-n.  That means I wasted all your times.
Sorry.  Maybe I did M-p M-p M-p M-n M-n so thought I checked all
around not thinking that it was hiding on the first M-n.

Wait, the M-n is far from universal.  It is not there often:
$ LC_ALL=C emacs -q --no-site-file -nw /tmp
! ESC n
sure, you might say that I could use "*" here, but then I would
respond that I wished to edit the name.  You could say why not use w !
C-y, but I would say I've already hit ! and begun to type other things
and it is inconvenient for me to go back and hit w at this time.
Sure, C-a C-k C-g w ! C-y C-y M-y or something... inconvenient.

Anyways, let's say I had hit M-! instead of ! ... anyways, in each
case the user wishes that emacs would have the most relevant file name
at the tip of its tongue, ready for use at any time... perhaps have it
ready in one of those many registers lying around or something... the
idea is a standard key sequence that will yank it, add ^U and you get
the full path... not only usable the minibuffer, but even in the file
itself.

As often even dabbrev-expand doesn't know about the name of the
current file we're editing until we've at least saved it and have its
name in a dired or something, this feature would be handy.

Anyways, M-n will blot out anything else that you have typed in
already on that line in the minibuffer.  Also it isn't a general
solution in case we aren't in the minibuffer.
-- 
http://jidanni.org/ Taiwan(04)25854780

  parent reply	other threads:[~2002-04-10  7:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-07  9:41 It is prompting me for a filename. I would like to fill in the current filename Dan Jacobson
2002-04-07 16:48 ` Andreas Schwab
2002-04-08 17:49   ` D. Goel
2002-04-09 10:07     ` Andreas Schwab
2002-04-09 14:11       ` D. Goel
2002-04-09 14:31         ` Miles Bader
2002-04-09 14:50         ` Andreas Schwab
2002-04-09 16:58           ` D. Goel
2002-04-10  7:28           ` Dan Jacobson [this message]
2002-04-10 16:46             ` Kevin Rodgers
2002-04-23 22:03             ` Jeff Dwork
2002-04-09 16:03         ` Kai Großjohann

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=m2r8lo57ww.fsf@jidanni.org \
    --to=jidanni@deadspam.com \
    --cc=jidanni@yahoo.com.tw \
    /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.