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: make project--find-in-file generic, add interactive filename to project-find-file Date: Thu, 28 Jan 2016 21:55:59 -0500 Message-ID: References: <86wpqu8qf9.fsf@stephe-leake.org> <56A9DDA8.9080504@yandex.ru> <86si1i813n.fsf@stephe-leake.org> <56A9EF4B.7020406@yandex.ru> <56AA6CCA.10103@yandex.ru> <56AAC8E7.8090601@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454036192 23853 80.91.229.3 (29 Jan 2016 02:56:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Jan 2016 02:56:32 +0000 (UTC) Cc: Stephen Leake , emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 29 03:56:23 2016 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 1aOzEL-00025c-Ks for ged-emacs-devel@m.gmane.org; Fri, 29 Jan 2016 03:56:13 +0100 Original-Received: from localhost ([::1]:59507 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOzEH-0005OW-V3 for ged-emacs-devel@m.gmane.org; Thu, 28 Jan 2016 21:56:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOzED-0005Lt-Tg for emacs-devel@gnu.org; Thu, 28 Jan 2016 21:56:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOzE8-0000OG-TL for emacs-devel@gnu.org; Thu, 28 Jan 2016 21:56:05 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:52860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOzE8-0000Np-PT for emacs-devel@gnu.org; Thu, 28 Jan 2016 21:56:00 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0A+FgA731xV/3+SCkxcgxCEAoVVwwsEAgKBPD0QAQEBAQEBAYEKQQWDXQEBAwFWIwULCw4mEhQYDSSINwjPIwEBAQEGAQEBAR6LOoUFB4QtBYwwpw+BRSOCChwVgVsggngBAQE X-IPAS-Result: A0A+FgA731xV/3+SCkxcgxCEAoVVwwsEAgKBPD0QAQEBAQEBAYEKQQWDXQEBAwFWIwULCw4mEhQYDSSINwjPIwEBAQEGAQEBAR6LOoUFB4QtBYwwpw+BRSOCChwVgVsggngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="191825678" Original-Received: from 76-10-146-127.dsl.teksavvy.com (HELO ceviche.home) ([76.10.146.127]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 28 Jan 2016 21:55:58 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 5F3F2661AA; Thu, 28 Jan 2016 21:55:59 -0500 (EST) In-Reply-To: <56AAC8E7.8090601@yandex.ru> (Dmitry Gutov's message of "Fri, 29 Jan 2016 05:05:27 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.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:198975 Archived-At: >>>> This would also allow users to replace this function with one which >>>> handles DEFAULT differently (e.g. inserting it as initial-input but >>>> pre-selected so that delete-selection-mode deletes it in many cases). >>> I'm not sure that delete-selection-mode is the answer: >> It's not an answer, it's an alternative UI (which is the standard in >> pretty much every other GUI application). > How would the user avoid deleting the default value, though? Why cares. The point is that the new functions's interface would allow someone to implement a different UI, which some users like. > We seem to deal with situations like that by putting the cursor before the > input, so the user can press C-k. I probably prefer the M-n > mechanics, though. I think you missed in the text you quoted above the fact that I said "allow users to replace this function". I do not intend this alternative behavior to be the default. Stefan