Re: [PATCH] manual: Fix minor typo

2020-07-05 Thread Arun Isaac
>> To make the handling of patches easier please use "format-patch". > > It looks like this was sent with git-send-email (which is fed > format-patch output either explicitly or underneath), and it applied > cleanly for me. > > My understanding is that, even though this project accepts patches as

[PATCH] manual: Fix minor typo

2020-07-05 Thread Arun Isaac
* doc/org-manual.org (Clocking Work Time): Replace "to that you can" with "so that you can". --- doc/org-manual.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index b14c28807..b61644626 100644 --- a/doc/org-manual.org +++

Re: [O] Link type for HTML5 videos

2017-01-22 Thread Arun Isaac
I was thinking of something like #+ATTR_HTML: controls #+POSTER: quadratic.png video:quadratic.webm exporting to the following HTML. > That looks too rich for a link to me unless alot of it is always the > same, or derived, e.g. the id tags. It is quite rich. But, note that even img tags,

[O] Link type for HTML5 videos

2017-01-22 Thread Arun Isaac
It would be nice to have a link type to export HTML5 videos. Currently, the only way to insert videos is to use the #+BEGIN_video, #+END_video block with literal #+HTML in them. This seems a little kludgy. Thoughts? Thanks, Arun Isaac. signature.asc Description: PGP signature

Re: [O] Bug: org-publish-get-project-from-filename raises (wrong-type-argument sequencep any)

2017-01-01 Thread Arun Isaac
>> Perhaps, `org-publish-get-project-from-filename' can be rewritten >> without `catch' and `throw' using `cl-some' or `seq-some'. This is not a >> bug. But, it might help improve readability of the logic. > > Done. Nice. Looks good. > Note that `seq-some' is not an option since we support

Re: [O] Bug: org-publish-get-project-from-filename raises (wrong-type-argument sequencep any)

2016-12-29 Thread Arun Isaac
Nicolas Goaziou writes: > Hello, > > Arun Isaac <arunis...@systemreboot.net> writes: > >> On list elements of `org-publish-project-alist' with :base-extension any >> `org-publish-get-project-from-filename' fails with error >> (wrong-type-argument sequencep an

[O] Bug: org-publish-get-project-from-filename raises (wrong-type-argument sequencep any)

2016-12-29 Thread Arun Isaac
by concatenating several strings together. When extension `x' is any (a symbol), this step fails. Regards, Arun Isaac. signature.asc Description: PGP signature

[O] A couple of trivial improvements

2016-12-26 Thread Arun Isaac
code. Sorry if I am nitpicking too much. Regards, Arun Isaac. signature.asc Description: PGP signature

Re: [O] Defining macros globally

2016-12-20 Thread Arun Isaac
> I added `org-export-global-macros' in master. It's Christmas, after all. Thanks! And, Merry Christmas! :-) signature.asc Description: PGP signature

[O] Defining macros globally

2016-12-19 Thread Arun Isaac
Is it possible to define macros globally, probably in the ~/.emacs init file with some elisp, instead of on a per-file basis using the #+MACRO keyword? Thanks, Arun Isaac. signature.asc Description: PGP signature

Re: [O] Accessing the communication channel from a link exporter

2016-09-03 Thread Arun Isaac
John Kitchin writes: > then the preprocessing hook sounds better. You can just replace the > links with generated html, and then export the buffer. > > For example, here is a function that goes through an org file and > replaces links that are file times with image or urls, and copies the > file

Re: [O] Accessing the communication channel from a link exporter

2016-09-02 Thread Arun Isaac
ing the HTML, and I could have used a library like xmlgen to generate it. Regards, Arun Isaac signature.asc Description: PGP signature

Re: [O] Accessing the communication channel from a link exporter

2016-09-01 Thread Arun Isaac
> Out of curiosity, what kind of link are you using, that is dependant > about context ? Actually, I don't need the context of the link in the org document. I need some properties defined in the plist of the component in org-publish-project-alist. So, I use the info communication channel to

