From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Danjou Subject: Re: [Accepted] Re: Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)] Date: Sat, 05 Feb 2011 09:56:16 +0100 Message-ID: <871v3meu6n.fsf@keller.adm.naquadah.org> References: <20110201115210.6AD9A8783@myhost.localdomain> <87wrlfl1jx.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1013474450==" Return-path: Received: from [140.186.70.92] (port=44307 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PldwU-0007zU-2R for emacs-orgmode@gnu.org; Sat, 05 Feb 2011 03:56:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PldwS-0004of-Td for emacs-orgmode@gnu.org; Sat, 05 Feb 2011 03:56:29 -0500 Received: from prometheus.naquadah.org ([212.85.154.174]:35121 helo=mx1.naquadah.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PldwS-0004oW-Na for emacs-orgmode@gnu.org; Sat, 05 Feb 2011 03:56:28 -0500 In-Reply-To: <87wrlfl1jx.fsf@fastmail.fm> (Matt Lundin's message of "Fri, 04 Feb 2011 20:20:34 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matt Lundin Cc: Bastien Guerry , emacs-orgmode@gnu.org --===============1013474450== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sat, Feb 05 2011, Matt Lundin wrote: > This patch breaks custom commands --- i.e., if one binds org-agenda-span > in a custom command, it seems to be overridden by the span of whatever > agenda command one last called (i.e., org-agenda-current-span). > > Steps to replicate: > > 1. (setq org-agenda-span 'day) > > 2. M-x org-agenda-list > > 3. Check the value of org-agenda-current-span =3D> day > > 4. Call the following custom command: > > (setq org-agenda-custom-commands > '(("c" "Calendar" agenda "" > ((org-agenda-span 'week) > (org-agenda-start-on-weekday 0)=09 > (org-agenda-time-grid nil) > (org-agenda-entry-types '(:timestamp :sexp)) > (org-agenda-prefix-format " %-12:t ") > (org-deadline-warning-days 0) > (org-agenda-include-all-todo nil) > (org-agenda-repeating-timestamp-show-all t) > )))) > > This results in only a day view because org-agenda-current-span is still > 'day. Yes, this has already been reported, I just did not had the time to find a proper fix. =2D-=20 Julien Danjou =E2=9D=B1 http://julien.danjou.info --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJNTRCxAAoJEGEbqVCLeKXCWnkP/17fgblr4vRcxtP//BXXJTLF WA3cXWu51YLYLBrFy1yGyJiUI4uX3ubbehgVxod/WwFm1wR/RGLZpDrAHDxsZ/Mp HCdlvaxiW/gDD5WYM+/NOH5OTcA9mITE5Dg2ltzH4yUCwDUk0rnwtRqJsTipMuwE 5nFlyeXY9AEza60WZV10JD3MeDj5XgOMqdXNqBIAtYGWidbO77y0vPU5eFaGYHdN k9g83L4fAvSyxuRfa7iZIjLgjNVmkwzrQ5xk6hzzV1pi46q8ETnIkD7clreIjGW5 fy8ddP0s7Xns89CYOWyG6w2xp1nH6/lLz2o5C+bmDkPTg4e7gCXD3upv59ZxLA/a PHZeL8+HUnPRoMD54/xWSAVLPde04sxj8TI8ONY4qTqjaetXkrGI+zyj55KYgxJp gdhcRQrMAF5E0SuAco2VrMmhBjU3939tbdtpoX+42e3aWccmHPb9XXIrSK6O479s 1Nymdld1JeFVwrId3unW23ts1oAS4nornP28ACe4k+NwApKKeWvtzrm7NQCOgnXL End3lC0+Mkoe6yUBJv0d2apAKy9tg7JszBHkAQM3hIJwaoZHJYoJwZpj/bzGEtY3 OzsQ37MZPVwBWU31t7i/BaI1fNABO9iTv9YlPeQNrsKW+WSvPYm0Ake4Pzszx/e2 3lAbyzw7ggxX18xjy1q2 =jA3X -----END PGP SIGNATURE----- --=-=-=-- --===============1013474450== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1013474450==--