From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Org-contacts and extra spaces Date: Tue, 24 Sep 2019 09:59:17 -0700 Message-ID: <8736gliqai.fsf@ericabrahamsen.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36694) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCo9w-00048k-Eu for emacs-orgmode@gnu.org; Tue, 24 Sep 2019 12:59:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCo9v-0005G7-Ef for emacs-orgmode@gnu.org; Tue, 24 Sep 2019 12:59:28 -0400 Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226]:33116 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iCo9v-0005DK-7o for emacs-orgmode@gnu.org; Tue, 24 Sep 2019 12:59:27 -0400 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1iCo9r-000rUs-L6 for emacs-orgmode@gnu.org; Tue, 24 Sep 2019 18:59:23 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Norman Walsh writes: > Hi, > > If I complete an email address with org-contacts, I get extra spaces > after the email address: > > To: Jane Doe _ _ _ _[cursor] > > Is this just me? Before I go digging for a solution, has anyone else > encountered and fixed this? The only time I ever saw something like this was in message-mode, using C-M-i/completion-at-point to complete mail addresses. If I recall correctly, it was caused by message-mode's idiosyncratic partial support for the built-in completion mechanisms. In EBDB I had to add a cleanup function to `choose-completion-string-functions' to remove the whitespace. Could that be what you're seeing?