From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Leonard Lausen Newsgroups: gmane.emacs.bugs Subject: bug#51621: 29.0.50; bibtex.el biblatex "2.1.3 Non-standard Types" support Date: Fri, 05 Nov 2021 23:35:11 +0000 Message-ID: <87v91618i8.fsf@lausen.nl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19842"; mail-complaints-to="usenet@ciao.gmane.io" Cc: winkler@gnu.org To: 51621@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 06 00:36:18 2021 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 1mj8kr-0004vE-V1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Nov 2021 00:36:18 +0100 Original-Received: from localhost ([::1]:50518 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mj8kq-00014y-O8 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Nov 2021 19:36:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mj8kc-00014h-SF for bug-gnu-emacs@gnu.org; Fri, 05 Nov 2021 19:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36089) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mj8kc-0006bk-3S for bug-gnu-emacs@gnu.org; Fri, 05 Nov 2021 19:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mj8kb-0001Fo-Vx for bug-gnu-emacs@gnu.org; Fri, 05 Nov 2021 19:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Leonard Lausen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Nov 2021 23:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51621 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.16361553304780 (code B ref -1); Fri, 05 Nov 2021 23:36:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Nov 2021 23:35:30 +0000 Original-Received: from localhost ([127.0.0.1]:47635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mj8k6-0001F1-8p for submit@debbugs.gnu.org; Fri, 05 Nov 2021 19:35:30 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:52156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mj8k4-0001Es-4z for submit@debbugs.gnu.org; Fri, 05 Nov 2021 19:35:28 -0400 Original-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 ) id 1mj8k3-0000yM-VY for bug-gnu-emacs@gnu.org; Fri, 05 Nov 2021 19:35:27 -0400 Original-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 ) id 1mj8k1-0006XT-5Q for bug-gnu-emacs@gnu.org; Fri, 05 Nov 2021 19:35:27 -0400 Original-Received: (qmail 318 invoked from network); 5 Nov 2021 23:35:15 -0000 Original-Received: from localhost (HELO localhost) (127.0.0.1) by devico.uberspace.de with SMTP; 5 Nov 2021 23:35:15 -0000 Received-SPF: pass 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_PASS=-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:219034 Archived-At: 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))