builtin command aliases

2002-06-19 Thread Dominik Vogt
I'd like to add command name aliases to fvwm, e.g. Alias GotoDesk MyGotoDesk and to get the builtin command: Builtin GotoDesk and of course Unalias GotoDesk This way it would be possible to replace a builtin command with a specifically tuned complex function. Is that a good idea? I

core dump in menus

2002-06-19 Thread Mikhael Goikhman
This message seems to be lost. I repost it. Regards, Mikhael. ---BeginMessage--- I can't reproduce this on purpose. GNU gdb Red Hat Linux (5.1.90CVS-5) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it

Re: what needs to be done for tear-off menus?

2002-06-19 Thread Dominik Vogt
On Mon, Jun 17, 2002 at 02:30:53PM -0400, parv wrote: in message [EMAIL PROTECTED], wrote fvwm-workers thusly... I'm not quite happy with the tear-off menu code yet: - Torn off menus have a strange focus policy. - There is no good way to handle tear off menus with the mouse. -

Re: core dump in menus

2002-06-19 Thread Dominik Vogt
On Wed, Jun 19, 2002 at 10:49:55AM +, Mikhael Goikhman wrote: Program terminated with signal 11, Segmentation fault. #0 paint_menu (mr=0x80e2d38, pevent=0x80b8760, fw=0x0) at menus.c:4038 4038int bw = MST_BORDER_WIDTH(mr); [snip] (gdb) print mr-s-ms $1 = (MenuStyle *)

CVS domivogt: * Reindented file.

2002-06-19 Thread FVWM CVS
CVSROOT:/home/cvs/fvwm Module name:fvwm Changes by: domivogt02/06/19 07:19:34 Modified files: . : ChangeLog fvwm : functions.c Log message: * Reindented file. -- Visit the official FVWM web page at URL:http://www.fvwm.org/. To

Re: core dump in menus

2002-06-19 Thread Mikhael Goikhman
On 19 Jun 2002 14:33:16 +0200, Dominik Vogt wrote: On Wed, Jun 19, 2002 at 10:49:55AM +, Mikhael Goikhman wrote: Program terminated with signal 11, Segmentation fault. #0 paint_menu (mr=0x80e2d38, pevent=0x80b8760, fw=0x0) at menus.c:4038 4038int bw =

Re: builtin command aliases

2002-06-19 Thread Mikhael Goikhman
On 19 Jun 2002 13:32:33 +0200, Dominik Vogt wrote: I'd like to add command name aliases to fvwm, e.g. Alias GotoDesk MyGotoDesk and to get the builtin command: Builtin GotoDesk and of course Unalias GotoDesk This way it would be possible to replace a builtin command with

Re: builtin command aliases

2002-06-19 Thread Tim Phipps
Dominik Vogt wrote: Alias GotoDesk MyGotoDesk Builtin GotoDesk Unalias GotoDesk How would this be different to just reversing to order of command look up? i.e. look for functions before built in commands. Cheers, Tim. -- Visit the official FVWM web page at URL:http://www.fvwm.org/.

Re: what needs to be done for tear-off menus?

2002-06-19 Thread Mikhael Goikhman
On 19 Jun 2002 13:54:05 +0200, Dominik Vogt wrote: On Mon, Jun 17, 2002 at 02:30:53PM -0400, parv wrote: in message [EMAIL PROTECTED], wrote fvwm-workers thusly... I'm not quite happy with the tear-off menu code yet: - Torn off menus have a strange focus policy. - There is

Re: builtin command aliases

2002-06-19 Thread Mikhael Goikhman
On 19 Jun 2002 13:37:41 +0100, Tim Phipps wrote: Dominik Vogt wrote: Alias GotoDesk MyGotoDesk Builtin GotoDesk Unalias GotoDesk How would this be different to just reversing to order of command look up? i.e. look for functions before built in commands. We still need Builtin,

Re: what needs to be done for tear-off menus?

2002-06-19 Thread Dan Espen
Dominik Vogt fvwm-workers@fvwm.org writes: Well, to sum it up, I can think of at least three features that do not work well with tear-off menus: - menu animation - continuation menus (more...) - sub menus I find tear-off menus useful for invoking my root images. Since I have about 1000

Re: what needs to be done for tear-off menus?

