From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Leo Stein Newsgroups: gmane.emacs.devel Subject: [PATCH] BibTeX-mode: add eprint field as potential source for entry's URL Date: Sun, 1 Dec 2024 13:05:33 -0600 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000059cc006283a1f2e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22817"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 01 20:16:59 2024 Return-path: Envelope-to: ged-emacs-devel@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 1tHpRD-0005oX-ME for ged-emacs-devel@m.gmane-mx.org; Sun, 01 Dec 2024 20:16:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHpQb-0004Ek-FH; Sun, 01 Dec 2024 14:16:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tHpGY-0002pr-1L for emacs-devel@gnu.org; Sun, 01 Dec 2024 14:05:58 -0500 Original-Received: from mail-yw1-x1131.google.com ([2607:f8b0:4864:20::1131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tHpGW-000571-FV for emacs-devel@gnu.org; Sun, 01 Dec 2024 14:05:57 -0500 Original-Received: by mail-yw1-x1131.google.com with SMTP id 00721157ae682-6ef524fda21so26218017b3.3 for ; Sun, 01 Dec 2024 11:05:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733079954; x=1733684754; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=0TCNPv4s1D+iZ3w+FCYKN30hu8h9qGDLd8vSkQkywbc=; b=abFpOjry7V/GK01x3VcopvwwXbj7Xgiz2g2/JCPRvXtiUgF7Z3jlr9jVsIIiu9ySuc J2n1CxgHgC8noCeP9ygMOr6OBEPSfq9HC5VhsB3n2bzI5Clebb3Sh+OI186mXec6eMeD gmUE2UGG7xZppjfeSluZe+hnO255wvVmhdSz0KPp8MSFDmLu+ECJbZuhI/iD6jP3l3gx XOg1Y86pFVD+hCpuv+F3XlIgej2YDJdbgTcDNFoL8aBJPn/K/T+5ixzZjEcXv93fJd6R +Jb06AtcP6ICvqDH3+MGxPzWyC66yo76sQj9d7fBItrBI+88KCVhWj+dzlh7u8f7FRoE 9ruw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733079954; x=1733684754; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0TCNPv4s1D+iZ3w+FCYKN30hu8h9qGDLd8vSkQkywbc=; b=WSXkTf1pdMUbH3oh54ojvkdxR3NpVv2Hdl3k1dEwH5QWsQ4P9oCus5vQuASnjPuMR6 fm93eq/pJAVjtKM9K47yYaQXC4Y3SJxgHYl1pyoRBVb8G470OnIfCQpSgPamDjzfkpMo PXTddTD7uzCllNhnM6xxLZJgGnN0G2RPV5uXBPeEIxi74vXESn1DD3uM7LkqzxzgSNUl pBBwRinin8nhcBJ0g4gLtEAEMT6/lwW2hbm+HcNzH9fHfA798JA+BWrhxhsDg6jxPw2K 2LfPV9jdn55nTZEqP8EucBS6wYibB+hrH3HC+M1DBWbYT8Y3/1I11ZYc1uTbP4utpDen v9+A== X-Gm-Message-State: AOJu0Yw+BMJiYAsBPcDgnYpN7rKsYpdNOfvWZGAjCcbkzraBVLiU7BZO FO5LNFe2BiGGehvmOvm3yH57Gm9oBsL2feDsPnj0dbawMMVXFS540GX+ofUUPEAViWHf653ieFK znV5gwfwf9Ny8YO+KR+CWh5N5B/ApAA== X-Gm-Gg: ASbGnctbcQffdWe0NyC4aniT0TjpvBds8x6xflCMG4p1ZDRJQYPYPyfinipVxT9RQjx W8ofNWV0Jao17IQ1kW0Nh+0UEZuqsTgZ06A== X-Google-Smtp-Source: AGHT+IFvdiGXs8Bw5rSKD68gYOGISCAMryd6J4yWFbFPyRfTB4L04umd82i2TffNNO3x/8hRG73tLy8AUB93Uo193/U= X-Received: by 2002:a05:690c:640a:b0:6ef:7fc0:a378 with SMTP id 00721157ae682-6ef7fc0ed15mr37523777b3.9.1733079953923; Sun, 01 Dec 2024 11:05:53 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::1131; envelope-from=leo.stein@gmail.com; helo=mail-yw1-x1131.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 01 Dec 2024 14:16:19 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:325927 Archived-At: --000000000000059cc006283a1f2e Content-Type: multipart/alternative; boundary="000000000000059cbf06283a1f2c" --000000000000059cbf06283a1f2c Content-Type: text/plain; charset="UTF-8" This is a fairly trivial patch: the eprint field (like doi and url fields) is another field with (AFAIK) a universal format that maps to a URL. This makes the contents of the eprint field automatically linked to the arXiv eprint associated to the bibtex entry. Best, Leo --000000000000059cbf06283a1f2c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This is a fairly trivial patch: the eprint field (like doi= and url fields) is another field with (AFAIK) a universal format that maps= to a URL. This makes the contents of the eprint field automatically linked= to the arXiv eprint associated to the bibtex entry.

Bes= t,
Leo
--000000000000059cbf06283a1f2c-- --000000000000059cc006283a1f2e Content-Type: application/octet-stream; name="0001-BibTeX-mode-add-eprint-field-as-potential-source-for.patch" Content-Disposition: attachment; filename="0001-BibTeX-mode-add-eprint-field-as-potential-source-for.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_m45yyzi30 RnJvbSA1NmFlNDFiMTY4Yjc1YjdmYzAzNmE2OGUwODgwMmRlM2IyY2I0Y2IyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiAiTGVvIEMuIFN0ZWluIiA8bGVvLnN0ZWluQGdtYWlsLmNvbT4K RGF0ZTogU3VuLCAxIERlYyAyMDI0IDEyOjQ5OjQ2IC0wNjAwClN1YmplY3Q6IFtQQVRDSF0gQmli VGVYLW1vZGU6IGFkZCBlcHJpbnQgZmllbGQgYXMgcG90ZW50aWFsIHNvdXJjZSBmb3IgZW50cnkn cwogVVJMCgotLS0KIGxpc3AvdGV4dG1vZGVzL2JpYnRleC5lbCB8IDMgKysrCiAxIGZpbGUgY2hh bmdlZCwgMyBpbnNlcnRpb25zKCspCgpkaWZmIC0tZ2l0IGEvbGlzcC90ZXh0bW9kZXMvYmlidGV4 LmVsIGIvbGlzcC90ZXh0bW9kZXMvYmlidGV4LmVsCmluZGV4IDk5YTk3YzliYjhkLi5jNzc5NTM0 ODlhNyAxMDA2NDQKLS0tIGEvbGl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