From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: How to apply a minor mode to all buffers Date: Thu, 18 Jan 2007 14:40:29 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1169160192 7271 80.91.229.12 (18 Jan 2007 22:43:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 Jan 2007 22:43:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 18 23:43:09 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H7fyE-0005QG-Iq for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Jan 2007 23:42:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H7fyF-0003lB-61 for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Jan 2007 17:42:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H7fy2-0003ky-7R for help-gnu-emacs@gnu.org; Thu, 18 Jan 2007 17:42:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H7fy0-0003k6-QK for help-gnu-emacs@gnu.org; Thu, 18 Jan 2007 17:42:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H7fy0-0003jp-Ew for help-gnu-emacs@gnu.org; Thu, 18 Jan 2007 17:42:44 -0500 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H7fy0-0001Av-2W for help-gnu-emacs@gnu.org; Thu, 18 Jan 2007 17:42:44 -0500 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l0IMgfOG003075 for ; Thu, 18 Jan 2007 16:42:41 -0600 Original-Received: from rcsmt251.oracle.com (rcsmt251.oracle.com [148.87.90.196]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l0IMSF6o022006 for ; Thu, 18 Jan 2007 15:42:40 -0700 Original-Received: from dhcp-4op11-4op12-west-130-35-178-179.us.oracle.com by rcsmt250.oracle.com with ESMTP id 2377755461169160035; Thu, 18 Jan 2007 15:40:35 -0700 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Importance: Normal X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40442 Archived-At: > So there is no simple way to just make it apply to all buffers? There's no > "all-modes-hook" or anything like that? There is `change-major-mode-hook'. > Can I make edits to the mode to make it global? I'm thinking about > margin.el, which uses the command margin-mode. I don't know the answer. That functionality is available in Emacs 22, however.