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: Abbrev should preserve case Date: Fri, 22 Jun 2007 13:51:45 -0400 Message-ID: References: <200706201948.06271.andreas.roehler@online.de> <4nvedib77v.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182534725 1750 80.91.229.12 (22 Jun 2007 17:52:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Jun 2007 17:52:05 +0000 (UTC) Cc: rgm@gnu.org, andreas.roehler@online.de, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 22 19:52:03 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 1I1nIh-0000gH-Ev for ged-emacs-devel@m.gmane.org; Fri, 22 Jun 2007 19:52:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1nIg-0005Ib-Fy for ged-emacs-devel@m.gmane.org; Fri, 22 Jun 2007 13:52:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I1nId-0005IM-05 for emacs-devel@gnu.org; Fri, 22 Jun 2007 13:51:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I1nIZ-0005BQ-6p for emacs-devel@gnu.org; Fri, 22 Jun 2007 13:51:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1nIZ-0005BJ-48 for emacs-devel@gnu.org; Fri, 22 Jun 2007 13:51:55 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I1nIX-0000Da-Hl; Fri, 22 Jun 2007 13:51:53 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id D1B332CF2E4; Fri, 22 Jun 2007 13:51:52 -0400 (EDT) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 65A173FE0; Fri, 22 Jun 2007 13:51:45 -0400 (EDT) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 53E644C6D25; Fri, 22 Jun 2007 13:51:45 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Fri\, 22 Jun 2007 12\:25\:08 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: Linux 2.6 (newer, 3) 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:73642 Archived-At: > Agreed. But it has since been (ab)used for things like skeletons in > programming modes where typing "case SPC" would expand to > case in > *) ;; > esac > for those kinds of uses, the capitalization footwork of abbrev.el is > rather harmful. > In practice, how is it harmful? Usually, not too severe. > You would get undesirable results if you enter `CASE' or `Case', but that > problem is easy to avoid: enter `case' instead. I'm not sure I understand the question: of course we know how to avoid the problem. And we know that it's really harmful if you happen to have variable names such as Case or CASE or cAse. I do not want to change the default case-insensitivity of abbrevs, but I think it'd be worthwhile to be able to specify some case-sensitive abbrevs as well. Stefan