From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Unknown Newsgroups: gmane.emacs.help Subject: Re: Does emacs have a line numbering feature? Date: Sun, 09 Sep 2007 18:00:20 -0400 Message-ID: References: <9OudnSM4Oupbh3nbnZ2dnUVZ_s3inZ2d@comcast.com> <87642jtx3c.fsf@baldur.tsdh.de> 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 1189377773 22358 80.91.229.12 (9 Sep 2007 22:42:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Sep 2007 22:42: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 Mon Sep 10 08:42:40 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 1IUcwb-0004aA-UF for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Sep 2007 08:40:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUVSE-0000dF-Tx for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Sep 2007 18:40:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Sun, 09 Sep 2007 17:00:22 -0500 Original-From: Michael Trausch <"mike|s/\\x40/\\./g;s/|.*|/\\x40/g;|trausch"@us> User-Agent: Thunderbird 2.0.0.6 (X11/20070803) Original-Newsgroups: gnu.emacs.help In-Reply-To: <87642jtx3c.fsf@baldur.tsdh.de> Original-Lines: 27 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 24.30.33.42 Original-X-Trace: sv3-2c5eiaRzXDXtRDTsOvT9+HMHyIemF6zorfm2/7IPKyiVW1zKji4R26R/SCD6eTjltiioJh5ZXFC34uu!TkxS5Be+MFOb2sIDeL+D+AGus8ScNLmOkA0J3hmfmv2+ekW5Y4+2494jiUfOjO17IQG1k/cNPSja!MUefBMyiT1RMx0mVwHvaLDlaxl0= Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.35 Original-Xref: shelby.stanford.edu gnu.emacs.help:151905 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:47416 Archived-At: Tassilo Horn, on 09/09/2007 04:14 PM said: >>> (setq line-number-mode t) >>> (setq column-number-mode t) >> Yeah, I already had that in, and it works. However, if I do something >> similar for linum-mode, it seems to just ignore it. > > Yes, because setting a minor mode variable to activate it is the wrong > thing to do. It might work sometimes, but generally you should either > customize the variable or use the minor mode function. So the code > above should better be > > (line-number-mode 1) > (column-number-mode 1) > > because by convention a minor mode is turned on if the argument is > positive. > Okay... I tried that, too, for linum-mode, and it doesn't work. Am I missing something obvious or am I an idiot? :-P -- Mike -- Michael B. Trausch http://www.trausch.us/ Pidgin 2.1.1 and plugins for Ubuntu Feisty! (And Thunderbird 2.0.0.6, too!) http://www.trausch.us/pidgin