Re: [O] Painfully Slow Export

2018-06-12 Thread Ken Mankoff
On Wed, Jun 13, 2018 at 12:12 AM Berry, Charles wrote: > > On Jun 12, 2018, at 2:30 PM, Ken Mankoff wrote: > > > > Based on the profiling, I think the reason it takes 1 minute is because > the code blocks use <> blocks? > > I do not see this. > > It takes a bit longer to run the noweb example

Re: [O] Bug: imenu fails with non-continuous structure [9.1.13 (release_9.1.13 @ /home/thblt/.emacs.d/lib/org/lisp/)]

2018-06-12 Thread Nicolas Goaziou
Hello, Thibault Polge writes: > Steps to reproduce, from emacs -q: > > 1. (setq org-imenu-depth 10) > > 2. Create the following document: > > #+begin_src org > #+TITLE: Test > > * Level 1 > ** Level 2 > *** Level 3 > Level 4 > Level 8 > #+end_src > > Notice the break on the

Re: [O] Painfully Slow Export

2018-06-12 Thread Berry, Charles
> On Jun 12, 2018, at 2:30 PM, Ken Mankoff wrote: > > Based on the profiling, I think the reason it takes 1 minute is because the > code blocks use <> blocks? I do not see this. It takes a bit longer to run the noweb example you gave with 200 `baz' src blocks, but nothing crazy - like 10

Re: [O] Painfully Slow Export

2018-06-12 Thread Ken Mankoff
As an MWE, I can test with "emacs -Q" and the following org file: #+PROPERTY: header-args :eval never-export # (setq org-export-use-babel t) #+BEGIN_SRC emacs-lisp :results none (org-babel-do-load-languages 'org-babel-load-languages '((shell . t))) #+END_SRC #+BEGIN_SRC sh :results org

Re: [O] orgalist: increase vspace between points, leave orgalist (indent)

2018-06-12 Thread Nicolas Goaziou
Hello, Uwe Brauer writes: > First of all thanks for orgalist, I use it frequently and enjoy quite a > bit. There are two features I am missing (or don't know who to use > them). > > 1. How can I increase the vspace per default (say one blank line) between > 2 >points in a list?

Re: [O] Painfully Slow Export

2018-06-12 Thread Ken Mankoff
On Tue, Jun 12, 2018 at 11:07 PM Berry, Charles wrote: > > > On Jun 12, 2018, at 12:41 PM, Ken Mankoff wrote: > > > > Hi Chuck, > > > > It looks fine to me. I see: > > > > Name: fig:foo > > Lang: python > > Properties: > > :header-args:eval never-export > > :header-args:python

Re: [O] Painfully Slow Export

2018-06-12 Thread Berry, Charles
> On Jun 12, 2018, at 12:41 PM, Ken Mankoff wrote: > > Hi Chuck, > > It looks fine to me. I see: > > Name: fig:foo > Lang: python > Properties: > :header-args:eval never-export > :header-args:python nil > Header Arguments: > :cache no > :eval

Re: [O] Agenda search: setting sort-order

2018-06-12 Thread Nathan Neff
Bumping this question to see if anyone has a workaround - I recently have been wishing to search for keywords and order the results in reverse timestamp order. This sounds like a fairly useful and common feature, so I think there must be something I'm configuring incorrectly. I am able to

[O] New org-count-words function

2018-06-12 Thread Adam Porter
Hi friends, Here's a new function that counts lines, words, and characters in the region or the subtree at point. It prints a message like `count-words` does, like: Subtree "Heading" has 7 line, 5 words, and 28 characters. Note that it does *not* count words in heading lines, planning

Re: [O] Painfully Slow Export

2018-06-12 Thread Ken Mankoff
Hi Chris, Thanks for the hint. I didn't think to profile. This may be useful, but I'm not sure how to interpret the results, which are: - command-execute 15852 79% - call-interactively 15852 79% -

Re: [O] Painfully Slow Export

2018-06-12 Thread Ken Mankoff
Hi Chuck, It looks fine to me. I see: Name: fig:foo Lang: python Properties: :header-args :eval never-export :header-args:python nil Header Arguments: :cache no :eval never-export :exports results :hlines no :noweb yes :results file replace :session discharge_ts :tangle no -k. On Tue, Jun

Re: [O] Painfully Slow Export

2018-06-12 Thread Berry, Charles
> On Jun 12, 2018, at 7:01 AM, Ken Mankoff wrote: > > I'm trying to export a file to LaTeX. It takes about one minute. The > file is 12000 lines long and has 200 code blocks. I have set: > > #+PROPERTY: header-args :eval never-export > That is the right idiom. Of course, you have to

Re: [O] Painfully Slow Export

2018-06-12 Thread Chris
Hello, Ken! Ken Mankoff (mank...@gmail.com) 2018-06-12: > Is there a way to speed up exporting? I may be jumping to conclusions here, and if so, please excuse me. Have you tried profiling the export? (As in M-x profiler-start, run the export, then M-x profiler-report?) This can shed a surprising

Re: [O] Babel problem: Output incomplete if it contains # character (only in session)

2018-06-12 Thread Narendra Joshi
Marian Schubert writes: > Hello, > > I'm having trouble with babel block like this: > > #+BEGIN_SRC shell :results output :session xyz > echo "foo#bar" > #+END_SRC > > #+RESULTS: > :  > : bar > > I expect results to be foo#bar, but it's just bar. > If I remove :session xyz it displays correct

[O] Painfully Slow Export

2018-06-12 Thread Ken Mankoff
I'm trying to export a file to LaTeX. It takes about one minute. The file is 12000 lines long and has 200 code blocks. I have set: #+PROPERTY: header-args :eval never-export which means, I think, no babel blocks should evaluate. (setq org-export-use-babel t) seems to be the culprit. If I set it

Re: [O] Org mode in combination with emacs follow-mode is terrible

2018-06-12 Thread Eric S Fraga
On Tuesday, 12 Jun 2018 at 12:23, Gerald Wildgruber wrote: > Hi Eric, > > thanks for the input: indeed, I always use at least five windows (on a > 40" display), as this setup displays simultanously almost 60Kb of text, > an entire papaer, which is excellent! That's a lot of text so maybe it's

Re: [O] Org mode in combination with emacs follow-mode is terrible

2018-06-12 Thread Gerald Wildgruber
Hi Eric, thanks for the input: indeed, I always use at least five windows (on a 40" display), as this setup displays simultanously almost 60Kb of text, an entire papaer, which is excellent! I will try the results with fewer windows tomorrow, when back in office. Elsewise: do you see any

Re: [O] Error in emacs 26.1 when publishing to html

2018-06-12 Thread Pascal Quesseveur
>"KM" == Kaushal Modi writes: KM> htmlize.el is required for ox-html exports, especially if you export src KM> blocks. You need to have htmlize installed in the default load-path (you KM> will need to do that much customization in emacs -Q sessions too). Thank you. In fact I am

Re: [O] Org mode in combination with emacs follow-mode is terrible

2018-06-12 Thread Eric S Fraga
On Monday, 11 Jun 2018 at 14:56, Gerald Wildgruber wrote: > My typical setup is to use a maximized or full screen emacs frame split [...] > portions towards the end of the file. If I deactivate follow-mode, the > problem disappears. I have a 38" monitor and I frequently do what you say.

[O] orgalist: increase vspace between points, leave orgalist (indent)

2018-06-12 Thread Uwe Brauer
Hi First of all thanks for orgalist, I use it frequently and enjoy quite a bit. There are two features I am missing (or don't know who to use them). 1. How can I increase the vspace per default (say one blank line) between 2 points in a list? That is a variable which controls that

Re: [O] [BUG] there are weird offset when org-insert-structure-template

2018-06-12 Thread Nicolas Goaziou
Hello, stardiviner writes: > The original text: > > , > | We define refs the same way we define atoms, but the two are used rather > differently. > | Let's take a quick look at how they work below. > | > | (def names (ref [])) > | > | (dosync > | (ref-set names ["John"]) > | (alter

Re: [O] how putting \begin{document} at the right place to export a specific latex class ?

2018-06-12 Thread Joseph Vidal-Rosset
For this very interesting setup, many thanks Tim. I am going to test it and I will inform you about the results and/or my difficulties. Many thanks again to Nick and to John, I always appreciate your very kind help. (This list is terrific.) (The problem with this latex class is