From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: unicode-2, Emacs.app terminal mode after multi-tty merge Date: Sun, 04 Nov 2007 16:08:57 -0500 Message-ID: References: <55f7df060711041100i776d7ddes36009b21ec0240c5@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1194210553 9478 80.91.229.12 (4 Nov 2007 21:09:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Nov 2007 21:09:13 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Adrian Robert" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 04 22:09:16 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 1IomiX-0000pY-Ki for ged-emacs-devel@m.gmane.org; Sun, 04 Nov 2007 22:09:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IomiN-0006BE-5r for ged-emacs-devel@m.gmane.org; Sun, 04 Nov 2007 16:09:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IomiK-0006B8-76 for emacs-devel@gnu.org; Sun, 04 Nov 2007 16:09:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IomiJ-0006Aw-8s for emacs-devel@gnu.org; Sun, 04 Nov 2007 16:08:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IomiJ-0006At-4u for emacs-devel@gnu.org; Sun, 04 Nov 2007 16:08:59 -0500 Original-Received: from tomts5-srv.bellnexxia.net ([209.226.175.25]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IomiI-0001f0-QH for emacs-devel@gnu.org; Sun, 04 Nov 2007 16:08:59 -0500 Original-Received: from ceviche.home ([70.55.140.67]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20071104210857.GEUS17217.tomts5-srv.bellnexxia.net@ceviche.home> for ; Sun, 4 Nov 2007 16:08:57 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 76E15B40FF; Sun, 4 Nov 2007 16:08:56 -0500 (EST) In-Reply-To: <55f7df060711041100i776d7ddes36009b21ec0240c5@mail.gmail.com> (Adrian Robert's message of "Sun, 4 Nov 2007 22:00:48 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) 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:82520 Archived-At: > I updated Emacs.app (Mac Cocoa port) to run under the multi-tty > changes as merged into the unicode-2 branch, Wonderful. Can't wait to see this code in the CVS repository. > however before releasing I need to solve one remaining problem: when > run as -nw, the default face is set to green foreground, yellow > background. (If I go to customize-face it actually says "green" and > "yellow".) This occurs with emacs -Q -nw and is new -- unicode-2 CVS > before the merge produces a black-on-white default face. > Someone suggested something in my terminal settings caused the > problem, though I don't have any customization (moved aside .cshrc). > However the Apple terminal itself may be the cause? If I run under an > xterm the problem goes away, but I'm in black-and-white mode. Setting > the TERM variable under Apple terminal to various values likewise > either gives green/yellow or full b-&-w mode. What values give what result? Check the code they run in lisp/term/*.el > Another question -- is there any way to ask the new emacsclient to > open a frame in the default windowing terminal? That's what supposedly happens if you pass no option, if not, report it as a bug. > Finally, is basic use of multi-tty from inside emacs documented > anywhere? There's make-frame-on-tty. > I read about some functions in the NEWS but could not find out how to > get a list of the available terminal names to use for 'tty' arguments, AFAIK there's no generic way to get such a list, indeed. But any tty in /dev to which we have write access should do. It's kind of like X displays: you can't get a list of available displays, but you can use any display to which you have access. > or how to specify displays in non-X environments. E.g., > I'd like to throw up a GUI window from inside a -nw session. Don't know about that one. There's probably no specific way to do it because this was developed under X11. So feel free to define such a functionality for gnustep. Note that IIRC w32 specifies a constant/dummy value for `display' parameter of its frames, and I guess the carbon code does likewise, so you may want to use that. Stefan