[O] Do not inherit unnumbered property: help needed

2017-11-17 Thread Akater
I have to deal with a document that has an unfortunate vague structure which involves unnumbered headlines spanning a couple of numbered ones. I'd like to convert the document into Org and thus effectively need to implement a feature that would allow unnumbered property in Org not to be inherited

Re: [O] Do not inherit unnumbered property: help needed

2017-11-17 Thread Akater
Kaushal Modi writes: > Have you looked at org-use-property-inheritance variable > http://orgmode.org/manual/Property-inheritance.html -- You can set that to > a regexp that does not match UNNUMBERED. As this page mentions, default value is nil, which means nothing would

Re: [O] Do not inherit unnumbered property: help needed

2017-11-18 Thread Akater
On November 18, 2017 5:18:10 PM GMT+00:00, Nicolas Goaziou >I see. I don't think UNNUMBERED should be able to modify the structure >of the document. I suggest to write a parse tree filter that does that >change to the tree. > >Regards, Please note: it is not UNNUMBERED that modifies the

Re: [O] Do not inherit unnumbered property: help needed

2017-11-18 Thread Akater
On November 18, 2017 5:18:10 PM GMT+00:00, Nicolas Goaziou wrote: > I suggest to write a parse tree filter that does that >change to the tree. > I got an impression that UNNUMBERED's children get cut off prior to what user can do, hence writing a simple backend won't

Re: [O] Do not inherit unnumbered property: help needed

2017-11-18 Thread Akater
On November 17, 2017 10:09:55 PM GMT+00:00, Nicolas Goaziou wrote: > >OOC, what is the output you expect from your initial example? > in LaTeX: * section-one blah * unnumbered-header :PROPERTIES: :UNNUMBERED: :SKIP-OUTLINE-LEVEL: :END: ** section-two blah **

Re: [O] How can I obtain Org via HTTPS?

2017-12-06 Thread Akater
On a related note, I'd love to use org-plus-contrib packages but there's no https update, and I still don't understand how to check whether packages are signed, w/ which keys, where the keys are published. Maybe I didn't do everything I could but all the other updates on my system have been far

[O] How do I debug agenda-skip-functions?

2018-06-08 Thread Akater
To quote the following 2013 message from this mailing list http://lists.gnu.org/archive/html/emacs-orgmode/2013-06/msg00841.html > This is quite strange because I can debug skipping functions > for tags-todo blocks, but for some reason I cannot debug skipping > functions for agenda blocks. I

Re: [O] Trivial bug in ox-latex

2018-02-01 Thread Akater
Nicolas Goaziou writes: >> When depth is -1, wholenump form evaluates to nil, and setcounter >> command is not exported at all. > > I don't think it's a bug. Org doesn't pretend to support every LaTeX > feature. Setting `org-export-with-toc', which is where DEPTH comes

[O] Trivial bug in ox-latex

2018-01-31 Thread Akater
The following snippet in ox-latex.el processes negative tocdepths incorrectly: #+begin_src emacs-lisp ;; Table of contents. (let ((depth (plist-get info :with-toc))) (when depth (concat (when (wholenump depth) (format "\\setcounter{tocdepth}{%d}\n" depth))

Re: [O] Feature suggestion and code review request: org-babel-cycle-src-block-header

2018-03-03 Thread Akater
Thank you, I'll make use of 's. Not well versed in Elisp libraries. save-excursion is certainly an improvement, too. signature.asc Description: PGP signature

Re: [O] superscript footnote number underlined?

2018-02-28 Thread Akater
Sharon Kimble writes: > How can I have the footnote number in an org-mode file, exported to > latex and then built as a PDF file, be underlined please? Try adding the following LaTeX directive. #+latex_header:

Re: [O] superscript footnote number underlined?

2018-02-28 Thread Akater
Sharon Kimble writes: > How can I have the footnote number in an org-mode file, exported to > latex and then built as a PDF file, be underlined please? Try adding the following LaTeX directive: #+latex_header:

[O] Feature suggestion and code review request: org-babel-cycle-src-block-header

