GNU logs - #48447, boring messages


Message sent to winkler@HIDDEN, bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#48447: 27.2.50; Font-lock error in temporary bibtex-mode buffer
Resent-From: "Basil L. Contovounesios" <contovob@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: winkler@HIDDEN, bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 15 May 2021 17:12:01 +0000
Resent-Message-ID: <handler.48447.B.162109870823223 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 48447
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 48447 <at> debbugs.gnu.org
Cc: "Roland Winkler" <winkler@HIDDEN>
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
X-Debbugs-Original-Xcc: "Roland Winkler" <winkler@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.162109870823223
          (code B ref -1); Sat, 15 May 2021 17:12:01 +0000
Received: (at submit) by debbugs.gnu.org; 15 May 2021 17:11:48 +0000
Received: from localhost ([127.0.0.1]:49143 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lhxpL-00062V-N0
	for submit <at> debbugs.gnu.org; Sat, 15 May 2021 13:11:48 -0400
Received: from lists.gnu.org ([209.51.188.17]:35346)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contovob@HIDDEN>) id 1lhxpK-00062N-1k
 for submit <at> debbugs.gnu.org; Sat, 15 May 2021 13:11:46 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43038)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <contovob@HIDDEN>) id 1lhxpJ-0007VM-BY
 for bug-gnu-emacs@HIDDEN; Sat, 15 May 2021 13:11:45 -0400
Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:34393)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <contovob@HIDDEN>) id 1lhxpC-0006hc-22
 for bug-gnu-emacs@HIDDEN; Sat, 15 May 2021 13:11:44 -0400
Received: by mail-wr1-x431.google.com with SMTP id r12so2187760wrp.1
 for <bug-gnu-emacs@HIDDEN>; Sat, 15 May 2021 10:11:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21;
 h=from:to:subject:date:message-id:mime-version;
 bh=8Or650k1KWNu5VWroN9ahEnggifaFQg2obhX3qhiOVk=;
 b=BGJB7hbSRJvAzv0dCfEcE6WOTBN572L+vUGNCu4bmCY3M+mCTec7tYo0ZgybQhdUoL
 FzYU722VVFxSeZJxn00qiStB72Gy2+unz9vUWrM9IxAgdNYYFvfRLwQcgtl8ggGjV0D5
 AL7qTk2wf8X2xbV7ehLun8npJSO8txRRfxzBi+xDIAKfeiemsn9sf2+tZxJwlRwOdaUr
 YP6iyfhbnI7ftukrwjWs6wlfLd9Xodbb/57SovlcfGlLEsTOialABsyGQb96CMDAsG1p
 wkgdhhFArxF7gfj7a4ppsuldeV8s1HPf1+RMGNJCpSM3/7i2u8NO19qpsspixXfpFINx
 yR3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=8Or650k1KWNu5VWroN9ahEnggifaFQg2obhX3qhiOVk=;
 b=VHFUyCNga6tfjvfjcpe2hN5koXXR/HToCmYfnAuuJJWihald69zVQ6WPeCmK4ezrmE
 erC5oWpgx3mr9nOGAzV0NJtsSSMhNU4vfWf3b6vDlXWsz1L30sH1SEWMDq0fbo/UD8/8
 qFj+chBstajLjhC6wkGzbpOpu9Nh7CjudVf0CpPAGUTtivWiBYV8ChyC5hRytsBhsgtZ
 b+Z4DouciGYdA6lmUMerdtf2md19mxpJfuzjzS3lPs9X1fpV4DF9wESVh9ibsXAv/Wi4
 /2EuVPaLNylEsoIq9akuwcWhTZ7M+jV7coH4wg9785cpQmVfBCefRFYz5eM8fAxgmtnQ
 0HWA==
X-Gm-Message-State: AOAM532bt7HgAUQ3kF6p2q10Tz5vazujqNqZ0qRTaeaj7RcE+qImM9eG
 OTUEEp5N/jyj791i2ZHrGbEjfg10XE9XQg==
X-Google-Smtp-Source: ABdhPJzdt6KuAmZRwMiuWx4n3l2+9rn9aMTyu705dN9mfe4vW3i6GMYpESQDwDYVDWFG8oSeitRYpA==
X-Received: by 2002:adf:f108:: with SMTP id r8mr8170867wro.290.1621098693854; 
 Sat, 15 May 2021 10:11:33 -0700 (PDT)
Received: from localhost ([2a02:8084:20e2:c380:d15:339e:aa10:60f1])
 by smtp.gmail.com with ESMTPSA id a21sm14855243wmj.34.2021.05.15.10.11.32
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 15 May 2021 10:11:33 -0700 (PDT)
From: "Basil L. Contovounesios" <contovob@HIDDEN>
Date: Sat, 15 May 2021 18:11:31 +0100
Message-ID: <87mtsv3osc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2a00:1450:4864:20::431;
 envelope-from=contovob@HIDDEN; helo=mail-wr1-x431.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,
 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-Spam-Score: -1.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: -2.3 (--)

Severity: minor

0. emacs -Q
1. C-h e
2. Insert:

