all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Advice on studying Emacs Lisp files
Date: Sat, 24 Jan 2015 12:57:01 +0100	[thread overview]
Message-ID: <87lhksgzn6.fsf@wmi.amu.edu.pl> (raw)
In-Reply-To: <a8c998eb-476e-433e-af48-c0f39c1d15d8@default>


On 2015-01-24, at 00:38, Drew Adams <drew.adams@oracle.com> wrote:

>> > 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?

Two of them are not interactive.

> 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. ;-)

I see.  I'll update my install.

>> 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').

What I meant was that I want the bookmarks to be highlighted as soon as
I visit the file.

> 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.

Yes.  I do not intend to use bookmarks very heavily (i.e., not too many
of them), and I'd like them to be highlighted by default, without any
explicit action.

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

Yes.  However, this seems to be a tautology: I'm *always* in the
"current buffer"!

Also, I want to use bookmarks to, well, mark places I consider bugs, for
instance.  I'd like to *see* them even when just scrolling through the
buffer.

Thanks again!

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



  reply	other threads:[~2015-01-24 11:57 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
2015-01-24 11:57               ` Marcin Borkowski [this message]
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=87lhksgzn6.fsf@wmi.amu.edu.pl \
    --to=mbork@wmi.amu.edu.pl \
    --cc=help-gnu-emacs@gnu.org \
    /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.