X-Loop: help-debbugs@HIDDEN Subject: bug#51621: 29.0.50; bibtex.el biblatex "2.1.3 Non-standard Types" support Resent-From: Leonard Lausen <leonard@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 05 Nov 2021 23:36:01 +0000 Resent-Message-ID: <handler.51621.B.16361553304780 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 51621 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 51621 <at> debbugs.gnu.org Cc: winkler@HIDDEN X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.16361553304780 (code B ref -1); Fri, 05 Nov 2021 23:36:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Nov 2021 23:35:30 +0000 Received: from localhost ([127.0.0.1]:47635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mj8k6-0001F1-8p for submit <at> debbugs.gnu.org; Fri, 05 Nov 2021 19:35:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:52156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <leonard@HIDDEN>) id 1mj8k4-0001Es-4z for submit <at> debbugs.gnu.org; Fri, 05 Nov 2021 19:35:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <leonard@HIDDEN>) id 1mj8k3-0000yM-VY for bug-gnu-emacs@HIDDEN; Fri, 05 Nov 2021 19:35:27 -0400 Received: from devico.uberspace.de ([185.26.156.185]:47964) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <leonard@HIDDEN>) id 1mj8k1-0006XT-5Q for bug-gnu-emacs@HIDDEN; Fri, 05 Nov 2021 19:35:27 -0400 Received: (qmail 318 invoked from network); 5 Nov 2021 23:35:15 -0000 Received: from localhost (HELO localhost) (127.0.0.1) by devico.uberspace.de with SMTP; 5 Nov 2021 23:35:15 -0000 From: Leonard Lausen <leonard@HIDDEN> Date: Fri, 05 Nov 2021 23:35:11 +0000 Message-ID: <87v91618i8.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.26.156.185; envelope-from=leonard@HIDDEN; 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_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) biblatex types such as @audio, @music, @review from section 2.1.3 of the biblatex documentation are not considered by bibtex.el's biblatex dialect implementation. The standard styles treat these types (with exceptions) like @misc. An example of an exception is @review, which is a more specific variant of the @article type. I think the types are called non-standard, because the standard bibliography styles provide no bibliography drivers for these types, but these types are known to the default data model and will be happily accepted by biber. The impact is that emacs will not recognize entries of those types as valid entries, and prevent referencing them via org-cite or applying operations such as bibtex-clean-entry. To reproduce run `emacs -Q`. Then switch to `bibtex-mode` and set `(bibtex-set-dialect 'biblatex t)`. Finally paste (taken from https://tex.stackexchange.com/a/435059/106845) @audio{Smith2018, author={Stacey Vanek Smith and Stanley Plotkin}, title={The Economics of Vaccines}, howpublished={NPR}, organization={Planet Money} month=6, year=2010, series={Planet Money}, url={https://www.npr.org/templates/transcript/transcript.php?storyId=616926505} } and navigate the cursor into the @audio entry. Then execute `M-x bibtex-clean-entry` and observe "Not inside a BibTex entry" error message. Would it make sense to add support for these types to bibtex.el? In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, cairo version 1.16.0) of 2021-11-05 built on leonard-xps13 Repository revision: 37632dae180e9d5196ef01343fefa9234c5f05b9 Repository branch: feature/pgtk Repository: https://github.com/leezu/emacs Windowing system distributor 'System Description: Gentoo/Linux Configured using: 'configure --with-cairo --with-x-toolkit=no --with-pgtk --with-modules --with-native-compilation --prefix=/home/leonard/local' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XIM GTK3 ZLIB Important settings: value of $LC_COLLATE: C value of $LC_CTYPE: zh_CN.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: BibTeX Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search seq gv byte-opt bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils bibtex iso8601 time-date subr-x help-mode cl-loaddefs cl-lib china-util iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 86191 6454) (symbols 48 7175 0) (strings 32 24675 1427) (string-bytes 1 773743) (vectors 16 15122) (vector-slots 8 363616 15516) (floats 8 24 48) (intervals 56 325 0) (buffers 992 10))
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Leonard Lausen <leonard@HIDDEN> Subject: bug#51621: Acknowledgement (29.0.50; bibtex.el biblatex "2.1.3 Non-standard Types" support) Message-ID: <handler.51621.B.16361553304780.ack <at> debbugs.gnu.org> References: <87v91618i8.fsf@HIDDEN> X-Gnu-PR-Message: ack 51621 X-Gnu-PR-Package: emacs Reply-To: 51621 <at> debbugs.gnu.org Date: Fri, 05 Nov 2021 23:36:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 51621 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 51621: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D51621 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#51621: 29.0.50; bibtex.el biblatex "2.1.3 Non-standard Types" support Resent-From: "Roland Winkler" <winkler@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 07 Nov 2021 03:38:02 +0000 Resent-Message-ID: <handler.51621.B51621.163625623117614 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 51621 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Leonard Lausen <leonard@HIDDEN> Cc: 51621 <at> debbugs.gnu.org Received: via spool by 51621-submit <at> debbugs.gnu.org id=B51621.163625623117614 (code B ref 51621); Sun, 07 Nov 2021 03:38:02 +0000 Received: (at 51621) by debbugs.gnu.org; 7 Nov 2021 03:37:11 +0000 Received: from localhost ([127.0.0.1]:51442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mjYzW-0004a2-Ub for submit <at> debbugs.gnu.org; Sat, 06 Nov 2021 23:37:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <winkler@HIDDEN>) id 1mjYzT-0004Zl-HU for 51621 <at> debbugs.gnu.org; Sat, 06 Nov 2021 23:37:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33874) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <winkler@HIDDEN>) id 1mjYzN-0007xR-BZ; Sat, 06 Nov 2021 23:37:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=/dxv/pAEEpPc7ylQRkp2U9BmWiVkioQCvIzGREHsR7E=; b=Wzz4/efuY0qr1WwuMD+p /xE82ZXXp2xWNSpumxdJ0qOOXy93woIJDym1XB1cSDzIH1Iq48kVNj9IBAnIXweo80Ccgag5V7Vsm 2k0qBvcEH0g6FePKy6Bv5KzsPbsDTAd+IaDue78cUSMir+YbfoODvm2zxeX1Dq8P34CV//SvyBsRt MEszGUUtA9iW5dgsTqWcfrJSuVO8BbHOtZfM0PT8JkSZLDV+NNxFId5d5nGN/nctbm7w6vG7Gat18 bQiDZwP9e/vHl86XZi97O/f6XkPNGozaKznl4PXKUGGKvKnXuIfty541xYtJEqZBN5nsByo0hHAfN 3/vcNX1exkPz/g==; Received: from [2600:1700:5650:f790::42] (port=50034 helo=regnitz) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <winkler@HIDDEN>) id 1mjYzN-00061f-5V; Sat, 06 Nov 2021 23:37:01 -0400 From: "Roland Winkler" <winkler@HIDDEN> References: <87v91618i8.fsf@HIDDEN> Date: Sat, 06 Nov 2021 22:37:00 -0500 In-Reply-To: <87v91618i8.fsf@HIDDEN> (Leonard Lausen's message of "Fri, 05 Nov 2021 23:35:11 +0000") Message-ID: <87v914ab6r.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) On Fri, Nov 05 2021, Leonard Lausen wrote: > Would it make sense to add support for these types to bibtex.el? I myself do not use biblatex. But it seems to me that the sheer number of entry types supported by biblatex gets overwhelming and inefficient for users that may use only a subset of all biblatex entry types. Could it make sense to break down the list of biblatex entry types into two customizable subsets such that commands like bibtex-entry and the menu "Entry-Types" list only the "important" entry types, whereas functions like bibtex-validate accept the complete set of entry types supported by biblatex? Roland
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.