From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steven Arntson Newsgroups: gmane.emacs.help Subject: Re: renumbering numeric comments Date: Tue, 28 Oct 2014 10:13:50 -0700 Message-ID: <874muo3ynl.fsf@stevenarntson.com> References: <87ppdc629o.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414516537 12435 80.91.229.3 (28 Oct 2014 17:15:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Oct 2014 17:15:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 28 18:15:31 2014 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 1XjAMl-0003H3-1T for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Oct 2014 18:15:31 +0100 Original-Received: from localhost ([::1]:40546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjAMk-0001wW-Fk for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Oct 2014 13:15:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjAMQ-0001mD-74 for help-gnu-emacs@gnu.org; Tue, 28 Oct 2014 13:15:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjAMK-0005OM-Sh for help-gnu-emacs@gnu.org; Tue, 28 Oct 2014 13:15:10 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:52882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjAMK-0005Nc-NO for help-gnu-emacs@gnu.org; Tue, 28 Oct 2014 13:15:04 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XjAMJ-0002vK-E3 for help-gnu-emacs@gnu.org; Tue, 28 Oct 2014 18:15:03 +0100 Original-Received: from 75-172-121-226.tukw.qwest.net ([75.172.121.226]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Oct 2014 18:15:03 +0100 Original-Received: from steven by 75-172-121-226.tukw.qwest.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Oct 2014 18:15:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 75-172-121-226.tukw.qwest.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:s55kBZoXRx3+IFg/FpFGSvPLod8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:100636 Archived-At: "Pascal J. Bourguignon" writes: > Write yourself a numbering/renumbering command. > > For an example, have a look at: > > https://gitorious.org/nasium-lse/nasium-lse/source/028c064543abf8ad4043897d8b9029beab18db15:lse-mode.el#L321 > > In your case, it is even easier, because you don't have GOTOs. I've just this week started going through emacs' on-board Lisp tutorial. This seems like a perfect project! I'll start working on it. Best! steven