Subject: bug#856 closed by Glenn Morris <[email-masked]> (Re: bug#856: 23.0.60; apropos-command and broken fun aliases)

From: [email-masked] (Emacs bug Tracking System)

This is an automatic notification regarding your bug report
which was filed against the emacs package:

#856: 23.0.60; apropos-command and broken fun aliases

It has been closed by Glenn Morris <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Glenn Morris <[email-masked]> by
replying to this email.

-- 
856: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=856
Emacs Bug Tracking System
Contact [email-masked] with problems
>From [email-masked] Mon Sep  1 14:46:47 2008
From: Glenn Morris <[email-masked]>
To: [email-masked]
Cc: [email-masked]
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  <[email-masked]>

            * 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)

>From [email-masked] Mon Sep  1 14:18:32 2008
From: Michael Heerdegen <[email-masked]>
To: [email-masked]
Subject: 23.0.60; apropos-command and broken fun aliases
Reply-to: [email-masked]
Date: Mon, 1 Sep 2008 23:15:28 +0200
Sender: [email-masked]

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