bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#739: Suggested small functions to plug symmetry gaps


From: Stefan Monnier
Subject: bug#739: Suggested small functions to plug symmetry gaps
Date: Thu, 12 Apr 2012 14:19:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

>>> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]