From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UPCQBtC10mP5tAAAbAwnHQ (envelope-from ) for ; Thu, 26 Jan 2023 18:18:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kEWIBtC10mN9EQEAauVa8A (envelope-from ) for ; Thu, 26 Jan 2023 18:18:08 +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 E3D332EF47 for ; Thu, 26 Jan 2023 18:18:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pL5sc-0000wu-CD; Thu, 26 Jan 2023 12:17:42 -0500 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 1pL5sb-0000sS-2F for emacs-orgmode@gnu.org; Thu, 26 Jan 2023 12:17:41 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pL5sZ-0003Ms-G4 for emacs-orgmode@gnu.org; Thu, 26 Jan 2023 12:17:40 -0500 Received: from localhost ([::ffff:102.87.226.121]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000103A94.0000000063D2B595.00000E4B; Thu, 26 Jan 2023 10:17:08 -0700 Date: Thu, 26 Jan 2023 15:18:49 +0300 From: Jean Louis To: AW Cc: emacs-orgmode@gnu.org Subject: Re: Link from orgmode file to E-Mail (using kmail or notmuch) Message-ID: Mail-Followup-To: AW , emacs-orgmode@gnu.org References: <3218434.44csPzL39Z@linux.fritz.box> <2140555.Mh6RI2rZIc@localhost.localdomain> <87sfg05kz5.fsf@localhost> <3220232.44csPzL39Z@linux.fritz.box> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <3220232.44csPzL39Z@linux.fritz.box> User-Agent: Mutt/2.2.9+54 (af2080d) (2022-11-21) Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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=1674753487; a=rsa-sha256; cv=none; b=Jx6hGsTmtGlbK+c+JYht+uLl3sXBJ265SA9gReIdiSLOgwrMxzybfvve0+BETiL5e9Dcd8 qKHWndBWO3jO57mv9dGpG+OpbqdBrwspBFs5fwp/JhuZsWy6awMbcbAT6cbgkXt1ubHzcJ n+HiBv/ogTrhPo5ya3iwwKDp6b9j641sgaI/GmN55sgGjvTpjzj6pI+Snl2Dwq0f1fZMEa kq8eh3K3jOcXQl8Eq83IynA+oRaYj+n2A3PWvHWf+gatDdJc3iPymr3zUcsLFChyrw31lm i1qdBW9Fdj30YUuzswBqoQ3DNhALqeLu7TQZHonnsTXnY45x/qzLb4BbgBUEYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674753487; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=6lLcOqEroKJPzGNsODhTbDI+QbLIaWlsr14I6B3EZj4=; b=N9W4jRBnQjDFcWw+poGaymJCD/2e93/VtB8TpHW8C76Ny3wtJw49Dat3Y2xm+jzQX2u/Q6 ow8TaDLaRaaUCa0IrVgfTNhNFnOGQ6wROMbX4IZC/SY5DdeuVXGCeQxJbkA7d+4M6jsIu7 CwoBfdA0v+0KYf/SQlme4qEOKdE3s9pyt2fEWViz0IXgTijiYUUCfR1U1iyFLc9rk1X2WA db0Lp8HV7SyytVE9N8S7l0nheOG7P3mE6YBlQd5NEytyFg842TOf88/TK7xxDRFfzM6hEE 9ogzO5zBnLuVL43DpzySAMNW49cKh+zA8/EaF7PjqjQXE4w9w92h86qX0jstvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=none X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.97 X-Spam-Score: -1.97 X-Migadu-Queue-Id: E3D332EF47 Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=none X-TUID: BtN8MoIXsGRL * AW [2023-01-26 13:00]: > This is about a maildirs of kmail on my local machine. The E-Mails are being > indexed by akonadi on the side of kde-pim. But referring to a certain E-Mail > from orgmode with a kind of link fails, because I'd need to got to the maildir > and search for the specific E-Mail. kde-pim does not offer an easy way to > extract that or the message-ID. How many Maildirs do you have? and what does program: akonadi_maildir_resource does? Should it find e-mail? Without Akonadi: ---------------- Solution may be simple without akonadi and external software. It would be to provide main Maildir, then for program to find submaildirs, and to find Message ID in every e-mail, and record it, once per day, of course with e-mail file or folder location plus Message ID. This is simple program and can be done in shell or Emacs Lisp, collecting all Message IDs efficiently from every Maildir. This program thus can be universal program, and then function can decide how to open e-mail, and it is just fine opening e-mail in Emacs as well. Same program could be used to find e-mails by name or sender, or recipient. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/