From: Eli Zaretskii <eliz@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: xfq.free@gmail.com, emacs-devel@gnu.org
Subject: Re: trunk r113878: Refine previous change.
Date: Wed, 14 Aug 2013 22:45:06 +0300 [thread overview]
Message-ID: <834nasoy4d.fsf@gnu.org> (raw)
In-Reply-To: <puli44hxrv.fsf@fencepost.gnu.org>
> 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.
next prev parent reply other threads:[~2013-08-14 19:45 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 [this message]
2013-08-14 22:30 ` Xue Fuqiao
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=834nasoy4d.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rgm@gnu.org \
--cc=xfq.free@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.