From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: dabbrev-expand for the minibuffer Date: Thu, 28 Feb 2008 21:14:18 +0000 Message-ID: References: <200802232259.m1NMx6rY027848@sallyv1.ics.uci.edu> <87bq62qb35.fsf@jurta.org> <871w6yez0c.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204233295 9186 80.91.229.12 (28 Feb 2008 21:14:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Feb 2008 21:14:55 +0000 (UTC) Cc: juri@jurta.org, emacs-devel@gnu.org, Miles Bader To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 28 22:15:20 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 1JUq60-0004Js-RI for ged-emacs-devel@m.gmane.org; Thu, 28 Feb 2008 22:15:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUq5U-0003gm-GI for ged-emacs-devel@m.gmane.org; Thu, 28 Feb 2008 16:14:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUq5Q-0003gh-LW for emacs-devel@gnu.org; Thu, 28 Feb 2008 16:14:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUq5P-0003fH-4C for emacs-devel@gnu.org; Thu, 28 Feb 2008 16:14:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUq5P-0003fE-0J for emacs-devel@gnu.org; Thu, 28 Feb 2008 16:14:39 -0500 Original-Received: from ppsw-6.csi.cam.ac.uk ([131.111.8.136]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JUq5I-0008S3-7U; Thu, 28 Feb 2008 16:14:32 -0500 X-Cam-SpamDetails: Not scanned X-Cam-AntiVirus: No virus found X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Original-Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]:39159) by ppsw-6.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587) with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES256-SHA:256) id 1JUq5B-0001eq-Lb (Exim 4.67) (return-path ); Thu, 28 Feb 2008 21:14:25 +0000 In-Reply-To: (Richard Stallman's message of "Thu, 28 Feb 2008 11:41:35 -0500") User-Agent: Gnus/5.13 Emacs/23.0.60 (20080222) Fedora/8 (gnu/linux) 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:90780 Archived-At: On 2008-02-28 16:41 +0000, Richard Stallman wrote: > They seem like two implementations of the same thing; is there a reason > to have both? > > dabbrev is a "standard" feature, documented in the manual, with a > standard key binding. hippie-expand is more obscure. > > It may well be that hippie-expand can do everything dabbrev does and > more. But the crucial question is whether it is an upward-compatible > dabbrev replacement convenent for people like me that use dabbrev. > (I don't know the answer.) The most convincing way is to try the following setup and see if you have noticed any difference. --8<---------------cut here---------------start------------->8--- (global-set-key (kbd "M-/") 'hippie-expand) (setq hippie-expand-try-functions-list '(try-expand-dabbrev try-expand-dabbrev-all-buffers try-expand-dabbrev-from-kill)) --8<---------------cut here---------------end--------------->8--- Best, -- .: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :. Use the best OS -- http://www.fedoraproject.org/