GNU bug report logs -
#31660
26.1.50; EIEIO manual's Quick Start example makes Emacs unusable
Previous Next
Reported by: Gemini Lasswell <gazally <at> runbox.com>
Date: Wed, 30 May 2018 19:02:01 UTC
Severity: minor
Tags: confirmed, fixed
Merged with 32595
Found in version 26.1.50
Fixed in version 26.2
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
The first example in the EIEIO manual defines a class called 'record'.
Evaluating this example changes the function definition of 'record',
which makes many Emacs commands produce errors, including find-file,
ielm, and report-emacs-bug.
To reproduce, with emacs -Q:
M-x info RET
Navigate to the Quick Start node in the EIEIO manual, and select
the (defclass record ...) example.
M-w
M-x ielm RET
(require 'eieio) RET
C-y RET
Result: *** IELM Error *** Error during pretty-printing (bug in pp)
Definitely the name of the class in the examples in the manual should be
changed, so that the examples work.
Maybe it would also be a good idea for defclass to signal an error or
at least give a warning message if it is asked to define a class with
the same name as an existing function unless that function is from a
previous class definition.
This bug report was last modified 6 years and 127 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.