summaryrefslogtreecommitdiff
path: root/bog-tests.el
AgeCommit message (Collapse)Author
2014-11-23Add bog-tests--with-temp-text macroKyle Meyer
2014-11-23Add missing require to testsKyle Meyer
2014-11-23Put header at top of testsKyle Meyer
2014-11-22Mark bog-prepare-bib-file as an internal functionKyle 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-10-31Test bog-prepare-bib-file in temporary directoryKyle Meyer
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-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-01Citekey selection macrosKyle Meyer
2014-04-26Generalize PDF functions to any file typeKyle Meyer
2014-04-26Check stage directory in renaming testKyle Meyer
2014-03-31Add functions to sort topic headingsKyle Meyer
2014-03-14ENH: Allow customization of PDF file separatorKyle Meyer
2014-02-15BUG: Fix renaming staged PDF when one choiceKyle Meyer
When 4dfcc52 changed remoed the path from choices, this should have been kept as the full path.
2014-02-15MNT: Remove bog-citekey-action heading from testsKyle Meyer
This should have been changed with 9f58e9b.
2014-02-15ENH: Remove bog-citekey-actionKyle Meyer
`bog-citekey-action' generalizes the common setup (citekey selection from notes or from user completion) of the citekey functions, but it doesn't allow much flexibility for functions to handle citekey selection differently. Replacing this with `bog-citekey-from-notes' shares the citekey selection from notes but doesn't couple this to the user selection.
2014-02-12BUG: Fix logic in citekey selectionKyle Meyer
`bog-citekey-action' should not try to select a citekey from the note context when ASK-FUNC returns non-nil.
2014-02-12TST: Remove use of obsolete `flet` in testsKyle Meyer
2014-02-06ENH: Allow citekeys to be propertiesKyle Meyer
Now citekeys can be taken either from properties or from headings. This provides greater compatibility with org-bibtex.el.
2014-02-06Reposition misplaced test headingKyle Meyer
2014-02-05Rename bog-citekey-headingKyle Meyer
New name, `bog-citekey-from-heading-title', provides a clearer indication of what it is doing.
2014-02-03Add function to create combined BibTeX fileKyle Meyer
2014-02-03Add function to rename and clean new BibTeX fileKyle Meyer
2014-02-03Add core citekey functionsKyle Meyer