From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: disable linum-mode in other buffers, like eshell, compilation Date: Tue, 13 Jul 2010 21:58:50 -0700 (PDT) Organization: http://groups.google.com Message-ID: <85e4664a-d195-4c46-92ff-bf5bf3cb7533@i16g2000prn.googlegroups.com> References: <789e696b-3bfe-4f42-8627-a747a8f77fe0@d16g2000yqb.googlegroups.com> <2bccce17-4dfb-4c50-b650-4b781198e0bb@z10g2000yqb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291845053 14570 80.91.229.12 (8 Dec 2010 21:50:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 21:50:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 08 22:50:49 2010 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.69) (envelope-from ) id 1PQRuS-0005Op-K9 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 22:50:48 +0100 Original-Received: from localhost ([127.0.0.1]:33798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQRuS-00037z-2D for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 16:50:48 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!i16g2000prn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 20 Original-NNTP-Posting-Host: 67.180.85.8 Original-X-Trace: posting.google.com 1279083531 17024 127.0.0.1 (14 Jul 2010 04:58:51 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 14 Jul 2010 04:58:51 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i16g2000prn.googlegroups.com; posting-host=67.180.85.8; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4, gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:179738 comp.emacs:100193 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:76079 Archived-At: On Jul 13, 9:41=A0pm, "z.cHris" wrote: > i tried, but it can't work. > > i also have tried to use (linum-mode 1) in certain mode like c, > without using the (global-linum-mode t), but i never see linum in c > files. > > i think maybe there are some thing wrong in (global-linum-mode t), > because i firstly set it, and later in other mode, disable linum-mode > would be failed. you are right. i just tried open a new buffer type something to get some lines and set it to c-mode and turn on linum-mode, and no line num shows. However, using global-linum-mode shows the lin nums. must be a bug. Reporting the bug would probably be helpful. Xah