[O] How to advice around org-insert-link to disable desc part of link?

2018-11-10 Thread stardiviner
I use org-attach to add/download image file from local or web url. Then [C-c C-l] (org-insert-link) to insert link from previous added attach image file. In some places like ox-html, ox-epub, they use inline images without desc to display image. If has `[desc]` part, the image will become a

Re: [O] [feature] Handle recurrence in <> and [] dates

2018-11-10 Thread Leo Gaspard
Nicolas Goaziou writes: > Org didn't handle repeaters in inactive time stamps. This is now fixed > (in master). Thank you. Great, thank you!

Re: [O] Bug: Wrong parsed indiced for field range in org-table [9.1.14 (9.1.14-9-g131531-elpa @ /home/xavier/.emacs.d/elpa/org-20181105/)]

2018-11-10 Thread Xavier Raynaud
I tested with a clean emacs configuration (as proposed in orgmode page https://orgmode.org/manual/Feedback.html#Feedback) and it worked as it should. I am sorry for not having done that at once. I'll do it next time. Thank you for answering my question and I apologize again for not having

[O] Links for getting email in Gmail (IMAP) with Gnus ?

2018-11-10 Thread Joseph Vidal-Rosset
Hello, I know that it is possible to link emails in Todo list, but I meet difficulties with Gmail IMAP and Gnus when the mail is in the box "All emails" ("Tous les messages" in French): as soon as the email is in this Archive, the link is broken and Gnus does not fetch it. Help and code are

Re: [O] Bug: Wrong parsed indiced for field range in org-table [9.1.14 (9.1.14-9-g131531-elpa @ /home/xavier/.emacs.d/elpa/org-20181105/)]

2018-11-10 Thread Nicolas Goaziou
Hello, Xavier Raynaud writes: > In the table below, the number 1 in @1$1 is entered and equal to > one. When I calculate the table, only the number 1 in @2$1 is added, > while I expect also  @1$1 to be set. > > |   | 1 | > | 1 |   | > > #+TBLFM: @1$1..@2$1=@1$2 With the table above, using on

[O] Bug: Wrong parsed indiced for field range in org-table [9.1.14 (9.1.14-9-g131531-elpa @ /home/xavier/.emacs.d/elpa/org-20181105/)]

2018-11-10 Thread Xavier Raynaud
Remember to cover the basics, that is, what you expected to happen and what in fact did happen.  You don't know how to make a good report?  See  https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

Re: [O] [feature] Handle recurrence in <> and [] dates

2018-11-10 Thread Nicolas Goaziou
Hello, Leo Gaspard writes: > Here is a translated example task from my .org file: > > *** TODO Check bank report > SCHEDULED: <2000-02-10 Thu +1m> > > Dated [2000-01-01 Sat +1m] > > The point of this “Dated” field being to tell me to which report I > should be looking, given I sometimes

Re: [O] creating new #+KEYWORD: variables

2018-11-10 Thread Nicolas Goaziou
Hello, John Kitchin writes: > You can retrieve keywords in the org-file like this: > > (defun get-keyword (key) > (org-element-map (org-element-parse-buffer) 'keyword > (lambda (k) > (when (string= key (org-element-property :key k)) > (org-element-property :value k))) > nil t))

Re: [O] creating new #+KEYWORD: variables

2018-11-10 Thread John Kitchin
You can retrieve keywords in the org-file like this: (defun get-keyword (key) (org-element-map (org-element-parse-buffer) 'keyword (lambda (k) (when (string= key (org-element-property :key k)) (org-element-property :value k))) nil t)) (get-keyword "ORG_LMS_COURSE") John

Re: [O] typo, sp at C++ Source Code Blocks in Org Mode

2018-11-10 Thread Thomas S. Dye
Aloha Van L, On Sat, Nov 10, 2018 at 12:17 AM, Van L wrote: AFAIK there is no mechanism to have changes in one propagate changes in the other. It should be possible to link the two because both are org files. Worg would need to render to info:worg. That's an interesting idea. AFAICT

Re: [O] creating new #+KEYWORD: variables

2018-11-10 Thread Matt Price
On Sat, Nov 10, 2018 at 2:22 AM Nicolas Goaziou wrote: > Hello, > > Matt Price writes: > > > I am writing this interface to my university's learning management > system: > > > https://github.com/titaniumbones/Org-Marking-Mode/tree/use-structured-course-def > . > > I am only using hte exporting

Re: [O] indentation error in python source block

2018-11-10 Thread Sebastian P . Luque
On Sat, 10 Nov 2018 08:30:50 +0100, Nicolas Goaziou wrote: [...] > I cannot reproduce your error. You may want to upgrade Org. I'm already using the latest Org from Elpa (9.1.14), and get the error with: $ emacs -q -l emacs_pkg_init.el ╭─ [ emacs_pkg_init.el ] │ (setq package-archives │

Re: [O] Bug: Capture template insertion fails with #+FOO [9.1.14 (9.1.14-1-g4931fc-elpa @ /home/phil/.emacs.d/elpa/org-9.1.14/)]

2018-11-10 Thread Philip Hudson
On Sat, 10 Nov 2018 at 10:39, Nicolas Goaziou wrote: > > I stand on my ground: capturing an entry should be limited to real > entries, no exception. Fine. Thanks for your patience, and sorry I demanded so much of it. -- Phil Hudson http://hudson-it.ddns.net Pretty Good Privacy

Re: [O] Bug: Capture template insertion fails with #+FOO [9.1.14 (9.1.14-1-g4931fc-elpa @ /home/phil/.emacs.d/elpa/org-9.1.14/)]

2018-11-10 Thread Nicolas Goaziou
Hello, Philip Hudson writes: > You have been very clear and categorical about the definition of a > top-level entry/node/heading as a chunk of text starting with a single > asterisk (followed by whitespace, arbitrary heading text, optional > tags and optional further lines of text -- the

Re: [O] typo, sp at C++ Source Code Blocks in Org Mode

2018-11-10 Thread Van L
> AFAIK there is no mechanism to have changes in one propagate changes in the > other. It should be possible to link the two because both are org files. Worg would need to render to info:worg.

Re: [O] message:// links

2018-11-10 Thread Jean-Christophe Helary
Thank you Nicolas. Jean-Christophe > On Nov 10, 2018, at 16:28, Nicolas Goaziou wrote: > > Hello, > > Jean-Christophe Helary writes: > >> I'm pasting a message:// link into an org-mode file but it fails to be >> recognized as a link that should open in a mail client. >> >> What is a

Re: [O] [BUG][ODT] ODT_STYLES_FILE not read as a list

2018-11-10 Thread Nicolas Goaziou
Hello, "L.C. Karssen" writes: > Taking the risk that the manual is lagging behind the actual code, I see > the following: > > #+ODT_STYLES_FILE:uses quotes > > #+INCLUDE:uses quotes > #+TEXINFO_FILENAME: doesn't use quotes [1] > > #+SETUPFILE: no example in the manual