From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Dashes in mode-line Date: Tue, 19 Oct 2010 20:30:19 +0200 Message-ID: <83d3r69gsk.fsf@gnu.org> References: <87lj5u1ni6.fsf@keller.adm.naquadah.org> <87pqv6uqod.fsf@home.jasonrumney.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1287513398 25250 80.91.229.12 (19 Oct 2010 18:36:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Oct 2010 18:36:38 +0000 (UTC) Cc: julien@danjou.info, emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 19 20:36:36 2010 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.69) (envelope-from ) id 1P8H34-0001wU-Qs for ged-emacs-devel@m.gmane.org; Tue, 19 Oct 2010 20:36:35 +0200 Original-Received: from localhost ([127.0.0.1]:36878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8H30-0002v7-BH for ged-emacs-devel@m.gmane.org; Tue, 19 Oct 2010 14:36:30 -0400 Original-Received: from [140.186.70.92] (port=40345 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8H2p-0002pi-M1 for emacs-devel@gnu.org; Tue, 19 Oct 2010 14:36:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8Gx4-0002Yj-UM for emacs-devel@gnu.org; Tue, 19 Oct 2010 14:30:24 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:38956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8Gx4-0002YZ-Nx; Tue, 19 Oct 2010 14:30:22 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LAJ00F00V95ZT00@a-mtaout21.012.net.il>; Tue, 19 Oct 2010 20:30:14 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.93.189]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LAJ00FKXVECY520@a-mtaout21.012.net.il>; Tue, 19 Oct 2010 20:30:14 +0200 (IST) In-reply-to: <87pqv6uqod.fsf@home.jasonrumney.net> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:131845 Archived-At: > From: Jason Rumney > Cc: Julien Danjou , emacs-devel@gnu.org > Date: Tue, 19 Oct 2010 23:51:14 +0800 > > > Using window-system is not right here, because the DOS port defines a > > non-nil value, but uses a text terminal. > > Can we fix that if we intend on keeping the DOS port around? You mean, can _I_ fix it? Yes, but is that an efficient use of my time? There are alternative (better) methods of testing whether a display can support graphics. These methods exist since Emacs 21, and if we want to clean this up, it could be a better idea to deprecate window-system and replace it with the appropriate display-*-p predicates all over. > I know defining window-system to non-nil used to be the only way to > get font-lock and other features that the DOS port has had for longer > than other text terminals, but is there any reason for it now other than > historical continuity? Probably not, at least not important reasons. The DOS port can actually work in -nw mode, whereby it does not use direct screen access routines, but that serves only as a debugging aid for quite some time now. The main reason it remains is that I would need to go through every Lisp source that references it and decide what to do instead there.