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 00:06:04 +0100 [thread overview]
Message-ID: <87vbjxgkrn.fsf@wmi.amu.edu.pl> (raw)
In-Reply-To: <3ae6cdef-c0a6-4064-83f5-f14f23fe0ad9@default>
On 2015-01-17, at 21:32, Drew Adams <drew.adams@oracle.com> wrote:
>> >> >> I'd like to take notes while I'm studying... I don't want to make my
>> >> >> notes in the files themselves (as comments)...
>> >> >
>> >> > You can bookmark locations, and use annotations for your notes.
>> >> > If you use Bookmark+ then you can use Org mode for the annotations.
>> >>
>> >> ...visible in the buffer they point to.
>> >
>> > If you use Bookmark+ then you can make bookmark locations be
>> > highlighted in various ways. This is optional.
>> > http://www.emacswiki.org/emacs/BookmarkPlus#HighlightingBookmarkLocations
>>
>> Wow, that is impressive. I have one problem though: how to
>> create/edit/view annotations for bookmarks /without/ using the
>> bookmark list? I.e., for the bookmark at point or something?
>
> 1. See standard options `bookmark-use-annotations' and
> `bookmark-automatically-show-annotations'.
Thanks! BTW, the latter one seems to be `t' by default.
> 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.)
> With a prefix arg, `bookmark-edit-annotation' lets you choose any
> bookmark, so you can add an annotation to an unannotated bookmark.
> Otherwise, it lets you choose an annotated bookmark, to edit the
> annotation.
>
> You can also use command `bmkp-annotate-bookmark' to add or edit
> an annotation, instead of using `bookmark-edit-annotation' with a
> prefix arg.
Thanks. I'll have to digest everything here slowly and mold it into my
workflow.
>> Also, how to set (in init.el) the default way for highlighting
>> bookmarks? I'd prefer the "right fringe" style and not the "right
>> fringe + line" one.
>
> Customize option `bmkp-light-style-non-automated' and/or option
^^^^^^^^^ autonamed, of course
> `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?
>> Also, I've set bmkp-crosshairs-flag to t, but cannot see the
>> crosshairs. (I have the necessary libraries installed). This is
>> probably too vague anyway, I'll try to look into this problem myself.
>
> Yes, too vague. Recursively bisect your init file until you find the
> culprit. Ask yourself first whether crosshairs highlighting works
> elsewhere, i.e., whether your problem arises only for indicating
> bookmark destinations or is more general.
I disabled crosshairs altogether, it seems that it doesn't really do any
good to me.
> Please download the latest files for Bookmark+. You can follow up
> with me off list for any such questions, if you like.
As above: I used the git repo.
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,
--
Marcin Borkowski This email was proudly sent
http://mbork.pl from my Emacs.
next prev parent reply other threads:[~2015-01-23 23:06 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 [this message]
2015-01-23 23:38 ` Drew Adams
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=87vbjxgkrn.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.