From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#7840: SYMBOL_VALUE in terminal.c (was 23.2.91; default-terminal-coding-system not inherited by created terminals) Date: Sat, 12 Feb 2011 19:18:45 -0500 Message-ID: <87wrl423dm.fsf@stupidchicken.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1297557403 16024 80.91.229.12 (13 Feb 2011 00:36:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Feb 2011 00:36:43 +0000 (UTC) Cc: 7840@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 13 01:36:39 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PoPx3-0001oV-TB for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Feb 2011 01:36:34 +0100 Original-Received: from localhost ([127.0.0.1]:33860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PoPx3-0001IB-5L for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Feb 2011 19:36:33 -0500 Original-Received: from [140.186.70.92] (port=48333 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PoPwt-0001Eu-TN for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2011 19:36:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PoPws-0002w6-Qd for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2011 19:36:23 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PoPws-0002vz-MC for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2011 19:36:22 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PoPXP-0000WP-AM; Sat, 12 Feb 2011 19:10:03 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Feb 2011 00:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7840 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7840-submit@debbugs.gnu.org id=B7840.12975558001994 (code B ref 7840); Sun, 13 Feb 2011 00:10:03 +0000 Original-Received: (at 7840) by debbugs.gnu.org; 13 Feb 2011 00:10:00 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PoPXL-0000W4-5W for submit@debbugs.gnu.org; Sat, 12 Feb 2011 19:10:00 -0500 Original-Received: from vm-emlprdomr-03.its.yale.edu ([130.132.50.144]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PoPXJ-0000Vm-UI for 7840@debbugs.gnu.org; Sat, 12 Feb 2011 19:09:58 -0500 Original-Received: from furball (c-71-192-165-84.hsd1.ct.comcast.net [71.192.165.84]) (authenticated bits=0) by vm-emlprdomr-03.its.yale.edu (8.14.4/8.14.4) with ESMTP id p1D0In9h020163 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 12 Feb 2011 19:18:50 -0500 Original-Received: by furball (Postfix, from userid 1000) id 2BC181605B7; Sat, 12 Feb 2011 19:18:45 -0500 (EST) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.144 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 12 Feb 2011 19:10:03 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44087 Archived-At: > 2011-02-12 Eli Zaretskii > * terminal.c (create_terminal): Use default-keyboard-coding-system > and default-terminal-coding-system to initialize coding systems of > the new terminal. (Bug#7840) > > ! keyboard_coding = SYMBOL_VALUE (intern ("default-keyboard-coding-system")); > ! if (NILP (keyboard_coding) > ! || EQ (keyboard_coding, Qunbound) > ! || NILP (Fcoding_system_p (keyboard_coding))) > ! keyboard_coding = Qno_conversion; > ! terminal_coding = SYMBOL_VALUE (intern ("default-terminal-coding-system")); This change doesn't build on the trunk, due to Stefan's 2010-04-20 change removing SYMBOL_VALUE. I left out this change when doing the last merge from the branch. Would you mind working up a separate patch and applying it to the trunk? (Fsymbol_value apparently doesn't work here, because the symbols can be unbound and we don't want to signal an error.) Thanks.