all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Shell Mode keywords
@ 2015-07-14  9:22 Raffaele Ricciardi
  2015-07-14 11:09 ` Tassilo Horn
  0 siblings, 1 reply; 2+ messages in thread
From: Raffaele Ricciardi @ 2015-07-14  9:22 UTC (permalink / raw)
  To: help-gnu-emacs

Shell Mode defines these keywords:

(defvar shell-font-lock-keywords
   '(("[ \t]\\([+-][^ \t\n]+\\)" 1 font-lock-comment-face)
     ("^[^ \t\n]+:.*" . font-lock-string-face)
     ("^\\[[1-9][0-9]*\\]" . font-lock-string-face))
   "Additional expressions to highlight in Shell mode.")

I infer that the first regexp is meant to match command options.
What is the purpose of the other two regexps?

Thank you.


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

end of thread, other threads:[~2015-07-14 11:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-14  9:22 Shell Mode keywords Raffaele Ricciardi
2015-07-14 11:09 ` Tassilo Horn

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.