* 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 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.