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: Re: UI inconveniences with M-. Date: Tue, 28 Apr 2015 23:13:06 -0400 Message-ID: References: <83zja6b3tc.fsf@gnu.org> <54A2FF47.6010207@yandex.ru> <54A86135.7080004@yandex.ru> <54A90002.7080009@gmx.at> <54A9C3FB.7000602@yandex.ru> <54AA3881.3080304@gmx.at> <54ABBB47.7010603@yandex.ru> <837fszx7iy.fsf@gnu.org> <83r3r5wqwv.fsf@gnu.org> <83k2wxwexb.fsf@gnu.org> <553EB9D7.7010002@yandex.ru> <553EC576.70903@yandex.ru> <553EE468.4070203@yandex.ru> <553FF5DA.4090408@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1430277207 14958 80.91.229.3 (29 Apr 2015 03:13:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Apr 2015 03:13:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 29 05:13:18 2015 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 1YnIR2-0006pV-GH for ged-emacs-devel@m.gmane.org; Wed, 29 Apr 2015 05:13:16 +0200 Original-Received: from localhost ([::1]:36619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnIR1-0006li-MP for ged-emacs-devel@m.gmane.org; Tue, 28 Apr 2015 23:13:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnIQx-0006il-Df for emacs-devel@gnu.org; Tue, 28 Apr 2015 23:13:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnIQs-0006Iv-Pp for emacs-devel@gnu.org; Tue, 28 Apr 2015 23:13:11 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:58898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnIQs-0006Ir-Mf for emacs-devel@gnu.org; Tue, 28 Apr 2015 23:13:06 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUFAGvvdVS4rw4V/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCwsOJhIUGA0kiBOiEYxkCQMBAoM+A4NwBKNjhFg X-IPAS-Result: AgUFAGvvdVS4rw4V/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCwsOJhIUGA0kiBOiEYxkCQMBAoM+A4NwBKNjhFg X-IronPort-AV: E=Sophos;i="5.11,557,1422939600"; d="scan'208";a="117738014" Original-Received: from 184-175-14-21.dsl.teksavvy.com (HELO pastel.home) ([184.175.14.21]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 28 Apr 2015 23:13:06 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 3E7DA4650; Tue, 28 Apr 2015 23:13:06 -0400 (EDT) In-Reply-To: <553FF5DA.4090408@yandex.ru> (Dmitry Gutov's message of "Wed, 29 Apr 2015 00:04:26 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:185993 Archived-At: [ Moving this to emacs-devel. ] > Hmm, maybe we should introduce a new category, for reading symbols. Aside > from xref, we could use it in describe-function/variable/etc. Sounds fine to me. Tho "symbol" might be a tad too generic. > Although the fact that it tries prefix matches first, and only falls back to > substring matches, doesn't look too terrible to me. Not sure what you're saying here. Indeed, for buffers, completion-category-defaults says to first try prefix matching and fallback on substring only if that fails. This was done mostly to reduce friction when the change was introduced. Stefan