emacs-devel
[Top][All Lists]
Advanced

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

Re: trunk r113878: Refine previous change.


From: Xue Fuqiao
Subject: Re: trunk r113878: Refine previous change.
Date: Thu, 15 Aug 2013 06:30:38 +0800

On Thu, Aug 15, 2013 at 3:45 AM, Eli Zaretskii <address@hidden> wrote:
>> 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.

OK, I'll remove them.  BTW in "(elisp) Character Motion" and "(elisp)
Creating Markers", there are similar sentences, should I remove them all?

-- 
Best regards, Xue Fuqiao.
http://www.gnu.org/software/emacs/



reply via email to

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