[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#739: Suggested small functions to plug symmetry gaps
From: |
Lars Magne Ingebrigtsen |
Subject: |
bug#739: Suggested small functions to plug symmetry gaps |
Date: |
Wed, 11 Apr 2012 14:23:37 +0200 |
User-agent: |
Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux) |
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/
- bug#739: Suggested small functions to plug symmetry gaps,
Lars Magne Ingebrigtsen <=
- bug#739: Suggested small functions to plug symmetry gaps, Stefan Monnier, 2012/04/11
- bug#739: Suggested small functions to plug symmetry gaps, Lars Magne Ingebrigtsen, 2012/04/12
- bug#739: Suggested small functions to plug symmetry gaps, Reuben Thomas, 2012/04/12
- bug#739: Suggested small functions to plug symmetry gaps, Stefan Monnier, 2012/04/12
- bug#739: Suggested small functions to plug symmetry gaps, Reuben Thomas, 2012/04/12
- bug#739: Suggested small functions to plug symmetry gaps, Andreas Schwab, 2012/04/12
- bug#739: Suggested small functions to plug symmetry gaps, Reuben Thomas, 2012/04/12
- bug#739: Suggested small functions to plug symmetry gaps, Chong Yidong, 2012/04/13
- bug#739: Suggested small functions to plug symmetry gaps, Reuben Thomas, 2012/04/13
- bug#739: Suggested small functions to plug symmetry gaps, Stefan Monnier, 2012/04/16