From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.help Subject: Re: Help with upcasing words first char Date: Sat, 22 Aug 2009 13:40:57 -0500 Organization: Still searching... Message-ID: <8763cfu1xi.fsf@newsguy.com> References: <87ab1ru9zt.fsf@newsguy.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250966682 24076 80.91.229.12 (22 Aug 2009 18:44:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Aug 2009 18:44:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 22 20:44:35 2009 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 1MevZq-0002yc-9m for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Aug 2009 20:44:34 +0200 Original-Received: from localhost ([127.0.0.1]:42018 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MevZp-00081k-Nt for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Aug 2009 14:44:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MevWu-0004g1-9D for help-gnu-emacs@gnu.org; Sat, 22 Aug 2009 14:41:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MevWp-0004b9-Mn for help-gnu-emacs@gnu.org; Sat, 22 Aug 2009 14:41:31 -0400 Original-Received: from [199.232.76.173] (port=60065 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MevWp-0004b3-Dn for help-gnu-emacs@gnu.org; Sat, 22 Aug 2009 14:41:27 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:44862) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MevWo-0005Km-Pv for help-gnu-emacs@gnu.org; Sat, 22 Aug 2009 14:41:27 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1MevWn-00022O-14 for help-gnu-emacs@gnu.org; Sat, 22 Aug 2009 20:41:25 +0200 Original-Received: from c-98-215-178-110.hsd1.in.comcast.net ([98.215.178.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Aug 2009 20:41:25 +0200 Original-Received: from reader by c-98-215-178-110.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Aug 2009 20:41:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 65 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-215-178-110.hsd1.in.comcast.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.96 (gnu/linux) Cancel-Lock: sha1:sfah18gnyySuTA1ZAFATeUQTECY= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:67425 Archived-At: Harry Putnam writes: > I need to do a pile of editing that involves: > > Removing a space between words and upcasing the first letter of the > next word like: > > Some example > to > SomeExample > > I went thru M-x apropos > > But didn't find a likely candidate ... or at least none appeared to be > the right thing for what I want. > > So far I've been > > Ctrl To get to the space between words > Ctrl-d Ctrl-d To remove the space and the leading lowercase char of > the next word > > Shift to replace with uppercase > > Then back to Ctrl > > Where can I save some keyboard strokes? Just to add a bit here... I realize that upcase-region can do the above but its actually more cumbersome that what I described above and appears to need more keystrokes too create region/call upcase region Maybe its the same number of strokes but more inconvenient in that it breaks the movements up in a different way than My current method: ctrl- | Ctrl-d | ctrl-d | shift Using upcase-region ctrl-' keystrokes to move to next space between words, is only available on windows UI. At least I don't see it on my linux OS. Any suggestions about how to automate or reduce time on these edits? Once more... the edit: Some words similar to this I need to remove the space and upcase the next Char. SomeWordsSimilarToThis