From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Reuben Thomas <rrt@sc3d.org>
Cc: 739@debbugs.gnu.org
Subject: bug#739: Suggested small functions to plug symmetry gaps
Date: Wed, 11 Apr 2012 14:23:37 +0200 [thread overview]
Message-ID: <m3wr5mmp86.fsf@stories.gnus.org> (raw)
In-Reply-To: <alpine.DEB.1.00.0808191333010.21819@canta> (Reuben Thomas's message of "Tue, 19 Aug 2008 13:51:06 +0100 (BST)")
Reuben Thomas <rrt@sc3d.org> writes:
> For simple.el:
>
> (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.
> For rect.el:
>
> (defun copy-rectangle-as-kill (start end)
> "Copy the region-rectangle and save it as the last killed one."
> (interactive "r")
> (setq killed-rectangle (extract-rectangle start end)))
>
> goto-column fills an obvious gap left between goto-char and goto-line,
> while copy-rectangle-as-kill mirrors copy-region-as-kill (and has been
> requested and suggested before on more than one Emacs mailing list).
This is a good idea, especially in read-only buffers. What would the
keystroke be, though? `C-x r c' is already taken...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
next prev parent reply other threads:[~2012-04-11 12:23 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 [this message]
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
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=m3wr5mmp86.fsf@stories.gnus.org \
--to=larsi@gnus.org \
--cc=739@debbugs.gnu.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.