From: "Drew Adams" <drew.adams@oracle.com>
To: <rms@gnu.org>
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: RE: should `minibuffer-complete' use `abbreviate-file-name'?
Date: Mon, 15 Oct 2007 09:25:01 -0700 [thread overview]
Message-ID: <BNELLINCGFJLDJIKDGACEELBCDAA.drew.adams@oracle.com> (raw)
In-Reply-To: <E1IhSQN-00081T-QL@fencepost.gnu.org>
> His usage:
>
> FROM: Any easy-to-type and mnemonic regexp that matches
> a syntactically valid directory name, whether or not
> such a directory exists. Example: "^/proj1".
>
> TO: An (absolute) name of an existing directory.
> Example: "/a/very/long/dir/name/to/my/project".
>
> That is definitely not what this feature is meant for.
> It isn't meant for expanding abbreviations.
> It is meant for replacing long names with equivalent short ones.
It is nevertheless what this feature *does*. It is agnostic wrt name length.
> If he wants a short way to enter /a/very/long/dir/name/to/my/project,
> he should make ~/proj1 a symlink to it. Then he can use the
> abbreviation ~/proj1 in EVERY program.
For various reasons, he might not WANT such symlinks. He can also create
environment variables, as Stefan suggested, but he might not WANT such env
vars. He might not WANT such abbreviation/substitution/rewriting (call it
what you like) in EVERY program.
Anyway, I understand that you are not in favor of either (1) letting TAB
completion respect `directory-abbrev-alist' or (2) documenting the existing
behavior of `directory-abbrev-alist' (beyond what is the originally intended
symlink use).
next prev parent reply other threads:[~2007-10-15 16:25 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-02 19:25 should `minibuffer-complete' use `abbreviate-file-name'? Drew Adams
2007-10-03 18:37 ` Richard Stallman
2007-10-12 19:27 ` Drew Adams
2007-10-12 19:42 ` Stefan Monnier
2007-10-12 20:34 ` Drew Adams
2007-10-13 3:50 ` Stefan Monnier
2007-10-13 6:03 ` Drew Adams
2007-10-13 14:14 ` Richard Stallman
2007-10-13 15:06 ` Drew Adams
2007-10-14 16:28 ` Richard Stallman
2007-10-14 16:56 ` Drew Adams
2007-10-14 19:10 ` Stefan Monnier
2007-10-15 16:04 ` Richard Stallman
2007-10-15 16:25 ` Drew Adams [this message]
2007-10-15 18:04 ` Stefan Monnier
2007-10-15 18:19 ` Drew Adams
2007-10-16 4:10 ` Richard Stallman
2007-10-14 1:41 ` Stefan Monnier
2007-10-15 1:36 ` Richard Stallman
2007-10-13 9:50 ` Juanma Barranquero
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=BNELLINCGFJLDJIKDGACEELBCDAA.drew.adams@oracle.com \
--to=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=rms@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.