From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Shmakov Newsgroups: gmane.emacs.bugs Subject: bug#19152: 25.0.50; Suggestions for M-x commands Date: Tue, 25 Nov 2014 09:09:33 +0000 Message-ID: <87lhmzsl2q.fsf_-_@violet.siamics.net> References: <87y4r77jbn.fsf@violet.siamics.net> <87lhn2uodm.fsf@violet.siamics.net> <87vbm5rsij.fsf_-_@violet.siamics.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1416906687 15517 80.91.229.3 (25 Nov 2014 09:11:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2014 09:11:27 +0000 (UTC) To: 19152@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 25 10:11:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1XtC9Z-0003rZ-JE for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Nov 2014 10:11:21 +0100 Original-Received: from localhost ([::1]:56109 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtC9W-0008Vo-Vv for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Nov 2014 04:11:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtC9N-0008TE-PU for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 04:11:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtC9J-0000rb-EL for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 04:11:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtC9H-0000rM-Vg for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 04:11:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XtC9H-0002Sc-Qg for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 04:11:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Shmakov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Nov 2014 09:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19152 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19152-submit@debbugs.gnu.org id=B19152.14169066489401 (code B ref 19152); Tue, 25 Nov 2014 09:11:03 +0000 Original-Received: (at 19152) by debbugs.gnu.org; 25 Nov 2014 09:10:48 +0000 Original-Received: from localhost ([127.0.0.1]:44559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtC91-0002RW-Vu for submit@debbugs.gnu.org; Tue, 25 Nov 2014 04:10:48 -0500 Original-Received: from fely.am-1.org ([78.47.74.50]:42283) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtC8z-0002R4-CC for 19152@debbugs.gnu.org; Tue, 25 Nov 2014 04:10:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=Q3IPGIx3hSvZObJkBFqWTAJLJoLCSb48OkdQB5bkEQM=; b=f1ZF0OGFg2Z/hIZIXBGQUg/SmQxewMVtJfuQE2OyDDz0iq1rqdM9rZ9LVEzAyjG/UqHNgzch8JpeqrN9134oVaTsIVRy/LV6QsxD2LS22ghGM28UyQfFEiJabO0/mPEMlCaciS0/7d1LgS52hrL+e8Z/k6BhzsSV7e577krP8Ec=; Original-Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XtC8t-00017f-KO for 19152@debbugs.gnu.org; Tue, 25 Nov 2014 09:10:40 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XtC7q-00013f-IW for 19152@debbugs.gnu.org; Tue, 25 Nov 2014 16:09:34 +0700 Mail-Followup-To: 19152@debbugs.gnu.org In-Reply-To: (Stefan Monnier's message of "Mon, 24 Nov 2014 09:57:11 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:96537 Archived-At: >>>>> Stefan Monnier writes: >> One more reason for the new features to provide a way for the user >> to opt out, =E2=80=93 just in case they turn to be buggy. > Options to circumvent bugs are a bad idea, in general (with > exceptions, of course, like everything, such as when the bug is > particularly hard to fix, or occurs in some code we can't control). Analogously speaking, isn=E2=80=99t --without-x-toolkit just an option to circumvent Gtk-related bugs? >>>> I believe there should be a variable to customize this behavior >>>> (say, suggest-shorter-command-limit; defaulting to 5, but with nil >>>> as an option to disable such suggestions altogether.) As a >>>> workaround, I=E2=80=99ve simply disabled it entirely (see the patch >>>> MIMEd.) >>> I don't think that's needed. >> The mere fact that bug#19152 was filed suggests otherwise. > An option to turn the feature off is fine. An option to choose the > number of chars we have to gain is not. Why not? Diff-wise, the difference is two lines only: one in defcustom, to allow for an integer value for the option; the other in execute-extended-command--shorter, to replace the currently magic 5. That said, I=E2=80=99m fine with doing it either way. --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A