all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Marcin Borkowski <mbork@wmi.amu.edu.pl>,
	Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: RE: Advice on studying Emacs Lisp files
Date: Fri, 23 Jan 2015 15:38:32 -0800 (PST)	[thread overview]
Message-ID: <a8c998eb-476e-433e-af48-c0f39c1d15d8@default> (raw)
In-Reply-To: <87vbjxgkrn.fsf@wmi.amu.edu.pl>

> > 1. See standard options `bookmark-use-annotations' and
> >    `bookmark-automatically-show-annotations'.
> 
> Thanks!  BTW, the latter one seems to be `t' by default.

That is the vanilla Emacs default.  I generally leave such things
alone.  All of the vanilla options (i.e., `bookmark-*') are left
alone.  Bookmark+ option names have the prefix `bmkp-'.

> > 2. In Bookmark+, standard functions `bookmark-edit-annotation',
> > `bookmark-show-annotation', and `bookmark-show-all-annotations' are
> > also commands.  The first two prompt you for the name of an annotated
> > bookmark (with completion) and then show you the annotation.
> 
> This does not seem to be the case for the latter two functions.  (I have
> bookmark+ from the Git repo mentioned on the EW page.)

What does not seem to be the case - they are not commands or they
do not prompt you as I said?

Anyway, both claims should hold.  I suspect that you do not have
the latest source files.  The latest files are always on Emacs Wiki.
I cannot speak to when or how successfully mirroring happens. ;-)
 
> > option `bmkp-light-style-non-automated' and/or option
>                                ^^^^^^^^^ autonamed, of course

Yes, that's what I meant.

> > `bmkp-light-style-autonamed'.  The latter is for autonamed
> > bookmarks; the former is for all other kinds of bookmarks.
> 
> Is it a good idea to run bmkp-light-bookmarks in a hook or something,
> so that the bookmarks ale always visible, or can it e.g. degrade
> performance?

There are options for highlighting all bookmarks or particular
kinds of bookmarks automatically when you jump to or set a bookmark:
`bmkp-auto-light-when-jump' and `bmkp-auto-light-when-set'.  You
generally do not need to fiddle with hooks (in particular, hooks
`bookmark-after-jump-hook' and `bmkp-after-set-hook').

Option `bmkp-light-threshold' controls the number of bookmark
highlights.

I doubt that performance will be affected in any noticeable way.
It is more a question of what you find helpful vs what you find
annoying.  Different strokes for different folks.

IMO, highlighting is most helpful for bookmarks in the current
buffer, in particular for autonamed bookmarks or when cycling
among bookmarks in the buffer.

> As for the other suggestion: I decided to write here anyway, someone
> might be interested in this, too.  Also, once I figure out a workflow
> for my use case, I intend to describe it on my site.  Thanks a lot

You're welcome.



  reply	other threads:[~2015-01-23 23:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-14 21:57 Advice on studying Emacs Lisp files Marcin Borkowski
2015-01-14 21:59 ` Drew Adams
2015-01-14 22:22   ` Marcin Borkowski
2015-01-14 23:30     ` Drew Adams
2015-01-17 14:44       ` Marcin Borkowski
2015-01-17 20:32         ` Drew Adams
2015-01-23 23:06           ` Marcin Borkowski
2015-01-23 23:38             ` Drew Adams [this message]
2015-01-24 11:57               ` Marcin Borkowski
2015-01-24 15:40                 ` Drew Adams
2015-01-26 22:59                   ` Marcin Borkowski
2015-01-27  0:39                     ` Drew Adams
2015-01-26 23:04               ` Marcin Borkowski
2015-01-27  0:39                 ` Drew Adams
2015-01-28 23:53                   ` 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=a8c998eb-476e-433e-af48-c0f39c1d15d8@default \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mbork@wmi.amu.edu.pl \
    /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.