From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: How to convert the case for a single letter Date: Fri, 21 Nov 2008 16:08:55 +0100 Message-ID: <504A741A-CEDE-4E49-9F9D-ADEDA5C59D2B@Web.DE> References: <87r655ib8k.fsf@gmail.com> <87myfti24f.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1227280212 6483 80.91.229.12 (21 Nov 2008 15:10:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Nov 2008 15:10:12 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Niels Giesen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 21 16:11:12 2008 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.50) id 1L3Xem-0000ei-0W for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Nov 2008 16:10:52 +0100 Original-Received: from localhost ([127.0.0.1]:60667 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3Xdd-000431-4o for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Nov 2008 10:09:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L3Xd4-0003q9-Nq for help-gnu-emacs@gnu.org; Fri, 21 Nov 2008 10:09:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L3Xd3-0003nz-0z for help-gnu-emacs@gnu.org; Fri, 21 Nov 2008 10:09:06 -0500 Original-Received: from [199.232.76.173] (port=48012 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3Xd2-0003nr-PK for help-gnu-emacs@gnu.org; Fri, 21 Nov 2008 10:09:04 -0500 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:54021) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L3Xd2-0004Pg-E3 for help-gnu-emacs@gnu.org; Fri, 21 Nov 2008 10:09:04 -0500 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate02.web.de (Postfix) with ESMTP id D7C7BF6F2286; Fri, 21 Nov 2008 16:09:02 +0100 (CET) Original-Received: from [91.35.220.11] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.109 #226) id 1L3Xd0-0005Au-00; Fri, 21 Nov 2008 16:09:02 +0100 In-Reply-To: <87myfti24f.fsf@gmail.com> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/BVnGM4TcSq0p/DdKt1XyNZpgodOJteV9IsDe5 TCGCLT2uDhyK/2TDIV5ugAoyVgct4UEoJiYF2DRLfly7ZTiJaY dhUhpYQb+E6sQMZJKPSg== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:60003 Archived-At: Am 21.11.2008 um 15:29 schrieb Niels Giesen: >> Right! This and downcase-word (M-l) work also for the rest of the =20 >> word >> =96 and Both Will Fail On A Word That Has A Few Upper-Case Letters = In >> It. > > Right, that is annoying. How about something like > > (defun upcase-char (arg) > (interactive "P") > (upcase-region > (point) > (+ (point) arg))) Yes, something simple like this, or a keyboard macro of his own, was =20 part of my recommendation to Anand. (For me it happens so rarely that =20= I can do this manually, once needed. With a keyboard of six or seven =20 modifiers an unused key binding could be determined, s-~, for example) -- Mit friedvollen Gr=FC=DFen Pete Hei=DFt 'Wegwerfgesellschaft', dass mensch diese Gesellschaft weg =20 werfen *kann* oder *muss*?