Package: emacs Version: 26.1 Tags: patch The bibtex.el package will automatically generate a key for a BibTeX entry when required. To do so, it extracts the year from the 'year' field. Instead of the 'year' field, the biblatex dialect uses the 'date' field to record the publication date. The bibtex-generate-autokey function should fallback to the date field when the year field is absent. This requires a bit of care because the 'date' field can contain an arbitrary date satisfying the "ISO8601-2 Extended Format Specification Level 1". Fortunately, a relatively simple regex can extract the year from all of the examples listed in the biblatex manual[0]. Please see attached for a patch adding support for the 'date' field. [0] http://mirrors.ibiblio.org/CTAN/macros/latex/exptl/biblatex/doc/biblatex.pdf -- |)|/ Ryan Kavanagh | GPG: 4E46 9519 ED67 7734 268F |\|\ https://rak.ac | BD95 8F7B F8FC 4A11 C97A