emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Syntax of "-" in shell-mode


From: Andreas Schwab
Subject: Re: Syntax of "-" in shell-mode
Date: Sat, 25 Jun 2016 09:27:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux)

Dima Kogan <address@hidden> writes:

> Now that I lived with this setting for a day, I don't think it's just
> (transpose-words): "-" being a word character feels like the right thing
> for shell commands. With that setting, the behavior of (forward-word)
> and (backward-word) is much more pleasing as well. Arguments like a
> standalone -- or - are treated like separate words, which is "right".

Use *-sexp instead.  Making - a word characters will break a lot of use
cases.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]