From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Re: [BUG] HTML exporting numbered literal examples Date: Fri, 17 Jul 2009 16:50:18 +0200 Message-ID: <87y6qn9xed.fsf@bzg.ath.cx> References: <87r5wg8lch.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRold-0002Yt-CG for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 10:50:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRolY-0002W5-O5 for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 10:50:32 -0400 Received: from [199.232.76.173] (port=38008 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRolY-0002Vx-DF for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 10:50:28 -0400 Received: from rv-out-0708.google.com ([209.85.198.246]:2603) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MRolX-0002MX-U4 for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 10:50:28 -0400 Received: by rv-out-0708.google.com with SMTP id f25so330741rvb.6 for ; Fri, 17 Jul 2009 07:50:24 -0700 (PDT) In-Reply-To: (Ulf Stegemann's message of "Fri, 17 Jul 2009 12:10:39 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ulf Stegemann Cc: emacs-orgmode@gnu.org Ulf Stegemann writes: > I think, those examples are easy to make up. Line numbers are great for > file contents and maybe input /or/ output. But as soon as in- and output > are mixed up I find them rather disturbing (imagine e.g. a shell > session). On the other hand removing labels and having that nice > highlighting feature with HTML exported files maybe useful in either > case. I understand... > I had a quick look at `org-export-number-lines' and the following seems > to work smoothly ... Thanks for the patch. One problem though: now the first link (from the manuals example) looks like "sc" but there is no "sc" left in the source code. This is a bit confusing, no? So if we plan to make references to lines of code, it make sense to have either the line numbering or the labels (or both). What do you think? -- Bastien