summaryrefslogtreecommitdiff
path: root/bog.el
AgeCommit message (Collapse)Author
2014-11-22bog-citekey-as-search-url: Add argument to dosctringKyle Meyer
2014-11-22bog-citekey-file-name-separators: Reword docstringKyle Meyer
2014-11-22bog-citekey-from-heading: Correct docstringKyle Meyer
2014-11-22bog-selection-method: Complete docstringKyle Meyer
2014-11-22bog-find-citekey-bib-func: Reword docstringKyle Meyer
2014-11-22bog-find-citekey-bib: Expand docstringKyle Meyer
2014-11-22Mark bog-prepare-bib-file as an internal functionKyle Meyer
2014-11-22Give clearer names to helper functionsKyle Meyer
Previously, the names were minor variants of the corresponding interactive function names. Rename to make it clear which functions are internal helper functions.
2014-11-22Add some missing docstringsKyle Meyer
2014-11-22Remove an unhelpful let bindingKyle Meyer
2014-11-12Restructure search functionsKyle Meyer
Use `bog-search-notes' in `bog-search-notes-for-citekey' instead of repeating logic. The STRING argument added to `bog-search-notes' follows `org-search-view'.
2014-11-12bog-search-notes-for-citekey: Use fallback promptKyle Meyer
2014-11-12Shorten commentaryKyle Meyer
2014-11-11Stop quoting lambdasKyle Meyer
2014-11-01Use org-before-first-heading-pKyle Meyer
2014-11-01Remove some useless let bindingsKyle Meyer
2014-11-01Replace some cond instances with caseKyle Meyer
2014-11-01bog-citekey-from-property: Cosmetic changesKyle Meyer
2014-11-01bog-citekeys-in-file: Replace add-to-list with pushKyle Meyer
2014-11-01Rework citekey collectionKyle Meyer
- Split into two functions instead of having no-sort argument. - Use push instead of add-to-list.
2014-11-01Rewrite some functions to avoid find-file-noselectKyle Meyer
Several functions relied on find-file-noselect. I hadn't realized that it's a bad idea to use this non-interactively [1]. [1] http://emacs.stackexchange.com/questions/145/what-are-some-built-in-packages-with-nice-source-code/151#151
2014-10-29Fix bog-citekey-at-point for hyphenated citekeysKyle Meyer
Because bog-citekey-at-point used "(thing-at-point 'word)", it didn't handle hyphenated citekeys properly. Now the function relies on a set of characters that are allowed to precede citekeys.
2014-10-16bog-citekey-from-heading-title: Cover edge caseKyle Meyer
Don't throw error if point is before first heading.
2014-10-16Use org-with-wide-buffer macroKyle Meyer
2014-10-15Restrict keywords to built-in keywordsKyle Meyer
2014-10-15Add command bog-insert-heading-citekeyKyle Meyer
2014-10-15Use cache for bog-all{-heading}-citekeysKyle Meyer
2014-10-15bog-selection-method: Add docstringKyle Meyer
2014-10-15bog-root-directory: Simplify docstringKyle Meyer
2014-10-15bog-rename-staged-file-to-citekey: Fix docstringKyle Meyer
2014-10-15Replace some 'error' instances with 'user-error'Kyle Meyer
2014-06-05Note limitation of goto functionsKyle Meyer
2014-06-05Simplify bog-citekey-pKyle Meyer
2014-06-05Rename bog-citekey-only-p to bog-citekey-pKyle Meyer
Old `bog-citekey-p' was not being used.
2014-06-05Remove bog-citekey-functionKyle Meyer
Before, citekeys could be listed as either heading titles or properties, but these two styles could not be mixed. Now, they can, and the following method is used to find the citekey. 1. Take the citekey from title of the current heading. 2. Take the citekey from the property of the current heading. 3. If no citekey found, go to parent heading and repeat. The process stops as soon as a citekey is found or a top-level heading is reached.
2014-05-28Add URL to commentaryKyle Meyer
2014-05-24Move default notes directory to subdirectoryKyle Meyer
2014-05-07Use marker directly instead of extracting positionKyle Meyer
2014-05-07Add bog-citekey-tree-to-indirect-bufferKyle Meyer
2014-05-07Fix lowercase org in docstring for consistencyKyle Meyer
2014-05-06Widen if needed in goto-heading functionsKyle Meyer
Widen the buffer if the heading is outside the currently narrowed region.
2014-05-01Remove Bog agenda commandKyle Meyer
2014-05-01Add Bog commanderKyle Meyer
2014-05-01Hook up other functions to citekey selectionKyle Meyer
2014-05-01Citekey selection macrosKyle Meyer
2014-05-01Functions for collecting citekeys from notesKyle Meyer
For bigger Org files, these will probably be pretty slow, in which case I can look into caching the results.
2014-05-01Use find-buffer-visiting to check if buffer openKyle Meyer
2014-05-01Correct misplaced save-excursionKyle Meyer
2014-05-01Fix bog-bib-citekeys when bog-bib-file is non-nilKyle Meyer
2014-05-01Fix docstring typoKyle Meyer