[O] Order of tangled blocks reversed?

2018-10-07 Thread Kaushal Modi
Hello, I was playing with Org Tangle header-args inheritance and came up with this example: = #+property: header-args :tangle yes At Org level 0. * Heading 1 :PROPERTIES: :header-args: :tangle foo.el :END: At Org level 1. #+name: block1 #+begin_src emacs-lisp (message "this will be tangled

Re: [O] [RFC] htmlize and htmlfontify comparison

2018-10-07 Thread Eric S Fraga
On Saturday, 6 Oct 2018 at 18:58, Nicolas Goaziou wrote: > My CSS/HTML/Javascript-fu is rusty. Could someone tell me if there is > anything wrong with the result? Is it a drop-in replacement or does it > need more clean-up? I am not keen on the css used by htmlfontify in your example output. It

[O] [PATCH] org: Support creating arbitrary headline paths when refiling

2018-10-07 Thread Sebastian Reuße
* org.el (org--refile-new-path): Add. (org-refile): Use it. (org-refile-new-child): Make new nodes more compact. * test-org.el (test-org/org-refile): Add test. While ‘org-refile’ currently supports creating new headlines when refiling, only one single headline can be created this way. For conveni

[O] org-forward-paragraph doesn't work programatically (called from Lisp)

2018-10-07 Thread Gerald Wildgruber
Hi I'm trying to unfill/unwrap Org mode files because I switched from auto-fill-mode to visual-line/visual-fill-column mode. I'd like to harmonize = unfill my already existing (filled) Org mode files. I took the function in https://www.emacswiki.org/emacs/UnfillParagraph) and tried the foll

Re: [O] org-forward-paragraph doesn't work programatically (called from Lisp)

2018-10-07 Thread Nicolas Goaziou
Hello, Gerald Wildgruber writes: > I'm trying to unfill/unwrap Org mode files because I switched from > auto-fill-mode to visual-line/visual-fill-column mode. > > I'd like to harmonize = unfill my already existing (filled) Org mode files. I > took the function in > > https://www.emacswiki.org/

Re: [O] Bug: manual still mentions orgstruct minor mode [9.1.14 (release_9.1.14-968-gfdb36d @ /home/grfz/src/org-mode/lisp/)]

2018-10-07 Thread Nicolas Goaziou
Hello, Gregor Zattler writes: > orgstruct minor mode is still mentioned as an usage example for > in-place conversion in org manuals chapter "12.18 Export in > Foreign Buffers". Fixed. Thank you. Regards, -- Nicolas Goaziou

Re: [O] org-forward-paragraph doesn't work programatically (called from Lisp)

2018-10-07 Thread Gerald Wildgruber
Hi, I'm using git checkouts for both emacs and Org mode: Org mode version 9.1.14 (release_9.1.14-921-g13626a) GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-09-20 Yet, I can't get any result: upon evaluating the "let" in the scratch buffer, I just get "nil" i

Re: [O] Skipping the SUBTREE visibility state

2018-10-07 Thread Matthew Palermo
Hi Nicolas, Thankyou for your reply. Sorry I didn't explain myself properly. When using org-cycle (TAB) I often only want to open an entry (headline) to its CHILDREN visibility state, look at the subheadings (sub-entry headlines), and then fold it back into its FOLDED state. Often these sub-entri

Re: [O] org-forward-paragraph doesn't work programatically (called from Lisp)

2018-10-07 Thread Kyle Meyer
Gerald Wildgruber writes: [...] > Yet, I can't get any result: upon evaluating the "let" in the scratch > buffer, I just get "nil" in the echo area, and nothing else has > happened, none of the files in the directory is touched. > > @Nikolay: can you confirm that this worked for you? I can conf

Re: [O] org-forward-paragraph doesn't work programatically (called from Lisp)

2018-10-07 Thread Gerald Wildgruber
On Mo, Okt 08 2018, Kyle Meyer wrote: > 2) Your code doesn't account for hidden text in the buffer. You could > call `(org-show-all)'. > > I suspect #2 is why you're not seeing the results you expect. Wow, thanks a lot Kylie, this was it! I never thought of having to unfold the Org mo

[O] setting org-html-htmlize-output-type as an export option

2018-10-07 Thread Akira Kyle
Hi, I've been trying to customize the css of my exported org mode files and projects and I've found that in different cases I want different settings for org-html-htmlize-output-type. For example in a org publish project I may want to set it to css while for certain individual files I want it