summaryrefslogtreecommitdiff
path: root/bog.el
AgeCommit message (Collapse)Author
2018-01-12Minor optimisationsBasil L. Contovounesios
2018-01-12Touch-up regexpsBasil L. Contovounesios
Fix quoting; remove redundancies; and prefer bos and eos to bol and eol anchors, respectively, for filenames.
2016-11-09Bump versionv1.3.0Kyle Meyer
2016-10-24Add bog-clean-bib-hookKyle Meyer
2016-07-25bog-file-secondary-name: Use period instead of hyphenKyle Meyer
A hyphen is considered a word character according to bog-citekey-syntax-table, which makes bog-list-orphan-files falsely recognize secondary files as orphans. This has been an issue since 0e685a3 (Specify syntax table around all citekey regexp uses, 2016-05-23).
2016-06-14bog-select-citekey: Add citekey history listKyle Meyer
2016-06-14bog-select-citekey: Require matchKyle Meyer
2016-06-13bog-file-ask-on-conflict: Remove bogus read-string argumentKyle Meyer
2016-05-23Add bog-citekey-format-allow-at optionKyle Meyer
2016-05-23bog-citekey-format: Clarify allowed boundariesKyle Meyer
2016-05-23Add quote to docstring variableKyle Meyer
2016-05-23bog-citekey-syntax-table: Inherit text-mode-syntax-tableKyle Meyer
Org mode makes its syntax table modifications in the body of the define-derived-mode call. As a result, if bog-citekey-syntax-table inherits org-mode-syntax-table, bog-citekey-syntax-table will be different depending on whether the function org-mode has been called (which in most cases corresponds to whether an Org buffer has been visited). To avoid this, use text-mode-syntax-table directly, mirroring Org's modifications.
2016-05-23Use bog-fontify-non-heading-citekeys in non-Org buffersKyle Meyer
2016-05-23Specify syntax table around all citekey regexp usesKyle Meyer
2016-05-17Bump versionv1.2.0Kyle Meyer
2016-05-17Don't pass keymap to define-minor-modeKyle Meyer
2016-03-07Replace org-iread-file-name with read-file-nameKyle Meyer
The development version of Org (what will be 9.0) has marked org-iread-file-name as obsolete.
2016-03-06bog-citekey-tree-to-indirect-buffer: Use base-bufferKyle Meyer
org-tree-to-indirect-buffer fails if it is called from the indirect buffer create by the previous org-tree-to-indirect-buffer call. Using the base-buffer to find the citekey heading avoids this error. Even if the error is fixed on Org's side, this change has the advantage of preventing the name from appending the indirect buffer name rather than the original note buffer's names.
2016-03-06bog-citekey-tree-to-indirect-buffer: CosmeticsKyle Meyer
2016-03-06Add command to list orphan bibsKyle Meyer
2016-03-06Make cl-set-difference compatibility functionKyle Meyer
2016-03-04bog-clear-citekey-cache: Add all option to promptKyle Meyer
2016-03-04bog-clear-citekey-cache: Abort if cache is emptyKyle Meyer
2016-01-24Replace org-icompleting-read with completing-readKyle Meyer
The development version of Org (what will be 9.0) has marked org-icompleting-read as obsolete.
2016-01-24Add bog-dired-jump-to-citekey-file commandKyle Meyer
2016-01-24bog-combined-bib-ignore-not-found: Add package-versionKyle Meyer
2016-01-24Remove unneeded define-minor-mode keywordsKyle Meyer
2016-01-24Rely on implicit group for defcustom'sKyle Meyer
2016-01-24Explicitly bind nil-value for case-fold-searchKyle Meyer
2016-01-24Move a few functionsKyle Meyer
2016-01-23bog--with-citekey-cache: Use uninterned symbolKyle Meyer
2016-01-22Don't assume font-lock-ensure is definedKyle Meyer
Fixes #5. Also, * Use font-lock-flush instead of font-lock-ensure, which wasn't removing Bog-related highlighting when turning off bog-mode. * Check that font-lock-mode is enabled before calling font-lock function.
2016-01-20bog-list-orphan-citekeys: Fix sorting in Emacs 25Kyle Meyer
2016-01-20bog-clear-citekey-cache: Fix indentationKyle Meyer
2016-01-20bog-clear-citekey-cache: CosmeticsKyle Meyer
2016-01-17Bump versionv1.1.0Kyle Meyer
2016-01-06Update copyright yearsKyle Meyer
2015-12-30Add command to find files with no heading citekeyKyle Meyer
2015-12-30Add command to rename existing citekey fileKyle Meyer
2015-12-13bog-list-orphan-citekeys: Remove unused variableKyle Meyer
2015-09-18bog--prepare-bib-file: Set dialectKyle Meyer
Otherwise, if this has not already been done globally (e.g., by visiting a .bib file), bibtex-entry-head is not set and bibtex-valid-entry fails with a type error.
2015-09-05goto-citekey-heading: Prefer current indirect bufferKyle Meyer
When in an indirect buffer for a file in bog-notes, jump to the heading in the indirect buffer instead of the base buffer.
2015-09-05bog-goto-citekey-heading-in-notes: CosmeticsKyle Meyer
2015-09-05bog-{previous,next}-non-heading-citekey: CosmeticsKyle Meyer
2015-09-04Fix Emacs 25 compilation warningsKyle Meyer
2015-09-04bog-create-combined-bib: Add option to avoid promptKyle Meyer
2015-09-04bog-create-combined-bib: Correct docstringKyle Meyer
2015-08-13bog-file-ask-on-conflict: Use base name in promptKyle Meyer
2015-08-13search: Ignore restriction locksKyle Meyer
2015-08-13bog-citekey-p: Use string, not line, boundsKyle Meyer