From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6850097275616624640 X-Received: by 2002:a50:cd1a:: with SMTP id z26mr6164479edi.120.1594928765442; Thu, 16 Jul 2020 12:46:05 -0700 (PDT) X-BeenThere: supmua@googlegroups.com Received: by 2002:a05:6402:1d37:: with SMTP id dh23ls5838198edb.1.gmail; Thu, 16 Jul 2020 12:46:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLusvy+WGfjkppN9PQlv0PjBer0kzFupzuZvdtVmWi6c1qV3u8L7znmZTIBxbN12pL2uD3 X-Received: by 2002:aa7:d7d0:: with SMTP id e16mr6111684eds.10.1594928764613; Thu, 16 Jul 2020 12:46:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594928764; cv=none; d=google.com; s=arc-20160816; b=yGLaBvHetdVpx5qfADZ7NKmbMpBZtN4mhHajKx6ZgYEI/xOxAnyaJ5JEfhW1GNTirb fNafyFsJkLc1szD+RMOxNk6Qsqu6YpftSnYbgCV+b8oytjz0jnfcWibEBzru12JGyklK M3ijo2ZwaKMyX9aL5dtxuXeeLBh3dLxZTq78ZF23w2/OO0n1j0WdX4CnvqoMlRqcG9lh ECgKl0cJNwz/u2xqhG+VnANCKahO/Wcr7Er+A4gdSRAeQJ62vtT38sE4zUoqv/ku9Bnu nLZzNrPKrVsbo1yMsqLzik7rMqdoZMnSUaCz0i0+F4el6Rghrh9ucYggA9I37dZU2u2M P04g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:user-agent:message-id:date:in-reply-to :references:subject:to:from:dkim-signature:dkim-signature; bh=ray1K7pPpULRACWzV7mJ3R0vVHccOIYOWsKTRWrCm38=; b=WAgEr76hV0+iVIPK2ICInK8ecVb6mfl2BtaNOZEaGBOtvC3voNP4uzq9Y/0BFbejnP 5WKGmHWZTh0SWq3S5fdCP6Xv2L8nhdxW11mqRy6teSmLIJzKzosQiIruWwlP8a0yZzij mbZQXi5ANe89FL9B8+4CjbBsvl092Ch1VBxtH4J5Iyz7nG9EHf7VAdKWF3m8m2sN2rjf RXQmaDZipbs+IDx1L7b7nYSDA+szi7LE4sf38fOksf+eou6e0U3eY+Hab/ObKCHn3Dd2 kV9X+Dgvif81LjMqgvjUhJrVKevCs1QczuJGW/O5UUXXnLywDtZJWO47Cu8VzBMzFZuc TxRg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@parris.org header.s=fm1 header.b=JslAR75X; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=qpRcK6Ct; spf=pass (google.com: domain of ipv2.lst@parris.org designates 64.147.123.18 as permitted sender) smtp.mailfrom=ipv2.lst@parris.org Return-Path: Received: from wnew4-smtp.messagingengine.com (wnew4-smtp.messagingengine.com. [64.147.123.18]) by gmr-mx.google.com with ESMTPS id i18si353797edr.1.2020.07.16.12.46.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jul 2020 12:46:04 -0700 (PDT) Received-SPF: pass (google.com: domain of ipv2.lst@parris.org designates 64.147.123.18 as permitted sender) client-ip=64.147.123.18; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@parris.org header.s=fm1 header.b=JslAR75X; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=qpRcK6Ct; spf=pass (google.com: domain of ipv2.lst@parris.org designates 64.147.123.18 as permitted sender) smtp.mailfrom=ipv2.lst@parris.org Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.west.internal (Postfix) with ESMTP id 7CEADF43; Thu, 16 Jul 2020 15:46:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 16 Jul 2020 15:46:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=parris.org; h= content-type:from:to:subject:references:in-reply-to:date :message-id:content-transfer-encoding; s=fm1; bh=ray1K7pPpULRACW zV7mJ3R0vVHccOIYOWsKTRWrCm38=; b=JslAR75XXkN6pGbeCi08mX/IhFsazdj F14wGB/TSWqt9zQ0LP+z/lgSEBv55gbXHonxh6nyUInwsCP1HgbeTrfd1kamokza 0yEoUNiciK8WaKiHyl6rNKLJttfgOWwc7RemViApnSBwqtr8SMRbyFFXOSrgt4Lj 9kae2OdCoQtjX9DiXIGueVJkTQCBu/Ok1B+llLRijEPPO2VLpAE6xxUOGO8ng4+P mqYIGWiRQwm2r9O4X0a9Vf6hhIzfVi4MrbYNxsfZUrYUGnefHZYPhN7QqRNY3aVq 0dDPsQGbFq9TLhNGItooAZtX0GlM5f8kfbKpNIFUitaOSQLzu/aZ7AA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=ray1K7pPpULRACWzV7mJ3R0vVHccOIYOWsKTRWrCm38=; b=qpRcK6Ct LyHjAnGx3g0EnmLjXrujRJdTA+ajFQFwi+AzUJB3o24nXB7+G1WfRWyBDzkk4Ppa tZVO8xxmb7CRc9vgSNz9eTD4NBKDdmfooe4vU6BtjIsjlV7tpkt3hQDGXbklEidU bw4tvTobPB0xVYx9VKlw1wDbLC1S9BdEu/989weeZEMN2Tc06+1Uf9HQAr7O4gYM SdAmjDgttDMOPBPylMIZt0V3HKzJutYpcxsEYbTjkY0ay1PcRbywgK4CB9OKwykv hlJjtcEBuYIF8BuG0rFmOow+zWmj7aoPsd4Khj5f9KKddQodSi3Fh5zQ+0eGH5Cp 9M124uS9cnyqGA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrfeeggddugedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgoufhushhpvggtthffohhmrghinhculdegledmne cujfgurheptgfhvffufhgjfffkfgfgsehtkeertddtreejnecuhfhrohhmpefkrghinhcu rfgrrhhrihhsuceoihhpvhdvrdhlshhtsehprghrrhhishdrohhrgheqnecuggftrfgrth htvghrnhepfefglefhhfefgeelvdehudegvddugfejleejhfdtvedtleevudeigfdtleff vedunecuffhomhgrihhnpehfihhlvgdrshhuphdpghhithhhuhgsrdgtohhmpdhgihhtlh grsgdrihhopdhgihhthhhusgdrihhonecukfhppeeivddrfedrieegrdegudenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehiphhvvddrlhhsth esphgrrhhrihhsrdhorhhg X-ME-Proxy: Received: from localhost (unknown [62.3.64.41]) by mail.messagingengine.com (Postfix) with ESMTPA id 5BD6E306005F; Thu, 16 Jul 2020 15:46:01 -0400 (EDT) Content-Type: text/plain; charset=UTF-8 From: Iain Parris To: supmua Subject: Re: [sup] Managing Contacts References: In-reply-to: Date: Thu, 16 Jul 2020 20:46:00 +0100 Message-Id: <1594927065-sup-8296@ceres> User-Agent: Sup/1.0 Content-Transfer-Encoding: 8bit Hi Robert, Excerpts from Robert Winkler's message of 2020-07-16 08:15:56 -0700: > Hi, I already got extensive contact lists (>1,000) in various formats and > run a manually maintained list on an LDAP server for the really important > contacts. > > How can I easily use or import contacts for the To: CC: and BCC: fields? General contacts usage is: - Global keybinding "C" - list contacts. - To specify a recipient (To/Cc/Bcc): when prompted to enter the recipient (e.g., after pressing "c" for "compose"), start typing, then press "tab" for suggestions. - In thread-view-mode, press "i" to be prompted to add to Sup's contacts list, with an optional alias. The contacts are sourced from file ~/.sup/contacts.txt, and from calling the "extra-contact-addresses" hook. So you have two main options. (1) ~/.sup/contacts.txt - Sup's built-in contacts file is ~/.sup/contacts.txt - This is written/read when Sup stops/starts, so make sure to quit Sup before editing it manually. - File format is one contact per line, with an optional alias. - Each line is in format like: alias: Person Name - "alias" is optional, and if omitted, then the line will look like: : Another Person - If you converted your contacts into this style, then you could create your own contacts.txt file, and Sup would use it. (2) extra-contact-addresses hook - This hook takes no input, and returns an array of email address strings that Sup is then aware of for tab-completion. - So you could alternatively write this hook to call any external program, and return in the format expected by Sup. - Two examples with "goobook" (for Google Account contacts) and "abook" (a general contact manager program that runs in the terminal) are here: . - So if (for example) you chose "abook", then you could use any method to import your contacts into "abook", and then use the Sup hook to make Sup aware of abook's contacts. - abook is able to import ldif, so may be a natural choice. Further reading on abook: . For other general information about Sup's contact lists, see also: . Kind regards, Iain