[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trunk r113878: Refine previous change.
From: |
Eli Zaretskii |
Subject: |
Re: trunk r113878: Refine previous change. |
Date: |
Wed, 14 Aug 2013 22:45:06 +0300 |
> From: Glenn Morris <address@hidden>
> Date: Wed, 14 Aug 2013 15:34:28 -0400
> Cc: address@hidden
>
> Xue Fuqiao wrote:
>
> [set-marker]
>
> > +POSITION is less than 1, MARKER is moved to the beginning of the
> > +buffer. If POSITION is greater than the size of the buffer, marker is
> > +moved to the end of the buffer.
>
> I'm not sure this should be documented (yes, I know it is in the manual;
> perhaps it should not be). Especially the first sentence.
I think both of them should not be in the doc. These are internal
self-defenses of the implementation, we don't expect users to pass
such invalid arguments (a.k.a. "undefined behavior") at all. Besides,
this is a slippery slope, as we have such restrictions all over the
place.
- Re: trunk r113878: Refine previous change., Glenn Morris, 2013/08/14
- Re: trunk r113878: Refine previous change.,
Eli Zaretskii <=
- Re: trunk r113878: Refine previous change., Juanma Barranquero, 2013/08/14
- Re: trunk r113878: Refine previous change., Glenn Morris, 2013/08/14
- Re: trunk r113878: Refine previous change., Juanma Barranquero, 2013/08/15
- Re: trunk r113878: Refine previous change., Stefan Monnier, 2013/08/15
- Re: trunk r113878: Refine previous change., Eli Zaretskii, 2013/08/15
- Re: trunk r113878: Refine previous change., Glenn Morris, 2013/08/15
- Re: trunk r113878: Refine previous change., Stefan Monnier, 2013/08/15