From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: [multi-tty] Wrong type argument: framep, 0 Date: Mon, 14 May 2007 11:35:29 -0700 Message-ID: <200705141835.l4EIZUYX010161@oogie-boogie.ics.uci.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1179167928 9450 80.91.229.12 (14 May 2007 18:38:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 May 2007 18:38:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: csant Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 14 20:38:46 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HnfRS-0003co-PG for ged-emacs-devel@m.gmane.org; Mon, 14 May 2007 20:38:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HnfZF-0000VT-1y for ged-emacs-devel@m.gmane.org; Mon, 14 May 2007 14:46:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HnfZB-0000VM-7C for emacs-devel@gnu.org; Mon, 14 May 2007 14:46:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HnfZ8-0000V9-Sj for emacs-devel@gnu.org; Mon, 14 May 2007 14:46:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HnfZ8-0000V6-MU for emacs-devel@gnu.org; Mon, 14 May 2007 14:46:38 -0400 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HnfRL-0000uK-9x for emacs-devel@gnu.org; Mon, 14 May 2007 14:38:35 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id l4EIZUYX010161; Mon, 14 May 2007 11:35:30 -0700 (PDT) In-Reply-To: (csant@csant.info's message of "Mon\, 14 May 2007 09\:13\:54 -0600 \(MDT\)") Original-Lines: 43 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.027, required 5, autolearn=disabled, ALL_TRUSTED -1.44, INFO_TLD 0.81, J_CHICKENPOX_32 0.60) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:71058 Archived-At: csant writes: > Hi, > > just an ordinary emacs *user* here, jumping on the multi-tty branch now > that it is available in CVS. On one machine everything went fine and > smooth, but on the other one I end up with: > > $ ./src/emacs -Q > Wrong type argument: framep, 0 > > and emacs will not start. When starting with > > $ ./src/emacs -Q -nw > > emacs starts and seems to be usable, but I get > > Wrong type argument: framep, 1 > > in minibuffer at startup. Emacsclient is however totally unsuable (even > with -t flag): it will start and exit immediately. There was an incorrect change installed on the multi-tty branch that makes it fail that way, you can try this patch. --- env.el 2007-05-13 15:12:35.000000000 -0700 +++ env.el.~1.38.4.1~ 2007-05-13 15:13:52.000000000 -0700 @@ -212,8 +212,7 @@ in the environment list of the selected (let ((value (getenv-internal (if (multibyte-string-p variable) (encode-coding-string variable locale-coding-system) - variable) - frame))) + variable)))) (if (and enable-multibyte-characters value) (setq value (decode-coding-string value locale-coding-system))) (when (interactive-p) You need to make sure that env.el is recompiled, and then run make again in the src directory to recreate emacs. Hopefully the change will be reverted soon in CVS....