unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: Tex-mode binding of C-return
Date: Tue, 03 May 2005 10:02:26 +0200	[thread overview]
Message-ID: <m3u0lk4u0d.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <jwvk6mhmolv.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 02 May 2005 15:14:36 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> C-return is such a "good command", analogue to C-SPC for the
>> normal mark.
>
> I don't find C-return a particularly good choice (especially since it
> doesn't work on ttys).  

Neither does S-return...    Does C-space work on ttys?


>
> Is the idea that to kill a rectangle you could do
>
>    C-RET C-SPC .... M-w

Just do:
     C-RET ... M-w 

>
> or equivalently
>
>    C-SPC ... C-RET ... M-w

That works, yes, changing the normal mark to
a rectangle mark.


>                         But to tell you the truth, it's hard to judge
> without the whole context (i.e. what would be the interface for that
> new rectangle handling thingy?).

Try this:

- Open some text in a buffer

- M-x cua-mode RET

- Place the cursor on the top left corner of "a" rectangle.

- S-return

- move to cursor to bottom right corner of that rectangle,
  using C-f, C-b, C-n, C-p or any other normal cursor movement.

- C-w


- Move somewhere else in the buffer

- C-y



I'm suggesting to use C-return instead of S-return to toggle the
rectangle mark, just like C-space toggles the normal mark.



>
>> Do tex users really use C-return ?
>
> At least I don't.

Good :-)

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2005-05-03  8:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-02 11:25 Tex-mode binding of C-return Kim F. Storm
2005-05-02 19:14 ` Stefan Monnier
2005-05-03  8:02   ` Kim F. Storm [this message]
2005-05-03 15:42     ` Stefan Monnier
2005-05-04  2:38     ` Luc Teirlinck
2005-05-04  8:18       ` Kim F. Storm
2005-05-04 15:24         ` Luc Teirlinck
2005-05-04  2:53     ` Luc Teirlinck
2005-05-04  9:20     ` Andreas Schwab
2005-05-02 21:44 ` Daniel Brockman
2005-05-04  5:53 ` Harald Maier

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=m3u0lk4u0d.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    /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).