all messages for Emacs-related lists mirrored at yhetil.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 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.