all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Stefan Kangas <stefan@marxist.se>, 20845@debbugs.gnu.org
Subject: bug#20845: 25.0.50; bookmark.el, handling of fictitious `buffer' property
Date: Fri, 5 Jul 2019 14:33:03 -0700 (PDT)	[thread overview]
Message-ID: <c9777eb7-dbe0-438a-9bd0-dbf73ead8584@default> (raw)
In-Reply-To: <jwvy31cgqci.fsf-monnier+emacs@gnu.org>

> > I agree, provided the doc of `bookmark-default-handler'
> > makes clear (1) that the value is assumed to be a
> > buffer, not a buffer name,
> 
> The current code accepts both and that seems quite reasonable to me
> (even though I dislike this same fact in many other places).

Yes, right.

> > and (2) that this is not a "normal" bookmark property, that is, one
> > whose value can be saved.
> 
> There's no readable printed representation of a buffer object, so that
> goes without saying.

I don't think it goes without saying, here.
I don't know why we wouldn't want to mention this.

I know of no other possibility of a bookmark that
does not have a print/read representation, and so
can't be persisted.  Persisting bookmarks is a
pretty fundamental part of Emacs bookmarking.

(Even the temporary bookmarks you can create with
Bookmark+ have a print/read representation, so
you can save them if you want.)

Of course, just because I don't know of other
such unsavable bookmarks doesn't mean they aren't
created by some library somewhere.






  reply	other threads:[~2019-07-05 21:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18 15:26 bug#20845: 25.0.50; bookmark.el, handling of fictitious `buffer' property Drew Adams
2019-07-05 12:45 ` Stefan Kangas
2019-07-05 13:46   ` Stefan Monnier
2019-07-05 14:04     ` Stefan Kangas
2019-07-05 17:16       ` Drew Adams
2019-07-05 20:39         ` Noam Postavsky
2019-07-05 21:35           ` Drew Adams
2019-07-05 20:51         ` Stefan Monnier
2019-07-05 21:33           ` Drew Adams [this message]
2022-02-03 21:16     ` Lars Ingebrigtsen
2022-02-03 22:03       ` bug#20845: [External] : " Drew Adams

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

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

  git send-email \
    --in-reply-to=c9777eb7-dbe0-438a-9bd0-dbf73ead8584@default \
    --to=drew.adams@oracle.com \
    --cc=20845@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=stefan@marxist.se \
    /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 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.