From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YMt5BVJIyl+vFQAA0tVLHw (envelope-from ) for ; Fri, 04 Dec 2020 14:31:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YFdRAVJIyl8iPgAAB5/wlQ (envelope-from ) for ; Fri, 04 Dec 2020 14:31:46 +0000 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 743379402A9 for ; Fri, 4 Dec 2020 14:31:45 +0000 (UTC) Received: from localhost ([::1]:55030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klC7a-0004Fx-Sf for larch@yhetil.org; Fri, 04 Dec 2020 09:31:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klC5l-0004Du-5t for emacs-orgmode@gnu.org; Fri, 04 Dec 2020 09:29:49 -0500 Received: from static.rcdrun.com ([95.85.24.50]:57919) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klC5h-0005T7-6r for emacs-orgmode@gnu.org; Fri, 04 Dec 2020 09:29:48 -0500 Received: from localhost ([::ffff:197.157.0.57]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002C000B.000000005FCA47D5.0000578C; Fri, 04 Dec 2020 14:29:41 +0000 Date: Fri, 4 Dec 2020 17:26:59 +0300 From: Jean Louis To: Mirko Vukovic Subject: Re: How to evaluate source code while in the edit buffer? Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Received-SPF: pass client-ip=95.85.24.50; envelope-from=bugs@gnu.support; helo=static.rcdrun.com X-Spam_score_int: 14 X-Spam_score: 1.4 X-Spam_bar: + X-Spam_report: (1.4 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_SBL_CSS=3.335, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.79 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 743379402A9 X-Spam-Score: -0.79 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: XaNNf1S5+Njs * Mirko Vukovic [2020-12-04 16:59]: > Hello, > > Creating/editing UML diagrams using plantuml mode is an iterative process. > My current workflow is > > 1. Enter edit buffer (C-c ') > 2. Perform edits in the window > 3. Exit edit mode (C-c ') > 4. Evaluate code (C-c C-c) > 5. Monitor changes to resulting png file > > I would prefer instead to skip step 3, and evaluate the code from within > the edit mode. I tried evaluating org-babel-execute-src-block from the edit > buffer, but that resulted in an error: > helm-M-x-execute-command: Wrong type argument: consp, nil Pozdrav Mirko, If you are editing source block in Org file, why not just do C-c C-c right there in the block to evaluate it? Jean