From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Mauger Newsgroups: gmane.emacs.devel Subject: Re: Expansion of #$ in byte-compiled files Date: Fri, 4 Sep 2015 01:46:39 +0000 (UTC) Message-ID: <716126080.1313487.1441331199397.JavaMail.yahoo@mail.yahoo.com> References: <87egifkw77.fsf@Niukka.kon.iki.fi> Reply-To: Michael Mauger NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1441331230 23256 80.91.229.3 (4 Sep 2015 01:47:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Sep 2015 01:47:10 +0000 (UTC) Cc: Emacs Devel To: Kalle Olavi Niemitalo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 04 03:46:57 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZXg5h-0000JZ-Ey for ged-emacs-devel@m.gmane.org; Fri, 04 Sep 2015 03:46:57 +0200 Original-Received: from localhost ([::1]:53452 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXg5g-0002U1-Kv for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 21:46:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXg5U-0002Tt-8E for emacs-devel@gnu.org; Thu, 03 Sep 2015 21:46:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXg5R-0004Qb-2M for emacs-devel@gnu.org; Thu, 03 Sep 2015 21:46:44 -0400 Original-Received: from nm11-vm1.bullet.mail.bf1.yahoo.com ([98.139.213.152]:47828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXg5Q-0004QX-Tq for emacs-devel@gnu.org; Thu, 03 Sep 2015 21:46:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1441331200; bh=KK++8aJDh1cn40OddSW/TzCpdIwAtHSxCpLJcbkmCsI=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=nKUU1HwL0r3qwHjQ1FJ7fTkp5ULrM56X8/GmKt+D2/b+SP13mas62BLa1JlBOwnDRBj7n/xcTX/UOKTZPbzFu74ZENssh1uLYToayNod+kIEgH+WqtBlg1V0WXJ3Rmb8tzkPU0ePNGg3s9vin9NQ3/FqdpbpNoIsFfffUE7dUN8c+OPlz6RXDoE4S8vRls0Fn+QOl2bRBQYzVDCIMaqqbFI2FtniFZZ3HRIZKrVXqozOdDH/rC2Qi7UC8nlGX3xf7rTBAIUtcwBaUHyfX8r0XbZQ1G6KVAAOWvW5G8E2Ery3T7GgNRvfmgy0BKVAzToe25ac3QW5qIXfsdaqaoDPrQ== Original-Received: from [98.139.170.180] by nm11.bullet.mail.bf1.yahoo.com with NNFMP; 04 Sep 2015 01:46:40 -0000 Original-Received: from [98.139.212.205] by tm23.bullet.mail.bf1.yahoo.com with NNFMP; 04 Sep 2015 01:46:40 -0000 Original-Received: from [127.0.0.1] by omp1014.mail.bf1.yahoo.com with NNFMP; 04 Sep 2015 01:46:40 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 249941.78898.bm@omp1014.mail.bf1.yahoo.com X-YMail-OSG: vVKhsAkVM1n0GNl6L0WKghqkrZyr7T.Ml3RRfwVtXcCvPdPgwwlSShyPe2w2vZV LHlU03QKTQbrGJrYYKKwNSPGg3HK28hB8Nzdwa_Uy6WXbUt1dlxwsAVRZa3MaUjyVeAY6c6zRqvE idWZ9kSsWFEKH69.Xaj8qRsHNJzyzZo4Kn5.zAM0uMaktscqQKXxh.paI_ESiR7xkj__2AG244fo QI.IhVG2i3PDLsGnIC0z3wm_rus828yEUNQF.0PkX59jc0P7Ik9RvcjfJSfLlvK7Dmr6phNr8NmL kYr8VudbSkIMt4LGnj_uWVjl5rixbbvPXaEUtvZcn2sdKfK55_QbsBRSBLXasUzh8F7wBDnzYTq_ 3GT1syZrUVU0B_rplQJGKRns_K0GNuoJgcRExUKaeBz3VtNrsh6JnhEVGtaEkvOCPjDhrGo4D81_ ciHWMimJKNxogZNVPVJ_AcdvxPPCYwNdFWT1DNSATJc8kXZJPYGHIpBjz83gbzTnc5YOx0rDQl8Z EUFgFgdeTiVg- Original-Received: by 76.13.27.54; Fri, 04 Sep 2015 01:46:39 +0000 In-Reply-To: <87egifkw77.fsf@Niukka.kon.iki.fi> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 98.139.213.152 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:189567 Archived-At: > On Thursday, September 3, 2015 5:51 PM, Kalle Olavi Niemitalo wrote: > > Michael Mauger writes: > > >> because of the following generated line in the package autoloads script: >> >> (add-to-list 'load-path (or (file-name-directory #$) (car > load-path))) > > I expect that (file-name-directory load-file-name) would avoid > the problem.> Yes, using`load-file-name' might avoid the problem but the package installer generates the #$ syntax so I have no direct control of it. Ken Brown was correct that the autoloads.el files have a `no-byte-compile: t' entry in their Local Variables section, but the package installer is still byte compiling the files. I think the placement of some ^L are interfering with the proper parsing of that section. The good news is that it is not happening in the master repository, only on my 25.4 Cygwin instance. I have added a snippet of code to delete any *-autoloads.elc files in the package tree before I initialize the package system and that avoids the problem. I checked my latest GIT version on Linux and confirmed it has no compiled autoloads and installing new packages was not creating them. I then double checked the update of existing packages and installation of new packages did compile the autoloads on my W7/Cygwin install. My problem is fixed and hopefully future users of 25.4 will understand the problem if they encounter it. Feel free to ask me anything that might help further debug the issue if you'd like; but, again, it does appear to be fixed.