unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dani Moncayo <dmoncayo@gmail.com>
To: Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Removing duplicated lines
Date: Thu, 29 Nov 2012 12:25:11 +0100	[thread overview]
Message-ID: <CAH8Pv0j1KtBSoZi9hrOsPEM-noXwDFK3+eOa1+ivS=Ry2KNfkg@mail.gmail.com> (raw)
In-Reply-To: <80wqx4hdm9.fsf@somewhere.org>

> 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



  reply	other threads:[~2012-11-29 11:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.14043.1354186273.855.help-gnu-emacs@gnu.org>
2012-11-29 11:06 ` Removing duplicated lines Sebastien Vauban
2012-11-29 11:25   ` Dani Moncayo [this message]
2012-11-29 11:57     ` Yuri Khan
2012-11-29 12:07       ` Dani Moncayo
     [not found]     ` <mailman.14047.1354190273.855.help-gnu-emacs@gnu.org>
2013-07-03 12:13       ` naisanza
2012-11-29 11:31   ` Yuri Khan
2013-07-03 12:14   ` naisanza
2012-11-29 10:50 Dani Moncayo
2012-11-29 12:12 ` Jambunathan K
2012-11-29 12:18   ` Dani Moncayo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH8Pv0j1KtBSoZi9hrOsPEM-noXwDFK3+eOa1+ivS=Ry2KNfkg@mail.gmail.com' \
    --to=dmoncayo@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).