unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Subject: [fouvry@CoLi.Uni-SB.DE: `=' not as punctuation in sh-mode syntax table]
Date: Sat, 08 May 2004 18:00:09 -0400	[thread overview]
Message-ID: <E1BMZrd-00017f-Aq@fencepost.gnu.org> (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

             reply	other threads:[~2004-05-08 22:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-08 22:00 Richard Stallman [this message]
2004-05-08 23:03 ` [fouvry@CoLi.Uni-SB.DE: `=' not as punctuation in sh-mode syntax table] Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1BMZrd-00017f-Aq@fencepost.gnu.org \
    --to=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).