Subject: bug#14746: 24.3.50; update-file-autoloads: Generate absolute paths?

From: Jambunathan K <[email-masked]>
Date: Sat, 29 Jun 2013 08:54:58 +0530

1. C-x C-f ~/src/private/orgmuse.el
2. M-x update-file-autoloads
   
   When prompted for the where to write, say ~/.emacs

3. Now this is what gets dumped in to .emacs.

      ,----
      | 
      | ;;;### (autoloads nil "src/private/orgmuse" "src/private/orgmuse.el"
      | ;;;;;;  (20942 20756 0 0))
      | ;;; Generated autoloads from src/private/orgmuse.el
      | 
      | (autoload 'orgmuse-edit "src/private/orgmuse" "\
      | 
      | 
      | \(fn &optional WIKINAME PAGENAME)" t nil)
      | 
      | (autoload 'orgmuse-post "src/private/orgmuse" "\
      | 
      | 
      | \(fn)" t nil)
      | 
      | ;;;***
      `----

4. Note the absence of "~" prefix.  I believe the file paths generated
   are relative.

5. Now reload emacs.

6. See that orgmuse.el is not getting loaded.  

   NOTE: I don't have a require for orgmuse in .emacs.  This was
   intentional.

Expected behaviour:

One of

1. Eithe M-x update-file-autoloads should generate absolute filepaths.
2. (autoload ...) should be accomodative of relative paths in it's arguments.

In GNU Emacs 24.3.50.3 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2013-06-28 on debian-6.05
Bzr revision: 113214 [email-masked]
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
  value of $LANG: en_IN
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t