Hello Bastien and Matt,
Matt Lundin wrote: > Bastien <b...@gnu.org> writes: >> Sebastien Vauban writes: >>> "Sebastien Vauban" wrote: >>>> Bastien wrote: >>>>> "Sebastien Vauban" writes: >>>>> >>>>>> While a custom agenda command such as the following used to work some >>>>>> time >>>>>> ago, it does not anymore. >>>>>> >>>>>> (add-to-list 'org-agenda-custom-commands >>>>>> '("D" "Stuck + agenda" >>>>>> ((stuck "") >>>>>> (agenda "" >>>>>> ((org-agenda-span 'week))))) t) >>>>>> >>>>>> Now, it seems that the "stuck" block view inhibits any extra view to be >>>>>> displayed afterward. >>>>> >>>>> do I understand correctly that you only get the stuck view and not the >>>>> agenda view? If so, I cannot reproduce it. >>>> >>>> I'll try to provide you with a reproducible recipe, then. >>> >>> Add the following line to this ECM: >>> >>> (setq org-agenda-sticky nil) >>> >>> and you'll be bitten by that bug! >> >> Mhh... still can't reproduce the bug. Anyone else? > > Unfortunately, I cannot reproduce it either. Both the stuck agenda and > the weekly agenda display on my end. Sorry, I meant: setting `org-agenda-sticky' to a non-nil value... as nil is its default value, anyway... --8<---------------cut here---------------start------------->8--- (require 'org-agenda) (add-to-list 'org-agenda-custom-commands '("D" "Stuck + agenda" ((stuck "") (agenda "" ((org-agenda-span 'week))))) t) (setq org-agenda-sticky t) --8<---------------cut here---------------end--------------->8--- This time (I don't know why I did not see it the other times), I even see an error message: --8<---------------cut here---------------start------------->8--- save-current-buffer: No buffer named *Org Agenda(D:+LEVEL=2/-DONE)* --8<---------------cut here---------------end--------------->8--- Best regards, Seb -- Sebastien Vauban