diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-07-25 21:01:00 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-07-25 21:01:00 -0400 |
commit | fc71c376546ed01060200de91d007f2a179bc601 (patch) | |
tree | 5ec5878d7a6eec8e516614bd11795920c398e662 | |
parent | 32ab80807923682b6cdaa897b0ee02c1defa86c5 (diff) | |
download | bog-fc71c376546ed01060200de91d007f2a179bc601.tar.gz |
bog-file-secondary-name: Use period instead of hyphen
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).
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | bog.el | 12 |
2 files changed, 14 insertions, 3 deletions
@@ -8,6 +8,11 @@ Bog NEWS -- history of user-visible changes -*- mode: org; -*- make it easier to use Bog commands on citekeys that use Pandoc's @citekey format. +** Other changes + +- The default value for ~bog-file-secondary-name~ has been changed + from "-supplement" to ".supplement". + * v1.2.0 ** New features @@ -187,13 +187,19 @@ arguments and return the name of the final file. Currently the only built-in function is `bog-file-ask-on-conflict'." :type 'function) -(defcustom bog-file-secondary-name "-supplement" +(defcustom bog-file-secondary-name ".supplement" "Modification to make to file name on renaming confict. + If <citekey>.<ext> already exists, `bog-file-ask-on-conflict' prompts for another name. <citekey>`bog-file-secondary-name'.<ext> is the default value for -the prompt." - :type 'string) +the prompt. + +For `bog-list-orphan-files' to work correctly, the first +character should be a non-word character according to +`bog-citekey-syntax-table'." + :type 'string + :package-version '(bog . "1.3.0")) (defcustom bog-web-search-url "http://scholar.google.com/scholar?q=%s" |