emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'struct window' cleanup #4


From: Stefan Monnier
Subject: Re: 'struct window' cleanup #4
Date: Mon, 02 Jul 2012 10:48:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

> Do we have a consensus about type(s) of 'window_end_vpos', 'vscroll',
> 'hscroll' and 'min_hscroll' fields of 'struct window'?  Now I'm just
> assuming that ptrdiff_t is safer.  Eli, please review if possible.

vscroll should be int, as should be the hscroll amounts.
The vpos probably as well.  `ptrdiff' is for things like
buffer-positions (and it's only meaningful for the --with-wide-int
compilation option which I tend to consider as a waste of time).


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]