Hello
General
Toys
Other
Blog Archives
Super Links
Copyleft

Unless otherwise stated, all original content on this site is licensed under your choice of the GNU FDL or the Creative Commons ShareAlike License.

GNU FDL Creative Commons License

Validate

Hopefully, this website is valid. You can check the XHTML, the CSS, and the RSS.

Valid XHTML 1.0 Strict Valid CSS Valid RSS

Stats

Emacs Tip of the Moment: string-insert-rectangle

The emacs function that seems nifty to me at the moment is string-insert-rectangle. I don't have it bound to any keys, so I invoke it with M-x string-insert-rectangle. Below is its documentation, which can be obtained with M-x describe-function string-insert-rectangle.

string-insert-rectangle is an interactive autoloaded Lisp function in `rect'.
(string-insert-rectangle START END STRING)

Insert STRING on each line of region-rectangle, shifting text right.

When called from a program, the rectangle's corners are START and END.
The left edge of the rectangle specifies the column for insertion.
This command does not delete or overwrite any existing text.

Have fun!