From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: History for query replace pairs Date: Wed, 22 Oct 2014 01:53:40 +0300 Organization: JURTA Message-ID: <87iojduj9n.fsf@mail.jurta.org> References: <87a97ejxuo.fsf@mail.jurta.org> <87lhovik5c.fsf@lifelogs.com> <87wq8egh3r.fsf@lifelogs.com> <87ppe4zv0t.fsf@mail.jurta.org> <87k34ba5sn.fsf@mail.jurta.org> <87siiq4gpv.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1413932269 6729 80.91.229.3 (21 Oct 2014 22:57:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2014 22:57:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 22 00:57:42 2014 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 1XgiN1-00045Z-6J for ged-emacs-devel@m.gmane.org; Wed, 22 Oct 2014 00:57:39 +0200 Original-Received: from localhost ([::1]:54086 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgiN0-0004zB-Sk for ged-emacs-devel@m.gmane.org; Tue, 21 Oct 2014 18:57:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgiMg-0004z4-On for emacs-devel@gnu.org; Tue, 21 Oct 2014 18:57:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgiMa-0006NC-It for emacs-devel@gnu.org; Tue, 21 Oct 2014 18:57:18 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.222.226]:57945 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgiMa-0006N7-Cc for emacs-devel@gnu.org; Tue, 21 Oct 2014 18:57:12 -0400 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 2BA8A38C905DC1; Tue, 21 Oct 2014 15:57:09 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Tue, 21 Oct 2014 14:23:04 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 69.163.222.226 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:175682 Archived-At: > - You still have access to the "TO-history" in the FROM case, indirectly > (by browsing the corresponding FROM/TO pair and erasing the FROM and > the separator). The only problematic part is that if the user will be able to erase the separator, then the user rightfully might want to insert it back, but it's not straightforward to type a string with text properties. OTOH, it should be easy for the user to kill/yank the TO-string to the FROM-field without erasing the separator that could be marked as read-only exactly like the minibuffer prompt. Perhaps using the Widget library is too heavy to implement this, so it should be possible to have two fields in the minibuffer by putting the properties `field' and `read-only' on the separator.