GNU bug report logs - #19716
Excessive Windows registry accesses

Previous Next

Package: emacs;

Reported by: djc <at> resiak.org

Date: Wed, 28 Jan 2015 18:48:02 UTC

Severity: minor

Tags: wontfix

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: PK <djc <at> resiak.org>
To: "bug-gnu-emacs <at> gnu.org >> Emacs bugs" <bug-gnu-emacs <at> gnu.org>
Subject: Excessive Windows registry accesses
Date: Wed, 28 Jan 2015 19:32:49 +0100
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)

1849 times each in quick succession (!):

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

1850 times likewise (also !):

    QueryKey: HKCU (success -- unsurprisingly)

and likewise finally, 1884 times:

    QueryKey: HKLM (more unsurprising success)

Why?

PK




This bug report was last modified 7 years and 245 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.