From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#18390: 24.4.50; REGRESSION: `split-window' error Date: Sat, 1 Oct 2016 17:20:15 +0100 Message-ID: <20161001162015.GA39758@breton.holly.idiocy.org> References: <04dc6e08-382f-46a2-8d57-62522529e7c4@default> <901673d8-75c2-494f-956d-9f938a8e87b4@default> <83a8eoms29.fsf@gnu.org> <20161001130144.GA39607@breton.holly.idiocy.org> <83lgy8kr9p.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1475338883 9843 195.159.176.226 (1 Oct 2016 16:21:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 1 Oct 2016 16:21:23 +0000 (UTC) User-Agent: Mutt/1.7.0 (2016-08-17) Cc: 18390@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 01 18:21:19 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bqN2J-0001Xd-3p for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Oct 2016 18:21:15 +0200 Original-Received: from localhost ([::1]:56454 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqN2H-00020F-O1 for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Oct 2016 12:21:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqN2A-0001zx-U1 for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 12:21:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqN26-0006W3-Bw for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 12:21:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqN26-0006Vz-8k for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 12:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bqN26-00078H-3k for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 12:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Oct 2016 16:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18390 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 18390-submit@debbugs.gnu.org id=B18390.147533882527364 (code B ref 18390); Sat, 01 Oct 2016 16:21:02 +0000 Original-Received: (at 18390) by debbugs.gnu.org; 1 Oct 2016 16:20:25 +0000 Original-Received: from localhost ([127.0.0.1]:41303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bqN1V-00077H-3x for submit@debbugs.gnu.org; Sat, 01 Oct 2016 12:20:25 -0400 Original-Received: from mail-wm0-f46.google.com ([74.125.82.46]:35644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bqN1T-000773-Q8 for 18390@debbugs.gnu.org; Sat, 01 Oct 2016 12:20:24 -0400 Original-Received: by mail-wm0-f46.google.com with SMTP id f193so36911531wmg.0 for <18390@debbugs.gnu.org>; Sat, 01 Oct 2016 09:20:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=L6ev3y16QACDf9W/rfanu/Jxu4Ijfsbad3/XH4ghVCA=; b=gj8t2FHIyBLW2GLykdXNsDBVriKBWMKVdXyqJtC0pbLyWg7PY+r4IOYerUn3c4bSh/ JErQyWuO8i4y5iDppiiDQWm2J2gHUZAdcQ8zgcJS3Mic5i3bn8z/eFzOmnYdTEhhgBsv rcT5FnEGyydQU6fWioJXN2GfwwTggnWVMV5sYLvNlsvhEEFZCG1NdNcs5Ozsi8JvbbCO tA9jTevkNfxfHXJkbzhhdEOpiDCNYug8EXhwdl/Q+SsgJ6Vx4pkzPza8hvrh/cVrPF7t hrXEKmAm+c6W2CRYC7WdL5NAZD5XVNA+qLV4Jm0A3bUqOx96soyLJVYBd56K4R4CPWcL wRSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=L6ev3y16QACDf9W/rfanu/Jxu4Ijfsbad3/XH4ghVCA=; b=d1gAL/FLnMwe0htNddutv9uRuC0RWIi7r1rUotBT3+L4h+6sfk/4ktZv02YuHat6E8 MMnbpMtQ0FRLNx1RuNn5+n/fJ6cA1HP9K1Wz1i8z91zYHTz4EIVGph9J52gV3tGDY6Zc jI+ndI1jqmxySdRIBdYEz3L0zmihVJfT27A1F8UZ5mehxeWkcA56TpOuCibeaQk4D5AT suo2Wj54BtzikRk5gA9Yr/AHmC3yl13Q6nJLdqZrqj1vdulh/SwCZx9qLUki47tn8dGt 9FijmTputUV/RgsHONelMyysfq/NOVzG2FzQ54YxPxSdasS8P8paG9JT2AXSBvu2MyYL lIOQ== X-Gm-Message-State: AA6/9RldcR3yo2XYlT3CcJgU+AAGN2X8meCCf3B6uOj/W/c63lUr0IqNGv5gYFI1nKL6mQ== X-Received: by 10.194.112.98 with SMTP id ip2mr10388322wjb.95.1475338818217; Sat, 01 Oct 2016 09:20:18 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-148d-3f02-0cb7-1071.holly.idiocy.org. [2001:8b0:3f8:8129:148d:3f02:cb7:1071]) by smtp.gmail.com with ESMTPSA id q10sm9860345wme.6.2016.10.01.09.20.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Oct 2016 09:20:17 -0700 (PDT) Content-Disposition: inline In-Reply-To: <83lgy8kr9p.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:123863 Archived-At: On Sat, Oct 01, 2016 at 06:44:50PM +0300, Eli Zaretskii wrote: > > Date: Sat, 1 Oct 2016 14:01:44 +0100 > > From: Alan Third > > Cc: Drew Adams , 18390@debbugs.gnu.org > > > > I can’t see how you know it’s an 80 column window, could you explain > > it to me? > > The default width of an Emacs window displayed by "emacs -Q" is 80 > columns. And that is the width of a window I see when I repeat Drew's > recipe and get the same error signaled as in his report. Sorry, I didn’t realise you were repeating it. I thought you could see that in the backtrace output in the original bug report and wondered why I couldn’t. > > Looking at the code in palette.el, it requests a 115 character wide > > frame, is it possible that Emacs will return a smaller than requested > > frame? > > I don't really know what palette.el is doing, but it could be that it > doesn't let the Emacs frame time to resize itself before splitting the > window. > > Actually, adding a (sit-for 0) might be all that's needed, if this is > the problem (which I'm not at all sure). This makes some sense to me, palette.el isn’t doing that much between creating the frame and splitting the windows. > In any case, I once again ask the question: why should we assume it's > a bug in Emacs, and not first try looking into what palette.el does? That’s what I was trying to do. -- Alan Third