GNU bug report logs - #856
23.0.60; apropos-command and broken fun aliases

Previous Next

Package: emacs;

Reported by: michael_heerdegen <at> web.de

Date: Mon, 1 Sep 2008 21:25:04 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.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 856 in the body.
You can then email your comments to 856 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#856; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to michael_heerdegen <at> web.de:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; apropos-command and broken fun aliases
Date: Mon, 1 Sep 2008 23:15:28 +0200
On my system, the following raises an error when evalled with CVS
emacs -Q:

(apropos-command (quote ("vc")) 1)


Backtrace:

Debugger entered--Lisp error: (void-function vc-previous-version)
  documentation(vc-previous-version t)
  apropos-command(("vc") 1)
  call-interactively(apropos-command nil nil)


There are actually two problems related to this bug:

(1) In vc-hooks.el, there is a definition

(define-obsolete-function-alias
 'vc-previous-version 'vc-previous-revision "23.1"),

but the function `vc-previous-revision' is not defined.

(2) `apropos-command' should handle errors caused by broken function
aliases. Else, cases like (1) make `apropos-command' partly unusable.



In GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2008-08-29 on green
Windowing system distributor `The X.Org Foundation', version 11.0.10402000




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#856; Package emacs. Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: michael_heerdegen <at> web.de
Cc: 856 <at> debbugs.gnu.org
Subject: Re: bug#856: 23.0.60; apropos-command and broken fun aliases
Date: Mon, 01 Sep 2008 17:30:56 -0400
Michael Heerdegen wrote:

> (2) `apropos-command' should handle errors caused by broken function
> aliases. Else, cases like (1) make `apropos-command' partly unusable.

I fixed this a few days ago.




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to michael_heerdegen <at> web.de:
bug acknowledged by developer. Full text and rfc822 format available.

Message #13 received at 856-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: michael_heerdegen <at> web.de
Cc: 856-done <at> debbugs.gnu.org
Subject: Re: bug#856: 23.0.60; apropos-command and broken fun aliases
Date: Mon, 01 Sep 2008 17:45:04 -0400
Michael Heerdegen wrote:

> (1) In vc-hooks.el, there is a definition
>
> (define-obsolete-function-alias
>  'vc-previous-version 'vc-previous-revision "23.1"),
>
> but the function `vc-previous-revision' is not defined.

2008-09-01  Glenn Morris  <rgm <at> gnu.org>

            * vc-hooks.el (vc-previous-version): Move alias to vc.el.
            * vc.el (vc-default-previous-version): Move alias here
            * from vc-hooks, and fix name typos.  (Bug#856)




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Tue, 30 Sep 2008 14:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 261 days ago.

Previous Next


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