From: Xue Fuqiao <xfq.free@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: trunk r113878: Refine previous change.
Date: Thu, 15 Aug 2013 06:30:38 +0800 [thread overview]
Message-ID: <CAAF+z6FoTC8a_aczyjJVZBET9D65QDA2uM9JdAOsT2DY-4ohGw@mail.gmail.com> (raw)
In-Reply-To: <834nasoy4d.fsf@gnu.org>
On Thu, Aug 15, 2013 at 3:45 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Glenn Morris <rgm@gnu.org>
>> Date: Wed, 14 Aug 2013 15:34:28 -0400
>> Cc: emacs-devel@gnu.org
>>
>> 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/
next prev parent reply other threads:[~2013-08-14 22:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1V9bet-0004qo-C7@vcs.savannah.gnu.org>
2013-08-14 19:34 ` trunk r113878: Refine previous change Glenn Morris
2013-08-14 19:45 ` Eli Zaretskii
2013-08-14 22:30 ` Xue Fuqiao [this message]
2013-08-15 2:18 ` Glenn Morris
2013-08-16 0:22 ` Xue Fuqiao
2013-08-14 23:30 ` Juanma Barranquero
2013-08-15 2:16 ` Glenn Morris
2013-08-15 12:29 ` Juanma Barranquero
2013-08-15 14:29 ` Stefan Monnier
2013-08-15 15:06 ` Eli Zaretskii
2013-08-15 16:01 ` Glenn Morris
2013-08-15 16:42 ` Stefan Monnier
2013-08-15 17:18 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAF+z6FoTC8a_aczyjJVZBET9D65QDA2uM9JdAOsT2DY-4ohGw@mail.gmail.com \
--to=xfq.free@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).