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: Wed, 29 Apr 2015 00:15:08 -0400 Message-ID: References: <83zja6b3tc.fsf@gnu.org> <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> <55404F41.8090609@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1430280927 3569 80.91.229.3 (29 Apr 2015 04:15:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Apr 2015 04:15: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 06:15:19 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 1YnJP4-0005QH-L1 for ged-emacs-devel@m.gmane.org; Wed, 29 Apr 2015 06:15:18 +0200 Original-Received: from localhost ([::1]:36758 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnJP3-0003T3-IE for ged-emacs-devel@m.gmane.org; Wed, 29 Apr 2015 00:15:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnJOz-0003Sy-Jr for emacs-devel@gnu.org; Wed, 29 Apr 2015 00:15:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnJOw-00083a-EG for emacs-devel@gnu.org; Wed, 29 Apr 2015 00:15:13 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:6821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnJOw-00083W-Am for emacs-devel@gnu.org; Wed, 29 Apr 2015 00:15:10 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUFAGvvdVS4rw4V/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCwsOJhIUGA0kiBOiEYt7aQkDA4M+A4NwBKNjhFg X-IPAS-Result: AgUFAGvvdVS4rw4V/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCwsOJhIUGA0kiBOiEYt7aQkDA4M+A4NwBKNjhFg X-IronPort-AV: E=Sophos;i="5.11,557,1422939600"; d="scan'208";a="117743516" 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; 29 Apr 2015 00:15:08 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 219134650; Wed, 29 Apr 2015 00:15:08 -0400 (EDT) In-Reply-To: <55404F41.8090609@yandex.ru> (Dmitry Gutov's message of "Wed, 29 Apr 2015 06:25:53 +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:185997 Archived-At: >> Sounds fine to me. Tho "symbol" might be a tad too generic. > ...identifier? Better name welcome. I originally suggested "identifier" and then changed my mind before sending the message: the problem, really, is that things like M-x completion also complete identifiers/symbols yet I'm not convinced they should use the same category. Then again, maybe they should. > I was saying that about the current identifier completion in `C-u M-.'. And > was mistaken: it's close, but uses partial-completion (according to > `completion-styles'). Which is close, but a bit less user-friendly. Of course, a better option might be a new style `pc-substring', which combines partial completion and substring, so that "f-t" matches not only things like "find-tag" but also "buffer-face-toggle". That's been on the "todo" for "ever", but I just got used to typing "*f-t" or "-f-t" when I need this kind of functionality. Stefan