GNU bug report logs -
#563
`find-func.el': interactive-form of `find-library' fails
Previous Next
Reported by: "Richard Copley" <rcopley <at> gmail.com>
Date: Tue, 15 Jul 2008 14:55:04 UTC
Severity: normal
Fixed in version 23.0.60
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 563 in the body.
You can then email your comments to 563 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#563
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Richard Copley" <rcopley <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
To reproduce,
Visit a library file containing a `require' form, e.g.,
"M-x find-library RET yow RET". Search for a `require' form and
position point on its the opening left parenthesis. Invoke
`find-library' interactively with "M-x find-library RET".
Symptom
Instead of prompting for a library name, Emacs displays the error message
`Scan error: "Unbalanced parentheses", 1222, 1'.
Problem
The error is in the interactive form of `find-library' in `find-func.el'.
If point is over the opening left-paren of the `require' form then
`function-called-at-point' returns `require', whereupon `backward-up-list'
fails because point is not in a list.
Suggestions (for what they're worth :)
(a) Handle this special case in the `find-library' interactive form.
(b) Modify `function-called-at-point' to do what its docstring says.
(c) In the `find-function' interactive form, use `condtition-case'
to detect errors in computing the default.
In GNU Emacs 22.2.1 (i386-mingw-nt6.0.6001)
of 2008-03-26 on RELEASE
Windowing system distributor `Microsoft Corp.', version 6.0.6001
configured using `configure --with-gcc (3.4)'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: ENG
locale-coding-system: cp1252
default-enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
show-paren-mode: t
encoded-kbd-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
bug marked as fixed in version 23.0.60.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Tue, 15 Jul 2008 17:20:04 GMT)
Full text and
rfc822 format available.
Reply sent to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
Full text and
rfc822 format available.
Notification sent to
"Richard Copley" <rcopley <at> gmail.com>
:
bug acknowledged by developer.
Full text and
rfc822 format available.
Message #12 received at 563-done <at> emacsbugs.donarmstrong.com (full text, mbox):
Fix sync'd from trunk to 22, bug closed.
2008-08-13 Martin Rudalics <rudalics <at> gmx.at>
* emacs-lisp/find-func.el (find-library): Wrap search for
library name in condition-case to avoid reporting a scan-error.
(Bug#563) (sync from trunk 2008-01-25)
bug archived.
Request was from
Debbugs Internal Request <don <at> donarmstrong.com>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Sun, 14 Dec 2008 15:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 16 years and 187 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.