From unknown Sun Jun 22 03:50:23 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#1106 <1106@debbugs.gnu.org> To: bug#1106 <1106@debbugs.gnu.org> Subject: Status: last-coding-system-used may be nil in load-with-code-conversion Reply-To: bug#1106 <1106@debbugs.gnu.org> Date: Sun, 22 Jun 2025 10:50:23 +0000 retitle 1106 last-coding-system-used may be nil in load-with-code-conversion reassign 1106 emacs submitter 1106 domq@google.com (Dominique Quatravaux) severity 1106 normal thanks From domq@google.com Tue Oct 7 06:22: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=-7.9 required=4.0 tests=BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 7 Oct 2008 13:22:25 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m97DMET8032307 for ; Tue, 7 Oct 2008 06:22:15 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnCVw-00061Z-KV for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 09:22:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnCVs-0005zB-56 for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 09:22:10 -0400 Received: from [199.232.76.173] (port=48250 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnCVr-0005yh-Dw for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 09:22:07 -0400 Received: from smtp-out.google.com ([216.239.33.17]:8849 helo=smtp-out3.google.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KnCVr-0003AU-4G for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 09:22:07 -0400 Received: from zps37.corp.google.com (zps37.corp.google.com [172.25.146.37]) by smtp-out.google.com with ESMTP id m97DLsg0029185 for ; Tue, 7 Oct 2008 14:21:55 +0100 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1223385715; bh=vEI1AThnXTj1y/iS7U3ytlj177U=; h=DomainKey-Signature:To:Subject:Message-Id:Date:From; b=dqrQzG2kgM 63dy28eGtJvHLMKNq/D8+MVIDdFxIQIfdAFOJRXBqgvJHQ+IZXLgN5i3mhfru09S+gH BOClfsk3Q== DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=to:subject:message-id:date:from; b=mbkyx2OnVGju1gRbTyh9KM8rbyrnCRse3FlcZ555JI8UJTt2WaFRglTPAkocTwchz /trQnaSDi3XDnHHBOgl5w== Received: from localhost (alliance-maui.zrh.corp.google.com [172.28.206.17]) by zps37.corp.google.com with ESMTP id m97DLqYH006214 for ; Tue, 7 Oct 2008 06:21:53 -0700 Received: by localhost (Postfix, from userid 71297) id 2050E26B17E; Tue, 7 Oct 2008 15:21:52 +0200 (CEST) To: bug-gnu-emacs@gnu.org Subject: last-coding-system-used may be nil in load-with-code-conversion Message-Id: <20081007132152.2050E26B17E@localhost> Date: Tue, 7 Oct 2008 15:21:52 +0200 (CEST) From: domq@google.com (Dominique Quatravaux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Putting the following in one's .emacs causes Emacs to crash on startup: (setq file-coding-system-alist nil) (load "/dev/null") This happens because mule.el wrongly assumes that last-coding-system-used cannot be null on line 84. In GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-09-05 on vernadsky, modified by Ubuntu Windowing system distributor `The X.Org Foundation', version 11.0.10400090 configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.2/leim' '--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.utf-8 locale-coding-system: utf-8 default-enable-multibyte-characters: 1 From cyd@stupidchicken.com Wed Oct 8 09:33:08 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=-3.9 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1106) by emacsbugs.donarmstrong.com; 8 Oct 2008 16:33:08 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m98GX5f6018609 for <1106@emacsbugs.donarmstrong.com>; Wed, 8 Oct 2008 09:33:06 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 8CAA357E212; Wed, 8 Oct 2008 12:34:47 -0400 (EDT) From: Chong Yidong To: domq@google.com (Dominique Quatravaux) Cc: 1106@debbugs.gnu.org Subject: last-coding-system-used may be nil in load-with-code-conversion Date: Wed, 08 Oct 2008 12:34:47 -0400 Message-ID: <871vyrkpug.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > Putting the following in one's .emacs causes Emacs to crash on > startup: > > (setq file-coding-system-alist nil) > (load "/dev/null") > > This happens because mule.el wrongly assumes that > last-coding-system-used cannot be null on line 84. > > In GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) > of 2008-09-05 on vernadsky, modified by Ubuntu I can't reproduce the crash with Emacs 22.2. Maybe it's due to a Debian change? Could you check if the crash happens with a vanille Emacs 22.2 downloaded from ftp://ftp.gnu.org/gnu/emacs/ ? Also, does the crash happen with Emacs CVS (or the Debian emacs-snapshot package)? Thanks. From domq@google.com Thu Oct 9 03:07:09 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 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1106) by emacsbugs.donarmstrong.com; 9 Oct 2008 10:07:09 +0000 Received: from smtp-out3.google.com (smtp-out.google.com [216.239.33.17]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m99A75v7022162 for <1106@emacsbugs.donarmstrong.com>; Thu, 9 Oct 2008 03:07:06 -0700 Received: from wpaz24.hot.corp.google.com (wpaz24.hot.corp.google.com [172.24.198.88]) by smtp-out.google.com with ESMTP id m99A731o023770 for <1106@emacsbugs.donarmstrong.com>; Thu, 9 Oct 2008 11:07:03 +0100 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1223546824; bh=/Nfdh3Du2O2aqRn41R4XWqvWaEI=; h=DomainKey-Signature:Message-ID:Date:From:To:Subject:Cc: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-Disposition:References; b=ij7OR4M/xB5v0ff/VW6bpnw8oeSnHBZl PYP6rrqgb5Ht+NilVJ9MK0jggUT6tShaFfMCQyrSo0jHskrbUnrfew== DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=message-id:date:from:to:subject:cc:in-reply-to: mime-version:content-type:content-transfer-encoding: content-disposition:references; b=MbY5SXGHElCiGU8Db/71kODeoRCo1wotC7tqj5VXM9ygmgpPO68I929HqfR7twb4+ TFw75WzSq7zFq1bzmjFgQ== Received: from qw-out-1920.google.com (qwk4.prod.google.com [10.241.195.132]) by wpaz24.hot.corp.google.com with ESMTP id m99A71Cn016909 for <1106@emacsbugs.donarmstrong.com>; Thu, 9 Oct 2008 03:07:02 -0700 Received: by qw-out-1920.google.com with SMTP id 4so1062306qwk.20 for <1106@emacsbugs.donarmstrong.com>; Thu, 09 Oct 2008 03:07:01 -0700 (PDT) Received: by 10.214.114.15 with SMTP id m15mr12521669qac.73.1223546821327; Thu, 09 Oct 2008 03:07:01 -0700 (PDT) Received: by 10.214.45.19 with HTTP; Thu, 9 Oct 2008 03:07:01 -0700 (PDT) Message-ID: Date: Thu, 9 Oct 2008 12:07:01 +0200 From: "Dominique Quatravaux" To: "Chong Yidong" Subject: Re: last-coding-system-used may be nil in load-with-code-conversion Cc: 1106@debbugs.gnu.org In-Reply-To: <871vyrkpug.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <871vyrkpug.fsf@cyd.mit.edu> On Wed, Oct 8, 2008 at 6:34 PM, Chong Yidong wrote: > Also, does the crash happen with Emacs CVS (or the Debian emacs-snapshot > package)? Cannot reproduce with emacs-snapshot 1:20081005-1 from http://emacs.orebokech.com/ ; I will investigate further and report to Ubuntu maintainers if appropriate. Please close the bug. -- Dominique Quatravaux +41 79 609 40 72 From cyd@stupidchicken.com Thu Oct 9 07:51:11 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=-3.9 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 9 Oct 2008 14:51:11 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m99Ep5H4028629 for ; Thu, 9 Oct 2008 07:51:06 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 19E4657E14E; Thu, 9 Oct 2008 10:52:52 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close bugs Date: Thu, 09 Oct 2008 10:52:52 -0400 Message-ID: <87myhd3jnf.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii close 1106 thanks From unknown Sun Jun 22 03:50:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Thu, 06 Nov 2008 15: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