all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carlos <carlos@welltower.org>
To: 13856@debbugs.gnu.org
Subject: bug#13856: Emacs Lisp Intro v 24.2.1 - Mismatch between sample code and explanation
Date: Sat, 2 Mar 2013 01:00:33 -0500	[thread overview]
Message-ID: <CAC2O6UzDx6J-imM6g6w8nFj=uNeZmfn_4_b9z6Yhr6OLb5Lc8A@mail.gmail.com> (raw)

Greetings,

This bug is for emacs lisp intro manual version 24.2.1. In section
8.4, "Digression into C", the following statement appears:

   * The first part is the name given to the function in Lisp,
     `delete-and-extract-region'.

The code sample that this refers to actually shows the text
'buffer-substring-no-properties'. There is a similar flaw with the
subsequent bullet-point, which states:

   * The second part is the name of the function in C,
     `Fdelete_and_extract_region'.  By convention, it starts with `F'.
     Since C does not use hyphens in names, underscores are used
     instead.

I recently enjoyed reading through the "Emacs Lisp Intro" and this was
the only glaring error I noticed.

-- Carlos





             reply	other threads:[~2013-03-02  6:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-02  6:00 Carlos [this message]
2013-03-03  2:35 ` bug#13856: Emacs Lisp Intro v 24.2.1 - Mismatch between sample code and explanation Glenn Morris

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='CAC2O6UzDx6J-imM6g6w8nFj=uNeZmfn_4_b9z6Yhr6OLb5Lc8A@mail.gmail.com' \
    --to=carlos@welltower.org \
    --cc=13856@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.