From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32395: 26.1; generated autoloads includes string properties if buffer is open Date: Sat, 11 Aug 2018 12:18:16 +0300 Message-ID: <838t5dmfc7.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1533979029 31822 195.159.176.226 (11 Aug 2018 09:17:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 11 Aug 2018 09:17:09 +0000 (UTC) Cc: 32395@debbugs.gnu.org To: Allen Li Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 11 11:17:05 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1foQ1A-0008CC-Eq for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Aug 2018 11:17:04 +0200 Original-Received: from localhost ([::1]:59414 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1foQ3G-0004j2-VN for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Aug 2018 05:19:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1foQ37-0004iv-Ij for bug-gnu-emacs@gnu.org; Sat, 11 Aug 2018 05:19:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1foQ34-000176-Cy for bug-gnu-emacs@gnu.org; Sat, 11 Aug 2018 05:19:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42771) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1foQ34-000172-8b for bug-gnu-emacs@gnu.org; Sat, 11 Aug 2018 05:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1foQ34-00062D-2c for bug-gnu-emacs@gnu.org; Sat, 11 Aug 2018 05:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Aug 2018 09:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32395 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32395-submit@debbugs.gnu.org id=B32395.153397910323126 (code B ref 32395); Sat, 11 Aug 2018 09:19:02 +0000 Original-Received: (at 32395) by debbugs.gnu.org; 11 Aug 2018 09:18:23 +0000 Original-Received: from localhost ([127.0.0.1]:47789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1foQ2R-00060w-EJ for submit@debbugs.gnu.org; Sat, 11 Aug 2018 05:18:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1foQ2P-00060f-QO for 32395@debbugs.gnu.org; Sat, 11 Aug 2018 05:18:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1foQ2H-0000rl-LJ for 32395@debbugs.gnu.org; Sat, 11 Aug 2018 05:18:16 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1foQ2H-0000rf-Hd; Sat, 11 Aug 2018 05:18:13 -0400 Original-Received: from [176.228.60.248] (port=2354 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1foQ2H-0007vl-05; Sat, 11 Aug 2018 05:18:13 -0400 In-reply-to: (message from Allen Li on Wed, 8 Aug 2018 00:09:22 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:149428 Archived-At: > From: Allen Li > Date: Wed, 8 Aug 2018 00:09:22 -0700 > > The autoload generation code inserts a form with a string that may or > may not have text properties, depending on if the buffer is already > open. > > (if (fboundp 'register-definition-prefixes) > (register-definition-prefixes "foo" > '(#("foo-" 0 4 (fontified nil))))) > > (if (fboundp 'register-definition-prefixes) > (register-definition-prefixes "foo" '("foo-"))) > > This makes autoload generation depend on the odd condition of whether > the file under consideration is already open and fontified. Can you tell more about the use case where you see this? Does this happen when the autoload files in the Emacs tree are generated?