From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AEw/JCkIumDTGQAAgWs5BA (envelope-from ) for ; Fri, 04 Jun 2021 13:02:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eG1pHykIumARSwAAbx9fmQ (envelope-from ) for ; Fri, 04 Jun 2021 11:02:01 +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 9DB061A1A7 for ; Fri, 4 Jun 2021 13:02:00 +0200 (CEST) Received: from localhost ([::1]:35188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lp7aR-0003y8-KC for larch@yhetil.org; Fri, 04 Jun 2021 07:01:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lozuA-0000uz-6p for emacs-orgmode@gnu.org; Thu, 03 Jun 2021 22:49:50 -0400 Received: from mail-il1-x133.google.com ([2607:f8b0:4864:20::133]:42911) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lozu4-0008AT-AK for emacs-orgmode@gnu.org; Thu, 03 Jun 2021 22:49:49 -0400 Received: by mail-il1-x133.google.com with SMTP id a8so6349526ilv.9 for ; Thu, 03 Jun 2021 19:49:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:date:subject:message-id:to; bh=Hcnqcta0oCVW9s0xxwSjDzT1QB2+qY2hSH7aDvOz/x0=; b=odatR6WH2bM7i8wBl3dsyL2DjbfyOsiQpiZINmbfX6mD+Oc27xwd9MTy+6p2MOotp2 ohYJAiL7B2/0cKKB2IdkX4cF+eeVQUPJqJqSnd9RUonZ14zRA5UFjSTr3Qm5RYn+P9Dc JUNLhOJ/4ppzyFgzAzYri+Tcu3IzD6wXwnF14sieuuV+C3FPbGbUqLs/aLhc3aGUCDuW zjQHNOYmHFGH8gyhJugx465O9Ym0IKFE0HfkbonoZ+X+YrcuwRm2kCpVOwKQP/UbE92B G7e0RCsjZWtHKhxAba4zQKAD0tLOl8jKQdjlwdQhT5t2WKjfrFeCXbOH61PIOzMY7CsU lK3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:date:subject:message-id:to; bh=Hcnqcta0oCVW9s0xxwSjDzT1QB2+qY2hSH7aDvOz/x0=; b=naMuB9dZrfNCC664qGgiZsDFZCdrWMmsBJAQqtv0rORUK78tQuBDkPXlhDCP5AEwdq fupxgZpQ28jjw39fBNTWMh1sz4AxLToVX92XNfdtua9pzXSl8Sq+inZVbqncULfrreyy VBga2SMQdpSQfl/G/rbHBCk4vlXIMVdbFHw/PApbv9Sph3caZu1ZMa+I9/7URowi8VRn 32i2WhgLSaQwUML5/ce/J2WtS04bNJwAY23OzpnLwLKx61eKufvHsIZ5FsfJloTMioMe CssiNAg0ZQZh0LT6HLOgdnNkt7Y4zjqvvnmiUdatwzUb+y+XGAc0hIUi8BfRc9iePEkw oeAg== X-Gm-Message-State: AOAM533biUH7nTi8O+96Jm9bR1zeTjWmN6pqvvoaeaz/g+oJy3ua/ytj 4WCF6MP1FAVr3IInzQihKR2tblq0F+w= X-Google-Smtp-Source: ABdhPJx01Pz/Fy0pyVJuDRhVI/XhrQnqfoug3ufuImMusp3ezSF1kbbwzjI4Ng0nXtQGua1nc+4lBw== X-Received: by 2002:a05:6e02:7:: with SMTP id h7mr2059237ilr.110.1622774982184; Thu, 03 Jun 2021 19:49:42 -0700 (PDT) Received: from ?IPv6:2601:249:167f:d00:1454:ad3a:219f:47a9? ([2601:249:167f:d00:1454:ad3a:219f:47a9]) by smtp.gmail.com with ESMTPSA id h30sm2584667ioz.45.2021.06.03.19.49.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Jun 2021 19:49:41 -0700 (PDT) From: Alan Wehmann Content-Type: multipart/alternative; boundary="Apple-Mail=_7D21BB17-6910-4CCE-B5D4-4A01C42475D6" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Date: Thu, 3 Jun 2021 21:49:40 -0500 Subject: routine "org-vm-select-message" in "ol-vm.el" Message-Id: <572D856B-D4D6-41B6-8E26-EFFD25D9C808@gmail.com> To: emacs-orgmode@gnu.org X-Mailer: Apple Mail (2.3608.120.23.2.4) Received-SPF: pass client-ip=2607:f8b0:4864:20::133; envelope-from=alan.wehmann@gmail.com; helo=mail-il1-x133.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 04 Jun 2021 07:01:13 -0400 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: , 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=1622804521; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Hcnqcta0oCVW9s0xxwSjDzT1QB2+qY2hSH7aDvOz/x0=; b=Wubcx3D2HgoHbBrsiy8T11JF3+vPBTfrAW0mrrIGfwlqnjIpkftLiB0xszQQP9GJDg0w1b gjk9CJQLiT4JDpZ+DP3wxN9UnpQj3dEgQyNMKgA0hDqGJX+OvHN3ySo/3upRbcNUSKCSb1 E7McUhmwLNHKlQYrnff9idBM54UFSoIUI/nQTodIPBwSu7867Ng1IHs1K5NVW6luOb4G8r KNfaOEvHycpHP3w4Xf3DhqwIZw8fF1X3TeiBuwx5srLdVyYpe3LBqoTgCMXJRpLAmB5SmS N82q/IDpEDBvOcRfzqNHZq5erN2oPFCOLPYCNigBxWZPQMiYP26QwHed1LhObQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622804521; a=rsa-sha256; cv=none; b=qOkM07qAb1248TzIr/WaMOLoaUJdjXyf+JathkbEEDzon3XS/u7zhRvku9sw9PfNmFqAa2 WtTeqtMi/RcGSZuF7t81tepVG9+OSgZBSWR5W5fo1Hjn9t4/0hzXO5HrFiL0pBCz3OVM7W iyD739XBzKAK/3V9cLe+6YH7QU9oxvaXwf4JaltrF173iaLtmWhRm0nuypvjomPCxBhAow iB+qFimUbXoCNL8kXXAZmSB3S/PXGhkwwk2yV1/JuPlRc5pdMSRt7q2tWZ+MD4eUcLvluI s6n/wtxi1Owki3jHNOF5oouAFOLomrPMc+btYf7ewWvIFsL4zGXHb+XYMXvIOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=odatR6WH; dmarc=pass (policy=none) header.from=gmail.com; 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: -2.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=odatR6WH; dmarc=pass (policy=none) header.from=gmail.com; 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: 9DB061A1A7 X-Spam-Score: -2.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: xyrmEoCOkn89 --Apple-Mail=_7D21BB17-6910-4CCE-B5D4-4A01C42475D6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I am using: Org mode version 9.4.6 (9.4.6-2-g21eb69-elpa @ = /Users/alanwehmann/.emacs.d/elpa/org-20210524/) GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 = Version 10.14.6 (Build 18G95)) of 2020-08-12 VM version is: 8.2.0b org-plus-contrib-20210531 package I have found emails (in VM) which have e.g. the following lines in them: Message-ID: = i.e. a line break after the colon. This cannot be matched by the following code from function = "org-vm-select-message" found in "ol-vm.el" from = "org-plus-contrib-20210531": (if (not (re-search-forward (concat "^" "message-id: *" (regexp-quote message-id)))) (error "Could not find the specified message in this folder")) 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. Alan Wehmann alan.wehmann@gmail.com --Apple-Mail=_7D21BB17-6910-4CCE-B5D4-4A01C42475D6 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii I = am using:

Org mode = version 9.4.6 (9.4.6-2-g21eb69-elpa @ = /Users/alanwehmann/.emacs.d/elpa/org-20210524/)
GNU = Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 = Version 10.14.6 (Build 18G95)) of 2020-08-12
VM = version is: 8.2.0b
org-plus-contrib-20210531 = package

I have = found emails (in VM) which have e.g. the following lines in = them:


i.e. a line break after the colon.

This cannot be matched by the following code from function = "org-vm-select-message" found in "ol-vm.el" from = "org-plus-contrib-20210531":

    (if (not = (re-search-forward
          =     (concat "^" "message-id: *" (regexp-quote = message-id))))
        (error "Could = not find the specified message in this folder"))

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.


= --Apple-Mail=_7D21BB17-6910-4CCE-B5D4-4A01C42475D6--