andrés ramírez <rrandr...@hotmail.com> writes:

> I see. Thanks for the clarification. Then I think I saw it in the past. But 
> when You do it. the agenda
> filename appears on the agenda buffer (the agenda filename is large on my 
> case) . So I prefer
> give to the entry a short category.
>
> This is my use case:
> --8<---------------cut here---------------start------------->8---
> ** PE                                                                 :DAVID:
>     :PROPERTIES:
>     :CATEGORY: da.santi
>     :END:
> %%(diary-block 10 1 2022 10 1 2022) 9:00-11:00 retiro.espiritual 
> {collaborator.family}
> --8<---------------cut here---------------end--------------->8---
>
> so. the short label 'da.santi' is what appears on my agenda.

What about

** PE :DAVID:
:PROPERTIES:
:CATEGORY: da.santi
:END:
<2022-10-01 Sat>

The long file name you are seeing in agenda is dictated by category in
org-agenda-prefix-format:

       %c the category of the item, "Diary" for entries from the diary, or as
       given by the CATEGORY keyword or derived from the file name

-- 
Ihor Radchenko,
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

Reply via email to