From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: tangle multiple code blocks belonging to the same file Date: Wed, 27 Feb 2013 09:59:05 +0100 Message-ID: <87621euo86.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAcr5-0003JE-Ms for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 03:59:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAcqx-0008V5-FR for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 03:59:15 -0500 Received: from mail-wi0-f177.google.com ([209.85.212.177]:61002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAcqx-0008Ut-7F for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 03:59:07 -0500 Received: by mail-wi0-f177.google.com with SMTP id hm14so331647wib.4 for ; Wed, 27 Feb 2013 00:59:06 -0800 (PST) In-Reply-To: (Not To Miss's message of "Thu, 21 Feb 2013 22:41:00 -0700") 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: Not To Miss Cc: emacs-orgmode@gnu.org, schulte eric Hi Zech, Not To Miss writes: > I know C-u C-c C-v t tangles current code block only, even if there > are other code blocks that have the same tangle file name. Isn't it > counterintuitive? It makes more sense that this command tangles all > the code blocks that belongs to the same file, in my opinion. Any > other ideas? Maybe `C-u C-u C-c C-v t' could tangle blocks from the same target file, so that we don't need to change users' habits with `C-u C-c C-v t'. But for now IIURC it is not possible to collect blocks for the same target file. I think it would be a very nice addition. Eric, would that be difficult to implement? Or maybe I miss it in the code and we just need a keybinding for this? Thanks for the suggestion, -- Bastien