From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 19 13:53:12 2023 Received: (at submit) by debbugs.gnu.org; 19 Mar 2023 17:53:12 +0000 Received: from localhost ([127.0.0.1]:52688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdxDT-0002eX-MA for submit@debbugs.gnu.org; Sun, 19 Mar 2023 13:53:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:56784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdxDP-0002eF-2Z for submit@debbugs.gnu.org; Sun, 19 Mar 2023 13:53:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdxDO-0005xG-S8 for bug-gnu-emacs@gnu.org; Sun, 19 Mar 2023 13:53:06 -0400 Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdxDN-0007l4-BX for bug-gnu-emacs@gnu.org; Sun, 19 Mar 2023 13:53:06 -0400 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 30E75FF803 for ; Sun, 19 Mar 2023 17:53:01 +0000 (UTC) From: Juri Linkov To: bug-gnu-emacs@gnu.org Subject: 29.0.60; image-minor-mode broken by c-ts-mode Organization: LINKOV.NET Date: Sun, 19 Mar 2023 19:36:30 +0200 Message-ID: <86lejsr8nt.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:4b98:dc4:8::229; envelope-from=juri@linkov.net; helo=relay9-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) 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: -2.6 (--) 0. emacs-29 -Q 1. C-x C-f etc/images/attach.xpm RET 2. C-c C-c toggles from image to C code 3. C-c C-c toggles back from C code to image 4. C-x k RET Everything works correctly so far. 4. M-: (require 'c-ts-mode) RET 5. C-x C-f etc/images/attach.xpm RET It's not displayed as an image and C-c C-c does nothing. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 19 16:21:24 2023 Received: (at 62276) by debbugs.gnu.org; 19 Mar 2023 20:21:24 +0000 Received: from localhost ([127.0.0.1]:52839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdzWu-0000ib-1s for submit@debbugs.gnu.org; Sun, 19 Mar 2023 16:21:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdzWs-0000iM-QA for 62276@debbugs.gnu.org; Sun, 19 Mar 2023 16:21:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdzWm-0002AP-Vu; Sun, 19 Mar 2023 16:21:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Hqh1sPeTcBaGfvLpZeRtp0t54d1rH6ubc64T2pkFYLc=; b=HW3S4GFL+7Yh kiTdutigQpclhLVmLAA2x6Y86KJx+9JgpJvrHbJy3qesp/3OXipxiB0MgKIbqGuzbBMSx5I3Zr52E oSnGBqK8GnFAVh7LS3j2W4F7KNeN5Vpj32vyVqBzi7XobVvlrQju+x/jOI9c/69s6BA3pCLXBKzez zMQVmVUT5QuzIQ5LWEEO9dsrkfm2c5o8Rb9xyhKTkOOwAHRQ5xd5VO8o6HYhCXsSyONvmmqtqDWeM OFelvwQck6SIdvCenwKGJ9JBTZmSZz2P9qOTFHiTSUwhJ09c6xYrcrBAvtjGqa93eU4KINrkiNWNj mhaCShQ+CoJN+MFNG/2BcA==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdzWm-0002Ht-BD; Sun, 19 Mar 2023 16:21:16 -0400 Date: Sun, 19 Mar 2023 22:21:23 +0200 Message-Id: <83y1ns8pbw.fsf@gnu.org> From: Eli Zaretskii To: Juri Linkov In-Reply-To: <86lejsr8nt.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 19 Mar 2023 19:36:30 +0200) Subject: Re: bug#62276: 29.0.60; image-minor-mode broken by c-ts-mode References: <86lejsr8nt.fsf@mail.linkov.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62276 Cc: 62276@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 (---) > From: Juri Linkov > Date: Sun, 19 Mar 2023 19:36:30 +0200 > > 4. M-: (require 'c-ts-mode) RET > 5. C-x C-f etc/images/attach.xpm RET > > It's not displayed as an image and C-c C-c does nothing. Thanks, should be fixed now on the emacs-29 branch. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 20 14:21:05 2023 Received: (at 62276) by debbugs.gnu.org; 20 Mar 2023 18:21:05 +0000 Received: from localhost ([127.0.0.1]:56763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peK81-0007Up-0t for submit@debbugs.gnu.org; Mon, 20 Mar 2023 14:21:05 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:36995) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peK7z-0007Ty-9R for 62276@debbugs.gnu.org; Mon, 20 Mar 2023 14:21:03 -0400 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 9EC6C20002; Mon, 20 Mar 2023 18:20:54 +0000 (UTC) From: Juri Linkov To: Eli Zaretskii Subject: Re: bug#62276: 29.0.60; image-minor-mode broken by c-ts-mode In-Reply-To: <83y1ns8pbw.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 19 Mar 2023 22:21:23 +0200") Organization: LINKOV.NET References: <86lejsr8nt.fsf@mail.linkov.net> <83y1ns8pbw.fsf@gnu.org> Date: Mon, 20 Mar 2023 20:10:19 +0200 Message-ID: <86cz53uxb8.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62276 Cc: 62276@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.7 (-) >> 4. M-: (require 'c-ts-mode) RET >> 5. C-x C-f etc/images/attach.xpm RET >> >> It's not displayed as an image and C-c C-c does nothing. > > Thanks, should be fixed now on the emacs-29 branch. Are there other modes that require such ad-hoc hacks? Is there a problem with this pair? ("\\.svgz?\\'" . image-mode) ("\\.svgz?\\'" . xml-mode) There is only html-ts-mode, not xml-ts-mode? From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 20 14:47:22 2023 Received: (at 62276) by debbugs.gnu.org; 20 Mar 2023 18:47:22 +0000 Received: from localhost ([127.0.0.1]:56819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peKXR-000289-UQ for submit@debbugs.gnu.org; Mon, 20 Mar 2023 14:47:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peKXQ-00027v-4S for 62276@debbugs.gnu.org; Mon, 20 Mar 2023 14:47:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peKXK-00065x-Oj; Mon, 20 Mar 2023 14:47:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=TlHb3vvzgIhm3nzvFyWbRiSxfV6Vt4KKSdqfGo7l5fY=; b=C9KqPz4BdDEg +UFdQi5u8bzlxHtmZOeX4wXLKrAN7K5TP7B3qUo0wRT8D+0J10p4eAoV5jZhFTaFNNbi6BB96Z4yo XGsMxHHbpNDjzynkRBxpLy4XT8KZtj0MQi/ATBct9wlEIFOQ5M+tV6/vu+RtPz+8ueQFH26eIF+pn scVALrZ+wfJitH1WF7/PFc4bgtv97e1dFy8NYQwp1SQ7iCjVS56SyJnp6mGet5kyJiSnklnI9GsOO HfQkLVHdIxdk67QzENQ/CepXOGva4h0fzkae7vReSDFBghmPTdu65zcEzDvORqN60K1FrkiYWeVmj nON3Cx+JEhaxjna88SoQ9w==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peKXJ-0005o3-0Y; Mon, 20 Mar 2023 14:47:13 -0400 Date: Mon, 20 Mar 2023 20:47:22 +0200 Message-Id: <83wn3b6z0l.fsf@gnu.org> From: Eli Zaretskii To: Juri Linkov In-Reply-To: <86cz53uxb8.fsf@mail.linkov.net> (message from Juri Linkov on Mon, 20 Mar 2023 20:10:19 +0200) Subject: Re: bug#62276: 29.0.60; image-minor-mode broken by c-ts-mode References: <86lejsr8nt.fsf@mail.linkov.net> <83y1ns8pbw.fsf@gnu.org> <86cz53uxb8.fsf@mail.linkov.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62276 Cc: 62276@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 (---) > From: Juri Linkov > Cc: 62276@debbugs.gnu.org > Date: Mon, 20 Mar 2023 20:10:19 +0200 > > >> 4. M-: (require 'c-ts-mode) RET > >> 5. C-x C-f etc/images/attach.xpm RET > >> > >> It's not displayed as an image and C-c C-c does nothing. > > > > Thanks, should be fixed now on the emacs-29 branch. > > Are there other modes that require such ad-hoc hacks? The ad-hocery was required because files.el itself uses an ugly (and undocumented) hack to allow visiting XPM/XBM as either a C file or an image file. > Is there a problem with this pair? > > ("\\.svgz?\\'" . image-mode) > ("\\.svgz?\\'" . xml-mode) I don't know. Is there? > There is only html-ts-mode, not xml-ts-mode? Yes, at least for now. I don't think there's a grammar library for XML. Can we close this bug now? From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 21 14:48:22 2023 Received: (at 62276-done) by debbugs.gnu.org; 21 Mar 2023 18:48:22 +0000 Received: from localhost ([127.0.0.1]:60603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peh1y-0005KM-3l for submit@debbugs.gnu.org; Tue, 21 Mar 2023 14:48:22 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:50477) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peh1v-0005JT-U2 for 62276-done@debbugs.gnu.org; Tue, 21 Mar 2023 14:48:20 -0400 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id CDD4F40003; Tue, 21 Mar 2023 18:48:10 +0000 (UTC) From: Juri Linkov To: Eli Zaretskii Subject: Re: bug#62276: 29.0.60; image-minor-mode broken by c-ts-mode In-Reply-To: <83wn3b6z0l.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 20 Mar 2023 20:47:22 +0200") Organization: LINKOV.NET References: <86lejsr8nt.fsf@mail.linkov.net> <83y1ns8pbw.fsf@gnu.org> <86cz53uxb8.fsf@mail.linkov.net> <83wn3b6z0l.fsf@gnu.org> Date: Tue, 21 Mar 2023 20:46:30 +0200 Message-ID: <86fs9yj62h.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62276-done Cc: 62276-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: -1.7 (-) >> >> 4. M-: (require 'c-ts-mode) RET >> >> 5. C-x C-f etc/images/attach.xpm RET >> >> >> >> It's not displayed as an image and C-c C-c does nothing. >> > >> > Thanks, should be fixed now on the emacs-29 branch. >> >> Are there other modes that require such ad-hoc hacks? > > The ad-hocery was required because files.el itself uses an ugly (and > undocumented) hack to allow visiting XPM/XBM as either a C file or an > image file. > >> Is there a problem with this pair? >> >> ("\\.svgz?\\'" . image-mode) >> ("\\.svgz?\\'" . xml-mode) > > I don't know. Is there? > >> There is only html-ts-mode, not xml-ts-mode? > > Yes, at least for now. I don't think there's a grammar library for > XML. > > Can we close this bug now? It seems no more fixes are required, so now closing. From unknown Fri Sep 05 22:44:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 19 Apr 2023 11:24:20 +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