From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: Generic dispatcher Date: Mon, 01 Jul 2013 09:01:43 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <877ghajux4.fsf@lifelogs.com> References: Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1372683915 553 80.91.229.3 (1 Jul 2013 13:05:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jul 2013 13:05:15 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 01 15:05:15 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Utdn8-0005EB-Am for ged-emacs-devel@m.gmane.org; Mon, 01 Jul 2013 15:05:14 +0200 Original-Received: from localhost ([::1]:33698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Utdn7-0003P9-SR for ged-emacs-devel@m.gmane.org; Mon, 01 Jul 2013 09:05:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Utdn0-0003GS-QV for emacs-devel@gnu.org; Mon, 01 Jul 2013 09:05:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Utdmz-0002UY-Lu for emacs-devel@gnu.org; Mon, 01 Jul 2013 09:05:06 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:47225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Utdmz-0002Tg-Fq for emacs-devel@gnu.org; Mon, 01 Jul 2013 09:05:05 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Utdmx-00054Q-OS for emacs-devel@gnu.org; Mon, 01 Jul 2013 15:05:03 +0200 Original-Received: from pool-72-93-34-251.bstnma.east.verizon.net ([72.93.34.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Jul 2013 15:05:03 +0200 Original-Received: from tzz by pool-72-93-34-251.bstnma.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Jul 2013 15:05:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-93-34-251.bstnma.east.verizon.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:8KOEpv0roii0qk4YMs4H+v9c+jA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161410 Archived-At: On Sun, 30 Jun 2013 18:46:36 -0400 Stefan Monnier wrote: SM> For epa/eww/mhe/... I think we should introduce a generic dispatcher. SM> The way I see it, it would look like: SM> - M-x mail RET runs one of the mail backends. First time around it SM> prompts the user to choose a MUA, then stores the result in a Custom SM> var and doesn't prompt any more. This would rely on SM> a mail-alternatives variable holding various MUAs such as Gnus, MH-E, SM> ... and third party packages can easily register themselves in this SM> list via their autoloads. The user can reconsider his choice with C-u SM> M-x mail RET in which case she gets prompted again. SM> - same for M-x irc RET SM> - same for M-x encrypt RET SM> - same for M-x browse RET SM> - we could push this further (e.g. auctex vs tex-mode.el) but I'm not SM> sure it'd be such a great idea. I think that's a good idea. But (as I mentioned in the "Rename `eww' to `web'" discussion) I think focusing on command names is the wrong approach for usability. These should be first-class commands in every way, accessible from a top-level menu and from a convenient key sequence. Maybe new modeline icons that respond to clicks. I just feel that putting them under `M-x whatever' will not help usability. Ted