[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: recenter-ratio (was: Re: Toolbars on MacOSX)
From: |
Kim F. Storm |
Subject: |
Re: recenter-ratio (was: Re: Toolbars on MacOSX) |
Date: |
13 May 2004 10:46:25 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Juri Linkov <address@hidden> writes:
>
> The following patch introduces a new variable with the default value 2.
> Its value defines a ratio at which the cursor is placed by default
> from the top of the window relative to the window height. It even
> can be set to the Golden Ratio if one wishes so:
>
> (setq recenter-ratio (expt (/ (1+ (sqrt 5)) 2) 2))
Very nice idea!
But I would rather call it recenter-position and make it a float
between 0.0 and 1.0 indicating the relative distance from the top of
the window, i.e. the defaul being 0.5.
(value <= 0 means top line, value >= 1 means bottom line)
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Toolbars on MacOSX, Piet van Oostrum, 2004/05/04
- Re: Toolbars on MacOSX, YAMAMOTO Mitsuharu, 2004/05/11
- Re: Toolbars on MacOSX, Kim F. Storm, 2004/05/11
- Re: Toolbars on MacOSX, Steven Tamm, 2004/05/11
- Re: Toolbars on MacOSX, YAMAMOTO Mitsuharu, 2004/05/12
- Re: Toolbars on MacOSX, Kim F. Storm, 2004/05/12
- recenter-ratio (was: Re: Toolbars on MacOSX), Juri Linkov, 2004/05/13
- Re: recenter-ratio (was: Re: Toolbars on MacOSX), Miles Bader, 2004/05/13
- Re: recenter-ratio (was: Re: Toolbars on MacOSX),
Kim F. Storm <=
- Re: recenter-ratio (was: Re: Toolbars on MacOSX), David Kastrup, 2004/05/13
- Re: recenter-ratio (was: Re: Toolbars on MacOSX), Andreas Schwab, 2004/05/13
- Re: Toolbars on MacOSX, YAMAMOTO Mitsuharu, 2004/05/22
- Message not available
- Message not available
- Re: Toolbars on MacOSX (seem to work), Steven Tamm, 2004/05/29