From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Felix Dietrich Newsgroups: gmane.emacs.help Subject: Re: Disable line numbers in *shell* mode Date: Thu, 12 Sep 2013 23:26:04 +0200 Organization: solani.org Message-ID: <87li31speb.fsf@sperrhaken.name> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1379021417 19017 80.91.229.3 (12 Sep 2013 21:30:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Sep 2013 21:30:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 12 23:30:19 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VKESv-00054K-GU for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Sep 2013 23:30:17 +0200 Original-Received: from localhost ([::1]:43917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKESu-0002xo-Ro for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Sep 2013 17:30:16 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-X-Trace: solani.org 1379021164 30681 eJwFwQEBACAIA7BKKh4xzj3QP4IbzKfrbIdvNFrLjveJOyKZjf0ISqlSOOz2LI65opZIvPsBLdUR8w== (12 Sep 2013 21:26:04 GMT) Original-X-Complaints-To: abuse@news.solani.org Original-NNTP-Posting-Date: Thu, 12 Sep 2013 21:26:04 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-User-ID: eJwNy8EBwCAIA8CVUAKEcRRh/xHa+5+pL6+Am8PGhswtkVRp8CqUrUSlrJvvnGgtTM+p/dJgpKc7ifSg/PEDKyUUIQ== Cancel-Lock: sha1:5z2i09k4c1VEWxRhl6GOFtnOtlw= sha1:Ond/Mng0ZqCGKUrQw+RH5tGaeTk= X-NNTP-Posting-Host: eJwFwQkRADAIAzBL46AdyBmffwlLoBTWNYKGxXr0S90XrbF9KiZzB/S+hHShOKegJlnp0A8+QRH/ Original-Xref: usenet.stanford.edu gnu.emacs.help:201095 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93365 Archived-At: Scott Kinney writes: > I have line numbers enabled and i like it > except in *shell* mode. > > it just wastes real estate. > > any ideas on how to disable line numbers in *shell* mode only? (add-hook 'shell-mode-hook (lambda () (linum-mode -1))) Should hopefully do the trick. -- Felix Dietrich