From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 739@debbugs.gnu.org, Reuben Thomas <rrt@sc3d.org>
Subject: bug#739: Suggested small functions to plug symmetry gaps
Date: Wed, 11 Apr 2012 09:46:54 -0400 [thread overview]
Message-ID: <jwvwr5m9yd7.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m3wr5mmp86.fsf@stories.gnus.org> (Lars Magne Ingebrigtsen's message of "Wed, 11 Apr 2012 14:23:37 +0200")
>> (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
next prev parent reply other threads:[~2012-04-11 13:46 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 [this message]
2012-04-12 16:06 ` Lars Magne Ingebrigtsen
2012-04-12 16:17 ` Reuben Thomas
2012-04-12 18:19 ` Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvwr5m9yd7.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 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.