all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#22023: 25.0.50; doc string of `eval-buffer'
@ 2015-11-27  0:12 Drew Adams
  2015-11-27 10:09 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2015-11-27  0:12 UTC (permalink / raw)
  To: 22023

The doc string suggests that the entire buffer is always evaluated,
which is wrong.

The Elisp manual, node `Eval' is better.  It says that it operates on
the entire _accessible portion_ of the buffer.  That's a big difference.

This function is commonly used by users, as a command.  They should
realize that they can easily limit its scope by narrowing the buffer.

Even the treatment in the manual could be improved by making clear what
is meant by the "accessible" portion of the buffer.  When the Emacs
manual refers to the "accessible portion" it follows that phrase with
this: (*note Narrowing::).  That makes everything clear.

In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2015-11-12
Bzr revision: 6e5186e8a7ccfb9b8fb35b5f4f0371e4f4a68162
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/snapshot/trunk
 --enable-checking=yes,glyphs --enable-check-lisp-object-type
 --without-compress-install --with-wide-int 'CFLAGS=-O0 -ggdb3'
 LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
 -Ic:/Devel/emacs/include''





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#22023: 25.0.50; doc string of `eval-buffer'
  2015-11-27  0:12 bug#22023: 25.0.50; doc string of `eval-buffer' Drew Adams
@ 2015-11-27 10:09 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2015-11-27 10:09 UTC (permalink / raw)
  To: Drew Adams; +Cc: 22023-done

> Date: Thu, 26 Nov 2015 16:12:49 -0800 (PST)
> From: Drew Adams <drew.adams@oracle.com>
> 
> The doc string suggests that the entire buffer is always evaluated,
> which is wrong.
> 
> The Elisp manual, node `Eval' is better.  It says that it operates on
> the entire _accessible portion_ of the buffer.  That's a big difference.
> 
> This function is commonly used by users, as a command.  They should
> realize that they can easily limit its scope by narrowing the buffer.
> 
> Even the treatment in the manual could be improved by making clear what
> is meant by the "accessible" portion of the buffer.  When the Emacs
> manual refers to the "accessible portion" it follows that phrase with
> this: (*note Narrowing::).  That makes everything clear.

Thanks, fixed.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-27 10:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-27  0:12 bug#22023: 25.0.50; doc string of `eval-buffer' Drew Adams
2015-11-27 10:09 ` Eli Zaretskii

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.