From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#37957: BibTeX dialect not set if local variables disabled Date: Mon, 28 Oct 2019 16:33:04 +0000 Message-ID: References: <87ftjcaojz.fsf@gnus.org> <87ftjc96yj.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000050124e0595fb0f26" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="94809"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37957@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 28 18:14:30 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iP8b6-000OWS-0K for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Oct 2019 18:14:28 +0100 Original-Received: from localhost ([::1]:33310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iP8b3-0007yd-QH for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Oct 2019 13:14:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40673) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iP7y1-0001BF-Or for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 12:34:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iP7xz-0006XJ-Je for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 12:34:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37451) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iP7xy-0006WU-1o for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 12:34:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iP7xx-0005zF-RJ for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 12:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2019 16:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37957 X-GNU-PR-Package: emacs Original-Received: via spool by 37957-submit@debbugs.gnu.org id=B37957.157228041722971 (code B ref 37957); Mon, 28 Oct 2019 16:34:01 +0000 Original-Received: (at 37957) by debbugs.gnu.org; 28 Oct 2019 16:33:37 +0000 Original-Received: from localhost ([127.0.0.1]:46272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iP7xZ-0005yR-6T for submit@debbugs.gnu.org; Mon, 28 Oct 2019 12:33:37 -0400 Original-Received: from mail-oi1-f179.google.com ([209.85.167.179]:40688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iP7xX-0005yA-Mb for 37957@debbugs.gnu.org; Mon, 28 Oct 2019 12:33:36 -0400 Original-Received: by mail-oi1-f179.google.com with SMTP id r27so230109oij.7 for <37957@debbugs.gnu.org>; Mon, 28 Oct 2019 09:33:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XOoUJPVDlftmbIIyl6/7brKw5223p17W67gFZ4dBIoU=; b=hhnfdEnol/WrUCnageqXZiPyhOiK5zmBKXPxUwErpmS0DrdBaNjFHDJ2Le2RBLMLqT lHmNVtBuiw/XNgRM0gpXDHk0hiSXva9+NMtPooBjkqnqb4dLlmSCjij5sWIStD6/oDHb 3wSi2wB6vJHNkNhYJQ+yClPzIgr9LqjmdUuMUaPDnJBgqMNF6xg0u5jrtjLuPVW4FjWh IVlcfBFlsR07d0LMJE1NKxkXWoE+FxWB7uIvDdpgxtTYaA7dde1zzurffK4uz4+XPyb0 gZgmtCW/rdq/Zi8Ikl2/kI1SG6e1hMWKbG5ZuxoTMbpHhu+8Rk6jVJiUFIiaUfANOJHY kl/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XOoUJPVDlftmbIIyl6/7brKw5223p17W67gFZ4dBIoU=; b=fInAIU6yrvsaA1pDsOoUl3kOT1slNYF5T9H7yrSI8bgTnwWQ6Vg1wMdzd9zzmoJ1Fa kaOfeZh9D+zLeYo87cKGRX2ta2w26ZT24BzWp1gsWhxoDVdA5uP7kv2nLtekS7vdR16d AqExSJ46SbSx8tLA2lyXmvuiCf1Tq/VN/QhcIRKt8ufvHzFZxqccHB6U9n1XFQ361/Wl KpOqqh3JUMa3xy5RRDlIdq+zo8U9F7YJnFWoxqvjYjZCGBKKzLhz2/LAS9l+CfzqWnue vnHP6YMJTqGhWkHxD5GPCXHp5gK9pIbwz/kOJD+7ICjz5tO8rfPzSOYxdXDsNIh9Scf6 f+iQ== X-Gm-Message-State: APjAAAX5e6pDmXVcQoBQNl3ilhqSB8GbblRMb9eLlEgQmWrfs5Ae4X/5 VzAGwgXux126q6Vbh5+j57Sv+QM41jRy5RtmXnk= X-Google-Smtp-Source: APXvYqw4RWW4V4bChh+o85VCI81u2hFXa9TwKdvmiTpZ8KDLO3hTgndtE65FeEbMk4wt17e8IVrqYHE3LMX7I3gA0go= X-Received: by 2002:aca:df84:: with SMTP id w126mr116719oig.79.1572280409787; Mon, 28 Oct 2019 09:33:29 -0700 (PDT) In-Reply-To: <87ftjc96yj.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:170311 Archived-At: --00000000000050124e0595fb0f26 Content-Type: text/plain; charset="UTF-8" On Mon, 28 Oct 2019 at 16:21, Lars Ingebrigtsen wrote: > Richard Copley writes: > > > An empty file or scratch buffer, or the first BibTeX sample file you > > can find on the web, will work fine. The contents aren't relevant. > > I was unable to reproduce the bug with an empty buffer, so if you could > include one in the bug report, that would make things easier. > No, it would be a waste of everybody's time. Try this one liner: emacs -Q -eval "(with-current-buffer \"*empty*\" (setq enable-local-variables nil) (bibtex-mode) (bibtex-parse-buffers-stealthily))" --00000000000050124e0595fb0f26 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Mon, 28 Oct 2019 at 16:21, Lars Ingebrigtsen <larsi@gnus.org> wrote:
Richard Copley <rcopley@gmail.com> writes:

> An empty file or scratch buffer, or the first BibTeX sample file you > can find on the web, will work fine. The contents aren't relevant.=

I was unable to reproduce the bug with an empty buffer, so if you could
include one in the bug report, that would make things easier.

No, it would be a waste of everybod= y's time. Try this one liner:

emacs -Q -eval "(with-current-buffer \&quo= t;*empty*\" (setq enable-local-variables nil) (bibtex-mode) (bibtex-pa= rse-buffers-stealthily))"

--00000000000050124e0595fb0f26--