2018-02-28 Thread Akater
fault-position-to-return-to (length new-header-string))) (goto-char (if (<= fallback-position default-position-to-return-to (+ fallback-position (length new-header-string))) fallback-position

[O] [Bug?] org-20181210 seems to break Column View

2018-12-12 Thread Akater
I've been using Column View for quite some time without any issues. After today's update, C-c C-c on the BEGIN line of the dynamic block #+BEGIN: columnview :hlines 1 :id local :maxlevel 3 [...] #+END: draws the table close to the very beginning of a buffer, starting at the 11th char, cells

Re: [O] [SOLVED] org-20181210 seems to break Column View

2018-12-13 Thread Akater
Thanks anyway. My bad, it was due to poly-org package which I had installed recently. It broke undo in org buffers too. signature.asc Description: PGP signature

[O] Some whitespace stripped from emacs-lisp value in src blocks making it unreadable in certain cases

2019-09-09 Thread akater
Consider a lisp form that, when evaluated, produces another form. I'm used to org printing the resulting form nicely, in lisp blocks. However, this is not the case for emacs-lisp src blocks. An example: 1. The way it should be (and is now the case) with lisp, namely sbcl: #+begin_src lisp

A possible improvement to org todo keywords completion UI

2020-02-27 Thread akater
I'd like to discuss a possible improvement to org todo keywords completion UI but - it could break something as is - it still needs some polish, or maybe some of org internals better be altered Proposal so far: #+begin_src diff ---

[PATCH] Add support for trace and error output streams in Common Lisp

2020-04-09 Thread akater
This patch can't be merged right away: I need to sort out the exact SLIME version where the feature will be introduced. Some doc update is needed, too. According to orgmode.org, I can link to a public repository and the branch. Repository: https://gitlab.com/akater/org-mode Branch: ob-lisp-traces

(almost a patch) Receiving more output from a Common Lisp evaluation in Org buffer

2020-04-08 Thread akater
: #+begin_example lisp ; in: LET ((*DEFAULT-PATHNAME-DEFAULTS* #P"/home/akater/")) ; (/ 1 0) ; ; caught STYLE-WARNING: ; Lisp error during constant folding: ; arithmetic error DIVISION-BY-ZERO signalled ; Operation was (/ 1 0). ; ; compilation unit finished ; caught 1 STY

One inconsistency with org-element parsers

2020-04-15 Thread akater
I want to make it easier for users to define custom non-inline blocks (and operations on them). So I studied parsers in =org-element.el= and stumbled upon the following seeming inconsistency: Plists for =comment-block=, =example-block=, =export-block=, =src-block= all have neither

Re: [PATCH] Add support for trace and error output streams in Common Lisp

2020-04-18 Thread akater
To test the feature, please - git clone https://gitlab.com/akater/org-mode.git - checkout ob-lisp-traces-and-errors - load lisp/ob-lisp.el and lisp/ob-core.el in a running Emacs - M-: (defalias 'org-babel-execute:lisp 'org-babel-execute:lisp--multiple-targets-support) RET and also - git clone

[PATCH] org-agenda.el: Complete multiple todo keywords

2020-04-29 Thread akater
* lisp/org-agenda.el (org-todo-list): Use completing-read-multiple instead of completing-read when selecting todo keywords to filter by in Agenda. * lisp/org-agenda.el (org-todo-list): Fix a typo in the prompt. There is minor UX cost to Helm users: while candidates list used to appear

Self-sufficient Org file with customised export? :eval-when?

2020-04-30 Thread akater
I'd like to write an Org file that would export to a html with fairly significant tweaks along the way. The rough idea is, users should be able to run reasonaly recent vanilla emacs, (require 'ox), (org-html-export-to-html) and get a fine-tuned html. I also would like to move relevant Elisp to

Re: [PATCH] org-agenda.el: Complete multiple todo keywords

2020-05-01 Thread akater
Kyle Meyer writes: > Is akater the name you prefer > listed on that site and in the commit message? Yes. I will use git-am complaint patch formatting next time; thank you for the guidelines. signature.asc Description: PGP signature

Re: [PATCH] org-agenda.el: Complete multiple todo keywords

2020-04-30 Thread akater
Kyle Meyer writes: > Thanks for the patch. Looks like a nice improvement to me. > > akater writes: > >> * lisp/org-agenda.el (org-todo-list): Use completing-read-multiple >> instead of completing-read when selecting todo keywords to filter by >> in Agenda. >

Re: [PATCH] org-element: Hide parsers boilerplate into plist-creating macros

2020-09-09 Thread akater
0 2001 From: akater Date: Thu, 16 Apr 2020 02:25:59 + Subject: [PATCH] org-element: Hide parsers boilerplate into plist-creating macros * lisp/org-element.el (org-prog-plist, org-let*-prog-plists) (org-let*-prog-plist): New macros. Build plists without boilerplate. (org-fold, org-dekeyword

[PATCH] org-element: Hide parsers boilerplate into plist-creating macros

2020-09-08 Thread akater
of the operation is not localized. signature.asc Description: PGP signature >From d9d108f97917c1b55841df907510bcc89f8db406 Mon Sep 17 00:00:00 2001 From: akater Date: Thu, 16 Apr 2020 02:25:59 + Subject: [PATCH] org-element: Hide parsers boilerplate into plist-creating macros * lisp/

Re: [PATCH] Add support for trace and error output streams in Common Lisp

2020-07-07 Thread akater
So, the overall plan that I suggest is as follows: - Merge the patch(es) I sent. Whether to merge documntation patch or not, is left for you to decide. The text does not lie to users but it hints at a feature that is not available yet. These patches will not break anything for anyone

Re: [PATCH] Add support for trace and error output streams in Common Lisp

2020-07-06 Thread akater
Bastien writes: > Hi, > > akater writes: > >> This patch can't be merged right away: I need to sort out the exact >> SLIME version where the feature will be introduced. Some doc update is >> needed, too. > > did you finally managed to finalize this patch? &g

Re: (almost a patch) Receiving more output from a Common Lisp evaluation in Org buffer

2020-07-06 Thread akater
stardiviner writes: > I have some considering. Multi-block return might will cause other options > hard > to handle the result block. For example ~:cache~, ~:results replace~, and use > result > as source block input data. WDYT? Probably. I'm not a user of either :cache or :results replace