From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.bugs Subject: bug#21100: 25.0.50; quit-restore-window should also retore width, not just height Date: Tue, 21 Jul 2015 13:31:32 +0100 Message-ID: References: <55AE27E7.6030505@gmx.at> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1437481946 10192 80.91.229.3 (21 Jul 2015 12:32:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jul 2015 12:32:26 +0000 (UTC) Cc: 21100@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 21 14:32:18 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZHWiU-0004E6-Hf for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jul 2015 14:32:14 +0200 Original-Received: from localhost ([::1]:59138 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHWiT-0008S9-H4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jul 2015 08:32:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHWiM-0008RM-9R for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 08:32:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHWiJ-0006U0-1x for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 08:32:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHWiI-0006Tw-Ut for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 08:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZHWiI-0001nq-I4 for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 08:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Jul 2015 12:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21100 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21100-submit@debbugs.gnu.org id=B21100.14374819026901 (code B ref 21100); Tue, 21 Jul 2015 12:32:02 +0000 Original-Received: (at 21100) by debbugs.gnu.org; 21 Jul 2015 12:31:42 +0000 Original-Received: from localhost ([127.0.0.1]:55072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHWhx-0001nE-95 for submit@debbugs.gnu.org; Tue, 21 Jul 2015 08:31:41 -0400 Original-Received: from mail-la0-f48.google.com ([209.85.215.48]:36466) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHWhv-0001mw-5L for 21100@debbugs.gnu.org; Tue, 21 Jul 2015 08:31:39 -0400 Original-Received: by lagw2 with SMTP id w2so116565869lag.3 for <21100@debbugs.gnu.org>; Tue, 21 Jul 2015 05:31:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=tja6SZQ6JGm36+zwUe/+1h0Co3w0qty/uJPCkNWKmlw=; b=DIARW4Qhm86sruEYcpaDmhDJxoQhtSiC8P0Z5NErCR++bIca78kNqR04BUJvaWLhVC NWKMYVP0ULAkZyUnhB0vykQRmT41R+1pqVlRK0i43HJG/absM4jOSlYBN2Xrbq9o4gwO eyUIIsiOW9TgZv1oZETO5eQFrMd0hhOGKYqjqWwJI3rGqWtp7mwLLDcjYojVQ7ceQkOe jyhfYiWV9EQGZoYT3Jmy2PN0E2ETfnp7w1UlEs+BOfKRXgsQEh+GzVuIcKSGuxXAH7bs VN8K+zsm10358+V+DQ2iKEz4yDiqdirbB9EtcmKTYZ8MJ5NexuHbKh9LUi8rkWnkePVZ 53Zg== X-Received: by 10.112.25.69 with SMTP id a5mr32210655lbg.16.1437481893020; Tue, 21 Jul 2015 05:31:33 -0700 (PDT) Original-Received: by 10.25.134.139 with HTTP; Tue, 21 Jul 2015 05:31:32 -0700 (PDT) In-Reply-To: <55AE27E7.6030505@gmx.at> X-Google-Sender-Auth: 5QXDX6jMbUzYut2AkR4q8QWXtUc X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105051 Archived-At: 2015-07-21 12:07 GMT+01:00 martin rudalics : >> 1. Split the frame into two windows, one above the other. >> 2. Make the bottom window very small. >> 3. With point in the larger window, run `C-h f point RET' >> 4. The bottom window increases in size to display the Help buffer. > > I can't reproduce that here. That's probably because your monitor is larger than my laptop's. > So what did you do to accomplish that resize? Try doing (set-face-attribute 'default nil :height 290) If the frame is large enough to fit two windows side-by-side, then the help buffer will always be created in a new window to the right. However, if the font size is large enough that two windows do NOT fit side by side in the frame, then the window is created below. In this scenario, you get the behavior I described (i.e., if there's already a window below the current one, it is reused by the help buffer and it is expanded if necessary).