GNU bug report logs -
#15069
Introduction to Elisp 14.3: Function 'count-words-defun' does not work as described.
Previous Next
Reported by: Sian Mountbatten <poenikatu <at> fastmail.co.uk>
Date: Sun, 11 Aug 2013 11:34:01 UTC
Severity: minor
Tags: easy
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #22 received at 15069 <at> debbugs.gnu.org (full text, mbox):
pillule <pillule <at> riseup.net> writes:
>> So why did you think it speaks about the text in the Info buffer?
>> That's not the intent of the text, and the text says as much.
[...]
> (info "(eintr) Buffer Names")
> « If you are reading this in Info inside of GNU Emacs, you can
> evaluate
> each of the following expressions by positioning the cursor after it
> and
> typing ‘C-x C-e’.»
>
> Finally the section :
>
> (info "(eintr) count-words-in-defun")
> « Now we can try out ‘count-words-defun’: install both
> ‘count-words-in-defun’ and ‘count-words-defun’, and set the
> keybinding,
> and then place the cursor within the following definition:»
> ^_____________________________^
>
> So I can understand one may be confused to discover that in this case,
> he or she must instead copy the following definition in a separate
> file,
> then call the command `count-words-in-defun' within it.
I agree -- I read the section now, and `C-x C-e'-d the definitions as
expected (in the *info* buffer), and then I naturally tried the `C-c ='
command in the *info* buffer too -- which failed.
So I've installed a clarification along the lines suggested by pillule
in Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 268 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.