From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#21099: 24.3; bibtex-clean-entry and date fields in biblatex Date: Fri, 02 Aug 2019 20:10:20 +0200 Message-ID: <87blx7phf7.fsf@mouse.gnus.org> References: <871ry4eit2.fsf@mouse.gnus.org> <8736ik61l6.fsf@gmail.com> <87wofv95h1.fsf@mouse.gnus.org> <87sgqjhey5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="122687"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 21099@debbugs.gnu.org, Brian Zbriger , Roland Winkler To: Gustavo Barros Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 02 20:24:22 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1htcE1-000Vlm-Ly for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Aug 2019 20:24:21 +0200 Original-Received: from localhost ([::1]:36806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htcE0-0005ur-8r for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Aug 2019 14:24:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60125) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htc1J-0002UZ-JS for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2019 14:11:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1htc1G-0007lt-5a for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2019 14:11:13 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48868) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1htc17-0007gT-QO for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2019 14:11:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1htc17-0001Tm-K4 for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2019 14:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Aug 2019 18:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21099 X-GNU-PR-Package: emacs Original-Received: via spool by 21099-submit@debbugs.gnu.org id=B21099.15647694285637 (code B ref 21099); Fri, 02 Aug 2019 18:11:01 +0000 Original-Received: (at 21099) by debbugs.gnu.org; 2 Aug 2019 18:10:28 +0000 Original-Received: from localhost ([127.0.0.1]:57689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htc0Z-0001Sq-Mu for submit@debbugs.gnu.org; Fri, 02 Aug 2019 14:10:28 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:33594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htc0X-0001Sg-Ne for 21099@debbugs.gnu.org; Fri, 02 Aug 2019 14:10:26 -0400 Original-Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1htc0T-0004hQ-Q7; Fri, 02 Aug 2019 20:10:24 +0200 In-Reply-To: <87sgqjhey5.fsf@gmail.com> (Gustavo Barros's message of "Fri, 02 Aug 2019 10:30:58 -0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164375 Archived-At: Gustavo Barros writes: > So, with defaults, from an original entry like: > > @Article{Author2019c, > author = {Author}, > title = {Title}, > journaltitle = {Journal title}, > date = {2019}, > } > > the result of `bibtex-clean-entry` is: > > @Article{Author2019c, > author = {Author}, > title = {Title}, > journaltitle = {Journal title}, > date = 2019, > } Right; this is what the bug report claims makes latexmk and biber stop working, but you say later that this isn't the case? Could there be versions of these programs that choke on brace-less entries? (If it sounds like it's been a long time since I've used bibtex and has forgotten most everything about it, that's correct. :-) I've now Cc'd the bibtex maintainer.) > If we customize `bibtex-entry-format` by just removing > `numerical-fields` from it with: > > (setq bibtex-entry-format > '(opts-or-alts required-fields)) > > We then get from `bibtex-clean-entry`: > > @Article{Author2019c, > author = {Author}, > title = {Title}, > journaltitle = {Journal title}, > date = {2019}, > } > > Besides, to the best of my knowledge, the default of striping braces > of numerical fields is also not problematic for biblatex or biber. > And I see no reason why latexmk would have any special implications on > the case. > I expressed myself poorly here. Of course the docstring is built-in > documentation. What I meant to say is that there appears to be no > info document for bibtex-mode. Yes, the manual just refers to the doc string: --- Bib@TeX{} mode is a major mode for Bib@TeX{} files, which are commonly used for keeping bibliographic references for @LaTeX{} documents. For more information, see the documentation string for the command @code{bibtex-mode}. --- > But I might well be drifting from the OP here. From a strict > perspective, the message is: I cannot (currently) reproduce the > problem, it is likely just a customization issue, and even the default > behavior of bibtex-mode should not make biblatex/biber choke. Right. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no