emacs-devel
[Top][All Lists]
Advanced

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

Re: ptrdiff_t misuse


From: Eli Zaretskii
Subject: Re: ptrdiff_t misuse
Date: Fri, 06 Jul 2012 19:00:20 +0300

> Date: Fri, 06 Jul 2012 08:56:04 -0700
> From: Paul Eggert <address@hidden>
> CC: address@hidden, address@hidden, address@hidden, 
>  address@hidden
> 
> > What for? they span the same range of values.
> 
> Yes, that's the point -- if ptrdiff_t and EMACS_POS
> would span the same range of values, why bother to
> distinguish the two?

Because Emacs positions are not pointers, nor differences between
pointers.

> Whether a value is a buffer position is usually clearly stated in
> the variable name.

I refer you to the recent repeated confusions about this by Dmitry.



reply via email to

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