emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Tokuya Kameshima <kames@fa2.so-net.ne.jp>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-bookmark.el
Date: Thu, 28 Feb 2008 15:04:53 +0000	[thread overview]
Message-ID: <87fxvdi0kq.fsf@bzg.ath.cx> (raw)
In-Reply-To: <utzjttb5g.wl%kames@fa2.so-net.ne.jp> (Tokuya Kameshima's message of "Thu, 28 Feb 2008 23:20:59 +0900")

Tokuya Kameshima <kames@fa2.so-net.ne.jp> writes:

> Thank you for your comments and suggestions.  I would appreciate if
> you add the code to the distribution.

Done, thanks!

>> On top of this, when `org-bookmark' is in use, storing a link while
>> visiting a file (or while in dired-mode) could first check if the file
>> at point is bookmarked: if it is, then `org-bookmark-store-link' would
>> be used; if it isn't, storing the file would fall back on the current
>> mechanism.  
>
> It sounds nice.  But it is possible for a single file to be bookmarked
> by two or more.  I can not find a good way to select one from multiple
> bookmarks referring to the same file.  Do you have any idea?

Either use an option like:

  (setq org-bookmark-store-link-select-first-bookmark t)

or interactively ask the user for the bookmark to use in the minibuffer? 

In any case, this should be implemented in org.el directly.  When
`org-store-link' checks whether we are in dired-mode or in a buffer
visiting a file, then it would also check whether 'org-bookmark is
provided (with (featurep 'org-bookmark)...) and act accordingly if 
it is.

Mhh... I will have a look at this this WE. 

-- 
Bastien

  reply	other threads:[~2008-02-28 15:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-27 15:39 org-bookmark.el Tokuya Kameshima
2008-02-27 16:06 ` org-bookmark.el Carsten Dominik
2008-02-27 16:21 ` org-bookmark.el Bastien Guerry
2008-02-28 14:20   ` org-bookmark.el Tokuya Kameshima
2008-02-28 15:04     ` Bastien [this message]
2008-02-28 16:02       ` org-bookmark.el Phil Jackson
2008-02-28 19:54         ` org-bookmark.el Bastien
2008-02-28 20:53           ` org-bookmark.el Phil Jackson
2008-02-29  1:14             ` org-bookmark.el Bastien Guerry
2008-02-29 14:25               ` org-bookmark.el Tokuya Kameshima
2008-02-29 18:47                 ` org-bookmark.el Bastien

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fxvdi0kq.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=kames@fa2.so-net.ne.jp \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).