[O] org-get-heading, but without the count/percentage cookies

2018-02-14 Thread Marcin Borkowski
Hi list, Is it possible to get the text of the Org heading, but without the [n/m] cookie (or its percentage equivalent)? Or should I just massage the result of org-get-heading myself? If the latter, isn't it a bug? (I have a use-case where this is /really/ necessary.) TIA, -- Marcin

Re: [O] org-get-heading, but without the count/percentage cookies

2018-02-14 Thread Nicolas Goaziou
Hello, Marcin Borkowski writes: > Is it possible to get the text of the Org heading, but without the [n/m] > cookie (or its percentage equivalent)? (org-last (org-get-outline-path)) > Or should I just massage the result of org-get-heading myself? This would be simpler

Re: [O] Bug: html export : adding a class attribute to an image [9.1.6 (9.1.6-44-ge6f891-elpa @ /home/michel/.emacs.d/elpa/org-20180212/)]

2018-02-14 Thread Nicolas Goaziou
Hello, Michel Damiens writes: > When exporting to html an image for which I added a class attribute, the > result seems to depend on the fact that I insert or not an empty line > after the image link. Example : > > with this text in my org file : > > * Le sens des

Re: [O] org-get-heading, but without the count/percentage cookies

2018-02-14 Thread Kaushal Modi
On Wed, Feb 14, 2018, 6:42 AM Marcin Borkowski wrote: > Hi list, > > Is it possible to get the text of the Org heading, but without the [n/m] > cookie (or its percentage equivalent)? What exporter are you using? I understand that your question/issue isn't specific to an

Re: [O] orgmode beamer mode: BMCO does not export to latex any longer

