summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-10Fix case typos in example bibKyle Meyer
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
2014-12-07Use '/' after directory namesKyle Meyer
2014-12-07Cancel TODOKyle Meyer
2014-12-07Update commander for upstream changesKyle Meyer
See Projectile commit 2fd7ec96465aea135ff9017ce7f2001f870f7765.
2014-12-07Add notes exampleKyle Meyer
2014-12-07Remove invisible/autosave files from notes listKyle Meyer
2014-12-07bog-notes-files: Correct docstringKyle Meyer
2014-12-07Follow Emacs convention for spacing after periodsKyle Meyer
2014-11-27Add MELPA badgeKyle Meyer
2014-11-27Set up Travis CIKyle Meyer
Thanks to Renan Ranelli for setting up the tests to run from the command line (PR #4) and for providing the .travis.yml file.
2014-11-27Remove mode variable from READMEKyle Meyer
After rename from 'README' to 'README.org' [1], this is no longer useful [1] 060e5d1997b32f646a95419924dd41fd7bf6d9b7
2014-11-24Merge pull request #3 from rranelli/masterKyle Meyer
Rename README to README.org
2014-11-24Don't believe org-up-heading-safe (yet)Kyle Meyer
In Org mode 8.2.10 (built-in version with Emacs 24.4), this function will still throw an error if it is before the first heading. This was fixed in Org mode commit 9ba9f916e87297d863c197cb87199adbb39da894.
2014-11-24Merge pull request #4 from rranelli/tests-with-makefileKyle Meyer
Before merging, Makefile code specific for maven-test-mode was removed.
2014-11-24Add Makefile and test targetrenan-ranelli
2014-11-24Rename README to README.orgrenan-ranelli
2014-11-23Rename bog-todo.org to bog-todoKyle Meyer
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-23Prefer current buffer when finding citekey headingKyle Meyer
Several functions use `org-find-exact-heading-in-directory' to find the location of a citekey heading. However, when called with a citekey at point, it is likely that the citekey is in the current file (assuming files are arranged by general topics), so first check the current buffer and, only if it isn't found there, search all Org files in `bog-notes-directory'.
2014-11-23Update copyright dateKyle Meyer
2014-11-23Add command to open first citekey heading linkKyle Meyer
2014-11-23Expand some NEWS itemsKyle Meyer
2014-11-23Fix inconsistent citekey highlightingKyle Meyer
With the previous approach, some citekeys weren't highlighted until text near them was changed. I'm still not certain why this is, but using `org-font-lock-hook' seems to fix it.