From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cMoaDxko42EbEgEAgWs5BA (envelope-from ) for ; Sat, 15 Jan 2022 21:01:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +PaQDBko42GxgQEA9RJhRA (envelope-from ) for ; Sat, 15 Jan 2022 21:01:29 +0100 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 5F2C443D0D for ; Sat, 15 Jan 2022 21:01:28 +0100 (CET) Received: from localhost ([::1]:34698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8pEt-0007eY-Ej for larch@yhetil.org; Sat, 15 Jan 2022 15:01:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8pDL-0007eP-7t for emacs-orgmode@gnu.org; Sat, 15 Jan 2022 14:59:53 -0500 Received: from mout02.posteo.de ([185.67.36.66]:53367) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8pDJ-0005t6-GD for emacs-orgmode@gnu.org; Sat, 15 Jan 2022 14:59:50 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id D7FC3240105 for ; Sat, 15 Jan 2022 20:59:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1642276786; bh=iS1y0CRyWLex4liUWI4bLjAR61cZfFtdwwhonF6YqfU=; h=From:To:Cc:Subject:Date:From; b=dMywn0s7uFzIZFfPEmCm8ufG82VadZwzi/mQyNU7xl9HDIT2T8Xk13DnhMH6ep4dE gx2Djvtn6tBUG0PJ22nzAZjGoA2q7GJ/R7QH2//LFeun8fe/8uIKNKqdSOtbcf9P6G b3r41NvgamQLcbtbB05Gec5mOKaQhbCT8wIbUILcKDrZCPCVgSCXji957Hl5j3wgY0 BY+wlHFjUsDUzxNDXR+hdKzHe15zMQwM8lMqtfKg2anspx5IRBoBFP2MwwKnAJGw2F hhxP8aKISenBVyWd0pQD35T0q73DWwirHxHPWt3t8+nsViUxTJnV+rBorfKKPpJID2 AaDHUdgHXD7KQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Jbpst1Pdbz6tmN; Sat, 15 Jan 2022 20:59:46 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Uwe Brauer Subject: Re: org-->html text between @ should be red. References: <87fspolvss.fsf@mat.ucm.es> <87v8ykamh0.fsf@posteo.net> <87ilukkcvd.fsf@mat.ucm.es> Date: Sat, 15 Jan 2022 19:59:45 +0000 In-Reply-To: <87ilukkcvd.fsf@mat.ucm.es> (Uwe Brauer's message of "Sat, 15 Jan 2022 20:39:02 +0100") Message-ID: <87mtjwahxq.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.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 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: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642276888; 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=ZptDugCEkazfrCYIMIV8iiA/mHwhNlitem+6CmkUEFY=; b=bNnqYmSdAtMTwcOiCO18MqyQIjA4N+Zhmbb7tnef6HSGeF1Nse+vKlJRddneZhjnOgyLBa wYlIGFa7H+6nxmhPB77WIyhyJSQ0dFNmSqG2hH7wWm+KGXrSWqHBuzVCPRqsnsRfxVpd6w zdav8nTipjHFHayxin8g3j0ZPZilbY1RZixA5p+6l8LFibOoFwWQJzp0QBIquGUWbqlyTH s3wtZbwcrLBgDo99lkTY0utNUHfPc05fF2TV9Lw9HY4jRpspB6SSygIB2LAytjjHIBw/FX JRhGEyMNXiV18HxCgVUO+Pfky7zRgxaRySVf7/GDkXGBNshssfjiX3WBUsQRXg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642276888; a=rsa-sha256; cv=none; b=hlSADSSKbucbX1VFr4DjybOSxqpcT+jfzCfI3glB8Vpg+lQsXj80fDsRgLiHAKDGwYX9Tm olips5dw/sX9cAygDkCJ05CnKJEb1ECVrD5Yls3nIjjP42y48EV+di2WPRFLy7Ftt4sB8h lMXp+oOrlMetXOebE4osQexpS9edym9E4h+suQmgldHaOZJjth4vSmU13QPuIKk7mkDwfT VY/ESlrw/BJ01KKKtp+qyHVkMnckDoqjL49FYc/nKO2a1MOhMecivhFXndxhqKNb3dSdmB ZZTga4jhohIQde9dPYB2Dpo6ZMMjZI5zs00UghW0C9UNLB2FO6Z8+7nn6pVXEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dMywn0s7; 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-Migadu-Spam-Score: -6.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dMywn0s7; 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-Migadu-Queue-Id: 5F2C443D0D X-Spam-Score: -6.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: kRa1NSk7I3EE Uwe Brauer writes: > Thanks very much it works as expected. However I just realized (and > this is true also for the org-mime filter that the reg-exp has a flaw. > > I used the text > > > =email:oub@mat.ucm.es= > > So there is only one @, nevertheless the exporter translated that to > email:oubmat.ucm.es
> > But this is wrong in my view. > > Any ideas how to deal with such a situation? You can bind the function to org-export-filter-plain-text-functions instead of ...-final-output-functions. That way you wouldn't get false positives on lines like: =email:oub@mat.ucm.es= some text @some text@ email:oub@mat.ucm.es some text some text Best regards, Juan Manuel