From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: leonard@lausen.nl Newsgroups: gmane.emacs.bugs Subject: bug#44976: 28.0.50; bibtex.el does not consider biblatex field name aliases Date: Tue, 01 Dec 2020 00:53:21 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19665"; mail-complaints-to="usenet@ciao.gmane.io" To: 44976@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 01 01:54:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjtvm-00051Z-Lj for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Dec 2020 01:54:10 +0100 Original-Received: from localhost ([::1]:40166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjtvl-00046Y-OJ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Nov 2020 19:54:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjtve-00046P-QN for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 19:54:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45630) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjtve-0000fk-JQ for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 19:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjtve-0006NS-HN for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 19:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: leonard@lausen.nl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Dec 2020 00:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44976 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160678401824471 (code B ref -1); Tue, 01 Dec 2020 00:54:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Dec 2020 00:53:38 +0000 Original-Received: from localhost ([127.0.0.1]:57176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjtvG-0006Md-8E for submit@debbugs.gnu.org; Mon, 30 Nov 2020 19:53:38 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:39562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjtvE-0006MV-KG for submit@debbugs.gnu.org; Mon, 30 Nov 2020 19:53:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjtvE-00043p-CD for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 19:53:36 -0500 Original-Received: from devico.uberspace.de ([185.26.156.185]:37650) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjtvB-0000bv-Tz for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 19:53:36 -0500 Original-Received: (qmail 13748 invoked from network); 1 Dec 2020 00:53:22 -0000 Original-Received: from localhost (HELO localhost) (127.0.0.1) by devico.uberspace.de with SMTP; 1 Dec 2020 00:53:22 -0000 X-Mailer: RainLoop/1.14.0 Received-SPF: none client-ip=185.26.156.185; envelope-from=leonard@lausen.nl; helo=devico.uberspace.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:194693 Archived-At: bibtex.el does not consider biblatex aliases correctly. The biblatex pack= age=0Adocumentation specifies in Section 2.2.5 beginning on page 32 a ser= ies of=0AField Aliases.=0A=0AThese include for example the alias "journal= " for "journaltitle" which helps=0Abiblatex to preserve backwards compati= bility with bibtex. This causes bibtex.el=0Ato throw error messages of th= e style "Mandatory field `%s' is missing" despite=0Athe alias field being= present.=0A=0ATo reproduce run `emacs -Q`. Then switch to `bibtex-mode` = and set=0A`(bibtex-set-dialect 'biblatex t)`. Finally paste=0A=0A @artic= le{doe2020lorem,=0A author =3D {John Doe},=0A title =3D {Lorem Ipsu= m},=0A date =3D {2020},=0A journal =3D {Communications of the ACM}= =0A }=0A=0Aand navigate the cursor into the @article entry. Then execute= `M-x=0Abibtex-clean-entry` and observe "Mandatory field =E2=80=98journal= title=E2=80=99 is missing"=0Aerror message.=0A=0AIn GNU Emacs 28.0.50 (bu= ild 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0)= =0A of 2020-11-30 built locally=0ARepository revision: 21104e6808a4496afb= 8163d92c6fb4d59e3010b7=0ARepository branch: feature/native-comp=0AWindowi= ng system distributor 'The X.Org Foundation', version 11.0.12008000=0ASys= tem Description: Ubuntu 20.04.1 LTS=0A=0AConfigured using:=0A 'configure = --with-cairo --with-modules --with-nativecomp'=0A=0AConfigured features:= =0AXPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY= =0AINOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOT= F=0AZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES NATIVE_COMP THREAD= S=0ALIBSYSTEMD PDUMPER LCMS2=0A=0AImportant settings:=0A value of $LANG:= en_US.UTF-8=0A value of $XMODIFIERS: @im=3Dibus=0A locale-coding-syste= m: utf-8-unix=0A=0AMajor mode: BibTeX=0A=0AMinor modes in effect:=0A too= ltip-mode: t=0A global-eldoc-mode: t=0A electric-indent-mode: t=0A mou= se-wheel-mode: t=0A tool-bar-mode: t=0A menu-bar-mode: t=0A file-name-= shadow-mode: t=0A global-font-lock-mode: t=0A font-lock-mode: t=0A bli= nk-cursor-mode: t=0A auto-composition-mode: t=0A auto-encryption-mode: = t=0A auto-compression-mode: t=0A line-number-mode: t=0A transient-mark= -mode: t=0A=0ALoad-path shadows:=0ANone found.=0A=0AFeatures:=0A(shadow s= ort mail-extr emacsbug message rmc puny dired dired-loaddefs=0Arfc822 mml= mml-sec epa derived epg epg-config gnus-util rmail=0Armail-loaddefs auth= -source eieio eieio-core eieio-loaddefs=0Apassword-cache json map text-pr= operty-search mm-decode mm-bodies=0Amm-encode mail-parse rfc2231 mailabbr= ev gmm-utils mailheader sendmail=0Acomp comp-cstr warnings rx cl-seq cl-m= acs cl-extra seq byte-opt gv=0Abytecomp byte-compile cconv rfc2047 rfc204= 5 ietf-drums mm-util=0Amail-prsvr mail-utils help-fns radix-tree cl-print= debug backtrace=0Ahelp-mode find-func bibtex easymenu time-date subr-x c= l-loaddefs cl-lib=0Atooltip eldoc electric uniquify ediff-hook vc-hooks l= isp-float-type=0Amwheel term/x-win x-win term/common-win x-dnd tool-bar d= nd fontset image=0Aregexp-opt fringe tabulated-list replace newcomment te= xt-mode elisp-mode=0Alisp-mode prog-mode register page tab-bar menu-bar r= fn-eshadow isearch=0Atimer select scroll-bar mouse jit-lock font-lock syn= tax facemenu=0Afont-core term/tty-colors frame minibuffer cl-generic cham= georgian=0Autf-8-lang misc-lang vietnamese tibetan thai tai-viet lao kor= ean=0Ajapanese eucjp-ms cp51932 hebrew greek romanian slovak czech europe= an=0Aethiopic indian cyrillic chinese composite charscript charprop=0Acas= e-table epa-hook jka-cmpr-hook help simple abbrev obarray=0Acl-preloaded = nadvice button loaddefs faces cus-face pcase macroexp files=0Awindow text= -properties overlay sha1 md5 base64 format env code-pages=0Amule custom w= idget hashtable-print-readable backquote threads dbusbind=0Ainotify lcms2= dynamic-setting system-font-setting font-render-setting=0Acairo move-too= lbar gtk x-toolkit x multi-tty make-network-process=0Anativecomp emacs)= =0A=0AMemory information:=0A((conses 16 123914 7697)=0A (symbols 48 8538 = 1)=0A (strings 32 27224 3373)=0A (string-bytes 1 883468)=0A (vectors 16 1= 6711)=0A (vector-slots 8 323004 11886)=0A (floats 8 29 34)=0A (intervals = 56 11155 0)=0A (buffers 984 14))