[O] [BUG] Org manual without correct org-version

2018-04-12 Thread Vladimir Lomov
Hello, I'm using org-mode from git and found that now it is not show the 'git' version but simply 9.1 in Info file. In doc/ there is 'org-version.inc', it is included into 'orgguide.texi' but not in 'org.texi'. As I understand the 'org.texi' is generated from 'org-manual.org', so 'org-manual.org'

Re: [O] How to set org-make-link-description-function

2018-04-12 Thread John Kitchin
Not with the way I wrote it. It should only affect your links and pass everything else through I think. On Thu, Apr 12, 2018 at 9:15 PM Eric Abrahamsen wrote: > John Kitchin writes: > > > I don't know how to do that either. It does seem like you can set it > globally. You can try something > >

Re: [O] How to set org-make-link-description-function

2018-04-12 Thread Eric Abrahamsen
John Kitchin writes: > I don't know how to do that either. It does seem like you can set it > globally. You can try something > like: > > #+BEGIN_SRC emacs-lisp > (setq org-make-link-description-function > (lambda (link desc) > (cond > ((s-starts-with? "ebdb:uuid/" link) > (replace-regex

Re: [O] [PATCH] org-capture: Add a custom to control save target file or not.

2018-04-12 Thread tumashu
At 2018-04-12 21:22:21, "Nicolas Goaziou" wrote: >Hello, > >tumashu writes: > >> I use org-capture to capture text to a file of my mobile phone >> with the help of tramp and termux's sshd, the save buffer is very >> slow, so I want to org-capture-finalize just update buffer, and >> I sa

Re: [O] How to set org-make-link-description-function

2018-04-12 Thread John Kitchin
I don't know how to do that either. It does seem like you can set it globally. You can try something like: #+BEGIN_SRC emacs-lisp (setq org-make-link-description-function (lambda (link desc) (cond ((s-starts-with? "ebdb:uuid/" link) (replace-regexp-in-string "ebdb:uuid/" "" link)) (t des

[O] How to set org-make-link-description-function

2018-04-12 Thread Eric Abrahamsen
I've coded Org link support for EBDB, a contact management package, where the :complete key looks like: (lambda () (format "ebdb:uuid/%s" (ebdb-record-uuid (ebdb-prompt-for-record (ebdb-records) Which prompts for a record based on the contact name, then inse

Re: [O] How to display babel src block language on exported PDF code block?

2018-04-12 Thread stardiviner
I recently switched email client from Thunderbird to mu4e+getmail+procmail. Found missed many my related messages because my wrong procmail rules. Missed this too. I found on Thunderbird again. On 04/06/2018 11:32 AM, John Kitchin wrote: I have done soemthing like this before: ;; custom expo

Re: [O] org-file-apps regex matching against path not link

2018-04-12 Thread Frankie Y. Liu
Hi Nicolas, For: \\.pdf:\\([0-9]+\\)\\' [0-9]+ vs \d+ same issue, since the path not the link is being matched. Example: file:foo.pdf::1 will be matching on file:foo.pdf and the ::1 is dropped. Therefore it doesn't matter what you put after :: it is not being used. On Thu, Apr 12, 2018 at

Re: [O] macro with inline source does not work in table cells

