all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: 9429@debbugs.gnu.org
Cc: Reuben Thomas <rrt@sc3d.org>
Subject: bug#9429: 24.0.50; Extended count-words
Date: Wed, 14 Sep 2011 21:55:17 +0300	[thread overview]
Message-ID: <87r53jneb3.fsf@mail.jurta.org> (raw)
In-Reply-To: <jwv62l1f9r8.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 09 Sep 2011 23:03:20 -0400")

After feature freeze please add a new command `wc' that works like
coreutils's command `wc' and bind it to `M-='.

Currently `M-=' is bound to `count-lines-region' that contrary to its name
prints the number of *characters* and lines.  At least with the name `wc'
it will be consistent with the well-known shell command `wc' that counts
lines, words and bytes.

`man wc' says that it counts bytes, not characters.  So `wc' (`M-=')
could also report bytes in addition to characters, e.g.

  Region has 1 line, 22 words, 35 characters, 38 bytes





  parent reply	other threads:[~2011-09-14 18:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-03 16:41 bug#9429: 24.0.50; Extended count-words Reuben Thomas
2011-09-07  1:51 ` Stefan Monnier
2011-09-07 11:20   ` Reuben Thomas
2011-09-10  3:03     ` Stefan Monnier
2011-09-10  3:18       ` Lars Magne Ingebrigtsen
2011-09-10  4:01         ` Stefan Monnier
2011-09-10  7:59       ` Reuben Thomas
2011-09-11 22:55       ` Reuben Thomas
2011-09-12  2:40         ` Stefan Monnier
2011-09-14 18:55       ` Juri Linkov [this message]
2011-10-07 20:20         ` Glenn Morris
2011-10-08 19:29           ` Juri Linkov
2012-04-12 19:48       ` Lars Magne Ingebrigtsen

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=87r53jneb3.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=9429@debbugs.gnu.org \
    --cc=rrt@sc3d.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.