From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?Windows-1252?Q?Mario_Bermonti_P=E9rez?= Subject: Re: Emacs-orgmode Digest, Vol 151, Issue 21 Date: Mon, 1 Oct 2018 21:54:40 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_BL0PR1901MB214676B99FA733FEEA2FD538AEEF0BL0PR1901MB2146_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g769V-0003Bj-7Y for emacs-orgmode@gnu.org; Mon, 01 Oct 2018 17:54:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g769O-0005NR-7i for emacs-orgmode@gnu.org; Mon, 01 Oct 2018 17:54:53 -0400 Received: from mail-it1-x135.google.com ([2607:f8b0:4864:20::135]:36014) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g769N-0005KZ-Qu for emacs-orgmode@gnu.org; Mon, 01 Oct 2018 17:54:46 -0400 Received: by mail-it1-x135.google.com with SMTP id c85-v6so536189itd.1 for ; Mon, 01 Oct 2018 14:54:45 -0700 (PDT) Received: from BL0PR1901MB2146.namprd19.prod.outlook.com ([40.97.189.53]) by smtp.gmail.com with ESMTPSA id f15-v6sm5864376ita.24.2018.10.01.14.54.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Oct 2018 14:54:42 -0700 (PDT) In-Reply-To: Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "emacs-orgmode@gnu.org" --_000_BL0PR1901MB214676B99FA733FEEA2FD538AEEF0BL0PR1901MB2146_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Help Cordialmente, Mario =97 Mario E. Bermonti P=E9rez, M.A. Doctoral Student Department of Psychology Universidad de Puerto Rico-R=EDo Piedras Director of Institutional Assessment Academic Affairs Ponce Health Sciences University Research and Statistical Consultant School of Behavioral and Health Sciences Ponce Health Sciences University ________________________________ From: Emacs-orgmode on behalf of emacs-orgmode-request@gnu.org Sent: Thursday, September 20, 2018 12:00:17 PM To: emacs-orgmode@gnu.org Subject: Emacs-orgmode Digest, Vol 151, Issue 21 Send Emacs-orgmode mailing list submissions to emacs-orgmode@gnu.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.gnu.org/mailman/listinfo/emacs-orgmode or, via email, send a message with subject or body 'help' to emacs-orgmode-request@gnu.org You can reach the person managing the list at emacs-orgmode-owner@gnu.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Emacs-orgmode digest..." Today's Topics: 1. Re: Difference between documentation and effective syntax for anchored images in odt export (Nicolas Goaziou) 2. Re: "Refiled from..." Notes in LOGBOOK - Feature suggestion (Nicolas Goaziou) 3. org-babel: capturing the output of a shell command that does not return (garjola@garjola.net) 4. bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? (Kaushal Modi) 5. bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? (Richard Stallman) 6. bug#32722: 26.1; Org-publish depend on non-free platform ? (Richard Stallman) 7. bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? (Richard Stallman) 8. bug#32722: 26.1; Org-publish depend on non-free platform ? (Eli Zaretskii) 9. bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? (Eli Zaretskii) 10. Re: bug#32722: 26.1; Org-publish depend on non-free platform ? (Adam Porter) 11. bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? (Eli Zaretskii) 12. bug#32722: bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? (Robert Klein) 13. [o] org-capture regression? (Thomas Holst) 14. bug#32722: bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? (Joe Corneli) 15. bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? (Nicolas Goaziou) 16. Re: [o] org-capture regression? (Nicolas Goaziou) 17. Re: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? (Bingo UV) 18. Expandin Org Babel snippets (Lorenzo Bolla) 19. Re: [o] org-capture regression? (Thomas Holst) 20. Re: Expandin Org Babel snippets (Robert Klein) 21. bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? (Michael Albinus) 22. bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? (Bingo UV) ---------------------------------------------------------------------- Message: 1 Date: Wed, 19 Sep 2018 19:37:45 +0200 From: Nicolas Goaziou To: Laurent Geneste Cc: emacs-orgmode@gnu.org Subject: Re: [O] Difference between documentation and effective syntax for anchored images in odt export Message-ID: <87o9ctie1i.fsf@nicolasgoaziou.fr> Content-Type: text/plain Hello, Laurent Geneste writes: > I tried to use the following code (as documented in https://orgmode.org/o= rg.html#Images-in-ODT-export) to change the anchor of an image exported wit= h ox-odt: > #+ATTR_ODT: :anchor "as-char" > [[./orgmode.png]] > > However this does not work in org-mode (9.1.14) and after asking the ques= tion to the community ( > https://emacs.stackexchange.com/q/44787/9245), it seems that the quotes s= hould not be present. The following code works as expected; > > #+ATTR_ODT: :anchor as-char > [[./orgmode.png]] > > May be the documentation should be updated on this point ? You are right. Fixed. Thank you. Regards, -- Nicolas Goaziou ------------------------------ Message: 2 Date: Wed, 19 Sep 2018 19:40:12 +0200 From: Nicolas Goaziou To: Stanislav Vlasov Cc: emacs-orgmode@gnu.org Subject: Re: [O] "Refiled from..." Notes in LOGBOOK - Feature suggestion Message-ID: <87k1nhidxf.fsf@nicolasgoaziou.fr> Content-Type: text/plain Hello, Stanislav Vlasov writes: > It could be useful to have a note about the place where the entry was > refiled from. Like so: > > * TODO Note on where the entry was refiled from > :LOGBOOK: > - Refiled on [2016-04-04 Mon 00:57] from ~/emacs-tasks.org::*Tasks%20work= flow > - Refiled on [2015-05-15 Fri 13:53] from ~/stuff.org > - State "TODO" from "" [2015-05-15 Fri 13:53] > :END: > > The current options with org-log-refile in only allow to log time of > refile event or prompt for a note. > > The problem is that the templates for adding notes in > org-log-note-headings do not support a proper location placeholder > (something like %F used in org-capture-templates). It is also > explicitly not recommended to change those templates. That's not exact. The recommendation only holds for "state" entry. You can tweak "refile" entry to your heart's content. Would you want to provide a patch so as to add the suggested placeholder? Regards, -- Nicolas Goaziou ------------------------------ Message: 3 Date: Wed, 19 Sep 2018 22:34:22 +0200 From: garjola@garjola.net To: emacs-orgmode@gnu.org Subject: [O] org-babel: capturing the output of a shell command that does not return Message-ID: <87h8ildy5t.fsf@pc-117-162.i-did-not-set--mail-host-address--so-tic= kle-me> Content-Type: text/plain Hi, I need to capture the output of a shell command run from a babel code block= , but this command does not return. By that, I mean that the command prints= some text to the terminal, but does not end (it launches a deamon). Someth= ing like this: #+BEGIN_SRC bash jupyter kernel #+END_SRC When run in a terminal, the command outputs some text like: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>= >>>>>>>>>>>>>>>>>>>>>>>>>>> > > [KernelApp] Starting kernel 'python3' = > > [KernelApp] Connection file: /run/user/1000/jupyter/kernel-8a5cf00c-182c-= 4212-9bbc-7aa6ec436b95.json > > [KernelApp] To connect a client: --existing kernel-8a5cf00c-182c-4212-9bb= c-7aa6ec436b95.json > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>= >>>>>>>>>>>>>>>>>>>>>>>>>>>> > and sits there waiting for requests. I would like to capture the output to = parse it. I need the name of the json file to pass it as a :session argumen= t to subsequent code blocks like this: #+BEGIN_SRC emacs-lisp (setq org-babel-default-header-args (cons '(:session . "/run/user/1000/jupyter/kernel-8a5cf00c-182c-4212-= 9bbc-7aa6ec436b95.json") (assq-delete-all :session org-babel-default-header-args))) #+END_SRC #+BEGIN_SRC ipython :results output drawer :session "/run/user/1000/jupyter= /kernel-8a5cf00c-182c-4212-9bbc-7aa6ec436b95.json" print(2+2) #+END_SRC Maybe there is another way to run the shell command and extract the file na= me I need (in elisp?), but I don't know how. I anybody could point me in the right direction, this would be very helpful= . Thank you. G. -- ------------------------------ Message: 4 Date: Wed, 19 Sep 2018 17:16:28 -0400 From: Kaushal Modi To: Amin Bandali Cc: Glenn Morris , n@flqt.fr, Richard Stallman , Nicolas Goaziou , 32722@debbugs.gnu.org, Robert Horn , Eli Zaretskii Subject: [O] bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? Message-ID: Content-Type: text/plain; charset=3D"UTF-8" On Tue, Sep 18, 2018 at 6:24 PM Amin Bandali wrote: > > I set up a mirror: https://code.orgmode.org/aminb/emacs-htmlize > > Assuming code.orgmode.org uses Gogs' default mirror settings, the > repo should be automatically synchronized with upstream roughly > every 8 hours or so. > > This way, we'd still be able to point the users to a concrete > address to get htmlize from, without directly pointing them to a > proprietary platform. Further, we're not claiminig copyright or > maintainership of the repo and we're merely mirroring it on a > freedom-respecting platform along with Org itself. I got approval from Hrvoje Nik?i? that he was fine with your mirror[0]. So I believe it should be OK reference that mirror repo in ox-html? [0]: https://github.com/hniksic/emacs-htmlize/issues/23#issuecomment-422946= 622 ------------------------------ Message: 5 Date: Wed, 19 Sep 2018 21:50:26 -0400 From: Richard Stallman To: Nicolas Goaziou Cc: n@flqt.fr, 32722@debbugs.gnu.org, rms@gnu.org, kaushal.modi@gmail.com Subject: [O] bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? Message-ID: Content-Type: text/plain; charset=3DUtf-8 [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] The crucial question here is whether Mobile.org is free software. If it is not, then GNU packages including their documentation should not mention it at all. See the chapter References in the GNU Coding Standards. What is the source license of Mobile.org? Does Mobile.org for Android link with any nonfree libraries, such as Google Play Library? Is it listed in f-droid.org? I don't think it is possible to have free apps for the iMonsters. This is because iOS does not allow users to install modified versions of apps, even if the app's source is released under a free license. Another issue is the suggestion to use DropBox. Normal use of Dropbox involves running nonfree JS software (see https://gnu.org/philosophy/javascript-trap.html), so we cannot recommend using Dropbox in the normal way. If there is a way to use Dropbox (for those operations that are necessary in this context) without running any nonfree client software, it would be ok to recommend using Dropbox _in that way_. (The operations necessary in this context must include creating an account.) However, the text you showed me does not include such a specific recommendation, so we have to eliminate it. We could reinsert the discussion of Dropbox if and when someone writes text to recommend a suitable specific way to use it. > [fn:146] An alternative is to use a WebDAV server. MobileOrg > documentation has details of WebDAV server configuration. Additional > help is at this [[https://orgmode.org/worg/org-faq.html#mobileorg_webda= v][FAQ entry]]. Is this a way to use MobileOrg without Dropbox? Is the WebDAV server code free software? Can you talk to such a server without any nonfree client software? -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) ------------------------------ Message: 6 Date: Wed, 19 Sep 2018 21:50:43 -0400 From: Richard Stallman To: Eli Zaretskii Cc: n@flqt.fr, mail@nicolasgoaziou.fr, 32722@debbugs.gnu.org, rjhorniii@gmail.com, kaushal.modi@gmail.com Subject: [O] bug#32722: 26.1; Org-publish depend on non-free platform ? Message-ID: Content-Type: text/plain; charset=3DUtf-8 [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > If that is the crucial point, then the recent change to Org already > took care of that, That depends on what the changed text actually says. I have not seen it; would you please send it to me? and there should be no rush to convert Org to using > htmlfontify, as this issue is now on the same level as the other > references to GitHub. Right? I wouldn't assume all those mentions are similar cases. This is a matter of details, and I have not seen them, so I don't know whether they are real problems or not. -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) ------------------------------ Message: 7 Date: Wed, 19 Sep 2018 21:54:30 -0400 From: Richard Stallman To: Kaushal Modi Cc: n@flqt.fr, amin@gnu.org, rjhorniii@gmail.com, 32722@debbugs.gnu.org, mail@nicolasgoaziou.fr Subject: [O] bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? Message-ID: Content-Type: text/plain; charset=3DUtf-8 [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > This way, we'd still be able to point the users to a concrete > > address to get htmlize from, without directly pointing them to a > > proprietary platform. Further, we're not claiminig copyright or > > maintainership of the repo and we're merely mirroring it on a > > freedom-respecting platform along with Org itself. > I got approval from Hrvoje Nik?i? that he was fine with your mirror[0]. > So I believe it should be OK reference that mirror repo in ox-html? No, it is not ok. We still need to replace htmlize. The deep problem with the reference to htmlize is that it blurs the distinction between Emacs itself and Lisp code that is not part of Emacs. We need to highlight that distinction, not blur it. Please leave the code to suggest loading htmlize deactivated. -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) ------------------------------ Message: 8 Date: Thu, 20 Sep 2018 07:22:32 +0300 From: Eli Zaretskii To: rms@gnu.org Cc: n@flqt.fr, mail@nicolasgoaziou.fr, 32722@debbugs.gnu.org, rjhorniii@gmail.com, kaushal.modi@gmail.com Subject: [O] bug#32722: 26.1; Org-publish depend on non-free platform ? Message-ID: <83lg7wer1z.fsf@gnu.org> > From: Richard Stallman > Cc: n@flqt.fr, rjhorniii@gmail.com, 32722@debbugs.gnu.org, > mail@nicolasgoaziou.fr, kaushal.modi@gmail.com > Date: Wed, 19 Sep 2018 21:50:43 -0400 > > > If that is the crucial point, then the recent change to Org already > > took care of that, > > That depends on what the changed text actually says. I have not seen it; > would you please send it to me? There's no changed text: the original message telling from where to install htmlize was deleted. There's now only the error message (which was there before) saying that htmlize is required. ------------------------------ Message: 9 Date: Thu, 20 Sep 2018 07:24:49 +0300 From: Eli Zaretskii To: rms@gnu.org Cc: n@flqt.fr, mail@nicolasgoaziou.fr, amin@gnu.org, 32722@debbugs.gnu.org, rjhorniii@gmail.com, kaushal.modi@gmail.com Subject: [O] bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? Message-ID: <83k1ngeqy6.fsf@gnu.org> > From: Richard Stallman > Date: Wed, 19 Sep 2018 21:54:30 -0400 > Cc: n@flqt.fr, amin@gnu.org, mail@nicolasgoaziou.fr, 32722@debbugs.gnu.or= g, > rjhorniii@gmail.com > > Please leave the code to suggest loading htmlize deactivated. There's no such code. There's a function that, if invoked, signals an error with this text: "Cannot fontify source block (htmlize.el >=3D 1.34 required)" ------------------------------ Message: 10 Date: Thu, 20 Sep 2018 00:21:33 -0500 From: Adam Porter To: emacs-orgmode@gnu.org Subject: Re: [O] bug#32722: 26.1; Org-publish depend on non-free platform ? Message-ID: <87bm8sg2w2.fsf@alphapapa.net> Content-Type: text/plain Although I've read all of the messages in it, this thread has not been especially easy to follow. Whatever changes are made, we should ensure that there are no regressions as a result. This should mean that: 1. Existing Org users who install the new version of Org and export documents to HTML should not see any changes in the output. 2. New Org users whose first version is the new one should be able to easily get the same HTML output they see existing users getting. If the changes in documentation and in-Emacs messages obscure the necessary steps, it should be considered a significant regression in usability. I can already imagine the messages asking, "How do I get the nice-looking, syntax-highlighted code blocks I see all the other Org users getting?" There are already many questions about Org that are asked over and over again in various places. Let's not add a new one to that list, about something that used to work fine. ------------------------------ Message: 11 Date: Thu, 20 Sep 2018 08:43:19 +0300 From: Eli Zaretskii To: Kaushal Modi Cc: rgm@gnu.org, n@flqt.fr, rms@gnu.org, rjhorniii@gmail.com, amin@gnu.org, 32722@debbugs.gnu.org, mail@nicolasgoaziou.fr Subject: [O] bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? Message-ID: <83h8ikenbc.fsf@gnu.org> Content-Type: text/plain; charset=3Dutf-8 > From: Kaushal Modi > Date: Wed, 19 Sep 2018 17:16:28 -0400 > Cc: Nicolas Goaziou , Glenn Morris ,= n@flqt.fr, > Richard Stallman , 32722@debbugs.gnu.org, Robert Horn= , > Eli Zaretskii > > I got approval from Hrvoje Nik?i? that he was fine with your mirror[0]. > > So I believe it should be OK reference that mirror repo in ox-html? I think we could do better by using htmlfontify.el. I asked a few questions about that in this discussion, see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32722#95 Would the Org developers please reply to those questions? If indeed it is not hard to adapt htmlfontify to be used by Org, then I think it's a better solution. TIA ------------------------------ Message: 12 Date: Thu, 20 Sep 2018 10:13:16 +0200 From: Robert Klein To: Eli Zaretskii Cc: rgm@gnu.org, n@flqt.fr, rms@gnu.org, amin@gnu.org, 32722@debbugs.gnu.org, rjhorniii@gmail.com, Kaushal Modi Subject: [O] bug#32722: bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? Message-ID: <20180920101316.2333b69b@lt70.mpip-mainz.mpg.de> Content-Type: text/plain; charset=3DUTF-8 Hi, On Thu, 20 Sep 2018 08:43:19 +0300 Eli Zaretskii wrote: > > From: Kaushal Modi > > Date: Wed, 19 Sep 2018 17:16:28 -0400 > > Cc: Nicolas Goaziou , Glenn Morris > > , n@flqt.fr, Richard Stallman , > > 32722@debbugs.gnu.org, Robert Horn , Eli > > Zaretskii > > > > I got approval from Hrvoje Nik?i? that he was fine with your > > mirror[0]. > > > > So I believe it should be OK reference that mirror repo in > > ox-html? > > I think we could do better by using htmlfontify.el. I asked a few > questions about that in this discussion, see > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32722#95 > > Would the Org developers please reply to those questions? If indeed > it is not hard to adapt htmlfontify to be used by Org, then I think > it's a better solution. Not an ?Org developer? -- I guess mostly Nicolas Goaziou can claim that title at the moment with two thirds of all commits last year.. As to your questions: > This should be very easy to fix, by using temporary buffers with a > copy of the region to produce HTML for. Right? plus removing HTML document headers and footers, remove css stuff, rework this, so we have css to include in the final document... > > Additionally htmlfontify also requires several external tools > > (according to the man page) which might not be available on all > > platform Emacs and org-mode is used on: > > > > - a copy of ?find? which provides the ?-path? predicate > > - a copy of ?sed? > > - a copy of the ?file? command > > These are only needed if one invokes htmlfontify-copy-and-link-dir to > produce HTML for files in a directory. Is that an important use case > for the issue at hand? E.g., if you need to produce HTML for a region > of a buffer, these facilities seem to not be relevant, AFAIU. Did I > miss something? No. At that moment in the discussion it wasn't clear the issue with htmlize= (and github) has been seen fundamentally different by non-org people as op= posed to people developing and using org-mode. > > A switch to htmlfontify might end up in rewriting a good part of > > htmlfontify or some very ugly hacks. > > I wonder whether we could begin by just supporting the immediate use > case(s) in point, maybe that is possible without too much rewriting. See above. > > If Hrvoje Niksic has or is willing to sign the copyright assignment > > documents it will be easier to put htmlize.el into Emacs. > > We've been through this several times in the past: it isn't going to > happen. I think htmlfontify was added to Emacs for that rteason, > among others. Sorry, didn't know there's a history. Best regards Robert ------------------------------ Message: 13 Date: Thu, 20 Sep 2018 10:13:56 +0200 From: Thomas Holst To: emacs-orgmode@gnu.org Subject: [O] [o] org-capture regression? Message-ID: <87r2ho60xn.fsf@gmx.de> Content-Type: text/plain Hello, a view weeks ago a wrote a post about problems I have with one of my captue templates. (see: http://lists.gnu.org/archive/html/emacs-orgmode/2018-08/msg00161.html) Today I dug a little deeper. In March 2017 I sent two patches to enable the capture property :table-line-pos to be either a string, a variable or a function. #+begin_example commit 599ccd1cc83cc8a1b0af82ac93e23760637b37b5 Author: Thomas Holst Date: Mon Mar 17 09:01:40 2014 +0100 docu change for table-line-pos new feature commit 176125c32ff2a8adc6e1d3091a57e46e482da638 Author: Thomas Holst Date: Sat Mar 15 16:22:44 2014 +0100 org-capture.el: Allow `:table-line-pos' to be a function name, a string= or a variable #+end_example Since a few weeks this is not working anymore. I have a capture template unsing this feature (which I use rarely but still). So here is I patch I came up with to re-enable theese features: #+begin_src diff * doc/org-manual.org (Template elements): document new/old features of `:table-line-pos' * lisp/org-captue.el (org-capture-place-table-line): eval the content of `:table-line-pos' --- doc/org-manual.org | 6 ++++-- lisp/org-capture.el | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index ae7c07c88..4a2a64fc4 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -7361,9 +7361,11 @@ Now lets look at the elements of a template defini= tion. Each entry in - ~:table-line-pos~ :: Specification of the location in the table where the new line - should be inserted. It should be a string like =3DII-3=3D mea= ning + should be inserted. It could be a string like =3DII-3=3D mean= ing that the new line should become the third line before the - second horizontal separator line. + second horizontal separator line. Or it could be a function + returning a string or a variable containing a string as + explained above. - ~:kill-buffer~ :: diff --git a/lisp/org-capture.el b/lisp/org-capture.el index cbc72d43b..7f3e9e623 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -1212,7 +1212,8 @@ may have been stored before." ((pred (string-match-p org-table-border-regexp)) "| %?Bad template |") (text (concat text "\n")))) - (table-line-pos (org-capture-get :table-line-pos)) + (table-line-pos + (eval (org-capture-get :table-line-pos))) beg end) (cond ((org-capture-get :exact-position) -- 2.19.0 #+end_src This works for me. I can use my capture template again. In the meantime I s= igned FSF papers so TINYCHANGE is not required anymore. Thank you for looking into this. -- Bis neulich ... Thomas ------------------------------ Message: 14 Date: Thu, 20 Sep 2018 11:43:25 +0100 From: Joe Corneli To: rms@gnu.org Cc: n@flqt.fr, amin@gnu.org, 32722@debbugs.gnu.org, rjhorniii@gmail.com, kaushal.modi@gmail.com Subject: [O] bug#32722: bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? Message-ID: Content-Type: text/plain; charset=3D"UTF-8" On Thu, Sep 20, 2018 at 2:57 AM Richard Stallman wrote: > The deep problem with the reference to htmlize is that it > blurs the distinction between Emacs itself > and Lisp code that is not part of Emacs. > We need to highlight that distinction, not blur it. There are a handful of references to MELPA inside Emacs. Are these to be discouraged? If not, htmlize is on MELPA and could be referenced there. ------------------------------ Message: 15 Date: Thu, 20 Sep 2018 14:40:16 +0200 From: Nicolas Goaziou To: Richard Stallman Cc: n@flqt.fr, 32722@debbugs.gnu.org, kaushal.modi@gmail.com Subject: [O] bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? Message-ID: <87worggx5b.fsf@nicolasgoaziou.fr> Content-Type: text/plain Hello, Richard Stallman writes: > What is the source license of Mobile.org? It is GPL2+. > Does Mobile.org for Android link with any nonfree libraries, > such as Google Play Library? No idea. > Is it listed in f-droid.org? Yes, it is. > If there is a way to use Dropbox (for those operations that are > necessary in this context) without running any nonfree client > software, it would be ok to recommend using Dropbox _in that way_. > (The operations necessary in this context must include creating an > account.) I don't know. > Is this a way to use MobileOrg without Dropbox? Yes, it is. MobileOrg just needs to get read/write access to some Org files from anywhere. Dropbox is one way to do that. Any online storage with WebDAV support fits the bill, too. I think Dropbox is being mentioned because it may not be trivial for users to do self-hosting or to find an ethical location for their files. So, here comes the ready-to-use solution. > Is the WebDAV server code free software? At least some implementations are, e.g., Nextcloud, listed in the FSF directory. > Can you talk to such a server without any nonfree client software? I do it with Gnome file manager. There is also an official client for Nextcloud, which is free. Regards, -- Nicolas Goaziou 0x80A93738 ------------------------------ Message: 16 Date: Thu, 20 Sep 2018 14:53:03 +0200 From: Nicolas Goaziou To: Thomas Holst Cc: emacs-orgmode@gnu.org Subject: Re: [O] [o] org-capture regression? Message-ID: <87sh24gwk0.fsf@nicolasgoaziou.fr> Content-Type: text/plain; charset=3Dutf-8 Hello, Thomas Holst writes: > a view weeks ago a wrote a post about problems I have with one of my > captue templates. (see: > http://lists.gnu.org/archive/html/emacs-orgmode/2018-08/msg00161.html) I thought I had answered it. > Since a few weeks this is not working anymore. I have a capture template > unsing this feature (which I use rarely but still). > > So here is I patch I came up with to re-enable theese features: Thank you. However, I have two issues with it. The first one is that I don't like `eval'. See, for example, this excerpt from the Elisp manual: On rare occasions, you may need to write code that evaluates a form that is computed at run time, such as after reading a form from text being edited or getting one from a property list. On these occasions, use the ?eval? function. Often ?eval? is not needed and something else should be used instead. For example, to get the value of a variable, while ?eval? works, ?symbol-value? is preferable; or rather than store expressions in a property list that then need to go through ?eval?, it is better to store functions instead that are then passed to ?funcall?. So, I'd rather use `symbol-value' and `funcall' and forbid arbitrary Sexps. Also, this introduces a discrepancy between :table-line-pos and other parameters, which do not allow variables nor functions. This is another issue. IOW, it may need be to be implemented at a lower level, with proper tooling. WDYT? > This works for me. I can use my capture template again. In the >meantime I signed FSF papers so TINYCHANGE is not required anymore. Great! Regards, -- Nicolas Goaziou ------------------------------ Message: 17 Date: Thu, 20 Sep 2018 18:29:29 +0530 From: Bingo UV To: Richard Stallman , Nicolas Goaziou Cc: n@flqt.fr, kaushal.modi@gmail.com, 32722@debbugs.gnu.org, emacs-orgmode@gnu.org Subject: Re: [O] bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? Message-ID: <20180920182929.61517206@gmail.com> Content-Type: text/plain; charset=3DUS-ASCII Hi RMS, Nicolas The concrete software MobileOrg on Android is somewhat of an orphan. It may not revive as itself. But there is also a protocol mobileorg, which the manual alludes to, though does not document directly. That protocol is very much an enabler of software freedom, and it is important for the next MobileOrg to be written. I hope it survives these questions. The protocol can be used to sync 2 sets of org-mode files between 2 emacs instances - without needing the iOS or Android versions of MobileOrg. When fancypants sync systems like dropbox, git, syncthing, rsync etc. are not available, the mobileorg protocol can be used to transfer changes from one place to another. As for the questions : On Wed, 19 Sep 2018 21:50:26 -0400 Richard Stallman wrote: > > What is the source license of Mobile.org? GPLv3 (https://github.com/matburt/mobileorg-android/blob/master/LICENSE.txt) > Is it listed in f-droid.org? It used to be, it has been kicked out of f-droid due to violating policies : including dubious jars. Dropbox API that it was using was surely non-free. > > [fn:146] An alternative is to use a WebDAV server. MobileOrg > > documentation has details of WebDAV server configuration. > > Additional help is at this > > [[https://orgmode.org/worg/org-faq.html#mobileorg_webdav][FAQ > > entry]]. > > Is this a way to use MobileOrg without Dropbox? > > Is the WebDAV server code free software? Can you talk to such a > server without any nonfree client software? There are 2 other ways to use Android MobileOrg not included in the worg page: 1. SSH 2. Local filesystem Also, since one can write one's own WebDAV server using specs, it doesn't matter if some particular WebDAV servers are free or not. thanks ------------------------------ Message: 18 Date: Thu, 20 Sep 2018 14:53:56 +0100 From: Lorenzo Bolla To: emacs-orgmode@gnu.org Subject: [O] Expandin Org Babel snippets Message-ID: Content-Type: text/plain; charset=3D"UTF-8" I upgraded to orgmode TIP (from https://code.orgmode.org/bzg/org-mode), and now I am not able to expand Babel snippets in org files anymore. E.g. it used to be possible to type " and get an expanded "#+begin_src ... #+end_src" block. Similarly, with " to get a quote block. Any ideas how to fix this? Thanks! Lorenzo (org-version t t) Org mode version 9.1.14 (release_9.1.14-914-gfa3dab @ /home/lbolla/src/org-mode/lisp/) Emacs version is: (version) "GNU Emacs 26.1 (build 1, x86_64-unknown-linux-gnu, GTK+ Version 2.24.32) of 2018-07-25" ------------------------------ Message: 19 Date: Thu, 20 Sep 2018 16:01:26 +0200 From: Thomas Holst To: emacs-orgmode@gnu.org Subject: Re: [O] [o] org-capture regression? Message-ID: <87musc46a1@Boerne> Content-Type: text/plain; charset=3Dwindows-1252 Hello, ? Nicolas Goaziou wrote: > Thomas Holst writes: >> [...snip...] >> So here is I patch I came up with to re-enable theese features: > > Thank you. However, I have two issues with it. > > The first one is that I don't like `eval'. See, for example, this > excerpt from the Elisp manual: > > On rare occasions, you may need to write code that evaluates a form > that is computed at run time, such as after reading a form from text > being edited or getting one from a property list. On these > occasions, use the ?eval? function. Often ?eval? is not needed and > something else should be used instead. For example, to get the value > of a variable, while ?eval? works, ?symbol-value? is preferable; or > rather than store expressions in a property list that then need to > go through ?eval?, it is better to store functions instead that are > then passed to ?funcall?. > > So, I'd rather use `symbol-value' and `funcall' and forbid arbitrary > Sexps. > > Also, this introduces a discrepancy between :table-line-pos and other > parameters, which do not allow variables nor functions. This is another > issue. > > IOW, it may need be to be implemented at a lower level, with proper > tooling. > > WDYT? For me this sounds resonalble. Basically I am an elisp novice. I will try to implement the feature like explaind above in `org-capture-get'. So it can be used for other parameters. When I have questions or a few lines of code I will come back here. Right now I can live with my solution for my personal needs. Since my time for working on this is limited it might take some time. It seems that nobody else is missing this feature. So I will take the oportunity and find my way through elisp. -- Bis neulich ... Thomas ------------------------------ Message: 20 Date: Thu, 20 Sep 2018 16:08:58 +0200 From: Robert Klein To: Lorenzo Bolla Cc: emacs-orgmode@gnu.org Subject: Re: [O] Expandin Org Babel snippets Message-ID: <20180920160858.206861e2@lt70.mpip-mainz.mpg.de> Content-Type: text/plain; charset=3DUS-ASCII On Thu, 20 Sep 2018 14:53:56 +0100 Lorenzo Bolla wrote: > I upgraded to orgmode TIP (from > https://code.orgmode.org/bzg/org-mode), and now I am not able to > expand Babel snippets in org files anymore. E.g. it used to be > possible to type " and get an expanded > "#+begin_src ... #+end_src" block. Similarly, with " to get a > quote block. > Any ideas how to fix this? > > Thanks! > Lorenzo > > > > (org-version t t) > Org mode version 9.1.14 (release_9.1.14-914-gfa3dab @ > /home/lbolla/src/org-mode/lisp/) > > Emacs version is: > > (version) > "GNU Emacs 26.1 (build 1, x86_64-unknown-linux-gnu, GTK+ Version > 2.24.32) of 2018-07-25" > Please see *** Change in the structure template expansion in the etc/ORG-NEWS file. Best regards Robert ------------------------------ Message: 21 Date: Thu, 20 Sep 2018 16:31:06 +0200 From: Michael Albinus To: Nicolas Goaziou Cc: n@flqt.fr, kaushal.modi@gmail.com, Richard Stallman , 32722@debbugs.gnu.org Subject: [O] bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? Message-ID: <87sh24utp1.fsf@gmx.de> Content-Type: text/plain Nicolas Goaziou writes: > Hello, Hi, >> Is the WebDAV server code free software? > > At least some implementations are, e.g., Nextcloud, listed in the FSF > directory. > >> Can you talk to such a server without any nonfree client software? > > I do it with Gnome file manager. There is also an official client for > Nextcloud, which is free. For the records, Emacs 27.0.50 / Tramp 2.4.1-pre got a nextcloud client for GNU/Linux systems. Like the Gnome File Manager it uses the GVFS library and tools. > Regards, Best regards, Michael. ------------------------------ Message: 22 Date: Thu, 20 Sep 2018 18:29:29 +0530 From: Bingo UV To: Richard Stallman , Nicolas Goaziou Cc: n@flqt.fr, 32722@debbugs.gnu.org, kaushal.modi@gmail.com Subject: [O] bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? Message-ID: <20180920182929.61517206@gmail.com> Content-Type: text/plain; charset=3DUS-ASCII Hi RMS, Nicolas The concrete software MobileOrg on Android is somewhat of an orphan. It may not revive as itself. But there is also a protocol mobileorg, which the manual alludes to, though does not document directly. That protocol is very much an enabler of software freedom, and it is important for the next MobileOrg to be written. I hope it survives these questions. The protocol can be used to sync 2 sets of org-mode files between 2 emacs instances - without needing the iOS or Android versions of MobileOrg. When fancypants sync systems like dropbox, git, syncthing, rsync etc. are not available, the mobileorg protocol can be used to transfer changes from one place to another. As for the questions : On Wed, 19 Sep 2018 21:50:26 -0400 Richard Stallman wrote: > > What is the source license of Mobile.org? GPLv3 (https://github.com/matburt/mobileorg-android/blob/master/LICENSE.txt) > Is it listed in f-droid.org? It used to be, it has been kicked out of f-droid due to violating policies : including dubious jars. Dropbox API that it was using was surely non-free. > > [fn:146] An alternative is to use a WebDAV server. MobileOrg > > documentation has details of WebDAV server configuration. > > Additional help is at this > > [[https://orgmode.org/worg/org-faq.html#mobileorg_webdav][FAQ > > entry]]. > > Is this a way to use MobileOrg without Dropbox? > > Is the WebDAV server code free software? Can you talk to such a > server without any nonfree client software? There are 2 other ways to use Android MobileOrg not included in the worg page: 1. SSH 2. Local filesystem Also, since one can write one's own WebDAV server using specs, it doesn't matter if some particular WebDAV servers are free or not. thanks End of Emacs-orgmode Digest, Vol 151, Issue 21 ********************************************** --_000_BL0PR1901MB214676B99FA733FEEA2FD538AEEF0BL0PR1901MB2146_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Help

Cordialmente,
Mario
=97
Mario E. Bermonti P=E9rez, M.A.
Doctoral Student
Department of Psychology
Universidad de Puerto Rico-R=EDo Piedras
Director of Institutional Assessment
Academic Affairs
Ponce Health Sciences University
Research and Statistical Consultant
School of Behavioral and Health Sciences
Ponce Health Sciences University

From: Emacs-orgmode <e= macs-orgmode-bounces+mbermonti1132=3Dgmail.com@gnu.org> on behalf of= emacs-orgmode-request@gnu.org <emacs-orgmode-request@gnu.org>
Sent: Thursday, September 20, 2018 12:00:17 PM
To: emacs-orgmode@gnu.org
Subject: Emacs-orgmode Digest, Vol 151, Issue 21
 
Send Emacs-orgmode mailing list submissions to
        emacs-orgmode@gnu.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.gnu.org/mailman/listinfo/ema= cs-orgmode
or, via email, send a message with subject or body 'help' to
        emacs-orgmode-request@gnu.org
You can reach the person managing the list at
        emacs-orgmode-owner@gnu.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Emacs-orgmode digest..."


Today's Topics:

   1. Re: Difference between documentation and effective syntax f= or
      anchored images in odt export (Nicolas Goazi= ou)
   2. Re: "Refiled from..." Notes in LOGBOOK - Feature = suggestion
      (Nicolas Goaziou)
   3. org-babel: capturing the output of a shell command that doe= s
      not return (garjola@garjola.net)
   4. bug#32722:  bug#32722: bug#32722: 26.1; Org-publish de= pend on
      non-free platform ? (Kaushal Modi)
   5. bug#32722:  bug#32722: 26.1; Org-publish depend on non= -free
      platform ? (Richard Stallman)
   6. bug#32722: 26.1; Org-publish depend on non-free platform ?<= br>       (Richard Stallman)
   7. bug#32722:  bug#32722: bug#32722: 26.1; Org-publish de= pend on
      non-free platform ? (Richard Stallman)
   8. bug#32722: 26.1; Org-publish depend on non-free platform ?<= br>       (Eli Zaretskii)
   9. bug#32722:  bug#32722: bug#32722: 26.1; Org-publish de= pend on
      non-free platform ? (Eli Zaretskii)
  10. Re: bug#32722: 26.1; Org-publish depend on non-free platform
      ? (Adam Porter)
  11. bug#32722:  bug#32722: bug#32722: 26.1; Org-publish depend = on
      non-free platform ? (Eli Zaretskii)
  12. bug#32722:  bug#32722:  bug#32722: bug#32722: 26.1;       Org-publish depend on non-free platform ? (R= obert Klein)
  13. [o] org-capture regression? (Thomas Holst)
  14. bug#32722:  bug#32722: bug#32722: bug#32722: 26.1;
      Org-publish depend on non-free platform ? (J= oe Corneli)
  15. bug#32722:  bug#32722: 26.1; Org-publish depend on non-free=
      platform ? (Nicolas Goaziou)
  16. Re: [o] org-capture regression? (Nicolas Goaziou)
  17. Re: bug#32722:  bug#32722: 26.1; Org-publish depend on
      non-free platform ? (Bingo UV)
  18. Expandin Org Babel snippets (Lorenzo Bolla)
  19. Re: [o] org-capture regression? (Thomas Holst)
  20. Re: Expandin Org Babel snippets (Robert Klein)
  21. bug#32722:  bug#32722: 26.1; Org-publish depend on non-free=
      platform ? (Michael Albinus)
  22. bug#32722:  bug#32722:  bug#32722: 26.1; Org-publish d= epend
      on non-free platform ? (Bingo UV)


----------------------------------------------------------------------

Message: 1
Date: Wed, 19 Sep 2018 19:37:45 +0200
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Laurent Geneste <laurent.geneste@enit.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: [O] Difference between documentation and effective syntax
        for anchored images in odt expor= t
Message-ID: <87o9ctie1i.fsf@nicolasgoaziou.fr>
Content-Type: text/plain

Hello,

Laurent Geneste <laurent.geneste@enit.fr> writes:

> I tried to use the following code (as documented in https://orgmode.org/org.html#Images-in-ODT-export) to change the anchor= of an image exported with ox-odt:
> #+ATTR_ODT: :anchor "as-char"
> [[./orgmode.png]]
>
> However this does not work in org-mode (9.1.14) and after asking the q= uestion to the community (
> https://emacs= .stackexchange.com/q/44787/9245), it seems that the quotes should not b= e present. The following code works as expected;
>
> #+ATTR_ODT: :anchor as-char
> [[./orgmode.png]]
>
> May be the documentation should be updated on this point ?

You are right. Fixed. Thank you.

Regards,

--
Nicolas Goaziou



------------------------------

Message: 2
Date: Wed, 19 Sep 2018 19:40:12 +0200
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Stanislav Vlasov <stanislav.a.vlasov@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [O] "Refiled from..." Notes in LOGBOOK - Feature
        suggestion
Message-ID: <87k1nhidxf.fsf@nicolasgoaziou.fr>
Content-Type: text/plain

Hello,

Stanislav Vlasov <stanislav.a.vlasov@gmail.com> writes:

> It could be useful to have a note about the place where the entry was<= br> > refiled from. Like so:
>
> * TODO Note on where the entry was refiled from
> :LOGBOOK: 
> - Refiled on [2016-04-04 Mon 00:57] from ~/emacs-tasks.org::*Tasks%20w= orkflow
> - Refiled on [2015-05-15 Fri 13:53] from ~/stuff.org
> - State "TODO"       from &quo= t;"           [2015-= 05-15 Fri 13:53]
> :END:
>
> The current options with org-log-refile in only allow to log time of > refile event or prompt for a note.
>
> The problem is that the templates for adding notes in
> org-log-note-headings do not support a proper location placeholder
> (something like %F used in org-capture-templates). It is also
> explicitly not recommended to change those templates.

That's not exact. The recommendation only holds for "state" entry= . You
can tweak "refile" entry to your heart's content.

Would you want to provide a patch so as to add the suggested
placeholder?


Regards,

--
Nicolas Goaziou



------------------------------

Message: 3
Date: Wed, 19 Sep 2018 22:34:22 +0200
From: garjola@garjola.net
To: emacs-orgmode@gnu.org
Subject: [O] org-babel: capturing the output of a shell command that
        does not return
Message-ID:
        <87h8ildy5t.fsf@pc-117-162.i-= did-not-set--mail-host-address--so-tickle-me>
       
Content-Type: text/plain

Hi,

I need to capture the output of a shell command run from a babel code block= , but this command does not return. By that, I mean that the command prints= some text to the terminal, but does not end (it launches a deamon). Someth= ing like this:

#+BEGIN_SRC bash
jupyter kernel
#+END_SRC

When run in a terminal, the command outputs some text like:

>>>>>>>>>>>>>>>>>>>= ;>>>>>>>>>>>>>>>>>>&g= t;>>>>>>>>>>>>>>>>>>&= gt;>>>>>>>>>>>>>>>>>>= >>>>>>>>>>>>>>>>>>>= ;>>>>>>>> >
> [KernelApp] Starting kernel 'python3'     &nb= sp;            =             &nb= sp;            =             &nb= sp;        >
> [KernelApp] Connection file: /run/user/1000/jupyter/kernel-8a5cf00c-18= 2c-4212-9bbc-7aa6ec436b95.json >
> [KernelApp] To connect a client: --existing kernel-8a5cf00c-182c-4212-= 9bbc-7aa6ec436b95.json         >=
> >>>>>>>>>>>>>>>>>&g= t;>>>>>>>>>>>>>>>>>>&= gt;>>>>>>>>>>>>>>>>>>= >>>>>>>>>>>>>>>>>>>= ;>>>>>>>>>>>>>>>>>>&g= t;>>>>>>>> >

and sits there waiting for requests. I would like to capture the output to = parse it. I need the name of the json file to pass it as a :session argumen= t to subsequent code blocks like this:

#+BEGIN_SRC emacs-lisp
(setq org-babel-default-header-args
      (cons '(:session . "/run/user/1000/jupy= ter/kernel-8a5cf00c-182c-4212-9bbc-7aa6ec436b95.json")
            (assq-de= lete-all :session org-babel-default-header-args)))
#+END_SRC

#+BEGIN_SRC ipython :results output drawer :session "/run/user/100= 0/jupyter/kernel-8a5cf00c-182c-4212-9bbc-7aa6ec436b95.json"
print(2+2)
#+END_SRC

Maybe there is another way to run the shell command and extract the file na= me I need (in elisp?), but I don't know how.

I anybody could point me in the right direction, this would be very helpful= .

Thank you.

G.

--



------------------------------

Message: 4
Date: Wed, 19 Sep 2018 17:16:28 -0400
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Amin Bandali <amin@gnu.org>
Cc: Glenn Morris <rgm@gnu.org>, n@flqt.fr, Richard Stallman
        <rms@gnu.org>,  Nicol= as Goaziou <mail@nicolasgoaziou.fr>,
        32722@debbugs.gnu.org,  Rob= ert Horn <rjhorniii@gmail.com>, Eli
        Zaretskii <eliz@gnu.org> Subject: [O] bug#32722:  bug#32722: bug#32722: 26.1; Org-publish
        depend on non-free platform ? Message-ID:
        <CAFyQvY353PvS6nJatS-hdtWc0BN= Ki=3DGSFTQc-1p5Gvczb6sGuw@mail.gmail.com>
Content-Type: text/plain; charset=3D"UTF-8"

On Tue, Sep 18, 2018 at 6:24 PM Amin Bandali <amin@gnu.org> wrote: >
> I set up a mirror: https://code.orgmode.org/aminb/emacs-htmlize
>
> Assuming code.orgmode.org uses Gogs' default mirror settings, the
> repo should be automatically synchronized with upstream roughly
> every 8 hours or so.
>
> This way, we'd still be able to point the users to a concrete
> address to get htmlize from, without directly pointing them to a
> proprietary platform.  Further, we're not claiminig copyright or<= br> > maintainership of the repo and we're merely mirroring it on a
> freedom-respecting platform along with Org itself.

I got approval from Hrvoje Nik?i? that he was fine with your mirror[0].

So I believe it should be OK reference that mirror repo in ox-html?

[0]: https://github.com/hniksic/emacs-htmlize/issues/23#issuecomment-422946622





------------------------------

Message: 5
Date: Wed, 19 Sep 2018 21:50:26 -0400
From: Richard Stallman <rms@gnu.org>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: n@flqt.fr, 32722@debbugs.gnu.org, rms@gnu.org,
        kaushal.modi@gmail.com
Subject: [O] bug#32722:  bug#32722: 26.1; Org-publish depend on
        non-free platform ?
Message-ID: <E1g2o6s-0008PG-JL@fencepost.gnu.org>
Content-Type: text/plain; charset=3DUtf-8

[[[ To any NSA and FBI agents reading my email: please consider  =   ]]]
[[[ whether defending the US Constitution against all enemies,  &= nbsp;  ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

The crucial question here is whether Mobile.org is free software.  If<= br> it is not, then GNU packages including their documentation should not
mention it at all.  See the chapter References in the GNU Coding
Standards.

What is the source license of Mobile.org?

Does Mobile.org for Android link with any nonfree libraries,
such as Google Play Library?  Is it listed in f-droid.org?

I don't think it is possible to have free apps for the iMonsters.
This is because iOS does not allow users to install modified versions
of apps, even if the app's source is released under a free license.


Another issue is the suggestion to use DropBox.
Normal use of Dropbox involves running nonfree JS software
(see
https://gn= u.org/philosophy/javascript-trap.html),
so we cannot recommend using Dropbox in the normal way.

If there is a way to use Dropbox (for those operations that are
necessary in this context) without running any nonfree client
software, it would be ok to recommend using Dropbox _in that way_.
(The operations necessary in this context must include creating an
account.)

However, the text you showed me does not include such a specific
recommendation, so we have to eliminate it.  We could reinsert the
discussion of Dropbox if and when someone writes text to recommend a
suitable specific way to use it.

  > [fn:146] An alternative is to use a WebDAV server.  Mobile= Org
  > documentation has details of WebDAV server configuration. = Additional
  > help is at this [[https://orgmode.org/worg/org-faq.html#mobileorg_webda= v][FAQ entry]].

Is this a way to use MobileOrg without Dropbox?

Is the WebDAV server code free software?  Can you talk to such a
server without any nonfree client software?


--
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://= internethalloffame.org)







------------------------------

Message: 6
Date: Wed, 19 Sep 2018 21:50:43 -0400
From: Richard Stallman <rms@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: n@flqt.fr, mail@nicolasgoaziou.fr, 32722@debbugs.gnu.org,
        rjhorniii@gmail.com, kaushal.mod= i@gmail.com
Subject: [O] bug#32722: 26.1; Org-publish depend on non-free platform
        ?
Message-ID: <E1g2o79-0008S6-UV@fencepost.gnu.org>
Content-Type: text/plain; charset=3DUtf-8

[[[ To any NSA and FBI agents reading my email: please consider  =   ]]]
[[[ whether defending the US Constitution against all enemies,  &= nbsp;  ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > If that is the crucial point, then the recent change to Org alr= eady
  > took care of that,

That depends on what the changed text actually says.  I have not seen = it;
would you please send it to me?

            &nb= sp;          and there should = be no rush to convert Org to using
  > htmlfontify, as this issue is now on the same level as the othe= r
  > references to GitHub.  Right?

I wouldn't assume all those mentions are similar cases.
This is a matter of details, and I have not seen them,
so I don't know whether they are real problems or not.

--
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://= internethalloffame.org)







------------------------------

Message: 7
Date: Wed, 19 Sep 2018 21:54:30 -0400
From: Richard Stallman <rms@gnu.org>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: n@flqt.fr, amin@gnu.org, rjhorniii@gmail.com,
        32722@debbugs.gnu.org,  mai= l@nicolasgoaziou.fr
Subject: [O] bug#32722:  bug#32722: bug#32722: 26.1; Org-publish
        depend on non-free platform ? Message-ID: <E1g2oAo-0000ao-2k@fencepost.gnu.org>
Content-Type: text/plain; charset=3DUtf-8

[[[ To any NSA and FBI agents reading my email: please consider  =   ]]]
[[[ whether defending the US Constitution against all enemies,  &= nbsp;  ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > This way, we'd still be able to point the users to a concr= ete
  > > address to get htmlize from, without directly pointing the= m to a
  > > proprietary platform.  Further, we're not claiminig c= opyright or
  > > maintainership of the repo and we're merely mirroring it o= n a
  > > freedom-respecting platform along with Org itself.

  > I got approval from Hrvoje Nik?i? that he was fine with your mi= rror[0].

  > So I believe it should be OK reference that mirror repo in ox-h= tml?

No, it is not ok.
We still need to replace htmlize.

The deep problem with the reference to htmlize is that it
blurs the distinction between Emacs itself
and Lisp code that is not part of Emacs.
We need to highlight that distinction, not blur it.

Please leave the code to suggest loading htmlize deactivated.


--
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://= internethalloffame.org)







------------------------------

Message: 8
Date: Thu, 20 Sep 2018 07:22:32 +0300
From: Eli Zaretskii <eliz@gnu.org>
To: rms@gnu.org
Cc: n@flqt.fr, mail@nicolasgoaziou.fr, 32722@debbugs.gnu.org,
        rjhorniii@gmail.com, kaushal.mod= i@gmail.com
Subject: [O] bug#32722: 26.1; Org-publish depend on non-free platform
        ?
Message-ID: <83lg7wer1z.fsf@gnu.org>

> From: Richard Stallman <rms@gnu.org>
> Cc: n@flqt.fr, rjhorniii@gmail.com, 32722@debbugs.gnu.org,
>        mail@nicolasgoaziou.fr, kaus= hal.modi@gmail.com
> Date: Wed, 19 Sep 2018 21:50:43 -0400
>
>   > If that is the crucial point, then the recent change = to Org already
>   > took care of that,
>
> That depends on what the changed text actually says.  I have not = seen it;
> would you please send it to me?

There's no changed text: the original message telling from where to
install htmlize was deleted.  There's now only the error message
(which was there before) saying that htmlize is required.





------------------------------

Message: 9
Date: Thu, 20 Sep 2018 07:24:49 +0300
From: Eli Zaretskii <eliz@gnu.org>
To: rms@gnu.org
Cc: n@flqt.fr, mail@nicolasgoaziou.fr, amin@gnu.org,
        32722@debbugs.gnu.org,  rjh= orniii@gmail.com, kaushal.modi@gmail.com
Subject: [O] bug#32722:  bug#32722: bug#32722: 26.1; Org-publish
        depend on non-free platform ? Message-ID: <83k1ngeqy6.fsf@gnu.org>

> From: Richard Stallman <rms@gnu.org>
> Date: Wed, 19 Sep 2018 21:54:30 -0400
> Cc: n@flqt.fr, amin@gnu.org, mail@nicolasgoaziou.fr, 32722@debbugs.gnu= .org,
>        rjhorniii@gmail.com
>
> Please leave the code to suggest loading htmlize deactivated.

There's no such code.  There's a function that, if invoked, signals an=
error with this text:

  "Cannot fontify source block (htmlize.el >=3D 1.34 required)= "





------------------------------

Message: 10
Date: Thu, 20 Sep 2018 00:21:33 -0500
From: Adam Porter <adam@alphapapa.net>
To: emacs-orgmode@gnu.org
Subject: Re: [O] bug#32722: 26.1; Org-publish depend on non-free
        platform ?
Message-ID: <87bm8sg2w2.fsf@alphapapa.net>
Content-Type: text/plain

Although I've read all of the messages in it, this thread has not been
especially easy to follow.

Whatever changes are made, we should ensure that there are no
regressions as a result.  This should mean that:

1.  Existing Org users who install the new version of Org and export documents to HTML should not see any changes in the output.

2.  New Org users whose first version is the new one should be able to=
easily get the same HTML output they see existing users getting.  If t= he
changes in documentation and in-Emacs messages obscure the necessary
steps, it should be considered a significant regression in usability.

I can already imagine the messages asking, "How do I get the
nice-looking, syntax-highlighted code blocks I see all the other Org
users getting?"  There are already many questions about Org that = are
asked over and over again in various places.  Let's not add a new one = to
that list, about something that used to work fine.




------------------------------

Message: 11
Date: Thu, 20 Sep 2018 08:43:19 +0300
From: Eli Zaretskii <eliz@gnu.org>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: rgm@gnu.org, n@flqt.fr, rms@gnu.org, rjhorniii@gmail.com,
        amin@gnu.org,   32722@= debbugs.gnu.org, mail@nicolasgoaziou.fr
Subject: [O] bug#32722:  bug#32722: bug#32722: 26.1; Org-publish
        depend on non-free platform ? Message-ID: <83h8ikenbc.fsf@gnu.org>
Content-Type: text/plain; charset=3Dutf-8

> From: Kaushal Modi <kaushal.modi@gmail.com>
> Date: Wed, 19 Sep 2018 17:16:28 -0400
> Cc: Nicolas Goaziou <mail@nicolasgoaziou.fr>, Glenn Morris <r= gm@gnu.org>, n@flqt.fr,
>        Richard Stallman <rms@gnu= .org>, 32722@debbugs.gnu.org, Robert Horn <rjhorniii@gmail.com>,
>        Eli Zaretskii <eliz@gnu.o= rg>
>
> I got approval from Hrvoje Nik?i? that he was fine with your mirror[0]= .
>
> So I believe it should be OK reference that mirror repo in ox-html?
I think we could do better by using htmlfontify.el.  I asked a few
questions about that in this discussion, see

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32722#95

Would the Org developers please reply to those questions?  If indeed it is not hard to adapt htmlfontify to be used by Org, then I think
it's a better solution.

TIA





------------------------------

Message: 12
Date: Thu, 20 Sep 2018 10:13:16 +0200
From: Robert Klein <roklein@roklein.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: rgm@gnu.org, n@flqt.fr, rms@gnu.org, amin@gnu.org,
        32722@debbugs.gnu.org,  rjh= orniii@gmail.com, Kaushal Modi
        <kaushal.modi@gmail.com> Subject: [O] bug#32722:  bug#32722:  bug#32722: bug#32722: 26.1;<= br>         Org-publish depend on non-free p= latform ?
Message-ID: <20180920101316.2333b69b@lt70.mpip-mainz.mpg.de>
Content-Type: text/plain; charset=3DUTF-8

Hi,
On Thu, 20 Sep 2018 08:43:19 +0300
Eli Zaretskii <eliz@gnu.org> wrote:

> > From: Kaushal Modi <kaushal.modi@gmail.com>
> > Date: Wed, 19 Sep 2018 17:16:28 -0400
> > Cc: Nicolas Goaziou <mail@nicolasgoaziou.fr>, Glenn Morris<= br> > > <rgm@gnu.org>, n@flqt.fr, Richard Stallman <rms@gnu.org&= gt;,
> > 32722@debbugs.gnu.org, Robert Horn <rjhorniii@gmail.com>, E= li
> > Zaretskii <eliz@gnu.org>
> >
> > I got approval from Hrvoje Nik?i? that he was fine with your
> > mirror[0].
> >
> > So I believe it should be OK reference that mirror repo in
> > ox-html? 
>
> I think we could do better by using htmlfontify.el.  I asked a fe= w
> questions about that in this discussion, see
>
>   https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32722#95 >
> Would the Org developers please reply to those questions?  If ind= eed
> it is not hard to adapt htmlfontify to be used by Org, then I think > it's a better solution.

Not an ?Org developer? -- I guess mostly Nicolas Goaziou can claim that
title at the moment with two thirds of all commits last year..

As to your questions:

> This should be very easy to fix, by using temporary buffers with a
> copy of the region to produce HTML for.  Right?

plus removing HTML document headers and footers, remove css stuff,
rework this, so we have css to include in the final document...


> > Additionally htmlfontify also requires several external tools
> > (according to the man page) which might not be available on all > > platform Emacs and org-mode is used on:
> >
> > - a copy of ?find? which provides the ?-path? predicate
> > - a copy of ?sed?
> > - a copy of the ?file? command
>
> These are only needed if one invokes htmlfontify-copy-and-link-dir to<= br> > produce HTML for files in a directory.  Is that an important use = case
> for the issue at hand?  E.g., if you need to produce HTML for a r= egion
> of a buffer, these facilities seem to not be relevant, AFAIU.  Di= d I
> miss something?

No. At that moment in the discussion it wasn't clear the issue with htmlize= (and github) has been seen fundamentally different by non-org people as op= posed to people developing and using org-mode.

> > A switch to htmlfontify might end up in rewriting a good part of<= br> > > htmlfontify or some very ugly hacks.
>
> I wonder whether we could begin by just supporting the immediate use > case(s) in point, maybe that is possible without too much rewriting.
See above.

> > If Hrvoje Niksic has or is willing to sign the copyright assignme= nt
> > documents it will be easier to put htmlize.el into Emacs.
>
> We've been through this several times in the past: it isn't going to > happen.  I think htmlfontify was added to Emacs for that rteason,=
> among others.

Sorry, didn't know there's a history.


Best regards
Robert





------------------------------

Message: 13
Date: Thu, 20 Sep 2018 10:13:56 +0200
From: Thomas Holst <Thomas_Holst@gmx.de>
To: emacs-orgmode@gnu.org
Subject: [O] [o] org-capture regression?
Message-ID: <87r2ho60xn.fsf@gmx.de>
Content-Type: text/plain

Hello,

a view weeks ago a wrote a post about problems I have with one of my
captue templates. (see:
http://lists.gnu.org/archive/html/emacs-orgmode/2018-08/msg00161.htm= l)

Today I dug a little deeper.

In March 2017 I sent two patches to enable the capture property
:table-line-pos to be either a string, a variable or a function.

#+begin_example
commit 599ccd1cc83cc8a1b0af82ac93e23760637b37b5
Author: Thomas Holst <Thomas_Holst@gmx.de>
Date:   Mon Mar 17 09:01:40 2014 +0100

    docu change for table-line-pos new feature
   
commit 176125c32ff2a8adc6e1d3091a57e46e482da638
Author: Thomas Holst <Thomas_Holst@gmx.de>
Date:   Sat Mar 15 16:22:44 2014 +0100

    org-capture.el: Allow `:table-line-pos' to be a function= name, a string or a variable
#+end_example

Since a few weeks this is not working anymore. I have a capture template unsing this feature (which I use rarely but still).

So here is I patch I came up with to re-enable theese features:

#+begin_src diff
  * doc/org-manual.org (Template elements): document new/old features = of
  `:table-line-pos'

  * lisp/org-captue.el (org-capture-place-table-line): eval the conten= t
    of `:table-line-pos'
  ---
   doc/org-manual.org  | 6 ++++--
   lisp/org-capture.el | 3 ++-
   2 files changed, 6 insertions(+), 3 deletions(-)

  diff --git a/doc/org-manual.org b/doc/org-manual.org
  index ae7c07c88..4a2a64fc4 100644
  --- a/doc/org-manual.org
  +++ b/doc/org-manual.org
  @@ -7361,9 +7361,11 @@ Now lets look at the elements of a templa= te definition.  Each entry in
        - ~:table-line-pos~ ::
  
             Sp= ecification of the location in the table where the new line
  -          should be in= serted.  It should be a string like =3DII-3=3D meaning
  +          should b= e inserted.  It could be a string like =3DII-3=3D meaning
             th= at the new line should become the third line before the
  -          second horiz= ontal separator line.
  +          second h= orizontal separator line. Or it could be a function
  +          returnin= g a string or a variable containing a string as
  +          explaine= d above.
  
        - ~:kill-buffer~ ::
  
  diff --git a/lisp/org-capture.el b/lisp/org-capture.el
  index cbc72d43b..7f3e9e623 100644
  --- a/lisp/org-capture.el
  +++ b/lisp/org-capture.el
  @@ -1212,7 +1212,8 @@ may have been stored before."
            ((pred (= string-match-p org-table-border-regexp))
             &q= uot;| %?Bad template |")
            (text (c= oncat text "\n"))))
  -     (table-line-pos (org-capture-get :table-li= ne-pos))
  +     (table-line-pos
  +      (eval (org-capture-get :table-li= ne-pos)))
         beg end)
       (cond
        ((org-capture-get :exact-positio= n)
  --
  2.19.0
#+end_src

This works for me. I can use my capture template again. In the meantime I s= igned FSF papers
so TINYCHANGE is not required anymore.

Thank you for looking into this.

--
Bis neulich ...
  Thomas



------------------------------

Message: 14
Date: Thu, 20 Sep 2018 11:43:25 +0100
From: Joe Corneli <holtzermann17@gmail.com>
To: rms@gnu.org
Cc: n@flqt.fr, amin@gnu.org, 32722@debbugs.gnu.org,
        rjhorniii@gmail.com,  =   kaushal.modi@gmail.com
Subject: [O] bug#32722:  bug#32722: bug#32722: bug#32722: 26.1;
        Org-publish depend on non-free p= latform ?
Message-ID:
        <CAN+qofnbqV8MT0wmKNokXv0= S8f9PnXcpK1RdsH-8Zb2i8ckNPw@mail.gmail.com>
Content-Type: text/plain; charset=3D"UTF-8"

On Thu, Sep 20, 2018 at 2:57 AM Richard Stallman <rms@gnu.org> wrote:=

> The deep problem with the reference to htmlize is that it
> blurs the distinction between Emacs itself
> and Lisp code that is not part of Emacs.
> We need to highlight that distinction, not blur it.

There are a handful of references to MELPA inside Emacs.  Are these to=
be discouraged?  If not, htmlize is on MELPA and could be referenced there.





------------------------------

Message: 15
Date: Thu, 20 Sep 2018 14:40:16 +0200
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Richard Stallman <rms@gnu.org>
Cc: n@flqt.fr, 32722@debbugs.gnu.org, kaushal.modi@gmail.com
Subject: [O] bug#32722:  bug#32722: 26.1; Org-publish depend on
        non-free platform ?
Message-ID: <87worggx5b.fsf@nicolasgoaziou.fr>
Content-Type: text/plain

Hello,

Richard Stallman <rms@gnu.org> writes:

> What is the source license of Mobile.org?

It is GPL2+.

> Does Mobile.org for Android link with any nonfree libraries,
> such as Google Play Library?

No idea.

> Is it listed in f-droid.org?

Yes, it is.

> If there is a way to use Dropbox (for those operations that are
> necessary in this context) without running any nonfree client
> software, it would be ok to recommend using Dropbox _in that way_.
> (The operations necessary in this context must include creating an
> account.)

I don't know.

> Is this a way to use MobileOrg without Dropbox?

Yes, it is. MobileOrg just needs to get read/write access to some Org
files from anywhere. Dropbox is one way to do that. Any online storage
with WebDAV support fits the bill, too.

I think Dropbox is being mentioned because it may not be trivial for
users to do self-hosting or to find an ethical location for their files. So, here comes the ready-to-use solution.

> Is the WebDAV server code free software?

At least some implementations are, e.g., Nextcloud, listed in the FSF
directory.

> Can you talk to such a server without any nonfree client software?

I do it with Gnome file manager. There is also an official client for
Nextcloud, which is free.

Regards,

--
Nicolas Goaziou          =             &nb= sp;            =              0x= 80A93738





------------------------------

Message: 16
Date: Thu, 20 Sep 2018 14:53:03 +0200
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Thomas Holst <Thomas_Holst@gmx.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: [O] [o] org-capture regression?
Message-ID: <87sh24gwk0.fsf@nicolasgoaziou.fr>
Content-Type: text/plain; charset=3Dutf-8

Hello,

Thomas Holst <Thomas_Holst@gmx.de> writes:

> a view weeks ago a wrote a post about problems I have with one of my > captue templates. (see:
> http://lists.gnu.org/archive/html/emacs-orgmode/2018-08/msg00161.html)<= br>
I thought I had answered it.

> Since a few weeks this is not working anymore. I have a capture templa= te
> unsing this feature (which I use rarely but still).
>
> So here is I patch I came up with to re-enable theese features:

Thank you. However, I have two issues with it.

The first one is that I don't like `eval'. See, for example, this
excerpt from the Elisp manual:

    On rare occasions, you may need to write code that evalu= ates a form
    that is computed at run time, such as after reading a fo= rm from text
    being edited or getting one from a property list. On the= se
    occasions, use the ?eval? function. Often ?eval? is not = needed and
    something else should be used instead. For example, to g= et the value
    of a variable, while ?eval? works, ?symbol-value? is pre= ferable; or
    rather than store expressions in a property list that th= en need to
    go through ?eval?, it is better to store functions inste= ad that are
    then passed to ?funcall?.

So, I'd rather use `symbol-value' and `funcall' and forbid arbitrary
Sexps.

Also, this introduces a discrepancy between :table-line-pos and other
parameters, which do not allow variables nor functions. This is another
issue.

IOW, it may need be to be implemented at a lower level, with proper
tooling.

WDYT?

> This works for me. I can use my capture template again. In the
>meantime I signed FSF papers so TINYCHANGE is not required anymore.

Great!

Regards,

--
Nicolas Goaziou



------------------------------

Message: 17
Date: Thu, 20 Sep 2018 18:29:29 +0530
From: Bingo UV <right.ho@gmail.com>
To: Richard Stallman <rms@gnu.org>, Nicolas Goaziou
        <mail@nicolasgoaziou.fr> Cc: n@flqt.fr, kaushal.modi@gmail.com, 32722@debbugs.gnu.org,
        emacs-orgmode@gnu.org
Subject: Re: [O] bug#32722:  bug#32722: 26.1; Org-publish depend on         non-free platform ?
Message-ID: <20180920182929.61517206@gmail.com>
Content-Type: text/plain; charset=3DUS-ASCII

Hi RMS, Nicolas
   The concrete software MobileOrg on Android is somewhat of an o= rphan.
   It may not revive as itself. But there is also a protocol mobi= leorg,
   which the manual alludes to, though does not document directly= . That
   protocol is very much an enabler of software freedom, and it i= s
   important for the next MobileOrg to be written. I hope it surv= ives
   these questions.

The protocol can be used to sync 2 sets of org-mode files between 2
emacs instances - without needing the iOS or Android versions of
MobileOrg. When fancypants sync systems like dropbox, git, syncthing,
rsync etc. are not available, the mobileorg protocol can be used to
transfer changes from one place to another.

As for the questions :

On Wed, 19 Sep 2018 21:50:26 -0400
Richard Stallman <rms@gnu.org> wrote:
>
> What is the source license of Mobile.org?

GPLv3
(https://github.com/matburt/mobileorg-android/blob/master/LICENSE.txt= )

>
Is it listed in f-droid.org?

It used to be, it has been kicked out of f-droid due to violating
policies : including dubious jars. Dropbox API that it was using was
surely non-free.


>   > [fn:146] An alternative is to use a WebDAV server.&nb= sp; MobileOrg
>   > documentation has details of WebDAV server configurat= ion.
>   > Additional help is at this
>   > [[https://orgmode.org/worg/org-faq.html#mobileorg_webdav]= [FAQ
>   > entry]]. 
>
> Is this a way to use MobileOrg without Dropbox?
>
> Is the WebDAV server code free software?  Can you talk to such a<= br> > server without any nonfree client software?

There are 2 other ways to use Android MobileOrg not included in the
worg page:
1. SSH
2. Local filesystem


Also, since one can write one's own WebDAV server using specs, it
doesn't matter if some particular WebDAV servers are free or not.

thanks



------------------------------

Message: 18
Date: Thu, 20 Sep 2018 14:53:56 +0100
From: Lorenzo Bolla <lbolla@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [O] Expandin Org Babel snippets
Message-ID:
        <CADjgTRxCXcrky+L3tXR6S4V= g8Qj=3DiWsP=3Daibw-Jsruwr2pAPvQ@mail.gmail.com>
Content-Type: text/plain; charset=3D"UTF-8"

I upgraded to orgmode TIP (from
https://code.orgmode.org/= bzg/org-mode), and now I am not able to
expand Babel snippets in org files anymore. E.g. it used to be
possible to type "<s" followed by <tab> and get an expan= ded
"#+begin_src ... #+end_src" block. Similarly, with "= <q" <tab> to get a
quote block.
Any ideas how to fix this?

Thanks!
Lorenzo



(org-version t t)
Org mode version 9.1.14 (release_9.1.14-914-gfa3dab @
/home/lbolla/src/org-mode/lisp/)

Emacs version is:

(version)
"GNU Emacs 26.1 (build 1, x86_64-unknown-linux-gnu, GTK+ Version 2= .24.32)
 of 2018-07-25"



------------------------------

Message: 19
Date: Thu, 20 Sep 2018 16:01:26 +0200
From: Thomas Holst <Thomas_Holst@gmx.de>
To: emacs-orgmode@gnu.org
Subject: Re: [O] [o] org-capture regression?
Message-ID: <87musc46a1@Boerne>
Content-Type: text/plain; charset=3Dwindows-1252

Hello,
? Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Thomas Holst <Thomas_Holst@gmx.de> writes:
>> [...snip...]
>> So here is I patch I came up with to re-enable theese features: >
> Thank you. However, I have two issues with it.
>
> The first one is that I don't like `eval'. See, for example, this
> excerpt from the Elisp manual:
>
>     On rare occasions, you may need to write code = that evaluates a form
>     that is computed at run time, such as after re= ading a form from text
>     being edited or getting one from a property li= st. On these
>     occasions, use the ?eval? function. Often ?eva= l? is not needed and
>     something else should be used instead. For exa= mple, to get the value
>     of a variable, while ?eval? works, ?symbol-val= ue? is preferable; or
>     rather than store expressions in a property li= st that then need to
>     go through ?eval?, it is better to store funct= ions instead that are
>     then passed to ?funcall?.
>
> So, I'd rather use `symbol-value' and `funcall' and forbid arbitrary > Sexps.
>
> Also, this introduces a discrepancy between :table-line-pos and other<= br> > parameters, which do not allow variables nor functions. This is anothe= r
> issue.
>
> IOW, it may need be to be implemented at a lower level, with proper > tooling.
>
> WDYT?

For me this sounds resonalble. Basically I am an elisp novice. I
will try to implement the feature like explaind above in
`org-capture-get'. So it can be used for other parameters.

When I have questions or a few lines of code I will come back here.

Right now I can live with my solution for my personal needs. Since my
time for working on this is limited it might take some time. It seems
that nobody else is missing this feature. So I will take the oportunity
and find my way through elisp.

--
Bis neulich ...
  Thomas



------------------------------

Message: 20
Date: Thu, 20 Sep 2018 16:08:58 +0200
From: Robert Klein <roklein@roklein.de>
To: Lorenzo Bolla <lbolla@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [O] Expandin Org Babel snippets
Message-ID: <20180920160858.206861e2@lt70.mpip-mainz.mpg.de>
Content-Type: text/plain; charset=3DUS-ASCII

On Thu, 20 Sep 2018 14:53:56 +0100
Lorenzo Bolla <lbolla@gmail.com> wrote:

> I upgraded to orgmode TIP (from
> https://code.orgmode= .org/bzg/org-mode), and now I am not able to
> expand Babel snippets in org files anymore. E.g. it used to be
> possible to type "<s" followed by <tab> and get an = expanded
> "#+begin_src ... #+end_src" block. Similarly, with &= quot;<q" <tab> to get a
> quote block.
> Any ideas how to fix this?
>
> Thanks!
> Lorenzo
>
>
>
> (org-version t t)
> Org mode version 9.1.14 (release_9.1.14-914-gfa3dab @
> /home/lbolla/src/org-mode/lisp/)
>
> Emacs version is:
>
> (version)
> "GNU Emacs 26.1 (build 1, x86_64-unknown-linux-gnu, GTK+ Vers= ion
> 2.24.32) of 2018-07-25"
>

Please see

*** Change in the structure template expansion

in the etc/ORG-NEWS file.

Best regards
Robert



------------------------------

Message: 21
Date: Thu, 20 Sep 2018 16:31:06 +0200
From: Michael Albinus <michael.albinus@gmx.de>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: n@flqt.fr, kaushal.modi@gmail.com, Richard Stallman <rms@gnu.org>= ,
        32722@debbugs.gnu.org
Subject: [O] bug#32722:  bug#32722: 26.1; Org-publish depend on
        non-free platform ?
Message-ID: <87sh24utp1.fsf@gmx.de>
Content-Type: text/plain

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,

Hi,

>> Is the WebDAV server code free software?
>
> At least some implementations are, e.g., Nextcloud, listed in the FSF<= br> > directory.
>
>> Can you talk to such a server without any nonfree client software?=
>
> I do it with Gnome file manager. There is also an official client for<= br> > Nextcloud, which is free.

For the records, Emacs 27.0.50 / Tramp 2.4.1-pre got a nextcloud client
for GNU/Linux systems. Like the Gnome File Manager it uses the GVFS
library and tools.

> Regards,

Best regards, Michael.





------------------------------

Message: 22
Date: Thu, 20 Sep 2018 18:29:29 +0530
From: Bingo UV <right.ho@gmail.com>
To: Richard Stallman <rms@gnu.org>, Nicolas Goaziou
        <mail@nicolasgoaziou.fr> Cc: n@flqt.fr, 32722@debbugs.gnu.org, kaushal.modi@gmail.com
Subject: [O] bug#32722:  bug#32722:  bug#32722: 26.1; Org-publish=
        depend on non-free platform ? Message-ID: <20180920182929.61517206@gmail.com>
Content-Type: text/plain; charset=3DUS-ASCII

Hi RMS, Nicolas
   The concrete software MobileOrg on Android is somewhat of an o= rphan.
   It may not revive as itself. But there is also a protocol mobi= leorg,
   which the manual alludes to, though does not document directly= . That
   protocol is very much an enabler of software freedom, and it i= s
   important for the next MobileOrg to be written. I hope it surv= ives
   these questions.

The protocol can be used to sync 2 sets of org-mode files between 2
emacs instances - without needing the iOS or Android versions of
MobileOrg. When fancypants sync systems like dropbox, git, syncthing,
rsync etc. are not available, the mobileorg protocol can be used to
transfer changes from one place to another.

As for the questions :

On Wed, 19 Sep 2018 21:50:26 -0400
Richard Stallman <rms@gnu.org> wrote:
>
> What is the source license of Mobile.org?

GPLv3
(https://github.com/matburt/mobileorg-android/blob/master/LICENSE.txt= )

>
Is it listed in f-droid.org?

It used to be, it has been kicked out of f-droid due to violating
policies : including dubious jars. Dropbox API that it was using was
surely non-free.


>   > [fn:146] An alternative is to use a WebDAV server.&nb= sp; MobileOrg
>   > documentation has details of WebDAV server configurat= ion.
>   > Additional help is at this
>   > [[https://orgmode.org/worg/org-faq.html#mobileorg_webdav]= [FAQ
>   > entry]]. 
>
> Is this a way to use MobileOrg without Dropbox?
>
> Is the WebDAV server code free software?  Can you talk to such a<= br> > server without any nonfree client software?

There are 2 other ways to use Android MobileOrg not included in the
worg page:
1. SSH
2. Local filesystem


Also, since one can write one's own WebDAV server using specs, it
doesn't matter if some particular WebDAV servers are free or not.

thanks





End of Emacs-orgmode Digest, Vol 151, Issue 21
**********************************************
--_000_BL0PR1901MB214676B99FA733FEEA2FD538AEEF0BL0PR1901MB2146_--