GNU bug report logs -
#2269
dired-backup-diff and count-lines-region
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sun, 30 Sep 2012 20:39:57 +0300
with message-id <87wqzbh0k2.fsf <at> mail.jurta.org>
and subject line Re: bug#2269: 23.0.60; ambiguity in info file
has caused the debbugs.gnu.org bug report #2269,
regarding dired-backup-diff and count-lines-region
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
2269: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2269
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
basic.texi claims
`M-='
Display the number of lines in the current region
(`count-lines-region'). *Note Mark::, for information about the
region.
(taking the info version), however, at least two emacs modes (dired and
calendar) overrides this key binding. I think these exceptions ought to be
documented here.
I'm often trying to count lines in a region in dired and
I very rarely use dired-backup-diff as I use version control and that
function doesn't use vc and therefore I get an error on M-=.
Could dired-backup-diff, if it doesn't find a backup file, test for
region-active-p and if t invoke count-lines-region and only otherwise
signal an error?
In GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.14.3)
of 2009-01-24 on faure.capuchin.co.uk
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: en_GB
value of $LC_CTYPE: en_GB
value of $LC_MESSAGES: en_GB
value of $LC_MONETARY: en_GB
value of $LC_NUMERIC: en_GB
value of $LC_TIME: en_GB
value of $LANG: en_GB
value of $XMODIFIERS: nil
locale-coding-system: iso-latin-1-unix
default-enable-multibyte-characters: t
Major mode: Info
Minor modes in effect:
diff-auto-refine-mode: t
show-paren-mode: t
recentf-mode: t
display-time-mode: t
shell-dirtrack-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
--
Links and things http://rmstar.blogspot.com/
Robert Marshall
[Message part 3 (message/rfc822, inline)]
> I'm often trying to count lines in a region in dired and
> I very rarely use dired-backup-diff as I use version control and that
> function doesn't use vc and therefore I get an error on M-=.
Thanks for the suggestion. Now this is fixed so that `M-=' is not bound to
dired-backup-diff, and the global `count-words-region' is in effect in Dired.
This bug report was last modified 12 years and 240 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.