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 14:01:44 +0100 Message-ID: <20161001130144.GA39607@breton.holly.idiocy.org> References: <04dc6e08-382f-46a2-8d57-62522529e7c4@default> <901673d8-75c2-494f-956d-9f938a8e87b4@default> <83a8eoms29.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 1475326962 22975 195.159.176.226 (1 Oct 2016 13:02:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 1 Oct 2016 13:02:42 +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 15:02:36 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 1bqJvr-0003sh-H6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Oct 2016 15:02:23 +0200 Original-Received: from localhost ([::1]:55791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqJvp-0007WI-Q5 for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Oct 2016 09:02:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqJvc-0007Un-Ig for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 09:02:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqJvW-0002hA-PF for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 09:02:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqJvW-0002h0-LQ for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 09:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bqJvW-00021S-AI for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 09:02: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 13:02: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.14753269157760 (code B ref 18390); Sat, 01 Oct 2016 13:02:02 +0000 Original-Received: (at 18390) by debbugs.gnu.org; 1 Oct 2016 13:01:55 +0000 Original-Received: from localhost ([127.0.0.1]:40398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bqJvP-000216-5x for submit@debbugs.gnu.org; Sat, 01 Oct 2016 09:01:55 -0400 Original-Received: from mail-wm0-f50.google.com ([74.125.82.50]:35436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bqJvN-00020r-5j for 18390@debbugs.gnu.org; Sat, 01 Oct 2016 09:01:53 -0400 Original-Received: by mail-wm0-f50.google.com with SMTP id f193so31323789wmg.0 for <18390@debbugs.gnu.org>; Sat, 01 Oct 2016 06:01:52 -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=T4gXfMkClfy8NqRuCKiLJlL023sbATONzS5/sWljce8=; b=VuJQ3FCdT2uqRJuTPnKIfBVoZiexUwNU6x+ZmQ7h7GzMEPZBBbiXsdznYlSopOoUlT 0j+ITJMbh/o+wVvTEe9TWtV7XuKj1CPzHJ4JuvLzzK2Eb9JKyvYlKnyz6axUcD4PhDmg PMzPpMsx+QlACPfAu32KGNfKbH3J3kTeJsNsDvbASa4piEcjCDtKS+4ykmMmATREinTw CRREY8ilU9RdQID7/qRD+XVnkCg59kvT/GR8tjK7XNXfYCaPqLz7KcQr904vpcUgzcHH cSsa266pIPCipX8rZmwyVSdX8jyRtQgpoGVkyZ+q+t8PGqARCRpmR1beImGLPrYvoHmy gHvw== 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=T4gXfMkClfy8NqRuCKiLJlL023sbATONzS5/sWljce8=; b=W8T6b6Hk3DUj6tHVKTGcAlkzbS8EVb5T00tK3m180TCKBbgKQR/Xd+kBug06znuu3C rsqeRkjXpxvChKrTaIrhqLVKqGyzRk469zqPW/DuF7tAVALOxOdfDsUd5DVRRY+FDWgi vzs6pI7oYdwGy488B62aL5bd4cfc6ppS9K1PMuUsktQP+2/3Eo1iU0to+O1DZ4jTZQij 4F97J5rNeBIwKLfVkm+3t1rwQz85LCa/ohDvh2ADRl6LrjhyvlRQIjq7YTqJjo0zQ/rY /gCxSqE4wulwbv1wKPpIRzt0AnKLATF+AH88fG/po8aSscRjvuYNwOwERJnY4xcBAy30 JQoQ== X-Gm-Message-State: AA6/9RmgjgJd/ioSt4qKONvEKbRfu9vvBWwOE/kIUk9sDLzvTv1xT9ZuWyd1M/UYulPSAg== X-Received: by 10.194.135.76 with SMTP id pq12mr10125724wjb.114.1475326907199; Sat, 01 Oct 2016 06:01:47 -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 a5sm24665855wjd.9.2016.10.01.06.01.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Oct 2016 06:01:46 -0700 (PDT) Content-Disposition: inline In-Reply-To: <83a8eoms29.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:123843 Archived-At: On Sat, Oct 01, 2016 at 10:44:46AM +0300, Eli Zaretskii wrote: > The backtrace shows that this is the reason for signaling the error: > > split-window(# 100 t) > > This requests to split an 80-column window while leaving the original > window 100 columns, which is clearly impossible. So why is this a > bug in Emacs and not in palette.el? I can’t see how you know it’s an 80 column window, could you explain it to me? 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? (make-frame `((menu-bar-lines . 0) (tool-bar-lines . 0) (left-fringe . 0) (right-fringe . 0) (fringe . 0) (height . 100) (width . 115) (minibuffer) (vertical-scroll-bars) (cursor-type . box) (background-color . "Black") (mouse-color . "Black") (cursor-color . "Black") ,(cons 'font palette-font))) If it is then it’s up to palette.el to check what size of frame it actually got back before trying to split the windows. -- Alan Third