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: Sat, 21 Feb 2009 14:22:07 +0000 Message-ID: <49A00E0F.4010802@harpegolden.net> References: <22117277.post@talk.nabble.com> <499EEC8D.5050404@harpegolden.net> 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 1235226222 26027 80.91.229.12 (21 Feb 2009 14:23:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Feb 2009 14:23:42 +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 Sat Feb 21 15:24:58 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 1Lasmm-0002IV-23 for ged-emacs-devel@m.gmane.org; Sat, 21 Feb 2009 15:24:56 +0100 Original-Received: from localhost ([127.0.0.1]:33024 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaslR-0005Aa-2Y for ged-emacs-devel@m.gmane.org; Sat, 21 Feb 2009 09:23:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LaskJ-0004I8-OU for emacs-devel@gnu.org; Sat, 21 Feb 2009 09:22:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LaskD-0004CZ-2s for Emacs-devel@gnu.org; Sat, 21 Feb 2009 09:22:22 -0500 Original-Received: from [199.232.76.173] (port=55038 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaskB-0004C1-N4 for Emacs-devel@gnu.org; Sat, 21 Feb 2009 09:22:15 -0500 Original-Received: from harpegolden.net ([65.99.215.13]:50710) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LaskB-0005y3-9H for Emacs-devel@gnu.org; Sat, 21 Feb 2009 09:22:15 -0500 Original-Received: from [87.198.54.194] (87-198-54-194.ptr.magnet.ie [87.198.54.194]) (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 BC53C82DA; Sat, 21 Feb 2009 14:22:20 +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:109276 Archived-At: Stefan Monnier wrote: >> 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 ? > > Yes. > >> => 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. > > Why don't you try it, > > Seems to work fine - I do wonder if promoting the code to a less terminal-specific position would be sensible (probably not right at this moment of course). There's code duplication between rxvt.el and xterm.el to do the same thing too.