unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Trey Peacock <gpg@treypeacock.com>, Boruch Baum <boruch_baum@gmx.com>
Cc: 49341@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	[thread overview]
Message-ID: <83y2aohqth.fsf@gnu.org> (raw)
In-Reply-To: <87lf6omnkh.fsf@treypeacock.com> (message from Trey Peacock on Fri, 02 Jul 2021 21:08:06 +0000)

> Date: Fri, 02 Jul 2021 21:08:06 +0000
> From: Trey Peacock <gpg@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.





  reply	other threads:[~2021-07-03  6:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-02 21:08 bug#49341: 28.0.50; bookmark--unfontify with nil filename throws wrong-type error Trey Peacock
2021-07-03  6:08 ` Eli Zaretskii [this message]
2021-07-03  7:23   ` Trey Peacock
2021-07-04 13:56     ` Lars Ingebrigtsen
2021-07-04 16:31       ` Trey Peacock
2021-07-05 13:10         ` Lars Ingebrigtsen
2021-07-05 16:35           ` Trey Peacock
2021-07-05 19:47             ` Lars Ingebrigtsen
2021-07-04 17:12   ` Boruch Baum
2021-07-04 18:35     ` Basil L. Contovounesios

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83y2aohqth.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=49341@debbugs.gnu.org \
    --cc=boruch_baum@gmx.com \
    --cc=gpg@treypeacock.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).