From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4IS8Af59s2aA2AAA62LTzQ:P1 (envelope-from ) for ; Wed, 07 Aug 2024 14:00:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 4IS8Af59s2aA2AAA62LTzQ (envelope-from ) for ; Wed, 07 Aug 2024 16:00:30 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=subvertising.org header.s=stigmate header.b=mLaCxRe9; dmarc=pass (policy=reject) header.from=subvertising.org; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723039229; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=x4H/ZrobNwzuwZNqjobVVQocm8kQQZOEQ4BHowljQhs=; b=AaTjj0oZxBoW0p92kPMKWyHwamTCU3/ekJOMGioBKOup4jlohuSaQU6ccivXp/S4KdcTPk VvPS/wlF4YstG7Lb219frwIfTndEhuXq1jgToORy0Q1bSt4bRfwcqxY18teyWGaawju5Zs CoEDPbZX3S6IAaLeXQKcM4iKCRxUKV972agYuIaODGeqqXpQu63JK+1/em5nrKDqr5aSPC BzL7M5xhEP+u7P3FWB6Piuu/tRvKRw9NYxRpLi3u3V7oyiX7WXUAPTPbxGkGXa7S93CLhd d4x8O8Dbq8WT6DDo2vcFw3Qz+KAAMFbTKyRD5JLWkHHTSWWYO1xrlINnwq7qaQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723039229; a=rsa-sha256; cv=none; b=IQUJUCZrnujPafDfsvM2OyUsUtPmlGfw7BrUCPyTyrVXhtBHJ7ucq7vx6KtocZNN38mSHG Z7tAeHbLlHwsZGghGgYy3nxn2tinydqUc4r2ZJ9mcxPWo94+LugyfaJCaJwl7EV2k5nrqO YOd/s0C35KKVP1DfDr50t1diREpcGjFjuhxCTcAw/cirVeVlqcfTtZ7CivA7LSnFdJCmeV dZ3wMIF3LB7dcozIAA4jQIJ9xwwPYBm+Dr4XvDOZofRtlKK9j/6OolAYhU60tUk6bI6wn9 HBcgogGSBmqZj2avhGAMGbQ9Y76wf2LYrWJUmj1RRtznxA/cxVwcl1L36eXHzQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=subvertising.org header.s=stigmate header.b=mLaCxRe9; dmarc=pass (policy=reject) header.from=subvertising.org; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C3CDEE93D for ; Wed, 07 Aug 2024 16:00:29 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sbhCQ-0002Pc-Dx; Wed, 07 Aug 2024 09:59:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sbhCO-0002PD-Hh for emacs-orgmode@gnu.org; Wed, 07 Aug 2024 09:59:32 -0400 Received: from devianza.investici.org ([198.167.222.108]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sbhCL-0007Ra-Nh for emacs-orgmode@gnu.org; Wed, 07 Aug 2024 09:59:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=subvertising.org; s=stigmate; t=1723039156; bh=x4H/ZrobNwzuwZNqjobVVQocm8kQQZOEQ4BHowljQhs=; h=Date:From:To:Subject:From; b=mLaCxRe9DoxSnmcriERmBe5QAo1u/WuEi9WGZIFtxmmVXsRUVzjDf6c4orxj2ESob CjDM8HUD60rGgn/RvHHR37bIQ/NEjP0OjF9zuvcOE878V1oUEqDKFLeQUuxHt3Ohsl hvhAb/zuTT72zJhWbX3b5pVGg+Av9uiJMpesEDAM= Received: from 2.mail-backend.investici.org (unknown [10.0.0.12]) by devianza.investici.org (Postfix) with ESMTP id 4WfBcN67JMz6v2h for ; Wed, 7 Aug 2024 13:59:16 +0000 (UTC) Received: from 2.webmail.investici.org (localhost [127.0.0.1]) (Authenticated sender: divya@subvertising.org) by 2.mail-backend.investici.org (Postfix) with ESMTPA id 4WfBcN4r8hz2xGF for ; Wed, 7 Aug 2024 13:59:16 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 07 Aug 2024 13:59:16 +0000 From: divya@subvertising.org To: emacs-orgmode@gnu.org Subject: [FEATURE] On line-numbers inside Org Babel Source Blocks. User-Agent: Roundcube Webmail Message-ID: X-Sender: divya@subvertising.org Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.167.222.108; envelope-from=divya@subvertising.org; helo=devianza.investici.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.74 X-Spam-Score: -4.74 X-Migadu-Queue-Id: C3CDEE93D X-Migadu-Scanner: mx11.migadu.com X-TUID: Wcu4Z1jH5ZcO Hello, Org Mode! I've been using Org Mode for literate programming purposes, and would like to have line-numbers within `src` blocks. I am able to export the Org buffer and get the line-numbers, but I am unable to do the same with regards to just in Org buffers. I am aware of `org-edit-special`, but I would rather appreciate if I can just look at a piece of code and know how long it is. I believe a header argument can be useful in toggling this. Since the source blocks can already implement syntax highlighting, font and other means of interacting with displaying Babel source blocks, theoretically this shouldn't be that difficult to implement? I'd be glad to help implementing this feature, if I can be slightly guided on where to refer to look for in the codebase. Regards, Divya Ranjan