From mboxrd@z Thu Jan  1 00:00:00 1970
From: Bastien <bzg@altern.org>
Subject: Re: Re: [Accepted] Re: Bug: Jumping to a date in the agenda changes
 view back to 'day' [7.4 (release_7.4.80.g0e5e5)]
Date: Sun, 06 Mar 2011 18:15:32 +0100
Message-ID: <87oc5op3uz.fsf@gnu.org>
References: <sa3ei8b1sbv.fsf@cigue.easter-eggs.fr>
	<20110201115210.6AD9A8783@myhost.localdomain>
	<87wrlfl1jx.fsf@fastmail.fm> <87r5axa45h.fsf@fastmail.fm>
	<87tyftlbmk.fsf@fastmail.fm> <871v2k8dgl.fsf@gnu.org>
	<AANLkTimGBcoR0pze0yH0i20PAb13_D+JWH3j7rUZ=qem@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from [140.186.70.92] (port=47901 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PwHYd-0007AL-GW
	for emacs-orgmode@gnu.org; Sun, 06 Mar 2011 12:15:52 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bastienguerry@googlemail.com>) id 1PwHYb-0006sj-Uz
	for emacs-orgmode@gnu.org; Sun, 06 Mar 2011 12:15:51 -0500
Received: from mail-ww0-f49.google.com ([74.125.82.49]:51021)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bastienguerry@googlemail.com>) id 1PwHYb-0006sa-QC
	for emacs-orgmode@gnu.org; Sun, 06 Mar 2011 12:15:49 -0500
Received: by wwj40 with SMTP id 40so3700849wwj.30
	for <emacs-orgmode@gnu.org>; Sun, 06 Mar 2011 09:15:48 -0800 (PST)
In-Reply-To: <AANLkTimGBcoR0pze0yH0i20PAb13_D+JWH3j7rUZ=qem@mail.gmail.com>
	(Michael Brand's message of "Sun, 6 Mar 2011 17:47:45 +0100")
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=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: Michael Brand <michael.ch.brand@gmail.com>
Cc: emacs-orgmode@gnu.org

Hi Michael,

thanks for the test.

Michael Brand <michael.ch.brand@gmail.com> writes:

> I just tested your latest change and found an issue which has not been
> mentioned in my test cases described earlier in this thread, either
> because it was not an issue or I did not take notice of it:
>
> * test case: open custom agenda view
>   1) emacs -q --eval '(progn
>          (global-set-key (kbd "C-c a") (quote org-agenda))
>          (setq org-agenda-custom-commands
>              (quote (("x" "test" ((agenda)))))))'

Note that block agendas are useful in case you want multiple agenda
views.  In the custom command above, agenda should be enough.

>   2) C-c a a: point is on today like expected
>   3) C-c a x: point is not on today but is expected to be like above

Block agenda can be a mix of todo, todo-tags, agenda, etc.  So while I
agree you expect the point on today for your specific block agenda, I
think leaving the cursor at the beginning of the block agenda buffer is
generally a good thing.

Thanks,

-- 
 Bastien