2002-06-19 Thread Dominik Vogt
On Wed, Jun 19, 2002 at 01:05:36PM +, Mikhael Goikhman wrote: On 19 Jun 2002 13:54:05 +0200, Dominik Vogt wrote: On Mon, Jun 17, 2002 at 02:30:53PM -0400, parv wrote: in message [EMAIL PROTECTED], wrote fvwm-workers thusly... I'm not quite happy with the tear-off menu code

Re: core dump in menus

2002-06-19 Thread Dominik Vogt
On Wed, Jun 19, 2002 at 12:29:39PM +, Mikhael Goikhman wrote: On 19 Jun 2002 14:33:16 +0200, Dominik Vogt wrote: On Wed, Jun 19, 2002 at 10:49:55AM +, Mikhael Goikhman wrote: Program terminated with signal 11, Segmentation fault. #0 paint_menu (mr=0x80e2d38,

question about FVWM_COLORSET_PRIVATE

2002-06-19 Thread Dominik Vogt
I don't exactly understand what it does, but it get set and unset several times and then is finally set everywhere in the code (I may be wrong). SInce it's such a mess I'd like to remove that. Bye Dominik ^_^ ^_^ -- Dominik Vogt, email: [EMAIL PROTECTED] LifeBits Aktiengesellschaft,

Re: builtin command aliases

2002-06-19 Thread Dominik Vogt
On Wed, Jun 19, 2002 at 01:37:41PM +0100, Tim Phipps wrote: Dominik Vogt wrote: Alias GotoDesk MyGotoDesk Builtin GotoDesk Unalias GotoDesk How would this be different to just reversing to order of command look up? i.e. look for functions before built in commands. I don't think

Re: builtin command aliases

2002-06-19 Thread Dominik Vogt
On Wed, Jun 19, 2002 at 09:45:08AM -0400, Dan Espen wrote: Mikhael Goikhman [EMAIL PROTECTED] writes: On 19 Jun 2002 13:37:41 +0100, Tim Phipps wrote: Dominik Vogt wrote: Alias GotoDesk MyGotoDesk Builtin GotoDesk Unalias GotoDesk To be consistent, shouldn't Unalias

CVS domivogt: * Added missing files.

2002-06-19 Thread FVWM CVS
CVSROOT:/home/cvs/fvwm Module name:fvwm Changes by: domivogt02/06/19 09:12:45 Added files: fvwm : expand.c expand.h functable.c functable.h Log message: * Added missing files. -- Visit the official FVWM web page at URL:http://www.fvwm.org/. To

Re: what needs to be done for tear-off menus?

2002-06-19 Thread Dan Espen
Dominik Vogt fvwm-workers@fvwm.org writes: On Wed, Jun 19, 2002 at 01:05:36PM +, Mikhael Goikhman wrote: On 19 Jun 2002 13:54:05 +0200, Dominik Vogt wrote: Hmm, really, More... does not work now in tear-off menus. Is it possible to get a decoration height into account when creating

Re: builtin command aliases

2002-06-19 Thread Mikhael Goikhman
On 19 Jun 2002 10:18:54 -0400, Dan Espen wrote: To be consistent, shouldn't Unalias be: Alias GotoDesk - But - is a valid function name. Anyone using - as a function name shouldn't be surprised when it causes a problem. Actually, - is a builtin prefix. So it is a bit

CVS domivogt: * Fixed bug in find_func_type.

2002-06-19 Thread FVWM CVS
CVSROOT:/home/cvs/fvwm Module name:fvwm Changes by: domivogt02/06/19 09:49:51 Modified files: . : ChangeLog fvwm : functions.c Log message: * Fixed bug in find_func_type. -- Visit the official FVWM web page at

CVS olicha: * Removed not useful #define/#undef FVWM_COLORSET_PRIVATE

2002-06-19 Thread FVWM CVS
CVSROOT:/home/cvs/fvwm Module name:fvwm Changes by: olicha 02/06/19 10:45:03 Modified files: . : ChangeLog fvwm : colorset.h Log message: * Removed not useful #define/#undef FVWM_COLORSET_PRIVATE -- Visit the official FVWM web page at

Re: question about FVWM_COLORSET_PRIVATE

2002-06-19 Thread Olivier Chapuis
On Wed, Jun 19, 2002 at 04:57:00PM +0200, Dominik Vogt wrote: I don't exactly understand what it does, but it get set and unset several times and then is finally set everywhere in the code (I may be wrong). SInce it's such a mess I'd like to remove that. FVWM_COLORSET_PRIVATE is defined when

