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: keep|flush-lines, how-many to be used backward. Date: Wed, 26 Sep 2007 01:01:59 -0400 Message-ID: References: <873ax4ufhw.fsf@cadilhac.name> <87hcli24nf.fsf@cadilhac.name> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1190782940 3204 80.91.229.12 (26 Sep 2007 05:02:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Sep 2007 05:02:20 +0000 (UTC) Cc: Drew Adams , emacs-devel@gnu.org To: michael@cadilhac.name (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 26 07:02:12 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 1IaP2K-00056i-H1 for ged-emacs-devel@m.gmane.org; Wed, 26 Sep 2007 07:02:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IaP2H-00026A-EA for ged-emacs-devel@m.gmane.org; Wed, 26 Sep 2007 01:02:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IaP2C-000265-8p for emacs-devel@gnu.org; Wed, 26 Sep 2007 01:02:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IaP29-00025t-NX for emacs-devel@gnu.org; Wed, 26 Sep 2007 01:02:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IaP29-00025q-C4 for emacs-devel@gnu.org; Wed, 26 Sep 2007 01:02:01 -0400 Original-Received: from tomts5.bellnexxia.net ([209.226.175.25] helo=tomts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IaP28-00014H-Q7 for emacs-devel@gnu.org; Wed, 26 Sep 2007 01:02:01 -0400 Original-Received: from pastel.home ([74.12.208.240]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070926050159.CGCY1592.tomts5-srv.bellnexxia.net@pastel.home> for ; Wed, 26 Sep 2007 01:01:59 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 6D557858E; Wed, 26 Sep 2007 01:01:59 -0400 (EDT) In-Reply-To: <87hcli24nf.fsf@cadilhac.name> (=?iso-8859-1?Q?=22Micha=EBl?= Cadilhac"'s message of "Tue\, 25 Sep 2007 16\:36\:36 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Detected-Kernel: Solaris 8 (1) 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:79884 Archived-At: >>>>> I've been using this for a few days, and I find it quite useful. >>>>> It may be good to install. The effect: C-u M-x how-many RET is >>>>> how-many'ing in the text *before* point. Same for C-u M-x keep-lines. >>>> >>>> Dunno. Why do you find that very useful? It's only one more keystroke to do >>>> without it: `C-SPC M-<' instead of `C-u'. (Admittedly, that's a complex >>>> keystroke, involving Shift on many keyboards.) >> >>> Well, I don't have this Transient-mark-mode thingy enabled. So I must >>> type C-SPC C-SPC M-< then C-x C-x to return to the point (I mostly use >>> `how-many'), then C-g to remove this BSOD-like Transient mark. For me, >>> its >> >> Hmm... you shouldn't need C-g here, sounds like a bug. > Are you sure? I thought is was a feature. Like, I need to mark > (transiently) 10 lines before point, so I do C-SPC C-SPC C-u 10 C-p, > then I see that I started the region two chars before where I wanted, so > I do C-x C-x and 2 C-f. Nop? I don't understand what you're trying to say. I only wanted to say that C-g shouldn't be needed if you use C-SPC C-SPC to activate the temporary transient-mark-mode and then use M-x how-many (the `how-many' should "consume" the transient mark). Stefan