Re: get the body of a heading up to the next subheading

2020-05-11 Thread Ihor Radchenko
You may use something similar to org-quick-peek--get-entry-text from org-quick-peek package (https://github.com/alphapapa/org-quick-peek): (cl-defun org-quick-peek--get-entry-text (marker &key keep-drawers keep-planning) "Return Org entry text from node at MARKER. If KEEP-DRAWERS is non-nil, dr

[PATCH] colview: Display active time stamps as inactive

2020-05-11 Thread Kyle Meyer
Kyle Meyer writes: > Nicolas Goaziou writes: > >> IIRC, date computations in the spreadsheet return inactive timestamps. >> So, if we don't want to conform to the documentation, we could insert an >> inactive time-stamp instead, to be on the safe side. >> >> WDYT? > > Sounds good to me. I should

Re: get the body of a heading up to the next subheading

2020-05-11 Thread briangpowell .
Emacs was created to do such things--in fact the name E-macs is a terse form of Editor-Macros {originally a derivative of TECO} {There is a huge list of what Emacs should stand for--my fave is: Emacs Makes All Computing Simple} Now, what I'm suggesting is you make a macro, and store and reuse it-

get the body of a heading up to the next subheading

2020-05-11 Thread John Kitchin
Hi everyone, I am trying to get the body of a heading up to the next subheading. For example with this org file, * quiz one This is the description. Use emacs for this. ** question 1 what is 40 + 2 If the point is in the first heading, I want to run a function that would return the string "Thi

Re: "\_" sequences in indented lines of column view dynamic blocks

2020-05-11 Thread Nicolas Goaziou
Hello, "Dauer, Michael" writes: > It would be nice to have to have an option to just use other indentation > characters like "." for ASCII or special blanks for other encoding. Do you mean in the Org document? That would break export. > And what about the second question? I'm looking for somet

Re: Display in minibuffer link under point

2020-05-11 Thread John Kitchin
org-ref doesn't do anything fancy here, it just runs an idle timer: https://github.com/jkitchin/org-ref/blob/master/org-ref-core.el#L597 that runs a function defined at https://github.com/jkitchin/org-ref/blob/master/org-ref-core.el#L3633 that function is kind of long because it computes the mes

Re: Debugging at least 2 regressions in org-mode master breaking ox-hugo

2020-05-11 Thread Carsten Dominik
Strange. I did pull and compile, to no avail. I will check. Carsten On Mon, May 11, 2020 at 4:27 PM Kyle Meyer wrote: > Carsten Dominik writes: > > > I just tried to archive something and hit again the issue that > > org-get-outline-paths undefined. Is there a specific holdup why this > > fu

Re: Debugging at least 2 regressions in org-mode master breaking ox-hugo

2020-05-11 Thread Kyle Meyer
Carsten Dominik writes: > I just tried to archive something and hit again the issue that > org-get-outline-paths undefined. Is there a specific holdup why this > function has not been moved back into org.el? org-get-outline-path was moved back to org.el in 3c3194113 (2020-04-26). % git rev-pa

Re: Debugging at least 2 regressions in org-mode master breaking ox-hugo

2020-05-11 Thread Carsten Dominik
Hi everyone, I just tried to archive something and hit again the issue that org-get-outline-paths undefined. Is there a specific holdup why this function has not been moved back into org.el? Thanks Carsten On Thu, Feb 27, 2020 at 3:02 PM Kaushal Modi wrote: > Hello, > > I recently updated t

Re: Possible bug with columnview and active dates

2020-05-11 Thread Kyle Meyer
Nicolas Goaziou writes: > IIRC, date computations in the spreadsheet return inactive timestamps. > So, if we don't want to conform to the documentation, we could insert an > inactive time-stamp instead, to be on the safe side. > > WDYT? Sounds good to me. I should be able to find time in the nex

Re: Possible bug with columnview and active dates

2020-05-11 Thread Nicolas Goaziou
Hello, Kyle Meyer writes: >> restoring the original behavior of stripping the brackets given how long >> the current behavior has been around. Instead I think it'd be better to >> update the documentation and tweak the output on colview's end. > > For the "tweaking the output part", it looks th