all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 22023@debbugs.gnu.org
Subject: bug#22023: 25.0.50; doc string of `eval-buffer'
Date: Thu, 26 Nov 2015 16:12:49 -0800 (PST)	[thread overview]
Message-ID: <b6f8a15e-a7cf-4933-8fb5-c50e9d42e57d@default> (raw)

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''





             reply	other threads:[~2015-11-27  0:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-27  0:12 Drew Adams [this message]
2015-11-27 10:09 ` bug#22023: 25.0.50; doc string of `eval-buffer' Eli Zaretskii

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=b6f8a15e-a7cf-4933-8fb5-c50e9d42e57d@default \
    --to=drew.adams@oracle.com \
    --cc=22023@debbugs.gnu.org \
    /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.