From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Testing new abbrev tables in elisp Date: Sun, 28 Oct 2007 17:03:19 -0400 Message-ID: References: <200706201948.06271.andreas.roehler@online.de> <200710262113.34899.andreas.roehler@online.de> <200710281514.00722.andreas.roehler@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193605558 10430 80.91.229.12 (28 Oct 2007 21:05:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2007 21:05:58 +0000 (UTC) Cc: Glenn Morris , Richard Stallman , emacs-devel@gnu.org To: Andreas =?iso-8859-1?Q?R=F6hler?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 28 22:06:00 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 1ImFJr-0007Mv-El for ged-emacs-devel@m.gmane.org; Sun, 28 Oct 2007 22:05:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImFJi-00045c-EK for ged-emacs-devel@m.gmane.org; Sun, 28 Oct 2007 17:05:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ImFII-00039I-Bk for emacs-devel@gnu.org; Sun, 28 Oct 2007 17:03:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ImFIB-00032j-9j for emacs-devel@gnu.org; Sun, 28 Oct 2007 17:03:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImFIA-00031c-CD for emacs-devel@gnu.org; Sun, 28 Oct 2007 17:03:30 -0400 Original-Received: from bc.sympatico.ca ([209.226.175.184] helo=tomts22-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ImFI1-0001d8-Ax; Sun, 28 Oct 2007 17:03:21 -0400 Original-Received: from ceviche.home ([74.12.208.145]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20071028210320.FHQM18413.tomts22-srv.bellnexxia.net@ceviche.home>; Sun, 28 Oct 2007 17:03:20 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id A9406B4AB3; Sun, 28 Oct 2007 17:03:19 -0400 (EDT) In-Reply-To: <200710281514.00722.andreas.roehler@online.de> ("Andreas =?iso-8859-1?Q?R=F6hler=22's?= message of "Sun\, 28 Oct 2007 15\:13\:59 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) 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:81989 Archived-At: >> > What about `case-sensitive'? For me as non-english >> > speaker `folding' is not easy to follow because of the >> > word-sence - as something knitting into. Sensitive as >> > awareness is understood from the beginning. >> >> Could work, but also suffers from the fact that the current behavior (which >> expands `sm' to `stefan monnier' but `Sm' to `Stefan Monnier'") can be >> considered as being "sensitive" to case. >> > Beside of case-sensitivity another theme is in the > pipe: to allow multi-word abbrevs. Since I've installed my code this is now possible. Just set the :regexp property of the abbrev table accordingly. > As it's wanted for translations, cases in one language > (abbrevs) should not predict i.e. force cases in > expansion. It's easier to write ad-hoc code than to try and extend abbrevs to "do the right thing" for that kind of unusal situation. Stefan