From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 10 16:51:48 2014 Received: (at submit) by debbugs.gnu.org; 10 Nov 2014 21:51:48 +0000 Received: from localhost ([127.0.0.1]:56425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnwsF-0006DB-VV for submit@debbugs.gnu.org; Mon, 10 Nov 2014 16:51:48 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50609) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnwsD-0006Cz-Os for submit@debbugs.gnu.org; Mon, 10 Nov 2014 16:51:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xnws6-0004SR-6O for submit@debbugs.gnu.org; Mon, 10 Nov 2014 16:51:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:39867) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xnws6-0004SM-35 for submit@debbugs.gnu.org; Mon, 10 Nov 2014 16:51:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xnwrz-0000JS-Qp for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2014 16:51:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xnwrt-0004EK-Ei for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2014 16:51:31 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:46687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xnwrt-0004BH-7r for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2014 16:51:25 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1XnwrY-00022c-2l for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2014 22:51:04 +0100 From: Lars Magne Ingebrigtsen To: bug-gnu-emacs@gnu.org Subject: 25.0.50; Suggestions for M-x commands X-Now-Playing: The Cure's _Kiss Me, Kiss Me, Kiss Me_ X-Hashcash: 1:23:141110:bug-gnu-emacs@gnu.org::nu/0BgLTXlWO1+LM:0000000000000000000000000000000000000000Bh+e Date: Mon, 10 Nov 2014 22:51:03 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1XnwrY-00022c-2l X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1416261064.22594@5zpP3xQMg9e/aTJcdCdc7Q X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) I just typed `M-x eww RET foo RET', and after displaying the search results, Emacs helpfully said You can run the command `eww' with M-x ew RET I don't think that's particularly helpful, actually. Just distracting. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 10 20:38:15 2014 Received: (at 19013) by debbugs.gnu.org; 11 Nov 2014 01:38:15 +0000 Received: from localhost ([127.0.0.1]:56716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xo0PO-0006JT-9X for submit@debbugs.gnu.org; Mon, 10 Nov 2014 20:38:14 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:40258) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xo0PK-0006JH-5R for 19013@debbugs.gnu.org; Mon, 10 Nov 2014 20:38:10 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvAMAOatTlRLd+sd/2dsb2JhbABcgw6DYoZ+yDmDGgQCAoEcFwEBfIQDAQEDAVYjBQsLNBIUGA0kiEsJy3IBAQEBAQEEAQEBAR6NS4M9B4RLBYtkpjyBb4QWH4J6AQEB X-IPAS-Result: AvAMAOatTlRLd+sd/2dsb2JhbABcgw6DYoZ+yDmDGgQCAoEcFwEBfIQDAQEDAVYjBQsLNBIUGA0kiEsJy3IBAQEBAQEEAQEBAR6NS4M9B4RLBYtkpjyBb4QWH4J6AQEB X-IronPort-AV: E=Sophos;i="5.04,797,1406606400"; d="scan'208";a="96603142" Received: from 75-119-235-29.dsl.teksavvy.com (HELO pastel.home) ([75.119.235.29]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 10 Nov 2014 20:38:09 -0500 Received: by pastel.home (Postfix, from userid 20848) id CDFAB735D; Mon, 10 Nov 2014 20:38:08 -0500 (EST) From: Stefan Monnier To: Lars Magne Ingebrigtsen Subject: Re: bug#19013: 25.0.50; Suggestions for M-x commands Message-ID: References: Date: Mon, 10 Nov 2014 20:38:08 -0500 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 10 Nov 2014 22:51:03 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 19013 Cc: 19013@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > I just typed `M-x eww RET foo RET', and after displaying the search > results, Emacs helpfully said > You can run the command `eww' with M-x ew RET > I don't think that's particularly helpful, actually. Just distracting. Maybe we should only display it if the shorthand is at least 2 chars shorter? Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 10 21:08:50 2014 Received: (at 19013) by debbugs.gnu.org; 11 Nov 2014 02:08:50 +0000 Received: from localhost ([127.0.0.1]:56729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xo0sz-00070p-RL for submit@debbugs.gnu.org; Mon, 10 Nov 2014 21:08:50 -0500 Received: from mail-ob0-f173.google.com ([209.85.214.173]:60865) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xo0sy-00070h-2P for 19013@debbugs.gnu.org; Mon, 10 Nov 2014 21:08:48 -0500 Received: by mail-ob0-f173.google.com with SMTP id wn1so6810319obc.32 for <19013@debbugs.gnu.org>; Mon, 10 Nov 2014 18:08:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:reply-to:cc:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=KnxXmfcL1GAFrRrBmD90yYvp6f39V2tqiHLCyt16rVo=; b=y6FjFqF9Bc8n1Yndo0gMJ7OCeO02CLfmcRwWnw4toYBOWsr3QEU7b+G8rA27AKmTQN QPh7+3e90/l69O9VUANwlSGBeOGZrkypHe5SXTh6g2EsxQmchdoipCVL9loF7oC7ieO/ Ci7JCxIwzYHvSYLjj4CnXUO++gG/jYQ3LIwomkmZuF7pCniznascIri59NCdVmnAjz/6 Yp54LghR2IgmBDLtcF9AZKK4LaNC19miggofH00uErFgBUEvF+L2iRsH37AvRvpgnEsk D2kUy3rzbJ99UqFKn/KutXX/bZMT/yTPH78ly1yYCTyLmwPvJSY0BIqNu7C3Asyehjx/ ddQg== X-Received: by 10.60.150.129 with SMTP id ui1mr29732734oeb.38.1415671727355; Mon, 10 Nov 2014 18:08:47 -0800 (PST) Received: from belanger-home (184-155-90-233.cpe.cableone.net. [184.155.90.233]) by mx.google.com with ESMTPSA id 66sm7572585oid.20.2014.11.10.18.08.46 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 10 Nov 2014 18:08:46 -0800 (PST) From: Jay Belanger To: 19013@debbugs.gnu.org Subject: Re: bug#19013: 25.0.50; Suggestions for M-x commands References: Date: Mon, 10 Nov 2014 20:08:48 -0600 In-Reply-To: (Stefan Monnier's message of "Mon, 10 Nov 2014 20:38:08 -0500") Message-ID: <878ujibia7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19013 Cc: jay.p.belanger@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: jay.p.belanger@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >> You can run the command `eww' with M-x ew RET >> I don't think that's particularly helpful, actually. Just distracting. > > Maybe we should only display it if the shorthand is at least > 2 chars shorter? I would think that if I was just starting off with Emacs, then some of the M-x shortcuts would look cryptic and would still be more distracting than helpful, particularly if I didn't know that the shortcut was the minimum needed to complete to the actual command name. Also, I wonder if the minimum shortcut could change if a user had more packages loaded. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 10 21:46:09 2014 Received: (at 19013) by debbugs.gnu.org; 11 Nov 2014 02:46:09 +0000 Received: from localhost ([127.0.0.1]:56750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xo1T6-0007tr-V0 for submit@debbugs.gnu.org; Mon, 10 Nov 2014 21:46:09 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:39916) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xo1T4-0007tj-Tj for 19013@debbugs.gnu.org; Mon, 10 Nov 2014 21:46:07 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Xo1Sm-0005dZ-Lz; Tue, 11 Nov 2014 03:45:48 +0100 From: Lars Magne Ingebrigtsen To: Stefan Monnier Subject: Re: bug#19013: 25.0.50; Suggestions for M-x commands References: Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEUOCgkUDw4RDQwQCwtJ RUJbfo3SAAACgklEQVQ4jUVUgbEjOwgjcQMP2wWsIQXYcAV873P/NX1pczOXZDKJZZAQsFKG/ntZ rZ7h06qLW0mzMUwVXz7TM2eaS8WpVRtq+OF+MSJxIFot3VrEFJmSCJhBUJAYOOLTpUixgnPzYgQU uXE3pZRYIBmj2iWPGhBlgKOSqA6tYfKo/fIjtFb7q5tAxR2oWrheEUTZSg4kAmbm1DGIIsofDl/8 GqxDUa2725ejaXXGIOAXzDz/AhWCq9ZM64SbwZWH46uM96DPw+iGUJ4rbImMtJt1wMK8hAa8w1Bx xrVu8/6Gu0hVMq/MVasi4AO124LWiQfeyjJh6kbeg2SAZCE5OIy+QKnpZoc8BHXWv40FYD4OS08T SBgUbAqZ/H2MPYTcQXs6OzBblLCTJUtxeSRAe0qujjM7d5b5dnB4jBYp0crve0p8tp5LkIoFm83x 5+57/yDm7JO+UHnQuDxn9nMOGn+QLAGwUejr2XMdVQzL55xWliSrMjvnyviPo6WdQAEA8fWD8IDX sA75Ts2QwfOK5GHRUJpPAPBMnmnq57bQ+sOKGbLrEPYVAWj5p+rZHWLxajARTuEf5mbDTOYnoFS1 GxjMV2tjysj5AC+BAwywHNaW/ujPA+whfY9+FAvS2ZDNa+QgoP1uGL++O2fv9QTMF4GDRkWOrfv0 1k/23mQJru1n2D/kxOfOV9JE9vrZFzChEE0FC4aVqdQd7lguzPpoE5zoKIZ63EjTNQN3Zr9Tlq0t 7IflZx+/BiZks/tY3tGexbG+z5vLlEs7ipXasYPo3mz1tzjWAvEIMpHXE3Fd/aOLW8IJa1IuDAsA CPqA11iNYimcD4/1fQBgcP49mwb2IK7/AV4jmo5/rdssAAAAAElFTkSuQmCC X-Now-Playing: Japan's _Oil On Canvas (2)_: "Temple of Dawn" X-Hashcash: 1:23:141111:19013@debbugs.gnu.org::UgzhybWf8OxLGUpE:00000000000000000000000000000000000000006hS1 X-Hashcash: 1:23:141111:monnier@iro.umontreal.ca::BI1UnaYKYbDfXZeU:0000000000000000000000000000000000000JSgj Date: Tue, 11 Nov 2014 03:45:48 +0100 In-Reply-To: (Stefan Monnier's message of "Mon, 10 Nov 2014 20:38:08 -0500") Message-ID: User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1Xo1Sm-0005dZ-Lz X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1416278748.81033@2Pbc4e/cwjnkNFWWRPiTxw X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19013 Cc: 19013@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Stefan Monnier writes: >> I just typed `M-x eww RET foo RET', and after displaying the search >> results, Emacs helpfully said >> You can run the command `eww' with M-x ew RET >> I don't think that's particularly helpful, actually. Just distracting. > > Maybe we should only display it if the shorthand is at least > 2 chars shorter? Or... 10 chars shorter? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 10 23:01:17 2014 Received: (at 19013) by debbugs.gnu.org; 11 Nov 2014 04:01:17 +0000 Received: from localhost ([127.0.0.1]:56772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xo2dp-0001FH-1A for submit@debbugs.gnu.org; Mon, 10 Nov 2014 23:01:17 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:46190) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xo2dm-0001Ez-3k for 19013@debbugs.gnu.org; Mon, 10 Nov 2014 23:01:14 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvUMAOatTlRLd+sd/2dsb2JhbABcgw6DYoZ+yDmDFgEDBAICgRwXAQF8hAMBAQMBViMFCws0EhQYDSSISwnLcgEBAQEBAQEDAQEBAQEdjUuDPQeESwWLZKY8gW+EFh+CegEBAQ X-IPAS-Result: AvUMAOatTlRLd+sd/2dsb2JhbABcgw6DYoZ+yDmDFgEDBAICgRwXAQF8hAMBAQMBViMFCws0EhQYDSSISwnLcgEBAQEBAQEDAQEBAQEdjUuDPQeESwWLZKY8gW+EFh+CegEBAQ X-IronPort-AV: E=Sophos;i="5.04,797,1406606400"; d="scan'208";a="96608547" Received: from 75-119-235-29.dsl.teksavvy.com (HELO pastel.home) ([75.119.235.29]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 10 Nov 2014 23:01:13 -0500 Received: by pastel.home (Postfix, from userid 20848) id 1D10A735D; Mon, 10 Nov 2014 23:01:13 -0500 (EST) From: Stefan Monnier To: Jay Belanger Subject: Re: bug#19013: 25.0.50; Suggestions for M-x commands Message-ID: References: <878ujibia7.fsf@gmail.com> Date: Mon, 10 Nov 2014 23:01:13 -0500 In-Reply-To: <878ujibia7.fsf@gmail.com> (Jay Belanger's message of "Mon, 10 Nov 2014 20:08:48 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 19013 Cc: 19013@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > Also, I wonder if the minimum shortcut could change if a user had more > packages loaded. Of course, it can (not that some other even shorter one can appear, but rather that this shortcut becomes insufficient). Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 16 14:39:47 2014 Received: (at 19013) by debbugs.gnu.org; 16 Nov 2014 19:39:48 +0000 Received: from localhost ([127.0.0.1]:35574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xq5fn-00016T-7D for submit@debbugs.gnu.org; Sun, 16 Nov 2014 14:39:47 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:34787) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xq5fk-00016G-MN for 19013@debbugs.gnu.org; Sun, 16 Nov 2014 14:39:45 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Xq5fN-0006dB-BX; Sun, 16 Nov 2014 20:39:21 +0100 From: Lars Magne Ingebrigtsen To: Stefan Monnier Subject: Re: bug#19013: 25.0.50; Suggestions for M-x commands References: X-Now-Playing: Kraftwerk's _Computer World_: "It's More Fun To Compute" X-Hashcash: 1:23:141116:19013@debbugs.gnu.org::W+wqHTP5sC5SsRFJ:000000000000000000000000000000000000000014hi X-Hashcash: 1:23:141116:monnier@iro.umontreal.ca::ixMseINvEB/9Sr2m:00000000000000000000000000000000000013Erp Date: Sun, 16 Nov 2014 20:39:20 +0100 In-Reply-To: (Stefan Monnier's message of "Mon, 10 Nov 2014 20:38:08 -0500") Message-ID: User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1Xq5fN-0006dB-BX X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1416771561.42358@msudc9t1uDRTpdkupA24yg X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19013 Cc: 19013@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Stefan Monnier writes: >> I just typed `M-x eww RET foo RET', and after displaying the search >> results, Emacs helpfully said >> You can run the command `eww' with M-x ew RET >> I don't think that's particularly helpful, actually. Just distracting. > > Maybe we should only display it if the shorthand is at least > 2 chars shorter? I made it a five-char limit. I don't think it makes sense to recommend not-very-mnemonic commands to users if they aren't significantly shorter. And the shortcuts can change depending on what's loaded, so... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 16 14:41:26 2014 Received: (at 19013) by debbugs.gnu.org; 16 Nov 2014 19:41:26 +0000 Received: from localhost ([127.0.0.1]:35578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xq5hO-0001A8-13 for submit@debbugs.gnu.org; Sun, 16 Nov 2014 14:41:26 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:44368) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xq5hM-00019y-1T for 19013@debbugs.gnu.org; Sun, 16 Nov 2014 14:41:24 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Xq5h3-0006eg-Pt; Sun, 16 Nov 2014 20:41:05 +0100 From: Lars Magne Ingebrigtsen To: Stefan Monnier Subject: Re: bug#19013: 25.0.50; Suggestions for M-x commands References: X-Now-Playing: Kraftwerk's _Computer World_: "It's More Fun To Compute" X-Hashcash: 1:23:141116:19013@debbugs.gnu.org::vuKANWF5AiX9z7Yt:0000000000000000000000000000000000000000ThwN X-Hashcash: 1:23:141116:monnier@iro.umontreal.ca::BsGMf0AVrQvZcnia:0000000000000000000000000000000000000ZGmT Date: Sun, 16 Nov 2014 20:41:05 +0100 In-Reply-To: (Stefan Monnier's message of "Mon, 10 Nov 2014 20:38:08 -0500") Message-ID: User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1Xq5h3-0006eg-Pt X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1416771666.30258@p93IZ/W5RcQVnZAoMKelZA X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19013 Cc: 19013@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) By the way, there are things like (unless (or binding executing-kbd-macro (not (symbolp function)) (<= (length (symbol-name function)) 2)) in the code, and reading it, I don't understand the reason for the `(not (symbolp function))' bit. It seems like something should have bugged out a lot earlier if `function' isn't a symbol? Am I misreading the code? (Not to mention that `(unless (or ...))' is... Doubleplusungood.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 16 14:41:29 2014 Received: (at control) by debbugs.gnu.org; 16 Nov 2014 19:41:29 +0000 Received: from localhost ([127.0.0.1]:35581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xq5hR-0001AP-DP for submit@debbugs.gnu.org; Sun, 16 Nov 2014 14:41:29 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:44374) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xq5hP-0001AG-Cg for control@debbugs.gnu.org; Sun, 16 Nov 2014 14:41:27 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Xq5h7-0006ep-59 for control@debbugs.gnu.org; Sun, 16 Nov 2014 20:41:09 +0100 Date: Sun, 16 Nov 2014 20:41:08 +0100 Message-Id: To: control@debbugs.gnu.org From: Lars Magne Ingebrigtsen Subject: control message for bug #19013 X-MailScanner-ID: 1Xq5h7-0006ep-59 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1416771669.91099@l3zeafg6aVEeZXy9oL5tdA X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) tags 19013 fixed close 19013 25.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 19 02:15:11 2014 Received: (at 19013) by debbugs.gnu.org; 19 Nov 2014 07:15:11 +0000 Received: from localhost ([127.0.0.1]:37756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XqzTm-0008P6-U6 for submit@debbugs.gnu.org; Wed, 19 Nov 2014 02:15:10 -0500 Received: from fely.am-1.org ([78.47.74.50]:41343) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XqzTg-0008OL-Mx for 19013@debbugs.gnu.org; Wed, 19 Nov 2014 02:15:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=XfgRAC21AX7t15O0CzTkxY7YkzBawX68Wm8f+t4DjIM=; b=pjy2MN5crDqhx3idFtRuA8IxgS1lX0MmpQ/ZwLE/ZUTZc1qvAyc47wydroGoVx7wSdjwq3IvQHv77/rKiNNpuPSCjc8G0SpqnpTFuhGWuTXL/Z9FcDWxG90JwLOTsxSRis2rw1+VmoorDUu47N56ZIVHXWHooBCpzD5VmliiwjY=; 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 1XqzTg-0001YH-0S for 19013@debbugs.gnu.org; Wed, 19 Nov 2014 07:15:00 +0000 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 1XqzTY-0005A8-I0 for 19013@debbugs.gnu.org; Wed, 19 Nov 2014 14:14:52 +0700 From: Ivan Shmakov To: 19013@debbugs.gnu.org Subject: Re: bug#19013: 25.0.50; Suggestions for M-x commands References: Date: Wed, 19 Nov 2014 07:14:52 +0000 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 10 Nov 2014 22:51:03 +0100") Message-ID: <87y4r77jbn.fsf@violet.siamics.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 19013 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> Lars Magne Ingebrigtsen writes: > I just typed `M-x eww RET foo RET', and after displaying the search > results, Emacs helpfully said > You can run the command `eww' with M-x ew RET > I don't think that's particularly helpful, actually. Just > distracting. And even more so, =E2=80=93 M-x beginning-of-visual-line RET; then, after some time, =E2=80=93 M-x RET =E2=80=93 the same message gets sh= own, even though M-x is for sure shorter than M-x b-v. 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.) --=20 FSF associate member #7257 np. Epilogue (Relief) =E2=80=94 Apocalyptica = =E2=80=A6 230E 334A --=-=-= Content-Type: text/diff Content-Disposition: inline --- a/lisp/simple.el +++ b/lisp/simple.el @@ -1680,7 +1680,7 @@ defun execute-extended-command (prefixarg &optional command-name typed) ((numberp suggest-key-bindings) suggest-key-bindings) (t 2))))) (when (and waited (not (consp unread-command-events))) - (unless (or binding executing-kbd-macro (not (symbolp function)) + (unless (or t binding executing-kbd-macro (not (symbolp function)) (<= (length (symbol-name function)) 2)) ;; There's no binding for CMD. Let's try and find the shortest ;; string to use in M-x. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 23 06:51:30 2014 Received: (at 19013) by debbugs.gnu.org; 23 Nov 2014 11:51:30 +0000 Received: from localhost ([127.0.0.1]:42224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XsVhS-0002HW-0R for submit@debbugs.gnu.org; Sun, 23 Nov 2014 06:51:30 -0500 Received: from fely.am-1.org ([78.47.74.50]:41998) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XsVhO-0002H0-AD; Sun, 23 Nov 2014 06:51:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=klhrTv0wnMAwmhIU0ipXCCnRI3rkXwQRCh1vmsXdkL4=; b=VO+qhkAe/OHtq5ZZOEFrR/pY0gipBjY1Lj158f0kJ0BlkMJ0BiHvmjKSJV11+1+QY4I/djuqj1lGlDZ5lvccJ+mGxV1b/30XraISPBBfgz8kBo4mlM+6Oskq2kRrDDdUe2IHtqEaOFme2BLR0SU8nYNJ5H/heQ4B9rITNZuGvTs=; 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 1XsVhH-0005XM-16; Sun, 23 Nov 2014 11:51:19 +0000 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 1XsVgk-0004dk-NU; Sun, 23 Nov 2014 18:50:46 +0700 From: Ivan Shmakov To: 19013@debbugs.gnu.org, 19152@debbugs.gnu.org, 19152-submitter@debbugs.gnu.org Subject: Re: bug#19013: 25.0.50; Suggestions for M-x commands References: <87y4r77jbn.fsf@violet.siamics.net> Date: Sun, 23 Nov 2014 11:50:45 +0000 In-Reply-To: <87y4r77jbn.fsf@violet.siamics.net> (Ivan Shmakov's message of "Wed, 19 Nov 2014 07:14:52 +0000") Message-ID: <87lhn2uodm.fsf@violet.siamics.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 19013 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> Ivan Shmakov writes: (BTW, what about merging #19013 and #19152?) [=E2=80=A6] > M-x beginning-of-visual-line RET; then, after some time, =E2=80=93 M-x <= up> > RET =E2=80=93 the same message gets shown, even though M-x is for s= ure > shorter than M-x b-v. > 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.) Please consider the patch MIMEd. * lisp/simple.el (suggest-shorter-command-limit): New customizable variable. (execute-extended-command--shorter): Respect `suggest-shorter-command-limit'. (execute-extended-command): Likewise. --=20 FSF associate member #7257 np. Your Leaving =E2=80=94 Jami Sieber =E2=80= =A6 B6A0 230E 334A --=-=-= Content-Type: text/diff Content-Disposition: inline --- a/lisp/simple.el 2014-11-21 09:21:50 +0000 +++ b/lisp/simple.el 2014-11-23 11:34:08 +0000 @@ -1598,6 +1598,13 @@ (integer :tag "time" 2) (other :tag "on"))) +(defcustom suggest-shorter-command-limit 5 + "Only suggest the equivalent M-x invocation when shorter by this amount. +If the value is nil, do not suggest shorter M-x key-bindings at all." + :group 'keyboard + :type '(choice (const :tag "off" nil) + (integer :tag "characters"))) + (defun execute-extended-command--shorter-1 (name length) (cond ((zerop length) (list "")) @@ -1623,7 +1630,7 @@ defun execute-extended-command--shorter (name typed) name len))) ;; Don't show the help message if the binding isn't ;; significantly shorter than the M-x command the user typed. - (< len (- max 5)))) + (< len (- max suggest-shorter-command-limit)))) (let ((candidate (pop candidates))) (when (equal name (car-safe (completion-try-completion @@ -1680,7 +1687,8 @@ defun execute-extended-command (prefixarg &optional command-name typed) ((numberp suggest-key-bindings) suggest-key-bindings) (t 2))))) (when (and waited (not (consp unread-command-events))) - (unless (or binding executing-kbd-macro (not (symbolp function)) + (unless (or (not suggest-shorter-command-limit) + binding executing-kbd-macro (not (symbolp function)) (<= (length (symbol-name function)) 2)) ;; There's no binding for CMD. Let's try and find the shortest ;; string to use in M-x. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 23 23:11:29 2014 Received: (at 19013) by debbugs.gnu.org; 24 Nov 2014 04:11:29 +0000 Received: from localhost ([127.0.0.1]:43108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xskzo-0001CK-Px for submit@debbugs.gnu.org; Sun, 23 Nov 2014 23:11:28 -0500 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:60555) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xskzm-0001Bw-Cy; Sun, 23 Nov 2014 23:11:26 -0500 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id sAO4BM5i009115; Sun, 23 Nov 2014 23:11:23 -0500 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id AC3FEAE0A5; Sun, 23 Nov 2014 23:11:22 -0500 (EST) From: Stefan Monnier To: Ivan Shmakov Subject: Re: bug#19152: bug#19013: 25.0.50; Suggestions for M-x commands Message-ID: References: <87y4r77jbn.fsf@violet.siamics.net> <87lhn2uodm.fsf@violet.siamics.net> Date: Sun, 23 Nov 2014 23:11:22 -0500 In-Reply-To: <87lhn2uodm.fsf@violet.siamics.net> (Ivan Shmakov's message of "Sun, 23 Nov 2014 11:50:45 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5134=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5134> : inlines <1555> : streams <1347317> : uri <1835821> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 19013 Cc: 19152-submitter@debbugs.gnu.org, 19013@debbugs.gnu.org, 19152@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) >> M-x beginning-of-visual-line RET; then, after some time, =E2=80=93 M-x <= up> >> RET =E2=80=93 the same message gets shown, even though M-x is for s= ure >> shorter than M-x b-v. Sounds like a plain bug. >> 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. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 24 02:02:09 2014 Received: (at 19013) by debbugs.gnu.org; 24 Nov 2014 07:02:09 +0000 Received: from localhost ([127.0.0.1]:43165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xsnez-0006Cn-4G for submit@debbugs.gnu.org; Mon, 24 Nov 2014 02:02:09 -0500 Received: from fely.am-1.org ([78.47.74.50]:42110) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xsnew-0006CT-05; Mon, 24 Nov 2014 02:02:06 -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=7m28wptdWAgJyeCIfLHG0aRGTyQaELE2JnJ74RiqJIA=; b=FFvOH/xit3oBbQ68JFdkX8Th/fo0BjqcifY9xAMpUKtZ+HjD6yCcY2yGA0Fmfy5T68vom0z58tSI2DSddjR2w/Z9oPdBasVV6mxso+T8SxtGYjyJLdk4RaBYqSENS0lnri0SsgfPdSN5Ie0Eq/PRZA9qqkob88l2dJHzj58ajXU=; 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 1Xsneu-0005Uk-4h; Mon, 24 Nov 2014 07:02:04 +0000 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 1Xsnen-0006kj-3B; Mon, 24 Nov 2014 14:01:57 +0700 From: Ivan Shmakov To: 19013@debbugs.gnu.org, 19152@debbugs.gnu.org Subject: Re: bug#19152: 25.0.50; Suggestions for M-x commands References: <87y4r77jbn.fsf@violet.siamics.net> <87lhn2uodm.fsf@violet.siamics.net> Mail-Followup-To: 19152@debbugs.gnu.org Date: Mon, 24 Nov 2014 07:01:56 +0000 In-Reply-To: (Stefan Monnier's message of "Sun, 23 Nov 2014 23:11:22 -0500") Message-ID: <87vbm5rsij.fsf_-_@violet.siamics.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 19013 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) >>>>> Stefan Monnier writes: >> M-x beginning-of-visual-line RET; then, after some time, =E2=80=93 M-x = >> RET =E2=80=93 the same message gets shown, even though M-x is for = sure >> shorter than M-x b-v. > Sounds like a plain bug. 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. Frankly, I do not consider this feature helpful, and have no intent on fixing this particular issue in its implementation. If anything, I=E2=80=99d just live with the workaround I=E2=80=99ve provid= ed earlier [1]. [1] http://debbugs.gnu.org/19013#msg30 >> 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 MIM= Ed.) > I don't think that's needed. The mere fact that bug#19152 was filed suggests otherwise. --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A From unknown Tue Jun 24 22:37:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 22 Dec 2014 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator