From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: Box attribute in mode-line and scrolling Date: Sun, 27 Mar 2011 14:15:36 +0200 Message-ID: References: <87zkogu6u4.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1301228187 11811 80.91.229.12 (27 Mar 2011 12:16:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Mar 2011 12:16:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: Antoine Levitt Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 27 14:16:23 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 1Q3otK-0005lP-9O for ged-emacs-devel@m.gmane.org; Sun, 27 Mar 2011 14:16:22 +0200 Original-Received: from localhost ([127.0.0.1]:59781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3otJ-00082x-K1 for ged-emacs-devel@m.gmane.org; Sun, 27 Mar 2011 08:16:21 -0400 Original-Received: from [140.186.70.92] (port=37367 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3otG-00082i-9l for emacs-devel@gnu.org; Sun, 27 Mar 2011 08:16:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q3otE-00037w-Uz for emacs-devel@gnu.org; Sun, 27 Mar 2011 08:16:18 -0400 Original-Received: from mail-yw0-f41.google.com ([209.85.213.41]:61803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q3otE-00037r-RX for emacs-devel@gnu.org; Sun, 27 Mar 2011 08:16:16 -0400 Original-Received: by yws5 with SMTP id 5so1135833yws.0 for ; Sun, 27 Mar 2011 05:16:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=2K9wM2I9O4W40rkZSGo4TV0eb13l9f1PimmR53tX4So=; b=sXgFy/h+P/KHzIKvdGaW2IVu9QToPwHxuNmjgFyGo8ZVVRwBjJY8RiDOIs5IoWNTSf 3cSh8T1cmIJlRL814NYdptvZBy4chE3h1ZceCl+JKtHdt/0ue1WiWfMlSoqFM+0bD43j lZBqrtvpgGvq9u3sVJW0fLtyzJFTIOI3aa65M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=QbB97QZUM9tNxU04TNEP3N6XzQdqR3XZQzmOM2Cn3ApugTlLAFEIeLcXE1tCVozhQK hjAKdUuOIUh7f2AlP+CElSFaJdyNbX49wTRnymlHo/4iORgPVKtoxd+ozE8BmtPs2WY6 WRAUXO3x5hHtCmlP7uydpbwCeHO9Ad40X7fQ8= Original-Received: by 10.146.225.29 with SMTP id x29mr2734405yag.29.1301228176063; Sun, 27 Mar 2011 05:16:16 -0700 (PDT) Original-Received: by 10.147.34.11 with HTTP; Sun, 27 Mar 2011 05:15:36 -0700 (PDT) In-Reply-To: <87zkogu6u4.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.213.41 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:137751 Archived-At: On Sun, Mar 27, 2011 at 13:43, Antoine Levitt wr= ote: > There seems to be a conflict between scrolling and the box attribute in > mode-line. I have in my config a ":box t" attribute in mode-line (from > the theme I use, zenburn.el). With this setting on, C-v M-v produces a > net displacement of one line up, which is annoying. This seems to be > irrespective of settings such as scroll-conservatively or > scroll-preserve-screen-position. 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. Does it also happen if, instead of ":box t" you use ":box '(:line-width -1 :style released-button)"? =C2=A0 =C2=A0 Juanma