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: Fri, 09 Jul 2010 16:46:04 +0200 Organization: ThierryVolpiatto Message-ID: <87oceg67df.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> <87iq4z5oj8.fsf@lifelogs.com> <878w5v2sqd.fsf@tux.homenetwork> <87eifn42on.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1278686957 27238 80.91.229.12 (9 Jul 2010 14:49:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Jul 2010 14:49:17 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 09 16:49:16 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 1OXEt8-0005Zq-VW for ged-emacs-devel@m.gmane.org; Fri, 09 Jul 2010 16:49:15 +0200 Original-Received: from localhost ([127.0.0.1]:53062 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXEt8-0008EA-CA for ged-emacs-devel@m.gmane.org; Fri, 09 Jul 2010 10:49:14 -0400 Original-Received: from [140.186.70.92] (port=56475 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXEt2-0008D6-30 for emacs-devel@gnu.org; Fri, 09 Jul 2010 10:49:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXEt0-0003bA-Ll for emacs-devel@gnu.org; Fri, 09 Jul 2010 10:49:07 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:34755) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXEt0-0003ay-94 for emacs-devel@gnu.org; Fri, 09 Jul 2010 10:49:06 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OXEsx-0005SF-DJ for emacs-devel@gnu.org; Fri, 09 Jul 2010 16:49:03 +0200 Original-Received: from 198.78.88-79.rev.gaoland.net ([79.88.78.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Jul 2010 16:49:03 +0200 Original-Received: from thierry.volpiatto by 198.78.88-79.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Jul 2010 16:49:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 84 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 198.78.88-79.rev.gaoland.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:k2E96aBb+nUYeeissjt3MI2VSRo= 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:126953 Archived-At: Hi Ted, sorry for late reply. Ted Zlatanov writes: > On Thu, 01 Jul 2010 16:15:38 +0200 Thierry Volpiatto wrote: > > TV> Ted Zlatanov writes: > >>> OK. Thanks for explaining. So from the user's viewpoint, it should be >>> enough to autoload all the front-end anything-* functions (from >>> anything.el ideally, so users don't have to know about >>> anything-config.el as you had it in your autoload example). Can you >>> make the necessary changes? Or will that require major work? > > TV> Maybe a function that autoload all as suggested by Dan? > TV> Would not need major work, but need to discuss it with Rubikitch. > > Wonderful, thank you. I don't think a function is neccessary as anything don't modify other things in emacs. There is now an anything-command-map that can be autoloaded at emacs startup. >>> Is there a list of the standard front-end functions (a subset of the >>> autoloads below) that should always be exposed (through keyboard >>> mappings, possibly in a menu) to Emacs users? The xfonts and file >>> selection ones should be in that list for sure. > > TV> In which menu should we add anything commands? > TV> I mean this kind of menu: > > TV> (easy-menu-define nil global-map > TV> "`anything' menu" > TV> `("Anything commands" > TV> ["Find files" anything-find-files t] > TV> ["Show xfonts" anything-xfonts t])) > > TV> Here it is in global menu, but maybe that should go in tools or don't > TV> know where.(i never used menus in emacs, toolbar is disabled here). > > The menu location is not so important. The point is to make a list of > "important" front-end functions that users should really know about. > The keyboard mappings are IMO much more important because anything-* > functions tend to be important while editing, not as an interactive > exploration (which menus do well). So when we have the list we can > propose a list of mappings and depending on whether the list has 10 or > 100 entries we can anticipate the mapping complexity. The anything-command-map is now prefixed at ' a', what can be discussed. If user like a command and want to replace it with standard emacs command, he can bind it to global-map (e.g anything-find-files <=> find-file ==> C-x C-f) There is also a menu showing important commands (again this list can be discussed) that appear when autoloading anything-command-map. > On Thu, 1 Jul 2010 16:48:48 +0200 Lennart Borgman wrote: > > LB> On Thu, Jul 1, 2010 at 4:15 PM, Thierry Volpiatto > LB> wrote: >>> >>> In which menu should we add anything commands? > > LB> I have suggested long ago to create a top level menu for all minor > LB> modes. That would make decisions like this easier. > > Exposing functionality creates UI complexity; Emacs is already really > complex both in UI terms and in scope. So I don't think adding a > general menu like that (have you seen how many minor modes Emacs has?) > would benefit the users. > > OTOH it would be very nifty if there was a anything-minor-mode function > that let you browse (with some help text) and activate minor modes. > > Ted > > > -- Thierry Volpiatto Gpg key: http://pgp.mit.edu/