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

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

bug#19716: Excessive Windows registry accesses


From: Eli Zaretskii
Subject: bug#19716: Excessive Windows registry accesses
Date: Wed, 28 Jan 2015 21:14:03 +0200

> Date: Wed, 28 Jan 2015 19:32:49 +0100
> From: PK <djc@resiak.org>
> 
> When I invoke GNU Emacs (24.4.1 (x86_64-w64-mingw32) of 2014-10-21 on KAEL) 
> on Windows 7, it makes an enormous number of what seem (to me) unnecessary 
> identical registry accesses.
> 
> 20 times each:
> 
>      QueryValue: HKLM\System\CurrentControlSet\Control\Nls\CodePage\28605 
> (success)
>      QueryValue: HKLM\System\CurrentControlSet\Control\Nls\CodePage\28604 
> (name not found)

Emacs doesn't access these directly.  Perhaps Windows does, in the
bowels of some API that Emacs calls.

>      OpenKey: HKCU\SOFTWARE\GNU\Emacs (name not found)
>      OpenKey: HKLM\SOFTWARE\GNU\Emacs (name not found)

This is accessed as part of initialization (because environment
variable might be set in the Registry), and also each time Emacs needs
to access GUI resources (because Emacs on Windows allows to store "X
resources" in the Registry).

Anyway, why do you think this is a bug?





reply via email to

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