emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [External] : Re: [PATCH] lisp/bookmark.el: make bookmark-fontify nil


From: Drew Adams
Subject: RE: [External] : Re: [PATCH] lisp/bookmark.el: make bookmark-fontify nil by default
Date: Mon, 24 May 2021 22:51:01 +0000

> Ah, yes -- good point.  So a fringe marker seems like 
> the right thing here, I think.
> 
> > But we need to find some replacement for TTY frames then.
> 
> Well, we could just say that this isn't supported on TTYs.  Or...  we
> could use a text property on the single character where the bookmark is
> (normally the first character on a line), but that'd look pretty odd.

Dunno why you don't check what's done in Bookmark+.
It might present some food for thought, at least.

https://www.emacswiki.org/emacs/BookmarkPlus#HighlightingBookmarkLocations

Various kinds of highlighting are used.  Some of them
might be relevant for what you're trying to do.  Each
involves a style and possibly a face.

You've already started to consider fringe and buffer
position.

There are advantages to each kind of highlighting.
Those that use a face can (in principle) let users
tell the kind of bookmark from its face.  (That's
more important for Bookmark+, where you can have
different kinds of bookmark in the same buffer, for
different purposes.)

You might also check out the highlighting that bm.el
uses.

Just a suggestion.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]