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: renumbering numeric comments Date: Mon, 27 Oct 2014 18:59:23 -0700 Message-ID: <878uk17y4k.fsf@stevenarntson.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414461621 14961 80.91.229.3 (28 Oct 2014 02:00:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Oct 2014 02:00:21 +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 03:00:15 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 1Xiw4z-0006fj-8l for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Oct 2014 03:00:13 +0100 Original-Received: from localhost ([::1]:36710 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xiw4y-0005EC-Um for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Oct 2014 22:00:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xiw4f-0005D3-VF for help-gnu-emacs@gnu.org; Mon, 27 Oct 2014 22:00:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xiw4Y-0007C6-Gj for help-gnu-emacs@gnu.org; Mon, 27 Oct 2014 21:59:53 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:46404) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xiw4Y-0007C0-B1 for help-gnu-emacs@gnu.org; Mon, 27 Oct 2014 21:59:46 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xiw4S-0006PH-L9 for help-gnu-emacs@gnu.org; Tue, 28 Oct 2014 02:59:40 +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 02:59:40 +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 02:59:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 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:zUy8Ot5+BeqPatcffvCnTW/VkKI= 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:100630 Archived-At: Greetings! I'm very curious what more knowledgeable souls would do in the following situation. I'm writing music using emacs' lilypond mode. In Lilypond, measure numbers are usually (so far in my experience) entered as comments at the end of a line in the form `%m__': \tempo 4=100 e4 d e8 f | %m1 \tempo 4=130 2. | %m2 2 ~ 8 e | %m3 ... These "%m_" numbers are very useful in debugging when the "code" is compiled. However, in the above case I later inserted two new measures: \tempo 4=100 e4 d e8 f | %m1 \tempo 4=130 -----> g8 f e d e f | -----> e d c b c d | 2. | %m2 2 ~ 8 e | %m3 ... Renumbering everything by hand is a lot of work, because the piece is many measures long. I have limited technical expertise, but would love ideas about better methods than "by hand!" Thank you! Steven Arntson