GNU bug report logs -
#13670
24.3.50; `autoload-generate-file-autoloads' off-by-one bug
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Sun, 10 Feb 2013 00:04:02 UTC
Severity: minor
Found in version 24.3.50
Done: Drew Adams <drew.adams <at> oracle.com>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 13670 <at> debbugs.gnu.org (full text, mbox):
> The emacs-25 version of `autoload-generate-file-autoloads' does not
> contain a call to `char-after', so I think it has been rewritten in the
> meantime.
>
> Moreover, if I let Emacs generate file autoloads for a file with this
> content:
>
> #+begin_src emacs-lisp
> ;;;###autoload (autoload 'icicle-mode "icicles"
> ;;;###autoload"Icicle mode: Toggle minibuffer input completion and
> cycling.
> ;;;###autoloadNon-nil prefix ARG turns mode on if ARG > 0, else off.
> ;;;###autoloadIt is a global minor mode. It binds minibuffer keys."
> ;;;###autoloadt nil)
> #+end_src
>
> (update-file-autoloads
> "/home/micha/today/test.el"
> nil
> "/home/micha/today/test-auto.el")
>
> the result looks like this:
>
> #+begin_src emacs-lisp
> (autoload 'icicle-mode "icicles"
> "Icicle mode: Toggle minibuffer input completion and cycling.
> Non-nil prefix ARG turns mode on if ARG > 0, else off.
> It is a global minor mode. It binds minibuffer keys."
> nil)
> #+end_src
>
> So this generates a sane docstring.
>
> Is this acceptable?
Absolutely. Based on what you say, I'll close the bug. Thx.
This bug report was last modified 9 years and 83 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.