emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#4274: closed (23.1.50; Suggestion: add a option so


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#4274: closed (23.1.50; Suggestion: add a option so line number start counting at 0)
Date: Mon, 05 Mar 2012 20:36:02 +0000

Your message dated Mon, 05 Mar 2012 15:33:59 -0500
with message-id <address@hidden>
and subject line Re: bug#4274: 23.1.50; Suggestion: add a option so line number 
start counting at 0
has caused the debbugs.gnu.org bug report #4274,
regarding 23.1.50; Suggestion: add a option so line number start counting at 0
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
4274: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4274
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 23.1.50; Suggestion: add a option so line number start counting at 0 Date: Thu, 27 Aug 2009 02:33:37 -0700
request for linum-mode a option to start counting at 0.

Rationale:
in some editor, for example the one inside Second Life, the line number start at 0. So, i say “look at the vector on line 14”, but to her, it's the vector on line 13.

providing a option to change this would help. For example, in xlsl-mode, which is a mode for LSL (Linden Scripting Lang), the mode can automatically set to have linum-mode start counting at 0, so it's compatible with the Second Life world.

 Xah
∑ http://xahlee.org/

--- End Message ---
--- Begin Message --- Subject: Re: bug#4274: 23.1.50; Suggestion: add a option so line number start counting at 0 Date: Mon, 05 Mar 2012 15:33:59 -0500 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
"Xah Lee" wrote:

> request for linum-mode a option to start counting at 0.

(setq linum-format (lambda (line) (propertize
                                     (number-to-string (1- line))
                                     'face 'linum)))


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]