From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71364: Fix Table.el export Date: Sat, 08 Jun 2024 14:18:57 +0300 Message-ID: <861q57el7i.fsf@gnu.org> References: <8734ptj6lj.fsf@gmail.com> <86r0dagv7v.fsf@gnu.org> <87frtpqltu.fsf@gmail.com> <86jzj1f2fb.fsf@gnu.org> <87h6e4jiav.fsf@gmail.com> <86le3gdjm3.fsf@gnu.org> <8634pnemgn.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23507"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pranshusharma366@gmail.com, lockywolf@gmail.com, 71364@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 08 13:20:08 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sFu7D-0005uw-TM for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Jun 2024 13:20:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFu6w-0001qa-Ca; Sat, 08 Jun 2024 07:19:50 -0400 Original-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 1sFu6t-0001q7-B9 for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 07:19:47 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sFu6s-0002Gf-Sz for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 07:19:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sFu78-0004EI-GY for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 07:20: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: Sat, 08 Jun 2024 11:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71364 X-GNU-PR-Package: emacs Original-Received: via spool by 71364-submit@debbugs.gnu.org id=B71364.171784556616189 (code B ref 71364); Sat, 08 Jun 2024 11:20:02 +0000 Original-Received: (at 71364) by debbugs.gnu.org; 8 Jun 2024 11:19:26 +0000 Original-Received: from localhost ([127.0.0.1]:37589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFu6X-0004D3-St for submit@debbugs.gnu.org; Sat, 08 Jun 2024 07:19:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFu6V-0004Cn-GP for 71364@debbugs.gnu.org; Sat, 08 Jun 2024 07:19:24 -0400 Original-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 1sFu69-0002DR-Or; Sat, 08 Jun 2024 07:19:01 -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=Uq2krGF8tElgPkPOXB/9QJTFM13WbC3HprQ/4R2kNbI=; b=CxsERNpONGvl df4AS1VC2amw2xRIe8K1I0ntzNNdKVT20NbMYTdZ1Y5GqsTb223ShCASU4sMcB3HRmh7v1Zv7W8GV yJ80B1s91jTyMlpWtxrRwfhv8o7qTMteZhiMtaBB61HFR5sCyFSFbbO+9Zek9hB7KniK6U71iskmk mwC7V579nLrtrQNGTOIG1rj6J3UwP09Z2PbHrdi2FKNaQHGVWgmuYglynlKr/P3Uk/ibiIqgFUg/L Ma21Zfu2968B6EuNl1R9z0y7wNb64i9qwuIiIDknMf2KnysYai6qPIimfd+6Zll9EyPfeqiX9GgSk csej/KnL9xukBg3PWT7oIw==; In-Reply-To: (message from Reuben Thomas on Sat, 8 Jun 2024 11:59:52 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:286829 Archived-At: > From: Reuben Thomas > Date: Sat, 8 Jun 2024 11:59:52 +0100 > Cc: pranshusharma366@gmail.com, lockywolf@gmail.com, 71364@debbugs.gnu.org > > On Sat, 8 Jun 2024 at 11:51, Eli Zaretskii wrote: > > > From: Reuben Thomas > > Date: Sat, 8 Jun 2024 11:05:25 +0100 > > Cc: Pranshu , Vladimir Nikishkin , > > 71364@debbugs.gnu.org > > > > Specifically, it works fine if, like me, you do not want to put LaTeX markup in tables. This was certainly > my > > case, as I was using it with org-mode. In this case, any character that is active in LaTeX can and > should simply > > be escaped on output. > > > > What is basically broken is the ability to export to LaTeX when the table contains LaTeX markup. > > But the function being discussed is said to be specific to export to > LaTeX, so it should expect LaTeX markup in the cells, no? > > No, it is supposed to export arbitrary text as valid LaTeX. At least, that is my understanding. So it's a YES, because I was saying the same thing. Or maybe we disagree about whether a function written for exporting to LaTeX should or should not expect LaTeX markup. > Again, the function being discussed is specific to LaTeX, AFAIU, so > this is unlike the more-general issue of spell-checking an arbitrary > buffer. It is more like a hypothetical command ispell-latex-buffer > (if it were to exist). Don't you agree? > > The point I was trying to make is that LaTeX-specific code belongs in LaTeX-specific modes and modules, not > in ispell.el or table.el. I don't think I agree with such a radical approach. From where I stand, there's nothing wrong with having LaTeX-specific features in modes that are more general. In any case, this is beyond the immediate issues discussed in this bug report, I think. Broken code must be fixed.