all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Mauger <michael@mauger.com>
To: Kalle Olavi Niemitalo <kon@iki.fi>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Expansion of #$ in byte-compiled files
Date: Fri, 4 Sep 2015 01:46:39 +0000 (UTC)	[thread overview]
Message-ID: <716126080.1313487.1441331199397.JavaMail.yahoo@mail.yahoo.com> (raw)
In-Reply-To: <87egifkw77.fsf@Niukka.kon.iki.fi>

> On Thursday, September 3, 2015 5:51 PM, Kalle Olavi Niemitalo <kon@iki.fi> wrote:

> > Michael Mauger <michael@mauger.com> 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.



  reply	other threads:[~2015-09-04  1:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-03 19:53 Expansion of #$ in byte-compiled files Michael Mauger
2015-09-03 21:14 ` Ken Brown
2015-09-03 21:51 ` Kalle Olavi Niemitalo
2015-09-04  1:46   ` Michael Mauger [this message]
2015-09-04 14:49     ` Ken Brown
2015-09-04  2:12 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=716126080.1313487.1441331199397.JavaMail.yahoo@mail.yahoo.com \
    --to=michael@mauger.com \
    --cc=emacs-devel@gnu.org \
    --cc=kon@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.