From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 8275@debbugs.gnu.org, "Robert J. Chassell" <bob@gnu.org>,
Jason Earl <jearl@notengoamigos.org>
Subject: bug#8275: 24.0.50; Intro to Emacs Lisp Issue
Date: Sat, 19 Mar 2011 23:34:47 -0400 [thread overview]
Message-ID: <jwvvcze31ut.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87zkoqwz4w.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 19 Mar 2011 17:58:55 -0400")
> Do you want to fix this, or shall I try? The problem is that
> append-to-buffer now uses let* and with-current-buffer, so this might
> break the flow of the text. At this point in the book, let* and
> with-current-buffer are not yet introduced.
Here are some thoughts:
- I don't think it's of any importance that the example code be
identical to the currently used code.
- append-to-buffer might not be the best example since AFAICT copying
text from one buffer to another is not a common operation and in most
cases this is done via buffer-substring + insert (often with some
processing on the string between the two) rather than with
insert-buffer-substring which is a rarely used function.
- yes, I think the text would benefit from some rethink to try and present
with-current-buffer in preference to set-buffer, but it's not
a simple fix.
Stefan
next prev parent reply other threads:[~2011-03-20 3:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-17 17:35 bug#8275: 24.0.50; Intro to Emacs Lisp Issue Jason Earl
2011-03-19 21:58 ` Chong Yidong
2011-03-20 1:06 ` Robert J. Chassell
2011-03-20 3:34 ` Stefan Monnier [this message]
2011-03-20 21:20 ` Andreas Röhler
2021-10-21 19:42 ` Stefan Kangas
2021-12-12 6:50 ` bug#8275: [PATCH] " Y. E. via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-12 8:14 ` Eli Zaretskii
2021-12-14 12:52 ` Y. E. via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-16 4:38 ` Richard Stallman
2021-12-18 14:27 ` 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=jwvvcze31ut.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=8275@debbugs.gnu.org \
--cc=bob@gnu.org \
--cc=cyd@stupidchicken.com \
--cc=jearl@notengoamigos.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.