Re: [O] Expose value-begin and value-end instead of just value in org-element API

2018-02-21 Thread Somelauw .
-end and for non-recursive elements this is usually :value. The org-element-parser was probably not written for the specific goal I have in mind, but the :value of org-element gives me almost what I want, except that I need the buffer positions. Kind regards, Somelauw

[O] Expose value-begin and value-end instead of just value in org-element API

2018-02-19 Thread Somelauw .
ve the substring that contains the value, which may require a large buffer partition to be copied. Kind regards, Somelauw

Re: [O] Add contents-begin and contents-end to src-block in org-element.el

2017-12-27 Thread Somelauw .
2017-12-25 23:42 GMT+01:00 Nicolas Goaziou : > I suggest the following. > > For contents begin: > > (save-excursion > (goto-char (org-element-property :post-affiliated element)) > (line-beginning-position 2)) > > For contents end: > > (save-excursion >

Re: [O] Add contents-begin and contents-end to src-block in org-element.el

2017-12-25 Thread Somelauw .
2017-12-25 9:49 GMT+01:00 Nicolas Goaziou <m...@nicolasgoaziou.fr> > "Somelauw ." <somel...@gmail.com> writes: > >> By the way, do you know of any other org-elements that have an inner >> body that doesn't classify as "data in Org syntax"? > >

Re: [O] Add contents-begin and contents-end to src-block in org-element.el

2017-12-24 Thread Somelauw .
retty well so far on most org elements, but org-src-blocks seem to be an exception. I may want to special-case these. By the way, do you know of any other org-elements that have an inner body that doesn't classify as "data in Org syntax"? Kind regards, Somelauw

[O] Add contents-begin and contents-end to src-block in org-element.el

2017-12-24 Thread Somelauw .
ents-begin :contents-end contents-end #+END_SRC With kind regards, Somelauw

[O] Why is there no org-agenda-todo-next-keyword function?

2017-11-07 Thread Somelauw .
In an org-agenda buffer the following functions are defined and bound: - org-agenda-todo-nextset (C-S-left) - org-agenda-todo-previousset (C-S-right) which change between sets of todo keywords. Yet the following corresponding functions are missing: - org-agenda-todo-next-keyword -

Re: [O] Why is there no org-agenda-todo-next-keyword function?

2017-11-06 Thread Somelauw .
2017-11-06 14:50 GMT+01:00 Nicolas Goaziou <m...@nicolasgoaziou.fr>: > Hello, > > "Somelauw ." <somel...@gmail.com> writes: > >> In an org-agenda buffer the following functions are defined and bound: >> - org-agenda-todo-nextset (C-S-left) >>

[O] Why is there no org-agenda-todo-next-keyword function?

2017-11-04 Thread Somelauw .
In an org-agenda buffer the following functions are defined and bound: - org-agenda-todo-nextset (C-S-left) - org-agenda-todo-previousset (C-S-right) which change between sets of todo keywords. Yet the following corresponding functions are missing: - org-agenda-todo-next-keyword -

[O] Small error in documentation in org-element

2017-06-11 Thread Somelauw .
paragraph. A paragraph is an org element, but in this case it does not start at the beginning of a line. Somelauw

Re: [O] Evil-mode keymapping being overridden by org-mode (Brandon Amos)

2017-04-07 Thread Somelauw .
t;t") 'evil-find-char-to (kbd "T") 'evil-find-char-to-backward (kbd "C-t") 'org-todo (kbd "O") 'evil-open-above (kbd "H") 'org-shiftleft (kbd "L") 'org-shiftright) If you are experimental you can also try this unofficial for