[O] [BUG] :html-link-use-abs-url defined twice for the html backend

2016-08-31 Thread Arun Isaac
In the options-alist of the html backend definition, :html-link-use-abs-url is defined twice (in lines 119 and 123). This is possibly a typo. Regards, Arun Isaac. signature.asc Description: PGP signature

[O] Accessing the communication channel from a link exporter

2016-08-31 Thread Arun Isaac
transcoder function. Is that the recommended way to do it? Regards, Arun Isaac. signature.asc Description: PGP signature

Re: [O] Footnotes in image captions

2016-08-28 Thread Arun Isaac
thought it might be a more generally useful feature than my specific use case. So, this feature, if implemented, can definitely wait. No hurry. Regards, Arun Isaac. signature.asc Description: PGP signature

Re: [O] Footnotes in image captions

2016-08-26 Thread Arun Isaac
l feature that the user can enable by setting some variable? Or will that be too much trouble? Regards, Arun Isaac. signature.asc Description: PGP signature

[O] Footnotes in image captions

2016-08-25 Thread Arun Isaac
Footnotes in image captions are not picked up and published. Is this intended behaviour? If it is intended behaviour, would it not be nice to allow footnotes in image captions too? I am using the html backend, and the following org code: #+CAPTION: Foo [fn::bar] [[./foo.png]] Regards, Arun

[O] [BUG] External unicode links without a description in ox-html

2016-07-20 Thread Arun Isaac
of the element. Regards, Arun Isaac. signature.asc Description: PGP signature

Re: [O] Why no secure code retrieval

