From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4FY/G5OJyl/FeQAA0tVLHw (envelope-from ) for ; Fri, 04 Dec 2020 19:10:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ePrGFpOJyl9NUgAAbx9fmQ (envelope-from ) for ; Fri, 04 Dec 2020 19:10:11 +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 CA1BC9400D3 for ; Fri, 4 Dec 2020 19:10:10 +0000 (UTC) Received: from localhost ([::1]:60882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klGT0-00018y-Tu for larch@yhetil.org; Fri, 04 Dec 2020 14:10:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klEbm-0007IA-1k for emacs-orgmode@gnu.org; Fri, 04 Dec 2020 12:11:13 -0500 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:36349) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klEb1-0006Yc-BD for emacs-orgmode@gnu.org; Fri, 04 Dec 2020 12:10:37 -0500 Received: by mail-pf1-x42b.google.com with SMTP id b26so4158723pfi.3 for ; Fri, 04 Dec 2020 09:09:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:organization:references:mail-followup-to:date :in-reply-to:message-id:user-agent:mime-version; bh=LpvHEgHKiIBGurwwwW8LNPtNRZ6YW7MZB91LjessGd8=; b=H7Bd5TDKxuLtIxELpEQCWDu+Fn0i/22uD78/mUaqAC0crPgcJNrKqzYXYzo8IG9Uzg 0/+AQuJcF9ZhyDZT4EC2IbWVyR03SmlKW3nnd0dQugjmOAE2ynO0mCofiniP0gc8Piwp AeIiENo4VVOy455wv7qP43KMNBbIjcggui1ewW+0JwvcT92UtNhN4Nm/eLwALY9QEmqq NjS9LMNHIOZ1iUsOMcWtWag3b1pI6RjzdK3xqKrhkLnsXMQ+CdJJfKttAcsIp57rmxGQ KcN7xQ7AHiQ9NPURpAGc4uC9tzVh+kv0uv68UaDDxhtVvsWAyS91IuITXLikZshlux8K VopQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-followup-to:date:in-reply-to:message-id:user-agent :mime-version; bh=LpvHEgHKiIBGurwwwW8LNPtNRZ6YW7MZB91LjessGd8=; b=mEWDxQJ+55yv//XNSH8Bfvwhuw280/rv8KYBhYbPt3JM6UX0NCv3BWrt4STVYCb2dD 58FXWEQvpmvWV4Zm5rNhQcSO+MXSWnvpnNDFFVahTIiSHAjOUGiv0qFAUzLxsuMNmrby 0dlDJ3mT6P1S253aeQsu2B+qI4FrckyBdhWgNsInEktZHZff3ygJdH3fwlB/101vL6kP C1hOUMJjg1GBt/6vhZ0IxPLhJ8kbY8izRERSNe5U39q3Ro3XpQ81EuC11UbZbvEUpWu7 j/yhOZ+LzANA3JzVSto+9ZokS0zk8hl0fW9FivTFwU4cDe1bMk6Sas0JsY1GBpxktwOR 6bBg== X-Gm-Message-State: AOAM532htPl9Nm8hj4/c5VlUnS9H5nLPWHC0Eg3Ni/yrk9L0wp+0GaJj SlIePBkNiar3Q6ChTdw9L2bIMhyUI98ZzQ== X-Google-Smtp-Source: ABdhPJwUDTTKjRZRagEdZV2HBnZM3vF6ZcfAstb9Y1/fa2lkmzFEsj7tUZI6q6/D+YghoOf64bq2lQ== X-Received: by 2002:a63:cd12:: with SMTP id i18mr8174851pgg.173.1607101766997; Fri, 04 Dec 2020 09:09:26 -0800 (PST) Received: from mb2.local ([2405:201:5c06:70bc:34af:2222:ac1b:ebe8]) by smtp.gmail.com with ESMTPSA id bf3sm2753433pjb.45.2020.12.04.09.09.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2020 09:09:26 -0800 (PST) From: Pankaj Jangid To: Jean Louis Subject: Re: How to evaluate source code while in the edit buffer? Organization: Code Is Great Foundation References: Mail-Followup-To: Jean Louis , Mirko Vukovic , emacs-orgmode@gnu.org Date: Fri, 04 Dec 2020 22:39:23 +0530 In-Reply-To: (Jean Louis's message of "Fri, 4 Dec 2020 17:26:59 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=2607:f8b0:4864:20::42b; envelope-from=pankaj@codeisgreat.com; helo=mail-pf1-x42b.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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, Mirko Vukovic Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.29 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=codeisgreat-org.20150623.gappssmtp.com header.s=20150623 header.b=H7Bd5TDK; 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: CA1BC9400D3 X-Spam-Score: -0.29 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: buaW4o8PvhrE Jean Louis writes: > * Mirko Vukovic [2020-12-04 16:59]: >> 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? Because major-mode features for the language are not available in org-mode.