GNU bug report logs - #28070
24.5; doc string of `eval-buffer'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sat, 12 Aug 2017 22:47:02 UTC

Severity: wishlist

Found in version 24.5

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: 28070 <at> debbugs.gnu.org
Subject: bug#28070: 24.5; doc string of `eval-buffer'
Date: Sat, 12 Aug 2017 15:45:25 -0700 (PDT)
The doc string should, like Elisp manual node `Eval', mention that this
does NOT always "Execute the current buffer as Lisp code."  It acts on the current buffer restriction, if any.

As the manual says:

  `eval-buffer' operates on the entire accessible portion of buffer
                                       ^^^^^^^^^^^^^^^^^^

That qualification changes everything.  We don't always need to point
out explicitly that a particular function acts on the accessible portion
of the buffer, but it is important to do so in this case.

In GNU Emacs 24.5.1 (i686-pc-mingw32)
 of 2015-04-11 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=3D/c/usr --host=3Di686-pc-mingw32'




This bug report was last modified 6 years and 7 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.