From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#5440: 23.1; buffer-file-format encoding temp buffers not reentrant Date: Sun, 24 Jul 2016 17:25:37 +0300 Message-ID: <83twfft8ny.fsf@gnu.org> References: <87sk9z3vt2.fsf@blah.blah> <838twvysl2.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1469370398 4761 80.91.229.3 (24 Jul 2016 14:26:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Jul 2016 14:26:38 +0000 (UTC) Cc: 5440@debbugs.gnu.org, user42@zip.com.au To: Andrew Hyatt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 24 16:26:18 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bRKM9-0001cN-HW for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Jul 2016 16:26:13 +0200 Original-Received: from localhost ([::1]:56209 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRKM8-0000pc-Qp for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Jul 2016 10:26:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRKM3-0000og-8r for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2016 10:26:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRKLy-0000Q8-87 for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2016 10:26:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRKLy-0000Q4-4x for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2016 10:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bRKLy-0005gZ-0p for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2016 10:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Jul 2016 14:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5440 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5440-submit@debbugs.gnu.org id=B5440.146937033721821 (code B ref 5440); Sun, 24 Jul 2016 14:26:01 +0000 Original-Received: (at 5440) by debbugs.gnu.org; 24 Jul 2016 14:25:37 +0000 Original-Received: from localhost ([127.0.0.1]:35944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bRKLZ-0005fs-4p for submit@debbugs.gnu.org; Sun, 24 Jul 2016 10:25:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38903) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bRKLX-0005fg-Mr for 5440@debbugs.gnu.org; Sun, 24 Jul 2016 10:25:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRKLO-0000KW-KH for 5440@debbugs.gnu.org; Sun, 24 Jul 2016 10:25:30 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRKLO-0000KO-HG; Sun, 24 Jul 2016 10:25:26 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3395 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bRKLM-0003Ou-IU; Sun, 24 Jul 2016 10:25:25 -0400 In-reply-to: (message from Andrew Hyatt on Sun, 24 Jul 2016 01:06:05 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 208.118.235.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:121483 Archived-At: > From: Andrew Hyatt > Cc: user42@zip.com.au, 5440@debbugs.gnu.org > Date: Sun, 24 Jul 2016 01:06:05 -0400 > > > -- Variable: format-alist > > This list contains one format definition for each defined file > > format. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > ^^^^^^ > > > > "Only one format definition per format." But I think it won't do any > > harm to specifically warn about violating that. > > > > Thanks. > > I think the original bug report had one format definition for each > defined file format, but was manipulating a file in one format while in > another format function. That's more than one format in disguise. > How about I change the documentation to just warn not to manipulate > other files in FROM-FN here? Can you show a proposed patch? Thanks.