From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EM1+FzsvyWBBpQAAgWs5BA (envelope-from ) for ; Wed, 16 Jun 2021 00:52:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wOnKEjsvyWAQXwAA1q6Kng (envelope-from ) for ; Tue, 15 Jun 2021 22:52:43 +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 9FCFF1A28A for ; Wed, 16 Jun 2021 00:52:42 +0200 (CEST) Received: from localhost ([::1]:54592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltHvE-0005Zk-Pd for larch@yhetil.org; Tue, 15 Jun 2021 18:52:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltHun-0005Xr-Sb for emacs-orgmode@gnu.org; Tue, 15 Jun 2021 18:52:13 -0400 Received: from mr85p00im-ztdg06011801.me.com ([17.58.23.199]:45646) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltHul-0007CC-3p for emacs-orgmode@gnu.org; Tue, 15 Jun 2021 18:52:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1623797528; bh=NoxDYkK/HFtNV1W5Uc0jqq36e6jrjyYf5IVYwMk6vrU=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=JiALgNaTD0kL+v5Obprz8Oe8SPlM9s3yWMuH3NEzI7hmd2+mMQeQLoi1Vq2Zovwtb ZVnF8vkcdikrtGRAKSGm+WX/ehpQNcAzy9+07uovQ5X65dVOiQKYpcVfEyGg/kAtMr NRLrYURFVTteFr3I1RPVo1cwyyRl7LyVBgawMmmqxBK8rNilOHKRhOQJ9/yYsCiqRA RpTT5/Mc1AUQO05E1pOTC/Hv/Os13438seTNZkJ9fQzyNlsws0zJ7RMwDS4xNU9Iwd jvm3SNYlAxLEEFoPcTXYqlIrIzH6CSSWtOiWraewpSzY23Rmm3Wu6aP4VcRiorVZnW wWAgDd+8gLjfg== Received: from Workstation.local (78-141-116-131.dynamic.orange.sk [78.141.116.131]) by mr85p00im-ztdg06011801.me.com (Postfix) with ESMTPSA id E2167C06B8 for ; Tue, 15 Jun 2021 22:52:07 +0000 (UTC) User-agent: mu4e 1.4.15; emacs 28.0.50 From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: emacs-orgmode@gnu.org Subject: URL woes that never end Date: Wed, 16 Jun 2021 00:52:04 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.391,18.0.761,17.0.607.475.0000000_definitions?= =?UTF-8?Q?=3D2021-06-15=5F07:2021-06-15=5F02,2021-06-15=5F07,2020-04-07?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=562 clxscore=1015 bulkscore=0 malwarescore=0 adultscore=0 phishscore=0 suspectscore=0 spamscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2106150140 Received-SPF: pass client-ip=17.58.23.199; envelope-from=salutis@me.com; helo=mr85p00im-ztdg06011801.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623797563; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=NoxDYkK/HFtNV1W5Uc0jqq36e6jrjyYf5IVYwMk6vrU=; b=sm+GWrkSCHJfFvzPNPKxmSGTKj6TQFq3/2dNmR+TeopmSYc/cn2HIezIsTtdaT6/4LNiOb E6e7jCY0X/QkgDOfGiHoXPYIcROuemvM15KhELOgoOEA7Uy1ix93t3hMbxTamBnhc8NviB Rzdupxrq3Fm0o8xsBBcnrydXbipjP0jt7NT7+6XCLX7bAC9fuHF+gAq1Wrx0khvOGu1QWQ nq7JwFi9nHNlSZ8cOKi37a3qFCJGFqYBJ6CRgdMhaCXXOLaml3j8jNsLG6N1XBgjb3CYo2 6qsOSPeCbdJ0wqP4/5I226Tloqu2d7vSuBwWcfKorip7vHIMSV7y76hjsoHxYQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623797563; a=rsa-sha256; cv=none; b=Y55hb4y9y8rR7Tx+vUrqlSZnK46xDQ5HIaueWqStdoGePibROBwyXBPFUwaZySCHp2hKQU YPbH2LAGinP98ZUiherb9pCHlpWLwKEpwc4BczA2SwXbsKejISXv/yncIYLvNe7TMPxOMR rnN7NhBQgDwxdXXSL7O0uCo5H/iqxZvBOiOJ7NGzvrv0Kl8NOYv1ExhTeaQkZhdqLueGhI rU5UZhubeZF3zOXDmUUWJmcBL6GX40iBHojGCU4QAHy3F8iX6oNmLjw/IbuqzYz7Ikii1x zDMECagfcdpU4lxZDkkd6x5EJHHGYnj7n2hr2AG9CIVaahPyQfe8t3r8aJiRYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=JiALgNaT; dmarc=pass (policy=quarantine) header.from=me.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=me.com header.s=1a1hai header.b=JiALgNaT; dmarc=pass (policy=quarantine) header.from=me.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: 9FCFF1A28A X-Spam-Score: -3.12 X-Migadu-Scanner: scn1.migadu.com X-TUID: zlczcBFt2on0 Greetings! I lamented a while ago about URL handling in Org. To provide a concrete exa= mple, below is a shell script that Org does not export correctly to HTML. M= ore specifically, Org considers the script to be a URL. Further, and amazin= gly, even if I change =E2=80=9Csee .=E2=80=9D to =E2=80=9Csee to= learn more=E2=80=9D, Org *still* does not parse the URL correctly, even wi= th a valid URL per RFC *and* surrounding angle brackets (<>) *and* spaces o= n both sides. #+begin_src shell :tangle fetchmail-retry.sh :shebang #!/usr/bin/env sh # fetchmail-retry.sh -- fetchmail with retry # # Author: Rudolf Adamkovi=C4=8D # Version: 1.0 # # This file is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation, either version 3 of the License, or (at # your option) any later version. # # For more information, see . # RETRY=3D0 RETRY_MAX=3D10 RETURN_OK=3D0 RETURN_NO_MAIL=3D1 while [ $RETRY -le $RETRY_MAX ] do fetchmail "$@" RETURN=3D$? [ $RETURN -eq $RETURN_OK ] && exit $RETURN [ $RETURN -eq $RETURN_NO_MAIL ] && exit $RETURN RETRY=3D$((RETRY+1)) echo Retry \#$RETRY: done echo Failed after $RETRY_MAX retries. >&2 exit $RETURN #+end_src -- Logic is a science of the necessary laws of thought, without which no emplo= yment of the understanding and the reason takes place. -- Immanuel Kant, 17= 85 Rudolf Adamkovi=C4=8D Studenohorsk=C3=A1 25 84103 Bratislava Slovakia [he/him]