all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* x-popup-menu disappears instantly
@ 2002-09-30 16:55 Yoichi NAKAYAMA
  2002-10-10 17:52 ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Yoichi NAKAYAMA @ 2002-09-30 16:55 UTC (permalink / raw)


Hi, folks

(x-popup-menu
  (list '(1 1) (selected-window))
  (list "title" (cons "title" '(("ignore" 'ignore)))
   ))

This shows menu on released version of emacs and I can select item by mouse.
But the menu disappears instantly on
GNU Emacs 21.3.50.1 (i586-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-09-29 on debian

Regards,
-- 
Yoichi Nakayama

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: x-popup-menu disappears instantly
  2002-09-30 16:55 x-popup-menu disappears instantly Yoichi NAKAYAMA
@ 2002-10-10 17:52 ` Stefan Monnier
  2002-10-10 20:33   ` Yoichi NAKAYAMA
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2002-10-10 17:52 UTC (permalink / raw)
  Cc: emacs-devel

> (x-popup-menu
>   (list '(1 1) (selected-window))
>   (list "title" (cons "title" '(("ignore" 'ignore)))
>    ))
> 
> This shows menu on released version of emacs and I can select item by mouse.
> But the menu disappears instantly on
> GNU Emacs 21.3.50.1 (i586-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-09-29 on debian

It works fine for me with "-q --no-site-file".  Could you try and track
down what part of your config causes the trouble ?
(or was it just fixed since you sent the report?)


	Stefan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: x-popup-menu disappears instantly
  2002-10-10 17:52 ` Stefan Monnier
@ 2002-10-10 20:33   ` Yoichi NAKAYAMA
  2002-10-10 22:33     ` Info menu entries' highlighted every 3 Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Yoichi NAKAYAMA @ 2002-10-10 20:33 UTC (permalink / raw)
  Cc: emacs-devel

At Thu, 10 Oct 2002 13:52:18 -0400, Stefan Monnier wrote:
> 
> > (x-popup-menu
> >   (list '(1 1) (selected-window))
> >   (list "title" (cons "title" '(("ignore" 'ignore)))
> >    ))
> > 
> > This shows menu on released version of emacs and I can select item by mouse.
> > But the menu disappears instantly on
> > GNU Emacs 21.3.50.1 (i586-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-09-29 on debian
> 
> It works fine for me with "-q --no-site-file".  Could you try and track
> down what part of your config causes the trouble ?
> (or was it just fixed since you sent the report?)

Thanks for your follow-up message.
Now I just cvs updated and try with new emacs after make distclean;make bootstrap;make install.
Even if I try with "emacs -q -no-site-file", the popup-menu appears and then disappears after
very very short time.
I've tested again and again, then sometimes the X focus on emacs frame went out and the
popup-menu remains. But for many cases it disappears instantly.

On the other hand, with emacs-21.2, the X focus on emacs frame does not go out,
while the popup-menu does remain.

I'm using sawfish without gnome on XFree86-4.1.0 running under Debian linux.

Regards,
-- 
Yoichi Nakayama

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Info menu entries' highlighted every 3
  2002-10-10 20:33   ` Yoichi NAKAYAMA
@ 2002-10-10 22:33     ` Stefan Monnier
  2002-10-11 12:44       ` Richard Stallman
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2002-10-10 22:33 UTC (permalink / raw)



What was the reason for the change from highlighting the 5th and 9th
menu entries to highlighting every third entry ?
The question is not really about the change in the distance, but
about the fact that there's no upper-limit any more: we happily
highlight the entry number 45, although I doubt anybody will be able
to use this "visual cue" in any way (especially since the only
command that can use the numbering is Info-nth-menu-item which
is only meaningful when bound to keys 0-9).
Why not only highlight '(3 6 9) ?


	Stefan


revision 1.282
date: 2001/11/07 04:35:20;  author: rms;  state: Exp;  lines: +1 -1
(Info-fontify-node): Highlight every third menu item.
----------------------------
Index: info.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/info.el,v
retrieving revision 1.281
retrieving revision 1.282
diff -u -r1.281 -r1.282
--- info.el	23 Oct 2001 16:24:16 -0000	1.281
+++ info.el	7 Nov 2001 04:35:20 -0000	1.282
@@ -2622,7 +2622,7 @@
 	    (let ((n 0))
 	      (while (re-search-forward "^\\* +\\([^:\t\n]*\\):" nil t)
 		(setq n (1+ n))
-		(if (memq n '(5 9))	; visual aids to help with 1-9 keys
+		(if (zerop (% n 3)) ; visual aids to help with 1-9 keys
 		    (put-text-property (match-beginning 0)
 				       (1+ (match-beginning 0))
 				       'face 'info-menu-5))

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Info menu entries' highlighted every 3
  2002-10-10 22:33     ` Info menu entries' highlighted every 3 Stefan Monnier
@ 2002-10-11 12:44       ` Richard Stallman
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Stallman @ 2002-10-11 12:44 UTC (permalink / raw)
  Cc: emacs-devel

    What was the reason for the change from highlighting the 5th and 9th
    menu entries to highlighting every third entry ?

The change to every third was to make it easier to count for small
numbers.  The reason to continue is that it looked strange for them to
stop.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-10-11 12:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-30 16:55 x-popup-menu disappears instantly Yoichi NAKAYAMA
2002-10-10 17:52 ` Stefan Monnier
2002-10-10 20:33   ` Yoichi NAKAYAMA
2002-10-10 22:33     ` Info menu entries' highlighted every 3 Stefan Monnier
2002-10-11 12:44       ` Richard Stallman

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.