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: Wed, 28 Jan 2015 15:53:33 -0800 (PST)	[thread overview]
Message-ID: <bbc09762-3a59-4085-826b-6886dc889b86@default> (raw)
In-Reply-To: <f10c1a74-b6eb-4214-9171-03685cc975d6@default>

> > OK, now I have another (not very important) problem.  With
> > bookmark-automatically-show-annotations set to t, I get a buffer with
> > the annotation when I jump to a bookmark.  However, it is read-only and
> > basically unusable for e.g. editing the annotation.  Is this intended
> > behavior?
> 
> Yes.  If you want to edit an annotation then use
> `bookmark-edit-annotation' instead of `bookmark-show-annotation'.
> But that advice doesn't help for automatic showing of annotations -
> that is always show-only, not edit.
> 
> I suppose it would make sense to provide a key binding for the edit
> command in the show-only buffer, or perhaps let you choose to have
> automatically shown annotations open for editing.
> 
> I'll think about it.  I don't use annotations, myself, and I've done
> little more with that feature than what is in vanilla Emacs.  The
> main thing I did (recently) was to allow for using Org mode (or any
> other) and allow for an annotation to be external (in a separate file).

I've taken care of this now.

If you set option `bookmark-automatically-show-annotations' to `edit'
then an automatically shown annotation opens in edit mode.

And you can switch between edit mode and read-only (show) mode
using `C-x C-q'.

---

Especially if you use annotations heavily, consider using external
annotations.  An external annotation is stored in a separate file,
URL, or bookmark, not in your bookmarks file, i.e., not as part of
the bookmark that it annotates.

Accessing an external annotation (e.g. showing it) visits its
destination.  So for example, you can use bookmarks to one or more
Org files to annotate one or more bookmarks.  The annotation saved
with the bookmark itself just specifies the destination. 

See http://www.emacswiki.org/emacs/BookmarkPlus#BookmarkAnnotations.



      reply	other threads:[~2015-01-28 23:53 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
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 [this message]

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=bbc09762-3a59-4085-826b-6886dc889b86@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.