all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Wiegley <johnw@gnu.org>
Cc: rms@gnu.org, eclig@gmx.net
Subject: Re: small Eshell docfix
Date: Sun, 05 Sep 2004 23:47:03 -0700	[thread overview]
Message-ID: <m2wtz7gahk.fsf@Majnun.local> (raw)
In-Reply-To: <1c4qmgo3l4.fsf@tiscali.de> (Emilio Lopes's message of "Thu, 02 Sep 2004 21:47:35 +0200")

Emilio Lopes <eclig@gmx.net> writes:

> Eshell doesn't accept `\' as directory separator.  An besides the
> command interpreter in MS Windows doesn't has such a function
> (quoting to protect from alias expansion).  So, for MS Windows users
> there is no conflict or a tradition to be broken here.

Actually, Eshell does accept \ as a directory separator on Windows
systems.

Now, thinking about all this has led me to the following proposal:

There are two different aspects to what "*" at the beginning of a
command word does: 1) It causes aliases to be ignored, and 2) it
prefers the external version of a program to any Lisp-implemented
version.

In the case of 1, I agree the default should be \.  In the case of 2,
I believe the current use of "*" ought to remain.  Thus I propose
creating a new variable, and a bit of new code, so that the meaning of
initial * is kept, while initial \ is allowed for ignoring aliases.
(The use of initial \ can be made safe for Windows users by parsing it
only if no other backslashes occur in the command word, and no such
executable exists in the root directory).

If the meaning of 1 and 2 is to stay merged, I recommend keeping the
current default of *, because it has a deeper meaning than what \ does
for shell users (where it means only that aliases be ignored).

John

  reply	other threads:[~2004-09-06  6:47 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-30  3:31 small Eshell docfix Richard Stallman
2004-08-30  7:58 ` John Wiegley
2004-08-30 13:14   ` Stefan Monnier
2004-08-30 13:46     ` Kim F. Storm
2004-08-30 18:28     ` Richard Stallman
2004-08-30 22:03       ` John Wiegley
2004-08-31 22:06         ` Richard Stallman
2004-09-01  5:45           ` Oliver Scholz
2004-09-02  4:53             ` Richard Stallman
2004-08-30 19:43 ` Emilio Lopes
2004-08-31 22:07   ` Richard Stallman
2004-08-31 23:19     ` John Wiegley
2004-09-01 19:24       ` Richard Stallman
2004-09-01 20:23     ` Emilio Lopes
2004-09-01 23:14       ` Miles Bader
2004-09-02 11:19         ` Kim F. Storm
2004-09-02 19:47           ` Emilio Lopes
2004-09-06  6:47             ` John Wiegley [this message]
2004-09-06 18:30               ` Eli Zaretskii
2004-09-07 16:29                 ` Alex Schroeder
2004-09-07 18:55                   ` Eli Zaretskii
2004-09-07 22:41                     ` Alex Schroeder
2004-09-08  3:53                       ` Richard Stallman
2004-09-07 23:28                   ` John Wiegley
2004-09-07 23:45                     ` Miles Bader
2004-09-08  5:12                       ` John Wiegley
2004-09-03 17:23           ` Richard Stallman
2004-09-04 20:06             ` Emilio Lopes
2004-09-05  4:23               ` Eli Zaretskii

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=m2wtz7gahk.fsf@Majnun.local \
    --to=johnw@gnu.org \
    --cc=eclig@gmx.net \
    --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.