Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
Doh, I didn't know you could do that. Also, use assoc-string instead
of assoc.
|
|
|
|
|
|
|
|
|
|
|
|
This will allow commands that use the context functions to work
outside of Org.
|
|
|
|
Join helper functions that used to be positioned near
bog-goto-citekey-heading-in-buffer [1] with
bog-goto-citekey-heading-in-notes helper functions.
[1] 6baf69ba88998595940daab8896724ba430a4d2a
|
|
This command wasn't too useful because, within a buffer, a citekey
heading can easily be jumped to with the standard org-goto interface.
Also, bog-goto-citekey-heading-in-notes will check the current file
first, so it behaves the same as bog-goto-citekey-heading-in-buffer,
except that it prompts with all citekeys instead of just those in the
current buffer. Because a prompt limited to citekeys from the current
buffer can be useful, make this prompt available with a double C-u.
|
|
|
|
|
|
|
|
Sort citekeys after they're collected from marked files so that the
list is sorted alphabetically, order and then alphabetically. (This
fixes behavior that was introduced in 87f4e2ce8.)
|
|
|
|
|
|
|
|
|
|
- Try to only sort citekeys once.
- Make functions that return citekeys sort them by default.
|
|
- Support bib and file citekeys.
- Allow caching for specific citekey categories to be enabled.
- Support clearning cache for a specific citekey category.
|
|
Remove '.bib' from citekeys, which was introduced in 16b60db1.
|
|
Set the default directory so that Org mode is able to read any setup
files that are specified with a relative path.
|
|
|
|
- Add numerical argument to pass to dired-get-marked-files.
- Expand docstring.
- When missing citekey bib, prompt with citekey instead of file name.
|
|
|
|
Use regular expression to specify separators. This allows more
flexibility in customizing citekey file names and is easily fed to
directory-files.
|
|
|
|
|
|
|
|
|
|
When bog-list-duplicate-heading-citekeys doesn't find any duplicate
headings, check for a buffer from a previous call. If one is found,
kill it because its information is now stale.
|
|
|
|
|
|
|
|
|
|
Set the match data according to bibtex-entry-head before calling
bibtex-key-in-head. bibtex-key-in-head relies on bibtex-entry-head
having generated the most recent match data, but I was using it as
though it took care of the matching. By luck, it seems that the most
recent match data tends to be correct right after cleaning the entry.
|
|
|
|
- Use Bog-specific record of last indirect buffer instead of
clobbering org-last-indirect-buffer.
- Add variable that controls whether or not previous buffer from
bog-citekey-tree-to-indirect-buffer is replaced during the next call
(default behavior).
- Show indirect buffer in other window regardless of
org-indirect-buffer-display setting.
|
|
|
|
Use base buffer so that bog--find-citekey-heading-in-notes still tries
to find a heading in the current note file first, regardless of
whether the buffer is an indirect buffer for the note file.
|
|
|
|
Otherwise, setup file will not be loaded, which results in some
citekey headings not being found if custom TODO words are used.
|
|
Otherwise, 'g' will re-populate the buffer using Org agenda files.
|
|
Move current file check from bog-goto-citekey-heading-in-notes to
bog--find-citekey-heading-in-notes so that other functions that use
bog--find-citekey-heading-in-notes (e.g.,
bog-citekey-tree-to-indirect-buffer) have the same behavior.
|