unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 28070@debbugs.gnu.org
Subject: bug#28070: 24.5; doc string of `eval-buffer'
Date: Mon, 15 Jul 2019 19:39:31 +0200	[thread overview]
Message-ID: <87ef2rb3jg.fsf@mouse.gnus.org> (raw)
In-Reply-To: <d3f4bdee-6749-47e2-adf1-8cd729fafd8e@default> (Drew Adams's message of "Sat, 12 Aug 2017 15:45:25 -0700 (PDT)")

Drew Adams <drew.adams@oracle.com> writes:

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

Looks like this was fixed in 2015:

---

Execute the accessible portion of current buffer as Lisp code.


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2019-07-15 17:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-12 22:45 bug#28070: 24.5; doc string of `eval-buffer' Drew Adams
2019-07-15 17:39 ` Lars Ingebrigtsen [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ef2rb3jg.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=28070@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).