* bug#12739: 24.2.50; selection-coding-system is set to ANSI code page on Cygw32
@ 2012-10-26 11:21 Kazuhiro Ito
2012-10-26 13:12 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Kazuhiro Ito @ 2012-10-26 11:21 UTC (permalink / raw)
To: 12739
On Cygw32, it seems that cache_system_info (in src/w32fns.c) is never
called. So, os_subtype is not initialized and selection-coding-system
is not set to unicode in my environment.
$ emacs -Q
C-h v selection-coding-system
selection-coding-system is a variable defined in `select.el'.
Its value is cp932-dos
--
Kazuhiro Ito
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#12739: 24.2.50; selection-coding-system is set to ANSI code page on Cygw32
2012-10-26 11:21 bug#12739: 24.2.50; selection-coding-system is set to ANSI code page on Cygw32 Kazuhiro Ito
@ 2012-10-26 13:12 ` Eli Zaretskii
2012-10-28 0:22 ` Kazuhiro Ito
2021-07-15 20:25 ` Lars Ingebrigtsen
0 siblings, 2 replies; 6+ messages in thread
From: Eli Zaretskii @ 2012-10-26 13:12 UTC (permalink / raw)
To: Kazuhiro Ito; +Cc: 12739
> Date: Fri, 26 Oct 2012 20:21:22 +0900
> From: Kazuhiro Ito <kzhr@d1.dion.ne.jp>
>
> On Cygw32, it seems that cache_system_info (in src/w32fns.c) is never
> called.
It should be called early on during startup, so perhaps a cygw32-only
call to it near the beginning of 'main' is all that's needed.
(Does the cygw32 build use w32_num_mouse_buttons? if not, that part of
cache_system_info should be #ifdef'ed away on Cygwin.)
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#12739: 24.2.50; selection-coding-system is set to ANSI code page on Cygw32
2012-10-26 13:12 ` Eli Zaretskii
@ 2012-10-28 0:22 ` Kazuhiro Ito
2021-07-15 20:25 ` Lars Ingebrigtsen
1 sibling, 0 replies; 6+ messages in thread
From: Kazuhiro Ito @ 2012-10-28 0:22 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 12739
> > On Cygw32, it seems that cache_system_info (in src/w32fns.c) is never
> > called.
>
> It should be called early on during startup, so perhaps a cygw32-only
> call to it near the beginning of 'main' is all that's needed.
>
> Does the cygw32 build use w32_num_mouse_buttons?
Yes, Cygw32 build also uses w32_num_mouse_buttons in w32_wnd_proc.
--
Kazuhiro Ito
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#12739: 24.2.50; selection-coding-system is set to ANSI code page on Cygw32
2012-10-26 13:12 ` Eli Zaretskii
2012-10-28 0:22 ` Kazuhiro Ito
@ 2021-07-15 20:25 ` Lars Ingebrigtsen
2021-07-17 6:04 ` Kazuhiro Ito
1 sibling, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-15 20:25 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Kazuhiro Ito, 12739
Eli Zaretskii <eliz@gnu.org> writes:
>> On Cygw32, it seems that cache_system_info (in src/w32fns.c) is never
>> called.
>
> It should be called early on during startup, so perhaps a cygw32-only
> call to it near the beginning of 'main' is all that's needed.
I don't have a cygw32 system, but I have a cygw64, and there:
----
selection-coding-system is a variable defined in ‘select.el’.
Its value is ‘utf-16le-dos’
----
Is this still an issue on cygw32 systems, or has it gone away in the
eight years since this was reported?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#12739: 24.2.50; selection-coding-system is set to ANSI code page on Cygw32
2021-07-15 20:25 ` Lars Ingebrigtsen
@ 2021-07-17 6:04 ` Kazuhiro Ito
2021-07-17 14:09 ` Lars Ingebrigtsen
0 siblings, 1 reply; 6+ messages in thread
From: Kazuhiro Ito @ 2021-07-17 6:04 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 12739
> >> On Cygw32, it seems that cache_system_info (in src/w32fns.c) is never
> >> called.
> >
> > It should be called early on during startup, so perhaps a cygw32-only
> > call to it near the beginning of 'main' is all that's needed.
>
> I don't have a cygw32 system, but I have a cygw64, and there:
>
> ----
> selection-coding-system is a variable defined in ‘select.el’.
>
> Its value is ‘utf-16le-dos’
> ----
>
> Is this still an issue on cygw32 systems, or has it gone away in the
> eight years since this was reported?
It seems that the problem has been already resolved though I don't
know when.
--
Kazuhiro Ito
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-07-17 14:09 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-26 11:21 bug#12739: 24.2.50; selection-coding-system is set to ANSI code page on Cygw32 Kazuhiro Ito
2012-10-26 13:12 ` Eli Zaretskii
2012-10-28 0:22 ` Kazuhiro Ito
2021-07-15 20:25 ` Lars Ingebrigtsen
2021-07-17 6:04 ` Kazuhiro Ito
2021-07-17 14:09 ` Lars Ingebrigtsen
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.