From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CM4aFL/T+mV0gAAAqHPOHw:P1 (envelope-from ) for ; Wed, 20 Mar 2024 13:17:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id CM4aFL/T+mV0gAAAqHPOHw (envelope-from ) for ; Wed, 20 Mar 2024 13:17:03 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=c7HcHgSL; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710937023; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=7iwJb8r4GJEd6oqu0fybBx/8cPeKpu4Y0gG+rfoq4x0=; b=ZDcQaWvdSEhnumqiK/ApmcHJq9J0zYoxiCk6vGBqdUn9RJJJ2JvV5aF6og0KNOWjeZ2YaN hxatugqMLUGVS4FHAz3rhTerQv2JEncOqHqRg+BO41BxQFwNIBA7UfE4wk3G60dnQpjs24 jY5g3mnKPof2cNRCE8Q1kMzZYX4ugV3pzeuUvnTK+5IzZn136boipYm/79A9xFeyK8Mnl4 HUZ6SA0giUI+1cWaCJkwN7OZOBAAzn1VW/lSjLRysV2nKtv6VJVR16xu6ptB5kX1ZZ6VZv ubbS6SwzA91pqFy9TKdQgKaF1p+N53bepr4ShIIbMvbISk6HDa9pCGjUTI/WZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=c7HcHgSL; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710937023; a=rsa-sha256; cv=none; b=V9uB/3ha1RW6L8wBxBkLPhZi/U7n4/4mKyCxdyDkzBJ7yvvbHYY7APuQaiWeaxdaRcIYJL QmvXZBpzY2/KUxlRyATA5eerXdk+aZWNCdrunJg+hn7aJjBWcwuUkijGqwchymvnmhyBUx I2Jzy1pAO+Bu4J2ZnIO8Gasf3D9Sd6PRNps+0WSGHtMyOPOK1RJ4tqlSgK/Cj3gVv1hAKy B8rLG7bIHBlZTY+ZPXJtlncfyWur8ZGvAw+xe3x9MRO84pA+dT618vRtpiyPSKTmtwq2eu Lck/BA50DRSgy3XuU85C6OaX/wa6eQyg2UFGK8iIO3inZQzRgu43zB9N/CH9lA== 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 3DBB772A1C for ; Wed, 20 Mar 2024 13:17:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmuqu-0003BG-ET; Wed, 20 Mar 2024 08:15:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmuqs-0003B8-Vj for emacs-orgmode@gnu.org; Wed, 20 Mar 2024 08:15:27 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmuqq-0008Nc-NR for emacs-orgmode@gnu.org; Wed, 20 Mar 2024 08:15:26 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 13454240027 for ; Wed, 20 Mar 2024 13:15:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710936918; bh=7iwJb8r4GJEd6oqu0fybBx/8cPeKpu4Y0gG+rfoq4x0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=c7HcHgSLqVIpZsPDVctQaCfxVD2D6dvvvpeZH73oxAshrDIPB5UwDrd6k3gvTXSxy D9boDpHf2ifEBNbVEbVkte7onfWLsZwF9BsNUzINmDmWBxINBB2CMSpgu3YNP/87Gk sx1WmogSddCEaxoauCeUeREbSal4HGStf0lnwUdtZd60B2t34Bhw+fXgpeTqbf+gJJ 7f/Fl2baI5TqgR1aRE8p21l1DOoF+sVuD05nLAcfi13KJ1PMvwdo5Rcz+xyCHRlCVO x5hzIZR74n4lK9yjjEQemOwX7mreqkLsIO2PPcatoesxaS/aTm38BfAbb8u8dt2njf vwzd/ln9qHxew== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V06x11nRfz9rxN; Wed, 20 Mar 2024 13:15:17 +0100 (CET) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Partially broken Org mode when remote setupfile is unavailable In-Reply-To: References: Date: Wed, 20 Mar 2024 12:15:13 +0000 Message-ID: <871q85drqm.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -9.26 X-Spam-Score: -9.26 X-Migadu-Queue-Id: 3DBB772A1C X-Migadu-Scanner: mx11.migadu.com X-TUID: a9/sqVuOCNz/ Confirmed. Max Nikulin writes: > I have tried the following .org file > > --- 8< --- > #+setupfile: /dav:localhost#8000:/setup-dav-123.org > > * Heading > > [[https://orgmode.org/][Link]] > --- >8 --- > > Having no webdav server running. Expected error: >> Package =E2=80=98tramp-gvfs=E2=80=99 not supported >> File mode specification error: (user-error Package `tramp-gvfs' not supp= orted) > > Unexpected errors: > - When point is on any non-empty line, RET is broken >> save-excursion: Wrong type argument: stringp, nil > - The link is not fontified (it is parsed properly however and even may=20 > be opened). This is because `file-remote-p' throws an error. I believe that it is Emacs bug. See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D68976 > In the case of unavailable http: setupfile, RET is not broken, > but the link is not fontified. > > --- 8< --- > #+setupfile: http://localhost:8000/setup-http-987.org > > * Heading > > [[https://orgmode.org/][Link]] > --- >8 --- > > I expect that inaccessible setupfiles are just ignored and Org should=20 > work as without "#+setupfile:" lines. This is because of another bug in Emacs. See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D58888 --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at