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: [pot@gnu.org: (setq sgml-transformation 'upcase) has no effect] Date: Thu, 17 May 2007 19:16:31 -0400 Message-ID: References: <200705171329.36410.cplate@web.de> <200705171900.02464.cplate@web.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1179443802 19696 80.91.229.12 (17 May 2007 23:16:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 May 2007 23:16:42 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Christian Plate Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 18 01:16:40 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 1HopD5-00017c-Lo for ged-emacs-devel@m.gmane.org; Fri, 18 May 2007 01:16:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HopLE-0002BF-Cs for ged-emacs-devel@m.gmane.org; Thu, 17 May 2007 19:25:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HopLA-0002B0-Vw for emacs-devel@gnu.org; Thu, 17 May 2007 19:25:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HopL9-0002AV-Kv for emacs-devel@gnu.org; Thu, 17 May 2007 19:24:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HopL9-0002AS-EQ for emacs-devel@gnu.org; Thu, 17 May 2007 19:24:59 -0400 Original-Received: from 18.red-83-50-230.dynamicip.rima-tde.net ([83.50.230.18] helo=alfajor.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HopCy-0005i0-Q8; Thu, 17 May 2007 19:16:33 -0400 Original-Received: by alfajor.home (Postfix, from userid 20848) id 58E0C1C5B3; Thu, 17 May 2007 19:16:31 -0400 (EDT) In-Reply-To: <200705171900.02464.cplate@web.de> (Christian Plate's message of "Thu\, 17 May 2007 19\:00\:02 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) 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:71289 Archived-At: >> That will only fix some cases, but not all. > I have attached the fix for all cases. I doubt that'll do them all: it ignores all the other calls to skeleton-transformation-function that are in skeleton.el. I.e. your approach is flawed. If you want to do it right, you just need to set skeleton-transformation-function not to the value of sgml-transformation-function but to (lambda (&rest args) (apply sgml-transformation-function args)). I'm very much unconvinced that what this addresses is a "bug", tho. It makes the code more complex with very little benefit, if any. Stefan