From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Reuben Thomas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71364: Fix Table.el export Date: Sat, 8 Jun 2024 11:59:52 +0100 Message-ID: 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> Reply-To: Reuben Thomas Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000723ba6061a5ed1e4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13382"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pranshusharma366@gmail.com, lockywolf@gmail.com, 71364@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 08 13:02:03 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 1sFtpi-0003Jp-0B for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Jun 2024 13:02:02 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFtpU-0006b6-U2; Sat, 08 Jun 2024 07:01:48 -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 1sFtpT-0006ao-2R for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 07:01: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 1sFtpS-0007ej-Qp for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 07:01:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sFtpi-0003iN-HI for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 07:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Jun 2024 11:02: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.171784448914232 (code B ref 71364); Sat, 08 Jun 2024 11:02:02 +0000 Original-Received: (at 71364) by debbugs.gnu.org; 8 Jun 2024 11:01:29 +0000 Original-Received: from localhost ([127.0.0.1]:37540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFtpA-0003hU-NF for submit@debbugs.gnu.org; Sat, 08 Jun 2024 07:01:29 -0400 Original-Received: from mail-yb1-f174.google.com ([209.85.219.174]:53581) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFtp7-0003hD-49 for 71364@debbugs.gnu.org; Sat, 08 Jun 2024 07:01:27 -0400 Original-Received: by mail-yb1-f174.google.com with SMTP id 3f1490d57ef6-dfaff6bf125so1356864276.3 for <71364@debbugs.gnu.org>; Sat, 08 Jun 2024 04:01:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1717844404; x=1718449204; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=CPQnU/11g4W391UIh/UzVSQKWZ+1YiCadFEswhZ3a7s=; b=BcnAQG7n03YiKglKAgbJzQIa+jw8KE9Yipz4KHh9baTBc/2qiEaTc7pXjUNduf/qxC 3NuiM65gvw8mqIlgX3g+aAPCxcdUYFpjTnV5JME7aEuo4gIFUBqtf33MwyB2v64Dgo9e 2ifOOWhCs56/+WIaXBxwbH8urfzdokVSlUnXw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717844404; x=1718449204; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CPQnU/11g4W391UIh/UzVSQKWZ+1YiCadFEswhZ3a7s=; b=dnvm96UInvyFlxj3KZtGGVjuupKh4coT+Zn8ftTxgOx566y9/yjJoWM6QnsfCYNWIg zOYyBbq0NvVO16ZV/HH9GeV+jqm+G0u3KPXYLhL65MnGxOOcRNJShodQeS6AnnMbxGHf 21fQmlie4+wj3Ff7ECrLEripSd0V8pWl3dbjC0+C+kLBUGQGxlPyZokJ6K9pdDWGtzMa wZFxXce+DYI2+sTu9jSTTz7lEOPXBUBHZwzvgQT2Pmaxla+0++n2bWFZBYi2ezB9RlZC hDDpqpev9HUdgrUALcGOSWmDqT1wWMQgKOw9bkblYbM3NUKVTIXNvFM8HxDyDf46Qlkm b9Ow== X-Forwarded-Encrypted: i=1; AJvYcCWgzBAtK3Y88aJouGff4I/MCzTrGVDi9P389tWwDtubN02cQS+C/fYUDSlVEM0cCXLy1XLIK8M07FEfmWSSH8mkmR3cm1E= X-Gm-Message-State: AOJu0YyyRjGTSsrTLEtsXF4KqO4K7C1n7bgvqjbdxLM4svk5CI+ZKfVY MVm8ONPuhRtuhREB5gF+Ej5ydzfISn4WSOF6zAeMHve6Jsk9+Rm6AcfR48jw5zZd0TlthsEdjQe 3Fgd0cxe4SM3PHupADE6dDuqy2EHZ8SByo2oOIA== X-Google-Smtp-Source: AGHT+IGx5dfBasfU649G679eBxloOcfIOUUOV/2iW/JYReJLjzpPojhx82W+ZODxU/IZVffLwPzgqVZ6VkjO2uO7kig= X-Received: by 2002:a25:804f:0:b0:dfa:57e2:8190 with SMTP id 3f1490d57ef6-dfaf66d1abcmr4507551276.52.1717844403426; Sat, 08 Jun 2024 04:00:03 -0700 (PDT) In-Reply-To: <8634pnemgn.fsf@gnu.org> 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:286827 Archived-At: --000000000000723ba6061a5ed1e4 Content-Type: text/plain; charset="UTF-8" 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 < > lockywolf@gmail.com>, > > 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. 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. -- https://rrt.sc3d.org --000000000000723ba6061a5ed1e4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, 8 Jun 2024 at 11:51, Eli Zaretskii <eliz@gnu.org> wrote:
> From: Reuben Thomas <rrt@sc3d.org>
> Date: Sat, 8 Jun 2024 11:05:25 +0100
> Cc: Pranshu <pranshusharma366@gmail.com>, Vladimir Nikishkin <lockywolf@gmail.com>,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0
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 tha= t 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 ta= ble 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?
<= div>
No, it is supposed to export arbitrar= y text as valid LaTeX. At least, that is my understanding.

Again, the function being discussed is specific to LaTeX, AFAIU, so
this is unlike the more-general issue of spell-checking an arbitrary
buffer.=C2=A0 It is more like a hypothetical command ispell-latex-buffer (if it were to exist).=C2=A0 Don't you agree?

The point I wa= s trying to make is that LaTeX-specific code belongs in LaTeX-specific mode= s and modules, not in ispell.el or table.el.

= --
--000000000000723ba6061a5ed1e4--