all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [fouvry@CoLi.Uni-SB.DE: `=' not as punctuation in sh-mode syntax table]
@ 2004-05-08 22:00 Richard Stallman
  2004-05-08 23:03 ` Miles Bader
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Stallman @ 2004-05-08 22:00 UTC (permalink / raw)


What do people think of this idea?

------- Start of forwarded message -------
From: Frederik Fouvry <fouvry@CoLi.Uni-SB.DE>
To: bug-gnu-emacs@gnu.org
Date: Fri,  7 May 2004 20:08:38 +0200 (CEST)
Subject: `=' not as punctuation in sh-mode syntax table
Reply-To: Frederik.Fouvry@CoLi.Uni-SB.DE
...

On the basis of the documentation of the syntax classes `symbol
constituent' and `punctuation character', I propose that `='
should be added to sh-mode-syntax-table as punctuation (now it is
a symbol):

(?= . "_")

The symbol constituent documentation:

===========

 - Syntax class: symbol constituent
     "Symbol constituents" (designated by `_') are the extra characters
     that are used in variable and command names along with word
     constituents.  For example, the symbol constituents class is used
     in Lisp mode to indicate that certain characters may be part of
     symbol names even though they are not part of English words.
     These characters are `$&*+-_<>'.  In standard C, the only
     non-word-constituent character that is valid in symbols is
     underscore (`_').

============

I do not think this applies to `='.

I would tend to consider `$' as punctuation as well, but the case
is less clear.

Regards,

Frederik Fouvry

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

end of thread, other threads:[~2004-05-08 23:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-08 22:00 [fouvry@CoLi.Uni-SB.DE: `=' not as punctuation in sh-mode syntax table] Richard Stallman
2004-05-08 23:03 ` Miles Bader

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.