From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: advance char Date: Thu, 06 Jun 2013 16:33:44 +0200 Message-ID: <51B09DC8.9050609@easy-emacs.de> References: <51B04556.5090608@easy-emacs.de> <8738sva8w1.fsf@mithlond.arda> <51B06F22.1010001@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1370529076 20150 80.91.229.3 (6 Jun 2013 14:31:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Jun 2013 14:31:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 06 16:31:14 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UkbDa-0006Wp-Tt for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Jun 2013 16:31:11 +0200 Original-Received: from localhost ([::1]:45769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkbDa-0002g2-Hf for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Jun 2013 10:31:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkbDG-0002dU-Oi for help-gnu-emacs@gnu.org; Thu, 06 Jun 2013 10:30:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkbDB-0005fa-9x for help-gnu-emacs@gnu.org; Thu, 06 Jun 2013 10:30:50 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.187]:58900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkbDA-0005fU-Vt for help-gnu-emacs@gnu.org; Thu, 06 Jun 2013 10:30:45 -0400 Original-Received: from [192.168.178.21] (brln-4dbc5f6a.pool.mediaWays.net [77.188.95.106]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0MDPnp-1Uayhq249F-00GoXD; Thu, 06 Jun 2013 16:30:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 In-Reply-To: X-Provags-ID: V02:K0:gZr0LvZKKx2X6TzN8ALuff1XQbRCqT7qGWZX5hl9Z1C w+IS6rIywMxdSIPdzEaw5MuuTWrt2eoAXLwNlTckmPKz7JZl7F GeLpYLH0Fgo8+NGqnp7JNBgd0wHM94FGFOmLjs7CyHjxbx5v3A eG63GrjTT84kADLYbeQSsZJIboAwDJLElvKLBLsroIru8Cmow3 SmpNHEYIgPkCxYUokfj0tNjqA7/iiwdH7V7rXayZ+uiP2FT9lq /jUVnPnwbyN/zwfmCOp7Mj4xLaVuxIF8FYXr2USwcXiUhqQqVX yYsdvc6n0GlWM4CwBKTrimiHPbxuy/D+s6RP4LJxCN6mhqY1iC q0Qy9nwSyZKoebcQyQR8tuzbj+BT0fVbCV4IbEuUL X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.126.187 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91350 Archived-At: Am 06.06.2013 15:01, schrieb Stefan Monnier: >> BTW suggest to take shift-char into simple.el > > It's the first time I see someone need it, in my almost 20 years of > hacking on Emacs. So, adding it to simple.el sounds like a really > outlandish proposition. > > > Stefan > > > Needed a couple of function/regexp pairs which where named right-down the alphabet, up/downcased again and so on. For the latter command `reverse-chars' exists already: (defun reverse-chars (&optional arg) "Reverse reciproke chars as \"[\" to \"]\", upcase or downcase, Switch `\"' with `'' If over a number, add ARG to it. With negative arg, substract from number. [ ... ] ;;;;;;; People interested in this and related basic stuff might have a look into misc-utils.el at https://launchpad.net/s-x-emacs-werkstatt/