From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andrew Taylor Newsgroups: gmane.emacs.help Subject: Re: How run a command JUST on region highlighted by MOUSE?!?! Date: Thu, 28 Aug 2003 21:32:49 GMT Organization: Shaw Residential Internet Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <5yu3b.865304$3C2.19502799@news3.calgary.shaw.ca> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1062107827 6251 80.91.224.253 (28 Aug 2003 21:57:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Aug 2003 21:57:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 28 23:57:06 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19sUlO-0001Dv-00 for ; Thu, 28 Aug 2003 23:57:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19sUhf-0000Bn-2G for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Aug 2003 17:53:15 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news3.calgary.shaw.ca.POSTED!not-for-mail X-Trace-PostClient-IP: 68.147.170.64 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 10 Original-NNTP-Posting-Host: 24.71.223.147 Original-X-Complaints-To: abuse@shaw.ca Original-X-Trace: news3.calgary.shaw.ca 1062106369 24.71.223.147 (Thu, 28 Aug 2003 15:32:49 MDT) Original-NNTP-Posting-Date: Thu, 28 Aug 2003 15:32:49 MDT Original-Xref: shelby.stanford.edu gnu.emacs.help:116234 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:12153 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12153 Christian Seberino wrote: > I have a need to run delete-trailing-whitespace on JUST the region > highlighted with mouse. Can I do this?? Select the region, M-x narrow-to-region, M-x delete-trailing-whitespace, M-x widen. -- Andrew