From unknown Sun Jun 22 00:31:27 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4274: 23.1.50; Suggestion: add a option so line number start counting at 0 Reply-To: "Xah Lee" , 4274@debbugs.gnu.org Resent-From: "Xah Lee" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 27 Aug 2009 22:35:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 4274 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125141221721156 (code B ref -1); Thu, 27 Aug 2009 22:35:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 27 Aug 2009 22:30:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.7 required=4.0 tests=AWL,STOX_REPLY_TYPE autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7RMUFq3021072 for ; Thu, 27 Aug 2009 15:30:17 -0700 Received: from mx10.gnu.org ([199.232.76.166]:49887) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MgnTz-0000tq-3Z for emacs-pretest-bug@gnu.org; Thu, 27 Aug 2009 18:30:15 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MgnTu-0001wH-6d for emacs-pretest-bug@gnu.org; Thu, 27 Aug 2009 18:30:14 -0400 Received: from mout.perfora.net ([74.208.4.194]:59869) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MgbMe-00061K-A7 for emacs-pretest-bug@gnu.org; Thu, 27 Aug 2009 05:33:52 -0400 Received: from xahPC (c-76-102-12-87.hsd1.ca.comcast.net [76.102.12.87]) by mrelay.perfora.net (node=mrus1) with ESMTP (Nemesis) id 0MKpCa-1MgbMa0VWV-000DES; Thu, 27 Aug 2009 05:33:49 -0400 Message-ID: From: "Xah Lee" To: Date: Thu, 27 Aug 2009 02:33:37 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6002.18005 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005 X-Provags-ID: V01U2FsdGVkX1+HH59g93ONF2U/w/Do7Xvkw7ph94KRd3AqQGb Zl45twWuWNgQzWI/gMtNPBjfW2eUlnYcZBOxnB/wZaYhn7YZjj ru254fJkBHVgP7Aaz4qCg== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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/ ☄ From cyd@stupidchicken.com Fri Sep 11 18:44:26 2009 Received: (at control) by emacsbugs.donarmstrong.com; 12 Sep 2009 01:44:26 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.4 required=4.0 tests=AWL,VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po32.its.yale.edu (pantheon-po32.its.yale.edu [130.132.50.88]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8C1iPsd012404 for ; Fri, 11 Sep 2009 18:44:26 -0700 Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po32.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n8C1iJlN030759 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 11 Sep 2009 21:44:19 -0400 Received: by furry (Postfix, from userid 1000) id 16A7AC070; Fri, 11 Sep 2009 21:44:20 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: severity 4274 wishlist Date: Fri, 11 Sep 2009 21:44:20 -0400 Message-ID: <87pr9xey2z.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) severity 4274 wishlist thanks From unknown Sun Jun 22 00:31:27 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Xah Lee" Subject: bug#4274: closed (Re: bug#4274: 23.1.50; Suggestion: add a option so line number start counting at 0) Message-ID: References: X-Gnu-PR-Message: they-closed 4274 X-Gnu-PR-Package: emacs Reply-To: 4274@debbugs.gnu.org Date: Mon, 05 Mar 2012 20:36:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1330979762-16505-1" This is a multi-part message in MIME format... ------------=_1330979762-16505-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #4274: 23.1.50; Suggestion: add a option so line number start counting at 0 which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 4274@debbugs.gnu.org. --=20 4274: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D4274 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1330979762-16505-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4274-done) by debbugs.gnu.org; 5 Mar 2012 20:35:02 +0000 Received: from localhost ([127.0.0.1]:34650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4ecY-0004GK-8d for submit@debbugs.gnu.org; Mon, 05 Mar 2012 15:35:02 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:43978) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4ecL-0004Fy-SB for 4274-done@debbugs.gnu.org; Mon, 05 Mar 2012 15:34:50 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S4ebX-0007np-JQ; Mon, 05 Mar 2012 15:33:59 -0500 From: Glenn Morris To: 4274-done@debbugs.gnu.org Subject: Re: bug#4274: 23.1.50; Suggestion: add a option so line number start counting at 0 References: X-Spook: Bletchley Park MIT-LL beanpole Treasury 22nd SAS South X-Ran: 4l-~'p?n+s4^^-FcLs>:1CfADG\huM,ub2]EW>z1rw]jVoJ;Q.y| (Xah Lee's message of "Thu, 27 Aug 2009 02:33:37 -0700") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 4274-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) "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))) ------------=_1330979762-16505-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 27 Aug 2009 22:30:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.7 required=4.0 tests=AWL,STOX_REPLY_TYPE autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7RMUFq3021072 for ; Thu, 27 Aug 2009 15:30:17 -0700 Received: from mx10.gnu.org ([199.232.76.166]:49887) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MgnTz-0000tq-3Z for emacs-pretest-bug@gnu.org; Thu, 27 Aug 2009 18:30:15 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MgnTu-0001wH-6d for emacs-pretest-bug@gnu.org; Thu, 27 Aug 2009 18:30:14 -0400 Received: from mout.perfora.net ([74.208.4.194]:59869) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MgbMe-00061K-A7 for emacs-pretest-bug@gnu.org; Thu, 27 Aug 2009 05:33:52 -0400 Received: from xahPC (c-76-102-12-87.hsd1.ca.comcast.net [76.102.12.87]) by mrelay.perfora.net (node=mrus1) with ESMTP (Nemesis) id 0MKpCa-1MgbMa0VWV-000DES; Thu, 27 Aug 2009 05:33:49 -0400 Message-ID: From: "Xah Lee" To: Subject: 23.1.50; Suggestion: add a option so line number start counting at 0 Date: Thu, 27 Aug 2009 02:33:37 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6002.18005 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005 X-Provags-ID: V01U2FsdGVkX1+HH59g93ONF2U/w/Do7Xvkw7ph94KRd3AqQGb Zl45twWuWNgQzWI/gMtNPBjfW2eUlnYcZBOxnB/wZaYhn7YZjj ru254fJkBHVgP7Aaz4qCg== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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/ ☄ ------------=_1330979762-16505-1--