all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: naisanza@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: Removing duplicated lines
Date: Wed, 3 Jul 2013 05:13:43 -0700 (PDT)	[thread overview]
Message-ID: <8b5373ef-e229-4b87-bc44-5b46f652126d@googlegroups.com> (raw)
In-Reply-To: <mailman.14047.1354190273.855.help-gnu-emacs@gnu.org>

On Thursday, November 29, 2012 6:57:45 AM UTC-5, Yuri Khan wrote:
> On Thu, Nov 29, 2012 at 6:25 PM, Dani Moncayo <> wrote:
> 
> >> 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).
> 
> 
> 
> True. But if you have Emacs on Windows, you can (should?) also have
> 
> UnxUtils or GnuWin32 or Cygwin or msys.
> 
> 
> 
> > * 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").
> 
> 
> 
> To modify in-place, prefix with C-u.

awesome.


  parent reply	other threads:[~2013-07-03 12:13 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
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 [this message]
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

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

  git send-email \
    --in-reply-to=8b5373ef-e229-4b87-bc44-5b46f652126d@googlegroups.com \
    --to=naisanza@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.