From unknown Sun Jun 22 11:42:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48650] [PATCH] gnu: Add emacs-org-pandoc-import. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 May 2021 11:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48650@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162194056225942 (code B ref -1); Tue, 25 May 2021 11:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 May 2021 11:02:42 +0000 Received: from localhost ([127.0.0.1]:44817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llUpe-0006kM-AN for submit@debbugs.gnu.org; Tue, 25 May 2021 07:02:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:37142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llUpb-0006k9-3P for submit@debbugs.gnu.org; Tue, 25 May 2021 07:02:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llUpa-0003AE-GX for guix-patches@gnu.org; Tue, 25 May 2021 07:02:38 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:40238 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llUpY-0005Y5-Nh for guix-patches@gnu.org; Tue, 25 May 2021 07:02:38 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1621940551; bh=TDnuE5703hfrkjvL/zKcIQuqJO8RgcUsUXa1SAQjhYU=; h=From:To:Subject:Date; b=aPPnLlrRbpgZf0zyfl83DlmD+aHaahQIJ4kwUjvFLzNZ+wWDv47FcCdtcXY+6Nu/s urtVK6EXsey7t1HgJjmap6kkHffSXCByc18ynyIleS5F+DnIMGagQT8ev6TX4vYelE uZRI35HtISxtQFplIT3l3rheC6oQmzLYkFk7c3EM= Message-Id: <347e7d7d2fca562cf038cc7acb3a203862397d7f.1621940480.git.public@yoctocell.xyz> Date: Tue, 25 May 2021 13:02:30 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 33 X-Spam_score: 3.3 X-Spam_bar: +++ X-Spam_report: (3.3 / 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, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=1.896, PDS_OTHER_BAD_TLD=1.997, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 3.1 (+++) 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: * gnu/packages/emacs-xyz.scm (emacs-org-pandoc-import): New variable. --- gnu/packages/emacs-xyz.scm | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 886320cc34..4e914c5898 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -7115,6 +7115,56 @@ It als [...] Content analysis details: (3.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] 1.9 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) * gnu/packages/emacs-xyz.scm (emacs-org-pandoc-import): New variable. --- gnu/packages/emacs-xyz.scm | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 886320cc34..4e914c5898 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -7115,6 +7115,56 @@ It also prettifies Org plain list bullets by: Features degrade gracefully when viewed from terminal.") (license license:gpl3+))) =20 +(define-public emacs-org-pandoc-import + (package + (name "emacs-org-pandoc-import") + (version "1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tecosaur/org-pandoc-import/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00z9bpm975mlyqlxbyib3j547br6kvcam04b70qkmq22vh8yf341")))) + (build-system emacs-build-system) + (arguments + `(#:include + (cons* "^filters\\/" "^preprocessors" %default-include) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-exec-paths + (lambda* (#:key inputs #:allow-other-keys) + (let ((pandoc (assoc-ref inputs "pandoc"))) + (substitute* "org-pandoc-import.el" + (("\"pandoc\"") (string-append "\"" pandoc "/bin/pandoc\"= "))))))))) + (inputs + `(("pandoc" ,pandoc))) + (home-page "https://github.com/tecosaur/org-pandoc-import/") + (synopsis "Save yourself from non-Org formats") + (description "This package uses Pandoc to convert selected file types = to +Org, so you never have to leave Org. There are two tiers of non-Org file +avoidance: + +@enumerate +@item The basic ``get me out of here'' --- +@code{org-pandoc-import-{to,as}-org} allows you to easily convert supported +non-Org files to an Org file/buffer with Pandoc + +@item The ``I don=E2=80=99t even want to see non-org files'' --- +@code{org-pandoc-import-transient-mode} is for you. What it does: +@itemize +@item (via file handlers) intercepts requests for non-Org files it knows it +can convert +@item uses @code{org-pandoc-import-to-org} to convert the file to a tempor= ary +Org file +@item opens this Org file instead +@item exports back to the original non-Org file on save +@end itemize +@end enumerate") + (license license:gpl3+))) + (define-public emacs-org-pomodoro ;; Last release version was from 2016. (let ((commit "aa07c11318f91219336197e62c47bc7a3d090479") base-commit: a154048d980ada9b7dcc35e35cbe75056a0cd756 --=20 2.31.1 From unknown Sun Jun 22 11:42:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48650] [PATCH] gnu: Add emacs-org-pandoc-import. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 May 2021 12:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen Cc: 48650@debbugs.gnu.org Received: via spool by 48650-submit@debbugs.gnu.org id=B48650.162203303911756 (code B ref 48650); Wed, 26 May 2021 12:44:02 +0000 Received: (at 48650) by debbugs.gnu.org; 26 May 2021 12:43:59 +0000 Received: from localhost ([127.0.0.1]:47838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llstD-00033Y-Ip for submit@debbugs.gnu.org; Wed, 26 May 2021 08:43:59 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:52681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llstA-00033F-Of for 48650@debbugs.gnu.org; Wed, 26 May 2021 08:43:57 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay11.mail.gandi.net (Postfix) with ESMTPSA id A44A4100008; Wed, 26 May 2021 12:43:49 +0000 (UTC) From: Nicolas Goaziou References: <347e7d7d2fca562cf038cc7acb3a203862397d7f.1621940480.git.public@yoctocell.xyz> Date: Wed, 26 May 2021 14:43:48 +0200 In-Reply-To: <347e7d7d2fca562cf038cc7acb3a203862397d7f.1621940480.git.public@yoctocell.xyz> (Xinglu Chen's message of "Tue, 25 May 2021 13:02:30 +0200") Message-ID: <87lf81is1n.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.3 (+) 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: Hello, Xinglu Chen writes: > * gnu/packages/emacs-xyz.scm (emacs-org-pandoc-import): New variable. Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.231 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [217.70.178.231 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Hello, Xinglu Chen writes: > * gnu/packages/emacs-xyz.scm (emacs-org-pandoc-import): New variable. Thank you. It looks good with one minor nit below. > + (synopsis "Save yourself from non-Org formats") > + (description "This package uses Pandoc to convert selected file type= s to > +Org, so you never have to leave Org. There are two tiers of non-Org file > +avoidance: > + > +@enumerate > +@item The basic ``get me out of here'' --- > +@code{org-pandoc-import-{to,as}-org} allows you to easily convert suppor= ted > +non-Org files to an Org file/buffer with Pandoc > + > +@item The ``I don=E2=80=99t even want to see non-org files'' --- > +@code{org-pandoc-import-transient-mode} is for you. What it does: > +@itemize > +@item (via file handlers) intercepts requests for non-Org files it knows= it > +can convert > +@item uses @code{org-pandoc-import-to-org} to convert the file to a temp= orary > +Org file > +@item opens this Org file instead > +@item exports back to the original non-Org file on save > +@end itemize > +@end enumerate") Could you make the synopsis and the description more neutral? E.g., we can drop the "so you never have to leave Org" part, etc. Regards, --=20 Nicolas Goaziou From unknown Sun Jun 22 11:42:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48650] [PATCH] gnu: Add emacs-org-pandoc-import. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 May 2021 14:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 48650@debbugs.gnu.org Received: via spool by 48650-submit@debbugs.gnu.org id=B48650.162203831922001 (code B ref 48650); Wed, 26 May 2021 14:12:02 +0000 Received: (at 48650) by debbugs.gnu.org; 26 May 2021 14:11:59 +0000 Received: from localhost ([127.0.0.1]:49660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lluGN-0005in-Cj for submit@debbugs.gnu.org; Wed, 26 May 2021 10:11:59 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:54388 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lluGD-0005iT-Ln for 48650@debbugs.gnu.org; Wed, 26 May 2021 10:11:57 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1622038304; bh=gATEGIdmWKN66lfbAEFrnOE+TSnEveEYSEwsvqOQF5c=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=Vmrn12Dkq/D5K71gErGypGUp6GD65Byx2RYGUrnLJ5mUXV7u62h2VXOBqxpI1dvcU bCL30hPUbOipyfZIlyxhntSSGJVRG/LisQ7uoIxtSr3W9VDtgFzZmw63uGwTAmRlfe J8D9ypzZbq6uz0Gdf/fgCqwtieetAj3uhfNJZ9Do= In-Reply-To: <87lf81is1n.fsf@nicolasgoaziou.fr> References: <347e7d7d2fca562cf038cc7acb3a203862397d7f.1621940480.git.public@yoctocell.xyz> <87lf81is1n.fsf@nicolasgoaziou.fr> Date: Wed, 26 May 2021 16:11:43 +0200 Message-ID: <87y2c1wpnk.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 3.3 (+++) 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: On Wed, May 26 2021, Nicolas Goaziou wrote: > Hello, > > Xinglu Chen writes: > >> * gnu/packages/emacs-xyz.scm (emacs-org-pandoc-import): New variable. > > Thank you. It looks good with one minor nit below. > >> + (synops [...] Content analysis details: (3.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_SPF_TEMPERROR SPF: test of record failed (temperror) 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.9 (++) 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: On Wed, May 26 2021, Nicolas Goaziou wrote: > Hello, > > Xinglu Chen writes: > >> * gnu/packages/emacs-xyz.scm (emacs-org-pandoc-import): New variable. > > Thank you. It looks good with one minor nit below. > >> + (synops [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, May 26 2021, Nicolas Goaziou wrote: > Hello, > > Xinglu Chen writes: > >> * gnu/packages/emacs-xyz.scm (emacs-org-pandoc-import): New variable. > > Thank you. It looks good with one minor nit below. > >> + (synopsis "Save yourself from non-Org formats") >> + (description "This package uses Pandoc to convert selected file typ= es to >> +Org, so you never have to leave Org. There are two tiers of non-Org fi= le >> +avoidance: >> + >> +@enumerate >> +@item The basic ``get me out of here'' --- >> +@code{org-pandoc-import-{to,as}-org} allows you to easily convert suppo= rted >> +non-Org files to an Org file/buffer with Pandoc >> + >> +@item The ``I don=E2=80=99t even want to see non-org files'' --- >> +@code{org-pandoc-import-transient-mode} is for you. What it does: >> +@itemize >> +@item (via file handlers) intercepts requests for non-Org files it know= s it >> +can convert >> +@item uses @code{org-pandoc-import-to-org} to convert the file to a tem= porary >> +Org file >> +@item opens this Org file instead >> +@item exports back to the original non-Org file on save >> +@end itemize >> +@end enumerate") > > Could you make the synopsis and the description more neutral? E.g., we > can drop the "so you never have to leave Org" part, etc. OK, will do :) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmCuVx8VHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5a9MQAKSWgzQ2BYMlaHjWTfHFnMUD/N5j GMJQujJfTFCbkWVDio9G99rKWCvxKONrbc4GX08X5wBTPhvVptdKxqPpqhUsSVCV 6cHzRbbbzBfthClTF0wv+Ukjm7HkZy7CUc53wzt63HOnx8EE/MEasGLJwFKeuwDv vZe9ek1rsm7Jj9pLRKok4vHUOhfRKh6II7eaD01/ust3fd+KgarrLD46VkKT8w5U oP9Xx+r2T1fnh8jMIGehMeqBPV9eGgzRuk1okUpNvTmqdVFmnv5jgoEzAi0S6EnF Ux29ZnnfRq1/fDSYOh8cxtYwkiR2mkV7wZQY1FSgEdJncVH9/Y8+ByXJfqvQ9d3t AzH9uml/HWqlPDL6AKQQMF5+/XYjut+GIjbLFdEMBYdIJ2UOtEDWTfyyVCgtbn/3 MWEV3u6Tn62cZfaYyEsyTw/1XlJ+HgsrqNGIes4svI5KcDVadDB7lJh5oRDmidt5 qiQi4tqzgIBYmN2hwEZLaHv4VgF0Nu7tK2TCEM5PUTVB6DJhNVqWrJ6Rv3GmmO4H DqDBVNsyxE1yQJSBXVPzUcgPZcHc1JpLR6qMwo/FZp92Npx9zUY6GBG1QGO+3mzB Z1BU6EwFAsUueZJilNvvEn//DivCJ+wBwl25sYx7rCx5zlJDFH6NqWO954q4U38S jk2/6WDjvZi2dQ7y =PH8A -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 11:42:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48650] [PATCH] gnu: Add emacs-org-pandoc-import. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 May 2021 14:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48650@debbugs.gnu.org Cc: Nicolas Goaziou Received: via spool by 48650-submit@debbugs.gnu.org id=B48650.162203857726872 (code B ref 48650); Wed, 26 May 2021 14:17:02 +0000 Received: (at 48650) by debbugs.gnu.org; 26 May 2021 14:16:17 +0000 Received: from localhost ([127.0.0.1]:49677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lluKX-0006z0-Cw for submit@debbugs.gnu.org; Wed, 26 May 2021 10:16:17 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:54500 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lluKS-0006pD-B5 for 48650@debbugs.gnu.org; Wed, 26 May 2021 10:16:16 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1622038565; bh=aUuyQU56VGWxPL/TaugChSKm7YonoOLFo7zgkCTlsJ4=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=KTfh6PXtB9boPHhsKzDp6RzLV4cw+U4UMfbubNoMI++ISWcOxDcWkLc2eXK/DD1di P2Iw9tu0Goa6+NLG6sy21M5w+ytMKafYB2GXvx+gyf4Ltm4zocnZ7GcXp77rJ5lQRf i6sQSgGruyarYohgUTnKK5iiaF+bcoJ63j+K/vDI= In-Reply-To: <347e7d7d2fca562cf038cc7acb3a203862397d7f.1621940480.git.public@yoctocell.xyz> References: <347e7d7d2fca562cf038cc7acb3a203862397d7f.1621940480.git.public@yoctocell.xyz> Message-Id: <178f31d0982ecef74639b57220d20cc2465fa7d8.1622038463.git.public@yoctocell.xyz> Date: Wed, 26 May 2021 16:16:04 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.9 (++) 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: * gnu/packages/emacs-xyz.scm (emacs-org-pandoc-import): New variable. --- Changes since v1: * Make synopsis and description more neutral. gnu/packages/emacs-xyz.scm | 49 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 T_SPF_HELO_TEMPERROR SPF: test of HELO record failed (temperror) 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.9 (+) 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: * gnu/packages/emacs-xyz.scm (emacs-org-pandoc-import): New variable. --- Changes since v1: * Make synopsis and description more neutral. gnu/packages/emacs-xyz.scm | 49 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/packages/emacs-xyz.scm (emacs-org-pandoc-import): New variable. --- Changes since v1: * Make synopsis and description more neutral. gnu/packages/emacs-xyz.scm | 49 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 886320cc34..1467ce555a 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -7115,6 +7115,55 @@ It also prettifies Org plain list bullets by: Features degrade gracefully when viewed from terminal.") (license license:gpl3+))) =20 +(define-public emacs-org-pandoc-import + (package + (name "emacs-org-pandoc-import") + (version "1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tecosaur/org-pandoc-import/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00z9bpm975mlyqlxbyib3j547br6kvcam04b70qkmq22vh8yf341")))) + (build-system emacs-build-system) + (arguments + `(#:include + (cons* "^filters\\/" "^preprocessors" %default-include) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-exec-paths + (lambda* (#:key inputs #:allow-other-keys) + (let ((pandoc (assoc-ref inputs "pandoc"))) + (substitute* "org-pandoc-import.el" + (("\"pandoc\"") (string-append "\"" pandoc "/bin/pandoc\"= "))))))))) + (inputs + `(("pandoc" ,pandoc))) + (home-page "https://github.com/tecosaur/org-pandoc-import/") + (synopsis "Read and edit non-Org file types in Org") + (description "This package uses Pandoc to convert selected file types = to +Org. There are two tiers of non-Org file avoidance: + +@enumerate +@item The basic ``get me out of here'' --- +@code{org-pandoc-import-{to,as}-org} allows you to easily convert supported +non-Org files to an Org file/buffer with Pandoc + +@item The ``I don=E2=80=99t even want to see non-org files'' --- +@code{org-pandoc-import-transient-mode} is for you. What it does: +@itemize +@item (via file handlers) intercepts requests for non-Org files it knows it +can convert +@item uses @code{org-pandoc-import-to-org} to convert the file to a tempor= ary +Org file +@item opens this Org file instead +@item exports back to the original non-Org file on save +@end itemize +@end enumerate") + (license license:gpl3+))) + (define-public emacs-org-pomodoro ;; Last release version was from 2016. (let ((commit "aa07c11318f91219336197e62c47bc7a3d090479") base-commit: 3f2a4b098039bd374c76d524223de3c6c475f23e --=20 2.31.1 From unknown Sun Jun 22 11:42:47 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Xinglu Chen Subject: bug#48650: closed (Re: [PATCH] gnu: Add emacs-org-pandoc-import.) Message-ID: References: <877djcgi2w.fsf@nicolasgoaziou.fr> <347e7d7d2fca562cf038cc7acb3a203862397d7f.1621940480.git.public@yoctocell.xyz> X-Gnu-PR-Message: they-closed 48650 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 48650@debbugs.gnu.org Date: Wed, 02 Jun 2021 19:53:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1622663581-27891-1" This is a multi-part message in MIME format... ------------=_1622663581-27891-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #48650: [PATCH] gnu: Add emacs-org-pandoc-import. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 48650@debbugs.gnu.org. --=20 48650: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48650 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1622663581-27891-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 48650-done) by debbugs.gnu.org; 2 Jun 2021 19:52:33 +0000 Received: from localhost ([127.0.0.1]:41390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loWun-0007F7-Ac for submit@debbugs.gnu.org; Wed, 02 Jun 2021 15:52:33 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:37341) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loWul-0007Et-9U for 48650-done@debbugs.gnu.org; Wed, 02 Jun 2021 15:52:31 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 316C3240003; Wed, 2 Jun 2021 19:52:23 +0000 (UTC) From: Nicolas Goaziou To: Xinglu Chen Subject: Re: [PATCH] gnu: Add emacs-org-pandoc-import. References: <347e7d7d2fca562cf038cc7acb3a203862397d7f.1621940480.git.public@yoctocell.xyz> <178f31d0982ecef74639b57220d20cc2465fa7d8.1622038463.git.public@yoctocell.xyz> Date: Wed, 02 Jun 2021 21:52:23 +0200 In-Reply-To: <178f31d0982ecef74639b57220d20cc2465fa7d8.1622038463.git.public@yoctocell.xyz> (Xinglu Chen's message of "Wed, 26 May 2021 16:16:04 +0200") Message-ID: <877djcgi2w.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) 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: Hello, Xinglu Chen writes: > * gnu/packages/emacs-xyz.scm (emacs-org-pandoc-import): New variable. Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.230 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [217.70.178.230 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] X-Debbugs-Envelope-To: 48650-done Cc: 48650-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Hello, Xinglu Chen writes: > * gnu/packages/emacs-xyz.scm (emacs-org-pandoc-import): New variable. Applied, with a simplification of the description. Thank you. Regards, -- Nicolas Goaziou ------------=_1622663581-27891-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 May 2021 11:02:42 +0000 Received: from localhost ([127.0.0.1]:44817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llUpe-0006kM-AN for submit@debbugs.gnu.org; Tue, 25 May 2021 07:02:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:37142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llUpb-0006k9-3P for submit@debbugs.gnu.org; Tue, 25 May 2021 07:02:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llUpa-0003AE-GX for guix-patches@gnu.org; Tue, 25 May 2021 07:02:38 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:40238 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llUpY-0005Y5-Nh for guix-patches@gnu.org; Tue, 25 May 2021 07:02:38 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1621940551; bh=TDnuE5703hfrkjvL/zKcIQuqJO8RgcUsUXa1SAQjhYU=; h=From:To:Subject:Date; b=aPPnLlrRbpgZf0zyfl83DlmD+aHaahQIJ4kwUjvFLzNZ+wWDv47FcCdtcXY+6Nu/s urtVK6EXsey7t1HgJjmap6kkHffSXCByc18ynyIleS5F+DnIMGagQT8ev6TX4vYelE uZRI35HtISxtQFplIT3l3rheC6oQmzLYkFk7c3EM= To: guix-patches@gnu.org Subject: [PATCH] gnu: Add emacs-org-pandoc-import. Message-Id: <347e7d7d2fca562cf038cc7acb3a203862397d7f.1621940480.git.public@yoctocell.xyz> Date: Tue, 25 May 2021 13:02:30 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 33 X-Spam_score: 3.3 X-Spam_bar: +++ X-Spam_report: (3.3 / 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, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=1.896, PDS_OTHER_BAD_TLD=1.997, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 3.1 (+++) 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: * gnu/packages/emacs-xyz.scm (emacs-org-pandoc-import): New variable. --- gnu/packages/emacs-xyz.scm | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 886320cc34..4e914c5898 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -7115,6 +7115,56 @@ It als [...] Content analysis details: (3.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] 1.9 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) * gnu/packages/emacs-xyz.scm (emacs-org-pandoc-import): New variable. --- gnu/packages/emacs-xyz.scm | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 886320cc34..4e914c5898 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -7115,6 +7115,56 @@ It also prettifies Org plain list bullets by: Features degrade gracefully when viewed from terminal.") (license license:gpl3+))) =20 +(define-public emacs-org-pandoc-import + (package + (name "emacs-org-pandoc-import") + (version "1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tecosaur/org-pandoc-import/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00z9bpm975mlyqlxbyib3j547br6kvcam04b70qkmq22vh8yf341")))) + (build-system emacs-build-system) + (arguments + `(#:include + (cons* "^filters\\/" "^preprocessors" %default-include) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-exec-paths + (lambda* (#:key inputs #:allow-other-keys) + (let ((pandoc (assoc-ref inputs "pandoc"))) + (substitute* "org-pandoc-import.el" + (("\"pandoc\"") (string-append "\"" pandoc "/bin/pandoc\"= "))))))))) + (inputs + `(("pandoc" ,pandoc))) + (home-page "https://github.com/tecosaur/org-pandoc-import/") + (synopsis "Save yourself from non-Org formats") + (description "This package uses Pandoc to convert selected file types = to +Org, so you never have to leave Org. There are two tiers of non-Org file +avoidance: + +@enumerate +@item The basic ``get me out of here'' --- +@code{org-pandoc-import-{to,as}-org} allows you to easily convert supported +non-Org files to an Org file/buffer with Pandoc + +@item The ``I don=E2=80=99t even want to see non-org files'' --- +@code{org-pandoc-import-transient-mode} is for you. What it does: +@itemize +@item (via file handlers) intercepts requests for non-Org files it knows it +can convert +@item uses @code{org-pandoc-import-to-org} to convert the file to a tempor= ary +Org file +@item opens this Org file instead +@item exports back to the original non-Org file on save +@end itemize +@end enumerate") + (license license:gpl3+))) + (define-public emacs-org-pomodoro ;; Last release version was from 2016. (let ((commit "aa07c11318f91219336197e62c47bc7a3d090479") base-commit: a154048d980ada9b7dcc35e35cbe75056a0cd756 --=20 2.31.1 ------------=_1622663581-27891-1--