all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: disable linum-mode in other buffers, like eshell, compilation
Date: Tue, 13 Jul 2010 21:58:50 -0700 (PDT)	[thread overview]
Message-ID: <85e4664a-d195-4c46-92ff-bf5bf3cb7533@i16g2000prn.googlegroups.com> (raw)
In-Reply-To: 2bccce17-4dfb-4c50-b650-4b781198e0bb@z10g2000yqb.googlegroups.com

On Jul 13, 9:41 pm, "z.cHris" <chrisdch...@gmail.com> 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


      reply	other threads:[~2010-07-14  4:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <789e696b-3bfe-4f42-8627-a747a8f77fe0@d16g2000yqb.googlegroups.com>
2010-07-13  9:42 ` disable linum-mode in other buffers, like eshell, compilation Xah Lee
2010-07-14  4:41   ` z.cHris
2010-07-14  4:58     ` Xah Lee [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85e4664a-d195-4c46-92ff-bf5bf3cb7533@i16g2000prn.googlegroups.com \
    --to=xahlee@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.