From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.devel Subject: Re: Box attribute in mode-line and scrolling Date: Sun, 27 Mar 2011 19:12:28 +0200 Message-ID: <87fwq8o5c3.fsf@gmail.com> References: <87zkogu6u4.fsf@gmail.com> <87tyeospbb.fsf@gmail.com> <32AF9E291ACC41DFA9C6A33A111F8541@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301246635 4869 80.91.229.12 (27 Mar 2011 17:23:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Mar 2011 17:23:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 27 19:23:47 2011 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.69) (envelope-from ) id 1Q3tgo-0007i6-0G for ged-emacs-devel@m.gmane.org; Sun, 27 Mar 2011 19:23:46 +0200 Original-Received: from localhost ([127.0.0.1]:37364 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3tgn-0007w9-AS for ged-emacs-devel@m.gmane.org; Sun, 27 Mar 2011 13:23:45 -0400 Original-Received: from [140.186.70.92] (port=55204 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3tW0-0003pJ-0l for emacs-devel@gnu.org; Sun, 27 Mar 2011 13:12:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q3tVy-0000OH-0r for emacs-devel@gnu.org; Sun, 27 Mar 2011 13:12:35 -0400 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:35111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q3tVx-0000O3-PC for emacs-devel@gnu.org; Sun, 27 Mar 2011 13:12:33 -0400 Original-Received: by wwb39 with SMTP id 39so2018186wwb.30 for ; Sun, 27 Mar 2011 10:12:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=Un+wXteU4/lZ1Gd8tPiuy67UrIbhAuU/uSqEzC3A+oo=; b=wXwzddlVs51t7gvg/l3HgFxQgUwIkOuEtJMQaeAqzhbz3wR8Dd97VEQH6kl4HmwQqD KPgHHlE7+QACgTegDhd8LgNBmRD6luxv3RM+4SmRpOqLtdfdEY/nUQEI1JwvMMmfRPyv 7gxbboD5gyH86MYxRLOy4WjrjcXMAasT7VXeA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=YXtvGz1PYA/UGSQ0tJ/D/RUViGUI+jj6fFVlz5orG4NqF5DEzY2OdKSGjOqw9otnYH pSVBfYIDPP82YGSAI8U1Yj/TCKRPCb8pQRodV4VXZzOIou+g1Lc6UMkvJaWdWciEv0Wr iV81AssCUyK5+2Ny+dmh2vks5I9JMV9IUzJTk= Original-Received: by 10.227.140.134 with SMTP id i6mr2937458wbu.54.1301245953038; Sun, 27 Mar 2011 10:12:33 -0700 (PDT) Original-Received: from lambda (ney92-7-78-233-218-202.fbx.proxad.net [78.233.218.202]) by mx.google.com with ESMTPS id z13sm1562745wbd.46.2011.03.27.10.12.31 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 27 Mar 2011 10:12:31 -0700 (PDT) In-Reply-To: <32AF9E291ACC41DFA9C6A33A111F8541@us.oracle.com> (Drew Adams's message of "Sun, 27 Mar 2011 08:06:40 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.49 X-Mailman-Approved-At: Sun, 27 Mar 2011 13:23:41 -0400 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:137761 Archived-At: 27/03/11 17:06, Drew Adams >> > That doesn't seem like a bug, but the fact that adding the box >> > enlarges the size of the modeline, and likely the last line of the >> > window isn't fully displayed. >> >> Yes, that seems to be what's happening. But how is that not a >> bug? >> >> > Does it also happen if, instead of ":box t" you use ":box >> > '(:line-width -1 :style released-button)"? >> >> Yup, that fixes it, and even if I don't use :style released-button. > > This gotcha should be pointed out more clearly in the doc, since the default > behavior increases the height of the current line, which can throw off various > things. Right. That seems to be a different issue though. Even with a larger mode line, why do the scrolling commands behave this way?