unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: michael@cadilhac.name (Michaël Cadilhac)
Cc: Drew Adams <drew.adams@oracle.com>, emacs-devel@gnu.org
Subject: Re: keep|flush-lines, how-many to be used backward.
Date: Wed, 26 Sep 2007 01:01:59 -0400	[thread overview]
Message-ID: <jwvd4w6t413.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87hcli24nf.fsf@cadilhac.name> ("Michaël Cadilhac"'s message of "Tue\, 25 Sep 2007 16\:36\:36 +0200")

>>>>> 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

  reply	other threads:[~2007-09-26  5:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-24 16:08 keep|flush-lines, how-many to be used backward Michaël Cadilhac
2007-09-24 17:27 ` Drew Adams
2007-09-24 17:42   ` Michaël Cadilhac
2007-09-25 14:10     ` Stefan Monnier
2007-09-25 14:36       ` Michaël Cadilhac
2007-09-26  5:01         ` Stefan Monnier [this message]
2007-09-25 10:44 ` Richard Stallman
2007-09-25 20:39 ` Michaël Cadilhac
2007-09-25 20:56   ` Juri Linkov
2007-09-25 21:01     ` Michaël Cadilhac
2007-09-25 21:49       ` Juri Linkov
2007-09-28  9:32         ` Michaël Cadilhac
2007-09-28 10:52           ` Robert J. Chassell
2007-09-28 10:59             ` Michaël Cadilhac
2007-09-29 16:10             ` Richard Stallman
2007-09-28 15:50           ` Drew Adams
2007-09-28 22:25           ` Robert J. Chassell
2007-09-29 22:48           ` Juri Linkov
2007-09-30  2:18             ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvd4w6t413.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=michael@cadilhac.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).