all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jens.Schmidt27@epost.de (Jens Schmidt)
Subject: Re: How to implement line sorting, uniquifying and counting function in emacs?
Date: 30 Sep 2002 01:12:56 -0700	[thread overview]
Message-ID: <958686cf.0209300012.8810a00@posting.google.com> (raw)
In-Reply-To: b00bb831.0209291813.72d27e23@posting.google.com

Sorting:

  M-x apropos sort-.* RET

Counting:

  M-x apropos count.*lines RET

The only non-trivial part is uniquifying of buffer lines:

  M-x query-replace-regexp ^\(.*^Q^J\)\1+ \1 RET

where you need to type ^Q^J as C-q C-j, of course.  A non-interactive
variant should be as easy as the interactive.

  parent reply	other threads:[~2002-09-30  8:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-30  2:13 How to implement line sorting, uniquifying and counting function in emacs? gnuist006
2002-09-30  5:15 ` Evgeny Roubinchtein
2002-09-30  5:23 ` Evgeny Roubinchtein
2002-09-30  7:04 ` Marc Spitzer
2002-09-30  8:12 ` Jens Schmidt [this message]
2002-09-30 16:14 ` Kaz Kylheku
2002-10-01  8:00 ` Steven M. Haflich

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=958686cf.0209300012.8810a00@posting.google.com \
    --to=jens.schmidt27@epost.de \
    /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.