From unknown Mon Jun 23 07:47:50 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#44618 <44618@debbugs.gnu.org> To: bug#44618 <44618@debbugs.gnu.org> Subject: Status: 26.3; bibtex.el ignores file variable bibtex-contline-indentation Reply-To: bug#44618 <44618@debbugs.gnu.org> Date: Mon, 23 Jun 2025 14:47:50 +0000 retitle 44618 26.3; bibtex.el ignores file variable bibtex-contline-indenta= tion reassign 44618 emacs submitter 44618 Francesco Potort=C3=AC severity 44618 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 13 07:46:12 2020 Received: (at submit) by debbugs.gnu.org; 13 Nov 2020 12:46:12 +0000 Received: from localhost ([127.0.0.1]:47243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdYSu-0008Hr-1v for submit@debbugs.gnu.org; Fri, 13 Nov 2020 07:46:11 -0500 Received: from lists.gnu.org ([209.51.188.17]:34826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdYSp-0008Hh-4r for submit@debbugs.gnu.org; Fri, 13 Nov 2020 07:46:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdYSo-0000CP-Sp for bug-gnu-emacs@gnu.org; Fri, 13 Nov 2020 07:46:02 -0500 Received: from smtp-clients1.isti.cnr.it ([146.48.28.36]:43672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdYSn-0007m5-3I for bug-gnu-emacs@gnu.org; Fri, 13 Nov 2020 07:46:02 -0500 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) (Authenticated sender: pot) by smtp-clients1.isti.cnr.it (Postfix) with ESMTPSA id 990B0AE6E0 for ; Fri, 13 Nov 2020 13:45:58 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at smtp-out.isti.cnr.it Received: from pot by tucano.isti.cnr.it with local (Exim 4.94) (envelope-from ) id 1kdYSk-00EHxr-5C for bug-gnu-emacs@gnu.org; Fri, 13 Nov 2020 13:45:58 +0100 From: =?utf-8?Q?Francesco_Potort=C3=AC?= Date: Fri, 13 Nov 2020 13:45:58 +0100 To: bug-gnu-emacs@gnu.org Subject: 26.3; bibtex.el ignores file variable bibtex-contline-indentation Organization: X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: Received-SPF: softfail client-ip=146.48.28.36; envelope-from=pot@gnu.org; helo=smtp-clients1.isti.cnr.it X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/13 07:03:07 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) In GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2020-05-17, modified by Debian built on x86-csail-01 I set bibtex-contline-indentation as a file variable, yeet it is ignored by bibtex-mode. I am not sure how file variables and minor modes interact, but it looks like when the minor mode is fired, the local variables have not been set yet. Whatever the reason, bibtex-mode sets fill-prefix as a local variable irrespective of the file variable bibtex-contline-indentation. The fix for my case is simple: avoid setting fill-prefix as a local variable in the minor mode, and just set it inside the bibtex-fill-field-bounds function. A patch follows. However, I don't know if this is a hint of some more general problem on how bibtex-mode trets file variables. --- bibtex-2019.el 2020-11-13 11:54:34.000000000 +0100 +++ bibtex.el 2020-11-13 13:34:24.000000000 +0100 @@ -3399,8 +3409,6 @@ (set (make-local-variable 'defun-prompt-regexp) "^[ \t]*@[[:alnum:]]+[ \t]*") (set (make-local-variable 'outline-regexp) "[ \t]*@") (set (make-local-variable 'fill-paragraph-function) 'bibtex-fill-field) - (set (make-local-variable 'fill-prefix) - (make-string (+ bibtex-entry-offset bibtex-contline-indentation) ?\s)) (set (make-local-variable 'font-lock-defaults) '(bibtex-font-lock-keywords nil t ((?$ . "\"") @@ -4830,7 +4838,9 @@ "Fill BibTeX field delimited by BOUNDS. If JUSTIFY is non-nil justify as well. If optional arg MOVE is non-nil move point to end of field." - (let ((end-field (copy-marker (bibtex-end-of-field bounds)))) + (let ((fill-prefix + (make-string (+ bibtex-entry-offset bibtex-contline-indentation) ?\s)) + (end-field (copy-marker (bibtex-end-of-field bounds)))) (if (not justify) (goto-char (bibtex-start-of-text-in-field bounds)) (goto-char (bibtex-start-of-field bounds)) From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 14 11:20:46 2020 Received: (at 44618) by debbugs.gnu.org; 14 Nov 2020 16:20:46 +0000 Received: from localhost ([127.0.0.1]:51726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdyIA-0007B7-4v for submit@debbugs.gnu.org; Sat, 14 Nov 2020 11:20:46 -0500 Received: from quimby.gnus.org ([95.216.78.240]:44156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdyI8-0007Ar-Ar for 44618@debbugs.gnu.org; Sat, 14 Nov 2020 11:20:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=RHTEQJZzVc4eMK4dDR5kVDuI6JsdKPteX858N+HR68k=; b=XePvOXfrq+vcJT3zSTd3uAmlhB edugndn6eA6KT3d1qPqfHd1sTr/1I9wx3LoNQXozcowDYqi/KBTGDnBuAZc/mZwbqiwl0HoDuor2c Szg3qMlfFtn0oO87cQ51e6DMyItD+drL3KjiVyhCCmhUh6VKPS886iR6/BdtenQXQUFs=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kdyHz-0000Zq-4m; Sat, 14 Nov 2020 17:20:37 +0100 From: Lars Ingebrigtsen To: Francesco =?utf-8?Q?Potort=C3=AC?= Subject: Re: bug#44618: 26.3; bibtex.el ignores file variable bibtex-contline-indentation References: X-Now-Playing: Genesis's _Duke_: "Heathaze" Date: Sat, 14 Nov 2020 17:20:34 +0100 In-Reply-To: ("Francesco =?utf-8?Q?Potort=C3=AC=22's?= message of "Fri, 13 Nov 2020 13:45:58 +0100") Message-ID: <877dqnzz8t.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Francesco Potortì writes: > Whatever the reason, bibtex-mode sets fill-prefix as a local variable > irrespective of the file variable bibtex-contline-indentation. > > The fix for my case is simple: avoid setting fill-prefix as [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44618 Cc: 44618@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Francesco Potort=C3=AC writes: > Whatever the reason, bibtex-mode sets fill-prefix as a local variable > irrespective of the file variable bibtex-contline-indentation. > > The fix for my case is simple: avoid setting fill-prefix as a local > variable in the minor mode, and just set it inside the > bibtex-fill-field-bounds function. A patch follows. > > However, I don't know if this is a hint of some more general problem on > how bibtex-mode trets file variables. [...] > - (set (make-local-variable 'fill-prefix) > - (make-string (+ bibtex-entry-offset bibtex-contline-indentation) = ?\s)) [...] > - (let ((end-field (copy-marker (bibtex-end-of-field bounds)))) > + (let ((fill-prefix > + (make-string (+ bibtex-entry-offset bibtex-contline-indentation) ?\s)) > + (end-field (copy-marker (bibtex-end-of-field bounds)))) This patch would make it impossible for people to alter fill-prefix (from the mode hook, for instance), so I don't think this is the right solution. Looking at hack-local-variables/normal-mode, file-local variables are set after the mode has been set up, so you can't have your mode set up variables based on file-local variables. (If I'm wrong here, please somebody correct me.) So you can't usefully set bibtex-entry-offset/bibtex-contline-indentation as file-local variables without also setting fill-prefix that way, I think? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 16 17:58:35 2020 Received: (at control) by debbugs.gnu.org; 16 Nov 2020 22:58:35 +0000 Received: from localhost ([127.0.0.1]:57673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kenSF-0006ea-HN for submit@debbugs.gnu.org; Mon, 16 Nov 2020 17:58:35 -0500 Received: from quimby.gnus.org ([95.216.78.240]:40132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kenSD-0006eO-Kc for control@debbugs.gnu.org; Mon, 16 Nov 2020 17:58:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=r8GZZpehDas4xBOs5c9gH6xMHF/vgq5v2Ct6fFlRmlw=; b=PhNBzIc3FC88dbH0HDPnqmPAo6 RSM5hyDtoziMYPml7EHOpQbYxKvcPDrVf03dhH5MLQ17YUz8EjSZgXOCNRQt9NtSgu/5Wwez0XebR kD/2mO96y7WTKqDADcVE+SRT5c3NDjhONwsv0G4qHO3AfMDvQodDz7rym7oV68P6EeW8=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kenS5-0006u7-QH for control@debbugs.gnu.org; Mon, 16 Nov 2020 23:58:28 +0100 Date: Mon, 16 Nov 2020 23:58:24 +0100 Message-Id: <878sb0ucxb.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #44647 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: forcemerge 44647 44618 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) forcemerge 44647 44618 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 16 18:31:23 2020 Received: (at 44618) by debbugs.gnu.org; 16 Nov 2020 23:31:23 +0000 Received: from localhost ([127.0.0.1]:57761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kenxz-0004Wj-Ae for submit@debbugs.gnu.org; Mon, 16 Nov 2020 18:31:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kenxw-0004Pa-63 for 44618@debbugs.gnu.org; Mon, 16 Nov 2020 18:31:21 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44779) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kenxq-0006C9-Qo; Mon, 16 Nov 2020 18:31:14 -0500 Received: from [2602:30a:2e52:d720:65b7:1416:12e7:8bfb] (port=47766 helo=regnitz) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1kenxo-00008j-2c; Mon, 16 Nov 2020 18:31:13 -0500 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="whd3TPpDnD" Content-Transfer-Encoding: 7bit Message-ID: <3006.31876.328410.24499@gargle.gargle.HOWL> Date: Mon, 16 Nov 2020 17:31:10 -0600 From: "Roland Winkler" To: Francesco =?utf-8?Q?Potort=C3?==AC Subject: Re: bug#44618: 26.3; bibtex.el ignores file variable bibtex-contline-indentation In-Reply-To: <877dqnzz8t.fsf@gnus.org> References: <877dqnzz8t.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44618 Cc: Lars Ingebrigtsen , 44618@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --whd3TPpDnD Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit On Sat Nov 14 2020 Lars Ingebrigtsen wrote: > > - (let ((end-field (copy-marker (bibtex-end-of-field bounds)))) > > + (let ((fill-prefix > > + (make-string (+ bibtex-entry-offset bibtex-contline-indentation) ?\s)) > > + (end-field (copy-marker (bibtex-end-of-field bounds)))) > > This patch would make it impossible for people to alter fill-prefix > (from the mode hook, for instance), so I don't think this is the right > solution. Can you please try the attached patch using hack-local-variables-hook? This was partly inspired by the related comment https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21764#15 which had somehow escaped my attention. The issues mentioned in this comment should likewise be fixed by the attached patch. --whd3TPpDnD Content-Type: application/octet-stream; name="bibtex.diff" Content-Disposition: attachment; filename="bibtex.diff" Content-Transfer-Encoding: base64 LS0tIGJpYnRleC5lbH4JMjAyMC0xMS0xNSAyMToxMzo1Ni40NDAyMTY1NjMgLTA2MDAKKysrIGJp YnRleC5lbAkyMDIwLTExLTE1IDIxOjI4OjQ3LjMxMzE4MDA2MiAtMDYwMApAQCAtODkwLDcgKzg5 MCw4IEBACiAoZGVmY3VzdG9tIGJpYnRleC1jb21tZW50LXN0YXJ0ICJAQ29tbWVudCIKICAgIlN0 cmluZyBzdG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U3RhcnRpbmcgY29sdW1uIGZvciBjb250aW51YXRpb24gbGluZXMgb2YgQmli VGVYIGZpZWxkcy4iCiAgIDpncm91cCAnYmlidGV4Ci0gIDp0eXBlICdpbnRlZ2VyKQorICA6dHlw ZSAnaW50ZWdlcgorICA6c2FmZSAjJ2ludGVnZXJwKQogCiAoZGVmY3VzdG9tIGJpYnRleC1hbGln bi1hdC1lcXVhbC1zaWduIG5pbAogICAiSWYgbm9uLW5pbCwgYWxpZ24gZmllbGRzIGF0IGVxdWFs IHNpZ24gaW5zdGVhZCBvZiBmaWVsZCB0ZXh0LgpAQCAtMjk0MSw3ICsyOTQ1LDcgQEAKICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKDErIChtYXRjaC1iZWdpbm5pbmcg MykpICgxLSAobWF0Y2gtZW5kIDMpKSkpKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICh1bmxlc3MgKGFzc29jIGtleSBjcm9zc3JlZi1rZXlzKQogICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgKHB1c2ggKGxpc3Qga2V5KSBjcm9zc3JlZi1rZXlzKSkpKQotICAgICAgICAg ICAgICAgICAgICAgICAgICAgIDs7IFdlIGhhdmUgcHJvYmFibHkgaGF2ZSBhIG5vbi1iaWJ0ZXgg ZmlsZS4KKyAgICAgICAgICAgICAgICAgICAgICAgICAgICA7OyBXZSBwcm9iYWJseSBoYXZlIGEg bm9uLWJpYnRleCBmaWxlLgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICgobm90IChtYXRj aC1iZWdpbm5pbmcgYmlidGV4LXR5cGUtaW4taGVhZCkpCiAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICh0aHJvdyAndXNlcmtleSBuaWwpKQogICAgICAgICAgICAgICAgICAgICAgICAgICAg IDs7IG9ubHkga2V5cyBvZiBrbm93biBlbnRyaWVzCkBAIC0zNDM1LDE1ICszNDM5LDEwIEBACiAg ICAgICAgICAgICAgICAgICA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bikKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID9ccykpKSkpCisg ICAgKGlmIGJ1ZmZlci1maWxlLW5hbWUKKyAgICAgICAgKGFkZC1ob29rICdoYWNrLWxvY2FsLXZh cmlhYmxlcy1ob29rIGZ1biBuaWwgdCkKKyAgICAgIChmdW5jYWxsIGZ1bikpKSkKIAogKGRlZnVu IGJpYnRleC1lbnRyeS1hbGlzdCAoZGlhbGVjdCkKICAgIlJldHVybiBlbnRyeS1hbGlzdCBmb3Ig RElBTEVDVC4iCg== --whd3TPpDnD-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 16 18:37:03 2020 Received: (at 44618) by debbugs.gnu.org; 16 Nov 2020 23:37:03 +0000 Received: from localhost ([127.0.0.1]:57766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keo3T-0005ZZ-2D for submit@debbugs.gnu.org; Mon, 16 Nov 2020 18:37:03 -0500 Received: from quimby.gnus.org ([95.216.78.240]:40552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keo3R-0005Z3-1Y for 44618@debbugs.gnu.org; Mon, 16 Nov 2020 18:37:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ifYbxep6LOfWWXMFCo36LRDahJp29o/+NMZz5bWuoQw=; b=q0Tpq4eZcCnFH77iCgW0EahIDW zZwgnXYWsPEEHnZNeEKe7wP+wFfWlhxSUtYLu8y7Uu1CEWvghKnMAaDxa9Dsj0wee9uz1vDmu1TbB QJUTGjqFwciF6QK2b9PdAGrTeLV+HiSPDOp9lqCi022Z6GY/a7qSYi22fCKKrhDrYz7c=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1keo3H-0007RC-LY; Tue, 17 Nov 2020 00:36:54 +0100 From: Lars Ingebrigtsen To: "Roland Winkler" Subject: Re: bug#44618: 26.3; bibtex.el ignores file variable bibtex-contline-indentation References: <877dqnzz8t.fsf@gnus.org> <3006.31876.328410.24499@gargle.gargle.HOWL> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEUHBgUmKxCkqa3u 8fNHWBxpig65uwiZYir///+9cxmfAAAAAWJLR0QIht6VegAAAAd0SU1FB+QLEBYvDRLODqgAAAG4 SURBVDjLrZMxT+QwEIVn7gy1B5y9dhWQaBFb0MacE+pIO6mRbnENp0P8fcb2JHEOShxpvdnPnvf8 xgtgEZaBJANJv1/dGRdC6Jk5ynie/jwc9gkc7oz87jPKIP4+3Ar4195kQJ5kCgnkHWABUqVwLJXi c4zdrKkSYfoCiDLDbgvaawHU84jnCh7bl+Q3ufLQjN3QKMiuCujA+G4Y4qlJoLgCtC549N66XTw+ TQJssJqE88aTpV8xPA1cuQLqEOk1vEc67Vbw+CrVDFjXj29gB54i5VIiLidJUhKP8Yan1ZV8ZHAe 8QQ9K0ilFDSpesPRtat8Bm6wCUwWYAPQscyG2S5LFZBXkJubxTMwXZ+iZr7IkczAyA7RcNKZy+Kq vS5Nme9JrzvKe/B5TnKuX12ZiccSWnrCCs6ORLrDWVRAopFu4LLKuovcWpNc1YDocg2xBsb/nFu7 BTgiLfJYAWjqBAOvSRtd/5D6wfkg+lcx792SVVPtgMoVoIclEwWgMekhcqm/dWtne/DFSDeo6nd1 mrEA3LS2AHW1n0NUwLXdubXZYJl+tHv41oGVBswaL1tX/4d4/xns4QOJpWnFhPsSQAAAACV0RVh0 ZGF0ZTpjcmVhdGUAMjAyMC0xMS0xNlQyMjo0NzoxMyswMDowMERbfFUAAAAldEVYdGRhdGU6bW9k aWZ5ADIwMjAtMTEtMTZUMjI6NDc6MTMrMDA6MDA1BsTpAAAAAElFTkSuQmCC X-Now-Playing: Yes's _The Yes Album_: "Clap (Studio Version)" Date: Tue, 17 Nov 2020 00:36:50 +0100 In-Reply-To: <3006.31876.328410.24499@gargle.gargle.HOWL> (Roland Winkler's message of "Mon, 16 Nov 2020 17:31:10 -0600") Message-ID: <87ft58swkt.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: "Roland Winkler" writes: > Can you please try the attached patch using hack-local-variables-hook? > This was partly inspired by the related comment > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21764#15 > > which had some [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44618 Cc: pot@gnu.org, 44618@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) "Roland Winkler" writes: > Can you please try the attached patch using hack-local-variables-hook? > This was partly inspired by the related comment > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21764#15 > > which had somehow escaped my attention. The issues mentioned in > this comment should likewise be fixed by the attached patch. If I'm reading the patch correctly, it looks good to me -- it'll still allow people to set fill-prefix from bibtex-mode-hook, and it fixes the reported problem in these two bug reports. (I haven't tested the patch, though, just read it.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 02 13:38:32 2020 Received: (at 44618-done) by debbugs.gnu.org; 2 Dec 2020 18:38:32 +0000 Received: from localhost ([127.0.0.1]:37373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkX1L-0006Mr-VU for submit@debbugs.gnu.org; Wed, 02 Dec 2020 13:38:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkX1K-0006MY-DN; Wed, 02 Dec 2020 13:38:30 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55342) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkX1D-0001lV-ND; Wed, 02 Dec 2020 13:38:23 -0500 Received: from [2602:30a:2e52:d720:65b7:1416:12e7:8bfb] (port=45312 helo=regnitz) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1kkX1C-00039J-0v; Wed, 02 Dec 2020 13:38:22 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <57115.88742.877010.24519@gargle.gargle.HOWL> Date: Wed, 2 Dec 2020 12:38:19 -0600 From: "Roland Winkler" To: Lars Ingebrigtsen Subject: Re: bug#44618: 26.3; bibtex.el ignores file variable bibtex-contline-indentation In-Reply-To: <87ft58swkt.fsf@gnus.org> References: <877dqnzz8t.fsf@gnus.org> <3006.31876.328410.24499@gargle.gargle.HOWL> <87ft58swkt.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44618-done Cc: pot@gnu.org, Teemu Likonen , 44647-done@debbugs.gnu.org, 44618-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On Tue Nov 17 2020 Lars Ingebrigtsen wrote: > If I'm reading the patch correctly, it looks good to me -- it'll still > allow people to set fill-prefix from bibtex-mode-hook, and it fixes the > reported problem in these two bug reports. (I haven't tested the patch, > though, just read it.) Installed as patch d9167d940ac9d0504cc38a044c7cba897c103eaf. I am closing both bug#44618 and bug#44647. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 03 14:39:30 2020 Received: (at 44618) by debbugs.gnu.org; 3 Dec 2020 19:39:31 +0000 Received: from localhost ([127.0.0.1]:41828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkuRu-0004YJ-Md for submit@debbugs.gnu.org; Thu, 03 Dec 2020 14:39:30 -0500 Received: from smtp-clients1.isti.cnr.it ([146.48.28.36]:41618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkuRt-0004YB-1c for 44618@debbugs.gnu.org; Thu, 03 Dec 2020 14:39:29 -0500 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) (Authenticated sender: pot) by smtp-clients1.isti.cnr.it (Postfix) with ESMTPSA id 18F93B0512; Thu, 3 Dec 2020 20:39:26 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at smtp-out.isti.cnr.it Received: from pot by tucano.isti.cnr.it with local (Exim 4.94) (envelope-from ) id 1kkuRq-00Fsgn-HK; Thu, 03 Dec 2020 20:39:26 +0100 From: =?utf-8?Q?Francesco_Potort=C3=AC?= Date: Thu, 03 Dec 2020 20:39:26 +0100 To: "Roland Winkler" In-Reply-To: <3006.31876.328410.24499@gargle.gargle.HOWL> (winkler@gnu.org) Subject: Re: bug#44618: 26.3; bibtex.el ignores file variable bibtex-contline-indentation References: <877dqnzz8t.fsf@gnus.org> <3006.31876.328410.24499@gargle.gargle.HOWL> Organization: X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 44618 Cc: Lars Ingebrigtsen , 44618@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) >Can you please try the attached patch using hack-local-variables-hook? >This was partly inspired by the related comment > >https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21764#15 Sorry for the delay, I have now managed to test the latest version of bibtex.el which includes your patch, and it works for me. I made various tests and I saw no problems. Thanks -- fp From unknown Mon Jun 23 07:47:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 01 Jan 2021 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator