GNU bug report logs - #12739
24.2.50; selection-coding-system is set to ANSI code page on Cygw32

Previous Next

Package: emacs;

Reported by: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>

Date: Fri, 26 Oct 2012 11:25:02 UTC

Severity: normal

Tags: moreinfo

Found in version 24.2.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12739 in the body.
You can then email your comments to 12739 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12739; Package emacs. (Fri, 26 Oct 2012 11:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 26 Oct 2012 11:25:02 GMT) Full text and rfc822 format available.

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

From: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2.50; selection-coding-system is set to ANSI code page on Cygw32
Date: Fri, 26 Oct 2012 20:21:22 +0900
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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12739; Package emacs. (Fri, 26 Oct 2012 13:16:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Cc: 12739 <at> debbugs.gnu.org
Subject: Re: bug#12739: 24.2.50;
	selection-coding-system is set to ANSI code page on Cygw32
Date: Fri, 26 Oct 2012 15:12:57 +0200
> Date: Fri, 26 Oct 2012 20:21:22 +0900
> From: Kazuhiro Ito <kzhr <at> 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.)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12739; Package emacs. (Sun, 28 Oct 2012 00:25:02 GMT) Full text and rfc822 format available.

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

From: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 12739 <at> debbugs.gnu.org
Subject: Re: bug#12739: 24.2.50;
	selection-coding-system is set to ANSI code page on Cygw32
Date: Sun, 28 Oct 2012 09:22:18 +0900
> > 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12739; Package emacs. (Thu, 15 Jul 2021 20:26:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>, 12739 <at> debbugs.gnu.org
Subject: Re: bug#12739: 24.2.50; selection-coding-system is set to ANSI code
 page on Cygw32
Date: Thu, 15 Jul 2021 22:25:44 +0200
Eli Zaretskii <eliz <at> 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




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 15 Jul 2021 20:27:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12739; Package emacs. (Sat, 17 Jul 2021 06:05:01 GMT) Full text and rfc822 format available.

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

From: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 12739 <at> debbugs.gnu.org
Subject: Re: bug#12739: 24.2.50;
 selection-coding-system is set to ANSI code page on Cygw32
Date: Sat, 17 Jul 2021 15:04:11 +0900
> >> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12739; Package emacs. (Sat, 17 Jul 2021 14:10:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 12739 <at> debbugs.gnu.org
Subject: Re: bug#12739: 24.2.50; selection-coding-system is set to ANSI code
 page on Cygw32
Date: Sat, 17 Jul 2021 16:09:18 +0200
Kazuhiro Ito <kzhr <at> d1.dion.ne.jp> writes:

> It seems that the problem has been already resolved though I don't
> know when.

Thanks for checking; I'm closing this bug report, then.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 12739 <at> debbugs.gnu.org and Kazuhiro Ito <kzhr <at> d1.dion.ne.jp> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 17 Jul 2021 14:10:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 15 Aug 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 307 days ago.

Previous Next


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