From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: (X)Emacs abbrev mode Date: Wed, 24 Feb 2010 21:27:55 +0100 Message-ID: <4B858BCB.4060003@easy-emacs.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1267043191 15225 80.91.229.12 (24 Feb 2010 20:26:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Feb 2010 20:26:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 24 21:26:16 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NkNoG-000893-Cx for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Feb 2010 21:26:16 +0100 Original-Received: from localhost ([127.0.0.1]:55540 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkNoF-0002Xc-QP for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Feb 2010 15:26:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NkNns-0002XO-K6 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2010 15:25:52 -0500 Original-Received: from [140.186.70.92] (port=53449 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkNnr-0002XG-U5 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2010 15:25:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NkNnr-0002rj-2G for help-gnu-emacs@gnu.org; Wed, 24 Feb 2010 15:25:51 -0500 Original-Received: from moutng.kundenserver.de ([212.227.126.171]:63523) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NkNnq-0002rI-Mz for help-gnu-emacs@gnu.org; Wed, 24 Feb 2010 15:25:51 -0500 Original-Received: from [192.168.178.27] (p54BEA4E4.dip0.t-ipconnect.de [84.190.164.228]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0LfY1R-1NQDLh1PUP-00paY5; Wed, 24 Feb 2010 21:25:48 +0100 User-Agent: Thunderbird 2.0.0.19 (X11/20081227) In-Reply-To: X-Provags-ID: V01U2FsdGVkX1+a9saGTmwTcLc+JW6TjiScvc3kXZ+mrj3DdEm dGuLyZR43PzsVfEcjCP2FDQ30Xoturfq9+riXZNxI4UA4SE5g3 VpfiTqmkfmUt5AIEZ2FrznXzLK639EEyMViohThU9g= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72109 Archived-At: Stefan Monnier wrote: >> I was wondering if you could tell me why the following works in XEmacs and >> not in Emacs. > > Because Emacs only accepts "words" as abbreviations by default. > If you want to support something else (i.e. abbreviations that contains > chars that are not marked as words in the syntax-table), then you need > to tweak your abbreviation table by setting its :regexp property. > > > Stefan > Hi Stefan, as this question comes into my mind from time to time: is there any reason to limit the chars usable as abbrevs at all? Thought at security reasons, but as code is simply replaced, not executed, don't see it. Why not allow all chars available be part of an abbrev? Best regards, Andreas