all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: djc@resiak.org
Cc: 19716@debbugs.gnu.org
Subject: bug#19716: Excessive Windows registry accesses
Date: Wed, 28 Jan 2015 21:14:03 +0200	[thread overview]
Message-ID: <83a912ogzo.fsf@gnu.org> (raw)
In-Reply-To: <54C92B51.3090704@resiak.org>

> 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	other threads:[~2015-01-28 19:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-28 18:32 bug#19716: Excessive Windows registry accesses PK
2015-01-28 19:14 ` Eli Zaretskii [this message]
     [not found]   ` <54C94F69.3090403@resiak.org>
2015-01-29  3:51     ` Eli Zaretskii
2017-12-08  1:44       ` Noam Postavsky

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=83a912ogzo.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=19716@debbugs.gnu.org \
    --cc=djc@resiak.org \
    /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.