unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: 8920@debbugs.gnu.org
Subject: bug#8920: 24.0.50; Calendar raises error with #included diary file
Date: Fri, 24 Jun 2011 14:49:43 -0400	[thread overview]
Message-ID: <bywrgbm5dk.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <878vst8o5i.fsf@escher.fritz.box>

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".





  reply	other threads:[~2011-06-24 18:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-22 23:03 bug#8920: 24.0.50; Calendar raises error with #included diary file Stephen Berman
2011-06-24 18:49 ` Glenn Morris [this message]
2011-06-24 21:32   ` Stephen Berman
2011-06-25 20:18     ` Stephen Berman
2011-06-25 22:25       ` Glenn Morris
2011-06-26  0:19         ` Stephen Berman
2011-06-26  1:25           ` Glenn Morris
2011-06-26 11:09             ` Stephen Berman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bywrgbm5dk.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=8920@debbugs.gnu.org \
    --cc=stephen.berman@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).