summaryrefslogtreecommitdiff
path: root/bog.el
AgeCommit message (Collapse)Author
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
2014-12-11bog-heading-citekeys-in-buffer: Fix docstringKyle Meyer
2014-12-11Add command to list orphan citekeysKyle Meyer
2014-12-11bog-heading-citekeys-in-file: Remove unneeded setqKyle Meyer
2014-12-11bog-citekeys-in-file: Don't load Org modeKyle Meyer
2014-12-11Make citekey groups for web search customizableKyle Meyer
2014-12-11Add commands bog-{next,previous}-non-heading-citekeyKyle Meyer
2014-12-11Fix specification of defcustom variablesKyle Meyer
- Fix a few places where the group or type was missing. - Use 'directory' or 'file' instead of 'string' when appropriate.
2014-12-11Clarify bog-citekey-file-name-separators docstringKyle Meyer
2014-12-11Anchor and restrict citekey regular expressionKyle Meyer
Limit the characters that are allowed in the citekey to letters, digits, underscores, and hyphens. This allows the citekey to be treated as a word (temporarily expanding word constituents to include underscore and hyphen), as opposed to explicitly specifying the characters that can come before a citekey.
2014-12-10Modify bog-citekey-format docstringKyle Meyer
2014-12-10Remove leading digits from bog-citekey-formatKyle Meyer
I originally allowed leading digits to account for a case where a consortium's name started with a number. However, looking back at this, I don't think it makes sense to change the default format for such a rare case.
2014-12-10Make all citekey searches case-sensitiveKyle Meyer
While this was implied in the docstring of `bog-citekey-format', it wasn't actually true.
2014-12-09bog-citekey-p: Return string-match-p result directlyKyle Meyer
2014-12-09Replace some when's with and'sKyle Meyer
2014-12-08Avoid ambiguous use of 'notes'Kyle Meyer
In general, 'notes' are used to refer to Org file in `bog-note-directory'. Rename `bog-citekey-from-notes' (and related selection functions), which refer to the context around the point in an Org file, not the collection of note files.
2014-12-08Refer to notes consistentlyKyle Meyer