emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org-agenda follow and narrow
@ 2024-08-31 17:56 Sébastien Gendre
  2024-08-31 18:02 ` Ihor Radchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Sébastien Gendre @ 2024-08-31 17:56 UTC (permalink / raw)
  To: Org mode

[-- Attachment #1: Type: text/plain, Size: 626 bytes --]

Hello,

With Org-agenda, I use a more and more the mode Follow
(org-agenda-follow-mode). It's very useful to remind me to look at the
entire task, instead of only its title.

But if a task is in a file with a lot of other tasks, when the Follow
mode show it, it's too much information for me on the screen. I'm easily
distracted.

Is there a way for Follow mode to automatically narrow to task it show
(and its children headings/tasks) ?

I found nothing on the manual and the only thing I found on the web
suggest to use an advice. Maybe there is another way ?

Best regards

-------
Gendre Sébastien

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

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

* Re: Org-agenda follow and narrow
  2024-08-31 17:56 Org-agenda follow and narrow Sébastien Gendre
@ 2024-08-31 18:02 ` Ihor Radchenko
  2024-08-31 21:53   ` Sébastien Gendre
  0 siblings, 1 reply; 5+ messages in thread
From: Ihor Radchenko @ 2024-08-31 18:02 UTC (permalink / raw)
  To: Sébastien Gendre; +Cc: Org mode

Sébastien Gendre <seb@k-7.ch> writes:

> Is there a way for Follow mode to automatically narrow to task it show
> (and its children headings/tasks) ?

See `org-agenda-follow-indirect'

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


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

* Re: Org-agenda follow and narrow
  2024-08-31 18:02 ` Ihor Radchenko
@ 2024-08-31 21:53   ` Sébastien Gendre
  2024-09-01 18:00     ` Ihor Radchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Sébastien Gendre @ 2024-08-31 21:53 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: Org mode

[-- Attachment #1: Type: text/plain, Size: 495 bytes --]

Thank you very much. :)

That exactly what I was searching for. 

Is it possible to fix the size of the new window ?
When it open a habit task, because of the logbook, the new window is soo
big that it make the agenda no more visible.


Ihor Radchenko <yantar92@posteo.net> writes:

> Sébastien Gendre <seb@k-7.ch> writes:
>
>> Is there a way for Follow mode to automatically narrow to task it show
>> (and its children headings/tasks) ?
>
> See `org-agenda-follow-indirect'

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

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

* Re: Org-agenda follow and narrow
  2024-08-31 21:53   ` Sébastien Gendre
@ 2024-09-01 18:00     ` Ihor Radchenko
  2024-09-02  3:42       ` Sébastien Gendre
  0 siblings, 1 reply; 5+ messages in thread
From: Ihor Radchenko @ 2024-09-01 18:00 UTC (permalink / raw)
  To: Sébastien Gendre; +Cc: Org mode

Sébastien Gendre <seb@k-7.ch> writes:

> That exactly what I was searching for. 
>
> Is it possible to fix the size of the new window ?
> When it open a habit task, because of the logbook, the new window is soo
> big that it make the agenda no more visible.

You can configure everything via `display-buffer-alist'.
Here is an example entry I use for *Warnings* buffer:

("\\*Warnings\\*" display-buffer-at-bottom (window-height . 0.3))

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


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

* Re: Org-agenda follow and narrow
  2024-09-01 18:00     ` Ihor Radchenko
@ 2024-09-02  3:42       ` Sébastien Gendre
  0 siblings, 0 replies; 5+ messages in thread
From: Sébastien Gendre @ 2024-09-02  3:42 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: Org mode

[-- Attachment #1: Type: text/plain, Size: 544 bytes --]


Thank you very much. :)

Ihor Radchenko <yantar92@posteo.net> writes:

> Sébastien Gendre <seb@k-7.ch> writes:
>
>> That exactly what I was searching for. 
>>
>> Is it possible to fix the size of the new window ?
>> When it open a habit task, because of the logbook, the new window is soo
>> big that it make the agenda no more visible.
>
> You can configure everything via `display-buffer-alist'.
> Here is an example entry I use for *Warnings* buffer:
>
> ("\\*Warnings\\*" display-buffer-at-bottom (window-height . 0.3))

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

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

end of thread, other threads:[~2024-09-02  3:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-31 17:56 Org-agenda follow and narrow Sébastien Gendre
2024-08-31 18:02 ` Ihor Radchenko
2024-08-31 21:53   ` Sébastien Gendre
2024-09-01 18:00     ` Ihor Radchenko
2024-09-02  3:42       ` Sébastien Gendre

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).