From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: [elpa] externals/ebdb 9e7a96f: Add experimental ebdb-completion-at-point-function Date: Fri, 23 Mar 2018 20:10:55 +0800 Message-ID: <87y3ij56wg.fsf@ericabrahamsen.net> References: <20180323044822.32467.63948@vcs0.savannah.gnu.org> <20180323044823.1A70C20BDE@vcs0.savannah.gnu.org> <877eq3732w.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1521807189 25236 195.159.176.226 (23 Mar 2018 12:13:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Mar 2018 12:13:09 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Thomas Fitzsimmons Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 23 13:13:05 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ezLZB-0006Tk-DL for ged-emacs-devel@m.gmane.org; Fri, 23 Mar 2018 13:13:05 +0100 Original-Received: from localhost ([::1]:37665 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ezLbE-00060v-Lx for ged-emacs-devel@m.gmane.org; Fri, 23 Mar 2018 08:15:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ezLZu-0005cg-Ft for emacs-devel@gnu.org; Fri, 23 Mar 2018 08:13:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ezLZp-0001u0-L6 for emacs-devel@gnu.org; Fri, 23 Mar 2018 08:13:50 -0400 Original-Received: from mail.ericabrahamsen.net ([50.56.99.223]:52262) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ezLZp-0001pw-GE for emacs-devel@gnu.org; Fri, 23 Mar 2018 08:13:45 -0400 Original-Received: from localhost (unknown [116.233.40.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id BC386C0D6E; Fri, 23 Mar 2018 12:13:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.ericabrahamsen.net; s=mail; t=1521807218; bh=um+kjAouFCr7ga5birOiOt31cuQi7Smzu1JC80Dp414=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=TYe5lJS0VpL3hOxbMXz46mKL199V6aJuRJlIQo8JL8VW35QxGj0FRLg5Ju/zTeTmq PWtOx5UsRlqJ5bDMSjmt6fmehOmKVLqsnN2CsmSbysGMJf1OCj2zHP7+O8dX97OFB6 r/rfjaUfjM3Zp2Hue4Tq5ajVtUNgj8Vfb0tVYKNA= In-Reply-To: (Thomas Fitzsimmons's message of "Fri, 23 Mar 2018 06:54:10 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 50.56.99.223 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:223954 Archived-At: Thomas Fitzsimmons writes: > Eric Abrahamsen writes: > >> Stefan Monnier writes: >> >>>> +;; Experimental completion-at-point function. I'm not sure this is a >>>> +;; good idea yet -- with a large enough EBDB database, nearly any >>>> +;; string is completable, meaning the other completion-at-point >>>> +;; functions will rarely get a chance. > > See also: eudc-expand-inline, which works at point as long as the > to-be-completed string is the only thing between beginning-of-line and > point. This is what I use for inline BBDB and LDAP completion anywhere > in Emacs, not just in message-mode headers. It's useful, for example, > when adding someone's email address to an Org-mode entry (type a few > letters of their first name, then M-x eudc-expand-inline). > > Maybe we could add an EBDB backend for EUDC. To be honest, I never looked at what EUDC actually is. I'd be happy to add an EBDB backend, I'll put that on the list. Eric