Re: CVS domivogt: * Fixed colourmap focus problem.

2002-06-19 Thread Olivier Chapuis
On Tue, Jun 18, 2002 at 05:52:27AM -0500, FVWM CVS wrote: CVSROOT: /home/cvs/fvwm Module name: fvwm Changes by: domivogt02/06/18 05:52:27 * Tabified all sources and removed trailing spaces. Dominik, do you use a tool to automatically reindent the code? If yes, which one

Re: what needs to be done for tear-off menus?

2002-06-19 Thread Olivier Chapuis
On Mon, Jun 17, 2002 at 01:36:42PM +0200, Dominik Vogt wrote: I'm not quite happy with the tear-off menu code yet: - Torn off menus have a strange focus policy. - There is no good way to handle tear off menus with the mouse. - Placement and sizing of the menus is not perfect. What do

Re: what needs to be done for tear-off menus?

2002-06-19 Thread parv
in message [EMAIL PROTECTED], wrote fvwm-workers thusly... On Mon, Jun 17, 2002 at 02:30:53PM -0400, parv wrote: menu items always seem to be in MouseFocus mode even if fvwm_menu class was assigned ClickToFocus policy. well, the torn-off window does respect the ClickToFocus but menu

Re: what needs to be done for tear-off menus?

2002-06-19 Thread Mikhael Goikhman
On 19 Jun 2002 18:55:01 +0200, Olivier Chapuis wrote: I like the tear-off menus. I am agree with Mikhael that tear-off menu should not forbid MenuStyle (and Colorset) commands. What about copying the menu style which should be use to a new menu style name as fvwm_menu_style_id_of_the_window

CVS migo: * configure: reworded feature listing, fixed the default xft detection

2002-06-19 Thread FVWM CVS
CVSROOT:/home/cvs/fvwm Module name:fvwm Changes by: migo02/06/19 13:32:52 Modified files: . : ChangeLog INSTALL.fvwm configure.in bin: ChangeLog fvwm-config.in fvwm-menu-headlines.in Log message: * configure: reworded feature

CVS olicha: * Allocate colorset 0 in InitVariable in the place of StartupStuff

2002-06-19 Thread FVWM CVS
CVSROOT:/home/cvs/fvwm Module name:fvwm Changes by: olicha 02/06/19 14:48:16 Modified files: . : ChangeLog fvwm : fvwm.c Log message: * Allocate colorset 0 in InitVariable in the place of StartupStuff * This fix a null expression at init

Re: busy-cursor feature request

2002-06-19 Thread Olivier Chapuis
On Wed, Jun 19, 2002 at 04:53:25PM +0200, Dominik Vogt wrote: It would be nice it it were possible to activate the 'busy' cursor only after a certain span of time has passed, maybe 0.2 seconds. I find it rather irritating to get the busy cursor when I press a title button with a complex

Re: builtin command aliases

2002-06-19 Thread Dave Trollope
Hi, At first I thought the idea of implementing alias' was very good but I fear that limiting it to the first word would be too limiting to be really useful. Take for example: *FvwmButtonsGeometry 520x100-1-1 *FvwmButtonsBack bisque3 *FvwmButtons(Padding 2 2 Container(Rows 1 Columns 4 Frame 1

Re: what needs to be done for tear-off menus?

2002-06-19 Thread Dominik Vogt
On Wed, Jun 19, 2002 at 09:34:17AM -0400, Dan Espen wrote: Making pushpins work would make the feature more accessible. Meaning what? Bye Dominik ^_^ ^_^ -- Dominik Vogt, email: [EMAIL PROTECTED] LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen fon: ++49 (0) 7071/7965-0, fax:

Re: what needs to be done for tear-off menus?

2002-06-19 Thread Dan Espen
Dominik Vogt fvwm-workers@fvwm.org writes: On Wed, Jun 19, 2002 at 09:34:17AM -0400, Dan Espen wrote: Making pushpins work would make the feature more accessible. Meaning what? In Openwin, a tear off menu is torn off by clicking on a pushpin which changes appearance to a pushed in pushpin

Re: what needs to be done for tear-off menus?

2002-06-19 Thread parv
in message [EMAIL PROTECTED], wrote Dan Espen thusly... In Openwin, a tear off menu is torn off by clicking on a pushpin which changes appearance to a pushed in pushpin when you click on it. In effect, the menu is pinned to the desktop. To dismiss the menu, you click on the pushpin again.