2016-06-29 Thread Arun Isaac
> However, gpg signing release tag commits is dead simple and would > take a total of maybe 10 minutes of work over the lifetime of the project > (please correct me if I'm wrong). I second this statement. GPG signing sounds good to me. We should do this. > I know that https can be a bit tedious

Re: [O] Programmatically constructing org documents

2016-06-27 Thread Arun Isaac
> https://github.com/tj64/org-dp I've seen org-dp before, but I'm confused about how it is different from org-element functions like `org-element-interpret-data'. Does it just add more convenience functions? If so, why not integrate org-dp into org-mode itself? Surely, convenience functions

Re: [O] Programmatically constructing org documents

2016-06-26 Thread Arun Isaac
> I don't know if there is a "correct" way. It might depend on how > sophisticated the document is. I usually use strings and format. > Sometimes that is a pain though, if there is a lot of conditional > formatting. So the question is which is easier for your situation, and I > would say easier

Re: [O] new syntax of completion and preparation functions for publishing

2016-06-25 Thread Arun Isaac
> I've never played with plists before, could you please provide a code > sample? Do read the following section in the "GNU Emacs Lisp Reference Manual" about property lists. https://www.gnu.org/software/emacs/manual/html_node/elisp/Property-Lists.html signature.asc Description: PGP signature

[O] Programmatically constructing org documents

2016-06-24 Thread Arun Isaac
Thank you, Arun Isaac. signature.asc Description: PGP signature

Re: [O] new syntax of completion and preparation functions for publishing

2016-06-24 Thread Arun Isaac
> I'd like to try to improve on my configuration of projects but I'm > unsure hot to use this new feature. How do you use it? I maintain my blog with org mode. One of my preparation functions generates an atom feed for my blog. This function uses `org-publish-get-base-files' to get the path to

Re: [O] [BUG] Dynamic scoping of project-plist in preparation-function

2016-06-22 Thread Arun Isaac
> Done in 5cd793c. After 5cd793c, the documentation for the preparation function says "Each preparation function is called with a single argument, the project property". This could be clearer if it is "... the project property list", as it is in the documentation for the completion function.

Re: [O] [BUG] Dynamic scoping of project-plist in preparation-function

2016-06-22 Thread Arun Isaac
> 2. Require preparation functions to accept one parameter, the project >plist. I think adding project-plist as a parameter to preparation functions is definitely more elegant. But, I also came across this old thread where it was noted that making project-plist a proper parameter, instead

[O] [BUG] Dynamic scoping of project-plist in preparation-function

2016-06-21 Thread Arun Isaac
ariable, I get a (void-variable project-plist) error. Please find attached a minimal elisp file to reproduce the bug. emacs -Q -l preparation-function-dynamic-scoping.el My understanding of dynamic and lexical binding is a little foggy. So, do let me know if I'm missing something. Regards,

Re: [O] Exporting FILETAGS

2016-06-21 Thread Arun Isaac
> Do you mean that you want to export inherited filetags on each headline? > If so, it is not possible out of the box. No, I would like to export the FILETAGS to say, below the title. I am maintaining my blog in org mode, and I am hoping to use FILETAGS to tag my blog posts. So, I am interested

[O] Exporting FILETAGS

2016-06-20 Thread Arun Isaac
When org-export-with-tags is set to t, tags on headlines are exported. Is there a similar way to export FILETAGS as well? Thanks, Arun Isaac. signature.asc Description: PGP signature

Re: [O] Tagging an entire org file

2016-06-14 Thread Arun Isaac
> #+FILETAGS: foo That's just what I was looking for. Thank you! signature.asc Description: PGP signature

[O] Tagging an entire org file

2016-06-13 Thread Arun Isaac
tags. Regards, Arun Isaac. signature.asc Description: PGP signature

[O] [BUG] [PATCH] ox-rss: Put email address in element

2016-06-13 Thread Arun Isaac
SS. Please find attached a patch fixing this. Regards, Arun Isaac. From f5e2bf625cc14efd35dcd77340b4ab380b2f3dc8 Mon Sep 17 00:00:00 2001 From: Arun Isaac <arunis...@systemreboot.net> Date: Tue, 14 Jun 2016 01:18:55 +0530 Subject: [PATCH] ox-rss: Put email address in element * contrib/lis

Re: [O] Bug: XML entities in the ox-rss exporter

2016-05-26 Thread Arun Isaac
nature >From 58c290c9308f07e44bf893331ccf9d9c5d255e04 Mon Sep 17 00:00:00 2001 From: Arun Isaac <theroarofthedra...@gmail.com> Date: Thu, 26 May 2016 17:24:29 +0530 Subject: [PATCH] ox-rss: Encode characters to their XML entities * contrib/lisp/ox-rss.el (org-rss-build-channel-info, o

Re: [O] Bug: XML entities in the ox-rss exporter

2016-05-26 Thread Arun Isaac
> Please find attached the patch. I think my patch introduces a bug in `org-rss-build-channel-info'. I'll fix this and send a new patch soon. signature.asc Description: PGP signature

Re: [O] Bug: XML entities in the ox-rss exporter

2016-05-25 Thread Arun Isaac
df Mon Sep 17 00:00:00 2001 From: Arun Isaac <theroarofthedra...@gmail.com> Date: Wed, 25 May 2016 15:11:34 +0530 Subject: [PATCH] ox-rss: Encode characters to their XML entities * contrib/lisp/ox-rss.el (org-rss-build-channel-info, org-rss-headline): Encode disallowed characters in `ti

[O] Bug: XML entities in the ox-rss exporter

2016-05-17 Thread Arun Isaac
github.com/philjackson/xmlgen), or do I write my own find and replace functions like those in ox-html? I think the xmlgen based approach provides better abstraction and avoids reinventing XML generation. But, it will introduce an additional dependency. Please provide thoughts and suggestions. Thank you, Arun Isaac.

Re: [O] [PATCH] Prevent org-rss-headline dropping lower level headlines

2016-05-11 Thread Arun Isaac
d patch? Thank you. Please find attached an updated patch. Thank you. >From a8fd0b0f4eca51a38a432ad942b695b9e565d4fe Mon Sep 17 00:00:00 2001 From: Arun Isaac <theroarofthedra...@gmail.com> Date: Thu, 12 May 2016 09:21:18 +0530 Subject: [PATCH] ox-rss: Prevent dropping lower level h

Re: [O] [PATCH] Prevent org-rss-headline dropping lower level headlines

2016-05-10 Thread Arun Isaac
> This is a contributed package. I don't mind patching it but those have, > usually, a maintainer. Is there some other maintainer I should contact? I mean, should I be posting bug reports and patches to contributed packages on some other mailing list? > Are you sure it is a bug? There's a

Re: [O] [PATCH] Prevent org-rss-headline dropping lower level headlines

2016-05-09 Thread Arun Isaac
; = file end here = > > Please find attached a patch fixing this. > > Regards, > Arun Isaac.

[O] [PATCH] Prevent org-rss-headline dropping lower level headlines

2016-04-19 Thread Arun Isaac
. = file begins here = * Headline level 1 foo ** Headline level 2 bar = file end here = Please find attached a patch fixing this. Regards, Arun Isaac. signature.asc Description: PGP signature >From e000940d29b4bf5f63274e82f6a7341021000fd2 Mon Sep 17 00:00:00 2001

Re: [O] scheme SRC blocks

2016-03-22 Thread Arun Isaac
> the org-babel-execute:scheme function looks for a :scheme header > argument (otherwise uses the geiser-default-implementation). You're right. I went through ob-scheme.el. org-babel-execute:scheme does look for a :scheme header argument. But, my original problem was different. I was looking for

Re: [O] scheme SRC blocks

2016-03-21 Thread Arun Isaac
> In addition to requiring 'geiser-install you have to set the > geiser-active-implementations variable, e.g.: Customizing the geiser-active-implementations variable works for me. Thank you. > alternatively there is a :scheme header argument for src blocks: > > #begin_src scheme :scheme guile

[O] scheme SRC blocks

2016-03-20 Thread Arun Isaac
very time is tedious and annoying. Is there some way to circumvent this issue? Thanks, Arun Isaac. signature.asc Description: PGP signature

Re: [O] [PATCH] Implement RSS_FEED_URL option keyword

2016-02-22 Thread Arun Isaac
Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > Arun Isaac <theroarofthedra...@gmail.com> writes: > >> I have implemented a new option keyword, RSS_FEED_URL, for the RSS >> exporter backend. This is a patch I submitted some time back. >

[O] FSF copyright assignment

2016-01-12 Thread Arun Isaac
How long does FSF copyright assignment typically take? I sent a request around 2 weeks ago (on December 26), but haven't received a reply yet. Does it usually take this long? Should I resend my copyright assignment request? signature.asc Description: PGP signature

Re: [O] [PATCH] Implement RSS_FEED_URL option keyword

2015-12-26 Thread Arun Isaac
> Although it is not strictly necessary for applying patches to contrib > libraries, did you sign FSF papers already? It can matter if we consider > moving this library into core some day. I have initiated the process. I will get back to you once it is complete. signature.asc Description: PGP

Re: [O] Publishing images to various sizes

2015-12-26 Thread Arun Isaac
quot; ".png" > path))) > ;; anything else, we just do the regular thing > (t > (org-html-link link contents info) > > (org-export-define-derived-backend 'my-html 'html > :translate-alist '((link . my-link-format))) > > (browse-url (org-export-to-file 'my-html "custom-link.html")) Thank you. I'll adapt this to my needs. Regards, Arun Isaac

[O] https link for MathJax

2015-12-25 Thread Arun Isaac
Hi, Can we use the https link for MathJax as the default? https://cdn.mathjax.org/mathjax/latest/MathJax.js Currently, the default is the http link. Wouldn't having encryption by default be nice? Regards, Arun Isaac signature.asc Description: PGP signature

[O] Publishing images to various sizes

2015-12-24 Thread Arun Isaac
the appropriate image for the context in which it appears, and thus optimize bandwidth usage. Thanks, Arun Isaac. signature.asc Description: PGP signature

[O] [PATCH] Implement RSS_FEED_URL option keyword

2015-12-10 Thread Arun Isaac
-home or publishing-directory concatenated with the output filename of the feed. This need not necessarily be so. So, the RSS_FEED_URL option keyword is introduced to let the user customize the feed URL. Please review the patch and consider for inclusion. Thanks, Arun Isaac. signature.asc

Re: [O] [PATCH] Implement RSS_FEED_URL option keyword

2015-12-10 Thread Arun Isaac
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Arun Isaac <theroarofthedra...@gmail.com> writes: > Currently, the feed URL is assumed to be html-link-home or > publishing-directory concatenated with the output filename of the > feed. This need not necessarily be so. So, the RSS_

Re: [O] Bug: org-publish-find-title called before cache initialization signals "no cache present" [8.3.1 (release_8.3.1-505-g6b2c38 @ /home/arunisaac/.emacs.d/org-mode/lisp/)]

2015-12-07 Thread Arun Isaac
. How about initializing the cache before the execution of the preparation function? I am calling org-publish-find-title in the preparation function, and this would address my use case. If you think this is a good idea, I can come up with a patch. Else, we can close this issue. It's not really a major p

[O] Bug: org-publish-find-title called before cache initialization signals "no cache present" [8.3.1 (release_8.3.1-505-g6b2c38 @ /home/arunisaac/.emacs.d/org-mode/lisp/)]

2015-12-02 Thread Arun Isaac
zing the cache on my own. But, I'm wondering if this can be fixed at a more fundamental level. Thank you, Arun Isaac. Emacs : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6) of 2015-09-10 on foutrelis Package: Org-mode version 8.3.1 (release_8.3.1-505-g6b2c38 @ /home/arunisa

[O] Bug: RSS exporter fails when buffer has no filename [8.3.1 (release_8.3.1-495-gbd7908)]

2015-11-28 Thread Arun Isaac
of the error, and a minimal init file to reproduce the bug. To reproduce the bug, just extract the tarball, and run emacs -Q -l minimal-org.el Thanks, Arun Isaac. Emacs : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6) of 2015-09-10 on foutrelis Package: Org-mode version 8.3.1

Re: [O] [wish] Execute preparation-function before getting base files

2015-10-14 Thread Arun Isaac
It works now. Thanks! signature.asc Description: PGP signature

Re: [O] [wish] Execute preparation-function before getting base files

2015-10-14 Thread Arun Isaac
Nicolas Goaziou writes: > I made the change in master. I think a bug has been introduced by your change. In org-publish-projects, the variable project-plist is accessed (to get the preparation-function) before it is bound. So, I am getting a (void-variable

Re: [O] [wish] Execute preparation-function before getting base files

2015-10-12 Thread Arun Isaac
org-export-before-{processing,parsing} hooks are only useful when I have existing source files and I want to modify them in some way before I {process,parse} them. In my case, the source files don't exist at all, before my preparation-function is run. Regarding the preparation-function, the use

[O] [wish] Execute preparation-function before getting base files

2015-10-10 Thread Arun Isaac
filenames are collected before the preparation-function is executed, the publishing-function does not see the generated source files. Right now, I'm calling my preparation-function manually before calling org-publish-project, but it would be nice if I didn't have to do it this way. Thanks, Arun

Re: [O] Bug: org-babel-tangle-publish fails in copy-file step [8.3.1 (release_8.3.1-241-gea7ac0 @ /home/arunisaac/.emacs.d/org-mode/lisp/)]

2015-10-03 Thread Arun Isaac
Kyle Meyer writes: > Fixed in 2c349cc65. Everything works as expected now. Thanks a lot! signature.asc Description: PGP signature