From mboxrd@z Thu Jan 1 00:00:00 1970 From: pinard@iro.umontreal.ca (=?utf-8?Q?Fran=C3=A7ois?= Pinard) Subject: Numbering source lines not from 1 Date: Mon, 09 Jan 2012 12:55:02 -0500 Message-ID: <878vlgkbgp.fsf@iro.umontreal.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkJR7-0002eR-9w for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 12:55:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkJR1-0004tc-Rd for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 12:55:09 -0500 Received: from 206-248-137-202.dsl.teksavvy.com ([206.248.137.202]:59753 helo=mercure.epsilon-ti.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkJR1-0004sj-O9 for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 12:55:03 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, Org people. If I use: #+BEGIN_SRC bash +n line numbering resumes from the last listed number. Is there a way to "resume" with a user specified number? My intent would be to have the full numbered listing in an appendix, but then, excerpt a few group of lines here and there in the running text, using the same numbering for the quoted lines as in the appendix. I could of course write sentences like "The following code may be read in context starting at line NN in the appendix", but it might be just better to repeat the numbering right with the line, silently, without such introductory sentences. Fran=C3=A7ois