From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Kanis Newsgroups: gmane.emacs.devel Subject: Re: Proposal for a new API to fullscreen Date: Thu, 21 Aug 2008 07:59:16 +0200 Message-ID: <87hc9erjrf.fsf@kanis.fr> References: <87wsidphul.fsf@kanis.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219299024 30788 80.91.229.12 (21 Aug 2008 06:10:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Aug 2008 06:10:24 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 21 08:11:17 2008 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 1KW3O5-0003pe-I2 for ged-emacs-devel@m.gmane.org; Thu, 21 Aug 2008 08:11:13 +0200 Original-Received: from localhost ([127.0.0.1]:58389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KW3N8-0000KI-6E for ged-emacs-devel@m.gmane.org; Thu, 21 Aug 2008 02:10:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KW3N3-0000K8-De for emacs-devel@gnu.org; Thu, 21 Aug 2008 02:10:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KW3N1-0000J2-Ql for emacs-devel@gnu.org; Thu, 21 Aug 2008 02:10:08 -0400 Original-Received: from [199.232.76.173] (port=34522 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KW3N1-0000Iw-DK for emacs-devel@gnu.org; Thu, 21 Aug 2008 02:10:07 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:43038 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KW3N0-0003Yb-A6 for emacs-devel@gnu.org; Thu, 21 Aug 2008 02:10:06 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KW3Mx-0006az-2H for emacs-devel@gnu.org; Thu, 21 Aug 2008 06:10:03 +0000 Original-Received: from pir44-1-89-87-99-142.dsl.club-internet.fr ([89.87.99.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Aug 2008 06:10:03 +0000 Original-Received: from expire-by-2008-08-26 by pir44-1-89-87-99-142.dsl.club-internet.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Aug 2008 06:10:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pir44-1-89-87-99-142.dsl.club-internet.fr Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAPFBMVEUAAABIPTwvJSaTgX38 +PQRCAqxnp339/92Z2bLvMAFAAT///8bEBLp5eny8uvd1NNcUFQVABUIAAj///carFalAAAB10lE QVRIie2U25brIAiGUaLxGIx9/3cd0GmnjXTW7sW+G9q1kiAfEPkNwMeWP7I/4Mcq3W9i/ReA7DmJ WCD8Angz01GBGYcdAOXmeBR6ASzYkbixt/A1yFyFRAtmW4HDclzkQgAdypYjXztXoJGgrsBuONDU zUriRNxY4p+vpzybYwWkdYAWp8R8m9dg4N7ZFbhZaQFmABT3IlHUXlpaWm34UtSABiuR0nAZdQ4N FGJ6vD64a3i/P/eqAqi9wWBa1oAqA0hXIAlS1Aqjo977pa+RIijAZpSOoJgxj7KtAAFY34oJLAmU DXPBO2hbjBF/enoC/CjMmbwLQ6lBBD/kG6Erg+M9oryz5XjsMhOfd/GzgyD5FeCQyCFC8N/IdPf9 nkuTRhvbvY8acjbBCS9QLWoFznlyyCZAHVtzzrSVVzQAeQx2+ucZkwkjYpB5OloBmqchBGwnFIwU nuSnqZWV8dCFPXKk+RGYk0cF4J6cY0akQzFAx6MBK6lzmlPVEmvDDTlxX65ETMWMAumdWmU70pSe 8ceRySQnjjQ+Phrwrb/OWvIR0WNxU9yU3wAiHng6pvOF8JbfA/nmx74/EIP0sr4AbAeRx9CaCUT1 dlnUgF/tD/hfwIf2BQZnSFIDGmgZAAAAAElFTkSuQmCC User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:4UWNbXaMkZiREyeQehPb3aa40I4= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:102760 Archived-At: Tom Tromey writes: >>>>>> "Ivan" == Ivan Kanis writes: > > Ivan> (set-frame-parameter nil 'fullscreen 'fullboth) > > Ivan> However this is very ambiguous, it does fullscreen on Gnome and > Ivan> maximise on Mac and Windows. > > Ivan> I propose a new API to solve the ambiguity: > Ivan> (fullscreen-mode 1) > > I think it would be better to have 'fullboth mean "full screen", and > then add a new parameter value, 'maximize, that means maximize. > My reasoning is that really only one of these settings makes sense at > a time, and both are useful. > > Tom Hello Tom, I got a bit carried away with my patch yesterday ;) I think your proposal is more sensible and less traumatic for users. -- Ivan http://kanis.fr If you pick up a starving dog and make him prosperous, he will not bite you. This is the principal difference between a dog and a man. -- Mark Twain