unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Syntax of "-" in shell-mode
@ 2016-06-24 20:48 Dima Kogan
  2016-06-24 20:58 ` Drew Adams
  2016-06-25  7:06 ` Eli Zaretskii
  0 siblings, 2 replies; 11+ messages in thread
From: Dima Kogan @ 2016-06-24 20:48 UTC (permalink / raw)
  To: Emacs developers

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.

dima



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-07-07 17:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-24 20:48 Syntax of "-" in shell-mode Dima Kogan
2016-06-24 20:58 ` Drew Adams
2016-06-24 21:05   ` Dima Kogan
2016-06-24 21:11     ` Drew Adams
2016-06-24 21:55     ` Ivan Andrus
2016-07-07 17:49       ` Dima Kogan
2016-06-25  7:06 ` Eli Zaretskii
2016-06-25  7:12   ` Dima Kogan
2016-06-25  7:27     ` Andreas Schwab
2016-06-25  8:27       ` Eli Zaretskii
2016-06-26  3:31       ` Dima Kogan

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).