From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: flyspell bug Date: Mon, 03 Oct 2005 11:34:45 -0400 Message-ID: References: <20051002220548.22F6.SLAWOMIR.NOWACZYK.847@student.lu.se> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1128354042 32699 80.91.229.2 (3 Oct 2005 15:40:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Oct 2005 15:40:42 +0000 (UTC) Cc: slawomir.nowaczyk.847@student.lu.se, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 03 17:40:39 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EMSOm-0006F2-SY for ged-emacs-devel@m.gmane.org; Mon, 03 Oct 2005 17:38:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EMSOm-0006PG-FD for ged-emacs-devel@m.gmane.org; Mon, 03 Oct 2005 11:38:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EMSLI-0005KX-38 for emacs-devel@gnu.org; Mon, 03 Oct 2005 11:35:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EMSLE-0005I1-HD for emacs-devel@gnu.org; Mon, 03 Oct 2005 11:35:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EMSLE-0005GS-69 for emacs-devel@gnu.org; Mon, 03 Oct 2005 11:35:00 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EMSL0-0002iv-9j for emacs-devel@gnu.org; Mon, 03 Oct 2005 11:34:46 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EMSKz-00013B-Bx; Mon, 03 Oct 2005 11:34:45 -0400 Original-To: storm@cua.dk (Kim F. Storm) In-reply-to: (storm@cua.dk) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:43495 Archived-At: I often wondered why there are no hooks associated with switching buffers, windows, and frames. These activities are too low level. Certainly in the past it was not safe to run Lisp code for switching buffers, and maybe not for windows either. Nowadays, since Lisp code can run during redisplay, maybe it would be safe. But I do not like the idea. Do you really want set-buffer to run Lisp code you don't know about?