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: [PATCH] window-system-version function Date: Sun, 20 Nov 2011 14:41:19 -0500 Message-ID: References: <4EC2934C.1030206@yandex.ru> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1321818090 25023 80.91.229.12 (20 Nov 2011 19:41:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 Nov 2011 19:41:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 20 20:41:26 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RSDGY-0005SU-F4 for ged-emacs-devel@m.gmane.org; Sun, 20 Nov 2011 20:41:26 +0100 Original-Received: from localhost ([::1]:45661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSDGX-0006Gr-UF for ged-emacs-devel@m.gmane.org; Sun, 20 Nov 2011 14:41:25 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:39930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSDGV-0006Gj-Hr for emacs-devel@gnu.org; Sun, 20 Nov 2011 14:41:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSDGT-0007F4-MO for emacs-devel@gnu.org; Sun, 20 Nov 2011 14:41:23 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:55231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSDGT-0007Eq-Jr for emacs-devel@gnu.org; Sun, 20 Nov 2011 14:41:21 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAJZXyU5FpZyx/2dsb2JhbABDqj6BBoFyAQEEAVYjBQsLDiYSFBgNJIgWtU6KFwSIGpl6hEs X-IronPort-AV: E=Sophos;i="4.69,544,1315195200"; d="scan'208";a="148726423" Original-Received: from 69-165-156-177.dsl.teksavvy.com (HELO ceviche.home) ([69.165.156.177]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 20 Nov 2011 14:41:19 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 38C75661B5; Sun, 20 Nov 2011 14:41:19 -0500 (EST) In-Reply-To: <4EC2934C.1030206@yandex.ru> (Dmitry Antipov's message of "Tue, 15 Nov 2011 20:29:00 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146101 Archived-At: > This patch replaces global variable 'window-system-version' with the function > which returns the window system version for the specified frame. I believe > this is more reasonable, at least for the configuration which allows both > TTY and X frames. Sounds OK, tho it will have to wait for 24.2. > P.S. Are there the reasons to have both 'window-system' variable and function > (except the possible backward compatibility with an old Lisp code)? Backward compatibility: the window-system variable is used in a lot of Elisp packages, and many more ~/.emacs files, so we're probably stuck with it for the foreseeable future. Stefan