Subject: bug#20421: closed (Re: bug#20421: 25.0.50; doc string of `insert-buffer-substring')

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 25 Apr 2015 07:53:02 +0000

Your bug report

#20421: 25.0.50; doc string of `insert-buffer-substring'

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
20421: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20421
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#20421: 25.0.50; doc string of `insert-buffer-substring'
From: Eli Zaretskii <[email-masked]>
To: Drew Adams <[email-masked]>
Cc: [email-masked]
Date: Sat, 25 Apr 2015 10:51:41 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> Date: Fri, 24 Apr 2015 16:19:28 -0700 (PDT)
> From: Drew Adams <[email-masked]>
> 
> Unlike the doc string of `insert', this doc string does not explicitly
> say the following:
> 
>  Point and before-insertion markers move forward to end up
>   after the inserted text.
>  Any other markers at the point of insertion remain before the text.
> 
> It should.

Fixed.

> Here is an example where a reader did not understand some
> code, partly because, it seems, this doc string is not explicit about
> this.
> 
> http://emacs.stackexchange.com/q/10904/105

I think that reader misunderstood something else: the difference
between point and window-point.

Subject: 25.0.50; doc string of `insert-buffer-substring'
From: Drew Adams <[email-masked]>
To: [email-masked]
Date: Fri, 24 Apr 2015 16:19:28 -0700 (PDT)
List-Id: <debbugs-submit.debbugs.gnu.org>

Unlike the doc string of `insert', this doc string does not explicitly
say the following:

 Point and before-insertion markers move forward to end up
  after the inserted text.
 Any other markers at the point of insertion remain before the text.

It should.  Here is an example where a reader did not understand some
code, partly because, it seems, this doc string is not explicit about
this.

http://emacs.stackexchange.com/q/10904/105

In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2014-10-20 on LEG570
Bzr revision: 118168 [email-masked]
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'