From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wojciech Meyer Newsgroups: gmane.emacs.devel Subject: Re: more on anything.el inclusion Date: Thu, 1 Jul 2010 19:57:54 +0100 Message-ID: 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=ISO-8859-1 X-Trace: dough.gmane.org 1278010702 15838 80.91.229.12 (1 Jul 2010 18:58:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Jul 2010 18:58:22 +0000 (UTC) To: Dan Nicolaescu , Thierry Volpiatto , rubikitch@ruby-lang.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 01 20:58:19 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 1OUOxl-0001vK-9W for ged-emacs-devel@m.gmane.org; Thu, 01 Jul 2010 20:58:17 +0200 Original-Received: from localhost ([127.0.0.1]:52054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUOxk-0004t8-Ri for ged-emacs-devel@m.gmane.org; Thu, 01 Jul 2010 14:58:16 -0400 Original-Received: from [140.186.70.92] (port=34670 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUOxa-0004oo-9P for emacs-devel@gnu.org; Thu, 01 Jul 2010 14:58:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OUOxV-00018E-4n for emacs-devel@gnu.org; Thu, 01 Jul 2010 14:58:06 -0400 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:38995) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUOxP-0000uE-EV; Thu, 01 Jul 2010 14:57:55 -0400 Original-Received: by wwi14 with SMTP id 14so2285642wwi.30 for ; Thu, 01 Jul 2010 11:57:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=abs6w7a7VFrZwUEVUzifGM+vyy1reMBgHgu3r4h4emU=; b=efjV0yV2FO361av323g3Eori7gfN/1Ib+g45rrInfJZBKB8Y13XN3nkfb0j8oEkXr7 5jbm4KXYu1P/pSPKyagMe3Uqvx8GozfFRKH54D3X6vKWVm4uYZxXRWjv3j+bo6sDOmfi EQfC/HMyoEZaFOTgxkFPI6VE8fXFOO5aBeBlQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ZwHmSEoncxnkhlY0cfS4jQT1dDzTqRxS2BPNkSX/wLWGhaikdansY7ioypiE1OtGiu dV9OzTHsLBfvEULBDNnu5cf6hyT2/fSKqRmDwqbQIhvm5e2bQabxDIUt+tEg510Xokuz DDjEfWig0/xBhW4vfJJrp1xzi43U4jjXLDqxs= Original-Received: by 10.103.80.8 with SMTP id h8mr4819475mul.90.1278010674128; Thu, 01 Jul 2010 11:57:54 -0700 (PDT) Original-Received: by 10.103.228.15 with HTTP; Thu, 1 Jul 2010 11:57:54 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:126651 Archived-At: I tried it at work today and I quite like it. To the extent I wanted immediately bind it to a key. The idea is about implict context, normally you have to supply conext in a form of specific function. To open a file you have to say M-x load-file or to switch to a buffer you have to say M-x ibuffer-switch, M-x anything try to guess the action based on a context and give you a choice. So in this case you just say M-x anything and type characters, and get list of options to do with the names or symbols containig those. Wojciech On 7/1/10, Dan Nicolaescu wrote: > 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. > >>> 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? > > 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) > >>> 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. > > -- Sent from my mobile device