From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 25 12:46:32 2012 Received: (at submit) by debbugs.gnu.org; 25 Jan 2012 17:46:32 +0000 Received: from localhost ([127.0.0.1]:43677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rq6vX-0001EW-WE for submit@debbugs.gnu.org; Wed, 25 Jan 2012 12:46:32 -0500 Received: from eggs.gnu.org ([140.186.70.92]:38859) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rq6vV-0001E5-VO for submit@debbugs.gnu.org; Wed, 25 Jan 2012 12:46:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq6us-0004uk-5i for submit@debbugs.gnu.org; Wed, 25 Jan 2012 12:45:57 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:54507) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq6ur-0004oC-CQ for submit@debbugs.gnu.org; Wed, 25 Jan 2012 12:45:49 -0500 Received: from eggs.gnu.org ([140.186.70.92]:45340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq6iU-0008Ps-Ep for bug-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:33:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq6iO-0002p3-QO for bug-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:33:02 -0500 Received: from ps18281.dreamhost.com ([69.163.218.105]:41460 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq6iO-0002oi-MK for bug-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:32:56 -0500 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id CF084451C75D for ; Wed, 25 Jan 2012 09:31:50 -0800 (PST) From: Juri Linkov To: bug-gnu-emacs@gnu.org Subject: 24.0.92; Visiting tgz files sets mode from File Local Variables Organization: JURTA Date: Wed, 25 Jan 2012 19:29:45 +0200 Message-ID: <87fwf3lmgm.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) When the last file in a tzg archive ends with the Local Variables section where mode is specified (for the last file in the archive), then the whole archive is visited in that mode instead of using `tar-mode'. This is a regression caused by fixing bug#8586. There are variables `inhibit-first-line-modes-regexps' and `inhibit-first-line-modes-suffixes' that prevent getting mode from the Local Variables section for tzg archives and other such file types. But currently they are used to skip only scanning of the first -*- line. To fix this regression, it is necessary to use these variables to skip getting mode from the Local Variables section. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 25 13:12:10 2012 Received: (at 10601) by debbugs.gnu.org; 25 Jan 2012 18:12:11 +0000 Received: from localhost ([127.0.0.1]:43708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rq7KM-0001om-OH for submit@debbugs.gnu.org; Wed, 25 Jan 2012 13:12:10 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:42813) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rq7KK-0001oT-7A for 10601@debbugs.gnu.org; Wed, 25 Jan 2012 13:12:09 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LYD0010093JH900@a-mtaout20.012.net.il> for 10601@debbugs.gnu.org; Wed, 25 Jan 2012 20:10:18 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.228.27.171]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LYD001MY9549C50@a-mtaout20.012.net.il>; Wed, 25 Jan 2012 20:10:17 +0200 (IST) Date: Wed, 25 Jan 2012 20:10:22 +0200 From: Eli Zaretskii Subject: Re: bug#10601: 24.0.92; Visiting tgz files sets mode from File Local Variables In-reply-to: <87fwf3lmgm.fsf@mail.jurta.org> X-012-Sender: halo1@inter.net.il To: Juri Linkov Message-id: <83hazj1wmp.fsf@gnu.org> References: <87fwf3lmgm.fsf@mail.jurta.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 10601 Cc: 10601@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Juri Linkov > Date: Wed, 25 Jan 2012 19:29:45 +0200 > > When the last file in a tzg archive ends with the Local Variables section > where mode is specified (for the last file in the archive), then the whole > archive is visited in that mode instead of using `tar-mode'. Isn't this bug #10506 that Glenn fixed a few days ago? When was your Emacs built? From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 25 13:37:42 2012 Received: (at 10601) by debbugs.gnu.org; 25 Jan 2012 18:37:42 +0000 Received: from localhost ([127.0.0.1]:43765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rq7j3-0002Pe-M0 for submit@debbugs.gnu.org; Wed, 25 Jan 2012 13:37:41 -0500 Received: from ps18281.dreamhost.com ([69.163.218.105]:59893 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rq7ip-0002PI-Go; Wed, 25 Jan 2012 13:37:40 -0500 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id EE436451C7E8; Wed, 25 Jan 2012 10:35:53 -0800 (PST) From: Juri Linkov To: Eli Zaretskii Subject: Re: bug#10601: 24.0.92; Visiting tgz files sets mode from File Local Variables Organization: JURTA References: <87fwf3lmgm.fsf@mail.jurta.org> <83hazj1wmp.fsf@gnu.org> Date: Wed, 25 Jan 2012 20:35:06 +0200 In-Reply-To: <83hazj1wmp.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 25 Jan 2012 20:10:22 +0200") Message-ID: <87hazj4omd.fsf_-_@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10601 Cc: 10601@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) forcemerge 10506 10601 stop > Isn't this bug #10506 that Glenn fixed a few days ago? When was your > Emacs built? Thanks, I missed that. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 25 14:45:13 2012 Received: (at 10601) by debbugs.gnu.org; 25 Jan 2012 19:45:13 +0000 Received: from localhost ([127.0.0.1]:43876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rq8mP-0004oz-8F for submit@debbugs.gnu.org; Wed, 25 Jan 2012 14:45:13 -0500 Received: from ps18281.dreamhost.com ([69.163.218.105]:45509 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rq8mN-0004or-DA for 10601@debbugs.gnu.org; Wed, 25 Jan 2012 14:45:12 -0500 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id D5B54451C7E8; Wed, 25 Jan 2012 11:43:37 -0800 (PST) From: Juri Linkov To: Eli Zaretskii Subject: Re: bug#10601: 24.0.92; Visiting tgz files sets mode from File Local Variables Organization: JURTA References: <87fwf3lmgm.fsf@mail.jurta.org> <83hazj1wmp.fsf@gnu.org> Date: Wed, 25 Jan 2012 21:32:45 +0200 In-Reply-To: <83hazj1wmp.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 25 Jan 2012 20:10:22 +0200") Message-ID: <87aa5b37du.fsf_-_@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10601 Cc: 10601@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > Isn't this bug #10506 that Glenn fixed a few days ago? When was your > Emacs built? With bug#10506 Glenn also fixed the case of visiting `browser.jar' that I reported in http://debbugs.gnu.org/10338#11 But visiting TGA image files still displays the message "Malformed -*- line" as reported in http://debbugs.gnu.org/9044#29 I think `imagemagick-register-types' should add TGA to `inhibit-local-variables-regexps': === modified file 'lisp/image.el' --- lisp/image.el 2012-01-25 17:54:01 +0000 +++ lisp/image.el 2012-01-25 19:31:10 +0000 @@ -712,7 +712,8 @@ (defun imagemagick-register-types () (not (memq (intern (upcase (symbol-name im-type))) imagemagick-types-inhibit))) (push (cons (car header-regexp) 'imagemagick) - image-type-header-regexps))))))) + image-type-header-regexps)))) + (push "\\.tga\\'" inhibit-local-variables-regexps)))) (provide 'image) This is desirable for TGA because it usually contains many occurences of -*- in the first line. Of course, in 24.2 it would be better to check for `image-mode' to cover all other image formats as well. From unknown Sat Aug 09 09:35:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 23 Feb 2012 12:24:04 +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