From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xue Fuqiao Newsgroups: gmane.emacs.devel Subject: Re: trunk r113878: Refine previous change. Date: Thu, 15 Aug 2013 06:30:38 +0800 Message-ID: References: <834nasoy4d.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1376519444 2378 80.91.229.3 (14 Aug 2013 22:30:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2013 22:30:44 +0000 (UTC) Cc: emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 15 00:30:49 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V9jab-0002ix-28 for ged-emacs-devel@m.gmane.org; Thu, 15 Aug 2013 00:30:49 +0200 Original-Received: from localhost ([::1]:50385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9jaa-0001c6-Iz for ged-emacs-devel@m.gmane.org; Wed, 14 Aug 2013 18:30:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9jaW-0001bG-54 for emacs-devel@gnu.org; Wed, 14 Aug 2013 18:30:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9jaV-0001SB-3u for emacs-devel@gnu.org; Wed, 14 Aug 2013 18:30:44 -0400 Original-Received: from mail-ie0-x22b.google.com ([2607:f8b0:4001:c03::22b]:61045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9jaR-0001Rb-Dk; Wed, 14 Aug 2013 18:30:39 -0400 Original-Received: by mail-ie0-f171.google.com with SMTP id 10so95226ied.30 for ; Wed, 14 Aug 2013 15:30:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=HwdaFDAWayoNp6XKup2myAwiUPUBzLRgwNESN5P2NJo=; b=wCke6bOmbuo+BEq6QVEqu9qtj5EQRQgT7RTEZk8/UUigxhSuQRnN1SswMBizSafP5c nMRKRUbJ88OmVeuMAuxTcwJ5N7aaAKS7QZS8EEcRuHPjn7oXBPBUZWBFGRFOmQvSIkBZ oLGfWzYVoKtszVVm0ie1j06V9/j6k79N/jQUZ0dNdiuqhYZgPVAxEuyBwFia+aS3Tvxu Ys5xZtm+r3v3WYree4YPS22FFK0f90IJ0hRtfQMNj7rCLqmxST5P7zNJloFJx3gLVsGl NuDBjByzJfqJr1ap2LsG0ot+Fg/U3O7lN76MYWOjRg7Yf89mGh3KYxuS2EuNCvw2Dj15 f9dw== X-Received: by 10.50.11.46 with SMTP id n14mr3640391igb.15.1376519438281; Wed, 14 Aug 2013 15:30:38 -0700 (PDT) Original-Received: by 10.43.43.201 with HTTP; Wed, 14 Aug 2013 15:30:38 -0700 (PDT) In-Reply-To: <834nasoy4d.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162743 Archived-At: On Thu, Aug 15, 2013 at 3:45 AM, Eli Zaretskii wrote: >> From: Glenn Morris >> 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/