From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: more on anything.el inclusion Date: Thu, 01 Jul 2010 20:14:59 +0200 Organization: ThierryVolpiatto Message-ID: <87pqz7nk64.fsf@tux.homenetwork> References: <87y6dydn6q.fsf@tux.homenetwork> <87iq509yji.fsf@lifelogs.com> <87mxucxt8w.fsf@tux.homenetwork> <87tyok8guu.fsf_-_@lifelogs.com> <87hbkkxow6.fsf@tux.homenetwork> <87pqz721fd.fsf@tux.homenetwork> <87hbkjhc8p.fsf@tux.homenetwork> <87r5jn8txt.fsf@tux.homenetwork> <87wrtfnms7.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1278008351 6893 80.91.229.12 (1 Jul 2010 18:19:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Jul 2010 18:19:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 01 20:19:10 2010 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.69) (envelope-from ) id 1OUOLd-0003OX-2L for ged-emacs-devel@m.gmane.org; Thu, 01 Jul 2010 20:19:06 +0200 Original-Received: from localhost ([127.0.0.1]:53147 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUOLP-0007x0-Uj for ged-emacs-devel@m.gmane.org; Thu, 01 Jul 2010 14:18:40 -0400 Original-Received: from [140.186.70.92] (port=54351 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUOLB-0007nf-IT for emacs-devel@gnu.org; Thu, 01 Jul 2010 14:18:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OUOL3-00030E-Oj for emacs-devel@gnu.org; Thu, 01 Jul 2010 14:18:23 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:52224) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUOL3-000303-EI for emacs-devel@gnu.org; Thu, 01 Jul 2010 14:18:17 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OUOKv-000350-Rf for emacs-devel@gnu.org; Thu, 01 Jul 2010 20:18:09 +0200 Original-Received: from 207.211.85-79.rev.gaoland.net ([79.85.211.207]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Jul 2010 20:18:09 +0200 Original-Received: from thierry.volpiatto by 207.211.85-79.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Jul 2010 20:18:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 97 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 207.211.85-79.rev.gaoland.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:+GOOj1cP2xZAgfCMyYqQ7atysT8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:126647 Archived-At: Dan Nicolaescu writes: > Thierry Volpiatto writes: > >> Dan Nicolaescu writes: >> >>>> Say you want to see how look dejavu fonts in emacs: >>>> M-x anything-xfonts RET >>> >>> Does this happen automatically when you do x-choose-font? >> >> Don't know what is x-choose-font, i have not such command. > > Sorry, x-select-font > BTW, anything-xfonts is not the best example, looking at fonts is not > a very frequent action. Can you give an example of a more frequent > operation / mode of operation. You can try anything-find-files that can be a replacement of C-x C-f IF YOU WANT. In any case, it will never replace standard C-x C-f (find-file) until you write explicitely in your .emacs (global-set-key (kbd "C-x C-f") 'anyting-find-files) ^ Notice the s at end. That the choice of the user to use the command he want. As you will see anything-find-files will give you in addition of an incremental search a bunch of actions on candidate: ,---- | Find File | Find file in Dired | Find file in Elscreen | Complete at point | Delete File(s) | Find file as root | Open file externally (C-u to choose) | Find file other window | Find file other frame `---- find file in elscreen appear in menu only if elscreen is loaded. complete at point provide file completion in any buffer in emacs (minibuffer compris) >>> As a user do I need to know a lot of anything-* function names, or >>> this happens automatically when I use completion? >> >> AFAIK M-x provide completion on all emacs commands, why not for anything >> commands? >> You can use anything-M-x or anything-emacs-commands as a replacement of >> M-x. > > So are you saying that instead of using M-x SOMETHING one would use > M-x anything-SOMETHING? Yes that is your choice, anything DONT REPLACE emacs commands unless you do it explicitely by binding command. > Normally users don't do M-x find-file, they to C-x C-f, so if you do C-x C-f do you get > M-x anything-find-file ? (and similar for other key bindings) No, as explained above, that's your choice, maybe one prefer using standard C-x C-f (find-file) and not anything-find-files. So you can install anything in emacs and continue to use emacs as you always did. >>> You might want to step back, and think about how to present this to >>> someone that has not idea what anything.el is, and what it can do. >> On the user point of view, there is nothing to understand, anything >> provide emacs commands like any other emacs package. >> >> So you do M-x anything- TAB and try differents commands. > > As a user, if the package does not quite tell me why would I want to > try it, I won't do it. That's why I am asking from some simple, easy > to understand, significant examples. > >>> (I still don't know after a few emails...) >> I assume you are joking. ;-) > > I am not. All I know that it's a package that does some kind of > completion that is activated after you do (require 'anything). But > it's unclear what type of completion, and why would I want to use it. > Please don't get this wrong, many people are saying it's a great > package, but the description can use some improvement. As Harald said, it's difficult to describe until you use it. -- Thierry Volpiatto Gpg key: http://pgp.mit.edu/