From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#8920: 24.0.50; Calendar raises error with #included diary file Date: Fri, 24 Jun 2011 14:49:43 -0400 Message-ID: References: <878vst8o5i.fsf@escher.fritz.box> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1308947433 7554 80.91.229.12 (24 Jun 2011 20:30:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Jun 2011 20:30:33 +0000 (UTC) Cc: 8920@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 24 22:30:24 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QaD1E-0005js-58 for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Jun 2011 22:30:24 +0200 Original-Received: from localhost ([::1]:41233 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaD1D-0000bh-2c for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Jun 2011 16:30:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaBSA-0001Cl-P5 for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2011 14:50:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QaBS8-0003h9-9M for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2011 14:50:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaBS8-0003gl-0b for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2011 14:50:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QaBS7-0003FR-Au; Fri, 24 Jun 2011 14:50:03 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <878vst8o5i.fsf@escher.fritz.box> Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Jun 2011 18:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8920 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8920-submit@debbugs.gnu.org id=B8920.130894139212466 (code B ref 8920); Fri, 24 Jun 2011 18:50:03 +0000 Original-Received: (at 8920) by debbugs.gnu.org; 24 Jun 2011 18:49:52 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QaBRu-0003F0-Th for submit@debbugs.gnu.org; Fri, 24 Jun 2011 14:49:51 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QaBRt-0003Eo-K7 for 8920@debbugs.gnu.org; Fri, 24 Jun 2011 14:49:50 -0400 Original-Received: from localhost ([127.0.0.1]:47107) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaBRn-00023o-H2; Fri, 24 Jun 2011 14:49:43 -0400 X-Spook: Treasury doctrine Echelon Taiwan FTS2000 Merlin Mena X-Ran: $AAS)[\&5&+ay6EGpb+Xtfk,eB]ql7,[F.Tcz{8g;m/Oh0Ep*=f)LI-b<@2HVoCg`+&*77 X-Hue: cyan X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 24 Jun 2011 14:50:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:47442 Archived-At: Stephen Berman wrote: > (add-hook 'find-file-hook > (lambda () (set-window-buffer (selected-window) > (set-buffer (current-buffer))))) Help me out: what is this supposed to be for? Since find-file-noselect runs find-file-hook, at first sight it looks to me like all you are doing is deliberately breaking find-file-noselect. So my initial reaction is: "if it hurts when you do that, don't do that".