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: Wed, 11 Apr 2012 09:46:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

>> (defun goto-column (n)
>>   "Goto column COLUMN, counting from column 1 at beginning of line."
>>   (interactive "nGoto column: ")
>>   (move-to-column n))
> This doesn't really seem that useful to me.  `C-u 9 <right>' does that
> already.

No, C-u 9 <right> only works if you're at BOL and if all chars occupy
a single column (e.g. any TAB will throw you off).

But, please don't define a new function/command, just put a interactive
property on `move-to-column' instead.


        Stefan





reply via email to

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