From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David De La Harpe Golden Newsgroups: gmane.emacs.devel Subject: Re: Add "lisp/term/screen-256color.el" for GNU Screen's 256 color mode? Date: Fri, 20 Feb 2009 17:46:53 +0000 Message-ID: <499EEC8D.5050404@harpegolden.net> References: <22117277.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1235152068 3905 80.91.229.12 (20 Feb 2009 17:47:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2009 17:47:48 +0000 (UTC) Cc: Presto Ten , Emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 20 18:49:02 2009 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 1LaZUJ-0005MI-TT for ged-emacs-devel@m.gmane.org; Fri, 20 Feb 2009 18:48:36 +0100 Original-Received: from localhost ([127.0.0.1]:44807 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaZSz-00073k-JF for ged-emacs-devel@m.gmane.org; Fri, 20 Feb 2009 12:47:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LaZSu-00073f-Kk for emacs-devel@gnu.org; Fri, 20 Feb 2009 12:47:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LaZSt-00073T-4t for Emacs-devel@gnu.org; Fri, 20 Feb 2009 12:47:07 -0500 Original-Received: from [199.232.76.173] (port=42724 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaZSs-00073O-U1 for Emacs-devel@gnu.org; Fri, 20 Feb 2009 12:47:06 -0500 Original-Received: from harpegolden.net ([65.99.215.13]:46805) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LaZSs-0001PD-GZ for Emacs-devel@gnu.org; Fri, 20 Feb 2009 12:47:06 -0500 Original-Received: from [87.198.54.24] (87-198-54-24.ptr.magnet.ie [87.198.54.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTP id 5598F80DE; Fri, 20 Feb 2009 17:47:05 +0000 (GMT) User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:109255 Archived-At: Stefan Monnier wrote: > Having a function terminal-init-screen in file screen-256color.el > doesn't make sense. The function probably needs to be renamed to > terminal-init-screen-256color. OTOH the file could probably be named > just term/screen.el The matching algo documented in term/README means that in the TERM=screen-256color case, if there's no screen-256color.el, emacs falls back to screen.el ? In that case, having the file called called screen.el and that function terminal-init-screen makes a lot of sense since the code Trent posted anyway reuses the bits of term/xterm.el which are intended to do the right thing for xterm vs. xterm-256color when xterm-256color falls back to xterm.el => So if that terminal-init-screen is used, calling it that and putting it in term/screen.el is for the best as far as I can see.