all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Macro to count entries
@ 2004-05-12 17:25 Artist
  2004-05-12 20:18 ` Kevin Rodgers
  0 siblings, 1 reply; 2+ messages in thread
From: Artist @ 2004-05-12 17:25 UTC (permalink / raw)


How do I count entries with macro?

Ex. 
A
A
B
B
B
C

Should produce
2  A
3  B
1  C


Thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Macro to count entries
  2004-05-12 17:25 Macro to count entries Artist
@ 2004-05-12 20:18 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2004-05-12 20:18 UTC (permalink / raw)


Artist wrote:

> How do I count entries with macro?
> 
> Ex. 
> A
> A
> B
> B
> B
> C
> 
> Should produce
> 2  A
> 3  B
> 1  C

C-x (
C-x h
M-| uniq -c RET
C-x )

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-12 20:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-12 17:25 Macro to count entries Artist
2004-05-12 20:18 ` Kevin Rodgers

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.