From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#56636: 28.1.90; bibtex-beginning-of-entry does not always move point the the actual beginning Date: Tue, 19 Jul 2022 10:46:21 +0800 Message-ID: <878rophlaa.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35295"; mail-complaints-to="usenet@ciao.gmane.io" To: 56636@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 19 04:46:23 2022 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 1oDdFe-0008yi-QI for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Jul 2022 04:46:22 +0200 Original-Received: from localhost ([::1]:49864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDdFd-0007c3-De for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Jul 2022 22:46:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDdFK-0007bg-JD for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 22:46:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54729) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDdFK-0007bu-A2 for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 22:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oDdFK-0005Q8-22 for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 22:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Jul 2022 02:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56636 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.165819872520789 (code B ref -1); Tue, 19 Jul 2022 02:46:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Jul 2022 02:45:25 +0000 Original-Received: from localhost ([127.0.0.1]:52488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDdEi-0005PE-NO for submit@debbugs.gnu.org; Mon, 18 Jul 2022 22:45:24 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:37142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDdEg-0005P5-ER for submit@debbugs.gnu.org; Mon, 18 Jul 2022 22:45:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDdEf-0007YC-Bz for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 22:45:22 -0400 Original-Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]:42673) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDdEd-0007UR-UW for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 22:45:21 -0400 Original-Received: by mail-pl1-x636.google.com with SMTP id 5so10722249plk.9 for ; Mon, 18 Jul 2022 19:45:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=iuyeqZLDNaCD7GfIelyCGT8I9786kGnWB1VjpAwUUqs=; b=ly2rZ52Shj6jIlCkLc8NKBz6gtcrMMGueoobo1dDDaJX/+oSftasibArlqOX+xZ+Oc 5u99qSoEqZqZF6PHe6Wbpwaz6ngHcpmGBShcqCnuW1IVVPfRBjMjdvPXdoFewJKCraBN U3R/CRI89FbtTOVF1TWlSUUzWggrqwuOdpfk3Y6k8OVhdGQXx3dTV77GaRwxezDkEzLK w0BOIfRTZTpYyTe0PgyCrGVGCo9CjI+kZtw3k9yGG66KbdtgSlqMX17wPIlnF2hHqaAf S9kAsEDMhHLfl5kv3xfS17iOe2moc6dxYWZ7Brl1In1fn/pLMcKDKhMbpZG+v8dmqsVR TVGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=iuyeqZLDNaCD7GfIelyCGT8I9786kGnWB1VjpAwUUqs=; b=JruCN8zLg2uzeCKjhy2Fnly9VMF4O1+VlPRzrY/9+Fk2B369EFXGTNhK2yl1dbZlp1 2+7veRwjsQWbDfEOPHO+gTScr0O21iHyaDJh1SA10rxCHewqrHlSbTJwU3WdwEkAJvcJ QUf3ZwDrWOl2DGD1qLB5HykHaDVz2obeUzWwfGHmAnTxMuKYTyIW/mofsUcAGKiK3j3H y+dLXuaaz+36jvVzFSOuVe5uA6k5ZQXYDk/SCOPDi1zJi/0YAYPF9McQtIFboyPyPpAJ iluQMw+/UadtU9dFCJQ0InxNszLpFDtXH9vzsE1KhVQ1w4Sx/n1T0FwNX6Nx07YBxHgP 9d6A== X-Gm-Message-State: AJIora+mgrLxzXCpvWWEb2s75ByTbeN7lnGQjXFz2mwezjtXhd8MF7+P v7e9mrZheDdCdn+u5G1+Mgm5w+LKzxT5Hphf X-Google-Smtp-Source: AGRyM1skwC3lz/ygBqE5DwC1CR6zeFZjVvoeVI/TBJfpUQOQf1go90xJudELDa3TdIXUy61N16fysA== X-Received: by 2002:a17:902:d2d1:b0:16c:223e:a3db with SMTP id n17-20020a170902d2d100b0016c223ea3dbmr31486143plc.37.1658198716682; Mon, 18 Jul 2022 19:45:16 -0700 (PDT) Original-Received: from localhost ([115.154.175.57]) by smtp.gmail.com with ESMTPSA id q13-20020a170902dacd00b0016be681f008sm5595237plx.290.2022.07.18.19.45.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jul 2022 19:45:16 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=yantar92@gmail.com; helo=mail-pl1-x636.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:237399 Archived-At: Hi, Consider the following BibTeX entry: @misc{placeholder, author = {Mamoru Miura }, created = {[2022-07-19 Tue 09:44]}, howpublished = {ML:Org mode}, link = {notmuch:id:9F4AA657-D34B-4B85-A80D-1DD4B3017DB2@gmail.com}, note = {Online; accessed 19 July 2022}, title = {Re: Bug: Appointments duration and effort sums in agenda column view [9.3.7 (release_9.3.7-700-ga1e5be @ ~/.emacs.d/straight/build/org/)]}, typealt = {email}, year = 2022, } Put the point at the "year" field and run M-: (bibtex-beginning-of-entry) Observed: Point moves to the @ ~/.emacs.d line. Expected: Point moves to @misc The problem is not only with the direct call to bibtex-beginning-of-entry, but also shows up in functions that make use of this function. For example, (bibtex-generate-autokey) or (bibtex-autokey-get-title) will treat "title" field as empty in the above scenario. Best, Ihor In GNU Emacs 28.1.90 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.16.0) of 2022-07-17 built on localhost Repository revision: f5218385c064aa959650bfe49ca32795270851eb Repository branch: emacs-28 Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Gentoo Linux