summaryrefslogtreecommitdiff
path: root/bog-tests.el
AgeCommit message (Collapse)Author
2015-02-17Add option to store citekey files in subdirectoriesKyle 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-11Add function to get citekeys in bufferKyle Meyer
2014-12-11Make citekey groups for web search customizableKyle Meyer
2014-12-11Add commands bog-{next,previous}-non-heading-citekeyKyle 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-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-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