all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Juri Linkov'" <juri@jurta.org>
Cc: 9959@debbugs.gnu.org
Subject: bug#9959: 24.0.90; `count-words' command from a narrowed buffer
Date: Sun, 6 Nov 2011 09:30:31 -0800	[thread overview]
Message-ID: <44F9ACBCF1F645D28F3E74F86FCD4515@us.oracle.com> (raw)
In-Reply-To: <87d3d5qkmg.fsf@mail.jurta.org>

> >  Narrowed/total: 112/1135 lines, 673/6894 words, 6074/70452 chars
> 
> This format is nice because it's compact.  Perhaps 
> information about the region should be added too when
> the region is active:
> 
> Region/narrowed/total: 5/112/1135 lines, 8/673/6894 words, 
> 45/6074/70452 chars

I assume you mean only in the case where the buffer is narrowed and you have an
active region within the restriction.

That would be OK.  But keep in mind that your example uses a small region and
restriction.  In general, the message could be a bit long.  With the same buffer
size, the message could have up to an additional 12 chars.

(The length wouldn't be a problem for me, because my minibuffer frame is as wide
as my screen, and I don't mind if a message wraps.  Just mentioning the
possibility.)






  reply	other threads:[~2011-11-06 17:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-05 10:28 bug#9959: 24.0.90; `count-words' command from a narrowed buffer Dani Moncayo
2011-11-06 15:01 ` Juri Linkov
2011-11-06 15:34   ` Drew Adams
2011-11-06 16:30     ` Juri Linkov
2011-11-06 17:30       ` Drew Adams [this message]
2011-11-09  4:39     ` Kevin Rodgers
2011-11-09 15:05       ` Drew Adams
2011-11-09 16:01         ` Drew Adams
2011-11-09 16:36           ` Juri Linkov
2011-11-09 16:51             ` Drew Adams
2012-07-18 14:32       ` Chong Yidong
2022-02-13  9:56 ` Lars 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=44F9ACBCF1F645D28F3E74F86FCD4515@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=9959@debbugs.gnu.org \
    --cc=juri@jurta.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.