emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: windows installer


From: Phillip Lord
Subject: Re: windows installer
Date: Fri, 24 Nov 2017 19:13:31 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: address@hidden (Phillip Lord)
>> Cc: address@hidden,  address@hidden,  address@hidden
>> Date: Thu, 23 Nov 2017 18:06:22 +0000
>> 
>> > If you remove that, how will we know from the bug report that the
>> > binary they used is the one we distribute from the GNU site?  It's an
>> > important piece of information when looking into a bug.
>> 
>> For this, you just need a name which is reasonably likely to be
>> unique.
>
> Yes, we need a name that is not nil.


So something like this:

(defconst emacs-build-system
          (if (file-exists-p "~/.emacs-build-system-name")
              (with-temp-buffer
                (insert-file-contents "~/.emacs-build-system-name")
                (buffer-string))
             (system-name)))
              

would be okay? The defconst is set at byte-compilation time right?
That's why

(defconst emacs-build-system (system-name)
  "Name of the system on which Emacs was built, or nil if not available.")

Returns the build-system rather than the current?

Phil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]