From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gMu0J/eVQ2QFBwAASxT56A (envelope-from ) for ; Sat, 22 Apr 2023 10:08:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4DmgJ/eVQ2TY8gAAauVa8A (envelope-from ) for ; Sat, 22 Apr 2023 10:08:23 +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 4F5A33D3CD for ; Sat, 22 Apr 2023 10:08:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pq8HQ-0004qY-KG; Sat, 22 Apr 2023 04:07:36 -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 1ppo1L-00053O-5S for emacs-orgmode@gnu.org; Fri, 21 Apr 2023 06:29:39 -0400 Received: from sender4-of-o54.zoho.com ([136.143.188.54]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppo1J-0004pO-Ey for emacs-orgmode@gnu.org; Fri, 21 Apr 2023 06:29:38 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1682072973; cv=none; d=zohomail.com; s=zohoarc; b=S6QK4b/e5zqtMTzV5AnXjrFrNaG+t0LLAv8MCkO0TEgMvzvLJFbximMo3qP0bU/9R08NDKrjybIN+kyE/NzRB4ocM5gHPzm1mIjDl+kCy4lKODx1j8xMg38bJrzj+SSC+992eTX7H/Uq2boaEyKoo+TBK7v/IRL0VMIPAGXUwn4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1682072973; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=2aXeQvfhSx24Eo0VZvbp+PCbPEdLZycRkPHgzK2nDTY=; b=a6SiifDs5c27kWdSqrzI7XVlQDxa2+9r4S5IBI2J75GuYl8lG4SUpa1ucGXHp61vF9pSXk4VOI9SznEQPOViZxf64sXlOFzEUbt2nRvm+cHAXlWdKVp4XRD//w55iQds4dszSfl9bAIOIPUd0f7Xfjv1lO0vX63/+8EeXzddXCI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=ieugen.ro; spf=pass smtp.mailfrom=eugen@ieugen.ro; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1682072973; s=zoho; d=ieugen.ro; i=eugen@ieugen.ro; h=Message-ID:Date:Date:MIME-Version:To:To:From:From:Subject:Subject:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To:Cc; bh=2aXeQvfhSx24Eo0VZvbp+PCbPEdLZycRkPHgzK2nDTY=; b=dG2L2HuHngwdf3GtMUai04GDJXN0QUi4SPYtfr45nR6ZpMDi1a4lSn//gNKEdD5G dQo+fSZeBg4YU/Cz6GshPOvZc/7Vz+DviQ91YAp6u5OvhlaSCK/bUNswqTB4YMN2LY6 Q4K+T3+Ke6BqridmsYqbYdE51ktV0f2blzp6p2Ak= Received: from [192.168.100.100] (84.232.142.73 [84.232.142.73]) by mx.zohomail.com with SMTPS id 1682072972675752.1165022663023; Fri, 21 Apr 2023 03:29:32 -0700 (PDT) Message-ID: <2b4a2c95-788a-fe15-1172-3a760e056317@ieugen.ro> Date: Fri, 21 Apr 2023 13:29:29 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 To: emacs-orgmode@gnu.org From: Eugen Stan Content-Language: en-US Subject: org-mode export to html fails for unknown link types - telephone links Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.54; envelope-from=eugen@ieugen.ro; helo=sender4-of-o54.zoho.com X-Spam_score_int: -5 X-Spam_score: -0.6 X-Spam_bar: / X-Spam_report: (-0.6 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 22 Apr 2023 04:07:34 -0400 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=2; s=key1; d=yhetil.org; t=1682150903; a=rsa-sha256; cv=pass; b=KM1fdok05rud91bWMDIYtf3OWqb2KWwF0p1u/q+90a6BxjsmifVlZgwvQcbmtSJFxrF2ce vsPq1QlqKVMD7uNSW6XkreXUGpiAILxFWMUa4vu69uZ1PV6Wt2CS4GEF3dPYtjsZ8jJuOW +PLXpQwmOuk2wxrSa1pcq7oC7G3uIeEsmoiZ2EqX7mPbIIL9aUFvvHRQ7J4Qnl93B2Ul2Z +20uDiEkGiCen1NbpJnK5Fz1++Sk/fJSSF0TPJYZBA9T845XQr9K+EJi6w8UZuX9GaLwWG auP6ZtXqunpODtGGfNy/63VxShLnWDBuzk/0oL+LL6g7g7SvQwUKuBTR9EDqbQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ieugen.ro header.s=zoho header.b=dG2L2HuH; dmarc=none; 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=pass ("zohomail.com:s=zohoarc:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682150903; 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=2aXeQvfhSx24Eo0VZvbp+PCbPEdLZycRkPHgzK2nDTY=; b=G7FxZSIN7eERqj3wq+rtbgX1ufxOw9QgG9QO85+tajuaujNcHETRVtKvYFeeURQsUdZsKI giANYm26Wo7a8W9oxvxjIzHEYeePXRaf6bydVf6Zk8U77LofTeeSuZKkPdQHG01nXOuOen 7oLOjtOJNyewTp0mU1eIC5Nt6QEtWZuEynq8NcYMPzH6oPJLhHoyB1eLBvKRhuaYHJO9lK CJuxlxKJibBtKyKYSDS5Oo7y5WdzZBOkHnhAWPW/WLzc9/rgZwZiytOfgUgTrVle3PEoVP mBbqqnsRovRKzvF4vfHWoB9kxLzDzbzWjtBEpgY1hTZN/+RopsjqsHGKdvsNBQ== X-Migadu-Spam-Score: -9.71 X-Spam-Score: -9.71 X-Migadu-Queue-Id: 4F5A33D3CD X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ieugen.ro header.s=zoho header.b=dG2L2HuH; dmarc=none; 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=pass ("zohomail.com:s=zohoarc:i=1") X-TUID: BVIL8uawmUfN Hi, 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. I believe the default behavior of failing to export when encountering an unknown link type is not ok. IMO org-mode export should allow export for unknown links. 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/ . It seems it might work in PDF exports as well https://community.adobe.com/t5/acrobat-reader-discussions/how-to-make-clickable-phone-numbers-in-pdfs/m-p/5822600 . Regardless, having the export fail is a bug IMO. To build my website I followed a slightly updated version of https://systemcrafters.net/publishing-websites-with-org-mode/building-the-site/ . I made it work with some customization but I do believe the default (require 'ox-publish) (require 'ol) (org-link-set-parameters "tel" :export #'org-tel-export) (defun org-tel-export (link description format _) "Export a tel link from Org files." (let ((path link) (desc (or description link))) (pcase format (`html (format "%s" path desc)) (`latex (format "\\href{%s}{%s}" path desc)) (`texinfo (format "@uref{%s,%s}" path desc)) (`ascii (format "%s (%s)" desc path)) (t path)))) (setq org-publish-project-alist `(("nunta-org-site" :recursive t ...... ) (org-publish-all t)