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

2018-02-21 Thread Somelauw .
e 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 .
etrieve 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 > (goto-char (org-elem

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 > "Somelauw ." 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"? > > comment, comment blocks, example blocks, export

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

2017-12-24 Thread Somelauw .
ost 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 - org-agenda-todo-

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 : > Hello, > > "Somelauw ." writes: > >> 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 c

[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 - org-agenda-todo-

[O] Small error in documentation in org-element

2017-06-11 Thread Somelauw .
ragraph. 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 .
'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 t