From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Generic dispatcher Date: Sun, 30 Jun 2013 18:46:36 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1372633016 13634 80.91.229.3 (30 Jun 2013 22:56:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Jun 2013 22:56:56 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 01 00:56:56 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 1UtQYC-0005b9-08 for ged-emacs-devel@m.gmane.org; Mon, 01 Jul 2013 00:56:56 +0200 Original-Received: from localhost ([::1]:37617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtQYB-0005CZ-Ne for ged-emacs-devel@m.gmane.org; Sun, 30 Jun 2013 18:56:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtQY8-0005CD-4v for emacs-devel@gnu.org; Sun, 30 Jun 2013 18:56:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtQY7-0004YM-9m for emacs-devel@gnu.org; Sun, 30 Jun 2013 18:56:52 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:36561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtQY7-0004YH-5c for emacs-devel@gnu.org; Sun, 30 Jun 2013 18:56:51 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r5UMtlQ6005643; Sun, 30 Jun 2013 18:56:45 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 5F92DAE2E2; Sun, 30 Jun 2013 18:46:36 -0400 (EDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV4625=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4625> : streams <991935> : uri <1463284> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:161388 Archived-At: For epa/eww/mhe/... I think we should introduce a generic dispatcher. The way I see it, it would look like: - M-x mail RET runs one of the mail backends. First time around it prompts the user to choose a MUA, then stores the result in a Custom var and doesn't prompt any more. This would rely on a mail-alternatives variable holding various MUAs such as Gnus, MH-E, ... and third party packages can easily register themselves in this list via their autoloads. The user can reconsider his choice with C-u M-x mail RET in which case she gets prompted again. - same for M-x irc RET - same for M-x encrypt RET - same for M-x browse RET - we could push this further (e.g. auctex vs tex-mode.el) but I'm not sure it'd be such a great idea. Stefan