(with-temp-buffer
  (insert "\
@article{key
  author={Author},
  title={Title},
  journal={Journal},
  year=2021
}\n")
  (goto-char (point-min))
  (bibtex-mode)
  (bibtex-set-dialect nil 'local)
  (bibtex-skip-to-valid-entry))

3. C-x C-e

This puts the following in *Messages*:

  Error during redisplay: (internal--syntax-propertize 25) signaled
  (error "Font-lock trying to use keywords before setting them up")

I can't reproduce this in Emacs versions 24.5.1, 25.3.1, or 26.3.

I can reproduce it on master with and without the call to
bibtex-set-dialect (in older versions omitting bibtex-set-dialect leads
to an error because bibtex-entry-head is nil instead of a string).

None of the commits touching bibtex.el between emacs-26..emacs-27 strike
me as obvious causes, so perhaps it follows a change in the font-lock
machinery?

Is this use of bibtex-skip-to-valid-entry wrong?  If so, why, and what
should be used instead?  Either way, is that error expected?

Thanks,

-- 
Basil

In GNU Emacs 27.2.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars)
 of 2021-05-09 built on tia
Repository revision: 4c3abb3dd105e075bf1cf55e3fe8b5ec2ac8e6cc
Repository branch: wt/emacs-27
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux bullseye/sid

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
Error during redisplay: (internal--syntax-propertize 25) signaled (error "Font-lock trying to use keywords before setting them up")
(1 . 85)
Configured using:
 'configure 'CC=ccache gcc' 'CFLAGS=-O0 -g3 -ggdb -gdwarf-4'
 --config-cache --prefix=/home/blc/.local --program-suffix=-27
 --enable-checking=yes,glyphs --enable-check-lisp-object-type
 --with-x-toolkit=lucid --with-file-notification=yes --with-x
 --with-cairo'

Configured features:
XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB
NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT
LIBOTF ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS
LIBSYSTEMD JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LANG: en_IE.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-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
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config
gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq
byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib
sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils bibtex
easymenu tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu 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 charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 51935 9915)
 (symbols 48 6377 1)
 (strings 32 18852 1763)
 (string-bytes 1 575619)
 (vectors 16 9831)
 (vector-slots 8 131141 11094)
 (floats 8 26 46)
 (intervals 56 236 0)
 (buffers 1000 11))




Message sent:


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: "Basil L. Contovounesios" <contovob@HIDDEN>
Subject: bug#48447: Acknowledgement (27.2.50; Font-lock error in temporary
 bibtex-mode buffer)
Message-ID: <handler.48447.B.162109870823223.ack <at> debbugs.gnu.org>
References: <87mtsv3osc.fsf@HIDDEN>
X-Gnu-PR-Message: ack 48447
X-Gnu-PR-Package: emacs
Reply-To: 48447 <at> debbugs.gnu.org
Date: Sat, 15 May 2021 17:12: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.

As you requested using X-Debbugs-CC, your message was also forwarded to
  "Roland Winkler" <winkler@HIDDEN>
(after having been given a bug report number, if it did not have one).

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 48447 <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
48447: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48447
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#48447: 27.2.50; Font-lock error in temporary bibtex-mode buffer
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: Tue, 18 May 2021 15:57:01 +0000
Resent-Message-ID: <handler.48447.B48447.162135339822280 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 48447
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: "Basil L. Contovounesios" <contovob@HIDDEN>
Cc: 48447 <at> debbugs.gnu.org
Received: via spool by 48447-submit <at> debbugs.gnu.org id=B48447.162135339822280
          (code B ref 48447); Tue, 18 May 2021 15:57:01 +0000
Received: (at 48447) by debbugs.gnu.org; 18 May 2021 15:56:38 +0000
Received: from localhost ([127.0.0.1]:57012 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lj25F-0005nI-UT
	for submit <at> debbugs.gnu.org; Tue, 18 May 2021 11:56:38 -0400
Received: from eggs.gnu.org ([209.51.188.92]:50326)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <winkler@HIDDEN>) id 1lj25E-0005n2-Vt
 for 48447 <at> debbugs.gnu.org; Tue, 18 May 2021 11:56:37 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:41276)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <winkler@HIDDEN>)
 id 1lj259-00066b-AX; Tue, 18 May 2021 11:56:31 -0400
Received: from [2600:1700:5650:f790::49] (port=57342 helo=regnitz)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <winkler@HIDDEN>)
 id 1lj258-0004TA-Ln; Tue, 18 May 2021 11:56:30 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <58285.54607.999029.24739@HIDDEN>
Date: Tue, 18 May 2021 10:56:29 -0500
From: "Roland Winkler" <winkler@HIDDEN>
In-Reply-To: <87mtsv3osc.fsf@HIDDEN>
References: <87mtsv3osc.fsf@HIDDEN>
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 Sat May 15 2021 Basil L. Contovounesios wrote:
> Severity: minor
[snip] 
> I can't reproduce this in Emacs versions 24.5.1, 25.3.1, or 26.3.

Thanks, I'll take a look into this.  It may be that the code is
getting a little rusty.





Last modified: Tue, 18 May 2021 16:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.