all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier+gnu/emacs@RUM.cs.yale.edu>
Cc: monnier+inbox@RUM.cs.yale.edu, emacs-delvel@gnu.org,
	emacs-devel@gnu.org, rutt+news@cis.ohio-state.edu
Subject: Re: [rutt+news@cis.ohio-state.edu: [patch] factor out comment-or-uncomment feature from comment-dwim]
Date: Wed, 10 Apr 2002 12:36:53 -0400	[thread overview]
Message-ID: <200204101636.g3AGas725787@rum.cs.yale.edu> (raw)
In-Reply-To: 200204101423.g3AENc220897@aztec.santafe.edu

>     On a related note:
>     how about a transient form of transient-mark-mode ?
>     We agreed that it would be desirable a while back, but the concrete details
>     weren't clear at the time.  I have a more concrete proposal now:
> 
> How would you use this?

With transient-mark-mode, you can do

	C-SPC ...move... M-;

With the code I sent, people who don't have transient-mark-mode turned on
can still use the comment-region behavior of M-; by doing:

	M-x mark-and-highlight RET ...move... M-;
or
	C-SPC ...move... M-x activate-and-highlight-region RET M-;

This could also be used with other functions who operate on the
region only when transient-mark-mode is turned ON.

Both mark-and-highlight and activate-and-highlight-region are useful and
they should both be provided.  The question is mostly where to bind those
two commands.  I wish mark-and-highlight could be bound to something
similar to C-u SPC and I think that activate-and-highlight-region could
be bound to C-u C-x C-x.


	Stefan

  reply	other threads:[~2002-04-10 16:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200204072343.g37NhcO20159@aztec.santafe.edu>
2002-04-08 22:13 ` [rutt+news@cis.ohio-state.edu: [patch] factor out comment-or-uncomment feature from comment-dwim] Stefan Monnier
2002-04-09  0:18   ` Benjamin Rutt
2002-04-09  9:33   ` Kai Großjohann
2002-04-10 14:23   ` Richard Stallman
2002-04-10 16:36     ` Stefan Monnier [this message]
2002-04-10 21:25       ` Kim F. Storm
2002-04-10 20:39         ` Stefan Monnier
2002-04-10 21:18         ` Kai Großjohann
2002-04-11  9:37           ` Kim F. Storm
2002-04-11  9:48             ` Francesco Potorti`
2002-04-11 11:49               ` Kim F. Storm
2002-04-11 13:05             ` Stefan Monnier
2002-04-12  3:12             ` Richard Stallman
2002-04-12  9:45               ` Kim F. Storm
2002-04-12 18:46                 ` Stefan Monnier
2002-04-13 19:06                 ` Richard Stallman
2002-04-14 21:32                   ` Kim F. Storm
2002-04-16 20:18                     ` Richard Stallman
2002-04-10 21:39         ` Kim F. Storm

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

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

  git send-email \
    --in-reply-to=200204101636.g3AGas725787@rum.cs.yale.edu \
    --to=monnier+gnu/emacs@rum.cs.yale.edu \
    --cc=emacs-delvel@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier+inbox@RUM.cs.yale.edu \
    --cc=rutt+news@cis.ohio-state.edu \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.