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: epa command names Date: Sun, 13 Nov 2011 07:41:12 +0100 Message-ID: <87d3cwfrsn.fsf@gmail.com> References: <87vcqpzw2w.fsf@gmail.com> <87ty693gt6.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1321166489 30869 80.91.229.12 (13 Nov 2011 06:41:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Nov 2011 06:41:29 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 13 07:41:25 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RPTkq-0005HV-VA for ged-emacs-devel@m.gmane.org; Sun, 13 Nov 2011 07:41:25 +0100 Original-Received: from localhost ([::1]:56065 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPTkq-0001kM-Ik for ged-emacs-devel@m.gmane.org; Sun, 13 Nov 2011 01:41:24 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:40280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPTkn-0001k0-HE for emacs-devel@gnu.org; Sun, 13 Nov 2011 01:41:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RPTkl-0005R0-QJ for emacs-devel@gnu.org; Sun, 13 Nov 2011 01:41:21 -0500 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:47173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPTkl-0005Qw-LZ; Sun, 13 Nov 2011 01:41:19 -0500 Original-Received: by bke17 with SMTP id 17so4273368bke.0 for ; Sat, 12 Nov 2011 22:41:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=EC3Wa2N77Zbj5IOMKQGCRWudZeLumSaTdcaBPHwu6jk=; b=F14VCtZOwCy5DzwW8Ov80mjh9M0PK/90xJopELYkWFZmW6nTiUP2oO/EVXNR3spyxs rLwMaGS+wqva8GK0nkD1QGbzjz8gm/0C/CuUvQHEnV1q5t17oJXgZbXfN6o5LFWelh1y WYliRx2NHvBIuNA28U+UdGAKXTC5bjUBkY5cI= Original-Received: by 10.205.134.143 with SMTP id ic15mr8121579bkc.45.1321166476647; Sat, 12 Nov 2011 22:41:16 -0800 (PST) Original-Received: from thierry-MM061 (56.78.88.79.rev.sfr.net. [79.88.78.56]) by mx.google.com with ESMTPS id z7sm23139563bka.1.2011.11.12.22.41.14 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 12 Nov 2011 22:41:15 -0800 (PST) In-Reply-To: (Richard Stallman's message of "Sat, 12 Nov 2011 18:32:37 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 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:146023 Archived-At: Richard Stallman writes: > I don't much like this option because of the inability to handle > conflicts. I'd much rather make M-x a bit more permissive such that M-x > mail-encrypt falls back to epa-mail-encrypt (probably via completion). > > An aliasing method like this could be a good method > if it is limited to certain names for which we want it. > > It loop in command list and does (string-match pattern "command_name"). > This allow to do: > M-x encrypt > which will match all commands _containing_ "encrypt" > > I do not want such eager completion. Natural abbreviations > that we specific want to encourage, such as > `encryot-file' for `epa-encrypt-file', should not depend > on a general mechanism that tries to abbreviate everything. anything will never match "encryot-file", just try it to have an idea of what it does and doesn't. http://repo.or.cz/w/anything-config.git -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997