From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: [bug] Incompatible agenda commands Date: Tue, 11 Mar 2014 15:44:34 +0100 Message-ID: <86fvmosskt.fsf@somewhere.org> References: <86wqstknlj.fsf@somewhere.org> <87k3oi8w11.fsf@bzg.ath.cx> <86wqsij97j.fsf@somewhere.org> <86txbvduxm.fsf_-_@somewhere.org> <87d2i3cvhc.fsf@bzg.ath.cx> <87y50ro2dr.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: Bastien , Matt Lundin Cc: public-emacs-orgmode-mXXj517/zsQ-wOFGN7rlS/M9smdsby/KFg@public.gmane.org Hello Bastien and Matt, Matt Lundin wrote: > Bastien 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