From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= Newsgroups: gmane.emacs.devel Subject: Misleading `window-system' docstring (was Re: Dashes in mode-line) Date: Wed, 20 Oct 2010 15:05:02 +0200 Message-ID: <8739s1qakh.fsf_-_@gmail.com> References: <87lj5u1ni6.fsf@keller.adm.naquadah.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1287581902 3470 80.91.229.12 (20 Oct 2010 13:38:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 20 Oct 2010 13:38:22 +0000 (UTC) Cc: Julien Danjou , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 20 15:38:20 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 1P8Yrx-0005GD-SK for ged-emacs-devel@m.gmane.org; Wed, 20 Oct 2010 15:38:18 +0200 Original-Received: from localhost ([127.0.0.1]:59061 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8YNN-0004wF-7U for ged-emacs-devel@m.gmane.org; Wed, 20 Oct 2010 09:06:41 -0400 Original-Received: from [140.186.70.92] (port=56849 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8YNF-0004nU-BG for emacs-devel@gnu.org; Wed, 20 Oct 2010 09:06:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8YN4-0008WP-FO for emacs-devel@gnu.org; Wed, 20 Oct 2010 09:06:23 -0400 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:64682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8YN2-0008Ul-Ee; Wed, 20 Oct 2010 09:06:20 -0400 Original-Received: by bwz19 with SMTP id 19so2632027bwz.0 for ; Wed, 20 Oct 2010 06:06:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :in-reply-to:references:user-agent:date:message-id:mime-version :content-type:content-transfer-encoding; bh=kbnYPeqQjfFFsBXh+OU72f9Buu6FXsk/6HfEViHMTIE=; b=V0ww3iwOA08s+ro8w6cgLa+wf5f5PgrD6Yxzv6G7Zsj0ExNU7yluP66DA9DSRDpEW7 neFWNhOKQiPv+p0c7DFWWu1rhYDSDpKZDKItZypQT/txMHr4INi1f0uxYNGQscFH+Flx YB3xr60fCp0te0pkGkItQDT2SopEdVqdB/mrs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type:content-transfer-encoding; b=WcPxjcpygfUgUQ00OFXpDcm5IZThXd8iPnnkW0phafgmkLBhp7+K75pIYZXKB38q03 uqZjzIRhqShUDvKHGixoFfKwYcHF5LtugBzNVUO12cYSQ829/UWwPMWo1sMTwohlQi5F s+WKWhs/qGYLzQPivsUdmM6Vq3exP4kDP9ZjI= Original-Received: by 10.204.68.67 with SMTP id u3mr6732608bki.199.1287579978673; Wed, 20 Oct 2010 06:06:18 -0700 (PDT) Original-Received: from localhost (176.119.broadband10.iol.cz [90.177.119.176]) by mx.google.com with ESMTPS id d27sm144882bkw.14.2010.10.20.06.06.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 20 Oct 2010 06:06:15 -0700 (PDT) In-Reply-To: (Eli Zaretskii's message of "Tue, 19 Oct 2010 09:09:11 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:131882 Archived-At: Eli Zaretskii writes: >> From: Julien Danjou >> Cc: emacs-devel@gnu.org >> Date: Tue, 19 Oct 2010 12:32:33 +0200 >>=20 >> + `(:eval (unless window-system >> + ,(propertize "-%-" 'help-echo help-echo))))) > > Using window-system is not right here, because the DOS port defines a > non-nil value, but uses a text terminal. Could you please fix the docstring of `window-system' to reflect that? It seems to be widely used that (incorrect, as you point out) way, and its docstring is pretty clear (and thus incorrect) on the matter: The value is nil if the selected frame is on a text-only-terminal. =C5=A0t=C4=9Bp=C3=A1n