* Interactive line spacing
@ 2010-07-12 6:15 mhuhtala
0 siblings, 0 replies; only message in thread
From: mhuhtala @ 2010-07-12 6:15 UTC (permalink / raw)
To: emacs-devel
Does anyone else miss interactive setting of line spacing in Emacs? I
use 0 for code and certain types of data files with aligned columns,
and 5 or more for natural language text. I put this in my .emacs:
(defun spaceout (&optional spacing)
"Set line-spacing for the current buffer."
(interactive "p")
(setq line-spacing spacing)
(recenter)
)
(global-set-key [?\C-+] 'spaceout)
The C-+ key binding is similar to Firefox and such.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-12 6:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-12 6:15 Interactive line spacing mhuhtala
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).