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 OBkbKsEpHGOCSQAAbAwnHQ (envelope-from ) for ; Sat, 10 Sep 2022 08:08: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 mp12.migadu.com with LMTPS id ECAUKsEpHGOvzQAAauVa8A (envelope-from ) for ; Sat, 10 Sep 2022 08:08:01 +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 3B26B18C45 for ; Sat, 10 Sep 2022 08:08:01 +0200 (CEST) Received: from localhost ([::1]:49776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWteo-0007Bs-Us for larch@yhetil.org; Sat, 10 Sep 2022 02:07:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWtIm-0005V3-EM for emacs-orgmode@gnu.org; Sat, 10 Sep 2022 01:45:15 -0400 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]:40733) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWtIk-00079D-7P for emacs-orgmode@gnu.org; Sat, 10 Sep 2022 01:45:12 -0400 Received: by mail-pg1-x530.google.com with SMTP id r17so3423217pgr.7 for ; Fri, 09 Sep 2022 22:45:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=Cq2IH+ejpIku/+7BNDuyPn0f8KDNj9wN0rHC6+oKr+8=; b=S24Kidt6qwnVPZ0GFGnk8A4K9vSEAerkXuT6DJVKwPs7PpbcuRvQZmiUTYtT9T4SZf Ty3PG0HtXPxRDJd8hWs9TRdottarsIOv0RM7t46kgj1quXHocEQbDalc6u/yLE9Vn5+c P60+dYf0Y+h0QSIpdgaqcpMdS0KJIQKwmR1Z3JoOpeFnGJl5UM5NRvhzJbHzgC5kR1eT 6wsNY7k51YuhktAU91u30SoFmPMVn+skd9Ip7Sm/SW69lD428mdip4omxOe9/1+8n771 idlU9hxMYXvzEYPtupvNF6eNcxc18RUieevT8NYZLdaNNScY/dBYanr/7WrJJ1O7hy1n WrUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=Cq2IH+ejpIku/+7BNDuyPn0f8KDNj9wN0rHC6+oKr+8=; b=OVxhBXBctzUqxHeNmnV3+EBXh+JIaBBfuwc2jXnYD15nOySQuzKg46wHd+bsxSk6fH 4OWYLKZkJPhax1ySwOk7llRoLO3suAfQHJPutRXEcAFlGD1AsAsFulqosewZ/pGPJlUH rHHOquOj/yEuSzTTr3+9LgsNb2T6TT5Kk2WJVR6CtYhVsE6TUkj9+fQXrjSQvjaKnn21 8sPNXFaQvQWNsZnMsp9YJ7+1idgEG5Y2dvqnGe5jnQ5awYMtWMkcV6x8GxW57dvMA7nz DLLrrB57J4Bos0HD+X8O6lDL7YTIwU5PcYgK6uMmhyD1jQixJcccBH4lX005d/WIxJqy G64A== X-Gm-Message-State: ACgBeo3f8hyNX8EMfFA1dOHKig32tewNyxpDZZwIZdvloGOK8nZfbZ7g g2GKlUHfP/PMFeB2khdM2v7oE/d2Uqimlg== X-Google-Smtp-Source: AA6agR7oqUcIYIBYf2pGimbFhCFc0umOYrcMaG+DqyxXaqBzTvrH5rczfSaUs5jIcOBO7mN5mtImtg== X-Received: by 2002:a63:f40e:0:b0:434:e565:3304 with SMTP id g14-20020a63f40e000000b00434e5653304mr14882671pgi.111.1662788708720; Fri, 09 Sep 2022 22:45:08 -0700 (PDT) Received: from localhost ([1.83.154.15]) by smtp.gmail.com with ESMTPSA id t10-20020a1709027fca00b001714c36a6e7sm1349857plb.284.2022.09.09.22.45.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Sep 2022 22:45:08 -0700 (PDT) From: Ihor Radchenko To: sebastien.rey-coyrehourcq@univ-rouen.fr Cc: Alan Schmitt , emacs-orgmode Subject: Re: contact management in emacs In-Reply-To: <090c6ca8-62e1-edcd-d348-688281c4840d@univ-rouen.fr> References: <87lfb9bwff.fsf@m4x.org> <090c6ca8-62e1-edcd-d348-688281c4840d@univ-rouen.fr> Date: Sat, 10 Sep 2022 13:46:02 +0800 Message-ID: <87leqrzsrp.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=yantar92@gmail.com; helo=mail-pg1-x530.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662790081; 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:dkim-signature; bh=Cq2IH+ejpIku/+7BNDuyPn0f8KDNj9wN0rHC6+oKr+8=; b=AxxVTF94w13AycJMWwM2nWEsn4CM1dsDGl22amlIHztgEZpodS8vNau9XpeLB0GQAKLQIG iSzLFV64HOIF2Kh/tM7nAFcWEdc9XHmTwFvBnvDCLOLUcCN5L83PGFefpbec4Az/7gvRoj BcotDoQoCz1p3edAhAgKg0iHW+AkKsA/1QGkxrU0Rl48EEnFXTDb9vhoqrH8DmLwg2Wm+e KZu1kFyRqriPWtxSAmKUK3bvhSOe81NLTv60pZGRusC6yIWIvFTay9InVKwCmlAaKW7K25 MSTCLl4Gt216bLC4qKuqKzcv9iCNYRvsahSsjErQBfAXkq3BBbb05EX9vHPiOg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662790081; a=rsa-sha256; cv=none; b=WpY0sSjpuk50d1nwHfsE8fpkTCsTFupMqJOqbjLicN83dsFL4mXdF8gk9NipQGxWHBa/dc ImhTiKCr7EXfXg9O3ceHrOE3/jJMnrRluhcEaR8zsCVYX9iR/IqmX2OcbMjzeHOwoJIOFe rIqTNF0EZjYmrSpaSwvI2RurQbkSnxOteonClDZjLmzSflbWJisuYgKG3tH+xvtWqAQonT q2EWhJtmRiOv4pmYoQeuXgyCDd39wkST8RBfh+Yxr1f9fUs8VncUAAPH+f4hCFZe1HEReH 8eC6hdb/Hb0IcvYagGGJLFVJdpa4i1VIVgOhgTskuBaYeinE6PGeZpP9Rn1opA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=S24Kidt6; dmarc=pass (policy=none) header.from=gmail.com; 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: -1.79 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=S24Kidt6; dmarc=pass (policy=none) header.from=gmail.com; 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: 3B26B18C45 X-Spam-Score: -1.79 X-Migadu-Scanner: scn1.migadu.com X-TUID: rRp5yvoSVoVG S=C3=A9bastien Rey-Coyrehourcq writes: > Moving from org-contrib to https://repo.or.cz/org-contacts.git ,=20 > accessible with melpa,=C2=A0 the documentation is mostly into the source-= code=20 > actually, i found few example on the web . > > What property field are correct :MOBILE:, :PHONE:, :BIRTHDAY: , and ? First, remember that org-contacts is built on top of generic Org search. org-contacts.el considers Org headline to be a contact record when it contains any of org-contacts-email-property org-contacts-alias-property org-contacts-tel-property org-contacts-address-property org-contacts-birthday-property properties. All the variables can be changed to your preference. > I config like that (org-contacts-file (file-expand-wildcards=20 > "~/my-org-roam-folder/contact/*.org.gpg)) > > It's slow because everything need to be unencrypted before (this is=20 > another problem ...) but something i don't understand is how matching=20 > work : > calling "M-x org-contacts", i try multiple patterns, so i'm interested=20 > by a working org/org-roam contact example. M-x org-contacts does a simple regexp matching across contacts. If you want integration with org-roam, you may probably want a custom org-roam matches equivalent to org-contacts-matcher. There is also M-x org-contacts-completing-read For the slowness of opening the contacts, you may consider doing M-x profiler-start .. M-x profiler-report to see what exactly is being slow. > I found some alternatives to test next week : > > - org-vcard (on github) compatible with org-contacts, focusing on=20 > import/export of vcard files > - mu4e-contacts (on gitlab) using helm / mu4e, inspired by org-contacts > - org-ql query ? org-ql may be an option though it works best for a single large Org file. You may have better luck using org-roam built-in search. I think that the most straightforward way to integrate with org-roam would be adding a "contact" tag to your contact records and then using the standard org-roam search. Hope it helps. --=20 Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92