unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Reuben Thomas <rrt@sc3d.org>
Cc: Lars Magne Ingebrigtsen <larsi@gnus.org>, 739@debbugs.gnu.org
Subject: bug#739: Suggested small functions to plug symmetry gaps
Date: Thu, 12 Apr 2012 14:19:25 -0400	[thread overview]
Message-ID: <jwvobqwrf8v.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CAOnWdojk3dvt=0aW4vbps+K_3yPnWMbDyV1yp9g7jRGgJgY=Ew@mail.gmail.com> (Reuben Thomas's message of "Thu, 12 Apr 2012 17:17:40 +0100")

>>> But, please don't define a new function/command, just put a interactive
>>> property on `move-to-column' instead.
>> `move-to-column' already has an interactive spec.  :-)
> It does, but it could still be extended to prompt for a number if one
> isn't given;

Agreed.  Patch welcome.

> at the moment, as I originally noted, there is no
> columnar equivalent to goto-char and goto-line. If it's not
> appropriate to add this behavior to move-to-column, it could be a new
> function, as I suggested; this also has the advantage that users might
> reasonably infer the existence of goto-column from the other goto-
> functions, and be surprised (as I was!) when they don't find it.

I could maybe be persuaded to add a `goto-column' alias.

As for copy-rectangle-as-kill, that sounds perfectly fine to me.
[ Tho I'd much rather do it with M-x push-rectangle-mark RET ...move to
  other corner... M-w.  E.g. by letting `mark-active' take a third
  possible value `rectangle'.  ]


        Stefan





  reply	other threads:[~2012-04-12 18:19 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-19 12:51 bug#739: Suggested small functions to plug symmetry gaps Reuben Thomas
2012-04-11 12:23 ` Lars Magne Ingebrigtsen
2012-04-11 13:46   ` Stefan Monnier
2012-04-12 16:06     ` Lars Magne Ingebrigtsen
2012-04-12 16:17       ` Reuben Thomas
2012-04-12 18:19         ` Stefan Monnier [this message]
2012-04-12 20:47           ` Reuben Thomas
2012-04-12 21:21             ` Andreas Schwab
2012-04-12 21:27               ` Reuben Thomas
2012-04-13  6:20                 ` Chong Yidong
2012-04-13 18:52               ` Reuben Thomas
2012-04-16 12:52                 ` Stefan Monnier
2012-04-14 11:32           ` Lars Ingebrigtsen
2012-04-16  2:05             ` Stefan Monnier
2012-04-11 16:04   ` Reuben Thomas
2012-04-11 17:57   ` Drew Adams
2012-04-13  6:25   ` Chong Yidong
2012-04-14 11:33     ` Lars Ingebrigtsen
2012-04-14 13:46       ` Drew Adams
2012-07-14  2:17         ` Chong Yidong

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=jwvobqwrf8v.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=739@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=rrt@sc3d.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).