GNU bug report logs - #2269
dired-backup-diff and count-lines-region

Previous Next

Package: emacs;

Reported by: Robert Marshall <robert <at> capuchin.co.uk>

Date: Tue, 10 Feb 2009 13:55:04 UTC

Severity: wishlist

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Robert Marshall <robert <at> capuchin.co.uk>
Subject: bug#2269: closed (Re: bug#2269: 23.0.60; ambiguity in info file)
Date: Sun, 30 Sep 2012 17:43:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#2269: dired-backup-diff and count-lines-region

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 2269 <at> debbugs.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)]
From: Juri Linkov <juri <at> jurta.org>
To: Robert Marshall <robert <at> capuchin.co.uk>
Cc: 2269-done <at> debbugs.gnu.org
Subject: Re: bug#2269: 23.0.60; ambiguity in info file
Date: Sun, 30 Sep 2012 20:39:57 +0300
> 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.

[Message part 3 (message/rfc822, inline)]
From: Robert Marshall <robert <at> capuchin.co.uk>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; ambiguity in info file
Date: Tue, 10 Feb 2009 13:20:30 +0000 (GMT)
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



This bug report was last modified 12 years and 241 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.