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 Date: Thu, 01 Apr 2010 09:43:42 +0200 Message-ID: <4BB44EAE.1090801@swipnet.se> References: <2f987f0d1003080044n3db3a2a4odfd5549e711dee66@mail.gmail.com> <2f987f0d1003231402r7c5f3339x4dd4e13b7b8a6e28@mail.gmail.com> <4BB243DB.7070307@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1270109556 3615 80.91.229.12 (1 Apr 2010 08:12:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Apr 2010 08:12:36 +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 Thu Apr 01 10:12:26 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 1NxFVp-0008S7-D7 for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Apr 2010 10:12:25 +0200 Original-Received: from localhost ([127.0.0.1]:59407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxFVo-0005U4-N2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Apr 2010 04:12:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NxFFo-0004AH-TI for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2010 03:55:53 -0400 Original-Received: from [140.186.70.92] (port=35968 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxFFj-00048p-Ly for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2010 03:55:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NxFFg-0003zP-T3 for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2010 03:55:47 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47796) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxFFg-0003zL-Qs for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2010 03:55:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NxF4M-0000mg-Ue; Thu, 01 Apr 2010 03:44:02 -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: Thu, 01 Apr 2010 07:44: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.12701078363004 (code B ref 5695); Thu, 01 Apr 2010 07:44:02 +0000 Original-Received: (at 5695) by debbugs.gnu.org; 1 Apr 2010 07:43:56 +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 1NxF4F-0000mO-Np for submit@debbugs.gnu.org; Thu, 01 Apr 2010 03:43:55 -0400 Original-Received: from smtprelay-h11.telenor.se ([62.127.194.4]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxF4D-0000mJ-Mz for 5695@debbugs.gnu.org; Thu, 01 Apr 2010 03:43:54 -0400 Original-Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h11.telenor.se (Postfix) with ESMTP id 8D669E90EB for <5695@debbugs.gnu.org>; Thu, 1 Apr 2010 09:43:50 +0200 (CEST) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgNDANrrs0tV4S1uPGdsb2JhbACHY5NWDAEBAQE1LbNyhQEE X-IronPort-AV: E=Sophos;i="4.51,346,1267398000"; d="scan'208";a="58101292" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb2.telenor.se with ESMTP; 01 Apr 2010 09:43:43 +0200 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id AECCC7FA01A; Thu, 1 Apr 2010 09:43:42 +0200 (CEST) User-Agent: Thunderbird 2.0.0.24 (X11/20100317) In-Reply-To: <4BB243DB.7070307@swipnet.se> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 01 Apr 2010 03:44:02 -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:35849 Archived-At: One solution would be for widget-choose to use tmm-prompt. Is that ok? Jan D. Jan Dj=E4rv skrev: > Dani Moncayo skrev: >> >> I've just noticed that the problem arises if (and only if) I start ema= cs >> loading my .emacs file. So, i've been testing a bit and i've=20 >> discovered that >> the line that produces the problem is the one that sets the >> next-screen-context-lines variable to 4. >=20 > Actually, it is the scroll-margin that does it. > When the menu is created, point is at the last line. Since you have=20 > scroll-margin set to 1, it scrolls up. You can't see that because you=20 > have no indication, but on a graphical terminal you can see that the=20 > scroll bar has moved a bit. Unfortunately there is no way to scroll th= e=20 > window, it is either select something or C-g. wid-edit.el tries to set= =20 > a scroll-other-window command, but it somehow fails to work because of=20 > the default binding to keyboard-quit. And in any case, IT only scrolls= =20 > down, not up. >=20 > So, the menu created by wid-edit.el should either (or both) >=20 > 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=20 > be done. >=20 > Someone familiar with wid-edit.el must look at this. >=20 > Jan D. >=20 >=20 >=20