From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Danjou 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: Thu, 10 Feb 2011 13:00:13 +0100 Message-ID: <87y65ow14i.fsf@keller.adm.naquadah.org> References: <20110201115210.6AD9A8783@myhost.localdomain> <87wrlfl1jx.fsf@fastmail.fm> <87sjvzaezr.fsf@keller.adm.naquadah.org> <871v3hjhac.fsf@gnu.org> <8AA3F93A-FFEC-4D8B-941C-22DBD8D05082@gmail.com> <87oc6kupqf.fsf@keller.adm.naquadah.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0949360323==" Return-path: Received: from [140.186.70.92] (port=52653 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnVCF-0002LA-Hi for emacs-orgmode@gnu.org; Thu, 10 Feb 2011 07:00:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PnVC8-0006gH-TC for emacs-orgmode@gnu.org; Thu, 10 Feb 2011 07:00:22 -0500 Received: from prometheus.naquadah.org ([212.85.154.174]:38380 helo=mx1.naquadah.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PnVC8-0006fr-La for emacs-orgmode@gnu.org; Thu, 10 Feb 2011 07:00:20 -0500 In-Reply-To: (Carsten Dominik's message of "Thu, 10 Feb 2011 12:50:02 +0100") 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: Carsten Dominik Cc: Matt Lundin , emacs-orgmode@gnu.org, Bastien --===============0949360323== 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 Thu, Feb 10 2011, Carsten Dominik wrote: > No, I believe you did kill-all-local-variables, which is a very bad > idea. Org uses local variables to remember settings when refreshing. > And apparently this call was executed in an innocent org > buffer, reverting its major mode to fundamental mode. :) That explains everything! My bad! > But maybe you can just delocalize that one variable instead, > using kill-local-variable? It's a possibility, but I think it's more logical to "reset" every local variable. I think this call should be used in the appropriate buffer, the agenda one, then. I'll try to send a patch later, but if you have time please do so. :) =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) iQIcBAEBAgAGBQJNU9NNAAoJEGEbqVCLeKXCIQMP/AlzxuskNgEIzxkbJ/gsZF6b U9IAepuQovJv3aczKSXx0+fLYDleTeUHalqz20t/tDg+giRUMV7I/2GRvf52K4DR OlXZimMGIknmJ0QRmzVpw/eow0E0rdE0YwsBIwPv9l8xm0xTkqCuuwClw5NDV/X7 4bAYw7BkPWpUwkMY9lXnS9Yz+EW9YZLMTITX6RfTyDbsguReJo/E2zUjVBB+6xuy jZPIYxZuRW7JwQzf9AnLcuyTwj7rP7D17g06lvtIfT+IJU1yBcjReVDc0bdh57HZ PThX54sZxy9c7nHbmWGJ52KytZrZy9xM+f9s1T2te+CoJPOKjUeutzpFNCm1s5vO A5zrLKVcJkqVMby0v51kmBzuu/n/H5i18OGDaB2Xk6czJ0PuiBaB31ckXRlWtYB5 x22ayE0MZFwsCsiXP93mxk1Tz0rVibxd8fsGEFH0CA0X1rbSYBU8dGgt4rGuzvoN r5/4t4Jwckvvn/xiabOCxHBotU7xks11aHKxvpj16nUX/1hYO6Fzk3aZfVpWneJS cGNMKvgCH4ksX7HZI8QJinzybNFvDkbR4sfeIoofVeUDVezRRLULX0y4Q1lUe2cg 7LIRaithuWhVSkV+PorhNH88CUMtDkIdXZJ0WdtkDAK1Pyz464N0A64ngMj+W8hT kbB9923+AUunipOTyEBB =rekU -----END PGP SIGNATURE----- --=-=-=-- --===============0949360323== 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 --===============0949360323==--