From: Dani Moncayo <dmoncayo@gmail.com>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: 5695@debbugs.gnu.org
Subject: bug#5695: 23.1; wid-edit.el problems
Date: Thu, 1 Apr 2010 11:43:21 +0200 [thread overview]
Message-ID: <h2p2f987f0d1004010243k8272319bn1e0aa25d67513969@mail.gmail.com> (raw)
In-Reply-To: <4BB44EAE.1090801@swipnet.se>
[-- Attachment #1: Type: text/plain, Size: 1823 bytes --]
From my little experience with GNU Emacs (i'm yet starting to understand
it), i think that the buffer created by tmm-menubar has basically the same
function that the widget-choose buffer: To present a list of options to the
user, and get the chosen one.
So... i agree with you, Jan. Why don't share the same mode for both buffers?
Why to have different modes for each?
On Thu, Apr 1, 2010 at 9:43 AM, Jan Djärv <jan.h.d@swipnet.se> wrote:
> 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.
>>
>>
>>
>>
>
[-- Attachment #2: Type: text/html, Size: 2430 bytes --]
next prev parent reply other threads:[~2010-04-01 9: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 ` bug#5695: 23.1; wid-edit.el problems Jan Djärv
2010-04-01 9:43 ` Dani Moncayo [this message]
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=h2p2f987f0d1004010243k8272319bn1e0aa25d67513969@mail.gmail.com \
--to=dmoncayo@gmail.com \
--cc=5695@debbugs.gnu.org \
--cc=jan.h.d@swipnet.se \
/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).