unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: 56636@debbugs.gnu.org
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	[thread overview]
Message-ID: <878rophlaa.fsf@localhost> (raw)

Hi,

Consider the following BibTeX entry:

@misc{placeholder,
  author =	 {Mamoru Miura <mamo0110@gmail.com>},
  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






             reply	other threads:[~2022-07-19  2:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-19  2:46 Ihor Radchenko [this message]
2022-07-23  7:56 ` bug#56636: 28.1.90; bibtex-beginning-of-entry does not always move point the the actual beginning Lars Ingebrigtsen
2022-07-23  8:05   ` Ihor Radchenko
2022-07-24  2:37     ` Roland Winkler
2022-07-24  9:24       ` Lars Ingebrigtsen
2022-09-25  6:27       ` Ihor Radchenko
2022-11-25  7:43         ` Ihor Radchenko
2022-11-26 12:57           ` Roland Winkler
2022-11-27  0:08             ` Ihor Radchenko
2022-12-30  5:48               ` Roland Winkler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878rophlaa.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=56636@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).