bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#19438: 24.4; system-name bad cache


From: Paul Eggert
Subject: bug#19438: 24.4; system-name bad cache
Date: Fri, 26 Dec 2014 08:07:55 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Unfortunately even "the name of the machine" can change; e.g., I can invoke the shell command "hostname garfield" to change my machine's name to garfield. Also, I expect that if Emacs has its process migrated (LinuxPMI, anybody?) it will then be running on a different machine with a different name.

How about the attached patch? The idea is that (system-name) actually inquires for the current system name, and system-name caches the result. If an Emacs lisp program assigns to system-name, though, it's no longer updated thereafter.

Attachment: 0001-system-name-s-returned-value-can-vary.patch
Description: Text Data


reply via email to

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