unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Gustavo Barros <gusbrs.2016@gmail.com>, Roland Winkler <winkler@gnu.org>
Cc: 64972@debbugs.gnu.org
Subject: bug#64972: bibtex-autokey-get-year does not recognize biblatex date ranges
Date: Sat, 05 Aug 2023 12:27:19 +0300	[thread overview]
Message-ID: <837cq9u9e0.fsf@gnu.org> (raw)
In-Reply-To: <CAM9ALR_jAtd+vM6Gvb6Qw0NBBJaF52hPbgXFUqMNSfKrwkmyXg@mail.gmail.com> (message from Gustavo Barros on Mon, 31 Jul 2023 09:53:41 -0300)

> From: Gustavo Barros <gusbrs.2016@gmail.com>
> Date: Mon, 31 Jul 2023 09:53:41 -0300
> 
> Hi All,
> 
> I think this counts more as a feature request than a bug report.  But,
> currently, `bibtex.el's `bibtex-autokey-get-year' cannot handle
> `biblatex' date ranges, and it would be nice if it did.
> 
> For example, calling `M-: (bibtex-autokey-get-year)' with point inside
> the entry:
> 
>     @Article{,
>       author       = {Author, J.},
>       title        = {Title},
>       journaltitle = {Journal},
>       date         = {2020-10/2020-12},
>     }
> 
> Results in user-error "Year or date field ‘2020-10/2020-12’ invalid".
> 
> The "date" field, however, is valid `biblatex' syntax for a date
> range, according to the section "2.3.8 Date and Time Specifications"
> of `biblatex's manual.

Roland, any comments?

Thanks.





  reply	other threads:[~2023-08-05  9:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-31 12:53 bug#64972: bibtex-autokey-get-year does not recognize biblatex date ranges Gustavo Barros
2023-08-05  9:27 ` Eli Zaretskii [this message]
2023-08-06 16:09   ` Roland Winkler
2023-08-23  0:09   ` Roland Winkler
2023-08-23 11:30     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=837cq9u9e0.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=64972@debbugs.gnu.org \
    --cc=gusbrs.2016@gmail.com \
    --cc=winkler@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).