all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#4229: 23.1; wrong-type arg: char or string-p, nil
@ 2009-08-21 22:38 Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2009-08-21 22:38 UTC (permalink / raw)
  To: bug-gnu-emacs

emacs -Q
M-x set-variable debug-on-error t
M-x load-file /......./bookmark.el
C-x r l
 
raises error:
 
Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)
  insert(nil)
  (prog1 (insert (bookmark-location bookmark)) (if (and ... ...)
(add-text-properties start ... ...)))
  (let ((start ...)) (prog1 (insert ...) (if ... ...)))
  bookmark-insert-location("*Messages* buffer list" t)
  (let ((bmrk ...)) (setq bookmark-bmenu-hidden-bookmarks (cons bmrk
bookmark-bmenu-hidden-bookmarks)) (let (...) (move-to-column
bookmark-bmenu-file-column t) (if ... ...)) (delete-region (point) (progn ...
...)) (insert "  ") (bookmark-insert-location bmrk t) (forward-line 1))
  (while (< (point) (point-max)) (let (...) (setq
bookmark-bmenu-hidden-bookmarks ...) (let ... ... ...) (delete-region ... ...)
(insert "  ") (bookmark-insert-location bmrk t) (forward-line 1)))
  (let ((inhibit-read-only t)) (while (< ... ...) (let ... ... ... ... ... ...
...)))
  (save-window-excursion (goto-char (point-min)) (forward-line 2) (setq
bookmark-bmenu-hidden-bookmarks nil) (let (...) (while ... ...)))
  (save-excursion (save-window-excursion (goto-char ...) (forward-line 2) (setq
bookmark-bmenu-hidden-bookmarks nil) (let ... ...)))
  (if (and (not force) bookmark-bmenu-toggle-filenames) nil (save-excursion
(save-window-excursion ... ... ... ...)))
  bookmark-bmenu-show-filenames()
  (cond (show (setq bookmark-bmenu-toggle-filenames nil)
(bookmark-bmenu-show-filenames) (setq bookmark-bmenu-toggle-filenames t))
(bookmark-bmenu-toggle-filenames (bookmark-bmenu-hide-filenames) (setq
bookmark-bmenu-toggle-filenames nil)) (t (bookmark-bmenu-show-filenames) (setq
bookmark-bmenu-toggle-filenames t)))
  bookmark-bmenu-toggle-filenames(t)
  (if bookmark-bmenu-toggle-filenames (bookmark-bmenu-toggle-filenames t))
  bookmark-bmenu-list()
  call-interactively(bookmark-bmenu-list nil nil)
 
 
 
In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-29 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'








^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#4229: 23.1; wrong-type arg: char or string-p, nil
@ 2009-09-12  1:36 Chong Yidong
  2009-09-12  6:09 ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Chong Yidong @ 2009-09-12  1:36 UTC (permalink / raw)
  To: Drew Adams; +Cc: 4229

> emacs -Q
> M-x set-variable debug-on-error t
> M-x load-file /......./bookmark.el
> C-x r l

> raises error:

> Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)
>   insert(nil)
>   (prog1 (insert (bookmark-location bookmark)) (if (and ... ...)

I'm afraid I can't reproduce this.  Maybe you need a particular bookmark
file.  Could you try to make a stand-alone recipe?





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#4229: 23.1; wrong-type arg: char or string-p, nil
  2009-09-12  1:36 bug#4229: 23.1; wrong-type arg: char or string-p, nil Chong Yidong
@ 2009-09-12  6:09 ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2009-09-12  6:09 UTC (permalink / raw)
  To: 'Chong Yidong'; +Cc: 4229

> > emacs -Q
> > M-x set-variable debug-on-error t
> > M-x load-file /......./bookmark.el
> > C-x r l
> 
> > raises error:
> 
> > Debugger entered--Lisp error: (wrong-type-argument 
> char-or-string-p nil)
> >   insert(nil)
> >   (prog1 (insert (bookmark-location bookmark)) (if (and ... ...)
> 
> I'm afraid I can't reproduce this.  Maybe you need a 
> particular bookmark
> file.  Could you try to make a stand-alone recipe?

Please merge this with bug #4250, which expresses the problem more generally. 

It is a filename entry with nil cdr that causes the error here. Emacs should
simply ignore such a bookmark; it shouldn't cough up a wrong-type-arg error.






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-09-12  6:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-12  1:36 bug#4229: 23.1; wrong-type arg: char or string-p, nil Chong Yidong
2009-09-12  6:09 ` Drew Adams
  -- strict thread matches above, loose matches on Subject: below --
2009-08-21 22:38 Drew Adams

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.