From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeremy Bryant 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, 06 Jul 2024 23:25:11 +0100 Message-ID: <874j92qhtk.fsf@jeremybryant.net> 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> <861q57el7i.fsf@gnu.org> <87plsqlopz.fsf@gmail.com> <86a5jubkg4.fsf@gnu.org> <86cyo9iadt.fsf@gnu.org> <86cynr55ps.fsf@gnu.org> <87plrqy39e.fsf@laptop.lockywolf.net> Reply-To: Jeremy Bryant Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1913"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pranshusharma366@gmail.com, Eli Zaretskii , 71364@debbugs.gnu.org, rrt@sc3d.org To: Lockywolf Laptop Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 07 00:26:35 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 1sQDrW-0000Ji-TU for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Jul 2024 00:26:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQDr5-0007Rx-R4; Sat, 06 Jul 2024 18:26:07 -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 1sQDqx-0007M8-5S for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2024 18:26:00 -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 1sQDqw-00036u-Tm for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2024 18:25:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sQDr0-0006RX-G4 for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2024 18:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jeremy Bryant Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Jul 2024 22:26: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.172030475524751 (code B ref 71364); Sat, 06 Jul 2024 22:26:02 +0000 Original-Received: (at 71364) by debbugs.gnu.org; 6 Jul 2024 22:25:55 +0000 Original-Received: from localhost ([127.0.0.1]:46919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQDqt-0006R9-FC for submit@debbugs.gnu.org; Sat, 06 Jul 2024 18:25:55 -0400 Original-Received: from out-171.mta0.migadu.com ([91.218.175.171]:15647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQDqs-0006Qv-0A for 71364@debbugs.gnu.org; Sat, 06 Jul 2024 18:25:54 -0400 X-Envelope-To: rrt@sc3d.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net; s=key1; t=1720304714; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IdxChaSdlG0BNijaGHZzA7vLgpnCt9tJ5gTJvo+IdLQ=; b=bFiAcrpblzgGxdjlBDJj5sWcc50wRwjCVEWAvOr29A41d0Sq9l2J1nTgnE72W1ZBwtEaon FjiW7mXuRqKwpMTE5UWa5Ok7gDof4BLV3iKbxZtbylCfvGnwdwacPx1ZtacslKimJd85ze J4SHUw6rN+3dwV6Gu3jQdAl622cpBoZrhRGuDn1//rM9nTZkRKfIlrux0eshjBGV45VEUB N0BzIpqHLbseMivV9K9ZzzBgr+ZCROz10ipzJWqwjxf+ZJ4H1RnjZsrDzweetqB/wrW5pp xk/WAVELt3avfq5Mz0Ealz63nj05R8mkkfrg3PPcdmyTcWMzXx4IMramTxE51g== X-Envelope-To: 71364@debbugs.gnu.org X-Envelope-To: pranshusharma366@gmail.com X-Envelope-To: eliz@gnu.org X-Envelope-To: lockywolf@gmail.com X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-Reply-To: <87plrqy39e.fsf@laptop.lockywolf.net> (Lockywolf Laptop's message of "Sat, 06 Jul 2024 22:00:45 +0800") X-Migadu-Flow: FLOW_OUT 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:288527 Archived-At: Lockywolf Laptop writes: >>should or should not expect LaTeX markup > > How much of LaTeX markup? > What if you add some mysterious \makeatletter there? > > I generally agree with Reuben that making this work is a thing hard to > get right. > > Moreover, as I mentioned above, I only used table.el with org-mode, but > I can't remember for sure what happens if one uses org-links in the > table.el cells. Do they become latex href links? Or links to images? Do > they turn into \includegraphics? Latex math is part of org, so I > presume, it is expected to somehow work, but I am not sure how. > >>In any case, this is beyond the immediate issues discussed in this bug >>report, I think. Broken code must be fixed. > > I don't think it is a bug. It is an intentional limitation of scope, > which implements a crude but simple way of producing valid outputs, > albeit not 100% functional. > I concur - why is it a bug? (as opposed to a feature extension) To write LaTeX documents, including with tables, there are dedicated major modes. On the other hand, table.el's Commentary states ;; This package provides text based table creation and editing ;; feature. With this package Emacs is capable of editing tables that ;; are embedded inside a text document, the feature similar to the The primary input appears plain text, with the export to LaTeX a convenience. So it appears that the problem is approached the wrong way around? >From this point of view how practical or desirable (feature duplication) is it to allow the processing of a smaller or larger subset of LaTeX within table.el?