From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas =?iso-8859-1?q?R=F6hler?= Newsgroups: gmane.emacs.devel Subject: Abbrev should preserve case Date: Wed, 20 Jun 2007 19:48:05 +0200 Message-ID: <200706201948.06271.andreas.roehler@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1182361381 25677 80.91.229.12 (20 Jun 2007 17:43:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Jun 2007 17:43:01 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 20 19:42:59 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 1I14Co-0001YU-R5 for ged-emacs-devel@m.gmane.org; Wed, 20 Jun 2007 19:42:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I14Co-0003zr-BZ for ged-emacs-devel@m.gmane.org; Wed, 20 Jun 2007 13:42:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I14Cj-0003va-Fc for emacs-devel@gnu.org; Wed, 20 Jun 2007 13:42:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I14Ci-0003tw-2Y for emacs-devel@gnu.org; Wed, 20 Jun 2007 13:42:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I14Ch-0003tr-RZ for emacs-devel@gnu.org; Wed, 20 Jun 2007 13:42:51 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.171]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I14Ch-00025d-7J for emacs-devel@gnu.org; Wed, 20 Jun 2007 13:42:51 -0400 Original-Received: from [84.190.191.17] (helo=karton) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis), id 0MKwh2-1I14Ce3axP-0004NY; Wed, 20 Jun 2007 19:42:49 +0200 User-Agent: KMail/1.8.2 Content-Disposition: inline X-Provags-ID: V01U2FsdGVkX1/hWFltm5ZgBXtTViu/6u/NEKV8TtyTxiNu5de RM/cm0unexcgxG/r4BlY+834tmDRnhIbmZKey6I2d0LQLP5yWc 7koW76D/m/ArF2Iepz+8Q== X-detected-kernel: Linux 2.6? (barebone, rare!) 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:73459 Archived-At: Info emacs, Node: Expanding Abbrevs, says: =2E.. ,---- | Abbrev expansion preserves case; thus, `foo' expands into `find | outer otter'; `Foo' into `Find outer otter', and `FOO' into `FIND OUTER | OTTER' `---- =46rom there users may guess, it would be possible to define `foo', `Foo' and `FOO' as abbrev names likewise and altogether. Which don't work, because `add-abbrev' in line 289 abbrev.el down-cases every input, thus only down-cased names are registered. ,---- | (define-abbrev table (downcase name) exp)))) `---- Exists a reason for that? I would much appreciate, if I could mix freely up- and downcase chars. This would extend the range of possible abbrev-names considerably. The latter is of interest, if you don't use abbrev the common way, but for whole phrases, defined by machine.=20 If no one objects, I would try to change that. Andreas Roehler