From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "James Aguilar" Newsgroups: gmane.emacs.help Subject: How to apply a minor mode to all buffers Date: Wed, 17 Jan 2007 09:51:34 -0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0365851358==" X-Trace: sea.gmane.org 1169056321 15329 80.91.229.12 (17 Jan 2007 17:52:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Jan 2007 17:52:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 17 18:51:59 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 1H7Ex0-0008Sg-6I for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jan 2007 18:51:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H7Ex0-0004AT-Lc for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jan 2007 12:51:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H7Ewk-00049f-Nq for help-gnu-emacs@gnu.org; Wed, 17 Jan 2007 12:51:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H7Ewj-000496-Jh for help-gnu-emacs@gnu.org; Wed, 17 Jan 2007 12:51:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H7Ewj-00048s-Ak for help-gnu-emacs@gnu.org; Wed, 17 Jan 2007 12:51:37 -0500 Original-Received: from [64.233.184.227] (helo=wr-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H7Ewi-0004Wc-Sz for help-gnu-emacs@gnu.org; Wed, 17 Jan 2007 12:51:37 -0500 Original-Received: by wr-out-0506.google.com with SMTP id i22so635042wra for ; Wed, 17 Jan 2007 09:51:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=uUSLe0RqHR15qAsVbWFeHvXqr51AGQNgfPKYA+gXj+QGexfI1/YWYlRkLCMNRn37UoSwNE+LdouetqMdgER8sWz0XWZbX9El/mO1/sCZobZ9i+fzOsUnotOjpCQvpWOjIitXbDnllZDOBB6fUUecLu82OagfaCaQ9zdzbQVdv7w= Original-Received: by 10.90.80.8 with SMTP id d8mr6455507agb.1169056294921; Wed, 17 Jan 2007 09:51:34 -0800 (PST) Original-Received: by 10.90.102.2 with HTTP; Wed, 17 Jan 2007 09:51:34 -0800 (PST) Original-To: help-gnu-emacs@gnu.org 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:40397 Archived-At: --===============0365851358== Content-Type: multipart/alternative; boundary="----=_Part_113109_32492041.1169056294571" ------=_Part_113109_32492041.1169056294571 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Emacs folks, Hello, I am a new and relatively inexperienced emacs user. I was wondering if there was an easy way to make a minor mode apply to all created buffers. I want to do this so that I can use the column marker mode in all of my buffers. So far I have tried applying the mode through mode hooks, but this strategy is unsuccessful for modes that do not provide a hook. Also, it seems like a bit of a hack, so I thought perhaps there might be a better way. Any advice for the newbie? Yours, James Aguilar -- [?] James Aguilar [@] 333 Rengstorff Ave #23, Mountain View, CA, 94043 [#] 314 494 0450 [!] And the strange thing, your life could end up changing [!] While you're dancing through! ------=_Part_113109_32492041.1169056294571 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Emacs folks,

Hello, I am a new and relatively inexperienced emacs user.  I was wondering if there was an easy way to make a minor mode apply to all created buffers.  I want to do this so that I can use the column marker mode in all of my buffers.

So far I have tried applying the mode through mode hooks, but this strategy is unsuccessful for modes that do not provide a hook.  Also, it seems like a bit of a hack, so I thought perhaps there might be a better way.

Any advice for the newbie?

Yours,
James Aguilar
--
[?] James Aguilar
[@] 333 Rengstorff Ave #23, Mountain View, CA, 94043
[#] 314 494 0450
[!] And the strange thing, your life could end up changing
[!] While you're dancing through! ------=_Part_113109_32492041.1169056294571-- --===============0365851358== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============0365851358==--