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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2269 in the body.
You can then email your comments to 2269 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2269; Package emacs. (Tue, 10 Feb 2009 13:55:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Robert Marshall <robert <at> capuchin.co.uk>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 10 Feb 2009 13:55:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

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




Severity set to `minor' from `normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Fri, 13 Feb 2009 04:10:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2269; Package emacs. (Tue, 17 Feb 2009 07:25:04 GMT) Full text and rfc822 format available.

Message #10 received at 2269 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Robert Marshall <robert <at> capuchin.co.uk>
Cc: 2269 <at> debbugs.gnu.org
Subject: Re: bug#2269: 23.0.60; ambiguity in info file
Date: Tue, 17 Feb 2009 02:13:18 -0500
severity 2269 wishlist
retitle 2269 dired-backup-diff and count-lines-region
stop

Robert Marshall wrote:

> (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. 

Alright.

> 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?

Leaving open as wishlist.




Severity set to `wishlist' from `minor' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 17 Feb 2009 07:25:06 GMT) Full text and rfc822 format available.

Changed bug title to `dired-backup-diff and count-lines-region' from `23.0.60; ambiguity in info file'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 17 Feb 2009 07:25:06 GMT) Full text and rfc822 format available.

Reply sent to Juri Linkov <juri <at> jurta.org>:
You have taken responsibility. (Sun, 30 Sep 2012 17:43:01 GMT) Full text and rfc822 format available.

Notification sent to Robert Marshall <robert <at> capuchin.co.uk>:
bug acknowledged by developer. (Sun, 30 Sep 2012 17:43:02 GMT) Full text and rfc822 format available.

Message #19 received at 2269-done <at> debbugs.gnu.org (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 29 Oct 2012 11:24:03 GMT) Full text and rfc822 format available.

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.