From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Clemente Subject: Re: serious calendar integration bug Date: Thu, 28 Apr 2011 23:34:11 +0200 Message-ID: <877hae6ox8.wl%n142857@gmail.com> References: <87y62vqzln.wl%dmaus@ictsoc.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFYqm-0001nw-BH for emacs-orgmode@gnu.org; Thu, 28 Apr 2011 17:34:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFYql-00042L-Lc for emacs-orgmode@gnu.org; Thu, 28 Apr 2011 17:34:16 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:53672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFYql-00042A-H5 for emacs-orgmode@gnu.org; Thu, 28 Apr 2011 17:34:15 -0400 Received: by wyf19 with SMTP id 19so2985609wyf.0 for ; Thu, 28 Apr 2011 14:34:14 -0700 (PDT) In-Reply-To: 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: Matt Price Cc: Org Mode El Thu, 28 Apr 2011 08:02:33 -0400 Matt Price va escriure: > > =C2=A0debug(error (wrong-type-argument window-live-p nil)) > =C2=A0 select-window(nil) > =C2=A0 org-eval-in-calendar(nil t) >=20 I often experience a similar bug but with frames instead of windows: ;Debugger entered--Lisp error: (wrong-type-argument frame-live-p #) ; frame-selected-window(#) ; menu-bar-non-minibuffer-window-p() ; kill-this-buffer() ; call-interactively(kill-this-buffer nil nil) My solution when this happpens is: (setq menu-updating-frame nil) I use this for many years and it always restores Emacs and I call close b= uffers again. Maybe it works for you. I think I might also have experienced your bug: after opening another buf= fer from Org and messing around, my .org file was completely empty and C-x = C-s would save all contents to disk. I think it was either due to vc (C-x v= =3D) or due to the calendar when scheduling a task. Try changing focus som= e times: from .org to the calendar, back, etc. This happened about 3 or 4 weeks ago, but several times. I updated and re= compiled Emacs and org and now it doesn't seem to happen. I don't have deta= iled information, sorry (I thought it was so severe that many people would = notice it). My workaround: use a version control system, and execute regularly =E2=80= =9E[VCS] diff > /tmp/backup1=E2=80=9C. And fear Emacs. -- Daniel