2018-04-12 Thread Severin Kempf
Hi on [2018-04-12] at 02:40:13 PM -0400, Nicolas Goaziou wrote: > The parser. Inline Babel code is not parsed in table cells. This could > conflict with TBLFM lines. I found where these restrictions are set in org-element.el; and the comments state exactly what you said ("Ignore inline babel c

Re: [O] org-file-apps regex matching against path not link

2018-04-12 Thread Nicolas Goaziou
Hello, "Frankie Y. Liu" writes: > I wanted to open a pdf at a particular page, the instructions under > org-file-apps suggested using > > (add-to-list 'org-file-apps '("\\.pdf::\\(\\d+\\)\\'" . "evince -p %1 > %s")) What is "\d+"? You may want to try [0-9]+ insteal. Regards, -- Nicolas Goazi

[O] org-file-apps regex matching against path not link

2018-04-12 Thread Frankie Y. Liu
I wanted to open a pdf at a particular page, the instructions under org-file-apps suggested using (add-to-list 'org-file-apps '("\\.pdf::\\(\\d+\\)\\'" . "evince -p %1 %s")) This doesn't work because the regular expression doesn't parse the link but the path. Therefore the ::(\d+) part is not be

Re: [O] macro with inline source does not work in table cells

2018-04-12 Thread Nicolas Goaziou
Hello, Severin Kempf writes: > This is very cumbersome for my particular document, which has a large > number of cells that I am working with. I could add an additional column > to facilitate this, but I don't see a good way to hide that column from > the exporter -- I only want the result, not

Re: [O] macro with inline source does not work in table cells

2018-04-12 Thread Severin Kempf
Hi, on [2018-04-11] at 06:52:42 AM -0400, Nicolas Goaziou wrote: > inline source code is not supported in tables. You are expected to use > `org-sbe'. > > Regards, Thanks for your suggestion. After some trial and error, I figured out how to do this using babel: <<< begin example org-mode fil

[O] [PATCH] org-compat: Allow imenu items without hierarchy

2018-04-12 Thread Michael Hendricks
* lisp/org-compat.el (org-imenu-flat): New custom variable. (org-imenu-get-tree): Skip hierarchical item structure if org-imenu-flat is true. Many of my Org files have deep hierarchies, but few total headings. For those files, I find that navigating a flat menu structure is more effective than nav

Re: [O] Bug: Weird interaction between ox-extra and include :minlevel

2018-04-12 Thread Daniel P Gomez
I was thinking of #+ignore_tags. as an analog of #+exclude_tags. While #+exclude_tags removes a complete subtree from export, #+ignore_tags would only ignore headlines and insert the contents. When used in combination, subtree would be excluded no matter what. #+IGNORE_TAGS: ignore bar #+EXLUDE_TA

Re: [O] BUG : cannot export src block to html

2018-04-12 Thread Giuseppe Lipari
Thanks, indeed. I will contact the maintainer. Giuseppe Lipari Le jeu. 12 avr. 2018 à 15:40, Nicolas Goaziou a écrit : > Hello, > > Giuseppe Lipari writes: > > > Dear all, > > > > (I am reposting it here with a more appropriate subject-line, hoping to > get > > more attention) > > > > Conside

Re: [O] Bug: Editing cookie in table column breaks tabbing [9.1.9 (9.1.9-3-gb1a639-elpa @ /home/foo/.emacs.d/elpa/org-20180402/)]

2018-04-12 Thread Nicolas Goaziou
Hello, Sebastian P. Luque writes: > ╭─ [ emacs_init.el ] > │ (package-initialize) > │ (toggle-debug-on-error) > │ (setq org-startup-align-all-tables t) > ╰─ > > First line is to ensure the Elpa Org package is available. > > ╭─ [ bug.org ] > │ * Column width alignment > │ > │ | A |

Re: [O] BUG : cannot export src block to html

2018-04-12 Thread Nicolas Goaziou
Hello, Giuseppe Lipari writes: > Dear all, > > (I am reposting it here with a more appropriate subject-line, hoping to get > more attention) > > Consider the following org file: > > * An example of org file > > Here I put a C snippet > > #+BEGIN_SRC c > int main() { > printf("hello w

Re: [O] Bug: Weird interaction between ox-extra and include :minlevel

2018-04-12 Thread Nicolas Goaziou
Hello, "Daniel P. Gomez" writes: > Is there any intention of bringing ox-extra functionality into main > Org? Something like #+ignore_tags would be a powerful addition for > fine grained export control, in my opinion. IIRC, "ox-extra" was written because we could not agree on a definition and a

Re: [O] [PATCH] org-capture: Add a custom to control save target file or not.

2018-04-12 Thread Nicolas Goaziou
Hello, tumashu writes: > I use org-capture to capture text to a file of my mobile phone > with the help of tramp and termux's sshd, the save buffer is very > slow, so I want to org-capture-finalize just update buffer, and > I save buffer manually when need. Thank you. Comments follow. > By the

Re: [O] [PATCH] add "link" :results type for Babel

2018-04-12 Thread Nicolas Goaziou
Hello, stardiviner writes: > I attached new generated patches. Applied, with a few changes. Thank you. Regards, -- Nicolas Goaziou

[O] Bug: Weird interaction between ox-extra and include :minlevel

2018-04-12 Thread Daniel P. Gomez
Hi all, TLDR: Using ox-extras :IGNORE: tags break #+INCLUDE :minlevel. Ideally ox-extras functionality could make it into ox. I'm using Org Mode to structure my thesis, and one of the Org features that I rely on the most are the #+INCLUDE derivatives. My setup is such that I have a main t

Re: [O] org-move-subtree-down whitespace dance

2018-04-12 Thread Marco Wahl
Hi, Thanks for your time! >> After having stumbled over >> >> >> https://emacs.stackexchange.com/questions/32144/org-mode-org-move-subtree-down-function-strange-behavior >> >> I also think the behavior of org-move-subtree-down is strange. >> >> What about pulling out the dance with the white