From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.help Subject: Re: Removing duplicated lines Date: Thu, 29 Nov 2012 12:25:11 +0100 Message-ID: References: <80wqx4hdm9.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1354188765 9554 80.91.229.3 (29 Nov 2012 11:32:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Nov 2012 11:32:45 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Sebastien Vauban Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 29 12:32:57 2012 Return-path: Envelope-to: geh-help-gnu-emacs@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 1Te2MQ-0001jf-SF for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Nov 2012 12:32:55 +0100 Original-Received: from localhost ([::1]:40548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Te2MF-00039J-Kv for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Nov 2012 06:32:43 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Te2M5-00038w-8S for help-gnu-emacs@gnu.org; Thu, 29 Nov 2012 06:32:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Te2Lz-0007w0-5u for help-gnu-emacs@gnu.org; Thu, 29 Nov 2012 06:32:33 -0500 Original-Received: from mail-oa0-f41.google.com ([209.85.219.41]:46367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Te2Lz-0007vq-0S for help-gnu-emacs@gnu.org; Thu, 29 Nov 2012 06:32:27 -0500 Original-Received: by mail-oa0-f41.google.com with SMTP id k14so16531465oag.0 for ; Thu, 29 Nov 2012 03:32:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Ao0eYOtpdnQNR+ml928adc9BkQpaks2o9/ma3HDTEoc=; b=ciNILhBXCVFDa86KS92Wg6XhTjuja9kp3q1KlHrK+IfAc8Tgv6Vhb5leuPl7YjuZJE OV5jedHXABC5boYjhNcSmJjbLJYyZ1Mh7N8GQlSZjaiD2OoSAEWJVlrVAKrFWLwMoFhU grtflgBcJ6H2opIkdMjvyeKx1KHaUw50uEk8WqajBGwm9NPksEgIANGszE34uzYU08ff 6WNNh/ezBSSCfgs1Xnxc4+4ps65Qqto8fKa6qDGrppVgD3P1YKD/7n1vG+GUSuijqrxH 26v6ZOjBJh+AhGeQ3/le00KoKuLHHLzu566sDTugikA9p+9o81Z2YP6ENUzQkureDmk3 md5g== Original-Received: by 10.60.27.230 with SMTP id w6mr1265624oeg.53.1354188311278; Thu, 29 Nov 2012 03:25:11 -0800 (PST) Original-Received: by 10.60.64.170 with HTTP; Thu, 29 Nov 2012 03:25:11 -0800 (PST) In-Reply-To: <80wqx4hdm9.fsf@somewhere.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.219.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87933 Archived-At: > Shell command on a region: `M-| uniq RET' Thanks, but this is not exactly what I'd like, because: * It depends on a shell command, which might not be available (specially under MS-Windows). * It shows the compacted region in the echo area (and therefore also in the *Messages* buffer), but I'd like the command to modify the region in-place (and show some message in the echo area like "nn duplicated lines removed"). Thanks for replying. -- Dani Moncayo