--- Begin Message ---
Subject: |
23.0.60; (bookmark-jump-noselect "jkjklj") gives bad error message |
Date: |
Fri, 17 Oct 2008 23:45:17 -0700 |
emacs -Q
M-x load-library bookmark
M-: (bookmark-jump-noselect "jjkljklj")
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
file-exists-p(nil)
bookmark-file-or-variation-thereof(nil)
bookmark-default-handler(nil)
byte-code...
The error occurs because the string argument is not a known
bookmark. The error message should say something like that.
When (bookmark-get-bookmark bookmark) returns nil, the handler should
not be applied. Instead, a reasonable message should be displayed.
In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
of 2008-10-03 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'
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: ENU
value of $XMODIFIERS: nil
locale-coding-system: cp1252
default-enable-multibyte-characters: t
Major mode: Debugger
Minor modes in effect:
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<help-echo> M-x b o C-g C-g M-: ( b o o k m a r k -
j u m p - n o s e l e c t SPC " j k j k l j " ) <return>
q M-x l 0 o a d <backspace> <backspace> <backspace>
<backspace> o a d - l i b <return> b o o k m a r k
<return> C-x <escape> <escape> M-p <return> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<menu-bar> <help-menu> <send-emacs-bug-report>
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Quit [2 times]
Entering debugger...
Back to top level.
Loading bookmark...done
Entering debugger...
--- End Message ---