From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OPHIHHQQUGEfJAEAgWs5BA (envelope-from ) for ; Sun, 26 Sep 2021 08:17:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sIVIGHQQUGE/IQAAbx9fmQ (envelope-from ) for ; Sun, 26 Sep 2021 06:17:24 +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 DE735F536 for ; Sun, 26 Sep 2021 08:17:23 +0200 (CEST) Received: from localhost ([::1]:41868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUNTX-0001Xp-3g for larch@yhetil.org; Sun, 26 Sep 2021 02:17:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUNT0-0001Xh-Bk for emacs-orgmode@gnu.org; Sun, 26 Sep 2021 02:16:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36824) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUNSz-0004LP-OP; Sun, 26 Sep 2021 02:16:49 -0400 Received: from [2a01:e34:ec2b:7150:9b07:b8c3:15f:4214] (port=58508 helo=hal) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUNSz-0006LL-If; Sun, 26 Sep 2021 02:16:49 -0400 Received: by hal (Postfix, from userid 1000) id 548FE1E041B; Sun, 26 Sep 2021 08:16:48 +0200 (CEST) From: Bastien To: Alan Wehmann Subject: Re: routine "org-vm-select-message" in "ol-vm.el" In-Reply-To: <572D856B-D4D6-41B6-8E26-EFFD25D9C808@gmail.com> (Alan Wehmann's message of "Thu, 3 Jun 2021 21:49:40 -0500") Organization: GNU References: <572D856B-D4D6-41B6-8E26-EFFD25D9C808@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Sun, 26 Sep 2021 08:16:48 +0200 Message-ID: <87bl4fhne7.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain 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: , Cc: emacs-orgmode@gnu.org 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=1632637044; 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; bh=x9Uk9ufIsZqky1FQsGmBgz/hdorq0JPEkMktS7+xEMk=; b=QTbirVnHqa/VPVCEOMcIFVaOj8G0Hme799/KO39AbxGbBcOqJgfae6VPXvfM6uJUS5CmRY /pJRUwbn+eccwBn4+siIIJbBTUxjqEPtIxE98MLkTyM2ed6BdEcIlWgAqw/DBW+NMHwB1T /DGqCyAkYXpxi/87gu8rBsbLD4+YAI2RZ0ci7FwcRbVA5fi7y21ia1V3uWq6JTujcQ5Kss H90vVpzmLKBsGZR9BDebpRFbHgynYKpn+YnaLwJ8LGHh2KcOHsKVc9YHzuurO60E0z1XLO ICj2pBzF/ewpD3doegy9TlUPlcNeGai45AuMQjk+dREap60QcAZ9klBvHL2gXw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632637044; a=rsa-sha256; cv=none; b=iYbqnGhL2Q0svCtEl24e9AiIbXbxr4UXqxRDqOP8Dgtj6ii2OaXb4YRj6nZcRkGZ3pJ1f6 pwf8PIcK8DqFvKPwGRocwRTNJczhngSbYXScz1uFPByYZHDNdxVjwZwT+blXgWBXtvqgmp ymqgYHojTy4goaOn9GYodav84djJ01st0aiDeFq5Vz8V3z/f8G9oISuKF3nUYHhN5O1TzD we+sZ91RqhnG8OeeBMpHeZTNiVYcuWj2I9OkwYCBmVGsrOV/LDLR5QS6VhVtaBFsZs62s1 S//N/ree/9+EaREdY3HfkUyu0Z8d8XRfFSgK2KNzF/q3fNy403Y6F2uYzxHgrQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -1.39 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: DE735F536 X-Spam-Score: -1.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZmW4IobygbnA Hi Alan, Alan Wehmann writes: > The following change to this code works: > > (if (not (re-search-forward > (concat "^" "message-id:\\s-*" (regexp-quote message-id)))) > (error "Could not find the specified message in this folder")) > > since "\\s-" matches white space, including line breaks. thanks, fixed in org-contrib: https://git.sr.ht/~bzg/org-contrib/commit/8bed20b1440f4fe26505eb6107dd52038ec993fd -- Bastien