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 GbnoIcblWGC9IAAA0tVLHw (envelope-from ) for ; Mon, 22 Mar 2021 18:45:26 +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 cNEtHcblWGD4AQAAbx9fmQ (envelope-from ) for ; Mon, 22 Mar 2021 18:45:26 +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 E96471366D for ; Mon, 22 Mar 2021 19:45:25 +0100 (CET) Received: from localhost ([::1]:57522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOPYK-0003Rw-7I for larch@yhetil.org; Mon, 22 Mar 2021 14:45:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOPXE-0003Qf-Fq for emacs-orgmode@gnu.org; Mon, 22 Mar 2021 14:44:17 -0400 Received: from mail-io1-xd29.google.com ([2607:f8b0:4864:20::d29]:37874) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOPXA-0006a9-Su for emacs-orgmode@gnu.org; Mon, 22 Mar 2021 14:44:16 -0400 Received: by mail-io1-xd29.google.com with SMTP id b10so15016262iot.4 for ; Mon, 22 Mar 2021 11:44:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sOD4DCIbFLufs+EtfpdkmW05LHEafQ2LVT0Tw6Ykjf4=; b=sly/OPu1xcobEtUJTe+QDVYSeHyQN9y2qD7aLKswfURDn69jE3XHvikZ0+z0ox9Seg MbZlcH3h7Ad379c00z7MBMITrLXHv2gKe8w6Y/+14yhfyXp7fks7JWXd9pTXbqpxv3PR uISef0k+W4UPm6jhfywnM1gIaY/GKmQ6rj1pFFw8ej8+ghx0j3jVvfU/bcalzNbrD25Q I0ibsHVHsLCb++ZPJQPsUS9bo/cr9vOtvMlEh0Chc2Nc33Pyq5lvD74Lr67VMe5vEkYV AFrHZROWU3su2AI9klamSjQNFAFeT0GzOfKascSEaBd6NAVhICZhwT7sk4zPpTZuvccH +ECw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sOD4DCIbFLufs+EtfpdkmW05LHEafQ2LVT0Tw6Ykjf4=; b=dhRuNt7XdHbXXtvruUgIwNZMsTmBKGfedou5H4CWsjMsajthz0Zl2Ia5hQL7/E357L Ngoxq2rTnj4zikOk7pfETuTMmtKU0gttDx0E8/uNp//+MCsdAm4136HbnaBJrR5su5o3 JajCdH3Ephp6k5IKilcJl0f7xJwTtifqXOpHI4JoDg0Ml2nt23GdV9C/qq5YQIbSYHf9 dWZwEn8+5Cef5I1UDeTNoVlffYUkj3gUJsAMzofeNOjp8gtKv6aVU8Yrnafk9kea/DeM bhwBv7U9iTHlNH7bEAWLnyjUx/Bzzc6Cbgaw+xMUtbivx3WtLTM3gQGAWhYiq8zQzYV7 Y15A== X-Gm-Message-State: AOAM531uxqiJhQzuJIkI5dzolZN+cNuDR/oM6GTyOP7uHkQCAtcXvYrD sM5Th1CvcQFnztZNPPnDaCAqs6Vew23dA+ZVVw== X-Google-Smtp-Source: ABdhPJwqzRKXXqvb1sQfK2BJH2yEguGkrJWGqHys4YSDyRYRT5+yB++YMC24/ntMfNQeTTOh9k5kD2f1Y+G8UHSIe9U= X-Received: by 2002:a05:6602:2048:: with SMTP id z8mr945233iod.143.1616438650046; Mon, 22 Mar 2021 11:44:10 -0700 (PDT) MIME-Version: 1.0 References: <87k0pzno39.fsf@gmail.com> In-Reply-To: <87k0pzno39.fsf@gmail.com> From: Immanuel Litzroth Date: Mon, 22 Mar 2021 19:43:34 +0100 Message-ID: Subject: Re: noweb syntax clashing with shell here document syntax To: sebastian.miele@gmail.com Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::d29; envelope-from=immanuel.litzroth@gmail.com; helo=mail-io1-xd29.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, 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: , Cc: emacs-orgmode Mailinglist Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616438726; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=sOD4DCIbFLufs+EtfpdkmW05LHEafQ2LVT0Tw6Ykjf4=; b=Cuiy6eBx/n6/EvqXrBbhGtf1fpHwTrNlc3CHQkDFSAO0on7R3sx8EgSlMOvH4LsjiQt9ta uXkhqn/97tYr8XLjaPoK716Mv0Nq2M5ay9uqH2ulmAnZ1zo4XDw+XHWsZcrGOTt2DUwNMv N6ebuUGzt5tAykdd69H6s7AzAT7hpWoWrFH83hP1AwNeRjl8HZMBEUKgRvBy4DvlExcdbm tdnAequdqRIb6ee7VJqMG6RbxCjDvQeMpnY3YYCa4/7FIYSJGZ9Aixgg++CwZHho/IDdcx WU8BzPCx9GsrejT486ykW+ECy3UmqA03DBrq/AQBW4CcIX8kQIcnHT9/4/7Raw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616438726; a=rsa-sha256; cv=none; b=dN6f7KcVsFjLwY0SwsIqENLdqioqtnb4A0PTEZ+rqaU62mJH6SsvPOkjz+fVmD6vKcKBJ3 2zJaKj0UIh+ZuyqDsHyhCPebMc9HJWBh3evgj4u/n2MqC4ld016qFUzS1yO+hsaUpnmj5F GZEqmRyTE82g2qc7zUrxz7nguPmc40cq+4V0Js/JwaTjKkNWt6gsHuWxQFs3EIdxX3EENe I2O7sFixICvgavlssnIuRIbMBnMUvvHTjRFTK/h3t6QlNoeCVdkJZaxtKDDfvenf1MiR3t ezs13lDFCNwLZyy8RQRKUCfJgggXHfu+KFFiHE1vrX/JsV+kRhSCdMkEi1NXFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="sly/OPu1"; 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-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="sly/OPu1"; 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: E96471366D X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: qDD0E9SSEXBu You can choose which delimiters signal noweb. see the documentation of org-babel-noweb-wrap-start and org-babel-noweb-wrap-end. Immanuel On Mon, Mar 22, 2021 at 5:35 PM Sebastian Miele wrote: > > Hello! > > The noweb syntax seems to clash with the syntax of here documents in > shell scripts. In the block like > > #+BEGIN_SRC shell :noweb yes > echo a > <> > echo b > #+END_SRC > > everything following the line with the the noweb reference does not > get fontified properly. I suspect that the problem already is known > for a long time. Is that true? If yes, what is the status of this > issue? Is there a known workaround? > > At least in ZSH it may very well be the case that a line ending with > '>>' never is valid, except in cases where something like an '< before it is not an opening of a here document. So it possibly is > something that could be fixed in sh-script.el. But I do not know > exactly. > > Anybody who already knows more about this? > > Best wishes > Sebastian > -- -- Researching the dual problem of finding the function that has a given point as fixpoint.