unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Dani Moncayo <dmoncayo@gmail.com>
Cc: 5695@debbugs.gnu.org
Subject: bug#5695: 23.1; wid-edit.el problems
Date: Thu, 01 Apr 2010 09:43:42 +0200	[thread overview]
Message-ID: <4BB44EAE.1090801@swipnet.se> (raw)
In-Reply-To: <4BB243DB.7070307@swipnet.se>

One solution would be for widget-choose to use tmm-prompt.  Is that ok?

	Jan D.

Jan Djärv skrev:
> 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.
> 
> 
> 







  reply	other threads:[~2010-04-01  7:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-07 19:35 bug#5695: 23.1; widget-choose buffer lacking options Dani Moncayo
2010-03-08  7:44 ` bug#5697: " Dani Moncayo
2010-03-08  8:47   ` Dani Moncayo
2010-03-08  8:44 ` bug#5695: " Dani Moncayo
2010-03-23 21:02   ` Dani Moncayo
2010-03-30 18:32     ` bug#5695: 23.1; wid-edit.el problems (was: widget-choose buffer lacking options) Jan Djärv
2010-04-01  7:43       ` Jan Djärv [this message]
2010-04-01  9:43         ` bug#5695: 23.1; wid-edit.el problems Dani Moncayo
2010-04-07 13:01           ` Jan Djärv
     [not found]             ` <o2i2f987f0d1004070644p5a52b2fbp6d94e39643459276@mail.gmail.com>
2010-04-07 14:03               ` Jan Djärv
2010-03-08 21:25 ` bug#5695: 23.1; widget-choose buffer lacking options Dani Moncayo
2010-03-13 20:07 ` Chong Yidong
2010-03-14 10:00   ` Dani Moncayo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BB44EAE.1090801@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=5695@debbugs.gnu.org \
    --cc=dmoncayo@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).