From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#5695: 23.1; wid-edit.el problems (was: widget-choose buffer lacking options) Date: Tue, 30 Mar 2010 20:32:59 +0200 Message-ID: <4BB243DB.7070307@swipnet.se> References: <2f987f0d1003080044n3db3a2a4odfd5549e711dee66@mail.gmail.com> <2f987f0d1003231402r7c5f3339x4dd4e13b7b8a6e28@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1269975382 4018 80.91.229.12 (30 Mar 2010 18:56:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 30 Mar 2010 18:56:22 +0000 (UTC) Cc: 5695@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 30 20:56:18 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Nwgbq-0000SO-18 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Mar 2010 20:56:18 +0200 Original-Received: from localhost ([127.0.0.1]:59202 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nwgbp-0001yx-BJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Mar 2010 14:56:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwgbO-0001oK-9f for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2010 14:55:50 -0400 Original-Received: from [140.186.70.92] (port=55236 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwgbN-0001nq-0N for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2010 14:55:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NwgbG-0001nc-Cp for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2010 14:55:47 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42178) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwgbG-0001nX-7V for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2010 14:55:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NwgGJ-0003zD-07; Tue, 30 Mar 2010 14:34:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Mar 2010 18:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5695 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5695-submit@debbugs.gnu.org id=B5695.126997398915308 (code B ref 5695); Tue, 30 Mar 2010 18:34:02 +0000 Original-Received: (at 5695) by debbugs.gnu.org; 30 Mar 2010 18:33:09 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwgFQ-0003yr-MG for submit@debbugs.gnu.org; Tue, 30 Mar 2010 14:33:08 -0400 Original-Received: from smtprelay-h22.telenor.se ([195.54.99.197]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwgFO-0003yQ-Ql for 5695@debbugs.gnu.org; Tue, 30 Mar 2010 14:33:07 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id 904A1EAF54 for <5695@debbugs.gnu.org>; Tue, 30 Mar 2010 20:33:01 +0200 (CEST) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar86AAHhsUtV4S1uPGdsb2JhbACHZJNJDAEBAQE1LcBkhQAE X-IronPort-AV: E=Sophos;i="4.51,335,1267398000"; d="scan'208";a="57670187" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb1.telenor.se with ESMTP; 30 Mar 2010 20:33:01 +0200 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id BA02D7FA01A; Tue, 30 Mar 2010 20:32:59 +0200 (CEST) User-Agent: Thunderbird 2.0.0.24 (X11/20100317) In-Reply-To: <2f987f0d1003231402r7c5f3339x4dd4e13b7b8a6e28@mail.gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 30 Mar 2010 14:34:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35822 Archived-At: Dani Moncayo skrev: > > I've just noticed that the problem arises if (and only if) I start emacs > loading my .emacs file. So, i've been testing a bit and i've discovered that > the line that produces the problem is the one that sets the > next-screen-context-lines variable to 4. Actually, it is the scroll-margin that does it. When the menu is created, point is at the last line. Since you have scroll-margin set to 1, it scrolls up. You can't see that because you have no indication, but on a graphical terminal you can see that the scroll bar has moved a bit. Unfortunately there is no way to scroll the window, it is either select something or C-g. wid-edit.el tries to set a scroll-other-window command, but it somehow fails to work because of the default binding to keyboard-quit. And in any case, IT only scrolls down, not up. So, the menu created by wid-edit.el should either (or both) 1) place point somewhere else, preferrably at the end of the first line. 2) provide a way to scroll the window. tmm-menubar does this so it can be done. Someone familiar with wid-edit.el must look at this. Jan D.