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: Sat, 17 Jan 2015 12:32:25 -0800 (PST)	[thread overview]
Message-ID: <3ae6cdef-c0a6-4064-83f5-f14f23fe0ad9@default> (raw)
In-Reply-To: <87lhl1h3gm.fsf@wmi.amu.edu.pl>

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

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.

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.

> 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
`bmkp-light-style-autonamed'.  The latter is for autonamed
bookmarks; the former is for all other kinds of bookmarks.
 
> 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.

Please download the latest files for Bookmark+.  You can follow up
with me off list for any such questions, if you like.



  reply	other threads:[~2015-01-17 20:32 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 [this message]
2015-01-23 23:06           ` Marcin Borkowski
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=3ae6cdef-c0a6-4064-83f5-f14f23fe0ad9@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.