From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian.B.Robert@gmail.com Newsgroups: gmane.emacs.devel Subject: Re: A better UI than perform-replace Date: Fri, 20 Nov 2015 10:06:12 +0200 Message-ID: <867fld858r.fsf@gmail.com> References: <56480D6C.2080408@yandex.ru> <876112xj2i.fsf@gmail.com> <87vb90yum7.fsf@mail.linkov.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448006814 11298 80.91.229.3 (20 Nov 2015 08:06:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2015 08:06:54 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 20 09:06:41 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 1ZzgiN-0005o2-L2 for ged-emacs-devel@m.gmane.org; Fri, 20 Nov 2015 09:06:39 +0100 Original-Received: from localhost ([::1]:45841 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzgiN-0006kX-0V for ged-emacs-devel@m.gmane.org; Fri, 20 Nov 2015 03:06:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzgiJ-0006jO-62 for emacs-devel@gnu.org; Fri, 20 Nov 2015 03:06:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzgiF-00051m-D5 for emacs-devel@gnu.org; Fri, 20 Nov 2015 03:06:35 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:55780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzgiF-00051c-6G for emacs-devel@gnu.org; Fri, 20 Nov 2015 03:06:31 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZzgiA-0005R9-9g for emacs-devel@gnu.org; Fri, 20 Nov 2015 09:06:26 +0100 Original-Received: from 193.64.3.205 ([193.64.3.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Nov 2015 09:06:26 +0100 Original-Received: from Adrian.B.Robert by 193.64.3.205 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Nov 2015 09:06:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 193.64.3.205 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) Cancel-Lock: sha1:kt41dEeWLJHMpXhDaeBD8uw85hE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:194853 Archived-At: >> Rather it is a question of wanting (or needing) to clean-up alignment >> _after_ replacing a token with a token of a different length. A very common >> instance is ensuring that end of line comments start at a specified column. > > ... > > Personally, I think the answer is to offer a new mode targeted at "intelligent > replacements" -- beginning life in ELPA -- rather than making changes to our > current machinery. I would love to see something like this. And something as simple as running indent-for-tab on the line +/- context would go a long way. IntelliJ just started doing this in version 15 and it is a pleasure.