Received: (at 71364) by debbugs.gnu.org; 1 Mar 2025 02:09:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 28 21:09:38 2025 Received: from localhost ([127.0.0.1]:55985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1toCIM-0002PX-HQ for submit <at> debbugs.gnu.org; Fri, 28 Feb 2025 21:09:38 -0500 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]:52525) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1toCIJ-0002Oe-Er; Fri, 28 Feb 2025 21:09:35 -0500 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-aaedd529ba1so286557566b.1; Fri, 28 Feb 2025 18:09:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740794969; x=1741399769; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=bZEQwJ6lxgRbO/EGC7OpuJmx8kpV++u+srczPIkJN7k=; b=Sq37IzG1TpBUFH4XolNumz7s0c+xy4/gailHdBr93C+FnBbfIxmSLUlAm7E1cyxDM7 WculNCKo0Dtv/V8flJyHC6AgLlpSA7N9Mng2yHl8Ngr0o8zSpODVkt56FQ0V/uKKM+/9 hlJdG6YtQlhq2qwLYtss//MvS9O28PqqqoU4LLlMj0R7kAdkLe+SD90KUclOMWQryX4y +iizP4WGys2V2rk9mRVEt3gw2iMyNQbEo42hdzQtIKxGXLqIbXw4qa32LrZfRxpw46lJ aoPhMRCz0bf5ZTRGi+Dw18w7o9Kt/do3sfPRD+pxMEXhB8vky8pgTPmsB3CJ2xw/oXKA 9wkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740794969; x=1741399769; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bZEQwJ6lxgRbO/EGC7OpuJmx8kpV++u+srczPIkJN7k=; b=WDwYgS5rNNL55OaENhAEjfNuYgWlYIedAz3V0h9k6X26mZ5GfM1LAS3/ktrfEHHbso 7RVdFz0rLM69uI0gU1NKrXwV68Cr/mCEd0C/5uzAH1tL0xpHhnDHozTT+xt9SfONuYvE vosbGqN4WAyS0+cgoTemFPfZnw5epwa7ZnAvZgzwPlb3DfTIyyAiGQ6wQxXeuEqBJx+1 rRHanrSsFHIewKYdht1U50a1XCZuLePNO8MdPQQoP6ngVvHuHq94BR1hQo+nr1l42dU9 FwSXUwQ87omXZmTbHrz6FljuN6n7ifCyhDWlB9c2MKo54N2nYfQcy8lhUTnOgsaz82yE l3BQ== X-Forwarded-Encrypted: i=1; AJvYcCUdj6DkVpX966zUfTHVP9MaZffO/8MX6/QkMBSCilqxRThjZTzDbTjBpxNvm5I4DnFh6ScwNAM=@debbugs.gnu.org, AJvYcCUuEYwrKG3A5nsah19Q0mjigyq0qiM2gO2gJpTGktWq6hgJVonOv+OXe8G79NRRVL2Nu+X54A==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxtRhsX8idn0EA0I3pv5ejo5Zo9mchqdIc1g7elTSEmVzB0v/cJ OCMFS2kEY/oft341WZCcozbORIFNMrGJNm0GwyuuOmfE5tx1E08R4sQCPESMFuKUkB8BnthUppY To7TQkJpoHH85Te+TVq78sn+IMoU= X-Gm-Gg: ASbGnctDqSujxGwBMBYY/A1rjLqKryDyC6EEfRCxbcGyVhFKerBq1ejQmp3BWYdVvkQ WzoWa8jgNyI7Yg2qHgYUzgAiE76O+uqA8bpc0UgEHenEhiB/V9/XYP9rCyCv3YvuMTi+H50JYER 7iK7/7ND0mrSM4wgVjPCogcIfJ7l4= X-Google-Smtp-Source: AGHT+IFBDCsFQ1tRhHsDru/EIJzJw0x5IJdDc8Pob4UIe4fbq6CrVHvA9fZQBKtFh1LmwKSsd59GQ5bwRCz2mNlWCBg= X-Received: by 2002:a05:6402:13ca:b0:5d0:c697:1f02 with SMTP id 4fb4d7f45d1cf-5e4d6af43famr12456808a12.17.1740794969034; Fri, 28 Feb 2025 18:09:29 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 28 Feb 2025 18:09:28 -0800 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <87ttgznizf.fsf@HIDDEN> References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> <86jzj1f2fb.fsf@HIDDEN> <87h6e4jiav.fsf@HIDDEN> <86le3gdjm3.fsf@HIDDEN> <CAOnWdohP78ixXpin2vhi88O71sNhVeV+gWG5cSSEHxxAE2u49Q@HIDDEN> <8634pnemgn.fsf@HIDDEN> <CAOnWdogo91OnvZL3iyoDBB5Gs2o+O0mEzZvqeJxP2NPEeL+U-g@HIDDEN> <861q57el7i.fsf@HIDDEN> <87plsqlopz.fsf@HIDDEN> <86a5jubkg4.fsf@HIDDEN> <CADqFYwboOkRCGSwBUzXT6R24BWze64yhJHvRhoJVq_7-LZ_U=w@HIDDEN> <86cyo9iadt.fsf@HIDDEN> <86cynr55ps.fsf@HIDDEN> <87plrqy39e.fsf@HIDDEN> <87ttgznizf.fsf@HIDDEN> MIME-Version: 1.0 Date: Fri, 28 Feb 2025 18:09:28 -0800 X-Gm-Features: AQ5f1JrM1K6_KzMOHsTvIUFegQ7FegkjK8247gla97s4i78AO2ICTf9CtdgsW4I Message-ID: <CADwFkmmngyc78d7SG2adPUXRGXTRdD=16+Uq3RtyU+bCgO-dEA@HIDDEN> Subject: Re: bug#71375: 30.0.50 To: Pranshu <pranshusharma366@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71364 Cc: Lockywolf Laptop <lockywolf@HIDDEN>, 71375 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, 71364 <at> debbugs.gnu.org, rrt@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Pranshu <pranshusharma366@HIDDEN> writes: >> If I may, I would ask Mr Pranshu to spend a bit more work on this patch, >> and do some straightforward, albeit a little tedious work to make this >> patch more pleasant. May I? >> > > Yeah sure, but not rn. I am kind of busy for 2 weeks, then I will be > able to do it. Pranshu, did you make any progress here?
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 9 Jul 2024 07:06:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 09 03:06:27 2024 Received: from localhost ([127.0.0.1]:52028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sR4vi-0001K0-R2 for submit <at> debbugs.gnu.org; Tue, 09 Jul 2024 03:06:27 -0400 Received: from mail-pl1-f180.google.com ([209.85.214.180]:42074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pranshusharma366@HIDDEN>) id 1sR4vg-0001Jl-Ku for 71364 <at> debbugs.gnu.org; Tue, 09 Jul 2024 03:06:25 -0400 Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1fb0d88fd25so31141075ad.0 for <71364 <at> debbugs.gnu.org>; Tue, 09 Jul 2024 00:06:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720508713; x=1721113513; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=jcouLXIaj/INYX9UTNJppW/U+Ep5WM6t6Cg9HzYyMxo=; b=l6YCZ3LdfRyRwBmiEdUFp7Y+YHBXys0wYX70H1LDjF5cY1rt4VC/1YQlBTuFQuHn+n Otw+SaapiHOzKQEHsHcJ9G5N+Mu0+5jqFvzJpxCK5z2FnDnLBsj+me4ugAAj6Wnc6o0S wYPsjYbssOWr9DHbgQKplsYxutVHMUUF3RdnszZSb+Sch4KK+JJdPmAxSmPlisAWZlhF yS68OKQPr4Fituft0c7H74uO7+BbPxsh8oKDJehH74Lvja3YjwTOmVxyeFOW8BQG73vt 8kYOnxYTMck2fYhtribR6gNTPzEvWv2qal/OldYkI57BOYqHZPZBi/qRLyNVgoCYzxqT o4Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720508713; x=1721113513; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jcouLXIaj/INYX9UTNJppW/U+Ep5WM6t6Cg9HzYyMxo=; b=kNUe8F8yaps263sLgXogiCf1r7L6547SeVcyZ0EdELi5SqKSMTvSWFn3C9aqgpmOkj snyxH57rb76ITRyTvqyihBEbkGvnTlc4FfMPWcjMe9HcElxIA/3p1GFut8vR+M0xocdN q4g97FpsatBUX5/BRAYuTgEn1hRbS8WbnlLHOA6Jq9yEeaxyDSxmRWgKSrMRWfsiJUNT /FQVA71nRu/AVs8m+8/2E3sr4gadJLeZh6KuXpBskYSkwhz9O1OIiqF1/mAoNUjtcS4x IvF99XyaOwBZy69T6HqtuTkgIToqJJXssC2trUxIMiTb+dGi4e3oRstlaM5etJoGmkah 937w== X-Forwarded-Encrypted: i=1; AJvYcCWcV97wWCgWgyghPE8zB3QmAtUMLXk1hdGlR9M4/nTFw4nUQ4gTLAOJO9ZOY44OTZBLxU35Q8zndbsLRtv7lrcEvEYzWzk= X-Gm-Message-State: AOJu0YyevqQQVGVurD7kLDXLyXvrQA0+Ney+Fm4+7l6zFN43XF5Shoam EOQkstKEm33vAgqPSsRZri/9fEx4PJ/GJfPntd+rFxc4tuK/UAss X-Google-Smtp-Source: AGHT+IF0oau+7G1mlWQFg++EaHnpdMGgxyc3Z/LHt8GTTxeg95FwcZ5Hdiotl/utXM1CxU0pmyqbCA== X-Received: by 2002:a17:903:1ca:b0:1fb:15ff:8499 with SMTP id d9443c01a7336-1fbb7f3c2d0mr20184445ad.4.1720508713216; Tue, 09 Jul 2024 00:05:13 -0700 (PDT) Received: from pebl ([2001:8003:7816:8300:7f15:5962:16a0:6470]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fbb6ad5172sm9098305ad.285.2024.07.09.00.05.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jul 2024 00:05:12 -0700 (PDT) From: Pranshu <pranshusharma366@HIDDEN> To: Lockywolf Laptop <lockywolf@HIDDEN> Subject: Re: bug#71364: Fix Table.el export In-Reply-To: <87plrqy39e.fsf@HIDDEN> (Lockywolf Laptop's message of "Sat, 06 Jul 2024 22:00:45 +0800") References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> <86jzj1f2fb.fsf@HIDDEN> <87h6e4jiav.fsf@HIDDEN> <86le3gdjm3.fsf@HIDDEN> <CAOnWdohP78ixXpin2vhi88O71sNhVeV+gWG5cSSEHxxAE2u49Q@HIDDEN> <8634pnemgn.fsf@HIDDEN> <CAOnWdogo91OnvZL3iyoDBB5Gs2o+O0mEzZvqeJxP2NPEeL+U-g@HIDDEN> <861q57el7i.fsf@HIDDEN> <87plsqlopz.fsf@HIDDEN> <86a5jubkg4.fsf@HIDDEN> <CADqFYwboOkRCGSwBUzXT6R24BWze64yhJHvRhoJVq_7-LZ_U=w@HIDDEN> <86cyo9iadt.fsf@HIDDEN> <86cynr55ps.fsf@HIDDEN> <87plrqy39e.fsf@HIDDEN> Date: Tue, 09 Jul 2024 17:05:08 +1000 Message-ID: <87ttgznizf.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 71364 Cc: Eli Zaretskii <eliz@HIDDEN>, 71364 <at> debbugs.gnu.org, rrt@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) Hello Vladimir Lockywolf Laptop <lockywolf@HIDDEN> writes: >>should or should not expect LaTeX markup > > How much of LaTeX markup? > What if you add some mysterious \makeatletter there? > My idea was that the default should still be that all latex specific charecters are escaped by default, and the variable is customized by those who know what the specific function or markup does. > > If I may, I would ask Mr Pranshu to spend a bit more work on this patch, > and do some straightforward, albeit a little tedious work to make this > patch more pleasant. May I? > Yeah sure, but not rn. I am kind of busy for 2 weeks, then I will be able to do it. > 1. Add a check to table--generate-source-scan-lines, which would > actually check that the variable _language equals to latex, and bail out > if it is not. Silently doing export to latex if html output is requested > is even worse than politely refusing. Is that really neccasary, because all that the function does it latex specific. Why not just rename the function to something latex specific, eg table--generate-source-scan-lines-latex. > 2. Implement a defcustom table-el-cell-export-function-latex, which would be > called on each cell. > 3. Implement a default value for this function, which should basically > amount to factoring out the code already in > table--generate-source-scan-lines. This way nothing will break. > This function maybe called table-el-cell-export-latex-default > 3. Implement a copy of this function, with support for additional > escaping tricks needed by Mr Pranshu. It can be called > table-el-cell-export-latex. I do not think that a special defcustom > for the regexp is needed, because such export functions can be expected > to be written by people who need them necessarily in an ad-hoc way, and > customisations might not be well described by just a regexp. > > It is a bit of work, but at least it will add some necessary extension > points. And org-mode, when exporting to table.el used in org files, > could override that cell export function to its own benefit. > > (By the way, I haven't checked, but probably org-mode already has some > additional support for exporting table.el? I remember successfully > exporting org-files with table.el tables into html, which is seemingly > not supported in table.el itself.) I haven't really played with the html org export, but as of now table.el does have an html export. All org mode does is calles the appropiate export, so it does no sort checking text inside the table. For example you cannot do org itallics, citing, and any of that stuff inside the table. To change this I think table.el would need a major rewrite that allows for something like your idea of having a function called to all of the text inside the table. Instead of just improving the latex export and leaving the others in the dust, how about we do what you suggested, but instead of having seperate functions for each export, we make the exports a list. All of the table exports basiclly do the same thing: - Add some header text - Replace column and row delimeters - add end text - optional: escape text Honestly I think table.el is due for a rewrite, if you have used it before yk what I mean, on average it's about half a second latency to type one charecter. Personally I think that instead of having a table.el version of every basic command, eg self insert, kill line, it would be better to add a post command hook and do damage control depending on the last command. Kind Regards, Pranshu
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 6 Jul 2024 22:25:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 06 18:25:55 2024 Received: from localhost ([127.0.0.1]:46919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sQDqt-0006R9-FC for submit <at> debbugs.gnu.org; Sat, 06 Jul 2024 18:25:55 -0400 Received: from out-171.mta0.migadu.com ([91.218.175.171]:15647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jb@HIDDEN>) id 1sQDqs-0006Qv-0A for 71364 <at> debbugs.gnu.org; Sat, 06 Jul 2024 18:25:54 -0400 X-Envelope-To: rrt@HIDDEN 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 <at> debbugs.gnu.org X-Envelope-To: pranshusharma366@HIDDEN X-Envelope-To: eliz@HIDDEN X-Envelope-To: lockywolf@HIDDEN X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and include these headers. From: Jeremy Bryant <jb@HIDDEN> To: Lockywolf Laptop <lockywolf@HIDDEN> Subject: Re: bug#71364: Fix Table.el export In-Reply-To: <87plrqy39e.fsf@HIDDEN> (Lockywolf Laptop's message of "Sat, 06 Jul 2024 22:00:45 +0800") References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> <86jzj1f2fb.fsf@HIDDEN> <87h6e4jiav.fsf@HIDDEN> <86le3gdjm3.fsf@HIDDEN> <CAOnWdohP78ixXpin2vhi88O71sNhVeV+gWG5cSSEHxxAE2u49Q@HIDDEN> <8634pnemgn.fsf@HIDDEN> <CAOnWdogo91OnvZL3iyoDBB5Gs2o+O0mEzZvqeJxP2NPEeL+U-g@HIDDEN> <861q57el7i.fsf@HIDDEN> <87plsqlopz.fsf@HIDDEN> <86a5jubkg4.fsf@HIDDEN> <CADqFYwboOkRCGSwBUzXT6R24BWze64yhJHvRhoJVq_7-LZ_U=w@HIDDEN> <86cyo9iadt.fsf@HIDDEN> <86cynr55ps.fsf@HIDDEN> <87plrqy39e.fsf@HIDDEN> Date: Sat, 06 Jul 2024 23:25:11 +0100 Message-ID: <874j92qhtk.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 71364 Cc: pranshusharma366@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, 71364 <at> debbugs.gnu.org, rrt@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Lockywolf Laptop <lockywolf@HIDDEN> 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?
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 6 Jul 2024 15:01:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 06 11:01:40 2024 Received: from localhost ([127.0.0.1]:46559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sQ6ux-0003Or-N7 for submit <at> debbugs.gnu.org; Sat, 06 Jul 2024 11:01:40 -0400 Received: from mail-ed1-f53.google.com ([209.85.208.53]:59743) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <lockywolf@HIDDEN>) id 1sQ6uv-0003Oi-Dn for 71364 <at> debbugs.gnu.org; Sat, 06 Jul 2024 11:01:38 -0400 Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-57cf8880f95so3296493a12.3 for <71364 <at> debbugs.gnu.org>; Sat, 06 Jul 2024 08:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720278033; x=1720882833; darn=debbugs.gnu.org; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=FFzrfn6aUMp8SBgLykiKW+1seXrNC2gHdHsjX9rWst4=; b=OwbCZdPf2DYjc6oX1OQgOlWrbw5vltCxKcd07Sv3fgJgSd37PXYwgM6oXbfvnbD6Cg 5xe63J4XyT8aoRGQuww9Ffn6D0Uqw1XSYQu8ClJSW64xxmIzboYPh+HEpJ55JyTbInS2 k95yyA3MjThmQp30u0rDM3qniL3PNpTUK9PlmolRqpJg3GD6Boh+s7FM9uhEiHg2vjyA OdTfYH/6PLCJrGMeoXM7KELUBhnN6hUaNOyG7iDTcobl1E1VBNNPcZj0O3DnzMnYn9SI elq3DmFxRuvf2Qqyd6uZkRy+NFTXbMm1KpsiyvOjX/JEiWhvtJwohYCFj0mzig5/Fb+B DUdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720278033; x=1720882833; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FFzrfn6aUMp8SBgLykiKW+1seXrNC2gHdHsjX9rWst4=; b=q3nZ0tn67mBpjikyg6JdyFR9yYCeOZTcJLoc6r1yCW6VCiXu7nqjYGZ7KHewz4HUbp 8GmoZc5aZkyPxp7qpA3VvGbD+1IEhrgljIYygynurFpKAARgZNqgFNpjmzU7+vKUlf8s I43xHEwJfNaSezNtQ5HPKZJi40nOsyrxc3/Qc6bUBKh+rcFl+06Uw2XUtIZ3YsaMU8FQ 2buBWayZ71YY52CL0tgS5ECypdDiZBLlQZVH6uIda3TJ7Rg8ypgLZVZ+Mc4iktP/YCBH kznnhqU6ekBbeNg4EkTvMm+rsm1BNmDuGUGIB/kyckZ+KLuw0kwtlafn9vlVK+gRWPb6 9UPw== X-Forwarded-Encrypted: i=1; AJvYcCVTbdhkJ4Lu5VNr2DsV4w1M4547WlKzAPDSrxK9pJZ50jpa+ZDmEbyZ9vjuzslvxT3nXQ2L0njaczGkISj/E/yu6JRzvNM= X-Gm-Message-State: AOJu0YzrqCQu7SkBDEkwflroTRYpk56BD3a7jZJkK8bdfnt88oQ3bkYg z8mj4ZNE0uX1AqcRo7YjXUxo09VA6hAD1eLSCwBBH9rUYMenZAHq X-Google-Smtp-Source: AGHT+IG74xL6AVQI4lZgvcFzTzmgY2cTJ5du7b0GzcIZ10XwIu1tlGeRvNJcDNn7jiucQqBnsqz1KA== X-Received: by 2002:a05:6402:50c7:b0:57d:2c9:6497 with SMTP id 4fb4d7f45d1cf-58e5a7f0fd0mr6595317a12.3.1720278032493; Sat, 06 Jul 2024 08:00:32 -0700 (PDT) Received: from laptop.lockywolf.net ([2001:470:24:315::102]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-58d6b90e2aasm4198239a12.82.2024.07.06.08.00.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jul 2024 08:00:31 -0700 (PDT) References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> <86jzj1f2fb.fsf@HIDDEN> <87h6e4jiav.fsf@HIDDEN> <86le3gdjm3.fsf@HIDDEN> <CAOnWdohP78ixXpin2vhi88O71sNhVeV+gWG5cSSEHxxAE2u49Q@HIDDEN> <8634pnemgn.fsf@HIDDEN> <CAOnWdogo91OnvZL3iyoDBB5Gs2o+O0mEzZvqeJxP2NPEeL+U-g@HIDDEN> <861q57el7i.fsf@HIDDEN> <87plsqlopz.fsf@HIDDEN> <86a5jubkg4.fsf@HIDDEN> <CADqFYwboOkRCGSwBUzXT6R24BWze64yhJHvRhoJVq_7-LZ_U=w@HIDDEN> <86cyo9iadt.fsf@HIDDEN> <86cynr55ps.fsf@HIDDEN> User-agent: mu4e 1.10.7; emacs 30.0.50 From: Lockywolf Laptop <lockywolf@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#71364: Fix Table.el export Date: Sat, 06 Jul 2024 22:00:45 +0800 In-reply-to: <86cynr55ps.fsf@HIDDEN> Message-ID: <87plrqy39e.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71364 Cc: pranshusharma366@HIDDEN, 71364 <at> debbugs.gnu.org, rrt@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Apologies for a delay. My life has been a little hectic recently. While I have, indeed, contributed a bit to the table.el's support for latex, I can't say that I am a big guru either on table.el or on latex. I used table.el instead of native org tables because table.el supports multiline cells, which I needed to write parallel texts in several languages, naturally having different number of lines per passage. So it is, indeed, "somewhat useful and working" for people not using mathematics. I have never tried writing latex code into table cells, and although I agree that multiline tables might be useful with support for mathematics, I also quite agree that making LaTeX work as expected is hard, even when not using language-to-language transformations. I can see why everything was escaped in the past, because it is the easiest way to make sure that "everything at least compiles" even if the result is not what one would expect naively. (As a side-note, using the dollar signs in LaTeX mathematics is a bad practice, because identical delimiters serving different roles when in an even or odd position easily confuse the parser. Using \(\) and \[\] is strongly preferred.) >So it's a YES, because I was saying the same thing. If you look at the const called table-source-languages, it should imply that there "should" be export to languages other than LaTeX, but as already mentioned, table--generate-source-scan-lines does not support any language other than LaTeX, because nobody implemented, I guess. >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. However I do not want to outright recommend rejection of the patch. After all, implementing "simple math" is a valid desire for someone who wants to print a table of integrals. If I may, I would ask Mr Pranshu to spend a bit more work on this patch, and do some straightforward, albeit a little tedious work to make this patch more pleasant. May I? 1. Add a check to table--generate-source-scan-lines, which would actually check that the variable _language equals to latex, and bail out if it is not. Silently doing export to latex if html output is requested is even worse than politely refusing. 2. Implement a defcustom table-el-cell-export-function-latex, which would be called on each cell. 3. Implement a default value for this function, which should basically amount to factoring out the code already in table--generate-source-scan-lines. This way nothing will break. This function maybe called table-el-cell-export-latex-default 3. Implement a copy of this function, with support for additional escaping tricks needed by Mr Pranshu. It can be called table-el-cell-export-latex. I do not think that a special defcustom for the regexp is needed, because such export functions can be expected to be written by people who need them necessarily in an ad-hoc way, and customisations might not be well described by just a regexp. It is a bit of work, but at least it will add some necessary extension points. And org-mode, when exporting to table.el used in org files, could override that cell export function to its own benefit. (By the way, I haven't checked, but probably org-mode already has some additional support for exporting table.el? I remember successfully exporting org-files with table.el tables into html, which is seemingly not supported in table.el itself.) P.S. Thank you Reuben for workign on ispell.el. I think that Emacs would benefit from improved spellchecking, but I myself didn't have time to explore it with sufficient assiduity. Eli Zaretskii <eliz@HIDDEN> writes: > Ping! Vladimir, could you please respond? > >> Cc: 71364 <at> debbugs.gnu.org, rrt@HIDDEN >> Date: Sat, 22 Jun 2024 12:39:58 +0300 >> From: Eli Zaretskii <eliz@HIDDEN> >>=20 >> > From: Pranshu <pranshusharma366@HIDDEN> >> > Date: Fri, 21 Jun 2024 18:25:46 +1000 >> > Cc: rrt@HIDDEN, lockywolf@HIDDEN, 71364 <at> debbugs.gnu.org >> >=20 >> > How about now, it has been about 2 weeks >>=20 >> I'd like to hear from Vladimir as well. >>=20 >> Vladimir, would you please chime in and comment on this proposal? >>=20 >>=20 >>=20 >>=20 =2D-=20 Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSTMHxkD/VtClPgIR6rQgvAgoM78wUCZolcBAAKCRCrQgvAgoM7 8y5iAP91EsmjVL4NQQeSb1yZAtp3lxk3E3Gs0rlQuGQkCFNBjAEAkkQcbNogwFfc QGE81XSeSu2HY8svBo/PlaJXVeqamws= =itSx -----END PGP SIGNATURE----- --=-=-=--
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 6 Jul 2024 07:40:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 06 03:40:12 2024 Received: from localhost ([127.0.0.1]:45501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sQ01k-0005ME-Bt for submit <at> debbugs.gnu.org; Sat, 06 Jul 2024 03:40:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sQ01h-0005Lw-NF for 71364 <at> debbugs.gnu.org; Sat, 06 Jul 2024 03:40:10 -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 <eliz@HIDDEN>) id 1sQ01Y-0003th-I0; Sat, 06 Jul 2024 03:40:00 -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=Hr6vTH/h733Ak1R2NeAp57vWT6xYm2n9FtC+/Sd55Hw=; b=SFhjGeonzySZ F2Q3VBfcnNz2mdM+dLa9dVOrs637d7XON8ZI6+WeJtC+kGSPv3008ivH3aGE8JdNcg0F/FHTdYDfp qfxLAQ5Uu7+XRK1+I911U+pKk3jcNp0RAg7oifwkb5EpdfeaLR9WW8dvIMmGWaSoxJWgh3zlZew0N OJW84UNBFJENkrih8JhkAGzAz2iw3AhNiIj+T+h69d4R1sLDHJImRLUR/VqO8+/fghapAdZOh2yoX j9tSrxoYmyJobdGSa+Y460wiMREiC2rACF4nHVr6tvqz7FW3yqFEdukaqEb3/H/5IKh7VednVGT2+ Eja+t94K0zI3Gw/LEyqJ9w==; Date: Sat, 06 Jul 2024 10:39:59 +0300 Message-Id: <86cynr55ps.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: lockywolf@HIDDEN In-Reply-To: <86cyo9iadt.fsf@HIDDEN> (message from Eli Zaretskii on Sat, 22 Jun 2024 12:39:58 +0300) Subject: Re: bug#71364: Fix Table.el export References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> <86jzj1f2fb.fsf@HIDDEN> <87h6e4jiav.fsf@HIDDEN> <86le3gdjm3.fsf@HIDDEN> <CAOnWdohP78ixXpin2vhi88O71sNhVeV+gWG5cSSEHxxAE2u49Q@HIDDEN> <8634pnemgn.fsf@HIDDEN> <CAOnWdogo91OnvZL3iyoDBB5Gs2o+O0mEzZvqeJxP2NPEeL+U-g@HIDDEN> <861q57el7i.fsf@HIDDEN> <87plsqlopz.fsf@HIDDEN> <86a5jubkg4.fsf@HIDDEN> <CADqFYwboOkRCGSwBUzXT6R24BWze64yhJHvRhoJVq_7-LZ_U=w@HIDDEN> <86cyo9iadt.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71364 Cc: pranshusharma366@HIDDEN, 71364 <at> debbugs.gnu.org, rrt@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Ping! Vladimir, could you please respond? > Cc: 71364 <at> debbugs.gnu.org, rrt@HIDDEN > Date: Sat, 22 Jun 2024 12:39:58 +0300 > From: Eli Zaretskii <eliz@HIDDEN> > > > From: Pranshu <pranshusharma366@HIDDEN> > > Date: Fri, 21 Jun 2024 18:25:46 +1000 > > Cc: rrt@HIDDEN, lockywolf@HIDDEN, 71364 <at> debbugs.gnu.org > > > > How about now, it has been about 2 weeks > > I'd like to hear from Vladimir as well. > > Vladimir, would you please chime in and comment on this proposal? > > > >
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 22 Jun 2024 09:40:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 22 05:40:09 2024 Received: from localhost ([127.0.0.1]:44456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sKxE8-0001eY-PR for submit <at> debbugs.gnu.org; Sat, 22 Jun 2024 05:40:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sKxE6-0001eJ-U7 for 71364 <at> debbugs.gnu.org; Sat, 22 Jun 2024 05:40:07 -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 <eliz@HIDDEN>) id 1sKxE1-0000Jk-Hb; Sat, 22 Jun 2024 05:40: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=bISQHYA2+t2C+lDG253ZpY53ZdtgSf+J/RWlXl9j3jk=; b=L40h+qoS2duf 9pwhZ/HqG3wD7hZkLObuWMID7ez/6ntPtLfU7o/C+LA5emj15EcAjMZthE9im+dqpyioDyFsclKgF 5hG04tgXvX1NfoHA/cwjmcLByb9KJoh6ffHFfovB2lDKIW2MGZnq55ZBPONBW2K40ZXOuYuZXElcv a7PjgAgh7LsbHmUdCeLam5G5PFFymSMEmFwv1srgBYlZB3nRlWw1fGbdvBe77FSjCYN0zKgS91nhV peUtFYPDe7ci2I08Z/5F2f2Od1uGfkQ3lTyAue0P/R8nA18bODPACU3jJb25rVd7mz2p0p7PdNPtR V4uyvWmxW7QRY2UswYyBfA==; Date: Sat, 22 Jun 2024 12:39:58 +0300 Message-Id: <86cyo9iadt.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Pranshu <pranshusharma366@HIDDEN>, lockywolf@HIDDEN In-Reply-To: <CADqFYwboOkRCGSwBUzXT6R24BWze64yhJHvRhoJVq_7-LZ_U=w@HIDDEN> (message from Pranshu on Fri, 21 Jun 2024 18:25:46 +1000) Subject: Re: bug#71364: Fix Table.el export References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> <86jzj1f2fb.fsf@HIDDEN> <87h6e4jiav.fsf@HIDDEN> <86le3gdjm3.fsf@HIDDEN> <CAOnWdohP78ixXpin2vhi88O71sNhVeV+gWG5cSSEHxxAE2u49Q@HIDDEN> <8634pnemgn.fsf@HIDDEN> <CAOnWdogo91OnvZL3iyoDBB5Gs2o+O0mEzZvqeJxP2NPEeL+U-g@HIDDEN> <861q57el7i.fsf@HIDDEN> <87plsqlopz.fsf@HIDDEN> <86a5jubkg4.fsf@HIDDEN> <CADqFYwboOkRCGSwBUzXT6R24BWze64yhJHvRhoJVq_7-LZ_U=w@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71364 Cc: 71364 <at> debbugs.gnu.org, rrt@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Pranshu <pranshusharma366@HIDDEN> > Date: Fri, 21 Jun 2024 18:25:46 +1000 > Cc: rrt@HIDDEN, lockywolf@HIDDEN, 71364 <at> debbugs.gnu.org > > How about now, it has been about 2 weeks I'd like to hear from Vladimir as well. Vladimir, would you please chime in and comment on this proposal?
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 21 Jun 2024 08:27:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 21 04:27:10 2024 Received: from localhost ([127.0.0.1]:56830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sKZbx-0005oh-Qw for submit <at> debbugs.gnu.org; Fri, 21 Jun 2024 04:27:10 -0400 Received: from mail-ed1-f45.google.com ([209.85.208.45]:58520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pranshusharma366@HIDDEN>) id 1sKZbu-0005oF-Tk for 71364 <at> debbugs.gnu.org; Fri, 21 Jun 2024 04:27:08 -0400 Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-57cbc2a2496so2049351a12.0 for <71364 <at> debbugs.gnu.org>; Fri, 21 Jun 2024 01:27:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718958357; x=1719563157; 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=ukeeY96mh20Kv4gVUP6+jxHn8Q0zwhL3S1J8nlzDX8c=; b=JcGJ6l1QpvZ/hF4UB8bHky/lzUc3YVgzjzQKuab/KhE3IaBjUSbFbag8rnKSXqWfLu gSy+zNN9IhrRIQw2fqi7QR2/Y12suFNbKOshOr30p9lHkf3F8HUzCgvFxgQrlC0DFdBc DB+Cp+ERkBVC5ZElrh8pQsNd9jfsS4LNC6SGd5Peji6PfQjmFb5N337uP+JoLcZYgFtj 0h8lRBnN0ThvCvNDV1ZIA7z2AWIEwJmxn4AKZ3gE2oqbNLH/U0s/ioxv2LPRNKMtYQqH edVRK3PwLeHlW0U41QuYOvCh2u701SKSIIbf8ZC4iuqbHutE5h0BDQOTpQHkNRYMISK2 7ScA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718958357; x=1719563157; 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=ukeeY96mh20Kv4gVUP6+jxHn8Q0zwhL3S1J8nlzDX8c=; b=Jqt0gImcbGh4gvF49uO4yqsR5oVjK0NC8OvmHXIz5UTF+bXyqnEUUTZSh0K9ajWtfg WtDTyAq41M8AlLqgXQ7iCLf3v36zXgZzCJ5hNGrUCDIPG6wGRXr/Qnnnnaxo6OiFvbKL EHCXS+OziEMAfa9x9CH4GDW19eQCMvhre2kOGFKrvztu3YqPhNf1p9kN1oFevcgifpfB r8t84uE/XoKg5SrgRYmAMSmj6WB+QG0OoAtdXqVFBc3+7UUY2Y30Gzw6BUIzDhO4TOIc mUjHEX5PtsUmkcCNM9EL5OyB0/P0a9MKlca2ruTalLyCY4nip51jQLWZeH3IhlD5X2N0 0Fjw== X-Forwarded-Encrypted: i=1; AJvYcCUO5Y9mm0x20m4QZ6SvcWJw/s8wJjiGoeZADsNhiLhNEaAsMOdU4r84MAtWkQKCASjc18YSzo/Q2jq7MSXTtVpbS083Pzw= X-Gm-Message-State: AOJu0Yxh5k8wajAD4lQ+yTVwZbLMCGwGLSXCu5L2Wr4vR3Ca2+57Fuqn ZmhPD1Y5wR9MQXtJnR9+M/gF/W4QtwUJ8F3roOTtnHmVRvoqnrHN+7rUh/EMZGFifektkSyAdFP wD7R+oX8ehw5u78pn3QuRuIiA2nclIgLt X-Google-Smtp-Source: AGHT+IF5BFt2zkCvX4Caz8TTli18o14pyz8J8pDXmFswzVP3Gi4H7ON7quLss2b/fHK7jvJyH1xW1JwL9vs/M0JMTPA= X-Received: by 2002:a50:8747:0:b0:57c:db99:a131 with SMTP id 4fb4d7f45d1cf-57d07ed3a27mr5479000a12.29.1718958356443; Fri, 21 Jun 2024 01:25:56 -0700 (PDT) MIME-Version: 1.0 References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> <86jzj1f2fb.fsf@HIDDEN> <87h6e4jiav.fsf@HIDDEN> <86le3gdjm3.fsf@HIDDEN> <CAOnWdohP78ixXpin2vhi88O71sNhVeV+gWG5cSSEHxxAE2u49Q@HIDDEN> <8634pnemgn.fsf@HIDDEN> <CAOnWdogo91OnvZL3iyoDBB5Gs2o+O0mEzZvqeJxP2NPEeL+U-g@HIDDEN> <861q57el7i.fsf@HIDDEN> <87plsqlopz.fsf@HIDDEN> <86a5jubkg4.fsf@HIDDEN> In-Reply-To: <86a5jubkg4.fsf@HIDDEN> From: Pranshu <pranshusharma366@HIDDEN> Date: Fri, 21 Jun 2024 18:25:46 +1000 Message-ID: <CADqFYwboOkRCGSwBUzXT6R24BWze64yhJHvRhoJVq_7-LZ_U=w@HIDDEN> Subject: Re: bug#71364: Fix Table.el export To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="00000000000038390c061b622e6c" X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: How about now, it has been about 2 weeks On Sun, 9 Jun 2024 at 18:16, Eli Zaretskii wrote: > > From: Pranshu > > Cc: Reuben Thomas , lockywolf@HIDDEN, > 71364 <at> debbugs.gnu.org > > Date: Sun, 09 Jun 2024 14:33:28 +1000 > > > > > > Now that this is sorted, do you want me to send an updat [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (pranshusharma366[at]gmail.com) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (pranshusharma366[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 HTML_MESSAGE BODY: HTML included in message -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.208.45 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.208.45 listed in wl.mailspike.net] -0.0 T_SCC_BODY_TEXT_LINE No description available. 1.0 FREEMAIL_REPLY From and body contain different freemails X-Debbugs-Envelope-To: 71364 Cc: lockywolf@HIDDEN, 71364 <at> debbugs.gnu.org, rrt@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.8 (/) --00000000000038390c061b622e6c Content-Type: text/plain; charset="UTF-8" How about now, it has been about 2 weeks On Sun, 9 Jun 2024 at 18:16, Eli Zaretskii <eliz@HIDDEN> wrote: > > From: Pranshu <pranshusharma366@HIDDEN> > > Cc: Reuben Thomas <rrt@HIDDEN>, lockywolf@HIDDEN, > 71364 <at> debbugs.gnu.org > > Date: Sun, 09 Jun 2024 14:33:28 +1000 > > > > > > Now that this is sorted, do you want me to send an updated diff with a > > seperate variable for backslash? > > It isn't sorted yet, so please wait. > --00000000000038390c061b622e6c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">How about now, it has been about 2 weeks</div><br><div cla= ss=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, 9 Jun 2024= at 18:16, Eli Zaretskii <<a href=3D"mailto:eliz@HIDDEN">eliz@HIDDEN</= a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0p= x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">&g= t; From: Pranshu <<a href=3D"mailto:pranshusharma366@HIDDEN" target= =3D"_blank">pranshusharma366@HIDDEN</a>><br> > Cc: Reuben Thomas <<a href=3D"mailto:rrt@HIDDEN" target=3D"_blank= ">rrt@HIDDEN</a>>,=C2=A0 <a href=3D"mailto:lockywolf@HIDDEN" target= =3D"_blank">lockywolf@HIDDEN</a>,=C2=A0 <a href=3D"mailto:71364@debbugs.= gnu.org" target=3D"_blank">71364 <at> debbugs.gnu.org</a><br> > Date: Sun, 09 Jun 2024 14:33:28 +1000<br> > <br> > <br> > Now that this is sorted, do you want me to send an updated diff with a= <br> > seperate variable for backslash?<br> <br> It isn't sorted yet, so please wait.<br> </blockquote></div> --00000000000038390c061b622e6c--
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 9 Jun 2024 08:52:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 09 04:52:39 2024 Received: from localhost ([127.0.0.1]:53085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sGEI3-00036u-0F for submit <at> debbugs.gnu.org; Sun, 09 Jun 2024 04:52:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sGEI0-00036L-1W for 71364 <at> debbugs.gnu.org; Sun, 09 Jun 2024 04:52:37 -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 <eliz@HIDDEN>) id 1sGDiY-0001vn-VW; Sun, 09 Jun 2024 04:15:59 -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=Ar5mkuozbNmumt57w3sPw/8opmXuZtUm9UaN9AYsYWs=; b=acKn72GCQwub sz+vjlrnVtiXirCfukdWVK3xl7yrkVp3/kcfpG0nP7Hh0oaS5YpkdjC80+VlvWyHfgh5Ww4qcNmkC 3G93fHM42LIorVKMYRdMPWAbGtVkbwdQsAy1n3ivQpNvUs0qJS+Q0SWeS6hcCZpGHsWjBctXnAi7N OVtQT1QWkptmWHGFpzCYJQ6GyTltL0BUbaUG4t0w4AYxZfamTCye6HGmqk9FROaYdphaU/HV5GuxB GfJwffKNcrimJvgGbO8yc/7dHsd7LDFSSidQpPINLszyb4gR6ydmgU+U1P3MLMk6+SwuV6KgJ5G0v DG00P2kuGmIV/4EG/ASCyg==; Date: Sun, 09 Jun 2024 11:15:55 +0300 Message-Id: <86a5jubkg4.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Pranshu <pranshusharma366@HIDDEN> In-Reply-To: <87plsqlopz.fsf@HIDDEN> (message from Pranshu on Sun, 09 Jun 2024 14:33:28 +1000) Subject: Re: bug#71364: Fix Table.el export References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> <86jzj1f2fb.fsf@HIDDEN> <87h6e4jiav.fsf@HIDDEN> <86le3gdjm3.fsf@HIDDEN> <CAOnWdohP78ixXpin2vhi88O71sNhVeV+gWG5cSSEHxxAE2u49Q@HIDDEN> <8634pnemgn.fsf@HIDDEN> <CAOnWdogo91OnvZL3iyoDBB5Gs2o+O0mEzZvqeJxP2NPEeL+U-g@HIDDEN> <861q57el7i.fsf@HIDDEN> <87plsqlopz.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71364 Cc: lockywolf@HIDDEN, 71364 <at> debbugs.gnu.org, rrt@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Pranshu <pranshusharma366@HIDDEN> > Cc: Reuben Thomas <rrt@HIDDEN>, lockywolf@HIDDEN, 71364 <at> debbugs.gnu.org > Date: Sun, 09 Jun 2024 14:33:28 +1000 > > > Now that this is sorted, do you want me to send an updated diff with a > seperate variable for backslash? It isn't sorted yet, so please wait.
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 9 Jun 2024 08:35:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 09 04:35:17 2024 Received: from localhost ([127.0.0.1]:52091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sGE1F-0002Hv-EG for submit <at> debbugs.gnu.org; Sun, 09 Jun 2024 04:35:17 -0400 Received: from mail-ej1-f49.google.com ([209.85.218.49]:46509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pranshusharma366@HIDDEN>) id 1sGE1D-0002HT-8v for 71364 <at> debbugs.gnu.org; Sun, 09 Jun 2024 04:35:16 -0400 Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a68b41ef3f6so376001766b.1 for <71364 <at> debbugs.gnu.org>; Sun, 09 Jun 2024 01:34:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717922033; x=1718526833; 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=CeLvBwZZMoK7nQWK7dejQjbkMr45RK7REhlR/h3bsjI=; b=bKQADTq69KtZDQtU7WG6WpWj711OENPRe2rPQp2qjqkeBrqhxX6iNN5qrAfISjFxk5 dpUI2ssNwj642gp8mJ/GWH0zJ5e8KiJmIII4JQ5GyHJfqRu7maHvLVjOi1d+q/6fbcQX yPgG/QgEcY9g34H2brtFnuZtLrzkQMvTOLhYYicPOCRosU8TSRPKnM4s0ZbcfMRzfAAu p+pmPgXXBo6IDzvcBFpNWoYIZpjL9B526mOkAa7gzcfMtc+iJCAKyiWbCUHu93nCBNH+ QXm3HcnOTt0WWKKXclCfuEZymO6vRQ57sjCVKP0bElnsCzw4hes0scsbkl6toG0/4qr8 ZL7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717922033; x=1718526833; 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=CeLvBwZZMoK7nQWK7dejQjbkMr45RK7REhlR/h3bsjI=; b=LEDreHQLvOFw+HHokLyndJj+Y2/qpSXQ0RgKDYTJ4gQ//AzAs0iH8Z3LhFaWMnUsZX R7IazMg5s7j2hF7Uh7f8Me4UioZVtQgud4bpwAhbFiRI3W/jqozQJfXjEzEcnk0YQXal YlCzQdU+sLCR5wEYEVOcFjJFHcxnLcCMHEdyt6ljrf63WPdCKyAIQyr87SvIRT8l6HFq AP1jOOpvwcvo/63et7hezVpxy7lytF72A6JPpb0sz2m4cRCG17vPvDkATsdqz6To6Sdo XUBjSZhprmqS/SfhJLXlC3X3esNom/0jby+GgqBvWfS3mK9DFPxKs0sj6/SjSaZ1jB6I 9wpA== X-Forwarded-Encrypted: i=1; AJvYcCWA9qkHwao0v7ul32w/T+FKyPtOGaSc2aPSYege0opIY5iajYsX5nRfnt+lzOCnqyV7mTeZUKa36Yt1RhQq3bMF1HmmSpw= X-Gm-Message-State: AOJu0Yydsr+yXAox8tngTph7AB67lGk0GAKhdSa2iT/d5YPzvwAEIUd+ U+zmf/TiNmPsYI2hn8qO81lLKmAPQAcEAkGwoxsw+M7SAk8C0HWtSCZf1JypyhVTDfHeDynTTz2 ORTHdynSccucxea91OlNL+18qOl8= X-Google-Smtp-Source: AGHT+IFt1jvqYPsr4khGfXynIL2zKDRZs4xt79a81gL4ZG/GNTt6HTBdpa5nDDvHnP/Qv3vZmYkbfSkuyYTzSbjWw/o= X-Received: by 2002:a17:907:551:b0:a6e:ffef:b6af with SMTP id a640c23a62f3a-a6effefbbdbmr175145266b.41.1717922033123; Sun, 09 Jun 2024 01:33:53 -0700 (PDT) MIME-Version: 1.0 References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> <86jzj1f2fb.fsf@HIDDEN> <87h6e4jiav.fsf@HIDDEN> <86le3gdjm3.fsf@HIDDEN> <CAOnWdohP78ixXpin2vhi88O71sNhVeV+gWG5cSSEHxxAE2u49Q@HIDDEN> <8634pnemgn.fsf@HIDDEN> <CAOnWdogo91OnvZL3iyoDBB5Gs2o+O0mEzZvqeJxP2NPEeL+U-g@HIDDEN> <861q57el7i.fsf@HIDDEN> <87plsqlopz.fsf@HIDDEN> <86a5jubkg4.fsf@HIDDEN> In-Reply-To: <86a5jubkg4.fsf@HIDDEN> From: Pranshu <pranshusharma366@HIDDEN> Date: Sun, 9 Jun 2024 18:33:41 +1000 Message-ID: <CADqFYwZdOVQVeqNJhBAC+04bwLZdMSgyBPNH0S_E8ZGbq0y5DQ@HIDDEN> Subject: Re: bug#71364: Fix Table.el export To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="00000000000089482c061a70e481" X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: no problem On Sun, 9 Jun 2024 at 18:16, Eli Zaretskii wrote: > > From: Pranshu > > Cc: Reuben Thomas , lockywolf@HIDDEN, > 71364 <at> debbugs.gnu.org > > Date: Sun, 09 Jun 2024 14:33:28 +1000 > > > > > > Now that this is sorted, do you want me to send an updat [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (pranshusharma366[at]gmail.com) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (pranshusharma366[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.218.49 listed in list.dnswl.org] 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.49 listed in wl.mailspike.net] -0.0 T_SCC_BODY_TEXT_LINE No description available. 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.0 FREEMAIL_REPLY From and body contain different freemails X-Debbugs-Envelope-To: 71364 Cc: lockywolf@HIDDEN, 71364 <at> debbugs.gnu.org, rrt@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.8 (/) --00000000000089482c061a70e481 Content-Type: text/plain; charset="UTF-8" no problem On Sun, 9 Jun 2024 at 18:16, Eli Zaretskii <eliz@HIDDEN> wrote: > > From: Pranshu <pranshusharma366@HIDDEN> > > Cc: Reuben Thomas <rrt@HIDDEN>, lockywolf@HIDDEN, > 71364 <at> debbugs.gnu.org > > Date: Sun, 09 Jun 2024 14:33:28 +1000 > > > > > > Now that this is sorted, do you want me to send an updated diff with a > > seperate variable for backslash? > > It isn't sorted yet, so please wait. > --00000000000089482c061a70e481 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">no problem</div><br><div class=3D"gmail_quote"><div dir=3D= "ltr" class=3D"gmail_attr">On Sun, 9 Jun 2024 at 18:16, Eli Zaretskii <<= a href=3D"mailto:eliz@HIDDEN">eliz@HIDDEN</a>> wrote:<br></div><blockq= uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p= x solid rgb(204,204,204);padding-left:1ex">> From: Pranshu <<a href= =3D"mailto:pranshusharma366@HIDDEN" target=3D"_blank">pranshusharma366@g= mail.com</a>><br> > Cc: Reuben Thomas <<a href=3D"mailto:rrt@HIDDEN" target=3D"_blank= ">rrt@HIDDEN</a>>,=C2=A0 <a href=3D"mailto:lockywolf@HIDDEN" target= =3D"_blank">lockywolf@HIDDEN</a>,=C2=A0 <a href=3D"mailto:71364@debbugs.= gnu.org" target=3D"_blank">71364 <at> debbugs.gnu.org</a><br> > Date: Sun, 09 Jun 2024 14:33:28 +1000<br> > <br> > <br> > Now that this is sorted, do you want me to send an updated diff with a= <br> > seperate variable for backslash?<br> <br> It isn't sorted yet, so please wait.<br> </blockquote></div> --00000000000089482c061a70e481--
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 9 Jun 2024 04:40:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 09 00:40:22 2024 Received: from localhost ([127.0.0.1]:37637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sGALt-0006Wo-ML for submit <at> debbugs.gnu.org; Sun, 09 Jun 2024 00:40:21 -0400 Received: from mail-pl1-f182.google.com ([209.85.214.182]:58841) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pranshusharma366@HIDDEN>) id 1sGAGd-0006IJ-M1 for 71364 <at> debbugs.gnu.org; Sun, 09 Jun 2024 00:34:56 -0400 Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1f480624d0dso30759985ad.1 for <71364 <at> debbugs.gnu.org>; Sat, 08 Jun 2024 21:34:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717907613; x=1718512413; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=mJV9n9hPhRSItg8K9uzdRPWWuF7liWZRBII8gq1WEcU=; b=DsXOPCSVr3DKV9DCuM6NNKvGMSY/+0abxQhPjFSGHwB0GvvIrnHSLxsRcRr+rWsXNr z9tQJ+XlAWm7XD7KdkzxJ7tcHJfHVMOB0CWBQURcHuvMHvurI5zKriSrecQZxYZ78caY ZAxQ4tw1F3nSMyzP4SbrdvlqkTmxIVFZc7g7H7F/HgMCYxlv01vHXM5uHjJ4YsBeXM9r UEhjalDDpSowfSLQR2Z8xlWIUInKjpVfnpooP1u7/E+jLIrbzm0wGQ9IAbxxkA7dy1bi QwTCOZkgeH+biS3GZzFZrUYg4sC6dP0wvPqlS165eIx5oUBuyJ44fW0/L4uCAC/qZxhr 9JRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717907613; x=1718512413; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mJV9n9hPhRSItg8K9uzdRPWWuF7liWZRBII8gq1WEcU=; b=nFwoi0572EPXteosyjxBzWdePZ7YgNWPpftJHonYkrs+DRTgm1nzsoxyCD8T5jLnEw BZTrGx9nWHZpjsORc9eWPr4mpWnnqqiHNQ+8wlxZ6yjKgYR/iCFyiNe1/L/ugewT7HWS D5HXlyrDCbICXyypZ2jP6GZNXl+o+anFGi6k3dTwx4O6PENXfoCDHTwz5/EX16etBgGN kwvcd//SplHwqzFlxnQqZz4Q4n9NEf21eIs2cv7EbbtrZeN0xvl2kJ7bHCbSqo+1fWZS csXbbCxMNpbJ27vgwXGx1Po9gcKJ2Fn2EvQt12Kf8Zq6RjOL8I/Ey6vY4FmiuoVAPQBG vU7g== X-Forwarded-Encrypted: i=1; AJvYcCXp5Sg5A7aqMLCu5kOfbPFZQJo9LaTNCr/iJ1XMuGOJW0h98oz+t45GLisXkf5NyPjCOcTaiYtuWm2xGnRXV5PZK8mzILg= X-Gm-Message-State: AOJu0YxHo+lGUoX7dHVekl8JnJnGpYLNQjxeKW4TBQ3jUPLmqpDt5KZH IljYfSr2WlT4c/NSj3imbEulTqITEkfXiuepE7QzNACmVo1RRl1Eq3EY7/y8 X-Google-Smtp-Source: AGHT+IFZArZ1Nqh1+lSVyk/IMNWmSo7DybqlEKooYhnBV83QNqsIcKt5gE2Tw2QVoD0L4uTNBuPkpA== X-Received: by 2002:a17:903:11ce:b0:1f6:f276:f2bf with SMTP id d9443c01a7336-1f6f276f378mr27929575ad.61.1717907612712; Sat, 08 Jun 2024 21:33:32 -0700 (PDT) Received: from pebl ([2001:8003:7816:8300:7f15:5962:16a0:6470]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f6bd81c9c2sm59369795ad.308.2024.06.08.21.33.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jun 2024 21:33:32 -0700 (PDT) From: Pranshu <pranshusharma366@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#71364: Fix Table.el export In-Reply-To: <861q57el7i.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 08 Jun 2024 14:18:57 +0300") References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> <86jzj1f2fb.fsf@HIDDEN> <87h6e4jiav.fsf@HIDDEN> <86le3gdjm3.fsf@HIDDEN> <CAOnWdohP78ixXpin2vhi88O71sNhVeV+gWG5cSSEHxxAE2u49Q@HIDDEN> <8634pnemgn.fsf@HIDDEN> <CAOnWdogo91OnvZL3iyoDBB5Gs2o+O0mEzZvqeJxP2NPEeL+U-g@HIDDEN> <861q57el7i.fsf@HIDDEN> Date: Sun, 09 Jun 2024 14:33:28 +1000 Message-ID: <87plsqlopz.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 71364 Cc: lockywolf@HIDDEN, 71364 <at> debbugs.gnu.org, Reuben Thomas <rrt@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.8 (/) Now that this is sorted, do you want me to send an updated diff with a seperate variable for backslash?
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 8 Jun 2024 11:29:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 08 07:29:19 2024 Received: from localhost ([127.0.0.1]:37597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sFuG6-0004TG-Fj for submit <at> debbugs.gnu.org; Sat, 08 Jun 2024 07:29:18 -0400 Received: from mail-yb1-f178.google.com ([209.85.219.178]:44140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rrt@HIDDEN>) id 1sFuG3-0004T2-RI for 71364 <at> debbugs.gnu.org; Sat, 08 Jun 2024 07:29:17 -0400 Received: by mail-yb1-f178.google.com with SMTP id 3f1490d57ef6-dfb0ccbd401so483346276.0 for <71364 <at> debbugs.gnu.org>; Sat, 08 Jun 2024 04:28:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1717846074; x=1718450874; 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=zOuvV87/Zc1wMier/Pg9cWyvwUn6Nt01E/zNvAWMmDI=; b=U+lKZGvEpxjr+0RKc2QWR6Q7JmyJ5LGbFw1sDtMwN15fWsZlZd1y26PksyPHo4gWnv Qu9QRDZb/otA1F8nXACWR4+loXt/RHV3GkvEgGkn7rdwIT14MlxnS1LDKE98OlpD3IdJ 0DR8AtfGY/XJ6vzRPTzhVnevDNiNdF/AFQJm8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717846074; x=1718450874; 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=zOuvV87/Zc1wMier/Pg9cWyvwUn6Nt01E/zNvAWMmDI=; b=nvsNcqCdKaiINcNcLYDtAnVzE2e7ZZiwXCq15d69P+7tOuqwqijVPky44ImU4Ix95J tTekXIqF49JhOJe6Xk/AWg1KxwjleQejk/n63go2ZEHs2t6223LhC67iACjYmLoFn3LF /DORAtE7bt2gZK2FWs+ni+ZIteQpiPqCQmhv/T+bmZErSKDaCkETzHOCw/QRb+IIte/j xq7He2fiJVmFyMIpknmNjOShXF44uToS510XlAXrcFsBiJcQ20Fg/qEQupbTUhpldL5p QiOJHdXuEP7grh9/nuRnzNXNNeqPKVMUXGNtoSpqnHljF2vLb0cTEy/GV0eH+w1BACFy rtLA== X-Forwarded-Encrypted: i=1; AJvYcCUc/+ygvuZ1acnahVlF54l3X7muFOQODHtFo0624o/T/5uODhm6kZlbxCNhIJa9UDkF6sWqmrQSPGQO31xFo4n0vbTS1UA= X-Gm-Message-State: AOJu0Ywtb/UNFStWweGunw7Q+FQBgHU73Oif5J+g0eAXD8ngzCBdxUGu 2K5OcPoYaPv70oupGXKpLTf6YGsKjEo28Lm4dIpJzY+wgpW0Gs7JVlwPJv3QTIXXS7c66AKs9gr JIYzrCClHo5h5uqYNZCiM2jbZLdhgVnxa4ryCdw== X-Google-Smtp-Source: AGHT+IEyHG36sBZADDgPAnLTZls8Mfw/6/XUPgteGDHzVyHLUQGZ/Uh4RSx3HMl0M00BmGk8qORllI2dt5pWgrssXOM= X-Received: by 2002:a25:ce48:0:b0:dcc:5a25:ae88 with SMTP id 3f1490d57ef6-dfaf64b7e7amr4972238276.19.1717846074278; Sat, 08 Jun 2024 04:27:54 -0700 (PDT) MIME-Version: 1.0 References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> <86jzj1f2fb.fsf@HIDDEN> <87h6e4jiav.fsf@HIDDEN> <86le3gdjm3.fsf@HIDDEN> <CAOnWdohP78ixXpin2vhi88O71sNhVeV+gWG5cSSEHxxAE2u49Q@HIDDEN> <8634pnemgn.fsf@HIDDEN> <CAOnWdogo91OnvZL3iyoDBB5Gs2o+O0mEzZvqeJxP2NPEeL+U-g@HIDDEN> <861q57el7i.fsf@HIDDEN> In-Reply-To: <861q57el7i.fsf@HIDDEN> From: Reuben Thomas <rrt@HIDDEN> Date: Sat, 8 Jun 2024 12:27:42 +0100 Message-ID: <CAOnWdogsuQmAv5z6VwFxJJc8Ya2kTW2=yCfu3sQcSLeZETDC8Q@HIDDEN> Subject: Re: bug#71364: Fix Table.el export To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000096469061a5f358a" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 71364 Cc: pranshusharma366@HIDDEN, lockywolf@HIDDEN, 71364 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000096469061a5f358a Content-Type: text/plain; charset="UTF-8" On Sat, 8 Jun 2024 at 12:19, Eli Zaretskii <eliz@HIDDEN> wrote: > > From: Reuben Thomas <rrt@HIDDEN> > > Date: Sat, 8 Jun 2024 11:59:52 +0100 > > Cc: pranshusharma366@HIDDEN, lockywolf@HIDDEN, > 71364 <at> debbugs.gnu.org > > > > On Sat, 8 Jun 2024 at 11:51, Eli Zaretskii <eliz@HIDDEN> wrote: > > > > > From: Reuben Thomas <rrt@HIDDEN> > > > Date: Sat, 8 Jun 2024 11:05:25 +0100 > > > Cc: Pranshu <pranshusharma366@HIDDEN>, Vladimir Nikishkin < > lockywolf@HIDDEN>, > > > 71364 <at> 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. > It looks like I was wrong: `table--generate-source-scan-lines` is expecting LaTeX input. Good luck with that! -- https://rrt.sc3d.org --000000000000096469061a5f358a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail= _attr">On Sat, 8 Jun 2024 at 12:19, Eli Zaretskii <<a href=3D"mailto:eli= z@HIDDEN">eliz@HIDDEN</a>> wrote:<br></div><blockquote class=3D"gmail_= quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,= 204);padding-left:1ex">> From: Reuben Thomas <<a href=3D"mailto:rrt@s= c3d.org" target=3D"_blank">rrt@HIDDEN</a>><br> > Date: Sat, 8 Jun 2024 11:59:52 +0100<br> > Cc: <a href=3D"mailto:pranshusharma366@HIDDEN" target=3D"_blank">pr= anshusharma366@HIDDEN</a>, <a href=3D"mailto:lockywolf@HIDDEN" target= =3D"_blank">lockywolf@HIDDEN</a>, <a href=3D"mailto:71364@HIDDEN= g" target=3D"_blank">71364 <at> debbugs.gnu.org</a><br> > <br> > On Sat, 8 Jun 2024 at 11:51, Eli Zaretskii <<a href=3D"mailto:eliz@= gnu.org" target=3D"_blank">eliz@HIDDEN</a>> wrote:<br> > <br> >=C2=A0 > From: Reuben Thomas <<a href=3D"mailto:rrt@HIDDEN" tar= get=3D"_blank">rrt@HIDDEN</a>><br> >=C2=A0 > Date: Sat, 8 Jun 2024 11:05:25 +0100<br> >=C2=A0 > Cc: Pranshu <<a href=3D"mailto:pranshusharma366@HIDDEN= m" target=3D"_blank">pranshusharma366@HIDDEN</a>>, Vladimir Nikishkin= <<a href=3D"mailto:lockywolf@HIDDEN" target=3D"_blank">lockywolf@gma= il.com</a>>, <br> >=C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"mailto:71364@HIDDEN= nu.org" target=3D"_blank">71364 <at> debbugs.gnu.org</a><br> >=C2=A0 > <br> >=C2=A0 > Specifically, it works fine if, like me, you do not want to= put LaTeX markup in tables. This was certainly<br> >=C2=A0 my<br> >=C2=A0 > case, as I was using it with org-mode. In this case, any ch= aracter that is active in LaTeX can and<br> >=C2=A0 should simply<br> >=C2=A0 > be escaped on output.<br> >=C2=A0 > <br> >=C2=A0 > What is basically broken is the ability to export to LaTeX = when the table contains LaTeX markup.<br> > <br> >=C2=A0 But the function being discussed is said to be specific to expor= t to<br> >=C2=A0 LaTeX, so it should expect LaTeX markup in the cells, no?<br> > <br> > No, it is supposed to export arbitrary text as valid LaTeX. At least, = that is my understanding.<br> <br> So it's a YES, because I was saying the same thing.=C2=A0 Or maybe we<b= r> disagree about whether a function written for exporting to LaTeX<br> should or should not expect LaTeX markup.<br></blockquote><div><br></div><d= iv></div><div><div style=3D"font-family:arial,helvetica,sans-serif;font-siz= e:small" class=3D"gmail_default">It looks like I was wrong: `table--generat= e-source-scan-lines` is expecting LaTeX input.<br></div><div style=3D"font-= family:arial,helvetica,sans-serif;font-size:small" class=3D"gmail_default">= <br></div><div style=3D"font-family:arial,helvetica,sans-serif;font-size:sm= all" class=3D"gmail_default">Good luck with that!<br></div><div style=3D"fo= nt-family:arial,helvetica,sans-serif;font-size:small" class=3D"gmail_defaul= t"><br></div></div></div><span class=3D"gmail_signature_prefix">-- </span><= br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div><div di= r=3D"ltr"><a href=3D"https://rrt.sc3d.org" target=3D"_blank">https://rrt.sc= 3d.org</a></div></div></div></div></div> --000000000000096469061a5f358a--
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 8 Jun 2024 11:19:26 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 08 07:19:26 2024 Received: from localhost ([127.0.0.1]:37589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sFu6X-0004D3-St for submit <at> debbugs.gnu.org; Sat, 08 Jun 2024 07:19:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sFu6V-0004Cn-GP for 71364 <at> debbugs.gnu.org; Sat, 08 Jun 2024 07:19:24 -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 <eliz@HIDDEN>) 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==; Date: Sat, 08 Jun 2024 14:18:57 +0300 Message-Id: <861q57el7i.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Reuben Thomas <rrt@HIDDEN> In-Reply-To: <CAOnWdogo91OnvZL3iyoDBB5Gs2o+O0mEzZvqeJxP2NPEeL+U-g@HIDDEN> (message from Reuben Thomas on Sat, 8 Jun 2024 11:59:52 +0100) Subject: Re: bug#71364: Fix Table.el export References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> <86jzj1f2fb.fsf@HIDDEN> <87h6e4jiav.fsf@HIDDEN> <86le3gdjm3.fsf@HIDDEN> <CAOnWdohP78ixXpin2vhi88O71sNhVeV+gWG5cSSEHxxAE2u49Q@HIDDEN> <8634pnemgn.fsf@HIDDEN> <CAOnWdogo91OnvZL3iyoDBB5Gs2o+O0mEzZvqeJxP2NPEeL+U-g@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71364 Cc: pranshusharma366@HIDDEN, lockywolf@HIDDEN, 71364 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Reuben Thomas <rrt@HIDDEN> > Date: Sat, 8 Jun 2024 11:59:52 +0100 > Cc: pranshusharma366@HIDDEN, lockywolf@HIDDEN, 71364 <at> debbugs.gnu.org > > On Sat, 8 Jun 2024 at 11:51, Eli Zaretskii <eliz@HIDDEN> wrote: > > > From: Reuben Thomas <rrt@HIDDEN> > > Date: Sat, 8 Jun 2024 11:05:25 +0100 > > Cc: Pranshu <pranshusharma366@HIDDEN>, Vladimir Nikishkin <lockywolf@HIDDEN>, > > 71364 <at> 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.
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 8 Jun 2024 11:01:29 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 08 07:01:29 2024 Received: from localhost ([127.0.0.1]:37540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sFtpA-0003hU-NF for submit <at> debbugs.gnu.org; Sat, 08 Jun 2024 07:01:29 -0400 Received: from mail-yb1-f174.google.com ([209.85.219.174]:53581) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rrt@HIDDEN>) id 1sFtp7-0003hD-49 for 71364 <at> debbugs.gnu.org; Sat, 08 Jun 2024 07:01:27 -0400 Received: by mail-yb1-f174.google.com with SMTP id 3f1490d57ef6-dfaff6bf125so1356864276.3 for <71364 <at> 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) MIME-Version: 1.0 References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> <86jzj1f2fb.fsf@HIDDEN> <87h6e4jiav.fsf@HIDDEN> <86le3gdjm3.fsf@HIDDEN> <CAOnWdohP78ixXpin2vhi88O71sNhVeV+gWG5cSSEHxxAE2u49Q@HIDDEN> <8634pnemgn.fsf@HIDDEN> In-Reply-To: <8634pnemgn.fsf@HIDDEN> From: Reuben Thomas <rrt@HIDDEN> Date: Sat, 8 Jun 2024 11:59:52 +0100 Message-ID: <CAOnWdogo91OnvZL3iyoDBB5Gs2o+O0mEzZvqeJxP2NPEeL+U-g@HIDDEN> Subject: Re: bug#71364: Fix Table.el export To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000723ba6061a5ed1e4" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 71364 Cc: pranshusharma366@HIDDEN, lockywolf@HIDDEN, 71364 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000723ba6061a5ed1e4 Content-Type: text/plain; charset="UTF-8" On Sat, 8 Jun 2024 at 11:51, Eli Zaretskii <eliz@HIDDEN> wrote: > > From: Reuben Thomas <rrt@HIDDEN> > > Date: Sat, 8 Jun 2024 11:05:25 +0100 > > Cc: Pranshu <pranshusharma366@HIDDEN>, Vladimir Nikishkin < > lockywolf@HIDDEN>, > > 71364 <at> 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 <div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail= _attr">On Sat, 8 Jun 2024 at 11:51, Eli Zaretskii <<a href=3D"mailto:eli= z@HIDDEN">eliz@HIDDEN</a>> wrote:<br></div><blockquote class=3D"gmail_= quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,= 204);padding-left:1ex">> From: Reuben Thomas <<a href=3D"mailto:rrt@s= c3d.org" target=3D"_blank">rrt@HIDDEN</a>><br> > Date: Sat, 8 Jun 2024 11:05:25 +0100<br> > Cc: Pranshu <<a href=3D"mailto:pranshusharma366@HIDDEN" target= =3D"_blank">pranshusharma366@HIDDEN</a>>, Vladimir Nikishkin <<a h= ref=3D"mailto:lockywolf@HIDDEN" target=3D"_blank">lockywolf@HIDDEN</a= >>, <br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"mailto:71364 <at> debbugs.gnu.org" tar= get=3D"_blank">71364 <at> debbugs.gnu.org</a><br> > <br> > Specifically, it works fine if, like me, you do not want to put LaTeX = markup in tables. This was certainly my<br> > case, as I was using it with org-mode. In this case, any character tha= t is active in LaTeX can and should simply<br> > be escaped on output.<br> > <br> > What is basically broken is the ability to export to LaTeX when the ta= ble contains LaTeX markup.<br> <br> But the function being discussed is said to be specific to export to<br> LaTeX, so it should expect LaTeX markup in the cells, no?<br></blockquote><= div><br></div><div><div style=3D"font-family:arial,helvetica,sans-serif;fon= t-size:small" class=3D"gmail_default">No, it is supposed to export arbitrar= y text as valid LaTeX. At least, that is my understanding.<br></div><br></d= iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord= er-left:1px solid rgb(204,204,204);padding-left:1ex"> Again, the function being discussed is specific to LaTeX, AFAIU, so<br> this is unlike the more-general issue of spell-checking an arbitrary<br> buffer.=C2=A0 It is more like a hypothetical command ispell-latex-buffer<br= > (if it were to exist).=C2=A0 Don't you agree?<br> </blockquote></div><br clear=3D"all"><div><div style=3D"font-family:arial,h= elvetica,sans-serif;font-size:small" class=3D"gmail_default">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.<br></div></div><div><br></div>= <span class=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class= =3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><a href=3D"http= s://rrt.sc3d.org" target=3D"_blank">https://rrt.sc3d.org</a></div></div></d= iv></div></div> --000000000000723ba6061a5ed1e4--
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 8 Jun 2024 10:52:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 08 06:52:17 2024 Received: from localhost ([127.0.0.1]:37534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sFtgH-0003Ry-Ff for submit <at> debbugs.gnu.org; Sat, 08 Jun 2024 06:52:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sFtgF-0003Rh-L0 for 71364 <at> debbugs.gnu.org; Sat, 08 Jun 2024 06:52:16 -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 <eliz@HIDDEN>) id 1sFtfu-0005wC-5t; Sat, 08 Jun 2024 06:51:54 -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=bEFyOzP4majyqON9A6BSQGdiG66IeJzuxrIe32s1bWI=; b=AJIcqSYnQ+vU NfTl+i1wuB1xTA1n9CO9EXMETasc+HGEWklZYVibyYgf3RyW24lNEEVYFpxHi/lUP8s4VrxC8E5GT 6RJ2+IeSi1WVNVUjj78oEcg2NkzRJ7L4UTj4yxSAhQtmG5J/pYBMCGJryscVk0v0wg4IuOSVly2My ZqsQcuHrZeUyPzuz6smE3QfsykBQ94W+m73Kg57T+2inFc4eBoaSdA3MccS9K8BgGAq/Tf+7YjAZE ZVytW6Ag/fovsIPts8FRTer7E1Do5QrB1jIEDexza+i06KWJApqYM8ql5mjgBGn8fSQ71r8FZ/a++ GDQigjX+3RfAx2dO7N7G2Q==; Date: Sat, 08 Jun 2024 13:51:52 +0300 Message-Id: <8634pnemgn.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Reuben Thomas <rrt@HIDDEN> In-Reply-To: <CAOnWdohP78ixXpin2vhi88O71sNhVeV+gWG5cSSEHxxAE2u49Q@HIDDEN> (message from Reuben Thomas on Sat, 8 Jun 2024 11:05:25 +0100) Subject: Re: bug#71364: Fix Table.el export References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> <86jzj1f2fb.fsf@HIDDEN> <87h6e4jiav.fsf@HIDDEN> <86le3gdjm3.fsf@HIDDEN> <CAOnWdohP78ixXpin2vhi88O71sNhVeV+gWG5cSSEHxxAE2u49Q@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71364 Cc: pranshusharma366@HIDDEN, lockywolf@HIDDEN, 71364 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Reuben Thomas <rrt@HIDDEN> > Date: Sat, 8 Jun 2024 11:05:25 +0100 > Cc: Pranshu <pranshusharma366@HIDDEN>, Vladimir Nikishkin <lockywolf@HIDDEN>, > 71364 <at> 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? > Again, taking ispell.el, with which I am much more familiar, what I would like to do there is to strip out all the > support for LaTeX and mail buffers, and instead require LaTeX- or mail-editing modes to call the > spell-checking routines. That would require a different approach globally: some of the existing ispell > commands work on a whole buffer, so they cannot interact with language-specific code. I guess the code was > originally written like this because it could be created from scratch without changing anything about other > modes. > > I think this example of ispell.el is relevant to table.el because much the same considerations apply: table.el > was originally written independent of other code, but that's not a good design for interacting with other > syntaxes, as you end up implementing half-baked support for them, rather than allowing an editing mode that > already understands the syntax to interact with the table routines. > > Therefore, I recommend not attempting to improve table.el's LaTeX support, documenting clearly that it > doesn't support embedded LaTeX, and designing functions that allow table.el to cooperate with other > packages to export different embedded syntaxes. Otherwise, we will frustrate users (who will find the code > broken and, if they try to understand it, baffling) and maintainers (who will spend effort for many years > maintaining code that is half-baked, complicates the modules it lives in, but has to be maintained). 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?
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 8 Jun 2024 10:07:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 08 06:07:03 2024 Received: from localhost ([127.0.0.1]:36842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sFsyU-00024f-Vt for submit <at> debbugs.gnu.org; Sat, 08 Jun 2024 06:07:03 -0400 Received: from mail-yw1-f172.google.com ([209.85.128.172]:45550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rrt@HIDDEN>) id 1sFsyQ-000240-VO for 71364 <at> debbugs.gnu.org; Sat, 08 Jun 2024 06:07:02 -0400 Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-627efad69b4so28869367b3.3 for <71364 <at> debbugs.gnu.org>; Sat, 08 Jun 2024 03:06:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1717841137; x=1718445937; 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=mbtj06n1vL0RkhfBAM0STNwLPEZcKI1gzA9dsin/t5g=; b=40wIj/P6BsfjWmTKV0ueltDFAixQIedcoRXo7X7WgkFnyPg14Rf+f2biADqwg+zrJt jRWTMbLFN0J7E62A19TBbFJezFBNv8o0ZLl0arVYTWH1WkF4LiE5+O5m0kNqh8Wq5ETP q4VP21/9Gg830xCGCABvEvvsrUjJuT6gFGSsM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717841137; x=1718445937; 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=mbtj06n1vL0RkhfBAM0STNwLPEZcKI1gzA9dsin/t5g=; b=tjE3WltmODz+rBLiCuKYmOBxNwZUhDKA2gz+ClOqBgiEWK54wlW+3dv6ORYoeFjANU DYDSfHw29d/Z/iEg7ig7a5GqdCTdtMtaPKNhlDp1KYv4qkIMO+M7AzmlIQqAK5w7fNyS IEXkDTgN6s8Xi13Fg+R4m0R3RswRqkHV5hZVANM+Au4A6oenYn586A8LUASy+luRM8tJ rV340Y1sUgUqc7I68SMc78IOLiUTC7NDz/ZOswD+qXv6dcDXlqhb3ay/9A2+tiTl5qsN ZpJybVlgxtbP9CBKyGuy1a4p1y8wZgzD2FvgygckNkUL2u72vstHA2i7ceihd+AKYzCw Iwhg== X-Forwarded-Encrypted: i=1; AJvYcCWWofPqJNm4zbbN7YDOVCaB9s2spBpgr2WYUQ8gnF8XSLE1sJiH6kgoB8UKXF+i3vTl4ODmXR2p0HeHWzVZ+zhwPxQfT48= X-Gm-Message-State: AOJu0Ywp1IGW0A1QQ07pRldYgZs73AsJnW/quu+8jUJTC6Plaizy+uZh u4neU/Ync9598i4XGHqkqQsoIAHUZfNE4/UIwU948Am2nTYAokQ4+CGfssDPPLGIySAV+nfehQu bQn0R5jtah9bnC7G99rBGA+iC86LiPf7zZfZjuQ== X-Google-Smtp-Source: AGHT+IEohHUJd+Q/NHeQJbjZw7yYoKZLSUxiaxLikq85jwqRwiqt44Bq4Bf+V5MStiBFbP7/yTsccqSiftOsPaOEPuE= X-Received: by 2002:a25:fc24:0:b0:dfb:b7d:f3b3 with SMTP id 3f1490d57ef6-dfb0b7df468mr1750300276.63.1717841137378; Sat, 08 Jun 2024 03:05:37 -0700 (PDT) MIME-Version: 1.0 References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> <86jzj1f2fb.fsf@HIDDEN> <87h6e4jiav.fsf@HIDDEN> <86le3gdjm3.fsf@HIDDEN> In-Reply-To: <86le3gdjm3.fsf@HIDDEN> From: Reuben Thomas <rrt@HIDDEN> Date: Sat, 8 Jun 2024 11:05:25 +0100 Message-ID: <CAOnWdohP78ixXpin2vhi88O71sNhVeV+gWG5cSSEHxxAE2u49Q@HIDDEN> Subject: Re: bug#71364: Fix Table.el export To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000c64867061a5e0e9a" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 71364 Cc: Pranshu <pranshusharma366@HIDDEN>, Vladimir Nikishkin <lockywolf@HIDDEN>, 71364 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000c64867061a5e0e9a Content-Type: text/plain; charset="UTF-8" On Sat, 8 Jun 2024 at 07:38, Eli Zaretskii <eliz@HIDDEN> wrote: > > It is strange to hear that this is so basically broken. This code > exists since more than 20 years ago, and several people contributed > changes to the LaTeX export, so I'd expect it to be at least somewhat > useful and working. > I think the explanation is that it is somewhat useful and working, and also basically broken. 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. > Reuben and Vladimir, would you please comment on the usability of > exporting to LaTeX in table.el, and on the proposed improvements? > Personally, I think trying to make this work is a mug's game, and having wrestled as a maintainer with other Emacs code that is over-complicated because it tries to understand the syntax of e.g. LaTeX or mail buffers (for example, ispell.el), I would resist adding further support for specific syntaxes to code that is not part of an editing package for that syntax. Again, taking ispell.el, with which I am much more familiar, what I would like to do there is to strip out all the support for LaTeX and mail buffers, and instead require LaTeX- or mail-editing modes to call the spell-checking routines. That would require a different approach globally: some of the existing ispell commands work on a whole buffer, so they cannot interact with language-specific code. I guess the code was originally written like this because it could be created from scratch without changing anything about other modes. I think this example of ispell.el is relevant to table.el because much the same considerations apply: table.el was originally written independent of other code, but that's not a good design for interacting with other syntaxes, as you end up implementing half-baked support for them, rather than allowing an editing mode that already understands the syntax to interact with the table routines. Therefore, I recommend not attempting to improve table.el's LaTeX support, documenting clearly that it doesn't support embedded LaTeX, and designing functions that allow table.el to cooperate with other packages to export different embedded syntaxes. Otherwise, we will frustrate users (who will find the code broken and, if they try to understand it, baffling) and maintainers (who will spend effort for many years maintaining code that is half-baked, complicates the modules it lives in, but has to be maintained). -- https://rrt.sc3d.org --000000000000c64867061a5e0e9a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail= _attr">On Sat, 8 Jun 2024 at 07:38, Eli Zaretskii <<a href=3D"mailto:eli= z@HIDDEN">eliz@HIDDEN</a>> wrote:<br></div><blockquote class=3D"gmail_= quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,= 204);padding-left:1ex"><br> It is strange to hear that this is so basically broken.=C2=A0 This code<br> exists since more than 20 years ago, and several people contributed<br> changes to the LaTeX export, so I'd expect it to be at least somewhat<b= r> useful and working.<br></blockquote><div><br></div><div><div style=3D"font-= family:arial,helvetica,sans-serif;font-size:small" class=3D"gmail_default">= I think the explanation is that it is somewhat useful and working, and also= basically broken.</div><div style=3D"font-family:arial,helvetica,sans-seri= f;font-size:small" class=3D"gmail_default"><br></div><div style=3D"font-fam= ily:arial,helvetica,sans-serif;font-size:small" class=3D"gmail_default">Spe= cifically, it works fine if, like me, you do not want to put LaTeX markup i= n tables. This was certainly my case, as I was using it with org-mode. In t= his case, any character that is active in LaTeX can and should simply be es= caped on output.</div><div style=3D"font-family:arial,helvetica,sans-serif;= font-size:small" class=3D"gmail_default"><br></div><div style=3D"font-famil= y:arial,helvetica,sans-serif;font-size:small" class=3D"gmail_default">What = is basically broken is the ability to export to LaTeX when the table contai= ns LaTeX markup.</div>=C2=A0</div><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex"> Reuben and Vladimir, would you please comment on the usability of<br> exporting to LaTeX in table.el, and on the proposed improvements<span class= =3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif;font-siz= e:small">?</span><br> </blockquote></div><div><br></div><div><div style=3D"font-family:arial,helv= etica,sans-serif;font-size:small" class=3D"gmail_default">Personally, I thi= nk trying to make this work is a mug's game, and having wrestled as a m= aintainer with other Emacs code that is over-complicated because it tries t= o understand the syntax of e.g. LaTeX or mail buffers (for example, ispell.= el), I would resist adding further support for specific syntaxes to code th= at is not part of an editing package for that syntax.</div><div style=3D"fo= nt-family:arial,helvetica,sans-serif;font-size:small" class=3D"gmail_defaul= t"><br></div><div style=3D"font-family:arial,helvetica,sans-serif;font-size= :small" class=3D"gmail_default">Again, taking ispell.el, with which I am mu= ch more familiar, what I would like to do there is to strip out all the sup= port for LaTeX and mail buffers, and instead require LaTeX- or mail-editing= modes to call the spell-checking routines. That would require a different = approach globally: some of the existing ispell commands work on a whole buf= fer, so they cannot interact with language-specific code. I guess the code = was originally written like this because it could be created from scratch w= ithout changing anything about other modes.</div><div style=3D"font-family:= arial,helvetica,sans-serif;font-size:small" class=3D"gmail_default"><br></d= iv><div style=3D"font-family:arial,helvetica,sans-serif;font-size:small" cl= ass=3D"gmail_default">I think this example of ispell.el is relevant to tabl= e.el because much the same considerations apply: table.el was originally wr= itten independent of other code, but that's not a good design for inter= acting with other syntaxes, as you end up implementing half-baked support f= or them, rather than allowing an editing mode that already understands the = syntax to interact with the table routines.</div><div style=3D"font-family:= arial,helvetica,sans-serif;font-size:small" class=3D"gmail_default"><br></d= iv><div style=3D"font-family:arial,helvetica,sans-serif;font-size:small" cl= ass=3D"gmail_default">Therefore, I recommend not attempting to improve tabl= e.el's LaTeX support, documenting clearly that it doesn't support e= mbedded LaTeX, and designing functions that allow table.el to cooperate wit= h other packages to export different embedded syntaxes. Otherwise, we will = frustrate users (who will find the code broken and, if they try to understa= nd it, baffling) and maintainers (who will spend effort for many years main= taining code that is half-baked, complicates the modules it lives in, but h= as to be maintained).<br></div></div><br><span class=3D"gmail_signature_pre= fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"l= tr"><div><div dir=3D"ltr"><a href=3D"https://rrt.sc3d.org" target=3D"_blank= ">https://rrt.sc3d.org</a></div></div></div></div></div> --000000000000c64867061a5e0e9a--
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 8 Jun 2024 08:25:25 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 08 04:25:25 2024 Received: from localhost ([127.0.0.1]:57205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sFrO8-0005TN-Oz for submit <at> debbugs.gnu.org; Sat, 08 Jun 2024 04:25:25 -0400 Received: from mail-pf1-f176.google.com ([209.85.210.176]:56570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pranshusharma366@HIDDEN>) id 1sFrFs-00050u-E2 for 71364 <at> debbugs.gnu.org; Sat, 08 Jun 2024 04:16:53 -0400 Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-70413de08c7so979876b3a.0 for <71364 <at> debbugs.gnu.org>; Sat, 08 Jun 2024 01:16:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717834530; x=1718439330; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=QQB41KUKorGSdHMjetPjN6AUgWXT3DRek1aa0ZMTR1A=; b=RJZ11w8RE9bgsoE+amx1gIEuPv57zBsz+xrCqF3B0WhbgQC97DOl77HTNsXhNdyYgZ 6oQG+ThLHjAanW8B4LOqwOl26bEn5XLo1Bmg9L2Umkv8U6DEstU4hWWpBR0EewFJ2Ul4 KJj2doKaiahGMaWabtLCyTxBPtwbUBjX7FUfs00lnyOr1vTuhAJe3zgkor3QcfZVJsY2 rPD41RiwqGGL4QKDrOha12B58VR3vikLUbllbPMaM7rzDgUOuM6UC0W7ZNpxjzeICYYi LCrVPsh6MZupS3AcePgGCgGtphhbNW1zHkp8aAb8s2zqQJaBlerqjZbwD7K3LlsSoq/K LITA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717834530; x=1718439330; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QQB41KUKorGSdHMjetPjN6AUgWXT3DRek1aa0ZMTR1A=; b=xCa2/PGNhCEIN0h5NvCQWSGPfYgEXsLB5JItibKf/DmwkvdguR03CAZMU0Z4643s2P Y6dvq2TraL3/0PSRGT1jdI0hfxrmc5qXeXhAPlFPsb15ztzpzJmaJiGPdISyFbNt4vys B5lJwU9iNi2M0h++8Gp45XfDgpKDdlMeOJM2BPa4aryl6E7VJFP+osECCkzbxDYdFmcw fZzt15Au3YlYrhjd9d6bxtuwdwj0PfPkQDkOiQH4ee4YQhVPgOnCexH/Pf9MZzs2MVjS Jemn8LlbnTDGpknX5OTiT23JrH1z9A1NHW2pzdxB7ohzw4Pn2dG3CgZl8H3FzyCaOKAd EnNA== X-Forwarded-Encrypted: i=1; AJvYcCWNS8jMEJRgCSwiNUqRU/Oz1clqxnoh01GVzVAJi2BtFzo3pdyibhGJ3dtzR9Jpskj+99hJE3TOgSWYHigc/SorNIEp5+Y= X-Gm-Message-State: AOJu0Yw+HNERYW6S7YEg4NgqZDI67ynOkf7j5DaDZy0PLBi1Q62U9xgU S70ahqsRVHU7coqwIZaipgzMgNyQmrSwN4ePog9ooxtkr2j2bnPFgMhpHgFQdKM= X-Google-Smtp-Source: AGHT+IF/roqpGCl9j3Sn4peVMFcoherUn+UsCVAYPjlwrpqrmlrbfhYGnnGk/J8ABDDtK6wsN5PXsA== X-Received: by 2002:a05:6a20:914c:b0:1b3:634a:32a6 with SMTP id adf61e73a8af0-1b3634a3430mr4562994637.18.1717834529487; Sat, 08 Jun 2024 01:15:29 -0700 (PDT) Received: from pebl ([2001:8003:7816:8300:7f15:5962:16a0:6470]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f6bd7e1c15sm46366315ad.218.2024.06.08.01.15.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jun 2024 01:15:28 -0700 (PDT) From: Pranshu <pranshusharma366@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#71364: Fix Table.el export In-Reply-To: <86le3gdjm3.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 08 Jun 2024 09:38:44 +0300") References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> <86jzj1f2fb.fsf@HIDDEN> <87h6e4jiav.fsf@HIDDEN> <86le3gdjm3.fsf@HIDDEN> Date: Sat, 08 Jun 2024 18:15:25 +1000 Message-ID: <87o78bg89u.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 71364 Cc: Vladimir Nikishkin <lockywolf@HIDDEN>, 71364 <at> debbugs.gnu.org, Reuben Thomas <rrt@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.8 (/) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Pranshu <pranshusharma366@HIDDEN> >> Cc: 71364 <at> debbugs.gnu.org >> Date: Sat, 08 Jun 2024 12:10:32 +1000 >> >> > So you are saying that exporting to latex is basically completely >> > broken in the current code? Is that command use to export only to >> > latex, or is the fact that the export is to latex is just one of the >> > possibilities? >> >> Yes. The function that does the escaping is >> `table--generate-source-scan-lines', which is a misleading name because >> it is only called by table-generate-source when the language is exported >> to latex. > > It is strange to hear that this is so basically broken. This code > exists since more than 20 years ago, and several people contributed > changes to the LaTeX export, so I'd expect it to be at least somewhat > useful and working. Yes, initially I was surprised as well. Initially I was surprised as well. I found 2 questions on stack overflow in which they also came to the same dead end, of not being able to put equations in table(.el)s. >> >> What the diff does, is that it adds a variable that allows the user to >> >> change what will be escaped. Also as you can see in the above latex >> >> table, the backslash had to be escaped in a different way, so using one >> >> regexp variable would not be enough. That is why the solution contains >> >> a variable called 'table-source-latex-escape-characters', which is a >> >> cons cell with the documentation: >> > >> > Why would a user need to customize this on the level of characters? >> > Shouldn't there be a single boolean that causes latex-specific >> > characters to be escape or not to be escaped, all of them or none? >> > >> >> The problem with that is that there are latex charecters such as '%', >> which is comment, that will cause the whole table to break of not >> escaped. > > Is % the only character with such problems, or are there others? > These characters: "#$~_^%{}&", will all mess something up to different extents. For some it's mostly harmless as with the '~', but characters like '&' will fully mess up the table, as it is used to separate the columns. >> And since the variable is a regexp, it can possibly escape macros, such >> as 'LaTeX' -> '\LaTeX'. > > Not sure I understand: is it a Good Thing that it could escape macros, > or is it a Bad Thing (which should be avoided)? Yes, it is a good thing. "Escaping macros" was bad wording, I meant turning words into macros. Normally it will not do that, but it can be customised to do that. > More generally, given these tricky considerations, how would a user > determine which characters to include in the regexp? If it's only by > examining the texts in the table cells, then it could be not very > practical, since a table could be very large. > >> > >> > What is the purpose of the "tail", i.e. why would a user want to >> > escape all the backslashes? >> >> Mainly because some people might only use the latex export to turn their >> table into a pdf, and escaping backslashes is not as simple as typing >> two backslashes. And also since it was the default behaviour, so those >> who have already made tables will not need to escape all those >> backslashes to make their documents exportable. >> >> If you feel that is unnecessary, I can modify the diff not include >> backslash escaping. > > I think it should be controlled by a separate variable. > Yeah, you probably know better about that then I do. I will just say that variables about table.el are extremely hard to find, since of you "C-h v table ?", you will see 100s of variables thanks to org-mode tables. Personally I would avoid creating more variables with 'table' in their name, but as I said you know a lot more about emacs than I do. > I also added to the discussion two people who in the past contributed > changes to table.el in the LaTeX-related areas, so they probably have > some experience with exporting to LaTeX, and could help us figure out > how best to handle this issue. > all good, more perspectives could help.
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 8 Jun 2024 06:39:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 08 02:39:15 2024 Received: from localhost ([127.0.0.1]:48864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sFpjP-00007X-1x for submit <at> debbugs.gnu.org; Sat, 08 Jun 2024 02:39:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sFpjM-000076-Hb for 71364 <at> debbugs.gnu.org; Sat, 08 Jun 2024 02:39:13 -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 <eliz@HIDDEN>) id 1sFpj1-000668-5G; Sat, 08 Jun 2024 02:38:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=a9BlbQhIXi7bHAMMCukFlv1rETlvPXxUPCy+R3Lo+iQ=; b=nwFOrmPjF81cVCKcmXgL eIc2SCC/YTbxS6Jywl8/azQCnAIhzFh27M3sv59h3rc/UT6g1ZzXBP1HYfthRjnZQ5yRFBxVDA2x7 JdE9CwRbMiiFhCuNg27YR3on7mgs7O1xDy9Er3ke7c9fy8xtY+al6u1hueMB9cff2bX8HSmab5pNp j0H8xIUk8JciX+uMHxtxEJX7WJ6ipjTqLLDsdTLi4atJgZkMWI2tZlZnppQ9rME8aZQVgW96G6Uh8 0IZyqp7GHQXCa2AiGkJMHX/tAM1qShPtcXxWbf8C3R1l8XU4mYQY1C0q2gtAy7fOKs0Oih/k9TQ07 f8StxQjx0+oUFg==; Date: Sat, 08 Jun 2024 09:38:44 +0300 Message-Id: <86le3gdjm3.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Pranshu <pranshusharma366@HIDDEN>, Reuben Thomas <rrt@HIDDEN>, Vladimir Nikishkin <lockywolf@HIDDEN> In-Reply-To: <87h6e4jiav.fsf@HIDDEN> (message from Pranshu on Sat, 08 Jun 2024 12:10:32 +1000) Subject: Re: bug#71364: Fix Table.el export References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> <86jzj1f2fb.fsf@HIDDEN> <87h6e4jiav.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71364 Cc: 71364 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Pranshu <pranshusharma366@HIDDEN> > Cc: 71364 <at> debbugs.gnu.org > Date: Sat, 08 Jun 2024 12:10:32 +1000 > > > So you are saying that exporting to latex is basically completely > > broken in the current code? Is that command use to export only to > > latex, or is the fact that the export is to latex is just one of the > > possibilities? > > Yes. The function that does the escaping is > `table--generate-source-scan-lines', which is a misleading name because > it is only called by table-generate-source when the language is exported > to latex. It is strange to hear that this is so basically broken. This code exists since more than 20 years ago, and several people contributed changes to the LaTeX export, so I'd expect it to be at least somewhat useful and working. > >> What the diff does, is that it adds a variable that allows the user to > >> change what will be escaped. Also as you can see in the above latex > >> table, the backslash had to be escaped in a different way, so using one > >> regexp variable would not be enough. That is why the solution contains > >> a variable called 'table-source-latex-escape-characters', which is a > >> cons cell with the documentation: > > > > Why would a user need to customize this on the level of characters? > > Shouldn't there be a single boolean that causes latex-specific > > characters to be escape or not to be escaped, all of them or none? > > > > The problem with that is that there are latex charecters such as '%', > which is comment, that will cause the whole table to break of not > escaped. Is % the only character with such problems, or are there others? > And since the variable is a regexp, it can possibly escape macros, such > as 'LaTeX' -> '\LaTeX'. Not sure I understand: is it a Good Thing that it could escape macros, or is it a Bad Thing (which should be avoided)? More generally, given these tricky considerations, how would a user determine which characters to include in the regexp? If it's only by examining the texts in the table cells, then it could be not very practical, since a table could be very large. > >> A cons cell containing which charecters to escape in the latex source > >> of ‘table-generate-source’. The head of the list, if non-nil contains a > >> regexp that matches all text that is to be adding a preceding backslash > >> to the matching text. If nil, no non-backslash charecters will be > >> escaped. The tail, if non-nil, escapes all the backslashes in the latex > >> source. > > > > What is the purpose of the "tail", i.e. why would a user want to > > escape all the backslashes? > > Mainly because some people might only use the latex export to turn their > table into a pdf, and escaping backslashes is not as simple as typing > two backslashes. And also since it was the default behaviour, so those > who have already made tables will not need to escape all those > backslashes to make their documents exportable. > > If you feel that is unnecessary, I can modify the diff not include > backslash escaping. I think it should be controlled by a separate variable. I also added to the discussion two people who in the past contributed changes to table.el in the LaTeX-related areas, so they probably have some experience with exporting to LaTeX, and could help us figure out how best to handle this issue. Reuben and Vladimir, would you please comment on the usability of exporting to LaTeX in table.el, and on the proposed improvements? Thanks.
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 8 Jun 2024 02:11:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 07 22:11:59 2024 Received: from localhost ([127.0.0.1]:56167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sFlYl-00034i-D4 for submit <at> debbugs.gnu.org; Fri, 07 Jun 2024 22:11:59 -0400 Received: from mail-pj1-f51.google.com ([209.85.216.51]:45158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pranshusharma366@HIDDEN>) id 1sFlYk-00034R-Ff for 71364 <at> debbugs.gnu.org; Fri, 07 Jun 2024 22:11:58 -0400 Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-2c2015e9baeso1973612a91.2 for <71364 <at> debbugs.gnu.org>; Fri, 07 Jun 2024 19:11:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717812636; x=1718417436; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XQcVkAOecbR9DPBztCKluYXwtLeQSza6w0XVNlPSCvg=; b=nn5Lkya/YuJSA28Ht3oWnhTXizl7eIuMmQJShP9nHJ3XqXrDbNm1f0AY0KRhK46E0C KcoHvnHpyXnI2InWRTCVRlUFOlQD1VpqFjeBLQGScK6+Vc2z+4EYy/LYfjFRJ73R+gVh n8vXNlNg4q89+T5lIT+ls2MUiD9rWaxnuhevd5dUAVl9kNrSKC4pw0DEIbWzoVDf/kwA 1Sls+9TmlTm2Io+lpJfVctBsXDiKy7s7S14NpWBiIerPWeUya8M81AsXZMvMjRl9U6LB lwuekKZjXM4Awzt2guq27Ax3rvxv/xPL3Tgz4i8lHzX+XRME7Ebn4XN533uyGuOHJKiw v3Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717812636; x=1718417436; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=XQcVkAOecbR9DPBztCKluYXwtLeQSza6w0XVNlPSCvg=; b=Dx3wRcMPsfaBP/HyHG9Pf9e/FQkUNGxQgFxgxjwtSXuuuLDVh88oNq4en/MQHiDo+2 YgVAhOgKhTROXzPyRy28HacCycDmrTgT8cOIK+XNrHk99lPDFcTYqhk9fd+PYT/6l3ya 9f6ygX+9BZsvcYOj1tbFs4+s1kGHheWhL42yxNfrIrEuTNTLAd09+XVsaxqmZMl8ne7n 8KbRTNxcSzXu1qM7hJA1q0yKbF51z8cXG4CQ+FQUV159Llm507d5UEywiuLyxgoXD0ee 8ryBrhPOjq2uD4yVn84+QFhDnExLLBeiRgCoBUJZC5WsIHCVuBpD6BgfQq9+YMb+H3TB Tlqw== X-Gm-Message-State: AOJu0YygnT2Sd4mwfvK+Be9/OlyI1mfNOS1yUwdv6v82STShYC2Cm1xP SeYwi66QqsPDP7G9C2hQgL2xJvn5rS2G0nSsrY32uyIK6ox+MSvXjLLl9MxO X-Google-Smtp-Source: AGHT+IHRdXdS7zgVtamJ+SQc2JMGNWb32bCsAvYJMpftnS5DyfM1XK59WykE7Gh0qCisqORTeaovfg== X-Received: by 2002:a17:90b:4f83:b0:2c0:1dd7:4221 with SMTP id 98e67ed59e1d1-2c2bc9ba675mr4131720a91.10.1717812635836; Fri, 07 Jun 2024 19:10:35 -0700 (PDT) Received: from pebl ([2001:8003:7816:8300:7f15:5962:16a0:6470]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c2806ccf77sm6415742a91.51.2024.06.07.19.10.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 19:10:35 -0700 (PDT) From: Pranshu <pranshusharma366@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#71364: Fix Table.el export In-Reply-To: <86jzj1f2fb.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 07 Jun 2024 13:54:48 +0300") References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> <86jzj1f2fb.fsf@HIDDEN> Date: Sat, 08 Jun 2024 12:10:32 +1000 Message-ID: <87h6e4jiav.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 71364 Cc: 71364 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.8 (/) > So you are saying that exporting to latex is basically completely > broken in the current code? Is that command use to export only to > latex, or is the fact that the export is to latex is just one of the > possibilities? Yes. The function that does the escaping is `table--generate-source-scan-lines', which is a misleading name because it is only called by table-generate-source when the language is exported to latex. >> What the diff does, is that it adds a variable that allows the user to >> change what will be escaped. Also as you can see in the above latex >> table, the backslash had to be escaped in a different way, so using one >> regexp variable would not be enough. That is why the solution contains >> a variable called 'table-source-latex-escape-characters', which is a >> cons cell with the documentation: > > Why would a user need to customize this on the level of characters? > Shouldn't there be a single boolean that causes latex-specific > characters to be escape or not to be escaped, all of them or none? > The problem with that is that there are latex charecters such as '%', which is comment, that will cause the whole table to break of not escaped. And since the variable is a regexp, it can possibly escape macros, such as 'LaTeX' -> '\LaTeX'.=20 >> A cons cell containing which charecters to escape in the latex source >> of =E2=80=98table-generate-source=E2=80=99. The head of the list, if no= n-nil contains a >> regexp that matches all text that is to be adding a preceding backslash >> to the matching text. If nil, no non-backslash charecters will be >> escaped. The tail, if non-nil, escapes all the backslashes in the latex >> source. > > What is the purpose of the "tail", i.e. why would a user want to > escape all the backslashes? Mainly because some people might only use the latex export to turn their table into a pdf, and escaping backslashes is not as simple as typing two backslashes. And also since it was the default behaviour, so those who have already made tables will not need to escape all those backslashes to make their documents exportable. If you feel that is unnecessary, I can modify the diff not include backslash escaping. > > Thanks.
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 7 Jun 2024 10:55:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 07 06:55:21 2024 Received: from localhost ([127.0.0.1]:46344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sFXFe-00051H-U2 for submit <at> debbugs.gnu.org; Fri, 07 Jun 2024 06:55:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sFXFZ-00050j-VH for 71364 <at> debbugs.gnu.org; Fri, 07 Jun 2024 06:55:17 -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 <eliz@HIDDEN>) id 1sFXFF-0005Aq-Cr; Fri, 07 Jun 2024 06:54:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=fnxHssutKxdsC4FIy3QhFQ3BihqLperVqzDlmCQJ/IU=; b=ZX5dn4Ks26EzxLDaJeSs xNEqBlJgQOeKeT9pAPSZi9T72g7p8t61qhoxiu/bEDASt+Um+aQujAVUpQTL0hKSfGdzoUq5ziRVY k115c3tUGiZSHtttHsIyPeakRS8+9yyHMAyddr2bSR9f7pGiOHLZC8OYhA8emrcI4ZnPJssmCr3pq aoBwdNbii5Di77udB8KBiM68PsYZoyIt+NjzlG2K26/4+w8LdTBv7sdLK+0joGF0ZT009GLH64+8Q A5pfETPlFiGj4j/67wtQz7piE1JeegCdoJRXoAlYUEv2lFCFq9K/4FWSOSG/hrVxUFByIt5jm7mY7 8iCtRAxtUVPe6w==; Date: Fri, 07 Jun 2024 13:54:48 +0300 Message-Id: <86jzj1f2fb.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Pranshu <pranshusharma366@HIDDEN> In-Reply-To: <87frtpqltu.fsf@HIDDEN> (message from Pranshu on Fri, 07 Jun 2024 17:00:13 +1000) Subject: Re: bug#71364: Fix Table.el export References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> <87frtpqltu.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71364 Cc: 71364 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Pranshu <pranshusharma366@HIDDEN> > Cc: 71364 <at> debbugs.gnu.org > Date: Fri, 07 Jun 2024 17:00:13 +1000 > > Now, the problem is if you have a table like the following: > +---------+-------+--------+ > |$\delta$ |x |y | > +---------+-------+--------+ > |x | $x^2$ |$xy$ | > +---------+-------+--------+ > |y | $xy$ | $y^2$ | > +---------+-------+--------+ > > Now if you export to latex using "C-^" or M-x table-generate-source you > get: > > % This LaTeX table template is generated by emacs 30.0.50 > \begin{tabular}{|l|l|l|} > \hline > \$$\backslash$delta\$ & x & y \\ > \hline > x & \$x\^2\$ & \$xy\$ \\ > \hline > y & \$xy\$ & \$y\^2\$ \\ > \hline > \end{tabular} > > The problem with this is that since the all the dollar and caret signs > are all escaped, the maths will not render. So you are saying that exporting to latex is basically completely broken in the current code? Is that command use to export only to latex, or is the fact that the export is to latex is just one of the possibilities? > What the diff does, is that it adds a variable that allows the user to > change what will be escaped. Also as you can see in the above latex > table, the backslash had to be escaped in a different way, so using one > regexp variable would not be enough. That is why the solution contains > a variable called 'table-source-latex-escape-characters', which is a > cons cell with the documentation: Why would a user need to customize this on the level of characters? Shouldn't there be a single boolean that causes latex-specific characters to be escape or not to be escaped, all of them or none? > A cons cell containing which charecters to escape in the latex source > of ‘table-generate-source’. The head of the list, if non-nil contains a > regexp that matches all text that is to be adding a preceding backslash > to the matching text. If nil, no non-backslash charecters will be > escaped. The tail, if non-nil, escapes all the backslashes in the latex > source. What is the purpose of the "tail", i.e. why would a user want to escape all the backslashes? Thanks.
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 7 Jun 2024 07:01:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 07 03:01:41 2024 Received: from localhost ([127.0.0.1]:56327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sFTbZ-0001qs-01 for submit <at> debbugs.gnu.org; Fri, 07 Jun 2024 03:01:41 -0400 Received: from mail-pl1-f173.google.com ([209.85.214.173]:43056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pranshusharma366@HIDDEN>) id 1sFTbX-0001qR-8A for 71364 <at> debbugs.gnu.org; Fri, 07 Jun 2024 03:01:40 -0400 Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1f67fa9cd73so21267245ad.0 for <71364 <at> debbugs.gnu.org>; Fri, 07 Jun 2024 00:01:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717743618; x=1718348418; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=k+GpPtgsYLpibTFxl4QXk+0m+6g1VyC0pYvXe4ncGMo=; b=gog7iPyv/IGFOFuoIntvy50rtZaRL7Ir/T6xXQnTsL/fQzg6X4JdkBTssXTZ5WVVlD 4y9KRwlsNPyg+z0wJ7e6QUiOWX6PWVco2JrU8bgMICJC5uPs0/wIxFeqg3AyD/l0lLgA TkhAsjjmLmd2n6nTB9vSfaFVyioh1+BdswLds4jNhnh2RmjJShe1hnilnOLMPx5yKUDi ZWttT0CXHg9dPsgDvaHcDJZKYgdGqpw8K/kgd3B+URdfDRLKgGs5rWMwKPxaVwPaVMeg 1xRmhJ1w+B/+XUTQHu8T+T2QoaW3tKi1RTxCaTdSoJ2qyJHzJv6zxaw6SOwiPYNl8Grs pZoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717743618; x=1718348418; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=k+GpPtgsYLpibTFxl4QXk+0m+6g1VyC0pYvXe4ncGMo=; b=nWScBjKlYOncohWHRbFbeS45nroVm7qsu2oWhFz/5DEQfd7rvcOKM38ndLTcod+A2F jmskAQKMKn7ERUZMv0U+NEohnmxoRY+WgiOZrnuB0jqSwGw7V4xw3iweJ81anDjrTxuW /BtC5f8zUaObeHba7C0dnvXHLAwM2o6/Tdnwn4sOf0scNrmPc2Fdv507kOMuM/dOT6nq OdnCWaRqEReDHleeahFlUS2Vg5pB1n7bJKfNPvoJ4ZCZIPwinGbXjJeZ6ACv0hArhJvU jbR/H5vOAQsu0v7dInAZZy/GYq2M3SCN7CwjLE0vLGGfSGncLYdja61u2Ojt8GhK9jJm l63g== X-Gm-Message-State: AOJu0YxsMjX9gELLmyTJ9K754AjBhsTcrOrbaB0gR5N5CyN4TG/xKIKR er10EprTo+G2thW2l/pIa/QnP5ujwAmBMzIwGJRMjZSxlLUHtJ/fehxCA/Uo X-Google-Smtp-Source: AGHT+IFZ/LGxaTv1oJ9Wy7SWI7tYJpAjOYfUb2flVhVjVEMHtuQ0tEgBlEZeOV/foNoaTiuKuR95gA== X-Received: by 2002:a17:902:ce82:b0:1f6:32ef:3e00 with SMTP id d9443c01a7336-1f6b88bd286mr69104065ad.0.1717743617153; Fri, 07 Jun 2024 00:00:17 -0700 (PDT) Received: from pebl ([2001:8003:7816:8300:7f15:5962:16a0:6470]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f6dcb222aesm4404705ad.49.2024.06.07.00.00.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 00:00:16 -0700 (PDT) From: Pranshu <pranshusharma366@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#71364: Fix Table.el export In-Reply-To: <86r0dagv7v.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 06 Jun 2024 14:35:16 +0300") References: <8734ptj6lj.fsf@HIDDEN> <86r0dagv7v.fsf@HIDDEN> Date: Fri, 07 Jun 2024 17:00:13 +1000 Message-ID: <87frtpqltu.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 71364 Cc: 71364 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.8 (/) [1. application/pdf; thing.pdf]... All good, basiclly in latex a equation is formatted in something like: $\Delta Q =3D r^2$ Will become something like: "=CE=94Q =3D r=C2=B2" The key takeway is the dollar symbol is needed to tell the latex compiler that it is typesetting maths. Now, the problem is if you have a table like the following: +---------+-------+--------+ |$\delta$ |x |y | +---------+-------+--------+ |x | $x^2$ |$xy$ | +---------+-------+--------+ |y | $xy$ | $y^2$ | +---------+-------+--------+ Now if you export to latex using "C-^" or M-x table-generate-source you get: % This LaTeX table template is generated by emacs 30.0.50 \begin{tabular}{|l|l|l|} \hline \$$\backslash$delta\$ & x & y \\ \hline x & \$x\^2\$ & \$xy\$ \\ \hline y & \$xy\$ & \$y\^2\$ \\ \hline \end{tabular} The problem with this is that since the all the dollar and caret signs are all escaped, the maths will not render. The rendered pdf from the above latex is attached, you can see that the equations were not rendered properly. This is because the dollar signs and carets were automaticly escaped What the diff does, is that it adds a variable that allows the user to change what will be escaped. Also as you can see in the above latex table, the backslash had to be escaped in a different way, so using one regexp variable would not be enough. That is why the solution contains a variable called 'table-source-latex-escape-characters', which is a cons cell with the documentation: A cons cell containing which charecters to escape in the latex source of =E2=80=98table-generate-source=E2=80=99. The head of the list, if non-n= il contains a regexp that matches all text that is to be adding a preceding backslash to the matching text. If nil, no non-backslash charecters will be escaped. The tail, if non-nil, escapes all the backslashes in the latex source. Kind Regards Pranshu Eli Zaretskii <eliz@HIDDEN> writes: >> Cc: 71364 <at> debbugs.gnu.org >> From: Pranshu <pranshusharma366@HIDDEN> >> Date: Tue, 04 Jun 2024 21:22:00 +1000 >>=20 >> When table.el exports to latex, charecters like '$' are all escaped. >> This makes table.el tables practically useless for any sorts of latex >> export. >>=20 >> Attached is a diff that adds a variable that controls what should be >> escaped. > > Could you please explain in some more details the problem and the > solution? I'm afraid I couldn't follow your logic, perhaps because > I'm not a frequent user of LaTeX. > > Thanks.
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Received: (at 71364) by debbugs.gnu.org; 6 Jun 2024 11:35:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 06 07:35:40 2024 Received: from localhost ([127.0.0.1]:52580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sFBP9-0006lA-Uq for submit <at> debbugs.gnu.org; Thu, 06 Jun 2024 07:35:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sFBP8-0006kx-C6 for 71364 <at> debbugs.gnu.org; Thu, 06 Jun 2024 07:35:38 -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 <eliz@HIDDEN>) id 1sFBOo-0006Mo-GA; Thu, 06 Jun 2024 07:35:18 -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=VNr8eHBdQTfQtKzYlnmhaFyXK2D2vO0B+pu3xdpgfHM=; b=d3T0dY+zMuhj cgD+IEXk5e1ds2nYyaPKSRUL2xTAD6S8fTd67p+DSdDYruaw2Q4NrpOHpGb8wC0g3nkQAdwvPWMQ+ 6MUotn0MnVpR3L69/8P7CLBkSkxyxI+jcZX392NplCQk9FkxjpTzpGb5AxRSCK5dHlTVJjX1OHp/b DoQZwPpbKcKo2Z3skq8T90O0QzQq90+7W7dFyQnj1TvPP4I31KzSxh8epgNWwjTw0U0UMzV1LAdds 6Rr41hidOwFpOqFrAR1zDEKPr2iyATYKWwDoIaEUuHZ3aMvvQeGvta4qz5wF4aKZxJiiPg/ZBOELu RsxJgDRoBejsYxugGenYrg==; Date: Thu, 06 Jun 2024 14:35:16 +0300 Message-Id: <86r0dagv7v.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Pranshu <pranshusharma366@HIDDEN> In-Reply-To: <8734ptj6lj.fsf@HIDDEN> (message from Pranshu on Tue, 04 Jun 2024 21:22:00 +1000) Subject: Re: bug#71364: Fix Table.el export References: <8734ptj6lj.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71364 Cc: 71364 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 71364 <at> debbugs.gnu.org > From: Pranshu <pranshusharma366@HIDDEN> > Date: Tue, 04 Jun 2024 21:22:00 +1000 > > When table.el exports to latex, charecters like '$' are all escaped. > This makes table.el tables practically useless for any sorts of latex > export. > > Attached is a diff that adds a variable that controls what should be > escaped. Could you please explain in some more details the problem and the solution? I'm afraid I couldn't follow your logic, perhaps because I'm not a frequent user of LaTeX. Thanks.
bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.Andrea Corallo <acorallo@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 4 Jun 2024 14:43:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 04 10:43:21 2024 Received: from localhost ([127.0.0.1]:56971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sEVNh-0000HO-1U for submit <at> debbugs.gnu.org; Tue, 04 Jun 2024 10:43:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:43296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pranshusharma366@HIDDEN>) id 1sESFC-0001n7-Cy for submit <at> debbugs.gnu.org; Tue, 04 Jun 2024 07:22:23 -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 <pranshusharma366@HIDDEN>) id 1sESEy-0002hk-M9 for bug-gnu-emacs@HIDDEN; Tue, 04 Jun 2024 07:22:08 -0400 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <pranshusharma366@HIDDEN>) id 1sESEw-0003Ng-MI for bug-gnu-emacs@HIDDEN; Tue, 04 Jun 2024 07:22:08 -0400 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-70260814b2dso1957755b3a.1 for <bug-gnu-emacs@HIDDEN>; Tue, 04 Jun 2024 04:22:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717500124; x=1718104924; darn=gnu.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=vQ4k26oI03mKioJc2IiC5YGRd91x9AV9tvaLy/bk3Tg=; b=E6hy1nN67GDJjMfp9zp7Ao0X/PxqQ3XkW5h9gvNnBUKGc3FF4oGM5IENY28ljgOXjo TDXdkXeBqZCXVL3r4hZ7eArLEXzvWu3GOLAEYyDIHeiSJYjVTAp5u2k0BVwEOg8P4FFl wlBQO+7LEE3E33i+uBG7dt8dk2s1tRAh7CJDjrVgpmCx+moua+RYAsGS5WyP1minBmyQ 00oCZhJk8BSIrLXhshavuRTtJ1CUbWik6CMpFk5eGFMuKIjZDiLNANn90VwyeuiDsHlF MevUOKK/QbSzSJByzh1Sq3kmpGuhklAfxIK94NoQs3Se5sIYO2XIDwbY7pwycW3XnrIJ 6vTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717500124; x=1718104924; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=vQ4k26oI03mKioJc2IiC5YGRd91x9AV9tvaLy/bk3Tg=; b=al0cM7Y4R/fSC+BmPzR2xU8YD4AAVHkmd+KcIyM+4yjPbIt2hjuZEcxjeWH+Xy80Dq reeKkuN39b1vJSspj9xuzKkUs3puAcKtQWXHMNJukzRbsc2kV6ChAPn3+LYTnyU9v4Gu LGCM+BT8SqVV+lvtAnQuwOU+Ag/wk3994+ZtNknw869PGs1jq+lESRCWp3x5csa4JKTC 5mCwPuQMJBre2S+f2D8CRqEXtQ7KJDEOSEVxvpmAtsz6j9I8A5RvTZLRtbPmK0yWZDEz PZu+aaHFmmYIjFliATmGaF2AFF1s0cetCLAE0L0MQpqzCoay7R7C3nVEzhUezRMex63w iGdw== X-Gm-Message-State: AOJu0YzDhsHsKpm8sKzh6i00hm6DasaS77OsV+0FFtgFWoa7wXL0Fp9Z xYgxhtj2glzxrnqVcF5+U0YClse4G6PwR7Z1GYwus1gd7TFLL4Lv222ZFwno X-Google-Smtp-Source: AGHT+IFmfvw8NLO7pOGPaGfJkrY34KPi0JyrjOy49DxjJKO4VrF1GQV7ILT7tKer8rvIXQeMpd16vw== X-Received: by 2002:a05:6a20:9155:b0:1ac:dead:68 with SMTP id adf61e73a8af0-1b2a3433f28mr3406314637.24.1717500123781; Tue, 04 Jun 2024 04:22:03 -0700 (PDT) Received: from pebl ([2001:8003:7816:8300:7f15:5962:16a0:6470]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70242b300e8sm6825782b3a.210.2024.06.04.04.22.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 04:22:03 -0700 (PDT) From: Pranshu <pranshusharma366@HIDDEN> To: pranshusharma366@HIDDEN Subject: Fix Table.el export Date: Tue, 04 Jun 2024 21:22:00 +1000 Message-ID: <8734ptj6lj.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::431; envelope-from=pranshusharma366@HIDDEN; helo=mail-pf1-x431.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 04 Jun 2024 10:43:20 -0400 Cc: bug-gnu-emacs@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.1 (--) --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=table.diff diff --git a/lisp/textmodes/table.el b/lisp/textmodes/table.el index 19c6a8d7c4..28401084a6 100644 --- a/lisp/textmodes/table.el +++ b/lisp/textmodes/table.el @@ -697,6 +697,19 @@ table-word-continuation-char :type 'character :group 'table) +(defcustom table-source-latex-escape-characters (cons "[#$~_^%{}&]" t) + "A cons cell containing which charecters to escape in the latex source +of `table-generate-source'. The head of the list, if non-nil contains a +regexp that matches all text that is to be adding a preceding backslash +to the matching text. If nil, no non-backslash charecters will be +escaped. The tail, if non-nil, escapes all the backslashes in the latex +source." + :tag "Source Latex Escape Charecters Regexp" + :type '(cons (radio (regexp :tag "regexp") + (const :tag "Off" nil)) + boolean) + :group 'table) + (defcustom table-detect-cell-alignment t "Detect cell contents alignment automatically. When non-nil cell alignment is automatically determined by the @@ -3264,19 +3277,29 @@ table--generate-source-scan-lines (lambda (from to) (let ((line (table--buffer-substring-and-trim (table--goto-coordinate (cons from y)) - (table--goto-coordinate (cons to y))))) + (table--goto-coordinate (cons to y)))) + (escape-char-reg + (apply 'concat (append (and (car table-source-latex-escape-characters) + (list "\\(" + (car table-source-latex-escape-characters) + "\\)" + (and (cdr table-source-latex-escape-characters) + "\\|"))) + (and (cdr table-source-latex-escape-characters) + (list"\\(\\\\\\)")))))) ;; escape special characters (with-temp-buffer (insert line) (goto-char (point-min)) - (while (re-search-forward "\\([#$~_^%{}&]\\)\\|\\(\\\\\\)\\|\\([<>|]\\)" nil t) - (if (match-beginning 1) - (save-excursion - (goto-char (match-beginning 1)) - (insert "\\")) - (if (match-beginning 2) - (replace-match "$\\backslash$" t t) - (replace-match (concat "$" (match-string 3) "$")) t t))) + (when (or (car table-source-latex-escape-characters) + (cdr table-source-latex-escape-characters)) + (while (re-search-forward escape-char-reg nil t) + (if (and (car table-source-latex-escape-characters) + (match-beginning 1)) + (save-excursion + (goto-char (match-beginning 1)) + (insert "\\")) + (replace-match "$\\backslash$" t t)))) (setq line (buffer-substring (point-min) (point-max)))) ;; insert a column separator and column/multicolumn contents (with-current-buffer dest-buffer --=-=-= Content-Type: text/plain Hello all, When table.el exports to latex, charecters like '$' are all escaped. This makes table.el tables practically useless for any sorts of latex export. Attached is a diff that adds a variable that controls what should be escaped. Kind Regards, Pranshu --=-=-=--
Pranshu <pranshusharma366@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#71364
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.