emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* agenda configurable entry-text-mode
@ 2017-07-25  9:30 Alexander Baier
  2017-07-25 18:08 ` Adam Porter
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Baier @ 2017-07-25  9:30 UTC (permalink / raw)
  To: emacs-orgmode

Hello!

Is it possible to alter the text shown for each headline after toggling 
entry-text-mode in the agenda?  At the moment, a certain number of lines 
of the headline's body is displayed.  Instead of the lines I would like 
to display the last note that has been recorded in a LOGBOOK drawer.

My scenario: I have an agenda that lists stuck headlines (no child 
headline is TODO and at least one is BLOCKED).  I record a note when 
transitioning to the BLOCKED state which gives a reason for the 
blocking.  I want to collect the reasons of all the blocked child 
headlines and display them under the parent headline in the agenda view 
(when in entry-text-mode).

Is this possible to do with what org-mode has to offer at the moment?

Kind regards,
-- 
Alexander Baier

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: agenda configurable entry-text-mode
  2017-07-25  9:30 agenda configurable entry-text-mode Alexander Baier
@ 2017-07-25 18:08 ` Adam Porter
  2017-07-28 12:26   ` Alexander Baier
  0 siblings, 1 reply; 6+ messages in thread
From: Adam Porter @ 2017-07-25 18:08 UTC (permalink / raw)
  To: emacs-orgmode

Hi Alexander,

That's a very nice idea.  I think it wouldn't be too hard to implement
something like that using org-quick-peek.  Let me know what you think.
I might give it a try myself.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: agenda configurable entry-text-mode
  2017-07-25 18:08 ` Adam Porter
@ 2017-07-28 12:26   ` Alexander Baier
  2017-07-29  1:20     ` Adam Porter
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Baier @ 2017-07-28 12:26 UTC (permalink / raw)
  To: emacs-orgmode

Hi Adam,

I hadn't heard of org-quick-peek.  I found 
https://github.com/alphapapa/org-quick-peek but could not find the 
package on MELPA, do you know why this is the case?

Also the screenshot in the README is not present (any more), thus I am 
currently having a hard time imagining what this package does / how it 
looks.

On 25.07.2017 20:08, Adam Porter wrote:
> I think it wouldn't be too hard to implement
> something like that using org-quick-peek.  Let me know what you think.
> I might give it a try myself.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: agenda configurable entry-text-mode
  2017-07-28 12:26   ` Alexander Baier
@ 2017-07-29  1:20     ` Adam Porter
  2017-08-09 19:39       ` Alexander Baier
  0 siblings, 1 reply; 6+ messages in thread
From: Adam Porter @ 2017-07-29  1:20 UTC (permalink / raw)
  To: emacs-orgmode

Alexander Baier <alexander.baier@mailbox.org> writes:

> Hi Adam,
>
> I hadn't heard of org-quick-peek.  I found
> https://github.com/alphapapa/org-quick-peek but could not find the
> package on MELPA, do you know why this is the case?

Hi Alexander,

Actually I haven't submitted it to MELPA yet.  I've been hoping to get
some more feedback and testing before doing that.  I guess I should have
adjusted the readme accordingly.  I would appreciate if you could give
it a quick test and let me know any feedback you may have.  :)

> Also the screenshot in the README is not present (any more), thus I am
> currently having a hard time imagining what this package does / how it
> looks.

Alas, I neglected to upload a screenshot yet, either.  Basically, it
does what the agenda's "entry text mode" does, but it uses overlays from
the quick-peek package, and they look a bit nicer.

Thanks,
Adam

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: agenda configurable entry-text-mode
  2017-07-29  1:20     ` Adam Porter
@ 2017-08-09 19:39       ` Alexander Baier
  2017-08-09 22:46         ` Adam Porter
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Baier @ 2017-08-09 19:39 UTC (permalink / raw)
  To: emacs-orgmode

On 07/29/2017 03:20 AM, Adam Porter wrote:
> Alexander Baier <alexander.baier@mailbox.org> writes:
> 
>> Hi Adam,
>>
>> I hadn't heard of org-quick-peek.  I found
>> https://github.com/alphapapa/org-quick-peek but could not find the
>> package on MELPA, do you know why this is the case?
> 
> Hi Alexander,
> 
> Actually I haven't submitted it to MELPA yet.  I've been hoping to get
> some more feedback and testing before doing that.  I guess I should have
> adjusted the readme accordingly.  I would appreciate if you could give
> it a quick test and let me know any feedback you may have.  :)

This looks really nice! A few things I discovered:

1. If the peek contains a link and I click on it with the left mouse 
button, the message "No link found" is displayed.

2. If a headline in the agenda contains a link to another headline and 
point is somewhere on that headline and I call org-quick-peek-link I get 
"Lisp error: (wrong-type-argument stringp nil)".

3. If point is on a link to another headline in a normal org buffer and 
I call org-quick-peek-link I get "Lisp error: (void-variable path)". 
This is fixed applying this patch:

@@ -80,7 +80,7 @@
              (org-show-following-heading nil)
              (org-show-entry-below nil)
              (org-show-siblings nil)
-            link type marker)
+            link type marker path)

          ;; From org.el
          (when (and (looking-at org-complex-heading-regexp))


Regards,
-- 
Alex

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: agenda configurable entry-text-mode
  2017-08-09 19:39       ` Alexander Baier
@ 2017-08-09 22:46         ` Adam Porter
  0 siblings, 0 replies; 6+ messages in thread
From: Adam Porter @ 2017-08-09 22:46 UTC (permalink / raw)
  To: emacs-orgmode

Alexander Baier <alexander.baier@mailbox.org> writes:

> This looks really nice! A few things I discovered:

Thanks, I will fix these soon!

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-09 22:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-25  9:30 agenda configurable entry-text-mode Alexander Baier
2017-07-25 18:08 ` Adam Porter
2017-07-28 12:26   ` Alexander Baier
2017-07-29  1:20     ` Adam Porter
2017-08-09 19:39       ` Alexander Baier
2017-08-09 22:46         ` Adam Porter

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).