From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: dired.c Date: Sun, 24 Apr 2011 23:08:50 -0700 Organization: UCLA Computer Science Department Message-ID: <4DB50FF2.6060906@cs.ucla.edu> References: <5B0C3CF2-85D0-4D68-BFA1-B30B19F8A36C@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1303711742 24967 80.91.229.12 (25 Apr 2011 06:09:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 25 Apr 2011 06:09:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andrea Crotti Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 25 08:08:58 2011 Return-path: Envelope-to: ged-emacs-devel@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 1QEEyg-000059-Cm for ged-emacs-devel@m.gmane.org; Mon, 25 Apr 2011 08:08:58 +0200 Original-Received: from localhost ([::1]:33580 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEEyf-0004gQ-Qt for ged-emacs-devel@m.gmane.org; Mon, 25 Apr 2011 02:08:57 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEEyc-0004g6-HJ for emacs-devel@gnu.org; Mon, 25 Apr 2011 02:08:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QEEyb-00040c-JE for emacs-devel@gnu.org; Mon, 25 Apr 2011 02:08:54 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:34260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEEyb-00040O-Db for emacs-devel@gnu.org; Mon, 25 Apr 2011 02:08:53 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id A3AC739E80E0; Sun, 24 Apr 2011 23:08:52 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4ooRgoKXxsOh; Sun, 24 Apr 2011 23:08:52 -0700 (PDT) Original-Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id F31E539E8082; Sun, 24 Apr 2011 23:08:51 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 In-Reply-To: <5B0C3CF2-85D0-4D68-BFA1-B30B19F8A36C@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 131.179.128.62 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:138702 Archived-At: On 04/23/11 01:57, Andrea Crotti wrote: > #include > So why is not included in lisp.h instead? > What's the reason to do such a thing? I expect this has to do with how Emacs was configured, long ago, and that whatever reasons applied way back then are no longer relevant. Perhaps we should move the setjmp-related part of lisp.h into a different header, anyway, for modularity purposes? Only a few modules (alloc.c and eval.c come to mind) need to know about the internals of struct handler and struct catchtag, surely. We could call this new header "throw-catch.h", say. Then, throw-catch.h could include setjmp.h and we could banish setjmp.h from most of Emacs's source code.