[Top][All Lists]

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

Syntax of "-" in shell-mode

From: Dima Kogan
Subject: Syntax of "-" in shell-mode
Date: Fri, 24 Jun 2016 13:48:38 -0700
User-agent: mu4e 0.9.17; emacs

Hi. What do people think about giving "-" a syntax of "word" in
shell-mode? The rationale is that in this mode one is generally editing
shell commands where "-" precedes commandline options, and strings such
as "--help" generally represent a single semantic token.

More specifically if I have something like "xxx --yyy" with the point in
the whitespace, and I invoke (transpose-words) I want the result to be
"--yyy xxx" and not "yyy --xxx". The latter means something very
different in a shell command.


reply via email to

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