From unknown Fri Aug 15 02:02:55 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#481 <481@debbugs.gnu.org> To: bug#481 <481@debbugs.gnu.org> Subject: Status: Crashes with non-default language environments Reply-To: bug#481 <481@debbugs.gnu.org> Date: Fri, 15 Aug 2025 09:02:55 +0000 retitle 481 Crashes with non-default language environments reassign 481 emacs submitter 481 Kenichi Handa severity 481 normal thanks From handa@m17n.org Tue Jun 24 19:58:15 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,BAYES_00,FVGT_m_MULTI_ODD, IMPRONONCABLE_2,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 25 Jun 2008 02:58:15 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5P2wBgG001332 for ; Tue, 24 Jun 2008 19:58:13 -0700 Received: from mail.gnu.org ([199.232.76.166]:55097 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KBLCt-0004Af-Qr for emacs-pretest-bug@gnu.org; Tue, 24 Jun 2008 22:58:03 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KBLCx-0007Ei-42 for emacs-pretest-bug@gnu.org; Tue, 24 Jun 2008 22:58:10 -0400 Received: from mx1.aist.go.jp ([150.29.246.133]:53100) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KBLCw-0007EH-Ft; Tue, 24 Jun 2008 22:58:07 -0400 Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id m5P2x7b6017572; Wed, 25 Jun 2008 11:59:07 +0900 (JST) env-from (handa@m17n.org) Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id m5P2w4qu029385; Wed, 25 Jun 2008 11:58:04 +0900 (JST) env-from (handa@m17n.org) Received: by smtp3.aist.go.jp with ESMTP id m5P2w3DN008095; Wed, 25 Jun 2008 11:58:03 +0900 (JST) env-from (handa@m17n.org) Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1KBLCt-0007B8-RJ; Wed, 25 Jun 2008 11:58:03 +0900 From: Kenichi Handa To: Stefan Monnier CC: juri@jurta.org, emacs-pretest-bug@gnu.org, miles@gnu.org In-reply-to: (message from Stefan Monnier on Tue, 12 Feb 2008 11:29:55 -0500) Subject: Re: Crashes with non-default language environments References: <87y79wve9b.fsf@jurta.org> <87zlu96bp2.fsf@jurta.org> <87prv4l96f.fsf@jurta.org> <87lk5scl3a.fsf@catnip.gol.com> User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Message-Id: Date: Wed, 25 Jun 2008 11:58:03 +0900 X-detected-kernel: by monty-python.gnu.org: Solaris 9 This is the thread of long ago. In article , Stefan Monnier writes: > > But, even if we implement string-to-unibyte, it should be > > used for a string containing only ascii and eight-bit chars. > > And in that case, string-make-unibyte behaves exactly the > > same as string-to-unibyte. > No it would be different: it would also signal an error if some > non-binary char is found. (I might potentially be convinced that it's > OK to additionally accept the 128-255 latin1 chars as alternatives to > eight-bit chars, since they now get character codes 128-255). I've just installed a change to implement string-to-unibyte as below and used it to fix the problem of jpeg detection. (string-to-unibyte string &optional accept-latin-1) Return a unibyte string with the same individual chars as string. If string is unibyte, the result is string itself. Otherwise it is a newly created string, with no text properties, where each `eight-bit' character is converted to the corresponding byte. If string contains a non-ASCII, non-`eight-bit' character, an error is signalled. If the optional 2nd arg accept-latin-1 is non-nil, a Latin-1 character doesn't cause an error, but is converted to a byte of same code. --- Kenichi Handa handa@ni.aist.go.jp From rgm@gnu.org Fri Jun 27 17:17:39 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.0 required=4.0 tests=AWL,BAYES_00,MISSING_SUBJECT, NOSUBJECT,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 28 Jun 2008 00:17:40 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5S0Hb1m024032 for ; Fri, 27 Jun 2008 17:17:38 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KCO85-0007U1-IO; Fri, 27 Jun 2008 20:17:25 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18533.33557.516574.124701@fencepost.gnu.org> Date: Fri, 27 Jun 2008 20:17:25 -0400 From: Glenn Morris To: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: black X-Ran: AJR\"AER]FNaM[x['%!g^?@TYtXAi9\|z=c|.G.MtnxU-GcLGZmMtKnh;4iwX_czu6/`V& merge 481 482 tags 462 +wontfix tags 461 +wontfix From rgm@gnu.org Mon Jul 7 14:42:25 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.5 required=4.0 tests=AWL,BAYES_00,MISSING_SUBJECT, NOSUBJECT,RCVD_IN_DNSWL_MED,VALID_BTS_CONTROL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 7 Jul 2008 21:42:25 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m67LgMJB008510 for ; Mon, 7 Jul 2008 14:42:24 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KFyT8-0006H1-MR; Mon, 07 Jul 2008 17:41:58 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18546.36262.618557.246521@fencepost.gnu.org> Date: Mon, 7 Jul 2008 17:41:58 -0400 From: Glenn Morris To: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: black X-Ran: &BpCh70vvLKz%j=9J&.jAlVKVxJe^'E>y,j|w]P}!(ky@F?U(AW~*!e`t1V,+[6cq0Czk' X-Debbugs-No-Ack: yes merge 481 517 529 531 From cyd@stupidchicken.com Tue Jul 22 22:29:24 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.0 tests=AWL,BAYES_00,ONEWORD, RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 23 Jul 2008 05:29:24 +0000 Received: from furry (c-24-63-201-57.hsd1.ma.comcast.net [24.63.201.57]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6N5TLgi010201 for ; Tue, 22 Jul 2008 22:29:23 -0700 Received: by furry (Postfix, from userid 1000) id 9C754C056; Wed, 23 Jul 2008 01:29:16 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close Date: Wed, 23 Jul 2008 01:29:16 -0400 Message-ID: <87bq0pmamr.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii close 481 thanks From unknown Fri Aug 15 02:02:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Wed, 20 Aug 2008 14:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator