From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Multiple major modes Date: Tue, 12 Jun 2007 19:10:48 -0400 Message-ID: References: <466E7A93.3050705@gmail.com> <466E81AA.3030202@gnu.org> <466E9822.2050508@gmail.com> <466EAB9D.9020408@gnu.org> <466EEA71.2070700@gmail.com> <200706122014.l5CKEKV1021902@projectile.siege-engine.com> <466F0A72.8090208@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181689859 4420 80.91.229.12 (12 Jun 2007 23:10:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2007 23:10:59 +0000 (UTC) Cc: jasonr@gnu.org, emacs-devel@gnu.org, sdl.web@gmail.com, "Eric M. Ludlam" To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 13 01:10:57 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HyFVo-0006me-BG for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2007 01:10:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyFVn-000404-Lb for ged-emacs-devel@m.gmane.org; Tue, 12 Jun 2007 19:10:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HyFVk-0003zE-9n for emacs-devel@gnu.org; Tue, 12 Jun 2007 19:10:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HyFVi-0003yb-Ju for emacs-devel@gnu.org; Tue, 12 Jun 2007 19:10:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyFVi-0003yY-Bw for emacs-devel@gnu.org; Tue, 12 Jun 2007 19:10:50 -0400 Original-Received: from tomts40.bellnexxia.net ([209.226.175.97] helo=tomts40-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HyFVg-0006On-T8; Tue, 12 Jun 2007 19:10:49 -0400 Original-Received: from pastel.home ([70.55.143.156]) by tomts40-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070612231048.SNKD1542.tomts40-srv.bellnexxia.net@pastel.home>; Tue, 12 Jun 2007 19:10:48 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 0D37B803E; Tue, 12 Jun 2007 19:10:47 -0400 (EDT) In-Reply-To: <466F0A72.8090208@gmail.com> (Lennart Borgman's message of "Tue\, 12 Jun 2007 23\:04\:50 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Solaris 8 (1) 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:72725 Archived-At: > Would it be possible to catch all local bindings by setting the major mode > in a temporary buffer and then save them for later use? This would avoid > having to change major modes, perhaps. This could be a default heuristic to be compatible with major modes which have not been adapted, but better provide a more robust solution as well, so that this hack can be phased out little by little. Stefan