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 QA08NdVAyl+VSAAA0tVLHw (envelope-from ) for ; Fri, 04 Dec 2020 13:59:49 +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 GC4fMdVAyl94LAAAB5/wlQ (envelope-from ) for ; Fri, 04 Dec 2020 13:59:49 +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 7750E9400D3 for ; Fri, 4 Dec 2020 13:59:49 +0000 (UTC) Received: from localhost ([::1]:46054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klBci-0003rl-4k for larch@yhetil.org; Fri, 04 Dec 2020 08:59:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klBbq-0003qn-LC for emacs-orgmode@gnu.org; Fri, 04 Dec 2020 08:58:54 -0500 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]:37116) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klBbp-0003Zw-4v for emacs-orgmode@gnu.org; Fri, 04 Dec 2020 08:58:54 -0500 Received: by mail-pl1-x636.google.com with SMTP id bj5so3138967plb.4 for ; Fri, 04 Dec 2020 05:58:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Zhn/v1PQ9fAvhV+m+MSK8+tdB1hGbT6QCqiu4Aw4nPM=; b=hF8CiBxyb4z/isIdvwxUx3ocQrAenY6LMFt0Q7HsgTjjY4XGhxLHlxE2moFFQpcBy/ rf/QpD4n2u3Mp/lxwaI+WQ75eLBsg/K3Ci4T5EUi3bZE+nssnkQzF4beYgEazs9wemp5 zzeJZvfw8/3RhaMGohz74clrtorVyXw7wWSlYnNKd/qF9SlI0DCbxYGHkOU8xIBKRZbo gtAIYYLaFaId6lsHyEGqUmkuY9HAXqxHXlwbsSgaERCwZEdSRZS+hnp+iaAxwzA21jVj e2Wdg/pHMZlqM3wEAbvhnG/W0XKj5KS8GSXHpseJspRIwzmAnLzsN36KpBAn4XiPM6m0 AiyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Zhn/v1PQ9fAvhV+m+MSK8+tdB1hGbT6QCqiu4Aw4nPM=; b=A0NPt848yXXX02i3ux/tQKU+ESb91lCyMoyfRLkibZTK+Ax9RcyMtszLWAJv89diDb 1TepU8/k2vLIHDeonC3j2XQUCzqN/9+2QKfNBpHIjvsNNjp8uFhxmbfUnn5FhEWwaHbc 7eizij2cjud6ejCIwuHfLiFx07BC9rdx0AObWMr/x5YMMY8Ql6cyfErawi2qVMj4LfYp JH4rr9uGkHLQ1MYAECgqRPdWTDX73X/OkAtizLySyAp1FockcGy25bL8agBr9gnBP+0p MPaES6bu13VjuvBkUooXa3g2lZKeBeobvXxnG8dLweeQk6ktozfNg58ns+3aep8dKTd9 S9zw== X-Gm-Message-State: AOAM533htdVRxReM4TjSkAJzPPsOqe3qbkRfFXktVjaVWh44p0iG3bHb Aq69fNkI8EcKW4aHIs1FRTn5YScaZ0XBTHvV41p1K1Ot6P7Tdg== X-Google-Smtp-Source: ABdhPJyTDusZ6Tde3Ttw0+Z+Jn1upiCAqJZy9EKACqpSY9AQbQf5Pa0sRl2XcIidfRTf8K/c4Wb4ky6CTMGLBDRtp3k= X-Received: by 2002:a17:90a:1a10:: with SMTP id 16mr4160104pjk.42.1607090326397; Fri, 04 Dec 2020 05:58:46 -0800 (PST) MIME-Version: 1.0 From: Mirko Vukovic Date: Fri, 4 Dec 2020 08:58:11 -0500 Message-ID: Subject: How to evaluate source code while in the edit buffer? To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="00000000000006e8e005b5a3e05e" Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=mirko.vukovic@gmail.com; helo=mail-pl1-x636.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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.23 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" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.99 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=hF8CiBxy; dmarc=pass (policy=none) header.from=gmail.com; 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: 7750E9400D3 X-Spam-Score: -1.99 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: teX35UsT/i5B --00000000000006e8e005b5a3e05e Content-Type: text/plain; charset="UTF-8" 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 Is it possible to execute code from the edit buffer? Thank you, Mirko --00000000000006e8e005b5a3e05e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Creating/editing UML diagrams us= ing plantuml mode is an iterative process.
My current workflow is=
  1. Enter edit buffer (C-c ')
  2. Perform edits in t= he window
  3. Exit edit mode (C-c ')
  4. Evaluate code (C-c C-c= )
  5. Monitor changes to resulting png file
I would prefe= r instead to skip step 3, and evaluate the code from within the edit mode. = I tried evaluating=C2=A0org-babel-execute-src-block from the edit buffer, but that res= ulted in an error:
helm-M-= x-execute-command: Wrong type argument: consp, nil
Is it possible to execute=C2=A0code from the edit buffer?
=

Thank you,

Mirko



--00000000000006e8e005b5a3e05e--