From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MAq0IDRPRWSYGwEASxT56A (envelope-from ) for ; Sun, 23 Apr 2023 17:31:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sK+OIDRPRWTKHgAA9RJhRA (envelope-from ) for ; Sun, 23 Apr 2023 17:31:00 +0200 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 45C89183B1 for ; Sun, 23 Apr 2023 17:31:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqbfB-0006AP-8Y; Sun, 23 Apr 2023 11:30:05 -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 1pqbf8-00069c-PU for emacs-orgmode@gnu.org; Sun, 23 Apr 2023 11:30:02 -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 1pqbf6-00052y-K3 for emacs-orgmode@gnu.org; Sun, 23 Apr 2023 11:30:02 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 2930A240055 for ; Sun, 23 Apr 2023 17:29:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1682263797; bh=INn/FeRWSRC1TlwMJObx8nGXA1binJIyKJZ/GQDJFrM=; h=From:To:Cc:Subject:Date:From; b=Jc5MINX4fDUVdxnry3+kL6ZBhQSSokIOMOBTtXFVOxW/W1Uas/o4MVer9XP4L/yQ4 TicYOUj9XoD9B0XzaNaUigox0TKBV0KsieoAekTq7lSADiRI7URDmbRINtgyxzk034 G3LtaafegjlzYHKmiuvNl0GR5d3AdH8Rdl2PvunY2/n4xLOFDwW4B3lePStNKBJZRP gZHDTgA1GQn9nQDA/snS7TbiG8JBRyG5ZeMjZvwPWosxbF29rgEh/PF44uCni5fZvO SYdbNS0d87y/cIZcW4zXjhmMZBY8O4xpHvKI/D+0/5U5TQcBprDqkuPVOmhQFUIO02 7W6tNWO7TGWfg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q4Byr5ZkXz6tvx; Sun, 23 Apr 2023 17:29:56 +0200 (CEST) From: Ihor Radchenko To: Eugen Stan Cc: emacs-orgmode@gnu.org Subject: Re: org-mode export to html fails for unknown link types - telephone links In-Reply-To: <2b4a2c95-788a-fe15-1172-3a760e056317@ieugen.ro> References: <2b4a2c95-788a-fe15-1172-3a760e056317@ieugen.ro> Date: Sun, 23 Apr 2023 15:32:48 +0000 Message-ID: <87y1mi397j.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain 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_H2=-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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682263860; a=rsa-sha256; cv=none; b=iHKpC6KpUNmH/waaIOmcpUHyAMVTfX5M0Yrk8zp53nuey4q0YNkF4Hmi/ng3i4uvhMLIa1 8/8xINe3bYjFtnWsF7FWD2r8AS+ZcxGLleP2Zfnu7NllxCmFQ2K4uGe07xwkyLyIYi5H2k jrh4P/sF0OChFGBf3yLYmgOxFWT3EpWIRhcpVIJTUDHn0hAyO7pBDylAHMaflwN+69WjjZ JkGMbHR+capHNTHRvQMCMQcFqGk4LB0WIaKHidawgvpg5rPhxBqSaLV/krZ4I/tUOOJMW7 z+xwsPNXz148i6WPIUQmirjxw9Nn5BDQBpJ5B2VpDh6ETSylZXrb5WrB0h4xvg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Jc5MINX4; 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=1682263860; 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=vydvUCKJr7/chpL21RMqQVTFk8e5DqMoo5PtIZJedzA=; b=S9GAc/N25xaZqPQlZsPRV3srSwMWBuYA7rrsujiP3hqOJnk0Rt3auzoEiAvxzv5aiCMnwP Ysbk5DF+I/bD3EA+OUeHE5CLmwAUzgYnNlln8vdbWeuTMs67Gaq0zsuoZq6pYLWqh2F+y7 jJqRf2+st8s54bq1OrhbTte2TI6RSM2Tjk7Eb19cGssjRDCz2U8eabPgOQBNdFCW0qw2p5 BVoCl5aSoQ2F/0bVJoSFWmma2yuUTcLINf8iAfcgo/2Z4G7853Og1NpvpNpYrKUiG8jihZ ilzMPn2rcRk7HpZBQVmmlnabfGdVDbM0jNQGYQePtam593xIgrM9egaeN/ZOlw== X-Migadu-Spam-Score: -7.50 X-Spam-Score: -7.50 X-Migadu-Queue-Id: 45C89183B1 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Jc5MINX4; 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" X-TUID: T8zB92k/P5Qm Eugen Stan writes: > I am building my wedding page with org mode. Yay!. > I tried to add telephone links so people can click on the link and it > will do something useful. > > I used this markup [[tel:(+40)55-555-555][(+40)55-555-555]] to produce > something like (+40)55-555-555 . > > However It failed because the tel: is not recognized link. It is not what is happening. [[arbitrary text not matching known link type]] links are treated as fuzzy links searching within current buffer. See 4.2 Internal Links section of Org manual. So, Org tries to search for tel:... targets and named elements in current buffer, fails to do so, and reports that the link is broken to the user. > I believe the default behavior of failing to export when encountering an > unknown link type is not ok. I hope it is clear now that it is not unknown link type. There is no such notion in Org as a link with unknown link type. > Support for tel: links might be added to org-mode by default since it is > simple to add and quite useful, at least in HTML export . > See https://css-tricks.com/the-current-state-of-telephone-links/ . Agree. Patches welcome! -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at