From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Characterset for Abbrevation names limited Date: Wed, 27 Jun 2007 15:49:52 -0400 Message-ID: References: <467A7A62.40202@gmx.de> <467E88DA.8020906@gmx.de> <18048.3335.394836.510128@fencepost.gnu.org> <18049.43015.320374.60575@fencepost.gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1182973806 13610 80.91.229.12 (27 Jun 2007 19:50:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Jun 2007 19:50:06 +0000 (UTC) Cc: rgm@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 27 21:50:05 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I3dWX-0001QK-NR for ged-emacs-devel@m.gmane.org; Wed, 27 Jun 2007 21:49:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I3dWX-0008Qb-D3 for ged-emacs-devel@m.gmane.org; Wed, 27 Jun 2007 15:49:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I3dWU-0008OL-CN for emacs-devel@gnu.org; Wed, 27 Jun 2007 15:49:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I3dWT-0008O9-Fu for emacs-devel@gnu.org; Wed, 27 Jun 2007 15:49:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I3dWT-0008O6-Bf for emacs-devel@gnu.org; Wed, 27 Jun 2007 15:49:53 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I3dWS-0006ad-Vd for emacs-devel@gnu.org; Wed, 27 Jun 2007 15:49:53 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1I3dWS-0006I9-Kw; Wed, 27 Jun 2007 15:49:52 -0400 In-reply-to: (message from Stefan Monnier on Tue, 26 Jun 2007 22:19:19 -0400) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:73938 Archived-At: I can't recover the original email so I'm not sure what was suggested, but if the suggestion is to make define-abbrev signal an error if the abbrev uses chars that are not word constituents, this will be problematic because the criterion depends on the syntax-table in use and that one may not be the same during define-abbrev as during expand-abbrev (some code in Emacs even uses pre-abbrev-expand-hook to change the syntax-table used during expand-abbrev independently from the syntax-table used otherwise in the buffer). We could leave define-abbrev alone and make the user level commands, define-global-abbrev and define-mode-abbrev, do this check. That way, ordinary users would be protected from the mistake, and experts could still do whatever they wish.