GNU bug report logs - #13670
24.3.50; `autoload-generate-file-autoloads' off-by-one bug

Previous Next

Package: emacs;

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 #8 received at 13670 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 13670 <at> debbugs.gnu.org
Subject: Re: bug#13670: 24.3.50;
 `autoload-generate-file-autoloads' off-by-one bug
Date: Fri, 29 Apr 2016 00:29:11 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> This source code line of `autoload-generate-file-autoloads':
>
>  (if (= (char-after (1+ (point))) ? )
>
> should be replaced by this:
>
>  (if (= (char-after (point)) ? )

[...]

> You can use cookies like this:
>
> ;;;###autoload (autoload 'icicle-mode "icicles" 
> ;;;###autoload"Icicle mode: Toggle minibuffer input completion and cycling.
> ;;;###autoload Non-nil prefix ARG turns mode on if ARG > 0, else off.
> ;;;###autoload It is a global minor mode.  It binds minibuffer keys."
> ;;;###autoload t nil)

If we make this change, then autoloads that want to have a single space
at the start of the string (and use this syntax to do that) would then
not have that space?

Have you examined the sources to see whether that's potentially a
problem?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.