GNU bug report logs - #49341
28.0.50; bookmark--unfontify with nil filename throws wrong-type error

Previous Next

Package: emacs;

Reported by: Trey Peacock <gpg <at> treypeacock.com>

Date: Fri, 2 Jul 2021 21:09:02 UTC

Severity: normal

Tags: moreinfo

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Trey Peacock <gpg <at> treypeacock.com>, Boruch Baum <boruch_baum <at> gmx.com>
Cc: 49341 <at> debbugs.gnu.org
Subject: bug#49341: 28.0.50; bookmark--unfontify with nil filename throws wrong-type error
Date: Sat, 03 Jul 2021 09:08:58 +0300
> Date: Fri, 02 Jul 2021 21:08:06 +0000
> From: Trey Peacock <gpg <at> treypeacock.com>
> 
> I am unable to use `bookmark-delete` with bookmarks that do not return
> alist values for 'filename or 'position when called with
> `bookmark-get-bookmark`.

Can you show a recipe for reproducing the problem, please?

> I believe it is due to the May 4th commit
> ab6cb65cb2b6d11a7b690dfcea8d98611290fad9 where bookmark--unfontify
> was introduced. The unfontify function is unable to handle nil
> values for these fields and results in calling `(overlay-at pos)`
> which shows a wrong-type error.

Boruch, could you please take a look?

Thanks.




This bug report was last modified 4 years and 34 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.