[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] org-bookmark.el
From: |
Bastien |
Subject: |
Re: [Orgmode] org-bookmark.el |
Date: |
Thu, 28 Feb 2008 19:54:25 +0000 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) |
Phil Jackson <address@hidden> writes:
> Bastien <address@hidden> writes:
>
>> 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.
>
> I don't think it needs to go into org.el does it? When org-bookmark gets
> it's turn upon `org-store-link' it should check a variable called, for
> example, `org-bookmark-check-bookmarks-first' and then if that's non-nil
> check major-mode and act accordingly. This will keep `org-store-link'
> nice and clean.
Of course, you're right.
But I doubt whether `org-bookmark-check-bookmarks-first' would be useful
here. People using `org-bookmark.el' are likely to use it in dired-mode
and in buffer visiting files as well. Actually, I would use it just for
that (not really for creating links from the bookmarks list.)
`org-bookmark-store-link' could just check if we are in a dired buffer,
in a buffer visiting a file, or in a bookmark list, and act accordingly.
When in dired or visiting a file, it would try to fetch a bookmark.
If there are more than one, then it will prompt the user for the
bookmark to use.
Tokuya, what do you think?
Do you want to implement this?
--
Bastien
- [Orgmode] org-bookmark.el, Tokuya Kameshima, 2008/02/27
- Re: [Orgmode] org-bookmark.el, Carsten Dominik, 2008/02/27
- Re: [Orgmode] org-bookmark.el, Bastien Guerry, 2008/02/27
- Re: [Orgmode] org-bookmark.el, Tokuya Kameshima, 2008/02/28
- Re: [Orgmode] org-bookmark.el, Bastien, 2008/02/28
- Re: [Orgmode] org-bookmark.el, Phil Jackson, 2008/02/28
- Re: [Orgmode] org-bookmark.el,
Bastien <=
- Re: [Orgmode] org-bookmark.el, Phil Jackson, 2008/02/28
- Re: [Orgmode] org-bookmark.el, Bastien Guerry, 2008/02/28
- Re: [Orgmode] org-bookmark.el, Tokuya Kameshima, 2008/02/29
- Re: [Orgmode] org-bookmark.el, Bastien, 2008/02/29