From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Killed Org files referred from the agenda? Date: Thu, 12 Apr 2012 12:56:24 -0400 Message-ID: <87ehrsq47b.fsf@norang.ca> References: <861untq8mg.fsf@iro.umontreal.ca> <14311.1334246544@alphaville> <86k41kq53b.fsf@iro.umontreal.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SINK5-0007j8-Ao for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 12:56:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SINK0-0002GS-JR for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 12:56:40 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:53446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SINK0-0002Fh-Fy for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 12:56:36 -0400 In-Reply-To: <86k41kq53b.fsf@iro.umontreal.ca> (=?utf-8?Q?=22Fran=C3=A7ois?= Pinard"'s message of "Thu, 12 Apr 2012 12:37:12 -0400") 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?utf-8?Q?Fran=C3=A7ois?= Pinard Cc: emacs-orgmode@gnu.org pinard@iro.umontreal.ca (Fran=C3=A7ois Pinard) writes: > Nick Dokos writes: > >> Fran=C3=A7ois Pinard wrote: > >>> Now that many Org files are part of my agenda list, it became more >>> likely that I inadvertently kill one of them. Then, commands like >>> "t" or "RET" in the agenda fail. I have to first revisit the Org >>> file by some other mean first, for such commands to succeed. Could >>> Org do the revisiting as needed, instead of raising an error? >>>=20 > >> Just do "g" in the agenda and retry the "t". > > Thanks for hint, Nick, I'll surely use it. > > Yet, I do not think it is appropriate for Org to raise an Emacs Lisp > error. It really looks like a bug. > > Fran=C3=A7ois Rebuilding the agenda buffer (with 'g') is potentially expensive -- I don't want a multi-second delay in my block view whenever Emacs thinks that is appropriate. I'd rather have full manual control over when things are rebuilt. I think your error is generated because your agenda is out of date so the markers on the agenda view are old and possibly pointing at the wrong stuff. Keeping this up to date automagically will make org-mode much slower and less usable (for me) So here's one vote against. Regards, Bernt