summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-16Replace commander with prefix mapKyle Meyer
2015-03-16Make context-functions check if in Org modeKyle Meyer
This will allow commands that use the context functions to work outside of Org.
2015-03-16Autoload all commands in bog-mode-mapKyle Meyer
2015-03-06Merge branch 'remove-notes-goto'Kyle Meyer
2015-03-06Move bog-goto-citekey-heading-in-notesKyle Meyer
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
2015-03-06Remove bog-goto-citekey-heading-in-bufferKyle Meyer
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.
2015-03-06Avoid infinite recursion when exit Bog View modeKyle Meyer
2015-03-06Reorganize citekey methodsKyle Meyer
2015-03-06.gitignore: Remove old patternsKyle Meyer
2015-03-04Update copyright yearKyle Meyer
2015-03-04bog-create-combined-bib: Fix citekey sortingKyle Meyer
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.)
2015-02-26Add bog-rename-staged-file-to-citekey to commanderKyle Meyer
2015-02-19Makefile: Fix batch test run for travisKyle Meyer
Commit 9e80dc263 redefined the EMACS variable in the Makefile to include the --batch flag, but this is overridden in .travis.yml, so specify the flags separately.
2015-02-19.travis.yml: Update for c69e42994Kyle Meyer
2015-02-19Add bog-search-notes-for-citekey to commanderKyle Meyer
2015-02-19Split line in citekey selection function docstringsKyle Meyer
2015-02-19Don't sort with directory-files if not user-facingKyle Meyer
2015-02-19Rework citekey sortingKyle Meyer
- Try to only sort citekeys once. - Make functions that return citekeys sort them by default.
2015-02-19Extend citekey cachingKyle Meyer
- Support bib and file citekeys. - Allow caching for specific citekey categories to be enabled. - Support clearning cache for a specific citekey category.
2015-02-19bog-bib-citekeys: Remove extensionKyle Meyer
Remove '.bib' from citekeys, which was introduced in 16b60db1.
2015-02-19Add tests for bog--find-duplicatesKyle Meyer
2015-02-19bog-{,non-}heading-citekeys-in-file: Set default-directoryKyle Meyer
Set the default directory so that Org mode is able to read any setup files that are specified with a relative path.
2015-02-19Makefile: Byte compile before testsKyle Meyer
2015-02-19Use cl-lib instead of dashKyle Meyer
2015-02-19Rewrite bog-create-combined-bibKyle Meyer
- Add numerical argument to pass to dired-get-marked-files. - Expand docstring. - When missing citekey bib, prompt with citekey instead of file name.
2015-02-17Add view mode for BogKyle Meyer
2015-02-17Use regexp for bog-citekey-file-name-separatorsKyle Meyer
Use regular expression to specify separators. This allows more flexibility in customizing citekey file names and is easily fed to directory-files.
2015-02-17Expand NEWS entryKyle Meyer
2015-02-17bog-bib-citekeys: Rewrite with directory-filesKyle Meyer
2015-02-17Rewrite bog-clean-and-rename-staged-bibsKyle Meyer
2015-02-17bog-notes: Rewrite with directory-filesKyle Meyer
2015-02-17Add docstring to bog-read-note-file-nameKyle Meyer
2015-02-17Clean up previous duplicate heading bufferKyle Meyer
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.
2015-02-17Rewrite bog-list-orphan-citekeysKyle Meyer
2015-02-17Simplify citekey sortingKyle Meyer
2015-02-17Clean up some spacesKyle Meyer
2015-02-17Add option to store citekey files in subdirectoriesKyle Meyer
2015-02-17prepare-bib-file: Fix use of bibtex-key-in-headKyle Meyer
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.
2015-02-17Fix warnings during byte compilationKyle Meyer
2015-02-17Expand MakefileKyle Meyer
2015-02-15Decouple Org and Bog tree-to-indirect commandsKyle Meyer
- 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.
2015-02-15Use variable to store citekey syntax tableKyle Meyer
2015-02-09bog--find-citekey-heading-in-notes: Use base bufferKyle Meyer
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.
2015-02-09bog-citekey-tree-to-indirect-buffer: Widen bufferKyle Meyer
2015-02-09Activate Org mode after inserting file contentsKyle Meyer
Otherwise, setup file will not be loaded, which results in some citekey headings not being found if custom TODO words are used.
2015-02-09Override second org-agenda-redo key in Bog searchKyle Meyer
Otherwise, 'g' will re-populate the buffer using Org agenda files.
2015-01-31Search current file first for citekey headingKyle Meyer
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.
2015-01-31Add bog-open-{first-}citekey-link to commanderKyle Meyer
2015-01-30Add command bog-open-citekey-linkKyle Meyer
This allows any link under a citekey heading to be opened, not just the first.
2015-01-30README: Update function listKyle Meyer