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: Thu, 21 Jul 2016 17:27:21 +0300 Message-ID: <838twvysl2.fsf@gnu.org> References: <87sk9z3vt2.fsf@blah.blah> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1469111309 13206 80.91.229.3 (21 Jul 2016 14:28:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Jul 2016 14:28:29 +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 Thu Jul 21 16:28:15 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 1bQExS-0007NJ-MV for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jul 2016 16:28:14 +0200 Original-Received: from localhost ([::1]:41151 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQExR-0008Fh-Vd for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jul 2016 10:28:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQExJ-0008Eh-3Z for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2016 10:28:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQExF-0002Td-W2 for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2016 10:28:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQExF-0002TZ-Sw for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2016 10:28:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bQExF-0000LM-Oy for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2016 10:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Jul 2016 14:28: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.14691112531285 (code B ref 5440); Thu, 21 Jul 2016 14:28:01 +0000 Original-Received: (at 5440) by debbugs.gnu.org; 21 Jul 2016 14:27:33 +0000 Original-Received: from localhost ([127.0.0.1]:60558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bQEwj-0000Ka-DK for submit@debbugs.gnu.org; Thu, 21 Jul 2016 10:27:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bQEwd-0000KF-Gf for 5440@debbugs.gnu.org; Thu, 21 Jul 2016 10:27:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQEwX-0002FE-Kw for 5440@debbugs.gnu.org; Thu, 21 Jul 2016 10:27:18 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQEwX-0002Ec-HX; Thu, 21 Jul 2016 10:27:17 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4918 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bQEwU-0007TD-CQ; Thu, 21 Jul 2016 10:27:15 -0400 In-reply-to: (message from Andrew Hyatt on Thu, 21 Jul 2016 00:33:17 -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:121387 Archived-At: > From: Andrew Hyatt > Date: Thu, 21 Jul 2016 00:33:17 -0400 > Cc: 5440@debbugs.gnu.org > > This reproduces on Emacs 25. But I wonder if this should be a wishlist > instead of a bug. As the original report notes, decoding a buffer > while encoding another buffer doesn't seem like a normal use-case. > > If no one objects in the next few weeks, I can wishlist this. Making it > a minor-severity bug also seems reasonable to me. I agree. I also suggest to amend the documentation to make this issue more explicitly mentioned. The ELisp manual already says -- 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.