From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [fouvry@CoLi.Uni-SB.DE: `=' not as punctuation in sh-mode syntax table] Date: Sat, 08 May 2004 18:00:09 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1084054170 6790 80.91.224.253 (8 May 2004 22:09:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 May 2004 22:09:30 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun May 09 00:09:25 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BMa0b-00052a-00 for ; Sun, 09 May 2004 00:09:25 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BMa0b-0006Jj-00 for ; Sun, 09 May 2004 00:09:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.33) id 1BMZwS-00048t-TD for emacs-devel@quimby.gnus.org; Sat, 08 May 2004 18:05:09 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.33) id 1BMZt1-0002xE-04 for emacs-devel@gnu.org; Sat, 08 May 2004 18:01:35 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.33) id 1BMZsC-0001si-DY for emacs-devel@gnu.org; Sat, 08 May 2004 18:01:11 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.33) id 1BMZrd-00010q-MD for emacs-devel@gnu.org; Sat, 08 May 2004 18:00:09 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.33) id 1BMZrd-00017f-Aq; Sat, 08 May 2004 18:00:09 -0400 Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22947 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22947 What do people think of this idea? ------- Start of forwarded message ------- From: Frederik Fouvry 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