2018-02-14 Thread Martin Steffen
Thanks a lot, it may be that my emacs suffers some ``package-overload'', i.e., maybe it's due to an interference with some other lisp stuff I load. I just wanted to hear if it's known to be a current glitch of the export-beamer thing, before I try to drill down (especially since the priority

Re: [O] Two ob-lua versions

2018-02-14 Thread numbch...@gmail.com
Hi, sorry for this. I have not noticed that. I will create an PR to remove my `ob-lua.el` as soon as fast. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433

Re: [O] orgmode beamer mode: BMCO does not export to latex any longer

2018-02-14 Thread Eric S Fraga
On Wednesday, 14 Feb 2018 at 10:39, Martin Steffen wrote: > Hi, > > since recently I have a problem with exporting org-beamer-mode, the > culprit presumably [...] > It seems that the BMCOL is the culprit, org-beamer still export a > complicated and long document (as it did before), but probably

[O] orgmode beamer mode: BMCO does not export to latex any longer

2018-02-14 Thread Martin Steffen
Hi, since recently I have a problem with exporting org-beamer-mode, the culprit presumably BMCOL It's org, in beamer mode. The mode still allows to turn some headers into BMCOL (multiple colums) via some keybindings ``C-c C-b |'' (representing

Re: [O] Two ob-lua versions

2018-02-14 Thread numbch...@gmail.com
I created a PR now https://code.orgmode.org/bzg/org-mode/pulls/4 . Really sorry for this. @Nicolas , can you merge it now? [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4

[O] Org table columns without width cookies get shrunk on TAB

2018-02-14 Thread Kaushal Modi
Hello, Today I realized that Org table columns without width cookies get auto-shrunk on hitting TAB: As far as I remember, the cookie-less columns did not shrink on TAB that way, when this feature got introduced. Here's a minimal example: = #+title: Width cookies present only on columns

Re: [O] Org table columns without width cookies get shrunk on TAB

2018-02-14 Thread Nicolas Goaziou
Hello, Kaushal Modi writes: > Today I realized that Org table columns without width cookies get > auto-shrunk on hitting TAB: > > As far as I remember, the cookie-less columns did not shrink on TAB that > way, when this feature got introduced. > > Here's a minimal

[O] Can’t include file with babel

2018-02-14 Thread Rasmus
Hi, I am stitching together a number of documents to produce a report. I though I’d be clever and include subfile headings in the right order at the right place using babel. I do something like * Appendix to chapter N #+call: include-between(file="other-paper.org", first="appendix1",

Re: [O] org-clock-report overrides default :scope argument

2018-02-14 Thread Nicolas Goaziou
Hello, Tyler Smith writes: > Hi, > > I have set org-clock-clocktable-default-properties to: > > (:scope agenda :stepskip0 t :fileskip0 t :compact t :block today) > > However, if I'm in a subtree and I try to insert a new clock table via ~C-c > C-x C-r~ /

Re: [O] Org table columns without width cookies get shrunk on TAB

2018-02-14 Thread Kaushal Modi
On Wed, Feb 14, 2018 at 12:50 PM Nicolas Goaziou wrote: > > For the record, I cannot see images in a mail. > OK, I will upload the images somewhere and then paste the links next time. Does your email client need to be configured to show images? Because they show up

Re: [O] Can’t include file with babel

2018-02-14 Thread Nicolas Goaziou
Hello, Rasmus writes: > I am stitching together a number of documents to produce a report. > > I though I’d be clever and include subfile headings in the right order at > the right place using babel. > > I do something like > > * Appendix to chapter N > > #+call:

Re: [O] Bug: Error building agenda buffer [9.1.5 (9.1.5-1-gb3ddb0-elpa @ c:/Users/admin/AppData/Roaming/.emacs.d/elpa/org-20171225/)]

2018-02-14 Thread Nicolas Goaziou
Hello, Макей Е.В. writes: > When use special symbols for todo keywords, can't build agenda buffer > for certain keyword (like "!*"). True. Note that allowing anything as a TODO keyword could be very confusing. What is allowed is not particularly clear, but I think

[O] src-blocks with captions do not respect attr_latex :placement options

2018-02-14 Thread John Kitchin
A block like this: #+attr_latex: :placement [H] #+caption: A test block #+BEGIN_SRC ipython 'hello' #+END_SRC exports to latex as: \begin{listing}[htbp] \begin{minted}[frame=lines,fontsize=\scriptsize,linenos]{ipython} 'hello' \end{minted} \caption{A test block} \end{listing} The root of this

Re: [O] Bug: Error building agenda buffer [9.1.5 (9.1.5-1-gb3ddb0-elpa @ c:/Users/admin/AppData/Roaming/.emacs.d/elpa/org-20171225/)]

2018-02-14 Thread Макей Е . В .
Yes, I agree. I will return the old values for TODO keywords. ср, 14 февр. 2018 г. в 20:55, Nicolas Goaziou : > Hello, > > Макей Е.В. writes: > > > When use special symbols for todo keywords, can't build agenda buffer > > for certain keyword (like

Re: [O] org-get-heading, but without the count/percentage cookies

2018-02-14 Thread Marcin Borkowski
On 2018-02-14, at 14:36, Nicolas Goaziou wrote: > Hello, > > Marcin Borkowski writes: > >> Is it possible to get the text of the Org heading, but without the [n/m] >> cookie (or its percentage equivalent)? > > (org-last (org-get-outline-path)) > > >>

Re: [O] stop results drawers from folding?

2018-02-14 Thread John Kitchin
I have tracked this issue down to the last line of this function: (defun org-show-entry () "Show the body directly following this heading. Show the heading too, if it is currently invisible." (interactive) (save-excursion (ignore-errors (org-back-to-heading t)

Re: [O] Org table columns without width cookies get shrunk on TAB

2018-02-14 Thread Kaushal Modi
On Wed, Feb 14, 2018 at 12:50 PM Nicolas Goaziou wrote: > > Anyway, this is fixed. Thank you. > I confirm the fix. Thanks! -- Kaushal Modi

[O] Test failure

2018-02-14 Thread Nick Dokos
Org mode version 9.1.6 (release_9.1.6-474-g58da7d @ /home/nick/elisp/org-mode/lisp/) I updated to the above and got two test failures: , | 2 unexpected results: |FAILED test-org-publish/base-extension |FAILED test-org-publish/get-project-from-filename ` Details on the first

Re: [O] Org table columns without width cookies get shrunk on TAB

2018-02-14 Thread Nicolas Goaziou
Kaushal Modi writes: > OK, I will upload the images somewhere and then paste the links next > time. > > Does your email client need to be configured to show images? My MUA is Gnus, configured to not display images, because I usually do not want to see them. Just to be

Re: [O] org-get-heading, but without the count/percentage cookies

2018-02-14 Thread Marcin Borkowski
On 2018-02-14, at 14:22, Kaushal Modi wrote: > On Wed, Feb 14, 2018, 6:42 AM Marcin Borkowski wrote: > >> Hi list, >> >> Is it possible to get the text of the Org heading, but without the [n/m] >> cookie (or its percentage equivalent)? > > > What

Re: [O] stop results drawers from folding?

2018-02-14 Thread Nicolas Goaziou
Hello, John Kitchin writes: > I have tracked this issue down to the last line of this function: > > (defun org-show-entry () > "Show the body directly following this heading. > Show the heading too, if it is currently invisible." > (interactive) > (save-excursion

[O] Keep clocktable in hours?

2018-02-14 Thread Malcolm Matalka
clocktable tries to be smart and convert hours to days, but in my situation it'd actually be nicer if clocktable just kept everything in hours. Is this possible? /Malcolm

[O] How to pass `format` result string to org-babel-execute:clojure function?

2018-02-14 Thread numbch...@gmail.com
I try add advice as I posted at here https://emacs.stackexchange.com/questions/38818/how-to-write-this-advice-for-inject-code-into-let-binding And here is my final code (some lines commented out for easy debug): ```elisp ;;; Support header arguments :results file :file "image.png" (defun