summaryrefslogtreecommitdiff
path: root/bog.el
AgeCommit message (Collapse)Author
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-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-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-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-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-29Add command bog-jump-to-topic-headingKyle Meyer
2015-01-29bog-goto-citekey-heading-in-notes: Use pop-to-bufferKyle Meyer
2015-01-29Remove unnecessary backquote substitutionKyle Meyer
2015-01-29bog-list-orphan-citekeys: Fix docstring typoKyle Meyer
2015-01-29bog-create-combined-bib: Correct variable nameKyle Meyer
2015-01-29Replace old version of a renamed functionKyle Meyer
These should have been updated with commit ecf7cb67ae95cbd5031ecea6600395453dda3621.
2015-01-29Explicitly require clKyle Meyer
This is already being pulled in by Org.
2015-01-22bog-heading-citekeys-in{-wide}-buffer: Use -non-nilKyle Meyer
2015-01-21Add command bog-list-duplicate-heading-citekeysKyle Meyer
2015-01-21bog-list-orphan-citekeys: Turn on BogKyle Meyer
2015-01-19Escape character in bog-citekey-format docstringKyle Meyer
2015-01-19bog-list-orphan-citekeys: Raise bufferKyle Meyer
2015-01-19bog-create-combined-bib: Use pop-to-bufferKyle Meyer
2015-01-19Use erase-buffer instead of delete-regionKyle Meyer
2015-01-11Decouple Bog search from Org agendaKyle Meyer
Previously, using bog-search-notes and bog-search-notes-for-citekey clobbered the existing agenda buffer. Make these commands output to a Bog-specific buffer and take care to restore org-lprops after executing. Unfortunately, this still relies heavily on Org agenda internals, but I don't see an obvious way around this.
2015-01-11Rewrite bog-all-citekeysKyle Meyer
2015-01-11Reword some docstringsKyle Meyer
2014-12-13Extend goto functions to support citekey propertiesKyle Meyer
bog-goto-citekey-heading-in-buffer gives preference to citekeys as heading titles over citekeys as properties. The order of preference for bog-goto-citekey-heading-in-notes is the citekey as a heading title in the current buffer, the citekey as a property in the current buffer, the citekey as heading title in notes, and, finally, the citekey as property in notes.
2014-12-13Support creating combined bib from multiple filesKyle Meyer
Before, bog-create-combined-bib only collected citekeys from a single buffer. Extend it so that it also works with marked files in Dired. In addition - Rename combined bib buffer so that it includes "Bog" in the name. - Offer to skip missing bib files instead of failing. - Remove bog-collect-references and bog-collect-unique-references, which overlap with the newer bog-citekeys-in-buffer [1] and should have been removed when that function was added. [1] ce74785920d6234072eb2ebef63bd140a25534c2
2014-12-13Prefer 'citekeys' to 'refs' as variable nameKyle Meyer
2014-12-11Add function to get citekeys in bufferKyle Meyer