From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.devel Subject: Re: dabbrev-expand for the minibuffer Date: Mon, 25 Feb 2008 08:13:01 +0000 Message-ID: <87oda5bgj6.fsf@bzg.ath.cx> References: <200802232259.m1NMx6rY027848@sallyv1.ics.uci.edu> <87bq6670aw.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203927207 14236 80.91.229.12 (25 Feb 2008 08:13:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Feb 2008 08:13:27 +0000 (UTC) Cc: Dan Nicolaescu , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 25 09:13:52 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JTYT6-0004ZF-3O for ged-emacs-devel@m.gmane.org; Mon, 25 Feb 2008 09:13:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTYSa-0007an-Ai for ged-emacs-devel@m.gmane.org; Mon, 25 Feb 2008 03:13:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JTYSV-0007aZ-87 for emacs-devel@gnu.org; Mon, 25 Feb 2008 03:13:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JTYSQ-0007Ul-MK for emacs-devel@gnu.org; Mon, 25 Feb 2008 03:13:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTYSQ-0007Ua-ID for emacs-devel@gnu.org; Mon, 25 Feb 2008 03:13:06 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JTYSQ-0005Cl-62 for emacs-devel@gnu.org; Mon, 25 Feb 2008 03:13:06 -0500 Original-Received: from ug-out-1314.google.com ([66.249.92.173]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JTYSP-00034D-6u for emacs-devel@gnu.org; Mon, 25 Feb 2008 03:13:05 -0500 Original-Received: by ug-out-1314.google.com with SMTP id a2so761163ugf.48 for ; Mon, 25 Feb 2008 00:13:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:cc:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; bh=vMtKN7gkN6v5dXRc33DRuADnmbwMV/SRcKiikxHZAZE=; b=LPsUv11zBLjyt43YS5dBy5yBiXC563nPMqDLREc/FkxUDpVj4I5n1u89ZfiJMeANAU5jzRownGHm0vewC8jGUM+HIgVyIT0hG2S/PDY6j3bTnm0ih0p5zM1NCOmOvru3wMi2XPRodzNeaxw6hdUPPrqUg0tdv9y3BKB1jN8rL3Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; b=EQnJrxmzz/KB335MrNaUjSwpzSVELI0khYEQCet+BLpmcABprprSPxWf+Ass0b6Y0Qll0chpkdqoMoH2rJjRS6o1+hnivivNz6pLH0jrrbmfpqwiA3nZOvAcq4JWX1n1V4HrImeHh80NnYnwfgggPFHGdOqfhM3lGbDOKLgMezM= Original-Received: by 10.67.95.4 with SMTP id x4mr2806397ugl.26.1203927183844; Mon, 25 Feb 2008 00:13:03 -0800 (PST) Original-Received: from bzg.ath.cx ( [88.140.223.96]) by mx.google.com with ESMTPS id v23sm7528286fkd.1.2008.02.25.00.13.02 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 25 Feb 2008 00:13:03 -0800 (PST) Original-Received: by bzg.ath.cx (Postfix, from userid 1000) id 2AD8E1575BD; Mon, 25 Feb 2008 08:13:00 +0000 (GMT) In-Reply-To: <87bq6670aw.fsf@jurta.org> (Juri Linkov's message of "Sun, 24 Feb 2008 19:35:55 +0200") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:90359 Archived-At: Juri Linkov writes: >> I am not sure what is the proper way to integrate this functionality, >> it would be great if someone that knows dabbrev could either add >> something similar to this code, or do it in a better way and provide it >> by default. > > Good idea. dabbrev.el has already two customizable options: > > dabbrev-check-all-buffers > dabbrev-check-other-buffers > > so it could also provide a new option: > > dabbrev-check-minibuffers I would also add `dabbrev-check-kill-ring'. I often kill a whole region and expect dabbrev (or hippie-expand) to provide completion on words I've been writing in the current session, even if I deleted them. -- Bastien