Exceptional coding style

Ali Çehreli acehreli at yahoo.com
Fri Jan 18 09:21:40 PST 2013


On 01/18/2013 08:52 AM, Graham Fawcett wrote:

 >> I do not know of any editor that does not support "ctrl + scroll" to
 >> change the font sizes on the fly.
 >
 > FWIW, Emacs doesn't out of the box. But this makes it work:
 >
 > (global-set-key [M-mouse-4] 'text-scale-increase)
 > (global-set-key [M-mouse-5] 'text-scale-decrease)
 >
 > (M- for Alt, or C- for Control.)
 >
 > Graham

What comes out of the box with Emacs is Shift-Click on the buffer. A 
font menu pops up. The "increase" and "decrease" selections change the 
font size easily.

Ali



More information about the Digitalmars-d mailing list