From owner-scwm-discuss@mit.edu  Mon Jan  4 18:17:12 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA14988
	for scwm-discuss-outgoing; Mon, 4 Jan 1999 18:17:12 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA14985
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 4 Jan 1999 18:17:07 -0500
Received: from austin.cs.unc.edu by MIT.EDU with SMTP
	id AA20339; Mon, 4 Jan 99 18:16:51 EST
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id SAA19849;
	Mon, 4 Jan 1999 18:16:50 -0500 (EST)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id SAA21948;
	Mon, 4 Jan 1999 18:16:49 -0500 (EST)
Date: Mon, 4 Jan 1999 18:16:49 -0500 (EST)
From: Stephen Tell <tell@cs.unc.edu>
To: Maciej Stachowiak <mstachow@mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: SCWM Build failure (and buglet reports)
In-Reply-To: <199812311524.KAA17181@VICARIOUS-EXISTENCE.MIT.EDU>
Message-Id: <Pine.HPP.3.96.990104172917.13703E-100000@rukbat.cs.unc.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Thu, 31 Dec 1998, Maciej Stachowiak wrote:

> scwm-0.9 will fix this
> problem and will be out shortly (probably some time this weekend). The
> current CVS sources and the most recent snapshot are essentially what
> 0.9 will be, if you want to try it out.

I decided to start off the new year by testing out todays snapshot to see
if this pre-0.9 has any problems for me. 

I just downloaded the scwm-19990104 snapshot, and configure fails with:
$ ./configure '--prefix=/home/msl/tell/hp'
creating cache ./config.cache
./configure[551]: Syntax error at line 551 : `(' is not expected.

Around that point configure contains: 

AM_INIT_AUTOMAKE(scwm, 0.9beta1)
AM_MAINTAINER_MODE
AM_CONFIG_HEADER(include/config.h)

So it looks like these automake macros didn't get found properly when the
snapshot was configured.  I know just enough about autoconf/automake to be
dangerous - there was no aclocal.m4 in the package, but running "aclocal"
created one with these macros, and then autoconf creates an almost-working
configure.  (I first tried running autogen.sh, but it didn't do the
trick.)

configure complains at the end that it can't find include/config.h.in
to create include/config.h.  Config.h.in was in the top-level directory, 
symlinking it down into include made configure work OK.


versions of stuff - perhaps these aren't quite the most current?

rukbat;scwm-19990104; autoconf --version
Autoconf version 2.12
rukbat;scwm-19990104; automake --version
automake (GNU automake) 1.3
rukbat;scwm-19990104; guile --version
Guile 1.3

Compilation then fails related to session-management stuff.  configure
correctly identifies that there's no X11/SM/SMlib.h here,
and config.h has /* #undef HAVE_X11_SM_SMLIB_H */
and /* #undef HAVE_LIBSM_LIBICE */

but things are still trying to include SMlib.h:

gcc -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/local/include/X11R5
-I/home/msl/tell/hp/include   -g -O2 -c add_window.c
In file included from add_window.c:73:
session-manager.h:15: X11/SM/SMlib.h: No such file or directory
gmake[1]: *** [add_window.o] Error 1

The obvious ifdef gets past this one:

*** add_window.c.orig   Sun Dec 27 14:23:47 1998
--- add_window.c        Mon Jan  4 17:53:58 1999
***************
*** 70,76 ****
--- 70,78 ----
  #include "icons.h"
  #include "placement.h"
  #include "callbacks.h"
+ #ifdef HAVE_LIBSM_LIBICE
  #include "session-manager.h"
+ #endif
  #include "xmisc.h"
  #ifdef USE_DMALLOC
  #include "dmalloc.h"

Another compilation failure:
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/local/include/X11R5
-I/home/msl/tell/hp/include   -g -O2 -c miscprocs.c
miscprocs.c: In function `scwm_version':
miscprocs.c:508: `VERSION' undeclared (first use this function)
miscprocs.c:508: (Each undeclared identifier is reported only once
miscprocs.c:508: for each function it appears in.)
gmake[1]: *** [miscprocs.o] Error 1

acconfig.h has "#undef VERSION", but the supplied config.h.in didn't
mention VERSION at all.  Rerunning autoheader makes things look better.

Seems likely that this is closely related to the other auto* failures
in the snapshot package.


What's the "app" directory for?  Make chokes in it because $(LN_S) isn't
defined:

Making all in app
gmake[1]: Entering directory `/msl/tell/build/scwm-19990104/app'
if [ "" = "ln -s" ]; then \
    ../scheme ./scwm ; \
else \
   mkdir ./scwm ; \
   (cd scwm ;  ../scheme/*.scm .) ; \
fi
/bin/sh: ../scheme/*.scm:  not found.


Next, I'm going to see if the scwm I just built will run.

Steve


-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@mit.edu  Tue Jan  5 10:50:05 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA20688
	for scwm-discuss-outgoing; Tue, 5 Jan 1999 10:50:05 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA20685
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 5 Jan 1999 10:50:04 -0500
Received: from mars.zserv.tuwien.ac.at by MIT.EDU with SMTP
	id AA06927; Tue, 5 Jan 99 10:49:39 EST
Received: (qmail 31618 invoked by uid 524); 5 Jan 1999 15:49:45 -0000
To: scwm-discuss@mit.edu
Subject: Re: SCWM Build failure (and buglet reports)
References: <Pine.HPP.3.96.990104172917.13703E-100000@rukbat.cs.unc.edu>
X-Attribution: Robbe
From: Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at>
Date: 05 Jan 1999 16:49:44 +0100
In-Reply-To: Stephen Tell's message of "Mon, 4 Jan 1999 18:16:49 -0500 (EST)"
Message-Id: <lfvhilg1nr.fsf@mars.zserv.tuwien.ac.at>
Lines: 36
User-Agent: Gnus/5.070068 (Pterodactyl Gnus v0.68) XEmacs/20.4 (Emerald)
Organization: Special Squad for Denial and Suppression
Mime-Version: 1.0
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Mon, 4 Jan 1999 18:16:49 -0500 (EST)
>>>>> Stephen Tell <tell@cs.unc.edu> said:

 Stephen> So it looks like these automake macros didn't get found
 Stephen> properly when the snapshot was configured. I know just
 Stephen> enough about autoconf/automake to be dangerous - there was
 Stephen> no aclocal.m4 in the package, but running "aclocal" created
 Stephen> one with these macros, and then autoconf creates an
 Stephen> almost-working configure. (I first tried running autogen.sh,
 Stephen> but it didn't do the trick.)

"aclocal -I ." in autogen.sh did not work on machines that already had
gtk.m4. I suppose this was also the problem for snapshots, because the
snapshot script just calls autogen.sh. This is fixed now.

 Stephen> Compilation then fails related to session-management stuff.

Thanks, I have installed your patch.

 Stephen> miscprocs.c: In function `scwm_version': miscprocs.c:508:
 Stephen> `VERSION' undeclared (first use this function)

[...]

 Stephen> Seems likely that this is closely related to the other auto*
 Stephen> failures in the snapshot package.

I think so, too. Please check if this persists in the next snapshot.

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Wed Jan  6 01:06:40 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA13041
	for scwm-discuss-outgoing; Wed, 6 Jan 1999 01:06:40 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA13038
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 6 Jan 1999 01:06:25 -0500
Received: from dessau.dai.comp.kyutech.ac.jp by MIT.EDU with SMTP
	id AA03878; Wed, 6 Jan 99 01:05:52 EST
Received: by dai.comp.kyutech.ac.jp
	via sendmail from stdin
	id <m0zxm6Q-0014KTC@dessau.dai.comp.kyutech.ac.jp> (Debian Smail3.2.0.101)
	for scwm-discuss@mit.edu; Wed, 6 Jan 1999 15:05:58 +0900 (JST) 
To: scwm-discuss@mit.edu
Subject: [PATCH] scwm/scwm.c for guile 1.3.1
From: Shuji Narazaki <narazaki@dai.comp.kyutech.ac.jp>
Date: 06 Jan 1999 15:05:58 +0900
Message-Id: <87ogodq6k9.fsf@dessau.dai.comp.kyutech.ac.jp>
Lines: 19
User-Agent: Gnus/5.070066 (Pterodactyl Gnus v0.66) Emacs/20.3
Mime-Version: 1.0
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

Please apply the following patch.
It's crucial for the latest snapshots(1.3.1) of guile.

--- scwm.c.original	Wed Jan  6 14:58:10 1999
+++ scwm.c	Wed Jan  6 14:58:11 1999
@@ -497,7 +497,7 @@
   /* MS:FIXME:: remove once we deal w/ new-style hooks properly. */
 
 #ifdef HAVE_SCM_MAKE_HOOK
-  gh_eval_str("(set! *suppress-old-style-hook-warning* #t");
+  gh_eval_str("(set! *suppress-old-style-hook-warning* #t)");
 #endif
 
 #ifdef I18N

-- 
narazaki@dai.comp.kyutech.ac.jp (Shuji Narazaki)

From owner-scwm-discuss@mit.edu  Wed Jan  6 11:01:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA17182
	for scwm-discuss-outgoing; Wed, 6 Jan 1999 11:01:41 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA17179
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 6 Jan 1999 11:01:40 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA26528; Wed, 6 Jan 99 11:01:05 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id HAA09476; Wed, 6 Jan 1999 07:57:48 -0800 (PST)
To: Shuji Narazaki <narazaki@dai.comp.kyutech.ac.jp>
Cc: scwm-discuss@mit.edu
Subject: Re: [PATCH] scwm/scwm.c for guile 1.3.1
References: <87ogodq6k9.fsf@dessau.dai.comp.kyutech.ac.jp>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Jan 1999 07:57:48 -0800
In-Reply-To: Shuji Narazaki's message of "06 Jan 1999 15:05:58 +0900"
Message-Id: <qrr3e5ojsw3.fsf@elwha.cs.washington.edu>
Lines: 10
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Shuji Narazaki <narazaki@dai.comp.kyutech.ac.jp> writes:

> Hi,
> 
> Please apply the following patch.
> It's crucial for the latest snapshots(1.3.1) of guile.

Great-- checking in shortly.  Thanks!

Greg

From owner-scwm-discuss@mit.edu  Thu Jan  7 15:33:46 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA04507
	for scwm-discuss-outgoing; Thu, 7 Jan 1999 15:33:46 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from mail.eaglets.com ([208.235.77.228])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id PAA04502
	for <scwm-discuss@huis-clos.mit.edu>; Thu, 7 Jan 1999 15:33:41 -0500
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Thu, 07 Jan 1999 15:31:50 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Thu, 07 Jan 1999 15:31:49 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.1a/8.9.1) id PAA11686;
	Thu, 7 Jan 1999 15:32:34 -0500
To: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: scwm build system requirements
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 07 Jan 1999 15:32:34 -0500
Message-ID: <m3r9t6hli5.fsf@eho.eaglets.com>
Lines: 30
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I have a rh5.2 linux 2.1.133
$ rpm -q autoconf automake
autoconf-2.12-7
automake-1.3b-4
$

I cannot build scwm:

$ make
...
ltconfig: unrecognized option `--no-reexec'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed
make: *** [config.status] Error 1
$

(this is after a `cvs update`).
so, what do I need to build SCWM?

(I haven't been able to run scwm for several weeks now; trust me,
suffering under fvwm is no fun after joys of scwm.
BTW, is anyone running gnome-session? - when I start it from an xterm
and then try to exit it through "log out", it kills X session.  how do I
exit `gnome-session' without having my apps killed?)

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
MS Windows: error: the operation completed successfully.

From owner-scwm-discuss@mit.edu  Thu Jan  7 15:47:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA04619
	for scwm-discuss-outgoing; Thu, 7 Jan 1999 15:47:03 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA04616
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 7 Jan 1999 15:47:03 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA04943; Thu, 7 Jan 99 15:46:24 EST
Received: (qmail 1158 invoked by uid 501); 7 Jan 1999 20:48:18 -0000
Message-Id: <19990107124817.A1139@molehill.org>
Date: Thu, 7 Jan 1999 12:48:17 -0800
From: Todd Larason <jtl@molehill.org>
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: scwm build system requirements
References: <m3r9t6hli5.fsf@eho.eaglets.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <m3r9t6hli5.fsf@eho.eaglets.com>; from Sam Steingold on Thu, Jan 07, 1999 at 03:32:34PM -0500
X-Kibo: The future makes sense.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990107, Sam Steingold wrote:
> I have a rh5.2 linux 2.1.133
> $ rpm -q autoconf automake
> autoconf-2.12-7
> automake-1.3b-4
> $

guess:
$ rpm -q libtool
libtool-1.2b-1

> ltconfig: unrecognized option `--no-reexec'
> Try `ltconfig --help' for more information.
> configure: error: libtool configure failed

$ rm ltconfig ltmain.sh
$ ./autogen.sh

I'm checking my archives now to see if we came to consensus on this before.
If so, I'll remove those files from the CVS tree.

(and I remembered not to CC: you this time!)
-- 
ICQ UIN: 47261468

From owner-scwm-discuss@mit.edu  Thu Jan  7 15:55:54 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA04765
	for scwm-discuss-outgoing; Thu, 7 Jan 1999 15:55:54 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA04762
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 7 Jan 1999 15:55:53 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA23469; Thu, 7 Jan 99 15:55:04 EST
Received: (qmail 1231 invoked by uid 501); 7 Jan 1999 20:57:12 -0000
Message-Id: <19990107125711.A1210@molehill.org>
Date: Thu, 7 Jan 1999 12:57:11 -0800
From: Todd Larason <jtl@molehill.org>
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: scwm build system requirements
References: <m3r9t6hli5.fsf@eho.eaglets.com> <19990107124817.A1139@molehill.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <19990107124817.A1139@molehill.org>; from Todd Larason on Thu, Jan 07, 1999 at 12:48:17PM -0800
X-Kibo: Touch Kibology, and conserve energy!
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990107, Todd Larason wrote:
> I'm checking my archives now to see if we came to consensus on this before.
> If so, I'll remove those files from the CVS tree.

No obvious consensus.  Last time it came up, nobody said anything, and the
time before that no final answers were come to.

Maciej, Greg?  It looks to me like either 'configure' needs to be in the CVS
tree, or ltconfig and ltmain.sh need to not be; they have to match to work.
-- 
ICQ UIN: 82519072

From owner-scwm-discuss@mit.edu  Thu Jan  7 16:13:43 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA04956
	for scwm-discuss-outgoing; Thu, 7 Jan 1999 16:13:43 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA04953
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 7 Jan 1999 16:13:42 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA29126; Thu, 7 Jan 99 16:12:52 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Thu, 07 Jan 1999 16:12:06 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Thu, 07 Jan 1999 16:12:05 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.1a/8.9.1) id QAA11803;
	Thu, 7 Jan 1999 16:12:51 -0500
To: Todd Larason <jtl@molehill.org>
Cc: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: scwm build system requirements
References: <m3r9t6hli5.fsf@eho.eaglets.com> <19990107124817.A1139@molehill.org>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Todd Larason's message of "Thu, 7 Jan 1999 12:48:17 -0800"
Date: 07 Jan 1999 16:12:51 -0500
Message-Id: <m3g19mhjn0.fsf@eho.eaglets.com>
Lines: 30
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <19990107124817.A1139@molehill.org>
>>>> On the subject of "Re: scwm build system requirements"
>>>> Sent on Thu, 7 Jan 1999 12:48:17 -0800
>>>> Honorable Todd Larason <jtl@molehill.org> writes:
 >> On 990107, Sam Steingold wrote:
 >> > I have a rh5.2 linux 2.1.133
 >> > $ rpm -q autoconf automake
 >> > autoconf-2.12-7
 >> > automake-1.3b-4
 >> > $
 >> 
 >> guess:
 >> $ rpm -q libtool
 >> libtool-1.2b-1

oops!  i have it, but forgot to mention.

$ rpm -q libtool
libtool-1.2b-2
$

 >> (and I remembered not to CC: you this time!)

thanks!

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Oh Lord, give me the source code of the Universe and a good debugger!

From owner-scwm-discuss@mit.edu  Thu Jan  7 16:30:02 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA05122
	for scwm-discuss-outgoing; Thu, 7 Jan 1999 16:30:02 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA05112
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 7 Jan 1999 16:29:46 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA04269; Thu, 7 Jan 99 16:28:50 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA12062; Thu, 7 Jan 1999 13:28:54 -0800 (PST)
To: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: Re: scwm build system requirements
References: <m3r9t6hli5.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Jan 1999 13:28:53 -0800
In-Reply-To: Sam Steingold's message of "07 Jan 1999 15:32:34 -0500"
Message-Id: <qrrww2ydb6y.fsf@elwha.cs.washington.edu>
Lines: 46
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> I have a rh5.2 linux 2.1.133
> $ rpm -q autoconf automake
> autoconf-2.12-7
> automake-1.3b-4
> $
> 
> I cannot build scwm:
> 
> $ make
> ...
> ltconfig: unrecognized option `--no-reexec'
> Try `ltconfig --help' for more information.
> configure: error: libtool configure failed
> make: *** [config.status] Error 1
> $

I've seen this too when building for alpha.  I just took the --no-reexec 
option out by editing configure directly.  My ltconfig does not have a
--no-reexec option, so I don't know why autconf is sticking it in there.

> (this is after a `cvs update`).
> so, what do I need to build SCWM?
> 
> (I haven't been able to run scwm for several weeks now; trust me,
> suffering under fvwm is no fun after joys of scwm.

That's no good... we need to get you back up to speed.  I've not built a 
usable fresh scwm in several weeks, either, but I've been very busy with 
other things (like holidays! Happy new year everyone!)

> BTW, is anyone running gnome-session? - when I start it from an xterm
> and then try to exit it through "log out", it kills X session.  how do I
> exit `gnome-session' without having my apps killed?)

Beats me... but I'm very interested in session management after playing
around with the KDE a bunch over the holiday.

On that topic, I think we should look into supporting KDE module-like
things in Scwm-- I think they are a huge usability enhancement for
novice users.  KDE is a hog, but is really nice to use if you know
little about X or linux, but not at all configurable or programmable.

Greg


From owner-scwm-discuss@mit.edu  Thu Jan  7 18:06:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA05734
	for scwm-discuss-outgoing; Thu, 7 Jan 1999 18:06:18 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA05731
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 7 Jan 1999 18:06:12 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA02683; Thu, 7 Jan 99 18:05:15 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id BAA12963; Fri, 8 Jan 1999 01:05:09 +0200
Date: Fri, 8 Jan 1999 01:05:09 +0200
Message-Id: <199901072305.BAA12963@blinky.bfr.co.il>
From: "Harvey J. Stein" <hjstein@bfr.co.il>
To: scwm-discuss@mit.edu
Subject: Those annoying keywords...
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I just spent way too long trying to get the scheme document extractor
to properly generate sgml.

I snarfed the code from optargs.scm to extend the reader so that for
parsing I could just (read) in the scheme code.  I then had records
like:

   guile> (proc:decl (docitem:data p))
   (SCHEME_PROC #f animated-move-to #f #f #f (x y #&optional (win (get-window)) (move-pointer-too? #t)) (app scwm animation) #f)

and:

   guile> (decl:args (proc:decl (docitem:data p)))
   (x y #&optional (win (get-window)) (move-pointer-too? #t))

Next, I needed a function which would just extract out the actual
arguments from the arglist:

   (define (scheme-extract-arg-names arglist)
     (cond ((null? arglist) '())
	   ((list? (car arglist))		; Has a default value
	    (cons (caar arglist) (scheme-extract-arg-names (cdr
	    arglist))))
	   ((keyword? (car arglist))
	    (scheme-extract-arg-names (cdr arglist)))
	   (else (cons (car arglist) (scheme-extract-arg-names (cdr
	   arglist))))))

   (define (keyword? k)
      (not (null? (memq k '(#&optional #&key #&rest #&allow-other-keys)))))

This didn't work.  The problem was with keyword?, which displayed the
following most confusing behavior:

   guile> (keyword? '#&optional)
   #t
   guile> (caddr (decl:args (proc:decl (docitem:data p))))
   #&optional
   guile> (keyword? (caddr (decl:args (proc:decl (docitem:data p)))))
   #t
   guile> (define x '#&optional)
   guile> (define y (caddr (decl:args (proc:decl (docitem:data p)))))
   guile> x
   #&optional
   guile> y
   #&optional
   guile> (equal? x y)
   #f
   guile> (eq? x y)
   #f

I finally stared at the keyword code long enough to figure out that
the keywords are actually records which print like keywords.  I still
don't understand why y is not equal to the-optional-value.

I finally found a definition for keyword? which worked:

   (define keyword? record?)

In any case, may I suggest that it isn't a good idea to have things
print differently than they read?  E.g. - if a keyword prints like
#&optional then it should be eq? to '#&optional.  After all, R4RS
takes great pains to preserve this sort of behavior & I think it's
pretty much expected.  At least it fooled me for a long time...

Does anyone have any idea of how to fix this?

This also leads to something weird with printing.  Consider:

   guile> p
   (PROC ((SCHEME_PROC #f animated-move-to #f #f #f (x y #&optional (win (get-window)) (move-pointer-too? #t)) (app scwm animation) #f) (Move WIN to viewport coordinates X, Y with animation. 
   If X or Y is #f, then do not change that coordinate during 
   the move. At least one of X and Y must be a number. This 
   moves the pointer with the window unless MOVE-POINTER-TOO? 
   is #f.) #f) /home/hjstein/remote-cvs-pkgs/scwm/scheme/animation.scm 0)

However:

   guile> (cadr (cadr p))
   ("Move WIN to viewport coordinates X, Y with animation. 
   If X or Y is #f, then do not change that coordinate during 
   the move. At least one of X and Y must be a number. This 
   moves the pointer with the window unless MOVE-POINTER-TOO? 
   is #f.")

What happened to the quotes when I ask for the value of p?
Is this also related to the keyword stuff?

Thanks,

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Thu Jan  7 18:11:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA05784
	for scwm-discuss-outgoing; Thu, 7 Jan 1999 18:11:33 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA05781
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 7 Jan 1999 18:11:32 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA03782; Thu, 7 Jan 99 18:10:40 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Thu, 07 Jan 1999 18:09:57 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Thu, 07 Jan 1999 18:09:57 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.1a/8.9.1) id SAA14363;
	Thu, 7 Jan 1999 18:10:42 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: Re: scwm build system requirements
References: <m3r9t6hli5.fsf@eho.eaglets.com> <qrrww2ydb6y.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "07 Jan 1999 13:28:53 -0800"
Date: 07 Jan 1999 18:10:41 -0500
Message-Id: <m34sq2he6m.fsf@eho.eaglets.com>
Lines: 43
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrrww2ydb6y.fsf@elwha.cs.washington.edu>
>>>> On the subject of "Re: scwm build system requirements"
>>>> Sent on 07 Jan 1999 13:28:53 -0800
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> Sam Steingold <sds@goems.com> writes:
 >> 
 >> > I have a rh5.2 linux 2.1.133
 >> > $ rpm -q autoconf automake
 >> > autoconf-2.12-7
 >> > automake-1.3b-4
 >> > $
 >> >
 >> > I cannot build scwm:
 >> >
 >> > $ make
 >> > ...
 >> > ltconfig: unrecognized option `--no-reexec'
 >> > Try `ltconfig --help' for more information.
 >> > configure: error: libtool configure failed
 >> > make: *** [config.status] Error 1
 >> > $
 >> 
 >> I've seen this too when building for alpha.  I just took the --no-reexec
 >> option out by editing configure directly.  My ltconfig does not have a
 >> --no-reexec option, so I don't know why autconf is sticking it in there.
after I removed `--no-reexec', I get:
$ make
...
checking for scm_handle_by_message_noexit in -lguile... no
configure: error: Can not find Guile 1.2 or later on the system
make: *** [config.status] Error 1
$ rpm -q guile guile-devel
guile-1.3-1
guile-devel-1.3-1
$

[shame on me - why didn't I try removing the thing myself?]

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Life is like a diaper -- short and loaded.

From owner-scwm-discuss@mit.edu  Thu Jan  7 18:17:51 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA05844
	for scwm-discuss-outgoing; Thu, 7 Jan 1999 18:17:51 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA05841
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 7 Jan 1999 18:17:50 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA21017; Thu, 7 Jan 99 18:17:10 EST
Received: (qmail 2655 invoked by uid 501); 7 Jan 1999 23:19:12 -0000
Message-Id: <19990107151911.A2619@molehill.org>
Date: Thu, 7 Jan 1999 15:19:11 -0800
From: Todd Larason <jtl@molehill.org>
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: scwm build system requirements
References: <m3r9t6hli5.fsf@eho.eaglets.com> <qrrww2ydb6y.fsf@elwha.cs.washington.edu> <m34sq2he6m.fsf@eho.eaglets.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <m34sq2he6m.fsf@eho.eaglets.com>; from Sam Steingold on Thu, Jan 07, 1999 at 06:10:41PM -0500
X-Kibo: Exactly half of the anti- un- un- great computers are silly.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990107, Sam Steingold wrote:
> $ make
> ...
> checking for scm_handle_by_message_noexit in -lguile... no
> configure: error: Can not find Guile 1.2 or later on the system
> make: *** [config.status] Error 1
> $ rpm -q guile guile-devel
> guile-1.3-1
> guile-devel-1.3-1
> $

>From rawhide, I assume?  No action has been taken on my bug reports.

In the meantime, I'd suggest using my redhat contrib|net guile packages.  They 
should be available at http://rhcn.redhat.com.  I was told yesterday that
guile-rhcn-1.3-2.i386.rpm was missing; if it still is, you can get it at
http://www.molehill.org/~jtl/rhcn/.
-- 
ICQ UIN: 76745462

From owner-scwm-discuss@mit.edu  Thu Jan  7 19:30:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA06380
	for scwm-discuss-outgoing; Thu, 7 Jan 1999 19:30:41 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA06377
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 7 Jan 1999 19:30:38 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA18481; Thu, 7 Jan 99 19:29:46 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Thu, 07 Jan 1999 19:29:04 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Thu, 07 Jan 1999 19:29:03 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.1a/8.9.1) id TAA18127;
	Thu, 7 Jan 1999 19:29:44 -0500
To: Todd Larason <jtl@molehill.org>
Cc: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: scwm build system requirements
References: <m3r9t6hli5.fsf@eho.eaglets.com> <qrrww2ydb6y.fsf@elwha.cs.washington.edu> <m34sq2he6m.fsf@eho.eaglets.com> <19990107151911.A2619@molehill.org>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Todd Larason's message of "Thu, 7 Jan 1999 15:19:11 -0800"
Date: 07 Jan 1999 19:29:44 -0500
Message-Id: <m3vhiifvyf.fsf@eho.eaglets.com>
Lines: 51
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <19990107151911.A2619@molehill.org>
>>>> On the subject of "Re: scwm build system requirements"
>>>> Sent on Thu, 7 Jan 1999 15:19:11 -0800
>>>> Honorable Todd Larason <jtl@molehill.org> writes:
 >> On 990107, Sam Steingold wrote:
 >> > $ make
 >> > ...
 >> > checking for scm_handle_by_message_noexit in -lguile... no
 >> > configure: error: Can not find Guile 1.2 or later on the system
 >> > make: *** [config.status] Error 1
 >> > $ rpm -q guile guile-devel
 >> > guile-1.3-1
 >> > guile-devel-1.3-1
 >> > $
 >> 
 >> >From rawhide, I assume?  No action has been taken on my bug reports.

those losers! :-)

 >> In the meantime, I'd suggest using my redhat contrib|net guile
 >> packages.  They should be available at http://rhcn.redhat.com.  I
 >> was told yesterday that guile-rhcn-1.3-2.i386.rpm was missing; if it
 >> still is, you can get it at http://www.molehill.org/~jtl/rhcn/.

why did you call the files `guile-rhcn', not just `guile'?

Good, now I can compile scwm (but not run for the same reason:
(gdb) run
Starting program: /usr/src/scwm/scwm/scwm 

Program received signal SIGSEGV, Segmentation fault.
0x4024756d in _IO_setvbuf (fp=0x402d6640, buf=0x0, mode=2, size=0)
    at iosetvbuf.c:92
92      iosetvbuf.c: No such file or directory.
(gdb) p *fp
$1 = {_flags = -72540024, _IO_read_ptr = 0x0, _IO_read_end = 0x0, 
  _IO_read_base = 0x0, _IO_write_base = 0x0, _IO_write_ptr = 0x0, 
  _IO_write_end = 0x0, _IO_buf_base = 0x0, _IO_buf_end = 0x0, 
  _IO_save_base = 0x0, _IO_backup_base = 0x0, _IO_save_end = 0x0, 
  _markers = 0x0, _chain = 0x0, _fileno = 0, _blksize = 0, _old_offset = -1, 
  _cur_column = 0, _vtable_offset = 0 '\000', _shortbuf = "", 
  _lock = 0x402d6620, _offset = 1076716992, _unused2 = {0, 0, 1, 0, 0, 0, 0, 
    0, 0, 0, 0, -72540028, 0, 0, 0, 0}}
(gdb)
)

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
MS: Brain off-line, please wait.

From owner-scwm-discuss@mit.edu  Thu Jan  7 19:39:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA06468
	for scwm-discuss-outgoing; Thu, 7 Jan 1999 19:39:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA06465
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 7 Jan 1999 19:39:06 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA06530; Thu, 7 Jan 99 19:38:26 EST
Received: (qmail 3372 invoked by uid 501); 8 Jan 1999 00:40:29 -0000
Message-Id: <19990107164029.A3301@molehill.org>
Date: Thu, 7 Jan 1999 16:40:29 -0800
From: Todd Larason <jtl@molehill.org>
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: scwm build system requirements
References: <m3r9t6hli5.fsf@eho.eaglets.com> <qrrww2ydb6y.fsf@elwha.cs.washington.edu> <m34sq2he6m.fsf@eho.eaglets.com> <19990107151911.A2619@molehill.org> <m3vhiifvyf.fsf@eho.eaglets.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <m3vhiifvyf.fsf@eho.eaglets.com>; from Sam Steingold on Thu, Jan 07, 1999 at 07:29:44PM -0500
X-Kibo: Enjoy Chinese food!
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990107, Sam Steingold wrote:
> why did you call the files `guile-rhcn', not just `guile'?

Any packages contributed to the RedHat Contrib|Network that are also included
in a real RedHat release must be named that way, per rhcn rules.  

I think the idea is that eventually, there will be RedHat releases and RHCN
releases, and there will be no need for the rather informal contrib system
that currently exists, at which point you'll be able to look at 'rpm -q' and
see easily where the RPM came from.

> (gdb) p *fp
> $1 = {_flags = -72540024, _IO_read_ptr = 0x0, _IO_read_end = 0x0, 
>   _IO_read_base = 0x0, _IO_write_base = 0x0, _IO_write_ptr = 0x0, 
>   _IO_write_end = 0x0, _IO_buf_base = 0x0, _IO_buf_end = 0x0, 
>   _IO_save_base = 0x0, _IO_backup_base = 0x0, _IO_save_end = 0x0, 
>   _markers = 0x0, _chain = 0x0, _fileno = 0, _blksize = 0, _old_offset = -1, 
>   _cur_column = 0, _vtable_offset = 0 '\000', _shortbuf = "", 
>   _lock = 0x402d6620, _offset = 1076716992, _unused2 = {0, 0, 1, 0, 0, 0, 0, 
>     0, 0, 0, 0, -72540028, 0, 0, 0, 0}}
> (gdb)
> )

*sigh*  Anybody else using a glibc-2.0.1xx system?

I'll try the install 5.2->upgrade to rawhide strategy as soon as I can.
-- 
ICQ UIN: 10187152

From owner-scwm-discuss@mit.edu  Sat Jan  9 02:04:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA15291
	for scwm-discuss-outgoing; Sat, 9 Jan 1999 02:04:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA15288
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 9 Jan 1999 02:04:05 -0500
Received: from dns.franken.de by MIT.EDU with SMTP
	id AA26106; Sat, 9 Jan 99 02:03:11 EST
Received: from gnu.UUCP by chico.franken.de with UUCP
	(Smail3.2 #2) id m0zysQJ-005COmC; Sat, 9 Jan 1999 08:03:03 +0100 (MET)
Received: from luna.gnu.franken.de ([192.168.1.1]) by gnu.franken.de
	 with smtp (ident root using rfc1413) id <m0zysGY-000FP5C@gnu.franken.de>
	(Smail 3.1.29.1); Sat, 9 Jan 99 07:52 MET
Received: by luna.gnu.franken.de
	id <m0zysRJ-0001xsC@luna.gnu.franken.de>
	(Smail-3.2 1996-Jul-4 #1); Sat, 9 Jan 1999 08:04:05 +0100 (MET)
To: Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at>
Cc: scwm-discuss@mit.edu
Subject: Re: SCWM Build failure (and buglet reports)
References: <Pine.HPP.3.96.990104172917.13703E-100000@rukbat.cs.unc.edu> <lfvhilg1nr.fsf@mars.zserv.tuwien.ac.at>
Mime-Version: 1.0
From: Karl Eichwalder <ke@gnu.franken.de>
Date: 09 Jan 1999 08:04:05 +0100
In-Reply-To: Robert Bihlmeyer's message of "05 Jan 1999 16:49:44 +0100"
Message-Id: <yeg1zl5dj16.fsf@luna.gnu.franken.de>
Lines: 14
User-Agent: Gnus/5.070063 (Pterodactyl Gnus v0.63) Emacs/20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at> writes:

|   "aclocal -I ." in autogen.sh did not work on machines that already
|   had gtk.m4. I suppose this was also the problem for snapshots,
|   because the snapshot script just calls autogen.sh. This is fixed
|   now.

I've the feeling it is still not fixed.  Please, distribute aclocal.m4
with the snapshots.  autogen.sh and gtk.m4 are pieces of sugar;
normally, there should be no need distribute these files -- but
aclocal.m4 is important.

-- 
Karl Eichwalder

From owner-scwm-discuss@mit.edu  Sat Jan  9 03:01:48 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA15937
	for scwm-discuss-outgoing; Sat, 9 Jan 1999 03:01:48 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA15934
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 9 Jan 1999 03:01:46 -0500
Received: from dns.franken.de by MIT.EDU with SMTP
	id AA27964; Sat, 9 Jan 99 03:00:39 EST
Received: from gnu.UUCP by chico.franken.de with UUCP
	(Smail3.2 #2) id m0zytK8-005CQGC; Sat, 9 Jan 1999 09:00:44 +0100 (MET)
Received: from luna.gnu.franken.de ([192.168.1.1]) by gnu.franken.de
	 with smtp (ident root using rfc1413) id <m0zysqv-000FP5C@gnu.franken.de>
	(Smail 3.1.29.1); Sat, 9 Jan 99 08:30 MET
Received: by luna.gnu.franken.de
	id <m0zyt1h-0001xsC@luna.gnu.franken.de>
	(Smail-3.2 1996-Jul-4 #1); Sat, 9 Jan 1999 08:41:41 +0100 (MET)
To: Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at>
Cc: scwm-discuss@mit.edu
Subject: Re: SCWM Build failure (and buglet reports)
References: <Pine.HPP.3.96.990104172917.13703E-100000@rukbat.cs.unc.edu> <lfvhilg1nr.fsf@mars.zserv.tuwien.ac.at>
Mime-Version: 1.0
From: Karl Eichwalder <ke@gnu.franken.de>
Date: 09 Jan 1999 08:41:35 +0100
In-Reply-To: Robert Bihlmeyer's message of "05 Jan 1999 16:49:44 +0100"
Message-Id: <yegpv8odhao.fsf@luna.gnu.franken.de>
Lines: 13
User-Agent: Gnus/5.070063 (Pterodactyl Gnus v0.63) Emacs/20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

And please make sure that `configure' has expanded:

    AM_INIT_AUTOMAKE(scwm, 0.9beta1)
    AM_MAINTAINER_MODE
    AM_CONFIG_HEADER(include/config.h)

Sorry, I didn't check the last scwm snapshot -- but this used to be
broken for weeks ;-)

-- 
Karl Eichwalder



From owner-scwm-discuss@mit.edu  Sat Jan  9 05:26:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA17416
	for scwm-discuss-outgoing; Sat, 9 Jan 1999 05:26:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA17413
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 9 Jan 1999 05:26:04 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA06592; Sat, 9 Jan 99 05:25:09 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id LAA13381
	for scwm-discuss@mit.edu; Sat, 9 Jan 1999 11:12:22 +0100 (MET)
Received: (qmail 310 invoked by uid 115); 9 Jan 1999 10:03:53 -0000
To: scwm-discuss@mit.edu
Subject: Re: scwm build system requirements
References: <m3r9t6hli5.fsf@eho.eaglets.com> <19990107124817.A1139@molehill.org>
X-Attribution: Robbe
Mime-Version: 1.0
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 09 Jan 1999 11:03:48 +0100
In-Reply-To: Todd Larason's message of "Thu, 7 Jan 1999 12:48:17 -0800"
Message-Id: <wslnjc69vf.fsf@orcus.priv.at>
Lines: 20
User-Agent: Gnus/5.070069 (Pterodactyl Gnus v0.69) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Thu, 7 Jan 1999 12:48:17 -0800
>>>>> Todd Larason <jtl@molehill.org> said:

[ltconfig ltmain.sh]

 Todd> I'm checking my archives now to see if we came to consensus on
 Todd> this before. If so, I'll remove those files from the CVS tree.

I vote for removal. Don't we already require the whole bunch
(automake, libtool, autoconf)? I think this is a justified
requirement. More justified than requiring automake && autoconf && (no
libtool || specific version of libtool).

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Sat Jan  9 09:26:21 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA18308
	for scwm-discuss-outgoing; Sat, 9 Jan 1999 09:26:21 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA18305
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 9 Jan 1999 09:26:18 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA17911; Sat, 9 Jan 99 09:25:21 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id PAA18108
	for scwm-discuss@mit.edu; Sat, 9 Jan 1999 15:20:32 +0100 (MET)
Received: (qmail 972 invoked by uid 115); 9 Jan 1999 10:50:58 -0000
To: scwm-discuss@mit.edu
Cc: Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at>
Subject: Re: SCWM Build failure (and buglet reports)
References: <Pine.HPP.3.96.990104172917.13703E-100000@rukbat.cs.unc.edu> <lfvhilg1nr.fsf@mars.zserv.tuwien.ac.at> <yeg1zl5dj16.fsf@luna.gnu.franken.de>
X-Attribution: Robbe
Mime-Version: 1.0
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 09 Jan 1999 11:50:53 +0100
In-Reply-To: Karl Eichwalder's message of "09 Jan 1999 08:04:05 +0100"
Message-Id: <ws7luw67oy.fsf@orcus.priv.at>
Lines: 23
User-Agent: Gnus/5.070069 (Pterodactyl Gnus v0.69) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 09 Jan 1999 08:04:05 +0100
>>>>> Karl Eichwalder <ke@gnu.franken.de> said:

 Karl> I've the feeling it is still not fixed. Please, distribute
 Karl> aclocal.m4 with the snapshots. autogen.sh and gtk.m4 are pieces
 Karl> of sugar; normally, there should be no need distribute these
 Karl> files -- but aclocal.m4 is important.

Well, the snapshot-script calls "autogen.sh" before packing up the
snapshot. "aclocal" is called from there, and it should produce
"aclocal.m4" all right. If this is not included in the snapshots,
there must be something amiss here.

I'll have chance to investigate this thoroughly on Monday, if noone
beats me to it.

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Sat Jan  9 18:12:22 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA21028
	for scwm-discuss-outgoing; Sat, 9 Jan 1999 18:12:22 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA21025
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 9 Jan 1999 18:12:19 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA06938; Sat, 9 Jan 99 18:11:05 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA21488; Sat, 9 Jan 1999 15:11:09 -0800 (PST)
To: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: Re: scwm build system requirements
References: <m3r9t6hli5.fsf@eho.eaglets.com> <qrrww2ydb6y.fsf@elwha.cs.washington.edu> <m34sq2he6m.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 09 Jan 1999 15:11:09 -0800
In-Reply-To: Sam Steingold's message of "07 Jan 1999 18:10:41 -0500"
Message-Id: <qrrpv8of3ea.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

>  >> I've seen this too when building for alpha.  I just took the --no-reexec
>  >> option out by editing configure directly.  My ltconfig does not have a
>  >> --no-reexec option, so I don't know why autconf is sticking it in there.
> after I removed `--no-reexec', I get:
> $ make
> ...
> checking for scm_handle_by_message_noexit in -lguile... no
> configure: error: Can not find Guile 1.2 or later on the system
> make: *** [config.status] Error 1
> $ rpm -q guile guile-devel
> guile-1.3-1
> guile-devel-1.3-1
> $
> 
> [shame on me - why didn't I try removing the thing myself?]

It may be worth looking at config.log to see what's really happening.
You may do better to use some of the configure options to specify
--with-guile-include-prefix or --with-guile-lib-prefix, etc.

Greg

From owner-scwm-discuss@mit.edu  Sat Jan  9 18:46:51 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA21322
	for scwm-discuss-outgoing; Sat, 9 Jan 1999 18:46:51 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA21319
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 9 Jan 1999 18:46:50 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA13299; Sat, 9 Jan 99 18:45:47 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Sat, 09 Jan 1999 18:45:10 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Sat, 09 Jan 1999 18:45:10 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.1a/8.9.1) id SAA10638;
	Sat, 9 Jan 1999 18:45:35 -0500
To: <scwm-discuss@mit.edu>
Subject: Re: scwm build system requirements
References: <m3r9t6hli5.fsf@eho.eaglets.com> <qrrww2ydb6y.fsf@elwha.cs.washington.edu> <m34sq2he6m.fsf@eho.eaglets.com> <qrrpv8of3ea.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "09 Jan 1999 15:11:09 -0800"
Date: 09 Jan 1999 18:45:35 -0500
Message-Id: <m3sodkc8o0.fsf@eho.eaglets.com>
Lines: 35
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrrpv8of3ea.fsf@elwha.cs.washington.edu>
>>>> On the subject of "Re: scwm build system requirements"
>>>> Sent on 09 Jan 1999 15:11:09 -0800
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> Sam Steingold <sds@goems.com> writes:
 >> 
 >> >  >> I've seen this too when building for alpha.  I just took the --no-reexec
 >> >  >> option out by editing configure directly.  My ltconfig does not have a
 >> >  >> --no-reexec option, so I don't know why autconf is sticking it in there.
 >> > after I removed `--no-reexec', I get:
 >> > $ make
 >> > ...
 >> > checking for scm_handle_by_message_noexit in -lguile... no
 >> > configure: error: Can not find Guile 1.2 or later on the system
 >> > make: *** [config.status] Error 1
 >> > $ rpm -q guile guile-devel
 >> > guile-1.3-1
 >> > guile-devel-1.3-1
 >> > $
 >> >
 >> > [shame on me - why didn't I try removing the thing myself?]
 >> 
 >> It may be worth looking at config.log to see what's really happening.
 >> You may do better to use some of the configure options to specify
 >> --with-guile-include-prefix or --with-guile-lib-prefix, etc.

buggy rawhide guile.
with Todd's guile, I can build but I get that same _IO_setvbuf crash
(glibc 2.0.108)

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Hard work has a future payoff.  Laziness pays off NOW.

From owner-scwm-discuss@mit.edu  Mon Jan 11 18:52:11 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA05522
	for scwm-discuss-outgoing; Mon, 11 Jan 1999 18:52:11 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA05519
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 11 Jan 1999 18:52:10 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA08628; Mon, 11 Jan 99 18:50:48 EST
Received: from Central.Sun.COM ([129.147.62.10]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id PAA29432 for <scwm-discuss@mit.edu>; Mon, 11 Jan 1999 15:50:38 -0800
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id QAA08830; Mon, 11 Jan 1999 16:50:36 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1+Sun/8.9.1) id QAA20646;
	Mon, 11 Jan 1999 16:50:37 -0700 (MST)
To: scwm-discuss@mit.edu
Subject: lots of build problems; what to try?
Mime-Version: 1.0
From: Sam Falkner <samf@Central.Sun.COM>
Date: 11 Jan 1999 16:50:37 -0700
Message-Id: <ii7g19hgyia.fsf@central.sun.com>
Lines: 21
User-Agent: Gnus/5.070069 (Pterodactyl Gnus v0.69) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I'm having lots of build problems here inside of Sun.  I don't have
CVS access, and may not for a while if ever, due to our firewall.
But, I've tried the following:

    scwm-19990111
    scwm-0.9beta1
    scwm-0.8a

I'll be happy to detail the problems I've had, but before I go any
further, would anyone like to suggest the best shot I have of getting
any version of scwm running?  I'm on a sparc running Solaris 7 (aka
2.7 aka 5.7).

Or, if you just can't make any recommends until I give you more data,
then I'll post what I've tried and what happened.  I just didn't want
to do that in the first email, lest I sound like a loquacious whiner.
:-)

Thanks!

- Sam

From owner-scwm-discuss@mit.edu  Mon Jan 11 19:12:12 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA05680
	for scwm-discuss-outgoing; Mon, 11 Jan 1999 19:12:12 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA05677
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 11 Jan 1999 19:12:11 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA25644; Mon, 11 Jan 99 19:10:32 EST
Received: (qmail 18229 invoked by uid 501); 12 Jan 1999 00:10:46 -0000
Message-Id: <19990111161045.A15157@molehill.org>
Date: Mon, 11 Jan 1999 16:10:45 -0800
From: Todd Larason <jtl@molehill.org>
To: Sam Falkner <samf@Central.Sun.COM>, scwm-discuss@mit.edu
Subject: Re: lots of build problems; what to try?
References: <ii7g19hgyia.fsf@central.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <ii7g19hgyia.fsf@central.sun.com>; from Sam Falkner on Mon, Jan 11, 1999 at 04:50:37PM -0700
X-Kibo: Conflict between language and Kibology is not a guess.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

There are a variety of build problems currently.  We're all overloaded by work 
tot he point of not being able to investigate real fixes.

The easiest way:

I'd suggest starting with the latest snapshot (scwm-19990111).  Install
libtool 1.2 or 1.2b, if it's not already.  Unpack archive, cd scwm-19990111.
run 'libtoolize --automake'.  Run configure as normal, make, and make install.

That should avoid the old libtool (by using a new enough scwm), the new
libtool problem (the fact that ltconfig and ltmain.sh aren't in the
snapshots), and the various GTK problems (by not building configure and
dealing with whatever combination of system and scwm gtk.m4s are around).

This may still have problems with guile; the most common symptom of this will
be either an inability to find guile 1.2 or newer, even though it's there, or
link problems due to needing -lreadline and not knowing it.  Both of these are 
common on linux systems with bad guile RPMs, but I'd be surprised to see them
on a Solaris system.  If you do have one anyway, make sure 'guile-config' is
installed properly (in a directory in PATH).

If you're having other build problems with recent snapshots, either it's one
we don't know about or just one that I've forgotten about.  In either case,
we'd like to know (well, I would).
-- 
"Ayn's vision is _Russian_ libertarianism, in the same sense that
Leninism is Russian Marxism." -- Joshua W Burton
ICQ UIN: 57294094

From owner-scwm-discuss@mit.edu  Tue Jan 12 09:27:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA10958
	for scwm-discuss-outgoing; Tue, 12 Jan 1999 09:27:38 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA10955
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 12 Jan 1999 09:27:36 -0500
Received: from mars.zserv.tuwien.ac.at by MIT.EDU with SMTP
	id AA12481; Tue, 12 Jan 99 09:25:47 EST
Received: (qmail 3512 invoked by uid 524); 12 Jan 1999 14:25:38 -0000
To: scwm-discuss@mit.edu
Subject: Re: SCWM Build failure (and buglet reports)
References: <Pine.HPP.3.96.990104172917.13703E-100000@rukbat.cs.unc.edu> <lfvhilg1nr.fsf@mars.zserv.tuwien.ac.at> <yeg1zl5dj16.fsf@luna.gnu.franken.de> <ws7luw67oy.fsf@orcus.priv.at>
X-Attribution: Robbe
From: Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at>
Date: 12 Jan 1999 15:25:38 +0100
In-Reply-To: Robert Bihlmeyer's message of "09 Jan 1999 11:50:53 +0100"
Message-Id: <lf1zl0muu5.fsf@mars.zserv.tuwien.ac.at>
Lines: 21
User-Agent: Gnus/5.070068 (Pterodactyl Gnus v0.68) XEmacs/20.4 (Emerald)
Organization: Area 51
Mime-Version: 1.0
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

The facts, as I see them:

1. Snapshots do not contain "aclocal.m4". This is bad.
2. The snapshot script *should* call "cd <scwm-dir>; ./autogen.sh" (it 
   did in a older version I edited).
3. Checking out a fresh scwm on vicarious-existence and running
   "autogen.sh" afterwards does give me a "aclocal.m4"

I'm dumfounded. Can someone enlighten me what could be going on. Maciej??

Hmm, could be that snapshots are now done by "make dist" or some
equivalent. I can't check this, as I can't find the current
snapshot-script on v-e.

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Tue Jan 12 10:38:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA11355
	for scwm-discuss-outgoing; Tue, 12 Jan 1999 10:38:13 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA11352
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 12 Jan 1999 10:38:12 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA22258; Tue, 12 Jan 99 10:36:43 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id HAA26100; Tue, 12 Jan 1999 07:36:26 -0800 (PST)
To: Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at>
Cc: scwm-discuss@mit.edu
Subject: Re: SCWM Build failure (and buglet reports)
References: <Pine.HPP.3.96.990104172917.13703E-100000@rukbat.cs.unc.edu> <lfvhilg1nr.fsf@mars.zserv.tuwien.ac.at> <yeg1zl5dj16.fsf@luna.gnu.franken.de> <ws7luw67oy.fsf@orcus.priv.at> <lf1zl0muu5.fsf@mars.zserv.tuwien.ac.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 12 Jan 1999 07:36:26 -0800
In-Reply-To: Robert Bihlmeyer's message of "12 Jan 1999 15:25:38 +0100"
Message-Id: <qrrvhiccxl1.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at> writes:

> Hi,
> 
> The facts, as I see them:
> 
> 1. Snapshots do not contain "aclocal.m4". This is bad.
> 2. The snapshot script *should* call "cd <scwm-dir>; ./autogen.sh" (it 
>    did in a older version I edited).
> 3. Checking out a fresh scwm on vicarious-existence and running
>    "autogen.sh" afterwards does give me a "aclocal.m4"
> 
> I'm dumfounded. Can someone enlighten me what could be going on. Maciej??
> 
> Hmm, could be that snapshots are now done by "make dist" or some
> equivalent. I can't check this, as I can't find the current
> snapshot-script on v-e.

Not sure which one is current, but /usr/local/snap-script might be
("locate snap" finds a couple of others, but I'm guessing the /usr/local 
one is the most recent).

Greg

From owner-scwm-discuss@mit.edu  Wed Jan 13 00:51:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id AAA15565
	for scwm-discuss-outgoing; Wed, 13 Jan 1999 00:51:37 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id AAA15562
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 13 Jan 1999 00:51:34 -0500
Received: from smtp4.erols.com by MIT.EDU with SMTP
	id AA08635; Wed, 13 Jan 99 00:49:58 EST
Received: from alum.mit.edu (209-122-231-146.s146.tnt4.sbo.erols.com [209.122.231.146])
	by smtp4.erols.com (8.8.8/smtp-v1) with ESMTP id AAA04581;
	Wed, 13 Jan 1999 00:49:46 -0500 (EST)
Message-Id: <369C0069.8003B1F9@alum.mit.edu>
Date: Tue, 12 Jan 1999 21:09:45 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.34 i586)
Mime-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: SCWM Build failure (and buglet reports)
References: <Pine.HPP.3.96.990104172917.13703E-100000@rukbat.cs.unc.edu> <lfvhilg1nr.fsf@mars.zserv.tuwien.ac.at> <yeg1zl5dj16.fsf@luna.gnu.franken.de> <ws7luw67oy.fsf@orcus.priv.at> <lf1zl0muu5.fsf@mars.zserv.tuwien.ac.at> <qrrvhiccxl1.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at> writes:
> 
> > Hi,
> >
> > The facts, as I see them:
> >
> > 1. Snapshots do not contain "aclocal.m4". This is bad.
> > 2. The snapshot script *should* call "cd <scwm-dir>; ./autogen.sh" (it
> >    did in a older version I edited).
> > 3. Checking out a fresh scwm on vicarious-existence and running
> >    "autogen.sh" afterwards does give me a "aclocal.m4"
> >
> > I'm dumfounded. Can someone enlighten me what could be going on. Maciej??
> >
> > Hmm, could be that snapshots are now done by "make dist" or some
> > equivalent. I can't check this, as I can't find the current
> > snapshot-script on v-e.
> 
> Not sure which one is current, but /usr/local/snap-script might be
> ("locate snap" finds a couple of others, but I'm guessing the /usr/local
> one is the most recent).
> 

/usr/local/bin/make-scwm-snap is the snapshot script. Cron calls it with
no argument.
I will try debugging it manually but I can't do that for a few days yet
(need to keep up with work and other overdue obliations). If someone
else
wants to try running the script and  see what is going wrong, that would
be swell. You don't need to be root, I think everyone in group scwm-dev
should have
the necessary priveleges to do everything the script does. Of course, it
_could_ be that 
the problem is with root's environment in which case I will have to look
myself.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Jan 13 18:15:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA21273
	for scwm-discuss-outgoing; Wed, 13 Jan 1999 18:15:17 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA21270
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 13 Jan 1999 18:15:06 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA16465; Wed, 13 Jan 99 18:13:18 EST
Received: from Central.Sun.COM ([129.147.62.10]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id PAA28836 for <scwm-discuss@mit.edu>; Wed, 13 Jan 1999 15:13:08 -0800
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id QAA22252; Wed, 13 Jan 1999 16:13:06 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1+Sun/8.9.1) id QAA02994;
	Wed, 13 Jan 1999 16:13:07 -0700 (MST)
To: scwm-discuss@mit.edu
Subject: Re: lots of build problems; what to try?
References: <ii7g19hgyia.fsf@central.sun.com>
Mime-Version: 1.0
From: Sam Falkner <samf@Central.Sun.COM>
Date: 13 Jan 1999 16:13:06 -0700
Message-Id: <ii790f6ojgd.fsf@central.sun.com>
Lines: 104
User-Agent: Gnus/5.070069 (Pterodactyl Gnus v0.69) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I'm going to post in a bit more detail what I'm trying, and where I'm
having problems.  Please accept my apology if this is useless noise at
this point of the development cycle.  Let me know if this is the case
and I'll refrain from further build-problem-whining (until 1.0
ships!).

    uname -a on my machine says:

	SunOS nobfui 5.7 s998_19 sun4u sparc SUNW,Ultra-4

    cc -V says:

	cc: WorkShop Compilers 4.2 30 Oct 1996 C 4.2

    I have guile 1.3, gtk+ 1.1.2, glib 1.1.12, libtool 1.2, and gnu
    make 3.77.  I don't have automake or autoconf installed.  These
    packages are installed under my home directory, as I don't have
    access to our campus-wide servers (where /usr/local/... lives),
    and I don't want to install strictly on my desktop, or I couldn't
    run scwm anywhere but there.

    Our local versions of gcc seem to be quite broken, so I'm running
    Sun's C and C++ compilers.  To do this, I set CC=cc and CCC=CC
    before I run ./configure.  (I might just cry if I have to install
    gcc in my home directory, but let me know if that'll help, and
    I'll try it.)

    I unpack scwm-19990113.  I cd into the top, and remove ltconfig
    and ltmain.sh.  I run `libtoolize --automake', and those files
    have contents now (and they are indeed symlinks to where I
    installed libtool 1.2).

    I run
    ./configure \
    --with-guile-prefix=/home/samf/pkgs/guile/SunOS-sparc \
    --with-gtk-prefix=/home/samf/pkgs/gtk/SunOS-sparc \
    --prefix=/home/samf/pkgs/scwm/SunOS-sparc 

    I run `make', and it churns a while with `guile-snarf'.  When it
    gets to running the C compiler, it dies with this:

	cc -DHAVE_CONFIG_H -I. -I. -I../include -I/home/samf/pkgs/guile/SunOS-sparc/include   -g -c Grab.c
	command line: fatal: invalid arg for option M  D: No such file or directory
	cc: acomp failed for Grab.c

    I tried cut-pasting the `cc -DHAVE_CONFIG_H ...' line that make
    shows back to my shell, and it worked.  `Something's wrong with
    gnu make,' was my first thought, and scwm/Makefile is dependent on
    gnu make (or at least sun's make barfs on it).  But, after running
    extensive tracing, I find this cute construct in the Makefile:

	%.o: %.c
		@echo '$(COMPILE) -c $<'; \
		$(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<

    Yuck!  Why gratuitously hide the real command line?  Why not just
    show me what you're *really* doing, so that I can see if
    something's wrong with it?  Shame on you!  :-)  I don't know what
    the -Wp... flags are supposed to do.

    So, I edit scwm/Makefile thus:

	%.o: %.c
		$(COMPILE)  -c $<

	%.lo: %.c
		$(LTCOMPILE)  -c $<
		@-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
		  < .deps/$(*F).p > .deps/$(*F).P
		@-rm -f .deps/$(*F).p

	%.o: %.cc
		$(CXXCOMPILE)  -c $<

	%.lo: %.cc
		$(LTCXXCOMPILE)  -c $<
		@-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
		  < .deps/$(*F).p > .deps/$(*F).P
		@-rm -f .deps/$(*F).p


    in the four places where this construct was hiding.  I have no
    idea if this will work, or even if it *should* work.

    I run `make' again, from the top level, and it gets much further.
    But, it dies an ugly death on `session-manager.c'.  I'll paste
    four lines of the error output here, skipping some warning output:

	"session-manager.c", line 325: non-constant initializer: op "CALL"
	"session-manager.c", line 325: non-constant initializer: op "NAME"
	"session-manager.c", line 328: warning: initialization type mismatch
	"session-manager.c", line 328: non-constant initializer: op "U&"

    The warnings go on and on, for several more lines (maybe 14 more
    or so).

Looking at the code, I have no idea what's going on here.  Maybe the
GNU compilers are needed to compile this; let me know if this is the
case and I'll install them (in my home directory <sigh> ;-).

Any pointers?  I'm running straight twm here, and am anxious to get
scwm working -- any version will do.  Thanks!

- Sam

From owner-scwm-discuss@mit.edu  Wed Jan 13 18:36:49 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA21416
	for scwm-discuss-outgoing; Wed, 13 Jan 1999 18:36:49 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA21413
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 13 Jan 1999 18:36:48 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA16368; Wed, 13 Jan 99 18:34:46 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA00115; Wed, 13 Jan 1999 15:34:52 -0800 (PST)
To: Sam Falkner <samf@Central.Sun.COM>
Cc: scwm-discuss@mit.edu
Subject: Re: lots of build problems; what to try?
References: <ii7g19hgyia.fsf@central.sun.com> <ii790f6ojgd.fsf@central.sun.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Jan 1999 15:34:51 -0800
In-Reply-To: Sam Falkner's message of "13 Jan 1999 16:13:06 -0700"
Message-Id: <qrrn23mycf8.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Falkner <samf@Central.Sun.COM> writes:

<snip>

>     gnu make (or at least sun's make barfs on it).  But, after running
>     extensive tracing, I find this cute construct in the Makefile:
> 
> 	%.o: %.c
> 		@echo '$(COMPILE) -c $<'; \
> 		$(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
> 
>     Yuck!  Why gratuitously hide the real command line?  Why not just
>     show me what you're *really* doing, so that I can see if
>     something's wrong with it?  Shame on you!  :-)  I don't know what
>     the -Wp... flags are supposed to do.

Just for the record, it's not we who write the Makefiles-- they're
autogenerated from a maze of automake/autoconf/configure/libtool
craziness.  I think the problem is that we have no build-tools guru
who's had time to look into all of these issues (I wish I knew enough
about the autoXXXX stuff, but I still don't and other things have to
remain higher on my priorities).

That said, the current state of affairs w/ numerous build problems
stinks, and we (certainly I) will be forever grateful to whomever can
figure out exactly what should be in the repository, what shouldn't be,
and how we can reliably use the tools to make scwm easier to build for
good.

Greg

From owner-scwm-discuss@mit.edu  Wed Jan 13 18:47:14 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA21511
	for scwm-discuss-outgoing; Wed, 13 Jan 1999 18:47:14 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA21505
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 13 Jan 1999 18:46:53 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA18977; Wed, 13 Jan 99 18:44:45 EST
Received: (qmail 21474 invoked by uid 501); 13 Jan 1999 23:44:54 -0000
Message-Id: <19990113154453.A21097@molehill.org>
Date: Wed, 13 Jan 1999 15:44:53 -0800
From: Todd Larason <jtl@molehill.org>
To: Sam Falkner <samf@Central.Sun.COM>, scwm-discuss@mit.edu
Subject: Re: lots of build problems; what to try?
References: <ii7g19hgyia.fsf@central.sun.com> <ii790f6ojgd.fsf@central.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <ii790f6ojgd.fsf@central.sun.com>; from Sam Falkner on Wed, Jan 13, 1999 at 04:13:06PM -0700
X-Kibo: Half-baked different meanings are respected.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990113, Sam Falkner wrote:
> I'm going to post in a bit more detail what I'm trying, and where I'm
> having problems.  Please accept my apology if this is useless noise at
> this point of the development cycle.  Let me know if this is the case
> and I'll refrain from further build-problem-whining (until 1.0
> ships!).

Not at all!

> 	%.o: %.c
> 		@echo '$(COMPILE) -c $<'; \
> 		$(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<

ICK!  That IS ugly.  the -Wp stuff is a gccism to pass "-MD .deps/....P" to
the preprocessor, which in turn will create nice dependancy files without
using an extra pass.  With GCC, of course.  This obviously shouldn't have been 
done when you're configuring for a non-gcc compiler.  And IMHO it shouldn't
have been hidden like that, ever.

>     So, I edit scwm/Makefile thus:

looks reasonable.

> 	"session-manager.c", line 325: non-constant initializer: op "CALL"
> 	"session-manager.c", line 325: non-constant initializer: op "NAME"
> 	"session-manager.c", line 328: warning: initialization type mismatch
> 	"session-manager.c", line 328: non-constant initializer: op "U&"

Looks like real bugs.  GCC is lenient on initializers and it's easy to
forget.  It should be straightforward to fix these.  Try replacing lines 324
through 348 with:

  CARD8 restartStyle = SmRestartImmediately;
  SmPropValue userIDVal;
  SmPropValue cwdVal;
  SmPropValue *restartVal;
  SmPropValue restartStyleVal = { 1, (SmPointer)&restartStyle };
  SmPropValue discardVal[] = { { 2, "rm" }, { 2, "-f" }, { 0, NULL } };
  SmProp userIDProp = { SmUserID, SmARRAY8, 1, &userIDVal };
  SmProp cwdProp = { SmCurrentDirectory, SmARRAY8, 1, &cwdVal };
  SmProp programProp = { SmProgram, SmARRAY8, 1, restartVal };
  SmProp restartProp = { SmRestartCommand, SmLISTofARRAY8, 0, restartVal };
  SmProp cloneProp = { SmCloneCommand, SmLISTofARRAY8, 0, restartVal };
  SmProp discardProp = { SmDiscardCommand, SmLISTofARRAY8, sizeof(discardVal)/
                         sizeof(discardVal[0]), discardVal };
  SmProp restartStyleProp = { SmRestartStyleHint, SmCARD8,
                              1, &restartStyleVal };
  SmProp *props[] = {
    &cwdProp,
    &programProp,
    &userIDProp,
    &restartProp,
    &cloneProp,
    &discardProp,
    &restartStyleProp
  };
  int i, j;

  userIDVal.length = strlen(UserName);
  userIDVal.value = (SmPointer)UserName;
  restartVal = NEWC(g_argc+2, SmPropValue);


> Looking at the code, I have no idea what's going on here.  Maybe the
> GNU compilers are needed to compile this; let me know if this is the
> case and I'll install them (in my home directory <sigh> ;-).

That is certainly not the intent, but there may unfortunately be other
gcc-isms lurking.
-- 
"Ayn's vision is _Russian_ libertarianism, in the same sense that
Leninism is Russian Marxism." -- Joshua W Burton
ICQ UIN: 65488549

From owner-scwm-discuss@mit.edu  Thu Jan 14 05:30:05 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA25568
	for scwm-discuss-outgoing; Thu, 14 Jan 1999 05:30:05 -0500
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA25565
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 14 Jan 1999 05:30:02 -0500
Received: from dur.tbit.dk by MIT.EDU with SMTP
	id AA07082; Thu, 14 Jan 99 05:27:54 EST
Received: from chl.tbit.dk (chl.tbit.dk [194.182.135.65])
	by dur.tbit.dk (8.8.8/8.8.8) with ESMTP id LAA16345;
	Thu, 14 Jan 1999 11:28:01 +0100 (MET)
Received: (from chl@localhost)
	by chl.tbit.dk (8.8.8/8.8.8) id LAA15194;
	Thu, 14 Jan 1999 11:27:35 +0100 (MET)
X-Authentication-Warning: chl.tbit.dk: chl set sender to chl@tbit.dk using -f
From: Christian Lynbech <chl@tbit.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <13981.50837.851281.793019@chl>
Date: Thu, 14 Jan 1999 11:27:33 +0100 (MET)
To: Sam Falkner <samf@Central.Sun.COM>
Cc: scwm-discuss@mit.edu
Subject: Re: lots of build problems; what to try?
In-Reply-To: <ii790f6ojgd.fsf@central.sun.com>
References: <ii7g19hgyia.fsf@central.sun.com>
	<ii790f6ojgd.fsf@central.sun.com>
X-Mailer: VM 6.59 under Emacs 20.3.1
Comments: Hyperbole mail buttons accepted, v04.023.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Ah, the wonderfull world of automake.

The short answer is that you can get rid of the dependency stuff by
adding `no-dependencies' to AUTOMAKE_OPTIONS in Makefile.am and rerun
automake.

However, I have been fooling around with this (with guile) and found
that not everything was correctly handled and built, though I did not
investigate it thouroughly, so it could have been an unrelated glitch.

What I ended up was preprocessing the generated makefiles through sed
to remove the faulty part of the compile command. My sed commands
something like this:

	  sed -e 'sx-Wp,-MD,.*\.[pP]xx' \
              -e 's,\./config.status,-c echo ./config.status,'

The second option is to prevent the make process from regenerating the
makefile (by calling config.status) which it is very keen on doing.

Things can have changed and scwm can be different, but it really is a
royal pain to keep up with this kind of stuff, so if we can band
together and convince the guile maintainers that autodependencies are
bad (as done by automake at least), it would make the world a little
better.

My problem is that we are using guile for an embedded system and have
no hope of getting gcc to work.


---------------------------+--------------------------------------------------
Christian Lynbech          | Telebit Communications A/S                       
Fax:   +45 8628 8186       | Fabrik 11, DK-8260 Viby J
Phone: +45 8628 8177 + 28  | email: chl@tbit.dk --- URL: http://www.telebit.dk
---------------------------+--------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)


From owner-scwm-discuss@mit.edu  Thu Jan 14 19:13:06 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA29165
	for scwm-discuss-outgoing; Thu, 14 Jan 1999 19:13:06 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA29158
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 14 Jan 1999 19:13:02 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA20270; Thu, 14 Jan 99 19:10:46 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id AAA10422
	for scwm-discuss@mit.edu; Fri, 15 Jan 1999 00:20:47 +0100 (MET)
Received: (qmail 3128 invoked by uid 115); 14 Jan 1999 23:04:52 -0000
To: scwm-discuss@mit.edu
Subject: Re: lots of build problems; what to try?
References: <ii7g19hgyia.fsf@central.sun.com> <ii790f6ojgd.fsf@central.sun.com> <13981.50837.851281.793019@chl>
X-Attribution: Robbe
Mime-Version: 1.0
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 15 Jan 1999 00:04:46 +0100
In-Reply-To: Christian Lynbech's message of "Thu, 14 Jan 1999 11:27:33 +0100 (MET)"
Message-Id: <wsogo1cv75.fsf@orcus.priv.at>
Lines: 25
User-Agent: Gnus/5.070069 (Pterodactyl Gnus v0.69) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Thu, 14 Jan 1999 11:27:33 +0100 (MET)
>>>>> Christian Lynbech <chl@tbit.dk> said:

 Christian> Things can have changed and scwm can be different, but it
 Christian> really is a royal pain to keep up with this kind of stuff,
 Christian> so if we can band together and convince the guile
 Christian> maintainers that autodependencies are bad (as done by
 Christian> automake at least), it would make the world a little
 Christian> better.

I'd rather have automake handle this more portably. If I'd only grok
that stuff, I could devise a patch.

 Christian> My problem is that we are using guile for an embedded
 Christian> system and have no hope of getting gcc to work.

Sounds cool.

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Jan 14 19:13:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA29166
	for scwm-discuss-outgoing; Thu, 14 Jan 1999 19:13:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA29162
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 14 Jan 1999 19:13:03 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA20290; Thu, 14 Jan 99 19:10:49 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id AAA10420
	for scwm-discuss@mit.edu; Fri, 15 Jan 1999 00:20:46 +0100 (MET)
Received: (qmail 3120 invoked by uid 115); 14 Jan 1999 23:01:49 -0000
To: scwm-discuss@mit.edu
Subject: Re: lots of build problems; what to try?
References: <ii7g19hgyia.fsf@central.sun.com> <ii790f6ojgd.fsf@central.sun.com> <19990113154453.A21097@molehill.org>
X-Attribution: Robbe
Mime-Version: 1.0
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 15 Jan 1999 00:01:44 +0100
In-Reply-To: Todd Larason's message of "Wed, 13 Jan 1999 15:44:53 -0800"
Message-Id: <wsr9sxcvc7.fsf@orcus.priv.at>
Lines: 37
User-Agent: Gnus/5.070069 (Pterodactyl Gnus v0.69) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Wed, 13 Jan 1999 15:44:53 -0800
>>>>> Todd Larason <jtl@molehill.org> said:

 Todd> Looks like real bugs. GCC is lenient on initializers and it's
 Todd> easy to forget.

Indeed. *whip* *whip*

 Todd> It should be straightforward to fix these. Try
 Todd> replacing lines 324 through 348 with:

Todd, could you check that in, too?

 >> Looking at the code, I have no idea what's going on here. Maybe
 >> the GNU compilers are needed to compile this; let me know if this
 >> is the case and I'll install them (in my home directory <sigh>
 >> ;-).

Well, it would probably be easier for you to use GCC. But we
developers would lose valuable data-points. So please try this for
now, and tell us if it works:

   Automatic dependency tracking can be suppressed by putting
   `no-dependencies' in the variable `AUTOMAKE_OPTIONS'.

If it does, it should probably go into the README or HACKING file.

BTW, the automake manual also states that this gcc-ism is omitted if a 
distribution is built with "make dist".

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Jan 14 19:24:08 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA29310
	for scwm-discuss-outgoing; Thu, 14 Jan 1999 19:24:08 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA29306
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 14 Jan 1999 19:24:07 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA22596; Thu, 14 Jan 99 19:21:52 EST
Received: (qmail 22700 invoked by uid 501); 15 Jan 1999 00:21:34 -0000
Message-Id: <19990114162133.A22595@molehill.org>
Date: Thu, 14 Jan 1999 16:21:33 -0800
From: Todd Larason <jtl@molehill.org>
To: Robert Bihlmeyer <robbe@orcus.priv.at>, scwm-discuss@mit.edu
Subject: Re: lots of build problems; what to try?
References: <ii7g19hgyia.fsf@central.sun.com> <ii790f6ojgd.fsf@central.sun.com> <19990113154453.A21097@molehill.org> <wsr9sxcvc7.fsf@orcus.priv.at>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <wsr9sxcvc7.fsf@orcus.priv.at>; from Robert Bihlmeyer on Fri, Jan 15, 1999 at 12:01:44AM +0100
X-Kibo: You could love Xibo.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990115, Robert Bihlmeyer wrote:
>  Todd> It should be straightforward to fix these. Try
>  Todd> replacing lines 324 through 348 with:
> 
> Todd, could you check that in, too?

I've checked in an even uglier version of it; it turns out my first version
still had constants that weren't constant enough.

-- 
ICQ UIN: 101644139

From owner-scwm-discuss@mit.edu  Thu Jan 14 23:07:35 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA30374
	for scwm-discuss-outgoing; Thu, 14 Jan 1999 23:07:35 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA30371
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 14 Jan 1999 23:07:32 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA04640; Thu, 14 Jan 99 23:05:36 EST
Received: from Central.Sun.COM ([129.147.70.10]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id OAA09602; Thu, 14 Jan 1999 14:04:36 -0800
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id PAA13064; Thu, 14 Jan 1999 15:04:31 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1+Sun/8.9.1) id PAA11807;
	Thu, 14 Jan 1999 15:04:33 -0700 (MST)
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: lots of build problems; what to try?
References: <ii7g19hgyia.fsf@central.sun.com> <ii790f6ojgd.fsf@central.sun.com> <qrrn23mycf8.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
From: Sam Falkner <samf@Central.Sun.COM>
Date: 14 Jan 1999 15:04:33 -0700
Message-Id: <ii7ogo1zf2m.fsf@central.sun.com>
Lines: 30
User-Agent: Gnus/5.070069 (Pterodactyl Gnus v0.69) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

> Just for the record, it's not we who write the Makefiles-- they're
> autogenerated from a maze of automake/autoconf/configure/libtool
> craziness.

I suspected this; sorry I didn't make that clear in my email -- it was
just a general gripe.  Even if you had written that, I'd still be in
your debt for writing anything in the first place -- I haven't
forgotten this!

> I think the problem is that we have no build-tools guru who's had
> time to look into all of these issues (I wish I knew enough about
> the autoXXXX stuff, but I still don't and other things have to
> remain higher on my priorities).

I too wish I knew more about automake/autoconf/libtool and all that;
but alas, I don't.  (And I'm about to get a nasty deadline for this
coming April that will suck away the last of my free time, I'm
afraid.)

> [ . . . ]

Todd Larason has sent me a patch that fixed my session-manager.c build
problems.  Not everything else is building cleanly, but I do have an
scwm binary.  (Now I need to get my .scwmrc file working again...)

Thanks to Todd and everyone else for all the help.  And thanks for all
the work on scwm; hopefully someday I'll have time to contribute more
than just reporting the occasional problem.

- Sam

From owner-scwm-discuss@mit.edu  Fri Jan 15 00:40:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id AAA30777
	for scwm-discuss-outgoing; Fri, 15 Jan 1999 00:40:38 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id AAA30774
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 15 Jan 1999 00:40:27 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA14484; Fri, 15 Jan 99 00:38:11 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA09659; Thu, 14 Jan 1999 21:38:18 -0800 (PST)
To: Sam Falkner <samf@Central.Sun.COM>
Cc: scwm-discuss@mit.edu
Subject: Re: lots of build problems; what to try?
References: <ii7g19hgyia.fsf@central.sun.com> <ii790f6ojgd.fsf@central.sun.com> <qrrn23mycf8.fsf@elwha.cs.washington.edu> <ii7ogo1zf2m.fsf@central.sun.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Jan 1999 21:38:18 -0800
In-Reply-To: Sam Falkner's message of "14 Jan 1999 15:04:33 -0700"
Message-Id: <qrrn23lnlit.fsf@elwha.cs.washington.edu>
Lines: 21
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Falkner <samf@Central.Sun.COM> writes:

> > Just for the record, it's not we who write the Makefiles-- they're
> > autogenerated from a maze of automake/autoconf/configure/libtool
> > craziness.
> 
> I suspected this; sorry I didn't make that clear in my email -- it was
> just a general gripe.  Even if you had written that, I'd still be in
> your debt for writing anything in the first place -- I haven't
> forgotten this!

<snip>

But by no means should you not gripe-- we *need* the feedback to do the
right thing.  (Of course we also need time which is something that I for 
one have been lacking lately!).

We'll figure this out soon, hopefully -- thanks for expressing your
concerns and I'm glad to hear you've a working binary!

Greg

From owner-scwm-discuss@mit.edu  Fri Jan 15 09:16:46 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA01158
	for scwm-discuss-outgoing; Fri, 15 Jan 1999 09:16:46 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA01152
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 15 Jan 1999 09:15:19 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA11456; Fri, 15 Jan 99 09:13:18 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Fri, 15 Jan 1999 09:12:23 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Fri, 15 Jan 1999 09:12:22 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.1a/8.9.1) id JAA08712;
	Fri, 15 Jan 1999 09:12:59 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: Sam Falkner <samf@Central.Sun.COM>, scwm-discuss@mit.edu
Subject: Re: lots of build problems; what to try?
References: <ii7g19hgyia.fsf@central.sun.com> <ii790f6ojgd.fsf@central.sun.com> <qrrn23mycf8.fsf@elwha.cs.washington.edu> <ii7ogo1zf2m.fsf@central.sun.com> <qrrn23lnlit.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "14 Jan 1999 21:38:18 -0800"
Date: 15 Jan 1999 09:12:54 -0500
Message-Id: <m3sodc62vt.fsf@eho.eaglets.com>
Lines: 18
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrrn23lnlit.fsf@elwha.cs.washington.edu>
>>>> On the subject of "Re: lots of build problems; what to try?"
>>>> Sent on 14 Jan 1999 21:38:18 -0800
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> 
 >> We'll figure this out soon, hopefully -- thanks for expressing your
 >> concerns and I'm glad to hear you've a working binary!

just in case someone forgot: scwm still crashes on startup under
glibc-2.0.105+

so some poor wretches do NOT have working binaries. :-)

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Stupidity, like virtue, is its own reward.

From owner-scwm-discuss@mit.edu  Fri Jan 15 10:47:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA01548
	for scwm-discuss-outgoing; Fri, 15 Jan 1999 10:47:42 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA01545
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 15 Jan 1999 10:47:40 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA29367; Fri, 15 Jan 99 10:45:18 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id HAA10276; Fri, 15 Jan 1999 07:45:26 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Re: lots of build problems; what to try?
References: <ii7g19hgyia.fsf@central.sun.com> <ii790f6ojgd.fsf@central.sun.com> <qrrn23mycf8.fsf@elwha.cs.washington.edu> <ii7ogo1zf2m.fsf@central.sun.com> <qrrn23lnlit.fsf@elwha.cs.washington.edu> <m3sodc62vt.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Jan 1999 07:45:26 -0800
In-Reply-To: Sam Steingold's message of "15 Jan 1999 09:12:54 -0500"
Message-Id: <qrrd84go7zd.fsf@elwha.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> >>>> In message <qrrn23lnlit.fsf@elwha.cs.washington.edu>
> >>>> On the subject of "Re: lots of build problems; what to try?"
> >>>> Sent on 14 Jan 1999 21:38:18 -0800
> >>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
>  >> 
>  >> We'll figure this out soon, hopefully -- thanks for expressing your
>  >> concerns and I'm glad to hear you've a working binary!
> 
> just in case someone forgot: scwm still crashes on startup under
> glibc-2.0.105+

What's the chance this is a bug in glibc?  The backtrace from a couple
of weeks ago seemed to indicate that Scwm proper might not have much to
do with the problem.

> so some poor wretches do NOT have working binaries. :-)

Well, we definitely need to fix that.  :-) I don't use such recent
versions of glibc2 anywhere, though, so I won't be able to reproduce
this.  Any other developers use glibc-2.0.105 or later?  Worst case, if
the bug doesn't go away after they claim glibc is stable again, I can
try to upgrade to the new glibc and see what happens.

Greg

From owner-scwm-discuss@mit.edu  Fri Jan 15 12:00:55 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA01958
	for scwm-discuss-outgoing; Fri, 15 Jan 1999 12:00:55 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA01955
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 15 Jan 1999 12:00:51 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA00859; Fri, 15 Jan 99 11:58:24 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Fri, 15 Jan 1999 11:57:19 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Fri, 15 Jan 1999 11:57:19 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.1a/8.9.1) id LAA09674;
	Fri, 15 Jan 1999 11:57:46 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: lots of build problems; what to try?
References: <ii7g19hgyia.fsf@central.sun.com> <ii790f6ojgd.fsf@central.sun.com> <qrrn23mycf8.fsf@elwha.cs.washington.edu> <ii7ogo1zf2m.fsf@central.sun.com> <qrrn23lnlit.fsf@elwha.cs.washington.edu> <m3sodc62vt.fsf@eho.eaglets.com> <qrrd84go7zd.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "15 Jan 1999 07:45:26 -0800"
Date: 15 Jan 1999 11:57:46 -0500
Message-Id: <m3emow5v91.fsf@eho.eaglets.com>
Lines: 24
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrrd84go7zd.fsf@elwha.cs.washington.edu>
>>>> On the subject of "Re: lots of build problems; what to try?"
>>>> Sent on 15 Jan 1999 07:45:26 -0800
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> Sam Steingold <sds@goems.com> writes:
 >> 
 >> > just in case someone forgot: scwm still crashes on startup under
 >> > glibc-2.0.105+
 >> 
 >> What's the chance this is a bug in glibc?  The backtrace from a
 >> couple of weeks ago seemed to indicate that Scwm proper might not
 >> have much to do with the problem.

for all I know it well might be, but I do not qualify to report the bug.
(e.g., because I am not sure it's in glibc, not in scwm).
if you are running redhat, it is easy to reproduce: get the rpm from
rawhide.redhat.com, install it, compile, get trace (you can revert to
the stable version after that).

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Binaries die but source code lives forever.

From owner-scwm-discuss@mit.edu  Fri Jan 15 13:00:12 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA02342
	for scwm-discuss-outgoing; Fri, 15 Jan 1999 13:00:12 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA02339
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 15 Jan 1999 13:00:10 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA20097; Fri, 15 Jan 99 12:58:08 EST
Received: from Central.Sun.COM ([129.147.62.10]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id JAA23538 for <scwm-discuss@mit.edu>; Fri, 15 Jan 1999 09:57:57 -0800
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id KAA10777; Fri, 15 Jan 1999 10:57:54 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1+Sun/8.9.1) id KAA18952;
	Fri, 15 Jan 1999 10:57:53 -0700 (MST)
To: scwm-discuss@mit.edu
Subject: core dump hitting `return' on menu
Mime-Version: 1.0
From: Sam Falkner <samf@Central.Sun.COM>
Date: 15 Jan 1999 10:57:53 -0700
Message-Id: <ii7n23kxvtq.fsf@central.sun.com>
Lines: 20
User-Agent: Gnus/5.070069 (Pterodactyl Gnus v0.69) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I have Alt-Tab bound thus:

(bind-key 'all "M-Tab"
	  (lambda ()
	    (show-window-list-menu)))

Now, if I hit Alt- (or Meta-) <tab>, I get the menu pop-up, without
touching mister mouse.  I can now navigate the menu with arrow keys or
`accelerators' (I think that's the correct usage of the word), and hit
<return> when I want to choose the choice I have selected.  This works 
okay.

But, if I hit <return> right away, without having moved the selection
via an arrow key or whatever, scwm dumps core.

It isn't specific to (show-window-list-menu) either; I've got it to
happen on a `Window-Ops' menu too, and that one doesn't start out with 
the selection on the menu title (it starts out on `move window').

- Sam

From owner-scwm-discuss@mit.edu  Fri Jan 15 13:08:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA02470
	for scwm-discuss-outgoing; Fri, 15 Jan 1999 13:08:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA02467
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 15 Jan 1999 13:08:44 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA16430; Fri, 15 Jan 99 13:06:21 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA10439; Fri, 15 Jan 1999 10:06:23 -0800 (PST)
To: Sam Falkner <samf@Central.Sun.COM>
Cc: scwm-discuss@mit.edu
Subject: Re: core dump hitting `return' on menu
References: <ii7n23kxvtq.fsf@central.sun.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Jan 1999 10:06:22 -0800
In-Reply-To: Sam Falkner's message of "15 Jan 1999 10:57:53 -0700"
Message-Id: <qrr3e5co1gh.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Falkner <samf@Central.Sun.COM> writes:

<snip -- I do the same thing w/ my window list>

> But, if I hit <return> right away, without having moved the selection
> via an arrow key or whatever, scwm dumps core.

Wacky-- unbelievable that I missed this!  (So unbelievable that I tried
it on my "stable" scwm (the one that runs on the X-Server I use for real 
work) and crashed it!  :-) ).

> It isn't specific to (show-window-list-menu) either; I've got it to
> happen on a `Window-Ops' menu too, and that one doesn't start out with 
> the selection on the menu title (it starts out on `move window').

Thanks for the bug report-- I imagine this'll be easy to fix and will
try to get it done when I get a free moment this morning.

Greg

From owner-scwm-discuss@mit.edu  Fri Jan 15 13:54:10 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA02952
	for scwm-discuss-outgoing; Fri, 15 Jan 1999 13:54:10 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA02949
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 15 Jan 1999 13:54:08 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA01274; Fri, 15 Jan 99 13:51:44 EST
Received: (qmail 16904 invoked by uid 501); 15 Jan 1999 18:52:18 -0000
Message-Id: <19990115105218.A16877@molehill.org>
Date: Fri, 15 Jan 1999 10:52:18 -0800
From: Todd Larason <jtl@molehill.org>
To: scwm-discuss@mit.edu
Subject: Re: lots of build problems; what to try?
References: <ii7g19hgyia.fsf@central.sun.com> <ii790f6ojgd.fsf@central.sun.com> <qrrn23mycf8.fsf@elwha.cs.washington.edu> <ii7ogo1zf2m.fsf@central.sun.com> <qrrn23lnlit.fsf@elwha.cs.washington.edu> <m3sodc62vt.fsf@eho.eaglets.com> <qrrd84go7zd.fsf@elwha.cs.washington.edu> <m3emow5v91.fsf@eho.eaglets.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <m3emow5v91.fsf@eho.eaglets.com>; from Sam Steingold on Fri, Jan 15, 1999 at 11:57:46AM -0500
X-Kibo: Sharp knives are not multiple realities.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990115, Sam Steingold wrote:
> for all I know it well might be, but I do not qualify to report the bug.
> (e.g., because I am not sure it's in glibc, not in scwm).
> if you are running redhat, it is easy to reproduce: get the rpm from
> rawhide.redhat.com, install it, compile, get trace (you can revert to
> the stable version after that).

It's enough to upgrade just the glibc package?  If so, I can probably do that
this weekend.

Last weekend's attempt (install redhat 5.2, upgrade en masse to rawhide)
failed about halfway through, when I apparently upgraded 'rpm' to a buggy
version that couldn't even unupgrade itself.
-- 
"Ayn's vision is _Russian_ libertarianism, in the same sense that
Leninism is Russian Marxism." -- Joshua W Burton
ICQ UIN: 124867040

From owner-scwm-discuss@mit.edu  Fri Jan 15 13:59:40 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA03026
	for scwm-discuss-outgoing; Fri, 15 Jan 1999 13:59:40 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA03023
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 15 Jan 1999 13:59:39 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA09263; Fri, 15 Jan 99 13:57:36 EST
Received: (qmail 17032 invoked by uid 501); 15 Jan 1999 18:57:44 -0000
Message-Id: <19990115105743.B16877@molehill.org>
Date: Fri, 15 Jan 1999 10:57:43 -0800
From: Todd Larason <jtl@molehill.org>
To: Sam Falkner <samf@Central.Sun.COM>, scwm-discuss@mit.edu
Subject: Re: core dump hitting `return' on menu
References: <ii7n23kxvtq.fsf@central.sun.com>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="LZvS9be/3tNcYl/X"
X-Mailer: Mutt 0.93.2i
In-Reply-To: <ii7n23kxvtq.fsf@central.sun.com>; from Sam Falkner on Fri, Jan 15, 1999 at 10:57:53AM -0700
X-Kibo: Victories are evil and should be destroyed!
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=us-ascii

On 990115, Sam Falkner wrote:
> But, if I hit <return> right away, without having moved the selection
> via an arrow key or whatever, scwm dumps core.

erk!

Does this patch fix it?

(Sorry for sending untested patches - I can justify 'answering email while
waiting for compiles' to myself, but not much more right now, until this
bleeeepin' product ships here at work)

--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff

Index: menu.c
===================================================================
RCS file: /usr/local/repository/scwm/scwm/menu.c,v
retrieving revision 1.57
diff -u -p -r1.57 menu.c
--- menu.c	1998/12/05 20:01:32	1.57
+++ menu.c	1999/01/15 18:57:31
@@ -1100,7 +1100,8 @@ MenuInteraction(DynamicMenu *pmd, Bool f
       } else if (ms == MENUSTATUS_NOP) {
 	break;
       }
-      pmiim->pmd->pmdv->fnWarpPointerToPmiim(pmiim);
+      if (pmiim)
+	pmiim->pmd->pmdv->fnWarpPointerToPmiim(pmiim);
       /* no break -- fall through to MotionNotify */
     }
       

--LZvS9be/3tNcYl/X--

From owner-scwm-discuss@mit.edu  Fri Jan 15 14:09:51 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA03172
	for scwm-discuss-outgoing; Fri, 15 Jan 1999 14:09:51 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA03169
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 15 Jan 1999 14:09:50 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA06444; Fri, 15 Jan 99 14:07:26 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA10713; Fri, 15 Jan 1999 11:07:23 -0800 (PST)
To: Todd Larason <jtl@molehill.org>
Cc: Sam Falkner <samf@Central.Sun.COM>, scwm-discuss@mit.edu
Subject: Re: core dump hitting `return' on menu
References: <ii7n23kxvtq.fsf@central.sun.com> <19990115105743.B16877@molehill.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Jan 1999 11:07:23 -0800
In-Reply-To: Todd Larason's message of "Fri, 15 Jan 1999 10:57:43 -0800"
Message-Id: <qrrww2omk2c.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Todd Larason <jtl@molehill.org> writes:

> --LZvS9be/3tNcYl/X
> Content-Type: text/plain; charset=us-ascii
> 
> On 990115, Sam Falkner wrote:
> > But, if I hit <return> right away, without having moved the selection
> > via an arrow key or whatever, scwm dumps core.
> 
> erk!
> 
> Does this patch fix it?

I fixed it in the repository already -- your patch looks good, but
misses some of the other cases where pmiim is not set.  Hopefully my
patch got them all.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Fri Jan 15 14:30:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA03354
	for scwm-discuss-outgoing; Fri, 15 Jan 1999 14:30:29 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA03351
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 15 Jan 1999 14:30:20 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA19367; Fri, 15 Jan 99 14:28:14 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Fri, 15 Jan 1999 14:27:23 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Fri, 15 Jan 1999 14:27:23 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.1a/8.9.1) id OAA09991;
	Fri, 15 Jan 1999 14:27:56 -0500
To: Todd Larason <jtl@molehill.org>
Cc: scwm-discuss@mit.edu
Subject: Re: lots of build problems; what to try?
References: <ii7g19hgyia.fsf@central.sun.com> <ii790f6ojgd.fsf@central.sun.com> <qrrn23mycf8.fsf@elwha.cs.washington.edu> <ii7ogo1zf2m.fsf@central.sun.com> <qrrn23lnlit.fsf@elwha.cs.washington.edu> <m3sodc62vt.fsf@eho.eaglets.com> <qrrd84go7zd.fsf@elwha.cs.washington.edu> <m3emow5v91.fsf@eho.eaglets.com> <19990115105218.A16877@molehill.org>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Todd Larason's message of "Fri, 15 Jan 1999 10:52:18 -0800"
Date: 15 Jan 1999 14:27:56 -0500
Message-Id: <m33e5c5oar.fsf@eho.eaglets.com>
Lines: 31
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <19990115105218.A16877@molehill.org>
>>>> On the subject of "Re: lots of build problems; what to try?"
>>>> Sent on Fri, 15 Jan 1999 10:52:18 -0800
>>>> Honorable Todd Larason <jtl@molehill.org> writes:
 >> On 990115, Sam Steingold wrote:
 >> > for all I know it well might be, but I do not qualify to report the bug.
 >> > (e.g., because I am not sure it's in glibc, not in scwm).
 >> > if you are running redhat, it is easy to reproduce: get the rpm from
 >> > rawhide.redhat.com, install it, compile, get trace (you can revert to
 >> > the stable version after that).
 >> 
 >> It's enough to upgrade just the glibc package?  

yep - you might need something like binutils, but that should be it.
you will have to say --nodeps probably, but that's okay since you will
be switching back immediately after the build.

 >> If so, I can probably do that this weekend.
great!

 >> Last weekend's attempt (install redhat 5.2, upgrade en masse to rawhide)
 >> failed about halfway through, when I apparently upgraded 'rpm' to a buggy
 >> version that couldn't even unupgrade itself.

it is alleged that todays version works :-)

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
You think Oedipus had a problem -- Adam was Eve's mother.

From owner-scwm-discuss@mit.edu  Fri Jan 15 15:23:31 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA03624
	for scwm-discuss-outgoing; Fri, 15 Jan 1999 15:23:31 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA03621
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 15 Jan 1999 15:23:29 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA00684; Fri, 15 Jan 99 15:21:06 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA10783; Fri, 15 Jan 1999 12:21:13 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: New feature -- restart event loop when hung.
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Jan 1999 12:21:13 -0800
Message-Id: <qrrr9swmgna.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

A couple days ago I added a quickie little feature that might be of some 
use to people.  If your scwm interpreter is hung in an infinite loop
(e.g. "(define (foo) (foo))    (foo)"), you can now send the Scwm
process a SIGHUP to have it reset to the main event loop.  It's not been 
tested much, but it might get you out of otherwise difficult
situations.  Common usage:

1) realize Scwm is hung

2) go to a console, or telnet into the machine with the hung scwm from elsewhere

3) look for the scwm process id:
  ps aux | grep scwm #linux
or
  ps -ef | grep scwm # solaris

4) kill -HUP <PID-FROM-ABOVE>  #HUP is signal #1

5)  Hopefully Scwm will be responsive again.

Comments and feedback are welcome as always.

Greg

From owner-scwm-discuss@mit.edu  Sat Jan 16 12:33:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA10353
	for scwm-discuss-outgoing; Sat, 16 Jan 1999 12:33:59 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA10350
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 16 Jan 1999 12:33:53 -0500
Received: from lohi.clinet.fi by MIT.EDU with SMTP
	id AA28727; Sat, 16 Jan 99 12:31:39 EST
Received: from iki.fi (jippo@cantina.clinet.fi [194.100.0.15])
	by lohi.clinet.fi (8.9.1/8.9.0) with ESMTP id TAA11702
	for <scwm-discuss@mit.edu>; Sat, 16 Jan 1999 19:32:43 +0200 (EET)
Received: (from jmp@localhost) by iki.fi (8.8.3/8.8.3) id TAA30525 for scwm-discuss@mit.edu; Sat, 16 Jan 1999 19:29:29 +0200
Message-Id: <19990116192929.H196@plains>
Date: Sat, 16 Jan 1999 19:29:29 +0200
From: "Juha 'Jippo' Pohjalainen" <jippo@clinet.fi>
To: scwm-discuss@mit.edu
Subject: SCWM menus and hotkeys
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary=BXVAT5kNtrzKuDFl
X-Mailer: Mutt 0.93.2i
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


--BXVAT5kNtrzKuDFl
Content-Type: text/plain; charset=us-ascii

Could it be possible to add space as activator into menus, so
that on one could select items from menus by pressing space
(using thumbs instead of reaching out for "Enter" key).

If it is possible, then here is patch to do it.

Question about hotkeys/accelerators: Is there any way to make
those accelerators/hotkeys to automatically execute menucommands.

Example: if I have hotkey "T" assigned for "new xterm" in menu
and I push "T", menu selection only moves to "new xterm" but I
still have to press enter (or space with my included patch) to
execute that "new xterm" command. 

-- 
 __________________________________________________________________
[   pub 1024/951AFAF5 1995/12/12   Juha Pohjalainen <jmp@iki.fi>   ]
[   fingerprint 41 56 7F F9 8E EC 16 35  BB 42 EF A7 DF 19 FA 31   ]
[__ http://www.iki.fi/jmp/ ________________ GSM +358 40 570 1179 __]

--BXVAT5kNtrzKuDFl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="menu.c.diff.990116"

*** menu.c.orig	Sat Jan 16 19:18:01 1999
--- menu.c	Sat Jan 16 19:12:24 1999
***************
*** 819,824 ****
--- 819,825 ----
  
      case XK_Return:
      case XK_KP_Enter:
+     case XK_space:
        *pmenu_status = MENUSTATUS_ITEM_SELECTED;
        return PmiimSelectedFromPmd(pmd);
        break;

--BXVAT5kNtrzKuDFl--

From owner-scwm-discuss@mit.edu  Sun Jan 17 14:07:21 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA00919
	for scwm-discuss-outgoing; Sun, 17 Jan 1999 14:07:21 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA00916
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 17 Jan 1999 14:07:19 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA25945; Sun, 17 Jan 99 14:07:06 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id VAA27502; Sun, 17 Jan 1999 21:07:14 +0200
To: scwm-discuss@mit.edu
Subject: Bizarre make behavior.
References: <19990116192929.H196@plains>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 17 Jan 1999 21:07:14 +0200
In-Reply-To: "Juha 'Jippo' Pohjalainen"'s message of "Sat, 16 Jan 1999 19:29:29 +0200"
Message-Id: <m23e59g1lp.fsf@blinky.bfr.co.il>
Lines: 60
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Does anyone have explanations for the following:

1. I do cvs update.
2. I do ./autogen.sh
3. I do rm config.cache
4. I do ./configure --enable-maintainer-mode
5. I do make
6. Make bombs because scwm/scwm/.deps/Grab.P is screwed up - it
   references system .h files that don't exist.
7. I do make clean.
8. Make clean starts *building* .x files!
9. Make clean doesn't get rid of the .P files.
10. I find that the only way to get rid of the .P files is 'make
    maintainer-clean' which the complete config too.

(of course, I had to remove the lt* files which cause libtool to
barf.)

The reason the .P files are screwed is that I just upgraded from RH4.2
to RH5.2.  I guess it's not unreasonable that they only depend on the
corresponding .c file, but this is *wrong*!  If the .P files only
include the direct include dependencies & there were .P files for each
indirect include file then it would be fine.  *But*, that's not the
case.  They include a complete recursive walk of the #includes, but
never record that the .P files also depend on the additional header
files pulled in, not to mention that they also depend on CFLAGS (the
list of -I directives, which can change after configuration).

So, I guess this auto* crap is still buggy.  Is it the scwm usage
that's buggy or is it the tools themselves?

But this is an understandable mistake.  What's truely bizarre is that
it actually has to build things to be able to do a clean!  *Why* is
that?!?!

BTW - After make maintainer-clean & starting from step 2 again, I
finally managed to get the thing built - Gee, it only took a day of
fiddling with it on & off to get it to build.  Gotta love those auto*
tools - really make life easy.

BTW2 - After upgrading to 5.2, I thought I might finally have a clean &
simple build of scwm.... Wrong!  I still had the problem of it not
finding GTK 1.0.6.  I eventually figured out why - it was pulling in
random gtk & glib files laying around /usr/local.  Once I removed them
(and stole guile-config from the guile-core CVS repository, hacked it
& stuck it into /usr/bin to get around the fact that it's missing from
the guile 1.3-1 rawhide RPM), I managed to get the thing configured.
Then it crapped out in the lousy autogened make files.

BTW3 - Does anyone have an RH5.2 spec file for making scwm?  I
couldn't find an RPM anywhere - Now that I've just upgraded & am
trying to clean up my system, I'd rather try to avoid installing
things that aren't RPMed.  Not to mention the fact that there really
should be 5.2 RPMs available...

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Sun Jan 17 15:06:35 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA01267
	for scwm-discuss-outgoing; Sun, 17 Jan 1999 15:06:35 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA01264
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 17 Jan 1999 15:06:34 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA01714; Sun, 17 Jan 99 15:06:21 EST
Received: (qmail 28792 invoked by uid 501); 17 Jan 1999 20:08:22 -0000
Message-Id: <19990117120821.A28490@molehill.org>
Date: Sun, 17 Jan 1999 12:08:21 -0800
From: Todd Larason <jtl@molehill.org>
To: "Harvey J. Stein" <hjstein@bfr.co.il>, scwm-discuss@mit.edu
Subject: Re: Bizarre make behavior.
References: <19990116192929.H196@plains> <m23e59g1lp.fsf@blinky.bfr.co.il>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <m23e59g1lp.fsf@blinky.bfr.co.il>; from Harvey J. Stein on Sun, Jan 17, 1999 at 09:07:14PM +0200
X-Kibo: Let's be!
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990117, Harvey J. Stein wrote:
> So, I guess this auto* crap is still buggy.  Is it the scwm usage
> that's buggy or is it the tools themselves?

I think in this case, it's the tool itself that's buggy.  But I expect a 'this 
breaks if you upgrade the OS a major version, including a completely new C
library, dependancy information is wrong' bug report will be given rather low
priority.
 
> (and stole guile-config from the guile-core CVS repository, hacked it
> & stuck it into /usr/bin to get around the fact that it's missing from
> the guile 1.3-1 rawhide RPM)

Use my guile-rhcn packages, or wait for rawhide 1.3-2 (RSN, I think. I just
got mail this morning that they're going to be using my guile-rhcn spec as a
base for the next rawhide release).

> BTW3 - Does anyone have an RH5.2 spec file for making scwm?  

Not yet, that I know of.  I was planning on doing one for 0.9


From owner-scwm-discuss@mit.edu  Sun Jan 17 15:14:36 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA01314
	for scwm-discuss-outgoing; Sun, 17 Jan 1999 15:14:36 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA01311
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 17 Jan 1999 15:14:35 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA02458; Sun, 17 Jan 99 15:14:21 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id WAA27790; Sun, 17 Jan 1999 22:14:24 +0200
To: Todd Larason <jtl@molehill.org>
Cc: "Harvey J. Stein" <hjstein@bfr.co.il>, scwm-discuss@mit.edu
Subject: Re: Bizarre make behavior.
References: <19990116192929.H196@plains> <m23e59g1lp.fsf@blinky.bfr.co.il> <19990117120821.A28490@molehill.org>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 17 Jan 1999 22:14:24 +0200
In-Reply-To: Todd Larason's message of "Sun, 17 Jan 1999 12:08:21 -0800"
Message-Id: <m2zp7hejxb.fsf@blinky.bfr.co.il>
Lines: 26
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Todd Larason <jtl@molehill.org> writes:

 > On 990117, Harvey J. Stein wrote:
 > > So, I guess this auto* crap is still buggy.  Is it the scwm usage
 > > that's buggy or is it the tools themselves?
 > 
 > I think in this case, it's the tool itself that's buggy.  But I expect a 'this 
 > breaks if you upgrade the OS a major version, including a completely new C
 > library, dependancy information is wrong' bug report will be given rather low
 > priority.

It's far from taking this much to cause a failure.  Consider:

1. Local foo.c includes local foo.h.
2. Local foo.h includes local x.h.

Change foo.h to not include x.h (i.e. - remove it from the repository)
& the deps are now bad.

Also, as I said, reconfigure, changing the include directory list &
the deps could go bad too.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Mon Jan 18 18:11:53 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA09542
	for scwm-discuss-outgoing; Mon, 18 Jan 1999 18:11:53 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA09539
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 18 Jan 1999 18:11:45 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA13076; Mon, 18 Jan 99 18:11:31 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id AAA18387
	for scwm-discuss@mit.edu; Tue, 19 Jan 1999 00:01:08 +0100 (MET)
Received: (qmail 2453 invoked by uid 115); 18 Jan 1999 21:19:40 -0000
To: scwm-discuss@mit.edu
Subject: Re: Bizarre make behavior.
References: <19990116192929.H196@plains> <m23e59g1lp.fsf@blinky.bfr.co.il> <19990117120821.A28490@molehill.org> <m2zp7hejxb.fsf@blinky.bfr.co.il>
X-Attribution: Robbe
Mime-Version: 1.0
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 18 Jan 1999 22:19:35 +0100
In-Reply-To: hjstein@bfr.co.il's message of "17 Jan 1999 22:14:24 +0200"
Message-Id: <wsbtjwe0t4.fsf@orcus.priv.at>
Lines: 31
User-Agent: Gnus/5.070069 (Pterodactyl Gnus v0.69) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 17 Jan 1999 22:14:24 +0200
>>>>> hjstein@bfr.co.il (Harvey J. Stein) said:

 Harvey> It's far from taking this much to cause a failure. Consider:

 Harvey> 1. Local foo.c includes local foo.h.
 Harvey> 2. Local foo.h includes local x.h.

 Harvey> Change foo.h to not include x.h (i.e. - remove it from the
 Harvey> repository) & the deps are now bad.

If an autodep-file, in addition to adding all recursively defined
files to the dependencies of its o-file, includes the dependency
information that it depends on its c-file and all files directly
included by it, it should work, shouldn't it. For your example:

$ cat .deps/foo.P
foo.o: foo.c foo.h x.h
.deps/foo.P: foo.c foo.h
$

A removal of "x.h" must go in hand with a change in foo.h, which
ensures that "foo.P" gets rebuilt.

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Tue Jan 19 03:48:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA13217
	for scwm-discuss-outgoing; Tue, 19 Jan 1999 03:48:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA13214
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 19 Jan 1999 03:48:44 -0500
Received: from mgate2.uni-hannover.de by MIT.EDU with SMTP
	id AA06819; Tue, 19 Jan 99 03:48:55 EST
Received: from helios.tnt.uni-hannover.de by mgate2.uni-hannover.de 
          with LocalSMTP (PP) with ESMTP; Tue, 19 Jan 1999 09:48:33 +0100
Received: from ull.tnt.uni-hannover.de (muenkel@ull.tnt.uni-hannover.de [130.75.31.171]) 
          by helios.tnt.uni-hannover.de (8.8.8/8.8.8) with ESMTP id JAA15658 
          for <scwm-discuss@mit.edu>; Tue, 19 Jan 1999 09:48:32 +0100 (MET)
Received: (from muenkel@localhost) by ull.tnt.uni-hannover.de (8.8.8/8.8.8) 
          id JAA09330; Tue, 19 Jan 1999 09:48:31 +0100
Date: Tue, 19 Jan 1999 09:48:31 +0100
Message-Id: <199901190848.JAA09330@ull.tnt.uni-hannover.de>
From: Heiko Muenkel <muenkel@tnt.uni-hannover.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: scwm-discuss@mit.edu
Subject: X11 client doesn't get the input focus under SCWM
X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid
X-Face: n}R'l6CHRf>pi&bj7[x0CW3:kmXm@1)7m+l*9[fp;-Ow4Xe~=5E;skf?2> y]f{HzB|Q
        (\V9+y$PP~.4G[2n4W7{6Ilm[AMY9B:0kj.K_$-d%p4YIF*bX;=ADp6{ HS@NEv9c.VII+9PgXHASx}K(jy^t=q%qzZ72q1e4E;O!$A$`&wgtLk"1%p.nC_G!] 4d1!+J4Q#YD_iXeEy`1x)d\r$1Qn\'23n|[8Y_xzuXJJ7W(EGqnzB]`]aq??;+z=) DW~\'Vq&F'g%QU[Mv2:}nS>SdZFTEC2GsgB=Q,:~H<R5S[:ZN%B:s0;|v1x"Jb
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

I've a X11 client (fz_xclips), which doesn't get the input focus
under SCWM, regardless of the focus type. This client has the same
behaviour under FVWM based windowmanagers, but works fine under other
windowmanagers like olvwm, cde or kde. Does anyone know how to fix
this problem? I've the sources of the client, but I think that the
bug is in the SCWM, because there are other windowmanagers, which
don't have this problem. 

I can send a Linux binary and/or the sources, if someone likes to track
down this problem.

Thanks for your help,

Heiko

From owner-scwm-discuss@mit.edu  Tue Jan 19 03:55:31 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA13291
	for scwm-discuss-outgoing; Tue, 19 Jan 1999 03:55:31 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA13288
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 19 Jan 1999 03:55:30 -0500
Received: from news.mtu.edu by MIT.EDU with SMTP
	id AA29314; Tue, 19 Jan 99 03:55:17 EST
Received: from mtu.edu (root@mtu.edu [141.219.70.1])
	by news.mtu.edu (8.8.8/8.8.8) with ESMTP id DAA22498;
	Tue, 19 Jan 1999 03:55:27 -0500 (EST)
Received: from wiley.sas.it.mtu.edu (wiley.sas.it.mtu.edu [141.219.36.70])
	by mtu.edu (8.8.8/8.8.8) with ESMTP id DAA22808;
	Tue, 19 Jan 1999 03:55:23 -0500 (EST)
Received: (from adisaacs@localhost)
	by wiley.sas.it.mtu.edu (8.8.7/8.8.7/mturelay-1.2) id DAA04792;
	Tue, 19 Jan 1999 03:55:22 -0500 (EST)
Date: Tue, 19 Jan 1999 03:55:21 -0500
From: Andrew Isaacson <adisaacs@mtu.edu>
To: Heiko Muenkel <muenkel@tnt.uni-hannover.de>
Cc: scwm-discuss@mit.edu
Subject: Re: X11 client doesn't get the input focus under SCWM
Message-Id: <19990119035521.A4540@mtu.edu>
References: <199901190848.JAA09330@ull.tnt.uni-hannover.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95i
In-Reply-To: <199901190848.JAA09330@ull.tnt.uni-hannover.de>; from Heiko Muenkel on Tue, Jan 19, 1999 at 09:48:31AM +0100
X-Pgp-Fingerprint: 48 01 21 E2 D4 E4 68 D1  B8 DF 39 B2 AF A3 16 B9
X-Pgp-Key-Url: http://www.csl.mtu.edu/~adisaacs/pgp.txt
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Tue, Jan 19, 1999 at 09:48:31AM +0100, Heiko Muenkel wrote:
> Hi,
> 
> I've a X11 client (fz_xclips), which doesn't get the input focus
> under SCWM, regardless of the focus type. This client has the same
> behaviour under FVWM based windowmanagers, but works fine under other
> windowmanagers like olvwm, cde or kde. Does anyone know how to fix
> this problem? I've the sources of the client, but I think that the
> bug is in the SCWM, because there are other windowmanagers, which
> don't have this problem. 
> 
> I can send a Linux binary and/or the sources, if someone likes to track
> down this problem.
> 
> Thanks for your help,

I'll bet that the following snippet from the fvwm2 man page may have
some relevance:

> ICCCM COMPLIANCE
[snip]
>      The ICCCM states that windows possessing the property
> 
>           WM_HINTS(WM_HINTS):
>                           Client accepts input or input focus: False
> 
>      should not be given the keyboard input focus by  the  window
>      manager.   These  windows  can take the input focus by them-
>      selves, however.  A number of  applications  set  this  pro-
>      perty,  and  yet  expect the window-manager to give them the
>      keyboard focus anyway,  so  fvwm  provides  a  window-style,
>      "Lenience",  which  will  allow  fvwm to overlook this ICCCM
>      rule.

(I encountered similar behavior with workman, a XForms-based CD
player.)

-andy
-- 
Andy Isaacson adisaacs@mtu.edu adi@acm.org    Fight Spam, join CAUCE:
http://www.csl.mtu.edu/~adisaacs/              http://www.cauce.org/

From owner-scwm-discuss@mit.edu  Tue Jan 19 04:37:19 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA13568
	for scwm-discuss-outgoing; Tue, 19 Jan 1999 04:37:19 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA13565
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 19 Jan 1999 04:37:17 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA02567; Tue, 19 Jan 99 04:37:03 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id LAA12446; Tue, 19 Jan 1999 11:36:56 +0200
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Bizarre make behavior.
References: <19990116192929.H196@plains> <m23e59g1lp.fsf@blinky.bfr.co.il> <19990117120821.A28490@molehill.org> <m2zp7hejxb.fsf@blinky.bfr.co.il> <wsbtjwe0t4.fsf@orcus.priv.at>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 19 Jan 1999 11:36:56 +0200
In-Reply-To: Robert Bihlmeyer's message of "18 Jan 1999 22:19:35 +0100"
Message-Id: <m2aezffvt3.fsf@blinky.bfr.co.il>
Lines: 51
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

 > >>>>> On 17 Jan 1999 22:14:24 +0200
 > >>>>> hjstein@bfr.co.il (Harvey J. Stein) said:
 > 
 >  Harvey> It's far from taking this much to cause a failure. Consider:
 > 
 >  Harvey> 1. Local foo.c includes local foo.h.
 >  Harvey> 2. Local foo.h includes local x.h.
 > 
 >  Harvey> Change foo.h to not include x.h (i.e. - remove it from the
 >  Harvey> repository) & the deps are now bad.
 > 
 > If an autodep-file, in addition to adding all recursively defined
 > files to the dependencies of its o-file, includes the dependency
 > information that it depends on its c-file and all files directly
 > included by it, it should work, shouldn't it. For your example:
 > 
 > $ cat .deps/foo.P
 > foo.o: foo.c foo.h x.h
 > .deps/foo.P: foo.c foo.h
 > $
 > 
 > A removal of "x.h" must go in hand with a change in foo.h, which
 > ensures that "foo.P" gets rebuilt.

Not good enough.  Two possibilities:

1. .deps/foo.P depends on x.h
   If x.h is removed then make complains that it needs x.h but doesn't
   have it.
2. .deps/foo.P doesn't depend on x.h
   x.h can also include things.  They'll be listed on the dependencies
   for foo.o, but not for .deps/foo.P.  If x.h's include list changes
   then we won't rebuild .deps/foo.P, and then we'll again fail on the
   missing include files.

Now you're starting to convince me that all these other possibilities
are really just bad hacks.  If you flatten the dependency lists you're
messing up the dependency graph.  The only correct dependency graph is
one which lists, for each source file, those files that it directly
depends on.  Thus, there has to be a .P for each source code file, and
it should only depend on its corresponding source code file.  It
should contain just the deps for direct includes.  Dependency
generation has to do a recursive walk of these & spit out lots of .P
files with dep lines in them.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Jan 19 05:57:51 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA14869
	for scwm-discuss-outgoing; Tue, 19 Jan 1999 05:57:51 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA14866
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 19 Jan 1999 05:57:49 -0500
Received: from mars.zserv.tuwien.ac.at by MIT.EDU with SMTP
	id AA14490; Tue, 19 Jan 99 05:57:33 EST
Received: (qmail 23972 invoked by uid 524); 19 Jan 1999 10:57:20 -0000
To: scwm-discuss@mit.edu
Subject: Re: SCWM Build failure (and buglet reports)
References: <Pine.HPP.3.96.990104172917.13703E-100000@rukbat.cs.unc.edu> <lfvhilg1nr.fsf@mars.zserv.tuwien.ac.at> <yeg1zl5dj16.fsf@luna.gnu.franken.de> <ws7luw67oy.fsf@orcus.priv.at> <lf1zl0muu5.fsf@mars.zserv.tuwien.ac.at> <qrrvhiccxl1.fsf@elwha.cs.washington.edu> <369C0069.8003B1F9@alum.mit.edu>
X-Attribution: Robbe
From: Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at>
Date: 19 Jan 1999 11:57:20 +0100
In-Reply-To: Maciej Stachowiak's message of "Tue, 12 Jan 1999 21:09:45 -0500"
Message-Id: <lflnizbkdr.fsf@mars.zserv.tuwien.ac.at>
Lines: 19
User-Agent: Gnus/5.070068 (Pterodactyl Gnus v0.68) XEmacs/20.4 (Emerald)
Organization: Cosmic Central
Mime-Version: 1.0
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Tue, 12 Jan 1999 21:09:45 -0500
>>>>> Maciej Stachowiak <mstachow@alum.mit.edu> said:

 Maciej> /usr/local/bin/make-scwm-snap is the snapshot script.

I tested this today (interactive sessions over the big water really
suck!). Calling make-scwm-snap manually does create a snapshot *with*
aclocal.m4 allright.

Maybe /usr/local/bin is not in the PATH when cron calls
make-scwm-snap? Doesn't the cronjob generate some mails?

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Tue Jan 19 10:28:54 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA15877
	for scwm-discuss-outgoing; Tue, 19 Jan 1999 10:28:54 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA15874
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 19 Jan 1999 10:28:51 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA05957; Tue, 19 Jan 99 10:29:03 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id HAA19572; Tue, 19 Jan 1999 07:28:39 -0800 (PST)
To: Andrew Isaacson <adisaacs@mtu.edu>
Cc: Heiko Muenkel <muenkel@tnt.uni-hannover.de>, scwm-discuss@mit.edu
Subject: Re: X11 client doesn't get the input focus under SCWM
References: <199901190848.JAA09330@ull.tnt.uni-hannover.de> <19990119035521.A4540@mtu.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Jan 1999 07:28:38 -0800
In-Reply-To: Andrew Isaacson's message of "Tue, 19 Jan 1999 03:55:21 -0500"
Message-Id: <qrr1zkrl1sp.fsf@elwha.cs.washington.edu>
Lines: 53
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

You can run "xprop" on the window and see what it reports -- if this is
the situation then it is a bug in the ICCCM compliance of the *other*
wms.  BUT, why exactly do you want it to get the input focus?  That
fz_xclips sets the hint may be a bug, or we may want to provide a means
of overriding the hint (should be already doable in scheme using our
X-property-set! routine).

Greg


Andrew Isaacson <adisaacs@mtu.edu> writes:

> On Tue, Jan 19, 1999 at 09:48:31AM +0100, Heiko Muenkel wrote:
> > Hi,
> > 
> > I've a X11 client (fz_xclips), which doesn't get the input focus
> > under SCWM, regardless of the focus type. This client has the same
> > behaviour under FVWM based windowmanagers, but works fine under other
> > windowmanagers like olvwm, cde or kde. Does anyone know how to fix
> > this problem? I've the sources of the client, but I think that the
> > bug is in the SCWM, because there are other windowmanagers, which
> > don't have this problem. 
> > 
> > I can send a Linux binary and/or the sources, if someone likes to track
> > down this problem.
> > 
> > Thanks for your help,
> 
> I'll bet that the following snippet from the fvwm2 man page may have
> some relevance:
> 
> > ICCCM COMPLIANCE
> [snip]
> >      The ICCCM states that windows possessing the property
> > 
> >           WM_HINTS(WM_HINTS):
> >                           Client accepts input or input focus: False
> > 
> >      should not be given the keyboard input focus by  the  window
> >      manager.   These  windows  can take the input focus by them-
> >      selves, however.  A number of  applications  set  this  pro-
> >      perty,  and  yet  expect the window-manager to give them the
> >      keyboard focus anyway,  so  fvwm  provides  a  window-style,
> >      "Lenience",  which  will  allow  fvwm to overlook this ICCCM
> >      rule.
> 
> (I encountered similar behavior with workman, a XForms-based CD
> player.)
> 
> -andy
> -- 
> Andy Isaacson adisaacs@mtu.edu adi@acm.org    Fight Spam, join CAUCE:
> http://www.csl.mtu.edu/~adisaacs/              http://www.cauce.org/

From owner-scwm-discuss@mit.edu  Tue Jan 19 11:53:30 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA16349
	for scwm-discuss-outgoing; Tue, 19 Jan 1999 11:53:30 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA16346
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 19 Jan 1999 11:53:29 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA02368; Tue, 19 Jan 99 11:53:13 EST
Received: from Central.Sun.COM ([129.147.70.10]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id IAA21300; Tue, 19 Jan 1999 08:52:52 -0800
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id JAA06758; Tue, 19 Jan 1999 09:52:47 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1+Sun/8.9.1) id JAA13758;
	Tue, 19 Jan 1999 09:52:50 -0700 (MST)
To: "Juha 'Jippo' Pohjalainen" <jippo@clinet.fi>
Cc: scwm-discuss@mit.edu
Subject: Re: SCWM menus and hotkeys
References: <19990116192929.H196@plains>
Mime-Version: 1.0
From: Sam Falkner <samf@Central.Sun.COM>
Date: 19 Jan 1999 09:52:50 -0700
In-Reply-To: "Juha 'Jippo' Pohjalainen"'s message of "Sat, 16 Jan 1999 19:29:29 +0200"
Message-Id: <ii7emor5hnh.fsf@central.sun.com>
Lines: 22
User-Agent: Gnus/5.070069 (Pterodactyl Gnus v0.69) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

"Juha 'Jippo' Pohjalainen" <jippo@clinet.fi> writes:

> Could it be possible to add space as activator into menus, so that
> on one could select items from menus by pressing space (using thumbs
> instead of reaching out for "Enter" key).

I'd vote for this, unless someone finds some problem with it.

> Question about hotkeys/accelerators: Is there any way to make
> those accelerators/hotkeys to automatically execute menucommands.

> Example: if I have hotkey "T" assigned for "new xterm" in menu
> and I push "T", menu selection only moves to "new xterm" but I
> still have to press enter (or space with my included patch) to
> execute that "new xterm" command. 

I'd *really* like to see this, at least as optional behavior if not
default.  It's the way that Microsoft's stuff works -- I'm no fan of
Microsoft most of the time, but they beat *nix every time when it
comes to keyboard interaction with GUI's.

- Sam

From owner-scwm-discuss@mit.edu  Tue Jan 19 12:28:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA16551
	for scwm-discuss-outgoing; Tue, 19 Jan 1999 12:28:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA16548
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 19 Jan 1999 12:28:07 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA16221; Tue, 19 Jan 99 12:27:53 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA19758; Tue, 19 Jan 1999 09:28:01 -0800 (PST)
To: Sam Falkner <samf@Central.Sun.COM>
Cc: "Juha 'Jippo' Pohjalainen" <jippo@clinet.fi>, scwm-discuss@mit.edu
Subject: Re: SCWM menus and hotkeys
References: <19990116192929.H196@plains> <ii7emor5hnh.fsf@central.sun.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Jan 1999 09:28:00 -0800
In-Reply-To: Sam Falkner's message of "19 Jan 1999 09:52:50 -0700"
Message-Id: <qrrhftnjhpb.fsf@elwha.cs.washington.edu>
Lines: 32
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Falkner <samf@Central.Sun.COM> writes:

> "Juha 'Jippo' Pohjalainen" <jippo@clinet.fi> writes:
> 
> > Could it be possible to add space as activator into menus, so that
> > on one could select items from menus by pressing space (using thumbs
> > instead of reaching out for "Enter" key).
> 
> I'd vote for this, unless someone finds some problem with it.
> 
> > Question about hotkeys/accelerators: Is there any way to make
> > those accelerators/hotkeys to automatically execute menucommands.
> 
> > Example: if I have hotkey "T" assigned for "new xterm" in menu
> > and I push "T", menu selection only moves to "new xterm" but I
> > still have to press enter (or space with my included patch) to
> > execute that "new xterm" command. 
> 
> I'd *really* like to see this, at least as optional behavior if not
> default.  It's the way that Microsoft's stuff works -- I'm no fan of
> Microsoft most of the time, but they beat *nix every time when it
> comes to keyboard interaction with GUI's.

This is the way it used to be (when I first wrote the menuing code for
fvwm2), but I changed it when I rewrote for Scwm.  I agree it should be
an option.  I'll put something in soon, since it'll still be a while
before the event rewrite that'll generalize things so setting
keybindings for menu-interaction "mode" is just as easy as anywhere else.

Thanks for the feedback!

Greg

From owner-scwm-discuss@mit.edu  Tue Jan 19 12:38:16 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA16660
	for scwm-discuss-outgoing; Tue, 19 Jan 1999 12:38:16 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA16655
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 19 Jan 1999 12:38:11 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA26300; Tue, 19 Jan 99 12:38:23 EST
Received: from Central.Sun.COM ([129.147.62.10]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id JAA08568; Tue, 19 Jan 1999 09:38:08 -0800
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id KAA17140; Tue, 19 Jan 1999 10:38:05 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1+Sun/8.9.1) id KAA13935;
	Tue, 19 Jan 1999 10:38:06 -0700 (MST)
To: Greg Badros <gjb@cs.washington.edu>
Cc: "Juha 'Jippo' Pohjalainen" <jippo@clinet.fi>, scwm-discuss@mit.edu
Subject: Re: SCWM menus and hotkeys
References: <19990116192929.H196@plains> <ii7emor5hnh.fsf@central.sun.com> <qrrhftnjhpb.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
From: Sam Falkner <samf@Central.Sun.COM>
Date: 19 Jan 1999 10:38:06 -0700
In-Reply-To: Greg Badros's message of "19 Jan 1999 09:28:00 -0800"
Message-Id: <ii7zp7f40zl.fsf@central.sun.com>
Lines: 19
User-Agent: Gnus/5.070069 (Pterodactyl Gnus v0.69) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> This is the way it used to be (when I first wrote the menuing code
> for fvwm2), but I changed it when I rewrote for Scwm.  I agree it
> should be an option.  I'll put something in soon,

Thanks!

> since it'll still be a while before the event rewrite that'll
> generalize things so setting keybindings for menu-interaction "mode"
> is just as easy as anywhere else.

You know, I drool every time I think about the event rewrite!  :-) I
think scwm is already `better' than most other window managers, but I
think that this might really push it out in front, and show the power
of having a real language in your *rc file.  But then again, I'm a big
fan of customizability (if that's a word).

- Sam

From owner-scwm-discuss@mit.edu  Tue Jan 19 15:03:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA17283
	for scwm-discuss-outgoing; Tue, 19 Jan 1999 15:03:38 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA17280
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 19 Jan 1999 15:03:35 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA21777; Tue, 19 Jan 99 15:03:46 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA20576; Tue, 19 Jan 1999 12:03:28 -0800 (PST)
To: Sam Falkner <samf@Central.Sun.COM>
Cc: "Juha 'Jippo' Pohjalainen" <jippo@clinet.fi>, scwm-discuss@mit.edu
Subject: Re: SCWM menus and hotkeys
References: <19990116192929.H196@plains> <ii7emor5hnh.fsf@central.sun.com> <qrrhftnjhpb.fsf@elwha.cs.washington.edu> <ii7zp7f40zl.fsf@central.sun.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Jan 1999 12:03:27 -0800
In-Reply-To: Sam Falkner's message of "19 Jan 1999 10:38:06 -0700"
Message-Id: <qrrbtjvjai8.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Falkner <samf@Central.Sun.COM> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > This is the way it used to be (when I first wrote the menuing code
> > for fvwm2), but I changed it when I rewrote for Scwm.  I agree it
> > should be an option.  I'll put something in soon,
> 
> Thanks!

Ok, it's now an option.  (set-menu-hotkeys-activate-item! #t) to turn it 
on (actually it's on by default).

> > since it'll still be a while before the event rewrite that'll
> > generalize things so setting keybindings for menu-interaction "mode"
> > is just as easy as anywhere else.
> 
> You know, I drool every time I think about the event rewrite!  :-) I
> think scwm is already `better' than most other window managers, but I
> think that this might really push it out in front, and show the power
> of having a real language in your *rc file.  But then again, I'm a big
> fan of customizability (if that's a word).

Yea... it'll be really nice when we get it done.  I'm adding some
features in a quick way to get some things I need right away, but it'll
only get better.

I'll be checking in later today and you can grab the changes then.

Greg

From owner-scwm-discuss@mit.edu  Tue Jan 19 16:44:57 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA17934
	for scwm-discuss-outgoing; Tue, 19 Jan 1999 16:44:57 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA17931
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 19 Jan 1999 16:44:31 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA01031; Tue, 19 Jan 99 16:44:38 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id XAA19036; Tue, 19 Jan 1999 23:44:19 +0200
To: scwm-discuss@mit.edu
Subject: scwm RPM built.
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 19 Jan 1999 23:44:19 +0200
In-Reply-To: Greg Badros's message of "19 Jan 1999 12:03:27 -0800"
Message-Id: <m2iue3hr9o.fsf_-_@blinky.bfr.co.il>
Lines: 16
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I built an scwm RPM.  I upgraded to RH5.2 a few days ago, installed a
rawhide guile, hacked up & cleaned up my system so I could build scwm,
did a CVS update & packaged it up.

Does anyone have a site I could upload it to?

Should I also package 0.8a & 0.9beta1?

BTW, I noticed the web page still points at 0.7a, which no longer
exits on the ftp site...

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Jan 19 16:56:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA18031
	for scwm-discuss-outgoing; Tue, 19 Jan 1999 16:56:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA18028
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 19 Jan 1999 16:56:06 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA05931; Tue, 19 Jan 99 16:56:17 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id WAA15660
	for scwm-discuss@mit.edu; Tue, 19 Jan 1999 22:40:53 +0100 (MET)
Received: (qmail 861 invoked by uid 115); 19 Jan 1999 19:09:35 -0000
To: scwm-discuss@mit.edu
Subject: Re: X11 client doesn't get the input focus under SCWM
References: <199901190848.JAA09330@ull.tnt.uni-hannover.de> <19990119035521.A4540@mtu.edu> <qrr1zkrl1sp.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 19 Jan 1999 20:09:27 +0100
In-Reply-To: Greg Badros's message of "19 Jan 1999 07:28:38 -0800"
Message-Id: <wsbtjvnkpk.fsf@orcus.priv.at>
Lines: 27
User-Agent: Gnus/5.070069 (Pterodactyl Gnus v0.69) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 19 Jan 1999 07:28:38 -0800
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> That fz_xclips sets the hint may be a bug, or we
 Greg> may want to provide a means of overriding the hint (should be
 Greg> already doable in scheme using our X-property-set! routine).

Already implemented, I think:

	(set-lenience! flag #&optional win)
	- Built-in Primitive
	Set or reset the input focus lenience flag. Determine whether
	or not to try to give WIN the input focus when asked, even if
	the window claims according to hints that it cannot receive
	the input focus, according to the boolean value FLAG. WIN
	defaults to the window context in the usual way if not
	specified.

I'm sure there's also a matching window-style keyword.

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Tue Jan 19 17:00:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA18088
	for scwm-discuss-outgoing; Tue, 19 Jan 1999 17:00:18 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA18085
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 19 Jan 1999 17:00:18 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA25871; Tue, 19 Jan 99 17:00:04 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA20675; Tue, 19 Jan 1999 14:00:07 -0800 (PST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@mit.edu
Subject: Re: scwm RPM built.
References: <m2iue3hr9o.fsf_-_@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Jan 1999 14:00:03 -0800
In-Reply-To: hjstein@bfr.co.il's message of "19 Jan 1999 23:44:19 +0200"
Message-Id: <qrr67a2kjoc.fsf@elwha.cs.washington.edu>
Lines: 28
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> I built an scwm RPM.  I upgraded to RH5.2 a few days ago, installed a
> rawhide guile, hacked up & cleaned up my system so I could build scwm,
> did a CVS update & packaged it up.

Excellent!

> 
> Does anyone have a site I could upload it to?

If you mail it to me (or make it available in some other way), I can put 
it on the scwm web page and ftp sites.  What version is it?

> 
> Should I also package 0.8a & 0.9beta1?

Nah-- not if the one you built is reasonably current.

Perhaps notes about how you built it would be worthwhile-- I'd like to
check them in to the repository so we and/or others can build rpms.

> BTW, I noticed the web page still points at 0.7a, which no longer
> exits on the ftp site...

Thanks-- I'll fix this if noone beats me to it.

Greg

From owner-scwm-discuss@mit.edu  Tue Jan 19 17:26:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA18362
	for scwm-discuss-outgoing; Tue, 19 Jan 1999 17:26:38 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA18359
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 19 Jan 1999 17:26:37 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA04859; Tue, 19 Jan 99 17:26:23 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA20884; Tue, 19 Jan 1999 14:26:25 -0800 (PST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: X11 client doesn't get the input focus under SCWM
References: <199901190848.JAA09330@ull.tnt.uni-hannover.de> <19990119035521.A4540@mtu.edu> <qrr1zkrl1sp.fsf@elwha.cs.washington.edu> <wsbtjvnkpk.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Jan 1999 14:26:25 -0800
In-Reply-To: Robert Bihlmeyer's message of "19 Jan 1999 20:09:27 +0100"
Message-Id: <qrr1zkqkige.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 19 Jan 1999 07:28:38 -0800
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
>  Greg> That fz_xclips sets the hint may be a bug, or we
>  Greg> may want to provide a means of overriding the hint (should be
>  Greg> already doable in scheme using our X-property-set! routine).
> 
> Already implemented, I think:
> 
> 	(set-lenience! flag #&optional win)

Excellent... Scwm rocks! :-)

Greg

From owner-scwm-discuss@mit.edu  Tue Jan 19 17:31:15 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA18494
	for scwm-discuss-outgoing; Tue, 19 Jan 1999 17:31:15 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA18491
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 19 Jan 1999 17:31:14 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA21196; Tue, 19 Jan 99 17:31:25 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id AAA19293; Wed, 20 Jan 1999 00:31:01 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: scwm RPM built.
References: <m2iue3hr9o.fsf_-_@blinky.bfr.co.il> <qrr67a2kjoc.fsf@elwha.cs.washington.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 20 Jan 1999 00:31:01 +0200
In-Reply-To: Greg Badros's message of "19 Jan 1999 14:00:03 -0800"
Message-Id: <m2aezej3oa.fsf@blinky.bfr.co.il>
Lines: 91
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Greg Badros <gjb@cs.washington.edu> writes:

 > hjstein@bfr.co.il (Harvey J. Stein) writes:
 > 
 > > I built an scwm RPM.  I upgraded to RH5.2 a few days ago, installed a
 > > rawhide guile, hacked up & cleaned up my system so I could build scwm,
 > > did a CVS update & packaged it up.
 > 
 > Excellent!
 > 
 > > Does anyone have a site I could upload it to?
 > 
 > If you mail it to me (or make it available in some other way), I can put 
 > it on the scwm web page and ftp sites.  What version is it?

Like I said, I did a cvs update (from the anon server) a couple of
days ago & did the build, so it's basically a 1/17 snapshot.

 > Perhaps notes about how you built it would be worthwhile-- I'd like to
 > check them in to the repository so we and/or others can build rpms.

I'll send you the source & i386 binary rpms.

Building the RPMs is pretty trivial, but here's what I did:

1. cvs update
2. Blow away those annoying ltconfig & ltmain.sh files because they're
   a problem with my version of one of those equally annoying auto*
   tools.
3. ./autogen.sh
4. ./configure --enable-maintainer-mode
5. make
6. make disp

This gives scwm-0.9beta1.tar.gz, which I didn't want to package
because it wouldn't match what's on the web site, so I:

7. Unpacked scwm-0.9beta1.tar.gz
8. mv scwm-9.9beta1 scwm-19990117
9. tar czvf scwm-19990117.tar.gz scwm-19990117

This also wouldn't match the 1/17 snapshot, but I lucked out in that
such a snap isn't on the ftp server.

Next, the RPM packaging itself is just a matter of writing a spec
file.  I hacked up an old one to work with newer versions of rpm.

Once you've got the .spec file & the .tar.gz, you can build the source
& binary RPMs just by:

10. cp scwm.spec /usr/src/redhat/SPECS
11. cp scwm-19990117.tar.gz /usr/src/redhat/SOURCES
12. rpm -ba /usr/src/redhat/SPECS

Once it finishes running you'll have:

   /usr/src/redhat/SRPMS/scwm-19990117-1hjs.src.rpm

and

   /usr/src/redhat/RPMS/i386/scwm-19990117-1hjs.i386.rpm

(assuming you're building on intel).

If you install the src rpm, you get the tar.gz again in
/usr/src/redhat/SOURCES, and the scwm.spec in /usr/src/redhat/SPECS.

If you install the i386 rpm, you get scwm.

Note 1. The rpm build cmd (rpm -ba) doesn't just run make - it runs
configure first, so it should really build properly on other
systems...

Note 2. I set the release version to 1hjs to distinguish btw RPMs I
packaged and "official" ones.

Note 3. I listed huis-clos as the ftp source for the .tar.gz file
(which is in the source rpm), but it really isn't there because I made
the .tar.gz myself from my working cvs tree.

Note 4. If you want to package a newer snapshot, just change the
Version: line to the version # you want to use, and change the Source:
line if you want the source tar file is something other than
scwm-<version>.tar.gz.  Also change the Revision: (& take out my
initials).

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Jan 19 18:01:20 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA18743
	for scwm-discuss-outgoing; Tue, 19 Jan 1999 18:01:20 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA18740
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 19 Jan 1999 18:01:19 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA14715; Tue, 19 Jan 99 18:01:05 EST
Received: (qmail 7940 invoked by uid 501); 19 Jan 1999 23:01:17 -0000
Message-Id: <19990119150115.A7505@molehill.org>
Date: Tue, 19 Jan 1999 15:01:15 -0800
From: Todd Larason <jtl@molehill.org>
To: "Harvey J. Stein" <hjstein@bfr.co.il>, Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: scwm RPM built.
References: <m2iue3hr9o.fsf_-_@blinky.bfr.co.il> <qrr67a2kjoc.fsf@elwha.cs.washington.edu> <m2aezej3oa.fsf@blinky.bfr.co.il>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <m2aezej3oa.fsf@blinky.bfr.co.il>; from Harvey J. Stein on Wed, Jan 20, 1999 at 12:31:01AM +0200
X-Kibo: Sound is like a dry, dead cactus.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990120, Harvey J. Stein wrote:
> 2. Blow away those annoying ltconfig & ltmain.sh files because they're
>    a problem with my version of one of those equally annoying auto*
>    tools.

ack!  are you still getting those?  I (thought I had) removed those from the
repository a week or two ago.

> Once you've got the .spec file & the .tar.gz, you can build the source
> & binary RPMs just by:
> 
> 10. cp scwm.spec /usr/src/redhat/SPECS
> 11. cp scwm-19990117.tar.gz /usr/src/redhat/SOURCES
> 12. rpm -ba /usr/src/redhat/SPECS

At some point (now?), we should put the spec file inside the tar.gzs we
distribute, and then those three steps become just 'rpm -ta
scwm-19990117.tar.gz'.

> Note 4. If you want to package a newer snapshot, just change the
> Version: line to the version # you want to use, and change the Source:
> line if you want the source tar file is something other than
> scwm-<version>.tar.gz.  Also change the Revision: (& take out my
> initials).

Some thought needs to go into what to do with snapshot vs. release version
numbers.  I think newew versions of RPM have a serial number or somesuch that
could be used for this?
-- 
"Ayn's vision is _Russian_ libertarianism, in the same sense that
Leninism is Russian Marxism." -- Joshua W Burton

From owner-scwm-discuss@mit.edu  Tue Jan 19 18:10:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA18857
	for scwm-discuss-outgoing; Tue, 19 Jan 1999 18:10:42 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA18854
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 19 Jan 1999 18:10:41 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA17121; Tue, 19 Jan 99 18:10:27 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id BAA19648; Wed, 20 Jan 1999 01:10:31 +0200
To: Todd Larason <jtl@molehill.org>
Cc: "Harvey J. Stein" <hjstein@bfr.co.il>, Greg Badros <gjb@cs.washington.edu>,
        scwm-discuss@mit.edu
Subject: Re: scwm RPM built.
References: <m2iue3hr9o.fsf_-_@blinky.bfr.co.il> <qrr67a2kjoc.fsf@elwha.cs.washington.edu> <m2aezej3oa.fsf@blinky.bfr.co.il> <19990119150115.A7505@molehill.org>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 20 Jan 1999 01:10:30 +0200
In-Reply-To: Todd Larason's message of "Tue, 19 Jan 1999 15:01:15 -0800"
Message-Id: <m2zp7ehna1.fsf@blinky.bfr.co.il>
Lines: 43
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Todd Larason <jtl@molehill.org> writes:

 > On 990120, Harvey J. Stein wrote:
 > > 2. Blow away those annoying ltconfig & ltmain.sh files because they're
 > >    a problem with my version of one of those equally annoying auto*
 > >    tools.
 > 
 > ack!  are you still getting those?  I (thought I had) removed those from the
 > repository a week or two ago.

Don't know what happened...  I had the bug, I saw the messages, I
removed the files.

 > > Once you've got the .spec file & the .tar.gz, you can build the source
 > > & binary RPMs just by:
 > > 
 > > 10. cp scwm.spec /usr/src/redhat/SPECS
 > > 11. cp scwm-19990117.tar.gz /usr/src/redhat/SOURCES
 > > 12. rpm -ba /usr/src/redhat/SPECS
 > 
 > At some point (now?), we should put the spec file inside the tar.gzs we
 > distribute, and then those three steps become just 'rpm -ta
 > scwm-19990117.tar.gz'.

Sounds good.

 > > Note 4. If you want to package a newer snapshot, just change the
 > > Version: line to the version # you want to use, and change the Source:
 > > line if you want the source tar file is something other than
 > > scwm-<version>.tar.gz.  Also change the Revision: (& take out my
 > > initials).
 > 
 > Some thought needs to go into what to do with snapshot vs. release version
 > numbers.  I think newew versions of RPM have a serial number or somesuch that
 > could be used for this?

Who knows?  All this stuff changes so fast, & much faster than the
documentation.  Too fast for me to keep up on it...

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Jan 19 18:44:52 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA19072
	for scwm-discuss-outgoing; Tue, 19 Jan 1999 18:44:52 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA19069
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 19 Jan 1999 18:44:50 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA25034; Tue, 19 Jan 99 18:44:36 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA20960; Tue, 19 Jan 1999 15:44:43 -0800 (PST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: Todd Larason <jtl@molehill.org>, scwm-discuss@mit.edu
Subject: Re: scwm RPM built.
References: <m2iue3hr9o.fsf_-_@blinky.bfr.co.il> <qrr67a2kjoc.fsf@elwha.cs.washington.edu> <m2aezej3oa.fsf@blinky.bfr.co.il> <19990119150115.A7505@molehill.org> <m2zp7ehna1.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Jan 1999 15:44:42 -0800
In-Reply-To: hjstein@bfr.co.il's message of "20 Jan 1999 01:10:30 +0200"
Message-Id: <qrrsod6j09h.fsf@elwha.cs.washington.edu>
Lines: 36
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

>  > > & binary RPMs just by:
>  > > 
>  > > 10. cp scwm.spec /usr/src/redhat/SPECS
>  > > 11. cp scwm-19990117.tar.gz /usr/src/redhat/SOURCES
>  > > 12. rpm -ba /usr/src/redhat/SPECS
>  > 
>  > At some point (now?), we should put the spec file inside the tar.gzs we
>  > distribute, and then those three steps become just 'rpm -ta
>  > scwm-19990117.tar.gz'.
> 
> Sounds good.

Where is the .spec file you used?  We definitely should check it in.  We 
should be able to just "make rpm" and "make src-rpm" and be done w/ it.
RPMs could be distributed weekly.

>  > Some thought needs to go into what to do with snapshot vs. release version
>  > numbers.  I think newew versions of RPM have a serial number or somesuch that
>  > could be used for this?

Just the date (and perhaps time) seems fine to me.

> Who knows?  All this stuff changes so fast, & much faster than the
> documentation.  Too fast for me to keep up on it...

Which documentation do you use?  One of the points of the doc extraction 
system is that the documentation stay pretty well in-synch.  We could
(should) be better about automating the updates to the web page, and
perhaps we should have a better means of packaging up the html for
local-machine installation (I still use Sam's emacs scwm-mode and its
integrated documentation for almost all my documentation needs -- tables 
are better in html still).

Greg

From owner-scwm-discuss@mit.edu  Wed Jan 20 02:27:30 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA21601
	for scwm-discuss-outgoing; Wed, 20 Jan 1999 02:27:30 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA21598
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 20 Jan 1999 02:27:27 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA29112; Wed, 20 Jan 99 02:27:38 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id JAA24451; Wed, 20 Jan 1999 09:27:16 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: Todd Larason <jtl@molehill.org>, scwm-discuss@mit.edu
Subject: Re: scwm RPM built.
References: <m2iue3hr9o.fsf_-_@blinky.bfr.co.il> <qrr67a2kjoc.fsf@elwha.cs.washington.edu> <m2aezej3oa.fsf@blinky.bfr.co.il> <19990119150115.A7505@molehill.org> <m2zp7ehna1.fsf@blinky.bfr.co.il> <qrrsod6j09h.fsf@elwha.cs.washington.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 20 Jan 1999 09:27:16 +0200
In-Reply-To: Greg Badros's message of "19 Jan 1999 15:44:42 -0800"
Message-Id: <m21zkq4d63.fsf@blinky.bfr.co.il>
Lines: 27
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > Where is the .spec file you used?  We definitely should check it in.  We 
 > should be able to just "make rpm" and "make src-rpm" and be done w/ it.
 > RPMs could be distributed weekly.

It's in the source RPM.  I was thinking of adding it to the repository
this morning, but it needs to be hooked into the configure stuff to
get the version inside correct, & I'm not sure how to do that.

 > > Who knows?  All this stuff changes so fast, & much faster than the
 > > documentation.  Too fast for me to keep up on it...
 > 
 > Which documentation do you use?  One of the points of the doc extraction 
 > system is that the documentation stay pretty well in-synch.  We could
 > (should) be better about automating the updates to the web page, and
 > perhaps we should have a better means of packaging up the html for
 > local-machine installation (I still use Sam's emacs scwm-mode and its
 > integrated documentation for almost all my documentation needs -- tables 
 > are better in html still).

I wasn't referring to scwm.  I was referring to RPM.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Wed Jan 20 11:29:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA24888
	for scwm-discuss-outgoing; Wed, 20 Jan 1999 11:29:41 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA24885
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 20 Jan 1999 11:29:38 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA04411; Wed, 20 Jan 99 11:29:51 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA22166; Wed, 20 Jan 1999 08:29:30 -0800 (PST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@mit.edu
Subject: Re: scwm RPM built.
References: <m2iue3hr9o.fsf_-_@blinky.bfr.co.il> <qrr67a2kjoc.fsf@elwha.cs.washington.edu> <m2aezej3oa.fsf@blinky.bfr.co.il> <19990119150115.A7505@molehill.org> <m2zp7ehna1.fsf@blinky.bfr.co.il> <qrrsod6j09h.fsf@elwha.cs.washington.edu> <m21zkq4d63.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Jan 1999 08:29:30 -0800
In-Reply-To: hjstein@bfr.co.il's message of "20 Jan 1999 09:27:16 +0200"
Message-Id: <qrriue1j4b9.fsf@elwha.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
>  > Where is the .spec file you used?  We definitely should check it in.  We 
>  > should be able to just "make rpm" and "make src-rpm" and be done w/ it.
>  > RPMs could be distributed weekly.
> 
> It's in the source RPM.  I was thinking of adding it to the repository
> this morning, but it needs to be hooked into the configure stuff to
> get the version inside correct, & I'm not sure how to do that.

Great-- I'll look into it (I imagined it might be in the source RPM, but 
as you know I had problems uudecoding the file you sent.  The new one
got through fine-- thanks!

> 
>  > > Who knows?  All this stuff changes so fast, & much faster than the
>  > > documentation.  Too fast for me to keep up on it...
>  > 
>  > Which documentation do you use?  One of the points of the doc extraction 
>  > system is that the documentation stay pretty well in-synch.  We could
>  > (should) be better about automating the updates to the web page, and
>  > perhaps we should have a better means of packaging up the html for
>  > local-machine installation (I still use Sam's emacs scwm-mode and its
>  > integrated documentation for almost all my documentation needs -- tables 
>  > are better in html still).
> 
> I wasn't referring to scwm.  I was referring to RPM.

Ahh... good. :-)

Greg

From owner-scwm-discuss@mit.edu  Wed Jan 20 12:27:54 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA25291
	for scwm-discuss-outgoing; Wed, 20 Jan 1999 12:27:54 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA25288
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 20 Jan 1999 12:27:53 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA24801; Wed, 20 Jan 99 12:28:05 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA22245; Wed, 20 Jan 1999 09:27:48 -0800 (PST)
To: Todd Larason <jtl@molehill.org>
Cc: "Harvey J. Stein" <hjstein@bfr.co.il>, scwm-discuss@mit.edu
Subject: Re: scwmdoc problem & automatic hell.
References: <m27lvprsxr.fsf@blinky.bfr.co.il> <19981218175424.A19296@molehill.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Jan 1999 09:27:47 -0800
In-Reply-To: Todd Larason's message of "Fri, 18 Dec 1998 17:54:24 -0800"
Message-Id: <qrrzp7dhn1o.fsf@elwha.cs.washington.edu>
Lines: 29
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Todd Larason <jtl@molehill.org> writes:

> On 981219, Harvey J. Stein wrote:
> >    Use of uninitialized value at /usr/lib/perl5/File/Basename.pm line
> >    177.
> 
> not sure about that one
> 
> >    Use of uninitialized value at ./scwmdoc line 931, <> chunk 733.
> 
> set the SCWMDIR environment variable to the top of your SCWM source tree.  I
> thought I'd fixed it so that wasn't needed, but either I was wrong or it got
> broke again.
> 
> Okay, I've checked in a fix for that.
> 
> >    ../../scwm/window.c:871:**** get_window_context: scheme primitive name
> >    `window-context' does not match `get_window_context'
> 
> things like this are real errors, or at least things inconsistent with the
> semi-formal naming guidelines.

This problem is noted in a comment in the source -- "window_context"
(which the function would have to be named to be correct by our
standards) is already the name of an oft-used variable.

<snip>

Greg

From owner-scwm-discuss@mit.edu  Wed Jan 20 12:29:27 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA25302
	for scwm-discuss-outgoing; Wed, 20 Jan 1999 12:29:27 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA25299
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 20 Jan 1999 12:29:26 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA11436; Wed, 20 Jan 99 12:29:11 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA22248; Wed, 20 Jan 1999 09:29:18 -0800 (PST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@mit.edu
Subject: Re: scwm RPM built.
References: <m2iue3hr9o.fsf_-_@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Jan 1999 09:29:17 -0800
In-Reply-To: hjstein@bfr.co.il's message of "19 Jan 1999 23:44:19 +0200"
Message-Id: <qrryamxhmz6.fsf@elwha.cs.washington.edu>
Lines: 10
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

<snip>

> BTW, I noticed the web page still points at 0.7a, which no longer
> exits on the ftp site...

Fixed it.  Thanks!

Greg

From owner-scwm-discuss@mit.edu  Wed Jan 20 16:40:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA27765
	for scwm-discuss-outgoing; Wed, 20 Jan 1999 16:40:29 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA27762
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 20 Jan 1999 16:40:28 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA01974; Wed, 20 Jan 99 16:40:40 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA23341; Wed, 20 Jan 1999 13:40:25 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Scwm Docs updated
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Jan 1999 13:40:24 -0800
Message-Id: <qrrpv89hbcn.fsf@elwha.cs.washington.edu>
Lines: 12
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I just updated the reference manual on my web page... it's available at:

http://www.cs.washington.edu/homes/gjb/scwm-doc/

and via a link from

http://vicarious-existence.mit.edu/scwm/


It reflects the current CVS sources.

Greg

From owner-scwm-discuss@mit.edu  Wed Jan 20 17:41:27 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA28217
	for scwm-discuss-outgoing; Wed, 20 Jan 1999 17:41:27 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA28214
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 20 Jan 1999 17:41:26 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA24477; Wed, 20 Jan 99 17:41:37 EST
Received: (qmail 8220 invoked by uid 501); 20 Jan 1999 22:41:19 -0000
Message-Id: <19990120144118.A7974@molehill.org>
Date: Wed, 20 Jan 1999 14:41:18 -0800
From: Todd Larason <jtl@molehill.org>
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Debian?
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
X-Kibo: Why not help Harry?
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Are there any Debian developers here?  The Debian Weekly News
(http://www.debian.org/~joeyh/weeklynews/) links to a message about the deep
freeze of slink, 2.1
(http://www.debian.org/~joeyh/weeklynews/weeklynews3.mail.html#1), that says
that scwm is being removed, because "libguile4: hoses scwm (yet again)".

Anyone know anything about this?
-- 
"Ayn's vision is _Russian_ libertarianism, in the same sense that
Leninism is Russian Marxism." -- Joshua W Burton

From owner-scwm-discuss@mit.edu  Thu Jan 21 04:48:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA32430
	for scwm-discuss-outgoing; Thu, 21 Jan 1999 04:48:42 -0500
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA32427
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 21 Jan 1999 04:48:39 -0500
Received: from SIMON.CS.CORNELL.EDU by MIT.EDU with SMTP
	id AA18475; Thu, 21 Jan 99 04:48:25 EST
Received: from cloyd.cs.cornell.edu (CLOYD.CS.CORNELL.EDU [128.84.227.15])
	by simon.cs.cornell.edu (8.8.8/8.8.8/R-1.11) with ESMTP id EAA25512
	for <scwm-discuss@mit.edu>; Thu, 21 Jan 1999 04:48:37 -0500 (EST)
Received: from mojave.cs.cornell.edu (eli@MOJAVE.CS.CORNELL.EDU [128.84.248.55])
	by cloyd.cs.cornell.edu (8.8.8/8.8.8/M-1.12) with ESMTP id EAA02408
	for <scwm-discuss@mit.edu>; Thu, 21 Jan 1999 04:48:36 -0500 (EST)
Received: (from eli@localhost) by mojave.cs.cornell.edu (8.8.7/8.7.3/C-1.1) id EAA02570; Thu, 21 Jan 1999 04:48:35 -0500
X-Authentication-Warning: mojave.cs.cornell.edu: eli set sender to eli@mojave.cs.cornell.edu using -f
From: Eli Barzilay <eli@CS.Cornell.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <13990.63475.811505.663185@mojave.cs.cornell.edu>
Date: Thu, 21 Jan 1999 04:48:35 -0500 (EST)
To: scwm-discuss@mit.edu
Subject: Two small bugs
X-Mailer: VM 6.64 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


1. In winops.scm - default-resize/move-opaquely? should use <= so if
   the user variable is 100 then full-sized windows will still move
   opaquely.

2. Making all in xlib-drawing
   make[2]: Entering directory `/home/eli/guile/scwm/modules/xlib-drawing'
   make[2]: *** No rule to make target `all'.  Stop.

-- 
             ((lambda (x) (x x)) (lambda (x) (x x)))              Eli Barzilay:
            http://www.cs.cornell.edu/eli/meaning.html            Maze is Life!

From owner-scwm-discuss@mit.edu  Thu Jan 21 10:26:34 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA00925
	for scwm-discuss-outgoing; Thu, 21 Jan 1999 10:26:34 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA00922
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 21 Jan 1999 10:26:31 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA10501; Thu, 21 Jan 99 10:26:44 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id HAA27182; Thu, 21 Jan 1999 07:26:26 -0800 (PST)
To: Eli Barzilay <eli@CS.Cornell.EDU>
Cc: scwm-discuss@mit.edu
Subject: Re: Two small bugs
References: <13990.63475.811505.663185@mojave.cs.cornell.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Jan 1999 07:26:25 -0800
In-Reply-To: Eli Barzilay's message of "Thu, 21 Jan 1999 04:48:35 -0500 (EST)"
Message-Id: <qrrbtjshcke.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Eli Barzilay <eli@CS.Cornell.EDU> writes:

> 1. In winops.scm - default-resize/move-opaquely? should use <= so if
>    the user variable is 100 then full-sized windows will still move
>    opaquely.

Ok.  Thanks.

> 
> 2. Making all in xlib-drawing
>    make[2]: Entering directory `/home/eli/guile/scwm/modules/xlib-drawing'
>    make[2]: *** No rule to make target `all'.  Stop.

You may need to re-run configure if you didn't already (I'm not sure if
that is the minimal thing to do)-- be sure your configure.in has
modules/xlib-drawing/Makefile in the long list to AC_OUTPUT at the very
end.  If not, update again and retry.

Greg

From owner-scwm-discuss@mit.edu  Thu Jan 21 13:41:05 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA01759
	for scwm-discuss-outgoing; Thu, 21 Jan 1999 13:41:05 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA01756
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 21 Jan 1999 13:41:02 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA23918; Thu, 21 Jan 99 13:40:46 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id TAA03867
	for scwm-discuss@mit.edu; Thu, 21 Jan 1999 19:32:20 +0100 (MET)
Received: (qmail 442 invoked by uid 115); 21 Jan 1999 18:24:10 -0000
To: scwm-discuss@mit.edu
Subject: [Pointer] GNU Window manager shortcut proposition
X-Attribution: Robbe
Mime-Version: 1.0
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 21 Jan 1999 19:24:04 +0100
Message-Id: <wsu2xkbi2j.fsf@orcus.priv.at>
Lines: 13
User-Agent: Gnus/5.070069 (Pterodactyl Gnus v0.69) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

a proposition of common shortcuts for free window managers just came
in to comp.os.linux.announce under Message-Id
<pycola.916777087.12092@revelation.bak.helsinki.fi>.

I scanned it and it looks interesting on first sight.

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Jan 21 22:29:28 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA03969
	for scwm-discuss-outgoing; Thu, 21 Jan 1999 22:29:28 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from smtp3.erols.com (smtp3.erols.com [207.172.3.236])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id WAA03966
	for <scwm-discuss@vicarious-existence.mit.edu>; Thu, 21 Jan 1999 22:29:25 -0500
Received: from alum.mit.edu (207-172-216-205.s205.tnt1.sbo.erols.com [207.172.216.205])
	by smtp3.erols.com (8.8.8/8.8.5) with ESMTP id WAA01896
	for <scwm-discuss@vicarious-existence.mit.edu>; Thu, 21 Jan 1999 22:29:22 -0500 (EST)
Message-ID: <36A7BD52.5B57554@alum.mit.edu>
Date: Thu, 21 Jan 1999 18:50:42 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.34 i586)
MIME-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Release plans
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hello scwm folks,

I've been busy recovering from the slightly disastrous fallout of the
big blizzard/ice storm that hit new england recently.

I would like to make a new scwm release RSN. However, I will not be
basing it on the latest source because I would rather not spend the time
looking at all the latest whiz-bang stuff, and doing testing again (I
have a source base that I previously tested on several platforms and
against several Guile versions). I will be putting out a scwm-0.9beta2
shortly, and, modulo serious bugs, I would like to just file off the
version number after a couple of days, replace it with 0.9, repackage
the distribution, and announce it.

But do not despair of seeing the latest stuff in a stable release
sometime soon. I am hoping to make releases somewhat more frequent, and
thus I will try to make an 0.9.x release every couple of weeks when
there are whizzy new features or fixes until there's general agreement
that there should be an 0.10.

I have not caught up with my past mail yet, but I will be aggressively
tracking future mail while I try to catch up in the background,
so major objections to the 0.9 release plan proposed here, or reports of
serious bugs in the upcoming beta should be sent here. I will announce
the location of said beta once it is packaged.

 - Maciej

From owner-scwm-discuss@mit.edu  Fri Jan 22 05:02:00 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA20654
	for scwm-discuss-outgoing; Fri, 22 Jan 1999 05:02:00 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: (from mstachow@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA20650;
	Fri, 22 Jan 1999 05:01:58 -0500
Message-Id: <199901221001.FAA20650@VICARIOUS-EXISTENCE.MIT.EDU>
To: scwm-discuss@mit.edu
Subject: 0.9beta2
Date: Fri, 22 Jan 1999 05:01:57 EST
From: Maciej Stachowiak <mstachow@mit.edu>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


scwm-0.9beta2 is available at 

ftp://vicarious-existence.mit.edu/pub/scwm/scwm-0.9beta2.tar.gz

I've done test builds agains guile 1.3, (somewhat pointlessly) guile
1.2, and the latest guile from CVS, but really only guile 1.3 should
be considered officially supported at this time. The only changes I'm
planning to make right now before shipping this as 0.9 are updating
the NEWS file text (got lazy on a few bits there) and changing the
version number to plain old 0.9.

Hopefully 0.9.1 can come soon after, like a couple of weeks.

 - Maciej


From owner-scwm-discuss@mit.edu  Fri Jan 22 09:44:02 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA21990
	for scwm-discuss-outgoing; Fri, 22 Jan 1999 09:44:02 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA21984
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 22 Jan 1999 09:43:59 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA20959; Fri, 22 Jan 99 09:44:04 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Fri, 22 Jan 1999 09:43:12 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Fri, 22 Jan 1999 09:43:12 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id UAA03669;
	Thu, 21 Jan 1999 20:39:23 -0500 (EST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Release plans
References: <36A7BD52.5B57554@alum.mit.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Maciej Stachowiak's message of "Thu, 21 Jan 1999 18:50:42 -0500"
Date: 21 Jan 1999 20:39:23 -0500
Message-Id: <m3iue0cchg.fsf@eho.eaglets.com>
Lines: 36
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <36A7BD52.5B57554@alum.mit.edu>
>>>> On the subject of "Release plans"
>>>> Sent on Thu, 21 Jan 1999 18:50:42 -0500
>>>> Honorable Maciej Stachowiak <mstachow@alum.mit.edu> writes:
 >> 
 >> I would like to make a new scwm release RSN. However, I will not be
 >> basing it on the latest source because I would rather not spend the
 >> time looking at all the latest whiz-bang stuff, and doing testing
 >> again (I have a source base that I previously tested on several
 >> platforms and against several Guile versions). I will be putting out
 >> a scwm-0.9beta2 shortly, and, modulo serious bugs, I would like to
 >> just file off the version number after a couple of days, replace it
 >> with 0.9, repackage the distribution, and announce it.

Please note that SCWM crashes on startup when run under the current
RawHide.  RawHide is not "alpha", everything else (like Emacs, Gnome,
FVWM etc) runs under it just fine.  IMO, this bug should be fixed before
0.9 - to reproduce it, you just g/l glibc and glibc-devel from
rawhide.redhat.com and install them (you can revert to your old version
later). 

 >> But do not despair of seeing the latest stuff in a stable release
 >> sometime soon. I am hoping to make releases somewhat more frequent, and
 >> thus I will try to make an 0.9.x release every couple of weeks when
 >> there are whizzy new features or fixes until there's general agreement
 >> that there should be an 0.10.

I see no reason to carry the "beta" stigma any more, as (apart from the
above) SCWM is rock solid.  I suggest making the next release 1.0


-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
The world will end in 5 minutes.  Please log out.

From owner-scwm-discuss@mit.edu  Fri Jan 22 12:42:57 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA23085
	for scwm-discuss-outgoing; Fri, 22 Jan 1999 12:42:57 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA23082
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 22 Jan 1999 12:42:56 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA16647; Fri, 22 Jan 99 12:42:40 EST
Received: from Central.Sun.COM ([129.147.70.10]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id JAA25229; Fri, 22 Jan 1999 09:42:53 -0800
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id KAA21389; Fri, 22 Jan 1999 10:42:46 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1+Sun/8.9.1) id KAA02436;
	Fri, 22 Jan 1999 10:42:48 -0700 (MST)
To: Maciej Stachowiak <mstachow@mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: 0.9beta2
References: <199901221001.FAA20650@VICARIOUS-EXISTENCE.MIT.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Sam Falkner <samf@Central.Sun.COM>
Date: 22 Jan 1999 10:42:48 -0700
Message-Id: <ii7ognrp5k7.fsf@central.sun.com>
Lines: 12
User-Agent: Gnus/5.07007 (Pterodactyl Gnus v0.70) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I agree with the idea to not put the very latest stuff in these
releases, but there's one that I wish had been in there.  (Isn't that
always the way? :-) I only mention it to give it some priority for the
next release.

I'm probably one of the few who don't use the GNU compilers to build
this stuff, and the problem I had is in session-manager.c.  Sun's
compiler didn't like this file at all.  Todd putback a fix for this,
but his fix isn't in 0.9beta2.  Could you give it a boost in priority
for getting into beta3?  Thanks!

- Sam

From owner-scwm-discuss@mit.edu  Fri Jan 22 13:06:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA23266
	for scwm-discuss-outgoing; Fri, 22 Jan 1999 13:06:13 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA23263
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 22 Jan 1999 13:06:12 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA01576; Fri, 22 Jan 99 13:06:25 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA00552; Fri, 22 Jan 1999 10:06:06 -0800 (PST)
To: Sam Falkner <samf@Central.Sun.COM>
Cc: scwm-discuss@mit.edu
Subject: Re: 0.9beta2
References: <199901221001.FAA20650@VICARIOUS-EXISTENCE.MIT.EDU> <ii7ognrp5k7.fsf@central.sun.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Jan 1999 10:06:06 -0800
In-Reply-To: Sam Falkner's message of "22 Jan 1999 10:42:48 -0700"
Message-Id: <qrriudzfai9.fsf@elwha.cs.washington.edu>
Lines: 42
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I agree-- bug fixes should go into the .9 series.  In particular, here
are three change log entries that definitely should have their
corresponding patches in .9:

Fri Jan 15 14:14:05 1999  Greg Badros  <gjb@cs.washington.edu>

	* decor.c, screen.c, face.c (print_XXX): Use scwm_ptr2scm instead
	of gh_int2scm or gh_long2scm -- abstracts out the size of a
	pointer to fix problems with 64-bit machines.

	* scwm.h (scwm_ptr2scm): Added this macro to abstract out the size 
	of a pointer -- for now just use long.

Fri Jan 15 10:43:21 1999  Greg Badros  <gjb@cs.washington.edu>

	* menu.c (MenuInteraction): Guard derefs of pmiim in case no item
	is yet selected-- fixes bug reported by Sam Falkner whereby
	bringing up a menu via a keyboard shortcut and immediately
	pressing <Return> resulted in a core dump.  Thanks Sam!

1999-01-14  Todd Larason  <jtl@molehill.org>

	* session-manager.c (doneSM, setSMProperties): Split variable
	declaration and initialization to make non-gcc compilers happy.
	Standard C only allows constants in initialization functions.
	Thanks to Sam Falkner for the good bug reports.


Also, these from scheme/ should probably be included if they aren't already:

Mon Jan 18 13:44:32 1999  Greg Badros  <gjb@cs.washington.edu>

	* base.scm: Fixed select-window-interactively-- it was badly
	broken from the message window rewrites

Sat Jan  9 11:27:10 1999  Greg Badros  <gjb@cs.washington.edu>

	* animation.scm: Fix some of the example animated-move-to calls;
	'x, 'y are no longer valid -- uses #f instead to mean "no change"


Greg

From owner-scwm-discuss@mit.edu  Fri Jan 22 17:26:36 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA24354
	for scwm-discuss-outgoing; Fri, 22 Jan 1999 17:26:36 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA24351
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 22 Jan 1999 17:26:35 -0500
Received: from smtp1.erols.com by MIT.EDU with SMTP
	id AA29531; Fri, 22 Jan 99 17:26:48 EST
Received: from alum.mit.edu (209-122-231-227.s227.tnt4.sbo.erols.com [209.122.231.227])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id RAA15780;
	Fri, 22 Jan 1999 17:26:23 -0500 (EST)
Message-Id: <36A8C7D8.271B3861@alum.mit.edu>
Date: Fri, 22 Jan 1999 13:47:52 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.34 i586)
Mime-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
Cc: Sam Falkner <samf@Central.Sun.COM>, scwm-discuss@mit.edu
Subject: Re: 0.9beta2
References: <199901221001.FAA20650@VICARIOUS-EXISTENCE.MIT.EDU> <ii7ognrp5k7.fsf@central.sun.com> <qrriudzfai9.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> I agree-- bug fixes should go into the .9 series.  In particular, here
> are three change log entries that definitely should have their
> corresponding patches in .9:
> 

Roger wilco, all bug fixes will be put in the release for sure. I guess
I will have to branch the affected files, so I may as well branch the
whole thing.

Any other missed bug fixes should also be caled to my attention.

 - Maciej

From owner-scwm-discuss@mit.edu  Fri Jan 22 23:09:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA26551
	for scwm-discuss-outgoing; Fri, 22 Jan 1999 23:09:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA26548
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 22 Jan 1999 23:09:37 -0500
Received: from ppp106.arden.ioa.com by MIT.EDU with SMTP
	id AA24110; Fri, 22 Jan 99 23:09:48 EST
Received: (from dres@localhost)
	by dres.elam.org (8.9.2/8.9.1/Debian/GNU) id XAA14691;
	Fri, 22 Jan 1999 23:08:08 -0500 (EST)
To: Todd Larason <jtl@molehill.org>
Cc: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: Debian?
References: <19990120144118.A7974@molehill.org>
X-Url: http://www.ioa.com/~dres
X-Organization: Debian/Software in the Public Interest
X-Attribution: Dres
X-Face:  "R3Ms&!j++.]J8DwisON-l7#S<Jw[MsP|I<K?28b~f-<w^vjeAQ-k@$-Az>OloY'V?!^-!2
 9G+7Z7OzClzr2{3e<RFn%f*t%B<*|sT->ni9BN\pzkTp<dg6+lOtI-rg*]Fjgr0n.=ChFX:_+T7fKT
 *Z[}xvSK"jV~QH7*v}xZ,1rlb+Ro`,)#2Econ*g^>}ehc,\AhKBZ\Sf/HVG+p\*?'(&ct2w6Fr:w9m
 o|9R&.D-)1]:&sN-6o'\`7W${f1$2BCy6qSl&._{ILYCZ?X-[?M!](N
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: James LewisMoss <dres@ioa.com>
Date: 22 Jan 1999 23:08:04 -0500
In-Reply-To: Todd Larason's message of "Wed, 20 Jan 1999 14:41:18 -0800"
Message-Id: <hhzp7abpi3.fsf@dres.elam.org>
Lines: 23
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>>> On Wed, 20 Jan 1999 14:41:18 -0800, Todd Larason <jtl@molehill.org> said:

 Todd> Are there any Debian developers here?  The Debian Weekly News
 Todd> (http://www.debian.org/~joeyh/weeklynews/) links to a message
 Todd> about the deep freeze of slink, 2.1
 Todd> (http://www.debian.org/~joeyh/weeklynews/weeklynews3.mail.html#1),
 Todd> that says that scwm is being removed, because "libguile4: hoses
 Todd> scwm (yet again)".

 Todd> Anyone know anything about this?

Yes.  libguile changed from one so number to another and back again
without providing backwards compatibility between each.  scwm linked
with one so number and broke when a new libguile was installed that
didn't provide a library with that so number.  Blech.  I was under the 
impression that someone was fixing it (recompile scwm is the only
needed fix).

Dres
-- 
@James LewisMoss <dres@ioa.com>         |  Blessed Be!
@    http://www.ioa.com/~dres           |  Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach

From owner-scwm-discuss@mit.edu  Sat Jan 23 04:07:11 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA29083
	for scwm-discuss-outgoing; Sat, 23 Jan 1999 04:07:11 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA29080
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 23 Jan 1999 04:07:09 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA20099; Sat, 23 Jan 99 04:07:22 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id LAA24078; Sat, 23 Jan 1999 11:07:03 +0200
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Crash with Jan 17th anon snapshot.
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 23 Jan 1999 11:07:03 +0200
In-Reply-To: James LewisMoss's message of "22 Jan 1999 23:08:04 -0500"
Message-Id: <m23e524atk.fsf_-_@blinky.bfr.co.il>
Lines: 46
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I just had a crash with the Jan 17th anon snapshot I made.  Here's
what I have as output from startx on it:

   Backtrace:
    0* [module-broadcast 64 5 ...]
    1* [map #<procedure (fmod)> ((#<output: write pipe 8> 9227263 #<procedure ()> ...))]
    2* [#<procedure (fmod)> (#<output: write pipe 8> 9227263 #<procedure ()> ...)]
    3* (let ((to-module-write #) (mask #)) (if (logior type mask) (fvwm2-module-send-packet type # ...)))
    4  (if (logior type mask) (fvwm2-module-send-packet type (apply string-append #) ...))
    5  [fvwm2-module-send-packet 64 ...
    6* [apply #<primitive-procedure string-append> ...
    7* [map #<procedure (x y)> (12582926 16777474 135047800 ...) ...]
    8* [#<procedure (x y)> 12582926 1]
    9* [long->string 12582926]
   10  (let* ((s #) (intx #)) (string-set! s 3 ...) ...)
   11* [string-set! "" 3 ...
   12* [integer->char ...
   13* [ash 12582926 ...

   ERROR: While evaluating arguments to ash in expression (ash intx -24):
   ERROR: rogue pointer in heap
   [Scwm][path_expand_image_fname]: <<WARNING>> Image file was not found: `unknown1.xpm'
   [Scwm][path_expand_image_fname]: <<WARNING>> Image file was not found: `xterm.xpm'


   waiting for X server to shut down xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"

   xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"

   xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"

   xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"

   xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"

   Connection lost to X server `:0.0'
   .

I presume I have something misconfigured which is keeping scwm from
finding the above pixmaps, but that's another story.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Sat Jan 23 17:02:27 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA32339
	for scwm-discuss-outgoing; Sat, 23 Jan 1999 17:02:27 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from mail.eaglets.com ([208.235.77.228])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id RAA32336
	for <scwm-discuss@huis-clos.mit.edu>; Sat, 23 Jan 1999 17:02:14 -0500
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Sat, 23 Jan 1999 17:01:04 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Sat, 23 Jan 1999 17:01:04 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id WAA10994;
	Fri, 22 Jan 1999 22:10:05 -0500 (EST)
To: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: Re: Release plans
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 22 Jan 1999 22:10:05 -0500
Message-ID: <m3aezabs6q.fsf@eho.eaglets.com>
Lines: 125
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej sent me the appended message which was meant for the list.
On his request, I am forwarding it.
My comments are marked as such.

------- Start of forwarded message -------
Message-ID: <36A946DD.60928B2F@alum.mit.edu>
Date: Fri, 22 Jan 1999 22:49:49 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
To: sds@goems.com
Subject: Re: Release plans
References: <36A7BD52.5B57554@alum.mit.edu> <m3iue0cchg.fsf@eho.eaglets.com>

Sam Steingold wrote:
>
> >>>> In message <36A7BD52.5B57554@alum.mit.edu>
> >>>> On the subject of "Release plans"
> >>>> Sent on Thu, 21 Jan 1999 18:50:42 -0500
> >>>> Honorable Maciej Stachowiak <mstachow@alum.mit.edu> writes:
>  >>
>  >> I would like to make a new scwm release RSN. However, I will not be
>  >> basing it on the latest source because I would rather not spend the
>  >> time looking at all the latest whiz-bang stuff, and doing testing
>  >> again (I have a source base that I previously tested on several
>  >> platforms and against several Guile versions). I will be putting out
>  >> a scwm-0.9beta2 shortly, and, modulo serious bugs, I would like to
>  >> just file off the version number after a couple of days, replace it
>  >> with 0.9, repackage the distribution, and announce it.
>
> Please note that SCWM crashes on startup when run under the current
> RawHide.  RawHide is not "alpha", everything else (like Emacs, Gnome,
> FVWM etc) runs under it just fine.  IMO, this bug should be fixed before
> 0.9 - to reproduce it, you just g/l glibc and glibc-devel from
> rawhide.redhat.com and install them (you can revert to your old version
> later).
>

I'll give it a shot, but if I can't track down the problem relatively
easily, this will have to wait for a point release after 0.9. I have a
fair to middling suspicion it is a glibc bug anyway given past reports,
but perhaps a workaround is possible.

[sds: cool!]

>  >> But do not despair of seeing the latest stuff in a stable release
>  >> sometime soon. I am hoping to make releases somewhat more frequent, and
>  >> thus I will try to make an 0.9.x release every couple of weeks when
>  >> there are whizzy new features or fixes until there's general agreement
>  >> that there should be an 0.10.
>
> I see no reason to carry the "beta" stigma any more, as (apart from the
> above) SCWM is rock solid.  I suggest making the next release 1.0
>

It's true that generally, scwm is pretty crash-free and usually does
what you expect, I think the version number "1.0", at least as seen by
the free software community thee days, makes a stronger promise. In
particular, I think it means users can expect a reasonably stable
interface for anything programmable, and that to the degree possible
quality of implementation issues and usability issues have been
addressed at least somewhat.

Even assuming that we wanted to release a 1.0 before the two planned
major rewrites, i.e. event model and decoration code (which may even be
a good idea), scwm still needs a lot of polish. In particular, I think
it needs the following things at least and probably more before we think
about 1.0:

[sds: we can release SCWM 1.0 and make the event/decoration re-writing a
      2.0.  The danger of never actually releasing the thing should,
      IMO, outweigh the danger of changing the interface.  We can adopt
      the Linux model: release 1.0.* as stable + bugfixes and make 1.1.*
      branch the development playground.  Releasing 1.0 will bring more
      users, thus more developers, thus faster event/decoration rewrite.]

* Color limiting capability. Right now using scwm on an 8-bit display
can eat a lot of images or lead to excessive color allocation failures.

* Faster image loading. This, as well as the previous problem, could
probably be solved through an Imlib module (or even pervasive use of
Imlib).

* A pager. For my purposes, supporting enough of the Gnome and KDE hints
to enable the use of their respective panel pagers would probably be
good enough.

[sds: agreed]

* Cleaned up APIs - a lot of the available procedures have silly
argument orders or are generally poorly designed.

[sds: should be in before 1.0]

* A bit of work to ensure destroying guile-gtk windows won't kill the
window manager.

[sds: must be in before 1.0]

* Finish up the theme stuff (native theme mode at least, loading foreign
theme formats would require more generalization of our decoration code),
and have a few nice themes to distribute, either with scwm or
separately.

[sds: can wait for 2.0]

* Address some of the minor behavioral annoyances people experience
occasionally.

* Have a really polished and useful system.scwmrc that showcases some of
the nicer features, but remains eminently usable.

[sds: sds.scwmrc does this, more or less :-]

* More stuff moved into loadable modules.

* Maybe a bit more visual generalization and/or polish based on work
already done in fvwm2 since the fork (e.g. diagonal gradients, non-tiled
titlebar images, NeXT-looking menu style, etc).

Come to think of it, that list does not sound entirely unreasonable. How
would other people feel about trying to polish off the infrastructure we
have enough to call it 1.0 before the major rewrites?

 - Maciej

------- End of forwarded message -------

From owner-scwm-discuss@mit.edu  Sun Jan 24 18:51:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA15849
	for scwm-discuss-outgoing; Sun, 24 Jan 1999 18:51:37 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from smtp4.erols.com (smtp4.erols.com [207.172.3.237])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id SAA15846
	for <scwm-discuss@ph.mit.edu>; Sun, 24 Jan 1999 18:51:34 -0500
Received: from alum.mit.edu (209-122-231-115.s115.tnt4.sbo.erols.com [209.122.231.115])
	by smtp4.erols.com (8.8.8/smtp-v1) with ESMTP id SAA13989
	for <scwm-discuss@ph.mit.edu>; Sun, 24 Jan 1999 18:51:32 -0500 (EST)
Message-ID: <36AB7EDD.CDE6A72B@alum.mit.edu>
Date: Sun, 24 Jan 1999 15:13:17 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.34 i586)
MIME-Version: 1.0
To: scwm-discuss@mit.edu
Subject: setvbuf problem
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I just tried running scwm built against the latest glibc from rawhide,
glibc-2.0.110-0.990121.i386.rpm
glibc-devel-2.0.110-0.990121.i386.rpm

It ran fine for me, on an otherwise stock Red Hat 5.1 i386 system.
In particular, I did not see a crash relating to setvbuf. Thus, I
will assume the original crash report was due to a local config
problem or a bg in glibc since fixed or something like that. I will
package beta3 in a while which should import all the bug fixes
reccomended to me, and should have regenerated docs and an updated
NEWS file. Barring further major problems (or further demonstrations
of the setvbuf bug), the official 0.9 will be released monday or tuesday
evening (EST).

 - Maciej

From owner-scwm-discuss@mit.edu  Mon Jan 25 03:00:02 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA24795
	for scwm-discuss-outgoing; Mon, 25 Jan 1999 03:00:02 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from smtp3.erols.com (smtp3.erols.com [207.172.3.236])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id DAA24792
	for <scwm-discuss@ph.mit.edu>; Mon, 25 Jan 1999 03:00:00 -0500
Received: from alum.mit.edu (209-122-231-149.s149.tnt4.sbo.erols.com [209.122.231.149])
	by smtp3.erols.com (8.8.8/8.8.5) with ESMTP id CAA14629
	for <scwm-discuss@ph.mit.edu>; Mon, 25 Jan 1999 02:59:58 -0500 (EST)
Message-ID: <36ABF15B.203D40D2@alum.mit.edu>
Date: Sun, 24 Jan 1999 23:21:48 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.34 i586)
MIME-Version: 1.0
To: scwm-discuss@mit.edu
Subject: scwm-0.9beta3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

OK, it's available at ftp://ph.mit.edu/pub/scwm/scwm-0.9beta3.tar.gz

I've imported all bug fixes from th development since the beta2 source
base. I also regenerated the docs. The only likely change before 0.9 
goes out (in a day or two) is an editing of the newer entries in the
NEWS file and a change of the version number.

If someone can show me how to reproduce the glibc-2.1xx problems I am 
willing to adress that too, but as I mentioned in another message, scwm 
works fine for me linked against it.

I would like to make an RPM (and other packages people might be 
interested in) available at the same time as, or shortly after the
release. I saw glancing over my subject headers (not caught up on mail
yet) that someone had made one from CVS sources, it would be great if
the spec could be checked in or else someone could build the package
when 0.9 comes out.

 - Maciej

From owner-scwm-discuss@mit.edu  Mon Jan 25 08:07:50 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id IAA27224
	for scwm-discuss-outgoing; Mon, 25 Jan 1999 08:07:50 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id IAA27221
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 25 Jan 1999 08:07:44 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA15025; Mon, 25 Jan 99 08:07:26 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id PAA15021; Mon, 25 Jan 1999 15:07:28 +0200
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: scwm-0.9beta3
References: <36ABF15B.203D40D2@alum.mit.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 25 Jan 1999 15:07:28 +0200
In-Reply-To: Maciej Stachowiak's message of "Sun, 24 Jan 1999 23:21:48 -0500"
Message-Id: <m2iudvwlf3.fsf@blinky.bfr.co.il>
Lines: 44
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

 > OK, it's available at ftp://ph.mit.edu/pub/scwm/scwm-0.9beta3.tar.gz
 > 
 > I've imported all bug fixes from th development since the beta2 source
 > base. I also regenerated the docs. The only likely change before 0.9 
 > goes out (in a day or two) is an editing of the newer entries in the
 > NEWS file and a change of the version number.
 > 
 > If someone can show me how to reproduce the glibc-2.1xx problems I am 
 > willing to adress that too, but as I mentioned in another message, scwm 
 > works fine for me linked against it.
 > 
 > I would like to make an RPM (and other packages people might be 
 > interested in) available at the same time as, or shortly after the
 > release. I saw glancing over my subject headers (not caught up on mail
 > yet) that someone had made one from CVS sources, it would be great if
 > the spec could be checked in or else someone could build the package
 > when 0.9 comes out.

I built it from the CVS sources.  The source & i386 binary RPMs are on
ftp://ph.mit.edu/pub/scwm/.  You should be able to just unpack it, put
the new tar file in /usr/src/redhat/SOURCES, edit
/usr/src/redhat/SPECS/scwm.spec to change the version, and do rpm -ba
/usr/src/redhat/SPECS/scwm.spec to build the new RPMs.

I'd check the scwm.spec file into CVS, but it really should be
configured to use the correct version.  I guess I could just try to
mimic what's done with other .in files...  If make includes the
scwm.spec file in the tar.gz file, then you can do:

   rpm -ta scwm-<version>.tar.gz 

to build the RPMs.

I can build it again, assuming I can manage to download it (network
connectivity problems lately), but it would be nice for the repository
to automatically build the RPMs when it builds the tar.gz
distributions.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Mon Jan 25 09:24:20 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA27734
	for scwm-discuss-outgoing; Mon, 25 Jan 1999 09:24:20 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA27731
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 25 Jan 1999 09:24:15 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA19607; Mon, 25 Jan 99 09:24:29 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Mon, 25 Jan 1999 09:23:06 -0500
Received: by mail.eaglets.com from  [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Mon, 25 Jan 1999 09:23:06 -0500
Received: (from sds@localhost)
	by  (8.9.2/8.9.2) id RAA00837;
	Sun, 24 Jan 1999 17:39:51 -0500 (EST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: setvbuf problem
References: <36AB7EDD.CDE6A72B@alum.mit.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Maciej Stachowiak's message of "Sun, 24 Jan 1999 15:13:17 -0500"
Date: 24 Jan 1999 17:39:51 -0500
Message-Id: <m3vhhwxpl4.fsf@eho.eaglets.com>
Lines: 22
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <36AB7EDD.CDE6A72B@alum.mit.edu>
>>>> On the subject of "setvbuf problem"
>>>> Sent on Sun, 24 Jan 1999 15:13:17 -0500
>>>> Honorable Maciej Stachowiak <mstachow@alum.mit.edu> writes:
 >> I just tried running scwm built against the latest glibc from rawhide,
 >> glibc-2.0.110-0.990121.i386.rpm
 >> glibc-devel-2.0.110-0.990121.i386.rpm
 >> 
 >> It ran fine for me, on an otherwise stock Red Hat 5.1 i386 system.
 >> In particular, I did not see a crash relating to setvbuf.

It runs fine now for me too - wow, it's so sweet to be back in the sane
world again! :-)

It did crash with glibc-2.0.105 through 2.0.109 though (although I feel
guilty now about all the fuss I made).

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
cogito cogito ergo cogito sum

From owner-scwm-discuss@mit.edu  Mon Jan 25 10:41:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA28238
	for scwm-discuss-outgoing; Mon, 25 Jan 1999 10:41:59 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA28235
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 25 Jan 1999 10:41:57 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA19137; Mon, 25 Jan 99 10:42:13 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id HAA05828; Mon, 25 Jan 1999 07:41:49 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: scwm-0.9beta3
References: <36ABF15B.203D40D2@alum.mit.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Jan 1999 07:41:49 -0800
In-Reply-To: Maciej Stachowiak's message of "Sun, 24 Jan 1999 23:21:48 -0500"
Message-Id: <qrr90ere4w2.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

<snip>

> I would like to make an RPM (and other packages people might be 
> interested in) available at the same time as, or shortly after the
> release. I saw glancing over my subject headers (not caught up on mail
> yet) that someone had made one from CVS sources, it would be great if
> the spec could be checked in or else someone could build the package
> when 0.9 comes out.

I checked the scwm.spec file in a couple of days ago.

Greg

From owner-scwm-discuss@mit.edu  Mon Jan 25 15:02:15 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA30382
	for scwm-discuss-outgoing; Mon, 25 Jan 1999 15:02:15 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id PAA30379
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 25 Jan 1999 15:02:14 -0500
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id OAA13943
	for <scwm-discuss@ph.mit.edu>; Mon, 25 Jan 1999 14:52:54 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id PAA06937
	for <scwm-discuss@ph.mit.edu>; Mon, 25 Jan 1999 15:02:12 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA19540; Mon, 25 Jan 99 15:02:11 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id PAA20666; Mon, 25 Jan 1999 15:00:07 -0500
Message-Id: <36ACCD47.2112C10F@alum.mit.edu>
Date: Mon, 25 Jan 1999 15:00:07 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: scwm-discuss@mit.edu
Subject: key binding issues
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

There's a bit of a debate (to put it mildly) going on about a potential
key binding standard for window managers. I've been trying to represent
the scwm user community as best I can, but I feel I should ask for
opinions on the most controversial issue.

Basically, the problem is that just about all bindings involving any one
or two of the three common X modifiers (Control, Shift, Alt/Meta) are
already taken by apps, most notably (X)Emacs and Mozilla.

Various people (including me) have proposed the following (admittedly
sucky) solutions:

1) Use Control+Alt+Shift as the modifier combination. Awkward as hell
but unlikely
to conflict.

2) Use Hyper since it conflicts with no apps; have users or distributors
bind some 
unused key to Hyper.

3) Both of the above.


Other people have proposed that breaking existing "obscure emacs
keybindings" is an OK thing to do in a standard, if that will enable it 
to both work on more limited keyboards gracefully, and make it 
more friendly to novice users.

I've been arguing that breaking keybindings of widely used apps is
unacceptable. I am curious what people here think about the issue.

Please send comments to me personally at <mstachow@alum.mit.edu>, I
wouldn't want the flamewar to accidentally spread here. If scwm user 
opinion is against me I will reverse my view.

<windowman@sorted.org> is one place to watch the original carnage
unfold, if anyone cares, but again, please don't bring it here.

 - Maciej

From owner-scwm-discuss@mit.edu  Mon Jan 25 16:01:08 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA30826
	for scwm-discuss-outgoing; Mon, 25 Jan 1999 16:01:08 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA30823
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 25 Jan 1999 16:01:07 -0500
Received: from news.mtu.edu by MIT.EDU with SMTP
	id AA05002; Mon, 25 Jan 99 16:00:49 EST
Received: from mtu.edu (root@mtu.edu [141.219.70.1])
	by news.mtu.edu (8.8.8/8.8.8) with ESMTP id PAA12772
	for <scwm-discuss@mit.edu>; Mon, 25 Jan 1999 15:07:07 -0500 (EST)
Received: from wiley.sas.it.mtu.edu (wiley.sas.it.mtu.edu [141.219.36.70])
	by mtu.edu (8.8.8/8.8.8) with ESMTP id PAA23641
	for <scwm-discuss@mit.edu>; Mon, 25 Jan 1999 15:07:02 -0500 (EST)
Received: (from adisaacs@localhost)
	by wiley.sas.it.mtu.edu (8.8.7/8.8.7/mturelay-1.2) id PAA05095
	for scwm-discuss@mit.edu; Mon, 25 Jan 1999 15:06:54 -0500 (EST)
Date: Mon, 25 Jan 1999 15:06:54 -0500
From: Andrew Isaacson <adisaacs@mtu.edu>
To: scwm-discuss@mit.edu
Subject: Re: key binding issues
Message-Id: <19990125150654.C1611@mtu.edu>
References: <36ACCD47.2112C10F@alum.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95i
In-Reply-To: <36ACCD47.2112C10F@alum.mit.edu>; from Maciej Stachowiak on Mon, Jan 25, 1999 at 03:00:07PM -0500
X-Pgp-Fingerprint: 48 01 21 E2 D4 E4 68 D1  B8 DF 39 B2 AF A3 16 B9
X-Pgp-Key-Url: http://www.csl.mtu.edu/~adisaacs/pgp.txt
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Mon, Jan 25, 1999 at 03:00:07PM -0500, Maciej Stachowiak wrote:
> <windowman@sorted.org> is one place to watch the original carnage
> unfold, if anyone cares, but again, please don't bring it here.

Are there archives available anywhere?

-andy
-- 
Andy Isaacson adisaacs@mtu.edu adi@acm.org    Fight Spam, join CAUCE:
http://www.csl.mtu.edu/~adisaacs/              http://www.cauce.org/

From owner-scwm-discuss@mit.edu  Mon Jan 25 16:33:58 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA31086
	for scwm-discuss-outgoing; Mon, 25 Jan 1999 16:33:58 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA31083
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 25 Jan 1999 16:33:58 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA17992; Mon, 25 Jan 99 16:33:38 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id XAA18675; Mon, 25 Jan 1999 23:33:45 +0200
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: key binding issues
References: <36ACCD47.2112C10F@alum.mit.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 25 Jan 1999 23:33:45 +0200
In-Reply-To: Maciej Stachowiak's message of "Mon, 25 Jan 1999 15:00:07 -0500"
Message-Id: <m2d843ghqe.fsf@blinky.bfr.co.il>
Lines: 23
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

 > Other people have proposed that breaking existing "obscure emacs
 > keybindings" is an OK thing to do in a standard, if that will enable it 
 > to both work on more limited keyboards gracefully, and make it 
 > more friendly to novice users.
 > 
 > I've been arguing that breaking keybindings of widely used apps is
 > unacceptable. I am curious what people here think about the issue.

For what it's worth, I agree with you.  If it breaks emacs I don't
want it.  On the other hand, if it really is "obscure emacs
keybindings", as in a handful of rarely used emacs cmds that have to
be rebound, well, emacs key bindings have changed before, although I
guess it's typically been for uniformity or logical grouping (such as
narrow & widen changing from ^x-n & ^x-w to ^x-n-n & ^x-n-w from v18
to v19).  If the wm has to steal a few bindings & apps can yield them
by becomming more uniform or logical, then it'd be better all around.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Mon Jan 25 16:51:44 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA31220
	for scwm-discuss-outgoing; Mon, 25 Jan 1999 16:51:44 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA31217
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 25 Jan 1999 16:51:43 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA25132; Mon, 25 Jan 99 16:51:24 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id XAA18768; Mon, 25 Jan 1999 23:51:35 +0200
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: key binding issues
References: <36ACCD47.2112C10F@alum.mit.edu> <m2d843ghqe.fsf@blinky.bfr.co.il>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 25 Jan 1999 23:51:35 +0200
In-Reply-To: hjstein@bfr.co.il's message of "25 Jan 1999 23:33:45 +0200"
Message-Id: <m24spfggwo.fsf@blinky.bfr.co.il>
Lines: 7
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Oops.  Sorry.  I didn't mean to reply to the list...

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Mon Jan 25 17:00:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA31390
	for scwm-discuss-outgoing; Mon, 25 Jan 1999 17:00:29 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA31387
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 25 Jan 1999 17:00:28 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA09176; Mon, 25 Jan 99 17:00:42 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id AAA18818; Tue, 26 Jan 1999 00:00:24 +0200
To: scwm-discuss@mit.edu
Subject: two jan 17th snapshot bugs - 
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 26 Jan 1999 00:00:24 +0200
In-Reply-To: hjstein@bfr.co.il's message of "25 Jan 1999 23:33:45 +0200"
Message-Id: <m21zkjgghz.fsf_-_@blinky.bfr.co.il>
Lines: 15
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I've found 2 bugs in the Jan 17th snapshot I built.

1. My first 1 or more resizes of windows don't rubberband.  Eventually
   it switches to rubberbanding.  Especially ugly with X windows over
   slow connections, or with Netscape for that matter.
2. I managed to get the window size to display for resizes (using (app
   scwm message-window)), but not for window moves.  Also, the resize
   display is in pixels for windows whose sizes are in rows/columns
   (e.g. - emacs & xterms).

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Mon Jan 25 20:23:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA32640
	for scwm-discuss-outgoing; Mon, 25 Jan 1999 20:23:29 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA32637
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 25 Jan 1999 20:23:28 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA22700; Mon, 25 Jan 99 20:23:11 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA08386; Mon, 25 Jan 1999 17:23:18 -0800 (PST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@mit.edu
Subject: Re: two jan 17th snapshot bugs -
References: <m21zkjgghz.fsf_-_@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Jan 1999 17:23:17 -0800
In-Reply-To: hjstein@bfr.co.il's message of "26 Jan 1999 00:00:24 +0200"
Message-Id: <qrraez6ddyy.fsf@elwha.cs.washington.edu>
Lines: 31
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> I've found 2 bugs in the Jan 17th snapshot I built.
> 
> 1. My first 1 or more resizes of windows don't rubberband.  Eventually
>    it switches to rubberbanding.  Especially ugly with X windows over
>    slow connections, or with Netscape for that matter.

You mean they go opaquely or they don't do anything at all?  I can't
test this because the constraint solver turns rubber-banding off.  I'll
let someone else field this.

> 2. I managed to get the window size to display for resizes (using (app
>    scwm message-window)), but not for window moves.  Also, the resize
>    display is in pixels for windows whose sizes are in rows/columns
>    (e.g. - emacs & xterms).

The first of these problems I fixed on Jan 23.... see
scwm/scheme/ChangeLog.  The second I'm fixing now by adding more
parameters to the resize hooks.  It looks like we need 7 arguments: the
window, the x-position, the y-position, the width in pix, the height in
pix, the width in client units, and the height in client units.  (We
were only passing 3 before).  Note that the reason the window itself
can't give all the information is that during rubber-band resizing, the
window position/size doesn't actually change, so it needs to be directly 
reported by the hook.

Thanks!

Greg


From owner-scwm-discuss@mit.edu  Mon Jan 25 20:26:21 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA32678
	for scwm-discuss-outgoing; Mon, 25 Jan 1999 20:26:21 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA32675
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 25 Jan 1999 20:26:11 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA23217; Mon, 25 Jan 99 20:25:53 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA08389; Mon, 25 Jan 1999 17:26:08 -0800 (PST)
To: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: Re: Release plans
References: <m3aezabs6q.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Jan 1999 17:26:08 -0800
In-Reply-To: Sam Steingold's message of "22 Jan 1999 22:10:05 -0500"
Message-Id: <qrr90eqddu7.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

<snip>

> * A bit of work to ensure destroying guile-gtk windows won't kill the
> window manager.
> 
> [sds: must be in before 1.0]

Do we know if this is possible and/or practical.  I.e., do we have an
implementation strategy for this?  The best I can think to do is not let 
Scwm destroy such a window, but "xkill" still could.

<snip>

Greg

From owner-scwm-discuss@mit.edu  Tue Jan 26 03:49:20 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA03392
	for scwm-discuss-outgoing; Tue, 26 Jan 1999 03:49:20 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from smtp1.erols.com (smtp1.erols.com [207.172.3.234])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id DAA03389
	for <scwm-discuss@ph.mit.edu>; Tue, 26 Jan 1999 03:49:19 -0500
Received: from alum.mit.edu (209-122-231-5.s5.tnt4.sbo.erols.com [209.122.231.5])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id DAA19902;
	Tue, 26 Jan 1999 03:49:15 -0500 (EST)
Message-ID: <36AD4DFE.25BD9613@alum.mit.edu>
Date: Tue, 26 Jan 1999 00:09:18 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.34 i586)
MIME-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
Subject: Re: Release plans
References: <m3aezabs6q.fsf@eho.eaglets.com> <qrr90eqddu7.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> Sam Steingold <sds@goems.com> writes:
> 
> <snip>
> 
> > * A bit of work to ensure destroying guile-gtk windows won't kill the
> > window manager.
> >
> > [sds: must be in before 1.0]
> 
> Do we know if this is possible and/or practical.  I.e., do we have an
> implementation strategy for this?  The best I can think to do is not let
> Scwm destroy such a window, but "xkill" still could.
> 

Yeah, that's what I meant; apparently this can be done using Gtk's
internal window-ID to GtkWidget object mapping.

xkill I''m not too concerned about, the main reason wm-internal 
destruction is a problem is that people often put it as a menu item
and don't expect it to crash the wm.

I'm satisfied to say that if you xkill. you must know what you are 
doing.

 - Maciej

From owner-scwm-discuss@mit.edu  Tue Jan 26 05:27:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA03851
	for scwm-discuss-outgoing; Tue, 26 Jan 1999 05:27:59 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA03848
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 26 Jan 1999 05:27:56 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA18768; Tue, 26 Jan 99 05:28:10 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id MAA23414; Tue, 26 Jan 1999 12:27:26 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: two jan 17th snapshot bugs -
References: <m21zkjgghz.fsf_-_@blinky.bfr.co.il> <qrraez6ddyy.fsf@elwha.cs.washington.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 26 Jan 1999 12:27:25 +0200
In-Reply-To: Greg Badros's message of "25 Jan 1999 17:23:17 -0800"
Message-Id: <m2k8ya5nxu.fsf@blinky.bfr.co.il>
Lines: 23
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > hjstein@bfr.co.il (Harvey J. Stein) writes:
 > 
 > > I've found 2 bugs in the Jan 17th snapshot I built.
 > > 
 > > 1. My first 1 or more resizes of windows don't rubberband.  Eventually
 > >    it switches to rubberbanding.  Especially ugly with X windows over
 > >    slow connections, or with Netscape for that matter.
 > 
 > You mean they go opaquely or they don't do anything at all?  I can't
 > test this because the constraint solver turns rubber-banding off.  I'll
 > let someone else field this.

I'm not sure what you mean by "go opaquely".  It resizes, but not with
rubberbanding.  It looks like the app keeps getting resize messages,
causing it to regenerate the window over & over again as I, for
example, drag the right edge to the right.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Jan 26 07:07:47 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA04916
	for scwm-discuss-outgoing; Tue, 26 Jan 1999 07:07:47 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id HAA04913
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 26 Jan 1999 07:07:44 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA26493; Tue, 26 Jan 99 07:07:59 EST
Received: (qmail 3788 invoked by uid 501); 26 Jan 1999 12:07:53 -0000
Message-Id: <19990126040753.A3441@molehill.org>
Date: Tue, 26 Jan 1999 04:07:53 -0800
From: Todd Larason <jtl@molehill.org>
To: Maciej Stachowiak <mstachow@alum.mit.edu>, scwm-discuss@mit.edu
Subject: Re: scwm-0.9beta3
References: <36ABF15B.203D40D2@alum.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <36ABF15B.203D40D2@alum.mit.edu>; from Maciej Stachowiak on Sun, Jan 24, 1999 at 11:21:48PM -0500
X-Kibo: Smell Kibology, and learn about flowers!
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990124, Maciej Stachowiak wrote:
> If someone can show me how to reproduce the glibc-2.1xx problems I am 
> willing to adress that too, but as I mentioned in another message, scwm 
> works fine for me linked against it.

I (finally) have a machine where I can reproduce it.  I installed redhat 5.2,
then upgraded/installed:

autoconf-2.13-1			BlueSky 
automake-1.3b-4			BlueSky 
glibc-2.0.109-0.990112		BlueSky 
glibc-debug-2.0.109-0.990112	BlueSky 
glibc-devel-2.0.109-0.990112	BlueSky 
glibc-profile-2.0.109-0.990112  BlueSky 
guile-rhcn-1.3-3		Red Hat Contrib|Net
guile-rhcn-devel-1.3-3		Red Hat Contrib|Net
kernel-2.1.133-1		BlueSky 
kernel-headers-2.1.133-1	BlueSky 
kernel-source-2.1.133-1		BlueSky 
libtool-1.2d-1			BlueSky 
ssh-1.2.26-3i			(none)
ssh-clients-1.2.26-3i		(none)
ssh-extras-1.2.26-3i		(none)
ssh-server-1.2.26-3i		(none)
sudo-1.5.7p4-1			(none)

(listing for completeness, in case anyone else tries to recreate the setup).

It appears to be a bug in either guile or glibc.  Something very strange is
happening between scm_init_standard_ports() (guile 1.3, libguile/init.c:267)
267       scm_def_inp
268         = scm_standard_stream_to_port (stdin, 
269                                        (isatty (fileno (stdin)) ? "r0" : "r"),
270                                        "standard input");

and scm_standard_stream_to_port (guile, libguile/fports.c:358)
355     SCM
356     scm_standard_stream_to_port (FILE *file, char *mode, char *name)
357     {
358       SCM port = scm_stdio_to_port (file, mode, scm_makfrom0str (name));
359       scm_set_port_revealed_x (port, SCM_MAKINUM (1));
360       return port;
361     }

#1  0x401217ea in scm_init_standard_ports () at init.c:267
267       scm_def_inp
(gdb) p stdin
$66 = (FILE *) 0x402be800
#0  scm_standard_stream_to_port (file=0x401cf510, mode=0x4014e528 "r0", 
    name=0x4014e519 "standard input") at fports.c:358
358       SCM port = scm_stdio_to_port (file, mode, scm_makfrom0str (name));
(gdb) p file
$67 = (_IO_FILE *) 0x401cf510

I don't understand why gdb thinks the types are different, nor how the value
changed, unless isatty or fileno are munging the stack, or a compiler bug is
being prodded. 

I can give access to this machine to anyone who wants to take a serious look
at it.

From owner-scwm-discuss@mit.edu  Tue Jan 26 07:17:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA04996
	for scwm-discuss-outgoing; Tue, 26 Jan 1999 07:17:17 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id HAA04993
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 26 Jan 1999 07:17:11 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA10925; Tue, 26 Jan 99 07:16:48 EST
Received: (qmail 4089 invoked by uid 501); 26 Jan 1999 12:17:17 -0000
Message-Id: <19990126041717.A3991@molehill.org>
Date: Tue, 26 Jan 1999 04:17:17 -0800
From: Todd Larason <jtl@molehill.org>
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: setvbuf problem
References: <36AB7EDD.CDE6A72B@alum.mit.edu> <m3vhhwxpl4.fsf@eho.eaglets.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <m3vhhwxpl4.fsf@eho.eaglets.com>; from Sam Steingold on Sun, Jan 24, 1999 at 05:39:51PM -0500
X-Kibo: Kibo could wrap up Kibo.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990124, Sam Steingold wrote:
> It did crash with glibc-2.0.105 through 2.0.109 though (although I feel
> guilty now about all the fuss I made).

Oops, wish I'd seen this about 4 hours ago.  

Anyone have the glibc-2.0.110 source?  I'm curious now what the problem
actually was.  Redhat's rawhide ftp site doesn't have an SRPM to match their
current RPM.

From owner-scwm-discuss@mit.edu  Tue Jan 26 10:30:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA06602
	for scwm-discuss-outgoing; Tue, 26 Jan 1999 10:30:59 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA06599
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 26 Jan 1999 10:30:28 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA28181; Tue, 26 Jan 99 10:30:03 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id HAA09351; Tue, 26 Jan 1999 07:30:05 -0800 (PST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@mit.edu
Subject: Re: two jan 17th snapshot bugs -
References: <m21zkjgghz.fsf_-_@blinky.bfr.co.il> <qrraez6ddyy.fsf@elwha.cs.washington.edu> <m2k8ya5nxu.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 26 Jan 1999 07:30:05 -0800
In-Reply-To: hjstein@bfr.co.il's message of "26 Jan 1999 12:27:25 +0200"
Message-Id: <qrrr9siaw76.fsf@elwha.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
>  > hjstein@bfr.co.il (Harvey J. Stein) writes:
>  > 
>  > > I've found 2 bugs in the Jan 17th snapshot I built.
>  > > 
>  > > 1. My first 1 or more resizes of windows don't rubberband.  Eventually
>  > >    it switches to rubberbanding.  Especially ugly with X windows over
>  > >    slow connections, or with Netscape for that matter.
>  > 
>  > You mean they go opaquely or they don't do anything at all?  I can't
>  > test this because the constraint solver turns rubber-banding off.  I'll
>  > let someone else field this.
> 
> I'm not sure what you mean by "go opaquely".  It resizes, but not with
> rubberbanding.  It looks like the app keeps getting resize messages,
> causing it to regenerate the window over & over again as I, for
> example, drag the right edge to the right.

"go opaquely" means "do an opaque resize".  I.e., shows the full window
and its contents over and over again as the size changes.  Sounds like
that's what you're getting.  Don't know why, though.

Greg

From owner-scwm-discuss@mit.edu  Tue Jan 26 23:11:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA11333
	for scwm-discuss-outgoing; Tue, 26 Jan 1999 23:11:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA11330
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 26 Jan 1999 23:11:43 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA18214; Tue, 26 Jan 99 23:11:18 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id UAA11590; Tue, 26 Jan 1999 20:11:32 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: two jan 17th snapshot bugs -
References: <m21zkjgghz.fsf_-_@blinky.bfr.co.il> <qrraez6ddyy.fsf@elwha.cs.washington.edu> <36AD5130.606D327D@alum.mit.edu> <qrrpv82aw28.fsf@elwha.cs.washington.edu> <36AE2DE3.A8288A0D@alum.mit.edu> <qrriudtsc9r.fsf@elwha.cs.washington.edu> <36AE5283.1FAB1FF0@alum.mit.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 26 Jan 1999 20:11:31 -0800
In-Reply-To: Maciej Stachowiak's message of "Tue, 26 Jan 1999 18:40:51 -0500"
Message-Id: <qrrd841s6bw.fsf@elwha.cs.washington.edu>
Lines: 67
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> > That's what we do say it is, but what I don't want to do is to have the
> > window report its position as changed when the actual window is not in
> > the new position (only the rubberband is).  This is a fundamental
> > invariant that I'm afraid to let disappear.
> > 
> 
> Care to elaborate why? 

Just because it feels wrong to break it... it messes with my mental
model that window-position returns where the window is at.  During a
rubberband move, my model is that the window hasn't really moved until
after.

> 
> My opinion: The only possible clients interested in the position during
> interactive operations are the contraint stuff and the interactive
> move/resize and
> in both cases I imagine the rubber band position is more interesting.
> And since
> the server is grabbed whille rubber banding, other clients will not be
> messing with
> the window.

Seems logical given the current state of affairs, but invariants are
about reducing surprises in the future not about what works in the here
and now.  

> 
> I am willing to listen to why you think this is a bad idea however.
> 
> (Side notes: I would like to change move-window and resize-window to be
> able to operate
> from within the move/resize hooks and operate on the rubber band if
> appropriate. This will
> be very useful for implementing grid snap or something like the current
> fvwm's snap 
> attraction. I believe it will also make the move and resize hooks
> powerful enough that
> the constraint code could consider moving to that interface. Mmmm, yummy
> generality.

I'm not sure if that will work as I hope to expand constraints to deal
with more than just window positions, etc.

> Also at some point I want to copy enlightenment's "translucent move"
> gratuitous eye candy, I 
> mean code, and I believe that hides the window _and_ moves a rubber-band
> like object (a 50%
> alpha transparent copy of the window) and in that case I think only the
> interactive position
> is meaningful.)

I agree that updating the window position/size during non-opaque
moves/resizes could work, and don't mind if it changes, but I don't
think it's definitively better than passing the extra arguments, and
there are other things more in need of our efforts.

> PS one of us forgot to CC the list at some point. Whoops. I am still
> getting used to a new 
> mail client so it was probably me (I really need to switch to using Gnus
> on my new account).
> Feel free to respond on the list if you want to.

Back on the list.... welcome back folks-- you missed nothing as I fully
quoted Maciej.

From owner-scwm-discuss@mit.edu  Wed Jan 27 00:13:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id AAA11857
	for scwm-discuss-outgoing; Wed, 27 Jan 1999 00:13:38 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id AAA11854
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 27 Jan 1999 00:13:36 -0500
Received: from smtp4.erols.com by MIT.EDU with SMTP
	id AA28227; Wed, 27 Jan 99 00:13:10 EST
Received: from alum.mit.edu (209-122-231-54.s54.tnt4.sbo.erols.com [209.122.231.54])
	by smtp4.erols.com (8.8.8/smtp-v1) with ESMTP id AAA05012;
	Wed, 27 Jan 1999 00:13:25 -0500 (EST)
Message-Id: <36AE6CE8.762C53A1@alum.mit.edu>
Date: Tue, 26 Jan 1999 20:33:28 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: two jan 17th snapshot bugs -
References: <m21zkjgghz.fsf_-_@blinky.bfr.co.il> <qrraez6ddyy.fsf@elwha.cs.washington.edu> <36AD5130.606D327D@alum.mit.edu> <qrrpv82aw28.fsf@elwha.cs.washington.edu> <36AE2DE3.A8288A0D@alum.mit.edu> <qrriudtsc9r.fsf@elwha.cs.washington.edu> <36AE5283.1FAB1FF0@alum.mit.edu> <qrrd841s6bw.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> 
> > > That's what we do say it is, but what I don't want to do is to have the
> > > window report its position as changed when the actual window is not in
> > > the new position (only the rubberband is).  This is a fundamental
> > > invariant that I'm afraid to let disappear.
> > >
> >
> > Care to elaborate why?
> 
> Just because it feels wrong to break it... it messes with my mental
> model that window-position returns where the window is at.  During a
> rubberband move, my model is that the window hasn't really moved until
> after.
> 

My mental model is that it has, it's just not showing that way yet. I
think
anything observing it

> >
> > My opinion: The only possible clients interested in the position during
> > interactive operations are the contraint stuff and the interactive
> > move/resize and
> > in both cases I imagine the rubber band position is more interesting.
> > And since
> > the server is grabbed whille rubber banding, other clients will not be
> > messing with
> > the window.
> 
> Seems logical given the current state of affairs, but invariants are
> about reducing surprises in the future not about what works in the here
> and now.
> 

I guess I am trying to say that the invariant "geometry stored in the
window 
struct == the geometry of the current interactive placeholder during an 
interactive move" will not break anything current or future that I can
think
of, and will not be harmful in the future if we document it properly, as
compared
to the current invariant of "geometry stored in the window struct == the
geometry
of the real actual window on screen". Now, it may be that a good way to
implement
this would be to add "placeholder geometry" fields which are what the
Scheme level
sees during an interactive move, while the real geometry fields are
unaffected
on moves or resizes that use rubberbands or other placeholders. But
whatever 
implementation strategy is taken, I think this sort of move will make it
much easier
to write Scheme-level code that hooks into the move or resize loops and
interacts
well with all the interactive action types.

>
> >
> > I am willing to listen to why you think this is a bad idea however.
> >
> > (Side notes: I would like to change move-window and resize-window to be
> > able to operate
> > from within the move/resize hooks and operate on the rubber band if
> > appropriate. This will
> > be very useful for implementing grid snap or something like the current
> > fvwm's snap
> > attraction. I believe it will also make the move and resize hooks
> > powerful enough that
> > the constraint code could consider moving to that interface. Mmmm, yummy
> > generality.
> 
> I'm not sure if that will work as I hope to expand constraints to deal
> with more than just window positions, etc.

Then they will need other appropriate hooks. What I'm saying is, I think
that
will enable constraints to start hooking in the event loop through the
generic
hook mechanism rather than through special-purpose calls. This will move
us towards
the goal of making contraints a loadable module rather than a
compile-time option.

Either way, I think the thig about the grid snap applies - grid snap
needs
to be able to move either the window itself or the window or whatever is
representing it. We may as well make this equivalent to moving the
window 
since moving the _acutal_ client window during a rubber band move is
likely to 
break things. 

> > Also at some point I want to copy enlightenment's "translucent move"
> > gratuitous eye candy, I
> > mean code, and I believe that hides the window _and_ moves a rubber-band
> > like object (a 50%
> > alpha transparent copy of the window) and in that case I think only the
> > interactive position
> > is meaningful.)
> 
> I agree that updating the window position/size during non-opaque
> moves/resizes could work, and don't mind if it changes, but I don't
> think it's definitively better than passing the extra arguments, and
> there are other things more in need of our efforts.

That's true, but when details (like passing apparently excessive numbers
of
arguments to hooks) bug me I like to at least have an idea of the
long-term
way to deal with it.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Jan 27 02:02:04 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA19599
	for scwm-discuss-outgoing; Wed, 27 Jan 1999 02:02:04 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA19592
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 27 Jan 1999 02:01:51 -0500
Received: from dur.tbit.dk by MIT.EDU with SMTP
	id AA28894; Wed, 27 Jan 99 02:01:59 EST
Received: from baguette (chlh.tbit.dk [194.182.135.163])
	by dur.tbit.dk (8.8.8/8.8.8) with ESMTP id IAA24754
	for <scwm-discuss@mit.edu>; Wed, 27 Jan 1999 08:01:34 +0100 (MET)
Received: by baguette
	id m105Oyi-000ypTC
	(Debian Smail-3.2.0.101 1997-Dec-17 #2); Wed, 27 Jan 1999 08:01:32 +0100 (CET)
From: Christian Lynbech <lynbech@defun.ml.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <13998.47564.300504.477944@baguette>
Date: Wed, 27 Jan 1999 08:01:32 +0100 (CET)
To: scwm-discuss@mit.edu
Subject: problems building scwm (9.0beta3) without c++
X-Mailer: VM 6.59 under Emacs 20.3.2
Comments: Hyperbole mail buttons accepted, v04.023.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

It appears that there are problems in building SCWM (9.0beta3) without
having C++ available.

The ChangeLog contains a workaround involving setting CXX and friends
to point to gcc (which really should be mentioned in INSTALL), but
with gcc this doesn't work. The test file generated is named contest.C
and this capital C makes gcc barf with something like:

    baguette:scwm> gcc -o test test.C
    gcc: installation problem, cannot exec `cc1plus': No such file or directory


---------------------------+--------------------------------------------------
Christian Lynbech          | Telebit Communications A/S                       
Fax:   +45 8628 8186       | Fabrik 11, DK-8260 Viby J
Phone: +45 8628 8177 + 28  | email: chl@tbit.dk --- URL: http://www.telebit.dk
---------------------------+--------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)

From owner-scwm-discuss@mit.edu  Wed Jan 27 03:02:02 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA20264
	for scwm-discuss-outgoing; Wed, 27 Jan 1999 03:02:02 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from smtp2.erols.com (smtp2.erols.com [207.172.3.235])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id DAA20261
	for <scwm-discuss@ph.mit.edu>; Wed, 27 Jan 1999 03:02:01 -0500
Received: from alum.mit.edu (209-122-231-54.s54.tnt4.sbo.erols.com [209.122.231.54])
	by smtp2.erols.com (8.8.8/8.8.5) with ESMTP id DAA27847;
	Wed, 27 Jan 1999 03:07:05 -0500 (EST)
Message-ID: <36AEC880.6CFD10F3@alum.mit.edu>
Date: Wed, 27 Jan 1999 03:04:16 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: Christian Lynbech <lynbech@defun.ml.org>
CC: scwm-discuss@mit.edu
Subject: Re: problems building scwm (9.0beta3) without c++
References: <13998.47564.300504.477944@baguette>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Christian Lynbech wrote:
> 
> It appears that there are problems in building SCWM (9.0beta3) without
> having C++ available.
> 
> The ChangeLog contains a workaround involving setting CXX and friends
> to point to gcc (which really should be mentioned in INSTALL),

You're right. I was about to tag and ship but this should be mentioned
in 
install.

> but
> with gcc this doesn't work. The test file generated is named contest.C
> and this capital C makes gcc barf with something like:
> 
>     baguette:scwm> gcc -o test test.C
>     gcc: installation problem, cannot exec `cc1plus': No such file or directory
> 

How about setting CXX to "gcc -x c"? That seems to work for me.
I will document it as such.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Jan 27 03:19:36 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA20448
	for scwm-discuss-outgoing; Wed, 27 Jan 1999 03:19:36 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from smtp3.erols.com (smtp3.erols.com [207.172.3.236])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id DAA20445
	for <scwm-discuss@ph.mit.edu>; Wed, 27 Jan 1999 03:19:35 -0500
Received: from alum.mit.edu (209-122-231-54.s54.tnt4.sbo.erols.com [209.122.231.54])
	by smtp3.erols.com (8.8.8/8.8.5) with ESMTP id DAA24969;
	Wed, 27 Jan 1999 03:19:24 -0500 (EST)
Message-ID: <36AECCC7.B92AD537@alum.mit.edu>
Date: Wed, 27 Jan 1999 03:22:31 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: Maciej Stachowiak <mstachow@alum.mit.edu>, scwm-discuss@mit.edu
Subject: Re: problems building scwm (9.0beta3) without c++
References: <13998.47564.300504.477944@baguette> <36AEC880.6CFD10F3@alum.mit.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak wrote:
> 
> 
> How about setting CXX to "gcc -x c"? That seems to work for me.
> I will document it as such.

I spoke too soon, that fails at the link step, as gcc tries to
compile the object files as C files. Grrr!

There must be a way to fix this but 0.9 will have to ship without it 
I guess.

From owner-scwm-discuss@mit.edu  Wed Jan 27 10:59:05 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA29642
	for scwm-discuss-outgoing; Wed, 27 Jan 1999 10:59:05 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA29639
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 27 Jan 1999 10:59:03 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA24929; Wed, 27 Jan 99 10:59:19 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id HAA12237; Wed, 27 Jan 1999 07:58:59 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: two jan 17th snapshot bugs -
References: <m21zkjgghz.fsf_-_@blinky.bfr.co.il> <qrraez6ddyy.fsf@elwha.cs.washington.edu> <36AD5130.606D327D@alum.mit.edu> <qrrpv82aw28.fsf@elwha.cs.washington.edu> <36AE2DE3.A8288A0D@alum.mit.edu> <qrriudtsc9r.fsf@elwha.cs.washington.edu> <36AE5283.1FAB1FF0@alum.mit.edu> <qrrd841s6bw.fsf@elwha.cs.washington.edu> <36AE6CE8.762C53A1@alum.mit.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Jan 1999 07:58:58 -0800
In-Reply-To: Maciej Stachowiak's message of "Tue, 26 Jan 1999 20:33:28 -0500"
Message-Id: <qrr3e4wso59.fsf@elwha.cs.washington.edu>
Lines: 6
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

What you write seems reasonable.  In particular, it's definitely
annoying that a window's actual position changes during opaque moves but 
not during rubber-band moves.  This inconsistency is not particularly
pleasing.

Greg

From owner-scwm-discuss@mit.edu  Wed Jan 27 15:27:28 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA31255
	for scwm-discuss-outgoing; Wed, 27 Jan 1999 15:27:28 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA31252
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 27 Jan 1999 15:27:27 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA17899; Wed, 27 Jan 99 15:27:07 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id WAA14007; Wed, 27 Jan 1999 22:26:53 +0200
To: scwm-discuss@mit.edu
Subject: AnotherJan 17th snapshot bugs - window pos off by 1 pixel.
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 27 Jan 1999 22:26:53 +0200
In-Reply-To: Greg Badros's message of "27 Jan 1999 07:58:58 -0800"
Message-Id: <m2n234tqb6.fsf_-_@blinky.bfr.co.il>
Lines: 9
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I forgot to mention another bug - window positioning is off by 1
pixel.  xterm -geometry +0+0 gets a window at pixel +1+1.  xterm
-geometry -0-0 gets one at -1-1.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Wed Jan 27 19:13:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA32232
	for scwm-discuss-outgoing; Wed, 27 Jan 1999 19:13:41 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA32229
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 27 Jan 1999 19:13:38 -0500
Received: from smtp1.erols.com by MIT.EDU with SMTP
	id AA19489; Wed, 27 Jan 99 19:13:53 EST
Received: from deus.localdomain (207-172-132-254.s254.tnt5.col.erols.com [207.172.132.254])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id TAA28350
	for <scwm-discuss@mit.edu>; Wed, 27 Jan 1999 19:13:33 -0500 (EST)
Date: Wed, 27 Jan 1999 14:12:45 -0500 (EST)
From: Nick Scott <mendigo@geocities.com>
X-Sender: nick@deus.localdomain
To: scwm-discuss@mit.edu
Subject: Odd popup menus
Message-Id: <Pine.LNX.4.05.9901271341130.6323-100000@deus.localdomain>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I've been getting into scwm these past couple days, and ran into something
odd - when if I accidentally drag a link in Netscape, and then let go and
click the mouse, a root menu appears.  Is there some way to verify that
the cursor isn't over a window before displaying?  I can get the cursor
position, but couldn't find anything to translate that back into a window.
Any tips?

Nick
---
"Yes, we are all individuals!" "I'm not.." "Shhh!" - _Life_of_Brian_


From owner-scwm-discuss@mit.edu  Thu Jan 28 03:42:30 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA02890
	for scwm-discuss-outgoing; Thu, 28 Jan 1999 03:42:30 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from smtp1.erols.com (smtp1.erols.com [207.172.3.234])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id DAA02887
	for <scwm-discuss@ph.mit.edu>; Thu, 28 Jan 1999 03:42:24 -0500
Received: from alum.mit.edu (209-122-231-19.s19.tnt4.sbo.erols.com [209.122.231.19])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id DAA03139;
	Thu, 28 Jan 1999 03:42:14 -0500 (EST)
Message-ID: <36B023B4.195C82E4@alum.mit.edu>
Date: Thu, 28 Jan 1999 03:45:40 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: "Harvey J. Stein" <hjstein@bfr.co.il>
CC: scwm-discuss@mit.edu
Subject: Re: AnotherJan 17th snapshot bugs - window pos off by 1 pixel.
References: <m2n234tqb6.fsf_-_@blinky.bfr.co.il>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Harvey J. Stein wrote:
> 
> I forgot to mention another bug - window positioning is off by 1
> pixel.  xterm -geometry +0+0 gets a window at pixel +1+1.  xterm
> -geometry -0-0 gets one at -1-1.
> 

D'oh! I was just about to announce 0.9 when I saw this. I can reproduce
it. The problem is kind of weird - the window actually _is_ at the right
position, but due to the shape stuff it has been created with a
one-pixel
transparent border. I am trying to fix this by setting the border width
used to zero, but this causes some visual artifacts. I'll check it in
and really ship 0.9 once this is fixed.

 - Maciej

From owner-scwm-discuss@mit.edu  Thu Jan 28 04:13:25 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA03072
	for scwm-discuss-outgoing; Thu, 28 Jan 1999 04:13:25 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA03068
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 28 Jan 1999 04:13:23 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA16504; Thu, 28 Jan 99 04:12:58 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id LAA18193; Thu, 28 Jan 1999 11:13:10 +0200
Date: Thu, 28 Jan 1999 11:13:10 +0200
Message-Id: <199901280913.LAA18193@blinky.bfr.co.il>
From: "Harvey J. Stein" <hjstein@bfr.co.il>
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: "Harvey J. Stein" <hjstein@bfr.co.il>, scwm-discuss@mit.edu
Subject: Colormap swapping bug.
References: <m2n234tqb6.fsf_-_@blinky.bfr.co.il> <36B023B4.195C82E4@alum.mit.edu>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

 > Harvey J. Stein wrote:
 > > 
 > > I forgot to mention another bug - window positioning is off by 1
 > > pixel.  xterm -geometry +0+0 gets a window at pixel +1+1.  xterm
 > > -geometry -0-0 gets one at -1-1.
 > > 
 > 
 > D'oh! I was just about to announce 0.9 when I saw this. I can
 > reproduce it. The problem is kind of weird - the window actually
 > _is_ at the right position, but due to the shape stuff it has been
 > created with a one-pixel transparent border. I am trying to fix
 > this by setting the border width used to zero, but this causes some
 > visual artifacts. I'll check it in and really ship 0.9 once this is
 > fixed.

I might have just found another bug.  I run netscape with the -install
switch & use the fvwm pager.  I just started seeing a weird bug with
the colormap swapping.  If netscape isn't selected (so I have the
default colormap in use), and I select netscape in the pager (middle
mouse button click) then the color also switches to the netscape
colormap.

Note - this isn't with the snapshot.  I'm running the latest 0.8a in
the office & got this behavior.  I recently rebuilt it using a newer
version of guile (in preparation for installing a newer version).  I
tried to reproduce it with a beta that someone else compiled, but
couldn't.  I'll see if I can reproduce it at home (with the Jan 17th
snapshot).

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Thu Jan 28 05:58:28 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA04508
	for scwm-discuss-outgoing; Thu, 28 Jan 1999 05:58:28 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA04502
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 28 Jan 1999 05:57:45 -0500
Received: from smtp2.erols.com by MIT.EDU with SMTP
	id AA14516; Thu, 28 Jan 99 05:57:52 EST
Received: from alum.mit.edu (209-122-231-19.s19.tnt4.sbo.erols.com [209.122.231.19])
	by smtp2.erols.com (8.8.8/8.8.5) with ESMTP id GAA10440;
	Thu, 28 Jan 1999 06:03:16 -0500 (EST)
Message-Id: <36B0435C.1D47F047@alum.mit.edu>
Date: Thu, 28 Jan 1999 06:00:45 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: "Harvey J. Stein" <hjstein@bfr.co.il>
Cc: scwm-discuss@mit.edu
Subject: Re: Colormap swapping bug.
References: <m2n234tqb6.fsf_-_@blinky.bfr.co.il> <36B023B4.195C82E4@alum.mit.edu> <199901280913.LAA18193@blinky.bfr.co.il>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Harvey J. Stein wrote:
> 
> Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> 
> I might have just found another bug.  I run netscape with the -install
> switch & use the fvwm pager.  I just started seeing a weird bug with
> the colormap swapping.  If netscape isn't selected (so I have the
> default colormap in use), and I select netscape in the pager (middle
> mouse button click) then the color also switches to the netscape
> colormap.
> 
> Note - this isn't with the snapshot.  I'm running the latest 0.8a in
> the office & got this behavior.  I recently rebuilt it using a newer
> version of guile (in preparation for installing a newer version).  I
> tried to reproduce it with a beta that someone else compiled, but
> couldn't.  I'll see if I can reproduce it at home (with the Jan 17th
> snapshot).
> 

I wouldn't be surprised if scwm's colormap handling is buggy in some
ways -
fvwm2's is too. But I probably won't fix this until after 0.9 because it
would likely require reading the relevant ICCCM bits and understanding
them.

 - Maciej

From owner-scwm-discuss@mit.edu  Thu Jan 28 08:46:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id IAA13784
	for scwm-discuss-outgoing; Thu, 28 Jan 1999 08:46:17 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id IAA13781
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 28 Jan 1999 08:46:16 -0500
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id IAA15714
	for <scwm-discuss@ph.mit.edu>; Thu, 28 Jan 1999 08:36:47 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id IAA04794
	for <scwm-discuss@ph.mit.edu>; Thu, 28 Jan 1999 08:46:07 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA04687; Thu, 28 Jan 99 08:46:06 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id IAA24249; Thu, 28 Jan 1999 08:43:58 -0500
Message-Id: <36B0699E.8DC884D0@alum.mit.edu>
Date: Thu, 28 Jan 1999 08:43:58 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: scwm-discuss@mit.edu
Subject: 0.9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I've finally released the much-delayed 0.9. If anyone wants to build
packages other than the Red Hat 5.2/i386 RPM and source RPM already 
available, I'll gladly put them up for FTP or provide appropriate links.

 - Maciej

From owner-scwm-discuss@mit.edu  Thu Jan 28 10:30:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA14437
	for scwm-discuss-outgoing; Thu, 28 Jan 1999 10:30:09 -0500
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA14434
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 28 Jan 1999 10:30:06 -0500
Received: from vh213601.truman.edu by MIT.EDU with SMTP
	id AA05238; Thu, 28 Jan 99 10:30:14 EST
Received: (from jay@localhost)
	by vh213601.truman.edu (8.8.7/8.8.7) id JAA10402;
	Thu, 28 Jan 1999 09:30:09 -0600
Date: Thu, 28 Jan 1999 09:30:09 -0600
Message-Id: <199901281530.JAA10402@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
From: Jay Belanger <jay@vh213601.truman.edu>
To: scwm-discuss@mit.edu
In-Reply-To: <36B0699E.8DC884D0@alum.mit.edu> (message from Maciej Stachowiak
	on Thu, 28 Jan 1999 08:43:58 -0500)
Subject: Re: 0.9
References:  <36B0699E.8DC884D0@alum.mit.edu>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

> 
> I've finally released the much-delayed 0.9. If anyone wants to build
> packages other than the Red Hat 5.2/i386 RPM and source RPM already 
> available, I'll gladly put them up for FTP or provide appropriate links.
> 
>  - Maciej

The RPM for the snapshot (scwm-19990117) that was on the website is
great, but I had one minor glitch when I installed it.  Namely, it
replaced /usr/info/dir with it's own dir (backing up the old one, of
course).  I wasn't going to mention it until I could look into it some
more (I've tried to reproduce this by uninstalling and reinstalling
scwm, but it only happened the first time), but since the much-delayed
0.9 is here, I thought I should bring it up.  There is a program, I
seem to recall, that will automatically update the info dir that
probably should be run at the end of the RPM install.
(Incidentally, I originally rebuilt the binary rpm from the source
rpm, I don't know if that had any effect.)

Jay

From owner-scwm-discuss@mit.edu  Thu Jan 28 10:39:48 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA14523
	for scwm-discuss-outgoing; Thu, 28 Jan 1999 10:39:48 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA14520
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 28 Jan 1999 10:39:46 -0500
Received: from pool-209-138-71-5.generic.grid.net by MIT.EDU with SMTP
	id AA16498; Thu, 28 Jan 99 10:39:12 EST
Received: from ono.intellivoice.com (192.168.14.106 [192.168.14.106]) by mail.intellivoice.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9)
	id Y3L2L568; Thu, 28 Jan 1999 10:43:31 -0500
Received: (from doug@localhost)
	by ono.intellivoice.com (8.8.7/8.8.7) id KAA19013;
	Thu, 28 Jan 1999 10:38:43 -0500
To: scwm-discuss@mit.edu
Subject: Re: 0.9
References: <36B0699E.8DC884D0@alum.mit.edu>
From: Doug McNaught <dmcnaught@intellivoice.com>
Date: 28 Jan 1999 10:38:41 -0500
In-Reply-To: Maciej Stachowiak's message of "Thu, 28 Jan 1999 08:43:58 -0500"
Message-Id: <m3iudrz9tq.fsf@ono.intellivoice.com>
Lines: 20
X-Mailer: Gnus v5.6.9/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> I've finally released the much-delayed 0.9. If anyone wants to build
> packages other than the Red Hat 5.2/i386 RPM and source RPM already 
> available, I'll gladly put them up for FTP or provide appropriate links.

Does the RPM work with Guile 1.2 (standard on RH5.2)?  Does anybody
have a Guile 1.3 RPM?  

On another tack, how is the Gnome integration at this point?  I'm
using the Enlightenment that came with Gnome 0.99.3, but I'd love to
switch back to scwm if it works with the gnome-pager applet.

Looking forward to trying out the new version!

-Doug
-- 
Doug McNaught                                      dmcnaught@intellivoice.com
Senior Network Engineer
Intellivoice Communications, Inc                  http://www.intellivoice.com

From owner-scwm-discuss@mit.edu  Thu Jan 28 11:57:27 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA14939
	for scwm-discuss-outgoing; Thu, 28 Jan 1999 11:57:27 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA14936
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 28 Jan 1999 11:57:24 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA07609; Thu, 28 Jan 99 11:57:32 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA16075; Thu, 28 Jan 1999 08:56:41 -0800 (PST)
To: Nick Scott <mendigo@geocities.com>
Cc: scwm-discuss@mit.edu
Subject: Re: Odd popup menus
References: <Pine.LNX.4.05.9901271341130.6323-100000@deus.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Jan 1999 08:56:41 -0800
In-Reply-To: Nick Scott's message of "Wed, 27 Jan 1999 14:12:45 -0500 (EST)"
Message-Id: <qrr679rnxo6.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Nick Scott <mendigo@geocities.com> writes:

> I've been getting into scwm these past couple days, and ran into something
> odd - when if I accidentally drag a link in Netscape, and then let go and
> click the mouse, a root menu appears.  Is there some way to verify that
> the cursor isn't over a window before displaying?  I can get the cursor
> position, but couldn't find anything to translate that back into a window.
> Any tips?

I can reproduce this.  I have to click the mouse while the dragged link
is still dissolving into the page.  Not sure why this happens, and won't 
have time to look into it real soon.

Incidentally, your other thought about a primitive, perhaps
`windows-at-viewport-location X Y', would be pretty useful and I've
thought about writing it, but perhaps someone else will beat me to it?

Greg

From owner-scwm-discuss@mit.edu  Thu Jan 28 20:20:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA17299
	for scwm-discuss-outgoing; Thu, 28 Jan 1999 20:20:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA17296
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 28 Jan 1999 20:20:06 -0500
Received: from smtp4.erols.com by MIT.EDU with SMTP
	id AA11818; Thu, 28 Jan 99 20:20:11 EST
Received: from alum.mit.edu (209-122-231-19.s19.tnt4.sbo.erols.com [209.122.231.19])
	by smtp4.erols.com (8.8.8/smtp-v1) with ESMTP id UAA02764;
	Thu, 28 Jan 1999 20:19:40 -0500 (EST)
Message-Id: <36B10D7F.4E41FD7B@alum.mit.edu>
Date: Thu, 28 Jan 1999 20:23:11 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
Cc: Nick Scott <mendigo@geocities.com>, scwm-discuss@mit.edu
Subject: Re: Odd popup menus
References: <Pine.LNX.4.05.9901271341130.6323-100000@deus.localdomain> <qrr679rnxo6.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> Nick Scott <mendigo@geocities.com> writes:
> 
> > I've been getting into scwm these past couple days, and ran into something
> > odd - when if I accidentally drag a link in Netscape, and then let go and
> > click the mouse, a root menu appears.  Is there some way to verify that
> > the cursor isn't over a window before displaying?  I can get the cursor
> > position, but couldn't find anything to translate that back into a window.
> > Any tips?
> 

Here's a verbose way (rectangle-overlap? from wininfo needs to be
exported
for this to work, so it won't work as is):


First define this helper function (doing it in wininfo.scm may be the
best way):

(define-public (window-contains-point? win x y)
   (apply rectangle-overlap? (append (window-viewport-position win)
(window-frame-size win)
                                     (list x y 0 0))))

Then the following returns a list of the windows that contain the
pointer position in
the stacking order. If it's null that means there are not any.

(let ((ppos (pointer-position)))
  (list-windows #:only (lambda (win) (apply window-contains-point? win
ppos)) #:by-stacking #t))

In any case it is probably better to fix the specific problem with
netscape than
to add this kind of logic to the root menu popup code.

> I can reproduce this.  I have to click the mouse while the dragged link
> is still dissolving into the page.  Not sure why this happens, and won't
> have time to look into it real soon.
>

I can reproduce it too, if it does not happen with other window managers
I
will take a look at it.
 
> Incidentally, your other thought about a primitive, perhaps
> `windows-at-viewport-location X Y', would be pretty useful and I've
> thought about writing it, but perhaps someone else will beat me to it?
> 

What would that do exactly? I think there may already be ways to get
close to the intended functionality.

 - Maciej

From owner-scwm-discuss@mit.edu  Thu Jan 28 20:37:34 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA17463
	for scwm-discuss-outgoing; Thu, 28 Jan 1999 20:37:34 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from smtp1.erols.com (smtp1.erols.com [207.172.3.234])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id UAA17460
	for <scwm-discuss@ph.mit.edu>; Thu, 28 Jan 1999 20:37:24 -0500
Received: from alum.mit.edu (209-122-231-19.s19.tnt4.sbo.erols.com [209.122.231.19])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id UAA05669;
	Thu, 28 Jan 1999 20:36:33 -0500 (EST)
Message-ID: <36B11173.2BE1AAAD@alum.mit.edu>
Date: Thu, 28 Jan 1999 20:40:03 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: Jay Belanger <jay@vh213601.truman.edu>
CC: scwm-discuss@mit.edu
Subject: Re: 0.9
References: <36B0699E.8DC884D0@alum.mit.edu> <199901281530.JAA10402@vh213601.truman.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Jay Belanger wrote:
> 
> The RPM for the snapshot (scwm-19990117) that was on the website is
> great, but I had one minor glitch when I installed it.  Namely, it
> replaced /usr/info/dir with it's own dir (backing up the old one, of
> course).

Hmm, it did not happen to me installing the 0.9-1 binary RPM just now.

> I wasn't going to mention it until I could look into it some
> more (I've tried to reproduce this by uninstalling and reinstalling
> scwm, but it only happened the first time), but since the much-delayed
> 0.9 is here, I thought I should bring it up.  There is a program, I
> seem to recall, that will automatically update the info dir that
> probably should be run at the end of the RPM install.
> (Incidentally, I originally rebuilt the binary rpm from the source
> rpm, I don't know if that had any effect.)

I can't reproduce this either, scwm is properly added to the info
directory
when I install the RPM. (Actually, this is kind of bad, since that
manual
is so out of date. We really need a way to generate texinfo from the
current
scwm documentation stuff.)

Do let me know if you can reproduce either of these problems with the
release
RPM.

 - Maciej

From owner-scwm-discuss@mit.edu  Thu Jan 28 20:51:08 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA17620
	for scwm-discuss-outgoing; Thu, 28 Jan 1999 20:51:08 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA17616
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 28 Jan 1999 20:51:06 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA27243; Thu, 28 Jan 99 20:50:33 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA23596; Thu, 28 Jan 1999 17:50:48 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Nick Scott <mendigo@geocities.com>, scwm-discuss@mit.edu
Subject: Re: Odd popup menus
References: <Pine.LNX.4.05.9901271341130.6323-100000@deus.localdomain> <qrr679rnxo6.fsf@elwha.cs.washington.edu> <36B10D7F.4E41FD7B@alum.mit.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Jan 1999 17:50:48 -0800
In-Reply-To: Maciej Stachowiak's message of "Thu, 28 Jan 1999 20:23:11 -0500"
Message-Id: <qrrbtjin8xz.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

<snip>

> > Incidentally, your other thought about a primitive, perhaps
> > `windows-at-viewport-location X Y', would be pretty useful and I've
> > thought about writing it, but perhaps someone else will beat me to it?
> > 
> 
> What would that do exactly? I think there may already be ways to get
> close to the intended functionality.

I was thinking about making it use some lower level X functionality to
be more efficient.  I'm not convinced I could get
`windows-at-viewport-location' but maybe `window-at-viewport-location'.
Not sure if it's a huge win, but the reason I wanted it was to support
fancier window selection interactions.

Greg

From owner-scwm-discuss@mit.edu  Thu Jan 28 21:51:57 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA18227
	for scwm-discuss-outgoing; Thu, 28 Jan 1999 21:51:57 -0500
Received: from vh213601.truman.edu (vh213601.truman.edu [150.243.160.32])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id VAA18224
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 28 Jan 1999 21:51:55 -0500
Received: (from jay@localhost)
	by vh213601.truman.edu (8.8.7/8.8.7) id UAA05284;
	Thu, 28 Jan 1999 20:51:55 -0600
Date: Thu, 28 Jan 1999 20:51:55 -0600
Message-Id: <199901290251.UAA05284@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
From: Jay Belanger <jay@vh213601.truman.edu>
To: scwm-discuss@mit.edu
In-reply-to: <36B11173.2BE1AAAD@alum.mit.edu> (message from Maciej Stachowiak
	on Thu, 28 Jan 1999 20:40:03 -0500)
Subject: Re: 0.9
References: <36B0699E.8DC884D0@alum.mit.edu> <199901281530.JAA10402@vh213601.truman.edu> <36B11173.2BE1AAAD@alum.mit.edu>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

> Jay Belanger wrote:
> > 
> > The RPM for the snapshot (scwm-19990117) that was on the website is
> > great, but I had one minor glitch when I installed it.  Namely, it
> > replaced /usr/info/dir with it's own dir (backing up the old one, of
> > course).
> 
> Hmm, it did not happen to me installing the 0.9-1 binary RPM just now.
[Snip]
> Do let me know if you can reproduce either of these problems with the
> release RPM.

I installed the new RPMs, of course.  No problem.  And I never did
manage to reproduce the problem even with the old RPMs.  Perhaps this
should be attributed to some stray cosmic rays ...

Jay

From owner-scwm-discuss@mit.edu  Thu Jan 28 23:51:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA18867
	for scwm-discuss-outgoing; Thu, 28 Jan 1999 23:51:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA18864
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 28 Jan 1999 23:51:04 -0500
Received: from smtp4.erols.com by MIT.EDU with SMTP
	id AA24535; Thu, 28 Jan 99 23:50:30 EST
Received: from deus.localdomain (207-172-130-111.s111.tnt3.col.erols.com [207.172.130.111])
	by smtp4.erols.com (8.8.8/smtp-v1) with ESMTP id XAA26952;
	Thu, 28 Jan 1999 23:50:40 -0500 (EST)
Date: Thu, 28 Jan 1999 18:49:44 -0500 (EST)
From: Nick Scott <mendigo@geocities.com>
X-Sender: nick@deus.localdomain
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
Subject: Re: Odd popup menus
In-Reply-To: <36B10D7F.4E41FD7B@alum.mit.edu>
Message-Id: <Pine.LNX.4.05.9901281809530.7660-100000@deus.localdomain>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


On Thu, 28 Jan 1999, Maciej Stachowiak wrote:

> Here's a verbose way (rectangle-overlap? from wininfo needs to be
> exported
> for this to work, so it won't work as is):
[snip]

The only problem with adding code like this to the menus is execution time
before the menu itself gets executed.  I feel that menus should try to
display as quickly as possible.  I was originally hoping that it was a C
function I overlooked.  The only way it is possible to do with a minimum
of hassle now is with mouse focus.

> In any case it is probably better to fix the specific problem with
> netscape than
> to add this kind of logic to the root menu popup code.

The trick is that sometimes having the menus appear over the window makes
sense - like a menu that activates by hotkey.  Maybe adding a root flag to
the menu function may work.

> > I can reproduce this.  I have to click the mouse while the dragged link
> > is still dissolving into the page.  Not sure why this happens, and won't
> > have time to look into it real soon.
> 
> I can reproduce it too, if it does not happen with other window managers
> I will take a look at it.

It hasn't happened yet with wmaker or enlightenment, which is why I
brought it up.

> What would that do exactly? I think there may already be ways to get
> close to the intended functionality.

Another reason I can think of besides a test for a valid root menu would
be user specific window placement.  As an example, I would like scwm to
line my term windows down the right side of my screen, but don't want to
put them there when something is in the way.  But any desired event that
depends on specific locations on screen (not just the cursor) will
benefit from something like this.

Nick



From owner-scwm-discuss@mit.edu  Fri Jan 29 01:04:20 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA19331
	for scwm-discuss-outgoing; Fri, 29 Jan 1999 01:04:20 -0500
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA19328
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 29 Jan 1999 01:04:14 -0500
Received: from vh213601.truman.edu by MIT.EDU with SMTP
	id AA26082; Fri, 29 Jan 99 01:04:15 EST
Received: (from jay@localhost)
	by vh213601.truman.edu (8.8.7/8.8.7) id AAA07697;
	Fri, 29 Jan 1999 00:04:09 -0600
Date: Fri, 29 Jan 1999 00:04:09 -0600
Message-Id: <199901290604.AAA07697@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
From: Jay Belanger <jay@vh213601.truman.edu>
To: scwm-discuss@mit.edu
In-Reply-To: <36B11173.2BE1AAAD@alum.mit.edu> (message from Maciej Stachowiak
	on Thu, 28 Jan 1999 20:40:03 -0500)
Subject: Re: 0.9
References: <36B0699E.8DC884D0@alum.mit.edu> <199901281530.JAA10402@vh213601.truman.edu> <36B11173.2BE1AAAD@alum.mit.edu>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

> Jay Belanger wrote:
> > 
> > The RPM for the snapshot (scwm-19990117) that was on the website is
> > great, but I had one minor glitch when I installed it.  Namely, it
> > replaced /usr/info/dir with it's own dir (backing up the old one, of
> > course).
> 
> Hmm, it did not happen to me installing the 0.9-1 binary RPM just now.
> 

Well, for what it's worth, I managed to reproduce the problem.  When I
rebuilt the binary from the source rpm, the new binary rpm contained
the file /usr/info/dir, while the binary rpm supplied by the web site
doesn't have that file.  Why the difference, I don't know.  Anyone who
rebuilds the binary can probably replace the old dir file, though.

Jay

From owner-scwm-discuss@mit.edu  Fri Jan 29 01:54:50 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA19777
	for scwm-discuss-outgoing; Fri, 29 Jan 1999 01:54:50 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA19774
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 29 Jan 1999 01:54:48 -0500
Received: from smtp1.erols.com by MIT.EDU with SMTP
	id AA02781; Fri, 29 Jan 99 01:54:50 EST
Received: from alum.mit.edu (209-122-231-19.s19.tnt4.sbo.erols.com [209.122.231.19])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id BAA20262;
	Fri, 29 Jan 1999 01:54:27 -0500 (EST)
Message-Id: <36B15BF6.2E3A4BFB@alum.mit.edu>
Date: Fri, 29 Jan 1999 01:57:58 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Nick Scott <mendigo@geocities.com>
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
Subject: Re: Odd popup menus
References: <Pine.LNX.4.05.9901281809530.7660-100000@deus.localdomain>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Nick Scott wrote:
> 
> On Thu, 28 Jan 1999, Maciej Stachowiak wrote:
> 
> > Here's a verbose way (rectangle-overlap? from wininfo needs to be
> > exported
> > for this to work, so it won't work as is):
> [snip]
> 
> The only problem with adding code like this to the menus is execution time
> before the menu itself gets executed.  I feel that menus should try to
> display as quickly as possible.  I was originally hoping that it was a C
> function I overlooked.  The only way it is possible to do with a minimum
> of hassle now is with mouse focus.
> 

Running this Scheme code before the menu pops up is unlikely to affect
popup time
in a perceptible way unless you are running the window manager from a
remote machine
with a poor connection. I've been repeatedly surprised at the fact that
you can
run quite a bit of Scheme code in the middle of things without affecting
responsiveness.
Note for example that the window list menu is completely created on the
fly each time
it pops up, but it pops up as fast as any other.

> > In any case it is probably better to fix the specific problem with
> > netscape than
> > to add this kind of logic to the root menu popup code.
> 
> The trick is that sometimes having the menus appear over the window makes
> sense - like a menu that activates by hotkey.  Maybe adding a root flag to
> the menu function may work.
> 

I agree, but it never makes sense to click the mouse on an app window
and get a root
window menu, unless you have set up that binding.

> > > I can reproduce this.  I have to click the mouse while the dragged link
> > > is still dissolving into the page.  Not sure why this happens, and won't
> > > have time to look into it real soon.
> >
> > I can reproduce it too, if it does not happen with other window managers
> > I will take a look at it.
> 
> It hasn't happened yet with wmaker or enlightenment, which is why I
> brought it up.
> 

There must be something strange about whatever netscape is using for the
drag and drop
thingie. I think the dissolve is coming out visually wrong too.

> > What would that do exactly? I think there may already be ways to get
> > close to the intended functionality.
> 
> Another reason I can think of besides a test for a valid root menu would
> be user specific window placement.  As an example, I would like scwm to
> line my term windows down the right side of my screen, but don't want to
> put them there when something is in the way.  But any desired event that
> depends on specific locations on screen (not just the cursor) will
> benefit from something like this.

Yes, I agree, if I understand what you are saying though, I think a
Scheme version will be plenty fast enough. A C-coded version could
at best only find the top stacked window at a given pointer position
(I think) and would probably be hard to extend to be able to use
virtual coordinates.

 - Maciej

From owner-scwm-discuss@mit.edu  Fri Jan 29 02:01:36 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA19849
	for scwm-discuss-outgoing; Fri, 29 Jan 1999 02:01:36 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA19846
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 29 Jan 1999 02:01:34 -0500
Received: from smtp1.erols.com by MIT.EDU with SMTP
	id AA03845; Fri, 29 Jan 99 02:01:36 EST
Received: from alum.mit.edu (209-122-231-19.s19.tnt4.sbo.erols.com [209.122.231.19])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id CAA21270;
	Fri, 29 Jan 1999 02:01:11 -0500 (EST)
Message-Id: <36B15D8F.304CBB63@alum.mit.edu>
Date: Fri, 29 Jan 1999 02:04:47 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Jay Belanger <jay@vh213601.truman.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: 0.9
References: <36B0699E.8DC884D0@alum.mit.edu> <199901281530.JAA10402@vh213601.truman.edu> <36B11173.2BE1AAAD@alum.mit.edu> <199901290604.AAA07697@vh213601.truman.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Jay Belanger wrote:
> 
> 
> Well, for what it's worth, I managed to reproduce the problem.  When I
> rebuilt the binary from the source rpm, the new binary rpm contained
> the file /usr/info/dir, while the binary rpm supplied by the web site
> doesn't have that file.  Why the difference, I don't know.  Anyone who
> rebuilds the binary can probably replace the old dir file, though.
> 

Interesting. What version of RPM are you using? (I built with 2.5.5).
Granted, I did build the distributed RPM with rpm -ta from the tarall 
rather than from the source RPM, I wonder if that makes a difference.

 - Maciej

From owner-scwm-discuss@mit.edu  Fri Jan 29 02:59:35 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA20551
	for scwm-discuss-outgoing; Fri, 29 Jan 1999 02:59:35 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from smtp3.erols.com (smtp3.erols.com [207.172.3.236])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id CAA20548
	for <scwm-discuss@ph.mit.edu>; Fri, 29 Jan 1999 02:59:33 -0500
Received: from alum.mit.edu (209-122-231-19.s19.tnt4.sbo.erols.com [209.122.231.19])
	by smtp3.erols.com (8.8.8/8.8.5) with ESMTP id CAA09087
	for <scwm-discuss@ph.mit.edu>; Fri, 29 Jan 1999 02:59:15 -0500 (EST)
Message-ID: <36B16B25.CE817825@alum.mit.edu>
Date: Fri, 29 Jan 1999 03:02:45 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Debs on freshmeat
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Someone should update the Debian package of scwm linked from
www.freshmeat.net,
the version linked there is 0.5-5. (I sent in a release announcement and
updates for the RPM field and such already).

 - Maciej

From owner-scwm-discuss@mit.edu  Fri Jan 29 11:00:44 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA23785
	for scwm-discuss-outgoing; Fri, 29 Jan 1999 11:00:44 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA23782
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 29 Jan 1999 11:00:41 -0500
Received: from pool-209-138-71-5.generic.grid.net by MIT.EDU with SMTP
	id AA01814; Fri, 29 Jan 99 11:00:02 EST
Received: from ono.intellivoice.com (192.168.14.106 [192.168.14.106]) by mail.intellivoice.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9)
	id Y3L2L7GM; Fri, 29 Jan 1999 11:04:40 -0500
Received: (from doug@localhost)
	by ono.intellivoice.com (8.8.7/8.8.7) id KAA20211;
	Fri, 29 Jan 1999 10:59:44 -0500
To: scwm-discuss@mit.edu
Subject: Re: 0.9
References: <36B0699E.8DC884D0@alum.mit.edu> <m3iudrz9tq.fsf@ono.intellivoice.com> <36B10E89.77F36227@alum.mit.edu>
From: Doug McNaught <dmcnaught@intellivoice.com>
Date: 29 Jan 1999 10:59:42 -0500
In-Reply-To: Maciej Stachowiak's message of "Thu, 28 Jan 1999 20:27:37 -0500"
Message-Id: <m3zp72vzm9.fsf@ono.intellivoice.com>
Lines: 34
X-Mailer: Gnus v5.6.9/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> > 
> > Does the RPM work with Guile 1.2 (standard on RH5.2)?  Does anybody
> > have a Guile 1.3 RPM?
> > 
> 
> It works with the Guile 1.3 RPM from the current Red Hat RawHide, you
> can
> get it from ftp://rawhide.redhat.com

Cool.  I haven't really checked out the Rawhide stuff yet.  I'll have
to look into it.

> > On another tack, how is the Gnome integration at this point?  I'm
> > using the Enlightenment that came with Gnome 0.99.3, but I'd love to
> > switch back to scwm if it works with the gnome-pager applet.
> 
> It's not in the release, but I have code in my working directory (based
> on the infrastructure work Greg did for KDE hints) that supports all of
> the Gnome hints except layers (since scwm does not support layers in
> general, yet), which _should_ be enough to support the Gnome pager and 
> window list. As soon as I can test it with my gnome setup I will check
> it
> in, and it will almost certainly be in 0.9.1.

OK, sounds good.  Is there a 'native' pager for scwm at this point or
do I still have to use the one for fvwm2?

-Doug
-- 
Doug McNaught                                      dmcnaught@intellivoice.com
Senior Network Engineer
Intellivoice Communications, Inc                  http://www.intellivoice.com

From owner-scwm-discuss@mit.edu  Fri Jan 29 11:15:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA23927
	for scwm-discuss-outgoing; Fri, 29 Jan 1999 11:15:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id LAA23924
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 29 Jan 1999 11:15:43 -0500
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id LAA29354;
	Fri, 29 Jan 1999 11:06:00 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id LAA26703;
	Fri, 29 Jan 1999 11:15:21 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA20595; Fri, 29 Jan 99 11:15:20 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id LAA26310; Fri, 29 Jan 1999 11:13:14 -0500
Message-Id: <36B1DE1A.4B1FB951@alum.mit.edu>
Date: Fri, 29 Jan 1999 11:13:14 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Doug McNaught <dmcnaught@intellivoice.com>
Cc: scwm-discuss@mit.edu
Subject: Re: 0.9
References: <36B0699E.8DC884D0@alum.mit.edu> <m3iudrz9tq.fsf@ono.intellivoice.com> <36B10E89.77F36227@alum.mit.edu> <m3zp72vzm9.fsf@ono.intellivoice.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Doug McNaught wrote:
> 
> Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> 
> > It works with the Guile 1.3 RPM from the current Red Hat RawHide, you
> > can
> > get it from ftp://rawhide.redhat.com
> 
> Cool.  I haven't really checked out the Rawhide stuff yet.  I'll have
> to look into it.
> 

Rawhide is basically a rolling set of the latest versions of packages
that may
or may not go into a Red Hat release. It's a decent way to get
moderately
well-tested semi-official packages of newer versions of software.

> OK, sounds good.  Is there a 'native' pager for scwm at this point or
> do I still have to use the one for fvwm2?
> 

No, there is still no native scwm pager. However, getting _some_ better
solution for paging is a pretty high priority for me at this point.

 - Maciej

From owner-scwm-discuss@mit.edu  Fri Jan 29 11:41:23 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA27888
	for scwm-discuss-outgoing; Fri, 29 Jan 1999 11:41:23 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA27885
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 29 Jan 1999 11:41:22 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA07028; Fri, 29 Jan 99 11:41:19 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA03007; Fri, 29 Jan 1999 08:40:56 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Doug McNaught <dmcnaught@intellivoice.com>, scwm-discuss@mit.edu
Subject: Re: 0.9
References: <36B0699E.8DC884D0@alum.mit.edu> <m3iudrz9tq.fsf@ono.intellivoice.com> <36B10E89.77F36227@alum.mit.edu> <m3zp72vzm9.fsf@ono.intellivoice.com> <36B1DE1A.4B1FB951@alum.mit.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Jan 1999 08:40:56 -0800
In-Reply-To: Maciej Stachowiak's message of "Fri, 29 Jan 1999 11:13:14 -0500"
Message-Id: <qrrbtjikp5z.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

<snip>

> > OK, sounds good.  Is there a 'native' pager for scwm at this point or
> > do I still have to use the one for fvwm2?
> > 
> 
> No, there is still no native scwm pager. However, getting _some_ better
> solution for paging is a pretty high priority for me at this point.

Scwm does work a lot better with kpanel now -- (use-modules (app scwm
kwm-emulation)) and then start kpanel.   It doesn't have a virtual
screen pager, but does have buttons for changing the desktop and the
win95-like taskbar for iconifying and deiconifying windows.
To support kpanel, I added some primitives that may be useful for
talking to the Gnome pager, too.

On an only tangentially related note, also try (use-modules (app scwm
animate-iconify-window)) and see gjb.scwmrc for an example of how to use
animate-iconify and animate-deiconify instead of the defaults.

Greg

From owner-scwm-discuss@mit.edu  Fri Jan 29 20:40:32 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA31536
	for scwm-discuss-outgoing; Fri, 29 Jan 1999 20:40:32 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA31533
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 29 Jan 1999 20:40:29 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA12771; Fri, 29 Jan 99 20:40:22 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA05877; Fri, 29 Jan 1999 17:39:54 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Nick Scott <mendigo@geocities.com>, scwm-discuss@mit.edu
Subject: Re: Odd popup menus
References: <Pine.LNX.4.05.9901281809530.7660-100000@deus.localdomain> <36B15BF6.2E3A4BFB@alum.mit.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Jan 1999 17:39:54 -0800
In-Reply-To: Maciej Stachowiak's message of "Fri, 29 Jan 1999 01:57:58 -0500"
Message-Id: <qrrognhk07p.fsf@elwha.cs.washington.edu>
Lines: 17
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

<snip>

> > It hasn't happened yet with wmaker or enlightenment, which is why I
> > brought it up.
> > 
> 
> There must be something strange about whatever netscape is using for the
> drag and drop
> thingie. I think the dissolve is coming out visually wrong too.

I can reproduce this with Kwm, not just Scwm, so it's not something we
alone are doing wrong (and kwm is not a fvwm2 derivative [though they
may have used fvwm2 as a reference while coding it, perhaps]).

Greg

From owner-scwm-discuss@mit.edu  Sat Jan 30 04:17:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA03499
	for scwm-discuss-outgoing; Sat, 30 Jan 1999 04:17:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from smtp3.erols.com (smtp3.erols.com [207.172.3.236])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id EAA03496
	for <scwm-discuss@ph.mit.edu>; Sat, 30 Jan 1999 04:17:07 -0500
Received: from alum.mit.edu (209-122-231-128.s128.tnt4.sbo.erols.com [209.122.231.128])
	by smtp3.erols.com (8.8.8/8.8.5) with ESMTP id EAA24985
	for <scwm-discuss@ph.mit.edu>; Sat, 30 Jan 1999 04:17:05 -0500 (EST)
Message-ID: <36B2CEF3.2F1EFC0E@alum.mit.edu>
Date: Sat, 30 Jan 1999 04:20:51 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Renaming some files
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I suggest the following renames:

scheme/animated-iconify-window.scm => scheme/animated-iconify.scm  

Reason: original is excessively long, adds no extra information, and
does not match the names of the procedures in the module anyway.


scheme/cached-program-exists.scm => scheme/progcache.scm (or
scheme/prog-cache.scm)

Reason: original is too long and the name doesn't make it any more clear
what exactly
it's for anyway.


scheme/kwn-emulation.scm => scheme/kde-hints.scm

Reason: I think my suggested name is more accurately descriptive (there
are already
window managers other than kwm which support he KDE hints), and it will
go better
with my soon-to-be-checked-in gnome-hints.scm.

I can do these renames myself if there is general agreement.


Another possibility: how about installing an app/scwm/constraints module
directory with
its own submodules? The constraint stuff is growing quite a few modules,
so we may as
well use the hierarchical naming conventions of the module system


I would also like to do the scwm/scwm to scwm/src migration sometime
this weekend.
It should cause one snapshot diff to break, but otherwise should be
pretty
transparent. Any objections?

 - Maciej

From owner-scwm-discuss@mit.edu  Sat Jan 30 12:46:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA05542
	for scwm-discuss-outgoing; Sat, 30 Jan 1999 12:46:37 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA05539
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 30 Jan 1999 12:46:35 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA28609; Sat, 30 Jan 99 12:46:14 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA11787; Sat, 30 Jan 1999 09:46:30 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Renaming some files
References: <36B2CEF3.2F1EFC0E@alum.mit.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Jan 1999 09:46:29 -0800
In-Reply-To: Maciej Stachowiak's message of "Sat, 30 Jan 1999 04:20:51 -0500"
Message-Id: <qrrhft8k616.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

All of your suggestions are fine with me.  I'd like "(use-modules (app
scwm constraints))" to do what it does now -- be the top level interface 
to the constraint support.  Can constraint.scm exist and still have (app 
scwm constraints toolbar), e.g.?

<snip>

> I would also like to do the scwm/scwm to scwm/src migration sometime
> this weekend.
> It should cause one snapshot diff to break, but otherwise should be
> pretty
> transparent. Any objections?

This'll be great as it should eliminate much confusion.

Greg

From owner-scwm-discuss@mit.edu  Sat Jan 30 12:56:27 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA05660
	for scwm-discuss-outgoing; Sat, 30 Jan 1999 12:56:27 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA05657
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 30 Jan 1999 12:56:26 -0500
Received: from smtp2.erols.com by MIT.EDU with SMTP
	id AA02627; Sat, 30 Jan 99 12:56:45 EST
Received: from alum.mit.edu (209-122-231-128.s128.tnt4.sbo.erols.com [209.122.231.128])
	by smtp2.erols.com (8.8.8/8.8.5) with ESMTP id MAA27429;
	Sat, 30 Jan 1999 12:56:29 -0500 (EST)
Message-Id: <36B348A6.FB90B928@alum.mit.edu>
Date: Sat, 30 Jan 1999 13:00:06 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Renaming some files
References: <36B2CEF3.2F1EFC0E@alum.mit.edu> <qrrhft8k616.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> All of your suggestions are fine with me.  I'd like "(use-modules (app
> scwm constraints))" to do what it does now -- be the top level interface
> to the constraint support.  Can constraint.scm exist and still have (app
> scwm constraints toolbar), e.g.?
> 

Yes. I think so, anyway.

 - Maciej

From owner-scwm-discuss@mit.edu  Sat Jan 30 15:04:22 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA06322
	for scwm-discuss-outgoing; Sat, 30 Jan 1999 15:04:22 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA06319
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 30 Jan 1999 15:04:19 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA14467; Sat, 30 Jan 99 15:03:52 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id WAA05541; Sat, 30 Jan 1999 22:04:04 +0200
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Nick Scott <mendigo@geocities.com>, Greg Badros <gjb@cs.washington.edu>,
        scwm-discuss@mit.edu
Subject: Re: Odd popup menus
References: <Pine.LNX.4.05.9901281809530.7660-100000@deus.localdomain> <36B15BF6.2E3A4BFB@alum.mit.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 30 Jan 1999 22:04:04 +0200
In-Reply-To: Maciej Stachowiak's message of "Fri, 29 Jan 1999 01:57:58 -0500"
Message-Id: <m2iudo4jez.fsf@blinky.bfr.co.il>
Lines: 14
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Speaking of strange popup behavior, I noticed another one.  My upper
left corner button pops up a move/resize/close/... menu.  The popup
seems to show up wherever the mouse happens to be when the menu
finally displays, which is some time after the button was clicked
because of the delay in waiting for a possible 2nd mouse click.  So,
this can actually be quite far from the button.  I found it somewhat
disconcerting to click on the button, move the mouse & have the menu
show up quite far from the button.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Sat Jan 30 15:06:58 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA06345
	for scwm-discuss-outgoing; Sat, 30 Jan 1999 15:06:58 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA06342
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 30 Jan 1999 15:06:56 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA14843; Sat, 30 Jan 99 15:06:35 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA13026; Sat, 30 Jan 1999 12:06:50 -0800 (PST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: Maciej Stachowiak <mstachow@alum.mit.edu>,
        Nick Scott <mendigo@geocities.com>, scwm-discuss@mit.edu
Subject: Re: Odd popup menus
References: <Pine.LNX.4.05.9901281809530.7660-100000@deus.localdomain> <36B15BF6.2E3A4BFB@alum.mit.edu> <m2iudo4jez.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Jan 1999 12:06:49 -0800
In-Reply-To: hjstein@bfr.co.il's message of "30 Jan 1999 22:04:04 +0200"
Message-Id: <qrr7lu4ikyu.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Speaking of strange popup behavior, I noticed another one.  My upper
> left corner button pops up a move/resize/close/... menu.  The popup
> seems to show up wherever the mouse happens to be when the menu
> finally displays, which is some time after the button was clicked
> because of the delay in waiting for a possible 2nd mouse click.  So,
> this can actually be quite far from the button.  I found it somewhat
> disconcerting to click on the button, move the mouse & have the menu
> show up quite far from the button.

You probably aren't using `popup-menu-from-decoration' -- see
sample.scwmrc/gjb.scwmrc for uses of that.  It's a bit of a hack, IIRC,
but it works.

Greg

From owner-scwm-discuss@mit.edu  Sat Jan 30 15:32:00 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA06322
	for scwm-discuss-outgoing; Sat, 30 Jan 1999 15:04:22 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA06319
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 30 Jan 1999 15:04:19 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA14467; Sat, 30 Jan 99 15:03:52 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id WAA05541; Sat, 30 Jan 1999 22:04:04 +0200
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Nick Scott <mendigo@geocities.com>, Greg Badros <gjb@cs.washington.edu>,
        scwm-discuss@mit.edu
Subject: Re: Odd popup menus
References: <Pine.LNX.4.05.9901281809530.7660-100000@deus.localdomain> <36B15BF6.2E3A4BFB@alum.mit.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 30 Jan 1999 22:04:04 +0200
In-Reply-To: Maciej Stachowiak's message of "Fri, 29 Jan 1999 01:57:58 -0500"
Message-Id: <m2iudo4jez.fsf@blinky.bfr.co.il>
Lines: 14
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Speaking of strange popup behavior, I noticed another one.  My upper
left corner button pops up a move/resize/close/... menu.  The popup
seems to show up wherever the mouse happens to be when the menu
finally displays, which is some time after the button was clicked
because of the delay in waiting for a possible 2nd mouse click.  So,
this can actually be quite far from the button.  I found it somewhat
disconcerting to click on the button, move the mouse & have the menu
show up quite far from the button.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Sat Jan 30 16:15:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA06599
	for scwm-discuss-outgoing; Sat, 30 Jan 1999 16:15:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from smtp1.erols.com (smtp1.erols.com [207.172.3.234])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id QAA06596
	for <scwm-discuss@ph.mit.edu>; Sat, 30 Jan 1999 16:15:06 -0500
Received: from alum.mit.edu (209-122-231-128.s128.tnt4.sbo.erols.com [209.122.231.128])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id QAA02026
	for <scwm-discuss@ph.mit.edu>; Sat, 30 Jan 1999 16:15:00 -0500 (EST)
Message-ID: <36B3772E.9E7877B7@alum.mit.edu>
Date: Sat, 30 Jan 1999 16:18:38 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Thoughts about borders
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I've managed to get the gnome hint stuff to sort of almost work enough
to
handle the gnome panel properly. One interesting issue is that the panel
requires the Motif hints to be strictly and literally handled, in
particular,
it looks really dorky with a title and/or border. There was a minor bug
in
decorations.c which caused a title to accidentally get drawn, despite a
Motif
hint to the contrary, but the border issue is more subtle - the
hint-processing
code properly sets the border width to zero, but the user default
preferences
promptly override this.

I'm not sure what the best way to deal with this is. I thought of adding
an
fNoBorder flag (which would also be user-settable in case the user realy
_does_
want to override this) which would cause any specified border width to
be ignored,
but that would possibly require changing quite a lot of borders.c, which
would
not be fun. Another possibility is to overload the current fBorder
(plain border)
flag to prevent the user from changing the border width while it is in
effect,
but that seems like rather a hack.

Any other ideas?

 - Maciej

From owner-scwm-discuss@mit.edu  Sat Jan 30 16:32:00 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA06322
	for scwm-discuss-outgoing; Sat, 30 Jan 1999 15:04:22 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA06319
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 30 Jan 1999 15:04:19 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA14467; Sat, 30 Jan 99 15:03:52 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id WAA05541; Sat, 30 Jan 1999 22:04:04 +0200
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Nick Scott <mendigo@geocities.com>, Greg Badros <gjb@cs.washington.edu>,
        scwm-discuss@mit.edu
Subject: Re: Odd popup menus
References: <Pine.LNX.4.05.9901281809530.7660-100000@deus.localdomain> <36B15BF6.2E3A4BFB@alum.mit.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 30 Jan 1999 22:04:04 +0200
In-Reply-To: Maciej Stachowiak's message of "Fri, 29 Jan 1999 01:57:58 -0500"
Message-Id: <m2iudo4jez.fsf@blinky.bfr.co.il>
Lines: 14
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Speaking of strange popup behavior, I noticed another one.  My upper
left corner button pops up a move/resize/close/... menu.  The popup
seems to show up wherever the mouse happens to be when the menu
finally displays, which is some time after the button was clicked
because of the delay in waiting for a possible 2nd mouse click.  So,
this can actually be quite far from the button.  I found it somewhat
disconcerting to click on the button, move the mouse & have the menu
show up quite far from the button.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Sat Jan 30 17:20:40 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA07224
	for scwm-discuss-outgoing; Sat, 30 Jan 1999 17:20:40 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from mail.eaglets.com ([208.235.77.228])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id RAA07221
	for <scwm-discuss@huis-clos.mit.edu>; Sat, 30 Jan 1999 17:20:15 -0500
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Sat, 30 Jan 1999 17:19:24 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Sat, 30 Jan 1999 17:19:24 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id RAA18265;
	Sat, 30 Jan 1999 17:18:15 -0500 (EST)
To: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: messages when placing transient windows
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 30 Jan 1999 17:18:15 -0500
Message-ID: <m3679oxv4o.fsf@eho.eaglets.com>
Lines: 22
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

using sds.scwmrc, when a transient window is created and places, I get
the following messages on the stdout:

;;; (pointer-position (74 109))

;;; (window-size (202 154))

;;; (offset (0 0))

;;; (po (-0.5 -0.5))

;;; (wav (1280 0))

they are generated by `peek' calls in `place-at-point-internal'.
there these debug calls needed?
is there a way to disable printing?

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Please wait, MS Windows are preparing the blue screen of death.

From owner-scwm-discuss@mit.edu  Sun Jan 31 05:35:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA11544
	for scwm-discuss-outgoing; Sun, 31 Jan 1999 05:35:03 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA11535
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 31 Jan 1999 05:34:59 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA25716; Sun, 31 Jan 99 05:34:31 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id MAA13980; Sun, 31 Jan 1999 12:34:49 +0200
To: scwm-discuss@mit.edu
Subject: scwm 0.9 border bug.
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 31 Jan 1999 12:34:49 +0200
In-Reply-To: Greg Badros's message of "30 Jan 1999 12:06:49 -0800"
Message-Id: <m2679npw6u.fsf_-_@blinky.bfr.co.il>
Lines: 41
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I downloaded the scwm 0.9-1 source RPM, I rebuilt it for rh4.2  (BTW,
Greg, I'll uuencode & email you the RPMs).  I installed.  So far so
good.  However I have 3 widgets using border-width 1 (because that
used to be how to get a zero border width).  These end up now with
really having a border width of 1 pixel, but the border doesn't
refresh properly.  For example, if I move a window over one of these
things, and then move it away, the 1 pixel wide border keeps
displaying pieces of what was overlaying it.

Here're the config pieces in question:

(window-style "*" 
	      #:foreground "Wheat" #:background "DimGrey" 
	      #:icon "unknown1.xpm" 
	      #:icon-box (list (x- 70) 1 69 (y- 141))
	      #:border-width 4
	      #:focus 'mouse
	      #:random-placement #t
	      #:smart-placement #t
	      #:mwm-func-hint #t
	      #:mwm-decor-hint #t
	      #:decorate-transient #t
	      #:PPosition-hint #f
	      #:lenience #t)

(define desk-widget
  (make-style #:plain-border #t
	      #:sticky #t
	      #:winlist-skip #t
	      #:border-width 1
	      #:focus 'none))

(window-style "*xclock" #:no-titlebar #t #:use-style desk-widget)



-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Sun Jan 31 05:45:19 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA11584
	for scwm-discuss-outgoing; Sun, 31 Jan 1999 05:45:19 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA11581
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 31 Jan 1999 05:45:17 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA26109; Sun, 31 Jan 99 05:44:49 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id MAA14062; Sun, 31 Jan 1999 12:44:59 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: two jan 17th snapshot bugs -
References: <m21zkjgghz.fsf_-_@blinky.bfr.co.il> <qrraez6ddyy.fsf@elwha.cs.washington.edu> <m2k8ya5nxu.fsf@blinky.bfr.co.il> <qrrr9siaw76.fsf@elwha.cs.washington.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 31 Jan 1999 12:44:58 +0200
In-Reply-To: Greg Badros's message of "26 Jan 1999 07:30:05 -0800"
Message-Id: <m21zkboh5h.fsf@blinky.bfr.co.il>
Lines: 36
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > hjstein@bfr.co.il (Harvey J. Stein) writes:
 > 
 > > Greg Badros <gjb@cs.washington.edu> writes:
 > > 
 > >  > hjstein@bfr.co.il (Harvey J. Stein) writes:
 > >  > 
 > >  > > I've found 2 bugs in the Jan 17th snapshot I built.
 > >  > > 
 > >  > > 1. My first 1 or more resizes of windows don't rubberband.  Eventually
 > >  > >    it switches to rubberbanding.  Especially ugly with X windows over
 > >  > >    slow connections, or with Netscape for that matter.
 > >  > 
 > >  > You mean they go opaquely or they don't do anything at all?  I can't
 > >  > test this because the constraint solver turns rubber-banding off.  I'll
 > >  > let someone else field this.
 > > 
 > > I'm not sure what you mean by "go opaquely".  It resizes, but not with
 > > rubberbanding.  It looks like the app keeps getting resize messages,
 > > causing it to regenerate the window over & over again as I, for
 > > example, drag the right edge to the right.
 > 
 > "go opaquely" means "do an opaque resize".  I.e., shows the full window
 > and its contents over and over again as the size changes.  Sounds like
 > that's what you're getting.  Don't know why, though.

I think I found the problem with the resizing.  It seems like there's
a new variable (opaque-resize-percent) which as a nonzero default
value.  I changed it to 0 & I always get rubberbanding resizes now.
Sorry about the false alarm.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Mon Feb  1 17:35:52 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA06322
	for scwm-discuss-outgoing; Sat, 30 Jan 1999 15:04:22 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA06319
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 30 Jan 1999 15:04:19 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA14467; Sat, 30 Jan 99 15:03:52 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id WAA05541; Sat, 30 Jan 1999 22:04:04 +0200
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Nick Scott <mendigo@geocities.com>, Greg Badros <gjb@cs.washington.edu>,
        scwm-discuss@mit.edu
Subject: Re: Odd popup menus
References: <Pine.LNX.4.05.9901281809530.7660-100000@deus.localdomain> <36B15BF6.2E3A4BFB@alum.mit.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 30 Jan 1999 22:04:04 +0200
In-Reply-To: Maciej Stachowiak's message of "Fri, 29 Jan 1999 01:57:58 -0500"
Message-Id: <m2iudo4jez.fsf@blinky.bfr.co.il>
Lines: 14
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Speaking of strange popup behavior, I noticed another one.  My upper
left corner button pops up a move/resize/close/... menu.  The popup
seems to show up wherever the mouse happens to be when the menu
finally displays, which is some time after the button was clicked
because of the delay in waiting for a possible 2nd mouse click.  So,
this can actually be quite far from the button.  I found it somewhat
disconcerting to click on the button, move the mouse & have the menu
show up quite far from the button.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Mon Feb  1 17:59:28 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA07224
	for scwm-discuss-outgoing; Sat, 30 Jan 1999 17:20:40 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from mail.eaglets.com ([208.235.77.228])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id RAA07221
	for <scwm-discuss@huis-clos.mit.edu>; Sat, 30 Jan 1999 17:20:15 -0500
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Sat, 30 Jan 1999 17:19:24 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Sat, 30 Jan 1999 17:19:24 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id RAA18265;
	Sat, 30 Jan 1999 17:18:15 -0500 (EST)
To: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: messages when placing transient windows
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 30 Jan 1999 17:18:15 -0500
Message-ID: <m3679oxv4o.fsf@eho.eaglets.com>
Lines: 22
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

using sds.scwmrc, when a transient window is created and places, I get
the following messages on the stdout:

;;; (pointer-position (74 109))

;;; (window-size (202 154))

;;; (offset (0 0))

;;; (po (-0.5 -0.5))

;;; (wav (1280 0))

they are generated by `peek' calls in `place-at-point-internal'.
there these debug calls needed?
is there a way to disable printing?

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Please wait, MS Windows are preparing the blue screen of death.

From owner-scwm-discuss@mit.edu  Mon Feb  1 18:19:39 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA06345
	for scwm-discuss-outgoing; Sat, 30 Jan 1999 15:06:58 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA06342
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 30 Jan 1999 15:06:56 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA14843; Sat, 30 Jan 99 15:06:35 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA13026; Sat, 30 Jan 1999 12:06:50 -0800 (PST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: Maciej Stachowiak <mstachow@alum.mit.edu>,
        Nick Scott <mendigo@geocities.com>, scwm-discuss@mit.edu
Subject: Re: Odd popup menus
References: <Pine.LNX.4.05.9901281809530.7660-100000@deus.localdomain> <36B15BF6.2E3A4BFB@alum.mit.edu> <m2iudo4jez.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Jan 1999 12:06:49 -0800
In-Reply-To: hjstein@bfr.co.il's message of "30 Jan 1999 22:04:04 +0200"
Message-Id: <qrr7lu4ikyu.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Speaking of strange popup behavior, I noticed another one.  My upper
> left corner button pops up a move/resize/close/... menu.  The popup
> seems to show up wherever the mouse happens to be when the menu
> finally displays, which is some time after the button was clicked
> because of the delay in waiting for a possible 2nd mouse click.  So,
> this can actually be quite far from the button.  I found it somewhat
> disconcerting to click on the button, move the mouse & have the menu
> show up quite far from the button.

You probably aren't using `popup-menu-from-decoration' -- see
sample.scwmrc/gjb.scwmrc for uses of that.  It's a bit of a hack, IIRC,
but it works.

Greg

From owner-scwm-discuss@mit.edu  Mon Feb  1 18:31:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA06599
	for scwm-discuss-outgoing; Sat, 30 Jan 1999 16:15:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from smtp1.erols.com (smtp1.erols.com [207.172.3.234])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id QAA06596
	for <scwm-discuss@ph.mit.edu>; Sat, 30 Jan 1999 16:15:06 -0500
Received: from alum.mit.edu (209-122-231-128.s128.tnt4.sbo.erols.com [209.122.231.128])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id QAA02026
	for <scwm-discuss@ph.mit.edu>; Sat, 30 Jan 1999 16:15:00 -0500 (EST)
Message-ID: <36B3772E.9E7877B7@alum.mit.edu>
Date: Sat, 30 Jan 1999 16:18:38 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Thoughts about borders
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I've managed to get the gnome hint stuff to sort of almost work enough
to
handle the gnome panel properly. One interesting issue is that the panel
requires the Motif hints to be strictly and literally handled, in
particular,
it looks really dorky with a title and/or border. There was a minor bug
in
decorations.c which caused a title to accidentally get drawn, despite a
Motif
hint to the contrary, but the border issue is more subtle - the
hint-processing
code properly sets the border width to zero, but the user default
preferences
promptly override this.

I'm not sure what the best way to deal with this is. I thought of adding
an
fNoBorder flag (which would also be user-settable in case the user realy
_does_
want to override this) which would cause any specified border width to
be ignored,
but that would possibly require changing quite a lot of borders.c, which
would
not be fun. Another possibility is to overload the current fBorder
(plain border)
flag to prevent the user from changing the border width while it is in
effect,
but that seems like rather a hack.

Any other ideas?

 - Maciej

From owner-scwm-discuss@mit.edu  Mon Feb  1 18:33:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA11544
	for scwm-discuss-outgoing; Sun, 31 Jan 1999 05:35:03 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA11535
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 31 Jan 1999 05:34:59 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA25716; Sun, 31 Jan 99 05:34:31 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id MAA13980; Sun, 31 Jan 1999 12:34:49 +0200
To: scwm-discuss@mit.edu
Subject: scwm 0.9 border bug.
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 31 Jan 1999 12:34:49 +0200
In-Reply-To: Greg Badros's message of "30 Jan 1999 12:06:49 -0800"
Message-Id: <m2679npw6u.fsf_-_@blinky.bfr.co.il>
Lines: 41
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I downloaded the scwm 0.9-1 source RPM, I rebuilt it for rh4.2  (BTW,
Greg, I'll uuencode & email you the RPMs).  I installed.  So far so
good.  However I have 3 widgets using border-width 1 (because that
used to be how to get a zero border width).  These end up now with
really having a border width of 1 pixel, but the border doesn't
refresh properly.  For example, if I move a window over one of these
things, and then move it away, the 1 pixel wide border keeps
displaying pieces of what was overlaying it.

Here're the config pieces in question:

(window-style "*" 
	      #:foreground "Wheat" #:background "DimGrey" 
	      #:icon "unknown1.xpm" 
	      #:icon-box (list (x- 70) 1 69 (y- 141))
	      #:border-width 4
	      #:focus 'mouse
	      #:random-placement #t
	      #:smart-placement #t
	      #:mwm-func-hint #t
	      #:mwm-decor-hint #t
	      #:decorate-transient #t
	      #:PPosition-hint #f
	      #:lenience #t)

(define desk-widget
  (make-style #:plain-border #t
	      #:sticky #t
	      #:winlist-skip #t
	      #:border-width 1
	      #:focus 'none))

(window-style "*xclock" #:no-titlebar #t #:use-style desk-widget)



-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Mon Feb  1 18:43:08 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA11584
	for scwm-discuss-outgoing; Sun, 31 Jan 1999 05:45:19 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA11581
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 31 Jan 1999 05:45:17 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA26109; Sun, 31 Jan 99 05:44:49 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id MAA14062; Sun, 31 Jan 1999 12:44:59 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: two jan 17th snapshot bugs -
References: <m21zkjgghz.fsf_-_@blinky.bfr.co.il> <qrraez6ddyy.fsf@elwha.cs.washington.edu> <m2k8ya5nxu.fsf@blinky.bfr.co.il> <qrrr9siaw76.fsf@elwha.cs.washington.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 31 Jan 1999 12:44:58 +0200
In-Reply-To: Greg Badros's message of "26 Jan 1999 07:30:05 -0800"
Message-Id: <m21zkboh5h.fsf@blinky.bfr.co.il>
Lines: 36
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > hjstein@bfr.co.il (Harvey J. Stein) writes:
 > 
 > > Greg Badros <gjb@cs.washington.edu> writes:
 > > 
 > >  > hjstein@bfr.co.il (Harvey J. Stein) writes:
 > >  > 
 > >  > > I've found 2 bugs in the Jan 17th snapshot I built.
 > >  > > 
 > >  > > 1. My first 1 or more resizes of windows don't rubberband.  Eventually
 > >  > >    it switches to rubberbanding.  Especially ugly with X windows over
 > >  > >    slow connections, or with Netscape for that matter.
 > >  > 
 > >  > You mean they go opaquely or they don't do anything at all?  I can't
 > >  > test this because the constraint solver turns rubber-banding off.  I'll
 > >  > let someone else field this.
 > > 
 > > I'm not sure what you mean by "go opaquely".  It resizes, but not with
 > > rubberbanding.  It looks like the app keeps getting resize messages,
 > > causing it to regenerate the window over & over again as I, for
 > > example, drag the right edge to the right.
 > 
 > "go opaquely" means "do an opaque resize".  I.e., shows the full window
 > and its contents over and over again as the size changes.  Sounds like
 > that's what you're getting.  Don't know why, though.

I think I found the problem with the resizing.  It seems like there's
a new variable (opaque-resize-percent) which as a nonzero default
value.  I changed it to 0 & I always get rubberbanding resizes now.
Sorry about the false alarm.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Feb  2 05:48:34 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA13755
	for scwm-discuss-outgoing; Tue, 2 Feb 1999 05:48:34 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA13752
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 2 Feb 1999 05:48:32 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA08730; Tue, 2 Feb 99 05:48:08 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id MAA10294; Tue, 2 Feb 1999 12:48:19 +0200
To: scwm-discuss@mit.edu
Subject: 0.9 bug - pager & icon interaction.
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 02 Feb 1999 12:48:12 +0200
In-Reply-To: Maciej Stachowiak's message of "Sat, 30 Jan 1999 16:18:38 -0500"
Message-Id: <m2d83t5bf7.fsf@blinky.bfr.co.il>
Lines: 59
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


The fvwm2 pager's behaving weirdly with icons now.  I have 2 desktops
displayed in the pager, each of size 2x3.  Basically, the icon
position communicated to the pager seems to relative instead of
absolute, so changing window panes moves the icons.  Here's how to
reproduce it:

1. Iconify a window on the 2nd desktop.
2. Use the pager to switch to a window pane on the 1st desktop.
3. Use the pager to move from window pane to window pane.  Note that
   as you move around the image in the pager of the iconified window
   also moves around, keeping the same relative position.

What I mean by "relative position" is as follows.  Here are my window
panes:

   Desk 1      Desk 2
   1    2      1    2   
   3    4      3    4
   5    6      5    6

If I iconify in pane 6 of desk 2, and switch to pane 4 of desk 1, then
the icon is two panes to the right & 1 pane down.  If I then move up a
window pane (to pane 2, desk 1), the icon also moves up one window
pane.  If I move to the left one window pane, the icon moves to the
left one window pane too.

Note that this happens both when I use the pager to move around & when
I cause a pane flip at the edge of a window pane by holding the mouse
there.

In and of itself this isn't so bad - the icons look like they're in
the wrong window, but when I switch desks they're back in the right
place.

Where this becomes a serious bug is when I drag icons around using the
pager.  E.g. - iconify something on desk 2, switch to desk 1, move on
desk one (so that icon image moves on pager) & then drag the icon
around.  Then the icon can end up in the wrong window, on the wrong
desktop, or completely in outer space.

I'm also seeing strange things happen with sticky windows, or maybe
the new version interacts differently with the following fucntion used
on a sticky window as a #:transient-placement-proc:

(define (stack-windows . w)
  (let* ((size (apply window-size w))
	 (desired-lr (map inexact->exact
			  (map * '(.6 .6) (display-size))))
	 (needed-tl (map - desired-lr size)))
    (apply move-to (append needed-tl w))))

I'll try to pin this down more, but I thought I'd mention it because
it might be a similar bug.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Feb  2 16:43:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA30926
	for scwm-discuss-outgoing; Tue, 2 Feb 1999 16:43:38 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA30923
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 2 Feb 1999 16:43:31 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA22963; Tue, 2 Feb 99 16:43:27 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id XAA06271; Tue, 2 Feb 1999 23:43:24 +0200
To: scwm-discuss@mit.edu
Subject: Startup speed much worse after upgrading.
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 02 Feb 1999 23:43:24 +0200
In-Reply-To: hjstein@bfr.co.il's message of "02 Feb 1999 22:34:28 +0200"
Message-Id: <m2679kzdkz.fsf@blinky.bfr.co.il>
Lines: 10
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Ever since I upgraded guile from 1.3a to 1.3 (from rawhide) & built &
installed scwm 0.9, start up time has been *much* slower.  It's
changed from maybe ~5 seconds to about 20 or 30 seconds.  Anyone know
why?

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Feb  2 16:53:31 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA31040
	for scwm-discuss-outgoing; Tue, 2 Feb 1999 16:53:31 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA31035
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 2 Feb 1999 16:53:21 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA28370; Tue, 2 Feb 99 16:49:36 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA24478; Tue, 2 Feb 1999 13:49:18 -0800 (PST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@mit.edu
Subject: Re: Startup speed much worse after upgrading.
References: <m2679kzdkz.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Feb 1999 13:49:18 -0800
In-Reply-To: hjstein@bfr.co.il's message of "02 Feb 1999 23:43:24 +0200"
Message-Id: <qrrvhhkcw81.fsf@elwha.cs.washington.edu>
Lines: 12
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Ever since I upgraded guile from 1.3a to 1.3 (from rawhide) & built &
> installed scwm 0.9, start up time has been *much* slower.  It's
> changed from maybe ~5 seconds to about 20 or 30 seconds.  Anyone know
> why?

There was a performance bug in the reader that caused that kind of speed 
difference -- see the guile list archive;  it may have been around
1.3->1.3a where it was fixed.

Greg

From owner-scwm-discuss@mit.edu  Tue Feb  2 17:01:30 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA31223
	for scwm-discuss-outgoing; Tue, 2 Feb 1999 17:01:30 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA31220
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 2 Feb 1999 17:01:22 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA10744; Tue, 2 Feb 99 17:01:28 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id AAA06387; Wed, 3 Feb 1999 00:00:59 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Startup speed much worse after upgrading.
References: <m2679kzdkz.fsf@blinky.bfr.co.il> <qrrvhhkcw81.fsf@elwha.cs.washington.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 03 Feb 1999 00:00:59 +0200
In-Reply-To: Greg Badros's message of "02 Feb 1999 13:49:18 -0800"
Message-Id: <m2ww20xy78.fsf@blinky.bfr.co.il>
Lines: 21
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > hjstein@bfr.co.il (Harvey J. Stein) writes:
 > 
 > > Ever since I upgraded guile from 1.3a to 1.3 (from rawhide) & built &
 > > installed scwm 0.9, start up time has been *much* slower.  It's
 > > changed from maybe ~5 seconds to about 20 or 30 seconds.  Anyone know
 > > why?
 > 
 > There was a performance bug in the reader that caused that kind of speed 
 > difference -- see the guile list archive;  it may have been around
 > 1.3->1.3a where it was fixed.

1.3a was the version before 1.3, & it's the one which seems to be much
faster.  So are you saying that rawhide is still shipping an absurdly
slow guile?

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Feb  2 17:03:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA31234
	for scwm-discuss-outgoing; Tue, 2 Feb 1999 17:03:18 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA31231
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 2 Feb 1999 17:03:17 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA11653; Tue, 2 Feb 99 17:03:36 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA25079; Tue, 2 Feb 1999 14:03:09 -0800 (PST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@mit.edu
Subject: Re: Startup speed much worse after upgrading.
References: <m2679kzdkz.fsf@blinky.bfr.co.il> <qrrvhhkcw81.fsf@elwha.cs.washington.edu> <m2ww20xy78.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Feb 1999 14:03:09 -0800
In-Reply-To: hjstein@bfr.co.il's message of "03 Feb 1999 00:00:59 +0200"
Message-Id: <qrru2x4cvky.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
>  > hjstein@bfr.co.il (Harvey J. Stein) writes:
>  > 
>  > > Ever since I upgraded guile from 1.3a to 1.3 (from rawhide) & built &
>  > > installed scwm 0.9, start up time has been *much* slower.  It's
>  > > changed from maybe ~5 seconds to about 20 or 30 seconds.  Anyone know
>  > > why?
>  > 
>  > There was a performance bug in the reader that caused that kind of speed 
>  > difference -- see the guile list archive;  it may have been around
>  > 1.3->1.3a where it was fixed.
> 
> 1.3a was the version before 1.3, & it's the one which seems to be much
> faster.  So are you saying that rawhide is still shipping an absurdly
> slow guile?

I haven't a clue about the rawhide rpms -- never used one.  I forgot the
weird ordering (I thought 1.3 was before 1.3a [and was a bit confused by
your calling it upgrading] but now remember that you're right).

The moral is, maybe we should work with the guile rpm packagers to make
sure they work well with Scwm.

I'm out the door for two days, so sorry for not responding to messages
for a bit.

Greg

From owner-scwm-discuss@mit.edu  Tue Feb  2 21:14:27 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA32523
	for scwm-discuss-outgoing; Tue, 2 Feb 1999 21:14:27 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA32520
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 2 Feb 1999 21:14:03 -0500
Received: from [192.116.142.129] by MIT.EDU with SMTP
	id AA06326; Tue, 2 Feb 99 15:36:21 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id WAA13885; Tue, 2 Feb 1999 22:34:28 +0200
To: scwm-discuss@mit.edu
Subject: anon build version.
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 02 Feb 1999 22:34:28 +0200
In-Reply-To: Maciej Stachowiak's message of "Sat, 30 Jan 1999 16:18:38 -0500"
Message-Id: <m290egzgrv.fsf@blinky.bfr.co.il>
Lines: 9
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I just did an anon cvs update & built scwm & did "make dist".  Why is
it still building scwm-0.9beta1.tar.gz?  Shouldn't the version # be
something like 0.9.1?

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Feb  2 21:31:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA32523
	for scwm-discuss-outgoing; Tue, 2 Feb 1999 21:14:27 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA32520
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 2 Feb 1999 21:14:03 -0500
Received: from [192.116.142.129] by MIT.EDU with SMTP
	id AA06326; Tue, 2 Feb 99 15:36:21 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id WAA13885; Tue, 2 Feb 1999 22:34:28 +0200
To: scwm-discuss@mit.edu
Subject: anon build version.
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 02 Feb 1999 22:34:28 +0200
In-Reply-To: Maciej Stachowiak's message of "Sat, 30 Jan 1999 16:18:38 -0500"
Message-Id: <m290egzgrv.fsf@blinky.bfr.co.il>
Lines: 9
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I just did an anon cvs update & built scwm & did "make dist".  Why is
it still building scwm-0.9beta1.tar.gz?  Shouldn't the version # be
something like 0.9.1?

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Feb  2 22:05:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA32738
	for scwm-discuss-outgoing; Tue, 2 Feb 1999 22:05:29 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from TYO203.gate.nec.co.jp (TYO203.gate.nec.co.jp [202.32.8.211])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id WAA32735
	for <scwm-discuss@vicarious-existence.mit.edu>; Tue, 2 Feb 1999 22:05:14 -0500
Received: from mailsv2.nec.co.jp (mailsv2-le1 [192.168.1.91])
	by TYO203.gate.nec.co.jp (8.9.1a/3.7W99011317) with ESMTP id MAA12207
	for <scwm-discuss@vicarious-existence.mit.edu>; Wed, 3 Feb 1999 12:05:06 +0900 (JST)
Received: from mailsv.nec.co.jp (mailsv.nec.co.jp [10.7.68.90]) by mailsv2.nec.co.jp (8.9.1a/3.7W-MAILSV2-NEC) with ESMTP
	id MAA20729 for <scwm-discuss@vicarious-existence.mit.edu>; Wed, 3 Feb 1999 12:04:59 +0900 (JST)
Received: from silk1.ats.nis.nec.co.jp (root@silk1.ats.nis.nec.co.jp [10.57.21.11]) by mailsv.nec.co.jp (8.9.1a/3.7W-MAILSV-NEC) with ESMTP
	id MAA11304 for <scwm-discuss@vicarious-existence.mit.edu>; Wed, 3 Feb 1999 12:03:43 +0900 (JST)
Received: from localhost by silk1.ats.nis.nec.co.jp (8.9.1a/ATS.NIS-980918) with ESMTP
	id MAA08035; Wed, 3 Feb 1999 12:03:42 +0900 (JST)
To: scwm-discuss@mit.edu
Subject: how to send key-press event to a window.
X-Mailer: Mew version 1.92.4 on XEmacs 20.3 (Vatican City)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <19990203120022D.MAP2303@narnia.nis.nec.co.jp>
Date: Wed, 03 Feb 1999 12:00:22 +0900
From: Daisuke Kanda <MAP2303@mapletown.net>
X-Dispatcher: imput version 971024
Lines: 21
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


  Hello, all.
  I've subscribed this list yesterday but I use scwm for half a year:).

  These days I began to make my own .scwmrc, but I've got a trouble...

  Can I send key-press event to a window?
  I think it will be done by send-key-press function, but it's wrong.

  For example, I evaluate following source:

(bind-key 'all "C-M-v"
	  (lambda ()
	    (send-key-press "v" (current-window-with-focus))
	    ))

  I expect the `v' is input when I press C-M-v on Emacs, but not.
  Is there someting wrong? Please teach me hot to do it.

-- 
  Dai of Mapletown

From owner-scwm-discuss@mit.edu  Wed Feb  3 01:49:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA31223
	for scwm-discuss-outgoing; Tue, 2 Feb 1999 17:01:30 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA31220
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 2 Feb 1999 17:01:22 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA10744; Tue, 2 Feb 99 17:01:28 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id AAA06387; Wed, 3 Feb 1999 00:00:59 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@MIT.EDU
Subject: Re: Startup speed much worse after upgrading.
References: <m2679kzdkz.fsf@blinky.bfr.co.il> <qrrvhhkcw81.fsf@elwha.cs.washington.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 03 Feb 1999 00:00:59 +0200
In-Reply-To: Greg Badros's message of "02 Feb 1999 13:49:18 -0800"
Message-Id: <m2ww20xy78.fsf@blinky.bfr.co.il>
Lines: 21
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > hjstein@bfr.co.il (Harvey J. Stein) writes:
 > 
 > > Ever since I upgraded guile from 1.3a to 1.3 (from rawhide) & built &
 > > installed scwm 0.9, start up time has been *much* slower.  It's
 > > changed from maybe ~5 seconds to about 20 or 30 seconds.  Anyone know
 > > why?
 > 
 > There was a performance bug in the reader that caused that kind of speed 
 > difference -- see the guile list archive;  it may have been around
 > 1.3->1.3a where it was fixed.

1.3a was the version before 1.3, & it's the one which seems to be much
faster.  So are you saying that rawhide is still shipping an absurdly
slow guile?

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Wed Feb  3 02:01:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA31234
	for scwm-discuss-outgoing; Tue, 2 Feb 1999 17:03:18 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA31231
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 2 Feb 1999 17:03:17 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA11653; Tue, 2 Feb 99 17:03:36 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA25079; Tue, 2 Feb 1999 14:03:09 -0800 (PST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@MIT.EDU
Subject: Re: Startup speed much worse after upgrading.
References: <m2679kzdkz.fsf@blinky.bfr.co.il> <qrrvhhkcw81.fsf@elwha.cs.washington.edu> <m2ww20xy78.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Feb 1999 14:03:09 -0800
In-Reply-To: hjstein@bfr.co.il's message of "03 Feb 1999 00:00:59 +0200"
Message-Id: <qrru2x4cvky.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
>  > hjstein@bfr.co.il (Harvey J. Stein) writes:
>  > 
>  > > Ever since I upgraded guile from 1.3a to 1.3 (from rawhide) & built &
>  > > installed scwm 0.9, start up time has been *much* slower.  It's
>  > > changed from maybe ~5 seconds to about 20 or 30 seconds.  Anyone know
>  > > why?
>  > 
>  > There was a performance bug in the reader that caused that kind of speed 
>  > difference -- see the guile list archive;  it may have been around
>  > 1.3->1.3a where it was fixed.
> 
> 1.3a was the version before 1.3, & it's the one which seems to be much
> faster.  So are you saying that rawhide is still shipping an absurdly
> slow guile?

I haven't a clue about the rawhide rpms -- never used one.  I forgot the
weird ordering (I thought 1.3 was before 1.3a [and was a bit confused by
your calling it upgrading] but now remember that you're right).

The moral is, maybe we should work with the guile rpm packagers to make
sure they work well with Scwm.

I'm out the door for two days, so sorry for not responding to messages
for a bit.

Greg

From owner-scwm-discuss@mit.edu  Wed Feb  3 02:15:12 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA01293
	for scwm-discuss-outgoing; Wed, 3 Feb 1999 02:15:12 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA01289
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 3 Feb 1999 02:15:11 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA04211; Wed, 3 Feb 99 02:15:08 EST
Received: (qmail 18206 invoked by uid 501); 3 Feb 1999 07:15:03 -0000
Message-Id: <19990202231502.A18156@molehill.org>
Date: Tue, 2 Feb 1999 23:15:02 -0800
From: Todd Larason <jtl@molehill.org>
To: "Harvey J. Stein" <hjstein@bfr.co.il>, Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Startup speed much worse after upgrading.
References: <m2679kzdkz.fsf@blinky.bfr.co.il> <qrrvhhkcw81.fsf@elwha.cs.washington.edu> <m2ww20xy78.fsf@blinky.bfr.co.il>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <m2ww20xy78.fsf@blinky.bfr.co.il>; from Harvey J. Stein on Wed, Feb 03, 1999 at 12:00:59AM +0200
X-Kibo: Chinese food is the destiny of victories.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

1.3 is the latest released version of guile, and is also the absurdly slow
one.  Maybe we ought to talk to the guile people about a 1.3.1 release before
talking to the rawhide people.

BTW, I'm *hoping* to have more time for scwm now/soon.  I ended up deleting
1500+ messages from my scwm folder today, most of which were there because
there was something in them I wanted to either respond to or work on.  If
there was anything in particular I should have responded to and didn't, please 
accept my apologies and resend it.

On 990203, Harvey J. Stein wrote:
> Greg Badros <gjb@cs.washington.edu> writes:
> 
>  > hjstein@bfr.co.il (Harvey J. Stein) writes:
>  > 
>  > > Ever since I upgraded guile from 1.3a to 1.3 (from rawhide) & built &
>  > > installed scwm 0.9, start up time has been *much* slower.  It's
>  > > changed from maybe ~5 seconds to about 20 or 30 seconds.  Anyone know
>  > > why?
>  > 
>  > There was a performance bug in the reader that caused that kind of speed 
>  > difference -- see the guile list archive;  it may have been around
>  > 1.3->1.3a where it was fixed.
> 
> 1.3a was the version before 1.3, & it's the one which seems to be much
> faster.  So are you saying that rawhide is still shipping an absurdly
> slow guile?
> 
> -- 
> Harvey J. Stein
> BFM Financial Research
> hjstein@bfr.co.il

-- 
"Ayn's vision is _Russian_ libertarianism, in the same sense that
Leninism is Russian Marxism." -- Joshua W Burton
ICQ UIN: 132830786

From owner-scwm-discuss@mit.edu  Wed Feb  3 02:43:43 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA01802
	for scwm-discuss-outgoing; Wed, 3 Feb 1999 02:43:43 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA01799
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 3 Feb 1999 02:43:42 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA11899; Wed, 3 Feb 99 02:44:01 EST
Received: (qmail 19986 invoked by uid 501); 3 Feb 1999 07:43:42 -0000
Message-Id: <19990202234341.A19861@molehill.org>
Date: Tue, 2 Feb 1999 23:43:41 -0800
From: Todd Larason <jtl@molehill.org>
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: message window comments
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
X-Kibo: I think I shall be bogus half of the time.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

This new message-window work is very cool.

The only moving style I've used that doesn't seem to be easily doable with
message-window-options is:

(define (move-message-window-to-mouse w)
  (let* ((ppx (car (pointer-position)))
	 (ppy (cadr (pointer-position)))
	 (xoff (if (< ppx 40) 0 -.5))
	 (yoff (if (< ppy 20) .2 -1.2)))
    (message-window-set-position! move-resize-message-window 
				  ppx ppy xoff yoff)))

where the message window follows the pointer, staying just a little bit out of 
its way, and not going off the top of the screen.

Dunno if anybody else would like that style or not, but thouht I'd mention it.

From owner-scwm-discuss@mit.edu  Wed Feb  3 04:51:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA03330
	for scwm-discuss-outgoing; Wed, 3 Feb 1999 04:51:33 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA03327
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 3 Feb 1999 04:51:31 -0500
Received: from smtp2.erols.com by MIT.EDU with SMTP
	id AA26292; Wed, 3 Feb 99 04:51:51 EST
Received: from alum.mit.edu (209-122-232-14.s268.tnt4.sbo.erols.com [209.122.232.14])
	by smtp2.erols.com (8.8.8/8.8.5) with ESMTP id EAA21305;
	Wed, 3 Feb 1999 04:51:49 -0500 (EST)
Message-Id: <36B7E8AD.FD38C55D@alum.mit.edu>
Date: Wed, 03 Feb 1999 01:11:57 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: "Harvey J. Stein" <hjstein@bfr.co.il>
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
Subject: Re: Startup speed much worse after upgrading.
References: <m2679kzdkz.fsf@blinky.bfr.co.il> <qrrvhhkcw81.fsf@elwha.cs.washington.edu> <m2ww20xy78.fsf@blinky.bfr.co.il>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Harvey J. Stein wrote:
> 
> 
> 1.3a was the version before 1.3, & it's the one which seems to be much
> faster.  So are you saying that rawhide is still shipping an absurdly
> slow guile?
> 

The 1.3 release had some nasty performance issues with `read' which have
since
been fixed in the CVS sources. There was supposed to be a 1.3.1 release
at
some point, it may be possible to convince the Guile people it would be
a good
idea to release that before Red Hat 6.0 comes out lest a large number of
people
think Guile has even more performance issues than it reall does.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb  3 05:36:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA03330
	for scwm-discuss-outgoing; Wed, 3 Feb 1999 04:51:33 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA03327
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 3 Feb 1999 04:51:31 -0500
Received: from smtp2.erols.com by MIT.EDU with SMTP
	id AA26292; Wed, 3 Feb 99 04:51:51 EST
Received: from alum.mit.edu (209-122-232-14.s268.tnt4.sbo.erols.com [209.122.232.14])
	by smtp2.erols.com (8.8.8/8.8.5) with ESMTP id EAA21305;
	Wed, 3 Feb 1999 04:51:49 -0500 (EST)
Message-Id: <36B7E8AD.FD38C55D@alum.mit.edu>
Date: Wed, 03 Feb 1999 01:11:57 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: "Harvey J. Stein" <hjstein@bfr.co.il>
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@MIT.EDU
Subject: Re: Startup speed much worse after upgrading.
References: <m2679kzdkz.fsf@blinky.bfr.co.il> <qrrvhhkcw81.fsf@elwha.cs.washington.edu> <m2ww20xy78.fsf@blinky.bfr.co.il>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Harvey J. Stein wrote:
> 
> 
> 1.3a was the version before 1.3, & it's the one which seems to be much
> faster.  So are you saying that rawhide is still shipping an absurdly
> slow guile?
> 

The 1.3 release had some nasty performance issues with `read' which have
since
been fixed in the CVS sources. There was supposed to be a 1.3.1 release
at
some point, it may be possible to convince the Guile people it would be
a good
idea to release that before Red Hat 6.0 comes out lest a large number of
people
think Guile has even more performance issues than it reall does.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb  3 05:52:04 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA06532
	for scwm-discuss-outgoing; Wed, 3 Feb 1999 05:52:04 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA06526
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 3 Feb 1999 05:52:00 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA02195; Wed, 3 Feb 99 05:52:19 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id MAA10296; Wed, 3 Feb 1999 12:51:48 +0200
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: "Harvey J. Stein" <hjstein@bfr.co.il>, Greg Badros <gjb@cs.washington.edu>,
        scwm-discuss@mit.edu
Subject: Re: Startup speed much worse after upgrading.
References: <m2679kzdkz.fsf@blinky.bfr.co.il> <qrrvhhkcw81.fsf@elwha.cs.washington.edu> <m2ww20xy78.fsf@blinky.bfr.co.il> <36B7E8AD.FD38C55D@alum.mit.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 03 Feb 1999 12:51:44 +0200
In-Reply-To: Maciej Stachowiak's message of "Wed, 03 Feb 1999 01:11:57 -0500"
Message-Id: <m2k8xzrc8v.fsf@blinky.bfr.co.il>
Lines: 22
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

 > Harvey J. Stein wrote:
 > > 
 > > 1.3a was the version before 1.3, & it's the one which seems to be much
 > > faster.  So are you saying that rawhide is still shipping an absurdly
 > > slow guile?
 > 
 > The 1.3 release had some nasty performance issues with `read' which
 > have since been fixed in the CVS sources. There was supposed to be
 > a 1.3.1 release at some point, it may be possible to convince the
 > Guile people it would be a good idea to release that before Red Hat
 > 6.0 comes out lest a large number of people think Guile has even
 > more performance issues than it reall does.

I complained on the guile list, although I'm less than optimistic
about a new version being forthcoming.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Wed Feb  3 06:17:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA06779
	for scwm-discuss-outgoing; Wed, 3 Feb 1999 06:17:29 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id GAA06776
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 3 Feb 1999 06:17:28 -0500
Received: from smtp3.erols.com by MIT.EDU with SMTP
	id AA27862; Wed, 3 Feb 99 06:17:26 EST
Received: from alum.mit.edu (209-122-232-14.s268.tnt4.sbo.erols.com [209.122.232.14])
	by smtp3.erols.com (8.8.8/8.8.5) with ESMTP id GAA29177;
	Wed, 3 Feb 1999 06:17:23 -0500 (EST)
Message-Id: <36B7FCD4.1CBA5244@alum.mit.edu>
Date: Wed, 03 Feb 1999 02:37:56 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: "Harvey J. Stein" <hjstein@bfr.co.il>
Cc: scwm-discuss@mit.edu
Subject: Re: anon build version.
References: <m290egzgrv.fsf@blinky.bfr.co.il>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Harvey J. Stein wrote:
> 
> I just did an anon cvs update & built scwm & did "make dist".  Why is
> it still building scwm-0.9beta1.tar.gz?  Shouldn't the version # be
> something like 0.9.1?
> 

Yes. Actually, I'd lean towards 0.9.1-snap or something like that. Will
fix shortly.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb  3 13:12:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA25449
	for scwm-discuss-outgoing; Wed, 3 Feb 1999 13:12:13 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA25446
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 3 Feb 1999 13:12:10 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA25161; Wed, 3 Feb 99 13:12:29 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Wed, 03 Feb 1999 13:11:23 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Wed, 03 Feb 1999 13:11:22 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id NAA07064;
	Wed, 3 Feb 1999 13:12:02 -0500 (EST)
To: scwm-discuss@mit.edu
Subject: make uninstall
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 03 Feb 1999 13:12:02 -0500
Message-Id: <m3vhhjgxvx.fsf@eho.eaglets.com>
Lines: 10
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

make uninstall doesn't remove directories
/usr/local/share/scwm/
/usr/local/share/scwm-themes/
/usr/local/share/scwm-modules/
(it does remove the contents though)
-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
What garlic is to food, insanity is to art.

From owner-scwm-discuss@mit.edu  Wed Feb  3 13:32:56 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA25526
	for scwm-discuss-outgoing; Wed, 3 Feb 1999 13:32:56 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from mail.eaglets.com ([208.235.77.228])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id NAA25523
	for <scwm-discuss@huis-clos.mit.edu>; Wed, 3 Feb 1999 13:32:55 -0500
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Wed, 03 Feb 1999 13:31:56 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Wed, 03 Feb 1999 13:31:56 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id NAA07844;
	Wed, 3 Feb 1999 13:32:35 -0500 (EST)
To: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: RPMs
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 03 Feb 1999 13:32:35 -0500
Message-ID: <m3socngwxo.fsf@eho.eaglets.com>
Lines: 7
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

IMO, either the binary RPM should include scwm-icons or an
scwm-icons-...-noarch.rpm should be provided.
-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Marriage is the sole cause of divorce.

From owner-scwm-discuss@mit.edu  Wed Feb  3 13:31:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA25449
	for scwm-discuss-outgoing; Wed, 3 Feb 1999 13:12:13 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA25446
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 3 Feb 1999 13:12:10 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA25161; Wed, 3 Feb 99 13:12:29 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Wed, 03 Feb 1999 13:11:23 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Wed, 03 Feb 1999 13:11:22 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id NAA07064;
	Wed, 3 Feb 1999 13:12:02 -0500 (EST)
To: scwm-discuss@mit.edu
Subject: make uninstall
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 03 Feb 1999 13:12:02 -0500
Message-Id: <m3vhhjgxvx.fsf@eho.eaglets.com>
Lines: 10
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

make uninstall doesn't remove directories
/usr/local/share/scwm/
/usr/local/share/scwm-themes/
/usr/local/share/scwm-modules/
(it does remove the contents though)
-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
What garlic is to food, insanity is to art.

From owner-scwm-discuss@mit.edu  Wed Feb  3 14:31:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA25526
	for scwm-discuss-outgoing; Wed, 3 Feb 1999 13:32:56 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from mail.eaglets.com ([208.235.77.228])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id NAA25523
	for <scwm-discuss@huis-clos.mit.edu>; Wed, 3 Feb 1999 13:32:55 -0500
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Wed, 03 Feb 1999 13:31:56 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Wed, 03 Feb 1999 13:31:56 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id NAA07844;
	Wed, 3 Feb 1999 13:32:35 -0500 (EST)
To: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: RPMs
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 03 Feb 1999 13:32:35 -0500
Message-ID: <m3socngwxo.fsf@eho.eaglets.com>
Lines: 7
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

IMO, either the binary RPM should include scwm-icons or an
scwm-icons-...-noarch.rpm should be provided.
-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Marriage is the sole cause of divorce.

From owner-scwm-discuss@mit.edu  Wed Feb  3 15:00:25 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA25449
	for scwm-discuss-outgoing; Wed, 3 Feb 1999 13:12:13 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA25446
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 3 Feb 1999 13:12:10 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA25161; Wed, 3 Feb 99 13:12:29 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Wed, 03 Feb 1999 13:11:23 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Wed, 03 Feb 1999 13:11:22 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id NAA07064;
	Wed, 3 Feb 1999 13:12:02 -0500 (EST)
To: scwm-discuss@mit.edu
Subject: make uninstall
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 03 Feb 1999 13:12:02 -0500
Message-Id: <m3vhhjgxvx.fsf@eho.eaglets.com>
Lines: 10
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

make uninstall doesn't remove directories
/usr/local/share/scwm/
/usr/local/share/scwm-themes/
/usr/local/share/scwm-modules/
(it does remove the contents though)
-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
What garlic is to food, insanity is to art.

From owner-scwm-discuss@mit.edu  Wed Feb  3 16:31:11 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA27216
	for scwm-discuss-outgoing; Wed, 3 Feb 1999 16:31:11 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id QAA27213
	for <scwm-discuss@vicarious-existence.mit.edu>; Wed, 3 Feb 1999 16:31:06 -0500
Received: from modeling3-cs.cs.unc.edu (culver@modeling3-cs.cs.unc.edu [152.2.142.118])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id QAA25253;
	Wed, 3 Feb 1999 16:30:53 -0500 (EST)
Received: (from culver@localhost)
	by modeling3-cs.cs.unc.edu (8.8.8/8.8.8) id QAA24899;
	Wed, 3 Feb 1999 16:30:51 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14008.49160.468332.134525@modeling3-cs.cs.unc.edu>
Date: Wed, 3 Feb 1999 16:30:48 -0500 (EST)
From: tim@CERBERUS.doppke.com
To: scwm-discuss@mit.edu
Subject: scwm-0.9 + guile-1.3 => ./configure fails
X-Mailer: VM 6.65 under 20.4 "Emerald" XEmacs  Lucid
X-Attribution: tdc
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I was unable to get ./configure in scwm-0.9 to recognize the existence 
of guile-1.3.  No matter what --with-foo-prefix=bar arguments I give,
I always get

checking for scm_handle_by_message_noexit in -lguile... no

I expect this is just a small error in the autoconf setup.

For fun, I installed guile-1.2 and it configures painlessly with this
older version, but during compilation,

.libs/scwmS.o(.data+0x1160): undefined reference to `gh_bool2scm'
.libs/scwmS.o(.data+0x11e8): undefined reference to `gh_make_vector'
.libs/scwmS.o(.data+0x1200): undefined reference to `gh_reverse'

and many others.

This is a Red Hat 5.1 or 5.2 Intel machine.

Thanks,
Tim

From owner-scwm-discuss@mit.edu  Wed Feb  3 16:40:16 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA27310
	for scwm-discuss-outgoing; Wed, 3 Feb 1999 16:40:16 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA27307
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 3 Feb 1999 16:40:14 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA02074; Wed, 3 Feb 99 16:40:31 EST
Received: (qmail 5815 invoked by uid 501); 3 Feb 1999 21:40:14 -0000
Message-Id: <19990203134013.A5205@molehill.org>
Date: Wed, 3 Feb 1999 13:40:13 -0800
From: Todd Larason <jtl@molehill.org>
To: tim@CERBERUS.doppke.com, scwm-discuss@mit.edu
Subject: Re: scwm-0.9 + guile-1.3 => ./configure fails
References: <14008.49160.468332.134525@modeling3-cs.cs.unc.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <14008.49160.468332.134525@modeling3-cs.cs.unc.edu>; from tim@CERBERUS.doppke.com on Wed, Feb 03, 1999 at 04:30:48PM -0500
X-Kibo: Television is the code of honor of the Kibo Bible.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Is this using the guile-1.3-1 rawhide RPM?  If so, upgrade to the current.  If 
not, can you see if guile-config is installed and found by configure?

On 990203, tim@CERBERUS.doppke.com wrote:
> 
> I was unable to get ./configure in scwm-0.9 to recognize the existence 
> of guile-1.3.  No matter what --with-foo-prefix=bar arguments I give,
> I always get
> 
> checking for scm_handle_by_message_noexit in -lguile... no
> 
> I expect this is just a small error in the autoconf setup.
> 
> For fun, I installed guile-1.2 and it configures painlessly with this
> older version, but during compilation,
> 
> .libs/scwmS.o(.data+0x1160): undefined reference to `gh_bool2scm'
> .libs/scwmS.o(.data+0x11e8): undefined reference to `gh_make_vector'
> .libs/scwmS.o(.data+0x1200): undefined reference to `gh_reverse'
> 
> and many others.
> 
> This is a Red Hat 5.1 or 5.2 Intel machine.
> 
> Thanks,
> Tim

-- 
"Ayn's vision is _Russian_ libertarianism, in the same sense that
Leninism is Russian Marxism." -- Joshua W Burton


-- 
ICQ UIN: 57723228

From owner-scwm-discuss@mit.edu  Fri Feb  5 16:31:26 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA01608
	for scwm-discuss-outgoing; Fri, 5 Feb 1999 16:31:26 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA01605
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 5 Feb 1999 16:31:25 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA11995; Fri, 5 Feb 99 16:31:46 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id QAA22969;
	Fri, 5 Feb 1999 16:21:55 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id QAA04493;
	Fri, 5 Feb 1999 16:31:23 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA12618; Fri, 5 Feb 99 16:31:22 EST
Received: from viewlogic.com by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id QAA12944; Fri, 5 Feb 1999 16:29:12 -0500
Message-Id: <36BB62A8.9861D36@viewlogic.com>
Date: Fri, 05 Feb 1999 16:29:12 -0500
From: Maciej Stachowiak <mstachow@viewlogic.com>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: sds@goems.com
Cc: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: Re: RPMs
References: <m3socngwxo.fsf@eho.eaglets.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold wrote:
> 
> IMO, either the binary RPM should include scwm-icons or an
> scwm-icons-...-noarch.rpm should be provided.

Agreed. I will try to have a decent rpm-able icons package by the next
release.

 - Maciej

From owner-scwm-discuss@mit.edu  Fri Feb  5 17:43:47 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA02179
	for scwm-discuss-outgoing; Fri, 5 Feb 1999 17:43:47 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA02176
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 5 Feb 1999 17:43:41 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA28648; Fri, 5 Feb 99 17:43:39 EST
Received: from Central.Sun.COM ([129.147.62.10]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id OAA21917 for <scwm-discuss@mit.edu>; Fri, 5 Feb 1999 14:43:36 -0800
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id PAA10373; Fri, 5 Feb 1999 15:43:35 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1b+Sun/8.9.1) id PAA17876;
	Fri, 5 Feb 1999 15:43:34 -0700 (MST)
To: scwm-discuss@mit.edu
Subject: returning a window to its original style
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Sam Falkner <samf@Central.Sun.COM>
Date: 05 Feb 1999 15:43:34 -0700
Message-Id: <ii77ltwlbe1.fsf@central.sun.com>
Lines: 36
User-Agent: Gnus/5.07007 (Pterodactyl Gnus v0.70) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

First, a question.  Sometimes in my scheme code I like to change the
style of a particular window.  I do it thus:

    (apply-style another-style win)

Is this the best way to do this?

The problem I'm having is that I want to undo what I did above.  I've
been doing

    (apply-style my-default-style win)

but that's not really what I want.  It misses out on all the various
things like

(window-style "xterm" foo)

that I also did in my .scwmrc.

I think that

    (apply-style global-conditional-style win)

would work, but `global-conditional-style' isn't public.

I could make everything work by never using (window-style ...) and
adding my own hooks to before-new-window-hook and
before-place-new-window-hook, much as style.scm does, but that would
be duplicating code.

So, could we make `global-conditional-style' be public, or is there a
better way?

Thanks!

- Sam

From owner-scwm-discuss@mit.edu  Fri Feb  5 20:52:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA03307
	for scwm-discuss-outgoing; Fri, 5 Feb 1999 20:52:29 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA03304
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 5 Feb 1999 20:52:28 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA01486; Fri, 5 Feb 99 20:52:24 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id UAA25581;
	Fri, 5 Feb 1999 20:42:57 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id UAA12202;
	Fri, 5 Feb 1999 20:52:24 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA16278; Fri, 5 Feb 99 20:52:23 EST
Received: from viewlogic.com by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id UAA22033; Fri, 5 Feb 1999 20:50:12 -0500
Message-Id: <36BB9FD3.37206A@viewlogic.com>
Date: Fri, 05 Feb 1999 20:50:12 -0500
From: Maciej Stachowiak <mstachow@viewlogic.com>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Sam Falkner <samf@Central.Sun.COM>
Cc: scwm-discuss@mit.edu
Subject: Re: returning a window to its original style
References: <ii77ltwlbe1.fsf@central.sun.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Falkner wrote:
> 
> So, could we make `global-conditional-style' be public, or is there a
> better way?
> 

Based on your example I would say yes, but it should also probably be
renamed
in that case, maybe just plain `global-style' or something like
`all-styles' or
`all-style-settings'.

 - Maciej

From owner-scwm-discuss@mit.edu  Fri Feb  5 21:00:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA03408
	for scwm-discuss-outgoing; Fri, 5 Feb 1999 21:00:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id VAA03405
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 5 Feb 1999 21:00:44 -0500
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id UAA25612
	for <scwm-discuss@ph.mit.edu>; Fri, 5 Feb 1999 20:51:10 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id VAA12344
	for <scwm-discuss@ph.mit.edu>; Fri, 5 Feb 1999 21:00:37 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA16383; Fri, 5 Feb 99 21:00:37 EST
Received: from viewlogic.com by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id UAA22036; Fri, 5 Feb 1999 20:58:26 -0500
Message-Id: <36BBA1C2.653B5A8B@viewlogic.com>
Date: Fri, 05 Feb 1999 20:58:26 -0500
From: Maciej Stachowiak <mstachow@viewlogic.com>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: scwm-discuss@mit.edu
Subject: bind-keycode
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I read over the code for this, and as far as I can tell, it differs
from bind-key in two rather orthogonal ways:

1) Ability to bind key release events as well as key presses.

2) Instead of the bind-key syntax, the key is specified by
passing a key code and a modifier mask.

I like #1 (and I think it can be incorporated into bind-key as
an optional 4th argument or something), but I definitely don't
like #2. I don't think either key codes or actual numeric
modifier masks should be exposed to the Scheme level at all. Is
there a reason passing arguments like that is useful?

I ask because I'm thinking of adding the key release capability 
to bind-key and simply removing bind-keycode (and keycode->leysym)
and I'm wondering if there was any particular motivation for the
way things were done.

 - Maciej

From owner-scwm-discuss@mit.edu  Sat Feb  6 06:39:55 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA07059
	for scwm-discuss-outgoing; Sat, 6 Feb 1999 06:39:55 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id GAA07056
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 6 Feb 1999 06:39:52 -0500
Received: from babylon.wsc.monash.edu.au by MIT.EDU with SMTP
	id AA15990; Sat, 6 Feb 99 06:39:42 EST
Received: from localhost (graeme@localhost)
	by babylon.wsc.monash.edu.au (8.8.7/8.8.7) with ESMTP id WAA21238
	for <scwm-discuss@mit.edu>; Sat, 6 Feb 1999 22:38:30 +1100
Date: Sat, 6 Feb 1999 22:38:30 +1100 (EST)
From: Graeme Cross <graeme@babylon.wsc.monash.edu.au>
Reply-To: Graeme.Cross@sci.monash.edu.au
To: scwm-discuss@mit.edu
Subject: Problems with scwm and Applixware
Message-Id: <Pine.LNX.4.04.9902062233140.21234-100000@babylon.wsc.monash.edu.au>
X-Attribution: gjc
X-Pgp-Key-Id: 702DB549
X-Url: http://www.wsc.monash.edu.au/~graeme/
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Is anyone successfully running Applixware v4.3.x under scwm?

I am finding that some dialog windows are not working - they are displayed
momentarily and then disappear. This only happens with some of the windows:
Print, Paragraph Format and Help-About Version are 3 windows that have this
problem, while Save, Export and Help-Search all work fine.

This is running on scwm v0.9 under FreeBSD using Applixware 4.3.1 (I think!
I can't get the Version window to display!) 

I have not seen this problem under WindowMaker or Blackbox on the same
system, so I have to assume it is a scwm problem.

The style I am using for all of my windows (if that could be the cause of 
the problem) is:

(window-style "*" 
              #:fg "bisque" #:bg "gray60"
              #:icon "leute.xpm" 
              #:icon-box (list (x- 70) 1 69 (y- 141))
              #:border-width 5
              #:focus 'mouse
              #:auto-raise #t
              #:random-placement #t 
              #:smart-placement #t
              #:mwm-func-hint #t 
              #:mwm-decor-hint #t
              #:hint-override #t
              #:decorate-transient #t
              #:PPosition-hint #f
              #:lenience #t
              #:use-decor my-decor
              )

Cheers
Graeme

--
Graeme Cross 
Water Studies Centre, Monash University           Phone: +61 3 990 54089
Clayton, Victoria, Australia



From owner-scwm-discuss@mit.edu  Sat Feb  6 09:29:48 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA07884
	for scwm-discuss-outgoing; Sat, 6 Feb 1999 09:29:48 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA07881
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 6 Feb 1999 09:29:46 -0500
Received: from smtp4.erols.com by MIT.EDU with SMTP
	id AA25042; Sat, 6 Feb 99 09:29:36 EST
Received: from alum.mit.edu (207-172-216-124.s124.tnt1.sbo.erols.com [207.172.216.124])
	by smtp4.erols.com (8.8.8/smtp-v1) with ESMTP id JAA03952;
	Sat, 6 Feb 1999 09:29:30 -0500 (EST)
Message-Id: <36BC52D5.5230F8AF@alum.mit.edu>
Date: Sat, 06 Feb 1999 09:33:57 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Graeme.Cross@sci.monash.edu.au
Cc: scwm-discuss@mit.edu
Subject: Re: Problems with scwm and Applixware
References: <Pine.LNX.4.04.9902062233140.21234-100000@babylon.wsc.monash.edu.au>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Graeme Cross wrote:
> 
> Is anyone successfully running Applixware v4.3.x under scwm?
> 
> I am finding that some dialog windows are not working - they are displayed
> momentarily and then disappear. This only happens with some of the windows:
> Print, Paragraph Format and Help-About Version are 3 windows that have this
> problem, while Save, Export and Help-Search all work fine.
> 
> This is running on scwm v0.9 under FreeBSD using Applixware 4.3.1 (I think!
> I can't get the Version window to display!)
> 
> I have not seen this problem under WindowMaker or Blackbox on the same
> system, so I have to assume it is a scwm problem.
> 

I don't have ApplixWare so I can't test this directly. Can you try the
following
tests for me please:

1) Check the window list menu after the windows pop up, and see if maybe
they just
got moved to a strange location.

2) Under a window manager where they pop up OK, run `xwininfo' and
`xprop' on
the windows, and send the results.

 - Maciej

From owner-scwm-discuss@mit.edu  Sun Feb  7 07:01:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA06175
	for scwm-discuss-outgoing; Sun, 7 Feb 1999 07:01:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id HAA06098
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 7 Feb 1999 07:01:04 -0500
Received: from babylon.wsc.monash.edu.au by MIT.EDU with SMTP
	id AA20810; Sun, 7 Feb 99 07:00:41 EST
Received: from localhost (graeme@localhost)
	by babylon.wsc.monash.edu.au (8.8.7/8.8.7) with ESMTP id WAA25290;
	Sun, 7 Feb 1999 22:59:45 +1100
Date: Sun, 7 Feb 1999 22:59:45 +1100 (EST)
From: Graeme Cross <graeme@babylon.wsc.monash.edu.au>
Reply-To: Graeme.Cross@sci.monash.edu.au
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Problems with scwm and Applixware
In-Reply-To: <36BC52D5.5230F8AF@alum.mit.edu>
Message-Id: <Pine.LNX.4.04.9902072253510.25288-100000@babylon.wsc.monash.edu.au>
X-Attribution: gjc
X-Pgp-Key-Id: 702DB549
X-Url: http://www.wsc.monash.edu.au/~graeme/
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Sat, 6 Feb 1999, Maciej Stachowiak wrote:

>Graeme Cross wrote:
>> 
>> Is anyone successfully running Applixware v4.3.x under scwm?
>> 
>> I am finding that some dialog windows are not working - they are displayed
>> momentarily and then disappear. This only happens with some of the windows:
>> Print, Paragraph Format and Help-About Version are 3 windows that have this
>> problem, while Save, Export and Help-Search all work fine.
>> 
>> This is running on scwm v0.9 under FreeBSD using Applixware 4.3.1 (I think!
>> I can't get the Version window to display!)
>> 
>> I have not seen this problem under WindowMaker or Blackbox on the same
>> system, so I have to assume it is a scwm problem.
>> 
>
>I don't have ApplixWare so I can't test this directly. Can you try the
>following tests for me please:
>
>1) Check the window list menu after the windows pop up, and see if maybe
>they just got moved to a strange location.

No - they are not listed in the windows popup menu. It seems they are
displayed for a moment and then destroyed.

>
>2) Under a window manager where they pop up OK, run `xwininfo' and
>`xprop' on the windows, and send the results.

Below is xwininfo & xprop data for three windows - the File/Export window is
an example of a window that works fine, the other two windows display the
problem outlined above. This info was got under Blackbox 0.50.2, where
Applixware runs fine.

I should point out that I tried running Applixware under SCWM using no
.scwmrc file (ie. running off SCWM defaults) to ensure that the problem was
not being caused by something loopy in my .scwmrc file  - I still see the
problem.

Here is the window information - I have delineated each of the three windows
with a header that starts with two hashes:

## The "File/Export" window

[/usr/home/graeme]$ xwininfo

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x1c00154 "Export"

  Absolute upper-left X:  499
  Absolute upper-left Y:  86
  Relative upper-left X:  3
  Relative upper-left Y:  3
  Width: 375
  Height: 517
  Depth: 16
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x21 (installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +499+86  -150+86  -150-165  +499-165
  -geometry 375x517+495+57

[/usr/home/graeme]$ xprop
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                Initial state is Normal State.
                bitmap id # to use for icon: 0x1c00159
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                user specified location: 282, 20
                program specified size: 375 by 517
                program specified minimum size: 375 by 440
                program specified maximum size: 994 by 708
WM_COMMAND(STRING) = { "applix", "-dd" }
WM_ICON_NAME(STRING) = "Export"
WM_NAME(STRING) = "Export"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW
WM_CLASS(STRING) = "applix", "DirectoryDisplayer"
WM_CLIENT_MACHINE(STRING) = "guava.home.org"


## The "Help/About Version" window

[/usr/home/graeme]$ xwininfo 

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x1c00148 "Version"

  Absolute upper-left X:  604
  Absolute upper-left Y:  21
  Relative upper-left X:  3
  Relative upper-left Y:  3
  Width: 420
  Height: 335
  Depth: 16
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x21 (installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +604+21  -0+21  -0-412  +604-412
  -geometry 420x335--4+-8


[/usr/home/graeme]$ xprop
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                Initial state is Normal State.
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                user specified location: 604, 20
                program specified size: 420 by 335
                program specified minimum size: 420 by 335
                program specified maximum size: 420 by 335
WM_ICON_NAME(STRING) = "Version"
WM_NAME(STRING) = "Version"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW
WM_CLASS(STRING) = "applix", "Unknown"
WM_CLIENT_MACHINE(STRING) = "guava.home.org"


## The "File/Print" window

[/usr/home/graeme]$ xwininfo

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x1c00177 "Print"

  Absolute upper-left X:  399
  Absolute upper-left Y:  21
  Relative upper-left X:  3
  Relative upper-left Y:  3
  Width: 340
  Height: 365
  Depth: 16
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x21 (installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +399+21  -285+21  -285-382  +399-382
  -geometry 340x365+395+-8

[/usr/home/graeme]$ xprop
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                Initial state is Normal State.
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                user specified location: 399, 20
                program specified size: 340 by 365
                program specified minimum size: 340 by 365
                program specified maximum size: 340 by 365
WM_ICON_NAME(STRING) = "Print"
WM_NAME(STRING) = "Print"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW
WM_CLASS(STRING) = "applix", "Unknown"
WM_CLIENT_MACHINE(STRING) = "guava.home.org"




Cheers
Graeme

--
Graeme Cross 
Water Studies Centre, Monash University           Phone: +61 3 990 54089
Clayton, Victoria, Australia



From owner-scwm-discuss@mit.edu  Sun Feb  7 08:27:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id IAA16688
	for scwm-discuss-outgoing; Sun, 7 Feb 1999 08:27:03 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from smtp4.erols.com (smtp4.erols.com [207.172.3.237])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id IAA16685
	for <scwm-discuss@ph.mit.edu>; Sun, 7 Feb 1999 08:27:01 -0500
Received: from alum.mit.edu (209-122-231-15.s15.tnt4.sbo.erols.com [209.122.231.15])
	by smtp4.erols.com (8.8.8/smtp-v1) with ESMTP id IAA23199;
	Sun, 7 Feb 1999 08:26:35 -0500 (EST)
Message-ID: <36BD95A2.4FE5CD24@alum.mit.edu>
Date: Sun, 07 Feb 1999 08:31:14 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: Graeme.Cross@sci.monash.edu.au
CC: scwm-discuss@mit.edu
Subject: Re: Problems with scwm and Applixware
References: <Pine.LNX.4.04.9902072253510.25288-100000@babylon.wsc.monash.edu.au>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Graeme Cross wrote:
>
> I should point out that I tried running Applixware under SCWM using no
> .scwmrc file (ie. running off SCWM defaults) to ensure that the problem was
> not being caused by something loopy in my .scwmrc file  - I still see the
> problem.
> 

Could you try running it as scwm -f /dev/null? This will ensure that
scwm
runs with no scwmrc at all, not even the system.scwmrc, since that might
be buggy 
too.

The only consistent difference i can see between the window that works
OK and
the ones that diappear is that the working one provides a bitmap ID, and
I don't
think that should matter.

 - Maciej

From owner-scwm-discuss@mit.edu  Mon Feb  8 07:14:25 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA29019
	for scwm-discuss-outgoing; Mon, 8 Feb 1999 07:14:25 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from babylon.wsc.monash.edu.au (babylon.wsc.monash.edu.au [130.194.164.113])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id HAA29016
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Feb 1999 07:14:20 -0500
Received: from localhost (graeme@localhost)
	by babylon.wsc.monash.edu.au (8.8.7/8.8.7) with ESMTP id XAA31698;
	Mon, 8 Feb 1999 23:13:14 +1100
Date: Mon, 8 Feb 1999 23:13:14 +1100 (EST)
From: Graeme Cross <graeme@babylon.wsc.monash.edu.au>
Reply-To: Graeme.Cross@sci.monash.edu.au
To: Maciej Stachowiak <mstachow@alum.mit.edu>
cc: scwm-discuss@mit.edu
Subject: Re: Problems with scwm and Applixware
In-Reply-To: <36BD95A2.4FE5CD24@alum.mit.edu>
Message-ID: <Pine.LNX.4.04.9902082306170.31678-100000@babylon.wsc.monash.edu.au>
X-Attribution: gjc
X-PGP-Key-ID: 702DB549
X-URL: http://www.wsc.monash.edu.au/~graeme/
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Sun, 7 Feb 1999, Maciej Stachowiak wrote:

>Graeme Cross wrote:
>>
>> I should point out that I tried running Applixware under SCWM using no
>> .scwmrc file (ie. running off SCWM defaults) to ensure that the problem was
>> not being caused by something loopy in my .scwmrc file  - I still see the
>> problem.
>> 
>
>Could you try running it as scwm -f /dev/null? This will ensure that
>scwm runs with no scwmrc at all, not even the system.scwmrc, since that
>might be buggy too.

No luck - I am still seeing the problem, and upon further investigation, it
seems the majority of windows within Applixware (at least the word processor
component) have this problem.


>The only consistent difference i can see between the window that works
>OK and the ones that diappear is that the working one provides a bitmap ID,
>and I don't think that should matter.

It might - with at least one of the problem windows, I get the following
message:

	[Scwm][GetIconBitmap]: <<ERROR>> Help! Bad Icon bitmap!

which I have traced back to GetIconBitmap() in scwm/icons.c. However, not
all of the problem windows show this message; in fact, of all of the problem
windows I have encountered, only one seems to display this message, the
others just silently fail.

I have noticed that the windows that fail seem to have selected the default
button in their windows before being destroyed - for example, the Print
window flashes up for a millisecond and then is destroyed, but the job will
still print, just as if I had hit the "print" button (which is the default
widget in the Print window).

I should also note that this is the only application that is causing me
grief - every other application that I have tested seems to work fine.

Cheers
Graeme

--
Graeme Cross 
Water Studies Centre, Monash University           Phone: +61 3 990 54089
Clayton, Victoria, Australia



From owner-scwm-discuss@mit.edu  Mon Feb  8 11:57:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA30818
	for scwm-discuss-outgoing; Mon, 8 Feb 1999 11:57:42 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA30815
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Feb 1999 11:57:37 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA25726; Mon, 8 Feb 99 11:57:02 EST
Received: from Central.Sun.COM ([129.147.70.10]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id IAA28596; Mon, 8 Feb 1999 08:53:08 -0800
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id JAA14438; Mon, 8 Feb 1999 09:53:05 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1b+Sun/8.9.1) id JAA23696;
	Mon, 8 Feb 1999 09:53:06 -0700 (MST)
To: Maciej Stachowiak <mstachow@viewlogic.com>
Cc: scwm-discuss@mit.edu
Subject: Re: returning a window to its original style
References: <ii77ltwlbe1.fsf@central.sun.com> <36BB9FD3.37206A@viewlogic.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Sam Falkner <samf@Central.Sun.COM>
Date: 08 Feb 1999 09:53:06 -0700
In-Reply-To: Maciej Stachowiak's message of "Fri, 05 Feb 1999 20:50:12 -0500"
Message-Id: <ii7r9s04z2l.fsf@central.sun.com>
Lines: 30
User-Agent: Gnus/5.07007 (Pterodactyl Gnus v0.70) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@viewlogic.com> writes:

> Sam Falkner wrote:
> > 
> > So, could we make `global-conditional-style' be public, or is there a
> > better way?
> > 
> 
> Based on your example I would say yes, but it should also probably be
> renamed
> in that case, maybe just plain `global-style' or something like
> `all-styles' or
> `all-style-settings'.
> 
>  - Maciej

Now that I think about it, it would probably be better to keep the
`global-conditional-style' variable being private to that module, and
instead have a public method that did what I wanted, something like

(initial-style win)

does this

(apply-style global-conditional-style win)

I'm not the king of cleanliness, but this does seem cleaner than my
first suggestion!

- Sam

From owner-scwm-discuss@mit.edu  Mon Feb  8 12:21:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA31296
	for scwm-discuss-outgoing; Mon, 8 Feb 1999 12:21:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA31293
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Feb 1999 12:21:36 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA20278; Mon, 8 Feb 99 12:21:21 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id MAA06598;
	Mon, 8 Feb 1999 12:11:24 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id MAA04563;
	Mon, 8 Feb 1999 12:20:53 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA20901; Mon, 8 Feb 99 12:20:52 EST
Received: from viewlogic.com by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id MAA23271; Mon, 8 Feb 1999 12:18:39 -0500
Message-Id: <36BF1C6F.52F3F4B0@viewlogic.com>
Date: Mon, 08 Feb 1999 12:18:39 -0500
From: Maciej Stachowiak <mstachow@viewlogic.com>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Sam Falkner <samf@Central.Sun.COM>
Cc: scwm-discuss@mit.edu
Subject: Re: returning a window to its original style
References: <ii77ltwlbe1.fsf@central.sun.com> <36BB9FD3.37206A@viewlogic.com> <ii7r9s04z2l.fsf@central.sun.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Falkner wrote:
> 
> Now that I think about it, it would probably be better to keep the
> `global-conditional-style' variable being private to that module, and
> instead have a public method that did what I wanted, something like
> 
> (initial-style win)
> 
> does this
> 
> (apply-style global-conditional-style win)
> 
> I'm not the king of cleanliness, but this does seem cleaner than my
> first suggestion!
> 

I would probably call it something like `reset-style' actually. But I do
want
to mention that this will not perfectly reset the style to the original
-
anything you've set that was _not_ explicily set in declarative-type
styles
will not be changed back to the default. This is probably bad, so I am
thinking of adding an initial style that applies to all windows and sets
all possible parameters to their initial defaults. That way
`reset-style'
would work more correctly.

 - Maciej

From owner-scwm-discuss@mit.edu  Mon Feb  8 13:45:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA31830
	for scwm-discuss-outgoing; Mon, 8 Feb 1999 13:45:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA31827
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Feb 1999 13:45:08 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA22179; Mon, 8 Feb 99 13:44:58 EST
Received: from Central.Sun.COM ([129.147.70.10]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id KAA16811 for <scwm-discuss@mit.edu>; Mon, 8 Feb 1999 10:44:28 -0800
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id LAA18521; Mon, 8 Feb 1999 11:44:23 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1b+Sun/8.9.1) id LAA07737;
	Mon, 8 Feb 1999 11:44:25 -0700 (MST)
To: scwm-discuss@mit.edu
Subject: minor bug in virtual.scm
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Sam Falkner <samf@Central.Sun.COM>
Date: 08 Feb 1999 11:44:25 -0700
Message-Id: <ii7btj4pwfq.fsf@central.sun.com>
Lines: 16
User-Agent: Gnus/5.07007 (Pterodactyl Gnus v0.70) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

We're missing some parens around `display-size' in `move-to-virtual'.
Here's the diff.

- Sam

--- virtual.scm.~1~	Sun Dec 27 14:07:37 1998
+++ virtual.scm	Mon Feb  8 11:34:32 1999
@@ -120,7 +120,7 @@
 The (0,0) viewport is the starting viewport.  XX and YY are
 full display-size increments (e.g., (1,0) is the viewport
 just to the right of the home (0,0) viewport)."
-    (apply set-viewport-position! (map * (list xx yy) display-size)))
+    (apply set-viewport-position! (map * (list xx yy) (display-size))))
 
 (define-public (align-viewport)
   "Set the viewport position to the nearest multiple of the desk size."

From owner-scwm-discuss@mit.edu  Mon Feb  8 14:58:21 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA32491
	for scwm-discuss-outgoing; Mon, 8 Feb 1999 14:58:21 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA32488
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Feb 1999 14:58:20 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA03207; Mon, 8 Feb 99 14:57:43 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id OAA08652;
	Mon, 8 Feb 1999 14:48:02 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id OAA12981;
	Mon, 8 Feb 1999 14:57:32 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA25581; Mon, 8 Feb 99 14:57:31 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id OAA27486; Mon, 8 Feb 1999 14:55:19 -0500
Message-Id: <36BF4127.E2BC9CBF@alum.mit.edu>
Date: Mon, 08 Feb 1999 14:55:19 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Sam Falkner <samf@Central.Sun.COM>
Cc: scwm-discuss@mit.edu
Subject: Re: minor bug in virtual.scm
References: <ii7btj4pwfq.fsf@central.sun.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Falkner wrote:
> 
> We're missing some parens around `display-size' in `move-to-virtual'.
> Here's the diff.
> 

Applied, thanks!

 - Maciej

From owner-scwm-discuss@mit.edu  Mon Feb  8 17:39:31 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA01286
	for scwm-discuss-outgoing; Mon, 8 Feb 1999 17:39:31 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA01283
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Feb 1999 17:39:30 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA06334; Mon, 8 Feb 99 17:38:52 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA12016; Mon, 8 Feb 1999 14:35:33 -0800 (PST)
To: Maciej Stachowiak <mstachow@viewlogic.com>
Cc: scwm-discuss@mit.edu
Subject: Re: bind-keycode
References: <36BBA1C2.653B5A8B@viewlogic.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Feb 1999 14:35:33 -0800
In-Reply-To: Maciej Stachowiak's message of "Fri, 05 Feb 1999 20:58:26 -0500"
Message-Id: <qrrvhhcy156.fsf@elwha.cs.washington.edu>
Lines: 38
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@viewlogic.com> writes:

> I read over the code for this, and as far as I can tell, it differs
> from bind-key in two rather orthogonal ways:
> 
> 1) Ability to bind key release events as well as key presses.
> 
> 2) Instead of the bind-key syntax, the key is specified by
> passing a key code and a modifier mask.
> 
> I like #1 (and I think it can be incorporated into bind-key as
> an optional 4th argument or something), but I definitely don't
> like #2. I don't think either key codes or actual numeric
> modifier masks should be exposed to the Scheme level at all. Is
> there a reason passing arguments like that is useful?

It's just easier and more efficient to manipulate numeric modifiers.  I
had basically intended the new syntax to be a lower-level primitive on
which other key-binding procedures could be written.  And I think the
keysym->keycode primitive is useful independently.  I want access to
these low-level details from the scheme level, but agree a simple
keybinding routine is better to hide them. (And for efficiency, may be
written better as a distinct primitive that optimizes the common case).

> I ask because I'm thinking of adding the key release capability 
> to bind-key and simply removing bind-keycode (and keycode->leysym)
> and I'm wondering if there was any particular motivation for the
> way things were done.

I'd like to hang on to (keysym->keycode) [is there a keycode->keysym ?
or is that just a typo?].

Before changing anything, be sure to re-write modifier-key-bindings.scm
with your proposed versions and see if it gets substantially uglier.  If 
it doesn't, then fine, as long as I can still get at the nitty-gritty
details when I want to.

Greg

From owner-scwm-discuss@mit.edu  Mon Feb  8 17:50:24 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA01387
	for scwm-discuss-outgoing; Mon, 8 Feb 1999 17:50:24 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA01384
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Feb 1999 17:50:23 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA10085; Mon, 8 Feb 99 17:49:45 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id RAA10544;
	Mon, 8 Feb 1999 17:40:15 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id RAA21247;
	Mon, 8 Feb 1999 17:49:46 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA03952; Mon, 8 Feb 99 17:49:45 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id RAA01696; Mon, 8 Feb 1999 17:47:34 -0500
Message-Id: <36BF6986.4383A6FA@alum.mit.edu>
Date: Mon, 08 Feb 1999 17:47:34 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: bind-keycode
References: <36BBA1C2.653B5A8B@viewlogic.com> <qrrvhhcy156.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> It's just easier and more efficient to manipulate numeric modifiers. 

Perhaps. I would like to change the binding routines to be able to 
specify modifiers in some way that is more convenient to manipulate 
programmatically, In particular I was thinking that providing 
'(control meta "Left") as an alternative to "C-M-Left" would be a good 
thing. (this is _very_ roughly inspired by the XEmacs binding syntax).

Lists of modifier symbols should be easy to manipulate with code.

> I had basically intended the new syntax to be a lower-level primitive on
> which other key-binding procedures could be written.  And I think the
> keysym->keycode primitive is useful independently.  I want access to
> these low-level details from the scheme level, but agree a simple
> keybinding routine is better to hide them. (And for efficiency, may be
> written better as a distinct primitive that optimizes the common case).
> 
> > I ask because I'm thinking of adding the key release capability
> > to bind-key and simply removing bind-keycode (and keycode->leysym)
> > and I'm wondering if there was any particular motivation for the
> > way things were done.
> 
> I'd like to hang on to (keysym->keycode) [is there a keycode->keysym ?
> or is that just a typo?].

I don't know if it's implemented, but it probably should if
keysym->keycode 
does.

However, I am not sure what explicitly accessing keycodes is useful for.
Modifier masks I could possibly see an argument for (since you can OR
them
together and such) but keycodes are, IMO, just an ugly internal
implementation
detail. Give me something you want to do with keycodes that can't be
done
another way, though and I'll be convinced.

> Before changing anything, be sure to re-write modifier-key-bindings.scm
> with your proposed versions and see if it gets substantially uglier.  If
> it doesn't, then fine, as long as I can still get at the nitty-gritty
> details when I want to.

I looked at that and it didn't seem like it made any use of the keycode
capability or did anything that would be too hard to do without direct
access
to mod masks. I can post a rewritten hypothetical version of it before
changing anything if you would like.

 - Maciej

From owner-scwm-discuss@mit.edu  Mon Feb  8 18:01:35 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA01656
	for scwm-discuss-outgoing; Mon, 8 Feb 1999 18:01:35 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA01653
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Feb 1999 18:01:34 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA13514; Mon, 8 Feb 99 18:00:56 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA13380; Mon, 8 Feb 1999 15:00:55 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: bind-keycode
References: <36BBA1C2.653B5A8B@viewlogic.com> <qrrvhhcy156.fsf@elwha.cs.washington.edu> <36BF6986.4383A6FA@alum.mit.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Feb 1999 15:00:54 -0800
In-Reply-To: Maciej Stachowiak's message of "Mon, 08 Feb 1999 17:47:34 -0500"
Message-Id: <qrru2wwxzyx.fsf@elwha.cs.washington.edu>
Lines: 67
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Perhaps. I would like to change the binding routines to be able to 
> specify modifiers in some way that is more convenient to manipulate 
> programmatically, In particular I was thinking that providing 
> '(control meta "Left") as an alternative to "C-M-Left" would be a good 
> thing. (this is _very_ roughly inspired by the XEmacs binding syntax).
> 
> Lists of modifier symbols should be easy to manipulate with code.

Sure, but manipulating strings is wrong here, and that was the alternative.

> > I had basically intended the new syntax to be a lower-level primitive on
> > which other key-binding procedures could be written.  And I think the
> > keysym->keycode primitive is useful independently.  I want access to
> > these low-level details from the scheme level, but agree a simple
> > keybinding routine is better to hide them. (And for efficiency, may be
> > written better as a distinct primitive that optimizes the common case).
> > 
> > > I ask because I'm thinking of adding the key release capability
> > > to bind-key and simply removing bind-keycode (and keycode->leysym)
> > > and I'm wondering if there was any particular motivation for the
> > > way things were done.
> > 
> > I'd like to hang on to (keysym->keycode) [is there a keycode->keysym ?
> > or is that just a typo?].
> 
> I don't know if it's implemented, but it probably should if
> keysym->keycode 
> does.

I agree, I just don't remember writing it.

> However, I am not sure what explicitly accessing keycodes is useful for.
> Modifier masks I could possibly see an argument for (since you can OR
> them
> together and such) but keycodes are, IMO, just an ugly internal
> implementation
> detail. Give me something you want to do with keycodes that can't be
> done
> another way, though and I'll be convinced.

Say I want to write an applet that allows keymapping editing, or I want
to have Scwm be able to reason about .Xmodmaps.  If *any* program in the 
system cares about keycodes, then I need a way to get at them so that I
can do intelligent things when interacting with that program.

> > Before changing anything, be sure to re-write modifier-key-bindings.scm
> > with your proposed versions and see if it gets substantially uglier.  If
> > it doesn't, then fine, as long as I can still get at the nitty-gritty
> > details when I want to.
> 
> I looked at that and it didn't seem like it made any use of the keycode
> capability or did anything that would be too hard to do without direct
> access
> to mod masks. I can post a rewritten hypothetical version of it before
> changing anything if you would like.

Sure, that'd be great.  I think the exercise is the important
part... you don't have to post if it looks fine, isn't a hack, and
doesn't give up functionality.

You'll have to be sure that the modifier keys can be treated as
first-class keys, of course. (E.g., you need to be able to bind
something to the Meta key being pressed).

Greg

From owner-scwm-discuss@mit.edu  Mon Feb  8 18:17:58 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA01830
	for scwm-discuss-outgoing; Mon, 8 Feb 1999 18:17:58 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA01827
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Feb 1999 18:17:57 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA08510; Mon, 8 Feb 99 18:17:45 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id SAA10763;
	Mon, 8 Feb 1999 18:07:50 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id SAA22434;
	Mon, 8 Feb 1999 18:17:19 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA04380; Mon, 8 Feb 99 18:17:19 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id SAA02256; Mon, 8 Feb 1999 18:15:07 -0500
Message-Id: <36BF6FFB.66D5B685@alum.mit.edu>
Date: Mon, 08 Feb 1999 18:15:07 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: bind-keycode
References: <36BBA1C2.653B5A8B@viewlogic.com> <qrrvhhcy156.fsf@elwha.cs.washington.edu> <36BF6986.4383A6FA@alum.mit.edu> <qrru2wwxzyx.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> > Lists of modifier symbols should be easy to manipulate with code.
> 
> Sure, but manipulating strings is wrong here, and that was the alternative.

It's certainly unnecessarily annoying. For that reason as well as
conceptual 
clarity I'm leaning towards the symbol list. (Totally off topic: does X
have any
standard modifier names for use on mod1-mod5 other than Alt, Meta, Hyper
and
Super? I just remapped my keyboard at work and while it's nice to have
four
usable modifiers, I'd love to have yet another).

> Say I want to write an applet that allows keymapping editing, or I want
> to have Scwm be able to reason about .Xmodmaps.  If *any* program in the
> system cares about keycodes, then I need a way to get at them so that I
> can do intelligent things when interacting with that program.

OK, I think I will segregate it to a "keycode" loadable module then.

Speaking of modules, I am also thinking of moving the scheme-level
access to
atoms, X properties and client messages to an (app scwm x-ipc) module.
I personally use this stuff a lot but I imagine some people won't.

> You'll have to be sure that the modifier keys can be treated as
> first-class keys, of course. (E.g., you need to be able to bind
> something to the Meta key being pressed).

Thank works fine with the current key binding code :

(bind-key 'all "Meta_L" (lambda () (display "Zowie!\n"))

However, I noticed that binding modifiers causes some strange behavior.

Becuase of the key grabs involved, apps will not generally be able to
catch key bindings that involve that modifier, unless they accept
synthetic events. This means that if I bind Control_L and Control_R,
then Control+C won't work in an xterm (even if all you want to bind is 
the release, not the key press, since there is no way to put a grab on 
a key release in X11). Does anyone out there know a way around this?

 - Maciej

From owner-scwm-discuss@mit.edu  Mon Feb  8 18:54:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA02286
	for scwm-discuss-outgoing; Mon, 8 Feb 1999 18:54:37 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA02283
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Feb 1999 18:54:36 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA18366; Mon, 8 Feb 99 18:54:24 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Mon, 08 Feb 1999 18:53:02 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Mon, 08 Feb 1999 18:53:01 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id SAA25862;
	Mon, 8 Feb 1999 18:53:50 -0500 (EST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
Subject: Re: bind-keycode
References: <36BBA1C2.653B5A8B@viewlogic.com> <qrrvhhcy156.fsf@elwha.cs.washington.edu> <36BF6986.4383A6FA@alum.mit.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Maciej Stachowiak's message of "Mon, 08 Feb 1999 17:47:34 -0500"
Date: 08 Feb 1999 18:53:50 -0500
Message-Id: <m3zp6o8nap.fsf@eho.eaglets.com>
Lines: 15
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <36BF6986.4383A6FA@alum.mit.edu>
>>>> On the subject of "Re: bind-keycode"
>>>> Sent on Mon, 08 Feb 1999 17:47:34 -0500
>>>> Honorable Maciej Stachowiak <mstachow@alum.mit.edu> writes:
 >> 
 >> In particular I was thinking that providing '(control meta "Left")
 >> as an alternative to "C-M-Left" would be a good thing.

I sure hope that you mean '(control meta left).

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Sex is like air.  It's only a big deal if you can't get any.

From owner-scwm-discuss@mit.edu  Mon Feb  8 19:02:16 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA02384
	for scwm-discuss-outgoing; Mon, 8 Feb 1999 19:02:16 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA02381
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Feb 1999 19:02:16 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA20240; Mon, 8 Feb 99 19:02:04 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA17321; Mon, 8 Feb 1999 16:01:37 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: bind-keycode
References: <36BBA1C2.653B5A8B@viewlogic.com> <qrrvhhcy156.fsf@elwha.cs.washington.edu> <36BF6986.4383A6FA@alum.mit.edu> <m3zp6o8nap.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Feb 1999 16:01:37 -0800
In-Reply-To: Sam Steingold's message of "08 Feb 1999 18:53:50 -0500"
Message-Id: <qrrogn4xx5q.fsf@elwha.cs.washington.edu>
Lines: 15
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> >>>> In message <36BF6986.4383A6FA@alum.mit.edu>
> >>>> On the subject of "Re: bind-keycode"
> >>>> Sent on Mon, 08 Feb 1999 17:47:34 -0500
> >>>> Honorable Maciej Stachowiak <mstachow@alum.mit.edu> writes:
>  >> 
>  >> In particular I was thinking that providing '(control meta "Left")
>  >> as an alternative to "C-M-Left" would be a good thing.
> 
> I sure hope that you mean '(control meta left).

Why?  I don't mind the keysym name being a string...

Greg

From owner-scwm-discuss@mit.edu  Mon Feb  8 19:09:57 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA02505
	for scwm-discuss-outgoing; Mon, 8 Feb 1999 19:09:57 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA02502
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Feb 1999 19:09:56 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA01905; Mon, 8 Feb 99 19:09:18 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id SAA11227;
	Mon, 8 Feb 1999 18:59:49 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id TAA24110;
	Mon, 8 Feb 1999 19:09:19 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA04912; Mon, 8 Feb 99 19:09:18 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id TAA02797; Mon, 8 Feb 1999 19:07:04 -0500
Message-Id: <36BF7C27.8257877E@alum.mit.edu>
Date: Mon, 08 Feb 1999 19:07:03 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: sds@goems.com
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
Subject: Re: bind-keycode
References: <36BBA1C2.653B5A8B@viewlogic.com> <qrrvhhcy156.fsf@elwha.cs.washington.edu> <36BF6986.4383A6FA@alum.mit.edu> <m3zp6o8nap.fsf@eho.eaglets.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold wrote:
> 
> >>>> In message <36BF6986.4383A6FA@alum.mit.edu>
> >>>> On the subject of "Re: bind-keycode"
> >>>> Sent on Mon, 08 Feb 1999 17:47:34 -0500
> >>>> Honorable Maciej Stachowiak <mstachow@alum.mit.edu> writes:
>  >>
>  >> In particular I was thinking that providing '(control meta "Left")
>  >> as an alternative to "C-M-Left" would be a good thing.
> 
> I sure hope that you mean '(control meta left).
> 

It could be done that way, but the symbols for modifiers are
qualitatively
different from the actual keysyms. In particular, it would take
non-trivial
work to figure out that the symbol 'left referred to the XK_Left keysym,
because
keysym names are case sensitive:

scwm> (keysym->keycode "left")
[Scwm][keysym->keycode]: <<WARNING>> No symbol `left'
scwm> (keysym->keycode "Left")
(31 98)

And you definitely want it to know the difference between Control-Meta-a
and 
Control-Meta-A. This is not a problem for control/meta/hyper/alt/shift,
etc because 
scwm has special internal knowledge of what modifier bits map to which
modifiers
so it can call them whatever it wants.

It could be done more easily with 'Left, but that relies on the fact
that
Guile has case-sensitive symbols, a property which is going away at some
point according to current plan. A shame because it might allow slightly
nicer
syntax in this case.

 - Maciej

From owner-scwm-discuss@mit.edu  Mon Feb  8 19:20:06 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA02718
	for scwm-discuss-outgoing; Mon, 8 Feb 1999 19:20:06 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id TAA02715
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Feb 1999 19:20:05 -0500
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id TAA11350
	for <scwm-discuss@ph.mit.edu>; Mon, 8 Feb 1999 19:09:59 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id TAA24442
	for <scwm-discuss@ph.mit.edu>; Mon, 8 Feb 1999 19:19:28 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA05158; Mon, 8 Feb 99 19:19:28 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id TAA02816; Mon, 8 Feb 1999 19:17:15 -0500
Message-Id: <36BF7E8B.1CA5C087@alum.mit.edu>
Date: Mon, 08 Feb 1999 19:17:15 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Gnome hints
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I've implemented all of the gnome hints in scwm, modulo a handful of
tiny details. In particular, using the gnome panel and pager/window
list now works.

I encourage folks on this list who have gnome running to try it out
and report any bugs. (If you don't have gnome, watch out, getting
all the necessary packages can be painful, although there should
be fairly recent snapshots in Red Hat RawHide.)

 - Maciej

From owner-scwm-discuss@mit.edu  Mon Feb  8 19:54:47 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA02982
	for scwm-discuss-outgoing; Mon, 8 Feb 1999 19:54:47 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA02979
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Feb 1999 19:54:46 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA01447; Mon, 8 Feb 99 19:54:33 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Mon, 08 Feb 1999 19:53:12 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Mon, 08 Feb 1999 19:53:12 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id TAA25975;
	Mon, 8 Feb 1999 19:52:39 -0500 (EST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
Subject: Re: bind-keycode
References: <36BBA1C2.653B5A8B@viewlogic.com> <qrrvhhcy156.fsf@elwha.cs.washington.edu> <36BF6986.4383A6FA@alum.mit.edu> <m3zp6o8nap.fsf@eho.eaglets.com> <36BF7C27.8257877E@alum.mit.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Maciej Stachowiak's message of "Mon, 08 Feb 1999 19:07:03 -0500"
Date: 08 Feb 1999 19:52:39 -0500
Message-Id: <m3ww1s8kko.fsf@eho.eaglets.com>
Lines: 32
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

You have a very good point.
My only objection to '(control meta "Left") is aesthetics.
I find "C-M-Left" to be easier to read anyway.

>>>> In message <36BF7C27.8257877E@alum.mit.edu>
>>>> On the subject of "Re: bind-keycode"
>>>> Sent on Mon, 08 Feb 1999 19:07:03 -0500
>>>> Honorable Maciej Stachowiak <mstachow@alum.mit.edu> writes:
 >> Sam Steingold wrote:
 >> > I sure hope that you mean '(control meta left).
 >> 
 >> scwm> (keysym->keycode "left")
 >> [Scwm][keysym->keycode]: <<WARNING>> No symbol `left'
 >> scwm> (keysym->keycode "Left")
 >> (31 98)
 >> 
 >> And you definitely want it to know the difference between
 >> Control-Meta-a and Control-Meta-A. This is not a problem for
 >> control/meta/hyper/alt/shift, etc because scwm has special internal
 >> knowledge of what modifier bits map to which modifiers so it can
 >> call them whatever it wants.
 >> 
 >> It could be done more easily with 'Left, but that relies on the fact
 >> that Guile has case-sensitive symbols, a property which is going
 >> away at some point according to current plan. A shame because it
 >> might allow slightly nicer syntax in this case.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Only adults have difficulty with childproof caps.

From owner-scwm-discuss@mit.edu  Mon Feb  8 20:56:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA03362
	for scwm-discuss-outgoing; Mon, 8 Feb 1999 20:56:17 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA03359
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Feb 1999 20:56:16 -0500
Received: from smtp3.erols.com by MIT.EDU with SMTP
	id AA14134; Mon, 8 Feb 99 20:56:03 EST
Received: from alum.mit.edu (209-122-231-180.s180.tnt4.sbo.erols.com [209.122.231.180])
	by smtp3.erols.com (8.8.8/8.8.5) with ESMTP id UAA03296;
	Mon, 8 Feb 1999 20:55:25 -0500 (EST)
Message-Id: <36BF96AE.324ED135@alum.mit.edu>
Date: Mon, 08 Feb 1999 21:00:14 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: sds@goems.com
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
Subject: Re: bind-keycode
References: <36BBA1C2.653B5A8B@viewlogic.com> <qrrvhhcy156.fsf@elwha.cs.washington.edu> <36BF6986.4383A6FA@alum.mit.edu> <m3zp6o8nap.fsf@eho.eaglets.com> <36BF7C27.8257877E@alum.mit.edu> <m3ww1s8kko.fsf@eho.eaglets.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold wrote:
> 
> You have a very good point.
> My only objection to '(control meta "Left") is aesthetics.
> I find "C-M-Left" to be easier to read anyway.
> 

The latter syntax will definitely continue to be supported.
I agree in principle with the aesthetic objection but there is
not much ot be done about it.

 - Maciej

From owner-scwm-discuss@mit.edu  Tue Feb  9 00:07:10 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id AAA04288
	for scwm-discuss-outgoing; Tue, 9 Feb 1999 00:07:10 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id AAA04285
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 9 Feb 1999 00:07:07 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA29438; Tue, 9 Feb 99 00:06:26 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Tue, 09 Feb 1999 00:05:35 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Tue, 09 Feb 1999 00:05:35 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id AAA00474;
	Tue, 9 Feb 1999 00:06:01 -0500 (EST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Gnome hints
References: <36BF7E8B.1CA5C087@alum.mit.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Maciej Stachowiak's message of "Mon, 08 Feb 1999 19:17:15 -0500"
Date: 09 Feb 1999 00:06:01 -0500
Message-Id: <m3r9s088ue.fsf@eho.eaglets.com>
Lines: 40
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <36BF7E8B.1CA5C087@alum.mit.edu>
>>>> On the subject of "Gnome hints"
>>>> Sent on Mon, 08 Feb 1999 19:17:15 -0500
>>>> Honorable Maciej Stachowiak <mstachow@alum.mit.edu> writes:
 >> I've implemented all of the gnome hints in scwm, modulo a handful of
 >> tiny details. In particular, using the gnome panel and pager/window
 >> list now works.

cool.

 >> I encourage folks on this list who have gnome running to try it out
 >> and report any bugs. (If you don't have gnome, watch out, getting
 >> all the necessary packages can be painful, although there should be
 >> fairly recent snapshots in Red Hat RawHide.)

with more or less current gnome (0.99.*), I observe the following when I
add a "gnome pager" applet to the panel:

 - the panel consists of 3 parts: pager (4 rectangles, apparently
   representing viewports; the top left is selected); clicking has no
   effect there.

 - an "up arrow" which pops a menu of open windows, selecting which does
   nothing useful.

 - an analog of w95 taskbar with icons and names of open windows;
   left-clicking de-iconifies them, right-clicking pops a small menu
   (hide/shade/close/nuke).

finally, the current scwm (snapshot) dies with

scwm: system.c:54: safemalloc: Assertion `length >= 1' failed

on startup.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
MS Windows vs IBM OS/2: Why marketing matters more than technology...

From owner-scwm-discuss@mit.edu  Tue Feb  9 05:56:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA07070
	for scwm-discuss-outgoing; Tue, 9 Feb 1999 05:56:29 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA07067
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 9 Feb 1999 05:56:26 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA26357; Tue, 9 Feb 99 05:56:08 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id MAA07734; Tue, 9 Feb 1999 12:55:31 +0200
To: scwm-discuss@mit.edu
Subject: RPM for patched version of guile 1.3 with slow read fix.
Cc: jtl@molehill.org, gafton@redhat.com, guile@cygnus.com
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 09 Feb 1999 12:55:31 +0200
In-Reply-To: Sam Steingold's message of "09 Feb 1999 00:06:01 -0500"
Message-Id: <m2r9rz26e4.fsf_-_@blinky.bfr.co.il>
Lines: 22
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I made a patch for guile 1.3 with the (1 line) slow read fix.  I
packaged it as an RPM and uploaded it to vicarious-existence.mit.edu:

   ftp://vicarious-existence.mit.edu/pub/scwm/rpm/guile-1.3-3.src.rpm.
   ftp://vicarious-existence.mit.edu/pub/scwm/rpm/guile-1.3-3.rh4.2.i386.rpm
   ftp://vicarious-existence.mit.edu/pub/scwm/rpm/guile-devel-1.3-3.rh4.2.i386.rpm

The binary RPMs were built on RH4.2.  I would have put them into
.../rpm/rh4.2, but I don't have write access to that directory.  I
expect that someone with write access will move them there shortly.

If you need the fix (scwm can be painful to use without it), then feel
free to use build from the source RPM.  If you're using RH4.2, you
should be able avoid building & just use the binary RPMs.  I hope to
build & upload a 5.2 i386 binary RPM tonight (if someone doesn't beat
me to it).

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Feb  9 10:17:44 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA08171
	for scwm-discuss-outgoing; Tue, 9 Feb 1999 10:17:44 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id KAA08168
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 9 Feb 1999 10:17:39 -0500
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id KAA16471;
	Tue, 9 Feb 1999 10:07:24 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id KAA18272;
	Tue, 9 Feb 1999 10:16:55 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA19588; Tue, 9 Feb 99 10:16:52 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id KAA03759; Tue, 9 Feb 1999 10:14:39 -0500
Message-Id: <36C050DF.7AACB7F8@alum.mit.edu>
Date: Tue, 09 Feb 1999 10:14:39 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: sds@goems.com
Cc: scwm-discuss@mit.edu
Subject: Re: Gnome hints
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>>> In message <36BF7E8B.1CA5C087@alum.mit.edu>
>>>>> On the subject of "Gnome hints"
>>>>> Sent on Mon, 08 Feb 1999 19:17:15 -0500
>>>>> Honorable Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> >> I've implemented all of the gnome hints in scwm, modulo a handful of
> >> tiny details. In particular, using the gnome panel and pager/window
> >> list now works.
>
>cool.
>

Perhaps I should have said "now works for me". :-)

> >> I encourage folks on this list who have gnome running to try it out
> >> and report any bugs. (If you don't have gnome, watch out, getting
> >> all the necessary packages can be painful, although there should be
> >> fairly recent snapshots in Red Hat RawHide.)
>
>with more or less current gnome (0.99.*), I observe the following when I
>add a "gnome pager" applet to the panel:
>
> - the panel consists of 3 parts: pager (4 rectangles, apparently
>   representing viewports; the top left is selected); clicking has no
>   effect there.
>

Actually, they represent desktops. If you right click in the space under
the arrow and select "Preferences..." from the resulting menu, you can
get a more intuitive layout by selecting one row of pager windows.

However, if clicking really has no effect for you in the pager window,
perhaps
there is a bug somewhere. It should at minimum change desktops. I will
add
some debugging messages so this can be checked out. In the meantime,
could
you send me the result of running `xprop | grep _WIN_' on the root
window?

> - an "up arrow" which pops a menu of open windows, selecting which does
>   nothing useful.
>

That's strange, for me, clicking on one of the items in that list warps
to
it's viewport/desktop and places the focus on it.

> - an analog of w95 taskbar with icons and names of open windows;
>   left-clicking de-iconifies them, right-clicking pops a small menu
>   (hide/shade/close/nuke).
>

Do the items in that menu work for you?

In any case, I clearly need to instrument the gnome hint code to
optionally
output debugging info.

> finally, the current scwm (snapshot) dies with
>
> scwm: system.c:54: safemalloc: Assertion `length >= 1' failed
>
> on startup.

I've been seeing that error occasionally, but only if I give a very
long -e option to scwm on startup. I am tracking it down.

 - Maciej

From owner-scwm-discuss@mit.edu  Tue Feb  9 11:32:32 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA08520
	for scwm-discuss-outgoing; Tue, 9 Feb 1999 11:32:32 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA08517
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 9 Feb 1999 11:32:29 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA11864; Tue, 9 Feb 99 11:31:20 EST
Received: from Central.Sun.COM ([129.147.70.10]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id IAA08575; Tue, 9 Feb 1999 08:29:54 -0800
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id JAA02837; Tue, 9 Feb 1999 09:29:50 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1b+Sun/8.9.1) id JAA05887;
	Tue, 9 Feb 1999 09:29:51 -0700 (MST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@mit.edu
Subject: Re: RPM for patched version of guile 1.3 with slow read fix.
References: <m2r9rz26e4.fsf_-_@blinky.bfr.co.il>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Sam Falkner <samf@Central.Sun.COM>
Date: 09 Feb 1999 09:29:51 -0700
In-Reply-To: hjstein@bfr.co.il's message of "09 Feb 1999 12:55:31 +0200"
Message-Id: <ii7emnztu9s.fsf@central.sun.com>
Lines: 8
User-Agent: Gnus/5.07007 (Pterodactyl Gnus v0.70) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I'm not on the guile mailing list, so I haven't yet seen the fix.  If
the fix is just one line, could you also post just the fix here?  I've
got guile-1.3 built on my local Solaris machine, and it would be
easier to make the fix and redo the make than to grab a new package.

Thanks!

- Sam

From owner-scwm-discuss@mit.edu  Tue Feb  9 12:36:55 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA08998
	for scwm-discuss-outgoing; Tue, 9 Feb 1999 12:36:55 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA08995
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 9 Feb 1999 12:36:53 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA03038; Tue, 9 Feb 99 12:36:24 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Tue, 09 Feb 1999 12:35:02 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Tue, 09 Feb 1999 12:35:01 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id MAA01865;
	Tue, 9 Feb 1999 12:35:45 -0500 (EST)
To: scwm-discuss@mit.edu
Subject: Re: Gnome hints
References: <36C050DF.7AACB7F8@alum.mit.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Maciej Stachowiak's message of "Tue, 09 Feb 1999 10:14:39 -0500"
X-Mailer: Gnus v5.5/Emacs 20.3
Date: 09 Feb 1999 12:35:45 -0500
Message-Id: <m3k8xr8opa.fsf@eho.eaglets.com>
Lines: 69
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <36C050DF.7AACB7F8@alum.mit.edu>
>>>> On the subject of "Re: Gnome hints"
>>>> Sent on Tue, 09 Feb 1999 10:14:39 -0500
>>>> Honorable Maciej Stachowiak <mstachow@alum.mit.edu> writes:
 >> 
 >> Actually, they represent desktops. If you right click in the space
 >> under the arrow and select "Preferences..." from the resulting menu,
 >> you can get a more intuitive layout by selecting one row of pager
 >> windows.

too bad - I don't use desktops, just viewports.
is there a way to make it display viewports?

 >> However, if clicking really has no effect for you in the pager
 >> window, perhaps there is a bug somewhere. It should at minimum
 >> change desktops. I will add some debugging messages so this can be

it doesn't.

 >> checked out. In the meantime, could you send me the result of
 >> running `xprop | grep _WIN_' on the root window?

I am running fvwm2 right now.

$ xprop | grep _WIN_ 
_WIN_PROTOCOLS(ATOM) = _WIN_CLIENT_LIST, _WIN_WORKSPACE, _WIN_WORKSPACE_COUNT, _WIN_WORKSPACE_NAMES, _WIN_STATE, _WIN_HINTS, _WIN_EXPANDED_SIZE, _WIN_LAYER, _WIN_AREA_COUNT, _WIN_AREA
_WIN_SUPPORTING_WM_CHECK(CARDINAL) = 38
_WIN_CLIENT_LIST(CARDINAL) = 29360307, 46137349, 62914574, 67108878, 71303182, 75497486, 79691873, 79691935, 79691993, 79692196, 79692353, 79694897, 25165830, 92274692, 83886129, 83886412, 96470118, 96469206, 83888880
_WIN_WORKSPACE_NAMES(STRING) = "1", "2", "3", "4"
_WIN_WORKSPACE_COUNT(CARDINAL) = 4
_WIN_WORKSPACE(CARDINAL) = 0
CUT_BUFFER0(STRING) = "xprop | grep _WIN_'"

 >> That's strange, for me, clicking on one of the items in that list
 >> warps to it's viewport/desktop and places the focus on it.

not for me, neither now under fvwm2 nor under scwm.

 >> Do the items in that menu work for you?

yep.

 >> > finally, the current scwm (snapshot) dies with
 >> >
 >> > scwm: system.c:54: safemalloc: Assertion `length >= 1' failed
 >> >
 >> > on startup.
 >> 
 >> I've been seeing that error occasionally, but only if I give a very
 >> long -e option to scwm on startup. I am tracking it down.

Thanks.

I'll try it again as soon as I can run scwm and get the latest rawhide
(I am having monstrous d/l problems - like several bytes per second!)

[I sent this message to scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU at
first and it bounced with:

Reason: Fatal error sending message: Permanent error with Rcpt To: 553 <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>... non local recipient rejected

Sending message to scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU
]

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Win2000 slipped again - it won't be out until the end of 1901.

From owner-scwm-discuss@mit.edu  Tue Feb  9 13:07:44 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA09274
	for scwm-discuss-outgoing; Tue, 9 Feb 1999 13:07:44 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA09271
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 9 Feb 1999 13:07:42 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA15951; Tue, 9 Feb 99 13:06:54 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id UAA13575; Tue, 9 Feb 1999 20:04:36 +0200
To: Sam Falkner <samf@Central.Sun.COM>
Cc: scwm-discuss@mit.edu
Subject: Re: RPM for patched version of guile 1.3 with slow read fix.
References: <m2r9rz26e4.fsf_-_@blinky.bfr.co.il> <ii7emnztu9s.fsf@central.sun.com>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 09 Feb 1999 20:04:36 +0200
In-Reply-To: Sam Falkner's message of "09 Feb 1999 09:29:51 -0700"
Message-Id: <m2d83jsbbf.fsf@blinky.bfr.co.il>
Lines: 59
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Falkner <samf@Central.Sun.COM> writes:

 > I'm not on the guile mailing list, so I haven't yet seen the fix.
 > If the fix is just one line, could you also post just the fix here?
 > I've got guile-1.3 built on my local Solaris machine, and it would
 > be easier to make the fix and redo the make than to grab a new
 > package.

I extracted the fix via CVS.  It looks like this is the right thing
based on the log messages & seems to work for me, but YMMV...

Anyway, here's the patch:

Index: libguile/ports.h
===================================================================
RCS file: /egcs/carton/cvsfiles/guile/guile-core/libguile/ports.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- ports.h	1998/10/30 08:22:50	1.33
+++ ports.h	1998/11/05 16:02:55	1.34
@@ -93,7 +93,7 @@
 #define SCM_CRDY	(32L<<16) /* Should char-ready? return #t? */
 
 /* A mask used to clear the char-ready port flag. */
-#define SCM_CUC		0x001fffffL
+#define SCM_CUC		(~SCM_CRDY)
 
 #define SCM_PORTP(x) (SCM_TYP7(x)==scm_tc7_port)
 #define SCM_OPPORTP(x) (((0x7f | SCM_OPN) & SCM_CAR(x))==(scm_tc7_port | SCM_OPN))


Don't cut & paste it to apply - beware tabs.

Just in case, here's the patch uuencoded:

begin 644 guile-slow-read-fix.patch
M26YD97@Z(&QI8F=U:6QE+W!O<G1S+F@*/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/0I20U,@9FEL93H@+V5G8W,O8V%R=&]N+V-V<V9I;&5S+V=U:6QE+V=U:6QE
M+6-O<F4O;&EB9W5I;&4O<&]R=',N:"QV"G)E=')I979I;F<@<F5V:7-I;VX@
M,2XS,PIR971R:65V:6YG(')E=FES:6]N(#$N,S0*9&EF9B`M=2`M<C$N,S,@
M+7(Q+C,T"BTM+2!P;W)T<RYH"3$Y.3@O,3`O,S`@,#@Z,C(Z-3`),2XS,PHK
M*RL@<&]R=',N:`DQ.3DX+S$Q+S`U(#$V.C`R.C4U"3$N,S0*0$`@+3DS+#<@
M*SDS+#<@0$`*("-D969I;F4@4T--7T-21%D)*#,R3#P\,38I("\J(%-H;W5L
M9"!C:&%R+7)E861Y/R!R971U<FX@(W0_("HO"B`*("\J($$@;6%S:R!U<V5D
M('1O(&-L96%R('1H92!C:&%R+7)E861Y('!O<G0@9FQA9RX@*B\*+2-D969I
M;F4@4T--7T-50PD),'@P,#%F9F9F9DP**R-D969I;F4@4T--7T-50PD)*'Y3
M0TU?0U)$62D*(`H@(V1E9FEN92!30TU?4$]25%`H>"D@*%-#35]465`W*'@I
M/3US8VU?=&,W7W!O<G0I"B`C9&5F:6YE(%-#35]/4%!/4E10*'@I("@H*#!X
M-V8@?"!30TU?3U!.*2`F(%-#35]#05(H>"DI/3TH<V-M7W1C-U]P;W)T('P@
*4T--7T]03BDI"@``
`
end

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Feb  9 13:54:01 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA09527
	for scwm-discuss-outgoing; Tue, 9 Feb 1999 13:54:01 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id NAA09522
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 9 Feb 1999 13:53:35 -0500
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id NAA19260;
	Tue, 9 Feb 1999 13:43:15 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id NAA29466;
	Tue, 9 Feb 1999 13:52:45 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA22921; Tue, 9 Feb 99 13:52:44 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id NAA06029; Tue, 9 Feb 1999 13:50:31 -0500
Message-Id: <36C08377.A7703996@alum.mit.edu>
Date: Tue, 09 Feb 1999 13:50:31 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: sds@goems.com
Cc: scwm-discuss@mit.edu
Subject: Re: Gnome hints
References: <36C050DF.7AACB7F8@alum.mit.edu> <m3ogn38p8e.fsf@eho.eaglets.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold wrote:
> 
> too bad - I don't use desktops, just viewports.
> is there a way to make it display viewports?
> 

Yes, it should, if scwm communicates the proper information to it (see
below).
I hardcoded scwm to claim it always has 4 desktops, but I will fix this
to
be configurable soon.

> $ xprop | grep _WIN_
> _WIN_PROTOCOLS(ATOM) = _WIN_CLIENT_LIST, _WIN_WORKSPACE, _WIN_WORKSPACE_COUNT, _WIN_WORKSPACE_NAMES, _WIN_STATE, _WIN_HINTS, _WIN_EXPANDED_SIZE, _WIN_LAYER, _WIN_AREA_COUNT, _WIN_AREA
> _WIN_SUPPORTING_WM_CHECK(CARDINAL) = 38
> _WIN_CLIENT_LIST(CARDINAL) = 29360307, 46137349, 62914574, 67108878, 71303182, 75497486, 79691873, 79691935, 79691993, 79692196, 79692353, 79694897, 25165830, 92274692, 83886129, 83886412, 96470118, 96469206, 83888880
> _WIN_WORKSPACE_NAMES(STRING) = "1", "2", "3", "4"
> _WIN_WORKSPACE_COUNT(CARDINAL) = 4
> _WIN_WORKSPACE(CARDINAL) = 0
> CUT_BUFFER0(STRING) = "xprop | grep _WIN_'"
> 

_WIN_AREA_COUNT and _WIN_AREA don't seem to be set, between this and the
failing
functionality you mentioned, I supsect you are not using hte latest
version.


>  >> That's strange, for me, clicking on one of the items in that list
>  >> warps to it's viewport/desktop and places the focus on it.
> 
> not for me, neither now under fvwm2 nor under scwm.
>

Well, of course under fvwm2 it can't do it because fvwm2 doesn't support
the hints (the
_WIN properties got left around on the desktop). Scwm should do it in
the latest version.
 
> 
>  >>
>  >> I've been seeing that error occasionally, but only if I give a very
>  >> long -e option to scwm on startup. I am tracking it down.
> 
> Thanks.
> 
> I'll try it again as soon as I can run scwm and get the latest rawhide
> (I am having monstrous d/l problems - like several bytes per second!)
> 

I think I found the bug, will be checking in a fix soon.

 - Maciej

From owner-scwm-discuss@mit.edu  Tue Feb  9 14:01:30 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA09615
	for scwm-discuss-outgoing; Tue, 9 Feb 1999 14:01:30 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA09612
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 9 Feb 1999 14:01:29 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA01964; Tue, 9 Feb 99 14:01:08 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Tue, 09 Feb 1999 13:59:56 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Tue, 09 Feb 1999 13:59:56 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id OAA02059;
	Tue, 9 Feb 1999 14:00:41 -0500 (EST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Gnome hints
References: <36C050DF.7AACB7F8@alum.mit.edu> <m3ogn38p8e.fsf@eho.eaglets.com> <36C08377.A7703996@alum.mit.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Maciej Stachowiak's message of "Tue, 09 Feb 1999 13:50:31 -0500"
Date: 09 Feb 1999 14:00:41 -0500
Message-Id: <m3emnz8krq.fsf@eho.eaglets.com>
Lines: 33
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <36C08377.A7703996@alum.mit.edu>
>>>> On the subject of "Re: Gnome hints"
>>>> Sent on Tue, 09 Feb 1999 13:50:31 -0500
>>>> Honorable Maciej Stachowiak <mstachow@alum.mit.edu> writes:
 >> Sam Steingold wrote:
 >> >
 >> > $ xprop | grep _WIN_
 >> > _WIN_PROTOCOLS(ATOM) = _WIN_CLIENT_LIST, _WIN_WORKSPACE, _WIN_WORKSPACE_COUNT, _WIN_WORKSPACE_NAMES, _WIN_STATE, _WIN_HINTS, _WIN_EXPANDED_SIZE, _WIN_LAYER, _WIN_AREA_COUNT, _WIN_AREA
 >> > _WIN_SUPPORTING_WM_CHECK(CARDINAL) = 38
 >> > _WIN_CLIENT_LIST(CARDINAL) = 29360307, 46137349, 62914574, 67108878, 71303182, 75497486, 79691873, 79691935, 79691993, 79692196, 79692353, 79694897, 25165830, 92274692, 83886129, 83886412, 96470118, 96469206, 83888880
 >> > _WIN_WORKSPACE_NAMES(STRING) = "1", "2", "3", "4"
 >> > _WIN_WORKSPACE_COUNT(CARDINAL) = 4
 >> > _WIN_WORKSPACE(CARDINAL) = 0
 >> > CUT_BUFFER0(STRING) = "xprop | grep _WIN_'"
 >> >
 >> 
 >> _WIN_AREA_COUNT and _WIN_AREA don't seem to be set, between this and
 >> the failing functionality you mentioned, I supsect you are not using
 >> the latest version.

... of scwm or of gnome?

 >> I think I found the bug, will be checking in a fix soon.

Thanks!

do you know of a good mirror for rawhide?

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
char*a="char*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);}

From owner-scwm-discuss@mit.edu  Tue Feb  9 14:14:23 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA09758
	for scwm-discuss-outgoing; Tue, 9 Feb 1999 14:14:23 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA09755
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 9 Feb 1999 14:14:22 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA08848; Tue, 9 Feb 99 14:13:35 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id OAA19524;
	Tue, 9 Feb 1999 14:04:06 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id OAA00437;
	Tue, 9 Feb 1999 14:13:36 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA23016; Tue, 9 Feb 99 14:13:34 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id OAA06052; Tue, 9 Feb 1999 14:11:20 -0500
Message-Id: <36C08858.D7A1B5E4@alum.mit.edu>
Date: Tue, 09 Feb 1999 14:11:20 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: sds@goems.com
Cc: scwm-discuss@mit.edu
Subject: Re: Gnome hints
References: <36C050DF.7AACB7F8@alum.mit.edu> <m3ogn38p8e.fsf@eho.eaglets.com> <36C08377.A7703996@alum.mit.edu> <m3emnz8krq.fsf@eho.eaglets.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold wrote:
> 
>  >> _WIN_AREA_COUNT and _WIN_AREA don't seem to be set, between this and
>  >> the failing functionality you mentioned, I supsect you are not using
>  >> the latest version.
> 
> ... of scwm or of gnome?
> 

Of scwm - the version of scwm I have, freshly checked out and built,
sets _WIN_AREA
and _WIN_AREA_COUNT properties on the root window when gnome hints are
enabled,
which should make the gnome pager support viewports.

>  >> I think I found the bug, will be checking in a fix soon.
> 
> Thanks!
> 
> do you know of a good mirror for rawhide?
> 

I'm afraid not. My current net connection is a 28.8 so, so I don't even
try to keep up
with RawHide.

 - Maciej

From owner-scwm-discuss@mit.edu  Tue Feb  9 15:58:15 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA10481
	for scwm-discuss-outgoing; Tue, 9 Feb 1999 15:58:15 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA10478
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 9 Feb 1999 15:58:14 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA14030; Tue, 9 Feb 99 15:57:52 EST
Received: from Central.Sun.COM ([129.147.70.10]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id MAA15217 for <scwm-discuss@mit.edu>; Tue, 9 Feb 1999 12:57:26 -0800
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id NAA24131; Tue, 9 Feb 1999 13:57:25 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1b+Sun/8.9.1) id NAA10454;
	Tue, 9 Feb 1999 13:57:25 -0700 (MST)
To: scwm-discuss@mit.edu
Subject: edge scroll hook?
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Sam Falkner <samf@Central.Sun.COM>
Date: 09 Feb 1999 13:57:24 -0700
Message-Id: <ii7ww1rs3bf.fsf@central.sun.com>
Lines: 15
User-Agent: Gnus/5.07007 (Pterodactyl Gnus v0.70) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

How hard would it be to add an edge-scroll hook?  I like edge-scroll,
but I hate it when I accidentally bump the edge.  To fix this, I set
edge-scroll-delay up kind of high, but then scrolling is a little bit
difficult when I really want to do it.

So here's what I want to do.  I want to set edge-scroll-delay fairly
high (e.g. 1 second or so), so that it's hard to accidentally scroll
beyond the edge.  But, once you do it, then drop edge-scroll-delay
down to zero, and you can scroll around to your heart's content.  At
some later time, maybe via a timer-hook or some other function, I
might crank the delay back up again.

Does it seem like an edge-scroll hook might be useful?

- Sam

From owner-scwm-discuss@mit.edu  Tue Feb  9 16:25:43 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA10705
	for scwm-discuss-outgoing; Tue, 9 Feb 1999 16:25:43 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA10702
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 9 Feb 1999 16:25:42 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA24524; Tue, 9 Feb 99 16:25:20 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id QAA20939;
	Tue, 9 Feb 1999 16:15:19 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id QAA06214;
	Tue, 9 Feb 1999 16:24:50 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA28136; Tue, 9 Feb 99 16:24:49 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id QAA07790; Tue, 9 Feb 1999 16:22:37 -0500
Message-Id: <36C0A719.BD023F45@alum.mit.edu>
Date: Tue, 09 Feb 1999 16:22:34 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Sam Falkner <samf@Central.Sun.COM>
Cc: scwm-discuss@mit.edu
Subject: Re: edge scroll hook?
References: <ii7ww1rs3bf.fsf@central.sun.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Falkner wrote:
> 
> How hard would it be to add an edge-scroll hook?  I like edge-scroll,
> but I hate it when I accidentally bump the edge.  To fix this, I set
> edge-scroll-delay up kind of high, but then scrolling is a little bit
> difficult when I really want to do it.
> 
> So here's what I want to do.  I want to set edge-scroll-delay fairly
> high (e.g. 1 second or so), so that it's hard to accidentally scroll
> beyond the edge.  But, once you do it, then drop edge-scroll-delay
> down to zero, and you can scroll around to your heart's content.  At
> some later time, maybe via a timer-hook or some other function, I
> might crank the delay back up again.
> 
> Does it seem like an edge-scroll hook might be useful?
> 

What I would really like to do is remove the built in edge scrolling and
add `edge-enter-hook' and `edge-leave-hook', so edge scrolling can be
done entirely at user level. This would allow you to do hacks like
what you described, with changing the delay on a scroll and putting it
back later. It would also allow you to replace edge scrolling with
something 
completely different, for instance, you could use the edge hooks to make
the mouse
pointer wrap around at the edge of the screen, pac-man style, or to pop
out some
"autohidden" window.

The built-in edge scrolling code currently does special handling for the
case of
scrolling while moving (or resizing!) a window, but I _think_ it may be
possible
to implement that with the current interactive-move and
interactive-resize hooks.

Would such a solution satisfy you?

I think what I'd do is add `edge-enter-hook' and `edge-leave-hook' now,
and put in
`edge-scroll-hook' temporarily until someone has time to implement
Scheme-level
edge scrolling, at which point I'd probably remove both
`edge-scroll-hook' and
the C-level scrolling code.

 - Maciej

From owner-scwm-discuss@mit.edu  Tue Feb  9 16:33:10 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA10817
	for scwm-discuss-outgoing; Tue, 9 Feb 1999 16:33:10 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id QAA10814
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 9 Feb 1999 16:33:09 -0500
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id QAA20986
	for <scwm-discuss@ph.mit.edu>; Tue, 9 Feb 1999 16:22:47 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id QAA06506
	for <scwm-discuss@ph.mit.edu>; Tue, 9 Feb 1999 16:32:18 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA28172; Tue, 9 Feb 99 16:32:17 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id QAA07794; Tue, 9 Feb 1999 16:30:04 -0500
Message-Id: <36C0A8DC.E1F11C45@alum.mit.edu>
Date: Tue, 09 Feb 1999 16:30:04 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Thoughts about desks
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Scwm currently allows you to use any of the range of a 32-bit signed
integer
as a desk number at any time.

This causes a problem in several places where pager-like entities would
like to
know the number of desks. Since we obviously don't want them displaying
all
of the 32-bit range, ad-hoc hacks have been needed to allow
specification of
some particular limit.

Particular cases where this is relevant include the gnome hints, the kde
hints,
using the fvwm2 pager through the fvwm2 module interface, and the
(unfinished)
ScwmDeskButtons module. What I would like to do is the following:

* Remove the capability of using negative desk numbers, this seems kind
of 
kludgy anyway.

* Add a primitives as follows:

PROCEDURE: set-max-desk! MAX
  Set the highest usable desk number to MAX.
`set-current-desk!' will refuse to switch to desks
higher than MAX, and `move-to-current-desk' will refuse
to move a window to a desk higher than MAX. If the current
desk is higher than MAX, it will be changed to MAX, and if
any windows are on a desk higher than MAX they will be moved
to desk MAX.

PROCEDURE: max-desk
  Return the highest usable desk number.

HOOK: max-desk-change-hook NEW-MAX
  Procedures in this hook are invoked with NEW-MAX,
the new maximum desk number, whenever the maximum
desk number changes.


An alternative plan, if people really like negative desk numbers:

PROCEDURE set-desk-range! min max
  Set the valid range of desks to between MIN and MAX.
(also, obvious analog of the above docs for set-max-desk!)

PROECEDURE: desk-range
   Return the valid range of desks as a two-element list of min and max.

HOOK: desk-range-change-hook NEW-MIN NEW-MAX
  Procedures in this hook are called with NEW-MIN and NEW-MAX,
the new minimum and maximum desk numbers, whenever the allowed
range changes.

In this case, desk numbers reported through the GNOME hints (and
possibly
the KDE hints) will have to be changed to start at zero regardless of
the current minimum, since that numbering is zero-based. This will
involve
an annoying amount of extra hairy complexity so I would rather avoid it
if
possible.


A related problem is desk names. Both gnome and kde like desks to have
names.
Some common way should be established for the user to name desks. I
don't have
any good ideas for that right now.

 - Maciej

From owner-scwm-discuss@mit.edu  Tue Feb  9 16:48:00 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA10945
	for scwm-discuss-outgoing; Tue, 9 Feb 1999 16:48:00 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA10942
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 9 Feb 1999 16:47:59 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA03063; Tue, 9 Feb 99 16:47:37 EST
Received: from Central.Sun.COM ([129.147.70.10]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id NAA01131; Tue, 9 Feb 1999 13:46:39 -0800
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id OAA04627; Tue, 9 Feb 1999 14:46:34 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1b+Sun/8.9.1) id OAA16386;
	Tue, 9 Feb 1999 14:46:34 -0700 (MST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: edge scroll hook?
References: <ii7ww1rs3bf.fsf@central.sun.com> <36C0A719.BD023F45@alum.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Sam Falkner <samf@Central.Sun.COM>
Date: 09 Feb 1999 14:46:34 -0700
In-Reply-To: Maciej Stachowiak's message of "Tue, 09 Feb 1999 16:22:34 -0500"
Message-Id: <ii7socfs11h.fsf@central.sun.com>
Lines: 33
User-Agent: Gnus/5.07007 (Pterodactyl Gnus v0.70) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> What I would really like to do is remove the built in edge scrolling
> and add `edge-enter-hook' and `edge-leave-hook', so edge scrolling
> can be done entirely at user level. This would allow you to do hacks
> like what you described, with changing the delay on a scroll and
> putting it back later. It would also allow you to replace edge
> scrolling with something completely different, for instance, you
> could use the edge hooks to make the mouse pointer wrap around at
> the edge of the screen, pac-man style, or to pop out some
> "autohidden" window.

Cool!  Yes, I'd say that this is better.

> The built-in edge scrolling code currently does special handling for
> the case of scrolling while moving (or resizing!) a window, but I
> _think_ it may be possible to implement that with the current
> interactive-move and interactive-resize hooks.

> Would such a solution satisfy you?

Yes.

> I think what I'd do is add `edge-enter-hook' and `edge-leave-hook'
> now, and put in `edge-scroll-hook' temporarily until someone has time
> to implement Scheme-level edge scrolling, at which point I'd probably
> remove both `edge-scroll-hook' and the C-level scrolling code.

Wow, even better!  I was afraid I'd have to wait for someone (possibly 
myself) to write the guile-level scrolling package, but this stopgap
measure would be great.  Thanks!

- Sam

From owner-scwm-discuss@mit.edu  Tue Feb  9 17:01:05 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA11109
	for scwm-discuss-outgoing; Tue, 9 Feb 1999 17:01:05 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA11106
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 9 Feb 1999 17:01:04 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA08618; Tue, 9 Feb 99 17:00:14 EST
Received: (qmail 31552 invoked by uid 501); 9 Feb 1999 22:03:00 -0000
Message-Id: <19990209140300.A31433@molehill.org>
Date: Tue, 9 Feb 1999 14:03:00 -0800
From: Todd Larason <jtl@molehill.org>
To: Maciej Stachowiak <mstachow@alum.mit.edu>, scwm-discuss@mit.edu
Subject: Re: Thoughts about desks
References: <36C0A8DC.E1F11C45@alum.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <36C0A8DC.E1F11C45@alum.mit.edu>; from Maciej Stachowiak on Tue, Feb 09, 1999 at 04:30:04PM -0500
X-Kibo: If you can engulf the opposite of Kibo, don't put it off.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I don't have any need for negative desks, but I am using semi-arbitrary desk
numbers effectively.


(define (desk->xy desk)
  (list (remainder desk 100) (quotient desk 100)))
(define (xy->desk x y)
  (cond ((or (< x 0) (> x 99) (< y 0) (> y 99))
   #f)
   (else (+ x (* 100 y)))))
(define (move-screen x y)
  (apply
   (lambda (cx cy)
     (let ((desk (xy->desk (+ cx x) (+ cy y))))
       (cond (desk (set-current-desk! desk))
            (else (beep)))))
   (desk->xy (current-desk))))

(bind-key 'all "s-Left"  (lambda () (move-screen -1 0)))
(bind-key 'all "s-Right" (lambda () (move-screen 1 0)))
(bind-key 'all "s-Up"    (lambda () (move-screen 0 -1)))
(bind-key 'all "s-Down"  (lambda () (move-screen 0 1)))

I usually only use a 3x3 grid of these, so I could replace those 100s with 3s
and just set the max to 8, but it's nice to, on occasion, have others off to
the side.


From owner-scwm-discuss@mit.edu  Tue Feb  9 17:07:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA11219
	for scwm-discuss-outgoing; Tue, 9 Feb 1999 17:07:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA11216
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 9 Feb 1999 17:07:44 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA10574; Tue, 9 Feb 99 17:07:20 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Tue, 09 Feb 1999 17:06:00 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Tue, 09 Feb 1999 17:06:00 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id RAA09539;
	Tue, 9 Feb 1999 17:03:54 -0500 (EST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Thoughts about desks
References: <36C0A8DC.E1F11C45@alum.mit.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Maciej Stachowiak's message of "Tue, 09 Feb 1999 16:30:04 -0500"
Date: 09 Feb 1999 17:03:50 -0500
Message-Id: <m34sov8cah.fsf@eho.eaglets.com>
Lines: 23
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <36C0A8DC.E1F11C45@alum.mit.edu>
>>>> On the subject of "Thoughts about desks"
>>>> Sent on Tue, 09 Feb 1999 16:30:04 -0500
>>>> Honorable Maciej Stachowiak <mstachow@alum.mit.edu> writes:
 >> 
 >> * Remove the capability of using negative desk numbers, this seems
 >> kind of kludgy anyway.

yep.

 >> A related problem is desk names. Both gnome and kde like desks to
 >> have names.  Some common way should be established for the user to
 >> name desks. I don't have any good ideas for that right now.

what about

(set-desk-names! '("main desk" "mail" "netscape"))

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Computer are like air conditioners: they don't work with open windows!

From owner-scwm-discuss@mit.edu  Tue Feb  9 18:20:20 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA11910
	for scwm-discuss-outgoing; Tue, 9 Feb 1999 18:20:20 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA11907
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 9 Feb 1999 18:20:19 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA05650; Tue, 9 Feb 99 18:19:57 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id SAA22331;
	Tue, 9 Feb 1999 18:10:00 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id SAA11095;
	Tue, 9 Feb 1999 18:19:31 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA29743; Tue, 9 Feb 99 18:19:30 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id SAA09220; Tue, 9 Feb 1999 18:17:15 -0500
Message-Id: <36C0C1FA.E1667E7D@alum.mit.edu>
Date: Tue, 09 Feb 1999 18:17:14 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Todd Larason <jtl@molehill.org>
Cc: scwm-discuss@mit.edu
Subject: Re: Thoughts about desks
References: <36C0A8DC.E1F11C45@alum.mit.edu> <19990209140300.A31433@molehill.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Todd Larason wrote:
> 
> I don't have any need for negative desks, but I am using semi-arbitrary desk
> numbers effectively.
> 

[snip example]

I see how that could be useful, but I'm not sure how to reconcile that
sort
of usage with the need of your typical pager to know what desks are
actually
in use. Do you have any suggestions?

 - Maciej

From owner-scwm-discuss@mit.edu  Tue Feb  9 20:55:04 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA13187
	for scwm-discuss-outgoing; Tue, 9 Feb 1999 20:55:04 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA13184
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 9 Feb 1999 20:55:01 -0500
Received: from smtp3.erols.com by MIT.EDU with SMTP
	id AA10537; Tue, 9 Feb 99 20:54:33 EST
Received: from alum.mit.edu (209-122-231-47.s47.tnt4.sbo.erols.com [209.122.231.47])
	by smtp3.erols.com (8.8.8/8.8.5) with ESMTP id UAA01569;
	Tue, 9 Feb 1999 20:53:46 -0500 (EST)
Message-Id: <36C0E7D5.8818D0AA@alum.mit.edu>
Date: Tue, 09 Feb 1999 20:58:45 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: "Harvey J. Stein" <hjstein@bfr.co.il>
Cc: scwm-discuss@mit.edu, jtl@molehill.org, gafton@redhat.com,
        guile@cygnus.com
Subject: Re: RPM for patched version of guile 1.3 with slow read fix.
References: <m2r9rz26e4.fsf_-_@blinky.bfr.co.il>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Harvey J. Stein wrote:
> 
> I made a patch for guile 1.3 with the (1 line) slow read fix.  I
> packaged it as an RPM and uploaded it to vicarious-existence.mit.edu:
> 
> The binary RPMs were built on RH4.2.  I would have put them into
> .../rpm/rh4.2, but I don't have write access to that directory.  I
> expect that someone with write access will move them there shortly.
> 

I moved them there and fixed the permissions on the directory in
question.

> If you need the fix (scwm can be painful to use without it), then feel
> free to use build from the source RPM.  If you're using RH4.2, you
> should be able avoid building & just use the binary RPMs.  I hope to
> build & upload a 5.2 i386 binary RPM tonight (if someone doesn't beat
> me to it).
> 

Perhaps it would be wise to submit the patch in question and an
appropriate
patch to the .spec file as a bug report against Red Hat RawHide, then at
least
RH 6.0's standard Guile will not be painfully slow due to a silly
one-liner typo
even if guile 1.3.1 does not come out in time.

 - Maciej

From owner-scwm-discuss@mit.edu  Tue Feb  9 23:39:19 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA14114
	for scwm-discuss-outgoing; Tue, 9 Feb 1999 23:39:19 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA14111
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 9 Feb 1999 23:39:17 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA06979; Tue, 9 Feb 99 23:38:24 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id UAA22351; Tue, 9 Feb 1999 20:38:14 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Sam Falkner <samf@Central.Sun.COM>, scwm-discuss@mit.edu
Subject: Re: edge scroll hook?
References: <ii7ww1rs3bf.fsf@central.sun.com> <36C0A719.BD023F45@alum.mit.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 09 Feb 1999 20:38:14 -0800
In-Reply-To: Maciej Stachowiak's message of "Tue, 09 Feb 1999 16:22:34 -0500"
Message-Id: <qrru2wueuvd.fsf@elwha.cs.washington.edu>
Lines: 42
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> What I would really like to do is remove the built in edge scrolling and
> add `edge-enter-hook' and `edge-leave-hook', so edge scrolling can be
> done entirely at user level. This would allow you to do hacks like
> what you described, with changing the delay on a scroll and putting it
> back later. It would also allow you to replace edge scrolling with
> something 
> completely different, for instance, you could use the edge hooks to make
> the mouse
> pointer wrap around at the edge of the screen, pac-man style, or to pop
> out some
> "autohidden" window.
> 
> The built-in edge scrolling code currently does special handling for the
> case of
> scrolling while moving (or resizing!) a window, but I _think_ it may be
> possible
> to implement that with the current interactive-move and
> interactive-resize hooks.
> 
> Would such a solution satisfy you?
> 
> I think what I'd do is add `edge-enter-hook' and `edge-leave-hook' now,
> and put in
> `edge-scroll-hook' temporarily until someone has time to implement
> Scheme-level
> edge scrolling, at which point I'd probably remove both
> `edge-scroll-hook' and
> the C-level scrolling code.

This'll be great!  It does seem to fit into the event rewrite proposal,
too, in that the edges are really just invisible windows which we could
make first class, and then the hooks are just enter_notify and
exit_notify hooks.  (Unfortunately, implementing event rewrite is
definitely out for me for me until mid-May at the earliest [I'm in a
somewhat limited computing environment until then]).  I'm definitely
interested in continuing to revise the design and working with someone
with time to do the coding, though.

Greg


From owner-scwm-discuss@mit.edu  Wed Feb 10 00:02:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id AAA14287
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 00:02:03 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id AAA14284
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 00:02:03 -0500
Received: from smtp1.erols.com by MIT.EDU with SMTP
	id AA16538; Wed, 10 Feb 99 00:01:38 EST
Received: from alum.mit.edu (209-122-231-47.s47.tnt4.sbo.erols.com [209.122.231.47])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id AAA25553;
	Wed, 10 Feb 1999 00:01:05 -0500 (EST)
Message-Id: <36C113B7.8CC4C06F@alum.mit.edu>
Date: Wed, 10 Feb 1999 00:05:59 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
Cc: Sam Falkner <samf@Central.Sun.COM>, scwm-discuss@mit.edu
Subject: Re: edge scroll hook?
References: <ii7ww1rs3bf.fsf@central.sun.com> <36C0A719.BD023F45@alum.mit.edu> <qrru2wueuvd.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> 
> This'll be great!  It does seem to fit into the event rewrite proposal,
> too, in that the edges are really just invisible windows which we could
> make first class, and then the hooks are just enter_notify and
> exit_notify hooks.  (Unfortunately, implementing event rewrite is
> definitely out for me for me until mid-May at the earliest [I'm in a
> somewhat limited computing environment until then]).  I'm definitely
> interested in continuing to revise the design and working with someone
> with time to do the coding, though.
> 

I looked at the event rewrite proposal again recently, since I've had
time
for hacking lately, and I realized it has second system effect written
all
over it. It needs to be simplified I think to satisfy only real needs.

At some point soon (after a few point releases adding useful
features and needed cleanup to the current code), I am going to try
implementing a very simple subset of the proposal on a branch so we
can look at how if fits in. For the first pass, I will limit it to
mouse and key events only, and make the event specs as simple as
possible.

Another thought I've had is that it may be easier to rewrite the scwm
core in a way that would support a nice event model, very general
decoration code and total ICCCM compliance from the start, and then port
the 
current scwm features to that. Watch for some thoughts on decoration
stuff 
that might illustrate what I mean a bit more.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 10 00:15:25 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id AAA14430
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 00:15:25 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from smtp1.erols.com (smtp1.erols.com [207.172.3.234])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id AAA14427
	for <scwm-discuss@ph.mit.edu>; Wed, 10 Feb 1999 00:15:24 -0500
Received: from alum.mit.edu (209-122-231-47.s47.tnt4.sbo.erols.com [209.122.231.47])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id AAA28379
	for <scwm-discuss@ph.mit.edu>; Wed, 10 Feb 1999 00:14:34 -0500 (EST)
Message-ID: <36C116EA.68159546@alum.mit.edu>
Date: Wed, 10 Feb 1999 00:19:38 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: scwm-discuss@mit.edu
Subject: no-side-decorations
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I've fixed up the no-side-decorations code to actually draw things
properly.
Now if only someone would finish the incomplete
no-top-border-decorations
code, it should be possible to get a reasonably accurate nextstep look
going.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 10 07:54:49 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA17502
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 07:54:49 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id HAA17499
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 07:54:47 -0500
Received: from babylon.wsc.monash.edu.au by MIT.EDU with SMTP
	id AA06664; Wed, 10 Feb 99 07:54:16 EST
Received: from localhost (graeme@localhost)
	by babylon.wsc.monash.edu.au (8.8.7/8.8.7) with ESMTP id XAA28844
	for <scwm-discuss@mit.edu>; Wed, 10 Feb 1999 23:54:06 +1100
Date: Wed, 10 Feb 1999 23:54:06 +1100 (EST)
From: Graeme Cross <graeme@babylon.wsc.monash.edu.au>
Reply-To: Graeme.Cross@sci.monash.edu.au
To: scwm-discuss@mit.edu
Subject: Setting menu attributes
In-Reply-To: <m34sov8cah.fsf@eho.eaglets.com>
Message-Id: <Pine.LNX.4.04.9902102338350.28774-100000@babylon.wsc.monash.edu.au>
X-Attribution: gjc
X-Pgp-Key-Id: 702DB549
X-Url: http://www.wsc.monash.edu.au/~graeme/
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I am trying to configure the appearance of menus and have hit a couple of
hurdles. Can someone point me in the right direction?

1. How do I set the font for a menu title that is different to the 
   font used in the rest of the menu?

2. Likewise, how do I set different foreground & background colours for
   a menu title?

3. How do I set the highlight colours for a selected menu item? I think
   I can do it for individual entries using HOVER_ACTION, but it seems
   like overkill to have to redefine this for each menu entry.

Cheers
Graeme

--
Graeme Cross 
Water Studies Centre, Monash University           Phone: +61 3 990 54089
Clayton, Victoria, Australia



From owner-scwm-discuss@mit.edu  Wed Feb 10 09:05:56 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA17920
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 09:05:56 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA17917
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 09:05:54 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA21115; Wed, 10 Feb 99 09:05:24 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id OAA00985
	for scwm-discuss@mit.edu; Wed, 10 Feb 1999 14:40:55 +0100 (MET)
Received: (qmail 585 invoked by uid 115); 10 Feb 1999 10:46:58 -0000
To: scwm-discuss@mit.edu
Subject: Re: RPM for patched version of guile 1.3 with slow read fix.
References: <m2r9rz26e4.fsf_-_@blinky.bfr.co.il> <ii7emnztu9s.fsf@central.sun.com> <m2d83jsbbf.fsf@blinky.bfr.co.il>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 10 Feb 1999 11:46:54 +0100
In-Reply-To: hjstein@bfr.co.il's message of "09 Feb 1999 20:04:36 +0200"
Message-Id: <ws1zjyfsdd.fsf@orcus.priv.at>
Lines: 20
User-Agent: Gnus/5.070074 (Pterodactyl Gnus v0.74) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 09 Feb 1999 20:04:36 +0200
>>>>> hjstein@bfr.co.il (Harvey J. Stein) said:

 Harvey> I extracted the fix via CVS. It looks like this is the right
 Harvey> thing based on the log messages & seems to work for me, but
 Harvey> YMMV...

Ahh, that's better. scwm startup is still much slower than most other
wms, though :-(.

Does guile support some sort of "freezing" yet? If not, is it planned
for the near future?

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Wed Feb 10 09:06:28 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA17935
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 09:06:28 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA17932
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 09:06:27 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA21246; Wed, 10 Feb 99 09:05:58 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id OAA00973
	for scwm-discuss@mit.edu; Wed, 10 Feb 1999 14:40:47 +0100 (MET)
Received: (qmail 517 invoked by uid 115); 10 Feb 1999 09:58:26 -0000
To: scwm-discuss@mit.edu
Subject: Re: Thoughts about desks
References: <36C0A8DC.E1F11C45@alum.mit.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 10 Feb 1999 10:58:22 +0100
In-Reply-To: Maciej Stachowiak's message of "Tue, 09 Feb 1999 16:30:04 -0500"
Message-Id: <ws7ltqfum9.fsf@orcus.priv.at>
Lines: 32
User-Agent: Gnus/5.070074 (Pterodactyl Gnus v0.74) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Tue, 09 Feb 1999 16:30:04 -0500
>>>>> Maciej Stachowiak <mstachow@alum.mit.edu> said:

 Maciej> * Remove the capability of using negative desk numbers, this
 Maciej>   seems kind of kludgy anyway.

I have negative desks in daily use: desk 0 is my main desk, with the
most important windows on it. desks -1 and +1 hold semi-important
windows, desks -2 and +2 rather unimportant ones, etc.

I can adapt, of course, by making desk n my origin, especially since
the mapping to a [0,n] range is necessary anyway. So doing away with
negative desks is not a big hit for me. What would be is taking away
the quasi-unlimited number of desk. See my other message for that.

 Maciej> PROCEDURE: set-max-desk! MAX

What happens if `set-max-desk!' is never used (for example by people
like my, that have no use for pagers)? Does the usable range default
to

(a) [-N,+N] as today
(b) [0,N]
(c) [0,0]?

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Wed Feb 10 09:07:35 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA17954
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 09:07:35 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA17951
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 09:07:35 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA21535; Wed, 10 Feb 99 09:07:05 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id OAA00977
	for scwm-discuss@mit.edu; Wed, 10 Feb 1999 14:40:52 +0100 (MET)
Received: (qmail 576 invoked by uid 115); 10 Feb 1999 10:44:33 -0000
To: scwm-discuss@mit.edu
Subject: Re: Thoughts about desks
References: <36C0A8DC.E1F11C45@alum.mit.edu> <19990209140300.A31433@molehill.org> <36C0C1FA.E1667E7D@alum.mit.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 10 Feb 1999 11:44:29 +0100
In-Reply-To: Maciej Stachowiak's message of "Tue, 09 Feb 1999 18:17:14 -0500"
Message-Id: <ws4soufshe.fsf@orcus.priv.at>
Lines: 69
User-Agent: Gnus/5.070074 (Pterodactyl Gnus v0.74) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Tue, 09 Feb 1999 18:17:14 -0500
>>>>> Maciej Stachowiak <mstachow@alum.mit.edu> said:

 Maciej> Todd Larason wrote:
 >>
 >> I don't have any need for negative desks, but I am using
 >> semi-arbitrary desk numbers effectively.
 >>

"Unlimitedness" of desks is their main feature over viewports.
You can always emulate a limited number of desktops with one desk 1xN
viewports in size, and edge-scrolling disabled.

 Maciej> [snip example]

 Maciej> I see how that could be useful, but I'm not sure how to
 Maciej> reconcile that sort of usage with the need of your typical
 Maciej> pager to know what desks are actually in use. Do you have any
 Maciej> suggestions?

BUT, since `set-max-desk!' can be invoked anytime, the number of desks 
still has no practical limit. Pagers should cope with an increasing
number of desks - WindowMaker at least does offer adding new
"workspaces" at run-time.

How I would reimplement Todd's desk-grid from scratch:

- You start with a small array of desks, maybe even 1x1.
- A list of lists `desk-grid' is used map desk positions in our
  two-dimensional grid to real desk numbers. The number of the desk at
  (X,Y) would be `(list-ref (list-ref desk-grid Y) X)'.
- Whenever the movement commands would take you to a deks that does
  not exist yet, the desk is given the next free desk number, and
  `desk-grid' is updated accordingly.
- In any case, movement updates `desk-xy', looks up the desk number in 
  `desk-grid', and switches to that desk.

This would be a bit more complicated, with the advantage that no desk
numbers are wasted at all. The problem with this solution is, that the 
added desks don't show up in the right positions in the pager.

Hmm. Hmm. Could there be a

PROCEDURE: move-desk SOURCE DESTINATION
  Move all windows on desk SOURCE to desk DESTINATION.
Does not affect sticky windows.

? Should be quite fast, as it only walks all windows and changes
numbers in some of them.

That would allow the desk-grid to be extended by simply moving around
windows. Extension in Y direction is easy, increasing of
`desk-grid-width' involves something like that:

(do ((y (1- desk-grid-height) (1- y)))
   ((zero? y))
  (do ((x (1- desk-grid-width) (1- x))
       (src (+ (* y desk-grid-width) (1- desk-grid-width)) (1- src))
       (dest (+ (* y (1+ desk-grid-width)) (1- desk-grid-width)) (1- dest)))
     ((negative? x))
    (move-desk src dest)))

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Wed Feb 10 09:08:55 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA17990
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 09:08:55 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA17987
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 09:08:54 -0500
Received: from tis.bellhow.com by MIT.EDU with SMTP
	id AA21946; Wed, 10 Feb 99 09:08:25 EST
Received: by tis.bellhow.com; id JAA09207; Wed, 10 Feb 1999 09:07:59 -0500 (EST)
Received: from mailhost.bellhow.com(198.30.176.2) by tis.bellhow.com via smap (4.1)
	id xma009112; Wed, 10 Feb 99 09:07:00 -0500
Received: from bellhow.com (smithd@pcw3089.systems.bellhow.com [192.168.33.217])
	by mailhost.bellhow.com (8.8.8/8.8.8) with ESMTP id JAA07513
	for <scwm-discuss@mit.edu>; Wed, 10 Feb 1999 09:07:00 -0500 (EST)
Message-Id: <36C1927A.62F40A66@bellhow.com>
Date: Wed, 10 Feb 1999 09:06:50 -0500
From: "Dale P. Smith" <smithd@bellhow.com>
Organization: Bell & Howell PSC
X-Mailer: Mozilla 4.5 [en] (X11; U; Linux 2.0.29 i686)
X-Accept-Language: en
Mime-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Re: edge scroll hook?
References: <ii7ww1rs3bf.fsf@central.sun.com> <36C0A719.BD023F45@alum.mit.edu> <qrru2wueuvd.fsf@elwha.cs.washington.edu> <36C113B7.8CC4C06F@alum.mit.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak wrote:
> I looked at the event rewrite proposal again recently, since I've had
> time
> for hacking lately, and I realized it has second system effect written
> all
> over it. It needs to be simplified I think to satisfy only real needs.

What is "second system effect" ?

Dale

From owner-scwm-discuss@mit.edu  Wed Feb 10 09:17:08 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA18154
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 09:17:08 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA18151
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 09:17:07 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA15748; Wed, 10 Feb 99 09:16:09 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id QAA19510; Wed, 10 Feb 1999 16:16:04 +0200
To: "Dale P. Smith" <smithd@bellhow.com>
Cc: scwm-discuss@mit.edu
Subject: Re: edge scroll hook?
References: <ii7ww1rs3bf.fsf@central.sun.com> <36C0A719.BD023F45@alum.mit.edu> <qrru2wueuvd.fsf@elwha.cs.washington.edu> <36C113B7.8CC4C06F@alum.mit.edu> <36C1927A.62F40A66@bellhow.com>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 10 Feb 1999 16:16:04 +0200
In-Reply-To: "Dale P. Smith"'s message of "Wed, 10 Feb 1999 09:06:50 -0500"
Message-Id: <m2hfsugx97.fsf@blinky.bfr.co.il>
Lines: 18
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

"Dale P. Smith" <smithd@bellhow.com> writes:

 > Maciej Stachowiak wrote:
 > > I looked at the event rewrite proposal again recently, since I've had
 > > time
 > > for hacking lately, and I realized it has second system effect written
 > > all
 > > over it. It needs to be simplified I think to satisfy only real needs.
 > 
 > What is "second system effect" ?

The featuritis & overgeneralization common in the 1st redesign of a
system, aka the design of the second system.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Wed Feb 10 09:49:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA18573
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 09:49:37 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA18570
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 09:49:32 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA06074; Wed, 10 Feb 99 09:49:03 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id JAA28177;
	Wed, 10 Feb 1999 09:39:05 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id JAA02694;
	Wed, 10 Feb 1999 09:48:36 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA14977; Wed, 10 Feb 99 09:48:35 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id JAA10978; Wed, 10 Feb 1999 09:46:23 -0500
Message-Id: <36C19BBF.5F7BADF8@alum.mit.edu>
Date: Wed, 10 Feb 1999 09:46:23 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: RPM for patched version of guile 1.3 with slow read fix.
References: <m2r9rz26e4.fsf_-_@blinky.bfr.co.il> <ii7emnztu9s.fsf@central.sun.com> <m2d83jsbbf.fsf@blinky.bfr.co.il> <ws1zjyfsdd.fsf@orcus.priv.at>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer wrote:
> 
> Hi,
> 
> >>>>> On 09 Feb 1999 20:04:36 +0200
> >>>>> hjstein@bfr.co.il (Harvey J. Stein) said:
> 
>  Harvey> I extracted the fix via CVS. It looks like this is the right
>  Harvey> thing based on the log messages & seems to work for me, but
>  Harvey> YMMV...
> 
> Ahh, that's better. scwm startup is still much slower than most other
> wms, though :-(.
> 
> Does guile support some sort of "freezing" yet? If not, is it planned
> for the near future?
> 

The guile unexec package is approximately useful. One unfortunate side
effect is that it currently requires libguile to be linked staticly.

It may also be possible to compile some of the config files and/or your
.scwmrc with the guile hobbit compiler. If you get a chance to
experiment
with either of these approaches, please report back on your results. If
it turned out to be possible to install all the scheme files compiled,
I would be glad to do that.

Finally, I am planning to implement soon a command-line flag to not do
the special expression by expression parsing scwm does on your .scwmrc
to be able to nicely display errors and continue even if one expression
fails.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 10 09:52:46 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA18600
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 09:52:46 -0500
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA18597
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 09:52:45 -0500
Received: from netcom10.netcom.com by MIT.EDU with SMTP
	id AA27750; Wed, 10 Feb 99 09:51:46 EST
Received: (from ttn@localhost)
	by mingle.glug.org (8.8.7/8.8.7) id GAA06346;
	Wed, 10 Feb 1999 06:56:52 -0800
X-Authentication-Warning: mingle.glug.org: ttn set sender to ttn@mingle.glug.org using -f
From: thi <ttn@mingle.glug.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14017.40499.250356.484504@mingle.glug.org>
Date: Wed, 10 Feb 1999 06:56:51 -0800 (PST)
To: "Dale P. Smith" <smithd@bellhow.com>
Cc: scwm-discuss@mit.edu
Subject: Re: edge scroll hook?
In-Reply-To: <36C1927A.62F40A66@bellhow.com>
References: <ii7ww1rs3bf.fsf@central.sun.com>
	<36C0A719.BD023F45@alum.mit.edu>
	<qrru2wueuvd.fsf@elwha.cs.washington.edu>
	<36C113B7.8CC4C06F@alum.mit.edu>
	<36C1927A.62F40A66@bellhow.com>
X-Mailer: VM 6.62 under Emacs 20.3.1
Reply-To: ttn@netcom.com
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Dale P. Smith writes:

 > What is "second system effect" ?

first systems are usually a good fit.

second systems usually get the kitchen sink thrown at the problem.

third (an onward) systems usually are the result of learning from the
second system.  (either that or the group is wrecked by the second
system and there is no third system.)

thi

From owner-scwm-discuss@mit.edu  Wed Feb 10 09:58:34 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA18676
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 09:58:34 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA18673
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 09:58:33 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA29736; Wed, 10 Feb 99 09:57:35 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id JAA28265;
	Wed, 10 Feb 1999 09:48:07 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id JAA03085;
	Wed, 10 Feb 1999 09:57:38 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA15011; Wed, 10 Feb 99 09:57:35 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id JAA10982; Wed, 10 Feb 1999 09:55:23 -0500
Message-Id: <36C19DDA.3164CCC8@alum.mit.edu>
Date: Wed, 10 Feb 1999 09:55:22 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Thoughts about desks
References: <36C0A8DC.E1F11C45@alum.mit.edu> <ws7ltqfum9.fsf@orcus.priv.at>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer wrote:
> 
> Hi,
> 
> >>>>> On Tue, 09 Feb 1999 16:30:04 -0500
> >>>>> Maciej Stachowiak <mstachow@alum.mit.edu> said:
> 
>  Maciej> * Remove the capability of using negative desk numbers, this
>  Maciej>   seems kind of kludgy anyway.
> 
> I have negative desks in daily use: desk 0 is my main desk, with the
> most important windows on it. desks -1 and +1 hold semi-important
> windows, desks -2 and +2 rather unimportant ones, etc.
> 
> I can adapt, of course, by making desk n my origin, especially since
> the mapping to a [0,n] range is necessary anyway. 

Yes, when we come up with a good desk naming scheme, you could even
use desk names like 0 => "-2", 1=> "-1", 2 => "0", 3 => "1", 4 => "2"
and have the pager name desks the way you think of them.

>  Maciej> PROCEDURE: set-max-desk! MAX
> 
> What happens if `set-max-desk!' is never used (for example by people
> like my, that have no use for pagers)? Does the usable range default
> to
> 
> (a) [-N,+N] as today
> (b) [0,N]
> (c) [0,0]?
> 

My inclination would be to make the default fairly low, perhaps even
[0,0],
but you could always do (set-desk-max! (- (expt 2 32) 1)) to get a
non-negative
practicly unlimited range. Under the alternative `set-desk-range!'
proposal,
you could do (set-desk-range! (- (expt 2 31)) (- (expt 2 31) 1)) to get
behavior
identical to today's.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 10 10:08:10 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA18833
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 10:08:10 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA18830
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 10:08:09 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA03004; Wed, 10 Feb 99 10:07:11 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id JAA28390;
	Wed, 10 Feb 1999 09:57:42 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id KAA03538;
	Wed, 10 Feb 1999 10:07:13 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA15067; Wed, 10 Feb 99 10:07:13 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id KAA10987; Wed, 10 Feb 1999 10:05:00 -0500
Message-Id: <36C1A01C.B218EC0A@alum.mit.edu>
Date: Wed, 10 Feb 1999 10:05:00 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Thoughts about desks
References: <36C0A8DC.E1F11C45@alum.mit.edu> <19990209140300.A31433@molehill.org> <36C0C1FA.E1667E7D@alum.mit.edu> <ws4soufshe.fsf@orcus.priv.at>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer wrote:
> 
> Hi,
> 
> >>>>> On Tue, 09 Feb 1999 18:17:14 -0500
> >>>>> Maciej Stachowiak <mstachow@alum.mit.edu> said:
> 
>  Maciej> Todd Larason wrote:
>  >>
>  >> I don't have any need for negative desks, but I am using
>  >> semi-arbitrary desk numbers effectively.
>  >>
> 
> "Unlimitedness" of desks is their main feature over viewports.
> You can always emulate a limited number of desktops with one desk 1xN
> viewports in size, and edge-scrolling disabled.
> 

Note that the set-mask-desk! interface does not remove the
"unlimitedness"
of desks, it merely requires you to tell scwm how many you are currently
using. YOu could still get today's behavior by setting the limit very
high.

>  Maciej> [snip example]
> 
>  Maciej> I see how that could be useful, but I'm not sure how to
>  Maciej> reconcile that sort of usage with the need of your typical
>  Maciej> pager to know what desks are actually in use. Do you have any
>  Maciej> suggestions?
> 
> BUT, since `set-max-desk!' can be invoked anytime, the number of desks
> still has no practical limit. Pagers should cope with an increasing
> number of desks - WindowMaker at least does offer adding new
> "workspaces" at run-time.
> 

The Gnome pager at least can deal with dynamic allocation of new desks,
it just 
wants the existing desks to be numbered by a contiguous [0, n] range at
any given time. So if you wanted to allocate new desks dynamically, you
could always `set-max-desk!' or `set-desk-range!' to increase the number
available as appropriate.

> Hmm. Hmm. Could there be a
> 
> PROCEDURE: move-desk SOURCE DESTINATION
>   Move all windows on desk SOURCE to desk DESTINATION.
> Does not affect sticky windows.
> 

(define (move-desk source destination)
  "Move all windows on desk SOURCE to desk DESTINATION.
Does not affect sticky windows."
  (map (lambda (win) (move-window-to-desk destination win))
     (list-windows #:only (on-desk-n? source)) #:except sticky?))

I can add this to virtual.scm if you'd like.

> That would allow the desk-grid to be extended by simply moving around
> windows. Extension in Y direction is easy, increasing of
> `desk-grid-width' involves something like that:
> 
> (do ((y (1- desk-grid-height) (1- y)))
>    ((zero? y))
>   (do ((x (1- desk-grid-width) (1- x))
>        (src (+ (* y desk-grid-width) (1- desk-grid-width)) (1- src))
>        (dest (+ (* y (1+ desk-grid-width)) (1- desk-grid-width)) (1- dest)))
>      ((negative? x))
>     (move-desk src dest)))
> 

If anyone wants to expand this "dynamically allocated desk grid" idea to
a full-blown package, I'd love to ship it with scwm. It actually seems
pretty neat. In fact, combined with user level edge scrolling (see the 
edge-scroll-hook thread), you could actually have edge scrolling between
desks with on-demand dynamic allocation of more size in the grid when
you
need it. That would almost satisfy the recurring demand of some people
for unbounded desktop area a la gwm. Sweet!

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 10 13:44:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA19878
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 13:44:41 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA19875
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 13:44:39 -0500
Received: from avocado.pc.helsinki.fi by MIT.EDU with SMTP
	id AA14081; Wed, 10 Feb 99 13:43:39 EST
Received: (from janne@localhost)
	by avocado.pc.helsinki.fi (8.9.1/8.9.1) id UAA17859;
	Wed, 10 Feb 1999 20:43:41 +0200
To: scwm-discuss@mit.edu
Cc: janne@avocado.pc.helsinki.fi
Subject: Fvwm pager in Linux Alpha (not)
From: Janne Sinkkonen <janne@avocado.pc.helsinki.fi>
Date: 10 Feb 1999 20:43:40 +0200
Message-Id: <oavhhaaylf.fsf@avocado.pc.helsinki.fi>
Lines: 44
X-Mailer: Gnus v5.6.45/XEmacs 19.16 - "Lille"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I have used various versions of scwm in Linux x86 machines for
months. Now I need it in an alpha. Everything is otherwise fine (in my
setup) except that scwm hangs (0.9) or dies (latest from the CVS)
right at the beginning if I try to use fvwm2 pager. The same setup has
worked flawlessly in an other RH 5.2 Linux which is in x86, so I
suspect this has something to do with the architecture.

Are there any other pager options available?

(Now that I look at it, at least the function long->string seems to be
doing something odd. Where does it come from? My guile is 1.3 from a
gnu website mirror.)


--
Janne


I got these into stderr when fvwm dies (sometimes at least 0.9 hangs totally):

Agent pid 29313
Identity added: /home/mansikka/janne/.ssh/identity (janne@juolukka)

Backtrace:
 0* [module-broadcast-config 32 #<window 12582921: "xconsole">]
 1* [map #<procedure (fmod)> ((#<output: write pipe 9> 0 #<procedure ()> ...))]
 2* [#<procedure (fmod)> (#<output: write pipe 9> 0 #<procedure ()> ...)]
 3* (let ((to-module-write #) (mask #)) (if (logior type mask) (fvwm2-module-send-packet type # ...)))
 4  (if (logior type mask) (fvwm2-module-send-packet type (marshal-fvwm2-config-info window) ...))
 5  [fvwm2-module-send-packet 32 "	(lots of nulls and some other stuff deleted here...)
 6* [binary-write ...
 7* [string-append ...
 8* [make-packet-header 32 48]
 9  [longs->string 4294967295 32 ...]
10  [apply #<primitive-procedure string-append> ...
11* [map #<procedure long->string (int)> (4294967295 32 52 ...)]
12* [long->string 4294967295]
13* (let* ((s #) (intx #)) (string-set! s 7 ...) ...)
14* [string-set! "


ERROR: In procedure string-set! in expression (string-set! s 7 ...):
ERROR: Argument out of range: 7

From owner-scwm-discuss@mit.edu  Wed Feb 10 14:35:27 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA20146
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 14:35:27 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA20143
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 14:35:16 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA02788; Wed, 10 Feb 99 14:34:16 EST
Received: from mailhost.viewlogic.com (mailhost [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id OAA02975;
	Wed, 10 Feb 1999 14:24:46 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id OAA16646;
	Wed, 10 Feb 1999 14:34:18 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA18876; Wed, 10 Feb 99 14:34:18 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id OAA17745; Wed, 10 Feb 1999 14:32:04 -0500
Message-Id: <36C1DEB4.B86E7DCE@alum.mit.edu>
Date: Wed, 10 Feb 1999 14:32:04 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Janne Sinkkonen <janne@avocado.pc.helsinki.fi>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm pager in Linux Alpha (not)
References: <oavhhaaylf.fsf@avocado.pc.helsinki.fi>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Janne Sinkkonen wrote:
> 
> I have used various versions of scwm in Linux x86 machines for
> months. Now I need it in an alpha. Everything is otherwise fine (in my
> setup) except that scwm hangs (0.9) or dies (latest from the CVS)
> right at the beginning if I try to use fvwm2 pager. The same setup has
> worked flawlessly in an other RH 5.2 Linux which is in x86, so I
> suspect this has something to do with the architecture.
> 
> Are there any other pager options available?
> 

Yes, you can use the gnome_pager applet with the Gnome panel, and the
KDE pager-like thing should also work if I have not broken it with my
changes to the KDE stuff.

> (Now that I look at it, at least the function long->string seems to be
> doing something odd. Where does it come from? My guile is 1.3 from a
> gnu website mirror.)

`long->string' is supposed to convert a native-format long to a string
of its bytes in the host byte order. It is implemented in bincomm.scm
in the scwm distribution. There are actually four versions there:
32-bit little endian, 32-bit big endian, 64-bit little endian, and
64-bit big-endian (whee!). However, only the 32-bit le version (the
appropriate one for x86) has seen a lot of testing. Since you are
using it on an alpha, I'd guess the 64-bit LE version is wrong. I
can try to look at it and guess what might be wrong, but I can't
properly debug as I have no alpha box.

Incidentally, if the machine you are using is Linux-alpha, would you
mind building an RH/alpha RPM package? All you have to do is download
the SRPM and run `rpm -ba' on it.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 10 15:14:35 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA20387
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 15:14:35 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA20384
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 15:14:04 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA04814; Wed, 10 Feb 99 15:13:28 EST
Received: from mailhost.viewlogic.com (mailhost [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id PAA03423;
	Wed, 10 Feb 1999 15:03:29 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id PAA18580;
	Wed, 10 Feb 1999 15:13:01 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA20159; Wed, 10 Feb 99 15:12:58 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id PAA20786; Wed, 10 Feb 1999 15:10:45 -0500
Message-Id: <36C1E7C5.23E05497@alum.mit.edu>
Date: Wed, 10 Feb 1999 15:10:45 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Sam Falkner <samf@Central.Sun.COM>
Cc: scwm-discuss@mit.edu
Subject: Re: edge scroll hook?
References: <ii7ww1rs3bf.fsf@central.sun.com> <36C0A719.BD023F45@alum.mit.edu> <ii7socfs11h.fsf@central.sun.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Falkner wrote:
> 
> Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> 
> > Would such a solution satisfy you?
> 
> Yes.

Then you're in luck, because I just implemented it. It turned out
to be trickier than I expected, due to the hairiness of the code to
do edge scrolling in the middle of interactive operations.

> 
> > I think what I'd do is add `edge-enter-hook' and `edge-leave-hook'
> > now, and put in `edge-scroll-hook' temporarily until someone has time
> > to implement Scheme-level edge scrolling, at which point I'd probably
> > remove both `edge-scroll-hook' and the C-level scrolling code.
> 
> Wow, even better!  I was afraid I'd have to wait for someone (possibly
> myself) to write the guile-level scrolling package, but this stopgap
> measure would be great.  Thanks!

Please, do not let the temporary edge-scroll-hook in any way discourage
you
from writing a Scheme-level scrolling package! It should be pretty much
doable
now, with the slight problem that timer hooks do not work in the middle
of
interactive moves and resizes currently (this will be fixed at some
point).

In fact, I would be very happy to see such a package implement the
delay-backoff
capability that was the original motivation for this thread.

 - Maciej

PS One other change people may notice is that the mouse cursor will now
turn into
the appropriate "edge" cursor even if there is no further virtual space
there.
Previously it would remain the normal "X" on screen edges beyond which
there is no
more space. If this really bothers anyone, I will consider figuring out
a solution.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 10 15:24:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA20466
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 15:24:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA20463
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 15:24:44 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA08877; Wed, 10 Feb 99 15:24:12 EST
Received: from Central.Sun.COM ([129.147.62.10]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id MAA23319; Wed, 10 Feb 1999 12:23:14 -0800
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id NAA15064; Wed, 10 Feb 1999 13:23:12 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1b+Sun/8.9.1) id NAA05268;
	Wed, 10 Feb 1999 13:23:12 -0700 (MST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: edge scroll hook?
References: <ii7ww1rs3bf.fsf@central.sun.com> <36C0A719.BD023F45@alum.mit.edu> <ii7socfs11h.fsf@central.sun.com> <36C1E7C5.23E05497@alum.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Sam Falkner <samf@Central.Sun.COM>
Date: 10 Feb 1999 13:23:12 -0700
In-Reply-To: Maciej Stachowiak's message of "Wed, 10 Feb 1999 15:10:45 -0500"
Message-Id: <ii7ww1qf1ov.fsf@central.sun.com>
Lines: 43
User-Agent: Gnus/5.07007 (Pterodactyl Gnus v0.70) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Then you're in luck, because I just implemented it. It turned out to
> be trickier than I expected, due to the hairiness of the code to do
> edge scrolling in the middle of interactive operations.

> > > I think what I'd do is add `edge-enter-hook' and `edge-leave-hook'
> > >now, and put in `edge-scroll-hook' temporarily until someone has
> > >time to implement Scheme-level edge scrolling, at which point I'd
> > >probably remove both `edge-scroll-hook' and the C-level scrolling
> > >code.

> >  Wow, even better!  I was afraid I'd have to wait for someone
> >(possibly myself) to write the guile-level scrolling package, but
> >this stopgap measure would be great.  Thanks!

> Please, do not let the temporary edge-scroll-hook in any way
> discourage you from writing a Scheme-level scrolling package! It
> should be pretty much doable now, with the slight problem that timer
> hooks do not work in the middle of interactive moves and resizes
> currently (this will be fixed at some point).

Sorry I sounded like a lazy slug (coincidentally I am).  I will try to
put some time into this this week, since I think it would be one of
the easier things to do.  The hardest part for me is that the only
lisp I've ever used is emacs lisp.  I'm still trying to figure out
how a (thunk ...) is different from a (lambda () ...).

> In fact, I would be very happy to see such a package implement the
> delay-backoff capability that was the original motivation for this
> thread.

Yup, I'll certainly do this, since I like the idea so well.

> PS One other change people may notice is that the mouse cursor will
> now turn into the appropriate "edge" cursor even if there is no
> further virtual space there.  Previously it would remain the normal
> "X" on screen edges beyond which there is no more space. If this
> really bothers anyone, I will consider figuring out a solution.

This seems better to me.

- Sam

From owner-scwm-discuss@mit.edu  Wed Feb 10 15:46:34 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA20778
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 15:46:34 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA20775
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 15:46:23 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA16467; Wed, 10 Feb 99 15:45:46 EST
Received: from mailhost.viewlogic.com (mailhost [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id PAA03787;
	Wed, 10 Feb 1999 15:35:47 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id PAA20317;
	Wed, 10 Feb 1999 15:45:20 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA07757; Wed, 10 Feb 99 15:45:19 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id PAA21866; Wed, 10 Feb 1999 15:43:05 -0500
Message-Id: <36C1EF58.63DF6E52@alum.mit.edu>
Date: Wed, 10 Feb 1999 15:43:04 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Sam Falkner <samf@Central.Sun.COM>
Cc: scwm-discuss@mit.edu
Subject: Re: edge scroll hook?
References: <ii7ww1rs3bf.fsf@central.sun.com> <36C0A719.BD023F45@alum.mit.edu> <ii7socfs11h.fsf@central.sun.com> <36C1E7C5.23E05497@alum.mit.edu> <ii7ww1qf1ov.fsf@central.sun.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Falkner wrote:
> 
> Sorry I sounded like a lazy slug (coincidentally I am).  I will try to
> put some time into this this week, since I think it would be one of
> the easier things to do. 

Let me know if you run into any difficulties.

> The hardest part for me is that the only
> lisp I've ever used is emacs lisp.  I'm still trying to figure out
> how a (thunk ...) is different from a (lambda () ...).

It's not significantly different. (thunk proc) is a convenience macro
that expands to (lambda () (proc)) which exists because Greg didn't
like having to write out (lambda () (proc)).

BTW, edge-enter-hook and edge-leave-hook get passed one argument, the
appropriate one of 'north, 'south 'east or 'west depending on which
edge you enter or leave.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 10 15:56:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA20911
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 15:56:13 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA20908
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 15:56:13 -0500
Received: from pop3.stx.com by MIT.EDU with SMTP
	id AA00467; Wed, 10 Feb 99 15:55:12 EST
Received: from jkodis.stx.com (jkodis.stx.com [207.239.152.27])
	by pop3.stx.com (8.9.0/8.9.0) with SMTP id PAA19820
	for <scwm-discuss@mit.edu>; Wed, 10 Feb 1999 15:58:09 -0500
Message-Id: <3.0.1.32.19990210155239.00c706dc@ccmailnt.stx.com>
X-Sender: John M Kodis@ccmailnt.stx.com
X-Mailer: Windows Eudora Light Version 3.0.1 (32)
Date: Wed, 10 Feb 1999 15:52:39 -0500
To: scwm-discuss@mit.edu
From: John Kodis <kodis@ccmailnt.stx.com>
Subject: #:focus 'mouse-delayed
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I'm happily using scwm-0.9, but would like to try a new focus policy.  I'd
like something like #:focus 'mouse, except that rather than immediately
getting the focus when the mouse moves into a window, focus only shifts to
a newly entered window after remaining in the new window for some fraction
of a second.

I'd also like to combine this with auto-raise and sloppy-focus, but I
expect that these would be lesser orthogonal issues.

If such a feature is available, apologize for not spotting it in the
documentation and will go back to lurking.  If this isn't available, I'd be
happy to try my hand at an implementation if someone could get me pointed
in the right general direction.

-- John Kodis.



From owner-scwm-discuss@mit.edu  Wed Feb 10 16:03:40 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA21015
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 16:03:40 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id QAA21012
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 16:03:39 -0500
Received: from mailhost.viewlogic.com (mailhost [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id PAA04032
	for <scwm-discuss@ph.mit.edu>; Wed, 10 Feb 1999 15:53:09 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id QAA21235
	for <scwm-discuss@ph.mit.edu>; Wed, 10 Feb 1999 16:02:41 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA12657; Wed, 10 Feb 99 16:02:41 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id QAA21883; Wed, 10 Feb 1999 16:00:27 -0500
Message-Id: <36C1F36B.C8FDE0F1@alum.mit.edu>
Date: Wed, 10 Feb 1999 16:00:27 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Release plans
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I've got only a few more items on my to do list before making the next
scwm release (I think I'll call it 0.9.2 to distinguish it from the
0.9.1-snap CVS version). Here they are:

* Figure out some way to ensure that windows requesting no border via
Motif hints are really drawn with no border, unless the user takes
specific
measures to override this, so the Gnome panel looks right.

* Give bind-key the ability to bind key releases like bind-keycode can
and implement the alternative list-style modifier syntax; remove
bind-keycode.

* desk limiting stuff as discussed here. I'm leaning towards
`set-desk-max' since
no one has spoken too strongly in favor of negative desks.

* Fix c-animation module to ensure property notification of 'shaded
works for
animated shades/unshades.

* rename scwm/ directory to src/

* Provide more intuitive names for button binding contexts
(left-button-1, 
right-button-1, etc, instead of the current kludge).

* Clean up my personal scwmrc a bit and check it in as an example.

* Regenerate docs, update NEWS, ship it.

Does anyone have other changes they would like to see, or things they'd
like
to implement before the next release themselves? Any unreported bugs I
should
be aware of?

I'm tentatively targeting sometime around next monday as the release
date.

I would also like to get 0.9.2 into Red Hat ContribNet. Does anyone have
time so sign 
and upload a package there? If not, I can do it myself. I hope they will
accept 
GPG-generated PGP keys.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 10 16:15:22 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA21154
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 16:15:22 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA21150
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 16:15:15 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA07260; Wed, 10 Feb 99 16:14:09 EST
Received: from mailhost.viewlogic.com (mailhost [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id QAA04180;
	Wed, 10 Feb 1999 16:04:39 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id QAA21819;
	Wed, 10 Feb 1999 16:14:12 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA12737; Wed, 10 Feb 99 16:14:11 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id QAA21890; Wed, 10 Feb 1999 16:11:59 -0500
Message-Id: <36C1F61F.B53C98C4@alum.mit.edu>
Date: Wed, 10 Feb 1999 16:11:59 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: John Kodis <kodis@ccmailnt.stx.com>
Cc: scwm-discuss@mit.edu
Subject: Re: #:focus 'mouse-delayed
References: <3.0.1.32.19990210155239.00c706dc@ccmailnt.stx.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

John Kodis wrote:
> 
> I'm happily using scwm-0.9, but would like to try a new focus policy.  I'd
> like something like #:focus 'mouse, except that rather than immediately
> getting the focus when the mouse moves into a window, focus only shifts to
> a newly entered window after remaining in the new window for some fraction
> of a second.

It's not available right now, and it might be a bit tricky to implement.
Here's a question for you: do you care if click-to-focus happens for
these 
windows as well? If so, the approach I would reccomend is to add
appropriate
hooks to EnterNotifyHandler (something like window-enter-hook, 
window-leave-hook). Then you can set the focus style to 'click for
windows
where you want mouse-delay focus, and do something like what the
auto-raise
module does to achieve delayed focusing of such windows. If you don't
want
click-to-focus to also work on these windows, things will be a bit more
problematic, as if you set the focus-style to 'none, scwm will refuse
to focus the window at all. Perhaps that policy should be reconsidered.

> I'd also like to combine this with auto-raise and sloppy-focus, but I
> expect that these would be lesser orthogonal issues.

auto-raise should be totally orthogonal. Sloppy delayed mouse-focus
would
have to be accounted for by by the module that implements delayed mouse
focusing, but it should not be hard to add.

Let me know if you would like further guidance on implementing this
feature.
I look forward to seeing a patch from you.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 10 16:33:48 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA21355
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 16:33:48 -0500
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA21352
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 16:33:47 -0500
Received: from alien.devel.redhat.com by MIT.EDU with SMTP
	id AA04721; Wed, 10 Feb 99 16:33:15 EST
Received: from localhost (gafton@localhost)
	by alien.devel.redhat.com (8.8.7/8.8.7) with ESMTP id QAA16053;
	Wed, 10 Feb 1999 16:32:45 -0500
X-Authentication-Warning: alien.devel.redhat.com: gafton owned process doing -bs
Date: Wed, 10 Feb 1999 16:32:45 -0500 (EST)
From: Cristian Gafton <gafton@redhat.com>
X-Sender: gafton@alien.devel.redhat.com
To: "Harvey J. Stein" <hjstein@bfr.co.il>
Cc: scwm-discuss@mit.edu, jtl@molehill.org, guile@cygnus.com
Subject: Re: RPM for patched version of guile 1.3 with slow read fix.
In-Reply-To: <m2r9rz26e4.fsf_-_@blinky.bfr.co.il>
Message-Id: <Pine.LNX.4.05.9902101632120.15922-100000@alien.devel.redhat.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 9 Feb 1999, Harvey J. Stein wrote:

> I made a patch for guile 1.3 with the (1 line) slow read fix.  I
> packaged it as an RPM and uploaded it to vicarious-existence.mit.edu:

I'd appreciate if you could just forward me the patch.

Cristian
--
----------------------------------------------------------------------
Cristian Gafton   --   gafton@redhat.com   --   Red Hat Software, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 UNIX is user friendly. It's just selective about who its friends are.


From owner-scwm-discuss@mit.edu  Wed Feb 10 16:53:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA21516
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 16:53:17 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA21513
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 16:53:16 -0500
Received: from avocado.pc.helsinki.fi by MIT.EDU with SMTP
	id AA20494; Wed, 10 Feb 99 16:52:14 EST
Received: (from janne@localhost)
	by avocado.pc.helsinki.fi (8.9.1/8.9.1) id XAA22410;
	Wed, 10 Feb 1999 23:52:15 +0200
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm pager in Linux Alpha (not)
References: <oavhhaaylf.fsf@avocado.pc.helsinki.fi> <36C1DEB4.B86E7DCE@alum.mit.edu>
From: Janne Sinkkonen <janne@avocado.pc.helsinki.fi>
Date: 10 Feb 1999 23:52:14 +0200
In-Reply-To: Maciej Stachowiak's message of "Wed, 10 Feb 1999 14:32:04 -0500"
Message-Id: <oaaeymhqpd.fsf@avocado.pc.helsinki.fi>
Lines: 80
X-Mailer: Gnus v5.6.45/XEmacs 19.16 - "Lille"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> appropriate one for x86) has seen a lot of testing. Since you are
> using it on an alpha, I'd guess the 64-bit LE version is wrong. I
> can try to look at it and guess what might be wrong, but I can't
> properly debug as I have no alpha box.

I attached a patch of the most obvious changes at the end. It doesn't
solve the problem, but seem to help somewhat. Now I get:

scwm: Error communicating with module (#<output: write pipe 9> 0 #<procedure ()> #<procedure ()> #t #<procedure ()> . "FvwmPager");
 terminating connection.



> Incidentally, if the machine you are using is Linux-alpha, would you
> mind building an RH/alpha RPM package? All you have to do is download
> the SRPM and run `rpm -ba' on it.

Yes, why not. Where is it?

--
Janne

The patch follows:

diff -c -r1.5 bincomm.scm
*** bincomm.scm 1998/09/05 22:01:33     1.5
--- bincomm.scm 1999/02/10 21:48:28
***************
*** 92,98 ****
        (if endianness
          ;; 64-bit little-endian
          (lambda (int)
!           (let* ((s (make-string 4 #\nul))
                   (intx (if (> int 9223372036854775809)
                             (- int 18446744073709551616)
                             int)))
--- 92,98 ----
        (if endianness
          ;; 64-bit little-endian
          (lambda (int)
!           (let* ((s (make-string 8 #\nul))
                   (intx (if (> int 9223372036854775809)
                             (- int 18446744073709551616)
                             int)))
***************
*** 115,121 ****
              s))
          ;; 64-bit big-endian
          (lambda (int)
!           (let* ((s (make-string 4 #\nul))
                   (intx (if (> int 9223372036854775809)
                             (- int 18446744073709551616)
                             int)))
--- 115,121 ----
              s))
          ;; 64-bit big-endian
          (lambda (int)
!           (let* ((s (make-string 8 #\nul))
                   (intx (if (> int 9223372036854775809)
                             (- int 18446744073709551616)
                             int)))
***************
*** 152,158 ****
        ;; 64 bit
        (lambda (str)
        (let* ((length (* 8 (+ 1 (inexact->exact 
!                                 (floor (/ (string-length str) 4))))))
               (pad (- length (string-length str))))
          (string-append 
           str 
--- 152,158 ----
        ;; 64 bit
        (lambda (str)
        (let* ((length (* 8 (+ 1 (inexact->exact 
!                                 (floor (/ (string-length str) 8))))))
               (pad (- length (string-length str))))
          (string-append 
           str 

From owner-scwm-discuss@mit.edu  Wed Feb 10 16:57:31 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA21588
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 16:57:31 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA21585
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 16:57:30 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA13281; Wed, 10 Feb 99 16:56:57 EST
Received: from mailhost.viewlogic.com (mailhost [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id QAA04707;
	Wed, 10 Feb 1999 16:46:58 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id QAA23904;
	Wed, 10 Feb 1999 16:56:31 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA13013; Wed, 10 Feb 99 16:56:30 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id QAA21960; Wed, 10 Feb 1999 16:54:17 -0500
Message-Id: <36C20009.8B1DF66E@alum.mit.edu>
Date: Wed, 10 Feb 1999 16:54:17 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Janne Sinkkonen <janne@avocado.pc.helsinki.fi>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm pager in Linux Alpha (not)
References: <oavhhaaylf.fsf@avocado.pc.helsinki.fi> <36C1DEB4.B86E7DCE@alum.mit.edu> <oaaeymhqpd.fsf@avocado.pc.helsinki.fi>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Janne Sinkkonen wrote:
> 
> Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> 
> > appropriate one for x86) has seen a lot of testing. Since you are
> > using it on an alpha, I'd guess the 64-bit LE version is wrong. I
> > can try to look at it and guess what might be wrong, but I can't
> > properly debug as I have no alpha box.
> 
> I attached a patch of the most obvious changes at the end. It doesn't
> solve the problem, but seem to help somewhat. Now I get:
> 

I will apply your patch shortly.

> scwm: Error communicating with module (#<output: write pipe 9> 0 #<procedure ()> #<procedure ()> #t #<procedure ()> . "FvwmPager");
>  terminating connection.
> 

Please try setting debug-fvwm-module to #t before starting the pager and
see
if you get any interesting debug output.

> > Incidentally, if the machine you are using is Linux-alpha, would you
> > mind building an RH/alpha RPM package? All you have to do is download
> > the SRPM and run `rpm -ba' on it.
> 
> Yes, why not. Where is it?
>

ftp://vicarious-existence.mit.edu/pub/scwm/rpm/scwm-0.9-2.src.rpm

Note that this requires a Guile 1.3 rpm from rawhide to build.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 10 17:19:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA21745
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 17:19:18 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA21742
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 17:19:17 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA20316; Wed, 10 Feb 99 17:18:44 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA19969; Wed, 10 Feb 1999 14:18:17 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Re: edge scroll hook?
References: <ii7ww1rs3bf.fsf@central.sun.com> <36C0A719.BD023F45@alum.mit.edu> <ii7socfs11h.fsf@central.sun.com> <36C1E7C5.23E05497@alum.mit.edu> <ii7ww1qf1ov.fsf@central.sun.com> <36C1EF58.63DF6E52@alum.mit.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 10 Feb 1999 14:18:16 -0800
In-Reply-To: Maciej Stachowiak's message of "Wed, 10 Feb 1999 15:43:04 -0500"
Message-Id: <qrr6799ewd3.fsf@elwha.cs.washington.edu>
Lines: 15
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

<snip>

> > The hardest part for me is that the only
> > lisp I've ever used is emacs lisp.  I'm still trying to figure out
> > how a (thunk ...) is different from a (lambda () ...).
> 
> It's not significantly different. (thunk proc) is a convenience macro
> that expands to (lambda () (proc)) which exists because Greg didn't
> like having to write out (lambda () (proc)).

I guess this makes me a lazy slug too! :-)

<snip>

Greg

From owner-scwm-discuss@mit.edu  Wed Feb 10 17:29:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA21811
	for scwm-discuss-outgoing; Wed, 10 Feb 1999 17:29:33 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA21808
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Feb 1999 17:29:33 -0500
Received: from avocado.pc.helsinki.fi by MIT.EDU with SMTP
	id AA23548; Wed, 10 Feb 99 17:29:00 EST
Received: (from janne@localhost)
	by avocado.pc.helsinki.fi (8.9.1/8.9.1) id AAA22719;
	Thu, 11 Feb 1999 00:28:28 +0200
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm pager in Linux Alpha (not)
References: <oavhhaaylf.fsf@avocado.pc.helsinki.fi> <36C1DEB4.B86E7DCE@alum.mit.edu> <oaaeymhqpd.fsf@avocado.pc.helsinki.fi> <36C20009.8B1DF66E@alum.mit.edu>
From: Janne Sinkkonen <janne@avocado.pc.helsinki.fi>
Date: 11 Feb 1999 00:28:28 +0200
In-Reply-To: Maciej Stachowiak's message of "Wed, 10 Feb 1999 16:54:17 -0500"
Message-Id: <oa6799j3lf.fsf@avocado.pc.helsinki.fi>
Lines: 16
X-Mailer: Gnus v5.6.45/XEmacs 19.16 - "Lille"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Please try setting debug-fvwm-module to #t before starting the pager
> and see if you get any interesting debug output.

It didn't give any extra output (I set it in the proper way).

> ftp://vicarious-existence.mit.edu/pub/scwm/rpm/scwm-0.9-2.src.rpm
> 
> Note that this requires a Guile 1.3 rpm from rawhide to build.

I'll try it later this week or early next week when I'm again in front
of the Alpha.

-- 
Janne

From owner-scwm-discuss@mit.edu  Thu Feb 11 01:41:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA27513
	for scwm-discuss-outgoing; Thu, 11 Feb 1999 01:41:41 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA27510
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 11 Feb 1999 01:41:38 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA16573; Thu, 11 Feb 99 01:41:02 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA15309; Wed, 10 Feb 1999 22:40:35 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Animated resize is cool, but..
From: Greg Badros <gjb@cs.washington.edu>
Date: 10 Feb 1999 22:40:34 -0800
Message-Id: <qrrlni5o331.fsf@elwha.cs.washington.edu>
Lines: 17
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

It looks like the animated resize code has a viewport/virtual bug in
it.  When not at viewport (0,0), the window moves when resizing then
goes to the right place when done.

In general, we should always be testing this kind of code (anything that 
manipulates frame positions, sizes) at viewport (50,50) or so (something 
other than 0,0).

Also, the docs are not clear that the parameters are in pixels.  Do we
have any functions for resizing based on client units?  Perhaps we
should -- I think we should be able to get at the base increment from
scheme, and can just use that.

Sorry I can't fix these things now... gotta run.

Greg


From owner-scwm-discuss@mit.edu  Thu Feb 11 03:03:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA28208
	for scwm-discuss-outgoing; Thu, 11 Feb 1999 03:03:33 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA28205
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 11 Feb 1999 03:03:31 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA24290; Thu, 11 Feb 99 03:02:53 EST
Received: (qmail 11175 invoked by uid 501); 11 Feb 1999 08:02:38 -0000
Message-Id: <19990211000238.A11056@molehill.org>
Date: Thu, 11 Feb 1999 00:02:38 -0800
From: Todd Larason <jtl@molehill.org>
To: Graeme.Cross@sci.monash.edu.au, scwm-discuss@mit.edu
Subject: Re: Setting menu attributes
References: <m34sov8cah.fsf@eho.eaglets.com> <Pine.LNX.4.04.9902102338350.28774-100000@babylon.wsc.monash.edu.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <Pine.LNX.4.04.9902102338350.28774-100000@babylon.wsc.monash.edu.au>; from Graeme Cross on Wed, Feb 10, 1999 at 11:54:06PM +1100
X-Kibo: Nonexistant destinies are new.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990210, Graeme Cross wrote:
> 1. How do I set the font for a menu title that is different to the 
>    font used in the rest of the menu?
> 
> 2. Likewise, how do I set different foreground & background colours for
>    a menu title?

You can't do either of these right now, and making it so you can has been on
my todo list for an embarrassing amount of time.  It's straightforward, I just 
haven't gotten to it.

> 3. How do I set the highlight colours for a selected menu item? I think
>    I can do it for individual entries using HOVER_ACTION, but it seems
>    like overkill to have to redefine this for each menu entry.

There's no way to do this either, and nobody's requested it before.  Are you
wanting to change the text/background color when an item's active, or change
the color used to draw the highlight rectangle around the item?	  

From owner-scwm-discuss@mit.edu  Thu Feb 11 03:06:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA28249
	for scwm-discuss-outgoing; Thu, 11 Feb 1999 03:06:41 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA28245
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 11 Feb 1999 03:06:40 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA24541; Thu, 11 Feb 99 03:06:03 EST
Received: (qmail 11271 invoked by uid 501); 11 Feb 1999 08:05:55 -0000
Message-Id: <19990211000555.B11056@molehill.org>
Date: Thu, 11 Feb 1999 00:05:55 -0800
From: Todd Larason <jtl@molehill.org>
To: Maciej Stachowiak <mstachow@alum.mit.edu>, scwm-discuss@mit.edu
Subject: Re: Release plans
References: <36C1F36B.C8FDE0F1@alum.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <36C1F36B.C8FDE0F1@alum.mit.edu>; from Maciej Stachowiak on Wed, Feb 10, 1999 at 04:00:27PM -0500
X-Kibo: Spurious all the Kibo's toys in the Universe, U for Utopia, are happy.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990210, Maciej Stachowiak wrote:
> I would also like to get 0.9.2 into Red Hat ContribNet. Does anyone have
> time so sign 
> and upload a package there? If not, I can do it myself. I hope they will
> accept 
> GPG-generated PGP keys.

Another mea culpa.  I'm registered with them to do this, and will happily do
so.  What I haven't had time to do yet is make sure the spec file meets their
requirements.  If someone has a chance to do this, great.  If not, I'll do it
as soon after 0.9.2 as I can manage.  I'll turn over the 'official' rhcn
registration to whoever does, if they like, or I'll build, sign and upload.

From owner-scwm-discuss@mit.edu  Thu Feb 11 07:52:06 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA30345
	for scwm-discuss-outgoing; Thu, 11 Feb 1999 07:52:06 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id HAA30342
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 11 Feb 1999 07:52:03 -0500
Received: from smtp4.erols.com by MIT.EDU with SMTP
	id AA06884; Thu, 11 Feb 99 07:50:54 EST
Received: from alum.mit.edu (209-122-232-249.s503.tnt4.sbo.erols.com [209.122.232.249])
	by smtp4.erols.com (8.8.8/smtp-v1) with ESMTP id HAA16321;
	Thu, 11 Feb 1999 07:50:56 -0500 (EST)
Message-Id: <36C2D365.BD90CE8B@alum.mit.edu>
Date: Thu, 11 Feb 1999 07:56:05 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Animated resize is cool, but..
References: <qrrlni5o331.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> It looks like the animated resize code has a viewport/virtual bug in
> it.  When not at viewport (0,0), the window moves when resizing then
> goes to the right place when done.
> 

Whoops. Will fix,

> Also, the docs are not clear that the parameters are in pixels.  Do we
> have any functions for resizing based on client units?  Perhaps we
> should -- I think we should be able to get at the base increment from
> scheme, and can just use that.

I don't think we do right now, but they should be added.

 - Maciej

From owner-scwm-discuss@mit.edu  Thu Feb 11 12:45:25 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA31878
	for scwm-discuss-outgoing; Thu, 11 Feb 1999 12:45:25 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA31875
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 11 Feb 1999 12:45:24 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA13582; Thu, 11 Feb 99 12:44:43 EST
Received: from mailhost.viewlogic.com (mailhost [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id MAA12558;
	Thu, 11 Feb 1999 12:34:39 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id MAA28944;
	Thu, 11 Feb 1999 12:44:13 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA08146; Thu, 11 Feb 99 12:44:12 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id MAA01224; Thu, 11 Feb 1999 12:41:58 -0500
Message-Id: <36C31666.6796928B@alum.mit.edu>
Date: Thu, 11 Feb 1999 12:41:58 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Janne Sinkkonen <janne@avocado.pc.helsinki.fi>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm pager in Linux Alpha (not)
References: <oavhhaaylf.fsf@avocado.pc.helsinki.fi> <36C1DEB4.B86E7DCE@alum.mit.edu> <oaaeymhqpd.fsf@avocado.pc.helsinki.fi>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Janne Sinkkonen wrote:
> 
> Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> 
> > appropriate one for x86) has seen a lot of testing. Since you are
> > using it on an alpha, I'd guess the 64-bit LE version is wrong. I
> > can try to look at it and guess what might be wrong, but I can't
> > properly debug as I have no alpha box.
> 
> I attached a patch of the most obvious changes at the end. It doesn't
> solve the problem, but seem to help somewhat. Now I get:
> 
> scwm: Error communicating with module (#<output: write pipe 9> 0 #<procedure ()> #<procedure ()> #t #<procedure ()> . "FvwmPager");
>  terminating connection.
> 

I checked in your patch and enhanced the error output on communication errors;
you should get something a bit more useful out of it if you try again.

 - Maciej

From owner-scwm-discuss@mit.edu  Thu Feb 11 18:33:19 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA01296
	for scwm-discuss-outgoing; Thu, 11 Feb 1999 18:33:19 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA01293
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 11 Feb 1999 18:33:18 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA02577; Thu, 11 Feb 99 18:32:04 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA06551; Thu, 11 Feb 1999 15:32:04 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Animated resize is cool, but..
References: <qrrlni5o331.fsf@elwha.cs.washington.edu> <36C2D365.BD90CE8B@alum.mit.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 11 Feb 1999 15:32:03 -0800
In-Reply-To: Maciej Stachowiak's message of "Thu, 11 Feb 1999 07:56:05 -0500"
Message-Id: <qrremnwo6to.fsf@elwha.cs.washington.edu>
Lines: 27
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> > It looks like the animated resize code has a viewport/virtual bug in
> > it.  When not at viewport (0,0), the window moves when resizing then
> > goes to the right place when done.
> > 
> 
> Whoops. Will fix,

Much better, but still has a problem with not computing the final
width/height before doing the animation (try resizing an Emacs or xterm
to the same size twice -- unless you get lucky [or unlucky if you're
trying to observe the bug] it'll still partially resize before snapping
back to the increment-multiple size.

> > Also, the docs are not clear that the parameters are in pixels.  Do we
> > have any functions for resizing based on client units?  Perhaps we
> > should -- I think we should be able to get at the base increment from
> > scheme, and can just use that.
> 
> I don't think we do right now, but they should be added.

We can at least get at the width/height increments and the base
width/height already using window-size-hints, so at least we don't need
a new primitive.

Greg

From owner-scwm-discuss@mit.edu  Thu Feb 11 18:42:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA01378
	for scwm-discuss-outgoing; Thu, 11 Feb 1999 18:42:33 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA01375
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 11 Feb 1999 18:42:32 -0500
Received: from babylon.wsc.monash.edu.au by MIT.EDU with SMTP
	id AA04262; Thu, 11 Feb 99 18:41:15 EST
Received: from localhost (graeme@localhost)
	by babylon.wsc.monash.edu.au (8.8.7/8.8.7) with ESMTP id KAA11213;
	Fri, 12 Feb 1999 10:41:52 +1100
Date: Fri, 12 Feb 1999 10:41:52 +1100 (EST)
From: Graeme Cross <graeme@babylon.wsc.monash.edu.au>
Reply-To: Graeme.Cross@sci.monash.edu.au
To: Todd Larason <jtl@molehill.org>
Cc: scwm-discuss@mit.edu
Subject: Re: Setting menu attributes
In-Reply-To: <19990211000238.A11056@molehill.org>
Message-Id: <Pine.LNX.4.04.9902121038060.11194-100000@babylon.wsc.monash.edu.au>
X-Attribution: gjc
X-Pgp-Key-Id: 702DB549
X-Url: http://www.wsc.monash.edu.au/~graeme/
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Thu, 11 Feb 1999, Todd Larason wrote:

>On 990210, Graeme Cross wrote:
>> 1. How do I set the font for a menu title that is different to the 
>>    font used in the rest of the menu?
>> 
>> 2. Likewise, how do I set different foreground & background colours for
>>    a menu title?
>
>You can't do either of these right now, and making it so you can has been on
>my todo list for an embarrassing amount of time.  It's straightforward, I just 
>haven't gotten to it.

The ideal scenario would be specify font & colour details for any menu
item, including titles.

This way, important menu items could be displayed in a bold font, for
example.

My Scheme is slowly getting up to scratch - so perhaps this is something I
can contribute back into the code.


>> 3. How do I set the highlight colours for a selected menu item? I think
>>    I can do it for individual entries using HOVER_ACTION, but it seems
>>    like overkill to have to redefine this for each menu entry.
>
>There's no way to do this either, and nobody's requested it before.  Are you
>wanting to change the text/background color when an item's active, or change
>the color used to draw the highlight rectangle around the item?	  

At the moment, the currently selected menu item has a 3D relief around it,
but retains the basic menu colours.

Many window managers allow you to modify the colours of the selected menu
item, such as inverting the colours or highlighting the colours.

I can supply a screenshot from blackbox, for example, if that would help
illustrate the point.

Cheers
Graeme

--
Graeme Cross 
Water Studies Centre, Monash University           Phone: +61 3 990 54089
Clayton, Victoria, Australia



From owner-scwm-discuss@mit.edu  Thu Feb 11 19:02:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA01584
	for scwm-discuss-outgoing; Thu, 11 Feb 1999 19:02:38 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA01581
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 11 Feb 1999 19:02:37 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA08619; Thu, 11 Feb 99 19:01:23 EST
Received: from mailhost.viewlogic.com (mailhost [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id SAA16926;
	Thu, 11 Feb 1999 18:51:52 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id TAA15318;
	Thu, 11 Feb 1999 19:01:26 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA19114; Thu, 11 Feb 99 19:01:24 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id SAA05362; Thu, 11 Feb 1999 18:59:09 -0500
Message-Id: <36C36ECC.D365E75@alum.mit.edu>
Date: Thu, 11 Feb 1999 18:59:08 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Animated resize is cool, but..
References: <qrrlni5o331.fsf@elwha.cs.washington.edu> <36C2D365.BD90CE8B@alum.mit.edu> <qrremnwo6to.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> 
> > > It looks like the animated resize code has a viewport/virtual bug in
> > > it.  When not at viewport (0,0), the window moves when resizing then
> > > goes to the right place when done.
> > >
> >
> > Whoops. Will fix,
> 
> Much better, but still has a problem with not computing the final
> width/height before doing the animation (try resizing an Emacs or xterm
> to the same size twice -- unless you get lucky [or unlucky if you're
> trying to observe the bug] it'll still partially resize before snapping
> back to the increment-multiple size.

I agree that needs to be fixed. I would also like to add move-and-resize and
animated-move-and-resize primitives and rewrite maximize to use those, and that
will also require precomputing the client-unit-aligned size.

 - Maciej

From owner-scwm-discuss@mit.edu  Thu Feb 11 19:07:53 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA01652
	for scwm-discuss-outgoing; Thu, 11 Feb 1999 19:07:53 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA01649
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 11 Feb 1999 19:07:52 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA20437; Thu, 11 Feb 99 19:07:08 EST
Received: from mailhost.viewlogic.com (mailhost [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id SAA16939;
	Thu, 11 Feb 1999 18:57:06 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id TAA15407;
	Thu, 11 Feb 1999 19:06:40 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA21028; Thu, 11 Feb 99 19:06:38 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id TAA05513; Thu, 11 Feb 1999 19:04:23 -0500
Message-Id: <36C37007.85557F56@alum.mit.edu>
Date: Thu, 11 Feb 1999 19:04:23 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Graeme.Cross@sci.monash.edu.au
Cc: Todd Larason <jtl@molehill.org>, scwm-discuss@mit.edu
Subject: Re: Setting menu attributes
References: <Pine.LNX.4.04.9902121038060.11194-100000@babylon.wsc.monash.edu.au>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Graeme Cross wrote:
> 
> On Thu, 11 Feb 1999, Todd Larason wrote:
> 
> >On 990210, Graeme Cross wrote:
> >> 1. How do I set the font for a menu title that is different to the
> >>    font used in the rest of the menu?
> >>
> >> 2. Likewise, how do I set different foreground & background colours for
> >>    a menu title?
> >
> >You can't do either of these right now, and making it so you can has been on
> >my todo list for an embarrassing amount of time.  It's straightforward, I just
> >haven't gotten to it.
> 
> The ideal scenario would be specify font & colour details for any menu
> item, including titles.
> 
> This way, important menu items could be displayed in a bold font, for
> example.
> 
> My Scheme is slowly getting up to scratch - so perhaps this is something I
> can contribute back into the code.
> 

Most of the menu decorating code is in C unfortunately.

> At the moment, the currently selected menu item has a 3D relief around it,
> but retains the basic menu colours.
> 
> Many window managers allow you to modify the colours of the selected menu
> item, such as inverting the colours or highlighting the colours.
> 

I agree that we need a menu style that allows hilighting menu items by color
instead of with relief, that is needed for accurate win9x emulation. We also
need the ability to have all items relieved and highlight by color to get
next-ish menus. We may be able to steal code from current fvwm2 or elsewhere
to get this going.

From owner-scwm-discuss@mit.edu  Fri Feb 12 20:29:31 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA09223
	for scwm-discuss-outgoing; Fri, 12 Feb 1999 20:29:31 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id UAA09220
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 12 Feb 1999 20:29:28 -0500
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id UAA01259
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 12 Feb 1999 20:28:05 -0500 (EST)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id UAA00941;
	Fri, 12 Feb 1999 20:28:00 -0500 (EST)
Date: Fri, 12 Feb 1999 20:28:00 -0500 (EST)
From: Stephen Tell <tell@cs.unc.edu>
To: SCWM Discussion List <scwm-discuss@mit.edu>
Subject: modules, hooks, and scwm hacking
Message-ID: <Pine.HPP.3.96.990212192718.18808D-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


This is really more of a guile question, but anyway...
Could someone please explain how (if its even possible) one could go about
replacing some scheme hook code way down inside scwm without editing the
source in scheme/*.scm, reinstalling, and restarting?

A concrete example: Suppose I'd like to change the appearance of the
resize message window by attaching a different bit of code to 
interactive-resize-new-size-hook, interactively or in my .scwmrc.

I would expect to be able to remove-hook! or reset-hook! the hook, and
then add-hook! my revised version of resize-message-new-size-hook.  I can
do this on a hook that I create myself, but not on
interactive-resize-new-size-hook.  I'm resonably sure that the difficulty
is that the message window code is down in a module, so the hook varable
and such is in its own namespace.   

(use-modules app scwm message-window) in scwmrepl produces a backtrace
and error message "ERROR: In procedure car in expression (car elts):
ERROR: Wrong type argument in position 1: message-window"  So that's
probably not the thing to do...

The module documentation in guile is rather sketchy - is there a way to
poke around in some module given its name?

I've learned a little bit by reading guile-1.3/ice-9/boot-9.scm - but its
rather slow going this way.   Is there a way to get from a
heirarchical module name in use-modules syntax to a reference to a module
object?

It looks like for this particular hack I really want to redefine
resize-message-new-size-hook in the message-window module, otherwise I'd
have to redefine enable-resize-msgwin to keep message-window-enable
working.

Thanks for any hints - my understanding is probably off in the weeds
somewhere...







-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@mit.edu  Sat Feb 13 02:07:05 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA10593
	for scwm-discuss-outgoing; Sat, 13 Feb 1999 02:07:05 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA10590
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 13 Feb 1999 02:07:04 -0500
Received: from smtp2.erols.com by MIT.EDU with SMTP
	id AA08117; Sat, 13 Feb 99 02:05:34 EST
Received: from alum.mit.edu (209-122-231-103.s103.tnt4.sbo.erols.com [209.122.231.103])
	by smtp2.erols.com (8.8.8/8.8.5) with ESMTP id CAA01241;
	Sat, 13 Feb 1999 02:06:59 -0500 (EST)
Message-Id: <36C52586.A591C9D0@alum.mit.edu>
Date: Sat, 13 Feb 1999 02:11:02 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Stephen Tell <tell@cs.unc.edu>
Cc: SCWM Discussion List <scwm-discuss@mit.edu>
Subject: Re: modules, hooks, and scwm hacking
References: <Pine.HPP.3.96.990212192718.18808D-100000@rukbat.cs.unc.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Stephen Tell wrote:
> 
> This is really more of a guile question, but anyway...
> Could someone please explain how (if its even possible) one could go about
> replacing some scheme hook code way down inside scwm without editing the
> source in scheme/*.scm, reinstalling, and restarting?
> 


You can temporarily pretend to be in a module using define-module, for
example:

(define-module (app scwm message-window))

To return to being in your scwmrc module, you'd want to

(define-module (guile))

You can also reference a variable in a module by getting tht module
object
with `resolve-module' and accessing the variable with `module-ref', e.g.

(module-ref (resolve-module '(app scwm message-window))
'whatever-variable)

That should let you do the poking you want. However, if you find
yourself
needing to break into a module, that's probably a hint the abstraction
the
mdoule provides is insufficiently general. What are you trying to do
with resize message windows that the current code does not allow?

 - Maciej

From owner-scwm-discuss@mit.edu  Sat Feb 13 12:41:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA14085
	for scwm-discuss-outgoing; Sat, 13 Feb 1999 12:41:41 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from smtp2.erols.com (smtp2.erols.com [207.172.3.235])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id MAA14082
	for <scwm-discuss@ph.mit.edu>; Sat, 13 Feb 1999 12:41:38 -0500
Received: from alum.mit.edu (209-122-231-103.s103.tnt4.sbo.erols.com [209.122.231.103])
	by smtp2.erols.com (8.8.8/8.8.5) with ESMTP id MAA06012
	for <scwm-discuss@ph.mit.edu>; Sat, 13 Feb 1999 12:40:58 -0500 (EST)
Message-ID: <36C5BA1A.B9D74CE6@alum.mit.edu>
Date: Sat, 13 Feb 1999 12:44:58 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Menu items with action _and_ submenu?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Is it possible to create menu items that have both a direct action
and a submenu if you hover over them?

 - Maciej

From owner-scwm-discuss@mit.edu  Sat Feb 13 12:59:10 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA14223
	for scwm-discuss-outgoing; Sat, 13 Feb 1999 12:59:10 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from smtp3.erols.com (smtp3.erols.com [207.172.3.236])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id MAA14220
	for <scwm-discuss@ph.mit.edu>; Sat, 13 Feb 1999 12:59:09 -0500
Received: from alum.mit.edu (209-122-231-103.s103.tnt4.sbo.erols.com [209.122.231.103])
	by smtp3.erols.com (8.8.8/8.8.5) with ESMTP id MAA00526
	for <scwm-discuss@ph.mit.edu>; Sat, 13 Feb 1999 12:57:38 -0500 (EST)
Message-ID: <36C5BE60.A69E8EDB@alum.mit.edu>
Date: Sat, 13 Feb 1999 13:03:12 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: scwm-discuss@mit.edu
Subject: gnome-apps-menu
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Has anyone considered writing a module that creates a menu out of Gnome
.desktop files (and/or KDE .kdelink files or whatever) similar to the
wmconfig-menu module? I hear Red Hat is planning to switch over to
.desktop 
files for its window manager system entirely for RH 6.0 anyway.

 - Maciej

From owner-scwm-discuss@mit.edu  Sat Feb 13 17:02:11 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA15348
	for scwm-discuss-outgoing; Sat, 13 Feb 1999 17:02:11 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA15345
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 13 Feb 1999 17:02:09 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA22146; Sat, 13 Feb 99 17:01:04 EST
Received: (qmail 29200 invoked by uid 501); 13 Feb 1999 22:01:10 -0000
Message-Id: <19990213140109.A28727@molehill.org>
Date: Sat, 13 Feb 1999 14:01:09 -0800
From: Todd Larason <jtl@molehill.org>
To: Maciej Stachowiak <mstachow@alum.mit.edu>, scwm-discuss@mit.edu
Subject: Re: Menu items with action _and_ submenu?
References: <36C5BA1A.B9D74CE6@alum.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <36C5BA1A.B9D74CE6@alum.mit.edu>; from Maciej Stachowiak on Sat, Feb 13, 1999 at 12:44:58PM -0500
X-Kibo: A game and a game are the point of Kibology.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990213, Maciej Stachowiak wrote:
> Is it possible to create menu items that have both a direct action
> and a submenu if you hover over them?

yes.  give an action and a hover action both; the hover action needs to be a
menu or a symbol naming a menu, not a function.  (these are the same rules for 
making 'normal' submenus work).

(define (menuitem-host machine)
  (menuitem (car machine)
	    #:action (lambda () (xterm-on-host (cadr machine)))))

(define menu-host-home
  (menu
   (map menuitem-host
	'(("teeny" "teeny.priv.molehill.org")
	  ("bitsy" "bitsy.priv.molehill.org")
	  ("micro" "micro.priv.molehill.org")
	  ("dot"   "dot.priv.molehill.org")
	  ("pico"  "pico.priv.molehill.org")
	  ("mini"  "mini.priv.molehill.org")
	  ("nano"  "nano.priv.molehill.org")))))

(define menu-host
  (menu
   (list
    (menuitem "Home"
	      #:action (lambda () (xterm-on-host "teeny.molehill.org"))
	      #:hover-action 'menu-host-home)
    (menuitem "Work"
	      #:action (lambda () (xterm-on-host "fecundity.webcoi.com"))
	      #:hover-action 'menu-host-work)
    (menuitem "Misc"
	      #:action (lambda () (xterm-on-host "beck.mudservices.com"))
	      #:hover-action 'menu-host-misc))))


At least, it works for me, and it looks like I checked in the bits that were
necessary.

From owner-scwm-discuss@mit.edu  Sat Feb 13 18:29:43 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA16132
	for scwm-discuss-outgoing; Sat, 13 Feb 1999 18:29:43 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from smtp4.erols.com (smtp4.erols.com [207.172.3.237])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id SAA16129
	for <scwm-discuss@ph.mit.edu>; Sat, 13 Feb 1999 18:29:42 -0500
Received: from alum.mit.edu (209-122-232-243.s497.tnt4.sbo.erols.com [209.122.232.243])
	by smtp4.erols.com (8.8.8/smtp-v1) with ESMTP id SAA22473
	for <scwm-discuss@ph.mit.edu>; Sat, 13 Feb 1999 18:28:09 -0500 (EST)
Message-ID: <36C60BD8.7F67C641@alum.mit.edu>
Date: Sat, 13 Feb 1999 18:33:44 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: scwm-discuss@mit.edu
Subject: mstachow.scwmrc
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I just checked my personal scwmrc into CVS and I would appreciate
comments 
on it. (Warning, the current version requires Hyper and Super
modifiers).
I would like to base an eventual rewritten system.scwmrc on something
like
what I use (except for the look, while I personally like my look it's
probably not a good thing to drop a newbie right into - we really need a 
"functional yet snazzy" theme to use as the default - something that
doesn't
look to obnoxious or tricked out, but looks pretty nice. Matching nicely
with
Gtk+ would also be a good goal for that. Anyway, I will write a theme
selector
menu module sometime soon which make the issue of default theme
semi-moot,
other than needing a good one.).

Anyway I would like suggestions for:

* Stuff you think sucks about it (other than the root menus, I know
those are
pretty lame at this point).

* Scwm features that are not represented which you think should be.

* Other stuff you think could be improved.


 - Maciej

From owner-scwm-discuss@mit.edu  Sun Feb 14 16:19:52 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA22313
	for scwm-discuss-outgoing; Sun, 14 Feb 1999 16:19:52 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA22310
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 14 Feb 1999 16:19:50 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA08223; Sun, 14 Feb 99 16:18:34 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id WAA13816
	for scwm-discuss@mit.edu; Sun, 14 Feb 1999 22:14:32 +0100 (MET)
Received: (qmail 3579 invoked by uid 115); 14 Feb 1999 20:49:40 -0000
To: scwm-discuss@mit.edu
Subject: Re: Gnome hints
References: <36BF7E8B.1CA5C087@alum.mit.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 14 Feb 1999 21:49:24 +0100
In-Reply-To: Maciej Stachowiak's message of "Mon, 08 Feb 1999 19:17:15 -0500"
Message-Id: <wsu2woiucr.fsf@orcus.priv.at>
Lines: 22
User-Agent: Gnus/5.070076 (Pterodactyl Gnus v0.76) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Mon, 08 Feb 1999 19:17:15 -0500
>>>>> Maciej Stachowiak <mstachow@alum.mit.edu> said:

 Maciej> I've implemented all of the gnome hints in scwm, modulo a
 Maciej> handful of tiny details. In particular, using the gnome panel
 Maciej> and pager/window list now works.

I have tried with gnome 0.99.5.1 (a bit obsolete by now).

The panel has a decoration. So do drawers. Intentional?

Closing a drawer makes the drawer window vanish first, then it looks
like only the edge (i.e. a line) of the window closest to screen
center is moved towards the panel. Reopening the drawer fails.

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Sun Feb 14 16:26:23 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA22383
	for scwm-discuss-outgoing; Sun, 14 Feb 1999 16:26:23 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA22380
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 14 Feb 1999 16:26:23 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA08899; Sun, 14 Feb 99 16:25:08 EST
Received: from mailhost.viewlogic.com (mailhost [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id QAA02176;
	Sun, 14 Feb 1999 16:15:03 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id QAA04259;
	Sun, 14 Feb 1999 16:24:40 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA13979; Sun, 14 Feb 99 16:24:39 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id QAA14222; Sun, 14 Feb 1999 16:22:22 -0500
Message-Id: <36C73E8E.5DDE2275@alum.mit.edu>
Date: Sun, 14 Feb 1999 16:22:22 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Gnome hints
References: <36BF7E8B.1CA5C087@alum.mit.edu> <wsu2woiucr.fsf@orcus.priv.at>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer wrote:
> 
> I have tried with gnome 0.99.5.1 (a bit obsolete by now).
> 
> The panel has a decoration. So do drawers. Intentional?
> 

No, the problem is that the motif-hint code that sets the border width to
zero on the appropriate hint is undone by user config files that go and
set it right back again. I am looking for a way to remove the border
more permanently.

> Closing a drawer makes the drawer window vanish first, then it looks
> like only the edge (i.e. a line) of the window closest to screen
> center is moved towards the panel. Reopening the drawer fails.
> 

I'll have to investigate this, I have not tried using drawers.

 - Maciej

From owner-scwm-discuss@mit.edu  Sun Feb 14 17:13:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA22701
	for scwm-discuss-outgoing; Sun, 14 Feb 1999 17:13:37 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA22698
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 14 Feb 1999 17:13:36 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA14515; Sun, 14 Feb 99 17:12:20 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA08600; Sun, 14 Feb 1999 14:11:38 -0800 (PST)
To: Stephen Tell <tell@cs.unc.edu>
Cc: SCWM Discussion List <scwm-discuss@mit.edu>
Subject: Re: modules, hooks, and scwm hacking
References: <Pine.HPP.3.96.990212192718.18808D-100000@rukbat.cs.unc.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Feb 1999 14:11:38 -0800
In-Reply-To: Stephen Tell's message of "Fri, 12 Feb 1999 20:28:00 -0500 (EST)"
Message-Id: <qrr4sooocth.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> This is really more of a guile question, but anyway...
> Could someone please explain how (if its even possible) one could go about
> replacing some scheme hook code way down inside scwm without editing the
> source in scheme/*.scm, reinstalling, and restarting?

<snip>

You can explicitly (load ...) a source file which avoids the reinstall
and restart steps.  Maciej's response details finer-grained interactive
changes.

Greg

From owner-scwm-discuss@mit.edu  Mon Feb 15 12:05:48 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA28777
	for scwm-discuss-outgoing; Mon, 15 Feb 1999 12:05:48 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA28774
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 15 Feb 1999 12:05:24 -0500
Received: from austin.cs.unc.edu by MIT.EDU with SMTP
	id AA11743; Mon, 15 Feb 99 12:03:58 EST
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id MAA16183;
	Mon, 15 Feb 1999 12:03:28 -0500 (EST)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id MAA27678;
	Mon, 15 Feb 1999 12:03:27 -0500 (EST)
Date: Mon, 15 Feb 1999 12:03:27 -0500 (EST)
From: Stephen Tell <tell@cs.unc.edu>
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: SCWM Discussion List <scwm-discuss@mit.edu>
Subject: Re: modules, hooks, and scwm hacking
In-Reply-To: <36C52586.A591C9D0@alum.mit.edu>
Message-Id: <Pine.HPP.3.96.990215114224.26708A-100000@rukbat.cs.unc.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Sat, 13 Feb 1999, Maciej Stachowiak wrote:

> That should let you do the poking you want. However, if you find
> yourself
> needing to break into a module, that's probably a hint the abstraction
> the
> mdoule provides is insufficiently general. What are you trying to do
> with resize message windows that the current code does not allow?

Thanks!  I was trying to get the resize window to show the size in
client-units where appropriate, say for xterms.  I remember this being
discussed, and maybe it has even implemented in a recent post-0.9
snapshot, but I figured I'd learn somthing by trying it myself (and I was
right).  Here's what I came up with: 

(define (resize-message-new-size-hook win width height)
  (let* ((wstr (number->string width))
         (hstr (number->string height))
	 (csize (cdr (cdr (window-size win))))
	 (sincr (caddr (window-size-hints win)))
	 (cwstr (number->string (car csize)))
	 (chstr (number->string (car (cdr csize))))
         (str (if (equal? (cons 1 1) sincr)
				 (string-append " " wstr " x " hstr " ")
				 (string-append " " cwstr " x " chstr " "))))
    ((msgwin-action-placer 'interactive-resize) default-message-window win)
    (message-window-set-message! default-message-window str)))



I agree that breaking into modules shouldn't be done lightly, but it is
great for testing and rapid prototyping.  Inability to do that is just one
reason I got disillusioned with C++ a few years back.


-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@mit.edu  Mon Feb 15 13:48:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA29398
	for scwm-discuss-outgoing; Mon, 15 Feb 1999 13:48:42 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA29395
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 15 Feb 1999 13:48:39 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA26851; Mon, 15 Feb 99 13:46:40 EST
Received: from mailhost.viewlogic.com (mailhost [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id NAA05898;
	Mon, 15 Feb 1999 13:37:06 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id NAA25650;
	Mon, 15 Feb 1999 13:46:44 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA00213; Mon, 15 Feb 99 13:46:43 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id NAA15406; Mon, 15 Feb 1999 13:44:26 -0500
Message-Id: <36C86B0A.B39DB0B7@alum.mit.edu>
Date: Mon, 15 Feb 1999 13:44:26 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Stephen Tell <tell@cs.unc.edu>
Cc: SCWM Discussion List <scwm-discuss@mit.edu>
Subject: Re: modules, hooks, and scwm hacking
References: <Pine.HPP.3.96.990215114224.26708A-100000@rukbat.cs.unc.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Stephen Tell wrote:
> 
> Thanks!  I was trying to get the resize window to show the size in
> client-units where appropriate, say for xterms.  I remember this being
> discussed, and maybe it has even implemented in a recent post-0.9
> snapshot, but I figured I'd learn somthing by trying it myself (and I was
> right).  Here's what I came up with:
> 

I don't believe client unit size has been added yet. I would like to add that
(as an option, some of us might still want to see the window's size in pixels
when resizing, or see both). I'd be glad to see an appropriate patch against
current sources. I would also like to see the mouse pointer tracking capability
that Todd mentioned briefly - I think that should be an option too. It might
be a bit messy to integrate it with all the other options though (what happens
if the user says he wants to track both the window _and_ the mouse?)

> (define (resize-message-new-size-hook win width height)
>   (let* ((wstr (number->string width))
>          (hstr (number->string height))
>          (csize (cdr (cdr (window-size win))))
>          (sincr (caddr (window-size-hints win)))
>          (cwstr (number->string (car csize)))
>          (chstr (number->string (car (cdr csize))))
>          (str (if (equal? (cons 1 1) sincr)
>                                  (string-append " " wstr " x " hstr " ")
>                                  (string-append " " cwstr " x " chstr " "))))
>     ((msgwin-action-placer 'interactive-resize) default-message-window win)
>     (message-window-set-message! default-message-window str)))
> 
> I agree that breaking into modules shouldn't be done lightly, but it is
> great for testing and rapid prototyping.  Inability to do that is just one
> reason I got disillusioned with C++ a few years back. 

For prototyping purposes, I usually edit the code of the module, and explicitly
`load' the file again. Yes, it's kind of wasteful, but I usually find it less
trouble than performing the correct module system magic.

 - Maciej

From owner-scwm-discuss@mit.edu  Mon Feb 15 14:35:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA29664
	for scwm-discuss-outgoing; Mon, 15 Feb 1999 14:35:37 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA29661
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 15 Feb 1999 14:35:35 -0500
Received: from austin.cs.unc.edu by MIT.EDU with SMTP
	id AA06855; Mon, 15 Feb 99 14:33:35 EST
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id OAA23284;
	Mon, 15 Feb 1999 14:33:39 -0500 (EST)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id OAA28805;
	Mon, 15 Feb 1999 14:33:34 -0500 (EST)
Date: Mon, 15 Feb 1999 14:33:34 -0500 (EST)
From: Stephen Tell <tell@cs.unc.edu>
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: SCWM Discussion List <scwm-discuss@mit.edu>
Subject: Re: modules, hooks, and scwm hacking
In-Reply-To: <36C86B0A.B39DB0B7@alum.mit.edu>
Message-Id: <Pine.HPP.3.96.990215141437.26708E-100000@rukbat.cs.unc.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Mon, 15 Feb 1999, Maciej Stachowiak wrote:

> I don't believe client unit size has been added yet. I would like to add that
> (as an option, some of us might still want to see the window's size in pixels
> when resizing, or see both). I'd be glad to see an appropriate patch against
> current sources. 

Once I get my head around the message-window-options handling, I'll try to
implement an option.

> would also like to see the mouse pointer tracking capability
> that Todd mentioned briefly - I think that should be an option too. It might
> be a bit messy to integrate it with all the other options though (what happens
> if the user says he wants to track both the window _and_ the mouse?)

It seems like rather than several interacting boolean options, these both
should involve multiple-choice options. 
interactive-resize-message-text-type (or whatever) could be somthing like
'pixels, 'clientunits, or 'both, and tracking should be chosen from
'follow-window, 'follow-mouse, or 'none. 

I think this ought to work, although for the tracking case it requires
either a compatibility hack or a decision to break things.

Steve 

-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@mit.edu  Mon Feb 15 14:43:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA29740
	for scwm-discuss-outgoing; Mon, 15 Feb 1999 14:43:29 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA29737
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 15 Feb 1999 14:43:28 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA08356; Mon, 15 Feb 99 14:41:29 EST
Received: from mailhost.viewlogic.com (mailhost [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id OAA06100;
	Mon, 15 Feb 1999 14:31:59 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id OAA26596;
	Mon, 15 Feb 1999 14:41:35 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA00381; Mon, 15 Feb 99 14:41:34 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id OAA17401; Mon, 15 Feb 1999 14:39:19 -0500
Message-Id: <36C877E7.56FAF51B@alum.mit.edu>
Date: Mon, 15 Feb 1999 14:39:19 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Stephen Tell <tell@cs.unc.edu>
Cc: SCWM Discussion List <scwm-discuss@mit.edu>
Subject: Re: modules, hooks, and scwm hacking
References: <Pine.HPP.3.96.990215141437.26708E-100000@rukbat.cs.unc.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Stephen Tell wrote:
> 
> It seems like rather than several interacting boolean options, these both
> should involve multiple-choice options.
> interactive-resize-message-text-type (or whatever) could be somthing like
> 'pixels, 'clientunits, or 'both, and tracking should be chosen from
> 'follow-window, 'follow-mouse, or 'none.
> 
> I think this ought to work, although for the tracking case it requires
> either a compatibility hack or a decision to break things.
> 

That sounds good to me. Breaking things at this point is not a big problem.
The Scwm API is not guaranteed stable at this point.

 - Maciej

From owner-scwm-discuss@mit.edu  Tue Feb 16 09:02:02 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA04556
	for scwm-discuss-outgoing; Tue, 16 Feb 1999 09:02:02 -0500
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA04553
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 16 Feb 1999 09:01:32 -0500
Received: from SIMON.CS.CORNELL.EDU by MIT.EDU with SMTP
	id AA17093; Tue, 16 Feb 99 08:59:54 EST
Received: from cloyd.cs.cornell.edu (CLOYD.CS.CORNELL.EDU [128.84.227.15])
	by simon.cs.cornell.edu (8.8.8/8.8.8/R-1.11) with ESMTP id IAA25752
	for <scwm-discuss@mit.edu>; Tue, 16 Feb 1999 08:59:25 -0500 (EST)
Received: from horus.cs.cornell.edu (HORUS.CS.CORNELL.EDU [128.84.254.60])
	by cloyd.cs.cornell.edu (8.8.8/8.8.8/M-1.12) with ESMTP id IAA29545
	for <scwm-discuss@mit.edu>; Tue, 16 Feb 1999 08:59:24 -0500 (EST)
Received: (from eli@localhost)
	by horus.cs.cornell.edu (8.9.3/8.9.3/C-1.3) id IAA15194;
	Tue, 16 Feb 1999 08:59:24 -0500 (EST)
X-Authentication-Warning: horus.cs.cornell.edu: eli set sender to eli@horus.cs.cornell.edu using -f
From: Eli Barzilay <eli@CS.Cornell.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14025.31163.884175.136946@horus.cs.cornell.edu>
Date: Tue, 16 Feb 1999 08:59:23 -0500 (EST)
To: scwm-discuss@mit.edu
Subject: optargs question
X-Mailer: VM 6.67 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I was just trying to define something like

  (define ((f #&optional x)) x)

when I saw that it won't work and traced the problem to optargs.scm.
Is there a reason for the

   (if (not (or (symbol? rest-arg) (eq? #f rest-arg)))
       (error "Syntax error in rest argument declaration."))

in lambda*?  It looks like it works fine without it.
-- 
             ((lambda (x) (x x)) (lambda (x) (x x)))              Eli Barzilay:
            http://www.cs.cornell.edu/eli/meaning.html            Maze is Life!

From owner-scwm-discuss@mit.edu  Tue Feb 16 11:24:47 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA05198
	for scwm-discuss-outgoing; Tue, 16 Feb 1999 11:24:47 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA05195
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 16 Feb 1999 11:24:46 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA06809; Tue, 16 Feb 99 11:23:12 EST
Received: from mailhost.viewlogic.com (mailhost [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id LAA11506;
	Tue, 16 Feb 1999 11:13:02 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id LAA24456;
	Tue, 16 Feb 1999 11:22:39 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA29687; Tue, 16 Feb 99 11:22:39 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id LAA10370; Tue, 16 Feb 1999 11:20:21 -0500
Message-Id: <36C99AC0.D7157739@alum.mit.edu>
Date: Tue, 16 Feb 1999 11:20:17 -0500
From: Maciej Stachowiak <mstachow@viewlogic.com>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Eli Barzilay <eli@CS.Cornell.EDU>
Cc: scwm-discuss@mit.edu
Subject: Re: optargs question
References: <14025.31163.884175.136946@horus.cs.cornell.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Eli Barzilay wrote:
> 
> I was just trying to define something like
> 
>   (define ((f #&optional x)) x)
> 

I'm assuming you mean define*. I see the problem. This is definitely
bogus, as is, lambda* will lose on any empty argument list, even

(lambda* () #f)

> when I saw that it won't work and traced the problem to optargs.scm.
> Is there a reason for the
> 
>    (if (not (or (symbol? rest-arg) (eq? #f rest-arg)))
>        (error "Syntax error in rest argument declaration."))
> 
> in lambda*?  It looks like it works fine without it.

I fixed it slightly differently, but the CVS version should now work:

1999-02-16  Maciej Stachowiak  <mstachow@alum.mit.edu>

	* optargs.scm (lambda*): Handle empty argument lists properly.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 17 06:02:55 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA17262
	for scwm-discuss-outgoing; Wed, 17 Feb 1999 06:02:55 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id GAA17259
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Feb 1999 06:02:52 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA21254; Wed, 17 Feb 99 06:01:08 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id LAA06142
	for scwm-discuss@mit.edu; Wed, 17 Feb 1999 11:50:17 +0100 (MET)
Received: (qmail 13898 invoked by uid 115); 16 Feb 1999 11:37:52 -0000
To: scwm-discuss@mit.edu
Subject: Re: Gnome hints
References: <36BF7E8B.1CA5C087@alum.mit.edu> <wsu2woiucr.fsf@orcus.priv.at> <36C73E8E.5DDE2275@alum.mit.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 16 Feb 1999 12:37:37 +0100
In-Reply-To: Maciej Stachowiak's message of "Sun, 14 Feb 1999 16:22:22 -0500"
Message-Id: <wsiud2r33y.fsf@orcus.priv.at>
Lines: 23
User-Agent: Gnus/5.070076 (Pterodactyl Gnus v0.76) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Sun, 14 Feb 1999 16:22:22 -0500
>>>>> Maciej Stachowiak <mstachow@alum.mit.edu> said:

 >> Closing a drawer makes the drawer window vanish first, then it
 >> looks like only the edge (i.e. a line) of the window closest to
 >> screen center is moved towards the panel. Reopening the drawer
 >> fails.
 >>

 Maciej> I'll have to investigate this, I have not tried using
 Maciej> drawers.

This is no longer the case with 0.99.7, although drawer animation
sucks in this version: its very slow, and after a few open/close
cycles scwm is quite unresponsive.

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Wed Feb 17 09:15:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA18582
	for scwm-discuss-outgoing; Wed, 17 Feb 1999 09:15:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA18579
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Feb 1999 09:15:06 -0500
Received: from avocado.pc.helsinki.fi by MIT.EDU with SMTP
	id AA03574; Wed, 17 Feb 99 09:12:44 EST
Received: (from janne@localhost)
	by avocado.pc.helsinki.fi (8.9.1/8.9.1) id QAA03874;
	Wed, 17 Feb 1999 16:12:42 +0200
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm pager in Linux Alpha (not)
References: <oavhhaaylf.fsf@avocado.pc.helsinki.fi> <36C1DEB4.B86E7DCE@alum.mit.edu> <oaaeymhqpd.fsf@avocado.pc.helsinki.fi> <36C20009.8B1DF66E@alum.mit.edu>
From: Janne Sinkkonen <janne@avocado.pc.helsinki.fi>
Date: 17 Feb 1999 16:12:41 +0200
In-Reply-To: Maciej Stachowiak's message of "Wed, 10 Feb 1999 16:54:17 -0500"
Message-Id: <oa7lth15ly.fsf@avocado.pc.helsinki.fi>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 19.16 - "Lille"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> ftp://vicarious-existence.mit.edu/pub/scwm/rpm/scwm-0.9-2.src.rpm
> 
> Note that this requires a Guile 1.3 rpm from rawhide to build.

Not quite:

.libs/scwmS.o(.data+0x6f28): undefined reference to `gh_reverse'
scwm.o: In function `Reborder':
/usr/src/redhat/BUILD/scwm-0.9/scwm/scwm.c:1274: undefined reference to `gh_reverse'
/usr/src/redhat/BUILD/scwm-0.9/scwm/scwm.c:1274: undefined reference to `gh_reverse'
collect2: ld returned 1 exit status

The symbol isn't from guile, isn't it? (I have two guile libraries in
my system).

-- 
Janne

From owner-scwm-discuss@mit.edu  Wed Feb 17 10:34:15 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA18957
	for scwm-discuss-outgoing; Wed, 17 Feb 1999 10:34:15 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA18954
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Feb 1999 10:34:14 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA13205; Wed, 17 Feb 99 10:32:29 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id KAA00546;
	Wed, 17 Feb 1999 10:22:21 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id KAA01655;
	Wed, 17 Feb 1999 10:31:59 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA28442; Wed, 17 Feb 99 10:31:58 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id KAA22307; Wed, 17 Feb 1999 10:29:41 -0500
Message-Id: <36CAE065.A8DC090A@alum.mit.edu>
Date: Wed, 17 Feb 1999 10:29:41 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Janne Sinkkonen <janne@avocado.pc.helsinki.fi>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm pager in Linux Alpha (not)
References: <oavhhaaylf.fsf@avocado.pc.helsinki.fi> <36C1DEB4.B86E7DCE@alum.mit.edu> <oaaeymhqpd.fsf@avocado.pc.helsinki.fi> <36C20009.8B1DF66E@alum.mit.edu> <oa7lth15ly.fsf@avocado.pc.helsinki.fi>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Janne Sinkkonen wrote:
> 
> Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> 
> > ftp://vicarious-existence.mit.edu/pub/scwm/rpm/scwm-0.9-2.src.rpm
> >
> > Note that this requires a Guile 1.3 rpm from rawhide to build.
> 
> Not quite:
>

Umm, well, also the guile-devel RPM.
 
> .libs/scwmS.o(.data+0x6f28): undefined reference to `gh_reverse'
> scwm.o: In function `Reborder':
> /usr/src/redhat/BUILD/scwm-0.9/scwm/scwm.c:1274: undefined reference to `gh_reverse'
> /usr/src/redhat/BUILD/scwm-0.9/scwm/scwm.c:1274: undefined reference to `gh_reverse'
> collect2: ld returned 1 exit status
> 
> The symbol isn't from guile, isn't it? (I have two guile libraries in
> my system).

That symbol is indeed from Guile. I'm not sure why its not finding it. Could
you show me the link line?

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 17 10:37:24 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA18983
	for scwm-discuss-outgoing; Wed, 17 Feb 1999 10:37:24 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA18980
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Feb 1999 10:37:23 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA00747; Wed, 17 Feb 99 10:35:01 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id QAA23496
	for scwm-discuss@mit.edu; Wed, 17 Feb 1999 16:10:40 +0100 (MET)
Received: (qmail 3487 invoked by uid 115); 17 Feb 1999 14:58:17 -0000
To: scwm-discuss@mit.edu
Subject: Images in pie menus
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 17 Feb 1999 15:57:56 +0100
Message-Id: <wsu2wloz63.fsf@orcus.priv.at>
Lines: 14
User-Agent: Gnus/5.070076 (Pterodactyl Gnus v0.76) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

I noticed today that these are not implemented. Are there any problems
Todd (not time budget related)?

What I wanted to do is use circular-pie-menu-look for my window ops
with only images and no text at all. I think this will look rather
nice.

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Wed Feb 17 10:40:30 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA19036
	for scwm-discuss-outgoing; Wed, 17 Feb 1999 10:40:30 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA19033
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Feb 1999 10:40:30 -0500
Received: from avocado.pc.helsinki.fi by MIT.EDU with SMTP
	id AA01801; Wed, 17 Feb 99 10:38:07 EST
Received: (from janne@localhost)
	by avocado.pc.helsinki.fi (8.9.1/8.9.1) id RAA05464;
	Wed, 17 Feb 1999 17:38:13 +0200
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm pager in Linux Alpha (not)
References: <oavhhaaylf.fsf@avocado.pc.helsinki.fi> <36C1DEB4.B86E7DCE@alum.mit.edu> <oaaeymhqpd.fsf@avocado.pc.helsinki.fi> <36C20009.8B1DF66E@alum.mit.edu> <oa7lth15ly.fsf@avocado.pc.helsinki.fi> <36CAE065.A8DC090A@alum.mit.edu>
From: Janne Sinkkonen <janne@avocado.pc.helsinki.fi>
Date: 17 Feb 1999 17:38:12 +0200
In-Reply-To: Maciej Stachowiak's message of "Wed, 17 Feb 1999 10:29:41 -0500"
Message-Id: <oa4sol11nf.fsf@avocado.pc.helsinki.fi>
Lines: 18
X-Mailer: Gnus v5.6.45/XEmacs 19.16 - "Lille"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Umm, well, also the guile-devel RPM.

[janne@lumi janne]$ rpm -q guile guile-devel
guile-1.2-6
guile-devel-1.2-6

(I can upgrade them if needed.)

> That symbol is indeed from Guile. I'm not sure why its not finding it. Could
> you show me the link line?

gcc -g -O2 -o scwm -L/usr/X11R6/lib .libs/scwmS.o -Wl,--export-dynamic Grab.o ICCCM.o add_window.o binding.o borders.o callbacks.o changed.o color.o colormaps.o colors.o complex.o decor.o decorations.o deskpage.o drawmenu.o errors.o events.o face.o focus.o font.o getopt.o getopt1.o guile-compat.o icons.o image.o init_scheme_string.o log-usage.o menu.o menuitem.o menulook.o miscprocs.o module-interface.o move.o message-window.o placement.o resize.o screen.o scwm.o shutdown.o string_token.o syscompat.o system.o util.o virtual.o window.o xmisc.o xproperty.o xrm.o session-manager.o -lSM -lICE -lXext -lXmu -lXpm -lX11 -L/usr/X11R6/lib -L/usr/local/lib -lguile -ldl -lreadline -ltermcap -lm -lm


-- 
Janne

From owner-scwm-discuss@mit.edu  Wed Feb 17 12:27:34 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA19844
	for scwm-discuss-outgoing; Wed, 17 Feb 1999 12:27:34 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA19841
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Feb 1999 12:27:33 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA22833; Wed, 17 Feb 99 12:25:47 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id MAA02021;
	Wed, 17 Feb 1999 12:15:34 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id MAA07220;
	Wed, 17 Feb 1999 12:25:13 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA03768; Wed, 17 Feb 99 12:25:12 EST
Received: from alum.mit.edu by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id MAA23956; Wed, 17 Feb 1999 12:22:55 -0500
Message-Id: <36CAFAEF.E0FDB942@alum.mit.edu>
Date: Wed, 17 Feb 1999 12:22:55 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Janne Sinkkonen <janne@avocado.pc.helsinki.fi>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm pager in Linux Alpha (not)
References: <oavhhaaylf.fsf@avocado.pc.helsinki.fi> <36C1DEB4.B86E7DCE@alum.mit.edu> <oaaeymhqpd.fsf@avocado.pc.helsinki.fi> <36C20009.8B1DF66E@alum.mit.edu> <oa7lth15ly.fsf@avocado.pc.helsinki.fi> <36CAE065.A8DC090A@alum.mit.edu> <oa4sol11nf.fsf@avocado.pc.helsinki.fi>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Janne Sinkkonen wrote:
> 
> Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> 
> > Umm, well, also the guile-devel RPM.
> 
> [janne@lumi janne]$ rpm -q guile guile-devel
> guile-1.2-6
> guile-devel-1.2-6
> 

Ah, what you need is guile 1.3 RPMs however, not 1.2. They can be donwloaded
from ftp://rawhide.redhat.com/ or your favorite mirror.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 17 12:58:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA20171
	for scwm-discuss-outgoing; Wed, 17 Feb 1999 12:58:18 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA20168
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Feb 1999 12:58:17 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA20213; Wed, 17 Feb 99 12:55:54 EST
Received: (qmail 28802 invoked by uid 501); 17 Feb 1999 17:56:31 -0000
Message-Id: <19990217095630.A28578@molehill.org>
Date: Wed, 17 Feb 1999 09:56:30 -0800
From: Todd Larason <jtl@molehill.org>
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: Images in pie menus
References: <wsu2wloz63.fsf@orcus.priv.at>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <wsu2wloz63.fsf@orcus.priv.at>; from Robert Bihlmeyer on Wed, Feb 17, 1999 at 03:57:56PM +0100
X-Kibo: Religion can teach us how to zumf.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990217, Robert Bihlmeyer wrote:
> Hi,
> 
> I noticed today that these are not implemented. Are there any problems
> Todd (not time budget related)?

The only difficulty is in sizing the wedges to let the images fit.  The code
that does that is in ConstructDynamicPieMenuInternal(), specifically the
while(1) loop starting ~line 1068.

Glancing at it now, it looks like that part is actually general enough, and
all that's needed is a valid way of computing cpixLabelWidth and
cpixLabelHeight to include any image.

The code to actually draw the images is there, in #if 0 wrappers (see
PaintMenuItemLabel).  I expect it is still basically right, but of course I
haven't tested it at all.

I'll add this to my todo list (blush), but of course if someone beats me to
it, that's all the better.

From owner-scwm-discuss@mit.edu  Thu Feb 18 04:30:16 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA25389
	for scwm-discuss-outgoing; Thu, 18 Feb 1999 04:30:16 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA25386
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Feb 1999 04:30:13 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA10695; Thu, 18 Feb 99 04:27:42 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id JAA00870
	for scwm-discuss@mit.edu; Thu, 18 Feb 1999 09:43:26 +0100 (MET)
Received: (qmail 12532 invoked by uid 115); 17 Feb 1999 17:20:19 -0000
To: scwm-discuss@mit.edu
Subject: Re: Fvwm pager in Linux Alpha (not)
References: <oavhhaaylf.fsf@avocado.pc.helsinki.fi> <36C1DEB4.B86E7DCE@alum.mit.edu> <oaaeymhqpd.fsf@avocado.pc.helsinki.fi> <36C20009.8B1DF66E@alum.mit.edu> <oa7lth15ly.fsf@avocado.pc.helsinki.fi>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 17 Feb 1999 18:20:14 +0100
In-Reply-To: Janne Sinkkonen's message of "17 Feb 1999 16:12:41 +0200"
Message-Id: <wsogmtkkvl.fsf@orcus.priv.at>
Lines: 17
User-Agent: Gnus/5.070076 (Pterodactyl Gnus v0.76) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 17 Feb 1999 16:12:41 +0200
>>>>> Janne Sinkkonen <janne@avocado.pc.helsinki.fi> said:

[gh_reverse]

 Janne> The symbol isn't from guile, isn't it? (I have two guile
 Janne> libraries in my system).

My "/usr/include/guile/gh.h" (guile 1.3) defines it.

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Feb 18 10:06:56 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA26681
	for scwm-discuss-outgoing; Thu, 18 Feb 1999 10:06:56 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from walter.doc.ic.ac.uk (walter.doc.ic.ac.uk [146.169.2.50])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id KAA26678
	for <scwm-discuss@vicarious-existence.mit.edu>; Thu, 18 Feb 1999 10:06:23 -0500
Received: from [146.169.49.14] (helo=sync14.doc.ic.ac.uk)
	by walter.doc.ic.ac.uk with esmtp (Exim 1.890 #1)
	for scwm-discuss@vicarious-existence.mit.edu
	id 10DUzJ-0001kA-00; Thu, 18 Feb 1999 15:03:37 +0000
Received: (from mb11@localhost)
	by sync14.doc.ic.ac.uk (8.8.7/8.8.8) id PAA07959
	for scwm-discuss@vicarious-existence.mit.edu; Thu, 18 Feb 1999 15:03:37 GMT
Message-Id: <199902181503.PAA07959@sync14.doc.ic.ac.uk>
From: mb11@doc.ic.ac.uk (Marc Broster)
Date: Thu, 18 Feb 1999 15:03:36 +0000
X-Mailer: Mail User's Shell (7.2.6 beta(4) 03/19/98)
To: scwm-discuss@mit.edu
Subject: using scwm rpm
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

i'm having some problems using the 9-2 rpm, it appears to need libguile 4, and
will not rebuild with an earlier version, but I can't find an rpm for it, any
ideas?

other than that, scwm looks great, i'm looking forward to using it.


cheers,

marc

From owner-scwm-discuss@mit.edu  Thu Feb 18 10:31:16 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA26829
	for scwm-discuss-outgoing; Thu, 18 Feb 1999 10:31:16 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA26826
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Feb 1999 10:31:15 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA25620; Thu, 18 Feb 99 10:29:19 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id KAA11375;
	Thu, 18 Feb 1999 10:19:04 -0500 (EST)
Received: from elvis.viewlogic.com (elvis [139.181.3.200])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with SMTP id KAA15895;
	Thu, 18 Feb 1999 10:28:45 -0500 (EST)
Received: from racerx.sun-tan (racerx.viewlogic.com) by elvis.viewlogic.com (4.1/SMI-4.1)
	id AA02215; Thu, 18 Feb 99 10:28:44 EST
Received: from viewlogic.com by racerx.sun-tan (SMI-8.6/SMI-SVR4)
	id KAA24761; Thu, 18 Feb 1999 10:26:27 -0500
Message-Id: <36CC3123.724B49DE@viewlogic.com>
Date: Thu, 18 Feb 1999 10:26:27 -0500
From: Maciej Stachowiak <mstachow@viewlogic.com>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Marc Broster <mb11@doc.ic.ac.uk>
Cc: scwm-discuss@mit.edu
Subject: Re: using scwm rpm
References: <199902181503.PAA07959@sync14.doc.ic.ac.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Marc Broster wrote:
> 
> i'm having some problems using the 9-2 rpm, it appears to need libguile 4, and
> will not rebuild with an earlier version, but I can't find an rpm for it, any
> ideas?
> 

What you want is the guile-1.3-3 RPM from Red Hat Rawhide (ftp://rawhide.redhat.com).

> other than that, scwm looks great, i'm looking forward to using it.
> 

Cool.

 - Maciej

From owner-scwm-discuss@mit.edu  Thu Feb 18 14:48:00 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA27977
	for scwm-discuss-outgoing; Thu, 18 Feb 1999 14:48:00 -0500
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA27971
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Feb 1999 14:47:59 -0500
Received: from SIMON.CS.CORNELL.EDU by MIT.EDU with SMTP
	id AA02490; Thu, 18 Feb 99 14:45:23 EST
Received: from cloyd.cs.cornell.edu (CLOYD.CS.CORNELL.EDU [128.84.227.15])
	by simon.cs.cornell.edu (8.8.8/8.8.8/R-1.11) with ESMTP id OAA04830
	for <scwm-discuss@mit.edu>; Thu, 18 Feb 1999 14:45:31 -0500 (EST)
Received: from horus.cs.cornell.edu (HORUS.CS.CORNELL.EDU [128.84.254.60])
	by cloyd.cs.cornell.edu (8.8.8/8.8.8/M-1.12) with ESMTP id OAA01735
	for <scwm-discuss@mit.edu>; Thu, 18 Feb 1999 14:45:29 -0500 (EST)
Received: (from eli@localhost)
	by horus.cs.cornell.edu (8.9.3/8.9.3/C-1.3) id OAA21364;
	Thu, 18 Feb 1999 14:45:29 -0500 (EST)
X-Authentication-Warning: horus.cs.cornell.edu: eli set sender to eli@horus.cs.cornell.edu using -f
From: Eli Barzilay <eli@CS.Cornell.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14028.28120.735482.694198@horus.cs.cornell.edu>
Date: Thu, 18 Feb 1999 14:45:28 -0500 (EST)
To: scwm-discuss@mit.edu
Subject: Problems with guile/scwm rpms
X-Mailer: VM 6.67 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

When I installed the guile-1.3-4 from rawhide, it didn't work
complaining:
  /usr/lib/libguile.so.4: undefined symbol: __register_frame_info

Installing guile-1.3-3 does work, but then adding scwm-0.9-2 gets the
same problem back.

Anyone knows what's the problem?

Two other wuick notes:

* The list archiving seem to be having some problem - it does say that
  it was generated today, but no messages from 99 appear.

* There are three "Firts"'s in the source tree, probably coming from
  the same place (scwm/doc/scwm-procedures.txt, scwm/doc/scwm.sgml,
  scwm/scheme/placement.scm).  It just sounds especially funny to some
  non-native English speakers.
-- 
             ((lambda (x) (x x)) (lambda (x) (x x)))              Eli Barzilay:
            http://www.cs.cornell.edu/eli/meaning.html            Maze is Life!

From owner-scwm-discuss@mit.edu  Thu Feb 18 14:58:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA28077
	for scwm-discuss-outgoing; Thu, 18 Feb 1999 14:58:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA28074
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Feb 1999 14:58:08 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA06060; Thu, 18 Feb 99 14:55:32 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id OAA15235;
	Thu, 18 Feb 1999 14:45:59 -0500 (EST)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id OAA29697;
	Thu, 18 Feb 1999 14:55:39 -0500 (EST)
Message-Id: <36CC6FB2.612B476D@alum.mit.edu>
Date: Thu, 18 Feb 1999 14:53:22 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Eli Barzilay <eli@CS.Cornell.EDU>
Cc: scwm-discuss@mit.edu
Subject: Re: Problems with guile/scwm rpms
References: <14028.28120.735482.694198@horus.cs.cornell.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Eli Barzilay wrote:
> 
> When I installed the guile-1.3-4 from rawhide, it didn't work
> complaining:
>   /usr/lib/libguile.so.4: undefined symbol: __register_frame_info
> 
> Installing guile-1.3-3 does work, but then adding scwm-0.9-2 gets the
> same problem back.
> 

Hmm, that works OK for me (the latter).

> Anyone knows what's the problem?
> 

I'm not sure. It may be that the Guile rawhide RPMs are built against
a newer version of glibc and are somehow breaking the symbol versioning.
If you are very brave, you could upgrade to the rawhide glibc RPM (although
doing this broke several things for me, most notably scwmrepl). Otherwise,
I will try creating and distributing a version of the rawhide guile RPMs
built against stock Red Hat 5.2 and build scwm ahainst that.

> Two other wuick notes:
> 
> * The list archiving seem to be having some problem - it does say that
>   it was generated today, but no messages from 99 appear.
> 

*thwacks self* I originally set up the archives to be split by year but I
forgot to add a link to the 99 archive

> * There are three "Firts"'s in the source tree, probably coming from
>   the same place (scwm/doc/scwm-procedures.txt, scwm/doc/scwm.sgml,
>   scwm/scheme/placement.scm).  It just sounds especially funny to some
>   non-native English speakers.

Whoops. Will fix.

 - Maciej

From owner-scwm-discuss@mit.edu  Thu Feb 18 16:21:00 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA28477
	for scwm-discuss-outgoing; Thu, 18 Feb 1999 16:21:00 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA28471
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Feb 1999 16:20:59 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA01941; Thu, 18 Feb 99 16:19:00 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id WAA17222
	for scwm-discuss@mit.edu; Thu, 18 Feb 1999 22:10:51 +0100 (MET)
Received: (qmail 25948 invoked by uid 115); 18 Feb 1999 19:20:53 -0000
To: scwm-discuss@mit.edu
Subject: Re: Fvwm pager in Linux Alpha (not)
References: <oavhhaaylf.fsf@avocado.pc.helsinki.fi> <36C1DEB4.B86E7DCE@alum.mit.edu> <oaaeymhqpd.fsf@avocado.pc.helsinki.fi> <36C20009.8B1DF66E@alum.mit.edu> <oa7lth15ly.fsf@avocado.pc.helsinki.fi> <36CAE065.A8DC090A@alum.mit.edu> <oa4sol11nf.fsf@avocado.pc.helsinki.fi> <36CAFAEF.E0FDB942@alum.mit.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 18 Feb 1999 20:20:44 +0100
In-Reply-To: Maciej Stachowiak's message of "Wed, 17 Feb 1999 12:22:55 -0500"
Message-Id: <wsww1fecxf.fsf@orcus.priv.at>
Lines: 17
User-Agent: Gnus/5.070076 (Pterodactyl Gnus v0.76) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Wed, 17 Feb 1999 12:22:55 -0500
>>>>> Maciej Stachowiak <mstachow@alum.mit.edu> said:

 Maciej> Ah, what you need is guile 1.3 RPMs however, not 1.2. They
 Maciej> can be donwloaded from ftp://rawhide.redhat.com/ or your
 Maciej> favorite mirror.

Have the guile RPMs from rawhide been treated? Word had it that they
were broken and the only working ones were from rhcn.

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Feb 18 16:39:34 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA28618
	for scwm-discuss-outgoing; Thu, 18 Feb 1999 16:39:34 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA28615
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Feb 1999 16:39:32 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA10957; Thu, 18 Feb 99 16:36:55 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id QAA16640;
	Thu, 18 Feb 1999 16:27:22 -0500 (EST)
Received: from viewlogic.com (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id QAA04620;
	Thu, 18 Feb 1999 16:37:02 -0500 (EST)
Message-Id: <36CC8774.A998AACA@viewlogic.com>
Date: Thu, 18 Feb 1999 16:34:44 -0500
From: Maciej Stachowiak <mstachow@viewlogic.com>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm pager in Linux Alpha (not)
References: <oavhhaaylf.fsf@avocado.pc.helsinki.fi> <36C1DEB4.B86E7DCE@alum.mit.edu> <oaaeymhqpd.fsf@avocado.pc.helsinki.fi> <36C20009.8B1DF66E@alum.mit.edu> <oa7lth15ly.fsf@avocado.pc.helsinki.fi> <36CAE065.A8DC090A@alum.mit.edu> <oa4sol11nf.fsf@avocado.pc.helsinki.fi> <36CAFAEF.E0FDB942@alum.mit.edu> <wsww1fecxf.fsf@orcus.priv.at>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer wrote:
> 
> Hi,
> 
> >>>>> On Wed, 17 Feb 1999 12:22:55 -0500
> >>>>> Maciej Stachowiak <mstachow@alum.mit.edu> said:
> 
>  Maciej> Ah, what you need is guile 1.3 RPMs however, not 1.2. They
>  Maciej> can be donwloaded from ftp://rawhide.redhat.com/ or your
>  Maciej> favorite mirror.
> 
> Have the guile RPMs from rawhide been treated? Word had it that they
> were broken and the only working ones were from rhcn.
>

They have been fixed for some time, the rawhide people incorporated the
RHCN fixes.

 - Maciej

From owner-scwm-discuss@mit.edu  Thu Feb 18 16:45:47 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA28689
	for scwm-discuss-outgoing; Thu, 18 Feb 1999 16:45:47 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA28686
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Feb 1999 16:45:46 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA10812; Thu, 18 Feb 99 16:43:48 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA28026; Thu, 18 Feb 1999 13:42:46 -0800 (PST)
To: Russ McManus <russell.mcmanus@gs.com>
Cc: "guile@cygnus.com" <guile@cygnus.com>, scwm-discuss@mit.edu
Subject: Re: Reload of a module
References: <36CC2FE3.22EA30AE@informatik.uni-bonn.de> <ncjiucz1v1f.fsf@nytrdc058.eq.gs.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Feb 1999 13:42:46 -0800
In-Reply-To: Russ McManus's message of "18 Feb 1999 12:27:56 -0500"
Message-Id: <qrrhfsjl76x.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>From the guile list....

Russ McManus <russell.mcmanus@gs.com> writes:

> Alexander Asteroth <alexander.asteroth@informatik.uni-bonn.de> writes:
> 
> > How do I reload a module when its source code has changed?
> 
> If you're interactively programming using emacs, which would be a
> smart way to go, you need some code to tell emacs in which module
> forms should be evaluated.  There are various solutions to this, but
> some time ago I rolled my own, which you can try out if you like.
> It's at:
> 
>    http://idt.net/~mcmanus/download/guile-interface.el
> 
> This code is basically a thin veneer on top of cmuscheme.el that sends
> some additional forms to the guile interpreter to establish the module
> context at strategic points.

I wonder if Sam's scwm.el could be enhanced with some features for
forced reloading and smarter module-aware evaluating of (define ...)
forms?  (Or is there already some support that I don't know about?)

Greg

From owner-scwm-discuss@mit.edu  Fri Feb 19 18:44:15 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA03235
	for scwm-discuss-outgoing; Fri, 19 Feb 1999 18:44:15 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA03232
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Feb 1999 18:44:12 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA10247; Fri, 19 Feb 99 18:41:22 EST
Received: from Central.Sun.COM ([129.147.62.10]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id PAA25562 for <scwm-discuss@mit.edu>; Fri, 19 Feb 1999 15:41:31 -0800
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id QAA08110; Fri, 19 Feb 1999 16:41:28 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1b+Sun/8.9.1) id QAA09230;
	Fri, 19 Feb 1999 16:41:28 -0700 (MST)
To: scwm-discuss@mit.edu
Subject: how to move desk widgets?
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Sam Falkner <samf@Central.Sun.COM>
Date: 19 Feb 1999 16:41:28 -0700
Message-Id: <ii74soit107.fsf@central.sun.com>
Lines: 15
User-Agent: Gnus/5.07007 (Pterodactyl Gnus v0.70) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I'm stumped on something that may or may not be easy.  Like a lot of
people, I have a `desk-widget' style for things like the clock, xbiff,
etc.  It has no title bar, plain borders, and best of all, focus-type
is 'none.

What I want is to be able to drag these around with the mouse, just by
dragging them with the pointer, i.e. interactive-move.  But, how can I
bind-mouse to do this?  It's fairly easy with icons, of course, but
these aren't icons.  And of course I don't want to do this on every
window, just the desk widgets?  Is this even possible right now, or
will it be after the great event rewrite?

Thanks for any pointers!

- Sam

From owner-scwm-discuss@mit.edu  Fri Feb 19 20:05:49 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA03591
	for scwm-discuss-outgoing; Fri, 19 Feb 1999 20:05:49 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA03588
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Feb 1999 20:05:39 -0500
Received: from smtp3.erols.com by MIT.EDU with SMTP
	id AA05493; Fri, 19 Feb 99 20:03:28 EST
Received: from alum.mit.edu (209-122-231-211.s211.tnt4.sbo.erols.com [209.122.231.211])
	by smtp3.erols.com (8.8.8/8.8.5) with ESMTP id UAA19230;
	Fri, 19 Feb 1999 20:02:46 -0500 (EST)
Message-Id: <36CE0B41.7CECA04E@alum.mit.edu>
Date: Fri, 19 Feb 1999 20:09:21 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Sam Falkner <samf@Central.Sun.COM>
Cc: scwm-discuss@mit.edu
Subject: Re: how to move desk widgets?
References: <ii74soit107.fsf@central.sun.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Falkner wrote:
> 
> I'm stumped on something that may or may not be easy.  Like a lot of
> people, I have a `desk-widget' style for things like the clock, xbiff,
> etc.  It has no title bar, plain borders, and best of all, focus-type
> is 'none.
> 
> What I want is to be able to drag these around with the mouse, just by
> dragging them with the pointer, i.e. interactive-move.  But, how can I
> bind-mouse to do this?  It's fairly easy with icons, of course, but
> these aren't icons.  And of course I don't want to do this on every
> window, just the desk widgets?  Is this even possible right now, or
> will it be after the great event rewrite?
> 

I'm afraid there is no support for having different bindings per window.
I'm hoping to start on the more general event model as soon as I put
0.9.2 out (this weekend if I'm luck, cross your fingers). However, once
that is working, you can do something like

(bind-mouse 'window 1 interactive-move) except in a local event map.

So basically the answer is "not yet". I agree it would certainly be
nice thogh. You could avoid having borders at all on such windows
in such a case.

 - Maciej

From owner-scwm-discuss@mit.edu  Sun Feb 21 06:57:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA14329
	for scwm-discuss-outgoing; Sun, 21 Feb 1999 06:57:37 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from localhost.localdomain (dm238.ans.com.au [203.132.1.38])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id GAA14326
	for <scwm-discuss@vicarious-existence.mit.edu>; Sun, 21 Feb 1999 06:57:32 -0500
Received: from bigfoot.com (localhost [127.0.0.1])
	by localhost.localdomain (8.8.7/8.8.7) with ESMTP id WAA20949
	for <scwm-discuss@vicarious-existence.mit.edu>; Sun, 21 Feb 1999 22:53:03 +1100
Message-ID: <36CFF399.F041EB8A@bigfoot.com>
Date: Sun, 21 Feb 1999 11:52:57 +0000
From: Chris Bitmead <chris.bitmead@bigfoot.com>
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm <scwm-discuss@mit.edu>
Subject: FvwmPager & autoraise, and scwm->restart
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Hi,

I've just converted to scwm from fvwm2. The ability to use scheme is
really great!

I've come across a couple of problems that are bugging me. The first is
that I can't seem to get auto-raise to work with FvwmPager. I turned off
always-on-top because I don't like it always on top, but no matter what
I try the pager can only be raised by accessing it's menu. I think the
problem is that the pager never gets the focus as the border doesn't
change colour like regular windows. Am I doing something wrong or is
there a way to do this? It works ok in fvwm2.

The other thing that is bugging me is that when selecting Restart Scwm,
all the windows seem to end up on the same virtual desktop when it
restarts, and the pager seems to start in a confused state. I am using a
2x3 desk pager with 1 page per desk. Again, it seems to work ok in
fvwm2.

Now, I think it may be the case that in fvwm2 I was using a single desk
with 6 pages, rather than 6 desks with 1 page each. I had to swap over
because I couldn't work out how to set keybindings to goto a particular
page in a desk.

-- 
Chris Bitmead
http://www.bigfoot.com/~chris.bitmead
mailto:chris.bitmead@bigfoot.com

From owner-scwm-discuss@mit.edu  Sun Feb 21 14:51:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA16373
	for scwm-discuss-outgoing; Sun, 21 Feb 1999 14:51:59 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA16370
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 21 Feb 1999 14:51:57 -0500
Received: from smtp3.erols.com by MIT.EDU with SMTP
	id AA25303; Sun, 21 Feb 99 14:48:45 EST
Received: from alum.mit.edu (209-122-231-211.s211.tnt4.sbo.ma.dialup.rcn.com [209.122.231.211])
	by smtp3.erols.com (8.8.8/8.8.5) with ESMTP id OAA05039;
	Sun, 21 Feb 1999 14:48:53 -0500 (EST)
Message-Id: <36D064B8.84EC67B5@alum.mit.edu>
Date: Sun, 21 Feb 1999 14:55:36 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Chris Bitmead <chris.bitmead@bigfoot.com>
Cc: scwm <scwm-discuss@mit.edu>
Subject: Re: FvwmPager & autoraise, and scwm->restart
References: <36CFF399.F041EB8A@bigfoot.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Chris Bitmead wrote:
> 
> Hi,
> 
> I've just converted to scwm from fvwm2. The ability to use scheme is
> really great!
> 
> I've come across a couple of problems that are bugging me. The first is
> that I can't seem to get auto-raise to work with FvwmPager. I turned off
> always-on-top because I don't like it always on top, but no matter what
> I try the pager can only be raised by accessing it's menu. I think the
> problem is that the pager never gets the focus as the border doesn't
> change colour like regular windows. Am I doing something wrong or is
> there a way to do this? It works ok in fvwm2.
> 

You've probably set up the pager to have #:focus 'none, this will
prevent
auto-raise from working since it depends on windows getting the focus.

> The other thing that is bugging me is that when selecting Restart Scwm,
> all the windows seem to end up on the same virtual desktop when it
> restarts, and the pager seems to start in a confused state. I am using a
> 2x3 desk pager with 1 page per desk. Again, it seems to work ok in
> fvwm2.
> 

Hmm, scwm would indeed drop all the windows on one desk in that case,
but it
_should_ properly put them back when you restart. I will check this out.

> Now, I think it may be the case that in fvwm2 I was using a single desk
> with 6 pages, rather than 6 desks with 1 page each.

Indeed, both fvwm and scwm will by default drop windows from all desks
onto
the visible area, but will not move windows from other pages.

> I had to swap over because I couldn't work out how to set keybindings to 
> goto a particular page in a desk.

(use-module (app scwm virtual))

And then

(bind-key 'all "whatever" (lambda () (move-to-viewport 1 2)))

To bind the key "whatever" to move to what fvwm would have called page
1, 2.

 - Maciej Stachowiak

From owner-scwm-discuss@mit.edu  Sun Feb 21 21:18:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA18117
	for scwm-discuss-outgoing; Sun, 21 Feb 1999 21:18:18 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA18114
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 21 Feb 1999 21:18:11 -0500
Received: from linux.dcast.ozemail.com.au by MIT.EDU with SMTP
	id AA17201; Sun, 21 Feb 99 21:14:55 EST
Received: from bigfoot.com (localhost [127.0.0.1])
	by linux.dcast.ozemail.com.au (8.8.7/8.8.7) with ESMTP id NAA30064
	for <scwm-discuss@mit.edu>; Mon, 22 Feb 1999 13:16:54 +1100
Message-Id: <36D0BE0F.67161044@bigfoot.com>
Date: Mon, 22 Feb 1999 13:16:47 +1100
From: Chris Bitmead <chris.bitmead@bigfoot.com>
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i586)
X-Accept-Language: en
Mime-Version: 1.0
To: scwm <scwm-discuss@mit.edu>
Subject: Re: FvwmPager & autoraise, and scwm->restart
References: <36CFF399.F041EB8A@bigfoot.com> <36D064B8.84EC67B5@alum.mit.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak wrote:

> You've probably set up the pager to have #:focus 'none, this will
> prevent
> auto-raise from working since it depends on windows 
> getting the focus.

I just tried changing that but it didn't seem to work. This is what I've
got... I also tried not explicitely mentioning #:focus in pager-style.

(define pager-style
  (make-style #:no-titlebar #t #:sticky #t #:focus 'mouse))

(if want-fvwm2-pager-module
    (begin
      (register-fvwm2-module-config "FvwmPager"
        "*FvwmPagerRows 3"
        "*FvwmPagerColumns 2"
        "*FvwmPagerBack #266294"
        "*FvwmPagerFore Black"
        "*FvwmPagerFont none"
        "*FvwmPagerHilight #729fff"
        "*FvwmPagerGeometry 80-0+0"
        "*FvwmPagerSmallFont -*-times-medium-r-*-*-*-80-*-*-*-*-*-*"
        "*FvwmPagerDeskTopScale 20")
      ;; Actually run the pager. Make it manage desktops 0-2. Save the
      ;; module object in a variable so we can kill this specific pager
      ;; later.
      (define fvwm2-pager (run-fvwm2-module "FvwmPager"
                        '("0" "5")))))
(set-desk-size! 1 1)

(window-style "FvwmPager" #:use-style pager-style #:focus 'mouse)

From owner-scwm-discuss@mit.edu  Mon Feb 22 14:22:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA23588
	for scwm-discuss-outgoing; Mon, 22 Feb 1999 14:22:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA23585
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Feb 1999 14:22:04 -0500
Received: from sungod.ccs.yorku.ca by MIT.EDU with SMTP
	id AA26492; Mon, 22 Feb 99 14:18:35 EST
Received: from apex.ccs.yorku.ca (jKQ+f/cxrXy4DzvHWhNG4F7QhCEqT+H3@apex.ccs.yorku.ca [130.63.237.12]) by sungod.ccs.yorku.ca (8.8.7/8.6.11) with ESMTP id OAA08510 for <scwm-discuss@mit.edu>; Mon, 22 Feb 1999 14:18:41 -0500 (EST)
Received: from apex.ccs.yorku.ca (miguel@localhost) by apex.ccs.yorku.ca (8.8.7/8.6.12) with ESMTP id OAA23294 for <scwm-discuss@mit.edu>; Mon, 22 Feb 1999 14:18:37 -0500 (EST)
Message-Id: <199902221918.OAA23294@apex.ccs.yorku.ca>
From: "Miguel Marques" <miguel@YorkU.CA>
To: scwm-discuss@mit.edu
Subject: Managing two screens...
Date: Mon, 22 Feb 1999 14:18:35 -0500
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greetings...

I've noticed that when using scwm and two screens, the two screens are
managed separately by spawning an extra scwm unlike gwm, my current
window manager.  This makes things like a menu with all the windows on
both screens diffcult to do.

Are there plans to make scwm handle all screens with the same process?
Or will that require some basic changes to scwm and be unlikely in the
near future?
TIA...

							Miguel

Miguel Marques, York University, Computing & Communications Services
e-mail: miguel@yorku.ca, voice: (416)736-2100x22684, fax: (416)736-5830

From owner-scwm-discuss@mit.edu  Mon Feb 22 17:50:57 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA24432
	for scwm-discuss-outgoing; Mon, 22 Feb 1999 17:50:57 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA24429
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Feb 1999 17:50:54 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA11272; Mon, 22 Feb 99 17:47:29 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA24375; Mon, 22 Feb 1999 14:47:32 -0800 (PST)
To: "Miguel Marques" <miguel@YorkU.CA>
Cc: scwm-discuss@mit.edu
Subject: Re: Managing two screens...
References: <199902221918.OAA23294@apex.ccs.yorku.ca>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Feb 1999 14:47:32 -0800
In-Reply-To: "Miguel Marques"'s message of "Mon, 22 Feb 1999 14:18:35 -0500"
Message-Id: <qrr7lta6oor.fsf@elwha.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

"Miguel Marques" <miguel@YorkU.CA> writes:

> Greetings...
> 
> I've noticed that when using scwm and two screens, the two screens are
> managed separately by spawning an extra scwm unlike gwm, my current
> window manager.  This makes things like a menu with all the windows on
> both screens diffcult to do.
> 
> Are there plans to make scwm handle all screens with the same process?
> Or will that require some basic changes to scwm and be unlikely in the
> near future?
> TIA...
> 

I was intending on trying to look at Scwm's multi-screen support, and
even got Matrox to give me an extra video card.  I got stuck at trying
to get a multi-head X server to work.  What is your configuration?
Anyone know which X servers support multiple screens for Linux?  This
stuff will definitely have to wait until May when I'm back in the states 
(I'm doing my research in Australia for a couple of months).

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Mon Feb 22 20:22:46 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA00650
	for scwm-discuss-outgoing; Mon, 22 Feb 1999 20:22:46 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA00647
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Feb 1999 20:22:45 -0500
Received: from sungod.ccs.yorku.ca by MIT.EDU with SMTP
	id AA19635; Mon, 22 Feb 99 20:22:33 EST
Received: from apex.ccs.yorku.ca (YpG6PDdMlv2iNtdXBaecmNp4dopDI2+0@apex.ccs.yorku.ca [130.63.237.12]) by sungod.ccs.yorku.ca (8.8.7/8.6.11) with ESMTP id UAA04255; Mon, 22 Feb 1999 20:22:43 -0500 (EST)
Received: from apex.ccs.yorku.ca (miguel@localhost) by apex.ccs.yorku.ca (8.8.7/8.6.12) with ESMTP id UAA08942; Mon, 22 Feb 1999 20:22:42 -0500 (EST)
Message-Id: <199902230122.UAA08942@apex.ccs.yorku.ca>
From: "Miguel Marques" <miguel@YorkU.CA>
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Managing two screens... 
In-Reply-To: Message from Greg Badros <gjb@cs.washington.edu> 
	of "22 Feb 1999 14:47:32 -0800"
Date: Mon, 22 Feb 1999 20:22:42 -0500
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greetings...
 Greg Badros <gjb@cs.washington.edu> writes: 
  > "Miguel Marques" <miguel@YorkU.CA> writes:
  > 
  > > Greetings...
  > > 
  > > I've noticed that when using scwm and two screens, the two screens are
  > > managed separately by spawning an extra scwm unlike gwm, my current
  > > window manager.  This makes things like a menu with all the windows on
  > > both screens diffcult to do.
  > > 
  > > Are there plans to make scwm handle all screens with the same process?
  > > Or will that require some basic changes to scwm and be unlikely in the
  > > near future?
  > > TIA...
  > > 
  > 
  > I was intending on trying to look at Scwm's multi-screen support, and
  > even got Matrox to give me an extra video card.  I got stuck at trying
  > to get a multi-head X server to work.  What is your configuration?

Sun Ultra with two cgsix'es (Sun video cards) running Solaris 2.5.1
and MIT's X11R6.4.  The machine I run Linux on doesn't have two
screens unfortunately and besides it's a Mac so that wouldn't help
you anyway.
Thanks.

							Miguel

Miguel Marques, York University, Computing & Communications Services
e-mail: miguel@yorku.ca, voice: (416)736-2100x22684, fax: (416)736-5830




From owner-scwm-discuss@mit.edu  Mon Feb 22 22:08:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA01151
	for scwm-discuss-outgoing; Mon, 22 Feb 1999 22:08:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA01148
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Feb 1999 22:08:04 -0500
Received: from smtp1.erols.com by MIT.EDU with SMTP
	id AA10647; Mon, 22 Feb 99 22:07:53 EST
Received: from alum.mit.edu (209-122-231-211.s211.tnt4.sbo.ma.dialup.rcn.com [209.122.231.211])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id WAA11543;
	Mon, 22 Feb 1999 22:07:47 -0500 (EST)
Message-Id: <36D21D26.6603C6A9@alum.mit.edu>
Date: Mon, 22 Feb 1999 22:14:46 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Miguel Marques <miguel@YorkU.CA>
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
Subject: Re: Managing two screens...
References: <199902230122.UAA08942@apex.ccs.yorku.ca>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Miguel Marques wrote:
> 
> Greetings...
>  Greg Badros <gjb@cs.washington.edu> writes:
>   > "Miguel Marques" <miguel@YorkU.CA> writes:
>   >
>   > > Greetings...
>   > >
>   > > I've noticed that when using scwm and two screens, the two screens are
>   > > managed separately by spawning an extra scwm unlike gwm, my current
>   > > window manager.  This makes things like a menu with all the windows on
>   > > both screens diffcult to do.
>   > >
>   > > Are there plans to make scwm handle all screens with the same process?
>   > > Or will that require some basic changes to scwm and be unlikely in the
>   > > near future?
>   > > TIA...
>   > >
>   >
>   > I was intending on trying to look at Scwm's multi-screen support, and
>   > even got Matrox to give me an extra video card.  I got stuck at trying
>   > to get a multi-head X server to work.  What is your configuration?
> 
> Sun Ultra with two cgsix'es (Sun video cards) running Solaris 2.5.1
> and MIT's X11R6.4.  The machine I run Linux on doesn't have two
> screens unfortunately and besides it's a Mac so that wouldn't help
> you anyway.

I'm going to try to get an extra monitor (and framebuffer) for my Ultra
at work. I have a fairly reasonable genuine reason to want it, even.

Scwm would probably have the capability to handle multiscreen more
gracefully
already if any of the main developers had a working multiheaded setup -
I think
we all agree the current setup is a bit of a kludge. If you live in a
relatively
static world like fvwm, it almost makes sense, but in scwm's more
dynamic and
scriptable worldview you obviously want the user to be able to set up
various
interactions between screens.

 - Maciej

From owner-scwm-discuss@mit.edu  Mon Feb 22 22:26:28 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA01264
	for scwm-discuss-outgoing; Mon, 22 Feb 1999 22:26:28 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA01261
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Feb 1999 22:26:28 -0500
Received: from alpha.Xerox.COM by MIT.EDU with SMTP
	id AA14837; Mon, 22 Feb 99 22:26:14 EST
Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with SMTP id <54567(1)>; Mon, 22 Feb 1999 19:26:16 PST
Received: by holmes.parc.xerox.com id <16145>; Mon, 22 Feb 1999 19:26:02 PST
Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.holmes.parc.xerox.com.sun4.41
          via MS.5.6.holmes.parc.xerox.com.sun4_41;
          Mon, 22 Feb 1999 19:26:01 -0800 (PST)
Message-Id: <8qoVz9sB0KGWJQojQG@holmes.parc.xerox.com>
Date: Mon, 22 Feb 1999 19:26:01 PST
From: Bill Janssen <janssen@parc.xerox.com>
To: Miguel Marques <miguel@YorkU.CA>,
        Maciej Stachowiak <mstachow@alum.mit.edu>
Subject: Re: Managing two screens...
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
In-Reply-To: <36D21D26.6603C6A9@alum.mit.edu>
References: <199902230122.UAA08942@apex.ccs.yorku.ca>
	<36D21D26.6603C6A9@alum.mit.edu>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

The X11R5 Sun sources support multi-heading, but only one of each type,
because all the /dev entries are device 0 -- /dev/bwtwo0, /dev/cgsix0,
etc.  If it's that way for R6, too, I think all you'd need to do would
be to add an entry /dev/cgsix1 to the table "sunFBData", in
mit/server/ddx/sun/sunInit.c, and it could handle two color monitors
just fine.

Bill

From owner-scwm-discuss@mit.edu  Tue Feb 23 05:15:23 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA04292
	for scwm-discuss-outgoing; Tue, 23 Feb 1999 05:15:23 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA04289
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Feb 1999 05:15:20 -0500
Received: from avocado.pc.helsinki.fi by MIT.EDU with SMTP
	id AA04374; Tue, 23 Feb 99 05:15:08 EST
Received: (from janne@localhost)
	by avocado.pc.helsinki.fi (8.9.1/8.9.1) id MAA18852;
	Tue, 23 Feb 1999 12:15:10 +0200
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm pager in Linux Alpha (not)
References: <oavhhaaylf.fsf@avocado.pc.helsinki.fi> <36C1DEB4.B86E7DCE@alum.mit.edu> <oaaeymhqpd.fsf@avocado.pc.helsinki.fi> <36C20009.8B1DF66E@alum.mit.edu> <oa7lth15ly.fsf@avocado.pc.helsinki.fi> <36CAE065.A8DC090A@alum.mit.edu> <oa4sol11nf.fsf@avocado.pc.helsinki.fi> <36CAFAEF.E0FDB942@alum.mit.edu>
From: Janne Sinkkonen <janne@avocado.pc.helsinki.fi>
Date: 23 Feb 1999 12:15:10 +0200
In-Reply-To: Maciej Stachowiak's message of "Wed, 17 Feb 1999 12:22:55 -0500"
Message-Id: <oaww191l5d.fsf@avocado.pc.helsinki.fi>
Lines: 26
X-Mailer: Gnus v5.6.45/XEmacs 19.16 - "Lille"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Janne Sinkkonen wrote:
> > 
> > Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> > 
> > > Umm, well, also the guile-devel RPM.
> > 
> > [janne@lumi janne]$ rpm -q guile guile-devel
> > guile-1.2-6
> > guile-devel-1.2-6
> > 
> 
> Ah, what you need is guile 1.3 RPMs however, not 1.2. They can be donwloaded
> from ftp://rawhide.redhat.com/ or your favorite mirror.

OK, with guile-1.3-4.src.rpm, scwm-0.9-2.src.rpm installs, builds, and
runs fine in my alpha.

(Still no pager, though. I tried enlightenment and gnome for a while,
but they are currently unusable for real work, which I still try to do
occasionally in midst of testing alpha/beta software :). In i386,
things seem much better.)

-- 
Janne

From owner-scwm-discuss@mit.edu  Tue Feb 23 18:13:08 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA07240
	for scwm-discuss-outgoing; Tue, 23 Feb 1999 18:13:08 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA07237
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Feb 1999 18:13:05 -0500
Received: from raspberry.duff.org by MIT.EDU with SMTP
	id AA08485; Tue, 23 Feb 99 18:13:36 EST
Received: from localhost (danius@localhost)
	by raspberry.duff.org (8.9.0/8.9.0) with SMTP id XAA10399
	for <scwm-discuss@mit.edu>; Tue, 23 Feb 1999 23:13:02 GMT
Date: Tue, 23 Feb 1999 23:13:02 +0000 (GMT)
From: Danius Michaelides <danius@duff.org>
To: scwm-discuss@mit.edu
Subject: Ghost windows
Message-Id: <Pine.LNX.4.02.9902232302060.2762-100000@raspberry.duff.org>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


  I've been moving my fvwm setup over to scwm (again), and have hit
upon a problem. I run FvwmButtons and swallow a number of windows
(FvwmPager, asclock, xload and an xterm). They (usually) all get
swallowed properly, but leave 'ghost windows' lying around (windows
which have the correct decorations, but have grey/blank content).
Presumeably these window frames should be destroyed with the window
gets reparented by FvwmButtons?
  Also, with FvwmButtons i have a number of buttons with "Icon
pixmap", but unless i put the complete path to the icon, it doesnt
show up, even tho' the dir is on 'image-load-path'.

  19990223 snapshot.
  Danius



From owner-scwm-discuss@mit.edu  Tue Feb 23 20:18:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA07769
	for scwm-discuss-outgoing; Tue, 23 Feb 1999 20:18:18 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA07766
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Feb 1999 20:18:16 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA05358; Tue, 23 Feb 99 20:18:48 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA15672; Tue, 23 Feb 1999 17:18:11 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Fvwm2 development surprises
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Feb 1999 17:18:10 -0800
Message-Id: <qrrsobw4n1p.fsf@elwha.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I was just thinking... it is pretty impressive how many code
contributions the fvwm2 people get now that their development is active
again.  (Not to speak of the quality of the patches -- many of them are
special case #ifdef hacks, but they could be useful with some care in
applying a better, generalized version by hand).  In any case, I was
thinking about why this might be.  Two main reasons that I can think of:

1) fvwm2 has more users (more people care, larger talent pool)
2) fvwm2 is easier code to understand and hack

I think it's mostly #1, but perhaps some of #2 (you don't have the
scheme or guile learning curves with fvwm2-- it's really just straight
C-- but our code is a lot cleaner and better documented).  My point,
though, is that I *really* think we need to get more users for Scwm to
take off big time.  I'm thinking that the two biggest things we can do
to make this happen is:

* Release a version 1.0  (the code doesn't core dump and is very usable
on a daily basis, even if the code and API is still going to undergo
substantial revision for a version 2.0 down the road).  There's
something magic about a version 1.0 that'll make people try it -- we
need to ensure that that experience is highly pleasant (via RPMs --
including mirroring guile RPMs *that* *work*).

* Get a .fvwm2rc -> .scwmrc static conversion aid working to help fvwm2 
people migrate to Scwm.  They're still the largest base of users that we 
have the potential to attract.

I guess all I'm suggesting is that we make these our top priorities (if
they weren't already).  (Our other top priority should be getting the
guile documentation going-- it's the major weakness in our documentation).

Greg

From owner-scwm-discuss@mit.edu  Tue Feb 23 21:01:51 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA08013
	for scwm-discuss-outgoing; Tue, 23 Feb 1999 21:01:51 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA08010
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Feb 1999 21:01:50 -0500
Received: from pool-209-138-71-5.generic.grid.net by MIT.EDU with SMTP
	id AA13083; Tue, 23 Feb 99 21:02:18 EST
Received: from ono.intellivoice.com (ONO [192.168.14.106]) by mail.intellivoice.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9)
	id FQQLGL2A; Tue, 23 Feb 1999 21:01:57 -0500
Received: (from doug@localhost)
	by ono.intellivoice.com (8.8.7/8.8.7) id VAA09293;
	Tue, 23 Feb 1999 21:00:28 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu>
From: Doug McNaught <dmcnaught@intellivoice.com>
Date: 23 Feb 1999 21:00:26 -0500
In-Reply-To: Greg Badros's message of "23 Feb 1999 17:18:10 -0800"
Message-Id: <m3n224r26d.fsf@ono.intellivoice.com>
Lines: 25
X-Mailer: Gnus v5.6.9/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> * Release a version 1.0  (the code doesn't core dump and is very usable
> on a daily basis, even if the code and API is still going to undergo
> substantial revision for a version 2.0 down the road).  There's
> something magic about a version 1.0 that'll make people try it -- we
> need to ensure that that experience is highly pleasant (via RPMs --
> including mirroring guile RPMs *that* *work*).

Agreed, most definitely.  It's *so* much easier to build a user base
these days if you have good .rpms/.debs .

> * Get a .fvwm2rc -> .scwmrc static conversion aid working to help fvwm2 
> people migrate to Scwm.  They're still the largest base of users that we 
> have the potential to attract.

That would be an interesting project, one I might squeeze out some
time to work on.  Would it have to be in Scheme? ;)  As a recovering
sysadmin I'm a dab hand at Perl...

-Doug
-- 
Doug McNaught                                      dmcnaught@intellivoice.com
Senior Network Engineer
Intellivoice Communications, Inc                  http://www.intellivoice.com

From owner-scwm-discuss@mit.edu  Tue Feb 23 21:39:57 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA08298
	for scwm-discuss-outgoing; Tue, 23 Feb 1999 21:39:57 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA08295
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Feb 1999 21:39:55 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA24094; Tue, 23 Feb 99 21:39:39 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Tue, 23 Feb 1999 21:39:11 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Tue, 23 Feb 1999 21:39:10 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id VAA20604;
	Tue, 23 Feb 1999 21:39:43 -0500 (EST)
To: scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "23 Feb 1999 17:18:10 -0800"
Date: 23 Feb 1999 21:39:43 -0500
Message-Id: <m3sobwmsnk.fsf@eho.eaglets.com>
Lines: 30
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrrsobw4n1p.fsf@elwha.cs.washington.edu>
>>>> On the subject of "Fvwm2 development surprises"
>>>> Sent on 23 Feb 1999 17:18:10 -0800
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> 
 >> * Release a version 1.0 (the code doesn't core dump and is very
 >> usable on a daily basis, even if the code and API is still going to
 >> undergo substantial revision for a version 2.0 down the road).
 >> There's something magic about a version 1.0 that'll make people try
 >> it -- we need to ensure that that experience is highly pleasant (via
 >> RPMs -- including mirroring guile RPMs *that* *work*).

I've been saying this for months.

yes, most emphatically, 1.0 should be released ASAP.

people think our 0.9 is more like 0.09, not 0.90, so they are scared.

 >> * Get a .fvwm2rc -> .scwmrc static conversion aid working to help
 >> fvwm2 people migrate to Scwm.  They're still the largest base of
 >> users that we have the potential to attract.

good idea.  it should be done in guile, of course, although I expect
many to clamor for perl. :-)

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Computer are like air conditioners: they don't work with open windows!

From owner-scwm-discuss@mit.edu  Tue Feb 23 22:05:16 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA08540
	for scwm-discuss-outgoing; Tue, 23 Feb 1999 22:05:16 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA08537
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Feb 1999 22:05:08 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA24321; Tue, 23 Feb 99 22:05:39 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id TAA21016; Tue, 23 Feb 1999 19:04:57 -0800 (PST)
To: Doug McNaught <dmcnaught@intellivoice.com>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu> <m3n224r26d.fsf@ono.intellivoice.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Feb 1999 19:04:56 -0800
In-Reply-To: Doug McNaught's message of "23 Feb 1999 21:00:26 -0500"
Message-Id: <qrrpv704i3q.fsf@elwha.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Doug McNaught <dmcnaught@intellivoice.com> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > * Release a version 1.0  (the code doesn't core dump and is very usable
> > on a daily basis, even if the code and API is still going to undergo
> > substantial revision for a version 2.0 down the road).  There's
> > something magic about a version 1.0 that'll make people try it -- we
> > need to ensure that that experience is highly pleasant (via RPMs --
> > including mirroring guile RPMs *that* *work*).
> 
> Agreed, most definitely.  It's *so* much easier to build a user base
> these days if you have good .rpms/.debs .
> 
> > * Get a .fvwm2rc -> .scwmrc static conversion aid working to help fvwm2 
> > people migrate to Scwm.  They're still the largest base of users that we 
> > have the potential to attract.
> 
> That would be an interesting project, one I might squeeze out some
> time to work on.  Would it have to be in Scheme? ;)  As a recovering
> sysadmin I'm a dab hand at Perl...

If I were doing it, I'd be writing it in Perl, for sure.  And though
I've little time to oversee it, I'll gladly help, contribute, and test.
I'd love to see this get started right away!  (And it's not unheard of
to convert to guile after an implementation already exists if we want to 
for [IMO somewhat silly] political reasons).

It might be useful to outline a design plan on this list and build a
small set of reasonably complete .fvwm2rc-s that you can use as examples 
and completeness benchmarks.

Greg

From owner-scwm-discuss@mit.edu  Tue Feb 23 22:08:11 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA08562
	for scwm-discuss-outgoing; Tue, 23 Feb 1999 22:08:11 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA08559
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Feb 1999 22:08:09 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA24855; Tue, 23 Feb 99 22:08:40 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id TAA21167; Tue, 23 Feb 1999 19:07:55 -0800 (PST)
To: Randall.Gray@marine.csiro.au
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu> <14035.23153.710995.829477@floyd.hba.marine.csiro.au>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Feb 1999 19:07:55 -0800
In-Reply-To: Randall.Gray@marine.csiro.au's message of "Wed, 24 Feb 1999 12:55:59 +1100 (EDT)"
Message-Id: <qrrogmk4hys.fsf@elwha.cs.washington.edu>
Lines: 56
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Randall.Gray@marine.csiro.au writes:

> Greg Badros writes:
>  > 
>  > * Release a version 1.0  (the code doesn't core dump and is very usable
>  > on a daily basis, even if the code and API is still going to undergo
>  > substantial revision for a version 2.0 down the road).  There's
>  > something magic about a version 1.0 that'll make people try it -- we
>  > need to ensure that that experience is highly pleasant (via RPMs --
>  > including mirroring guile RPMs *that* *work*).
> 
> I think a painless installation is essential for people to be willing
> to try it -- if they have even one hitch they won't be as inclined to
> go any further.  One fellow I know is a quite adroit
> programmer/systems person, but if there is a single hitch in the
> install he drops it.

Definitely true which is why we need it to be very very easy!

> 
>  > 
>  > * Get a .fvwm2rc -> .scwmrc static conversion aid working to help fvwm2 
>  > people migrate to Scwm.  They're still the largest base of users that we 
>  > have the potential to attract.
> 
> There also ought to be a really polished system .scwmrc that has 
> menu options to show all the fancy things it can do (and save the
> current setting)  Also, the .scwmrc should *not* include in it's lists 
> things that are not installed on the machine.  We have the ability to
> look for them & should use it.

Right, my .scwmrc does a bunch of this-- it's very important that menu
items exist only for applications that are installed and available.

>  > 
>  > I guess all I'm suggesting is that we make these our top priorities (if
>  > they weren't already).  (Our other top priority should be getting the
>  > guile documentation going-- it's the major weakness in our documentation).
> 
> 
> I agree with the priorities -- establishing a larger user base will
> make a big difference.  As will some sort of "constructing a really
> swizzy .scwmrc file from scratch" document.  I have been butchering
> the examples to get what I want, but I havent the time to search
> amongst the source code, documentation, and examples to actually work
> out what I need and what I don't.  

This might be a useful tutorial snippet to have written...

> 
> My thoughts -- probably as loopy as I am, but there you are.


Thanks!  I hope you don't mind my re-including the list in my reply.

Greg

From owner-scwm-discuss@mit.edu  Tue Feb 23 22:11:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA08637
	for scwm-discuss-outgoing; Tue, 23 Feb 1999 22:11:03 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA08634
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Feb 1999 22:11:02 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA25388; Tue, 23 Feb 99 22:11:33 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id TAA21324; Tue, 23 Feb 1999 19:10:58 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu> <m3sobwmsnk.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Feb 1999 19:10:57 -0800
In-Reply-To: Sam Steingold's message of "23 Feb 1999 21:39:43 -0500"
Message-Id: <qrrk8x84htq.fsf@elwha.cs.washington.edu>
Lines: 37
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> >>>> In message <qrrsobw4n1p.fsf@elwha.cs.washington.edu>
> >>>> On the subject of "Fvwm2 development surprises"
> >>>> Sent on 23 Feb 1999 17:18:10 -0800
> >>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
>  >> 
>  >> * Release a version 1.0 (the code doesn't core dump and is very
>  >> usable on a daily basis, even if the code and API is still going to
>  >> undergo substantial revision for a version 2.0 down the road).
>  >> There's something magic about a version 1.0 that'll make people try
>  >> it -- we need to ensure that that experience is highly pleasant (via
>  >> RPMs -- including mirroring guile RPMs *that* *work*).
> 
> I've been saying this for months.
> 
> yes, most emphatically, 1.0 should be released ASAP.

You've been very correct for months! :-)

> 
> people think our 0.9 is more like 0.09, not 0.90, so they are scared.

Yep.  

> 
>  >> * Get a .fvwm2rc -> .scwmrc static conversion aid working to help
>  >> fvwm2 people migrate to Scwm.  They're still the largest base of
>  >> users that we have the potential to attract.
> 
> good idea.  it should be done in guile, of course, although I expect
> many to clamor for perl. :-)

:-)  It is a text processing application, after all!  And parsing
fvwm2's configuration language is ad-hoc, anyway!

Greg

From owner-scwm-discuss@mit.edu  Tue Feb 23 23:08:06 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA09052
	for scwm-discuss-outgoing; Tue, 23 Feb 1999 23:08:06 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA09049
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Feb 1999 23:08:05 -0500
Received: from smtp4.erols.com by MIT.EDU with SMTP
	id AA10587; Tue, 23 Feb 99 23:07:49 EST
Received: from alum.mit.edu (209-122-231-211.s211.tnt4.sbo.ma.dialup.rcn.com [209.122.231.211])
	by smtp4.erols.com (8.8.8/smtp-v1) with ESMTP id XAA20832;
	Tue, 23 Feb 1999 23:07:57 -0500 (EST)
Message-Id: <36D37CCE.6F09BE61@alum.mit.edu>
Date: Tue, 23 Feb 1999 23:15:10 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> I was just thinking... it is pretty impressive how many code
> contributions the fvwm2 people get now that their development is active
> again.  (Not to speak of the quality of the patches -- many of them are
> special case #ifdef hacks, but they could be useful with some care in
> applying a better, generalized version by hand). 

Yes, I've wanted to borrow things from there at least conceptually, if not
literally in code.

> In any case, I was
> thinking about why this might be.  Two main reasons that I can think of:
> 
> 1) fvwm2 has more users (more people care, larger talent pool)
> 2) fvwm2 is easier code to understand and hack
> 
> I think it's mostly #1, but perhaps some of #2 (you don't have the
> scheme or guile learning curves with fvwm2-- it's really just straight
> C-- but our code is a lot cleaner and better documented).  My point,
> though, is that I *really* think we need to get more users for Scwm to
> take off big time.  I'm thinking that the two biggest things we can do
> to make this happen is:
> 
> * Release a version 1.0  (the code doesn't core dump and is very usable
> on a daily basis, even if the code and API is still going to undergo
> substantial revision for a version 2.0 down the road).  There's
> something magic about a version 1.0 that'll make people try it -- we
> need to ensure that that experience is highly pleasant (via RPMs --
> including mirroring guile RPMs *that* *work*).
> 

OK, I'll buy that. I am still going to release 0.9.2 RSN (in time to make
this week's LWN announce list at the latest) because I _really_ want to get
a version out that is gnome-compliant. But let's get the ball rolling.
I think there are some shortcomings that we should address to be able to
fairly call a version 1.0. I would suggest some things we need to address 
are:

* Color limiting for images is imperative for users still stuck on 8-bit
displays.

* There must be a bug tracking system, after 1.0 comes out I'd feel obliged
to be a _lot_ less sloppy about bug reports.

Those are the ones I can think of right now, in addition to the things I 
listed for 0.9.2 in a previous message. Let's start a better named thread
to try to come up with an essential list.

At this point I am willing to say to heck with API cleanliness, we can fix
that later, as long as we don't break backwards compatibility within 1.0.x
and we don't promise things will stay compatible past that.

> * Get a .fvwm2rc -> .scwmrc static conversion aid working to help fvwm2
> people migrate to Scwm.  They're still the largest base of users that we
> have the potential to attract.
> 
> I guess all I'm suggesting is that we make these our top priorities (if
> they weren't already).  (Our other top priority should be getting the
> guile documentation going-- it's the major weakness in our documentation).

These were going to be my next two personal projects/crusades after getting
0.9.2 out, although I was going to work on them in the other order. If someone
else would like to start on a .fvwm2rc -> .scwmrc translator before that

Note that we don't currently have a strict superset of fvwm2.2 features (cursors,
colorlimiting, Direction and SnapAttraction would be the main issues, and I
believe they may have changed the module protocol in some ways as well.)

We could deal with this by implementing said features, or by replacing references
to them with an appropriate comment indicating they are unimplemented.

 - Maciej

From owner-scwm-discuss@mit.edu  Tue Feb 23 23:10:54 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA09078
	for scwm-discuss-outgoing; Tue, 23 Feb 1999 23:10:54 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA09075
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Feb 1999 23:10:53 -0500
Received: from smtp4.erols.com by MIT.EDU with SMTP
	id AA10994; Tue, 23 Feb 99 23:10:40 EST
Received: from alum.mit.edu (209-122-231-211.s211.tnt4.sbo.ma.dialup.rcn.com [209.122.231.211])
	by smtp4.erols.com (8.8.8/smtp-v1) with ESMTP id XAA23359;
	Tue, 23 Feb 1999 23:10:44 -0500 (EST)
Message-Id: <36D37D77.471B8833@alum.mit.edu>
Date: Tue, 23 Feb 1999 23:17:59 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Doug McNaught <dmcnaught@intellivoice.com>
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu> <m3n224r26d.fsf@ono.intellivoice.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Doug McNaught wrote:
> 
> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > * Release a version 1.0  (the code doesn't core dump and is very usable
> > on a daily basis, even if the code and API is still going to undergo
> > substantial revision for a version 2.0 down the road).  There's
> > something magic about a version 1.0 that'll make people try it -- we
> > need to ensure that that experience is highly pleasant (via RPMs --
> > including mirroring guile RPMs *that* *work*).
> 
> Agreed, most definitely.  It's *so* much easier to build a user base
> these days if you have good .rpms/.debs .
> 
> > * Get a .fvwm2rc -> .scwmrc static conversion aid working to help fvwm2
> > people migrate to Scwm.  They're still the largest base of users that we
> > have the potential to attract.
> 
> That would be an interesting project, one I might squeeze out some
> time to work on.  Would it have to be in Scheme? ;)  As a recovering
> sysadmin I'm a dab hand at Perl...
> 

I'd rather it be in Scheme, but at this point I don't care much. If you do it
in perl I can probably translate it anyway at some point. If you really want to 
give it a crack, I can post notes of potential trouble spots I thought of when 
previously considering this. Note also that the fvwm-eval module can be an 
excellent resource (and that adding code back to it when writing a translator 
would probably be a good thing).

 - Maciej

From owner-scwm-discuss@mit.edu  Tue Feb 23 23:22:14 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA09254
	for scwm-discuss-outgoing; Tue, 23 Feb 1999 23:22:14 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA09251
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Feb 1999 23:22:13 -0500
Received: from linux.dcast.ozemail.com.au by MIT.EDU with SMTP
	id AA12876; Tue, 23 Feb 99 23:21:58 EST
Received: from bigfoot.com (localhost [127.0.0.1])
	by linux.dcast.ozemail.com.au (8.8.7/8.8.7) with ESMTP id PAA27321
	for <scwm-discuss@mit.edu>; Wed, 24 Feb 1999 15:24:04 +1100
Message-Id: <36D37EE3.EF153BAB@bigfoot.com>
Date: Wed, 24 Feb 1999 15:24:03 +1100
From: Chris Bitmead <chris.bitmead@bigfoot.com>
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i586)
X-Accept-Language: en
Mime-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu> <m3n224r26d.fsf@ono.intellivoice.com> <qrrpv704i3q.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

 
> If I were doing it, I'd be writing it in Perl, for sure.  

If you wrote it in guile it would have the amusing property that scwm
would be able to work with fvwm config files. Maybe one day scwm will be
able to work with mwm and other config files too.

Not terribly useful I'd agree, but an interesting thought.

From owner-scwm-discuss@mit.edu  Tue Feb 23 23:27:35 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA09366
	for scwm-discuss-outgoing; Tue, 23 Feb 1999 23:27:35 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA09362
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Feb 1999 23:27:34 -0500
Received: from smtp1.erols.com by MIT.EDU with SMTP
	id AA13832; Tue, 23 Feb 99 23:27:19 EST
Received: from alum.mit.edu (209-122-231-211.s211.tnt4.sbo.ma.dialup.rcn.com [209.122.231.211])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id XAA27951;
	Tue, 23 Feb 1999 23:27:03 -0500 (EST)
Message-Id: <36D38146.7096B2AD@alum.mit.edu>
Date: Tue, 23 Feb 1999 23:34:14 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
Cc: Randall.Gray@marine.csiro.au, scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu> <14035.23153.710995.829477@floyd.hba.marine.csiro.au> <qrrogmk4hys.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> Randall.Gray@marine.csiro.au writes:
> 
> >
> > I think a painless installation is essential for people to be willing
> > to try it -- if they have even one hitch they won't be as inclined to
> > go any further.  One fellow I know is a quite adroit
> > programmer/systems person, but if there is a single hitch in the
> > install he drops it.
> 

Agreed. Have you had problems with installing from source or from RPM?
Has anyone? Please report even minor annoyances. Argh, I really need
to set up a bug tracking system.

> >
> > There also ought to be a really polished system .scwmrc that has
> > menu options to show all the fancy things it can do (and save the
> > current setting)  Also, the .scwmrc should *not* include in it's lists
> > things that are not installed on the machine.  We have the ability to
> > look for them & should use it.
> 
> Right, my .scwmrc does a bunch of this-- it's very important that menu
> items exist only for applications that are installed and available.
> 

My .scwmrc (recently checked in) I think shows off many of the more 
interesting scwm features - main thing it needs is the ability for users
to select themes from a menu (and remember this between sessions), and better 
root menus, specificly actually useful ones. For the next generation of free 
systems, I think we need something that can parse the gnome and/or kde 
application menu setups and include those - I think distributors
will be moving towards those as app menu standards. I again would like to 
request that people take a look (from a functionality/usability perspective, 
ignore the current look) at my .scwmrc in  CVS, if anyone is put off by
the need to have Hyper and Super, I can set it up to have alternate
keybindings for systems with only the basic three modifiers. 

I've found it fairly pleasant to use since I wrote it, I especially like the
fact that it has convenient reminders of the key bindings, since I am the sort 
of person who always thinks he should be using key bindings to save time, but
is usually too lazy to memorize them, even if he invented them(!). I also tried
hard to make a lot of stuff accessible from the mouse, since there are many 
users who hate having to resort to the keyboard (other than for actual text 
entry) as some hate resorting to the mouse.


> >  >
> >  > I guess all I'm suggesting is that we make these our top priorities (if
> >  > they weren't already).  (Our other top priority should be getting the
> >  > guile documentation going-- it's the major weakness in our documentation).
> >
> >
> > I agree with the priorities -- establishing a larger user base will
> > make a big difference.  As will some sort of "constructing a really
> > swizzy .scwmrc file from scratch" document.  I have been butchering
> > the examples to get what I want, but I havent the time to search
> > amongst the source code, documentation, and examples to actually work
> > out what I need and what I don't.
> 
> This might be a useful tutorial snippet to have written...
> 

Indeed - however, I must admit that even I don't write .scwmrcs entirely from
scratch (other than the first ever). My recently checked in one was almost
from scratch in many ways, but even so I borrowed a lot of the organization and
manu bits and pieces from other people's setups.

Then again, I _never_ write config files totally from scratch with a manual.
I usually start with something that does at least a bit of what I want. Perhaps
there are people out there that learn better from manuals and tutorials
than from examples.

 - Maciej

From owner-scwm-discuss@mit.edu  Tue Feb 23 23:29:56 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA09418
	for scwm-discuss-outgoing; Tue, 23 Feb 1999 23:29:56 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA09415
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Feb 1999 23:29:55 -0500
Received: from smtp1.erols.com by MIT.EDU with SMTP
	id AA14259; Tue, 23 Feb 99 23:29:39 EST
Received: from alum.mit.edu (209-122-231-211.s211.tnt4.sbo.ma.dialup.rcn.com [209.122.231.211])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id XAA28786;
	Tue, 23 Feb 1999 23:29:47 -0500 (EST)
Message-Id: <36D381EE.22610B93@alum.mit.edu>
Date: Tue, 23 Feb 1999 23:37:02 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu> <m3sobwmsnk.fsf@eho.eaglets.com> <qrrk8x84htq.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> >
> > people think our 0.9 is more like 0.09, not 0.90, so they are scared.
> 
> Yep.
> 

I guess that is true.

> >
> >  >> * Get a .fvwm2rc -> .scwmrc static conversion aid working to help
> >  >> fvwm2 people migrate to Scwm.  They're still the largest base of
> >  >> users that we have the potential to attract.
> >
> > good idea.  it should be done in guile, of course, although I expect
> > many to clamor for perl. :-)
> 
> :-)  It is a text processing application, after all!  And parsing
> fvwm2's configuration language is ad-hoc, anyway!
> 

Actually, I use perl enough in my day job at this point that even
I might prototype it in perl. But I think there is at least one sound
technical reason to have the final version in Guile, namely that it
would be ideal to have it share code at some point with the `fvwm-eval'
fvwm compatibility module in some way.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 24 11:21:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA13465
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 11:21:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA13462
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 11:21:43 -0500
Received: from pool-209-138-71-5.generic.grid.net by MIT.EDU with SMTP
	id AA00155; Wed, 24 Feb 99 11:22:14 EST
Received: from ono.intellivoice.com (ONO [192.168.14.106]) by mail.intellivoice.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9)
	id FQQLGLVP; Wed, 24 Feb 1999 11:21:59 -0500
Received: (from doug@localhost)
	by ono.intellivoice.com (8.8.7/8.8.7) id LAA09605;
	Wed, 24 Feb 1999 11:20:23 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu> <m3n224r26d.fsf@ono.intellivoice.com> <qrrpv704i3q.fsf@elwha.cs.washington.edu>
From: Doug McNaught <dmcnaught@intellivoice.com>
Date: 24 Feb 1999 11:20:23 -0500
In-Reply-To: Greg Badros's message of "23 Feb 1999 19:04:56 -0800"
Message-Id: <m390dnrcxk.fsf@ono.intellivoice.com>
Lines: 39
X-Mailer: Gnus v5.6.9/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> If I were doing it, I'd be writing it in Perl, for sure.  And though
> I've little time to oversee it, I'll gladly help, contribute, and test.
> I'd love to see this get started right away!  (And it's not unheard of
> to convert to guile after an implementation already exists if we want to 
> for [IMO somewhat silly] political reasons).

Makes sense.  I just don't want to climb half the fvwm2 learning curve 
(I've used it but not done anything really cute with it) and the guile 
text parsing learning curve at the same time...

One interesting thing we may want to look at is the way RedHat's
AnotherLevel generates the fvwm2 configs on the fly via m4.  A lot of
out-of-the-box RH users are probably doing that--it might be nice to
have scwm do the m4 preprocessing just as fvwm2 does, then convert the 
resulting file.  It wouldn't be that much more work once the converter 
is written (and would be a reason to port the converter to Guile, I
think). 

> It might be useful to outline a design plan on this list and build a
> small set of reasonably complete .fvwm2rc-s that you can use as examples 
> and completeness benchmarks.

Most definitely!  That would be very helpful.  

I would guess that if we can parse and convert the output of the RH
AnotherLevel stuff (which is made up of about 20 files, all run
through M4 and concatenated) we will be in very good shape. 

As far as getting started, I will wait until 0.9.2 comes out and see
if I can get it and Guile running on my new PowerBook--is anybody
running scwm on the PPC architecture yet?

-Doug
-- 
Doug McNaught                                      dmcnaught@intellivoice.com
Senior Network Engineer
Intellivoice Communications, Inc                  http://www.intellivoice.com

From owner-scwm-discuss@mit.edu  Wed Feb 24 11:52:08 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA13645
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 11:52:08 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA13642
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 11:52:07 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA10485; Wed, 24 Feb 99 11:52:38 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Wed, 24 Feb 1999 11:51:25 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Wed, 24 Feb 1999 11:51:25 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id LAA22135;
	Wed, 24 Feb 1999 11:51:53 -0500 (EST)
To: Doug McNaught <dmcnaught@intellivoice.com>
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu> <m3n224r26d.fsf@ono.intellivoice.com> <qrrpv704i3q.fsf@elwha.cs.washington.edu> <m390dnrcxk.fsf@ono.intellivoice.com>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Doug McNaught's message of "24 Feb 1999 11:20:23 -0500"
Date: 24 Feb 1999 11:51:53 -0500
Message-Id: <m3678rn3rq.fsf@eho.eaglets.com>
Lines: 29
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <m390dnrcxk.fsf@ono.intellivoice.com>
>>>> On the subject of "Re: Fvwm2 development surprises"
>>>> Sent on 24 Feb 1999 11:20:23 -0500
>>>> Honorable Doug McNaught <dmcnaught@intellivoice.com> writes:
 >> 
 >> One interesting thing we may want to look at is the way RedHat's
 >> AnotherLevel generates the fvwm2 configs on the fly via m4.  A lot
 >> of out-of-the-box RH users are probably doing that--it might be nice
 >> to have scwm do the m4 preprocessing just as fvwm2 does, then
 >> convert the resulting file.  It wouldn't be that much more work once
 >> the converter is written (and would be a reason to port the
 >> converter to Guile, I think).

ditch the middleman: instead of
        config --[m4]--> fvwm2rc --[perl/guile]--> scwmrc
do
        config --[guile]--> scwmrc
or
        config --[m4]--> scwmrc

[isn't is a pity that m4 is so popular?  yet another lousy scripting
 language - as if we didn't have enough already!  I thought the whole
 idea behind guile was to avoid this kind of crap! :-]

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Warning! Dates in calendar are closer than they appear!

From owner-scwm-discuss@mit.edu  Wed Feb 24 11:59:23 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA13698
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 11:59:23 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA13695
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 11:59:22 -0500
Received: from pool-209-138-71-5.generic.grid.net by MIT.EDU with SMTP
	id AA23112; Wed, 24 Feb 99 11:59:09 EST
Received: from ono.intellivoice.com (ONO [192.168.14.106]) by mail.intellivoice.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9)
	id FQQLGLXW; Wed, 24 Feb 1999 11:59:38 -0500
Received: (from doug@localhost)
	by ono.intellivoice.com (8.8.7/8.8.7) id LAA09684;
	Wed, 24 Feb 1999 11:58:02 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu> <m3n224r26d.fsf@ono.intellivoice.com> <qrrpv704i3q.fsf@elwha.cs.washington.edu> <m390dnrcxk.fsf@ono.intellivoice.com> <m3678rn3rq.fsf@eho.eaglets.com>
From: Doug McNaught <dmcnaught@intellivoice.com>
Date: 24 Feb 1999 11:58:01 -0500
In-Reply-To: Sam Steingold's message of "24 Feb 1999 11:51:53 -0500"
Message-Id: <m3vhgrpwme.fsf@ono.intellivoice.com>
Lines: 41
X-Mailer: Gnus v5.6.9/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> >>>> In message <m390dnrcxk.fsf@ono.intellivoice.com>
> >>>> On the subject of "Re: Fvwm2 development surprises"
> >>>> Sent on 24 Feb 1999 11:20:23 -0500
> >>>> Honorable Doug McNaught <dmcnaught@intellivoice.com> writes:
>  >> 
>  >> One interesting thing we may want to look at is the way RedHat's
>  >> AnotherLevel generates the fvwm2 configs on the fly via m4.  A lot
>  >> of out-of-the-box RH users are probably doing that--it might be nice
>  >> to have scwm do the m4 preprocessing just as fvwm2 does, then
>  >> convert the resulting file.  It wouldn't be that much more work once
>  >> the converter is written (and would be a reason to port the
>  >> converter to Guile, I think).
> 
> ditch the middleman: instead of
>         config --[m4]--> fvwm2rc --[perl/guile]--> scwmrc
> do
>         config --[guile]--> scwmrc
> or
>         config --[m4]--> scwmrc
> 

That's conceivable, but means either reimplementing m4 in Guile (for
the first alternative) or extensivly hacking the AnotherLevel m4
sources to generate Scheme rather than fvwm2 config language.  The
latter kind of defeats the purpose of being able to run an OOB
AnotherLevel config under scwm.

> [isn't is a pity that m4 is so popular?  yet another lousy scripting
>  language - as if we didn't have enough already!  I thought the whole
>  idea behind guile was to avoid this kind of crap! :-]

Well, it's a macro language rather than a scripting language.  No
offense, but are you clear on the distinction?  

-Doug
-- 
Doug McNaught                                      dmcnaught@intellivoice.com
Senior Network Engineer
Intellivoice Communications, Inc                  http://www.intellivoice.com

From owner-scwm-discuss@mit.edu  Wed Feb 24 12:31:05 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA14104
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 12:31:05 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA14101
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 12:31:04 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA23949; Wed, 24 Feb 99 12:31:35 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Wed, 24 Feb 1999 12:30:32 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Wed, 24 Feb 1999 12:30:31 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id MAA22212;
	Wed, 24 Feb 1999 12:31:00 -0500 (EST)
To: scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu> <m3n224r26d.fsf@ono.intellivoice.com> <qrrpv704i3q.fsf@elwha.cs.washington.edu> <m390dnrcxk.fsf@ono.intellivoice.com> <m3678rn3rq.fsf@eho.eaglets.com> <m3vhgrpwme.fsf@ono.intellivoice.com>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Doug McNaught's message of "24 Feb 1999 11:58:01 -0500"
Date: 24 Feb 1999 12:30:59 -0500
Message-Id: <m31zjfn1yk.fsf@eho.eaglets.com>
Lines: 30
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <m3vhgrpwme.fsf@ono.intellivoice.com>
>>>> On the subject of "Re: Fvwm2 development surprises"
>>>> Sent on 24 Feb 1999 11:58:01 -0500
>>>> Honorable Doug McNaught <dmcnaught@intellivoice.com> writes:
 >> >         config --[m4]--> scwmrc
 >> 
 >> That's conceivable, but means either reimplementing m4 in Guile (for
 >> the first alternative) or extensivly hacking the AnotherLevel m4
 >> sources to generate Scheme rather than fvwm2 config language.  The
 >> latter kind of defeats the purpose of being able to run an OOB
 >> AnotherLevel config under scwm.

not really - just supplying a couple of m4 alternative files would do (I
think). 

 >> > [isn't is a pity that m4 is so popular?  yet another lousy scripting
 >> >  language - as if we didn't have enough already!  I thought the whole
 >> >  idea behind guile was to avoid this kind of crap! :-]
 >> 
 >> Well, it's a macro language rather than a scripting language.  No
 >> offense, but are you clear on the distinction?

No, I am not.  I assumed that "macro language" is a crippled "scripting
language".   Please correct me.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
There is Truth, and its value is T.  Or just non-NIL.  So 0 is True!

From owner-scwm-discuss@mit.edu  Wed Feb 24 12:38:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA14168
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 12:38:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA14165
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 12:38:44 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA05975; Wed, 24 Feb 99 12:38:31 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id MAA01136;
	Wed, 24 Feb 1999 12:28:56 -0500 (EST)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id MAA18602;
	Wed, 24 Feb 1999 12:38:41 -0500 (EST)
Message-Id: <36D43893.D0A30D89@alum.mit.edu>
Date: Wed, 24 Feb 1999 12:36:19 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: sds@goems.com
Cc: Doug McNaught <dmcnaught@intellivoice.com>,
        Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu> <m3n224r26d.fsf@ono.intellivoice.com> <qrrpv704i3q.fsf@elwha.cs.washington.edu> <m390dnrcxk.fsf@ono.intellivoice.com> <m3678rn3rq.fsf@eho.eaglets.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold wrote:
> 
> >>>> In message <m390dnrcxk.fsf@ono.intellivoice.com>
> >>>> On the subject of "Re: Fvwm2 development surprises"
> >>>> Sent on 24 Feb 1999 11:20:23 -0500
> >>>> Honorable Doug McNaught <dmcnaught@intellivoice.com> writes:
>  >>
>  >> One interesting thing we may want to look at is the way RedHat's
>  >> AnotherLevel generates the fvwm2 configs on the fly via m4.  A lot
>  >> of out-of-the-box RH users are probably doing that--it might be nice
>  >> to have scwm do the m4 preprocessing just as fvwm2 does, then
>  >> convert the resulting file.  It wouldn't be that much more work once
>  >> the converter is written (and would be a reason to port the
>  >> converter to Guile, I think).
> 
> ditch the middleman: instead of
>         config --[m4]--> fvwm2rc --[perl/guile]--> scwmrc
> do
>         config --[guile]--> scwmrc
> or
>         config --[m4]--> scwmrc
> 
> [isn't is a pity that m4 is so popular?  yet another lousy scripting
>  language - as if we didn't have enough already!  I thought the whole
>  idea behind guile was to avoid this kind of crap! :-]
> 

It would be nice if the generated scwmrc provided the same runtime
dynamic setup that the m4 stuff was put there to support in the first
place. However, parsing and translating m4 is probably a _much_ hairier
task than parsing and translating the fvwmrc language.

From owner-scwm-discuss@mit.edu  Wed Feb 24 12:53:23 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA14303
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 12:53:23 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id MAA14300
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 12:53:23 -0500
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id MAA01276
	for <scwm-discuss@ph.mit.edu>; Wed, 24 Feb 1999 12:43:36 -0500 (EST)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id MAA19239
	for <scwm-discuss@ph.mit.edu>; Wed, 24 Feb 1999 12:53:21 -0500 (EST)
Message-ID: <36D43C05.369D6407@alum.mit.edu>
Date: Wed, 24 Feb 1999 12:51:01 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
MIME-Version: 1.0
To: scwm-discuss@mit.edu
Subject: fvwmrc --> scwmrc translator
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Since people are actively discussing this, I thought I'd post some
thoughts.

Most simple fvwm2 commands can trivially be translated into the
equivalent scwm code. They can be parsed line by line and context
can be ignored entirely. You'll see not unreasonable translations
of many of those in the (app scwm fvwm-eval) module.

Where you run into trouble is with the various AddTo commands. Fvwm2
does not really have the concept of a proper function or menu definition
(or decor for that matter). This introduces two key annoyances:

1) Function and menu defintions can be non-contiguous. If you think
real fvwm2rcs don't depend on this "feature", than unfortunately you
are wrong. Fortunately, they generally only depend on one non-contiguous
definition that are actually in the rc file; I have yet to see one
that does AddToFunc's based on user interaction (well, not counting
the FvwmTalk module).

2) The magical context-sensitive "+" command is used to continue
a menu or function definition. Thus, when parsing a "+" command line,
you have to remember what the last command was. Actually, it's worse
than that, you have to remember the last command that supports +-extension,
because the way fvwm is written you can, in theory at least, put
in arbitrary other non-+-continuable commands in between a command
and its +-continuation.


Another important point to consider is which fvwm version's rc language
do we target? Red Hat ships with one of the 2.04x versions, but the
fvwm gang has recently released 2.2. The language differences are
quite extensive, and often not backward-compatible - and they didn't 
provide a converter.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 24 13:47:48 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA14636
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 13:47:48 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA14633
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 13:47:47 -0500
Received: from pool-209-138-71-5.generic.grid.net by MIT.EDU with SMTP
	id AA18259; Wed, 24 Feb 99 13:48:18 EST
Received: from ono.intellivoice.com (ONO [192.168.14.106]) by mail.intellivoice.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9)
	id FQQLGL6H; Wed, 24 Feb 1999 13:48:03 -0500
Received: (from doug@localhost)
	by ono.intellivoice.com (8.8.7/8.8.7) id NAA09840;
	Wed, 24 Feb 1999 13:46:26 -0500
To: scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu> <m3n224r26d.fsf@ono.intellivoice.com> <qrrpv704i3q.fsf@elwha.cs.washington.edu> <m390dnrcxk.fsf@ono.intellivoice.com> <m3678rn3rq.fsf@eho.eaglets.com> <m3vhgrpwme.fsf@ono.intellivoice.com> <m31zjfn1yk.fsf@eho.eaglets.com>
From: Doug McNaught <dmcnaught@intellivoice.com>
Date: 24 Feb 1999 13:46:25 -0500
In-Reply-To: Sam Steingold's message of "24 Feb 1999 12:30:59 -0500"
Message-Id: <m3ogmjprlq.fsf@ono.intellivoice.com>
Lines: 44
X-Mailer: Gnus v5.6.9/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> >>>> In message <m3vhgrpwme.fsf@ono.intellivoice.com>
> >>>> On the subject of "Re: Fvwm2 development surprises"
> >>>> Sent on 24 Feb 1999 11:58:01 -0500
> >>>> Honorable Doug McNaught <dmcnaught@intellivoice.com> writes:
>  >> >         config --[m4]--> scwmrc
>  >> 
>  >> That's conceivable, but means either reimplementing m4 in Guile (for
>  >> the first alternative) or extensivly hacking the AnotherLevel m4
>  >> sources to generate Scheme rather than fvwm2 config language.  The
>  >> latter kind of defeats the purpose of being able to run an OOB
>  >> AnotherLevel config under scwm.
> 
> not really - just supplying a couple of m4 alternative files would do (I
> think). 
> 
>  >> > [isn't is a pity that m4 is so popular?  yet another lousy scripting
>  >> >  language - as if we didn't have enough already!  I thought the whole
>  >> >  idea behind guile was to avoid this kind of crap! :-]
>  >> 
>  >> Well, it's a macro language rather than a scripting language.  No
>  >> offense, but are you clear on the distinction?
> 
> No, I am not.  I assumed that "macro language" is a crippled "scripting
> language".   Please correct me.

Well, a "macro language" such as m4 is a way to define a set of
substitutions to be done on text as it's passed through the macro
processor.  Think of m4 as /lib/cpp on serious steroids.  So the RH
AnotherLevel files are not scripts, but lots of fvwm2rc data with
embedded m4 directives.  To use m4 to generate a .scwmrc from them,
you'd have to translate them into Scheme with embedded m4 directives,
which means replacing the originals--not too useful, really.

You can do anything with a scripting language (such as Perl, Scheme or 
even C) that you can do with m4, but the paradigm is totally
different.

-Doug
-- 
Doug McNaught                                      dmcnaught@intellivoice.com
Senior Network Engineer
Intellivoice Communications, Inc                  http://www.intellivoice.com

From owner-scwm-discuss@mit.edu  Wed Feb 24 14:02:55 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA14746
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 14:02:55 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA14743
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 14:02:54 -0500
Received: from pool-209-138-71-5.generic.grid.net by MIT.EDU with SMTP
	id AA01771; Wed, 24 Feb 99 14:02:40 EST
Received: from ono.intellivoice.com (ONO [192.168.14.106]) by mail.intellivoice.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9)
	id FQQLGL7H; Wed, 24 Feb 1999 14:03:10 -0500
Received: (from doug@localhost)
	by ono.intellivoice.com (8.8.7/8.8.7) id OAA09867;
	Wed, 24 Feb 1999 14:01:33 -0500
To: scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
References: <36D43C05.369D6407@alum.mit.edu>
From: Doug McNaught <dmcnaught@intellivoice.com>
Date: 24 Feb 1999 14:01:32 -0500
In-Reply-To: Maciej Stachowiak's message of "Wed, 24 Feb 1999 12:51:01 -0500"
Message-Id: <m3lnhnpqwj.fsf@ono.intellivoice.com>
Lines: 50
X-Mailer: Gnus v5.6.9/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> 1) Function and menu defintions can be non-contiguous. If you think
> real fvwm2rcs don't depend on this "feature", than unfortunately you
> are wrong. Fortunately, they generally only depend on one non-contiguous
> definition that are actually in the rc file; I have yet to see one
> that does AddToFunc's based on user interaction (well, not counting
> the FvwmTalk module).

I'm not sure how to handle this on the menu side (haven't looked at
scwm too recently) but on the "function" side, we could define an
"fvwm-equivalent function" as a list of forms to be evaluated in
order; that way an "append" handles the AddToFunc problems.

> 2) The magical context-sensitive "+" command is used to continue
> a menu or function definition. Thus, when parsing a "+" command line,
> you have to remember what the last command was. Actually, it's worse
> than that, you have to remember the last command that supports +-extension,
> because the way fvwm is written you can, in theory at least, put
> in arbitrary other non-+-continuable commands in between a command
> and its +-continuation.

Yes, that looks like the nastiest bit, but it's just a matter of
keeping the context around.  Does the fvwm documentation list
explicitly which commands can be +-continued?

> Another important point to consider is which fvwm version's rc language
> do we target? Red Hat ships with one of the 2.04x versions, but the
> fvwm gang has recently released 2.2. The language differences are
> quite extensive, and often not backward-compatible - and they didn't 
> provide a converter.

Gak.  How annoying of them.  I wonder how fast people will be going to 
2.2...

This factors into another issue I thought of--if RH goes to Gnome in
6.0 (which may or may not happen depending on release schedules) I'm
guessing they will drop AnotherLevel, or at least deemphasize it, and
possibly switch to Enlightenment (no comment) as the standard WM.  How
does that affect the need to translate fvwm2rc files?  I guess there
are a lot of fvwm2 users out there that aren't using AnotherLevel.

> 
>  - Maciej
> 

-- 
Doug McNaught                                      dmcnaught@intellivoice.com
Senior Network Engineer
Intellivoice Communications, Inc                  http://www.intellivoice.com

From owner-scwm-discuss@mit.edu  Wed Feb 24 14:49:32 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA15046
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 14:49:32 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA15043
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 14:49:31 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA09291; Wed, 24 Feb 99 14:50:02 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id OAA02768;
	Wed, 24 Feb 1999 14:39:42 -0500 (EST)
Received: from viewlogic.com (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id OAA25002;
	Wed, 24 Feb 1999 14:49:28 -0500 (EST)
Message-Id: <36D4573B.FE1E1298@viewlogic.com>
Date: Wed, 24 Feb 1999 14:47:07 -0500
From: Maciej Stachowiak <mstachow@viewlogic.com>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Doug McNaught <dmcnaught@intellivoice.com>
Cc: scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
References: <36D43C05.369D6407@alum.mit.edu> <m3lnhnpqwj.fsf@ono.intellivoice.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Doug McNaught wrote:
> 
> Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> 

> I'm not sure how to handle this on the menu side (haven't looked at
> scwm too recently) but on the "function" side, we could define an
> "fvwm-equivalent function" as a list of forms to be evaluated in
> order; that way an "append" handles the AddToFunc problems.
 
Mind you, translating to have correct semantics is not too hard. The
hard part is getting the end result to look like a scwmrc that might
be a good starting point for further customization and shows decent
style, etc etc. Also, avoiding eval is a good thing. Ignoring menus
for the moment, here are three plausible ways of translating AddTofunc's
with intervening stuff:

Original:

AddToFunc "FooBar" Baz

[... random stuff ...]

AddToFunc "FooBar" Quux


Translation 1:

(define (foo-bar) ;; mangle the name somehow to avoid clashes with primitives?
   (baz)
   (quux))

;; translation of random stuff


Translation 2:


(if (not (defined? 'foo-bar))
  (define (foo-bar)
     (lambda () ())))

(set! foo-bar
  (let ((old-foo-bar (if (defined? 'foo-bar) foo-bar (lambda () ()))))
     (lambda ()
       (baz)
       (old-foo-bar))))

;; translation of random stuff 

  
(if (not (defined? 'foo-bar))
  (define (foo-bar)
     (lambda () ())))

(set! foo-bar
  (let ((old-foo-bar (if (defined? 'foo-bar) foo-bar (lambda () ()))))
     (lambda ()
       (quux)
       (old-foo-bar))))


Translation 3:

(define (foo-bar)
  (baz))

;; translation of random stuff 

(set! foo-bar
  (let ((old-foo-bar foo-bar))
     (lambda ()
       (quux)
       (old-foo-bar))))


Translation 2 does not require any global analysis, and is robust against
the user trying to do an AddToFunc at any time, but is butt-ugly. Translation
1 is the most aesthetically pleasing, but can't deal with later AddToFunc's
except by doing a translation-3-like trick. Translation 3 only tries to
know if a function has already been defined or not as far as global analysis
goes (so you need only remember anything textually before you). It could
fall back to Translation 2 for cases where it can't tell (e.g. AddToFunc's in
another function definition). I guess Translation 3 is the best in some
ways since it only gives ugly results when you do something ugly,
namely define a function non-contiguously.


> Yes, that looks like the nastiest bit, but it's just a matter of
> keeping the context around.  Does the fvwm documentation list
> explicitly which commands can be +-continued?

It did so for some, but I am not sure if the list was exhaustive. The
source is, unfortunately, the canonical reference for this.

> Gak.  How annoying of them.  I wonder how fast people will be going to
> 2.2...
> 

That's really hard to guess. Some people have tended to think of fvwm2 as
a "done" project, much like twm or olwm. These people will probably not
be too keen to upgrade unless effectively forced by their vendor. Others
will want to jump on anything new.


> This factors into another issue I thought of--if RH goes to Gnome in
> 6.0 (which may or may not happen depending on release schedules) I'm
> guessing they will drop AnotherLevel, or at least deemphasize it, and
> possibly switch to Enlightenment (no comment) as the standard WM.  How
> does that affect the need to translate fvwm2rc files?  I guess there
> are a lot of fvwm2 users out there that aren't using AnotherLevel.

According to current plans, Red Hat will be moving to Gnome as their standard
desktop and probably Enlightenment (likewise no comment) as the standard
desktop. I sincerely doubt they will drop fvwm2 support entirely however.
Fvwm still at least as big a user base as most of the trendy and actively
maintained window managers.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 24 15:08:50 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA15204
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 15:08:50 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA15201
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 15:08:49 -0500
Received: from pool-209-138-71-5.generic.grid.net by MIT.EDU with SMTP
	id AA16145; Wed, 24 Feb 99 15:09:20 EST
Received: from ono.intellivoice.com (ONO [192.168.14.106]) by mail.intellivoice.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9)
	id FQQLGL97; Wed, 24 Feb 1999 15:09:06 -0500
Received: (from doug@localhost)
	by ono.intellivoice.com (8.8.7/8.8.7) id PAA09936;
	Wed, 24 Feb 1999 15:07:29 -0500
To: Maciej Stachowiak <mstachow@viewlogic.com>
Cc: scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
References: <36D43C05.369D6407@alum.mit.edu> <m3lnhnpqwj.fsf@ono.intellivoice.com> <36D4573B.FE1E1298@viewlogic.com>
From: Doug McNaught <dmcnaught@intellivoice.com>
Date: 24 Feb 1999 15:07:27 -0500
In-Reply-To: Maciej Stachowiak's message of "Wed, 24 Feb 1999 14:47:07 -0500"
Message-Id: <m3g17vpnuo.fsf@ono.intellivoice.com>
Lines: 77
X-Mailer: Gnus v5.6.9/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@viewlogic.com> writes:

> Mind you, translating to have correct semantics is not too hard. The
> hard part is getting the end result to look like a scwmrc that might
> be a good starting point for further customization and shows decent
> style, etc etc. Also, avoiding eval is a good thing. 

Yeah, point taken.

>                                                      Ignoring menus
> for the moment, here are three plausible ways of translating AddTofunc's
> with intervening stuff:
> 
> Original:
> 
> AddToFunc "FooBar" Baz
> 
> [... random stuff ...]
> 
> AddToFunc "FooBar" Quux
> 
> 
> Translation 1:
[...]
> Translation 2:
[...]
> Translation 3:
> 
> (define (foo-bar)
>   (baz))
> 
> ;; translation of random stuff 
> 
> (set! foo-bar
>   (let ((old-foo-bar foo-bar))
>      (lambda ()
>        (quux)
>        (old-foo-bar))))
> 
> Translation 2 does not require any global analysis, and is robust against
> the user trying to do an AddToFunc at any time, but is butt-ugly. Translation
> 1 is the most aesthetically pleasing, but can't deal with later AddToFunc's
> except by doing a translation-3-like trick. Translation 3 only tries to
> know if a function has already been defined or not as far as global analysis
> goes (so you need only remember anything textually before you). It could
> fall back to Translation 2 for cases where it can't tell (e.g. AddToFunc's in
> another function definition). I guess Translation 3 is the best in some
> ways since it only gives ugly results when you do something ugly,
> namely define a function non-contiguously.

Yeah, I pretty much agree.  Hmmm, can AddToFunc's be executed
dynamically?  EG, a menu item that appends something to an existing
function?  That would be quite annoying and would make the Scheme
level even uglier.

> > Yes, that looks like the nastiest bit, but it's just a matter of
> > keeping the context around.  Does the fvwm documentation list
> > explicitly which commands can be +-continued?
> 
> It did so for some, but I am not sure if the list was exhaustive. The
> source is, unfortunately, the canonical reference for this.

And I bet the source is fairly nasty-looking...

> According to current plans, Red Hat will be moving to Gnome as their standard
> desktop and probably Enlightenment (likewise no comment) as the standard
> desktop. I sincerely doubt they will drop fvwm2 support entirely however.
> Fvwm still at least as big a user base as most of the trendy and actively
> maintained window managers.

You're probably right.  

-Doug
-- 
Doug McNaught                                      dmcnaught@intellivoice.com
Senior Network Engineer
Intellivoice Communications, Inc                  http://www.intellivoice.com

From owner-scwm-discuss@mit.edu  Wed Feb 24 15:17:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA15273
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 15:17:33 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA15270
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 15:17:32 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA26916; Wed, 24 Feb 99 15:17:17 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Wed, 24 Feb 1999 15:10:51 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Wed, 24 Feb 1999 15:10:51 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id PAA22446;
	Wed, 24 Feb 1999 15:11:18 -0500 (EST)
To: Maciej Stachowiak <mstachow@viewlogic.com>
Cc: Doug McNaught <dmcnaught@intellivoice.com>, scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
References: <36D43C05.369D6407@alum.mit.edu> <m3lnhnpqwj.fsf@ono.intellivoice.com> <36D4573B.FE1E1298@viewlogic.com>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Maciej Stachowiak's message of "Wed, 24 Feb 1999 14:47:07 -0500"
Date: 24 Feb 1999 15:11:18 -0500
Message-Id: <m3n223lfyx.fsf@eho.eaglets.com>
Lines: 22
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <36D4573B.FE1E1298@viewlogic.com>
>>>> On the subject of "Re: fvwmrc --> scwmrc translator"
>>>> Sent on Wed, 24 Feb 1999 14:47:07 -0500
>>>> Honorable Maciej Stachowiak <mstachow@viewlogic.com> writes:
 >> According to current plans, Red Hat will be moving to Gnome as their
 >> standard desktop and probably Enlightenment (likewise no comment) as
 >> the standard desktop. I sincerely doubt they will drop fvwm2 support
 >> entirely however.  Fvwm still at least as big a user base as most of
 >> the trendy and actively maintained window managers.

you might want to look at

http://www.PLiG.org/xwinman/vote.html

if you take the chart there at face value, we need to emulate
enlightenment, not fvwm :-)

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
The only thing worse than X Windows: (X Windows) - X

From owner-scwm-discuss@mit.edu  Wed Feb 24 15:20:50 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA15304
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 15:20:50 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA15300
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 15:20:49 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA28043; Wed, 24 Feb 99 15:20:34 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id PAA03077;
	Wed, 24 Feb 1999 15:10:59 -0500 (EST)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id PAA26369;
	Wed, 24 Feb 1999 15:20:44 -0500 (EST)
Message-Id: <36D45E90.767C883A@alum.mit.edu>
Date: Wed, 24 Feb 1999 15:18:24 -0500
From: Maciej Stachowiak <mstachow@viewlogic.com>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Doug McNaught <dmcnaught@intellivoice.com>
Cc: scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
References: <36D43C05.369D6407@alum.mit.edu> <m3lnhnpqwj.fsf@ono.intellivoice.com> <36D4573B.FE1E1298@viewlogic.com> <m3g17vpnuo.fsf@ono.intellivoice.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Doug McNaught wrote:
> 
> Yeah, I pretty much agree.  Hmmm, can AddToFunc's be executed
> dynamically?  EG, a menu item that appends something to an existing
> function?  That would be quite annoying and would make the Scheme
> level even uglier.

Yes, it can. I don't believe it will make the translation any uglier
than translation 3 if anyone uses this "feature" though.

> 
> > > Yes, that looks like the nastiest bit, but it's just a matter of
> > > keeping the context around.  Does the fvwm documentation list
> > > explicitly which commands can be +-continued?
> >
> > It did so for some, but I am not sure if the list was exhaustive. The
> > source is, unfortunately, the canonical reference for this.
> 
> And I bet the source is fairly nasty-looking...

Yes, but not in a way that's too relevant to figuring this out; I think it's
only necessary to look in functions.c to see what builtin "+" maps to,
and check what that builtin does to determine the last +-capable function.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 24 15:25:25 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA15393
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 15:25:25 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA15390
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 15:25:24 -0500
Received: from pool-209-138-71-5.generic.grid.net by MIT.EDU with SMTP
	id AA21991; Wed, 24 Feb 99 15:25:53 EST
Received: from ono.intellivoice.com (ONO [192.168.14.106]) by mail.intellivoice.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9)
	id FQQLGL0R; Wed, 24 Feb 1999 15:25:39 -0500
Received: (from doug@localhost)
	by ono.intellivoice.com (8.8.7/8.8.7) id PAA09971;
	Wed, 24 Feb 1999 15:24:01 -0500
To: Maciej Stachowiak <mstachow@viewlogic.com>
Cc: scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
References: <36D43C05.369D6407@alum.mit.edu> <m3lnhnpqwj.fsf@ono.intellivoice.com> <36D4573B.FE1E1298@viewlogic.com> <m3g17vpnuo.fsf@ono.intellivoice.com> <36D45E90.767C883A@alum.mit.edu>
From: Doug McNaught <dmcnaught@intellivoice.com>
Date: 24 Feb 1999 15:24:01 -0500
In-Reply-To: Maciej Stachowiak's message of "Wed, 24 Feb 1999 15:18:24 -0500"
Message-Id: <m3d82zpn32.fsf@ono.intellivoice.com>
Lines: 29
X-Mailer: Gnus v5.6.9/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@viewlogic.com> writes:

> Doug McNaught wrote:
> > 
> > Yeah, I pretty much agree.  Hmmm, can AddToFunc's be executed
> > dynamically?  EG, a menu item that appends something to an existing
> > function?  That would be quite annoying and would make the Scheme
> > level even uglier.
> 
> Yes, it can. I don't believe it will make the translation any uglier
> than translation 3 if anyone uses this "feature" though.

Right--we're basically compiling fvwm2rc syntax to Scheme at this
point, and we just have to be careful that the Scheme be executable at 
any point of WM usage.

> > And I bet the source is fairly nasty-looking...
> 
> Yes, but not in a way that's too relevant to figuring this out; I think it's
> only necessary to look in functions.c to see what builtin "+" maps to,
> and check what that builtin does to determine the last +-capable function.

OK, I'll have a look at it once I start hacking.

-Doug
-- 
Doug McNaught                                      dmcnaught@intellivoice.com
Senior Network Engineer
Intellivoice Communications, Inc                  http://www.intellivoice.com

From owner-scwm-discuss@mit.edu  Wed Feb 24 15:40:01 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA15647
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 15:40:01 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA15640
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 15:40:00 -0500
Received: from tis.bellhow.com by MIT.EDU with SMTP
	id AA27255; Wed, 24 Feb 99 15:40:31 EST
Received: by tis.bellhow.com; id PAA18523; Wed, 24 Feb 1999 15:39:58 -0500 (EST)
Received: from mailhost.bellhow.com(198.30.176.2) by tis.bellhow.com via smap (4.1)
	id xma018493; Wed, 24 Feb 99 15:39:39 -0500
Received: from pcw3089.systems.bellhow.com (pcw3089.systems.bellhow.com [192.168.33.217])
	by mailhost.bellhow.com (8.8.8/8.8.8) with SMTP id PAA10294
	for <scwm-discuss@mit.edu>; Wed, 24 Feb 1999 15:39:39 -0500 (EST)
From: smithd@bellhow.com (Dale Smith)
To: scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
Date: Wed, 24 Feb 1999 20:39:39 GMT
Organization: Bell & Howell PSC
Reply-To: dale.smith@bellhow.com
Message-Id: <36d86351.7016278@smtp>
References: <36D43C05.369D6407@alum.mit.edu> <m3lnhnpqwj.fsf@ono.intellivoice.com> <36D4573B.FE1E1298@viewlogic.com> <m3n223lfyx.fsf@eho.eaglets.com>
In-Reply-To: <m3n223lfyx.fsf@eho.eaglets.com>
X-Mailer: Forte Agent 1.5/32.451
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by VICARIOUS-EXISTENCE.MIT.EDU id PAA15642
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 24 Feb 1999 15:11:18 -0500, you wrote:
>you might want to look at
>
>http://www.PLiG.org/xwinman/vote.html
>
>if you take the chart there at face value, we need to emulate
>enlightenment, not fvwm :-)

Enlightenment needs guile as a configuration language!

Dale

From owner-scwm-discuss@mit.edu  Wed Feb 24 15:43:57 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA15702
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 15:43:57 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA15699
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 15:43:56 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA06204; Wed, 24 Feb 99 15:43:41 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id PAA03337;
	Wed, 24 Feb 1999 15:34:02 -0500 (EST)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id PAA27519;
	Wed, 24 Feb 1999 15:43:47 -0500 (EST)
Message-Id: <36D463F6.EE27DEC0@alum.mit.edu>
Date: Wed, 24 Feb 1999 15:41:26 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: sds@goems.com
Cc: Doug McNaught <dmcnaught@intellivoice.com>, scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
References: <36D43C05.369D6407@alum.mit.edu> <m3lnhnpqwj.fsf@ono.intellivoice.com> <36D4573B.FE1E1298@viewlogic.com> <m3n223lfyx.fsf@eho.eaglets.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold wrote:
> 
> you might want to look at
> 
> http://www.PLiG.org/xwinman/vote.html
> 
> if you take the chart there at face value, we need to emulate
> enlightenment, not fvwm :-)

I don't think the chart there is accurate in measuring the relative
number of users of each WM - rather it seems to measure the rabidness
with which they will promote it, given that the poll sample is a
self-selected subset of visitors to a site about windowmanagers.

Most people who use fvwm (or mwm or dtwm or twm) do not feel the same
deep need to promote their WM of choice that most Enlightenment
(and WM and Afterstep) users do.

Another indication that this poll might be inaccurate is that
a recent slashdot poll (still self-selected, but from a more general
population of people interested in free software, unix, etc, rather
than specificly in window managers) had rather different results.

(Incidentally, thanks to everyone who made postive comments about scwm
there.)

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 24 15:45:10 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA15756
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 15:45:10 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA15753
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 15:45:09 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA29016; Wed, 24 Feb 99 15:45:40 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id PAA03373;
	Wed, 24 Feb 1999 15:35:20 -0500 (EST)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id PAA27607;
	Wed, 24 Feb 1999 15:45:06 -0500 (EST)
Message-Id: <36D46445.5F23FDDE@alum.mit.edu>
Date: Wed, 24 Feb 1999 15:42:45 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Doug McNaught <dmcnaught@intellivoice.com>
Cc: Maciej Stachowiak <mstachow@viewlogic.com>, scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
References: <36D43C05.369D6407@alum.mit.edu> <m3lnhnpqwj.fsf@ono.intellivoice.com> <36D4573B.FE1E1298@viewlogic.com> <m3g17vpnuo.fsf@ono.intellivoice.com> <36D45E90.767C883A@alum.mit.edu> <m3d82zpn32.fsf@ono.intellivoice.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Doug McNaught wrote:
> 
> > Yes, but not in a way that's too relevant to figuring this out; I think it's
> > only necessary to look in functions.c to see what builtin "+" maps to,
> > and check what that builtin does to determine the last +-capable function.
> 
> OK, I'll have a look at it once I start hacking.
> 

Good luck, and feel free to post even early works in progress.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 24 15:54:12 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA15919
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 15:54:12 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA15915
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 15:54:11 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA02573; Wed, 24 Feb 99 15:54:43 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id PAA03476;
	Wed, 24 Feb 1999 15:44:22 -0500 (EST)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id PAA28036;
	Wed, 24 Feb 1999 15:54:08 -0500 (EST)
Message-Id: <36D46663.2DF3915B@alum.mit.edu>
Date: Wed, 24 Feb 1999 15:51:47 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: dale.smith@bellhow.com
Cc: scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
References: <36D43C05.369D6407@alum.mit.edu> <m3lnhnpqwj.fsf@ono.intellivoice.com> <36D4573B.FE1E1298@viewlogic.com> <m3n223lfyx.fsf@eho.eaglets.com> <36d86351.7016278@smtp>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Dale Smith wrote:
> 
> On 24 Feb 1999 15:11:18 -0500, you wrote:
> >you might want to look at
> >
> >http://www.PLiG.org/xwinman/vote.html
> >
> >if you take the chart there at face value, we need to emulate
> >enlightenment, not fvwm :-)
> 
> Enlightenment needs guile as a configuration language!
> 

To be honest, I considered making scwm an Enlightenment hack rather
than an fvwm hack intially - it already seemed to have the lead in
graphical configurability, and adding programmability and extensibility
seemed like the logical next step. But I was put off by the fact that 
E beats resources like a hungry brontosaurus, and the frequent
arrogance of the authors.

The current E configuration language is about the ugliest thing
known to man, full of gross use of CPP and random leading underscores
and all-caps. And of course it doesn't have any real programmability.
It makes the Fvwm config language looks well-designed and orthogonal.
Heck, it makes the sendmail.cf language look well-designed and
orthogonal.

I don't think Raster would be keen on guile configurability though.
Have you guys ever heard any of the "Real Programmer" stories from
the 50's and 60's, about guys who would write weird, convoluted code in
hand-tuned machine language set up so the drum head would always be over
the next instruction when the last finished executing it? Well Raster, 
the main Enlightenment author, is of that mold I think - he values 
sheer brute force hacks (rather impressive ones, I might add) over 
elegance.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 24 16:48:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA16445
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 16:48:37 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA16442
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 16:48:36 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA21901; Wed, 24 Feb 99 16:49:07 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA18362; Wed, 24 Feb 1999 13:48:29 -0800 (PST)
To: Doug McNaught <dmcnaught@intellivoice.com>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu> <m3n224r26d.fsf@ono.intellivoice.com> <qrrpv704i3q.fsf@elwha.cs.washington.edu> <m390dnrcxk.fsf@ono.intellivoice.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Feb 1999 13:48:29 -0800
In-Reply-To: Doug McNaught's message of "24 Feb 1999 11:20:23 -0500"
Message-Id: <qrriucr4gnm.fsf@elwha.cs.washington.edu>
Lines: 57
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Doug McNaught <dmcnaught@intellivoice.com> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > If I were doing it, I'd be writing it in Perl, for sure.  And though
> > I've little time to oversee it, I'll gladly help, contribute, and test.
> > I'd love to see this get started right away!  (And it's not unheard of
> > to convert to guile after an implementation already exists if we want to 
> > for [IMO somewhat silly] political reasons).
> 
> Makes sense.  I just don't want to climb half the fvwm2 learning curve 
> (I've used it but not done anything really cute with it) and the guile 
> text parsing learning curve at the same time...
> 
> One interesting thing we may want to look at is the way RedHat's
> AnotherLevel generates the fvwm2 configs on the fly via m4.  A lot of
> out-of-the-box RH users are probably doing that--it might be nice to
> have scwm do the m4 preprocessing just as fvwm2 does, then convert the 
> resulting file.  It wouldn't be that much more work once the converter 
> is written (and would be a reason to port the converter to Guile, I
> think). 


Ahhh yes... AnotherLevel--- look closely at that and you'll see I'm to
blame for inflicting RedHat users with the glories of m4 pre-processing
(AnotherLevel descended from my TheNextLevel which was my super-fancy
m4-based fvwm2 configuration that won the RedHat Desktop Configuration
contest a couple of years ago.)  I'd have Scwm just run m4 and deal with 
the resulting file.  My .scwmrc is modelled after my TheNextLevel
(before RedHat renamed it to AnotherLevel and changed it a bit) and the
configuration options it permits roughly correspond to the `user-config' 
file of TNL/AL.

> 
> > It might be useful to outline a design plan on this list and build a
> > small set of reasonably complete .fvwm2rc-s that you can use as examples 
> > and completeness benchmarks.
> 
> Most definitely!  That would be very helpful.  
> 
> I would guess that if we can parse and convert the output of the RH
> AnotherLevel stuff (which is made up of about 20 files, all run
> through M4 and concatenated) we will be in very good shape. 

Sounds good to me-- a reasonably thorough test, for sure.  Although, of
course, we'll be losing the abstractions provided in m4 (which is why
the right thing to do for AnotherLevel is just have a .scwmrc that
exposes the same options written natively from the unprocessed m4 code
-- but that doesn't make the post-preprocessed code any less useful for testing).

Greg


> As far as getting started, I will wait until 0.9.2 comes out and see
> if I can get it and Guile running on my new PowerBook--is anybody
> running scwm on the PPC architecture yet?


From owner-scwm-discuss@mit.edu  Wed Feb 24 16:51:12 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA16466
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 16:51:12 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA16463
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 16:51:12 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AB22917; Wed, 24 Feb 99 16:51:43 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA18496; Wed, 24 Feb 1999 13:51:07 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: sds@goems.com, Doug McNaught <dmcnaught@intellivoice.com>,
        scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu> <m3n224r26d.fsf@ono.intellivoice.com> <qrrpv704i3q.fsf@elwha.cs.washington.edu> <m390dnrcxk.fsf@ono.intellivoice.com> <m3678rn3rq.fsf@eho.eaglets.com> <36D43893.D0A30D89@alum.mit.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Feb 1999 13:51:06 -0800
In-Reply-To: Maciej Stachowiak's message of "Wed, 24 Feb 1999 12:36:19 -0500"
Message-Id: <qrrhfsb4gj9.fsf@elwha.cs.washington.edu>
Lines: 41
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Sam Steingold wrote:
> > 
> > >>>> In message <m390dnrcxk.fsf@ono.intellivoice.com>
> > >>>> On the subject of "Re: Fvwm2 development surprises"
> > >>>> Sent on 24 Feb 1999 11:20:23 -0500
> > >>>> Honorable Doug McNaught <dmcnaught@intellivoice.com> writes:
> >  >>
> >  >> One interesting thing we may want to look at is the way RedHat's
> >  >> AnotherLevel generates the fvwm2 configs on the fly via m4.  A lot
> >  >> of out-of-the-box RH users are probably doing that--it might be nice
> >  >> to have scwm do the m4 preprocessing just as fvwm2 does, then
> >  >> convert the resulting file.  It wouldn't be that much more work once
> >  >> the converter is written (and would be a reason to port the
> >  >> converter to Guile, I think).
> > 
> > ditch the middleman: instead of
> >         config --[m4]--> fvwm2rc --[perl/guile]--> scwmrc
> > do
> >         config --[guile]--> scwmrc
> > or
> >         config --[m4]--> scwmrc
> > 
> > [isn't is a pity that m4 is so popular?  yet another lousy scripting
> >  language - as if we didn't have enough already!  I thought the whole
> >  idea behind guile was to avoid this kind of crap! :-]
> > 
> 
> It would be nice if the generated scwmrc provided the same runtime
> dynamic setup that the m4 stuff was put there to support in the first
> place. However, parsing and translating m4 is probably a _much_ hairier
> task than parsing and translating the fvwmrc language.

Yes... and not worth it.  If we deal with people's raw fvwm2, that'd be
great.  I'll look at what AnotherLevel now is and make a .scwmrc that
has the same abstractions (done right) and is user-configurable in the
same sort of way; that'll cover those users who are using
TNL/AnotherLevel largely unchanged w/o dropping any abstractions.

Greg

From owner-scwm-discuss@mit.edu  Wed Feb 24 16:58:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA16565
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 16:58:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA16560
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 16:58:44 -0500
Received: from pool-209-138-71-5.generic.grid.net by MIT.EDU with SMTP
	id AA25343; Wed, 24 Feb 99 16:59:15 EST
Received: from ono.intellivoice.com (ONO [192.168.14.106]) by mail.intellivoice.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9)
	id FQQLGMFR; Wed, 24 Feb 1999 16:59:00 -0500
Received: (from doug@localhost)
	by ono.intellivoice.com (8.8.7/8.8.7) id QAA10226;
	Wed, 24 Feb 1999 16:57:17 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu> <m3n224r26d.fsf@ono.intellivoice.com> <qrrpv704i3q.fsf@elwha.cs.washington.edu> <m390dnrcxk.fsf@ono.intellivoice.com> <qrriucr4gnm.fsf@elwha.cs.washington.edu>
From: Doug McNaught <dmcnaught@intellivoice.com>
Date: 24 Feb 1999 16:57:17 -0500
In-Reply-To: Greg Badros's message of "24 Feb 1999 13:48:29 -0800"
Message-Id: <m37lt7o476.fsf@ono.intellivoice.com>
Lines: 20
X-Mailer: Gnus v5.6.9/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Ahhh yes... AnotherLevel--- look closely at that and you'll see I'm to
> blame for inflicting RedHat users with the glories of m4 pre-processing
> (AnotherLevel descended from my TheNextLevel which was my super-fancy
> m4-based fvwm2 configuration that won the RedHat Desktop Configuration
> contest a couple of years ago.) 

So *you're* the culprit! ;)
 
>                                  I'd have Scwm just run m4 and deal with 
> the resulting file.  

Agreed.  If we can translate *that* output we'll be in good shape.

-Doug
-- 
Doug McNaught                                      dmcnaught@intellivoice.com
Senior Network Engineer
Intellivoice Communications, Inc                  http://www.intellivoice.com

From owner-scwm-discuss@mit.edu  Wed Feb 24 17:23:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA16849
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 17:23:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA16846
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 17:23:08 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA10246; Wed, 24 Feb 99 17:22:54 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA20104; Wed, 24 Feb 1999 14:23:03 -0800 (PST)
To: Chris Bitmead <chris.bitmead@bigfoot.com>
Cc: scwm-discuss@mit.edu
Subject: Re: Fvwm2 development surprises
References: <qrrsobw4n1p.fsf@elwha.cs.washington.edu> <m3n224r26d.fsf@ono.intellivoice.com> <qrrpv704i3q.fsf@elwha.cs.washington.edu> <36D37EE3.EF153BAB@bigfoot.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Feb 1999 14:23:03 -0800
In-Reply-To: Chris Bitmead's message of "Wed, 24 Feb 1999 15:24:03 +1100"
Message-Id: <qrr4sob4f20.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Chris Bitmead <chris.bitmead@bigfoot.com> writes:

>  
> > If I were doing it, I'd be writing it in Perl, for sure.  
> 
> If you wrote it in guile it would have the amusing property that scwm
> would be able to work with fvwm config files. Maybe one day scwm will be
> able to work with mwm and other config files too.
> 
> Not terribly useful I'd agree, but an interesting thought.

I think the expected usage is more: convert once, then learn to tweak
the .scwmrc.

Besides, guile can still invoke a perl converter and eval the output
(and it still might be faster than guile-native scripting -- perl is
damn fast w/ regexps and text handling).

Greg

From owner-scwm-discuss@mit.edu  Wed Feb 24 17:36:21 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA16973
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 17:36:21 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA16970
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 17:36:20 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA14660; Wed, 24 Feb 99 17:36:06 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA20584; Wed, 24 Feb 1999 14:32:55 -0800 (PST)
To: Maciej Stachowiak <mstachow@viewlogic.com>
Cc: Doug McNaught <dmcnaught@intellivoice.com>, scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
References: <36D43C05.369D6407@alum.mit.edu> <m3lnhnpqwj.fsf@ono.intellivoice.com> <36D4573B.FE1E1298@viewlogic.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Feb 1999 14:32:54 -0800
In-Reply-To: Maciej Stachowiak's message of "Wed, 24 Feb 1999 14:47:07 -0500"
Message-Id: <qrr3e3v4ell.fsf@elwha.cs.washington.edu>
Lines: 48
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@viewlogic.com> writes:

> Doug McNaught wrote:
> > 
> > Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> > 
> 
> > I'm not sure how to handle this on the menu side (haven't looked at
> > scwm too recently) but on the "function" side, we could define an
> > "fvwm-equivalent function" as a list of forms to be evaluated in
> > order; that way an "append" handles the AddToFunc problems.
>  
> Mind you, translating to have correct semantics is not too hard. The
> hard part is getting the end result to look like a scwmrc that might
> be a good starting point for further customization and shows decent
> style, etc etc. Also, avoiding eval is a good thing. Ignoring menus
> for the moment, here are three plausible ways of translating AddTofunc's
> with intervening stuff:
> 
> Original:
> 
> AddToFunc "FooBar" Baz
> 
> [... random stuff ...]
> 
> AddToFunc "FooBar" Quux
> 
> 
> Translation 1:
> 
> (define (foo-bar) ;; mangle the name somehow to avoid clashes with primitives?
>    (baz)
>    (quux))
> 
> ;; translation of random stuff

I think all the top-level AddToFunc and "+"s can be statically converted 
to the single scheme function.  When you encounter AddToFunc in a
function or menu (i.e., to be executed at run-time), you do one of the
adding-on-to-the-end semi-magical Scheme incantations.  All functions
should be invoked through thunks (lambdas of no arguments) to defer
binding to be as late as possible, and all functions can be output at
the end of the translation (so ";; translation of random stuff" would
actually go before the definition of 'foo-bar').

Greg



From owner-scwm-discuss@mit.edu  Wed Feb 24 17:37:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA17002
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 17:37:37 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA16999
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 17:37:36 -0500
Received: from floyd.hba.marine.csiro.au by MIT.EDU with SMTP
	id AB07995; Wed, 24 Feb 99 17:38:05 EST
Received: (from gray@localhost)
	by floyd.hba.marine.csiro.au (8.9.0/8.8.5) id JAA04533;
	Thu, 25 Feb 1999 09:37:23 +1100
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Thu, 25 Feb 1999 09:37:23 +1100 (EDT)
From: Randall.Gray@marine.csiro.au
To: scwm-discuss@mit.edu
Subject: fvwmrc --> scwmrc translator
X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs  Lucid
Message-Id: <14036.32398.803196.429375@floyd.hba.marine.csiro.au>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


 > Another important point to consider is which fvwm version's rc language
 > do we target? Red Hat ships with one of the 2.04x versions, but the
 > fvwm gang has recently released 2.2. The language differences are
 > quite extensive, and often not backward-compatible - and they didn't 
 > provide a converter.

I guess ideally we'd do a translator for the version with the largest
established base (fvwm2) and hack the guts out of it to make a
translator for the other version.  Of course the fvw, crowd would then 
make a scwmrc->fvwm2.2rc translator and giggle all the way to bed.

-- Randall

From owner-scwm-discuss@mit.edu  Wed Feb 24 17:38:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA17041
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 17:38:42 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA17037
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 17:38:41 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA08386; Wed, 24 Feb 99 17:39:12 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id RAA04834;
	Wed, 24 Feb 1999 17:28:53 -0500 (EST)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id RAA03592;
	Wed, 24 Feb 1999 17:38:37 -0500 (EST)
Message-Id: <36D47EE1.9524F4DF@alum.mit.edu>
Date: Wed, 24 Feb 1999 17:36:17 -0500
From: Maciej Stachowiak <mstachow@viewlogic.com>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
Cc: Doug McNaught <dmcnaught@intellivoice.com>, scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
References: <36D43C05.369D6407@alum.mit.edu> <m3lnhnpqwj.fsf@ono.intellivoice.com> <36D4573B.FE1E1298@viewlogic.com> <qrr3e3v4ell.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> I think all the top-level AddToFunc and "+"s can be statically converted
> to the single scheme function.  When you encounter AddToFunc in a
> function or menu (i.e., to be executed at run-time), you do one of the
> adding-on-to-the-end semi-magical Scheme incantations.  All functions
> should be invoked through thunks (lambdas of no arguments) to defer
> binding to be as late as possible, 

Agreed up to here...

> and all functions can be output at
> the end of the translation (so ";; translation of random stuff" would
> actually go before the definition of 'foo-bar').

But why this? I think it would make more sense for functions to appear
either where the first change occurs or where the last one does.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 24 17:48:08 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA17226
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 17:48:08 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA17223
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 17:48:07 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA11002; Wed, 24 Feb 99 17:48:39 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id RAA04962;
	Wed, 24 Feb 1999 17:38:20 -0500 (EST)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id RAA03989;
	Wed, 24 Feb 1999 17:48:04 -0500 (EST)
Message-Id: <36D48118.D1B9846F@alum.mit.edu>
Date: Wed, 24 Feb 1999 17:45:44 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Randall.Gray@marine.csiro.au
Cc: scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
References: <14036.32398.803196.429375@floyd.hba.marine.csiro.au>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Randall.Gray@marine.csiro.au wrote:
> 
>  > Another important point to consider is which fvwm version's rc language
>  > do we target? Red Hat ships with one of the 2.04x versions, but the
>  > fvwm gang has recently released 2.2. The language differences are
>  > quite extensive, and often not backward-compatible - and they didn't
>  > provide a converter.
> 
> I guess ideally we'd do a translator for the version with the largest
> established base (fvwm2) and hack the guts out of it to make a
> translator for the other version.  Of course the fvw, crowd would then
> make a scwmrc->fvwm2.2rc translator and giggle all the way to bed.

That's not really possible for the full scwmrc language - that's kind of
the point. Here is a trivial statement that not only cannot be translated 
but could not be without hacking fvwm a _lot_ first:

(for-each (lambda (w) (display (window-title w))(newline)) (list-windows))

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Feb 24 17:48:49 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA17245
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 17:48:49 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA17242
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 17:48:48 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA11226; Wed, 24 Feb 99 17:49:19 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA21231; Wed, 24 Feb 1999 14:45:24 -0800 (PST)
To: Maciej Stachowiak <mstachow@viewlogic.com>
Cc: Doug McNaught <dmcnaught@intellivoice.com>, scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
References: <36D43C05.369D6407@alum.mit.edu> <m3lnhnpqwj.fsf@ono.intellivoice.com> <36D4573B.FE1E1298@viewlogic.com> <qrr3e3v4ell.fsf@elwha.cs.washington.edu> <36D47EE1.9524F4DF@alum.mit.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Feb 1999 14:45:23 -0800
In-Reply-To: Maciej Stachowiak's message of "Wed, 24 Feb 1999 17:36:17 -0500"
Message-Id: <qrrzp632zgc.fsf@elwha.cs.washington.edu>
Lines: 27
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@viewlogic.com> writes:

> Greg Badros wrote:
> > 
> > I think all the top-level AddToFunc and "+"s can be statically converted
> > to the single scheme function.  When you encounter AddToFunc in a
> > function or menu (i.e., to be executed at run-time), you do one of the
> > adding-on-to-the-end semi-magical Scheme incantations.  All functions
> > should be invoked through thunks (lambdas of no arguments) to defer
> > binding to be as late as possible, 
> 
> Agreed up to here...
> 
> > and all functions can be output at
> > the end of the translation (so ";; translation of random stuff" would
> > actually go before the definition of 'foo-bar').
> 
> But why this? I think it would make more sense for functions to appear
> either where the first change occurs or where the last one does.

Why not?  You can do it in one pass if you just postpone all the
possibly-continued elements until the end when you know they are not
continued.  I've got kind of a simple model for how all this might work, 
but I don't see any problems with it since fvwm2 is a damn restricted
configuration language (thankfully!)

Greg

From owner-scwm-discuss@mit.edu  Wed Feb 24 17:54:32 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA17376
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 17:54:32 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA17373
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 17:54:31 -0500
Received: from floyd.hba.marine.csiro.au by MIT.EDU with SMTP
	id AA12958; Wed, 24 Feb 99 17:55:00 EST
Received: (from gray@localhost)
	by floyd.hba.marine.csiro.au (8.9.0/8.8.5) id JAA04577;
	Thu, 25 Feb 1999 09:54:26 +1100
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Thu, 25 Feb 1999 09:54:26 +1100 (EDT)
From: Randall.Gray@marine.csiro.au
To: scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
In-Reply-To: <36D46663.2DF3915B@alum.mit.edu>
References: <36D43C05.369D6407@alum.mit.edu>
	<m3lnhnpqwj.fsf@ono.intellivoice.com>
	<36D4573B.FE1E1298@viewlogic.com>
	<m3n223lfyx.fsf@eho.eaglets.com>
	<36d86351.7016278@smtp>
	<36D46663.2DF3915B@alum.mit.edu>
X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs  Lucid
Message-Id: <14036.32901.382377.497948@floyd.hba.marine.csiro.au>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Can I make an observation?  A lot of the icky cruft arising from the
non-contiguity of "+" continuations could be resolved neatly by having
a two pass translator -- the first pass would serve mainly to make
things appropriately tidy, the second for the conversion from fvwm2 to
scwm.  I know that the generation of temp files (or structures) is not
really ideal, but I seem to recall that there are whole classes of
languages that require state information to be preserved for arbitrary
amounts of time (German? COBOL?) -- translating from such a beast to
another will require that the state information be preserved.

In a very crufty way

sed -e '/^ *AddTo/d' -e '/^ *+/d' < .fvwm.m4 > SORTED.fvwm2rc
sed -n -e '/^ *AddTo/p' -e '/^ *+/p' < .fvwm2rc >> SORTED.fvwm2rc

meets the criterion of making things contiguous.  Of course it looses
if there are dependencies in the "non-menu/function" part upon things
already defined in the "menu/function/ part.

-- Randall

From owner-scwm-discuss@mit.edu  Wed Feb 24 17:58:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA17397
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 17:58:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA17394
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 17:58:06 -0500
Received: from pool-209-138-71-5.generic.grid.net by MIT.EDU with SMTP
	id AA21263; Wed, 24 Feb 99 17:57:52 EST
Received: from ono.intellivoice.com (ONO [192.168.14.106]) by mail.intellivoice.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9)
	id FQQLGM26; Wed, 24 Feb 1999 17:58:23 -0500
Received: (from doug@localhost)
	by ono.intellivoice.com (8.8.7/8.8.7) id RAA10382;
	Wed, 24 Feb 1999 17:56:45 -0500
To: Randall.Gray@marine.csiro.au
Cc: scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
References: <14036.32398.803196.429375@floyd.hba.marine.csiro.au>
From: Doug McNaught <dmcnaught@intellivoice.com>
Date: 24 Feb 1999 17:56:44 -0500
In-Reply-To: Randall.Gray@marine.csiro.au's message of "Thu, 25 Feb 1999 09:37:23 +1100 (EDT)"
Message-Id: <m3k8x7mmvn.fsf@ono.intellivoice.com>
Lines: 20
X-Mailer: Gnus v5.6.9/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Randall.Gray@marine.csiro.au writes:

>  > Another important point to consider is which fvwm version's rc language
>  > do we target? Red Hat ships with one of the 2.04x versions, but the
>  > fvwm gang has recently released 2.2. The language differences are
>  > quite extensive, and often not backward-compatible - and they didn't 
>  > provide a converter.
> 
> I guess ideally we'd do a translator for the version with the largest
> established base (fvwm2) and hack the guts out of it to make a
> translator for the other version.  Of course the fvw, crowd would then 
> make a scwmrc->fvwm2.2rc translator and giggle all the way to bed.

If they can do that, they deserve a Turing Award!

-Doug
-- 
Doug McNaught                                      dmcnaught@intellivoice.com
Senior Network Engineer
Intellivoice Communications, Inc                  http://www.intellivoice.com

From owner-scwm-discuss@mit.edu  Wed Feb 24 18:02:25 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA17424
	for scwm-discuss-outgoing; Wed, 24 Feb 1999 18:02:25 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA17421
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Feb 1999 18:02:24 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA22364; Wed, 24 Feb 99 18:02:11 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA22095; Wed, 24 Feb 1999 15:02:11 -0800 (PST)
To: Randall.Gray@marine.csiro.au
Cc: scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
References: <36D43C05.369D6407@alum.mit.edu> 	<m3lnhnpqwj.fsf@ono.intellivoice.com> 	<36D4573B.FE1E1298@viewlogic.com> 	<m3n223lfyx.fsf@eho.eaglets.com> 	<36d86351.7016278@smtp> 	<36D46663.2DF3915B@alum.mit.edu> <14036.32901.382377.497948@floyd.hba.marine.csiro.au>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Feb 1999 15:02:10 -0800
In-Reply-To: Randall.Gray@marine.csiro.au's message of "Thu, 25 Feb 1999 09:54:26 +1100 (EDT)"
Message-Id: <qrrlnhn2yod.fsf@elwha.cs.washington.edu>
Lines: 31
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Randall.Gray@marine.csiro.au writes:

> Can I make an observation?  A lot of the icky cruft arising from the
> non-contiguity of "+" continuations could be resolved neatly by having
> a two pass translator -- the first pass would serve mainly to make
> things appropriately tidy, the second for the conversion from fvwm2 to
> scwm.  I know that the generation of temp files (or structures) is not
> really ideal, but I seem to recall that there are whole classes of
> languages that require state information to be preserved for arbitrary
> amounts of time (German? COBOL?) -- translating from such a beast to
> another will require that the state information be preserved.
> 
> In a very crufty way
> 
> sed -e '/^ *AddTo/d' -e '/^ *+/d' < .fvwm.m4 > SORTED.fvwm2rc
> sed -n -e '/^ *AddTo/p' -e '/^ *+/p' < .fvwm2rc >> SORTED.fvwm2rc
> 
> meets the criterion of making things contiguous.  Of course it looses
> if there are dependencies in the "non-menu/function" part upon things
> already defined in the "menu/function/ part.

I don't think it's necessary, though, as we can just have a perl hash
table go from function names to the text of that function, and have a
global variable that tracks what "+" will apply to.  Then we can
translate all the functions at the end.  Since all calls of fvwm2
functions will be thunk-ified (i.e., '(lambda () (a-fvwm-function arg1
arg2))'), there won't be any ugly dependencies.

Please correct me if I've not thought this stuff through enough.

Greg

From owner-scwm-discuss@mit.edu  Thu Feb 25 04:42:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA21354
	for scwm-discuss-outgoing; Thu, 25 Feb 1999 04:42:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA21351
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Feb 1999 04:42:03 -0500
Received: from saturn.math.uaa.alaska.edu by MIT.EDU with SMTP
	id AA02450; Thu, 25 Feb 99 04:41:43 EST
Received: from localhost (crippenj@localhost)
	by saturn.math.uaa.alaska.edu (8.9.1a/8.9.1) with SMTP id AAA07692
	for <scwm-discuss@mit.edu>; Thu, 25 Feb 1999 00:41:54 -0900 (AKST)
Date: Thu, 25 Feb 1999 00:41:53 -0900 (AKST)
From: "James A. Crippen" <crippenj@saturn.math.uaa.alaska.edu>
To: SCWM Discussion <scwm-discuss@mit.edu>
Subject: Problems with 0.9 on i586 Linux
Message-Id: <Pine.OSF.3.93.990224232240.7659H-100000@saturn.math.uaa.alaska.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I've been a quiet tho faithful user of SCWM since 0.7 or so (maybe earlier
but I don't remember and haven't got any tarballs left).  Of course when
0.9beta1 came out I immediately upgraded without a hitch.  When 0.9 came
around I went to do the same, but I got make errors.  So I put it on the
back burner figuring I'd fiddle with the problem and maybe someone else
would solve it before I did, thus saving me time to do scheme hacking.  No
such luck.  Here's the relevant informash then:

root@lambda:~# uname -a 
Linux lambda 2.0.36 #2 Mon Jan 25 01:40:35 AKST 1999 i586 unknown
root@lambda:~# cat /etc/redhat-release 
Red Hat Linux release 5.2 (Apollo)
root@lambda:~# ll /usr/lib/libguile.*
-rw-r--r--   1 root     root      1680998 Sep 11 00:26 /usr/lib/libguile.a
-rw-r--r--   1 root     root          413 Sep 11 00:26
/usr/lib/libguile.la
lrwxrwxrwx   1 root     root           17 Jan 20 16:18
/usr/lib/libguile.so -> libguile.so.2.0.0
lrwxrwxrwx   1 root     root           17 Sep 13 18:51
/usr/lib/libguile.so.2 -> libguile.so.2.0.0
-rw-r--r--   1 root     root       368708 Sep 11 00:26
/usr/lib/libguile.so.2.0.0
lrwxrwxrwx   1 root     root           17 Jan  6 01:45
/usr/lib/libguile.so.4 -> libguile.so.4.0.0
-rw-r--r--   1 root     root      1177529 Jan  6 01:45
/usr/lib/libguile.so.4.0.0
root@lambda:~# cat scwm-config.cache
# This file is a shell script that caches the results of configure
[...]
ac_cv_c_const=${ac_cv_c_const=yes}
ac_cv_c_inline=${ac_cv_c_inline=inline}
ac_cv_func_connect=${ac_cv_func_connect=yes}
ac_cv_func_gethostbyname=${ac_cv_func_gethostbyname=yes}
ac_cv_func_gethostname=${ac_cv_func_gethostname=yes}
ac_cv_func_getopt_long=${ac_cv_func_getopt_long=yes}
ac_cv_func_remove=${ac_cv_func_remove=yes}
ac_cv_func_setlinebuf=${ac_cv_func_setlinebuf=yes}
ac_cv_func_setvbuf=${ac_cv_func_setvbuf=yes}
ac_cv_func_shmat=${ac_cv_func_shmat=yes}
ac_cv_func_strcasecmp=${ac_cv_func_strcasecmp=yes}
ac_cv_func_strerror=${ac_cv_func_strerror=yes}
ac_cv_func_strncasecmp=${ac_cv_func_strncasecmp=yes}
ac_cv_func_sysconf=${ac_cv_func_sysconf=yes}
ac_cv_func_uname=${ac_cv_func_uname=yes}
ac_cv_func_usleep=${ac_cv_func_usleep=yes}
ac_cv_func_waitpid=${ac_cv_func_waitpid=yes}
ac_cv_have_x=${ac_cv_have_x='have_x=yes		ac_x_includes=/usr/X11R6/include ac_x_libraries=/usr/X11R6/lib'}
ac_cv_header_X11_SM_SMlib_h=${ac_cv_header_X11_SM_SMlib_h=yes}
ac_cv_header_getopt_h=${ac_cv_header_getopt_h=yes}
ac_cv_header_minix_config_h=${ac_cv_header_minix_config_h=no}
ac_cv_header_stdc=${ac_cv_header_stdc=yes}
ac_cv_lib_ICE_IceAddConnectionWatch=${ac_cv_lib_ICE_IceAddConnectionWatch=yes}
ac_cv_lib_ICE_IceConnectionNumber=${ac_cv_lib_ICE_IceConnectionNumber=yes}
ac_cv_lib_SM_SmcOpenConnection=${ac_cv_lib_SM_SmcOpenConnection=yes}
ac_cv_lib_X11_XOpenDisplay=${ac_cv_lib_X11_XOpenDisplay=yes}
ac_cv_lib_X11__Xsetlocale=${ac_cv_lib_X11__Xsetlocale=no}
ac_cv_lib_Xext_XShapeCombineMask=${ac_cv_lib_Xext_XShapeCombineMask=yes}
ac_cv_lib_Xmu_XmuPrintDefaultErrorMessage=${ac_cv_lib_Xmu_XmuPrintDefaultErrorMessage=yes}
ac_cv_lib_Xpm_XpmReadFileToPixmap=${ac_cv_lib_Xpm_XpmReadFileToPixmap=yes}
ac_cv_lib_dl_dlopen=${ac_cv_lib_dl_dlopen=yes}
ac_cv_lib_dnet_dnet_ntoa=${ac_cv_lib_dnet_dnet_ntoa=no}
ac_cv_lib_dnet_stub_dnet_ntoa=${ac_cv_lib_dnet_stub_dnet_ntoa=no}
ac_cv_lib_guile_gh_length=${ac_cv_lib_guile_gh_length=no}
ac_cv_lib_guile_gh_vector_ref=${ac_cv_lib_guile_gh_vector_ref=no}
ac_cv_lib_guile_gh_vector_set_x=${ac_cv_lib_guile_gh_vector_set_x=no}
ac_cv_lib_guile_scm_done_malloc=${ac_cv_lib_guile_scm_done_malloc=no}
ac_cv_lib_guile_scm_handle_by_message_noexit=${ac_cv_lib_guile_scm_handle_by_message_noexit=yes}
ac_cv_lib_guile_scm_internal_cwdr=${ac_cv_lib_guile_scm_internal_cwdr=no}
ac_cv_lib_guile_scm_internal_parse_path=${ac_cv_lib_guile_scm_internal_parse_path=no}
ac_cv_lib_guile_scm_internal_select=${ac_cv_lib_guile_scm_internal_select=no}
ac_cv_lib_guile_scm_internal_stack_catch=${ac_cv_lib_guile_scm_internal_stack_catch=no}
ac_cv_lib_guile_scm_load_startup_files=${ac_cv_lib_guile_scm_load_startup_files=no}
ac_cv_lib_guile_scm_make_hook=${ac_cv_lib_guile_scm_make_hook=no}
ac_cv_lib_guile_scm_parse_path=${ac_cv_lib_guile_scm_parse_path=no}
ac_cv_lib_guile_scm_puts=${ac_cv_lib_guile_scm_puts=no}
ac_cv_lib_guile_scm_readline=${ac_cv_lib_guile_scm_readline=no}
ac_cv_lib_m_main=${ac_cv_lib_m_main=yes}
ac_cv_lib_m_sin=${ac_cv_lib_m_sin=yes}
ac_cv_lib_qt_main=${ac_cv_lib_qt_main=no}
ac_cv_lib_readline_add_history=${ac_cv_lib_readline_add_history=yes}
ac_cv_lib_readline_readline=${ac_cv_lib_readline_readline=yes}
ac_cv_lib_rx_main=${ac_cv_lib_rx_main=no}
ac_cv_lib_termcap_tgoto=${ac_cv_lib_termcap_tgoto=yes}
ac_cv_path_EMACS=${ac_cv_path_EMACS=no}
ac_cv_path_GTK_CONFIG=${ac_cv_path_GTK_CONFIG=/usr/bin/gtk-config}
ac_cv_path_GUILE=${ac_cv_path_GUILE=/usr/bin/guile}
ac_cv_path_GUILE_CONFIG=${ac_cv_path_GUILE_CONFIG=/usr/bin/guile-config}
ac_cv_path_LD=${ac_cv_path_LD=/usr/bin/ld}
ac_cv_path_NM=${ac_cv_path_NM='/usr/bin/nm -B'}
ac_cv_path_PERL=${ac_cv_path_PERL=/usr/bin/perl}
ac_cv_path_install=${ac_cv_path_install='/usr/bin/install -c'}
ac_cv_prog_CC=${ac_cv_prog_CC=gcc}
ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'}
ac_cv_prog_CXX=${ac_cv_prog_CXX=c++}
ac_cv_prog_GTAR=${ac_cv_prog_GTAR=gtar}
ac_cv_prog_LN_S=${ac_cv_prog_LN_S='ln -s'}
ac_cv_prog_RANLIB=${ac_cv_prog_RANLIB=ranlib}
ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross=no}
ac_cv_prog_cc_g=${ac_cv_prog_cc_g=yes}
ac_cv_prog_cc_works=${ac_cv_prog_cc_works=yes}
ac_cv_prog_cxx_cross=${ac_cv_prog_cxx_cross=no}
ac_cv_prog_cxx_g=${ac_cv_prog_cxx_g=yes}
ac_cv_prog_cxx_works=${ac_cv_prog_cxx_works=yes}
ac_cv_prog_gcc=${ac_cv_prog_gcc=yes}
ac_cv_prog_gnu_ld=${ac_cv_prog_gnu_ld=yes}
ac_cv_prog_gxx=${ac_cv_prog_gxx=yes}
ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set=yes}
am_cv_prog_cc_stdc=${am_cv_prog_cc_stdc=}
scwm_cv_TAR_IS_GNU_TAR=${scwm_cv_TAR_IS_GNU_TAR=yes}
root@lambda:~# cat scwm-make.out #oooh, kinky
root@lambda:~/src/scwm-0.9# make
Making all in scwm
make[1]: Entering directory `/home/root/src/scwm-0.9/scwm'
Generating scwmpaths.h...
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/X11R6/include -I/usr/local/include   -g -O2 -c image.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/X11R6/include -I/usr/local/include   -g -O2 -c miscprocs.c
Generating scm_init_funcs.h...
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/X11R6/include -I/usr/local/include   -g -O2 -c scwm.c
/bin/sh ../libtool --mode=link c++ -g -O2  -o scwm -L/usr/X11R6/lib -export-dynamic Grab.o ICCCM.o add_window.o binding.o borders.o callbacks.o changed.o color.o colormaps.o colors.o complex.o decor.o decorations.o deskpage.o drawmenu.o errors.o events.o 
face.o focus.o font.o getopt.o getopt1.o guile-compat.o icons.o image.o init_scheme_string.o log-usage.o menu.o menuitem.o menulook.o miscprocs.o module-interface.o move.o message-window.o placement.o resize.o screen.o scwm.o shutdown.o string_token.o sys
compat.o system.o util.o virtual.o window.o xmisc.o xproperty.o xrm.o session-manager.o -lSM -lICE -lXext -lXmu -lXpm -lX11  -L/usr/local/lib -lguile -ldl -lm  -lm 
rm -f .libs/scwm.nm .libs/scwm.nmT
extracting global C symbols from `Grab.o'
extracting global C symbols from `ICCCM.o'
extracting global C symbols from `add_window.o'
extracting global C symbols from `binding.o'
extracting global C symbols from `borders.o'
extracting global C symbols from `callbacks.o'
extracting global C symbols from `changed.o'
extracting global C symbols from `color.o'
extracting global C symbols from `colormaps.o'
extracting global C symbols from `colors.o'
extracting global C symbols from `complex.o'
extracting global C symbols from `decor.o'
extracting global C symbols from `decorations.o'
extracting global C symbols from `deskpage.o'
extracting global C symbols from `drawmenu.o'
extracting global C symbols from `errors.o'
extracting global C symbols from `events.o'
extracting global C symbols from `face.o'
extracting global C symbols from `focus.o'
extracting global C symbols from `font.o'
extracting global C symbols from `getopt.o'
extracting global C symbols from `getopt1.o'
extracting global C symbols from `guile-compat.o'
extracting global C symbols from `icons.o'
extracting global C symbols from `image.o'
extracting global C symbols from `init_scheme_string.o'
extracting global C symbols from `log-usage.o'
extracting global C symbols from `menu.o'
extracting global C symbols from `menuitem.o'
extracting global C symbols from `menulook.o'
extracting global C symbols from `miscprocs.o'
extracting global C symbols from `module-interface.o'
extracting global C symbols from `move.o'
extracting global C symbols from `message-window.o'
extracting global C symbols from `placement.o'
extracting global C symbols from `resize.o'
extracting global C symbols from `screen.o'
extracting global C symbols from `scwm.o'
extracting global C symbols from `shutdown.o'
extracting global C symbols from `string_token.o'
extracting global C symbols from `syscompat.o'
extracting global C symbols from `system.o'
extracting global C symbols from `util.o'
extracting global C symbols from `virtual.o'
extracting global C symbols from `window.o'
extracting global C symbols from `xmisc.o'
extracting global C symbols from `xproperty.o'
extracting global C symbols from `xrm.o'
extracting global C symbols from `session-manager.o'
creating .libs/scwmS.c
(cd .libs && c++ -c -fno-builtin "scwmS.c")
c++ -g -O2 -o scwm -L/usr/X11R6/lib .libs/scwmS.o -Wl,--export-dynamic Grab.o ICCCM.o add_window.o binding.o borders.o callbacks.o changed.o color.o colormaps.o colors.o complex.o decor.o decorations.o deskpage.o drawmenu.o errors.o events.o face.o focus.
o font.o getopt.o getopt1.o guile-compat.o icons.o image.o init_scheme_string.o log-usage.o menu.o menuitem.o menulook.o miscprocs.o module-interface.o move.o message-window.o placement.o resize.o screen.o scwm.o shutdown.o string_token.o syscompat.o syst
em.o util.o virtual.o window.o xmisc.o xproperty.o xrm.o session-manager.o -lSM -lICE -lXext -lXmu -lXpm -lX11 -L/usr/local/lib -lguile -ldl -lm -lm
.libs/scwmS.o(.data+0x1160): undefined reference to `gh_bool2scm'
.libs/scwmS.o(.data+0x11e8): undefined reference to `gh_make_vector'
.libs/scwmS.o(.data+0x1200): undefined reference to `gh_reverse'
.libs/scwmS.o(.data+0x1238): undefined reference to `gh_set_car_x'
.libs/scwmS.o(.data+0x1240): undefined reference to `gh_set_cdr_x'
.libs/scwmS.o(.data+0x1ab8): undefined reference to `scm_putc'
.libs/scwmS.o(.data+0x1ac0): undefined reference to `scm_puts'
callbacks.o: In function `WarnBadHook':
/home/root/src/scwm-0.9/scwm/callbacks.c:291: undefined reference to `gh_set_cdr_x'
callbacks.o: In function `add_timer_hook_x':
/home/root/src/scwm-0.9/scwm/callbacks.c:483: undefined reference to `gh_set_cdr_x'
callbacks.o: In function `remove_timer_hook_x':
/home/root/src/scwm-0.9/scwm/callbacks.c:497: undefined reference to `gh_set_cdr_x'
callbacks.o: In function `update_timer_hooks':
/home/root/src/scwm-0.9/scwm/callbacks.c:546: undefined reference to `gh_set_car_x'
callbacks.o: In function `run_timed_out_timers':
/home/root/src/scwm-0.9/scwm/callbacks.c:560: undefined reference to `gh_set_cdr_x'
callbacks.o: In function `add_input_hook_x':
/home/root/src/scwm-0.9/scwm/callbacks.c:607: undefined reference to `gh_set_cdr_x'
/home/root/src/scwm-0.9/scwm/callbacks.c:608: undefined reference to `gh_set_cdr_x'
callbacks.o: In function `remove_input_hook_x':
/home/root/src/scwm-0.9/scwm/callbacks.c:621: undefined reference to `gh_set_cdr_x'
callbacks.o: In function `force_new_input_hooks':
/home/root/src/scwm-0.9/scwm/callbacks.c:662: undefined reference to `gh_set_cdr_x'
color.o: In function `init_color':
/home/root/src/scwm-0.9/scwm/color.c:814: undefined reference to `gh_make_vector'
guile-compat.o: In function `ss_handler':
/home/root/src/scwm-0.9/scwm/guile-compat.c:158: undefined reference to `gh_set_cdr_x'
image.o: In function `init_image':
/home/root/src/scwm-0.9/scwm/image.c:600: undefined reference to `gh_make_vector'
menulook.o: In function `print_menulook':
/home/root/src/scwm-0.9/scwm/menulook.c:45: undefined reference to `scm_puts'
/home/root/src/scwm-0.9/scwm/menulook.c:47: undefined reference to `scm_putc'
scwm.o: In function `Reborder':
/home/root/src/scwm-0.9/scwm/scwm.c:1274: undefined reference to `gh_reverse'
window.o: In function `PswUpdateFlags':
/home/root/src/scwm-0.9/scwm/window.c:136: undefined reference to `gh_bool2scm'
/home/root/src/scwm-0.9/scwm/window.c:141: undefined reference to `gh_bool2scm'
/home/root/src/scwm-0.9/scwm/window.c:142: undefined reference to `gh_bool2scm'
/home/root/src/scwm-0.9/scwm/window.c:156: undefined reference to `gh_bool2scm'
window.o: In function `make_window':
/home/root/src/scwm-0.9/scwm/window.c:451: undefined reference to `gh_make_vector'
xproperty.o: In function `X_property_get':
/home/root/src/scwm-0.9/scwm/xproperty.c:290: undefined reference to `gh_make_vector'
/home/root/src/scwm-0.9/scwm/xproperty.c:297: undefined reference to `gh_make_vector'
collect2: ld returned 1 exit status
make[1]: *** [scwm] Error 1
make[1]: Leaving directory `/home/root/src/scwm-0.9/scwm'
make: *** [all-recursive] Error 1
root@lambda:~/src/scwm-0.9# 

Essentially, gh_* seem to be broken.  I've looked at
/usr/include/guile/gh.h which doesn't seem to contain the requisite
functions.  There are others named scm_* that appear at first glance to
take the appropriate arguments, but I haven't examined them.  I figure
that I could rename the offending calls but that would take way too much
effort so I'm thinking that this might be a configure error.

Not being a guile or SCWM hacker I don't think I know enough to understand
exactly what's going on here.  Perhaps someone who's more clueful can
inform as to what's wrong and could help fix the problem.

If any more detail is required I'll be happy to provide.

(* thanks 1e6)
james

<crippenj at saturn math uaa alaska edu>   Kallisti!   <james at cryptology org>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/MU/O d?(--) s: a--(?) C+++(++++)>$ UBLOS*+++(++++)>$ P+>+++ L+++>$ E++++
W-- N++ o+ K+++>++++ w--- O- M- V--- PS+@ PE@ Y+ PGP>+++ t++@ 5? X? R* !tv
b++++ DI++++ D--- G++>++++ e* h* r--- y-- NT{-} A48 HH++++>* PP+++
------END GEEK CODE BLOCK------


From owner-scwm-discuss@mit.edu  Thu Feb 25 04:54:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA21439
	for scwm-discuss-outgoing; Thu, 25 Feb 1999 04:54:41 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA21436
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Feb 1999 04:54:38 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA24419; Thu, 25 Feb 99 04:55:04 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id LAA24890; Thu, 25 Feb 1999 11:41:07 +0200
To: Maciej Stachowiak <mstachow@viewlogic.com>
Cc: Doug McNaught <dmcnaught@intellivoice.com>, scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
References: <36D43C05.369D6407@alum.mit.edu> <m3lnhnpqwj.fsf@ono.intellivoice.com> <36D4573B.FE1E1298@viewlogic.com>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 25 Feb 1999 11:41:07 +0200
In-Reply-To: Maciej Stachowiak's message of "Wed, 24 Feb 1999 14:47:07 -0500"
Message-Id: <m2lnhmkeh8.fsf@blinky.bfr.co.il>
Lines: 65
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


How about:

(define-macro (add-to-func name . body)
   (if (not (defined? name))
       `(define (,name) ,@body)
      (let ((g (gensym)))
         `(let ((,g ,name))
              (set! ,name (lambda () (,g) ,@body))))))


Then translate:

 > AddToFunc "FooBar" Baz
 > 
 > [... random stuff ...]
 > 
 > AddToFunc "FooBar" Quux

to:

   (add-to-func FooBar (Baz))

   ...

   (add-to-func FooBar (Quux))


Advantages:

 - Clean & straight forward translation.
 - Clear to fvwm user.
 - Works for dynamic AddToFunc calls for which name is already
   defined.

Disadvantages:

 - fvwm user should learn that using add-to-func is a bad idea &
   should really use functions.

I actually think it'd be best to parse the fvwmrc file into an
internal scheme fvwmrc file & then inspect the internal structure to
output an scwmrc file.  But, even so, collecting AddToFunc calls into
one define is problematic because of interdependencies.

Consider:

   AddToFunc  A  foo

   Key F10    R    A    Function A

   AddToFunc  B  bar

   AddToFunc  A  (use B)

The amount of reordering necessary is pretty substantial, requiring
significant dependency analysis.

So, I think the above is the cleanest solution.  Just put
(define-macro (add-to-func ...)) in the fvwm compat library.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Thu Feb 25 10:50:20 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA22815
	for scwm-discuss-outgoing; Thu, 25 Feb 1999 10:50:20 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA22812
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Feb 1999 10:50:15 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA25747; Thu, 25 Feb 99 10:50:38 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id KAA10991;
	Thu, 25 Feb 1999 10:40:17 -0500 (EST)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id KAA00813;
	Thu, 25 Feb 1999 10:50:04 -0500 (EST)
Message-Id: <36D570A0.482B0952@alum.mit.edu>
Date: Thu, 25 Feb 1999 10:47:44 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: "Harvey J. Stein" <hjstein@bfr.co.il>
Cc: Doug McNaught <dmcnaught@intellivoice.com>, scwm-discuss@mit.edu
Subject: Re: fvwmrc --> scwmrc translator
References: <36D43C05.369D6407@alum.mit.edu> <m3lnhnpqwj.fsf@ono.intellivoice.com> <36D4573B.FE1E1298@viewlogic.com> <m2lnhmkeh8.fsf@blinky.bfr.co.il>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Harvey J. Stein wrote: 
>    (add-to-func FooBar (Baz))
> 
>    ...
> 
>    (add-to-func FooBar (Quux))
> 
> Advantages:
> 
>  - Clean & straight forward translation.
>  - Clear to fvwm user.
>  - Works for dynamic AddToFunc calls for which name is already
>    defined.
> 
> Disadvantages:
> 
>  - fvwm user should learn that using add-to-func is a bad idea &
>    should really use functions.

Yeah, that's the biggie - I woul really like this thing to output
a scwmrc that is in a decent style. 

> I actually think it'd be best to parse the fvwmrc file into an
> internal scheme fvwmrc file & then inspect the internal structure to
> output an scwmrc file.  But, even so, collecting AddToFunc calls into
> one define is problematic because of interdependencies.
> 
> Consider:
> 
>    AddToFunc  A  foo
> 
>    Key F10    R    A    Function A
> 
>    AddToFunc  B  bar
> 
>    AddToFunc  A  (use B)
> 
> The amount of reordering necessary is pretty substantial, requiring
> significant dependency analysis.

Actually, Fvwm remembers user-defined functions only by their name so there 
is no order-dependency in this example. You could reorder those four
statements arbitrarily with no change in semantics.

> So, I think the above is the cleanest solution.  Just put
> (define-macro (add-to-func ...)) in the fvwm compat library.

I guess it would be useful anyway for those cases where you can't do the
dependency analysis.

 - Maciej

From owner-scwm-discuss@mit.edu  Thu Feb 25 16:47:04 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA24256
	for scwm-discuss-outgoing; Thu, 25 Feb 1999 16:47:04 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA24253
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Feb 1999 16:47:01 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA27815; Thu, 25 Feb 99 16:47:22 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA02326; Thu, 25 Feb 1999 13:46:41 -0800 (PST)
To: "James A. Crippen" <crippenj@saturn.math.uaa.alaska.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Problems with 0.9 on i586 Linux
References: <Pine.OSF.3.93.990224232240.7659H-100000@saturn.math.uaa.alaska.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Feb 1999 13:46:41 -0800
In-Reply-To: "James A. Crippen"'s message of "Thu, 25 Feb 1999 00:41:53 -0900 (AKST)"
Message-Id: <qrru2waqhq6.fsf@elwha.cs.washington.edu>
Lines: 6
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

My guess is that you've got the wrong version of guile... try the
guile-1.3-3 RPM from Red Hat Rawhide (ftp://rawhide.redhat.com).

Let us know if that doesn't do it.

Greg

From owner-scwm-discuss@mit.edu  Thu Feb 25 19:21:11 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA24981
	for scwm-discuss-outgoing; Thu, 25 Feb 1999 19:21:11 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA24973
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Feb 1999 19:20:34 -0500
Received: from saturn.math.uaa.alaska.edu by MIT.EDU with SMTP
	id AA13110; Thu, 25 Feb 99 19:20:49 EST
Received: from localhost (crippenj@localhost)
	by saturn.math.uaa.alaska.edu (8.9.1a/8.9.1) with SMTP id PAA31782;
	Thu, 25 Feb 1999 15:20:08 -0900 (AKST)
Date: Thu, 25 Feb 1999 15:20:07 -0900 (AKST)
From: "James A. Crippen" <crippenj@saturn.math.uaa.alaska.edu>
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Problems with 0.9 on i586 Linux
In-Reply-To: <qrru2waqhq6.fsf@elwha.cs.washington.edu>
Message-Id: <Pine.OSF.3.93.990225151911.16003A-100000@saturn.math.uaa.alaska.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 25 Feb 1999, Greg Badros wrote:

> My guess is that you've got the wrong version of guile... try the
> guile-1.3-3 RPM from Red Hat Rawhide (ftp://rawhide.redhat.com).

I recently installed the guile-1.3 tarball.  I can give the redhat RPM a
try, but I'm not sure that it would make much difference...

james

<crippenj at saturn math uaa alaska edu>   Kallisti!   <james at cryptology org>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/MU/O d?(--) s: a--(?) C+++(++++)>$ UBLOS*+++(++++)>$ P+>+++ L+++>$ E++++
W-- N++ o+ K+++>++++ w--- O- M- V--- PS+@ PE@ Y+ PGP>+++ t++@ 5? X? R* !tv
b++++ DI++++ D--- G++>++++ e* h* r--- y-- NT{-} A48 HH++++>* PP+++
------END GEEK CODE BLOCK------


From owner-scwm-discuss@mit.edu  Sat Feb 27 20:49:04 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA18311
	for scwm-discuss-outgoing; Sat, 27 Feb 1999 20:49:04 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from kodis.jagunet.com (kodis.jaguNET.com [206.156.208.48])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id UAA18305
	for <scwm-discuss@vicarious-existence.mit.edu>; Sat, 27 Feb 1999 20:48:59 -0500
Received: (from kodis@localhost)
	by kodis.jagunet.com (8.8.7/8.8.7) id UAA18567
	for scwm-discuss@vicarious-existence.mit.edu; Sat, 27 Feb 1999 20:48:21 -0500
Date: Sat, 27 Feb 1999 20:48:21 -0500
From: John Kodis <kodis@jagunet.com>
To: scwm-discuss@mit.edu
Subject: PATCH: hover-focus
Message-ID: <19990227204821.A18524@kodis.jagunet.com>
Reply-To: kodis@jagunet.com
References: <3.0.1.32.19990210163132.00bebabc@ccmailnt.stx.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95i
In-Reply-To: <3.0.1.32.19990210163132.00bebabc@ccmailnt.stx.com>; from Maciej Stachowiak by way of John Kodis <kodis@stx.com> on Wed, Feb 10, 1999 at 04:31:32PM -0500
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Recently I inquired about a new focus policy, something like #:focus
'mouse, except that rather than immediately getting the focus when the
mouse moves into a window, focus only shifts to a newly entered window
after remaining in the new window for some fraction of a second.

Maciej Stachowiak offered some suggestions about how to do this, I
wrote some code, and voila, a new focus policy, hover-focus, is born.
The patches which follow add window-enter-hook and window-leave-hook
to events.c, and include the scheme module that uses these hooks to
implement the hover-focus policy, along with changelog entries and a
Makefile.am change to install the hover-focus.scm file in the
scwm-modules/app/scwm directory.

The description of the use of the hover-focus module is included
below.  It's fairly straight-forward to use, and I like the effect it
provides.  

-- John Kodis.

;;; The hover-focus module provides a new window focus mechanism.  It
;;; allows a window to receive focus when the mouse pointer enters a
;;; window and remains ("hovers") over the window for a brief period
;;; of time.  The window can also be focused by clicking on the window
;;; just as with the "#:focus 'click" policy on which hover-focus is
;;; built.
;;;
;;; To make hover-focus the focus policy requires that hover-focus be
;;; included in a use-modules list, that the #:focus policy be set to
;;; 'click, and that the #:hover-focus option be set to #t.  The
;;; #:auto-raise option with no auto-raise-delay also works well with
;;; hover-focus.  A typical hover-focus window-style would begin:
;;;
;;; (window-style "*"
;;;    #:focus 'click
;;;    #:auto-raise #t #:auto-raise-delay 0
;;;    #:hover-focus #t  #:hover-focus-delay 350
;;;    ; plus other options to taste...
;;; )


diff -ruN -x *,v -x *.gz -x *.in scwm-0.9/scheme/ChangeLog scwm-0.9-jmk/scheme/ChangeLog
--- scwm-0.9/scheme/ChangeLog	Mon Jan 11 14:38:09 1999
+++ scwm-0.9-jmk/scheme/ChangeLog	Sat Feb 27 18:11:12 1999
@@ -1,3 +1,11 @@
+1999-02-27  John Kodis  <kodis@jagunet.com>
+
+	* Makefile.am: Added hover-focus.scm to the scwm_common_scheme
+	installation list.
+
+	* hover-focus.scm: New module to automatically focus a
+	click-to-focus window when the mouse hovers over it for a while.
+
 Sat Jan  9 11:27:10 1999  Greg Badros  <gjb@cs.washington.edu>
 
 	* animation.scm: Fix some of the example animated-move-to calls;
diff -ruN -x *,v -x *.gz -x *.in scwm-0.9/scheme/Makefile.am scwm-0.9-jmk/scheme/Makefile.am
--- scwm-0.9/scheme/Makefile.am	Tue Jan  5 16:29:48 1999
+++ scwm-0.9-jmk/scheme/Makefile.am	Sat Feb 27 18:11:30 1999
@@ -4,8 +4,8 @@
 scwm_common_scheme = advice.scm animation.scm auto-raise.scm base.scm \
     bincomm.scm cached-program-exists.scm cascade.scm decor.scm \
     desk-background.scm doc.scm face.scm file.scm flux.scm fvwm-compat.scm \
-    fvwm-eval.scm fvwm-module.scm image-loaders.scm listops.scm \
-    message-window.scm minimal.scm module-types.scm optargs.scm \
+    fvwm-eval.scm fvwm-module.scm hover-focus.scm image-loaders.scm \
+    listops.scm message-window.scm minimal.scm module-types.scm optargs.scm \
     prefs-menu.scm report-usage.scm shutdown-opts.scm sort.scm stacking.scm \
     std-menus.scm style-options.scm style.scm theme-impl.scm themes.scm \
     tile.scm user-options.scm wininfo.scm winlist.scm winops.scm \
diff -ruN -x *,v -x *.gz -x *.in scwm-0.9/scheme/hover-focus.scm scwm-0.9-jmk/scheme/hover-focus.scm
--- scwm-0.9/scheme/hover-focus.scm	Wed Dec 31 19:00:00 1969
+++ scwm-0.9-jmk/scheme/hover-focus.scm	Sat Feb 27 19:48:04 1999
@@ -0,0 +1,129 @@
+;;;; $Id: hover-focus.scm,v 1.2 1999/02/27 21:02:54 kodis Exp kodis $
+;;;; Copyright 1999 John Kodis, kodis@jagunet.com
+;;;; The hover-focus module is based on auto-raise.scm, which is
+;;;; Copyright (C) 1997-1998 Maciej Stachowiak and Greg J. Badros
+;;;;
+;;;; This program is free software; you can redistribute it and/or
+;;;; modify it under the terms of the GNU General Public License as
+;;;; published by the Free Software Foundation; either version 2, or
+;;;; (at your option) any later version.
+;;;;
+;;;; This program is distributed in the hope that it will be useful,
+;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;;; GNU General Public License for more details.
+;;;;
+;;;; You should have received a copy of the GNU General Public License
+;;;; along with this software; see the file COPYING.  If not, write to
+;;;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+;;;; Boston, MA 02111-1307 USA
+
+
+(define-module (app scwm hover-focus)
+  :use-module (app scwm flux)
+  :use-module (app scwm module-types)
+  :use-module (app scwm optargs)
+  :use-module (app scwm style-options) )
+
+
+;;; hover-focus
+;;;
+;;; The hover-focus module provides a new window focus mechanism.  It
+;;; allows a window to receive focus when the mouse pointer enters a
+;;; window and remains ("hovers") over the window for a brief period
+;;; of time.  The window can also be focused by clicking on the window
+;;; just as with the "#:focus 'click" policy on which hover-focus is
+;;; built.
+;;;
+;;; To make hover-focus the focus policy requires that hover-focus be
+;;; included in a use-modules list, that the #:focus policy be set to
+;;; 'click, and that the #:hover-focus option be set to #t.  The
+;;; #:auto-raise option with no auto-raise-delay also works well with
+;;; hover-focus.  A typical hover-focus window-style would begin:
+;;;
+;;; (window-style "*"
+;;;    #:focus 'click
+;;;    #:auto-raise #t #:auto-raise-delay 0
+;;;    #:hover-focus #t  #:hover-focus-delay 350
+;;;    ; plus other options to taste...
+;;; )
+
+
+;;; hover-focus-delay: default, setter, and style options
+
+(define-public default-hover-focus-delay 300)
+;;;**VAR
+;;; Number of ms to delay before focusing the window that the mouse
+;;; pointer entered.  This can be overridden on a per-window basis
+;;; using `set-hover-focus-delay!'.
+
+(define*-public (set-hover-focus-delay! delay #&optional (win (get-window)))
+  "Set the hover-focus delay to DELAY (in ms) for WIN.
+DELAY is the number of milliseconds after the pointer enters
+WIN that WIN will be focused.  See `set-hover-focus!' to turn
+hover-focus on or off for a given window."
+  (if win (set-object-property! win 'hover-focus-delay delay)))
+
+(add-window-style-option #:hover-focus-delay set-hover-focus-delay!)
+
+
+;;; hover-focus: setter and style options
+
+(define*-public (set-hover-focus! hover-focus? #&optional (win (get-window)))
+  "Turn hover-focus on (#t) or off (#f) for WIN.
+hover-focus makes a window automatically get focus when the mouse pointer
+remains in a window frame.  See `set-hover-focus-delay!' for controlling
+the delay before the window gets focus."
+  (if win (set-object-property! win 'hover-focus hover-focus?)))
+
+(add-window-style-option #:hover-focus set-hover-focus!)
+
+
+;;; private hover-focus variables and functions
+
+(define hover-focus-window #f) ; the last hoverable window entered
+(define hover-focus-timer '()) ; expires on hover delay expiration
+
+
+;;; focus-from-timer gets called on hover focus delay expiration to
+;;; focus the hover-focus-window if it isn't already focused.
+
+(define (focus-from-timer)
+  (focus hover-focus-window) )
+
+
+;;; window-is-hoverable? tests a window's suitability for receiving
+;;; focus when hovered over long enough.
+
+(define (window-is-hoverable? window)
+  (and window
+       (not (iconified? window))
+       (not (eq? (get-window-focus window) 'none))
+       (object-property window 'hover-focus) ) )
+
+
+;;; hover-focus-enter-proc runs whenever the mouse first enters a
+;;; window.  It kills any active hover focus timer, and if the window
+;;; is hoverable starts a timer that will focus the window if the timer
+;;; expires.
+
+(define (hover-focus-enter-proc window)
+  (remove-timer-hook! hover-focus-timer)
+  (cond ((window-is-hoverable? window)
+	 (set! hover-focus-window window)
+	 (let ((delay (* 1000 (or (object-property window 'hover-focus-delay)
+				  default-hover-focus-delay ))))
+	   (set! hover-focus-timer
+		 (add-timer-hook! delay focus-from-timer) ) ) )) )
+
+(add-hook! window-enter-hook hover-focus-enter-proc)
+
+
+;;; hover-focus-leave-proc runs whenever the mouse pointer leaves a
+;;; window.  It kills any active focus timer.
+
+(define (hover-focus-leave-proc)
+  (remove-timer-hook! hover-focus-timer)
+  (set! hover-focus-window #f) )
+
+(add-hook! window-leave-hook hover-focus-leave-proc)
diff -ruN -x *,v -x *.gz -x *.in scwm-0.9/scwm/ChangeLog scwm-0.9-jmk/scwm/ChangeLog
--- scwm-0.9/scwm/ChangeLog	Thu Jan 28 05:39:33 1999
+++ scwm-0.9-jmk/scwm/ChangeLog	Sat Feb 27 18:10:27 1999
@@ -1,3 +1,9 @@
+1999-02-27  John Kodis  <kodis@jagunet.com>
+
+	* events.c (HandleEnterNotify): run window-enter-hook functions.
+	(HandleLeaveNotify): run window-leave-hook functions.
+	(init_events): set up the window-enter- and window-leave- hooks.
+
 Mon Jan 11 22:34:52 1999  Maciej Stachowiak  <mstachow@alum.mit.edu>
 
 	* xrm.c: Added proper copyright notice.
diff -ruN -x *,v -x *.gz -x *.in scwm-0.9/scwm/events.c scwm-0.9-jmk/scwm/events.c
--- scwm-0.9/scwm/events.c	Sun Dec  6 03:02:30 1998
+++ scwm-0.9-jmk/scwm/events.c	Sat Feb 27 18:10:27 1999
@@ -105,6 +105,8 @@
 SCM x_destroynotify_hook;
 SCM x_unmapnotify_hook;
 SCM window_focus_change_hook;
+SCM window_enter_hook;
+SCM window_leave_hook;
 
 unsigned int mods_used = (ShiftMask | ControlMask | Mod1Mask |
 			  Mod2Mask | Mod3Mask | Mod4Mask | Mod5Mask);
@@ -1326,8 +1328,7 @@
 #endif /* NON_VIRTUAL */
 
   if (Event.xany.window == Scr.Root) {
-    if (Scr.Focus && !Scr.Focus->fClickToFocus &&
-	!Scr.Focus->fSloppyFocus) {
+    if (Scr.Focus && !Scr.Focus->fClickToFocus && !Scr.Focus->fSloppyFocus) {
       SetFocus(Scr.NoFocusWin, NULL, 1);
     }
     if (Scr.fColormapFollowsMouse) {
@@ -1339,12 +1340,9 @@
   if (!pswCurrent)
     return;
 
+  call1_hooks(window_enter_hook, pswCurrent->schwin);
   if (!pswCurrent->fClickToFocus) {
-    if (Scr.Focus != pswCurrent) {
-      SetFocus(pswCurrent->w, pswCurrent, 0);
-    } else {
-      SetFocus(pswCurrent->w, pswCurrent, 0);
-    }
+    SetFocus(pswCurrent->w, pswCurrent, 0);
   }
   if (Scr.fColormapFollowsMouse) {
     if (!pswCurrent->fIconified && (Event.xany.window == pswCurrent->w))
@@ -1371,12 +1369,12 @@
    * another screen on a multiple screen display, and we
    * need to de-focus and unhighlight to make sure that we
    * don't end up with more than one highlighted window at a time */
+  call0_hooks(window_leave_hook);
   if (Event.xcrossing.window == Scr.Root) {
     if (Event.xcrossing.mode == NotifyNormal) {
       if (Event.xcrossing.detail != NotifyInferior) {
-	if (Scr.Focus != NULL) {
+	if (Scr.Focus != NULL)
 	  SetFocus(Scr.NoFocusWin, NULL, 1);
-	}
 	if (Scr.Hilite != NULL)
 	  SetBorder(Scr.Hilite, False, True, True, None);
       }
@@ -1989,6 +1987,14 @@
 It is called with one argument, the window object of the window
 that now has the focus, or #f if no window now has the focus. */
 
+  SCWM_HOOK(window_enter_hook, "window-enter-hook");
+  /** This hook is invoked whenever the mouse pointer enters a window.
+It is called with one argument, the window object of the window just
+entered. */
+
+  SCWM_HOOK(window_leave_hook, "window-leave-hook");
+  /** This hook is invoked whenever the mouse pointer leaves a window.
+The hook procedures are invoked with no arguments. */
 
 #ifndef SCM_MAGIC_SNARFER
 #include "events.x"

From owner-scwm-discuss@mit.edu  Sat Feb 27 22:16:01 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA01195
	for scwm-discuss-outgoing; Sat, 27 Feb 1999 22:16:01 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA01189
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 27 Feb 1999 22:15:59 -0500
Received: from smtp1.erols.com by MIT.EDU with SMTP
	id AA07999; Sat, 27 Feb 99 22:15:44 EST
Received: from alum.mit.edu (209-122-231-11.s11.tnt4.sbo.ma.dialup.rcn.com [209.122.231.11])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id WAA01511;
	Sat, 27 Feb 1999 22:15:53 -0500 (EST)
Message-Id: <36D881DD.5A0998F3@alum.mit.edu>
Date: Sat, 27 Feb 1999 18:38:05 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: kodis@jagunet.com
Cc: scwm-discuss@mit.edu
Subject: Re: PATCH: hover-focus
References: <3.0.1.32.19990210163132.00bebabc@ccmailnt.stx.com> <19990227204821.A18524@kodis.jagunet.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

John Kodis wrote:
> 
> Recently I inquired about a new focus policy, something like #:focus
> 'mouse, except that rather than immediately getting the focus when the
> mouse moves into a window, focus only shifts to a newly entered window
> after remaining in the new window for some fraction of a second.
> 

Neato. Looks like I have a bunch of patch integration to do this 
weekend :-)

 - Maciej

From owner-scwm-discuss@mit.edu  Sat Feb 27 22:19:20 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA01226
	for scwm-discuss-outgoing; Sat, 27 Feb 1999 22:19:20 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from smtp1.erols.com (smtp1.erols.com [207.172.3.234])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id WAA01223
	for <scwm-discuss@ph.mit.edu>; Sat, 27 Feb 1999 22:19:19 -0500
Received: from alum.mit.edu (209-122-231-11.s11.tnt4.sbo.ma.dialup.rcn.com [209.122.231.11])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id WAA02443
	for <scwm-discuss@ph.mit.edu>; Sat, 27 Feb 1999 22:19:17 -0500 (EST)
Message-ID: <36D882AB.25D35ECD@alum.mit.edu>
Date: Sat, 27 Feb 1999 18:41:32 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Re: BOUNCE scwm-discuss@vicarious-existence.mit.edu:     Admin request of type /^\s*config\b/i at line 9
References: <199902271842.NAA16668@VICARIOUS-EXISTENCE.MIT.EDU>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hmm, looks like majordomo decided to bounce the folllowing message from
Danius Michaelides, I will integrate his patch shortly, but I thought
people might want to see it.

 - Maciej

> 
> On Tue, 23 Feb 1999, Danius Michaelides wrote:
> 
> >   Also, with FvwmButtons i have a number of buttons with "Icon
> > pixmap", but unless i put the complete path to the icon, it doesnt
> > show up, even tho' the dir is on 'image-load-path'.
> 
> Ok, i've worked out what the problem is here. Basically FVWM sends
> IconPath, PixmapPath, ClickTime, ColorLimit before it sends the module
> config info.  Not hard to sort out, other than the lack of ClickTime and
> ColorLimit??
> 
> Danius
> 
> --- fvwm-module.scm     Thu Feb 11 17:29:21 1999
> +++ fvwm-module.scm.new Sat Feb 27 18:24:20 1999
> @@ -400,12 +400,25 @@
>             (substring str ix)
>             str))))
> 
> +(define (aux-config-info)
> +  (define (insert-colons l)
> +    (if (null? (cdr l))
> +      l
> +      (append (list (car l)) '(":") (insert-colons (cdr l)))))
> +  (let ((path (insert-colons image-load-path)))
> +    (append
> +      (list (list->string (append '("IconPath ") path)))
> +      (list (list->string (append '("PixmapPath ") path)))
> +      '("ColorLimit 0")
> +      '("ClickTime 150"))))
> +
>  (define*-public (run-fvwm2-module module-name #&optional
>                                   (other-args '())
>                                   (config-file "~/.fvwm2rc")
>                                   (config-info
> -                                  (get-fvwm2-module-config
> -                                   (basename module-name))))
> +                                   (append (aux-config-info)
> +                                          (get-fvwm2-module-config
> +                                             (basename module-name)))))
>    (let ((module-file (find-file-in-path module-name
>                                         fvwm2-module-path)))
>      (if module-file

From owner-scwm-discuss@mit.edu  Sun Feb 28 00:12:31 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id AAA01943
	for scwm-discuss-outgoing; Sun, 28 Feb 1999 00:12:31 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id AAA01940
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Feb 1999 00:12:29 -0500
Received: from techpt.lnk.telstra.net by MIT.EDU with SMTP
	id AA16991; Sun, 28 Feb 99 00:12:09 EST
Received: from bigfoot.com (chrisb@localhost [127.0.0.1])
	by tech.com.au (8.8.7/8.8.7) with ESMTP id AAA03633
	for <scwm-discuss@mit.edu>; Mon, 1 Mar 1999 00:15:10 +1100
Message-Id: <36D9415D.8447D213@bigfoot.com>
Date: Sun, 28 Feb 1999 13:15:09 +0000
From: Chris Bitmead <chris.bitmead@bigfoot.com>
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: en
Mime-Version: 1.0
To: scwm <scwm-discuss@mit.edu>
Subject: Re: FvwmPager & autoraise, and scwm->restart
References: <36CFF399.F041EB8A@bigfoot.com> <36D064B8.84EC67B5@alum.mit.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I still havn't been able to work out how to have the FvwmPager allowed
to get the focus. Following is all the code I have in my .scwmrc that
refers to the Pager....

(if want-fvwm2-pager-module
    (begin
      (register-fvwm2-module-config "FvwmPager"
		"*FvwmPagerRows 2"
		"*FvwmPagerColumns 1"
		"*FvwmPagerBack #266294"
		"*FvwmPagerFore Black"
		"*FvwmPagerFont none"
		"*FvwmPagerHilight #729fff"
		"*FvwmPagerGeometry 80-0+0"
		"*FvwmPagerSmallFont -*-times-medium-r-*-*-*-80-*-*-*-*-*-*"
		"*FvwmPagerDeskTopScale 20")
      ;; Actually run the pager. Make it manage desktops 0-2. Save the
      ;; module object in a variable so we can kill this specific pager
      ;; later.
      (define fvwm2-pager (run-fvwm2-module "FvwmPager"
					    '("0" "1")))))
(set-desk-size! 2 2)

(window-style "FvwmPager" #:no-titlebar #t #:sticky #t #:focus 'mouse)
-- 
Chris Bitmead
http://www.bigfoot.com/~chris.bitmead
mailto:chris.bitmead@bigfoot.com

From owner-scwm-discuss@mit.edu  Sun Feb 28 01:55:50 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA02485
	for scwm-discuss-outgoing; Sun, 28 Feb 1999 01:55:50 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA02482
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Feb 1999 01:55:48 -0500
Received: from smtp1.erols.com by MIT.EDU with SMTP
	id AA04093; Sun, 28 Feb 99 01:56:18 EST
Received: from alum.mit.edu (209-122-231-11.s11.tnt4.sbo.ma.dialup.rcn.com [209.122.231.11])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id BAA04835;
	Sun, 28 Feb 1999 01:55:38 -0500 (EST)
Message-Id: <36D8E84D.CC5C7269@alum.mit.edu>
Date: Sun, 28 Feb 1999 01:55:09 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Chris Bitmead <chris.bitmead@bigfoot.com>
Cc: scwm <scwm-discuss@mit.edu>
Subject: Re: FvwmPager & autoraise, and scwm->restart
References: <36CFF399.F041EB8A@bigfoot.com> <36D064B8.84EC67B5@alum.mit.edu> <36D9415D.8447D213@bigfoot.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Chris Bitmead wrote:
> 
> I still havn't been able to work out how to have the FvwmPager allowed
> to get the focus. Following is all the code I have in my .scwmrc that
> refers to the Pager....
> 
> (if want-fvwm2-pager-module
>     (begin
>       (register-fvwm2-module-config "FvwmPager"
>                 "*FvwmPagerRows 2"
>                 "*FvwmPagerColumns 1"
>                 "*FvwmPagerBack #266294"
>                 "*FvwmPagerFore Black"
>                 "*FvwmPagerFont none"
>                 "*FvwmPagerHilight #729fff"
>                 "*FvwmPagerGeometry 80-0+0"
>                 "*FvwmPagerSmallFont -*-times-medium-r-*-*-*-80-*-*-*-*-*-*"
>                 "*FvwmPagerDeskTopScale 20")
>       ;; Actually run the pager. Make it manage desktops 0-2. Save the
>       ;; module object in a variable so we can kill this specific pager
>       ;; later.
>       (define fvwm2-pager (run-fvwm2-module "FvwmPager"
>                                             '("0" "1")))))
> (set-desk-size! 2 2)
> 
> (window-style "FvwmPager" #:no-titlebar #t #:sticky #t #:focus 'mouse)

I'll try it out shortly. One part of the problem maight be that the pager
may claim (through some ICCCM standard hints) that it never wants the input
focus. In this case, you need to use the #:lenience #t style option
(admitted that the name is not the most intuitive in the world).

 - Maciej

From owner-scwm-discuss@mit.edu  Sun Feb 28 02:11:04 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA02682
	for scwm-discuss-outgoing; Sun, 28 Feb 1999 02:11:04 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA02679
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Feb 1999 02:11:03 -0500
Received: from techpt.lnk.telstra.net by MIT.EDU with SMTP
	id AA05224; Sun, 28 Feb 99 02:11:29 EST
Received: from bigfoot.com (chrisb@localhost [127.0.0.1])
	by tech.com.au (8.8.7/8.8.7) with ESMTP id CAA11495
	for <scwm-discuss@mit.edu>; Mon, 1 Mar 1999 02:13:34 +1100
Message-Id: <36D95D1D.34DE0867@bigfoot.com>
Date: Sun, 28 Feb 1999 15:13:33 +0000
From: Chris Bitmead <chris.bitmead@bigfoot.com>
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: en
Mime-Version: 1.0
To: scwm <scwm-discuss@mit.edu>
Subject: Re: FvwmPager & autoraise, and scwm->restart
References: <36CFF399.F041EB8A@bigfoot.com> <36D064B8.84EC67B5@alum.mit.edu> <36D9415D.8447D213@bigfoot.com> <36D8E84D.CC5C7269@alum.mit.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Defining lenience does do what I want.

BTW I've noticed another strange thing. I've got an xbiff, xclock and
xload on my desktop. I want them also to act normally being able to
attain focus. They all use a style I have defined called
desk-widget-no-titlebar. But only xbiff can attain focus. xclock and
xload do not...

(define desk-widget
  (make-style #:plain-border #t #:sticky #t #:winlist-skip #t
          #:border-width 3 #:circulate-skip #t #:focus 'none))

(define desk-widget-no-titlebar
  (make-style #:use-style desk-widget #:no-titlebar #t #:focus 'sloppy))

(window-style "xclock*" #:use-style desk-widget-no-titlebar)
(window-style "xload" #:use-style desk-widget-no-titlebar)
(window-style "xbiff" #:use-style desk-widget-no-titlebar
          #:mini-icon "mini-xbiff.xpm")

BTW, I've noticed lots of irregularites with the location of windows on
scwm->restart. I just did one then to try lenience and netscape
disappeared. I think it repositioned itself off the top of the page
where I can't get to it because I could swear I saw the edge of a window
off the screen at the top as it re-started, but it disappeared. Netscape
was on the window list, but it was no-where to be seen. This was only
using desk 0. I had to kill and restart netscape.










Maciej Stachowiak wrote:
> 
> Chris Bitmead wrote:
> >
> > I still havn't been able to work out how to have the FvwmPager allowed
> > to get the focus. Following is all the code I have in my .scwmrc that
> > refers to the Pager....
> >
> > (if want-fvwm2-pager-module
> >     (begin
> >       (register-fvwm2-module-config "FvwmPager"
> >                 "*FvwmPagerRows 2"
> >                 "*FvwmPagerColumns 1"
> >                 "*FvwmPagerBack #266294"
> >                 "*FvwmPagerFore Black"
> >                 "*FvwmPagerFont none"
> >                 "*FvwmPagerHilight #729fff"
> >                 "*FvwmPagerGeometry 80-0+0"
> >                 "*FvwmPagerSmallFont -*-times-medium-r-*-*-*-80-*-*-*-*-*-*"
> >                 "*FvwmPagerDeskTopScale 20")
> >       ;; Actually run the pager. Make it manage desktops 0-2. Save the
> >       ;; module object in a variable so we can kill this specific pager
> >       ;; later.
> >       (define fvwm2-pager (run-fvwm2-module "FvwmPager"
> >                                             '("0" "1")))))
> > (set-desk-size! 2 2)
> >
> > (window-style "FvwmPager" #:no-titlebar #t #:sticky #t #:focus 'mouse)
> 
> I'll try it out shortly. One part of the problem maight be that the pager
> may claim (through some ICCCM standard hints) that it never wants the input
> focus. In this case, you need to use the #:lenience #t style option
> (admitted that the name is not the most intuitive in the world).
> 
>  - Maciej

-- 
Chris Bitmead
http://www.bigfoot.com/~chris.bitmead
mailto:chris.bitmead@bigfoot.com

From owner-scwm-discuss@mit.edu  Sun Feb 28 02:20:58 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA02732
	for scwm-discuss-outgoing; Sun, 28 Feb 1999 02:20:58 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA02729
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Feb 1999 02:20:57 -0500
Received: from smtp2.erols.com by MIT.EDU with SMTP
	id AA25376; Sun, 28 Feb 99 02:20:37 EST
Received: from alum.mit.edu (209-122-231-11.s11.tnt4.sbo.ma.dialup.rcn.com [209.122.231.11])
	by smtp2.erols.com (8.8.8/8.8.5) with ESMTP id CAA23756;
	Sun, 28 Feb 1999 02:23:24 -0500 (EST)
Message-Id: <36D8EE19.61165AA2@alum.mit.edu>
Date: Sun, 28 Feb 1999 02:19:53 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Chris Bitmead <chris.bitmead@bigfoot.com>
Cc: scwm <scwm-discuss@mit.edu>
Subject: Re: FvwmPager & autoraise, and scwm->restart
References: <36CFF399.F041EB8A@bigfoot.com> <36D064B8.84EC67B5@alum.mit.edu> <36D9415D.8447D213@bigfoot.com> <36D8E84D.CC5C7269@alum.mit.edu> <36D95D1D.34DE0867@bigfoot.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Chris Bitmead wrote:
> 
> Defining lenience does do what I want.
> 
> BTW I've noticed another strange thing. I've got an xbiff, xclock and
> xload on my desktop. I want them also to act normally being able to
> attain focus. They all use a style I have defined called
> desk-widget-no-titlebar. But only xbiff can attain focus. xclock and
> xload do not...

I think xclock and xload use the same protocol to avoid getting focus
as the pager, thus the #:lenience #t solution should work for those as
well.

> BTW, I've noticed lots of irregularites with the location of windows on
> scwm->restart. I just did one then to try lenience and netscape
> disappeared. I think it repositioned itself off the top of the page
> where I can't get to it because I could swear I saw the edge of a window
> off the screen at the top as it re-started, but it disappeared. Netscape
> was on the window list, but it was no-where to be seen. This was only
> using desk 0. I had to kill and restart netscape.

That's pretty strange. I don't recall ever seeing something like that.
Was netscape fully on the screen before you restarted, or just barely
showing? Note also that if you select it from the window list menu, it 
should end up somewhere  visible, even if it was not before selecting it.

 - Maciej

From owner-scwm-discuss@mit.edu  Sun Feb 28 02:28:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA02781
	for scwm-discuss-outgoing; Sun, 28 Feb 1999 02:28:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA02778
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Feb 1999 02:28:08 -0500
Received: from techpt.lnk.telstra.net by MIT.EDU with SMTP
	id AA06414; Sun, 28 Feb 99 02:28:35 EST
Received: from bigfoot.com (chrisb@localhost [127.0.0.1])
	by tech.com.au (8.8.7/8.8.7) with ESMTP id CAA12327
	for <scwm-discuss@mit.edu>; Mon, 1 Mar 1999 02:30:49 +1100
Message-Id: <36D96128.E005B030@bigfoot.com>
Date: Sun, 28 Feb 1999 15:30:48 +0000
From: Chris Bitmead <chris.bitmead@bigfoot.com>
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: en
Mime-Version: 1.0
To: scwm <scwm-discuss@mit.edu>
Subject: Re: FvwmPager & autoraise, and scwm->restart
References: <36CFF399.F041EB8A@bigfoot.com> <36D064B8.84EC67B5@alum.mit.edu> <36D9415D.8447D213@bigfoot.com> <36D8E84D.CC5C7269@alum.mit.edu> <36D95D1D.34DE0867@bigfoot.com> <36D8EE19.61165AA2@alum.mit.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak wrote:

> I think xclock and xload use the same protocol to avoid getting focus
> as the pager, thus the #:lenience #t solution should work for those as
> well.

Yes that does it.

> That's pretty strange. I don't recall ever seeing something like that.
> Was netscape fully on the screen before you restarted, or just barely
> showing? Note also that if you select it from the window list menu, it
> should end up somewhere  visible, even if it was not before selecting it.

It was fully on the screen and windowlist didn't seem to help. I just
did another re-start then. Netscape stayed put this time, but the pager
was completely blank. Clicking on the pager refreshed the location of
windows.

-- 
Chris Bitmead
http://www.bigfoot.com/~chris.bitmead
mailto:chris.bitmead@bigfoot.com

From owner-scwm-discuss@mit.edu  Sun Feb 28 02:34:22 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA02825
	for scwm-discuss-outgoing; Sun, 28 Feb 1999 02:34:22 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA02822
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Feb 1999 02:34:20 -0500
Received: from smtp2.erols.com by MIT.EDU with SMTP
	id AA26907; Sun, 28 Feb 99 02:33:59 EST
Received: from alum.mit.edu (209-122-231-11.s11.tnt4.sbo.ma.dialup.rcn.com [209.122.231.11])
	by smtp2.erols.com (8.8.8/8.8.5) with ESMTP id CAA26815;
	Sun, 28 Feb 1999 02:37:13 -0500 (EST)
Message-Id: <36D8F15A.B903A742@alum.mit.edu>
Date: Sun, 28 Feb 1999 02:33:46 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Chris Bitmead <chris.bitmead@bigfoot.com>
Cc: scwm <scwm-discuss@mit.edu>
Subject: Re: FvwmPager & autoraise, and scwm->restart
References: <36CFF399.F041EB8A@bigfoot.com> <36D064B8.84EC67B5@alum.mit.edu> <36D9415D.8447D213@bigfoot.com> <36D8E84D.CC5C7269@alum.mit.edu> <36D95D1D.34DE0867@bigfoot.com> <36D8EE19.61165AA2@alum.mit.edu> <36D96128.E005B030@bigfoot.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Chris Bitmead wrote:
> 
> Maciej Stachowiak wrote:
> 
> > I think xclock and xload use the same protocol to avoid getting focus
> > as the pager, thus the #:lenience #t solution should work for those as
> > well.
> 
> Yes that does it.
> 
> > That's pretty strange. I don't recall ever seeing something like that.
> > Was netscape fully on the screen before you restarted, or just barely
> > showing? Note also that if you select it from the window list menu, it
> > should end up somewhere  visible, even if it was not before selecting it.
> 
> It was fully on the screen and windowlist didn't seem to help. I just
> did another re-start then. Netscape stayed put this time, but the pager
> was completely blank. Clicking on the pager refreshed the location of
> windows.

Hmmm - restarting should kill the old pager and spawn a new one, which
should, in theory, reflect window positions properly. Is it not doing
this?

 - Maciej

From owner-scwm-discuss@mit.edu  Sun Feb 28 05:20:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA05195
	for scwm-discuss-outgoing; Sun, 28 Feb 1999 05:20:13 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA05192
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Feb 1999 05:20:11 -0500
Received: from techpt.lnk.telstra.net by MIT.EDU with SMTP
	id AA11857; Sun, 28 Feb 99 05:19:45 EST
Received: from bigfoot.com (chrisb@localhost [127.0.0.1])
	by tech.com.au (8.8.7/8.8.7) with ESMTP id FAA17498
	for <scwm-discuss@mit.edu>; Mon, 1 Mar 1999 05:22:46 +1100
Message-Id: <36D98975.B9BBC10B@bigfoot.com>
Date: Sun, 28 Feb 1999 18:22:45 +0000
From: Chris Bitmead <chris.bitmead@bigfoot.com>
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: en
Mime-Version: 1.0
To: scwm <scwm-discuss@mit.edu>
Subject: Re: FvwmPager & autoraise, and scwm->restart
References: <36CFF399.F041EB8A@bigfoot.com> <36D064B8.84EC67B5@alum.mit.edu> <36D9415D.8447D213@bigfoot.com> <36D8E84D.CC5C7269@alum.mit.edu> <36D95D1D.34DE0867@bigfoot.com> <36D8EE19.61165AA2@alum.mit.edu> <36D96128.E005B030@bigfoot.com> <36D8F15A.B903A742@alum.mit.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak wrote:

> Hmmm - restarting should kill the old pager and spawn a new one, which
> should, in theory, reflect window positions properly. Is it not doing
> this?

It starts a new pager but the pager is blank showing no windows.
Clicking on the pager mostly restores things, but I just tried again and
netscape disappeared again even after re-clicking on the pager, but this
time Window-list did resurrect it.

BTW, how about making scwm-discuss the default reply-to address for the
mailing list?

-- 
Chris Bitmead
http://www.bigfoot.com/~chris.bitmead
mailto:chris.bitmead@bigfoot.com

From owner-scwm-discuss@mit.edu  Sun Feb 28 06:06:12 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA05430
	for scwm-discuss-outgoing; Sun, 28 Feb 1999 06:06:12 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id GAA05426
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Feb 1999 06:06:10 -0500
Received: from smtp3.erols.com by MIT.EDU with SMTP
	id AA15275; Sun, 28 Feb 99 06:05:45 EST
Received: from alum.mit.edu (209-122-231-87.s87.tnt4.sbo.ma.dialup.rcn.com [209.122.231.87])
	by smtp3.erols.com (8.8.8/8.8.5) with ESMTP id GAA11749
	for <scwm-discuss@mit.edu>; Sun, 28 Feb 1999 06:05:58 -0500 (EST)
Message-Id: <36D922FF.3BB50F56@alum.mit.edu>
Date: Sun, 28 Feb 1999 06:05:35 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: scwm <scwm-discuss@mit.edu>
Subject: Re: FvwmPager & autoraise, and scwm->restart
References: <36CFF399.F041EB8A@bigfoot.com> <36D064B8.84EC67B5@alum.mit.edu> <36D9415D.8447D213@bigfoot.com> <36D8E84D.CC5C7269@alum.mit.edu> <36D95D1D.34DE0867@bigfoot.com> <36D8EE19.61165AA2@alum.mit.edu> <36D96128.E005B030@bigfoot.com> <36D8F15A.B903A742@alum.mit.edu> <36D98975.B9BBC10B@bigfoot.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Chris Bitmead wrote:
> 
> Maciej Stachowiak wrote:
> 
> > Hmmm - restarting should kill the old pager and spawn a new one, which
> > should, in theory, reflect window positions properly. Is it not doing
> > this?
> 
> It starts a new pager but the pager is blank showing no windows.
> Clicking on the pager mostly restores things, but I just tried again and
> netscape disappeared again even after re-clicking on the pager, but this
> time Window-list did resurrect it.

Weird. I guess I should give the fvwm-module code a bit more testing.

> BTW, how about making scwm-discuss the default reply-to address for the
> mailing list?
> 

There are various reasons for not doing that. It makes life kind of annoying
when you _do_ want to respond personally, as you need to edit the headers
manually. Many mail clients support both "reply to sender" and "reply to list"
or "reply to all" and users of said mail clients sometimes get annoyed when a 
list munges the reply-to headers.

 - Maciej

From owner-scwm-discuss@mit.edu  Sun Feb 28 08:34:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id IAA06049
	for scwm-discuss-outgoing; Sun, 28 Feb 1999 08:34:17 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id IAA06043
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Feb 1999 08:33:57 -0500
Received: from whirligig.ecs.soton.ac.uk by MIT.EDU with SMTP
	id AA25298; Sun, 28 Feb 99 08:33:24 EST
Received: from penelope.ecs.soton.ac.uk (penelope.ecs.soton.ac.uk [152.78.68.135])
	by whirligig.ecs.soton.ac.uk (8.9.1/8.9.1) with ESMTP id NAA00742
	for <scwm-discuss@mit.edu>; Sun, 28 Feb 1999 13:29:57 GMT
Received: from ecs.soton.ac.uk (pyro.ecs.soton.ac.uk [152.78.68.62])
	by penelope.ecs.soton.ac.uk (8.9.1a/8.9.1) with ESMTP id NAA12738
	for <scwm-discuss@mit.edu>; Sun, 28 Feb 1999 13:33:33 GMT
Message-Id: <199902281333.NAA12738@penelope.ecs.soton.ac.uk>
Date: Sun, 28 Feb 1999 13:27:56 +0000 (GMT)
From: Mark Toller <mst@ecs.soton.ac.uk>
Reply-To: mst@ecs.soton.ac.uk
Subject: Gnome
To: scwm-discuss@mit.edu
Mime-Version: 1.0
Content-Type: TEXT/plain; CHARSET=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

Just a quickie... how do you set up a maximise function to maximise
windows, but leave space at the bottom of the screen for the
gnome-panel?

Cheers,

Mark.

-- 
Mark Toller                         http://www.ecs.soton.ac.uk/~mst/
Electronics and Computer Science    tel +44 01703 594492
University of Southampton
Southampton SO17 1BJ.


From owner-scwm-discuss@mit.edu  Sun Feb 28 15:03:22 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA07652
	for scwm-discuss-outgoing; Sun, 28 Feb 1999 15:03:22 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA07649
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Feb 1999 15:03:20 -0500
Received: from smtp3.erols.com by MIT.EDU with SMTP
	id AA04310; Sun, 28 Feb 99 15:02:45 EST
Received: from alum.mit.edu (209-122-231-87.s87.tnt4.sbo.ma.dialup.rcn.com [209.122.231.87])
	by smtp3.erols.com (8.8.8/8.8.5) with ESMTP id PAA29700;
	Sun, 28 Feb 1999 15:02:52 -0500 (EST)
Message-Id: <36D9A0D8.D3E6D15D@alum.mit.edu>
Date: Sun, 28 Feb 1999 15:02:32 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: mst@ecs.soton.ac.uk
Cc: scwm-discuss@mit.edu
Subject: Re: Gnome
References: <199902281333.NAA12738@penelope.ecs.soton.ac.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Mark Toller wrote:
> 
> Hi,
> 
> Just a quickie... how do you set up a maximise function to maximise
> windows, but leave space at the bottom of the screen for the
> gnome-panel?
> 

You could hard code it to specifically avoid the area taken by the gnome
panel, or you could wait until I make maximize handle windows that provide
the relevant gnome hint to maximize around them properly. (If anyone else
wants to hack this, something needs to keep track of a list of windows
that should be maximized around, and maximize should by default constrain
the space used when maximizing to not include those windows.

 - Maciej

From owner-scwm-discuss@mit.edu  Mon Mar  1 00:58:44 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id AAA10590
	for scwm-discuss-outgoing; Mon, 1 Mar 1999 00:58:44 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id AAA10587
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 1 Mar 1999 00:58:42 -0500
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id AAA04275
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 1 Mar 1999 00:58:06 -0500 (EST)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id AAA17614;
	Mon, 1 Mar 1999 00:58:03 -0500 (EST)
Date: Mon, 1 Mar 1999 00:58:02 -0500 (EST)
From: Stephen Tell <tell@cs.unc.edu>
To: SCWM Discussion List <scwm-discuss@mit.edu>
Subject: 0.9 raise-window bug or race condition - mouse button lockout
Message-ID: <Pine.HPP.3.96.990301003112.17191D-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I've finally managed to figure out what sequence of clicks it is that I
hit by accident several times a day that puts scwm in a state where it
ignores any mouse clicks.   Scwm 0.9, same problem on Linux or HP-UX.
Noticed in some earlier versions too.

I've got this mouse binding that I use to move, raise and lower windows:

(define (move-or-raise-lower)
  (case (mouse-event-type)
    ((motion) (interactive-move))
    ((click) (toggle-raise))
))
(bind-mouse 'title 1 move-or-raise-lower)


If I click in the title of a window (that usually is not on top) and then
rapidly click in another window, before the first window raises, I'm
stuck: the cursor changes to the "hand" pointer, like it does when over
window title-bar buttons, and no mouse clicks do anything at all.  I can
break out of this state by changing desks with a function key.

When I change desks, often a root-window menu pops up, as if the second
mouse-click wasn't read until I changed desks, at which time I'm over the
root window. 

Is there any way to get the window to raise immediatly on this title-bar
click? I suppose scwm is waiting to make sure there wasn't a double-click. 

My .scwmrc has evolved from system.scwmrc, but this behavior has been with
me for a while, through several variations on that titlebar mouse binding. 
I've got #:focus 'click in my default window style, and 
(set-click-to-focus-raises! #f ).

I do see a whole pile of messages like this in the logfile with scwm's
stdout, and I think one appears when this problem occurs:

[Scwm][HandleButtonPress]: <<DEBUG>> Would have raised window emacs:
.scwmrc, but commented out -- did you want it to raise?  Tell Greg!

Does this suggest anything to anyone as to where to look at the
code?  Anything I should try?   Like I said, I do seem to trigger this
fairly often.

Thanks!
Steve

-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@mit.edu  Mon Mar  1 01:03:46 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA10724
	for scwm-discuss-outgoing; Mon, 1 Mar 1999 01:03:46 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA10721
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 1 Mar 1999 01:03:44 -0500
Received: from smtp2.erols.com by MIT.EDU with SMTP
	id AA27538; Mon, 1 Mar 99 01:02:56 EST
Received: from alum.mit.edu (209-122-231-87.s87.tnt4.sbo.ma.dialup.rcn.com [209.122.231.87])
	by smtp2.erols.com (8.8.8/8.8.5) with ESMTP id BAA27428;
	Mon, 1 Mar 1999 01:06:16 -0500 (EST)
Message-Id: <36DA2D8C.F8751B0F@alum.mit.edu>
Date: Mon, 01 Mar 1999 01:02:52 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: kodis@jagunet.com
Cc: scwm-discuss@mit.edu
Subject: Re: PATCH: hover-focus
References: <3.0.1.32.19990210163132.00bebabc@ccmailnt.stx.com> <19990227204821.A18524@kodis.jagunet.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

John Kodis wrote:
> 
> Recently I inquired about a new focus policy, something like #:focus
> 'mouse, except that rather than immediately getting the focus when the
> mouse moves into a window, focus only shifts to a newly entered window
> after remaining in the new window for some fraction of a second.
> 
> Maciej Stachowiak offered some suggestions about how to do this, I
> wrote some code, and voila, a new focus policy, hover-focus, is born.
> The patches which follow add window-enter-hook and window-leave-hook
> to events.c, and include the scheme module that uses these hooks to
> implement the hover-focus policy, along with changelog entries and a
> Makefile.am change to install the hover-focus.scm file in the
> scwm-modules/app/scwm directory.

I just checked this patch in, with the slight change that I added the window
object as an argument to window-leave-hook. This code is supremely cool!

With `window-enter-hook' and `window-leave-hook', it should be possible
to actually implement mouse-focus and sloppy-focus at the Scheme level.
In fact, sloppy-focus is just a special case of your hover-focus code.
With an unfocused-window binding context added, it should be possible to
implement click-to-focus at the Scheme level as well. I love it when
stuff can be removed from the core C code.

Another extension that should now be possible is an extra option to
auto-raise to make it operate on window-enter/window-leave instead of
on focus changes. This might be useful for people who want to use 
click-to-focus with auto-raise, or people who want to have #:focus 'none
desk-widgets but still have them auto-raise.

Excellent work.

 - Maciej

From owner-scwm-discuss@mit.edu  Mon Mar  1 01:41:21 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA00493
	for scwm-discuss-outgoing; Mon, 1 Mar 1999 01:41:21 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA00490
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 1 Mar 1999 01:41:12 -0500
Received: from smtp3.erols.com by MIT.EDU with SMTP
	id AA16357; Mon, 1 Mar 99 01:41:46 EST
Received: from alum.mit.edu (209-122-231-87.s87.tnt4.sbo.ma.dialup.rcn.com [209.122.231.87])
	by smtp3.erols.com (8.8.8/8.8.5) with ESMTP id BAA24778;
	Mon, 1 Mar 1999 01:41:03 -0500 (EST)
Message-Id: <36DA366D.EB5FFA52@alum.mit.edu>
Date: Mon, 01 Mar 1999 01:40:45 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Stephen Tell <tell@cs.unc.edu>
Cc: SCWM Discussion List <scwm-discuss@mit.edu>
Subject: Re: 0.9 raise-window bug or race condition - mouse button lockout
References: <Pine.HPP.3.96.990301003112.17191D-100000@rukbat.cs.unc.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Stephen Tell wrote:
> 
> I've finally managed to figure out what sequence of clicks it is that I
> hit by accident several times a day that puts scwm in a state where it
> ignores any mouse clicks.   Scwm 0.9, same problem on Linux or HP-UX.
> Noticed in some earlier versions too.

Whoops.


> If I click in the title of a window (that usually is not on top) and then
> rapidly click in another window, before the first window raises, I'm
> stuck: the cursor changes to the "hand" pointer, like it does when over
> window title-bar buttons, and no mouse clicks do anything at all.  I can
> break out of this state by changing desks with a function key.
> 
> When I change desks, often a root-window menu pops up, as if the second
> mouse-click wasn't read until I changed desks, at which time I'm over the
> root window.
> 
> Is there any way to get the window to raise immediatly on this title-bar
> click? I suppose scwm is waiting to make sure there wasn't a double-click.
> My .scwmrc has evolved from system.scwmrc, but this behavior has been with
> me for a while, through several variations on that titlebar mouse binding.
> I've got #:focus 'click in my default window style, and
> (set-click-to-focus-raises! #f ).
> 
> I do see a whole pile of messages like this in the logfile with scwm's
> stdout, and I think one appears when this problem occurs:
> 
> [Scwm][HandleButtonPress]: <<DEBUG>> Would have raised window emacs:
> .scwmrc, but commented out -- did you want it to raise?  Tell Greg!
> 
> Does this suggest anything to anyone as to where to look at the
> code?  Anything I should try?   Like I said, I do seem to trigger this
> fairly often.

I know where that debugging message is, but I think it might be a red herring.
I just tried the same thing you described with my mouse bindings and the only way
I get odd behavior is if I click on a title bar and quickly click on another
before the window raises, in which case it reacts like it got double clicked,
but the message does not pop up. I will definitely look at this at some point.
I suspect it is an oddity in the way mouse button events are processed.

 - Maciej

From owner-scwm-discuss@mit.edu  Mon Mar  1 09:42:48 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA03686
	for scwm-discuss-outgoing; Mon, 1 Mar 1999 09:42:48 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA03683
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 1 Mar 1999 09:42:45 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA10053; Mon, 1 Mar 99 09:43:11 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Mon, 01 Mar 1999 09:41:50 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Mon, 01 Mar 1999 09:41:50 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.2/8.9.2) id JAA05914;
	Mon, 1 Mar 1999 09:42:33 -0500 (EST)
To: scwm-discuss@mit.edu
Subject: Re: PATCH: hover-focus
References: <3.0.1.32.19990210163132.00bebabc@ccmailnt.stx.com> <19990227204821.A18524@kodis.jagunet.com> <36DA2D8C.F8751B0F@alum.mit.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Maciej Stachowiak's message of "Mon, 01 Mar 1999 01:02:52 -0500"
Date: 01 Mar 1999 09:42:33 -0500
Message-Id: <m3d82t46g6.fsf@eho.eaglets.com>
Lines: 15
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <36DA2D8C.F8751B0F@alum.mit.edu>
>>>> On the subject of "Re: PATCH: hover-focus"
>>>> Sent on Mon, 01 Mar 1999 01:02:52 -0500
>>>> Honorable Maciej Stachowiak <mstachow@alum.mit.edu> writes:
 >> I love it when
 >> stuff can be removed from the core C code.

doesn't performance suffer?
I mean, scheme is slower and takes more memory.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x))))

From owner-scwm-discuss@mit.edu  Mon Mar  1 12:10:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA04439
	for scwm-discuss-outgoing; Mon, 1 Mar 1999 12:10:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA04436
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 1 Mar 1999 12:10:05 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA20228; Mon, 1 Mar 99 12:09:38 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id LAA12691;
	Mon, 1 Mar 1999 11:59:54 -0500 (EST)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id MAA00125;
	Mon, 1 Mar 1999 12:09:44 -0500 (EST)
Message-Id: <36DAC949.5C06B33D@alum.mit.edu>
Date: Mon, 01 Mar 1999 12:07:21 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: sds@goems.com
Cc: scwm-discuss@mit.edu
Subject: Re: PATCH: hover-focus
References: <3.0.1.32.19990210163132.00bebabc@ccmailnt.stx.com> <19990227204821.A18524@kodis.jagunet.com> <36DA2D8C.F8751B0F@alum.mit.edu> <m3d82t46g6.fsf@eho.eaglets.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold wrote:
> 
> >>>> In message <36DA2D8C.F8751B0F@alum.mit.edu>
> >>>> On the subject of "Re: PATCH: hover-focus"
> >>>> Sent on Mon, 01 Mar 1999 01:02:52 -0500
> >>>> Honorable Maciej Stachowiak <mstachow@alum.mit.edu> writes:
>  >> I love it when
>  >> stuff can be removed from the core C code.
> 
> doesn't performance suffer?
> I mean, scheme is slower and takes more memory.

Performance is not generally an issue for things that are not highly
interactive. I probably would not want to rewrite interactive-move
in Scheme, even if it were doable (at least not without forcing myself
to try both versions on my SPARCstation 1 first). I don't think this is
an issue for focus changes though. 

Also, I don't think it is the case that Scheme takes more memory.
I have not done measurements, but since Scheme source
tends to be 5-10 times smaller than equivalent C source, and stripped
C object files are about a half to 4/5ths the size of the C source,
I'd be highly surprised if Scheme code took a lot more memory.

It's important to realize that many things inherited from fvwm are
implemented in the core C code not because they are performance-critical
or because they are essential primitives, but because there was no
better way to do it in the original source base.

 - Maciej

From owner-scwm-discuss@mit.edu  Mon Mar  1 15:51:39 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA05532
	for scwm-discuss-outgoing; Mon, 1 Mar 1999 15:51:39 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA05529
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 1 Mar 1999 15:51:36 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA05529; Mon, 1 Mar 99 15:51:02 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA23704; Mon, 1 Mar 1999 12:51:13 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: sds@goems.com, scwm-discuss@mit.edu
Subject: Re: PATCH: hover-focus
References: <3.0.1.32.19990210163132.00bebabc@ccmailnt.stx.com> <19990227204821.A18524@kodis.jagunet.com> <36DA2D8C.F8751B0F@alum.mit.edu> <m3d82t46g6.fsf@eho.eaglets.com> <36DAC949.5C06B33D@alum.mit.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Mar 1999 12:51:12 -0800
In-Reply-To: Maciej Stachowiak's message of "Mon, 01 Mar 1999 12:07:21 -0500"
Message-Id: <qrrogmdylvj.fsf@elwha.cs.washington.edu>
Lines: 57
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Sam Steingold wrote:
> > 
> > >>>> In message <36DA2D8C.F8751B0F@alum.mit.edu>
> > >>>> On the subject of "Re: PATCH: hover-focus"
> > >>>> Sent on Mon, 01 Mar 1999 01:02:52 -0500
> > >>>> Honorable Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> >  >> I love it when
> >  >> stuff can be removed from the core C code.
> > 
> > doesn't performance suffer?
> > I mean, scheme is slower and takes more memory.
> 
> Performance is not generally an issue for things that are not highly
> interactive. I probably would not want to rewrite interactive-move
> in Scheme, even if it were doable (at least not without forcing myself
> to try both versions on my SPARCstation 1 first). I don't think this is
> an issue for focus changes though. 

I'm also a little bit concerned about performance.  There definitely is
some extra overhead in invoking a scheme procedure.  I'm only concerned
that my focus switching doesn't seem to lag behind my mouse movements.
It's already bad on a slow network, and any worse would be unacceptable.

My other primary concern is that scwm should be at least degeneratively
functioning even w/o any scheme code being found-- if the focus switch
leaves the core, it'd be a damn hard wm to use w/o the hooks in place.

> Also, I don't think it is the case that Scheme takes more memory.
> I have not done measurements, but since Scheme source
> tends to be 5-10 times smaller than equivalent C source, and stripped
> C object files are about a half to 4/5ths the size of the C source,
> I'd be highly surprised if Scheme code took a lot more memory.

I'd be highly surprised if it doesn't take more, though.  But that's not 
the point -- we can benchmark these kinds of things, and should.  We
need a better feeling for the issues in moving things out of the core
and into scheme.

> It's important to realize that many things inherited from fvwm are
> implemented in the core C code not because they are performance-critical
> or because they are essential primitives, but because there was no
> better way to do it in the original source base.

Sure, but because they were written in C before, we don't know whether
they need to be.  It's the opposite problem of usual optimizing--and
it's harder to test whether something's performance *would* *be* a
problem if slowed down (it's easy to test whether it *is* a problem as
written).

BTW, these hooks were included as part of the event rewrite plan.  I'm
glad to see the functionality there, but I'm concerned that we don't
just keeping adding ad-hoc hooks instead of doing things more
generally (and hence understandably, extensibly, etc.).

Greg

From owner-scwm-discuss@mit.edu  Mon Mar  1 17:13:06 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA05951
	for scwm-discuss-outgoing; Mon, 1 Mar 1999 17:13:06 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA05948
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 1 Mar 1999 17:13:04 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA00349; Mon, 1 Mar 99 17:13:20 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id RAA16625;
	Mon, 1 Mar 1999 17:02:48 -0500 (EST)
Received: from viewlogic.com (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id RAA14925;
	Mon, 1 Mar 1999 17:12:38 -0500 (EST)
Message-Id: <36DB1047.6B0A60B0@viewlogic.com>
Date: Mon, 01 Mar 1999 17:10:15 -0500
From: Maciej Stachowiak <mstachow@viewlogic.com>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
Cc: Maciej Stachowiak <mstachow@alum.mit.edu>, sds@goems.com,
        scwm-discuss@mit.edu
Subject: Re: PATCH: hover-focus
References: <3.0.1.32.19990210163132.00bebabc@ccmailnt.stx.com> <19990227204821.A18524@kodis.jagunet.com> <36DA2D8C.F8751B0F@alum.mit.edu> <m3d82t46g6.fsf@eho.eaglets.com> <36DAC949.5C06B33D@alum.mit.edu> <qrrogmdylvj.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> I'm also a little bit concerned about performance.  There definitely is
> some extra overhead in invoking a scheme procedure.  I'm only concerned
> that my focus switching doesn't seem to lag behind my mouse movements.
> It's already bad on a slow network, and any worse would be unacceptable.

It's hard to measure these things accurately, but I'd say right now focus 
switching over a slow network _is_ unacceptably slow, i.e. it does not
track the mouse and redraw sometimes happens in visible stages. But it's
also annoyingly slow for me on a slow net using Fvwm or even Twm. Maybe
we have different definitions of a "slow network" however.

I think the moral of the story is to run you window manager locally, or
over a reasonably fast LAN, not that it should be hyper-optimized, because
it really can't be hyper-optimized enough.

> My other primary concern is that scwm should be at least degeneratively
> functioning even w/o any scheme code being found-- if the focus switch
> leaves the core, it'd be a damn hard wm to use w/o the hooks in place.
> 

If I did remove it from the core, I would make minimal.scm manually set 
up click-to-focus by default. That would be a one liner:
(bind-mouse 'unfocused-window 1 focus). If that takes more memory than
the current mess of focus policy code in the core, I'll eat my hat.

> > Also, I don't think it is the case that Scheme takes more memory.
> > I have not done measurements, but since Scheme source
> > tends to be 5-10 times smaller than equivalent C source, and stripped
> > C object files are about a half to 4/5ths the size of the C source,
> > I'd be highly surprised if Scheme code took a lot more memory.
> 
> I'd be highly surprised if it doesn't take more, though.

By my numbers that would require Scheme code to take significantly over 2.5-8 
times as much memory in core as it does as on-disk ASCII. That's something
that should actually be measurable, at least in bulk. I'm willing to give it
a try, anyway. 

Of course, object file size doesn't really accurately measure program size 
either, since it only gives the size of the code, not the dynamically allocated 
or zero-initialized static data it uses.

I'm also not toally convinced we have that much of a memory consumption problem.
I've measured the actual delta free memory after running fvwm2 with the default 
Red Hat setup and a recent scwm with the default rc file, and the difference
was 1.1M for fvwm and 2.3M for scwm. I think a lot of the difference is attributable
to all the random things we've stuffed in the core which should go into binary
loadable modules, and to the fact that Guile aggressively over-allocates the
heap (fixed in a patch by Greg Harvey which I hope will go in the next release).

> But that's not the point -- we can benchmark these kinds of things, and
> should.  We need a better feeling for the issues in moving things out of
> the core and into scheme.

It's hard to benchmark these things on the micro scale however; timing is
very hard to test for interactive things except by feel, and memory consumption
is basically impossible to measure unless it's an increment of at least a page
(4k on most modern boxes). We'd have to create pseudo-benachmarks to measure
reliably.

> BTW, these hooks were included as part of the event rewrite plan.  I'm
> glad to see the functionality there, but I'm concerned that we don't
> just keeping adding ad-hoc hooks instead of doing things more
> generally (and hence understandably, extensibly, etc.).

As I said before, I think the event rewrite plan, in the final incarnation, 
suffered from a really bad case of second system effect. Upon further 
consideration, I think it is useful to provide the full event model for mouse 
and keyboard events only, and hooks for pretty much everything else that is useful
and interesting.I think applying the full-blown event model to other events would 
add a _lot_ of added bloat and complexity with very little corresponding benefit. 

I've  tried to make sure the hooks generally get enough arguments that 
they are equipotent with the planned event model, in the sense that someone could 
implement something like the event model in Scheme if he _really_ wanted it. However, 
I don't think anyone will want to. Check out the modules like hover-focus and 
auto-raise that use some of the current hooks - I don't think they would either 
be simplified or usefully extended by a full-on event model for the things they 
care about.

 - Maciej

From owner-scwm-discuss@mit.edu  Tue Mar  2 07:09:16 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA10467
	for scwm-discuss-outgoing; Tue, 2 Mar 1999 07:09:16 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id HAA10464
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 2 Mar 1999 07:09:08 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA08378; Tue, 2 Mar 99 07:08:10 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id MAA17767
	for scwm-discuss@mit.edu; Tue, 2 Mar 1999 12:40:50 +0100 (MET)
Received: (qmail 1864 invoked by uid 115); 2 Mar 1999 08:33:36 -0000
To: scwm-discuss@mit.edu
Subject: Re: PATCH: hover-focus
References: <3.0.1.32.19990210163132.00bebabc@ccmailnt.stx.com> <19990227204821.A18524@kodis.jagunet.com> <36DA2D8C.F8751B0F@alum.mit.edu> <m3d82t46g6.fsf@eho.eaglets.com> <36DAC949.5C06B33D@alum.mit.edu> <qrrogmdylvj.fsf@elwha.cs.washington.edu> <36DB1047.6B0A60B0@viewlogic.com>
X-Attribution: Robbe
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
In-Reply-To: Maciej Stachowiak's message of "Mon, 01 Mar 1999 17:10:15 -0500"
User-Agent: Gnus/5.070079 (Pterodactyl Gnus v0.79) XEmacs/20.4 (Emerald)
Mime-Version: 1.0
Date: 02 Mar 1999 09:33:29 +0100
Message-Id: <ws1zj8jnom.fsf@orcus.priv.at>
Lines: 30
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Mon, 01 Mar 1999 17:10:15 -0500
>>>>> Maciej Stachowiak <mstachow@viewlogic.com> said:

 Maciej> It's hard to benchmark these things on the micro scale
 Maciej> however; timing is very hard to test for interactive things
 Maciej> except by feel, [...]

Why? I'd time scheme-functions somewhat like this:

(let ((bench-start (tms:clock (times)))
      (w1 (select-window-interactively))
      (w2 (select-window-interactively)))
  (do ((i 0 (1+ i)))
      ((> i 1000) (- (tms:clock (times)) bench-start))
    (default-winlist-proc w1)
    (default-winlist-proc w2)))

(Now guess how long this took!)

For our purposes, a more realistic test is probably to instrument the
event handling procedures and compare the times needed for calling a
scheme function vs. a C primitive.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Wed Mar  3 07:50:46 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA03312
	for scwm-discuss-outgoing; Wed, 3 Mar 1999 07:50:46 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id HAA03309
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 3 Mar 1999 07:50:42 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA19235; Wed, 3 Mar 99 07:49:18 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id OAA13733; Wed, 3 Mar 1999 14:49:24 +0200
To: scwm-discuss@mit.edu
Subject: Parsing .fvwmrc files.
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 03 Mar 1999 14:49:24 +0200
In-Reply-To: Robert Bihlmeyer's message of "02 Mar 1999 09:33:29 +0100"
Message-Id: <m23e3msppn.fsf_-_@blinky.bfr.co.il>
Lines: 230
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I just wrote a very crude implementation of lex.  My motivation is
that a) guile should include some sort of lex & yacc, and b) this
should be helpful in parsing the .fvwmrc files.  For that matter, I've
been testing it on my .fvwmrc file & it's now able to convert things
like:

# this is used for the selected window
HiForeColor		Wheat
HiBackColor		SlateBlue4

########################      ICON STUFF     ##############################
# Auto Place Icons is a nice feature....
# This creates two icon boxes, one on the left side, then one on the
# bottom. Leaves room in the upper left for my clock and xbiff,
# room on the bottom for the Pager.
#IconBox -150 90 -5 -140
#IconBox 5 -140 -140 -5
IconBox -70 1 -1 -140

to:

 (comment
   "# this is used for the selected window")
 (HIFORECOLOR "HiForeColor")
 (symbol "Wheat")
 (HIBACKCOLOR "HiBackColor")
 (symbol "SlateBlue4")
 (comment
   "########################      ICON STUFF     ##############################")
 (comment
   "# Auto Place Icons is a nice feature....")
 (comment
   "# This creates two icon boxes, one on the left side, then one on the")
 (comment
   "# bottom. Leaves room in the upper left for my clock and xbiff,")
 (comment "# room on the bottom for the Pager.")
 (comment "#IconBox -150 90 -5 -140")
 (comment "#IconBox 5 -140 -140 -5")
 (ICONBOX "IconBox")
 (number "-70")
 (number "1")
 (number "-1")
 (number "-140")


Example usage:

guile> (load "lex.scm")
guile> (define d (lexinput fvwmlexport (open-input-file "/home/hjstein/.fvwmrc")))
guile> (pretty-print d)
((comment
   "# Unfortunately, order does matter in this file")
 (comment
   "# The correct order for inserting configurations is:")
...


Here's the code, in case anyone wants to use it or suggest improvements.


;;; lex.scm
;;; Copyright (c) 1999, Harvey J. Stein
;;; This code is licensed under the GNU Guile GPL.

;;; Just for debugging...
(use-modules (ice-9 slib))
(require 'pretty-print)

;;; Given list of strings s1 s2 ..., returns (s1)|(s2)|...
(define (orlist l)
  (cond ((null? l) "")
	((null? (cdr l)) (string-append "(" (car l) ")"))
	(else (string-append "(" (car l) ")|" (orlist (cdr l))))))

;;; If string doesn't start with ^, prepend ^.
(define (anchor regexp-string)
  (if (char=? (string-ref regexp-string 0) #\^)
      regexp-string
      (string-append "^" regexp-string)))


;;; (lexer ("regex-string1" (lambda (value) ...)) ("regex-string2" (lambda (value) ...)) ...)

;;; returns a fcn of 2 args called a string lexer.  When this string
;;; lexer is called on a string, it matches the string against the
;;; regex-strings & executes the lambda corresponding to the longest
;;; match of the string.  It passes in the part of the string that
;;; matches as the value.  If Token is what the lambda returns, then
;;; the string lexer returns ((token value) rest-of-string).  If the
;;; entire string matches, then lexer returns ((token value) #f).  If
;;; no regexps match, the lexer returns 'failure.

;;; The 2nd arg to the lexer should be #t or #f.  #t indicates that
;;; the input string should be considered to be the beginning of the
;;; line.  #f indicates that it isn't the beginning of the line.  If
;;; it's #f, then regex-strings beginning with "^" aren't used in the
;;; matching.

;;; For debugging, if you pass in a 1st argument which isn't a string,
;;; the lexer dumps the internal regexps & action arrays.

(define (lexer . rest)
  (let ((bol-regex (make-regexp (orlist (map anchor (map car rest)))))
	(bol-actions (list->vector (map cadr rest))))
    (let collect-nonbols ((non-bol-actions '())
			  (non-bol-regexs   '())
			  (rest            rest))
      (cond ((null? rest)
	     (set! non-bol-actions (list->vector (reverse non-bol-actions)))
	     (set! non-bol-regexs  (make-regexp (orlist (map anchor 
							     (reverse non-bol-regexs)))))
	     (lambda (string bol?)
	       (if (string? string)
		   (let next-match ((m (if bol? (regexp-exec bol-regex string)
					   (regexp-exec non-bol-regexs string)))
				    (count 1)
				    (actions (if bol? bol-actions
						 non-bol-actions)))
		     (cond ((not m)
			    'failure)
			   ((> count (match:count m))
			    (list #f ,string))
			   ((match:start m count)
			    (let* ((s (substring string (match:end m count)))
				   (t (if (= 0 (string-length s))
					  #f
					  s)))
			      (list (list ((vector-ref actions (- count 1)) 
					   (match:substring m count))
					  (match:substring m count))
				    t)))
			   (else (next-match m (+ count 1) actions))))
		   (list bol-regex bol-actions non-bol-regexs non-bol-actions))))
	    ((char=? (string-ref (caar rest) 0) #\^)
	     (collect-nonbols non-bol-actions non-bol-regexs (cdr rest)))
	    (else (collect-nonbols (cons (cadr (car rest))
					 non-bol-actions)
				   (cons (caar rest) non-bol-regexs)
				   (cdr rest)))))))


;;; (lexport lexfcn) returns a fcn (a port lexer).  lexfcn should be a
;;; string lexer, as returned by lexer.

;;; The returned fcn takes a port as an argument.  It reads lines from
;;; the port & uses the string lexer to tokenizing them.  It keeps
;;; track of the remainder of the lines & whether or not it's at the
;;; beginning of the line.  It returns whatever the string lexer
;;; returns, except if it hits eof, it returns the eof-object.

;;; If it's called with the argument 'clear instead of a port, then
;;; instead of lexing it clears the state (i.e. - assumes that the
;;; next match will be against the beginning of the line).

;;; If it's called with anything else, it returns the lexfcn internal
;;; data.

(define (lexport lexfcn)
  (let ((data #f)
	(bol? #f))
    (lambda (port)
      (cond ((input-port? port)
	     (cond ((not data)
		    (set! data (read-line port))
		    (set! bol? #t)))
	     (cond ((eof-object? data)
		    data)
		   (else
		    (let ((le (lexfcn data bol?)))
		      (cond ((eq? le 'failure)
			     'failure)
			    (else 
			     (set! data (cadr le))
			     (set! bol? #f)
			     (car le)))))))
	    ((eq? port 'clear)
	     (set! data #f)
	     (set! bol? #f))
	    (else
	     (lexfcn #f #f))))))


;;; Because the stupid guile string-downcase! doesn't work on strings
;;; that have been returned by (read-line)!!!!  Not even after
;;; (substring) is called on them!!!!!!

(define (string-downcase s)
  (let loop ((r (make-string (string-length s)))
	     (i 0))
    (if (>= i (string-length s))
	r
	(begin (string-set! r i (char-upcase (string-ref s i)))
	       (loop r (+ i 1))))))
	       
(define fvwmlexdata
  `(("^[ \t]*#.*"                 ,(lambda (s) 'comment))
    ("^[^ \t]+"                   ,(lambda (s) (string->symbol (string-downcase s))))
    ("-?[0-9]+"                   ,(lambda (s) 'number))
    ("-?[0-9]*\\.[0-9]+"          ,(lambda (s) 'number))
    ("\"[^ \t]*\""                ,(lambda (s) 'string))
    ("[^ \t]+"                    ,(lambda (s) 'symbol))
    ("[ \t]*"                     ,(lambda (s) 'whitespace))))


(define fvwmlexer
  (apply lexer fvwmlexdata))

;;; We want to skip whitespace so we don't just use lexport directly.
(define fvwmlexport
  (let ((lp (lexport fvwmlexer)))
    (lambda (port)
      (let ((token (lp port)))
	(if (and (pair? token)
		 (eq? (car token) 'whitespace))
	    (fvwmlexport port)
	    token)))))

;;;; Read the entire input, return the list of tokens.
(define (lexinput portlexer port)
  (let loop ((inp (portlexer port))
	     (out '()))
    (if (eof-object? inp) (reverse out)
	(loop (portlexer port) (cons inp out)))))


-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Wed Mar  3 10:07:31 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA03937
	for scwm-discuss-outgoing; Wed, 3 Mar 1999 10:07:31 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA03933
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 3 Mar 1999 10:07:28 -0500
Received: from pool-209-138-71-5.generic.grid.net by MIT.EDU with SMTP
	id AA24534; Wed, 3 Mar 99 10:06:02 EST
Received: from ono.intellivoice.com (ONO [192.168.14.106]) by mail.intellivoice.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9)
	id GBXSAQNZ; Wed, 3 Mar 1999 10:06:41 -0500
Received: (from doug@localhost)
	by ono.intellivoice.com (8.8.7/8.8.7) id KAA08514;
	Wed, 3 Mar 1999 10:05:04 -0500
To: scwm-discuss@mit.edu
Subject: Re: Parsing .fvwmrc files.
References: <m23e3msppn.fsf_-_@blinky.bfr.co.il>
From: Doug McNaught <dmcnaught@intellivoice.com>
Date: 03 Mar 1999 10:05:02 -0500
In-Reply-To: hjstein@bfr.co.il's message of "03 Mar 1999 14:49:24 +0200"
Message-Id: <m31zj6obq9.fsf@ono.intellivoice.com>
Lines: 19
X-Mailer: Gnus v5.6.9/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> I just wrote a very crude implementation of lex.  My motivation is
> that a) guile should include some sort of lex & yacc, and b) this
> should be helpful in parsing the .fvwmrc files.  For that matter, I've
> been testing it on my .fvwmrc file & it's now able to convert things
> like:

Very cool.  I may write the converter in Scheme after all ;)

Speaking of which, I have some notes on the conversion process I've
been writing up.  I will try to post them or put them on the web in
the next day or so.  Comments will be welcome.

-Doug
-- 
Doug McNaught                                      dmcnaught@intellivoice.com
Senior Network Engineer
Intellivoice Communications, Inc                  http://www.intellivoice.com

From owner-scwm-discuss@mit.edu  Thu Mar  4 14:25:00 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA12334
	for scwm-discuss-outgoing; Thu, 4 Mar 1999 14:25:00 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA12331
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 4 Mar 1999 14:24:57 -0500
Received: from raspberry.duff.org by MIT.EDU with SMTP
	id AA22803; Thu, 4 Mar 99 14:22:50 EST
Received: from localhost (danius@localhost)
	by raspberry.duff.org (8.9.0/8.9.0) with SMTP id TAA00331
	for <scwm-discuss@mit.edu>; Thu, 4 Mar 1999 19:23:05 GMT
Date: Thu, 4 Mar 1999 19:23:04 +0000 (GMT)
From: Danius Michaelides <danius@duff.org>
To: scwm-discuss@mit.edu
Subject: Re: Ghost windows
In-Reply-To: <Pine.LNX.4.02.9902232302060.2762-100000@raspberry.duff.org>
Message-Id: <Pine.LNX.4.02.9903041916520.2762-100000@raspberry.duff.org>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Tue, 23 Feb 1999, Danius Michaelides wrote:

> 
>   I've been moving my fvwm setup over to scwm (again), and have hit
> upon a problem. I run FvwmButtons and swallow a number of windows
> (FvwmPager, asclock, xload and an xterm). They (usually) all get
> swallowed properly, but leave 'ghost windows' lying around (windows
> which have the correct decorations, but have grey/blank content).
> Presumeably these window frames should be destroyed with the window
> gets reparented by FvwmButtons?

Ok, i've solved the problem i was having here. I was using
Swallow(UseOld,NoKill) to swallow stuff in FvwmButtons. It appears
that the UseOld option is the one that causing the ghost windows. Not
sure exactly how the behaviour between Fvwm and Scwm is different.

Now all i need is SnapAttraction...
Danius


From owner-scwm-discuss@mit.edu  Thu Mar  4 14:42:58 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA12465
	for scwm-discuss-outgoing; Thu, 4 Mar 1999 14:42:58 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA12462
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 4 Mar 1999 14:42:53 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA28901; Thu, 4 Mar 99 14:40:47 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id OAA20581;
	Thu, 4 Mar 1999 14:31:09 -0500 (EST)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id OAA01620;
	Thu, 4 Mar 1999 14:41:01 -0500 (EST)
Message-Id: <36DEE13B.D2DC9B84@alum.mit.edu>
Date: Thu, 04 Mar 1999 14:38:35 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Danius Michaelides <danius@duff.org>
Cc: scwm-discuss@mit.edu
Subject: Re: Ghost windows
References: <Pine.LNX.4.02.9903041916520.2762-100000@raspberry.duff.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Danius Michaelides wrote:
> 
> On Tue, 23 Feb 1999, Danius Michaelides wrote:
> 
> >
> >   I've been moving my fvwm setup over to scwm (again), and have hit
> > upon a problem. I run FvwmButtons and swallow a number of windows
> > (FvwmPager, asclock, xload and an xterm). They (usually) all get
> > swallowed properly, but leave 'ghost windows' lying around (windows
> > which have the correct decorations, but have grey/blank content).
> > Presumeably these window frames should be destroyed with the window
> > gets reparented by FvwmButtons?
> 
> Ok, i've solved the problem i was having here. I was using
> Swallow(UseOld,NoKill) to swallow stuff in FvwmButtons. It appears
> that the UseOld option is the one that causing the ghost windows. Not
> sure exactly how the behaviour between Fvwm and Scwm is different.
> 
> Now all i need is SnapAttraction...

It's on the list of things to do. Maybe you would like to be the one to do
it? I can provide some general advice on how it can be done in scwm with
mostly Scheme code and a few C-level changes (the Scheme code could be
rewritten in C or compiled and massaged by hand if it turns out to be
too slow).

 - Maciej

From owner-scwm-discuss@mit.edu  Fri Mar  5 05:21:14 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA17691
	for scwm-discuss-outgoing; Fri, 5 Mar 1999 05:21:14 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from terram.oeil.qc.ca (oeil.Mlink.NET [205.236.183.26])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id FAA17688
	for <scwm-discuss@vicarious-existence.mit.edu>; Fri, 5 Mar 1999 05:21:11 -0500
Received: from terram.oeil.qc.ca.oeil.qc.ca (arsphl@terram [205.236.183.26])
	by terram.oeil.qc.ca (8.8.8/8.8.8) with ESMTP id FAA02532;
	Fri, 5 Mar 1999 05:21:30 -0500
To: scwm-discuss@mit.edu
Subject: Pie, Lambdas, and new binary
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Face: "is~\q|K),`m,bY9dG.&@&GV%6#q@2sV:1/uiqINV#z`8)LZ:X-Xy9zPn(P~R_?Ol:G\<?8 mQFxL?=YHQ`?p],8U4j$?ANbPXLS\d4&q?h^BeBY*/Un7qAS|c
From: Philippe Laliberte <arsphl@oeil.qc.ca>
Date: 05 Mar 1999 05:21:27 -0500
Message-ID: <m3r9r42q54.fsf@terram.oeil.qc.ca>
Lines: 54
X-Mailer: Gnus v5.5/Emacs 20.2
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hello,

	I have builded scwm-0.9-2 for Linux ppc yesterday and played
with it alot. The binary rpm is disponible for a little while at
http://www.mlink.net/~arsphl/rpm/scwm-0.9-2.ppc.rpm . Or at 
ftp://ftp.oeil.qc.ca:pub/scheme/

	It has elvolved quite well since 0.7, the last version I
tested. So much so that I'm integreting it completely on our boxes.

	I have tested it for now on a RISC 601/66 MHz 24Meg Ram and it
is runing nicely tomorw I'll integrete it to a 603/120 MHz 128Meg Ram.

	Of course I have a few questions:

	Where do I find the Pie menus module? Do I still need it to
play with this? If not how Do I set it up?

	I'm no guru of Guile but under older scheme implementation
there is a clear startup gain into defining closures as lambdas ex:

> (define (carre x) (* x x))
Evaluation took 0 seconds (0 in gc) 6 cons work, 0.000604033 real.
#<CLOSURE (x) (* x x)>
> (define carre2 (lambda(x) (* x x)))
Evaluation took 0 seconds (0 in gc) 2 cons work, 0.000391006 real.
#<CLOSURE (x) (* x x)>
> 

	Wouldn't the same apply to scwm? As a test I have redefined
all closures (public and private) in prefs-menu.scm and it seems to
have accelerate a little my environement, but it is too late for
serious runtime tests. And of course that sort of things is much more
apparent on a 66 MHz with 24Meg of ram ...:)

	And finaly, why define the menus as a data structure instead
of a closure? Whouldn't it have allowed more flexibility to use
something that gets evaluated when you ask for it?

	If the answers are obvious for you please don't hesitate to
drag me in the dirt. I ask because I don't see and I didn't find out in
the code.

	If you may think that a automatic FAQ could be a good tools
while documentation get worked on let me know I can set up one in
http://www.oeil.qc.ca/auto_faq quite quickly.

Thank's
--
(Bonne_journée
	     ( "Philippe Laliberte" . http://www.oeil.qc.ca/ )
	     ( arsphl@oeil.qc.ca . NO SPAM PLEASE ))




From owner-scwm-discuss@mit.edu  Fri Mar  5 09:58:54 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA18721
	for scwm-discuss-outgoing; Fri, 5 Mar 1999 09:58:54 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA18718
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 5 Mar 1999 09:58:52 -0500
Received: from raspberry.duff.org by MIT.EDU with SMTP
	id AA08438; Fri, 5 Mar 99 09:57:18 EST
Received: from localhost (danius@localhost)
	by raspberry.duff.org (8.9.0/8.9.0) with SMTP id OAA02193;
	Fri, 5 Mar 1999 14:55:12 GMT
Date: Fri, 5 Mar 1999 14:55:12 +0000 (GMT)
From: Danius Michaelides <danius@duff.org>
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Ghost windows
In-Reply-To: <36DEE13B.D2DC9B84@alum.mit.edu>
Message-Id: <Pine.LNX.4.02.9903051451440.2762-100000@raspberry.duff.org>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

> > Now all i need is SnapAttraction...
> 
> It's on the list of things to do. Maybe you would like to be the one to do
> it? I can provide some general advice on how it can be done in scwm with
> mostly Scheme code and a few C-level changes (the Scheme code could be
> rewritten in C or compiled and massaged by hand if it turns out to be
> too slow).

Well actually, shortly after i sent the email, i started looking at
the various interactive-move hooks, and it looked fun, so i'll give it
a go... although, i did get stuck on a decent way of storing window
edges, for fast lookup doing the mov

Danius


From owner-scwm-discuss@mit.edu  Sat Mar  6 13:16:53 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA26982
	for scwm-discuss-outgoing; Sat, 6 Mar 1999 13:16:53 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from kodis.jagunet.com (kodis.jaguNET.com [206.156.208.48])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id NAA26979
	for <scwm-discuss@vicarious-existence.mit.edu>; Sat, 6 Mar 1999 13:16:45 -0500
Received: (from kodis@localhost)
	by kodis.jagunet.com (8.8.7/8.8.7) id NAA13059
	for scwm-discuss@vicarious-existence.mit.edu; Sat, 6 Mar 1999 13:13:14 -0500
Date: Sat, 6 Mar 1999 13:13:14 -0500
From: John Kodis <kodis@jagunet.com>
To: scwm-discuss@mit.edu
Subject: PATCH: resize-message-new-size-hook
Message-ID: <19990306131313.A13014@kodis.jagunet.com>
Reply-To: kodis@jagunet.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95i
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I've patched the resize-message-new-size-hook function in
scheme/message-window.scm to:

  - display window sizes in terms of the window resize increment, so
    that xterm windows display their size in characters rather than
    pixels.

  - subtract the border and title height from the displayed dimensions
    so that the resize window shows the size of the client window,
    rather than the size of the window frame; and

  - avoid displaying leftover message text when starting a resize
    operation;

A change log entry and patches to message-window.scm follow.  I would
have asked Jeffrey Nichols, the author of the message-window module,
review these changes prior to posting them to the list, but I was
unable to find his e-mail address.  Sorry for the breech of etiquette.

-- John Kodis.


Sat Mar  6 12:45:53 1999  John Kodis  <kodis@jagunet.com>

    * message-window.scm (resize-message-new-size-hook): subtract the
    border and title height from the displayed dimensions so that the
    resize window shows the size of the client window, rather than the
    size of the window frame; display window sizes in terms of the
    window resize increment, so that xterm windows display their size
    in characters rather than pixels.
    (resize-message-show-dimensions): renamed from
    resize-message-new-size-hook, and called from the new version of
    that function.
    (resize-message-start-hook): set message window message to a
    reasonable initial value to prevent erroneous display of a
    leftover message.


--- message-window.scm	1999/03/06 14:11:53	1.1
+++ message-window.scm	1999/03/06 17:31:17
@@ -174,14 +174,33 @@
 
 (define (resize-message-start-hook win width height)
     ((msgwin-action-placer 'interactive-resize) default-message-window win)
+    (message-window-set-message! default-message-window " -- x -- ")
     (message-window-show! default-message-window))
 
-(define (resize-message-new-size-hook win width height)
+(define (resize-message-show-dimensions win width height)
   (let* ((wstr (number->string width))
 	 (hstr (number->string height))
 	 (str (string-append " " wstr " x " hstr " ")))
     ((msgwin-action-placer 'interactive-resize) default-message-window win)
     (message-window-set-message! default-message-window str)))
+
+;;; resize-message-new-size-hook computes the resize window
+;;; dimensions.  Initial calls with (0,-1) or (-1,0) dimensions are
+;;; ignored.  With a resize increment of one, the window size in
+;;; pixels is displayed.  With a multi-pixel resize increment, the
+;;; window size in terms of the resize increment is displayed.
+(define (resize-message-new-size-hook win width height)
+  (and (> width 0) (> height 0)
+       (let* ((hints (window-size-hints win))
+	      (step (caddr  hints)) (dx (car step)) (dy (cdr step))
+	      (border (window-frame-border-width win))
+	      (w (- width  border border))
+	      (h (- height border border (title-height))) )
+	 (if (and (<= dx 1) (<= dy 1))
+	     (resize-message-show-dimensions win w h)
+	     (let* ((base (cadddr hints)) (x0 (car base)) (y0 (cdr base)))
+	       (resize-message-show-dimensions
+	         win (/ (- w  x0) dx) (/ (- h y0) dy) ) ) ) ) ) )
 
 (define (resize-message-finish-hook win)
     (message-window-hide! default-message-window))

From owner-scwm-discuss@mit.edu  Sun Mar  7 13:08:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA01627
	for scwm-discuss-outgoing; Sun, 7 Mar 1999 13:08:18 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from walter.doc.ic.ac.uk (walter.doc.ic.ac.uk [146.169.2.50])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id NAA01624
	for <scwm-discuss@vicarious-existence.mit.edu>; Sun, 7 Mar 1999 13:08:15 -0500
Received: from [146.169.49.14] (helo=sync14.doc.ic.ac.uk)
	by walter.doc.ic.ac.uk with esmtp (Exim 1.890 #1)
	for scwm-discuss@vicarious-existence.mit.edu
	id 10JhvD-0000j8-00; Sun, 7 Mar 1999 18:05:03 +0000
Received: (from mb11@localhost)
	by sync14.doc.ic.ac.uk (8.8.7/8.8.8) id SAA07077
	for scwm-discuss@vicarious-existence.mit.edu; Sun, 7 Mar 1999 18:05:03 GMT
Message-Id: <199903071805.SAA07077@sync14.doc.ic.ac.uk>
From: mb11@doc.ic.ac.uk (Marc Broster)
Date: Sun, 7 Mar 1999 18:05:03 +0000
X-Mailer: Mail User's Shell (7.2.6 beta(4) 03/19/98)
To: scwm-discuss@mit.edu
Subject: shared libraries error
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

the scwm rpm has finally been installed on our machines, but running it returns
the following error:

sync14% scwm -V
scwm: error in loading shared libraries
: undefined symbol: __bzero
sync14% 


any pointers on how to fix this?


cheers,

marc

From owner-scwm-discuss@mit.edu  Sun Mar  7 15:48:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA02260
	for scwm-discuss-outgoing; Sun, 7 Mar 1999 15:48:17 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA02257
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 7 Mar 1999 15:48:13 -0500
Received: from oeil.Mlink.NET by MIT.EDU with SMTP
	id AA23482; Sun, 7 Mar 99 15:45:37 EST
Received: from terram.oeil.qc.ca.oeil.qc.ca (arsphl@terram [205.236.183.26])
	by terram.oeil.qc.ca (8.8.8/8.8.8) with ESMTP id PAA14746;
	Sun, 7 Mar 1999 15:47:07 -0500
To: mb11@doc.ic.ac.uk (Marc Broster)
Cc: scwm-discuss@mit.edu
Subject: Re: shared libraries error
References: <199903071805.SAA07077@sync14.doc.ic.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Face: "is~\q|K),`m,bY9dG.&@&GV%6#q@2sV:1/uiqINV#z`8)LZ:X-Xy9zPn(P~R_?Ol:G\<?8 mQFxL?=YHQ`?p],8U4j$?ANbPXLS\d4&q?h^BeBY*/Un7qAS|c
From: Philippe Laliberte <arsphl@oeil.qc.ca>
Date: 07 Mar 1999 15:47:05 -0500
In-Reply-To: mb11@doc.ic.ac.uk's message of Sun, 7 Mar 1999 18:05:03 +0000
Message-Id: <m3d82lf2nq.fsf@terram.oeil.qc.ca>
Lines: 21
X-Mailer: Gnus v5.5/Emacs 20.2
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>>> "Marc" == Marc Broster <mb11@doc.ic.ac.uk> writes:

 Marc> the scwm rpm has finally been installed on our machines, but
 Marc> running it returns the following error:

 Marc> sync14% scwm -V scwm: error in loading shared libraries :
 Marc> undefined symbol: __bzero sync14%


 Marc> any pointers on how to fix this?


	I have had the same kind of problem with an other command. For
us I have track it down to a difference in the glib versions. When I
made sure that the glib rpm where of the same versions with the
working one everything was find. I also have the same problem with
gimp 1.0. the spec files don't seems to check for version number in
the dependancies.

-- 
arsphl


From owner-scwm-discuss@mit.edu  Sun Mar  7 18:22:26 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA02980
	for scwm-discuss-outgoing; Sun, 7 Mar 1999 18:22:26 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA02977
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 7 Mar 1999 18:22:23 -0500
Received: from raspberry.duff.org by MIT.EDU with SMTP
	id AA16310; Sun, 7 Mar 99 18:19:42 EST
Received: from localhost (danius@localhost)
	by raspberry.duff.org (8.9.0/8.9.0) with SMTP id XAA05481
	for <scwm-discuss@mit.edu>; Sun, 7 Mar 1999 23:19:02 GMT
Date: Sun, 7 Mar 1999 23:19:01 +0000 (GMT)
From: Danius Michaelides <danius@duff.org>
To: scwm-discuss@mit.edu
Subject: 1st attempt at SnapAttraction
Message-Id: <Pine.LNX.4.02.9903072259130.5352-200000@raspberry.duff.org>
Mime-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="-641580823-871548009-920848741=:5352"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---641580823-871548009-920848741=:5352
Content-Type: TEXT/PLAIN; charset=US-ASCII


  Here's my first stab at SnapAttraction. It currently only does
window snapping at the end of the interactive move (ie, it doesnt move
a window during the interactive move, like fvwm does).
  It use it, use-module, in the usual way and call snap-initialize,
with an optional argument which is the size of the attraction zone.
snap-reset will turn snap attraction off.
  Warning; i've not tested this extensively, but it seems to do the
right thing..

  Danius

PS:  I notice that interactive-move-new-position often returns repeated x
y coordinates. Is this intentional?


---641580823-871548009-920848741=:5352
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="snap.scm"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.02.9903072319010.5352@raspberry.duff.org>
Content-Description: 
Content-Disposition: attachment; filename="snap.scm"

KGRlZmluZS1tb2R1bGUgKGFwcCBzY3dtIHNuYXApDQogIDp1c2UtbW9kdWxl
IChhcHAgc2N3bSBiYXNlKQ0KICA6dXNlLW1vZHVsZSAoYXBwIHNjd20gd2lu
aW5mbykNCiAgOnVzZS1tb2R1bGUgKGFwcCBzY3dtIHdpbmxpc3QpDQogIDp1
c2UtbW9kdWxlIChhcHAgc2N3bSBvcHRhcmdzKQ0KICApDQoNCihkZWZpbmUg
Y3VycmVudC13aW5kb3dzICcoKSkNCihkZWZpbmUgY3VycmVudC13aW5kb3dz
LWluZm8gJygpKQ0KKGRlZmluZSB0cmFpbCAnKCkpDQooZGVmaW5lIG15aW5m
byAnKCkpDQoNCihkZWZpbmUgc25hcC13aWR0aCAxMCkNCg0KKGRlZmluZSBs
YXN0LXggLTEpDQooZGVmaW5lIGxhc3QteSAtMSkNCg0KKGRlZmluZSAod2lu
aW5mbyB3aW4pDQogIChsZXQgKChwb3MgKHdpbmRvdy12aWV3cG9ydC1wb3Np
dGlvbiB3aW4pKQ0KICAgICAgICAoc2l6ZSAod2luZG93LWZyYW1lLXNpemUg
d2luKSkpDQogICAgKGxpc3QgKGNhZHIgcG9zKSAoKyAoY2FyIHBvcykgKGNh
ciBzaXplKSkNCiAgICAgICAgICAoKyAoY2FkciBwb3MpIChjYWRyIHNpemUp
KSAoY2FyIHBvcykpKSkNCg0KKGRlZmluZSAod2luaW5mby1uIHdpKSAoY2Fy
IHdpKSkNCihkZWZpbmUgKHdpbmluZm8tZSB3aSkgKGNhZHIgd2kpKQ0KKGRl
ZmluZSAod2luaW5mby1zIHdpKSAoY2FkZHIgd2kpKQ0KKGRlZmluZSAod2lu
aW5mby13IHdpKSAoY2FkZGRyIHdpKSkNCg0KKGRlZmluZSB3aW5pbmZvLXgg
d2luaW5mby13KQ0KKGRlZmluZSB3aW5pbmZvLXkgd2luaW5mby1uKQ0KKGRl
ZmluZSAod2luaW5mby13aWR0aCB3aSkgKC0gKHdpbmluZm8tZSB3aSkod2lu
aW5mby13IHdpKSkpDQooZGVmaW5lICh3aW5pbmZvLWhlaWdodCB3aSkgKC0g
KHdpbmluZm8tcyB3aSkod2luaW5mby1uIHdpKSkpDQoNCihkZWZpbmUgKG92
ZXJsYXAtbGluZXMgYTEgYTIgYjEgYjIpDQogIChpZiAoPCBiMSBhMSkNCiAg
ICAob3ZlcmxhcC1saW5lcyBiMSBiMiBhMSBhMikNCiAgICAoPCBiMSBhMikp
KQ0KDQooZGVmaW5lIChkaXN0YW5jZS1saW5lcyBhMSBhMiBiMSBiMikNCiAg
KGlmICg8PSBiMSBhMSkNCiAgICAoZGlzdGFuY2UtbGluZXMgYjEgYjIgYTEg
YTIpDQogICAgKG1pbg0KICAgICAgKGFicyAoLSBhMiBiMSkpDQogICAgICAo
YWJzICgtIGExIGIyKSkpKSkNCg0KKGRlZmluZSAoY2xvc2VzdC1lZGdlIGEx
IGEyIGIxIGIyKQ0KICAoaWYgKDwgYjEgYTEpDQogICAgKG5vdCAoY2xvc2Vz
dC1lZGdlIGIxIGIyIGExIGEyKSkNCiAgICg8IChhYnMgKC0gYTIgYjEpKQ0K
ICAgICAgKGFicyAoLSBhMSBiMikpKSkpDQoNCihkZWZpbmUgKGRpc3QtaG9y
aXpvbnRhbCBhLXdpbiBiLXdpbikNCiAgICAoaWYgKG5vdCAob3ZlcmxhcC1s
aW5lcyAod2luaW5mby1uIGEtd2luKSAod2luaW5mby1zIGEtd2luKQ0KICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICh3aW5pbmZvLW4gYi13aW4pICh3
aW5pbmZvLXMgYi13aW4pKSkNCiAgICAgIC0xDQogICAgICAoZGlzdGFuY2Ut
bGluZXMgKHdpbmluZm8tdyBhLXdpbikgKHdpbmluZm8tZSBhLXdpbikNCiAg
ICAgICAgICAgICAgICAgICAgICAod2luaW5mby13IGItd2luKSAod2luaW5m
by1lIGItd2luKSkpKQ0KOw0KOyAgKGlmICg+ICh3aW5pbmZvLXggYS13aW4p
ICh3aW5pbmZvLXggYi13aW4pKQ0KOyAgICAoZGlzdC1ob3Jpem9udGFsIGIt
d2luIGEtd2luKQ0KOyAgICApDQoNCihkZWZpbmUgKGRpc3QtdmVydGljYWwg
YS13aW4gYi13aW4pDQogICAgKGlmIChub3QgKG92ZXJsYXAtbGluZXMgKHdp
bmluZm8tdyBhLXdpbikgKHdpbmluZm8tZSBhLXdpbikNCiAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAod2luaW5mby13IGItd2luKSAod2luaW5mby1l
IGItd2luKSkpDQogICAgICAtMQ0KICAgICAgKGRpc3RhbmNlLWxpbmVzICh3
aW5pbmZvLW4gYS13aW4pICh3aW5pbmZvLXMgYS13aW4pDQogICAgICAgICAg
ICAgICAgICAgICAgKHdpbmluZm8tbiBiLXdpbikgKHdpbmluZm8tcyBiLXdp
bikpKSkNCjsNCjsgIChpZiAoPiAod2luaW5mby15IGEtd2luKSAod2luaW5m
by15IGItd2luKSkNCjsgICAgKGRpc3QtdmVydGljYWwgYi13aW4gYS13aW4p
DQo7ICAgICkNCg0KKGRlZmluZSAoY2xvc2VzdCBpbmZvLWwgZGlzdC1sKQ0K
ICAoZGVmaW5lIChjbG9zZXN0LWl0ZXIgaW5mby1sIGRpc3QtbCByZXN1bHQg
bGVuKQ0KICAgIChpZiAobnVsbD8gaW5mby1sKQ0KICAgICAgKGlmICg8IGxl
biBzbmFwLXdpZHRoKQ0KICAgICAgICByZXN1bHQNCiAgICAgICAgJygpKQ0K
ICAgICAgKGlmIChhbmQgKG5vdCAoZXE/IChjYXIgZGlzdC1sKSAtMSkpDQog
ICAgICAgICAgICAgICAoPCAoY2FyIGRpc3QtbCkgbGVuKSkNCiAgICAgICAg
KGNsb3Nlc3QtaXRlciAoY2RyIGluZm8tbCkgKGNkciBkaXN0LWwpIChjYXIg
aW5mby1sKSAoY2FyIGRpc3QtbCkpDQogICAgICAgIChjbG9zZXN0LWl0ZXIg
KGNkciBpbmZvLWwpIChjZHIgZGlzdC1sKSByZXN1bHQgbGVuKSkpKQ0KICAo
Y2xvc2VzdC1pdGVyIGluZm8tbCBkaXN0LWwgJygpIDMyMDAwKSkNCg0KOzs7
OyBJbnRlcmFjdGl2ZSBtb3ZlIHN0YXJ0IGhvb2sNCihkZWZpbmUgKGltc2gg
d2luKQ0KICAoc2V0ISBjdXJyZW50LXdpbmRvd3MgDQogICAgICAgIChsaXN0
LXdpbmRvd3MgIzpvbmx5IHZpc2libGU/ICM6ZXhjZXB0IChsYW1iZGEoeCko
ZXF1YWw/IHggd2luKSkpKQ0KICAoc2V0ISBjdXJyZW50LXdpbmRvd3MtaW5m
bw0KICAgIChhcHBlbmQNCiAgICAgIChtYXAgd2luaW5mbyBjdXJyZW50LXdp
bmRvd3MpDQogICAgICAobGlzdA0KICAgICAgICAnKC0xMDAwMCAxMDAwMCAw
IC0xMDAwMCkNCiAgICAgICAgKGxpc3QgLTEwMDAwIDEwMDAwIDEwMDAwIChj
YXIgKGRpc3BsYXktc2l6ZSkpKQ0KICAgICAgICAobGlzdCAoY2FkciAoZGlz
cGxheS1zaXplKSkgMTAwMDAgMTAwMDAgLTEwMDAwKQ0KICAgICAgICAnKC0x
MDAwMCAwIDEwMDAwIC0xMDAwMCkpKSkNCiAgKHNldCEgdHJhaWwgJygpKQ0K
ICAoc2V0ISBsYXN0LXggLTEwMDAwKQ0KICAoc2V0ISBsYXN0LXkgLTEwMDAw
KQ0KKQ0KDQo7Ozs7IEludGVyYWN0aXZlIG1vdmUgbmV3IHBvc2l0aW9uIGhv
b2sNCihkZWZpbmUgKGltbnBoIHdpbiB4IHkpDQogIChpZiAob3IgKG5vdCAo
PSB4IGxhc3QteCkpDQogICAgICAgICAgKG5vdCAoPSB5IGxhc3QteSkpKQ0K
ICAgIChiZWdpbg0KICAgICAgKHNldCEgdHJhaWwgKGNvbnMgKGxpc3QgeCB5
KSB0cmFpbCkpDQogICAgICAoc2V0ISBsYXN0LXggeCkNCiAgICAgIChzZXQh
IGxhc3QteSB5KQ0KICAgICAgKHNldCEgbXlpbmZvICh3aW5pbmZvIHdpbikp
DQo7Ozs7IHdlIGRvbnQgYWN0dWFsbHkgZG8gYW55dGhpbmcgaW4gdGhlIGN1
cnJlbnQgdmVyc2lvbg0KOzs7OyBpZiB3ZSB3ZXJlIGRvaW5nIHRoZSBzbmFw
IGludGVyYWN0aXZlbHkgd2UnZCBkbyBtb3N0IG9mDQo7Ozs7IHdoYXRzIGlu
IGltZWggY3VycmVudGx5DQo7Ozs7IGZvciBmdW4sIHVuY29tbWVudCB0aGlz
Og0KOzs7OyAoaW1laCB3aW4pDQogICAgKSkNCikNCg0KOzs7OyBJbnRlcmFj
dGl2ZSBtb3ZlIGVuZCBob29rDQooZGVmaW5lIChpbWVoIHdpbikNCjs7Ozsg
dGhlc2Ugc2hvdWxkIGJlIGluIHRoZSBpbW5waCBmdW5jdGlvbiB0byBtYWtl
IHNuYXBwaW5nIGludGVyYWN0aXZlDQogIChsZXQgKA0KICAgIChob3pjaG9p
Y2UNCiAgICAgIChjbG9zZXN0IGN1cnJlbnQtd2luZG93cy1pbmZvDQogICAg
ICAgICAgICAgIChtYXAgKGxhbWJkYSh4KShkaXN0LWhvcml6b250YWwgbXlp
bmZvIHgpKSBjdXJyZW50LXdpbmRvd3MtaW5mbykpKQ0KICAgICh2ZXJ0Y2hv
aWNlDQogICAgICAoY2xvc2VzdCBjdXJyZW50LXdpbmRvd3MtaW5mbw0KICAg
ICAgICAgICAgICAobWFwIChsYW1iZGEoeCkoZGlzdC12ZXJ0aWNhbCBteWlu
Zm8geCkpIGN1cnJlbnQtd2luZG93cy1pbmZvKSkpDQogICAgKQ0KICAobW92
ZS10bw0KICAgIChpZiAobnVsbD8gaG96Y2hvaWNlKQ0KICAgICAgKGNhciAo
d2luZG93LXZpZXdwb3J0LXBvc2l0aW9uIHdpbikpDQogICAgICAoaWYgKGNs
b3Nlc3QtZWRnZSAod2luaW5mby13IG15aW5mbykgKHdpbmluZm8tZSBteWlu
Zm8pDQogICAgICAgICAgICAgICAgICAgICAgICAod2luaW5mby13IGhvemNo
b2ljZSkgKHdpbmluZm8tZSBob3pjaG9pY2UpKQ0KICAgICAgICAoLSAod2lu
aW5mby14IGhvemNob2ljZSkgKHdpbmluZm8td2lkdGggbXlpbmZvKSkNCiAg
ICAgICAgKCsgKHdpbmluZm8teCBob3pjaG9pY2UpICh3aW5pbmZvLXdpZHRo
IGhvemNob2ljZSkpKSkNCiAgICAoaWYgKG51bGw/IHZlcnRjaG9pY2UpDQog
ICAgICAoY2FkciAod2luZG93LXZpZXdwb3J0LXBvc2l0aW9uIHdpbikpDQog
ICAgICAoaWYgKGNsb3Nlc3QtZWRnZSAod2luaW5mby1uIG15aW5mbykgKHdp
bmluZm8tcyBteWluZm8pDQogICAgICAgICAgICAgICAgICAgICAgICAod2lu
aW5mby1uIHZlcnRjaG9pY2UpICh3aW5pbmZvLXMgdmVydGNob2ljZSkpDQog
ICAgICAgICgtICh3aW5pbmZvLXkgdmVydGNob2ljZSkgKHdpbmluZm8taGVp
Z2h0IG15aW5mbykpDQogICAgICAgICgrICh3aW5pbmZvLXkgdmVydGNob2lj
ZSkgKHdpbmluZm8taGVpZ2h0IHZlcnRjaG9pY2UpKSkNCiAgICAgICkNCiAg
ICB3aW4pDQogICkNCikNCg0KKGRlZmluZS1wdWJsaWMgKHNuYXAtcmVzZXQp
DQogIChyZW1vdmUtaG9vayEgaW50ZXJhY3RpdmUtbW92ZS1zdGFydC1ob29r
IGltc2gpDQogIChyZW1vdmUtaG9vayEgaW50ZXJhY3RpdmUtbW92ZS1uZXct
cG9zaXRpb24taG9vayBpbW5waCkNCiAgKHJlbW92ZS1ob29rISBpbnRlcmFj
dGl2ZS1tb3ZlLWZpbmlzaC1ob29rIGltZWgpDQogICkNCg0KKGRlZmluZSot
cHVibGljIChzbmFwLWluaXRpYWxpemUgIyZvcHRpb25hbCAoc3cgMjUpKQ0K
ICAoc2V0ISBjdXJyZW50LXdpbmRvd3MgJygpKQ0KICAoc2V0ISBjdXJyZW50
LXdpbmRvd3MtaW5mbyAnKCkpDQogIChzZXQhIHRyYWlsICcoKSkNCiAgKHNl
dCEgbXlpbmZvICcoKSkNCg0KICAoc2V0ISBzbmFwLXdpZHRoIHN3KQ0KDQog
IChzZXQhIGxhc3QteCAtMSkNCiAgKHNldCEgbGFzdC15IC0xKQ0KDQogIChh
ZGQtaG9vayEgaW50ZXJhY3RpdmUtbW92ZS1zdGFydC1ob29rIGltc2gpDQog
IChhZGQtaG9vayEgaW50ZXJhY3RpdmUtbW92ZS1uZXctcG9zaXRpb24taG9v
ayBpbW5waCkNCiAgKGFkZC1ob29rISBpbnRlcmFjdGl2ZS1tb3ZlLWZpbmlz
aC1ob29rIGltZWgpDQopDQoNCg0K
---641580823-871548009-920848741=:5352--

From owner-scwm-discuss@mit.edu  Sun Mar  7 18:52:19 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA03181
	for scwm-discuss-outgoing; Sun, 7 Mar 1999 18:52:19 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA03178
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 7 Mar 1999 18:52:18 -0500
Received: from linux.dcast.ozemail.com.au by MIT.EDU with SMTP
	id AA20229; Sun, 7 Mar 99 18:49:36 EST
Received: from bigfoot.com (localhost [127.0.0.1])
	by linux.dcast.ozemail.com.au (8.8.7/8.8.7) with ESMTP id VAA02955
	for <scwm-discuss@mit.edu>; Mon, 8 Mar 1999 21:51:41 +1100
Message-Id: <36E3ABBD.D6ECDCBB@bigfoot.com>
Date: Mon, 08 Mar 1999 21:51:41 +1100
From: Chris Bitmead <chris.bitmead@bigfoot.com>
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: en
Mime-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Root menus.
References: <Pine.LNX.4.02.9903072259130.5352-200000@raspberry.duff.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I was just wondering if it is intentional that when you click on the
very edge of a window, if that window is hard up against the side of the
screen, it brings up the root menu instead of whatever it is supposed to
do according to the window decorations. I find this a little irritating
for a couple of reasons. One is that it doubles the annoyance of the
restart bug where windows aren't replaced properly on the desktop.
Netscape often seems to reappear with about 1 pixel left at the top, but
I can't even grab that pixel and move the window back because it just
brings up the root menu. Also I wonder if this behaviour can cause
people to "lose" windows, by putting them right at the edge and not be
able to get them back.

From owner-scwm-discuss@mit.edu  Sun Mar  7 19:39:56 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA03494
	for scwm-discuss-outgoing; Sun, 7 Mar 1999 19:39:56 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA03491
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 7 Mar 1999 19:39:54 -0500
Received: from kodis.jaguNET.com by MIT.EDU with SMTP
	id AA26229; Sun, 7 Mar 99 19:37:12 EST
Received: (from kodis@localhost)
	by kodis.jagunet.com (8.8.7/8.8.7) id TAA32743
	for scwm-discuss@mit.edu; Sun, 7 Mar 1999 19:36:31 -0500
Date: Sun, 7 Mar 1999 19:36:31 -0500
From: John Kodis <kodis@jagunet.com>
To: scwm-discuss@mit.edu
Subject: Re: Root menus.
Message-Id: <19990307193630.A32702@kodis.jagunet.com>
Reply-To: kodis@jagunet.com
References: <Pine.LNX.4.02.9903072259130.5352-200000@raspberry.duff.org> <36E3ABBD.D6ECDCBB@bigfoot.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95i
In-Reply-To: <36E3ABBD.D6ECDCBB@bigfoot.com>; from Chris Bitmead on Mon, Mar 08, 1999 at 09:51:41PM +1100
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Mon, Mar 08, 1999 at 09:51:41PM +1100, Chris Bitmead wrote:

> I was just wondering if it is intentional that when you click on the
> very edge of a window, if that window is hard up against the side of the
> screen, it brings up the root menu instead of whatever it is supposed to
> do according to the window decorations. I find this a little irritating

I can't get a window positioned hard against the edge of the screen.
I use (set-edge-move-threshold! 20) to make it easy to align windows
with the screen edge.  This works, but leaves a one or two pixel gap
between the window and the screen edge.  I wonder if this, or
something related, might be the cause of your problem.

-- John Kodis.

From owner-scwm-discuss@mit.edu  Sun Mar  7 20:22:14 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA03746
	for scwm-discuss-outgoing; Sun, 7 Mar 1999 20:22:14 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA03743
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 7 Mar 1999 20:22:13 -0500
Received: from linux.dcast.ozemail.com.au by MIT.EDU with SMTP
	id AA01598; Sun, 7 Mar 99 20:19:29 EST
Received: from bigfoot.com (localhost [127.0.0.1])
	by linux.dcast.ozemail.com.au (8.8.7/8.8.7) with ESMTP id XAA06061
	for <scwm-discuss@mit.edu>; Mon, 8 Mar 1999 23:21:35 +1100
Message-Id: <36E3C0CF.17477A09@bigfoot.com>
Date: Mon, 08 Mar 1999 23:21:35 +1100
From: Chris Bitmead <chris.bitmead@bigfoot.com>
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: en
Mime-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Re: Root menus.
References: <Pine.LNX.4.02.9903072259130.5352-200000@raspberry.duff.org> <36E3ABBD.D6ECDCBB@bigfoot.com> <19990307193630.A32702@kodis.jagunet.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

John Kodis wrote:
> 
> On Mon, Mar 08, 1999 at 09:51:41PM +1100, Chris Bitmead wrote:
> 
> > I was just wondering if it is intentional that when you click on the
> > very edge of a window, if that window is hard up against the side of the
> > screen, it brings up the root menu instead of whatever it is supposed to
> > do according to the window decorations. I find this a little irritating
> 
> I can't get a window positioned hard against the edge of the screen.
> I use (set-edge-move-threshold! 20) to make it easy to align windows
> with the screen edge.  This works, but leaves a one or two pixel gap
> between the window and the screen edge.  I wonder if this, or
> something related, might be the cause of your problem.

Well I'm not using this threshold feature, so I can't see any obvious
relation.

From owner-scwm-discuss@mit.edu  Sun Mar  7 20:52:15 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA03944
	for scwm-discuss-outgoing; Sun, 7 Mar 1999 20:52:15 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA03941
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 7 Mar 1999 20:52:13 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA05634; Sun, 7 Mar 99 20:49:31 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA00513; Sun, 7 Mar 1999 17:48:45 -0800 (PST)
To: Chris Bitmead <chris.bitmead@bigfoot.com>
Cc: scwm-discuss@mit.edu
Subject: Re: Root menus.
References: <Pine.LNX.4.02.9903072259130.5352-200000@raspberry.duff.org> <36E3ABBD.D6ECDCBB@bigfoot.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Mar 1999 17:48:44 -0800
In-Reply-To: Chris Bitmead's message of "Mon, 08 Mar 1999 21:51:41 +1100"
Message-Id: <qrryal8agzn.fsf@elwha.cs.washington.edu>
Lines: 21
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Chris Bitmead <chris.bitmead@bigfoot.com> writes:

> I was just wondering if it is intentional that when you click on the
> very edge of a window, if that window is hard up against the side of the
> screen, it brings up the root menu instead of whatever it is supposed to
> do according to the window decorations. I find this a little irritating
> for a couple of reasons. One is that it doubles the annoyance of the
> restart bug where windows aren't replaced properly on the desktop.
> Netscape often seems to reappear with about 1 pixel left at the top, but
> I can't even grab that pixel and move the window back because it just
> brings up the root menu. Also I wonder if this behaviour can cause
> people to "lose" windows, by putting them right at the edge and not be
> able to get them back.

My guess is that this is because you're in the edge windows that are
used to manage virtual screen movements when the mouse enters these
windows if so configured.  I'm not sure what the right fix is offhand.
A workaround might be to get rid of the edge windows from the C source
(and that could confirm my suspicions that that is what is wrong).

Greg

From owner-scwm-discuss@mit.edu  Mon Mar  8 05:35:58 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA07632
	for scwm-discuss-outgoing; Mon, 8 Mar 1999 05:35:58 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA07629
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Mar 1999 05:35:53 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA01629; Mon, 8 Mar 99 05:32:55 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id LAA18156
	for scwm-discuss@mit.edu; Mon, 8 Mar 1999 11:00:31 +0100 (MET)
Received: (qmail 15463 invoked by uid 115); 7 Mar 1999 21:26:03 -0000
To: scwm-discuss@mit.edu
Subject: Re: Pie, Lambdas, and new binary
References: <m3r9r42q54.fsf@terram.oeil.qc.ca>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 07 Mar 1999 22:26:02 +0100
In-Reply-To: Philippe Laliberte's message of "05 Mar 1999 05:21:27 -0500"
Message-Id: <ws4snxc7px.fsf@orcus.priv.at>
Lines: 38
User-Agent: Gnus/5.070079 (Pterodactyl Gnus v0.79) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 05 Mar 1999 05:21:27 -0500
>>>>> Philippe Laliberte <arsphl@oeil.qc.ca> said:

 Philippe> Where do I find the Pie menus module? Do I still need it to
 Philippe> play with this? If not how Do I set it up?

`(use-modules (app scwm pie-menus))' should get you set. Including
`#:look circle-pie-menu-look' in some `menu' form makes this menu a
pie menu (you can leave out "circle" to get a rectangular version).

If this does not work, report back - there are a number of things that 
can go wrong, since this involves shared objects.

 Philippe> I'm no guru of Guile but under older scheme implementation
 Philippe> there is a clear startup gain into defining closures as
 Philippe> lambdas ex:

I never heard of that before. Amazing. This would be a bug in guile,
IMHO.

 Philippe> And finaly, why define the menus as a data structure
 Philippe> instead of a closure? Whouldn't it have allowed more
 Philippe> flexibility to use something that gets evaluated when you
 Philippe> ask for it?

I don't think we sacrifice flexibility. Look at "std-menus.scm"'s
`make-context-menu' for an example. `(popup-menu (make-context-menu))'
will always show a menu custom-fitted to the current X selection.

Or do I miss your point?

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Mon Mar  8 16:51:50 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA10327
	for scwm-discuss-outgoing; Mon, 8 Mar 1999 16:51:50 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA10324
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Mar 1999 16:51:49 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA26838; Mon, 8 Mar 99 16:48:40 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA00307; Mon, 8 Mar 1999 13:47:57 -0800 (PST)
To: kodis@jagunet.com
Cc: scwm-discuss@mit.edu
Subject: Re: PATCH: resize-message-new-size-hook
References: <19990306131313.A13014@kodis.jagunet.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Mar 1999 13:47:56 -0800
In-Reply-To: John Kodis's message of "Sat, 6 Mar 1999 13:13:14 -0500"
Message-Id: <qrraexnac1f.fsf@elwha.cs.washington.edu>
Lines: 37
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

John Kodis <kodis@jagunet.com> writes:

> I've patched the resize-message-new-size-hook function in
> scheme/message-window.scm to:
> 
>   - display window sizes in terms of the window resize increment, so
>     that xterm windows display their size in characters rather than
>     pixels.
> 
>   - subtract the border and title height from the displayed dimensions
>     so that the resize window shows the size of the client window,
>     rather than the size of the window frame; and
> 
>   - avoid displaying leftover message text when starting a resize
>     operation;
> 
> A change log entry and patches to message-window.scm follow.  I would
> have asked Jeffrey Nichols, the author of the message-window module,
> review these changes prior to posting them to the list, but I was
> unable to find his e-mail address.  Sorry for the breech of etiquette.

Thanks for the very well put together patch-- we definitely appreciate
the contribution.  The code has changed a bit since the release that
you're patching against, so much of what you've corrected is already
fixed in a slightly different way (the hook now passes a bunch of
arguments including the width/height in units.  We still have the
initial display bug that I used the first part of your patch to make a
little less annoying (but still not perfect).

I'm curious about the comment about ignoring initial calls of 0,-1 or
-1,0 dimensions-- I don't think this happens any longer in the current
sources, and never should've happened.  If it doesn, the right fix is
correcting the erroneous hook calls.

Thanks!

Greg

From owner-scwm-discuss@mit.edu  Mon Mar  8 16:55:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA10357
	for scwm-discuss-outgoing; Mon, 8 Mar 1999 16:55:41 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA10354
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Mar 1999 16:55:40 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA28552; Mon, 8 Mar 99 16:52:32 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA00498; Mon, 8 Mar 1999 13:51:44 -0800 (PST)
To: Philippe Laliberte <arsphl@oeil.qc.ca>
Cc: scwm-discuss@mit.edu
Subject: Re: Pie, Lambdas, and new binary
References: <m3r9r42q54.fsf@terram.oeil.qc.ca>
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Mar 1999 13:51:44 -0800
In-Reply-To: Philippe Laliberte's message of "05 Mar 1999 05:21:27 -0500"
Message-Id: <qrr7lsrabv3.fsf@elwha.cs.washington.edu>
Lines: 17
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Philippe Laliberte <arsphl@oeil.qc.ca> writes:

<snip>

> 	If you may think that a automatic FAQ could be a good tools
> while documentation get worked on let me know I can set up one in
> http://www.oeil.qc.ca/auto_faq quite quickly.

I wouldn't mind trying this system out. Any objections?

After you get it set up, could you prime it with our current FAQ (not
much, but a start) from doc/scwm-faq, and then post instructions to this 
list about how to use it and how to contribute to it.

Thanks,
Greg


From owner-scwm-discuss@mit.edu  Mon Mar  8 17:00:01 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA10433
	for scwm-discuss-outgoing; Mon, 8 Mar 1999 17:00:01 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA10423
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 8 Mar 1999 17:00:00 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA14268; Mon, 8 Mar 99 16:55:50 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA00711; Mon, 8 Mar 1999 13:56:03 -0800 (PST)
To: Danius Michaelides <danius@duff.org>
Cc: scwm-discuss@mit.edu
Subject: Re: 1st attempt at SnapAttraction
References: <Pine.LNX.4.02.9903072259130.5352-200000@raspberry.duff.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Mar 1999 13:56:02 -0800
In-Reply-To: Danius Michaelides's message of "Sun, 7 Mar 1999 23:19:01 +0000 (GMT)"
Message-Id: <qrr4snvabnx.fsf@elwha.cs.washington.edu>
Lines: 13
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Danius Michaelides <danius@duff.org> writes:

<snip>

> PS:  I notice that interactive-move-new-position often returns repeated x
> y coordinates. Is this intentional?

It's intentional in that we don't specifically ensure that it avoids
repeating a position.  We currently invoke the hook each time through
the moveLoop's local event loop.  It wouldn't be hard to be sure we only 
call i-m-new-position only when the values have actually changed.

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 10 01:20:14 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA19860
	for scwm-discuss-outgoing; Wed, 10 Mar 1999 01:20:14 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA19857
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Mar 1999 01:20:07 -0500
Received: from babylon.wsc.monash.edu.au by MIT.EDU with SMTP
	id AA27660; Wed, 10 Mar 99 01:15:15 EST
Received: from localhost (graeme@localhost)
	by babylon.wsc.monash.edu.au (8.8.7/8.8.7) with ESMTP id RAA26899;
	Wed, 10 Mar 1999 17:16:26 +1100
Date: Wed, 10 Mar 1999 17:16:26 +1100 (EST)
From: Graeme Cross <graeme@babylon.wsc.monash.edu.au>
Reply-To: Graeme.Cross@sci.monash.edu.au
To: Marc Broster <mb11@doc.ic.ac.uk>
Cc: scwm-discuss@mit.edu
Subject: Re: shared libraries error
In-Reply-To: <199903071805.SAA07077@sync14.doc.ic.ac.uk>
Message-Id: <Pine.LNX.4.04.9903101714090.26880-100000@babylon.wsc.monash.edu.au>
X-Attribution: gjc
X-Pgp-Key-Id: 702DB549
X-Url: http://www.wsc.monash.edu.au/~graeme/
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Sun, 7 Mar 1999, Marc Broster wrote:

>the scwm rpm has finally been installed on our machines, but running it returns
>the following error:
>
>sync14% scwm -V
>scwm: error in loading shared libraries
>: undefined symbol: __bzero
>sync14% 
>
>
>any pointers on how to fix this?

I have seen this on a stock standard Redhat 5.2, using the scwm RPM from
redhat-contrib.

I solved the problem by grabbing the SRPM file and remaking the RPM file.

This had an annoying conflict with /usr/info/dir, which I (hastily) solved
by using --force and then mv /usr/info/dir.rpmsave /usr/info/dir.

Hope this helps,
Graeme

--
Dr Graeme Cross 
Water Studies Centre, Monash University           Phone: +61 3 9905 4089
Clayton, Victoria, Australia                        Fax: +61 3 9905 4196


From owner-scwm-discuss@mit.edu  Wed Mar 10 04:17:20 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA22150
	for scwm-discuss-outgoing; Wed, 10 Mar 1999 04:17:20 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA22147
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Mar 1999 04:17:19 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA04646; Wed, 10 Mar 99 04:13:26 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id BAA20346; Wed, 10 Mar 1999 01:12:39 -0800 (PST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@mit.edu
Subject: Re: Parsing .fvwmrc files.
References: <m23e3msppn.fsf_-_@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 10 Mar 1999 01:12:38 -0800
In-Reply-To: hjstein@bfr.co.il's message of "03 Mar 1999 14:49:24 +0200"
Message-Id: <qrrhfrtaet5.fsf@elwha.cs.washington.edu>
Lines: 59
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> I just wrote a very crude implementation of lex.  My motivation is
> that a) guile should include some sort of lex & yacc, and b) this
> should be helpful in parsing the .fvwmrc files.  For that matter, I've
> been testing it on my .fvwmrc file & it's now able to convert things
> like:
> 
> # this is used for the selected window
> HiForeColor		Wheat
> HiBackColor		SlateBlue4

<snip>

> 
> to:
> 
>  (comment
>    "# this is used for the selected window")
>  (HIFORECOLOR "HiForeColor")
>  (symbol "Wheat")
>  (HIBACKCOLOR "HiBackColor")
>  (symbol "SlateBlue4")

<snip>

I think we need more information-- specifically, we need to know where
the line-breaks in the .fvwm2rc file are.  Perhaps it should give us:

(line
  (comment "# this is used for the selected window"))
(line 
  (HIFORECOLOR "HiForeColor")
  (symbol "Wheat"))
(line
  (HIBACKCOLOR "HiBackColor")
  (symbol "SlateBlue4"))

instead.

or


(comment
  "# this is used for the selected window")
(newline)
(HIFORECOLOR "HiForeColor")
(symbol "Wheat")
(newline)
(HIBACKCOLOR "HiBackColor")
(symbol "SlateBlue4")
(newline)

I'm curious to see where this approach goes, as it's very different than 
the way I would've begun to tackle the .fvwm2rc->.scwmrc configuration
converter. (I'd've begun with a perl script scanning the fvwm2 lines for 
directives).

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 10 04:34:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA22792
	for scwm-discuss-outgoing; Wed, 10 Mar 1999 04:34:13 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA22789
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Mar 1999 04:34:13 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA17609; Wed, 10 Mar 99 04:29:18 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id BAA21445; Wed, 10 Mar 1999 01:29:35 -0800 (PST)
To: kodis@jagunet.com
Cc: scwm-discuss@mit.edu
Subject: Re: PATCH: resize-message-new-size-hook
References: <19990306131313.A13014@kodis.jagunet.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 10 Mar 1999 01:29:35 -0800
In-Reply-To: John Kodis's message of "Sat, 6 Mar 1999 13:13:14 -0500"
Message-Id: <qrrd82hae0w.fsf@elwha.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

John Kodis <kodis@jagunet.com> writes:

> I've patched the resize-message-new-size-hook function in
> scheme/message-window.scm to:
> 
>   - display window sizes in terms of the window resize increment, so
>     that xterm windows display their size in characters rather than
>     pixels.
> 
>   - subtract the border and title height from the displayed dimensions
>     so that the resize window shows the size of the client window,
>     rather than the size of the window frame; and
> 
>   - avoid displaying leftover message text when starting a resize
>     operation;

Ok, I've just committed a bugfix to the invocation of the resize-hooks
that finishes correcting the problems that this patch seeks to correct
(the client-units issue was already handled by some changes I made a
month or so ago).

Thanks for calling my attention to the problems, and for the patch
(which otherwise was nice, but mostly working around my bugs in the C code).

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Wed Mar 10 05:46:55 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA23375
	for scwm-discuss-outgoing; Wed, 10 Mar 1999 05:46:55 -0500
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA23372
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Mar 1999 05:46:54 -0500
Received: from netcom15.netcom.com by MIT.EDU with SMTP
	id AA10467; Wed, 10 Mar 99 05:42:58 EST
Received: (from ttn@localhost)
	by mingle.glug.org (8.8.7/8.8.7) id BAA00922;
	Wed, 10 Mar 1999 01:34:10 -0800
X-Authentication-Warning: mingle.glug.org: ttn set sender to ttn@mingle.glug.org using -f
From: thi <ttn@mingle.glug.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14054.15506.161736.505770@mingle.glug.org>
Date: Wed, 10 Mar 1999 01:34:10 -0800 (PST)
To: Greg Badros <gjb@cs.washington.edu>
Cc: hjstein@bfr.co.il (Harvey J. Stein), scwm-discuss@mit.edu
Subject: Re: Parsing .fvwmrc files.
In-Reply-To: <qrrhfrtaet5.fsf@elwha.cs.washington.edu>
References: <m23e3msppn.fsf_-_@blinky.bfr.co.il>
	<qrrhfrtaet5.fsf@elwha.cs.washington.edu>
X-Mailer: VM 6.62 under Emacs 20.3.1
Reply-To: ttn@netcom.com
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros writes:

 > I think we need more information-- specifically, we need to know
 > where the line-breaks in the .fvwm2rc file are.

could you explain the rationale for this requirement?

thanks,
thi

From owner-scwm-discuss@mit.edu  Wed Mar 10 07:39:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA23859
	for scwm-discuss-outgoing; Wed, 10 Mar 1999 07:39:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id HAA23856
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Mar 1999 07:38:31 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA19258; Wed, 10 Mar 99 07:34:28 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id OAA03646; Wed, 10 Mar 1999 14:33:38 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Parsing .fvwmrc files.
References: <m23e3msppn.fsf_-_@blinky.bfr.co.il> <qrrhfrtaet5.fsf@elwha.cs.washington.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 10 Mar 1999 14:33:38 +0200
In-Reply-To: Greg Badros's message of "10 Mar 1999 01:12:38 -0800"
Message-Id: <m2lnh5o76l.fsf@blinky.bfr.co.il>
Lines: 65
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > hjstein@bfr.co.il (Harvey J. Stein) writes:
 > 
 > > I just wrote a very crude implementation of lex.  My motivation is
 > > that a) guile should include some sort of lex & yacc, and b) this
 > > should be helpful in parsing the .fvwmrc files.  For that matter, I've
 > > been testing it on my .fvwmrc file & it's now able to convert things
 > > like:
 > > 
 > > # this is used for the selected window
 > > HiForeColor		Wheat
 > > HiBackColor		SlateBlue4
 > 
 > <snip>
 > 
 > > 
 > > to:
 > > 
 > >  (comment
 > >    "# this is used for the selected window")
 > >  (HIFORECOLOR "HiForeColor")
 > >  (symbol "Wheat")
 > >  (HIBACKCOLOR "HiBackColor")
 > >  (symbol "SlateBlue4")
 > 
 > <snip>
 > 
 > I think we need more information-- specifically, we need to know where
 > the line-breaks in the .fvwm2rc file are.  Perhaps it should give us:

I don't think so because what I do is give the first symbol on the
line a tag = to the value, and tag the remaning tokens by type -
number (something otf -?[0-9]+|-?[0-9]*\.[0-9]+), string (something
otf "[^"]*"), or symbol (anything else).  In other words, eol is
indicated by the next fvwm command tag.

This should allow for a grammer that does something like

   HIBACKCOLOR symbol -> (set-background-highlight! symbol)

or some such thing.

I *think* that the fvwm config file can be handled this way.
Especially because multi-line things are otf

   tag string|symbol
      ...
   endtag

So, for example, you can have a grammer that looks like:

   func     -> FUNCTION string commands ENDFUNCTION
   commands -> POPUP string symbol symbol
   commands -> CLOSE string
   ...

But, we won't really know the answer until someone writes the
grammer.  If he really needs <eol> tags, then I'll have to add a
mechanism to the lexer for it.  Not a problem.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Wed Mar 10 10:39:35 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA24578
	for scwm-discuss-outgoing; Wed, 10 Mar 1999 10:39:35 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA24575
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Mar 1999 10:39:33 -0500
Received: from [209.116.26.126] by MIT.EDU with SMTP
	id AA16875; Wed, 10 Mar 99 10:34:31 EST
Received: (from doug@localhost)
	by kabuki.leitess.com (8.8.7/8.8.7) id KAA23041;
	Wed, 10 Mar 1999 10:34:39 -0500
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
Subject: Re: Parsing .fvwmrc files.
References: <m23e3msppn.fsf_-_@blinky.bfr.co.il> <qrrhfrtaet5.fsf@elwha.cs.washington.edu> <m2lnh5o76l.fsf@blinky.bfr.co.il>
From: Doug McNaught <doug@mcnaught.org>
Date: 10 Mar 1999 10:34:39 -0500
In-Reply-To: hjstein@bfr.co.il's message of "10 Mar 1999 14:33:38 +0200"
Message-Id: <m3hfrtmk8g.fsf@kabuki.leitess.com>
Lines: 32
X-Mailer: Gnus v5.6.44/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> This should allow for a grammer that does something like
> 
>    HIBACKCOLOR symbol -> (set-background-highlight! symbol)
> 
> or some such thing.
> 
> I *think* that the fvwm config file can be handled this way.
> Especially because multi-line things are otf
> 
>    tag string|symbol
>       ...
>    endtag

Er, arent't they more like

  tag string|symbol
  + morestuff
  + morestuff
     ...
  tag2 string|symbol

I think that would make it a bit more complicated, especially since
the 'morestuff' needs to itself be parsed as 'tag args' in the context 
of the containing tag.

-Doug
-- 
Doug McNaught       doug@mcnaught.org     http://www.mcnaught.org/~doug

From owner-scwm-discuss@mit.edu  Wed Mar 10 10:53:24 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA24685
	for scwm-discuss-outgoing; Wed, 10 Mar 1999 10:53:24 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA24682
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Mar 1999 10:53:22 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA21814; Wed, 10 Mar 99 10:48:18 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id RAA07247; Wed, 10 Mar 1999 17:48:21 +0200
To: Doug McNaught <doug@mcnaught.org>
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
Subject: Re: Parsing .fvwmrc files.
References: <m23e3msppn.fsf_-_@blinky.bfr.co.il> <qrrhfrtaet5.fsf@elwha.cs.washington.edu> <m2lnh5o76l.fsf@blinky.bfr.co.il> <m3hfrtmk8g.fsf@kabuki.leitess.com>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 10 Mar 1999 17:48:21 +0200
In-Reply-To: Doug McNaught's message of "10 Mar 1999 10:34:39 -0500"
Message-Id: <m2emmxny62.fsf@blinky.bfr.co.il>
Lines: 50
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Doug McNaught <doug@mcnaught.org> writes:

 > hjstein@bfr.co.il (Harvey J. Stein) writes:
 > 
 > > Greg Badros <gjb@cs.washington.edu> writes:
 > > 
 > > This should allow for a grammer that does something like
 > > 
 > >    HIBACKCOLOR symbol -> (set-background-highlight! symbol)
 > > 
 > > or some such thing.
 > > 
 > > I *think* that the fvwm config file can be handled this way.
 > > Especially because multi-line things are otf
 > > 
 > >    tag string|symbol
 > >       ...
 > >    endtag
 > 
 > Er, arent't they more like
 > 
 >   tag string|symbol
 >   + morestuff
 >   + morestuff
 >      ...
 >   tag2 string|symbol
 > 
 > I think that would make it a bit more complicated, especially since
 > the 'morestuff' needs to itself be parsed as 'tag args' in the context 
 > of the containing tag.

I've never used fvwm2, so I don't know the differences btw fvwm
config files & fvwm2 config files, so I'm not familiar with the +
construction.  With the lexer I wrote, I guess you could do something
like

   cmd -> tag string|symbol commands
   commands -> + cmdlist
   cmdlist  -> string|symbol
   cmdlist  -> string|symbol cmdlist

& then case the cmds on their value in the action instead of in the
grammer.

Better might be to modify the lexer.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Wed Mar 10 11:21:12 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA24940
	for scwm-discuss-outgoing; Wed, 10 Mar 1999 11:21:12 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA24937
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Mar 1999 11:21:10 -0500
Received: from [209.116.26.126] by MIT.EDU with SMTP
	id AA19400; Wed, 10 Mar 99 11:17:08 EST
Received: (from doug@localhost)
	by kabuki.leitess.com (8.8.7/8.8.7) id LAA23089;
	Wed, 10 Mar 1999 11:16:20 -0500
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
Subject: Re: Parsing .fvwmrc files.
References: <m23e3msppn.fsf_-_@blinky.bfr.co.il> <qrrhfrtaet5.fsf@elwha.cs.washington.edu> <m2lnh5o76l.fsf@blinky.bfr.co.il> <m3hfrtmk8g.fsf@kabuki.leitess.com> <m2emmxny62.fsf@blinky.bfr.co.il>
From: Doug McNaught <doug@mcnaught.org>
Date: 10 Mar 1999 11:16:20 -0500
In-Reply-To: hjstein@bfr.co.il's message of "10 Mar 1999 17:48:21 +0200"
Message-Id: <m3d82hb9rf.fsf@kabuki.leitess.com>
Lines: 58
X-Mailer: Gnus v5.6.44/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Doug McNaught <doug@mcnaught.org> writes:
> 
>  > hjstein@bfr.co.il (Harvey J. Stein) writes:
>  > 
>  > > I *think* that the fvwm config file can be handled this way.
>  > > Especially because multi-line things are otf
>  > > 
>  > >    tag string|symbol
>  > >       ...
>  > >    endtag
>  > 
>  > Er, arent't they more like
>  > 
>  >   tag string|symbol
>  >   + morestuff
>  >   + morestuff
>  >      ...
>  >   tag2 string|symbol
>  > 
>  > I think that would make it a bit more complicated, especially since
>  > the 'morestuff' needs to itself be parsed as 'tag args' in the context 
>  > of the containing tag.
> 
> I've never used fvwm2, so I don't know the differences btw fvwm
> config files & fvwm2 config files, so I'm not familiar with the +
> construction. 

They're significantly different--the fvwm2 syntax is somewhat more
regular (though still nasty IMHO).  Lines starting with '+' are
continuations of the last "context-providing" command (such as
AddToFunc or AddToDecor) and lines starting with * are ignored 
by the main WM but parsed by modules.  There are no explicit end tags
for the + construct.

>           With the lexer I wrote, I guess you could do something
> like
> 
>    cmd -> tag string|symbol commands
>    commands -> + cmdlist
>    cmdlist  -> string|symbol
>    cmdlist  -> string|symbol cmdlist
> 
> & then case the cmds on their value in the action instead of in the
> grammer.

I'm not sure if this makes the '+' context easy to handle.  Also there 
can be multiple '+' lines, which your snippet above doesn't reflect if 
I'm reading it right. 

> Better might be to modify the lexer.

Yeah.  I'll keep thinking about it...

-Doug
-- 
Doug McNaught       doug@mcnaught.org     http://www.mcnaught.org/~doug

From owner-scwm-discuss@mit.edu  Wed Mar 10 11:27:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA24971
	for scwm-discuss-outgoing; Wed, 10 Mar 1999 11:27:18 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA24968
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Mar 1999 11:27:17 -0500
Received: from [209.116.26.126] by MIT.EDU with SMTP
	id AA04249; Wed, 10 Mar 99 11:22:13 EST
Received: (from doug@localhost)
	by kabuki.leitess.com (8.8.7/8.8.7) id LAA23097;
	Wed, 10 Mar 1999 11:22:33 -0500
To: scwm-discuss@mit.edu
Subject: Notes on .fvwm2rc translation
From: Doug McNaught <doug@mcnaught.org>
Date: 10 Mar 1999 11:22:33 -0500
Message-Id: <m390d5b9h2.fsf@kabuki.leitess.com>
Lines: 192
X-Mailer: Gnus v5.6.44/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

This is some stuff I've been writing up about the particulars of the
translation task.  It's basically notes on the approach to use for
some of the different .fvwm2 constructs, given scwm's current API.
Comments are welcome.

For those of you who say, "less talk, more code", mea culpa, but I
ended up doing other geeking this weekend, writing a parallel MP3
encoding system so I can rip my CDs more efficiently ;)

-Doug

   -*- indented-text -*-

Notes on implementing a converter from .fvwm2rc files to .scwmrc files.

Main issues:
  Source format is fairly free-form, and one can add attributes to 
    any object at any time, whereas in Scheme, functions and menus are
    defined once.
  Context-sensitive--'+' denotes continuation of last AddTo{Decor,Func,Menu}
    command (are these the only ones?)
  Reasonably well documented, but no BNF--need to look at fvwm2 source 
    for authoritative answers to weird format/function questions.

Handling menus:
  The Scheme function 'menu' returns a menu object.  There isn't any 
    built-in way to add items to an existing menu (it would probably
    have to be added at the C level).
  Therefore, since 'menu' takes a list of menu items, we could define
    the scwm equivalent of AddToMenu to add the given items to a
    (possibly empty, created if necessary) list of items corresponding
    to that menu.  Once we've seen the entire .fvwm2rc file, we emit
    calls to 'menu' for each defined menu.  The problem here is that
    'menuitem' is a regular function, so it evaluates all its
    arguments when it's called to produce a menu item.  This means
    that menu items (and any other things like title buttons and
    keybindings) that pop up a previously defined menu will fail,
    since the 'menu' function binding the submenu will not have been
    called yet.  
  So maybe the thing to do is add a level of indirection, binding
    fvwm2 calls that pop up menus to an intermediate function that
    takes a symbolic menu name, does a variable lookup on that name,
    and uses 'apply' to call popup-menu on that value.  Can we do this
    without 'eval'?  Looks like we can't.
  Alternatively, we could keep menus hashed by their fvwm name, and
    bind the popup call to a function that does a hash lookup and pops 
    up the fetched menu.
  Both of these are a bit fugly, but without the ability to add items
    to an existing menu structure, we can't handle menu definitions in 
    full generality.

Handling functions:
  One of the goals here is to produce as elegant Scheme as possible, so 
    the user will be able to use our output as a base to construct a
    clear and maintainable .scwmrc file.  It is therefore desirable
    that fvwm2 "functions" correspond to real Scheme functions.  It is
    therefore a bit tricky if the user defines a single function in
    two chunks--we can either build the function up as a list and use
    'eval' (ick) within the function once it's completed, or define a
    function for each "chunk" of definition, with the functions
    corresponding to previous chunks renamed as necessary and called
    before any parts of the new chunk are invoked.  The latter has the
    advantages of not using 'eval', and of making the Scheme code
    quite straightforward if the user defines a function in a single
    chunk (which is the usual case).
  Fvwm "functions" are weird.  Each step in the function has a quoted
     modifier ("I", "M", "C", or "D") that controls whether that step
    is executed Immediately, on Motion, on Click, or on DoubleClick.
    We *should* be able to use 'mouse-event-type' to determine which
    of these tags should be considered for each function invocation.
  Additionally, Fvwm functions can have arguments, which are denoted by 
    '$'-escaped names similar to shell variables.  $w corresponds to
    the current window ID (which will correspond to a Scheme window
    object) and $0 through $9 are the user-supplied arguments to the
    function, evaluated at function invocation.  The tricky thing here
    will be generating the Scheme function definitions with optional 
    arguments when necessary.

Handling modules:
  This will be *very* tough to do in full generality--we would basically
    have to extend eval-fvwm-command to handle the full fvwm2 command
    language.  Doing this would make scwm able to use .fvwm2rc's "out
    of the box", which wouldn't encourage anybody to convert them to
    Scheme.  It would also be a *lot* of work, especially for the more
    involved commands for function definition etc.
  Short of handling modules in full generality, we can implement them 
    piecemeal as is being done (eg with the pager) by extending
    'eval-fvwm-command' as needed by each module, and keeping the
    translator code in sync with these additions.  Module config lines
    in the .fvwm2rc file can be easily collected and handed off to
    'register-fvwm2-module-config' on a per-module basis.  If we do
    this (which I think is the only realistic option) we need to keep
    a list of supported modules and warn the user when we hit a module
    call that's not in the list.

Handling styles, decors, etc:
  There seems to be a reasonably close mapping between the fvwm and
    scwm ways of doing this (not too surprisingly).  For the most part 
    translation should be fairly straightforward.  Exceptions: the
    Fvwm2 Add<object>Style commands build on top of existing styles.
    We can do the same build list & eval trick as with menus, or
    extend the stuff in 'face.scm' to provide the addition
    functionality, given that faces are a nonprimitive object of some
    sort (though I haven't had much of a chance to find out what).

Per-function notes:
  AddButtonStyle
  AddTitleStyle
  AddToDecor
  AddToMenu
  AddToFunc
  Beep
  BorderStyle
  ButtonStyle
  ButtonStyle
  ChangeDecor
  ClickTime
  Close
  ColormapFocus
  Current
  CursorMove
  CursorStyle
  Delete
  Desk
  DeskTopSize
  Destroy
  DestroyFunc
  DestroyDecor
  DestroyMenu
  DestroyModuleConfig
  Echo
  EdgeResistance
  EdgeScroll
  Exec
  ExecUseShell
    Can we do this?  Can always implement our own Exec...
  FlipFocus
  Focus
  Function
  GlobalOpts
  GotoPage
  HilightColor
  IconFont
  Iconify
  IconPath
  Key
  KillModule
  Lower
  Maximize
  Menu
  MenuStyle
  Module
  ModulePath
  Mouse
  Move
  Nop
  Next
  None
  OpaqueMoveSize
  PipeRead
  PixmapPath
  Popup
  Prev
  Quit
  Raise
  RaiseLower
  Read
  Recapture
  Refresh
  RefreshWindow
  Resize
  Restart
  SendToModule
  Scroll
  Stick
  Style
  Title
  TitleStyle
  TitleStyle
  UpdateDecor
  WarpToWindow
  Wait
  WindowsDesk
  WindowFont
  WindowId
  WindowList
  WindowShade
  XORvalue
  +

-- 
Doug McNaught       doug@mcnaught.org     http://www.mcnaught.org/~doug

From owner-scwm-discuss@mit.edu  Wed Mar 10 11:30:34 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA25002
	for scwm-discuss-outgoing; Wed, 10 Mar 1999 11:30:34 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA24999
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Mar 1999 11:30:33 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA22955; Wed, 10 Mar 99 11:26:30 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id SAA07478; Wed, 10 Mar 1999 18:25:35 +0200
To: Doug McNaught <doug@mcnaught.org>
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
Subject: Re: Parsing .fvwmrc files.
References: <m23e3msppn.fsf_-_@blinky.bfr.co.il> <qrrhfrtaet5.fsf@elwha.cs.washington.edu> <m2lnh5o76l.fsf@blinky.bfr.co.il> <m3hfrtmk8g.fsf@kabuki.leitess.com> <m2emmxny62.fsf@blinky.bfr.co.il> <m3d82hb9rf.fsf@kabuki.leitess.com>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 10 Mar 1999 18:25:34 +0200
In-Reply-To: Doug McNaught's message of "10 Mar 1999 11:16:20 -0500"
Message-Id: <m27lspnwg1.fsf@blinky.bfr.co.il>
Lines: 41
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Doug McNaught <doug@mcnaught.org> writes:

 > hjstein@bfr.co.il (Harvey J. Stein) writes:
 > >           With the lexer I wrote, I guess you could do something
 > > like
 > > 
 > >    cmd -> tag string|symbol commands
 > >    commands -> + cmdlist
 > >    cmdlist  -> string|symbol
 > >    cmdlist  -> string|symbol cmdlist
 > > 
 > > & then case the cmds on their value in the action instead of in the
 > > grammer.
 > 
 > I'm not sure if this makes the '+' context easy to handle.  Also there 
 > can be multiple '+' lines, which your snippet above doesn't reflect if 
 > I'm reading it right. 

Right - forgot to put it.  But I did say "something like"... :).
This should be closer:

   cmd         -> tag sym arglist commandlist
                | tag sym commandlist
   commandlist -> command
                | command commandlist
   command     -> + sym arglist
   arglist     -> arg
                | arg arglist
   arg         -> string
                | symbol
                | number
   sym         -> symbol
                | string

That mostly does it, I guess.  But, I don't have an fvwm2 config file
& I don't have a yacc yet to test it on, so ...

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Wed Mar 10 12:55:01 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA25704
	for scwm-discuss-outgoing; Wed, 10 Mar 1999 12:55:01 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA25698
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Mar 1999 12:54:59 -0500
Received: from oeil.Mlink.NET by MIT.EDU with SMTP
	id AA07264; Wed, 10 Mar 99 12:49:52 EST
Received: from terram.oeil.qc.ca.oeil.qc.ca (arsphl@terram [205.236.183.26])
	by terram.oeil.qc.ca (8.8.8/8.8.8) with ESMTP id MAA04197;
	Wed, 10 Mar 1999 12:52:38 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Pie, Lambdas, and new binary
References: <m3r9r42q54.fsf@terram.oeil.qc.ca> <qrr7lsrabv3.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Face: "is~\q|K),`m,bY9dG.&@&GV%6#q@2sV:1/uiqINV#z`8)LZ:X-Xy9zPn(P~R_?Ol:G\<?8 mQFxL?=YHQ`?p],8U4j$?ANbPXLS\d4&q?h^BeBY*/Un7qAS|c
From: Philippe Laliberte <arsphl@oeil.qc.ca>
Date: 10 Mar 1999 12:52:37 -0500
In-Reply-To: Greg Badros's message of 08 Mar 1999 13:51:44 -0800
Message-Id: <m3k8wpcjve.fsf@terram.oeil.qc.ca>
Lines: 27
X-Mailer: Gnus v5.5/Emacs 20.2
X-Mime-Autoconverted: from 8bit to quoted-printable by terram.oeil.qc.ca id MAA04197
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by VICARIOUS-EXISTENCE.MIT.EDU id MAA25699
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>>> "Greg" == Greg Badros <gjb@cs.washington.edu> writes:

 Greg> Philippe Laliberte <arsphl@oeil.qc.ca> writes: <snip>

 >> If you may think that a automatic FAQ could be a good tools while
 >> documentation get worked on let me know I can set up one in
 >> http://www.oeil.qc.ca/auto_faq quite quickly.

 Greg> I wouldn't mind trying this system out. Any objections?

 Greg> After you get it set up, could you prime it with our current
 Greg> FAQ (not much, but a start) from doc/scwm-faq, and then post
 Greg> instructions to this list about how to use it and how to
 Greg> contribute to it.

	Sorry for the delay, but I had much other work on the table
this week. So the Auto FAQ is setuped. You can find it at
http://www.oeil.qc.ca/auto_faq/Scwm/ The How-to file is at
http://www.oeil.qc.ca/auto_faq/howto.html

	I have put what is already in the scwm-faq that comes with
0.9.2. Just add, remove and modify what you see fit.

-- 
(Bonne_journée
	     ( "Philippe Laliberte" . http://www.oeil.qc.ca/ )
	     ( arsphl@oeil.qc.ca . NO SPAM PLEASE ))


From owner-scwm-discuss@mit.edu  Wed Mar 10 13:36:56 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA25959
	for scwm-discuss-outgoing; Wed, 10 Mar 1999 13:36:56 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA25956
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Mar 1999 13:36:51 -0500
Received: from oeil.Mlink.NET by MIT.EDU with SMTP
	id AA07823; Wed, 10 Mar 99 13:32:44 EST
Received: from terram.oeil.qc.ca.oeil.qc.ca (arsphl@terram [205.236.183.26])
	by terram.oeil.qc.ca (8.8.8/8.8.8) with ESMTP id NAA04365;
	Wed, 10 Mar 1999 13:34:36 -0500
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Pie, Lambdas, and new binary
References: <m3r9r42q54.fsf@terram.oeil.qc.ca> <ws4snxc7px.fsf@orcus.priv.at>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Face: "is~\q|K),`m,bY9dG.&@&GV%6#q@2sV:1/uiqINV#z`8)LZ:X-Xy9zPn(P~R_?Ol:G\<?8 mQFxL?=YHQ`?p],8U4j$?ANbPXLS\d4&q?h^BeBY*/Un7qAS|c
From: Philippe Laliberte <arsphl@oeil.qc.ca>
Date: 10 Mar 1999 13:34:35 -0500
In-Reply-To: Robert Bihlmeyer's message of 07 Mar 1999 22:26:02 +0100
Message-Id: <m3hfrtchxg.fsf@terram.oeil.qc.ca>
Lines: 32
X-Mailer: Gnus v5.5/Emacs 20.2
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>>> "Robbe" == Robert Bihlmeyer <robbe@orcus.priv.at> writes:

 Philippe> Where do I find the Pie menus module? Do I still need it to
 Philippe> play with this? If not how Do I set it up?

 Robbe> `(use-modules (app scwm pie-menus))' should get you
 Robbe> set. Including `#:look circle-pie-menu-look' in some `menu'

	It does work thank's It will go into the auto FAQ.

 Philippe> I'm no guru of Guile but under older scheme implementation
 Philippe> there is a clear startup gain into defining closures as
 Philippe> lambdas ex:

 Robbe> I never heard of that before. Amazing. This would be a bug in
 Robbe> guile, IMHO.

	I don't know for guile specificly, that's why I asked. But it
is not really surprising. Since a closure have the same general
structure as a lambda it does make sense that there is less
manipulation for the interpretor using it.

 Robbe> I don't think we sacrifice flexibility. Look at
 Robbe> "std-menus.scm"'s `make-context-menu' for an
 Robbe> example. `(popup-menu (make-context-menu))' will always show a
 Robbe> menu custom-fitted to the current X selection.

 Robbe> Or do I miss your point?

	No it does answer my question.
-- 
arsphl


From owner-scwm-discuss@mit.edu  Wed Mar 10 15:38:14 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA26545
	for scwm-discuss-outgoing; Wed, 10 Mar 1999 15:38:14 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA26542
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Mar 1999 15:38:13 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA29281; Wed, 10 Mar 99 15:34:04 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA26117; Wed, 10 Mar 1999 12:32:50 -0800 (PST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@mit.edu
Subject: Re: Parsing .fvwmrc files.
References: <m23e3msppn.fsf_-_@blinky.bfr.co.il> <qrrhfrtaet5.fsf@elwha.cs.washington.edu> <m2lnh5o76l.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 10 Mar 1999 12:32:49 -0800
In-Reply-To: hjstein@bfr.co.il's message of "10 Mar 1999 14:33:38 +0200"
Message-Id: <qrr4snt9jbi.fsf@elwha.cs.washington.edu>
Lines: 52
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
>  > hjstein@bfr.co.il (Harvey J. Stein) writes:
>  > 
>  > > I just wrote a very crude implementation of lex.  My motivation is
>  > > that a) guile should include some sort of lex & yacc, and b) this
>  > > should be helpful in parsing the .fvwmrc files.  For that matter, I've
>  > > been testing it on my .fvwmrc file & it's now able to convert things
>  > > like:
>  > > 
>  > > # this is used for the selected window
>  > > HiForeColor		Wheat
>  > > HiBackColor		SlateBlue4
>  > 
>  > <snip>
>  > 
>  > > 
>  > > to:
>  > > 
>  > >  (comment
>  > >    "# this is used for the selected window")
>  > >  (HIFORECOLOR "HiForeColor")
>  > >  (symbol "Wheat")
>  > >  (HIBACKCOLOR "HiBackColor")
>  > >  (symbol "SlateBlue4")
>  > 
>  > <snip>
>  > 
>  > I think we need more information-- specifically, we need to know where
>  > the line-breaks in the .fvwm2rc file are.  Perhaps it should give us:
> 
> I don't think so because what I do is give the first symbol on the
> line a tag = to the value, and tag the remaning tokens by type -
> number (something otf -?[0-9]+|-?[0-9]*\.[0-9]+), string (something
> otf "[^"]*"), or symbol (anything else).  In other words, eol is
> indicated by the next fvwm command tag.

<snip>

Ahhh, I see.  I missed that subtlety.  Thanks for the clarification.

I am still not convinced that the lexing gives you much more than just
converting a string of characters into a string of tokens.  Of course,
that is what lexical analysis is all about, but there is a more
straightfoward sequence of plain-string tokens that seems to be equally
useful given how horrid the fvwm2 command syntax is.

Still, I'm anxious to see where this effort leads as I find it interesting.

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 10 15:45:34 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA26601
	for scwm-discuss-outgoing; Wed, 10 Mar 1999 15:45:34 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA26598
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Mar 1999 15:45:30 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA03391; Wed, 10 Mar 99 15:41:21 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA26501; Wed, 10 Mar 1999 12:40:33 -0800 (PST)
To: Philippe Laliberte <arsphl@oeil.qc.ca>
Cc: scwm-discuss@mit.edu
Subject: Re: Pie, Lambdas, and new binary
References: <m3r9r42q54.fsf@terram.oeil.qc.ca> <qrr7lsrabv3.fsf@elwha.cs.washington.edu> <m3k8wpcjve.fsf@terram.oeil.qc.ca>
From: Greg Badros <gjb@cs.washington.edu>
Date: 10 Mar 1999 12:40:32 -0800
In-Reply-To: Philippe Laliberte's message of "10 Mar 1999 12:52:37 -0500"
Message-Id: <qrr1zix9iyn.fsf@elwha.cs.washington.edu>
Lines: 22
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Philippe Laliberte <arsphl@oeil.qc.ca> writes:

> 
> 	Sorry for the delay, but I had much other work on the table
> this week. So the Auto FAQ is setuped. You can find it at
> http://www.oeil.qc.ca/auto_faq/Scwm/ The How-to file is at
> http://www.oeil.qc.ca/auto_faq/howto.html
> 
> 	I have put what is already in the scwm-faq that comes with
> 0.9.2. Just add, remove and modify what you see fit.

Ok, great. This looks potentially useful.  It looks like a simple 'wget
-r ' is reasonable enough for mirroring the contents (and backing them
up, since it looks as though anyone can delete articles).

I'm thinking that it'd be useful to use this interface for a while to
build a reasonably sized FAQ, and then perhaps consider how to move forward.

Are there other specialty faq creation/maintenance tools ?

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Wed Mar 10 17:27:25 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA27191
	for scwm-discuss-outgoing; Wed, 10 Mar 1999 17:27:25 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA27188
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 10 Mar 1999 17:27:24 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA24823; Wed, 10 Mar 99 17:23:12 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA01660; Wed, 10 Mar 1999 14:22:19 -0800 (PST)
To: Doug McNaught <doug@mcnaught.org>
Cc: scwm-discuss@mit.edu
Subject: Re: Parsing .fvwmrc files.
References: <m23e3msppn.fsf_-_@blinky.bfr.co.il> <qrrhfrtaet5.fsf@elwha.cs.washington.edu> <m2lnh5o76l.fsf@blinky.bfr.co.il> <m3hfrtmk8g.fsf@kabuki.leitess.com> <m2emmxny62.fsf@blinky.bfr.co.il> <m3d82hb9rf.fsf@kabuki.leitess.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 10 Mar 1999 14:22:19 -0800
In-Reply-To: Doug McNaught's message of "10 Mar 1999 11:16:20 -0500"
Message-Id: <qrrsobd7zok.fsf@elwha.cs.washington.edu>
Lines: 171
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

;; Doug McNaught's text is the main body,
;; my responses in between >> and << --03/11/99 gjb

   -*- indented-text -*-

Notes on implementing a converter from .fvwm2rc files to .scwmrc files.

Main issues:
  Source format is fairly free-form, and one can add attributes to 
    any object at any time, whereas in Scheme, functions and menus are
    defined once.
  Context-sensitive--'+' denotes continuation of last AddTo{Decor,Func,Menu}
    command (are these the only ones?)

>> Quick look at the source code suggests yes, these are the only ones.
N.B. fvwm2 implements functions as a special case of menus, so it's even
are to recognize that functions are in the list that "+" applies to when 
looking at the source.
<<

  Reasonably well documented, but no BNF--need to look at fvwm2 source 
    for authoritative answers to weird format/function questions.

Handling menus:
  The Scheme function 'menu' returns a menu object.  There isn't any 
    built-in way to add items to an existing menu (it would probably
    have to be added at the C level).

>> Correct, we'd need to add it at the C level, and it doesn't seem
worth it given the speed with which we can dynamically construct a menu
and the complications that would ensue.
<<

  Therefore, since 'menu' takes a list of menu items, we could define
    the scwm equivalent of AddToMenu to add the given items to a
    (possibly empty, created if necessary) list of items corresponding
    to that menu.  Once we've seen the entire .fvwm2rc file, we emit
    calls to 'menu' for each defined menu.  The problem here is that
    'menuitem' is a regular function, so it evaluates all its
    arguments when it's called to produce a menu item.  This means
    that menu items (and any other things like title buttons and
    keybindings) that pop up a previously defined menu will fail,
    since the 'menu' function binding the submenu will not have been
    called yet.  

>> I think the converter should combine all of the AddTo{...} calls and
agreggate the Decor, Function, or menu, itself whenever possible.  The
only time it's not possible is when the AddTo{...} calls are not
declarations, but are instead dynamically executed (either bound to
key, menu, or inside a function).  My guess is that this doesn't happen
very often, and that initially we can just ignore those things.
<<

  So maybe the thing to do is add a level of indirection, binding
    fvwm2 calls that pop up menus to an intermediate function that
    takes a symbolic menu name, does a variable lookup on that name,
    and uses 'apply' to call popup-menu on that value.  Can we do this
    without 'eval'?  Looks like we can't.

>> You can use a symbol in a menuitem's action -- see "menu-root-start"
in sample.scwmrc/gjb.scwmrc.  E.g., it does: 
    (menuitem "E&xit Scwm" #:image-left "mini-stop.xpm" 
              #:action 'menu-quit-verify))
where menu-quit-verify could be defined later in the .scwmrc file.
<<

  Alternatively, we could keep menus hashed by their fvwm name, and
    bind the popup call to a function that does a hash lookup and pops 
    up the fetched menu.
  Both of these are a bit fugly, but without the ability to add items
    to an existing menu structure, we can't handle menu definitions in 
    full generality.

>> I think we can output fully-statically-converted scwm menu
definitions for fvwm2 menus (ignoring the dynamic changing of menus for
the time being).  One thing to be careful about is that a menuitem that
is to popup a menu as a sub-menu needs to have its #:action be either
the menu object or a symbol that refers to a menu object in order for
the menuing code to realize it is a submenu and show the triangle
indicating the submenu.  Doing a closure with a popup-menu call hides
too much information from the menuitem object.
<<

Handling functions:
  One of the goals here is to produce as elegant Scheme as possible, so 
    the user will be able to use our output as a base to construct a
    clear and maintainable .scwmrc file.  It is therefore desirable
    that fvwm2 "functions" correspond to real Scheme functions.  It is
    therefore a bit tricky if the user defines a single function in
    two chunks--we can either build the function up as a list and use
    'eval' (ick) within the function once it's completed, or define a
    function for each "chunk" of definition, with the functions
    corresponding to previous chunks renamed as necessary and called
    before any parts of the new chunk are invoked.  The latter has the
    advantages of not using 'eval', and of making the Scheme code
    quite straightforward if the user defines a function in a single
    chunk (which is the usual case).
  Fvwm "functions" are weird.  Each step in the function has a quoted
     modifier ("I", "M", "C", or "D") that controls whether that step
    is executed Immediately, on Motion, on Click, or on DoubleClick.
    We *should* be able to use 'mouse-event-type' to determine which
    of these tags should be considered for each function invocation.
  Additionally, Fvwm functions can have arguments, which are denoted by 
    '$'-escaped names similar to shell variables.  $w corresponds to
    the current window ID (which will correspond to a Scheme window
    object) and $0 through $9 are the user-supplied arguments to the
    function, evaluated at function invocation.  The tricky thing here
    will be generating the Scheme function definitions with optional 
    arguments when necessary.

>> Consider, e.g.,
AddToFunc "Move-or-Raise" 
+ "M" Move
+ "M" Raise
+ "C" Raise
+ "D" Lower

This can be converted rather mechanically into:
;; (inspired by code from minimal.scm)
(define (Move-or-Raise)
  (with-window (get-window) ;; ensure that we use the same window-context throughout
    (case (mouse-event-type)
      ((motion) (interactive-move) (raise-window))
      ((click) (raise-window))
      ((double-click) (lower-window)))))

You can see that multiple "M"s get strung together (as would multiple
"C"s, etc.), and that the function names are different, but generally
this conversion is straightforward.
<<

Handling modules:
  This will be *very* tough to do in full generality--we would basically
    have to extend eval-fvwm-command to handle the full fvwm2 command
    language.  Doing this would make scwm able to use .fvwm2rc's "out
    of the box", which wouldn't encourage anybody to convert them to
    Scheme.  It would also be a *lot* of work, especially for the more
    involved commands for function definition etc.
  Short of handling modules in full generality, we can implement them 
    piecemeal as is being done (eg with the pager) by extending
    'eval-fvwm-command' as needed by each module, and keeping the
    translator code in sync with these additions.  Module config lines
    in the .fvwm2rc file can be easily collected and handed off to
    'register-fvwm2-module-config' on a per-module basis.  If we do
    this (which I think is the only realistic option) we need to keep
    a list of supported modules and warn the user when we hit a module
    call that's not in the list.

>> I think we just need to worry about collecting module lines and
handing them off appropriately to register-fvwm2-module-config.  The
necessary fvwm2 module support in Scwm can then be extended as deemed
useful.
<<


Handling styles, decors, etc:
  There seems to be a reasonably close mapping between the fvwm and
    scwm ways of doing this (not too surprisingly).  For the most part 
    translation should be fairly straightforward.  Exceptions: the
    Fvwm2 Add<object>Style commands build on top of existing styles.
    We can do the same build list & eval trick as with menus, or
    extend the stuff in 'face.scm' to provide the addition
    functionality, given that faces are a nonprimitive object of some
    sort (though I haven't had much of a chance to find out what).
>> I've not thought much about these, but it does not look too bad.
Certainly incrementally making more and more work is a reasonable
approach here.
<<

<snipped per-function notes>


From owner-scwm-discuss@mit.edu  Thu Mar 11 18:01:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA02369
	for scwm-discuss-outgoing; Thu, 11 Mar 1999 18:01:17 -0500
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA02366
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 11 Mar 1999 18:01:14 -0500
Received: from bastion.artisan.com by MIT.EDU with SMTP
	id AA28416; Thu, 11 Mar 99 18:01:41 EST
Received: from ypmaster.artisan.com (ypmaster [172.16.2.1])
	by bastion.artisan.com (8.9.2/8.9.1) with ESMTP id PAA11330
	for <scwm-discuss@mit.edu>; Thu, 11 Mar 1999 15:00:45 -0800 (PST)
Received: from lamb.artisan.com (lamb [172.16.10.20])
	by ypmaster.artisan.com (8.9.2/8.9.2) with ESMTP id PAA12440;
	Thu, 11 Mar 1999 15:00:56 -0800 (PST)
Received: (from alt@localhost)
	by lamb.artisan.com (8.9.2/8.9.2) id PAA15432;
	Thu, 11 Mar 1999 15:00:56 -0800 (PST)
X-Authentication-Warning: lamb.artisan.com: alt set sender to alt@lamb.artisan.com using -f
From: "Albert L. Ting" <alt@artisan.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14056.19240.19833.970822@lamb.artisan.com>
Date: Thu, 11 Mar 1999 15:00:56 -0800 (PST)
To: scwm-discuss@mit.edu, alt@artisan.com
Subject: problems getting FvwmTaskBar
X-Mailer: VM 6.68 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I can't seem to get the TaskBar to work (scwm-0.9, fvwm-2.0.46).  While
FvwmPager works just fine, the TaskBar complains that it can't read the
~/.fvwm2rc configuration file.  I've tried creating a blank file as well as
a "valid" .fvwm2rc file, with no such luck.  Has anybody gotten this to
work?

Thanks,
Albert

From owner-scwm-discuss@mit.edu  Fri Mar 12 08:22:53 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id IAA09435
	for scwm-discuss-outgoing; Fri, 12 Mar 1999 08:22:53 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from tech.com.au (techpt.lnk.telstra.net [139.130.75.122])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id IAA09432
	for <scwm-discuss@vicarious-existence.mit.edu>; Fri, 12 Mar 1999 08:22:48 -0500
Received: from bigfoot.com (chris@localhost [127.0.0.1])
	by tech.com.au (8.8.7/8.8.7) with ESMTP id AAA05903
	for <scwm-discuss@vicarious-existence.mit.edu>; Sat, 13 Mar 1999 00:20:08 +1100
Message-ID: <36E91486.BD4D71DD@bigfoot.com>
Date: Fri, 12 Mar 1999 13:20:06 +0000
From: Chris Bitmead <chris.bitmead@bigfoot.com>
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm <scwm-discuss@mit.edu>
Subject: scwm crashes
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

... well not crashes, exactly but sort of...

Using scwm I often have the problem, that suddenly, for no apparent
reason, the keyboard will stop responding. When this happens I usually
do a scwm->restart which corrects the problem.

Other times, the window manager decorations stop working. Clicking on
the title bar does nothing.

Now actually, before when I was using fvwm2, I used to have the same
thing occur too. This might happen several times in a day's work.

Does this happen to anyone else?

-- 
Chris Bitmead
http://www.bigfoot.com/~chris.bitmead
mailto:chris.bitmead@bigfoot.com

From owner-scwm-discuss@mit.edu  Fri Mar 12 10:17:26 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA09936
	for scwm-discuss-outgoing; Fri, 12 Mar 1999 10:17:26 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA09933
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 12 Mar 1999 10:17:22 -0500
Received: from relay.hq.tis.com by MIT.EDU with SMTP
	id AA25865; Fri, 12 Mar 99 10:16:16 EST
Received: by relay.gw.tislabs.com; id KAA11049; Fri, 12 Mar 1999 10:25:39 -0500 (EST)
Received: from clipper.hq.tis.com(10.33.1.2) by relay.gw.tislabs.com via smap (4.1)
	id xma011047; Fri, 12 Mar 99 10:25:31 -0500
Received: from woodchuck.hq.tis.com (IDENT:durward@woodchuck.hq.tis.com [10.33.60.58])
	by clipper.hq.tis.com (8.9.1/8.9.1) with ESMTP id KAA19332
	for <scwm-discuss@mit.edu>; Fri, 12 Mar 1999 10:15:47 -0500 (EST)
Received: (durward@localhost) by woodchuck.hq.tis.com (8.8.7/8.6.9) id KAA17925; Fri, 12 Mar 1999 10:15:47 -0500
To: scwm <scwm-discuss@mit.edu>
Subject: Re: scwm crashes
References: <36E91486.BD4D71DD@bigfoot.com>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Durward McDonell <durward@tislabs.com>
Date: 12 Mar 1999 10:15:47 -0500
In-Reply-To: Chris Bitmead's message of "Fri, 12 Mar 1999 13:20:06 +0000"
Message-Id: <ntzp5ibuxo.fsf@woodchuck.hq.tis.com>
Lines: 19
X-Mailer: Gnus v5.6.43/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Whenever something like this happens to me, it usually turns out that
the NumLock key has mysteriously turned on (cats walking on the
keyboard, anyone?).  This wouldn't make the keyboard stop responding
completely, but seems to interfere with anything that uses modifier
keys (Ctl, Alt, etc.).

--
Durward McDonell				   durward@tislabs.com


Chris Bitmead <chris.bitmead@bigfoot.com> writes:

> Using scwm I often have the problem, that suddenly, for no apparent
> reason, the keyboard will stop responding. When this happens I usually
> do a scwm->restart which corrects the problem.
> 
> Other times, the window manager decorations stop working. Clicking on
> the title bar does nothing.

From owner-scwm-discuss@mit.edu  Fri Mar 12 18:41:56 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA12674
	for scwm-discuss-outgoing; Fri, 12 Mar 1999 18:41:56 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA12671
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 12 Mar 1999 18:41:50 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA29253; Fri, 12 Mar 99 18:41:33 EST
Received: from Central.Sun.COM ([129.147.70.10])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with SMTP id PAA10425
	for <scwm-discuss@mit.edu>; Fri, 12 Mar 1999 15:40:52 -0800 (PST)
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id QAA00085; Fri, 12 Mar 1999 16:40:49 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1b+Sun/8.9.1) id QAA06143;
	Fri, 12 Mar 1999 16:40:49 -0700 (MST)
To: scwm-discuss@mit.edu
Subject: CPU spinning when timers pending
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Sam Falkner <samf@central.sun.com>
Date: 12 Mar 1999 16:40:48 -0700
Message-Id: <ii7ww0mwa2n.fsf@central.sun.com>
Lines: 27
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Today I got a spiffy CPU monitor for my Solaris machine at work, and
immediately noticed that my CPU was pegged.  I quickly found out that
scwm was the culprit.

My .scwmrc uses (add-timer-hook!  ...) extensively, and it seemed that
the CPU-spin was whenever a timer was pending.  I don't know if
non-Solaris select() functions allow a microsecond value over 1000000,
but Solaris apparently doesn't do the right thing here.  Here's my
simple patch, that seems to have fixed the problem.

(The embarrassing part is that it's taken me *weeks* to notice this!
Oh well, it must be because Solaris has such awesome scheduling! ;-)

- Sam

--- events.c.~1~	Fri Mar 12 16:12:10 1999
+++ events.c	Fri Mar 12 16:13:36 1999
@@ -1768,7 +1768,8 @@
       run_timed_out_timers();
       break;
     default:
-      timeout.tv_usec = usec;
+      timeout.tv_sec = usec / 1000000;
+      timeout.tv_usec = usec % 1000000;
       tp = &timeout;
       goto DONE_TIMER_LOOP;
       break;

From owner-scwm-discuss@mit.edu  Fri Mar 12 19:36:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA12974
	for scwm-discuss-outgoing; Fri, 12 Mar 1999 19:36:03 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA12968
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 12 Mar 1999 19:35:55 -0500
Received: from smtp3.erols.com by MIT.EDU with SMTP
	id AA13443; Fri, 12 Mar 99 19:34:34 EST
Received: from alum.mit.edu (207-172-216-118.s118.tnt1.sbo.ma.dialup.rcn.com [207.172.216.118])
	by smtp3.erols.com (8.8.8/8.8.5) with ESMTP id TAA01918;
	Fri, 12 Mar 1999 19:34:44 -0500 (EST)
Message-Id: <36E97FEA.4B943BEA@alum.mit.edu>
Date: Fri, 12 Mar 1999 15:58:18 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Sam Falkner <samf@central.sun.com>
Cc: scwm-discuss@mit.edu
Subject: Re: CPU spinning when timers pending
References: <ii7ww0mwa2n.fsf@central.sun.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Falkner wrote:
> 
> Today I got a spiffy CPU monitor for my Solaris machine at work, and
> immediately noticed that my CPU was pegged.  I quickly found out that
> scwm was the culprit.
> 
> My .scwmrc uses (add-timer-hook!  ...) extensively, and it seemed that
> the CPU-spin was whenever a timer was pending.  I don't know if
> non-Solaris select() functions allow a microsecond value over 1000000,
> but Solaris apparently doesn't do the right thing here.  Here's my
> simple patch, that seems to have fixed the problem.
> 
> (The embarrassing part is that it's taken me *weeks* to notice this!
> Oh well, it must be because Solaris has such awesome scheduling! ;-)
> 

I've never noticed it on my solaris box, but then I don't use timer hooks
as much. You are definitely right that this is generally the right thing
to do. I'll apply your patch.

 - Maciej

From owner-scwm-discuss@mit.edu  Sun Mar 14 11:49:01 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA27924
	for scwm-discuss-outgoing; Sun, 14 Mar 1999 11:49:01 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from kodis.jagunet.com (kodis.jaguNET.com [206.156.208.48])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id LAA27918
	for <scwm-discuss@vicarious-existence.mit.edu>; Sun, 14 Mar 1999 11:48:56 -0500
Received: (from kodis@localhost)
	by kodis.jagunet.com (8.8.7/8.8.7) id LAA17984
	for scwm-discuss@vicarious-existence.mit.edu; Sun, 14 Mar 1999 11:46:54 -0500
Date: Sun, 14 Mar 1999 11:46:53 -0500
From: John Kodis <kodis@jagunet.com>
To: scwm-discuss@mit.edu
Subject: fvwm_menu_conv
Message-ID: <19990314114653.A17959@kodis.jagunet.com>
Reply-To: kodis@jagunet.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95i
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I saw an announcement for fvwm_menu_conv on freshmeat.net, and thought
it would be of interest to the folks currently working in that area.
Quoting from the announcement:

  "fvwm_menu_conv consists of a script to convert .fvwmrc files into
   Blackbox menu files or Icewm menu files and a script to create
   Blackbox stylemenus."

The homepage for the package is at the oh-so-memorable URL:

  http://c54820-a.carneg1.pa.home.com/programs/index.html

-- John Kodis.

From owner-scwm-discuss@mit.edu  Sun Mar 14 17:34:22 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA29644
	for scwm-discuss-outgoing; Sun, 14 Mar 1999 17:34:22 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA29641
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 14 Mar 1999 17:34:16 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA12546; Sun, 14 Mar 99 17:32:52 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Sun, 14 Mar 1999 17:30:57 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Sun, 14 Mar 1999 17:30:57 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id RAA07955;
	Sun, 14 Mar 1999 17:32:07 -0500
To: scwm-discuss@mit.edu
Subject: gnome on rawhide requires enlightenment!
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 14 Mar 1999 17:32:07 -0500
Message-Id: <m3lngzwvmg.fsf@eho.eaglets.com>
Lines: 35
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

the gnome-core package on rawhide.redhat.com requires enlightenment.
I filed a bug but it was closed:

http://developer.redhat.com/bugzilla/show_bug.cgi?id=1503

--- shadow/1503	Sun Mar 14 14:06:30 1999
+++ shadow/1503.tmp.510	Sun Mar 14 14:06:57 1999
@@ -3,8 +3,8 @@
 Version: 1.0
 Platform: All
 OS/Version:
-Status: REOPENED
-Resolution:
+Status: RESOLVED
+Resolution: DISCARD
 Severity: normal
 Priority: normal
 Component: gnome-core
@@ -21,3 +21,7 @@
 this is wrong: other window managers, such as SCWM,
 (which I use) work just fine with gnome (including
 gnomepaget_applet &c).
+
+------- Additional Comments From msf@redhat.com  03/14/99 14:06 -------
+We require enlightenment because gnome-session tries to run it
+as configured by the spec file.

We must raise hell and make them change the state of affairs!
Please act now!

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Trespassers will be shot.  Survivors will be SHOT AGAIN!

From owner-scwm-discuss@mit.edu  Sun Mar 14 18:05:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA29865
	for scwm-discuss-outgoing; Sun, 14 Mar 1999 18:05:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA29861
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 14 Mar 1999 18:05:03 -0500
Received: from smtp4.erols.com by MIT.EDU with SMTP
	id AA20601; Sun, 14 Mar 99 18:03:35 EST
Received: from alum.mit.edu (207-172-216-118.s118.tnt1.sbo.ma.dialup.rcn.com [207.172.216.118])
	by smtp4.erols.com (8.8.8/smtp-v1) with ESMTP id SAA24713;
	Sun, 14 Mar 1999 18:02:42 -0500 (EST)
Message-Id: <36EC0D6B.7455B764@alum.mit.edu>
Date: Sun, 14 Mar 1999 14:26:35 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: sds@goems.com
Cc: scwm-discuss@mit.edu
Subject: Re: gnome on rawhide requires enlightenment!
References: <m3lngzwvmg.fsf@eho.eaglets.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold wrote:
> 
> the gnome-core package on rawhide.redhat.com requires enlightenment.
> I filed a bug but it was closed:
> 

That's certainly in bad taste. Surely some clever use of the RPM
packaging stuff and a script to run a suitably gnome-compliant WM
could resolve the technical issues. I mean, even the old Red Hat
desktop was smart enough to work properly with a variety of window
managers and not depend on any specific one.

I'll see if I can find any proper places to complain.

 - Maciej

From owner-scwm-discuss@mit.edu  Sun Mar 14 19:22:14 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA30249
	for scwm-discuss-outgoing; Sun, 14 Mar 1999 19:22:14 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA30246
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 14 Mar 1999 19:22:11 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA05425; Sun, 14 Mar 99 19:20:45 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA04870; Sun, 14 Mar 1999 16:19:59 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: gnome on rawhide requires enlightenment!
References: <m3lngzwvmg.fsf@eho.eaglets.com> <36EC0D6B.7455B764@alum.mit.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Mar 1999 16:19:58 -0800
In-Reply-To: Maciej Stachowiak's message of "Sun, 14 Mar 1999 14:26:35 -0500"
Message-Id: <qrrg177vc29.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Sam Steingold wrote:
> > 
> > the gnome-core package on rawhide.redhat.com requires enlightenment.
> > I filed a bug but it was closed:
> > 
> 
> That's certainly in bad taste. Surely some clever use of the RPM
> packaging stuff and a script to run a suitably gnome-compliant WM
> could resolve the technical issues. I mean, even the old Red Hat
> desktop was smart enough to work properly with a variety of window
> managers and not depend on any specific one.
> 
> I'll see if I can find any proper places to complain.

I wrote mfs@redhat.com (Michael Faulkner) directly.

Greg

From owner-scwm-discuss@mit.edu  Sun Mar 14 20:20:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA30570
	for scwm-discuss-outgoing; Sun, 14 Mar 1999 20:20:13 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA30567
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 14 Mar 1999 20:20:04 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA12477; Sun, 14 Mar 99 20:18:37 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA04933; Sun, 14 Mar 1999 17:17:53 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Endless output bug..
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Mar 1999 17:17:53 -0800
Message-Id: <qrr7lsjv9dq.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

An officemate just got this bug (rather severe) when a new window
was being mapped.  The argument in position 1 continues ad infinitum,
making Scwm appear locked, but the hard drive stays busy as stderr is
copied to .xsession-errors (the stderr output of the .xsession script).

I don't have time now to look into it, and it looks like it's in the
style-handling code which I don't know that much about, anyway.

This could perhaps also be a bug in guile-- unfortunately, the Scwm is
built against a CVS release of guile.  

Greg


ERROR: In procedure set-window-foreground! in expression
((style-option:handler 
#) (cdr o) win):
ERROR: Wrong type argument in position 1: ((((((((((#-1# (((#-1# ((#0#)) 
#-11# #
-8# (#-13# #-16# ((#0#)) #-6# (#-19# (#-24# #-18# #-19# #-14# #-17#
(#-22# (#-32
# #-26# #-27# #-22# #-25# #-2# (#-9# #0# ((((#-42# #0# #-1# #-33# #-45#
#-39# #-
40# #-35# #-38# #-15# #-6# #-3# (#-57# #-54# #-41# ((#0#)) (#-56# #-53#
#-58# #-
57# #-63# #-51# #-19# #-18# #-60# #-39# #0# ((#0#)) #-46# #-59# #-62#
((#0#)) #-
.... continues endlessly, w/o much of a pattern (gzip compressed 220MB
of this text down to 24MB or so; I don't think the numbers were
repeating in a cycle). 

From owner-scwm-discuss@mit.edu  Mon Mar 15 06:53:01 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA02164
	for scwm-discuss-outgoing; Mon, 15 Mar 1999 06:53:01 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from kodis.jagunet.com (kodis.jaguNET.com [206.156.208.48])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id GAA02158
	for <scwm-discuss@vicarious-existence.mit.edu>; Mon, 15 Mar 1999 06:52:57 -0500
Received: (from kodis@localhost)
	by kodis.jagunet.com (8.8.7/8.8.7) id AAA00432
	for scwm-discuss@vicarious-existence.mit.edu; Mon, 15 Mar 1999 00:21:54 -0500
Date: Mon, 15 Mar 1999 00:21:54 -0500
From: John Kodis <kodis@jagunet.com>
To: scwm-discuss@mit.edu
Subject: missing g_thread_use_default_impl, gdk_root_window
Message-ID: <19990315002153.A418@kodis.jagunet.com>
Reply-To: kodis@jagunet.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95i
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I just checked out the current CVS versions of both scwm and gnome,
including all the gtk, gdk, and glib stuff.  After an otherwise
successful build of all of this, I find scwm dying at startup with
these errors:

    (dlopening "libm.so" "/usr/lib/libm.so")
    (dlopening "libm.so" "/usr/lib/libm.so")
    (dlopening "libX11.so" "/usr/X11R6/lib/libX11.so")
    (dlopening "libXext.so" "/usr/X11R6/lib/libXext.so")
    (dlopening "libdl.so" "/usr/lib/libdl.so")
    (dlopening "libglib.so" "/usr/local/lib/libglib.so")
    (dlopening "libgmodule.so" "/usr/local/lib/libgmodule.so")
    dlopen: /usr/local/lib/libgmodule.so: undefined symbol:
      g_thread_use_default_impl
    Can't link libgmodule, hope that's ok.

    (dlopening "libgdk.so" "/usr/local/lib/libgdk.so")
    (dlopening "libgtk.so" "/usr/local/lib/libgtk.so")
    dlopen: /usr/local/lib/libgtk.so: undefined symbol: gdk_root_window
    Can't link libgtk, hope that's ok.

    Gdk-ERROR **: an x io error occurred
    aborting...
    (dlopening "libguilegtk-1.1.so" "/usr/local/lib/libguilegtk-1.1.so.0")

I found that g_thread_use_default_impl is defined in libglib.so, and
that gdk_root_window is defined in libgdk:

    $ nm /usr/local/lib/libglib.so | grep g_thread_use_default_impl
    0001eea4 D g_thread_use_default_impl
    $ nm /usr/local/lib/libgdk.so | grep gdk_root_window          
    00030a44 B gdk_root_window

It seems that the libraries defining these symbols are loaded prior to
the libraries that use the symbols, yet the symbols aren't being
found.  I felt it was time to scream for help.  Has anyone encountered
this before, or have any pointers for tracking down the problem?

-- John Kodis.

From owner-scwm-discuss@mit.edu  Mon Mar 15 08:20:50 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id IAA02575
	for scwm-discuss-outgoing; Mon, 15 Mar 1999 08:20:50 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from tech.com.au (techpt.lnk.telstra.net [139.130.75.122])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id IAA02572
	for <scwm-discuss@vicarious-existence.mit.edu>; Mon, 15 Mar 1999 08:20:46 -0500
Received: from bigfoot.com (chris@localhost [127.0.0.1])
	by tech.com.au (8.8.7/8.8.7) with ESMTP id AAA04026
	for <scwm-discuss@vicarious-existence.mit.edu>; Tue, 16 Mar 1999 00:16:15 +1100
Message-ID: <36ED081E.D7E3719F@bigfoot.com>
Date: Mon, 15 Mar 1999 13:16:14 +0000
From: Chris Bitmead <chris.bitmead@bigfoot.com>
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm <scwm-discuss@mit.edu>
Subject: scwm and num-lock
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Whoever it was who suggested that num-lock is locking up scwm, I think
you were right because it just happened to me and sure enough turning
off and on num-lock fixed it.

So why is it that num-lock would stop the mouse from working correctly
with the window decorations?

-- 
Chris Bitmead
http://www.bigfoot.com/~chris.bitmead
mailto:chris.bitmead@bigfoot.com

From owner-scwm-discuss@mit.edu  Mon Mar 15 09:15:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA02856
	for scwm-discuss-outgoing; Mon, 15 Mar 1999 09:15:03 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA02850
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 15 Mar 1999 09:15:00 -0500
Received: from relay.hq.tis.com by MIT.EDU with SMTP
	id AA19081; Mon, 15 Mar 99 09:12:09 EST
Received: by relay.gw.tislabs.com; id JAA08635; Mon, 15 Mar 1999 09:21:45 -0500 (EST)
Received: from clipper.hq.tis.com(10.33.1.2) by relay.gw.tislabs.com via smap (4.1)
	id xma008625; Mon, 15 Mar 99 09:21:45 -0500
Received: from woodchuck.hq.tis.com (IDENT:durward@woodchuck.hq.tis.com [10.33.60.58])
	by clipper.hq.tis.com (8.9.1/8.9.1) with ESMTP id JAA20474
	for <scwm-discuss@mit.edu>; Mon, 15 Mar 1999 09:11:20 -0500 (EST)
Received: (durward@localhost) by woodchuck.hq.tis.com (8.8.7/8.6.9) id JAA20943; Mon, 15 Mar 1999 09:11:19 -0500
To: scwm <scwm-discuss@mit.edu>
Subject: Re: scwm and num-lock
References: <36ED081E.D7E3719F@bigfoot.com>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Durward McDonell <durward@tislabs.com>
Date: 15 Mar 1999 09:11:19 -0500
In-Reply-To: Chris Bitmead's message of "Mon, 15 Mar 1999 13:16:14 +0000"
Message-Id: <nt4snmderc.fsf@woodchuck.hq.tis.com>
Lines: 18
X-Mailer: Gnus v5.6.43/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Chris Bitmead <chris.bitmead@bigfoot.com> writes:

> Whoever it was who suggested that num-lock is locking up scwm, I think
> you were right because it just happened to me and sure enough turning
> off and on num-lock fixed it.
> 
> So why is it that num-lock would stop the mouse from working correctly
> with the window decorations?

That was me -- glad it worked.  I don't really know why it does this,
but I suspect NumLock is somehow working like a "modifier" key, like
Control, Shift, or Alt.  If you were really clever, you could probably
define your key/mouse bindings so that everything works the same
whether NumLock is on or not.

-- 
Durward McDonell				   durward@tislabs.com

From owner-scwm-discuss@mit.edu  Mon Mar 15 09:21:55 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA02889
	for scwm-discuss-outgoing; Mon, 15 Mar 1999 09:21:55 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA02886
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 15 Mar 1999 09:21:54 -0500
Received: from relay.hq.tis.com by MIT.EDU with SMTP
	id AA06636; Mon, 15 Mar 99 09:20:10 EST
Received: by relay.gw.tislabs.com; id JAA08800; Mon, 15 Mar 1999 09:28:46 -0500 (EST)
Received: from clipper.hq.tis.com(10.33.1.2) by relay.gw.tislabs.com via smap (4.1)
	id xma008784; Mon, 15 Mar 99 09:27:56 -0500
Received: from woodchuck.hq.tis.com (IDENT:durward@woodchuck.hq.tis.com [10.33.60.58])
	by clipper.hq.tis.com (8.9.1/8.9.1) with ESMTP id JAA20730
	for <scwm-discuss@mit.edu>; Mon, 15 Mar 1999 09:17:37 -0500 (EST)
Received: (durward@localhost) by woodchuck.hq.tis.com (8.8.7/8.6.9) id JAA20947; Mon, 15 Mar 1999 09:17:31 -0500
To: scwm-discuss@mit.edu
Subject: Re: missing g_thread_use_default_impl, gdk_root_window
References: <19990315002153.A418@kodis.jagunet.com>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Durward McDonell <durward@tislabs.com>
Date: 15 Mar 1999 09:17:31 -0500
In-Reply-To: John Kodis's message of "Mon, 15 Mar 1999 00:21:54 -0500"
Message-Id: <nt1ziqdeh0.fsf@woodchuck.hq.tis.com>
Lines: 27
X-Mailer: Gnus v5.6.43/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


> I found that g_thread_use_default_impl is defined in libglib.so, and
> that gdk_root_window is defined in libgdk:
> 
>     $ nm /usr/local/lib/libglib.so | grep g_thread_use_default_impl
>     0001eea4 D g_thread_use_default_impl
>     $ nm /usr/local/lib/libgdk.so | grep gdk_root_window          
>     00030a44 B gdk_root_window
> 
> It seems that the libraries defining these symbols are loaded prior to
> the libraries that use the symbols, yet the symbols aren't being
> found.  I felt it was time to scream for help.  Has anyone encountered
> this before, or have any pointers for tracking down the problem?

Truthfully, I don't know much about gnome, nor how scwm loads
libraries.  However, I have beaten my head against a wall (more than
once, I'm afraid) with a problem just like this.  The answer turned
out to be a C vs. C++ linking problem: if, e.g., you have a C++ module
that declares "extern gdk_root_window;", but gdk_root_window is
defined in a plain C module, you will have linking problems.  To get
it to work, you have to declare "extern gdk_root_window;" inside an
'extern "C" { ... }' block.

OTOH, maybe this has nothing to do with it.

-- 
Durward McDonell				   durward@tislabs.com

From owner-scwm-discuss@mit.edu  Mon Mar 15 16:59:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA05106
	for scwm-discuss-outgoing; Mon, 15 Mar 1999 16:59:03 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA05100
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 15 Mar 1999 16:58:17 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA05381; Mon, 15 Mar 99 16:55:37 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA06547; Mon, 15 Mar 1999 13:55:34 -0800 (PST)
To: Durward McDonell <durward@tislabs.com>
Cc: scwm <scwm-discuss@mit.edu>
Subject: Re: scwm and num-lock
References: <36ED081E.D7E3719F@bigfoot.com> <nt4snmderc.fsf@woodchuck.hq.tis.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Mar 1999 13:55:34 -0800
In-Reply-To: Durward McDonell's message of "15 Mar 1999 09:11:19 -0500"
Message-Id: <qrr4snm2zah.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Durward McDonell <durward@tislabs.com> writes:

> Chris Bitmead <chris.bitmead@bigfoot.com> writes:
> 
> > Whoever it was who suggested that num-lock is locking up scwm, I think
> > you were right because it just happened to me and sure enough turning
> > off and on num-lock fixed it.
> > 
> > So why is it that num-lock would stop the mouse from working correctly
> > with the window decorations?
> 
> That was me -- glad it worked.  I don't really know why it does this,
> but I suspect NumLock is somehow working like a "modifier" key, like
> Control, Shift, or Alt.  If you were really clever, you could probably
> define your key/mouse bindings so that everything works the same
> whether NumLock is on or not.

Yep-- works like a modifier key.  We'll probably end up changing the
behaviour of the default bind primitives to ignore the state of the
NumLock key as they probably should.  This is a part of the event
rewrite that no-one has time to do right now.

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 16 08:26:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id IAA10520
	for scwm-discuss-outgoing; Tue, 16 Mar 1999 08:26:33 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id IAA10517
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 16 Mar 1999 08:26:14 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA09146; Tue, 16 Mar 99 08:24:27 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id PAA13285; Tue, 16 Mar 1999 15:23:37 +0200
Date: Tue, 16 Mar 1999 15:23:37 +0200
Message-Id: <199903161323.PAA13285@blinky.bfr.co.il>
From: "Harvey J. Stein" <hjstein@bfr.co.il>
To: scwm-discuss@mit.edu
Subject: Window size communication bug.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


There seems to be a bug in window size (or allowable size)
communication between scwm & applications.

For example, bring up a netscape window.  Maximize its height.  It
very nicely stretches from the top of the window to the bottom.  Now
start giving it lots of Alt-Ns to pop up new netscape windows.
Netscape always starts up new windows the same size as the netscape
window last created or adjusted in size.  So, all the windows being
poped up should be the same size.  However, each window poped up ends
up one pixel larger in height.

So, it seems that when windows are maximized or created, scwm tells
netscape the wrong size (one pixel too large).

This is with scwm-0.9-1.rh4.2.src.rpm, & guile guile-1.3-3.src.rpm
built & running under RH 4.2.

Thanks,

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Mar 16 08:34:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id IAA10575
	for scwm-discuss-outgoing; Tue, 16 Mar 1999 08:34:13 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id IAA10572
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 16 Mar 1999 08:34:09 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA10721; Tue, 16 Mar 99 08:32:19 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id PAA13344; Tue, 16 Mar 1999 15:31:27 +0200
To: "Harvey J. Stein" <hjstein@bfr.co.il>
Cc: scwm-discuss@mit.edu
Subject: Re: Window size communication bug.
References: <199903161323.PAA13285@blinky.bfr.co.il>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 16 Mar 1999 15:31:27 +0200
In-Reply-To: "Harvey J. Stein"'s message of "Tue, 16 Mar 1999 15:23:37 +0200"
Message-Id: <m2k8whlfww.fsf@blinky.bfr.co.il>
Lines: 35
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I forgot to mention - it has nothing to do with maximizing the
window.  It's just easier to see that way.

"Harvey J. Stein" <hjstein@bfr.co.il> writes:

 > There seems to be a bug in window size (or allowable size)
 > communication between scwm & applications.
 > 
 > For example, bring up a netscape window.  Maximize its height.  It
 > very nicely stretches from the top of the window to the bottom.  Now
 > start giving it lots of Alt-Ns to pop up new netscape windows.
 > Netscape always starts up new windows the same size as the netscape
 > window last created or adjusted in size.  So, all the windows being
 > poped up should be the same size.  However, each window poped up ends
 > up one pixel larger in height.
 > 
 > So, it seems that when windows are maximized or created, scwm tells
 > netscape the wrong size (one pixel too large).
 > 
 > This is with scwm-0.9-1.rh4.2.src.rpm, & guile guile-1.3-3.src.rpm
 > built & running under RH 4.2.
 > 
 > Thanks,
 > 
 > -- 
 > Harvey J. Stein
 > BFM Financial Research
 > hjstein@bfr.co.il
 > 

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Mar 16 15:37:24 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA12625
	for scwm-discuss-outgoing; Tue, 16 Mar 1999 15:37:24 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA12622
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 16 Mar 1999 15:37:04 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA04379; Tue, 16 Mar 99 15:35:10 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA09498; Tue, 16 Mar 1999 12:34:14 -0800 (PST)
To: "Harvey J. Stein" <hjstein@bfr.co.il>
Cc: scwm-discuss@mit.edu
Subject: Re: Window size communication bug.
References: <199903161323.PAA13285@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 16 Mar 1999 12:34:14 -0800
In-Reply-To: "Harvey J. Stein"'s message of "Tue, 16 Mar 1999 15:23:37 +0200"
Message-Id: <qrraexd18e1.fsf@elwha.cs.washington.edu>
Lines: 12
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

"Harvey J. Stein" <hjstein@bfr.co.il> writes:

<snip>

> Netscape always starts up new windows the same size as the netscape
> window last created or adjusted in size.  So, all the windows being

I've never noticed this behaviour.  Which netscape are you running?  Is
this netscape feature documented somewhere?

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Tue Mar 16 16:25:46 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA12887
	for scwm-discuss-outgoing; Tue, 16 Mar 1999 16:25:46 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA12884
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 16 Mar 1999 16:25:42 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA02728; Tue, 16 Mar 99 16:23:03 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id WAA00756
	for scwm-discuss@mit.edu; Tue, 16 Mar 1999 22:11:06 +0100 (MET)
Received: (qmail 10035 invoked by uid 115); 16 Mar 1999 21:10:40 -0000
To: scwm-discuss@mit.edu
Subject: Re: gnome on rawhide requires enlightenment!
References: <m3lngzwvmg.fsf@eho.eaglets.com>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 16 Mar 1999 22:10:39 +0100
In-Reply-To: Sam Steingold's message of "14 Mar 1999 17:32:07 -0500"
Message-Id: <wsbthtqgxc.fsf@orcus.priv.at>
Lines: 33
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 14 Mar 1999 17:32:07 -0500
>>>>> Sam Steingold <sds@goems.com> said:

 Sam> +We require enlightenment because gnome-session tries to run it
 Sam> +as configured by the spec file.

They've got it wrong. *My* version of gnome-session
(wm-properties-capplet, to be exact) looks up its list of known wms
(enlightment, icewm, windowmaker by default - you can add to this),
elimininates those it could not find, and (if no user preference is
known) starts the first of the remaining list.

So gnome-session will work well out-of-the-box if, for example, only
windowmaker is installed.

I will gladly file a feature request so that scwm is added to the
default list. Only I need someone to tell me what the official moniker 
is. Is it

Scheme Configurable Window Manager
SCWM
Scwm
scwm

?

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Tue Mar 16 16:35:22 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA12974
	for scwm-discuss-outgoing; Tue, 16 Mar 1999 16:35:22 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA12971
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 16 Mar 1999 16:35:19 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA06004; Tue, 16 Mar 99 16:32:32 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA09593; Tue, 16 Mar 1999 13:32:26 -0800 (PST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: gnome on rawhide requires enlightenment!
References: <m3lngzwvmg.fsf@eho.eaglets.com> <wsbthtqgxc.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 16 Mar 1999 13:32:25 -0800
In-Reply-To: Robert Bihlmeyer's message of "16 Mar 1999 22:10:39 +0100"
Message-Id: <qrr4snl15p2.fsf@elwha.cs.washington.edu>
Lines: 40
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 14 Mar 1999 17:32:07 -0500
> >>>>> Sam Steingold <sds@goems.com> said:
> 
>  Sam> +We require enlightenment because gnome-session tries to run it
>  Sam> +as configured by the spec file.
> 
> They've got it wrong. *My* version of gnome-session
> (wm-properties-capplet, to be exact) looks up its list of known wms
> (enlightment, icewm, windowmaker by default - you can add to this),
> elimininates those it could not find, and (if no user preference is
> known) starts the first of the remaining list.

This seems like exactly the right thing to do.

> So gnome-session will work well out-of-the-box if, for example, only
> windowmaker is installed.
> 
> I will gladly file a feature request so that scwm is added to the
> default list. Only I need someone to tell me what the official moniker 
> is. Is it
> 
> Scheme Configurable Window Manager
> SCWM
> Scwm
> scwm

I like either the 1st or the 3rd (in particular, lately I've been
replacing occurrences of SCWM with Scwm as I find the latter more
visually pleasing, and seems to fit with the significance of using
Scheme in that only the S is capitalized).  However, Maciej might feel
differently (in particular, the banner on the web page says "SCWM"
though I'd love to see that changed to "Scwm" though I otherwise like it
reasonably well).  Plus there are lots of other folks (e.g., you) who
have am important say in this matter, too---other opinions are welcome.

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 16 17:20:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA13357
	for scwm-discuss-outgoing; Tue, 16 Mar 1999 17:20:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA13354
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 16 Mar 1999 17:20:04 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA08148; Tue, 16 Mar 99 17:18:08 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Tue, 16 Mar 1999 17:16:30 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Tue, 16 Mar 1999 17:16:30 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id RAA08553;
	Tue, 16 Mar 1999 17:16:51 -0500
To: scwm-discuss@mit.edu
Subject: Re: gnome on rawhide requires enlightenment!
References: <m3lngzwvmg.fsf@eho.eaglets.com> <wsbthtqgxc.fsf@orcus.priv.at> <qrr4snl15p2.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "16 Mar 1999 13:32:25 -0800"
Date: 16 Mar 1999 17:16:50 -0500
Message-Id: <m3emmpm65p.fsf@eho.eaglets.com>
Lines: 20
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrr4snl15p2.fsf@elwha.cs.washington.edu>
>>>> On the subject of "Re: gnome on rawhide requires enlightenment!"
>>>> Sent on 16 Mar 1999 13:32:25 -0800
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> Robert Bihlmeyer <robbe@orcus.priv.at> writes:
 >> >
 >> > Scheme Configurable Window Manager
 >> > SCWM
 >> > Scwm
 >> > scwm
 >> 
 >> I like either the 1st or the 3rd

I don't like mixed case, so I like 4th and 2nd. :-)

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
186,000 Miles per Second.  It's not just a good idea.  IT'S THE LAW.

From owner-scwm-discuss@mit.edu  Tue Mar 16 17:29:24 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA13432
	for scwm-discuss-outgoing; Tue, 16 Mar 1999 17:29:24 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA13429
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 16 Mar 1999 17:29:23 -0500
Received: from linux.dcast.ozemail.com.au by MIT.EDU with SMTP
	id AA23550; Tue, 16 Mar 99 17:26:41 EST
Received: from bigfoot.com (localhost [127.0.0.1])
	by linux.dcast.ozemail.com.au (8.8.7/8.8.7) with ESMTP id JAA02753
	for <scwm-discuss@mit.edu>; Wed, 17 Mar 1999 09:27:06 +1100
Message-Id: <36EEDABA.C0E7902E@bigfoot.com>
Date: Wed, 17 Mar 1999 09:27:06 +1100
From: Chris Bitmead <chris.bitmead@bigfoot.com>
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: en
Mime-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Re: Window size communication bug.
References: <199903161323.PAA13285@blinky.bfr.co.il> <qrraexd18e1.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> "Harvey J. Stein" <hjstein@bfr.co.il> writes:
> 
> <snip>
> 
> > Netscape always starts up new windows the same size as the netscape
> > window last created or adjusted in size.  So, all the windows being
> 
> I've never noticed this behaviour.  Which netscape are you running?  Is
> this netscape feature documented somewhere?

I've noticed that netscape does this too. Actually I find it a bit
annoying actually, but it seems like it has always worked this way. I
think in general netscape tries to remember the geometry of all sorts of
windows. Sometimes this is a good thing and sometimes it's annoying.

From owner-scwm-discuss@mit.edu  Tue Mar 16 18:36:10 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA13973
	for scwm-discuss-outgoing; Tue, 16 Mar 1999 18:36:10 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA13967
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 16 Mar 1999 18:35:54 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA28617; Tue, 16 Mar 99 18:33:55 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA10263; Tue, 16 Mar 1999 15:33:05 -0800 (PST)
To: Chris Bitmead <chris.bitmead@bigfoot.com>
Cc: scwm-discuss@mit.edu
Subject: Re: Window size communication bug.
References: <199903161323.PAA13285@blinky.bfr.co.il> <qrraexd18e1.fsf@elwha.cs.washington.edu> <36EEDABA.C0E7902E@bigfoot.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 16 Mar 1999 15:33:05 -0800
In-Reply-To: Chris Bitmead's message of "Wed, 17 Mar 1999 09:27:06 +1100"
Message-Id: <qrrpv69ypqm.fsf@elwha.cs.washington.edu>
Lines: 31
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Chris Bitmead <chris.bitmead@bigfoot.com> writes:

> Greg Badros wrote:
> > 
> > "Harvey J. Stein" <hjstein@bfr.co.il> writes:
> > 
> > <snip>
> > 
> > > Netscape always starts up new windows the same size as the netscape
> > > window last created or adjusted in size.  So, all the windows being
> > 
> > I've never noticed this behaviour.  Which netscape are you running?  Is
> > this netscape feature documented somewhere?
> 
> I've noticed that netscape does this too. Actually I find it a bit
> annoying actually, but it seems like it has always worked this way. I
> think in general netscape tries to remember the geometry of all sorts of
> windows. Sometimes this is a good thing and sometimes it's annoying.

Ok, I figured out why I didn't see this behaviour.  I had a hardcoded:

Netscape.Navigator.geometry: =640x742+0+0


in my personal .app-defaults/Netscape file.  Taking this out I see the
behaviour and the off-by-one-pixel bug.  I'll add it to the BUGS file,
but don't have the time to fix it right now.

Thanks for the report!

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 17 02:11:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA17185
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 02:11:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA17182
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 02:11:38 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA02492; Wed, 17 Mar 99 02:08:42 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id XAA10886; Tue, 16 Mar 1999 23:08:41 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: autoconf question
From: Greg Badros <gjb@cs.washington.edu>
Date: 16 Mar 1999 23:08:41 -0800
Message-Id: <qrrzp5cy4na.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hopefully someone listening here is an autoconf guru.  Here's the problem:

Scwm uses autoconf, and thus has " #include <config.h> " in its header
and source files (though I'm thinking it should only do the #include in
the .c files, at the very top).  Some of scwm's .c files use my
Cassowary constraint solving library and include those header files,
some of which do an #include <cassowary/config.h> to include Cassowary's
configure-generated config.h (cleverly put in the cassowary/
subdirectory to avoid a filename conflict).  However, both config.h's
#define PACKAGE and #define VERSION which I then get redefinition
warnings about.  More troublesome, even, is that there is no separation
of the config.h options for the two packages.  E.g., PACKAGE will
incorrectly expand to "cassowary" instead of "scwm" when building a scwm 
object that included "Cassowary.h" after including Scwm's <config.h>.

I am planning on trying to move the #include <cassowary/config.h> out of
Cassowary's header files and into its .c/.cc files, but because it's
partially C++ code, the header files often contain inline functions that
really need to see the config.h options.


Any thoughts, ideas, suggestions, or pointers?

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Wed Mar 17 08:12:22 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id IAA20636
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 08:12:22 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from tech.com.au (techpt.lnk.telstra.net [139.130.75.122])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id IAA20633
	for <scwm-discuss@vicarious-existence.mit.edu>; Wed, 17 Mar 1999 08:12:16 -0500
Received: from bigfoot.com (chris@localhost [127.0.0.1])
	by tech.com.au (8.8.7/8.8.7) with ESMTP id AAA07416
	for <scwm-discuss@vicarious-existence.mit.edu>; Thu, 18 Mar 1999 00:07:38 +1100
Message-ID: <36EFA919.F9460518@bigfoot.com>
Date: Wed, 17 Mar 1999 13:07:37 +0000
From: Chris Bitmead <chris.bitmead@bigfoot.com>
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm <scwm-discuss@mit.edu>
Subject: scwm restart problem
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I think _maybe_ I have narrowed down the restart problem where some
windows disappear. It _might_ be partly related to windows that extend
onto other virtual pages. For some reason my netscapes tend to by
default extend a couple of pixels onto the adjoining page. So if I have
a netscape on page 2 and it extends a couple of pixels onto page 4. Now
if I restart scwm all that is left of netscape is a couple of pixels at
the top of page 2. I did a test where I made the netscapes smaller and
the problem didn't occur.

And because of that thing I mentioned where clicking near the edge
always brings up the root menu instead of the decoration menu, the
window is not recoverable.

-- 
Chris Bitmead
http://www.bigfoot.com/~chris.bitmead
mailto:chris.bitmead@bigfoot.com

From owner-scwm-discuss@mit.edu  Wed Mar 17 10:19:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA21169
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 10:19:17 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA21166
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 10:19:13 -0500
Received: from 205229026070.infonautics.com by MIT.EDU with SMTP
	id AA23747; Wed, 17 Mar 99 10:16:53 EST
Received: from luckycharms.infonautics.com (luckycharms.infonautics.com [207.17.60.151])
	by ns1.infonautics.com (8.9.1a/8.9.1/mailhost.m4/1.29) with ESMTP id KAA22993
	for <scwm-discuss@mit.edu>; Wed, 17 Mar 1999 10:16:08 -0500 (EST)
Message-Id: <199903171516.KAA22993@ns1.infonautics.com>
X-Mailer: exmh version 2.0.2 2/24/98
Cc: scwm-discuss@mit.edu
Subject: Re: Pie, Lambdas, and new binary 
In-Reply-To: Your message of "10 Mar 1999 12:52:37 EST."
             <m3k8wpcjve.fsf@terram.oeil.qc.ca> 
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Date: Wed, 17 Mar 1999 10:16:01 -0500
From: Arturo Perez <arturo@infonautics.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by VICARIOUS-EXISTENCE.MIT.EDU id KAA21167
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

In message <m3k8wpcjve.fsf@terram.oeil.qc.ca>, Philippe Laliberte writes:
> Greg> After you get it set up, could you prime it with our current
> Greg> FAQ (not much, but a start) from doc/scwm-faq, and then post
> Greg> instructions to this list about how to use it and how to
> Greg> contribute to it.
>
>	Sorry for the delay, but I had much other work on the table
>this week. So the Auto FAQ is setuped. You can find it at
>http://www.oeil.qc.ca/auto_faq/Scwm/ The How-to file is at
>http://www.oeil.qc.ca/auto_faq/howto.html
>
>	I have put what is already in the scwm-faq that comes with
>0.9.2. Just add, remove and modify what you see fit.

Kewl!  I've been collecting some questions and their answers.  Does this
mean I just just plop them into this thingamabob and help populate the FAQ?


-- 
----
Arturo Perez arturo@infonautics.com; Too much information, like a bullet
through my brain - The Police; The way you do research
http://www.elibrary.com http://www.companysleuth.com/index.cfm?id=1950


From owner-scwm-discuss@mit.edu  Wed Mar 17 10:51:01 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA21352
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 10:51:01 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA21346
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 10:50:51 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA22606; Wed, 17 Mar 99 10:47:38 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id RAA01987; Wed, 17 Mar 1999 17:47:29 +0200
To: Chris Bitmead <chris.bitmead@bigfoot.com>
Cc: scwm <scwm-discuss@mit.edu>
Subject: Re: scwm restart problem
References: <36EFA919.F9460518@bigfoot.com>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 17 Mar 1999 17:47:28 +0200
In-Reply-To: Chris Bitmead's message of "Wed, 17 Mar 1999 13:07:37 +0000"
Message-Id: <m2bthsqfsf.fsf@blinky.bfr.co.il>
Lines: 83
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Chris Bitmead <chris.bitmead@bigfoot.com> writes:

 > And because of that thing I mentioned where clicking near the edge
 > always brings up the root menu instead of the decoration menu, the
 > window is not recoverable.

Well, you can recover it by making a menu listing all the windows
which, when selecting something, moves it back to position 0x0.
Something like:


(bind-mouse 'root 3
	    (lambda ()
	      (popup-menu
	       (menu
		(cons
		 (menuitem "Window list")
		 (map (lambda (win)
			(menuitem (window-title win)
				  #:action (lambda () (move-to 0 0 win))))
		      (list-windows)))))))
	      
You could also embellish the menu items to list the position too, so
that you can more easily see which windows are off screen, and
embelish the action to do something else, like maybe start an
interactive move.

Or, you could write a fcn to find all windows that are off screen &
move them back onto the screen.

Actually, the above is the low level way to do it.  Better might be:

	      
(bind-mouse 'root 3
	    (lambda () 
	      (show-window-list-menu #:show-geometry #t
				     #:proc (lambda (w) (move-to 0 0 w)))))

Then you can force it to only list off screen windows with something like:

;;; Snarfed from wininfo.scm because it's not define*-public, grrrr...
(define (intersection-area x1-1 y1-1 w1 h1 x2-1 y2-1 w2 h2)
  (let ((x1-2 (- (+ x1-1 w1) 1))
	(y1-2 (- (+ y1-1 h1) 1))
	(x2-2 (- (+ x2-1 w2) 1))
	(y2-2 (- (+ y2-1 h2) 1)))
    (if (or (< x1-2 x2-1)
	    (< x2-2 x1-1)
	    (< y1-2 y2-1)
	    (< y2-2 y1-1)) 
	0
	(let ((x1 (max x1-1 x2-1))
	      (x2 (min x1-2 x2-2))
	      (y1 (max y1-1 y2-1))
	      (y2 (min y1-2 y2-2)))
	  (let ((w (+ (- x2 x1) 1))
		(h (+ (- y2 y1) 1)))
	    (* w h))))))

(define (on-screen-percent w)
  "Return % of window on screen"
  (* 100 (/ (apply intersection-area 
		   (append (window-viewport-position w)
			       (window-frame-size w)
			       '(0 0)
			       (map (lambda (p) (- p 1))
				    (map * (desk-size) (display-size)))))
	    (apply * (window-frame-size w)))))

(bind-mouse 'root 3
	    (lambda () 
	      (show-window-list-menu #:show-geometry #t
				     #:proc (lambda (w) (move-to 0 0 w))
				     #:only (lambda (w)
					      (< (on-screen-percent w) 10)))))

although this seems to need some adjustment for windows on other
desktops.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Wed Mar 17 12:48:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA22120
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 12:48:13 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA22117
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 12:48:10 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA16909; Wed, 17 Mar 99 12:45:39 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id SAA07130
	for scwm-discuss@mit.edu; Wed, 17 Mar 1999 18:19:10 +0100 (MET)
Received: (qmail 684 invoked by uid 115); 17 Mar 1999 08:58:43 -0000
To: scwm-discuss@mit.edu
Subject: Re: autoconf question
References: <qrrzp5cy4na.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 17 Mar 1999 09:58:42 +0100
In-Reply-To: Greg Badros's message of "16 Mar 1999 23:08:41 -0800"
Message-Id: <wsiuc0jxvh.fsf@orcus.priv.at>
Lines: 24
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 16 Mar 1999 23:08:41 -0800
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> Some of scwm's .c files use my Cassowary constraint
 Greg> solving library and include those header files, some of which
 Greg> do an #include <cassowary/config.h> to include Cassowary's
 Greg> configure-generated config.h (cleverly put in the cassowary/
 Greg> subdirectory to avoid a filename conflict).

I think this is wrong. config.h should only be used while building a
package - not when using it resp. linking to it.

If some of the inline functions in the Cassowary headers need some of
these config-defines, these defines should be put into a separate file.
This file is probably best generated from a template while configuring.
(The problem being, I don't know offhand of an /easy/ way to do this.)

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Wed Mar 17 12:50:36 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA22135
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 12:50:36 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA22132
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 12:50:35 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA17923; Wed, 17 Mar 99 12:48:10 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id SAA07131
	for scwm-discuss@mit.edu; Wed, 17 Mar 1999 18:19:11 +0100 (MET)
Received: (qmail 1633 invoked by uid 115); 17 Mar 1999 09:20:46 -0000
To: scwm-discuss@mit.edu
Subject: Re: gnome on rawhide requires enlightenment!
References: <m3lngzwvmg.fsf@eho.eaglets.com> <wsbthtqgxc.fsf@orcus.priv.at> <qrr4snl15p2.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 17 Mar 1999 10:20:45 +0100
In-Reply-To: Greg Badros's message of "16 Mar 1999 13:32:25 -0800"
Message-Id: <wsg174jwuq.fsf@orcus.priv.at>
Lines: 45
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 16 Mar 1999 13:32:25 -0800
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> This seems like exactly the right thing to do.

Yes. <msf@redhat.com>'s conception that gnome-session depends on
enlightment is wrong. It depends (without further configuration) on
one of enlightment, icewm, windowmaker. Is that expressable in
rpm-specs[1]? Hell, even without any of these wms you get a panel,
from where you can call the wm-properties dialog to set your favourite 
wm. Its just a tiny bit more inconvenient.

(if unnecessary-rant-p
"I found that the all-defaults gnome configuration, with enlightenment
and its default theme sucks anyway. You end up with a panel *and* E's
icon-bars - it's mostly random which one ends up on top.")

 >> Scheme Configurable Window Manager
 >> SCWM
 >> Scwm
 >> scwm

 Greg> I like either the 1st or the 3rd.

Me, too, OTOH 1st comes out rather longish; OTTH you only have to
click on it, not type it in. It would convey most information, e.g.
for the friend of mine who finds any lisp derivate suspect.
Anyway, I'd gladly use sCwM if it is the same program.

 Greg> Plus there are lots of other folks (e.g., you) who have am
 Greg> important say in this matter, too---other opinions are welcome.

I'd like to wait at least for Maciej's opinion, but anybody with a
feeling should definitely speak up.

        Robbe

[1] I know that dpkg can do something like that, by defining a
    "gnome-accepted-wm" virtual package.

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Wed Mar 17 13:25:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA22469
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 13:25:59 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA22466
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 13:25:56 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA18191; Wed, 17 Mar 99 13:22:45 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Wed, 17 Mar 1999 13:22:00 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Wed, 17 Mar 1999 13:22:00 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id NAA11696;
	Wed, 17 Mar 1999 13:22:34 -0500
To: scwm-discuss@mit.edu
Subject: Re: gnome on rawhide requires enlightenment!
References: <m3lngzwvmg.fsf@eho.eaglets.com> <wsbthtqgxc.fsf@orcus.priv.at> <qrr4snl15p2.fsf@elwha.cs.washington.edu> <wsg174jwuq.fsf@orcus.priv.at>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Robert Bihlmeyer's message of "17 Mar 1999 10:20:45 +0100"
Date: 17 Mar 1999 13:22:34 -0500
Message-Id: <m3yakwj7rp.fsf@eho.eaglets.com>
Lines: 15
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <wsg174jwuq.fsf@orcus.priv.at>
>>>> On the subject of "Re: gnome on rawhide requires enlightenment!"
>>>> Sent on 17 Mar 1999 10:20:45 +0100
>>>> Honorable Robert Bihlmeyer <robbe@orcus.priv.at> writes:
 >> 
 >> [1] I know that dpkg can do something like that, by defining a
 >>     "gnome-accepted-wm" virtual package.

same with rpm

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
main(a){printf(a,34,a="main(a){printf(a,34,a=%c%s%c,34);}",34);}

From owner-scwm-discuss@mit.edu  Wed Mar 17 16:07:01 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA23297
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 16:07:01 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA23291
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 16:06:58 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA24494; Wed, 17 Mar 99 16:04:29 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA11865; Wed, 17 Mar 1999 13:03:42 -0800 (PST)
To: Chris Bitmead <chris.bitmead@bigfoot.com>
Cc: scwm <scwm-discuss@mit.edu>
Subject: Re: scwm restart problem
References: <36EFA919.F9460518@bigfoot.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Mar 1999 13:03:42 -0800
In-Reply-To: Chris Bitmead's message of "Wed, 17 Mar 1999 13:07:37 +0000"
Message-Id: <qrrlngvygk1.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Chris Bitmead <chris.bitmead@bigfoot.com> writes:

> I think _maybe_ I have narrowed down the restart problem where some
> windows disappear. It _might_ be partly related to windows that extend
> onto other virtual pages. For some reason my netscapes tend to by
> default extend a couple of pixels onto the adjoining page. So if I have
> a netscape on page 2 and it extends a couple of pixels onto page 4. Now
> if I restart scwm all that is left of netscape is a couple of pixels at
> the top of page 2. I did a test where I made the netscapes smaller and
> the problem didn't occur.
> 
> And because of that thing I mentioned where clicking near the edge
> always brings up the root menu instead of the decoration menu, the
> window is not recoverable.

As I'm down to only one X server while in Australia, it's pretty
inconvenient for me to do some kinds of Scwm debugging (this bug, and
netscape-windows-off-by-one-pixel bug, e.g.).  Perhaps someone else can
look into this problem? (I'll keep it in mind as I'm doing other things
in case it jumps out at me).

Thanks for the bug report-- your narrowing down the problem will be very 
helpful in tracking down the issue.

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 17 16:08:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA23315
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 16:08:59 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA23312
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 16:08:58 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA15911; Wed, 17 Mar 99 16:05:43 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA11868; Wed, 17 Mar 1999 13:05:28 -0800 (PST)
To: Arturo Perez <arturo@infonautics.com>
Cc: scwm-discuss@mit.edu
Subject: Re: Pie, Lambdas, and new binary
References: <199903171516.KAA22993@ns1.infonautics.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Mar 1999 13:05:27 -0800
In-Reply-To: Arturo Perez's message of "Wed, 17 Mar 1999 10:16:01 -0500"
Message-Id: <qrriubzygh4.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Arturo Perez <arturo@infonautics.com> writes:

> Kewl!  I've been collecting some questions and their answers.  Does this
> mean I just just plop them into this thingamabob and help populate the FAQ?

Try it and see if you like using it.  I think it's a convenient way for
lots of people to contribute to a FAQ while we're in a building stage.
Hang on to your Q&A in whatever format you've got too, but if you like
the Autofaq and it's convenient enough, then I'd just add new things
there.

Thanks!

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 17 16:12:12 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA23412
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 16:12:12 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA23407
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 16:12:10 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA17036; Wed, 17 Mar 99 16:08:55 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA11871; Wed, 17 Mar 1999 13:08:37 -0800 (PST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: Chris Bitmead <chris.bitmead@bigfoot.com>, scwm <scwm-discuss@mit.edu>
Subject: Re: scwm restart problem
References: <36EFA919.F9460518@bigfoot.com> <m2bthsqfsf.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Mar 1999 13:08:37 -0800
In-Reply-To: hjstein@bfr.co.il's message of "17 Mar 1999 17:47:28 +0200"
Message-Id: <qrrg173ygbu.fsf@elwha.cs.washington.edu>
Lines: 9
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> ;;; Snarfed from wininfo.scm because it's not define*-public, grrrr...

Ok, I made a couple more procs public for wininfo.scm.

Thanks for the (implicit) suggestion! :-)

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 17 16:44:34 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA23799
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 16:44:34 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA23796
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 16:44:33 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA06760; Wed, 17 Mar 99 16:42:02 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id WAA19533
	for scwm-discuss@mit.edu; Wed, 17 Mar 1999 22:20:33 +0100 (MET)
Received: (qmail 3921 invoked by uid 115); 17 Mar 1999 18:41:17 -0000
To: scwm-discuss@mit.edu
Subject: Problems with the gnome panel
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 17 Mar 1999 19:41:15 +0100
Message-Id: <wsu2vknelw.fsf@orcus.priv.at>
Lines: 23
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

whenever I start a gnome panel (from 1.0.3), scwm immediately crashes.
This does not happen if the panel was already running, unless I add a
new panel.

I tracked this down to the calling of `X-MapRequest-hook' in
HandleMapRequestKeepRaised(). If the panel is already running
HandleMapRequestKeepRaised() is not called for the panel window
(probably because the panel is override-redirect in this case?). Only
when a new panel window is created, this function is called.

After traversal of the `X-MapRequest-hook' pswCurrent is NULL, causing 
a segfault immediately. The only function hanging on this hook is
`gnome-init-window-from-props' put there by `enable-gnome-hints'.

I don't know how to further debug this. Any hints?

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Wed Mar 17 16:51:35 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA23858
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 16:51:35 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA23855
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 16:51:33 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA09060; Wed, 17 Mar 99 16:49:02 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA11907; Wed, 17 Mar 1999 13:48:13 -0800 (PST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: autoconf question
References: <qrrzp5cy4na.fsf@elwha.cs.washington.edu> <wsiuc0jxvh.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Mar 1999 13:48:13 -0800
In-Reply-To: Robert Bihlmeyer's message of "17 Mar 1999 09:58:42 +0100"
Message-Id: <qrraexbyehu.fsf@elwha.cs.washington.edu>
Lines: 60
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 16 Mar 1999 23:08:41 -0800
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
>  Greg> Some of scwm's .c files use my Cassowary constraint
>  Greg> solving library and include those header files, some of which
>  Greg> do an #include <cassowary/config.h> to include Cassowary's
>  Greg> configure-generated config.h (cleverly put in the cassowary/
>  Greg> subdirectory to avoid a filename conflict).
> 
> I think this is wrong. config.h should only be used while building a
> package - not when using it resp. linking to it.

That's the conclusion I reached, too, but I think it's an artifact of
autoconf not being particularly well suited to C++ which has inline
functions which in all likelihood need the config.h definitions, too.

> If some of the inline functions in the Cassowary headers need some of
> these config-defines, these defines should be put into a separate file.
> This file is probably best generated from a template while configuring.
> (The problem being, I don't know offhand of an /easy/ way to do this.)

This seems pretty reasonable.  And, because of the structure of my
prerprocessor symbols that I care about, I *can* generate such a header
file pretty easily.  I added this build rule.


config-inline.h: config.h
	grep '#define CL_' $^ > $@ || true


and then install config-inline.h instead of config.h, and have Cassowary 
header files include config-inline.h like so:

#ifdef HAVE_CONFIG_H
#ifndef CONFIG_H_INCLUDED
#include <cassowary/config-inline.h>
#endif
#endif


and have Cassowary source files do:

#ifdef HAVE_CONFIG_H
#include <cassowary/config.h>
#define CONFIG_H_INCLUDED
#endif

(The CONFIG_H_INCLUDED is precautionary.  I think the right place for
the .cc files to do the include is after they've already included all
their header files).

Thanks for the suggestion-- any comments/improvements to my fleshed out
(not yet fully tested!) version of your solution?

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Wed Mar 17 16:59:24 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA23986
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 16:59:24 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA23983
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 16:59:23 -0500
Received: from oeil.Mlink.NET by MIT.EDU with SMTP
	id AA03079; Wed, 17 Mar 99 16:56:05 EST
Received: from terram.oeil.qc.ca.oeil.qc.ca (arsphl@terram [205.236.183.26])
	by terram.oeil.qc.ca (8.8.8/8.8.8) with ESMTP id QAA05596;
	Wed, 17 Mar 1999 16:58:45 -0500
To: Arturo Perez <arturo@infonautics.com>
Cc: scwm-discuss@mit.edu
Subject: Re: Pie, Lambdas, and new binary
References: <199903171516.KAA22993@ns1.infonautics.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Face: "is~\q|K),`m,bY9dG.&@&GV%6#q@2sV:1/uiqINV#z`8)LZ:X-Xy9zPn(P~R_?Ol:G\<?8 mQFxL?=YHQ`?p],8U4j$?ANbPXLS\d4&q?h^BeBY*/Un7qAS|c
From: Philippe Laliberte <arsphl@oeil.qc.ca>
Date: 17 Mar 1999 16:58:44 -0500
In-Reply-To: Arturo Perez's message of Wed, 17 Mar 1999 10:16:01 -0500
Message-Id: <m3oglrzskr.fsf@terram.oeil.qc.ca>
Lines: 18
X-Mailer: Gnus v5.5/Emacs 20.2
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>>> "Arturo" == Arturo Perez <arturo@infonautics.com> writes:
 >> http://www.oeil.qc.ca/auto_faq/Scwm/ The How-to file is at
 >> http://www.oeil.qc.ca/auto_faq/howto.html
 >> 
 >> I have put what is already in the scwm-faq that comes with
 >> 0.9.2. Just add, remove and modify what you see fit.

 Arturo> Kewl!  I've been collecting some questions and their answers.
 Arturo> Does this mean I just just plop them into this thingamabob
 Arturo> and help populate the FAQ?

	That is exactly why I set it up, I didn't test it with all
broswers on all platform, but since it woks ok with Lynx and Netscape
I assume that nobody will have headaches with it. If however anyone as
a problem just send me a note at mailto:arsphl@oeil.qc.ca .

-- 
arsphl


From owner-scwm-discuss@mit.edu  Wed Mar 17 17:14:19 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA24287
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 17:14:19 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA24284
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 17:14:17 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA16087; Wed, 17 Mar 99 17:11:46 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA11939; Wed, 17 Mar 1999 14:10:58 -0800 (PST)
To: Durward McDonell <durward@tislabs.com>
Cc: scwm-discuss@mit.edu
Subject: Re: missing g_thread_use_default_impl, gdk_root_window
References: <19990315002153.A418@kodis.jagunet.com> <nt1ziqdeh0.fsf@woodchuck.hq.tis.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Mar 1999 14:10:58 -0800
In-Reply-To: Durward McDonell's message of "15 Mar 1999 09:17:31 -0500"
Message-Id: <qrr7lsfydfx.fsf@elwha.cs.washington.edu>
Lines: 37
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Durward McDonell <durward@tislabs.com> writes:

> > I found that g_thread_use_default_impl is defined in libglib.so, and
> > that gdk_root_window is defined in libgdk:
> > 
> >     $ nm /usr/local/lib/libglib.so | grep g_thread_use_default_impl
> >     0001eea4 D g_thread_use_default_impl
> >     $ nm /usr/local/lib/libgdk.so | grep gdk_root_window          
> >     00030a44 B gdk_root_window
> > 
> > It seems that the libraries defining these symbols are loaded prior to
> > the libraries that use the symbols, yet the symbols aren't being
> > found.  I felt it was time to scream for help.  Has anyone encountered
> > this before, or have any pointers for tracking down the problem?
> 
> Truthfully, I don't know much about gnome, nor how scwm loads
> libraries.  However, I have beaten my head against a wall (more than
> once, I'm afraid) with a problem just like this.  The answer turned
> out to be a C vs. C++ linking problem: if, e.g., you have a C++ module
> that declares "extern gdk_root_window;", but gdk_root_window is
> defined in a plain C module, you will have linking problems.  To get
> it to work, you have to declare "extern gdk_root_window;" inside an
> 'extern "C" { ... }' block.
> 
> OTOH, maybe this has nothing to do with it.

If it is a C++ vs C linking problem, the missing symbol will generally
have a C++-compiler mangled name with encoded argument types, etc,
following the user-visible name (N.B. that piping through c++filt
demangles these symbols from stdin). My guess is that this isn't the
problem, but rather some version mismatch is causing the problems.  (But 
hey, never rule anything out).  I've never encountered these errors, but 
you could double check that the right libraries are being found and
you're not linking against old versions somewhere that you're not expecting).

Greg


From owner-scwm-discuss@mit.edu  Wed Mar 17 17:17:51 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA24380
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 17:17:51 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA24377
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 17:17:50 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA09170; Wed, 17 Mar 99 17:14:32 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA11946; Wed, 17 Mar 1999 14:14:23 -0800 (PST)
To: Philippe Laliberte <arsphl@oeil.qc.ca>
Cc: scwm-discuss@mit.edu
Subject: Re: Pie, Lambdas, and new binary
References: <m3r9r42q54.fsf@terram.oeil.qc.ca>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Mar 1999 14:14:23 -0800
In-Reply-To: Philippe Laliberte's message of "05 Mar 1999 05:21:27 -0500"
Message-Id: <qrr4snjyda8.fsf@elwha.cs.washington.edu>
Lines: 13
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Philippe Laliberte <arsphl@oeil.qc.ca> writes:

> 	I have builded scwm-0.9-2 for Linux ppc yesterday and played
> with it alot. The binary rpm is disponible for a little while at
> http://www.mlink.net/~arsphl/rpm/scwm-0.9-2.ppc.rpm . Or at 
> ftp://ftp.oeil.qc.ca:pub/scheme/

<snip>

Do you mind if we make your binary rpm available from the Scwm web page?

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Wed Mar 17 17:26:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA24527
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 17:26:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA24524
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 17:26:06 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA11554; Wed, 17 Mar 99 17:22:48 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA11950; Wed, 17 Mar 1999 14:22:48 -0800 (PST)
To: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: Re: messages when placing transient windows
References: <m3679oxv4o.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Mar 1999 14:22:48 -0800
In-Reply-To: Sam Steingold's message of "30 Jan 1999 17:18:15 -0500"
Message-Id: <qrr1zinycw7.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> using sds.scwmrc, when a transient window is created and places, I get
> the following messages on the stdout:
> 
> ;;; (pointer-position (74 109))
> 
> ;;; (window-size (202 154))
> 
> ;;; (offset (0 0))
> 
> ;;; (po (-0.5 -0.5))
> 
> ;;; (wav (1280 0))
> 
> they are generated by `peek' calls in `place-at-point-internal'.
> there these debug calls needed?
> is there a way to disable printing?

Looks like this has been fixed.  Do you still get the output?

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Wed Mar 17 17:41:05 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA24748
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 17:41:05 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA24745
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 17:41:04 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA15678; Wed, 17 Mar 99 17:37:46 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA11953; Wed, 17 Mar 1999 14:37:46 -0800 (PST)
To: Eli Barzilay <eli@CS.Cornell.EDU>
Cc: scwm-discuss@mit.edu
Subject: Re: scwm.el
References: <13933.43624.819069.356827@horus.cs.cornell.edu> <m3vhjm5i35.fsf@eho.eaglets.com> <13933.51191.494905.717287@horus.cs.cornell.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Mar 1999 14:37:46 -0800
In-Reply-To: Eli Barzilay's message of "Tue, 8 Dec 1998 19:44:39 -0500 (EST)"
Message-Id: <qrryakvwxmt.fsf@elwha.cs.washington.edu>
Lines: 6
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Does the latest scwm.el address your concerns from back in December?  I
made some changes a week or so ago to get it to work better with XEmacs
20.4, and it still works fine for me with GNU Emacs 20.3.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Wed Mar 17 17:59:52 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA24990
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 17:59:52 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA24987
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 17:59:50 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA28895; Wed, 17 Mar 99 17:57:17 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Wed, 17 Mar 1999 17:39:33 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Wed, 17 Mar 1999 17:39:32 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id RAA13165;
	Wed, 17 Mar 1999 17:37:25 -0500
To: <scwm-discuss@mit.edu>
Subject: Re: messages when placing transient windows
References: <m3679oxv4o.fsf@eho.eaglets.com> <qrr1zinycw7.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "17 Mar 1999 14:22:48 -0800"
Date: 17 Mar 1999 17:37:25 -0500
Message-Id: <m37lsfkaje.fsf@eho.eaglets.com>
Lines: 66
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrr1zinycw7.fsf@elwha.cs.washington.edu>
>>>> On the subject of "Re: messages when placing transient windows"
>>>> Sent on 17 Mar 1999 14:22:48 -0800
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> Sam Steingold <sds@goems.com> writes:
 >> 
 >> > using sds.scwmrc, when a transient window is created and places, I get
 >> > the following messages on the stdout:
 >> >
 >> > ;;; (pointer-position (74 109))
 >> >
 >> > ;;; (window-size (202 154))
 >> >
 >> > ;;; (offset (0 0))
 >> >
 >> > ;;; (po (-0.5 -0.5))
 >> >
 >> > ;;; (wav (1280 0))
 >> >
 >> > they are generated by `peek' calls in `place-at-point-internal'.
 >> > there these debug calls needed?
 >> > is there a way to disable printing?
 >> 
 >> Looks like this has been fixed.  Do you still get the output?

(-: I fixed it myself the same day :-)

While making sure :-), I noticed the following:

RROR: In procedure begin in expression (begin):
ERROR: missing or extra expression

Backtrace:
0* [gnome-X-MapRequest-hook #<window 67181725: "Netscape Download">]
1* [gnome-init-window-from-props #<window 67181725: "Netscape Download">]
2* [gnome-set-state! #<window 67181725: "Netscape Download">]
3  (let* ((cur-state #) (or-mask #) (and-mask #)) (X-property-set! win _WIN_STATE ...))
4* (or (X-property-numeric-value win _WIN_STATE) 0)
5* [X-property-numeric-value #<window 67181725: "Netscape Download"> 173]
6  (let ((pval #)) (and pval (vector-ref # 0)))
7* [X-property-get #<window 67181725: "Netscape Download"> 173]
8* [gsubr-apply #<compiled-closure #<primitive-procedure gsubr-apply>> #<window 67181725: "Netscape Download"> ...]

/usr/local/share/scwm-modules/app/scwm/gnome-hints.scm:140:17: In procedure gsubr-apply in expression (X-property-get win prop):
/usr/local/share/scwm-modules/app/scwm/gnome-hints.scm:140:17: Wrong type argument in position 1: #f

Backtrace:
0* [gnome-X-MapRequest-hook #<window 67182744: "Netscape Download">]
1* [gnome-init-window-from-props #<window 67182744: "Netscape Download">]
2* [gnome-set-state! #<window 67182744: "Netscape Download">]
3  (let* ((cur-state #) (or-mask #) (and-mask #)) (X-property-set! win _WIN_STATE ...))
4* (or (X-property-numeric-value win _WIN_STATE) 0)
5* [X-property-numeric-value #<window 67182744: "Netscape Download"> 173]
6  (let ((pval #)) (and pval (vector-ref # 0)))
7* [X-property-get #<window 67182744: "Netscape Download"> 173]
8* [gsubr-apply #<compiled-closure #<primitive-procedure gsubr-apply>> #<window 67182744: "Netscape Download"> ...]

/usr/local/share/scwm-modules/app/scwm/gnome-hints.scm:140:17: In procedure gsubr-apply in expression (X-property-get win prop):
/usr/local/share/scwm-modules/app/scwm/gnome-hints.scm:140:17: Wrong type argument in position 1: #f


-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
The only guy who got all his work done by Friday was Robinson Crusoe.

From owner-scwm-discuss@mit.edu  Wed Mar 17 18:18:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA25212
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 18:18:29 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA25209
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 18:18:28 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA25249; Wed, 17 Mar 99 18:15:09 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA11984; Wed, 17 Mar 1999 15:15:10 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Scwm-1.0 release to do list
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Mar 1999 15:15:09 -0800
Message-Id: <qrrvhfzwvwi.fsf@elwha.cs.washington.edu>
Lines: 105
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I'm checking this in to the repository, but for comments here, I'm
posting, too.  I'd love for people to snatch up tasks from this list to
help get Scwm-1.0 out the door soon.  Lots of the stuff is setting up
web stuff to support a 1.0 release;  we can give volunteers access to
the web host, I'd imagine, though Maciej's the guy that can do it, and I 
get the impression he's busy since I've not heard from him in a bit.

Anyway, here's the list:

THINGS WE NEED TO DO FOR SCWM 1.0

These notes are compiled from a discussion between Maciej and Sam on
scwm-discuss, with some organizational and pseudo-executive decisions
made by me :-) --03/18/99 gjb


Web-page related
----------------

* Fix Scwm mailing list archive -- 1999 is not included

* Add a search engine to Scwm web (esp. for mailing list)
** glimpse based?

* Add a bug tracking facility to the web page
** which one?
** we need to enter the BUGS file into the database
** also, gjb has some marked messages from the mailing list that should
go in the bug database

* Add a link to the auto-faq to the web page
** we need to enter Arturo Perez's list


Installation related
--------------------
* confirm easy installation with guile, cassowary RPMs
** include pointers to those RPMs on Scwm web page

* Add "srpm", "rpm" and "deb" targets to the makefile to make it
easier to build source rpms, binary rpms, and debian packages


Scwm-core related
-----------------

* Have a really polished and useful system.scwmrc that showcases some of
the nicer features, but remains eminently usable. All of the
sample.scwmrc-s  is better than the system.scwmrc.  

* A bit of work to ensure destroying guile-gtk windows won't kill the
window manager.

* Further testing of session manager support

* Further testing of Gnome, KDE interoperability, especially ensuring
that the pagers work

* Color limiting capability. Right now using scwm on an 8-bit display
can eat a lot of images or lead to excessive color allocation failures.

* Faster image loading. This, as well as the previous problem, could
probably be solved through an Imlib module (or even pervasive use of
Imlib).

* Fix only the most awful API stupidity - a lot of the available
procedures have silly argument orders or are generally poorly
designed.  We shouldn't do a lot of this as it'll break stuff
internally and necessitate lots of testing, but if there are really dumb 

things we've done we should fix them now.


Post-1.0 features
-----------------

* Improve gravity handling

* Move most useful stuff from flux.scm out to fully-supported modules

* event rewrite

* window groups feature (integration with constraints)

* improved API for constraint solver

* decoration rewrite

* rest of API cleanup

* first-class cursor objects

* Finish up the theme stuff (native theme mode at least, loading foreign
theme formats would require more generalization of our decoration code),
and have a few nice themes to distribute, either with scwm or
separately.

* Address some of the minor behavioral annoyances people experience
occasionally.

* More stuff moved into loadable modules.

* Maybe a bit more visual generalization and/or polish based on work
already done in fvwm2 since the fork (e.g. diagonal gradients, non-tiled
titlebar images, NeXT-looking menu style, snap attraction)

From owner-scwm-discuss@mit.edu  Wed Mar 17 18:31:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA25443
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 18:31:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA25440
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 18:31:44 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA28485; Wed, 17 Mar 99 18:28:24 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA12006; Wed, 17 Mar 1999 15:28:21 -0800 (PST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Problems with the gnome panel
References: <wsu2vknelw.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Mar 1999 15:28:20 -0800
In-Reply-To: Robert Bihlmeyer's message of "17 Mar 1999 19:41:15 +0100"
Message-Id: <qrrr9qnwvaj.fsf@elwha.cs.washington.edu>
Lines: 32
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> whenever I start a gnome panel (from 1.0.3), scwm immediately crashes.
> This does not happen if the panel was already running, unless I add a
> new panel.
> 
> I tracked this down to the calling of `X-MapRequest-hook' in
> HandleMapRequestKeepRaised(). If the panel is already running
> HandleMapRequestKeepRaised() is not called for the panel window
> (probably because the panel is override-redirect in this case?). Only
> when a new panel window is created, this function is called.
> 
> After traversal of the `X-MapRequest-hook' pswCurrent is NULL, causing 
> a segfault immediately. The only function hanging on this hook is
> `gnome-init-window-from-props' put there by `enable-gnome-hints'.

I'm doing a quick fix that just saves  pswCurrent before calling the
hooks, and restores it afterwards.  Let me know if this does the right
thing.  (I just committed).

> I don't know how to further debug this. Any hints?

If you have two X servers, just use one server to run gdb and attach it
to the scwm process running for the other server.  After the attach, set 
the appropriate breakpoint(s) and then "cont".  It's sometimes helpful
to use (set-X-server-synchronize! #t) to make the X-server not cache requests 
(slows things down a lot, but the effects of an X call happen
predicatably).

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 17 18:37:16 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA25578
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 18:37:16 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA25575
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 18:37:14 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA29696; Wed, 17 Mar 99 18:33:55 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA12015; Wed, 17 Mar 1999 15:33:54 -0800 (PST)
To: ken@halcyon.com
Cc: scwm-discuss@mit.edu
Subject: Re: autoconf question
References: <19990317221003Z276583-384+197@pulsar.halcyon.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Mar 1999 15:33:54 -0800
In-Reply-To: Ken Pizzini's message of "Wed, 17 Mar 1999 14:10:00 -0800"
Message-Id: <qrroglrwv19.fsf@elwha.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Ken Pizzini <ken@halcyon.com> writes:

> 
> Why not just place the "#define CONFIG_H_INCLUDED" in the
> <cassowary/config.h> file, rather than in every .c/.cc file?

I guess the short version is that config.h is generated by configure,
not written by hand, and I don't know if there is a way to have a
#define stay in there regardless of configure options, and didn't want
to mess with make rules to append to the file properly (just one more
thing to go wrong with the build).

Incidentally, my header files now do this, instead of what I'd written
before.  This is now reasonably well tested, and I'm getting ready to
make a Cassowary-0.4 release which should be more pleasant to build, and 
much more pleasant to use with the latest Scwm snapshots.

#if defined(HAVE_CONFIG_H) && !defined(CONFIG_H_INCLUDED) && !defined(CONFIG_INLINE_H_INCLUDED)
#include <cassowary/config-inline.h>
#define CONFIG_INLINE_H_INCLUDED
#endif

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Wed Mar 17 19:45:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA26073
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 19:45:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA26070
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 19:45:43 -0500
Received: from linux.dcast.ozemail.com.au by MIT.EDU with SMTP
	id AA13811; Wed, 17 Mar 99 19:42:20 EST
Received: from bigfoot.com (localhost [127.0.0.1])
	by linux.dcast.ozemail.com.au (8.8.7/8.8.7) with ESMTP id LAA07362
	for <scwm-discuss@mit.edu>; Thu, 18 Mar 1999 11:42:49 +1100
Message-Id: <36F04C06.945B595C@bigfoot.com>
Date: Thu, 18 Mar 1999 11:42:46 +1100
From: Chris Bitmead <chris.bitmead@bigfoot.com>
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: en
Mime-Version: 1.0
To: scwm <scwm-discuss@mit.edu>
Subject: Re: Scwm-1.0 release to do list
References: <qrrvhfzwvwi.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:

> * Have a really polished and useful system.scwmrc that showcases some of
> the nicer features, but remains eminently usable. All of the
> sample.scwmrc-s  is better than the system.scwmrc.

I think the default scwmrc should show off as many features as possible,
but the behaviour should be fairly unsurprising for someone used to a
Motif style window manager. Decorations should exist and work like
motif. That's what's missing right now from even the current samples I
think. Lot's of features but still Motif-y. I also like some of the
features to work like olvwm. Like double click the title to maximise
vertically, and Alt-F1,F2 etc for the virtual windows.

That's basicly what I've got right now, except the icons on the buttons
are wierder and there are more buttons. Would you like it as another
sample?

From owner-scwm-discuss@mit.edu  Wed Mar 17 19:52:58 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA26140
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 19:52:58 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA26136
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 19:52:56 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA15392; Wed, 17 Mar 99 19:49:34 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA12135; Wed, 17 Mar 1999 16:49:35 -0800 (PST)
To: Chris Bitmead <chris.bitmead@bigfoot.com>
Cc: scwm <scwm-discuss@mit.edu>
Subject: Re: Scwm-1.0 release to do list
References: <qrrvhfzwvwi.fsf@elwha.cs.washington.edu> <36F04C06.945B595C@bigfoot.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Mar 1999 16:49:34 -0800
In-Reply-To: Chris Bitmead's message of "Thu, 18 Mar 1999 11:42:46 +1100"
Message-Id: <qrremmnwrj5.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Chris Bitmead <chris.bitmead@bigfoot.com> writes:

> Greg Badros wrote:
> 
> > * Have a really polished and useful system.scwmrc that showcases some of
> > the nicer features, but remains eminently usable. All of the
> > sample.scwmrc-s  is better than the system.scwmrc.
> 
> I think the default scwmrc should show off as many features as possible,
> but the behaviour should be fairly unsurprising for someone used to a
> Motif style window manager. Decorations should exist and work like
> motif. That's what's missing right now from even the current samples I
> think. Lot's of features but still Motif-y. I also like some of the
> features to work like olvwm. Like double click the title to maximise
> vertically, and Alt-F1,F2 etc for the virtual windows.

I tend to agree, but would phrase it a bit more generally.  The
system.scwmrc should have highly discoverable features -- either by just 
being common behaviours that users expect to work, or by visually
suggesting places to click, drag, etc.  This suggests that heavy
key-bindings should not be the only way to access features.

> That's basicly what I've got right now, except the icons on the buttons
> are wierder and there are more buttons. Would you like it as another
> sample?

By all means, send it to me in private email and I'll commit it to the repo.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Wed Mar 17 20:50:05 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA26707
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 20:50:05 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA26704
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 20:50:04 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA25842; Wed, 17 Mar 99 20:46:40 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA12238; Wed, 17 Mar 1999 17:46:38 -0800 (PST)
To: kodis@jagunet.com
Cc: scwm-discuss@mit.edu
Subject: Re: Scwm-1.0 release to do list
References: <qrrvhfzwvwi.fsf@elwha.cs.washington.edu> <19990317203720.B26151@kodis.jagunet.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Mar 1999 17:46:37 -0800
In-Reply-To: John Kodis's message of "Wed, 17 Mar 1999 20:37:20 -0500"
Message-Id: <qrr4snjwow2.fsf@elwha.cs.washington.edu>
Lines: 37
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

John Kodis <kodis@jagunet.com> writes:

> On Wed, Mar 17, 1999 at 03:15:09PM -0800, Greg Badros wrote:
> 
> > THINGS WE NEED TO DO FOR SCWM 1.0
> >   [ ... snip ... ]
> > * Fix only the most awful API stupidity - a lot of the available
> > procedures have silly argument orders or are generally poorly
> > designed.
> 
> Related to this, there are a few cases where as a new scwm user, I
> found the names of things confusing:
> 
>   (bind-mouse 'sidebar ...) ; binds to the side of the frame, but...
>   (bind-mouse 'frame ...)   ; binds to the corners of the frame!

I think 'border and 'corners are synonyms for 'sidebar and 'frame,
respectively.  Maybe we should use just 'frame-sides and
'frame-corners. 

> 
> The names of the set-highlight-{fore,back}ground! functions don't make
> it clear that they set the color of the window that has focus.  Also,
> these names don't make the distinction between these functions and the
> flash-window and hilight-factor functions.  It would also be cleaner
> if the word "highlight" were spelled consistently throughout.
> 
> I hesitate to mention such petty grievances, but if these things are
> ever to be changed, it will be much easier to do so before the 1.0
> release than after.

These are exactly the kinds of fixes we *do* want for 1.0 -- thanks for
bringing them up.

Greg

P.S. I cc'd scwm-discuss, please let me know if you'd rather I'd not've.

From owner-scwm-discuss@mit.edu  Wed Mar 17 20:56:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA26792
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 20:56:29 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA26789
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 20:56:28 -0500
Received: from corona.beachnet.com by MIT.EDU with SMTP
	id AA02947; Wed, 17 Mar 99 20:53:51 EST
Received: from anohana.com (haw-207-182-230-35.vel.net [207.182.230.35])
          by corona.beachnet.com (Post.Office MTA v3.1.2
          release (PO205-101c) ID# 0-34824U2500L250S0) with ESMTP
          id AAA156; Wed, 17 Mar 1999 17:46:20 -0800
Message-Id: <36F05D30.10B6A5B7@anohana.com>
Date: Wed, 17 Mar 1999 17:56:00 -0800
From: "Mark Schafer" <mschafer@anohana.com>
Organization: Anohana Production Management & Technologies
X-Mailer: Mozilla 4.05 [en] (WinNT; I)
Mime-Version: 1.0
To: "scwm-discuss@mit.edu" <scwm-discuss@mit.edu>
Subject: Comparison chart
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

The X11 group has a comparison chart of the different window
managers.
It is at: http://www.x11.org/wm/compare.shtml

Although SCWM is mentioned on the list it has no entries. As you
are approaching release of 1.0, it  would be extremely interesting
to see this chart filled out so that possible users can more
clearly see the benefits of SCWM.
Regrettably I am not sufficently knowledgable about SCWM so I am
unable to do this.
Is it possible that someone could send the relevant info to this
web site.

Re your discussion of naming:
 >> >
 >> > Scheme Configurable Window Manager
 >> > SCWM
 >> > Scwm
 >> > scwm
 >>
 >> I like either the 1st or the 3rd
>I don't like mixed case, so I like 4th and 2nd. :-)

The other WMs are appearing on the Menus (RH5.2 dist) with
internal Capitalization (3rd perhaps) sometimes followed by a
description in parentheses.
E.g.
AfterStep
Fvwm2 (Fvwm95 look)
Fvwm2 (MWM look)
Lesstif WM
WindowMaker


I hope this information helps.

Mark Schafer...


From owner-scwm-discuss@mit.edu  Wed Mar 17 21:23:00 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA27016
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 21:23:00 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA27013
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 21:22:58 -0500
Received: from linux.dcast.ozemail.com.au by MIT.EDU with SMTP
	id AA07326; Wed, 17 Mar 99 21:20:18 EST
Received: from bigfoot.com (localhost [127.0.0.1])
	by linux.dcast.ozemail.com.au (8.8.7/8.8.7) with ESMTP id NAA07538;
	Thu, 18 Mar 1999 13:19:52 +1100
Message-Id: <36F062C7.1DCC052@bigfoot.com>
Date: Thu, 18 Mar 1999 13:19:51 +1100
From: Chris Bitmead <chris.bitmead@bigfoot.com>
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: en
Mime-Version: 1.0
To: Mark Schafer <mschafer@anohana.com>
Cc: "scwm-discuss@mit.edu" <scwm-discuss@mit.edu>
Subject: Re: Comparison chart
References: <36F05D30.10B6A5B7@anohana.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Can I suggest some more categories for your comparison...

* Extensible via extension language? Y/N
* Extensible via modules? Y/N



Mark Schafer wrote:
> 
> The X11 group has a comparison chart of the different window
> managers.
> It is at: http://www.x11.org/wm/compare.shtml
> 
> Although SCWM is mentioned on the list it has no entries. As you
> are approaching release of 1.0, it  would be extremely interesting
> to see this chart filled out so that possible users can more
> clearly see the benefits of SCWM.
> Regrettably I am not sufficently knowledgable about SCWM so I am
> unable to do this.
> Is it possible that someone could send the relevant info to this
> web site.
> 
> Re your discussion of naming:
>  >> >
>  >> > Scheme Configurable Window Manager
>  >> > SCWM
>  >> > Scwm
>  >> > scwm
>  >>
>  >> I like either the 1st or the 3rd
> >I don't like mixed case, so I like 4th and 2nd. :-)
> 
> The other WMs are appearing on the Menus (RH5.2 dist) with
> internal Capitalization (3rd perhaps) sometimes followed by a
> description in parentheses.
> E.g.
> AfterStep
> Fvwm2 (Fvwm95 look)
> Fvwm2 (MWM look)
> Lesstif WM
> WindowMaker
> 
> I hope this information helps.
> 
> Mark Schafer...

From owner-scwm-discuss@mit.edu  Wed Mar 17 22:02:34 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA27256
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 22:02:34 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA27253
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 22:02:30 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA13658; Wed, 17 Mar 99 21:59:51 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id SAA12289; Wed, 17 Mar 1999 18:58:57 -0800 (PST)
To: xteam@x11.org
Cc: scwm-discuss@mit.edu
Subject: Scwm WM
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Mar 1999 18:58:56 -0800
Message-Id: <qrryakvv6z3.fsf@elwha.cs.washington.edu>
Lines: 37
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

Thanks for your great page of X11 window managers.

Here is how Scwm compares via your list of categories.  Since Scwm is
unquestionably the most configurable WM, it'd be great if you
could add it to the main comparison page.

Multiple Workspaces   Yes
XPM Support	      Yes
Dock/Wharf/Panel      Yes (Fvwm2, KPanel, Gnome-panel)
Pinnable Menus        Yes (via guile-gtk)
Gnome Compliant       Yes (at least mostly-- I don't use Gnome)
Dynamic Configuration YES! (way more that the others)
Theme Support         Yes
Multiheaded	      Yes
Window Shades         Yes (animated, too)
Root Menus	      Yes
Group Handling        Not included (but easy to write w/o changing the core)
Iconisation	      Yes (this category should get dropped, probably)
Floating/Sticky Win   Yes
Action Sounds         Yes (via general hooks attached to events)
Internal Help         Yes (via interaction mode with Emacs)
Tool Tips	      Yes (via guile-gtk)
GUI Configuration     Partial (and improving)

You might consider adding:

Turing Complete extension language   YES!
Module support        Yes (fvwm2, guile-gtk)

Thanks,
Greg J. Badros
gjb@cs.washington.edu
Seattle, WA  USA
http://www.cs.washington.edu/homes/gjb
Co-maintainer of Scwm: http://vicarious-existence.mit.edu/scwm/

From owner-scwm-discuss@mit.edu  Wed Mar 17 22:18:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA27388
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 22:18:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA27385
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 22:18:06 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA10946; Wed, 17 Mar 99 22:14:40 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id TAA12332; Wed, 17 Mar 1999 19:14:41 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Review Scwm for x11.org
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Mar 1999 19:14:41 -0800
Message-Id: <qrrpv67v68u.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I don't know how many hits the x11.org folks get, but since lots of
people are picking WMs these days and x11.org is a pretty obvious place
to try, we should try to make Scwm appear as favorably as possible on
the x11.org site.  You can submit (hopefully positive, but definitely
honest) reviews of Scwm at:

http://www.x11.org/wm/scwm/review.shtml

Be sure to mention the version that you are using (especially for
criticisms -- the one review there is probably old, but I can't tell
because he doesn't mention the version # or the date).  

Best plan:
Put your compliments there, and send your criticims to this list so that 
they won't be relevant by the time people read your review! :-)


Thanks,
Greg

From owner-scwm-discuss@mit.edu  Wed Mar 17 22:35:51 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA27552
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 22:35:51 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA27549
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 22:35:45 -0500
Received: from austin.cs.unc.edu by MIT.EDU with SMTP
	id AA18915; Wed, 17 Mar 99 22:32:57 EST
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id WAA28562
	for <scwm-discuss@mit.edu>; Wed, 17 Mar 1999 22:32:11 -0500 (EST)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id WAA25756;
	Wed, 17 Mar 1999 22:32:10 -0500 (EST)
Date: Wed, 17 Mar 1999 22:32:10 -0500 (EST)
From: Stephen Tell <tell@cs.unc.edu>
To: scwm-discuss@mit.edu
Subject: window focus at startup
In-Reply-To: <qrrpv67v68u.fsf@elwha.cs.washington.edu>
Message-Id: <Pine.GHP.4.10.9903172221320.25484-100000@rukbat.cs.unc.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


When using (window-style "*" #:focus 'click) 
how can I control what window gets the focus when scwm starts up?

When logging in, I often point the cursor at an initial xterm and start
typing while guile and scwm are still getting their act together.  When
scwm is finally ready to go, it rips the focus away someplace else;
under 0.9 it looks like no window has the focus initialy. 

I found (focus (current-window-with-pointer)) to work from scwmrepl to pop
the focus to the window under the cursor, but if I put this same line
early in .scwmrc, I get a prompt to select a window, which I don't want.

I'd like for scwm to set the initial focus to wherever the X server's
default point-to-focus had it, and then for the style based focus handling
to take over.  

Any suggestions?
Thanks!

-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@mit.edu  Wed Mar 17 23:06:23 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA27817
	for scwm-discuss-outgoing; Wed, 17 Mar 1999 23:06:23 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA27814
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 17 Mar 1999 23:06:21 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA24070; Wed, 17 Mar 99 23:03:40 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id UAA12369; Wed, 17 Mar 1999 20:02:50 -0800 (PST)
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: window focus at startup
References: <Pine.GHP.4.10.9903172221320.25484-100000@rukbat.cs.unc.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Mar 1999 20:02:50 -0800
In-Reply-To: Stephen Tell's message of "Wed, 17 Mar 1999 22:32:10 -0500 (EST)"
Message-Id: <qrriubzv40l.fsf@elwha.cs.washington.edu>
Lines: 41
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> When using (window-style "*" #:focus 'click) 
> how can I control what window gets the focus when scwm starts up?
> 
> When logging in, I often point the cursor at an initial xterm and start
> typing while guile and scwm are still getting their act together.  When
> scwm is finally ready to go, it rips the focus away someplace else;
> under 0.9 it looks like no window has the focus initialy. 
> 
> I found (focus (current-window-with-pointer)) to work from scwmrepl to pop
> the focus to the window under the cursor, but if I put this same line
> early in .scwmrc, I get a prompt to select a window, which I don't want.
> 
> I'd like for scwm to set the initial focus to wherever the X server's
> default point-to-focus had it, and then for the style based focus handling
> to take over.  
> 
> Any suggestions?

Maybe try using the startup-hook:

(add-hook! startup-hook (lambda () (focus (current-window-with-pointer))))

As is, there is still a race condition, but I could remove the
CoerceEnterNotifyOnCurrentWindow call (scwm.c:1022) and have people use
the above line instead (the call was added to work around the current
window *not* getting the focus initially).

BTW, I'd be curious to know if it really was
`current-window-with-pointer' that prompted you for a window -- I can't
see how that's possible... perhaps you used `get-window' instead?

> Computer Science Department, UNC@Chapel Hill.   W:919-962-1845

<sarcasm>Bummer that you guys are out of the tourney</sarcasm>

Go Duke!!!!! :-)

Greg
Duke Trinity '95

From owner-scwm-discuss@mit.edu  Thu Mar 18 03:19:31 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA29519
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 03:19:31 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA29516
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 03:19:30 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA23484; Thu, 18 Mar 99 03:15:59 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id AAA12594; Thu, 18 Mar 1999 00:16:00 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Debian Linux users?
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Mar 1999 00:16:00 -0800
Message-Id: <qrr3e33usan.fsf@elwha.cs.washington.edu>
Lines: 6
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Anybody out there use Debian Linux?  The Scwm deb package distributed
with the latest Debian is 0.5!  Ugh!  We need to make this more current
and soon!  Anybody that can help, *please* say so...

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Thu Mar 18 03:37:58 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA30659
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 03:37:58 -0500
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA30656
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 03:37:57 -0500
Received: from dur.tbit.dk by MIT.EDU with SMTP
	id AA25112; Thu, 18 Mar 99 03:34:26 EST
Received: from chl.tbit.dk (chl.tbit.dk [194.182.135.65])
	by dur.tbit.dk (8.8.8/8.8.8) with ESMTP id JAA17819;
	Thu, 18 Mar 1999 09:34:26 +0100 (MET)
Received: (from chl@localhost)
	by chl.tbit.dk (8.8.8/8.8.8) id JAA09133;
	Thu, 18 Mar 1999 09:34:00 +0100 (MET)
X-Authentication-Warning: chl.tbit.dk: chl set sender to chl@tbit.dk using -f
From: Christian Lynbech <chl@tbit.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14064.47734.808627.859316@tbit.dk>
Date: Thu, 18 Mar 1999 09:33:58 +0100 (MET)
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Debian Linux users?
In-Reply-To: <qrr3e33usan.fsf@elwha.cs.washington.edu>
References: <qrr3e33usan.fsf@elwha.cs.washington.edu>
X-Mailer: VM 6.67 under Emacs 20.3.1
Comments: Hyperbole mail buttons accepted, v04.023.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I am a debian user (and maintainer though rather inactive at that),
and can help, if necessary. 

I'll try to find out more about scwm's status in debian.


---------------------------+--------------------------------------------------
Christian Lynbech          | Telebit Communications A/S                       
Fax:   +45 8628 8186       | Fabrik 11, DK-8260 Viby J
Phone: +45 8628 8177 + 28  | email: chl@tbit.dk --- URL: http://www.telebit.dk
---------------------------+--------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)

From owner-scwm-discuss@mit.edu  Thu Mar 18 03:43:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA30748
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 03:43:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA30745
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 03:43:06 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA27682; Thu, 18 Mar 99 03:40:22 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id AAA12692; Thu, 18 Mar 1999 00:39:30 -0800 (PST)
To: Christian Lynbech <chl@tbit.dk>
Cc: scwm-discuss@mit.edu
Subject: Re: Debian Linux users?
References: <qrr3e33usan.fsf@elwha.cs.washington.edu> <14064.47734.808627.859316@tbit.dk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Mar 1999 00:39:30 -0800
In-Reply-To: Christian Lynbech's message of "Thu, 18 Mar 1999 09:33:58 +0100 (MET)"
Message-Id: <qrrzp5btcn1.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Christian Lynbech <chl@tbit.dk> writes:

> I am a debian user (and maintainer though rather inactive at that),
> and can help, if necessary. 
> 
> I'll try to find out more about scwm's status in debian.

That'd be great!  Last I heard, the Debian Scwm package maintainer was
Francesco Tapparo <f.tapparo@vi.nettuno.it>.   I wrote him an hour ago,
and will let you know if he responds.

Thanks!
Greg


From owner-scwm-discuss@mit.edu  Thu Mar 18 04:08:55 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA31070
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 04:08:55 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA31067
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 04:08:54 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA29444; Thu, 18 Mar 99 04:06:09 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id LAA06576; Thu, 18 Mar 1999 11:05:04 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: Chris Bitmead <chris.bitmead@bigfoot.com>, scwm <scwm-discuss@mit.edu>
Subject: Re: scwm restart problem
References: <36EFA919.F9460518@bigfoot.com> <m2bthsqfsf.fsf@blinky.bfr.co.il> <qrrg173ygbu.fsf@elwha.cs.washington.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 18 Mar 1999 12:05:04 +0300
In-Reply-To: Greg Badros's message of "17 Mar 1999 13:08:37 -0800"
Message-Id: <m2vhfz5fsv.fsf@blinky.bfr.co.il>
Lines: 30
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > hjstein@bfr.co.il (Harvey J. Stein) writes:
 > 
 > > ;;; Snarfed from wininfo.scm because it's not define*-public, grrrr...
 > 
 > Ok, I made a couple more procs public for wininfo.scm.
 > 
 > Thanks for the (implicit) suggestion! :-)

May I then also make an explicit suggestion?  Why does the function
look like:

(define (intersection-area x1-1 y1-1 w1 h1 x2-1 y2-1 w2 h2) ...)

insead of:

(define (intersection-area r1-upper-left-corner r1-size
                           r2-upper-left-corner r2-size) ...)

It seems like all the size/position functions return lists of x & y
coordinates/lists of height & width, so the latter would be more
convenient to use.  All the uses of intersection-area I noticed in the
code are of the form (apply (intersection-area (append p1 s1 p2 s2))),
so it'd be more convenient in wininfo.scm too.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Thu Mar 18 04:19:54 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA31207
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 04:19:54 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA31204
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 04:19:53 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA28421; Thu, 18 Mar 99 04:16:22 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id LAA06727; Thu, 18 Mar 1999 11:16:19 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: Eli Barzilay <eli@CS.Cornell.EDU>, scwm-discuss@mit.edu
Subject: Re: scwm.el
References: <13933.43624.819069.356827@horus.cs.cornell.edu> <m3vhjm5i35.fsf@eho.eaglets.com> <13933.51191.494905.717287@horus.cs.cornell.edu> <qrryakvwxmt.fsf@elwha.cs.washington.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 18 Mar 1999 12:16:18 +0300
In-Reply-To: Greg Badros's message of "17 Mar 1999 14:37:46 -0800"
Message-Id: <m2sob35fa5.fsf@blinky.bfr.co.il>
Lines: 28
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > Does the latest scwm.el address your concerns from back in December?  I
 > made some changes a week or so ago to get it to work better with XEmacs
 > 20.4, and it still works fine for me with GNU Emacs 20.3.

May I make some suggestions regarding scwm.el?

C-x C-e runs eval-last-sexp.  Somehow, this function sends the sexp to
scwm if an scwm process is running in a buffer, and sends it to the lisp
interpreter if not.  The latter doesn't make much sense.  It'd be much
more useful if it sent it directly to scwm (like LFD does) if an scwm
process buffer doesn't exist.

LFD runs scwm-eval-last.  This fcn inserts the resuts of running the
expression in the buffer.  I can't imagine anyone finding this to be
convenient.  If I'm writing & executing scwm code from an scwm-mode
buffer, I don't want the return values written to the buffer.  I think
the older behavior of writing the result in the minibuffer was far
superior.

In general, is there any reason why scwm-mode doesn't have the same
bindings & behavior as the scheme mode from cmuscheme.el?

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Thu Mar 18 04:31:35 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA31421
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 04:31:35 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA31418
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 04:31:34 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA01009; Thu, 18 Mar 99 04:28:49 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id LAA06821; Thu, 18 Mar 1999 11:28:01 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Scwm WM
References: <qrryakvv6z3.fsf@elwha.cs.washington.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 18 Mar 1999 12:28:01 +0300
In-Reply-To: Greg Badros's message of "17 Mar 1999 18:58:56 -0800"
Message-Id: <m2lngv5eqm.fsf@blinky.bfr.co.il>
Lines: 19
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Greg Badros <gjb@cs.washington.edu> writes:

 > You might consider adding:
 > 
 > Turing Complete extension language   YES!
 > Module support        Yes (fvwm2, guile-gtk)

How about also:

Styles configurable on a per window basis?    Yes

(I didn't send this to X11.org.  I thought you might rather do it
yourself, or change the wording, or ...).

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Thu Mar 18 04:33:11 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA31491
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 04:33:11 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA31488
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 04:33:10 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA01109; Thu, 18 Mar 99 04:30:26 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id BAA12738; Thu, 18 Mar 1999 01:29:40 -0800 (PST)
To: scwm-discuss@mit.edu
Cc: guile@cygnus.com
Subject: Much improved Scwm Web Page
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Mar 1999 01:29:39 -0800
Message-Id: <qrrvhfztabg.fsf@elwha.cs.washington.edu>
Lines: 36
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I made some substantial revisions to the Scwm web page:

http://vicarious-existence.mit.edu/scwm/

I think it's a lot easier to navigate around, way more up to date, and
includes a lot more useful information.  In particular, I added:

o Links to all the source needed for a full-featured Scwm build, e.g.,
  guile-1.3, along with the guile-1.3 performance patch

o Mirrored copies of almost all of the source needed (some big,
  less-generally useful stuff I omitted)

o Links to new RPMs, and to RPMs of useful software; some mirrored.

o Links to numerous scheme references, including a nice intro to Scheme.

o Much better navigation aids throughout

o Developer's documentation area talking about writing guile primitives, 
  Scwm naming conventions, the famous "foo-rewrite" proposals, etc.
  Contributing to Scwm has never been easier!  Join the fun! :-)

and lots more!

We still need to get the mail archives fixed (for 1999) and add a search 
engine on that.  Also, we need a bug tracking interface, and all the old 
bugs entered into it (or eliminated, preferably).

I've checked my changes with weblint and webxref, but please let me know
about any bad links or suggestions for improvement.

Greg J. Badros
gjb@cs.washington.edu
Seattle, WA  USA
http://www.cs.washington.edu/homes/gjb

From owner-scwm-discuss@mit.edu  Thu Mar 18 04:35:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA31539
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 04:35:33 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA31535
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 04:35:29 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA01273; Thu, 18 Mar 99 04:32:36 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id BAA12751; Thu, 18 Mar 1999 01:31:47 -0800 (PST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@mit.edu
Subject: Re: Scwm WM
References: <qrryakvv6z3.fsf@elwha.cs.washington.edu> <m2lngv5eqm.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Mar 1999 01:31:46 -0800
In-Reply-To: hjstein@bfr.co.il's message of "18 Mar 1999 12:28:01 +0300"
Message-Id: <qrrsob3ta7x.fsf@elwha.cs.washington.edu>
Lines: 21
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
>  > You might consider adding:
>  > 
>  > Turing Complete extension language   YES!
>  > Module support        Yes (fvwm2, guile-gtk)
> 
> How about also:
> 
> Styles configurable on a per window basis?    Yes
> 
> (I didn't send this to X11.org.  I thought you might rather do it
> yourself, or change the wording, or ...).

Good point!  We should just go right down our feature list!  There are
*tons* of places where Scwm innovates.  Plus we've done a pretty solid
job of copying other wms cool/useful features.

Greg

From owner-scwm-discuss@mit.edu  Thu Mar 18 09:18:26 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA00275
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 09:18:26 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA00272
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 09:18:24 -0500
Received: from tis.bellhow.com by MIT.EDU with SMTP
	id AA00836; Thu, 18 Mar 99 09:15:38 EST
Received: by tis.bellhow.com; id JAA20858; Thu, 18 Mar 1999 09:14:53 -0500 (EST)
Received: from mailhost.bellhow.com(198.30.176.2) by tis.bellhow.com via smap (4.1)
	id xma020815; Thu, 18 Mar 99 09:14:38 -0500
Received: from bellhow.com (smithd@pcw3089.systems.bellhow.com [192.168.33.217])
	by mailhost.bellhow.com (8.8.8/8.8.8) with ESMTP id JAA05067
	for <scwm-discuss@mit.edu>; Thu, 18 Mar 1999 09:14:38 -0500 (EST)
Message-Id: <36F10A40.96BFCA58@bellhow.com>
Date: Thu, 18 Mar 1999 09:14:24 -0500
From: "Dale P. Smith" <smithd@bellhow.com>
Reply-To: smithd@bellhow.com
Organization: Bell & Howell PSC
X-Mailer: Mozilla 4.51 [en] (X11; U; Linux 2.0.29 i686)
X-Accept-Language: en
Mime-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Re: Much improved Scwm Web Page
References: <qrrvhfztabg.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> I made some substantial revisions to the Scwm web page:
> 
> http://vicarious-existence.mit.edu/scwm/

Fantastic!  Awesome!  Wonderful!

Dale

From owner-scwm-discuss@mit.edu  Thu Mar 18 09:49:46 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA00568
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 09:49:46 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA00565
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 09:49:44 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA09614; Thu, 18 Mar 99 09:46:56 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Thu, 18 Mar 1999 09:44:56 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Thu, 18 Mar 1999 09:44:55 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id JAA15020;
	Thu, 18 Mar 1999 09:45:32 -0500
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: Greg Badros <gjb@cs.washington.edu>, Eli Barzilay <eli@CS.Cornell.EDU>,
        scwm-discuss@mit.edu
Subject: Re: scwm.el
References: <13933.43624.819069.356827@horus.cs.cornell.edu> <m3vhjm5i35.fsf@eho.eaglets.com> <13933.51191.494905.717287@horus.cs.cornell.edu> <qrryakvwxmt.fsf@elwha.cs.washington.edu> <m2sob35fa5.fsf@blinky.bfr.co.il>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: hjstein@bfr.co.il's message of "18 Mar 1999 12:16:18 +0300"
Date: 18 Mar 1999 09:45:32 -0500
Message-Id: <m3k8we501f.fsf@eho.eaglets.com>
Lines: 60
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <m2sob35fa5.fsf@blinky.bfr.co.il>
>>>> On the subject of "Re: scwm.el"
>>>> Sent on 18 Mar 1999 12:16:18 +0300
>>>> Honorable hjstein@bfr.co.il (Harvey J. Stein) writes:
 >> 
 >> May I make some suggestions regarding scwm.el?
try :-)

 >> C-x C-e runs eval-last-sexp.  Somehow, this function sends the sexp
 >> to scwm if an scwm process is running in a buffer, and sends it to
 >> the lisp interpreter if not.  The latter doesn't make much sense.
 >> It'd be much more useful if it sent it directly to scwm (like LFD
 >> does) if an scwm process buffer doesn't exist.

I'll look at it.

 >> LFD runs scwm-eval-last.  This fcn inserts the resuts of running the
 >> expression in the buffer.  I can't imagine anyone finding this to be
 >> convenient.  If I'm writing & executing scwm code from an scwm-mode
 >> buffer, I don't want the return values written to the buffer.  I
 >> think the older behavior of writing the result in the minibuffer was
 >> far superior.

Please **RTFM** [wow, it's been quite a while since I last used this
abbreviation! :-] before complaining.

In GNU Emacs 20.3.6.1:

C-h k C-j
-------------------------------------------------------------
scwm-eval-last is an interactive compiled Lisp function in `scwm'.
(scwm-eval-last MB-P)

Evaluate the last sexp with `scwm-eval-sexp'.
-------------------------------------------------------------
mouse-2 on `scwm-eval-sexp':
-------------------------------------------------------------
scwm-eval-sexp is an interactive compiled Lisp function in `scwm'.
(scwm-eval-sexp SEXP MB-P)

Eval the sexp.  output to the current buffer or minibuffer.
If the prefix argument (the second argument when called from lisp) is
non-nil, the output goes to the minibuffer, otherwise it is inserted in
the current buffer.  When `scwm-eval-to-minibuffer' is non-nil, the
meaning of the second argument is reversed.
-------------------------------------------------------------

Therefore: to get your desired behavior, use C-u C-j or set
`scwm-eval-to-minibuffer' to T.

 >> In general, is there any reason why scwm-mode doesn't have the same
 >> bindings & behavior as the scheme mode from cmuscheme.el?

like what?

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
NY survival guide: when crossing a street, mind cars, not streetlights.

From owner-scwm-discuss@mit.edu  Thu Mar 18 10:03:26 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA00886
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 10:03:26 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA00883
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 10:03:25 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA12320; Thu, 18 Mar 99 09:59:51 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id QAA09273; Thu, 18 Mar 1999 16:59:49 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: Eli Barzilay <eli@CS.Cornell.EDU>, scwm-discuss@mit.edu
Subject: Re: scwm.el
References: <13933.43624.819069.356827@horus.cs.cornell.edu> <m3vhjm5i35.fsf@eho.eaglets.com> <13933.51191.494905.717287@horus.cs.cornell.edu> <qrryakvwxmt.fsf@elwha.cs.washington.edu> <m2sob35fa5.fsf@blinky.bfr.co.il> <m3k8we501f.fsf@eho.eaglets.com>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 18 Mar 1999 17:59:47 +0300
In-Reply-To: Sam Steingold's message of "18 Mar 1999 09:45:32 -0500"
Message-Id: <m2g1724zdo.fsf@blinky.bfr.co.il>
Lines: 56
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

 > Please **RTFM** [wow, it's been quite a while since I last used this
 > abbreviation! :-] before complaining.
 > 
 > In GNU Emacs 20.3.6.1:
 > 
 > C-h k C-j
 > -------------------------------------------------------------
 > scwm-eval-last is an interactive compiled Lisp function in `scwm'.
 > (scwm-eval-last MB-P)
 > 
 > Evaluate the last sexp with `scwm-eval-sexp'.
 > -------------------------------------------------------------
 > mouse-2 on `scwm-eval-sexp':
 > -------------------------------------------------------------
 > scwm-eval-sexp is an interactive compiled Lisp function in `scwm'.
 > (scwm-eval-sexp SEXP MB-P)
 > 
 > Eval the sexp.  output to the current buffer or minibuffer.
 > If the prefix argument (the second argument when called from lisp) is
 > non-nil, the output goes to the minibuffer, otherwise it is inserted in
 > the current buffer.  When `scwm-eval-to-minibuffer' is non-nil, the
 > meaning of the second argument is reversed.
 > -------------------------------------------------------------
 > 
 > Therefore: to get your desired behavior, use C-u C-j or set
 > `scwm-eval-to-minibuffer' to T.

Oops.  Missed it.  I was just looking at the output to C-h m.

 >  >> In general, is there any reason why scwm-mode doesn't have the same
 >  >> bindings & behavior as the scheme mode from cmuscheme.el?
 > 
 > like what?

Well, default cmuscheme.el bindings are:

(define-key scheme-mode-map "\M-\C-x" 'scheme-send-definition);gnu convention
(define-key scheme-mode-map "\C-x\C-e" 'scheme-send-last-sexp);gnu convention
(define-key scheme-mode-map "\C-c\C-e" 'scheme-send-definition)
(define-key scheme-mode-map "\C-c\M-e" 'scheme-send-definition-and-go)
(define-key scheme-mode-map "\C-c\C-r" 'scheme-send-region)
(define-key scheme-mode-map "\C-c\M-r" 'scheme-send-region-and-go)
(define-key scheme-mode-map "\C-c\M-c" 'scheme-compile-definition)
(define-key scheme-mode-map "\C-c\C-c" 'scheme-compile-definition-and-go)
(define-key scheme-mode-map "\C-c\C-z" 'switch-to-scheme)
(define-key scheme-mode-map "\C-c\C-l" 'scheme-load-file)
(define-key scheme-mode-map "\C-c\C-k" 'scheme-compile-file) ;k for "kompile"

Shouldn't scwm-mode do the same?

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Thu Mar 18 11:19:47 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA01404
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 11:19:47 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA01401
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 11:19:46 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA07376; Thu, 18 Mar 99 11:16:12 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id LAA11414;
	Thu, 18 Mar 1999 11:06:06 -0500 (EST)
Received: from viewlogic.com (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id LAA17599;
	Thu, 18 Mar 1999 11:16:11 -0500 (EST)
Message-Id: <36F12633.2B6BC56B@viewlogic.com>
Date: Thu, 18 Mar 1999 11:13:39 -0500
From: Maciej Stachowiak <mstachow@viewlogic.com>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: smithd@bellhow.com
Cc: scwm-discuss@mit.edu
Subject: Re: Much improved Scwm Web Page
References: <qrrvhfztabg.fsf@elwha.cs.washington.edu> <36F10A40.96BFCA58@bellhow.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Dale P. Smith wrote:
> 
> Greg Badros wrote:
> >
> > I made some substantial revisions to the Scwm web page:
> >
> > http://vicarious-existence.mit.edu/scwm/
> 
> Fantastic!  Awesome!  Wonderful!
> 

I agree, I really like all the improvements.

I'm taking some much-needed vacation days soon, so I 'll take
care of fixing the mail archive and adding a bug tracker (and catching
up on my mail backlog, sigh).

Here's some bug trackers I know of that have a web interface. Does anyone
particularly reccomend any of these?

* Jitterbug (used by Samba and also fvwm these days with some success)

* Bugzilla (used by mozilla and also Red Hat for the rawhide releases)

* The Debian Bug Tracking system (used by Debian and Gnome)

* GNATS (Used for a lot of GNU stuff, but I'm disinclined to use this, 
as there is no web interface out of the box, and it was a pain to
set up at all last time I tried).

As far as mailing list searchability goes, can anyone reccomend a
better html indexer than hypermail that would support this?

 - Maciej

From owner-scwm-discuss@mit.edu  Thu Mar 18 11:19:58 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA01409
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 11:19:58 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA01406
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 11:19:57 -0500
Received: from austin.cs.unc.edu by MIT.EDU with SMTP
	id AA09021; Thu, 18 Mar 99 11:17:09 EST
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id LAA24738;
	Thu, 18 Mar 1999 11:16:22 -0500 (EST)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id LAA01471;
	Thu, 18 Mar 1999 11:16:16 -0500 (EST)
Date: Thu, 18 Mar 1999 11:16:16 -0500 (EST)
From: Stephen Tell <tell@cs.unc.edu>
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: window focus at startup
In-Reply-To: <qrriubzv40l.fsf@elwha.cs.washington.edu>
Message-Id: <Pine.GHP.4.10.9903181101540.749-100000@rukbat.cs.unc.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 17 Mar 1999, Greg Badros wrote:

> Maybe try using the startup-hook:
> 
> (add-hook! startup-hook (lambda () (focus (current-window-with-pointer))))

That one works, at least on one test each of restart and cold start.
 
> As is, there is still a race condition, but I could remove the
> CoerceEnterNotifyOnCurrentWindow call (scwm.c:1022) and have people use
> the above line instead (the call was added to work around the current
> window *not* getting the focus initially).

According to the comment at CoerceEnterNotifyOnCurrentWindow()
in events.c, it will only have this effect if the window is not
click-to-focus, so it probably isn't doing me any harm.
This behavior for CoerceEnterNotifyOnCurrentWindow() is probably the most
logicaly correct behavior, even though I find it a little less convenient.

What I'm after was briefly violating the click-to-focus paradigm,
so making this a special case is probably OK.
 
> BTW, I'd be curious to know if it really was
> `current-window-with-pointer' that prompted you for a window -- I can't
> see how that's possible... perhaps you used `get-window' instead?

I just tried again and confirmed it.  

With (focus (current-window-with-pointer)) in .scwmrc, I get the dot
cursor prompt, and then when I click, the startup finishes but the window
where I clicked is still not current.  I see a message "scwm: invalid
interaction" in the file logging scwm's stdout/stderr that appears
to have come from this peculiar exchange.

Steve

-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@mit.edu  Thu Mar 18 11:33:46 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA01584
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 11:33:46 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA01581
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 11:33:45 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA13965; Thu, 18 Mar 99 11:30:57 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id SAA09812; Thu, 18 Mar 1999 18:30:11 +0200
To: scwm-discuss@mit.edu
Subject: Re: scwm.el
References: <13933.43624.819069.356827@horus.cs.cornell.edu> <m3vhjm5i35.fsf@eho.eaglets.com> <13933.51191.494905.717287@horus.cs.cornell.edu> <qrryakvwxmt.fsf@elwha.cs.washington.edu> <m2sob35fa5.fsf@blinky.bfr.co.il> <m3k8we501f.fsf@eho.eaglets.com>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 18 Mar 1999 19:30:10 +0300
In-Reply-To: Sam Steingold's message of "18 Mar 1999 09:45:32 -0500"
Message-Id: <m290curca4.fsf@blinky.bfr.co.il>
Lines: 28
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Sam Steingold <sds@goems.com> writes:

 >  >> LFD runs scwm-eval-last.  This fcn inserts the resuts of running the
 >  >> expression in the buffer.  I can't imagine anyone finding this to be
 >  >> convenient.  If I'm writing & executing scwm code from an scwm-mode
 >  >> buffer, I don't want the return values written to the buffer.  I
 >  >> think the older behavior of writing the result in the minibuffer was
 >  >> far superior.
 > 
 > Please **RTFM** [wow, it's been quite a while since I last used this
 > abbreviation! :-] before complaining.
 > 
 > In GNU Emacs 20.3.6.1:

<docs for scwm-eval-last vs scwm-eval-sexp snipped>

 > Therefore: to get your desired behavior, use C-u C-j or set
 > `scwm-eval-to-minibuffer' to T.


Well, actually, my point is that the default kbd bindings should be
more reasonable.  I realize I can always fix it one way or another...

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Thu Mar 18 15:54:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA02975
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 15:54:59 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA02972
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 15:54:58 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA13187; Thu, 18 Mar 99 15:52:08 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA13371; Thu, 18 Mar 1999 12:51:21 -0800 (PST)
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: window focus at startup
References: <Pine.GHP.4.10.9903181101540.749-100000@rukbat.cs.unc.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Mar 1999 12:51:20 -0800
In-Reply-To: Stephen Tell's message of "Thu, 18 Mar 1999 11:16:16 -0500 (EST)"
Message-Id: <qrrlnguttbr.fsf@elwha.cs.washington.edu>
Lines: 56
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> > (add-hook! startup-hook (lambda () (focus (current-window-with-pointer))))
> 
> That one works, at least on one test each of restart and cold start.

Great!

> > As is, there is still a race condition, but I could remove the
> > CoerceEnterNotifyOnCurrentWindow call (scwm.c:1022) and have people use
> > the above line instead (the call was added to work around the current
> > window *not* getting the focus initially).
> 
> According to the comment at CoerceEnterNotifyOnCurrentWindow()
> in events.c, it will only have this effect if the window is not
> click-to-focus, so it probably isn't doing me any harm.
> This behavior for CoerceEnterNotifyOnCurrentWindow() is probably the most
> logicaly correct behavior, even though I find it a little less convenient.
> 
> What I'm after was briefly violating the click-to-focus paradigm,
> so making this a special case is probably OK.

Sounds reasonable.  I didn't want to make the change anyway, and it is
still the case that the window should get the enter notify event. 

>  
> > BTW, I'd be curious to know if it really was
> > `current-window-with-pointer' that prompted you for a window -- I can't
> > see how that's possible... perhaps you used `get-window' instead?
> 
> I just tried again and confirmed it.  
> 
> With (focus (current-window-with-pointer)) in .scwmrc, I get the dot
> cursor prompt, and then when I click, the startup finishes but the window
> where I clicked is still not current.  I see a message "scwm: invalid
> interaction" in the file logging scwm's stdout/stderr that appears
> to have come from this peculiar exchange.

I see what's happening, I think.  (current-window-with-pointer) *is*
just returning #f and not prompting you, but then `focus' called with a
single arg, #f, prompts for a window (it uses our VALIDATE macro which
is the convention we use for having a win argument default to the
window-context or a prompt).

Glad we resolved that, or I would've been really confused.

Let me know if you observe any problems with our fix.  Perhaps you could 
enter it in the autofaq?  (Linked to from our fancy new home page:

http://vicarious-existence.mit.edu/scwm/

)


Thanks,
Greg

From owner-scwm-discuss@mit.edu  Thu Mar 18 16:23:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA03233
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 16:23:42 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA03229
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 16:23:06 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA17421; Thu, 18 Mar 99 16:19:24 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA13402; Thu, 18 Mar 1999 13:19:17 -0800 (PST)
To: Samuel Hocevar <sammy@sam.via.ecp.fr>
Cc: scwm-discuss@mit.edu
Subject: Re: Debian Linux users?
References: <qrr3e33usan.fsf@elwha.cs.washington.edu> <19990318160410.H15615@via.ecp.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Mar 1999 13:19:16 -0800
In-Reply-To: Samuel Hocevar's message of "Thu, 18 Mar 1999 16:04:10 +0100"
Message-Id: <qrrg172ts17.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Samuel Hocevar <sammy@sam.via.ecp.fr> writes:

> On Thu, Mar 18, 1999, Greg Badros wrote:
> > Anybody out there use Debian Linux?  The Scwm deb package distributed
> > with the latest Debian is 0.5!  Ugh!  We need to make this more current
> > and soon!  Anybody that can help, *please* say so...
> 
> Actually the latest Scwm package is 0.8a-8.1, since the stable release
> of debian is now 2.1. The outstanding bugs can be found here:

Ah..., that's better, but we really need a .9 or a dev-snapshot release as .8
had more bugs and less features (big surprise).  I just added links to
the .deb and the source, along with the bug list.  (Committing web page
changes shortly).

Thanks for the update!

Greg

From owner-scwm-discuss@mit.edu  Thu Mar 18 16:39:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA03429
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 16:39:17 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA03426
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 16:39:16 -0500
Received: from smtp06.nwnexus.com by MIT.EDU with SMTP
	id AA22745; Thu, 18 Mar 99 16:35:38 EST
Received: from pulsar.halcyon.com (ken@coho.halcyon.com [198.137.231.21])
	by smtp06.nwnexus.com (8.8.8/8.8.8) with ESMTP id NAA07547
	for <scwm-discuss@mit.edu>; Thu, 18 Mar 1999 13:35:32 -0800 (PST)
Received: from ken@localhost by pulsar.halcyon.com id <276583-384>; Thu, 18 Mar 1999 13:22:16 -0800
To: scwm-discuss@mit.edu
Subject: z
Date: Thu, 18 Mar 1999 13:22:06 -0800
From: Ken Pizzini <ken@halcyon.com>
Message-Id: <19990318212216Z276583-384+202@pulsar.halcyon.com>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

x

		--Ken Pizzini

From owner-scwm-discuss@mit.edu  Thu Mar 18 16:39:25 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA03434
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 16:39:25 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA03431
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 16:39:24 -0500
Received: from smtp06.nwnexus.com by MIT.EDU with SMTP
	id AA27747; Thu, 18 Mar 99 16:36:29 EST
Received: from pulsar.halcyon.com (ken@coho.halcyon.com [198.137.231.21])
	by smtp06.nwnexus.com (8.8.8/8.8.8) with ESMTP id NAA06997
	for <scwm-discuss@mit.edu>; Thu, 18 Mar 1999 13:35:33 -0800 (PST)
Received: from ken@localhost by pulsar.halcyon.com id <276584-384>; Thu, 18 Mar 1999 13:35:01 -0800
To: scwm-discuss@mit.edu
Subject: how to warp to new window?
Date: Thu, 18 Mar 1999 13:34:48 -0800
From: Ken Pizzini <ken@halcyon.com>
Message-Id: <19990318213501Z276584-384+203@pulsar.halcyon.com>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Currently I have a keyboard shortcut:
  (bind-key 'all  "H-F12"   (exe "xterm"))
and I also have
  (window-style "XTerm" #:focus 'sloppy ;...other stuff...)

One annoying thing is that when I H-F12 this new window sometimes
comes up under my cursor (and thus has focus), and sometimes does
not (and hence does not have focus).  I occasionally forget to look
at the screen to check where my focus is, and so I would prefer to
have the behavior be consisitent; I would prefer to have the cursor
(and hence focus) warp to the newly created window, but I am at
a loss as to how to identify this window.  The system/execute/exe
commands do not return (nor even have reason to know) the window
id of any window(s) that they may create.  Without reading the C
source I'm not sure what guarantees I have about what order the
windows returned by list-windows are in, nor whether the new window
is going to be hit by next-window (or prev-window).  (I am willing
to make the assumption that there is no other window creation
activity for the duration between the exe and the warp (inclusive).)

Suggestions?

		--Ken Pizzini

From owner-scwm-discuss@mit.edu  Thu Mar 18 16:40:15 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA03455
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 16:40:15 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA03446
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 16:39:39 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA27878; Thu, 18 Mar 99 16:36:49 EST
Received: from Central.Sun.COM ([129.147.70.10])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with SMTP id NAA16200
	for <scwm-discuss@mit.edu>; Thu, 18 Mar 1999 13:36:05 -0800 (PST)
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id OAA12233; Thu, 18 Mar 1999 14:36:00 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1b+Sun/8.9.1) id OAA28855;
	Thu, 18 Mar 1999 14:36:01 -0700 (MST)
To: scwm-discuss@mit.edu
Subject: build problem: libtool --no-reexec
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Sam Falkner <samf@central.sun.com>
Date: 18 Mar 1999 14:36:00 -0700
Message-Id: <ii7u2vio4zj.fsf@central.sun.com>
Lines: 27
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I'm trying to build the latest snapshot on Solaris, and ./configure is 
dying thusly:

    [ . . . ]
    checking for _ prefix in compiled symbols... no
    checking whether ln -s works... yes
    ltconfig: unrecognized option `--no-reexec'
    Try `ltconfig --help' for more information.
    configure: error: libtool configure failed

I've `fixed' this before, but I can't remember what I did.  I might
have just edited configure to drop `--no-reexec', but I'm not sure.

I have libtool 1.2, and I replace ltmain.sh and ltconfig in the
snapshot directory with symlinks to the ones that are in my 1.2
distribution.

I've never had this problem building an `official' release, e.g. 0.9.

So, is this a bug in the build environment, or am I doing something
wrong?  I'm curious that it's calling an unsupported option, when I
have (I think) the latest libtool.

Anyway, let me know what to do, or if there's any info I can send
about my environment.  Thanks!

- Sam

From owner-scwm-discuss@mit.edu  Thu Mar 18 16:42:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA03527
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 16:42:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA03524
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 16:42:08 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA28704; Thu, 18 Mar 99 16:39:18 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA13416; Thu, 18 Mar 1999 13:38:30 -0800 (PST)
To: smithd@bellhow.com
Cc: scwm-discuss@mit.edu
Subject: Re: Much improved Scwm Web Page
References: <qrrvhfztabg.fsf@elwha.cs.washington.edu> <36F10A40.96BFCA58@bellhow.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Mar 1999 13:38:30 -0800
In-Reply-To: "Dale P. Smith"'s message of "Thu, 18 Mar 1999 09:14:24 -0500"
Message-Id: <qrr677ytr55.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

"Dale P. Smith" <smithd@bellhow.com> writes:

> Greg Badros wrote:
> > 
> > I made some substantial revisions to the Scwm web page:
> > 
> > http://vicarious-existence.mit.edu/scwm/
> 
> Fantastic!  Awesome!  Wonderful!

Geez, you sound a little bit wishy-washy about this. :-)

Thanks for the vote of approval... I'm glad it works for others, too.  I 
designed it with my desires in mind, to make it a useful reference for
me, so it was really easy to do.  It will be a little bit more work
keeping up to date, but that's why some of the links use cvsweb to just
grab plain text files from the package itself-- those get updated
reasonably frequently.

Comments and suggestions for improvements are always welcome.  One thing 
that might be worth doing is splitting the page up, but I didn't think
that made sense w/o a whole-site searching tool.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Thu Mar 18 16:51:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA03725
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 16:51:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA03721
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 16:51:06 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA26563; Thu, 18 Mar 99 16:47:28 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA13423; Thu, 18 Mar 1999 13:44:08 -0800 (PST)
To: Maciej Stachowiak <mstachow@viewlogic.com>
Cc: smithd@bellhow.com, scwm-discuss@mit.edu
Subject: Re: Much improved Scwm Web Page
References: <qrrvhfztabg.fsf@elwha.cs.washington.edu> <36F10A40.96BFCA58@bellhow.com> <36F12633.2B6BC56B@viewlogic.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Mar 1999 13:44:08 -0800
In-Reply-To: Maciej Stachowiak's message of "Thu, 18 Mar 1999 11:13:39 -0500"
Message-Id: <qrr3e32tqvr.fsf@elwha.cs.washington.edu>
Lines: 55
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@viewlogic.com> writes:

> Dale P. Smith wrote:
> > 
> > Greg Badros wrote:
> > >
> > > I made some substantial revisions to the Scwm web page:
> > >
> > > http://vicarious-existence.mit.edu/scwm/
> > 
> > Fantastic!  Awesome!  Wonderful!
> > 
> 
> I agree, I really like all the improvements.

Good!

> I'm taking some much-needed vacation days soon, so I 'll take
> care of fixing the mail archive and adding a bug tracker (and catching
> up on my mail backlog, sigh).
> 
> Here's some bug trackers I know of that have a web interface. Does anyone
> particularly reccomend any of these?
> 
> * Jitterbug (used by Samba and also fvwm these days with some success)
> 
> * Bugzilla (used by mozilla and also Red Hat for the rawhide releases)
> 
> * The Debian Bug Tracking system (used by Debian and Gnome)
> 
> * GNATS (Used for a lot of GNU stuff, but I'm disinclined to use this, 
> as there is no web interface out of the box, and it was a pain to
> set up at all last time I tried).

I vote for Bugzilla;  RedHat's support of it means it'll continue to
improve, and mozilla's use of it means it must be getting lots of
testing! :-)

> As far as mailing list searchability goes, can anyone reccomend a
> better html indexer than hypermail that would support this?

http://www.htdig.org/

or

http://donkey.CS.Arizona.EDU/webglimpse/

are the two I've looked at before;  they're not just for mail, but
should work fine with the mail.

Also, regarding the mail archives, can we have the archive split not
only by year but by month -- it's pretty painful to load all of the 1998 
messages from Australia!

Greg

From owner-scwm-discuss@mit.edu  Thu Mar 18 17:12:30 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA04132
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 17:12:30 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA04129
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 17:12:29 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA08529; Thu, 18 Mar 99 17:09:38 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA13464; Thu, 18 Mar 1999 14:08:52 -0800 (PST)
To: Ken Pizzini <ken@halcyon.com>
Cc: scwm-discuss@mit.edu
Subject: Re: how to warp to new window?
References: <19990318213501Z276584-384+203@pulsar.halcyon.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Mar 1999 14:08:51 -0800
In-Reply-To: Ken Pizzini's message of "Thu, 18 Mar 1999 13:34:48 -0800"
Message-Id: <qrrvhfysb64.fsf@elwha.cs.washington.edu>
Lines: 39
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Ken Pizzini <ken@halcyon.com> writes:

> Currently I have a keyboard shortcut:
>   (bind-key 'all  "H-F12"   (exe "xterm"))
> and I also have
>   (window-style "XTerm" #:focus 'sloppy ;...other stuff...)
> 
> One annoying thing is that when I H-F12 this new window sometimes
> comes up under my cursor (and thus has focus), and sometimes does
> not (and hence does not have focus).  I occasionally forget to look
> at the screen to check where my focus is, and so I would prefer to
> have the behavior be consisitent; I would prefer to have the cursor
> (and hence focus) warp to the newly created window, but I am at
> a loss as to how to identify this window.  The system/execute/exe
> commands do not return (nor even have reason to know) the window
> id of any window(s) that they may create.  Without reading the C
> source I'm not sure what guarantees I have about what order the
> windows returned by list-windows are in, nor whether the new window
> is going to be hit by next-window (or prev-window).  (I am willing
> to make the assumption that there is no other window creation
> activity for the duration between the exe and the warp (inclusive).)
> 
> Suggestions?

Try using `after-new-window-hook'.   Something like

(use-modules (ice-9 regex))
(add-hook! after-new-window-hook (lambda (win) (if 
                                                 (string-match "XTerm" (window-class win))
                                                  (focus win))))

might do it.  (You could also do a warp-to-window before the focus if
you want that to hapen, too).

Incidentally, I'm thinking add-hook! should return the procedure it
added, so that lambda's can be easily removed later by just saving the
return value of add-hook!.  Thoughts?

Greg

From owner-scwm-discuss@mit.edu  Thu Mar 18 17:50:28 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA04476
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 17:50:28 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA04473
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 17:50:27 -0500
Received: from smtp03.nwnexus.com by MIT.EDU with SMTP
	id AA19230; Thu, 18 Mar 99 17:47:33 EST
Received: from pulsar.halcyon.com (ken@coho.halcyon.com [198.137.231.21])
	by smtp03.nwnexus.com (8.8.8/8.8.8) with ESMTP id OAA18272
	for <scwm-discuss@mit.edu>; Thu, 18 Mar 1999 14:46:28 -0800 (PST)
Received: from ken@localhost by pulsar.halcyon.com id <276583-384>; Thu, 18 Mar 1999 14:45:50 -0800
To: scwm-discuss@mit.edu
Subject: Re: how to warp to new window?
References: <19990318213501Z276584-384+203@pulsar.halcyon.com> <qrrvhfysb64.fsf@elwha.cs.washington.edu>
Date: Thu, 18 Mar 1999 14:45:41 -0800
From: Ken Pizzini <ken@halcyon.com>
Message-Id: <19990318224550Z276583-384+205@pulsar.halcyon.com>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 18 Mar 1999 14:08:51 -0800, Greg Badros <gjb@cs.washington.edu> wrote:
>Try using `after-new-window-hook'.   Something like
>
>(use-modules (ice-9 regex))
>(add-hook! after-new-window-hook (lambda (win) (if 
>            (string-match "XTerm" (window-class win))
>                                                  (focus win))))
>
>might do it.  (You could also do a warp-to-window before the focus if
>you want that to hapen, too).

Thanks, that's a good start.  I'll add a state variable to determine
if this new XTerm is due to my H-F12 (where I do want to do this)
or due to some other invocation (such as selecting xterm off of an
application menu, where I want the normal behavior).  (I can live
with the resulting race condition, but I'm quite happy to hear
any suggestions about how to avoid a race.)

I really need to adopt my way of thinking to be on the lookout
for appropriate hooks, as this is a very powerful mechanism...


>Incidentally, I'm thinking add-hook! should return the procedure it
>added, so that lambda's can be easily removed later by just saving the
>return value of add-hook!.  Thoughts?

I'm not seeing a downside --- the return value can be ignored
if it isn't needed.

		--Ken Pizzini

P.S. sorry to all about that earlier message with subject "z", body "x"
(or was it the other way 'round?) --- I had a mind-o with my mailer
when I changed my mind about posting a message.

From owner-scwm-discuss@mit.edu  Thu Mar 18 17:56:19 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA04635
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 17:56:19 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA04632
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 17:56:18 -0500
Received: from zothommog.evcom.net by MIT.EDU with SMTP
	id AA15522; Thu, 18 Mar 99 17:52:40 EST
Received: from localhost (morpheus@localhost)
	by zothommog.evcom.net (8.9.3/8.9.3/Debian/GNU) with SMTP id RAA20839;
	Thu, 18 Mar 1999 17:52:32 -0500
Date: Thu, 18 Mar 1999 17:52:32 -0500 (EST)
From: Morpheus <morpheus@evcom.net>
To: Greg Badros <gjb@cs.washington.edu>
Cc: xteam@x11.org, scwm-discuss@mit.edu
Subject: Re: Scwm WM
In-Reply-To: <qrryakvv6z3.fsf@elwha.cs.washington.edu>
Message-Id: <Pine.LNX.3.96.990318175106.20721B-100000@zothommog.evcom.net>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 17 Mar 1999, Greg Badros wrote:

> Thanks for your great page of X11 window managers.
> 
> Here is how Scwm compares via your list of categories.  Since Scwm is
> unquestionably the most configurable WM, it'd be great if you
> could add it to the main comparison page.

Ok, I went ahead and added SCWM to the comparisons list.  It should all be
in there like you said.  If anything needs to be changed, let me know...

> You might consider adding:
> 
> Turing Complete extension language   YES!
> Module support        Yes (fvwm2, guile-gtk)

Thanks for the ideas.  We're currently in the process of completely
re-vamping the way we do Window Manager information, so it will definitely
come into play.

Thanks for the updates.

Morpheus


From owner-scwm-discuss@mit.edu  Thu Mar 18 18:04:26 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA04807
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 18:04:26 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA04804
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 18:04:25 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA17662; Thu, 18 Mar 99 18:00:47 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA13547; Thu, 18 Mar 1999 15:00:46 -0800 (PST)
To: Morpheus <morpheus@evcom.net>
Cc: xteam@x11.org, scwm-discuss@mit.edu
Subject: Re: Scwm WM
References: <Pine.LNX.3.96.990318175106.20721B-100000@zothommog.evcom.net>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Mar 1999 15:00:46 -0800
In-Reply-To: Morpheus's message of "Thu, 18 Mar 1999 17:52:32 -0500 (EST)"
Message-Id: <qrrlngus8rl.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Morpheus <morpheus@evcom.net> writes:

> On 17 Mar 1999, Greg Badros wrote:
> 
> > Thanks for your great page of X11 window managers.
> > 
> > Here is how Scwm compares via your list of categories.  Since Scwm is
> > unquestionably the most configurable WM, it'd be great if you
> > could add it to the main comparison page.
> 
> Ok, I went ahead and added SCWM to the comparisons list.  It should all be
> in there like you said.  If anything needs to be changed, let me know...
> 
> > You might consider adding:
> > 
> > Turing Complete extension language   YES!
> > Module support        Yes (fvwm2, guile-gtk)
> 
> Thanks for the ideas.  We're currently in the process of completely
> re-vamping the way we do Window Manager information, so it will definitely
> come into play.
> 
> Thanks for the updates.


Great, thanks!  You might want to consider looking at the feature lists
of all the wms, drop all the features that every wm supports, and then
list the remaining features (after some clumping of relatedness,
perhaps).  E.g., Scwm also permits styles to be specified on a
per-window basis -- see our screen shots for what this means... it's
very impressive and illustrates just *how* configurable we really are.

Thanks again, and great work on the site!

Greg

From owner-scwm-discuss@mit.edu  Thu Mar 18 18:08:19 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA04894
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 18:08:19 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA04891
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 18:08:18 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA24195; Thu, 18 Mar 99 18:05:28 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA13550; Thu, 18 Mar 1999 15:04:41 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Window group feature
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Mar 1999 15:04:41 -0800
Message-Id: <qrriubys8l2.fsf@elwha.cs.washington.edu>
Lines: 17
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Ok,  who wants to write a window-group feature for Scwm?  That's the
only bullet we're missing on the X11.org page (though it's interesting
to see how my qualified remarks mapped to "*"s or "A"s on their chart),
and can be done completely in scheme.  Perhaps someone could outline a
proposal?  I think this'll be a great feature to have, but usability is
key -- it'll likely best be done with a guile-gtk interface of some
kind.

Any takers?

The big other thing we need is better GUI configuration-- I think it'd
be interesting to try to take window-maker's configuration utility and
make it work for Scwm, though I doubt that that's the long-term best
approach.  (Certainly, window-maker's config screens could serve as an
example).

Greg

From owner-scwm-discuss@mit.edu  Thu Mar 18 18:08:36 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA04902
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 18:08:36 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA04898
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 18:08:35 -0500
Received: from zothommog.evcom.net by MIT.EDU with SMTP
	id AA24245; Thu, 18 Mar 99 18:05:45 EST
Received: from localhost (morpheus@localhost)
	by zothommog.evcom.net (8.9.3/8.9.3/Debian/GNU) with SMTP id SAA21888;
	Thu, 18 Mar 1999 18:04:50 -0500
Date: Thu, 18 Mar 1999 18:04:50 -0500 (EST)
From: Morpheus <morpheus@evcom.net>
To: Greg Badros <gjb@cs.washington.edu>
Cc: xteam@x11.org, scwm-discuss@mit.edu
Subject: Re: Scwm WM
In-Reply-To: <qrrlngus8rl.fsf@elwha.cs.washington.edu>
Message-Id: <Pine.LNX.3.96.990318180250.20721F-100000@zothommog.evcom.net>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 18 Mar 1999, Greg Badros wrote:

> Great, thanks!  You might want to consider looking at the feature lists
> of all the wms, drop all the features that every wm supports, and then
> list the remaining features (after some clumping of relatedness,
> perhaps).  E.g., Scwm also permits styles to be specified on a
> per-window basis -- see our screen shots for what this means... it's
> very impressive and illustrates just *how* configurable we really are.

Well, as I mentioned before, we're kind of re-designing a lot of the
different parts of the site at the moment, so we'll definitely take your
ideas into consideration when re-doing everything.

Thanks for the quick e-mails btw, you don't find that alot ;)

Morpheus


From owner-scwm-discuss@mit.edu  Thu Mar 18 18:33:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA05259
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 18:33:29 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA05256
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 18:33:28 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA24257; Thu, 18 Mar 99 18:29:50 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA13570; Thu, 18 Mar 1999 15:29:49 -0800 (PST)
To: Ken Pizzini <ken@halcyon.com>
Cc: scwm-discuss@mit.edu
Subject: Re: how to warp to new window?
References: <19990318213501Z276584-384+203@pulsar.halcyon.com> <qrrvhfysb64.fsf@elwha.cs.washington.edu> <19990318224550Z276583-384+205@pulsar.halcyon.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Mar 1999 15:29:49 -0800
In-Reply-To: Ken Pizzini's message of "Thu, 18 Mar 1999 14:45:41 -0800"
Message-Id: <qrremmms7f6.fsf@elwha.cs.washington.edu>
Lines: 49
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Ken Pizzini <ken@halcyon.com> writes:

> >(use-modules (ice-9 regex))
> >(add-hook! after-new-window-hook (lambda (win) (if 
> >            (string-match "XTerm" (window-class win))
> >                                                  (focus win))))
> >
> >might do it.  (You could also do a warp-to-window before the focus if
> >you want that to hapen, too).
> 
> Thanks, that's a good start.  I'll add a state variable to determine
> if this new XTerm is due to my H-F12 (where I do want to do this)
> or due to some other invocation (such as selecting xterm off of an
> application menu, where I want the normal behavior).  (I can live
> with the resulting race condition, but I'm quite happy to hear
> any suggestions about how to avoid a race.)

Well, you could make H-F12 start an xterm with argument "-name
hf12xterm" and then only do the focus if xf12xterm is the window
resource name.

You'll need to be sure any name-based (i.e., not class based) X resource
configuration for xterm gets duplicated for hf12xterm.  Note, though,
that this also permits you to specify different resources for those
xterms (i.e., it's a feature, not a bug!).  I, for example, have a menu
option that starts a "pinexterm" and have the background color and other 
keybindings (X keysym to ascii) different for pine (e.g., I want
PageUp/Down to DTRT in pine).

> 
> I really need to adopt my way of thinking to be on the lookout
> for appropriate hooks, as this is a very powerful mechanism...

Yep.... I suggest familiarizing yourself with the list of hooks that we
already provide, and make suggestions about those that we should provide.

> >Incidentally, I'm thinking add-hook! should return the procedure it
> >added, so that lambda's can be easily removed later by just saving the
> >return value of add-hook!.  Thoughts?
> 
> I'm not seeing a downside --- the return value can be ignored
> if it isn't needed.

Well, it's just that hooks are something that are supported by Guile,
and have changed recently, so I don't understand all the issues enough.
If Scwm stood alone, there's definitely no downside.  Fortunately, we're 
instead standing on the shoulders of Guile (giant or not, you be the judge).

Greg

From owner-scwm-discuss@mit.edu  Thu Mar 18 20:56:21 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA06117
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 20:56:21 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA06114
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 20:56:19 -0500
Received: from kodis.jaguNET.com by MIT.EDU with SMTP
	id AA24618; Thu, 18 Mar 99 20:53:26 EST
Received: (from kodis@localhost)
	by kodis.jagunet.com (8.8.7/8.8.7) id UAA00746
	for scwm-discuss@mit.edu; Thu, 18 Mar 1999 20:52:40 -0500
Date: Thu, 18 Mar 1999 20:52:39 -0500
From: John Kodis <kodis@jagunet.com>
To: scwm-discuss@mit.edu
Subject: Re: Scwm-1.0 release to do list
Message-Id: <19990318205239.A736@kodis.jagunet.com>
Reply-To: kodis@jagunet.com
Mail-Followup-To: scwm-discuss@mit.edu
References: <qrrvhfzwvwi.fsf@elwha.cs.washington.edu> <19990317203720.B26151@kodis.jagunet.com> <qrr4snjwow2.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95i
In-Reply-To: <qrr4snjwow2.fsf@elwha.cs.washington.edu>; from Greg Badros on Wed, Mar 17, 1999 at 05:46:37PM -0800
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Wed, Mar 17, 1999 at 05:46:37PM -0800, Greg Badros wrote:

> I think 'border and 'corners are synonyms for 'sidebar and 'frame,
> respectively.  Maybe we should use just 'frame-sides and
> 'frame-corners. 

Yes, I like 'frame-sides and 'frame-corners -- it's obvious what they
refer to.  I can't recall seeing mention of 'border or 'corner.

> P.S. I cc'd scwm-discuss, please let me know if you'd rather I'd not've.

No problem.  BTW, let me join the chorus in praising the web page
changes -- both the SCWM pages, and the X11.org page, with its nearly
solid column of "Yeah, we've got that feature" asterisks in the SCWM
column, are a joy to behold!

-- John Kodis.

From owner-scwm-discuss@mit.edu  Thu Mar 18 22:42:35 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA06999
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 22:42:35 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA06996
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 22:42:34 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA19001; Thu, 18 Mar 99 22:39:41 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id TAA13815; Thu, 18 Mar 1999 19:38:52 -0800 (PST)
To: kodis@jagunet.com
Cc: scwm-discuss@mit.edu
Subject: Re: Scwm-1.0 release to do list
References: <qrrvhfzwvwi.fsf@elwha.cs.washington.edu> <19990317203720.B26151@kodis.jagunet.com> <qrr4snjwow2.fsf@elwha.cs.washington.edu> <19990318205239.A736@kodis.jagunet.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Mar 1999 19:38:51 -0800
In-Reply-To: John Kodis's message of "Thu, 18 Mar 1999 20:52:39 -0500"
Message-Id: <qrroglqqhbo.fsf@elwha.cs.washington.edu>
Lines: 32
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

John Kodis <kodis@jagunet.com> writes:

> On Wed, Mar 17, 1999 at 05:46:37PM -0800, Greg Badros wrote:
> 
> > I think 'border and 'corners are synonyms for 'sidebar and 'frame,
> > respectively.  Maybe we should use just 'frame-sides and
> > 'frame-corners. 
> 
> Yes, I like 'frame-sides and 'frame-corners -- it's obvious what they
> refer to.  I can't recall seeing mention of 'border or 'corner.

You didn't look at the code! :-) :-)  I switched the 'border and 'corner 
aliases to 'frame-corners and 'frame-sides, respectively (you weren't
the only one who didn't know they were there-- none of the
sample.scwmrc's were using those names).

> 
> > P.S. I cc'd scwm-discuss, please let me know if you'd rather I'd not've.
> 
> No problem.  BTW, let me join the chorus in praising the web page
> changes -- both the SCWM pages, and the X11.org page, with its nearly
> solid column of "Yeah, we've got that feature" asterisks in the SCWM
> column, are a joy to behold!

Yep, we just need the window group feature and some real GUI
configuration tools (as well as improved usability of guile-gtk, and
documentation improvements).

Glad you like the web changes... I should've done this a *long* time
ago!

Greg

From owner-scwm-discuss@mit.edu  Thu Mar 18 22:48:20 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA07066
	for scwm-discuss-outgoing; Thu, 18 Mar 1999 22:48:20 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA07063
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 18 Mar 1999 22:48:19 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA22510; Thu, 18 Mar 99 22:45:27 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id TAA13830; Thu, 18 Mar 1999 19:44:40 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Scwm Documentation Enhancements
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Mar 1999 19:44:40 -0800
Message-Id: <qrrlnguqh1z.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I just rearranged the Scwm documentation a bit.  See 

http://www.cs.washington.edu/homes/gjb/scwm-doc/index.htm

for the new version.  The big changes are:

o Re-ordered.  The procedure references are the last two sections; this
calls more attention to the concepts, hooks, and user variables sections 
(and makes even more apparent how much work these sections need!)

o Integrate the procedure docs with cvsweb -- from the doc page of a
procedure you can (now *reliably*) get at the source code where it was
defined, or see the CVS log for that file.

The documentation does need real work in making its content better, but
hopefully these changes will make the existing content more usable.

Greg

From owner-scwm-discuss@mit.edu  Fri Mar 19 02:00:16 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA08323
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 02:00:16 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA08320
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 02:00:14 -0500
Received: from smtp09.nwnexus.com by MIT.EDU with SMTP
	id AA02938; Fri, 19 Mar 99 01:57:19 EST
Received: from pulsar.halcyon.com (coho.halcyon.com [198.137.231.21])
	by smtp09.nwnexus.com (8.8.8/8.8.8) with ESMTP id WAA18443
	for <scwm-discuss@mit.edu>; Thu, 18 Mar 1999 22:56:32 -0800
Received: from ken@localhost by pulsar.halcyon.com id <276583-384>; Thu, 18 Mar 1999 22:56:03 -0800
To: scwm-discuss@mit.edu
Subject: Re: how to warp to new window?
In-Reply-To: <qrremmms7f6.fsf@elwha.cs.washington.edu>
Date: Thu, 18 Mar 1999 22:55:57 -0800
From: Ken Pizzini <ken@halcyon.com>
Message-Id: <19990319065603Z276583-384+214@pulsar.halcyon.com>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On the scwm mailing list, message <qrremmms7f6.fsf@elwha.cs.washington.edu>,
Greg Badros <gjb@cs.washington.edu> wrote:
>Well, you could make H-F12 start an xterm with argument "-name
>hf12xterm" and then only do the focus if xf12xterm is the window
>resource name.

Thanks.  For those who are interested, here's my results:

First, a pair of functions which might be suitable for flux.scm:
  ;; Is the specified point within the specified rectangle?
  ;; Each argument is a two-element list
  (define-public (point-in-box? point nw-corner xy-deltas)
    (let* ((px (car  point))
           (py (cadr point))
           (xmin (car  nw-corner))
           (ymin (cadr nw-corner))
           (xmax (+ xmin (car  xy-deltas)))
           (ymax (+ ymin (cadr xy-deltas))))
       (and (>= px xmin) (<= px xmax) (>= py ymin) (<= py ymax))))

  ;; Force the specified window to be on top, in focus,
  ;; and with the pointer positioned within its frame.
  ;; Do not move pointer if it is already in the window,
  ;; otherwise warp it to the same place that next-window
  ;; would.
  (define-public (force-window win)
    (raise-window win)
    (if (not
          (point-in-box?
            (pointer-position) (window-position win) (window-frame-size win)))
      (begin
        (warp-to-window win)
        (move-pointer (w%x 20 win) (w%y 20 win))))
    (focus win))


Next the hook that I added which makes use of this form:
  (add-hook! after-new-window-hook
    (lambda (win)
      (and (string-match "XTerm" (window-class win))
           (string=? "Xterm" (window-title win))
           (force-window win))))

And finally, my new H-F12 binding:
  (bind-key 'all  "H-F12"   (exe "xterm -name Xterm"))

		--Ken Pizzini

From owner-scwm-discuss@mit.edu  Fri Mar 19 02:58:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA08894
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 02:58:37 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA08891
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 02:58:35 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA08973; Fri, 19 Mar 99 02:55:41 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id XAA14068; Thu, 18 Mar 1999 23:54:55 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Scwm documentation tools
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Mar 1999 23:54:55 -0800
Message-Id: <qrrk8wdoqwg.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I finally tried Mark Galassi's docbook tools rpms for a trouble-free
install of Jade, etc. for managing the Scwm documentation, and they
worked great. 

The links to his RPMs are available off the web page, and they'll permit 
you to convert from scwm.sgml to html (and probably other formats).  The 
installation went very smoothly-- I just grabbed these six files:

docbook-3.0-8.i386.rpm      psgml-1.0.1-7.i386.rpm
jade-1.2.1-3.i386.rpm       sgml-common-0.1-2.i386.rpm
jadetex-2.3-2.i386.rpm      stylesheets-0.8-4.i386.rpm


stuck them in a directory, and did 

rpm -i *

moments later that completed and I added the following to my environment:

SGML_CATALOG_FILES=./catalog:/usr/lib/sgml/sgml-common.cat:\
/usr/lib/sgml/docbook.cat:/usr/lib/sgml/nwalsh-modular.cat:\
/usr/lib/sgml/dsssl.cat:/usr/lib/xemacs-20.4/etc/sgml/CATALOG; 
export SGML_CATALOG_FILES

(bourne shell syntax -- use setenv for tcsh)

and then the "make html" target works in the scwm/doc subdirectory.

Note that building the html from the 800+kb scwm.sgml source takes 15
minutes or so even on an otherwise unloaded pentium II/400.  There are
options to scwmdoc (that you can set in the Makefile, or Makefile.am) to 
generate only a fraction of scwm.sgml (see -F, -S, and -C options) so that
this is much faster while testing specific revisions.

Greg

From owner-scwm-discuss@mit.edu  Fri Mar 19 03:40:39 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA10131
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 03:40:39 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA10128
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 03:40:37 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA12160; Fri, 19 Mar 99 03:37:41 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id LAA15956; Fri, 19 Mar 1999 11:36:47 +0300
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Window group feature
References: <qrriubys8l2.fsf@elwha.cs.washington.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 19 Mar 1999 11:36:47 +0300
In-Reply-To: Greg Badros's message of "18 Mar 1999 15:04:41 -0800"
Message-Id: <m2yaktana8.fsf@blinky.bfr.co.il>
Lines: 34
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > Ok,  who wants to write a window-group feature for Scwm?  That's the
 > only bullet we're missing on the X11.org page (though it's interesting
 > to see how my qualified remarks mapped to "*"s or "A"s on their chart),
 > and can be done completely in scheme.

What exactly is a window-group feature?  If it means fcns that act on
sets of windows instead of individual windows, then what we need to do
is either say yes because we have (list-windows), lambda and map,
or we should change all fcns that take a window argument to also take
a list of windows & to act on all of them.  But the fact of the former
makes the latter a bloated waste.

Is something like this suficient:

(define (group-apply winlist fcn . additional-args)
   (map (lambda (w) (apply fcn w additional-args))
	winlist))

Then you do things like:

(group-apply (list-windows appropriate-params) move-by '(10 10))

or some such thing.

This'll work for fcns which take window args as their 1st arg, but I
don't think scwm is that uniform in fcn arg syntax, and the above
doesn't really add much.  Maybe a simple "yes" is sufficient.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Fri Mar 19 04:05:55 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA10350
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 04:05:55 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA10347
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 04:05:51 -0500
Received: from smtp4.erols.com by MIT.EDU with SMTP
	id AA12671; Fri, 19 Mar 99 04:02:00 EST
Received: from alum.mit.edu (209-122-233-25.s25.tnt5.sbo.ma.dialup.rcn.com [209.122.233.25])
	by smtp4.erols.com (8.8.8/smtp-v1) with ESMTP id EAA13976;
	Fri, 19 Mar 1999 04:01:56 -0500 (EST)
Message-Id: <36F1DFC3.BF37E0F9@alum.mit.edu>
Date: Fri, 19 Mar 1999 00:25:23 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: "Harvey J. Stein" <hjstein@bfr.co.il>
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
Subject: Re: Window group feature
References: <qrriubys8l2.fsf@elwha.cs.washington.edu> <m2yaktana8.fsf@blinky.bfr.co.il>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Harvey J. Stein wrote:
> 
> Greg Badros <gjb@cs.washington.edu> writes:
> 
>  > Ok,  who wants to write a window-group feature for Scwm?  That's the
>  > only bullet we're missing on the X11.org page (though it's interesting
>  > to see how my qualified remarks mapped to "*"s or "A"s on their chart),
>  > and can be done completely in scheme.
> 
> What exactly is a window-group feature? 

My interpretation is that this refers to the ICCCM window group/grou-leader
feature, where (a) certain hints on the group leader window should
applie to all windows in that group (I think), and some unspecified set
of window operations should act on the windows together.

Primarily, in practice this means windows in a group all iconify into one
icon, and if the group leader gets iconified, all windows in it's group
iconif too; and window groups are in some sense placed "together". Scwm
will already place windows in the same group on the same desk by 
default. So the main thing I guess would be to either hack `iconify'
and `deiconify' appropriately and/or add an `iconify-group'.

 - Maciej

From owner-scwm-discuss@mit.edu  Fri Mar 19 04:09:04 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA10395
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 04:09:04 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA10392
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 04:09:03 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AB12963; Fri, 19 Mar 99 04:05:16 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id JAA28075
	for scwm-discuss@mit.edu; Fri, 19 Mar 1999 09:53:09 +0100 (MET)
Received: (qmail 8389 invoked by uid 115); 18 Mar 1999 16:26:38 -0000
To: scwm-discuss@mit.edu
Subject: Re: Scwm-1.0 release to do list
References: <qrrvhfzwvwi.fsf@elwha.cs.washington.edu> <36F04C06.945B595C@bigfoot.com>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 18 Mar 1999 17:26:37 +0100
In-Reply-To: Chris Bitmead's message of "Thu, 18 Mar 1999 11:42:46 +1100"
Message-Id: <wsaexa4vcy.fsf@orcus.priv.at>
Lines: 22
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Thu, 18 Mar 1999 11:42:46 +1100
>>>>> Chris Bitmead <chris.bitmead@bigfoot.com> said:

 Chris> I think the default scwmrc should show off as many features as
 Chris> possible, but the behaviour should be fairly unsurprising for
 Chris> someone used to a Motif style window manager.

Yeah. I think a pretty conservative fvwm-like outfit is fine for us
(the enlightment fans are not our main target yet), but you should
also feel Guile power under the hood - so that at least
german-speaking CS-weenies cry out "Guile!" after a while.

I could always impress my lab collegues with the
adapts-to-dynamic-environments aspect. We should emphasize this.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Fri Mar 19 04:09:15 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA10414
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 04:09:15 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA10411
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 04:09:13 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA13002; Fri, 19 Mar 99 04:05:30 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id JAA28073
	for scwm-discuss@mit.edu; Fri, 19 Mar 1999 09:53:07 +0100 (MET)
Received: (qmail 4439 invoked by uid 115); 18 Mar 1999 16:10:45 -0000
To: scwm-discuss@mit.edu
Subject: Re: Problems with the gnome panel
References: <wsu2vknelw.fsf@orcus.priv.at> <qrrr9qnwvaj.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 18 Mar 1999 17:10:44 +0100
In-Reply-To: Greg Badros's message of "17 Mar 1999 15:28:20 -0800"
Message-Id: <wsd8264w3f.fsf@orcus.priv.at>
Lines: 29
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 17 Mar 1999 15:28:20 -0800
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> I'm doing a quick fix that just saves pswCurrent before calling
 Greg> the hooks, and restores it afterwards. Let me know if this does
 Greg> the right thing. (I just committed).

Thanks, I will try it. But I suspect that more is broken than that,
and it will crash later. How could scheme code change a not-exposed C
variable? Presumably only by wreaking havoc over half the
address-space.

 >> I don't know how to further debug this. Any hints?

 Greg> If you have two X servers, just use one server to run gdb and
 Greg> attach it to the scwm process running for the other server.

I used another virtual console to the same effect. My problem is, that
I do not know how to debug the scheme code. At least all seems well
before the `call1', and pswCurrent is NULL afterwards. Do I have to
build a debug-version of guile? Well, I'm trying this path now.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Fri Mar 19 04:09:10 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA10404
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 04:09:10 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA10401
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 04:09:09 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA12992; Fri, 19 Mar 99 04:05:26 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id JAA28087
	for scwm-discuss@mit.edu; Fri, 19 Mar 1999 09:53:19 +0100 (MET)
Received: (qmail 23781 invoked by uid 115); 18 Mar 1999 20:47:29 -0000
To: scwm-discuss@mit.edu
Subject: gnome pager race / you have to start session-mgmt manually now
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 18 Mar 1999 21:47:28 +0100
Message-Id: <wsemmmbk4f.fsf@orcus.priv.at>
Lines: 30
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

the gnome pager needs a window manager that announces
gnome-compatibility by setting certain root-window properties. It will 
complain if these properties are not set. `(enable-gnome-hints)'
normally takes care of these.

I have gnome-session setup up so that it always starts scwm before
launching the panel (and thus the pager). BUT as gnome-session kicks
off the panel as soon as scwm registers with it, the panel usually
beats outruns scwm, and the pager barfs before `(enable-gnome-hints)'
is even executed by scwm.

*hack* *hack*

What I have implemented now, and what will be in CVS sometime soon is
that scwm no longer registers with session management automatically -
you have to call `(SM-register)' to do that. If you
`(enable-gnome-hints)' before this: no chances for lost races.

... later ...

Now that gnome-hints are properly enabled before the panel starts, any
panel window will vanish immediately. I think I'll go weeping now.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Fri Mar 19 04:09:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA10410
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 04:09:13 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA10406
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 04:09:12 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA12995; Fri, 19 Mar 99 04:05:28 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id JAA28080
	for scwm-discuss@mit.edu; Fri, 19 Mar 1999 09:53:15 +0100 (MET)
Received: (qmail 23219 invoked by uid 115); 18 Mar 1999 19:48:56 -0000
To: scwm-discuss@mit.edu
Subject: Re: Problems with the gnome panel
References: <wsu2vknelw.fsf@orcus.priv.at> <qrrr9qnwvaj.fsf@elwha.cs.washington.edu> <wsd8264w3f.fsf@orcus.priv.at>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 18 Mar 1999 20:48:55 +0100
Message-Id: <wspv66tw7s.fsf@orcus.priv.at>
Lines: 27
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 18 Mar 1999 17:10:44 +0100
>>>>> Robert Bihlmeyer <robbe@orcus.priv.at> said:

 Robbe> My problem is, that I do not know how to debug the scheme
 Robbe> code. At least all seems well before the `call1', and
 Robbe> pswCurrent is NULL afterwards. Do I have to build a
 Robbe> debug-version of guile? Well, I'm trying this path now.

Suspecting Guile was a false lead. It turned out that while the scheme
code was executing, another event tied to the root window was
generated (perhaps triggered by this code), which caused the global
pswCurrent to be set to NULL. Didn't our mums warn us of global
variables?

It seems that your workaround is reasonably correct, but I'd like to
know what the rationale for pswCurrent is in the first place. From my
quick inspection there are other places in events.c where the
assumption that pswCurrent keeps constant over hook-calls is made.
These are pending bugs.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Fri Mar 19 04:09:20 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA10433
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 04:09:20 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA10422
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 04:09:18 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA13005; Fri, 19 Mar 99 04:05:33 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id JAA28077
	for scwm-discuss@mit.edu; Fri, 19 Mar 1999 09:53:11 +0100 (MET)
Received: (qmail 8402 invoked by uid 115); 18 Mar 1999 16:39:37 -0000
To: scwm-discuss@mit.edu
Subject: Re: scwm.el
References: <13933.43624.819069.356827@horus.cs.cornell.edu> <m3vhjm5i35.fsf@eho.eaglets.com> <13933.51191.494905.717287@horus.cs.cornell.edu> <qrryakvwxmt.fsf@elwha.cs.washington.edu> <m2sob35fa5.fsf@blinky.bfr.co.il>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 18 Mar 1999 17:39:37 +0100
In-Reply-To: hjstein@bfr.co.il's message of "18 Mar 1999 12:16:18 +0300"
Message-Id: <ws4sni4ura.fsf@orcus.priv.at>
Lines: 25
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 18 Mar 1999 12:16:18 +0300
>>>>> hjstein@bfr.co.il (Harvey J. Stein) said:

 Harvey> LFD runs scwm-eval-last. This fcn inserts the resuts of
 Harvey> running the expression in the buffer. I can't imagine anyone
 Harvey> finding this to be convenient. If I'm writing & executing
 Harvey> scwm code from an scwm-mode buffer, I don't want the return
 Harvey> values written to the buffer. I think the older behavior of
 Harvey> writing the result in the minibuffer was far superior.

You can get this behaviour by giving scwm-eval-last a prefix argument.
I.e. with C-u C-j. Or `(setq scwm-eval-to-minibuffer t)' and have the
old behaviour as default and the new one on prefix.

My main gripe with evalling to the minibuffer is that errors are not
displayed properly. Perhaps I transient *scwm*errors* buffer should be 
popped up in this case?

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Fri Mar 19 04:19:57 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA10638
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 04:19:57 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA10635
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 04:19:56 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA13794; Fri, 19 Mar 99 04:16:13 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id BAA14234; Fri, 19 Mar 1999 01:16:08 -0800 (PST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@mit.edu
Subject: Re: Window group feature
References: <qrriubys8l2.fsf@elwha.cs.washington.edu> <m2yaktana8.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Mar 1999 01:16:07 -0800
In-Reply-To: hjstein@bfr.co.il's message of "19 Mar 1999 11:36:47 +0300"
Message-Id: <qrrhfrhon54.fsf@elwha.cs.washington.edu>
Lines: 45
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
>  > Ok,  who wants to write a window-group feature for Scwm?  That's the
>  > only bullet we're missing on the X11.org page (though it's interesting
>  > to see how my qualified remarks mapped to "*"s or "A"s on their chart),
>  > and can be done completely in scheme.
> 
> What exactly is a window-group feature?  If it means fcns that act on
> sets of windows instead of individual windows, then what we need to do
> is either say yes because we have (list-windows), lambda and map,
> or we should change all fcns that take a window argument to also take
> a list of windows & to act on all of them.  But the fact of the former
> makes the latter a bloated waste.
> 
> Is something like this suficient:
> 
> (define (group-apply winlist fcn . additional-args)
>    (map (lambda (w) (apply fcn w additional-args))
> 	winlist))
> 
> Then you do things like:
> 
> (group-apply (list-windows appropriate-params) move-by '(10 10))
> 
> or some such thing.
> 
> This'll work for fcns which take window args as their 1st arg, but I
> don't think scwm is that uniform in fcn arg syntax, and the above
> doesn't really add much.  Maybe a simple "yes" is sufficient.

I was thinking something along the lines of a GUI interface to
permitting user-defined groups of windows, and then permitting actions
on those sets of windows.  E.g., some kind of action (menu item?) would
let me select multiple windows, and put them in the same window-group.
I should have a menu that lets me select window-groups and do things to
them.  Part of the feature is figuring out how it should work.

Maciej's answer may be more what the x11.org people are talking about.
We should definitely follow whatever ICCCM hints there are about this,
and I think we already do some of this (e.g, my netscape find dialog
iconifies when I iconfiy the corresponding netscape browser window).

Greg

From owner-scwm-discuss@mit.edu  Fri Mar 19 04:34:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA10868
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 04:34:17 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA10865
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 04:34:16 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA15700; Fri, 19 Mar 99 04:31:20 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id BAA14247; Fri, 19 Mar 1999 01:30:16 -0800 (PST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: scwm.el
References: <13933.43624.819069.356827@horus.cs.cornell.edu> <m3vhjm5i35.fsf@eho.eaglets.com> <13933.51191.494905.717287@horus.cs.cornell.edu> <qrryakvwxmt.fsf@elwha.cs.washington.edu> <m2sob35fa5.fsf@blinky.bfr.co.il> <ws4sni4ura.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Mar 1999 01:30:16 -0800
In-Reply-To: Robert Bihlmeyer's message of "18 Mar 1999 17:39:37 +0100"
Message-Id: <qrr90ctomhj.fsf@elwha.cs.washington.edu>
Lines: 29
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 18 Mar 1999 12:16:18 +0300
> >>>>> hjstein@bfr.co.il (Harvey J. Stein) said:
> 
>  Harvey> LFD runs scwm-eval-last. This fcn inserts the resuts of
>  Harvey> running the expression in the buffer. I can't imagine anyone
>  Harvey> finding this to be convenient. If I'm writing & executing
>  Harvey> scwm code from an scwm-mode buffer, I don't want the return
>  Harvey> values written to the buffer. I think the older behavior of
>  Harvey> writing the result in the minibuffer was far superior.
> 
> You can get this behaviour by giving scwm-eval-last a prefix argument.
> I.e. with C-u C-j. Or `(setq scwm-eval-to-minibuffer t)' and have the
> old behaviour as default and the new one on prefix.
> 
> My main gripe with evalling to the minibuffer is that errors are not
> displayed properly. Perhaps I transient *scwm*errors* buffer should be 
> popped up in this case?

Yea... I think this is only a problem with XEmacs, but it's bugged me
for a long time, too.  M-x show-message-log shows you the error, but not 
until another keystroke, plus, I'd like it to come up automatically and
be sized properly with just my last error when the output is more than
one line long.

Greg

From owner-scwm-discuss@mit.edu  Fri Mar 19 04:35:56 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA10886
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 04:35:56 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA10883
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 04:35:55 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA14927; Fri, 19 Mar 99 04:32:12 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id BAA14250; Fri, 19 Mar 1999 01:31:57 -0800 (PST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Problems with the gnome panel
References: <wsu2vknelw.fsf@orcus.priv.at> <qrrr9qnwvaj.fsf@elwha.cs.washington.edu> <wsd8264w3f.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Mar 1999 01:31:57 -0800
In-Reply-To: Robert Bihlmeyer's message of "18 Mar 1999 17:10:44 +0100"
Message-Id: <qrr677xomeq.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 17 Mar 1999 15:28:20 -0800
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
>  Greg> I'm doing a quick fix that just saves pswCurrent before calling
>  Greg> the hooks, and restores it afterwards. Let me know if this does
>  Greg> the right thing. (I just committed).
> 
> Thanks, I will try it. But I suspect that more is broken than that,
> and it will crash later. How could scheme code change a not-exposed C
> variable? Presumably only by wreaking havoc over half the
> address-space.

pswCurrent is a global that gets munged by lots of primitives.

> 
>  >> I don't know how to further debug this. Any hints?
> 
>  Greg> If you have two X servers, just use one server to run gdb and
>  Greg> attach it to the scwm process running for the other server.
> 
> I used another virtual console to the same effect. My problem is, that
> I do not know how to debug the scheme code. At least all seems well
> before the `call1', and pswCurrent is NULL afterwards. Do I have to
> build a debug-version of guile? Well, I'm trying this path now.

You could put a gdb watch breakpoint on the pswCurrent and see where the
code is when pswCurrent gets altered.  My guess is you'll be in some
primitive invoked by some scheme code.

Greg


From owner-scwm-discuss@mit.edu  Fri Mar 19 04:39:24 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA10945
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 04:39:24 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA10939
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 04:39:19 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA15160; Fri, 19 Mar 99 04:35:36 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id BAA14253; Fri, 19 Mar 1999 01:34:51 -0800 (PST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Problems with the gnome panel
References: <wsu2vknelw.fsf@orcus.priv.at> <qrrr9qnwvaj.fsf@elwha.cs.washington.edu> <wsd8264w3f.fsf@orcus.priv.at> <wspv66tw7s.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Mar 1999 01:34:51 -0800
In-Reply-To: Robert Bihlmeyer's message of "18 Mar 1999 20:48:55 +0100"
Message-Id: <qrr3e31om9w.fsf@elwha.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 18 Mar 1999 17:10:44 +0100
> >>>>> Robert Bihlmeyer <robbe@orcus.priv.at> said:
> 
>  Robbe> My problem is, that I do not know how to debug the scheme
>  Robbe> code. At least all seems well before the `call1', and
>  Robbe> pswCurrent is NULL afterwards. Do I have to build a
>  Robbe> debug-version of guile? Well, I'm trying this path now.
> 
> Suspecting Guile was a false lead. It turned out that while the scheme
> code was executing, another event tied to the root window was
> generated (perhaps triggered by this code), which caused the global
> pswCurrent to be set to NULL. Didn't our mums warn us of global
> variables?
> 
> It seems that your workaround is reasonably correct, but I'd like to
> know what the rationale for pswCurrent is in the first place. From my
> quick inspection there are other places in events.c where the
> assumption that pswCurrent keeps constant over hook-calls is made.
> These are pending bugs.

Yep, I was waiting to see if my fix worked in the first case to make
sure my hypothesis was correct.  We'll need to fix all the places, or
rethink stuff.

I agree globals are often bad, but when they're really global state,
it's sometimes justifiable.  We just need to think about whether the
hook should have the right to change what window is current.

Greg

From owner-scwm-discuss@mit.edu  Fri Mar 19 04:40:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA10954
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 04:40:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA10951
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 04:40:06 -0500
Received: from smtp1.erols.com by MIT.EDU with SMTP
	id AA16062; Fri, 19 Mar 99 04:37:11 EST
Received: from alum.mit.edu (209-122-233-25.s25.tnt5.sbo.ma.dialup.rcn.com [209.122.233.25])
	by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id EAA22782;
	Fri, 19 Mar 1999 04:36:19 -0500 (EST)
Message-Id: <36F1E7D5.3E56A83A@alum.mit.edu>
Date: Fri, 19 Mar 1999 00:59:49 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
Mime-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
Cc: "Harvey J. Stein" <hjstein@bfr.co.il>, scwm-discuss@mit.edu
Subject: Re: Window group feature
References: <qrriubys8l2.fsf@elwha.cs.washington.edu> <m2yaktana8.fsf@blinky.bfr.co.il> <qrrhfrhon54.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> I was thinking something along the lines of a GUI interface to
> permitting user-defined groups of windows, and then permitting actions
> on those sets of windows.  E.g., some kind of action (menu item?) would
> let me select multiple windows, and put them in the same window-group.
> I should have a menu that lets me select window-groups and do things to
> them.  Part of the feature is figuring out how it should work.
> 

Which would be a slick thing to have, but I think not what they had in 
mind.

> Maciej's answer may be more what the x11.org people are talking about.
> We should definitely follow whatever ICCCM hints there are about this,
> and I think we already do some of this (e.g, my netscape find dialog
> iconifies when I iconfiy the corresponding netscape browser window).

I believe that is due to the fact that the dialog is transient for the
browser window, not due to group stuff. Actually, whoever wants to
work on this feature or possibly verify that we already have it (wouldn't
that be a nice surprise?) should probably read the applicable portion of
ICCCM.

 - Maciej

From owner-scwm-discuss@mit.edu  Fri Mar 19 08:34:46 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id IAA12133
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 08:34:46 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id IAA12130
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 08:34:43 -0500
Received: from whirligig.ecs.soton.ac.uk by MIT.EDU with SMTP
	id AA04800; Fri, 19 Mar 99 08:29:53 EST
Received: from penelope.ecs.soton.ac.uk (penelope.ecs.soton.ac.uk [152.78.68.135])
	by whirligig.ecs.soton.ac.uk (8.9.1/8.9.1) with ESMTP id NAA22576
	for <scwm-discuss@mit.edu>; Fri, 19 Mar 1999 13:25:40 GMT
Received: from ecs.soton.ac.uk (pyro.ecs.soton.ac.uk [152.78.68.62])
	by penelope.ecs.soton.ac.uk (8.9.1a/8.9.1) with ESMTP id NAA00262
	for <scwm-discuss@mit.edu>; Fri, 19 Mar 1999 13:29:24 GMT
Message-Id: <199903191329.NAA00262@penelope.ecs.soton.ac.uk>
Date: Fri, 19 Mar 1999 13:24:33 +0000 (GMT)
From: Mark Toller <mst@ecs.soton.ac.uk>
Reply-To: mst@ecs.soton.ac.uk
Subject: Configuration Manager, polished look and feel
To: scwm-discuss@mit.edu
Mime-Version: 1.0
Content-Type: TEXT/plain; CHARSET=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

  I've been using Scwm for ages now, and it does (nearly) everything I
want from a window manager... which admittedly isn't that much. 
However, after upgrading gnome to 1.03, my scwm was broke, and whilst
I'm sorting it out, I started up enlightenment (been a *long* time
since I used E last).

Anyhow, I'm impressed - whilst it has no real *extra* functionality
over scwm that I'm likely to use on a daily basis, it is definately
more _polished_.  i.e. it looks more professional out of the box, so to
speak.

Whilst I could rave about the fancy things it can do (I particularly
like the translucent window move, the way menus slide away from the
edges of the sceen if necessary, and the windows sliding onto the
desktop!), *the* best thing about E is that it has a configuration
editor which allows you to :-

set the type of move and resize methods (Opaque, Lined, Box, Shaded,
Translucent etc).

set the keyboard focus

set the number of desktops, virtual screens, edge resistance

set the default behaviour for new windows getting focus etc.

setting themes

and no. 1 adding and modifying keyboard shortcuts (but not mouse
shortcuts, damnit!)

Many people use fvwm(2) and so you want to create conversion tools for
fvwm2 config files -> Scwm... Fine, but lets face it - new users
probably haven't modified fvwm2 config files any more than they're
likely to try modifying Scwm configs... whereas they *are* more likely
to use a configuration editor if one is provided.

I know that there are far more important things ahead for Scwm (like the
event rewrite!), but if you plan on releasing 1.0, generally meaning a
*usable* product, I think at least a basic configuration manager should
be available....

I am going to miss that translucent move when I go back to Scwm now
though.... :-)

Mark.

-- 
Mark Toller                         http://www.ecs.soton.ac.uk/~mst/
Electronics and Computer Science    tel +44 01703 594492
University of Southampton
Southampton SO17 1BJ.


From owner-scwm-discuss@mit.edu  Fri Mar 19 14:04:52 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA13657
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 14:04:52 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA13654
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 14:04:50 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA10279; Fri, 19 Mar 99 14:01:50 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id TAA06027
	for scwm-discuss@mit.edu; Fri, 19 Mar 1999 19:54:03 +0100 (MET)
Received: (qmail 1546 invoked by uid 115); 19 Mar 1999 12:11:08 -0000
To: scwm-discuss@mit.edu
Subject: Re: Window group feature
References: <qrriubys8l2.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 19 Mar 1999 13:11:07 +0100
In-Reply-To: Greg Badros's message of "18 Mar 1999 15:04:41 -0800"
Message-Id: <wsn219d6hw.fsf@orcus.priv.at>
Lines: 97
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 18 Mar 1999 15:04:41 -0800
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> Ok, who wants to write a window-group feature for Scwm?

Are we talking about this:

 ICCCM> 4.1.11. Window Groups

 ICCCM> A set of top-level windows that should be treated from the
 ICCCM> user's point of view as related (even though they may belong
 ICCCM> to a number of clients) should be linked together using the
 ICCCM> window_group field of the WM_HINTS structure.

 ICCCM> One of the windows (that is, the one the others point to) will
 ICCCM> be the group leader and will carry the group as opposed to the
 ICCCM> individual properties. Window managers may treat the group
 ICCCM> leader differently from other windows in the group. For
 ICCCM> example, group leaders may have the full set of decorations,
 ICCCM> and other group members may have a restricted set.

 ICCCM> It is not necessary that the client ever map the group leader;
 ICCCM> it may be a window that exists solely as a place holder.

 ICCCM> It is up to the window manager to determine the policy for
 ICCCM> treating the windows in a group. At present, there is no way
 ICCCM> for a client to request a group, as opposed to an indi vidual,
 ICCCM> operation.

So we need to determine which policies are useful. I'll spew forth
random thoughts now, please comment/correct as needed.

Let's take Gimp (1.1) as an example (most GTK+ apps that I checked
were similar): It has an unmapped 0x0 window that serves as leader.
All of Gimp's windows have their WM_CLIENT_LEADER property and the
group_leader hint pointing to that window. This puts all of the app's
windows in one window group.

The user will probably want to take actions on the whole group.

* Move: All the group's windows move to a new location, keeping
  their relative positions. Especially useful to put the group onto
  another viewport. Sending a group to another desktop will also be a
  common desire.

* Resize: I can't see any use for this. Same goes for the special case 
  of maximization.

* Close/Destroy: Close/Destroy all the windows in random order.
  Usefulness dubious.

* De/Iconify: Either iconify all windows independently, or put them all
  under one group icon. Group deiconification is automatic in the
  second case, and can be an option in the first.

* De/Window-Shade: The same as iconification, only that window-shades
  are always independent.

* Make sticky, Keep on top, Skip: Simply operate on all
  windows in order.

* Raise/Lower: Raise/lower all windows of the group above/below all
  others, keeping their z-order constant.

The Scheme interface could just replace "window" with "group", or
suffix "group" if "window" does not occur in command (e.g.
`interactive-move', `iconify-window'). The win argument is replaced by 
a group argument. Since the leader window is often not mapped, its
scheme representation is not there to be used. I propose to make a
window stand for its group in this context. This makes
        (bind-key 'all ... 'stick-group)
possible. A window belonging to no group would only stand for itself.

The implementation of the simpler actions needs the following primitive 

        (group->windows GROUP)
        Return a list of windows belonging to GROUP.

Then `stick-group' can be implemented as follows:

(define-public (stick-group group)
   (for-each stick (group->windows group))

`move-group' would need further C support. Hmm, no, I think
`interactive-move-new-position-hook' probably suffices. Ah, scwm is so 
cool!

If we reach a conclusion soon, I may be able to give it a whirl on the 
weekend.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Fri Mar 19 14:04:01 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA13650
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 14:04:01 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA13644
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 14:03:58 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA09950; Fri, 19 Mar 99 14:00:58 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id TAA06030
	for scwm-discuss@mit.edu; Fri, 19 Mar 1999 19:54:05 +0100 (MET)
Received: (qmail 1564 invoked by uid 115); 19 Mar 1999 12:15:41 -0000
To: scwm-discuss@mit.edu
Subject: Re: build problem: libtool --no-reexec
References: <ii7u2vio4zj.fsf@central.sun.com>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 19 Mar 1999 13:15:40 +0100
In-Reply-To: Sam Falkner's message of "18 Mar 1999 14:36:00 -0700"
Message-Id: <wsk8wdd6ab.fsf@orcus.priv.at>
Lines: 17
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 18 Mar 1999 14:36:00 -0700
>>>>> Sam Falkner <samf@central.sun.com> said:

 Sam> I've `fixed' this before, but I can't remember what I did. I
 Sam> might have just edited configure to drop `--no-reexec', but I'm
 Sam> not sure.

That's a version mismatch between your libtool and the libtool scripts 
that scwm comes with. Running "autogen.sh" does not remedy this?

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Fri Mar 19 18:47:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA14941
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 18:47:29 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA14938
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 18:47:27 -0500
Received: from smtp03.nwnexus.com by MIT.EDU with SMTP
	id AA29095; Fri, 19 Mar 99 18:43:36 EST
Received: from pulsar.halcyon.com (ken@halcyon.com [198.137.231.20])
	by smtp03.nwnexus.com (8.8.8/8.8.8) with ESMTP id PAA19539
	for <scwm-discuss@mit.edu>; Fri, 19 Mar 1999 15:43:37 -0800 (PST)
Received: from ken@localhost by pulsar.halcyon.com id <276583-384>; Fri, 19 Mar 1999 15:40:36 -0800
To: scwm-discuss@mit.edu
Subject: Re: how to warp to new window?
In-Reply-To: <19990319065603Z276583-384+214@pulsar.halcyon.com>
Date: Fri, 19 Mar 1999 15:40:25 -0800
From: Ken Pizzini <ken@halcyon.com>
Message-Id: <19990319234036Z276583-384+220@pulsar.halcyon.com>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On the scwm mailing list,
message <19990319065603Z276583-384+214@pulsar.halcyon.com>, I wrote:
>  ;; Do not move pointer if it is already in the window,
>  ;; otherwise warp it to the same place that next-window
>  ;; would.
...
>        (move-pointer (w%x 20 win) (w%y 20 win))))

First off, let me just say that I love scwm.  That this particular
"new window" issue was bugging me finally reached my awareness
only recently, and with just a little programming my window manager
already has a nicer feel to it!


Anyway, a new irritation was identified while I was playing with
this --- at least with xterms I find the 20/20 placement to
be annoying, both with my new force-window function and with
the standard next-window and prev-window functions.  A little
experimentation shows that 80/20 works nicer for me.

My question is: can we please either change next-window/prev-window
to (move-pointer (w%x 80 win) (w%y 20 win)) (if, by some miracle,
everyone agrees that that is a better placement), or make these
coordinates a configurable variable?

(I'm willing to do the minor code mods if that makes any difference
to the answer.)

Thanks,
		--Ken Pizzini

From owner-scwm-discuss@mit.edu  Fri Mar 19 20:02:10 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA15328
	for scwm-discuss-outgoing; Fri, 19 Mar 1999 20:02:10 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA15325
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 19 Mar 1999 20:02:07 -0500
Received: from smtp06.nwnexus.com by MIT.EDU with SMTP
	id AA05767; Fri, 19 Mar 99 19:59:05 EST
Received: from pulsar.halcyon.com (ken@coho.halcyon.com [198.137.231.21])
	by smtp06.nwnexus.com (8.8.8/8.8.8) with ESMTP id QAA22861
	for <scwm-discuss@mit.edu>; Fri, 19 Mar 1999 16:58:13 -0800 (PST)
Received: from ken@localhost by pulsar.halcyon.com id <276583-384>; Fri, 19 Mar 1999 16:57:55 -0800
To: scwm-discuss@mit.edu
Subject: Re: how to warp to new window?
References: <19990319234036Z276583-384+220@pulsar.halcyon.com>
Date: Fri, 19 Mar 1999 16:57:49 -0800
From: Ken Pizzini <ken@halcyon.com>
Message-Id: <19990320005755Z276583-384+222@pulsar.halcyon.com>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Fri, 19 Mar 1999 15:40:25 -0800, I <ken@halcyon.com> wrote:
>My question is: can we please either
[snip]
> or make these coordinates a configurable variable?
>
>(I'm willing to do the minor code mods if that makes any difference
>to the answer.)

Oh, heck, why don't I just go and do it?

Attached is my implementation of this.  Perhaps a better
name could be chosen for the property and helper function,
but this works fine for me.  (Note that this property can
be set per-window.) To suit my current personal preferences,
my .scwmrc contains:
  (add-hook! after-new-window-hook
    (lambda (win)
      (set-object-property! win 'warp-placement '(80 20))
      (and (string-match "XTerm" (window-class win))
	   (string=? "Xterm" (window-title win))
           (force-window win))))

Where my force-window has been updated to:
  ;; Force the specified window to be on top, in focus,
  ;; and with the pointer positioned within its frame.
  ;; Do not move pointer if it is already in the window,
  ;; otherwise warp it to the same place that next-window
  ;; would.
  (define-public (force-window win)
    (raise-window win)
    (if (not
	  (point-in-box?
	    (pointer-position) (window-position win) (window-frame-size win)))
      (let ((p (default-warp-placement win)))
	(warp-to-window win)
	(move-pointer (w%x (car p) win) (w%y (cadr p) win))))
    (focus win))


Hopefully this was of some interest,
		--Ken Pizzini


--- winlist.scm-orig	Fri Nov 13 09:53:46 1998
+++ winlist.scm	Fri Mar 19 16:39:35 1999
@@ -28,6 +28,15 @@
 
 
 
+(define-public default-warp-placement
+  (lambda (win)
+    (let ((p (object-property win 'warp-placement)))
+      (if (->bool p)
+	p
+	(begin
+	  (set-object-property! win 'warp-placement '(20 20))
+	  '(20 20))))))
+
 (define*-public (default-winlist-proc #&optional (win (get-window)))
   "The default behaviour when WIN is selected from the window list."
   (cond
@@ -35,7 +44,8 @@
 	(focus win)
 	(raise-window win)
 	(warp-to-window win)
-	(move-pointer (w%x 20 win) (w%y 20 win)))))
+	(let ((p (default-warp-placement win)))
+	  (move-pointer (w%x (car p) win) (w%y (cadr p) win))))))
 
 (define (listify-if-atom l)
   (if (or (pair? l) (null? l)) l (list l)))

From owner-scwm-discuss@mit.edu  Sat Mar 20 03:03:36 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA17315
	for scwm-discuss-outgoing; Sat, 20 Mar 1999 03:03:36 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA17312
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 20 Mar 1999 03:03:32 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA10795; Sat, 20 Mar 99 03:00:27 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id XAA16315; Fri, 19 Mar 1999 23:59:35 -0800 (PST)
To: mst@ecs.soton.ac.uk
Cc: scwm-discuss@mit.edu
Subject: Re: Configuration Manager, polished look and feel
References: <199903191329.NAA00262@penelope.ecs.soton.ac.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Mar 1999 23:59:34 -0800
In-Reply-To: Mark Toller's message of "Fri, 19 Mar 1999 13:24:33 +0000 (GMT)"
Message-Id: <qrrn218mw0p.fsf@elwha.cs.washington.edu>
Lines: 73
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Mark Toller <mst@ecs.soton.ac.uk> writes:

>   I've been using Scwm for ages now, and it does (nearly) everything I
> want from a window manager... which admittedly isn't that much. 
> However, after upgrading gnome to 1.03, my scwm was broke, and whilst
> I'm sorting it out, I started up enlightenment (been a *long* time
> since I used E last).

Can you be more specific about how gnome 1.03 broke scwm? 

> Anyhow, I'm impressed - whilst it has no real *extra* functionality
> over scwm that I'm likely to use on a daily basis, it is definately
> more _polished_.  i.e. it looks more professional out of the box, so to
> speak.
> 
> Whilst I could rave about the fancy things it can do (I particularly
> like the translucent window move, the way menus slide away from the
> edges of the sceen if necessary, and the windows sliding onto the
> desktop!), *the* best thing about E is that it has a configuration
> editor which allows you to :-

Ironically, I *think* the fvwm2 menuing code that I wrote was the first
place in an X11 wm that did the animated menu stuff.  I never got around 
to making it work in Scwm, but it's my favorite fvwm2 feature that I
haven't added to Scwm.

> 
> set the type of move and resize methods (Opaque, Lined, Box, Shaded,
> Translucent etc).
> 
> set the keyboard focus
> 
> set the number of desktops, virtual screens, edge resistance
> 
> set the default behaviour for new windows getting focus etc.
> 
> setting themes
> 
> and no. 1 adding and modifying keyboard shortcuts (but not mouse
> shortcuts, damnit!)
> 
> Many people use fvwm(2) and so you want to create conversion tools for
> fvwm2 config files -> Scwm... Fine, but lets face it - new users
> probably haven't modified fvwm2 config files any more than they're
> likely to try modifying Scwm configs... whereas they *are* more likely
> to use a configuration editor if one is provided.
> 
> I know that there are far more important things ahead for Scwm (like the
> event rewrite!), but if you plan on releasing 1.0, generally meaning a
> *usable* product, I think at least a basic configuration manager should
> be available....

Agreed, completely.  I think it'd be great to either pick one of E or
WindowMaker's configuration tools and make them work with Scwm, or use
them as inspiration for a guile-gtk based configuration utility for
scwm.  I'm virtually certain that the latter approach can already be
done from Scheme.

That said, fvwm2rc->scwmrc conversion is still *really* important --
fvwm2 has a big user base, and they are obvious candidates for using
Scwm. 

> I am going to miss that translucent move when I go back to Scwm now
> though.... :-)

I'll have to try E! to figure out what this exactly is-- I've not used
it in a long time.  James Lewis Moss just contributed an experimental
patch to make Scwm use imlib, so we might be really close to being able
to add translucent moves as a dynamically-loadable C primitive.
Notice, no one loses with Scwm-- if you want a small wm, that code'll
never get loaded if you don't use translucent moves!  Way cool!

Greg

From owner-scwm-discuss@mit.edu  Sat Mar 20 03:24:12 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA17446
	for scwm-discuss-outgoing; Sat, 20 Mar 1999 03:24:12 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA17443
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 20 Mar 1999 03:24:11 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA17714; Sat, 20 Mar 99 03:20:17 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id AAA16342; Sat, 20 Mar 1999 00:20:17 -0800 (PST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Window group feature
References: <qrriubys8l2.fsf@elwha.cs.washington.edu> <wsn219d6hw.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Mar 1999 00:20:17 -0800
In-Reply-To: Robert Bihlmeyer's message of "19 Mar 1999 13:11:07 +0100"
Message-Id: <qrrk8wcmv26.fsf@elwha.cs.washington.edu>
Lines: 142
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> >>>>> On 18 Mar 1999 15:04:41 -0800
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
>  Greg> Ok, who wants to write a window-group feature for Scwm?
> 
> Are we talking about this:
> 
>  ICCCM> 4.1.11. Window Groups


In part, yes, I think we are talking about this (though I'd like to see
groups be user-definable, too -- I can imagine wanting to control an
xterm and an emacs both running on a remote machine together). 

>  ICCCM> A set of top-level windows that should be treated from the
>  ICCCM> user's point of view as related (even though they may belong
>  ICCCM> to a number of clients) should be linked together using the
>  ICCCM> window_group field of the WM_HINTS structure.
> 
>  ICCCM> One of the windows (that is, the one the others point to) will
>  ICCCM> be the group leader and will carry the group as opposed to the
>  ICCCM> individual properties. Window managers may treat the group
>  ICCCM> leader differently from other windows in the group. For
>  ICCCM> example, group leaders may have the full set of decorations,
>  ICCCM> and other group members may have a restricted set.
> 
>  ICCCM> It is not necessary that the client ever map the group leader;
>  ICCCM> it may be a window that exists solely as a place holder.
> 
>  ICCCM> It is up to the window manager to determine the policy for
>  ICCCM> treating the windows in a group. At present, there is no way
>  ICCCM> for a client to request a group, as opposed to an indi vidual,
>  ICCCM> operation.
> 
> So we need to determine which policies are useful. I'll spew forth
> random thoughts now, please comment/correct as needed.
> 
> Let's take Gimp (1.1) as an example (most GTK+ apps that I checked
> were similar): It has an unmapped 0x0 window that serves as leader.
> All of Gimp's windows have their WM_CLIENT_LEADER property and the
> group_leader hint pointing to that window. This puts all of the app's
> windows in one window group.
> 
> The user will probably want to take actions on the whole group.
> 
> * Move: All the group's windows move to a new location, keeping
>   their relative positions. Especially useful to put the group onto
>   another viewport. Sending a group to another desktop will also be a
>   common desire.

Yep, sounds right.

> 
> * Resize: I can't see any use for this. Same goes for the special case 
>   of maximization.

Yea, resizing doesn't make a lot of sense to apply to more than one
window. 

> * Close/Destroy: Close/Destroy all the windows in random order.
>   Usefulness dubious.

Not sure what you mean here... closing one gimp window probably
shouldn't close the others, I'd think.

> 
> * De/Iconify: Either iconify all windows independently, or put them all
>   under one group icon. Group deiconification is automatic in the
>   second case, and can be an option in the first.

Seems reasonable.  

> * De/Window-Shade: The same as iconification, only that window-shades
>   are always independent.

Sounds good.

> * Make sticky, Keep on top, Skip: Simply operate on all
>   windows in order.
> 
> * Raise/Lower: Raise/lower all windows of the group above/below all
>   others, keeping their z-order constant.

Sounds good, but optionally on individual windows, too, of course.

> 
> The Scheme interface could just replace "window" with "group", or
> suffix "group" if "window" does not occur in command (e.g.
> `interactive-move', `iconify-window'). The win argument is replaced by 
> a group argument. Since the leader window is often not mapped, its
> scheme representation is not there to be used. I propose to make a
> window stand for its group in this context. This makes
>         (bind-key 'all ... 'stick-group)
> possible. A window belonging to no group would only stand for itself.

Sounds good.

> The implementation of the simpler actions needs the following primitive 
> 
>         (group->windows GROUP)
>         Return a list of windows belonging to GROUP.

Actually, I don't think it *needs* to be a primitive (though it might be 
useful for efficiency.  This works just fine:


(define (group-leader-id win)
  (vector-ref (car (X-property-get win "WM_HINTS")) 8))

(define (group->windows group)
  (list-windows #:only 
      (lambda (win) (= (group-leader-id group) (group-leader-id win)))))

You gotta love Scwm! :-)

> 
> Then `stick-group' can be implemented as follows:
> 
> (define-public (stick-group group)
>    (for-each stick (group->windows group))
> 
> `move-group' would need further C support. Hmm, no, I think
> `interactive-move-new-position-hook' probably suffices. Ah, scwm is so 
> cool!

The other interesting possibility is using the constraint solver for
this.  Cassowary has progressed quite a bit since the last time you used 
it, I think, and we actually have the beginnings of a UI for it
(guile-gtk based).  Wait for Cassowary 0.41, though -- v.4 has a bug in
its (brand-spanking-new) autconf support.  The links are on the new and
improved Scwm web page.

> If we reach a conclusion soon, I may be able to give it a whirl on the 
> weekend.

That'd be great-- I think what you've outlined seems like a very
reasonable starting place.  We could maybe make procedures that
introduce window leader relationships, and put a GUI on that ability.

Greg

From owner-scwm-discuss@mit.edu  Sat Mar 20 04:05:53 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA18790
	for scwm-discuss-outgoing; Sat, 20 Mar 1999 04:05:53 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA18787
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 20 Mar 1999 04:05:36 -0500
Received: from smtp01.nwnexus.com by MIT.EDU with SMTP
	id AA13903; Sat, 20 Mar 99 04:02:22 EST
Received: from pulsar.halcyon.com (chinook.halcyon.com [198.137.231.20])
	by smtp01.nwnexus.com (8.8.8/8.8.8) with ESMTP id BAA01463
	for <scwm-discuss@mit.edu>; Sat, 20 Mar 1999 01:01:34 -0800
Received: from ken@localhost by pulsar.halcyon.com id <276583-384>; Sat, 20 Mar 1999 01:01:36 -0800
To: scwm-discuss@mit.edu
Subject: Re: Window group feature
References: <qrriubys8l2.fsf@elwha.cs.washington.edu> <wsn219d6hw.fsf@orcus.priv.at> <qrrk8wcmv26.fsf@elwha.cs.washington.edu>
Date: Sat, 20 Mar 1999 01:01:26 -0800
From: Ken Pizzini <ken@halcyon.com>
Message-Id: <19990320090136Z276583-384+223@pulsar.halcyon.com>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 20 Mar 1999 00:20:17 -0800, Greg Badros <gjb@cs.washington.edu> wrote:
>> * Close/Destroy: Close/Destroy all the windows in random order.
>>   Usefulness dubious.
>
>Not sure what you mean here... closing one gimp window probably
>shouldn't close the others, I'd think.

I'd think a regular close would just close that one window,
but a _group_ close would attempt to close all windows in
that group.  I think the question is whether a close-group
form should be provided --- i.e., is this more useful than
problematic?

		--Ken Pizzini

From owner-scwm-discuss@mit.edu  Sat Mar 20 11:43:58 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA20650
	for scwm-discuss-outgoing; Sat, 20 Mar 1999 11:43:58 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA20647
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 20 Mar 1999 11:43:56 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA16145; Sat, 20 Mar 99 11:39:58 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id RAA04917
	for scwm-discuss@mit.edu; Sat, 20 Mar 1999 17:30:30 +0100 (MET)
Received: (qmail 297 invoked by uid 115); 20 Mar 1999 16:28:25 -0000
To: scwm-discuss@mit.edu
Subject: Re: Configuration Manager, polished look and feel
References: <199903191329.NAA00262@penelope.ecs.soton.ac.uk> <qrrn218mw0p.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 20 Mar 1999 17:28:24 +0100
In-Reply-To: Greg Badros's message of "19 Mar 1999 23:59:34 -0800"
Message-Id: <ws677wyvkn.fsf@orcus.priv.at>
Lines: 26
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 19 Mar 1999 23:59:34 -0800
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> Ironically, I *think* the fvwm2 menuing code that I wrote was
 Greg> the first place in an X11 wm that did the animated menu stuff.

Did you have it before windowmaker? Well, it's too late to file
patents, anyway <g>.

 Greg> I'll have to try E! to figure out what this exactly is-- I've
 Greg> not used it in a long time.

You move a half-translucent image of the window around the screen.
Without looking at E's code, you probably do
"img = Imlib_create_image_from_drawable()", then "memset(img->alpha_data, 
128, img->rgb_width * img->rgb_height)" and draw img into the root
window. You'd also have to grab the server, which is not compatible
with Cassowary.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Sat Mar 20 14:05:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA21302
	for scwm-discuss-outgoing; Sat, 20 Mar 1999 14:05:33 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA21297
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 20 Mar 1999 14:05:10 -0500
Received: from [195.99.196.2] by MIT.EDU with SMTP
	id AA21316; Sat, 20 Mar 99 14:01:59 EST
Received: by dns.sistelcom.com from localhost
    (router,SLMail V3.2); Sat, 20 Mar 1999 19:58:28 +0100
Received: by dns.sistelcom.com from sistelcom.com
    (195.82.145.150::mail daemon; unverified,SLMail V3.2); Sat, 20 Mar 1999 19:58:27 +0100
Message-Id: <36F3F031.624DB041@sistelcom.com>
Date: Sat, 20 Mar 1999 20:00:01 +0100
From: "Daniel Solaz" <dsolaz@sistelcom.com>
Organization: (setq dsolaz NIL)
X-Mailer: Mozilla 4.03 [en] (X11; I; Linux 2.0.29 i686)
Mime-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Re: Much improved Scwm Web Page
References: <qrrvhfztabg.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sluidl: CD07E7E7-DD3311D2-BF3C0000-B4548DD5
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> I made some substantial revisions to the Scwm web page:
Unfortunately you forgot to put complete HTML color info on the page. 
Try reading it with a browser set to white text on dark background...
-Daniel


From owner-scwm-discuss@mit.edu  Sun Mar 21 13:55:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA29179
	for scwm-discuss-outgoing; Sun, 21 Mar 1999 13:55:38 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA29176
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 21 Mar 1999 13:55:36 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA05380; Sun, 21 Mar 99 13:51:24 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Sun, 21 Mar 1999 13:50:19 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Sun, 21 Mar 1999 13:50:19 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id NAA15187;
	Sun, 21 Mar 1999 13:51:26 -0500
To: scwm-discuss@mit.edu
Subject: Re: gnome on rawhide requires enlightenment!
References: <m3lngzwvmg.fsf@eho.eaglets.com>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Sam Steingold's message of "14 Mar 1999 17:32:07 -0500"
Date: 21 Mar 1999 13:51:26 -0500
Message-Id: <m390cqu15d.fsf@eho.eaglets.com>
Lines: 38
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

The yesterday's release of rawhide persists in requiring E for Gnome.
I wonder what else can be done?

 >> the gnome-core package on rawhide.redhat.com requires enlightenment.
 >> I filed a bug but it was closed:
 >> 
 >> http://developer.redhat.com/bugzilla/show_bug.cgi?id=1503
 >> 
 >> --- shadow/1503	Sun Mar 14 14:06:30 1999
 >> +++ shadow/1503.tmp.510	Sun Mar 14 14:06:57 1999
 >> @@ -3,8 +3,8 @@
 >>  Version: 1.0
 >>  Platform: All
 >>  OS/Version:
 >> -Status: REOPENED
 >> -Resolution:
 >> +Status: RESOLVED
 >> +Resolution: DISCARD
 >>  Severity: normal
 >>  Priority: normal
 >>  Component: gnome-core
 >> @@ -21,3 +21,7 @@
 >>  this is wrong: other window managers, such as SCWM,
 >>  (which I use) work just fine with gnome (including
 >>  gnomepaget_applet &c).
 >> +
 >> +------- Additional Comments From msf@redhat.com  03/14/99 14:06 -------
 >> +We require enlightenment because gnome-session tries to run it
 >> +as configured by the spec file.
 >> 
 >> We must raise hell and make them change the state of affairs!
 >> Please act now!

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Those who value Life above Freedom are destined to lose both.

From owner-scwm-discuss@mit.edu  Sun Mar 21 16:20:08 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA29856
	for scwm-discuss-outgoing; Sun, 21 Mar 1999 16:20:08 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from mail.eaglets.com ([208.235.77.228])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id QAA29853
	for <scwm-discuss@huis-clos.mit.edu>; Sun, 21 Mar 1999 16:20:04 -0500
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Sun, 21 Mar 1999 16:14:34 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Sun, 21 Mar 1999 16:14:34 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id QAA08596;
	Sun, 21 Mar 1999 16:15:36 -0500
To: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: gqmpeg & scwm
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 21 Mar 1999 16:15:35 -0500
Message-ID: <m3677uilxk.fsf@eho.eaglets.com>
Lines: 11
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

apparently, there is a way for an application to tell the WM that it
doesn't want any WM decorations.  E.g., gqmpeg (gtk front end for
mpg123) doesn't have any decorations under fvwm2.2 (since scwm crashes
on me now, I am forced to use the enferior WMs :-)
scwm insists in decorating gqmpeg (I turned them off myself).

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
In C you can make mistakes, while in C++ you can also inherit them!

From owner-scwm-discuss@mit.edu  Sun Mar 21 16:21:21 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA29868
	for scwm-discuss-outgoing; Sun, 21 Mar 1999 16:21:21 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from mail.eaglets.com ([208.235.77.228])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id QAA29865
	for <scwm-discuss@huis-clos.mit.edu>; Sun, 21 Mar 1999 16:21:17 -0500
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Sun, 21 Mar 1999 16:15:47 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Sun, 21 Mar 1999 16:15:47 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id QAA08603;
	Sun, 21 Mar 1999 16:16:49 -0500
To: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: crash
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 21 Mar 1999 16:16:49 -0500
Message-ID: <m34sneilvi.fsf@eho.eaglets.com>
Lines: 253
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

gtk+-1.2.0-2
gtk+-devel-1.2.0-2

SCWM (current CVS snap) crashes:


$ gdb scwm
GNU gdb 4.17.0.11 with Linux support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run
Starting program: /usr/src/scwm/scwm/scwm 
[Scwm][CatchRedirectError]: <<ERROR>> another WM is running

Program exited with code 01.
(gdb) run
Starting program: /usr/src/scwm/scwm/scwm 

;;; WARNING (no code for module gtk)

Program received signal SIGSEGV, Segmentation fault.
0x40086236 in XConnectionNumber ()
(gdb) where
#0  0x40086236 in XConnectionNumber ()
#1  0x403a392d in scwm_gdk_X_fdes () at scwmgtkhelper.c:39
#2  0x40120df8 in scm_deval ()
#3  0x40120f70 in scm_deval ()
#4  0x40120f70 in scm_deval ()
#5  0x4011f04e in scm_eval_3 ()
#6  0x4011f11f in scm_eval_x ()
#7  0x4012ed5e in load ()
#8  0x40118844 in scm_internal_dynamic_wind ()
#9  0x4012ee3a in scm_primitive_load ()
#10 0x40121ed4 in scm_deval ()
#11 0x4011f04e in scm_eval_3 ()
#12 0x40117758 in scm_start_stack ()
#13 0x401177fa in scm_m_start_stack ()
#14 0x40122769 in scm_dapply ()
#15 0x40120908 in scm_deval ()
#16 0x40122932 in scm_dapply ()
#17 0x4011e00d in scm_apply ()
#18 0x401186d0 in scm_dynamic_wind ()
#19 0x40121ebb in scm_deval ()
#20 0x40122932 in scm_dapply ()
#21 0x4011e00d in scm_apply ()
#22 0x401186d0 in scm_dynamic_wind ()
#23 0x40121ebb in scm_deval ()
#24 0x4011fa56 in scm_deval ()
#25 0x40120f70 in scm_deval ()
#26 0x4011f9d2 in scm_deval ()
#27 0x40120312 in scm_deval ()
#28 0x40122932 in scm_dapply ()
#29 0x4011e00d in scm_apply ()
#30 0x401186d0 in scm_dynamic_wind ()
#31 0x40121ebb in scm_deval ()
#32 0x4011fa56 in scm_deval ()
#33 0x40120312 in scm_deval ()
#34 0x4011fa56 in scm_deval ()
#35 0x4012028b in scm_deval ()
#36 0x4011fa56 in scm_deval ()
#37 0x4012028b in scm_deval ()
#38 0x4011f04e in scm_eval_3 ()
#39 0x4011f11f in scm_eval_x ()
#40 0x4012ed5e in load ()
#41 0x40118844 in scm_internal_dynamic_wind ()
#42 0x4012ee3a in scm_primitive_load ()
#43 0x40121ed4 in scm_deval ()
#44 0x4011f04e in scm_eval_3 ()
#45 0x40117758 in scm_start_stack ()
#46 0x401177fa in scm_m_start_stack ()
#47 0x40122769 in scm_dapply ()
#48 0x40120908 in scm_deval ()
#49 0x40122932 in scm_dapply ()
#50 0x4011e00d in scm_apply ()
#51 0x401186d0 in scm_dynamic_wind ()
#52 0x40121ebb in scm_deval ()
#53 0x40122932 in scm_dapply ()
#54 0x4011e00d in scm_apply ()
#55 0x401186d0 in scm_dynamic_wind ()
#56 0x40121ebb in scm_deval ()
#57 0x4011fa56 in scm_deval ()
#58 0x40120f70 in scm_deval ()
---Type <return> to continue, or q <return> to quit---
#59 0x4011f9d2 in scm_deval ()
#60 0x40120312 in scm_deval ()
#61 0x40122932 in scm_dapply ()
#62 0x4011e00d in scm_apply ()
#63 0x401186d0 in scm_dynamic_wind ()
#64 0x40121ebb in scm_deval ()
#65 0x4011fa56 in scm_deval ()
#66 0x40120312 in scm_deval ()
#67 0x4011fa56 in scm_deval ()
#68 0x4012028b in scm_deval ()
#69 0x4011fa56 in scm_deval ()
#70 0x4012028b in scm_deval ()
#71 0x4011f04e in scm_eval_3 ()
#72 0x4011f11f in scm_eval_x ()
#73 0x4012ed5e in load ()
#74 0x40118844 in scm_internal_dynamic_wind ()
#75 0x4012ee3a in scm_primitive_load ()
#76 0x40121ed4 in scm_deval ()
#77 0x4011f04e in scm_eval_3 ()
#78 0x40117758 in scm_start_stack ()
#79 0x401177fa in scm_m_start_stack ()
#80 0x40122769 in scm_dapply ()
#81 0x40120908 in scm_deval ()
#82 0x40122932 in scm_dapply ()
#83 0x4011e00d in scm_apply ()
#84 0x401186d0 in scm_dynamic_wind ()
#85 0x40121ebb in scm_deval ()
#86 0x40122932 in scm_dapply ()
#87 0x4011e00d in scm_apply ()
#88 0x401186d0 in scm_dynamic_wind ()
#89 0x40121ebb in scm_deval ()
#90 0x4011fa56 in scm_deval ()
#91 0x40120f70 in scm_deval ()
#92 0x4011f9d2 in scm_deval ()
#93 0x40120312 in scm_deval ()
#94 0x40122932 in scm_dapply ()
#95 0x4011e00d in scm_apply ()
#96 0x401186d0 in scm_dynamic_wind ()
#97 0x40121ebb in scm_deval ()
#98 0x4011fa56 in scm_deval ()
#99 0x40120312 in scm_deval ()
#100 0x4011fa56 in scm_deval ()
#101 0x4012028b in scm_deval ()
#102 0x4011fa56 in scm_deval ()
#103 0x4012028b in scm_deval ()
#104 0x4011f04e in scm_eval_3 ()
#105 0x4011f11f in scm_eval_x ()
#106 0x4012ed5e in load ()
#107 0x40118844 in scm_internal_dynamic_wind ()
#108 0x4012ee3a in scm_primitive_load ()
#109 0x40121ed4 in scm_deval ()
#110 0x4011f04e in scm_eval_3 ()
#111 0x40117758 in scm_start_stack ()
#112 0x401177fa in scm_m_start_stack ()
#113 0x40122769 in scm_dapply ()
#114 0x40120908 in scm_deval ()
#115 0x40122932 in scm_dapply ()
#116 0x4011e00d in scm_apply ()
#117 0x401186d0 in scm_dynamic_wind ()
---Type <return> to continue, or q <return> to quit---
#118 0x40121ebb in scm_deval ()
#119 0x40122932 in scm_dapply ()
#120 0x4011e00d in scm_apply ()
#121 0x401186d0 in scm_dynamic_wind ()
#122 0x40121ebb in scm_deval ()
#123 0x4011fa56 in scm_deval ()
#124 0x40120f70 in scm_deval ()
#125 0x4011f9d2 in scm_deval ()
#126 0x40120312 in scm_deval ()
#127 0x40122932 in scm_dapply ()
#128 0x4011e00d in scm_apply ()
#129 0x401186d0 in scm_dynamic_wind ()
#130 0x40121ebb in scm_deval ()
#131 0x4011fa56 in scm_deval ()
#132 0x40120312 in scm_deval ()
#133 0x4011fa56 in scm_deval ()
#134 0x4012028b in scm_deval ()
#135 0x4011fa56 in scm_deval ()
#136 0x4012028b in scm_deval ()
#137 0x4011f04e in scm_eval_3 ()
#138 0x4011f11f in scm_eval_x ()
#139 0x4012ed5e in load ()
#140 0x40118844 in scm_internal_dynamic_wind ()
#141 0x4012ee3a in scm_primitive_load ()
#142 0x40121ed4 in scm_deval ()
#143 0x4011f04e in scm_eval_3 ()
#144 0x40117758 in scm_start_stack ()
#145 0x401177fa in scm_m_start_stack ()
#146 0x40122769 in scm_dapply ()
#147 0x40120908 in scm_deval ()
#148 0x40122932 in scm_dapply ()
#149 0x4011e00d in scm_apply ()
#150 0x401186d0 in scm_dynamic_wind ()
#151 0x40121ebb in scm_deval ()
#152 0x40122932 in scm_dapply ()
#153 0x4011e00d in scm_apply ()
#154 0x401186d0 in scm_dynamic_wind ()
#155 0x40121ebb in scm_deval ()
#156 0x4011fa56 in scm_deval ()
#157 0x40120f70 in scm_deval ()
#158 0x4011f9d2 in scm_deval ()
#159 0x40120312 in scm_deval ()
#160 0x40122932 in scm_dapply ()
#161 0x4011e00d in scm_apply ()
#162 0x401186d0 in scm_dynamic_wind ()
#163 0x40121ebb in scm_deval ()
#164 0x4011fa56 in scm_deval ()
#165 0x40120312 in scm_deval ()
#166 0x4011fa56 in scm_deval ()
#167 0x4012028b in scm_deval ()
#168 0x4012028b in scm_deval ()
#169 0x40122932 in scm_dapply ()
#170 0x4011e00d in scm_apply ()
#171 0x4011e9b4 in scm_for_each ()
#172 0x40121ebb in scm_deval ()
#173 0x4011f04e in scm_eval_3 ()
#174 0x4011f11f in scm_eval_x ()
#175 0x805be31 in scwm_body_eval_x (body_data=0xbffff0b0) at callbacks.c:245
#176 0x401510d5 in scm_internal_lazy_catch ()
---Type <return> to continue, or q <return> to quit---
#177 0x401511a1 in cwss_body ()
#178 0x40150f53 in scm_internal_catch ()
#179 0x401511e4 in scm_internal_stack_catch ()
#180 0x805be7f in scwm_body_load (body_data=0xbffff1d0) at callbacks.c:251
#181 0x40150f53 in scm_internal_catch ()
#182 0x8065ae7 in scm_internal_cwdr_no_unwind (
    body=0x805be34 <scwm_body_load>, body_data=0xbffff1d0, 
    handler=0x8054cfc <scm_handle_by_message_noexit>, handler_data=0x807b296, 
    stack_start=0xbffff1c4) at guile-compat.c:100
#183 0x805bf64 in safe_load (fname=1077119832) at callbacks.c:302
#184 0x40121ed4 in scm_deval ()
#185 0x4011f04e in scm_eval_3 ()
#186 0x4011f11f in scm_eval_x ()
#187 0x805be31 in scwm_body_eval_x (body_data=0xbffff3fc) at callbacks.c:245
#188 0x401510d5 in scm_internal_lazy_catch ()
#189 0x401511a1 in cwss_body ()
#190 0x40150f53 in scm_internal_catch ()
#191 0x401511e4 in scm_internal_stack_catch ()
#192 0x805befd in scwm_body_eval_str (body_data=0x807d0a0) at callbacks.c:251
#193 0x40150f53 in scm_internal_catch ()
#194 0x8065ae7 in scm_internal_cwdr_no_unwind (
    body=0x805bea4 <scwm_body_eval_str>, body_data=0x807d0a0, 
    handler=0x8054cfc <scm_handle_by_message_noexit>, handler_data=0x807b296, 
    stack_start=0xbffff510) at guile-compat.c:100
#195 0x805bf9d in scwm_safe_eval_str (
    string=0x807d0a0 "(let ((home-scwmrc       (string-append (getenv \"HOME\") \"/\" \".scwmrc\"))      (system-scwmrc \"/usr/local/lib/X11/scwm/system.scwmrc\")) (if (access? home-scwmrc R_OK)     (safe-load home-scwmrc)     (if"...)
    at callbacks.c:316
#196 0x8070656 in scwm_main (argc=1, argv=0xbffff9a4) at scwm.c:968
#197 0x4012ad2b in gh_launch_pad ()
#198 0x4012cfb2 in invoke_main_func ()
#199 0x401510d5 in scm_internal_lazy_catch ()
#200 0x4012cf6d in scm_boot_guile_1 ()
#201 0x4012cd25 in scm_boot_guile ()
#202 0x4012ad59 in gh_enter ()
#203 0x806fd8f in main (argc=1, argv=0xbffff9a4) at scwm.c:496
#204 0x401c2ca7 in __libc_start_main (main=0x806fd7c <main>, argc=1, 
    argv=0xbffff9a4, init=0x805439c <_init>, fini=0x807ab5c <_fini>, 
    rtld_fini=0x40009c30 <_dl_fini>, stack_end=0xbffff99c)
    at ../sysdeps/generic/libc-start.c:78
(gdb) 

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Even Windows doesn't suck, when you use Common Lisp

From owner-scwm-discuss@mit.edu  Sun Mar 21 16:27:55 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA29955
	for scwm-discuss-outgoing; Sun, 21 Mar 1999 16:27:55 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA29952
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 21 Mar 1999 16:27:54 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA02927; Sun, 21 Mar 99 16:24:32 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA18089; Sun, 21 Mar 1999 13:23:40 -0800 (PST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Configuration Manager, polished look and feel
References: <199903191329.NAA00262@penelope.ecs.soton.ac.uk> <qrrn218mw0p.fsf@elwha.cs.washington.edu> <ws677wyvkn.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Mar 1999 13:23:40 -0800
In-Reply-To: Robert Bihlmeyer's message of "20 Mar 1999 17:28:24 +0100"
Message-Id: <qrr90cqmt9f.fsf@elwha.cs.washington.edu>
Lines: 42
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> >>>>> On 19 Mar 1999 23:59:34 -0800
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
>  Greg> Ironically, I *think* the fvwm2 menuing code that I wrote was
>  Greg> the first place in an X11 wm that did the animated menu stuff.
> 
> Did you have it before windowmaker? Well, it's too late to file
> patents, anyway <g>.

Not sure -- they don't give dates in their ChangeLog, so we may never
know. :-)

> 
>  Greg> I'll have to try E! to figure out what this exactly is-- I've
>  Greg> not used it in a long time.
> 
> You move a half-translucent image of the window around the screen.
> Without looking at E's code, you probably do
> "img = Imlib_create_image_from_drawable()", then "memset(img->alpha_data, 
> 128, img->rgb_width * img->rgb_height)" and draw img into the root
> window. You'd also have to grab the server, which is not compatible
> with Cassowary.

Actually, it's not grabbing the server that is incompatible with
cassowary-- it just that using the constraint solver can result in
multiple windows moving/resizing simultaneously.   The current
architecture for rubberbanding windows insufficiently general to do this 
well (it only works on a single distinguished window, which is no longer 
an accurate model when using Cassowary).  Still, the same sorts of
issues arise with the translucent moves, it seems.  But it could be an
option for when the constraint solver is not running.

It sounds as if this translucent move stuff is like the see-through
xterms with E!... if so, it really seems like a bit of an ugly hack to
do something that'd best be supported by the X server and (ideally) the
hardware.  That said, if the effect is entertaining, then it's worth
having as an option given that it doesn't hurt anybody as long as it's a 
loadable module.

Greg

From owner-scwm-discuss@mit.edu  Sun Mar 21 16:30:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA29996
	for scwm-discuss-outgoing; Sun, 21 Mar 1999 16:30:03 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA29993
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 21 Mar 1999 16:30:02 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA19196; Sun, 21 Mar 99 16:25:48 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA18092; Sun, 21 Mar 1999 13:25:49 -0800 (PST)
To: Ken Pizzini <ken@halcyon.com>
Cc: scwm-discuss@mit.edu
Subject: Re: Window group feature
References: <qrriubys8l2.fsf@elwha.cs.washington.edu> <wsn219d6hw.fsf@orcus.priv.at> <qrrk8wcmv26.fsf@elwha.cs.washington.edu> <19990320090136Z276583-384+223@pulsar.halcyon.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Mar 1999 13:25:49 -0800
In-Reply-To: Ken Pizzini's message of "Sat, 20 Mar 1999 01:01:26 -0800"
Message-Id: <qrr677umt5u.fsf@elwha.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Ken Pizzini <ken@halcyon.com> writes:

> On 20 Mar 1999 00:20:17 -0800, Greg Badros <gjb@cs.washington.edu> wrote:
> >> * Close/Destroy: Close/Destroy all the windows in random order.
> >>   Usefulness dubious.
> >
> >Not sure what you mean here... closing one gimp window probably
> >shouldn't close the others, I'd think.
> 
> I'd think a regular close would just close that one window,
> but a _group_ close would attempt to close all windows in
> that group.  I think the question is whether a close-group
> form should be provided --- i.e., is this more useful than
> problematic?

Maybe we make a menu that contains all the window group leaders (even if 
they correspond to windows that haven't been mapped) and have some
group-centered options there, including "Close Group".

Greg

From owner-scwm-discuss@mit.edu  Sun Mar 21 16:38:58 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA30208
	for scwm-discuss-outgoing; Sun, 21 Mar 1999 16:38:58 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA30194
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 21 Mar 1999 16:38:52 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA19937; Sun, 21 Mar 99 16:34:39 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA18095; Sun, 21 Mar 1999 13:34:39 -0800 (PST)
To: "Daniel Solaz" <dsolaz@sistelcom.com>
Cc: scwm-discuss@mit.edu
Subject: Re: Much improved Scwm Web Page
References: <qrrvhfztabg.fsf@elwha.cs.washington.edu> <36F3F031.624DB041@sistelcom.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Mar 1999 13:34:38 -0800
In-Reply-To: "Daniel Solaz"'s message of "Sat, 20 Mar 1999 20:00:01 +0100"
Message-Id: <qrr3e2ymsr5.fsf@elwha.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

"Daniel Solaz" <dsolaz@sistelcom.com> writes:

> Greg Badros wrote:
> > I made some substantial revisions to the Scwm web page:
> Unfortunately you forgot to put complete HTML color info on the page. 
> Try reading it with a browser set to white text on dark background...

Instead, I removed the bgcolor tag.  Interestingly, at a certain level,
this is what my current research involves -- I'm adding constraints to
CSS so that the designer and readers (sometimes conflicting) preferences 
get worked out more reasonably than they often do now.  In this case,
I'd have a required constraint that the contrast between the fgcolor and 
the bgcolor be greater than some threshold, and specify my desired
constraint that the bg be white.  Then, when your browser is set to use
white text, something will give and you'll either get white text on an
off-white background (if the designed [my] constraint was weaker than
yours) or you'll get darker text on a white background (if my constraint 
was stronger).

Colors, of course, aren't the only place where this is useful (though if 
you're interested in colors, check out Blair McIntyre's thesis).

Anyway, I digress, thanks for the note.  I'm far more interested in
the pages being readable for everyone than what color the bg is, so this 
should fix things.
Greg

From owner-scwm-discuss@mit.edu  Sun Mar 21 16:40:24 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA30253
	for scwm-discuss-outgoing; Sun, 21 Mar 1999 16:40:24 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA30249
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 21 Mar 1999 16:40:22 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA04030; Sun, 21 Mar 99 16:36:59 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA18098; Sun, 21 Mar 1999 13:36:11 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Re: gnome on rawhide requires enlightenment!
References: <m3lngzwvmg.fsf@eho.eaglets.com> <m390cqu15d.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Mar 1999 13:36:11 -0800
In-Reply-To: Sam Steingold's message of "21 Mar 1999 13:51:26 -0500"
Message-Id: <qrrzp56le44.fsf@elwha.cs.washington.edu>
Lines: 10
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> The yesterday's release of rawhide persists in requiring E for Gnome.
> I wonder what else can be done?

Are there other packagings of Gnome?  We could certainly make one.  Or
we could make a pseudo-E! rpm that only pretends to be E! to work around 
this bug in Gnome's packaging! :-)

Greg

From owner-scwm-discuss@mit.edu  Sun Mar 21 16:48:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA30339
	for scwm-discuss-outgoing; Sun, 21 Mar 1999 16:48:37 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA30336
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 21 Mar 1999 16:48:35 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA20893; Sun, 21 Mar 99 16:44:22 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA18113; Sun, 21 Mar 1999 13:44:25 -0800 (PST)
To: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: Re: crash
References: <m34sneilvi.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Mar 1999 13:44:25 -0800
In-Reply-To: Sam Steingold's message of "21 Mar 1999 16:16:49 -0500"
Message-Id: <qrrvhfuldqe.fsf@elwha.cs.washington.edu>
Lines: 6
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hmmm, I'm using hand-built gtk+-1.2.0 with Scwm and have no problems.
This may be some library compatibility problem again.

Anybody else seen this?

Greg

From owner-scwm-discuss@mit.edu  Sun Mar 21 17:43:47 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA30714
	for scwm-discuss-outgoing; Sun, 21 Mar 1999 17:43:47 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA30711
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 21 Mar 1999 17:43:44 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA26914; Sun, 21 Mar 99 17:39:30 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Sun, 21 Mar 1999 17:38:26 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Sun, 21 Mar 1999 17:38:26 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id RAA08695;
	Sun, 21 Mar 1999 17:39:22 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: gnome on rawhide requires enlightenment!
References: <m3lngzwvmg.fsf@eho.eaglets.com> <m390cqu15d.fsf@eho.eaglets.com> <qrrzp56le44.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "21 Mar 1999 13:36:11 -0800"
Date: 21 Mar 1999 17:39:22 -0500
Message-Id: <m3ww0ah3hh.fsf@eho.eaglets.com>
Lines: 21
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrrzp56le44.fsf@elwha.cs.washington.edu>
>>>> On the subject of "Re: gnome on rawhide requires enlightenment!"
>>>> Sent on 21 Mar 1999 13:36:11 -0800
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> Sam Steingold <sds@goems.com> writes:
 >> 
 >> > The yesterday's release of rawhide persists in requiring E for Gnome.
 >> > I wonder what else can be done?
 >> 
 >> Are there other packagings of Gnome?  We could certainly make one.
 >> Or we could make a pseudo-E! rpm that only pretends to be E! to work
 >> around this bug in Gnome's packaging! :-)

this is not a solution.
RH should have a pseudopackage `gnome-wm' and scwm should provide it.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
main(a){printf(a,34,a="main(a){printf(a,34,a=%c%s%c,34);}",34);}

From owner-scwm-discuss@mit.edu  Sun Mar 21 19:52:31 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA31322
	for scwm-discuss-outgoing; Sun, 21 Mar 1999 19:52:31 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA31319
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 21 Mar 1999 19:52:29 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA21974; Sun, 21 Mar 99 19:49:05 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA18230; Sun, 21 Mar 1999 16:48:17 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Re: gnome on rawhide requires enlightenment!
References: <m3lngzwvmg.fsf@eho.eaglets.com> <m390cqu15d.fsf@eho.eaglets.com> <qrrzp56le44.fsf@elwha.cs.washington.edu> <m3ww0ah3hh.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Mar 1999 16:48:17 -0800
In-Reply-To: Sam Steingold's message of "21 Mar 1999 17:39:22 -0500"
Message-Id: <qrrsoayl57y.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> >>>> In message <qrrzp56le44.fsf@elwha.cs.washington.edu>
> >>>> On the subject of "Re: gnome on rawhide requires enlightenment!"
> >>>> Sent on 21 Mar 1999 13:36:11 -0800
> >>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
>  >> Sam Steingold <sds@goems.com> writes:
>  >> 
>  >> > The yesterday's release of rawhide persists in requiring E for Gnome.
>  >> > I wonder what else can be done?
>  >> 
>  >> Are there other packagings of Gnome?  We could certainly make one.
>  >> Or we could make a pseudo-E! rpm that only pretends to be E! to work
>  >> around this bug in Gnome's packaging! :-)
> 
> this is not a solution.
> RH should have a pseudopackage `gnome-wm' and scwm should provide it.

No, it's a workaround (like I wrote).  If they're not going to be
cooperative (I'm not sure that they're not, but they haven't been so
far), then we have to do something other than the right solution.

Greg

From owner-scwm-discuss@mit.edu  Sun Mar 21 20:04:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA31499
	for scwm-discuss-outgoing; Sun, 21 Mar 1999 20:04:13 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA31496
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 21 Mar 1999 20:04:11 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA22985; Sun, 21 Mar 99 20:00:46 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA18233; Sun, 21 Mar 1999 16:59:58 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: fvwm2rc-to-scwmrc converter
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Mar 1999 16:59:58 -0800
Message-Id: <qrroglml4oh.fsf@elwha.cs.washington.edu>
Lines: 789
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Since it rained yesterday here in often-sunny Melbourne, I ended up
coding a fvwm2rc translator in Perl, based on the design I've rambled on 
a bit about here.  I've just committed my first go at it, which is only
kinda-sorta tested against RedHat 5.x's system.fvwm2rc.  It seems to
pretty much do the right thing, and handles *all* of system.fvwm2rc,
converting to a pretty usable .scwmrc.  Numerous commands conversions
aren't yet implemented, but the framework is all there and it shouldn't
be that hard to finish off (I just don't have time right now).

What follows is the *unedited* scwmrc generated by my script  from
/etc/X11/fvwm2/system.fvwm2rc of RedHat 5.x.  The code will follow in a
separate email for those of you not interested in messing with anoncvs
to get it, or waiting for a snapshot.

Note that the converter puts fvwm2 functions where they are first
encountered (unless you give it the '-1' option to restrict it to a
single pass and reduce memory consumption).  Also note that menus with
pixmaps, sub menus, modules, functions, bindings, and more are all
attempted to be preserved.

Greg


;;; Auto-generated scwmrc created by fvwm2rc-to-scwmrc
;;; fvwm2rc-to-scwmrc converter is 
;;; (C) 1999 Greg J. Badros <gjb@cs.washington.edu>
;;; Use at your own risk!
;;; http://vicarious-existence.mit.edu/scwm
;;; http://www.cs.washington.edu/homes/gjb
;;;
;;; Generated Mon Mar 22 11:53:58 EST 1999
;;; Using command line: "fvwm2rc-to-scwmrc /etc/X11/fvwm2/system.fvwm2rc"
;;;
;;; BEWARE OF ALL COMMENTS IN THE CONVERTED TEXT
;;; fvwm2rc comments have been copied unchanged
;;; into this scwmrc file, and may not be appropriate,
;;; may not be correct, and may not use scheme syntax
;;; when demonstrating functionality.
;;;
;;; Also, be warned that not all of the fvwm2rc commands
;;; are supported.  You should search the output for
;;; instances of "&&&" and "eval-fvwm-command" for places
;;; where the script probably did not do the right thing.
;;;

(use-modules (app scwm base)
	     (app scwm winops)
	     (app scwm winlist)
	     (app scwm wininfo)
             (app scwm style)
	     (app scwm face)
	     (app scwm optargs)
	     (app scwm menus-extras)
	     (app scwm std-menus)
	     (app scwm prefs-menu)
	     (app scwm doc)
	     (app scwm virtual)
	     (app scwm flux)
	     (app scwm fvwm-module)
	     (app scwm path-cache)
	     (app scwm animation)
	     (app scwm message-window)
	     (app scwm animated-iconify)
	     )

;; Uncomment the below to send a single UDP packet to
;; the scwm usage counter machine at startup
;; The single packet just contains the hostname and version number
;; To disable, set environment variable SCWM_DO_NOT_LOG_USAGE
;;(define thank-scwm-authors-with-usage-note #t)

(set! image-load-path '())

;;; BEGIN CONVERTED FILE
;;; 
;;; .fvwm2rc95 example configuration file for fvwm95-2.0.41
;;; 
;;; ========================================================================#
;;; 
;;; Fonts - one for window titles, another for icons, and another for the menus
;;; 
(define window-font (make-font "-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*"))
(define icon-font (make-font "fixed"))
;;; MenuFont   	-adobe-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
;;; 
;;; Set the default window colors. The syntax is:
;;; DefaultColors winforecolor winbackcolor titleforecolor titlebackcolor
;;; where:
;;; winbackcolor    is the background (border) color of all windows,
;;; including the menu windows 
;;; winforecolor    is used for the menu text
;;; titlebackcolor  is the background color used for title bars of 
;;; non selected windows
;;; titleforecolor  is the color of the title text of non selected windows
;;; 
;;; DefaultColors   Black #c0c0c0 #c0c0c0 grey51
;;; 
;;; Text and background color for the title bar of the active (selected) window
;;; 
;;; HilightColors   White #000080
;;; 
;;; Text and background color for the title bar of sticky windows
;;; 
;;; StickyColors    grey51 #60c080
;;; You can also use the Style command to set the colors of individual
;;; title bars of some non-selected windows
(window-style "*" #:fg "#c0c0c0")


(window-style "*" #:bg "grey51")


;;; ========================================================================#
;;; 
;;; Set up the major operating modes
;;; 
(window-style "*" #:focus 'click)


;;; Comment the above and uncomment one of the following if you prefer
;;; focus follow mouse.
;;; Style "*" MouseFocus
;;; Style "*" SloppyFocus
;;; If we use the FvwmTaskBar we don't need the icons :-)
;;; Style "..." Icon are also commented below.
(window-style "*" #:show-icon #f)


(window-style "*" #:mwm-func-hint #t)


(window-style "*" #:hint-override #t)


(window-style "*" #:mwm-decor-hint #t)


(window-style "*" #:decorate-transient #t)


(set! opaque-move-percent 100)
(set-edge-scroll! 100 100)
(set-edge-resistance! #f 0)
;;; 
;;; RandomPlacement prevents user interaction while placing windows:
;;; 
(window-style "*" #:random-placement #t)


;;; 
;;; NoPPosition instructs fvwm to ignore the PPosition field in window 
;;; geometry hints. Emacs annoyingly sets PPosition to (0,0)!
;;; 
(window-style "*" #:PPosition-hint #f)


;;; ========================================================================#
;;; 
;;; Set the desk top size in units of physical screen size
;;; 
(set-desk-size! 3 2)
;;; ========================================================================#
;;; 
;;; Module path and paths to the icons
;;; ModulePath is a colon-separated list, just like regular unix PATH
;;; 
(set! fvwm2-module-path (list 
  "/usr/X11R6/lib/X11/fvwm2/"
  ))
(set! image-load-path (append image-load-path (list 
  "/usr/include/X11/pixmaps"
  "/usr/share/icons/mini/"
  )))
(set! image-load-path (append image-load-path (list 
  "/usr/include/X11/bitmaps"
  "/usr/share/icons/"
  )))
;;; ========================================================================#
;;; Set the decoration styles and window options
;;; If compatible styles are set for a single window in multiple Style
;;; commands, then the styles are ORed together. If conflicting styles
;;; are set, the last one specified is used.
;;; These commands should command before any menus or functions are defined,
;;; and before the internal pager is started.
;;; 
;;; Default border and handle widths
;;; 
(window-style "*" #:border-width 5 #:border-width 5)


(window-style "Fvwm*" #:no-titlebar #t #:sticky #t #:winlist-skip #t)


(window-style "Fvwm Pager" #:kept-on-top #t #:plain-border #t)


(window-style "FvwmBanner" #:kept-on-top #t)


(window-style "FvwmButtons" #:no-titlebar #t #:plain-border #t #:sticky #t #:winlist-skip #t #:border-width 5)


(window-style "*lock" #:no-titlebar #t #:plain-border #t #:sticky #t #:winlist-skip #t)


(window-style "xbiff" #:no-titlebar #t #:sticky #t #:winlist-skip #t)


;;; 
;;; Some mini-icons for the title bar
;;; 
(window-style "*" #:mini-icon "mini-x2.xpm")


(window-style "*xterm*" #:mini-icon "mini-term.xpm")


(window-style "rxvt" #:mini-icon "mini-term.xpm")


(window-style "xcalc" #:mini-icon "mini-calc.xpm")


(window-style "xsession" #:mini-icon "mini-bx2.xpm")


(window-style "xv" #:mini-icon "mini-xv.xpm")


(window-style "Netscape" #:mini-icon "mini-nscape.xpm")


(window-style "xmag" #:mini-icon "mini-zoom.xpm")


(window-style "textedit" #:mini-icon "mini-edit.xpm")


(window-style "tkps" #:mini-icon "mini-run.xpm")


(window-style "Ghostview" #:mini-icon "mini-gv.xpm")


(window-style "Xcolorsel" #:mini-icon "mini-colors.xpm")


(window-style "IDL*" #:mini-icon "mini-zoom.xpm")


(window-style "xeyes" #:mini-icon "mini-eyes.xpm")


(window-style "*fm*" #:mini-icon "mini-filemgr.xpm")


;;; xman resource names
(window-style "topBox" #:mini-icon "mini-book1.xpm")


(window-style "help" #:mini-icon "mini-book2.xpm")


(window-style "manualBrowser" #:mini-icon "mini-book2.xpm")


;;; xpaint resource names
(window-style "xpaint" #:mini-icon "mini-paint.xpm")


(window-style "Canvas" #:mini-icon "mini-paint.xpm")


(window-style "fatbits" #:mini-icon "mini-paint.xpm")


(window-style "filebrowser" #:mini-icon "mini-ofolder.xpm")


(window-style "FvwmFile" #:mini-icon "mini-ofolder.xpm")


(window-style "XDbx" #:mini-icon "mini-bug2.xpm")


;;; Style "rxvt"       Icon  term.xpm
;;; Style "xterm"      Icon xterm.xpm
;;; Style "color_xterm" Icon rterm.xpm
;;; Style "Appointment" Icon datebook.xpm
;;; Style "xcalc"      Icon Rcalc.xpm
;;; Style "xbiff"      Icon mail1.xpm
;;; Style "xmh"        Icon mail1.xpm, StartsOnDesk 2
;;; Style "xman"	   Icon xman.xpm
;;; Style "xvgr"	   Icon graphs.xpm
;;; Style "matlab"	   Icon math4.xpm
;;; Style "xmag"	   Icon mag_glass.xpm
;;; Style "xgraph"	   Icon graphs.xpm
;;; Style "xv"         Icon xview.xpm
;;; Style "FvwmButtons"  Icon toolbox.xpm
;;; Style "xconsole"   Icon koala.xpm
;;; Style "xsession"   Icon koala.xpm
;;; Style "textedit"   Icon textedit.xpm
;;; Style "ghostview"  Icon gv.xpm
;;; ========================================================================#
;;; 
;;; Stuff to do at start-up
;;; 
;;; Start of fvwm2 Function InitFunction
(define (fvwm2-func-InitFunction)
  (exe "xsetroot -solid cyan4 &")
  (define fvwm2-module-FvwmButtons (run-fvwm2-module "FvwmButtons"))
  (define fvwm2-module-FvwmTaskBar (run-fvwm2-module "FvwmTaskBar"))
  )
;;; +                          "I" Module FvwmBanner
;;; +                          "I" Module FvwmPager 0 3
;;; Start of fvwm2 Function RestartFunction
(define (fvwm2-func-RestartFunction)
  (define fvwm2-module-FvwmButtons (run-fvwm2-module "FvwmButtons"))
  (define fvwm2-module-FvwmTaskBar (run-fvwm2-module "FvwmTaskBar"))
  )
;;; +                          "I" Module FvwmPager 0 3
;;; ========================================================================#
;;; Now define some handy complex functions
;;; 
;;; This one moves and then raises the window if you drag the mouse,
;;; only raises the window if you click, or does a full maximize if 
;;; you double click
;;; 
;;; Start of fvwm2 Function Move-or-Raise
(define (fvwm2-func-Move-or-Raise)
  (case (mouse-event-type)
    ((motion) (move-window))
    ((motion) (raise-window))
    ((click) (raise-window))
    ((double-click) (maximize-window (%x 100) (%y 100)))
  ))
;;; 
;;; This one moves and then lowers the window if you drag the mouse,
;;; only lowers the window if you click, or does a RaiseLower if you double 
;;; click
;;; 
;;; Start of fvwm2 Function Move-or-Lower
(define (fvwm2-func-Move-or-Lower)
  (case (mouse-event-type)
    ((motion) (move-window))
    ((motion) (lower-window))
    ((click) (lower-window))
    ((double-click) (toggle-raise))
  ))
;;; 
;;; This one moves or (de)iconifies:
;;; 
;;; Start of fvwm2 Function Move-or-Iconify
(define (fvwm2-func-Move-or-Iconify)
  (case (mouse-event-type)
    ((motion) (move-window))
    ((double-click) (iconify-window))
  ))
;;; 
;;; This one resizes and then raises the window if you drag the mouse,
;;; only raises the window if you click,  or does a RaiseLower if you double 
;;; click
;;; 
;;; Start of fvwm2 Function Resize-or-Raise
(define (fvwm2-func-Resize-or-Raise)
  (case (mouse-event-type)
    ((motion) (resize-window))
    ((motion) (raise-window))
    ((click) (raise-window))
    ((double-click) (toggle-raise))
  ))
;;; ========================================================================#
;;; 
;;; Now define the menus - defer bindings until later
;;; 
;;; This is for the Start menu of the FvwmTaskBar
;;; Start of fvwm2 Menu StartMenu
(define fvwm2-menu-StartMenu (menu (list
  (menuitem "New shell" #:image-left "mini-sh1.xpm" #:action (lambda () (exe "nxterm -ls -sb -fn 8x13 &")))
  (menuitem "Manual pages" #:image-left "mini-book1.xpm" #:action (lambda () (exe "xman &")))
  (menuitem "Magnifying glass" #:image-left "mini-zoom.xpm" #:action (lambda () (exe "xmag &")))
  (menuitem "Applications" #:image-left "mini-x2.xpm" #:action 'fvwm2-menu-Applications)
  (menuitem "Games" #:image-left "mini-happy.xpm" #:action 'fvwm2-menu-Games)
  menu-separator
  (menuitem "Lock Screen" #:image-left "mini-lock.xpm" #:action (lambda () (exe "xlock &")))
  (menuitem "Refresh Screen" #:image-left "mini-ray.xpm" #:action (lambda () (refresh)))
  menu-separator
  (menuitem "Exit Fvwm" #:image-left "mini-stop.xpm" #:action 'fvwm2-menu-Quit-Verify)
  )))
;;; Start of fvwm2 Menu Shells
(define fvwm2-menu-Shells (menu (list
  (menuitem "Shells" #f) menu-title
  (menuitem "Xterm" #:extra-label "(7x14 font)" #:image-left "mini-term.xpm" #:action (lambda () (exe "nxterm -sb -sl 500 -j -ls -fn 7x14 &")))
  (menuitem "Color Rxvt" #:extra-label "(VT100)" #:image-left "mini-term.xpm" #:action (lambda () (exe "rxvt -font 7x14 -ls &")))
  (menuitem "Color Xterm" #:extra-label "(7x14 font)" #:image-left "mini-term.xpm" #:action (lambda () (exe "nxterm -sb -sl 500 -j -ls -fn 7x14 -fb 7x14bold -title \"Color xterm\" &")))
  (menuitem "Color Xterm" #:extra-label "(8x13 font)" #:image-left "mini-term.xpm" #:action (lambda () (exe "nxterm -sb -sl 500 -j -ls -fn 8x13 -title \"Color xterm\" &")))
  menu-separator
  (menuitem "Large Xterm" #:extra-label "(10x20 font)" #:image-left "mini-term.xpm" #:action (lambda () (exe "nxterm -sb -sl 500 -j -ls -fn 10x20 &")))
  (menuitem "Large Rxvt" #:extra-label "(10x20 font)" #:image-left "mini-term.xpm" #:action (lambda () (exe "rxvt -font 10x20 -ls &")))
  (menuitem "Large Color Xterm" #:extra-label "(10x20 font)" #:image-left "mini-term.xpm" #:action (lambda () (exe "nxterm -sb -sl 500 -j -ls -fn 10x20 &")))
  )))
;;; Start of fvwm2 Menu Screensaver
(define fvwm2-menu-Screensaver (menu (list
  (menuitem "Screensaver" #f) menu-title
  (menuitem "Bat" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode bat &")))
  (menuitem "Blank" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode blank &")))
  (menuitem "Blot" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode blot &")))
  (menuitem "Bounce" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode bounce &")))
  (menuitem "Flame" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode flame &")))
  (menuitem "Galaxy" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode galaxy &")))
  (menuitem "Grav" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode grav &")))
  (menuitem "Helix" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode helix &")))
  (menuitem "Hop" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode hop &")))
  (menuitem "Hyper" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode hyper &")))
  (menuitem "Kaleid" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode kaleid &")))
  (menuitem "Life" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode life &")))
  (menuitem "Life3d" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode life3d &")))
  (menuitem "Maze" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode maze &")))
  (menuitem "Pyro" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode pyro &")))
  (menuitem "Qix" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode qix &")))
  (menuitem "Random" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode random &")))
  (menuitem "Rect" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode rect &")))
  (menuitem "Rock" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode rock &")))
  (menuitem "Rotor" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode rotor &")))
  (menuitem "Sphere" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode sphere &")))
  (menuitem "Spline" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode spline &")))
  (menuitem "Swarm" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode swarm &")))
  (menuitem "Wator" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode wator &")))
  (menuitem "Worm" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode worm &")))
  (menuitem "World" #:image-left "mini-bball.xpm" #:action (lambda () (exe "xlock -nolock -nice 0 -mode world &")))
  )))
;;; Start of fvwm2 Menu Screenlock
(define fvwm2-menu-Screenlock (menu (list
  (menuitem "Lock Screen" #f) menu-title
  (menuitem "Bat" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode bat &")))
  (menuitem "Blank" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode blank &")))
  (menuitem "Blot" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode blot &")))
  (menuitem "Bounce" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode bounce &")))
  (menuitem "Flame" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode flame &")))
  (menuitem "Galaxy" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode galaxy &")))
  (menuitem "Grav" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode grav &")))
  (menuitem "Helix" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode helix &")))
  (menuitem "Hop" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode hop &")))
  (menuitem "Hyper" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode hyper &")))
  (menuitem "Kaleid" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode kaleid &")))
  (menuitem "Life" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode life &")))
  (menuitem "Life3d" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode life3d &")))
  (menuitem "Maze" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode maze &")))
  (menuitem "Pyro" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode pyro &")))
  (menuitem "Qix" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode qix &")))
  (menuitem "Random" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode random &")))
  (menuitem "Rect" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode rect &")))
  (menuitem "Rock" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode rock &")))
  (menuitem "Rotor" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode rotor &")))
  (menuitem "Sphere" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode sphere &")))
  (menuitem "Spline" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode spline &")))
  (menuitem "Swarm" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode swarm &")))
  (menuitem "Wator" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode wator &")))
  (menuitem "Worm" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode worm &")))
  (menuitem "World" #:image-left "mini-rball.xpm" #:action (lambda () (exe "xlock -nice 0 -mode world &")))
  )))
;;; Start of fvwm2 Menu Games
(define fvwm2-menu-Games (menu (list
  (menuitem "Games" #f) menu-title
  (menuitem "Maze" #:image-left "mini-maze.xpm" #:action (lambda () (exe "maze &")))
  (menuitem "Spider" #:action (lambda () (exe "exec spider &")))
  (menuitem "Workman" #:image-left "mini-cdlabel.xpm" #:action (lambda () (exe "exec workman &")))
  (menuitem "Xboard" #:image-left "mini-slon.xpm" #:action (lambda () (exe "xboard &")))
  (menuitem "Xeyes" #:image-left "mini-eyes.xpm" #:action (lambda () (exe "xeyes &")))
  (menuitem "Xhextris" #:image-left "mini-hextris.xpm" #:action (lambda () (exe "exec xhextris &")))
  (menuitem "Xlander" #:action (lambda () (exe "exec xlander &")))
  (menuitem "Xlogo" #:image-left "mini-bx2.xpm" #:action (lambda () (exe "xlogo &")))
  (menuitem "Xmahjongg" #:image-left "mini-xmahjongg" #:action (lambda () (exe "exec xmahjongg &")))
  (menuitem "Xroach" #:image-left "mini-roach.xpm" #:action (lambda () (exe "exec xroach &")))
  (menuitem "Xtetris" #:image-left "mini-tetris.xpm" #:action (lambda () (exe "xtetris &")))
  (menuitem "Xvier" #:action (lambda () (exe "exec xvier &")))
  )))
;;; Start of fvwm2 Menu Applications
(define fvwm2-menu-Applications (menu (list
  (menuitem "Applications" #f) menu-title
  (menuitem "Ghostview" #:image-left "mini-gv.xpm" #:action (lambda () (exe "ghostview &")))
  (menuitem "Xview" #:image-left "mini-xv.xpm" #:action (lambda () (exe "xv &")))
  (menuitem "Textedit" #:image-left "mini-edit.xpm" #:action (lambda () (exe "textedit -geometry 630x490+95+5 &")))
  (menuitem "Xedit" #:image-left "mini-edit.xpm" #:action (lambda () (exe "xedit &")))
  (menuitem "Xfilemanager" #:image-left "mini-filemgr.xpm" #:action (lambda () (exe "xfilemanager &")))
  (menuitem "Xfm" #:image-left "mini-filemgr.xpm" #:action (lambda () (exe "xfm &")))
  (menuitem "Xfractint" #:image-left "mini-fractal.xpm" #:action (lambda () (exe "rxvt -font 7x14 -e xfractint map=chroma &")))
  (menuitem "Xpaint" #:image-left "mini-paint.xpm" #:action (lambda () (exe "xpaint &")))
  (menuitem "Xgrab" #:image-left "mini-camera.xpm" #:action (lambda () (exe "xgrab &")))
  (menuitem "Xcolormap" #:image-left "mini-colors.xpm" #:action (lambda () (exe "xcolormap &")))
  (menuitem "Xxgdb" #:image-left "mini-bug2.xpm" #:action (lambda () (exe "xxgdb &")))
  )))
;;; 
;;; This menu is invoked as a sub-menu - it allows you to quit,
;;; restart, or switch to another WM.
;;; 
;;; Start of fvwm2 Menu Quit-Verify
(define fvwm2-menu-Quit-Verify (menu (list
  (menuitem "Really Quit Fvwm?" #f) menu-title
  (menuitem "Restart" #:image-left "mini-turn.xpm" #:action (lambda () (restart "fvwm95-2")))
  menu-separator
  (menuitem "Start olvwm" #:image-left "mini-olwm.xpm" #:action (lambda () (restart "/usr/openwin/bin/olvwm")))
  (menuitem "Start olwm" #:image-left "mini-olwm.xpm" #:action (lambda () (restart "/usr/openwin/bin/olwm")))
  menu-separator
  (menuitem "Yes, Really Quit" #:image-left "mini-exclam.xpm" #:action (lambda () (quit)))
  menu-separator
  )))
;;; 
;;; Provides a list of modules to fire off
;;; 
;;; Start of fvwm2 Menu Module-Popup
(define fvwm2-menu-Module-Popup (menu (list
  (menuitem "Modules" #f) menu-title
  (menuitem "Buttons" #:action (lambda () (define fvwm2-module-FvwmButtons (run-fvwm2-module "FvwmButtons"))))
  (menuitem "Clean-Up" #:image-left "mini-pencil.xpm" #:action (lambda () (define fvwm2-module-FvwmClean (run-fvwm2-module "FvwmClean"))))
  (menuitem "Task bar" #:action (lambda () (define fvwm2-module-FvwmTaskBar (run-fvwm2-module "FvwmTaskBar"))))
  (menuitem "Identify" #:image-left "mini-question.xpm" #:action (lambda () (define fvwm2-module-FvwmIdent (run-fvwm2-module "FvwmIdent"))))
  (menuitem "Save Desktop" #:action (lambda () (define fvwm2-module-FvwmSave (run-fvwm2-module "FvwmSave"))))
  (menuitem "Debug" #:image-left "mini-bug2.xpm" #:action (lambda () (define fvwm2-module-FvwmDebug (run-fvwm2-module "FvwmDebug"))))
  (menuitem "Pager" #:action (lambda () (define fvwm2-module-FvwmPager (run-fvwm2-module "FvwmPager"))))
  (menuitem "Window List" #:image-left "mini-windows.xpm" #:action (lambda () (define fvwm2-module-FvwmWinList (run-fvwm2-module "FvwmWinList"))))
  (menuitem "Talk" #:action (lambda () (define fvwm2-module-FvwmTalk (run-fvwm2-module "FvwmTalk"))))
  (menuitem "Configure" #:image-left "mini-hammer.xpm" #:action (lambda () (define fvwm2-module-FvwmConfig (run-fvwm2-module "FvwmConfig"))))
  )))
;;; 
;;; This menu will fire up some very common utilities
;;; 
;;; Start of fvwm2 Menu Utilities
(define fvwm2-menu-Utilities (menu (list
  (menuitem "Utilities" #f) menu-title
  (menuitem "Top" #:image-left "mini-run.xpm" #:action (lambda () (exe "rxvt -font 7x14 -T Top -n Top -e top &")))
  (menuitem "Calculator" #:image-left "mini-calc.xpm" #:action (lambda () (exe "xcalc &")))
  (menuitem "Manual pages" #:image-left "mini-book1.xpm" #:action (lambda () (exe "xman &")))
  (menuitem "Magnifying glass" #:image-left "mini-zoom.xpm" #:action (lambda () (exe "xmag &")))
  (menuitem "Oclock" #:image-left "mini-clock.xpm" #:action (lambda () (exe "oclock &")))
  menu-separator
  (menuitem "Applications" #:image-left "mini-x2.xpm" #:action 'fvwm2-menu-Applications)
  (menuitem "Shells" #:image-left "mini-term.xpm" #:action 'fvwm2-menu-Shells)
  (menuitem "Games" #:image-left "mini-happy.xpm" #:action 'fvwm2-menu-Games)
  menu-separator
  (menuitem "Screensaver" #:image-left "mini-display.xpm" #:action 'fvwm2-menu-Screensaver)
  (menuitem "Lock Screen" #:image-left "mini-lock.xpm" #:action 'fvwm2-menu-Screenlock)
  menu-separator
  (menuitem "Modules" #:image-left "mini-modules.xpm" #:action 'fvwm2-menu-Module-Popup)
  menu-separator
  (menuitem "Refresh Screen" #:image-left "mini-ray.xpm" #:action (lambda () (refresh)))
  menu-separator
  (menuitem "Exit Fvwm" #:image-left "mini-stop.xpm" #:action 'fvwm2-menu-Quit-Verify)
  )))
;;; 
;;; This defines the most common window operations
;;; 
;;; Start of fvwm2 Menu Window
(define fvwm2-menu-Window (menu (list
  (menuitem "Window Ops" #f) menu-title
  (menuitem "&Move" #:action (lambda () (fvwm2-func-Move-or-Raise)))
  (menuitem "&Resize" #:action (lambda () (fvwm2-func-Resize-or-Raise)))
  (menuitem "R&aise" #:image-left "mini-raise.xpm" #:action (lambda () (raise-window)))
  (menuitem "&Lower" #:image-left "mini-lower.xpm" #:action (lambda () (lower-window)))
  (menuitem "(De)Iconify" #:action (lambda () (iconify-window)))
  (menuitem "(Un)Stick" #:action (lambda () (stick-window)))
  (menuitem "(Un)Maximize" #:action (lambda () (maximize-window (%x 100) (%y 100))))
  menu-separator
  (menuitem "Kill" #:action (lambda () (destroy-window)))
  (menuitem "&Close" #:action (lambda () (close-window)))
  menu-separator
  (menuitem "Switch to..." #:action (lambda () (show-window-list-menu)))
  (menuitem "Refresh Screen" #:image-left "mini-ray.xpm" #:action (lambda () (refresh)))
  )))
;;; 
;;; A trimmed down version of "Window Ops", good for binding to decorations
;;; 
;;; Start of fvwm2 Menu Window-Ops2
(define fvwm2-menu-Window-Ops2 (menu (list
  (menuitem "&Restore" #:action (lambda () (iconify-window)))
  (menuitem "&Move" #:action (lambda () (fvwm2-func-Move-or-Raise)))
  (menuitem "&Size" #:action (lambda () (fvwm2-func-Resize-or-Raise)))
  (menuitem "Mi&nimize" #:action (lambda () (iconify-window)))
  (menuitem "Ma&ximize" #:action (lambda () (maximize-window (%x 100) (%y 100))))
  menu-separator
  (menuitem "&Kill" #:action (lambda () (destroy-window)))
  (menuitem "&Close" #:extra-label "Alt+F4" #:action (lambda () (close-window)))
  )))
;;; ========================================================================#
;;; 
;;; One more complex function - couldn't be defined earlier because it used 
;;; pop-up menus
;;; 
;;; This creates the "system" menu for the title-bar window-ops
;;; pop-up
;;; 
;;; Start of fvwm2 Function window_ops_func
(define (fvwm2-func-window_ops_func)
  (case (mouse-event-type)
    ((click) (popup-menu 'fvwm2-menu-Window-Ops2))
    ((motion) (popup-menu 'fvwm2-menu-Window-Ops2))
    ((double-click) (close-window))
  ))
;;; ========================================================================#
;;; 
;;; Mouse bindings
;;; 
;;; First, for the mouse in the root window
;;; Button 1 gives the Utilities menu
;;; Button 2 gives the Window Ops menu
;;; Button 3 gives the WindowList (like TwmWindows)
;;; I use the AnyModifier (A) option for the modifier field, so you can hold down
;;; any shift-control-whatever combination you want!
;;; Button	Context Modifi 	Function
(bind-mouse 'root 1 (lambda () (popup-menu 'fvwm2-menu-Utilities)))
(bind-mouse 'root 2 (lambda () (popup-menu 'fvwm2-menu-Window)))
(bind-mouse 'root 3 (lambda () (show-window-list-menu)))
;;; Mouse 3	R    	A      	Module "winlist" FvwmWinList transient
;;; Now the title bar buttons
;;; Any button in the left title-bar button gives the window ops menu
;;; Any button in the first right title-bar button Iconifies the window
;;; Any button in the second title-bar button full-maximizes
;;; Any button in the third (rightmost) title-bar button closes
;;; Note the use of "Mouse 0" for AnyButton.
;;; Button	Context Modif 	Function
(bind-mouse 'left-button-1 0 (lambda () (fvwm2-func-window_ops_func)))
(bind-mouse 'right-button-1 1 (lambda () (close-window)))
(bind-mouse 'right-button-2 0 (lambda () (maximize-window (%x 100) (%y 100))))
(bind-mouse 'right-button-3 0 (lambda () (iconify-window)))
;;; 
;;; Now the rest of the frame
;;; Here I invoke my complex functions for Move-or-lower, Move-or-raise,
;;; and Resize-or-Raise. 
;;; 
;;; Button 1 in the corner pieces, with any modifiers, gives resize or raise
(bind-mouse 'frame 1 (lambda () (fvwm2-func-Resize-or-Raise)))
;;; Button 1 in the title, sides, or icon, w/ any modifiers, gives move or raise
(bind-mouse '(titlebar sidebar) 1 (lambda () (fvwm2-func-Move-or-Raise)))
;;; Button 1 in an icons gives move for a drag, de-iconify for a double-click,
;;; nothing for a single click
;;; Button 2 in an icon, w/ any modifiers, gives de-iconify
(bind-mouse 'icon 1 (lambda () (fvwm2-func-Move-or-Iconify)))
(bind-mouse 'icon 2 (lambda () (iconify-window)))
;;; Button 2 in the corners, sides, or title-bar gives the window ops menu
(bind-mouse '(frame sidebar titlebar) 2 (lambda () (fvwm2-func-window_ops_func)))
;;; Button 3 anywhere in the decoration (except the title-bar buttons)
;;; does a raise-lower
(bind-mouse '(titlebar sidebar icon frame) 3 (lambda () (toggle-raise)))
;;; Button 3 in the window, with the Modifier-1 key (usually alt or diamond)
;;; gives Raise-Lower. Used to use control here, but that interferes with xterm
(bind-mouse 'window "M-3" (lambda () (toggle-raise)))
;;; ========================================================================#
;;; Now some keyboard shortcuts.
;;; Arrow Keys
;;; press arrow + control anywhere, and scroll by 1 page
(bind-key 'all "C-Left" (lambda () (move-viewport (%x-permit-negative -100) (%y-permit-negative 0))))
(bind-key 'all "C-Right" (lambda () (move-viewport (%x-permit-negative +100) (%y-permit-negative +0))))
(bind-key 'all "C-Up" (lambda () (move-viewport (%x-permit-negative +0) (%y-permit-negative -100))))
(bind-key 'all "C-Down" (lambda () (move-viewport (%x-permit-negative +0) (%y-permit-negative +100))))
;;; press arrow + meta key, and scroll by 1/10 of a page
(bind-key 'all "M-Left" (lambda () (move-viewport (%x-permit-negative -10) (%y-permit-negative +0))))
(bind-key 'all "M-Right" (lambda () (move-viewport (%x-permit-negative +10) (%y-permit-negative +0))))
(bind-key 'all "M-Up" (lambda () (move-viewport (%x-permit-negative +0) (%y-permit-negative -10))))
(bind-key 'all "M-Down" (lambda () (move-viewport (%x-permit-negative +0) (%y-permit-negative +10))))
;;; press shift arrow + control anywhere, and move the pointer by 1% of a page
(bind-key 'all "S-C-Left" (lambda () (move-pointer (%x-permit-negative -1) (%y-permit-negative 0))))
(bind-key 'all "S-C-Right" (lambda () (move-pointer (%x-permit-negative +1) (%y-permit-negative +0))))
(bind-key 'all "S-C-Up" (lambda () (move-pointer (%x-permit-negative +0) (%y-permit-negative -1))))
(bind-key 'all "S-C-Down" (lambda () (move-pointer (%x-permit-negative +0) (%y-permit-negative +1))))
;;; press shift arrow + meta key, and move the pointer by 1/10 of a page
(bind-key 'all "S-M-Left" (lambda () (move-pointer (%x-permit-negative -10) (%y-permit-negative +0))))
(bind-key 'all "S-M-Right" (lambda () (move-pointer (%x-permit-negative +10) (%y-permit-negative +0))))
(bind-key 'all "S-M-Up" (lambda () (move-pointer (%x-permit-negative +0) (%y-permit-negative -10))))
(bind-key 'all "S-M-Down" (lambda () (move-pointer (%x-permit-negative +0) (%y-permit-negative +10))))
;;; Keyboard accelerators
(bind-key 'all "M-F1" (lambda () (popup-menu 'fvwm2-menu-Utilities)))
(bind-key 'all "M-F1" (lambda () (popup-menu 'fvwm2-menu-Utilities)))
(bind-key 'all "M-F2" (lambda () (popup-menu 'fvwm2-menu-Window)))
(bind-key 'all "M-F3" (lambda () (define fvwm2-module-WindowList (run-fvwm2-module "WindowList"))))
(bind-key 'all "M-F4" (lambda () (iconify-window)))
(bind-key 'all "M-F5" (lambda () (move-window)))
(bind-key 'all "M-F6" (lambda () (resize-window)))
;;; Page Up/Dapge Down keys are used to scroll by one desktop page
;;; in any context, press page up/down + control
;;; in root context, just pressing page up/down is OK
;;; 
;;; I prefer the non-wrapping scroll. These are for example purposes only
;;; Key Next	A       C       Scroll 100000 0
;;; Key Next	R       N       Scroll 100000 0  
;;; Key Prior	A       C       Scroll -100000 0
;;; Key Prior	R       N       Scroll -100000 0
(bind-key 'all "M-Tab" (lambda () (prev-window)))
(bind-key 'all "M-S-Tab" (lambda () (next-window)))
(bind-key 'all "C-Escape" (lambda () (show-window-list-menu)))
;;; ========================================================================#
;;; Definitions used by the modules
;;; ------------------ Pager
;;; Start of fvwm2 Module FvwmPager configuration
;;; [[@@&&modu-FvwmPager&&@@]]
;;; ------------------ FvwmButtons (from 2.0.42)
;;; Start of fvwm2 Module FvwmButtons configuration
;;; [[@@&&modu-FvwmButtons&&@@]]
;;; Geometry - really likes to pick its own size, but giving a position is OK
;;; Layout: specify rows or columns, not both
;;; Define the buttons to use.....
;;; ------------------ Identify
;;; Start of fvwm2 Module FvwmIdent configuration
;;; [[@@&&modu-FvwmIdent&&@@]]
;;; ------------------ FvwmWinList
;;; Start of fvwm2 Module FvwmWinList configuration
;;; [[@@&&modu-FvwmWinList&&@@]]
;;; ------------------ FvwmTaskBar
(window-style "FvwmTaskBar" #:no-titlebar #t #:border-width 4 #:border-width 4 #:sticky #t #:kept-on-top #t #:winlist-skip #t #:circulate-skip #t)


;;; Start of fvwm2 Module FvwmTaskBar configuration
;;; [[@@&&modu-FvwmTaskBar&&@@]]
;;; *FvwmTaskBarShowTransients
;;; *FvwmTaskBarClockFormat %I:%M%p
;;; *FvwmTaskBarHighlightFocus
;;; *FvwmTaskBarAutoHide
(register-fvwm2-module-config "FvwmTaskBar"
   "*FvwmTaskBarGeometry +0-0"
   "*FvwmTaskBarFore Black"
   "*FvwmTaskBarBack #c0c0c0"
   "*FvwmTaskBarTipsFore black"
   "*FvwmTaskBarTipsBack bisque"
   "*FvwmTaskBarFont -adobe-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*"
   "*FvwmTaskBarSelFont -adobe-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*"
   "*FvwmTaskBarAction Click1 Iconify -1,Raise,Focus"
   "*FvwmTaskBarAction Click2 Iconify"
   "*FvwmTaskBarAction Click3 Module \"FvwmIdent\" FvwmIdent"
   "*FvwmTaskBarUseSkipList "
   "*FvwmTaskBarAutoStick "
   "*FvwmTaskBarStartName Start"
   "*FvwmTaskBarStartMenu StartMenu"
   "*FvwmTaskBarStartIcon mini-exp.xpm"
   "*FvwmTaskBarShowTips "
   "*FvwmTaskBarMailCommand Exec nxterm -T Mail -ls -fn 8x13 -e pine -i"
)

(register-fvwm2-module-config "FvwmWinList"
   "*FvwmWinListBack #c0c0c0"
   "*FvwmWinListFore Black"
   "*FvwmWinListFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*"
   "*FvwmWinListAction Click1 Iconify -1,Focus"
   "*FvwmWinListAction Click2 Iconify"
   "*FvwmWinListAction Click3 Module \"FvwmIdent\" FvwmIdent"
   "*FvwmWinListUseSkipList "
   "*FvwmWinListGeometry +0-1"
   "*FvwmWinListShowCurrentDesk "
)

(register-fvwm2-module-config "FvwmIdent"
   "*FvwmIdentBack #000080"
   "*FvwmIdentFore Yellow"
   "*FvwmIdentFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*"
)

(register-fvwm2-module-config "FvwmButtons"
   "*FvwmButtonsFore Black"
   "*FvwmButtonsBack #c0c0c0"
   "*FvwmButtonsFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*"
   "*FvwmButtonsGeometry -5-34"
   "*FvwmButtonsRows 1"
   "*FvwmButtons(Title xclock, Icon clock.xpm, Swallow(UseOld) \"xclock\" 'Exec xclock -bg \#c0c0c0 -padding 0 -geometry -1500-1500 &')"
   "*FvwmButtons(2x1, Title load, Swallow(UseOld) \"xload\" 'Exec xload -nolabel -bg grey60 -update 5 -geometry -1500-1500 &')"
   "*FvwmButtons(Title xterm, Icon rterm.xpm, Action 'Exec \"XTerm\" nxterm -ls -sb -fn 8x13 -title \"Color xterm\" &')"
   "*FvwmButtons(Title xfm, Icon Xfm.xpm, Action 'Exec \"Xfm\" xfm -title \"File Manager\" &') "
   "*FvwmButtons(Title textedit, Icon textedit.xpm, Action 'Exec \"Textedit\" textedit &')"
   "*FvwmButtons(Title xcalc, Icon rcalc.xpm, Action 'Exec \"Calculator\" xcalc &')"
   "*FvwmButtons(Title xview, Icon xview.xpm, Action 'Exec \"xv\" xv &')"
   "*FvwmButtons(Title gview, Icon gv.xpm, Action 'Exec \"ghostview\" ghostview &')"
   "*FvwmButtons(Title netscape, Icon nscape.xpm, Action 'Exec \"Netscape\" netscape -geometry 920x622+90+5 &')"
   "*FvwmButtons(Title kill, Icon rbomb.xpm, Action Destroy)"
   "*FvwmButtons(2x1, Swallow(UseOld) \"Desktop\" 'FvwmPager 0 0')"
)

(register-fvwm2-module-config "FvwmPager"
   "*FvwmPagerBack grey60"
   "*FvwmPagerFore black"
   "*FvwmPagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*"
   "*FvwmPagerHilight #c0c0c0"
   "*FvwmPagerGeometry -1-1"
   "*FvwmPagerLabel 0 Desktop"
   "*FvwmPagerSmallFont 5x8"
)

(add-hook! startup-hook 
   (lambda () (if (not (restarted?)) (fvwm2-func-InitFunction))))

(add-hook! startup-hook 
   (lambda () (if (restarted?) (fvwm2-func-RestartFunction))))
;;; End of converted fvwm2rc

From owner-scwm-discuss@mit.edu  Sun Mar 21 20:06:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA31548
	for scwm-discuss-outgoing; Sun, 21 Mar 1999 20:06:38 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA31544
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 21 Mar 1999 20:06:35 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA10463; Sun, 21 Mar 99 20:02:19 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA18256; Sun, 21 Mar 1999 17:02:22 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: fvwm2rc-to-scwmrc script
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Mar 1999 17:02:22 -0800
Message-Id: <qrrlngql4kh.fsf@elwha.cs.washington.edu>
Lines: 1072
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Here's the script, as I just committed it to the repository.

Please send fixes and conversions for currently-unsupported fvwm2
commands to this list (or commit directly if you have write access).
It'd be great if someone would clean up the arg handling and go through
the fvwm2 man page and source function by function and add the missing
features and command converters in.  (Really *GREAT*!)

Thanks,
Greg


#!/usr/bin/perl -w
# (C) 1999 Greg J. Badros
# 21-March-1999
# Distributed under the GNU GPL
# See the PRESCRIPT text below for more
# details and warnings.

use strict;

use constant TRUE => (1==1);
use constant FALSE => (1==0);
use File::Basename;

my $getopts_option_letters = 'h1q';
use vars qw($opt_h $opt_1 $opt_q);

sub script_usage ( ) {
  print "@_\nUsage: $0 [-$getopts_option_letters]
-1       Use only one-pass, and put functions/menus/decors all at end.
-q       Quiet mode -- suppress warning messages
-h       Show this usage message
";
  exit 0;
}

use Getopt::Std;
getopts($getopts_option_letters);

script_usage() if ($opt_h);


my $last_context_name = undef;
my $last_context_type = undef;

my $two_pass = !$opt_1 || TRUE;
my $fQuiet = $opt_q || FALSE;

my @module_prefixes = qw( FvwmAudio FvwmAuto FvwmBacker FvwmBanner
FvwmButtons FvwmCascade FvwmCommand FvwmCommand.sh FvwmCommandS
FvwmConfig FvwmConsole FvwmConsoleC FvwmConsoleC.pl FvwmCpp
FvwmDebug FvwmForm FvwmGoodStuff FvwmIconBox FvwmIconMan
FvwmIdent FvwmM4 FvwmPager FvwmPipe FvwmSave FvwmSaveDesk
FvwmScript FvwmScroll FvwmTalk FvwmTaskBar FvwmTile FvwmWharf
FvwmWinList );


my ($ct_function,$ct_menu,$ct_decor) = (0..2);

my %funcs = ();  # names -> text
my %decors = ();  # names -> text
my %menus = ();  # names -> text
my %moduleconfigs = ();  # module name

# GJB:FIXME:: the first arg of the aref can also
# be a closure that returns a list of the arguments
# to the fvwm2 command.  The argument scanning should
# probably be done using the Text::Balanced perl module
# but it's not on my laptop so I cannot test with it now.
# (See sub convert_fvwm_command for what processes
#  these rules)
# Also beware -- do not anchor the beginnings of these
# regexps -- the matcher inserts text in front of the
# regex, too, so the anchor would occur wrongly in the middle
my %rules = 
  (
   "#" => 
   [
    '(.*)',
    # GJB:FIXME:: It might be nice to try converting
    # comments into scheme, too, in case it's a commented
    # out fvwm2 command (as it often is).
    # It looks like the system fvwm2rc has the '^#\w' pattern
    # for commented out commands, so maybe that could
    # be the hint to convert the comment into a commented-out
    # s-exp.  (Will need to s/\n/\n;;; /mg to be sure that
    # the entire resulting s-exp is commented out)
    # Also a bit tricky with "+" pseudo-command since
    # we'd need to save the commented-out translation
    # for later (actually, I don't think it's that bad).
    sub { return ";;; $_[0]"; },
   ],
   "*" =>
   [ 
    '(.*?)\s+(.*)',
    sub { return HandleModule(@_); },
   ],
   "+" =>
   [
    '\s+(.*)',
    sub { my ($text) = (@_);
	  if (!defined($last_context_type)) {
	    warn "fvwm2rc is in error;  '+' used before a context was established\n" if !$fQuiet;
	  } else {
	    if ($last_context_type == $ct_function) {
	      $funcs{$last_context_name} .= "$text\n";
	    } elsif ($last_context_type == $ct_decor) {
	      $decors{$last_context_name} .= "$text\n";
	    } else {
	      $menus{$last_context_name} .= "$text\n";
	    }
	  }
	  return "";		# no conversion for this line
	},
   ],
   "windowfont" => 
   [ 
    '\s+([^\s]+)',
    sub { return "(define window-font (make-font \"$_[0]\"))"; },
   ],
   "iconfont" =>
   [
    '\s+([^\s]+)',
    sub { return "(define icon-font (make-font \"$_[0]\"))"; },
   ],
   "addtofunc" =>
   [
    '\s+"?([\w\d_-]+)"?\s+(.*)',
    sub { my $text;
	  ($last_context_name,$text) = (@_);
	  my $answer = "";
	  $last_context_type = $ct_function;
	  if (! exists ($funcs{$last_context_name})) {
	    $funcs{$last_context_name} = "";
	    $answer = ";;; Start of fvwm2 Function $last_context_name\n" .
	              ";;; [[@@&&func-$last_context_name&&@@]]";
	  } 
	  $funcs{$last_context_name} .= "$text\n";
	  return $answer;
	},
   ],
   "addtomenu" =>
   [
    '\s+"?([\w\d_-]+)"?\s+(.*)',
    sub { my $text;
	  ($last_context_name,$text) = (@_);
	  my $answer = "";
	  $last_context_type = $ct_menu;
	  if (! exists ($funcs{$last_context_name})) {
	    $menus{$last_context_name} = "";
	    $answer = ";;; Start of fvwm2 Menu $last_context_name\n" .
        	      ";;; [[@@&&menu-$last_context_name&&@@]]";
	  } 
	  $menus{$last_context_name} .= "$text\n";
	  return $answer;
	},
   ],
   "addtodecor" =>
   [
    '\s+"?([\w\d_-]+)"?\s+(.*)',
    sub { my $text;
	  ($last_context_name,$text) = (@_);
	  my $answer = "";
	  $last_context_type = $ct_decor;
	  if (! exists ($decors{$last_context_name})) {
	    $decors{$last_context_name} = "";
	    $answer = ";;; Start of fvwm2 decor $last_context_name\n" .
	              ";;; [[@@&&deco-$last_context_name&&@@]]";
	  } 
	  $decors{$last_context_name} .= "$text\n";
	  return $answer;
	},
   ],
   "modulepath" =>
   [
    '\s+(.*)',
    sub {
      my ($path_colon_sep) = (@_);
      return "(set! fvwm2-module-path " .
	colon_list_to_scm_list($path_colon_sep) .
	  ")";
    },
   ],
   "iconpath" =>
   [
    '\s+(.*)',
    sub {
      my ($path_colon_sep) = (@_);
      return "(set! image-load-path (append image-load-path " . 
	colon_list_to_scm_list($path_colon_sep) .
	  "))";
    },
   ],
   "pixmappath" =>
   [
    '\s+(.*)',
    sub {
      my ($path_colon_sep) = (@_);
      return "(set! image-load-path (append image-load-path " .
	colon_list_to_scm_list($path_colon_sep) .
	  "))";
    },
   ],
   "style" =>
   [
    '\s+"([\w\d-_\* ]+?)"\s+(.*)', # this requires the quotes
    sub {
      my ($pattern,$option) = (@_);
      return HandleWindowStyle($pattern,$option);
    },
   ],
   "opaquemovesize" =>
   [
    '\s+(\d+)',
    sub { my ($size) = (@_);
	  return "(set! opaque-move-percent $size)";
	},
   ],
   "edgescroll" =>
   [
    '\s+(\d+)\s+(\d+)',
    sub { my ($xdir, $ydir) = (@_);
	  return "(set-edge-scroll! $xdir $ydir)";
	},
   ],
   "edgeresistance" =>
   [
    '\s+(\d+)\s+(\d+)',
    sub { my ($delay, $snap) = (@_);
	  if ($delay >= 10000) {
	    $delay = "#f";
	  }
	  return "(set-edge-resistance! $delay $snap)";
	},
   ],
   "desktopsize" =>
   [   '\s+(\d+)(?:x|\s+)(\d+)',
       sub { my ($wide,$high) = (@_);
	     return "(set-desk-size! $wide $high)"; },
   ],
   "mouse" =>
   [   '\s+(\d+)\s+(\w+)\s+(\w+)\s+(.*)',
       sub { my ($butnum,$where,$modifiers,$action) = (@_);
	     return "(bind-mouse " .
	       convert_where($where) . " " .
		 convert_mouse_butnum($butnum,$modifiers) .
		   " (lambda () " .
		     convert_action($action) . "))";
	   },
   ],
   "module" =>
   [    '\s+\"?([\w\d_-]+)\"?',
	sub { my ($m) = (@_);
	      return "(define fvwm2-module-$m (run-fvwm2-module " . dquoted($m) . "))";
	    },
   ],
   "function" =>
   [    '\s+\"?([\w\d_-]+)\"?',
	sub { my ($funcname) = (@_);
	      return "(fvwm2-func-$funcname)";
	    },
   ],
   "popup" =>
   [    '\s+\"?([\w\d_-]+)\"?',
	sub { my ($menuname) = (@_);
	      return "(popup-menu 'fvwm2-menu-$menuname)";
	    },
   ],
   "menu" =>
   [    '\s+\"?([\w\d_-]+)\"?',
	sub { my ($menuname) = (@_);
	      return "(popup-menu 'fvwm2-menu-$menuname)";
	    },
   ],
   "move" =>
   [    '(?:\s+(\d+p?)\s+(\d+p?))?\s*$', #SYNTAXFIX'
	sub { my ($x,$y) = (@_);
	      return "(move-window" . HandleMoveResizeArgs($x,$y) . ")";
	    },
   ],
   "resize" =>
   [    '(?:\s+(\d+p?)\s+(\d+p?))?\s*$', #SYNTAXFIX'
	sub { my ($x,$y) = (@_);
	      return "(resize-window" . HandleMoveResizeArgs($x,$y) . ")";
	    },
   ],
   "maximize" =>
   [    '(?:\s+(\d+p?)\s+(\d+p?))?\s*$', #SYNTAXFIX'
	sub { my ($x,$y) = (@_);
	      return "(maximize-window" . HandleMoveResizeArgs($x,$y) . ")";
	    },
   ],
   "raise" =>
   [    '(.*)', # no args?
	sub { return "(raise-window)";
	    },
   ],
   "lower" =>
   [    '(.*)', # no args?
	sub { return "(lower-window)";
	    },
   ],
   "raiselower" =>
   [    '(.*)', # no args?
	sub { return "(toggle-raise)";
	    },
   ],
   "iconify" =>
   [    '(.*)', # no args?
	sub { return "(iconify-window)";
	    },
   ],
   "stick" =>
   [    '(.*)', # no args?
	sub { return "(stick-window)";
	    },
   ],
   "delete" =>
   [    '(.*)', # no args?
	sub { return "(close-window)";
	    },
   ],
   "destroy" =>
   [    '(.*)', # no args?
	sub { return "(destroy-window)";
	    },
   ],
   "refresh" =>
   [    '(.*)', # no args?
	sub { return "(refresh)";
	    },
   ],
   "quit" =>
   [    '(.*)', # no args?
	sub { return "(quit)";
	    },
   ],
   "windowlist" =>
   [    '(.*)', # no args?
	sub { return "(show-window-list-menu)";
	    },
   ],
   "cursormove" =>
   [    '\s+([+-]?\d+)\s+([+-]?\d+)',
	sub { my ($x,$y) = (@_);
	      # GJB:FIXME:: new feature in fvwm-compat, below
	      return "(move-pointer (%x-permit-negative $x) (%y-permit-negative $y))";
	    },
   ],
   "scroll" =>
   [    '\s+([+-]?\d+)\s+([+-]?\d+)',
	sub { my ($x,$y) = (@_);
	      # GJB:FIXME:: new feature in fvwm-compat, below
	      return "(move-viewport (%x-permit-negative $x) (%y-permit-negative $y))";
	    },
   ],
   "key" =>
   [    '\s+(\w+)\s+(\w+)\s+(\w+)\s+(.*)',
	sub { my ($keysym,$where,$modifiers,$action) = (@_);
	      return "(bind-key " .
		convert_where($where) . " " .
		  convert_keysym($keysym,$modifiers) .
		    " (lambda () " .
		      convert_action($action) . "))";
	    },
   ],
   "exec" =>
   [    '\s+(.*)',
	sub { my ($rest) = (@_);
	      return "(exe " . dquoted($rest) . ")";
	    },
   ],
   "restart" =>
   [    '\s+(.*)',
	sub { my ($rest) = (@_);
	      return "(restart " . dquoted($rest) . ")";
	    },
   ],
   "nop" =>
   [    '(.*)',
	sub { return "(nop)" },
   ],
   "prev" =>
   [    '\s+(?:\[(.*?)\]\s+)?(.*)',
	sub { my ($conditions,$rest) = (@_);
	      if (!defined($conditions) && $rest =~ m/focus/i) {
		return "(prev-window)";
	      } else {
		#GJB:FIXME:: leave for later 
		# see "Current" command in fvwm2 man page
		return "(prev-matching " . dquoted($conditions) . " " .
		       convert_action($rest) . ")";
	      }
	    },
   ],
   "next" =>
   [    '\s+(?:\[(.*?)\]\s+)?(.*)',
	sub { my ($conditions,$rest) = (@_);
	      if (!defined($conditions) && $rest =~ m/focus/i) {
		return "(next-window)";
	      } else {
		#GJB:FIXME:: leave for later 
		# see "Current" command in fvwm2 man page
		return "(next-matching " . dquoted($conditions) . " " .
		       convert_action($rest) . ")";
	      }
	    },
   ],

  );

chop(my $date = `date`);
# By design, this PRESCRIPT should be pretty minimal.
# We should *NOT* introduce all sorts of fvwm2-specific
# machinery to convert a fvwm2rc configuration
print <<"PRESCRIPT"
;;; Auto-generated scwmrc created by fvwm2rc-to-scwmrc
;;; fvwm2rc-to-scwmrc converter is 
;;; (C) 1999 Greg J. Badros <gjb\@cs.washington.edu>
;;; Use at your own risk!
;;; http://vicarious-existence.mit.edu/scwm
;;; http://www.cs.washington.edu/homes/gjb
;;;
;;; Generated $date
;;; Using command line: "$0 @ARGV"
;;;
;;; BEWARE OF ALL COMMENTS IN THE CONVERTED TEXT
;;; fvwm2rc comments have been copied unchanged
;;; into this scwmrc file, and may not be appropriate,
;;; may not be correct, and may not use scheme syntax
;;; when demonstrating functionality.
;;;
;;; Also, be warned that not all of the fvwm2rc commands
;;; are supported.  You should search the output for
;;; instances of "&&&" and "eval-fvwm-command" for places
;;; where the script probably did not do the right thing.
;;;

(use-modules (app scwm base)
	     (app scwm winops)
	     (app scwm winlist)
	     (app scwm wininfo)
             (app scwm style)
	     (app scwm face)
	     (app scwm optargs)
	     (app scwm menus-extras)
	     (app scwm std-menus)
	     (app scwm prefs-menu)
	     (app scwm doc)
	     (app scwm virtual)
	     (app scwm flux)
	     (app scwm fvwm-module)
	     (app scwm path-cache)
	     (app scwm animation)
	     (app scwm message-window)
	     (app scwm animated-iconify)
	     )

;; Uncomment the below to send a single UDP packet to
;; the scwm usage counter machine at startup
;; The single packet just contains the hostname and version number
;; To disable, set environment variable SCWM_DO_NOT_LOG_USAGE
;;(define thank-scwm-authors-with-usage-note #t)

(set! image-load-path '())

;;; BEGIN CONVERTED FILE
PRESCRIPT
;
#SYNTAXFIX'
 
my $fGotInitFunction = FALSE;
my $fGotRestartFunction = FALSE;
 
my $continued = FALSE;
my $line;

# save main converted text in variable $output
# so that we can substitute back in the menus, functions,
# and decor definitions  (it is a two-pass algorithm,
# but the second pass operates on the $output string
# just doing some regex substitutions)
my $output = "";
while (<>) {
  if ($continued) {
    s/^\s+//;
    $line = "$line$_";
  } else {
    $line = $_;
  }
  if (m/\\$/) {
    $continued = 1;
    chop $line; chop $line;	# drop \ and newline
    next;
  }
  next if $line =~ m/^\s*$/;	# skip blank lines
  my $scheme_expr = convert_fvwm_command($line);
  $line = "";
  if ($scheme_expr ne "") {
    $output .= "$scheme_expr\n";
  }
}
 
print ";;; Menus follow::\n" if !$two_pass;
for my $m (keys %menus) {
  my $s = convert_menu($m,$menus{$m});
  if ($two_pass) {
    my $marker = ";;; [[@@&&menu-$m&&@@]]";
    if (!($output =~ s/\Q$marker\E/$s/)) {
      warn "Internal error: Could not insert menu $m into output stream" if !$fQuiet;
    }
  } else {
    # ! $two_pass
    print "$s\n";
  }
}
 
 
print ";;; Functions follow::\n" if !$two_pass;
for my $f (keys %funcs) {
  if ($f =~ m/^InitFunction$/i) {
    $fGotInitFunction = TRUE;
  } elsif ($f =~ m/^RestartFunction$/i) {
    $fGotRestartFunction = TRUE;
  }
  my $s = convert_function($f,$funcs{$f});
  if ($two_pass) {
    my $marker = ";;; [[@@&&func-$f&&@@]]";
    if (!($output =~ s/\Q$marker\E/$s/)) {
      warn "Internal error: Could not insert function $f into output stream" if !$fQuiet;
    }
  } else {
    # ! $two_pass
    print "$s\n";
  }
}
 
print ";;; Decors follow::\n" if !$two_pass;
for my $d (keys %decors) {
  my $s = convert_decor($d,$decors{$d});
  if ($two_pass) {
    my $marker = ";;; [[@@&&deco-$d&&@@]]";
    if (!($output =~ s/\Q$marker\E/$s/)) {
      warn "Internal error: Could not insert decor $d into output stream" if !$fQuiet;
    }
  } else {
    # ! $two_pass
    print "$s\n";
  }
}
 
# Dump all the text we have
# accumulated
if ($two_pass) {
  print $output;
}

for my $m (keys %moduleconfigs) {
  print <<"EOM"
(register-fvwm2-module-config "$m"
$moduleconfigs{$m})

EOM
    ;
}

if ($fGotInitFunction) {
  print <<"EOH"
(add-hook! startup-hook 
   (lambda () (if (not (restarted?)) (fvwm2-func-InitFunction))))
EOH
   ;
}

if ($fGotRestartFunction) {
  print <<"EOH"

(add-hook! startup-hook 
   (lambda () (if (restarted?) (fvwm2-func-RestartFunction))))
EOH
  ;
}

print <<"END_CONVERSION";
;;; End of converted fvwm2rc
END_CONVERSION

sub HandleModule {
  my ($first,$rest) = (@_);
  my $answer = "";
  
  my $module;

  for my $pref (@module_prefixes) {
    if (index($first,$pref) ==0) {
      $module = $pref;
      last;
    }
  }
  if (!defined($module)) {
    warn "Do not know about module \"$1\"\n" if !$fQuiet;
    return "";
  }
  
  my $param = substr($first,length($module));
  
  if (!exists $moduleconfigs{$module}) {
    $moduleconfigs{$module} = "";
    $answer = ";;; Start of fvwm2 Module $module configuration\n" .
      ";;; [[@@&&modu-$module&&@@]]";
  }
  $rest =~ s/"/\\"/g;
  $moduleconfigs{$module} .= "   \"*$first $rest\"\n";
  return $answer;
}

sub colon_list_to_scm_list {
  my ($colon_list) = (@_);
  my $answer = "(list \n";
  for my $p (split /[^\\]:/,$colon_list) {
    $answer .= "  \"$p\"\n";
  }
  $answer .= "  )";
  return $answer;
}

sub HandleWindowStyle {
  my ($pattern,$option_list) = (@_);
  
  my %scwm_style_options = 
    (
     "noicon" =>
     [ "show-icon", sub { return "#f"; } ],
     "forecolor" =>
     [ "fg", sub { return dquoted($_[0]); } ],
     "backcolor" =>
     [ "bg", sub { return dquoted($_[0]); } ],
     "decoratetransient" =>
     [ "decorate-transient", sub { return "#t"; } ],
     "randomplacement" =>
     [ "random-placement", sub { return "#t"; } ],
     "clicktofocus" =>
     [ "focus", sub { return "'click"; } ],
     "mwmfunctions" =>
     [ "mwm-func-hint", sub { return "#t"; } ],
     "mwmdecor" =>
     [ "mwm-decor-hint", sub { return "#t"; } ],
     "hintoverride" =>
     [ "hint-override", sub { return "#t"; } ],
     "notitle" =>
     [ "no-titlebar", sub { return "#t"; } ],
     "staysontop" =>
     [ "kept-on-top", sub { return "#t"; } ],
     "sticky" =>
     [ "sticky", sub { return "#t"; } ],
     "nohandles" =>
     [ "plain-border", sub { return "#t"; } ],
     "windowlistskip" =>
     [ "winlist-skip", sub { return "#t"; } ],
     "circulateskip" =>
     [ "circulate-skip", sub { return "#t"; } ],
     "nopposition" =>
     [ "PPosition-hint", sub { return "#f"; } ],
     "borderwidth" =>
     [ "border-width", sub { return $_[0]; } ],
     "handlewidth" =>
     # GJB:FIXME: what is the Scwm handle-width option -- the below is *WRONG*
     [ "border-width", sub { return $_[0]; } ],
     "icon" =>
     [ "icon", sub { return dquoted($_[0]); } ],
     "miniicon" =>
     [ "mini-icon", sub { return dquoted($_[0]); } ],
    );
  
  my @options = split /,\s*/, $option_list;
  my $answer = "(window-style \"$pattern\" ";
  my $scheme_options = "";
  for my $opt (@options) {
    my @optargs = split /\s+/, $opt;
    my $first_arg = shift @optargs;
    my $optname = lc($first_arg);
    if (!exists($scwm_style_options{$optname})) {
      $scheme_options .= "\"&&&$first_arg " . join(" ",@optargs) . "\" ";
      next;
    }
    my $aref = $scwm_style_options{$optname};
    my ($scwm_option_name,$converter) = @$aref;
    $scheme_options .= "#:$scwm_option_name " .
      &{$converter}(@optargs) . " ";
  }
  chop $scheme_options;		# drop trailing space
  $answer .= "$scheme_options)\n\n";
  return $answer;
}


sub dquoted {
  my ($str) = (@_);
  $str =~ s/"/\\"/g;
  return "\"$str\"";
}


sub convert_where {
  my ($where) = (@_);
  my %map = 
    ( 
     'a' => 'all',
     'r' => 'root',
     'w' => 'window',
     't' => 'titlebar',
# GJB:FIXME:: newly supported names are commented out for now
# should use them instead, though
#     's' => 'frame-sides',
     's' => 'sidebar',
#     'f' => 'frame-corners',
     'f' => 'frame',
     'i' => 'icon',
    );
  
  $where = lc($where);
  my @contexts = ();
  for my $w (split(//,$where)) {
    if (exists $map{$w}) {
      push @contexts, $map{$w};
    } elsif ($w =~ m/(\d+)/) {
      my $decoration_num = $1;
      if ($decoration_num eq "0") {
	$decoration_num = 10;	# what an ugly fvwm2 hack!
      }
      if ($decoration_num % 2 == 0) {
	#even -=> right side
	push @contexts, "right-button-" . ($decoration_num/2);
      } else {
	#odd -=> left side
	push @contexts, "left-button-" . (($decoration_num+1)/2);
      }
    } else {
      push @contexts, "context-&&&-$w";
    }
  }
  return perl_aref_to_symbol_list(\@contexts);
}

sub convert_mouse_butnum {
  my ($num,$mods) = (@_);
# GJB:FIXME:: should extend bind-mouse to accept 'all instead of 0
#    if ($num == 0) {
#       $num = "'all";  
#    }
  if ($mods =~ m/^a$/i) {
    return $num;
  }
  return dquoted(join("-",(split(//,$mods)),$num));
}

sub convert_keysym {
  my ($keysym,$mods) = (@_);
  if ($mods =~ m/^a$/i) {
    return dquoted($keysym);
  }
  return dquoted(join("-",split(//,$mods),$keysym));
}



sub convert_fvwm_command {
  $_ = $_[0];
  my ($first_char, $first_word);
  if (m/^\s*(.)/) {
    $first_char = lc($1);
  }
  if (m/^\s*(\S*)/) {
    $first_word = lc($1);
  }
  my $aref = undef;
  my $prefix_string = $first_char;
  if (defined($first_char) && exists $rules{$first_char} ) {
    $aref = $rules{$first_char};
  }
  if (!defined($aref) && defined($first_word) && exists $rules{$first_word}) {
    $aref = $rules{$first_word};
    $prefix_string = $first_word;
  }
  
  if (!defined($aref)) {
    return ";;;&&& UNCONVERTED: $_";
  }
  my ($re_or_parse_sub,$coderef) = (@$aref);
  
  my @args = ();
  
  if (!ref($re_or_parse_sub)) {
    # it must just be a regexp
    my $re = $re_or_parse_sub;
    if (!m/^\Q$prefix_string\E\s*$re/i) {
      chomp;
      warn "Internal error: re = \'$prefix_string\\s*$re\' does not match \"$_\"\n";
    } else {
      @args = ($1,$2,$3,$4,$5,$6,$7,$8,$9);
    }
  } else {
    # the argument scanner is a sub
    my $parser = $re_or_parse_sub;
    @args = &$parser($_);
  }
  my $scheme_expr = &$coderef(@args);
  return $scheme_expr;
}

sub convert_action {
  # GJB:FIXME:: not sure if this is even necessary -- it
  # probably should just be the same as convert_fvwm_command,
  # but the kinds of things used in Menus/Functions are generally
  # very different from those used as "toplevel" configuration
  # directives.  Also, some things will not be handled correctly
  # if they are in Menu/Function action -- e.g., a dynamic AddToMenu
  # as an action for a key binding or a menuitem will instead be
  # interpreted statically, at the top level.  Maybe it's useful
  # to keep this for the warnings it can provide, or to do things
  # differently when it's a dynamic action as opposed to a static
  # declaration (could pass a flag to convert_fvwm_command, too).
  #
  # We should *NOT* extend eval-fvwm2-command only for the purposes
  # of use here -- we are better off figuring out the right s-exp
  # to substitute.  It'll make the converted .scwmrc's better!
  # N.B., it's fine to extend fvwm-compat.scm with procs that more
  # closely match fvwm2 semantics -- these are probably useful
  # to others used to fvwm2, anyway.
  my ($action) = (@_);
  
  my $s = convert_fvwm_command($action);
  if ($s =~ m/&&&/) {
#    warn "Could not handle action: '$action'\nGot $s" if !$fQuiet;
    if (exists $funcs{$action}) {
      # This is actually perfectly fine, by the rules of fvwm2
      # but it still seems nice to give a warning
      warn "Using implied 'Function' for $action" if !$fQuiet;
      return "(fvwm2-func-$action)";
    }
    return "(eval-fvwm-command " . dquoted($action) . ")";
  } else {
    if ($s eq "") {
      warn "Probably mis-interpreting dynamic command statically:\n   $action" if !$fQuiet;
    }
    return $s;
  }
}

sub perl_aref_to_symbol_list {
  my ($aref) = (@_);
  if (scalar(@$aref) == 1) {
    return "'$$aref[0]";
  } else {
    return "'(" . join(" ",@$aref) . ")";
  }
}

sub convert_function {
  my ($name,$text) = (@_);
  
  my $lastarg = -1;
  my $fTakesWindow = FALSE;
  while ($text =~ m/[^\\]\$([w\d])/g) {
    if ($1 eq "w") {
      $fTakesWindow = TRUE;
      next;
    }
    $lastarg = $1 if $1 > $lastarg;
  }
  my $answer = "(define (fvwm2-func-$name";
  if ($lastarg >= 0) {
    $answer .= " " . join(" ",map { "arg$_" } (0..$lastarg));
  }
  $answer .= ")\n";
  
  if ($fTakesWindow) {
    $answer .= " (let ((win-id (window-id (get-window))))\n";
  }
  
  # GJB:FIXME:: does not handle arguments properly yet
  # need to use "arg0", "arg1", etc for "$0", "$1", ...
  # and use "win-id" for "$w"  GJB:FIXME:: may need hex-win-id
  # procedure
  
  my @lines = (split /\n/,$text);
  # first handle "I" functions
  for my $l (@lines) {
    if ($l =~ m/^\s*"I"\s+(.*)/) {
      my $rest = $1;
      $answer .= "  " . convert_action($rest) . "\n";
    }
  }
  # now handle the "M", "C", and "D" triggers
  my $responses = "";
  for my $l (@lines) {
    if ($l =~ m/^\s*"(\w)"\s+(.*)/) {
      my ($trigger, $rest) = ($1,$2);
      next if $trigger =~ m/"?I"?/i;
      $responses .= "    (" . convert_trigger($trigger) .
	" " . convert_action($rest) . ")\n";
    }
  }
  if ($responses ne "") {
    $answer .= "  (case (mouse-event-type)\n$responses";
    $answer .= "  )";
  } else {
    $answer .= "  ";
  }
  if ($fTakesWindow) {
    $answer .= ")";		# close the "let"
  }
  $answer .= ")";
}


sub convert_trigger {
  my ($trigger) = (@_);
  
  my %map = ( "m" => "motion",
	      "c" => "click",
	      "d" => "double-click",
	      # GJB:FIXME:: does fvwm2 have "one-and-a-half-clicks"?
	    );
  my $orig_text = $trigger;
  $trigger = lc($trigger);
  $trigger =~ s/\"//g;
  
  if ( exists $map{$trigger} ) {
    return "($map{$trigger})";
  } else {
    return "(trigger-&&&-$orig_text)";
  }
}


sub convert_menu {
  my ($name, $text) = (@_);
  
  my $answer = "(define fvwm2-menu-$name (menu (list\n";
  
  my @lines = (split /\n/,$text);
  for my $l (@lines) {
    next if $l eq ""; # skip blank lines -- sometimes happens on title lines after
                      # the menu name has been stripped out.
    $answer .= "  " . convert_menu_item($l) . "\n";
  }
  
  $answer .= "  )))";
}


sub convert_menu_item {
  my ($item) = @_;
  my $text;
  my $action;
  # GJB:FIXME:: Use Text::Balanced package!
  if ($item =~ m/\s*\"/) {
    # it's double quoted
    if ($item =~ m/\s*\"((?:[^\"]|\\\")*)\"\s+(.*)/) {
      ($text,$action) = ($1,$2);
    } else {
      # we failed, so just mark it in the output
      return ";;;(fvwm2-menu-item-&&&-dq " . dquoted($item) . ")";
    } 
  } else {
    # item is not double quoted
    if ($item =~ m/\s*([^\s]*)\s+(.*)/) {
      ($text,$action) = ($1,$2);
    } else {
      # we failed, so just mark it in the output
      return ";;;(fvwm2-menu-item-&&& " . dquoted($item) . ")";
    }
  }
  
  ## now we have $text, $action separated out
  
  # see if there is an image embedded in the menuitem name
  my $image;
  if ($text =~ s/%([^%\"]*)(%?)//g) {
    if (!defined($2) || $2 eq "") {
      warn "Missing '%' from menu pixmap text in fvwm2rc file for '$text'";
    }
    $image = $1;
  }

# GJB:FIXME:: I think it is better to leave the hotkeys
# embedded, rather than pull them out;  this code would
# pull them out (I think -- it's untested)       
#DBG    # see if there are hotkeys embedded in the menuitem name
#DBG    my $hotkey_prefs = "";
#DBG    while ($text =~ s/&(.)/$1/g) {
#DBG       $hotkey_prefs .= $1;
#DBG    }

  # remove trailing ws from the menu text, action string
  $text =~ s/\s+$//;
  $action =~ s/\s+$//;
  my $extra_label;
  if ($text =~ /^(.*)\t(.*)$/) {
    if (defined($1) && defined($2) &&
	$1 ne "" && $2 ne "") {
      ($text,$extra_label) = ($1,$2);
    }
  }

  my $extra_label_arg = "";
  if (defined($extra_label) && $extra_label ne "") {
    $extra_label_arg = " #:extra-label " . dquoted($extra_label);
  }
  my $answer;
  
  if (lc($action) eq "nop") {
    $answer = "menu-separator"
  } elsif (lc($action) eq "title") {
    # GJB:FIXME:: here Scwm has a bit of a hack
    # the title should be more distinguished
    $answer = "(menuitem " . dquoted($text) . $extra_label_arg . " #f) menu-title";
  } else {
    $answer = "(menuitem " . dquoted($text) . $extra_label_arg;
    if (defined($image)) {
      $answer .= " #:image-left " . dquoted($image);
    }
    my $action_sexp = prepare_for_menuitem(convert_action($action));
    if ($action_sexp ne "") {
      $answer .= " #:action $action_sexp";
    }
    $answer .= ")";
  }
  return $answer;
}

sub prepare_for_menuitem {
  my ($sexp) = (@_);

  if ($sexp eq "") {
    return "";
  }

  if ($sexp =~ m/^\(popup-menu '(fvwm2-menu-[\w\d-_]+)/) { #SYNTAXFIX'
    return "'$1";
  } else {
    return "(lambda () $sexp)";
  }
}

# GJB:FIXME:: this needs writing
sub convert_decor {
  my ($name, $text) = @_;
  
  $text =~ s/\n/\n;;; /mg;
  return ";;; Decor $name\n$text";
}

sub HandleMoveResizeArgs {
  my ($x,$y) = (@_);
  my $answer = "";
  if (defined($x) && defined($y)) {
    if ($x =~ m/p/) {
      $answer .= " $x";
    } else {
      $answer .= " (%x $x)";
    }
    if ($y =~ m/p/) {
      $answer .= " $y";
    } else {
      $answer .= " (%y $y)";
    }
  }
  return "$answer";
}

From owner-scwm-discuss@mit.edu  Sun Mar 21 20:17:51 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA31782
	for scwm-discuss-outgoing; Sun, 21 Mar 1999 20:17:51 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA31779
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 21 Mar 1999 20:17:49 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA11460; Sun, 21 Mar 99 20:13:33 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Sun, 21 Mar 1999 20:12:32 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Sun, 21 Mar 1999 20:12:31 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id UAA09875;
	Sun, 21 Mar 1999 20:13:32 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: gnome on rawhide requires enlightenment!
References: <m3lngzwvmg.fsf@eho.eaglets.com> <m390cqu15d.fsf@eho.eaglets.com> <qrrzp56le44.fsf@elwha.cs.washington.edu> <m3ww0ah3hh.fsf@eho.eaglets.com> <qrrsoayl57y.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "21 Mar 1999 16:48:17 -0800"
Date: 21 Mar 1999 20:13:32 -0500
Message-Id: <m3lngqgwcj.fsf@eho.eaglets.com>
Lines: 16
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrrsoayl57y.fsf@elwha.cs.washington.edu>
>>>> On the subject of "Re: gnome on rawhide requires enlightenment!"
>>>> Sent on 21 Mar 1999 16:48:17 -0800
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> 
 >> No, it's a workaround (like I wrote).  If they're not going to be
 >> cooperative (I'm not sure that they're not, but they haven't been so
 >> far), then we have to do something other than the right solution.

Maybe we could contact the gnome people?

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Daddy, what does "format disk c: complete" mean?

From owner-scwm-discuss@mit.edu  Sun Mar 21 20:23:50 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA31928
	for scwm-discuss-outgoing; Sun, 21 Mar 1999 20:23:50 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA31925
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 21 Mar 1999 20:23:48 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA24632; Sun, 21 Mar 99 20:20:24 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA18281; Sun, 21 Mar 1999 17:19:36 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Re: gnome on rawhide requires enlightenment!
References: <m3lngzwvmg.fsf@eho.eaglets.com> <m390cqu15d.fsf@eho.eaglets.com> <qrrzp56le44.fsf@elwha.cs.washington.edu> <m3ww0ah3hh.fsf@eho.eaglets.com> <qrrsoayl57y.fsf@elwha.cs.washington.edu> <m3lngqgwcj.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Mar 1999 17:19:35 -0800
In-Reply-To: Sam Steingold's message of "21 Mar 1999 20:13:32 -0500"
Message-Id: <qrrg16yl3rr.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> >>>> In message <qrrsoayl57y.fsf@elwha.cs.washington.edu>
> >>>> On the subject of "Re: gnome on rawhide requires enlightenment!"
> >>>> Sent on 21 Mar 1999 16:48:17 -0800
> >>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
>  >> 
>  >> No, it's a workaround (like I wrote).  If they're not going to be
>  >> cooperative (I'm not sure that they're not, but they haven't been so
>  >> far), then we have to do something other than the right solution.
> 
> Maybe we could contact the gnome people?

Sure, that seems reasonable.  Could you send a tactfully-worded email
and alert them to the problem and see what their thoughts are?

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Sun Mar 21 20:51:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA32245
	for scwm-discuss-outgoing; Sun, 21 Mar 1999 20:51:37 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from mail.eaglets.com ([208.235.77.228])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id UAA32242
	for <scwm-discuss@huis-clos.mit.edu>; Sun, 21 Mar 1999 20:51:34 -0500
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Sun, 21 Mar 1999 20:46:01 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Sun, 21 Mar 1999 20:46:01 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id UAA09939;
	Sun, 21 Mar 1999 20:47:01 -0500
To: gnome-list@gnome.org, Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: gnome compliant window managers
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 21 Mar 1999 20:47:01 -0500
Message-ID: <m3hfregusq.fsf@eho.eaglets.com>
Lines: 22
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

GNOME, as distributed by RedHat Raw Hide, requires the Enlightenment
window manager.  This is strange, as there are other Gnome-compliant
window managers, such as SCWM (http://huis-clos.mit.edu/scwm/).

RH people do not consider this to be a bug (see
http://developer.redhat.com/bugzilla/show_bug.cgi?id=1503):

 >> We require enlightenment because gnome-session tries to run it
 >> as configured by the spec file.
 
There should be a way to avoid this.

I am sending this message to both scwm-discuss list (to which I am
subscribed) and to gnome-list (to which I am not subscribed).  I would
appreciate if replies were directed to both mailing lists as I believe
that the issue is relevant to both of them.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Those who can laugh at themselves will never cease to be amused.

From owner-scwm-discuss@mit.edu  Sun Mar 21 21:53:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA32702
	for scwm-discuss-outgoing; Sun, 21 Mar 1999 21:53:41 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from gw2.aus.compgen.com (gw2.aus.compgen.com [203.43.78.66])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id VAA32698
	for <scwm-discuss@vicarious-existence.mit.edu>; Sun, 21 Mar 1999 21:53:37 -0500
Received: from ozpc92.aus.compgen.com (ozpc92.aus.compgen.com [203.43.78.83])
	by gw2.aus.compgen.com (8.9.1/8.8.7) with ESMTP id NAA12048
	for <scwm-discuss@vicarious-existence.mit.edu>; Mon, 22 Mar 1999 13:49:27 +1100
Received: (from glenn@localhost)
	by ozpc92.aus.compgen.com (8.9.1/8.9.1) id NAA15734;
	Mon, 22 Mar 1999 13:48:49 +1100
Date: Mon, 22 Mar 1999 13:48:49 +1100
From: Glenn Trigg <glenn@aus.compgen.com>
Message-Id: <199903220248.NAA15734@ozpc92.aus.compgen.com>
X-Mailer: Privtool [V0.90 Beta GT002] (i586-pc-linux-gnu/Motif)
Organization: Computer Generation Inc.
Subject: New modules
To: scwm-discuss@mit.edu
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hello,

I started looking at scwm last week and I liked what I saw! I have now
made scwm my default window manager, both at home and at work.

As a result of my playing I have written a couple of modules which
may be of interest. They are:

simplebiff.scm

At the moment it watches a file (typically a mail spool file) and if
it detects an increase in size and a change in mtime it beeps.
The idea is to extend this so that it can take a function which does
whatever you like as a notification. Eg. Change a window decoration,
or mini-icon, change the background?, whatever.

ScwmButtons.scm

This is a button bar a la FvwmButtons which uses the gtk module.
The user can specify the pixmap and an optional action. The overall
orientation can also be specified.

Is there a place where I can upload these, or should I just email them
to this list?

Glenn

From owner-scwm-discuss@mit.edu  Mon Mar 22 00:17:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id AAA01350
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 00:17:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from avatar.labs.redhat.com (user-2ivf30n.dialup.mindspring.com [165.247.140.23])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id AAA01347
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 00:17:41 -0500
Received: from avatar.labs.redhat.com (msf@localhost [127.0.0.1])
	by avatar.labs.redhat.com (8.8.7/8.8.7) with ESMTP id AAA21064;
	Mon, 22 Mar 1999 00:15:14 -0500
Message-Id: <199903220515.AAA21064@avatar.labs.redhat.com>
X-Mailer: exmh version 2.0.2
To: sds@goems.com
cc: gnome-list@gnome.org, Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: Re: gnome compliant window managers 
In-Reply-To: Message from Sam Steingold <sds@goems.com> 
   of "21 Mar 1999 20:47:01 EST." <m3hfregusq.fsf@eho.eaglets.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 22 Mar 1999 00:15:14 -0500
From: Michael Fulbright <msf@redhat.com>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


sds@goems.com said:
> RH people do not consider this to be a bug (see http://
> developer.redhat.com/bugzilla/show_bug.cgi?id=1503): 

We have chosen to use Enlightenment as our default window manager because
in our experience it is the most GNOME compliant wm, and it has a very
nice GUI tool to configure its behavior. It is installed by default in
the Starbuck release.

But we are not wm bigots, and Owen Taylor has written a wm capplet for
the control center that will make it very easy for anyone to switch to
another WM. We have WindowMaker in the Starbuck release as well, and the
capplet also tests for the prescence of icewm if the user has installed it.

The requirement for enlightenment is therefore not a bug - the default
environment in Starbuck will not come up nicely if you do not have enlightenment
installed.  Once you bring up GNOME you can use the wm capplet to change
to whatever window manager you choose.

By selecting Enlightenment as our default we are in no way suggesting it is
the only window manager that works with GNOME: quite the opposite.Rasterman has been
active by writing the GNOME wm compliance documentation, as well as answering
questions, to guarantee that there will be many many wm's to choose from.

Michael Fulbright
drmike@redhat.com
Director - Red Hat Advanced Development Labs


From owner-scwm-discuss@mit.edu  Mon Mar 22 01:03:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA01903
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 01:03:42 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA01900
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 01:03:40 -0500
Received: from 207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA20811; Mon, 22 Mar 99 01:00:12 EST
Received: (from mstx@localhost)
	by 207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id VAA06705;
	Sun, 21 Mar 1999 21:22:47 -0500
To: Glenn Trigg <glenn@aus.compgen.com>
Cc: scwm-discuss@mit.edu
Subject: Re: New modules
References: <199903220248.NAA15734@ozpc92.aus.compgen.com>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 21 Mar 1999 21:22:45 -0500
In-Reply-To: Glenn Trigg's message of "Mon, 22 Mar 1999 13:48:49 +1100"
Message-Id: <m3hfre9say.fsf@207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com>
Lines: 39
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Glenn Trigg <glenn@aus.compgen.com> writes:

> Hello,
> 
> I started looking at scwm last week and I liked what I saw! I have now
> made scwm my default window manager, both at home and at work.
> 
> As a result of my playing I have written a couple of modules which
> may be of interest. They are:
> 
> simplebiff.scm
> 
> At the moment it watches a file (typically a mail spool file) and if
> it detects an increase in size and a change in mtime it beeps.
> The idea is to extend this so that it can take a function which does
> whatever you like as a notification. Eg. Change a window decoration,
> or mini-icon, change the background?, whatever.
> 
> ScwmButtons.scm
> 
> This is a button bar a la FvwmButtons which uses the gtk module.
> The user can specify the pixmap and an optional action. The overall
> orientation can also be specified.
> 
> Is there a place where I can upload these, or should I just email them
> to this list?

Send them to the list (unless they are so long that it might annoy
people). I like the concept of both of these modules. Here are a couple
of ideas for extensions, if you want to put more work into these:

* A ScwmBiff module which uses simplebiff.scm to provide something
pretty much like the original biff, only with configurable graphics.

* An enhancement to your ScwmButtons to allow swallowing apps into the
area of a button. I believe gtk+-1.2 has some support for this.

 - Maciej


From owner-scwm-discuss@mit.edu  Mon Mar 22 01:16:08 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA01991
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 01:16:08 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA01988
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 01:16:05 -0500
Received: from gw2.aus.compgen.com by MIT.EDU with SMTP
	id AA09111; Mon, 22 Mar 99 01:11:45 EST
Received: from ozpc92.aus.compgen.com (ozpc92.aus.compgen.com [203.43.78.83])
	by gw2.aus.compgen.com (8.9.1/8.8.7) with ESMTP id RAA12222;
	Mon, 22 Mar 1999 17:11:48 +1100
Received: (from glenn@localhost)
	by ozpc92.aus.compgen.com (8.9.1/8.9.1) id RAA16024;
	Mon, 22 Mar 1999 17:11:11 +1100
Date: Mon, 22 Mar 1999 17:11:11 +1100
From: Glenn Trigg <glenn@aus.compgen.com>
Message-Id: <199903220611.RAA16024@ozpc92.aus.compgen.com>
X-Mailer: Privtool [V0.90 Beta GT002] (i586-pc-linux-gnu/Motif)
In-Reply-To: <m3hfre9say.fsf@207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com> from "Maciej Stachowiak <mstachow@alum.mit.edu>"
Organization: Computer Generation Inc.
Subject: Re: New modules
To: mstachow@alum.mit.edu
Cc: scwm-discuss@mit.edu
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> said :

> > simplebiff.scm
> > 
> > At the moment it watches a file (typically a mail spool file) and if
> > it detects an increase in size and a change in mtime it beeps.
> > The idea is to extend this so that it can take a function which does
> > whatever you like as a notification. Eg. Change a window decoration,
> > or mini-icon, change the background?, whatever.
> > 
> > ScwmButtons.scm
> > 
> > This is a button bar a la FvwmButtons which uses the gtk module.
> > The user can specify the pixmap and an optional action. The overall
> > orientation can also be specified.
> > 
> > Is there a place where I can upload these, or should I just email them
> > to this list?
> 
> Send them to the list (unless they are so long that it might annoy
> people). I like the concept of both of these modules. Here are a couple
> of ideas for extensions, if you want to put more work into these:

OK, they should be attached to the end of this email.

> * A ScwmBiff module which uses simplebiff.scm to provide something
> pretty much like the original biff, only with configurable graphics.

Yep, I'm thinking of having something where you can specify a "normal"
pixmap and then a list of pixmaps to show with a configurable inbetween
delay as an animated new-mail icon.

> * An enhancement to your ScwmButtons to allow swallowing apps into the
> area of a button. I believe gtk+-1.2 has some support for this.

I have been thinking of making a ScwmHolder (or whatever name) which is
effectively a Gtk[HV]Box which can act as a parent for certain modules
(ScwmClock, ScwmButtons, ScwmBiff etc.). Does that seem like a better
(more flexible) way to do it rather than make ScwmButtons more complicated?

Another thing I forgot to mention, I haven't actually learnt
lisp/scheme/guile, I've just tried to figure out what's what by looking
at & copying existing .scm files. Feel free to comment on the code.

-------------ScwmButtons---------------
;;;; -*-scwm-*-
;;;; $Id: $
;;;; Copyright (C) 1999 Glenn Trigg
;;;; 
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2, or (at your option)
;;;; any later version.
;;;; 
;;;; This program is distributed in the hope that it will be useful,
;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;;; GNU General Public License for more details.
;;;; 
;;;; You should have received a copy of the GNU General Public License
;;;; along with this software; see the file COPYING.  If not, write to
;;;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
;;;; Boston, MA 02111-1307 USA
;;;;

;;;;     Example usage.
;;;;
;;;(use-modules (app scwm ScwmButtons))
;;;
;;; Start a mini-button bar using ScwmButtons
;;;(run-ScwmButtons
;;; (list
;;;  (button-item "mini-term.xpm" #:action "xterm")
;;;  (button-item "mini-calc.xpm" #:action "xcalc")
;;;  (button-item "mini-xmcd.xpm" #:action "xmcd")
;;;  (button-item "mini-xv.xpm" #:action "xv")
;;;  (button-item "mini-gv.xpm" #:action "gv")
;;;  (button-item "mini-nscape.xpm" #:action "/usr/netscape/netscape")
;;;  ))
;;;
;;;;  The above will produce a horizontal bar, the below a vertical bar.
;;;
;;;(run-ScwmButtons
;;; (list
;;;  (button-item "mini-term.xpm" #:action "xterm")
;;;  (button-item "mini-calc.xpm" #:action "xcalc")
;;;  (button-item "mini-xmcd.xpm" #:action "xmcd")
;;;  (button-item "mini-xv.xpm" #:action "xv")
;;;  (button-item "mini-gv.xpm" #:action "gv")
;;;  (button-item "mini-nscape.xpm" #:action "/usr/netscape/netscape")
;;;  ) #:orientation 'vertical)
;;;
;;;; Also the name of the buttonbar can be specified for setting specific
;;;; styles etc.
;;;
;;;(run-ScwmButtons
;;; (list
;;;  (button-item "mini-term.xpm" #:action "xterm")
;;;  (button-item "mini-calc.xpm" #:action "xcalc")
;;;  (button-item "mini-xmcd.xpm" #:action "xmcd")
;;;  (button-item "mini-xv.xpm" #:action "xv")
;;;  (button-item "mini-gv.xpm" #:action "gv")
;;;  (button-item "mini-nscape.xpm" #:action "/usr/netscape/netscape")
;;;  ) #:name "miniButtons")

(define-module (app scwm ScwmButtons)
  :use-module (app scwm base)
  :use-module (app scwm file)
  :use-module (app scwm gtk)
  :use-module (gtk gtk)
  :use-module (gtk gdk)
  :use-module (app scwm optargs))

(define*-public
  (run-ScwmButtons button-item-list #&key (orientation 'horizontal)
		   (name "ScwmButtons"))
  (let* ((toplevel (gtk-window-new 'toplevel))
	 (tooltip (gtk-tooltips-new))
	 (box (case orientation
		((horizontal) (gtk-hbox-new 0 0))
		((vertical) (gtk-vbox-new 0 0))))
	 )
    (gtk-window-set-title toplevel name)
    (gtk-window-set-wmclass toplevel name "Scwm")
    (for-each (lambda (f)
		(let* ((button (gtk-button-new))
		       (imagepath (find-file-in-path (car f) image-load-path))
		       (tooltipstr (caddr f)))
		       (if (string? imagepath)
			   (let* ((image (gtk-pixmap-new imagepath button)))
			     (gtk-widget-show image)
			     (gtk-widget-show button)
			     (gtk-container-add button image)
			     (if (string? tooltipstr)
				 (gtk-tooltips-set-tip tooltip button
						       tooltipstr ""))
			     (gtk-signal-connect button "clicked"
						 (cadr f))
			     (gtk-box-pack-start box button)))))
		button-item-list)
    (gtk-container-add toplevel box)
    (gtk-tooltips-enable tooltip)
    (gtk-widget-show box)
    (gtk-widget-show toplevel)
    (lambda () 
	(if (not (gtk-object-destroyed toplevel))
	    (gtk-widget-unmap toplevel)
	    (gtk-widget-destroy toplevel)))))

(define-public (close-ScwmButtons sb)
  (sb))

(define*-public (button-item pixmap-file #&key (action noop) tooltip)
  (if (string? action)	;; permit "xterm" to mean (execute "xterm")
      (let ((program-name action))
	(set! action (lambda () (execute program-name)))))
  (list pixmap-file action tooltip))

----------simplebiff.scm-----------
;;;; -*-scwm-*-
;;;; $Id: $
;;;; Copyright (C) 1999 Glenn Trigg
;;;; 
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2, or (at your option)
;;;; any later version.
;;;; 
;;;; This program is distributed in the hope that it will be useful,
;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;;; GNU General Public License for more details.
;;;; 
;;;; You should have received a copy of the GNU General Public License
;;;; along with this software; see the file COPYING.  If not, write to
;;;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
;;;; Boston, MA 02111-1307 USA
;;;;
;;;   Usage:
;;;
;;; (use-modules (app scwm simplebiff))
;;;
;;; (simplebiff)	;; Default mail dir (/var/spool/mail) & username
;;;
;;; (simplebiff #:mail-spool-dir "/var/mail")	;; A different spool dir
;;;
;;; (simplebiff #:username "aligator")		;; A different user
;;;
;;; (simplebiff #:check-interval)	;; A different check interval
;;;					;; (default is 10s)
;;;
;;; Or any combination of the above.
;;;
;;; Current bugs:
;;;   - Will crash if the resultant mail file is non-existant.

(define-module (app scwm simplebiff)
  :use-module (app scwm optargs))

(define-public mailfile "")
(define-public mail-file-time 0)
(define-public mail-file-size 0)

(define*-public
  (simplebiff #&key (mail-spool-dir "/var/spool/mail")
	      (username (getenv "USER"))
	      (check-interval 10))
  (let* ((mailfile (string-append mail-spool-dir "/" username))
	 (mail-file-time (stat:mtime (stat mailfile)))
	 (mail-file-size (stat:size (stat mailfile))))
    (letrec ((handle #f)
	     (check-mail-file 
	      (lambda ()
		(let* ((newtime (stat:mtime (stat mailfile)))
		       (newsize (stat:size (stat mailfile))))
		  (if (and (> newtime mail-file-time)
			   (> newsize mail-file-size))
		      (beep))
		  (set! mail-file-time newtime)
		  (set! mail-file-size newsize)
		  (set! handle (add-timer-hook! (* 1000000 check-interval)
						check-mail-file)))))
	     (remove-hook (lambda () 
			    (if handle (remove-timer-hook! handle)))))
      (check-mail-file)
      )))

(define-public (stop-simplebiff sb)
  (sb))

------------End--------------

Glenn

From owner-scwm-discuss@mit.edu  Mon Mar 22 01:22:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA02039
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 01:22:03 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA02036
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 01:22:01 -0500
Received: from 207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA09618; Mon, 22 Mar 99 01:17:42 EST
Received: (from mstx@localhost)
	by 207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id VAA07386;
	Sun, 21 Mar 1999 21:41:41 -0500
To: Michael Fulbright <msf@redhat.com>
Cc: sds@goems.com, gnome-list@gnome.org,
        Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: Re: gnome compliant window managers
References: <199903220515.AAA21064@avatar.labs.redhat.com>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 21 Mar 1999 21:41:40 -0500
In-Reply-To: Michael Fulbright's message of "Mon, 22 Mar 1999 00:15:14 -0500"
Message-Id: <m3d8229rff.fsf@207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com>
Lines: 56
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Michael Fulbright <msf@redhat.com> writes:

> sds@goems.com said:
> > RH people do not consider this to be a bug (see http://
> > developer.redhat.com/bugzilla/show_bug.cgi?id=1503): 
> 
> We have chosen to use Enlightenment as our default window manager because
> in our experience it is the most GNOME compliant wm, and it has a very
> nice GUI tool to configure its behavior. It is installed by default in
> the Starbuck release.
> 

Hi,

I realize there is no plot to force particular WMs on people or
anything, but this does seem like a technical problem to me which
could probably be fixed.

Basically, people need to install Enlightenment (and all it's myriad
dependencies, some of which are not, at least currently, Gnome
dependencies per se) to be able to install Gnome from the RPMs unless
they build Gnome themselves, and even if they configure Gnome to use a
different window manager later, they can't uninstall Enlightenment
because the gnome-core package depends on it.

Again, although I realize this is all done with the best of
intentions, and gnome-core is in fact currently set up to build so
that it needs a specific window manager specified at configure-time, I
personally think it would be nice to find a technical solution either
in terms of modifing gnome-core to deal with this kind of thing more
gracefully, or in terms of the way the packaging is done, assuming
Gnome wants to maintain a nominal appearance of window manager
independece. I know it must be possible, because Red Hat has many
places where one package depends on one of several others being
present, through the use of the "Provides" RPM directive.

In fact the way it is set up now is kind of reminiscent of the way
Windows comes with Internet Explorer, and although you can install
another browser and use that, you still won't be able to remove IE. I
know the intention isn't as sinister in the Gnome/Enlightenment case,
but still I have seen posts from KDE guys claiming that Gnome isn't
_really_ window manager independent, etc etc so the whole thing is
kind of bad PR.

Personally, I don't care too much, I can spare the disk space for
packages I don't personally use, but the situation as is seems to
annoy some users on a philosophical level.

I am also curious what other OS distributors (Debian, FreeBSD, etc)
have done in terms of dependencies between the various gnome packages
and WM's. Have you made gnome-core dependent on a specific window
manager, or have you found some more clever solution?

Hoping to shed light rather than heat on this issue,

Maciej Stachowiak

From owner-scwm-discuss@mit.edu  Mon Mar 22 03:09:48 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA04097
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 03:09:48 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA04094
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 03:09:47 -0500
Received: from zirx.pair.com by MIT.EDU with SMTP
	id AA29462; Mon, 22 Mar 99 03:06:20 EST
Received: from localhost (rhp@localhost) by zirx.pair.com (8.9.1/8.6.12) with SMTP id DAA08609; Mon, 22 Mar 1999 03:05:32 -0500 (EST)
X-Envelope-To: scwm-discuss@mit.edu
Date: Mon, 22 Mar 1999 03:05:32 -0500 (EST)
From: Havoc Pennington <rhp@zirx.pair.com>
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: gnome-list@gnome.org, Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: Re: gnome compliant window managers
In-Reply-To: <m3d8229rff.fsf@207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com>
Message-Id: <Pine.BSF.4.02A.9903220258080.15406-100000@zirx.pair.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


On 21 Mar 1999, Maciej Stachowiak wrote:
> 
> I am also curious what other OS distributors (Debian, FreeBSD, etc)
> have done in terms of dependencies between the various gnome packages
> and WM's. Have you made gnome-core dependent on a specific window
> manager, or have you found some more clever solution?
> 

I think the Debian guys have decided this is broken. :-) Jim Pick
suggested writing a little "window manger selector" application which
would be the default "window manger"; it would then exec a window manager
and hopefully save it as the current one for the purposes of the control
panel (which may just mean for the purposes of the user's session, I
dunno).

Right now the Gnome deb's don't depend on any wm, but of course things
won't work so well unless you have one.

So basically, problem not solved but it will be, hopefully.

Havoc



From owner-scwm-discuss@mit.edu  Mon Mar 22 03:34:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA05095
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 03:34:18 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA05091
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 03:34:15 -0500
From: mal@bewoner.dma.be
Received: from dialup509.brussels.skynet.be by MIT.EDU with SMTP
	id AA01028; Mon, 22 Mar 99 03:30:45 EST
Received: (qmail 31278 invoked by uid 500); 22 Mar 1999 09:57:33 -0000
Date: 22 Mar 1999 09:57:33 -0000
Message-Id: <19990322095733.31277.qmail@gatekeeper>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Greg Badros <gjb@cs.washington.edu>
Cc: "Daniel Solaz" <dsolaz@sistelcom.com>, scwm-discuss@mit.edu
Subject: Re: Much improved Scwm Web Page
In-Reply-To: <qrr3e2ymsr5.fsf@elwha.cs.washington.edu>
References: <qrrvhfztabg.fsf@elwha.cs.washington.edu>
	<36F3F031.624DB041@sistelcom.com>
	<qrr3e2ymsr5.fsf@elwha.cs.washington.edu>
X-Mailer: VM 6.34 under 20.3 "Vatican City" XEmacs  Lucid
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros writes:
 > Colors, of course, aren't the only place where this is useful (though if 
 > you're interested in colors, check out Blair McIntyre's thesis).

The Modula-3 guy? I thought he was doing stuff with NetObjects. What's 
his thesis about?

Lieven

From owner-scwm-discuss@mit.edu  Mon Mar 22 03:55:30 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA05424
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 03:55:30 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA05421
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 03:55:28 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA02141; Mon, 22 Mar 99 03:52:01 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id JAA29670
	for scwm-discuss@mit.edu; Mon, 22 Mar 1999 09:38:03 +0100 (MET)
Received: (qmail 12025 invoked by uid 115); 22 Mar 1999 00:12:44 -0000
To: scwm-discuss@mit.edu
Subject: Re: Window group feature
References: <qrriubys8l2.fsf@elwha.cs.washington.edu> <wsn219d6hw.fsf@orcus.priv.at> <qrrk8wcmv26.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 22 Mar 1999 01:12:43 +0100
In-Reply-To: Greg Badros's message of "20 Mar 1999 00:20:17 -0800"
Message-Id: <wsbthm2xhg.fsf@orcus.priv.at>
Lines: 73
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 20 Mar 1999 00:20:17 -0800
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> In part, yes, I think we are talking about this (though I'd
 Greg> like to see groups be user-definable, too -- I can imagine
 Greg> wanting to control an xterm and an emacs both running on a
 Greg> remote machine together).

Yeah. I think this can be thought about, when we have a bit of
experience with the window group thing. A good API is probably the
main challenge.

 Greg> Not sure what you mean here... closing one gimp window probably
 Greg> shouldn't close the others, I'd think.

Since you have both `close-window' and `close-group' available, you
have the option to close each window individually, or have scwm close
all of them. This is probably not that useful for groups that consist
of a single application (closing the right window usually kills the
app), but could be of value for multi-app groups (e.g. the xterm-emacs 
example you used above).

 >> * Raise/Lower: Raise/lower all windows of the group above/below
 >>   all others, keeping their z-order constant.

 Greg> Sounds good, but optionally on individual windows, too, of
 Greg> course.

Yeah. As always, there is `raise-window' as well as `raise-group'.


 Greg> Actually, I don't think it *needs* to be a primitive (though it
 Greg> might be useful for efficiency. This works just fine:

 Greg> (define (group-leader-id win)
 Greg>   (vector-ref (car (X-property-get win "WM_HINTS")) 8))

You're right, I forgot about that. That's how it's done now (I don't
think efficiency is an issue).

 Greg> The other interesting possibility is using the constraint
 Greg> solver for this.

I thought about this too, at first. But I'm a bit wary of making
features dependent on Cassowary - especially if the alternative is
only a few lines of scheme.

Ok, I have now implemented all of the functionality I mentioned,
except resize, which seemed useless. Stuff will (hopefully) go into CVS
tomorrow morning.

One thing I discovered: there are really lots and lots of "standard"
window operations, i.e. functions of the form
        (foo #&optional (win (get-window)))
I can make group-aware versions by simply adding them to a list (I do
this for `window-shade-group', `stick-group', etc. right now), but I
don't think this makes much sense.

I'd rather provide a "groupify" adaptor that takes a function of the
above form, and returns a lambda that applies this function to all
members of a group.

We'll also have to think about trimming down the load of functions.
For example, there are animated versions of nearly everything. Why not 
fold them into the normal interfaces, available by a keyword argument?

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Mon Mar 22 05:29:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA05891
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 05:29:18 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA05888
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 05:29:14 -0500
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA06729; Mon, 22 Mar 99 05:25:41 EST
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id LAA04099
	for <scwm-discuss@mit.edu>; Mon, 22 Mar 1999 11:24:54 +0100 (MET)
Date: Mon, 22 Mar 1999 11:23:10 +0100
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scm-discuss@mit.edu
Subject: bug in window-style ? escape character and sticky-icons
Message-Id: <19990322112310.C16950@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3us
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

I just tried scwm after much hesitations. I like gwm and emacs and
scheme, so The only obstacle was to change from my good old fvwm.

I tried to convert my fvwmrc by hand. I managed pretty well despite
the relative lack of documentation.

I have only to little problems which seem to be bug for me :

the "sticky-icons" option doesn't work like the fvwm one : when I
de-iconify a window, it appears in its original position, and not in
the current viewport as I expected. And even worse : the viewport is
not changed to the one of this window.

is there a way to escape the special character "*" in window-style ? I
would like to have the special buffers of emacs sticky, but not the
normal ones :

(window-style "Emacs" #:icon "gnu-animal.xpm" #:mini-icon "mini-doc.xpm")
(window-style "Emacs: \**\*" #:sticky #t)

Unfortunately all my emacs windows become sticky. Some thing I don't
want.

I have not so much time to look into the code for the moment, so if
someone could help.


-- 
Hubert Canon

From owner-scwm-discuss@mit.edu  Mon Mar 22 06:19:51 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA06178
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 06:19:51 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id GAA06172
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 06:18:46 -0500
Received: from ifmmserv.ifm.uni-hamburg.de by MIT.EDU with SMTP
	id AA29077; Mon, 22 Mar 99 06:14:20 EST
Received: from suez.waternet.de (root@max2-150.public.uni-hamburg.de [134.100.45.150])
	by ifmmserv.ifm.uni-hamburg.de (8.8.8/8.8.8) with ESMTP id MAA11892;
	Mon, 22 Mar 1999 12:14:04 +0100
Received: from ifm.uni-hamburg.de (jan@atlantic.waternet.de [192.168.10.10])
	by suez.waternet.de (8.8.8/8.8.8) with ESMTP id LAA00663;
	Mon, 22 Mar 1999 11:33:47 +0100
Message-Id: <36F61C0F.A89EE1B9@ifm.uni-hamburg.de>
Date: Mon, 22 Mar 1999 11:31:43 +0100
From: Jan Gentsch <gentsch@ifm.uni-hamburg.de>
Organization: IFM Hamburg
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.2.3 i686)
X-Accept-Language: en
Mime-Version: 1.0
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Michael Fulbright <msf@redhat.com>, sds@goems.com, gnome-list@gnome.org,
        Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: Re: gnome compliant window managers
References: <199903220515.AAA21064@avatar.labs.redhat.com> <m3d8229rff.fsf@207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Please read the threads:
Windowmanager in session.wm
It deals exactly whith this issue.
Though in this case you should probably make it clear that it is not
gnome that depends on enlightenment (and that should also be reflected
in the packages setup). Maybe you could use a Starbuck-configuration
package which will then depend on enlightenment which contains the
default setup you want to pop up.
Personally I find configuring windowmaker to play along with gnome much
easier (has a nice gui configuration tool as well) ;-)

Jan

Maciej Stachowiak wrote:
> 
> Michael Fulbright <msf@redhat.com> writes:
> 
> > sds@goems.com said:
> > > RH people do not consider this to be a bug (see http://
> > > developer.redhat.com/bugzilla/show_bug.cgi?id=1503):
> >
> > We have chosen to use Enlightenment as our default window manager because
> > in our experience it is the most GNOME compliant wm, and it has a very
> > nice GUI tool to configure its behavior. It is installed by default in
> > the Starbuck release.
> >
8<
> I am also curious what other OS distributors (Debian, FreeBSD, etc)
> have done in terms of dependencies between the various gnome packages
> and WM's. Have you made gnome-core dependent on a specific window
> manager, or have you found some more clever solution?
> 
> Hoping to shed light rather than heat on this issue,
> 
> Maciej Stachowiak
> 
> --
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with
>                        "unsubscribe" as the Subject.

From owner-scwm-discuss@mit.edu  Mon Mar 22 06:18:35 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA06170
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 06:18:35 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id GAA06167
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 06:18:30 -0500
Received: from ifmmserv.ifm.uni-hamburg.de by MIT.EDU with SMTP
	id AA29059; Mon, 22 Mar 99 06:14:08 EST
Received: from suez.waternet.de (root@max2-150.public.uni-hamburg.de [134.100.45.150])
	by ifmmserv.ifm.uni-hamburg.de (8.8.8/8.8.8) with ESMTP id MAA11889;
	Mon, 22 Mar 1999 12:14:03 +0100
Received: from ifm.uni-hamburg.de (jan@atlantic.waternet.de [192.168.10.10])
	by suez.waternet.de (8.8.8/8.8.8) with ESMTP id LAA00666;
	Mon, 22 Mar 1999 11:38:04 +0100
Message-Id: <36F61D10.8C018109@ifm.uni-hamburg.de>
Date: Mon, 22 Mar 1999 11:36:00 +0100
From: Jan Gentsch <gentsch@ifm.uni-hamburg.de>
Organization: IFM Hamburg
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.2.3 i686)
X-Accept-Language: en
Mime-Version: 1.0
To: Havoc Pennington <rhp@zirx.pair.com>
Cc: Maciej Stachowiak <mstachow@alum.mit.edu>, gnome-list@gnome.org,
        Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: Re: gnome compliant window managers
References: <Pine.BSF.4.02A.9903220258080.15406-100000@zirx.pair.com>
Content-Type: text/plain; charset=iso-8859-1
X-Mime-Autoconverted: from 8bit to quoted-printable by ifmmserv.ifm.uni-hamburg.de id MAA11889
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by VICARIOUS-EXISTENCE.MIT.EDU id GAA06168
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

SuSE rpms don´t depend on a particular windowmanager, but you are
prompted the first time you startup to choose one of the windowmanagers
available on the system (that assumes that at least on is installed, but
that assumption will hold true 99.9% of the time unless the person
operating the system nows what he is doing anyhow.

Jan

Havoc Pennington wrote:
> 
> On 21 Mar 1999, Maciej Stachowiak wrote:
> >
> > I am also curious what other OS distributors (Debian, FreeBSD, etc)
> > have done in terms of dependencies between the various gnome packages
> > and WM's. Have you made gnome-core dependent on a specific window
> > manager, or have you found some more clever solution?
> >
> 
> I think the Debian guys have decided this is broken. :-) Jim Pick
> suggested writing a little "window manger selector" application which
> would be the default "window manger"; it would then exec a window manager
> and hopefully save it as the current one for the purposes of the control
> panel (which may just mean for the purposes of the user's session, I
> dunno).
> 
> Right now the Gnome deb's don't depend on any wm, but of course things
> won't work so well unless you have one.
> 
> So basically, problem not solved but it will be, hopefully.
> 
> Havoc
> 
> --
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with
>                        "unsubscribe" as the Subject.

From owner-scwm-discuss@mit.edu  Mon Mar 22 06:39:14 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA06679
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 06:39:14 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id GAA06675
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 06:39:12 -0500
Received: from dialup-t1-233.Melbourne.netspace.net.au by MIT.EDU with SMTP
	id AA00417; Mon, 22 Mar 99 06:34:46 EST
Received: from localhost (1432 bytes) by zappa.
	via sendmail with P:stdio/R:internet_hosts/T:smtp
	(sender: <ggt>) (ident <ggt> using unix)
	id <m10P2yd-002Sy5C@zappa.>
	for <scwm-discuss@mit.edu>; Mon, 22 Mar 1999 22:34:39 +1100 (EST)
	(Smail-3.2.0.101 1997-Dec-17 #1 built 1998-Aug-25)
Message-Id: <m10P2yd-002Sy5C@zappa.>
Date: Mon, 22 Mar 1999 22:34:39 +1100 (EST)
From: ggt@netspace.net.au (Glenn Trigg)
X-Mailer: Privtool [V0.90 Beta GT002] (i586-pc-linux-gnu/Motif)
Subject: Theme question
To: scwm-discuss@mit.edu
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

G'day,

I'm attempting to create a new theme and although it's largely working
I'm having trouble getting my title bars to have more than three
buttons, one on the left and two on the right. Is that a known problem
or am I doing something wrong? The part of the theme.scm looks like:

		(button-style 1 #:relief 'flat 
			      #:solid "navy blue" #:pixmap 'mini-program-icon
			      #:inactive 
			      (list #:solid "grey50" #:pixmap 'mini-program-icon))
		(button-style 2 #:relief 'flat
			      #:solid "black"
			      #:pixmap (load-theme-image "win95-close-full.xpm")
			      #:inactive 
			      (list #:solid "grey25"))
		(button-style 4 #:relief 'flat
			      #:solid "black"
			      #:pixmap (load-theme-image
					"win95-maximize-full.xpm")
			      #:inactive 
			      (list #:solid "grey25"))
		(button-style 6 #:relief 'flat
			      #:solid "black"
			      #:pixmap (load-theme-image
					"win95-minimize-full.xpm")
			      #:inactive 
			      (list #:solid "grey25"))
		(button-style 8 #:relief 'flat
			      #:solid "black"
			      #:pixmap (load-theme-image
					"win95-shade-full.xpm")
			      #:inactive 
			      (list #:solid "grey25"))

but I only ever see buttons 1, 2 & 4.
This is with the 0.9 tarball from the web site.

Glenn

From owner-scwm-discuss@mit.edu  Mon Mar 22 07:18:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA07469
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 07:18:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id HAA07466
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 07:18:05 -0500
Received: from 207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA03160; Mon, 22 Mar 99 07:13:43 EST
Received: (from mstx@localhost)
	by 207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id DAA19522;
	Mon, 22 Mar 1999 03:37:20 -0500
To: ggt@netspace.net.au (Glenn Trigg)
Cc: scwm-discuss@mit.edu
Subject: Re: Theme question
References: <m10P2yd-002Sy5C@zappa.>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 22 Mar 1999 03:37:19 -0500
In-Reply-To: ggt@netspace.net.au's message of "Mon, 22 Mar 1999 22:34:39 +1100 (EST)"
Message-Id: <m37ls99ayo.fsf@207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com>
Lines: 60
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

ggt@netspace.net.au (Glenn Trigg) writes:

> G'day,
> 
> I'm attempting to create a new theme and although it's largely working
> I'm having trouble getting my title bars to have more than three
> buttons, one on the left and two on the right. Is that a known problem
> or am I doing something wrong? The part of the theme.scm looks like:
> 

[... snip for brevity ...]

> but I only ever see buttons 1, 2 & 4.
> This is with the 0.9 tarball from the web site.
> 

Unfortunatey, scwm has a slightly goofy way of deciding on button
visibility. It will never show a button unless there exists a mouse
binding for that button. Subject to that constraint, you can also
control the number of visible buttons with the #:button and
#:no-button style options, but these only work when a window is first
created. This is one of the few leftovers of the original fvwm's more
static configuration.

I would consider this a thing to fix before 1.0; it does make the
theme capability more limited than it needs to be.

Incidentally, thanks for making more Scwm themes! I encourage you and
others to make more.

I will create a new scwm-extra-themes package where I will be happy to
put all user-contributed themes, and will endeavor to make coordinated
releases of that with scwm (people will have to agree to provide
updates for their own themes if scwm development breaks them though,
as I don't think the main developers will have time to fix a
potentially large number of themes).

I think we should also pick a few of the best ones to ship with scwm
itself (in addition to the ones that provide looks similar to other
popular window managers). "Best" could be interpreted in several ways
here of course - nice looking and usable, gratuitous eye candy (a la
nearly any Enlightenment theme), and stuff that show's off scwm's
unique capabilities. I think we should include at least one of each.

One other thing that scwm could use is per-window and global
theme-selector menus which would scan the theme-path and let the user
change his current theme on the fly (like the way decor.scwmrc works,
but providing access to all themes, not just the fixed setups in
decor.scwmrc).

I would also consider this an important goal for 1.0; I'd be happy if
someone could contribute a module to do this.

Also, if anyone wants to start and maintain a scwm.themes.org, that
would be awesome. A lot of people use themes.org as a way to pick
their window manager and wm look these days.

 - Maciej



From owner-scwm-discuss@mit.edu  Mon Mar 22 07:21:24 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA07505
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 07:21:24 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id HAA07502
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 07:21:22 -0500
Received: from 207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA03447; Mon, 22 Mar 99 07:17:00 EST
Received: (from mstx@localhost)
	by 207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id DAA19105;
	Mon, 22 Mar 1999 03:22:08 -0500
To: Jan Gentsch <gentsch@ifm.uni-hamburg.de>
Cc: Havoc Pennington <rhp@zirx.pair.com>,
        Maciej Stachowiak <mstachow@alum.mit.edu>, gnome-list@gnome.org,
        Scwm Discussion List <scwm-discuss@mit.edu>
Subject: Re: gnome compliant window managers
References: <Pine.BSF.4.02A.9903220258080.15406-100000@zirx.pair.com> <36F61D10.8C018109@ifm.uni-hamburg.de>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
In-Reply-To: Jan Gentsch's message of "Mon, 22 Mar 1999 11:36:00 +0100"
X-Mailer: Gnus v5.5/Emacs 20.3
Date: 22 Mar 1999 03:22:06 -0500
Message-Id: <m3u2ve7x3l.fsf@207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com>
Lines: 31
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Jan Gentsch <gentsch@ifm.uni-hamburg.de> writes:

> SuSE rpms don't depend on a particular windowmanager, but you are
> prompted the first time you startup to choose one of the windowmanagers
> available on the system (that assumes that at least on is installed, but
> that assumption will hold true 99.9% of the time unless the person
> operating the system nows what he is doing anyhow.

I'd consider that better behavior than what Red Hat does. This could
be made to work even better by having a gnome-compliant-wm
pseudo-package and having gnome-core depend on it, and all
gnome-compliant WM's provide it.

However, I think it would be better to just probe the gnome-compliant
window managers in some arbitrary/specified order the first time gnome
starts up, and depend ona gnome-compliant-wm pseudo-package. Indeed,
one might argue the pseudo-package is not even necessry since users
should be able to run with a non-compliant wm oo if they want to, but
that is a separate issue. Perhaps a "windowmanager" pseudo-package
could be used instead, depending on distributor tastes. The reason I'd
suggest this instead is because a "choose your window manager" dialog
would confuse the heck out of new users.

I see now that this has already been suggested in the
"Windowmanager in session.wm" thread; I wasn't aware of that thread
until now because I didn't subscribe to gnome-list until I saw the
cross-posted message that started this thread.

Further discussion should probably take place on the other thread.

 - Maciej Stachowiak

From owner-scwm-discuss@mit.edu  Mon Mar 22 07:23:05 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA07534
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 07:23:05 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id HAA07531
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 07:23:04 -0500
Received: from 207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA03572; Mon, 22 Mar 99 07:18:40 EST
Received: (from mstx@localhost)
	by 207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id DAA19815;
	Mon, 22 Mar 1999 03:42:36 -0500
To: Glenn Trigg <glenn@aus.compgen.com>
Cc: scwm-discuss@mit.edu
Subject: Re: New modules
References: <199903220611.RAA16024@ozpc92.aus.compgen.com>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 22 Mar 1999 03:42:35 -0500
In-Reply-To: Glenn Trigg's message of "Mon, 22 Mar 1999 17:11:11 +1100"
Message-Id: <m3677t9apw.fsf@207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com>
Lines: 45
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Glenn Trigg <glenn@aus.compgen.com> writes:

> Maciej Stachowiak <mstachow@alum.mit.edu> said :
> 
> > * A ScwmBiff module which uses simplebiff.scm to provide something
> > pretty much like the original biff, only with configurable graphics.
> 
> Yep, I'm thinking of having something where you can specify a "normal"
> pixmap and then a list of pixmaps to show with a configurable inbetween
> delay as an animated new-mail icon.

That would be pretty cool.
 
> > * An enhancement to your ScwmButtons to allow swallowing apps into the
> > area of a button. I believe gtk+-1.2 has some support for this.
> 
> I have been thinking of making a ScwmHolder (or whatever name) which is
> effectively a Gtk[HV]Box which can act as a parent for certain modules
> (ScwmClock, ScwmButtons, ScwmBiff etc.). Does that seem like a better
> (more flexible) way to do it rather than make ScwmButtons more complicated?

That could be good, but what I am thinking of in terms of swallowing
is the ability to swallow apps that Scwm inherently knows nothing
about (say, an analog xclock, which scwm does not [yet] have available
built-in). As long as your container applet did that, things would be
peachy. However, for a lot of people, the swallow capability is
essential to their usage of FvwmButtons, which ideally we'd want
ScwmButtons to be ablle to replace (and then some!).

> Another thing I forgot to mention, I haven't actually learnt
> lisp/scheme/guile, I've just tried to figure out what's what by looking
> at & copying existing .scm files. Feel free to comment on the code.

I'll look over it later today, but at a quick glance it looks pretty
good.

 - Maciej









From owner-scwm-discuss@mit.edu  Mon Mar 22 14:38:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA10183
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 14:38:37 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA10180
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 14:38:34 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA00870; Mon, 22 Mar 99 14:35:01 EST
Received: from Central.Sun.COM ([129.147.70.10])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with SMTP id LAA02425;
	Mon, 22 Mar 1999 11:33:53 -0800 (PST)
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id MAA14299; Mon, 22 Mar 1999 12:33:46 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1b+Sun/8.9.1) id MAA10238;
	Mon, 22 Mar 1999 12:33:48 -0700 (MST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: build problem: libtool --no-reexec
References: <ii7u2vio4zj.fsf@central.sun.com> <wsk8wdd6ab.fsf@orcus.priv.at>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Sam Falkner <samf@central.sun.com>
Date: 22 Mar 1999 12:33:48 -0700
In-Reply-To: Robert Bihlmeyer's message of "19 Mar 1999 13:15:40 +0100"
Message-Id: <ii7d8212uar.fsf@central.sun.com>
Lines: 9
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Argh, I don't have automake and autoconf (and whatever else autogen.sh 
needs).  I guess I'll start rounding these up, but would it be easy to 
make the nightly snapshots (i.e. the CVS repository) not require this?
I ask mostly because the `official' distributions don't.

- Sam

> That's a version mismatch between your libtool and the libtool scripts 
> that scwm comes with. Running "autogen.sh" does not remedy this?

From owner-scwm-discuss@mit.edu  Mon Mar 22 14:44:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA10258
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 14:44:42 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA10254
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 14:44:39 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA24114; Mon, 22 Mar 99 14:40:14 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id UAA27644
	for scwm-discuss@mit.edu; Mon, 22 Mar 1999 20:38:21 +0100 (MET)
Received: (qmail 4048 invoked by uid 115); 22 Mar 1999 09:46:29 -0000
To: scwm-discuss@mit.edu
Subject: Re: Window group feature
References: <qrriubys8l2.fsf@elwha.cs.washington.edu> <wsn219d6hw.fsf@orcus.priv.at> <qrrk8wcmv26.fsf@elwha.cs.washington.edu> <19990320090136Z276583-384+223@pulsar.halcyon.com> <qrr677umt5u.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 22 Mar 1999 10:46:27 +0100
In-Reply-To: Greg Badros's message of "21 Mar 1999 13:25:49 -0800"
Message-Id: <wsiubtg8lo.fsf@orcus.priv.at>
Lines: 23
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 21 Mar 1999 13:25:49 -0800
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> Maybe we make a menu that contains all the window group leaders
 Greg> (even if they correspond to windows that haven't been mapped)
 Greg> and have some group-centered options there, including "Close
 Greg> Group".

That is a good idea. The main problem here is: what heading do you put 
the group under. Let's take the Gimp again: the session leader window
has no name - how should Scwm call the group? In this case, we can use 
the leader's WM_COMMAND, or WM_CLASS property, but neither is
guaranteed to be provided, and neither is guaranteed to provide useful 
info. Still, the window class is probably our best bet right now. I'll 
see what I can do tomorrowish.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Mon Mar 22 16:18:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA10990
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 16:18:13 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA10987
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 16:18:10 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA24909; Mon, 22 Mar 99 16:13:45 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA19356; Mon, 22 Mar 1999 13:13:15 -0800 (PST)
To: mal@bewoner.dma.be
Cc: "Daniel Solaz" <dsolaz@sistelcom.com>, scwm-discuss@mit.edu
Subject: Re: Much improved Scwm Web Page
References: <qrrvhfztabg.fsf@elwha.cs.washington.edu> <36F3F031.624DB041@sistelcom.com> <qrr3e2ymsr5.fsf@elwha.cs.washington.edu> <19990322095733.31277.qmail@gatekeeper>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Mar 1999 13:13:15 -0800
In-Reply-To: mal@bewoner.dma.be's message of "22 Mar 1999 09:57:33 -0000"
Message-Id: <qrroglljkic.fsf@elwha.cs.washington.edu>
Lines: 22
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

mal@bewoner.dma.be writes:

> Greg Badros writes:
>  > Colors, of course, aren't the only place where this is useful (though if 
>  > you're interested in colors, check out Blair McIntyre's thesis).
> 
> The Modula-3 guy? I thought he was doing stuff with NetObjects. What's 
> his thesis about?

If he is a Modula-3 guy, I don't know about it (probably a different
guy).  Here's a reference to his thesis.

@MastersThesis{MacIntyre91,
  author =       {MacIntyre, Blair},
  title =        {A Constraint-based Approach to Dynamic Colour
Management for Windowing Interfaces},
  school =       {University of Waterloo},
  year =         1991,
  address =      {Waterloo, Ontario, Canada}
}

Greg

From owner-scwm-discuss@mit.edu  Mon Mar 22 17:16:21 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA11482
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 17:16:21 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA11479
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 17:16:18 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA16991; Mon, 22 Mar 99 17:12:43 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA19409; Mon, 22 Mar 1999 14:11:52 -0800 (PST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Window group feature
References: <qrriubys8l2.fsf@elwha.cs.washington.edu> <wsn219d6hw.fsf@orcus.priv.at> <qrrk8wcmv26.fsf@elwha.cs.washington.edu> <wsbthm2xhg.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Mar 1999 14:11:52 -0800
In-Reply-To: Robert Bihlmeyer's message of "22 Mar 1999 01:12:43 +0100"
Message-Id: <qrr4sndjhsn.fsf@elwha.cs.washington.edu>
Lines: 47
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

<snip>

> I thought about this too, at first. But I'm a bit wary of making
> features dependent on Cassowary - especially if the alternative is
> only a few lines of scheme.

Certainly.

> 
> Ok, I have now implemented all of the functionality I mentioned,
> except resize, which seemed useless. Stuff will (hopefully) go into CVS
> tomorrow morning.
> 
> One thing I discovered: there are really lots and lots of "standard"
> window operations, i.e. functions of the form
>         (foo #&optional (win (get-window)))
> I can make group-aware versions by simply adding them to a list (I do
> this for `window-shade-group', `stick-group', etc. right now), but I
> don't think this makes much sense.
> 
> I'd rather provide a "groupify" adaptor that takes a function of the
> above form, and returns a lambda that applies this function to all
> members of a group.
> 
> We'll also have to think about trimming down the load of functions.
> For example, there are animated versions of nearly everything. Why not 
> fold them into the normal interfaces, available by a keyword argument?

The big issue is that that keyword argument shouldn't exist in the
original procedure, but only if/when the animated module is loaded.
E.g., the primitive `resize-window' can't know about #:animated (and
primitives don't mess with keyword arguments anyway), but when 

(use-modules (app scwm animated-resize))

is executed (hypothetically, of course -- it's not separated out into
its own module yet), then `resize-window' needs to be augmented with the 
new keyword argument.

We can certainly do this, but we need to decide on the right extension
mechanism and conventions if we do go this route.  No doubt Maciej has
thoughts on this-- I defer Scheme wizardry to him and the other Scheme
gurus who are around.

Greg

From owner-scwm-discuss@mit.edu  Mon Mar 22 17:22:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA11558
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 17:22:42 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA11554
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 17:22:15 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA18373; Mon, 22 Mar 99 17:18:37 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA19412; Mon, 22 Mar 1999 14:17:43 -0800 (PST)
To: Glenn Trigg <glenn@aus.compgen.com>
Cc: mstachow@alum.mit.edu, scwm-discuss@mit.edu
Subject: Re: New modules
References: <199903220611.RAA16024@ozpc92.aus.compgen.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Mar 1999 14:17:43 -0800
In-Reply-To: Glenn Trigg's message of "Mon, 22 Mar 1999 17:11:11 +1100"
Message-Id: <qrr1zihjhiw.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Glenn Trigg <glenn@aus.compgen.com> writes:

> Another thing I forgot to mention, I haven't actually learnt
> lisp/scheme/guile, I've just tried to figure out what's what by looking
> at & copying existing .scm files. Feel free to comment on the code.

This is a great way to learn Scheme-- you may also want to check out
some of the scheme links on the scwm web page:

http://vicarious-existence.mit.edu/scwm/

Thanks for these contributions-- they look great!

Greg

From owner-scwm-discuss@mit.edu  Mon Mar 22 17:33:10 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA11695
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 17:33:10 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA11692
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 17:33:08 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA20732; Mon, 22 Mar 99 17:29:34 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA19427; Mon, 22 Mar 1999 14:28:44 -0800 (PST)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@mit.edu
Subject: Re: bug in window-style ? escape character and sticky-icons
References: <19990322112310.C16950@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Mar 1999 14:28:44 -0800
In-Reply-To: Hubert Canon's message of "Mon, 22 Mar 1999 11:23:10 +0100"
Message-Id: <qrru2vdi2g3.fsf@elwha.cs.washington.edu>
Lines: 57
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

[note: I fixed the cc: from scm-discuss to scwm-discuss]

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hi,
> 
> I just tried scwm after much hesitations. I like gwm and emacs and
> scheme, so The only obstacle was to change from my good old fvwm.
> 
> I tried to convert my fvwmrc by hand. I managed pretty well despite
> the relative lack of documentation.

Do you know about the online reference available from the web page?
What documentation would have been most helpful for you in this process?

Also, there is now a fvwm2rc-to-scwmrc converter script that may greatly 
aid people in converting (and might be completely usable on many fvwm2rc 
configurations already).

> 
> I have only to little problems which seem to be bug for me :
> 
> the "sticky-icons" option doesn't work like the fvwm one : when I
> de-iconify a window, it appears in its original position, and not in
> the current viewport as I expected. And even worse : the viewport is
> not changed to the one of this window.

I don't use icons, so I'm not sure what the problem is offhand, here.
Sounds like a bug, though.

> 
> is there a way to escape the special character "*" in window-style ? I
> would like to have the special buffers of emacs sticky, but not the
> normal ones :
> 
> (window-style "Emacs" #:icon "gnu-animal.xpm" #:mini-icon "mini-doc.xpm")
> (window-style "Emacs: \**\*" #:sticky #t)

You can do something like

(window-style (title-match?? "^Emacs: \\*.*\\*" 'regexp) #:sticky #t)

Note that "\*" in a scheme string is just "\";  you need to use a
regular expression and quote the * character using a literal '\';  the
regexp string created above is:

^Emacs: \*.*\*

But I'm still not sure that this'll do what you want-- I don't think our 
window styles re-evaluate dynamically when a window's title changes.
This could be done with a new hook (or probably even with an existing
hook, although not as obviously)

Thanks for the bug report!

Greg


From owner-scwm-discuss@mit.edu  Mon Mar 22 18:10:36 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA11994
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 18:10:36 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA11991
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 18:10:33 -0500
Received: from ifmmserv.ifm.uni-hamburg.de by MIT.EDU with SMTP
	id AA28751; Mon, 22 Mar 99 18:06:57 EST
Received: from suez.waternet.de (root@max1-043.public.uni-hamburg.de [134.100.43.43])
	by ifmmserv.ifm.uni-hamburg.de (8.8.8/8.8.8) with ESMTP id AAA15868;
	Tue, 23 Mar 1999 00:05:58 +0100
Received: from ifm.uni-hamburg.de (jan@atlantic.waternet.de [192.168.10.10])
	by suez.waternet.de (8.8.8/8.8.8) with ESMTP id AAA02896;
	Tue, 23 Mar 1999 00:08:28 +0100
Message-Id: <36F6CCE9.6E2511C2@ifm.uni-hamburg.de>
Date: Tue, 23 Mar 1999 00:06:17 +0100
From: Jan Gentsch <gentsch@ifm.uni-hamburg.de>
Organization: IFM Hamburg
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.2.3 i686)
X-Accept-Language: en
Mime-Version: 1.0
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Havoc Pennington <rhp@zirx.pair.com>, gnome-list@gnome.org,
        Scwm Discussion List <scwm-discuss@mit.edu>
Subject: Re: gnome compliant window managers
References: <Pine.BSF.4.02A.9903220258080.15406-100000@zirx.pair.com> <36F61D10.8C018109@ifm.uni-hamburg.de> <m3u2ve7x3l.fsf@207-172-245-49.s303.tnt1.sbo.ma.dialup.rcn.com>
Content-Type: text/plain; charset=iso-8859-1
X-Mime-Autoconverted: from 8bit to quoted-printable by ifmmserv.ifm.uni-hamburg.de id AAA15868
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by VICARIOUS-EXISTENCE.MIT.EDU id SAA11992
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak wrote:
> 
> Jan Gentsch <gentsch@ifm.uni-hamburg.de> writes:
> 
> > SuSE rpms don't depend on a particular windowmanager, but you are
> > prompted the first time you startup to choose one of the windowmanagers
> > available on the system (that assumes that at least on is installed, but
> > that assumption will hold true 99.9% of the time unless the person
> > operating the system nows what he is doing anyhow.
> 
> I'd consider that better behavior than what Red Hat does. This could
> be made to work even better by having a gnome-compliant-wm
> pseudo-package and having gnome-core depend on it, and all
> gnome-compliant WM's provide it.
> 
> However, I think it would be better to just probe the gnome-compliant
> window managers in some arbitrary/specified order the first time gnome
> starts up, and depend ona gnome-compliant-wm pseudo-package. Indeed,
> one might argue the pseudo-package is not even necessry since users
> should be able to run with a non-compliant wm oo if they want to, but
> that is a separate issue. Perhaps a "windowmanager" pseudo-package
> could be used instead, depending on distributor tastes. The reason I'd
> suggest this instead is because a "choose your window manager" dialog
> would confuse the heck out of new users.

I just consider it polite not to force a slightly more knowledgeable
user to first use a windowmanager that he doesn´t want to use. Just make
use of the help system (which at some stage should finally be more than
a button labeled help) and to make extra sure add something along the
line of: ´If you don´t know what this is about, just press default´.

Also that gives the user an indication why her desktop looks so much
different from his. Now that would be a real puzzle if you don´t know
anything about windowmanagers. Take the chance for a gentle introduction
of important UI-Concepts ;-) .

Really, this points out one of the biggest bugs in gnome as is: The Help
system is not being used, or it is often not used to provide real help
(sorry, the help is so seldom mapped to something I can´t remember where
I last found the later).
One of my biggest wishes would be that we end up with a help system
which doesn´t confronts you with such deep thought of the kind: ´The
change windowmanager applet allows you to change your windowmanager.´.

Jan

> 
> I see now that this has already been suggested in the
> "Windowmanager in session.wm" thread; I wasn't aware of that thread
> until now because I didn't subscribe to gnome-list until I saw the
> cross-posted message that started this thread.
> 
> Further discussion should probably take place on the other thread.
> 
>  - Maciej Stachowiak
> 
> --
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with
>                        "unsubscribe" as the Subject.

From owner-scwm-discuss@mit.edu  Mon Mar 22 18:11:40 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA12002
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 18:11:40 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA11999
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 18:11:37 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA22723; Mon, 22 Mar 99 18:07:11 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA19475; Mon, 22 Mar 1999 15:07:13 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: scwm.el feature requests
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Mar 1999 15:07:13 -0800
Message-Id: <qrrk8w9i0ny.fsf@elwha.cs.washington.edu>
Lines: 27
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Two things I'd love to see scwm.el have are:

1) This has been mentioned earlier: errors in XEmacs could pop up the
error in a new buffer and window, instead of relying on the minibuffer
-- Emacs uses ^J to stand for newlines, while XEmacs echos the newlines
resulting in no message in the minibuffer.  If the error (or the result,
for that matter) is more than one line, it'd be nice to have the
response buffer/window pop up for XEmacs and Emacs

2) A comment-removing multi-line eval so I could evaluate this s-exp w/o 
removing the comments by hand:

;;;(run-ScwmButtons
;;; (list
;;;  (button-item "mini-term.xpm" #:action "xterm")
;;;  (button-item "mini-calc.xpm" #:action "xcalc")
;;;  (button-item "mini-xmcd.xpm" #:action "xmcd")
;;;  (button-item "mini-xv.xpm" #:action "xv")
;;;  (button-item "mini-gv.xpm" #:action "gv")
;;;  (button-item "mini-nscape.xpm" #:action "/usr/netscape/netscape")
;;;  ))
       ^ Want C-u C-j here to do the right thing

Maybe scwm-eval-rectangle would be sufficient?

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Mon Mar 22 18:48:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA12484
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 18:48:03 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA12478
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 18:48:00 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA00723; Mon, 22 Mar 99 18:43:32 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Mon, 22 Mar 1999 18:42:39 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Mon, 22 Mar 1999 18:42:38 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id SAA12702;
	Mon, 22 Mar 1999 18:43:04 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: scwm.el feature requests
References: <qrrk8w9i0ny.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "22 Mar 1999 15:07:13 -0800"
Date: 22 Mar 1999 18:43:04 -0500
Message-Id: <m3k8w9f5vb.fsf@eho.eaglets.com>
Lines: 78
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrrk8w9i0ny.fsf@elwha.cs.washington.edu>
>>>> On the subject of "scwm.el feature requests"
>>>> Sent on 22 Mar 1999 15:07:13 -0800
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> Two things I'd love to see scwm.el have are:
 >> 
 >> 1) This has been mentioned earlier: errors in XEmacs could pop up the
 >> error in a new buffer and window, instead of relying on the minibuffer
 >> -- Emacs uses ^J to stand for newlines, while XEmacs echos the newlines
 >> resulting in no message in the minibuffer.  If the error (or the result,
 >> for that matter) is more than one line, it'd be nice to have the
 >> response buffer/window pop up for XEmacs and Emacs

I am not sure what you want.

if you type C-j and get an error in the minibuffer, just type C-u C-j
and you will get the error inserted in the current buffer.  this is why
`scwm-eval-to-minibuffer' is by default nil.

Apparently you want me to check the result and pop it in a special
buffer/window when it is an error.  Yes, this can be done, but this
looks nice only it you are stuck with the eval-to-minibuffer paradigm.
Often you evaluate in the *scwm* buffer, and then what you want would be
inconsistent.  If you evaluate to the buffer, you see the error right
away.

In short, it is possible to do what you want, and I can do that, but I
hope you will agree that you don't really want it. :-)

 >> 2) A comment-removing multi-line eval so I could evaluate this s-exp w/o
 >> removing the comments by hand:
 >> 
 >> ;;;(run-ScwmButtons
 >> ;;; (list
 >> ;;;  (button-item "mini-term.xpm" #:action "xterm")
 >> ;;;  (button-item "mini-calc.xpm" #:action "xcalc")
 >> ;;;  (button-item "mini-xmcd.xpm" #:action "xmcd")
 >> ;;;  (button-item "mini-xv.xpm" #:action "xv")
 >> ;;;  (button-item "mini-gv.xpm" #:action "gv")
 >> ;;;  (button-item "mini-nscape.xpm" #:action "/usr/netscape/netscape")
 >> ;;;  ))
 >>        ^ Want C-u C-j here to do the right thing

this ain't gonna work: how would you eval this:

;;(+ 21
;;    ; 11
;; 12)

should the result be 33 or 44?

what about

;; (+ 21
;;     ;; (* 12
;;    12)

??

 >> Maybe scwm-eval-rectangle would be sufficient?

(define-key scwm-mode-map [(control c) (control n)] 'scwm-eval-rectangle)

(defun scwm-eval-rectangle (beg end mb-p)
  "Evaluate the rectangle with `scwm-eval-sexp'."
  (interactive "r\nP")
  (scwm-eval-sexp ;; xemacs doesn't like `set-text-properties'. so what?
   (mapconcat (lambda (str) (set-text-properties 0 (length str) nil str) str)
              (extract-rectangle beg end) "\n")
   mb-p))

please test it - I cannot, my scwm crashes.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Even Windows doesn't suck, when you use Common Lisp

From owner-scwm-discuss@mit.edu  Mon Mar 22 19:11:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA12804
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 19:11:17 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA12800
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 19:11:14 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA11091; Mon, 22 Mar 99 19:07:39 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA19553; Mon, 22 Mar 1999 16:06:51 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Re: scwm.el feature requests
References: <qrrk8w9i0ny.fsf@elwha.cs.washington.edu> <m3k8w9f5vb.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Mar 1999 16:06:50 -0800
In-Reply-To: Sam Steingold's message of "22 Mar 1999 18:43:04 -0500"
Message-Id: <qrr4sndhxwl.fsf@elwha.cs.washington.edu>
Lines: 122
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

>  >> 1) This has been mentioned earlier: errors in XEmacs could pop up the
>  >> error in a new buffer and window, instead of relying on the minibuffer
>  >> -- Emacs uses ^J to stand for newlines, while XEmacs echos the newlines
>  >> resulting in no message in the minibuffer.  If the error (or the result,
>  >> for that matter) is more than one line, it'd be nice to have the
>  >> response buffer/window pop up for XEmacs and Emacs
> 
> I am not sure what you want.
> 
> if you type C-j and get an error in the minibuffer, just type C-u C-j
> and you will get the error inserted in the current buffer.  this is why
> `scwm-eval-to-minibuffer' is by default nil.
> 
> Apparently you want me to check the result and pop it in a special
> buffer/window when it is an error.  Yes, this can be done, but this
> looks nice only it you are stuck with the eval-to-minibuffer paradigm.
> Often you evaluate in the *scwm* buffer, and then what you want would be
> inconsistent.  If you evaluate to the buffer, you see the error right
> away.
> 
> In short, it is possible to do what you want, and I can do that, but I
> hope you will agree that you don't really want it. :-)

What you think I want isn't quite what I want which is why you haven't
yet convinced me that I don't want it. :-)

Only if the eval is going to the minibuffer do I want the buffer/window
to pop up.  I often do *not* want the default insertion behaviour
because I'm just evaluating an s-exp from a .scwmrc or a module file.
Basically, the eval-to-minibuffer would always put the message in the
log buffer, but only ensure that the window is visible if the last
message was more than one line.

>  >> 2) A comment-removing multi-line eval so I could evaluate this s-exp w/o
>  >> removing the comments by hand:
>  >> 
>  >> ;;;(run-ScwmButtons
>  >> ;;; (list
>  >> ;;;  (button-item "mini-term.xpm" #:action "xterm")
>  >> ;;;  (button-item "mini-calc.xpm" #:action "xcalc")
>  >> ;;;  (button-item "mini-xmcd.xpm" #:action "xmcd")
>  >> ;;;  (button-item "mini-xv.xpm" #:action "xv")
>  >> ;;;  (button-item "mini-gv.xpm" #:action "gv")
>  >> ;;;  (button-item "mini-nscape.xpm" #:action "/usr/netscape/netscape")
>  >> ;;;  ))
>  >>        ^ Want C-u C-j here to do the right thing
> 
> this ain't gonna work: how would you eval this:
> 
> ;;(+ 21
> ;;    ; 11
> ;; 12)
> 
> should the result be 33 or 44?

33

> 
> what about
> 
> ;; (+ 21
> ;;     ;; (* 12
> ;;    12)
> 
> ??

Still 33. 

The rule I was thinking of using is to use the comments on the current
line (where the point is when the command is invoked) as a guide for
what to strip from each line backwards.   It's a little bit tricky,
though, since you can't tell up front how far back you need to go.

I'll admit that this isn't the cleanest feature, and isn't very schemey.

Maybe the better solution is to start including example code snippets in 
the guile-introduced multi-line comment format:

#!
(run-ScwmButtons
 (list
  (button-item "mini-term.xpm" #:action "xterm")
  (button-item "mini-calc.xpm" #:action "xcalc")
  (button-item "mini-xmcd.xpm" #:action "xmcd")
  (button-item "mini-xv.xpm" #:action "xv")
  (button-item "mini-gv.xpm" #:action "gv")
  (button-item "mini-nscape.xpm" #:action "/usr/netscape/netscape")
  ) #:orientation 'vertical)
!#

Then perhaps the new scwm.el support would be highlighting this
properly.  This has the added benefit of paren matching already
working.  Also, it might be nice to have highlighting aware of
#&optional, #&key, and #&allow-other-keys from Maciej's optargs.scm
packages, as well as define*, define*-public, define-public, etc.

>  >> Maybe scwm-eval-rectangle would be sufficient?
> 
> (define-key scwm-mode-map [(control c) (control n)] 'scwm-eval-rectangle)
> 
> (defun scwm-eval-rectangle (beg end mb-p)
>   "Evaluate the rectangle with `scwm-eval-sexp'."
>   (interactive "r\nP")
>   (scwm-eval-sexp ;; xemacs doesn't like `set-text-properties'. so what?
>    (mapconcat (lambda (str) (set-text-properties 0 (length str) nil str) str)
>               (extract-rectangle beg end) "\n")
>    mb-p))
> 
> please test it - I cannot, my scwm crashes.

Works great, but I was wrong-- it's not sufficient-- having to move the
cursor way out to the right to enclose all the text in the rectangle is
highly error-prone (took me a second to realize what was going wrong).

Does your scwm not work with GTK+, or not at all?  I though the problem
was just with the new version of gtk+?  If not, we need to fix this ASAP 
for you!

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Mon Mar 22 20:42:50 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA13988
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 20:42:50 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA13985
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 20:42:46 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA28273; Mon, 22 Mar 99 20:38:17 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Mon, 22 Mar 1999 20:19:20 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Mon, 22 Mar 1999 20:19:20 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id UAA14469;
	Mon, 22 Mar 1999 20:17:27 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: scwm.el feature requests
References: <qrrk8w9i0ny.fsf@elwha.cs.washington.edu> <m3k8w9f5vb.fsf@eho.eaglets.com> <qrr4sndhxwl.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "22 Mar 1999 16:06:50 -0800"
Date: 22 Mar 1999 20:17:26 -0500
Message-Id: <m3bthlf1i1.fsf@eho.eaglets.com>
Lines: 170
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrr4sndhxwl.fsf@elwha.cs.washington.edu>
>>>> On the subject of "Re: scwm.el feature requests"
>>>> Sent on 22 Mar 1999 16:06:50 -0800
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> Sam Steingold <sds@goems.com> writes:
 >> 
 >> Only if the eval is going to the minibuffer do I want the
 >> buffer/window to pop up.  I often do *not* want the default
 >> insertion behaviour because I'm just evaluating an s-exp from a
 >> .scwmrc or a module file.  Basically, the eval-to-minibuffer would
 >> always put the message in the log buffer, but only ensure that the
 >> window is visible if the last message was more than one line.

so you want a pop-up when the result is more than 1 line?
how do I find out how many lines are in a string?
Count newlines?  Ouch!
What buffer do you want me to pop?  `*Messages*'?
Do you want a special buffer specifically for scwm interaction?

 >> > this ain't gonna work: how would you eval this:
 >> >
 >> > ;;(+ 21
 >> > ;;    ; 11
 >> > ;; 12)
 >> >
 >> > should the result be 33 or 44?
 >> 
 >> 33
 >> 
 >> >
 >> > what about
 >> >
 >> > ;; (+ 21
 >> > ;;     ;; (* 12
 >> > ;;    12)
 >> >
 >> > ??
 >> 
 >> Still 33.
 >> 
 >> The rule I was thinking of using is to use the comments on the
 >> current line (where the point is when the command is invoked) as a
 >> guide for what to strip from each line backwards.  It's a little bit
 >> tricky, though, since you can't tell up front how far back you need
 >> to go.

what about (I saved this for dessert):

;;;;; (+ 10
;;;;       ; (* 11 9)
;;;   12   ;; 13)
;;        14
;  15)

 >> I'll admit that this isn't the cleanest feature, and isn't very schemey.

to say the least!

 >> Maybe the better solution is to start including example code
 >> snippets in the guile-introduced multi-line comment format:
 >> 
 >> #!
 >> (run-ScwmButtons
 >>  (list
 >>   (button-item "mini-term.xpm" #:action "xterm")
 >>   (button-item "mini-calc.xpm" #:action "xcalc")
 >>   (button-item "mini-xmcd.xpm" #:action "xmcd")
 >>   (button-item "mini-xv.xpm" #:action "xv")
 >>   (button-item "mini-gv.xpm" #:action "gv")
 >>   (button-item "mini-nscape.xpm" #:action "/usr/netscape/netscape")
 >>   ) #:orientation 'vertical)
 >> !#

that's better.  that's much better!  ((c) monty python)

 >> Then perhaps the new scwm.el support would be highlighting this
 >> properly.  This has the added benefit of paren matching already

no, this is a bug! code in #| |# is a comment, it should be highlighted
as such.  BTW, it's "pipe", not "bang".

 >> working.  Also, it might be nice to have highlighting aware of
 >> #&optional, #&key, and #&allow-other-keys from Maciej's optargs.scm

done:

;; fontifications
;; --------------
(let ((font-keywds
       (cond ((boundp 'running-xemacs)
              (put 'scwm-mode 'font-lock-defaults
                   (get 'scheme-mode 'font-lock-defaults)))
             ((and (string-lessp emacs-version "20.3")
                   (boundp 'font-lock-defaults-alist))
              (or (assq 'scwm-mode font-lock-defaults-alist)
                  (cdar (setq font-lock-defaults-alist
                              (cons (cons 'scwm-mode
                                          (cdr (assq
                                                'scheme-mode
                                                font-lock-defaults-alist)))
                                    font-lock-defaults-alist)))))
             (scheme-font-lock-keywords-2))))
  (when font-keywds
    (nconc font-keywds
           (list (cons "\\<&\\sw+\\>" font-lock-builtin-face)))))

 >> packages, as well as define*, define*-public, define-public, etc.

these are highlighted for me already.

 >> >  >> Maybe scwm-eval-rectangle would be sufficient?
 >> >
 >> > (define-key scwm-mode-map [(control c) (control n)] 'scwm-eval-rectangle)
 >> >
 >> > (defun scwm-eval-rectangle (beg end mb-p)
 >> >   "Evaluate the rectangle with `scwm-eval-sexp'."
 >> >   (interactive "r\nP")
 >> >   (scwm-eval-sexp ;; xemacs doesn't like `set-text-properties'. so what?
 >> >    (mapconcat (lambda (str) (set-text-properties 0 (length str) nil str) str)
 >> >               (extract-rectangle beg end) "\n")
 >> >    mb-p))
 >> >
 >> > please test it - I cannot, my scwm crashes.
 >> 
 >> Works great, but I was wrong-- it's not sufficient-- having to move the
 >> cursor way out to the right to enclose all the text in the rectangle is
 >> highly error-prone (took me a second to realize what was going wrong).

sure :-)

(define-key scwm-mode-map [(control c) (control u)] 'scwm-eval-uncommenting)

(defun scwm-uncomment-string (string)
  "Uncomment the string."
  (with-temp-buffer
    (insert string)
    (goto-char 0)
    (while (re-search-forward "^[; \t]+" nil t)
      (replace-match ""))
    (buffer-string)))

;;;###autoload
(defun scwm-eval-uncommenting (beg end mb-p)
  "Evaluate the region, uncommenting it first, with `scwm-eval-sexp'."
  (interactive "r\nP")
  (scwm-eval-sexp
   (scwm-uncomment-string (buffer-substring-no-properties beg end) mb-p)))

 >> Does your scwm not work with GTK+, or not at all?  I though the
 >> problem was just with the new version of gtk+?  If not, we need to
 >> fix this ASAP for you!

it just crashes - I dunno why!  I posted the trace...
here are the modules I use:
(use-modules
 (app scwm base) (app scwm face) (app scwm decor) (app scwm style)
 (app scwm winops) (app scwm winlist) (app scwm wininfo) (app scwm doc)
 (app scwm optargs) (app scwm std-menus) (app scwm wmconfig-menu)
 (app scwm flux) (app scwm prefs-menu) (app scwm fvwm-module)
 (app scwm animation) (app scwm placement) (app scwm virtual)
 (app scwm shutdown-opts) ;; (app scwm themes)
 (app scwm animated-iconify) (app scwm message-window) (app scwm gnome-hints))

but I suspect it crashes before getting to read this.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
The world is coming to an end.  Please log off.

From owner-scwm-discuss@mit.edu  Mon Mar 22 20:55:10 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA14100
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 20:55:10 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA14097
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 20:55:07 -0500
Received: from relay1.pair.com by MIT.EDU with SMTP
	id AA05923; Mon, 22 Mar 99 20:51:31 EST
Received: from vorlon.babylon (user-2ivfhag.dialup.mindspring.com [165.247.197.80])
	by relay.pair.com (8.8.7/8.8.5) with ESMTP id UAA01427;
	Mon, 22 Mar 1999 20:42:01 -0500 (EST)
Received: (from jsight@localhost)
	by vorlon.babylon (8.8.7/8.8.7) id UAA10427;
	Mon, 22 Mar 1999 20:21:22 -0500
Date: Mon, 22 Mar 1999 20:21:20 -0500
From: "Jesse D . Sightler" <jsight@pair.com>
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Michael Fulbright <msf@redhat.com>, sds@goems.com, gnome-list@gnome.org,
        Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: Re: gnome compliant window managers
Message-Id: <19990322202120.A10384@vorlon.babylon>
Reply-To: "Jesse D . Sightler" <jsight@pair.com>
Mime-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: x-unknown
X-Mailer: Balsa 0.4.9
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

The answer is remarkably simple.  If E is the only dependency for Gnome
that you are missing, install it with "rpm -ivh --nodeps gnome.rpm".  :)


On Sun, 21 Mar 1999 21:41:40 Maciej Stachowiak wrote:
> Michael Fulbright <msf@redhat.com> writes:
> 
> > sds@goems.com said:
> > > RH people do not consider this to be a bug (see http://
> > > developer.redhat.com/bugzilla/show_bug.cgi?id=1503): 
> > 
> > We have chosen to use Enlightenment as our default window manager because
> > in our experience it is the most GNOME compliant wm, and it has a very
> > nice GUI tool to configure its behavior. It is installed by default in
> > the Starbuck release.
> > 
> 
> Hi,
> 
> I realize there is no plot to force particular WMs on people or
> anything, but this does seem like a technical problem to me which
> could probably be fixed.
> 
> Basically, people need to install Enlightenment (and all it's myriad
> dependencies, some of which are not, at least currently, Gnome
> dependencies per se) to be able to install Gnome from the RPMs unless
> they build Gnome themselves, and even if they configure Gnome to use a
> different window manager later, they can't uninstall Enlightenment
> because the gnome-core package depends on it.
> 
> Again, although I realize this is all done with the best of
> intentions, and gnome-core is in fact currently set up to build so
> that it needs a specific window manager specified at configure-time, I
> personally think it would be nice to find a technical solution either
> in terms of modifing gnome-core to deal with this kind of thing more
> gracefully, or in terms of the way the packaging is done, assuming
> Gnome wants to maintain a nominal appearance of window manager
> independece. I know it must be possible, because Red Hat has many
> places where one package depends on one of several others being
> present, through the use of the "Provides" RPM directive.
> 
> In fact the way it is set up now is kind of reminiscent of the way
> Windows comes with Internet Explorer, and although you can install
> another browser and use that, you still won't be able to remove IE. I
> know the intention isn't as sinister in the Gnome/Enlightenment case,
> but still I have seen posts from KDE guys claiming that Gnome isn't
> _really_ window manager independent, etc etc so the whole thing is
> kind of bad PR.
> 
> Personally, I don't care too much, I can spare the disk space for
> packages I don't personally use, but the situation as is seems to
> annoy some users on a philosophical level.
> 
> I am also curious what other OS distributors (Debian, FreeBSD, etc)
> have done in terms of dependencies between the various gnome packages
> and WM's. Have you made gnome-core dependent on a specific window
> manager, or have you found some more clever solution?
> 
> Hoping to shed light rather than heat on this issue,
> 
> Maciej Stachowiak
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 

---------------
Jesse D. Sightler
http://www3.pair.com/jsight/

"An honest answer can get you into a lot of trouble." 
         - Anonymous


From owner-scwm-discuss@mit.edu  Mon Mar 22 21:20:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA14323
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 21:20:29 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA14320
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 21:20:27 -0500
Received: from relay1.pair.com by MIT.EDU with SMTP
	id AA10793; Mon, 22 Mar 99 21:16:51 EST
Received: from vorlon.babylon (user-2ivfhag.dialup.mindspring.com [165.247.197.80])
	by relay.pair.com (8.8.7/8.8.5) with ESMTP id UAA02927;
	Mon, 22 Mar 1999 20:59:58 -0500 (EST)
Received: (from jsight@localhost)
	by vorlon.babylon (8.8.7/8.8.7) id UAA10467;
	Mon, 22 Mar 1999 20:40:01 -0500
Date: Mon, 22 Mar 1999 20:40:00 -0500
From: "Jesse D . Sightler" <jsight@pair.com>
To: Jan Gentsch <gentsch@ifm.uni-hamburg.de>
Cc: Maciej Stachowiak <mstachow@alum.mit.edu>,
        Havoc Pennington <rhp@zirx.pair.com>, gnome-list@gnome.org,
        Scwm Discussion List <scwm-discuss@mit.edu>
Subject: Re: gnome compliant window managers
Message-Id: <19990322204000.D10384@vorlon.babylon>
Reply-To: "Jesse D . Sightler" <jsight@pair.com>
Mime-Version: 1.0
Content-Type: text/plain
X-Mailer: Balsa 0.4.9
Content-Transfer-Encoding: x-unknown
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Mon, 22 Mar 1999 18:06:17 Jan Gentsch wrote:

> Really, this points out one of the biggest bugs in gnome as is: The Help
> system is not being used, or it is often not used to provide real help
> (sorry, the help is so seldom mapped to something I can4t remember where
> I last found the later).

I basically agree with this.  The current user guide and help system is great
for people who want to go through a nice tutorial on the use of Gnome in one
great leap.  It would be vastly better for users, however, if there were strong
context help facilities within Gnome for dialogs and applications.  Something that stays
on top nearby and provides helpful assistance about the meaning of each field as
the user enters it would be of great use here.

I would greatly appreciate someone suggesting a brilliant way to do this, as it is
something that I would be interested in helping to write.  Any suggestions?

---------------
Jesse D. Sightler
http://www3.pair.com/jsight/

"An honest answer can get you into a lot of trouble." 
         - Anonymous


From owner-scwm-discuss@mit.edu  Mon Mar 22 22:43:40 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA14703
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 22:43:40 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA14700
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 22:43:35 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA23657; Mon, 22 Mar 99 22:39:59 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id TAA19759; Mon, 22 Mar 1999 19:39:10 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Re: scwm.el feature requests
References: <qrrk8w9i0ny.fsf@elwha.cs.washington.edu> <m3k8w9f5vb.fsf@eho.eaglets.com> <qrr4sndhxwl.fsf@elwha.cs.washington.edu> <m3bthlf1i1.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Mar 1999 19:39:10 -0800
In-Reply-To: Sam Steingold's message of "22 Mar 1999 20:17:26 -0500"
Message-Id: <qrr7ls850yp.fsf@elwha.cs.washington.edu>
Lines: 165
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> >>>> In message <qrr4sndhxwl.fsf@elwha.cs.washington.edu>
> >>>> On the subject of "Re: scwm.el feature requests"
> >>>> Sent on 22 Mar 1999 16:06:50 -0800
> >>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
>  >> Sam Steingold <sds@goems.com> writes:
>  >> 
>  >> Only if the eval is going to the minibuffer do I want the
>  >> buffer/window to pop up.  I often do *not* want the default
>  >> insertion behaviour because I'm just evaluating an s-exp from a
>  >> .scwmrc or a module file.  Basically, the eval-to-minibuffer would
>  >> always put the message in the log buffer, but only ensure that the
>  >> window is visible if the last message was more than one line.
> 
> so you want a pop-up when the result is more than 1 line?
> how do I find out how many lines are in a string?
> Count newlines?  Ouch!
> What buffer do you want me to pop?  `*Messages*'?
> Do you want a special buffer specifically for scwm interaction?

Special would be better.  Maybe *Scwm-Messages*.  You could either count 
newlines, or just insert the message in the buffer and then figure it
out from there using count-lines.

>  >> > this ain't gonna work: how would you eval this:
>  >> >
>  >> > ;;(+ 21
>  >> > ;;    ; 11
>  >> > ;; 12)
>  >> >
>  >> > should the result be 33 or 44?
>  >> 
>  >> 33
>  >> 
>  >> >
>  >> > what about
>  >> >
>  >> > ;; (+ 21
>  >> > ;;     ;; (* 12
>  >> > ;;    12)
>  >> >
>  >> > ??
>  >> 
>  >> Still 33.
>  >> 
>  >> The rule I was thinking of using is to use the comments on the
>  >> current line (where the point is when the command is invoked) as a
>  >> guide for what to strip from each line backwards.  It's a little bit
>  >> tricky, though, since you can't tell up front how far back you need
>  >> to go.
> 
> what about (I saved this for dessert):
> 
> ;;;;; (+ 10
> ;;;;       ; (* 11 9)
> ;;;   12   ;; 13)
> ;;        14
> ;  15)
> 
>  >> I'll admit that this isn't the cleanest feature, and isn't very schemey.
> 
> to say the least!

That wouldn't work, of course, but that's no problem because we don't
really write stuff that way! :-)


>  >> Maybe the better solution is to start including example code
>  >> snippets in the guile-introduced multi-line comment format:
>  >> 
>  >> #!
>  >> (run-ScwmButtons
>  >>  (list
>  >>   (button-item "mini-term.xpm" #:action "xterm")
>  >>   (button-item "mini-calc.xpm" #:action "xcalc")
>  >>   (button-item "mini-xmcd.xpm" #:action "xmcd")
>  >>   (button-item "mini-xv.xpm" #:action "xv")
>  >>   (button-item "mini-gv.xpm" #:action "gv")
>  >>   (button-item "mini-nscape.xpm" #:action "/usr/netscape/netscape")
>  >>   ) #:orientation 'vertical)
>  >> !#
> 
> that's better.  that's much better!  ((c) monty python)
> 
>  >> Then perhaps the new scwm.el support would be highlighting this
>  >> properly.  This has the added benefit of paren matching already
> 
> no, this is a bug! code in #| |# is a comment, it should be highlighted
> as such.  BTW, it's "pipe", not "bang".

No, it's a bang -- I didn't realize the pipe worked, too.    The reason
I remember the bang variant is that it makes the #!interpreter thing
work.

And I meant that the block should be highlighted properly *as* *a*
*comment*, not as scheme code.  In XEmacs' scwm-mode (and scheme-mode)
it's just plain black.


>  >> working.  Also, it might be nice to have highlighting aware of
>  >> #&optional, #&key, and #&allow-other-keys from Maciej's optargs.scm
> 
> done:
> 
> ;; fontifications
> ;; --------------
> (let ((font-keywds
>        (cond ((boundp 'running-xemacs)
>               (put 'scwm-mode 'font-lock-defaults
>                    (get 'scheme-mode 'font-lock-defaults)))
>              ((and (string-lessp emacs-version "20.3")
>                    (boundp 'font-lock-defaults-alist))
>               (or (assq 'scwm-mode font-lock-defaults-alist)
>                   (cdar (setq font-lock-defaults-alist
>                               (cons (cons 'scwm-mode
>                                           (cdr (assq
>                                                 'scheme-mode
>                                                 font-lock-defaults-alist)))
>                                     font-lock-defaults-alist)))))
>              (scheme-font-lock-keywords-2))))
>   (when font-keywds
>     (nconc font-keywds
>            (list (cons "\\<&\\sw+\\>" font-lock-builtin-face)))))
> 
>  >> packages, as well as define*, define*-public, define-public, etc.
> 
> these are highlighted for me already.

I'm not sure what this is doing-- is font-keywds special in Emacs?  I
think some of the variable names are different between Emacs and XEmacs
-- font-lock-builtin-face also doesn't exist.

<snip>
> ;;;###autoload
> (defun scwm-eval-uncommenting (beg end mb-p)
>   "Evaluate the region, uncommenting it first, with `scwm-eval-sexp'."
>   (interactive "r\nP")
>   (scwm-eval-sexp
>    (scwm-uncomment-string (buffer-substring-no-properties beg end) mb-p)))

I think this is mis-parenthesized -- with the obvious fix, it works
great!  Thanks!

>  >> Does your scwm not work with GTK+, or not at all?  I though the
>  >> problem was just with the new version of gtk+?  If not, we need to
>  >> fix this ASAP for you!
> 
> it just crashes - I dunno why!  I posted the trace...
> here are the modules I use:
> (use-modules
>  (app scwm base) (app scwm face) (app scwm decor) (app scwm style)
>  (app scwm winops) (app scwm winlist) (app scwm wininfo) (app scwm doc)
>  (app scwm optargs) (app scwm std-menus) (app scwm wmconfig-menu)
>  (app scwm flux) (app scwm prefs-menu) (app scwm fvwm-module)
>  (app scwm animation) (app scwm placement) (app scwm virtual)
>  (app scwm shutdown-opts) ;; (app scwm themes)
>  (app scwm animated-iconify) (app scwm message-window) (app scwm gnome-hints))
> 
> but I suspect it crashes before getting to read this.

I'll look more at your old message. It'd be nice to try starting scwm -f 
/dev/null and see if it crashes.

Greg

From owner-scwm-discuss@mit.edu  Mon Mar 22 23:05:10 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA14943
	for scwm-discuss-outgoing; Mon, 22 Mar 1999 23:05:10 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA14940
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 22 Mar 1999 23:05:07 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA27700; Mon, 22 Mar 99 23:01:31 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id UAA19786; Mon, 22 Mar 1999 20:00:42 -0800 (PST)
To: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: Re: crash
References: <m34sneilvi.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Mar 1999 20:00:42 -0800
In-Reply-To: Sam Steingold's message of "21 Mar 1999 16:16:49 -0500"
Message-Id: <qrr3e2w4zyt.fsf@elwha.cs.washington.edu>
Lines: 11
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Which guile-gtk do you have installed?  -0.15 is what I'm using and
-0.14 won't work with gtk+-1.2, I believe.

Can you send me an "strace -etrace=open scwm"?  It looks like the gtk
gtk module isn't finding the right code somewhere.

I'm also committing a defensive patch against the specific segfault that 
happened here.

Greg


From owner-scwm-discuss@mit.edu  Tue Mar 23 02:47:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA16562
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 02:47:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA16559
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 02:47:06 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA20052; Tue, 23 Mar 99 02:43:27 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id IAA26833
	for scwm-discuss@mit.edu; Tue, 23 Mar 1999 08:33:21 +0100 (MET)
Received: (qmail 581 invoked by uid 115); 22 Mar 1999 20:16:48 -0000
To: scwm-discuss@mit.edu
Subject: Re: build problem: libtool --no-reexec
References: <ii7u2vio4zj.fsf@central.sun.com> <wsk8wdd6ab.fsf@orcus.priv.at> <ii7d8212uar.fsf@central.sun.com>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 22 Mar 1999 21:16:47 +0100
In-Reply-To: Sam Falkner's message of "22 Mar 1999 12:33:48 -0700"
Message-Id: <ws1zih1dqo.fsf@orcus.priv.at>
Lines: 19
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 22 Mar 1999 12:33:48 -0700
>>>>> Sam Falkner <samf@central.sun.com> said:

 Sam> Argh, I don't have automake and autoconf (and whatever else
 Sam> autogen.sh needs). I guess I'll start rounding these up, but
 Sam> would it be easy to make the nightly snapshots (i.e. the CVS
 Sam> repository) not require this?

Well, the snapshots are intended to be independent of
automake/autoconf/libtool. Did you mess with the libtool stuff,
perhaps?

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Tue Mar 23 02:54:36 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA16657
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 02:54:36 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA16654
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 02:54:34 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA20563; Tue, 23 Mar 99 02:50:55 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id JAA16323; Tue, 23 Mar 1999 09:50:06 +0200
To: scwm-discuss@mit.edu
Subject: Re: scwm.el feature requests
References: <qrrk8w9i0ny.fsf@elwha.cs.washington.edu> <m3k8w9f5vb.fsf@eho.eaglets.com> <qrr4sndhxwl.fsf@elwha.cs.washington.edu> <m3bthlf1i1.fsf@eho.eaglets.com>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 23 Mar 1999 09:50:06 +0200
In-Reply-To: Sam Steingold's message of "22 Mar 1999 20:17:26 -0500"
Message-Id: <m2k8w8prv5.fsf@blinky.bfr.co.il>
Lines: 22
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

 > what about (I saved this for dessert):
 > 
 > ;;;;; (+ 10
 > ;;;;       ; (* 11 9)
 > ;;;   12   ;; 13)
 > ;;        14
 > ;  15)

The killer example is:

; ;;(define (foo bar)
; ;;   (cmd 1)
; ;;   (cmd 2)
; ;;   ;;; cmd bar is especially important
; ;;   (cmd bar))

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Mar 23 03:10:22 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA16838
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 03:10:22 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA16835
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 03:10:20 -0500
Received: from news.mtu.edu by MIT.EDU with SMTP
	id AA18970; Tue, 23 Mar 99 03:05:49 EST
Received: from mtu.edu (root@mtu.edu [141.219.70.1])
	by news.mtu.edu (8.8.8/8.8.8) with ESMTP id DAA03407
	for <scwm-discuss@mit.edu>; Tue, 23 Mar 1999 03:06:03 -0500 (EST)
Received: from wiley.sas.it.mtu.edu (wiley.sas.it.mtu.edu [141.219.36.70])
	by mtu.edu (8.8.8/8.8.8) with ESMTP id DAA27940
	for <scwm-discuss@mit.edu>; Tue, 23 Mar 1999 03:05:54 -0500 (EST)
Received: (from adisaacs@localhost)
	by wiley.sas.it.mtu.edu (8.8.7/8.8.7/mturelay-1.2) id DAA21800
	for scwm-discuss@mit.edu; Tue, 23 Mar 1999 03:05:51 -0500 (EST)
Date: Tue, 23 Mar 1999 03:05:51 -0500
From: Andrew Isaacson <adisaacs@mtu.edu>
To: scwm-discuss@mit.edu
Subject: Re: scwm.el feature requests
Message-Id: <19990323030551.C19866@mtu.edu>
References: <qrrk8w9i0ny.fsf@elwha.cs.washington.edu> <m3k8w9f5vb.fsf@eho.eaglets.com> <qrr4sndhxwl.fsf@elwha.cs.washington.edu> <m3bthlf1i1.fsf@eho.eaglets.com> <m2k8w8prv5.fsf@blinky.bfr.co.il>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3i
In-Reply-To: <m2k8w8prv5.fsf@blinky.bfr.co.il>; from Harvey J. Stein on Tue, Mar 23, 1999 at 09:50:06AM +0200
X-Pgp-Fingerprint: 48 01 21 E2 D4 E4 68 D1  B8 DF 39 B2 AF A3 16 B9
X-Pgp-Key-Url: http://www.csl.mtu.edu/~adisaacs/pgp.txt
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Tue, Mar 23, 1999 at 09:50:06AM +0200, Harvey J. Stein wrote:
> Sam Steingold <sds@goems.com> writes:
> 
>  > what about (I saved this for dessert):
>  > 
>  > ;;;;; (+ 10
>  > ;;;;       ; (* 11 9)
>  > ;;;   12   ;; 13)
>  > ;;        14
>  > ;  15)
> 
> The killer example is:
> 
> ; ;;(define (foo bar)
> ; ;;   (cmd 1)
> ; ;;   (cmd 2)
> ; ;;   ;;; cmd bar is especially important
> ; ;;   (cmd bar))

I thought the original suggestion was for eval-rectangle or some such.
Wouldn't that handle this case?  (The triangular one above doesn't
even deserve consideration.) :)

I'm not much of an emacs guru, though, so maybe I'm missing something
important here.

-andy
-- 
Andy Isaacson adisaacs@mtu.edu adi@acm.org    Fight Spam, join CAUCE:
http://www.csl.mtu.edu/~adisaacs/              http://www.cauce.org/

From owner-scwm-discuss@mit.edu  Tue Mar 23 03:15:02 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA16892
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 03:15:02 -0500
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA16886
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 03:15:00 -0500
Received: from SIMON.CS.CORNELL.EDU by MIT.EDU with SMTP
	id AA19354; Tue, 23 Mar 99 03:10:29 EST
Received: from cloyd.cs.cornell.edu (CLOYD.CS.CORNELL.EDU [128.84.227.15])
	by simon.cs.cornell.edu (8.9.3/8.9.3/R-2.1) with ESMTP id DAA11816
	for <scwm-discuss@mit.edu>; Tue, 23 Mar 1999 03:10:35 -0500 (EST)
Received: from mojave.cs.cornell.edu (eli@MOJAVE.CS.CORNELL.EDU [128.84.248.55])
	by cloyd.cs.cornell.edu (8.8.8/8.8.8/M-1.12) with ESMTP id DAA14940
	for <scwm-discuss@mit.edu>; Tue, 23 Mar 1999 03:10:34 -0500 (EST)
Received: (from eli@localhost)
	by mojave.cs.cornell.edu (8.8.7/8.8.8/LX-1.2) id DAA27649;
	Tue, 23 Mar 1999 03:10:33 -0500
X-Authentication-Warning: mojave.cs.cornell.edu: eli set sender to eli@mojave.cs.cornell.edu using -f
From: Eli Barzilay <eli@CS.Cornell.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14071.19577.524168.362709@mojave.cs.cornell.edu>
Date: Tue, 23 Mar 1999 03:10:33 -0500 (EST)
To: scwm-discuss@mit.edu
Subject: A bug in tile.scm
X-Mailer: VM 6.70 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

When tile calls tile-windows it uses #:restack which is not defined
there.
-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
         http://www.cs.cornell.edu/eli/meaning.html        Maze is Life!

From owner-scwm-discuss@mit.edu  Tue Mar 23 04:17:46 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA18287
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 04:17:46 -0500
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA18284
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 04:17:43 -0500
Received: from SIMON.CS.CORNELL.EDU by MIT.EDU with SMTP
	id AA25958; Tue, 23 Mar 99 04:14:04 EST
Received: from cloyd.cs.cornell.edu (CLOYD.CS.CORNELL.EDU [128.84.227.15])
	by simon.cs.cornell.edu (8.9.3/8.9.3/R-2.1) with ESMTP id EAA12804;
	Tue, 23 Mar 1999 04:13:16 -0500 (EST)
Received: from mojave.cs.cornell.edu (eli@MOJAVE.CS.CORNELL.EDU [128.84.248.55])
	by cloyd.cs.cornell.edu (8.8.8/8.8.8/M-1.12) with ESMTP id EAA15928;
	Tue, 23 Mar 1999 04:13:15 -0500 (EST)
Received: (from eli@localhost)
	by mojave.cs.cornell.edu (8.8.7/8.8.8/LX-1.2) id EAA27754;
	Tue, 23 Mar 1999 04:13:14 -0500
X-Authentication-Warning: mojave.cs.cornell.edu: eli set sender to eli@mojave.cs.cornell.edu using -f
From: Eli Barzilay <eli@CS.Cornell.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14071.23338.387677.415994@mojave.cs.cornell.edu>
Date: Tue, 23 Mar 1999 04:13:14 -0500 (EST)
To: Andrew Isaacson <adisaacs@mtu.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: scwm.el feature requests
In-Reply-To: <19990323030551.C19866@mtu.edu>
References: <qrrk8w9i0ny.fsf@elwha.cs.washington.edu>
	<m3k8w9f5vb.fsf@eho.eaglets.com>
	<qrr4sndhxwl.fsf@elwha.cs.washington.edu>
	<m3bthlf1i1.fsf@eho.eaglets.com>
	<m2k8w8prv5.fsf@blinky.bfr.co.il>
	<19990323030551.C19866@mtu.edu>
X-Mailer: VM 6.70 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Mar 23, Andrew Isaacson wrote:
 > On Tue, Mar 23, 1999 at 09:50:06AM +0200, Harvey J. Stein wrote:
 > > Sam Steingold <sds@goems.com> writes:
 > > 
 > >  > what about (I saved this for dessert):
 > >  > 
 > >  > ;;;;; (+ 10
 > >  > ;;;;       ; (* 11 9)
 > >  > ;;;   12   ;; 13)
 > >  > ;;        14
 > >  > ;  15)
 > > 
 > > The killer example is:
 > > 
 > > ; ;;(define (foo bar)
 > > ; ;;   (cmd 1)
 > > ; ;;   (cmd 2)
 > > ; ;;   ;;; cmd bar is especially important
 > > ; ;;   (cmd bar))
 > 
 > I thought the original suggestion was for eval-rectangle or some such.
 > Wouldn't that handle this case?  (The triangular one above doesn't
 > even deserve consideration.) :)

I guess that the real intention that should cover "normal" cases of
evaluating commented code should be something like removing a common
prefix (if one exists) where the expression beginning is found by
going back a sexp treating ";"s as spaces.

This should roughly do this:

(defun scwm-eval-last-commented (mb-p)
  "Evaluate the last commented or whatever sexp with
  `scwm-eval-sexp'."
  (interactive "P")
  (let ((old-syn (string (char-syntax ?\;)))
        (result nil)
        last first prefix)
    (modify-syntax-entry ?\; " ")
    (unwind-protect
        (progn
          (save-excursion
            (setq last (point))
            (setq first (progn (backward-sexp) (point)))
            (forward-line 0)
            (setq prefix
                  (regexp-quote (buffer-substring-no-properties
                                 (point) first)))
            (setq substr (buffer-substring-no-properties (point)
            last)))
          (setq result
                (if (or (equal prefix "")
                        (not
                         (string-match (concat
                                        "\\`\\(" prefix ".*\n\\)*"
                                        prefix ".*\n?\\'")
                                       substr)))
                  ;; use default if no prefix or no constant prefix
                  (scwm-eval-last mb-p)
                  (let ((to-eval ""))
                    (while (string-match (concat prefix "\\(.*\n?\\)")
                                         substr)
                      (setq to-eval
                            (concat to-eval (match-string 1 substr)))
                      (setq substr (substring substr (match-end 0))))
                    (scwm-eval-sexp to-eval mb-p)))))
      (modify-syntax-entry ?\; old-syn))
    result))

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
         http://www.cs.cornell.edu/eli/meaning.html        Maze is Life!

From owner-scwm-discuss@mit.edu  Tue Mar 23 05:16:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA18611
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 05:16:29 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA18608
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 05:16:25 -0500
From: mal@bewoner.dma.be
Received: from dialup18.brussels.skynet.be by MIT.EDU with SMTP
	id AA27516; Tue, 23 Mar 99 05:11:50 EST
Received: (qmail 16191 invoked by uid 500); 23 Mar 1999 11:39:57 -0000
Date: 23 Mar 1999 11:39:57 -0000
Message-Id: <19990323113957.16190.qmail@gatekeeper>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Greg Badros <gjb@cs.washington.edu>
Cc: "Daniel Solaz" <dsolaz@sistelcom.com>, scwm-discuss@mit.edu
Subject: Re: Much improved Scwm Web Page
In-Reply-To: <qrroglljkic.fsf@elwha.cs.washington.edu>
References: <qrrvhfztabg.fsf@elwha.cs.washington.edu>
	<36F3F031.624DB041@sistelcom.com>
	<qrr3e2ymsr5.fsf@elwha.cs.washington.edu>
	<19990322095733.31277.qmail@gatekeeper>
	<qrroglljkic.fsf@elwha.cs.washington.edu>
X-Mailer: VM 6.34 under 20.3 "Vatican City" XEmacs  Lucid
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros writes:
 > mal@bewoner.dma.be writes:
 > 
 > > Greg Badros writes:
 > >  > Colors, of course, aren't the only place where this is useful (though if 
 > >  > you're interested in colors, check out Blair McIntyre's thesis).
 > > 
 > > The Modula-3 guy? I thought he was doing stuff with NetObjects. What's 
 > > his thesis about?
 > 

No according to his web page it's the same guy. I just never knew what 
he was using Modula-3 for.

 > If he is a Modula-3 guy, I don't know about it (probably a different
 > guy).  Here's a reference to his thesis.
 > 
 > @MastersThesis{MacIntyre91,
 >   author =       {MacIntyre, Blair},
 >   title =        {A Constraint-based Approach to Dynamic Colour
 > Management for Windowing Interfaces},
 >   school =       {University of Waterloo},
 >   year =         1991,
 >   address =      {Waterloo, Ontario, Canada}
 > }
 > 
 > Greg

Thanks for the reference.

Lieven

From owner-scwm-discuss@mit.edu  Tue Mar 23 09:23:08 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA19673
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 09:23:08 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA19670
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 09:23:05 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA23599; Tue, 23 Mar 99 09:19:23 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Tue, 23 Mar 1999 09:17:26 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Tue, 23 Mar 1999 09:17:26 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id JAA15928;
	Tue, 23 Mar 1999 09:18:17 -0500
To: Eli Barzilay <eli@CS.Cornell.EDU>
Cc: Andrew Isaacson <adisaacs@mtu.edu>, scwm-discuss@mit.edu
Subject: Re: scwm.el feature requests
References: <qrrk8w9i0ny.fsf@elwha.cs.washington.edu> <m3k8w9f5vb.fsf@eho.eaglets.com> <qrr4sndhxwl.fsf@elwha.cs.washington.edu> <m3bthlf1i1.fsf@eho.eaglets.com> <m2k8w8prv5.fsf@blinky.bfr.co.il> <19990323030551.C19866@mtu.edu> <14071.23338.387677.415994@mojave.cs.cornell.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Eli Barzilay's message of "Tue, 23 Mar 1999 04:13:14 -0500 (EST)"
Date: 23 Mar 1999 09:18:17 -0500
Message-Id: <m37ls8ffx2.fsf@eho.eaglets.com>
Lines: 51
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <14071.23338.387677.415994@mojave.cs.cornell.edu>
>>>> On the subject of "Re: scwm.el feature requests"
>>>> Sent on Tue, 23 Mar 1999 04:13:14 -0500 (EST)
>>>> Honorable Eli Barzilay <eli@CS.Cornell.EDU> writes:
 >> 
 >> (defun scwm-eval-last-commented (mb-p)
 >>   "Evaluate the last commented or whatever sexp with
 >>   `scwm-eval-sexp'."
 >>   (interactive "P")
 >>   (let ((old-syn (string (char-syntax ?\;)))
 >>         (result nil)
 >>         last first prefix)
 >>     (modify-syntax-entry ?\; " ")
 >>     (unwind-protect
 >>         (progn
 >>           (save-excursion
 >>             (setq last (point))
 >>             (setq first (progn (backward-sexp) (point)))
 >>             (forward-line 0)
 >>             (setq prefix
 >>                   (regexp-quote (buffer-substring-no-properties
 >>                                  (point) first)))
 >>             (setq substr (buffer-substring-no-properties (point)
 >>             last)))
 >>           (setq result
 >>                 (if (or (equal prefix "")
 >>                         (not
 >>                          (string-match (concat
 >>                                         "\\`\\(" prefix ".*\n\\)*"
 >>                                         prefix ".*\n?\\'")
 >>                                        substr)))
 >>                   ;; use default if no prefix or no constant prefix
 >>                   (scwm-eval-last mb-p)
 >>                   (let ((to-eval ""))
 >>                     (while (string-match (concat prefix "\\(.*\n?\\)")
 >>                                          substr)
 >>                       (setq to-eval
 >>                             (concat to-eval (match-string 1 substr)))
 >>                       (setq substr (substring substr (match-end 0))))
 >>                     (scwm-eval-sexp to-eval mb-p)))))
 >>       (modify-syntax-entry ?\; old-syn))
 >>     result))

this is no good: first, it's far to complex, second, it cannot handle
embedded comments that contain unbalanced parentheses.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Live free or die.

From owner-scwm-discuss@mit.edu  Tue Mar 23 09:52:58 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA19875
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 09:52:58 -0500
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA19872
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 09:52:55 -0500
Received: from SIMON.CS.CORNELL.EDU by MIT.EDU with SMTP
	id AA01700; Tue, 23 Mar 99 09:49:14 EST
Received: from cloyd.cs.cornell.edu (CLOYD.CS.CORNELL.EDU [128.84.227.15])
	by simon.cs.cornell.edu (8.9.3/8.9.3/R-2.1) with ESMTP id JAA20029;
	Tue, 23 Mar 1999 09:48:25 -0500 (EST)
Received: from mojave.cs.cornell.edu (IDENT:eli@MOJAVE.CS.CORNELL.EDU [128.84.248.55])
	by cloyd.cs.cornell.edu (8.9.3/8.9.3/M-2.0) with ESMTP id JAA22336;
	Tue, 23 Mar 1999 09:48:24 -0500 (EST)
Received: (from eli@localhost)
	by mojave.cs.cornell.edu (8.8.7/8.8.8/LX-1.2) id JAA27996;
	Tue, 23 Mar 1999 09:48:22 -0500
X-Authentication-Warning: mojave.cs.cornell.edu: eli set sender to eli@mojave.cs.cornell.edu using -f
From: Eli Barzilay <eli@CS.Cornell.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14071.43446.584220.280690@mojave.cs.cornell.edu>
Date: Tue, 23 Mar 1999 09:48:22 -0500 (EST)
To: sds@goems.com
Cc: scwm-discuss@mit.edu
Subject: Re: scwm.el feature requests
In-Reply-To: <m37ls8ffx2.fsf@eho.eaglets.com>
References: <qrrk8w9i0ny.fsf@elwha.cs.washington.edu>
	<m3k8w9f5vb.fsf@eho.eaglets.com>
	<qrr4sndhxwl.fsf@elwha.cs.washington.edu>
	<m3bthlf1i1.fsf@eho.eaglets.com>
	<m2k8w8prv5.fsf@blinky.bfr.co.il>
	<19990323030551.C19866@mtu.edu>
	<14071.23338.387677.415994@mojave.cs.cornell.edu>
	<m37ls8ffx2.fsf@eho.eaglets.com>
X-Mailer: VM 6.70 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


  Go out of the way of all such absolute ones!  They have heavy feet
  and sultry hearts: - they do not know how to dance.  How could the
  earth be light to such ones!

On Mar 23, Sam Steingold wrote:
 > this is no good: first, it's far to complex, second, it cannot
 > handle embedded comments that contain unbalanced parentheses.

It's a quick hack: first, I didn't even try to make it nice or simple,
second: easily solved with condition-case - replace
  (scwm-eval-sexp to-eval mb-p)
with
  (if (condition-case nil (read-from-string "()") (error nil))
    (scwm-eval-sexp to-eval mb-p))

Of course it is ugly etc, but again it's a hack and it will work for
what people want.

I did not suggest to contaminate the beautiful .el file, I personally
prefer the #|...|# thing, but it does what I understood people
wanted and taking some time every now and then to write a little el is
always refreshing...

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
         http://www.cs.cornell.edu/eli/meaning.html        Maze is Life!

From owner-scwm-discuss@mit.edu  Tue Mar 23 10:03:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA19928
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 10:03:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA19925
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 10:03:05 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA04351; Tue, 23 Mar 99 09:59:22 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Tue, 23 Mar 1999 09:57:42 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Tue, 23 Mar 1999 09:57:42 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id JAA16019;
	Tue, 23 Mar 1999 09:58:32 -0500
To: Eli Barzilay <eli@CS.Cornell.EDU>
Cc: scwm-discuss@mit.edu
Subject: Re: scwm.el feature requests
References: <qrrk8w9i0ny.fsf@elwha.cs.washington.edu> <m3k8w9f5vb.fsf@eho.eaglets.com> <qrr4sndhxwl.fsf@elwha.cs.washington.edu> <m3bthlf1i1.fsf@eho.eaglets.com> <m2k8w8prv5.fsf@blinky.bfr.co.il> <19990323030551.C19866@mtu.edu> <14071.23338.387677.415994@mojave.cs.cornell.edu> <m37ls8ffx2.fsf@eho.eaglets.com> <14071.43446.584220.280690@mojave.cs.cornell.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Eli Barzilay's message of "Tue, 23 Mar 1999 09:48:22 -0500 (EST)"
Date: 23 Mar 1999 09:58:32 -0500
Message-Id: <m3zp54dzhj.fsf@eho.eaglets.com>
Lines: 54
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

People, *PLEASE*, respect the
        Mail-Copies-To: never
header.  I am subscribed to `scwm-discuss', and I do read it, I do *NOT*
need mail copies.

>>>> In message <14071.43446.584220.280690@mojave.cs.cornell.edu>
>>>> On the subject of "Re: scwm.el feature requests"
>>>> Sent on Tue, 23 Mar 1999 09:48:22 -0500 (EST)
>>>> Honorable Eli Barzilay <eli@CS.Cornell.EDU> writes:
 >>   Go out of the way of all such absolute ones!  They have heavy feet
 >>   and sultry hearts: - they do not know how to dance.  How could the
 >>   earth be light to such ones!

huh?!

 >> On Mar 23, Sam Steingold wrote:
 >>  > this is no good: first, it's far to complex, second, it cannot
 >>  > handle embedded comments that contain unbalanced parentheses.
 >> 
 >> It's a quick hack: first, I didn't even try to make it nice or simple,
 >> second: easily solved with condition-case - replace
 >>   (scwm-eval-sexp to-eval mb-p)
 >> with
 >>   (if (condition-case nil (read-from-string "()") (error nil))
 >>     (scwm-eval-sexp to-eval mb-p))

no, it will mis-eval this

(defun z ()
  (save-excustion ;; (progn
    (do-something)))

basically no matter what.

 >> Of course it is ugly etc, but again it's a hack and it will work for
 >> what people want.
 >> 
 >> I did not suggest to contaminate the beautiful .el file, I
:-)
 >> personally prefer the #|...|# thing, but it does what I understood
 >> people wanted and taking some time every now and then to write a
 >> little el is always refreshing...

Frankly, I don't like the whole thing now.
This feature - uncommenting and evaluating - cannot be clearly
specified, so it is better to removed it.

It is better for the people to learn to use #|..|# thing.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Trespassers will be shot.  Survivors will be SHOT AGAIN!

From owner-scwm-discuss@mit.edu  Tue Mar 23 10:36:52 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA20227
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 10:36:52 -0500
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA20224
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 10:36:49 -0500
Received: from SIMON.CS.CORNELL.EDU by MIT.EDU with SMTP
	id AA13624; Tue, 23 Mar 99 10:33:06 EST
Received: from cloyd.cs.cornell.edu (CLOYD.CS.CORNELL.EDU [128.84.227.15])
	by simon.cs.cornell.edu (8.9.3/8.9.3/R-2.1) with ESMTP id KAA22513
	for <scwm-discuss@mit.edu>; Tue, 23 Mar 1999 10:32:19 -0500 (EST)
Received: from mojave.cs.cornell.edu (IDENT:eli@MOJAVE.CS.CORNELL.EDU [128.84.248.55])
	by cloyd.cs.cornell.edu (8.9.3/8.9.3/M-2.0) with ESMTP id KAA24642
	for <scwm-discuss@mit.edu>; Tue, 23 Mar 1999 10:32:18 -0500 (EST)
Received: (from eli@localhost)
	by mojave.cs.cornell.edu (8.8.7/8.8.8/LX-1.2) id KAA28016;
	Tue, 23 Mar 1999 10:32:17 -0500
X-Authentication-Warning: mojave.cs.cornell.edu: eli set sender to eli@mojave.cs.cornell.edu using -f
From: Eli Barzilay <eli@CS.Cornell.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14071.46081.717427.314671@mojave.cs.cornell.edu>
Date: Tue, 23 Mar 1999 10:32:17 -0500 (EST)
To: scwm-discuss@mit.edu
Subject: Re: scwm.el feature requests
In-Reply-To: <m3zp54dzhj.fsf@eho.eaglets.com>
References: <qrrk8w9i0ny.fsf@elwha.cs.washington.edu>
	<m3k8w9f5vb.fsf@eho.eaglets.com>
	<qrr4sndhxwl.fsf@elwha.cs.washington.edu>
	<m3bthlf1i1.fsf@eho.eaglets.com>
	<m2k8w8prv5.fsf@blinky.bfr.co.il>
	<19990323030551.C19866@mtu.edu>
	<14071.23338.387677.415994@mojave.cs.cornell.edu>
	<m37ls8ffx2.fsf@eho.eaglets.com>
	<14071.43446.584220.280690@mojave.cs.cornell.edu>
	<m3zp54dzhj.fsf@eho.eaglets.com>
X-Mailer: VM 6.70 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Mar 23, Sam Steingold wrote:
 > People, *PLEASE*, respect the
 >         Mail-Copies-To: never
 > header.  I am subscribed to `scwm-discuss', and I do read it, I do
 > *NOT* need mail copies.

I use vm, apparently it doesn't know about this header.  I certainly
don't (will try to remember).

 >  >>   Go out of the way of all such absolute ones!  They have heavy
 >  >>   feet and sultry hearts: - they do not know how to dance.  How
 >  >>   could the earth be light to such ones!
 > 
 > huh?!

Nietzsche, Thus Spake Zarathustra.

I just thought it's nicer than "lighten up!", you seem to be really
heavy whenever elisp pops up here.

 > no, it will mis-eval this
 > 
 > (defun z ()
 >   (save-excustion ;; (progn
 >     (do-something)))
 > 
 > basically no matter what.

Right.  I did say that it's a hack that does this _roughly_.  Many
people will do this

   (defun z ()
     (save-excustion ;; progn
       (do-something)))

which will work fine - but again - it's a hack.

 > Frankly, I don't like the whole thing now.
 > This feature - uncommenting and evaluating - cannot be clearly
 > specified, so it is better to removed it.
 > 
 > It is better for the people to learn to use #|..|# thing.

As I said - this is my opinion too.

Maybe a better hack that will encourage people to use this will be to
make #|...|# highlight as comments.
-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
         http://www.cs.cornell.edu/eli/meaning.html        Maze is Life!

From owner-scwm-discuss@mit.edu  Tue Mar 23 11:07:48 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA20475
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 11:07:48 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA20471
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 11:07:03 -0500
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA22790; Tue, 23 Mar 99 11:03:15 EST
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id RAA06612
	for <scwm-discuss@mit.edu>; Tue, 23 Mar 1999 17:02:27 +0100 (MET)
Date: Tue, 23 Mar 1999 17:02:26 +0100
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@mit.edu
Subject: Re: bug in window-style ? escape character and sticky-icons
Message-Id: <19990323170226.A4798@youkaidi.irisa.fr>
References: <19990322112310.C16950@youkaidi.irisa.fr> <qrru2vdi2g3.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Mailer: Mutt 0.95.3us
In-Reply-To: <qrru2vdi2g3.fsf@elwha.cs.washington.edu>; from Greg Badros on Mon, Mar 22, 1999 at 02:28:44PM -0800
X-Mime-Autoconverted: from 8bit to quoted-printable by ulla.irisa.fr id RAA06612
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by VICARIOUS-EXISTENCE.MIT.EDU id LAA20473
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros écrivait :
> [note: I fixed the cc: from scm-discuss to scwm-discuss]

Sorry. I made a typo.

> Hubert Canon <Hubert.Canon@irisa.fr> writes:
> > I just tried scwm after much hesitations. I like gwm and emacs and
> > scheme, so The only obstacle was to change from my good old fvwm.
> > 
> > I tried to convert my fvwmrc by hand. I managed pretty well despite
> > the relative lack of documentation.
> 
> Do you know about the online reference available from the web page?
> What documentation would have been most helpful for you in this process?

Yes I had seen all the web page about scwm :

http://vicarious-existence.mit.edu/scwm/
http://www.cs.washington.edu/homes/gjb/scwm-doc/
http://www.dtek.chalmers.se/~d4jonas/SCWM/index.shtml

It's a good start. I think the documentation Jonas Steverud started is
what I was looking for : some sort of "what you must know to use SCWM".

For the moment I read the reference (even if it is far from complete)
and the source code of the modules. And I read the sample.scwmrc
files.

I'm sure these documentations will improve with the time.

> Also, there is now a fvwm2rc-to-scwmrc converter script that may greatly 
> aid people in converting (and might be completely usable on many fvwm2rc 
> configurations already).

Yes, I tried it. But since fvwmrc_convert is not complete and
fvwm2rc-to-scwmrc, the result is not very useful for me now. I wrote
my own fvwmrc-to-scwmrc.

> > is there a way to escape the special character "*" in window-style ? I
> > would like to have the special buffers of emacs sticky, but not the
> > normal ones :
> > 
> > (window-style "Emacs" #:icon "gnu-animal.xpm" #:mini-icon "mini-doc.xpm")
> > (window-style "Emacs: \**\*" #:sticky #t)
> 
> You can do something like
> 
> (window-style (title-match?? "^Emacs: \\*.*\\*" 'regexp) #:sticky #t)
> 
> Note that "\*" in a scheme string is just "\";  you need to use a
> regular expression and quote the * character using a literal '\';  the
> regexp string created above is:

Thank you. The title-match?? function is not documented, is it ?
I wonder why "Netscape*" or "*lock" do work, but we can't escape the
"*" special character.

> ^Emacs: \*.*\*
> 
> But I'm still not sure that this'll do what you want-- I don't think our 
> window styles re-evaluate dynamically when a window's title changes.
> This could be done with a new hook (or probably even with an existing
> hook, although not as obviously)

You are right. In fact Emacs change the title after the creation of
the window. However, it sufficient for me : thanks to scwmexec I can
change the style dynamically, which I couldn't do with fvwm.

-- 
Hubert Canon

From owner-scwm-discuss@mit.edu  Tue Mar 23 11:34:23 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA20686
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 11:34:23 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA20683
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 11:34:21 -0500
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA00821; Tue, 23 Mar 99 11:30:34 EST
Received: from juno.eecs.tulane.edu (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for 
          Tue, 23 Mar 1999 10:29:44 -0600 (CST)
Received:  by juno.eecs.tulane.edu; Tue, 23 Mar 1999 10:29:45 -0600 (CST)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14071.49528.734613.943260@juno>
Date: Tue, 23 Mar 1999 10:29:44 -0600 (CST)
From: Equality 7-2521 <beuscher@eecs.tulane.edu>
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@mit.edu
Subject: Re: bug in window-style ? escape character and sticky-icons
In-Reply-To: <19990322112310.C16950@youkaidi.irisa.fr>
References: <19990322112310.C16950@youkaidi.irisa.fr>
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


> the "sticky-icons" option doesn't work like the fvwm one : when I
> de-iconify a window, it appears in its original position, and not in
> the current viewport as I expected. And even worse : the viewport is
> not changed to the one of this window.

yes, i also found this bugginess.    my temporary workaround, as
i have no great interest in diving into the C, is to use
(de)iconify-hook:

(define (eb-iconify-hook window)
  (toggle-stick window))
(define (eb-deiconify-hook window)
  (toggle-stick window))
(add-hook! iconify-hook eb-iconify-hook)
(add-hook! deiconify-hook eb-deiconify-hook)

i find this solution completely unaesthetically pleasing, but
this could be viewed as a way that the functionality of what 
happens to (de)iconified windows is left up to the user, which is
of course why we all love and want to use scwm


eric
-- 
Eric Beuscher
Researcher in Tulane Mobile Robotics Lab
Masters Student in Computer Science
Tulane University

beuscher@eecs.tulane.edu
http://www.eecs.tulane.edu/www/Beuscher

From owner-scwm-discuss@mit.edu  Tue Mar 23 11:48:25 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA20810
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 11:48:25 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA20807
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 11:48:23 -0500
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA07821; Tue, 23 Mar 99 11:43:47 EST
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id RAA07139
	for <scwm-discuss@mit.edu>; Tue, 23 Mar 1999 17:43:53 +0100 (MET)
Date: Tue, 23 Mar 1999 17:43:52 +0100
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@mit.edu
Subject: Re: bug in window-style ? escape character and sticky-icons
Message-Id: <19990323174351.B750@youkaidi.irisa.fr>
References: <19990322112310.C16950@youkaidi.irisa.fr> <14071.49528.734613.943260@juno>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Mailer: Mutt 0.95.3us
In-Reply-To: <14071.49528.734613.943260@juno>; from Equality 7-2521 on Tue, Mar 23, 1999 at 10:29:44AM -0600
X-Mime-Autoconverted: from 8bit to quoted-printable by ulla.irisa.fr id RAA07139
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by VICARIOUS-EXISTENCE.MIT.EDU id LAA20808
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Equality 7-2521 écrivait :
> 
> > the "sticky-icons" option doesn't work like the fvwm one : when I
> > de-iconify a window, it appears in its original position, and not in
> > the current viewport as I expected. And even worse : the viewport is
> > not changed to the one of this window.
> 
> yes, i also found this bugginess.    my temporary workaround, as
> i have no great interest in diving into the C, is to use
> (de)iconify-hook:
> 
> (define (eb-iconify-hook window)
>   (toggle-stick window))
> (define (eb-deiconify-hook window)
>   (toggle-stick window))
> (add-hook! iconify-hook eb-iconify-hook)
> (add-hook! deiconify-hook eb-deiconify-hook)
> 
> i find this solution completely unaesthetically pleasing, but
> this could be viewed as a way that the functionality of what 
> happens to (de)iconified windows is left up to the user, which is
> of course why we all love and want to use scwm

Yes. It works.

But no, it doesn't : it works when I iconify or de-iconify a window by
clicking on the icon. But when I select a window with the winlist, it
gets sticky (or unsticky if it was).


-- 
Hubert Canon

From owner-scwm-discuss@mit.edu  Tue Mar 23 12:01:15 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA20958
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 12:01:15 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA20953
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 12:01:08 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA09274; Tue, 23 Mar 99 11:57:20 EST
Received: from Central.Sun.COM ([129.147.62.10])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with SMTP id IAA03477;
	Tue, 23 Mar 1999 08:56:32 -0800 (PST)
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id JAA26977; Tue, 23 Mar 1999 09:56:23 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1b+Sun/8.9.1) id JAA22800;
	Tue, 23 Mar 1999 09:56:23 -0700 (MST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: build problem: libtool --no-reexec
References: <ii7u2vio4zj.fsf@central.sun.com> <wsk8wdd6ab.fsf@orcus.priv.at> <ii7d8212uar.fsf@central.sun.com> <ws1zih1dqo.fsf@orcus.priv.at>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Sam Falkner <samf@central.sun.com>
Date: 23 Mar 1999 09:56:23 -0700
In-Reply-To: Robert Bihlmeyer's message of "22 Mar 1999 21:16:47 +0100"
Message-Id: <ii7k8w8du14.fsf@central.sun.com>
Lines: 25
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 22 Mar 1999 12:33:48 -0700
> >>>>> Sam Falkner <samf@central.sun.com> said:
> 
>  Sam> Argh, I don't have automake and autoconf (and whatever else
>  Sam> autogen.sh needs). I guess I'll start rounding these up, but
>  Sam> would it be easy to make the nightly snapshots (i.e. the CVS
>  Sam> repository) not require this?
> 
> Well, the snapshots are intended to be independent of
> automake/autoconf/libtool. Did you mess with the libtool stuff,
> perhaps?

I did two things with respect to libtool.  First I installed libtool
1.2, which I believe to be the latest version.  Then, when I get the
snapshot directory, it comes with two symlinks pointing to nowhere;
so, i point them at the files in my libtool distribution.  Should I
have done something other than this?

Thanks!

- Sam

From owner-scwm-discuss@mit.edu  Tue Mar 23 12:42:50 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA21345
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 12:42:50 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA21342
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 12:42:47 -0500
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA20111; Tue, 23 Mar 99 12:39:04 EST
Received: from juno.eecs.tulane.edu (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for 
          Tue, 23 Mar 1999 11:37:53 -0600 (CST)
Received:  by juno.eecs.tulane.edu; Tue, 23 Mar 1999 11:37:54 -0600 (CST)
Date: Tue, 23 Mar 1999 11:37:54 -0600 (CST)
Message-Id: <199903231737.LAA16598@juno.eecs.tulane.edu>
From: Equality 7-2521 <beuscher@eecs.tulane.edu>
To: Hubert Canon <Hubert.Canon@irisa.fr>
Subject: Re: bug in window-style ? escape character and sticky-icons
In-Reply-To: <19990323174351.B750@youkaidi.irisa.fr>
References: <19990322112310.C16950@youkaidi.irisa.fr>
	<14071.49528.734613.943260@juno>
	<19990323174351.B750@youkaidi.irisa.fr>
X-Mailer: VM 6.62 under Emacs 20.3.1
Cc: scwm-discuss@mit.edu
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


> Yes. It works.
> 
> But no, it doesn't : it works when I iconify or de-iconify a window by
> clicking on the icon. But when I select a window with the winlist, it
> gets sticky (or unsticky if it was).

the short answer is, your right.     this gave me most of the
functionality i wanted.     i have observed what you have, and i
have a couple of quick hacks i want to try later this afternoon.
but up till now, the slight problem of the new stickiness hasnt
bothered me enough to make me distracted, now it has


-- 
eric

From owner-scwm-discuss@mit.edu  Tue Mar 23 13:35:46 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA21650
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 13:35:46 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA21647
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 13:35:42 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA03806; Tue, 23 Mar 99 13:31:58 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id TAA27312
	for scwm-discuss@mit.edu; Tue, 23 Mar 1999 19:10:59 +0100 (MET)
Received: (qmail 453 invoked by uid 115); 23 Mar 1999 18:06:03 -0000
To: scwm-discuss@mit.edu
Subject: API cleanup
References: <qrriubys8l2.fsf@elwha.cs.washington.edu> <wsn219d6hw.fsf@orcus.priv.at> <qrrk8wcmv26.fsf@elwha.cs.washington.edu> <wsbthm2xhg.fsf@orcus.priv.at> <qrr4sndjhsn.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 23 Mar 1999 19:06:02 +0100
In-Reply-To: Greg Badros's message of "22 Mar 1999 14:11:52 -0800"
Message-Id: <wsd820jd2t.fsf_-_@orcus.priv.at>
Lines: 52
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 22 Mar 1999 14:11:52 -0800
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> Robert Bihlmeyer <robbe@orcus.priv.at> writes: <snip>

 >> We'll also have to think about trimming down the load of
 >> functions. For example, there are animated versions of nearly
 >> everything. Why not fold them into the normal interfaces,
 >> available by a keyword argument?

 Greg> The big issue is that that keyword argument shouldn't exist in
 Greg> the original procedure, but only if/when the animated module is
 Greg> loaded.

I don't see a problem. Imagine:

`std-resize-window', and `animated-resize-window' are the primitives,
that do their thing. All the users should use is `resize-window', a
scheme wrapper that calls the right primitive, depending on the value
of `#:animated'.

Isn't rubberbanding vs. opaque done like this?

 Greg> [...], but when

 Greg> (use-modules (app scwm animated-resize))

 Greg> is executed (hypothetically, of course -- it's not separated
 Greg> out into its own module yet), then `resize-window' needs to be
 Greg> augmented with the new keyword argument.

I think it would be more convenient, to let `resize-window' do the
module loading on demand. I.e. the first time I use `#:animated #t',
the module (perhaps a shared lib) is loaded.

This does still not reach my goal of simplification - instead of two
functions we have three! But with appropriate marking of user-level
and low-level functions (akin to Emacs's concept of user-variables), I 
think we gain something.

 Greg> We can certainly do this, but we need to decide on the right
 Greg> extension mechanism and conventions if we do go this route.

Sure. I don't think we should press this before 1.0.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Tue Mar 23 14:04:15 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA21909
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 14:04:15 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA21906
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 14:04:12 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA11531; Tue, 23 Mar 99 14:00:06 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Tue, 23 Mar 1999 13:58:05 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Tue, 23 Mar 1999 13:58:05 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id NAA16502;
	Tue, 23 Mar 1999 13:58:41 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: scwm.el feature requests
References: <qrrk8w9i0ny.fsf@elwha.cs.washington.edu> <m3k8w9f5vb.fsf@eho.eaglets.com> <qrr4sndhxwl.fsf@elwha.cs.washington.edu> <m3bthlf1i1.fsf@eho.eaglets.com> <qrr7ls850yp.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "22 Mar 1999 19:39:10 -0800"
Date: 23 Mar 1999 13:58:41 -0500
Message-Id: <m3r9qgdoda.fsf@eho.eaglets.com>
Lines: 130
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrr7ls850yp.fsf@elwha.cs.washington.edu>
>>>> On the subject of "Re: scwm.el feature requests"
>>>> Sent on 22 Mar 1999 19:39:10 -0800
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> >
 >> > done:
 >> >
 >> > ;; fontifications
 >> > ;; --------------
 >> > (let ((font-keywds
 >> >        (cond ((boundp 'running-xemacs)
 >> >               (put 'scwm-mode 'font-lock-defaults
 >> >                    (get 'scheme-mode 'font-lock-defaults)))
 >> >              ((and (string-lessp emacs-version "20.3")
 >> >                    (boundp 'font-lock-defaults-alist))
 >> >               (or (assq 'scwm-mode font-lock-defaults-alist)
 >> >                   (cdar (setq font-lock-defaults-alist
 >> >                               (cons (cons 'scwm-mode
 >> >                                           (cdr (assq
 >> >                                                 'scheme-mode
 >> >                                                 font-lock-defaults-alist)))
 >> >                                     font-lock-defaults-alist)))))
 >> >              (scheme-font-lock-keywords-2))))
 >> >   (when font-keywds
 >> >     (nconc font-keywds
 >> >            (list (cons "\\<&\\sw+\\>" font-lock-builtin-face)))))
 >> >
 >> >  >> packages, as well as define*, define*-public, define-public, etc.
 >> >
 >> > these are highlighted for me already.
 >> 
 >> I'm not sure what this is doing-- is font-keywds special in Emacs?  I
 >> think some of the variable names are different between Emacs and XEmacs
 >> -- font-lock-builtin-face also doesn't exist.

please send me the value of
(get 'scheme-mode 'font-lock-defaults)

 >> I'll look more at your old message. It'd be nice to try starting scwm -f
 >> /dev/null and see if it crashes.

no it doesn't (but it is not of much use in that case either - how can I
find the iconified windows?)


$ strace -etrace=open scwm
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/usr/X11R6/lib/libSM.so.6", O_RDONLY) = 3
open("/usr/X11R6/lib/libICE.so.6", O_RDONLY) = 3
open("/usr/X11R6/lib/libXext.so.6", O_RDONLY) = 3
open("/usr/X11R6/lib/libXmu.so.6", O_RDONLY) = 3
open("/usr/X11R6/lib/libXpm.so.4", O_RDONLY) = 3
open("/usr/X11R6/lib/libX11.so.6", O_RDONLY) = 3
open("/usr/lib/libguile.so.4", O_RDONLY) = 3
open("/lib/libdl.so.2", O_RDONLY)       = 3
open("/usr/lib/libreadline.so.3", O_RDONLY) = 3
open("/lib/libtermcap.so.2", O_RDONLY)  = 3
open("/lib/libm.so.6", O_RDONLY)        = 3
open("/lib/libc.so.6", O_RDONLY)        = 3
open("/usr/X11R6/lib/libXt.so.6", O_RDONLY) = 3
open("/etc/localtime", O_RDONLY)        = 3
open("/usr/share/guile/1.3/ice-9/boot-9.scm", O_RDONLY) = 3
open("/usr/share/guile/1.3/ice-9/r4rs.scm", O_RDONLY) = 4
open("/usr/share/guile/1.3/ice-9/readline.scm", O_RDONLY) = 4
open("/usr/share/guile/1.3/ice-9/session.scm", O_RDONLY) = 5
open("/usr/share/guile/1.3/ice-9/regex.scm", O_RDONLY) = 5
open("/usr/share/guile/1.3/ice-9/debug.scm", O_RDONLY) = 4
open("/usr/share/guile/1.3/ice-9/version.scm", O_RDONLY) = 4
open("/home/sds/.Xauthority", O_RDONLY) = 4
open("/home/sds/.ICEauthority", O_RDONLY) = 5
open("/home/sds/.ICEauthority", O_RDONLY) = 5
open("/home/sds/.ICEauthority", O_RDONLY) = 5
open("/home/sds/.ICEauthority", O_RDONLY) = 5
open("/usr/lib/X11/app-defaults/Scwm", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/X11/locale/locale.alias", O_RDONLY) = 5
open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY) = 5
open("/usr/X11R6/lib/X11/locale/C/XLC_LOCALE", O_RDONLY) = 5
open("/home/sds/.Xdefaults-eho.eaglets.com", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/sds/.scwmrc", O_RDONLY)     = 5
open("/usr/local/share/scwm-modules/app/scwm/gnome-hints.scm", O_RDONLY) = 6
open("/usr/local/share/scwm-modules/app/scwm/base.scm", O_RDONLY) = 7
open("/usr/local/share/scwm-modules/app/scwm/optargs.scm", O_RDONLY) = 8
open("/usr/local/share/scwm-modules/app/scwm/winops.scm", O_RDONLY) = 7
open("/usr/local/share/scwm-modules/app/scwm/style-options.scm", O_RDONLY) = 8
open("/usr/local/share/scwm-modules/app/scwm/message-window.scm", O_RDONLY) = 6
open("/usr/local/share/scwm-modules/app/scwm/animated-iconify.scm", O_RDONLY) = 
open("/usr/local/share/scwm-modules/app/scwm/virtual.scm", O_RDONLY) = 7
open("/usr/local/share/scwm-modules/app/scwm/wininfo.scm", O_RDONLY) = 8
open("/usr/local/share/scwm-modules/app/scwm/listops.scm", O_RDONLY) = 9
open("/usr/local/lib/scwm-modules/app/scwm/libxlib-drawing.la", O_RDONLY) = 7
open("/usr/local/lib/scwm-modules/app/scwm/libxlib-drawing.so.0", O_RDONLY) = 7
open("/usr/local/share/scwm-modules/app/scwm/shutdown-opts.scm", O_RDONLY) = 6
open("/usr/local/share/scwm-modules/app/scwm/placement.scm", O_RDONLY) = 6
open("/usr/local/share/scwm-modules/app/scwm/animation.scm", O_RDONLY) = 6
open("/usr/local/lib/scwm-modules/app/scwm/libc-animation.la", O_RDONLY) = 7
open("/usr/local/lib/scwm-modules/app/scwm/libc-animation.so.0", O_RDONLY) = 7
open("/usr/local/share/scwm-modules/app/scwm/fvwm-module.scm", O_RDONLY) = 6
open("/usr/local/share/scwm-modules/app/scwm/winlist.scm", O_RDONLY) = 7
open("/usr/local/share/scwm-modules/app/scwm/menus-extras.scm", O_RDONLY) = 8
open("/usr/local/share/scwm-modules/app/scwm/module-types.scm", O_RDONLY) = 7
open("/usr/local/share/scwm-modules/app/scwm/bincomm.scm", O_RDONLY) = 7
open("/usr/local/share/scwm-modules/app/scwm/fvwm-eval.scm", O_RDONLY) = 7
open("/usr/share/guile/1.3/ice-9/string-fun.scm", O_RDONLY) = 8
open("/usr/local/share/scwm-modules/app/scwm/fvwm-compat.scm", O_RDONLY) = 8
open("/usr/local/share/scwm-modules/app/scwm/decor.scm", O_RDONLY) = 7
open("/usr/local/share/scwm-modules/app/scwm/file.scm", O_RDONLY) = 7
open("/usr/local/share/scwm-modules/app/scwm/prefs-menu.scm", O_RDONLY) = 6
open("/usr/local/share/scwm-modules/app/scwm/std-menus.scm", O_RDONLY) = 7
open("/usr/local/share/scwm-modules/app/scwm/flux.scm", O_RDONLY) = 8
open("/usr/local/share/scwm-modules/app/scwm/string-prompt.scm", O_RDONLY) = 9
open("/usr/local/share/scwm-modules/app/scwm/gtk.scm", O_RDONLY) = 10

;;; WARNING (no code for module gtk)
open("/usr/local/lib/scwm-modules/app/scwm/libscwmgtkhelper.la", O_RDONLY) = 11
open("/usr/local/lib/scwm-modules/app/scwm/libscwmgtkhelper.so.0", O_RDONLY) = 1
open("/etc/ld.so.cache", O_RDONLY)      = 11
open("/usr/lib/libgtk-1.2.so.0", O_RDONLY) = 11
open("/usr/lib/libgdk-1.2.so.0", O_RDONLY) = 11
open("/usr/lib/libgmodule-1.2.so.0", O_RDONLY) = 11
open("/usr/lib/libglib-1.2.so.0", O_RDONLY) = 11
--- SIGSEGV (Segmentation fault) ---
--- SIGSEGV (Segmentation fault) ---


-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Only a fool has no doubts.

From owner-scwm-discuss@mit.edu  Tue Mar 23 14:54:23 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA22344
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 14:54:23 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA22341
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 14:54:21 -0500
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA00108; Tue, 23 Mar 99 14:49:38 EST
Received: from juno.eecs.tulane.edu (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for <scwm-discuss@mit.edu>
          Tue, 23 Mar 1999 13:49:33 -0600 (CST)
Received:  by juno.eecs.tulane.edu; Tue, 23 Mar 1999 13:49:34 -0600 (CST)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14071.61518.202539.31186@juno>
Date: Tue, 23 Mar 1999 13:49:34 -0600 (CST)
From: Equality 7-2521 <beuscher@eecs.tulane.edu>
To: scwm-discuss@mit.edu
Subject: Re: bug in window-style ? escape character and sticky-icons
In-Reply-To: <199903231737.LAA16598@juno.eecs.tulane.edu>
References: <19990322112310.C16950@youkaidi.irisa.fr>
	<14071.49528.734613.943260@juno>
	<19990323174351.B750@youkaidi.irisa.fr>
	<199903231737.LAA16598@juno.eecs.tulane.edu>
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


> > But no, it doesn't : it works when I iconify or de-iconify a window by
> > clicking on the icon. But when I select a window with the winlist, it
> > gets sticky (or unsticky if it was).

in a related, but side note, i found this differing functionality
with the (de)iconify-hooks depending on the number of arguments
if had my hook procedure take, and wondered if any of the scwm
people could shed some light on it:

from scwm Reference Manual

                          deiconify-hook (2 args)
        
   This hook is invoked when a window is deiconified. It is called with
   two arguments: WINDOW, WAS-ICONIFIED?. WINDOW is the window iconfied,
   and WAS-ICONIFIED? is a boolean telling whether the window was
   iconified previously.


with this definition:

(define (eb-iconify-hook window)
  (toggle-stick window))
(define (eb-deiconify-hook window)
  (toggle-stick window))
(add-hook! iconify-hook eb-iconify-hook)
(add-hook! deiconify-hook eb-deiconify-hook)

uniconified windows selected w/ winlist, makes the window sticky,
which is of course weird.     while manual deiconification has
the desired property of making icons uniconify onto the current
viewport, and have its stickiness remain the same as when it was
iconified.

with this definition:

(define (eb-iconify-hook window was-iconified?)
  (toggle-stick window))
(define (eb-deiconify-hook window was-iconified?)
  (toggle-stick window))
(add-hook! iconify-hook eb-iconify-hook)
(add-hook! deiconify-hook eb-deiconify-hook)

things act weird, where weird is defined as showing up on the
same wrong viewport (as in not the viewport i am on, or the viewport it
was iconified on) consistently


-- 
eric

From owner-scwm-discuss@mit.edu  Tue Mar 23 14:55:25 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA22362
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 14:55:25 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from mail.eaglets.com ([208.235.77.228])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id OAA22339
	for <scwm-discuss@huis-clos.mit.edu>; Tue, 23 Mar 1999 14:54:09 -0500
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Tue, 23 Mar 1999 14:46:25 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Tue, 23 Mar 1999 14:46:25 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id OAA22982;
	Tue, 23 Mar 1999 14:46:21 -0500
To: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: opaque move
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 23 Mar 1999 14:46:21 -0500
Message-ID: <m3iubsdm5u.fsf@eho.eaglets.com>
Lines: 36
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Thanks Greg, I just rebuilt scwm and it didn't crash!

I am having a weird problem: I cannot make sure that all moved and
resizes are done opaquely.
I tried both

        (define (resize-opaquely? win) #t)
        (define (move-opaquely? win) #t)

and

        (set! resize-opaquely? (lambda (win) #t))
        (set! move-opaquely? (lambda (win) #t))

and they don't change anything: some windows (smaller) are moved
opaquely, some - transparently.

I don't set `opaque-move-percent' and `opaque-resize-percent'.

Also, what are these messages for? (they appear when the mouse enters
icons):

(Client message: #<window 62919730: "*Help*"> "WM_PROTOCOLS" 32 #(136 -1199877170 1074331038 -1073744812 134744768))
(Client message: #<window 62919730: "*Help*"> "WM_PROTOCOLS" 32 #(136 -1199876971 1074331038 -1073744812 134744768))
(Client message: #<window 62916337: "ChangeLog"> "WM_PROTOCOLS" 32 #(136 -1199864826 1074331038 -1073744812 134744768))
(Client message: #<window 62915270: "*inferior-lisp*"> "WM_PROTOCOLS" 32 #(136 -1199855361 1074331038 -1073744812 134744768))
(Client message: #<window 62916337: "ChangeLog"> "WM_PROTOCOLS" 32 #(136 -1199615774 1074331038 -1073744812 134744768))
(Client message: #<window 62916189: "*acl*"> "WM_PROTOCOLS" 32 #(136 -1199615276 1074331038 -1073744812 134744768))
(Client message: #<window 62916254: "*cmu*"> "WM_PROTOCOLS" 32 #(136 -1199615158 1074331038 -1073744812 134744768))


-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
A year spent in artificial intelligence is enough to make one believe in God.

From owner-scwm-discuss@mit.edu  Tue Mar 23 15:13:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA22610
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 15:13:41 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA22607
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 15:13:38 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA01592; Tue, 23 Mar 99 15:09:53 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id WAA20764; Tue, 23 Mar 1999 22:09:04 +0200
To: scwm-discuss@mit.edu
Subject: Re: opaque move
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 23 Mar 1999 22:09:04 +0200
In-Reply-To: Sam Steingold's message of "23 Mar 1999 14:46:21 -0500"
Message-Id: <m2zp54otnj.fsf@blinky.bfr.co.il>
Lines: 32
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

 > Thanks Greg, I just rebuilt scwm and it didn't crash!
 > 
 > I am having a weird problem: I cannot make sure that all moved and
 > resizes are done opaquely.
 > I tried both
 > 
 >         (define (resize-opaquely? win) #t)
 >         (define (move-opaquely? win) #t)
 > 
 > and
 > 
 >         (set! resize-opaquely? (lambda (win) #t))
 >         (set! move-opaquely? (lambda (win) #t))
 > 
 > and they don't change anything: some windows (smaller) are moved
 > opaquely, some - transparently.

That's not the way it works.  These fcns tell you whether or not a
window will be moved/resized opaquely based on opaque-move-percent and
opaque-resize-percent.  They're not used internally by the move &
resize fcns to decide whether or not to be opaque.

 > I don't set `opaque-move-percent' and `opaque-resize-percent'.

So set them.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Mar 23 15:20:35 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA22685
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 15:20:35 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA22682
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 15:20:33 -0500
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA03605; Tue, 23 Mar 99 15:16:44 EST
Received: from juno.eecs.tulane.edu (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for <scwm-discuss@mit.edu>
          Tue, 23 Mar 1999 14:15:44 -0600 (CST)
Received:  by juno.eecs.tulane.edu; Tue, 23 Mar 1999 14:15:46 -0600 (CST)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14071.63089.870825.163947@juno>
Date: Tue, 23 Mar 1999 14:15:45 -0600 (CST)
From: Equality 7-2521 <beuscher@eecs.tulane.edu>
To: scwm-discuss@mit.edu
Subject: Re: bug in window-style ? escape character and sticky-icons
In-Reply-To: <19990323174351.B750@youkaidi.irisa.fr>
References: <19990322112310.C16950@youkaidi.irisa.fr>
	<14071.49528.734613.943260@juno>
	<19990323174351.B750@youkaidi.irisa.fr>
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


> > (define (eb-iconify-hook window)
> >   (toggle-stick window))
> > (define (eb-deiconify-hook window)
> >   (toggle-stick window))
> > (add-hook! iconify-hook eb-iconify-hook)
> > (add-hook! deiconify-hook eb-deiconify-hook)

> But no, it doesn't : it works when I iconify or de-iconify a window by
> clicking on the icon. But when I select a window with the winlist, it
> gets sticky (or unsticky if it was).

the problem w/ my solution was in selecting an uniconified window
from the winlist made it sticky.   well the solution to this is:

;; the definition if default-winlist-proc from (app scwm winlist)
(define*-public (default-winlist-proc #&optional (win (get-window)))
  "The default behaviour when WIN is selected from the window list."
  (cond
   (win (deiconify win)
	(focus win)
	(raise-window win)
	(warp-to-window win)
	(move-pointer (w%x 20 win) (w%y 20 win)))))


;; the fix
(define (eb-window-list-proc . win)
  "This is almost just like `default-winlist-proc' in (app scwm winlist)"
  (let ((win (if (null? win) (get-window) (car win))))
    (cond
     (win 
      (if (iconified? win)
	  (deiconify win))
      (focus win)
      (raise-window win)
      (warp-to-window win)
      (move-pointer (w%x 20 win) (w%y 20 win))))))

(define (eb-popup-window-list)
  "Window-list w/ geometries, and my hotkeys.   see winlist."
  (eb-show-window-list-menu
   #:show-geometry #t
   #:proc eb-window-list-proc
   ))

where eb-show-window-list-menu is just like show-window-list-menu
except mine adds hotkeys [0-9a-z] for each winlist 

but now i get the ultra annoying problem that selecting an
uniconified window from winlist doesnt warp to the selected
window properly.   the only difference between my
window-list-proc and the default is that the default always does
a deiconify.    is there some reason all windows are deiconified
when selected from the winlist?

so inre to the above, i am currently using my hooks, and the default
window-list-proc, until i here from scwm-ers who can shed some
light on the deiconify in the window-list-proc.


-- 
eric

From owner-scwm-discuss@mit.edu  Tue Mar 23 15:37:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA22895
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 15:37:37 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA22892
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 15:37:34 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA08668; Tue, 23 Mar 99 15:33:19 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Tue, 23 Mar 1999 15:31:23 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Tue, 23 Mar 1999 15:31:23 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id PAA23185;
	Tue, 23 Mar 1999 15:31:54 -0500
To: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: hjstein@bfr.co.il's message of "23 Mar 1999 22:09:04 +0200"
Date: 23 Mar 1999 15:31:54 -0500
Message-Id: <m3zp54c5hh.fsf@eho.eaglets.com>
Lines: 45
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <m2zp54otnj.fsf@blinky.bfr.co.il>
>>>> On the subject of "Re: opaque move"
>>>> Sent on 23 Mar 1999 22:09:04 +0200
>>>> Honorable hjstein@bfr.co.il (Harvey J. Stein) writes:
 >> Sam Steingold <sds@goems.com> writes:
 >> 
 >>  > Thanks Greg, I just rebuilt scwm and it didn't crash!
 >>  >
 >>  > I am having a weird problem: I cannot make sure that all moved and
 >>  > resizes are done opaquely.
 >>  > I tried both
 >>  >
 >>  >         (define (resize-opaquely? win) #t)
 >>  >         (define (move-opaquely? win) #t)
 >>  >
 >>  > and
 >>  >
 >>  >         (set! resize-opaquely? (lambda (win) #t))
 >>  >         (set! move-opaquely? (lambda (win) #t))
 >>  >
 >>  > and they don't change anything: some windows (smaller) are moved
 >>  > opaquely, some - transparently.
 >> 
 >> That's not the way it works.  These fcns tell you whether or not a
 >> window will be moved/resized opaquely based on opaque-move-percent
 >> and opaque-resize-percent.  They're not used internally by the move
 >> & resize fcns to decide whether or not to be opaque.

wrong.  please see winops.scm, in particular `interactive-move' and
`interactive-resize'.  `resize-opaquely?' and `move-opaquely?' are
called to determine whether to to the operation opaquely.

 >>  > I don't set `opaque-move-percent' and `opaque-resize-percent'.
 >> 
 >> So set them.

setting them doesn't help.
also, it's the wrong solution: I want opaque everything even for windows
larger than display.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
OK, so you're a Ph.D.  Just don't touch anything.

From owner-scwm-discuss@mit.edu  Tue Mar 23 16:26:08 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA23325
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 16:26:08 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA23322
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 16:26:05 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA22459; Tue, 23 Mar 99 16:22:20 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id XAA21103; Tue, 23 Mar 1999 23:21:32 +0200
To: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 23 Mar 1999 23:21:32 +0200
In-Reply-To: Sam Steingold's message of "23 Mar 1999 15:31:54 -0500"
Message-Id: <m2r9qfq4v7.fsf@blinky.bfr.co.il>
Lines: 83
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

 > >>>> In message <m2zp54otnj.fsf@blinky.bfr.co.il>
 > >>>> On the subject of "Re: opaque move"
 > >>>> Sent on 23 Mar 1999 22:09:04 +0200
 > >>>> Honorable hjstein@bfr.co.il (Harvey J. Stein) writes:
 >  >> Sam Steingold <sds@goems.com> writes:
 >  >> 
 >  >>  > Thanks Greg, I just rebuilt scwm and it didn't crash!
 >  >>  >
 >  >>  > I am having a weird problem: I cannot make sure that all moved and
 >  >>  > resizes are done opaquely.
 >  >>  > I tried both
 >  >>  >
 >  >>  >         (define (resize-opaquely? win) #t)
 >  >>  >         (define (move-opaquely? win) #t)
 >  >>  >
 >  >>  > and
 >  >>  >
 >  >>  >         (set! resize-opaquely? (lambda (win) #t))
 >  >>  >         (set! move-opaquely? (lambda (win) #t))
 >  >>  >
 >  >>  > and they don't change anything: some windows (smaller) are moved
 >  >>  > opaquely, some - transparently.
 >  >> 
 >  >> That's not the way it works.  These fcns tell you whether or not a
 >  >> window will be moved/resized opaquely based on opaque-move-percent
 >  >> and opaque-resize-percent.  They're not used internally by the move
 >  >> & resize fcns to decide whether or not to be opaque.
 > 
 > wrong.  please see winops.scm, in particular `interactive-move' and
 > `interactive-resize'.  `resize-opaquely?' and `move-opaquely?' are
 > called to determine whether to to the operation opaquely.

Ok.  You're right & I'm wrong.

But it works for me!  I did:

I had:

(set! opaque-move-percent 100)
(set! opaque-resize-percent 0)

in my .scwmrc file.

I changed opaque-move-percent to 0 & sure enough, all windows moved as
wire frames.

Then I did:

(set! move-opaquely? (lambda (w) #t))

and my windows all move opaquely.

Then I did:

(set! move-opaquely? (lambda (w) #f))

and they move as wire frames again.

Then I did:

(define move-opaquely? (lambda (w) #t))

and they still move as wire frames because now I've definded a new top
level variable thus cutting off access to the original one used in
winops.scm.

I take it you did your define tests & then did your set! tests without
restarting scwm?

 > setting them doesn't help.  also, it's the wrong solution: I want
 > opaque everything even for windows larger than display.

Maybe because you screwed things up with the define first?  In any
case, yes it's the wrong solution, but no, not because you want to
move windows larger than the display opaquely.  You can set them to
100000.  Ever use windows 100x larger than your screen size?

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Mar 23 16:46:26 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA23555
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 16:46:26 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA23552
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 16:46:24 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA03642; Tue, 23 Mar 99 16:41:45 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA21384; Tue, 23 Mar 1999 13:41:50 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Re: scwm.el feature requests
References: <qrrk8w9i0ny.fsf@elwha.cs.washington.edu> <m3k8w9f5vb.fsf@eho.eaglets.com> <qrr4sndhxwl.fsf@elwha.cs.washington.edu> <m3bthlf1i1.fsf@eho.eaglets.com> <qrr7ls850yp.fsf@elwha.cs.washington.edu> <m3r9qgdoda.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Mar 1999 13:41:50 -0800
In-Reply-To: Sam Steingold's message of "23 Mar 1999 13:58:41 -0500"
Message-Id: <qrr90cnopcx.fsf@elwha.cs.washington.edu>
Lines: 31
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

>  >> >  >> packages, as well as define*, define*-public, define-public, etc.
>  >> >
>  >> > these are highlighted for me already.
>  >> 
>  >> I'm not sure what this is doing-- is font-keywds special in Emacs?  I
>  >> think some of the variable names are different between Emacs and XEmacs
>  >> -- font-lock-builtin-face also doesn't exist.
> 
> please send me the value of
> (get 'scheme-mode 'font-lock-defaults)

(scheme-font-lock-keywords nil t ((?\: . "w") (?\- . "w") (?\* . "w")
(?\+ . "w") (?\. . "w") (?\< . "w") (?\> . "w") (?\= . "w") (?\! . "w")
(?\? . "w") (?\$ . "w") (?\% . "w") (?\_ . "w") (?\& . "w") (?\~ . "w")
(?^ . "w") (?\/ . "w")) beginning-of-defun)


> $ strace -etrace=open scwm

Oops, should've been -etrace=file, though from the opens I can tell that 
your libguilegtk isn't being read, and that's likely the problem.  Try
rebuilding and re-installing guile-gtk-0.15.

Also, see if my patch checked in yesterday avoids the seg fault -- it
might just seg fault later, but I'm a big fan of defensive programming
(even in the face of installation problems).

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Tue Mar 23 17:50:28 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA23933
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 17:50:28 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA23930
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 17:50:25 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA15732; Tue, 23 Mar 99 17:46:40 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA21419; Tue, 23 Mar 1999 14:45:43 -0800 (PST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <m2r9qfq4v7.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Mar 1999 14:45:43 -0800
In-Reply-To: hjstein@bfr.co.il's message of "23 Mar 1999 23:21:32 +0200"
Message-Id: <qrr1zifomeg.fsf@elwha.cs.washington.edu>
Lines: 10
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I recently changed opaque-move-percent and opaque-resize-percent to
permit values #t and #f to mean *all* windows (even those bigger than
the screen) and no windows (same as 0).  So

(set! opaque-move-percent #t)

should do what you want (but I can't test as opaque moves are always
enabled with the constraint solver).

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 23 17:55:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA23980
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 17:55:59 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA23977
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 17:55:56 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA17032; Tue, 23 Mar 99 17:52:11 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA21424; Tue, 23 Mar 1999 14:51:22 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Mar 1999 14:51:21 -0800
In-Reply-To: Sam Steingold's message of "23 Mar 1999 15:31:54 -0500"
Message-Id: <qrryaknn7km.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> setting them doesn't help.
> also, it's the wrong solution: I want opaque everything even for windows
> larger than display.

The problem is that you're setting the wrong 'them'.  They are defined
in the winops module, and the references to them in the winops module
use the ones local to the module, not the ones you define in the root
module.  I've moved them into the root module so that what you tried
will work in the future (I think).

We need to decide a good way to support user variables like this.  It
still feels ugly moving vars before the define-module.

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 23 18:13:39 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA24248
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 18:13:39 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA24245
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 18:13:37 -0500
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA20813; Tue, 23 Mar 99 18:09:51 EST
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id BAA21774; Wed, 24 Mar 1999 01:08:57 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <qrryaknn7km.fsf@elwha.cs.washington.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 24 Mar 1999 01:08:57 +0200
In-Reply-To: Greg Badros's message of "23 Mar 1999 14:51:21 -0800"
Message-Id: <m2ogljst12.fsf@blinky.bfr.co.il>
Lines: 25
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > Sam Steingold <sds@goems.com> writes:
 > 
 > > setting them doesn't help.
 > > also, it's the wrong solution: I want opaque everything even for windows
 > > larger than display.
 > 
 > The problem is that you're setting the wrong 'them'.  They are defined
 > in the winops module, and the references to them in the winops module
 > use the ones local to the module, not the ones you define in the root
 > module.  I've moved them into the root module so that what you tried
 > will work in the future (I think).
 > 
 > We need to decide a good way to support user variables like this.  It
 > still feels ugly moving vars before the define-module.

But, the only problem is that he used define before trying set!.  I
guess that could become a common mistake, but it's not like it doesn't
work unless the vars are moved outside of the module.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Tue Mar 23 18:23:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA24386
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 18:23:03 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA24383
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 18:23:01 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA22683; Tue, 23 Mar 99 18:19:15 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA21559; Tue, 23 Mar 1999 15:18:24 -0800 (PST)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <qrryaknn7km.fsf@elwha.cs.washington.edu> <m2ogljst12.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Mar 1999 15:18:24 -0800
In-Reply-To: hjstein@bfr.co.il's message of "24 Mar 1999 01:08:57 +0200"
Message-Id: <qrrpv5zn6bj.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> But, the only problem is that he used define before trying set!.  I
> guess that could become a common mistake, but it's not like it doesn't
> work unless the vars are moved outside of the module.

The larger problem, though, is that user-configurable variables should
be interpreted as they are seen to the user, from the root module.  I
have a `scwm-user-var' macro that is used sporadically that I think
does the right thing, but we'd have to use that everywhere we look up a
user-variable for it to be effective and permit moving the variable
definitions back to within the module.

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 23 18:25:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA24447
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 18:25:41 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA24443
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 18:25:38 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA23233; Tue, 23 Mar 99 18:21:52 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Tue, 23 Mar 1999 18:20:16 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Tue, 23 Mar 1999 18:20:16 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id SAA23823;
	Tue, 23 Mar 1999 18:20:10 -0500
To: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <m2r9qfq4v7.fsf@blinky.bfr.co.il> <qrr1zifomeg.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "23 Mar 1999 14:45:43 -0800"
Date: 23 Mar 1999 18:20:10 -0500
Message-Id: <m34snbdc9h.fsf@eho.eaglets.com>
Lines: 22
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrr1zifomeg.fsf@elwha.cs.washington.edu>
>>>> On the subject of "Re: opaque move"
>>>> Sent on 23 Mar 1999 14:45:43 -0800
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> I recently changed opaque-move-percent and opaque-resize-percent to
 >> permit values #t and #f to mean *all* windows (even those bigger than
 >> the screen) and no windows (same as 0).  So
 >> 
 >> (set! opaque-move-percent #t)
 >> 
 >> should do what you want (but I can't test as opaque moves are always
 >> enabled with the constraint solver).

frankly, I don't like this change. it was quite fine before.
it was my stupid mistake to use `define' instead of `set!'


-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
If a train station is a place where a train stops, what's a workstation?

From owner-scwm-discuss@mit.edu  Tue Mar 23 18:51:11 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA24746
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 18:51:11 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA24743
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 18:51:08 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA03817; Tue, 23 Mar 99 18:46:29 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA21584; Tue, 23 Mar 1999 15:46:34 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <m2r9qfq4v7.fsf@blinky.bfr.co.il> <qrr1zifomeg.fsf@elwha.cs.washington.edu> <m34snbdc9h.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Mar 1999 15:46:34 -0800
In-Reply-To: Sam Steingold's message of "23 Mar 1999 18:20:10 -0500"
Message-Id: <qrrhfrbn50l.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> >>>> In message <qrr1zifomeg.fsf@elwha.cs.washington.edu>
> >>>> On the subject of "Re: opaque move"
> >>>> Sent on 23 Mar 1999 14:45:43 -0800
> >>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
>  >> I recently changed opaque-move-percent and opaque-resize-percent to
>  >> permit values #t and #f to mean *all* windows (even those bigger than
>  >> the screen) and no windows (same as 0).  So
>  >> 
>  >> (set! opaque-move-percent #t)
>  >> 
>  >> should do what you want (but I can't test as opaque moves are always
>  >> enabled with the constraint solver).
> 
> frankly, I don't like this change. it was quite fine before.
> it was my stupid mistake to use `define' instead of `set!'

I make no claims that it is the right fix.  Anytime someone makes any
kind of mistake "stupid" or otherwise, we need to figure out how we can
prevent this mistake from happening again.  One way is with this fix,
the other is using scwm-user-var to access the predicates.  Other
possibilities certainly exist, too.  Suggestions?

Bottom line is that people will do this all the time and be confused, so 
we need something better-- a level of abstraction over user-definable
options might be in order.  Maybe we should have a naming convention,
too, like *opaque-move-percent*?

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 23 18:57:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA24818
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 18:57:37 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA24815
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 18:57:34 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA28890; Tue, 23 Mar 99 18:53:48 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA21587; Tue, 23 Mar 1999 15:53:00 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <m2r9qfq4v7.fsf@blinky.bfr.co.il> <qrr1zifomeg.fsf@elwha.cs.washington.edu> <m34snbdc9h.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Mar 1999 15:53:00 -0800
In-Reply-To: Sam Steingold's message of "23 Mar 1999 18:20:10 -0500"
Message-Id: <qrremmfn4pv.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maybe we should have a macro

define-user-var

or

define-scwm-option

that sticks the variable in the root module, switch to *var-name*
convention, and drop scwm-user-var macro for accessing-- then code using 
the variable can just say *var-name* and we only need to mark it as a
user variable at the point of definition.

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 23 19:13:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA25056
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 19:13:42 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA25053
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 19:13:39 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA01445; Tue, 23 Mar 99 19:09:53 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA21634; Tue, 23 Mar 1999 16:09:05 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: [gnu.announce] Needed: conversion from Docbook format to Texinfo
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Mar 1999 16:09:04 -0800
Message-Id: <qrrbthjn3z3.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

This is something we'll benefit from a lot when it happens.

Greg

------- Start of forwarded message -------
From: Richard Stallman <rms@gnu.org>
Newsgroups: gnu.announce
Subject: Needed: conversion from Docbook format to Texinfo
Date: Mon, 22 Mar 1999 02:59:16 -0700 (MST)
Organization: Massachvsetts Institvte of Technology
Message-ID: <gnusenet199903220959.CAA10691@wijiji.santafe.edu>
Reply-To: rms@gnu.org
To: info-gnu@gnu.org

The GNU Project is looking for a volunteer to write a program to
convert Docbook format to Texinfo.  If you would like to do this,
please send me email.

------- End of forwarded message -------

From owner-scwm-discuss@mit.edu  Tue Mar 23 19:23:19 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA25161
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 19:23:19 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA25157
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 19:23:16 -0500
Received: from h246.ozemail2.ozemail.com.au by MIT.EDU with SMTP
	id AA03136; Tue, 23 Mar 99 19:19:28 EST
Received: from bigfoot.com (localhost [127.0.0.1])
	by linux.dcast.ozemail.com.au (8.8.7/8.8.7) with ESMTP id LAA11238
	for <scwm-discuss@mit.edu>; Wed, 24 Mar 1999 11:18:55 +1100
Message-Id: <36F82F6E.849A53C2@bigfoot.com>
Date: Wed, 24 Mar 1999 11:18:54 +1100
From: Chris Bitmead <chris.bitmead@bigfoot.com>
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: en
Mime-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <m2r9qfq4v7.fsf@blinky.bfr.co.il> <qrr1zifomeg.fsf@elwha.cs.washington.edu> <m34snbdc9h.fsf@eho.eaglets.com> <qrrhfrbn50l.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:

> I make no claims that it is the right fix.  Anytime someone makes any
> kind of mistake "stupid" or otherwise, we need to figure out how we can
> prevent this mistake from happening again.  One way is with this fix,
> the other is using scwm-user-var to access the predicates.  Other
> possibilities certainly exist, too.  Suggestions?

>From the point of view of graphical configuration utilities, I would
imagine that some sort of abstraction might be useful. In fact, perhaps
this should be given a great deal of thought. Perhaps some serious data
structures are in order to give as many configuration options as
possible some sort of consistent structure. Like maybe a module-config
object for each module that lists a number of boolean options and
descriptions, a number of enumeration options and descriptions, a number
of string options and descriptions etc.

That way people can write new modules and functionality and have it
cleanly fit into the existing gui configuation program (when it exists),
without changing it.

From owner-scwm-discuss@mit.edu  Tue Mar 23 19:29:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA25260
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 19:29:41 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA25257
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 19:29:38 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA04064; Tue, 23 Mar 99 19:25:52 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA21658; Tue, 23 Mar 1999 16:24:59 -0800 (PST)
To: Chris Bitmead <chris.bitmead@bigfoot.com>
Cc: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <m2r9qfq4v7.fsf@blinky.bfr.co.il> <qrr1zifomeg.fsf@elwha.cs.washington.edu> <m34snbdc9h.fsf@eho.eaglets.com> <qrrhfrbn50l.fsf@elwha.cs.washington.edu> <36F82F6E.849A53C2@bigfoot.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Mar 1999 16:24:59 -0800
In-Reply-To: Chris Bitmead's message of "Wed, 24 Mar 1999 11:18:54 +1100"
Message-Id: <qrr7ls7n38k.fsf@elwha.cs.washington.edu>
Lines: 29
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Chris Bitmead <chris.bitmead@bigfoot.com> writes:

> Greg Badros wrote:
> 
> > I make no claims that it is the right fix.  Anytime someone makes any
> > kind of mistake "stupid" or otherwise, we need to figure out how we can
> > prevent this mistake from happening again.  One way is with this fix,
> > the other is using scwm-user-var to access the predicates.  Other
> > possibilities certainly exist, too.  Suggestions?
> 
> >From the point of view of graphical configuration utilities, I would
> imagine that some sort of abstraction might be useful. In fact, perhaps
> this should be given a great deal of thought. Perhaps some serious data
> structures are in order to give as many configuration options as
> possible some sort of consistent structure. Like maybe a module-config
> object for each module that lists a number of boolean options and
> descriptions, a number of enumeration options and descriptions, a number
> of string options and descriptions etc.
> 
> That way people can write new modules and functionality and have it
> cleanly fit into the existing gui configuation program (when it exists),
> without changing it.

Agreed completely.  I'd love to see some proposals for how this might
look and work.  I think the define-scwm-user-option macro is the place
to start.  That macro could accumulate a list of options that the module 
supports.

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 23 21:19:56 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA26182
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 21:19:56 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA26179
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 21:19:53 -0500
Received: from 209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA28606; Tue, 23 Mar 99 21:15:11 EST
Received: (from root@localhost)
	by 209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id RAA20898;
	Tue, 23 Mar 1999 17:39:26 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: hjstein@bfr.co.il (Harvey J. Stein), scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <qrryaknn7km.fsf@elwha.cs.washington.edu> <m2ogljst12.fsf@blinky.bfr.co.il> <qrrpv5zn6bj.fsf@elwha.cs.washington.edu>
From: root <mstachow@alum.mit.edu>
Date: 23 Mar 1999 17:39:25 -0500
In-Reply-To: Greg Badros's message of "23 Mar 1999 15:18:24 -0800"
Message-Id: <lngn4yqq.fsf@localhost.localdomain>
Lines: 21
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> hjstein@bfr.co.il (Harvey J. Stein) writes:
> 
> > But, the only problem is that he used define before trying set!.  I
> > guess that could become a common mistake, but it's not like it doesn't
> > work unless the vars are moved outside of the module.
> 
> The larger problem, though, is that user-configurable variables should
> be interpreted as they are seen to the user, from the root module.  I
> have a `scwm-user-var' macro that is used sporadically that I think
> does the right thing, but we'd have to use that everywhere we look up a
> user-variable for it to be effective and permit moving the variable
> definitions back to within the module.

I disagree, user variables should live in the modules in which they
are defined. Modularity is good. It's true that this lets users screw
up by `define'ing a user variable instead of `set!'ing it but I don't
think that is a good reason to undermine the module system.

 - Maciej

From owner-scwm-discuss@mit.edu  Tue Mar 23 21:19:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA26177
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 21:19:13 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA26174
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 21:19:10 -0500
Received: from 209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA21619; Tue, 23 Mar 99 21:15:10 EST
Received: (from root@localhost)
	by 209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id RAA20895;
	Tue, 23 Mar 1999 17:37:40 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <m2r9qfq4v7.fsf@blinky.bfr.co.il> <qrr1zifomeg.fsf@elwha.cs.washington.edu> <m34snbdc9h.fsf@eho.eaglets.com> <qrremmfn4pv.fsf@elwha.cs.washington.edu>
From: root <mstachow@alum.mit.edu>
Date: 23 Mar 1999 17:37:38 -0500
In-Reply-To: Greg Badros's message of "23 Mar 1999 15:53:00 -0800"
Message-Id: <n2134ytp.fsf@localhost.localdomain>
Lines: 19
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Maybe we should have a macro
> 
> define-user-var
> 
> or
> 
> define-scwm-option
> 
> that sticks the variable in the root module, switch to *var-name*
> convention, and drop scwm-user-var macro for accessing-- then code using 
> the variable can just say *var-name* and we only need to mark it as a
> user variable at the point of definition.

Sounds fine to me, but why drop it in the root module?

 - Maciej


From owner-scwm-discuss@mit.edu  Tue Mar 23 21:21:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA26227
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 21:21:18 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA26220
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 21:21:12 -0500
Received: from 209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA21942; Tue, 23 Mar 99 21:17:21 EST
Received: (from root@localhost)
	by 209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id RAA20901;
	Tue, 23 Mar 1999 17:40:40 -0500
To: Sam Falkner <samf@central.sun.com>
Cc: Robert Bihlmeyer <robbe@orcus.priv.at>, scwm-discuss@mit.edu
Subject: Re: build problem: libtool --no-reexec
References: <ii7u2vio4zj.fsf@central.sun.com> <wsk8wdd6ab.fsf@orcus.priv.at> <ii7d8212uar.fsf@central.sun.com> <ws1zih1dqo.fsf@orcus.priv.at> <ii7k8w8du14.fsf@central.sun.com>
From: root <mstachow@alum.mit.edu>
Date: 23 Mar 1999 17:40:40 -0500
In-Reply-To: Sam Falkner's message of "23 Mar 1999 09:56:23 -0700"
Message-Id: <k8w74yon.fsf@localhost.localdomain>
Lines: 15
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Falkner <samf@central.sun.com> writes:

> 
> I did two things with respect to libtool.  First I installed libtool
> 1.2, which I believe to be the latest version.  Then, when I get the
> snapshot directory, it comes with two symlinks pointing to nowhere;
> so, i point them at the files in my libtool distribution.  Should I
> have done something other than this?
> 

Whoops, that is a bug in the snapshots. It should definitely be made
with files there rather than links. Is there a way to get gtar to
follow links when creating a tarfile?

 - Maciej

From owner-scwm-discuss@mit.edu  Tue Mar 23 21:49:49 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA26668
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 21:49:49 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA26665
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 21:49:47 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA25924; Tue, 23 Mar 99 21:45:59 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id SAA21769; Tue, 23 Mar 1999 18:45:07 -0800 (PST)
To: root <mstachow@alum.mit.edu>
Cc: Sam Falkner <samf@central.sun.com>, Robert Bihlmeyer <robbe@orcus.priv.at>,
        scwm-discuss@mit.edu
Subject: Re: build problem: libtool --no-reexec
References: <ii7u2vio4zj.fsf@central.sun.com> <wsk8wdd6ab.fsf@orcus.priv.at> <ii7d8212uar.fsf@central.sun.com> <ws1zih1dqo.fsf@orcus.priv.at> <ii7k8w8du14.fsf@central.sun.com> <k8w74yon.fsf@localhost.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Mar 1999 18:45:06 -0800
In-Reply-To: root's message of "23 Mar 1999 17:40:40 -0500"
Message-Id: <qrr1zifmwr1.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

root <mstachow@alum.mit.edu> writes:

> Sam Falkner <samf@central.sun.com> writes:
> 
> > 
> > I did two things with respect to libtool.  First I installed libtool
> > 1.2, which I believe to be the latest version.  Then, when I get the
> > snapshot directory, it comes with two symlinks pointing to nowhere;
> > so, i point them at the files in my libtool distribution.  Should I
> > have done something other than this?
> > 
> 
> Whoops, that is a bug in the snapshots. It should definitely be made
> with files there rather than links. Is there a way to get gtar to
> follow links when creating a tarfile?

-h, but it probably does the wrong thing with internal-pointing symlinks.

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 23 21:53:11 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA26745
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 21:53:11 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA26741
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 21:53:08 -0500
Received: from 209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA03503; Tue, 23 Mar 99 21:48:25 EST
Received: (from mstx@localhost)
	by 209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id SAA21665;
	Tue, 23 Mar 1999 18:12:25 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: Sam Falkner <samf@central.sun.com>, Robert Bihlmeyer <robbe@orcus.priv.at>,
        scwm-discuss@mit.edu
Subject: Re: build problem: libtool --no-reexec
References: <ii7u2vio4zj.fsf@central.sun.com> <wsk8wdd6ab.fsf@orcus.priv.at> <ii7d8212uar.fsf@central.sun.com> <ws1zih1dqo.fsf@orcus.priv.at> <ii7k8w8du14.fsf@central.sun.com> <k8w74yon.fsf@localhost.localdomain> <qrr1zifmwr1.fsf@elwha.cs.washington.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 23 Mar 1999 18:12:23 -0500
In-Reply-To: Greg Badros's message of "23 Mar 1999 18:45:06 -0800"
Message-Id: <m3zp53ajhk.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com>
Lines: 26
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> root <mstachow@alum.mit.edu> writes:
> 
> > Sam Falkner <samf@central.sun.com> writes:
> > 
> > > 
> > > I did two things with respect to libtool.  First I installed libtool
> > > 1.2, which I believe to be the latest version.  Then, when I get the
> > > snapshot directory, it comes with two symlinks pointing to nowhere;
> > > so, i point them at the files in my libtool distribution.  Should I
> > > have done something other than this?
> > > 
> > 
> > Whoops, that is a bug in the snapshots. It should definitely be made
> > with files there rather than links. Is there a way to get gtar to
> > follow links when creating a tarfile?
> 
> -h, but it probably does the wrong thing with internal-pointing symlinks.
> 

Well, we shouldn't have any because CVS won't allow you to check in
links anyway.

 - Maciej


From owner-scwm-discuss@mit.edu  Tue Mar 23 21:57:15 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA26855
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 21:57:15 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA26852
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 21:57:13 -0500
Received: from 209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA27086; Tue, 23 Mar 99 21:53:24 EST
Received: (from mstx@localhost)
	by 209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id SAA21899;
	Tue, 23 Mar 1999 18:16:41 -0500
To: Eli Barzilay <eli@CS.Cornell.EDU>
Cc: scwm-discuss@mit.edu
Subject: Re: A bug in tile.scm
References: <14071.19577.524168.362709@mojave.cs.cornell.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 23 Mar 1999 18:16:40 -0500
In-Reply-To: Eli Barzilay's message of "Tue, 23 Mar 1999 03:10:33 -0500 (EST)"
Message-Id: <m3iubr94pz.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com>
Lines: 8
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Eli Barzilay <eli@CS.Cornell.EDU> writes:

> When tile calls tile-windows it uses #:restack which is not defined
> there.

Now fixed in CVS. Thanks for the bug report.

 - Maciej

From owner-scwm-discuss@mit.edu  Tue Mar 23 22:12:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA27096
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 22:12:13 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA27092
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 22:12:11 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA05945; Tue, 23 Mar 99 22:07:30 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id TAA21800; Tue, 23 Mar 1999 19:07:34 -0800 (PST)
To: root <mstachow@alum.mit.edu>
Cc: hjstein@bfr.co.il (Harvey J. Stein), scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <qrryaknn7km.fsf@elwha.cs.washington.edu> <m2ogljst12.fsf@blinky.bfr.co.il> <qrrpv5zn6bj.fsf@elwha.cs.washington.edu> <lngn4yqq.fsf@localhost.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Mar 1999 19:07:33 -0800
In-Reply-To: root's message of "23 Mar 1999 17:39:25 -0500"
Message-Id: <qrrww07lh56.fsf@elwha.cs.washington.edu>
Lines: 15
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

root <mstachow@alum.mit.edu> writes:

> I disagree, user variables should live in the modules in which they
> are defined. Modularity is good. It's true that this lets users screw
> up by `define'ing a user variable instead of `set!'ing it but I don't
> think that is a good reason to undermine the module system.

Anything that lets users screw up is bad.  I don't see there being a any
benefit to using the module system for user option variables.  If there
are two with the same name, it's a bug that needs fixing.  We should
make it as unlikely as possible that someone will see what seems to be
the wrong behaviour.

Greg


From owner-scwm-discuss@mit.edu  Tue Mar 23 23:33:39 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA27720
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 23:33:39 -0500
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA27717
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 23:33:37 -0500
Received: from netcom14.netcom.com by MIT.EDU with SMTP
	id AA16714; Tue, 23 Mar 99 23:28:53 EST
Received: (from ttn@localhost)
	by mingle.glug.org (8.8.7/8.8.7) id UAA01458;
	Tue, 23 Mar 1999 20:32:14 -0800
X-Authentication-Warning: mingle.glug.org: ttn set sender to ttn@mingle.glug.org using -f
From: thi <ttn@mingle.glug.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14072.27342.30930.181144@mingle.glug.org>
Date: Tue, 23 Mar 1999 20:32:14 -0800 (PST)
To: Greg Badros <gjb@cs.washington.edu>
Cc: root <mstachow@alum.mit.edu>, hjstein@bfr.co.il (Harvey J. Stein),
        scwm-discuss@mit.edu
Subject: Re: opaque move
In-Reply-To: <qrrww07lh56.fsf@elwha.cs.washington.edu>
References: <m2zp54otnj.fsf@blinky.bfr.co.il>
	<m3zp54c5hh.fsf@eho.eaglets.com>
	<qrryaknn7km.fsf@elwha.cs.washington.edu>
	<m2ogljst12.fsf@blinky.bfr.co.il>
	<qrrpv5zn6bj.fsf@elwha.cs.washington.edu>
	<lngn4yqq.fsf@localhost.localdomain>
	<qrrww07lh56.fsf@elwha.cs.washington.edu>
X-Mailer: VM 6.62 under Emacs 20.3.1
Reply-To: ttn@netcom.com
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros writes:

 > Anything that lets users screw up is bad.

i'm guessing you're being absolutist for effect, but don't really
believe this.  otherwise, using a general-purpose language like scheme
is bad, and we shouldn't use scheme.

 > I don't see there being a
 > any benefit to using the module system for user option variables.  If
 > there are two with the same name, it's a bug that needs fixing.  We
 > should make it as unlikely as possible that someone will see what
 > seems to be the wrong behaviour.

probably best to have the mechanism be powerful (if perhaps dangerous)
and then supply access functions (w/ appropriate warnings, etc) for the
casual user.  power users should not have to suffer limited freedoms.

thi

From owner-scwm-discuss@mit.edu  Tue Mar 23 23:51:01 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA28121
	for scwm-discuss-outgoing; Tue, 23 Mar 1999 23:51:01 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA28115
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 23 Mar 1999 23:50:58 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA18651; Tue, 23 Mar 99 23:46:16 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id UAA21876; Tue, 23 Mar 1999 20:46:21 -0800 (PST)
To: ttn@netcom.com
Cc: root <mstachow@alum.mit.edu>, hjstein@bfr.co.il (Harvey J. Stein),
        scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <qrryaknn7km.fsf@elwha.cs.washington.edu> <m2ogljst12.fsf@blinky.bfr.co.il> <qrrpv5zn6bj.fsf@elwha.cs.washington.edu> <lngn4yqq.fsf@localhost.localdomain> <qrrww07lh56.fsf@elwha.cs.washington.edu> <14072.27342.30930.181144@mingle.glug.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Mar 1999 20:46:20 -0800
In-Reply-To: thi's message of "Tue, 23 Mar 1999 20:32:14 -0800 (PST)"
Message-Id: <qrrr9qflckj.fsf@elwha.cs.washington.edu>
Lines: 63
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>  > I don't see there being a
>  > any benefit to using the module system for user option variables.  If
>  > there are two with the same name, it's a bug that needs fixing.  We
>  > should make it as unlikely as possible that someone will see what
>  > seems to be the wrong behaviour.
> 
> probably best to have the mechanism be powerful (if perhaps dangerous)
> and then supply access functions (w/ appropriate warnings, etc) for the
> casual user.  power users should not have to suffer limited freedoms.

The upshot is that abstraction is our friend -- the macro for defining
scwm user options can be changed later if we do want the variables to
all go into the root module, or all into some user-options module.  We
don't need to decide that now... we need to decide what info a
user-option variable needs to have associated with it, and a way to keep 
that extensible.

Maybe something like the below....

Greg


;; scwm-option-variables could ultimately take the place
;; of the doc tools generated `user-options' variable
(define-public scwm-option-variables '())
;;(set! scwm-option-variables '())

;; the setter and getter should be optional
(defmacro-public define-scwm-option (sym docstring value . rest)
  "Define SYM to be a new scwm user option with VALUE as its default value."
  (let ((setter (if (pair? rest) (car rest) #f))
(getter (if (and (pair? rest) (pair? (cdr rest))) (cadr rest) #f)))
    `(let ((answer (define ,sym ,value)))
       (set-object-property! ,sym 'doc ,docstring)
       (if ,setter (set-object-property! ,sym 'setter ,setter))
       (if ,getter (set-object-property! ,sym 'getter ,getter))
       (set! scwm-option-variables (cons ',sym scwm-option-variables))
       answer)))

(define-public (scwm-option-documentation option-var)
  "Return the documentation for VAR."
  (object-property option-var 'doc))

(define-public (scwm-option-setter option-var)
  "Return the setter for VAR."
  (object-property option-var 'setter))

(define-public (scwm-option-getter option-var)
  "Return the getter for VAR."
  (object-property option-var 'getter))

(defmacro-public scwm-option-set! (var value)
  "Set option VAR to VALUE."
  `(let ((s (scwm-option-setter ,var)))
     (if s (s ,value)
 (set! ,var ,value))))

(defmacro-public scwm-option-get (var)
  "Get option VAR's value."
  `(let ((g (scwm-option-getter ,var)))
     (if g (g)
 ,var)))


From owner-scwm-discuss@mit.edu  Wed Mar 24 00:27:51 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id AAA28420
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 00:27:51 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id AAA28415
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 00:27:49 -0500
Received: from gw2.aus.compgen.com by MIT.EDU with SMTP
	id AA16157; Wed, 24 Mar 99 00:23:59 EST
Received: from ozpc92.aus.compgen.com (ozpc92.aus.compgen.com [203.43.78.83])
	by gw2.aus.compgen.com (8.9.1/8.8.7) with ESMTP id QAA00772
	for <scwm-discuss@mit.edu>; Wed, 24 Mar 1999 16:23:06 +1100
Received: (from glenn@localhost)
	by ozpc92.aus.compgen.com (8.9.1/8.9.1) id QAA19101;
	Wed, 24 Mar 1999 16:21:17 +1100
Date: Wed, 24 Mar 1999 16:21:17 +1100
From: Glenn Trigg <glenn@aus.compgen.com>
Message-Id: <199903240521.QAA19101@ozpc92.aus.compgen.com>
X-Mailer: Privtool [V0.90 Beta GT002] (i586-pc-linux-gnu/Motif)
In-Reply-To: <be3a115.36f862a2@aol.com> from "TAAMINATOR@aol.com"
Organization: Computer Generation Inc.
Subject: auto theme menu
To: scwm-discuss@mit.edu
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Here is what I've done so far to produce an automatically generated
menu of all themes found on the theme-path directories.
While working on this I discovered a bug in there-exists? in listops.scm
here is the diff to fix it:

*** listops.scm~        Mon Dec 21 15:03:59 1998
--- listops.scm Wed Mar 24 15:54:03 1999
***************
*** 97,103 ****
    (cond
     ((null? l) #f)
     ((pred (car l)) #t)
!    (else (there-exists? pred (cdr l)))))
  
  (define-public (for-all? l pred)
    "Return true if PRED is true for all elements of L, otherwise false."
--- 97,103 ----
    (cond
     ((null? l) #f)
     ((pred (car l)) #t)
!    (else (there-exists? (cdr l) pred))))
  
  (define-public (for-all? l pred)
    "Return true if PRED is true for all elements of L, otherwise false."

and here is my new code. I suggest that the theme-names function could
live in the themes.scm module, window-theme-menu and global-them-menu
could live in std-menus.scm and I don't know where remove-suffix should
live, maybe base.scm? Anyway here it is...

-----------
(define (remove-suffix str suffix)
  (let ((sufl (string-length suffix))
        (sl (string-length str)))
    (if (and (> sl sufl)
	     (string=? (substring str (- sl sufl) sl) suffix))
	(substring str 0 (- sl sufl)) str)
    ))

(define-public (theme-names)
  (let ((path-items '()))
    (for-each
     (lambda (path)
       (if (and (and (string? path) (file-exists? path))
		(file-is-directory? path))
	   (begin
	     (define dir (opendir path))
	     (let dirloop ((dirent (readdir dir)))
	       (if (string? dirent)
		   (begin
		     (let ((fullpath (string-append path "/"
						    dirent)))
		       (if (and
			    (not (eqv? (string-ref dirent 0) #\.)
				 )
			    (or (and (file-is-directory? fullpath)
				     (file-exists? (string-append fullpath
							       "/theme.scm")))
				(or (has-suffix? fullpath ".tar")
				    (or (has-suffix? fullpath ".tar.gz")
					(has-suffix? fullpath ".tgz")))))
			   (begin
			     (set! dirent (remove-suffix dirent ".tar"))
			     (set! dirent (remove-suffix dirent ".tar.gz"))
			     (set! dirent (remove-suffix dirent ".tgz"))
			     (if (not (there-exists? path-items
						(lambda (x) (string=? dirent x))))
				 (set! path-items
				       (append path-items
					       (list dirent)))
				 #f))
			   #f))
		     (dirloop (readdir dir)))
		   #f))
	     (closedir dir))
	   #f))
     theme-path)
    (sort path-items string<?))
  )

(define window-theme-menu 
  (menu 
   (map (lambda (x) (menuitem x #:action
			      (lambda () (style-one-window
					       (get-window) #:use-theme (load-theme x)))))
	(theme-names))
   ))

(define global-theme-menu 
  (menu 
   (map (lambda (x) (menuitem x #:action
			      (lambda () (window-style "*"
					       #:use-theme (load-theme x)))))
	(theme-names))
   ))
---------------

Glenn

From owner-scwm-discuss@mit.edu  Wed Mar 24 01:18:34 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA28875
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 01:18:34 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA28872
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 01:18:31 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA21756; Wed, 24 Mar 99 01:14:42 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA21946; Tue, 23 Mar 1999 22:13:40 -0800 (PST)
To: Glenn Trigg <glenn@aus.compgen.com>
Cc: scwm-discuss@mit.edu
Subject: Re: auto theme menu
References: <199903240521.QAA19101@ozpc92.aus.compgen.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Mar 1999 22:13:40 -0800
In-Reply-To: Glenn Trigg's message of "Wed, 24 Mar 1999 16:21:17 +1100"
Message-Id: <qrrn213l8iz.fsf@elwha.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Glenn Trigg <glenn@aus.compgen.com> writes:

> Here is what I've done so far to produce an automatically generated
> menu of all themes found on the theme-path directories.
> While working on this I discovered a bug in there-exists? in listops.scm
> here is the diff to fix it:

Great, thanks for the fix.

> and here is my new code. I suggest that the theme-names function could
> live in the themes.scm module, window-theme-menu and global-them-menu
> could live in std-menus.scm and I don't know where remove-suffix should
> live, maybe base.scm? Anyway here it is...

Pretty nifty... I've got it mostly working in my working copy --
somewhere something should cache the themes -- perhaps load-theme should 
cache using a hash from theme names to theme objects, and have an option 
to override the cache value.

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 24 01:26:50 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA29017
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 01:26:50 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA29014
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 01:26:47 -0500
Received: from gw2.aus.compgen.com by MIT.EDU with SMTP
	id AA22489; Wed, 24 Mar 99 01:22:57 EST
Received: from ozpc92.aus.compgen.com (ozpc92.aus.compgen.com [203.43.78.83])
	by gw2.aus.compgen.com (8.9.1/8.8.7) with ESMTP id RAA00821;
	Wed, 24 Mar 1999 17:22:09 +1100
Received: (from glenn@localhost)
	by ozpc92.aus.compgen.com (8.9.1/8.9.1) id RAA19224;
	Wed, 24 Mar 1999 17:20:19 +1100
Date: Wed, 24 Mar 1999 17:20:19 +1100
From: Glenn Trigg <glenn@aus.compgen.com>
Message-Id: <199903240620.RAA19224@ozpc92.aus.compgen.com>
X-Mailer: Privtool [V0.90 Beta GT002] (i586-pc-linux-gnu/Motif)
In-Reply-To: <qrrn213l8iz.fsf@elwha.cs.washington.edu> from "Greg Badros <gjb@cs.washington.edu>"
Organization: Computer Generation Inc.
Subject: Re: auto theme menu
To: gjb@cs.washington.edu
Cc: scwm-discuss@mit.edu
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> said :

> > and here is my new code. I suggest that the theme-names function could
> > live in the themes.scm module, window-theme-menu and global-them-menu
> > could live in std-menus.scm and I don't know where remove-suffix should
> > live, maybe base.scm? Anyway here it is...
> 
> Pretty nifty... I've got it mostly working in my working copy --
> somewhere something should cache the themes -- perhaps load-theme should 
> cache using a hash from theme names to theme objects, and have an option 
> to override the cache value.

Well it depends, if you're working on a theme then it's useful to
have it load each time to pick up changes, otherwise it's not as useful.

Another last minute change I did was to make the menu generation
a lambda eg.

(define window-theme-menu 
  (lambda () (menu
	      (map (lambda (x)
		     (menuitem x #:action
			       (lambda () (style-one-window
					   (get-window) #:use-theme (load-theme x)))))
		   (theme-names))
	      )))

and in the code that uses it:

    (menuitem "Set Decorations" #:action
	      (window-theme-menu))

Then the menu is generated each time you pull up it's parent so it will
automatically show themes that have been added and remove themes that
have been deleted.

Glenn

From owner-scwm-discuss@mit.edu  Wed Mar 24 03:06:50 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA30429
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 03:06:50 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA30426
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 03:06:48 -0500
Received: from 209-122-231-15.s15.tnt4.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA00703; Wed, 24 Mar 99 03:02:47 EST
Received: (from mstx@localhost)
	by 209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id XAA28841;
	Tue, 23 Mar 1999 23:25:47 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: Glenn Trigg <glenn@aus.compgen.com>, scwm-discuss@mit.edu
Subject: Re: auto theme menu
References: <199903240521.QAA19101@ozpc92.aus.compgen.com> <qrrn213l8iz.fsf@elwha.cs.washington.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 23 Mar 1999 23:25:42 -0500
In-Reply-To: Greg Badros's message of "23 Mar 1999 22:13:40 -0800"
Message-Id: <m37ls7bjjt.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com>
Lines: 13
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Glenn Trigg <glenn@aus.compgen.com> writes:
> 
> Pretty nifty... I've got it mostly working in my working copy --
> somewhere something should cache the themes -- perhaps load-theme should 
> cache using a hash from theme names to theme objects, and have an option 
> to override the cache value.

I always meant load-theme to cache based on name. I never implemented
it because it was too useful for initial debugging _not_ to do so. :-)

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Mar 24 03:07:43 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA30496
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 03:07:43 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA30491
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 03:07:41 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA09190; Wed, 24 Mar 99 03:02:57 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id AAA22284; Wed, 24 Mar 1999 00:02:59 -0800 (PST)
To: Glenn Trigg <glenn@aus.compgen.com>
Cc: scwm-discuss@mit.edu
Subject: Re: auto theme menu
References: <199903240620.RAA19224@ozpc92.aus.compgen.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Mar 1999 00:02:59 -0800
In-Reply-To: Glenn Trigg's message of "Wed, 24 Mar 1999 17:20:19 +1100"
Message-Id: <qrrpv5z1fik.fsf@elwha.cs.washington.edu>
Lines: 38
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Glenn Trigg <glenn@aus.compgen.com> writes:

> Well it depends, if you're working on a theme then it's useful to
> have it load each time to pick up changes, otherwise it's not as useful.
> 
> Another last minute change I did was to make the menu generation
> a lambda eg.
> 
> (define window-theme-menu 
>   (lambda () (menu
> 	      (map (lambda (x)
> 		     (menuitem x #:action
> 			       (lambda () (style-one-window
> 					   (get-window) #:use-theme (load-theme x)))))
> 		   (theme-names))
> 	      )))
> 
> and in the code that uses it:
> 
>     (menuitem "Set Decorations" #:action
> 	      (window-theme-menu))
> 
> Then the menu is generated each time you pull up it's parent so it will
> automatically show themes that have been added and remove themes that
> have been deleted.

I think you mean

     (menuitem "Set Decorations" #:action
	      (lambda () (window-theme-menu)))

otherwise you'll just build the menu once when you create the menuitem.

I just committed the changes.

Thanks,
Greg


From owner-scwm-discuss@mit.edu  Wed Mar 24 03:12:47 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA30737
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 03:12:47 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA30733
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 03:12:43 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA01265; Wed, 24 Mar 99 03:08:53 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id AAA22297; Wed, 24 Mar 1999 00:08:03 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Glenn Trigg <glenn@aus.compgen.com>, scwm-discuss@mit.edu
Subject: Re: auto theme menu
References: <199903240521.QAA19101@ozpc92.aus.compgen.com> <qrrn213l8iz.fsf@elwha.cs.washington.edu> <m37ls7bjjt.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Mar 1999 00:08:03 -0800
In-Reply-To: Maciej Stachowiak's message of "23 Mar 1999 23:25:42 -0500"
Message-Id: <qrrlngn1fa4.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > Glenn Trigg <glenn@aus.compgen.com> writes:
> > 
> > Pretty nifty... I've got it mostly working in my working copy --
> > somewhere something should cache the themes -- perhaps load-theme should 
> > cache using a hash from theme names to theme objects, and have an option 
> > to override the cache value.
> 
> I always meant load-theme to cache based on name. I never implemented
> it because it was too useful for initial debugging _not_ to do so. :-)

I added `load-cached-theme' with a force? argument, and use
load-cached-theme from Glenn's menu (though the menu ctr takes the
force? argument, too, so you can choose to not cache from there as well).

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 24 03:21:50 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA31084
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 03:21:50 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA31081
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 03:21:48 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA10606; Wed, 24 Mar 99 03:17:04 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id AAA22304; Wed, 24 Mar 1999 00:17:08 -0800 (PST)
To: Doug McNaught <doug@mcnaught.org>
Cc: scwm-discuss@mit.edu
Subject: Re: Notes on .fvwm2rc translation
References: <m390d5b9h2.fsf@kabuki.leitess.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Mar 1999 00:17:08 -0800
In-Reply-To: Doug McNaught's message of "10 Mar 1999 11:22:33 -0500"
Message-Id: <qrrhfrb1euz.fsf@elwha.cs.washington.edu>
Lines: 6
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Have you had a chance to look at my fvwm2rc-to-scwmrc conversion
framework?  There's still more needed to make it complete, but it does
cover the stuff in my system.fvwm2rc file.  Still plenty of fun stuff
left, though, like handling fvwm2 function arguments, and more....

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 24 03:32:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA31747
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 03:32:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA31743
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 03:32:04 -0500
Received: from 209-122-231-15.s15.tnt4.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA02799; Wed, 24 Mar 99 03:28:12 EST
Received: (from mstx@localhost)
	by 209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id XAA29635;
	Tue, 23 Mar 1999 23:51:36 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: root <mstachow@alum.mit.edu>, hjstein@bfr.co.il (Harvey J. Stein),
        scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <qrryaknn7km.fsf@elwha.cs.washington.edu> <m2ogljst12.fsf@blinky.bfr.co.il> <qrrpv5zn6bj.fsf@elwha.cs.washington.edu> <lngn4yqq.fsf@localhost.localdomain> <qrrww07lh56.fsf@elwha.cs.washington.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 23 Mar 1999 23:51:36 -0500
In-Reply-To: Greg Badros's message of "23 Mar 1999 19:07:33 -0800"
Message-Id: <m3677rbicn.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com>
Lines: 42
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> root <mstachow@alum.mit.edu> writes:
> 
> > I disagree, user variables should live in the modules in which they
> > are defined. Modularity is good. It's true that this lets users screw
> > up by `define'ing a user variable instead of `set!'ing it but I don't
> > think that is a good reason to undermine the module system.
> 
> Anything that lets users screw up is bad. 

I reference the other post that claims you can't mean this literally
:-)

> I don't see there being a any benefit to using the module system
> for user option variables.

Doing otherwise violates the model of the module system the user may
have come to expect from the guile docs (when there are any) or other
guile apps.

Also, I don't think we should assume that it will always even be
possible to force bindings into the user's module.

> If there are two with the same name, it's a bug that needs fixing.
> We should make it as unlikely as possible that someone will see what
> seems to be the wrong behaviour.

I think we should just require that users use `set!' to manipulate
user variables. Let me draw an analogy with Perl, if I may. Think of
`define' not as an assignment, but as declaring a `my'
variable. Viewed this way, the semantics of `define'ing a variable
that is already defined in a module should not be surprising, although
they are unfortunate. I think you can actually get yourself out of
such jams anyway, using `undefine'.

So I'd appreciate it if any user variables now forcibly placed in the
root module would be put back where they belong.

 - Maciej



From owner-scwm-discuss@mit.edu  Wed Mar 24 03:59:53 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA00226
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 03:59:53 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA00223
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 03:59:51 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA04782; Wed, 24 Mar 99 03:55:46 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id JAA28540
	for scwm-discuss@mit.edu; Wed, 24 Mar 1999 09:32:20 +0100 (MET)
Received: (qmail 663 invoked by uid 115); 23 Mar 1999 18:32:17 -0000
To: scwm-discuss@mit.edu
Subject: Re: build problem: libtool --no-reexec
References: <ii7u2vio4zj.fsf@central.sun.com> <wsk8wdd6ab.fsf@orcus.priv.at> <ii7d8212uar.fsf@central.sun.com> <ws1zih1dqo.fsf@orcus.priv.at> <ii7k8w8du14.fsf@central.sun.com>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 23 Mar 1999 19:32:17 +0100
In-Reply-To: Sam Falkner's message of "23 Mar 1999 09:56:23 -0700"
Message-Id: <ws90cojbv2.fsf@orcus.priv.at>
Lines: 23
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 23 Mar 1999 09:56:23 -0700
>>>>> Sam Falkner <samf@central.sun.com> said:

 Sam> I did two things with respect to libtool. First I installed
 Sam> libtool 1.2, which I believe to be the latest version.

I think we're using a beta. But this should not matter ...

 Sam> Then, when I get the snapshot directory, it comes with two
 Sam> symlinks pointing to nowhere;

That means we're distributing broken snapshots again. Grrmbl.

I'll checkin a fix tomorrow, but probably not before the next
snapshot.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Wed Mar 24 04:01:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA00256
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 04:01:33 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA00253
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 04:01:03 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA04910; Wed, 24 Mar 99 03:57:07 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id JAA28542
	for scwm-discuss@mit.edu; Wed, 24 Mar 1999 09:32:21 +0100 (MET)
Received: (qmail 779 invoked by uid 115); 23 Mar 1999 19:37:44 -0000
To: scwm-discuss@mit.edu
Subject: Re: bug in window-style ? escape character and sticky-icons
References: <19990322112310.C16950@youkaidi.irisa.fr> <qrru2vdi2g3.fsf@elwha.cs.washington.edu> <19990323170226.A4798@youkaidi.irisa.fr>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 23 Mar 1999 20:37:43 +0100
In-Reply-To: Hubert Canon's message of "Tue, 23 Mar 1999 17:02:26 +0100"
Message-Id: <ws677sj8u0.fsf@orcus.priv.at>
Lines: 34
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Tue, 23 Mar 1999 17:02:26 +0100
>>>>> Hubert Canon <Hubert.Canon@irisa.fr> said:

 Hubert> Thank you. The title-match?? function is not documented, is
 Hubert> it ?

No. `window-style' has a lot of versatility but very lacking
documentation.

I think the only thing needed in this case is addition of
`define-string-matcher' to the documentation generator ... Greg?

The styles themselves are also undocumented, but this is a bit harder
to fix.

 Hubert> I wonder why "Netscape*" or "*lock" do work, but we
 Hubert> can't escape the "*" special character.

That was a bug in `wildcard-regexp' which I have fixed now (will be in 
CVS tomorrow):

scwm> (wildcard->regexp "*\\*?\\?")
".*\\*.\\?"

At least I think I fixed it, with stuff including strings like
"(\\\\)?\\\\([*?])" you never know.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Wed Mar 24 04:18:04 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA00453
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 04:18:04 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA00450
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 04:18:02 -0500
Received: from 209-122-231-15.s15.tnt4.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA15297; Wed, 24 Mar 99 04:13:17 EST
Received: (from mstx@localhost)
	by 209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id AAA30594;
	Wed, 24 Mar 1999 00:37:31 -0500
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: bug in window-style ? escape character and sticky-icons
References: <19990322112310.C16950@youkaidi.irisa.fr> <qrru2vdi2g3.fsf@elwha.cs.washington.edu> <19990323170226.A4798@youkaidi.irisa.fr> <ws677sj8u0.fsf@orcus.priv.at>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 24 Mar 1999 00:37:30 -0500
In-Reply-To: Robert Bihlmeyer's message of "23 Mar 1999 20:37:43 +0100"
Message-Id: <m3iubr30th.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com>
Lines: 25
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On Tue, 23 Mar 1999 17:02:26 +0100
> >>>>> Hubert Canon <Hubert.Canon@irisa.fr> said:
> 
>  Hubert> Thank you. The title-match?? function is not documented, is
>  Hubert> it ?
> 
> No. `window-style' has a lot of versatility but very lacking
> documentation.
> 

As an aside, you can get all of the styles to be processed as regexps
instead of wildcards by doing

(set! default-matcher-type 'regexp)

Said variable should probably be documented.

Fixing escape handling in the wildcard stuff is also a good thing.

 - Maciej


From owner-scwm-discuss@mit.edu  Wed Mar 24 08:42:58 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id IAA01642
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 08:42:58 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id IAA01639
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 08:42:54 -0500
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA29450; Wed, 24 Mar 99 08:39:01 EST
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id OAA14070
	for <scwm-discuss@mit.edu>; Wed, 24 Mar 1999 14:38:13 +0100 (MET)
Date: Wed, 24 Mar 1999 14:38:12 +0100
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: SCWM Discussion Mailing List <scwm-discuss@mit.edu>
Subject: More bugs
Message-Id: <19990324143812.B8145@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3us
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Hi!

This list seem to be quite active and responsive. Thank you,
guys. Maybe one could I help.

It tried scwm (scwm-0.9) more thoroughly and found some other bugs.

1)
scwm doesn't know about locale or is my configuration broken ? I found
that if I have the environment variable LC_CTYPE set to iso_8859_1
(because some other programs need it) then scwm crashes badly :

[Scwm][main]: <<ERROR>> locale not supported by Xlib, locale set to C

My (ugly) work around is to launch scwm which the command line
'env LC_CTYPE=C scwm -s' and to add the line
(setenv "LC_CTYPE" "iso_8859_1") to my .scwmrc
It works except for the "restart" command :
    (menuitem "Restart scwm"
	      #:action (lambda () (setenv "LC_CTYPE" "C")
			       (restart "scwm")
			       (setenv "LC_CTYPE" "iso_8859_1") ))




2)
The message-window shows the geometry while moving or resizing
windows. Good. But for xterm or emacs I would like that it shows the
geometry in character units, instead of pixel units.

3)
Modules :
I tried FvwmPager and it gives some strange error message :
Error evaling packet: (0 15 "Send_WindowList" 1)
Except that, it works perfectly.

FvwmWinList gives the same error message, so it cannot be laucnhed.

FvwmButtons works perfectly, except that it cannot execute FvwmPager
and swallow it. I have something like that :

(register-fvwm2-module-config
 "FvwmButtons"
 "*FvwmButtonsFore Black"
 "*FvwmButtonsBack Lightsteelblue"
 "*FvwmButtonsFont -adobe-helvetica-medium-r-*-*-8-*-*-*-*-50-iso8859-1"
 "*FvwmButtonsGeometry -1-1"
 "*FvwmButtonsRows 1"
 "*FvwmButtons(4x1) - whatever SwallowModule Exec \"/usr/local/lib/fvwm2/FvwmPager\" /usr/local/lib/fvwm2/FvwmPager 0 0"
 "*FvwmButtons(1x1) xterm /udd/pampa/commun/icones/bouton-xterm.xpm Exec \"XTerm\" xterm-"
 "*FvwmButtons(3x1) - whatever Swallow \"xload\" Exec xload -nolabel"
 "*FvwmButtons(1x1) - whatever Swallow \"rclock\" Exec rclock -bg lightsteelblue -fg black -geometry 30x30-0-0"
 "*FvwmButtons(1x1) - whatever Swallow \"xbiff\" Exec xbiff -geometry 30x30-0-0"
)

And FvwmPager says :
FvwmPager Version 2.0.42 should only be executed by fvwm!

If I don't give the whole path to FvwmPager, it doesn't find it at all
(apparently it doesn't use fvwm2-module-path)


4)
This one appears randomly : sometimes, auto-raise behave
strangely. When the pointer enters a window, sometimes it is raised,
but sometimes it is not raised until the point reaches another
window.

(use-modules (app scwm auto-raise))
(window-style "*" #:auto-raise #t #:auto-raise-delay 400)

Moreover, I use sloppy-focus (one of the features which made me stuck
to fvwm and prevent me to switch to another WM), and the window is
raised even when the pointer is in the root window.

5)
SmartPlacement
I don't know which algorithm is used, but the big windows ( > 600x600 )
sometimes go outside the viewport when they are placed in cascade.

6)
When scwm is restarted, the windows don't take there original places,
so when the decorations come again, there are a bit lower (the height
of the title bar).

7)
Not exactly a bug, but a wish : when the cursor comes over an icon in
fvwm, the title is enlarged to show it entirely when it is longer than
the default width. I would like the same behavior for scwm.

8)
The start-up is very slow : is it possible to pre-compile the modules
in some way, like the .elc of emacs ?





I subscribed the list only some days ago, so I don't know if these
bugs are known or corrected already.


			       
-- 
Hubert Canon

From owner-scwm-discuss@mit.edu  Wed Mar 24 15:19:47 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA03935
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 15:19:47 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA03932
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 15:19:44 -0500
Received: from [209.116.26.126] by MIT.EDU with SMTP
	id AA21188; Wed, 24 Mar 99 15:15:47 EST
Received: (from doug@localhost)
	by kabuki.leitess.com (8.8.7/8.8.7) id PAA32390;
	Wed, 24 Mar 1999 15:14:53 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Notes on .fvwm2rc translation
References: <m390d5b9h2.fsf@kabuki.leitess.com> <qrrhfrb1euz.fsf@elwha.cs.washington.edu>
From: Doug McNaught <doug@mcnaught.org>
Date: 24 Mar 1999 15:14:53 -0500
In-Reply-To: Greg Badros's message of "24 Mar 1999 00:17:08 -0800"
Message-Id: <m3soaupruq.fsf@kabuki.leitess.com>
Lines: 15
X-Mailer: Gnus v5.6.44/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Have you had a chance to look at my fvwm2rc-to-scwmrc conversion
> framework?  There's still more needed to make it complete, but it does
> cover the stuff in my system.fvwm2rc file.  Still plenty of fun stuff
> left, though, like handling fvwm2 function arguments, and more....

I saved it off but haven't played with it yet.  I have a .fvwm2rc
sitting around that's the output of the fvwmm4 AnotherLevel conversion 
stuff--I'll see how well your script copes with that and try to do
some hacking.

-Doug
-- 
Doug McNaught       doug@mcnaught.org     http://www.mcnaught.org/~doug

From owner-scwm-discuss@mit.edu  Wed Mar 24 16:04:28 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA04205
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 16:04:28 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA04202
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 16:04:25 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA19119; Wed, 24 Mar 99 15:59:34 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA23129; Wed, 24 Mar 1999 12:59:38 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: hjstein@bfr.co.il (Harvey J. Stein), scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <qrryaknn7km.fsf@elwha.cs.washington.edu> <m2ogljst12.fsf@blinky.bfr.co.il> <qrrpv5zn6bj.fsf@elwha.cs.washington.edu> <lngn4yqq.fsf@localhost.localdomain> <qrrww07lh56.fsf@elwha.cs.washington.edu> <m3677rbicn.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Mar 1999 12:59:37 -0800
In-Reply-To: Maciej Stachowiak's message of "23 Mar 1999 23:51:36 -0500"
Message-Id: <qrrlngm8uyu.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.MIT.EDU> writes:

> I reference the other post that claims you can't mean this literally
> :-)

Yea, yea, yea.... :-)

<snip>

> I think we should just require that users use `set!' to manipulate
> user variables. Let me draw an analogy with Perl, if I may. Think of
> `define' not as an assignment, but as declaring a `my'
> variable. Viewed this way, the semantics of `define'ing a variable
> that is already defined in a module should not be surprising, although
> they are unfortunate. I think you can actually get yourself out of
> such jams anyway, using `undefine'.
> 
> So I'd appreciate it if any user variables now forcibly placed in the
> root module would be put back where they belong.

I'd already done this for the thing that I changed, but there are lots
of places where things are in the root module for one reason or another
(e.g., overriding the snapshot guile's reset-hook! primitive was the
most recent reason I put a proc before the define-module.).  As I
recall, when you tried to remove several of the hacks a while back,
things broke for a bit.  We should definitely revisit each of those
places, but we need to be careful about making changes.

Greg


From owner-scwm-discuss@mit.edu  Wed Mar 24 16:08:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA04255
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 16:08:07 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA04252
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 16:08:04 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA20365; Wed, 24 Mar 99 16:03:14 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA23155; Wed, 24 Mar 1999 13:03:17 -0800 (PST)
To: Doug McNaught <doug@mcnaught.org>
Cc: scwm-discuss@mit.edu
Subject: Re: Notes on .fvwm2rc translation
References: <m390d5b9h2.fsf@kabuki.leitess.com> <qrrhfrb1euz.fsf@elwha.cs.washington.edu> <m3soaupruq.fsf@kabuki.leitess.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Mar 1999 13:03:17 -0800
In-Reply-To: Doug McNaught's message of "24 Mar 1999 15:14:53 -0500"
Message-Id: <qrrg16u8usq.fsf@elwha.cs.washington.edu>
Lines: 22
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Doug McNaught <doug@mcnaught.org> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > Have you had a chance to look at my fvwm2rc-to-scwmrc conversion
> > framework?  There's still more needed to make it complete, but it does
> > cover the stuff in my system.fvwm2rc file.  Still plenty of fun stuff
> > left, though, like handling fvwm2 function arguments, and more....
> 
> I saved it off but haven't played with it yet.  I have a .fvwm2rc
> sitting around that's the output of the fvwmm4 AnotherLevel conversion 
> stuff--I'll see how well your script copes with that and try to do
> some hacking.

Cool-- that was the next thing I was going to look at (actually I was
going to use the output of TNL 2.0 [my next version of TNL, that I never 
gave to RedHat], but AnotherLevel's output should be pretty close).  

Let me know how it goes.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Wed Mar 24 16:14:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA04337
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 16:14:17 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA04333
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 16:14:14 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA08085; Wed, 24 Mar 99 16:10:18 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA23158; Wed, 24 Mar 1999 13:09:10 -0800 (PST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: bug in window-style ? escape character and sticky-icons
References: <19990322112310.C16950@youkaidi.irisa.fr> <qrru2vdi2g3.fsf@elwha.cs.washington.edu> <19990323170226.A4798@youkaidi.irisa.fr> <ws677sj8u0.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Mar 1999 13:09:10 -0800
In-Reply-To: Robert Bihlmeyer's message of "23 Mar 1999 20:37:43 +0100"
Message-Id: <qrrbthi8uix.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> No. `window-style' has a lot of versatility but very lacking
> documentation.
> 
> I think the only thing needed in this case is addition of
> `define-string-matcher' to the documentation generator ... Greg?
> 
> The styles themselves are also undocumented, but this is a bit harder
> to fix.

I'll see what I can do on all counts.

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 24 16:23:12 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA04439
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 16:23:12 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA04432
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 16:22:41 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA24830; Wed, 24 Mar 99 16:17:45 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA23165; Wed, 24 Mar 1999 13:17:47 -0800 (PST)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@mit.edu>
Subject: Re: More bugs
References: <19990324143812.B8145@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Mar 1999 13:17:47 -0800
In-Reply-To: Hubert Canon's message of "Wed, 24 Mar 1999 14:38:12 +0100"
Message-Id: <qrr90cm8u4k.fsf@elwha.cs.washington.edu>
Lines: 115
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> This list seem to be quite active and responsive. Thank you,
> guys. Maybe one could I help.
> 
> It tried scwm (scwm-0.9) more thoroughly and found some other bugs.
> 
> 1)
> scwm doesn't know about locale or is my configuration broken ? I found
> that if I have the environment variable LC_CTYPE set to iso_8859_1
> (because some other programs need it) then scwm crashes badly :
> 
> [Scwm][main]: <<ERROR>> locale not supported by Xlib, locale set to C

Do you just get this error message and everything else works?  The code
just sets the locale, so your workaround should be unnecessary, and you
can ignore the error.

<snip>
> 2)
> The message-window shows the geometry while moving or resizing
> windows. Good. But for xterm or emacs I would like that it shows the
> geometry in character units, instead of pixel units.

This has been fixed in the repo for a while now-- thanks for noticing, though.

> 3)
> Modules :
> I tried FvwmPager and it gives some strange error message :
> Error evaling packet: (0 15 "Send_WindowList" 1)
> Except that, it works perfectly.
> 
> FvwmWinList gives the same error message, so it cannot be laucnhed.
> 
> FvwmButtons works perfectly, except that it cannot execute FvwmPager
> and swallow it. I have something like that :
> 
> (register-fvwm2-module-config
>  "FvwmButtons"
>  "*FvwmButtonsFore Black"
>  "*FvwmButtonsBack Lightsteelblue"
>  "*FvwmButtonsFont -adobe-helvetica-medium-r-*-*-8-*-*-*-*-50-iso8859-1"
>  "*FvwmButtonsGeometry -1-1"
>  "*FvwmButtonsRows 1"
>  "*FvwmButtons(4x1) - whatever SwallowModule Exec \"/usr/local/lib/fvwm2/FvwmPager\" /usr/local/lib/fvwm2/FvwmPager 0 0"
>  "*FvwmButtons(1x1) xterm /udd/pampa/commun/icones/bouton-xterm.xpm Exec \"XTerm\" xterm-"
>  "*FvwmButtons(3x1) - whatever Swallow \"xload\" Exec xload -nolabel"
>  "*FvwmButtons(1x1) - whatever Swallow \"rclock\" Exec rclock -bg lightsteelblue -fg black -geometry 30x30-0-0"
>  "*FvwmButtons(1x1) - whatever Swallow \"xbiff\" Exec xbiff -geometry 30x30-0-0"
> )
> 
> And FvwmPager says :
> FvwmPager Version 2.0.42 should only be executed by fvwm!
> 
> If I don't give the whole path to FvwmPager, it doesn't find it at all
> (apparently it doesn't use fvwm2-module-path)

Swallowing doesn't yet work, AFAIK.  Anybody looked into this?

> 4)
> This one appears randomly : sometimes, auto-raise behave
> strangely. When the pointer enters a window, sometimes it is raised,
> but sometimes it is not raised until the point reaches another
> window.
> 
> (use-modules (app scwm auto-raise))
> (window-style "*" #:auto-raise #t #:auto-raise-delay 400)
> 
> Moreover, I use sloppy-focus (one of the features which made me stuck
> to fvwm and prevent me to switch to another WM), and the window is
> raised even when the pointer is in the root window.

Not sure about this -- I don't use autoraise.... I'll look into it when
time permits.

> 
> 5)
> SmartPlacement
> I don't know which algorithm is used, but the big windows ( > 600x600 )
> sometimes go outside the viewport when they are placed in cascade.
> 
> 6)
> When scwm is restarted, the windows don't take there original places,
> so when the decorations come again, there are a bit lower (the height
> of the title bar).

We know about restart problems;  we just don't restart scwm enough to
have bothered fixing it yet! :-)  Unlike other wms, you shouldn't need
to cold restart scwm to test changes to your startup files.

> 7)
> Not exactly a bug, but a wish : when the cursor comes over an icon in
> fvwm, the title is enlarged to show it entirely when it is longer than
> the default width. I would like the same behavior for scwm.

I don't use icons, but I thought this did happen at one point.  Do we
have this as an option?

> 8)
> The start-up is very slow : is it possible to pre-compile the modules
> in some way, like the .elc of emacs ?

I just added a --nobacktrace which turns guiles debugging off which may
help marginally.  We'd ultimately like to use guile-unexec to dump an
image with lots of standard modules or use hobbit to compile the modules 
to C, but haven't gotten there yet.

Also, be sure you've got the performance patch to Guile-1.3-- see the
scwm web page.

Thanks for the bug reports!

(We !really! need a bug tracker online!)

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 24 16:31:00 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA04551
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 16:31:00 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA04547
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 16:30:58 -0500
Received: from mermaid.shore.net by MIT.EDU with SMTP
	id AA13748; Wed, 24 Mar 99 16:27:01 EST
Received: from shore.shore.net [192.233.85.136] (uucp)
	by mermaid.shore.net with esmtp (Exim)
	for scwm-discuss@mit.edu
	id 10PvAB-0000Lb-00; Wed, 24 Mar 1999 16:26:11 -0500
Received: from phz-2.UUCP (uucp@localhost)
	by shore.shore.net (8.8.7/8.8.7) with UUCP id QAA27069
	for scwm-discuss@mit.edu; Wed, 24 Mar 1999 16:26:06 -0500 (EST)
Received: from phz-7.phz.com by phz.com (SMI-8.6/SMI-SVR4)
	id QAA17047; Wed, 24 Mar 1999 16:09:20 -0500
Received: by phz-7.phz.com (SMI-8.6/SMI-SVR4)
	id QAA23761; Wed, 24 Mar 1999 16:09:11 -0500
To: scwm-discuss@mit.edu
Subject: Scwm documentation tools
From: Ed Kademan <kademan@phz.com>
Date: 24 Mar 1999 16:09:00 -0500
In-Reply-To: Greg Badros's message of "18 Mar 1999 23:54:55 -0800"
Message-Id: <ulgr9qetx1v.fsf@phz.com>
Lines: 25
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I would appreciate any suggestions on how to convert the scwm
documentation into a readable format such as html.  I am running
Solaris and not Linux.

I got jade and the other associated archives mentioned on the web page
such as docbook, jadetex, stylesheets, and so on, but it is not clear
how to put them together.  (I don't know anything about dsssl.)  The
jade program itself seems to build properly and I get an executable
that apparently works.  But when I try to make the documentation all
it does is dump core.

It may be simply a matter of defining a path variable so that the
program can find supporting directories and files, but which ones?  A
previous post described setting SGML_CATALOG_FILES to

  ./catalog:/usr/lib/sgml/sgml-common.cat:\
  /usr/lib/sgml/docbook.cat:/usr/lib/sgml/nwalsh-modular.cat:\
  /usr/lib/sgml/dsssl.cat:/usr/lib/xemacs-20.4/etc/sgml/CATALOG; 

but I can't find any files with those (base) names among the stuff
that I downloaded.

Thanks for any help.

Ed K.

From owner-scwm-discuss@mit.edu  Wed Mar 24 20:33:19 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA06035
	for scwm-discuss-outgoing; Wed, 24 Mar 1999 20:33:19 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA06031
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 24 Mar 1999 20:33:16 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA07251; Wed, 24 Mar 99 20:29:18 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA25070; Wed, 24 Mar 1999 17:28:27 -0800 (PST)
To: Ed Kademan <kademan@phz.com>
Cc: scwm-discuss@mit.edu
Subject: Re: Scwm documentation tools
References: <ulgr9qetx1v.fsf@phz.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Mar 1999 17:28:27 -0800
In-Reply-To: Ed Kademan's message of "24 Mar 1999 16:09:00 -0500"
Message-Id: <qrr90cm73yc.fsf@elwha.cs.washington.edu>
Lines: 57
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Ed Kademan <kademan@phz.com> writes:

> I would appreciate any suggestions on how to convert the scwm
> documentation into a readable format such as html.  I am running
> Solaris and not Linux.
> 
> I got jade and the other associated archives mentioned on the web page
> such as docbook, jadetex, stylesheets, and so on, but it is not clear
> how to put them together.  (I don't know anything about dsssl.)  The
> jade program itself seems to build properly and I get an executable
> that apparently works.  But when I try to make the documentation all
> it does is dump core.

How, then, does is "apparently work"?  Does it work on some simple test case?

> 
> It may be simply a matter of defining a path variable so that the
> program can find supporting directories and files, but which ones?  A
> previous post described setting SGML_CATALOG_FILES to
> 
>   ./catalog:/usr/lib/sgml/sgml-common.cat:\
>   /usr/lib/sgml/docbook.cat:/usr/lib/sgml/nwalsh-modular.cat:\
>   /usr/lib/sgml/dsssl.cat:/usr/lib/xemacs-20.4/etc/sgml/CATALOG; 

The docbook style sheets at:

http://nwalsh.com/docbook/dsssl/index.html

have a "docbook/catalog" file in the archive.  You can try setting, e.g.,

DOCBOOK_HOME=$HOME/docbook
SGML_CATALOG_FILES=$DOCBOOK_HOME/catalog
export DOCBOOK_HOME SGML_CATALOG_FILES

But it's probably a bigger problem than just this if jade doesn't even
run properly.

> 
> but I can't find any files with those (base) names among the stuff
> that I downloaded.
> 
> Thanks for any help.

You could also try getting the source rpm-s and building from
there... rpm works on Solaris just fine, or you can use rpm2cpio and
then extract yourself, apply patches as appropriate, etc.   It might
just be that you're using a different version of Jade.

If you're just interested in a downloadable package of the scwm
reference manual in html, I just added a link to one to the scwm web
page (under documentation, and also under downloads).

Good luck... please report any successes and how they were achieved in
case others have the some predicament.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Thu Mar 25 03:41:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA10934
	for scwm-discuss-outgoing; Thu, 25 Mar 1999 03:41:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA10925
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Mar 1999 03:41:42 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA03700; Thu, 25 Mar 99 03:37:40 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id AAA25438; Thu, 25 Mar 1999 00:36:51 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Changes since 0.9
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Mar 1999 00:36:51 -0800
Message-Id: <qrr3e2u6k4c.fsf@elwha.cs.washington.edu>
Lines: 96
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I've updated the NEWS file with a list of what's changed since
0.9... FWIW, here it is (probably somewhat incomplete -- but *very*
impressive list of enhancements! NICE WORK EVERYONE!)

Greg

Changes for scwm-0.99.1 (not yet released)

* Lots of documentation improvements, revamp of Scwm web page, 
numerous bug-fixes, code cleanup

* Constraints
** Much improved user-interface
** more accessible via (use-modules (app scwm constraints))
** Uses Cassowary-0.41 or better

* Change resize-window's message window to use client units

* KWM Support
** `kwm-emulation-initialize', `kwm-emulation-reset', `kwm-send-window-list'

* IMLib support as a compile time option (to-replace libXpm, ultimately)

* Themes, Theme Menus (app scwm themes) (app scwm std-menus)
** Various themes in new themes directory
** `theme-names'
** `menu-window-theme', `menu-global-theme', #:use-theme window style option

* Snap attraction (app scwm snap)
** `snap-initialize', `snap-reset'

* ICCCM Group support (app scwm group)
** `group->windows', `interactive-move-group', `lower-group', `raise-group'
** `move-group', `move-group-to-desk', `move-group-relative'

* New window style options
** #:squashed-titlebar, #:no-side-decorations, #:use-theme (see Themes, above)

* New menu style options
** #:hover-delay, #:popup-delay (in ms)

* Better xclients script support
** `run-dot-xclients-at-startup'

* Added menuitem option #:submenu (like #:action) that forces an item to 

be interpreted as a menu item; e.g., lambdas can be used here, they
will be evaluated and then the result is expected to be a menu --
permits very dynamic menus.

* Changed printable format for menu-item objects.

* Added 'frame-corners and 'frame-sides as the supported names for
binding contexts, and deprecate 'corners and 'borders as names for them.

* Session management changes.  Added `SM-register' to register with the SM;
deprecated `SM-client-id'.

* Simple xlib drawing support w/o gtk
** `xlib-draw-arc', `xlib-draw-line!', `xlib-draw-rectangle!', etc.

* Misc. new primitives
** `send-client-message'
** `icon-size'
** `force-reset-window-frame!' -- force redraw of frame
** `select-viewport-position' (returns pointer position and selected window)
** `bind-keycode' -- lower level interface to binding keys, allows
release procs
** `keysym->keycode', `mod-mask-control', `mod-mask-shift'
** `animated-resize-window', `animated-resize-frame'

* Removed primitives
** dangerous and unnecessary `wait-for-window' procedure
** `select-window' is now a proc in base.scm (replaced with `select-viewport-position'

* Misc. changed primitives
** `bind-keycode' allow release procs like new `bind-keycode'

* Misc. new procedures
** `fold-menu-list-by-group', `rename-window-interactively'
** `netscape-goto-url'
** `output-of-system-command', `read-until-eof', `chop-newline'
** `animated-iconify', `animated-deiconify', `animated-toggle-iconify'
** `delete-multiple-windows-interactively'
** `bind-two-modifier-key-events', `bind-three-modifier-key-events'
** `current-viewport-offset-xx', `current-viewport-offset-yy'
** `intersection-area', `rectangle-overlap'
** `window-center-top', `window-center-bottom', etc.

* New hooks
** `window-enter-hook', `window-leave-hook'
** `edge-enter-hook', `edge-leave-hook', `edge-scroll-hook'
** `window-property-change-hook'
** `desk-size-change-hook', `viewport-position-change-hook'
** `close-window-hook'
** `X-MapRequest-hook'

From owner-scwm-discuss@mit.edu  Thu Mar 25 06:28:46 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA12095
	for scwm-discuss-outgoing; Thu, 25 Mar 1999 06:28:46 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id GAA12092
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Mar 1999 06:28:42 -0500
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA07413; Thu, 25 Mar 99 06:23:44 EST
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id MAA03841
	for <scwm-discuss@mit.edu>; Thu, 25 Mar 1999 12:23:50 +0100 (MET)
Date: Thu, 25 Mar 1999 12:23:50 +0100
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@mit.edu
Subject: Re: More bugs
Message-Id: <19990325122349.A18078@youkaidi.irisa.fr>
References: <19990324143812.B8145@youkaidi.irisa.fr> <qrr90cm8u4k.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Mailer: Mutt 0.95.3us
In-Reply-To: <qrr90cm8u4k.fsf@elwha.cs.washington.edu>; from Greg Badros on Wed, Mar 24, 1999 at 01:17:47PM -0800
X-Mime-Autoconverted: from 8bit to quoted-printable by ulla.irisa.fr id MAA03841
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by VICARIOUS-EXISTENCE.MIT.EDU id GAA12093
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros écrivait :
> Hubert Canon <Hubert.Canon@irisa.fr> writes:
> > scwm doesn't know about locale or is my configuration broken ? I found
> > that if I have the environment variable LC_CTYPE set to iso_8859_1
> > (because some other programs need it) then scwm crashes badly :
> > 
> > [Scwm][main]: <<ERROR>> locale not supported by Xlib, locale set to C
> 
> Do you just get this error message and everything else works?  The code
> just sets the locale, so your workaround should be unnecessary, and you
> can ignore the error.

No. It gives an error message and dies.

> > If I don't give the whole path to FvwmPager, it doesn't find it at all
> > (apparently it doesn't use fvwm2-module-path)
> 
> Swallowing doesn't yet work, AFAIK.  Anybody looked into this?

Swallowing does work for everything (xbiff, rclock and xload) but not
for FvwmPager. I suspect it is just a problem of path or configuration
or registration.


-- 
Hubert Canon

From owner-scwm-discuss@mit.edu  Thu Mar 25 06:44:16 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA12216
	for scwm-discuss-outgoing; Thu, 25 Mar 1999 06:44:16 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id GAA12202
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Mar 1999 06:44:13 -0500
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA14049; Thu, 25 Mar 99 06:40:10 EST
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id MAA04023;
	Thu, 25 Mar 1999 12:39:21 +0100 (MET)
Date: Thu, 25 Mar 1999 12:39:20 +0100
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: Sam Steingold <sds@usa.net>
Cc: scwm-discuss@mit.edu
Subject: small bugs in scwm.el
Message-Id: <19990325123920.B18078@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3us
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Hi,

Two small correction about scwm.el :

1) I use frequently scwm-complete-symbol-insert and I was surprised
   not to find it in my *scwm* buffer
2) the completion buffer was named differently that the standard emacs
   one : *completion* instead of *Completion*


Here is the patch :

--- src/Progs/scwm-0.9/utilities/emacs/scwm.el  Thu Dec 17 20:12:47 1998
+++ share/emacs/site-lisp/scwm.el       Thu Mar 25 12:31:07 1999
@@ -206,7 +206,9 @@
   (pop-to-buffer (setq scheme-buffer (make-comint "scwm" scwm-repl)))
   (inferior-scheme-mode)
   (define-key inferior-scheme-mode-map [(control h)]
-    (lookup-key scwm-mode-map [(control h)])))
+    (lookup-key scwm-mode-map [(control h)]))
+  (define-key inferior-scheme-mode-map [(meta tab)]
+    'scwm-complete-symbol-insert) )
 
 ;;; service variables
 (defvar scwm-obarray nil "The obarray for scwm completion.")
@@ -309,7 +311,7 @@
          ((null comp) (message "Cannot complete `%s'" pat) (ding))
          ((not (string= comp pat)) (delete-region beg end) (insert comp))
          (t (message "Making completion list...")
-            (with-output-to-temp-buffer "*completions*"
+            (with-output-to-temp-buffer "*Completions*"
               (display-completion-list (all-completions pat scwm-obarray)))
             (message "Making completion list...done")))))
 

 


 
-- 
Hubert Canon

From owner-scwm-discuss@mit.edu  Thu Mar 25 09:48:14 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA13590
	for scwm-discuss-outgoing; Thu, 25 Mar 1999 09:48:14 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA13587
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Mar 1999 09:48:12 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA06496; Thu, 25 Mar 99 09:43:10 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id PAA23627
	for scwm-discuss@mit.edu; Thu, 25 Mar 1999 15:12:08 +0100 (MET)
Received: (qmail 1754 invoked by uid 115); 24 Mar 1999 09:30:56 -0000
To: scwm-discuss@mit.edu
Subject: Re: bug in window-style ? escape character and sticky-icons
References: <19990322112310.C16950@youkaidi.irisa.fr> <14071.49528.734613.943260@juno>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 24 Mar 1999 10:30:56 +0100
In-Reply-To: Equality 7-2521's message of "Tue, 23 Mar 1999 10:29:44 -0600 (CST)"
Message-Id: <wsogljkze7.fsf@orcus.priv.at>
Lines: 38
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Tue, 23 Mar 1999 10:29:44 -0600 (CST)
>>>>> Equality 7-2521 <beuscher@eecs.tulane.edu> said:

 beuscher> (define (eb-iconify-hook window)
 beuscher>   (toggle-stick window))
 beuscher> (define (eb-deiconify-hook window)
 beuscher>   (toggle-stick window))

Are you sure these hooks are called at all. I get

        0* [eb-iconify-hook #<window 41943054: "xterm login"> #f]

        ERROR: In procedure eb-iconify-hook:
        ERROR: Wrong number of arguments to #<procedure eb-iconify-hook (win)>

in my logs if I try something like that.

The following works for me:

   (define (eb-iconify-hook win tmp)
     (set-object-property! win 'was-sticky (sticky? win))
     (stick win))

   (define (eb-deiconify-hook win tmp)
     (if (object-property win 'was-sticky)
         (stick win)
         (unstick win)))

Windows get deiconified on the current desktop, regardless of how the
deiconify was initiated (winlist, direct action).

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Mar 25 09:47:51 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA13582
	for scwm-discuss-outgoing; Thu, 25 Mar 1999 09:47:51 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA13579
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Mar 1999 09:47:49 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA06340; Thu, 25 Mar 99 09:42:49 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id PAA23639
	for scwm-discuss@mit.edu; Thu, 25 Mar 1999 15:12:13 +0100 (MET)
Received: (qmail 1653 invoked by uid 115); 24 Mar 1999 08:56:27 -0000
To: scwm-discuss@mit.edu
Subject: Re: build problem: libtool --no-reexec
References: <ii7u2vio4zj.fsf@central.sun.com> <wsk8wdd6ab.fsf@orcus.priv.at> <ii7d8212uar.fsf@central.sun.com> <ws1zih1dqo.fsf@orcus.priv.at> <ii7k8w8du14.fsf@central.sun.com> <k8w74yon.fsf@localhost.localdomain> <qrr1zifmwr1.fsf@elwha.cs.washington.edu> <m3zp53ajhk.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 24 Mar 1999 09:56:26 +0100
In-Reply-To: Maciej Stachowiak's message of "23 Mar 1999 18:12:23 -0500"
Message-Id: <wsr9qfl0zp.fsf@orcus.priv.at>
Lines: 18
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 23 Mar 1999 18:12:23 -0500
>>>>> Maciej Stachowiak <mstachow@alum.mit.edu> said:

 Maciej> Well, we shouldn't have any because CVS won't allow you to
 Maciej> check in links anyway.

OTOH, libtool stuff is not in CVS anyway.

But see the fix I'll checkin in about 4 hours: libtoolize can be told
to avoid symlinks.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Mar 25 09:49:20 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA13606
	for scwm-discuss-outgoing; Thu, 25 Mar 1999 09:49:20 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA13603
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Mar 1999 09:49:18 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA06800; Thu, 25 Mar 99 09:44:18 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id PAA23651
	for scwm-discuss@mit.edu; Thu, 25 Mar 1999 15:12:16 +0100 (MET)
Received: (qmail 4196 invoked by uid 115); 24 Mar 1999 10:19:21 -0000
To: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <qrryaknn7km.fsf@elwha.cs.washington.edu> <m2ogljst12.fsf@blinky.bfr.co.il> <qrrpv5zn6bj.fsf@elwha.cs.washington.edu> <lngn4yqq.fsf@localhost.localdomain> <qrrww07lh56.fsf@elwha.cs.washington.edu> <14072.27342.30930.181144@mingle.glug.org> <qrrr9qflckj.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 24 Mar 1999 11:19:20 +0100
In-Reply-To: Greg Badros's message of "23 Mar 1999 20:46:20 -0800"
Message-Id: <wslngnkx5j.fsf@orcus.priv.at>
Lines: 41
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 23 Mar 1999 20:46:20 -0800
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> The upshot is that abstraction is our friend -- the macro for
 Greg> defining scwm user options can be changed later if we do want
 Greg> the variables to all go into the root module, or all into some
 Greg> user-options module.

The point of putting user-vars into the root module was to allow users 
to re`define' them. If you impose the usage of `scwm-option-set!' this 
benefit vanishes and there's no longer any need to put them into the
root module.

Why not take the simple road, leave user-vars in their respective
modules and teach people to use `set!' rather than `define'?

I think the main problem of the current approach is rather that there
is no easy way for the user to see which variable/lambda is there to
be set, and which is there to be used. `interactive-move' and
`move-opaquely?' are both bound to lambdas, but one is clearly
(clearly for us!) there to be used, the other to be set.

If such a hypothetical `user-settable?' predicate is done, one can
easily assemble lists of settable and usable stuff with

        (module-for-each (lambda (sym var)
                           (if (user-settable? sym)
                             ...)
                (resolve-interface '(app scwm winops))))

`user-settable?' could be implemented by adding the symbol to another
list, letting it have some magic token in the docstring (like Emacs),
whatever.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Mar 25 11:34:11 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA14533
	for scwm-discuss-outgoing; Thu, 25 Mar 1999 11:34:11 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA14530
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Mar 1999 11:34:08 -0500
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA11653; Thu, 25 Mar 99 11:30:03 EST
Received: from juno.eecs.tulane.edu (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for <scwm-discuss@mit.edu>
          Thu, 25 Mar 1999 10:28:56 -0600 (CST)
Received:  by juno.eecs.tulane.edu; Thu, 25 Mar 1999 10:28:55 -0600 (CST)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14074.25670.887423.667837@juno>
Date: Thu, 25 Mar 1999 10:28:54 -0600 (CST)
From: Equality 7-2521 <beuscher@eecs.tulane.edu>
To: scwm-discuss@mit.edu
Subject: troubles and questions
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk




after using scwm for a couple of weeks, here are my most annoying
problems i was hoping for thoughts on.
(btw, i was really impressed with the level of functionality i
found when switching from fvwm.    i had expected to give up some
functionality for extensibility, but was very pleasantly
surprised that in one night i essentially had my exact fvwm
setup, but with a much cooler interface to wm functionality.)


i am using:

Scwm Version 0.9 compiled on Mar  4 1999 at 14:49:27
RCS_ID=$Id: scwm.c,v 1.161 1999/01/06 16:00:34 gjb Exp $
Repository Timestamp: Sat Jan  9 16:43:19 EST 1999 -- $Revision: 1.1089 $

Guile 1.3


1. when a window that is styled to have no title-bars is created,
   the rubber-band of the window appears to include the title
   bar.    i see this where placing a window with the rubber-band
   aligned at the bottom of a viewport, is about title-bar height
   above the viewport when finished placing.     also, i have
   xterms set to maximally fill the height of a viewport sans
   title-bar, but when i create one, the rubber-band is larger
   than the viewport, but fits as expected once place (this one
   is particularly annoying as it causes interactive placement
   where smart should work.
   i know fvwm doesnt work this way, but of course that doesnt
   necessarily make it wrong.

2. is there a structured way to interact with the fvwm2 pagers,
   especially wrt to pager colors.   w/ fvwm1.24r, you could set
   stickyfore and stickyback, and the pager would reflect these
   settings.      this appears to be gone in fvwm2 (though i
   havent done an exhaustive search).     i have tried random
   possible names in the module config for the pager w/o success,
   but since they werent listed in the pager man page, this was
   expected

3. on a related note:  is there a standard update method such
   that styles can be updated automatically and dynamically in
   response to user-definable conditions, on a per-window basis.
   Ex.   i like the bg color for sticky windows that arent the
   active window to be a different color.    but i (un)make
   windows sticky on the fly all the time.
   event hooks dont seem quite right for this since for example,
   you might want different sticky colors for different windows.
   Or maybe, the event hook is right if it just tries to access
   an (possibly user-definable) object-property on the current
   window.    hmmmmm 


thanks


-- 
eric

http://www.eecs.tulane.edu/www/Beuscher

From owner-scwm-discuss@mit.edu  Thu Mar 25 12:05:25 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA14754
	for scwm-discuss-outgoing; Thu, 25 Mar 1999 12:05:25 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA14751
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Mar 1999 12:05:20 -0500
Received: from tis.bellhow.com by MIT.EDU with SMTP
	id AA17163; Thu, 25 Mar 99 12:00:19 EST
Received: by tis.bellhow.com; id MAA19834; Thu, 25 Mar 1999 12:00:26 -0500 (EST)
Received: from mailhost.bellhow.com(198.30.176.2) by tis.bellhow.com via smap (4.1)
	id xma019808; Thu, 25 Mar 99 12:00:08 -0500
Received: from bellhow.com (smithd@pcw3089.systems.bellhow.com [192.168.33.217])
	by mailhost.bellhow.com (8.8.8/8.8.8) with ESMTP id MAA19514
	for <scwm-discuss@mit.edu>; Thu, 25 Mar 1999 12:00:08 -0500 (EST)
Message-Id: <36FA6B81.131D6950@bellhow.com>
Date: Thu, 25 Mar 1999 11:59:45 -0500
From: "Dale P. Smith" <smithd@bellhow.com>
Reply-To: smithd@bellhow.com
Organization: Bell & Howell PSC
X-Mailer: Mozilla 4.51 [en] (X11; U; Linux 2.0.29 i686)
X-Accept-Language: en
Mime-Version: 1.0
To: scwm-discuss@mit.edu
Subject: Re: troubles and questions
References: <14074.25670.887423.667837@juno>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

> 2. is there a structured way to interact with the fvwm2 pagers,
>    especially wrt to pager colors.   w/ fvwm1.24r, you could set
>    stickyfore and stickyback, and the pager would reflect these
>    settings.      this appears to be gone in fvwm2 (though i
>    havent done an exhaustive search).     i have tried random
>    possible names in the module config for the pager w/o success,
>    but since they werent listed in the pager man page, this was
>    expected

I too was disappointed in the lack of documentation of FvwmPager
config setting.  I trolled around in the source and this is what
I came up with. The commented out lines are my documentation. Better
than nothing!

(register-fvwm2-module-config "FvwmPager"
    "*FvwmPagerBack #585f58"
    "*FvwmPagerFore black"
    "*FvwmPagerHilight #908070"
    "*FvwmPagerDeskTopScale 24"
    "*FvwmPagerSmallFont 5x8"
    "*FvwmPagerFont none"
    "*FvwmPagerGeometry -0+0"
    "*FvwmPagerLabel 0 Fvwm Pager"

    ;;"*FvwmPagerGeometry geom"
    ;;"*FvwmPagerIconGeometry geom"
    ;;"*FvwmPagerLabel num label"
    ;;"*FvwmPagerFont font|none"
    ;;"*FvwmPagerFore color"
    ;;"*FvwmPagerBack color"
    ;;"*FvwmPagerDeskColor num color"
    ;;"*FvwmPagerHilight color"
    ;;"*FvwmPagerSmallFont font|none"
    ;;"*FvwmPagerMiniIcons"
    ;;"*FvwmPagerStartIconic"
    ;;"*FvwmPagerRows num"
    ;;"*FvwmPagerColumns num"
    ;;"*FvwmPagerDeskTopScale num"
    ;;"*FvwmPagerWindowColors fore back hifore hiback"
    )

Dale









> 
> 3. on a related note:  is there a standard update method such
>    that styles can be updated automatically and dynamically in
>    response to user-definable conditions, on a per-window basis.
>    Ex.   i like the bg color for sticky windows that arent the
>    active window to be a different color.    but i (un)make
>    windows sticky on the fly all the time.
>    event hooks dont seem quite right for this since for example,
>    you might want different sticky colors for different windows.
>    Or maybe, the event hook is right if it just tries to access
>    an (possibly user-definable) object-property on the current
>    window.    hmmmmm
> 
> thanks
> 
> --
> eric
> 
> http://www.eecs.tulane.edu/www/Beuscher

From owner-scwm-discuss@mit.edu  Thu Mar 25 14:35:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA15502
	for scwm-discuss-outgoing; Thu, 25 Mar 1999 14:35:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from mail.eaglets.com ([208.235.77.228])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id OAA15492
	for <scwm-discuss@huis-clos.mit.edu>; Thu, 25 Mar 1999 14:34:46 -0500
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Thu, 25 Mar 1999 14:28:05 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Thu, 25 Mar 1999 14:28:04 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id OAA31018;
	Thu, 25 Mar 1999 14:28:58 -0500
To: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: image-load-path
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 25 Mar 1999 14:28:58 -0500
Message-ID: <m3k8w5fjwl.fsf@eho.eaglets.com>
Lines: 12
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

The following three directories:
        /usr/share/pixmaps/
        /usr/share/icons/
        /usr/share/icons/mini/
seem to be standard on RH.
IMO, they should be in `image-load-path' by default.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Trespassers will be shot.  Survivors will be SHOT AGAIN!

From owner-scwm-discuss@mit.edu  Thu Mar 25 14:57:47 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA15710
	for scwm-discuss-outgoing; Thu, 25 Mar 1999 14:57:47 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA15706
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Mar 1999 14:57:11 -0500
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA09816; Thu, 25 Mar 99 14:52:58 EST
Received: from juno.eecs.tulane.edu (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for <scwm-discuss@mit.edu>
          Thu, 25 Mar 1999 13:52:07 -0600 (CST)
Received:  by juno.eecs.tulane.edu; Thu, 25 Mar 1999 13:52:06 -0600 (CST)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14074.37861.360618.485427@juno>
Date: Thu, 25 Mar 1999 13:52:05 -0600 (CST)
From: Equality 7-2521 <beuscher@eecs.tulane.edu>
To: scwm-discuss@mit.edu
Subject: Re: bug in window-style ? escape character and sticky-icons
In-Reply-To: <14074.25781.813973.862125@juno>
References: <19990322112310.C16950@youkaidi.irisa.fr>
	<14071.49528.734613.943260@juno>
	<wsogljkze7.fsf@orcus.priv.at>
	<14074.25781.813973.862125@juno>
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


> Are you sure these hooks are called at all. I get

good question.    i had assumed so since the functionality
seemed to reflected my changes, but i dont concretely know

> Windows get deiconified on the current desktop, regardless of how the
> deiconify was initiated (winlist, direct action).

yes, but all windows from the winlist are deiconified, even if
they arent iconified.     is there any particular reason for
this?


-- 
eric

http://www.eecs.tulane.edu/www/Beuscher

From owner-scwm-discuss@mit.edu  Thu Mar 25 16:32:10 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA16338
	for scwm-discuss-outgoing; Thu, 25 Mar 1999 16:32:10 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA16335
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Mar 1999 16:32:07 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA02101; Thu, 25 Mar 99 16:27:04 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA26182; Thu, 25 Mar 1999 13:27:03 -0800 (PST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <qrryaknn7km.fsf@elwha.cs.washington.edu> <m2ogljst12.fsf@blinky.bfr.co.il> <qrrpv5zn6bj.fsf@elwha.cs.washington.edu> <lngn4yqq.fsf@localhost.localdomain> <qrrww07lh56.fsf@elwha.cs.washington.edu> <14072.27342.30930.181144@mingle.glug.org> <qrrr9qflckj.fsf@elwha.cs.washington.edu> <wslngnkx5j.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Mar 1999 13:27:02 -0800
In-Reply-To: Robert Bihlmeyer's message of "24 Mar 1999 11:19:20 +0100"
Message-Id: <qrrhfr95kgp.fsf@elwha.cs.washington.edu>
Lines: 66
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

>  Greg> The upshot is that abstraction is our friend -- the macro for
>  Greg> defining scwm user options can be changed later if we do want
>  Greg> the variables to all go into the root module, or all into some
>  Greg> user-options module.
> 
> The point of putting user-vars into the root module was to allow users 
> to re`define' them. If you impose the usage of `scwm-option-set!' this 
> benefit vanishes and there's no longer any need to put them into the
> root module.

I agree for the most part.  I still don't like the possibility of the
value reported in the root module being different from the value used by 
the module.  This is counterintuitive and will happen until we have a
GUI configuration utility that lets us prevent novice schemers from
shooting themselves in the foot.

> 
> Why not take the simple road, leave user-vars in their respective
> modules and teach people to use `set!' rather than `define'?

That's back the way things are now (at least for the stuff I changed
hastily recently).  One problematic aspect of this is that you have to
do, e.g.:

(set! resize-opaquely?
  (lambda (win) 
     #t))

Instead of just

(define (resize-opaquely? win) #t)

(i.e., the procedure defining syntax of define is coupled to the
rebinding semantics).  Another simple syntax could use the nice syntax
with set! for redefining user predicates.

> I think the main problem of the current approach is rather that there
> is no easy way for the user to see which variable/lambda is there to
> be set, and which is there to be used. `interactive-move' and
> `move-opaquely?' are both bound to lambdas, but one is clearly
> (clearly for us!) there to be used, the other to be set.

Well, the doc extractor has long written a file scheme/user-options.scm
that lists all the vars marked up as **VAR, and the preferences menu
tries to use that.  I think it's better to go the route of a macro for
defining user options -- I just committed flux-vars.scm as an example of 
what it might look like (what I posted the other day).
> 
> If such a hypothetical `user-settable?' predicate is done, one can
> easily assemble lists of settable and usable stuff with
> 
>         (module-for-each (lambda (sym var)
>                            (if (user-settable? sym)
>                              ...)
>                 (resolve-interface '(app scwm winops))))
> 
> `user-settable?' could be implemented by adding the symbol to another
> list, letting it have some magic token in the docstring (like Emacs),
> whatever.

Yep, this'd be easy to do when we consistently use a new macro for
defining user options.

Greg

From owner-scwm-discuss@mit.edu  Thu Mar 25 16:50:35 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA16493
	for scwm-discuss-outgoing; Thu, 25 Mar 1999 16:50:35 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA16490
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Mar 1999 16:50:32 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA12686; Thu, 25 Mar 99 16:46:24 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Thu, 25 Mar 1999 16:44:05 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Thu, 25 Mar 1999 16:44:04 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id QAA31498;
	Thu, 25 Mar 1999 16:45:34 -0500
To: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <qrryaknn7km.fsf@elwha.cs.washington.edu> <m2ogljst12.fsf@blinky.bfr.co.il> <qrrpv5zn6bj.fsf@elwha.cs.washington.edu> <lngn4yqq.fsf@localhost.localdomain> <qrrww07lh56.fsf@elwha.cs.washington.edu> <14072.27342.30930.181144@mingle.glug.org> <qrrr9qflckj.fsf@elwha.cs.washington.edu> <wslngnkx5j.fsf@orcus.priv.at> <qrrhfr95kgp.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "25 Mar 1999 13:27:02 -0800"
Date: 25 Mar 1999 16:45:34 -0500
Message-Id: <m3yakldz0h.fsf@eho.eaglets.com>
Lines: 45
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrrhfr95kgp.fsf@elwha.cs.washington.edu>
>>>> On the subject of "Re: opaque move"
>>>> Sent on 25 Mar 1999 13:27:02 -0800
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> Robert Bihlmeyer <robbe@orcus.priv.at> writes:
 >> 
 >> I agree for the most part.  I still don't like the possibility of
 >> the value reported in the root module being different from the value
 >> used by the module.  This is counterintuitive and will happen until
 >> we have a GUI configuration utility that lets us prevent novice
 >> schemers from shooting themselves in the foot.

I wouldn't call myself a novice (well, I am a lisper, so I consider the
problem I encountered a design bug in scheme: I do not expect set! and
define to have different effects on already defined objects :-).

 >> > Why not take the simple road, leave user-vars in their respective
 >> > modules and teach people to use `set!' rather than `define'?
 >> 
 >> That's back the way things are now (at least for the stuff I changed
 >> hastily recently).  One problematic aspect of this is that you have to
 >> do, e.g.:
 >> 
 >> (set! resize-opaquely?
 >>   (lambda (win)
 >>      #t))
 >> 
 >> Instead of just
 >> 
 >> (define (resize-opaquely? win) #t)

this is scheme for you.  (clisp-configurable WM, anyone? :-)
just tell the users that `define' is for their own objects and set! is
for everything system-defined. actually, this will have the added
benefit of making a clear distinction between those and tracking down
the typos:  guile will barf on (set! resize-opackly something) but will
swallow (define resize-opackly something).

I don't like this additional layer of complexity.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Programming is like sex: one mistake and you have to support it for a lifetime.

From owner-scwm-discuss@mit.edu  Thu Mar 25 16:50:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA16486
	for scwm-discuss-outgoing; Thu, 25 Mar 1999 16:50:17 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA16483
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Mar 1999 16:50:15 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA07052; Thu, 25 Mar 99 16:45:11 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA26189; Thu, 25 Mar 1999 13:45:16 -0800 (PST)
To: Maciej Stachowiak <scwm-discuss@mit.edu>
Subject: Re: image-load-path
References: <m3k8w5fjwl.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Mar 1999 13:45:15 -0800
In-Reply-To: Sam Steingold's message of "25 Mar 1999 14:28:58 -0500"
Message-Id: <qrremmd5jmc.fsf@elwha.cs.washington.edu>
Lines: 46
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> The following three directories:
>         /usr/share/pixmaps/
>         /usr/share/icons/
>         /usr/share/icons/mini/
> seem to be standard on RH.
> IMO, they should be in `image-load-path' by default.

Ok, I rewrote the configure.in script to do:

# open the parentheses
scwm_image_load_path="(";

for i in \
   ${x_includes}/X11/bitmaps \
   ${x_includes}/X11/pixmaps \
   ${orig_x_libs}/X11/mini-icons \
   ${includedir}/X11/pixmaps \
   ${includedir}/X11/bitmaps \
   ${libdir}/X11/mini-icons \
   /usr/share/pixmaps \
   /usr/share/icons \
   /usr/share/icons/mini \
; do
   if test -d $i; then
      # add the directory to the list as a string
      scwm_image_load_path="$scwm_image_load_path \\\"$i\\\""
   fi
done

# close the parentheses
scwm_image_load_path="${scwm_image_load_path})";

instead of:

scwm_image_load_path="(\\\"${x_includes}/X11/bitmaps\\\" \
\\\"${x_includes}/X11/pixmaps\\\" \\\"${orig_x_libs}/X11/mini-icons\\\" \
\\\"${includedir}/X11/pixmaps\\\" \\\"${includedir}/X11/bitmaps\\\" \
\\\"${libdir}/X11/mini-icons\\\")"


This means that the default load-path depends on what directories exist when
configure is run (but it's easy enough to change at run-time).

Greg

From owner-scwm-discuss@mit.edu  Thu Mar 25 17:35:43 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA17007
	for scwm-discuss-outgoing; Thu, 25 Mar 1999 17:35:43 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA17004
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Mar 1999 17:35:36 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA25146; Thu, 25 Mar 99 17:31:27 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id XAA20322
	for scwm-discuss@mit.edu; Thu, 25 Mar 1999 23:20:34 +0100 (MET)
Received: (qmail 22432 invoked by uid 115); 25 Mar 1999 21:31:20 -0000
To: SCWM discussion list <scwm-discuss@mit.edu>
Subject: --enable-cflags
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 25 Mar 1999 22:31:20 +0100
Message-Id: <wslngll0if.fsf@orcus.priv.at>
Lines: 17
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

I added an "--enable-cflags=foo" ability to the configure script. It
is useful for me, because I need to specify non-default CFLAGS to my
debug-version of scwm. "CFLAGS=foo ./configure" works at first, but
the CFLAGS are lost when reconfiguring (because, for example, some
Makefile.am changed).

Would this be generally useful? If yes, should I remove
"--enable-warnings", since the functionality is available with
"--enable-cflags", too?

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Mar 25 17:36:50 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA17015
	for scwm-discuss-outgoing; Thu, 25 Mar 1999 17:36:50 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA17012
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Mar 1999 17:36:48 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA25415; Thu, 25 Mar 99 17:32:39 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id XAA20313
	for scwm-discuss@mit.edu; Thu, 25 Mar 1999 23:20:25 +0100 (MET)
Received: (qmail 21831 invoked by uid 115); 25 Mar 1999 20:51:32 -0000
To: scwm-discuss@mit.edu
Subject: Re: troubles and questions
References: <14074.25670.887423.667837@juno>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 25 Mar 1999 21:51:31 +0100
In-Reply-To: Equality 7-2521's message of "Thu, 25 Mar 1999 10:28:54 -0600 (CST)"
Message-Id: <wszp51l2cs.fsf@orcus.priv.at>
Lines: 81
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


--=-=-=

Hi,

>>>>> On Thu, 25 Mar 1999 10:28:54 -0600 (CST)
>>>>> Equality 7-2521 <beuscher@eecs.tulane.edu> said:

 Eric> i had expected to give up some functionality for extensibility,
 Eric> but was very pleasantly surprised that in one night i
 Eric> essentially had my exact fvwm setup, but with a much cooler
 Eric> interface to wm functionality.)

Ahh, that runs down smooth!

 Eric> 1. when a window that is styled to have no title-bars is
 Eric>    created, the rubber-band of the window appears to include
 Eric>    the title bar.

It seems like the no-title window-style is applied after window
placement. The following patch fixes this for me.

(Maciej, is this correct?)


--=-=-=
Content-Type: application/x-patch;
 name=*vc-diff*
Content-Disposition: attachment
Content-Transfer-Encoding: 8bit

Index: scwm/scheme/style.scm
diff -u -u -r1.1.1.10 style.scm
--- style.scm	1999/03/25 16:46:32	1.1.1.10
+++ style.scm	1999/03/25 20:28:37
@@ -193,7 +193,7 @@
 (add-boolean-style-option #:kept-on-top keep-on-top un-keep-on-top)
 (add-boolean-style-option #:sticky stick unstick)
 
-(add-boolean-style-option #:no-titlebar hide-titlebar show-titlebar)
+(add-boolean-hint-option #:no-titlebar hide-titlebar show-titlebar)
 
 ;; GJB:FIXME:: This still needs to force the squashing to take effect
 ;; right now it is delayed until, e.g., the window is resized

--=-=-=


 Eric>    Or maybe, the event hook is right if it just tries to access
 Eric>    an (possibly user-definable) object-property on the current
 Eric>    window. hmmmmm

I think you're on the right way. That's how I would do it, at least:

(define* (set-sticky-bg color #&optional (win (get-window)))
   (set-object-property! win 'sticky-bg color))

(define (match-bg-to-stickyness win prop val oldval)
  (case prop
    (sticky
      (cond
        ((not (equal? val oldval))
          ; now we're sure that it's stickyness and it did really change
          (if (not val)
              (set-window-background! (object-property win 'nonsticky-bg)
                                      win)
            (set-object-property! win 'nonsticky-bg
                                  (cadr (get-window-colors)))
            (set-window-background! (object-property win 'sticky-bg) win)))))))

(add-hook! window-property-change-hook match-bg-to-stickyness)

That's, of course, untested <g>.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

--=-=-=--

From owner-scwm-discuss@mit.edu  Thu Mar 25 17:47:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA17206
	for scwm-discuss-outgoing; Thu, 25 Mar 1999 17:47:59 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA17202
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 25 Mar 1999 17:47:57 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA23131; Thu, 25 Mar 99 17:42:53 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA26270; Thu, 25 Mar 1999 14:42:56 -0800 (PST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: SCWM discussion list <scwm-discuss@mit.edu>
Subject: Re: --enable-cflags
References: <wslngll0if.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Mar 1999 14:42:55 -0800
In-Reply-To: Robert Bihlmeyer's message of "25 Mar 1999 22:31:20 +0100"
Message-Id: <qrrww0542ds.fsf@elwha.cs.washington.edu>
Lines: 22
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> I added an "--enable-cflags=foo" ability to the configure script. It
> is useful for me, because I need to specify non-default CFLAGS to my
> debug-version of scwm. "CFLAGS=foo ./configure" works at first, but
> the CFLAGS are lost when reconfiguring (because, for example, some
> Makefile.am changed).
> 
> Would this be generally useful? If yes, should I remove
> "--enable-warnings", since the functionality is available with
> "--enable-cflags", too?

Yes, it's generally useful, but I'd still like --enable-warnings because 
that could do something smart about interrogating your compiler to
decide what the flags should be to set the appropriate warning level for 
the Scwm source.  (If --enable-cflags had existed, I probably wouldn't
have done --enable-warnings, but now that it's there I think it is
useful in its own right).

This is a nice build feature!  Thanks!

Greg

From owner-scwm-discuss@mit.edu  Fri Mar 26 03:26:43 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA20622
	for scwm-discuss-outgoing; Fri, 26 Mar 1999 03:26:43 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA20619
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 26 Mar 1999 03:26:38 -0500
Received: from 207-172-255-123.s123.tnt2.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA15272; Fri, 26 Mar 99 03:22:25 EST
Received: (from mstx@localhost)
	by 209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id XAA18899;
	Thu, 25 Mar 1999 23:46:06 -0500
To: Equality 7-2521 <beuscher@eecs.tulane.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: troubles and questions
References: <14074.25670.887423.667837@juno>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 25 Mar 1999 23:46:04 -0500
In-Reply-To: Equality 7-2521's message of "Thu, 25 Mar 1999 10:28:54 -0600 (CST)"
Message-Id: <m3iubooo37.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com>
Lines: 55
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Equality 7-2521 <beuscher@eecs.tulane.edu> writes:

> after using scwm for a couple of weeks, here are my most annoying
> problems i was hoping for thoughts on.
> (btw, i was really impressed with the level of functionality i
> found when switching from fvwm.    i had expected to give up some
> functionality for extensibility, but was very pleasantly
> surprised that in one night i essentially had my exact fvwm
> setup, but with a much cooler interface to wm functionality.)

I'm glad the change went smoothly for you.


> 1. when a window that is styled to have no title-bars is created,
>    the rubber-band of the window appears to include the title
>    bar.    i see this where placing a window with the rubber-band
>    aligned at the bottom of a viewport, is about title-bar height
>    above the viewport when finished placing.     also, i have
>    xterms set to maximally fill the height of a viewport sans
>    title-bar, but when i create one, the rubber-band is larger
>    than the viewport, but fits as expected once place (this one
>    is particularly annoying as it causes interactive placement
>    where smart should work.
>    i know fvwm doesnt work this way, but of course that doesnt
>    necessarily make it wrong.

Right now scwm places the window after setting only some of the
styles. I thought about it, and I think there is no particular reason
not to do placement after setting _all_ the other styles. That way,
anything that affects the size of the window frame will be guaranteed
set properly before placement (border width, no-side-borders, etc can
also affect overall size).
 
> 3. on a related note:  is there a standard update method such
>    that styles can be updated automatically and dynamically in
>    response to user-definable conditions, on a per-window basis.
>    Ex.   i like the bg color for sticky windows that arent the
>    active window to be a different color.    but i (un)make
>    windows sticky on the fly all the time.
>    event hooks dont seem quite right for this since for example,
>    you might want different sticky colors for different windows.
>    Or maybe, the event hook is right if it just tries to access
>    an (possibly user-definable) object-property on the current
>    window.    hmmmmm 

You're right that this would be a great feature. I will think about
how to implement it. I think connecting to
`window-property-change-hook' (which I think was added after the 0.9
release) is probably the best way, but there should eb a friendlier
interface to it, perhaps a dynamic-style module or something like
that.

 - Maciej



From owner-scwm-discuss@mit.edu  Fri Mar 26 03:36:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA21513
	for scwm-discuss-outgoing; Fri, 26 Mar 1999 03:36:18 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA21502
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 26 Mar 1999 03:36:15 -0500
Received: from 207-172-255-123.s123.tnt2.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA16035; Fri, 26 Mar 99 03:32:01 EST
Received: (from mstx@localhost)
	by 209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id XAA19126;
	Thu, 25 Mar 1999 23:55:49 -0500
To: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <qrryaknn7km.fsf@elwha.cs.washington.edu> <m2ogljst12.fsf@blinky.bfr.co.il> <qrrpv5zn6bj.fsf@elwha.cs.washington.edu> <lngn4yqq.fsf@localhost.localdomain> <qrrww07lh56.fsf@elwha.cs.washington.edu> <14072.27342.30930.181144@mingle.glug.org> <qrrr9qflckj.fsf@elwha.cs.washington.edu> <wslngnkx5j.fsf@orcus.priv.at> <qrrhfr95kgp.fsf@elwha.cs.washington.edu> <m3yakldz0h.fsf@eho.eaglets.com>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 25 Mar 1999 23:55:47 -0500
In-Reply-To: Sam Steingold's message of "25 Mar 1999 16:45:34 -0500"
Message-Id: <m3hfr8onn0.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com>
Lines: 46
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> >>>> In message <qrrhfr95kgp.fsf@elwha.cs.washington.edu>
> >>>> On the subject of "Re: opaque move"
> >>>> Sent on 25 Mar 1999 13:27:02 -0800
> >>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
>  >> Robert Bihlmeyer <robbe@orcus.priv.at> writes:
>  >> 
>  >> I agree for the most part.  I still don't like the possibility of
>  >> the value reported in the root module being different from the value
>  >> used by the module.  This is counterintuitive and will happen until
>  >> we have a GUI configuration utility that lets us prevent novice
>  >> schemers from shooting themselves in the foot.
> 
> I wouldn't call myself a novice (well, I am a lisper, so I consider the
> problem I encountered a design bug in scheme: I do not expect set! and
> define to have different effects on already defined objects :-).

It's more a Guile issue than a Scheme issue per se, since Scheme has
no standard module system. However, I suspect you would have seen the
same sort of thing if, in Common Lisp, you used a package that defined
a function, and then `defun'd a function of the same name. I haven't
read the spec lately, but I think the newly `defun'd function will be
created in the package you are in, and will shadow the imported one,
although Common Lisp will actually bitch at you that there is a
conflict, I believe. 

Ideally Guile should complain when there is a namespace conflict
rather than silently resolving it. I believe this is part of the
recently posted plan for Godot, the new Guile module system.

> just tell the users that `define' is for their own objects and set! is
> for everything system-defined. actually, this will have the added
> benefit of making a clear distinction between those and tracking down
> the typos:  guile will barf on (set! resize-opackly something) but will
> swallow (define resize-opackly something).

Or more accurately, tell them that `define' is to create something
new, and `set!' is to change something, this is how the forms are
intended to be used.

 - Maciej





From owner-scwm-discuss@mit.edu  Fri Mar 26 08:49:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id IAA24087
	for scwm-discuss-outgoing; Fri, 26 Mar 1999 08:49:38 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id IAA24084
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 26 Mar 1999 08:49:34 -0500
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id IAA02784
	for <scwm-discuss@ph.mit.edu>; Fri, 26 Mar 1999 08:39:13 -0500 (EST)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id IAA24083
	for <scwm-discuss@ph.mit.edu>; Fri, 26 Mar 1999 08:49:26 -0500 (EST)
Message-ID: <36FB8FC8.B4C9DB76@alum.mit.edu>
Date: Fri, 26 Mar 1999 08:46:48 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
MIME-Version: 1.0
To: scwm-discuss@mit.edu
Subject: window-properties
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I've done some work on window-properties recently which I'd like to
describe because I think it provides some nice abstractions which 
should be used pervasively in a lot of places in scwm.

Scheme interface:

Scheme code can use `(set-window-property! WIN SYM VAL)' to set and 
`(window-property WIN SYM)' to read window properties. It can also
connect to `window-property-notify-hook' (args: WIN SYM NEW-VAL OLD-VAL)
to receive notification on property changes.

Window properties are named by symbols. Most properties are just 
stored in an association list attached to the window object and only
really managed by Scheme code. Even at this level, they are very useful
for different pieces of Scheme code to talk to each other. For instance,
the gnome-hints module uses notification on the 'maximized property to
keep the appropriate gnome hint information in sync with the maximization
state.

However, some window properties have special semantics and represent 
internal state managed by C code. So far this has only fully been done for 
the 'sticky and 'squashed-titlebar properties. 


C interface:

C code that wants to manage a particular property should do two things:

* Every time the data the property represents changes, use 
signal_window_property_change

* Use set_property_handler to register getters and setters for the 
property.

Note that set_property_handler does not _necessarily_ have to be called
on startup. This means that dynamically laoded modules can decide to
specially handle particular properties, just as the code C code does.



Note that window-properties can replace many formerly rather ad-hoc things
with a cleaner interface. For instance, `iconify-hook' and `deiconify-hook' 
can be replaced with appropriate code for handling the 'iconified property.
As another example, the need to specially reset the frame after setting the
'squashed-titlebar property has been removed through the use of C-level
property handlers for it.

If we decide this approach is a good way to go, we could even remove
a large number of the setters and predicates now defined in C, and
just use Scheme wrappers for properties where this is particularly 
interesting.

Another benefit this approach can have is in implementing dynamic styles,
i.e. styles that change in response to changes in various bits of window
state. Recent requests along these lines include a request for the ability
to color sticky windows differently and the ability to style windows
differently based on title changes. Other interesting uses for such a
capability would be buttons that appear "pressed in" or otherwise altered
when some piece of window state changes. This is particularly interesting
with maximize buttons though it could be useful for others also.

By adding a dynamic-style module that watches particular window properties
and takes different style actions based on the value changes, all of these
problems could be solved in a uniform and convenient way.

For this to be maximally useful, we need to make sure all interesting pieces
of window state managed by C code are appropriately handled as window 
properties. We also need to make sure that Scheme code storing auxiliary
data about a window uses window-properties rather than obkect-properties
so all the wonderful notification stuff can happen.

I'd appreciate any comments on this.

 - Maciej Stachowiak

PS I know we'd like to get to 1.0 and here I am messing around with this random
other stuff, but I really needed this to properly handle some of the Gnome hints
(it's probably useful for KDE stuff as well) which I think is an important 1.0
goal.

From owner-scwm-discuss@mit.edu  Fri Mar 26 09:28:39 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA24336
	for scwm-discuss-outgoing; Fri, 26 Mar 1999 09:28:39 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA24333
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 26 Mar 1999 09:28:36 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA18625; Fri, 26 Mar 99 09:28:22 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Fri, 26 Mar 1999 09:27:05 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Fri, 26 Mar 1999 09:27:05 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id JAA01652;
	Fri, 26 Mar 1999 09:28:27 -0500
To: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <qrryaknn7km.fsf@elwha.cs.washington.edu> <m2ogljst12.fsf@blinky.bfr.co.il> <qrrpv5zn6bj.fsf@elwha.cs.washington.edu> <lngn4yqq.fsf@localhost.localdomain> <qrrww07lh56.fsf@elwha.cs.washington.edu> <14072.27342.30930.181144@mingle.glug.org> <qrrr9qflckj.fsf@elwha.cs.washington.edu> <wslngnkx5j.fsf@orcus.priv.at> <qrrhfr95kgp.fsf@elwha.cs.washington.edu> <m3yakldz0h.fsf@eho.eaglets.com> <m3hfr8onn0.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Maciej Stachowiak's message of "25 Mar 1999 23:55:47 -0500"
Date: 26 Mar 1999 09:28:27 -0500
Message-Id: <m3n210e35g.fsf@eho.eaglets.com>
Lines: 54
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <m3hfr8onn0.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com>
>>>> On the subject of "Re: opaque move"
>>>> Sent on 25 Mar 1999 23:55:47 -0500
>>>> Honorable Maciej Stachowiak <mstachow@alum.mit.edu> writes:
 >> Sam Steingold <sds@goems.com> writes:
 >> > I wouldn't call myself a novice (well, I am a lisper, so I consider the
 >> > problem I encountered a design bug in scheme: I do not expect set! and
 >> > define to have different effects on already defined objects :-).
 >> 
 >> It's more a Guile issue than a Scheme issue per se, since Scheme has
 >> no standard module system. However, I suspect you would have seen

first, this is an indictment of Scheme as a language unusable for
serious development, second, this is an indictment of Guile as a
misguided implementation.  CL rules! :-)

 >> the same sort of thing if, in Common Lisp, you used a package that
 >> defined a function, and then `defun'd a function of the same name. I
 >> haven't read the spec lately, but I think the newly `defun'd
 >> function will be created in the package you are in, and will shadow
 >> the imported one, although Common Lisp will actually bitch at you
 >> that there is a conflict, I believe.

no, it does what I expect:

USER(1): (defpackage p1 (:use "LISP") (:export "F"))
#<The P1 package>
USER(2): (in-package :p1)
#<The P1 package>
P1(3): (defun f () 1)
f
P1(4): (defpackage p2 (:use "P1" "LISP"))
#<The P2 package>
P1(5): (in-package :p2)
#<The P2 package>
P2(6): (f)
1
P2(7): (p1:f)
1
P2(8): (defun f () 2)
f
P2(9): (f)
2
P2(10): (p1:f)
2

very nice!  (it would have complained if :p2 were a locked package, like
:sys, :lisp, :cl etc).

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
MS: our tomorrow's software will run on your tomorrow's HW at today's speed.

From owner-scwm-discuss@mit.edu  Fri Mar 26 11:32:26 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA25087
	for scwm-discuss-outgoing; Fri, 26 Mar 1999 11:32:26 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA25084
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 26 Mar 1999 11:32:23 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA23622; Fri, 26 Mar 99 11:32:08 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id LAA04884;
	Fri, 26 Mar 1999 11:21:56 -0500 (EST)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id LAA02378;
	Fri, 26 Mar 1999 11:32:08 -0500 (EST)
Message-Id: <36FBB5E9.1FF9B13B@alum.mit.edu>
Date: Fri, 26 Mar 1999 11:29:29 -0500
From: Maciej Stachowiak <mstachow@viewlogic.com>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: sds@goems.com
Cc: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <qrryaknn7km.fsf@elwha.cs.washington.edu> <m2ogljst12.fsf@blinky.bfr.co.il> <qrrpv5zn6bj.fsf@elwha.cs.washington.edu> <lngn4yqq.fsf@localhost.localdomain> <qrrww07lh56.fsf@elwha.cs.washington.edu> <14072.27342.30930.181144@mingle.glug.org> <qrrr9qflckj.fsf@elwha.cs.washington.edu> <wslngnkx5j.fsf@orcus.priv.at> <qrrhfr95kgp.fsf@elwha.cs.washington.edu> <m3yakldz0h.fsf@eho.eaglets.com> <m3hfr8onn0.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <m3n210e35g.fsf@eho.eaglets.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold wrote:
> 
> 
> USER(1): (defpackage p1 (:use "LISP") (:export "F"))
> #<The P1 package>
> USER(2): (in-package :p1)
> #<The P1 package>
> P1(3): (defun f () 1)
> f
> P1(4): (defpackage p2 (:use "P1" "LISP"))
> #<The P2 package>
> P1(5): (in-package :p2)
> #<The P2 package>
> P2(6): (f)
> 1
> P2(7): (p1:f)
> 1
> P2(8): (defun f () 2)
> f
> P2(9): (f)
> 2
> P2(10): (p1:f)
> 2
> 
> very nice!  (it would have complained if :p2 were a locked package, like
> :sys, :lisp, :cl etc).
> 

Really? I would actually consider that a bug. It means that the package
system is not really putting all functions you define into your package;
if a package you use defines a function of the same name, it ends up
there. I would never expect a definition (as opposed to an assignment)
to end up in any package but the one I am currently in. Indeed, this
sounds like f could end up defined in package P1, but be able to
access P2's private symbols. Not very intuitive to me.

 - Maciej

From owner-scwm-discuss@mit.edu  Fri Mar 26 11:45:26 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA25291
	for scwm-discuss-outgoing; Fri, 26 Mar 1999 11:45:26 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA25288
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 26 Mar 1999 11:45:23 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA27695; Fri, 26 Mar 99 11:45:09 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Fri, 26 Mar 1999 11:43:52 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Fri, 26 Mar 1999 11:43:52 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id LAA02225;
	Fri, 26 Mar 1999 11:45:15 -0500
To: scwm-discuss@mit.edu
Subject: Re: opaque move
References: <m2zp54otnj.fsf@blinky.bfr.co.il> <m3zp54c5hh.fsf@eho.eaglets.com> <qrryaknn7km.fsf@elwha.cs.washington.edu> <m2ogljst12.fsf@blinky.bfr.co.il> <qrrpv5zn6bj.fsf@elwha.cs.washington.edu> <lngn4yqq.fsf@localhost.localdomain> <qrrww07lh56.fsf@elwha.cs.washington.edu> <14072.27342.30930.181144@mingle.glug.org> <qrrr9qflckj.fsf@elwha.cs.washington.edu> <wslngnkx5j.fsf@orcus.priv.at> <qrrhfr95kgp.fsf@elwha.cs.washington.edu> <m3yakldz0h.fsf@eho.eaglets.com> <m3hfr8onn0.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <m3n210e35g.fsf@eho.eaglets.com> <36FBB5E9.1FF9B13B@alum.mit.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Maciej Stachowiak's message of "Fri, 26 Mar 1999 11:29:29 -0500"
Date: 26 Mar 1999 11:45:14 -0500
Message-Id: <m3emmcdwth.fsf@eho.eaglets.com>
Lines: 57
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <36FBB5E9.1FF9B13B@alum.mit.edu>
>>>> On the subject of "Re: opaque move"
>>>> Sent on Fri, 26 Mar 1999 11:29:29 -0500
>>>> Honorable Maciej Stachowiak <mstachow@viewlogic.com> writes:
 >> Sam Steingold wrote:
 >> >
 >> >
 >> > USER(1): (defpackage p1 (:use "LISP") (:export "F"))
 >> > #<The P1 package>
 >> > USER(2): (in-package :p1)
 >> > #<The P1 package>
 >> > P1(3): (defun f () 1)
 >> > f
 >> > P1(4): (defpackage p2 (:use "P1" "LISP"))
 >> > #<The P2 package>
 >> > P1(5): (in-package :p2)
 >> > #<The P2 package>
 >> > P2(6): (f)
 >> > 1
 >> > P2(7): (p1:f)
 >> > 1
 >> > P2(8): (defun f () 2)
 >> > f
 >> > P2(9): (f)
 >> > 2
 >> > P2(10): (p1:f)
 >> > 2
 >> >
 >> > very nice!  (it would have complained if :p2 were a locked package, like
 >> > :sys, :lisp, :cl etc).
 >> 
 >> Really? I would actually consider that a bug. It means that the
 >> package system is not really putting all functions you define into
 >> your package; if a package you use defines a function of the same
 >> name, it ends up there. I would never expect a definition (as
 >> opposed to an assignment) to end up in any package but the one I am
 >> currently in. Indeed, this sounds like f could end up defined in
 >> package P1, but be able to access P2's private symbols. Not very
 >> intuitive to me.

perfectly intuitive to me.  when we :use "P1" in :p2, we say, that F in
p2 is the same as F in p1.  Therefore, when I write (defun f ()...) in
p2, I am creating a function definition for the symbol f in p2, which is
the same as the symbol f in p1.  The :export clause in `defpackage'
allows me to control this kind of stuff.

(eq 'f 'p1:f) ==> T

without :export, I would get a read error on 'p1:f and

(eq 'f 'p1::f) ==> NIL

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Even Windows doesn't suck, when you use Common Lisp

From owner-scwm-discuss@mit.edu  Fri Mar 26 13:35:48 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA26556
	for scwm-discuss-outgoing; Fri, 26 Mar 1999 13:35:48 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA26553
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 26 Mar 1999 13:35:45 -0500
Received: from [209.116.26.126] by MIT.EDU with SMTP
	id AA29961; Fri, 26 Mar 99 13:36:24 EST
Received: (from doug@localhost)
	by kabuki.leitess.com (8.8.7/8.8.7) id NAA00769;
	Fri, 26 Mar 1999 13:35:34 -0500
To: scwm-discuss@mit.edu
Subject: Re: window-properties
References: <36FB8FC8.B4C9DB76@alum.mit.edu>
From: Doug McNaught <doug@mcnaught.org>
Date: 26 Mar 1999 13:35:34 -0500
In-Reply-To: Maciej Stachowiak's message of "Fri, 26 Mar 1999 08:46:48 -0500"
Message-Id: <m3vhfo2j61.fsf@kabuki.leitess.com>
Lines: 36
X-Mailer: Gnus v5.6.44/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> I've done some work on window-properties recently which I'd like to
> describe because I think it provides some nice abstractions which 
> should be used pervasively in a lot of places in scwm.

[Snip description]

I like it--it seems a lot more orthogonal and less ad-hoc than the
current setup, both in the get/set interface and in the fact that
there's only one hook to attach to, rather than a bunch of random
ones. 

> Another benefit this approach can have is in implementing dynamic styles,
> i.e. styles that change in response to changes in various bits of window
> state. Recent requests along these lines include a request for the ability
> to color sticky windows differently and the ability to style windows
> differently based on title changes. Other interesting uses for such a
> capability would be buttons that appear "pressed in" or otherwise altered
> when some piece of window state changes. This is particularly interesting
> with maximize buttons though it could be useful for others also.

I think this is important.  Enlightenment can color sticky windows
differently, and we want to me able to do everything E can do ;)

> PS I know we'd like to get to 1.0 and here I am messing around with
> this random other stuff, but I really needed this to properly handle
> some of the Gnome hints (it's probably useful for KDE stuff as well)
> which I think is an important 1.0 goal.

Agreed.  I'm still using Gnome + E on my work machine, mainly because
of the pager integration.

-Doug
-- 
Doug McNaught       doug@mcnaught.org     http://www.mcnaught.org/~doug

From owner-scwm-discuss@mit.edu  Fri Mar 26 16:27:57 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA27347
	for scwm-discuss-outgoing; Fri, 26 Mar 1999 16:27:57 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA27344
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 26 Mar 1999 16:27:16 -0500
Received: from pool02b-194-7-150-228.uunet.be by MIT.EDU with SMTP
	id AA12371; Fri, 26 Mar 99 16:26:53 EST
Received: (qmail 4050 invoked by uid 500); 26 Mar 1999 20:55:12 -0000
From: "Lieven Marchand" <mal@bewoner.dma.be>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Fri, 26 Mar 1999 21:55:12 +0100 (CET)
To: sds@goems.com
Cc: scwm-discuss@mit.edu
Subject: Re: opaque move
In-Reply-To: <m3emmcdwth.fsf@eho.eaglets.com>
References: <m2zp54otnj.fsf@blinky.bfr.co.il>
	<m3zp54c5hh.fsf@eho.eaglets.com>
	<qrryaknn7km.fsf@elwha.cs.washington.edu>
	<m2ogljst12.fsf@blinky.bfr.co.il>
	<qrrpv5zn6bj.fsf@elwha.cs.washington.edu>
	<lngn4yqq.fsf@localhost.localdomain>
	<qrrww07lh56.fsf@elwha.cs.washington.edu>
	<14072.27342.30930.181144@mingle.glug.org>
	<qrrr9qflckj.fsf@elwha.cs.washington.edu>
	<wslngnkx5j.fsf@orcus.priv.at>
	<qrrhfr95kgp.fsf@elwha.cs.washington.edu>
	<m3yakldz0h.fsf@eho.eaglets.com>
	<m3hfr8onn0.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com>
	<m3n210e35g.fsf@eho.eaglets.com>
	<36FBB5E9.1FF9B13B@alum.mit.edu>
	<m3emmcdwth.fsf@eho.eaglets.com>
X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs  Lucid
Message-Id: <14075.62299.249139.507664@localhost.localdomain>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold writes:
 >  >> Really? I would actually consider that a bug. It means that the
 >  >> package system is not really putting all functions you define into
 >  >> your package; if a package you use defines a function of the same
 >  >> name, it ends up there. I would never expect a definition (as
 >  >> opposed to an assignment) to end up in any package but the one I am
 >  >> currently in. Indeed, this sounds like f could end up defined in
 >  >> package P1, but be able to access P2's private symbols. Not very
 >  >> intuitive to me.
 > 
 > perfectly intuitive to me.  when we :use "P1" in :p2, we say, that F in
 > p2 is the same as F in p1.  Therefore, when I write (defun f ()...) in
 > p2, I am creating a function definition for the symbol f in p2, which is
 > the same as the symbol f in p1.  The :export clause in `defpackage'
 > allows me to control this kind of stuff.
 > 
 > (eq 'f 'p1:f) ==> T
 > 
 > without :export, I would get a read error on 'p1:f and
 > 
 > (eq 'f 'p1::f) ==> NIL

I prefer Common Lisp too but perfectly intuitive is perhaps a bit
strong? We seem to have a thread in comp.lang.lisp about every six
months about the difference between the package system and a module
system and usually Kent or one of the other regulars has to explain a
confused beginner that a package is a mapping between names and
objects and not a module.

/signing off on this language flamewar

From owner-scwm-discuss@mit.edu  Fri Mar 26 19:32:11 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA28140
	for scwm-discuss-outgoing; Fri, 26 Mar 1999 19:32:11 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA28137
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 26 Mar 1999 19:32:08 -0500
Received: from 209-122-234-18.s272.tnt5.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA20690; Fri, 26 Mar 99 19:32:46 EST
Received: (from mstx@localhost)
	by 209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id PAA12469;
	Fri, 26 Mar 1999 15:56:05 -0500
To: Doug McNaught <doug@mcnaught.org>
Cc: scwm-discuss@mit.edu
Subject: Re: window-properties
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 26 Mar 1999 15:56:05 -0500
In-Reply-To: Doug McNaught's message of "26 Mar 1999 13:35:34 -0500"
Message-Id: <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com>
Lines: 11
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Doug McNaught <doug@mcnaught.org> writes:

> Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Agreed.  I'm still using Gnome + E on my work machine, mainly because
> of the pager integration.

Scwm already handles the Gnome pager properly, FWIW.

 - Maciej


From owner-scwm-discuss@mit.edu  Sat Mar 27 03:53:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA32207
	for scwm-discuss-outgoing; Sat, 27 Mar 1999 03:53:59 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA32204
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 27 Mar 1999 03:53:56 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA10676; Sat, 27 Mar 99 03:53:34 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id JAA06493
	for scwm-discuss@mit.edu; Sat, 27 Mar 1999 09:43:05 +0100 (MET)
Received: (qmail 1209 invoked by uid 115); 26 Mar 1999 22:42:06 -0000
To: scwm-discuss@mit.edu
Subject: Re: window-properties
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 26 Mar 1999 23:42:05 +0100
In-Reply-To: Doug McNaught's message of "26 Mar 1999 13:35:34 -0500"
Message-Id: <wsaewzg9fm.fsf@orcus.priv.at>
Lines: 34
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 26 Mar 1999 13:35:34 -0500
>>>>> Doug McNaught <doug@mcnaught.org> said:

 Doug> I like it--it seems a lot more orthogonal and less ad-hoc than
 Doug> the current setup, both in the get/set interface and in the
 Doug> fact that there's only one hook to attach to, rather than a
 Doug> bunch of random ones.

OTOH, almost all hook-functions will look like:

(define (foo-hook win prop val oldval)
  (case prop
    (foo ...)))

We could remove the need to write this pattern over and over by adding 
scheme-level sugar.

Hanging too much things on one hook could also lead to performance
problems, too. But let's try this out, it looks certainly cleaner than
the current solution.

 Doug> I'm still using Gnome + E on my work machine, mainly because of
 Doug> the pager integration.

Have you tried a recent snapshot of together with Gnome? Gnome pager
collaborates fine with scwm here.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Sat Mar 27 05:59:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA00302
	for scwm-discuss-outgoing; Sat, 27 Mar 1999 05:59:38 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA00299
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 27 Mar 1999 05:59:35 -0500
Received: from 209-122-231-166.s166.tnt4.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA11380; Sat, 27 Mar 99 06:00:09 EST
Received: (from mstx@localhost)
	by 209-122-231-166.s166.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id CAA27387;
	Sat, 27 Mar 1999 02:24:01 -0500
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: window-properties
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <wsaewzg9fm.fsf@orcus.priv.at>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 27 Mar 1999 02:23:59 -0500
In-Reply-To: Robert Bihlmeyer's message of "26 Mar 1999 23:42:05 +0100"
Message-Id: <m3aewz5rao.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com>
Lines: 40
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 26 Mar 1999 13:35:34 -0500
> >>>>> Doug McNaught <doug@mcnaught.org> said:
> 
>  Doug> I like it--it seems a lot more orthogonal and less ad-hoc than
>  Doug> the current setup, both in the get/set interface and in the
>  Doug> fact that there's only one hook to attach to, rather than a
>  Doug> bunch of random ones.
> 
> OTOH, almost all hook-functions will look like:
> 
> (define (foo-hook win prop val oldval)
>   (case prop
>     (foo ...)))
> 
> We could remove the need to write this pattern over and over by adding 
> scheme-level sugar.
> 
> Hanging too much things on one hook could also lead to performance
> problems, too. But let's try this out, it looks certainly cleaner than
> the current solution.

Well, my thought was that versions of Guile from the next official
release on will support hooks as first-class objects. At that point,
window-property-change-hook could be made into a procedure that, when
given no arguments, will return the current generic hook, and when
called with a property name as an argument, will return a hook that
will only get invoked on changes of that property. Using hash tables
this can be made reasonably fast. This way, you could use a
property-specific hook for performance/convenience, or the generic one
if you truly need that.

And the changes to implement this could all live in winprop.c as long
as other C code follows the provided interfaces.

 - Maciej


From owner-scwm-discuss@mit.edu  Sun Mar 28 03:44:22 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA08537
	for scwm-discuss-outgoing; Sun, 28 Mar 1999 03:44:22 -0500
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA08534
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Mar 1999 03:44:19 -0500
Received: from SIMON.CS.CORNELL.EDU by MIT.EDU with SMTP
	id AA14774; Sun, 28 Mar 99 03:44:43 EST
Received: from cloyd.cs.cornell.edu (CLOYD.CS.CORNELL.EDU [128.84.227.15])
	by simon.cs.cornell.edu (8.9.3/8.9.3/R-2.2) with ESMTP id DAA06327
	for <scwm-discuss@mit.edu>; Sun, 28 Mar 1999 03:43:49 -0500 (EST)
Received: from mojave.cs.cornell.edu (IDENT:eli@MOJAVE.CS.CORNELL.EDU [128.84.248.55])
	by cloyd.cs.cornell.edu (8.9.3/8.9.3/M-2.1) with ESMTP id DAA25983
	for <scwm-discuss@mit.edu>; Sun, 28 Mar 1999 03:43:48 -0500 (EST)
Received: (from eli@localhost)
	by mojave.cs.cornell.edu (8.8.7/8.8.8/LX-1.2) id DAA24626;
	Sun, 28 Mar 1999 03:43:48 -0500
X-Authentication-Warning: mojave.cs.cornell.edu: eli set sender to eli@mojave.cs.cornell.edu using -f
From: Eli Barzilay <eli@CS.Cornell.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14077.60356.49642.510261@mojave.cs.cornell.edu>
Date: Sun, 28 Mar 1999 03:43:48 -0500 (EST)
To: scwm-discuss@mit.edu
Subject: Several unrelated things.
X-Mailer: VM 6.70 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I wrote some code that makes it possible to slide windows off the
screen (similar to fvwm's taskbar) - I don't remember if anyone did
something like this before but it might be useful - it works quite
well, you can make any window slide off any edge so when you hit it at
the same place it will slide back and go back out when it loses focus,
or even have one-time only sliding.  Also, with a little timing things
it works much more stable than the fvwm taskbar.  If anyone is
interested I'll send it.

When I was doing this I encountered several things:

The edge-enter/leave-hook hooks are being called with the wrong symbol
for the left/right edges.

The fourth argument to animated-move-window has a wrong default value
so it must always be called.

I really tried to look around but couldn't find anywhere a way to test
whether a window object is valid or not.  All I found was ensure_valid
in window.c but there is no Scheme function bound to it.

BTW, in binding.c, line 803 there is an extra quote that makes
scwm-procedures.txt look bad in emacs with font-lock.
-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
         http://www.cs.cornell.edu/eli/meaning.html        Maze is Life!

From owner-scwm-discuss@mit.edu  Sun Mar 28 05:24:51 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA09311
	for scwm-discuss-outgoing; Sun, 28 Mar 1999 05:24:51 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA09308
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Mar 1999 05:24:49 -0500
Received: from dialup-t1-36.Melbourne.netspace.net.au by MIT.EDU with SMTP
	id AA00602; Sun, 28 Mar 99 05:24:05 EST
Received: from localhost (6694 bytes) by zappa.
	via sendmail with P:stdio/R:internet_hosts/T:smtp
	(sender: <ggt>) (ident <ggt> using unix)
	id <m10RCjM-002Sy5C@zappa.>
	for <scwm-discuss@mit.edu>; Sun, 28 Mar 1999 20:23:48 +1000 (EST)
	(Smail-3.2.0.101 1997-Dec-17 #1 built 1998-Aug-25)
Message-Id: <m10RCjM-002Sy5C@zappa.>
Date: Sun, 28 Mar 1999 20:23:48 +1000 (EST)
From: ggt@netspace.net.au (Glenn Trigg)
X-Mailer: Privtool [V0.90 Beta GT002] (i586-pc-linux-gnu/Motif)
Subject: ScwmBiff & new simplebiff
To: scwm-discuss@mit.edu
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I have a first version of ScwmBiff going. It only takes two
pixmaps at the moment, a "passive" pixmap & an "active" pixmap
(I.e mail & new-mail pixmaps). The changes to simplebiff allow it
to control ScwmBiff. Here's some example code from my .scwmrc...

;; Start biff stuff
(define guibiff (run-ScwmBiff "mini-mail.xpm" "mini-newmail.xpm"
			      #:action "privtool"))
(define biff (simplebiff #:activate-proc (lambda () (activate-ScwmBiff guibiff))
			 #:deactivate-proc (lambda () (deactivate-ScwmBiff guibiff))))

I've been trying to get ScwmButtons to act as a parent for ScwmBiff
(& ScwmClock), but haven't had any joy so far - my current attempts
simply crash the whole window manager.

Speaking of crashes, has anyone noticed some unstable behaviour when
using the Gimp? I've had some situations both at home & at work where
the window manager has crashed while using the Gimp.

Anyway here's ScwmBiff & simplebiff...

------------ScwmBiff----------
;;;; -*-scwm-*-
;;;; $Id: $
;;;; Copyright (C) 1999 Glenn Trigg
;;;; 
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2, or (at your option)
;;;; any later version.
;;;; 
;;;; This program is distributed in the hope that it will be useful,
;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;;; GNU General Public License for more details.
;;;; 
;;;; You should have received a copy of the GNU General Public License
;;;; along with this software; see the file COPYING.  If not, write to
;;;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
;;;; Boston, MA 02111-1307 USA
;;;;


(define-module (app scwm ScwmBiff)
  :use-module (app scwm base)
  :use-module (app scwm file)
  :use-module (app scwm gtk)
  :use-module (gtk gtk)
  :use-module (gtk gdk)
  :use-module (app scwm optargs))

(define*-public
  (run-ScwmBiff passive-icon-name active-icon-name #&key
		(action noop)
		(parent #f)
		(name "ScwmBiff"))
  (let* ((button (gtk-button-new))
	 (passive-image #f)
	 (active-image #f)
	 )
    (if (not parent)
	(begin
	  (define toplevel (gtk-window-new 'toplevel))
	  (gtk-window-set-title toplevel name)
	  (gtk-window-set-wmclass toplevel name "Scwm")))
    (define imagepath (find-file-in-path passive-icon-name image-load-path))
    (if (string? imagepath)
	(begin
	  (set! passive-image (gtk-pixmap-new imagepath button))
	  (gtk-widget-show passive-image)
	  (gtk-container-add button passive-image))
	(error "Couldn't load passive image."))
    (set! imagepath (find-file-in-path active-icon-name image-load-path))
    (if (string? imagepath)
	(begin
	  (set! active-image (gtk-pixmap-new imagepath button))
	  (gtk-widget-show active-image))
	(error "Couldn't load active image."))
    (if (string? action)	;; permit "xterm" to mean (execute "xterm")
	(let ((program-name action))
	  (set! action (lambda () (execute program-name)))))
    (gtk-signal-connect button "clicked" action)
    (gtk-widget-show button)
    (if (not parent)
	(begin
	  (gtk-container-add toplevel button)
	  (gtk-widget-show toplevel))
	(gtk-box-pack-start parent button))
    (lambda (action)
      (case action
	((quit)
	 (if (not (gtk-object-destroyed toplevel))
	     (begin (gtk-widget-unmap toplevel)
		    (gtk-widget-destroy toplevel))))
	((go-active)
	 (beep)
	 (gtk-container-remove button passive-image)
	 (gtk-container-add button active-image))
	((go-passive)
	 (gtk-container-remove button active-image)
	 (gtk-container-add button passive-image))
	((test)
	 (display active-image) (display passive-image) (newline)))
	)))

(define-public (close-ScwmBiff sb)
  (sb 'quit))

(define-public (activate-ScwmBiff sb)
  (sb 'go-active))

(define-public (deactivate-ScwmBiff sb)
  (sb 'go-passive))
--------------simplebiff-----------
;;;; -*-scwm-*-
;;;; $Id: $
;;;; Copyright (C) 1999 Glenn Trigg
;;;; 
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2, or (at your option)
;;;; any later version.
;;;; 
;;;; This program is distributed in the hope that it will be useful,
;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;;; GNU General Public License for more details.
;;;; 
;;;; You should have received a copy of the GNU General Public License
;;;; along with this software; see the file COPYING.  If not, write to
;;;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
;;;; Boston, MA 02111-1307 USA
;;;;
;;;   Usage:
;;;
;;; (use-modules (app scwm simplebiff))
;;;
;;; (simplebiff)	;; Default mail dir (/var/spool/mail) & username
;;;
;;; (simplebiff #:mail-spool-dir "/var/mail")	;; A different spool dir
;;;
;;; (simplebiff #:username "aligator")		;; A different user
;;;
;;; (simplebiff #:check-interval)	;; A different check interval
;;;					;; (default is 10s)
;;;
;;; Or any combination of the above.
;;;
;;; Current bugs:
;;;   - Will crash if the resultant mail file is non-existant.

(define-module (app scwm simplebiff)
  :use-module (app scwm optargs))

(define-public mailfile "")
(define-public mail-file-time 0)
(define-public mail-file-size 0)

(define*-public
  (simplebiff #&key (mail-spool-dir "/var/spool/mail")
	      (username (getenv "USER"))
	      (activate-proc beep)
	      (deactivate-proc noop)
	      (check-interval 10))
  (let* ((mailfile (string-append mail-spool-dir "/" username))
	 (mail-file-time (stat:mtime (stat mailfile)))
	 (mail-file-size (stat:size (stat mailfile))))
    (letrec ((handle #f)
	     (check-mail-file 
	      (lambda ()
		(let* ((newtime (stat:mtime (stat mailfile)))
		       (newsize (stat:size (stat mailfile))))
		  (cond ((and (> newtime mail-file-time)
			      (> newsize mail-file-size))
			 (activate-proc))
			((and (> newtime mail-file-time)
			      (<= newsize mail-file-size))
			 (deactivate-proc)))
		  (set! mail-file-time newtime)
		  (set! mail-file-size newsize)
		  (set! handle (add-timer-hook! (* 1000000 check-interval)
						check-mail-file)))))
	     (remove-hook (lambda () 
			    (if handle (remove-timer-hook! handle)))))
      (check-mail-file)
      (lambda ()
	(remove-hook))
      )))

(define-public (stop-simplebiff sb)
  (sb))
--------------------------
Glenn

From owner-scwm-discuss@mit.edu  Sun Mar 28 10:31:23 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA10633
	for scwm-discuss-outgoing; Sun, 28 Mar 1999 10:31:23 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA10630
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Mar 1999 10:31:20 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA02234; Sun, 28 Mar 99 10:31:40 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id RAA11040
	for scwm-discuss@mit.edu; Sun, 28 Mar 1999 17:14:28 +0200 (MET DST)
Received: (qmail 1187 invoked by uid 115); 28 Mar 1999 10:34:33 -0000
To: scwm-discuss@mit.edu
Subject: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 28 Mar 1999 12:34:33 +0200
In-Reply-To: Maciej Stachowiak's message of "26 Mar 1999 15:56:05 -0500"
Message-Id: <wsaewxq4w6.fsf_-_@orcus.priv.at>
Lines: 61
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


--=-=-=

Hi,

>>>>> On 26 Mar 1999 15:56:05 -0500
>>>>> Maciej Stachowiak <mstachow@alum.mit.edu> said:

 Maciej> Scwm already handles the Gnome pager properly, FWIW.

Yeah. Although I had to jump through quite some loops to make it work.
Most of the necessities should be checked in by now.

I beg anyone having Gnome on their machine, or the urge to install it,
to try it with Scwm. Just add & select Scwm in the "Window Manager"
settings. This will greatly help us stamp out Gnome+Scwm bugs before
1.0.

I have one remaining problem, namely that the panel vanishes under
Scwm. This is due to the panel setting itself "window-shaded" for some 
peculiar reason. If you experience this, *please* report that here,
and try the following patch.


--=-=-=
Content-Type: application/x-patch;
 name=*vc-diff*
Content-Disposition: attachment
Content-Transfer-Encoding: 8bit

Index: gnome-hints.scm
===================================================================
RCS file: /usr/src/cvs/scwm/scheme/gnome-hints.scm,v
retrieving revision 1.1.1.1
diff -u -u -r1.1.1.1 gnome-hints.scm
--- gnome-hints.scm	1999/02/12 21:55:09	1.1.1.1
+++ gnome-hints.scm	1999/03/21 23:30:26
@@ -299,8 +299,10 @@
   (if (nonzero? (logand mask WIN_STATE_SHADED))
       (if (nonzero? (logand new-state WIN_STATE_SHADED))
 	  (if (not (window-shaded? win))
-              (if gnome-shade-animated
-                  (animated-window-shade win) (window-shade win)))
+	      (if (equal? (window-class win) "Panel")
+		  (write-line "FIXME: *not* window-shading the panel")
+		  (if gnome-shade-animated
+		      (animated-window-shade win) (window-shade win))))
 	  (if (window-shaded? win)
               (if gnome-shade-animated
                   (animated-window-unshade win) (window-unshade win)))))

--=-=-=


        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

--=-=-=--

From owner-scwm-discuss@mit.edu  Sun Mar 28 16:52:44 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA12438
	for scwm-discuss-outgoing; Sun, 28 Mar 1999 16:52:44 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA12435
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Mar 1999 16:52:41 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA00287; Sun, 28 Mar 99 16:51:59 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA00883; Sun, 28 Mar 1999 13:51:59 -0800 (PST)
To: ggt@netspace.net.au (Glenn Trigg)
Cc: scwm-discuss@mit.edu
Subject: Reporting bugs [was Re: ScwmBiff & new simplebiff]
References: <m10RCjM-002Sy5C@zappa.>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Mar 1999 13:51:58 -0800
In-Reply-To: ggt@netspace.net.au's message of "Sun, 28 Mar 1999 20:23:48 +1000 (EST)"
Message-Id: <qrrlngh2sg1.fsf@elwha.cs.washington.edu>
Lines: 46
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

ggt@netspace.net.au (Glenn Trigg) writes:

> I have a first version of ScwmBiff going. It only takes two
> pixmaps at the moment, a "passive" pixmap & an "active" pixmap
> (I.e mail & new-mail pixmaps). The changes to simplebiff allow it
> to control ScwmBiff. Here's some example code from my .scwmrc...
> 
> ;; Start biff stuff
> (define guibiff (run-ScwmBiff "mini-mail.xpm" "mini-newmail.xpm"
> 			      #:action "privtool"))
> (define biff (simplebiff #:activate-proc (lambda () (activate-ScwmBiff guibiff))
> 			 #:deactivate-proc (lambda () (deactivate-ScwmBiff guibiff))))
> 

Cool-- thanks for the code contribution!  This is way cool!

> I've been trying to get ScwmButtons to act as a parent for ScwmBiff
> (& ScwmClock), but haven't had any joy so far - my current attempts
> simply crash the whole window manager.

Please *please* try to report crashes carefully... these are the most
important bugs we have to fix before releasing a 1.0;  a wm *cannot*
crash (well, I mean it *can*, but we *cannot* have such behaviour).  

> Speaking of crashes, has anyone noticed some unstable behaviour when
> using the Gimp? I've had some situations both at home & at work where
> the window manager has crashed while using the Gimp.

Again, treat crashes with the resepect they deserve.  See BUG-REPORTING
and the script scwm-bug-information.  Also, scwm.el has scwm-bug -- use
M-x scwm-bug (and report bugs in that by hand, by writing to this
list).

There are lots of cooperating pieces of software that make Scwm tick--
many of the remaining crashes are likely due to interactions and
somewhat unusual circumstances that may be hard to reproduce which is
why it's important that we gain as much information as we can from each
and every crash.

We *really* appreciate bug information, even if we have no time to fix
it right away, the information gets saved until we're confident it's fixed.

Thanks (and thanks again for the ScwmBiff and simplebiff stuff -- I'll
try to get it in to the repo today)!

Greg

From owner-scwm-discuss@mit.edu  Sun Mar 28 17:09:26 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA12606
	for scwm-discuss-outgoing; Sun, 28 Mar 1999 17:09:26 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA12602
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Mar 1999 17:09:23 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA02433; Sun, 28 Mar 99 17:08:41 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA00924; Sun, 28 Mar 1999 14:08:46 -0800 (PST)
To: Eli Barzilay <eli@CS.Cornell.EDU>
Cc: scwm-discuss@mit.edu
Subject: Re: Several unrelated things.
References: <14077.60356.49642.510261@mojave.cs.cornell.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Mar 1999 14:08:46 -0800
In-Reply-To: Eli Barzilay's message of "Sun, 28 Mar 1999 03:43:48 -0500 (EST)"
Message-Id: <qrriubl2ro1.fsf@elwha.cs.washington.edu>
Lines: 72
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Eli Barzilay <eli@CS.Cornell.EDU> writes:

> I wrote some code that makes it possible to slide windows off the
> screen (similar to fvwm's taskbar) - I don't remember if anyone did
> something like this before but it might be useful - it works quite
> well, you can make any window slide off any edge so when you hit it at
> the same place it will slide back and go back out when it loses focus,
> or even have one-time only sliding.  Also, with a little timing things
> it works much more stable than the fvwm taskbar.  If anyone is
> interested I'll send it.

Cool -- please do send it so others can play with it...

> When I was doing this I encountered several things:
> 
> The edge-enter/leave-hook hooks are being called with the wrong symbol
> for the left/right edges.

Thanks -- I reversed them -- looks like someone has some left/right
issues! :-)

> 
> The fourth argument to animated-move-window has a wrong default value
> so it must always be called.

Thanks-- should be better now.  This is a good example of a simple pass
through the source that it'd be great if someone wanted to do... we
consistently are inconsistent in primitive parameter handling.  The code 
here was:

  if (!gh_boolean_p(move_pointer_too_p)) {
    scm_wrong_type_arg(FUNC_NAME, 4, move_pointer_too_p);
  }

  if (move_pointer_too_p == SCM_UNDEFINED) {
    /* This is the only sensible default */
    move_pointer_too_p = SCM_BOOL_F;
  }

  fMovePointer = gh_scm2bool(move_pointer_too_p);

where one fix is just to switch the order of the first two
conditionals (this is what I did very quickly last night).  The *right*
fix which I'm checking in this morning is the one liner to replace all
the above code:

  COPY_BOOL_OR_ERROR_DEFAULT_FALSE(fMovePointer,move_pointer_too_p,4,FUNC_NAME);

similar code sequences could be replaced with that macro abstraction
throughout Scwm for error handling.  There are also a handful of
other similar argument-handling macros in scwm.h, e.g., 
COPY_INTEGER_WITH_DEFAULT_OR_ERROR(var,scm,pos,func,def).  Others may
need to be defined for common argument types.

Though it's not hard to do, it does require a careful eye, and thus a
bit of time.  In the conversion process, I'll bet some bugs will be
weeded out, and the code will be easier to read and maintain.  In short, 
this would be a *big* win for Scwm!

> I really tried to look around but couldn't find anywhere a way to test
> whether a window object is valid or not.  All I found was ensure_valid
> in window.c but there is no Scheme function bound to it.

You mean something different from `window?'.  I'm not sure what other
kind of validity you're interested in....

> BTW, in binding.c, line 803 there is an extra quote that makes
> scwm-procedures.txt look bad in emacs with font-lock.

Got it, thanks--- for this and all the bug reports!  Keep 'em coming!

Greg

From owner-scwm-discuss@mit.edu  Sun Mar 28 17:33:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA13026
	for scwm-discuss-outgoing; Sun, 28 Mar 1999 17:33:37 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from mail.execpc.com (xeros-2-174.mdm.mke.execpc.com [169.207.91.240])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA13023
	for <scwm-discuss@vicarious-existence.mit.edu>; Sun, 28 Mar 1999 17:33:34 -0500
Received: (qmail 4431 invoked from network); 28 Mar 1999 22:32:59 -0000
Received: from localhost (HELO nucleus) (pgarcia@127.0.0.1)
  by localhost with SMTP; 28 Mar 1999 22:32:59 -0000
From: pgarcia <pgarcia@execpc.com>
Reply-To: pgarcia@execpc.com
To: scwm-discuss@mit.edu
Subject: suggestion: scwm user-centered mailing list?
Date: Sun, 28 Mar 1999 16:07:13 -0600
X-Mailer: KMail [version 1.0.17]
Content-Type: text/plain
MIME-Version: 1.0
Message-Id: <99032816325900.04423@nucleus>
Content-Transfer-Encoding: 8bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

After trying out other wm's, I keep coming back to scwm.  My only scruple
is that scwm-discuss is geared towards developers.  Perhaps users such as
myself would benefit from the creation of a separate list; I personally don't
read much of the traffic on this one, but I am interested in what other users
are doing with scwm.

Its purpose would simply be to discuss things such as key bindings and window
decorations that work well for individuals, mimicking other wm look-and-feels,
or any other configuration issues in general.  When you visit themes.org, it
would seem that the current wm's of choice in this area are E and Window Maker.
Most of their focus is on making a cool looking desktop, while my primary
concern is usability, but I guess to each his own.  You could call the other
list scwm-themes, scwm-config, scwm-user, scwm-laf [look and feel], whatever.

I hope you'll please consider this.  Thanks..



From owner-scwm-discuss@mit.edu  Sun Mar 28 18:27:10 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA13492
	for scwm-discuss-outgoing; Sun, 28 Mar 1999 18:27:10 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA13484
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Mar 1999 18:26:34 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA26234; Sun, 28 Mar 99 18:26:45 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA00995; Sun, 28 Mar 1999 15:25:53 -0800 (PST)
To: pgarcia@execpc.com
Cc: scwm-discuss@mit.edu
Subject: Re: suggestion: scwm user-centered mailing list?
References: <99032816325900.04423@nucleus>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Mar 1999 15:25:53 -0800
In-Reply-To: pgarcia's message of "Sun, 28 Mar 1999 16:07:13 -0600"
Message-Id: <qrr3e2p2o3i.fsf@elwha.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

pgarcia <pgarcia@execpc.com> writes:

> After trying out other wm's, I keep coming back to scwm.  My only scruple
> is that scwm-discuss is geared towards developers.  Perhaps users such as
> myself would benefit from the creation of a separate list; I personally don't
> read much of the traffic on this one, but I am interested in what other users
> are doing with scwm.
> 
> Its purpose would simply be to discuss things such as key bindings and window
> decorations that work well for individuals, mimicking other wm look-and-feels,
> or any other configuration issues in general.  When you visit themes.org, it
> would seem that the current wm's of choice in this area are E and Window Maker.
> Most of their focus is on making a cool looking desktop, while my primary
> concern is usability, but I guess to each his own.  You could call the other
> list scwm-themes, scwm-config, scwm-user, scwm-laf [look and feel], whatever.
> 
> I hope you'll please consider this.  Thanks..

I think this is a great idea--- as Maciej's the man with root on the
mail server, he'll have to create the list (and agree that this is a
great idea, of course).

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Sun Mar 28 18:46:52 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA13836
	for scwm-discuss-outgoing; Sun, 28 Mar 1999 18:46:52 -0500
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA13832
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Mar 1999 18:46:21 -0500
Received: from SIMON.CS.CORNELL.EDU by MIT.EDU with SMTP
	id AA29458; Sun, 28 Mar 99 18:46:33 EST
Received: from cloyd.cs.cornell.edu (CLOYD.CS.CORNELL.EDU [128.84.227.15])
	by simon.cs.cornell.edu (8.9.3/8.9.3/R-2.2) with ESMTP id SAA28103
	for <scwm-discuss@mit.edu>; Sun, 28 Mar 1999 18:45:42 -0500 (EST)
Received: from mojave.cs.cornell.edu (IDENT:eli@MOJAVE.CS.CORNELL.EDU [128.84.248.55])
	by cloyd.cs.cornell.edu (8.9.3/8.9.3/M-2.1) with ESMTP id SAA15036
	for <scwm-discuss@mit.edu>; Sun, 28 Mar 1999 18:45:40 -0500 (EST)
Received: (from eli@localhost)
	by mojave.cs.cornell.edu (8.8.7/8.8.8/LX-1.2) id SAA25503;
	Sun, 28 Mar 1999 18:45:41 -0500
X-Authentication-Warning: mojave.cs.cornell.edu: eli set sender to eli@mojave.cs.cornell.edu using -f
From: Eli Barzilay <eli@CS.Cornell.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14078.48932.907056.831961@mojave.cs.cornell.edu>
Date: Sun, 28 Mar 1999 18:45:40 -0500 (EST)
To: scwm-discuss@mit.edu
Subject: Re: Several unrelated things.
In-Reply-To: <qrriubl2ro1.fsf@elwha.cs.washington.edu>
References: <14077.60356.49642.510261@mojave.cs.cornell.edu>
	<qrriubl2ro1.fsf@elwha.cs.washington.edu>
X-Mailer: VM 6.70 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Mar 28, Greg Badros wrote:
 > 
 > Cool -- please do send it so others can play with it...

OK, it is attached below.  The two main problems that makes it look
complicated is the virtual/viewport coordinates (this is really a mess
since sticky windows behave differently and move-window/animated-move
also behave differently), and the other thing is that I played with
several timing stuff - since I always hated the way that you had to
"fight the edge" to get that task bar in.  It can probably be
improved (the code is what I have in my .scwmrc).

 > > I really tried to look around but couldn't find anywhere a way to test
 > > whether a window object is valid or not.  All I found was ensure_valid
 > > in window.c but there is no Scheme function bound to it.
 > 
 > You mean something different from `window?'.  I'm not sure what other
 > kind of validity you're interested in....

Something that will say whether the window is still valid.  Something
equivalent to this extreme ugliness:

  (define (valid? win)
    (not
     (equal? "#<window (invalid)>"
             (with-output-to-string (lambda () (display win))))))

(this is for demonstration only, I'm not using this.)

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
         http://www.cs.cornell.edu/eli/meaning.html        Maze is Life!

-------------------------------------------------------------------------------

;;; Sliding windows stuff

(define *sliding-windows*   '())
(define *suspended-sliding* '())

(define (set-sliding-window! side one-time? win)
  (cond
   ((not win) #f)
   ((assq win *suspended-sliding*) =>
    (lambda (x)
      (set! *suspended-sliding* (delq x *suspended-sliding*))
      (set! *sliding-windows* (cons x *sliding-windows*))
      (set-sliding-window! side one-time? win)))
   ((assq win *sliding-windows*) =>
    (lambda (x)
      (cond
       ((or (eq? (cadr x) side) (caddr x))
        (set! *sliding-windows* (delq x *sliding-windows*))
        (or (list-ref x 4) (un-keep-on-top win))
        (and (list-ref x 5) (show-titlebar win))
        (if (caddr x)
          (begin
            (unstick win)
            (let ((pp (apply viewport->virtual (list-ref x 6))))
              (animated-move-window (car pp) (cadr pp) win #f))))
        (if (list-ref x 3) (stick win) (unstick win)))
       (else
        (set-car! (cdr x) side)
        (set-car! (cddr x) one-time?)
        (slide-in/out #f win)))))
   ((not (memq side '(north south east west))) (error "Bad side."))
   (else
    (set! *sliding-windows*
          (cons (list win side one-time?
                      (sticky? win) (kept-on-top? win) (titlebar-shown? win)
                      (window-viewport-position win))
                *sliding-windows*))
    (if (not one-time?)
      (begin
        (keep-on-top win)
        (hide-titlebar win)))
    (stick win)
    (set-show-icon! #f win)
    (slide-in/out #f win))))

(define (slide-in/out in? side/win)
  (define (do-it side win . one-time?)
    (let* ((size  (window-frame-size win))
           (dsize (display-size))
           (out-x (case side
                    ((north south) #f)
                    ((west) (- (car size)))
                    ((east) (car dsize))))
           (out-y (case side
                    ((north) (- (cadr size)))
                    ((south) (cadr dsize))
                    ((west east) #f)))
           (in-x  (case side
                    ((north south) #f)
                    ((west) 0)
                    ((east) (- (car dsize) (car size)))))
           (in-y  (case side
                    ((north) 0)
                    ((south) (- (cadr dsize) (cadr size)))
                    ((west east) #f)))
           (vp (viewport-position)))
      (if in?
        (begin (move-window out-x out-y win)
               (deiconify win)
               (if (or (null? one-time?) (not (car one-time?)))
                 (begin
                   (unstick win)
                   (animated-move-window
                    (and in-x (+ (car vp) in-x)) (and in-y (+ (cadr vp) in-y))
                    win #f)
                   (stick win))))
        (begin ;;(move-window in-x in-y win) ; no need
               (animated-move-window out-x out-y win #f)
               (iconify win)))))
  (if in?
    (begin
      (set! side/win
            (case side/win
              ((east) 'west) ((west) 'east) ((north south) side/win)))
      (let loop ((windows *sliding-windows*))
        (cond
         ((null? windows) #f)
         ((and (eq? (cadar windows) side/win)
               (let ((pp (pointer-position))
                     (wp (window-viewport-position (caar windows)))
                     (ws (window-frame-size (caar windows)))
                     (f  (case side/win
                           ((north south) car) ((west east) cadr))))
                 (<= (f wp) (f pp) (+ (f wp) (f ws)))))
          (do-it side/win (caar windows) (caddar windows))
          (focus (caar windows))
          (if (caddar windows)
            (set-sliding-window! (cadar windows) #f (caar windows))
            (begin
              ;; let at least 1sec pass before hiding
              (set! *sliding-windows*
                    (delq (car windows) *sliding-windows*))
              (set! *suspended-sliding*
                    (cons (car windows) *suspended-sliding*))
              (add-timer-hook!
               1500000
               (lambda ()
                 (if (memq (car windows) *suspended-sliding*)
                   (begin
                     (set! *suspended-sliding*
                           (delq (car windows) *suspended-sliding*))
                     (set! *sliding-windows*
                           (cons (car windows) *sliding-windows*))
                     (if (not (eq? (caar windows)
                                   (current-window-with-pointer)))
                       (begin
                         (set! in? #f)
                         (do-it (cadar windows) (caar windows)))))))))))
         (else (loop (cdr windows))))))
    (let ((x (assq side/win *sliding-windows*)))
      (if x
        (begin
          (set! *sliding-windows* (delq x *sliding-windows*))
          (do-it (cadr x) side/win)
          (add-timer-hook!
           500000
           (lambda () (set! *sliding-windows* (cons x *sliding-windows*)))))))))

(define (edge-enter-slide side)
  (slide-in/out #t side))

(define (window-leave-slide win)
  (add-timer-hook! 1000000
                   (lambda ()
                     (or (eq? win (current-window-with-pointer))
                         (slide-in/out #f win)))))

(define (window-close-slide win)
  (let ((x (assq win *sliding-windows*)))
    (if x
      (set! *sliding-windows* (delq x *sliding-windows*))
      (let ((y (assq win *suspended-sliding*)))
        (if y
          (set! *suspended-sliding*
                (delq y *suspended-sliding*)))))))

(add-hook! edge-enter-hook   edge-enter-slide)
(add-hook! window-leave-hook window-leave-slide)
(add-hook! window-close-hook window-close-slide)

(define (bind-slide-key key side one-time?)
  (bind-key 'all key
            (lambda x
              (set-sliding-window!
               side one-time? (current-window-with-pointer)))))
(bind-slide-key "M-H-Up"    'north #t)
(bind-slide-key "M-H-Down"  'south #t)
(bind-slide-key "M-H-Left"  'west  #t)
(bind-slide-key "M-H-Right" 'east  #t)
(bind-slide-key "C-M-H-Up"    'north #f)
(bind-slide-key "C-M-H-Down"  'south #f)
(bind-slide-key "C-M-H-Left"  'west  #f)
(bind-slide-key "C-M-H-Right" 'east  #f)

From owner-scwm-discuss@mit.edu  Sun Mar 28 19:40:25 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA14459
	for scwm-discuss-outgoing; Sun, 28 Mar 1999 19:40:25 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA14456
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Mar 1999 19:40:23 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA06735; Sun, 28 Mar 99 19:40:39 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA01052; Sun, 28 Mar 1999 16:39:47 -0800 (PST)
To: Eli Barzilay <eli@CS.Cornell.EDU>
Cc: scwm-discuss@mit.edu
Subject: Re: Several unrelated things.
References: <14077.60356.49642.510261@mojave.cs.cornell.edu> <qrriubl2ro1.fsf@elwha.cs.washington.edu> <14078.48932.907056.831961@mojave.cs.cornell.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Mar 1999 16:39:47 -0800
In-Reply-To: Eli Barzilay's message of "Sun, 28 Mar 1999 18:45:40 -0500 (EST)"
Message-Id: <qrrvhfl163w.fsf@elwha.cs.washington.edu>
Lines: 36
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Eli Barzilay <eli@CS.Cornell.EDU> writes:

> On Mar 28, Greg Badros wrote:
>  > 
>  > Cool -- please do send it so others can play with it...
> 
> OK, it is attached below.  The two main problems that makes it look
> complicated is the virtual/viewport coordinates (this is really a mess
> since sticky windows behave differently and move-window/animated-move
> also behave differently), and the other thing is that I played with
> several timing stuff - since I always hated the way that you had to
> "fight the edge" to get that task bar in.  It can probably be
> improved (the code is what I have in my .scwmrc).

I'll look at the code and see if there is a nicer way to deal with the
virt/viewport stuff... it definitely caused headaches for a while, but
now we need a principled way to think about these things.

>  > > I really tried to look around but couldn't find anywhere a way to test
>  > > whether a window object is valid or not.  All I found was ensure_valid
>  > > in window.c but there is no Scheme function bound to it.
>  > 
>  > You mean something different from `window?'.  I'm not sure what other
>  > kind of validity you're interested in....
> 
> Something that will say whether the window is still valid.  Something
> equivalent to this extreme ugliness:

<snip -- too ugly to repeat>

Ask and ye shall receive: window-valid? will be in the repo inside an hour.

<snip of code -- will move into repo after some feedback transpires>

Thanks!
Greg

From owner-scwm-discuss@mit.edu  Sun Mar 28 19:46:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA14611
	for scwm-discuss-outgoing; Sun, 28 Mar 1999 19:46:09 -0500
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA14608
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Mar 1999 19:46:07 -0500
Received: from SIMON.CS.CORNELL.EDU by MIT.EDU with SMTP
	id AA07400; Sun, 28 Mar 99 19:46:23 EST
Received: from cloyd.cs.cornell.edu (CLOYD.CS.CORNELL.EDU [128.84.227.15])
	by simon.cs.cornell.edu (8.9.3/8.9.3/R-2.2) with ESMTP id TAA00846
	for <scwm-discuss@mit.edu>; Sun, 28 Mar 1999 19:45:32 -0500 (EST)
Received: from mojave.cs.cornell.edu (IDENT:eli@MOJAVE.CS.CORNELL.EDU [128.84.248.55])
	by cloyd.cs.cornell.edu (8.9.3/8.9.3/M-2.1) with ESMTP id TAA16808
	for <scwm-discuss@mit.edu>; Sun, 28 Mar 1999 19:45:31 -0500 (EST)
Received: (from eli@localhost)
	by mojave.cs.cornell.edu (8.8.7/8.8.8/LX-1.2) id TAA25678;
	Sun, 28 Mar 1999 19:45:31 -0500
X-Authentication-Warning: mojave.cs.cornell.edu: eli set sender to eli@mojave.cs.cornell.edu using -f
From: Eli Barzilay <eli@CS.Cornell.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14078.52523.103879.737274@mojave.cs.cornell.edu>
Date: Sun, 28 Mar 1999 19:45:31 -0500 (EST)
To: scwm-discuss@mit.edu
Subject: Re: Several unrelated things.
In-Reply-To: <qrrvhfl163w.fsf@elwha.cs.washington.edu>
References: <14077.60356.49642.510261@mojave.cs.cornell.edu>
	<qrriubl2ro1.fsf@elwha.cs.washington.edu>
	<14078.48932.907056.831961@mojave.cs.cornell.edu>
	<qrrvhfl163w.fsf@elwha.cs.washington.edu>
X-Mailer: VM 6.70 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Mar 28, Greg Badros wrote:
 > 
 > I'll look at the code and see if there is a nicer way to deal with
 > the virt/viewport stuff... it definitely caused headaches for a
 > while, but now we need a principled way to think about these
 > things.

One thing that I forgot to take out before posting is the:

      (set! side/win
            (case side/win
              ((east) 'west) ((west) 'east) ((north south) side/win)))

 > <snip -- too ugly to repeat>

That's why I said that it's for demonstration oly.  I'd write 100 lies
of code to avoid such hacks...

 > Ask and ye shall receive: window-valid? will be in the repo inside an hour.

It makes life with timer-hooks *much* simpler...
-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
         http://www.cs.cornell.edu/eli/meaning.html        Maze is Life!

From owner-scwm-discuss@mit.edu  Sun Mar 28 20:25:54 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA14945
	for scwm-discuss-outgoing; Sun, 28 Mar 1999 20:25:54 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA14942
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Mar 1999 20:25:51 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA12250; Sun, 28 Mar 99 20:26:07 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA01099; Sun, 28 Mar 1999 17:25:14 -0800 (PST)
To: Eli Barzilay <eli@CS.Cornell.EDU>
Cc: scwm-discuss@mit.edu
Subject: Re: Several unrelated things.
References: <14077.60356.49642.510261@mojave.cs.cornell.edu> <qrriubl2ro1.fsf@elwha.cs.washington.edu> <14078.48932.907056.831961@mojave.cs.cornell.edu> <qrrvhfl163w.fsf@elwha.cs.washington.edu> <14078.52523.103879.737274@mojave.cs.cornell.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Mar 1999 17:25:14 -0800
In-Reply-To: Eli Barzilay's message of "Sun, 28 Mar 1999 19:45:31 -0500 (EST)"
Message-Id: <qrrr9q91405.fsf@elwha.cs.washington.edu>
Lines: 36
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Eli Barzilay <eli@CS.Cornell.EDU> writes:

> On Mar 28, Greg Badros wrote:
>  > 
>  > I'll look at the code and see if there is a nicer way to deal with
>  > the virt/viewport stuff... it definitely caused headaches for a
>  > while, but now we need a principled way to think about these
>  > things.
> 
> One thing that I forgot to take out before posting is the:
> 
>       (set! side/win
>             (case side/win
>               ((east) 'west) ((west) 'east) ((north south) side/win)))
> 
>  > <snip -- too ugly to repeat>
> 
> That's why I said that it's for demonstration oly.  I'd write 100 lies
> of code to avoid such hacks...

lies->lines, I hope? :-)

It's all there in the C code -- for both these scheme-level fixes.  It's 
probably better to not hack around ugliness, especially, when I'm in a
scwm-mish mood and quick to fix simple bugs and missing, but obvious
primitives. 

>  > Ask and ye shall receive: window-valid? will be in the repo inside an hour.
> 
> It makes life with timer-hooks *much* simpler...

Definitely-- I'm guess a lot of scheme code should be using
window-valid? instead of window?, too.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Sun Mar 28 20:30:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA15083
	for scwm-discuss-outgoing; Sun, 28 Mar 1999 20:30:09 -0500
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA15072
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Mar 1999 20:29:48 -0500
Received: from SIMON.CS.CORNELL.EDU by MIT.EDU with SMTP
	id AA28114; Sun, 28 Mar 99 20:29:00 EST
Received: from cloyd.cs.cornell.edu (CLOYD.CS.CORNELL.EDU [128.84.227.15])
	by simon.cs.cornell.edu (8.9.3/8.9.3/R-2.2) with ESMTP id UAA02627
	for <scwm-discuss@mit.edu>; Sun, 28 Mar 1999 20:29:08 -0500 (EST)
Received: from mojave.cs.cornell.edu (IDENT:eli@MOJAVE.CS.CORNELL.EDU [128.84.248.55])
	by cloyd.cs.cornell.edu (8.9.3/8.9.3/M-2.1) with ESMTP id UAA17925
	for <scwm-discuss@mit.edu>; Sun, 28 Mar 1999 20:29:04 -0500 (EST)
Received: (from eli@localhost)
	by mojave.cs.cornell.edu (8.8.7/8.8.8/LX-1.2) id UAA25697;
	Sun, 28 Mar 1999 20:28:59 -0500
X-Authentication-Warning: mojave.cs.cornell.edu: eli set sender to eli@mojave.cs.cornell.edu using -f
From: Eli Barzilay <eli@CS.Cornell.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14078.55131.304037.778781@mojave.cs.cornell.edu>
Date: Sun, 28 Mar 1999 20:28:59 -0500 (EST)
To: scwm-discuss@mit.edu
Subject: Re: Several unrelated things.
In-Reply-To: <qrrr9q91405.fsf@elwha.cs.washington.edu>
References: <14077.60356.49642.510261@mojave.cs.cornell.edu>
	<qrriubl2ro1.fsf@elwha.cs.washington.edu>
	<14078.48932.907056.831961@mojave.cs.cornell.edu>
	<qrrvhfl163w.fsf@elwha.cs.washington.edu>
	<14078.52523.103879.737274@mojave.cs.cornell.edu>
	<qrrr9q91405.fsf@elwha.cs.washington.edu>
X-Mailer: VM 6.70 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Mar 28, Greg Badros wrote:
 > > That's why I said that it's for demonstration oly.  I'd write 100
 > > lies of code to avoid such hacks...
 > 
 > lies->lines, I hope? :-)

Yeah, I'm too lazy to open up me keyboard again, there's something
under my N.

 > > It makes life with timer-hooks *much* simpler...
 > 
 > Definitely-- I'm guess a lot of scheme code should be using
 > window-valid? instead of window?, too.

I'm sure - these hooks are probably the most likely place for them.
-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
         http://www.cs.cornell.edu/eli/meaning.html        Maze is Life!

From owner-scwm-discuss@mit.edu  Sun Mar 28 21:05:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA15461
	for scwm-discuss-outgoing; Sun, 28 Mar 1999 21:05:33 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from relay6.UU.NET (relay6.UU.NET [192.48.96.16])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id VAA15458
	for <scwm-discuss@huis-clos.mit.edu>; Sun, 28 Mar 1999 21:05:30 -0500
Received: from mail.eaglets.com by relay6.UU.NET with ESMTP 
	(peer crosschecked as: [208.235.77.228])
	id QQgiom26344
	for <scwm-discuss@huis-clos.mit.edu>; Sun, 28 Mar 1999 21:05:01 -0500 (EST)
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Sun, 28 Mar 1999 21:02:45 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Sun, 28 Mar 1999 21:02:45 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id VAA14390;
	Sun, 28 Mar 1999 21:03:31 -0500
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: loading PNG
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 28 Mar 1999 21:03:31 -0500
Message-ID: <m3ogld3vd8.fsf@eho.eaglets.com>
Lines: 9
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Can SCWM load PNG?

[Scwm][load-xbm]: <<WARNING>> Could not load bitmap `/usr/share/pixmaps//iagno.png'

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
MS: Brain off-line, please wait.

From owner-scwm-discuss@mit.edu  Sun Mar 28 22:05:28 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA16110
	for scwm-discuss-outgoing; Sun, 28 Mar 1999 22:05:28 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from mail.eaglets.com ([208.235.77.228])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id WAA16107
	for <scwm-discuss@huis-clos.mit.edu>; Sun, 28 Mar 1999 22:05:24 -0500
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Sun, 28 Mar 1999 22:03:33 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Sun, 28 Mar 1999 22:03:32 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id WAA20916;
	Sun, 28 Mar 1999 22:04:33 -0500
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: HandleClientMessage: Assertion `0' failed
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 28 Mar 1999 22:04:33 -0500
Message-ID: <m34sn5q9mm.fsf@eho.eaglets.com>
Lines: 86
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

when I move the mouse onto an icon, I get this:

scwm: events.c:929: HandleClientMessage: Assertion `0' failed.

Program received signal SIGABRT, Aborted.
0x401d9fa1 in __kill ()
(gdb) where
#0  0x401d9fa1 in __kill ()
#1  0x401d9bf6 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x401db2d7 in abort () at ../sysdeps/generic/abort.c:88
#3  0x401d3d1e in __assert_fail () at assert.c:59
#4  0x806216d in HandleClientMessage () at events.c:929
#5  0x8061219 in DispatchEvent () at events.c:257
#6  0x8061249 in HandleEvents () at events.c:279
#7  0x8070f6b in scwm_main (argc=1, argv=0xbffff9a4) at scwm.c:1041
#8  0x40138c4d in gh_launch_pad ()
#9  0x4013b2a9 in invoke_main_func ()
#10 0x4016071b in scm_internal_lazy_catch ()
#11 0x4013b25b in scm_boot_guile_1 ()
#12 0x4013aff9 in scm_boot_guile ()
#13 0x40138c88 in gh_enter ()
#14 0x80704ef in main (argc=1, argv=0xbffff9a4) at scwm.c:498
#15 0x401d3b43 in __libc_start_main (main=0x80704dc <main>, argc=1, 
    argv=0xbffff9a4, init=0x8054338 <_init>, fini=0x807b19c <_fini>, 
    rtld_fini=0x4000a190 <_dl_fini>, stack_end=0xbffff99c)
    at ../sysdeps/generic/libc-start.c:78


I also get this:

psw->fSquashedTitlebar now: 0(window property change: #<window 75497687: "*BBDB*"> squashed-titlebar #f #f)
(window property change: #<window 75497687: "*BBDB*"> desk 0 0)
psw->fSquashedTitlebar now: 0(window property change: #<window 71303182: "gdb"> squashed-titlebar #f #f)
(window property change: #<window 71303182: "gdb"> desk 0 0)
psw->fSquashedTitlebar now: 0(window property change: #<window 62914574: "ROOT"> squashed-titlebar #f #f)
(window property change: #<window 62914574: "ROOT"> desk 0 0)
psw->fSquashedTitlebar now: 0(window property change: #<window 58720262: "GQmpeg - all.gqmpeg"> squashed-titlebar #f #f)
psw->fSquashedTitlebar now: 0(window property change: #<window 58720262: "GQmpeg - all.gqmpeg"> squashed-titlebar #f #f)
(window property change: #<window 58720262: "GQmpeg - all.gqmpeg"> desk 0 0)
psw->fSquashedTitlebar now: 0(window property change: #<window 8388614: "Terminal"> squashed-titlebar #f #f)
(window property change: #<window 8388614: "Terminal"> desk 0 0)
psw->fSquashedTitlebar now: 0(window property change: #<window 33554630: "GNOME System Monitor"> squashed-titlebar #f #f)
(window property change: #<window 33554630: "GNOME System Monitor"> desk 0 0)
psw->fSquashedTitlebar now: 0(window property change: #<window 20971606: "panel"> squashed-titlebar #f #f)
psw->fSquashedTitlebar now: 0(window property change: #<window 20971606: "panel"> squashed-titlebar #f #f)
(window property change: #<window 20971606: "panel"> sticky #t #f)
(window property change: #<window 20971606: "panel"> taskbar-skip #t #f)
(window property change: #<window 20971606: "panel"> desk 0 0)
(window property change: #<window 20971606: "panel"> maximized (0 972 1152 51 0 0 1152 1020) #f)

Backtrace:
0* [gnome-X-MapRequest-hook #<window 20971606: "panel">]
1* [gnome-init-window-from-props #<window 20971606: "panel">]
2* [gnome-update-state-from-property #<window 20971606: "panel">]
3  (let ((prop #)) (cond (prop #)))
   ...
4  [gnome-update-state #<window 20971606: "panel"> 1023 ...]
5* (if (nonzero? (logand mask WIN_STATE_SHADED)) (if (nonzero? #) (if # #) ...))6  (if (nonzero? (logand new-state WIN_STATE_SHADED)) (if (not #) (if gnome-shade-animated # ...)) ...)
   ...
7  (animated-window-shade win)

/usr/local/share/scwm-modules/app/scwm/gnome-hints.scm:303:19: In expression (animated-window-shade win):
/usr/local/share/scwm-modules/app/scwm/gnome-hints.scm:303:19: Unbound variable: animated-window-shade
psw->fSquashedTitlebar now: 0(window property change: #<window 46137350: "Iagno"> squashed-titlebar #f #f)
[Scwm][load-xbm]: <<WARNING>> Could not load bitmap `/usr/share/pixmaps/iagno.png'
[Scwm][load-xbm]: <<WARNING>> Could not load bitmap `/usr/share/pixmaps/iagno.png'
(window property change: #<window 46137350: "Iagno"> desk 0 0)
psw->fSquashedTitlebar now: 0(window property change: #<window 37748742: "Terminal"> squashed-titlebar #f #f)
(window property change: #<window 37748742: "Terminal"> desk 0 0)
psw->fSquashedTitlebar now: 0(window property change: #<window 29360134: "Terminal"> squashed-titlebar #f #f)
(window property change: #<window 29360134: "Terminal"> desk 0 0)
psw->fSquashedTitlebar now: 0(window property change: #<window 75497568: ".scwmrc"> squashed-titlebar #f #f)
(window property change: #<window 75497568: ".scwmrc"> desk 0 0)
psw->fSquashedTitlebar now: 0(window property change: #<window 75497629: "emacs mbf"> squashed-titlebar #f #f)
psw->fSquashedTitlebar now: 0(window property change: #<window 75497629: "emacs mbf"> squashed-titlebar #f #f)
(window property change: #<window 75497629: "emacs mbf"> sticky #t #f)
(window property change: #<window 75497629: "emacs mbf"> on-top #t #f)
(window property change: #<window 75497629: "emacs mbf"> desk 0 0)

[this is the current cvs at 1999-03-28 Sun 22:04:22 EST]

--
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Never let your schooling interfere with your education.

From owner-scwm-discuss@mit.edu  Sun Mar 28 22:55:47 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA16425
	for scwm-discuss-outgoing; Sun, 28 Mar 1999 22:55:47 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA16422
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Mar 1999 22:55:44 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA00748; Sun, 28 Mar 99 22:55:59 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id TAA01191; Sun, 28 Mar 1999 19:55:07 -0800 (PST)
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: loading PNG
References: <m3ogld3vd8.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Mar 1999 19:55:06 -0800
In-Reply-To: Sam Steingold's message of "28 Mar 1999 21:03:31 -0500"
Message-Id: <qrrhfr50x2d.fsf@elwha.cs.washington.edu>
Lines: 17
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> Can SCWM load PNG?
> 
> [Scwm][load-xbm]: <<WARNING>> Could not load bitmap `/usr/share/pixmaps//iagno.png'

Not unless you're using the recently-added support for imlib (by using
configure.imlib.in -- just updated in the repo for some bugs) and have
imlib installed (and your imlib supports PNG format).

I just tested with imlib and it works (modulo some problems with color
allocation because I'm on an 8 bit display -- I'm checking in a fix to
use black whenever a color can't be allocated instead of returning #f to 
an internal procedure that needs a color).  Anybody know how to make
imlib happier on 8-bit displays?  It seems to grab lots of colors right away.

Greg

From owner-scwm-discuss@mit.edu  Sun Mar 28 23:01:19 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA16524
	for scwm-discuss-outgoing; Sun, 28 Mar 1999 23:01:19 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA16519
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 28 Mar 1999 23:01:16 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA17472; Sun, 28 Mar 99 23:00:31 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id UAA01214; Sun, 28 Mar 1999 20:00:38 -0800 (PST)
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: HandleClientMessage: Assertion `0' failed
References: <m34sn5q9mm.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Mar 1999 20:00:38 -0800
In-Reply-To: Sam Steingold's message of "28 Mar 1999 22:04:33 -0500"
Message-Id: <qrremm90wt5.fsf@elwha.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> when I move the mouse onto an icon, I get this:
> 
> scwm: events.c:929: HandleClientMessage: Assertion `0' failed.

Thanks for the trace-- can you apply this patch and tell me what you get
(should also stop the abort call -- I never should've done it that way to
begin with as long as everyone is sure to report warning messages from
Scwm).

--- events.c1999/03/29 01:32:351.139
+++ events.c1999/03/29 03:59:40
@@ -925,8 +925,10 @@ HandleClientMessage()
         }
       }
     default:
-      /* should never get here */
-      assert(False);
+      /* we should handle things when we get here */
+      scwm_msg(WARN,"HandleClientMessage",
+               "Got client message with format = %d that is not handled.",
+               Event.xclient.format);
       break;
     } /* end switch */
     if (Event.xclient.window == Scr.Root) {

From owner-scwm-discuss@mit.edu  Mon Mar 29 00:37:01 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id AAA17397
	for scwm-discuss-outgoing; Mon, 29 Mar 1999 00:37:01 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id AAA17391
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 29 Mar 1999 00:36:59 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA13974; Mon, 29 Mar 99 00:37:13 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA01277; Sun, 28 Mar 1999 21:36:21 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: GUI Configuration support!
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Mar 1999 21:36:20 -0800
Message-Id: <qrr90cg26y3.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Ok, it's not pretty but see :

http://vicarious-existence.mit.edu/scwm/#preferences

for some links to screen shots for the GUI configuration stuff (using
guile-gtk) I hacked together recently.  This gets all put together
dynamically from stuff like:


(define-scwm-option *edge-scroll-delay* (edge-scroll-delay)
  "The edge scroll delay in milliseconds.
See `set-edge-scroll-delay!'. "
  #:type 'integer
  #:range '(0 . 5000)
  #:group 'virtual
  #:favorites '(0 250 500 1000)
  #:setter set-edge-scroll-delay!
  #:getter edge-scroll-delay
  )

(define-scwm-option *edge-move-threshold* (edge-move-threshold)
  "The edge move threshold in pixels.
See `set-edge-move-threshold!'. "
  #:type 'integer
  #:range '(0 . 200)
  #:group 'virtual
  #:favorites '(0 2 5 10 25)
  #:setter set-edge-move-threshold!
  #:getter edge-move-threshold
  )

It's completely functioning, but not yet particularly intuitive or
usable.

Greg

From owner-scwm-discuss@mit.edu  Mon Mar 29 04:42:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA20272
	for scwm-discuss-outgoing; Mon, 29 Mar 1999 04:42:17 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA20269
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 29 Mar 1999 04:42:14 -0500
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA23331; Mon, 29 Mar 99 04:41:26 EST
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id LAA28594
	for <scwm-discuss@mit.edu>; Mon, 29 Mar 1999 11:41:34 +0200 (MET DST)
Date: Mon, 29 Mar 1999 11:41:33 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@mit.edu
Subject: Re: window-properties
Message-Id: <19990329114133.C9387@youkaidi.irisa.fr>
References: <36FB8FC8.B4C9DB76@alum.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3us
In-Reply-To: <36FB8FC8.B4C9DB76@alum.mit.edu>; from Maciej Stachowiak on Fri, Mar 26, 1999 at 08:46:48AM -0500
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak wrote :
> PS : I know we'd like to get to 1.0 and here I am messing around
> with this random other stuff, but I really needed this to properly
> handle some of the Gnome hints (it's probably useful for KDE stuff
> as well) which I think is an important 1.0 goal.

Are you going to release an intermediate version before 1.0 ? I'd like
to test some of the new features but I don't know if the snapshots are
really stable enough to use on a regular basis.

-- 
Hubert Canon

From owner-scwm-discuss@mit.edu  Mon Mar 29 05:46:21 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA21186
	for scwm-discuss-outgoing; Mon, 29 Mar 1999 05:46:21 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA21183
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 29 Mar 1999 05:46:18 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA08241; Mon, 29 Mar 99 05:46:30 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id CAA01657; Mon, 29 Mar 1999 02:45:34 -0800 (PST)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@mit.edu
Subject: Re: window-properties
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <19990329114133.C9387@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Mar 1999 02:45:34 -0800
In-Reply-To: Hubert Canon's message of "Mon, 29 Mar 1999 11:41:33 +0200"
Message-Id: <qrrww00zi9d.fsf@elwha.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Maciej Stachowiak wrote :
> > PS : I know we'd like to get to 1.0 and here I am messing around
> > with this random other stuff, but I really needed this to properly
> > handle some of the Gnome hints (it's probably useful for KDE stuff
> > as well) which I think is an important 1.0 goal.
> 
> Are you going to release an intermediate version before 1.0 ? I'd like
> to test some of the new features but I don't know if the snapshots are
> really stable enough to use on a regular basis.

Well, I'm trying to do lots of code cleanup of the things I can think of 
that are either broken or really ugly in the source.  The latter has
resulted in my recently finding numerous bugs (while hopefully
introducing fewer!).  For sure there will be 1.0-test releases, but
perhaps we can pick some nights' snapshots as suggested trials to the
slightly more adventurous....

Maciej, thoughts on 1.0?  I've really got other stuff I need to be
spending my time on, so I'm going to not be hacking Scwm as much in the
next 5 weeks... I'm trying to get the stuff I need to get done RSN.

Greg

From owner-scwm-discuss@mit.edu  Mon Mar 29 07:13:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA22153
	for scwm-discuss-outgoing; Mon, 29 Mar 1999 07:13:18 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id HAA22150
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 29 Mar 1999 07:13:14 -0500
Received: from 209-122-231-175.s175.tnt4.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA14454; Mon, 29 Mar 99 07:13:24 EST
Received: (from mstx@localhost)
	by 209-122-231-175.s175.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id HAA23555;
	Mon, 29 Mar 1999 07:15:04 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: Hubert Canon <Hubert.Canon@irisa.fr>, scwm-discuss@mit.edu
Subject: Re: window-properties
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <19990329114133.C9387@youkaidi.irisa.fr> <qrrww00zi9d.fsf@elwha.cs.washington.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 29 Mar 1999 07:15:03 -0500
In-Reply-To: Greg Badros's message of "29 Mar 1999 02:45:34 -0800"
Message-Id: <m33e2obigo.fsf@209-122-231-175.s175.tnt4.sbo.ma.dialup.rcn.com>
Lines: 21
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Hubert Canon <Hubert.Canon@irisa.fr> writes:
> 
> Well, I'm trying to do lots of code cleanup of the things I can think of 
> that are either broken or really ugly in the source.  The latter has
> resulted in my recently finding numerous bugs (while hopefully
> introducing fewer!).  For sure there will be 1.0-test releases, but
> perhaps we can pick some nights' snapshots as suggested trials to the
> slightly more adventurous....
>
> Maciej, thoughts on 1.0?  I've really got other stuff I need to be
> spending my time on, so I'm going to not be hacking Scwm as much in the
> next 5 weeks... I'm trying to get the stuff I need to get done RSN.

I will have more time to hack and package stuff up from now on. I will
make at least one interim release (0.99.x or something) and I will
package 1.0 once we've hit all the feature list items and things look
stable.

 - Maciej

From owner-scwm-discuss@mit.edu  Mon Mar 29 07:46:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA22584
	for scwm-discuss-outgoing; Mon, 29 Mar 1999 07:46:03 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id HAA22578
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 29 Mar 1999 07:45:57 -0500
Received: from mars.zserv.tuwien.ac.at by MIT.EDU with SMTP
	id AA17993; Mon, 29 Mar 99 07:46:05 EST
Received: (qmail 19442 invoked by uid 524); 29 Mar 1999 12:45:15 -0000
To: scwm-discuss@mit.edu
Subject: Sound
X-Attribution: Robbe
From: Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at>
Date: 29 Mar 1999 14:45:15 +0200
Message-Id: <lf1zi8ihwk.fsf@mars.zserv.tuwien.ac.at>
Lines: 58
User-Agent: Gnus/5.070068 (Pterodactyl Gnus v0.68) XEmacs/20.4 (Emerald)
Organization: Ono-Sendai
Mime-Version: 1.0
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

I just checked in sound support for Scwm. It is in a shared library,
so people not caring about this can just ignore it.

You'll need two things:
1. A modern libtool. Unfortunately, libtool-1.2 will not suffice, you
   need a development version at the moment (from alpha.gnu.org).
   Scwm snapshots should be ok, since they include a recent ltconfig.
2. esound libraries (but esd need not run). Get it from ftp.gnome.org.
   Note that esound needs audiofile.

At the moment only an esd backend is provided (hence requirement 2).
The backend can also play sound to the local sound device if esd is
not running. The idea is that other backends using a similar interface 
can be added in the future (nas, rplay, you name it).

Furthermore, a high-level frontend will be built, that hides the gory
details, and allows the user to just state: "If a window goes sticky,
make this sound."

The low-level functions:

(sound-load FILE #&optional NAME)
Load sound from FILE, tagging it with NAME.
If NAME is not given, "scwm" is used.
Returns a sound object usable with the other sound functions.

(sound-unload SOUND)
Unload SOUND, freeing any resources it occupies.
SOUND must be an object returned by `sound-load'.

(sound-play SOUND)
Play SOUND.
SOUND must be an object returned by `sound-load'.

Every backend should provide these functions. `sound-(un)load' may be
no-ops.

The following is only relevant for the esdsound module:
(esd-reconnect #&optional HOST)
Connect to ESD on HOST.

Example use:

(use-modules (app scwm esdsound))
(define blip-snd (sound-load "/usr/share/sounds/blip.wav"))
(define swoosh-snd (sound-load "/usr/share/sounds/swoosh.wav"))
(sound-play blip-snd)
(sound-play swoosh-snd)
(sound-unload blip-snd)
(sound-unload swoosh-snd)

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Mon Mar 29 10:57:40 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA23448
	for scwm-discuss-outgoing; Mon, 29 Mar 1999 10:57:40 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA23445
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 29 Mar 1999 10:57:33 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA12976; Mon, 29 Mar 99 10:57:42 EST
Received: from Central.Sun.COM ([129.147.62.10])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with SMTP id HAA00846;
	Mon, 29 Mar 1999 07:56:57 -0800 (PST)
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id IAA13758; Mon, 29 Mar 1999 08:56:47 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1b+Sun/8.9.1) id IAA25607;
	Mon, 29 Mar 1999 08:56:48 -0700 (MST)
To: scwm-discuss@mit.edu
Cc: Eli Barzilay <eli@CS.Cornell.EDU>
Subject: edge-ops.scm (was Re: Several unrelated things.)
References: <14077.60356.49642.510261@mojave.cs.cornell.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Sam Falkner <samf@central.sun.com>
Date: 29 Mar 1999 08:56:48 -0700
In-Reply-To: Eli Barzilay's message of "Sun, 28 Mar 1999 03:43:48 -0500 (EST)"
Message-Id: <ii7u2v4gugv.fsf@central.sun.com>
Lines: 23
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

This is related to the message about "several unrelated things".  A
while back, I wrote an edge-ops.scm module, to replace the C versions
of edge-scrolling and edge-wrapping.  In fact, my volunteering to do
this is what got the edge hooks in there.

I offered it for putting into the CVS tree, but I must have fallen
through the cracks.  Could this be brought back to life, i.e. could
someone with CVS access look at my code, decide if it's okay (and if
not tell me what I can do), and put it back into the source base?

I'd like to get it back in as soon as possible, so that as people
write more edge-related things, they'll be more likely to be
compatible with my edge-ops stuff.

My code is at http://www.frii.com/~samf/edge-ops.scm

It will need to be tweaked when the C edge-scrolling and wrapping is
gone, and again when the "east vs. west" bug is fixed.

Let me know if you have any questions, or if there's anything I can do 
to speed this up -- thanks!

- Sam

From owner-scwm-discuss@mit.edu  Mon Mar 29 11:04:27 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA23512
	for scwm-discuss-outgoing; Mon, 29 Mar 1999 11:04:27 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA23509
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 29 Mar 1999 11:04:24 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA15293; Mon, 29 Mar 99 11:04:33 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Mon, 29 Mar 1999 11:02:17 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Mon, 29 Mar 1999 11:02:16 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id LAA22905;
	Mon, 29 Mar 1999 11:03:11 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: loading PNG
References: <m3ogld3vd8.fsf@eho.eaglets.com> <qrrhfr50x2d.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "28 Mar 1999 19:55:06 -0800"
Date: 29 Mar 1999 11:03:11 -0500
Message-Id: <m3k8w0p9kw.fsf@eho.eaglets.com>
Lines: 30
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrrhfr50x2d.fsf@elwha.cs.washington.edu>
>>>> On the subject of "Re: loading PNG"
>>>> Sent on 28 Mar 1999 19:55:06 -0800
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> Sam Steingold <sds@goems.com> writes:
 >> 
 >> > Can SCWM load PNG?
 >> >
 >> > [Scwm][load-xbm]: <<WARNING>> Could not load bitmap `/usr/share/pixmaps//iagno.png'
 >> 
 >> Not unless you're using the recently-added support for imlib (by
 >> using configure.imlib.in -- just updated in the repo for some bugs)
 >> and have imlib installed (and your imlib supports PNG format).

how do I use it?
currently I do

make maintainer-clean
./autogen.sh
CXX=g++
./configure --enable-maintainer-mode --with-lispdir=/usr/share/emacs/site-lisp/
make

how should I change this?

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
If it has syntax, it isn't user friendly.

From owner-scwm-discuss@mit.edu  Mon Mar 29 11:15:31 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA23755
	for scwm-discuss-outgoing; Mon, 29 Mar 1999 11:15:31 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA23752
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 29 Mar 1999 11:15:28 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA19667; Mon, 29 Mar 99 11:15:36 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Mon, 29 Mar 1999 11:13:49 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Mon, 29 Mar 1999 11:13:49 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id LAA24470;
	Mon, 29 Mar 1999 11:14:43 -0500
To: scwm-discuss@mit.edu
Subject: Re: Sound
References: <lf1zi8ihwk.fsf@mars.zserv.tuwien.ac.at>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Robert Bihlmeyer's message of "29 Mar 1999 14:45:15 +0200"
Date: 29 Mar 1999 11:14:43 -0500
Message-Id: <m3emm8p91o.fsf@eho.eaglets.com>
Lines: 22
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <lf1zi8ihwk.fsf@mars.zserv.tuwien.ac.at>
>>>> On the subject of "Sound"
>>>> Sent on 29 Mar 1999 14:45:15 +0200
>>>> Honorable Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at> writes:
 >> 
 >> I just checked in sound support for Scwm. It is in a shared library,
 >> so people not caring about this can just ignore it.

cool!  I suspect that you are responsible for this :-)

aclocal: configure.in: 289: macro `AM_PATH_ESD' not found in library
make: *** [aclocal.m4] Error 1

./configure: line 4073: syntax error near unexpected token `AM_PATH_ESD(0.2.7,'
./configure: line 4073: `AM_PATH_ESD(0.2.7, HAVE_ESD=yes, HAVE_ESD=no)'


-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
A man paints with his brains and not with his hands.

From owner-scwm-discuss@mit.edu  Mon Mar 29 11:20:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA23825
	for scwm-discuss-outgoing; Mon, 29 Mar 1999 11:20:18 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA23822
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 29 Mar 1999 11:20:16 -0500
Received: from zanshin.gsfc.nasa.gov by MIT.EDU with SMTP
	id AA21732; Mon, 29 Mar 99 11:20:24 EST
Received: from [128.183.191.1] by zanshin.gsfc.nasa.gov (AppleShare IP Mail Server 6.1) id 22764 via TCP with SMTP; Mon, 29 Mar 1999 11:19:34 -0500
Message-Id: <v03130300b3255649af48@[128.183.191.1]>
In-Reply-To: <19990329105650718-1a10fff6@central.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Mon, 29 Mar 1999 11:19:24 -0500
To: scwm-discuss@mit.edu
From: John Kodis <kodis@zanshin.gsfc.nasa.gov>
Subject: Re: edge-ops.scm (was Re: Several unrelated things.)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

> A while back, I wrote an edge-ops.scm module, to replace the C versions
> of edge-scrolling and edge-wrapping.

One thing that I found disconcerting about the operation of the edge-scroll
operations was that they only allow scrolls to the N, S, E, or W.  I kept
trying to scroll to the NW by jamming the cursor into the top left corner
of the screen, and was initially puzzled at why the viewport only moved to
the N and not to the W (or vise versa).

If you're working in this area of the code anyway, this seems like
something that should be fairly easy to implement, and that would make
edge-hook operations much more intuitive.  Since I haven't looked at the
code, let me appologize in advance for the waste of bandwidth if you've
already done this.

-- John Kodis.




From owner-scwm-discuss@mit.edu  Mon Mar 29 14:32:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA24943
	for scwm-discuss-outgoing; Mon, 29 Mar 1999 14:32:13 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA24939
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 29 Mar 1999 14:32:10 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA16024; Mon, 29 Mar 99 14:31:17 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id VAA10635
	for scwm-discuss@mit.edu; Mon, 29 Mar 1999 21:20:25 +0200 (MET DST)
Received: (qmail 893 invoked by uid 115); 29 Mar 1999 16:20:40 -0000
To: scwm-discuss@mit.edu
Subject: Re: suggestion: scwm user-centered mailing list?
References: <99032816325900.04423@nucleus>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 29 Mar 1999 18:20:39 +0200
In-Reply-To: pgarcia's message of "Sun, 28 Mar 1999 16:07:13 -0600"
Message-Id: <wshfr41d48.fsf@orcus.priv.at>
Lines: 25
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Sun, 28 Mar 1999 16:07:13 -0600
>>>>> pgarcia <pgarcia@execpc.com> said:

 pgarcia> Perhaps users such as myself would benefit from the creation
 pgarcia> of a separate list; I personally don't read much of the
 pgarcia> traffic on this one, but I am interested in what other users
 pgarcia> are doing with scwm.

While not being strictly against another mailing list, I think that
scwm-discuss can still handle additional traffic. So if you want to
discuss "user issues", feel free!

 pgarcia> When you visit themes.org, it would seem that the current
 pgarcia> wm's of choice in this area are E and Window Maker.

Indeed. Not that you'd have much problems implementing cool gizmos
with Scwm. But most of its users seem to have other concerns ...

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Mon Mar 29 14:32:12 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA24942
	for scwm-discuss-outgoing; Mon, 29 Mar 1999 14:32:12 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA24935
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 29 Mar 1999 14:32:09 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA16019; Mon, 29 Mar 99 14:31:15 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id VAA10639
	for scwm-discuss@mit.edu; Mon, 29 Mar 1999 21:20:28 +0200 (MET DST)
Received: (qmail 920 invoked by uid 115); 29 Mar 1999 16:47:30 -0000
To: scwm-discuss@mit.edu
Subject: Bug tracking system
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 29 Mar 1999 18:47:30 +0200
Message-Id: <wsaeww1bvh.fsf@orcus.priv.at>
Lines: 28
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

I went shopping for a good bug tracking system for Scwm. My findings:

* Bugzilla: Looks ok, if a bit baroque. Backing/usage by the Mozilla
crowd will definitely keep it alive for some time. The knock-out
criterion was that I found no instructions how to send and handle
bug reports solely by mail. This is crucial for me at least, as I have 
no direct connectivity while working on Scwm.

* Jitterbug: Reporting by mail is possible, the interface is ok, I
missed distinction and sorting by area (only bug-status is
differentiated).

* Gnats: Old. No "official" web-interface, although add-ons exist.
Future support is dubious.

* Gnome's: (I think this came from FreeBSD.) I like this best.
Reporting by mail works (very much like Gnat's send-pr).
Classification is done by "Package". Web interface is fine enough. The 
Gnomers also have a mailing list where one can receive *all* bug
reports.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Mon Mar 29 14:32:40 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA24951
	for scwm-discuss-outgoing; Mon, 29 Mar 1999 14:32:40 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA24948
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 29 Mar 1999 14:32:36 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA16120; Mon, 29 Mar 99 14:31:43 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id VAA10636
	for scwm-discuss@mit.edu; Mon, 29 Mar 1999 21:20:26 +0200 (MET DST)
Received: (qmail 904 invoked by uid 115); 29 Mar 1999 16:28:51 -0000
To: scwm-discuss@mit.edu
Subject: Re: loading PNG
References: <m3ogld3vd8.fsf@eho.eaglets.com> <qrrhfr50x2d.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 29 Mar 1999 18:28:51 +0200
In-Reply-To: Greg Badros's message of "28 Mar 1999 19:55:06 -0800"
Message-Id: <wsemm81cqk.fsf@orcus.priv.at>
Lines: 27
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 28 Mar 1999 19:55:06 -0800
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> Not unless you're using the recently-added support for imlib
 Greg> (by using configure.imlib.in -- just updated in the repo for
 Greg> some bugs) and have imlib installed (and your imlib supports
 Greg> PNG format).

Any particular reason why you didn't just drop the magic into
configure.in? Does imlib not mix well with other things?

Also, we should perhaps put this image stuff into a dynamic module.

 Greg> Anybody know how to make imlib happier on 8-bit displays? It
 Greg> seems to grab lots of colors right away.

You can tweak imlib's palette with imlib-config. Either make it use
less colors ("Set Last" button), or match colors to the ones your
other programs are using (at least I think this should work).

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Mon Mar 29 15:13:08 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA25373
	for scwm-discuss-outgoing; Mon, 29 Mar 1999 15:13:08 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA25370
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 29 Mar 1999 15:13:05 -0500
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA13511; Mon, 29 Mar 99 15:13:11 EST
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Mon, 29 Mar 1999 15:11:25 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Mon, 29 Mar 1999 15:11:25 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id PAA26348;
	Mon, 29 Mar 1999 15:12:18 -0500
To: scwm-discuss@mit.edu
Subject: Re: Bug tracking system
References: <wsaeww1bvh.fsf@orcus.priv.at>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Robert Bihlmeyer's message of "29 Mar 1999 18:47:30 +0200"
Date: 29 Mar 1999 15:12:18 -0500
Message-Id: <m3k8w0njh9.fsf@eho.eaglets.com>
Lines: 36
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <wsaeww1bvh.fsf@orcus.priv.at>
>>>> On the subject of "Bug tracking system"
>>>> Sent on 29 Mar 1999 18:47:30 +0200
>>>> Honorable Robert Bihlmeyer <robbe@orcus.priv.at> writes:
 >> 
 >> I went shopping for a good bug tracking system for Scwm. My findings:
 >> 
 >> * Bugzilla: Looks ok, if a bit baroque. Backing/usage by the Mozilla
 >> crowd will definitely keep it alive for some time. The knock-out
 >> criterion was that I found no instructions how to send and handle
 >> bug reports solely by mail. This is crucial for me at least, as I
 >> have no direct connectivity while working on Scwm.

I like it.

 >> * Gnome's: (I think this came from FreeBSD.) I like this best.
 >> Reporting by mail works (very much like Gnat's send-pr).
 >> Classification is done by "Package". Web interface is fine
 >> enough. The Gnomers also have a mailing list where one can receive
 >> *all* bug reports.

I am **VEHEMENTLY** opposed to this one.
About half (!!!) of the bug reports I sent there came back with a
completely unintelligible error message.  This is very discouraging, and
we want to encourage the users to report bugs, right?

Any attempt of the user to report a bug should be successful.
Otherwise we are in the recursive realm of

Cannot handle the fatal error due to a fatal error in the fatal error handler.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Type louder, please.

From owner-scwm-discuss@mit.edu  Mon Mar 29 17:24:28 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA26085
	for scwm-discuss-outgoing; Mon, 29 Mar 1999 17:24:28 -0500
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA26082
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 29 Mar 1999 17:24:25 -0500
Received: from andelain.neonsoft.com by MIT.EDU with SMTP
	id AA04070; Mon, 29 Mar 99 17:24:18 EST
Received: from localhost (jsquire@localhost)
	by andelain.neonsoft.com (8.8.7/8.8.7) with ESMTP id PAA29873
	for <scwm-discuss@mit.edu>; Mon, 29 Mar 1999 15:24:07 -0700
X-Authentication-Warning: andelain.neonsoft.com: jsquire owned process doing -bs
Date: Mon, 29 Mar 1999 15:24:07 -0700 (MST)
From: Joel Squire <jsquire@neonsoft.com>
To: Scwm Discuss List <scwm-discuss@mit.edu>
Subject: Mouse Event handling patch
Message-Id: <Pine.LNX.4.04.9903291456570.29866-100000@andelain.neonsoft.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Hi folks!

I've been playing with scwm and I think it has a lot of promise. The
current pause while clicking on title bars annoys me, so I decided to try
and fix it. Attached is a patch for what I have so far. As it stands,
highlighting is funky, and I plan to work on that next. Anyway, I wanted
to see if anybody had any comments on the implementaton. In particular,
how attached are people to not seeing 'click' events before 'double-click'
events?

Also, after reading through the upcoming development proposals, and my
brief foray into the source code, I have to wonder if it wouldn't be
easier to discard the fvwm code and rewrite the scwm C core from scratch?

Patch follows...

Index: Makefile.am
===================================================================
RCS file: /anoncvs/scwm/scwm/Makefile.am,v
retrieving revision 1.47
diff -u -w -r1.47 Makefile.am
--- Makefile.am	1999/03/16 23:38:47	1.47
+++ Makefile.am	1999/03/29 21:54:46
@@ -13,7 +13,6 @@
                 color.c \
                 colormaps.c \
                 colors.c \
-                complex.c \
                 decor.c \
                 decorations.c \
                 deskpage.c \
@@ -70,7 +69,7 @@
 add_window.h focus.h screen.h binding.h font.h scwm-constraints.h \
 borders.h getopt.h scwm-snarf.h callbacks.h guile-compat.h scwm.h \
 color.h icons.h session-manager.h colormaps.h image.h shutdown.h \
-colors.h log-usage.h string_token.h complex.h menu.h syscompat.h \
+colors.h log-usage.h string_token.h menu.h syscompat.h \
 constraint-primitives.h menuitem.h system.h decor.h menulook.h util.h \
 decorations.h miscprocs.h virtual.h deskpage.h module-interface.h window.h \
 drawmenu.h module-types.h xmisc.h errors.h move.h window_fwd.h deskpage.h \
Index: add_window.c
===================================================================
RCS file: /anoncvs/scwm/scwm/add_window.c,v
retrieving revision 1.100
diff -u -w -r1.100 add_window.c
--- add_window.c	1999/03/26 18:05:32	1.100
+++ add_window.c	1999/03/29 21:54:46
@@ -473,7 +473,7 @@
 
 
   attributes.event_mask = (ButtonPressMask | ButtonReleaseMask | ExposureMask |
-			   EnterWindowMask | LeaveWindowMask);
+			   EnterWindowMask | LeaveWindowMask | ButtonMotionMask);
   psw->title_x = psw->title_y = 0;
   psw->title_w = 0;
   psw->title_width = frame_width - 2 * psw->corner_width - 3 + psw->bw;
Index: binding.c
===================================================================
RCS file: /anoncvs/scwm/scwm/binding.c,v
retrieving revision 1.73
diff -u -w -r1.73 binding.c
--- binding.c	1999/03/28 22:19:27	1.73
+++ binding.c	1999/03/29 21:54:46
@@ -20,7 +20,6 @@
 #include "window.h"
 #include "decor.h"
 #include "errors.h"
-#include "complex.h"
 #include "util.h"
 #include "add_window.h"
 #include "xmisc.h"
@@ -31,13 +30,6 @@
 #endif
 
 
-/* also used by window.c's set-window-focus! */
-SCWM_GLOBAL_SYMBOL(sym_click,"click");
-
-SCWM_SYMBOL(sym_motion,"motion");
-SCWM_SYMBOL(sym_one_and_a_half_clicks,"one-and-a-half-clicks");
-SCWM_SYMBOL(sym_double_click,"double-click");
-
 SCWM_SYMBOL(sym_shift,"shift");
 SCWM_SYMBOL(sym_control,"control");
 SCWM_SYMBOL(sym_meta,"meta");
@@ -985,61 +977,6 @@
 #endif
   }
   return SCM_UNSPECIFIED;
-}
-#undef FUNC_NAME
-
-
-
-
-
-
-
-/* to distinguish click, double-click, move */
-
-SCM mouse_ev_type = SCM_BOOL_F;
-
-Bool have_orig_position = False;
-int orig_x, orig_y;
-
-void 
-find_mouse_event_type()
-{
-  XEvent d;
-
-  gh_defer_ints();
-  WXGetPointerWindowOffsets(Scr.Root, &orig_x, &orig_y);
-  have_orig_position = True;
-
-  mouse_ev_type = sym_motion;
-  if (IsClick(orig_x, orig_y, ButtonReleaseMask, &d)) {
-    mouse_ev_type = sym_click;
-    /* If it was a click, wait to see if its a double click */
-    if (IsClick(orig_x, orig_y, ButtonPressMask, &d)) {
-      mouse_ev_type = sym_one_and_a_half_clicks;
-      if (IsClick(orig_x, orig_y, ButtonReleaseMask, &d)) {
-	mouse_ev_type = sym_double_click;
-      }
-    }
-  }
-  gh_allow_ints();
-}
-
-void 
-clear_mouse_event_type()
-{
-  have_orig_position = False;
-  mouse_ev_type = SCM_BOOL_F;
-}
-
-SCWM_PROC(mouse_event_type, "mouse-event-type", 0, 0, 0,
-          ())
-     /** Return a symbol corresponding to the type of the most recent mouse event.
-Return value is one of 'motion, 'click, 'one-and-a-half-clicks, 'double-click.
-You can `case' on this symbol in a procedure bound to a mouse event
-to determine, e.g., whether the user single clicked or double clicked. */
-#define FUNC_NAME s_mouse_event_type
-{
-  return mouse_ev_type;
 }
 #undef FUNC_NAME
 
Index: events.c
===================================================================
RCS file: /anoncvs/scwm/scwm/events.c,v
retrieving revision 1.141
diff -u -w -r1.141 events.c
--- events.c	1999/03/29 10:46:40	1.141
+++ events.c	1999/03/29 21:54:46
@@ -184,6 +184,16 @@
 extern int ShapeEventBase;
 void HandleShapeNotify(void);
 
+/* For HandleMouseEvent */
+int orig_x, orig_y; 
+Bool have_orig_position = False;
+SCM mouse_ev_type = SCM_BOOL_F;
+
+/* also used by window.c's set-window-focus! */
+SCWM_GLOBAL_SYMBOL(sym_click,"click");
+SCWM_SYMBOL(sym_motion,"motion");
+SCWM_SYMBOL(sym_one_and_a_half_clicks,"one-and-a-half-clicks");
+SCWM_SYMBOL(sym_double_click,"double-click");
 
 Window PressedW;
 
@@ -217,7 +227,8 @@
   EventHandlerJumpTable[MapRequest] = HandleMapRequest;
   EventHandlerJumpTable[MapNotify] = HandleMapNotify;
   EventHandlerJumpTable[UnmapNotify] = HandleUnmapNotify;
-  EventHandlerJumpTable[ButtonPress] = HandleButtonPress;
+  EventHandlerJumpTable[ButtonPress] = HandleMouseEvent;
+  EventHandlerJumpTable[ButtonRelease] = HandleMouseEvent;
   EventHandlerJumpTable[EnterNotify] = HandleEnterNotify;
   EventHandlerJumpTable[LeaveNotify] = HandleLeaveNotify;
   EventHandlerJumpTable[FocusIn] = HandleFocusIn;
@@ -1306,24 +1317,9 @@
   XFlush(dpy);
 }
 
-
-/***********************************************************************
- *
- *  Procedure:
- *	HandleButtonPress - ButtonPress event handler
- *
- ***********************************************************************/
-void 
-HandleButtonPress()
-#define FUNC_NAME "HandleButtonPress"
+void DoClickToFocusStuff() 
+#define FUNC_NAME DoClickToFocusStuff
 {
-  unsigned int modifier;
-  Binding *MouseEntry;
-  Window x;
-  int LocalContext;
-
-  DBUG((DBG,"HandleButtonPress", "Routine Entered"));
-
   /* click to focus stuff goes here */
   if (pswCurrent && pswCurrent->fClickToFocus
       && !pswCurrent->fSloppyFocus
@@ -1378,26 +1374,81 @@
   XSync(dpy, 0);
   XAllowEvents(dpy, ReplayPointer, CurrentTime);
   XSync(dpy, 0);
+}
+#undef FUNC_NAME
 
+/***********************************************************************
+ *
+ *  Procedure:
+ *	HandleMouseEvent - Mouse events handler
+ *
+ ************************************************************************/
+void 
+HandleMouseEvent()
+#define FUNC_NAME HandleMouseEvent
+{
+  unsigned int modifier;
+  static int last_x, last_y;
+  static unsigned int last_button_pressed;
+  static Time last_state_change;
+  Time delta_t;
+  Binding *MouseEntry;
+  SCM new_mouse_ev_type = SCM_BOOL_F;
+
+  StashEventTime(&Event); /* Stuffs timestamp into lastTimestamp */
+  delta_t = lastTimestamp - last_state_change;
+
   Context = GetContext(pswCurrent, &Event, &PressedW);
-  LocalContext = Context;
-  x = PressedW;
-  if (Context == C_TITLE)
-    SetTitleBar(pswCurrent, (Scr.Hilite == pswCurrent), False);
-  else
-    SetBorder(pswCurrent, (Scr.Hilite == pswCurrent), True, True, PressedW);
 
-  ButtonWindow = pswCurrent;
+  WXGetPointerWindowOffsets(Scr.Root, &orig_x, &orig_y);
+  have_orig_position = True; /* JNS XXX figure out what this is for */
 
-  /* we have to execute a function or pop up a menu
-   */
+  switch (Event.type) {
+    case ButtonPress:
+      if (mouse_ev_type == sym_click && delta_t < Scr.ClickTime)
+        new_mouse_ev_type = sym_one_and_a_half_clicks;
+      else { /* Handle new mouse-down event */
+        DoClickToFocusStuff();
+        last_state_change = lastTimestamp; 
+      }
+      last_x = orig_x;
+      last_y = orig_y;
+      /* So we can associate movement with the last button pressed */
+      last_button_pressed = Event.xbutton.button;
+      EventHandlerJumpTable[MotionNotify] = HandleMouseEvent;
+      break;
+    case MotionNotify:
+      if ( abs(orig_x - last_x) > 3 || abs(orig_y - last_y) > 3 ||
+           delta_t > Scr.ClickTime ) {
+        new_mouse_ev_type = sym_motion;
+        last_state_change = lastTimestamp;
+      }
+      break;
+    case ButtonRelease:
+      if (delta_t < Scr.ClickTime && 
+		      mouse_ev_type == sym_one_and_a_half_clicks)
+        new_mouse_ev_type = sym_double_click;
+      else
+        new_mouse_ev_type = sym_click;
+      last_state_change = lastTimestamp;
+      EventHandlerJumpTable[MotionNotify] = NULL;
+      break;
+    default:
+      scwm_msg(DBG,FUNC_NAME, "Got weird event in process_mouse_events!");
+      break;
+  }
 
+  if ( new_mouse_ev_type ) {
+    mouse_ev_type = new_mouse_ev_type;
   modifier = (Event.xbutton.state & mods_used);
+
   /* need to search for an appropriate mouse binding */
   for (MouseEntry = Scr.AllBindings; MouseEntry != NULL;
        MouseEntry = MouseEntry->NextBinding) {
     if (((MouseEntry->Button_Key == Event.xbutton.button) ||
-	 (MouseEntry->Button_Key == 0)) &&
+        (MouseEntry->Button_Key == 0) ||
+        ((mouse_ev_type == sym_motion) && 
+         (MouseEntry->Button_Key == last_button_pressed))) &&
 	(MouseEntry->Context & Context) &&
 	((MouseEntry->Modifier == AnyModifier) ||
 	 (MouseEntry->Modifier == (modifier & (~LockMask)))) &&
@@ -1406,21 +1457,32 @@
       if (NULL != pswCurrent) {
         set_window_context(pswCurrent->schwin);
       }
-      find_mouse_event_type();
       scwm_safe_call0(MouseEntry->Thunk);
-      clear_mouse_event_type();
+
       if (NULL != pswCurrent) {
         unset_window_context();
       }
+
+        if (mouse_ev_type == sym_motion) {
+           have_orig_position = False;
+           mouse_ev_type = SCM_BOOL_F;
+        }
       break;
     }
   }
-  PressedW = None;
-  if (LocalContext != C_TITLE)
-    SetBorder(ButtonWindow, (Scr.Hilite == ButtonWindow), True, True, x);
-  else
-    SetTitleBar(ButtonWindow, (Scr.Hilite == ButtonWindow), False);
-  ButtonWindow = NULL;
+  }
+}
+#undef FUNC_NAME
+
+SCWM_PROC(mouse_event_type, "mouse-event-type", 0, 0, 0,
+          ())
+     /** Return a symbol corresponding to the type of the most recent mouse event.
+Return value is one of 'motion, 'click, 'one-and-a-half-clicks, 'double-click.
+You can `case' on this symbol in a procedure bound to a mouse event
+to determine, e.g., whether the user single clicked or double clicked. */
+#define FUNC_NAME s_mouse_event_type
+{
+  return mouse_ev_type;
 }
 #undef FUNC_NAME
 
Index: events.h
===================================================================
RCS file: /anoncvs/scwm/scwm/events.h,v
retrieving revision 1.18
diff -u -w -r1.18 events.h
--- events.h	1999/03/28 08:29:10	1.18
+++ events.h	1999/03/29 21:54:46
@@ -45,7 +45,7 @@
 void HandleMapRequestKeepRaised(Window keepraised);
 void HandleMapNotify(void);
 void HandleUnmapNotify(void);
-void HandleButtonPress(void);
+void HandleMouseEvent(void);
 void HandleEnterNotify(void);
 void HandleLeaveNotify(void);
 void HandleConfigureRequest(void);

-- 
Joel Squire <jsquire@neonsoft.com>		Phone	(303) 409-9636
UNIX Systems Administrator			Fax	(303) 694-3885


From owner-scwm-discuss@mit.edu  Mon Mar 29 18:18:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA26368
	for scwm-discuss-outgoing; Mon, 29 Mar 1999 18:18:29 -0500
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA26365
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 29 Mar 1999 18:18:14 -0500
From: jay@vh213601.truman.edu
Received: from vh213601.truman.edu by MIT.EDU with SMTP
	id AA21280; Mon, 29 Mar 99 18:17:19 EST
Received: (from jay@localhost)
	by vh213601.truman.edu (8.8.7/8.8.7) id RAA02358;
	Mon, 29 Mar 1999 17:18:13 -0600
Date: Mon, 29 Mar 1999 17:18:13 -0600
Message-Id: <199903292318.RAA02358@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
To: scwm-discuss@mit.edu
In-Reply-To: <wsaewxq4w6.fsf_-_@orcus.priv.at> (message from Robert Bihlmeyer
	on 28 Mar 1999 12:34:33 +0200)
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


> I beg anyone having Gnome on their machine, or the urge to install it,
> to try it with Scwm. Just add & select Scwm in the "Window Manager"
> settings. This will greatly help us stamp out Gnome+Scwm bugs before
> 1.0.

I don't have the Scwm option in the Window Manager setting (I'm
using control-center 1.0.4), I just have 
scwm &
gnome-session
in my .xinit file.  It seems to work fine, except that when I slide
the panel to a side by clicking on the little arrow at the side, all
of my applications appear on the screen (normally they are on
different virtual screens) without title bars.  (I'm using the
snapshot from March 24, which calls itself 0.99.1, according to the
spec file.)

Jay

From owner-scwm-discuss@mit.edu  Mon Mar 29 19:12:32 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA26769
	for scwm-discuss-outgoing; Mon, 29 Mar 1999 19:12:32 -0500
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA26766
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 29 Mar 1999 19:12:23 -0500
From: jay@vh213601.truman.edu
Received: from vh213601.truman.edu by MIT.EDU with SMTP
	id AA01178; Mon, 29 Mar 99 19:11:26 EST
Received: (from jay@localhost)
	by vh213601.truman.edu (8.8.7/8.8.7) id SAA08989;
	Mon, 29 Mar 1999 18:12:29 -0600
Date: Mon, 29 Mar 1999 18:12:29 -0600
Message-Id: <199903300012.SAA08989@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
To: scwm-discuss@mit.edu
In-Reply-To: <199903292318.RAA02358@vh213601.truman.edu>
	(jay@vh213601.truman.edu)
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <199903292318.RAA02358@vh213601.truman.edu>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

> ... It seems to work fine, except that when I slide
> the panel to a side by clicking on the little arrow at the side, all
> of my applications appear on the screen (normally they are on
> different virtual screens) without title bars.  (I'm using the
> snapshot from March 24, which calls itself 0.99.1, according to the
> spec file.)

I guess that's caused by Scwm dying.  Is that a problem with Scwm or
gnome? 
I tried installing the latest snapshot.  Then, the panel would cover
up any windows that were too low, so I reinstalled my older 0.99.1.
The first time I started it up, the panel had a border to it, but when
I restarted it, the border was gone, and now all is well.


From owner-scwm-discuss@mit.edu  Mon Mar 29 22:07:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA27584
	for scwm-discuss-outgoing; Mon, 29 Mar 1999 22:07:59 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA27581
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 29 Mar 1999 22:07:56 -0500
Received: from 207-172-216-8.s8.tnt1.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA06453; Mon, 29 Mar 99 22:06:58 EST
Received: (from mstx@localhost)
	by 209-122-231-175.s175.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id WAA10486;
	Mon, 29 Mar 1999 22:09:42 -0500
To: scwm-discuss@mit.edu
Subject: Re: Sound
References: <lf1zi8ihwk.fsf@mars.zserv.tuwien.ac.at> <m3emm8p91o.fsf@eho.eaglets.com>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 29 Mar 1999 22:09:39 -0500
In-Reply-To: Sam Steingold's message of "29 Mar 1999 11:14:43 -0500"
Message-Id: <m3hfr365cc.fsf@209-122-231-175.s175.tnt4.sbo.ma.dialup.rcn.com>
Lines: 31
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> >>>> In message <lf1zi8ihwk.fsf@mars.zserv.tuwien.ac.at>
> >>>> On the subject of "Sound"
> >>>> Sent on 29 Mar 1999 14:45:15 +0200
> >>>> Honorable Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at> writes:
>  >> 
>  >> I just checked in sound support for Scwm. It is in a shared library,
>  >> so people not caring about this can just ignore it.
> 
> cool!  I suspect that you are responsible for this :-)
> 
> aclocal: configure.in: 289: macro `AM_PATH_ESD' not found in library
> make: *** [aclocal.m4] Error 1
> 
> ./configure: line 4073: syntax error near unexpected token `AM_PATH_ESD(0.2.7,'
> ./configure: line 4073: `AM_PATH_ESD(0.2.7, HAVE_ESD=yes, HAVE_ESD=no)'
> 

Yep, this is actually related to the reason Imlib support didn't get
put in the default configure.in. We need to copy the .m4 macro file
for each external package of this sort we want to support, so that
people who do not have it can compile properly. I set this up in what
I think is a vaguely correct way for gtk.m4, someone needs to do the
same for the Imlib and sound stuff.

BTW, the sound support is cool. Glad to see so much scwm hacking going
on.

  - Maciej


From owner-scwm-discuss@mit.edu  Mon Mar 29 22:09:55 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA27601
	for scwm-discuss-outgoing; Mon, 29 Mar 1999 22:09:55 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA27598
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 29 Mar 1999 22:09:52 -0500
Received: from 207-172-216-8.s8.tnt1.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA06774; Mon, 29 Mar 99 22:08:50 EST
Received: (from mstx@localhost)
	by 209-122-231-175.s175.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id WAA10489;
	Mon, 29 Mar 1999 22:11:33 -0500
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Bug tracking system
References: <wsaeww1bvh.fsf@orcus.priv.at>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 29 Mar 1999 22:11:32 -0500
In-Reply-To: Robert Bihlmeyer's message of "29 Mar 1999 18:47:30 +0200"
Message-Id: <m3g16n6597.fsf@209-122-231-175.s175.tnt4.sbo.ma.dialup.rcn.com>
Lines: 18
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

[ bug tracking systems ]

> * Gnome's: (I think this came from FreeBSD.) I like this best.
> Reporting by mail works (very much like Gnat's send-pr).
> Classification is done by "Package". Web interface is fine enough. The 
> Gnomers also have a mailing list where one can receive *all* bug
> reports.

I think from Debian actually. I would be in favor of this system were
it not for the reports of problems with reporting bugs on the Gnome
site. However, it works very well for Debian apparently. If not this I
guess we should go with Jitterbug because the lack of email support in
bugzilla is a big minus.

 - Maciej


From owner-scwm-discuss@mit.edu  Tue Mar 30 00:35:14 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id AAA28365
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 00:35:14 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id AAA28361
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 00:35:10 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA01898; Tue, 30 Mar 99 00:34:12 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA02844; Mon, 29 Mar 1999 21:34:17 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: window-properties
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <19990329114133.C9387@youkaidi.irisa.fr> <qrrww00zi9d.fsf@elwha.cs.washington.edu> <m33e2obigo.fsf@209-122-231-175.s175.tnt4.sbo.ma.dialup.rcn.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Mar 1999 21:34:17 -0800
In-Reply-To: Maciej Stachowiak's message of "29 Mar 1999 07:15:03 -0500"
Message-Id: <qrrr9q7ilra.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > Hubert Canon <Hubert.Canon@irisa.fr> writes:
> > 
> > Well, I'm trying to do lots of code cleanup of the things I can think of 
> > that are either broken or really ugly in the source.  The latter has
> > resulted in my recently finding numerous bugs (while hopefully
> > introducing fewer!).  For sure there will be 1.0-test releases, but
> > perhaps we can pick some nights' snapshots as suggested trials to the
> > slightly more adventurous....
> >
> > Maciej, thoughts on 1.0?  I've really got other stuff I need to be
> > spending my time on, so I'm going to not be hacking Scwm as much in the
> > next 5 weeks... I'm trying to get the stuff I need to get done RSN.
> 
> I will have more time to hack and package stuff up from now on. I will
> make at least one interim release (0.99.x or something) and I will
> package 1.0 once we've hit all the feature list items and things look
> stable.

Sounds good.  WRT version numbers, you may have noticed that I already
bumped to .99.1-- we should have a better convention for how we number
things in between labelled releases.  What are your thoughts on this?
It's certainly bad to not change the number after a release, but it's
also not right to bump to the next labelled release name.  Maybe
post-0.9 or pre-0.99?

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 30 00:40:49 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id AAA28410
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 00:40:49 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id AAA28407
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 00:40:46 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA13947; Tue, 30 Mar 99 00:40:49 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA02866; Mon, 29 Mar 1999 21:39:57 -0800 (PST)
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: loading PNG
References: <m3ogld3vd8.fsf@eho.eaglets.com> <qrrhfr50x2d.fsf@elwha.cs.washington.edu> <m3k8w0p9kw.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Mar 1999 21:39:57 -0800
In-Reply-To: Sam Steingold's message of "29 Mar 1999 11:03:11 -0500"
Message-Id: <qrroglbilhu.fsf@elwha.cs.washington.edu>
Lines: 36
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> >>>> In message <qrrhfr50x2d.fsf@elwha.cs.washington.edu>
> >>>> On the subject of "Re: loading PNG"
> >>>> Sent on 28 Mar 1999 19:55:06 -0800
> >>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
>  >> Sam Steingold <sds@goems.com> writes:
>  >> 
>  >> > Can SCWM load PNG?
>  >> >
>  >> > [Scwm][load-xbm]: <<WARNING>> Could not load bitmap `/usr/share/pixmaps//iagno.png'
>  >> 
>  >> Not unless you're using the recently-added support for imlib (by
>  >> using configure.imlib.in -- just updated in the repo for some bugs)
>  >> and have imlib installed (and your imlib supports PNG format).
> 
> how do I use it?
> currently I do
> 
> make maintainer-clean
> ./autogen.sh
> CXX=g++
> ./configure --enable-maintainer-mode --with-lispdir=/usr/share/emacs/site-lisp/
> make
> 
> how should I change this?

Unfortunately, it's a pain.  cp configure.imlib.in configure.in, then do 
the above and it should work (if you've already got imlib installed, etc.).


We will fold in the autoconf support, but Maciej mentioned some magic
was needed liike what we do for gtk, but I don't know what we do for gtk 
and  decided I'd leave it for later.

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 30 01:42:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA28873
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 01:42:37 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA28870
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 01:42:32 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA21924; Tue, 30 Mar 99 01:42:34 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA03137; Mon, 29 Mar 1999 22:41:39 -0800 (PST)
To: jay@vh213601.truman.edu
Cc: scwm-discuss@mit.edu
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <199903292318.RAA02358@vh213601.truman.edu> <199903300012.SAA08989@vh213601.truman.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Mar 1999 22:41:39 -0800
In-Reply-To: jay@vh213601.truman.edu's message of "Mon, 29 Mar 1999 18:12:29 -0600"
Message-Id: <qrrr9q7wkbg.fsf@elwha.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

jay@vh213601.truman.edu writes:

> > ... It seems to work fine, except that when I slide
> > the panel to a side by clicking on the little arrow at the side, all
> > of my applications appear on the screen (normally they are on
> > different virtual screens) without title bars.  (I'm using the
> > snapshot from March 24, which calls itself 0.99.1, according to the
> > spec file.)
> 
> I guess that's caused by Scwm dying.  Is that a problem with Scwm or
> gnome? 
> I tried installing the latest snapshot.  Then, the panel would cover
> up any windows that were too low, so I reinstalled my older 0.99.1.
> The first time I started it up, the panel had a border to it, but when
> I restarted it, the border was gone, and now all is well.

Yep-- that's scwm crashing... please send in full bug reports when this
happens with recent snapshots or otherwise.  Note that to disambiguate
snapshots with the same version, you can tell us what the startup
display of Scwm was -- if you start Scwm from a .xsession, be sure to
have it save stderr to, e.g., $HOME/.SCWM-errors.  You can also get at
the date and checkin number via 

scwmexec '(display (scwm-version-date))' && echo

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 30 01:47:30 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA28931
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 01:47:30 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA28928
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 01:47:28 -0500
Received: from dur.tbit.dk by MIT.EDU with SMTP
	id AA11217; Tue, 30 Mar 99 01:46:29 EST
Received: from jjc.tbit (jjc.tbit.dk [194.182.135.24])
	by dur.tbit.dk (8.8.8/8.8.8) with SMTP id IAA16499
	for <scwm-discuss@mit.edu>; Tue, 30 Mar 1999 08:46:38 +0200 (MET DST)
Received: by jjc.tbit (SMI-8.6/SMI-SVR4)
	id IAA07585; Tue, 30 Mar 1999 08:46:33 +0200
To: scwm-discuss@mit.edu
Subject: Re: Bug tracking system
References: <wsaeww1bvh.fsf@orcus.priv.at>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Christian Lynbech <chl@tbit.dk>
Date: 30 Mar 1999 08:46:33 +0200
In-Reply-To: Robert Bihlmeyer's message of "29 Mar 1999 18:47:30 +0200"
Message-Id: <ofiubjiieu.fsf@tbit.dk>
Lines: 28
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) Emacs/20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>>> "Robbe" == Robert Bihlmeyer <robbe@orcus.priv.at> writes:

Robbe> * Gnats: Old. No "official" web-interface, although add-ons exist.
Robbe> Future support is dubious.

What version have you looked at? The last official release (3.2)
available at gnu sites is not old, more like ancient, but a newer
exist at the cygnus ftp site (labelled 3.104 last time I looked). 

It still isn't new and support are indeed dubious. However, it has a
server configuration (you may connect reemotely to the gnats daemon in
order to do maintenance) and I remember the gnats mailing list as
rather active. I believe that freebsd (or was it apache) uses gnats
and has a web interface running.

The debian bug tracking system was mentioned. At least within debian
it works rather well, as I understand it, and it is driven completely
through email. There also is a web interface as can be witnessed at
http://www.debian.org/Bugs.


---------------------------+--------------------------------------------------
Christian Lynbech          | Telebit Communications A/S                       
Fax:   +45 8628 8186       | Fabrik 11, DK-8260 Viby J
Phone: +45 8628 8177 + 28  | email: chl@tbit.dk --- URL: http://www.telebit.dk
---------------------------+--------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)

From owner-scwm-discuss@mit.edu  Tue Mar 30 01:48:23 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA28965
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 01:48:23 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA28961
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 01:48:21 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA22600; Tue, 30 Mar 99 01:48:23 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA03140; Mon, 29 Mar 1999 22:47:27 -0800 (PST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: loading PNG
References: <m3ogld3vd8.fsf@eho.eaglets.com> <qrrhfr50x2d.fsf@elwha.cs.washington.edu> <wsemm81cqk.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Mar 1999 22:47:27 -0800
In-Reply-To: Robert Bihlmeyer's message of "29 Mar 1999 18:28:51 +0200"
Message-Id: <qrroglbwk1s.fsf@elwha.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 28 Mar 1999 19:55:06 -0800
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
>  Greg> Not unless you're using the recently-added support for imlib
>  Greg> (by using configure.imlib.in -- just updated in the repo for
>  Greg> some bugs) and have imlib installed (and your imlib supports
>  Greg> PNG format).
> 
> Any particular reason why you didn't just drop the magic into
> configure.in? Does imlib not mix well with other things?

Because I didn't want to break configure like the sound stuff did! :-)  :-)
(but the sound support is way cool-- I'm excited to have it easier to
get at than execing processes!)

> Also, we should perhaps put this image stuff into a dynamic module.

Agreed, but there is lots that could get split off, and I don't think we 
need to necessarily worry about all that before 1.0.

>  Greg> seems to grab lots of colors right away.
> 
> You can tweak imlib's palette with imlib-config. Either make it use
> less colors ("Set Last" button), or match colors to the ones your
> other programs are using (at least I think this should work).

Cool-- I'll try this.. Thanks for the tips.

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 30 01:51:21 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA29044
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 01:51:21 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA29040
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 01:51:18 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA11648; Tue, 30 Mar 99 01:50:19 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA03143; Mon, 29 Mar 1999 22:50:26 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Robert Bihlmeyer <robbe@orcus.priv.at>, scwm-discuss@mit.edu
Subject: Re: Bug tracking system
References: <wsaeww1bvh.fsf@orcus.priv.at> <m3g16n6597.fsf@209-122-231-175.s175.tnt4.sbo.ma.dialup.rcn.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Mar 1999 22:50:26 -0800
In-Reply-To: Maciej Stachowiak's message of "29 Mar 1999 22:11:32 -0500"
Message-Id: <qrrlngfwjwt.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Robert Bihlmeyer <robbe@orcus.priv.at> writes:
> 
> [ bug tracking systems ]
> 
> > * Gnome's: (I think this came from FreeBSD.) I like this best.
> > Reporting by mail works (very much like Gnat's send-pr).
> > Classification is done by "Package". Web interface is fine enough. The 
> > Gnomers also have a mailing list where one can receive *all* bug
> > reports.
> 
> I think from Debian actually. I would be in favor of this system were
> it not for the reports of problems with reporting bugs on the Gnome
> site. However, it works very well for Debian apparently. If not this I
> guess we should go with Jitterbug because the lack of email support in
> bugzilla is a big minus.

Despite bugzilla being for a web browser, I can't believe there isn't a
mail interface to sending bug reports -- if it's true, then Jitterbug is 
fine with me.  I agree that if there's any uncertainty about the
reliability of a bug-reporting package, it needs to go to the bottom of
the list.

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 30 02:15:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA29395
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 02:15:42 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA29392
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 02:15:39 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA25423; Tue, 30 Mar 99 02:15:41 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id XAA03188; Mon, 29 Mar 1999 23:14:48 -0800 (PST)
To: Joel Squire <jsquire@neonsoft.com>
Cc: Scwm Discuss List <scwm-discuss@mit.edu>
Subject: Re: Mouse Event handling patch
References: <Pine.LNX.4.04.9903291456570.29866-100000@andelain.neonsoft.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Mar 1999 23:14:48 -0800
In-Reply-To: Joel Squire's message of "Mon, 29 Mar 1999 15:24:07 -0700 (MST)"
Message-Id: <qrrhfr3wis7.fsf@elwha.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Joel Squire <jsquire@neonsoft.com> writes:

> I've been playing with scwm and I think it has a lot of promise. The
> current pause while clicking on title bars annoys me, so I decided to try
> and fix it. Attached is a patch for what I have so far. As it stands,
> highlighting is funky, and I plan to work on that next. Anyway, I wanted
> to see if anybody had any comments on the implementaton. In particular,
> how attached are people to not seeing 'click' events before 'double-click'
> events?

I'll take a look when I have time;  have you looked at the event rewrite 
proposal?  I'm hesitant to spend a lot of time patching old fvwm2 code
instead of chucking it piecewise.

> 
> Also, after reading through the upcoming development proposals, and my
> brief foray into the source code, I have to wonder if it wouldn't be
> easier to discard the fvwm code and rewrite the scwm C core from scratch?

Well, that's basically what we're doing, but just doing it one bit at a
time so we have something useful as we go.  The handful of planned
biggish rewrites will go a long way towards removing what's left of
fvwm2 code.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Tue Mar 30 02:36:52 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA29560
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 02:36:52 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA29557
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 02:36:50 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA27450; Tue, 30 Mar 99 02:36:51 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id XAA03192; Mon, 29 Mar 1999 23:35:55 -0800 (PST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: loading PNG
References: <m3ogld3vd8.fsf@eho.eaglets.com> <qrrhfr50x2d.fsf@elwha.cs.washington.edu> <wsemm81cqk.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Mar 1999 23:35:54 -0800
In-Reply-To: Robert Bihlmeyer's message of "29 Mar 1999 18:28:51 +0200"
Message-Id: <qrremm7wht1.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 28 Mar 1999 19:55:06 -0800
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
>  Greg> Not unless you're using the recently-added support for imlib
>  Greg> (by using configure.imlib.in -- just updated in the repo for
>  Greg> some bugs) and have imlib installed (and your imlib supports
>  Greg> PNG format).
> 
> Any particular reason why you didn't just drop the magic into
> configure.in? Does imlib not mix well with other things?

Ok, I think I at least got all this mess working... I appended the *.m4
files onto acinclude.m4; I'm also checking in imlib.m4 so that if
someone else wants to do something better than just having them all in
acinclude.m4, they can.

I've added --disable-imlib to turn off imlib even if the library is
found.... I didn't for esd since it is already a module, so it shouldn't 
hurt to build anyway (though the option still might be nice).

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 30 05:19:20 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA32562
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 05:19:20 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA32559
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 05:19:17 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA02264; Tue, 30 Mar 99 05:18:17 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id CAA03518; Tue, 30 Mar 1999 02:18:21 -0800 (PST)
To: Sam Falkner <samf@central.sun.com>
Cc: scwm-discuss@mit.edu, Eli Barzilay <eli@CS.Cornell.EDU>
Subject: Re: edge-ops.scm (was Re: Several unrelated things.)
References: <14077.60356.49642.510261@mojave.cs.cornell.edu> <ii7u2v4gugv.fsf@central.sun.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Mar 1999 02:18:21 -0800
In-Reply-To: Sam Falkner's message of "29 Mar 1999 08:56:48 -0700"
Message-Id: <qrr3e2nwaaa.fsf@elwha.cs.washington.edu>
Lines: 21
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Falkner <samf@central.sun.com> writes:

> I offered it for putting into the CVS tree, but I must have fallen
> through the cracks.  Could this be brought back to life, i.e. could
> someone with CVS access look at my code, decide if it's okay (and if
> not tell me what I can do), and put it back into the source base?

It's back alive, and in the repo (though not in time for the last
snapshot) now.

<snip>

> It will need to be tweaked when the C edge-scrolling and wrapping is
> gone, and again when the "east vs. west" bug is fixed.

Since the bug is fixed, I changed your code before committing.  I've
still not tested it at all, but it's there for others to test.

I like John's idea about the corners being special, too.

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 30 05:43:01 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA00478
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 05:43:01 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA00472
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 05:42:59 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA13873; Tue, 30 Mar 99 05:42:59 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id CAA03542; Tue, 30 Mar 1999 02:42:02 -0800 (PST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: loading PNG
References: <m3ogld3vd8.fsf@eho.eaglets.com> <qrrhfr50x2d.fsf@elwha.cs.washington.edu> <wsemm81cqk.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Mar 1999 02:42:02 -0800
In-Reply-To: Robert Bihlmeyer's message of "29 Mar 1999 18:28:51 +0200"
Message-Id: <qrroglbuumd.fsf@elwha.cs.washington.edu>
Lines: 6
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Ahh... imlib_config (horribly named, since there is an imlib-config
script, too).

Thanks... this is way better than I was hoping for.

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 30 05:49:19 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA00608
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 05:49:19 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA00605
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 05:49:17 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA14227; Tue, 30 Mar 99 05:49:17 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id CAA03558; Tue, 30 Mar 1999 02:48:26 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: scwm-version-date
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Mar 1999 02:48:25 -0800
Message-Id: <qrrlngfuubq.fsf@elwha.cs.washington.edu>
Lines: 7
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

This primitive is apparently broken for quite a while-- Maciej, do you
know what might have happened to the automatic updating of changed.c on
commit that I wrote a while back... the last time the version-date
string was written was January 9, 1999.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Tue Mar 30 06:38:50 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA00943
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 06:38:50 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id GAA00940
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 06:38:47 -0500
Received: from 207-172-216-8.s8.tnt1.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA07685; Tue, 30 Mar 99 06:37:45 EST
Received: (from mstx@localhost)
	by 209-122-231-175.s175.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id GAA22525;
	Tue, 30 Mar 1999 06:40:37 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: scwm-version-date
References: <qrrlngfuubq.fsf@elwha.cs.washington.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 30 Mar 1999 06:40:34 -0500
In-Reply-To: Greg Badros's message of "30 Mar 1999 02:48:25 -0800"
Message-Id: <m3aewv19zh.fsf@209-122-231-175.s175.tnt4.sbo.ma.dialup.rcn.com>
Lines: 12
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> This primitive is apparently broken for quite a while-- Maciej, do you
> know what might have happened to the automatic updating of changed.c on
> commit that I wrote a while back... the last time the version-date
> string was written was January 9, 1999.

Beats me. I wasn't around when you wrote it so I am not sure what
makes it happen. Do you happen to remember?

 - Maciej


From owner-scwm-discuss@mit.edu  Tue Mar 30 07:52:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA01297
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 07:52:29 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id HAA01294
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 07:52:25 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA15615; Tue, 30 Mar 99 07:51:23 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id OAA05189
	for scwm-discuss@mit.edu; Tue, 30 Mar 1999 14:35:05 +0200 (MET DST)
Received: (qmail 25563 invoked by uid 115); 29 Mar 1999 19:39:46 -0000
To: scwm-discuss@mit.edu
Subject: Re: Sound
References: <lf1zi8ihwk.fsf@mars.zserv.tuwien.ac.at> <m3emm8p91o.fsf@eho.eaglets.com>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 29 Mar 1999 21:39:45 +0200
In-Reply-To: Sam Steingold's message of "29 Mar 1999 11:14:43 -0500"
Message-Id: <wssoaonkzi.fsf@orcus.priv.at>
Lines: 19
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 29 Mar 1999 11:14:43 -0500
>>>>> Sam Steingold <sds@goems.com> said:

 Sam> aclocal: configure.in: 289: macro `AM_PATH_ESD' not found in
 Sam> library

Hmm, "aclocal" should pick up "esd.m4" from the scwm top-level-dir.
What version of aclocal do you use? Does "aclocal -I ." work better?

As a last resort, "cat esd.m4 >> acinclude.m4" before running aclocal
should definitely do the trick.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Tue Mar 30 09:50:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA02004
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 09:50:42 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from mail.eaglets.com ([208.235.77.228])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id JAA02001
	for <scwm-discuss@huis-clos.mit.edu>; Tue, 30 Mar 1999 09:50:36 -0500
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Tue, 30 Mar 1999 09:48:40 -0500
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Tue, 30 Mar 1999 09:48:39 -0500
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id JAA05873;
	Tue, 30 Mar 1999 09:49:26 -0500
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: esd
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 30 Mar 1999 09:49:25 -0500
Message-ID: <m3d81rm3re.fsf@eho.eaglets.com>
Lines: 19
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

$ ls /usr/bin/esd-config
   2 /usr/bin/esd-config*
$ ESD_CONFIG=/usr/bin/esd-config ./configure --enable-maintainer-mode --with-lispdir=/usr/share/emacs/site-lisp/
....
checking for ESD - version >= 0.2.7... no
*** The esd-config script installed by ESD could not be found
*** If ESD was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the ESD_CONFIG environment variable to the
*** full path to esd-config.
....
$ rpm -q esound-devel
esound-devel-0.2.8-3
$

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Garbage In, Gospel Out

From owner-scwm-discuss@mit.edu  Tue Mar 30 10:48:20 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA02333
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 10:48:20 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA02330
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 10:48:13 -0500
Received: from mercury.Sun.COM by MIT.EDU with SMTP
	id AA06160; Tue, 30 Mar 99 10:47:09 EST
Received: from Central.Sun.COM ([129.147.70.10])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with SMTP id HAA06716;
	Tue, 30 Mar 1999 07:47:15 -0800 (PST)
Received: from nobfui.Central.Sun.COM by Central.Sun.COM (SMI-8.6/SMI-5.3)
	id IAA04323; Tue, 30 Mar 1999 08:47:07 -0700
Received: (from samf@localhost)
	by nobfui.Central.Sun.COM (8.9.1b+Sun/8.9.1) id IAA04257;
	Tue, 30 Mar 1999 08:47:06 -0700 (MST)
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu, Eli Barzilay <eli@CS.Cornell.EDU>
Subject: Re: edge-ops.scm (was Re: Several unrelated things.)
References: <14077.60356.49642.510261@mojave.cs.cornell.edu> <ii7u2v4gugv.fsf@central.sun.com> <qrr3e2nwaaa.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Sam Falkner <samf@central.sun.com>
Date: 30 Mar 1999 08:47:06 -0700
In-Reply-To: Greg Badros's message of "30 Mar 1999 02:18:21 -0800"
Message-Id: <ii7oglbgeth.fsf@central.sun.com>
Lines: 13
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Since the bug is fixed, I changed your code before committing.  I've
> still not tested it at all, but it's there for others to test.

Thanks!

> I like John's idea about the corners being special, too.

Me too.  Note that the current code doesn't do this; I'm not sure how
hard it would be, currently.

- Sam

From owner-scwm-discuss@mit.edu  Tue Mar 30 11:53:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA02700
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 11:53:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA02697
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 11:53:42 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA00812; Tue, 30 Mar 99 11:52:35 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id SAA29973
	for scwm-discuss@mit.edu; Tue, 30 Mar 1999 18:41:00 +0200 (MET DST)
Received: (qmail 3567 invoked by uid 115); 30 Mar 1999 15:27:07 -0000
To: scwm-discuss@mit.edu
Subject: Re: Bug tracking system
References: <wsaeww1bvh.fsf@orcus.priv.at> <m3k8w0njh9.fsf@eho.eaglets.com>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
In-Reply-To: Sam Steingold's message of "29 Mar 1999 15:12:18 -0500"
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Date: 30 Mar 1999 17:27:07 +0200
Message-Id: <ws3e2nt2us.fsf@orcus.priv.at>
Lines: 76
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


--=-=-=

Hi,

>>>>> On 29 Mar 1999 15:12:18 -0500
>>>>> Sam Steingold <sds@goems.com> said:

 Sam> I am **VEHEMENTLY** opposed to this one. About half (!!!) of the
 Sam> bug reports I sent there came back with a completely
 Sam> unintelligible error message.

I was happily sending bug reports for a month until the service
stopped working about one week ago. This explanation was given by Miguel:


--=-=-=
Content-Type: text/plain;
 name=*Article*
Content-Disposition: inline

From: Miguel de Icaza <miguel@nuclecu.unam.mx>
Subject: Re: bugs.gnome.org is kaput?
To: dzol@virtual-yellow.com
CC: Daniel_Burrows@brown.edu, gnome-list@gnome.org, msf@redhat.com
Date: Mon, 29 Mar 1999 11:21:31 -0600
Resent-From: gnome-list@gnome.org
X-From-Line: gnome-list-request@redhat.com Tue Mar 30 12:35:25 1999
Return-Path: <gnome-list-request@redhat.com>
Delivered-To: robbe@orcus.priv.at
Received: (qmail 609 invoked by uid 10); 30 Mar 1999 12:35:25 -0000
Received: from lists.redhat.com (lists.redhat.com [199.183.24.247])
	by relay8.Austria.EU.net (8.9.1/8.9.1) with SMTP id BAA20349
	for <robbe@orcus.priv.at>; Tue, 30 Mar 1999 01:20:18 +0200 (MET DST)
Received: (qmail 25492 invoked by uid 501); 29 Mar 1999 23:35:40 -0000
Resent-Date: 29 Mar 1999 23:35:40 -0000
Resent-Cc: recipient list not shown: ;
MBOX-Line: From gnome-list-request@gnome.org  Mon Mar 29 18:35:39 1999
X-Gnus-Mail-Source: file:/home/robbe/Mailbox
Message-Id: <199903291721.LAA32038@metropolis.nuclecu.unam.mx>
In-reply-to: <Pine.LNX.4.05.9903291034270.23000-100000@zoll.albany.eypae.com>
	(message from Gleef on Mon, 29 Mar 1999 10:37:57 -0500 (EST))
X-FileLength: are infinite where infinity is set to 255 characters
References:  <Pine.LNX.4.05.9903291034270.23000-100000@zoll.albany.eypae.com>
Resent-Message-ID: <"ZYJOo1.0.FD6.Bv00t"@lists.redhat.com>
X-Mailing-List: <gnome-list@gnome.org> archive/latest/12250
X-Loop: gnome-list@gnome.org
X-just-a-test: testing
Precedence: list
Resent-Sender: gnome-list-request@gnome.org
X-URL: http://www.gnome.org
Lines: 17
Xref: orcus.priv.at mail.gnome:10521


> It went down about a week ago.  I don't know what the problem is.

Memory on the machine died, the bug tracking system is up again.

To make things worse, the kernel on the disk was corrupt, so nobody
felt like fixing it while I was away.

Miguel.



--=-=-=


        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

--=-=-=--

From owner-scwm-discuss@mit.edu  Tue Mar 30 11:52:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA02677
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 11:52:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA02673
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 11:52:41 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA00347; Tue, 30 Mar 99 11:51:35 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id SAA29972
	for scwm-discuss@mit.edu; Tue, 30 Mar 1999 18:40:58 +0200 (MET DST)
Received: (qmail 3533 invoked by uid 115); 30 Mar 1999 15:16:16 -0000
To: scwm-discuss@mit.edu
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <199903292318.RAA02358@vh213601.truman.edu> <199903300012.SAA08989@vh213601.truman.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 30 Mar 1999 17:16:16 +0200
In-Reply-To: jay@vh213601.truman.edu's message of "Mon, 29 Mar 1999 18:12:29 -0600"
Message-Id: <ws4sn3t3cv.fsf@orcus.priv.at>
Lines: 25
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Mon, 29 Mar 1999 18:12:29 -0600
>>>>> jay@vh213601.truman.edu said:

 jay> I guess that's caused by Scwm dying.

Yes.

 jay> Is that a problem with Scwm or gnome?

Scwm, probably.

 jay> I tried installing the latest snapshot. Then, the panel would
 jay> cover up any windows that were too low, [...]

That's actually a panel feature. You could enable autohiding in "This
panel properties" or select "keep panel below windows" in the "Global
properties" (misc page).

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Tue Mar 30 11:52:50 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA02688
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 11:52:50 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA02682
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 11:52:48 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA00428; Tue, 30 Mar 99 11:51:44 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id SAA29967
	for scwm-discuss@mit.edu; Tue, 30 Mar 1999 18:40:53 +0200 (MET DST)
Received: (qmail 3494 invoked by uid 115); 30 Mar 1999 14:54:22 -0000
To: scwm-discuss@mit.edu
Subject: Re: loading PNG
References: <m3ogld3vd8.fsf@eho.eaglets.com> <qrrhfr50x2d.fsf@elwha.cs.washington.edu> <wsemm81cqk.fsf@orcus.priv.at> <qrremm7wht1.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 30 Mar 1999 16:54:22 +0200
In-Reply-To: Greg Badros's message of "29 Mar 1999 23:35:54 -0800"
Message-Id: <ws7lrzt4dd.fsf@orcus.priv.at>
Lines: 28
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 29 Mar 1999 22:47:27 -0800
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> Because I didn't want to break configure like the sound stuff
 Greg> did! :-) :-)

It works on /proper/ platforms <eg>. Anyway ...

>>>>> On 29 Mar 1999 23:35:54 -0800
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> Ok, I think I at least got all this mess working... I appended
 Greg> the *.m4 files onto acinclude.m4; I'm also checking in imlib.m4
 Greg> so that if someone else wants to do something better than just
 Greg> having them all in acinclude.m4, they can.

Thanks for the interim fix. aclocal *should* per documentation pick up 
those *.m4 files. Apperently it does not do this for everybody.

I'll investigate if this is a automake 1.3 vs 1.4 issue.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Tue Mar 30 15:35:27 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA04160
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 15:35:27 -0500
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA04157
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 15:35:24 -0500
From: jay@vh213601.truman.edu
Received: from vh213601.truman.edu by MIT.EDU with SMTP
	id AA16797; Tue, 30 Mar 99 15:34:16 EST
Received: (from jay@localhost)
	by vh213601.truman.edu (8.8.7/8.8.7) id OAA25731;
	Tue, 30 Mar 1999 14:35:19 -0600
Date: Tue, 30 Mar 1999 14:35:19 -0600
Message-Id: <199903302035.OAA25731@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
To: scwm-discuss@mit.edu
In-Reply-To: <ws4sn3t3cv.fsf@orcus.priv.at> (message from Robert Bihlmeyer on
	30 Mar 1999 17:16:16 +0200)
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <199903292318.RAA02358@vh213601.truman.edu> <199903300012.SAA08989@vh213601.truman.edu> <ws4sn3t3cv.fsf@orcus.priv.at>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

> ... 
>  jay> I tried installing the latest snapshot. Then, the panel would
>  jay> cover up any windows that were too low, [...]
> 
> That's actually a panel feature. You could enable autohiding in "This
> panel properties" or select "keep panel below windows" in the "Global
> properties" (misc page).

A feature, huh?  In the version of scwm that I'm using now, any
windows low enough will cover the panel.  (I like that better.)  The
version date is Jan  9 16:43:19 EST 1999 -- $Revision: 1.1089 (but
according to another message, this isn't very useful).  It's the
snapshot, I believe, from March 22.

Jay



From owner-scwm-discuss@mit.edu  Tue Mar 30 17:04:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA04719
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 17:04:33 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA04716
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 17:04:30 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA17731; Tue, 30 Mar 99 17:03:21 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA04136; Tue, 30 Mar 1999 14:03:28 -0800 (PST)
To: Sam Falkner <samf@central.sun.com>
Cc: scwm-discuss@mit.edu, Eli Barzilay <eli@CS.Cornell.EDU>
Subject: Re: edge-ops.scm (was Re: Several unrelated things.)
References: <14077.60356.49642.510261@mojave.cs.cornell.edu> <ii7u2v4gugv.fsf@central.sun.com> <qrr3e2nwaaa.fsf@elwha.cs.washington.edu> <ii7oglbgeth.fsf@central.sun.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Mar 1999 14:03:28 -0800
In-Reply-To: Sam Falkner's message of "30 Mar 1999 08:47:06 -0700"
Message-Id: <qrrwvzytz2n.fsf@elwha.cs.washington.edu>
Lines: 17
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Falkner <samf@central.sun.com> writes:

> > I like John's idea about the corners being special, too.
> 
> Me too.  Note that the current code doesn't do this; I'm not sure how
> hard it would be, currently.

Well, with C support it's easy -- we could have little windows in the
corners that have their own hooks.  I'm not in favor of doing that
unless we generalize things to an invisible windows dynamically-loadable 
module that lets you put arbitrary ones of these wherever the hell you
want, each with their own enter/leave actions (which, again, would be
covered by the event-rewrite, but hooks are fine for now).

>From scheme with things as it is now, it's a bit trickier...

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 30 18:34:06 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA05217
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 18:34:06 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA05214
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 18:34:03 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA21170; Tue, 30 Mar 99 18:33:57 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA04459; Tue, 30 Mar 1999 15:33:02 -0800 (PST)
To: jay@vh213601.truman.edu
Cc: scwm-discuss@mit.edu
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <199903292318.RAA02358@vh213601.truman.edu> <199903300012.SAA08989@vh213601.truman.edu> <ws4sn3t3cv.fsf@orcus.priv.at> <199903302035.OAA25731@vh213601.truman.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Mar 1999 15:33:02 -0800
In-Reply-To: jay@vh213601.truman.edu's message of "Tue, 30 Mar 1999 14:35:19 -0600"
Message-Id: <qrryake4kpd.fsf@elwha.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

jay@vh213601.truman.edu writes:

> > ... 
> >  jay> I tried installing the latest snapshot. Then, the panel would
> >  jay> cover up any windows that were too low, [...]
> > 
> > That's actually a panel feature. You could enable autohiding in "This
> > panel properties" or select "keep panel below windows" in the "Global
> > properties" (misc page).
> 
> A feature, huh?  In the version of scwm that I'm using now, any
> windows low enough will cover the panel.  (I like that better.)  The
> version date is Jan  9 16:43:19 EST 1999 -- $Revision: 1.1089 (but
> according to another message, this isn't very useful).  It's the
> snapshot, I believe, from March 22.

Ok, it's now fixed so future snapshots should have the revision number
incrementing again, and an up to date changed date.

Greg

From owner-scwm-discuss@mit.edu  Tue Mar 30 18:35:40 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA05231
	for scwm-discuss-outgoing; Tue, 30 Mar 1999 18:35:40 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA05228
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 30 Mar 1999 18:35:38 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA15262; Tue, 30 Mar 99 18:34:31 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA04462; Tue, 30 Mar 1999 15:34:40 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: (scwm-version-date) working again
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Mar 1999 15:34:40 -0800
Message-Id: <qrrvhfi4kmn.fsf@elwha.cs.washington.edu>
Lines: 6
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I've fixed the problems with the version/date not getting updated in
changed.c, so as of tomorrow a.m.'s snapshot the scwm-version-date will
be a good thing to report to the list if you're having difficulties with 
a snapshot or direct-from-cvs build.

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 31 03:03:05 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA10740
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 03:03:05 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA10709
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 31 Mar 1999 03:03:00 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA21221; Wed, 31 Mar 99 03:02:46 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id AAA05180; Wed, 31 Mar 1999 00:01:52 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Better GUI preferences support
From: Greg Badros <gjb@cs.washington.edu>
Date: 31 Mar 1999 00:01:52 -0800
Message-Id: <qrryakeulxr.fsf@elwha.cs.washington.edu>
Lines: 12
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I finally got time to make the preferences support look reasonable,
complete with a tabbed notebook look.  It's still got tons of room for
improvement, but it's pretty good for the types of options it currently
supports.

See the screenshots at

http://vicarious-existence.mit.edu/scwm/#preferences

and the code in the repo now, or this mornings snapshots.

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 31 10:29:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA14371
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 10:29:42 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA14368
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 31 Mar 1999 10:29:39 -0500
Received: from mars.zserv.tuwien.ac.at by MIT.EDU with SMTP
	id AA25791; Wed, 31 Mar 99 10:28:21 EST
Received: (qmail 12377 invoked by uid 524); 31 Mar 1999 15:28:28 -0000
To: scwm-discuss@mit.edu
Subject: The aclocal crisis
X-Attribution: Robbe
From: Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at>
Date: 31 Mar 1999 17:28:27 +0200
Message-Id: <lfsoalllus.fsf@mars.zserv.tuwien.ac.at>
Lines: 19
Organization: Area 51
Mime-Version: 1.0
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

it looks like Greg's solution (put everything into acinclude.m4) is
the only one possible.

"aclocal" either is oblivious to the various additional m4 files we
need, or (if using "-I .") complains about duplicate macros if the m4
files also exist in aclocal's macro directory ($prefix/share/aclocal).

I checked gnome-libs, whether they had a better solution. They did
not.

I'll remove "imlib.m4" and "esd.m4" unless somebody offers more clue.

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Wed Mar 31 10:38:31 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA14462
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 10:38:31 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA14459
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 31 Mar 1999 10:38:29 -0500
Received: from mars.zserv.tuwien.ac.at by MIT.EDU with SMTP
	id AA29702; Wed, 31 Mar 99 10:38:10 EST
Received: (qmail 12994 invoked by uid 524); 31 Mar 1999 15:37:21 -0000
To: scwm-discuss@mit.edu
Subject: window-unstyle
X-Attribution: Robbe
Mail-Copies-To: e9426626@stud2.tuwien.ac.at
From: Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at>
Date: 31 Mar 1999 17:37:21 +0200
Message-Id: <lfr9q5llfy.fsf@mars.zserv.tuwien.ac.at>
Lines: 36
Organization: V
Mime-Version: 1.0
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

I just added a `window-unstyle' function, that strives to undo the
effect of `window-style'. I.e.

(window-style "*" #:no-titlebar #t)

gives no windows a titlebar. A subsequent

(window-unstyle "*" #:no-titlebar #t)

removes this style.

(window-style "*" #:no-titlebar #f)

would NOT work here, since it would give windows a titlebar, that
would not normally get one.

This function could be useful for theme switching. There are two
shortcomings still:

* `window-unstyle' needs exactly the same style as given to
  `window-style'. Even the order of keywords has to be equal. This
  could be fixed, but I want to see if it is really important, before
  I put work into this.

* `window-unstyle' does not return existing windows to their state
  before the corresponding `window-style'. I.e. it only acts on new
  windows. That's because I don't know how to do it (perhaps
  recapturing the window?).

	Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Wed Mar 31 11:00:27 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA14673
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 11:00:27 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA14670
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 31 Mar 1999 11:00:25 -0500
Received: from jekyll.piermont.com by MIT.EDU with SMTP
	id AA07060; Wed, 31 Mar 99 10:59:09 EST
Received: by jekyll.piermont.com (Postfix, from userid 1000)
	id 81A7C184; Wed, 31 Mar 1999 10:59:17 -0500 (EST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Bug tracking system
References: <wsaeww1bvh.fsf@orcus.priv.at>
Reply-To: perry@piermont.com
X-Reposting-Policy: redistribute only with permission
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: "Perry E. Metzger" <perry@piermont.com>
Date: 31 Mar 1999 10:59:15 -0500
In-Reply-To: Robert Bihlmeyer's message of "29 Mar 1999 18:47:30 +0200"
Message-Id: <87r9q5y7jg.fsf@jekyll.piermont.com>
Lines: 9
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Robert Bihlmeyer <robbe@orcus.priv.at> writes:
> * Gnats: Old. No "official" web-interface, although add-ons exist.
> Future support is dubious.

Have a look at the Gnats web interface we have added on on
www.netbsd.org...

Perry

From owner-scwm-discuss@mit.edu  Wed Mar 31 16:49:57 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA16257
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 16:49:57 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA16254
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 31 Mar 1999 16:49:55 -0500
Received: from [209.116.26.126] by MIT.EDU with SMTP
	id AA11847; Wed, 31 Mar 99 16:49:35 EST
Received: (from doug@localhost)
	by kabuki.leitess.com (8.8.7/8.8.7) id QAA04172;
	Wed, 31 Mar 1999 16:48:36 -0500
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at>
From: Doug McNaught <doug@mcnaught.org>
Date: 31 Mar 1999 16:48:35 -0500
In-Reply-To: Robert Bihlmeyer's message of "28 Mar 1999 12:34:33 +0200"
Message-Id: <m3g16lnxe4.fsf@kabuki.leitess.com>
Lines: 26
X-Mailer: Gnus v5.6.44/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

>  Maciej> Scwm already handles the Gnome pager properly, FWIW.
> 
> Yeah. Although I had to jump through quite some loops to make it work.
> Most of the necessities should be checked in by now.
> 
> I beg anyone having Gnome on their machine, or the urge to install it,
> to try it with Scwm. Just add & select Scwm in the "Window Manager"
> settings. This will greatly help us stamp out Gnome+Scwm bugs before
> 1.0.

Well, I can run scwm under Gnome, but the pager doesn't work--when I
start it up, it complains that I'm not running a Gnome-compliant
window manager.  This is with Gnome 1.0.1, scwm-19990331, Guile 1.3
(patched) from the Scwm website.  Is there anything special I need to
do? 

Nothing crashes, but the pager refuses to start up.  I am using the
(app scwm gnome-hints) module in my .scwmrc file.

I'd love to get this working and start playing with themes...

-Doug
-- 
Doug McNaught       doug@mcnaught.org     http://www.mcnaught.org/~doug

From owner-scwm-discuss@mit.edu  Wed Mar 31 17:14:15 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA16438
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 17:14:15 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA16435
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 31 Mar 1999 17:14:13 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA24237; Wed, 31 Mar 99 17:12:53 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA06051; Wed, 31 Mar 1999 14:12:58 -0800 (PST)
To: Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at>
Cc: scwm-discuss@mit.edu
Subject: Re: window-unstyle
References: <lfr9q5llfy.fsf@mars.zserv.tuwien.ac.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 31 Mar 1999 14:12:57 -0800
In-Reply-To: Robert Bihlmeyer's message of "31 Mar 1999 17:37:21 +0200"
Message-Id: <qrrogl9ux3q.fsf@elwha.cs.washington.edu>
Lines: 42
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at> writes:

> Hi,
> 
> I just added a `window-unstyle' function, that strives to undo the
> effect of `window-style'. I.e.
> 
> (window-style "*" #:no-titlebar #t)
> 
> gives no windows a titlebar. A subsequent
> 
> (window-unstyle "*" #:no-titlebar #t)
> 
> removes this style.
> 
> (window-style "*" #:no-titlebar #f)
> 
> would NOT work here, since it would give windows a titlebar, that
> would not normally get one.
> 
> This function could be useful for theme switching. There are two
> shortcomings still:
> 
> * `window-unstyle' needs exactly the same style as given to
>   `window-style'. Even the order of keywords has to be equal. This
>   could be fixed, but I want to see if it is really important, before
>   I put work into this.
> 
> * `window-unstyle' does not return existing windows to their state
>   before the corresponding `window-style'. I.e. it only acts on new
>   windows. That's because I don't know how to do it (perhaps
>   recapturing the window?).

This is good-- the assymetry of window-style was bothering me (it's
related to a fix I made to a bunch of decor stuff to re-force the
side-decorations on just because one of the decors used
#:no-side-decoration #t).

WRT changing existing windows, does force-reset-window-frame! do what
you want?

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 31 17:30:28 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA16651
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 17:30:28 -0500
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA16646
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 31 Mar 1999 17:30:26 -0500
From: jay@vh213601.truman.edu
Received: from vh213601.truman.edu by MIT.EDU with SMTP
	id AA29552; Wed, 31 Mar 99 17:29:06 EST
Received: (from jay@localhost)
	by vh213601.truman.edu (8.8.7/8.8.7) id QAA28553;
	Wed, 31 Mar 1999 16:30:07 -0600
Date: Wed, 31 Mar 1999 16:30:07 -0600
Message-Id: <199903312230.QAA28553@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
To: scwm-discuss@mit.edu
In-Reply-To: <m3g16lnxe4.fsf@kabuki.leitess.com> (message from Doug McNaught
	on 31 Mar 1999 16:48:35 -0500)
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <m3g16lnxe4.fsf@kabuki.leitess.com>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

> Robert Bihlmeyer <robbe@orcus.priv.at> writes:
> > I beg anyone having Gnome on their machine, or the urge to install it,
> > to try it with Scwm. Just add & select Scwm in the "Window Manager"
> > settings. This will greatly help us stamp out Gnome+Scwm bugs before
> > 1.0.
> Well, I can run scwm under Gnome, but the pager doesn't work--when I
> start it up, it complains that I'm not running a Gnome-compliant
> window manager.  This is with Gnome 1.0.1, scwm-19990331, Guile 1.3
> (patched) from the Scwm website.  Is there anything special I need to
> do? 
> 
> Nothing crashes, but the pager refuses to start up.  I am using the
> (app scwm gnome-hints) module in my .scwmrc file.

I'm using scwm-19990331 also, and the latest Gnome stuff (which seems
to require glib and gtk+ 1.2.1), and the pager works fine.
Also, since I upgraded to the latest and greatest Scwm, I no longer
have the problem of Scwm dying when I slide the panel back and forth.

Jay

From owner-scwm-discuss@mit.edu  Wed Mar 31 17:32:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA16692
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 17:32:18 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA16689
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 31 Mar 1999 17:32:15 -0500
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA26298; Wed, 31 Mar 99 17:31:58 EST
Received: (qmail 17896 invoked by uid 501); 31 Mar 1999 22:31:01 -0000
Date: Wed, 31 Mar 1999 14:31:01 -0800
From: Todd Larason <jtl@molehill.org>
To: Doug McNaught <doug@mcnaught.org>
Cc: Robert Bihlmeyer <robbe@orcus.priv.at>, scwm-discuss@mit.edu
Subject: Re: Scwm and Gnome
Message-Id: <19990331143100.A17445@molehill.org>
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <m3g16lnxe4.fsf@kabuki.leitess.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <m3g16lnxe4.fsf@kabuki.leitess.com>; from Doug McNaught on Wed, Mar 31, 1999 at 04:48:35PM -0500
X-Kibo: Chinese restaurants are not a guess.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

(use-modules (app scwm gnome-hints))
(set! gnome-desktop-number 6)
(set! gnome-shade-animated #t)
(enable-gnome-hints)

(the set!s there are optional - look at scheme/gnome-hints.scm for docs on
those and other user settings)

On 990331, Doug McNaught wrote:
> Robert Bihlmeyer <robbe@orcus.priv.at> writes:
> 
> >  Maciej> Scwm already handles the Gnome pager properly, FWIW.
> > 
> > Yeah. Although I had to jump through quite some loops to make it work.
> > Most of the necessities should be checked in by now.
> > 
> > I beg anyone having Gnome on their machine, or the urge to install it,
> > to try it with Scwm. Just add & select Scwm in the "Window Manager"
> > settings. This will greatly help us stamp out Gnome+Scwm bugs before
> > 1.0.
> 
> Well, I can run scwm under Gnome, but the pager doesn't work--when I
> start it up, it complains that I'm not running a Gnome-compliant
> window manager.  This is with Gnome 1.0.1, scwm-19990331, Guile 1.3
> (patched) from the Scwm website.  Is there anything special I need to
> do? 
> 
> Nothing crashes, but the pager refuses to start up.  I am using the
> (app scwm gnome-hints) module in my .scwmrc file.
> 
> I'd love to get this working and start playing with themes...
> 
> -Doug
> -- 
> Doug McNaught       doug@mcnaught.org     http://www.mcnaught.org/~doug

-- 
"Underneath the chilly grey November sky, 
we can make believe that Kennedy is still alive
we're shooting for the moon, 
and smiling Jackie's driving by." -- "Tomorrow, Wendy"
UIN: 750754

From owner-scwm-discuss@mit.edu  Wed Mar 31 17:42:54 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA16859
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 17:42:54 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA16856
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 31 Mar 1999 17:42:51 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA29018; Wed, 31 Mar 99 17:42:35 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA06126; Wed, 31 Mar 1999 14:41:26 -0800 (PST)
To: scwm-discuss@mit.edu, Marius Vollmer <mvo@zagadka.ping.de>
Subject: Keeping Scwm's GTK windows from being destroyed...
From: Greg Badros <gjb@cs.washington.edu>
Date: 31 Mar 1999 14:41:25 -0800
Message-Id: <qrr677huvsa.fsf@elwha.cs.washington.edu>
Lines: 57
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I've a simple hack for Scwm that makes it disallow destroy operations on 
the GTK/GDK windows it has popped up.  My solution is to just not let
Scwm destroy windows whose group leader is the gdk_leader_window.
Though this can be worked around, it does do the right thing unless
someone is trying to break things.  (As a reminder, the problem is that
destroy-ing a scwm-process gtk window kills Scwm itself-- not good;  as
discussed before, using xkill to kill a Scwm Gtk window is harder [if
not impossible] to protect against, but my hack makes Scwm far less
likely to point the gun at itself and fire).

The support is not yet in the repository because I can't remember what
the other possibilities were and I'm not sure if this is the best way to 
do this.  Also, my scwm feature requires a little bit of help from
guile-gtk-0.15 in making the gdk_leader_window variable accessible to
Scwm.  Below is a patch to guile-gtk-0.15 to provide one additional
proc, `gdk-lead-window', for Scwm to use in (app scwm gtk).

Unless there is a better/different way to do this, I'd love to see this
patch make it in to guile-gtk-0.16 (it is of some general interest,
perhaps, and is very small).

Thanks for your comments.

Greg


--- gtk-support.c.orig	Thu Apr  1 07:47:33 1999
+++ gtk-support.c	Wed Mar 31 19:40:17 1999
@@ -25,6 +25,15 @@
 
 
 
+extern guint32 gdk_leader_window;
+
+guint32
+gdk_lead_window()
+{
+  return (guint32) gdk_leader_window;
+}
+
+
 GdkColor *
 gdk_color_intern (GdkColor *color)
 {
--- gdk-1.2.defs.orig	Thu Apr  1 07:46:51 1999
+++ gdk-1.2.defs	Thu Apr  1 07:50:14 1999
@@ -490,6 +490,10 @@
   GdkVisibilityState
   ((GdkEvent event)))
 
+(define-func gdk_lead_window
+  uint
+  ())
+
 (define-func gdk_event_time
   uint
   ((GdkEvent event)))

From owner-scwm-discuss@mit.edu  Wed Mar 31 17:49:44 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA17011
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 17:49:44 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA17001
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 31 Mar 1999 17:49:33 -0500
Received: from [209.116.26.126] by MIT.EDU with SMTP
	id AA04839; Wed, 31 Mar 99 17:48:14 EST
Received: (from doug@localhost)
	by kabuki.leitess.com (8.8.7/8.8.7) id RAA04227;
	Wed, 31 Mar 1999 17:48:20 -0500
To: Todd Larason <jtl@molehill.org>
Cc: Robert Bihlmeyer <robbe@orcus.priv.at>, scwm-discuss@mit.edu
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <m3g16lnxe4.fsf@kabuki.leitess.com> <19990331143100.A17445@molehill.org>
From: Doug McNaught <doug@mcnaught.org>
Date: 31 Mar 1999 17:48:20 -0500
In-Reply-To: Todd Larason's message of "Wed, 31 Mar 1999 14:31:01 -0800"
Message-Id: <m3u2v1b7ij.fsf@kabuki.leitess.com>
Lines: 29
X-Mailer: Gnus v5.6.44/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Todd Larason <jtl@molehill.org> writes:

> (use-modules (app scwm gnome-hints))
> (set! gnome-desktop-number 6)
> (set! gnome-shade-animated #t)
> (enable-gnome-hints)
> 
> (the set!s there are optional - look at scheme/gnome-hints.scm for docs on
> those and other user settings)

Duh.  Should have looked to gnome-hints.scm more closely--I just
skimmed through it and missed the (enable-gnome-hints) bit.  BTW, the
syntax for the options above is not quite right--it should be

(set! *gnome-desktop-number* 6)
(set! *gnome-shade-animated* #t)

Thought I'd include that for anybody else who's following the
discussion. 

Sorry for not RTFMing, and thanks.  In my defense, I last played with
Scwm around 0.8, and it's grown a *lot* since then--things work
differently. 

Scwm rocks and the panel works!

-Doug
-- 
Doug McNaught       doug@mcnaught.org     http://www.mcnaught.org/~doug

From owner-scwm-discuss@mit.edu  Wed Mar 31 17:58:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA17645
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 17:58:42 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA17642
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 31 Mar 1999 17:58:39 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA03330; Wed, 31 Mar 99 17:58:22 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA06155; Wed, 31 Mar 1999 14:57:07 -0800 (PST)
To: Todd Larason <jtl@molehill.org>
Cc: Doug McNaught <doug@mcnaught.org>, Robert Bihlmeyer <robbe@orcus.priv.at>,
        scwm-discuss@mit.edu
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <m3g16lnxe4.fsf@kabuki.leitess.com> <19990331143100.A17445@molehill.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 31 Mar 1999 14:57:07 -0800
In-Reply-To: Todd Larason's message of "Wed, 31 Mar 1999 14:31:01 -0800"
Message-Id: <qrr1zi5uv24.fsf@elwha.cs.washington.edu>
Lines: 22
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Todd Larason <jtl@molehill.org> writes:

> (use-modules (app scwm gnome-hints))
> (set! gnome-desktop-number 6)
> (set! gnome-shade-animated #t)
> (enable-gnome-hints)

Or just

 (use-modules (app scwm gnome-hints)
              (app scwm preferences))
 (scwm-options-dialog)

and select the Gnome tab, then twiddle the widgets.  :-)

Greg


P.S., okay, something might go wrong in the above, but I need to know
what doesn't work for others.  There are some module/symbol issues left
to be resolved in the preferences stuff, so when in doubt, do a
use-modules of the missing module interactively (i.e., in the-root-module).

From owner-scwm-discuss@mit.edu  Wed Mar 31 18:15:34 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA17877
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 18:15:34 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id SAA17874
	for <scwm-discuss@vicarious-existence.mit.edu>; Wed, 31 Mar 1999 18:15:31 -0500
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA06196; Wed, 31 Mar 1999 15:14:20 -0800 (PST)
Date: Wed, 31 Mar 1999 15:14:20 -0800 (PST)
Message-Id: <199903312314.PAA06196@elwha.cs.washington.edu>
From: Greg Badros <gjb@cs.washington.edu>
To: scwm-discuss@mit.edu
Subject: Cassowary-0.42 released...
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

For all of you who've been asking about it (and *thanks*, by the way--
Cassowary/Scwm needs more testers!), I just packaged up 0.42 and put it
on the Scwm web page

http://vicarious-existence.mit.edu/scwm/

as well as the Cassowary web page

http://www.cs.washington.edu/research/constraints/cassowary/

Hopefully I've ironed out the wrinkles in the autoconf support.  If
you've egcs-1.0.1 or better the build and install should be pretty easy
and Scwm can be enabled to work with Cassowary with just
--with-cassowary (perhaps with a directory argument pointing at the
prefix where you installed Cassowary to).

Please report successes as well as failures.

Thanks,
Greg


From owner-scwm-discuss@mit.edu  Wed Mar 31 18:23:44 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA18008
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 18:23:44 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA18005
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 31 Mar 1999 18:23:42 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA09242; Wed, 31 Mar 99 18:23:24 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA06212; Wed, 31 Mar 1999 15:22:28 -0800 (PST)
To: Doug McNaught <doug@mcnaught.org>
Cc: scwm-discuss@mit.edu
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <m3g16lnxe4.fsf@kabuki.leitess.com> <19990331143100.A17445@molehill.org> <m3u2v1b7ij.fsf@kabuki.leitess.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 31 Mar 1999 15:22:27 -0800
In-Reply-To: Doug McNaught's message of "31 Mar 1999 17:48:20 -0500"
Message-Id: <qrrn20ttfbg.fsf@elwha.cs.washington.edu>
Lines: 27
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Doug McNaught <doug@mcnaught.org> writes:

> Duh.  Should have looked to gnome-hints.scm more closely--I just
> skimmed through it and missed the (enable-gnome-hints) bit.  BTW, the
> syntax for the options above is not quite right--it should be
> 
> (set! *gnome-desktop-number* 6)
> (set! *gnome-shade-animated* #t)
> 

This is a very recent change -- all user-configurable options should be
moving to *foo* names if they've not already.

> Thought I'd include that for anybody else who's following the
> discussion. 
> 
> Sorry for not RTFMing, and thanks.  In my defense, I last played with
> Scwm around 0.8, and it's grown a *lot* since then--things work
> differently. 

Yep, we've been busy!

> Scwm rocks and the panel works!

Indeed! :-)

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 31 18:32:34 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA18118
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 18:32:34 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA18115
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 31 Mar 1999 18:32:31 -0500
Received: from [209.116.26.126] by MIT.EDU with SMTP
	id AA15538; Wed, 31 Mar 99 18:31:11 EST
Received: (from doug@localhost)
	by kabuki.leitess.com (8.8.7/8.8.7) id SAA04284;
	Wed, 31 Mar 1999 18:31:14 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <m3g16lnxe4.fsf@kabuki.leitess.com> <19990331143100.A17445@molehill.org> <qrr1zi5uv24.fsf@elwha.cs.washington.edu>
From: Doug McNaught <doug@mcnaught.org>
Date: 31 Mar 1999 18:31:13 -0500
In-Reply-To: Greg Badros's message of "31 Mar 1999 14:57:07 -0800"
Message-Id: <m3pv5pb5j2.fsf@kabuki.leitess.com>
Lines: 43
X-Mailer: Gnus v5.6.44/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

>  (use-modules (app scwm gnome-hints)
>               (app scwm preferences))
>  (scwm-options-dialog)
> 
> and select the Gnome tab, then twiddle the widgets.  :-)
> 
> Greg
> 
> 
> P.S., okay, something might go wrong in the above, but I need to know
> what doesn't work for others.  There are some module/symbol issues left
> to be resolved in the preferences stuff, so when in doubt, do a
> use-modules of the missing module interactively (i.e., in the-root-module).

What I'm getting when I try the above is:

Backtrace:
0* [scwm-options-dialog]
1  (let* ((toplevel #) (tooltip #) (vbox #) ...) (gtk-window-set-title 
toplevel "Scwm Options") ...)
2* [scwm-options-notebook]
3  (let* ((nb #) (sorted-options #) (by-group #)) (map (lambda # #)
by-group) ...)
4* (sort (map (lambda # #) scwm-options) (lambda (a b) (string<? #
#)))

ERROR: In expression (sort (map # scwm-options) (lambda # #)):
ERROR: Unbound variable: sort

The funny thing is that 'sort' is indeed bound and works when I test
it using 'scwmrepl'.

I read the docstring for 'scwm-options-dialog' and am using all
modules that seem to pertain (including all those that contain
'scwm-options'). 

Confused--how would one go about tracking this down?

-Doug
-- 
Doug McNaught       doug@mcnaught.org     http://www.mcnaught.org/~doug

From owner-scwm-discuss@mit.edu  Wed Mar 31 19:05:16 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA18479
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 19:05:16 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA18476
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 31 Mar 1999 19:05:13 -0500
Received: from intermailhost.viewlogic.com by MIT.EDU with SMTP
	id AA18707; Wed, 31 Mar 99 19:04:56 EST
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id SAA23548;
	Wed, 31 Mar 1999 18:53:38 -0500 (EST)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id TAA23218;
	Wed, 31 Mar 1999 19:03:56 -0500 (EST)
Message-Id: <3702B74B.C6C8B60C@alum.mit.edu>
Date: Wed, 31 Mar 1999 19:01:15 -0500
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.02 [en] (X11; I; SunOS 5.5.1 sun4u)
Mime-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
Cc: Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at>, scwm-discuss@mit.edu
Subject: Re: window-unstyle
References: <lfr9q5llfy.fsf@mars.zserv.tuwien.ac.at> <qrrogl9ux3q.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros wrote:
> 
> Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at> writes:
> 
> > Hi,
> >
> > I just added a `window-unstyle' function, that strives to undo the
> > effect of `window-style'. I.e.
> >

`window-style' seems fairly useful. However, I think for theme switching
we could consider a slightly different model. How about making the style code
store a default value for each particular type of style option, and have
a `reset-style-to-default' or something, which gets called before a theme
switch? This would allow themes to all start fresh from a known style state
instead of having to worry about potentially undoing other changes.

Of course, if we do this we will also need to draw a distinction along the
lines of look vs. feel. You obviously don't want theme switching to reset
style options like #:auto-raise or #:focus.

Perhaps we should even go so far as to separate `window-style' into two
or more separate interfaces along the lines of look and feel.

(I say "or more" because windows really have three different kinds of 
settings that window-style lets you change, look (e.g. #:squashed-titlebar),
feel (e.g. #:focus) and state (e.g. #:sticky)). 

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Mar 31 19:34:23 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA18812
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 19:34:23 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA18809
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 31 Mar 1999 19:34:20 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA29965; Wed, 31 Mar 99 19:33:00 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA06281; Wed, 31 Mar 1999 16:33:09 -0800 (PST)
To: Doug McNaught <doug@mcnaught.org>
Cc: scwm-discuss@mit.edu
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <m3g16lnxe4.fsf@kabuki.leitess.com> <19990331143100.A17445@molehill.org> <qrr1zi5uv24.fsf@elwha.cs.washington.edu> <m3pv5pb5j2.fsf@kabuki.leitess.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 31 Mar 1999 16:33:08 -0800
In-Reply-To: Doug McNaught's message of "31 Mar 1999 18:31:13 -0500"
Message-Id: <qrrk8vxtc1m.fsf@elwha.cs.washington.edu>
Lines: 62
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Doug McNaught <doug@mcnaught.org> writes:

> > 
> > Greg
> > 
> > 
> > P.S., okay, something might go wrong in the above, but I need to know
> > what doesn't work for others.  There are some module/symbol issues left
> > to be resolved in the preferences stuff, so when in doubt, do a
> > use-modules of the missing module interactively (i.e., in the-root-module).
> 
> What I'm getting when I try the above is:
> 
> Backtrace:
> 0* [scwm-options-dialog]
> 1  (let* ((toplevel #) (tooltip #) (vbox #) ...) (gtk-window-set-title 
> toplevel "Scwm Options") ...)
> 2* [scwm-options-notebook]
> 3  (let* ((nb #) (sorted-options #) (by-group #)) (map (lambda # #)
> by-group) ...)
> 4* (sort (map (lambda # #) scwm-options) (lambda (a b) (string<? #
> #)))
> 
> ERROR: In expression (sort (map # scwm-options) (lambda # #)):
> ERROR: Unbound variable: sort
> 
> The funny thing is that 'sort' is indeed bound and works when I test
> it using 'scwmrepl'.
> 
> I read the docstring for 'scwm-options-dialog' and am using all
> modules that seem to pertain (including all those that contain
> 'scwm-options'). 
> 
> Confused--how would one go about tracking this down?

Since "sort" works from the repl, that means it's defined either in
the-root-module or one of the modules your .scwmrc has said use-modules
for (or you have interactively done a use-modules for).

The problem is that the preferences module cannot see that definition of 
sort.  I'm not sure where you are getting your sort from, but you could
try using (app scwm sort).  I seem to be using a primitive sort
procedure that was added to guile after 1.3.

Try adding :use-module (app scwm sort)  to the list at the top of
preferences.scm, and see if that helps (reload -- do a C-u C-c C-l from
emacs while visiting prefererences.scm module using scwm-mode from scwm.el).

Incidentally, you can do:

(apropos "^sort$")

to find out where your sort is gotten from, or just evaluate "sort" and
see if its a primitive or a procedure.

Please let me know if this works for you... I should probably dumb down
to the released guile-1.3 while doing final preparation for scwm-1.0 so
that I catch these things myself.

Thanks for the testing!  

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 31 19:40:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA18886
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 19:40:29 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA18883
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 31 Mar 1999 19:40:27 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA26685; Wed, 31 Mar 99 19:40:09 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA06287; Wed, 31 Mar 1999 16:39:13 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at>, scwm-discuss@mit.edu
Subject: Re: window-unstyle
References: <lfr9q5llfy.fsf@mars.zserv.tuwien.ac.at> <qrrogl9ux3q.fsf@elwha.cs.washington.edu> <3702B74B.C6C8B60C@alum.mit.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 31 Mar 1999 16:39:13 -0800
In-Reply-To: Maciej Stachowiak's message of "Wed, 31 Mar 1999 19:01:15 -0500"
Message-Id: <qrremm5tbri.fsf@elwha.cs.washington.edu>
Lines: 39
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Greg Badros wrote:
> > 
> > Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at> writes:
> > 
> > > Hi,
> > >
> > > I just added a `window-unstyle' function, that strives to undo the
> > > effect of `window-style'. I.e.
> > >
> 
> `window-style' seems fairly useful. However, I think for theme switching
> we could consider a slightly different model. How about making the style code
> store a default value for each particular type of style option, and have
> a `reset-style-to-default' or something, which gets called before a theme
> switch? This would allow themes to all start fresh from a known style state
> instead of having to worry about potentially undoing other changes.

Yes, this is essential.

> Of course, if we do this we will also need to draw a distinction along the
> lines of look vs. feel. You obviously don't want theme switching to reset
> style options like #:auto-raise or #:focus.
> 
> Perhaps we should even go so far as to separate `window-style' into two
> or more separate interfaces along the lines of look and feel.

I was thinking about this before, and I think the separation would be a
good thing.  

> (I say "or more" because windows really have three different kinds of 
> settings that window-style lets you change, look (e.g. #:squashed-titlebar),
> feel (e.g. #:focus) and state (e.g. #:sticky)). 

It seems that your state is a lot like "both".  Sticky-state windows
have a different behaviour and have a different look.

Greg

From owner-scwm-discuss@mit.edu  Wed Mar 31 20:48:55 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA19500
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 20:48:55 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA19497
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 31 Mar 1999 20:48:51 -0500
Received: from 207-172-255-249.s249.tnt2.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA13663; Wed, 31 Mar 99 20:47:28 EST
Received: (from mstx@localhost)
	by 209-122-231-175.s175.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id UAA08272;
	Wed, 31 Mar 1999 20:50:27 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: Maciej Stachowiak <mstachow@alum.mit.edu>,
        Robert Bihlmeyer <e9426626@stud2.tuwien.ac.at>, scwm-discuss@mit.edu
Subject: Re: window-unstyle
References: <lfr9q5llfy.fsf@mars.zserv.tuwien.ac.at> <qrrogl9ux3q.fsf@elwha.cs.washington.edu> <3702B74B.C6C8B60C@alum.mit.edu> <qrremm5tbri.fsf@elwha.cs.washington.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 31 Mar 1999 20:50:25 -0500
In-Reply-To: Greg Badros's message of "31 Mar 1999 16:39:13 -0800"
Message-Id: <m3d81pnm72.fsf@209-122-231-175.s175.tnt4.sbo.ma.dialup.rcn.com>
Lines: 26
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> 
> > (I say "or more" because windows really have three different kinds of 
> > settings that window-style lets you change, look (e.g. #:squashed-titlebar),
> > feel (e.g. #:focus) and state (e.g. #:sticky)). 
> 
> It seems that your state is a lot like "both".  Sticky-state windows
> have a different behaviour and have a different look.
> 

No, that's not the distinction I was trying to draw. In my opinion the
fact that sticky windows look different in a specific way is a
historical accident which should be fixed.

Perhaps more clear examples of the kinds of things I mean are
`iconified', or `window-shaded', though I am not sure if those
currently have style option equivalents.

Basically, things that should be considered the results of direct
manipulation by the user, rather than aspects of either look or feel
per se.

 - Maciej


From owner-scwm-discuss@mit.edu  Wed Mar 31 21:47:04 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA20322
	for scwm-discuss-outgoing; Wed, 31 Mar 1999 21:47:04 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id VAA20319
	for <scwm-discuss@vicarious-existence.mit.edu>; Wed, 31 Mar 1999 21:47:02 -0500
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id SAA06420; Wed, 31 Mar 1999 18:45:50 -0800 (PST)
To: scwm-discuss@mit.edu
Subject: Purify, FlexeLint?
From: Greg Badros <gjb@cs.washington.edu>
Date: 31 Mar 1999 18:45:50 -0800
Message-ID: <qrru2v1rrc1.fsf@elwha.cs.washington.edu>
Lines: 6
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Anybody have access to Purify and/or FlexeLint?  It'd be great if we had 
some volunteers willing to try running these tools on Scwm as we prepare 
for 1.0... 

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Thu Apr  1 00:18:00 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id AAA21139
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 00:18:00 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id AAA21136
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 00:17:57 -0500
Received: from 207-172-255-249.s249.tnt2.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA14801; Thu, 1 Apr 99 00:17:37 EST
Received: (from mstx@localhost)
	by 209-122-231-175.s175.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id AAA13031;
	Thu, 1 Apr 1999 00:19:42 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Purify, FlexeLint?
References: <qrru2v1rrc1.fsf@elwha.cs.washington.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 01 Apr 1999 00:19:36 -0500
In-Reply-To: Greg Badros's message of "31 Mar 1999 18:45:50 -0800"
Message-Id: <m3zp4sgbo7.fsf@209-122-231-175.s175.tnt4.sbo.ma.dialup.rcn.com>
Lines: 11
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Anybody have access to Purify and/or FlexeLint?  It'd be great if we had 
> some volunteers willing to try running these tools on Scwm as we prepare 
> for 1.0... 
> 

I have purify at work. I can run it on a Solaris build on the
assumption that all our memory leaks are fully cross-platform. :-)

 - Maciej

From owner-scwm-discuss@mit.edu  Thu Apr  1 00:45:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id AAA21330
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 00:45:41 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id AAA21327
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 00:45:39 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA18650; Thu, 1 Apr 99 00:45:19 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA06550; Wed, 31 Mar 1999 21:44:24 -0800 (PST)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Purify, FlexeLint?
References: <qrru2v1rrc1.fsf@elwha.cs.washington.edu> <m3zp4sgbo7.fsf@209-122-231-175.s175.tnt4.sbo.ma.dialup.rcn.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 31 Mar 1999 21:44:24 -0800
In-Reply-To: Maciej Stachowiak's message of "01 Apr 1999 00:19:36 -0500"
Message-Id: <qrrpv5osxmv.fsf@elwha.cs.washington.edu>
Lines: 15
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > Anybody have access to Purify and/or FlexeLint?  It'd be great if we had 
> > some volunteers willing to try running these tools on Scwm as we prepare 
> > for 1.0... 
> > 
> 
> I have purify at work. I can run it on a Solaris build on the
> assumption that all our memory leaks are fully cross-platform. :-)

Excellent-- this'd be a huge win, I'd imagine.

Greg

From owner-scwm-discuss@mit.edu  Thu Apr  1 10:09:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA25546
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 10:09:41 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA25543
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 10:09:36 -0500
Received: from 205229026070.infonautics.com by MIT.EDU with SMTP
	id AA11927; Thu, 1 Apr 99 10:08:07 EST
Received: from luckycharms.infonautics.com (luckycharms.infonautics.com [207.17.60.151])
	by ns1.infonautics.com (8.9.1a/8.9.1/%M%/%I%) with ESMTP id KAA12345;
	Thu, 1 Apr 1999 10:08:02 -0500 (EST)
Message-Id: <199904011508.KAA12345@ns1.infonautics.com>
X-Mailer: exmh version 2.0.2 2/24/98
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Purify, FlexeLint? 
In-Reply-To: Your message of "31 Mar 1999 18:45:50 PST."
             <qrru2v1rrc1.fsf@elwha.cs.washington.edu> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 01 Apr 1999 10:07:45 -0500
From: Arturo Perez <arturo@infonautics.com>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

In message <qrru2v1rrc1.fsf@elwha.cs.washington.edu>, Greg Badros writes:
>Anybody have access to Purify and/or FlexeLint?  It'd be great if we had 
>some volunteers willing to try running these tools on Scwm as we prepare 
>for 1.0... 
>
>Thanks,
>Greg

I have access to Purify.  But it's been buggy lately for us (like not working).
If there's someone else with it they'd probably have better luck.


From owner-scwm-discuss@mit.edu  Thu Apr  1 12:06:47 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA26179
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 12:06:47 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA26176
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 12:06:41 -0500
Received: from [209.116.26.126] by MIT.EDU with SMTP
	id AA25935; Thu, 1 Apr 99 12:04:53 EST
Received: (from doug@localhost)
	by kabuki.leitess.com (8.8.7/8.8.7) id MAA04706;
	Thu, 1 Apr 1999 12:05:01 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <m3g16lnxe4.fsf@kabuki.leitess.com> <19990331143100.A17445@molehill.org> <qrr1zi5uv24.fsf@elwha.cs.washington.edu>
From: Doug McNaught <doug@mcnaught.org>
Date: 01 Apr 1999 12:05:00 -0500
In-Reply-To: Greg Badros's message of "31 Mar 1999 14:57:07 -0800"
Message-Id: <m3vhfgb7b7.fsf@kabuki.leitess.com>
Lines: 54
X-Mailer: Gnus v5.6.44/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Or just
> 
>  (use-modules (app scwm gnome-hints)
>               (app scwm preferences))
>  (scwm-options-dialog)
> 
> and select the Gnome tab, then twiddle the widgets.  :-)

I added 'sort' and 'flux' to the :use-modules clauses in
preferences.scm and now I get the following backtrace:

Backtrace:
 0* [scwm-options-dialog]
 1  (let* ((toplevel #) (tooltip #) (vbox #) ...)
(gtk-window-set-title toplevel "Scwm Options") ...)
 2* [scwm-options-notebook]
 3  (let* ((nb #) (sorted-options #) (by-group #)) (map (lambda # #)
by-group) ...)
 4* [map #<procedure (page)> ((gnome *debug-gnome-hints*
*gnome-desktop-number* ...) (system *use-scwm-system-proc*
*xterm-command* ...) (winops *opaque-move-percent*
*opaque-resize-percent*))]
 5* [#<procedure (page)> (system *use-scwm-system-proc*
*xterm-command* ...)]
 6* [scwm-options-notebook-page #<GtkNotebook 8102dc0> "system" ...]
 7  (let* ((label #) (vbox #) (hbox #) ...) (map (lambda # # ...)
Widgets) ...)
 8* [map #<procedure (s)> (*xterm-command* *remote-shell-command*
*use-scwm-system-proc* ...)]
 9* [#<procedure (s)> *netscape-new-window*]
10* (let* ((widget-and-getter #) (widget #)) (list widget (lambda ()
#) ...))
11* [option-widget-and-getter *netscape-new-window*]
12  (let* ((name #) (value #) (type #) ...) (case type (# #) ...))
13* [scwm-option-symget *netscape-new-window*]
14  (let ((g #)) (if g (g) ...))
    ...
15  [eval *netscape-new-window*]
16* *netscape-new-window*

ERROR: In expression *netscape-new-window*:
ERROR: Unbound variable: *netscape-new-window*

'*netscape-new-window*' is defined in flux.scm, so including it in the
header to preferences.scm *should* define it, but it doesn't seem to.

Any suggestions?  I need to learn more about the Guile module
system...

-Doug
-- 
Doug McNaught       doug@mcnaught.org     http://www.mcnaught.org/~doug

From owner-scwm-discuss@mit.edu  Thu Apr  1 12:15:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA26275
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 12:15:38 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA26272
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 12:15:36 -0500
Received: from [209.116.26.126] by MIT.EDU with SMTP
	id AA00336; Thu, 1 Apr 99 12:14:06 EST
Received: (from doug@localhost)
	by kabuki.leitess.com (8.8.7/8.8.7) id MAA04709;
	Thu, 1 Apr 1999 12:14:17 -0500
To: scwm-discuss@mit.edu
Subject: Crash and vanishing Eterm windows
From: Doug McNaught <doug@mcnaught.org>
Date: 01 Apr 1999 12:14:17 -0500
Message-Id: <m3r9q4b6vq.fsf@kabuki.leitess.com>
Lines: 23
X-Mailer: Gnus v5.6.44/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

While trying to get the (scwm-options-dialog) to work, I had scwm
segfault on me.  The output suggest running scwm with --permit-segv,
which is not a recognized option in thw snapshot I'm running
(19990331).  I'm currently running it with --segv-cleanup-and-stop and 
stdout/stderr redirected to a file, but haven't managed to crash it
again (the former crash was just after evaluating
(scwm-options-dialog) and getting the backtrace).  

One thing I'm noticing is that restarting scwm causes me to 'lose'
several of my terminal (Eterm) windows.  They don't show up in the
(Gnome) pager display or on the screen.  They are listed in the
pager's task list, but don't appear when I click on them there.  I can 
only get them back by picking them from the scwm windowlist menu,
which causes them to magically appear in the upper left corner of the
screen. 

Any ideas?  I'm not sure what more to do to help narrow the problem
down--I'll be happy to try any suggestions and/or post my .scwmrc if
it'll help...

-Doug
-- 
Doug McNaught       doug@mcnaught.org     http://www.mcnaught.org/~doug

From owner-scwm-discuss@mit.edu  Thu Apr  1 13:54:25 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA26839
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 13:54:25 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA26836
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 13:54:22 -0500
Received: from [209.116.26.126] by MIT.EDU with SMTP
	id AA26125; Thu, 1 Apr 99 13:53:56 EST
Received: (from doug@localhost)
	by kabuki.leitess.com (8.8.7/8.8.7) id NAA04768;
	Thu, 1 Apr 1999 13:53:02 -0500
To: scwm-discuss@mit.edu
Subject: Gnome desktop icons
From: Doug McNaught <doug@mcnaught.org>
Date: 01 Apr 1999 13:53:02 -0500
Message-Id: <m3u2v08969.fsf@kabuki.leitess.com>
Lines: 14
X-Mailer: Gnus v5.6.44/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I'm trying to figure out how to treat Gnome's desktop icons (which are 
maintained by gmc, GNU Midnight Commander).  If not treated specially
they end up with one-pixel-high 'titlebars' above the icons.  If I do

(window-style "gmc" #:no-titlebar #t #:border-width 0)

the titlebars go away, but then the gmc file view windows have no
title either, which I don't want.  I'm guessing Scwm isn't completely
honoring the window hints that gmc is using for the icons, but I have
no idea how to figure out the details.  Any suggestions?

-Doug
-- 
Doug McNaught       doug@mcnaught.org     http://www.mcnaught.org/~doug

From owner-scwm-discuss@mit.edu  Thu Apr  1 14:15:02 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA26989
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 14:15:02 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA26983
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 14:14:59 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA11382; Thu, 1 Apr 99 14:13:28 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id VAA26633
	for scwm-discuss@mit.edu; Thu, 1 Apr 1999 21:10:52 +0200 (MET DST)
Received: (qmail 5051 invoked by uid 115); 1 Apr 1999 15:54:44 -0000
To: scwm-discuss@mit.edu
Subject: Re: window-unstyle
References: <lfr9q5llfy.fsf@mars.zserv.tuwien.ac.at> <qrrogl9ux3q.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 01 Apr 1999 17:54:43 +0200
In-Reply-To: Greg Badros's message of "31 Mar 1999 14:12:57 -0800"
Message-Id: <wsvhfgl4jg.fsf@orcus.priv.at>
Lines: 15
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 31 Mar 1999 14:12:57 -0800
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> WRT changing existing windows, does force-reset-window-frame!
 Greg> do what you want?

No.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Apr  1 14:16:36 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA27035
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 14:16:36 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA27030
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 14:16:34 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA11864; Thu, 1 Apr 99 14:15:03 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id VAA26636
	for scwm-discuss@mit.edu; Thu, 1 Apr 1999 21:10:56 +0200 (MET DST)
Received: (qmail 9497 invoked by uid 115); 1 Apr 1999 16:32:28 -0000
To: scwm-discuss@mit.edu
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <m3g16lnxe4.fsf@kabuki.leitess.com> <19990331143100.A17445@molehill.org> <qrr1zi5uv24.fsf@elwha.cs.washington.edu> <m3pv5pb5j2.fsf@kabuki.leitess.com> <qrrk8vxtc1m.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 01 Apr 1999 18:32:27 +0200
In-Reply-To: Greg Badros's message of "31 Mar 1999 16:33:08 -0800"
Message-Id: <wsogl8l2sk.fsf@orcus.priv.at>
Lines: 21
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 31 Mar 1999 16:33:08 -0800
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> Try adding :use-module (app scwm sort) to the list at the top
 Greg> of preferences.scm, [...]

This works and should be checked in.

I also had to `(use-modules (app scwm themes))' before doing
`(scwm-options-dialog)', else it would barf about `*theme-path*' being 
undefined.

Now the thing runs, and looks quite nice. Good work!

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Apr  1 14:16:55 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA27051
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 14:16:55 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA27046
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 14:16:53 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA11980; Thu, 1 Apr 99 14:15:19 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id VAA26634
	for scwm-discuss@mit.edu; Thu, 1 Apr 1999 21:10:53 +0200 (MET DST)
Received: (qmail 3525 invoked by uid 115); 1 Apr 1999 15:42:55 -0000
To: scwm-discuss@mit.edu
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <199903292318.RAA02358@vh213601.truman.edu> <199903300012.SAA08989@vh213601.truman.edu> <ws4sn3t3cv.fsf@orcus.priv.at> <199903302035.OAA25731@vh213601.truman.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 01 Apr 1999 17:42:54 +0200
In-Reply-To: jay@vh213601.truman.edu's message of "Tue, 30 Mar 1999 14:35:19 -0600"
Message-Id: <wsyakcl535.fsf@orcus.priv.at>
Lines: 22
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Tue, 30 Mar 1999 14:35:19 -0600
>>>>> jay@vh213601.truman.edu said:

 jay> A feature, huh? In the version of scwm that I'm using now, any
 jay> windows low enough will cover the panel. (I like that better.)

I don't get what you want, exactly.
a) Panel should act like a normal window
b) Like a), but raise on mouse-enter
c) Panel should be below normal windows
d) Panel should be above normal windows

a, c, d are possible to hack from Scwm, b must be supported by the
panel.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Apr  1 14:17:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA27071
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 14:17:18 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA27065
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 14:17:14 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA12155; Thu, 1 Apr 99 14:15:43 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id VAA26635
	for scwm-discuss@mit.edu; Thu, 1 Apr 1999 21:10:55 +0200 (MET DST)
Received: (qmail 9381 invoked by uid 115); 1 Apr 1999 16:08:53 -0000
To: scwm-discuss@mit.edu
Subject: Re: esd
References: <m3d81rm3re.fsf@eho.eaglets.com>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 01 Apr 1999 18:08:53 +0200
In-Reply-To: Sam Steingold's message of "30 Mar 1999 09:49:25 -0500"
Message-Id: <wsr9q4l3vu.fsf@orcus.priv.at>
Lines: 29
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 30 Mar 1999 09:49:25 -0500
>>>>> Sam Steingold <sds@goems.com> said:

 Sam> $ ls /usr/bin/esd-config
 Sam>    2 /usr/bin/esd-config*
 Sam> $ ESD_CONFIG=/usr/bin/esd-config ./configure --enable-maintainer-mode --with-lispdir=/usr/share/emacs/site-lisp/
 Sam> ....
 Sam> checking for ESD - version >= 0.2.7... no
 Sam> *** The esd-config script installed by ESD could not be found
 Sam> *** If ESD was installed in PREFIX, make sure PREFIX/bin is in
 Sam> *** your path, or set the ESD_CONFIG environment variable to the
 Sam> *** full path to esd-config.
 Sam> ....
 Sam> $ rpm -q esound-devel
 Sam> esound-devel-0.2.8-3
 Sam> $

Hmm, I can't reproduce that here. If I move esd-config to some
directory outside the path, "ESD_CONFIG=bla ./configure" works.

Does executing esd-config from the commandline work for you?

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Apr  1 14:37:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA27297
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 14:37:18 -0500
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA27294
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 14:37:15 -0500
From: jay@vh213601.truman.edu
Received: from vh213601.truman.edu by MIT.EDU with SMTP
	id AA12001; Thu, 1 Apr 99 14:36:47 EST
Received: (from jay@localhost)
	by vh213601.truman.edu (8.8.7/8.8.7) id NAA31776;
	Thu, 1 Apr 1999 13:36:25 -0600
Date: Thu, 1 Apr 1999 13:36:25 -0600
Message-Id: <199904011936.NAA31776@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
To: scwm-discuss@mit.edu
In-Reply-To: <wsyakcl535.fsf@orcus.priv.at> (message from Robert Bihlmeyer on
	01 Apr 1999 17:42:54 +0200)
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <199903292318.RAA02358@vh213601.truman.edu> <199903300012.SAA08989@vh213601.truman.edu> <ws4sn3t3cv.fsf@orcus.priv.at> <199903302035.OAA25731@vh213601.truman.edu> <wsyakcl535.fsf@orcus.priv.at>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi!

>  jay> A feature, huh? In the version of scwm that I'm using now, any
>  jay> windows low enough will cover the panel. (I like that better.)
> 
> I don't get what you want, exactly.
> a) Panel should act like a normal window
> b) Like a), but raise on mouse-enter
> c) Panel should be below normal windows
> d) Panel should be above normal windows
> 
> a, c, d are possible to hack from Scwm, b must be supported by the
> panel.
> 
>         Robbe

Well, in the Scwm version I was complaining about, d) was always the
case.  In the version of Scwm that I'm currently running (3/31), c) is
always the case, which is what I like.  (Although d) is the case even
when the panel has the focus ... )

Jay

From owner-scwm-discuss@mit.edu  Thu Apr  1 18:32:48 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA28457
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 18:32:48 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA28454
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 18:32:45 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA12459; Thu, 1 Apr 99 18:31:12 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id BAA08166
	for scwm-discuss@mit.edu; Fri, 2 Apr 1999 01:20:56 +0200 (MET DST)
Received: (qmail 10643 invoked by uid 115); 1 Apr 1999 20:59:40 -0000
To: scwm-discuss@mit.edu
Subject: Re: Gnome desktop icons
References: <m3u2v08969.fsf@kabuki.leitess.com>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 01 Apr 1999 22:59:40 +0200
In-Reply-To: Doug McNaught's message of "01 Apr 1999 13:53:02 -0500"
Message-Id: <wsr9q4jbur.fsf@orcus.priv.at>
Lines: 26
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 01 Apr 1999 13:53:02 -0500
>>>>> Doug McNaught <doug@mcnaught.org> said:

 Doug> If I do

 Doug> (window-style "gmc" #:no-titlebar #t #:border-width 0)

 Doug> the titlebars go away, but then the gmc file view windows have
 Doug> no title either, which I don't want.

First off, replacing "gmc" with "desktop_icon" should just affect the
icons.

FWIW, I don't see any improvement with this window-style command. The
one-pixel high visual artefact stays.

Things like x11amp that request no titlebar also have visual
artefacts. Here #:border-width 0 would help.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Apr  1 18:32:53 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA28462
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 18:32:53 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA28459
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 18:32:51 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA12468; Thu, 1 Apr 99 18:31:18 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id BAA08167
	for scwm-discuss@mit.edu; Fri, 2 Apr 1999 01:20:57 +0200 (MET DST)
Received: (qmail 10659 invoked by uid 115); 1 Apr 1999 21:05:23 -0000
To: scwm-discuss@mit.edu
Subject: Re: Crash and vanishing Eterm windows
References: <m3r9q4b6vq.fsf@kabuki.leitess.com>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 01 Apr 1999 23:05:22 +0200
In-Reply-To: Doug McNaught's message of "01 Apr 1999 12:14:17 -0500"
Message-Id: <wsogl8jbl9.fsf@orcus.priv.at>
Lines: 30
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 01 Apr 1999 12:14:17 -0500
>>>>> Doug McNaught <doug@mcnaught.org> said:

 Doug> One thing I'm noticing is that restarting scwm causes me to
 Doug> 'lose' several of my terminal (Eterm) windows. They don't show
 Doug> up in the (Gnome) pager display or on the screen.

They are somewhere off-screen, I'll bet. If you do `(show-window-list-menu
#:show-geometry #t)', what geometry does it report for the lost window?

 Doug> They are listed in the pager's task list, but don't appear when
 Doug> I click on them there.

Gnome pager does nothing like move the windows.

 Doug> I can only get them back by picking them from the scwm
 Doug> windowlist menu, which causes them to magically appear in the
 Doug> upper left corner of the screen.

Scwm itself will force windows that are totally off-scrren back into
the viewport. Why they would get off-screen in the first place is
beyond me. Are you by chance using virtual screens? 

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Apr  1 19:22:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA28975
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 19:22:38 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA28969
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 19:22:35 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA29897; Thu, 1 Apr 99 19:22:07 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA07683; Thu, 1 Apr 1999 16:21:11 -0800 (PST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <199903292318.RAA02358@vh213601.truman.edu> <199903300012.SAA08989@vh213601.truman.edu> <ws4sn3t3cv.fsf@orcus.priv.at> <199903302035.OAA25731@vh213601.truman.edu> <wsyakcl535.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Apr 1999 16:21:11 -0800
In-Reply-To: Robert Bihlmeyer's message of "01 Apr 1999 17:42:54 +0200"
Message-Id: <qrremm3rhxk.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On Tue, 30 Mar 1999 14:35:19 -0600
> >>>>> jay@vh213601.truman.edu said:
> 
>  jay> A feature, huh? In the version of scwm that I'm using now, any
>  jay> windows low enough will cover the panel. (I like that better.)
> 
> I don't get what you want, exactly.
> a) Panel should act like a normal window
> b) Like a), but raise on mouse-enter
> c) Panel should be below normal windows
> d) Panel should be above normal windows
> 
> a, c, d are possible to hack from Scwm, b must be supported by the
> panel.

Is the panel a top-level window?  If so, the window-enter-hook can make
b work w/o panel support.

Greg

From owner-scwm-discuss@mit.edu  Thu Apr  1 19:27:08 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA29068
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 19:27:08 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA29065
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 19:27:05 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA23935; Thu, 1 Apr 99 19:25:32 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA07686; Thu, 1 Apr 1999 16:25:40 -0800 (PST)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Preferences options and modules [was Re: Scwm and Gnome]
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <m3g16lnxe4.fsf@kabuki.leitess.com> <19990331143100.A17445@molehill.org> <qrr1zi5uv24.fsf@elwha.cs.washington.edu> <m3pv5pb5j2.fsf@kabuki.leitess.com> <qrrk8vxtc1m.fsf@elwha.cs.washington.edu> <wsogl8l2sk.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Apr 1999 16:25:40 -0800
In-Reply-To: Robert Bihlmeyer's message of "01 Apr 1999 18:32:27 +0200"
Message-Id: <qrrbth7rhq3.fsf_-_@elwha.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 31 Mar 1999 16:33:08 -0800
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
>  Greg> Try adding :use-module (app scwm sort) to the list at the top
>  Greg> of preferences.scm, [...]
> 
> This works and should be checked in.

Will do...

> I also had to `(use-modules (app scwm themes))' before doing
> `(scwm-options-dialog)', else it would barf about `*theme-path*' being 
> undefined.

This is part of a more fundamental problem with putting user option
variables in their module.  In short, loading a module makes the
options it defines visible globally, but the actual variables are still
hidden inside the module.  When the preferences module's
scwm-options-dialog tries to access the values of those variables, it
will fail unless they are visible from either the root module or the
preferences module.  Lots of solutions are possible, but we've not
picked one yet.  Thoughts and feedback are welcome!

> 
> Now the thing runs, and looks quite nice. Good work!

Great, thanks!  I just added color, font, and file selectors yesterday, too.

Greg

From owner-scwm-discuss@mit.edu  Thu Apr  1 19:36:11 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA29237
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 19:36:11 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA29234
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 19:36:08 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA25507; Thu, 1 Apr 99 19:34:35 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA07694; Thu, 1 Apr 1999 16:34:44 -0800 (PST)
To: Doug McNaught <doug@mcnaught.org>
Cc: scwm-discuss@mit.edu
Subject: Re: Crash and vanishing Eterm windows
References: <m3r9q4b6vq.fsf@kabuki.leitess.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Apr 1999 16:34:44 -0800
In-Reply-To: Doug McNaught's message of "01 Apr 1999 12:14:17 -0500"
Message-Id: <qrr90cbrhaz.fsf@elwha.cs.washington.edu>
Lines: 44
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Doug McNaught <doug@mcnaught.org> writes:

> While trying to get the (scwm-options-dialog) to work, I had scwm
> segfault on me.  The output suggest running scwm with --permit-segv,
> which is not a recognized option in thw snapshot I'm running
> (19990331).  I'm currently running it with --segv-cleanup-and-stop and 
> stdout/stderr redirected to a file, but haven't managed to crash it
> again (the former crash was just after evaluating
> (scwm-options-dialog) and getting the backtrace).  

I've been fiddling with the segv handling options and forgotten about
that message.  It'll be fixed after today.

I've found using guile-gtk from Scwm a bit unstable when I do the wrong
thing, but works fine if I don't get guile-gtk assertions failing.  Not
sure where the problems are yet, as I've been playing with trying to
*keep* Scwm alive despite the difficulties, rather than fixing the
difficulties (though we certainly will do the latter, too).

> One thing I'm noticing is that restarting scwm causes me to 'lose'
> several of my terminal (Eterm) windows.  They don't show up in the
> (Gnome) pager display or on the screen.  They are listed in the
> pager's task list, but don't appear when I click on them there.  I can 
> only get them back by picking them from the scwm windowlist menu,
> which causes them to magically appear in the upper left corner of the
> screen. 

I've seen this too -- my windows all get shifted up by the
viewport-offset when Scwm dies.  I've been using a line at the bottom of 
flux.scm to shift all the windows back down because I've not had time to 
deal with this (plus it's hard to debug some stuff while I've only got
access to a single X server -- my setup in Seattle is much nicer for
tracking these kinds of problems).

> Any ideas?  I'm not sure what more to do to help narrow the problem
> down--I'll be happy to try any suggestions and/or post my .scwmrc if
> it'll help...

I'll look at the code briefly and see if I can figure out what is wrong
without a debugger.  It's probably pretty straightforward.

Thanks for the problem reports.

Greg

From owner-scwm-discuss@mit.edu  Thu Apr  1 21:01:02 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA29972
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 21:01:02 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA29964
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 21:00:59 -0500
Received: from kirk.newtonlabs.com by MIT.EDU with SMTP
	id AA15786; Thu, 1 Apr 99 21:00:29 EST
Received: from bogomips.newtonlabs.com (bogomips.newtonlabs.com [207.55.51.12])
	by quasar.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) with ESMTP id RAA28970;
	Thu, 1 Apr 1999 17:59:35 -0800
Received: (from cwitty@localhost)
	by bogomips.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) id RAA02104;
	Thu, 1 Apr 1999 17:59:34 -0800
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Crash and vanishing Eterm windows
References: <m3r9q4b6vq.fsf@kabuki.leitess.com> <qrr90cbrhaz.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: cwitty@newtonlabs.com (Carl R. Witty)
Date: 01 Apr 1999 17:59:33 -0800
In-Reply-To: Greg Badros's message of "01 Apr 1999 16:34:44 -0800"
Message-Id: <v4jogl7235m.fsf@bogomips.newtonlabs.com>
Lines: 17
X-Mailer: Gnus v5.4.61/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> I've seen this too -- my windows all get shifted up by the
> viewport-offset when Scwm dies.  I've been using a line at the bottom of 
> flux.scm to shift all the windows back down because I've not had time to 
> deal with this (plus it's hard to debug some stuff while I've only got
> access to a single X server -- my setup in Seattle is much nicer for
> tracking these kinds of problems).

Have you considered setting up Xnest or vncserver/xvncviewer?
I'd particularly recommend VNC...check out
http://www.uk.research.att.com/vnc/ .  Briefly, you can run vncserver
and xvncviewer to get another X server running in a window of your
"main" X server.  (Of course, VNC can do much more than this.)

Carl Witty
cwitty@newtonlabs.com

From owner-scwm-discuss@mit.edu  Thu Apr  1 21:40:14 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA30248
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 21:40:14 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA30245
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 21:40:10 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA15420; Thu, 1 Apr 99 21:38:36 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id SAA07849; Thu, 1 Apr 1999 18:38:44 -0800 (PST)
To: cwitty@newtonlabs.com (Carl R. Witty)
Cc: scwm-discuss@mit.edu
Subject: Re: Crash and vanishing Eterm windows
References: <m3r9q4b6vq.fsf@kabuki.leitess.com> <qrr90cbrhaz.fsf@elwha.cs.washington.edu> <v4jogl7235m.fsf@bogomips.newtonlabs.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Apr 1999 18:38:43 -0800
In-Reply-To: cwitty@newtonlabs.com's message of "01 Apr 1999 17:59:33 -0800"
Message-Id: <qrrwvzvpwzw.fsf@elwha.cs.washington.edu>
Lines: 29
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

cwitty@newtonlabs.com (Carl R. Witty) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > I've seen this too -- my windows all get shifted up by the
> > viewport-offset when Scwm dies.  I've been using a line at the bottom of 
> > flux.scm to shift all the windows back down because I've not had time to 
> > deal with this (plus it's hard to debug some stuff while I've only got
> > access to a single X server -- my setup in Seattle is much nicer for
> > tracking these kinds of problems).
> 
> Have you considered setting up Xnest or vncserver/xvncviewer?
> I'd particularly recommend VNC...check out
> http://www.uk.research.att.com/vnc/ .  Briefly, you can run vncserver
> and xvncviewer to get another X server running in a window of your
> "main" X server.  (Of course, VNC can do much more than this.)

I've used both of them before, but don't particularly like the
interactions between the outer wm and the inner wm.  E.g., my real X
server's wm grabs keystrokes before the wm I'm debugging inside a, e.g., 
Xnest sees them.

Though it is nice for some things (and many don't know about these
capabilities, so thanks for bringing it up), it's not worth it for me.
(Especially considering I'm mostly working on other stuff while I'm in
Australia, and actually have a lot to get done with my research in the
next month in addition to seeing more of the country).

Greg

From owner-scwm-discuss@mit.edu  Thu Apr  1 22:56:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA30902
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 22:56:13 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA30899
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 22:56:11 -0500
Received: from kirk.newtonlabs.com by MIT.EDU with SMTP
	id AA03883; Thu, 1 Apr 99 22:55:40 EST
Received: from bogomips.newtonlabs.com (bogomips.newtonlabs.com [207.55.51.12])
	by quasar.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) with ESMTP id TAA16838;
	Thu, 1 Apr 1999 19:54:46 -0800
Received: (from cwitty@localhost)
	by bogomips.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) id TAA02372;
	Thu, 1 Apr 1999 19:54:45 -0800
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Crash and vanishing Eterm windows
References: <m3r9q4b6vq.fsf@kabuki.leitess.com> <qrr90cbrhaz.fsf@elwha.cs.washington.edu> <v4jogl7235m.fsf@bogomips.newtonlabs.com> <qrrwvzvpwzw.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: cwitty@newtonlabs.com (Carl R. Witty)
Date: 01 Apr 1999 19:54:45 -0800
In-Reply-To: Greg Badros's message of "01 Apr 1999 18:38:43 -0800"
Message-Id: <v4jn20r1xtm.fsf@bogomips.newtonlabs.com>
Lines: 38
X-Mailer: Gnus v5.4.61/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> cwitty@newtonlabs.com (Carl R. Witty) writes:
> > Have you considered setting up Xnest or vncserver/xvncviewer?
> > I'd particularly recommend VNC...check out
> > http://www.uk.research.att.com/vnc/ .  Briefly, you can run vncserver
> > and xvncviewer to get another X server running in a window of your
> > "main" X server.  (Of course, VNC can do much more than this.)
> 
> I've used both of them before, but don't particularly like the
> interactions between the outer wm and the inner wm.  E.g., my real X
> server's wm grabs keystrokes before the wm I'm debugging inside a, e.g., 
> Xnest sees them.

I do have an idea for getting around this problem.  You could have
three X servers; the "main" one and two Xnests or vncservers.  One of
the nested servers is where you do your real work; the other is for
debugging scwm.  The main server does nothing besides view the other
two servers.  You would set up the main server with a minimal window
manager setup, with no window decorations and only a single key
binding, for something like "bury current window"; then you run the
nested servers full-screen (so when you're looking at the screen, the
only thing you see is the nested server).  At this point, you
effectively have two X servers that you can switch back and forth
between.  I haven't tried this myself, but it sure seems like it ought
to work; the only caveat is that it does reduce the performance of
your "working" X server slightly.

> Though it is nice for some things (and many don't know about these
> capabilities, so thanks for bringing it up), it's not worth it for me.
> (Especially considering I'm mostly working on other stuff while I'm in
> Australia, and actually have a lot to get done with my research in the
> next month in addition to seeing more of the country).

Fair enough.

Carl Witty
cwitty@newtonlabs.com

From owner-scwm-discuss@mit.edu  Thu Apr  1 23:01:48 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA31122
	for scwm-discuss-outgoing; Thu, 1 Apr 1999 23:01:48 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA31119
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 1 Apr 1999 23:01:46 -0500
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA27134; Thu, 1 Apr 99 23:00:10 EST
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id UAA07946; Thu, 1 Apr 1999 20:00:15 -0800 (PST)
To: cwitty@newtonlabs.com (Carl R. Witty)
Cc: scwm-discuss@mit.edu
Subject: Re: Crash and vanishing Eterm windows
References: <m3r9q4b6vq.fsf@kabuki.leitess.com> <qrr90cbrhaz.fsf@elwha.cs.washington.edu> <v4jogl7235m.fsf@bogomips.newtonlabs.com> <qrrwvzvpwzw.fsf@elwha.cs.washington.edu> <v4jn20r1xtm.fsf@bogomips.newtonlabs.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Apr 1999 20:00:13 -0800
In-Reply-To: cwitty@newtonlabs.com's message of "01 Apr 1999 19:54:45 -0800"
Message-Id: <qrrsoajpt82.fsf@elwha.cs.washington.edu>
Lines: 28
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

cwitty@newtonlabs.com (Carl R. Witty) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > cwitty@newtonlabs.com (Carl R. Witty) writes:
> > > Have you considered setting up Xnest or vncserver/xvncviewer?
> > > I'd particularly recommend VNC...check out
> > > http://www.uk.research.att.com/vnc/ .  Briefly, you can run vncserver
> > > and xvncviewer to get another X server running in a window of your
> > > "main" X server.  (Of course, VNC can do much more than this.)
> > 
> > I've used both of them before, but don't particularly like the
> > interactions between the outer wm and the inner wm.  E.g., my real X
> > server's wm grabs keystrokes before the wm I'm debugging inside a, e.g., 
> > Xnest sees them.
> 
> I do have an idea for getting around this problem.  You could have
> three X servers; the "main" one and two Xnests or vncservers.  One of
> the nested servers is where you do your real work; the other is for
> debugging scwm.  The main server does nothing besides view the other

Clever... I'll have to remember this for other occassions when I am more
willing to have my time diverted to Scwm (as if it weren't enough
already! :-) )... Thanks!

<snip>

Greg

From owner-scwm-discuss@mit.edu  Fri Apr  2 02:34:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA00057
	for scwm-discuss-outgoing; Fri, 2 Apr 1999 02:34:17 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA00054
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 2 Apr 1999 02:34:14 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA01782; Fri, 2 Apr 99 02:33:41 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id JAA22997
	for scwm-discuss@mit.edu; Fri, 2 Apr 1999 09:22:35 +0200 (MET DST)
Received: (qmail 312 invoked by uid 115); 2 Apr 1999 07:18:33 -0000
To: scwm-discuss@mit.edu
Subject: Re: Scwm and Gnome
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <199903292318.RAA02358@vh213601.truman.edu> <199903300012.SAA08989@vh213601.truman.edu> <ws4sn3t3cv.fsf@orcus.priv.at> <199903302035.OAA25731@vh213601.truman.edu> <wsyakcl535.fsf@orcus.priv.at> <199904011936.NAA31776@vh213601.truman.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 02 Apr 1999 09:18:32 +0200
In-Reply-To: jay@vh213601.truman.edu's message of "Thu, 1 Apr 1999 13:36:25 -0600"
Message-Id: <wsd81nqylz.fsf@orcus.priv.at>
Lines: 24
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Thu, 1 Apr 1999 13:36:25 -0600
>>>>> jay@vh213601.truman.edu said:

 >> a) Panel should act like a normal window
 >> b) Like a), but raise on mouse-enter
 >> c) Panel should be below normal windows
 >> d) Panel should be above normal windows

 jay> Well, in the Scwm version I was complaining about, d) was always
 jay> the case. In the version of Scwm that I'm currently running
 jay> (3/31), c) is always the case, which is what I like. (Although
 jay> d) is the case even when the panel has the focus ... )

Now that I think about it, even keeping the panel below, and raising
it on mouse-enter is possible. You'd have to play around with
auto-raise and/or window-{enter,leave}-hook.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Fri Apr  2 04:55:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA02105
	for scwm-discuss-outgoing; Fri, 2 Apr 1999 04:55:09 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA02102
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 2 Apr 1999 04:55:05 -0500
Received: from lilly.ping.de by MIT.EDU with SMTP
	id AA12087; Fri, 2 Apr 99 04:54:31 EST
Received: (qmail 10121 invoked by uid 10); 2 Apr 1999 09:53:36 -0000
Received: from zagadka.ping.de by lilly.ping.de with UUCP (rmail-0.1-fdc); 2 Apr 1999 09:53:36 -0000
Received: (qmail 1119 invoked by uid 1000); 1 Apr 1999 23:15:58 -0000
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Keeping Scwm's GTK windows from being destroyed...
References: <qrr677huvsa.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Marius Vollmer <mvo@zagadka.ping.de>
Date: 02 Apr 1999 01:15:57 +0200
In-Reply-To: Greg Badros's message of "31 Mar 1999 14:41:25 -0800"
Message-Id: <87lngcaq4y.fsf@zagadka.ping.de>
Lines: 27
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Also, my scwm feature requires a little bit of help from
> guile-gtk-0.15 in making the gdk_leader_window variable accessible
> to Scwm.  Below is a patch to guile-gtk-0.15 to provide one
> additional proc, `gdk-lead-window', for Scwm to use in (app scwm
> gtk).
> 
> Unless there is a better/different way to do this, I'd love to see
> this patch make it in to guile-gtk-0.16 (it is of some general
> interest, perhaps, and is very small).

There is generally no problem with additions to guile-gtk that just
pump up the functionality and can be ignored when not needed.

But I don't like throwing around untyped data.  It might ocassionally
be useful to tell a window ID from a number.  Maybe it's the right
thing to do here, I don't know.  Guile-gtk has already the GdkWindow
type in its (gtk gdk) module.  Could that be used instead?  Or doesn't
the leader window have a GdkWindow?  I don't know what a leader window
is.

You can also add things outside of guile-gtk.  I'm not familiar with
scwm's code but maybe it already has some wrappings of its own.  Just
add gdk-lead-window to it.  No need to wait for guile-gtk.

- Marius

From owner-scwm-discuss@mit.edu  Sat Apr  3 02:53:02 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA08485
	for scwm-discuss-outgoing; Sat, 3 Apr 1999 02:53:02 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA08471
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 3 Apr 1999 02:52:55 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA06858; Sat, 3 Apr 99 02:51:05 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id JAA14632
	for scwm-discuss@mit.edu; Sat, 3 Apr 1999 09:43:36 +0200 (MET DST)
Received: (qmail 651 invoked by uid 115); 2 Apr 1999 08:39:38 -0000
To: SCWM discussion list <scwm-discuss@mit.edu>
Subject: scwm.el: `scheme-font-lock-keywords' undefined
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 02 Apr 1999 10:39:37 +0200
Message-Id: <ws7lrvquuu.fsf@orcus.priv.at>
Lines: 10
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

my xemacs-20.4 does not know anything about
`scheme-font-lock-keywords', so loading "scwm.el" (Rev 1.69) fails.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Sat Apr  3 02:53:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA08487
	for scwm-discuss-outgoing; Sat, 3 Apr 1999 02:53:03 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA08473
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 3 Apr 1999 02:52:57 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA06861; Sat, 3 Apr 99 02:51:06 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id JAA14631
	for scwm-discuss@mit.edu; Sat, 3 Apr 1999 09:43:35 +0200 (MET DST)
Received: (qmail 618 invoked by uid 115); 2 Apr 1999 08:27:29 -0000
To: scwm-discuss@mit.edu
Subject: Re: Crash and vanishing Eterm windows
References: <m3r9q4b6vq.fsf@kabuki.leitess.com> <qrr90cbrhaz.fsf@elwha.cs.washington.edu> <v4jogl7235m.fsf@bogomips.newtonlabs.com> <qrrwvzvpwzw.fsf@elwha.cs.washington.edu> <v4jn20r1xtm.fsf@bogomips.newtonlabs.com>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 02 Apr 1999 10:27:29 +0200
In-Reply-To: cwitty@newtonlabs.com's message of "01 Apr 1999 19:54:45 -0800"
Message-Id: <wsaewrqvf2.fsf@orcus.priv.at>
Lines: 22
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 01 Apr 1999 19:54:45 -0800
>>>>> cwitty@newtonlabs.com (Carl R. Witty) said:

 Carl> I do have an idea for getting around this problem. You could
 Carl> have three X servers; the "main" one and two Xnests or
 Carl> vncservers.

That's a neat trick. Xnest (at least the one I use here) is not very
usable for Real Work, though. If has problems with displaying pixmaps, 
for example. vnc may be another thing, but I suspect that the
performance hit is bigger.

This is moot for me anyway, since I have virtual consoles, and a spare 
terminal...

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Sat Apr  3 02:53:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA08498
	for scwm-discuss-outgoing; Sat, 3 Apr 1999 02:53:45 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA08494
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 3 Apr 1999 02:53:42 -0500
Received: from [208.193.161.30] by MIT.EDU with SMTP
	id AA29979; Sat, 3 Apr 99 02:52:53 EST
Received: from localhost (jsquire@localhost)
	by dnmailx1.neonsoft.com (8.9.1/8.9.1) with ESMTP id AAA22365
	for <scwm-discuss@mit.edu>; Sat, 3 Apr 1999 00:51:59 -0700
Date: Sat, 3 Apr 1999 00:51:59 -0700 (MST)
From: Joel Squire <jsquire@neonsoft.com>
To: Scwm Discuss List <scwm-discuss@mit.edu>
Subject: Event rewrite feedback
Message-Id: <Pine.LNX.4.04.9904030023340.22252-100000@dnmailx1.neonsoft.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I've spent some more time playing with the event handling and found an
another spot that needs clarification. To provide the synthetic mouse
events listed in the spec, we obviously need to maintain some sort of
state inside the main event handler. When we start binding these events to
procedures that have their own event loop (such as InteractiveMove or the
menu routines), this state becomes hard to maintain. We need some
indication that the state should be reset after these 'heavy-weight'
bindings have executed. How about letting a #f return value from the
binding procedure indicate this?

-- 
Joel Squire <jsquire@neonsoft.com>		Phone	(303) 409-9636
UNIX Systems Administrator			Fax	(303) 694-3885


From owner-scwm-discuss@mit.edu  Sat Apr  3 02:53:02 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA08486
	for scwm-discuss-outgoing; Sat, 3 Apr 1999 02:53:02 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA08478
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 3 Apr 1999 02:52:58 -0500
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA06864; Sat, 3 Apr 99 02:51:08 EST
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id JAA14633
	for scwm-discuss@mit.edu; Sat, 3 Apr 1999 09:43:37 +0200 (MET DST)
Received: (qmail 852 invoked by uid 115); 2 Apr 1999 09:47:44 -0000
To: scwm-discuss@mit.edu
Subject: Re: Preferences options and modules
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <m3g16lnxe4.fsf@kabuki.leitess.com> <19990331143100.A17445@molehill.org> <qrr1zi5uv24.fsf@elwha.cs.washington.edu> <m3pv5pb5j2.fsf@kabuki.leitess.com> <qrrk8vxtc1m.fsf@elwha.cs.washington.edu> <wsogl8l2sk.fsf@orcus.priv.at> <qrrbth7rhq3.fsf_-_@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 02 Apr 1999 11:47:43 +0200
In-Reply-To: Greg Badros's message of "01 Apr 1999 16:25:40 -0800"
Message-Id: <ws4smzqrpc.fsf_-_@orcus.priv.at>
Lines: 53
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 01 Apr 1999 16:25:40 -0800
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> This is part of a more fundamental problem with putting user
 Greg> option variables in their module. In short, loading a module
 Greg> makes the options it defines visible globally, but the actual
 Greg> variables are still hidden inside the module.

Hmm, this happens if I use a module A that uses another module B in
turn. B's variables are not in the-root-module then. But these
variables can influence me still, since A supposedly uses some
functions/variables from B. So being able to change these varaibles is
useful.

What should the preference code do?

1. Automatically issue an appropriate `use-modules' call whenever
   not-yet-global variables are about to be changed.
2. Access these variables with module-ref, leaving namespaces as they
   are.
3. Ignore these variables.

I prefere 2, it seems the cleanest solution not to interfere too much.

One further issue is that using object-properties for the options
stuff pollutes the namespace. object-properties are global, so
options with the same name in different modules (that could otherwise
coexist peacefully) have a problem.

 Greg> Great, thanks! I just added color, font, and file selectors
 Greg> yesterday, too.

Cool. I can't wait to fetch the new version. Two suggestions in the
mean time (provided that you haven't already done this):

The help buttons are ugly. Just use tooltips instead. In case you
wondered how to use them (it did take me some time to figure out):
`(define tooltip (gtk-tooltips-new))' on top-level, then
`(gtk-tooltips-set-tip tooltip WIDGET TIP-TEXT "")' as needed.

Putting "Apply" and "Dismiss" next to each other would be nice. I know 
that currently "Apply" is on each page, while "Dismiss" is global.
Having a global "Apply" that either applies all changes, or just those 
of `gtk-notebook-current-page' is better. Best (IMHO) is to orient
with conventions and provide all of "OK", "Apply", "Close"/"Cancel".

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Sat Apr  3 04:37:22 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA10461
	for scwm-discuss-outgoing; Sat, 3 Apr 1999 04:37:22 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA10458
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 3 Apr 1999 04:37:19 -0500
Received: from smtp08.nwnexus.com by MIT.EDU with SMTP
	id AA05028; Sat, 3 Apr 99 04:36:33 EST
Received: from pulsar.halcyon.com (ken@halcyon.com [198.137.231.20])
	by smtp08.nwnexus.com (8.8.8/8.8.8) with ESMTP id BAA11070
	for <scwm-discuss@mit.edu>; Sat, 3 Apr 1999 01:34:53 -0800
Received: from ken@localhost by pulsar.halcyon.com id <276517-384>; Sat, 3 Apr 1999 01:18:59 -0800
To: scwm-discuss@mit.edu
Subject: placement of pointer in (default-winlist-proc)
Date: Sat, 03 Apr 1999 01:18:57 -0800
From: Ken Pizzini <ken@halcyon.com>
Message-Id: <19990403091859Z276517-384+272@pulsar.halcyon.com>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I have found that I don't like the default (w%x 20 win) (w%y 20 win)
placement that default-winlist-proc uses, so I've made the attached
patch.  This works nicely for me in conjuction with a hook in my .scwmrc:
  (add-hook! after-new-window-hook
    (lambda (win)
      (set-object-property! win 'warp-placement '(80 20))
      ;;snip -- not relevant to this patch
      ))

		--Ken Pizzini


--- winlist.scm-orig	Fri Apr  2 23:26:15 1999
+++ winlist.scm	Sat Apr  3 01:07:02 1999
@@ -29,6 +29,13 @@
 
 
 
+(define-public warp-placement
+  (lambda (win)
+    (let ((p (object-property win 'warp-placement)))
+      (if (->bool p)
+	p
+	'(20 20)))))
+
 (define*-public (default-winlist-proc #&optional (win (get-window)))
   "The default behaviour when WIN is selected from the window list."
   (cond
@@ -36,7 +43,8 @@
 	(focus win)
 	(raise-window win)
 	(warp-to-window win)
-	(move-pointer (w%x 20 win) (w%y 20 win)))))
+	(let ((p (warp-placement win)))
+	  (move-pointer (w%x (car p) win) (w%y (cadr p) win))))))
 
 (define (listify-if-atom l)
   (if (or (pair? l) (null? l)) l (list l)))

From owner-scwm-discuss@mit.edu  Sat Apr  3 04:51:56 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA10588
	for scwm-discuss-outgoing; Sat, 3 Apr 1999 04:51:56 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA10585
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 3 Apr 1999 04:51:53 -0500
Received: from smtp08.nwnexus.com by MIT.EDU with SMTP
	id AA05464; Sat, 3 Apr 99 04:51:09 EST
Received: from pulsar.halcyon.com (ken@halcyon.com [198.137.231.20])
	by smtp08.nwnexus.com (8.8.8/8.8.8) with ESMTP id BAA11243
	for <scwm-discuss@mit.edu>; Sat, 3 Apr 1999 01:49:32 -0800
Received: from ken@localhost by pulsar.halcyon.com id <276516-384>; Sat, 3 Apr 1999 01:48:30 -0800
To: scwm-discuss@mit.edu
Subject: problems with build --- scwm-19990402.tar.gz snapshot
Date: Sat, 03 Apr 1999 01:48:18 -0800
From: Ken Pizzini <ken@halcyon.com>
Message-Id: <19990403094830Z276516-384+273@pulsar.halcyon.com>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

When I tried building scwm from the scwm-19990402.tar.gz snapshot
I get:

[snip]
Making all in scheme
make[1]: Entering directory `/tmp/scwm-19990401/scheme'
Makefile:286: warning: overriding commands for target `check'
Makefile:231: warning: ignoring old commands for target `check'
make[1]: *** No rule to make target `user-options.scm', needed by `all'.  Stop.
make[1]: Leaving directory `/tmp/scwm-19990401/scheme'
make: *** [all-recursive] Error 1

If I remove the first "check" target and the "user-options.scm"
entry from the scwm_common_scheme definition in my scheme/Makefile I
can compile everything else just fine (other than some warnings about
discarding "`const' from pointer target type", which I am choosing
to ignore right now) and create a working scwm.

		--Ken Pizzini

From owner-scwm-discuss@mit.edu  Sat Apr  3 23:49:01 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA17046
	for scwm-discuss-outgoing; Sat, 3 Apr 1999 23:49:01 -0500
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA17040
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 3 Apr 1999 23:48:57 -0500
Received: from ppp57.arden.ioa.com by MIT.EDU with SMTP
	id AA25340; Sat, 3 Apr 99 23:48:02 EST
Received: from dres by dres.elam.org with local (Exim 2.11 #1 (Debian))
	id 10Teou-00052m-00; Sat, 3 Apr 1999 23:47:40 -0500
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: SCWM discussion list <scwm-discuss@mit.edu>
Subject: Re: scwm.el: `scheme-font-lock-keywords' undefined
References: <ws7lrvquuu.fsf@orcus.priv.at>
X-Url: http://www.ioa.com/~dres
X-Organization: Debian/Software in the Public Interest
X-Attribution: Dres
X-Face:  "R3Ms&!j++.]J8DwisON-l7#S<Jw[MsP|I<K?28b~f-<w^vjeAQ-k@$-Az>OloY'V?!^-!2
 9G+7Z7OzClzr2{3e<RFn%f*t%B<*|sT->ni9BN\pzkTp<dg6+lOtI-rg*]Fjgr0n.=ChFX:_+T7fKT
 *Z[}xvSK"jV~QH7*v}xZ,1rlb+Ro`,)#2Econ*g^>}ehc,\AhKBZ\Sf/HVG+p\*?'(&ct2w6Fr:w9m
 o|9R&.D-)1]:&sN-6o'\`7W${f1$2BCy6qSl&._{ILYCZ?X-[?M!](N
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: James LewisMoss <dres@ioa.com>
Date: 04 Apr 1999 00:47:39 -0400
In-Reply-To: Robert Bihlmeyer's message of "02 Apr 1999 10:39:37 +0200"
Message-Id: <hhzp4puh3o.fsf@dres.elam.org>
Lines: 13
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>>> On 02 Apr 1999 10:39:37 +0200, Robert Bihlmeyer <robbe@orcus.priv.at> said:

 Robbe> Hi, my xemacs-20.4 does not know anything about
 Robbe> `scheme-font-lock-keywords', so loading "scwm.el" (Rev 1.69)
 Robbe> fails.

Hmm.  Done "(require 'scheme)"?   (I have no problems.)

Dres
-- 
@James LewisMoss <dres@ioa.com>         |  Blessed Be!
@    http://www.ioa.com/~dres           |  Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach

From owner-scwm-discuss@mit.edu  Sun Apr  4 19:31:15 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA23417
	for scwm-discuss-outgoing; Sun, 4 Apr 1999 19:31:15 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA23414
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 4 Apr 1999 19:31:12 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA28468; Sun, 4 Apr 99 19:29:01 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA03264; Sun, 4 Apr 1999 16:29:06 -0700 (PDT)
To: Marius Vollmer <mvo@zagadka.ping.de>
Cc: scwm-discuss@mit.edu
Subject: Re: Keeping Scwm's GTK windows from being destroyed...
References: <qrr677huvsa.fsf@elwha.cs.washington.edu> <87lngcaq4y.fsf@zagadka.ping.de>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Apr 1999 16:29:06 -0700
In-Reply-To: Marius Vollmer's message of "02 Apr 1999 01:15:57 +0200"
Message-Id: <qrr7lrsj77h.fsf@elwha.cs.washington.edu>
Lines: 42
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Marius Vollmer <mvo@zagadka.ping.de> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > Also, my scwm feature requires a little bit of help from
> > guile-gtk-0.15 in making the gdk_leader_window variable accessible
> > to Scwm.  Below is a patch to guile-gtk-0.15 to provide one
> > additional proc, `gdk-lead-window', for Scwm to use in (app scwm
> > gtk).
> > 
> > Unless there is a better/different way to do this, I'd love to see
> > this patch make it in to guile-gtk-0.16 (it is of some general
> > interest, perhaps, and is very small).
> 
> There is generally no problem with additions to guile-gtk that just
> pump up the functionality and can be ignored when not needed.
> 
> But I don't like throwing around untyped data.  It might ocassionally
> be useful to tell a window ID from a number.  Maybe it's the right
> thing to do here, I don't know.  Guile-gtk has already the GdkWindow
> type in its (gtk gdk) module.  Could that be used instead?  Or doesn't
> the leader window have a GdkWindow?  I don't know what a leader window
> is.

I don't know the details of the GdkWindow type... as long as its
possible to find out its window id, that'd be fine.  The issue is that
we need some canonical way to talk about a window between gtk/gdk and
Scwm;  the obvious candidate to discuss windows when communicating
between the two worlds is the window ID.

> You can also add things outside of guile-gtk.  I'm not familiar with
> scwm's code but maybe it already has some wrappings of its own.  Just
> add gdk-lead-window to it.  No need to wait for guile-gtk.

The problem there is that the gdk_leader_window variable is a global in
the gdk code that we dynamically link in when guile-gtk is loaded.  Thus 
it is easy to refer to gdk identifiers from the guile-gtk wrapper, but
less obvious if it's even possible to wrap the gdk_leader_window
variable from Scwm directly.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Sun Apr  4 19:47:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA23532
	for scwm-discuss-outgoing; Sun, 4 Apr 1999 19:47:17 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA23529
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 4 Apr 1999 19:47:11 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA15249; Sun, 4 Apr 99 19:46:08 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA03274; Sun, 4 Apr 1999 16:45:09 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Preferences options and modules
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <m3g16lnxe4.fsf@kabuki.leitess.com> <19990331143100.A17445@molehill.org> <qrr1zi5uv24.fsf@elwha.cs.washington.edu> <m3pv5pb5j2.fsf@kabuki.leitess.com> <qrrk8vxtc1m.fsf@elwha.cs.washington.edu> <wsogl8l2sk.fsf@orcus.priv.at> <qrrbth7rhq3.fsf_-_@elwha.cs.washington.edu> <ws4smzqrpc.fsf_-_@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Apr 1999 16:45:08 -0700
In-Reply-To: Robert Bihlmeyer's message of "02 Apr 1999 11:47:43 +0200"
Message-Id: <qrrzp4ohrwb.fsf@elwha.cs.washington.edu>
Lines: 85
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 01 Apr 1999 16:25:40 -0800
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
>  Greg> This is part of a more fundamental problem with putting user
>  Greg> option variables in their module. In short, loading a module
>  Greg> makes the options it defines visible globally, but the actual
>  Greg> variables are still hidden inside the module.
> 
> Hmm, this happens if I use a module A that uses another module B in
> turn. B's variables are not in the-root-module then. But these
> variables can influence me still, since A supposedly uses some
> functions/variables from B. So being able to change these varaibles is
> useful.
> 
> What should the preference code do?
> 
> 1. Automatically issue an appropriate `use-modules' call whenever
>    not-yet-global variables are about to be changed.
> 2. Access these variables with module-ref, leaving namespaces as they
>    are.
> 3. Ignore these variables.
> 
> I prefere 2, it seems the cleanest solution not to interfere too much.

I generally agree, and that would mean adding a module property hanging
off the symbol to let the module-ref know where to get the variable's
binding from.

> 
> One further issue is that using object-properties for the options
> stuff pollutes the namespace. object-properties are global, so
> options with the same name in different modules (that could otherwise
> coexist peacefully) have a problem.

Well it's not the object properties part that makes things global,
really, it's that the symbols are all smushed into a single global list
of scwm-options, and the properties are attached to these global
symbols.

One possibility is to have each module have a scwm-options variable, and 
have a global scwm-options accessor that unions those from the modules.
This also has an effect on the preceding discussion.

>  Greg> Great, thanks! I just added color, font, and file selectors
>  Greg> yesterday, too.
> 
> Cool. I can't wait to fetch the new version. Two suggestions in the
> mean time (provided that you haven't already done this):
> 
> The help buttons are ugly. Just use tooltips instead. In case you
> wondered how to use them (it did take me some time to figure out):
> `(define tooltip (gtk-tooltips-new))' on top-level, then
> `(gtk-tooltips-set-tip tooltip WIDGET TIP-TEXT "")' as needed.

I've used tooltips for other things, but my first quick attempt didn't
work here... I can try again sometime, but hopefully somone else will
beat me to it.  I think we still need some place to display the full
help, though (can tooltips span multiple lines?  if so, then maybe not
-- perhaps our message windows would be improved by the ability to span
multiple lines and include a graphic?  maybe that's defeating their
simplicity a bit and not worth doing it).

> 
> that currently "Apply" is on each page, while "Dismiss" is global.
> Having a global "Apply" that either applies all changes, or just those 
> of `gtk-notebook-current-page' is better. Best (IMHO) is to orient
> with conventions and provide all of "OK", "Apply", "Close"/"Cancel".

Agreed, the current UI is an artifact of what information was readily
available given the decomposition I chose for an undesigned
proof-of-concept implementation.  I didn't think I'd have the time to
flesh it out as much as I ended up doing, and never stopped to do a
design since the functionality improvements were so dramatic!

The bigger problem right now, I think, is saving of the options between
sessions.  Many of our SMOBs printable forms are not directly readable
(e.g., menus, colors, etc.).  We need some conventions (and probably
some changes to the core) to make it easy to have the options persist
appropriately.

Greg

From owner-scwm-discuss@mit.edu  Sun Apr  4 19:52:23 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA23641
	for scwm-discuss-outgoing; Sun, 4 Apr 1999 19:52:23 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA23631
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 4 Apr 1999 19:52:20 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA00759; Sun, 4 Apr 99 19:50:10 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA03327; Sun, 4 Apr 1999 16:50:21 -0700 (PDT)
To: Ken Pizzini <ken@halcyon.com>
Cc: scwm-discuss@mit.edu
Subject: Re: problems with build --- scwm-19990402.tar.gz snapshot
References: <19990403094830Z276516-384+273@pulsar.halcyon.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Apr 1999 16:50:20 -0700
In-Reply-To: Ken Pizzini's message of "Sat, 03 Apr 1999 01:48:18 -0800"
Message-Id: <qrrvhfchrnn.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Ken Pizzini <ken@halcyon.com> writes:

> When I tried building scwm from the scwm-19990402.tar.gz snapshot
> I get:
> 
> [snip]
> Making all in scheme
> make[1]: Entering directory `/tmp/scwm-19990401/scheme'
> Makefile:286: warning: overriding commands for target `check'
> Makefile:231: warning: ignoring old commands for target `check'
> make[1]: *** No rule to make target `user-options.scm', needed by `all'.  Stop.
> make[1]: Leaving directory `/tmp/scwm-19990401/scheme'
> make: *** [all-recursive] Error 1

Thanks-- fixed now.. I removed user-options.scm but didn't get rid of
the user-options.scm in Makefile.am yet.

> If I remove the first "check" target and the "user-options.scm"
> entry from the scwm_common_scheme definition in my scheme/Makefile I
> can compile everything else just fine (other than some warnings about
> discarding "`const' from pointer target type", which I am choosing
> to ignore right now) and create a working scwm.

I think those warnings are due to guile's const-ness being lacking.  The 
header files I use for guile let Scwm compile for me without any
warnings (even when configured with --enable-warnings to turn on a
buttload of egcs's pickiest settings).

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Sun Apr  4 19:59:55 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA23802
	for scwm-discuss-outgoing; Sun, 4 Apr 1999 19:59:55 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA23784
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 4 Apr 1999 19:59:52 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA01499; Sun, 4 Apr 99 19:57:41 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA03330; Sun, 4 Apr 1999 16:57:50 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: SCWM discussion list <scwm-discuss@mit.edu>
Subject: Re: scwm.el: `scheme-font-lock-keywords' undefined
References: <ws7lrvquuu.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Apr 1999 16:57:50 -0700
In-Reply-To: Robert Bihlmeyer's message of "02 Apr 1999 10:39:37 +0200"
Message-Id: <qrrsoaghrb5.fsf@elwha.cs.washington.edu>
Lines: 12
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> my xemacs-20.4 does not know anything about
> `scheme-font-lock-keywords', so loading "scwm.el" (Rev 1.69) fails.

Thanks -- fixed now.  It now checks if font-lock is provided, and only
does the font-lock stuff if so.  It works for me in an xemacs -q, now.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Sun Apr  4 20:06:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA23970
	for scwm-discuss-outgoing; Sun, 4 Apr 1999 20:06:13 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA23965
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 4 Apr 1999 20:06:11 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA02165; Sun, 4 Apr 99 20:04:00 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA03354; Sun, 4 Apr 1999 17:04:10 -0700 (PDT)
To: Joel Squire <jsquire@neonsoft.com>
Cc: Scwm Discuss List <scwm-discuss@mit.edu>
Subject: Re: Event rewrite feedback
References: <Pine.LNX.4.04.9904030023340.22252-100000@dnmailx1.neonsoft.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Apr 1999 17:04:10 -0700
In-Reply-To: Joel Squire's message of "Sat, 3 Apr 1999 00:51:59 -0700 (MST)"
Message-Id: <qrrpv5khr0l.fsf@elwha.cs.washington.edu>
Lines: 28
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Joel Squire <jsquire@neonsoft.com> writes:

> I've spent some more time playing with the event handling and found an
> another spot that needs clarification. To provide the synthetic mouse
> events listed in the spec, we obviously need to maintain some sort of
> state inside the main event handler. When we start binding these events to
> procedures that have their own event loop (such as InteractiveMove or the
> menu routines), this state becomes hard to maintain. We need some
> indication that the state should be reset after these 'heavy-weight'
> bindings have executed. How about letting a #f return value from the
> binding procedure indicate this?

My cache clearly isn't in the right state for understanding this
message... sorry;  could you perhaps provide a bit more background for
me?

Note, though, that if you're talking about the Grand Event Rewrite, the
goal there is to eliminate the separate event loops.  Since that's not
going to happen before 1.0, I cleaned up a bunch of stuff to permit some 
of the main event-loop processing to happen on the subsidiary event
loops (e.g., now timers can expire while you've a menu popped up, or
you're resizing a window).  But this is probably way off topic.

We'll still have seperate top-level event maps for different modal
states, but then switching among these won't require anything
particularly special.

Greg

From owner-scwm-discuss@mit.edu  Mon Apr  5 01:50:08 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA26404
	for scwm-discuss-outgoing; Mon, 5 Apr 1999 01:50:08 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id BAA26400
	for <scwm-discuss@vicarious-existence.mit.edu>; Mon, 5 Apr 1999 01:50:06 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA03814; Sun, 4 Apr 1999 22:47:59 -0700 (PDT)
To: scwm-discuss@mit.edu, arsphl@oeil.qc.ca
Subject: Editing the auto-faq?
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Apr 1999 22:47:59 -0700
Message-ID: <qrru2uvsjn4.fsf@elwha.cs.washington.edu>
Lines: 6
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Is there a way to edit an answer using the auto-faq system?  The "How
can I find out more about Scwm?" question's answer is still talking
about the old name for the Scwm web server.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Mon Apr  5 06:47:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA29075
	for scwm-discuss-outgoing; Mon, 5 Apr 1999 06:47:13 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id GAA29072
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 5 Apr 1999 06:47:08 -0400
Received: from lilly.ping.de by MIT.EDU with SMTP
	id AA12667; Mon, 5 Apr 99 06:44:51 EDT
Received: (qmail 31654 invoked by uid 10); 5 Apr 1999 10:45:04 -0000
Received: from zagadka.ping.de by lilly.ping.de with UUCP (rmail-0.1-fdc); 5 Apr 1999 10:45:04 -0000
Received: (qmail 1251 invoked by uid 1000); 4 Apr 1999 23:46:23 -0000
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Keeping Scwm's GTK windows from being destroyed...
References: <qrr677huvsa.fsf@elwha.cs.washington.edu> <87lngcaq4y.fsf@zagadka.ping.de> <qrr7lrsj77h.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Marius Vollmer <mvo@zagadka.ping.de>
Date: 05 Apr 1999 01:46:23 +0200
In-Reply-To: Greg Badros's message of "04 Apr 1999 16:29:06 -0700"
Message-Id: <87wvzs3q5s.fsf@zagadka.ping.de>
Lines: 41
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Marius Vollmer <mvo@zagadka.ping.de> writes:
> 
> > But I don't like throwing around untyped data.  It might
> > ocassionally be useful to tell a window ID from a number.  Maybe
> > it's the right thing to do here, I don't know.  Guile-gtk has
> > already the GdkWindow type in its (gtk gdk) module.  Could that be
> > used instead?  Or doesn't the leader window have a GdkWindow?  I
> > don't know what a leader window is.
> 
> I don't know the details of the GdkWindow type... as long as its
> possible to find out its window id, that'd be fine.  The issue is
> that we need some canonical way to talk about a window between
> gtk/gdk and Scwm; the obvious candidate to discuss windows when
> communicating between the two worlds is the window ID.

Ahh, I see.

> > You can also add things outside of guile-gtk.  I'm not familiar with
> > scwm's code but maybe it already has some wrappings of its own.  Just
> > add gdk-lead-window to it.  No need to wait for guile-gtk.
> 
> The problem there is that the gdk_leader_window variable is a global in
> the gdk code that we dynamically link in when guile-gtk is loaded.  Thus 
> it is easy to refer to gdk identifiers from the guile-gtk wrapper, but
> less obvious if it's even possible to wrap the gdk_leader_window
> variable from Scwm directly.

Somehow I had the impression that Scwm already uses Gdk/Gtk, but that
seems not to be the case.  I think I confused it with another window
manager.

Ok, then.  I don't think it's a good idea to put arbitrary Scwm
interfacing code into guile-gtk (I see the gdk_lead_window function as
such a interfacing feature).  Would it be possible to have a special
Scwm<->Gtk interfacing module?

On the other hand, I'm probably overly fascist here.  Getting at X11
window ids does not hurt anyone.  So I think your patch will go in,
one way or another.

From owner-scwm-discuss@mit.edu  Mon Apr  5 09:58:36 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA29996
	for scwm-discuss-outgoing; Mon, 5 Apr 1999 09:58:36 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA29993
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 5 Apr 1999 09:58:31 -0400
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA16009; Mon, 5 Apr 99 09:56:12 EDT
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Mon, 05 Apr 1999 09:55:31 -0400
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Mon, 05 Apr 1999 09:55:31 -0400
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id JAA24217;
	Mon, 5 Apr 1999 09:56:22 -0400
To: scwm-discuss@mit.edu
Subject: Re: esd
References: <m3d81rm3re.fsf@eho.eaglets.com> <wsr9q4l3vu.fsf@orcus.priv.at>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Robert Bihlmeyer's message of "01 Apr 1999 18:08:53 +0200"
Date: 05 Apr 1999 09:56:22 -0400
Message-Id: <m3k8vrf9x5.fsf@eho.eaglets.com>
Lines: 35
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <wsr9q4l3vu.fsf@orcus.priv.at>
>>>> On the subject of "Re: esd"
>>>> Sent on 01 Apr 1999 18:08:53 +0200
>>>> Honorable Robert Bihlmeyer <robbe@orcus.priv.at> writes:
 >> 
 >> >>>>> On 30 Mar 1999 09:49:25 -0500
 >> >>>>> Sam Steingold <sds@goems.com> said:
 >> 
 >>  Sam> $ ls /usr/bin/esd-config
 >>  Sam>    2 /usr/bin/esd-config*
 >>  Sam> $ ESD_CONFIG=/usr/bin/esd-config ./configure --enable-maintainer-mode --with-lispdir=/usr/share/emacs/site-lisp/
 >>  Sam> ....
 >>  Sam> checking for ESD - version >= 0.2.7... no
 >>  Sam> *** The esd-config script installed by ESD could not be found
 >>  Sam> *** If ESD was installed in PREFIX, make sure PREFIX/bin is in
 >>  Sam> *** your path, or set the ESD_CONFIG environment variable to the
 >>  Sam> *** full path to esd-config.
 >>  Sam> ....
 >>  Sam> $ rpm -q esound-devel
 >>  Sam> esound-devel-0.2.8-3
 >>  Sam> $
 >> 
 >> Hmm, I can't reproduce that here. If I move esd-config to some
 >> directory outside the path, "ESD_CONFIG=bla ./configure" works.
 >> 
 >> Does executing esd-config from the commandline work for you?

$ /usr/bin/esd-config
Usage: esd-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Daddy, what does "format disk c: complete" mean?

From owner-scwm-discuss@mit.edu  Mon Apr  5 14:34:02 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA31692
	for scwm-discuss-outgoing; Mon, 5 Apr 1999 14:34:02 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA31685
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 5 Apr 1999 14:33:59 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA17376; Mon, 5 Apr 99 14:32:42 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id UAA29594
	for scwm-discuss@mit.edu; Mon, 5 Apr 1999 20:30:56 +0200 (MET DST)
Received: (qmail 4480 invoked by uid 115); 5 Apr 1999 16:37:23 -0000
To: scwm-discuss@mit.edu
Subject: Re: Preferences options and modules
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <m3g16lnxe4.fsf@kabuki.leitess.com> <19990331143100.A17445@molehill.org> <qrr1zi5uv24.fsf@elwha.cs.washington.edu> <m3pv5pb5j2.fsf@kabuki.leitess.com> <qrrk8vxtc1m.fsf@elwha.cs.washington.edu> <wsogl8l2sk.fsf@orcus.priv.at> <qrrbth7rhq3.fsf_-_@elwha.cs.washington.edu> <ws4smzqrpc.fsf_-_@orcus.priv.at> <qrrzp4ohrwb.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 05 Apr 1999 18:37:23 +0200
In-Reply-To: Greg Badros's message of "04 Apr 1999 16:45:08 -0700"
Message-Id: <wsg16fyqf0.fsf@orcus.priv.at>
Lines: 77
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 04 Apr 1999 16:45:08 -0700
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> I generally agree, and that would mean adding a module property
 Greg> hanging off the symbol to let the module-ref know where to get
 Greg> the variable's binding from.

Exactly.

 Greg> Well it's not the object properties part that makes things
 Greg> global, really, it's that the symbols are all smushed into a
 Greg> single global list of scwm-options, and the properties are
 Greg> attached to these global symbols.

I overlooked scwm-options, yes.

 Greg> One possibility is to have each module have a scwm-options
 Greg> variable, and have a global scwm-options accessor that unions
 Greg> those from the modules. This also has an effect on the
 Greg> preceding discussion.

Yeah, this sounds good. At the moment, using a module changes global
state (namely the `scwm-options' variable), which is bad style.

Let's ponder this: Every participating module has a local
`scwm-options'. A function `scwm-options' returns a list of conses of
the form `(VARIABLE . MODULE)', gathered from all modules that were
`use-module'd from the root module. These conses are unique and
sufficient to access a specific variable with `module-ref'. Different
options with the same name will still be impossible, though, as long
as object-properties are used. OTOH, this options were probably not
named well, anyway.

 Greg> I've used tooltips for other things, but my first quick attempt
 Greg> didn't work here... I can try again sometime, but hopefully
 Greg> somone else will beat me to it.

I'd like to, but don't have the means/time until about Wednesday.

Hanging the tooltip off a box wouldn't work here (either in principle, 
or just because the box has no area that is not covered by children).
It must be hanged off the widget itself.

 Greg> I think we still need some place to display the full help,
 Greg> though (can tooltips span multiple lines? if so, then maybe not
 Greg> -- perhaps our message windows would be improved by the ability
 Greg> to span multiple lines and include a graphic? maybe that's
 Greg> defeating their simplicity a bit and not worth doing it).

Overloading the message window is not so good. Tooltips auto-wrap
their text, embedded newlines are interpreted as paragraph-seperators, 
so they could be used for the full help (IMHO it looks best if the
docstring is converted to the form "SHORT-HELP.\nLONG-HELP" with
newlines removed from LONG-HELP). Another alternative is a GtkText box
that will always contain the long help of the current widget. I
envision only one such box on the page, and it can be shown/hidden
with a "Detailed Help>>" button.

 Greg> The bigger problem right now, I think, is saving of the options
 Greg> between sessions.

Definitely. 

 Greg> Many of our SMOBs printable forms are not directly readable
 Greg> (e.g., menus, colors, etc.).

Is augmenting the reader so that it understands - for example -
#<color "red"> possible/advisable? Or do we dump the constructors -
`(make-color "red")' in our example?

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Mon Apr  5 15:20:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA32324
	for scwm-discuss-outgoing; Mon, 5 Apr 1999 15:20:45 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA32321
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 5 Apr 1999 15:20:43 -0400
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA24537; Mon, 5 Apr 99 15:18:34 EDT
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Mon, 05 Apr 1999 15:17:44 -0400
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Mon, 05 Apr 1999 15:17:43 -0400
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id PAA20710;
	Mon, 5 Apr 1999 15:18:34 -0400
To: scwm-discuss@mit.edu
Subject: schwme/Makefile problems
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 05 Apr 1999 15:18:33 -0400
Message-Id: <m3d81iev06.fsf@eho.eaglets.com>
Lines: 29
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

schwme/Makefile, as created by configure --enable-maintainer-mode, has 2 problems:

the .PHONY target lacks a backslash:

...
installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
advice.scm animated-iconify.scm animation.scm auto-raise.scm \
...


line

scwm_common_scheme = \promp

generates an error:

Making all in scheme
make[1]: Entering directory `/usr/src/scwm/scheme'
make[1]: *** No rule to make target `\promp', needed by `all-am'.  Stop.
make[1]: Leaving directory `/usr/src/scwm/scheme'
make: *** [all-recursive] Error 1


-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Don't use force -- get a bigger hammer.

From owner-scwm-discuss@mit.edu  Mon Apr  5 19:34:12 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA01057
	for scwm-discuss-outgoing; Mon, 5 Apr 1999 19:34:12 -0400
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA01054
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 5 Apr 1999 19:34:09 -0400
Received: from andelain.neonsoft.com by MIT.EDU with SMTP
	id AA29473; Mon, 5 Apr 99 19:32:55 EDT
Received: from localhost (jsquire@localhost)
	by andelain.neonsoft.com (8.8.7/8.8.7) with ESMTP id SAA08939
	for <scwm-discuss@mit.edu>; Mon, 5 Apr 1999 18:52:25 -0600
X-Authentication-Warning: andelain.neonsoft.com: jsquire owned process doing -bs
Date: Mon, 5 Apr 1999 18:52:25 -0600 (MDT)
From: Joel Squire <jsquire@neonsoft.com>
To: Scwm Discuss List <scwm-discuss@mit.edu>
Subject: Re: Event rewrite feedback
In-Reply-To: <qrrpv5khr0l.fsf@elwha.cs.washington.edu>
Message-Id: <Pine.LNX.4.04.9904051208430.19622-100000@andelain.neonsoft.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 4 Apr 1999, Greg Badros wrote:

> Joel Squire <jsquire@neonsoft.com> writes:
> 
> > I've spent some more time playing with the event handling and found an
> > another spot that needs clarification. To provide the synthetic mouse
> > events listed in the spec, we obviously need to maintain some sort of
> > state inside the main event handler. When we start binding these events to
> > procedures that have their own event loop (such as InteractiveMove or the
> > menu routines), this state becomes hard to maintain. We need some
> > indication that the state should be reset after these 'heavy-weight'
> > bindings have executed. How about letting a #f return value from the
> > binding procedure indicate this?
> 
> My cache clearly isn't in the right state for understanding this
> message... sorry;  could you perhaps provide a bit more background for
> me?

Well, what I ran into specifically was inside the asynchronous version of
the mouse event handler routines I've been playing with. The problem is
that, as things currently stand, InteractiveMove eats the final
ButtonRelease event that ends its event loop, so the main loop never sees
it. Thus, back in the main loop, the button still appears to be down and
it starts InteractiveMove the next time you move the mouse. Not good. I
put a XPutBackEvent call in, but now menus fail in a similiar manner.
Clearly a higher level solution is called for.

> Note, though, that if you're talking about the Grand Event Rewrite, the
> goal there is to eliminate the separate event loops.  Since that's not
> going to happen before 1.0, I cleaned up a bunch of stuff to permit some 
> of the main event-loop processing to happen on the subsidiary event
> loops (e.g., now timers can expire while you've a menu popped up, or
> you're resizing a window).  But this is probably way off topic.
>
> We'll still have seperate top-level event maps for different modal
> states, but then switching among these won't require anything
> particularly special.

Oh, OK. Then we can just lose the state information when we change
top-level event maps. Sounds good.

-- 
Joel Squire <jsquire@neonsoft.com>		Phone	(303) 409-9636
UNIX Systems Administrator			Fax	(303) 694-3885



From owner-scwm-discuss@mit.edu  Mon Apr  5 20:50:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA01523
	for scwm-discuss-outgoing; Mon, 5 Apr 1999 20:50:59 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA01520
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 5 Apr 1999 20:50:55 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA04065; Mon, 5 Apr 99 20:48:44 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA04994; Mon, 5 Apr 1999 17:48:37 -0700 (PDT)
To: Marius Vollmer <mvo@zagadka.ping.de>
Cc: scwm-discuss@mit.edu
Subject: Re: Keeping Scwm's GTK windows from being destroyed...
References: <qrr677huvsa.fsf@elwha.cs.washington.edu> <87lngcaq4y.fsf@zagadka.ping.de> <qrr7lrsj77h.fsf@elwha.cs.washington.edu> <87wvzs3q5s.fsf@zagadka.ping.de>
From: Greg Badros <gjb@cs.washington.edu>
Date: 05 Apr 1999 17:48:36 -0700
In-Reply-To: Marius Vollmer's message of "05 Apr 1999 01:46:23 +0200"
Message-Id: <qrrk8vqshej.fsf@elwha.cs.washington.edu>
Lines: 53
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Marius Vollmer <mvo@zagadka.ping.de> writes:

> > 
> > I don't know the details of the GdkWindow type... as long as its
> > possible to find out its window id, that'd be fine.  The issue is
> > that we need some canonical way to talk about a window between
> > gtk/gdk and Scwm; the obvious candidate to discuss windows when
> > communicating between the two worlds is the window ID.
> 
> Ahh, I see.
> 
> > > You can also add things outside of guile-gtk.  I'm not familiar with
> > > scwm's code but maybe it already has some wrappings of its own.  Just
> > > add gdk-lead-window to it.  No need to wait for guile-gtk.
> > 
> > The problem there is that the gdk_leader_window variable is a global in
> > the gdk code that we dynamically link in when guile-gtk is loaded.  Thus 
> > it is easy to refer to gdk identifiers from the guile-gtk wrapper, but
> > less obvious if it's even possible to wrap the gdk_leader_window
> > variable from Scwm directly.
> 
> Somehow I had the impression that Scwm already uses Gdk/Gtk, but that
> seems not to be the case.  I think I confused it with another window
> manager.

We do use Gdk/Gtk, but only as an optional dynamically-loadable module.
I'm interested to hear whether you do know of another wm making using of 
Gtk/Gdk, though....

> Ok, then.  I don't think it's a good idea to put arbitrary Scwm
> interfacing code into guile-gtk (I see the gdk_lead_window function as
> such a interfacing feature).  Would it be possible to have a special
> Scwm<->Gtk interfacing module?

Well, we do have an (app scwm gtk) module that uses a dynamically-loaded 
libscwmgtkhelper, but that doesn't currently link with gtk, and I think
it'd need to to get at the global variable we need.  (It's not
completely unreasonable to try to do this, but it does add an
unnecessary dependence and build complication).

> On the other hand, I'm probably overly fascist here.  Getting at X11
> window ids does not hurt anyone.  So I think your patch will go in,
> one way or another.

You could split things up into two parts -- getting the
gdk_leader_window as a gdk window object of whatever sort, then adding a 
gdk-window->window-id conversion procedure.  We do a similar thing in
Scwm... it definitely makes sense to permit getting at window-ids as
lots of external programs use these as a means of uniquely identifying
windows on displays (Scwm is just one consumer of this information).

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Mon Apr  5 21:10:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA01670
	for scwm-discuss-outgoing; Mon, 5 Apr 1999 21:10:13 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA01666
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 5 Apr 1999 21:10:11 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA09898; Mon, 5 Apr 99 21:08:01 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id SAA05024; Mon, 5 Apr 1999 18:07:06 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Preferences options and modules
References: <36FB8FC8.B4C9DB76@alum.mit.edu> <m3vhfo2j61.fsf@kabuki.leitess.com> <m3r9qcc6my.fsf@209-122-231-172.s172.tnt4.sbo.ma.dialup.rcn.com> <wsaewxq4w6.fsf_-_@orcus.priv.at> <m3g16lnxe4.fsf@kabuki.leitess.com> <19990331143100.A17445@molehill.org> <qrr1zi5uv24.fsf@elwha.cs.washington.edu> <m3pv5pb5j2.fsf@kabuki.leitess.com> <qrrk8vxtc1m.fsf@elwha.cs.washington.edu> <wsogl8l2sk.fsf@orcus.priv.at> <qrrbth7rhq3.fsf_-_@elwha.cs.washington.edu> <ws4smzqrpc.fsf_-_@orcus.priv.at> <qrrzp4ohrwb.fsf@elwha.cs.washington.edu> <wsg16fyqf0.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 05 Apr 1999 18:07:05 -0700
In-Reply-To: Robert Bihlmeyer's message of "05 Apr 1999 18:37:23 +0200"
Message-Id: <qrraewmsgjq.fsf@elwha.cs.washington.edu>
Lines: 7
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I like all that you wrote.  I would like to hear from others (and
Maciej) before I do more work on re-working the preferences stuff.  I
learned a bunch with my early experiments, but I want to get things
really right the second time.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Mon Apr  5 21:10:50 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA01697
	for scwm-discuss-outgoing; Mon, 5 Apr 1999 21:10:50 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA01693
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 5 Apr 1999 21:10:48 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA20647; Mon, 5 Apr 99 21:09:33 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id SAA05027; Mon, 5 Apr 1999 18:08:37 -0700 (PDT)
To: scwm-discuss@mit.edu
Subject: Re: esd
References: <m3d81rm3re.fsf@eho.eaglets.com> <wsr9q4l3vu.fsf@orcus.priv.at> <m3k8vrf9x5.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 05 Apr 1999 18:08:36 -0700
In-Reply-To: Sam Steingold's message of "05 Apr 1999 09:56:22 -0400"
Message-Id: <qrr7lrqsgh7.fsf@elwha.cs.washington.edu>
Lines: 5
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maybe it's called esd_config? (imlib_config and imlib-config both exist
and it's quite confusing -- the former with the underscore is the one
that pops up a configuration dialog).

Greg

From owner-scwm-discuss@mit.edu  Mon Apr  5 21:25:52 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA01964
	for scwm-discuss-outgoing; Mon, 5 Apr 1999 21:25:52 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA01951
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 5 Apr 1999 21:25:50 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA13421; Mon, 5 Apr 99 21:23:39 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id SAA05035; Mon, 5 Apr 1999 18:23:38 -0700 (PDT)
To: scwm-discuss@mit.edu
Subject: Re: schwme/Makefile problems
References: <m3d81iev06.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 05 Apr 1999 18:23:38 -0700
In-Reply-To: Sam Steingold's message of "05 Apr 1999 15:18:33 -0400"
Message-Id: <qrr1zhysfs5.fsf@elwha.cs.washington.edu>
Lines: 3
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Thanks-- fixed in repo now.

Greg

From owner-scwm-discuss@mit.edu  Tue Apr  6 09:21:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA07689
	for scwm-discuss-outgoing; Tue, 6 Apr 1999 09:21:13 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from mail.eaglets.com ([208.235.77.228])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id JAA07686
	for <scwm-discuss@huis-clos.mit.edu>; Tue, 6 Apr 1999 09:21:09 -0400
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Tue, 06 Apr 1999 09:17:55 -0400
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Tue, 06 Apr 1999 09:17:55 -0400
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id JAA01993;
	Tue, 6 Apr 1999 09:18:27 -0400
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: `enable-gnome-hints'
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 06 Apr 1999 09:18:27 -0400
Message-ID: <m3r9pxlwf0.fsf@eho.eaglets.com>
Lines: 48
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I am getting this:

Backtrace:
0* [enable-gnome-hints]
1* [map #<procedure (win)> (#<window 33554438: "Terminal"> #<window 29360134: "Terminal"> #<window 37748742: "Iagno"> ...)]
2* [#<procedure (win)> #<window 25165910: "panel">]
3* [gnome-init-window-from-props #<window 25165910: "panel">]
4* [gnome-update-state-from-property #<window 25165910: "panel">]
5  (let ((prop #)) (cond (prop #)))
   ...
6  [gnome-update-state #<window 25165910: "panel"> 1023 ...]
7* (if (nonzero? (logand mask WIN_STATE_SHADED)) (if (nonzero? #) (if # #) ...))
8  (if (nonzero? (logand new-state WIN_STATE_SHADED)) (if (not #) (if *gnome-shade-animated* # ...)) ...)
   ...
9  (animated-window-shade win)

/usr/local/share/scwm-modules/app/scwm/gnome-hints.scm:305:19: In expression (animated-window-shade win):
/usr/local/share/scwm-modules/app/scwm/gnome-hints.scm:305:19: Unbound variable: animated-window-shade

dunno why; `animated-window-shade' seems to be present:

Scwm documentation for `animated-window-shade':

 value:

 #<primitive-procedure animated-window-shade>

 documentation:

(animated-window-shade  #&optional win)
- Built-in Primitive
Cause WIN to become "window-shaded".
That is, to roll up into just a titlebar.  The window will be animated
as it rolls up, producing a pleasing visual effect. WIN defaults to
the window context in the usual way if not specified.
[From modules/c-animation/c-animation.c:314]

#t

 procedure/option-documentation:

#f

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Small languages require big programs, large languages enable small programs.

From owner-scwm-discuss@mit.edu  Tue Apr  6 14:23:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA09602
	for scwm-discuss-outgoing; Tue, 6 Apr 1999 14:23:33 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA09599
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 6 Apr 1999 14:23:29 -0400
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA15197; Tue, 6 Apr 99 14:22:02 EDT
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for <scwm-discuss@mit.edu>
          Tue, 6 Apr 1999 13:21:01 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Tue, 6 Apr 1999 13:21:01 -0500 (CDT)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14090.20618.838046.895519@juno>
Date: Tue, 6 Apr 1999 13:20:58 -0500 (CDT)
From: Equality 7-2521 <beuscher@eecs.tulane.edu>
To: scwm-discuss@mit.edu
Subject: window style problem
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


i have had a curious new problem with a particular window-style

with the following window-style:

(window-style "Workman"
	      #:sticky #t
	      #:no-titlebar #f)

when i select workman from a pull-down menu, it causes scwm to
crash.   i randomly chose another program to give the same style

(window-style "gnomine"
	      #:sticky #t
	      #:no-titlebar #f)

and this also causes scwm to crash

i know that this window-style has worked previously for me.
i am using the last stable release

> scwm --version
Scwm Version 0.9 compiled on Mar  4 1999 at 14:49:27
RCS_ID=$Id: scwm.c,v 1.161 1999/01/06 16:00:34 gjb Exp $
Repository Timestamp: Sat Jan  9 16:43:19 EST 1999 -- $Revision: 1.1089 $


the only things i can really recall changing recently was an
addition of the following to my .scwmrc, though there are
probably several other minor changes since i last remember the
style working.

(use-modules (app scwm placement)) and
(window-style "*Netscape Download*"
	      #:use-style ws-utility
	      #:placement-proc interactive-place)

i wouldnt think that these would be the cause of the problem

any one have ideas on other info i could supply, or sources of
potential problems?


-- 
eric

From owner-scwm-discuss@mit.edu  Tue Apr  6 18:05:47 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA11176
	for scwm-discuss-outgoing; Tue, 6 Apr 1999 18:05:47 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA11170
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 6 Apr 1999 18:05:44 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA01350; Tue, 6 Apr 99 18:04:20 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA06382; Tue, 6 Apr 1999 15:03:22 -0700 (PDT)
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: `enable-gnome-hints'
References: <m3r9pxlwf0.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Apr 1999 15:03:22 -0700
In-Reply-To: Sam Steingold's message of "06 Apr 1999 09:18:27 -0400"
Message-Id: <qrr4smtv239.fsf@elwha.cs.washington.edu>
Lines: 34
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

<snip>

> 9  (animated-window-shade win)
> 
> /usr/local/share/scwm-modules/app/scwm/gnome-hints.scm:305:19: In expression (animated-window-shade win):
> /usr/local/share/scwm-modules/app/scwm/gnome-hints.scm:305:19: Unbound variable: animated-window-shade
> 
> dunno why; `animated-window-shade' seems to be present:
> 
> Scwm documentation for `animated-window-shade':
> 
>  value:
> 
>  #<primitive-procedure animated-window-shade>
> 
>  documentation:
> 
> (animated-window-shade  #&optional win)
> - Built-in Primitive

I suppose this is a bit of a lie-- it's not a built-in primitive, it's a 
dynamically-loadable C-primitve that needs to be exposed with a
use-modules directive.  It looks like it's visible to you from
`the-root-module' but wasn't visible to the gnome-hints package from its 
module.  I've fixed this by adding a use-module of (app scwm animation)
to the header of the gnome-hints module.

I'll fix the documentation so that it doesn't assume all C code
primitives are built-in.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Tue Apr  6 18:14:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA11402
	for scwm-discuss-outgoing; Tue, 6 Apr 1999 18:14:03 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA11396
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 6 Apr 1999 18:14:00 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA03552; Tue, 6 Apr 99 18:12:35 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA06390; Tue, 6 Apr 1999 15:11:22 -0700 (PDT)
To: Equality 7-2521 <beuscher@eecs.tulane.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: window style problem
References: <14090.20618.838046.895519@juno>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Apr 1999 15:11:22 -0700
In-Reply-To: Equality 7-2521's message of "Tue, 6 Apr 1999 13:20:58 -0500 (CDT)"
Message-Id: <qrr1zhxv1px.fsf@elwha.cs.washington.edu>
Lines: 28
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Equality 7-2521 <beuscher@eecs.tulane.edu> writes:

> i have had a curious new problem with a particular window-style
> 
> with the following window-style:
> 
> (window-style "Workman"
> 	      #:sticky #t
> 	      #:no-titlebar #f)
> 
> when i select workman from a pull-down menu, it causes scwm to
> crash.   i randomly chose another program to give the same style

I tried this with latest dev snapshot and it works fine.  If you don't
want to upgrade and see if you still see the problem, then could you
please send a C backtrace -- either run Scwm under gdb or be sure a core 
file gets dumped and run gdb on that core file and ask for a "backtrace" 
from the gdb prompt.

BTW, the latest snapshots are really very stable... what's more, I've
done a bit of work to make Scwm more fault-tolerant w.r.t. catching
SIGSEGVs and resetting itself more robustly.  We most definitely should
make a 0.99.x release, but I'm kinda waiting for Maciej to get less busy 
so we can figure out a couple of the issues for preferences support (and 
perhaps have a guile-gtk-0.16 released since some of my gtk code tickles 
bugs in the .15 release).

Greg

From owner-scwm-discuss@mit.edu  Tue Apr  6 18:22:44 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA11528
	for scwm-discuss-outgoing; Tue, 6 Apr 1999 18:22:44 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA11525
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 6 Apr 1999 18:22:41 -0400
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA05563; Tue, 6 Apr 99 18:20:56 EDT
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for <scwm-discuss@mit.edu>
          Tue, 6 Apr 1999 17:19:55 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Tue, 6 Apr 1999 17:19:56 -0500 (CDT)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14090.34953.373877.248416@juno>
Date: Tue, 6 Apr 1999 17:19:53 -0500 (CDT)
From: Equality 7-2521 <beuscher@eecs.tulane.edu>
To: scwm-discuss@mit.edu
Subject: Re: window style problem
In-Reply-To: <qrr1zhxv1px.fsf@elwha.cs.washington.edu>
References: <14090.20618.838046.895519@juno>
	<qrr1zhxv1px.fsf@elwha.cs.washington.edu>
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk



> BTW, the latest snapshots are really very stable... what's more, I've
> done a bit of work to make Scwm more fault-tolerant w.r.t. catching

yes, i have last night's, and have been meaning to upgrade to get
more gnome support, but other work has been distracting
if i can quickly upgrade in the morning, i'll see if this problem follows

> file gets dumped and run gdb on that core file and ask for a "backtrace" 
> from the gdb prompt.

here is a backtrace of the core file

<prompt>:gdb =scwm -c core 
GNU gdb 4.17.0.4 with Linux/x86 hardware watchpoint and FPU support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `/usr/local/bin/scwm -s'.
Program terminated with signal 8, Floating point exception.
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /usr/lib/libguile.so.4...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /usr/lib/libreadline.so.3...done.
Reading symbols from /lib/libtermcap.so.2...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /usr/lib/libstdc++.so.2.8...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0  0x806c131 in ConstrainSize (psw=0x80dd980, xmotion=0, ymotion=0, 
    widthp=0xbfffe9d4, heightp=0xbfffe9d8) at resize.c:105
105       dwidth = ((dwidth - baseWidth) / xinc * xinc) + baseWidth;
(gdb) backtrace
#0  0x806c131 in ConstrainSize (psw=0x80dd980, xmotion=0, ymotion=0, 
    widthp=0xbfffe9d4, heightp=0xbfffe9d8) at resize.c:105
#1  0x8070cb5 in MoveResizeTo (psw=0x80dd980, x=0, y=0, width=0, height=17)
    at window.c:502
#2  0x8073f2d in set_window_internal_title_height (psw=0x80dd980, nh=17)
    at window.c:2805
#3  0x8073fa4 in show_titlebar (win=1077295792) at window.c:2833
#4  0x4010869a in scm_deval (x=10612, env=1077220616) at eval.c:2518
#5  0x401090a1 in scm_dapply (proc=1077221144, arg1=10612, args=1077220952)
    at eval.c:2971
#6  0x401048e0 in scm_apply (proc=1077221144, arg1=1077314704, args=1076584464)
    at eval.c:2793
#7  0x40105247 in scm_for_each (proc=1077221144, arg1=1077314488, args=10612)
    at eval.c:3126
#8  0x4010867e in scm_deval (x=10612, env=1077222872) at eval.c:2515
#9  0x401090a1 in scm_dapply (proc=1077295416, arg1=10612, args=1077222872)
    at eval.c:2971
#10 0x401048e0 in scm_apply (proc=1077295416, arg1=1077313784, args=1076584464)
    at eval.c:2793
#11 0x40105247 in scm_for_each (proc=1077295416, arg1=1077297136, args=10612)
    at eval.c:3126
#12 0x4010867e in scm_deval (x=10612, env=1077295424) at eval.c:2515
#13 0x401090a1 in scm_dapply (proc=1076918616, arg1=10612, args=1077295568)
    at eval.c:2971
#14 0x401048e0 in scm_apply (proc=1076918616, arg1=1077295752, args=10612)
    at eval.c:2793
#15 0x40111138 in gh_apply (proc=1076918616, args=1077295752) at gh_funcs.c:144
#16 0x805a24c in scwm_body_apply (body_data=0xbffff014) at callbacks.c:84
#17 0x40136821 in scm_internal_lazy_catch (tag=9076, 
    body=0x805a23c <scwm_body_apply>, body_data=0xbffff014, 
    handler=0x40136878 <ss_handler>, handler_data=0x0) at throw.c:328
#18 0x401368f1 in cwss_body (data=0xbfffeeac) at throw.c:363
#19 0x40136688 in scm_internal_catch (tag=9076, body=0x401368c8 <cwss_body>, 
    body_data=0xbfffeeac, handler=0x805a170 <scwm_handle_error>, 
    handler_data=0x0) at throw.c:236
#20 0x40136934 in scm_internal_stack_catch (tag=9076, 
    body=0x805a23c <scwm_body_apply>, body_data=0xbffff014,
    handler=0x805a170 <scwm_handle_error>, handler_data=0x0) at throw.c:377
#21 0x805a268 in cwssdr_body (data=0xbfffefe4) at callbacks.c:110
#22 0x40136688 in scm_internal_catch (tag=9076, body=0x805a250 <cwssdr_body>, 
    body_data=0xbfffefe4, handler=0x80638d8 <cwdr_no_unwind_handler>, 
    handler_data=0xbfffefbc) at throw.c:236
#23 0x80639e2 in scm_internal_cwdr_no_unwind (body=0x805a250 <cwssdr_body>, 
    body_data=0xbfffefe4, handler=0x805a170 <scwm_handle_error>, 
    handler_data=0x807c411, stack_start=0xbffff010) at guile-compat.c:100
#24 0x805a2a0 in scm_internal_stack_cwdr (body=0x805a23c <scwm_body_apply>, 
    body_data=0xbffff014, handler=0x805a170 <scwm_handle_error>, 
    handler_data=0x807c411, stack_item=0xbffff010) at callbacks.c:126
#25 0x805a2d2 in scwm_safe_apply (proc=1076918616, args=1077295752)
    at callbacks.c:141
#26 0x805a333 in scwm_safe_call1 (proc=1076918616, arg=1077295792)
    at callbacks.c:173
#27 0x805a604 in call1_hooks (hook=1076621136, arg=1077295792)
    at callbacks.c:342
#28 0x8054c83 in AddWindow (w=37748841) at add_window.c:271
#29 0x805ff4c in HandleMapRequestKeepRaised (KeepRaised=0) at events.c:908
#30 0x805fefa in HandleMapRequest () at events.c:889
#31 0x805f011 in DispatchEvent () at events.c:196
#32 0x805f042 in HandleEvents () at events.c:218
#33 0x806e31d in scwm_main (argc=2, argv=0xbffff5a8) at scwm.c:992
#34 0x40111227 in gh_launch_pad (closure=0x806d8c0, argc=2, argv=0xbffff5a8)
    at gh_init.c:60
#35 0x401133c2 in invoke_main_func (body_data=0xbffff550) at init.c:539
#36 0x40136821 in scm_internal_lazy_catch (tag=9076, 
    body=0x4011339c <invoke_main_func>, body_data=0xbffff550, 
    handler=0x40136b04 <scm_handle_by_message>, handler_data=0x0)
    at throw.c:328
#37 0x40113373 in scm_boot_guile_1 (base=0xbffff54c, closure=0xbffff550)
    at init.c:513
#38 0x40113129 in scm_boot_guile (argc=2, argv=0xbffff5a8, 
    main_func=0x4011120c <gh_launch_pad>, closure=0x806d8c0) at init.c:378
#39 0x40111255 in gh_enter (argc=2, argv=0xbffff5a8, 
    c_main_prog=0x806d8c0 <scwm_main>) at gh_init.c:70
#40 0x806d8bb in main (argc=2, argv=0xbffff5a8) at scwm.c:465
(gdb) 


-- 
eric

From owner-scwm-discuss@mit.edu  Wed Apr  7 01:23:49 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA15922
	for scwm-discuss-outgoing; Wed, 7 Apr 1999 01:23:49 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA15897
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 7 Apr 1999 01:23:45 -0400
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA28833; Wed, 7 Apr 99 01:22:16 EDT
Received: (qmail 29088 invoked by uid 501); 7 Apr 1999 05:21:27 -0000
Date: Tue, 6 Apr 1999 22:21:26 -0700
From: Todd Larason <jtl@molehill.org>
To: Equality 7-2521 <beuscher@eecs.tulane.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: window style problem
Message-Id: <19990406222126.A27660@molehill.org>
References: <14090.20618.838046.895519@juno> <qrr1zhxv1px.fsf@elwha.cs.washington.edu> <14090.34953.373877.248416@juno>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <14090.34953.373877.248416@juno>; from Equality 7-2521 on Tue, Apr 06, 1999 at 05:19:53PM -0500
X-Kibo: All of the bad allowedness and the color blue are stuck-in-a-rut.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990406, Equality 7-2521 wrote:
...
> Program terminated with signal 8, Floating point exception.
...
> #0  0x806c131 in ConstrainSize (psw=0x80dd980, xmotion=0, ymotion=0, 
>     widthp=0xbfffe9d4, heightp=0xbfffe9d8) at resize.c:105
> 105       dwidth = ((dwidth - baseWidth) / xinc * xinc) + baseWidth;

xinc is apparently zero here.  xinc comes from psw->hints.width_inc, so I'll
assume it's 0 too.

GetWindowSizeHints attempts to protect against this, and the protection looks
fine, and I can't find anything else that sets a psw->hints.  I am looking at
source about a month old.

Perhaps psw is completely trashed.  Could you do a 'print *psw' in gdb,
please?
-- 
A whole lot of what makes Linux so good is Linus saying "no".  And a whole
lot of what makes open software work is development being able to tell
marketing to write the code themselves if they are so technically saavy.
     -- yodaiken@chelm.cs.nmt.edu
UIN: 3769349

From owner-scwm-discuss@mit.edu  Wed Apr  7 01:59:35 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA16687
	for scwm-discuss-outgoing; Wed, 7 Apr 1999 01:59:35 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA16684
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 7 Apr 1999 01:59:32 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA04445; Wed, 7 Apr 99 01:58:03 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA06803; Tue, 6 Apr 1999 22:57:06 -0700 (PDT)
To: Ken Pizzini <ken@halcyon.com>
Cc: scwm-discuss@mit.edu
Subject: Re: placement of pointer in (default-winlist-proc)
References: <19990403091859Z276517-384+272@pulsar.halcyon.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Apr 1999 22:57:05 -0700
In-Reply-To: Ken Pizzini's message of "Sat, 03 Apr 1999 01:18:57 -0800"
Message-Id: <qrr4smtt1la.fsf@elwha.cs.washington.edu>
Lines: 8
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

This definitely should be configurable, as you suggest, so I've added
this in to my working copy.  One question though... what is the use of
->bool for?  Plus it seems like we should do better checking on p before 
just returning it since the code that uses p makes several assumptions
about the return value from warp-placement.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Wed Apr  7 02:35:34 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA16920
	for scwm-discuss-outgoing; Wed, 7 Apr 1999 02:35:34 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA16917
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 7 Apr 1999 02:35:31 -0400
Received: from smtp05.nwnexus.com by MIT.EDU with SMTP
	id AA10045; Wed, 7 Apr 99 02:34:02 EDT
Received: from pulsar.halcyon.com (ken@coho.halcyon.com [198.137.231.21])
	by smtp05.nwnexus.com (8.8.8/8.8.8) with ESMTP id XAA17563
	for <scwm-discuss@mit.edu>; Tue, 6 Apr 1999 23:31:13 -0700
Received: from ken@localhost by pulsar.halcyon.com id <276729-4322>; Tue, 6 Apr 1999 23:30:36 -0700
To: scwm-discuss@mit.edu
Subject: Re: placement of pointer in (default-winlist-proc)
References: <19990403091859Z276517-384+272@pulsar.halcyon.com> <qrr4smtt1la.fsf@elwha.cs.washington.edu>
Reply-To: ken@halcyon.com
Date: Tue, 06 Apr 1999 23:30:27 -0600
From: Ken Pizzini <ken@halcyon.com>
Message-Id: <19990407063036Z276729-4322+2@pulsar.halcyon.com>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 06 Apr 1999 22:57:05 -0700, Greg Badros <gjb@cs.washington.edu> wrote:
>This definitely should be configurable, as you suggest, so I've added
>this in to my working copy.  One question though... what is the use of
>->bool for?

Um, I suppose its gratuitous.  I'm of the "learn scheme by example"
school, and I picked it up from *somewhere*, but I can't figure out
where now...


>  Plus it seems like we should do better checking on p before 
>just returning it since the code that uses p makes several assumptions
>about the return value from warp-placement.

Sure, sanity checking is usually A Good Thing...
  (if (and (list p) (list (cdr p))
          (<= 0 (car p)) (<= (car p) 100)
          (<= 0 (cadr p)) (<= (cadr p) 100))
    p
    '(20 20))

		--Ken Pizzini

From owner-scwm-discuss@mit.edu  Wed Apr  7 03:29:39 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA17500
	for scwm-discuss-outgoing; Wed, 7 Apr 1999 03:29:39 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA17497
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 7 Apr 1999 03:29:35 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA16152; Wed, 7 Apr 99 03:28:05 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id AAA06925; Wed, 7 Apr 1999 00:27:08 -0700 (PDT)
To: ken@halcyon.com
Cc: scwm-discuss@mit.edu
Subject: Re: placement of pointer in (default-winlist-proc)
References: <19990403091859Z276517-384+272@pulsar.halcyon.com> <qrr4smtt1la.fsf@elwha.cs.washington.edu> <19990407063036Z276729-4322+2@pulsar.halcyon.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Apr 1999 00:27:07 -0700
In-Reply-To: Ken Pizzini's message of "Tue, 06 Apr 1999 23:30:27 -0600"
Message-Id: <qrrwvzosxf8.fsf@elwha.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Ken Pizzini <ken@halcyon.com> writes:

> On 06 Apr 1999 22:57:05 -0700, Greg Badros <gjb@cs.washington.edu> wrote:
> >This definitely should be configurable, as you suggest, so I've added
> >this in to my working copy.  One question though... what is the use of
> >->bool for?
> 
> Um, I suppose its gratuitous.  I'm of the "learn scheme by example"
> school, and I picked it up from *somewhere*, but I can't figure out
> where now...

Ok... just checking -- we've got all levels of scheme expertise here,
including those who blow me away, so I like double checking things that
I don't understand. :-)

BTW, consider checking out my book recommendations for learning Scheme:

http://www.cs.washington.edu/homes/gjb/doc/book-recommendations.html

> >  Plus it seems like we should do better checking on p before 
> >just returning it since the code that uses p makes several assumptions
> >about the return value from warp-placement.
> 
> Sure, sanity checking is usually A Good Thing...

Yep... we need to do it at one end or the other (either wrapping a
setter function for picking the window placement for a window, or ensure 
that it's safe when we get the property and before we use it).  To err
on the safe side, I'll do the checking before use.

Thanks for the contribution!

Greg

From owner-scwm-discuss@mit.edu  Wed Apr  7 09:13:00 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA20104
	for scwm-discuss-outgoing; Wed, 7 Apr 1999 09:13:00 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA20098
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 7 Apr 1999 09:12:56 -0400
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA27636; Wed, 7 Apr 99 09:10:26 EDT
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for <scwm-discuss@mit.edu>
          Wed, 7 Apr 1999 08:10:24 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Wed, 7 Apr 1999 08:10:26 -0500 (CDT)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14091.22850.224631.188120@juno>
Date: Wed, 7 Apr 1999 08:10:26 -0500 (CDT)
From: Equality 7-2521 <beuscher@eecs.tulane.edu>
To: scwm-discuss@mit.edu
Subject: winlist
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


is there a better way to add hotkeys to the window-list (ala
fvwm), than defining my own function just like
show-window-list-menu

long diff of original and my version to follow:

--- /tmp/bat1	Wed Apr  7 08:03:43 1999
+++ /tmp/bat2	Wed Apr  7 08:06:18 1999
@@ -9,7 +9,8 @@
 				       (show-last-focus-time #f)
 				       (warp-to-first #f)
 				       (ignore-winlist-skip #f)
-				       (show-mini-icon #t))
+				       (show-mini-icon #t)
+				       (enumerate-hot-keys #t))
 
   "Popup a window list menu and permit a selection to be made.
 ONLY and EXCEPT are procedures that control which windows will appear
@@ -34,41 +35,69 @@
 
 If WARP-TO-FIRST is #t, the mouse pointer will be warped to the first
 menuitem (see `popup-menu').  
+
+If ENUMERATE-HOT-KEYS it #t, then add alpha-numeric hot keys for the
+window-list.  Order is [1-9a-z] (assumes non-dijkstra-ian counting)
 "
   (popup-menu (menu
 	       (append 
 		(list 
-		 (make-menuitem "Window list" #f (if show-geometry "Geometry" #f)
-				#f #f #f #f #f)
+		 (make-menuitem
+		  (if enumerate-hot-keys
+		      "	Window list" ; that " " is a tab and not a space
+		      "Window-list")
+		  #f
+		  (if show-geometry "Geometry" #f)
+		  #f #f #f #f #f)
 		 menu-title)
-		(map (lambda (x)
-		       (let ((extra-label-string 
-			      (if show-geometry (window-geometry-string x) #f)))
-			 (if show-last-focus-time
-			     (set! extra-label-string 
-				   (string-append (or extra-label-string "")
-						  (if extra-label-string ", " "")
-						  (window-last-focus-time-string x))))
-			 (make-menuitem (window-title x)
-					(lambda () (proc x))
-					extra-label-string
-					#f 
-					(if show-mini-icon
-					    (window-mini-icon x) #f)
-					(if flash-window-proc
-					    (lambda () (flash-window-proc x))
-					    #f)
-					(if unflash-window-proc
-					    (lambda () (unflash-window-proc x))
-					    #f)
-					#f)))
-		     (list-windows #:only only #:except 
-				   (if ignore-winlist-skip
-				       except
-				       (cons 
-					winlist-skip?
-					(listify-if-atom except)))
-				   #:by-stacking by-stacking
-				   #:by-focus by-focus
-				   #:reverse reverse))))
+		(let* (;; this let is for enumerate-hot-keys
+		       (count -1) 
+		       (hotkeys "123456789abcdefghijklmnopqrstuvwxyz")
+		       (hk-len (string-length hotkeys)))
+		  (map (lambda (x)
+			 (set! count (+ count 1)) ; shouldnt hurt even w/o
+			; enumerate-hot-keys
+			 (let ((extra-label-string 
+				(if show-geometry
+				    (window-geometry-string x)
+				    #f))
+			       (hotkey
+				(cond
+				 ((not enumerate-hot-keys) #f)
+				 ((< count hk-len)
+				  (substring hotkeys count (+ count 1)))
+				 (else #f)))
+			       )
+			   (if show-last-focus-time
+			       (set! extra-label-string 
+				     (string-append
+				      (or extra-label-string "")
+				      (if extra-label-string ", " "")
+				      (window-last-focus-time-string x))))
+			   (make-menuitem
+			    (if enumerate-hot-keys
+				(string-append hotkey ".\t" (window-title x))
+				(window-title x))
+			    (lambda () (proc x))
+			    extra-label-string
+			    #f 
+			    (if show-mini-icon
+				(window-mini-icon x) #f)
+			    (if flash-window-proc
+				(lambda () (flash-window-proc x))
+				#f)
+			    (if unflash-window-proc
+				(lambda () (unflash-window-proc x))
+				#f)
+			    hotkey
+			    )))
+		       (list-windows #:only only #:except 
+				     (if ignore-winlist-skip
+					 except
+					 (cons 
+					  winlist-skip?
+					  (listify-if-atom except)))
+				     #:by-stacking by-stacking
+				     #:by-focus by-focus
+				     #:reverse reverse)))))
 	      warp-to-first))


-- 
eric

From owner-scwm-discuss@mit.edu  Wed Apr  7 11:53:06 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA21827
	for scwm-discuss-outgoing; Wed, 7 Apr 1999 11:53:06 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA21824
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 7 Apr 1999 11:53:03 -0400
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA19199; Wed, 7 Apr 99 11:51:30 EDT
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for <scwm-discuss@mit.edu>
          Wed, 7 Apr 1999 10:50:32 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Wed, 7 Apr 1999 10:50:33 -0500 (CDT)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14091.32456.798382.339600@juno>
Date: Wed, 7 Apr 1999 10:50:32 -0500 (CDT)
From: Equality 7-2521 <beuscher@eecs.tulane.edu>
To: scwm-discuss@mit.edu
Subject: minor problems
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


the window-style problem appears gone w/ the latest snapshot
(19990407)

some new minor problems:

1. it looks like windows w/o titlebars again have their titlebars
   during placement

2. w/ scwm --version

  <prompt>:scwm --version
  scwm: error in loading shared libraries
  libjpeg.so.62: cannot open shared object file: No such file or directory
  zsh: 6839 exit 127   scwm --version
  <prompt>:locate libjpeg
  /usr/agenttcl/jdk/lib/i686/libjpeg.so
  /usr/agenttcl/jdk/lib/i686/libjpeg_g.so
  /usr/doc/python-docs-1.5.1/Doc/libjpeg.tex
  /usr/lib/libjpeg.a
  /usr/lib/libjpeg.so
  /usr/lib/libjpeg.so.6
  /usr/lib/libjpeg.so.6.0.1

   i'm not sure where the fault lies on this one.   w/ me for not
   have .62, or w/ scwm for not using a more generic lib number

3. i get the following error on restart (and presumably startup):

   /usr/X11R6/bin/convert: No such file or directory

   this is apparently called by `ImageMagick-loader', which looks
   like it is called from `support-image-conversion'.   my
   convert is in /usr/bin.    i'm not sure how scwm looks for
   convert, whether in $PATH or just in /usr/X11R6/bin

   i guess this could be an Imlib configuration problem instead,
   i am not sure 

4. it seems weird that there isnt a window-style option for
   highlight-foreground and highlight-background

5. has anyone else used xmcd w/ scwm
   it is a motif-based cd player (having the nice functionality
   of doing remote db queries for cd info.
   when i start it up, it ignores its window-style options, but
   if i restart, the window-style options kick in

6. when defining a placement-proc, is there a predicate for
   determining if the window is already placed, so, for example,
   on startup, i dont have to replace windows whose
   placement-proc is `interactive-place'


-- 
eric

From owner-scwm-discuss@mit.edu  Wed Apr  7 12:21:57 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA22516
	for scwm-discuss-outgoing; Wed, 7 Apr 1999 12:21:57 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA22513
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 7 Apr 1999 12:21:54 -0400
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA29300; Wed, 7 Apr 99 12:20:21 EDT
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id SAA18570;
	Wed, 7 Apr 1999 18:19:23 +0200 (MET DST)
Date: Wed, 7 Apr 1999 18:19:22 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: Equality 7-2521 <beuscher@eecs.tulane.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: minor problems
Message-Id: <19990407181922.E1192@youkaidi.irisa.fr>
References: <14091.32456.798382.339600@juno>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Mailer: Mutt 0.95.3us
In-Reply-To: <14091.32456.798382.339600@juno>; from Equality 7-2521 on Wed, Apr 07, 1999 at 10:50:32AM -0500
X-Mime-Autoconverted: from 8bit to quoted-printable by ulla.irisa.fr id SAA18570
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by VICARIOUS-EXISTENCE.MIT.EDU id MAA22514
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Equality 7-2521 écrivait :
> 5. has anyone else used xmcd w/ scwm
>    it is a motif-based cd player (having the nice functionality
>    of doing remote db queries for cd info.
>    when i start it up, it ignores its window-style options, but
>    if i restart, the window-style options kick in

looks like the problem I had last time : if the title is changed after
the window is displayed, the window-style isn't applied.



One more small problem with the compilation :

my readline.h is in ${prefix}/include/readline which isn't read when
compiling utilities/scwmrepl



-- 
Hubert Canon

From owner-scwm-discuss@mit.edu  Wed Apr  7 13:45:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA23205
	for scwm-discuss-outgoing; Wed, 7 Apr 1999 13:45:45 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA23202
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 7 Apr 1999 13:45:41 -0400
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA02110; Wed, 7 Apr 99 13:42:46 EDT
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for <scwm-discuss@mit.edu>
          Wed, 7 Apr 1999 12:42:41 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Wed, 7 Apr 1999 12:42:42 -0500 (CDT)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14091.39185.915656.149740@juno>
Date: Wed, 7 Apr 1999 12:42:41 -0500 (CDT)
From: Equality 7-2521 <beuscher@eecs.tulane.edu>
To: scwm-discuss@mit.edu
Subject: Re: minor problems
In-Reply-To: <14091.32456.798382.339600@juno>
References: <14091.32456.798382.339600@juno>
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


> 5. has anyone else used xmcd w/ scwm
>    it is a motif-based cd player (having the nice functionality
>    of doing remote db queries for cd info.
>    when i start it up, it ignores its window-style options, but
>    if i restart, the window-style options kick in

well, the problem seems to have gone away.    weird
it didnt work just a couple of hours ago.    hmmmmm


-- 
eric

From owner-scwm-discuss@mit.edu  Thu Apr  8 05:41:21 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA30246
	for scwm-discuss-outgoing; Thu, 8 Apr 1999 05:41:21 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA30243
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 8 Apr 1999 05:41:16 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA23526; Thu, 8 Apr 99 05:38:35 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id LAA13349
	for scwm-discuss@mit.edu; Thu, 8 Apr 1999 11:20:47 +0200 (MET DST)
Received: (qmail 1183 invoked by uid 115); 8 Apr 1999 09:18:19 -0000
To: scwm-discuss@mit.edu
Subject: Re: minor problems
References: <14091.32456.798382.339600@juno> <19990407181922.E1192@youkaidi.irisa.fr>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 08 Apr 1999 11:18:18 +0200
In-Reply-To: Hubert Canon's message of "Wed, 7 Apr 1999 18:19:22 +0200"
Message-Id: <wsyak3mpwl.fsf@orcus.priv.at>
Lines: 30
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Wed, 7 Apr 1999 18:19:22 +0200
>>>>> Hubert Canon <Hubert.Canon@irisa.fr> said:

 Hubert> looks like the problem I had last time : if the title is
 Hubert> changed after the window is displayed, the window-style isn't
 Hubert> applied.

Using a windows resource class (can be found out by "xprop WM_CLASS")
is usually safer than relying on the title (which may change).

For example,
  (window-style "XTerm" ...)
will match all xterms, regardless of title. It will also match other
windows named "XTerm", though. The following is more to the point:
  (window-style (class-match?? "XTerm") ...)
will match only windows of class "XTerm", not those named "XTerm".

 Hubert> my readline.h is in ${prefix}/include/readline which isn't
 Hubert> read when compiling utilities/scwmrepl

Hmm, is including -I${prefix}/include in the CFLAGS always a good
idea?

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Apr  8 06:17:32 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA30465
	for scwm-discuss-outgoing; Thu, 8 Apr 1999 06:17:32 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id GAA30462
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 8 Apr 1999 06:17:28 -0400
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA12505; Thu, 8 Apr 99 06:15:46 EDT
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id MAA03537
	for <scwm-discuss@mit.edu>; Thu, 8 Apr 1999 12:14:49 +0200 (MET DST)
Date: Thu, 8 Apr 1999 12:14:48 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@mit.edu
Subject: Re: minor problems
Message-Id: <19990408121448.H1192@youkaidi.irisa.fr>
References: <14091.32456.798382.339600@juno> <19990407181922.E1192@youkaidi.irisa.fr> <wsyak3mpwl.fsf@orcus.priv.at>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3us
In-Reply-To: <wsyak3mpwl.fsf@orcus.priv.at>; from Robert Bihlmeyer on Thu, Apr 08, 1999 at 11:18:18AM +0200
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer wrote :
>  Hubert> looks like the problem I had last time : if the title is
>  Hubert> changed after the window is displayed, the window-style isn't
>  Hubert> applied.
> 
> Using a windows resource class (can be found out by "xprop WM_CLASS")
> is usually safer than relying on the title (which may change).
> 
> For example,
>   (window-style "XTerm" ...)
> will match all xterms, regardless of title. It will also match other
> windows named "XTerm", though. The following is more to the point:
>   (window-style (class-match?? "XTerm") ...)
> will match only windows of class "XTerm", not those named "XTerm".

But I want to have window-style based on title : I want that the
window-style change when the title change.

>  Hubert> my readline.h is in ${prefix}/include/readline which isn't
>  Hubert> read when compiling utilities/scwmrepl
> 
> Hmm, is including -I${prefix}/include in the CFLAGS always a good
> idea?

I don't know.

I am not the system administrator. I install programs on my own
account. So basically ${prefix} is just ${HOME}, when I put guile,
readline, zsh, rxvt, scwm, etc... And when compiling scwm, it finds
everything, except ${HOME}/include/readline/history.h (it finds
libreadline).

-- 
Hubert Canon

From owner-scwm-discuss@mit.edu  Thu Apr  8 10:01:39 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA31395
	for scwm-discuss-outgoing; Thu, 8 Apr 1999 10:01:39 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA31392
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 8 Apr 1999 10:01:35 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA19624; Thu, 8 Apr 99 09:59:48 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id PAA10950
	for scwm-discuss@mit.edu; Thu, 8 Apr 1999 15:34:17 +0200 (MET DST)
Received: (qmail 4935 invoked by uid 115); 8 Apr 1999 10:02:32 -0000
To: scwm-discuss@mit.edu
Subject: Re: minor problems
References: <14091.32456.798382.339600@juno>
X-Attribution: Robbe
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
In-Reply-To: Equality 7-2521's message of "Wed, 7 Apr 1999 10:50:32 -0500 (CDT)"
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Mime-Version: 1.0
Date: 08 Apr 1999 12:02:20 +0200
Message-Id: <wsu2urmnv7.fsf@orcus.priv.at>
Lines: 59
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Wed, 7 Apr 1999 10:50:32 -0500 (CDT)
>>>>> Equality 7-2521 <beuscher@eecs.tulane.edu> said:

 Eric> 1. it looks like windows w/o titlebars again have their
 Eric>    titlebars during placement

Yeah. I had fixed this by making no-titlebar a hint-style, and forgot
to commit... Will do so, soon.

 Eric>   libjpeg.so.62: cannot open shared object file: No
 Eric>   such file or directory
[...]
 Eric>    i'm not sure where the fault lies on this one. w/ me for not
 Eric>    have .62, or w/ scwm for not using a more generic lib number

Have you compiled scwm yourself? gcc normally just uses the version
that libjpeg.so points to. Perhaps it picks up the wrong file, though.
What does "ls -l PATH/TO/libjpeg.so" say?

 Eric> 3. i get the following error on restart (and presumably
 Eric>    startup):

 Eric>    /usr/X11R6/bin/convert: No such file or directory

 Eric>    this is apparently called by `ImageMagick-loader', [...]

 Eric>    i guess this could be an Imlib configuration problem
 Eric>    instead, i am not sure

The latter, I'd bet. `ImageMagick-loader' just execs "convert" without 
"/usr/X11R6/bin". If you use Imlib, OTOH, it will fall back to
ImageMagick if all else fails. Reinstalling Imlib may point you
further.

Note that Imlib falling back onto convert may be a problem in 
itself (library not found), as Imlib, with the right army of libs can
natively decode most formats less exotic than FITS.

 Eric> 4. it seems weird that there isnt a window-style option for
 Eric>    highlight-foreground and highlight-background

I have now added this.

 Eric> 6. when defining a placement-proc, is there a predicate for
 Eric>    determining if the window is already placed, so, for
 Eric>    example, on startup, i dont have to replace windows whose
 Eric>    placement-proc is `interactive-place'

`capturing?' is the one you want. Still I wonder, why are
placement-procs called at all while capturing? I'd argue that the
"placement" abstraction is not applicable here.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Apr  8 13:30:11 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA32375
	for scwm-discuss-outgoing; Thu, 8 Apr 1999 13:30:11 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from mail.eaglets.com ([208.235.77.228])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id NAA32372
	for <scwm-discuss@huis-clos.mit.edu>; Thu, 8 Apr 1999 13:30:01 -0400
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Thu, 08 Apr 1999 13:26:30 -0400
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Thu, 08 Apr 1999 13:26:29 -0400
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id NAA02185;
	Thu, 8 Apr 1999 13:26:49 -0400
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: decorating transient windows
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 08 Apr 1999 13:26:48 -0400
Message-ID: <m37lrnja5j.fsf@eho.eaglets.com>
Lines: 11
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

the transient windows under sds.scwmrc are decorated incorrectly:
instead if the 3 right buttons on the title bar there is nothing there
(gray area).  Whether the buttons should be there, or the title bar
inself - I don't know, but the current behavior - nothing at all - is
obviously incorrect.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
I don't like cats! -- Come on, you just don't know how to cook them!

From owner-scwm-discuss@mit.edu  Thu Apr  8 19:04:58 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA01282
	for scwm-discuss-outgoing; Thu, 8 Apr 1999 19:04:58 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA01279
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 8 Apr 1999 19:04:54 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA12107; Thu, 8 Apr 99 19:02:06 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA09641; Thu, 8 Apr 1999 16:02:05 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@mit.edu
Subject: Re: minor problems
References: <14091.32456.798382.339600@juno> <19990407181922.E1192@youkaidi.irisa.fr> <wsyak3mpwl.fsf@orcus.priv.at> <19990408121448.H1192@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Apr 1999 16:02:05 -0700
In-Reply-To: Hubert Canon's message of "Thu, 8 Apr 1999 12:14:48 +0200"
Message-Id: <qrrbtgyra1e.fsf@elwha.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Robert Bihlmeyer wrote :
> >  Hubert> looks like the problem I had last time : if the title is
> >  Hubert> changed after the window is displayed, the window-style isn't
> >  Hubert> applied.
> > 
> > Using a windows resource class (can be found out by "xprop WM_CLASS")
> > is usually safer than relying on the title (which may change).
> > 
> > For example,
> >   (window-style "XTerm" ...)
> > will match all xterms, regardless of title. It will also match other
> > windows named "XTerm", though. The following is more to the point:
> >   (window-style (class-match?? "XTerm") ...)
> > will match only windows of class "XTerm", not those named "XTerm".
> 
> But I want to have window-style based on title : I want that the
> window-style change when the title change.

You can do this with the X-PropertyNotify-hook-- the title is just a
window property.

<snip>

Greg

From owner-scwm-discuss@mit.edu  Thu Apr  8 19:53:27 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA01597
	for scwm-discuss-outgoing; Thu, 8 Apr 1999 19:53:27 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA01594
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 8 Apr 1999 19:53:24 -0400
Received: from host97.newtonlabs.com by MIT.EDU with SMTP
	id AA22605; Thu, 8 Apr 99 19:50:36 EDT
Received: from bogomips.newtonlabs.com (bogomips.newtonlabs.com [207.55.51.12])
	by quasar.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) with ESMTP id QAA07181
	for <scwm-discuss@mit.edu>; Thu, 8 Apr 1999 16:50:37 -0700
Received: (from cwitty@localhost)
	by bogomips.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) id QAA29097;
	Thu, 8 Apr 1999 16:50:36 -0700
To: scwm-discuss@mit.edu
Subject: modified window titles
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: cwitty@newtonlabs.com (Carl R. Witty)
Date: 08 Apr 1999 16:50:36 -0700
Message-Id: <v4jbtgy659v.fsf@bogomips.newtonlabs.com>
Lines: 38
X-Mailer: Gnus v5.4.61/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I'd like to be able to display text in the titlebar that isn't just
the window title.  I want to put various status indications in the
titlebar (vaguely similar to the sorts of things that might go in the
Emacs modeline).  It seems that the current code has no support for
this sort of thing, so I'll need to add it.  I've thought of several
possible interfaces for this, and I wondered if anybody had
preferences between them.

1) Add a new window property 'titlebar-prefix.  Whenever the C code
wants to display the title, it actually displays the concatenation of
the 'titlebar-prefix property and the real title.  I don't like this
because it's not very generic (we may soon end up with a
'titlebar-suffix, etc.), but it is fairly simple.

2) Add a new window property 'displayed-title.  Whenever the C code
wants to display the title, it actually displays the value of
'displayed-title, if the property exists (if the property does not
exist, then it falls back on the regular title).  Scheme code that
wants to use 'displayed-title should add a function that watches for
changes in the title and makes corresponding changes in
'displayed-title.

3) Add a new window property 'displayed-title-func.  Whenever the C code
wants to display the title, it calls the function which is the value
of 'displayed-title-func, giving it one argument which is the window.
It then displays the value returned by this function.

My current vote would be to go for (2) (because I'm worried about the
performance effects of calling a function on every titlebar
redisplay).  Does anybody have any other ideas?

I do know about the function set-window-title! in flux.scm.  I really
don't want to use it; I don't want the "real" title to change if (for
instance) I switch to another window manager.  (I would also worry
about programs that might notice and complain about their own title
changing.)

Carl Witty

From owner-scwm-discuss@mit.edu  Thu Apr  8 20:44:26 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA01934
	for scwm-discuss-outgoing; Thu, 8 Apr 1999 20:44:26 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA01931
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 8 Apr 1999 20:44:22 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA04545; Thu, 8 Apr 99 20:42:33 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA09819; Thu, 8 Apr 1999 17:41:33 -0700 (PDT)
To: cwitty@newtonlabs.com (Carl R. Witty)
Cc: scwm-discuss@mit.edu
Subject: Re: modified window titles
References: <v4jbtgy659v.fsf@bogomips.newtonlabs.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Apr 1999 17:41:33 -0700
In-Reply-To: cwitty@newtonlabs.com's message of "08 Apr 1999 16:50:36 -0700"
Message-Id: <qrr4smqr5fm.fsf@elwha.cs.washington.edu>
Lines: 52
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

cwitty@newtonlabs.com (Carl R. Witty) writes:

> I'd like to be able to display text in the titlebar that isn't just
> the window title.  I want to put various status indications in the
> titlebar (vaguely similar to the sorts of things that might go in the
> Emacs modeline).  It seems that the current code has no support for
> this sort of thing, so I'll need to add it.  I've thought of several
> possible interfaces for this, and I wondered if anybody had
> preferences between them.
> 
> 1) Add a new window property 'titlebar-prefix.  Whenever the C code
> wants to display the title, it actually displays the concatenation of
> the 'titlebar-prefix property and the real title.  I don't like this
> because it's not very generic (we may soon end up with a
> 'titlebar-suffix, etc.), but it is fairly simple.
> 
> 2) Add a new window property 'displayed-title.  Whenever the C code
> wants to display the title, it actually displays the value of
> 'displayed-title, if the property exists (if the property does not
> exist, then it falls back on the regular title).  Scheme code that
> wants to use 'displayed-title should add a function that watches for
> changes in the title and makes corresponding changes in
> 'displayed-title.
> 
> 3) Add a new window property 'displayed-title-func.  Whenever the C code
> wants to display the title, it calls the function which is the value
> of 'displayed-title-func, giving it one argument which is the window.
> It then displays the value returned by this function.
> 
> My current vote would be to go for (2) (because I'm worried about the
> performance effects of calling a function on every titlebar
> redisplay).  Does anybody have any other ideas?

First, I think some simple version of this should be used, but we should 
keep this desire in mind as we plan the decoration rewrite.

I'd suggest a window-extra-title property of windows that is text that
gets right justified in the titlebar, perhaps.  Your option 2 seems
reasonable, too.  Running a proc for each redisplay would be bad.

> I do know about the function set-window-title! in flux.scm.  I really
> don't want to use it; I don't want the "real" title to change if (for
> instance) I switch to another window manager.  (I would also worry
> about programs that might notice and complain about their own title
> changing.)

Right, this is the wrong solution.  I just will stress that something
simple that gives you what you want is probably the best choice for
now... we need to have a much better decoration framework before we do
it right.

Greg

From owner-scwm-discuss@mit.edu  Fri Apr  9 01:40:44 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA04244
	for scwm-discuss-outgoing; Fri, 9 Apr 1999 01:40:44 -0400
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA04241
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 9 Apr 1999 01:40:39 -0400
Received: from netcom8.netcom.com by MIT.EDU with SMTP
	id AA13649; Fri, 9 Apr 99 01:38:46 EDT
Received: (from ttn@localhost)
	by mingle.glug.org (8.8.7/8.8.7) id WAA24782;
	Thu, 8 Apr 1999 22:40:06 -0700
X-Authentication-Warning: mingle.glug.org: ttn set sender to ttn@mingle.glug.org using -f
From: thi <ttn@mingle.glug.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14093.37550.642572.705303@mingle.glug.org>
Date: Thu, 8 Apr 1999 22:39:58 -0700 (PDT)
To: cwitty@newtonlabs.com (Carl R. Witty)
Cc: scwm-discuss@mit.edu
Subject: modified window titles
In-Reply-To: <v4jbtgy659v.fsf@bogomips.newtonlabs.com>
References: <v4jbtgy659v.fsf@bogomips.newtonlabs.com>
X-Mailer: VM 6.62 under Emacs 20.3.1
Reply-To: ttn@netcom.com
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Carl R. Witty writes:

 > My current vote would be to go for (2) (because I'm worried about the
 > performance effects of calling a function on every titlebar
 > redisplay).  Does anybody have any other ideas?

unless the titlebars change with high frequency, going for a general
solution (a la Emacs' `mode-line-format', but perhaps not as hairy :-)
would work well.  the title is just one piece of information that should
be floating around up there.

see below for mode-line wonking.  one use:

(setq
 compilation-finish-function
 (function (lambda (buf status-string)
	     (yo! (substring status-string 0 -1) 'funky-flash))))

it would be nice for all windows to raise their eyebrows everyone once
in awhile, so to speak...

happy hacking,
thi


---------------------------
;;; ID: $Id: yo.el,v 1.11 1998/10/08 08:57:26 ttn Rel $
;;;
;;; Copyright (C) 1997, 1998 Thien-Thi Nguyen
;;; This file is part of ttn's personal elisp library, released under GNU
;;; GPL with ABSOLUTELY NO WARRANTY.  See the file COPYING for details.

;;; Description: Alternative notification.

(require 'cl)

;;;###autoload
(defun starfield-string (len)
  (let* ((r (random))
	 (s (make-string 16 ?*))
	 (hmm (do ((i 15 (1- i)))
		  ((< i 0) s)
		(aset s
		      (- 15 i)
		      (if (= 0 (logand r (lsh 1 i))) ?* ?-)))))
    (substring (concat hmm hmm hmm hmm hmm) 0 (if (< len 0) 0 len))))

;;;###autoload
(defun yo! (msg &optional style)
  "Reworks mode line to display MSG in high STYLE.
Styles are: simple-message, message, funky, funky-flash, bounce, t."
  (let ((standard-message (concat ">>> " msg " <<<")))
    (case style
      (simple-message
       (message msg)
       (sit-for 1))
      (message
       (message standard-message)
       (sit-for 1))
      (funky
       (let ((mode-line-format (concat "YO! " standard-message)))
	 (force-mode-line-update)
	 (sit-for 1))
       (force-mode-line-update))
      (funky-flash
       (let ((i 10))
	 (while (and (> i 0))
	   (yo! msg 'funky)
	   (sit-for 0.5)
	   (decf i))))
      (bounce
       (let* ((len-msg (length msg))
	      (fr-width (frame-width))
	      (m (/ (- len-msg fr-width) 2)) ; magnitude
	      (o (abs m))		; offset
	      done)
	 (do ((x 0.0 (+ x (* 0.01 pi))))
	     (done nil)
	   (let* ((ns (truncate (+ o (* m (sin x))))) ; num spaces
		  (mode-line-format
		   (concat
		    (starfield-string (1- ns))
		    " "
		    msg
		    " "
		    (starfield-string (- fr-width len-msg (1+ ns))))))
	     (setq done (not (sit-for 0.02)))
	     (force-mode-line-update)))))
      ;; Add styles (don't forget doscstring) here.
      (t
       (let ((mode-line-format standard-message))
	 (force-mode-line-update)
	 (sit-for 1))
       (force-mode-line-update)))))

(provide 'yo)

;;; $RCSfile: yo.el,v $$Revision: 1.11 $ ends here

From owner-scwm-discuss@mit.edu  Fri Apr  9 08:33:01 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id IAA07761
	for scwm-discuss-outgoing; Fri, 9 Apr 1999 08:33:01 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id IAA07755
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 9 Apr 1999 08:32:58 -0400
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA20111; Fri, 9 Apr 99 08:31:03 EDT
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id OAA15990
	for <scwm-discuss@mit.edu>; Fri, 9 Apr 1999 14:30:05 +0200 (MET DST)
Date: Fri, 9 Apr 1999 14:30:04 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: SCWM Discussion Mailing List <scwm-discuss@mit.edu>
Subject: bug in scwm-icons-19990409
Message-Id: <19990409143004.A26159@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3us
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


In mini-icons/Makefile I see the line :

	for i in *.xpm; do ${INSTALL_DATA} $$i ${pixmap_dir}; done

which should be instead :
	
	for i in *.xpm; do ${INSTALL_DATA} $$i ${mini_icon_dir}; done


-- 
Hubert Canon

From owner-scwm-discuss@mit.edu  Fri Apr  9 09:56:10 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA08226
	for scwm-discuss-outgoing; Fri, 9 Apr 1999 09:56:10 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA08223
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 9 Apr 1999 09:56:05 -0400
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA23838; Fri, 9 Apr 99 09:53:07 EDT
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id PAA17117
	for <scwm-discuss@mit.edu>; Fri, 9 Apr 1999 15:53:09 +0200 (MET DST)
Date: Fri, 9 Apr 1999 15:53:08 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@mit.edu
Subject: Re: minor problems
Message-Id: <19990409155307.B26159@youkaidi.irisa.fr>
References: <14091.32456.798382.339600@juno> <19990407181922.E1192@youkaidi.irisa.fr> <wsyak3mpwl.fsf@orcus.priv.at> <19990408121448.H1192@youkaidi.irisa.fr> <qrrbtgyra1e.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Mailer: Mutt 0.95.3us
In-Reply-To: <qrrbtgyra1e.fsf@elwha.cs.washington.edu>; from Greg Badros on Thu, Apr 08, 1999 at 04:02:05PM -0700
X-Mime-Autoconverted: from 8bit to quoted-printable by ulla.irisa.fr id PAA17117
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by VICARIOUS-EXISTENCE.MIT.EDU id JAA08224
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros écrivait :
> > But I want to have window-style based on title : I want that the
> > window-style change when the title change.
> 
> You can do this with the X-PropertyNotify-hook-- the title is just a
> window property.

In fact this works for netscape but not for xterm nor rxvt :
X-PropertyNotify-hook is never called when I change the title of my
xterm.


-- 
Hubert Canon

From owner-scwm-discuss@mit.edu  Fri Apr  9 15:02:54 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA10613
	for scwm-discuss-outgoing; Fri, 9 Apr 1999 15:02:54 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from eho.eaglets.com ([208.235.77.238])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id PAA10610
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 9 Apr 1999 15:02:49 -0400
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id OAA16231;
	Fri, 9 Apr 1999 14:59:26 -0400
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: rcs2log
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 09 Apr 1999 14:59:25 -0400
Message-ID: <m3u2upaacy.fsf@eho.eaglets.com>
Lines: 8
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

what is the purpose of modifying ChangeLog files manually when `rcs2log'
comes with cvs and does the job just fine?

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Marriage is the sole cause of divorce.

From owner-scwm-discuss@mit.edu  Fri Apr  9 17:17:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA11500
	for scwm-discuss-outgoing; Fri, 9 Apr 1999 17:17:41 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA11497
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 9 Apr 1999 17:17:37 -0400
Received: from calvin.itrade.net by MIT.EDU with SMTP
	id AA18677; Fri, 9 Apr 99 17:14:37 EDT
Received: from diko.itrade.net.itrade.net (IDENT:bkirby@diko.itrade.net [207.240.200.25])
	by calvin.itrade.net (8.9.3/8.9.3) with SMTP id OAA31043
	for <scwm-discuss@mit.edu>; Fri, 9 Apr 1999 14:14:39 -0700
To: scwm-discuss@mit.edu
Subject: Is hover-focus broken?
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Brendan Kirby <bkirby@itrade.net>
Date: 09 Apr 1999 14:14:59 -0700
Message-Id: <llhfqpebsc.fsf@diko.itrade.net>
Lines: 41
X-Mailer: Gnus v5.6.45/XEmacs 21.2(beta13) - "Demeter"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I've been using scwm for a while now and I like it a lot.  So, when I
saw that gnome was supported in the snap shots I decided to try using
one as my regular window manager.  (specifically the 19990311 version) 
It worked great after a few changes to my .scwmrc.  So, I decided to
play with hover-focus.  This worked great also until I upgraded to the 
19990407 snap shot. 

I determined that hover-focus wouldn't run because of the
define-scwm-option statement:
(define-scwm-option *default-hover-focus-delay* 300
  "Number of ms to delay before focusing the window that the pointer enters.
This can be overridden on a per-window basis using `set-hover-focus-delay!'."
  :type 'integer
  :group 'focus
  :range '(0 . 10000)
  :favorites '(0 100 300 500 1000 2000 3000))

The bug seemed to be that there's no pound (#) sign in front of the
keys.  I thought it should read:
(define-scwm-option *default-hover-focus-delay* 300
  "Number of ms to delay before focusing the window that the pointer enters.
This can be overridden on a per-window basis using `set-hover-focus-delay!'."
  #:type 'integer
  #:group 'focus
  #:range '(0 . 10000)
  #:favorites '(0 100 300 500 1000 2000 3000))

However, when I made this change and turned hover-focus back on in my
.scwmrc, it caused scwm to core dump.  I ran gdb on the core and got
a backtrace of :
#0  0x4011cd1d in scm_gc_mark ()
#1  0x4015fb70 in __DTOR_END__ ()

which doesn't look too useful.  

So, my long winded question is "Is there any way to fix hover-focus so 
it works again?"  I like it better than sloppy focus.

Thanks for your help and a great window manager.

Brendan


From owner-scwm-discuss@mit.edu  Fri Apr  9 20:48:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA13040
	for scwm-discuss-outgoing; Fri, 9 Apr 1999 20:48:45 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from mail.eaglets.com ([208.235.77.228])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id UAA13037
	for <scwm-discuss@huis-clos.mit.edu>; Fri, 9 Apr 1999 20:48:41 -0400
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Fri, 09 Apr 1999 20:45:17 -0400
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Fri, 09 Apr 1999 20:45:17 -0400
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id UAA18780;
	Fri, 9 Apr 1999 20:45:28 -0400
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: memory leak?
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 09 Apr 1999 20:45:28 -0400
Message-ID: <m3aewh8frr.fsf@eho.eaglets.com>
Lines: 12
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

In a couple of hours SCWM grows to obscene size:

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
sds       2108  0.0 15.3 35020 19636 tty2    S    Apr06   2:15 /usr/local/bin/scwm

what's up?

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Save your burned out bulbs for me, I'm building my own dark room.

From owner-scwm-discuss@mit.edu  Sat Apr 10 02:38:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA14982
	for scwm-discuss-outgoing; Sat, 10 Apr 1999 02:38:17 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA14979
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 10 Apr 1999 02:38:14 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA02791; Sat, 10 Apr 99 02:35:10 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id XAA11480; Fri, 9 Apr 1999 23:35:09 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@mit.edu
Subject: Re: minor problems
References: <14091.32456.798382.339600@juno> <19990407181922.E1192@youkaidi.irisa.fr> <wsyak3mpwl.fsf@orcus.priv.at> <19990408121448.H1192@youkaidi.irisa.fr> <qrrbtgyra1e.fsf@elwha.cs.washington.edu> <19990409155307.B26159@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 09 Apr 1999 23:35:09 -0700
In-Reply-To: Hubert Canon's message of "Fri, 9 Apr 1999 15:53:08 +0200"
Message-Id: <qrrwvzl56g2.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Greg Badros icrivait :
> > > But I want to have window-style based on title : I want that the
> > > window-style change when the title change.
> > 
> > You can do this with the X-PropertyNotify-hook-- the title is just a
> > window property.
> 
> In fact this works for netscape but not for xterm nor rxvt :
> X-PropertyNotify-hook is never called when I change the title of my
> xterm.

Hmmm.. you're right... I'm trying a change that'll make the
property-notify hook get invoked more regularly.

Thanks!

Greg

From owner-scwm-discuss@mit.edu  Sat Apr 10 02:47:15 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA15351
	for scwm-discuss-outgoing; Sat, 10 Apr 1999 02:47:15 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA15347
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 10 Apr 1999 02:47:13 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA16764; Sat, 10 Apr 99 02:45:09 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id XAA11487; Fri, 9 Apr 1999 23:44:10 -0700 (PDT)
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: rcs2log
References: <m3u2upaacy.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 09 Apr 1999 23:44:10 -0700
In-Reply-To: Sam Steingold's message of "09 Apr 1999 14:59:25 -0400"
Message-Id: <qrru2up5611.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> what is the purpose of modifying ChangeLog files manually when `rcs2log'
> comes with cvs and does the job just fine?

Have you looked at rcs2log output-- its output would need to be cleaned
up a bit for the ChangeLog's it generates to be useful.

In any case, the amount of pain keeping the ChangeLog up-to-date is - is
largely determined by how you use CVS and version control.  I, for
example, sometimes modify the ChangeLog as I'm making the changes.  Then 
I can use a capital "C" in pcl-cvs mode to commit and have pcl-cvs
insert my comments from my ChangeLog into my commit message.  In short,
the ChangeLog is the primary log source, and the cvs comments are
generated from it.  So, for me, generating the ChangeLog from the vc
comments wouldn't work.  YMMV -- if you want to write a little script
that updates and commits the ChangeLog with the changes from your recent 
cvs comments, that's certainly fine.  I do think it's very useful to
have both as their foci are different-- cvs logs for tracking changes to 
individual files, and ChangeLogs for understanding how the changes
among files correlate (i.e., for tracking the project).

Greg

From owner-scwm-discuss@mit.edu  Sat Apr 10 02:49:40 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA15405
	for scwm-discuss-outgoing; Sat, 10 Apr 1999 02:49:40 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA15402
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 10 Apr 1999 02:49:37 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA03431; Sat, 10 Apr 99 02:46:33 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id XAA11540; Fri, 9 Apr 1999 23:46:34 -0700 (PDT)
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: memory leak?
References: <m3aewh8frr.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 09 Apr 1999 23:46:34 -0700
In-Reply-To: Sam Steingold's message of "09 Apr 1999 20:45:28 -0400"
Message-Id: <qrrr9pt55x1.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> In a couple of hours SCWM grows to obscene size:
> 
> USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
> sds       2108  0.0 15.3 35020 19636 tty2    S    Apr06   2:15 /usr/local/bin/scwm
> 
> what's up?

Which version?  Configure options?  Guile version?  This certainly seems 
large, but you know we can't figure this out with just this information!
:-)

Greg

From owner-scwm-discuss@mit.edu  Sat Apr 10 03:08:20 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA15715
	for scwm-discuss-outgoing; Sat, 10 Apr 1999 03:08:20 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA15705
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 10 Apr 1999 03:08:17 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA04597; Sat, 10 Apr 99 03:05:13 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id AAA11563; Sat, 10 Apr 1999 00:05:14 -0700 (PDT)
To: Brendan Kirby <bkirby@itrade.net>
Cc: scwm-discuss@mit.edu
Subject: Re: Is hover-focus broken?
References: <llhfqpebsc.fsf@diko.itrade.net>
From: Greg Badros <gjb@cs.washington.edu>
Date: 10 Apr 1999 00:05:14 -0700
In-Reply-To: Brendan Kirby's message of "09 Apr 1999 14:14:59 -0700"
Message-Id: <qrrogkx551x.fsf@elwha.cs.washington.edu>
Lines: 32
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Brendan Kirby <bkirby@itrade.net> writes:

> I've been using scwm for a while now and I like it a lot.  So, when I
> saw that gnome was supported in the snap shots I decided to try using
> one as my regular window manager.  (specifically the 19990311 version) 
> It worked great after a few changes to my .scwmrc.  So, I decided to
> play with hover-focus.  This worked great also until I upgraded to the 
> 19990407 snap shot. 

Yep, you're right... I broke hover-focus some when adding the option.
There were a couple other problems with the file, too, that I fixed. I
also made a hover-focus window automatically switch to 'click style
focusing (it was a bit counterintuitive for me to not get full
hover-focus behaviour after doing a set-hover-focus! #t on  a window.

As for your core dump, I'm not sure... I was messing with the window
enter/leave hooks around the time of your snapshot, so it's probably
worth upgrading to a more recent snapshot and see if the problem is
still there.

<snip>

> So, my long winded question is "Is there any way to fix hover-focus so 
> it works again?"  I like it better than sloppy focus.
> 
> Thanks for your help and a great window manager.

Hopefully it's working better in tonight snapshot.. I'm committing now.
Thanks for the bug report!  (And thanks to John Kodis for this nice
feature-- I hadn't played with it much before!)

Greg

From owner-scwm-discuss@mit.edu  Sat Apr 10 03:22:15 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA16108
	for scwm-discuss-outgoing; Sat, 10 Apr 1999 03:22:15 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id DAA16105
	for <scwm-discuss@vicarious-existence.mit.edu>; Sat, 10 Apr 1999 03:22:13 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id AAA11577; Sat, 10 Apr 1999 00:19:11 -0700 (PDT)
To: scwm-discuss@mit.edu
Subject: [Marius Vollmer <mvo@zagadka.ping.de>] guile-gtk 0.16 has been released
From: Greg Badros <gjb@cs.washington.edu>
Date: 10 Apr 1999 00:19:11 -0700
Message-ID: <qrrlng154eo.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Be sure you grab this if you're using guile-gtk, and especially if
you're using Scwm's preferences support.  Segfault-inducing bugs have
been fixed!

Greg


------- Start of forwarded message -------
To: guile@cygnus.com, gtk-list@redhat.com
Subject: guile-gtk 0.16 has been released
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Marius Vollmer <mvo@zagadka.ping.de>
Date: 09 Apr 1999 18:49:03 +0200
Gnus-Warning: This is a duplicate of message <8790c1hh8g.fsf@zagadka.ping.de>
Message-ID: <8790c1hh8g.fsf@zagadka.ping.de>

Hi,

I have just uploaded guile-gtk 0.16 to

    http://www.ping.de/sites/zagadka/guile-gtk/

Here are the NEWS:

* New function `gdk-get-leader-window-id' in the (gtk gdk) module.

* A short blurb about composite types can now be found in the README.

* Bug fixes.

have fun,
 Marius

------- End of forwarded message -------

From owner-scwm-discuss@mit.edu  Sat Apr 10 04:54:58 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA17749
	for scwm-discuss-outgoing; Sat, 10 Apr 1999 04:54:58 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA17746
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 10 Apr 1999 04:54:54 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA10626; Sat, 10 Apr 99 04:51:48 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id KAA22197
	for scwm-discuss@mit.edu; Sat, 10 Apr 1999 10:40:15 +0200 (MET DST)
Received: (qmail 15047 invoked by uid 115); 9 Apr 1999 23:17:08 -0000
To: scwm-discuss@mit.edu
Subject: Preferences
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 10 Apr 1999 01:17:08 +0200
Message-Id: <wshfqpl6yz.fsf@orcus.priv.at>
Lines: 15
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

I removed the help buttons in the `scwm-option-dialog', and added
tooltips instead.

While testing I uncovered one serious bug, though: if Scwm wants the
user to manually place some of the auxillary dialogs (e.g. color
selection), it locks up. Looks like two event-loops doing a deadly
embrace.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Sat Apr 10 04:55:20 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA17757
	for scwm-discuss-outgoing; Sat, 10 Apr 1999 04:55:20 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA17754
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 10 Apr 1999 04:55:18 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA10651; Sat, 10 Apr 99 04:52:12 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id KAA22193
	for scwm-discuss@mit.edu; Sat, 10 Apr 1999 10:40:13 +0200 (MET DST)
Received: (qmail 14978 invoked by uid 115); 9 Apr 1999 22:54:02 -0000
To: scwm-discuss@mit.edu
Subject: Re: minor problems
References: <14091.32456.798382.339600@juno> <19990407181922.E1192@youkaidi.irisa.fr> <wsyak3mpwl.fsf@orcus.priv.at> <19990408121448.H1192@youkaidi.irisa.fr> <qrrbtgyra1e.fsf@elwha.cs.washington.edu> <19990409155307.B26159@youkaidi.irisa.fr>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 10 Apr 1999 00:54:02 +0200
In-Reply-To: Hubert Canon's message of "Fri, 9 Apr 1999 15:53:08 +0200"
Message-Id: <wsn20hl81h.fsf@orcus.priv.at>
Lines: 19
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Fri, 9 Apr 1999 15:53:08 +0200
>>>>> Hubert Canon <Hubert.Canon@irisa.fr> said:

 >> You can do this with the X-PropertyNotify-hook-- the title is just
 >> a window property.

 Hubert> In fact this works for netscape but not for xterm nor rxvt :

It's peculiar that it works at all. As I read the code in "events.c",
X-PropertyNotify-hook is only called for properties, that are not
natively handled by Scwm. Anybody remember a rationale for that?

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Sat Apr 10 04:55:36 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA17762
	for scwm-discuss-outgoing; Sat, 10 Apr 1999 04:55:36 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA17759
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 10 Apr 1999 04:55:34 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA10671; Sat, 10 Apr 99 04:52:29 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id KAA22194
	for scwm-discuss@mit.edu; Sat, 10 Apr 1999 10:40:14 +0200 (MET DST)
Received: (qmail 15037 invoked by uid 115); 9 Apr 1999 23:13:25 -0000
To: scwm-discuss@mit.edu
Subject: squashed titlebar artefacts
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 10 Apr 1999 01:13:24 +0200
Message-Id: <wsk8vll757.fsf@orcus.priv.at>
Lines: 31
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

Greg, you seem to have your hands in this area. Thanks for making
squashed titlebars finally react to changes of the window title!
But I see new bugs:

Using a squashed titlebar, the upper left area of the window
frame looks like this:

#111333***************666444222
#111333***************666444222
+---?????????????????????????????????-----------------
|
|

The asterisks represent the title area, numbers represent buttons, the
vertical and horizontal bars are the normal border/sidebar.

Problems:
1. The title area (*) is flat, i.e. there is no bevel drawn around it.
2. The hashes represent an extension of the left sidebar that is
   visually disturbing. IMHO the sidebar should end at the plus.
3. The question marks stand for a part of the frame that is apparently 
   not refreshed correctly, and is usually filled with the frame
   background color. A normal border (-) should be there.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Sat Apr 10 05:13:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA18093
	for scwm-discuss-outgoing; Sat, 10 Apr 1999 05:13:33 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA18090
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 10 Apr 1999 05:13:31 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA24002; Sat, 10 Apr 99 05:11:26 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id CAA11758; Sat, 10 Apr 1999 02:10:24 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: minor problems
References: <14091.32456.798382.339600@juno> <19990407181922.E1192@youkaidi.irisa.fr> <wsyak3mpwl.fsf@orcus.priv.at> <19990408121448.H1192@youkaidi.irisa.fr> <qrrbtgyra1e.fsf@elwha.cs.washington.edu> <19990409155307.B26159@youkaidi.irisa.fr> <wsn20hl81h.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 10 Apr 1999 02:10:24 -0700
In-Reply-To: Robert Bihlmeyer's message of "10 Apr 1999 00:54:02 +0200"
Message-Id: <qrrbtgw6dtr.fsf@elwha.cs.washington.edu>
Lines: 41
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On Fri, 9 Apr 1999 15:53:08 +0200
> >>>>> Hubert Canon <Hubert.Canon@irisa.fr> said:
> 
>  >> You can do this with the X-PropertyNotify-hook-- the title is just
>  >> a window property.
> 
>  Hubert> In fact this works for netscape but not for xterm nor rxvt :
> 
> It's peculiar that it works at all. As I read the code in "events.c",
> X-PropertyNotify-hook is only called for properties, that are not
> natively handled by Scwm. Anybody remember a rationale for that?

Nope, but you'd be the one to remember... :-)

1998-07-04  Greg Badros  <gjb@cs.washington.edu>

* events.c (HandlePropertyNotify): Add Robert Bihlmeyer's
mid-April patch to provide property notification hook.  Added
passing the window as the second argument, and change named of
hook to X-PropertyNotify-hook (lowercase "h" for consistency);
use FXWindowAccessible() instead of XGetGeometry w/ all dummies.

I've already fixed this in the repo, but maybe you could take a look at
the setting of the window context around the hook call... it seems
gratuitous to me.  Below is my change comment from today.

Greg


Sat Apr 10 17:16:30 1999  Greg J Badros  <gjb@cs.washington.edu>

* events.c (HandlePropertyNotify): Call the X-PropertyNotify-hook
 on all property changes by pulling that code outside of the
 default clause of the switch, and out to just after the switch
 statement.  Wierd setting of the window context before the hook
 invocation-- what's this all about?  Added GJB:FIXME:MS: comment.


From owner-scwm-discuss@mit.edu  Sat Apr 10 05:32:22 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA18206
	for scwm-discuss-outgoing; Sat, 10 Apr 1999 05:32:22 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA18203
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 10 Apr 1999 05:32:20 -0400
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA12298; Sat, 10 Apr 99 05:29:14 EDT
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id MAA29126; Sat, 10 Apr 1999 12:28:56 +0300
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: rcs2log
References: <m3u2upaacy.fsf@eho.eaglets.com> <qrru2up5611.fsf@elwha.cs.washington.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 10 Apr 1999 12:28:56 +0300
In-Reply-To: Greg Badros's message of "09 Apr 1999 23:44:10 -0700"
Message-Id: <m2g168x1rb.fsf@blinky.bfr.co.il>
Lines: 35
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > Sam Steingold <sds@goems.com> writes:
 > 
 > > what is the purpose of modifying ChangeLog files manually when `rcs2log'
 > > comes with cvs and does the job just fine?
 > 
 > Have you looked at rcs2log output-- its output would need to be cleaned
 > up a bit for the ChangeLog's it generates to be useful.
 > 
 > In any case, the amount of pain keeping the ChangeLog up-to-date is - is
 > largely determined by how you use CVS and version control.  I, for
 > example, sometimes modify the ChangeLog as I'm making the changes.  Then 
 > I can use a capital "C" in pcl-cvs mode to commit and have pcl-cvs
 > insert my comments from my ChangeLog into my commit message.  In short,
 > the ChangeLog is the primary log source, and the cvs comments are
 > generated from it.  So, for me, generating the ChangeLog from the vc
 > comments wouldn't work.  YMMV -- if you want to write a little script
 > that updates and commits the ChangeLog with the changes from your recent 
 > cvs comments, that's certainly fine.  I do think it's very useful to
 > have both as their foci are different-- cvs logs for tracking changes to 
 > individual files, and ChangeLogs for understanding how the changes
 > among files correlate (i.e., for tracking the project).

What I usually do is 'cvs commit' in one window & 'cvs diff' in a 2nd
window & describe all the changes made.  Then I just periodically do
C-x v a (vc-update-change-log) to update the ChangeLog.  As far as I'm
concerned, it does a fine job of making one entry per commit, which
lists the files modified & the associated comment, which is
exactly what I like a ChangeLog to reflect.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Sat Apr 10 06:09:14 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA18502
	for scwm-discuss-outgoing; Sat, 10 Apr 1999 06:09:14 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id GAA18499
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 10 Apr 1999 06:09:11 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA13996; Sat, 10 Apr 99 06:06:05 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id DAA11799; Sat, 10 Apr 1999 03:06:03 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: squashed titlebar artefacts
References: <wsk8vll757.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 10 Apr 1999 03:06:03 -0700
In-Reply-To: Robert Bihlmeyer's message of "10 Apr 1999 01:13:24 +0200"
Message-Id: <qrr67746b90.fsf@elwha.cs.washington.edu>
Lines: 55
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Greg, you seem to have your hands in this area. Thanks for making
> squashed titlebars finally react to changes of the window title!

Glad you like.  The bigger improvements you won't even notice with your
configuration -- the border is actually drawn in the top-right.

> But I see new bugs:
> 
> Using a squashed titlebar, the upper left area of the window
> frame looks like this:
> 
> #111333***************666444222
> #111333***************666444222
> +---?????????????????????????????????-----------------
> |
> |
> 
> The asterisks represent the title area, numbers represent buttons, the
> vertical and horizontal bars are the normal border/sidebar.
> 
> Problems:
> 1. The title area (*) is flat, i.e. there is no bevel drawn around it.

The border window that was above it is now drawn above the client area.
I guess the right way to do this (w/o messing with another X window for
another border) is to increase the titlebar height by a bit, and relieve 
that window, too.  SetupFrame is where the size of the titlebar is set,
and SetBorderX is where the decorations are drawn in the window.

> 2. The hashes represent an extension of the left sidebar that is
>    visually disturbing. IMHO the sidebar should end at the plus.

I think this is the corner window showing up.  What options are you
using?  I don't see this with my config or robbe.scwmrc.

> 3. The question marks stand for a part of the frame that is apparently 
>    not refreshed correctly, and is usually filled with the frame
>    background color. A normal border (-) should be there.

Does the un-relieved part of the boundary really extend further right
than the rightmost button?  I was intending to make it start from the
end of the right button and go to the end.  See the var
top_side_relief_offset_when_squashed.

If you have time and feel like trying to fix this, please do (that's why 
I'm giving the pointers).  I'm a bit swamped with other things so after
I get my latest menuing enhancements committed I'm gonna attend to some
other non-Scwm work.  I could conceivably get to it in a bit, but no
promises-- I wanted to get the big problems with squashed titlebars
taken care of so that they are at least functional... visually perfect
is tougher within the broken fvwm2 decoration framework.

Greg

From owner-scwm-discuss@mit.edu  Sat Apr 10 12:55:31 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA20578
	for scwm-discuss-outgoing; Sat, 10 Apr 1999 12:55:31 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA20575
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 10 Apr 1999 12:55:27 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA24155; Sat, 10 Apr 99 12:53:18 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id SAA29709
	for scwm-discuss@mit.edu; Sat, 10 Apr 1999 18:50:18 +0200 (MET DST)
Received: (qmail 12150 invoked by uid 115); 10 Apr 1999 14:06:57 -0000
To: scwm-discuss@mit.edu
Subject: Re: minor problems
References: <14091.32456.798382.339600@juno> <19990407181922.E1192@youkaidi.irisa.fr> <wsyak3mpwl.fsf@orcus.priv.at> <19990408121448.H1192@youkaidi.irisa.fr> <qrrbtgyra1e.fsf@elwha.cs.washington.edu> <19990409155307.B26159@youkaidi.irisa.fr> <wsn20hl81h.fsf@orcus.priv.at> <qrrbtgw6dtr.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 10 Apr 1999 16:06:55 +0200
In-Reply-To: Greg Badros's message of "10 Apr 1999 02:10:24 -0700"
Message-Id: <ws1zhs1se8.fsf@orcus.priv.at>
Lines: 27
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 10 Apr 1999 02:10:24 -0700
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 >> Anybody remember a rationale for that?

 Greg> Nope, but you'd be the one to remember... :-)

And I don't. So it was probably an accident.

 Greg> I've already fixed this in the repo, but maybe you could take a
 Greg> look at the setting of the window context around the hook
 Greg> call... it seems gratuitous to me. Below is my change comment
 Greg> from today.

I think I copied that from another hook invocation, the intent being
that one could (get-window) in the hook functions. You did add the
window to the hook's parameters when putting the patch in, which made 
setting the window-context unnecessary. It should be removed - these
window-context stuff is bad enough where it is really needed.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Sat Apr 10 13:00:47 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA20610
	for scwm-discuss-outgoing; Sat, 10 Apr 1999 13:00:47 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA20607
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 10 Apr 1999 13:00:44 -0400
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA14623; Sat, 10 Apr 99 12:57:34 EDT
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Sat, 10 Apr 1999 12:56:31 -0400
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Sat, 10 Apr 1999 12:56:31 -0400
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id MAA20012;
	Sat, 10 Apr 1999 12:54:46 -0400
To: -discuss list <scwm-discuss@mit.edu>
Subject: Re: rcs2log
References: <m3u2upaacy.fsf@eho.eaglets.com> <qrru2up5611.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "09 Apr 1999 23:44:10 -0700"
Date: 10 Apr 1999 12:54:45 -0400
Message-Id: <m3yak076wa.fsf@eho.eaglets.com>
Lines: 52
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrru2up5611.fsf@elwha.cs.washington.edu>
>>>> On the subject of "Re: rcs2log"
>>>> Sent on 09 Apr 1999 23:44:10 -0700
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> Sam Steingold <sds@goems.com> writes:
 >> 
 >> > what is the purpose of modifying ChangeLog files manually when `rcs2log'
 >> > comes with cvs and does the job just fine?
 >> 
 >> Have you looked at rcs2log output-- its output would need to be cleaned
 >> up a bit for the ChangeLog's it generates to be useful.

I wouldn't say so - if your cvs log messages are reasonable, the
generated ChangeLog looks nice too (I used RCS for
http://www.goems.com/~sds/data/cllib.zip and I did not keep a ChangeLog.
I just discovered `rcs2log' and now I have a nice ChangeLog).

 >> In any case, the amount of pain keeping the ChangeLog up-to-date is
 >> - is largely determined by how you use CVS and version control.  I,

exactly.  see above.

 >> for example, sometimes modify the ChangeLog as I'm making the
 >> changes.  Then I can use a capital "C" in pcl-cvs mode to commit and
 >> have pcl-cvs insert my comments from my ChangeLog into my commit
 >> message.  In short, the ChangeLog is the primary log source, and the
 >> cvs comments are generated from it.  So, for me, generating the
 >> ChangeLog from the vc comments wouldn't work.  YMMV -- if you want
 >> to write a little script that updates and commits the ChangeLog with

Ideally, I would remove the ChangeLogs from the CVS altogether.
If you want them, you generate them.
Less clutter this way.

 >> the changes from your recent cvs comments, that's certainly fine.  I
 >> do think it's very useful to have both as their foci are different--
 >> cvs logs for tracking changes to individual files, and ChangeLogs
 >> for understanding how the changes among files correlate (i.e., for
 >> tracking the project).

I don't think the foci are different.  At least I see them as identical.

At any rate, you seem to be aware of the tool and consciously refusing
to use it.  I hoped you were as ignorant about it as I was yesterday,
and that once you discover it, you will abandon manually maintained
ChangeLogs.  Oh well.  The case is closed.  :-(

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Programming is like sex: one mistake and you have to support it for a lifetime.

From owner-scwm-discuss@mit.edu  Sun Apr 11 01:55:39 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA24461
	for scwm-discuss-outgoing; Sun, 11 Apr 1999 01:55:39 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA24458
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 11 Apr 1999 01:55:35 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA29950; Sun, 11 Apr 99 01:52:18 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA12700; Sat, 10 Apr 1999 22:52:17 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: minor problems
References: <14091.32456.798382.339600@juno> <19990407181922.E1192@youkaidi.irisa.fr> <wsyak3mpwl.fsf@orcus.priv.at> <19990408121448.H1192@youkaidi.irisa.fr> <qrrbtgyra1e.fsf@elwha.cs.washington.edu> <19990409155307.B26159@youkaidi.irisa.fr> <wsn20hl81h.fsf@orcus.priv.at> <qrrbtgw6dtr.fsf@elwha.cs.washington.edu> <ws1zhs1se8.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 10 Apr 1999 22:52:17 -0700
In-Reply-To: Robert Bihlmeyer's message of "10 Apr 1999 16:06:55 +0200"
Message-Id: <qrrpv5b4sby.fsf@elwha.cs.washington.edu>
Lines: 28
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 10 Apr 1999 02:10:24 -0700
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
>  >> Anybody remember a rationale for that?
> 
>  Greg> Nope, but you'd be the one to remember... :-)
> 
> And I don't. So it was probably an accident.
> 
>  Greg> I've already fixed this in the repo, but maybe you could take a
>  Greg> look at the setting of the window context around the hook
>  Greg> call... it seems gratuitous to me. Below is my change comment
>  Greg> from today.
> 
> I think I copied that from another hook invocation, the intent being
> that one could (get-window) in the hook functions. You did add the
> window to the hook's parameters when putting the patch in, which made 
> setting the window-context unnecessary. It should be removed - these
> window-context stuff is bad enough where it is really needed.

Ahhh... agreed.  I'll pull it out.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Sun Apr 11 01:59:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA24512
	for scwm-discuss-outgoing; Sun, 11 Apr 1999 01:59:18 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA24509
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 11 Apr 1999 01:59:15 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA00277; Sun, 11 Apr 99 01:55:59 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA12703; Sat, 10 Apr 1999 22:56:01 -0700 (PDT)
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: rcs2log
References: <m3u2upaacy.fsf@eho.eaglets.com> <qrru2up5611.fsf@elwha.cs.washington.edu> <m3yak076wa.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 10 Apr 1999 22:56:00 -0700
In-Reply-To: Sam Steingold's message of "10 Apr 1999 12:54:45 -0400"
Message-Id: <qrrn20f4s5r.fsf@elwha.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

<snip>

> At any rate, you seem to be aware of the tool and consciously refusing
> to use it.  I hoped you were as ignorant about it as I was yesterday,
> and that once you discover it, you will abandon manually maintained
> ChangeLogs.  Oh well.  The case is closed.  :-(

Maciej and I had nearly this same conversation 14 months ago or
so---where I was on the side of dropping ChangeLog-s... but that was
before I knew of an automated way of generating the cvs commit messages
from the changelogs.  There are numerous benefits to keeping the
ChangeLog-s around given that they aren't that hard to manufacture (and
many of them are for people not using CVS).

At least now that you know about rcs2log you can save time on your other 
projects leaving more time for Scwm! :-)

Greg

From owner-scwm-discuss@mit.edu  Sun Apr 11 03:33:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA26091
	for scwm-discuss-outgoing; Sun, 11 Apr 1999 03:33:03 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA26068
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 11 Apr 1999 03:32:59 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA10883; Sun, 11 Apr 99 03:30:43 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id AAA12819; Sun, 11 Apr 1999 00:29:34 -0700 (PDT)
To: Equality 7-2521 <beuscher@eecs.tulane.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: winlist
References: <14091.22850.224631.188120@juno>
From: Greg Badros <gjb@cs.washington.edu>
Date: 11 Apr 1999 00:29:33 -0700
In-Reply-To: Equality 7-2521's message of "Wed, 7 Apr 1999 08:10:26 -0500 (CDT)"
Message-Id: <qrryajzwr6q.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Equality 7-2521 <beuscher@eecs.tulane.edu> writes:

> is there a better way to add hotkeys to the window-list (ala
> fvwm), than defining my own function just like
> show-window-list-menu

Nope, thanks for the patch-- neat feature!  I've put it in.  FWIW,
though we'll always appreciate any patches, they're most helpful if
they're relative to the very latest CVS repository version.  I had
already added a by-resource option to the window list that caused this
to not patch directly.

Like I said, I don't at all want to sound ungrateful-- just want
everyone to know how to make it absolutely the easiest for us if they so 
choose.

Thanks a bunch for the patch!

Greg

From owner-scwm-discuss@mit.edu  Sun Apr 11 04:20:51 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA27246
	for scwm-discuss-outgoing; Sun, 11 Apr 1999 04:20:51 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA27243
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 11 Apr 1999 04:20:48 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA08154; Sun, 11 Apr 99 04:17:30 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id BAA12963; Sun, 11 Apr 1999 01:17:30 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Preferences
References: <wshfqpl6yz.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 11 Apr 1999 01:17:30 -0700
In-Reply-To: Robert Bihlmeyer's message of "10 Apr 1999 01:17:08 +0200"
Message-Id: <qrrvhf3woyt.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> I removed the help buttons in the `scwm-option-dialog', and added
> tooltips instead.

This is most great!  Thanks for fixing this!

> 
> While testing I uncovered one serious bug, though: if Scwm wants the
> user to manually place some of the auxillary dialogs (e.g. color
> selection), it locks up. Looks like two event-loops doing a deadly
> embrace.

This is fixed in the repository now.  Thanks for noticing... I almost
never use manual placement so would never have caught this.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Sun Apr 11 04:26:12 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA27511
	for scwm-discuss-outgoing; Sun, 11 Apr 1999 04:26:12 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA27508
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 11 Apr 1999 04:26:10 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA08429; Sun, 11 Apr 99 04:22:52 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id BAA12970; Sun, 11 Apr 1999 01:22:53 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@mit.edu>
Subject: Re: bug in scwm-icons-19990409
References: <19990409143004.A26159@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 11 Apr 1999 01:22:53 -0700
In-Reply-To: Hubert Canon's message of "Fri, 9 Apr 1999 14:30:04 +0200"
Message-Id: <qrrpv5bwopu.fsf@elwha.cs.washington.edu>
Lines: 17
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> In mini-icons/Makefile I see the line :
> 
> 	for i in *.xpm; do ${INSTALL_DATA} $$i ${pixmap_dir}; done
> 
> which should be instead :
> 	
> 	for i in *.xpm; do ${INSTALL_DATA} $$i ${mini_icon_dir}; done
> 

Good eye-- thanks for catching this.

It's fixed now in mini-icons/Makefile.in  (the Makefile is gen'd from Makefile.in).

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Sun Apr 11 04:30:44 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA27682
	for scwm-discuss-outgoing; Sun, 11 Apr 1999 04:30:44 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA27678
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 11 Apr 1999 04:30:42 -0400
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA13512; Sun, 11 Apr 99 04:28:24 EDT
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id LAA02766; Sun, 11 Apr 1999 11:27:24 +0300
To: scwm-discuss@mit.edu
Subject: Window placement on mouse click viewport instead of current viewport?
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 11 Apr 1999 11:27:24 +0300
In-Reply-To: Greg Badros's message of "11 Apr 1999 00:29:33 -0700"
Message-Id: <m2btgv8sur.fsf_-_@blinky.bfr.co.il>
Lines: 10
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I'd like to set up my menus to launch applications into the same
viewport & desktop that I select the menu item from, instead of onto
whatever happens to be the current viewport & desktop when the window
happens to get mapped.  Any easy way to do this?

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Sun Apr 11 05:08:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA28051
	for scwm-discuss-outgoing; Sun, 11 Apr 1999 05:08:07 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA28047
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 11 Apr 1999 05:08:03 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA14994; Sun, 11 Apr 99 05:05:47 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id CAA13001; Sun, 11 Apr 1999 02:04:46 -0700 (PDT)
To: Equality 7-2521 <beuscher@eecs.tulane.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: minor problems
References: <14091.32456.798382.339600@juno>
From: Greg Badros <gjb@cs.washington.edu>
Date: 11 Apr 1999 02:04:46 -0700
In-Reply-To: Equality 7-2521's message of "Wed, 7 Apr 1999 10:50:32 -0500 (CDT)"
Message-Id: <qrrn20fwms1.fsf@elwha.cs.washington.edu>
Lines: 74
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Equality 7-2521 <beuscher@eecs.tulane.edu> writes:

> 1. it looks like windows w/o titlebars again have their titlebars
>    during placement

Is this ok now w/ Robert's fix?

> 
> 2. w/ scwm --version
> 
>   <prompt>:scwm --version
>   scwm: error in loading shared libraries
>   libjpeg.so.62: cannot open shared object file: No such file or directory
>   zsh: 6839 exit 127   scwm --version
>   <prompt>:locate libjpeg
>   /usr/agenttcl/jdk/lib/i686/libjpeg.so
>   /usr/agenttcl/jdk/lib/i686/libjpeg_g.so
>   /usr/doc/python-docs-1.5.1/Doc/libjpeg.tex
>   /usr/lib/libjpeg.a
>   /usr/lib/libjpeg.so
>   /usr/lib/libjpeg.so.6
>   /usr/lib/libjpeg.so.6.0.1
> 
>    i'm not sure where the fault lies on this one.   w/ me for not
>    have .62, or w/ scwm for not using a more generic lib number

I think it's imlib or you... Scwm ain't involved with libjpeg.  Could
you perhaps send a bug report to the imlib folks?

> 
> 3. i get the following error on restart (and presumably startup):
> 
>    /usr/X11R6/bin/convert: No such file or directory
> 
>    this is apparently called by `ImageMagick-loader', which looks
>    like it is called from `support-image-conversion'.   my
>    convert is in /usr/bin.    i'm not sure how scwm looks for
>    convert, whether in $PATH or just in /usr/X11R6/bin
> 
>    i guess this could be an Imlib configuration problem instead,
>    i am not sure 

Again, this is imlib, I think.

> 
> 4. it seems weird that there isnt a window-style option for
>    highlight-foreground and highlight-background

Robert's got this added now.  I just added some incomplete documentation 
about what styles exist.  We need to make this managed dynamically and
extracted from the source for the manual.

> 
> 5. has anyone else used xmcd w/ scwm
>    it is a motif-based cd player (having the nice functionality
>    of doing remote db queries for cd info.
>    when i start it up, it ignores its window-style options, but
>    if i restart, the window-style options kick in

I changed the default matching style to use resources instead of
window-titles.  Check xmcd's resouce/class names with xprop and see if
this helps.

> 
> 6. when defining a placement-proc, is there a predicate for
>    determining if the window is already placed, so, for example,
>    on startup, i dont have to replace windows whose
>    placement-proc is `interactive-place'

Hmmmm... it seems like it's always a bug to query for a placement
position at restart;  anyone disagree?

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Sun Apr 11 05:17:30 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA28183
	for scwm-discuss-outgoing; Sun, 11 Apr 1999 05:17:30 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA28180
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 11 Apr 1999 05:17:28 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA10939; Sun, 11 Apr 99 05:14:09 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id CAA13009; Sun, 11 Apr 1999 02:14:11 -0700 (PDT)
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: decorating transient windows
References: <m37lrnja5j.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 11 Apr 1999 02:14:11 -0700
In-Reply-To: Sam Steingold's message of "08 Apr 1999 13:26:48 -0400"
Message-Id: <qrrk8vjwmcc.fsf@elwha.cs.washington.edu>
Lines: 13
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> the transient windows under sds.scwmrc are decorated incorrectly:
> instead if the 3 right buttons on the title bar there is nothing there
> (gray area).  Whether the buttons should be there, or the title bar
> inself - I don't know, but the current behavior - nothing at all - is
> obviously incorrect.

I claim this bug.  I just fixed it, I believe... committing shortly.

Thanks for the report.

Greg

From owner-scwm-discuss@mit.edu  Sun Apr 11 06:52:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA29200
	for scwm-discuss-outgoing; Sun, 11 Apr 1999 06:52:38 -0400
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id GAA29197
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 11 Apr 1999 06:52:30 -0400
Received: from netcom8.netcom.com by MIT.EDU with SMTP
	id AA14733; Sun, 11 Apr 99 06:49:55 EDT
Received: (from ttn@localhost)
	by mingle.glug.org (8.8.7/8.8.7) id DAA28224;
	Sun, 11 Apr 1999 03:52:14 -0700
X-Authentication-Warning: mingle.glug.org: ttn set sender to ttn@mingle.glug.org using -f
From: thi <ttn@mingle.glug.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14096.32473.972829.582790@mingle.glug.org>
Date: Sun, 11 Apr 1999 03:52:09 -0700 (PDT)
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: rcs2log
In-Reply-To: <qrrn20f4s5r.fsf@elwha.cs.washington.edu>
References: <m3u2upaacy.fsf@eho.eaglets.com>
	<qrru2up5611.fsf@elwha.cs.washington.edu>
	<m3yak076wa.fsf@eho.eaglets.com>
	<qrrn20f4s5r.fsf@elwha.cs.washington.edu>
X-Mailer: VM 6.62 under Emacs 20.3.1
Reply-To: ttn@netcom.com
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros writes:

 > At least now that you know about rcs2log you can save time on your
 > other projects leaving more time for Scwm! :-)

below is some changelog maintenance elisp that may be useful here.  it
was put into place at a site where there were about 50 CVS modules, and
the changelogs were in one directory, named ChangeLog.MODULE (this was
so creating a web link to that directory was simple).  a simple cron
script ran at 8am each morning to invoke the update.

the overall effect is that people could have access to the changelogs
but did not need to maintain them.  i will probably clean this up fully
and post it to gnu-emacs-sources at some point.  (note: although it was
designed to work w/ either RCS or CVS, it hasn't had any real-world RCS
stress -- feedback and/or patches appreciated.)

cheers,
thi


--------------------
RCS/update-changelog.el,v  -->  standard output
revision 1.1
;;; ID: update-changelog.el,v 1.1 1999/04/10 22:30:06 ttn Exp
;;;
;;; Copyright (C) 1999 Thien-Thi Nguyen
;;; This file is part of ttn's personal elisp library, released under GNU
;;; GPL with ABSOLUTELY NO WARRANTY.  See the file COPYING for details.

;;; Description: Update extant ChangeLog from CVS repository logs.
;;; Usage: emacs -batch -l update-changelog.el

;;; Commentary:

;; This program is basically a wrapper around rcs2log, and inherits rcs2log's
;; weaknesses, namely, the requirement that there be a checked out (working
;; directory) copy.  It would be nice if rcs2log grokked with the repository
;; directly, but until then, we work around it by requiring the environment
;; var `LOCAL_WORK_ROOT' to be defined.  This should be a directory under
;; which cvs modules are checked out.
;;
;; Flash!  Newer versions of rcs2log do indeed understand the repository,
;; and can be invoked with "-R" therein.  We infer this if `LOCAL_WORK_ROOT'
;; is not set, and use instead `CVSROOT'.  At least one of these must be set.
;;
;; The ChangeLog files are by default updated in the cwd, unless overriden by
;; the environment variable `CHANGELOG_DIR', with the name MODULE.ChangeLog.
;; No new files are created; you must manually touch a file to have the next
;; ucl run notice it.
;;
;; You can pass additional options to rcs2log using env var `RCS2LOG_OPTS'.

;;; Code:

;;;---------------------------------------------------------------------------
;;; Variables

(defvar ucl-outdir (expand-file-name (or (getenv "CHANGELOG_DIR")
					 default-directory))
  "Directory containing changelogs (one per cvs module) to be updated.")

(defvar ucl-o (or (getenv "RCS2LOG_OPTS") "")
  "Additional options to pass to rcs2log.")

;;;---------------------------------------------------------------------------
;;; Cleanup functions

(defun ucl-stitch-new-old (new-old &rest ignore)
  "In a changelog buffer, remove redundancy around NEW-OLD point.
The new text is before NEW-OLD point, and the old after."
  (goto-char new-old)
  (or (= new-old (point-max))		; no old
      (let ((last-new
	     (save-excursion
	       (buffer-substring (re-search-backward "^[0-9]+") new-old))))
	(let ((has-diff (string-match "\n\tdiff.*-r" last-new))) ; ugh
	  (and has-diff (setq last-new (substring last-new 0 has-diff))))
	(let ((overlap (search-forward last-new (point-max) t)))
	  (and overlap (delete-region new-old overlap))))))

(defun ucl-omit-diffs (&rest ignore)
  "In a changelog buffer, delete diffs (assumed at end of entry)."
  (goto-char (point-min))
  (while (re-search-forward "^\tdiff .*-r" (point-max) t)
    (beginning-of-line)
    (delete-region (point)
		   (save-excursion
		     (if (re-search-forward "^[0-9]+" (point-max))
			 (- (point) 4)
		       (point-max))))))

(defun ucl-space-out-entries (&rest ignore)
  "In a changelog buffer, ensure proper spacing between entries."
  (goto-char (point-max))
  (while (re-search-backward "^[0-9]+" (point-min) t)
    (unless (= (point) (point-min))
      (open-line 3)			; yuk
      (delete-blank-lines))))

(defun ucl-kill-eol-white-space (&rest ignore)
  "In a changelog buffer, delete end-of-line white space."
  (goto-char (point-min))
  (while (re-search-forward "[ \t]+$" (point-max) t)
    (delete-region
     (match-beginning 0) (match-end 0))))

(defvar ucl-cleanup-hook '(ucl-stitch-new-old
			   ucl-omit-diffs
			   ucl-space-out-entries
			   ucl-kill-eol-white-space)
  "Hook run after combining the new fragment with the old changelog.  These
are called with the argument NEW-OLD, which is the buffer position at the
boundary of the two pieces of text.  This is suboptimal; we should use a
marker so that munges on the text do not lose this position.  The result is
that currently, `ucl-stitch-new-old' must be called first because it depends
on NEW-OLD, while the other cleanup funcs ignore it.  (Sigh.)")

;;;---------------------------------------------------------------------------
;;; Update functions

(defun ucl-root ()
  (let ((lwr (getenv "LOCAL_WORK_ROOT"))
	(cr  (getenv "CVSROOT")))
    (concat (or lwr
		(and cr (progn
			  (setq ucl-o (concat "-R " ucl-o))	; hmm
			  cr))
		(error "Must set env var LOCAL_WORK_ROOT or CVSROOT"))
	    "/")))

(defun ucl-update (module-dir)
  (let ((ofile (expand-file-name (concat module-dir ".ChangeLog") ucl-outdir))
	(cmd   (concat "cd %s; rcs2log " ucl-o " -c %s"))
	(obuf  "*ucl-work*"))
    (when (and (file-exists-p ofile)
	       (progn
		 (shell-command (format cmd module-dir ofile) obuf)
		 (get-buffer obuf)))
      (save-excursion			; prevent default-directory hosing
	(set-buffer obuf)
	(unless (= 0 (buffer-size))
	  (let ((new-old-boundary (point-max)))
	    (goto-char new-old-boundary)
	    (insert-file ofile)
	    (run-hook-with-args 'ucl-cleanup-hook new-old-boundary))
	  (or (= (buffer-size) (nth 7 (file-attributes ofile)))
	      (let (make-backup-files)	; less clutter
		(write-file ofile))))
	(kill-buffer (current-buffer))))))

(defun ucl-update-all ()
  (let ((default-directory (ucl-root)))
    (mapcar (lambda (file)
	      (and (file-directory-p file)
		   (or (string-match "-R" ucl-o)	; see `ucl-root'
		       (file-exists-p (concat file "/CVS")))
		   (ucl-update file)))
	    (directory-files default-directory))))

;;;---------------------------------------------------------------------------
;;; Load-time actions

(and noninteractive			; only when `-batch'
     (ucl-update-all))

;;; update-changelog.el,v1.1 ends here

From owner-scwm-discuss@mit.edu  Sun Apr 11 06:58:16 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA29256
	for scwm-discuss-outgoing; Sun, 11 Apr 1999 06:58:16 -0400
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id GAA29253
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 11 Apr 1999 06:58:13 -0400
Received: from netcom8.netcom.com by MIT.EDU with SMTP
	id AA14951; Sun, 11 Apr 99 06:55:40 EDT
Received: (from ttn@localhost)
	by mingle.glug.org (8.8.7/8.8.7) id DAA28227;
	Sun, 11 Apr 1999 03:58:00 -0700
X-Authentication-Warning: mingle.glug.org: ttn set sender to ttn@mingle.glug.org using -f
From: thi <ttn@mingle.glug.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14096.32822.112537.551253@mingle.glug.org>
Date: Sun, 11 Apr 1999 03:57:58 -0700 (PDT)
To: sds@goems.com
Cc: -discuss list <scwm-discuss@mit.edu>
Subject: Re: rcs2log
In-Reply-To: <m3yak076wa.fsf@eho.eaglets.com>
References: <m3u2upaacy.fsf@eho.eaglets.com>
	<qrru2up5611.fsf@elwha.cs.washington.edu>
	<m3yak076wa.fsf@eho.eaglets.com>
X-Mailer: VM 6.62 under Emacs 20.3.1
Reply-To: ttn@netcom.com
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold writes:

 > I don't think the foci are different.  At least I see them as
 > identical.

i can see two points of view: the per-commit and the per-day.  cvs logs
are obviously per-commit.  rcs2log logs are per-day (unless invoked more
than once a day :-).

 > At any rate, you seem to be aware of the tool and consciously
 > refusing to use it.  I hoped you were as ignorant about it as I was
 > yesterday, and that once you discover it, you will abandon manually
 > maintained ChangeLogs.  Oh well.  The case is closed.  :-(

see other post for cron-able elisp that invokes rcs2log to update
centrally located changelogs.  hmm, is `run-at-time' in old emacsen?
who needs cron? :->

thi

From owner-scwm-discuss@mit.edu  Sun Apr 11 12:14:32 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA30753
	for scwm-discuss-outgoing; Sun, 11 Apr 1999 12:14:32 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA30750
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 11 Apr 1999 12:14:28 -0400
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA06962; Sun, 11 Apr 99 12:14:23 EDT
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for <scwm-discuss@mit.edu>
          Sun, 11 Apr 1999 11:14:21 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Sun, 11 Apr 1999 11:14:20 -0500 (CDT)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14096.51803.800118.565864@juno>
Date: Sun, 11 Apr 1999 11:14:19 -0500 (CDT)
From: Equality 7-2521 <beuscher@eecs.tulane.edu>
To: scwm-discuss@mit.edu
Subject: Re: minor problems
In-Reply-To: <qrrn20fwms1.fsf@elwha.cs.washington.edu>
References: <14091.32456.798382.339600@juno>
	<qrrn20fwms1.fsf@elwha.cs.washington.edu>
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


> > 1. it looks like windows w/o titlebars again have their titlebars
> >    during placement
> 
> Is this ok now w/ Robert's fix?

going from 19990407 to 19990411, it is now ok

> > 2. w/ scwm --version
> > ...
> I think it's imlib or you... Scwm ain't involved with libjpeg.  Could
> you perhaps send a bug report to the imlib folks?
> > 3. i get the following error on restart (and presumably startup):
> > ...
> Again, this is imlib, I think.

i'll play around with these then

> > 4. it seems weird that there isnt a window-style option for
> >    highlight-foreground and highlight-background
> Robert's got this added now.  I just added some incomplete documentation 

cool

> > 5. has anyone else used xmcd w/ scwm

> I changed the default matching style to use resources instead of
> window-titles.  Check xmcd's resouce/class names with xprop and see if
> this helps.

yes, robert's suggestion for using class-match?? and xprop were
spot on.     ahhh, so many cool functions to find, so little time


-- 
eric

From owner-scwm-discuss@mit.edu  Sun Apr 11 12:17:43 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA30794
	for scwm-discuss-outgoing; Sun, 11 Apr 1999 12:17:43 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA30791
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 11 Apr 1999 12:17:41 -0400
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA08388; Sun, 11 Apr 99 12:18:33 EDT
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for <scwm-discuss@mit.edu>
          Sun, 11 Apr 1999 11:17:33 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Sun, 11 Apr 1999 11:17:32 -0500 (CDT)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14096.51995.846651.9277@juno>
Date: Sun, 11 Apr 1999 11:17:31 -0500 (CDT)
From: Equality 7-2521 <beuscher@eecs.tulane.edu>
To: scwm-discuss@mit.edu
Subject: xmcd
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


back on the xmcd front:

it was working fine under 19990407.
when i restarted to use 19990411, i got the following error
messages:

    [Scwm][ConstrainSize]: <<WARNING>> xinc == 0
    [Scwm][ConstrainSize]: <<WARNING>> yinc == 0
    X Error of failed request:  BadValue (integer parameter out of range for operation)
      Major opcode of failed request:  12 (X_ConfigureWindow)
      Value in failed request:  0x0
      Serial number of failed request:  2596
      Current serial number in output stream:  2598

xmcd subsequently died.
any further attempts to start it give the same X Error message.

i restarted back to 19990407, started xmcd, and everything was fine.
i restarted back to 19990411, started xmcd, and same error

any ideas?


-- 
eric

From owner-scwm-discuss@mit.edu  Sun Apr 11 17:56:31 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA00122
	for scwm-discuss-outgoing; Sun, 11 Apr 1999 17:56:31 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA00119
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 11 Apr 1999 17:56:29 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA20075; Sun, 11 Apr 99 17:57:25 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA13546; Sun, 11 Apr 1999 14:55:53 -0700 (PDT)
To: Equality 7-2521 <beuscher@eecs.tulane.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: xmcd
References: <14096.51995.846651.9277@juno>
From: Greg Badros <gjb@cs.washington.edu>
Date: 11 Apr 1999 14:55:52 -0700
In-Reply-To: Equality 7-2521's message of "Sun, 11 Apr 1999 11:17:31 -0500 (CDT)"
Message-Id: <qrr7lrix1nb.fsf@elwha.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Equality 7-2521 <beuscher@eecs.tulane.edu> writes:

> back on the xmcd front:
> 
> it was working fine under 19990407.
> when i restarted to use 19990411, i got the following error
> messages:
> 
>     [Scwm][ConstrainSize]: <<WARNING>> xinc == 0
>     [Scwm][ConstrainSize]: <<WARNING>> yinc == 0
>     X Error of failed request:  BadValue (integer parameter out of range for operation)
>       Major opcode of failed request:  12 (X_ConfigureWindow)
>       Value in failed request:  0x0
>       Serial number of failed request:  2596
>       Current serial number in output stream:  2598
> 
> xmcd subsequently died.
> any further attempts to start it give the same X Error message.
> 
> i restarted back to 19990407, started xmcd, and everything was fine.
> i restarted back to 19990411, started xmcd, and same error
> 
> any ideas?

I just got and built xmcd-2.4 (a royal pain, I might add!) and it works
fine with my scwmrc configuration.  I'd love to be able to reproduce
this because those warning messages should never appear, but obviously a 
supposed invariant is not holding and I want to know why.

Can you give me your .scwmrc in private email?

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Sun Apr 11 19:51:57 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA00819
	for scwm-discuss-outgoing; Sun, 11 Apr 1999 19:51:57 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA00816
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 11 Apr 1999 19:51:54 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA05493; Sun, 11 Apr 99 19:52:50 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA13647; Sun, 11 Apr 1999 16:50:01 -0700 (PDT)
To: Equality 7-2521 <beuscher@eecs.tulane.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: xmcd
References: <14096.51995.846651.9277@juno>
From: Greg Badros <gjb@cs.washington.edu>
Date: 11 Apr 1999 16:50:01 -0700
In-Reply-To: Equality 7-2521's message of "Sun, 11 Apr 1999 11:17:31 -0500 (CDT)"
Message-Id: <qrrwvzivhsm.fsf@elwha.cs.washington.edu>
Lines: 37
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Equality 7-2521 <beuscher@eecs.tulane.edu> writes:

> back on the xmcd front:
> 
> it was working fine under 19990407.
> when i restarted to use 19990411, i got the following error
> messages:
> 
>     [Scwm][ConstrainSize]: <<WARNING>> xinc == 0
>     [Scwm][ConstrainSize]: <<WARNING>> yinc == 0
>     X Error of failed request:  BadValue (integer parameter out of range for operation)
>       Major opcode of failed request:  12 (X_ConfigureWindow)
>       Value in failed request:  0x0
>       Serial number of failed request:  2596
>       Current serial number in output stream:  2598
> 
> xmcd subsequently died.
> any further attempts to start it give the same X Error message.
> 
> i restarted back to 19990407, started xmcd, and everything was fine.
> i restarted back to 19990411, started xmcd, and same error
> 
> any ideas?

This is due to calling show/hide-titlebar as a hint.  These procedures
can only be used on fullly-constructed window objects.  Robert's right
that we need the show/hide to be done as a hint, but those primitives
try to do more than they should given that the window is not fully
constructed. I'm cleaning some of this up and exposing a new
`window-fully-constructed?', as well as `window-mapped?' and
`window-map-pending?' primitives to permit access to more of the state of
the window.

I'll committ sometime soon I hope.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Sun Apr 11 20:01:26 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA01204
	for scwm-discuss-outgoing; Sun, 11 Apr 1999 20:01:26 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA01201
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 11 Apr 1999 20:01:24 -0400
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA09654; Sun, 11 Apr 99 20:01:18 EDT
Received: (qmail 28549 invoked by uid 501); 12 Apr 1999 00:02:51 -0000
Date: Sun, 11 Apr 1999 17:02:51 -0700
From: Todd Larason <jtl@molehill.org>
To: gjb@cs.washington.edu
Cc: scwm-discuss@mit.edu
Subject: base.scm menu proc
Message-Id: <19990411170251.A28435@molehill.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
X-Kibo: Let's be!
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

hi Greg.  I'm trying to get caught back up, and just ran into the menu defun
in base.scm.  The following patch is trivial (and you probably already have it
in your tree), but I'm wondering what the intent is here?  The version of menu 
in menu.scm doesn't have these options.  Is the copy in base.scm just for use
during startup, with the intent the options aren't available during normal
use?

--- base.scm.~1~        Sun Apr 11 11:20:36 1999
+++ base.scm    Sun Apr 11 16:56:36 1999
@@ -463,8 +463,8 @@
                         extra)))
     (and (bound? popup-delay) popup-delay (set-menu-popup-delay! menu popup-delay))
     (and (bound? hover-delay) hover-delay (set-menu-hover-delay! menu hover-delay))
-    (if (or hl-color-bg hl-color-text) 
-       (set-menu-highlight-colors! menu hl-color-text hl-color-bg))
+    (if (or hl-color-bg hl-color-fg) 
+       (set-menu-highlight-colors! menu hl-color-fg hl-color-bg))
     (set-menu-highlight-relief! menu hl-relief?)
     (set-menu-look! menu look)
     menu))
-- 
"I told the priest, don't count on any second comin'.
God got his ass kicked the first time he came down here slummin'.
He had the balls to come the gall to die and then forgive us.
No I don't wonder why, I wonder what he thought it would get us."
  -- "Tomorrow, Wendy"

From owner-scwm-discuss@mit.edu  Sun Apr 11 20:09:27 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA01333
	for scwm-discuss-outgoing; Sun, 11 Apr 1999 20:09:27 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA01330
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 11 Apr 1999 20:09:24 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA07865; Sun, 11 Apr 99 20:10:20 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA13683; Sun, 11 Apr 1999 17:09:18 -0700 (PDT)
To: Todd Larason <jtl@molehill.org>
Cc: scwm-discuss@mit.edu
Subject: Re: base.scm menu proc
References: <19990411170251.A28435@molehill.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 11 Apr 1999 17:09:17 -0700
In-Reply-To: Todd Larason's message of "Sun, 11 Apr 1999 17:02:51 -0700"
Message-Id: <qrru2umvgwi.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Todd Larason <jtl@molehill.org> writes:

> hi Greg.  I'm trying to get caught back up, and just ran into the menu defun
> in base.scm.  The following patch is trivial (and you probably already have it
> in your tree), but I'm wondering what the intent is here?  The version of menu 
> in menu.scm doesn't have these options.  Is the copy in base.scm just for use
> during startup, with the intent the options aren't available during normal
> use?

Yea-- I fixed this this morning.  Sorry I missed it before committing yesterday.

I'm not sure what you mean "The version of menu in menu.scm"... I don't
have a menu.scm; menu is defined in base.scm for me (though I've
considered moving it out of base).

What am I missing?

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Sun Apr 11 20:12:27 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA01411
	for scwm-discuss-outgoing; Sun, 11 Apr 1999 20:12:27 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA01408
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 11 Apr 1999 20:12:25 -0400
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA11323; Sun, 11 Apr 99 20:12:18 EDT
Received: (qmail 29820 invoked by uid 501); 12 Apr 1999 00:13:52 -0000
Date: Sun, 11 Apr 1999 17:13:52 -0700
From: Todd Larason <jtl@molehill.org>
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: base.scm menu proc
Message-Id: <19990411171352.A29772@molehill.org>
References: <19990411170251.A28435@molehill.org> <qrru2umvgwi.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <qrru2umvgwi.fsf@elwha.cs.washington.edu>; from Greg Badros on Sun, Apr 11, 1999 at 05:09:17PM -0700
X-Kibo: Half-baked computers are false.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990411, Greg Badros wrote:
> I'm not sure what you mean "The version of menu in menu.scm"... I don't
> have a menu.scm; menu is defined in base.scm for me (though I've
> considered moving it out of base).
> 
> What am I missing?

*blush*

You're missing half-finished work of mine that never got checked in, done so
long ago I'd forgotten that's what it was.

"um, nevermind", he said meekly.
-- 
"I need some brave boys and girls who aren't afraid to live outside the law 
of gravity; families who like to sleep in tubes and push buttons; 
adventurers like YOU!" -- Firesign Theatre

From owner-scwm-discuss@mit.edu  Sun Apr 11 20:26:35 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA01887
	for scwm-discuss-outgoing; Sun, 11 Apr 1999 20:26:35 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA01884
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 11 Apr 1999 20:26:32 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA13523; Sun, 11 Apr 99 20:26:26 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA13702; Sun, 11 Apr 1999 17:26:27 -0700 (PDT)
To: Todd Larason <jtl@molehill.org>
Cc: scwm-discuss@mit.edu
Subject: Re: base.scm menu proc
References: <19990411170251.A28435@molehill.org> <qrru2umvgwi.fsf@elwha.cs.washington.edu> <19990411171352.A29772@molehill.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 11 Apr 1999 17:26:27 -0700
In-Reply-To: Todd Larason's message of "Sun, 11 Apr 1999 17:13:52 -0700"
Message-Id: <qrrpv5avg3w.fsf@elwha.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Todd Larason <jtl@molehill.org> writes:

> On 990411, Greg Badros wrote:
> > I'm not sure what you mean "The version of menu in menu.scm"... I don't
> > have a menu.scm; menu is defined in base.scm for me (though I've
> > considered moving it out of base).
> > 
> > What am I missing?
> 
> *blush*
> 
> You're missing half-finished work of mine that never got checked in, done so
> long ago I'd forgotten that's what it was.
> 
> "um, nevermind", he said meekly.

At least this is good news for Scwm-- given that I've been
adding/changing menuing code a bit lately, if *I* had been ignoring a
.scm file, it could've been ugly! :-)

BTW, the changes (suggested privately by Graeme Cross) include the
ability to specify a highlight fg,bg color for menus, and tto be able to 
control menuitem colors and fonts independently of the menus
fonts/colors. 

Greg

From owner-scwm-discuss@mit.edu  Mon Apr 12 11:20:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA10061
	for scwm-discuss-outgoing; Mon, 12 Apr 1999 11:20:38 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA10058
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 12 Apr 1999 11:20:36 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA04723; Mon, 12 Apr 99 11:20:20 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id RAA19045
	for scwm-discuss@mit.edu; Mon, 12 Apr 1999 17:10:55 +0200 (MET DST)
Received: (qmail 2487 invoked by uid 115); 12 Apr 1999 14:32:54 -0000
To: scwm-discuss@mit.edu
Subject: Re: Window placement on mouse click viewport instead of current viewport?
References: <m2btgv8sur.fsf_-_@blinky.bfr.co.il>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 12 Apr 1999 16:32:51 +0200
In-Reply-To: hjstein@bfr.co.il's message of "11 Apr 1999 11:27:24 +0300"
Message-Id: <wsn20dzz70.fsf@orcus.priv.at>
Lines: 34
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 11 Apr 1999 11:27:24 +0300
>>>>> hjstein@bfr.co.il (Harvey J. Stein) said:

 Harvey> I'd like to set up my menus to launch applications into the
 Harvey> same viewport & desktop that I select the menu item from,
 Harvey> instead of onto whatever happens to be the current viewport &
 Harvey> desktop when the window happens to get mapped. Any easy way
 Harvey> to do this?

>From the top of my head:

(window-style "*" #:other-proc (lambda (w) (set-start-on-desk! w menu-desk)))

ensure that menu-desk is set to `(current-desk)' by your menu
functions.

This is simple, but not elegant of fool-proof. If you start another
app from the menu while the first is load, it will obviously lose.

What we IMHO need badly, is something that can reliably put
window-styles on a window or windows resulting from one `execute'
call.

For example
        (execute "xterm -e top" ("*" #:start-on-desk 2))
would start top in an xterm, that will be placed on desk 2.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Mon Apr 12 16:19:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA12052
	for scwm-discuss-outgoing; Mon, 12 Apr 1999 16:19:13 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA12049
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 12 Apr 1999 16:19:10 -0400
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA22120; Mon, 12 Apr 99 16:20:00 EDT
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Mon, 12 Apr 1999 16:18:14 -0400
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Mon, 12 Apr 1999 16:18:14 -0400
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id QAA29206;
	Mon, 12 Apr 1999 16:18:59 -0400
To: scwm-discuss@mit.edu
Subject: memory usage
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 12 Apr 1999 16:18:59 -0400
Message-Id: <m3r9ppmw24.fsf@eho.eaglets.com>
Lines: 10
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I tried enlightenment - 2.5MB RAM usage.
I reverted to SCWM (had to use gnome config - enlightenment, apparently,
doesn't have (restart "scwm")-: )- 6MB.
Food for thought... :-(

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Marriage is the sole cause of divorce.

From owner-scwm-discuss@mit.edu  Mon Apr 12 17:08:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA12474
	for scwm-discuss-outgoing; Mon, 12 Apr 1999 17:08:37 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA12471
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 12 Apr 1999 17:08:35 -0400
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA15865; Mon, 12 Apr 99 17:08:20 EDT
Received: (qmail 26136 invoked by uid 501); 12 Apr 1999 21:08:26 -0000
Date: Mon, 12 Apr 1999 14:08:25 -0700
From: Todd Larason <jtl@molehill.org>
To: Sam Steingold <sds@goems.com>
Cc: scwm-discuss@mit.edu
Subject: Re: memory usage
Message-Id: <19990412140824.A25206@molehill.org>
References: <m3r9ppmw24.fsf@eho.eaglets.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <m3r9ppmw24.fsf@eho.eaglets.com>; from Sam Steingold on Mon, Apr 12, 1999 at 04:18:59PM -0400
X-Kibo: If nodes could radiate, would the Universe, U for Upsetting, be good?
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990412, Sam Steingold wrote:
> I tried enlightenment - 2.5MB RAM usage.
> I reverted to SCWM (had to use gnome config - enlightenment, apparently,
> doesn't have (restart "scwm")-: )- 6MB.
> Food for thought... :-(

This made me curious, and I just checked the two machines I have scwm running
on now.

At work, running a snapshot from about March 12th, up since April 6th, I'm at
6 1/2 MB.

At home, running a snapshot from yesterday morning, running since about 6pm
last night, 35 MB.

Looks like there's probably a new leak in there somewhere.  Or possibly an old 
leak in pixmaps - at home I use some garishly large backgrounds, at work I'm
not right now.
-- 
"I need some brave boys and girls who aren't afraid to live outside the law of
gravity; families who like to sleep in tubes and push buttons; adventurers
like YOU!" -- Firesign Theatre
UIN: 7195771

From owner-scwm-discuss@mit.edu  Mon Apr 12 18:04:56 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA12811
	for scwm-discuss-outgoing; Mon, 12 Apr 1999 18:04:56 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA12808
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 12 Apr 1999 18:04:54 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA03626; Mon, 12 Apr 99 18:04:37 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA03314; Mon, 12 Apr 1999 15:04:26 -0700 (PDT)
To: Todd Larason <jtl@molehill.org>
Cc: scwm-discuss@mit.edu
Subject: Re: memory usage
References: <m3r9ppmw24.fsf@eho.eaglets.com> <19990412140824.A25206@molehill.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 12 Apr 1999 15:04:25 -0700
In-Reply-To: Todd Larason's message of "Mon, 12 Apr 1999 14:08:25 -0700"
Message-Id: <qrru2ulpkba.fsf@elwha.cs.washington.edu>
Lines: 32
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Todd Larason <jtl@molehill.org> writes:

> On 990412, Sam Steingold wrote:
> > I tried enlightenment - 2.5MB RAM usage.
> > I reverted to SCWM (had to use gnome config - enlightenment, apparently,
> > doesn't have (restart "scwm")-: )- 6MB.
> > Food for thought... :-(
> 
> This made me curious, and I just checked the two machines I have scwm running
> on now.
> 
> At work, running a snapshot from about March 12th, up since April 6th, I'm at
> 6 1/2 MB.
> 
> At home, running a snapshot from yesterday morning, running since about 6pm
> last night, 35 MB.
> 
> Looks like there's probably a new leak in there somewhere.  Or possibly an old 
> leak in pixmaps - at home I use some garishly large backgrounds, at work I'm
> not right now.

Yep... this is probably the same leak seen by Sam...  are you guys using 
the new imlib interface?  Maybe that's the source of the leaks?

Maciej said he'd try running with Purify a while back, but he seems to
have drifted away into never never land.... :-)  Come back Maciej!
(We *really* need the 1999 mail archives on the web, a searching tool,
and the bug tracking system-- these are things I cannot do without
moving the Scwm web page (and I've no interest in doing that if I can
avoid it).)

Greg

From owner-scwm-discuss@mit.edu  Mon Apr 12 18:27:57 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA13018
	for scwm-discuss-outgoing; Mon, 12 Apr 1999 18:27:57 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA13015
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 12 Apr 1999 18:27:56 -0400
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA03673; Mon, 12 Apr 99 18:28:45 EDT
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Mon, 12 Apr 1999 18:27:00 -0400
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Mon, 12 Apr 1999 18:27:00 -0400
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id SAA31294;
	Mon, 12 Apr 1999 18:27:44 -0400
To: scwm-discuss@mit.edu
Subject: Re: memory usage
References: <m3r9ppmw24.fsf@eho.eaglets.com> <19990412140824.A25206@molehill.org> <qrru2ulpkba.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "12 Apr 1999 15:04:25 -0700"
Date: 12 Apr 1999 18:27:44 -0400
Message-Id: <m31zhpmq3j.fsf@eho.eaglets.com>
Lines: 28
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrru2ulpkba.fsf@elwha.cs.washington.edu>
>>>> On the subject of "Re: memory usage"
>>>> Sent on 12 Apr 1999 15:04:25 -0700
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> Todd Larason <jtl@molehill.org> writes:
 >> 
 >> > On 990412, Sam Steingold wrote:
 >> > > I tried enlightenment - 2.5MB RAM usage.
 >> > > I reverted to SCWM (had to use gnome config - enlightenment, apparently,
 >> > > doesn't have (restart "scwm")-: )- 6MB.
 >> > > Food for thought... :-(
 >> >
 >> > At work, running a snapshot from about March 12th, up since April 6th, I'm at
 >> > 6 1/2 MB.
 >> >
 >> > At home, running a snapshot from yesterday morning, running since about 6pm
 >> > last night, 35 MB.
 >> 
 >> Yep... this is probably the same leak seen by Sam...  are you guys using
 >> the new imlib interface?  Maybe that's the source of the leaks?

Yes, I am loading some png images.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
The world is coming to an end.  Please log off.

From owner-scwm-discuss@mit.edu  Mon Apr 12 18:37:00 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA13124
	for scwm-discuss-outgoing; Mon, 12 Apr 1999 18:37:00 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id SAA13121
	for <scwm-discuss@vicarious-existence.mit.edu>; Mon, 12 Apr 1999 18:36:55 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA03328; Mon, 12 Apr 1999 15:36:18 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Window placement on mouse click viewport instead of current viewport?
References: <m2btgv8sur.fsf_-_@blinky.bfr.co.il> <wsn20dzz70.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 12 Apr 1999 15:36:17 -0700
In-Reply-To: Robert Bihlmeyer's message of "12 Apr 1999 16:32:51 +0200"
Message-ID: <qrrr9pppiu6.fsf@elwha.cs.washington.edu>
Lines: 92
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 11 Apr 1999 11:27:24 +0300
> >>>>> hjstein@bfr.co.il (Harvey J. Stein) said:
> 
>  Harvey> I'd like to set up my menus to launch applications into the
>  Harvey> same viewport & desktop that I select the menu item from,
>  Harvey> instead of onto whatever happens to be the current viewport &
>  Harvey> desktop when the window happens to get mapped. Any easy way
>  Harvey> to do this?
> 
> >From the top of my head:
> 
> (window-style "*" #:other-proc (lambda (w) (set-start-on-desk! w menu-desk)))
> 
> ensure that menu-desk is set to `(current-desk)' by your menu
> functions.
> 
> This is simple, but not elegant of fool-proof. If you start another
> app from the menu while the first is load, it will obviously lose.
> 
> What we IMHO need badly, is something that can reliably put
> window-styles on a window or windows resulting from one `execute'
> call.
> 
> For example
>         (execute "xterm -e top" ("*" #:start-on-desk 2))
> would start top in an xterm, that will be placed on desk 2.

I'm pretty certain this is not possible.  The closest approximation that 
I can imagine doing is overloading some of the X hints and using them to 
guide your choice-- perhaps with suitable abstraction we can make it
seem almost like the above.  

Here's what I'm thinking.  The obvious partial solution is:

Execute:
xterm -name AUniqueIdBasedOnPidAndExecNumber -title xterm-or-whatever -e top
And have a one-time window-style (that gets erased after used [for
space efficienciy, not correctness]):
(window-style (resource-match?? AUniqueIdBasedOnPidAndExecNumber) OPTIONS)

The big problem with this is that the resource name is used for X
resources; many systems use the resource name inappropriately, and many
users (e.g., me!) use the resource name to disambiguate among xterms
used for different purposes to choose different keybindings, etc (e.g.,
my xterms in which I run Pine [God help me-- I didn't bother with
setting up GNUS down under] has a different set of keybindings so that
PageUp/PageDown work (among other things)).

So what we need is a way to communicate information from the process
execution to the WM.  This is reasonably easy if we're willing to modify 
the program source code of the clients we care about, but is not an
option if we must work with legacy clients.

So, we must use a hint that is widely available (i.e., probably one of
the Xt toolkit hints) and accessible to the WM.  Ideally, it would also
let us encode a reasonable amount of information.  Think -geometry!

We could do something like:

xterm -geometry 1x-UNIQUE_ID+x+y
                           ^^^^ ordinary position specification

and then put the *real* desired geometry in a window hint to override
the size.  Then we create a `geometry-matcher??' window style, and
encode the UNIQUE_ID in the size specification when we do the exec, and
fix it up before we map.

(Math geek note: it'd be really cool to use Godel-like encodings with
compositions of powers of primes but that relies on the fact that you're
encoding in the real natural number space, not a limited range of
integers (geometry specs are not arbitrary length)).

The unique id could just be probably unique since their are a lot of
factors: Scwm process ID, Scwm process Host, exec number.  In the common
case, though, only one Scwm process at a time will be starting
processing displaying to a given server, so we can probably just
increment a number each time we do this magic, and use that number.
Note that this does limit the ability to use this trick with windows
sized to be 1 unit by negative some other unit, but that seems pretty
unlikely to be an issue.

I'll let someone else work out the implementation details, but I think
this would be a great addition to Scwm (even if it sounds crazy -- I'm
glad April 1st has come and gone or no one would take this seriously!).

Thanks,
Greg


From owner-scwm-discuss@mit.edu  Mon Apr 12 18:57:22 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA13321
	for scwm-discuss-outgoing; Mon, 12 Apr 1999 18:57:22 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA13318
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 12 Apr 1999 18:57:21 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA10317; Mon, 12 Apr 99 18:58:09 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA03354; Mon, 12 Apr 1999 15:56:49 -0700 (PDT)
To: scwm-discuss@mit.edu
Subject: imlib leak [was Re: memory usage]
References: <m3r9ppmw24.fsf@eho.eaglets.com> <19990412140824.A25206@molehill.org> <qrru2ulpkba.fsf@elwha.cs.washington.edu> <m31zhpmq3j.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 12 Apr 1999 15:56:49 -0700
In-Reply-To: Sam Steingold's message of "12 Apr 1999 18:27:44 -0400"
Message-Id: <qrrhfqlphvy.fsf_-_@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

>  >> 
>  >> Yep... this is probably the same leak seen by Sam...  are you guys using
>  >> the new imlib interface?  Maybe that's the source of the leaks?
> 
> Yes, I am loading some png images.

Just grepped through the source and there are no occurrences of
Imlib_free*, so I'm pretty damn sure there's a leak (I don't know much
about imlib though).

James: can you add the missing deallocation of memory to free_image and
send me a patch?  It's probably very simple code, but I don't have time
to look at imlib and test the change right now.  (Or anyone else feel
free to let me know what's missing after you've tested it).

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Mon Apr 12 19:40:27 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA13633
	for scwm-discuss-outgoing; Mon, 12 Apr 1999 19:40:27 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id TAA13630
	for <scwm-discuss@vicarious-existence.mit.edu>; Mon, 12 Apr 1999 19:40:23 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA03395; Mon, 12 Apr 1999 16:40:13 -0700 (PDT)
To: scwm-discuss@mit.edu
Subject: French-reading Scwm users?
From: Greg Badros <gjb@cs.washington.edu>
Date: 12 Apr 1999 16:40:12 -0700
Message-ID: <qrr7lrhpfvn.fsf@elwha.cs.washington.edu>
Lines: 37
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I've just been pointed at a thesis written in French that looks pretty
good, but is hard for me to read critically given my French language
background is only 4 years of h.s. classes.

The thesis is about what Philippe did for an extended external geometry
manager for GWM, the Generic Window Manager (one of the inspirations for
Scwm).  From my quick read of what I could from the thesis, it looks
like he developed some ICCCM extensions to support an external geometry
manager (not unlike the fvwm2 module system, but done more properly
using X protocols instead of a goofy named pipe), and then developed
some more meaningful grouping and constraint abstractions that that
external manager then could enforce (e.g., iconify-with, move-together,
etc.).  He's got a user-interface based on some kind of rooms metaphor
(I vaguely remember seeing this when I played with GWM years ago).

If anyone out there reads French reasonably fluently and uses Scwm, it'd 
be great if you could look over this thesis and share with us your take
on the ideas he presents.  There's some useful stuff in here, but I'm
afraid I'm missing pieces of it due to my spotty French abilities.

An ftp site is named in the below reference.

Thanks,
Greg


@phdthesis{Kaplan-92,
   author =  {Philippe Kaplan},
   title =   {S{\'e}mantique des fen{\^e}tres dans le syst{\`e}me de 
              fen{\^e}trage X pour les gestionnaires externes d'espace
de 
              travail.},
   school =  {INRIA},
   year =    1992,
   note =    {Available via ftp from
ftp://koala.inria.fr/pub/these-phk.ps.gz},
}

From owner-scwm-discuss@mit.edu  Mon Apr 12 22:26:31 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA14484
	for scwm-discuss-outgoing; Mon, 12 Apr 1999 22:26:31 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA14481
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 12 Apr 1999 22:26:29 -0400
Received: from ppp355.arden.ioa.com by MIT.EDU with SMTP
	id AA24311; Mon, 12 Apr 99 22:27:16 EDT
Received: from dres by dres.elam.org with local (Exim 2.11 #1 (Debian))
	id 10WsuD-000106-00; Mon, 12 Apr 1999 22:26:29 -0400
To: Greg Badros <gjb@cs.washington.edu>
Cc: Todd Larason <jtl@molehill.org>, scwm-discuss@mit.edu
Subject: Re: memory usage
References: <m3r9ppmw24.fsf@eho.eaglets.com> <19990412140824.A25206@molehill.org> <qrru2ulpkba.fsf@elwha.cs.washington.edu>
X-Url: http://www.ioa.com/~dres
X-Organization: Debian/Software in the Public Interest
X-Attribution: Dres
X-Face:  "R3Ms&!j++.]J8DwisON-l7#S<Jw[MsP|I<K?28b~f-<w^vjeAQ-k@$-Az>OloY'V?!^-!2
 9G+7Z7OzClzr2{3e<RFn%f*t%B<*|sT->ni9BN\pzkTp<dg6+lOtI-rg*]Fjgr0n.=ChFX:_+T7fKT
 *Z[}xvSK"jV~QH7*v}xZ,1rlb+Ro`,)#2Econ*g^>}ehc,\AhKBZ\Sf/HVG+p\*?'(&ct2w6Fr:w9m
 o|9R&.D-)1]:&sN-6o'\`7W${f1$2BCy6qSl&._{ILYCZ?X-[?M!](N
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: James LewisMoss <dres@ioa.com>
Date: 12 Apr 1999 22:26:29 -0400
In-Reply-To: Greg Badros's message of "12 Apr 1999 15:04:25 -0700"
Message-Id: <hhpv59mf1m.fsf@dres.elam.org>
Lines: 43
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>>> On 12 Apr 1999 15:04:25 -0700, Greg Badros <gjb@cs.washington.edu> said:

 Greg> Todd Larason <jtl@molehill.org> writes:
 >> On 990412, Sam Steingold wrote:
 >> > I tried enlightenment - 2.5MB RAM usage.  I reverted to SCWM
 >> > (had to use gnome config - enlightenment, apparently, doesn't
 >> > have (restart "scwm")-: )- 6MB.  Food for thought... :-(
 >>
 >> This made me curious, and I just checked the two machines I have
 >> scwm running on now.
 >>
 >> At work, running a snapshot from about March 12th, up since April
 >> 6th, I'm at 6 1/2 MB.
 >>
 >> At home, running a snapshot from yesterday morning, running since
 >> about 6pm last night, 35 MB.
 >>
 >> Looks like there's probably a new leak in there somewhere.  Or
 >> possibly an old leak in pixmaps - at home I use some garishly
 >> large backgrounds, at work I'm not right now.

 Greg> Yep... this is probably the same leak seen by Sam...  are you
 Greg> guys using the new imlib interface?  Maybe that's the source of
 Greg> the leaks?

 Greg> Maciej said he'd try running with Purify a while back, but he
 Greg> seems to have drifted away into never never land.... :-) Come
 Greg> back Maciej!  (We *really* need the 1999 mail archives on the
 Greg> web, a searching tool, and the bug tracking system-- these are
 Greg> things I cannot do without moving the Scwm web page (and I've
 Greg> no interest in doing that if I can avoid it).)

Could be imlib, but then it's not technically a leak.  It does caching 
of images so that when you load them again it'll already have them
around.  There is a programmable interface to this to turn it off and
on.  When I get a few moments I was planning on adding an interface
to that, and an interface to the size changing stuff in imlib.

Dres
-- 
@James LewisMoss <dres@ioa.com>         |  Blessed Be!
@    http://www.ioa.com/~dres           |  Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach

From owner-scwm-discuss@mit.edu  Mon Apr 12 23:24:19 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA14991
	for scwm-discuss-outgoing; Mon, 12 Apr 1999 23:24:19 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from 207-172-216-23.s23.tnt1.sbo.ma.dialup.rcn.com (209-122-231-213.s213.tnt4.sbo.ma.dialup.rcn.com [209.122.231.213])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id XAA14987
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 12 Apr 1999 23:24:18 -0400
Received: (from mstx@localhost)
	by 207-172-216-23.s23.tnt1.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id TAA23917;
	Mon, 12 Apr 1999 19:49:15 -0400
To: scwm-discuss@mit.edu
Subject: mail archives fixed.
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 12 Apr 1999 19:49:14 -0400
Message-ID: <m3btgtbds5.fsf@207-172-255-99.s99.tnt2.sbo.ma.dialup.rcn.com>
Lines: 9
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I've added the 1999 mail archives and reorganized the archives page a
bit.  The '98 archives are still available for your perusal. In the
long run it might be a good idea to switch to better archive->html
software that provides search capabilities and such, but I don't have
the bandwidth at the moment.

 - Maciej


From owner-scwm-discuss@mit.edu  Mon Apr 12 23:41:58 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA15274
	for scwm-discuss-outgoing; Mon, 12 Apr 1999 23:41:58 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from 207-172-216-23.s23.tnt1.sbo.ma.dialup.rcn.com (209-122-231-213.s213.tnt4.sbo.ma.dialup.rcn.com [209.122.231.213])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id XAA15270;
	Mon, 12 Apr 1999 23:41:56 -0400
Received: (from mstx@localhost)
	by 207-172-216-23.s23.tnt1.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id UAA24198;
	Mon, 12 Apr 1999 20:06:48 -0400
To: scwm-discuss@mit.edu, scwm-announce@mit.edu
Subject: scwm-users list created
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 12 Apr 1999 20:06:45 -0400
Message-ID: <m3g165759m.fsf@207-172-255-99.s99.tnt2.sbo.ma.dialup.rcn.com>
Lines: 18
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk







Per user requests, I've created a new scwm-users list, for discussion
of scwm configuration, requests for help, etc.

I will be subscribed and probably various of the other developers as
well, so if you want a forum for discussing Scwm without development
discussion, this is it.

To subscribe, send a message to scwm-users-request@ph.mit.edu
with `subscribe' in the body.


 - Maciej Stachowiak

From owner-scwm-discuss@mit.edu  Tue Apr 13 00:06:32 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id AAA15763
	for scwm-discuss-outgoing; Tue, 13 Apr 1999 00:06:32 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id AAA15760
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 13 Apr 1999 00:06:19 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA13486; Tue, 13 Apr 99 00:07:04 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA03683; Mon, 12 Apr 1999 21:06:03 -0700 (PDT)
To: James LewisMoss <dres@ioa.com>
Cc: Todd Larason <jtl@molehill.org>, scwm-discuss@mit.edu
Subject: Re: memory usage
References: <m3r9ppmw24.fsf@eho.eaglets.com> <19990412140824.A25206@molehill.org> <qrru2ulpkba.fsf@elwha.cs.washington.edu> <hhpv59mf1m.fsf@dres.elam.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 12 Apr 1999 21:06:02 -0700
In-Reply-To: James LewisMoss's message of "12 Apr 1999 22:26:29 -0400"
Message-Id: <qrr1zhpp3kl.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

James LewisMoss <dres@ioa.com> writes:

<snip>

> Could be imlib, but then it's not technically a leak.  It does caching 
> of images so that when you load them again it'll already have them
> around.  There is a programmable interface to this to turn it off and
> on.  When I get a few moments I was planning on adding an interface
> to that, and an interface to the size changing stuff in imlib.

But surely its caching code needs to know when an image is not in use by 
the application... is this not the purpose of Imlib_free_pixmap?  Like I 
wrote before, I plead ignorance with imlib, but it seems wrong to not
call that function from the GC free hook in image.c.

Thanks for taking a look at this when your time permits.

Greg

From owner-scwm-discuss@mit.edu  Tue Apr 13 03:58:05 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA18576
	for scwm-discuss-outgoing; Tue, 13 Apr 1999 03:58:05 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA18573
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 13 Apr 1999 03:58:03 -0400
Received: from dur.tbit.dk by MIT.EDU with SMTP
	id AA21196; Tue, 13 Apr 99 03:57:44 EDT
Received: from chl.tbit.dk (chl.tbit.dk [194.182.135.65])
	by dur.tbit.dk (8.8.8/8.8.8) with ESMTP id JAA24389;
	Tue, 13 Apr 1999 09:57:48 +0200 (MET DST)
Received: (from chl@localhost)
	by chl.tbit.dk (8.8.8/8.8.8) id JAA00574;
	Tue, 13 Apr 1999 09:57:19 +0200 (MET DST)
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss list <scwm-discuss@mit.edu>
Subject: cvs and changelogs (was Re: rcs2log)
References: <m3u2upaacy.fsf@eho.eaglets.com> <qrru2up5611.fsf@elwha.cs.washington.edu> <m3yak076wa.fsf@eho.eaglets.com> <qrrn20f4s5r.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Christian Lynbech <chl@tbit.dk>
Date: 13 Apr 1999 09:57:17 +0200
In-Reply-To: Greg Badros's message of "10 Apr 1999 22:56:00 -0700"
Message-Id: <ofpv59x89u.fsf_-_@tbit.dk>
Lines: 116
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) Emacs/20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Another advantage of changelogs is that they are easier to correct
later on.

How many of you have actually used cvs admin to correct a typo in a
commit message?

I also like very much the facility of changelog mode to automatically
extract the function name when adding an new entry.

What I do is to fire up pcl-cvs (it is back into active development,
for those that have missed the announcements on gnu.emacs.sources),
diff the file, pull the file into emacs and step through the diffs
adding changelog entries as I go along. I find that I am much better
at documenting all changes rather just giving a short and essentially
clueless summary to cvs commit as I used to do.

Here is more elisp for your hacking pleasure. This implements
`cvs-next-diff', that works like `next-error' by finding in a file the
next inserted line (works best with unidiffs). 

Also included below is my setup for compile-frame (a hack, not by me,
that I can post if anybody wants that) that makes the cvs diff pop up
in a separate frame.

;;;elisp ahead


;;;cvs-next-diff

;;next diff support
(defconst cvs-next-diff-started nil)

(defun cvs-next-diff (&optional arg)
  "Move point to the next difference.
With optional ARG \(prefix argument\), restart from top of diff buffer.
This is currently hardwired to pcl-cvs and unidiff output."
  (interactive "P")
  (let ((obuf (current-buffer))
	(ofrm (window-frame (get-buffer-window (current-buffer))))
	(diff-section "^@@ \\-\\([0-9]+\\),\\([0-9]+\\) \\+\\([0-9]+\\),\\([0-9]+\\) @@")
	(diff-deletion "^-")
	(diff-insertion "^+")
	buf found eof secno lineno diffno)
    (setq buf (or (and (eq major-mode 'cvs-mode) (get-buffer "*cvs-diff*"))
		  (get-buffer "*vc-diff*")
		  (get-buffer "*cvs-diff*")))
    (cond
     ((not (buffer-live-p buf))
      (error "Couldn't find any cvs diff output buffer."))
     ((and window-system (boundp 'compilation-frame-id)
	   (framep compilation-frame-id) (frame-live-p compilation-frame-id))
      (select-frame compilation-frame-id)
      (switch-to-buffer buf))
     (t
      (set-buffer buf)))
    (save-match-data 
      (and (or arg
	       (null cvs-next-diff-started)
	       (not (equal cvs-next-diff-started obuf)))
	   (goto-char (point-min))
	   (not (re-search-forward diff-section nil t))
	   (error "cvs-next-diff: no diff section found."))
      (setq cvs-next-diff-started obuf)
      (end-of-line)
      (if (not (re-search-forward diff-insertion nil t))
	  (progn (message "No more diffs.")
		 (setq cvs-next-diff-started nil)))
      (setq lineno -1)
      (setq diffno (point))
      (setq found nil)
      (while (progn
	       (cond
		((looking-at diff-section)
		 (setq found t)
		 (setq secno (string-to-number (match-string 3)))
		 (goto-char diffno)
		 (beginning-of-line)
		 (select-frame ofrm)
		 (switch-to-buffer obuf)
		 (goto-line secno)
		 (forward-line lineno))
		((not (looking-at diff-deletion))
		 (setq lineno (1+ lineno))))
	       (and (not found)
		    (setq eof (forward-line -1))
		    (= eof 0)))))))


;;;compilation frame setup

(defvar cvs-frame-selected-hook (lambda () (switch-to-buffer "*cvs-tmp*"))
  "*Hook run when setting up a compile frame for cvs output.")

(if (and window-system (or (featurep 'compile-frame) (load "compile-frame" 'safe)))
    (progn
      (cf-setup cvs-mode-diff-cvs compile-frame
		compilation-frame-id compilation-i-frame-id
		compilation-frame-alist compilation-frame-selected-hook)

      (cf-setup cvs-mode-diff compile-frame
		compilation-frame-id compilation-i-frame-id
		compilation-frame-alist compilation-frame-selected-hook)

      (cf-setup vc-diff compile-frame
		compilation-frame-id compilation-i-frame-id
		compilation-frame-alist compilation-frame-selected-hook)
      ))


---------------------------+--------------------------------------------------
Christian Lynbech          | Telebit Communications A/S                       
Fax:   +45 8628 8186       | Fabrik 11, DK-8260 Viby J
Phone: +45 8628 8177 + 28  | email: chl@tbit.dk --- URL: http://www.telebit.dk
---------------------------+--------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)

From owner-scwm-discuss@mit.edu  Tue Apr 13 07:56:16 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA20991
	for scwm-discuss-outgoing; Tue, 13 Apr 1999 07:56:16 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id HAA20988
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 13 Apr 1999 07:56:15 -0400
Received: from dialup-t2-68.Melbourne.netspace.net.au by MIT.EDU with SMTP
	id AA10126; Tue, 13 Apr 99 07:55:50 EDT
Received: from localhost (6377 bytes) by zappa.
	via sendmail with P:stdio/R:internet_hosts/T:smtp
	(sender: <ggt>) (ident <ggt> using unix)
	id <m10X1lP-002Sw3C@zappa.>
	for <scwm-discuss@mit.edu>; Tue, 13 Apr 1999 21:53:59 +1000 (EST)
	(Smail-3.2.0.101 1997-Dec-17 #1 built 1998-Aug-25)
Message-Id: <m10X1lP-002Sw3C@zappa.>
Date: Tue, 13 Apr 1999 21:53:59 +1000 (EST)
From: ggt@netspace.net.au (Glenn Trigg)
X-Mailer: Privtool [V0.90 Beta GT002] (i586-pc-linux-gnu/Motif)
Reply-To: ggt@linuxfan.com
Subject: ScwmButtons et al.
To: scwm-discuss@mit.edu
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I've been meaning to pass these changes on for over a week now, sigh,
better late than never I hope.

I've managed to make ScwmButtons able to swallow other scheme/Gtk apps
that have been made suitably "swallowable". The two swallowable apps
are currently ScwmBiff & ScwmClock. (It's simply being able to handle
a parent widget being passed and used rather than creating and managing
a separate toplevel.)

I have also changed ScwmButtons to use the GtkToolbar instead of a GtkBox,
which means it's possible to change the orientation on the fly, and
tooltips also now work. The down side is that if you use different sized
pixmaps for the images then it can look daggy as the toolbar widget won't
force them all to be the same size.

Anyway, I've included all three modules in a bzipped, uuencoded tar file.

Oh, yes, here's a sample from my .scwmrc showing how to use these new
features.

------------8<-----------------
;; Start a mini-button bar using ScwmButtons
(define btns
  (run-ScwmButtons
   (list
    (button-item "mini-term.xpm" #:action "xterm" #:tooltip "Spawn an XTerm")
    (button-item "mini-edit.xpm" #:action "xemacs" #:tooltip "Xemacs Editor")
    (button-item "mini-calc.xpm" #:action "xcalc" #:tooltip "Calculator")
    (button-item "mini-xmcd.xpm" #:action "xmcd" #:tooltip "CD Player")
    (button-item "mini-audiovol.xpm" #:action "timidity -ig -Os"
                 #:tooltip "Midi Player")
    (button-item "mini-xv.xpm" #:action "xv" #:tooltip "Image Viewer")
    (button-item "mini-gv.xpm" #:action "gv" #:tooltip "Postscript Viewer")
    (button-item "mini-nscape.xpm" #:action "/usr/netscape/netscape"
                 #:tooltip "Netscape Web Browser")
    ) #:name "MiniButtons"))

;; Start biff stuff
(define guibiff (run-ScwmBiff "mini-mail.xpm" "mini-newmail.xpm"
                              #:action "privtool"
                              #:parent btns "Mail Notifier"))

(define biff (simplebiff #:activate-proc (lambda () (activate-ScwmBiff guibiff))
                         #:deactivate-proc (lambda () (deactivate-ScwmBiff guibi
ff))))

(btns 'add-space)
------------8<-----------------

and here's the modules...

Glenn

_=_ 
_=_ Part 001 of 001 of file ggt_bits.tar.bz2
_=_ 

begin 644 ggt_bits.tar.bz2
M0EIH.3%!62936?.Z'N$`"&U_AO@T`"!_]__XN^?^^'____```0@```A@#A\\
M-]BYVO1IW@1[V/.SNJ>N*4HJ"4V82K;KN63UJ4O#:BF(33$IMI/0IZGI&F(8
M1I@@#0`T--,F@#(0FJ?H2&FC1D`!Z0``&@````',)HR-#0R&$:&0TT:`#$9,
M@&$`P"32B%-*9BF]*9J-I-/U-(#0`9````:``B20F$F4\TFDQ3VE3:A@]1,3
M0R'J&0#TU/4:&F((E`C1-!09-)-/4/4_4F@,$]1D``-`]0#)[7'SL\'VOTH!
M7``/<^]"248)T>*4&)Z\^JJ"60#`$8B&B:%5F*(E`=09`4BHB)%%(C!!@(A(
ML$9$@C$%R'.\_T_GMDDK_:2<;GL4/WUJD3?2!JQ3`@%=7LLQUKA,<5N2PPR&
M&0J&R2\99(;TUYGH0CPRO,S<D4V4V,&ZIV8YESN52V&V!]9N8^I<).6$B\Q]
M`Y4L1N"60`&/;<)9`*8@IV8+WP"$&0+VE1I41+<,E.8E;.&NN;:M+;;;="%6
M5PR8CAQW3P6>#UN]J`=HGD<>W/R<O"CP*9OCS@/&8#(+Z!`S0.!2P?-<;$#<
M9I.G31?MRM;0L[G9>7^PV:=18L%MOQG28D/8ENES:I;71\8#U:^80O7;\5JG
MMEW0Z]*]--MJD.6S;*7*&"%<\PHU-2%W&&A4EH>VO=@S=\)ZIO,^A#RTVKC.
MUN%TE)J:4-1!B!?M*QSR<FV8^LSTHJ.WKM4>7%<Y_`Y*']GU/`,&/MOB^IN$
M+GZT.LR<WN0C>65Y"PP$PEM>KQNG9JB*.K6PEA&M&G56\?@F(&R5-H*=P)<&
MDH@EQ\]21D9%#J8Q%X861A!5+0+Z(ARAF5,FPF[&)/UDV\,1+QL!(@5IBAL[
MNV'#0;JX<R<I+MEJ3`6XZN_!*33&4<G*4.9#42\4T\LJ45Q*O(BY4,GM6(H1
M<2L)&DT$,*5=.?'BKK99E73;:C"HQP="TYZJY/#N;\'%[ISB$&X>4LZ#SR=7
M%2I&A:<*IU(ZESPR3YJ(EZ=.GR%#WLG3JHX<$Z78#/02(8C*:HQ`Y$R6=AN!
M4?G=AE0E5X'EOJ]YDZ]D#M76=\=#77-K%K6M8M:WN$\<SU?!<S.0*]YV*0"8
M7>%D.X)/=$151BJR"AV!"%AXL&"0ZD.D8&XQ2A$U$##H(&$P_';%PR-I65IM
M@QBBU'.*YLPYK="EFEE41=,Z9V&:#KAM3##"$TM1H:XP;/F,#"ZW9(;"/$O%
MG.VGHR'&)UNWCGRO5W[*S:E.<ZJ<3ESNXL6TW-<W7%FST:]O4U#2#0W)0WVH
M)($E=_#?:MBW.\OAQ+2N^-;1('QA[FUN-,GNPO0#7>&@.[Q7@S3-C0M7Y-NW
M[7C*F+5KU][R5Z;\C>!T))G6FAIO22%2F)KVAD:"3"003SJB;L;]EF)$\'.H
M1)6G2>]]FF%AQ8BQPE@CZ7%]#N&]]#U9/H?H8ZO<XXL"0GPF('@^^%'_?D(V
M>A433@#'NF&S<T:7)\1%3=$N<RJI6A'-"N/JLWW=#9R&=^"[1L]3>0)L1VUK
M;=H1J#@T+CLVJUEVK<"%(%BQ903$42TRP&8^9\BZ*D7$JNTG>*VQI%A<0.$]
M9)6J1I597HG&3\8Z<@[)?$=3,1&[.F41CE;HY>#9@<PU3#B<N>9,QI6LP*LR
MTBT\O+I--KF355X('+7.7D[-K:L6@[:%RU6@5M?X=91QCI=*TLXOYL.':_A(
M:N]:H:CWM:2:T^,%W`/A4$];#ZC^QC2(GQ$%7YD$^]B"?&O1]CF^+ZW^#9YS
MI.DF]YMI)QD;["UR@@=!U124QN%I:=)ZXB7O0&S`3]SJ/V/>ZO^WK?6XCZWB
MT`>;-L\Q_6),0C68#*9B!>,=0R1C<I('G+"9%Y*8D1-K\P3+_LLR$/PEUF%;
MHKB_\S[75WL&G!\()2&KJV?,P=H7O6-[<Z:!Y`6'Z4)_(I][Z>&AX2`G?B"C
MI>R)AA]4,`?T9+'Y_M9Z4@>F*:;4?@E_U'U(6M));\Y1WP-[,!.($O&$20D9
M"'T>0N'5T>@8:/-"Z'57`?RYL"S"17^`/<!JW8U:4;MSFX!R;NS1ZG>IAPKL
ME1T;'F#_#`H/DG$9`([`0-%]B%></L1+6>P8%Y#6"4H3^MB@YW80`V#D=>&K
MD+AWN7C8,H87FO/FG#LA3C9H6-D+FC]<WV=QN&2$4LZCE%,4&"ODQBCOLW[]
M0L%5&@M9I>R1NO;F-KM*I"['Q?0!WN[$L.B!40H\`</,4[-SDV?8:!S(AD.>
MJ)Z'LW\H^8FM9DI6JLJDJS5S'O'8#3M'6V1=BTV[B9XM-S?QJT,&*NS:DQ4N
M[/EPZM1NZ;[[$=7.H8Y$DK0FE7<T+EX$UN6E`PY-&P84,-G1T<(&*)+#B%W5
M.0^7IH9M(W,GI#P#=ZOGX?:%/J+LP>UVNN]`IH>QY.6TN(I(0D@DD>2)E/%L
M]@^)#N,H8$RG?WH=W1[/#BQS`A%+#N@=1'N.+YE+.\F@&VQ?46DH*)(I$@1L
M\?1?H>['"RC>V1S#F&Y[WT\$#H_6%7+6R\*R*91>ITLR$;WF@6"I:0A4:(]F
M(-[@\3J4,#Q5=12\]UCL&]HTY29B:(:-R8#!5]L.IYAWP7G?@V8Q7TQ6S>C&
MHT<!=WDTT;%V@NF7L"?9Y#Z#S0`U#V(4-@Y&@IBSMJE>0A\H%C/K<$W'/HY"
M:!9Z@TX%(1*@&9QB-/$8W=75")T@.1-^68CZ035J(V8@1@AD>$,O,@P="R'B
MN7*)R?0QV'>(BHC$57$[L-0O+.`<N\\MW0:,Y3`V@JV#_P8F!$AWQ3BV&0J#
M&+(/F:*.'.)Q/A;`9MSP.H0Q70S9";BE"4W9S:4*Q]9?QW`PH]A#D4?/5L])
M,AS*-?MFL'FT>VC[+=E;MQ#=2PQI.0AW-)($NQL7"S51U%?4'OI9+@4/@@8:
M@8@2)(DA`AT*`3["AH4>H)'8#&&[P4$098HJ#H1M!C9O;'604Y+%&Y@]QD:G
MQ;1M(PO]QST<FFG-"!9"]@AM()=#G\X9!Y731BKD-"IN70C07#90H6)@YMH]
MR=-X>"8A!/%U@)H)Y#H-A-D0SND8(0@P(1@0A($(+$"=`)2/_3CF3`"K$A@'
MO!B`'(V%FRCH-[X.98>3^--[;EY^-:!@F]_*[P?+7/03EJXT.H#%5BV&*H`M
M8289M1)7AW#1W0(]O27V3VCF'G3>0J#6QD9&/B!PR<4,3,-0T:G4,*,>0AHH
M87<AR7`ZH5:$R>F:]=G<.34Q;,8EGDU8)27,NDPD]MHZVJ`S-*(AR%@<"'2!
MOFA-8DVZY.T3#T.C@-8$THA!U3[AYVHOBV#A2)$[E,2\#%X%ZE1,UC>^`5.M
MJ/8P<&ZG(U;5K4)&1G:QTT#DDZ@N8>L;E=6YVD&/5U4+L&^JQ2LX:-%)]:U2
M_8>@/&@W(:F#96B=I5W>H;V'4:`8`UZM-W!.85%LR`H".H-:)RPQ@8VQ$"33
M`O*DZLGO"E8NA):8)HFK`V"*Y@/C&@NSV;52QN98D<D::1*>B\7@['C>A@P;
MD`IC'>&[7OSC6%`._/8$A$D9#JPH.JMVJ/G00VN*8J'%@(4&<38!S&UK%42)
M(KUL#`-8BQ=51W@\6['@/!#R0CX_@'8Y.$L"=RT'AR'3K6A\E*73U]UL`%]"
MK]#/?/I?<<PR*805/?!^U\?"3\TJ!'@]#(A^)J@A$"1\!7</M=*FMRX#&#"(
M^(-[7(4H$0@V[`#5J_G_`W#=*-VSXB%1*M]!D'+:K2LUB$`FK0T"16EQ"$O^
*+N2*<*$AYW0]P@``
`
end

From owner-scwm-discuss@mit.edu  Tue Apr 13 10:57:49 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA21987
	for scwm-discuss-outgoing; Tue, 13 Apr 1999 10:57:49 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA21984
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 13 Apr 1999 10:57:48 -0400
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA22056; Tue, 13 Apr 99 10:58:26 EDT
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for <scwm-discuss@mit.edu>
          Tue, 13 Apr 1999 09:57:24 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Tue, 13 Apr 1999 09:57:23 -0500 (CDT)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14099.23379.275327.147860@juno>
Date: Tue, 13 Apr 1999 09:57:23 -0500 (CDT)
From: Equality 7-2521 <beuscher@eecs.tulane.edu>
To: scwm-discuss@mit.edu
Subject: message-window
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


i am having weirdness using message-window-style from
(app scwm message-window)

for:
> scwm --version
Scwm Version 0.99.1 compiled on Apr 12 1999 at 09:08:00
RCS_ID=$Id: scwm.c,v 1.183 1999/04/12 00:22:34 gjb Exp $
Repository Timestamp: Mon Apr 12 00:49:37 EDT 1999 -- $Revision: 1.1284 $


briefly: i check the message-window-default, then try to change
the style of the default-message-window, with no success.    but
i can change the style by manually calling the setters myself.

i didnt see anything obviously wrong in message-window-style.
since i believe guile has call-by-value w/ indirect aggregates, i
dont think there is a closure problem in message-window-style.

so i really dont know what to think about this.


scwm> (message-window-font default-message-window)
#<font "*helvetica*medium-r*10*">
scwm> (message-window-colors default-message-window)
(#<color "black"> #<color "grey75">)
scwm> (message-window-style default-message-window fixed-10x15 black steel-bluish)
#<unspecified>
scwm> (message-window-font default-message-window)
#<font "*helvetica*medium-r*10*">
scwm> (message-window-colors default-message-window)
(#<color "black"> #<color "grey75">)
scwm> (message-window-set-font! default-message-window fixed-10x15)
#<unspecified>
scwm> (message-window-font default-message-window)
#<font "10x20">
scwm> (message-window-set-colors! default-message-window black steel-bluish)
#<unspecified>
scwm> (message-window-colors default-message-window)
(#<color "black"> #<color "#60a0c0">)
scwm> 


-- 
eric

From owner-scwm-discuss@mit.edu  Tue Apr 13 12:03:28 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA22378
	for scwm-discuss-outgoing; Tue, 13 Apr 1999 12:03:28 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA22375
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 13 Apr 1999 12:03:27 -0400
Received: from [209.116.26.126] by MIT.EDU with SMTP
	id AA29321; Tue, 13 Apr 99 12:03:03 EDT
Received: (from doug@localhost)
	by kabuki.leitess.com (8.8.7/8.8.7) id MAA11669;
	Tue, 13 Apr 1999 12:03:02 -0400
To: scwm-discuss@mit.edu
Subject: window-style misbehaving + drag problems
From: Doug McNaught <doug@mcnaught.org>
Date: 13 Apr 1999 12:03:01 -0400
Message-Id: <m3iub0mrt6.fsf@kabuki.leitess.com>
Lines: 37
X-Mailer: Gnus v5.6.44/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I'm running the following scwm snapshot (19990412):

Scwm Version 0.99.1 compiled on Apr 12 1999 at 15:19:11
RCS_ID=$Id: scwm.c,v 1.183 1999/04/12 00:22:34 gjb Exp $
Repository Timestamp: Mon Apr 12 00:49:37 EDT 1999 -- $Revision: 1.1284 $

I have the following line in .scwmrc:

(window-style "eMusic DR*" #:no-titlebar #t #:sticky #t #:border-width 0)

Since upgrading to this snapshot the line has no effect.  xwininfo
reports the window title as "eMusic DR0.8" which should match the
above.  If I interactively do (style-one-window (select-window) ...)
the style is applied correctly. 

Another problem with this app is that it manages its own dragging,
closing, etc (doesn't need a titlebar or borders).  When I try to move
the window between viewports by dragging the "titlebar" portion of the 
window, the viewport flip never happens.  I can apply a titlebar to
the window and drag it between viewports that way, so it's something
specific to eMusic's built-in drag behavior. 

If it'll help, the output of 'xprop' for the window in question is:

WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x34000ce
_WIN_LAYER(CARDINAL) = 4
_WIN_STATE(CARDINAL) = 1
_WIN_WORKSPACE(CARDINAL) = 0
WM_NAME(STRING) = "eMusic DR0.8"
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x0, 0x0, 0x0

-Doug
-- 
Doug McNaught       doug@mcnaught.org     http://www.mcnaught.org/~doug

From owner-scwm-discuss@mit.edu  Tue Apr 13 14:45:51 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA23491
	for scwm-discuss-outgoing; Tue, 13 Apr 1999 14:45:51 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA23488
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 13 Apr 1999 14:45:50 -0400
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA12717; Tue, 13 Apr 99 14:46:29 EDT
Received: (qmail 20549 invoked by uid 501); 13 Apr 1999 18:45:26 -0000
Date: Tue, 13 Apr 1999 11:45:26 -0700
From: Todd Larason <jtl@molehill.org>
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: memory usage
Message-Id: <19990413114526.A20427@molehill.org>
References: <m3r9ppmw24.fsf@eho.eaglets.com> <19990412140824.A25206@molehill.org> <qrru2ulpkba.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <qrru2ulpkba.fsf@elwha.cs.washington.edu>; from Greg Badros on Mon, Apr 12, 1999 at 03:04:25PM -0700
X-Kibo: I think Albert Einstein is infinite most of the time. YES!.  YES!.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990412, Greg Badros wrote:
> Yep... this is probably the same leak seen by Sam...  are you guys using 
> the new imlib interface?  Maybe that's the source of the leaks?

It may be.  If so, I doubt it's the cache.  This scwm is up to 58megs (from 35 
yesterday), and it shouldn't have needed to load any additional pixmaps since
it started up.

There's a new version of Electric Fence out, I saw.  That's been on my 'to
look at' list for a while; anyone know if it helps with leaks?

I have a Purify license, but my Sparc isn't hooked up right now (it lost its
table space to an Apple IIgs...the poor Sun must be devestated).  If there's
someone with time, the right hardware, and an inclination, we can work out
some way of sharing the license - by my reading, it's a
single-simultaneous-user thing, so it should be legal.
-- 
"My weaknesses, you know each and every one." -- Depeche Mode
UIN: 7095974

From owner-scwm-discuss@mit.edu  Tue Apr 13 17:13:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA24238
	for scwm-discuss-outgoing; Tue, 13 Apr 1999 17:13:13 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA24235
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 13 Apr 1999 17:13:11 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA20985; Tue, 13 Apr 99 17:12:45 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id XAA08920
	for scwm-discuss@mit.edu; Tue, 13 Apr 1999 23:00:17 +0200 (MET DST)
Received: (qmail 3009 invoked by uid 115); 13 Apr 1999 20:45:16 -0000
To: scwm-discuss@mit.edu
Subject: Re: Window placement on mouse click viewport instead of current viewport?
References: <m2btgv8sur.fsf_-_@blinky.bfr.co.il> <wsn20dzz70.fsf@orcus.priv.at> <qrrr9pppiu6.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 13 Apr 1999 22:44:58 +0200
In-Reply-To: Greg Badros's message of "12 Apr 1999 15:36:17 -0700"
Message-Id: <ws1zhocks5.fsf@orcus.priv.at>
Lines: 24
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 12 Apr 1999 15:36:17 -0700
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> So, we must use a hint that is widely available (i.e., probably
 Greg> one of the Xt toolkit hints) and accessible to the WM. Ideally,
 Greg> it would also let us encode a reasonable amount of information.
 Greg> Think -geometry!

[plan how to exploit geometry for fun & profit snipped]

Um, yes, that's quite ambitious, but why don't we just use WM_COMMAND?
It is provided by every sane X application and toolkit. It is simple
to understand. It is reasonably unique (or can, in most cases, be
*made* unique).

The major downside is that it is flagged "obsolete" in the holy ICCCM.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Tue Apr 13 17:13:26 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA24243
	for scwm-discuss-outgoing; Tue, 13 Apr 1999 17:13:26 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA24240
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 13 Apr 1999 17:13:25 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA21067; Tue, 13 Apr 99 17:12:59 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id XAA08919
	for scwm-discuss@mit.edu; Tue, 13 Apr 1999 23:00:16 +0200 (MET DST)
Received: (qmail 1700 invoked by uid 115); 13 Apr 1999 20:02:12 -0000
To: scwm-discuss@mit.edu
Subject: Re: window-style misbehaving + drag problems
References: <m3iub0mrt6.fsf@kabuki.leitess.com>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 13 Apr 1999 22:02:10 +0200
In-Reply-To: Doug McNaught's message of "13 Apr 1999 12:03:01 -0400"
Message-Id: <ws4smkcmrh.fsf@orcus.priv.at>
Lines: 52
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 13 Apr 1999 12:03:01 -0400
>>>>> Doug McNaught <doug@mcnaught.org> said:

 Doug> (window-style "eMusic DR*" #:no-titlebar #t #:sticky #t
 Doug> #:border-width 0)

 Doug> Since upgrading to this snapshot the line has no effect.

That's probably since Greg changed the default matcher to
`resource-match??'. I.e. your "eMusic DR*" is no longer matched
against window titles and classes, but only against resource classes.

xprop should show the class of a window under WM_CLASS. That eMusic
should not have this property (as indicated by your xprop transcript)
is peculiar.

Anyway, you can use another matcher thusly:

(window-style (title-match?? "eMusic DR*")
        #:no-titlebar #t #:sticky #t #:border-width 0)

 Doug> Another problem with this app is that it manages its own
 Doug> dragging, closing, etc (doesn't need a titlebar or borders).
 Doug> When I try to move the window between viewports by dragging the
 Doug> "titlebar" portion of the window, the viewport flip never
 Doug> happens.

Scwm senses that the pointer is near the edge by having four invisible
"pan frame" windows positioned at the screen edges. These are normally
kept on top of all other windows. But if you move a window, these pan
frames will temporarily stay below this window, and Scwm will have its 
senses blinded. For the case of Scwm moving the windows itself, this
is not a problem, since it can still check the pointer position. If
the movement is controlled by another entity, though, Scwm will not be 
able to detect the screen edge until the move is finished (and the pan 
frames are brought to top again).

I don't know offhand, how to solve this dilemma. If anybody has more
clue, speak up!

That said, I'll offer a work around that I use: I have
        (bind-mouse 'all "s-1" move-or-raise)
in my scwmrc. This allows me to move any window by just dragging it
while Super is pressed. Quite nice for those no-titlebar windows.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Tue Apr 13 17:56:01 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA24834
	for scwm-discuss-outgoing; Tue, 13 Apr 1999 17:56:01 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA24828
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 13 Apr 1999 17:56:00 -0400
Received: from [209.116.26.126] by MIT.EDU with SMTP
	id AA04380; Tue, 13 Apr 99 17:55:34 EDT
Received: (from doug@localhost)
	by kabuki.leitess.com (8.8.7/8.8.7) id RAA11936;
	Tue, 13 Apr 1999 17:55:40 -0400
To: scwm-discuss@mit.edu
Subject: Re: window-style misbehaving + drag problems
References: <m3iub0mrt6.fsf@kabuki.leitess.com> <ws4smkcmrh.fsf@orcus.priv.at>
From: Doug McNaught <doug@mcnaught.org>
Date: 13 Apr 1999 17:55:39 -0400
In-Reply-To: Robert Bihlmeyer's message of "13 Apr 1999 22:02:10 +0200"
Message-Id: <m3btgsnq1w.fsf@kabuki.leitess.com>
Lines: 44
X-Mailer: Gnus v5.6.44/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> That's probably since Greg changed the default matcher to
> `resource-match??'. I.e. your "eMusic DR*" is no longer matched
> against window titles and classes, but only against resource classes.
> 
> xprop should show the class of a window under WM_CLASS. That eMusic
> should not have this property (as indicated by your xprop transcript)
> is peculiar.

Yeah, but given the characteristics of the program, I'm not too
surprised.  It's the buggiest piece of software I've ever found
usable. 

> Anyway, you can use another matcher thusly:
> 
> (window-style (title-match?? "eMusic DR*")
>         #:no-titlebar #t #:sticky #t #:border-width 0)

Cool, will give it a try. 

> Scwm senses that the pointer is near the edge by having four invisible
> "pan frame" windows positioned at the screen edges. These are normally
> kept on top of all other windows. But if you move a window, these pan
> frames will temporarily stay below this window, and Scwm will have its 
> senses blinded. For the case of Scwm moving the windows itself, this
> is not a problem, since it can still check the pointer position. If
> the movement is controlled by another entity, though, Scwm will not be 
> able to detect the screen edge until the move is finished (and the pan 
> frames are brought to top again).

Ahhh, OK.  Makes perfect sense.

> That said, I'll offer a work around that I use: I have
>         (bind-mouse 'all "s-1" move-or-raise)
> in my scwmrc. This allows me to move any window by just dragging it
> while Super is pressed. Quite nice for those no-titlebar windows.

I just tried moving it with the window-ops "move" item and it switched 
screens just fine.  That'll do for me.

-Doug
-- 
Doug McNaught       doug@mcnaught.org     http://www.mcnaught.org/~doug

From owner-scwm-discuss@mit.edu  Tue Apr 13 18:00:11 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA24887
	for scwm-discuss-outgoing; Tue, 13 Apr 1999 18:00:11 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA24883
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 13 Apr 1999 18:00:10 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA05577; Tue, 13 Apr 99 17:59:44 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA06849; Tue, 13 Apr 1999 14:59:43 -0700 (PDT)
To: Todd Larason <jtl@molehill.org>
Cc: scwm-discuss@mit.edu
Subject: Re: memory usage
References: <m3r9ppmw24.fsf@eho.eaglets.com> <19990412140824.A25206@molehill.org> <qrru2ulpkba.fsf@elwha.cs.washington.edu> <19990413114526.A20427@molehill.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Apr 1999 14:59:42 -0700
In-Reply-To: Todd Larason's message of "Tue, 13 Apr 1999 11:45:26 -0700"
Message-Id: <qrr7lrgkwq9.fsf@elwha.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Todd Larason <jtl@molehill.org> writes:

> On 990412, Greg Badros wrote:
> > Yep... this is probably the same leak seen by Sam...  are you guys using 
> > the new imlib interface?  Maybe that's the source of the leaks?
> 
> It may be.  If so, I doubt it's the cache.  This scwm is up to 58megs (from 35 
> yesterday), and it shouldn't have needed to load any additional pixmaps since
> it started up.

Wow... that's big.... can you watch it's size grow and see if you can
determine when it is getting bigger (i.e., what are you doing when it grows).

<snip>

Here's my "pswatchsize" script which I use to do this:

#!/uns/bin/zsh -f
GREPFOR=$1; shift
DELAY=2
bigsize=0
while true; do
  size=`ps auxwwww | awk '/'"$GREPFOR"'/ && $0 !~ /awk/ && $0 !~
/pswatchsize/ {print $5}'`
  print -u2 $size
  if [[ $size > $bigsize ]]; then 
    bigsize=$size; 
  fi
  if [[ $size == "" ]]; then
    echo $bigsize && break
  fi
  sleep $DELAY
done

From owner-scwm-discuss@mit.edu  Tue Apr 13 18:02:31 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA24947
	for scwm-discuss-outgoing; Tue, 13 Apr 1999 18:02:31 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA24943
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 13 Apr 1999 18:02:30 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA22907; Tue, 13 Apr 99 18:03:09 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA06872; Tue, 13 Apr 1999 15:02:04 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Window placement on mouse click viewport instead of current viewport?
References: <m2btgv8sur.fsf_-_@blinky.bfr.co.il> <wsn20dzz70.fsf@orcus.priv.at> <qrrr9pppiu6.fsf@elwha.cs.washington.edu> <ws1zhocks5.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Apr 1999 15:02:04 -0700
In-Reply-To: Robert Bihlmeyer's message of "13 Apr 1999 22:44:58 +0200"
Message-Id: <qrr3e24kwmb.fsf@elwha.cs.washington.edu>
Lines: 15
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> [plan how to exploit geometry for fun & profit snipped]
> 
> Um, yes, that's quite ambitious, but why don't we just use WM_COMMAND?
> It is provided by every sane X application and toolkit. It is simple
> to understand. It is reasonably unique (or can, in most cases, be
> *made* unique).
> 
> The major downside is that it is flagged "obsolete" in the holy ICCCM.

I thought about WM_COMMAND, but how do you set it w/o changing the
arguments to the process you exec?

Greg

From owner-scwm-discuss@mit.edu  Tue Apr 13 18:11:26 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA25114
	for scwm-discuss-outgoing; Tue, 13 Apr 1999 18:11:26 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA25111
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 13 Apr 1999 18:11:25 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA08913; Tue, 13 Apr 99 18:10:59 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA06875; Tue, 13 Apr 1999 15:10:43 -0700 (PDT)
To: Equality 7-2521 <beuscher@eecs.tulane.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: message-window
References: <14099.23379.275327.147860@juno>
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Apr 1999 15:10:43 -0700
In-Reply-To: Equality 7-2521's message of "Tue, 13 Apr 1999 09:57:23 -0500 (CDT)"
Message-Id: <qrrzp4cjhng.fsf@elwha.cs.washington.edu>
Lines: 37
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Equality 7-2521 <beuscher@eecs.tulane.edu> writes:

> i didnt see anything obviously wrong in message-window-style.
> since i believe guile has call-by-value w/ indirect aggregates, i
> dont think there is a closure problem in message-window-style.
> 
> so i really dont know what to think about this.
> 

<snip>

> scwm> (message-window-style default-message-window fixed-10x15 black steel-bluish)

<snip>

m-w-s takes keyword arguments, not optional arguments:

 documentation:

(message-window-style msgwin #&key (font #f) (fg #f) (bg #f))
                             ^^^^^ 
- (app scwm message-window)
Set visual style of MSGWIN.
FONT specifies the font, FG the foreground color, and BG the
background color.


So you should do:

(m-w-s d-m-w #:font fixed-10x15 #:fg black #:bg steel-bluish)

or any subset of the options.

How could we make this distinction stand out more in the documentation?
I can imagine this being an easy mistake to make.

Greg

From owner-scwm-discuss@mit.edu  Tue Apr 13 18:21:14 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA25312
	for scwm-discuss-outgoing; Tue, 13 Apr 1999 18:21:14 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id SAA25309
	for <scwm-discuss@vicarious-existence.mit.edu>; Tue, 13 Apr 1999 18:21:13 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA06890; Tue, 13 Apr 1999 15:20:51 -0700 (PDT)
To: scwm-discuss@mit.edu
Subject: keyword arg-taking procs
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Apr 1999 15:20:50 -0700
Message-ID: <qrrvhf0jh6l.fsf@elwha.cs.washington.edu>
Lines: 12
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Suppose we documented instead of like this:

(message-window-style msgwin #&key (font #f) (fg #f) (bg #f))

we do:

(message-window-style msgwin [#:font #f] [#:fg #f] [#:bg #f])

I'm sure I'm breaking all sorts of scheme tradition here... other
suggestions?

Greg

From owner-scwm-discuss@mit.edu  Tue Apr 13 18:50:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA25665
	for scwm-discuss-outgoing; Tue, 13 Apr 1999 18:50:03 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA25662
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 13 Apr 1999 18:50:02 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA05462; Tue, 13 Apr 99 18:50:41 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA06911; Tue, 13 Apr 1999 15:49:41 -0700 (PDT)
To: scwm-discuss@mit.edu
Subject: optargs erroring? [ was Re: message-window]
References: <14099.23379.275327.147860@juno>
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Apr 1999 15:49:41 -0700
In-Reply-To: Equality 7-2521's message of "Tue, 13 Apr 1999 09:57:23 -0500 (CDT)"
Message-Id: <qrrogksjfui.fsf@elwha.cs.washington.edu>
Lines: 9
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Instead of (or in addition to) making the documentation more clear, I
wonder if optargs could error usefully when a non-keyword is in a
keyword spot of a keyword-taking procedure.  The erroring for
unrecognized keywords is a *big* win, and it seems just as useful to
error if something besides a keyword occurs where a keyword should.  A
"wrong keyword argument"-like error certainly would've suggested the fix 
to Eric, as well.

Greg

From owner-scwm-discuss@mit.edu  Tue Apr 13 20:04:02 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA26102
	for scwm-discuss-outgoing; Tue, 13 Apr 1999 20:04:02 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id UAA26096
	for <scwm-discuss@vicarious-existence.mit.edu>; Tue, 13 Apr 1999 20:04:00 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA07299; Tue, 13 Apr 1999 17:03:38 -0700 (PDT)
To: scwm-discuss@mit.edu
Subject: use-scwm-modules feature
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Apr 1999 17:03:37 -0700
Message-ID: <qrrn20chxuu.fsf@elwha.cs.washington.edu>
Lines: 48
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I'd become a bit bothered by the way that guile's use-modules will not
import any of the modules if even just one of the imports fails.  This
is especially problematic in user's .scwmrcs because a single missing
module will result in all modules not being loaded, and most of the rest 
of the file being nonsense.  Of cource one could write:

(use-modules (app scwm base))
(use-modules (app scwm winops))
(use-modules (app scwm winlist))
(use-modules (ice-9 string-fun))
.... etc.

instead of invoking the use-modules macro only once, but it's already
reduandant enough.

To address this problem, I just added the included code below to Scwm's
minimal.scm to provide a `use-scwm-modules' macro, usable like so:

(use-scwm-modules base winops winlist (ice-9 string-fun))

(note that just a symbol defaults to assumming (app scwm foo)).  If, for 
example, winlist is misspelled or missing, the other modules will still
load just fine, and Scwm has a far better chance of being usable.

If this isn't possible in some other way in guile, I think making
use-modules more tolerant of errors should be considered.

Greg

;; Guile/Scheme code follows

(define-public (process-use-scwm-module module)
  (if (symbol? module)
      (set! module (append '(app scwm) (list module))))
  (catch #t
 (lambda ()
   (process-use-modules (list module)) #t)
 (lambda (key . args)
   (display "Error loading module: ")
   (display module) (newline)
   #f)))

(define-public (process-use-scwm-modules module-list)
  (map process-use-scwm-module module-list))

(defmacro use-scwm-modules modules
  `(process-use-scwm-modules ',modules))


From owner-scwm-discuss@mit.edu  Wed Apr 14 04:53:26 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA31089
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 04:53:26 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA31086
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 04:53:25 -0400
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA25176; Wed, 14 Apr 99 04:53:17 EDT
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id KAA12893
	for <scwm-discuss@mit.edu>; Wed, 14 Apr 1999 10:53:22 +0200 (MET DST)
Date: Wed, 14 Apr 1999 10:53:21 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@mit.edu
Subject: Re: use-scwm-modules feature
Message-Id: <19990414105320.A11882@youkaidi.irisa.fr>
References: <qrrn20chxuu.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Mailer: Mutt 0.95.3us
In-Reply-To: <qrrn20chxuu.fsf@elwha.cs.washington.edu>; from Greg Badros on Tue, Apr 13, 1999 at 05:03:37PM -0700
X-Mime-Autoconverted: from 8bit to quoted-printable by ulla.irisa.fr id KAA12893
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by VICARIOUS-EXISTENCE.MIT.EDU id EAA31087
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros écrivait :
> ;; Guile/Scheme code follows
> 
> (define-public (process-use-scwm-module module)
>   (if (symbol? module)
>       (set! module (append '(app scwm) (list module))))
>   (catch #t
>  (lambda ()
>    (process-use-modules (list module)) #t)
>  (lambda (key . args)
>    (display "Error loading module: ")
>    (display module) (newline)
>    #f)))
> 
> (define-public (process-use-scwm-modules module-list)
>   (map process-use-scwm-module module-list))
> 
> (defmacro use-scwm-modules modules
>   `(process-use-scwm-modules ',modules))



But where do you use-modules ?

BTW where can I get some documentation about guile ? For instance I
don't know how works the "catch" function (I have "call/cc" in my R4RS
but not "catch"), nor how to write and use modules.

From owner-scwm-discuss@mit.edu  Wed Apr 14 05:15:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA31268
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 05:15:33 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA31265
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 05:15:32 -0400
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA26658; Wed, 14 Apr 99 05:15:24 EDT
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id LAA13284
	for <scwm-discuss@mit.edu>; Wed, 14 Apr 1999 11:15:29 +0200 (MET DST)
Date: Wed, 14 Apr 1999 11:15:28 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@mit.edu
Subject: Re: use-scwm-modules feature
Message-Id: <19990414111528.B11882@youkaidi.irisa.fr>
References: <qrrn20chxuu.fsf@elwha.cs.washington.edu> <19990414105320.A11882@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Mailer: Mutt 0.95.3us
In-Reply-To: <19990414105320.A11882@youkaidi.irisa.fr>; from Hubert Canon on Wed, Apr 14, 1999 at 10:53:21AM +0200
X-Mime-Autoconverted: from 8bit to quoted-printable by ulla.irisa.fr id LAA13284
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by VICARIOUS-EXISTENCE.MIT.EDU id FAA31266
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hubert Canon écrivait :
> > (define-public (process-use-scwm-module module)
> >   (if (symbol? module)
> >       (set! module (append '(app scwm) (list module))))
> >   (catch #t
> >  (lambda ()
> >    (process-use-modules (list module)) #t)
> >  (lambda (key . args)
> >    (display "Error loading module: ")
> >    (display module) (newline)
> >    #f)))
> 
> But where do you use-modules ?

Sorry, I haven't seen the "process-use-modules" function.

Excuse me for flooding your mbox.


From owner-scwm-discuss@mit.edu  Wed Apr 14 05:31:51 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA31393
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 05:31:51 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA31390
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 05:31:50 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA27696; Wed, 14 Apr 99 05:31:42 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id CAA08648; Wed, 14 Apr 1999 02:31:44 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@mit.edu
Subject: Re: use-scwm-modules feature
References: <qrrn20chxuu.fsf@elwha.cs.washington.edu> <19990414105320.A11882@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Apr 1999 02:31:43 -0700
In-Reply-To: Hubert Canon's message of "Wed, 14 Apr 1999 10:53:21 +0200"
Message-Id: <qrr3e23a6ps.fsf@elwha.cs.washington.edu>
Lines: 41
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> > ;; Guile/Scheme code follows
> > 
> > (define-public (process-use-scwm-module module)
> >   (if (symbol? module)
> >       (set! module (append '(app scwm) (list module))))
> >   (catch #t
> >  (lambda ()
> >    (process-use-modules (list module)) #t)
> >  (lambda (key . args)
> >    (display "Error loading module: ")
> >    (display module) (newline)
> >    #f)))
> > 
> > (define-public (process-use-scwm-modules module-list)
> >   (map process-use-scwm-module module-list))
> > 
> > (defmacro use-scwm-modules modules
> >   `(process-use-scwm-modules ',modules))
> 
> 
> 
> But where do you use-modules ?

process-use-modules is the procedure that the `use-modules' macro
invokes.  I'm calling it directly since I wrap the functionality in its
own macro to defer evaluation appropriately.

> BTW where can I get some documentation about guile ? For instance I
> don't know how works the "catch" function (I have "call/cc" in my R4RS
> but not "catch"), nor how to write and use modules.

The guile-ref info page has some of this information, the Scwm source
tree is a good source of some additional information (some under
doc/dev), and the guile web page has some other pointers.  In general,
it's pretty lame.  W.r.t. writing scheme modules, just use the Scwm
modules as an example, and ask questions here and/or on the
guile@cygnus.com list when you have difficulties.

Greg

From owner-scwm-discuss@mit.edu  Wed Apr 14 06:21:22 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA31690
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 06:21:22 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id GAA31687
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 06:21:21 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA18010; Wed, 14 Apr 99 06:22:17 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id DAA08709; Wed, 14 Apr 1999 03:21:12 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@mit.edu
Subject: Re: use-scwm-modules feature
References: <qrrn20chxuu.fsf@elwha.cs.washington.edu> <19990414105320.A11882@youkaidi.irisa.fr> <19990414111528.B11882@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Apr 1999 03:21:11 -0700
In-Reply-To: Hubert Canon's message of "Wed, 14 Apr 1999 11:15:28 +0200"
Message-Id: <qrryajv8puw.fsf@elwha.cs.washington.edu>
Lines: 28
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hubert Canon icrivait :
> > > (define-public (process-use-scwm-module module)
> > >   (if (symbol? module)
> > >       (set! module (append '(app scwm) (list module))))
> > >   (catch #t
> > >  (lambda ()
> > >    (process-use-modules (list module)) #t)
> > >  (lambda (key . args)
> > >    (display "Error loading module: ")
> > >    (display module) (newline)
> > >    #f)))
> > 
> > But where do you use-modules ?
> 
> Sorry, I haven't seen the "process-use-modules" function.

Neither had I before I wrote the above code! :-)  I didn't even know it
existed! 

> Excuse me for flooding your mbox.

No need to apologize... it was a good question... I just read the
use-modules source in the guile-core and figured out how it work, then
made it do the magic I wanted.

Greg

From owner-scwm-discuss@mit.edu  Wed Apr 14 06:25:55 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA31739
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 06:25:55 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id GAA31736
	for <scwm-discuss@vicarious-existence.mit.edu>; Wed, 14 Apr 1999 06:25:54 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id DAA08713; Wed, 14 Apr 1999 03:25:47 -0700 (PDT)
To: scwm-discuss@mit.edu, guile@cygnus.com
Subject: SMOB tutorial for Scwm and Guile
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Apr 1999 03:25:47 -0700
Message-ID: <qrrvhez8pn8.fsf@elwha.cs.washington.edu>
Lines: 535
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I just wrote some introductory developer-level documentation for Guile
SMOBs with a focus on how we use them in Scwm, our conventions, and our
macros (though I generally explain how it works in Guile alone, too).
The below is the documentation... I'm looking for feedback, and hoping
people will benefit from it (and start writing Scwm code!)  I imagine I
got some stuff a bit off, and I occasionally put a question of my own in 
the text that I've not yet had time to look at the source to answer.

Enjoy!

Greg B.


SMOBs -- SMall OBjects for Guile/Scheme
(C) 1999 Greg J. Badros <gjb@cs.washington.edu>
14 April 1999

INTRODUCTION

When you want a new primitive object type in Guile/Scheme
or Scwm, you need to create a new SMOB -- SMall OBject (or
ScheMe OBject).  Guile/Scheme and Scwm provide a nice
layer of abstraction over creating SMOBs, so it's reasonably
easy to build a new primitive object type, but there are
lots of places things can go wrong.  This document
tries to explain the details of SMOBs, and how to create
and use them effectively.


REPRESENTATION OF SMOB INSTANCES

A SMOB is represented in Guile as a normal scheme CONS cell. The CAR of
the CONS cell is an identification number. This number is dynamically
assigned to the SMOB when it is registered via scm_newsmob (or
REGISTER_SCWMSMOBFUNS for Scwm).  The identification number is distinct
from all other legal Scheme values so that the Guile interpreter can tell 
unambiguously what type of object it is strictly from looking at the CAR 
of the CONS cell.  The CDR of the CONS cell is a pointer to the C
structure which contains the internal information for that type of
primitive object.  Pictorially, it looks something like this:


SMOB CONS cell 
(CAR is the left value, CDR is the right value)
-------------------------------------
|                 |                 |
|                 |                 |
|                 |                 |
| scm_tc_16_IDNUM |                 |
|                 |       |         |
|                 |       |         |
|                 |       |         |
--------------------------|----------
                          |	      ____________________
			  |	      |                  |
			  |---------->|	 Arbitrary C     |
				      |	 struct	         |
				      |	        	 |
				      --------------------

The arbitrary C struct just contains fields like any C struct, except
some of them may by SCM values.  For example, the color SMOB uses
scwm_color as the struct:

typedef struct {
  Pixel pixel;
  SCM name;
} scwm_color;

Note that embedded SCM values must be handled by the mark procedure --
more on this below.


CREATING A SMOB CLASS

SMOB objects are made visible to the Guile interpreter by registering
them via scm_newsmob.  Scwm wraps this with the REGISTER_SCWMSMOBFUNS
macro.  The REGISTER_SCWMSMOBFUNS macro takes only one argument, 
the short SMOB name (e.g., color):

#define REGISTER_SCWMSMOBFUNS(T) \
  do { scm_tc16_scwm_ ## T = scm_newsmob(& T ## _smobfuns); } while (0)

It saves the assigned ID into a global variable that must be defined and 
declared (use the EXTERN macro in your header file).  The global
variable's name is constructed via cpp's "pasting" operator, ##.  If
your SMOB is named color, then the ID variable constant is
scm_tc16_scwm_color (by convention, enforced by the
REGISTER_SCWMSMOBFUNS).

The Guile scm_newsmob registration function also takes only one
argument-- a pointer to the "scm_smobfuns" structure for the new object
type.  This structure is similar to a vtable in C++: it is a four
element array of pointers to system-level functionality for the new
object type.  The first three functions in the array are the GC mark
function, the GC free function, and the print function.  In Scwm, you
allocate and initialize the structure using the MAKE_SMOBFUNS macro:

#define MAKE_SMOBFUNS(T) \
static scm_smobfuns T ## _smobfuns = { \
  &mark_ ## T, \
  &free_ ## T, \
  &print_ ## T,  0 }

As you can see, MAKE_SMOBFUNS requires a certain convention for the
names of the system-level object functions.  The names must be
"mark_", "free_", and "print_" each followed by the short SMOB name
(e.g., mark_color, mark_free, mark_print).  You will never need to call
these functions explicitly-- the Guile interpreter manages invoking
them as necessary.  E.g., when you evaluate `(make-color "red")' using
scwmrepl or Emacs' scwm-mode, the Scheme procedure make-color returns
a color SMOB.  To display that object (to show you the printable form
of the response), Guile will invoke print_color (more precisely, it
will invoke the function pointed to by the third element of the
scm_smobfuns structure that was pointed to when you registered the
object type "color" [remember Guile knows it's a color object because
of the ID stored in the CAR of the cons cell representing the SMOB
instance]).  See SMOB SYSTEM FUNCTIONS, below.

Like REGISTER_SCWMSMOBFUNS, the MAKE_SMOBFUNS macro takes only the short
SMOB name.  However, while REGISTER_SCWMSMOBFUNS is a macro that
expands to code (and thus needs to be in your init_SMOBNAME function),
MAKE_SMOBFUNS expands to a static struct definition, and can thus be
expanded outside of any function.  By convention, the MAKE_SMOBFUNS
macro call occurs just before the init_SMOBNAME function:

MAKE_SMOBFUNS(color);

void init_color() {
  REGISTER_SCWMSMOBFUNS(color);
  /* code omitted */
#ifndef SCM_MAGIC_SNARFER
#include "color.x"   /* color.x (gen'd by the build process) contains
			code to register the scheme primitive procedures 
 			defined in this .c file */
#endif
}

After the init_color() function is executed, Guile will know how to deal 
with any color objects floating around its heap.  It is important,
therefore, that you register the SMOB before you create any instances
of the SMOB.  Also note that init_color() is explicitly invoked in
scwm_main() in scwm.c;  for dynamically loaded modules, the module
system invokes a function named scm_init_app_scwm_foo_module() defined
in the library, and that function will call scm_register_module_xxx
(literal xxx's) with the module name and the initialization function for 
the module.  Thus, if the color object were a dynamically loaded module, 
color.c would have:

void scm_init_app_scwm_color_module() {
  scm_register_module_xxx("app scwm color", init_color);
}

in it initialize the color SMOB class.  See the documentation in the
file "dynamic-modules" for more information.


MAKING AN INSTANCE OF A SMOB

So, after registering our SMOB, the Guile interpreter knows how to deal
with SMOBs of that type, but we still have not seen how to create a new
object of a SMOB class.  We did, however, see what a SMOB object is
stored internally in an earlier section.  In fact, Guile has no special
help for constructing SMOB instances--- you simply write a primitive
procedure that builds a CONS cell with the appropriate id field and a
pointer to just C structure, and return that SCM object.  Since this is
error-prone, Scwm provides a helper macro, SCWM_NEWCELL_SMOB:

#define SCWM_NEWCELL_SMOB(ANSWER,ID,PSMOB) \
   do { \
     SCM_NEWCELL((ANSWER)); \
     SCM_SETCAR((ANSWER),(ID)); \
     SCM_SETCDR((ANSWER),(SCM) (PSMOB)); \
   } while (0)

As you can see, the macro takes three arguments, the SCM variable to
hold the "answer" object (i.e., the object you're constructing), the ID
number of the type of SMOB you're creating (i.e., the value that goes in 
the CAR of the CONS cell that SCM_NEWCELL creates), and the pointer to
the C structure containing the details of the object instance (i.e., the 
value that goes in the CDR of that same CONS cell).  To create a color
SMOB instance, we would write a C function like this (simplified from
the actual code):

SCM ScmMakeColor(const char *szColorName, XColor xcolor) {
   SCM answer;         /* the object we will build */
   scwm_color *psc = NEW(scwm_color);
   /* initialize the fields of the C scwm_color structure */
   psc->scmName = gh_str02scm(szColorName);
   psc->pixel = color.pixel;
   SCWM_NEWCELL_SMOB(answer, scm_tc16_scwm_color, psc);
   return answer;
}

ScmMakeColor returns a SCM (Scwm uses the Hungarian notation tag "scm"
to mean a Scheme value -- see the documentation file
"hungarian-tags").  The C structure can contain other embedded
SCM values (such as the scmName field, above -- gh_str02scm converts
a null-terminated C string [a str0] into a scm), and arbitrary
other data (such as the pixel value for the XColor passed in.  We use
Scwm's NEW macro to simplify the dynamic allocation of memory.

However ScmMakeColor() is a low-level C function for building the SMOB
SCM value.  We still need to write an exported primitive procedure to
allow Scheme code to create color SMOBs.  The reason why it's best to
write a low-level C function to do the actual building of the SMOB is
that it's often useful to have multiple primitive procedures that may
return an instance of a new SMOB type.  For colors, we will call one of
the primitive constructors `make-color' and it could look like this
(simplified from the actual code):

SCWM_PROC(make_color, "make-color", 1, 0, 0,
           (SCM name))
     /** Return the color object corresponding to the X color specifier NAME. */
#define FUNC_NAME s_make_color
{
  SCM answer;
  char *szName;
  XColor xcolor;
  VALIDATE_ARG_STR_NEWCOPY(1,name,szName); /* stores C string in szName */
  xcolor = XColorFromSz(szName);
  answer = ScmMakeColor(szName,xcolor);
  FREE(szName);  /* release the C string the _NEWCOPY macro allocated */
  return answer;
}
#undef FUNC_NAME

This is an ordinary primitive that happens to create the answer that it
returns using the C function that builds the CONS cell to contain a new
SMOB instance.  The other conventions in the above primitive definition
are explained in the next section, as they are not specific to SMOB
constructor primitives.


A BRIEF DIVERSION -- SCWM PRIMITIVE PROCEDURES

Defining a new primitive procedure to be available from Scheme is what
makes Scwm so powerful and exciting.  Consider the above `make-color'
definition, above. This primitive uses the SCWM_PROC macro (a wrapper
over the SCM_PROC macro that Guile provides -- see scwm-snarf.h,
libguile/snarf.h, and the guile-snarf script) and conforms to Scwm
documentation conventions.  Since the primitive is exposed to the Scheme
language, all arguments to the C function implementing the primitive are
of C type SCM, and the return value of the C function must also be by of 
type SCM.

To make argument conversion easier, the VALIDATE_ARG_STR_NEWCOPY
macro is used to ensure that the "name" argument to the procedure is a
SCM string, and to convert it to a C string for internal use.  That
macro name contains the substring "NEW" to remind the programmer to free
the string (or else a memory leak will result).  The
VALIDATE_ARG_STR_NEWCOPY macro relies on the macro FUNC_NAME being
defined to be the current function name (as a C string).  The function
name is used for error reporting, along with the first argument to the
VALIDATE_* macro which gives the position of the argument to check, and
the second argument to the macro which is the function argument
variable.  (The documentation extraction systems will, e.g., verify that
the first argument of the current function is named "name").

The SCWM_PROC macro introduces a C variable that contains the name of
the primitive (i.e., the second argument to the SCWM_PROC macro --
"make-color" above).  The C variable's name is made to be the C function
name with a "s_" prefix: s_make_color, above.  Also note that the C
function name, make_color, and the Scheme primitive "make-color" must
match.  Since C identifiers and Scheme identifiers have different
lexical rules and conventions, their is a conventional transformation to
go from the C function name to the Scheme name:

               "_p"  changes to "?"
               "_x"  changes to "!"
             "_to_"  changes to "->"
   underscore ("_")  changes to hyphen ("-")

Though there is nothing in C that can enforce these conventions, the
Scwm documentation extractor (cd scwm/doc; rm scwm.sgml; make scwm.sgml) 
will warn you if the names do not match up properly (it also checks
the #define FUNC_NAME line, and ensures documentation comments exist
and mentions all of the arguments by name (see "new-devs" and the
scwmdoc perl script).  It is essential that you build the documentation
to ensure that code you are writing is free from the common bugs that it 
will catch for you.  Errors from the documentation extractor are output
in a format that integrates nicely with Emacs's compile mode, so fixing
your mistakes should be very easy.

The three numbers following the name of the Scheme primitive (the text
enclosed in quotes on the SCWM_PROC line) specify what the arguments to
the primitive will be.  The first number is how many required arguments
there are, the second number is how many optional arguments there are,
and the third number is 1 if the primitive takes a "rest" arg, and 0 if
not.  All three numbers must be non-negative (the third cannot anything
but 0 or 1), and Guile has a limit of 10 total arguments specified
(i.e., the sum of the three numbers).  A "rest" argument corresponds to
the use of the " . rest" construct at the Scheme level--- it is similar
to the varargs C function passing mechanism.  The number of formal
arguments listed on the following line must equal the sum of the three
numbers (this is enforced only by the Scwm documentation system).  E.g., 
each of these is fine:

SCWM_PROC(make_color, "make-color", 1, 0, 0,
           (SCM name))

SCWM_PROC(make_color, "make-color", 1, 1, 0,
           (SCM name, SCM other_color))

SCWM_PROC(make_color, "make-color", 1, 2, 0,
           (SCM name, SCM other_color, SCM use_cache_p))

SCWM_PROC(make_color, "make-color", 1, 2, 1,
           (SCM name, SCM other_color, SCM use_cache_p, SCM other_colors))

but these are both wrong:

SCWM_PROC(make_color, "make-color", 1, 2, 0,
           (SCM name, SCM other_color, SCM use_cache_p, SCM other_colors))
/* above has too many formals */

SCWM_PROC(make_color, "make-color", 1, 1, 0,
           (SCM name))
/* above has too few formals */

And the Scwm documentation extraction tool will warn you about the
mismatch.



MANIPULATING NEW SMOB INSTANCES IN C CODE

Since you will probably want to use the SMOB instances you create, you
need to be able to tell of an SCM is of a specific type, and you need to
be able to get at the C structure containing the guts of the type.  In
Scwm, we do this conventionally with two macros named FOO_P and FOO.
E.g., for color SMOB instances:

/* COLOR_P(X) is True iff X is an instance of the color SMOB type */
#define COLOR_P(X) (SCM_NIMP(X) && gh_car(X) == (SCM)scm_tc16_scwm_color)

/* COLOR(X) returns the scwm_color * with the guts of the X instance;
   it assumes X is a color SMOB instance, and could crash if it is not */
#define COLOR(X)  ((scwm_color *)(gh_cdr(X)))

Since COLOR(X) can be dangerous if X is not a color object, we also have 
a SAFE_COLOR macro:

#define SAFE_COLOR(X) (COLOR_P((X))?XCOLOR((X)):NULL)

that returns the NULL pointer if X is not a color (instead of crashing).

N.B. The wrapping in Scwm for window SMOBs is not typical.  WINDOW(obj)
returns the "scwm_window *" corresponding to obj, but the C level code
uses "ScwmWindow *"s throughout, and the PSWFROMSCMWIN macro returns
this pointer (the ScwmWindow * is actually a field in the scwm_window
struct).  This is not important for wrapping your own primitive objects, 
but matters if you're trying to understand the rest of the Scwm source.

If instances of a SMOB type are frequently used as arguments to
primitives, it's useful to also define VALIDATE_ARG_FOO_* macros to
check the type, copy to a C variable, etc.  Many examples of such macros 
appear in color.h (for color SMOB instances) and validate.h (for the
built-in guile primitive objects).


STANDARD PRIMITIVES YOU SHOULD WRITE FOR ALL SMOB TYPES

For any SMOB type `foo' you create, you need something that constructs
the type (like a constructor in C++, but it is not special-- more like 
in Smalltalk);  see the "MAKING AN INSTANCE OF A SMOB" section above.
The other standard primitive all SMOB types should expose to the Scheme
level is a predicate testing if an arbitrary object is of the SMOB
type: `foo?' is the standard name of this predicate for a SMOB named
foo.  For color, it looks like this:

SCWM_PROC(color_p, "color?", 1, 0, 0, 
           (SCM obj))
     /** Returns #t if OBJ is a color object, otherwise #f. */
#define FUNC_NAME s_color_p
{
  return gh_bool2scm(COLOR_P(obj));
}
#undef FUNC_NAME

It is just a simple wrapper around the COLOR_P macro just discussed.
Note that the C function name is "color_p" which matches the Scheme
primitive name "color?" (the _p stands for predicate).  Also note the
use of gh_bool2scm() which converts a C integer expression (interpreted
as a boolean value in the usual way) to a proper SCM bool value.  Its
inverse is gh_scm2bool(obj) -- gh_scm2bool returns a C boolean
corresponding to obj's value (where obj == SCM_BOOL_F or 
obj == SCM_BOOL_T).  (See the guile-ref info pages section on
"Converting data between C and scheme).

The other standard functions you'll need to write are the SMOB system
functions discussed briefly early, and in more detail below.  As
mentioned previously, these functions are not primitives -- they are not 
invoked explicitly, but are instead run by the Guile interpreter as
needed throughout execution.



SMOB SYSTEM FUNCTIONS

Now that we are able to create instances of SMOBs, the Guile system is
going to start calling our SMOB system functions as necessary.
Remember, these functions are associated with a SMOB via the
REGISTER_SCWMSMOBFUNS and have the conventional names (enforced by
macros) of print_foo, mark_foo, and free_foo for a SMOB with the short
name "foo".

PRINT

The print function must take three arguments: the SMOB object to print,
the SCM port to output the printable representation to, and a pointer
to a scm_print_state structure (this is always unused in Scwm -- I'm not 
sure what it's for or why you'd want to use it).  For colors,
print_color() looks like this (simplified a bit from the code).

int print_color(SCM obj, SCM port, scm_print_state *ARG_IGNORE(pstate))
{
  scwm_color *psc = COLOR(obj);
  scm_puts("#<color ", port);
  scm_write(psc->name, port);
  scm_putc('>', port);
  return 1;
}

The above code uses the Scwm ARG_IGNORE macro to suppress the warning
about the unused variable.  If you do choose to use the pstate formal
argument, you need to remove the ARG_IGNORE macro since it renames the
argument to "pstate_ignore" so you will get an error if you try to use
it.  (For GNU gcc compilers, the formal is marked with the unused
attribute pragma.)

All that the print_color function must do is write the printable
representation of the "obj" object onto "port".  scm_puts writes a C
string to a port, scm_write writes a printable form of an SCM value onto 
the port (invoking that object's "print_*" SMOB system function), and
scm_putc writes a single C character to a port.  You should not print a
newline.  When convenient, you should try to make the printable object
contain enough information to reproduce the object when read in.  It
should at least contain some lightweight debugging information to help
differentiate this specific instance from other instances of the same
SMOB type.  The return value of 1 indicates success.

We used the COLOR macro to get at the scwm_color C struct of "obj" to
then access the "name" field of that structure (an SCM).  We did not
need to use SAFE_COLOR or COLOR_P to ensure that "obj" is a color
because the Guile system would not have invoked print_color on obj if it 
were not color SMOB instance (it would've instead invoked a different
print function).

MARK

The Guile Scheme interpreter uses a simple mark and sweep garbage
collection algorithm.  GC algorithms are beyond the scope of this
document--- all you must understand is that you must recursively mark
any SCM object you embed in a SMOB's C structure in that SMOB's mark
function.  For color, we had a single SCM value embedded in the
scwm_color struct: the color's name (as a Scheme string, not a C
string).   Thus, color's mark function must mark that object to ensure
that it does not get freed prematurely by Guile's garbage collector:

SCM mark_color(SCM obj) {
  scmw_color *psc = COLOR(obj);
  SCM_SETGC8MARK(obj);
  GC_MARK_SCM_IF_SET(psc->name);

  return SCM_BOOL_F;
}

This function does only two things: the macro SCM_SETGC8MARK sets the
marked bit of the object obj (you must mark the object the mark function
is passed), and then marks the embedded SCM name field.  The
GC_MARK_SCM_IF_SET macro is used to ensure that psc->name is not NULL
and is not SCM_UNDEFINED as trying to mark either of those would result
in a crash.  The return value of the mark function is either SCM_BOOL_F, 
or another object to be marked.  mark_color could nearly (modulo the
error handling of GC_MARK_SCM_IF_SET) equivalently be written:

SCM mark_color(SCM obj) {
  scmw_color *psc = COLOR(obj);
  SCM_SETGC8MARK(obj);
  return psc->name;
}

This is just a convenience, and is rarely employed in the Scwm source
code.  See "guile-gc-notes" for more information on the Guile garbage
collector.

FREE

For some SMOB types you create, you need to free other system resources
when an instance of the SMOB is no longer accessible. E.g., if you
stored the color name as a dynamically allocated C string, you need to
free that memory when the SMOB instance is collected and freed from the
heap. (Storing the string as a Scheme string, though, does not require
any special handling in the free function -- it instead requires marking 
in the mark function, see the preceding section).

For the color smob, we must release the X color using XFreeColors:

size_t free_color(SCM obj)
{
  scwm_color *psc=COLOR(obj);
  XFreeColors(dpy, Scr.ScwmRoot.attr.colormap, &psc->pixel, 1, 0);
  FREE(sc);
  return 0;
}

the return value of the free special function is the number of bytes
freed. (I think.... What is this used for? Scwm almost always just
returns 0).  Basically, memory allocated in your constructor
primitive(s) (or the C constructor functions they call) should be freed
in the free function.


SUMMARY

You should now be able to wrap a C structure as a Guile SMOB and
understand how Guile uses the SMOB and the conventions that Scwm uses to 
make wrapping objects easier and less error-prone.


QUESTIONS

Please feel free to write me with your questions at
<gjb@cs.washington.edu>.  Also, <guile@cygnus.com> and <scwm@ph.mit.edu> 
are mailing lists with helpful people listening.


FURTHER REFERENCES

See also the other documentation included in scwm/doc/dev with the Scwm
documentation, the guile-ref info page, Greg Harvey's Quick and Dirty
Guile Scheme documentation (http://home.thezone.net/~gharvey/guile/guile.html),
the Scwm web page: http://vicarious-existence.mit.edu/scwm/, and the
links it references.

From owner-scwm-discuss@mit.edu  Wed Apr 14 08:48:01 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id IAA00163
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 08:48:01 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id IAA00157
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 08:47:41 -0400
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA20039; Wed, 14 Apr 99 08:47:26 EDT
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id OAA16430
	for <scwm-discuss@mit.edu>; Wed, 14 Apr 1999 14:47:25 +0200 (MET DST)
Date: Wed, 14 Apr 1999 14:47:24 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@mit.edu
Subject: Re: use-scwm-modules feature
Message-Id: <19990414144724.C11882@youkaidi.irisa.fr>
References: <qrrn20chxuu.fsf@elwha.cs.washington.edu> <19990414105320.A11882@youkaidi.irisa.fr> <qrr3e23a6ps.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Mailer: Mutt 0.95.3us
In-Reply-To: <qrr3e23a6ps.fsf@elwha.cs.washington.edu>; from Greg Badros on Wed, Apr 14, 1999 at 02:31:43AM -0700
X-Mime-Autoconverted: from 8bit to quoted-printable by ulla.irisa.fr id OAA16430
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by VICARIOUS-EXISTENCE.MIT.EDU id IAA00158
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros écrivait :
> > BTW where can I get some documentation about guile ? For instance I
> > don't know how works the "catch" function (I have "call/cc" in my R4RS
> > but not "catch"), nor how to write and use modules.
> 
> The guile-ref info page has some of this information,

Where can I find this info page ? I only found a WWW version of
guile-ref.

> the Scwm source tree is a good source of some additional information
> (some under doc/dev),

This I what I use actually for the moment.

> and the guile web page has some other pointers.

It has pointer to scheme pages, but not for guile specific ones.

At http://www.red-bean.com/guile/, I see "The current documentation is
broken, but is under reconstruction" 

> In general, it's pretty lame.  W.r.t. writing scheme modules, just
> use the Scwm modules as an example, and ask questions here and/or on
> the guile@cygnus.com list when you have difficulties.

For creating new scwm modules, it is easy, but I don't know how to
create personal guile or scwm modules.

-- 
Hubert Canon

From owner-scwm-discuss@mit.edu  Wed Apr 14 09:57:16 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA00532
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 09:57:16 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA00529
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 09:57:14 -0400
Received: from terra.nlnet.nf.ca by MIT.EDU with SMTP
	id AA27034; Wed, 14 Apr 99 09:58:08 EDT
Received: from localhost (n254h009.thezone.net [198.165.254.9])
	by firma.thezone.net (8.8.8/8.8.8) with ESMTP id LAA25284;
	Wed, 14 Apr 1999 11:27:03 -0230 (NDT)
Received: (from greg@localhost)
	by localhost (8.8.7/8.8.7) id LAA19597;
	Wed, 14 Apr 1999 11:29:38 -0230
To: scwm-discuss@mit.edu
Cc: guile@cygnus.com
Subject: Re: SMOB tutorial for Scwm and Guile
References: <qrrvhez8pn8.fsf@elwha.cs.washington.edu>
From: Greg Harvey <Greg.Harvey@thezone.net>
Date: 14 Apr 1999 11:28:36 -0230
In-Reply-To: Greg Badros's message of "14 Apr 1999 03:25:47 -0700"
Message-Id: <m3d8175mnn.fsf@behemoth.dethfart.org>
Lines: 50
X-Mailer: Gnus v5.6.43/Emacs 20.3
Original-Sender: Greg.Harvey@thezone.net
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> 
> MAKING AN INSTANCE OF A SMOB
> 
> So, after registering our SMOB, the Guile interpreter knows how to deal
> with SMOBs of that type, but we still have not seen how to create a new
> object of a SMOB class.  We did, however, see what a SMOB object is
> stored internally in an earlier section.  In fact, Guile has no special
> help for constructing SMOB instances--- you simply write a primitive
> procedure that builds a CONS cell with the appropriate id field and a
> pointer to just C structure, and return that SCM object.  Since this is
> error-prone, Scwm provides a helper macro, SCWM_NEWCELL_SMOB:
> 
> #define SCWM_NEWCELL_SMOB(ANSWER,ID,PSMOB) \
>    do { \
>      SCM_NEWCELL((ANSWER)); \
>      SCM_SETCAR((ANSWER),(ID)); \
>      SCM_SETCDR((ANSWER),(SCM) (PSMOB)); \
>    } while (0)

This isn't all that safe, unless you change the gc slightly;
this would require putting SCM_SETCDR first (though if things go
wrong, either way is going to give you, at best, a fairly cryptic
error). 


> MARK
> 
> The Guile Scheme interpreter uses a simple mark and sweep garbage
> collection algorithm.  GC algorithms are beyond the scope of this
> document--- all you must understand is that you must recursively mark
> any SCM object you embed in a SMOB's C structure in that SMOB's mark
> function.  For color, we had a single SCM value embedded in the
> scwm_color struct: the color's name (as a Scheme string, not a C
> string).   Thus, color's mark function must mark that object to ensure
> that it does not get freed prematurely by Guile's garbage collector:
> 
> SCM mark_color(SCM obj) {
>   scmw_color *psc = COLOR(obj);
>   SCM_SETGC8MARK(obj);
    ^^^

This isn't needed, since the gc marks the object itself before it
calls the smob mark function. Also, marking really should go thru
scm_gc_mark(obj), instead of the mark macros (I really need to write
some more complete gc docs).

-- 
Greg

From owner-scwm-discuss@mit.edu  Wed Apr 14 11:41:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA01175
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 11:41:37 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA01172
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 11:41:07 -0400
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA21070; Wed, 14 Apr 99 11:40:50 EDT
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Wed, 14 Apr 1999 11:40:19 -0400
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Wed, 14 Apr 1999 11:40:19 -0400
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id LAA17238;
	Wed, 14 Apr 1999 11:40:47 -0400
To: <scwm-discuss@mit.edu>
Subject: Re: gqmpeg & scwm
References: <m3677uilxk.fsf@eho.eaglets.com>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Sam Steingold's message of "21 Mar 1999 16:15:35 -0500"
Date: 14 Apr 1999 11:40:47 -0400
Message-Id: <m390bvp5vk.fsf@eho.eaglets.com>
Lines: 19
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <m3677uilxk.fsf@eho.eaglets.com>
>>>> On the subject of "gqmpeg & scwm"
>>>> Sent on 21 Mar 1999 16:15:35 -0500
>>>> Honorable Sam Steingold <sds@goems.com> writes:
 >> apparently, there is a way for an application to tell the WM that it
 >> doesn't want any WM decorations.  E.g., gqmpeg (gtk front end for
 >> mpg123) doesn't have any decorations under fvwm2.2 

this seems to be fixed now, but not quite.

there is a line (2 pixels wide?) just above the gqmpeg window (separated
from the gqmpeg window with about 2-3 pixels of empty space), which acts
as a title bar.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Lisp: Serious empowerment.

From owner-scwm-discuss@mit.edu  Wed Apr 14 13:40:23 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA01973
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 13:40:23 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA01970
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 13:40:21 -0400
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA06917; Wed, 14 Apr 99 13:40:08 EDT
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Wed, 14 Apr 1999 13:39:45 -0400
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Wed, 14 Apr 1999 13:39:44 -0400
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id NAA17592;
	Wed, 14 Apr 1999 13:40:12 -0400
To: scwm-discuss@mit.edu
Subject: Re: memory usage
References: <m3r9ppmw24.fsf@eho.eaglets.com> <19990412140824.A25206@molehill.org> <qrru2ulpkba.fsf@elwha.cs.washington.edu> <19990413114526.A20427@molehill.org> <qrr7lrgkwq9.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "13 Apr 1999 14:59:42 -0700"
Date: 14 Apr 1999 13:40:12 -0400
Message-Id: <m3iuazp0cj.fsf@eho.eaglets.com>
Lines: 32
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrr7lrgkwq9.fsf@elwha.cs.washington.edu>
>>>> On the subject of "Re: memory usage"
>>>> Sent on 13 Apr 1999 14:59:42 -0700
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> Todd Larason <jtl@molehill.org> writes:
 >> 
 >> > On 990412, Greg Badros wrote:
 >> > > Yep... this is probably the same leak seen by Sam...  are you guys using
 >> > > the new imlib interface?  Maybe that's the source of the leaks?
 >> >
 >> > It may be.  If so, I doubt it's the cache.  This scwm is up to 58megs (from 35
 >> > yesterday), and it shouldn't have needed to load any additional pixmaps since
 >> > it started up.
 >> 
 >> Wow... that's big.... can you watch it's size grow and see if you can
 >> determine when it is getting bigger (i.e., what are you doing when it grows).

this is almost beyond the point.  I just restarted scwm (it was at 30mb)
for the second time today(!), and it is at 5.5MB right away (now it's
5.7MB already).  Enlightenment is 2.2MB on startup.

Something is horribly wrong - it's not just a memory leak.

BTW, scwm sends SIGWINCH to all windows on restart.
why?!


-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
MS DOS: Keyboard not found. Press F1 to continue.

From owner-scwm-discuss@mit.edu  Wed Apr 14 18:07:23 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA03257
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 18:07:23 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA03254
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 18:07:22 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA14135; Wed, 14 Apr 99 18:07:07 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA10243; Wed, 14 Apr 1999 15:07:10 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@mit.edu
Subject: Re: use-scwm-modules feature
References: <qrrn20chxuu.fsf@elwha.cs.washington.edu> <19990414105320.A11882@youkaidi.irisa.fr> <qrr3e23a6ps.fsf@elwha.cs.washington.edu> <19990414144724.C11882@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Apr 1999 15:07:10 -0700
In-Reply-To: Hubert Canon's message of "Wed, 14 Apr 1999 14:47:24 +0200"
Message-Id: <qrrk8veua9d.fsf@elwha.cs.washington.edu>
Lines: 45
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Greg Badros icrivait :
> > > BTW where can I get some documentation about guile ? For instance I
> > > don't know how works the "catch" function (I have "call/cc" in my R4RS
> > > but not "catch"), nor how to write and use modules.
> > 
> > The guile-ref info page has some of this information,
> 
> Where can I find this info page ? I only found a WWW version of
> guile-ref.

It's in the guile-doc module of the Guile anonymous CVS archive, and I'm 
about to update the Scwm web page with a copy of the info tree for you
and others.

> 
> > the Scwm source tree is a good source of some additional information
> > (some under doc/dev),
> 
> This I what I use actually for the moment.
> 
> > and the guile web page has some other pointers.
> 
> It has pointer to scheme pages, but not for guile specific ones.
> 
> At http://www.red-bean.com/guile/, I see "The current documentation is
> broken, but is under reconstruction" 

Yep-- it changes sometimes, but it's always bad.

> 
> > In general, it's pretty lame.  W.r.t. writing scheme modules, just
> > use the Scwm modules as an example, and ask questions here and/or on
> > the guile@cygnus.com list when you have difficulties.
> 
> For creating new scwm modules, it is easy, but I don't know how to
> create personal guile or scwm modules.

It's no different for personal modules-- just make sure your
SCWM_LOAD_PATH has the right directories in it and you're off.

Maybe I'm misunderstanding what you're asking?

Greg

From owner-scwm-discuss@mit.edu  Wed Apr 14 18:19:05 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA03439
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 18:19:05 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA03436
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 18:19:03 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA17580; Wed, 14 Apr 99 18:18:49 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA10250; Wed, 14 Apr 1999 15:18:49 -0700 (PDT)
To: Greg Harvey <Greg.Harvey@thezone.net>
Cc: scwm-discuss@mit.edu, guile@cygnus.com
Subject: Re: SMOB tutorial for Scwm and Guile
References: <qrrvhez8pn8.fsf@elwha.cs.washington.edu> <m3d8175mnn.fsf@behemoth.dethfart.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Apr 1999 15:18:48 -0700
In-Reply-To: Greg Harvey's message of "14 Apr 1999 11:28:36 -0230"
Message-Id: <qrrhfqiu9pz.fsf@elwha.cs.washington.edu>
Lines: 66
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Harvey <Greg.Harvey@thezone.net> writes:

> > MAKING AN INSTANCE OF A SMOB
> > 
> > So, after registering our SMOB, the Guile interpreter knows how to deal
> > with SMOBs of that type, but we still have not seen how to create a new
> > object of a SMOB class.  We did, however, see what a SMOB object is
> > stored internally in an earlier section.  In fact, Guile has no special
> > help for constructing SMOB instances--- you simply write a primitive
> > procedure that builds a CONS cell with the appropriate id field and a
> > pointer to just C structure, and return that SCM object.  Since this is
> > error-prone, Scwm provides a helper macro, SCWM_NEWCELL_SMOB:
> > 
> > #define SCWM_NEWCELL_SMOB(ANSWER,ID,PSMOB) \
> >    do { \
> >      SCM_NEWCELL((ANSWER)); \
> >      SCM_SETCAR((ANSWER),(ID)); \
> >      SCM_SETCDR((ANSWER),(SCM) (PSMOB)); \
> >    } while (0)
> 
> This isn't all that safe, unless you change the gc slightly;
> this would require putting SCM_SETCDR first (though if things go
> wrong, either way is going to give you, at best, a fairly cryptic
> error). 

So what is the right fix?  We actually call gh_defer_ints(),
gh_allow_ints() before and after the above macro invocation, and I was
thinking of folding them into the macro, but I remember something about
that not being necessary.  Is just switching the order of SETCDR and
SETCAR sufficient?  I can see that if a GC happened between the SETCAR
and the SETCDR that would be bad, but I'm not clear on how asynchronous
the GC is.

That this is tricky should be evidence that GUILE should provde the
above macro, not applications.

> > MARK
> > 
> > The Guile Scheme interpreter uses a simple mark and sweep garbage
> > collection algorithm.  GC algorithms are beyond the scope of this
> > document--- all you must understand is that you must recursively mark
> > any SCM object you embed in a SMOB's C structure in that SMOB's mark
> > function.  For color, we had a single SCM value embedded in the
> > scwm_color struct: the color's name (as a Scheme string, not a C
> > string).   Thus, color's mark function must mark that object to ensure
> > that it does not get freed prematurely by Guile's garbage collector:
> > 
> > SCM mark_color(SCM obj) {
> >   scmw_color *psc = COLOR(obj);
> >   SCM_SETGC8MARK(obj);
>     ^^^
> 
> This isn't needed, since the gc marks the object itself before it
> calls the smob mark function. Also, marking really should go thru
> scm_gc_mark(obj), instead of the mark macros (I really need to write
> some more complete gc docs).

Ahh, yes, I remember... it changed so that we had to remove the tests
checking if the object was already marked to skip the marking of the sub
objects since the GC would hand us an already marked object.

Thanks for the pointers... obviously it's important that I get this
stuff right! :-)

Thanks,
Greg B

From owner-scwm-discuss@mit.edu  Wed Apr 14 18:21:15 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA03467
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 18:21:15 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA03464
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 18:21:14 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA18265; Wed, 14 Apr 99 18:20:59 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA10253; Wed, 14 Apr 1999 15:21:04 -0700 (PDT)
To: scwm-discuss@mit.edu
Subject: Re: memory usage
References: <m3r9ppmw24.fsf@eho.eaglets.com> <19990412140824.A25206@molehill.org> <qrru2ulpkba.fsf@elwha.cs.washington.edu> <19990413114526.A20427@molehill.org> <qrr7lrgkwq9.fsf@elwha.cs.washington.edu> <m3iuazp0cj.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Apr 1999 15:21:04 -0700
In-Reply-To: Sam Steingold's message of "14 Apr 1999 13:40:12 -0400"
Message-Id: <qrremlmu9m7.fsf@elwha.cs.washington.edu>
Lines: 34
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> >>>> In message <qrr7lrgkwq9.fsf@elwha.cs.washington.edu>
> >>>> On the subject of "Re: memory usage"
> >>>> Sent on 13 Apr 1999 14:59:42 -0700
> >>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
>  >> Todd Larason <jtl@molehill.org> writes:
>  >> 
>  >> > On 990412, Greg Badros wrote:
>  >> > > Yep... this is probably the same leak seen by Sam...  are you guys using
>  >> > > the new imlib interface?  Maybe that's the source of the leaks?
>  >> >
>  >> > It may be.  If so, I doubt it's the cache.  This scwm is up to 58megs (from 35
>  >> > yesterday), and it shouldn't have needed to load any additional pixmaps since
>  >> > it started up.
>  >> 
>  >> Wow... that's big.... can you watch it's size grow and see if you can
>  >> determine when it is getting bigger (i.e., what are you doing when it grows).
> 
> this is almost beyond the point.  I just restarted scwm (it was at 30mb)
> for the second time today(!), and it is at 5.5MB right away (now it's
> 5.7MB already).  Enlightenment is 2.2MB on startup.
> 
> Something is horribly wrong - it's not just a memory leak.

I'll look into it.

> 
> BTW, scwm sends SIGWINCH to all windows on restart.
> why?!

ditto.

Greg

From owner-scwm-discuss@mit.edu  Wed Apr 14 19:41:53 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA03969
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 19:41:53 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA03966
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 19:41:51 -0400
Received: from terra.nlnet.nf.ca by MIT.EDU with SMTP
	id AA08909; Wed, 14 Apr 99 19:42:40 EDT
Received: from localhost (n254h004.thezone.net [198.165.254.4])
	by firma.thezone.net (8.8.8/8.8.8) with ESMTP id VAA16955;
	Wed, 14 Apr 1999 21:11:35 -0230 (NDT)
Received: (from greg@localhost)
	by localhost (8.8.7/8.8.7) id VAA00383;
	Wed, 14 Apr 1999 21:14:05 -0230
To: scwm-discuss@mit.edu
Cc: guile@cygnus.com
Subject: Re: SMOB tutorial for Scwm and Guile
References: <qrrvhez8pn8.fsf@elwha.cs.washington.edu> <m3d8175mnn.fsf@behemoth.dethfart.org> <qrrhfqiu9pz.fsf@elwha.cs.washington.edu>
From: Greg Harvey <Greg.Harvey@thezone.net>
Date: 14 Apr 1999 21:13:03 -0230
Message-Id: <m3wvzeg454.fsf@behemoth.dethfart.org>
Lines: 61
X-Mailer: Gnus v5.6.43/Emacs 20.3
Original-Sender: Greg.Harvey@thezone.net
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Greg Harvey <Greg.Harvey@thezone.net> writes:
> 
> > > MAKING AN INSTANCE OF A SMOB
> > > 
> > > So, after registering our SMOB, the Guile interpreter knows how to deal
> > > with SMOBs of that type, but we still have not seen how to create a new
> > > object of a SMOB class.  We did, however, see what a SMOB object is
> > > stored internally in an earlier section.  In fact, Guile has no special
> > > help for constructing SMOB instances--- you simply write a primitive
> > > procedure that builds a CONS cell with the appropriate id field and a
> > > pointer to just C structure, and return that SCM object.  Since this is
> > > error-prone, Scwm provides a helper macro, SCWM_NEWCELL_SMOB:
> > > 
> > > #define SCWM_NEWCELL_SMOB(ANSWER,ID,PSMOB) \
> > >    do { \
> > >      SCM_NEWCELL((ANSWER)); \
> > >      SCM_SETCAR((ANSWER),(ID)); \
> > >      SCM_SETCDR((ANSWER),(SCM) (PSMOB)); \
> > >    } while (0)
> > 
> > This isn't all that safe, unless you change the gc slightly;
> > this would require putting SCM_SETCDR first (though if things go
> > wrong, either way is going to give you, at best, a fairly cryptic
> > error). 
> 
> So what is the right fix?  We actually call gh_defer_ints(),
> gh_allow_ints() before and after the above macro invocation, and I was
> thinking of folding them into the macro, but I remember something about
> that not being necessary.  

Doing it that way (with defer ints) should be safe. The right way
(which has nothing to do with this code, really) is to just remove the
line of scm_gc_mark that sets the cdr of a freecell to SCM_EOL, then
changing the order.

> Is just switching the order of SETCDR and
> SETCAR sufficient?  

Not currently (it would suck just as bad if the gc chucked out your
memory as if it tried to trace an incomplete object).

> I can see that if a GC happened between the SETCAR
> and the SETCDR that would be bad, but I'm not clear on how asynchronous
> the GC is.

Not having much use for threads & pals, I'm not totally sure if it's
more conceptually bad, or a real dangerous bug waiting to happen
(though native threads support would likely break any code that wasn't
cautious about this).

> That this is tricky should be evidence that GUILE should provde the
> above macro, not applications.

Yep, it should. There are currently too many places where you have to
have a somewhat intimate knowledge of the inner workings of Guile to
get things right (and the lack of documentation doesn't help a bit).

-- 
Greg H

From owner-scwm-discuss@mit.edu  Wed Apr 14 19:53:28 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA04075
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 19:53:28 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA04072
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 19:53:26 -0400
Received: from terra.nlnet.nf.ca by MIT.EDU with SMTP
	id AA11072; Wed, 14 Apr 99 19:54:17 EDT
Received: from localhost (n254h004.thezone.net [198.165.254.4])
	by firma.thezone.net (8.8.8/8.8.8) with ESMTP id VAA12655;
	Wed, 14 Apr 1999 21:23:15 -0230 (NDT)
Received: (from greg@localhost)
	by localhost (8.8.7/8.8.7) id VAA00420;
	Wed, 14 Apr 1999 21:25:45 -0230
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@mit.edu
Subject: Re: use-scwm-modules feature
References: <qrrn20chxuu.fsf@elwha.cs.washington.edu> <19990414105320.A11882@youkaidi.irisa.fr>
From: Greg Harvey <Greg.Harvey@thezone.net>
Date: 14 Apr 1999 21:24:44 -0230
Message-Id: <m3r9pmg3ln.fsf@behemoth.dethfart.org>
Lines: 89
X-Mailer: Gnus v5.6.43/Emacs 20.3
Original-Sender: Greg.Harvey@thezone.net
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> BTW where can I get some documentation about guile ? For instance I
> don't know how works the "catch" function (I have "call/cc" in my R4RS
> but not "catch"), nor how to write and use modules.

Here's an extract about it from my (yet unfinished) qdoc for throw.c
(no warranties ;)

Description: in strict rnrs scheme, only one method of transferring
control, continuations, are defined. These are extremely flexible
(essentially, they let you pack up the current state, and go there at
any time); these can also be implemented quite cheaply in a strictly
scheme system, using a continuation passing style of function calls;
on the other hand, in a system like guile, which has to interact
directly with c code, full blown continuations are expensive. It's
often the case, though, we don't actually want full blown
continuations, we just want to transfer control up the stack. This can
be implemented much more cheaply than a continuation, since we know
we'll never want to return to that particular state later. This is
where catch and throw come in.

To give an example of where these can come in handy, consider
implementing (some pred lst), where the return value is true if any
value in list satisfies pred. One implementation could use for-each,
returning #t when we find an element of lst that satisfies pred. Using
continuations, we'd do:

(define some1
  (lambda (pred lst)
    (call-with-current-continuation
     (lambda (ret)
       (for-each (lambda (x) (if (pred x) (ret #t))) lst)
       #f))))

However, we know for a fact that we'll never want to return to any
particular invocation of some, so creating a brand new continuation in
this case is wasteful. Instead, we'd be better off using catch/throw,
as follows:

(define some2
  (lambda (pred lst)
    (catch 'ret
      (lambda () (for-each (lambda (x) (if (pred x) (throw 'ret #t))) lst)
	#f)
      (lambda (val arg) arg))))
	

For completeness, here's the version we'd generally use


(define some3
  (lambda (pred lst)
    (cond ((null? lst) #f)
	  ((pred (car lst)) #t)
	  (else (some3 pred (cdr lst))))))


Note that using catch/throw also allows us to easily do some things
that would be more difficult with continuations. As an example,
guile's current exception mechanism is implemented with catch/throw,
which allows us to easily set different error handlers for a specific
type of error. For example, say we wanted to handle 'wrong-type-arg
ourselves in piece of code, we could wrap the code with

(catch 'wrong-type-arg
       (lambda () code)
       (lambda (key . args) (handle-wrong-type-arg)))

and the builtin wrong-type-arg handler will never be invoked. 

(Additional explanitory stuff that I'm adding right now ;)

The form of a catch call goes (catch tag thunk handler-proc). tag is
either a symbol (in which case, it only catches throws whose tag arg
matches the tag in catch) or #t, in which case all throws are
caught. Thunk is executed, and handler proc is invoked with the key
and args of throw if anything is caught.

The form of a throw is simply (throw tag #&rest args); if there's no
surrounding catch which applies, it's caught by the top-level of
guile, and is reported as a misc-error.


There are a few others on a random smattering of files) at
http://home.thezone.net/~gharvey/guile/qdocs 

-- 
Greg

From owner-scwm-discuss@mit.edu  Wed Apr 14 20:35:32 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA04458
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 20:35:32 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA04455
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 20:35:27 -0400
Received: from swp5.gs.com by MIT.EDU with SMTP
	id AA16251; Wed, 14 Apr 99 20:35:10 EDT
Received: from swp5.gs.com (root@localhost)
	by swp5.gs.com with ESMTP id UAA04104;
	Wed, 14 Apr 1999 20:35:10 -0400 (EDT)
Received: from nbcppsh02.wan.gs.com ([199.29.246.34])
	by swp5.gs.com with ESMTP id UAA04100;
	Wed, 14 Apr 1999 20:35:09 -0400 (EDT)
Received: from nbcppsh01.wan.gs.com (nbcppsh01.wan.gs.com [138.8.220.34])
	by nbcppsh02.wan.gs.com (8.9.1a/8.9.0/dmzpo1) with ESMTP id UAA24961;
	Wed, 14 Apr 1999 20:35:23 -0400 (EDT)
Received: from nytrdsn1.eq.gs.com (nytrdsn1.eq.gs.com [154.4.33.152])
	by nbcppsh01.wan.gs.com (8.9.1a/8.9.0/postoffice1) with ESMTP id UAA18032;
	Wed, 14 Apr 1999 20:35:08 -0400 (EDT)
Received: from nytrdc058.eq.gs.com (nytrdc058.eq.gs.com [154.4.32.105]) by nytrdsn1.eq.gs.com (8.7.5/8.6.12) with ESMTP id UAA02287; Wed, 14 Apr 1999 20:35:07 -0400 (EDT)
Received: (mcmanr@localhost) by nytrdc058.eq.gs.com (8.8.5/8.6.12) id UAA21232; Wed, 14 Apr 1999 20:35:06 -0400 (EDT)
To: Greg Harvey <Greg.Harvey@thezone.net>
Cc: scwm-discuss@mit.edu, guile@cygnus.com
Subject: Re: SMOB tutorial for Scwm and Guile
References: <qrrvhez8pn8.fsf@elwha.cs.washington.edu> <m3d8175mnn.fsf@behemoth.dethfart.org> <qrrhfqiu9pz.fsf@elwha.cs.washington.edu> <m3wvzeg454.fsf@behemoth.dethfart.org>
X-Organization: Goldman, Sachs & Co. International Equities Technology
X-Phone-Number: 212-357-4901
X-Beeper: 917-556-0708
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Russ McManus <russell.mcmanus@gs.com>
Date: 14 Apr 1999 20:35:06 -0400
In-Reply-To: Greg Harvey's message of "14 Apr 1999 21:13:03 -0230"
Message-Id: <ncjg1624t6t.fsf@nytrdc058.eq.gs.com>
Lines: 12
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


> There are currently too many places where you have to have a
> somewhat intimate knowledge of the inner workings of Guile to get
> things right (and the lack of documentation doesn't help a bit).

Other than initializing a smob, can you think of others?  I'd like
to document the ugly spots, and known work arounds.

-russ

--
If at first you don't succeed, don't try sky diving.

From owner-scwm-discuss@mit.edu  Wed Apr 14 21:02:56 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA04732
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 21:02:56 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA04729
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 21:02:55 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA23145; Wed, 14 Apr 99 21:03:46 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id SAA10636; Wed, 14 Apr 1999 18:02:42 -0700 (PDT)
To: Russ McManus <russell.mcmanus@gs.com>
Cc: Greg Harvey <Greg.Harvey@thezone.net>, scwm-discuss@mit.edu,
        guile@cygnus.com
Subject: Re: SMOB tutorial for Scwm and Guile
References: <qrrvhez8pn8.fsf@elwha.cs.washington.edu> <m3d8175mnn.fsf@behemoth.dethfart.org> <qrrhfqiu9pz.fsf@elwha.cs.washington.edu> <m3wvzeg454.fsf@behemoth.dethfart.org> <ncjg1624t6t.fsf@nytrdc058.eq.gs.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Apr 1999 18:02:42 -0700
In-Reply-To: Russ McManus's message of "14 Apr 1999 20:35:06 -0400"
Message-Id: <qrrwvzesnkd.fsf@elwha.cs.washington.edu>
Lines: 32
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Russ McManus <russell.mcmanus@gs.com> writes:

> > There are currently too many places where you have to have a
> > somewhat intimate knowledge of the inner workings of Guile to get
> > things right (and the lack of documentation doesn't help a bit).
> 
> Other than initializing a smob, can you think of others?  I'd like
> to document the ugly spots, and known work arounds.

There are plenty of lurking bugs in code that doesn't follow guile's
requirements (that aren't checked at all).  E.g., the argument numbers
when defining primitives needs to match the actual formals,
SCM_UNDEFINED needs to be used to terminate a gh_list(...) [not SCM_EOL, 
or SCM_UNSPECIFIED].  SCM_UNSPECIFIED needs to be returned if no other
value is returned from a primitive.  SCM boolean values are both
interpreted as true to the C compiler (ie., SCM_BOOL_F is also
nonzero).  Error checking for arguments is not enforced at all-- one can 
report an incorrect position number or wrong formal name very easily.

Lots of the above are checked for (approximately) by Scwm's
documentation extraction system.  There are also other macros in
scwm-snarf.h and scwm.h that help alleviate some of these problems.

See also:

http://vicarious-existence.mit.edu/cgi-bin/cvsweb.new/~checkout~/doc/dev/common-primitive-mistakes

and the other developer notes on the Scwm page.

http://vicarious-existence.mit.edu/scwm/

Greg B

From owner-scwm-discuss@mit.edu  Wed Apr 14 21:19:02 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA04996
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 21:19:02 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA04993
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 21:19:01 -0400
Received: from 207-172-255-37.s37.tnt2.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA24227; Wed, 14 Apr 99 21:18:41 EDT
Received: (from mstx@localhost)
	by 207-172-255-37.s37.tnt2.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id RAA20882;
	Wed, 14 Apr 1999 17:43:41 -0400
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: optargs erroring? [ was Re: message-window]
References: <14099.23379.275327.147860@juno> <qrrogksjfui.fsf@elwha.cs.washington.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 14 Apr 1999 17:43:37 -0400
In-Reply-To: Greg Badros's message of "13 Apr 1999 15:49:41 -0700"
Message-Id: <m3ogkq98ty.fsf@207-172-255-99.s99.tnt2.sbo.ma.dialup.rcn.com>
Lines: 23
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Instead of (or in addition to) making the documentation more clear, I
> wonder if optargs could error usefully when a non-keyword is in a
> keyword spot of a keyword-taking procedure.  The erroring for
> unrecognized keywords is a *big* win, and it seems just as useful to
> error if something besides a keyword occurs where a keyword should.  A
> "wrong keyword argument"-like error certainly would've suggested the fix 
> to Eric, as well.

That behavior is necessary in the case that a procedure has both
keyword arguments and a rest argument, since the same data is
processed for both. 

However, this case is uncommon. Thus, I fixed things so that stray
non-keywords in a keyword list would result in an error if there is
not also a rest arg.

Unfortunately, all of the error messages resulting from keyword
processing are suboptimal in that they do not indicate what keyword or
stray object caused the error. This should be fixed at some point.

 - Maciej

From owner-scwm-discuss@mit.edu  Wed Apr 14 21:32:11 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA05198
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 21:32:11 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA05195
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 21:32:10 -0400
Received: from ppp163.arden.ioa.com by MIT.EDU with SMTP
	id AA28586; Wed, 14 Apr 99 21:32:59 EDT
Received: from dres by dres.elam.org with local (Exim 2.11 #1 (Debian))
	for scwm-discuss@mit.edu
	id 10Xb1C-0004Gi-00; Wed, 14 Apr 1999 21:32:38 -0400
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: core dump
X-Url: http://www.ioa.com/~dres
X-Organization: Debian/Software in the Public Interest
X-Attribution: Dres
X-Face:  "R3Ms&!j++.]J8DwisON-l7#S<Jw[MsP|I<K?28b~f-<w^vjeAQ-k@$-Az>OloY'V?!^-!2
 9G+7Z7OzClzr2{3e<RFn%f*t%B<*|sT->ni9BN\pzkTp<dg6+lOtI-rg*]Fjgr0n.=ChFX:_+T7fKT
 *Z[}xvSK"jV~QH7*v}xZ,1rlb+Ro`,)#2Econ*g^>}ehc,\AhKBZ\Sf/HVG+p\*?'(&ct2w6Fr:w9m
 o|9R&.D-)1]:&sN-6o'\`7W${f1$2BCy6qSl&._{ILYCZ?X-[?M!](N
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: James LewisMoss <dres@ioa.com>
Date: 14 Apr 1999 21:32:38 -0400
In-Reply-To: Christian Lynbech's message of "13 Apr 1999 09:57:17 +0200"
Message-Id: <hh7lrek6rt.fsf_-_@dres.elam.org>
Lines: 54
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

This is with an older cvs snapshot (been having trouble with the
latest) from 1990318.

#0  0x402c3a91 in kill ()
#1  0x402c36ef in raise ()
#2  0x402c4e17 in abort ()
#3  0x40166d55 in scm_ithrow ()
#4  0x40127ae4 in scm_error ()
#5  0x40127f8d in scm_misc_error ()
#6  0x40127fc9 in scm_wta ()
#7  0x4013814b in scm_gc_mark ()
#8  0x80750c6 in mark_window ()
#9  0x40138875 in scm_gc_mark ()
#10 0x401384eb in scm_gc_mark ()
#11 0x401380e7 in scm_igc ()
#12 0x40139679 in scm_must_malloc ()
#13 0x80666f5 in scm_internal_cwdr_no_unwind ()
#14 0x805b928 in scm_internal_stack_cwdr ()
#15 0x805b96e in scwm_safe_apply ()
#16 0x805ba01 in scwm_safe_call0 ()
#17 0x805c51b in run_timed_out_timers ()
#18 0x80638a1 in   ()
#19 0x806142e in   ()
#20 0x80724ed in scwm_main ()
#21 0x4013bded in gh_call3 ()
#22 0x4013e679 in scm_boot_guile ()
#23 0x40166462 in scm_internal_lazy_catch ()
#24 0x4013e629 in scm_boot_guile ()
#25 0x4013e3a9 in scm_boot_guile ()
#26 0x4013be28 in gh_enter ()
#27 0x80719d5 in main ()

 *** `scwmrc' processed.
(window property change: #<window 12582921: "xconsole"> desk 0 0)
(window property change: #<window 29360131: "THIS IS THE IMPORTANT ONE"> desk 0 0)
(window property change: #<window 62914651: "panel"> sticky #t #f)
(window property change: #<window 62914651: "panel"> taskbar-skip #t #f)
(window property change: #<window 62914651: "panel"> desk 0 0)
(window property change: #<window 62914651: "panel"> maximized (0 0 1280 51 0 0 1280 10
23) #f)

Backtrace:
0* [gnome-X-MapRequest-hook #<window 62914651: "panel">]
1* [gnome-init-window-from-props #<window 62914651: "panel">]
2* [gnome-update-state-from-property #<window 62914651: "panel">]
3  (let ((prop #)) (cond (prop #)))
   ...
4  [gnome-update-state #<window 62914651: "panel"> 1023 ...]
5* (if (nonzero? (logand mask WIN_STATE_SHADED)) (if (nonzero? #) (if # #) ...))
6  (if (nonzero? (logand new-state WIN_STATE_SHADED)) (if (not #) (if gnome-shade-anima
ted # ...)) ...)         
   ...
7  (animated-window-shade win)


From owner-scwm-discuss@mit.edu  Wed Apr 14 22:08:16 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA05605
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 22:08:16 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA05602
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 22:08:15 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA03889; Wed, 14 Apr 99 22:07:58 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id TAA11082; Wed, 14 Apr 1999 19:06:59 -0700 (PDT)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: optargs erroring? [ was Re: message-window]
References: <14099.23379.275327.147860@juno> <qrrogksjfui.fsf@elwha.cs.washington.edu> <m3ogkq98ty.fsf@207-172-255-99.s99.tnt2.sbo.ma.dialup.rcn.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Apr 1999 19:06:58 -0700
In-Reply-To: Maciej Stachowiak's message of "14 Apr 1999 17:43:37 -0400"
Message-Id: <qrr3e2263i5.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > Instead of (or in addition to) making the documentation more clear, I
> > wonder if optargs could error usefully when a non-keyword is in a
> > keyword spot of a keyword-taking procedure.  The erroring for
> > unrecognized keywords is a *big* win, and it seems just as useful to
> > error if something besides a keyword occurs where a keyword should.  A
> > "wrong keyword argument"-like error certainly would've suggested the fix 
> > to Eric, as well.
> 
> That behavior is necessary in the case that a procedure has both
> keyword arguments and a rest argument, since the same data is
> processed for both. 

Ahh...

> 
> However, this case is uncommon. Thus, I fixed things so that stray
> non-keywords in a keyword list would result in an error if there is
> not also a rest arg.

Excellent middle ground.

> 
> Unfortunately, all of the error messages resulting from keyword
> processing are suboptimal in that they do not indicate what keyword or
> stray object caused the error. This should be fixed at some point.

Yes, but at least an error instead of failing silently will be a huge help.

Thanks!

Greg

From owner-scwm-discuss@mit.edu  Wed Apr 14 22:33:49 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA05828
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 22:33:49 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA05825
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 22:33:48 -0400
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA09805; Wed, 14 Apr 99 22:34:28 EDT
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for <scwm-discuss@mit.edu>
          Wed, 14 Apr 1999 21:33:26 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Wed, 14 Apr 1999 21:33:26 -0500 (CDT)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14101.20470.300949.505086@juno>
Date: Wed, 14 Apr 1999 21:33:26 -0500 (CDT)
From: Equality 7-2521 <beuscher@eecs.tulane.edu>
To: scwm-discuss@mit.edu
Subject: ftp problems
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


maybe i just have really poor timings, but using the nightly
development snapshots link from the scwm web page has given me: 

FTP Error

Could not login to FTP server


since at least yesterday morning (about 0730 CST, 04/13).

anybody else experience this as well?



-- 
eric

From owner-scwm-discuss@mit.edu  Wed Apr 14 22:40:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA05911
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 22:40:59 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA05908
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 22:40:58 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA09740; Wed, 14 Apr 99 22:40:41 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id TAA11097; Wed, 14 Apr 1999 19:40:10 -0700 (PDT)
To: Equality 7-2521 <beuscher@eecs.tulane.edu>
Cc: scwm-discuss@mit.edu, mstachow@alum.mit.edu
Subject: Ftp Server on vicarious-existence is down [was Re: ftp problems]
References: <14101.20470.300949.505086@juno>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Apr 1999 19:40:09 -0700
In-Reply-To: Equality 7-2521's message of "Wed, 14 Apr 1999 21:33:26 -0500 (CDT)"
Message-Id: <qrru2ui4nee.fsf@elwha.cs.washington.edu>
Lines: 17
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Equality 7-2521 <beuscher@eecs.tulane.edu> writes:

> maybe i just have really poor timings, but using the nightly
> development snapshots link from the scwm web page has given me: 
> 
> FTP Error
> 
> Could not login to FTP server
> 
> 
> since at least yesterday morning (about 0730 CST, 04/13).
> 
> anybody else experience this as well?

Yep-- I forgot to write Maciej about this when I noticed it this morning.

Greg

From owner-scwm-discuss@mit.edu  Wed Apr 14 23:19:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA06477
	for scwm-discuss-outgoing; Wed, 14 Apr 1999 23:19:42 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA06474
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 14 Apr 1999 23:19:41 -0400
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA18029; Wed, 14 Apr 99 23:20:30 EDT
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for <scwm-discuss@mit.edu>
          Wed, 14 Apr 1999 22:19:24 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Wed, 14 Apr 1999 22:19:24 -0500 (CDT)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14101.23227.846904.201649@juno>
Date: Wed, 14 Apr 1999 22:19:23 -0500 (CDT)
From: Equality 7-2521 <beuscher@eecs.tulane.edu>
To: scwm-discuss@mit.edu
Subject: sloppiness
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


i detest sloppy focus

but, it seems that is what i have:
this is the first window-style command i have run (and if i
understand window-style correctly, this means all windows should
get this set of parameters, regardless of other window-style
matches (unless of course the other matches re-set a given parameter))

well, from my reading of the stylings, the focus i should see is
mouse focus, and not the sloppy that i am getting

;; ***** This is the mega-paramount default style for windows
(window-style #t
	      #:fg black
	      #:bg light-purplish

;;	      #:highlight-fg black
;;	      #:highlight-bg steel-bluish
	      
	      #:border-width 4
	      #:no-titlebar #t
	      #:decorate-transient #t
	      
	      #:icon "unknown1.xpm"
	      #:icon-box (list (%x- 13) (%y 30)
			       (- (car (display-size)) (%x- 13))
			       (- (cadr (display-size)) (%y 30)))
	      #:sticky-icon #t
	      
	      #:auto-raise #t
	      #:auto-raise-delay 1000
	      #:focus 'mouse
	      
	      #:smart-placement #t
	      ;#:PPosition-hint #f
	      ;#:placement-proc eb-default-placement-proc
	      )


possibly related, when i iconify a window, with no subsequent
window beneath it, i lose my keybindings, until i either manually
move the cursor to the focus of another window, or use a menu
gained from a mouse click.


-- 
eric

From owner-scwm-discuss@mit.edu  Thu Apr 15 00:35:52 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id AAA06941
	for scwm-discuss-outgoing; Thu, 15 Apr 1999 00:35:52 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id AAA06938
	for <scwm-discuss@vicarious-existence.mit.edu>; Thu, 15 Apr 1999 00:35:49 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA11172; Wed, 14 Apr 1999 21:35:20 -0700 (PDT)
To: Equality 7-2521 <beuscher@eecs.tulane.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: sloppiness
References: <14101.23227.846904.201649@juno>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Apr 1999 21:35:20 -0700
In-Reply-To: Equality 7-2521's message of "Wed, 14 Apr 1999 22:19:23 -0500 (CDT)"
Message-ID: <qrrn20a4i2f.fsf@elwha.cs.washington.edu>
Lines: 3
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

What does `get-window-focus' report for various windows?

Greg

From owner-scwm-discuss@mit.edu  Thu Apr 15 00:48:04 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id AAA07095
	for scwm-discuss-outgoing; Thu, 15 Apr 1999 00:48:04 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from rex.eecs.tulane.edu (rex.eecs.tulane.edu [129.81.132.1])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id AAA07089
	for <scwm-discuss@vicarious-existence.mit.edu>; Thu, 15 Apr 1999 00:47:59 -0400
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for 
          Wed, 14 Apr 1999 23:47:44 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Wed, 14 Apr 1999 23:47:43 -0500 (CDT)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14101.28527.358143.873765@juno>
Date: Wed, 14 Apr 1999 23:47:43 -0500 (CDT)
From: Equality 7-2521 <beuscher@eecs.tulane.edu>
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: sloppiness
In-Reply-To: <qrrn20a4i2f.fsf@elwha.cs.washington.edu>
References: <14101.23227.846904.201649@juno>
	<qrrn20a4i2f.fsf@elwha.cs.washington.edu>
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


> What does `get-window-focus' report for various windows?

for every window type i had displayed, get-window-focus returned
'mouse

only local emacs-es seemed resistant to the previously described
behavior.

xterms, emacs from remote accounts, and netscape all showed the
previously described bad behavior



-- 
eric

From owner-scwm-discuss@mit.edu  Thu Apr 15 02:09:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA07891
	for scwm-discuss-outgoing; Thu, 15 Apr 1999 02:09:13 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA07884
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 15 Apr 1999 02:08:32 -0400
Received: from 207-172-255-37.s37.tnt2.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA14026; Thu, 15 Apr 99 02:08:07 EDT
Received: (from mstx@localhost)
	by 207-172-255-37.s37.tnt2.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id WAA27251;
	Wed, 14 Apr 1999 22:33:38 -0400
To: Greg Badros <gjb@cs.washington.edu>
Cc: Equality 7-2521 <beuscher@eecs.tulane.edu>, scwm-discuss@mit.edu
Subject: Re: Ftp Server on vicarious-existence is down [was Re: ftp problems]
References: <14101.20470.300949.505086@juno> <qrru2ui4nee.fsf@elwha.cs.washington.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 14 Apr 1999 22:33:34 -0400
In-Reply-To: Greg Badros's message of "14 Apr 1999 19:40:09 -0700"
Message-Id: <m3yajusjcx.fsf@207-172-255-99.s99.tnt2.sbo.ma.dialup.rcn.com>
Lines: 23
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Equality 7-2521 <beuscher@eecs.tulane.edu> writes:
> 
> > FTP Error
> > 
> > Could not login to FTP server
> > 
> > 
> > since at least yesterday morning (about 0730 CST, 04/13).
> > 
> > anybody else experience this as well?
> 
> Yep-- I forgot to write Maciej about this when I noticed it this morning.
> 

The lossage is due to a recent configuration change that I do not
understand, I have enquired of the appropraite parties. I'll post when
it's fixed.

 - Maciej



From owner-scwm-discuss@mit.edu  Thu Apr 15 04:17:14 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA10030
	for scwm-discuss-outgoing; Thu, 15 Apr 1999 04:17:14 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA10023
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 15 Apr 1999 04:16:44 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA26055; Thu, 15 Apr 99 04:16:19 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id KAA18365
	for scwm-discuss@mit.edu; Thu, 15 Apr 1999 10:10:54 +0200 (MET DST)
Received: (qmail 26933 invoked by uid 115); 14 Apr 1999 09:30:56 -0000
To: scwm-discuss@mit.edu
Subject: Re: Window placement on mouse click viewport instead of current viewport?
References: <m2btgv8sur.fsf_-_@blinky.bfr.co.il> <wsn20dzz70.fsf@orcus.priv.at> <qrrr9pppiu6.fsf@elwha.cs.washington.edu> <ws1zhocks5.fsf@orcus.priv.at> <qrr3e24kwmb.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 14 Apr 1999 11:30:55 +0200
In-Reply-To: Greg Badros's message of "13 Apr 1999 15:02:04 -0700"
Message-Id: <wshfqjim5s.fsf@orcus.priv.at>
Lines: 25
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 13 Apr 1999 15:02:04 -0700
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> I thought about WM_COMMAND, but how do you set it w/o changing
 Greg> the arguments to the process you exec?

You change argv[0], which will propagate into WM_COMMAND. To prevent
it affecting the resource name, we set the RESOURCE_NAME env var.

Let's try it:

$ ln -s `which xterm` xterm_38
$ RESOURCE_NAME=xterm ./xterm_38 &
$ xprop WM_COMMAND
WM_COMMAND(STRING) = { "./xterm_38" }
$ xprop WM_CLASS
WM_CLASS(STRING) = "xterm", "XTerm"

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Apr 15 04:15:56 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA10010
	for scwm-discuss-outgoing; Thu, 15 Apr 1999 04:15:56 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA10007
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 15 Apr 1999 04:15:26 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA25930; Thu, 15 Apr 99 04:15:00 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id KAA18390
	for scwm-discuss@mit.edu; Thu, 15 Apr 1999 10:11:10 +0200 (MET DST)
Received: (qmail 26712 invoked by uid 115); 14 Apr 1999 09:10:21 -0000
To: scwm-discuss@mit.edu
Subject: Re: keyword arg-taking procs
References: <qrrvhf0jh6l.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 14 Apr 1999 11:10:19 +0200
In-Reply-To: Greg Badros's message of "13 Apr 1999 15:20:50 -0700"
Message-Id: <wsk8vfin44.fsf@orcus.priv.at>
Lines: 15
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 13 Apr 1999 15:20:50 -0700
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> (message-window-style msgwin [#:font #f] [#:fg #f] [#:bg #f])

Whoa, that's some horrible mix of conventions. I'd rather just warn
off non-keywords for now.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Apr 15 05:13:50 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA10664
	for scwm-discuss-outgoing; Thu, 15 Apr 1999 05:13:50 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA10661
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 15 Apr 1999 05:13:49 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA29922; Thu, 15 Apr 99 05:13:29 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id CAA11587; Thu, 15 Apr 1999 02:13:26 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Window placement on mouse click viewport instead of current viewport?
References: <m2btgv8sur.fsf_-_@blinky.bfr.co.il> <wsn20dzz70.fsf@orcus.priv.at> <qrrr9pppiu6.fsf@elwha.cs.washington.edu> <ws1zhocks5.fsf@orcus.priv.at> <qrr3e24kwmb.fsf@elwha.cs.washington.edu> <wshfqjim5s.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Apr 1999 02:13:26 -0700
In-Reply-To: Robert Bihlmeyer's message of "14 Apr 1999 11:30:55 +0200"
Message-Id: <qrr7lre456x.fsf@elwha.cs.washington.edu>
Lines: 29
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 13 Apr 1999 15:02:04 -0700
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
>  Greg> I thought about WM_COMMAND, but how do you set it w/o changing
>  Greg> the arguments to the process you exec?
> 
> You change argv[0], which will propagate into WM_COMMAND. To prevent
> it affecting the resource name, we set the RESOURCE_NAME env var.
> 
> Let's try it:
> 
> $ ln -s `which xterm` xterm_38
> $ RESOURCE_NAME=xterm ./xterm_38 &
> $ xprop WM_COMMAND
> WM_COMMAND(STRING) = { "./xterm_38" }
> $ xprop WM_CLASS
> WM_CLASS(STRING) = "xterm", "XTerm"

No, that still changes the arguments to the process you're execing.
LOTS of programs look at argv[0] and have different behaviour dependent
on its value.

This is risky stuff.

Greg

From owner-scwm-discuss@mit.edu  Thu Apr 15 05:15:11 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA10728
	for scwm-discuss-outgoing; Thu, 15 Apr 1999 05:15:11 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA10720
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 15 Apr 1999 05:15:10 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA00117; Thu, 15 Apr 99 05:14:50 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id CAA11590; Thu, 15 Apr 1999 02:14:49 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: keyword arg-taking procs
References: <qrrvhf0jh6l.fsf@elwha.cs.washington.edu> <wsk8vfin44.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Apr 1999 02:14:49 -0700
In-Reply-To: Robert Bihlmeyer's message of "14 Apr 1999 11:10:19 +0200"
Message-Id: <qrr4smi454m.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 13 Apr 1999 15:20:50 -0700
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
>  Greg> (message-window-style msgwin [#:font #f] [#:fg #f] [#:bg #f])
> 
> Whoa, that's some horrible mix of conventions. I'd rather just warn
> off non-keywords for now.

Agreed... that's why I wrote and asked Maciej about getting some
warnings... I've not tried his change, but that's a far better fix... no 
change to the docs.  Maybe #&KEY and #&OPTIONAL would be good, though
(i.e., using uppercase).

Greg

From owner-scwm-discuss@mit.edu  Thu Apr 15 05:51:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA11859
	for scwm-discuss-outgoing; Thu, 15 Apr 1999 05:51:33 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA11856
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 15 Apr 1999 05:51:28 -0400
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA02634; Thu, 15 Apr 99 05:51:08 EDT
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id LAA03507;
	Thu, 15 Apr 1999 11:51:13 +0200 (MET DST)
Date: Thu, 15 Apr 1999 11:51:12 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: Greg Badros <gjb@cs.washington.edu>
Cc: Robert Bihlmeyer <robbe@orcus.priv.at>, scwm-discuss@mit.edu
Subject: Re: Window placement on mouse click viewport instead of current viewport?
Message-Id: <19990415115112.B17152@youkaidi.irisa.fr>
References: <m2btgv8sur.fsf_-_@blinky.bfr.co.il> <wsn20dzz70.fsf@orcus.priv.at> <qrrr9pppiu6.fsf@elwha.cs.washington.edu> <ws1zhocks5.fsf@orcus.priv.at> <qrr3e24kwmb.fsf@elwha.cs.washington.edu> <wshfqjim5s.fsf@orcus.priv.at> <qrr7lre456x.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Mailer: Mutt 0.95.3us
In-Reply-To: <qrr7lre456x.fsf@elwha.cs.washington.edu>; from Greg Badros on Thu, Apr 15, 1999 at 02:13:26AM -0700
X-Mime-Autoconverted: from 8bit to quoted-printable by ulla.irisa.fr id LAA03507
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by VICARIOUS-EXISTENCE.MIT.EDU id FAA11857
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros écrivait :
> Robert Bihlmeyer <robbe@orcus.priv.at> writes:
> > $ ln -s `which xterm` xterm_38
> > $ RESOURCE_NAME=xterm ./xterm_38 &
> > $ xprop WM_COMMAND
> > WM_COMMAND(STRING) = { "./xterm_38" }
> > $ xprop WM_CLASS
> > WM_CLASS(STRING) = "xterm", "XTerm"
> 
> No, that still changes the arguments to the process you're execing.
> LOTS of programs look at argv[0] and have different behaviour dependent
> on its value.

Why not just use RESOURCE_NAME ?

For example :

$ RESOURCE_NAME=xterm-foo xterm &
$ xprop WM_COMMAND
WM_COMMAND(STRING) = { "xterm" }
$ xprop WM_CLASS
WM_CLASS(STRING) = "xterm-foo", "XTerm"


-- 
Hubert Canon

From owner-scwm-discuss@mit.edu  Thu Apr 15 05:56:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA12054
	for scwm-discuss-outgoing; Thu, 15 Apr 1999 05:56:42 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id FAA12051
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 15 Apr 1999 05:56:41 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA00932; Thu, 15 Apr 99 05:57:27 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id CAA11612; Thu, 15 Apr 1999 02:56:23 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: Robert Bihlmeyer <robbe@orcus.priv.at>, scwm-discuss@mit.edu
Subject: Re: Window placement on mouse click viewport instead of current viewport?
References: <m2btgv8sur.fsf_-_@blinky.bfr.co.il> <wsn20dzz70.fsf@orcus.priv.at> <qrrr9pppiu6.fsf@elwha.cs.washington.edu> <ws1zhocks5.fsf@orcus.priv.at> <qrr3e24kwmb.fsf@elwha.cs.washington.edu> <wshfqjim5s.fsf@orcus.priv.at> <qrr7lre456x.fsf@elwha.cs.washington.edu> <19990415115112.B17152@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Apr 1999 02:56:22 -0700
In-Reply-To: Hubert Canon's message of "Thu, 15 Apr 1999 11:51:12 +0200"
Message-Id: <qrrzp4a2omx.fsf@elwha.cs.washington.edu>
Lines: 29
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Greg Badros icrivait :
> > Robert Bihlmeyer <robbe@orcus.priv.at> writes:
> > > $ ln -s `which xterm` xterm_38
> > > $ RESOURCE_NAME=xterm ./xterm_38 &
> > > $ xprop WM_COMMAND
> > > WM_COMMAND(STRING) = { "./xterm_38" }
> > > $ xprop WM_CLASS
> > > WM_CLASS(STRING) = "xterm", "XTerm"
> > 
> > No, that still changes the arguments to the process you're execing.
> > LOTS of programs look at argv[0] and have different behaviour dependent
> > on its value.
> 
> Why not just use RESOURCE_NAME ?
> 
> For example :
> 
> $ RESOURCE_NAME=xterm-foo xterm &
> $ xprop WM_COMMAND
> WM_COMMAND(STRING) = { "xterm" }
> $ xprop WM_CLASS
> WM_CLASS(STRING) = "xterm-foo", "XTerm"

The resource name effects what resources get merged into the resource
database for that program. (i.e., it has extra side-effects).

Greg

From owner-scwm-discuss@mit.edu  Thu Apr 15 07:21:16 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA12976
	for scwm-discuss-outgoing; Thu, 15 Apr 1999 07:21:16 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id HAA12973
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 15 Apr 1999 07:21:12 -0400
Received: from terra.nlnet.nf.ca by MIT.EDU with SMTP
	id AA09350; Thu, 15 Apr 99 07:20:50 EDT
Received: from localhost (n254h012.thezone.net [198.165.254.12])
	by firma.thezone.net (8.8.8/8.8.8) with ESMTP id IAA04354;
	Thu, 15 Apr 1999 08:50:47 -0230 (NDT)
Received: (from greg@localhost)
	by localhost (8.8.7/8.8.7) id IAA09862;
	Thu, 15 Apr 1999 08:53:15 -0230
To: Russ McManus <russell.mcmanus@gs.com>
Cc: scwm-discuss@mit.edu, guile@cygnus.com
Subject: Re: SMOB tutorial for Scwm and Guile
References: <qrrvhez8pn8.fsf@elwha.cs.washington.edu> <m3d8175mnn.fsf@behemoth.dethfart.org> <qrrhfqiu9pz.fsf@elwha.cs.washington.edu> <m3wvzeg454.fsf@behemoth.dethfart.org> <ncjg1624t6t.fsf@nytrdc058.eq.gs.com>
From: Greg Harvey <Greg.Harvey@thezone.net>
Date: 15 Apr 1999 08:52:14 -0230
Message-Id: <m3pv56f7rt.fsf@behemoth.dethfart.org>
Lines: 31
X-Mailer: Gnus v5.6.43/Emacs 20.3
Original-Sender: Greg.Harvey@thezone.net
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Russ McManus <russell.mcmanus@gs.com> writes:

> > There are currently too many places where you have to have a
> > somewhat intimate knowledge of the inner workings of Guile to get
> > things right (and the lack of documentation doesn't help a bit).
> 
> Other than initializing a smob, can you think of others?  I'd like
> to document the ugly spots, and known work arounds.
> 

There are two that pop to mind right now:

The phantom pointers thing (not Guile's fault, but there should be
some mention of it), where you fetch a pointer to a chunk of data out
of a SCM value and don't use the SCM value again, leading to the
compiler optimizing out the scheme value, and a gc collecting it. You
can get around this using scm_remember(&obj) or
scm_return_first(retval, obj, ...) in the function.

Using scm_must_malloc for storage that can't be reclaimed by the
garbage collector (this mistake happens in the guile code, as
well... it's not necessarily critical, but it's also not a good thing
for the gc to think it's got to handle more memory than it does). This
should really be handled by guile providing a few additional functions
(I've added scm_nonobj_foo, which checks return values and might
signal a gc, but doesn't add this to the total the gc thinks it's
keeping track of). 


-- 
Greg H

From owner-scwm-discuss@mit.edu  Thu Apr 15 19:06:21 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA16858
	for scwm-discuss-outgoing; Thu, 15 Apr 1999 19:06:21 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA16851
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 15 Apr 1999 19:06:19 -0400
Received: from ppp51.arden.ioa.com by MIT.EDU with SMTP
	id AA27571; Thu, 15 Apr 99 19:05:44 EDT
Received: from dres by dres.elam.org with local (Exim 2.11 #1 (Debian))
	for scwm-discuss@mit.edu
	id 10XvDM-0004XC-00; Thu, 15 Apr 1999 19:06:32 -0400
To: scwm-discuss@mit.edu
Subject: memory leak
X-Url: http://www.ioa.com/~dres
X-Organization: Debian/Software in the Public Interest
X-Attribution: Dres
X-Face:  "R3Ms&!j++.]J8DwisON-l7#S<Jw[MsP|I<K?28b~f-<w^vjeAQ-k@$-Az>OloY'V?!^-!2
 9G+7Z7OzClzr2{3e<RFn%f*t%B<*|sT->ni9BN\pzkTp<dg6+lOtI-rg*]Fjgr0n.=ChFX:_+T7fKT
 *Z[}xvSK"jV~QH7*v}xZ,1rlb+Ro`,)#2Econ*g^>}ehc,\AhKBZ\Sf/HVG+p\*?'(&ct2w6Fr:w9m
 o|9R&.D-)1]:&sN-6o'\`7W${f1$2BCy6qSl&._{ILYCZ?X-[?M!](N
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: James LewisMoss <dres@ioa.com>
Date: 15 Apr 1999 19:06:32 -0400
In-Reply-To: Greg Harvey's message of "15 Apr 1999 08:52:14 -0230"
Message-Id: <hhlnfth4av.fsf_-_@dres.elam.org>
Lines: 11
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I just noticed one thing that looks like a leak.  If i flip through
the windows using a hot key scwm gets larger quite quickly (as in from 
7020 reported by top to 9200 in less than a minute).  Don't know any
more than that at the moment, but thought I'd mention it.  (This is
from a cvs compile from last night.)

Dres
-- 
@James LewisMoss <dres@ioa.com>         |  Blessed Be!
@    http://www.ioa.com/~dres           |  Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach

From owner-scwm-discuss@mit.edu  Thu Apr 15 21:21:26 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA17745
	for scwm-discuss-outgoing; Thu, 15 Apr 1999 21:21:26 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id VAA17742
	for <scwm-discuss@vicarious-existence.mit.edu>; Thu, 15 Apr 1999 21:21:24 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id SAA12579; Thu, 15 Apr 1999 18:20:57 -0700 (PDT)
To: scwm-discuss@mit.edu
Subject: Some memory numbers...
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Apr 1999 18:20:57 -0700
Message-ID: <qrr676x1hty.fsf@elwha.cs.washington.edu>
Lines: 41
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I just did some quick checks to see what's sucking our memory in
Scwm... here are my notes...

I'm still not sure about the memory leak... does anybody who doesn't use 
GTk+ have the leak show up? (beware, you may have loaded GTk+ without
having a use-modules in your .scwmrc for it -- any module you use might
use it -- the most sure way to not be using GTk+ is to not have ever
installed it).

Greg



(ALL SCWM NUMBERS ARE W/ CASSOWARY COMPILE-TIME OPTION)

./scwm -f /dev/null
# with imlib
gjb      24695  4.7  0.9  5752  3528  p2 S N  08:36   0:00 ./scwm -f
/dev/null 

./scwm -f /dev/null
# without imlib
gjb      31110 14.6  0.8  4948  3256  rf S N  09:34   0:00 ./scwm -f
/dev/null 



(use-modules gtk gdk)
-> Increases by almost 2MB to ~ 6.8MB

(use-modules app scwm gtk)
-> Same: Increases by almost 2MB to ~ 6.8MB


guile:
(use-modules gtk gdk)
-> Increases from 1872 to 5092 (kb) -- >3MB!

guile:
(use-modules cassowary constraints)
-> Increases from 1872 to 2452 (kb) -- just > .5 MB

From owner-scwm-discuss@mit.edu  Sat Apr 17 13:59:12 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA00015
	for scwm-discuss-outgoing; Sat, 17 Apr 1999 13:59:12 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from kodis.jagunet.com (kodis.jaguNET.com [206.156.208.48])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id NAA00012
	for <scwm-discuss@vicarious-existence.mit.edu>; Sat, 17 Apr 1999 13:59:07 -0400
Received: (from kodis@localhost)
	by kodis.jagunet.com (8.8.7/8.8.7) id NAA00714
	for scwm-discuss@vicarious-existence.mit.edu; Sat, 17 Apr 1999 13:40:16 -0400
Date: Sat, 17 Apr 1999 13:40:16 -0400
From: John Kodis <kodis@jagunet.com>
To: scwm-discuss@mit.edu
Subject: SCWM segs after an opaque move
Message-ID: <19990417134016.A707@kodis.jagunet.com>
Mail-Followup-To: scwm-discuss@vicarious-existence.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95i
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Today's (17 Apr 99) version of SCWM from anon CVS reliably dumps core
due to a seg fault after completion of an opaque move.

Backtrace follows.  Additional info available on request.

-- John Kodis.

Core was generated by `scwm --segv-reset-count 0'.
Program terminated with signal 11, Segmentation fault.
find_solib: Can't read pathname for load map: Input/output error

#0  0x807263a in Done (restart_or_dump=-1, command=0x0) at shutdown.c:140
140	    Done(*((int *)0),NULL); /* Force seg fault */
#0  0x807263a in Done (restart_or_dump=-1, command=0x0) at shutdown.c:140
#1  0x8072185 in SigDoneSegv (ignored_ignore=11) at scwm.c:1426
#2  0xbfffeef4 in ?? ()
#3  0x400fb086 in ?? () from /usr/local/lib/libguile.so.4
#4  0x400f9a19 in ?? () from /usr/local/lib/libguile.so.4
#5  0x400fc001 in ?? () from /usr/local/lib/libguile.so.4
#6  0x400f7840 in ?? () from /usr/local/lib/libguile.so.4
#7  0x40104098 in ?? () from /usr/local/lib/libguile.so.4
#8  0x805b91c in scwm_body_apply (body_data=0xbffff39c) at callbacks.c:92
#9  0x40129789 in ?? () from /usr/local/lib/libguile.so.4
#10 0x40129859 in ?? () from /usr/local/lib/libguile.so.4
#11 0x401295f0 in ?? () from /usr/local/lib/libguile.so.4
#12 0x4012989c in ?? () from /usr/local/lib/libguile.so.4
#13 0x805b938 in cwssdr_body (data=0xbffff36c) at callbacks.c:118
#14 0x401295f0 in ?? () from /usr/local/lib/libguile.so.4
#15 0x8065d36 in scm_internal_cwdr_no_unwind (body=0x805b920 <cwssdr_body>, 
    body_data=0xbffff36c, handler=0x805b840 <scwm_handle_error>, 
    handler_data=0x8080cf7, stack_start=0xbffff398) at guile-compat.c:100
#16 0x805b970 in scm_internal_stack_cwdr (body=0x805b90c <scwm_body_apply>, 
    body_data=0xbffff39c, handler=0x805b840 <scwm_handle_error>, 
    handler_data=0x8080cf7, stack_item=0xbffff398) at callbacks.c:134
#17 0x805b9a2 in scwm_safe_apply (proc=1076689776, args=1078948936)
    at callbacks.c:149
#18 0x805ba75 in scwm_safe_call3 (proc=1076689776, arg1=1078393216, arg2=1014, 
    arg3=256) at callbacks.c:204
#19 0x805be82 in call3_hooks (hook=1076871536, arg1=1078393216, arg2=1014, 
    arg3=256) at callbacks.c:429
#20 0x806d20f in InteractiveMove (psw=0x80f6118, fOpaque=1, FinalX=0xbffff448, 
    FinalY=0xbffff444) at move.c:513
#21 0x806d31a in opaque_move (win=1078393216) at move.c:562
#22 0x400fb5fa in ?? () from /usr/local/lib/libguile.so.4
#23 0x400fc001 in ?? () from /usr/local/lib/libguile.so.4
#24 0x400f7840 in ?? () from /usr/local/lib/libguile.so.4
#25 0x40104098 in ?? () from /usr/local/lib/libguile.so.4
#26 0x805b91c in scwm_body_apply (body_data=0xbffff800) at callbacks.c:92
#27 0x40129789 in ?? () from /usr/local/lib/libguile.so.4
#28 0x40129859 in ?? () from /usr/local/lib/libguile.so.4
#29 0x401295f0 in ?? () from /usr/local/lib/libguile.so.4
#30 0x4012989c in ?? () from /usr/local/lib/libguile.so.4
#31 0x805b938 in cwssdr_body (data=0xbffff7d0) at callbacks.c:118
#32 0x401295f0 in ?? () from /usr/local/lib/libguile.so.4
#33 0x8065d36 in scm_internal_cwdr_no_unwind (body=0x805b920 <cwssdr_body>, 
    body_data=0xbffff7d0, handler=0x805b840 <scwm_handle_error>, 
    handler_data=0x8080cf7, stack_start=0xbffff7fc) at guile-compat.c:100
#34 0x805b970 in scm_internal_stack_cwdr (body=0x805b90c <scwm_body_apply>, 
    body_data=0xbffff800, handler=0x805b840 <scwm_handle_error>, 
    handler_data=0x8080cf7, stack_item=0xbffff7fc) at callbacks.c:134
#35 0x805b9a2 in scwm_safe_apply (proc=1078760416, args=10612)
    at callbacks.c:149
#36 0x805ba0c in scwm_safe_call0 (thunk=1078760416) at callbacks.c:179
#37 0x8062a43 in HandleButtonPress () at events.c:1426
#38 0x8061011 in DispatchEvent () at events.c:257
#39 0x8061042 in HandleEvents () at events.c:279
#40 0x8071932 in scwm_main (argc=3, argv=0xbffffcc4) at scwm.c:1066
#41 0x40104187 in ?? () from /usr/local/lib/libguile.so.4
#42 0x40106326 in ?? () from /usr/local/lib/libguile.so.4
#43 0x40129789 in ?? () from /usr/local/lib/libguile.so.4
#44 0x401062d7 in ?? () from /usr/local/lib/libguile.so.4
#45 0x4010608d in ?? () from /usr/local/lib/libguile.so.4
#46 0x401041b5 in ?? () from /usr/local/lib/libguile.so.4
#47 0x8070df7 in main (argc=3, argv=0xbffffcc4) at scwm.c:497

From owner-scwm-discuss@mit.edu  Sat Apr 17 17:03:26 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA01559
	for scwm-discuss-outgoing; Sat, 17 Apr 1999 17:03:26 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from quasar.newtonlabs.com (host97.newtonlabs.com [206.125.74.97])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id RAA01556
	for <scwm-discuss@vicarious-existence.mit.edu>; Sat, 17 Apr 1999 17:03:22 -0400
Received: from nebula.newtonlabs.com (cwitty@nebula.newtonlabs.com [207.55.51.23])
	by quasar.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) with ESMTP id OAA12816
	for <scwm-discuss@vicarious-existence.mit.edu>; Sat, 17 Apr 1999 14:02:39 -0700
Received: (from cwitty@localhost)
	by nebula.newtonlabs.com (8.9.3/8.9.3/Debian/GNU) id OAA13574;
	Sat, 17 Apr 1999 14:04:47 -0700
Date: Sat, 17 Apr 1999 14:04:47 -0700
Message-Id: <199904172104.OAA13574@nebula.newtonlabs.com>
From: "Carl R. Witty" <cwitty@newtonlabs.com>
To: scwm-discuss@mit.edu
Subject: scwm-variables.txt ?
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Why did we stop generating scwm-variables.txt ?  As far as I can tell,
it included documentation that wasn't duplicated in any of the other
*.txt files...

(Also, if we don't start generating it again, the obsolete version
should probably be removed from the repository.)

Carl Witty

From owner-scwm-discuss@mit.edu  Sat Apr 17 17:42:25 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA01827
	for scwm-discuss-outgoing; Sat, 17 Apr 1999 17:42:25 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA01824
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 17 Apr 1999 17:42:23 -0400
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA21778; Sat, 17 Apr 99 17:41:32 EDT
Received: (qmail 27041 invoked by uid 501); 17 Apr 1999 21:42:16 -0000
Date: Sat, 17 Apr 1999 14:42:16 -0700
From: Todd Larason <jtl@molehill.org>
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: [jtl@molehill.org: leak possibility]
Message-Id: <19990417144216.A27018@molehill.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
X-Kibo: Atoms is like the letter K.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Are the other people seeing massively growing scwms using the gnome hints?  

I've been seeing a bad leak in X itself for a while, and have been associating 
it with a particular app that pops up LOTS of transient windows.  It looks
like that app may also be triggering the scwm leak.

Without having looked at how the gnome hints are done, one possibility that
comes to mind is that the data for an X property may not be freed properly.

This would fit with the observation that switching windows rapidly causes the
leak, as well.
-- 
"I went down to the Chemical Corn Exchange Bank the other day, and gave them
three ears of corn, and they gave me three beakers filled with chemicals."
  -- Firesign Theatre, "Sodom and Jubilee"

From owner-scwm-discuss@mit.edu  Sat Apr 17 23:25:54 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA03514
	for scwm-discuss-outgoing; Sat, 17 Apr 1999 23:25:54 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA03511
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 17 Apr 1999 23:25:52 -0400
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA20942; Sat, 17 Apr 99 23:24:58 EDT
Received: (qmail 1875 invoked by uid 501); 18 Apr 1999 03:25:46 -0000
Date: Sat, 17 Apr 1999 20:25:45 -0700
From: Todd Larason <jtl@molehill.org>
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: tile-windows-interactively
Message-Id: <19990417202545.A1736@molehill.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
X-Kibo: Enjoy the Void!
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

this (along with functions in tile.scm and flux.scm) will allow you to
interactively select windows to tile, and will tile them into the rectangular
area they currently occupy.  This is useful for me I commonly run with a big
window on the left 2/3 or so of the screen, a gnome panel strip down the right 
side, and anywhere from 2 to 5 xterms between them - this allows me to tile
the xterms into their area without messing with the other windows.

I'm interested in how a real scheme programmer would do this; I'm sure this is 
way clunkier than it needs to be.

(define (tile-windows-interactively)
  (let* ((wins (select-window-group))
	 (x1 (apply min (map (lambda (w) (car (window-position w))) wins)))
	 (y1 (apply min (map (lambda (w) (cadr (window-position w))) wins)))
	 (x2 (apply max (map (lambda (w) 
			       (+ (car (window-position w)) 
				  (car (window-size w)))) 
			     wins)))
	 (y2 (apply max (map (lambda (w) 
			       (+ (cadr (window-position w))
				  (cadr (window-size w)))) wins))))
    (map unflash-window wins)
    (tile-windows wins
		  #:start-pos `(,x1 ,y1)
		  #:end-pos   `(,x2 ,y2)
		  #:order 'vertical)))


Even nicer would be if I could use a Mac-style lasso to mark a rectangle, and
any windows fully inside it (or at all inside it?) would be tiled to use the
full area of the rectangle.  Anyone done anything like this?
-- 
"If you push something hard enough, it will fall over."
  -- Thud's First Law of Opposition
UIN: 9838814

From owner-scwm-discuss@mit.edu  Sun Apr 18 02:13:00 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA04664
	for scwm-discuss-outgoing; Sun, 18 Apr 1999 02:13:00 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from quasar.newtonlabs.com (host97.newtonlabs.com [206.125.74.97])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id CAA04661
	for <scwm-discuss@vicarious-existence.mit.edu>; Sun, 18 Apr 1999 02:12:57 -0400
Received: from nebula.newtonlabs.com (nebula.newtonlabs.com [207.55.51.23])
	by quasar.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) with ESMTP id XAA17445
	for <scwm-discuss@vicarious-existence.mit.edu>; Sat, 17 Apr 1999 23:12:10 -0700
Received: (from cwitty@localhost)
	by nebula.newtonlabs.com (8.9.3/8.9.3/Debian/GNU) id XAA15932;
	Sat, 17 Apr 1999 23:14:31 -0700
Date: Sat, 17 Apr 1999 23:14:31 -0700
Message-Id: <199904180614.XAA15932@nebula.newtonlabs.com>
From: "Carl R. Witty" <cwitty@newtonlabs.com>
To: scwm-discuss@mit.edu
Subject: scwm options of type 'color
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I'd suggest removing the #:favorites from the color option
definitions.  It's some bad code duplication (the current list is
duplicated many, many times), and I can't really think why you'd want
to set different options to have different #:favorites lists.

Plus, if you use a single global variable to hold the list of color
names, somebody who is working on a reddish theme could replace the
list of colors with red, pink, purple, etc.

Carl Witty

From owner-scwm-discuss@mit.edu  Sun Apr 18 12:34:14 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA08531
	for scwm-discuss-outgoing; Sun, 18 Apr 1999 12:34:14 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA08528
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 18 Apr 1999 12:34:13 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA11516; Sun, 18 Apr 99 12:33:13 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id SAA12170
	for scwm-discuss@mit.edu; Sun, 18 Apr 1999 18:30:08 +0200 (MET DST)
Received: (qmail 12461 invoked by uid 115); 18 Apr 1999 16:14:10 -0000
To: scwm-discuss@mit.edu
Subject: Re: sloppiness
References: <14101.23227.846904.201649@juno> <qrrn20a4i2f.fsf@elwha.cs.washington.edu> <14101.28527.358143.873765@juno>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 18 Apr 1999 18:14:10 +0200
In-Reply-To: Equality 7-2521's message of "Wed, 14 Apr 1999 23:47:43 -0500 (CDT)"
Message-Id: <wswvz9nbxp.fsf@orcus.priv.at>
Lines: 56
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


--=-=-=

Hi,

>>>>> On Wed, 14 Apr 1999 23:47:43 -0500 (CDT)
>>>>> Equality 7-2521 <beuscher@eecs.tulane.edu> said:

 Eric> for every window type i had displayed, get-window-focus
 Eric> returned 'mouse

I can't reproduce that here.

Could you try this patch and tell us what HandleEnterNotify messages
it spits:


--=-=-=
Content-Type: application/x-patch;
 name=*vc-diff*
Content-Disposition: attachment
Content-Transfer-Encoding: 8bit

Index: scwm/events.c
===================================================================
RCS file: /usr/src/cvs/scwm/scwm/events.c,v
retrieving revision 1.35
diff -u -u -r1.35 events.c
--- events.c	1999/04/13 18:31:27	1.35
+++ events.c	1999/04/18 16:12:04
@@ -1476,8 +1476,12 @@
       g_lastwin_entered = SCM_BOOL_F;
     }
   
+    scwm_msg(INFO, "HandleEnterNotify", "`%s' lost the pointer",
+	     (Scr.Focus ? Scr.Focus->name : "(null)"));
     if (Scr.Focus && !Scr.Focus->fClickToFocus &&
 	!Scr.Focus->fSloppyFocus) {
+      scwm_msg(INFO, "HandleEnterNotify",
+	       "... it had mouse-focus, so it loses the focus, too");
       SetFocus(Scr.NoFocusWin, NULL, 1);
     }
     if (Scr.fColormapFollowsMouse) {

--=-=-=


Perhaps Scr.Focus is messed up or something.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

--=-=-=--

From owner-scwm-discuss@mit.edu  Sun Apr 18 12:34:09 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA08526
	for scwm-discuss-outgoing; Sun, 18 Apr 1999 12:34:09 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA08523
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 18 Apr 1999 12:34:07 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA11507; Sun, 18 Apr 99 12:33:07 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id SAA12169
	for scwm-discuss@mit.edu; Sun, 18 Apr 1999 18:30:06 +0200 (MET DST)
Received: (qmail 6890 invoked by uid 115); 18 Apr 1999 15:49:20 -0000
To: scwm-discuss@mit.edu
Subject: Re: Window placement on mouse click viewport instead of current viewport?
References: <m2btgv8sur.fsf_-_@blinky.bfr.co.il> <wsn20dzz70.fsf@orcus.priv.at> <qrrr9pppiu6.fsf@elwha.cs.washington.edu> <ws1zhocks5.fsf@orcus.priv.at> <qrr3e24kwmb.fsf@elwha.cs.washington.edu> <wshfqjim5s.fsf@orcus.priv.at> <qrr7lre456x.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 18 Apr 1999 17:49:19 +0200
In-Reply-To: Greg Badros's message of "15 Apr 1999 02:13:26 -0700"
Message-Id: <wszp46lyio.fsf@orcus.priv.at>
Lines: 23
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 15 Apr 1999 02:13:26 -0700
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> No, that still changes the arguments to the process you're
 Greg> execing.

Granted, but ...

 Greg> LOTS of programs look at argv[0] and have different behaviour
 Greg> dependent on its value.

... can you think of some _X_ applications that rely on this? The only 
programs that I know that used argv[0] are console apps. I think this
is very rare in X apps, perhaps due to changing argv[0] being one
recommended way to change the resource name.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Sun Apr 18 12:54:02 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA08754
	for scwm-discuss-outgoing; Sun, 18 Apr 1999 12:54:02 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA08751
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 18 Apr 1999 12:54:01 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA19211; Sun, 18 Apr 99 12:54:11 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id SAA12682
	for scwm-discuss@mit.edu; Sun, 18 Apr 1999 18:40:03 +0200 (MET DST)
Received: (qmail 16050 invoked by uid 115); 18 Apr 1999 16:30:41 -0000
To: scwm-discuss@mit.edu
Subject: Re: core dump
References: <hh7lrek6rt.fsf_-_@dres.elam.org>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 18 Apr 1999 18:30:40 +0200
In-Reply-To: James LewisMoss's message of "14 Apr 1999 21:32:38 -0400"
Message-Id: <wsr9phnb67.fsf@orcus.priv.at>
Lines: 52
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


--=-=-=

Hi,

>>>>> On 14 Apr 1999 21:32:38 -0400
>>>>> James LewisMoss <dres@ioa.com> said:

 Dres> 4  [gnome-update-state #<window 62914651: "panel"> 1023 ...]
 Dres> 5* (if (nonzero? (logand mask WIN_STATE_SHADED)) (if (nonzero? #) (if # #) ...))

I think I had a similar problem. Does this workaround fix it?


--=-=-=
Content-Type: application/x-patch;
 name=*vc-diff*
Content-Disposition: attachment
Content-Transfer-Encoding: 8bit

Index: gnome-hints.scm
===================================================================
RCS file: /usr/src/cvs/scwm/scheme/gnome-hints.scm,v
retrieving revision 1.1.1.3
retrieving revision 1.3
diff -u -u -r1.1.1.3 -r1.3
--- gnome-hints.scm	1999/04/08 07:24:12	1.1.1.3
+++ gnome-hints.scm	1999/04/08 07:28:57	1.3
@@ -302,8 +302,10 @@
   (if (nonzero? (logand mask WIN_STATE_SHADED))
       (if (nonzero? (logand new-state WIN_STATE_SHADED))
 	  (if (not (window-shaded? win))
-              (if *gnome-shade-animated*
-                  (animated-window-shade win) (window-shade win)))
+	      (if (equal? (window-class win) "Panel")
+		  (write-line "FIXME: *not* window-shading the panel, this breaks here -robbe")
+		  (if *gnome-shade-animated*
+		      (animated-window-shade win) (window-shade win))))
 	  (if (window-shaded? win)
               (if *gnome-shade-animated*
                   (animated-window-unshade win) (window-unshade win)))))

--=-=-=


        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

--=-=-=--

From owner-scwm-discuss@mit.edu  Sun Apr 18 16:34:01 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA09937
	for scwm-discuss-outgoing; Sun, 18 Apr 1999 16:34:01 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA09931
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 18 Apr 1999 16:34:00 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA07558; Sun, 18 Apr 99 16:32:57 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id WAA19047
	for scwm-discuss@mit.edu; Sun, 18 Apr 1999 22:30:03 +0200 (MET DST)
Received: (qmail 20605 invoked by uid 115); 18 Apr 1999 17:03:56 -0000
To: scwm-discuss@mit.edu
Subject: Re: Some memory numbers...
References: <qrr676x1hty.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 18 Apr 1999 19:03:55 +0200
In-Reply-To: Greg Badros's message of "15 Apr 1999 18:20:57 -0700"
Message-Id: <wspv51n9ms.fsf@orcus.priv.at>
Lines: 29
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 15 Apr 1999 18:20:57 -0700
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> I just did some quick checks to see what's sucking our memory
 Greg> in Scwm... here are my notes...

 Greg> I'm still not sure about the memory leak... does anybody who
 Greg> doesn't use GTk+ have the leak show up?

I just made a test-build with Imlib disabled:

USER       PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
robbe    12470  0.4  4.3  4332  2756  p0 S   18:14   0:01 scwm_no_imlib
robbe    20085  2.0  4.6  5108  2936  p0 S N 18:39   0:01 scwm_normal

In the latter, gtk+ is not loaded (I think), in the former gtk support
is not built at all. Note that the libs that Imlib binds in amount to
about 763 kB, which is pretty near to the difference between the two
SIZEs (776 kB).

This is on an i586-linux box, Cassowary is not used.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Sun Apr 18 20:22:06 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA11005
	for scwm-discuss-outgoing; Sun, 18 Apr 1999 20:22:06 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA11002
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 18 Apr 1999 20:22:05 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA10074; Sun, 18 Apr 99 20:22:12 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA17525; Sun, 18 Apr 1999 17:21:07 -0700 (PDT)
To: John Kodis <kodis@jagunet.com>
Cc: scwm-discuss@mit.edu
Subject: Re: SCWM segs after an opaque move
References: <19990417134016.A707@kodis.jagunet.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Apr 1999 17:21:07 -0700
In-Reply-To: John Kodis's message of "Sat, 17 Apr 1999 13:40:16 -0400"
Message-Id: <qrr4smde9zg.fsf@elwha.cs.washington.edu>
Lines: 5
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

This is fixed now... just a trivial mistake on my part that I noticed
once I got back from my trip and Scwm died on me too!

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Sun Apr 18 20:21:36 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA10997
	for scwm-discuss-outgoing; Sun, 18 Apr 1999 20:21:36 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA10994
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 18 Apr 1999 20:21:35 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA10033; Sun, 18 Apr 99 20:21:42 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA17522; Sun, 18 Apr 1999 17:20:15 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Window placement on mouse click viewport instead of current viewport?
References: <m2btgv8sur.fsf_-_@blinky.bfr.co.il> <wsn20dzz70.fsf@orcus.priv.at> <qrrr9pppiu6.fsf@elwha.cs.washington.edu> <ws1zhocks5.fsf@orcus.priv.at> <qrr3e24kwmb.fsf@elwha.cs.washington.edu> <wshfqjim5s.fsf@orcus.priv.at> <qrr7lre456x.fsf@elwha.cs.washington.edu> <wszp46lyio.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Apr 1999 17:20:14 -0700
In-Reply-To: Robert Bihlmeyer's message of "18 Apr 1999 17:49:19 +0200"
Message-Id: <qrr7lr9ea0x.fsf@elwha.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> >>>>> On 15 Apr 1999 02:13:26 -0700
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
>  Greg> No, that still changes the arguments to the process you're
>  Greg> execing.
> 
> Granted, but ...
> 
>  Greg> LOTS of programs look at argv[0] and have different behaviour
>  Greg> dependent on its value.
> 
> ... can you think of some _X_ applications that rely on this? The only 
> programs that I know that used argv[0] are console apps. I think this
> is very rare in X apps, perhaps due to changing argv[0] being one
> recommended way to change the resource name.

I suppose it's about as likely for a program to care about it's geometry 
specification.  But if changing argv[0] changes the resource name, that
has the problem of changing the resources that get merged in, which is
really bad because some users (e.g., me!) rely on that for other purposes.

Greg

From owner-scwm-discuss@mit.edu  Sun Apr 18 20:24:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA11077
	for scwm-discuss-outgoing; Sun, 18 Apr 1999 20:24:59 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA11074
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 18 Apr 1999 20:24:58 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA07649; Sun, 18 Apr 99 20:23:55 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA17528; Sun, 18 Apr 1999 17:24:00 -0700 (PDT)
To: "Carl R. Witty" <cwitty@newtonlabs.com>
Cc: scwm-discuss@mit.edu
Subject: Re: scwm-variables.txt ?
References: <199904172104.OAA13574@nebula.newtonlabs.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Apr 1999 17:24:00 -0700
In-Reply-To: "Carl R. Witty"'s message of "Sat, 17 Apr 1999 14:04:47 -0700"
Message-Id: <qrr1zhhe9un.fsf@elwha.cs.washington.edu>
Lines: 17
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

"Carl R. Witty" <cwitty@newtonlabs.com> writes:

> Why did we stop generating scwm-variables.txt ?  As far as I can tell,
> it included documentation that wasn't duplicated in any of the other
> *.txt files...

Part of the move to the "preferences" support.  However, for variables
defined in C, you're right that we are giving something up....

> 
> (Also, if we don't start generating it again, the obsolete version
> should probably be removed from the repository.)

I'll figure something out sometime soon.  I really wish guile had
built-in support for documenting C primitives and C-defined variables.

Greg

From owner-scwm-discuss@mit.edu  Sun Apr 18 20:26:39 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA11137
	for scwm-discuss-outgoing; Sun, 18 Apr 1999 20:26:39 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA11134
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 18 Apr 1999 20:26:38 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA07847; Sun, 18 Apr 99 20:25:35 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA17531; Sun, 18 Apr 1999 17:25:37 -0700 (PDT)
To: Todd Larason <jtl@molehill.org>
Cc: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: [jtl@molehill.org: leak possibility]
References: <19990417144216.A27018@molehill.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Apr 1999 17:25:37 -0700
In-Reply-To: Todd Larason's message of "Sat, 17 Apr 1999 14:42:16 -0700"
Message-Id: <qrryajpcv7i.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Todd Larason <jtl@molehill.org> writes:

> Are the other people seeing massively growing scwms using the gnome hints?  
> 
> I've been seeing a bad leak in X itself for a while, and have been associating 
> it with a particular app that pops up LOTS of transient windows.  It looks
> like that app may also be triggering the scwm leak.
> 
> Without having looked at how the gnome hints are done, one possibility that
> comes to mind is that the data for an X property may not be freed properly.
> 
> This would fit with the observation that switching windows rapidly causes the
> leak, as well.

I see a pretty big leak when timer hooks are invoked w/o even changing
windows... I've not had time to look at this yet... it's not *just*
gnome stuff, since I do not use that at all.

Greg

From owner-scwm-discuss@mit.edu  Sun Apr 18 20:29:52 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA11245
	for scwm-discuss-outgoing; Sun, 18 Apr 1999 20:29:52 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA11241
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 18 Apr 1999 20:29:51 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA10798; Sun, 18 Apr 99 20:29:59 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA17534; Sun, 18 Apr 1999 17:28:54 -0700 (PDT)
To: "Carl R. Witty" <cwitty@newtonlabs.com>
Cc: scwm-discuss@mit.edu
Subject: Re: scwm options of type 'color
References: <199904180614.XAA15932@nebula.newtonlabs.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Apr 1999 17:28:54 -0700
In-Reply-To: "Carl R. Witty"'s message of "Sat, 17 Apr 1999 23:14:31 -0700"
Message-Id: <qrrvhetcv21.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

"Carl R. Witty" <cwitty@newtonlabs.com> writes:

> I'd suggest removing the #:favorites from the color option
> definitions.  It's some bad code duplication (the current list is
> duplicated many, many times), and I can't really think why you'd want
> to set different options to have different #:favorites lists.
> 
> Plus, if you use a single global variable to hold the list of color
> names, somebody who is working on a reddish theme could replace the
> list of colors with red, pink, purple, etc.

The problem is with 8 bit color display... until our color-constructors
return the nearest color, those with 8 bit displays really need
something besides a color wheel to pick colors (since the color wheel
ain't gonna hit something in their palette, in all likelihood).

Suppose the favorites list were just an option, too-- a theme could
change the favorites list for all the color selectors.  I agree, though, 
that it's more a property of color selection than the individual color
being selecting.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Mon Apr 19 12:56:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA17965
	for scwm-discuss-outgoing; Mon, 19 Apr 1999 12:56:45 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA17962
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 19 Apr 1999 12:56:43 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA18182; Mon, 19 Apr 99 12:56:42 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id SAA12636
	for scwm-discuss@mit.edu; Mon, 19 Apr 1999 18:40:50 +0200 (MET DST)
Received: (qmail 3434 invoked by uid 115); 19 Apr 1999 14:04:09 -0000
To: scwm-discuss@mit.edu
Subject: Re: Window placement on mouse click viewport instead of current viewport?
References: <m2btgv8sur.fsf_-_@blinky.bfr.co.il> <wsn20dzz70.fsf@orcus.priv.at> <qrrr9pppiu6.fsf@elwha.cs.washington.edu> <ws1zhocks5.fsf@orcus.priv.at> <qrr3e24kwmb.fsf@elwha.cs.washington.edu> <wshfqjim5s.fsf@orcus.priv.at> <qrr7lre456x.fsf@elwha.cs.washington.edu> <wszp46lyio.fsf@orcus.priv.at> <qrr7lr9ea0x.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 19 Apr 1999 16:04:07 +0200
In-Reply-To: Greg Badros's message of "18 Apr 1999 17:20:14 -0700"
Message-Id: <wsr9pgwvu0.fsf@orcus.priv.at>
Lines: 22
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 18 Apr 1999 17:20:14 -0700
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> I suppose it's about as likely for a program to care about it's
 Greg> geometry specification.

Ok. The main problem that remains for geometry is that not every
program has a geometry option! I admit that this is somewhat broken,
but nonetheless Electric Eyes, Gimp, and other suffer from this
problem.

 Greg> But if changing argv[0] changes the resource name,

This can be prevented by setting RESOURCE_NAME in the environment.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Mon Apr 19 18:15:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA20390
	for scwm-discuss-outgoing; Mon, 19 Apr 1999 18:15:38 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA20387
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 19 Apr 1999 18:15:35 -0400
Received: from host97.newtonlabs.com by MIT.EDU with SMTP
	id AA13272; Mon, 19 Apr 99 18:14:29 EDT
Received: from bogomips.newtonlabs.com (bogomips.newtonlabs.com [207.55.51.12])
	by quasar.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) with ESMTP id PAA18456;
	Mon, 19 Apr 1999 15:14:22 -0700
Received: (from cwitty@localhost)
	by bogomips.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) id PAA19181;
	Mon, 19 Apr 1999 15:14:21 -0700
To: Greg Badros <gjb@cs.washington.edu>
Cc: "Carl R. Witty" <cwitty@newtonlabs.com>, scwm-discuss@mit.edu
Subject: Re: scwm options of type 'color
References: <199904180614.XAA15932@nebula.newtonlabs.com> <qrrvhetcv21.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: cwitty@newtonlabs.com (Carl R. Witty)
Date: 19 Apr 1999 15:14:21 -0700
In-Reply-To: Greg Badros's message of "18 Apr 1999 17:28:54 -0700"
Message-Id: <v4jogkk5kci.fsf@bogomips.newtonlabs.com>
Lines: 18
X-Mailer: Gnus v5.4.61/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> The problem is with 8 bit color display... until our color-constructors
> return the nearest color, those with 8 bit displays really need
> something besides a color wheel to pick colors (since the color wheel
> ain't gonna hit something in their palette, in all likelihood).

I wasn't suggesting moving to a color wheel, or changing the visible
behavior at all.

> Suppose the favorites list were just an option, too-- a theme could
> change the favorites list for all the color selectors.  I agree, though, 
> that it's more a property of color selection than the individual color
> being selecting.

Yes, that's what I meant.

Carl

From owner-scwm-discuss@mit.edu  Mon Apr 19 18:42:54 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA20585
	for scwm-discuss-outgoing; Mon, 19 Apr 1999 18:42:54 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA20581
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 19 Apr 1999 18:42:52 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA15877; Mon, 19 Apr 99 18:41:48 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA22720; Mon, 19 Apr 1999 15:41:42 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Window placement on mouse click viewport instead of current viewport?
References: <m2btgv8sur.fsf_-_@blinky.bfr.co.il> <wsn20dzz70.fsf@orcus.priv.at> <qrrr9pppiu6.fsf@elwha.cs.washington.edu> <ws1zhocks5.fsf@orcus.priv.at> <qrr3e24kwmb.fsf@elwha.cs.washington.edu> <wshfqjim5s.fsf@orcus.priv.at> <qrr7lre456x.fsf@elwha.cs.washington.edu> <wszp46lyio.fsf@orcus.priv.at> <qrr7lr9ea0x.fsf@elwha.cs.washington.edu> <wsr9pgwvu0.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Apr 1999 15:41:41 -0700
In-Reply-To: Robert Bihlmeyer's message of "19 Apr 1999 16:04:07 +0200"
Message-Id: <qrrwvz89qsa.fsf@elwha.cs.washington.edu>
Lines: 58
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 18 Apr 1999 17:20:14 -0700
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
>  Greg> I suppose it's about as likely for a program to care about it's
>  Greg> geometry specification.
> 
> Ok. The main problem that remains for geometry is that not every
> program has a geometry option! I admit that this is somewhat broken,
> but nonetheless Electric Eyes, Gimp, and other suffer from this
> problem.

Then they should be fixed, too... the advantage here is that virtually
all legacy applications do support geometry (since they're all Xt
Intrinsics based).

> 
>  Greg> But if changing argv[0] changes the resource name,
> 
> This can be prevented by setting RESOURCE_NAME in the environment.

I'm confused... doesn't setting the RESOURCE_NAME change the resource
name.  The problem isn't just changing argv[0] (that was a secondary
problem when I didn't even realize that that also changed the resource
name), the problem *is* the changing of the resource name (you can do it 
most easily with "-name" for Intrinsics [and maybe other] apps).

In any case, if you or anyone wants to try doing something for support
exact knowledge of mapping windows, I'd love to see it, even if it uses
resource names.  Just to summarize why I think geometry makes sense:

1) It should not affect the programs behaviour since geometry hints are
only requests and the actual geometry is only to be trusted when
reported from the WM.

2) The geometry can be changed by the window manager, after the process
is started.

3) The geometry provides a reasonably large encoding space, with low
probability confliccts with actually-desired values.  Note that only the 
unique id of the process needs to be encoding-- other information can be 
kept in Scwm data structure that the id can map to.

4) The geometry is almost always specifiable via a standard command-line 
option.

Resource names fail #1 badly, since one of their purposes is to control
which resources get used.  Resource names also fail #2-- they cannot be
changed (certainly not usefully, anyway) after creation.  Resource names 
win on #3, but that doesn't seem to matter much as the numbers are
sufficient.  #4 could be a bit of a problem, but where an X program does 
not accept a -geometry argument, it should, and these programs are often 
newer and thus easier to change.

Greg

From owner-scwm-discuss@mit.edu  Mon Apr 19 18:46:52 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA20651
	for scwm-discuss-outgoing; Mon, 19 Apr 1999 18:46:52 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA20646
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 19 Apr 1999 18:46:31 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA16644; Mon, 19 Apr 99 18:45:22 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA22736; Mon, 19 Apr 1999 15:45:18 -0700 (PDT)
To: cwitty@newtonlabs.com (Carl R. Witty)
Cc: scwm-discuss@mit.edu
Subject: Re: scwm options of type 'color
References: <199904180614.XAA15932@nebula.newtonlabs.com> <qrrvhetcv21.fsf@elwha.cs.washington.edu> <v4jogkk5kci.fsf@bogomips.newtonlabs.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Apr 1999 15:45:17 -0700
In-Reply-To: cwitty@newtonlabs.com's message of "19 Apr 1999 15:14:21 -0700"
Message-Id: <qrru2uc9qma.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

cwitty@newtonlabs.com (Carl R. Witty) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > The problem is with 8 bit color display... until our color-constructors
> > return the nearest color, those with 8 bit displays really need
> > something besides a color wheel to pick colors (since the color wheel
> > ain't gonna hit something in their palette, in all likelihood).
> 
> I wasn't suggesting moving to a color wheel, or changing the visible
> behavior at all.

No, but w/o the drop down box, the "Pick..." button which opens up the
GTk color wheel seems like the most obvious place people will go, and
they will be disappointed when they get black instead.  We really need
make-color to return the closest color if the one passed in is no good.
Anybody know of free code that does this that we can steal?

> 
> > Suppose the favorites list were just an option, too-- a theme could
> > change the favorites list for all the color selectors.  I agree, though, 
> > that it's more a property of color selection than the individual color
> > being selecting.
> 
> Yes, that's what I meant.

Then I agree with your suggestion wholeheartedly! (But we still need to
return a close color instead of black).

Greg

From owner-scwm-discuss@mit.edu  Tue Apr 20 06:07:25 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA25249
	for scwm-discuss-outgoing; Tue, 20 Apr 1999 06:07:25 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id GAA25246
	for <scwm-discuss@vicarious-existence.mit.edu>; Tue, 20 Apr 1999 06:07:21 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id DAA23784; Tue, 20 Apr 1999 03:06:06 -0700 (PDT)
To: scwm-discuss@mit.edu
Subject: Another solution... 
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Apr 1999 03:06:05 -0700
Message-ID: <qrrvherip2q.fsf@elwha.cs.washington.edu>
Lines: 68
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Over lunch today, Toby Sargeant and I figured out a pretty damn cool way
to do something better for reliably knowing what process creates a top
level window.  First, the bottom line (there will be restrictions
later):

(use-scwm-modules xprop-extras)
(window-pid WINDOW)

`window-pid' is a new procedure I just added that that reports the
process ID of the process that created the window WINDOW.

How does it work, you ask? (Humour me....)

You just use LD_PRELOAD and some code we wrote this afternoon:

LD_PRELOAD=/full/path/to/scwm_set_pid_property.so xlogo

Which is of course wrapped with a Scheme procedure in base.scm:

(define-public (execute-with-pidprop command)
  "Execute COMMAND in the background and permit use of `window-pid' on its windows."
  (let ((pidprop-so (string-append (scwm-path-exec-prefix) "/bin/scwm_set_pid_property.so")))
    ((if *use-scwm-system-proc* scwm-system system) 
     (string-append "LD_PRELOAD=" pidprop-so " exec " command " &"))))


The scwm_set_pid_property.so intercepts XCreateWindow and
XCreateSimpleWindow, and forwards them to the real ones.  After getting
the window back, if the parent was the root window (i.e., it's a
top-level window), we then set the SCWM_RUNNING_PID X11 property on the
window.  (It unsets LD_PRELOAD so that child processes of the X client
do not necessarily link with our .so file).

Then `window-pid' in Scheme just reads that property-- it'll return #f
if the property does not exist on a given window.

Downsides:

One downside is that the trick only works on X applications that are
not setuid; this wouldn't be that big of a deal since do one in their
right mind would run an X app setuid... however RedHat comes with xterm
setuid root (so it can write to /var/run/utmp -- any other reasons???).
This means you need a non-setuid root version of xterm to use with this
trick (easy enough if you have root access -- just "cp nxterm
nxterm-nosuid" -- you need root privileges on RedHat, though, as xterm
is go-r, too).  You can also just build xterm96-- the latest source is at:

http://www.clark.net/pub/dickey/xterm/xterm.html

Another downside is that some of this stuff is system dependent, but it
should work on a lot of the platforms that Scwm supports -- basically
anything with ELF dynamic loading should be fine.

Another small downside is that you only should do the LD_PRELOAD if the
binary is going to map a window and needs to link to libX11; otherwise
you'll have a small performance hit while the XCreateWindow and
XCreateSimpleWindow are resolved.  This could be avoided, but only at
the cost of additional checks for each XCreateWindow (which is another
small downside -- the instrumented functions will slow down a tiny bit
-- XCreateWindow can be called a lot, but I doubt this'll be a problem
in practice).

Anything I'm missing?  What do you think?  Anybody have a reference to
some authoritative source claiming that there is no way to get at a pid
from a window id?  I'd like to see if anyone else has done something
like this....

Greg

From owner-scwm-discuss@mit.edu  Tue Apr 20 11:24:46 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA27090
	for scwm-discuss-outgoing; Tue, 20 Apr 1999 11:24:46 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA27087
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 20 Apr 1999 11:24:44 -0400
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA27877; Tue, 20 Apr 99 11:23:28 EDT
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for 
          Tue, 20 Apr 1999 10:23:24 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Tue, 20 Apr 1999 10:23:23 -0500 (CDT)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14108.39914.892594.636080@juno>
Date: Tue, 20 Apr 1999 10:23:22 -0500 (CDT)
From: Equality 7-2521 <beuscher@eecs.tulane.edu>
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Subject: Re: sloppiness
In-Reply-To: <wswvz9nbxp.fsf@orcus.priv.at>
References: <14101.23227.846904.201649@juno>
	<qrrn20a4i2f.fsf@elwha.cs.washington.edu>
	<14101.28527.358143.873765@juno>
	<wswvz9nbxp.fsf@orcus.priv.at>
X-Mailer: VM 6.62 under Emacs 20.3.1
Cc: scwm-discuss@mit.edu
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


/* $Id: events.c,v 1.154 1999/04/15 09:26:30 gjb Exp $

from *vc-diff*:
> Index: scwm/events.c
> ===================================================================
> RCS file: /usr/src/cvs/scwm/scwm/events.c,v
> retrieving revision 1.35
> diff -u -u -r1.35 events.c
> --- events.c	1999/04/13 18:31:27	1.35
> +++ events.c	1999/04/18 16:12:04

the versions looked disparate despite the dates, but ...

from testing, i only got the messages when i iconified, and
therefore lost mouse-control, and regained it by mouse-clicking
to get one of my menus.   i did not get the messages when i
iconified, lost mouse-control, and regained it by moving the
mouse into the focus of another window and got control back

> Could you try this patch and tell us what HandleEnterNotify messages
> it spits:
the first two are xterms, the next two are remote emacs-es used for
mail, and the last is obviously a netscape.   i still dont get
this broken functionality with local emacs-es

scwm> (scwm-version)
"0.99.1"
scwm> (scwm-version-date)
"Mon Apr 19 14:02:28 EDT 1999 -- $Revision: 1.1386 $"

so applying the patch yields the following messages:

[Scwm][HandleEnterNotify]:  ` oyster:~ ' lost the pointer
[Scwm][HandleEnterNotify]:  ... it had mouse-focus, so it loses the focus, too
[Scwm][HandleEnterNotify]:  `(null)' lost the pointer
[Scwm][HandleEnterNotify]:  ` plantain:~ ' lost the pointer
[Scwm][HandleEnterNotify]:  ... it had mouse-focus, so it loses the focus, too
[Scwm][HandleEnterNotify]:  `(null)' lost the pointer
[Scwm][HandleEnterNotify]:  `(null)' lost the pointer
[Scwm][HandleEnterNotify]:  `.inbox Summary' lost the pointer
[Scwm][HandleEnterNotify]:  ... it had mouse-focus, so it loses the focus, too
[Scwm][HandleEnterNotify]:  `(null)' lost the pointer
[Scwm][HandleEnterNotify]:  `scwm Summary' lost the pointer
[Scwm][HandleEnterNotify]:  ... it had mouse-focus, so it loses the focus, too
[Scwm][HandleEnterNotify]:  `(null)' lost the pointer
[Scwm][HandleEnterNotify]:  `Netscape: The Page of Bar (and maybe some Foo too)' lost the pointer
[Scwm][HandleEnterNotify]:  ... it had mouse-focus, so it loses the focus, too
[Scwm][HandleEnterNotify]:  `(null)' lost the pointer


-- 
eric

From owner-scwm-discuss@mit.edu  Tue Apr 20 17:38:23 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA29414
	for scwm-discuss-outgoing; Tue, 20 Apr 1999 17:38:23 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA29411
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 20 Apr 1999 17:38:18 -0400
Received: from host97.newtonlabs.com by MIT.EDU with SMTP
	id AA01249; Tue, 20 Apr 99 17:37:01 EDT
Received: from bogomips.newtonlabs.com (bogomips.newtonlabs.com [207.55.51.12])
	by quasar.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) with ESMTP id OAA08535;
	Tue, 20 Apr 1999 14:36:59 -0700
Received: (from cwitty@localhost)
	by bogomips.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) id OAA24941;
	Tue, 20 Apr 1999 14:36:58 -0700
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Another solution...
References: <qrrvherip2q.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: cwitty@newtonlabs.com (Carl R. Witty)
Date: 20 Apr 1999 14:36:57 -0700
In-Reply-To: Greg Badros's message of "20 Apr 1999 03:06:05 -0700"
Message-Id: <v4jaew355za.fsf@bogomips.newtonlabs.com>
Lines: 60
X-Mailer: Gnus v5.4.61/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Anything I'm missing?  What do you think?  Anybody have a reference to
> some authoritative source claiming that there is no way to get at a pid
> from a window id?  I'd like to see if anyone else has done something
> like this....

I've actually got a suggestion for a more general (and in some cases
more reliable) variant.

Instead of using the PID (which you typically wouldn't know anyway,
although you often in theory could) how about:

LD_PRELOAD=.../scwm_set_properties.so SCWM_PROPERTIES='SCWM_ID=13759' xlogo

This would also allow:

LD_PRELOAD=.../scwm_set_properties.so \
  SCWM_PROPERTIES='SCWM_ACTION=(move-window-to-desk 3)' \
  xlogo

One obvious benefit to this approach is in the case of remote
execution.  It's going to be fairly difficult to correlate a PID which
belongs to a process on another machine with a particular call to
"execute", which I assume is the eventual goal.  (In fact, if you're
unlucky, you could get PID collisions across hosts.)

Any approach with LD_PRELOAD does have some drawbacks.

1) It gets much harder (or impossible) with programs executed on
remote hosts, depending on what the remote host is.  (At the least, if
the remote host is a different architecture/OS, you need to have the
LD_PRELOAD stub compiled for that machine (and you may need to have
different pathnames to the stub on different machines); at worst, the
remote machine may not support LD_PRELOAD at all, even if the scwm
machine does.)

2) As Greg mentioned, it doesn't work with setuid executables.

3) It doesn't work with statically linked executables (such as my copy
of Netscape, which is distributed statically linked for Motif
licensing reasons).

So far, we've seen three proposals:
a) WM_COMMAND
b) -geometry
c) LD_PRELOAD
And as far as I can tell, none of these are perfect; none work in all
situations.

Maybe we should support all of them?  We could have a function
window-scwm-id that checks for a SCWM_ID X11 window property, checks
for a WM_COMMAND that contains the text SCWM_ID=nnnn, checks for a
funny geometry, and checks for anything else we can think of in the
future.  Then (this part is trickier) we could have a function
execute-with-scwm-id that parses the command to execute and guesses
(with the aid of a table of commands) which approach will work for
this command.

Carl Witty

From owner-scwm-discuss@mit.edu  Tue Apr 20 20:40:53 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA30584
	for scwm-discuss-outgoing; Tue, 20 Apr 1999 20:40:53 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA30581
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 20 Apr 1999 20:40:52 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA07188; Tue, 20 Apr 99 20:39:33 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA24702; Tue, 20 Apr 1999 17:39:26 -0700 (PDT)
To: cwitty@newtonlabs.com (Carl R. Witty)
Cc: scwm-discuss@mit.edu
Subject: Re: Another solution...
References: <qrrvherip2q.fsf@elwha.cs.washington.edu> <v4jaew355za.fsf@bogomips.newtonlabs.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Apr 1999 17:39:26 -0700
In-Reply-To: cwitty@newtonlabs.com's message of "20 Apr 1999 14:36:57 -0700"
Message-Id: <qrr90bmlsch.fsf@elwha.cs.washington.edu>
Lines: 86
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

cwitty@newtonlabs.com (Carl R. Witty) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > Anything I'm missing?  What do you think?  Anybody have a reference to
> > some authoritative source claiming that there is no way to get at a pid
> > from a window id?  I'd like to see if anyone else has done something
> > like this....

I'd still love to find a source that claims this shortcoming of X/11 to
see if there is any rationalization for it.

> 
> I've actually got a suggestion for a more general (and in some cases
> more reliable) variant.

Sure, sure... there are a million possibilities once the general 
mechanism exists.  I went with minimal for the proof of concept
implementation.

<snip>

> LD_PRELOAD=.../scwm_set_properties.so SCWM_PROPERTIES='SCWM_ID=13759' xlogo
> 
> This would also allow:
> 
> LD_PRELOAD=.../scwm_set_properties.so \
>   SCWM_PROPERTIES='SCWM_ACTION=(move-window-to-desk 3)' \
>   xlogo
> 
> One obvious benefit to this approach is in the case of remote
> execution.  It's going to be fairly difficult to correlate a PID which
> belongs to a process on another machine with a particular call to
> "execute", which I assume is the eventual goal.  (In fact, if you're
> unlucky, you could get PID collisions across hosts.)
> 

Right, but that's why you'd use `window-client-machine-name', too. (See
the docs to `window-pid'.)


> Any approach with LD_PRELOAD does have some drawbacks.
> 
> 1) It gets much harder (or impossible) with programs executed on
> remote hosts, depending on what the remote host is.  (At the least, if
> the remote host is a different architecture/OS, you need to have the
> LD_PRELOAD stub compiled for that machine (and you may need to have
> different pathnames to the stub on different machines); at worst, the
> remote machine may not support LD_PRELOAD at all, even if the scwm
> machine does.)

Yep... a big hit for a heterogeneous environment.

> 2) As Greg mentioned, it doesn't work with setuid executables.
> 
> 3) It doesn't work with statically linked executables (such as my copy
> of Netscape, which is distributed statically linked for Motif
> licensing reasons).
> 
> So far, we've seen three proposals:
> a) WM_COMMAND
> b) -geometry
> c) LD_PRELOAD
> And as far as I can tell, none of these are perfect; none work in all
> situations.

I claim that b) subsumes a), but all it takes is one misbehaved
application to prove me wrong, so I probably am. :-)

> Maybe we should support all of them?  We could have a function
> window-scwm-id that checks for a SCWM_ID X11 window property, checks
> for a WM_COMMAND that contains the text SCWM_ID=nnnn, checks for a
> funny geometry, and checks for anything else we can think of in the
> future.  Then (this part is trickier) we could have a function
> execute-with-scwm-id that parses the command to execute and guesses
> (with the aid of a table of commands) which approach will work for
> this command.

I think the a/b methods should set properties on the window -- that is,
we have a layer of abstraction over the facilities that works on the X
properties, and is checked at a window mapping hook (and an earlier
hook will have set the properties if a/b is used).

Good ideas-- thanks Carl!

Greg

From owner-scwm-discuss@mit.edu  Tue Apr 20 21:30:11 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA30902
	for scwm-discuss-outgoing; Tue, 20 Apr 1999 21:30:11 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA30899
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 20 Apr 1999 21:30:10 -0400
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA23009; Tue, 20 Apr 99 21:28:53 EDT
Received: (qmail 15722 invoked by uid 501); 21 Apr 1999 01:29:01 -0000
Date: Tue, 20 Apr 1999 18:29:00 -0700
From: Todd Larason <jtl@molehill.org>
To: Greg Badros <gjb@cs.washington.edu>
Cc: "Carl R. Witty" <cwitty@newtonlabs.com>, scwm-discuss@mit.edu
Subject: Re: Another solution...
Message-Id: <19990420182900.A11935@molehill.org>
References: <qrrvherip2q.fsf@elwha.cs.washington.edu> <v4jaew355za.fsf@bogomips.newtonlabs.com> <qrr90bmlsch.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <qrr90bmlsch.fsf@elwha.cs.washington.edu>; from Greg Badros on Tue, Apr 20, 1999 at 05:39:26PM -0700
X-Kibo: Can you be consumed by mindwaves?
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990420, Greg Badros wrote:
> I'd still love to find a source that claims this shortcoming of X/11 to
> see if there is any rationalization for it.

X is a network protocol, not a Unix subsystem.  What is the VMS equivalent of
a PID?  Windows 95?  DOS?  Java?  perl?  I'm aware of X protocol
implementations for all of those.  What is the PID associated with a window
that was created by one process but is now handled by another?

Could the DISPLAY be used for this?  I can't think of anyway without turning
scwm into an X proxy, which is too ugly to consider, but I may be missing
something.  

From owner-scwm-discuss@mit.edu  Tue Apr 20 21:57:05 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA31083
	for scwm-discuss-outgoing; Tue, 20 Apr 1999 21:57:05 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA31080
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 20 Apr 1999 21:57:04 -0400
Received: from alpha.Xerox.COM by MIT.EDU with SMTP
	id AA28714; Tue, 20 Apr 99 21:55:47 EDT
Received: from holmes.parc.xerox.com ([13.1.100.162]) by alpha.xerox.com with SMTP id <55806(1)>; Tue, 20 Apr 1999 18:55:45 PDT
Received: by holmes.parc.xerox.com id <16144>; Tue, 20 Apr 1999 18:55:35 PDT
Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.holmes.parc.xerox.com.sun4.41
          via MS.5.6.holmes.parc.xerox.com.sun4_41;
          Tue, 20 Apr 1999 18:55:35 -0700 (PDT)
Message-Id: <Ir7H0L8B0KGW90rLUE@holmes.parc.xerox.com>
Date: Tue, 20 Apr 1999 18:55:35 PDT
From: Bill Janssen <janssen@parc.xerox.com>
To: scwm-discuss@mit.edu, Greg Badros <gjb@cs.washington.edu>
Subject: Re: Another solution...
In-Reply-To: <qrrvherip2q.fsf@elwha.cs.washington.edu>
References: <qrrvherip2q.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Excerpts from ext.scwm: 20-Apr-99 Another solution... Greg
Badros@cs.washingto (3041)

> `window-pid' is a new procedure I just added that that reports the
> process ID of the process that created the window WINDOW.

At the very least, shouldn't it be the IP address and PID?

Bill


From owner-scwm-discuss@mit.edu  Tue Apr 20 22:02:05 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA31170
	for scwm-discuss-outgoing; Tue, 20 Apr 1999 22:02:05 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA31167
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 20 Apr 1999 22:02:04 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA24098; Tue, 20 Apr 99 22:00:44 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id TAA24784; Tue, 20 Apr 1999 19:00:42 -0700 (PDT)
To: Todd Larason <jtl@molehill.org>
Cc: "Carl R. Witty" <cwitty@newtonlabs.com>, scwm-discuss@mit.edu
Subject: Re: Another solution...
References: <qrrvherip2q.fsf@elwha.cs.washington.edu> <v4jaew355za.fsf@bogomips.newtonlabs.com> <qrr90bmlsch.fsf@elwha.cs.washington.edu> <19990420182900.A11935@molehill.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Apr 1999 19:00:42 -0700
In-Reply-To: Todd Larason's message of "Tue, 20 Apr 1999 18:29:00 -0700"
Message-Id: <qrrzp42ka0l.fsf@elwha.cs.washington.edu>
Lines: 27
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Todd Larason <jtl@molehill.org> writes:

> On 990420, Greg Badros wrote:
> > I'd still love to find a source that claims this shortcoming of X/11 to
> > see if there is any rationalization for it.
> 
> X is a network protocol, not a Unix subsystem.  What is the VMS equivalent of
> a PID?  Windows 95?  DOS?  Java?  perl?  I'm aware of X protocol
> implementations for all of those.  What is the PID associated with a window
> that was created by one process but is now handled by another?

X is *not* just a network protocol.  X is also a set of libraries (Xlib,
Intrinsics, and more).  The point is there is no general backmapping
from the server's window object to information about who created it.
Your examples illustrate it's not a simple question, but that's kind-of
the reference I'm looking for:  the newbie question "How can I find out
what is running in a window if I only have the window ID".  I want to
read what the years of accumulated wisdom have to say about the issues.

> Could the DISPLAY be used for this?  I can't think of anyway without turning
> scwm into an X proxy, which is too ugly to consider, but I may be missing
> something.  

I had the proxy X server idea suggested to me too, and frowned in
disgust, as well.

Greg

From owner-scwm-discuss@mit.edu  Tue Apr 20 22:18:57 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA31448
	for scwm-discuss-outgoing; Tue, 20 Apr 1999 22:18:57 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA31444
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 20 Apr 1999 22:18:56 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA28085; Tue, 20 Apr 99 22:17:36 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id TAA24801; Tue, 20 Apr 1999 19:17:33 -0700 (PDT)
To: Bill Janssen <janssen@parc.xerox.com>
Cc: scwm-discuss@mit.edu
Subject: Re: Another solution...
References: <qrrvherip2q.fsf@elwha.cs.washington.edu> <Ir7H0L8B0KGW90rLUE@holmes.parc.xerox.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Apr 1999 19:17:33 -0700
In-Reply-To: Bill Janssen's message of "Tue, 20 Apr 1999 18:55:35 PDT"
Message-Id: <qrru2uak98i.fsf@elwha.cs.washington.edu>
Lines: 34
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Bill Janssen <janssen@parc.xerox.com> writes:

> Excerpts from ext.scwm: 20-Apr-99 Another solution... Greg
> Badros@cs.washingto (3041)
> 
> > `window-pid' is a new procedure I just added that that reports the
> > process ID of the process that created the window WINDOW.
> 
> At the very least, shouldn't it be the IP address and PID?

Yes, but you already have the client's machine name via:

`window-client-machine-name'.

Here's my docs from window-pid yesterday.

Greg



(define-public (window-pid win)
  "Returns the process id of the process that created WIN.
Requires using the LD_PRELOAD environment variable for the
started process:

LD_PRELOAD=/path/to/scwm_set_pid_property.so

Returns #f if the property does not exist on WIN (most
likely because you did not use the LD_PRELOAD variable).
See also `window-client-machine-name' to get the machine
name on which the returned process id is valid.
"
  (let ((prop (X-property-get win "SCWM_RUNNING_PID")))
    (and (list? prop) (vector-ref (car prop) 0))))

From owner-scwm-discuss@mit.edu  Wed Apr 21 05:30:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id FAA04588
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 05:30:33 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id FAA04585
	for <scwm-discuss@vicarious-existence.mit.edu>; Wed, 21 Apr 1999 05:30:31 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id CAA25471; Wed, 21 Apr 1999 02:29:07 -0700 (PDT)
To: scwm-discuss@mit.edu
Subject: API stupidity... ??
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Apr 1999 02:29:07 -0700
Message-ID: <qrrn202fhjw.fsf@elwha.cs.washington.edu>
Lines: 10
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

One of the things on our checklist for version 1.0 is "really awful API
stupidity".  Is there anything in particular that really bugs people?
I've already fixed the highlight spellings to be consistent, and just
changed the order of get-window (and its cousins) so that the new cursor
argument (was `kill?') is last instead of first.  

What else can you all think of?

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Wed Apr 21 08:57:55 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id IAA05635
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 08:57:55 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id IAA05632
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 08:57:52 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA03886; Wed, 21 Apr 99 08:56:28 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id OAA00869
	for scwm-discuss@mit.edu; Wed, 21 Apr 1999 14:40:47 +0200 (MET DST)
Received: (qmail 22812 invoked by uid 115); 21 Apr 1999 10:12:14 -0000
To: scwm-discuss@mit.edu
Subject: Re: Window placement on mouse click viewport instead of current viewport?
References: <m2btgv8sur.fsf_-_@blinky.bfr.co.il> <wsn20dzz70.fsf@orcus.priv.at> <qrrr9pppiu6.fsf@elwha.cs.washington.edu> <ws1zhocks5.fsf@orcus.priv.at> <qrr3e24kwmb.fsf@elwha.cs.washington.edu> <wshfqjim5s.fsf@orcus.priv.at> <qrr7lre456x.fsf@elwha.cs.washington.edu> <wszp46lyio.fsf@orcus.priv.at> <qrr7lr9ea0x.fsf@elwha.cs.washington.edu> <wsr9pgwvu0.fsf@orcus.priv.at> <qrrwvz89qsa.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 21 Apr 1999 12:12:14 +0200
In-Reply-To: Greg Badros's message of "19 Apr 1999 15:41:41 -0700"
Message-Id: <ws676qs2o1.fsf@orcus.priv.at>
Lines: 24
User-Agent: Gnus/5.070083 (Pterodactyl Gnus v0.83) XEmacs/20.4 (Emerald)
X-Now-Playing: Joy Division - Komakino
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 19 Apr 1999 15:41:41 -0700
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> In any case, if you or anyone wants to try doing something for
 Greg> support exact knowledge of mapping windows, I'd love to see it,
 Greg> even if it uses resource names.

You're misunderstanding my intention. I don't want to use the resource
name for anything. I want to use WM_COMMAND to differentiate programs.
argv[0] seems like the thing that fewest X programs interpret, so I
would use this. This *would* change the resource name by default, but
my idea is to prevent this (by setting RESOURCE_NAME to the original
name).

Since I'm pretty loaded with other things, I'll wait and see how the
clever LD_PRELOAD hack fares.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Wed Apr 21 11:51:39 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA06543
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 11:51:39 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from mail.eaglets.com ([208.235.77.228])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id LAA06540
	for <scwm-discuss@huis-clos.mit.edu>; Wed, 21 Apr 1999 11:51:35 -0400
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Wed, 21 Apr 1999 11:49:23 -0400
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Wed, 21 Apr 1999 11:49:22 -0400
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id LAA14234;
	Wed, 21 Apr 1999 11:49:47 -0400
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: memory leak
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
Date: 21 Apr 1999 11:49:47 -0400
Message-ID: <m3zp42rn1g.fsf@eho.eaglets.com>
Lines: 14
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Just to make sure you know the problem is still there - right now, 
on my linux box, SCWM (restarted yestereve) is bigger in RSS than Emacs
(started a couple of days ago, with Gnus &c):

31572  0.0 13.0 22208 16676 tty2    S    Apr17   1:44 scwm
7602  2.2 12.7 25744 16364 pts/1   S    Apr19  61:10 /usr/src/emacs/src/emacs

just take sample.scwmrc/sds.scwmrc and see it for yourself.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
If a train station is a place where a train stops, what's a workstation?

From owner-scwm-discuss@mit.edu  Wed Apr 21 12:44:14 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA07388
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 12:44:14 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA07385
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 12:44:11 -0400
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA00783; Wed, 21 Apr 99 12:42:39 EDT
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for 
          Wed, 21 Apr 1999 11:42:12 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Wed, 21 Apr 1999 11:42:09 -0500 (CDT)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14109.65503.688374.972180@juno>
Date: Wed, 21 Apr 1999 11:42:07 -0500 (CDT)
From: Eric Beuscher <beuscher@eecs.tulane.edu>
To: sds@goems.com
Cc: scwm-discuss@mit.edu
Subject: Re: scwm.el
In-Reply-To: <m3k8we501f.fsf@eho.eaglets.com>
References: <13933.43624.819069.356827@horus.cs.cornell.edu>
	<m3vhjm5i35.fsf@eho.eaglets.com>
	<13933.51191.494905.717287@horus.cs.cornell.edu>
	<qrryakvwxmt.fsf@elwha.cs.washington.edu>
	<m2sob35fa5.fsf@blinky.bfr.co.il>
	<m3k8we501f.fsf@eho.eaglets.com>
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


to slightly rehash an old discussion:

> -------------------------------------------------------------
> scwm-eval-sexp is an interactive compiled Lisp function in `scwm'.
> (scwm-eval-sexp SEXP MB-P)
> 
> Eval the sexp.  output to the current buffer or minibuffer.
> If the prefix argument (the second argument when called from lisp) is
> non-nil, the output goes to the minibuffer, otherwise it is inserted in
> the current buffer.  When `scwm-eval-to-minibuffer' is non-nil, the
> meaning of the second argument is reversed.
> -------------------------------------------------------------
> 
> Therefore: to get your desired behavior, use C-u C-j or set
> `scwm-eval-to-minibuffer' to T.

my question is: what is the reasoning for `erase-buffer' used in
scwm-eval-sexp?

coming from other scheme's, like the functionality where when i
load in an sexp from a file, the output/error goes to the
interaction buffer

but, setting `scwm-eval-buffer' to "*scwm*", deletes my
current interaction buffer

now, of course the interaction buffer doesnt strictly correspond
so the scwm-eval-sexp since one is the repl and one uses
scwmexec, but since changes are visible since they talk to the
same process, they are functionally equivalent in my eyes


also, it would be nice if there was a distinction between
eval-ing to a buffer and eval-ing to minibuffer

i dont necessarily want my *Messages* buffer or my minibuffer
polluted with scwm-eval-sexp errors, but i may still want those
errors to go to some other buffer


-- 
eric

From owner-scwm-discuss@mit.edu  Wed Apr 21 12:48:10 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA07415
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 12:48:10 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA07412
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 12:48:09 -0400
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA04633; Wed, 21 Apr 99 12:46:42 EDT
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id SAA18861
	for <scwm-discuss@mit.edu>; Wed, 21 Apr 1999 18:46:01 +0200 (MET DST)
Date: Wed, 21 Apr 1999 18:46:00 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: SCWM Discussion Mailing List <scwm-discuss@mit.edu>
Subject: which scwm snapshot is actually working ?
Message-Id: <19990421184600.A6182@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3us
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Hi,

I tried one of the latest snapshots (19990420) but it doesn't work as
expected :

The fvwm-modules don't work : I get errors like these :

 X Error of failed request:  BadAtom (invalid Atom parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Atom id in failed request:  0x0
  Serial number of failed request:  56366
  Current serial number in output stream:  56366


scwmexec and scwmrepl are broken :

X Error of failed request:  BadAtom (invalid Atom parameter)
  Major opcode of failed request:  18 (X_ChangeProperty)
  Atom id in failed request:  0x0
  Serial number of failed request:  10308
  Current serial number in output stream:  10310




The message box when moving or resizing with the rubber band
(non-opaque-move and resize) is erasing what is underneath (I already
have the same bug with scwm-0.9).



  
-- 
Hubert Canon

From owner-scwm-discuss@mit.edu  Wed Apr 21 13:07:21 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA07642
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 13:07:21 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA07639
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 13:07:19 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA10903; Wed, 21 Apr 99 13:05:47 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id SAA25942
	for scwm-discuss@mit.edu; Wed, 21 Apr 1999 18:40:31 +0200 (MET DST)
Received: (qmail 24851 invoked by uid 115); 21 Apr 1999 14:33:45 -0000
To: scwm-discuss@mit.edu
Subject: Re: scwm options of type 'color
References: <199904180614.XAA15932@nebula.newtonlabs.com> <qrrvhetcv21.fsf@elwha.cs.washington.edu> <v4jogkk5kci.fsf@bogomips.newtonlabs.com> <qrru2uc9qma.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 21 Apr 1999 16:33:44 +0200
In-Reply-To: Greg Badros's message of "19 Apr 1999 15:45:17 -0700"
Message-Id: <ws3e1urqk7.fsf@orcus.priv.at>
Lines: 18
User-Agent: Gnus/5.070083 (Pterodactyl Gnus v0.83) XEmacs/20.4 (Emerald)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 19 Apr 1999 15:45:17 -0700
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> We really need make-color to return the closest color
 Greg> if the one passed in is no good. Anybody know of free code that
 Greg> does this that we can steal?

Hmm, gdk and imlib both measure color proximity by the sum of the
differences of the red, green, and blue values. Not very sophisticated 
IMHO. There must be a number of better formulas.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Wed Apr 21 13:06:54 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA07634
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 13:06:54 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA07631
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 13:06:52 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA10739; Wed, 21 Apr 99 13:05:22 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id SAA25949
	for scwm-discuss@mit.edu; Wed, 21 Apr 1999 18:40:34 +0200 (MET DST)
Received: (qmail 24866 invoked by uid 115); 21 Apr 1999 14:41:34 -0000
To: scwm-discuss@mit.edu
Subject: Re: Another solution...
References: <qrrvherip2q.fsf@elwha.cs.washington.edu> <v4jaew355za.fsf@bogomips.newtonlabs.com> <qrr90bmlsch.fsf@elwha.cs.washington.edu> <19990420182900.A11935@molehill.org> <qrrzp42ka0l.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 21 Apr 1999 16:41:34 +0200
In-Reply-To: Greg Badros's message of "20 Apr 1999 19:00:42 -0700"
Message-Id: <wszp42qbmp.fsf@orcus.priv.at>
Lines: 15
User-Agent: Gnus/5.070083 (Pterodactyl Gnus v0.83) XEmacs/20.4 (Emerald)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 20 Apr 1999 19:00:42 -0700
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> I had the proxy X server idea suggested to me too, and frowned
 Greg> in disgust, as well.

I suppose there's no way to "hand off" a client to a real X server?

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Wed Apr 21 13:29:31 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA07918
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 13:29:31 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA07914
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 13:29:18 -0400
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA20306; Wed, 21 Apr 99 13:27:43 EDT
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id TAA19025
	for <scwm-discuss@mit.edu>; Wed, 21 Apr 1999 19:27:29 +0200 (MET DST)
Received: from maat.irisa.fr (maat.irisa.fr [131.254.13.25])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id TAA19011
	for <canon@ulla.irisa.fr>; Wed, 21 Apr 1999 19:24:14 +0200 (MET DST)
Received: from rex.eecs.tulane.edu (rex.eecs.tulane.edu [129.81.132.1])
	by maat.irisa.fr (8.9.1a/8.9.1) with ESMTP id TAA10681
	for <Hubert.Canon@irisa.fr>; Wed, 21 Apr 1999 19:24:08 +0200 (MET DST)
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for <Hubert.Canon@irisa.fr>
          Wed, 21 Apr 1999 12:23:17 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Wed, 21 Apr 1999 12:23:15 -0500 (CDT)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14110.2435.442697.557354@juno>
Date: Wed, 21 Apr 1999 12:23:15 -0500 (CDT)
From: Eric Beuscher <beuscher@eecs.tulane.edu>
To: Hubert Canon <Hubert.Canon@irisa.fr>
Subject: which scwm snapshot is actually working ?
In-Reply-To: <19990421184600.A6182@youkaidi.irisa.fr>
References: <19990421184600.A6182@youkaidi.irisa.fr>
X-Mailer: VM 6.62 under Emacs 20.3.1
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


> I tried one of the latest snapshots (19990420) but it doesn't work as
> expected :
> ... <errors> ...

hmmmmm, well i am currently using that very snapshot:
	scwm> (scwm-version-date)
	"Mon Apr 19 14:02:28 EDT 1999 -- $Revision: 1.1386 $"
and am not having any problems.   in addition i am using the
fvwm-module module for the fvwm2pager, and that works as expected


though, for snapshot (19990420), i get the following make install
error after building as usual:
> ./configure --prefix=/usr/local/opt/$(basename $(pwd)) ; bell
 <correct working>
> make; bell
 <correct working>
> make install; bell
 ...
 Making install in scwmrepl
 make[2]: Entering directory `/usr/local/src/scwm-19990421/utilities/scwmrepl'
 /bin/sh ../../mkinstalldirs /usr/local/opt/scwm-19990421/bin
  /bin/sh ../../libtool  --mode=install /usr/bin/install -c scwmrepl /usr/local/opt/scwm-19990421/bin/scwmrepl
 /usr/bin/install -c .libs/scwmrepl /usr/local/opt/scwm-19990421/bin/scwmrepl
 make[2]: Leaving directory `/usr/local/src/scwm-19990421/utilities/scwmrepl'
 Making install in pidproperty
 make[2]: Entering directory `/usr/local/src/scwm-19990421/utilities/pidproperty'
 make[2]: *** No rule to make target `install'.  Stop.
 make[2]: Leaving directory `/usr/local/src/scwm-19990421/utilities/pidproperty'
 make[1]: *** [install-recursive] Error 1
 make[1]: Leaving directory `/usr/local/src/scwm-19990421/utilities'
 make: *** [install-recursive] Error 1
 zsh: 6729 exit 2     make install

not knowing anything (nor currently wanting to) about
autoconf, etc ..., i leave this for someone else to either
fix or ridicule me for doing something stupid


-- 
eric

From owner-scwm-discuss@mit.edu  Wed Apr 21 13:48:27 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA08132
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 13:48:27 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA08128
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 13:48:17 -0400
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA09103; Wed, 21 Apr 99 13:46:26 EDT
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Wed, 21 Apr 1999 13:25:02 -0400
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Wed, 21 Apr 1999 13:25:02 -0400
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id NAA26020;
	Wed, 21 Apr 1999 13:25:26 -0400
To: scwm-discuss@mit.edu
Subject: Re: scwm.el
References: <13933.43624.819069.356827@horus.cs.cornell.edu> <m3vhjm5i35.fsf@eho.eaglets.com> <13933.51191.494905.717287@horus.cs.cornell.edu> <qrryakvwxmt.fsf@elwha.cs.washington.edu> <m2sob35fa5.fsf@blinky.bfr.co.il> <m3k8we501f.fsf@eho.eaglets.com> <14109.65503.688374.972180@juno>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Eric Beuscher's message of "Wed, 21 Apr 1999 11:42:07 -0500 (CDT)"
Date: 21 Apr 1999 13:25:26 -0400
Message-Id: <m3k8v5sx6h.fsf@eho.eaglets.com>
Lines: 55
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <14109.65503.688374.972180@juno>
>>>> On the subject of "Re: scwm.el"
>>>> Sent on Wed, 21 Apr 1999 11:42:07 -0500 (CDT)
>>>> Honorable Eric Beuscher <beuscher@eecs.tulane.edu> writes:
 >> 
 >> my question is: what is the reasoning for `erase-buffer' used in
 >> scwm-eval-sexp?

because we are about to call `shrink-window-if-larger-than-buffer'.

 >> coming from other scheme's, like the functionality where when i
 >> load in an sexp from a file, the output/error goes to the
 >> interaction buffer

if this is what you want, use C-c C-s and REPL buffer.

 >> but, setting `scwm-eval-buffer' to "*scwm*", deletes my
 >> current interaction buffer

these are two separate things - the buffer where the C-j evaluates and
where C-x C-e evaluates.  If you mix them, you loose.

 >> since changes are visible since they talk to the
 >> same process, they are functionally equivalent in my eyes

see an optometrist. :-)

 >> also, it would be nice if there was a distinction between
 >> eval-ing to a buffer and eval-ing to minibuffer

what do you have in mind exactly?

 >> i dont necessarily want my *Messages* buffer or my minibuffer
 >> polluted with scwm-eval-sexp errors, but i may still want those
 >> errors to go to some other buffer

errors, as they are longer than one line, do not go to either minibuffer
or *Messages*.

I have a suspicion that you do not have a clear idea what you want
yourself.  [no offense intended - this happens to all of us all the
time].  Why don't you walk away from the computer, take a sheet of paper
and a pencil (a pen wouldn't do as you cannot erase it), and try to
describe the UI you want: like what a goes where etc.  Try to KISS.

I have often found that excessive customizability could be a bane.
Sometimes it is better to learn to UI provided by the program (Emacs, in
this case) than to re-invent and re-implement the slightly different
(say, elliptical instead of a round) wheel.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Oh Lord, give me the source code of the Universe and a good debugger!

From owner-scwm-discuss@mit.edu  Wed Apr 21 14:29:48 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA08495
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 14:29:48 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA08492
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 14:29:46 -0400
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA18426; Wed, 21 Apr 99 14:28:16 EDT
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for <scwm-discuss@mit.edu>
          Wed, 21 Apr 1999 12:31:22 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Wed, 21 Apr 1999 12:31:20 -0500 (CDT)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14110.2915.603151.728348@juno>
Date: Wed, 21 Apr 1999 12:31:15 -0500 (CDT)
From: Eric Beuscher <beuscher@eecs.tulane.edu>
To: scwm-discuss@mit.edu
Subject: which scwm snapshot is actually working ?
In-Reply-To: <14110.2435.442697.557354@juno>
References: <19990421184600.A6182@youkaidi.irisa.fr>
	<14110.2435.442697.557354@juno>
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


> > I tried one of the latest snapshots (19990420) but it doesn't work as
> expected :
> ... <errors> ...

hmmmmm, well i am currently using that very snapshot:
	scwm> (scwm-version-date)
	"Mon Apr 19 14:02:28 EDT 1999 -- $Revision: 1.1386 $"
and am not having any problems.   in addition i am using the
fvwm-module module for the fvwm2pager, and that works as expected


though, for snapshot (19990420), i get the following make install
error after building as usual:
> ./configure --prefix=/usr/local/opt/$(basename $(pwd)) ; bell
 <correct working>
> make; bell
 <correct working>
> make install; bell
 ...
 Making install in scwmrepl
 make[2]: Entering directory `/usr/local/src/scwm-19990421/utilities/scwmrepl'
 /bin/sh ../../mkinstalldirs /usr/local/opt/scwm-19990421/bin
  /bin/sh ../../libtool  --mode=install /usr/bin/install -c scwmrepl /usr/local/opt/scwm-19990421/bin/scwmrepl
 /usr/bin/install -c .libs/scwmrepl /usr/local/opt/scwm-19990421/bin/scwmrepl
 make[2]: Leaving directory `/usr/local/src/scwm-19990421/utilities/scwmrepl'
 Making install in pidproperty
 make[2]: Entering directory `/usr/local/src/scwm-19990421/utilities/pidproperty'
 make[2]: *** No rule to make target `install'.  Stop.
 make[2]: Leaving directory `/usr/local/src/scwm-19990421/utilities/pidproperty'
 make[1]: *** [install-recursive] Error 1
 make[1]: Leaving directory `/usr/local/src/scwm-19990421/utilities'
 make: *** [install-recursive] Error 1
 zsh: 6729 exit 2     make install

not knowing anything (nor currently wanting to) about
autoconf, etc ..., i leave this for someone else to either
fix or ridicule me for doing something stupid


-- 
eric

From owner-scwm-discuss@mit.edu  Wed Apr 21 14:50:57 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA08649
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 14:50:57 -0400
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA08646
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 14:50:52 -0400
Received: from netcom11.netcom.com by MIT.EDU with SMTP
	id AA05716; Wed, 21 Apr 99 14:49:21 EDT
Received: (from ttn@localhost)
	by mingle.glug.org (8.8.7/8.8.7) id LAA25082;
	Wed, 21 Apr 1999 11:51:30 -0700
X-Authentication-Warning: mingle.glug.org: ttn set sender to ttn@mingle.glug.org using -f
From: thi <ttn@mingle.glug.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14110.7722.285389.176761@mingle.glug.org>
Date: Wed, 21 Apr 1999 11:51:22 -0700 (PDT)
To: sds@goems.com
Cc: scwm-discuss@mit.edu
Subject: Re: scwm.el
In-Reply-To: <m3k8v5sx6h.fsf@eho.eaglets.com>
References: <13933.43624.819069.356827@horus.cs.cornell.edu>
	<m3vhjm5i35.fsf@eho.eaglets.com>
	<13933.51191.494905.717287@horus.cs.cornell.edu>
	<qrryakvwxmt.fsf@elwha.cs.washington.edu>
	<m2sob35fa5.fsf@blinky.bfr.co.il>
	<m3k8we501f.fsf@eho.eaglets.com>
	<14109.65503.688374.972180@juno>
	<m3k8v5sx6h.fsf@eho.eaglets.com>
X-Mailer: VM 6.62 under Emacs 20.3.1
Reply-To: ttn@netcom.com
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold writes:

 > I have often found that excessive customizability could be a bane.
 > Sometimes it is better to learn to UI provided by the program (Emacs,
 > in this case) than to re-invent and re-implement the slightly
 > different (say, elliptical instead of a round) wheel.

wheels are re-implemented elliptically at run-time.
especially in cartoons...

thi

From owner-scwm-discuss@mit.edu  Wed Apr 21 15:30:54 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA08988
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 15:30:54 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA08985
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 15:30:52 -0400
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA15644; Wed, 21 Apr 99 15:29:22 EDT
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for 
          Wed, 21 Apr 1999 14:28:44 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Wed, 21 Apr 1999 14:28:44 -0500 (CDT)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14110.9962.664215.88295@juno>
Date: Wed, 21 Apr 1999 14:28:42 -0500 (CDT)
From: Eric Beuscher <beuscher@eecs.tulane.edu>
To: sds@goems.com
Subject: Re: scwm.el
In-Reply-To: <m3k8v5sx6h.fsf@eho.eaglets.com>
References: <13933.43624.819069.356827@horus.cs.cornell.edu>
	<m3vhjm5i35.fsf@eho.eaglets.com>
	<13933.51191.494905.717287@horus.cs.cornell.edu>
	<qrryakvwxmt.fsf@elwha.cs.washington.edu>
	<m2sob35fa5.fsf@blinky.bfr.co.il>
	<m3k8we501f.fsf@eho.eaglets.com>
	<14109.65503.688374.972180@juno>
	<m3k8v5sx6h.fsf@eho.eaglets.com>
X-Mailer: VM 6.62 under Emacs 20.3.1
Cc: scwm-discuss@mit.edu
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


try to avoid putting my foot back in my proverbial mouth:

>  >> also, it would be nice if there was a distinction between
>  >> eval-ing to a buffer and eval-ing to minibuffer
> 
> what do you have in mind exactly?

>  >> i dont necessarily want my *Messages* buffer or my minibuffer
>  >> polluted with scwm-eval-sexp errors, but i may still want those
>  >> errors to go to some other buffer
> 
> errors, as they are longer than one line, do not go to either minibuffer
> or *Messages*.

aaah, but since i have scwm-eval-to-minibuffer set to t, it does
go to both the minibuffer and *Messages*, even though it is
(much) longer than one line (the newlines get converted its
control representation, ^J's)

there currently appears to be two choices when evaluating with
this function,
have output go to the current buffer, or
have output go to the minibuffer, where if the output is too wide
or longer than one line, also popup another window displaying
this longer output.

this turns out to be less awkward, and more well thought out,
than i had first thought.  so my only (now minor) gripe with that
is that in `scwm-eval-to-minibuffer', output longer or wider than
one line should not be sent to the minibuffer/*Message* with the
message command.  of course instead either nothing, or some
reassuring message can be sent instead

> I have a suspicion that you do not have a clear idea what you want
> yourself.  [no offense intended - this happens to all of us all the

close, i knew what i wanted, i just read the code the wrong
incorrectly

my problem arose from a misinterpretation of scwm-eval-sexp, and
a spurious wrong keybinding which had emacs calling the wrong
send function.  even though i clearly saw the code, i still
misinterpreted `scwm-eval-sexp' as being a send function, when i
knew it was a scwm-exec call.

i also need to be more careful with my scwm-mode and
scwm-interaction usage.  since scwm calls the scheme-mode-hook, i
inherit a lot of bindings, which i have found are not necessarily
compatible with the scwm-repl.

also i have had other problems with the guile interpreter which
has caused other confusions on my part.  mainly the
fact that incomplete definitions have to be sent to the
interpreter when used interactively, rather than as a whole sexp

Ex.
scwm> (define ident
scwm> (lambda (x) x))
#<unspecified>
scwm> (define ident
	(lambda (x) x))
scwm> 
Backtrace:
0* (define ident utag_substring ...)
1* [define (define ident utag_substring ...) (#<procedure (symbol define?)>)]

ERROR: In procedure define in expression (define ident utag_substring ...):
ERROR: missing or extra expression

scwm> 


-- 
eric

From owner-scwm-discuss@mit.edu  Wed Apr 21 16:27:20 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA09390
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 16:27:20 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA09387
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 16:27:17 -0400
Received: from [208.235.77.228] by MIT.EDU with SMTP
	id AA14132; Wed, 21 Apr 99 16:25:47 EDT
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Wed, 21 Apr 1999 16:25:25 -0400
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Wed, 21 Apr 1999 16:25:24 -0400
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id QAA26557;
	Wed, 21 Apr 1999 16:25:48 -0400
To: scwm-discuss@mit.edu
Subject: Re: scwm.el
References: <13933.43624.819069.356827@horus.cs.cornell.edu> <m3vhjm5i35.fsf@eho.eaglets.com> <13933.51191.494905.717287@horus.cs.cornell.edu> <qrryakvwxmt.fsf@elwha.cs.washington.edu> <m2sob35fa5.fsf@blinky.bfr.co.il> <m3k8we501f.fsf@eho.eaglets.com> <14109.65503.688374.972180@juno> <m3k8v5sx6h.fsf@eho.eaglets.com> <14110.9962.664215.88295@juno>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Eric Beuscher's message of "Wed, 21 Apr 1999 14:28:42 -0500 (CDT)"
Date: 21 Apr 1999 16:25:48 -0400
Message-Id: <m3wvz5ra9f.fsf@eho.eaglets.com>
Lines: 26
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <14110.9962.664215.88295@juno>
>>>> On the subject of "Re: scwm.el"
>>>> Sent on Wed, 21 Apr 1999 14:28:42 -0500 (CDT)
>>>> Honorable Eric Beuscher <beuscher@eecs.tulane.edu> writes:
 >> 
 >> aaah, but since i have scwm-eval-to-minibuffer set to t, it does
 >> go to both the minibuffer and *Messages*, even though it is
 >> (much) longer than one line (the newlines get converted its
 >> control representation, ^J's)

okay, what about `scwm-eval-to-minibuffer' having an additional value,
`1', i.e., when nil - current buffer, when t - always minibuffer, when 1
- minibuffer *ONLY* when the result is exactly 1 line.

when it is longer, something like
        "see buffer such-and-such for your profuse output"
will be displayed instead.

comments, everyone?


-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
It's not just a language, it's an adventure.  Common Lisp.

From owner-scwm-discuss@mit.edu  Wed Apr 21 18:21:22 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA10104
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 18:21:22 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA10101
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 18:21:19 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA22222; Wed, 21 Apr 99 18:19:49 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA26138; Wed, 21 Apr 1999 15:19:45 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Window placement on mouse click viewport instead of current viewport?
References: <m2btgv8sur.fsf_-_@blinky.bfr.co.il> <wsn20dzz70.fsf@orcus.priv.at> <qrrr9pppiu6.fsf@elwha.cs.washington.edu> <ws1zhocks5.fsf@orcus.priv.at> <qrr3e24kwmb.fsf@elwha.cs.washington.edu> <wshfqjim5s.fsf@orcus.priv.at> <qrr7lre456x.fsf@elwha.cs.washington.edu> <wszp46lyio.fsf@orcus.priv.at> <qrr7lr9ea0x.fsf@elwha.cs.washington.edu> <wsr9pgwvu0.fsf@orcus.priv.at> <qrrwvz89qsa.fsf@elwha.cs.washington.edu> <ws676qs2o1.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Apr 1999 15:19:45 -0700
In-Reply-To: Robert Bihlmeyer's message of "21 Apr 1999 12:12:14 +0200"
Message-Id: <qrrso9tehvi.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> 
> You're misunderstanding my intention. I don't want to use the resource
> name for anything. I want to use WM_COMMAND to differentiate programs.
> argv[0] seems like the thing that fewest X programs interpret, so I
> would use this. This *would* change the resource name by default, but
> my idea is to prevent this (by setting RESOURCE_NAME to the original
> name).

Ahhh.. yes... I was confused about your intention.  If this would work:

RESOURCE_NAME=bar ARG0=foo xlogo

I would be all in favor, but it doesn't for me.  I don't like the
creating of a symlink just to run a program.  I think it could be
managed, but there are details that would need to be addressed.

> 
> Since I'm pretty loaded with other things, I'll wait and see how the
> clever LD_PRELOAD hack fares.

I'm getting close to a paper submission deadline, so my time for Scwm
will dwindle away in the next two weeks until May 10th.  (And then I fly
back to Seattle, and have some conferences to be at through much of
May-- including Linux Expo in Raleigh, NC-- anybody else gonna be there?
Maciej and I met for the first time there last spring.)  I'll probably
still get a bit more down through this weekend... we'll see.

Greg

From owner-scwm-discuss@mit.edu  Wed Apr 21 18:22:35 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA10116
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 18:22:35 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA10113
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 18:22:33 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA14905; Wed, 21 Apr 99 18:21:07 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA26141; Wed, 21 Apr 1999 15:21:04 -0700 (PDT)
To: scwm-discuss list <scwm-discuss@mit.edu>
Subject: Re: memory leak
References: <m3zp42rn1g.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Apr 1999 15:21:03 -0700
In-Reply-To: Sam Steingold's message of "21 Apr 1999 11:49:47 -0400"
Message-Id: <qrrogkhehtc.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> Just to make sure you know the problem is still there - right now, 
> on my linux box, SCWM (restarted yestereve) is bigger in RSS than Emacs
> (started a couple of days ago, with Gnus &c):
> 
> 31572  0.0 13.0 22208 16676 tty2    S    Apr17   1:44 scwm
> 7602  2.2 12.7 25744 16364 pts/1   S    Apr19  61:10 /usr/src/emacs/src/emacs
> 
> just take sample.scwmrc/sds.scwmrc and see it for yourself.

Yea, I definitely can reproduce the leak... the leak I'm seeing was
happening on timer hooks, but I got sidetracked before I could investigate 
further.

Greg

From owner-scwm-discuss@mit.edu  Wed Apr 21 18:24:32 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA10174
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 18:24:32 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA10171
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 18:24:31 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA22970; Wed, 21 Apr 99 18:23:00 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA26144; Wed, 21 Apr 1999 15:22:58 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: scwm options of type 'color
References: <199904180614.XAA15932@nebula.newtonlabs.com> <qrrvhetcv21.fsf@elwha.cs.washington.edu> <v4jogkk5kci.fsf@bogomips.newtonlabs.com> <qrru2uc9qma.fsf@elwha.cs.washington.edu> <ws3e1urqk7.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Apr 1999 15:22:58 -0700
In-Reply-To: Robert Bihlmeyer's message of "21 Apr 1999 16:33:44 +0200"
Message-Id: <qrrlnflehq5.fsf@elwha.cs.washington.edu>
Lines: 71
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 19 Apr 1999 15:45:17 -0700
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
>  Greg> We really need make-color to return the closest color
>  Greg> if the one passed in is no good. Anybody know of free code that
>  Greg> does this that we can steal?
> 
> Hmm, gdk and imlib both measure color proximity by the sum of the
> differences of the red, green, and blue values. Not very sophisticated 
> IMHO. There must be a number of better formulas.

Funny you should respond now... I just implemented the below last night...
works great for me on an 8 bit display.

Greg

#undef ABS
#define ABS(x) (((x) < 0)? -(x): (x))

/* divisors are to do some simple (and fast) perceptual weighting
   (green matters less than red which matters less than blue) */
#define COLOR_DISTANCE(r1, g1, b1, r2, g2, b2) \
  ( ABS((g1)-(g2))/4 + ABS((r1)-(r2))/2 + ABS((b1)-(b2)) )

/* Return True on success, false on failure */
Bool
ClosestColor(XColor *pcolor)
{
  /* just deal with <=8 bit display
     as that's all I have right now,
     and that's where we need it most, anyway */
  if (Scr.d_depth > 8)
    return False;

  { /* scope */
    XColor cols[256];
    int i = 0;
    /* the desired color we are matching against */
    unsigned short 
      mr = pcolor->red,
      mg = pcolor->green,
      mb = pcolor->blue;
    int ccols = 1 << Scr.d_depth;
    /* track closest match distance in mindist, index into cols in icolBest */
    double mindist = MAXDOUBLE;
    int icolBest = -1;
    for (i = 0; i < ccols; ++i ) {
      cols[i].pixel = i;
      cols[i].flags = DoRed | DoGreen | DoBlue;
    }
    XQueryColors(dpy,Scr.ScwmRoot.attr.colormap, cols, ccols);
    for (i = 0; i < ccols; ++i) {
      unsigned short 
        r = cols[i].red,
        g = cols[i].green,
        b = cols[i].blue;
      double dist = COLOR_DISTANCE(mr,mg,mb,r,g,b);
      if (dist < mindist) {
        mindist = dist;
        icolBest = i;
      }
    }
    DBUG((WARN,"ClosestColor","Got match with error = %f",mindist));
    *pcolor = cols[icolBest];
    return True;
  }
}

From owner-scwm-discuss@mit.edu  Wed Apr 21 18:25:53 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA10192
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 18:25:53 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA10188
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 18:25:18 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA15513; Wed, 21 Apr 99 18:23:46 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA26147; Wed, 21 Apr 1999 15:23:40 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Another solution...
References: <qrrvherip2q.fsf@elwha.cs.washington.edu> <v4jaew355za.fsf@bogomips.newtonlabs.com> <qrr90bmlsch.fsf@elwha.cs.washington.edu> <19990420182900.A11935@molehill.org> <qrrzp42ka0l.fsf@elwha.cs.washington.edu> <wszp42qbmp.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Apr 1999 15:23:40 -0700
In-Reply-To: Robert Bihlmeyer's message of "21 Apr 1999 16:41:34 +0200"
Message-Id: <qrriuapehoz.fsf@elwha.cs.washington.edu>
Lines: 17
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 20 Apr 1999 19:00:42 -0700
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
>  Greg> I had the proxy X server idea suggested to me too, and frowned
>  Greg> in disgust, as well.
> 
> I suppose there's no way to "hand off" a client to a real X server?

I was pondering that as well, but it seems as though it would require
kernel support to alias the sockets in some funky way.  Can't see how it 
would work...

Greg

From owner-scwm-discuss@mit.edu  Wed Apr 21 18:33:40 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA10403
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 18:33:40 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA10400
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 18:33:39 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA17611; Wed, 21 Apr 99 18:32:13 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA26150; Wed, 21 Apr 1999 15:32:08 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@mit.edu>
Subject: Re: which scwm snapshot is actually working ?
References: <19990421184600.A6182@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Apr 1999 15:32:07 -0700
In-Reply-To: Hubert Canon's message of "Wed, 21 Apr 1999 18:46:00 +0200"
Message-Id: <qrrg15tehaw.fsf@elwha.cs.washington.edu>
Lines: 38
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> I tried one of the latest snapshots (19990420) but it doesn't work as
> expected :
> 
> The fvwm-modules don't work : I get errors like these :

Which fvwm modules... I'm using CVS source (obviously) and my pager
still works fine.

<snip>

> scwmexec and scwmrepl are broken :
> 
> X Error of failed request:  BadAtom (invalid Atom parameter)
>   Major opcode of failed request:  18 (X_ChangeProperty)
>   Atom id in failed request:  0x0
>   Serial number of failed request:  10308
>   Current serial number in output stream:  10310

Maybe this was just an inopportune snapshot time... I've not seen this
at all in the last several months...

> The message box when moving or resizing with the rubber band
> (non-opaque-move and resize) is erasing what is underneath (I already
> have the same bug with scwm-0.9).

Hmmm... I can't test rubber-band actions since the use of the constraint 
solver forces opaque moves/resizes.  This seems likely to happen because 
the server is grabbed, meaning no other applications are allowed to
refresh because they could interfere with the ability of Scwm to erase a 
rubberband line that it has drawn.  This will go away when we have
overlay plane support in the X server and Scwm exploits it (and so can
draw rubberbands with a real color, instead of just using XOR drawing
which necessitates grabbing the server to avoid uglier and less
predictable visual artifacts).

Greg

From owner-scwm-discuss@mit.edu  Wed Apr 21 23:02:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA12478
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 23:02:29 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA12475
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 23:02:28 -0400
Received: from austin.cs.unc.edu by MIT.EDU with SMTP
	id AA19985; Wed, 21 Apr 99 23:00:56 EDT
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id XAA12493;
	Wed, 21 Apr 1999 23:00:55 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id XAA11426;
	Wed, 21 Apr 1999 23:00:54 -0400 (EDT)
Date: Wed, 21 Apr 1999 23:00:54 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: Window placement on mouse click viewport instead of current
 viewport?
In-Reply-To: <qrrso9tehvi.fsf@elwha.cs.washington.edu>
Message-Id: <Pine.GHP.4.10.9904212247430.15643-100000@rukbat.cs.unc.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 21 Apr 1999, Greg Badros wrote:

> May-- including Linux Expo in Raleigh, NC-- anybody else gonna be there?
> Maciej and I met for the first time there last spring.)  I'll probably

Since its right down the road from me, I'm going to go over at least for a
day. If I can get work to pay for it, I may do the whole thing.
Coordinating a scwm-users lunch or beer tasting might be nice if anyone
else will be here for the Expo.

I'd offer my couch to anyone who needs a place to crash for the conference
- but I live about 45 minutes away from the conference site (depending on
traffic).

Just maybe I will have made some progress on the guile interface to my
homebrew home-control system by that time.  I'm currently looking at what
pieces of scwm I can borrow to get off to a faster start.

Steve


-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@mit.edu  Wed Apr 21 23:10:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA12585
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 23:10:45 -0400
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA12582
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 23:10:44 -0400
Received: from netcom11.netcom.com by MIT.EDU with SMTP
	id AA13801; Wed, 21 Apr 99 23:09:15 EDT
Received: (from ttn@localhost)
	by mingle.glug.org (8.8.7/8.8.7) id UAA25411;
	Wed, 21 Apr 1999 20:11:35 -0700
X-Authentication-Warning: mingle.glug.org: ttn set sender to ttn@mingle.glug.org using -f
From: thi <ttn@mingle.glug.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14110.37729.310253.372792@mingle.glug.org>
Date: Wed, 21 Apr 1999 20:11:29 -0700 (PDT)
To: sds@goems.com
Cc: scwm-discuss@mit.edu
Subject: Re: scwm.el
In-Reply-To: <m3wvz5ra9f.fsf@eho.eaglets.com>
References: <13933.43624.819069.356827@horus.cs.cornell.edu>
	<m3vhjm5i35.fsf@eho.eaglets.com>
	<13933.51191.494905.717287@horus.cs.cornell.edu>
	<qrryakvwxmt.fsf@elwha.cs.washington.edu>
	<m2sob35fa5.fsf@blinky.bfr.co.il>
	<m3k8we501f.fsf@eho.eaglets.com>
	<14109.65503.688374.972180@juno>
	<m3k8v5sx6h.fsf@eho.eaglets.com>
	<14110.9962.664215.88295@juno>
	<m3wvz5ra9f.fsf@eho.eaglets.com>
X-Mailer: VM 6.62 under Emacs 20.3.1
Reply-To: ttn@netcom.com
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold writes:

 > when it is longer, something like
 >         "see buffer such-and-such for your profuse output"
 > will be displayed instead.
 > 
 > comments, everyone?

see below for `diced-message' which may be useful in this respect.
for example, try

	M-x diced-message RET (symbol-function 'diced-message) RET

thi


---------------
RCS/diced-message.el,v  -->  standard output
revision 1.1
;;; ID: diced-message.el,v 1.1 1999/04/22 03:07:43 ttn Exp
;;;
;;; Copyright (C) 1999 Thien-Thi Nguyen
;;; This file is part of ttn's personal elisp library, released under GNU
;;; GPL with ABSOLUTELY NO WARRANTY.  See the file COPYING for details.

;;; Description: Filter large input, feeding `message' one line at a time.

(require 'pp)

(defun diced-message (obj)
  "Like message, but feeds one line at a time."
  (interactive "XLisp (to be evaluated): ")
  (let* ((simple t)
	 (big-msg (with-output-to-string (pp obj)))
	 (line (string-match "\n" big-msg)))
    (while line
      (setq simple nil)
      (message "%s" (substring big-msg 0 line))
      (setq big-msg (substring big-msg (1+ line))
	    line (string-match "\n" big-msg)))
    (if simple
	(message "%s" obj)
      (message big-msg)
      (message "Hey, look in *Messages*!"))))

;;; diced-message.el,v1.1 ends here

From owner-scwm-discuss@mit.edu  Wed Apr 21 23:14:54 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id XAA12657
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 23:14:54 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id XAA12653
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 23:14:53 -0400
Received: from austin.cs.unc.edu by MIT.EDU with SMTP
	id AA22050; Wed, 21 Apr 99 23:13:21 EDT
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id XAA12826
	for <scwm-discuss@mit.edu>; Wed, 21 Apr 1999 23:13:22 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id XAA11498;
	Wed, 21 Apr 1999 23:13:21 -0400 (EDT)
Date: Wed, 21 Apr 1999 23:13:21 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: scwm-discuss@mit.edu
Subject: Re: scwm options of type 'color
In-Reply-To: <qrrlnflehq5.fsf@elwha.cs.washington.edu>
Message-Id: <Pine.GHP.4.10.9904212301210.15643-100000@rukbat.cs.unc.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 21 Apr 1999, Greg Badros wrote:

> Robert Bihlmeyer <robbe@orcus.priv.at> writes:
> > Hmm, gdk and imlib both measure color proximity by the sum of the
> > differences of the red, green, and blue values. Not very sophisticated 
> > IMHO. There must be a number of better formulas.

> /* divisors are to do some simple (and fast) perceptual weighting
>    (green matters less than red which matters less than blue) */
> #define COLOR_DISTANCE(r1, g1, b1, r2, g2, b2) \
>   ( ABS((g1)-(g2))/4 + ABS((r1)-(r2))/2 + ABS((b1)-(b2)) )

Um, are you sure green matters _less_?  
Since intensity is generally (0.299 * r + 0.587 * g + 0.114 * b),
I would think green should matter the most, blue the least.

I just looked at some code I pieced together a long while ago to optimize
colors (for the wierd Amiga hold-and-modify video mode), and it minimizes
the sum of the squares of the differences, including intensity:

(r1-r2)^2 + (g1-g2)^2 + (b1-b2)^2 + (inten(r1,b1,g1)-inten(r2,b2,g2))^2

I think I borrowed this from somewhere, but do recall fiddling with it and
going back to the original after looking at a number of images.  Another
possibility would be to use the intensity-weighted sum of the squares of
the R,G,B and differences...

But I'd guess that if there are relatively few shared colors to choose
from anyway, any vaguely reasonable method would do fairly well.

Steve

-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@mit.edu  Thu Apr 22 01:20:23 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA14026
	for scwm-discuss-outgoing; Thu, 22 Apr 1999 01:20:23 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA14023
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 22 Apr 1999 01:20:21 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA13873; Thu, 22 Apr 99 01:18:48 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA27038; Wed, 21 Apr 1999 22:18:43 -0700 (PDT)
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@mit.edu
Subject: Linux expo [was: Re: Window placement on mouse click viewport instead of current  viewport?]
References: <Pine.GHP.4.10.9904212247430.15643-100000@rukbat.cs.unc.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Apr 1999 22:18:42 -0700
In-Reply-To: Stephen Tell's message of "Wed, 21 Apr 1999 23:00:54 -0400 (EDT)"
Message-Id: <qrrzp41b5cd.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> On 21 Apr 1999, Greg Badros wrote:
> 
> > May-- including Linux Expo in Raleigh, NC-- anybody else gonna be there?
> > Maciej and I met for the first time there last spring.)  I'll probably
> 
> Since its right down the road from me, I'm going to go over at least for a
> day. If I can get work to pay for it, I may do the whole thing.
> Coordinating a scwm-users lunch or beer tasting might be nice if anyone
> else will be here for the Expo.

Yea... if there is anything like the interests board of last year at
Duke we'll be sure to have a Scwm dot and schedule
something.  Be sure to check any notice boards they have available
there-- also this mailing list if you have access (they probably will
have an email room again).  Unfortunately, I don't know Raleigh nearly
as well as I know Durham so I can't make any suggestions now about lunch 
or a beer...

<snip>

Greg

From owner-scwm-discuss@mit.edu  Thu Apr 22 01:33:57 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA14201
	for scwm-discuss-outgoing; Thu, 22 Apr 1999 01:33:57 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA14198
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 22 Apr 1999 01:33:56 -0400
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA15476; Thu, 22 Apr 99 01:32:23 EDT
Received: (qmail 21056 invoked by uid 501); 22 Apr 1999 05:32:19 -0000
Date: Wed, 21 Apr 1999 22:32:19 -0700
From: Todd Larason <jtl@molehill.org>
To: Greg Badros <gjb@cs.washington.edu>
Cc: Robert Bihlmeyer <robbe@orcus.priv.at>, scwm-discuss@mit.edu
Subject: Re: Another solution...
Message-Id: <19990421223219.A20650@molehill.org>
References: <qrrvherip2q.fsf@elwha.cs.washington.edu> <v4jaew355za.fsf@bogomips.newtonlabs.com> <qrr90bmlsch.fsf@elwha.cs.washington.edu> <19990420182900.A11935@molehill.org> <qrrzp42ka0l.fsf@elwha.cs.washington.edu> <wszp42qbmp.fsf@orcus.priv.at> <qrriuapehoz.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <qrriuapehoz.fsf@elwha.cs.washington.edu>; from Greg Badros on Wed, Apr 21, 1999 at 03:23:40PM -0700
X-Kibo: If you are not afraid to resemble the enemy of everything, please tell everyone.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990421, Greg Badros wrote:
> > I suppose there's no way to "hand off" a client to a real X server?
> 
> I was pondering that as well, but it seems as though it would require
> kernel support to alias the sockets in some funky way.  Can't see how it 
> would work...

There is kernel support for handing file handles from one process to another,
over a unix domain socket, but I don't expect any current X servers have any
method of using it.
-- 
"I knew he was right.  God knows he could have been wrong, but who cares?
 An unpopular opinion in populist time is always good for a laugh."
  -- Firesign Theatre
UIN: 540727

From owner-scwm-discuss@mit.edu  Thu Apr 22 01:41:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA14323
	for scwm-discuss-outgoing; Thu, 22 Apr 1999 01:41:42 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA14320
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 22 Apr 1999 01:41:41 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AB08334; Thu, 22 Apr 99 01:40:11 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA27045; Wed, 21 Apr 1999 22:40:04 -0700 (PDT)
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@mit.edu
Subject: Re: scwm options of type 'color
References: <Pine.GHP.4.10.9904212301210.15643-100000@rukbat.cs.unc.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Apr 1999 22:40:03 -0700
In-Reply-To: Stephen Tell's message of "Wed, 21 Apr 1999 23:13:21 -0400 (EDT)"
Message-Id: <qrrvhepb4cs.fsf@elwha.cs.washington.edu>
Lines: 59
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> On 21 Apr 1999, Greg Badros wrote:
> 
> > Robert Bihlmeyer <robbe@orcus.priv.at> writes:
> > > Hmm, gdk and imlib both measure color proximity by the sum of the
> > > differences of the red, green, and blue values. Not very sophisticated 
> > > IMHO. There must be a number of better formulas.
> 
> > /* divisors are to do some simple (and fast) perceptual weighting
> >    (green matters less than red which matters less than blue) */
> > #define COLOR_DISTANCE(r1, g1, b1, r2, g2, b2) \
> >   ( ABS((g1)-(g2))/4 + ABS((r1)-(r2))/2 + ABS((b1)-(b2)) )
> 
> Um, are you sure green matters _less_?  

Nope... it's actually surprisingly complicated....

> Since intensity is generally (0.299 * r + 0.587 * g + 0.114 * b),
> I would think green should matter the most, blue the least.

Only if we were most interested in matching the intensity of the color; 
we're probably most interested in matching the hue of the color (though
that, even, is hard to say).

> I just looked at some code I pieced together a long while ago to optimize
> colors (for the wierd Amiga hold-and-modify video mode), and it minimizes
> the sum of the squares of the differences, including intensity:
> 
> (r1-r2)^2 + (g1-g2)^2 + (b1-b2)^2 + (inten(r1,b1,g1)-inten(r2,b2,g2))^2
> 
> I think I borrowed this from somewhere, but do recall fiddling with it and
> going back to the original after looking at a number of images.  Another
> possibility would be to use the intensity-weighted sum of the squares of
> the R,G,B and differences...

Well, I just got out the bible on graphics -- Foley et. al, and I'm
looking at Fig. 13.21 which shows the just noticeable difference in
colors as a function of wavelength.   Depending on what part of the
spectrum you consider R, G, B to be at, the answer varies a bit.

> But I'd guess that if there are relatively few shared colors to choose
> from anyway, any vaguely reasonable method would do fairly well.

Yep, that's what I figure.  Hell, we could make it a customizable
procedure that the user defines! :-)

Squaring the differences seems to make sense and is pretty inexpensive.
I don't think the intensity difference is essential, so maybe I'll just
switch to unweighted with squared differences and let other people fight 
it out.

The important thing is that *any* COLOR_DISTANCE macro is going to do a
helluva lot better with my new code than the black we used to got
(unless you're trying to match 001/001/001 and that allocation fails!
:-) ).

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Thu Apr 22 01:47:14 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA14421
	for scwm-discuss-outgoing; Thu, 22 Apr 1999 01:47:14 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA14418
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 22 Apr 1999 01:47:13 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA08947; Thu, 22 Apr 99 01:45:44 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA27067; Wed, 21 Apr 1999 22:45:39 -0700 (PDT)
To: Todd Larason <jtl@molehill.org>
Cc: Robert Bihlmeyer <robbe@orcus.priv.at>, scwm-discuss@mit.edu
Subject: Kernel file handle handoff [was Re: Another solution...]
References: <qrrvherip2q.fsf@elwha.cs.washington.edu> <v4jaew355za.fsf@bogomips.newtonlabs.com> <qrr90bmlsch.fsf@elwha.cs.washington.edu> <19990420182900.A11935@molehill.org> <qrrzp42ka0l.fsf@elwha.cs.washington.edu> <wszp42qbmp.fsf@orcus.priv.at> <qrriuapehoz.fsf@elwha.cs.washington.edu> <19990421223219.A20650@molehill.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Apr 1999 22:45:39 -0700
In-Reply-To: Todd Larason's message of "Wed, 21 Apr 1999 22:32:19 -0700"
Message-Id: <qrrso9tb43g.fsf_-_@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Todd Larason <jtl@molehill.org> writes:

> On 990421, Greg Badros wrote:
> > > I suppose there's no way to "hand off" a client to a real X server?
> > 
> > I was pondering that as well, but it seems as though it would require
> > kernel support to alias the sockets in some funky way.  Can't see how it 
> > would work...
> 
> There is kernel support for handing file handles from one process to another,
> over a unix domain socket, but I don't expect any current X servers have any
> method of using it.

How?  Man page?  Enquiring minds wanna know! :-)

Greg

From owner-scwm-discuss@mit.edu  Thu Apr 22 01:59:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA14614
	for scwm-discuss-outgoing; Thu, 22 Apr 1999 01:59:42 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA14611
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 22 Apr 1999 01:59:41 -0400
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA18484; Thu, 22 Apr 99 01:58:08 EDT
Received: (qmail 23126 invoked by uid 501); 22 Apr 1999 05:58:05 -0000
Date: Wed, 21 Apr 1999 22:58:05 -0700
From: Todd Larason <jtl@molehill.org>
To: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@mit.edu
Subject: Re: Kernel file handle handoff [was Re: Another solution...]
Message-Id: <19990421225805.A22155@molehill.org>
References: <qrrvherip2q.fsf@elwha.cs.washington.edu> <v4jaew355za.fsf@bogomips.newtonlabs.com> <qrr90bmlsch.fsf@elwha.cs.washington.edu> <19990420182900.A11935@molehill.org> <qrrzp42ka0l.fsf@elwha.cs.washington.edu> <wszp42qbmp.fsf@orcus.priv.at> <qrriuapehoz.fsf@elwha.cs.washington.edu> <19990421223219.A20650@molehill.org> <qrrso9tb43g.fsf_-_@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <qrrso9tb43g.fsf_-_@elwha.cs.washington.edu>; from Greg Badros on Wed, Apr 21, 1999 at 10:45:39PM -0700
X-Kibo: They need no excuse to exist.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990421, Greg Badros wrote:
>> There is kernel support for handing file handles from one process to
>> another, over a unix domain socket, but I don't expect any current X
>> servers have any method of using it.
> 
> How?  Man page?  Enquiring minds wanna know! :-)

recv(2), look for information on 'ancillary information', especially
SCM_RIGHTS.  This is a BSD4.4 (4.3Reno and later, according to Stevens)
interface; BSD4.3 had another one, and SVR3.2 and later a third.

If you have it, it's section 15.3 in Stevens' _Advanced Programming in the
Unix Environment_.

As far as I can tell, none of the interfaces were standardized by POSIX or
the SUS. 
-- 
Seems she sold her soul to waltz with Fire
but all that's left are wisps of smoke.
  -- "Torrid Tempest"
UIN: 5086768

From owner-scwm-discuss@mit.edu  Thu Apr 22 02:20:35 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA14885
	for scwm-discuss-outgoing; Thu, 22 Apr 1999 02:20:35 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA14882
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 22 Apr 1999 02:20:34 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA13118; Thu, 22 Apr 99 02:19:04 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id XAA27104; Wed, 21 Apr 1999 23:18:58 -0700 (PDT)
To: Todd Larason <jtl@molehill.org>
Cc: scwm-discuss@mit.edu
Subject: Re: Kernel file handle handoff [was Re: Another solution...]
References: <qrrvherip2q.fsf@elwha.cs.washington.edu> <v4jaew355za.fsf@bogomips.newtonlabs.com> <qrr90bmlsch.fsf@elwha.cs.washington.edu> <19990420182900.A11935@molehill.org> <qrrzp42ka0l.fsf@elwha.cs.washington.edu> <wszp42qbmp.fsf@orcus.priv.at> <qrriuapehoz.fsf@elwha.cs.washington.edu> <19990421223219.A20650@molehill.org> <qrrso9tb43g.fsf_-_@elwha.cs.washington.edu> <19990421225805.A22155@molehill.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Apr 1999 23:18:58 -0700
In-Reply-To: Todd Larason's message of "Wed, 21 Apr 1999 22:58:05 -0700"
Message-Id: <qrrogkhb2jx.fsf@elwha.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Todd Larason <jtl@molehill.org> writes:

> On 990421, Greg Badros wrote:
> >> There is kernel support for handing file handles from one process to
> >> another, over a unix domain socket, but I don't expect any current X
> >> servers have any method of using it.
> > 
> > How?  Man page?  Enquiring minds wanna know! :-)
> 
> recv(2), look for information on 'ancillary information', especially
> SCM_RIGHTS.  This is a BSD4.4 (4.3Reno and later, according to Stevens)
> interface; BSD4.3 had another one, and SVR3.2 and later a third.
> 
> If you have it, it's section 15.3 in Stevens' _Advanced Programming in the
> Unix Environment_.
> 
> As far as I can tell, none of the interfaces were standardized by POSIX or
> the SUS. 

Cool-- thanks for the reference.  I have Stevens, but not in
Australia. I'll squirrel this email away for probing later.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Thu Apr 22 02:27:59 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA14979
	for scwm-discuss-outgoing; Thu, 22 Apr 1999 02:27:59 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA14976
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 22 Apr 1999 02:27:58 -0400
Received: from news.mtu.edu by MIT.EDU with SMTP
	id AA21866; Thu, 22 Apr 99 02:26:24 EDT
Received: from mtu.edu (root@mtu.edu [141.219.70.1])
	by news.mtu.edu (8.8.8/8.8.8) with ESMTP id CAA21080
	for <scwm-discuss@mit.edu>; Thu, 22 Apr 1999 02:26:25 -0400 (EDT)
Received: from wiley.sas.it.mtu.edu (wiley.sas.it.mtu.edu [141.219.36.70])
	by mtu.edu (8.8.8/8.8.8) with ESMTP id CAA05219
	for <scwm-discuss@mit.edu>; Thu, 22 Apr 1999 02:26:25 -0400 (EDT)
Received: (from adisaacs@localhost)
	by wiley.sas.it.mtu.edu (8.8.7/8.8.7/mturelay-1.2) id CAA09107
	for scwm-discuss@mit.edu; Thu, 22 Apr 1999 02:26:22 -0400 (EDT)
Date: Thu, 22 Apr 1999 02:26:22 -0400
From: Andrew Isaacson <adisaacs@mtu.edu>
To: scwm-discuss@mit.edu
Subject: Re: Another solution...
Message-Id: <19990422022622.B9073@mtu.edu>
References: <qrrvherip2q.fsf@elwha.cs.washington.edu> <v4jaew355za.fsf@bogomips.newtonlabs.com> <qrr90bmlsch.fsf@elwha.cs.washington.edu> <19990420182900.A11935@molehill.org> <qrrzp42ka0l.fsf@elwha.cs.washington.edu> <wszp42qbmp.fsf@orcus.priv.at> <qrriuapehoz.fsf@elwha.cs.washington.edu> <19990421223219.A20650@molehill.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3i
In-Reply-To: <19990421223219.A20650@molehill.org>; from Todd Larason on Wed, Apr 21, 1999 at 10:32:19PM -0700
X-Pgp-Fingerprint: 48 01 21 E2 D4 E4 68 D1  B8 DF 39 B2 AF A3 16 B9
X-Pgp-Key-Url: http://www.csl.mtu.edu/~adisaacs/pgp.txt
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Wed, Apr 21, 1999 at 10:32:19PM -0700, Todd Larason wrote:
> There is kernel support for handing file handles from one process to another,
> over a unix domain socket, but I don't expect any current X servers have any
> method of using it.

But the X server certainly isn't going to support that.  For example,
what about all the initialization of the connection that happens when
the display is opened?

Personally I think this approach is a dead end.  Passing some
information along from process invocation to window seems like a more
fruitful approach to me.  

-andy
-- 
Andy Isaacson adisaacs@mtu.edu adi@acm.org    Fight Spam, join CAUCE:
http://www.csl.mtu.edu/~adisaacs/              http://www.cauce.org/

From owner-scwm-discuss@mit.edu  Thu Apr 22 03:21:54 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA16327
	for scwm-discuss-outgoing; Thu, 22 Apr 1999 03:21:54 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA16324
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 22 Apr 1999 03:21:52 -0400
Received: from smtp09.nwnexus.com by MIT.EDU with SMTP
	id AA27071; Thu, 22 Apr 99 03:20:18 EDT
Received: from pulsar.halcyon.com (coho.halcyon.com [198.137.231.21])
	by smtp09.nwnexus.com (8.8.8/8.8.8) with ESMTP id AAA12077
	for <scwm-discuss@mit.edu>; Thu, 22 Apr 1999 00:20:18 -0700
Received: from ken@localhost by pulsar.halcyon.com id <276482-60>; Thu, 22 Apr 1999 00:10:42 -0700
To: scwm-discuss@mit.edu
Subject: Re: Window placement on mouse click viewport instead of current viewport?
In-Reply-To: <qrrso9tehvi.fsf@elwha.cs.washington.edu>
Date: Thu, 22 Apr 1999 00:10:29 -0700
From: Ken Pizzini <ken@halcyon.com>
Message-Id: <19990422071042Z276482-60+16@pulsar.halcyon.com>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 21 Apr 1999 15:19:45 -0700, Greg Badros <gjb@cs.washington.edu> wrote:
>Ahhh.. yes... I was confused about your intention.  If this would work:
>
>RESOURCE_NAME=bar ARG0=foo xlogo

How about:
  RESOURCE_NAME=bar run_with_arg0_renamed xlogo foo [any xlogo options...]

With that wrapper script being:
  #include <unistd.h>
  int main(int argc, char **argv)
  {
    /* sanity checking goes here... */
    execv(*argv, argv+1);
    _exit(127);
  }
?

		--Ken Pizzini

From owner-scwm-discuss@mit.edu  Thu Apr 22 03:38:26 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA17566
	for scwm-discuss-outgoing; Thu, 22 Apr 1999 03:38:26 -0400
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA17563
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 22 Apr 1999 03:38:24 -0400
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA20383; Thu, 22 Apr 99 03:36:53 EDT
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id JAA01448
	for <scwm-discuss@mit.edu>; Thu, 22 Apr 1999 09:36:51 +0200 (MET DST)
Received: from swann.irisa.fr (swann.irisa.fr [131.254.50.29])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id TAA19102
	for <canon@ulla.irisa.fr>; Wed, 21 Apr 1999 19:51:21 +0200 (MET DST)
Received: from VICARIOUS-EXISTENCE.MIT.EDU (IDENT:mjrdmo@VICARIOUS-EXISTENCE.MIT.EDU [18.244.0.161])
	by swann.irisa.fr (8.9.1a/8.9.1) with ESMTP id TAA18284
	for <Hubert.Canon@irisa.fr>; Wed, 21 Apr 1999 19:51:20 +0200 (MET DST)
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA07918
	for scwm-discuss-outgoing; Wed, 21 Apr 1999 13:29:31 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA07914
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 21 Apr 1999 13:29:18 -0400
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA20306; Wed, 21 Apr 99 13:27:43 EDT
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id TAA19025
	for <scwm-discuss@mit.edu>; Wed, 21 Apr 1999 19:27:29 +0200 (MET DST)
Received: from maat.irisa.fr (maat.irisa.fr [131.254.13.25])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id TAA19011
	for <canon@ulla.irisa.fr>; Wed, 21 Apr 1999 19:24:14 +0200 (MET DST)
Received: from rex.eecs.tulane.edu (rex.eecs.tulane.edu [129.81.132.1])
	by maat.irisa.fr (8.9.1a/8.9.1) with ESMTP id TAA10681
	for <Hubert.Canon@irisa.fr>; Wed, 21 Apr 1999 19:24:08 +0200 (MET DST)
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for <Hubert.Canon@irisa.fr>
          Wed, 21 Apr 1999 12:23:17 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Wed, 21 Apr 1999 12:23:15 -0500 (CDT)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14110.2435.442697.557354@juno>
Date: Wed, 21 Apr 1999 12:23:15 -0500 (CDT)
From: Eric Beuscher <beuscher@eecs.tulane.edu>
To: Hubert Canon <Hubert.Canon@irisa.fr>
Subject: which scwm snapshot is actually working ?
In-Reply-To: <19990421184600.A6182@youkaidi.irisa.fr>
References: <19990421184600.A6182@youkaidi.irisa.fr>
X-Mailer: VM 6.62 under Emacs 20.3.1
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


> I tried one of the latest snapshots (19990420) but it doesn't work as
> expected :
> ... <errors> ...

hmmmmm, well i am currently using that very snapshot:
	scwm> (scwm-version-date)
	"Mon Apr 19 14:02:28 EDT 1999 -- $Revision: 1.1386 $"
and am not having any problems.   in addition i am using the
fvwm-module module for the fvwm2pager, and that works as expected


though, for snapshot (19990420), i get the following make install
error after building as usual:
> ./configure --prefix=/usr/local/opt/$(basename $(pwd)) ; bell
 <correct working>
> make; bell
 <correct working>
> make install; bell
 ...
 Making install in scwmrepl
 make[2]: Entering directory `/usr/local/src/scwm-19990421/utilities/scwmrepl'
 /bin/sh ../../mkinstalldirs /usr/local/opt/scwm-19990421/bin
  /bin/sh ../../libtool  --mode=install /usr/bin/install -c scwmrepl /usr/local/opt/scwm-19990421/bin/scwmrepl
 /usr/bin/install -c .libs/scwmrepl /usr/local/opt/scwm-19990421/bin/scwmrepl
 make[2]: Leaving directory `/usr/local/src/scwm-19990421/utilities/scwmrepl'
 Making install in pidproperty
 make[2]: Entering directory `/usr/local/src/scwm-19990421/utilities/pidproperty'
 make[2]: *** No rule to make target `install'.  Stop.
 make[2]: Leaving directory `/usr/local/src/scwm-19990421/utilities/pidproperty'
 make[1]: *** [install-recursive] Error 1
 make[1]: Leaving directory `/usr/local/src/scwm-19990421/utilities'
 make: *** [install-recursive] Error 1
 zsh: 6729 exit 2     make install

not knowing anything (nor currently wanting to) about
autoconf, etc ..., i leave this for someone else to either
fix or ridicule me for doing something stupid


-- 
eric

From owner-scwm-discuss@mit.edu  Thu Apr 22 03:38:31 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA17572
	for scwm-discuss-outgoing; Thu, 22 Apr 1999 03:38:31 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA17562
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 22 Apr 1999 03:38:24 -0400
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA20382; Thu, 22 Apr 99 03:36:53 EDT
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id JAA01446
	for <scwm-discuss@mit.edu>; Thu, 22 Apr 1999 09:36:50 +0200 (MET DST)
Received: from maat.irisa.fr (maat.irisa.fr [131.254.13.25])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id XAA19777
	for <canon@ulla.irisa.fr>; Wed, 21 Apr 1999 23:56:26 +0200 (MET DST)
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by maat.irisa.fr (8.9.1a/8.9.1) with ESMTP id XAA11766
	for <Hubert.Canon@irisa.fr>; Wed, 21 Apr 1999 23:56:25 +0200 (MET DST)
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA26102; Wed, 21 Apr 1999 14:56:07 -0700 (PDT)
To: Eric Beuscher <beuscher@eecs.tulane.edu>
Cc: Hubert Canon <Hubert.Canon@irisa.fr>
Subject: Re: which scwm snapshot is actually working ?
References: <19990421184600.A6182@youkaidi.irisa.fr> <14110.2435.442697.557354@juno>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Apr 1999 14:56:07 -0700
In-Reply-To: Eric Beuscher's message of "Wed, 21 Apr 1999 12:23:15 -0500 (CDT)"
Message-Id: <qrr90blfxjc.fsf@elwha.cs.washington.edu>
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Eric Beuscher <beuscher@eecs.tulane.edu> writes:

> > I tried one of the latest snapshots (19990420) but it doesn't work as
> > expected :
> > ... <errors> ...
> 
> hmmmmm, well i am currently using that very snapshot:
> 	scwm> (scwm-version-date)
> 	"Mon Apr 19 14:02:28 EDT 1999 -- $Revision: 1.1386 $"
> and am not having any problems.   in addition i am using the
> fvwm-module module for the fvwm2pager, and that works as expected

...

>  Making install in pidproperty
>  make[2]: Entering directory `/usr/local/src/scwm-19990421/utilities/pidproperty'
>  make[2]: *** No rule to make target `install'.  Stop.
>  make[2]: Leaving directory `/usr/local/src/scwm-19990421/utilities/pidproperty'
>  make[1]: *** [install-recursive] Error 1
>  make[1]: Leaving directory `/usr/local/src/scwm-19990421/utilities'
>  make: *** [install-recursive] Error 1
>  zsh: 6729 exit 2     make install
> 
> not knowing anything (nor currently wanting to) about
> autoconf, etc ..., i leave this for someone else to either
> fix or ridicule me for doing something stupid

This is a new directory that I used a broken Makefile.in instead of
trying to figure out how to make Makefile.am do what I wanted... I'll
add an install target, but when in doubt, just do a "make -k" and don't
worry about new directories not building to completion... it might just
affect your ability to access non-essential new features that we're
still working on.

Greg

From owner-scwm-discuss@mit.edu  Thu Apr 22 03:59:52 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA17878
	for scwm-discuss-outgoing; Thu, 22 Apr 1999 03:59:52 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA17875
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 22 Apr 1999 03:59:51 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA00656; Thu, 22 Apr 99 03:58:16 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id JAA03339
	for scwm-discuss@mit.edu; Thu, 22 Apr 1999 09:52:34 +0200 (MET DST)
Received: (qmail 25525 invoked by uid 115); 21 Apr 1999 18:46:23 -0000
To: scwm-discuss@mit.edu
Subject: Re: sloppiness
References: <14101.23227.846904.201649@juno> <qrrn20a4i2f.fsf@elwha.cs.washington.edu> <14101.28527.358143.873765@juno> <wswvz9nbxp.fsf@orcus.priv.at> <14108.39914.892594.636080@juno>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 21 Apr 1999 20:46:22 +0200
In-Reply-To: Equality 7-2521's message of "Tue, 20 Apr 1999 10:23:22 -0500 (CDT)"
Message-Id: <wszp41q0ap.fsf@orcus.priv.at>
Lines: 18
User-Agent: Gnus/5.070083 (Pterodactyl Gnus v0.83) XEmacs/20.4 (Emerald)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Tue, 20 Apr 1999 10:23:22 -0500 (CDT)
>>>>> Equality 7-2521 <beuscher@eecs.tulane.edu> said:

 Eric> [Scwm][HandleEnterNotify]:  ` oyster:~ ' lost the pointer
 Eric> [Scwm][HandleEnterNotify]:  ... it had mouse-focus, so it loses the focus, too

Here no visible window should have the focus. You say that ` oyster:~' 
keeps the focus?

Perhaps something is giving it back to it ... hmm.

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Thu Apr 22 04:27:18 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA18151
	for scwm-discuss-outgoing; Thu, 22 Apr 1999 04:27:18 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA18148
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 22 Apr 1999 04:27:17 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA03132; Thu, 22 Apr 99 04:25:42 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id BAA27350; Thu, 22 Apr 1999 01:25:40 -0700 (PDT)
To: Ken Pizzini <ken@halcyon.com>
Cc: scwm-discuss@mit.edu
Subject: Re: Window placement on mouse click viewport instead of current viewport?
References: <19990422071042Z276482-60+16@pulsar.halcyon.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Apr 1999 01:25:40 -0700
In-Reply-To: Ken Pizzini's message of "Thu, 22 Apr 1999 00:10:29 -0700"
Message-Id: <qrrg15tawor.fsf@elwha.cs.washington.edu>
Lines: 67
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Ken Pizzini <ken@halcyon.com> writes:

> On 21 Apr 1999 15:19:45 -0700, Greg Badros <gjb@cs.washington.edu> wrote:
> >Ahhh.. yes... I was confused about your intention.  If this would work:
> >
> >RESOURCE_NAME=bar ARG0=foo xlogo
> 
> How about:
>   RESOURCE_NAME=bar run_with_arg0_renamed xlogo foo [any xlogo options...]
> 
> With that wrapper script being:
>   #include <unistd.h>
>   int main(int argc, char **argv)
>   {
>     /* sanity checking goes here... */
>     execv(*argv, argv+1);
>     _exit(127);
>   }
> ?

I'll see your nifty trick, and raise you a bug fix and some extra goodies.
(the bug fix is execvp instead of execv).

Now this is sufficient (the setting of RESOURCE_NAME is hidden)

% run-renamed xlogo foo -fg blue

*and* 

WM_COMMAND is more useful for session management tricks that might look
at it.  The special format will have to be handled, but if you do the
dumb thing and do not quote the arg0 properly, it'd work. (xlsclients is 
smart enough to quote the argument, though).

Neat trick! Thanks Ken!

Anybody care to shoot any holes in this?  Besides session manager
issues, I like it.

Greg

/* $Id$ 
 * run-renamed.c
 * (C) 1999 By Ken Pizzini and Greg J. Badros
 * GPL'd
 */

#include <unistd.h> 
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>

int main(int argc, char **argv) 
{ 
  if (argc < 1) exit(1);
  if (!strcmp(argv[0],"run-renamed")) {
    setenv("RESOURCE_NAME",argv[1],1);
  } else {
    char *sz = (char *) malloc(strlen(argv[1]) + strlen(argv[2]) + 12);
    sprintf(sz,"rename_to=%s %s",argv[1],argv[0]);
    argv[1] = sz;
  }
  execvp(argv[0], argv+1);
  perror("run-renamed");
  exit(127); 
} 

From owner-scwm-discuss@mit.edu  Thu Apr 22 06:20:22 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA18991
	for scwm-discuss-outgoing; Thu, 22 Apr 1999 06:20:22 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id GAA18987
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 22 Apr 1999 06:20:18 -0400
Received: from dialup-t1-99.Melbourne.netspace.net.au by MIT.EDU with SMTP
	id AA13328; Thu, 22 Apr 99 06:18:38 EDT
Received: from localhost (411 bytes) by zappa.
	via sendmail with P:stdio/R:internet_hosts/T:smtp
	(sender: <ggt>) (ident <ggt> using unix)
	id <m10aGGg-002SwBC@zappa.>
	for <scwm-discuss@mit.edu>; Thu, 22 Apr 1999 19:59:38 +1000 (EST)
	(Smail-3.2.0.101 1997-Dec-17 #1 built 1998-Aug-25)
Message-Id: <m10aGGg-002SwBC@zappa.>
Date: Thu, 22 Apr 1999 19:59:38 +1000 (EST)
From: ggt@netspace.net.au (Glenn Trigg)
X-Mailer: Privtool [V0.90 Beta GT002] (i586-pc-linux-gnu/Motif)
Reply-To: ggt@linuxfan.com
Subject: curious
To: scwm-discuss@mit.edu
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Just wondering...

Did anyone see the new ScwmButtons,scm and others I sent the other week?
I didn't get any feedback about the changes & the new versions haven't
showed up in CVS, so I was just wondering about them.

Glenn
 

From owner-scwm-discuss@mit.edu  Thu Apr 22 06:41:34 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id GAA19380
	for scwm-discuss-outgoing; Thu, 22 Apr 1999 06:41:34 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id GAA19371
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 22 Apr 1999 06:40:53 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA05508; Thu, 22 Apr 99 06:39:16 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id DAA27480; Thu, 22 Apr 1999 03:39:10 -0700 (PDT)
To: ggt@linuxfan.com
Cc: scwm-discuss@mit.edu
Subject: Re: curious
References: <m10aGGg-002SwBC@zappa.>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Apr 1999 03:39:09 -0700
In-Reply-To: ggt@netspace.net.au's message of "Thu, 22 Apr 1999 19:59:38 +1000 (EST)"
Message-Id: <qrr676paqia.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

ggt@netspace.net.au (Glenn Trigg) writes:

> Just wondering...
> 
> Did anyone see the new ScwmButtons,scm and others I sent the other week?
> I didn't get any feedback about the changes & the new versions haven't
> showed up in CVS, so I was just wondering about them.

Thanks for the reminder -- I had ticked the message instead of dealing
with the article because bzip2 wasn't installed on this machine.  I've
now installed it, and am now committing your new versions.  Thanks very
much for the contribution!  And my apologies for being so slow about
getting your changes in the repository.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Thu Apr 22 12:10:02 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id MAA22482
	for scwm-discuss-outgoing; Thu, 22 Apr 1999 12:10:02 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id MAA22479
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 22 Apr 1999 12:10:01 -0400
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA29844; Thu, 22 Apr 99 12:08:26 EDT
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id SAA08256
	for <scwm-discuss@mit.edu>; Thu, 22 Apr 1999 18:08:23 +0200 (MET DST)
Date: Thu, 22 Apr 1999 18:08:22 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: SCWM Discussion Mailing List <scwm-discuss@mit.edu>
Subject: sticking window
Message-Id: <19990422180822.A11680@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3us
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Some strange feature :

When I am in the second viewport : (set-viewport-position! (%x 100) 0)
and I make a window sticky : 
(menuitem "(Un)Stick" #:action toggle-stick)

then my window get in the third viewport. In fact, it is in the next
viewport, because the geometry of sticky windows seems to be
broken. The window should remain in the same position without moving
into another viewport.

-- 
Hubert Canon

From owner-scwm-discuss@mit.edu  Thu Apr 22 13:03:54 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA22906
	for scwm-discuss-outgoing; Thu, 22 Apr 1999 13:03:54 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA22903
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 22 Apr 1999 13:03:49 -0400
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA19220; Thu, 22 Apr 99 13:02:14 EDT
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for 
          Thu, 22 Apr 1999 12:02:07 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Thu, 22 Apr 1999 12:02:07 -0500 (CDT)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14111.22030.613836.775363@juno>
Date: Thu, 22 Apr 1999 12:02:06 -0500 (CDT)
From: Eric Beuscher <beuscher@eecs.tulane.edu>
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: sloppiness
In-Reply-To: <wszp41q0ap.fsf@orcus.priv.at>
References: <14101.23227.846904.201649@juno>
	<qrrn20a4i2f.fsf@elwha.cs.washington.edu>
	<14101.28527.358143.873765@juno>
	<wswvz9nbxp.fsf@orcus.priv.at>
	<14108.39914.892594.636080@juno>
	<wszp41q0ap.fsf@orcus.priv.at>
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


>  Eric> [Scwm][HandleEnterNotify]:  ` oyster:~ ' lost the pointer
>  Eric> [Scwm][HandleEnterNotify]:  ... it had mouse-focus, so it loses the focus, too

> Here no visible window should have the focus. You say that ` oyster:~' 
> keeps the focus?

no,  once the window is iconified, it does lose the focus, and
nothing appears to have it.


-- 
eric

From owner-scwm-discuss@mit.edu  Thu Apr 22 18:00:13 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA24949
	for scwm-discuss-outgoing; Thu, 22 Apr 1999 18:00:13 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA24946
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 22 Apr 1999 18:00:11 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA04694; Thu, 22 Apr 99 17:58:33 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA28151; Thu, 22 Apr 1999 14:58:27 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@mit.edu>
Subject: Re: sticking window
References: <19990422180822.A11680@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Apr 1999 14:58:27 -0700
In-Reply-To: Hubert Canon's message of "Thu, 22 Apr 1999 18:08:22 +0200"
Message-Id: <qrrpv4w9v24.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Some strange feature :
> 
> When I am in the second viewport : (set-viewport-position! (%x 100) 0)
> and I make a window sticky : 
> (menuitem "(Un)Stick" #:action toggle-stick)
> 
> then my window get in the third viewport. In fact, it is in the next
> viewport, because the geometry of sticky windows seems to be
> broken. The window should remain in the same position without moving
> into another viewport.

I've seen this occasionally happen, too, but haven't had time to be able 
to consistently reproduce it.  Can you?

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Fri Apr 23 03:33:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA30438
	for scwm-discuss-outgoing; Fri, 23 Apr 1999 03:33:41 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA30435
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 23 Apr 1999 03:33:39 -0400
Received: from ulla.irisa.fr by MIT.EDU with SMTP
	id AA05885; Fri, 23 Apr 99 03:31:58 EDT
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.1a/8.9.1) with ESMTP id JAA11804;
	Fri, 23 Apr 1999 09:31:54 +0200 (MET DST)
Date: Fri, 23 Apr 1999 09:31:54 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: Greg Badros <gjb@cs.washington.edu>
Cc: SCWM Discussion Mailing List <scwm-discuss@mit.edu>
Subject: Re: sticking window
Message-Id: <19990423093153.A15394@youkaidi.irisa.fr>
References: <19990422180822.A11680@youkaidi.irisa.fr> <qrrpv4w9v24.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Mailer: Mutt 0.95.3us
In-Reply-To: <qrrpv4w9v24.fsf@elwha.cs.washington.edu>; from Greg Badros on Thu, Apr 22, 1999 at 02:58:27PM -0700
X-Mime-Autoconverted: from 8bit to quoted-printable by ulla.irisa.fr id JAA11804
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by VICARIOUS-EXISTENCE.MIT.EDU id DAA30436
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros écrivait :
> Hubert Canon <Hubert.Canon@irisa.fr> writes:
> > Some strange feature :
> > 
> > When I am in the second viewport : (set-viewport-position! (%x 100) 0)
> > and I make a window sticky : 
> > (menuitem "(Un)Stick" #:action toggle-stick)
> > 
> > then my window get in the third viewport. In fact, it is in the next
> > viewport, because the geometry of sticky windows seems to be
> > broken. The window should remain in the same position without moving
> > into another viewport.
> 
> I've seen this occasionally happen, too, but haven't had time to be able 
> to consistently reproduce it.  Can you?

You are right. This morning (same session) it works perfectly as
expected.


From owner-scwm-discuss@mit.edu  Fri Apr 23 15:40:27 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA01689
	for scwm-discuss-outgoing; Fri, 23 Apr 1999 15:40:27 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA01686
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 23 Apr 1999 15:40:26 -0400
Received: from gn-if-36.goldnet.it by MIT.EDU with SMTP
	id AA18301; Fri, 23 Apr 99 15:38:35 EDT
Received: from tetris.goldnet.it [194.21.56.2] 
	by gn-if-36.goldnet.it with esmtp (Exim 2.05 #1 (Debian))
	id 10almU-0005rI-00; Fri, 23 Apr 1999 21:38:34 +0200
Received: from mizar (root@tc01b49.goldnet.it [194.21.56.237])
	by tetris.goldnet.it (8.8.5/8.8.5) with ESMTP id VAA23126
	for <scwm-discuss@mit.edu>; Fri, 23 Apr 1999 21:36:57 +0200 (MET DST)
Received: by goldnet.it
	via sendmail from stdin
	id <m10alVT-0009XAC@mizar> (Debian Smail3.2.0.102)
	for scwm-discuss@mit.edu; Fri, 23 Apr 1999 21:20:59 +0200 (CEST) 
Message-Id: <19990423212059.A155@mizar>
Date: Fri, 23 Apr 1999 21:20:59 +0200
From: Francesco Tapparo <cesco@goldnet.it>
To: scwm-discuss@mit.edu
Subject: scwm debian package
Reply-To: tapparo@mat.unimi.it
Mail-Followup-To: scwm-discuss@mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I'm the maintainer of scwm for Debian. I uploaded scwm_0.9-1 to the Debian
ftp server (but it's necessary some time before my packages are downloadable
from you, because of some bureaucracy problems).
I apologize for my lateness, but I was very busy and I had some net
connection problems.

-- 
Francesco Tapparo                                 tapparo@mat.unimi.it
GNU fanatic                                       cesco@debian.org

From owner-scwm-discuss@mit.edu  Sat Apr 24 21:03:43 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA11659
	for scwm-discuss-outgoing; Sat, 24 Apr 1999 21:03:43 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA11656
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 24 Apr 1999 21:03:37 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA24557; Sat, 24 Apr 99 21:01:38 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id SAA01968; Sat, 24 Apr 1999 18:00:42 -0700 (PDT)
To: tapparo@mat.unimi.it
Cc: scwm-discuss@mit.edu
Subject: Re: scwm debian package
References: <19990423212059.A155@mizar>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Apr 1999 18:00:41 -0700
In-Reply-To: Francesco Tapparo's message of "Fri, 23 Apr 1999 21:20:59 +0200"
Message-Id: <qrrvhel7buu.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Francesco Tapparo <cesco@goldnet.it> writes:

> I'm the maintainer of scwm for Debian. I uploaded scwm_0.9-1 to the Debian
> ftp server (but it's necessary some time before my packages are downloadable
> from you, because of some bureaucracy problems).
> I apologize for my lateness, but I was very busy and I had some net
> connection problems.

Great, thanks!  Better late than never!  We also link to James
LewisMoss's page of very recent Debian packages for Scwm from the scwm
web page:

http://vicarious-existence.mit.edu/scwm/

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Mon Apr 26 13:47:12 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA27204
	for scwm-discuss-outgoing; Mon, 26 Apr 1999 13:47:12 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA27201
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 26 Apr 1999 13:47:06 -0400
Received: from alpha.netvision.net.il by MIT.EDU with SMTP
	id AA24101; Mon, 26 Apr 99 13:46:47 EDT
Received: from localhost (mail@ts028p12.tlv.netvision.net.il [199.203.202.14])
	by alpha.netvision.net.il (8.9.3/8.8.6) with SMTP id UAA12951
	for <scwm-discuss@mit.edu>; Mon, 26 Apr 1999 20:46:39 +0300 (IDT)
Received: from cmm by localhost with local (Exim 1.62 #1)
	id 10bpSu-00005Q-00 (Debian); Mon, 26 Apr 1999 19:46:44 +0200
To: scwm-discuss@mit.edu
Subject: Maximization.
Reply-To: Michael Livshin <mike@olan.com>
From: Michael Livshin <mike@olan.com>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 26 Apr 1999 19:46:44 +0200
Message-Id: <85g15nb7gb.fsf@alucard.one.way>
Lines: 65
X-Mailer: Gnus v5.6.43/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Since I use the Gnome panel, and I don't want maximized windows to
obscure it, I thought it would be cool if the `maximize' operation
could also move the windows to some predefined viewport location (say,
'(0 0)), so that they don't obscure the panels.

As a quick hack, I implemented wrappers called maximize-and-move,
unmaximize-and-move & toggle-maximize-and-move, that call appropriate
(un)maximization operations and also move the window to
*maximized-position* (when maximized) or back where it was prior to
maximization (when unmaximizing and if the window didn't move since
maximization).

A better solution might be to create pre-maximization &
post-unmaximization hooks or somesuch.

enjoy,
-- mike.

;;; maximize-and-move.scm --- A fancier maximize/unmaximize
;; -*- Scheme -*-
; Copyright (C) 1999 Michael Livshin

(define-module (app scwm maximize-and-move)
  #:use-module (app scwm optargs)
  #:use-module (app scwm base)
  #:use-module (app scwm winops))

;;; Could be some dialog-customizable thingie, perhaps?
(define-public *maximized-position* '(0 0))

(define*-public (maximize-and-move x y #&optional (win get-window))
  "Like `maximize', but also moves the window to *maximized-position*."
  (if win
      (begin
        (if (not (maximized? win))
            (begin
              (set-window-property! win 'non-maxed-position
                                    (window-viewport-position win))
              (move-window-viewport-position (car *maximized-position*)
                                             (cadr *maximized-position*) win)))
        (maximize x y win))))

(define*-public (unmaximize-and-move #&optional (win get-window))
  "Like `unmaximize', but also restored the pre-maximized window position.
Doesn't restore the position if window was moved after it was maximized."
  (if win
      (let ((is-there? (equal? *maximized-position* (window-viewport-position win)))
            (prev-pos (window-property win 'non-maxed-position)))
        (set-window-property! win 'non-maxed-position #f)
        (unmaximize win)
        (if is-there?
            (move-window-viewport-position (car prev-pos)
                                           (cadr prev-pos)
                                           win)))))

(define*-public (toggle-maximize-and-move x y #&optional (win (get-window)))
  (if win (if (maximized? win)
	      (unmaximize-and-move win)
	      (maximize-and-move x y win))))

;;; maximize-and-move.scm ends here
;;; Local Variables:
;;; mode:scwm
;;; End:

From owner-scwm-discuss@mit.edu  Wed Apr 28 07:58:37 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA11326
	for scwm-discuss-outgoing; Wed, 28 Apr 1999 07:58:37 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id HAA11323
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 28 Apr 1999 07:58:34 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA10789; Wed, 28 Apr 99 07:58:28 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id NAA01094
	for scwm-discuss@mit.edu; Wed, 28 Apr 1999 13:40:27 +0200 (MET DST)
Received: (qmail 6687 invoked by uid 115); 28 Apr 1999 08:46:05 -0000
To: scwm-discuss@mit.edu
Subject: Re: gqmpeg & scwm
References: <m3677uilxk.fsf@eho.eaglets.com> <m390bvp5vk.fsf@eho.eaglets.com>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 28 Apr 1999 10:46:04 +0200
In-Reply-To: Sam Steingold's message of "14 Apr 1999 11:40:47 -0400"
Message-Id: <wsvhehxhdf.fsf@orcus.priv.at>
Lines: 16
User-Agent: Gnus/5.070083 (Pterodactyl Gnus v0.83) XEmacs/20.4 (Emerald)
X-Now-Playing: P J Harvey - I Think I'm A Mother
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 14 Apr 1999 11:40:47 -0400
>>>>> Sam Steingold <sds@goems.com> said:

 Sam> there is a line (2 pixels wide?) just above the gqmpeg window
 Sam> (separated from the gqmpeg window with about 2-3 pixels of empty
 Sam> space), which acts as a title bar.

I'll check in a fix today.

        Robbe

-- 
Robert Bihlmeyer       reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>    <http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Wed Apr 28 17:29:24 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA13999
	for scwm-discuss-outgoing; Wed, 28 Apr 1999 17:29:24 -0400
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA13995
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 28 Apr 1999 17:29:14 -0400
From: jay@vh213601.truman.edu
Received: from vh213601.truman.edu by MIT.EDU with SMTP
	id AA20983; Wed, 28 Apr 99 17:28:57 EDT
Received: (from jay@localhost)
	by vh213601.truman.edu (8.8.7/8.8.7) id QAA00934;
	Wed, 28 Apr 1999 16:30:22 -0500
Date: Wed, 28 Apr 1999 16:30:22 -0500
Message-Id: <199904282130.QAA00934@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
To: scwm-discuss@mit.edu
Subject: Gnome pager race
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk



A while ago Robbe brought up the Gnome pager race, where scwm doesn't
mention that it's Gnome-compliant before the pager starts up, and so
there is a crashing sound and no pager.  I still have this problem,
has it been fixed for others?  (I tried adding the line (SM-register)
after (enable-gnome-hints) in .scwmrc, I get the same problems with or
without it.)
Here's what happens (with scwm version date:
"Mon Apr 26 01:53:44 EDT 1999 -- $Revision: 1.1484 $", 
but I've had this problem for a while):
If I start it up after reboot, I get a thin border around any gnome
panels, but other than that everything works great.
If I shut X down and restart it without rebooting, however,
it complains that I tried to start the gnome-pager without a
gnome-aware window manager (and helpfully suggests that I use
enlightenment :) ) and of course no pager.  I can restart the pager no
problem, once scwm is up and going, however.
Another problem that I get it that when I use the hidebuttons on the
gnome panel to slide it off to the side, the cursor turns into a
disk.  This disk seems to have the effect of turning a window into a
window that stays on top, even when it loses the focus.  (This is not
my default behavior.)  Once the mouse is clicked, the cursor becomes
normal again.  (The hidebutton doesn't cause this problem the first
time X is started after a reboot.)

Am I the only one with this problem?

Jay


From owner-scwm-discuss@mit.edu  Wed Apr 28 18:32:08 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA14635
	for scwm-discuss-outgoing; Wed, 28 Apr 1999 18:32:08 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id SAA14631
	for <scwm-discuss@vicarious-existence.mit.edu>; Wed, 28 Apr 1999 18:32:01 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA11635; Wed, 28 Apr 1999 15:31:53 -0700 (PDT)
To: scwm-discuss@mit.edu
Subject: Support for UNDO
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Apr 1999 15:31:53 -0700
Message-ID: <qrr4sm0z89y.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

For my demo of Scwm to Richard Stallman yesterday (he happened to be in
Melbourne), I wanted something a little extra special to show off in
Scwm.  I wrote the beginnings of a straightforward support of UNDO for
Scwm.  Since that code was so ugly, I just committed only the essential
subset of saving window configurations and restoring them.  It probably
makes sense to have the real undo support be more lightweight than
always taking a global snapshot (each proc could associate a list of
things that need to be saved, etc.).  In any case, this is useful for
really saving global state (kinda like window-configuration-to-register
in GNU Emacs).  Nevertheless, a heavyweight undo can be implemented by
just queuing up the global states.  (Most nicely done if we had good
support for advising procedures).

Anybody know of any other window manager that supports undo?

Greg

From owner-scwm-discuss@mit.edu  Wed Apr 28 19:04:03 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA14855
	for scwm-discuss-outgoing; Wed, 28 Apr 1999 19:04:03 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA14852
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 28 Apr 1999 19:04:02 -0400
Received: from relay4.UU.NET by MIT.EDU with SMTP
	id AA14775; Wed, 28 Apr 99 19:03:51 EDT
Received: from mail.eaglets.com by relay4.UU.NET with ESMTP 
	(peer crosschecked as: [208.235.77.228])
	id QQgmym29358
	for <scwm-discuss@mit.edu>; Wed, 28 Apr 1999 19:03:41 -0400 (EDT)
Received: by mail.eaglets.com from localhost
    (router,SLMail V3.1); Wed, 28 Apr 1999 19:02:23 -0400
Received: by mail.eaglets.com from eho.eaglets.com [208.235.77.238]
    (SLmail 3.1.2948 (Release Build)); Wed, 28 Apr 1999 19:02:22 -0400
Received: (from sds@localhost)
	by eho.eaglets.com (8.9.3/8.9.3) id SAA16159;
	Wed, 28 Apr 1999 18:59:51 -0400
To: scwm-discuss@mit.edu
Subject: Re: Support for UNDO
References: <qrr4sm0z89y.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Disclaimer: You should not expect anyone to agree with me.
X-Attribution: Sam
X-No-Archive: Yes
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "28 Apr 1999 15:31:53 -0700"
Date: 28 Apr 1999 18:59:51 -0400
Message-Id: <m3d80oqrko.fsf@eho.eaglets.com>
Lines: 17
X-Mailer: Gnus v5.7/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>> In message <qrr4sm0z89y.fsf@elwha.cs.washington.edu>
>>>> On the subject of "Support for UNDO"
>>>> Sent on 28 Apr 1999 15:31:53 -0700
>>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
 >> 
 >> Anybody know of any other window manager that supports undo?

no.  please don't forget that this is a *Window Manager* - not an
editor.  Already SCWM takes 5MB on startup.

Please save SCWM from featuritis - at least until 1.0.

-- 
Sam Steingold (http://www.goems.com/~sds) running RedHat5.2 GNU/Linux
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
The software said it requires Windows 3.1 or better, so I installed Linux.

From owner-scwm-discuss@mit.edu  Wed Apr 28 19:20:10 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA14966
	for scwm-discuss-outgoing; Wed, 28 Apr 1999 19:20:10 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA14961
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 28 Apr 1999 19:20:04 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA09447; Wed, 28 Apr 99 19:19:57 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA11704; Wed, 28 Apr 1999 16:19:54 -0700 (PDT)
To: scwm-discuss@mit.edu
Subject: Re: Support for UNDO
References: <qrr4sm0z89y.fsf@elwha.cs.washington.edu> <m3d80oqrko.fsf@eho.eaglets.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Apr 1999 16:19:53 -0700
In-Reply-To: Sam Steingold's message of "28 Apr 1999 18:59:51 -0400"
Message-Id: <qrrlnfcxrhi.fsf@elwha.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> >>>> In message <qrr4sm0z89y.fsf@elwha.cs.washington.edu>
> >>>> On the subject of "Support for UNDO"
> >>>> Sent on 28 Apr 1999 15:31:53 -0700
> >>>> Honorable Greg Badros <gjb@cs.washington.edu> writes:
>  >> 
>  >> Anybody know of any other window manager that supports undo?
> 
> no.  please don't forget that this is a *Window Manager* - not an
> editor.  Already SCWM takes 5MB on startup.

That's the kicker though... because it's Scwm, you don't pay for it
unless you use it... just don't (use-scwm-modules window-configuration)
and it doesn't hurt your memory image size a bit.  (And with proper
support for advice, even the lightweight version won't affect users who
don't care to use it).

> Please save SCWM from featuritis - at least until 1.0.

Please don't discourage people from adding features to Scwm.  We've gone
to great lengths to ensure that new features can be added without
bloating the core of Scwm (which, agreed, already needs trimming, but
new features can be written so that the core gets no worse).

Greg

From owner-scwm-discuss@mit.edu  Wed Apr 28 20:07:32 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA15281
	for scwm-discuss-outgoing; Wed, 28 Apr 1999 20:07:32 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA15278
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 28 Apr 1999 20:07:31 -0400
Received: from ppp160.arden.ioa.com by MIT.EDU with SMTP
	id AA28193; Wed, 28 Apr 99 20:06:51 EDT
Received: from dres by dres.elam.org with local (Exim 2.11 #1 (Debian))
	id 10ceLD-0001ph-00; Wed, 28 Apr 1999 20:06:11 -0400
To: jay@vh213601.truman.edu
Cc: scwm-discuss@mit.edu
Subject: Re: Gnome pager race
References: <199904282130.QAA00934@vh213601.truman.edu>
X-Url: http://www.ioa.com/~dres
X-Organization: Debian/Software in the Public Interest
X-Attribution: Dres
X-Face:  "R3Ms&!j++.]J8DwisON-l7#S<Jw[MsP|I<K?28b~f-<w^vjeAQ-k@$-Az>OloY'V?!^-!2
 9G+7Z7OzClzr2{3e<RFn%f*t%B<*|sT->ni9BN\pzkTp<dg6+lOtI-rg*]Fjgr0n.=ChFX:_+T7fKT
 *Z[}xvSK"jV~QH7*v}xZ,1rlb+Ro`,)#2Econ*g^>}ehc,\AhKBZ\Sf/HVG+p\*?'(&ct2w6Fr:w9m
 o|9R&.D-)1]:&sN-6o'\`7W${f1$2BCy6qSl&._{ILYCZ?X-[?M!](N
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: James LewisMoss <dres@ioa.com>
Date: 28 Apr 1999 20:06:11 -0400
In-Reply-To: jay@vh213601.truman.edu's message of "Wed, 28 Apr 1999 16:30:22 -0500"
Message-Id: <hh7lqwguj0.fsf@dres.elam.org>
Lines: 44
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>>> On Wed, 28 Apr 1999 16:30:22 -0500, jay@vh213601.truman.edu said:

 jay> A while ago Robbe brought up the Gnome pager race, where scwm
 jay> doesn't mention that it's Gnome-compliant before the pager
 jay> starts up, and so there is a crashing sound and no pager.  I
 jay> still have this problem, has it been fixed for others?  (I tried
 jay> adding the line (SM-register) after (enable-gnome-hints) in
 jay> .scwmrc, I get the same problems with or without it.)  Here's
 jay> what happens (with scwm version date: "Mon Apr 26 01:53:44 EDT
 jay> 1999 -- $Revision: 1.1484 $", but I've had this problem for a
 jay> while): If I start it up after reboot, I get a thin border
 jay> around any gnome panels, but other than that everything works
 jay> great.  If I shut X down and restart it without rebooting,
 jay> however, it complains that I tried to start the gnome-pager
 jay> without a gnome-aware window manager (and helpfully suggests
 jay> that I use enlightenment :) ) and of course no pager.  I can
 jay> restart the pager no problem, once scwm is up and going,
 jay> however.  Another problem that I get it that when I use the
 jay> hidebuttons on the gnome panel to slide it off to the side, the
 jay> cursor turns into a disk.  This disk seems to have the effect of
 jay> turning a window into a window that stays on top, even when it
 jay> loses the focus.  (This is not my default behavior.)  Once the
 jay> mouse is clicked, the cursor becomes normal again.  (The
 jay> hidebutton doesn't cause this problem the first time X is
 jay> started after a reboot.)

 jay> Am I the only one with this problem?

Nope which is why I don't let gnome handle the window manager and my
.xsession looks like:

scwm &
sleep 15
exec gnome-session

This works though it is awfully hackish. :)

If anyone has a better solution I'd love to hear it.

Jim
-- 
@James LewisMoss <dres@ioa.com>         |  Blessed Be!
@    http://www.ioa.com/~dres           |  Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach

From owner-scwm-discuss@mit.edu  Thu Apr 29 01:23:04 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id BAA17034
	for scwm-discuss-outgoing; Thu, 29 Apr 1999 01:23:04 -0400
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id BAA17031
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 29 Apr 1999 01:23:03 -0400
From: jay@vh213601.truman.edu
Received: from vh213601.truman.edu by MIT.EDU with SMTP
	id AA24840; Thu, 29 Apr 99 01:22:48 EDT
Received: (from jay@localhost)
	by vh213601.truman.edu (8.8.7/8.8.7) id AAA03016;
	Thu, 29 Apr 1999 00:24:16 -0500
Date: Thu, 29 Apr 1999 00:24:16 -0500
Message-Id: <199904290524.AAA03016@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
To: scwm-discuss@mit.edu
In-Reply-To: <hh7lqwguj0.fsf@dres.elam.org> (message from James LewisMoss on
	28 Apr 1999 20:06:11 -0400)
Subject: Re: Gnome pager race
References: <199904282130.QAA00934@vh213601.truman.edu> <hh7lqwguj0.fsf@dres.elam.org>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


[Statement of problem deleted]
>  jay> Am I the only one with this problem?
> 
> Nope which is why I don't let gnome handle the window manager and my
> .xsession looks like:
> 
> scwm &
> sleep 15
> exec gnome-session

Neat idea, I hadn't thought of that.
It works, but I get the thin borders on the panels.  I guess that scwm
only puts the borders on the panels if gnome starts after scwm is already
up and going.

Jay

From owner-scwm-discuss@mit.edu  Thu Apr 29 07:54:15 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id HAA19948
	for scwm-discuss-outgoing; Thu, 29 Apr 1999 07:54:15 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id HAA19945
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 29 Apr 1999 07:54:12 -0400
Received: from ppp87.arden.ioa.com by MIT.EDU with SMTP
	id AA23256; Thu, 29 Apr 99 07:53:50 EDT
Received: from dres by dres.elam.org with local (Exim 2.11 #1 (Debian))
	id 10cpLR-0002g2-00; Thu, 29 Apr 1999 07:51:09 -0400
To: jay@vh213601.truman.edu
Cc: scwm-discuss@mit.edu
Subject: Re: Gnome pager race
References: <199904282130.QAA00934@vh213601.truman.edu> <hh7lqwguj0.fsf@dres.elam.org> <199904290524.AAA03016@vh213601.truman.edu>
X-Url: http://www.ioa.com/~dres
X-Organization: Debian/Software in the Public Interest
X-Attribution: Dres
X-Face:  "R3Ms&!j++.]J8DwisON-l7#S<Jw[MsP|I<K?28b~f-<w^vjeAQ-k@$-Az>OloY'V?!^-!2
 9G+7Z7OzClzr2{3e<RFn%f*t%B<*|sT->ni9BN\pzkTp<dg6+lOtI-rg*]Fjgr0n.=ChFX:_+T7fKT
 *Z[}xvSK"jV~QH7*v}xZ,1rlb+Ro`,)#2Econ*g^>}ehc,\AhKBZ\Sf/HVG+p\*?'(&ct2w6Fr:w9m
 o|9R&.D-)1]:&sN-6o'\`7W${f1$2BCy6qSl&._{ILYCZ?X-[?M!](N
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: James LewisMoss <dres@ioa.com>
Date: 29 Apr 1999 07:51:09 -0400
In-Reply-To: jay@vh213601.truman.edu's message of "Thu, 29 Apr 1999 00:24:16 -0500"
Message-Id: <hh7lqvbq6q.fsf@dres.elam.org>
Lines: 36
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>>> On Thu, 29 Apr 1999 00:24:16 -0500, jay@vh213601.truman.edu said:

 jay> [Statement of problem deleted] Am I the only one with this
 jay> problem?
 >>
 >> Nope which is why I don't let gnome handle the window manager and
 >> my .xsession looks like:
 >>
 >> scwm & sleep 15 exec gnome-session

 jay> Neat idea, I hadn't thought of that.  It works, but I get the
 jay> thin borders on the panels.  I guess that scwm only puts the
 jay> borders on the panels if gnome starts after scwm is already up
 jay> and going.

Ah yes.  Get that too.  Adding

(define desk-widget
  (make-style #:focus 'none
              #:use-style std-style
              #:plain-border #t
              #:sticky #t
              #:winlist-skip #t
              #:border-width 0
              #:circulate-skip #t
              #:no-titlebar #t
              ))
(window-style "Panel" #:use-style desk-widget #:auto-raise #t)

to .scwmrc makes the border go away.

Dres
-- 
@James LewisMoss <dres@ioa.com>         |  Blessed Be!
@    http://www.ioa.com/~dres           |  Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach

From owner-scwm-discuss@mit.edu  Thu Apr 29 14:56:44 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA22049
	for scwm-discuss-outgoing; Thu, 29 Apr 1999 14:56:44 -0400
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA22046
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 29 Apr 1999 14:56:14 -0400
From: jay@vh213601.truman.edu
Received: from vh213601.truman.edu by MIT.EDU with SMTP
	id AA17114; Thu, 29 Apr 99 14:55:51 EDT
Received: (from jay@localhost)
	by vh213601.truman.edu (8.8.7/8.8.7) id NAA06996;
	Thu, 29 Apr 1999 13:57:14 -0500
Date: Thu, 29 Apr 1999 13:57:14 -0500
Message-Id: <199904291857.NAA06996@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
To: scwm-discuss@mit.edu
In-Reply-To: <hh7lqvbq6q.fsf@dres.elam.org> (message from James LewisMoss on
	29 Apr 1999 07:51:09 -0400)
Subject: Re: Gnome pager race
References: <199904282130.QAA00934@vh213601.truman.edu> <hh7lqwguj0.fsf@dres.elam.org> <199904290524.AAA03016@vh213601.truman.edu> <hh7lqvbq6q.fsf@dres.elam.org>
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

> 
> Ah yes.  Get that too.  Adding
> 
> (define desk-widget
>   (make-style #:focus 'none
>               #:use-style std-style
>               #:plain-border #t
>               #:sticky #t
>               #:winlist-skip #t
>               #:border-width 0
>               #:circulate-skip #t
>               #:no-titlebar #t
>               ))
> (window-style "Panel" #:use-style desk-widget #:auto-raise #t)
> 
> to .scwmrc makes the border go away.
> 
> Dres

I should have known that. 
Thanks a lot!

Jay

From owner-scwm-discuss@mit.edu  Fri Apr 30 14:15:24 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA30708
	for scwm-discuss-outgoing; Fri, 30 Apr 1999 14:15:24 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA30705
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 30 Apr 1999 14:15:21 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA13893; Fri, 30 Apr 99 14:14:54 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id UAA02264
	for scwm-discuss@mit.edu; Fri, 30 Apr 1999 20:00:15 +0200 (MET DST)
Received: (qmail 1680 invoked by uid 115); 30 Apr 1999 16:55:06 -0000
To: scwm-discuss@mit.edu
Subject: Re: Gnome pager race
References: <199904282130.QAA00934@vh213601.truman.edu> <ws1zh2w1l6.fsf@orcus.priv.at>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 30 Apr 1999 18:55:05 +0200
In-Reply-To: Robert Bihlmeyer's message of "30 Apr 1999 17:49:09 +0200"
Message-Id: <wsyajaujyu.fsf@orcus.priv.at>
Lines: 31
User-Agent: Gnus/5.070083 (Pterodactyl Gnus v0.83) XEmacs/20.4 (Emerald)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On 30 Apr 1999 17:49:09 +0200
>>>>> Robert Bihlmeyer <robbe@orcus.priv.at> said:

>>>>> On Wed, 28 Apr 1999 16:30:22 -0500 jay@vh213601.truman.edu said:

 Jay> If I start it up after reboot, I get a thin border around any
 Jay> gnome panels, but other than that everything works great.

I have this figured out now. It is actually a bug that affects all
windows that use MWM hints to communicate that they want no
border around them (the panel is one example, x11amp another). What
happens is, that the MWM hint handler will correctly set the border
width to zero. But the #:border-width window style is applied
afterwards, so if you have something like 

        (window-style "*" #:border-width 1)

active, this will force the border width to 1.

I'm not sure how to squash this bug. We could make `set-border-width!'
do nothing, if the border status was specified by MWM hints, but this
unnecessary constricts the user (we want her to be able to override
any defaults). This is all a mess.

        Robbe

-- 
Robert Bihlmeyer       reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>    <http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Fri Apr 30 14:15:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id OAA30713
	for scwm-discuss-outgoing; Fri, 30 Apr 1999 14:15:29 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id OAA30710
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 30 Apr 1999 14:15:28 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA13926; Fri, 30 Apr 99 14:14:56 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id UAA02263
	for scwm-discuss@mit.edu; Fri, 30 Apr 1999 20:00:13 +0200 (MET DST)
Received: (qmail 1478 invoked by uid 115); 30 Apr 1999 15:49:10 -0000
To: scwm-discuss@mit.edu
Subject: Re: Gnome pager race
References: <199904282130.QAA00934@vh213601.truman.edu>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 30 Apr 1999 17:49:09 +0200
In-Reply-To: jay@vh213601.truman.edu's message of "Wed, 28 Apr 1999 16:30:22 -0500"
Message-Id: <ws1zh2w1l6.fsf@orcus.priv.at>
Lines: 55
User-Agent: Gnus/5.070083 (Pterodactyl Gnus v0.83) XEmacs/20.4 (Emerald)
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


--=-=-=

Hi,

>>>>> On Wed, 28 Apr 1999 16:30:22 -0500
>>>>> jay@vh213601.truman.edu said:

 Jay> A while ago Robbe brought up the Gnome pager race, where scwm
 Jay> doesn't mention that it's Gnome-compliant before the pager
 Jay> starts up, and so there is a crashing sound and no pager. I
 Jay> still have this problem, has it been fixed for others?

Works here.

 Jay> (I tried adding the line (SM-register) after
 Jay> (enable-gnome-hints) in .scwmrc, [...]

That's what I use (see "scwm/sample.scwmrc/robbe.scwmrc"). What should
happen: scwm is run before the panel, and the panel (and thus the
pager) will not start loading until scwm has registered. This is
clearly noticable, since scwm takes its time to boot. If the panel
window pops up very fast, there's something amiss.

Please start "session-properties-capplet" and check the "Order". scwm
should have 30, the panel 40 in this column. Only *-properties stuff
should occur before scwm.

 Jay> If I start it up after reboot, I get a thin border
 Jay> around any gnome panels, but other than that everything works
 Jay> great.

Are the MWM hints set correctly? Run "xprop" on this window, and
report what "_MOTIF_WM_HINTS" is set to. (Or, if you want to get
spiffy, try `show-X-properties' from the (app scwm flux) module.)

 Jay> Another problem that I get it that when I use the
 Jay> hidebuttons on the gnome panel to slide it off to the side, the
 Jay> cursor turns into a disk. This disk seems to have the effect of
 Jay> turning a window into a window that stays on top, even when it
 Jay> loses the focus.

This looks like something calling `(keep-on-top #f)'. I'm suspecting
`gnome-update-layer'. Please try this patch, and watch for a
backtrace.


--=-=-=
Content-Disposition: attachment

Index: gnome-hints.scm
===================================================================
RCS file: /usr/src/cvs/scwm/scheme/gnome-hints.scm,v
retrieving revision 1.3
diff -u -u -r1.3 gnome-hints.scm
--- gnome-hints.scm	1999/04/08 07:28:57	1.3
+++ gnome-hints.scm	1999/04/30 15:46:11
@@ -334,6 +334,8 @@
 
 
 (define (gnome-update-layer win new-layer)
+  (if (not win)
+      (error "Null window"))
   (if (> new-layer 4)
       (if (not (kept-on-top? win))
 	  (keep-on-top win))

--=-=-=


 Jay> Am I the only one with this problem?

I fear that there are not that many people using scwm with gnome.

        Robbe

-- 
Robert Bihlmeyer       reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>    <http://stud2.tuwien.ac.at/~e9426626/sig.html>

--=-=-=--

From owner-scwm-discuss@mit.edu  Fri Apr 30 15:10:54 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA31162
	for scwm-discuss-outgoing; Fri, 30 Apr 1999 15:10:54 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA31159
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 30 Apr 1999 15:10:52 -0400
Received: from rex.eecs.tulane.edu by MIT.EDU with SMTP
	id AA29968; Fri, 30 Apr 99 15:10:13 EDT
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for <scwm-discuss@mit.edu>
          Fri, 30 Apr 1999 14:10:00 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Fri, 30 Apr 1999 14:10:02 -0500 (CDT)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14122.10.197769.556833@juno>
Date: Fri, 30 Apr 1999 14:10:02 -0500 (CDT)
From: Eric Beuscher <beuscher@eecs.tulane.edu>
To: scwm-discuss@mit.edu
Subject: Re: Gnome pager race
In-Reply-To: <ws1zh2w1l6.fsf@orcus.priv.at>
References: <199904282130.QAA00934@vh213601.truman.edu>
	<ws1zh2w1l6.fsf@orcus.priv.at>
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


>  Jay> Am I the only one with this problem?
> 
> I fear that there are not that many people using scwm with gnome.

that is probably right considering what a royal pain in the ass
it was to install/upgrade all the right packages to get gnome
working.

i finally got all of it installed and was planning to play w/ it,
except end of the semester duties have called

maybe in a couple of weeks.   i do really want to see if the 
gnome pager is better/more accessible than the fvwm2pager.   and
while i am fairly anti-mouse, i would like to see if gnome panel
could be of use (w/ some additional key-bindings of course)


-- 
eric

From owner-scwm-discuss@mit.edu  Fri Apr 30 19:36:24 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA32447
	for scwm-discuss-outgoing; Fri, 30 Apr 1999 19:36:24 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA32444
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 30 Apr 1999 19:36:21 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA10960; Fri, 30 Apr 99 19:35:53 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA17291; Fri, 30 Apr 1999 16:35:43 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@mit.edu
Subject: Re: Gnome pager race
References: <199904282130.QAA00934@vh213601.truman.edu> <ws1zh2w1l6.fsf@orcus.priv.at> <wsyajaujyu.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Apr 1999 16:35:43 -0700
In-Reply-To: Robert Bihlmeyer's message of "30 Apr 1999 18:55:05 +0200"
Message-Id: <qrrso9hy94g.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

>  Jay> If I start it up after reboot, I get a thin border around any
>  Jay> gnome panels, but other than that everything works great.
> 
> I have this figured out now. It is actually a bug that affects all
> windows that use MWM hints to communicate that they want no
> border around them (the panel is one example, x11amp another). What
> happens is, that the MWM hint handler will correctly set the border
> width to zero. But the #:border-width window style is applied
> afterwards, so if you have something like 
> 
>         (window-style "*" #:border-width 1)
> 
> active, this will force the border width to 1.
> 
> I'm not sure how to squash this bug. We could make `set-border-width!'
> do nothing, if the border status was specified by MWM hints, but this
> unnecessary constricts the user (we want her to be able to override
> any defaults). This is all a mess.

We could have #:default-border-width that has a weaker precedence than
the MWM hints.  We may have to do this for other options, too.

Greg

From owner-scwm-discuss@mit.edu  Sat May  1 02:04:39 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA02580
	for scwm-discuss-outgoing; Sat, 1 May 1999 02:04:39 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id CAA02577
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 1 May 1999 02:04:37 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA03050; Sat, 1 May 99 02:04:05 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id XAA18306; Fri, 30 Apr 1999 23:03:59 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@mit.edu>
Subject: Re: sticking window
References: <19990422180822.A11680@youkaidi.irisa.fr> <qrrpv4w9v24.fsf@elwha.cs.washington.edu> <19990423093153.A15394@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Apr 1999 23:03:59 -0700
In-Reply-To: Hubert Canon's message of "Fri, 23 Apr 1999 09:31:54 +0200"
Message-Id: <qrr676d72cw.fsf@elwha.cs.washington.edu>
Lines: 31
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Greg Badros icrivait :
> > Hubert Canon <Hubert.Canon@irisa.fr> writes:
> > > Some strange feature :
> > > 
> > > When I am in the second viewport : (set-viewport-position! (%x 100) 0)
> > > and I make a window sticky : 
> > > (menuitem "(Un)Stick" #:action toggle-stick)
> > > 
> > > then my window get in the third viewport. In fact, it is in the next
> > > viewport, because the geometry of sticky windows seems to be
> > > broken. The window should remain in the same position without moving
> > > into another viewport.
> > 
> > I've seen this occasionally happen, too, but haven't had time to be able 
> > to consistently reproduce it.  Can you?
> 
> You are right. This morning (same session) it works perfectly as
> expected.

I think I've fixed this now-- it was obvious once I looked at the code.
The problem was for windows that had their upper-left corner off of the
current viewport (even if by only one pixel).  There are some off by 1
errors in the clever placement code, I believe, which puts windows just
barely in the wrong spot.  Now those windows stick and unstick just
fine, but we need to get them placed better in general.

Thanks for the bug report.

Greg

From owner-scwm-discuss@mit.edu  Sat May  1 19:16:41 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA10289
	for scwm-discuss-outgoing; Sat, 1 May 1999 19:16:41 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id TAA10286
	for <scwm-discuss@vicarious-existence.mit.edu>; Sat, 1 May 1999 19:16:38 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA19471; Sat, 1 May 1999 16:15:49 -0700 (PDT)
To: Marius Vollmer <mvo@zagadka.ping.de>
Cc: scwm-discuss@mit.edu
Subject: guile-gtk and window conversions
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 May 1999 16:15:49 -0700
Message-ID: <qrriuacmlei.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi Marius,

Here's another request for guile-gtk.  We would like to be able to write:

(gtk-window->scwm-window win)

and get a handle to the Scwm window object, given the GTk window
object.  The simplest way to do this is through X window IDs (similar to 
my gdk-leader-window-id patch).  This works for me, but I'm hoping to
suggestions for generalizations:

;; for gtk-1.x.defs
(define-func gtk_window_get_window_id
  uint
  ((GtkWindow window)))


/* for gtk-support.c */
guint32
gtk_window_get_window_id(GtkWindow *window)
{
  GdkWindow *win = GTK_WIDGET(window)->window;
  GdkWindowPrivate *private = (GdkWindowPrivate*) win;
  return (guint32) private->xwindow;
}

Then writing gtk-window->scwmwindow is just
 (id->window (gtk-window-get-window-id win))

As with the gdk leader window, it makes sense to expose the window ids
externally since there are numerous other applications that use them as
a means of talking about specific windows.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Sun May  2 02:40:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id CAA12992
	for scwm-discuss-outgoing; Sun, 2 May 1999 02:40:29 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from barrow.uwaterloo.ca (barrow.uwaterloo.ca [129.97.140.32])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id CAA12989
	for <scwm-discuss@vicarious-existence.mit.edu>; Sun, 2 May 1999 02:40:25 -0400
Received: from thing-one.localdomain (jrm@cnts6p38.uwaterloo.ca [129.97.13.38])
	by barrow.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id CAA31137
	for <scwm-discuss@vicarious-existence.mit.edu>; Sun, 2 May 1999 02:39:38 -0400 (EDT)
Received: (from jrm@localhost)
	by thing-one.localdomain (8.8.8/8.8.8) id CAA01717;
	Sun, 2 May 1999 02:40:23 -0400
Date: Sun, 2 May 1999 02:40:23 -0400
From: John MacPhail <jrmacpha@barrow.uwaterloo.ca>
Message-Id: <199905020640.CAA01717@thing-one.localdomain>
To: jrm@thing-one.localdomain, scwm-discuss@mit.edu
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

From: John MacPhail <jrm@thing-one>
To: scwm-discuss@vicarious-existence.mit.edu
Subject: newbie questions

After downloading scwm-0.9-2.ppc.rpm a week ago, I was delighted to
find that it works well on my MkLinux DR3 system.  (Suggestion: the
SCWM home web page should note that this rpm file is compatible
with LinuxPPC R4, but _not_ R5.)  I copied system.scwmrc to ~/.scwmrc, 
edited the paths, added a couple of lines to my .emacs, and it all looks 
good.  The tutorial introduction was very helpful.

One thing I want is for SCWM to display superuser windows differently.
This should include not only xterms launched in superuser mode, but also
xterms within which `su' has been successfully invoked.  (This is
important enough to be worth, for example, invoking `ps' every minute
or so.  For concreteness, suppose supervisor windows without the focus
should have red frames, whereas a supervisor window with the focus has
an orange frame.)  Has anyone done this?  If not, how would you do it?

Less important, but also convenient, would be for scwm to change the
display of communications-related windows (e.g., in which lynx is running)
in case my PPP connection dies.  Suggestions?

I run the GNOME panel, but without session management.  That is, my 
.xinitrc calls `panel &' but I do not use `gnome-session'.  This is
GNOME 1.0.1, not exactly cutting edge.  If I try to use the GNOME
pager, it just exits with some joke about Enlightenment.  Losing that
pager causes no immediate grief -- in the bad old days a week ago when 
I was using Enlightenment, the GNOME pager would not let me move windows,
just select them -- but I would like a properly working pager.
Suggestions?

Finally, I want to raise some questions about hard copies of .scm files.
(Context: I am not afraid of plain TeX, having just written my master's
thesis in it.)  I fiddled a bit with tgrind, and the output was a lot 
better than just printing a .scm file as text.  How would you pretty-
print someone else's .scm file, with slatex or what?  I do not want to 
lose the flexibility of tgrind, which is convenient for printing so many 
other things such as shell scripts.  But is slatex more flexible?  Also, 
the talk about DocBook makes me nervous.  Will the source files be 
marked up in ways that look ugly in tgrind or slatex?  Is there a filter 
lying around that will clean out the uglier markup?  Or is DocBook general 
enough to deal nicely with things like shell scripts that were written 
without DocBook in mind?

John
-- 
John MacPhail                   grad student at U.Waterloo
jrmacpha@barrow.uwaterloo.ca          sneaker net  MC5136A
-----------------------------------------------------------

From owner-scwm-discuss@mit.edu  Sun May  2 03:41:47 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA14710
	for scwm-discuss-outgoing; Sun, 2 May 1999 03:41:47 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA14707
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 2 May 1999 03:41:45 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA07773; Sun, 2 May 99 03:40:58 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id AAA19884; Sun, 2 May 1999 00:40:50 -0700 (PDT)
To: John MacPhail <jrmacpha@barrow.uwaterloo.ca>
Cc: jrm@thing-one.localdomain, scwm-discuss@mit.edu
Subject: Re: none
References: <199905020640.CAA01717@thing-one.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 May 1999 00:40:50 -0700
In-Reply-To: John MacPhail's message of "Sun, 2 May 1999 02:40:23 -0400"
Message-Id: <qrrg15fly0t.fsf@elwha.cs.washington.edu>
Lines: 101
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

John MacPhail <jrmacpha@barrow.uwaterloo.ca> writes:

> From: John MacPhail <jrm@thing-one>
> To: scwm-discuss@vicarious-existence.mit.edu
> Subject: newbie questions
> 
> After downloading scwm-0.9-2.ppc.rpm a week ago, I was delighted to
> find that it works well on my MkLinux DR3 system.  (Suggestion: the
> SCWM home web page should note that this rpm file is compatible
> with LinuxPPC R4, but _not_ R5.)  I copied system.scwmrc to ~/.scwmrc, 
> edited the paths, added a couple of lines to my .emacs, and it all looks 
> good.  The tutorial introduction was very helpful.

Glad to hear you've had a good experience so far.  Especially glad that
the tutorial was helpful as I've not gotten much feedback on it so far.

I'll try to update the page when I've time-- thanks for the suggestion!

> One thing I want is for SCWM to display superuser windows differently.
> This should include not only xterms launched in superuser mode, but also
> xterms within which `su' has been successfully invoked.  (This is
> important enough to be worth, for example, invoking `ps' every minute
> or so.  For concreteness, suppose supervisor windows without the focus
> should have red frames, whereas a supervisor window with the focus has
> an orange frame.)  Has anyone done this?  If not, how would you do it?

Here's a quickie shell script to show one approach:

#!/bin/sh -
# This relies on $WINDOWID being set by Xterm as the
# man page says it does
# e.g., root shells could have:
# scwm-change-style '#:highlight-bg "red" #:highlight-fg "black"' 

scwmexec "(window-style  (lambda (x) (eq? (window-id x) $WINDOWID)) $*)"

#END

Then you could just have your superuser startup script do this (as long
as you're willing to run scwmexec as root -- it's very small so you can
look for possible problems... the code executing inside scwm loses root
priveleges obviously).

> 
> Less important, but also convenient, would be for scwm to change the
> display of communications-related windows (e.g., in which lynx is running)
> in case my PPP connection dies.  Suggestions?

All you need to do is figure out a way to communicate the state change
with Scwm.... the possibilities are endless, really, but I don't use
lynx so I'm not sure about specifics for it.

> I run the GNOME panel, but without session management.  That is, my 
> .xinitrc calls `panel &' but I do not use `gnome-session'.  This is
> GNOME 1.0.1, not exactly cutting edge.  If I try to use the GNOME
> pager, it just exits with some joke about Enlightenment.  Losing that
> pager causes no immediate grief -- in the bad old days a week ago when 
> I was using Enlightenment, the GNOME pager would not let me move windows,
> just select them -- but I would like a properly working pager.
> Suggestions?

The FvwmPager works reasonably well with Scwm.  It's what I use.  

> 
> Finally, I want to raise some questions about hard copies of .scm files.
> (Context: I am not afraid of plain TeX, having just written my master's
> thesis in it.)  I fiddled a bit with tgrind, and the output was a lot 
> better than just printing a .scm file as text.  How would you pretty-
> print someone else's .scm file, with slatex or what?  I do not want to 

I've never used slatex... I use a2ps and it's pretty reasonable.

It'd be great to make a2ps more guile-aware-- actually I just now added a
bunch of keywords to my scheme.ssh file so the output looks even
better.  I'll put this on the web page sometime, but the changes are
pretty obvious.  Anyone else who uses a2ps interested in maintaining
it?

I'm actually pretty interested in the general question of making scheme
more readable on a static medium (e.g., paper).  I find it very
difficult to pour over Scheme code w/o being able to have the dynamic
parentheses bouncing happening.  In my slides, I use different colors on 
the parens to help readers match parens.  I've gotta believe this issue
has been studied, but haven't looked for it yet.  Any pointers anyone?


> lose the flexibility of tgrind, which is convenient for printing so many 
> other things such as shell scripts.  But is slatex more flexible?  Also, 
> the talk about DocBook makes me nervous.  Will the source files be 
> marked up in ways that look ugly in tgrind or slatex?  Is there a filter 
> lying around that will clean out the uglier markup?  Or is DocBook general 
> enough to deal nicely with things like shell scripts that were written 
> without DocBook in mind?

The source files are marked up "naturally" the way one would in an email 
to try to be unambiguous.  A perl script then writes the DocBook
source.  It could target other formats, too, if the DocBook->Foo
translation didn't exist (e.g., info) or just plain stunk.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Sun May  2 04:43:29 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id EAA15269
	for scwm-discuss-outgoing; Sun, 2 May 1999 04:43:29 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id EAA15266
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 2 May 1999 04:43:28 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA03367; Sun, 2 May 99 04:42:45 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id BAA20029; Sun, 2 May 1999 01:42:39 -0700 (PDT)
To: John MacPhail <jrmacpha@barrow.uwaterloo.ca>
Cc: jrm@thing-one.localdomain, scwm-discuss@mit.edu
Subject: Re: none
References: <199905020640.CAA01717@thing-one.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 May 1999 01:42:39 -0700
In-Reply-To: John MacPhail's message of "Sun, 2 May 1999 02:40:23 -0400"
Message-Id: <qrr90b7lv5s.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I just added a #:continually option to flash-window so that this
scripts now let an xterm call attention to itself.  I also added some
missing BroadcastConfig calls so that the pager correctly shows the
window blinking.

#!/bin/sh -
# This relies on $WINDOWID being set by Xterm as the
# man page says it does
# e.g., root shells could have:
if [ x"stop" = x"$1" ]; then
   shift
   scwmexec "(stop-flashing-window (id->window $WINDOWID))"
else
   scwmexec "(flash-window (id->window $WINDOWID) #:continually #t "$*")"
fi


Greg

From owner-scwm-discuss@mit.edu  Sun May  2 10:36:04 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id KAA16858
	for scwm-discuss-outgoing; Sun, 2 May 1999 10:36:04 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id KAA16852
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 2 May 1999 10:35:43 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA23059; Sun, 2 May 99 10:34:52 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id QAA14937
	for scwm-discuss@mit.edu; Sun, 2 May 1999 16:20:47 +0200 (MET DST)
Received: (qmail 817 invoked by uid 115); 2 May 1999 11:24:04 -0000
To: scwm-discuss@mit.edu
Subject: Re: Gnome pager race
References: <199904282130.QAA00934@vh213601.truman.edu> <ws1zh2w1l6.fsf@orcus.priv.at> <14122.10.197769.556833@juno>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 02 May 1999 13:24:03 +0200
In-Reply-To: Eric Beuscher's message of "Fri, 30 Apr 1999 14:10:02 -0500 (CDT)"
Message-Id: <wsg15fk94c.fsf@orcus.priv.at>
Lines: 33
User-Agent: Gnus/5.070083 (Pterodactyl Gnus v0.83) XEmacs/20.4 (Emerald)
X-Now-Playing: Sonic Youth - Starpower
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hi,

>>>>> On Fri, 30 Apr 1999 14:10:02 -0500 (CDT)
>>>>> Eric Beuscher <beuscher@eecs.tulane.edu> said:

 Eric> that is probably right considering what a royal pain in the ass
 Eric> it was to install/upgrade all the right packages to get gnome
 Eric> working.

True. But Gnome will probably get more popular as more distributions
including it are shpipped.

 Eric> i do really want to see if the gnome pager is better/more
 Eric> accessible than the fvwm2pager.

It isn't. Seems like nobody feels the need for a decent pager. I for
one, do not ... I just try to keep scwm compatible.

 Eric> and while i am fairly anti-mouse, i would like to see if gnome
 Eric> panel could be of use (w/ some additional key-bindings of
 Eric> course)

Hmm, the panel does not seem to support keyboard interaction at all.
That's user-friendliness for you ...

When I lost my panel to a segv some weeks ago (and, due to
session-management, it never reappeared), I did not miss it much.

        Robbe

-- 
Robert Bihlmeyer       reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>    <http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Sun May  2 11:34:58 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA17285
	for scwm-discuss-outgoing; Sun, 2 May 1999 11:34:58 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA17282
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 2 May 1999 11:34:57 -0400
Received: from 209-122-231-250.s250.tnt4.sbo.ma.dialup.rcn.com by MIT.EDU with SMTP
	id AA29157; Sun, 2 May 99 11:34:10 EDT
Received: (from mstx@localhost)
	by 209-122-232-96.s350.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id HAA26817;
	Sun, 2 May 1999 07:59:44 -0400
To: John MacPhail <jrmacpha@barrow.uwaterloo.ca>
Cc: jrm@thing-one.localdomain, scwm-discuss@mit.edu
Subject: Re: none
References: <199905020640.CAA01717@thing-one.localdomain>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 02 May 1999 07:59:42 -0400
In-Reply-To: John MacPhail's message of "Sun, 2 May 1999 02:40:23 -0400"
Message-Id: <m31zgzsmvl.fsf@209-122-232-96.s350.tnt4.sbo.ma.dialup.rcn.com>
Lines: 62
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

John MacPhail <jrmacpha@barrow.uwaterloo.ca> writes:

> One thing I want is for SCWM to display superuser windows differently.
> This should include not only xterms launched in superuser mode, but also
> xterms within which `su' has been successfully invoked.  (This is
> important enough to be worth, for example, invoking `ps' every minute
> or so.  For concreteness, suppose supervisor windows without the focus
> should have red frames, whereas a supervisor window with the focus has
> an orange frame.)  Has anyone done this?  If not, how would you do it?
> 

I have all accounts I usse on all machines I use (both superuser and
personal) set up to set the titlebar to <username>@<hostname>. To make
sure things work properly even when I exit telnets or su's and such, I
set the `precmd' alias in tcsh to a command that echoes the
appropriate title-setting escape code. The bash equivalent would be to
set the `PROMPT_COMMNAD' enviornment variable.

You could combine this with Greg's suggestion for how to change the
window style from within an xterm shell using scwmexec, to get your
windows to be orange if and only the current foreground shell in the
xterm is a root shell. For windows that are not xterms, this may not
generaly be possible, as there isn't necessarily a way to map between
process ID and window IDs of windows created by that process.


> Less important, but also convenient, would be for scwm to change the
> display of communications-related windows (e.g., in which lynx is running)
> in case my PPP connection dies.  Suggestions?

You could define an alias or script for lynx which would use scwmexec
to set a special propert on the window. I am not sure what a good way
to detect the PPP connection dying is, but if you know how to detect
that condition generally, making scwm react to it should not be hard.

> I run the GNOME panel, but without session management.  That is, my 
> .xinitrc calls `panel &' but I do not use `gnome-session'.  This is
> GNOME 1.0.1, not exactly cutting edge.  If I try to use the GNOME
> pager, it just exits with some joke about Enlightenment.  Losing that
> pager causes no immediate grief -- in the bad old days a week ago when 
> I was using Enlightenment, the GNOME pager would not let me move windows,
> just select them -- but I would like a properly working pager.
> Suggestions?

Unfortunately, only scwm snapshots later than 0.9 provide full support
for GNOME hints. I guess we are well past due for release, which is
mostly my fault, as the de facto release manager, for not being
available to work on such things.

If someone else wanted to put out an interim release (e.g. Greg), I
would not be opposed. However, I am in the process of setting up a new
machine to host scwm services where I'll be able to add all sorts of
nice things like a bug tracker, searchable list archives, and so
on. The new machine will be given a hostname of www.scwm.net (scwm.org
being taken unfortunately) as soon as I can register that domain, so
future machine changes should be pretty transparent, other than the
downtime.

I think it might be good to have the bug tracker up at least before
making another release.

 - Maciej

From owner-scwm-discuss@mit.edu  Sun May  2 17:40:19 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA19078
	for scwm-discuss-outgoing; Sun, 2 May 1999 17:40:19 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA19075
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 2 May 1999 17:40:17 -0400
Received: from mailgw1.netvision.net.il by MIT.EDU with SMTP
	id AA13606; Sun, 2 May 99 17:39:28 EDT
Received: from localhost (mail@ts025p4.tlv.netvision.net.il [199.203.201.204])
	by mailgw1.netvision.net.il (8.9.3/8.9.3) with SMTP id AAA14267
	for <scwm-discuss@mit.edu>; Mon, 3 May 1999 00:39:19 +0300
Received: from cmm by localhost with local (Exim 1.62 #1)
	id 10e3x5-00008R-00 (Debian); Sun, 2 May 1999 23:39:07 +0200
To: scwm-discuss@mit.edu
Subject: Re: Gnome pager race (and a solution, sort of).
References: <199904282130.QAA00934@vh213601.truman.edu> <ws1zh2w1l6.fsf@orcus.priv.at> <14122.10.197769.556833@juno> <wsg15fk94c.fsf@orcus.priv.at>
Reply-To: Michael Livshin <mike@olan.com>
From: Michael Livshin <mike@olan.com>
In-Reply-To: Robert Bihlmeyer's message of "02 May 1999 13:24:03 +0200"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 02 May 1999 23:39:07 +0200
Message-Id: <85vhebb18k.fsf_-_@alucard.one.way>
Lines: 51
X-Mailer: Gnus v5.6.43/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Given:

1. I want the Gnome panel, with the pager (for the cute window
listing, mostly).

2. I don't want the session manager.

3. I consider the (scwm&; sleep <fixnum>; panel) solution inelegant.

Solution:

Use the gnome session manager, but have it always run the default
session.  Suitably edited ;).

Here's how my .xsession looks:

#! /bin/sh -f
<stuff to run>
# Fool the gnome session manager:
cp ${HOME}/.gnome/session.null ${HOME}/.gnome/session
exec gnome-session --disable-sound

And here is ~/.gnome/session.null, in its entirety (it can be used as
is.  All it does is run scwm and the panel):

[Default]
0,id=default0
0,Priority=0
0,RestartCommand=gnome-smproxy --sm-client-id default0
1,id=default1
1,Priority=30
1,RestartCommand=scwm --client-id default1
2,id=default2
2,Priority=40
2,RestartCommand=panel --sm-client-id default2
num_clients=3

[Chooser]
0,id=chooser0
0,RestartCommand=session-properties-capplet --init-session-settings --sm-client-id chooser0
num_clients=1

[Warner]
0,id=warner0
0,RestartCommand=session-properties-capplet --init-session-settings --warner --sm-client-id warner0
num_clients=1

[__gsm__]
Current Session=Default


From owner-scwm-discuss@mit.edu  Sun May  2 20:29:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA19969
	for scwm-discuss-outgoing; Sun, 2 May 1999 20:29:07 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA19966
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 2 May 1999 20:29:05 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA10456; Sun, 2 May 99 20:28:15 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA20688; Sun, 2 May 1999 17:28:08 -0700 (PDT)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: John MacPhail <jrmacpha@barrow.uwaterloo.ca>, scwm-discuss@mit.edu
Subject: Re: none
References: <199905020640.CAA01717@thing-one.localdomain> <m31zgzsmvl.fsf@209-122-232-96.s350.tnt4.sbo.ma.dialup.rcn.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 May 1999 17:28:08 -0700
In-Reply-To: Maciej Stachowiak's message of "02 May 1999 07:59:42 -0400"
Message-Id: <qrrlnf7hu93.fsf@elwha.cs.washington.edu>
Lines: 34
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

<snip>

> Unfortunately, only scwm snapshots later than 0.9 provide full support
> for GNOME hints. I guess we are well past due for release, which is
> mostly my fault, as the de facto release manager, for not being
> available to work on such things.
> 
> If someone else wanted to put out an interim release (e.g. Greg), I
> would not be opposed. However, I am in the process of setting up a new
> machine to host scwm services where I'll be able to add all sorts of
> nice things like a bug tracker, searchable list archives, and so
> on. The new machine will be given a hostname of www.scwm.net (scwm.org
> being taken unfortunately) as soon as I can register that domain, so
> future machine changes should be pretty transparent, other than the
> downtime.
> 
> I think it might be good to have the bug tracker up at least before
> making another release.

Agreed... I've considered making a new release many times over the last
month, but because of some stability issues that I'd been troubled by,
kept putting it off.  I think I fixed the biggish race condition that
was causing 99% of my (infrequent but severe) headaches.  

Now my time is too short-- I have a paper deadline this Friday, and I
leave Australia on Monday and will be at conferences much of May, so I
won't be able to get much done until June 1.

In any case, the bug tracker will definitely be really useful as we
approach 1.0.

Greg

From owner-scwm-discuss@mit.edu  Mon May  3 20:36:15 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA32124
	for scwm-discuss-outgoing; Mon, 3 May 1999 20:36:15 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA32121
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 3 May 1999 20:36:12 -0400
Received: from relay8.Austria.EU.net by MIT.EDU with SMTP
	id AA17928; Mon, 3 May 99 20:35:03 EDT
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.1/8.9.1) with UUCP id CAA28391
	for scwm-discuss@mit.edu; Tue, 4 May 1999 02:20:20 +0200 (MET DST)
Received: (qmail 1258 invoked by uid 115); 3 May 1999 23:22:29 -0000
To: SCWM discussion list <scwm-discuss@mit.edu>
Subject: Wanna change the 'do of your windows?
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 04 May 1999 01:22:16 +0200
Message-Id: <wszp3ld9hz.fsf@orcus.priv.at>
Lines: 56
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

... use the Stylist[TM]!

The latest byproduct of my quest to half-implement features rather
than squash bugs.

It's basically a GTK interface over the window-style system. How I
envision the usage:

You notice that some of those windows that live on your desktop need
another color, should be window-shaded on startup, or sticky, or
whatever. Instead of the old, trusted way (point editor at .scwmrc,
get window class/name/title with xprop, hand-craft a window-style,
unsuccessfully query the documentation for the right keyword, end up
reading style.scm directly, ...) you activate the style menu (from a
winops menu, for example). You decide that all windows of the same
class should be affected and select the right entry from the menu.
Windows matching your description are highlighted, and the Stylist[TM]
appears. Clickety-click, a new background color is selected, let's
change the hightlight background to a matching hue, trimming the
border width for the thing would be nice, too. Select Ok, and the
changes are applied to all matching windows. A `window-style' form to
the same effect is written to your .scwmrc automatically, if you wish.

A rough cut at that functionality is in scheme/stylist.scm in the
newest snapshots (it's not even a module yet). It's ugly, it's
probably not even faster than editing .scwmrc. Why should we have
this? Because we can.

My main concern at the moment is how to make it expand to new styles
semi-automatically. A way to define styles with the necessary
information would be nice, i.e. I need (in order of priority) a
getter, a short name, a widget constructor, widget-value->style-value
converter, help text.

It does no real persistence yet. I can output the window-style
statment, but things like colors still come out `#<color "...">'.
Greg, IIRC you have done some work in this direction for the
preferences stuff. What's the status here?

The style options should be sorted better - at the moment I simply
pile them all up in one window. There are about 50 options in scwm's
standard scm files ...

Finally, we kidnap some graphic artists, spiff it up with a bit of
artwork, and the wmaker guys can make their testament... Am I getting
carried away, or is the time?

Ah, yes, lest I forget: I'm very much interested in your comments -
about the theoretical (as presented here), and the practical (if you get 
scheme/stylist.scm to work) side of the issue.

        Robbe

-- 
Robert Bihlmeyer       reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>    <http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@mit.edu  Mon May  3 20:48:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id UAA32246
	for scwm-discuss-outgoing; Mon, 3 May 1999 20:48:38 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id UAA32243
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Mon, 3 May 1999 20:48:37 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA01380; Mon, 3 May 99 20:47:36 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA23637; Mon, 3 May 1999 17:47:19 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: SCWM discussion list <scwm-discuss@mit.edu>
Subject: Re: Wanna change the 'do of your windows?
References: <wszp3ld9hz.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 03 May 1999 17:47:18 -0700
In-Reply-To: Robert Bihlmeyer's message of "04 May 1999 01:22:16 +0200"
Message-Id: <qrrg15diru1.fsf@elwha.cs.washington.edu>
Lines: 69
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> ... use the Stylist[TM]!
> 
> The latest byproduct of my quest to half-implement features rather
> than squash bugs.
> 
> It's basically a GTK interface over the window-style system. How I
> envision the usage:

<snip>

This is great-- it was on my list of TODO items after seeing
WindowMaker's rather nifty similar feature.  Glad to see this starting
to take shape!


> My main concern at the moment is how to make it expand to new styles
> semi-automatically. A way to define styles with the necessary
> information would be nice, i.e. I need (in order of priority) a
> getter, a short name, a widget constructor, widget-value->style-value
> converter, help text.

I was planning on having a define-window-style-preference macro similar
to my other preferences related syntactic form for this.  It'd
encapsulate all the useful information in one place and have the window
style menu be dynamically generated based on the window-styles that exist.

> It does no real persistence yet. I can output the window-style
> statment, but things like colors still come out `#<color "...">'.
> Greg, IIRC you have done some work in this direction for the
> preferences stuff. What's the status here?

My preferences are saved and loaded flawlessly -- but there is still the 
module symbol issue that I work-around by just using virtually all the
modules.

> 
> The style options should be sorted better - at the moment I simply
> pile them all up in one window. There are about 50 options in scwm's
> standard scm files ...

A #:group arg to the macro is a nice hint for separating the options
into nice panels, as I did for the preferences stuff.

> 
> Finally, we kidnap some graphic artists, spiff it up with a bit of
> artwork, and the wmaker guys can make their testament... Am I getting
> carried away, or is the time?

Thanks to Toby Sargeant and my work on the PropList module, we can
actually read WindowMaker property list files (sort of like a decent,
plain-text registry) so mapping from WM's notion of styles to our is all 
that is necessary to actually use the WM WPrefs application for
preferences, and we could probably do the same with its window style
dialogs.  I'm not necessarily encouraging it, but the low level support
is there if we want to do it.

> Ah, yes, lest I forget: I'm very much interested in your comments -
> about the theoretical (as presented here), and the practical (if you get 
> scheme/stylist.scm to work) side of the issue.

I think it's important that we integrate this nicely with the
preferences support.  I don't have time to look at the code or try it
right now, but it sounds like it's definitely going in an interesting
direction!

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Wed May  5 09:03:27 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id JAA13483
	for scwm-discuss-outgoing; Wed, 5 May 1999 09:03:27 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id JAA13480
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 5 May 1999 09:03:24 -0400
Received: from dialup-t2-199.Melbourne.netspace.net.au by MIT.EDU with SMTP
	id AA13631; Wed, 5 May 99 09:01:51 EDT
Received: from localhost (1171 bytes) by zappa.
	via sendmail with P:stdio/R:internet_hosts/T:smtp
	(sender: <ggt>) (ident <ggt> using unix)
	id <m10f13l-002SvbC@zappa.>
	for <scwm-discuss@mit.edu>; Wed, 5 May 1999 22:45:57 +1000 (EST)
	(Smail-3.2.0.101 1997-Dec-17 #1 built 1998-Aug-25)
Message-Id: <m10f13l-002SvbC@zappa.>
Date: Wed, 5 May 1999 22:45:57 +1000 (EST)
From: ggt@netspace.net.au (Glenn Trigg)
X-Mailer: Privtool [V0.90 Beta GT002] (i586-pc-linux-gnu/Motif)
Reply-To: ggt@linuxfan.com
Subject: An interesting "feature"
To: scwm-discuss@mit.edu
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Here's something that is probably not the intended behaviour.

When my scwm starts is starts a ScwmButtons and a FvwmWharf, that's all.
These have the following styles:

(define desk-widget
  (make-style #:plain-border #t #:sticky #t #:winlist-skip #t
	      #:border-width 3 #:focus 'none))
(window-style (title-match?? "MiniButtons") #:use-style desk-widget
	      #:no-titlebar #t #:border-width 0
	      #:placement-proc (lambda (win)
				 (move-to 870 1 win))
(window-style (title-match?? "Fvwm*") #:use-style desk-widget #:no-titlebar #t)

Now, if I then start a "normal" window (i.e having a titlebar, being
in the winlist etc.) and then invoke (interactive-move) via a root
menu, scwm will automatically move the "real" window instead of asking
(via the round dot cursor) which window to move.

Hopefully this will be enough for someone to track down, otherwise let
me know and I'll try to find a minimal set of conditions where this
behaviour happens.

Glenn

From owner-scwm-discuss@mit.edu  Wed May  5 16:37:00 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA15454
	for scwm-discuss-outgoing; Wed, 5 May 1999 16:37:00 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from lilly.ping.de (lilly.ping.de [195.37.120.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA15448
	for <scwm-discuss@vicarious-existence.mit.edu>; Wed, 5 May 1999 16:36:56 -0400
Received: (qmail 31463 invoked by uid 10); 5 May 1999 20:35:27 -0000
Received: from zagadka.ping.de by lilly.ping.de with UUCP (rmail-0.1-fdc); 5 May 1999 20:35:27 -0000
Received: (qmail 14575 invoked by uid 1000); 4 May 1999 22:28:16 -0000
To: Greg Badros <gjb@cs.washington.edu>
CC: scwm-discuss@mit.edu
Subject: Re: guile-gtk and window conversions
References: <qrriuacmlei.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Marius Vollmer <mvo@zagadka.ping.de>
Date: 05 May 1999 00:28:16 +0200
In-Reply-To: Greg Badros's message of "01 May 1999 16:15:49 -0700"
Message-ID: <87ogk0wjun.fsf@zagadka.ping.de>
Lines: 50
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Here's another request for guile-gtk.

Hi, sorry for the late answer.

> ;; for gtk-1.x.defs
> (define-func gtk_window_get_window_id
>   uint
>   ((GtkWindow window)))
> 
> 
> /* for gtk-support.c */
> guint32
> gtk_window_get_window_id(GtkWindow *window)
> {
>   GdkWindow *win = GTK_WIDGET(window)->window;
>   GdkWindowPrivate *private = (GdkWindowPrivate*) win;
>   return (guint32) private->xwindow;
> }
> 
> Then writing gtk-window->scwmwindow is just
>  (id->window (gtk-window-get-window-id win))

That's fine with me.  It is exposing private GDK data, but abstraction
barriers are there to be broken.  Maybe I would like it better this
way:

    ;; gdk-1.x.defs
    (define-func gdk_window_get_id
      uint
      ((GdkWindow window)))

and then

    (define (gtk-window->scwmwindow widget)
      (and=> (gtk-widget-window widget) gdk-window-get-id))

However, I think we need to find a way to bring such small additions
into action without making lots of minor guile-gtk releases.  I don't
think I want to put out guile-gtk-0.17 just for gdk-window-get-id.

Can you require all your users to use guile-gtk from CVS?  It would
also be OK with me if you would release guile-gtk snapshots on your
own, of course.  Is there no way you could put this into the scwm code
until a new guile-gtk has been released?  There wont be name conflicts
because scwm and guile-gtk would put the definition into different
modules.

- Marius

From owner-scwm-discuss@mit.edu  Wed May  5 18:18:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA16047
	for scwm-discuss-outgoing; Wed, 5 May 1999 18:18:33 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id SAA16044
	for <scwm-discuss@vicarious-existence.mit.edu>; Wed, 5 May 1999 18:18:31 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA26532; Wed, 5 May 1999 15:16:41 -0700 (PDT)
To: Marius Vollmer <mvo@zagadka.ping.de>
Cc: scwm-discuss@mit.edu
Subject: Re: guile-gtk and window conversions
References: <qrriuacmlei.fsf@elwha.cs.washington.edu> <87ogk0wjun.fsf@zagadka.ping.de>
From: Greg Badros <gjb@cs.washington.edu>
Date: 05 May 1999 15:16:41 -0700
In-Reply-To: Marius Vollmer's message of "05 May 1999 00:28:16 +0200"
Message-ID: <qrrzp3j17sm.fsf@elwha.cs.washington.edu>
Lines: 66
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Marius Vollmer <mvo@zagadka.ping.de> writes:

> Hi, sorry for the late answer.
> 
> > ;; for gtk-1.x.defs
> > (define-func gtk_window_get_window_id
> >   uint
> >   ((GtkWindow window)))
> > 
> > 
> > /* for gtk-support.c */
> > guint32
> > gtk_window_get_window_id(GtkWindow *window)
> > {
> >   GdkWindow *win = GTK_WIDGET(window)->window;
> >   GdkWindowPrivate *private = (GdkWindowPrivate*) win;
> >   return (guint32) private->xwindow;
> > }
> > 
> > Then writing gtk-window->scwmwindow is just
> >  (id->window (gtk-window-get-window-id win))
> 
> That's fine with me.  It is exposing private GDK data, but abstraction
> barriers are there to be broken.  Maybe I would like it better this
> way:
> 
>     ;; gdk-1.x.defs
>     (define-func gdk_window_get_id
>       uint
>       ((GdkWindow window)))
> 
> and then
> 
>     (define (gtk-window->scwmwindow widget)
>       (and=> (gtk-widget-window widget) gdk-window-get-id))

Sure.

> However, I think we need to find a way to bring such small additions
> into action without making lots of minor guile-gtk releases.  I don't
> think I want to put out guile-gtk-0.17 just for gdk-window-get-id.

Agreed completely... I wish I had the time to think hard and study the
guile-gtk wrapper better so I could add everything that we need in one
fell swoop.  We'll start encouraging our users to use guile-gtk from
anon-cvs.

> Can you require all your users to use guile-gtk from CVS?  It would
> also be OK with me if you would release guile-gtk snapshots on your
> own, of course.  Is there no way you could put this into the scwm code
> until a new guile-gtk has been released?  There wont be name conflicts
> because scwm and guile-gtk would put the definition into different
> modules.

The CVS version is fine-- I wasn't even going to ask for a 0.17 release
just for this feature.  (I may ask when Scwm-1.0 is going to come out to 
get a new release of guile-gtk then, but that's months off still).
It's not worth working around the right solution-- you're already making 
it as easy as you can by having CVS access available-- we appreciate
that tremendously.

I'll watch for  gdk-window-get-id in the CVS-- do you have a commit
message mailing list?

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Wed May  5 18:29:38 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA16139
	for scwm-discuss-outgoing; Wed, 5 May 1999 18:29:38 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA16136
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 5 May 1999 18:29:37 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA24182; Wed, 5 May 99 18:28:06 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA26538; Wed, 5 May 1999 15:28:07 -0700 (PDT)
To: ggt@linuxfan.com
Cc: scwm-discuss@mit.edu
Subject: Re: An interesting "feature"
References: <m10f13l-002SvbC@zappa.>
From: Greg Badros <gjb@cs.washington.edu>
Date: 05 May 1999 15:28:07 -0700
In-Reply-To: ggt@netspace.net.au's message of "Wed, 5 May 1999 22:45:57 +1000 (EST)"
Message-Id: <qrrso9b179k.fsf@elwha.cs.washington.edu>
Lines: 28
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

ggt@netspace.net.au (Glenn Trigg) writes:

> Here's something that is probably not the intended behaviour.
> 
> When my scwm starts is starts a ScwmButtons and a FvwmWharf, that's all.
> These have the following styles:
> 
> (define desk-widget
>   (make-style #:plain-border #t #:sticky #t #:winlist-skip #t
> 	      #:border-width 3 #:focus 'none))
> (window-style (title-match?? "MiniButtons") #:use-style desk-widget
> 	      #:no-titlebar #t #:border-width 0
> 	      #:placement-proc (lambda (win)
> 				 (move-to 870 1 win))
> (window-style (title-match?? "Fvwm*") #:use-style desk-widget #:no-titlebar #t)
> 
> Now, if I then start a "normal" window (i.e having a titlebar, being
> in the winlist etc.) and then invoke (interactive-move) via a root
> menu, scwm will automatically move the "real" window instead of asking
> (via the round dot cursor) which window to move.

This means that the window context is set when you think it shouldn't be 
(if the window context is not set, you get prompted for the window).

The easiest way to be sure you're prompted when that is your intention
is to use (select-window-interactively) instead of (get-window).

Greg

From owner-scwm-discuss@mit.edu  Wed May  5 18:43:43 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA16267
	for scwm-discuss-outgoing; Wed, 5 May 1999 18:43:43 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id SAA16264
	for <scwm-discuss@vicarious-existence.mit.edu>; Wed, 5 May 1999 18:43:42 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA26565; Wed, 5 May 1999 15:42:15 -0700 (PDT)
To: scwm-discuss@mit.edu
Subject: Slides from recent talk on Scwm
From: Greg Badros <gjb@cs.washington.edu>
Date: 05 May 1999 15:42:14 -0700
Message-ID: <qrrk8un16m1.fsf@elwha.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

See:

http://www.cs.washington.edu/homes/gjb/ToolsTalks/

for a link to my slides from a talk I gave on Scwm at the Linux User's
of Victoria's May meeting this past Monday.

The slides include some introductory information on learning Scheme, as
well as a high level picture of Scwm, its history, its design
principles, etc.

FWIW, I am responsible for any mistakes and mis-representations in the
slides... I didn't have time to confirm all facts with Maciej, and he
certainly knows the very very early history of the project better than I 
do!

Comments and feedback are appreciated, as always.

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Thu May  6 17:45:55 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA23720
	for scwm-discuss-outgoing; Thu, 6 May 1999 17:45:55 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id RAA23717
	for <scwm-discuss@vicarious-existence.mit.edu>; Thu, 6 May 1999 17:45:51 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA27796; Thu, 6 May 1999 14:44:09 -0700 (PDT)
To: Marius Vollmer <mvo@zagadka.ping.de>
Cc: scwm-discuss@mit.edu
Subject: Re: guile-gtk and window conversions
References: <qrriuacmlei.fsf@elwha.cs.washington.edu> <87ogk0wjun.fsf@zagadka.ping.de> <qrrzp3j17sm.fsf@elwha.cs.washington.edu> <87btfydjam.fsf@zagadka.ping.de>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 May 1999 14:44:09 -0700
In-Reply-To: Marius Vollmer's message of "06 May 1999 22:39:45 +0200"
Message-ID: <qrrn1zhzxee.fsf@elwha.cs.washington.edu>
Lines: 6
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Ok, great, thanks.  I think I'll stay away from the Gnome commits list,
then, until I'm back in Seattle where my bandwidth is better.

Thanks!

Greg

From owner-scwm-discuss@mit.edu  Thu May  6 17:54:06 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA23793
	for scwm-discuss-outgoing; Thu, 6 May 1999 17:54:06 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with ESMTP id RAA23790
	for <scwm-discuss@vicarious-existence.mit.edu>; Thu, 6 May 1999 17:54:05 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA27803; Thu, 6 May 1999 14:52:26 -0700 (PDT)
To: scwm-discuss@mit.edu
Subject: [Marco Grigull <mark@cyber.com.au>] scwm
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 May 1999 14:52:26 -0700
Message-ID: <qrrg159zx0l.fsf@elwha.cs.washington.edu>
Lines: 31
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Can anyone help Marco w/ the RPM dependency issue?  I obviously don't
use Scwm RPMs! :-)

Greg

------- Start of forwarded message -------
Date: Thu, 6 May 1999 21:18:18 +1000 (EST)
From: Marco Grigull <mark@cyber.com.au>
To: luv@luv.asn.au
Subject: scwm
Message-ID: <Pine.LNX.3.96.990506211045.8962B-100000@soy.cyber.com.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


dear shcemers...er LUVers

Anyone had any luck installing scwm ?
Im trying to go rpm all the way, and whilst installing guile-1.3-2
I get failed dep... umb-scheme 
I installed scheme, and scm-5d0-2 (this seems to be overkill)

>From the meeting, it looked awesome.

Greetz,
Marco

-
To unsubscribe send 'unsubscribe luv' to majordomo@luv.asn.au

------- End of forwarded message -------

From owner-scwm-discuss@mit.edu  Thu May  6 18:06:48 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA23944
	for scwm-discuss-outgoing; Thu, 6 May 1999 18:06:48 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA23941
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 6 May 1999 18:06:10 -0400
Received: from morannon.bfr.co.il by MIT.EDU with SMTP
	id AA13154; Thu, 6 May 99 18:04:14 EDT
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id BAA10283; Fri, 7 May 1999 01:03:26 +0300
To: mark@cyber.com.au
Cc: scwm-discuss@mit.edu, Greg Badros <gjb@cs.washington.edu>
Subject: Re: [Marco Grigull <mark@cyber.com.au>] scwm
References: <qrrg159zx0l.fsf@elwha.cs.washington.edu>
Cc: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 07 May 1999 01:03:26 +0300
In-Reply-To: Greg Badros's message of "06 May 1999 14:52:26 -0700"
Message-Id: <m26765c0up.fsf@blinky.bfr.co.il>
Lines: 46
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


You need to install umb-scheme or install --nodeps.  The reason for
the umb-scheme dependency is that guile uses SLIB and SLIB was
foolishly packaged together with umb-scheme.  Using --nodeps will only
work if you really do have SLIB installed but don't have umb-scheme,
which'd be unlikely if you're pure stock RPM.

Greg Badros <gjb@cs.washington.edu> writes:

 > Can anyone help Marco w/ the RPM dependency issue?  I obviously don't
 > use Scwm RPMs! :-)
 > 
 > Greg
 > 
 > ------- Start of forwarded message -------
 > Date: Thu, 6 May 1999 21:18:18 +1000 (EST)
 > From: Marco Grigull <mark@cyber.com.au>
 > To: luv@luv.asn.au
 > Subject: scwm
 > Message-ID: <Pine.LNX.3.96.990506211045.8962B-100000@soy.cyber.com.au>
 > MIME-Version: 1.0
 > Content-Type: TEXT/PLAIN; charset=US-ASCII
 > 
 > 
 > dear shcemers...er LUVers
 > 
 > Anyone had any luck installing scwm ?
 > Im trying to go rpm all the way, and whilst installing guile-1.3-2
 > I get failed dep... umb-scheme 
 > I installed scheme, and scm-5d0-2 (this seems to be overkill)
 > 
 > >From the meeting, it looked awesome.
 > 
 > Greetz,
 > Marco
 > 
 > -
 > To unsubscribe send 'unsubscribe luv' to majordomo@luv.asn.au
 > 
 > ------- End of forwarded message -------
 > 

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

From owner-scwm-discuss@mit.edu  Sat May  8 17:11:24 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA10606
	for scwm-discuss-outgoing; Sat, 8 May 1999 17:11:24 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA10603
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 8 May 1999 17:11:22 -0400
Received: from gn-if-43.goldnet.it by MIT.EDU with SMTP
	id AA18832; Sat, 8 May 99 17:09:17 EDT
Received: from tetris.goldnet.it ([194.21.56.2]:37270 "EHLO tetris.goldnet.it" ident: "NO-IDENT-SERVICE") by flesh.goldnet.it with ESMTP id <228968-32566>; Sat, 8 May 1999 23:03:00 +0200
Received: from mizar (root@tc01a28.goldnet.it [194.21.56.216])
	by tetris.goldnet.it (8.8.5/8.8.5) with ESMTP id XAA07353
	for <scwm-discuss@mit.edu>; Sat, 8 May 1999 23:07:16 +0200 (MET DST)
Received: by goldnet.it
	via sendmail from stdin
	id <m10gEED-0008qbC@mizar> (Debian Smail3.2.0.102)
	for scwm-discuss@mit.edu; Sat, 8 May 1999 23:01:45 +0200 (CEST) 
Message-Id: <19990508230145.A2688@mizar>
Date: 	Sat, 8 May 1999 23:01:45 +0200
From: Francesco Tapparo <cesco@goldnet.it>
To: scwm-discuss@mit.edu
Subject: scwm-0.9 and glibc-2.1
Reply-To: tapparo@mat.unimi.it
Mail-Followup-To: scwm-discuss@mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I compiled scwm linking to gnu libc 2.1, but scwm die with a segmentation
fault. Here's the gdb log:
I'm using scwm-0.9.

kind regards

======================BEGIN==================================

Script started on Sat May  8 22:40:05 1999
bash-2.02$ gdb ./scwm
GNU gdb 4.17.m68k.objc.threads.hwwp.fpu.gnat
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-pc-linux-gnu"...
(gdb) break +0
Breakpoint 1 at 0x8070d70: file scwm.c, line 456.
(gdb) runq
Undefined command: "runq".  Try "help".
(gdb) run
Starting program: /home/cesco/Debian-project/SCWM/scwm-0.9/scwm/./scwm 

Breakpoint 1, main (argc=134679920, argv=0x1) at scwm.c:464
464	{
(gdb) next
main (argc=1, argv=0xbffffb44) at scwm.c:465
465	  scwm_gh_enter(argc, argv, scwm_main);
(gdb) step

Program received signal SIGSEGV, Segmentation fault.
0x40215d31 in _IO_setvbuf (fp=0x402ad3c0, buf=0x0, mode=2, size=0)
    at iosetvbuf.c:92
iosetvbuf.c:92: No such file or directory.
(gdb) bt
#0  0x40215d31 in _IO_setvbuf (fp=0x402ad3c0, buf=0x0, mode=2, size=0)
    at iosetvbuf.c:92
#1  0x40130f95 in scm_setbuf0 ()
#2  0x401316d4 in scm_stdio_to_port ()
#3  0x40131769 in scm_standard_stream_to_port ()
#4  0x40138263 in scm_init_hashtab ()
#5  0x4013859c in scm_boot_guile ()
#6  0x401383a9 in scm_boot_guile ()
#7  0x40135e28 in gh_enter ()
#8  0x8070d85 in main (argc=1, argv=0xbffffb44) at scwm.c:465
#9  0x401dae6f in __libc_start_main (main=0x8070d70 <main>, argc=1, 
    argv=0xbffffb44, init=0x8053c30 < >, fini=0x807cb80 < >, 
    rtld_fini=0x4000a8c0 < >, stack_end=0xbffffb3c)
    at ../sysdeps/generic/libc-start.c:78
(gdb) quit
The program is running.  Exit anyway? (y or n) y
bash-2.02$ exit
exit

Script done on Sat May  8 22:41:06 1999

================================DONE==========================

-- 
Francesco Tapparo                                 tapparo@mat.unimi.it
GNU fanatic                                       cesco@debian.org

From owner-scwm-discuss@mit.edu  Sat May  8 19:16:53 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA11353
	for scwm-discuss-outgoing; Sat, 8 May 1999 19:16:53 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA11350
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 8 May 1999 19:16:51 -0400
Received: from zwingli.cygnus.com by MIT.EDU with SMTP
	id AA03099; Sat, 8 May 99 19:14:58 EDT
Received: (from jimb@localhost)
	by zwingli.cygnus.com (8.8.5/8.8.5) id SAA22289;
	Sat, 8 May 1999 18:14:44 -0500 (EST)
Date: Sat, 8 May 1999 18:14:44 -0500 (EST)
Message-Id: <199905082314.SAA22289@zwingli.cygnus.com>
From: jimb@red-bean.com
To: scwm-discuss@mit.edu
Subject: Very minor bug in restart function
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


I just happened to notice this.

It's wrong to FREE(sz) after executing ``  sz = "scwm";  ''.  I guess
Done hasn't ever returned.

SCWM_PROC(restart, "restart", 0, 1, 0,
          (SCM command))
     /** Restart the window manager. If COMMAND is specified, use
that, as the new window manager to run. If COMMAND is not specified or
is exactly equal to "scwm", restart scwm with the same command-line
arguments as given previously. */
#define FUNC_NAME s_restart
{
  int dummy;
  char *sz;

  if (gh_string_p(command)) {
    sz = gh_scm2newstr(command, &dummy);
  } else if (command == SCM_UNDEFINED) {
    sz = "scwm";
  } else {
    SCWM_WRONG_TYPE_ARG(1, command);
  }

  Done(1, sz);  /* 1 == restart */
  FREE(sz); /* Done shouldn't return, but you never know... */
  return SCM_UNSPECIFIED;	
}

From owner-scwm-discuss@mit.edu  Sat May  8 19:32:32 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA11479
	for scwm-discuss-outgoing; Sat, 8 May 1999 19:32:32 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA11476
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 8 May 1999 19:32:31 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA07065; Sat, 8 May 99 19:30:25 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA01645; Sat, 8 May 1999 16:29:55 -0700 (PDT)
To: jimb@red-bean.com
Cc: scwm-discuss@mit.edu
Subject: Re: Very minor bug in restart function
References: <199905082314.SAA22289@zwingli.cygnus.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 May 1999 16:29:55 -0700
In-Reply-To: jimb@red-bean.com's message of "Sat, 8 May 1999 18:14:44 -0500 (EST)"
Message-Id: <qrrg157p2bw.fsf@elwha.cs.washington.edu>
Lines: 10
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

jimb@red-bean.com writes:

> I just happened to notice this.
> 
> It's wrong to FREE(sz) after executing ``  sz = "scwm";  ''.  I guess
> Done hasn't ever returned.

Good eye... thanks!

Greg

From owner-scwm-discuss@mit.edu  Sat May  8 19:33:45 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id TAA11515
	for scwm-discuss-outgoing; Sat, 8 May 1999 19:33:45 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id TAA11512
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 8 May 1999 19:33:44 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA04678; Sat, 8 May 99 19:31:50 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA01648; Sat, 8 May 1999 16:31:37 -0700 (PDT)
To: tapparo@mat.unimi.it
Cc: scwm-discuss@mit.edu
Subject: Re: scwm-0.9 and glibc-2.1
References: <19990508230145.A2688@mizar>
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 May 1999 16:31:37 -0700
In-Reply-To: Francesco Tapparo's message of "Sat, 8 May 1999 23:01:45 +0200"
Message-Id: <qrrd80bp292.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Francesco Tapparo <cesco@goldnet.it> writes:

> I compiled scwm linking to gnu libc 2.1, but scwm die with a segmentation
> fault. Here's the gdb log:
> I'm using scwm-0.9.

Hmmm... is guile built relative to the same library?  

You may want to try a CVS version of Scwm... we're hoping to package up
a new version Real Soon Now, but time has been a bit short lately.  In
any case 0.9 is really quite outdated now...

Thanks,
Greg

From owner-scwm-discuss@mit.edu  Sat May  8 22:24:57 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA12946
	for scwm-discuss-outgoing; Sat, 8 May 1999 22:24:57 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA12943
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 8 May 1999 22:24:54 -0400
Received: from crystal.apana.org.au by MIT.EDU with SMTP
	id AA21221; Sat, 8 May 99 22:22:45 EDT
Received: from crystal (ghansper@crystal [203.36.173.193])
	by crystal.apana.org.au (8.9.3/8.8.8/Debian/GNU) with ESMTP id MAA26380
	for <scwm-discuss@mit.edu>; Sun, 9 May 1999 12:18:02 +1000
Date: Sun, 9 May 1999 12:18:01 +1000 (EST)
From: George Hansper <george@hansper.wattle.id.au>
X-Sender: ghansper@crystal
Reply-To: george@hansper.wattle.id.au
To: scwm-discuss@mit.edu
Subject: scwm 0.9 show-icon/xterm bug
Message-Id: <Pine.LNX.4.05.9905091212130.23917-100000@crystal>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hello,

I was trying out scwm, and thought I'd get the latest version
from the website, scwm-0.9a

I encountered a problem using the "xterm" program from X11R6,
which has the "active-icon" feature.
If I set the window style:

	(window-style "*" #:show-icon #t)

any subsequent xterm's started are resized to the size of a single
character. rvxt is not affected.

Setting:
	(window-style "*" #:show-icon #f)

removes the problem, but then I don't get any icons (of course).

Regards,
	George Hansper
    .__.     
*--//  \     Phone: +61-3 - 9338 4831      (After Hours)
   =====     
   =====     
)--|    \    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  o o o o    
  o o o o    e-mail:  george@hansper.wattle.id.au
 o  o o  o   WWW:     http://crystal.apana.org.au/ghansper/
 o  o o  o   
 ---------   -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


From owner-scwm-discuss@mit.edu  Sun May  9 08:33:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id IAA19086
	for scwm-discuss-outgoing; Sun, 9 May 1999 08:33:42 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id IAA19083
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 9 May 1999 08:33:32 -0400
Received: from gn-if-43.goldnet.it by MIT.EDU with SMTP
	id AA00239; Sun, 9 May 99 08:31:32 EDT
Received: from tetris.goldnet.it ([194.21.56.2]:39328 "EHLO tetris.goldnet.it" ident: "NO-IDENT-SERVICE") by flesh.goldnet.it with ESMTP id <228969-6679>; Sun, 9 May 1999 14:25:07 +0200
Received: from mizar (root@tc01b48.goldnet.it [194.21.56.236])
	by tetris.goldnet.it (8.8.5/8.8.5) with ESMTP id OAA21389
	for <scwm-discuss@mit.edu>; Sun, 9 May 1999 14:29:25 +0200 (MET DST)
Received: by goldnet.it
	via sendmail from stdin
	id <m10gScv-0008smC@mizar> (Debian Smail3.2.0.102)
	for scwm-discuss@mit.edu; Sun, 9 May 1999 14:24:13 +0200 (CEST) 
Message-Id: <19990509142412.A614@mizar>
Date: 	Sun, 9 May 1999 14:24:12 +0200
From: Francesco Tapparo <cesco@goldnet.it>
To: scwm-discuss@mit.edu
Subject: Re: Re: scwm-0.9 and glibc-2.1
Reply-To: tapparo@mat.unimi.it
Mail-Followup-To: scwm-discuss@mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <qrrd80bp292.fsf@elwha.cs.washington.edu>; from Greg Badros on Sat, May 08, 1999 at 04:31:37PM -0700
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Sat, May 08, 1999 at 04:31:37PM -0700, Greg Badros wrote:
> Francesco Tapparo <cesco@goldnet.it> writes:
> 
> > I compiled scwm linking to gnu libc 2.1, but scwm die with a segmentation
> > fault. Here's the gdb log:
> > I'm using scwm-0.9.
> 
> Hmmm... is guile built relative to the same library?  
> 

Hmm^2 :>... I suspect no (it was uploaded in December); I compiled the mini
program in the guile infos, and It dies too. So scwm is not the culprit here.
Sorry to bother you.

> You may want to try a CVS version of Scwm... we're hoping to package up
> a new version Real Soon Now, but time has been a bit short lately.  In
> any case 0.9 is really quite outdated now...
> 

This is'nt for my personal use, but for the Debian package; so I'm a bit
reluctant to use the CVS version. 


> Thanks,
> Greg
> 

Thanks

-- 
Francesco Tapparo                                 tapparo@mat.unimi.it
GNU fanatic                                       cesco@debian.org

From owner-scwm-discuss@mit.edu  Sun May  9 21:13:33 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id VAA22854
	for scwm-discuss-outgoing; Sun, 9 May 1999 21:13:33 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id VAA22851
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 9 May 1999 21:13:31 -0400
Received: from molehill.easystreet.com by MIT.EDU with SMTP
	id AA27761; Sun, 9 May 99 21:11:12 EDT
Received: (qmail 9962 invoked by uid 501); 10 May 1999 01:12:44 -0000
Date: Sun, 9 May 1999 18:12:44 -0700
From: Todd Larason <jtl@molehill.org>
To: scwm-discuss@mit.edu
Subject: Re: scwm-0.9 and glibc-2.1
Message-Id: <19990509181244.A9604@molehill.org>
References: <19990508230145.A2688@mizar>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <19990508230145.A2688@mizar>; from Francesco Tapparo on Sat, May 08, 1999 at 11:01:45PM +0200
X-Kibo: Vril makes sense.
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On 990508, Francesco Tapparo wrote:
> Program received signal SIGSEGV, Segmentation fault.
> 0x40215d31 in _IO_setvbuf (fp=0x402ad3c0, buf=0x0, mode=2, size=0)
>     at iosetvbuf.c:92
> iosetvbuf.c:92: No such file or directory.
> (gdb) bt
> #0  0x40215d31 in _IO_setvbuf (fp=0x402ad3c0, buf=0x0, mode=2, size=0)
>     at iosetvbuf.c:92
> #1  0x40130f95 in scm_setbuf0 ()
> #2  0x401316d4 in scm_stdio_to_port ()
> #3  0x40131769 in scm_standard_stream_to_port ()

This looks like a report we had months ago against the then-current RedHat
RawHide release, which I finally tracked down to a bug in the beta version of
glibc 2.1 that it was using; the next week's update to the glibc RPM fixed the 
problem, so I never tracked it down to a particular line, but as I recall the
problem appeared to be a stack clobber in isatty().

Are you perchance using a beta glibc?  Or maybe guile was compiled with one?

I don't have a glibc 2.1-release machine to test on yet, but hopefully the bug 
didn't get reintroduced.
-- 
"Take me home, take me to the zona rosa, mariachis and tequila, I will
dance the night alone.  Just some time, just a little piece of mind,
take me where I can forget, senor you are so very kind." 
  -- Concrete Blonde, "Mexican Moon"
UIN: 2202742

From owner-scwm-discuss@mit.edu  Sun May  9 22:46:30 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id WAA23389
	for scwm-discuss-outgoing; Sun, 9 May 1999 22:46:30 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id WAA23386
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sun, 9 May 1999 22:46:29 -0400
Received: from ppp269.arden.ioa.com by MIT.EDU with SMTP
	id AA11474; Sun, 9 May 99 22:44:07 EDT
Received: from dres by dres.elam.org with local (Exim 2.11 #1 (Debian))
	id 10gg7B-00066S-00; Sun, 9 May 1999 22:48:21 -0400
To: Greg Badros <gjb@cs.washington.edu>
Cc: tapparo@mat.unimi.it, scwm-discuss@mit.edu
Subject: Re: scwm-0.9 and glibc-2.1
References: <19990508230145.A2688@mizar> <qrrd80bp292.fsf@elwha.cs.washington.edu>
X-Url: http://www.ioa.com/~dres
X-Organization: Debian/Software in the Public Interest
X-Attribution: Dres
X-Face:  "R3Ms&!j++.]J8DwisON-l7#S<Jw[MsP|I<K?28b~f-<w^vjeAQ-k@$-Az>OloY'V?!^-!2
 9G+7Z7OzClzr2{3e<RFn%f*t%B<*|sT->ni9BN\pzkTp<dg6+lOtI-rg*]Fjgr0n.=ChFX:_+T7fKT
 *Z[}xvSK"jV~QH7*v}xZ,1rlb+Ro`,)#2Econ*g^>}ehc,\AhKBZ\Sf/HVG+p\*?'(&ct2w6Fr:w9m
 o|9R&.D-)1]:&sN-6o'\`7W${f1$2BCy6qSl&._{ILYCZ?X-[?M!](N
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: James LewisMoss <dres@ioa.com>
Date: 09 May 1999 22:48:21 -0400
In-Reply-To: Greg Badros's message of "08 May 1999 16:31:37 -0700"
Message-Id: <hhyaixbpxm.fsf@dres.elam.org>
Lines: 20
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

>>>>> On 08 May 1999 16:31:37 -0700, Greg Badros <gjb@cs.washington.edu> said:

 Greg> Francesco Tapparo <cesco@goldnet.it> writes:
 >> I compiled scwm linking to gnu libc 2.1, but scwm die with a
 >> segmentation fault. Here's the gdb log: I'm using scwm-0.9.

 Greg> Hmmm... is guile built relative to the same library?

 Greg> You may want to try a CVS version of Scwm... we're hoping to
 Greg> package up a new version Real Soon Now, but time has been a bit
 Greg> short lately.  In any case 0.9 is really quite outdated now...

This is a guile needs to be recompiled error as you surmised (I had to 
recompile guile a short bit ago because of same problem).

Dres
-- 
@James LewisMoss <dres@ioa.com>         |  Blessed Be!
@    http://www.ioa.com/~dres           |  Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach

From owner-scwm-discuss@mit.edu  Tue May 11 03:00:17 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id DAA01365
	for scwm-discuss-outgoing; Tue, 11 May 1999 03:00:17 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id DAA01362
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 11 May 1999 03:00:15 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA24286; Tue, 11 May 99 02:57:41 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id XAA04881; Mon, 10 May 1999 23:57:10 -0700 (PDT)
To: tapparo@mat.unimi.it
Cc: scwm-discuss@mit.edu
Subject: Re: scwm-0.9 and glibc-2.1
References: <19990509142412.A614@mizar>
From: Greg Badros <gjb@cs.washington.edu>
Date: 10 May 1999 23:57:09 -0700
In-Reply-To: Francesco Tapparo's message of "Sun, 9 May 1999 14:24:12 +0200"
Message-Id: <qrr7lqgt7p6.fsf@elwha.cs.washington.edu>
Lines: 22
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Francesco Tapparo <cesco@goldnet.it> writes:

> > You may want to try a CVS version of Scwm... we're hoping to package up
> > a new version Real Soon Now, but time has been a bit short lately.  In
> > any case 0.9 is really quite outdated now...
> > 
> 
> This is'nt for my personal use, but for the Debian package; so I'm a bit
> reluctant to use the CVS version. 

Yes, I knew what you were using it for.  Just because we're too busy to
make a new release does not mean you shouldn't package up a nicer
version (read: more recent) for Debian users.  The revision id number
uniquely identifies the source.  As of now, the Scwm repo source is
definitely more functional and bug free than the .9 version.

We definitely need to do a release, but I just got back to Seattle, and
leave tomorrow for Toronto, so time is still a bit short for me,
probably until the end of the month (unless I can finally get ahold of
the laptop that I'm trying to order...)

Greg

From owner-scwm-discuss@mit.edu  Tue May 11 18:05:39 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA06604
	for scwm-discuss-outgoing; Tue, 11 May 1999 18:05:39 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA06601
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Tue, 11 May 1999 18:05:35 -0400
Received: from gn-if-43.goldnet.it by MIT.EDU with SMTP
	id AA03438; Tue, 11 May 99 18:03:07 EDT
Received: from tetris.goldnet.it ([194.21.56.2]:1490 "EHLO tetris.goldnet.it" ident: "NO-IDENT-SERVICE") by flesh.goldnet.it with ESMTP id <228968-22799>; Tue, 11 May 1999 23:56:25 +0200
Received: from mizar (root@tc01b46.goldnet.it [194.21.56.234])
	by tetris.goldnet.it (8.8.5/8.8.5) with ESMTP id AAA17273;
	Wed, 12 May 1999 00:00:45 +0200 (MET DST)
Received: by goldnet.it
	via sendmail from stdin
	id <m10hKAu-0008x5C@mizar> (Debian Smail3.2.0.102)
	for scwm-discuss@mit.edu; Tue, 11 May 1999 23:34:52 +0200 (CEST) 
Message-Id: <19990511233452.B977@mizar>
Date: 	Tue, 11 May 1999 23:34:52 +0200
From: Francesco Tapparo <cesco@goldnet.it>
To: Todd Larason <jtl@molehill.org>, scwm-discuss@mit.edu
Subject: Re: scwm-0.9 and glibc-2.1
Reply-To: tapparo@mat.unimi.it
Mail-Followup-To: Todd Larason <jtl@molehill.org>, scwm-discuss@mit.edu
References: <19990508230145.A2688@mizar> <19990509181244.A9604@molehill.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <19990509181244.A9604@molehill.org>; from Todd Larason on Sun, May 09, 1999 at 06:12:44PM -0700
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

On Sun, May 09, 1999 at 06:12:44PM -0700, Todd Larason wrote:
> On 990508, Francesco Tapparo wrote:
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x40215d31 in _IO_setvbuf (fp=0x402ad3c0, buf=0x0, mode=2, size=0)
> >     at iosetvbuf.c:92
> > iosetvbuf.c:92: No such file or directory.
> > (gdb) bt
> > #0  0x40215d31 in _IO_setvbuf (fp=0x402ad3c0, buf=0x0, mode=2, size=0)
> >     at iosetvbuf.c:92
> > #1  0x40130f95 in scm_setbuf0 ()
> > #2  0x401316d4 in scm_stdio_to_port ()
> > #3  0x40131769 in scm_standard_stream_to_port ()
> 
> This looks like a report we had months ago against the then-current RedHat
> RawHide release, which I finally tracked down to a bug in the beta version of
> glibc 2.1 that it was using; the next week's update to the glibc RPM fixed the 
> problem, so I never tracked it down to a particular line, but as I recall the
> problem appeared to be a stack clobber in isatty().
> 
> Are you perchance using a beta glibc?  Or maybe guile was compiled with one?

thanks for your reply.

guile was compiled with glibc 2.0.
I compiled scwm with glibc 2.1.1.
The guile debian maintainer recompiled guile against glibc 2.1.1 and now
scwm work perfectly, so the problem seems to be an incompatibility between
the two implementations (glibc 2.0 and glibc 2.1). I'll ask on the glibc
mailing list if this sould be considered a bug.

> 
> I don't have a glibc 2.1-release machine to test on yet, but hopefully the bug 
> didn't get reintroduced.
> -- 
> "Take me home, take me to the zona rosa, mariachis and tequila, I will
> dance the night alone.  Just some time, just a little piece of mind,
> take me where I can forget, senor you are so very kind." 
>   -- Concrete Blonde, "Mexican Moon"
> UIN: 2202742
> 

kind regards

-- 
Francesco Tapparo                                 tapparo@mat.unimi.it
GNU fanatic                                       cesco@debian.org

From owner-scwm-discuss@mit.edu  Wed May 12 18:11:42 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id SAA17072
	for scwm-discuss-outgoing; Wed, 12 May 1999 18:11:42 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id SAA17069
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Wed, 12 May 1999 18:11:41 -0400
Received: from mons.uio.no by MIT.EDU with SMTP
	id AA20154; Wed, 12 May 99 18:08:48 EDT
Received: from mons.uio.no (actually mons.uio.no [129.240.130.14]) by mons.uio.no with SMTP (PP); Thu, 13 May 1999 00:08:46 +0200
Received: from octarine.uio.no ([129.240.186.25]) by mons.uio.no with esmtp (Exim 2.12 #6) id 10hhBF-00022x-00 
          for scwm-discuss@mit.edu; Thu, 13 May 1999 00:08:45 +0200
Received: from hmeland by octarine.uio.no with local (Exim 2.12 #6) id 10hhBE-0002kk-00 for scwm-discuss@mit.edu;
          Thu, 13 May 1999 00:08:44 +0200
To: scwm-discuss@mit.edu
Subject: Re: Window placement on mouse click viewport instead of current viewport?
References: <19990422071042Z276482-60+16@pulsar.halcyon.com> <qrrg15tawor.fsf@elwha.cs.washington.edu>
From: Harald Meland <Harald.Meland@usit.uio.no>
Date: 13 May 1999 00:08:43 +0200
In-Reply-To: Greg Badros's message of "22 Apr 1999 01:25:40 -0700"
Message-Id: <d6dr9om3pqs.fsf@octarine.uio.no>
Lines: 43
User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.3
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

[Greg Badros]

> Anybody care to shoot any holes in this?  Besides session manager
> issues, I like it.

It's altogether neat, but depending on setenv(3) being available
isn't :)

My band-aid hack to get things compiled on my Solaris-2.6 box follows:

$ cvs diff -u utilities/run-renamed/run-renamed.c
Index: utilities/run-renamed/run-renamed.c
===================================================================
RCS file: /anoncvs/scwm/utilities/run-renamed/run-renamed.c,v
retrieving revision 1.1
diff -u -r1.1 run-renamed.c
--- run-renamed.c       1999/04/22 10:29:30     1.1
+++ run-renamed.c       1999/05/12 22:08:23
@@ -17,6 +17,8 @@
 
 int main(int argc, char **argv) 
 { 
+  char envbuf[1024];
+
   if (argc < 1) exit(1);
 
   if (argc < 2) {
@@ -24,7 +26,8 @@
     exit(1);
   }
   if (!strcmp(r1bindex(argv[0], '/'), "run-renamed")) { 
-    setenv("RESOURCE_NAME",argv[1],1);
+    snprintf(envbuf, 1023, "RESOURCE_NAME=%s", argv[1]);
+    putenv(envbuf);
   } else {
     char *sz = (char *) malloc(strlen(argv[1]) + strlen(argv[0]) + 12);
     sprintf(sz,"rename_to=%s %s",argv[1],argv[0]);

This is entirely untested, as I can't get the resulting scwm to run --
more on that in another message.  And, I'll leave the necessary
autoconf incantations to those more versed in such stuff then I am :)
-- 
Harald

From owner-scwm-discuss@mit.edu  Thu May 13 11:13:24 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA22362
	for scwm-discuss-outgoing; Thu, 13 May 1999 11:13:24 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA22359
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 13 May 1999 11:13:21 -0400
Received: from mons.uio.no by MIT.EDU with SMTP
	id AA04845; Thu, 13 May 99 11:10:38 EDT
Received: from mons.uio.no (actually mons.uio.no [129.240.130.14]) by mons.uio.no with SMTP (PP); Thu, 13 May 1999 17:10:25 +0200
Received: from octarine.uio.no ([129.240.186.25]) by mons.uio.no with esmtp (Exim 2.12 #6) id 10hx7x-0007PA-00 
          for scwm-discuss@mit.edu; Thu, 13 May 1999 17:10:25 +0200
Received: from hmeland by octarine.uio.no with local (Exim 2.12 #6) id 10hx7x-0006Q3-00 for scwm-discuss@mit.edu;
          Thu, 13 May 1999 17:10:25 +0200
To: scwm-discuss@mit.edu
Subject: Re: API stupidity... ??
References: <qrrn202fhjw.fsf@elwha.cs.washington.edu>
From: Harald Meland <Harald.Meland@usit.uio.no>
Date: 13 May 1999 17:10:24 +0200
In-Reply-To: Greg Badros's message of "21 Apr 1999 02:29:07 -0700"
Message-Id: <d6dzp39f1jz.fsf@octarine.uio.no>
Lines: 18
User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.3
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

[Greg Badros]

> One of the things on our checklist for version 1.0 is "really awful API
> stupidity".  Is there anything in particular that really bugs people?
> I've already fixed the highlight spellings to be consistent, and just
> changed the order of get-window (and its cousins) so that the new cursor
> argument (was `kill?') is last instead of first.  
> 
> What else can you all think of?

If there still are inconsistencies regarding where one should use
colour-naming strings as opposed to return values of `make-color', I'd
say that's pretty confusing.

In the (pretty old) snapshot I'm using, I have to use color _names_
when e.g. specifying gradients.
-- 
Harald

From owner-scwm-discuss@mit.edu  Thu May 13 15:02:07 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id PAA23622
	for scwm-discuss-outgoing; Thu, 13 May 1999 15:02:07 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id PAA23619
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Thu, 13 May 1999 15:02:05 -0400
Received: from elwha.cs.washington.edu by MIT.EDU with SMTP
	id AA00876; Thu, 13 May 99 14:59:20 EDT
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA10241; Thu, 13 May 1999 11:59:05 -0700 (PDT)
To: Harald Meland <Harald.Meland@usit.uio.no>
Cc: scwm-discuss@mit.edu
Subject: Re: API stupidity... ??
References: <qrrn202fhjw.fsf@elwha.cs.washington.edu> <d6dzp39f1jz.fsf@octarine.uio.no>
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 May 1999 11:59:05 -0700
In-Reply-To: Harald Meland's message of "13 May 1999 17:10:24 +0200"
Message-Id: <qrrbtfo94p2.fsf@elwha.cs.washington.edu>
Lines: 5
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

Hopefully that's fixed, but I'll be sure to check when I'm back in front 
of a dev machine.

Thanks for the suggestion.
Greg

From owner-scwm-discuss@mit.edu  Fri May 14 11:03:24 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id LAA30176
	for scwm-discuss-outgoing; Fri, 14 May 1999 11:03:24 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id LAA30173
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 14 May 1999 11:03:19 -0400
Received: from motgate.mot.com by MIT.EDU with SMTP
	id AA04652; Fri, 14 May 99 11:00:26 EDT
Received: [from pobox2.mot.com (pobox2.mot.com [129.188.137.195]) by motgate.mot.com (MOT-motgate 1.0) with ESMTP id KAA29639 for <scwm-discuss@mit.edu>; Fri, 14 May 1999 10:00:15 -0500 (CDT)]
Received: [from emailsps.sps.mot.com (emailsps.sps.mot.com [216.8.10.1]) by pobox2.mot.com (MOT-pobox2 2.0) with ESMTP id JAA22666 for <scwm-discuss@mit.edu>; Fri, 14 May 1999 09:58:32 -0500 (CDT)]
Received: by smolder.wssg-oh (SMI-8.6/SMI-SVR4)
	id JAA02921; Fri, 14 May 1999 09:56:38 -0500
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14140.14758.454925.637163@dsp.sps.mot.com>
Date: Fri, 14 May 1999 09:56:38 -0500 (CDT)
From: Jimmy Mason <ra2794@email.mot.com>
To: scwm-discuss@mit.edu
Subject: (bind-mouse 'window 1 raise-window)
X-Mailer: VM 6.67 under Emacs 20.3.3
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

I added this mouse binding, hoping it would work like CDE/dtwm work:
(bind-mouse 'window 1 raise-window)

Essentially, I want the window to raise, no matter what, if I click in
it.  Of course, I also want to be able to interact with the window,
such as clicking buttons, select text, etc., as usual.  How can I get
scwm to pass that event through to the window even though I bound it
to a WM command?

Thanks,
Jimmy

From owner-scwm-discuss@mit.edu  Fri May 14 16:17:19 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id QAA31478
	for scwm-discuss-outgoing; Fri, 14 May 1999 16:17:19 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id QAA31475
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 14 May 1999 16:17:18 -0400
Received: from TEQUILA.CS.YALE.EDU by MIT.EDU with SMTP
	id AA27373; Fri, 14 May 99 16:14:22 EDT
Received: from tequila.cs.yale.edu (localhost [127.0.0.1])
	by tequila.cs.yale.edu (8.9.3/8.9.3) with SMTP id QAA27254
	for <scwm-discuss@mit.edu>; Fri, 14 May 1999 16:14:11 -0400
To: scwm-discuss@mit.edu
From: "Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu>
Newsgroups: lists.scwm.discuss
Subject: from ctwm to scwm
Date: 14 May 1999 16:12:12 -0400
Message-Id: <5lpv43pg0z.fsf@tequila.cs.yale.edu>
Lines: 13
X-Newsreader: Gnus v5.7/Emacs 20.3
Path: tequila.cs.yale.edu
Nntp-Posting-Host: tequila.cs.yale.edu
X-Trace: 14 May 1999 16:12:12 -0500, tequila.cs.yale.edu
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk


Is there any convert here coming from ctwm (or twm for that matter) ?
What kinds of features have been lost in the switch ?
Does scwm provide the same notion of workspaces with the ability to have a
window in several of them (I don't like the fvwm notion of a window being
either in one workspace or in all) ?
Does it provide the same kind of icon-managers (which look more like a list
of window names) and several of them ? (I rely a lot on a separate icon-manager
for my Emacs frames where the textual listing is very hand since it lists
all the buffers right there for me to select them)


	Stefan

From owner-scwm-discuss@mit.edu  Fri May 14 17:43:30 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id RAA31878
	for scwm-discuss-outgoing; Fri, 14 May 1999 17:43:30 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id RAA31875
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Fri, 14 May 1999 17:43:14 -0400
Received: from gn-if-43.goldnet.it by MIT.EDU with SMTP
	id AA23853; Fri, 14 May 99 17:40:16 EDT
Received: from tetris.goldnet.it ([194.21.56.2]:44179 "EHLO tetris.goldnet.it" ident: "NO-IDENT-SERVICE") by flesh.goldnet.it with ESMTP id <228991-3222>; Fri, 14 May 1999 23:33:38 +0200
Received: from mizar (root@tc01b54.goldnet.it [194.21.56.242])
	by tetris.goldnet.it (8.8.5/8.8.5) with ESMTP id XAA06181
	for <scwm-discuss@mit.edu>; Fri, 14 May 1999 23:38:00 +0200 (MET DST)
Received: by goldnet.it
	via sendmail from stdin
	id <m10iPXH-0008tgC@mizar> (Debian Smail3.2.0.102)
	for scwm-discuss@mit.edu; Fri, 14 May 1999 23:30:27 +0200 (CEST) 
Message-Id: <19990514233027.A13042@mizar>
Date: 	Fri, 14 May 1999 23:30:27 +0200
From: Francesco Tapparo <cesco@goldnet.it>
To: scwm-discuss@mit.edu
Subject: 2 notes
Reply-To: tapparo@mat.unimi.it
Mail-Followup-To: scwm-discuss@mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

When compiling scwm-19990513 I found 2 little problems:

1) The makefile in the directory pixmaps don't respect the variable
   DISTDIR, thing needed by the debian packaging process. The corresponding 
   Makefile.in is strangely manually generated. So I created the corresponding
   Makefile.am and now respect DISTDIR and is probably more conforming the the
   GNU standards.
   Here's the pixmaps/Makefile.am:
   
   =============BEGIN====================
   
   xpmdir= ${prefix}/include/X11/pixmaps/

   xpm_DATA = *.xpm
   
   ==============END=====================
   
2) Make distclean don't remove the themes generated in the themes
   subdirectory. This cause some problem with some tools I must use, and is
   against the GNU standards.
   Here's the micropatch:

===================BEGIN===================================

--- Makefile.am.orig	Wed Apr 14 07:11:28 1999
+++ Makefile.am	Fri May 14 23:20:45 1999
@@ -2,6 +2,11 @@
 ## process this file with automake to create Makefile.in
 ## GJB:FIXME:: adding a new theme here is error-prone
 
+## Themes must be removed by make distclean
+## WARNING: this assume that the only files ending with
+## .@TAR_SUFFIX@ are the themes files
+DISTCLEANFILES=*.@TAR_SUFFIX@
+
 ## Distribute and install
 scwm_theme_DATA = fvwm2.@TAR_SUFFIX@ mwm.@TAR_SUFFIX@ win95.@TAR_SUFFIX@ \
                   woven.@TAR_SUFFIX@ gjb.@TAR_SUFFIX@ twm.@TAR_SUFFIX@ afterstep.@TAR_SUFFIX@


====================END===================================


kind regards

-- 
Francesco Tapparo                                 tapparo@mat.unimi.it
GNU fanatic                                       cesco@debian.org

From owner-scwm-discuss@mit.edu  Sat May 15 13:17:02 1999
Received: (from mjrdmo@localhost)
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) id NAA05362
	for scwm-discuss-outgoing; Sat, 15 May 1999 13:17:02 -0400
X-Authentication-Warning: VICARIOUS-EXISTENCE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@vicarious-existence.mit.edu using -f
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by VICARIOUS-EXISTENCE.MIT.EDU (8.8.5/8.8.5) with SMTP id NAA05356
	for <scwm-discuss@VICARIOUS-EXISTENCE.MIT.EDU>; Sat, 15 May 1999 13:16:57 -0400
Received: from gn-if-43.goldnet.it by MIT.EDU with SMTP
	id AA18928; Sat, 15 May 99 13:13:51 EDT
Received: from tetris.goldnet.it ([194.21.56.2]:33439 "EHLO tetris.goldnet.it" ident: "NO-IDENT-SERVICE") by flesh.goldnet.it with ESMTP id <228993-9969>; Sat, 15 May 1999 19:07:06 +0200
Received: from mizar (root@tc01a23.goldnet.it [194.21.56.211])
	by tetris.goldnet.it (8.8.5/8.8.5) with ESMTP id TAA27031;
	Sat, 15 May 1999 19:11:30 +0200 (MET DST)
Received: by goldnet.it
	via sendmail from stdin
	id <m10ihtw-0008uBC@mizar> (Debian Smail3.2.0.102)
	for Roman.Hodek@informatik.uni-erlangen.de; Sat, 15 May 1999 19:07:04 +0200 (CEST) 
Message-Id: <19990515190704.A1225@mizar>
Date: 	Sat, 15 May 1999 19:07:04 +0200
From: Francesco Tapparo <cesco@goldnet.it>
To: scwm-discuss@mit.edu
Cc: Roman.Hodek@informatik.uni-erlangen.de
Subject: strange behaviour of SCWM_ARG_PATH
Reply-To: tapparo@mat.unimi.it
Mail-Followup-To: scwm-discuss@mit.edu,
	Roman.Hodek@informatik.uni-erlangen.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
Sender: owner-scwm-discuss@mit.edu
Precedence: bulk

[I cc'ed the mail to Roman Hodek, the bug submitter; please keep the cc]

I received a bug against scwm: if you give the option 

--with-scwmrc <some dir>

and <some dir> does'nt exist, configure give an error and exits. So if someone 
want install scwm in a "virgin" system, he must add the dir manually.
The reason is in the SCWM_ARG_WITH macro:


AC_DEFUN(SCWM_ARG_PATH,
[
  AC_ARG_WITH($1,[$2],[
    if test -z "${withval}" || test "yes" = "${withval}" || test "no" = "${withval}"; then
      AC_MSG_ERROR(missing pathname argument to --with-$1)
    elif test ! -d "${withval}"; then
      AC_MSG_ERROR(invalid pathname argument to --with-$1: ${withval})
    else
      $3
    fi],
    $4)
])

If the the option --with-$1=dir is given and dir is not void and dir exists
in the system, $3 is executed; otherwise $4 is executed.
The test about the non voidness of dir is ok, but the test about the
existence of dir is wrong, I suspect because it confound runtime environment
and development environment: think about an user without scwm, or about a
developer which want compile, but not use, scwm.
Perhaps a warning would be more appropriate.

thanks

-- 
Francesco Tapparo                                 tapparo@mat.unimi.it
GNU fanatic                                       cesco@debian.org

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sat Jun 26 11:09:03 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA02926
	for scwm-discuss-outgoing; Sat, 26 Jun 1999 11:09:03 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from 209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com (root@207-172-216-27.s27.tnt1.sbo.ma.dialup.rcn.com [207.172.216.27])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA02899;
	Sat, 26 Jun 1999 11:08:45 -0400
Received: (from mstx@localhost)
	by 209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id HAA03455;
	Sat, 26 Jun 1999 07:35:07 -0400
To: scwm-discuss@serveuse.mit.edu, scwm-announce@serveuse.mit.edu
Subject: Scwm is back
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 26 Jun 1999 07:35:06 -0400
Message-ID: <m3iu8bgpp1.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com>
Lines: 22
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


Hi everyone,

After an excessively long downtime, the scwm web site, ftp site and
mail server are back at serveuse.mit.edu.

web:   http://serveuse.mit.edu
ftp:   ftp://serveuse.mit.edu/pub/scwm
mail:  scwm-discuss@serveuse.mit.edu, scwm-users@serveuse.mit.edu, etc


Sorry about the long downtime. There were a number of hardware
problems and I had trouble coordinating with the administrator of the
old machine to get the relevant data to a useful location.

I will now be working on restoring CVS access for developers, anoncvs,
nightly snapshots, etc.

Again, my personal apologies for the downtime.

 - Maciej


From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sat Jun 26 11:57:09 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA03132
	for scwm-discuss-outgoing; Sat, 26 Jun 1999 11:57:09 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA03129;
	Sat, 26 Jun 1999 11:57:07 -0400
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id MAA25180;
	Fri, 25 Jun 1999 12:24:04 -0400 (EDT)
Received: from alum.mit.edu (red-dwarf [139.181.3.115])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id MAA13486;
	Fri, 25 Jun 1999 12:35:37 -0400 (EDT)
Message-ID: <3773AF62.876B1D61@alum.mit.edu>
Date: Fri, 25 Jun 1999 12:33:38 -0400
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.04 [en] (WinNT; I)
MIME-Version: 1.0
To: scwm-discuss@serveuse.mit.edu, scwm-announce@serveuse.mit.edu
Subject: Scwm is back (sort of)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

As many of you have probably noticed, the scwm server has been down for
the
past five weeks. After more exciting adventures into the words of
ethernet,
SCSI, broken linux kernels and social engineering than I care to
mention,
I have the mailing lists, ftp site and web site back up.

The mailing lists are all now at serveuse.mit.edu (I am trying to get
a `scwm.mit.edu' name for this machine, also www.scwm.net (since
scwm.org
is taken)).

The web site is at http://serveuse.mit.edu

Some links may be tempoorarily broken, notably the mail archives. I do
have all the archived
mail but have not installed a list archiving facility yet. If anyone has
something
better than hypermail to plug, now's the time, otherwise I will just try
to
install hypermail on the new machine.

The ftp site is at ftp://serveuse.mit.edu/pub/scwm

I will now be focusing on restoring remote CVS access for the developers
and resotring the remaining bits of the ftp site, as well as fixing the
broken
links on the web site. I will fix the mail archives, nightly snapshots,
and anonymous ftp access as time permits.

Apologies for the long downtime. I have done my best to take measures to
ensure it does not happen again.

Also, if anyone would like to host offsite mirrors of all the scwm
stuff in case of future emergency, this would be greatly appreciated.

I do back up the repository regularly, but the last backup I had was
slightly out
of date, and I didn't have backups of the ftp site.

 - Maciej Stachowiak

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Mon Jun 28 03:53:57 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id DAA05319
	for scwm-discuss-outgoing; Mon, 28 Jun 1999 03:53:57 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from mailhostnew.tbit.dk (mailhostnew.tbit.dk [194.182.135.150])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA05316
	for <scwm-discuss@serveuse.mit.edu>; Mon, 28 Jun 1999 03:53:51 -0400
Received: from chl.tbit.dk (chl.tbit.dk [194.182.135.65])
	by mailhostnew.tbit.dk (8.9.3/8.9.3) with ESMTP id JAA28427
	for <scwm-discuss@serveuse.mit.edu>; Mon, 28 Jun 1999 09:53:50 +0200 (MET DST)
Received: from chl by chl.tbit.dk with local (Exim 2.11 #1 (Debian))
	for scwm-discuss@SERVEUSE.MIT.EDU
	id 10yWEf-0004DJ-00; Mon, 28 Jun 1999 09:53:49 +0200
To: scwm-discuss@serveuse.mit.edu
Subject: Re: Scwm is back
References: <m3iu8bgpp1.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com>
From: Christian Lynbech <chl@tbit.dk>
Date: 28 Jun 1999 09:53:49 +0200
In-Reply-To: Maciej Stachowiak's message of "26 Jun 1999 07:35:06 -0400"
Message-ID: <ofhfnsu5f6.fsf@chl.tbit.dk>
Lines: 12
User-Agent: Gnus/5.070088 (Pterodactyl Gnus v0.88) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Hooray, hooray.

How about declaring June 26 the international "SCWM is back from the dead" 
day to commemorate all the hard work Maciej has been trough :-)

---------------------------+--------------------------------------------------
Christian Lynbech          | Telebit Communications A/S                       
Fax:   +45 8628 8186       | Fabrikvej 11, DK-8260 Viby J
Phone: +45 8628 8177 + 28  | email: chl@tbit.dk --- URL: http://www.tbit.dk
---------------------------+--------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Tue Jun 29 17:59:57 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id RAA06716
	for scwm-discuss-outgoing; Tue, 29 Jun 1999 17:59:57 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA06713
	for <scwm-discuss@serveuse.mit.edu>; Tue, 29 Jun 1999 17:59:52 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA01015; Tue, 29 Jun 1999 14:59:46 -0700 (PDT)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Found the leak!!
From: Greg Badros <badros@cs.washington.edu>
Date: 29 Jun 1999 14:59:46 -0700
Message-ID: <qrrhfnq4qi5.fsf@elwha.cs.washington.edu>
Lines: 12
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

I found the leak (or at least a leak) that's been causing Scwm to grow
in process image size unbearably quickly:

guile-compat.c, around line 76 in function scm_internal_cwdr_no_unwind,
the scm_must_malloc of the inferior root continuation is not getting
freed.  This is a bit too guile-centric for me to know the proper fix,
but I think this is your code so perhaps you have a handle on what we
should be doing (or what we could do differently now that we don't care
about guile-1.2).

Thanks,
Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Tue Jun 29 23:05:03 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id XAA07184
	for scwm-discuss-outgoing; Tue, 29 Jun 1999 23:05:03 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from 209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com (mstx@207-172-97-187.s441.tnt2.sbo.ma.dialup.rcn.com [207.172.97.187])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id XAA07181
	for <scwm-discuss@serveuse.mit.edu>; Tue, 29 Jun 1999 23:04:57 -0400
Received: (from mstx@localhost)
	by 209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id TAA18941;
	Tue, 29 Jun 1999 19:36:50 -0400
To: Greg Badros <badros@cs.washington.edu>
Cc: Maciej Stachowiak <mstachow@alum.mit.edu>, scwm-discuss@serveuse.mit.edu
Subject: Re: Found the leak!!
References: <qrrhfnq4qi5.fsf@elwha.cs.washington.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 29 Jun 1999 19:36:47 -0400
In-Reply-To: Greg Badros's message of "29 Jun 1999 14:59:46 -0700"
Message-ID: <m3zp1ifuk0.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com>
Lines: 19
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Greg Badros <badros@cs.washington.edu> writes:

> I found the leak (or at least a leak) that's been causing Scwm to grow
> in process image size unbearably quickly:
> 
> guile-compat.c, around line 76 in function scm_internal_cwdr_no_unwind,
> the scm_must_malloc of the inferior root continuation is not getting
> freed.  This is a bit too guile-centric for me to know the proper fix,
> but I think this is your code so perhaps you have a handle on what we
> should be doing (or what we could do differently now that we don't care
> about guile-1.2).

OK, I will review this code as soon as the other scwm net services are
back (working on them now).

Thanks,

Maciej


From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jun 30 00:43:32 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id AAA07646
	for scwm-discuss-outgoing; Wed, 30 Jun 1999 00:43:32 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from 209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com (mstx@207-172-97-187.s441.tnt2.sbo.ma.dialup.rcn.com [207.172.97.187])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA07642
	for <scwm-discuss@serveuse.mit.edu>; Wed, 30 Jun 1999 00:43:27 -0400
Received: (from mstx@localhost)
	by 209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id VAA23394;
	Tue, 29 Jun 1999 21:15:34 -0400
To: scwm-discuss@serveuse.mit.edu, scwm-announce@mit.edu
Subject: anoncvs is back
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 29 Jun 1999 21:15:32 -0400
Message-ID: <m3vhc67akr.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com>
Lines: 16
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


You should be able to

cvs -d :pserver:anoncvs@serveuse.mit.edu:/anoncvs login

type `anoncvs' for the password, and

cvs -d :pserver:anoncvs@serveuse.mit.edu:/anoncvs co scwm


As before, the anoncvs repository will be mirrored from the master
every half hour.

 - Maciej



From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jun 30 01:37:50 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id BAA07814
	for scwm-discuss-outgoing; Wed, 30 Jun 1999 01:37:50 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from localhost.localdomain (h246.ozemail2.ozemail.com.au [203.108.14.246])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA07811
	for <scwm-discuss@serveuse.mit.edu>; Wed, 30 Jun 1999 01:37:43 -0400
Received: from ozemail.com.au (localhost [127.0.0.1])
	by localhost.localdomain (8.9.3/8.9.3) with ESMTP id PAA00933
	for <scwm-discuss@serveuse.mit.edu>; Wed, 30 Jun 1999 15:37:40 +1000
Message-ID: <3779AD24.18E1DFDC@ozemail.com.au>
Date: Wed, 30 Jun 1999 15:37:40 +1000
From: Chris Bitmead <cbitmead@ozemail.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.6 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@serveuse.mit.edu
Subject: Re: Found the leak!!
References: <qrrhfnq4qi5.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Can someone put up a recent-ish snapshot somewhere. I'm getting
desperate. Enlightenment is pushing me over the edge, and I couldn't get
scwm0.9 to work.

Greg Badros wrote:
> 
> I found the leak (or at least a leak) that's been causing Scwm to grow
> in process image size unbearably quickly:
> 
> guile-compat.c, around line 76 in function scm_internal_cwdr_no_unwind,
> the scm_must_malloc of the inferior root continuation is not getting
> freed.  This is a bit too guile-centric for me to know the proper fix,
> but I think this is your code so perhaps you have a handle on what we
> should be doing (or what we could do differently now that we don't care
> about guile-1.2).
> 
> Thanks,
> Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jun 30 08:47:26 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id IAA08342
	for scwm-discuss-outgoing; Wed, 30 Jun 1999 08:47:26 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from 209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com (mstx@207-172-216-150.s150.tnt1.sbo.ma.dialup.rcn.com [207.172.216.150])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id IAA08339
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Wed, 30 Jun 1999 08:47:21 -0400
Received: (from mstx@localhost)
	by 209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id FAA14314;
	Wed, 30 Jun 1999 05:19:28 -0400
To: Chris Bitmead <cbitmead@ozemail.com.au>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: Found the leak!!
References: <qrrhfnq4qi5.fsf@elwha.cs.washington.edu> <3779AD24.18E1DFDC@ozemail.com.au>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 30 Jun 1999 05:19:28 -0400
In-Reply-To: Chris Bitmead's message of "Wed, 30 Jun 1999 15:37:40 +1000"
Message-ID: <m3iu866o67.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com>
Lines: 13
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Chris Bitmead <cbitmead@ozemail.com.au> writes:

> Can someone put up a recent-ish snapshot somewhere. I'm getting
> desperate. Enlightenment is pushing me over the edge, and I couldn't get
> scwm0.9 to work.
> 

The latest from anoncvs should work OK. Also I will try to get the
snapshot script going soon. Does anyone have an up to date copy? The
only copy I see appears to be somewhat old.

 - Maciej


From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jun 30 09:18:06 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id JAA08506
	for scwm-discuss-outgoing; Wed, 30 Jun 1999 09:18:06 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from localhost (root@client-127-6.bellatlantic.net [151.198.127.6])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA08503
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Wed, 30 Jun 1999 09:18:01 -0400
Received: from bellatlantic.net (IDENT:alan1@localhost [127.0.0.1])
	by localhost (8.9.3/8.9.3) with ESMTP id JAA04984
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Wed, 30 Jun 1999 09:18:28 -0400
Message-ID: <377A1922.46F3422D@bellatlantic.net>
Date: Wed, 30 Jun 1999 09:18:27 -0400
From: Alan Reynolds <alan1@bellatlantic.net>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.10 ppc)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@serveuse.mit.edu
Subject: Re: anoncvs is back
References: <m3vhc67akr.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Maciej Stachowiak wrote:

> You should be able to
>
> cvs -d :pserver:anoncvs@serveuse.mit.edu:/anoncvs login
>
> type `anoncvs' for the password, and
>
> cvs -d :pserver:anoncvs@serveuse.mit.edu:/anoncvs co scwm
>
> As before, the anoncvs repository will be mirrored from the master
> every half hour.
>
>  - Maciej

Yippee!

I seem to be having a small problem with the checkout:

U scwm/scheme/auto-raise.scm
U scwm/scheme/base.scm
U scwm/scheme/bincomm.scm
cvs [server aborted]: unable to parse
/anoncvs/scwm/scheme/cascade.scm,v; `author' not in the expected place

Here's the CVS particulars:

[root@alan1 scwm]# cvs -v

Concurrent Versions System (CVS) 1.10.5 (client/server)

Have fun,
--
Alan Reynolds@home



From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jun 30 09:24:48 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id JAA08580
	for scwm-discuss-outgoing; Wed, 30 Jun 1999 09:24:48 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from mons.uio.no (6089@mons.uio.no [129.240.130.14])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id JAA08577
	for <scwm-discuss@serveuse.mit.edu>; Wed, 30 Jun 1999 09:24:43 -0400
Received: from mons.uio.no (actually mons.uio.no [129.240.130.14]) by mons.uio.no with SMTP (PP); Wed, 30 Jun 1999 15:24:34 +0200
Received: from octarine.uio.no ([129.240.186.25]) by mons.uio.no with esmtp (Exim 2.12 #6) id 10zKLp-0002v5-00;
          Wed, 30 Jun 1999 15:24:33 +0200
Received: from hmeland by octarine.uio.no with local (Exim 2.12 #6) id 10zKLo-0002YJ-00; Wed, 30 Jun 1999 15:24:32 +0200
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: Found the leak!!
References: <qrrhfnq4qi5.fsf@elwha.cs.washington.edu> <3779AD24.18E1DFDC@ozemail.com.au> <m3iu866o67.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com>
From: Harald Meland <Harald.Meland@usit.uio.no>
Date: 30 Jun 1999 15:24:32 +0200
In-Reply-To: Maciej Stachowiak's message of "30 Jun 1999 05:19:28 -0400"
Message-ID: <d6dlnd1izxr.fsf@octarine.uio.no>
Lines: 28
User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

[Maciej Stachowiak]

> Chris Bitmead <cbitmead@ozemail.com.au> writes:
> 
> > Can someone put up a recent-ish snapshot somewhere. I'm getting
> > desperate. Enlightenment is pushing me over the edge, and I couldn't get
> > scwm0.9 to work.
> > 
> 
> The latest from anoncvs should work OK.

I'm having troubles getting the long-sought, much-missed "latest from
anoncvs".  Doing a fresh checkout like this:

  octarine$ cvs -d :pserver:anoncvs@serveuse.mit.edu:/anoncvs login
  (Logging in to anoncvs@serveuse.mit.edu)
  CVS password: 
  octarine$ cvs -d :pserver:anoncvs@serveuse.mit.edu:/anoncvs co scwm
  cvs server: Updating scwm
  U scwm/.cvsignore
  [...]
  U scwm/scheme/base.scm
  U scwm/scheme/bincomm.scm
  cvs [server aborted]: unable to parse /anoncvs/scwm/scheme/cascade.scm,v; `author' not in the expected place

fails, for some reason.
-- 
Harald

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jun 30 11:18:26 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA08882
	for scwm-discuss-outgoing; Wed, 30 Jun 1999 11:18:26 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA08879
	for <scwm-discuss@serveuse.mit.edu>; Wed, 30 Jun 1999 11:18:21 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA21635; Wed, 30 Jun 1999 08:18:17 -0700 (PDT)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@serveuse.mit.edu
Subject: snapshot-script [was Re: Found the leak!!]
References: <qrrhfnq4qi5.fsf@elwha.cs.washington.edu> <3779AD24.18E1DFDC@ozemail.com.au> <m3iu866o67.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Jun 1999 08:18:16 -0700
In-Reply-To: Maciej Stachowiak's message of "30 Jun 1999 05:19:28 -0400"
Message-ID: <qrrlnd13efb.fsf_-_@elwha.cs.washington.edu>
Lines: 13
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> The latest from anoncvs should work OK. Also I will try to get the
> snapshot script going soon. Does anyone have an up to date copy? The
> only copy I see appears to be somewhat old.

I have two copies of the script-- one called "make-scwm-snap" file dated 
15-Sep-1998, the other "scwm-snapshot-maker" from 24-Jun-1998.  I just
copied  the former to my ftp site:

ftp://ftp.cs.washington.edu:/homes/gjb

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jun 30 11:29:57 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA09204
	for scwm-discuss-outgoing; Wed, 30 Jun 1999 11:29:57 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA09201
	for <scwm-discuss@serveuse.mit.edu>; Wed, 30 Jun 1999 11:29:51 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA22196; Wed, 30 Jun 1999 08:29:45 -0700 (PDT)
To: Harald Meland <Harald.Meland@usit.uio.no>
Cc: Maciej Stachowiak <mstachow@alum.mit.edu>, scwm-discuss@serveuse.mit.edu
Subject: anoncvs [was Re: Found the leak!!]
References: <qrrhfnq4qi5.fsf@elwha.cs.washington.edu> <3779AD24.18E1DFDC@ozemail.com.au> <m3iu866o67.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <d6dlnd1izxr.fsf@octarine.uio.no>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Jun 1999 08:29:45 -0700
In-Reply-To: Harald Meland's message of "30 Jun 1999 15:24:32 +0200"
Message-ID: <qrrhfnp3dw6.fsf_-_@elwha.cs.washington.edu>
Lines: 32
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Harald Meland <Harald.Meland@usit.uio.no> writes:

> I'm having troubles getting the long-sought, much-missed "latest from
> anoncvs".  Doing a fresh checkout like this:
> 
>   octarine$ cvs -d :pserver:anoncvs@serveuse.mit.edu:/anoncvs login
>   (Logging in to anoncvs@serveuse.mit.edu)
>   CVS password: 
>   octarine$ cvs -d :pserver:anoncvs@serveuse.mit.edu:/anoncvs co scwm
>   cvs server: Updating scwm
>   U scwm/.cvsignore
>   [...]
>   U scwm/scheme/base.scm
>   U scwm/scheme/bincomm.scm
>   cvs [server aborted]: unable to parse /anoncvs/scwm/scheme/cascade.scm,v; `author' not in the expected place
> 
> fails, for some reason.

Looks like the anoncvs repo was not in sync (at all!) with the developer's
repository.  I just did an rsync by hand on the server (Maciej, what are 
you using to update the anoncvs from the real repo?  I did:

cd /usr/local/anoncvs/anoncvs
rsync -avz /usr/local/repository/scwm .

and then my anon cvs checkout worked fine (I could reproduce the failure 
before my rsync).

Not sure how long this will work if the script that copies the archive
does the wrong thing (might be broken again within 30 minutes).

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jun 30 19:28:15 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id TAA10412
	for scwm-discuss-outgoing; Wed, 30 Jun 1999 19:28:15 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from 209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com (mstx@207-172-255-197.s197.tnt2.sbo.ma.dialup.rcn.com [207.172.255.197])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA10409
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Wed, 30 Jun 1999 19:28:09 -0400
Received: (from mstx@localhost)
	by 209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id PAA10428;
	Wed, 30 Jun 1999 15:57:15 -0400
To: Alan Reynolds <alan1@bellatlantic.net>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: anoncvs is back
References: <m3vhc67akr.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <377A1922.46F3422D@bellatlantic.net>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 30 Jun 1999 15:57:15 -0400
In-Reply-To: Alan Reynolds's message of "Wed, 30 Jun 1999 09:18:27 -0400"
Message-ID: <m3g139wjfo.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com>
Lines: 41
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Alan Reynolds <alan1@bellatlantic.net> writes:

> Maciej Stachowiak wrote:
> 
> > You should be able to
> >
> > cvs -d :pserver:anoncvs@serveuse.mit.edu:/anoncvs login
> >
> > type `anoncvs' for the password, and
> >
> > cvs -d :pserver:anoncvs@serveuse.mit.edu:/anoncvs co scwm
> >
> > As before, the anoncvs repository will be mirrored from the master
> > every half hour.
> >
> >  - Maciej
> 
> Yippee!
> 
> I seem to be having a small problem with the checkout:
> 
> U scwm/scheme/auto-raise.scm
> U scwm/scheme/base.scm
> U scwm/scheme/bincomm.scm
> cvs [server aborted]: unable to parse
> /anoncvs/scwm/scheme/cascade.scm,v; `author' not in the expected place
> 
> Here's the CVS particulars:
> 
> [root@alan1 scwm]# cvs -v
> 
> Concurrent Versions System (CVS) 1.10.5 (client/server)
> 

I believe I fixed your problem shortly after you sent your
message. Please try again.

 - Maciej




From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jun 30 19:29:08 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id TAA10424
	for scwm-discuss-outgoing; Wed, 30 Jun 1999 19:29:08 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from 209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com (mstx@207-172-255-197.s197.tnt2.sbo.ma.dialup.rcn.com [207.172.255.197])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA10421
	for <scwm-discuss@serveuse.mit.edu>; Wed, 30 Jun 1999 19:29:04 -0400
Received: (from mstx@localhost)
	by 209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id QAA10563;
	Wed, 30 Jun 1999 16:01:20 -0400
To: Greg Badros <gjb@cs.washington.edu>
Cc: Harald Meland <Harald.Meland@usit.uio.no>,
        Maciej Stachowiak <mstachow@alum.mit.edu>,
        scwm-discuss@serveuse.mit.edu
Subject: Re: anoncvs [was Re: Found the leak!!]
References: <qrrhfnq4qi5.fsf@elwha.cs.washington.edu> <3779AD24.18E1DFDC@ozemail.com.au> <m3iu866o67.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <d6dlnd1izxr.fsf@octarine.uio.no> <qrrhfnp3dw6.fsf_-_@elwha.cs.washington.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 30 Jun 1999 16:01:19 -0400
In-Reply-To: Greg Badros's message of "30 Jun 1999 08:29:45 -0700"
Message-ID: <m3emitwj8w.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com>
Lines: 43
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Harald Meland <Harald.Meland@usit.uio.no> writes:
> 
> > I'm having troubles getting the long-sought, much-missed "latest from
> > anoncvs".  Doing a fresh checkout like this:
> > 
> >   octarine$ cvs -d :pserver:anoncvs@serveuse.mit.edu:/anoncvs login
> >   (Logging in to anoncvs@serveuse.mit.edu)
> >   CVS password: 
> >   octarine$ cvs -d :pserver:anoncvs@serveuse.mit.edu:/anoncvs co scwm
> >   cvs server: Updating scwm
> >   U scwm/.cvsignore
> >   [...]
> >   U scwm/scheme/base.scm
> >   U scwm/scheme/bincomm.scm
> >   cvs [server aborted]: unable to parse /anoncvs/scwm/scheme/cascade.scm,v; `author' not in the expected place
> > 
> > fails, for some reason.
> 
> Looks like the anoncvs repo was not in sync (at all!) with the developer's
> repository.  I just did an rsync by hand on the server (Maciej, what are 
> you using to update the anoncvs from the real repo?  I did:
> 
> cd /usr/local/anoncvs/anoncvs
> rsync -avz /usr/local/repository/scwm .
> 
> and then my anon cvs checkout worked fine (I could reproduce the failure 
> before my rsync).
> 
> Not sure how long this will work if the script that copies the archive
> does the wrong thing (might be broken again within 30 minutes).
> 

I had this entry in root's crontab:

5,35 * * * * nice -n 19 /usr/local/bin/rsync -rpog --delete /usr/local/repository/scwm/ /usr/local/anoncvs/anoncvs/scwm

Which I have now corrected to this:

5,35 * * * * nice -n 19 /usr/bin/rsync -rpog --delete /usr/local/repository/scwm/ /usr/local/anoncvs/anoncvs/scwm

 - Maciej

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jun 30 19:29:56 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id TAA10469
	for scwm-discuss-outgoing; Wed, 30 Jun 1999 19:29:56 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from 209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com (mstx@207-172-255-197.s197.tnt2.sbo.ma.dialup.rcn.com [207.172.255.197])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA10463
	for <scwm-discuss@serveuse.mit.edu>; Wed, 30 Jun 1999 19:29:52 -0400
Received: (from mstx@localhost)
	by 209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id QAA10592;
	Wed, 30 Jun 1999 16:02:10 -0400
To: Harald Meland <Harald.Meland@usit.uio.no>
Cc: Maciej Stachowiak <mstachow@alum.mit.edu>, scwm-discuss@serveuse.mit.edu
Subject: Re: Found the leak!!
References: <qrrhfnq4qi5.fsf@elwha.cs.washington.edu> <3779AD24.18E1DFDC@ozemail.com.au> <m3iu866o67.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <d6dlnd1izxr.fsf@octarine.uio.no>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 30 Jun 1999 16:02:10 -0400
In-Reply-To: Harald Meland's message of "30 Jun 1999 15:24:32 +0200"
Message-ID: <m3d7ydwj7h.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com>
Lines: 6
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


I guess Greg probably fixed the bincomm problem, but in any case, I
think the cron job to sync things up is better now.

 - Maciej


From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jun 30 21:35:56 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id VAA10748
	for scwm-discuss-outgoing; Wed, 30 Jun 1999 21:35:56 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from localhost.localdomain (h246.ozemail2.ozemail.com.au [203.108.14.246])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA10745
	for <scwm-discuss@serveuse.mit.edu>; Wed, 30 Jun 1999 21:35:48 -0400
Received: from ozemail.com.au (localhost [127.0.0.1])
	by localhost.localdomain (8.9.3/8.9.3) with ESMTP id LAA02519;
	Thu, 1 Jul 1999 11:35:34 +1000
Message-ID: <377AC5E6.23F49FA2@ozemail.com.au>
Date: Thu, 01 Jul 1999 11:35:34 +1000
From: Chris Bitmead <cbitmead@ozemail.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.6 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Maciej Stachowiak <mstachow@alum.mit.edu>
CC: scwm-discuss@serveuse.mit.edu, scwm-announce@mit.edu
Subject: Re: anoncvs is back
References: <m3vhc67akr.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

I just downloaded via CVS but there is no configure script included.

Maciej Stachowiak wrote:
> 
> You should be able to
> 
> cvs -d :pserver:anoncvs@serveuse.mit.edu:/anoncvs login
> 
> type `anoncvs' for the password, and
> 
> cvs -d :pserver:anoncvs@serveuse.mit.edu:/anoncvs co scwm
> 
> As before, the anoncvs repository will be mirrored from the master
> every half hour.
> 
>  - Maciej

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jun 30 23:29:40 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id XAA10890
	for scwm-discuss-outgoing; Wed, 30 Jun 1999 23:29:40 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id XAA10887
	for <scwm-discuss@serveuse.mit.edu>; Wed, 30 Jun 1999 23:29:35 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id UAA27965; Wed, 30 Jun 1999 20:29:26 -0700 (PDT)
To: Chris Bitmead <cbitmead@ozemail.com.au>
Cc: Maciej Stachowiak <mstachow@alum.mit.edu>, scwm-discuss@serveuse.mit.edu,
        scwm-announce@mit.edu
Subject: Re: anoncvs is back
References: <m3vhc67akr.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <377AC5E6.23F49FA2@ozemail.com.au>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Jun 1999 20:29:26 -0700
In-Reply-To: Chris Bitmead's message of "Thu, 01 Jul 1999 11:35:34 +1000"
Message-ID: <qrr67453v55.fsf@elwha.cs.washington.edu>
Lines: 10
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Chris Bitmead <cbitmead@ozemail.com.au> writes:

> I just downloaded via CVS but there is no configure script included.

>From CVS, you need to use "./autogen.sh" to build the configure script-- 
building from CVS requires a couple extra tools like
automake/autoconf/libtool.  The HACKING file vaguely mentions this, but
we should document it better.

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  1 03:12:28 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id DAA11076
	for scwm-discuss-outgoing; Thu, 1 Jul 1999 03:12:28 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from localhost.localdomain (h246.ozemail2.ozemail.com.au [203.108.14.246])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA11073
	for <scwm-discuss@serveuse.mit.edu>; Thu, 1 Jul 1999 03:12:20 -0400
Received: from ozemail.com.au (localhost [127.0.0.1])
	by localhost.localdomain (8.9.3/8.9.3) with ESMTP id RAA07612;
	Thu, 1 Jul 1999 17:07:03 +1000
Message-ID: <377B1396.D2D841AF@ozemail.com.au>
Date: Thu, 01 Jul 1999 17:07:02 +1000
From: Chris Bitmead <cbitmead@ozemail.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.6 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
CC: Maciej Stachowiak <mstachow@alum.mit.edu>, scwm-discuss@serveuse.mit.edu,
        scwm-announce@mit.edu
Subject: Re: anoncvs is back
References: <m3vhc67akr.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <377AC5E6.23F49FA2@ozemail.com.au> <qrr67453v55.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

I've tried building scwm on two different computers, both running RedHat
6.0, trying to use both the installed guile (1.3) as well as 1.3.1.
When running the resulting binary I get...

./scwm/scwm: error in loading shared libraries: ./scwm/scwm: undefined
symbol: scm_thread_count

I've also tried using the --with-threads to configure scwm as well as
without.

Any ideas?

Greg Badros wrote:
> 
> Chris Bitmead <cbitmead@ozemail.com.au> writes:
> 
> > I just downloaded via CVS but there is no configure script included.
> 
> >From CVS, you need to use "./autogen.sh" to build the configure script--
> building from CVS requires a couple extra tools like
> automake/autoconf/libtool.  The HACKING file vaguely mentions this, but
> we should document it better.
> 
> Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  1 08:30:22 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id IAA11581
	for scwm-discuss-outgoing; Thu, 1 Jul 1999 08:30:22 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from zappa. (root@dialup-t1-390.Melbourne.netspace.net.au [210.15.251.136])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id IAA11578
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Thu, 1 Jul 1999 08:30:12 -0400
Received: from localhost (8286 bytes) by zappa.
	via sendmail with P:stdio/R:internet_hosts/T:smtp
	(sender: <ggt>) (ident <ggt> using unix)
	id <m10zfeg-002SuOC@zappa.>
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Thu, 1 Jul 1999 22:09:26 +1000 (EST)
	(Smail-3.2.0.101 1997-Dec-17 #1 built 1998-Aug-25)
Message-Id: <m10zfeg-002SuOC@zappa.>
Date: Thu, 1 Jul 1999 22:09:26 +1000 (EST)
From: ggt@netspace.net.au (Glenn Trigg)
X-Mailer: Privtool [V0.90 Beta GT006] (i586-pc-linux-gnu/Gtk+)
In-Reply-To: <qrrhfnq4qi5.fsf@elwha.cs.washington.edu> from "Greg Badros <badros@cs.washington.edu>"
Reply-To: ggt@linuxfan.com
Subject: scwm & gimp
To: badros@cs.washington.edu, mstachow@alum.mit.edu
Cc: scwm-discuss@serveuse.mit.edu
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

It's good to have scwm back on line, I was getting "cvs up" withdrawals!

I'm still getting some crashes occuring which are definately gimp related.
I'm running scwm version (cvs up of about 2 hours ago) & gimp version 1.0.4.

Here's the output from scwm (note that it tries really hard to recover from
this, it eventually starts showing new windows with the default fvwm borders
and sometimes with wierd border colours... but alas, it finally gets too much
and either hangs or crashes.)

----Start of scwm output------
Imlib Init

(dlopening "libguilegtk-1.2.so" "/usr/lib/libguilegtk-1.2.so")X Error of failed request:  BadPixmap (invalid Pixmap parameter)
  Major opcode of failed request:  54 (X_FreePixmap)
  Resource id in failed request:  0x1800009
  Serial number of failed request:  8571
  Current serial number in output stream:  8616

Backtrace:
0* [sync-and-add-timer-hook]
1* [scwm-gtk-sync]
2  (if (= 0 (X-server-grabs)) (letrec (# #) (catch # # ...)))
   ...
3  [catch break #<procedure ()> ...]

ERROR: In procedure catch in expression (catch (quote break) (lambda () #) ...):
ERROR: rogue pointer in heap

Backtrace:
0* [#<procedure (win)> #<window 25166859: "xpm">]
1* [apply-style (#(#<procedure always? #> () ()) #(#<procedure always? #> () ()) #(#<procedure always? #> # #) ...) #<window 25166859: "xpm">]
2  [apply-style-internal (#(#<procedure always? #> () ()) #(#<procedure always? #> () ()) #(#<procedure always? #> # #) ...) #<window 25166859: "xpm"> ...]
3  [for-each #<procedure (se)> (#(#<procedure always? #> () ()) #(#<procedure always? #> () ()) #(#<procedure always? #> # #) ...)]
4* [#<procedure (se)> #(#<procedure always? (w)> (# # # ...) (# # # ...))]
5* (if ((style-entry:condition se) win) (for-each (lambda # #) (stype se)))
6  [for-each #<procedure (o)> ((fg . "grey60") (bg . "#575757") (border-width . 4) ...)]
7* [#<procedure (o)> (fg . "grey60")]
8* [set-window-foreground! "grey60" #<window 25166859: "xpm">]

ERROR: In procedure set-window-foreground! in expression ((style-option:handler #) (cdr o) win):
ERROR: Wrong type argument in position 1: #<freed cell 0x403e1d10; GC missed a reference>

Backtrace:
0* [#<procedure (win)> #<window 25166864: "folderwin.xpm-3.0 (RGB-alpha)">]
1* [apply-style (#(#<procedure always? #> () ()) #(#<procedure always? #> () ()) #(#<procedure always? #> # #) ...) #<window 25166864: "folderwin.xpm-3.0 (RGB-alpha)">]
2  [apply-style-internal (#(#<procedure always? #> () ()) #(#<procedure always? #> () ()) #(#<procedure always? #> # #) ...) #<window 25166864: "folderwin.xpm-3.0 (RGB-alpha)"> ...]
3  [for-each #<procedure (se)> (#(#<procedure always? #> () ()) #(#<procedure always? #> () ()) #(#<procedure always? #> # #) ...)]
4* [#<procedure (se)> #(#<procedure always? (w)> (# # # ...) (# # # ...))]
5* (if ((style-entry:condition se) win) (for-each (lambda # #) (stype se)))
6  [for-each #<procedure (o)> ((fg . "grey60") (bg . "#575757") (border-width . 4) ...)]
7* [#<procedure (o)> (fg . "grey60")]
8* [set-window-foreground! "grey60" #<window 25166864: "folderwin.xpm-3.0 (RGB-alpha)">]

ERROR: In procedure set-window-foreground! in expression ((style-option:handler #) (cdr o) win):
ERROR: Wrong type argument in position 1: #<freed cell 0x403e1d10; GC missed a reference>
[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
[Scwm][SigDoneSegv]: <<ERROR>> Trying to continue... save your work if you still can!
[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
[Scwm][SigDoneSegv]: <<ERROR>> Trying to continue... save your work if you still can!
[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
[Scwm][SigDoneSegv]: <<ERROR>> Trying to continue... save your work if you still can!
[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
[Scwm][SigDoneSegv]: <<ERROR>> Trying to continue... save your work if you still can!
[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
[Scwm][SigDoneSegv]: <<ERROR>> Trying to continue... save your work if you still can!
[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
[Scwm][SigDoneSegv]: <<ERROR>> Trying to continue... save your work if you still can!

Backtrace:
0* [#<procedure (win)> #<window 25166912: "New Layer Options">]
1* [apply-style (#(#<procedure always? #> () ()) #(#<procedure always? #> () ()) #(#<procedure always? #> # #) ...) #<window 25166912: "New Layer Options">]
2  [apply-style-internal (#(#<procedure always? #> () ()) #(#<procedure always? #> () ()) #(#<procedure always? #> # #) ...) #<window 25166912: "New Layer Options"> ...]
3  [for-each #<procedure (se)> (#(#<procedure always? #> () ()) #(#<procedure always? #> () ()) #(#<procedure always? #> # #) ...)]
4* [#<procedure (se)> #(#<procedure always? (w)> (# # # ...) (# # # ...))]
5* (if ((style-entry:condition se) win) (for-each (lambda # #) (stype se)))
6  [for-each #<procedure (o)> ((fg . "grey60") (bg . "#575757") (border-width . 4) ...)]
7* [#<procedure (o)> (fg . "grey60")]
8* [set-window-foreground! "grey60" #<window 25166912: "New Layer Options">]

ERROR: In procedure set-window-foreground! in expression ((style-option:handler #) (cdr o) win):
ERROR: Wrong type argument in position 1: #<freed cell 0x403e1d10; GC missed a reference>
[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
[Scwm][SigDoneSegv]: <<ERROR>> Trying to continue... save your work if you still can!
[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
[Scwm][SigDoneSegv]: <<ERROR>> Trying to continue... save your work if you still can!
[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
[Scwm][SigDoneSegv]: <<ERROR>> Trying to continue... save your work if you still can!
[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
[Scwm][SigDoneSegv]: <<ERROR>> Trying to continue... save your work if you still can!
[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
[Scwm][SigDoneSegv]: <<ERROR>> Trying to continue... save your work if you still can!
[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
[Scwm][SigDoneSegv]: <<ERROR>> Trying to continue... save your work if you still can!
[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
[Scwm][SigDoneSegv]: <<ERROR>> Trying to continue... save your work if you still can!
[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
[Scwm][SigDoneSegv]: <<ERROR>> Trying to continue... save your work if you still can!
[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
[Scwm][SigDoneSegv]: <<ERROR>> Trying to continue... save your work if you still can!
[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
[Scwm][SigDoneSegv]: <<ERROR>> Trying to continue... save your work if you still can!
[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
[Scwm][SigDoneSegv]: <<ERROR>> Trying to continue... save your work if you still can!

/usr/X11R6/lib/gimp/1.0/plug-ins/script-fu: Hangup caught
xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"

Gdk-ERROR **: an x io error occurred
aborting...
gimp terminated: sighup caught
gimp terminated: sigabrt caught
----End of scwm output----

Regards,

Glenn

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  1 10:29:11 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id KAA11736
	for scwm-discuss-outgoing; Thu, 1 Jul 1999 10:29:11 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from blinky.bfr.co.il (hjstein@morannon.bfr.co.il [192.116.142.129])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA11733
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Thu, 1 Jul 1999 10:29:05 -0400
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id RAA00849; Thu, 1 Jul 1999 17:28:34 +0300
To: Chris Bitmead <cbitmead@ozemail.com.au>
Cc: Greg Badros <gjb@cs.washington.edu>,
        Maciej Stachowiak <mstachow@alum.mit.edu>,
        scwm-discuss@serveuse.mit.edu, scwm-announce@mit.edu
Subject: Re: anoncvs is back
References: <m3vhc67akr.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <377AC5E6.23F49FA2@ozemail.com.au> <qrr67453v55.fsf@elwha.cs.washington.edu> <377B1396.D2D841AF@ozemail.com.au>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 01 Jul 1999 17:28:33 +0300
In-Reply-To: Chris Bitmead's message of "Thu, 01 Jul 1999 17:07:02 +1000"
Message-ID: <m21zesjvfy.fsf@blinky.bfr.co.il>
Lines: 10
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


I've tried building on RH6.0 & I get a core dump when I run it.  I
wanted to rebuild with debugging, but the clean targets fail to work.
The make dist failed too (no distdir target in Makefile in pixmaps
subdirectory).

-- 
Harvey J. Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  1 11:00:40 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA11920
	for scwm-discuss-outgoing; Thu, 1 Jul 1999 11:00:40 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA11917
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Thu, 1 Jul 1999 11:00:35 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id HAA01818; Thu, 1 Jul 1999 07:59:19 -0700 (PDT)
To: ggt@linuxfan.com
Cc: mstachow@alum.mit.edu, scwm-discuss@serveuse.mit.edu
Subject: Re: scwm & gimp
References: <m10zfeg-002SuOC@zappa.>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Jul 1999 07:59:18 -0700
In-Reply-To: ggt@netspace.net.au's message of "Thu, 1 Jul 1999 22:09:26 +1000 (EST)"
Message-ID: <qrraetgs9fc.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

ggt@netspace.net.au (Glenn Trigg) writes:

> It's good to have scwm back on line, I was getting "cvs up" withdrawals!
> 
> I'm still getting some crashes occuring which are definately gimp related.
> I'm running scwm version (cvs up of about 2 hours ago) & gimp version 1.0.4.
> 
> Here's the output from scwm (note that it tries really hard to recover from
> this, it eventually starts showing new windows with the default fvwm borders
> and sometimes with wierd border colours... but alas, it finally gets too much
> and either hangs or crashes.)

<snip>

> ERROR: In procedure catch in expression (catch (quote break) (lambda () #) ...):
> ERROR: rogue pointer in heap

Hmmm... this definitely looks bad.  I'll have to understand guile's code 
a bit better to figure out what is going wrong here.  

<snip>

> ERROR: In procedure set-window-foreground! in expression ((style-option:handler #) (cdr o) win):
> ERROR: Wrong type argument in position 1: #<freed cell 0x403e1d10; GC missed a reference>

Also an atypical, very-internal (read hard-to-find) bug.

Thanks for the reports!

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  1 11:22:35 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA12039
	for scwm-discuss-outgoing; Thu, 1 Jul 1999 11:22:35 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA12036
	for <scwm-discuss@serveuse.mit.edu>; Thu, 1 Jul 1999 11:22:30 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA02939; Thu, 1 Jul 1999 08:22:16 -0700 (PDT)
To: Chris Bitmead <cbitmead@ozemail.com.au>
Cc: Maciej Stachowiak <mstachow@alum.mit.edu>, scwm-discuss@serveuse.mit.edu,
        scwm-announce@mit.edu
Subject: Re: anoncvs is back
References: <m3vhc67akr.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <377AC5E6.23F49FA2@ozemail.com.au> <qrr67453v55.fsf@elwha.cs.washington.edu> <377B1396.D2D841AF@ozemail.com.au>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Jul 1999 08:22:15 -0700
In-Reply-To: Chris Bitmead's message of "Thu, 01 Jul 1999 17:07:02 +1000"
Message-ID: <qrrvhc4qtso.fsf@elwha.cs.washington.edu>
Lines: 28
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Chris Bitmead <cbitmead@ozemail.com.au> writes:

> I've tried building scwm on two different computers, both running RedHat
> 6.0, trying to use both the installed guile (1.3) as well as 1.3.1.
> When running the resulting binary I get...
> 
> ./scwm/scwm: error in loading shared libraries: ./scwm/scwm: undefined
> symbol: scm_thread_count
> 
> I've also tried using the --with-threads to configure scwm as well as
> without.

You mean to configure guile?  Scwm doesn't have a --with-threads
configure option.

> Any ideas?

It sounds like USE_THREADS and USE_COOP_THREADS are defined when you
compile Scwm, but not when you built guile.  Either re-build guile after 
re-configuring it --with-threads (and be sure you're linking against the 
new build of guile) or try to figure out why Scwm is including the
"libguile/threads.h" header from libguile.h (it's inside a USE_THREADS)
#ifdef.

Please report back what you find so we can help others with this same
difficulty.

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  1 11:34:51 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA12120
	for scwm-discuss-outgoing; Thu, 1 Jul 1999 11:34:51 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from blinky.bfr.co.il (hjstein@morannon.bfr.co.il [192.116.142.129])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA12117
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Thu, 1 Jul 1999 11:34:45 -0400
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id SAA01866; Thu, 1 Jul 1999 18:34:24 +0300
To: Chris Bitmead <cbitmead@ozemail.com.au>
Cc: Greg Badros <gjb@cs.washington.edu>,
        Maciej Stachowiak <mstachow@alum.mit.edu>,
        scwm-discuss@serveuse.mit.edu, scwm-announce@mit.edu
Subject: Re: anoncvs is back
References: <m3vhc67akr.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <377AC5E6.23F49FA2@ozemail.com.au> <qrr67453v55.fsf@elwha.cs.washington.edu> <377B1396.D2D841AF@ozemail.com.au> <m21zesjvfy.fsf@blinky.bfr.co.il>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 01 Jul 1999 18:34:24 +0300
In-Reply-To: hjstein@bfr.co.il's message of "01 Jul 1999 17:28:33 +0300"
Message-ID: <m2n1xgidtr.fsf@blinky.bfr.co.il>
Lines: 35
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

 > I've tried building on RH6.0 & I get a core dump when I run it.  I
 > wanted to rebuild with debugging, but the clean targets fail to work.
 > The make dist failed too (no distdir target in Makefile in pixmaps
 > subdirectory).

Here's the core dump backtrace:

#0  0x402ecf7d in _IO_setvbuf (fp=0x40383400, buf=0x0, mode=2, size=0)
    at iosetvbuf.c:92
iosetvbuf.c:92: No such file or directory.
(gdb) bt
#0  0x402ecf7d in _IO_setvbuf (fp=0x40383400, buf=0x0, mode=2, size=0)
    at iosetvbuf.c:92
#1  0x40127735 in scm_setbuf0 ()
#2  0x40127eb3 in scm_stdio_to_port ()
#3  0x40127f39 in scm_standard_stream_to_port ()
#4  0x4012eaad in scm_init_standard_ports ()
#5  0x4012edec in scm_boot_guile_1 ()
#6  0x4012ebf9 in scm_boot_guile ()
#7  0x4012c6a8 in gh_enter ()
#8  0x80739df in main (argc=1, argv=0xbffffa44) at scwm.c:518
#9  0x402b2cb3 in __libc_start_main (main=0x80739cc <main>, argc=1, 
    argv=0xbffffa44, init=0x8054ebc <_init>, fini=0x807ff1c <_fini>, 
    rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffa3c)
    at ../sysdeps/generic/libc-start.c:78

This is on RH6.0, guile 1.3-10 from suse (because the Redhat one
didn't include the guile-config or guile-snarf script).

-- 
Harvey J. Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  1 11:38:41 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA12171
	for scwm-discuss-outgoing; Thu, 1 Jul 1999 11:38:41 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA12168
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Thu, 1 Jul 1999 11:38:36 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA03728; Thu, 1 Jul 1999 08:38:18 -0700 (PDT)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: Maciej Stachowiak <mstachow@alum.mit.edu>, scwm-discuss@serveuse.mit.edu
Subject: Re: anoncvs is back
References: <m3vhc67akr.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <377AC5E6.23F49FA2@ozemail.com.au> <qrr67453v55.fsf@elwha.cs.washington.edu> <377B1396.D2D841AF@ozemail.com.au> <m21zesjvfy.fsf@blinky.bfr.co.il> <m2n1xgidtr.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Jul 1999 08:38:17 -0700
In-Reply-To: hjstein@bfr.co.il's message of "01 Jul 1999 18:34:24 +0300"
Message-ID: <qrriu84qt1y.fsf@elwha.cs.washington.edu>
Lines: 13
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> This is on RH6.0, guile 1.3-10 from suse (because the Redhat one
> didn't include the guile-config or guile-snarf script).

Your problem is almost definitely a guile library mismatch of some
sorts.  I was confused, too, about the lack of guile-config and
guile-snarf in RH6 after installing guile.  Turns out that there is a
guile-devel-1.3-6 (-6 is what I have, go with more recent if they've got 
it) package that you should install on top of the guile package that
gets included by default.  And be sure to remove the SUSE guile stuff.

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  1 11:59:03 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA12391
	for scwm-discuss-outgoing; Thu, 1 Jul 1999 11:59:03 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA12388
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Thu, 1 Jul 1999 11:58:58 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA04671; Thu, 1 Jul 1999 08:58:50 -0700 (PDT)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: Maciej Stachowiak <mstachow@alum.mit.edu>, scwm-discuss@serveuse.mit.edu
Subject: Re: anoncvs is back
References: <m3vhc67akr.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <377AC5E6.23F49FA2@ozemail.com.au> <qrr67453v55.fsf@elwha.cs.washington.edu> <377B1396.D2D841AF@ozemail.com.au> <m21zesjvfy.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Jul 1999 08:58:50 -0700
In-Reply-To: hjstein@bfr.co.il's message of "01 Jul 1999 17:28:33 +0300"
Message-ID: <qrrhfnoqs3p.fsf@elwha.cs.washington.edu>
Lines: 15
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> I've tried building on RH6.0 & I get a core dump when I run it.  I
> wanted to rebuild with debugging, but the clean targets fail to work.
> The make dist failed too (no distdir target in Makefile in pixmaps
> subdirectory).

Can you give more info on the clean target failing.  The make dist fails 
because the pixmaps directory is not using automake.  We need to
consistently use Makefile.am's instead of just Makefile.in's. 
I'm fixing this now, and may have it committed by end of day depending
on how much time I have today. (The fix is easy, testing takes a bit
longer).

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  1 12:41:21 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id MAA12844
	for scwm-discuss-outgoing; Thu, 1 Jul 1999 12:41:21 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA12837
	for <scwm-discuss@serveuse.mit.edu>; Thu, 1 Jul 1999 12:41:15 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA06817; Thu, 1 Jul 1999 09:41:06 -0700 (PDT)
To: tapparo@mat.unimi.it
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: 2 notes
References: <19990514233027.A13042@mizar>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Jul 1999 09:41:06 -0700
In-Reply-To: Francesco Tapparo's message of "Fri, 14 May 1999 23:30:27 +0200"
Message-ID: <qrr6744qq59.fsf@elwha.cs.washington.edu>
Lines: 37
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Francesco Tapparo <cesco@goldnet.it> writes:

> When compiling scwm-19990513 I found 2 little problems:
> 
> 1) The makefile in the directory pixmaps don't respect the variable
>    DISTDIR, thing needed by the debian packaging process. The corresponding 
>    Makefile.in is strangely manually generated. So I created the corresponding
>    Makefile.am and now respect DISTDIR and is probably more conforming the the
>    GNU standards.
>    Here's the pixmaps/Makefile.am:
>    
>    =============BEGIN====================
>    
>    xpmdir= ${prefix}/include/X11/pixmaps/
> 
>    xpm_DATA = *.xpm
>    
>    ==============END=====================

I did a similar fix--

scwm_pixmap_DATA = *.xpm
EXTRA_DIST = *.xpm

and scwm_pixmap_data is defined in configure.in.  Let me know if you
think yours is better in any way (I am no automake guru!  And I would've 
done exactly what you suggested but I hadn't read this email completely
until now).

> 2) Make distclean don't remove the themes generated in the themes
>    subdirectory. This cause some problem with some tools I must use, and is
>    against the GNU standards.
>    Here's the micropatch:

Thanks!  Will be committed shortly...

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  1 12:49:01 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id MAA12985
	for scwm-discuss-outgoing; Thu, 1 Jul 1999 12:49:01 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA12982
	for <scwm-discuss@serveuse.mit.edu>; Thu, 1 Jul 1999 12:48:57 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA07187; Thu, 1 Jul 1999 09:48:35 -0700 (PDT)
To: tapparo@mat.unimi.it
Cc: scwm-discuss@serveuse.mit.edu, Roman.Hodek@informatik.uni-erlangen.de
Subject: Re: strange behaviour of SCWM_ARG_PATH
References: <19990515190704.A1225@mizar>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Jul 1999 09:48:34 -0700
In-Reply-To: Francesco Tapparo's message of "Sat, 15 May 1999 19:07:04 +0200"
Message-ID: <qrr3dz8qpst.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Francesco Tapparo <cesco@goldnet.it> writes:

> [I cc'ed the mail to Roman Hodek, the bug submitter; please keep the cc]
> 
> I received a bug against scwm: if you give the option 
> 
> --with-scwmrc <some dir>
> 
> and <some dir> does'nt exist, configure give an error and exits. So if someone 
> want install scwm in a "virgin" system, he must add the dir manually.
> The reason is in the SCWM_ARG_WITH macro:

Ok, I made it use a warning and "mkdir -p ${withval} || mkdirhier
${withval}" to try to create the directory.

Thanks!

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  1 12:52:58 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id MAA13046
	for scwm-discuss-outgoing; Thu, 1 Jul 1999 12:52:58 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA13043
	for <scwm-discuss@serveuse.mit.edu>; Thu, 1 Jul 1999 12:52:55 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA07396; Thu, 1 Jul 1999 09:52:51 -0700 (PDT)
To: Jimmy Mason <ra2794@email.mot.com>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: (bind-mouse 'window 1 raise-window)
References: <14140.14758.454925.637163@dsp.sps.mot.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Jul 1999 09:52:51 -0700
In-Reply-To: Jimmy Mason's message of "Fri, 14 May 1999 09:56:38 -0500 (CDT)"
Message-ID: <qrrzp1gpb18.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Jimmy Mason <ra2794@email.mot.com> writes:

> I added this mouse binding, hoping it would work like CDE/dtwm work:
> (bind-mouse 'window 1 raise-window)
> 
> Essentially, I want the window to raise, no matter what, if I click in
> it.  Of course, I also want to be able to interact with the window,
> such as clicking buttons, select text, etc., as usual.  How can I get
> scwm to pass that event through to the window even though I bound it
> to a WM command?

I'll look into this... sorry I've been so slow in responding.

Greg

P.S.  Anyone else have any thoughts or pointers to other wms that
respond to the event and pass it along... this is sounding vaguely
familiar but nothing is concrete in my head right now.

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  1 15:53:36 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id PAA13600
	for scwm-discuss-outgoing; Thu, 1 Jul 1999 15:53:36 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from mons.uio.no (6089@mons.uio.no [129.240.130.14])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id PAA13597
	for <scwm-discuss@serveuse.mit.edu>; Thu, 1 Jul 1999 15:53:31 -0400
Received: from mons.uio.no (actually mons.uio.no [129.240.130.14]) by mons.uio.no with SMTP (PP); Thu, 1 Jul 1999 21:53:28 +0200
Received: from octarine.uio.no ([129.240.186.25]) by mons.uio.no with esmtp (Exim 2.12 #6) id 10zmtj-000229-00 
          for scwm-discuss@serveuse.mit.edu; Thu, 1 Jul 1999 21:53:27 +0200
Received: from hmeland by octarine.uio.no with local (Exim 2.12 #6) id 10zmti-0006v5-00 for scwm-discuss@serveuse.mit.edu;
          Thu, 1 Jul 1999 21:53:26 +0200
To: scwm-discuss@serveuse.mit.edu
Subject: Problems getting (current-CVS) scwm running
From: Harald Meland <Harald.Meland@usit.uio.no>
Date: 01 Jul 1999 21:53:26 +0200
Message-ID: <d6dpv2cdu4p.fsf@octarine.uio.no>
Lines: 114
User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

I think this was lost when vicarious-existence went bang -- at least I
haven't seen it come back from the list.


Using guile-1.3 (with threads), gtk+-1.2.2, no imlib (by means of
--disable-imlib) and pretty current CVS scwm:

  octarine$ scwm --version
  Scwm Version 0.99.1 compiled on May 15 1999 at 00:30:18
  RCS_ID=$Id: scwm.c,v 1.188 1999/05/03 05:55:36 gjb Exp $
  Repository Timestamp: Tue May 11 18:09:12 EDT 1999 -- $Revision: 1.1616 $

on Solaris 2.6, I get this:

  octarine$ /opt/local/bin/scwm --single-screen --display :0.1 --segv-reset-count 0
[... Some "<<WARNING Image file was not found:" lines ...]
  [Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
  Segmentation Fault (core dumped)

  octarine$ gdb /opt/local/bin/scwm core
  GDB is free software and you are welcome to distribute copies of it
   under certain conditions; type "show copying" to see the conditions.
  There is absolutely no warranty for GDB; type "show warranty" for details.
  GDB 4.16 (sparc-sun-solaris2.5), 
  Copyright 1996 Free Software Foundation, Inc...
  Core was generated by `/opt/local/bin/scwm --single-screen --display :0.1 --segv-reset-count 0'.
  Program terminated with signal 11, Segmentation fault.
  Reading symbols from /local/X11R6/lib/libXext.so.6.4...done.
  Reading symbols from /local/X11R6/lib/libXmu.so.6.0...done.
  Reading symbols from /local/X11R6/lib/libXpm.so.4.11...done.
  Reading symbols from /local/X11R6/lib/libX11.so.6.1...done.
  Reading symbols from /usr/lib/libsocket.so.1...done.
  Reading symbols from /usr/lib/libnsl.so.1...done.
  Reading symbols from /opt/local/lib/libguile.so.4...done.
  Reading symbols from /opt/local/lib/libqthreads.so.0...done.
  Reading symbols from /usr/lib/libdl.so.1...done.
  Reading symbols from /opt/local/lib/libreadline.so.4...done.
  Reading symbols from /opt/local/lib/libtermcap.so.1...done.
  Reading symbols from /usr/lib/libm.so.1...done.
  Reading symbols from /usr/lib/libc.so.1...done.
  Reading symbols from /local/X11R6/lib/libXt.so.6.0...done.
  Reading symbols from /local/X11R6/lib/libSM.so.6.0...done.
  Reading symbols from /local/X11R6/lib/libICE.so.6.3...done.
  Reading symbols from /usr/lib/libmp.so.2...done.
  Reading symbols from /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1...done.
  Reading symbols from /opt/local/lib/scwm-modules/app/scwm/libc-animation.so.0...
  ---Type <return> to continue, or q <return> to quit---
  done.
  #0  0xef461c50 in scm_makstr (len=108, slots=0) at strings.c:139
  139       SCM_NEWCELL (s);
  (gdb) backtrace
  #0  0xef461c50 in scm_makstr (len=108, slots=0) at strings.c:139
  #1  0xef461f48 in scm_makfromstr (
      src=0x1a40a8 "[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!\n", len=108, slots=0)
      at strings.c:199
  #2  0xef461fa8 in scm_makfrom0str (
      src=0x1a40a8 "[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!\n") at strings.c:213
  #3  0xef43657c in gh_str02scm (
      s=0x1a40a8 "[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!\n") at gh_data.c:93
  #4  0x3b1f4 in BroadcastName (event_type=131072, data1=0, data2=0, data3=0, 
      szName=0x1a40a8 "[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!\n") at module-interface.c:110
  #5  0x42a2c in scwm_msg (type=ERR, id=0x59078 "SigDoneSegv", 
      msg=0x59088 "Caught seg fault... please run with '--segv-reset-count 0' and report a bug!") at scwm.c:1586
  #6  0x425f0 in SigDoneSegv (ignored_ignore=11) at scwm.c:1389
  #7  <signal handler called>
  #8  0xef461ce8 in scm_makstr (len=8, slots=-1) at strings.c:151
  #9  0xef461f48 in scm_makfromstr (src=0x19f7e0 "WM_STATE", len=8, slots=0)
      at strings.c:199
  #10 0xef461fa8 in scm_makfrom0str (src=0x19f7e0 "WM_STATE") at strings.c:213
  #11 0xef43657c in gh_str02scm (s=0x19f7e0 "WM_STATE") at gh_data.c:93
  ---Type <return> to continue, or q <return> to quit---
  #12 0x2cb68 in HandlePropertyNotify () at events.c:890
  #13 0x2b964 in DispatchEvent () at events.c:258
  #14 0x2b9a0 in HandleEvents () at events.c:280
  #15 0x41d40 in scwm_main (argc=6, argv=0xeffff69c) at scwm.c:1067
  #16 0xef437434 in gh_launch_pad (closure=0x41158, argc=6, argv=0xeffff69c)
      at gh_init.c:60
  #17 0xef439de4 in invoke_main_func (body_data=0xeffff538) at init.c:539
  #18 0xef469158 in scm_internal_lazy_catch (tag=9076, 
      body=0xef439dc4 <invoke_main_func>, body_data=0xeffff538, 
      handler=0xef469534 <scm_handle_by_message>, handler_data=0x0)
      at throw.c:328
  #19 0xef439d84 in scm_boot_guile_1 (base=0xeffff534, closure=0xeffff538)
      at init.c:513
  #20 0xef439a04 in scm_boot_guile (argc=6, argv=0xeffff69c, 
      main_func=0xef437424 <gh_launch_pad>, closure=0x41158) at init.c:378
  #21 0xef437474 in gh_enter (argc=6, argv=0xeffff69c, 
      c_main_prog=0x41158 <scwm_main>) at gh_init.c:70
  #22 0x41150 in main (argc=6, argv=0xeffff69c) at scwm.c:497

Just before crashing, scwm draws window decorations around all windows
on the screen -- resulting in the windows being shifted down and right
by one height and width of the window decorations per crash.

Running with "-f /dev/null" just hangs.

When compiling, I had to give make(1) a "-k" to get through this:

  gcc -shared -fpic  -I/local/X11R6/include -c scwm_set_pid_property.c
  ld -shared scwm_set_pid_property.o -o scwm_set_pid_property.so -ldl   -L/local/X11R6/lib -R/local/X11R6/lib -lX11 -lsocket  -lnsl
  ld: fatal: option -h and building a dynamic executable are incompatible
  ld: fatal: Flags processing errors
  make[2]: *** [scwm_set_pid_property.so] Error 1

The "band-aid fix" I posted for run-renamed.c (i.e. using putenv(3)
instead of setenv(3), as only the former is part of Solaris' libc) was
applied before compiling.

Also, shouldn't "make distclean" remove all ".deps" directories?

I guess I'll keep using scwm-0.9 for now, as that works quite well --
thanks a lot for making scwm, it's great!
-- 
Harald

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  1 16:28:09 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id QAA13721
	for scwm-discuss-outgoing; Thu, 1 Jul 1999 16:28:09 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA13718
	for <scwm-discuss@serveuse.mit.edu>; Thu, 1 Jul 1999 16:28:04 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA18193; Thu, 1 Jul 1999 13:27:55 -0700 (PDT)
To: Harald Meland <Harald.Meland@usit.uio.no>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: Problems getting (current-CVS) scwm running
References: <d6dpv2cdu4p.fsf@octarine.uio.no>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Jul 1999 13:27:55 -0700
In-Reply-To: Harald Meland's message of "01 Jul 1999 21:53:26 +0200"
Message-ID: <qrryah0nmic.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Harald Meland <Harald.Meland@usit.uio.no> writes:

<snip>

> Using guile-1.3 (with threads), gtk+-1.2.2, no imlib (by means of
> --disable-imlib) and pretty current CVS scwm:
> 
>   octarine$ scwm --version
>   Scwm Version 0.99.1 compiled on May 15 1999 at 00:30:18
>   RCS_ID=$Id: scwm.c,v 1.188 1999/05/03 05:55:36 gjb Exp $
>   Repository Timestamp: Tue May 11 18:09:12 EDT 1999 -- $Revision: 1.1616 $
> 
> on Solaris 2.6, I get this:
> 
>   octarine$ /opt/local/bin/scwm --single-screen --display :0.1 --segv-reset-count 0

>   ---Type <return> to continue, or q <return> to quit---

Is it reproducible?  Does it happen at startup? Can you give me a
smallish (or biggish if you must) .scwmrc that makes this happen.

Thanks!
Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  1 20:10:08 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id UAA14033
	for scwm-discuss-outgoing; Thu, 1 Jul 1999 20:10:08 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from dres.elam.org (mail@ppp86.arden.ioa.com [205.138.38.95])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA14030
	for <scwm-discuss@serveuse.mit.edu>; Thu, 1 Jul 1999 20:10:00 -0400
Received: from dres by dres.elam.org with local (Exim 3.02 #1 (Debian))
	id 10zqvk-00007M-00; Thu, 01 Jul 1999 20:11:48 -0400
To: Greg Badros <gjb@cs.washington.edu>
Cc: hjstein@bfr.co.il (Harvey J. Stein), scwm-discuss@serveuse.mit.edu
Subject: Re: anoncvs is back
References: <m3vhc67akr.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <377AC5E6.23F49FA2@ozemail.com.au> <qrr67453v55.fsf@elwha.cs.washington.edu> <377B1396.D2D841AF@ozemail.com.au> <m21zesjvfy.fsf@blinky.bfr.co.il> <m2n1xgidtr.fsf@blinky.bfr.co.il> <qrriu84qt1y.fsf@elwha.cs.washington.edu>
X-Url: http://www.ioa.com/~dres
X-Organization: Debian/Software in the Public Interest
X-Attribution: Dres
X-Face:  "R3Ms&!j++.]J8DwisON-l7#S<Jw[MsP|I<K?28b~f-<w^vjeAQ-k@$-Az>OloY'V?!^-!2
 9G+7Z7OzClzr2{3e<RFn%f*t%B<*|sT->ni9BN\pzkTp<dg6+lOtI-rg*]Fjgr0n.=ChFX:_+T7fKT
 *Z[}xvSK"jV~QH7*v}xZ,1rlb+Ro`,)#2Econ*g^>}ehc,\AhKBZ\Sf/HVG+p\*?'(&ct2w6Fr:w9m
 o|9R&.D-)1]:&sN-6o'\`7W${f1$2BCy6qSl&._{ILYCZ?X-[?M!](N
From: James LewisMoss <dres@ioa.com>
Date: 01 Jul 1999 20:11:48 -0400
In-Reply-To: Greg Badros's message of "01 Jul 1999 08:38:17 -0700"
Message-ID: <hhg137x64b.fsf@dres.elam.org>
Lines: 22
User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

>>>>> On 01 Jul 1999 08:38:17 -0700, Greg Badros <gjb@cs.washington.edu> said:

 Greg> hjstein@bfr.co.il (Harvey J. Stein) writes:
 >> This is on RH6.0, guile 1.3-10 from suse (because the Redhat one
 >> didn't include the guile-config or guile-snarf script).

 Greg> Your problem is almost definitely a guile library mismatch of
 Greg> some sorts.  I was confused, too, about the lack of
 Greg> guile-config and guile-snarf in RH6 after installing guile.
 Greg> Turns out that there is a guile-devel-1.3-6 (-6 is what I have,
 Greg> go with more recent if they've got it) package that you should
 Greg> install on top of the guile package that gets included by
 Greg> default.  And be sure to remove the SUSE guile stuff.

This is a guile compiled with glibc2.0 running with glibc2.1 problem.

Jim

-- 
@James LewisMoss <dres@ioa.com>         |  Blessed Be!
@    http://www.ioa.com/~dres           |  Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  1 21:50:35 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id VAA14264
	for scwm-discuss-outgoing; Thu, 1 Jul 1999 21:50:35 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from bouvreuil.cybercable.fr (bouvreuil.cybercable.fr [212.198.3.12])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id VAA14261
	for <scwm-discuss@serveuse.mit.edu>; Thu, 1 Jul 1999 21:50:28 -0400
Received: (qmail 17527 invoked from network); 2 Jul 1999 01:50:25 -0000
Received: from d048.paris-135.cybercable.fr (HELO ZhengHe) ([212.198.135.48]) (envelope-sender <fare@tunes.org>)
          by bouvreuil.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <scwm-discuss@serveuse.mit.edu>; 2 Jul 1999 01:50:25 -0000
Received: from fare by ZhengHe with local (Exim 2.11 #1 (Debian))
	id 10zsUC-0003vq-00; Fri, 2 Jul 1999 03:51:28 +0200
Date: Fri, 2 Jul 1999 03:51:27 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Hi
Message-ID: <19990702035127.A15101@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Dear SCWM people,
  I'm happy to see the SCWM site back online.

Here are a few concerns of mine:
on one machine, I've installed debian,
which included a package of SCWM numbered 0.99.1-1.
I installed it, rewrote my .scwmrc completely
(actually, split it into lots of files, and cleaned up the mess),
and was mostly satisfied with the result.

Now,
* my new configuration won't work on older SCWM's,
 notably due to my having enabled themes in the configuration.
 This means that I no longer have a one personal .scwmrc
 that works on all of my accounts.
 Would it be possible that in the future, SCWM include some generic mechanism
 to help configure things in ways such that
 a scwmrc can be downward compatible with respect to older SCWM releases?
* my scwm eats tens of megabytes of memory that it doesn't free
 per hour of my activity (total 70M as I write),
 so that I must regularly kill it and restart it
 (depending on the amount of swap I can leave dedicated to scwm growing).
 Are such things being investigated?
 I suspect a lot of my netscape's unstability to be due to memory being full
 with scwm growing.
* is there a way to truly maximize windows, that is, to have a function
 detect the size of the borders and titlebar
 (if any; perhaps disablable in such mode)
 and places the window accordingly to fill the screen including the borders?

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
"I'm going to live forever, or die trying!" -- Spider Robinson

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 00:47:17 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id AAA14484
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 00:47:17 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA14481
	for <scwm-discuss@serveuse.mit.edu>; Fri, 2 Jul 1999 00:47:12 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA12507; Thu, 1 Jul 1999 21:47:03 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Hi
References: <19990702035127.A15101@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Jul 1999 21:47:02 -0700
In-Reply-To: Francois-Rene Rideau's message of "Fri, 2 Jul 1999 03:51:27 +0200"
Message-ID: <qrrd7ybodyx.fsf@elwha.cs.washington.edu>
Lines: 40
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> Now,
> * my new configuration won't work on older SCWM's,
>  notably due to my having enabled themes in the configuration.
>  This means that I no longer have a one personal .scwmrc
>  that works on all of my accounts.
>  Would it be possible that in the future, SCWM include some generic mechanism
>  to help configure things in ways such that
>  a scwmrc can be downward compatible with respect to older SCWM releases?

Backward compatibility is low on our list of priorities as we've not
even released a 1.0 version.  Note, though, that we have exposed the
version information, so, as a last resort, you can do different things
for different versions (NB, it's almost always better to check whether,
eg., a procedure is defined to tell if a feature exists than to assume
that it exists because of a specific version number).

> * my scwm eats tens of megabytes of memory that it doesn't free
>  per hour of my activity (total 70M as I write),
>  so that I must regularly kill it and restart it
>  (depending on the amount of swap I can leave dedicated to scwm growing).
>  Are such things being investigated?
>  I suspect a lot of my netscape's unstability to be due to memory being full
>  with scwm growing.

I found what I believe to be the largish leak;  Maciej will be fixing it 
as soon as all the admin stuff stabilizes and he has time.  (The leak I
found is in rather arcane guile-specific stuff that he is better
equipped to fix.)

> * is there a way to truly maximize windows, that is, to have a function
>  detect the size of the borders and titlebar
>  (if any; perhaps disablable in such mode)
>  and places the window accordingly to fill the screen including the borders?

You could certainly write one-- hide-titlebar and set-border-width! are
two procedures that will be useful in doing so.

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 01:57:52 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id BAA14958
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 01:57:52 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA14955
	for <scwm-discuss@serveuse.mit.edu>; Fri, 2 Jul 1999 01:57:48 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA15965; Thu, 1 Jul 1999 22:57:44 -0700 (PDT)
To: scwm-discuss@serveuse.mit.edu
Subject: images in message-windows and pixmap cursors
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Jul 1999 22:57:43 -0700
Message-ID: <qrr6743oap4.fsf@elwha.cs.washington.edu>
Lines: 29
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

I added a bunch of nifty new features to Scwm today that are worth
checking out.

If you compile with Imlib, you get `window->image' which gives you an
image that is the contents of a window.  (My intention is to use it with 
the other support, below, to be able to freeze the screen like
Enlightenment does, e.g., when changing the global theme).

Message windows now have:

message-window-set-size!, message-window-size
message-window-set-image!, message-window-image

and will draw with their image as the background.  (#f for width/height
means auto-size, like the older and still-default behaviour).  I also
did a lot of argument processing cleanup in the message-window code.

(As always, see the embedded documentation for details).

Also, added `create-pixmap-cursor' and `set-window-cursor!' to permit
changing cursors on a per window basis, and support (somewhat) arbitrary
pixmaps (with only 2 colors) as cursors.

I think these new primitives will be exceptionally useful for matching
some of the Enlightenment functionality I was a little bit jealous of.

Enjoy!

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 08:17:19 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id IAA15599
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 08:17:19 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from bouvreuil.cybercable.fr (bouvreuil.cybercable.fr [212.198.3.12])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id IAA15596
	for <scwm-discuss@serveuse.mit.edu>; Fri, 2 Jul 1999 08:17:13 -0400
Received: (qmail 3477 invoked from network); 2 Jul 1999 12:08:53 -0000
Received: from d126.paris-126.cybercable.fr (HELO ZhengHe) ([212.198.126.126]) (envelope-sender <fare@tunes.org>)
          by bouvreuil.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <gjb@cs.washington.edu>; 2 Jul 1999 12:08:53 -0000
Received: from fare by ZhengHe with local (Exim 2.11 #1 (Debian))
	id 11028X-0004zX-00; Fri, 2 Jul 1999 14:09:45 +0200
Date: Fri, 2 Jul 1999 14:09:45 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: Greg Badros <gjb@cs.washington.edu>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Hi
Message-ID: <19990702140945.A19175@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19990702035127.A15101@ZhengHe.augustin.thierry> <qrrd7ybodyx.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrrd7ybodyx.fsf@elwha.cs.washington.edu>; from Greg Badros on Thu, Jul 01, 1999 at 09:47:02PM -0700
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

> Backward compatibility is low on our list of priorities as we've not
> even released a 1.0 version.
I can understand that.
However, standardizing the future backward compatibility support
might be a good idea...

> Note, though, that we have exposed the
> version information, so, as a last resort, you can do different things
> for different versions (NB, it's almost always better to check whether,
> eg., a procedure is defined to tell if a feature exists than to assume
> that it exists because of a specific version number).
Checking for existence of procedures, I do.
However, what non-intrusive way is there
to check that a module is present or not?
My scwmrc fails badly when it finds the module it is looking for
is not there.

>> * is there a way to truly maximize windows, that is, to have a function
>>  detect the size of the borders and titlebar
>>  (if any; perhaps disablable in such mode)
>>  and places the window accordingly to fill the screen including the borders?
> You could certainly write one-- hide-titlebar and set-border-width! are
> two procedures that will be useful in doing so.
But how do I do things so that I can restore them back when un-maximizing?
Shouldn't such a "truly maximize, including or excluding borders and title"
be a standard function, instead of the bad approximation found in "standard"
scwmrc's?

Best regards,

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
The degree of civilization in a society can be judged by entering its prisons.
		-- F. Dostoyevski

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 09:04:23 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id JAA15734
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 09:04:23 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from blinky.bfr.co.il (hjstein@morannon.bfr.co.il [192.116.142.129])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA15731
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Fri, 2 Jul 1999 09:04:18 -0400
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id QAA07180; Fri, 2 Jul 1999 16:04:02 +0300
To: Francois-Rene Rideau <fare@tunes.org>
Cc: Greg Badros <gjb@cs.washington.edu>,
        SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: broken or missing maximize.
References: <19990702035127.A15101@ZhengHe.augustin.thierry> <qrrd7ybodyx.fsf@elwha.cs.washington.edu> <19990702140945.A19175@ZhengHe.augustin.thierry>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 02 Jul 1999 16:04:01 +0300
In-Reply-To: Francois-Rene Rideau's message of "Fri, 2 Jul 1999 14:09:45 +0200"
Message-ID: <m2hfnnqk3i.fsf_-_@blinky.bfr.co.il>
Lines: 25
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


Francois-Rene Rideau <fare@tunes.org> writes:

 > >> * is there a way to truly maximize windows, that is, to have a function
 > >>  detect the size of the borders and titlebar
 > >>  (if any; perhaps disablable in such mode)
 > >>  and places the window accordingly to fill the screen including the borders?
 > > You could certainly write one-- hide-titlebar and set-border-width! are
 > > two procedures that will be useful in doing so.
 > But how do I do things so that I can restore them back when un-maximizing?
 > Shouldn't such a "truly maximize, including or excluding borders and title"
 > be a standard function, instead of the bad approximation found in "standard"
 > scwmrc's?

There's toggle-maximize, but I was just about to send a bug report
that toggle-maximize is broken - (toggle-maximize 0 (%y 100))
on my emacs or xterm window pushes the lower window border off the screen.
It works ok on my netscape window, so it seems like the problem is
with figuring out the # of rows (as opposed to pixels) visible.  Maybe
the pixels->rows computation is missing one frame width?

-- 
Harvey J. Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 09:10:36 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id JAA15810
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 09:10:36 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from blinky.bfr.co.il (hjstein@morannon.bfr.co.il [192.116.142.129])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA15807
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Fri, 2 Jul 1999 09:10:30 -0400
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id QAA07220; Fri, 2 Jul 1999 16:10:27 +0300
To: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: 1 bad pixel row in borderless windows.
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 02 Jul 1999 16:10:26 +0300
In-Reply-To: Francois-Rene Rideau's message of "Fri, 2 Jul 1999 14:09:45 +0200"
Message-ID: <m2g137qjst.fsf_-_@blinky.bfr.co.il>
Lines: 22
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


I mentioned this before, but it seems like it's either back or was
never fixed.  My borderless windows don't update correctly.  If I move
another window over the borderless window, the borderless one pickes
up some stray pixels from the one I move.  The stray pixels show up
along the upper border.  Here's the setup for one borderless window
which does this:

(define desk-widget
  (make-style #:plain-border #t
              #:sticky #t
              #:winlist-skip #t
              #:border-width 0
              #:focus 'none))

(window-style "*xclock" #:no-titlebar #t #:use-style desk-widget)


-- 
Harvey J. Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 09:30:26 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id JAA15982
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 09:30:26 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from zappa. (root@dialup-t1-212.Melbourne.netspace.net.au [210.15.250.212])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA15979
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Fri, 2 Jul 1999 09:30:10 -0400
Received: from localhost (1408 bytes) by zappa.
	via sendmail with P:stdio/R:internet_hosts/T:smtp
	(sender: <ggt>) (ident <ggt> using unix)
	id <m1103JQ-002SuOC@zappa.>
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Fri, 2 Jul 1999 23:25:04 +1000 (EST)
	(Smail-3.2.0.101 1997-Dec-17 #1 built 1998-Aug-25)
Message-Id: <m1103JQ-002SuOC@zappa.>
Date: Fri, 2 Jul 1999 23:25:04 +1000 (EST)
From: ggt@netspace.net.au (Glenn Trigg)
X-Mailer: Privtool [V0.90 Beta GT007] (i586-pc-linux-gnu/Gtk+)
In-Reply-To: <qrraetgs9fc.fsf@elwha.cs.washington.edu> from "Greg Badros <gjb@cs.washington.edu>"
Reply-To: ggt@linuxfan.com
Subject: Re: scwm & gimp
To: gjb@cs.washington.edu
Cc: scwm-discuss@serveuse.mit.edu
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> said :

> > ERROR: In procedure catch in expression (catch (quote break) (lambda () #) ...):
> > ERROR: rogue pointer in heap
> 
> Hmmm... this definitely looks bad.  I'll have to understand guile's code 
> a bit better to figure out what is going wrong here.  
> 
> <snip>
> 
> > ERROR: In procedure set-window-foreground! in expression ((style-option:handler #) (cdr o) win):
> > ERROR: Wrong type argument in position 1: #<freed cell 0x403e1d10; GC missed a reference>
> 
> Also an atypical, very-internal (read hard-to-find) bug.
> 
> Thanks for the reports!

Don't know if this'll help or not...

I think the crashes occur mainly when gimp is opening small windows, possibly
when the window is too small to display all the titlebar buttons.

That's what I've observed, at least. Last night I was editing largish images fine,
tonight I was trying to edit a number of 24x24 images and scwm would crash at some
stage during the editing of the second image (since I started gimp).

Anyway, hopefully that's better than nothing to go on.

Glenn

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 09:44:55 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id JAA16057
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 09:44:55 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from blinky.bfr.co.il (hjstein@morannon.bfr.co.il [192.116.142.129])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA16053
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Fri, 2 Jul 1999 09:44:49 -0400
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id QAA07366; Fri, 2 Jul 1999 16:44:42 +0300
To: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Bad positioning on borderless windows.
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 02 Jul 1999 16:44:41 +0300
Message-ID: <m24sjnqi7q.fsf@blinky.bfr.co.il>
Lines: 27
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


Positioning of borderless windows seems to be off by 1 pixel.  They're
one pixel too low.

For example, my xclock is decorated as follows:

(define desk-widget
  (make-style #:plain-border #t
              #:sticky #t
              #:winlist-skip #t
              #:border-width 0
              #:focus 'none))

(window-style "*xclock" #:no-titlebar #t #:use-style desk-widget)


Issuing:

xclock -geometry +0+0

leaves one pixel of background above the xclock.  I have to move it
one pixel up to get the proper position.

-- 
Harvey J. Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 10:30:40 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id KAA16336
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 10:30:40 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from blinky.bfr.co.il (hjstein@morannon.bfr.co.il [192.116.142.129])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA16333
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Fri, 2 Jul 1999 10:30:34 -0400
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id RAA07567; Fri, 2 Jul 1999 17:30:18 +0300
To: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: FVWM2 icon position communication bug.
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 02 Jul 1999 17:30:17 +0300
In-Reply-To: Francois-Rene Rideau's message of "Fri, 2 Jul 1999 14:09:45 +0200"
Message-ID: <m21zerqg3q.fsf_-_@blinky.bfr.co.il>
Lines: 10
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


I reported this before but the problem still exists so I thought I'd
report it again.  I use two desks, each divided into a 2x3 grid.  When
I have icons on the first desk and move around on the second desk, the
images of the icons in the fvwm2 pager move around too.

-- 
Harvey J. Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 11:19:27 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA16527
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 11:19:27 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA16524
	for <scwm-discuss@serveuse.mit.edu>; Fri, 2 Jul 1999 11:19:22 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA13463; Fri, 2 Jul 1999 08:19:19 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Hi
References: <19990702035127.A15101@ZhengHe.augustin.thierry> <qrrd7ybodyx.fsf@elwha.cs.washington.edu> <19990702140945.A19175@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Jul 1999 08:19:18 -0700
In-Reply-To: Francois-Rene Rideau's message of "Fri, 2 Jul 1999 14:09:45 +0200"
Message-ID: <qrr3dz7nkp5.fsf@elwha.cs.washington.edu>
Lines: 66
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> > Backward compatibility is low on our list of priorities as we've not
> > even released a 1.0 version.
> I can understand that.
> However, standardizing the future backward compatibility support
> might be a good idea...

Agreed-- we should think about this.

> 
> > Note, though, that we have exposed the
> > version information, so, as a last resort, you can do different things
> > for different versions (NB, it's almost always better to check whether,
> > eg., a procedure is defined to tell if a feature exists than to assume
> > that it exists because of a specific version number).
> Checking for existence of procedures, I do.
> However, what non-intrusive way is there
> to check that a module is present or not?
> My scwmrc fails badly when it finds the module it is looking for
> is not there.

Well, if you're doing something like:

(use-modules (app scwm foo)
             (app scwm bar)
             (ice-9 regex)
             ...
             )

You may want to switch to the newer:

(use-scwm-modules foo bar (ice-9 regex))

since it does a lot better error handling (only the module that doesn't
exist is skipped, not all of the modules). 

We could have procedures to help with checking for existence of a
module, but it may make sense to just use the return value of
use-scwm-modules to tell which modules were loaded successfully.

> >> * is there a way to truly maximize windows, that is, to have a function
> >>  detect the size of the borders and titlebar
> >>  (if any; perhaps disablable in such mode)
> >>  and places the window accordingly to fill the screen including the borders?
> > You could certainly write one-- hide-titlebar and set-border-width! are
> > two procedures that will be useful in doing so.
> But how do I do things so that I can restore them back when un-maximizing?
> Shouldn't such a "truly maximize, including or excluding borders and title"
> be a standard function, instead of the bad approximation found in "standard"
> scwmrc's?

Agreed completely... and I'm hoping you or someone else will write it,
and we'll include it.  I think it may be best to modify the existing
maximization functionality.

In general, when I suggest a way to do something, if it's cleaner to do
by modifying scwm/scheme/*.scm (i.e., it's a nice generalization of
existing functionality), please modify the code there and send us the
patches.  I don't want people hacking around mis-designs of the Scwm
scheme code (or C code for that matter) just because they don't want to
mess with what's distributed.  I'd rather fold in your contributions and 
make it easier for the next Scwm user.

Thanks,
Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 11:22:42 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA16552
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 11:22:42 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA16549
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Fri, 2 Jul 1999 11:22:38 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA13627; Fri, 2 Jul 1999 08:22:34 -0700 (PDT)
To: ggt@linuxfan.com
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: scwm & gimp
References: <m1103JQ-002SuOC@zappa.>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Jul 1999 08:22:34 -0700
In-Reply-To: ggt@netspace.net.au's message of "Fri, 2 Jul 1999 23:25:04 +1000 (EST)"
Message-ID: <qrrwvwjm5z9.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

ggt@netspace.net.au (Glenn Trigg) writes:

> Don't know if this'll help or not...
> 
> I think the crashes occur mainly when gimp is opening small windows, possibly
> when the window is too small to display all the titlebar buttons.
> 
> That's what I've observed, at least. Last night I was editing largish images fine,
> tonight I was trying to edit a number of 24x24 images and scwm would crash at some
> stage during the editing of the second image (since I started gimp).
> 
> Anyway, hopefully that's better than nothing to go on.

Was it the same kind of crash?  I'll play with some small windows and see 
if that makes it crash.  If not, I think I have the gimp somewhere and
can try reproducing its crash.

Thanks,
Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 11:30:39 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA16656
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 11:30:39 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA16652
	for <scwm-discuss@serveuse.mit.edu>; Fri, 2 Jul 1999 11:30:36 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA14008; Fri, 2 Jul 1999 08:30:16 -0700 (PDT)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: 1 bad pixel row in borderless windows.
References: <m2g137qjst.fsf_-_@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Jul 1999 08:30:16 -0700
In-Reply-To: hjstein@bfr.co.il's message of "02 Jul 1999 16:10:26 +0300"
Message-ID: <qrrr9mrm5mf.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Thanks for the new, repeated bug reports.  Hopefully after the admin
fallout settles we'll be able to get a web-based bug database and
reporting tool up.  That'll help tremendously in ensuring we don't lose
bug reports.

Right now, FWIW, I manage bug reports sent to the list by leaving the
articles marked in my GNUS mailreader until I consider them closed.
There are also bugs in the BUGS file and numerous other items in the
TODO file. I still have over 200 items marked in GNUS, so it's more than 
likely that I didn't lose the report, but just haven't gotten to it.

Bugs are going to be high on my list of priorities after a couple of
feature enhancements and some code cleanup.  It'd be great if even more
of you folks would be able to dive into some of the C code and try to
work out some of these postitioning and drawing bugs, too! Patches are
always welcome! :-)

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 11:47:40 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA17003
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 11:47:40 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from blinky.bfr.co.il (hjstein@morannon.bfr.co.il [192.116.142.129])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA17000
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Fri, 2 Jul 1999 11:47:34 -0400
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id SAA07916; Fri, 2 Jul 1999 18:47:31 +0300
To: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Documentation mismatch or bug btw default-move-opaquely? and *opaque-move-percent*?
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 02 Jul 1999 18:47:30 +0300
In-Reply-To: hjstein@bfr.co.il's message of "02 Jul 1999 16:16:09 +0300"
Message-ID: <m2r9mroxyl.fsf@blinky.bfr.co.il>
Lines: 25
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


scwm-procedures.txt says:

(default-move-opaquely? win)
- (app scwm winops)
Return #t if WIN has area <= *opaque-move-percent* of the screen, else #f.
If *opaque-move-percent* is a boolean, not a number, just return it.
[From scheme/winops.scm:206]

whereas *opaque-move-percent* doesn't show up in scwm-variables-txt.

On the other hand, scwm-variables.txt has:

move-opaquely?
- (app scwm winops)
User-settable predicate to determine if windows should be moved opaquely.

[From scheme/winops.scm:216]

which is referenced in other functions in scwm-procedures.txt.

-- 
Harvey J. Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 11:51:39 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA17055
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 11:51:39 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from blinky.bfr.co.il (hjstein@morannon.bfr.co.il [192.116.142.129])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA17052
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Fri, 2 Jul 1999 11:51:35 -0400
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id SAA07941; Fri, 2 Jul 1999 18:51:30 +0300
To: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Documentation fuzziness on variable predicats.
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 02 Jul 1999 18:51:30 +0300
Message-ID: <m2pv2boxrx.fsf@blinky.bfr.co.il>
Lines: 18
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


scwm-variables.txt says:

move-opaquely?
- (app scwm winops)
User-settable predicate to determine if windows should be moved opaquely.

[From scheme/winops.scm:216]


Shouldn't it say what the arguments of this predicate should be?

The same goes for resize-opaquely?.

-- 
Harvey J. Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 12:00:49 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id MAA17142
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 12:00:49 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from bouvreuil.cybercable.fr (bouvreuil.cybercable.fr [212.198.3.12])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id MAA17139
	for <scwm-discuss@serveuse.mit.edu>; Fri, 2 Jul 1999 12:00:45 -0400
Received: (qmail 21497 invoked from network); 2 Jul 1999 16:00:17 -0000
Received: from d126.paris-126.cybercable.fr (HELO ZhengHe) ([212.198.126.126]) (envelope-sender <fare@tunes.org>)
          by bouvreuil.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <gjb@cs.washington.edu>; 2 Jul 1999 16:00:17 -0000
Received: from fare by ZhengHe with local (Exim 2.11 #1 (Debian))
	id 1105kV-0005bP-00; Fri, 2 Jul 1999 18:01:11 +0200
Date: Fri, 2 Jul 1999 18:01:11 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: Greg Badros <gjb@cs.washington.edu>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Hi
Message-ID: <19990702180111.A21504@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19990702035127.A15101@ZhengHe.augustin.thierry> <qrrd7ybodyx.fsf@elwha.cs.washington.edu> <19990702140945.A19175@ZhengHe.augustin.thierry> <qrr3dz7nkp5.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrr3dz7nkp5.fsf@elwha.cs.washington.edu>; from Greg Badros on Fri, Jul 02, 1999 at 08:19:18AM -0700
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

On Fri, Jul 02, 1999 at 08:19:18AM -0700, Greg Badros wrote:
> (use-scwm-modules foo bar (ice-9 regex))
Ok, thanks.

Another point:
why is there /usr/share/scwm/, /usr/share/scwm-modules/
and /usr/share/scwm-themes/*.tar.gz?
Shouldn't there rather be
	/usr/share/scwm/doc
	/usr/share/scwm/modules
	/usr/share/scwm/themes/*/
???

Also, there should be standard ways for modules to register optional menus,
so that I'd get the right theme menu if I load themes, the right _foo_
menu if I load foo, etc.
Maybe have a "database" of annotated features,
and a standard walker function to create the menu from annotations?

And the default Debian menus are horribly cluttered
by the use of large pixmaps instead of mini pixmaps,
for a lot of applications.

Hum. Are there agreed inter-wm ways to associate pixmaps to applications?
What about that "standard default keyboard mappings" initiative from
some time ago?

>> But how do I do things so that I can restore them back when un-maximizing?
>> Shouldn't such a "truly maximize, including or excluding borders and title"
>> be a standard function, instead of the bad approximation found in "standard"
>> scwmrc's?

> Agreed completely... and I'm hoping you or someone else will write it,
> and we'll include it.  I think it may be best to modify the existing
> maximization functionality.
I admit that since scwm already provides me 99% of the functionality I need,
and I have plenty other things to do, hacking SCWM is something I reserved
to my copious free time.

Hum. I guess I'll have to dig through SCWM's sources and docs
to understand how I may save the current window's decoration state,
change this state, determine the size of borders,
determine how to convert pixels into window geometry
(which itself depends on the program and its options,
but can be guessed since in two attempts max,
since one is an affine function of the other;
or maybe there are ways to probe that remove the need to guess?),
round upwards or downwards or to the nearest (at the user's option),
and how to modify the geometry.

Where shall I go, for starters?

> In general, when I suggest a way to do something, if it's cleaner to do
> by modifying scwm/scheme/*.scm [...]
Hum; maybe I'll try.
Independently from my amount of free time,
the anoncvs.html link on scwm's page is broken.

Cheers,

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
As far as natural selection applies to the human world, we don't ever get to
"let nature decide", because we ARE part of that nature that decides. Hence,
any claim to "let the nature decide" is just a fallacy to promote one point
of view against others, or to ignore one's responsibilities.
		-- Faré

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 12:22:40 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id MAA17341
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 12:22:40 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA17338
	for <scwm-discuss@serveuse.mit.edu>; Fri, 2 Jul 1999 12:22:35 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA16578; Fri, 2 Jul 1999 09:22:16 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Hi
References: <19990702035127.A15101@ZhengHe.augustin.thierry> <qrrd7ybodyx.fsf@elwha.cs.washington.edu> <19990702140945.A19175@ZhengHe.augustin.thierry> <qrr3dz7nkp5.fsf@elwha.cs.washington.edu> <19990702180111.A21504@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Jul 1999 09:22:15 -0700
In-Reply-To: Francois-Rene Rideau's message of "Fri, 2 Jul 1999 18:01:11 +0200"
Message-ID: <qrroghvm37s.fsf@elwha.cs.washington.edu>
Lines: 92
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> Ok, thanks.
> 
> Another point:
> why is there /usr/share/scwm/, /usr/share/scwm-modules/
> and /usr/share/scwm-themes/*.tar.gz?
> Shouldn't there rather be
> 	/usr/share/scwm/doc
> 	/usr/share/scwm/modules
> 	/usr/share/scwm/themes/*/
> ???

I agree with this completely, and I'll commit a change to do this
today.  Thanks for bringing it to my attention.

> Also, there should be standard ways for modules to register optional menus,
> so that I'd get the right theme menu if I load themes, the right _foo_
> menu if I load foo, etc.
> Maybe have a "database" of annotated features,
> and a standard walker function to create the menu from annotations?

This raises some fundamental extensibility questions that are worth
discussing.  I'm not quite ready to deal with some of those issues as I
need to better understand what I think the role of desktop environments
(e.g., KDE and GNOME) is going to be.  Better integration with those
(but without undue cost to users not running them) is a priority for me.

> And the default Debian menus are horribly cluttered
> by the use of large pixmaps instead of mini pixmaps,
> for a lot of applications.

That's unfortunate.  We should have a more useful standard scwmrc that
we distribute so that distributions' packaging doesn't have to do as
much (and thus do things differently than we might).  I must thank
Debian, though, for their quick and early support of Scwm.

> Hum. Are there agreed inter-wm ways to associate pixmaps to applications?
> What about that "standard default keyboard mappings" initiative from
> some time ago?

There is now a wm-spec mailing list where a bunch of us are hoping to
talk about issues like this.  I've got some catch up reading to do
because I apparently never got my mail reader set up to read it
properly.  See:

http://www.gnome.org/mailing-lists/archives/wm-spec-list/


> >> But how do I do things so that I can restore them back when un-maximizing?
> >> Shouldn't such a "truly maximize, including or excluding borders and title"
> >> be a standard function, instead of the bad approximation found in "standard"
> >> scwmrc's?
> 
> > Agreed completely... and I'm hoping you or someone else will write it,
> > and we'll include it.  I think it may be best to modify the existing
> > maximization functionality.
> I admit that since scwm already provides me 99% of the functionality I need,
> and I have plenty other things to do, hacking SCWM is something I reserved
> to my copious free time.
> 
> Hum. I guess I'll have to dig through SCWM's sources and docs
> to understand how I may save the current window's decoration state,
> change this state, determine the size of borders,
> determine how to convert pixels into window geometry
> (which itself depends on the program and its options,
> but can be guessed since in two attempts max,
> since one is an affine function of the other;
> or maybe there are ways to probe that remove the need to guess?),
> round upwards or downwards or to the nearest (at the user's option),
> and how to modify the geometry.
> 
> Where shall I go, for starters?

If you don't have the Scwm mode for Emacs set up, it's highly useful as
an interactive way to explore the documentation.  Reading the existing
code in scwm/scheme/*.scm is a good place to start, and the online
documentation is reasonably recent (I'll generate today and update the
web reference manual).

> 
> > In general, when I suggest a way to do something, if it's cleaner to do
> > by modifying scwm/scheme/*.scm [...]
> Hum; maybe I'll try.
> Independently from my amount of free time,
> the anoncvs.html link on scwm's page is broken.

Which link exactly?  What I tried worked for me...

Thanks!

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 12:32:24 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id MAA17454
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 12:32:24 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA17451
	for <scwm-discuss@serveuse.mit.edu>; Fri, 2 Jul 1999 12:32:19 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA17061; Fri, 2 Jul 1999 09:32:08 -0700 (PDT)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Documentation fuzziness on variable predicats.
References: <m2pv2boxrx.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Jul 1999 09:32:08 -0700
In-Reply-To: hjstein@bfr.co.il's message of "02 Jul 1999 18:51:30 +0300"
Message-ID: <qrrk8sjm2rb.fsf@elwha.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> scwm-variables.txt says:
> 
> move-opaquely?
> - (app scwm winops)
> User-settable predicate to determine if windows should be moved opaquely.
> 
> [From scheme/winops.scm:216]
> 
> 
> Shouldn't it say what the arguments of this predicate should be?
> 
> The same goes for resize-opaquely?.

Good point-- thanks!.  Both of these are using the old-style variable
documentation, though.  scwm-variables.txt is going to go away pretty
soon now, I hope.

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 12:38:22 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id MAA17529
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 12:38:22 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA17526
	for <scwm-discuss@serveuse.mit.edu>; Fri, 2 Jul 1999 12:38:16 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA17356; Fri, 2 Jul 1999 09:38:10 -0700 (PDT)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Documentation mismatch or bug btw default-move-opaquely? and *opaque-move-percent*?
References: <m2r9mroxyl.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Jul 1999 09:38:10 -0700
In-Reply-To: hjstein@bfr.co.il's message of "02 Jul 1999 18:47:30 +0300"
Message-ID: <qrrhfnnm2h9.fsf@elwha.cs.washington.edu>
Lines: 36
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> scwm-procedures.txt says:
> 
> (default-move-opaquely? win)
> - (app scwm winops)
> Return #t if WIN has area <= *opaque-move-percent* of the screen, else #f.
> If *opaque-move-percent* is a boolean, not a number, just return it.
> [From scheme/winops.scm:206]
> 
> whereas *opaque-move-percent* doesn't show up in scwm-variables-txt.
> 
> On the other hand, scwm-variables.txt has:
> 
> move-opaquely?
> - (app scwm winops)
> User-settable predicate to determine if windows should be moved opaquely.
> 
> [From scheme/winops.scm:216]
> 
> which is referenced in other functions in scwm-procedures.txt.

default-move-opaquely? is the default value for move-opaquely?, and
default-move-opaquely? uses *opaque-move-percent* to determine which
windows should be moved opaquely.

*opaque-move-percent* is a define-scwm-option variable (the new style I
was working on in Aprilish, that I never really finished because I had a 
month where I was relocating back to the U.S. from Australia and then a
bunch of conferences to go to).  If you've not tried the Scwm options
dialog stuff, I'd love to get more feedback on that.  There are some
module-related issues that I'm definitely aware of, but it works pretty
darn well with gjb.scwmrc.

Thanks,
Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 13:12:24 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id NAA17953
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 13:12:24 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from bouvreuil.cybercable.fr (bouvreuil.cybercable.fr [212.198.3.12])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id NAA17950
	for <scwm-discuss@serveuse.mit.edu>; Fri, 2 Jul 1999 13:12:17 -0400
Received: (qmail 3827 invoked from network); 2 Jul 1999 17:11:44 -0000
Received: from d126.paris-126.cybercable.fr (HELO ZhengHe) ([212.198.126.126]) (envelope-sender <fare@tunes.org>)
          by bouvreuil.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <gjb@cs.washington.edu>; 2 Jul 1999 17:11:44 -0000
Received: from fare by ZhengHe with local (Exim 2.11 #1 (Debian))
	id 1106re-0005ob-00; Fri, 2 Jul 1999 19:12:38 +0200
Date: Fri, 2 Jul 1999 19:12:38 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: Greg Badros <gjb@cs.washington.edu>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Swiftly Consume Whole Memory
Message-ID: <19990702191237.B21881@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19990702035127.A15101@ZhengHe.augustin.thierry> <qrrd7ybodyx.fsf@elwha.cs.washington.edu> <19990702140945.A19175@ZhengHe.augustin.thierry> <qrr3dz7nkp5.fsf@elwha.cs.washington.edu> <19990702180111.A21504@ZhengHe.augustin.thierry> <qrroghvm37s.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrroghvm37s.fsf@elwha.cs.washington.edu>; from Greg Badros on Fri, Jul 02, 1999 at 09:22:15AM -0700
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

>> Maybe have a "database" of annotated features,
>> and a standard walker function to create the menu from annotations?
> This raises some fundamental extensibility questions that are worth
> discussing.  I'm not quite ready to deal with some of those issues as I
> need to better understand what I think the role of desktop environments
> (e.g., KDE and GNOME) is going to be.  Better integration with those
> (but without undue cost to users not running them) is a priority for me.
I admit I know zilch about GNOME and KDE integration protocols.
I'm not sure they will help much with maintaining a base of scwm features,
tho.

> We should have a more useful standard scwmrc that
> we distribute so that distributions' packaging doesn't have to do as
> much (and thus do things differently than we might).
Yup. Maybe I should cleanup my scwmrc and propose it for public consumption?
Actually, I've split it into several files within ~/etc/scwm/
(I moved all my hand-edited configuration from ~/.* to ~/etc/*/* and put it
under CVS -- much much much nicer and more maintainable than was before.
And of course, it is shared as is between all my accounts).

> I must thank
> Debian, though, for their quick and early support of Scwm.
Yes, I think Debian people have been doing a great job.
Still, there is room for improvement.
And again, this is no problem particular to scwm:
all wm's have this problem of attaching resources to external programs.
Hum. Maybe have a world-readable server serving version-annotated
resource attachements?

> http://www.gnome.org/mailing-lists/archives/wm-spec-list/
Interesting. Thanks.

> If you don't have the Scwm mode for Emacs set up, it's highly useful as
> an interactive way to explore the documentation.  Reading the existing
> code in scwm/scheme/*.scm is a good place to start, and the online
> documentation is reasonably recent (I'll generate today and update the
> web reference manual).
Ok.

>> the anoncvs.html link on scwm's page is broken.
> Which link exactly?  What I tried worked for me...
Hum.
http://serveuse.mit.edu/anoncvs.html -> Not Found
cgi-bin/cvsweb is broken.

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
Your conscience never stops you from doing anything.  It just stops you
from enjoying it.

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 13:21:40 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id NAA18027
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 13:21:40 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA18024
	for <scwm-discuss@serveuse.mit.edu>; Fri, 2 Jul 1999 13:21:37 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA19501; Fri, 2 Jul 1999 10:21:33 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Swiftly Consume Whole Memory
References: <19990702035127.A15101@ZhengHe.augustin.thierry> <qrrd7ybodyx.fsf@elwha.cs.washington.edu> <19990702140945.A19175@ZhengHe.augustin.thierry> <qrr3dz7nkp5.fsf@elwha.cs.washington.edu> <19990702180111.A21504@ZhengHe.augustin.thierry> <qrroghvm37s.fsf@elwha.cs.washington.edu> <19990702191237.B21881@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Jul 1999 10:21:33 -0700
In-Reply-To: Francois-Rene Rideau's message of "Fri, 2 Jul 1999 19:12:38 +0200"
Message-ID: <qrr908zm0gy.fsf@elwha.cs.washington.edu>
Lines: 71
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> >> Maybe have a "database" of annotated features,
> >> and a standard walker function to create the menu from annotations?
> > This raises some fundamental extensibility questions that are worth
> > discussing.  I'm not quite ready to deal with some of those issues as I
> > need to better understand what I think the role of desktop environments
> > (e.g., KDE and GNOME) is going to be.  Better integration with those
> > (but without undue cost to users not running them) is a priority for me.
> I admit I know zilch about GNOME and KDE integration protocols.
> I'm not sure they will help much with maintaining a base of scwm features,
> tho.

I don't think they'll help in that respect either;  I simply think that
their existence may change the way we should think about what the WM
should do and how we split duties between the WM and the desktop environment.

> > We should have a more useful standard scwmrc that
> > we distribute so that distributions' packaging doesn't have to do as
> > much (and thus do things differently than we might).
> 
> Yup. Maybe I should cleanup my scwmrc and propose it for public consumption?
> Actually, I've split it into several files within ~/etc/scwm/
> (I moved all my hand-edited configuration from ~/.* to ~/etc/*/* and put it
> under CVS -- much much much nicer and more maintainable than was before.
> And of course, it is shared as is between all my accounts).

I'd love to see you scwmrc after it's all cleaned up.  I'm sure that
we'll make use of ideas you've come up with even if we don't embrace the 
entire configuration as is.

> > I must thank
> > Debian, though, for their quick and early support of Scwm.
> Yes, I think Debian people have been doing a great job.
> Still, there is room for improvement.
> And again, this is no problem particular to scwm:
> all wm's have this problem of attaching resources to external programs.
> Hum. Maybe have a world-readable server serving version-annotated
> resource attachements?

Perhaps... I can't help but be reminded of CDDB from your suggestion;
CDDB has been wildely successful, and I must admit it make mp3 that much 
better.

> 
> > http://www.gnome.org/mailing-lists/archives/wm-spec-list/
> Interesting. Thanks.
> 
> > If you don't have the Scwm mode for Emacs set up, it's highly useful as
> > an interactive way to explore the documentation.  Reading the existing
> > code in scwm/scheme/*.scm is a good place to start, and the online
> > documentation is reasonably recent (I'll generate today and update the
> > web reference manual).
> Ok.
> 
> >> the anoncvs.html link on scwm's page is broken.
> > Which link exactly?  What I tried worked for me...
> Hum.
> http://serveuse.mit.edu/anoncvs.html -> Not Found

My copy of http://serveuse.mit.edu/scwm links to
http://serveuse.mit.edu/scwm/anoncvs.html (note the scwm/ directory in there).

> cgi-bin/cvsweb is broken.

Yes; I understand Maciej is making getting that up one of his
priorities-- many of the developer notes and other links rely on cvsweb
to introspect on the repo.

Thanks,
Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 14:24:14 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id OAA18208
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 14:24:14 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from bouvreuil.cybercable.fr (bouvreuil.cybercable.fr [212.198.3.12])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id OAA18205
	for <scwm-discuss@serveuse.mit.edu>; Fri, 2 Jul 1999 14:24:08 -0400
Received: (qmail 25038 invoked from network); 2 Jul 1999 18:23:50 -0000
Received: from d126.paris-126.cybercable.fr (HELO ZhengHe) ([212.198.126.126]) (envelope-sender <fare@tunes.org>)
          by bouvreuil.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <gjb@cs.washington.edu>; 2 Jul 1999 18:23:50 -0000
Received: from fare by ZhengHe with local (Exim 2.11 #1 (Debian))
	id 1107yz-0005yY-00; Fri, 2 Jul 1999 20:24:17 +0200
Date: Fri, 2 Jul 1999 20:24:17 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: Greg Badros <gjb@cs.washington.edu>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Swiftly Consume Whole Memory
Message-ID: <19990702202417.A22641@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19990702035127.A15101@ZhengHe.augustin.thierry> <qrrd7ybodyx.fsf@elwha.cs.washington.edu> <19990702140945.A19175@ZhengHe.augustin.thierry> <qrr3dz7nkp5.fsf@elwha.cs.washington.edu> <19990702180111.A21504@ZhengHe.augustin.thierry> <qrroghvm37s.fsf@elwha.cs.washington.edu> <19990702191237.B21881@ZhengHe.augustin.thierry> <qrr908zm0gy.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrr908zm0gy.fsf@elwha.cs.washington.edu>; from Greg Badros on Fri, Jul 02, 1999 at 10:21:33AM -0700
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

>> I admit I know zilch about GNOME and KDE integration protocols.
>> I'm not sure they will help much with maintaining a base of scwm features,
>> tho.
> I don't think they'll help in that respect either;  I simply think that
> their existence may change the way we should think about what the WM
> should do and how we split duties between the WM and the desktop environment.
My opinion is that there is not much the WM has to do about that all.
Actually, I believe that something is rotten in the kingdom of Unix and X,
and that the solution is Tunes. But this is altogether another problem.

> I'd love to see you scwmrc after it's all cleaned up.  I'm sure that
> we'll make use of ideas you've come up with even if we don't embrace the
> entire configuration as is.
Well, I've put it all in
	http://www.tunes.org/~fare/tmp/scwm/fare-scwm.tar.gz
To use it,
1) make a backup of your whole disk^W^W .scwmrc
2) extract the archive from your $HOME
3) cd ; ln -sf etc/scwm/my-scwm.scm .scwmrc
(re)start your scwm.

It's very rough, but it works (to me at least).
Needs lots of work before it becomes "serious",
but at least it's kind of cleanly separated into files.

I think that most everything one needs should be in standard modules,
and that a typical users' .scwmrc would be a few lines long of options,
possibly together with interactively autogenerated datafiles in ~/.scwm/
or ~/.stdwmstuff/...

>> Hum. Maybe have a world-readable server serving version-annotated
>> resource attachements?
> Perhaps... I can't help but be reminded of CDDB from your suggestion;
> CDDB has been wildely successful, and I must admit it make mp3 that much
> better.
Yeah, that'd be good. If only we don't end
with proprietary licensing stuff as with CDDB
(was the problem resolved?)...

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
The word "religion" may mean many things, though confusion often reigns
among which is used, since they are mêmês that historically have often been
found together: the best mêmê is the link between man and nature, which
allows man to understand his place in the universe; the worst one is that
this link be caricatured by a cast of priests corrupted by money and power,
who'll propagate fairy tales written by the ignorant ancient, that, under
social pressure, people will accept, with blind faith in authorities.

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 14:59:20 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id OAA18547
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 14:59:20 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from quasar.newtonlabs.com (host97.newtonlabs.com [206.125.74.97])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA18544
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Fri, 2 Jul 1999 14:59:15 -0400
Received: from bogomips.newtonlabs.com (bogomips.newtonlabs.com [207.55.51.12])
	by quasar.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) with ESMTP id LAA14464;
	Fri, 2 Jul 1999 11:59:09 -0700
Received: (from cwitty@localhost)
	by bogomips.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) id LAA17997;
	Fri, 2 Jul 1999 11:59:08 -0700
To: Greg Badros <gjb@cs.washington.edu>
Cc: Francois-Rene Rideau <fare@tunes.org>,
        SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Hi
References: <19990702035127.A15101@ZhengHe.augustin.thierry> <qrrd7ybodyx.fsf@elwha.cs.washington.edu> <19990702140945.A19175@ZhengHe.augustin.thierry> <qrr3dz7nkp5.fsf@elwha.cs.washington.edu> <19990702180111.A21504@ZhengHe.augustin.thierry> <qrroghvm37s.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: cwitty@newtonlabs.com (Carl R. Witty)
Date: 02 Jul 1999 11:59:07 -0700
In-Reply-To: Greg Badros's message of "02 Jul 1999 09:22:15 -0700"
Message-ID: <v4j7loivpxg.fsf@bogomips.newtonlabs.com>
Lines: 22
X-Mailer: Gnus v5.4.61/Emacs 19.34
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> > And the default Debian menus are horribly cluttered
> > by the use of large pixmaps instead of mini pixmaps,
> > for a lot of applications.
> 
> That's unfortunate.  We should have a more useful standard scwmrc that
> we distribute so that distributions' packaging doesn't have to do as
> much (and thus do things differently than we might).  I must thank
> Debian, though, for their quick and early support of Scwm.

The Debian menus in question are automatically generated by the
packaging system, which means they reflect exactly the packages
currently installed on the machine.  This is a very cool and useful
feature, and one which I would not give up in favor of hand-written
menus, even if the hand-written menus were more aesthetically
pleasing.  Each application specifies its own menu icon;
unfortunately, many of these icons are far too large.  I don't think
there's anything scwm can do about the problem unless we want to
automatically resize menu icons.

Carl Witty

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 15:06:05 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id PAA18607
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 15:06:05 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA18604
	for <scwm-discuss@serveuse.mit.edu>; Fri, 2 Jul 1999 15:05:59 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA24542; Fri, 2 Jul 1999 12:05:54 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Swiftly Consume Whole Memory
References: <19990702035127.A15101@ZhengHe.augustin.thierry> <qrrd7ybodyx.fsf@elwha.cs.washington.edu> <19990702140945.A19175@ZhengHe.augustin.thierry> <qrr3dz7nkp5.fsf@elwha.cs.washington.edu> <19990702180111.A21504@ZhengHe.augustin.thierry> <qrroghvm37s.fsf@elwha.cs.washington.edu> <19990702191237.B21881@ZhengHe.augustin.thierry> <qrr908zm0gy.fsf@elwha.cs.washington.edu> <19990702202417.A22641@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Jul 1999 12:05:53 -0700
In-Reply-To: Francois-Rene Rideau's message of "Fri, 2 Jul 1999 20:24:17 +0200"
Message-ID: <qrrzp1elvn2.fsf@elwha.cs.washington.edu>
Lines: 29
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

<snip>

> > I'd love to see you scwmrc after it's all cleaned up.  I'm sure that
> > we'll make use of ideas you've come up with even if we don't embrace the
> > entire configuration as is.
> Well, I've put it all in
> 	http://www.tunes.org/~fare/tmp/scwm/fare-scwm.tar.gz

I found it at : ~fare/tmp/fare-scwm.tar.gz (no scwm/ directory)

> It's very rough, but it works (to me at least).
> Needs lots of work before it becomes "serious",
> but at least it's kind of cleanly separated into files.

I'll take a look-- thanks!

> I think that most everything one needs should be in standard modules,
> and that a typical users' .scwmrc would be a few lines long of options,
> possibly together with interactively autogenerated datafiles in ~/.scwm/
> or ~/.stdwmstuff/...

Well, ideally the typical user can just use the GUI options dialog to
configure Scwm! 

<snip>

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 15:09:06 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id PAA18673
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 15:09:06 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA18670
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Fri, 2 Jul 1999 15:09:02 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA24694; Fri, 2 Jul 1999 12:08:57 -0700 (PDT)
To: cwitty@newtonlabs.com (Carl R. Witty)
Cc: Francois-Rene Rideau <fare@tunes.org>,
        SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Hi
References: <19990702035127.A15101@ZhengHe.augustin.thierry> <qrrd7ybodyx.fsf@elwha.cs.washington.edu> <19990702140945.A19175@ZhengHe.augustin.thierry> <qrr3dz7nkp5.fsf@elwha.cs.washington.edu> <19990702180111.A21504@ZhengHe.augustin.thierry> <qrroghvm37s.fsf@elwha.cs.washington.edu> <v4j7loivpxg.fsf@bogomips.newtonlabs.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Jul 1999 12:08:57 -0700
In-Reply-To: cwitty@newtonlabs.com's message of "02 Jul 1999 11:59:07 -0700"
Message-ID: <qrrwvwilvhy.fsf@elwha.cs.washington.edu>
Lines: 38
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

cwitty@newtonlabs.com (Carl R. Witty) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > > And the default Debian menus are horribly cluttered
> > > by the use of large pixmaps instead of mini pixmaps,
> > > for a lot of applications.
> > 
> > That's unfortunate.  We should have a more useful standard scwmrc that
> > we distribute so that distributions' packaging doesn't have to do as
> > much (and thus do things differently than we might).  I must thank
> > Debian, though, for their quick and early support of Scwm.
> 
> The Debian menus in question are automatically generated by the
> packaging system, which means they reflect exactly the packages
> currently installed on the machine.  This is a very cool and useful
> feature, and one which I would not give up in favor of hand-written
> menus, even if the hand-written menus were more aesthetically
> pleasing.  Each application specifies its own menu icon;

My gjb.scwmrc copies a style from my TNL/AnotherLevel m4-based fvwm2
configuration that permits specifying all the information about an
application in one place, then builds the menu out of that list.
Standardizing that stuff is definitely a good thing and I'll have to
look more at how Debian and Redhat manage this sort of meta-information
about applications.

> unfortunately, many of these icons are far too large.  I don't think
> there's anything scwm can do about the problem unless we want to
> automatically resize menu icons.

It's actually going to be really easy to resize images in the very near
future.  Stay tuned for a new primitive that'll do that.  Should we have 
a Scwm icon logo competition?  We should have a good mini-icon for Scwm, 
and a bigger one too, for sure.

Thanks,
Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 15:24:42 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id PAA18860
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 15:24:42 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from bouvreuil.cybercable.fr (bouvreuil.cybercable.fr [212.198.3.12])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id PAA18857
	for <scwm-discuss@serveuse.mit.edu>; Fri, 2 Jul 1999 15:24:38 -0400
Received: (qmail 19176 invoked from network); 2 Jul 1999 19:10:52 -0000
Received: from d126.paris-126.cybercable.fr (HELO ZhengHe) ([212.198.126.126]) (envelope-sender <fare@tunes.org>)
          by bouvreuil.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <cwitty@newtonlabs.com>; 2 Jul 1999 19:10:52 -0000
Received: from fare by ZhengHe with local (Exim 2.11 #1 (Debian))
	id 1108iv-00068l-00; Fri, 2 Jul 1999 21:11:45 +0200
Date: Fri, 2 Jul 1999 21:11:45 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: "Carl R. Witty" <cwitty@newtonlabs.com>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Slow Considerably Worrisome Molasses
Message-ID: <19990702211145.B23080@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19990702035127.A15101@ZhengHe.augustin.thierry> <qrrd7ybodyx.fsf@elwha.cs.washington.edu> <19990702140945.A19175@ZhengHe.augustin.thierry> <qrr3dz7nkp5.fsf@elwha.cs.washington.edu> <19990702180111.A21504@ZhengHe.augustin.thierry> <qrroghvm37s.fsf@elwha.cs.washington.edu> <v4j7loivpxg.fsf@bogomips.newtonlabs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <v4j7loivpxg.fsf@bogomips.newtonlabs.com>; from Carl R. Witty on Fri, Jul 02, 1999 at 11:59:07AM -0700
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

> The Debian menus in question are automatically generated by the
> packaging system, which means they reflect exactly the packages
> currently installed on the machine.  This is a very cool and useful
> feature, and one which I would not give up in favor of hand-written
> menus, even if the hand-written menus were more aesthetically
> pleasing.
Sure sure! Only I think the current generator is broken
in that it mixes mini- and non-mini- icons in menus,
which is _quite_ annoying.

> Each application specifies its own menu icon;
> unfortunately, many of these icons are far too large.  I don't think
> there's anything scwm can do about the problem unless we want to
> automatically resize menu icons.
Each application should have an annotated set of icons instead,
and the window-manager and/or generator would pick the one that fits most.

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
A successful [software] tool is one that was used to do something
undreamed of by its author.
		-- S. C. Johnson

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 15:30:52 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id PAA18941
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 15:30:52 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA18936
	for <scwm-discuss@serveuse.mit.edu>; Fri, 2 Jul 1999 15:30:48 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA25759; Fri, 2 Jul 1999 12:30:40 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Super Cool Wonderful Meanderings [was Re: Slow Considerably Worrisome Molasses]
References: <19990702035127.A15101@ZhengHe.augustin.thierry> <qrrd7ybodyx.fsf@elwha.cs.washington.edu> <19990702140945.A19175@ZhengHe.augustin.thierry> <qrr3dz7nkp5.fsf@elwha.cs.washington.edu> <19990702180111.A21504@ZhengHe.augustin.thierry> <qrroghvm37s.fsf@elwha.cs.washington.edu> <v4j7loivpxg.fsf@bogomips.newtonlabs.com> <19990702211145.B23080@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Jul 1999 12:30:40 -0700
In-Reply-To: Francois-Rene Rideau's message of "Fri, 2 Jul 1999 21:11:45 +0200"
Message-ID: <qrroghuluhr.fsf_-_@elwha.cs.washington.edu>
Lines: 21
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> > The Debian menus in question are automatically generated by the
> > packaging system, which means they reflect exactly the packages
> > currently installed on the machine.  This is a very cool and useful
> > feature, and one which I would not give up in favor of hand-written
> > menus, even if the hand-written menus were more aesthetically
> > pleasing.
> Sure sure! Only I think the current generator is broken
> in that it mixes mini- and non-mini- icons in menus,
> which is _quite_ annoying.

<snip>

> Each application should have an annotated set of icons instead,
> and the window-manager and/or generator would pick the one that fits most.

This seems like a good idea-- an ordered list of possible icons from
which the WM/Desktop-Environment chooses.

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 17:14:02 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id RAA19214
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 17:14:02 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA19211
	for <scwm-discuss@serveuse.mit.edu>; Fri, 2 Jul 1999 17:13:57 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA00906; Fri, 2 Jul 1999 14:13:53 -0700 (PDT)
To: scwm-discuss@serveuse.mit.edu
Subject: Scwm Reference Manual updated
From: Greg Badros <badros@cs.washington.edu>
Date: 02 Jul 1999 14:13:53 -0700
Message-ID: <qrr3dz6lppq.fsf@elwha.cs.washington.edu>
Lines: 12
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

The HTML generating from scwm.sgml just finished (it takes *hours*,
literally), and I just put the new pages up at my web site:

http://www.cs.washington.edu/homes/gjb/scwm-doc

linked to from the scwm pages:

http://serveuse.mit.edu/scwm/

Enjoy!

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  2 21:48:46 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id VAA19741
	for scwm-discuss-outgoing; Fri, 2 Jul 1999 21:48:46 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from mail.execpc.com (qmailr@narn-1-168.mdm.mke.execpc.com [169.207.136.42])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id VAA19738
	for <scwm-discuss@serveuse.mit.edu>; Fri, 2 Jul 1999 21:48:39 -0400
Received: (qmail 199 invoked by uid 1000); 3 Jul 1999 01:41:55 -0000
Date: Fri, 2 Jul 1999 20:41:55 -0500
From: "A. P. Garcia" <apg@execpc.com>
To: scwm-discuss@serveuse.mit.edu
Subject: weird key bindings
Message-ID: <19990702204155.A138@execpc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3i
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

I want to experiment with key bindings analogous to vi's - to start with,
a hotkey to toggle between "wm mode" and "app mode," and while in
"wm mode," h would cycle the active window to the previous window in the
list, ; would cycle the active window to the next window in the list,
j would lower the active window one place in the stack, and k would
raise the active window one place in the stack.  Once that's in place,
I could start playing with other stuff - deleting, copying (well,
invoking another instance of a particular app maybe), whatever.

I think I would call this the Stimpy interface ("happy happy joy joy").

Anyway, would it be feasible to try something like this?

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sat Jul  3 00:19:26 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id AAA19902
	for scwm-discuss-outgoing; Sat, 3 Jul 1999 00:19:26 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA19899
	for <scwm-discuss@serveuse.mit.edu>; Sat, 3 Jul 1999 00:19:20 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA21667; Fri, 2 Jul 1999 21:19:07 -0700 (PDT)
To: "A. P. Garcia" <apg@execpc.com>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: weird key bindings
References: <19990702204155.A138@execpc.com>
From: Greg Badros <badros@cs.washington.edu>
Date: 02 Jul 1999 21:19:07 -0700
In-Reply-To: "A. P. Garcia"'s message of "Fri, 2 Jul 1999 20:41:55 -0500"
Message-ID: <qrrd7yajrgk.fsf@elwha.cs.washington.edu>
Lines: 32
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

"A. P. Garcia" <apg@execpc.com> writes:

> I want to experiment with key bindings analogous to vi's - to start with,
> a hotkey to toggle between "wm mode" and "app mode," and while in
> "wm mode," h would cycle the active window to the previous window in the
> list, ; would cycle the active window to the next window in the list,
> j would lower the active window one place in the stack, and k would
> raise the active window one place in the stack.  Once that's in place,
> I could start playing with other stuff - deleting, copying (well,
> invoking another instance of a particular app maybe), whatever.
> 
> I think I would call this the Stimpy interface ("happy happy joy joy").
> 
> Anyway, would it be feasible to try something like this?

Definitely.  You'll just be doing lots of binding and unbinding.  You
may want to have a data structure (some kind of list, of course) that
contains a group of bindings and then have procedures to install and
uninstall sets of bindings en masse.

(In general, I think modes stink, and I'm pretty certain I wouldn't like 
this specific application of modes, but we don't dictate policy, so go
at it!)

Of course, this'll all be easier after the event rewrite when that
happens (but that'll be post-1.0).

Please report back when you have something to share, or if you have
further questions.

Greg


From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sat Jul  3 02:21:57 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id CAA20255
	for scwm-discuss-outgoing; Sat, 3 Jul 1999 02:21:57 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from lovecraft.chem.cmu.edu (17@LOVECRAFT.CHEM.CMU.EDU [128.2.42.141])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA20252
	for <scwm-discuss@serveuse.mit.edu>; Sat, 3 Jul 1999 02:21:52 -0400
Received: from lovecraft.chem.cmu.edu (localhost [127.0.0.1])
	by lovecraft.chem.cmu.edu (Postfix) with ESMTP id 776E7D3D9
	for <scwm-discuss@serveuse.mit.edu>; Sat,  3 Jul 1999 02:21:50 -0400 (EDT)
To: scwm-discuss@serveuse.mit.edu
Subject: Several probably unrelated errors :)
Date: Sat, 03 Jul 1999 02:21:50 -0400
From: Eric Moore <moore@lovecraft.chem.cmu.edu>
Message-Id: <19990703062150.776E7D3D9@lovecraft.chem.cmu.edu>
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


-------------------- Error 1 --------------------------------------------------

Since scwmexec is perhaps the coolest feature of scwm I thought I'd
see if this gives anyone any hints.  Using a freshly compiled scwm
(without constriants):

lovecraft:/usr/src/scwm$ scwm --segv-reset-count 0 &
lovecraft:/usr/src/scwm$ scwmrepl
[Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity
[2]+  Segmentation fault      (core dumped) scwm --segv-reset-count 0
scwm> lovecraft:/usr/src/scwm$ 

lovecraft:/usr/src/scwm$ gdb  scwm/scwm core

#0  0x8075683 in Done (restart_or_dump=-1, command=0x0) at shutdown.c:140
140	    Done(*((int *)0),NULL); /* Force seg fault */
(gdb) backtrace
#0  0x8075683 in Done (restart_or_dump=-1, command=0x0) at shutdown.c:140
#1  0x80751a5 in SigDoneSegv (ignored_ignore=11) at scwm.c:1422
#2  <signal handler called>
#3  0xc0098000 in ?? ()
#4  0x80636a4 in HandleScwmExec () at events.c:668
#5  0x80637ee in HandlePropertyNotify () at events.c:741
#6  0x8062ea1 in DispatchEvent () at events.c:258
#7  0x8062ed2 in HandleEvents () at events.c:280
#8  0x8074a60 in scwm_main (argc=3, argv=0xbffffcc4) at scwm.c:1093
#9  0x4012c6f0 in gh_launch_pad (closure=0x8073dc8, argc=3, argv=0xbffffcc4)
    at gh_init.c:60
#10 0x4012f239 in invoke_main_func (body_data=0xbffffc68) at init.c:568
#11 0x40157f36 in scm_internal_lazy_catch (tag=9076, 
    body=0x4012f20c <invoke_main_func>, body_data=0xbffffc68, 
    handler=0x40158260 <scm_handle_by_message>, handler_data=0x0)
    at throw.c:328

-------------------- Error 2 --------------------------------------------------

Also, is the constraint solver supposed to work with cassowary-0.42?
when I try and compile with constraint support, I get the following
errors (which looks like a headerfile version mismach to me :)

c++ -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/X11R6/include -I/usr/include -I/usr/include  -g -O2 -c constraint-primitives.cc
scwm-constraints.hpp: In method `void ScwmWindowConstraintInfo::AddStays(class ClSimplexSolver *)':
In file included from constraint-primitives.cc:21:
scwm-constraints.hpp:95: no matching function for call to `ClSimplexSolver::AddPointStay (ClVariable &, ClVariable &, const ClStrength &, int &)'
/usr/include/cassowary/ClSimplexSolver.h:172: candidates are: ClSimplexSolver::AddPointStay(ClVariable, ClVariable, double)
/usr/include/cassowary/ClSimplexSolver.h:174:                 ClSimplexSolver::AddPointStay(const ClPoint &, double)
scwm-constraints.hpp:96: no matching function for call to `ClSimplexSolver::AddPointStay (ClVariable &, ClVariable &, const ClStrength &, int &)'
/usr/include/cassowary/ClSimplexSolver.h:172: candidates are: ClSimplexSolver::AddPointStay(ClVariable, ClVariable, double)
/usr/include/cassowary/ClSimplexSolver.h:174: ClSimplexSolver::AddPointStay(const ClPoint &, double)
constraint-primitives.cc: At top level:
constraint-primitives.cc:46: type specifier omitted for parameter
constraint-primitives.cc:46: parse error before `*'
constraint-primitives.cc: In function `void ScwmClvChanged(...)':
constraint-primitives.cc:49: `pclv' undeclared (first use this function)
constraint-primitives.cc:49: (Each undeclared identifier is reported only once
constraint-primitives.cc:49: for each function it appears in.)
constraint-primitives.cc:57: confused by earlier errors, bailing out


-------------------- Error 3 --------------------------------------------------

Just seem to be some makefile snafus: (I just make -k and ignore them :)
make[1]: Entering directory `/usr/src/scwm/pixmaps'
make[1]: *** No rule to make target `all'.  Stop.


From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sat Jul  3 02:47:31 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id CAA20379
	for scwm-discuss-outgoing; Sat, 3 Jul 1999 02:47:31 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA20376
	for <scwm-discuss@serveuse.mit.edu>; Sat, 3 Jul 1999 02:47:25 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id XAA28960; Fri, 2 Jul 1999 23:47:21 -0700 (PDT)
To: Eric Moore <moore@lovecraft.chem.cmu.edu>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: Several probably unrelated errors :)
References: <19990703062150.776E7D3D9@lovecraft.chem.cmu.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Jul 1999 23:47:21 -0700
In-Reply-To: Eric Moore's message of "Sat, 03 Jul 1999 02:21:50 -0400"
Message-ID: <qrrwvwii612.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Eric Moore <moore@lovecraft.chem.cmu.edu> writes:

> -------------------- Error 1 --------------------------------------------------
> 
> Since scwmexec is perhaps the coolest feature of scwm I thought I'd
> see if this gives anyone any hints.  Using a freshly compiled scwm
> (without constriants):

What version of guile?  Is scwmrepl freshly compiled from same sources?
Can you run under a debugger and investigate the seg fault a bit.  Also
consider trying the --segv-just-stop command line option.

> -------------------- Error 2 --------------------------------------------------
> 
> Also, is the constraint solver supposed to work with cassowary-0.42?
> when I try and compile with constraint support, I get the following
> errors (which looks like a headerfile version mismach to me :)

Nope.. the constraint solver has since progressed.  I'm gonna package up 
a new version of Cassowary very soon now so that you can try it again.
The interface on using the solver is actually usable finally, so I'm
very interested in feedback.

> -------------------- Error 3 --------------------------------------------------
> Just seem to be some makefile snafus: (I just make -k and ignore them :)
> make[1]: Entering directory `/usr/src/scwm/pixmaps'
> make[1]: *** No rule to make target `all'.  Stop.

Is this fresh out of CVS-- I thought I fixed this yesterday, but it's
often easy to miss a configuration thing because I rarely rebuild from
complete scratch during development.

Thanks for the bug reports!

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sat Jul  3 03:04:03 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id DAA20503
	for scwm-discuss-outgoing; Sat, 3 Jul 1999 03:04:03 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA20500
	for <scwm-discuss@serveuse.mit.edu>; Sat, 3 Jul 1999 03:04:00 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id AAA29780; Sat, 3 Jul 1999 00:03:53 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@serveuse.mit.edu
Subject: scwm esd interface
From: Greg Badros <gjb@cs.washington.edu>
Date: 03 Jul 1999 00:03:53 -0700
Message-ID: <qrru2rmi59i.fsf@elwha.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

I just started playing with your esound interface---I'm slowly
revisiting all the code that I haven't yet looked at.  esd is pretty
darn cool and it's even cooler that we can talk to it from Scwm... nice
work!

FWIW, I'm thinking of wrapping sound objects a bit better to obviate the 
need for sound-unload by making them properly finalized objects via
garbage collection-- i.e., making them real SMOBs instead of just
integers.  This would also drop the NAME field from sound-load, since I
can't otherwise see what it's for.  Can you fill me in on anything I'm
missing.  My apologies for any obvious ignorance-- I've not read the
esound docs or looked at it's source at all.

Also, I consistently get (even with plain esdplay from the command line) 
a seemingly-harmless warning "Audio File Library: error 5: Unix read
failed" -- the sound plays fine, though.  (This is with audiofile-0.1.7, 
and esound-0.2.8). Do you know anything about this error message?

Thanks,
Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sat Jul  3 03:28:38 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id DAA20839
	for scwm-discuss-outgoing; Sat, 3 Jul 1999 03:28:38 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA20836
	for <scwm-discuss@serveuse.mit.edu>; Sat, 3 Jul 1999 03:28:31 -0400
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id RAA08503
	for <scwm-discuss@serveuse.mit.edu>; Sat, 3 Jul 1999 17:28:19 +1000
Message-ID: <377DADD9.843552F3@tech.com.au>
Date: Sat, 03 Jul 1999 16:29:45 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.9 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@serveuse.mit.edu
Subject: Re: anoncvs is back
References: <m3vhc67akr.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <377AC5E6.23F49FA2@ozemail.com.au> <qrr67453v55.fsf@elwha.cs.washington.edu> <377B1396.D2D841AF@ozemail.com.au> <m21zesjvfy.fsf@blinky.bfr.co.il> <m2n1xgidtr.fsf@blinky.bfr.co.il> <qrriu84qt1y.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Yes the problem turned out to be library mismatch. setting
LD_LIBRARY_PATH=/usr/local/lib solved it. I don't really want to
uninstall the RedHat 6.0 guile though because other things depend on it.
I thought though if you linked with /usr/local/lib/libguile.so then that
would be the first place it would look when you run it?

I had a small problem building scwm from cvs. The configure script
failed with ltconfig --no-reexec - unknown option. Are you guys using a
more recent version or something?


Greg Badros wrote:
> 
> hjstein@bfr.co.il (Harvey J. Stein) writes:
> 
> > This is on RH6.0, guile 1.3-10 from suse (because the Redhat one
> > didn't include the guile-config or guile-snarf script).
> 
> Your problem is almost definitely a guile library mismatch of some
> sorts.  I was confused, too, about the lack of guile-config and
> guile-snarf in RH6 after installing guile.  Turns out that there is a
> guile-devel-1.3-6 (-6 is what I have, go with more recent if they've got
> it) package that you should install on top of the guile package that
> gets included by default.  And be sure to remove the SUSE guile stuff.
> 
> Greg

-- 
Chris Bitmead
mailto:chris@tech.com.au
http://www.techphoto.org - Photography News, Stuff that Matters

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sat Jul  3 07:52:07 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id HAA21476
	for scwm-discuss-outgoing; Sat, 3 Jul 1999 07:52:07 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from bouvreuil.cybercable.fr (bouvreuil.cybercable.fr [212.198.3.12])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id HAA21473
	for <scwm-discuss@serveuse.mit.edu>; Sat, 3 Jul 1999 07:51:59 -0400
Received: (qmail 4105 invoked from network); 3 Jul 1999 11:51:47 -0000
Received: from d195.paris-131.cybercable.fr (HELO ZhengHe) ([212.198.131.195]) (envelope-sender <fare@tunes.org>)
          by bouvreuil.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <gjb@cs.washington.edu>; 3 Jul 1999 11:51:47 -0000
Received: from fare by ZhengHe with local (Exim 2.11 #1 (Debian))
	id 110OLN-0008Nn-00; Sat, 3 Jul 1999 13:52:29 +0200
Date: Sat, 3 Jul 1999 13:52:29 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: Greg Badros <gjb@cs.washington.edu>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Swiftly Consume Whole Memory
Message-ID: <19990703135229.A32202@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19990702035127.A15101@ZhengHe.augustin.thierry> <qrrd7ybodyx.fsf@elwha.cs.washington.edu> <19990702140945.A19175@ZhengHe.augustin.thierry> <qrr3dz7nkp5.fsf@elwha.cs.washington.edu> <19990702180111.A21504@ZhengHe.augustin.thierry> <qrroghvm37s.fsf@elwha.cs.washington.edu> <19990702191237.B21881@ZhengHe.augustin.thierry> <qrr908zm0gy.fsf@elwha.cs.washington.edu> <19990702202417.A22641@ZhengHe.augustin.thierry> <qrrzp1elvn2.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrrzp1elvn2.fsf@elwha.cs.washington.edu>; from Greg Badros on Fri, Jul 02, 1999 at 12:05:53PM -0700
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

> I found it at : ~fare/tmp/fare-scwm.tar.gz (no scwm/ directory)
Oops.
And double-oops, the archive I put yesterday included
stupid modifications that didn't work!
I've just replaced it with one that works.

BTW, use-scwm-modules would better return a list of working modules
to use with (define mods (use-scwm-modules ...))) (if (member foo mods) ...)
rather than an array of booleans! My scwmrc emulates this behavior...
I used a butt-ugly macro to work around current behavior
(long live LISP macros!).
Or maybe rather have a good old global feature list
as in traditional poor man's (provide) (require) kind of modularity?

> I'll take a look-- thanks!
Well, er, thank for SCWM!

> Well, ideally the typical user can just use the GUI options dialog to
> configure Scwm!
Yeah, that's what I meant.

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
The last good thing written in C was Franz Schubert's Symphony number 9.
	-- Erwin Dieterich <erwin@cvt12.verfahrenstechnik.uni-stuttgart.de>

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sat Jul  3 08:03:52 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id IAA21558
	for scwm-discuss-outgoing; Sat, 3 Jul 1999 08:03:52 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from localhost.localdomain (qmailr@pool02b-194-7-99-53.uunet.be [194.7.99.53])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id IAA21555
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Sat, 3 Jul 1999 08:03:47 -0400
Received: (qmail 10398 invoked by uid 500); 2 Jul 1999 22:15:42 -0000
From: "Lieven Marchand" <mal@bewoner.dma.be>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Sat,  3 Jul 1999 00:15:42 +0200 (CEST)
To: Greg Badros <gjb@cs.washington.edu>
Cc: cwitty@newtonlabs.com (Carl R. Witty),
        Francois-Rene Rideau <fare@tunes.org>,
        SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Hi
In-Reply-To: <qrrwvwilvhy.fsf@elwha.cs.washington.edu>
References: <19990702035127.A15101@ZhengHe.augustin.thierry>
	<qrrd7ybodyx.fsf@elwha.cs.washington.edu>
	<19990702140945.A19175@ZhengHe.augustin.thierry>
	<qrr3dz7nkp5.fsf@elwha.cs.washington.edu>
	<19990702180111.A21504@ZhengHe.augustin.thierry>
	<qrroghvm37s.fsf@elwha.cs.washington.edu>
	<v4j7loivpxg.fsf@bogomips.newtonlabs.com>
	<qrrwvwilvhy.fsf@elwha.cs.washington.edu>
X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs  Lucid
Message-ID: <14205.14751.795018.531887@localhost.localdomain>
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Greg Badros writes:
 > Standardizing that stuff is definitely a good thing and I'll have to
 > look more at how Debian and Redhat manage this sort of meta-information
 > about applications.

Redhat 5.2 (still not upgraded but I think this is the same in 6.0)
does this with wmconfig. I've hacked support in for scwm on my machine
but I haven't gotten around to sending a patch to the maintainer.

-- 
Lieven Marchand <mal@bewoner.dma.be>
If there are aliens, they play Go. -- Lasker

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sat Jul  3 16:23:43 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id QAA21989
	for scwm-discuss-outgoing; Sat, 3 Jul 1999 16:23:43 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from lovecraft.chem.cmu.edu (17@LOVECRAFT.CHEM.CMU.EDU [128.2.42.141])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA21986
	for <scwm-discuss@serveuse.mit.edu>; Sat, 3 Jul 1999 16:23:37 -0400
Received: from lovecraft.chem.cmu.edu (localhost [127.0.0.1])
	by lovecraft.chem.cmu.edu (Postfix) with ESMTP
	id D0AFCD3D9; Sat,  3 Jul 1999 16:23:35 -0400 (EDT)
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: Several probably unrelated errors :) 
In-Reply-To: Your message of "02 Jul 1999 23:47:21 PDT."
             <qrrwvwii612.fsf@elwha.cs.washington.edu> 
Date: Sat, 03 Jul 1999 16:23:35 -0400
From: Eric Moore <moore@lovecraft.chem.cmu.edu>
Message-Id: <19990703202335.D0AFCD3D9@lovecraft.chem.cmu.edu>
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

>>>>> "Greg" == Greg Badros <gjb@cs.washington.edu> writes:

Greg> Eric Moore <moore@lovecraft.chem.cmu.edu> writes:
>> -------------------- Error 1
>> --------------------------------------------------
>> 
>> Since scwmexec is perhaps the coolest feature of scwm I thought I'd
>> see if this gives anyone any hints.  Using a freshly compiled scwm
>> (without constriants):

Greg> What version of guile?  Is scwmrepl freshly compiled from same
Greg> sources?  Can you run under a debugger and investigate the seg
Greg> fault a bit.  Also consider trying the --segv-just-stop command
Greg> line option.

CVS guile, late june.  yeah, compiled the whole scwm dist, utilities
and everything.  I'll give figuring it out a shot.  

it's somewhere in here:
666	          val = scwm_safe_eval_str((char *) req);
667	          XFree(req); 
668	          str_val=scm_strprint_obj(val);

the crash is in scm_strprint_obj, which seems to not like the argument 
it was passed, it dies when doing SCM_PTAB_ENTRY (obj) (where obj is
the argument passed in (i.e. val)).

bizarrely, val, in the scwm code in events.c does not seem to be seen
by the debugger, could this be the infamous
optimized-away-amd-subsequently-garbage-collected object?  Of course,
it's extraordinarially repeatable, so I'd wonder why it was always
GC'ing then...

This is about all I can get outta gdb easily, maybe I'll just run my
WM under gdb, and try it that way.  

>> -------------------- Error 2
>> --------------------------------------------------
>> 
>> Also, is the constraint solver supposed to work with
>> cassowary-0.42?  when I try and compile with constraint support, I
>> get the following errors (which looks like a headerfile version
>> mismach to me :)

Greg> Nope.. the constraint solver has since progressed.  I'm gonna
Greg> package up a new version of Cassowary very soon now so that you
Greg> can try it again.  The interface on using the solver is actually
Greg> usable finally, so I'm very interested in feedback.

Ok, glad it's not me :) I await a working version eagerly :)

>> -------------------- Error 3
>> -------------------------------------------------- Just seem to be
>> some makefile snafus: (I just make -k and ignore them :) make[1]:
>> Entering directory `/usr/src/scwm/pixmaps' make[1]: *** No rule to
>> make target `all'.  Stop.

Greg> Is this fresh out of CVS-- I thought I fixed this yesterday, but
Greg> it's often easy to miss a configuration thing because I rarely
Greg> rebuild from complete scratch during development.

yeah, that was fresh CVS, but god only knows if I muffed something.

Greg> Thanks for the bug reports!

Thanks for listening :)


From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sat Jul  3 17:08:08 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id RAA22123
	for scwm-discuss-outgoing; Sat, 3 Jul 1999 17:08:08 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA22120
	for <scwm-discuss@serveuse.mit.edu>; Sat, 3 Jul 1999 17:08:02 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA11195; Sat, 3 Jul 1999 14:07:56 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Swiftly Consume Whole Memory
References: <19990702035127.A15101@ZhengHe.augustin.thierry> <qrrd7ybodyx.fsf@elwha.cs.washington.edu> <19990702140945.A19175@ZhengHe.augustin.thierry> <qrr3dz7nkp5.fsf@elwha.cs.washington.edu> <19990702180111.A21504@ZhengHe.augustin.thierry> <qrroghvm37s.fsf@elwha.cs.washington.edu> <19990702191237.B21881@ZhengHe.augustin.thierry> <qrr908zm0gy.fsf@elwha.cs.washington.edu> <19990702202417.A22641@ZhengHe.augustin.thierry> <qrrzp1elvn2.fsf@elwha.cs.washington.edu> <19990703135229.A32202@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 03 Jul 1999 14:07:56 -0700
In-Reply-To: Francois-Rene Rideau's message of "Sat, 3 Jul 1999 13:52:29 +0200"
Message-ID: <qrrhfnligr7.fsf@elwha.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> > I found it at : ~fare/tmp/fare-scwm.tar.gz (no scwm/ directory)
> Oops.
> And double-oops, the archive I put yesterday included
> stupid modifications that didn't work!
> I've just replaced it with one that works.
> 
> BTW, use-scwm-modules would better return a list of working modules
> to use with (define mods (use-scwm-modules ...))) (if (member foo mods) ...)
> rather than an array of booleans! My scwmrc emulates this behavior...
> I used a butt-ugly macro to work around current behavior
> (long live LISP macros!).
> Or maybe rather have a good old global feature list
> as in traditional poor man's (provide) (require) kind of modularity?

I'm gonna be working on this a bit real soon now to support an
"eval-after-load" feature.  Your suggestion makes a lot of sense.
Thanks!

> 
> > I'll take a look-- thanks!
> Well, er, thank for SCWM!

My pleasure-- but remember it's a big group effort!

> > Well, ideally the typical user can just use the GUI options dialog to
> > configure Scwm!
> Yeah, that's what I meant.

:-)

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sat Jul  3 17:10:14 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id RAA22169
	for scwm-discuss-outgoing; Sat, 3 Jul 1999 17:10:14 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA22166
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Sat, 3 Jul 1999 17:10:06 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA11271; Sat, 3 Jul 1999 14:09:28 -0700 (PDT)
To: "Lieven Marchand" <mal@bewoner.dma.be>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Hi
References: <19990702035127.A15101@ZhengHe.augustin.thierry> <qrrd7ybodyx.fsf@elwha.cs.washington.edu> <19990702140945.A19175@ZhengHe.augustin.thierry> <qrr3dz7nkp5.fsf@elwha.cs.washington.edu> <19990702180111.A21504@ZhengHe.augustin.thierry> <qrroghvm37s.fsf@elwha.cs.washington.edu> <v4j7loivpxg.fsf@bogomips.newtonlabs.com> <qrrwvwilvhy.fsf@elwha.cs.washington.edu> <14205.14751.795018.531887@localhost.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 03 Jul 1999 14:09:28 -0700
In-Reply-To: "Lieven Marchand"'s message of "Sat,  3 Jul 1999 00:15:42 +0200 (CEST)"
Message-ID: <qrremipigon.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

"Lieven Marchand" <mal@bewoner.dma.be> writes:

> Greg Badros writes:
>  > Standardizing that stuff is definitely a good thing and I'll have to
>  > look more at how Debian and Redhat manage this sort of meta-information
>  > about applications.
> 
> Redhat 5.2 (still not upgraded but I think this is the same in 6.0)
> does this with wmconfig. I've hacked support in for scwm on my machine
> but I haven't gotten around to sending a patch to the maintainer.

To the maintainer for what?  Scwm?  That's Maciej and I.  But we do
already have a wmconfig-menu module that Sam Steingold and Maciej wrote.
Do you do something better or different?  If so, please improve the
module and send us a patch!

Thanks!

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sat Jul  3 17:12:10 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id RAA22215
	for scwm-discuss-outgoing; Sat, 3 Jul 1999 17:12:10 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA22212
	for <scwm-discuss@serveuse.mit.edu>; Sat, 3 Jul 1999 17:12:07 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA11402; Sat, 3 Jul 1999 14:12:03 -0700 (PDT)
To: Eric Moore <moore@lovecraft.chem.cmu.edu>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: Several probably unrelated errors :)
References: <19990703202335.D0AFCD3D9@lovecraft.chem.cmu.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 03 Jul 1999 14:12:03 -0700
In-Reply-To: Eric Moore's message of "Sat, 03 Jul 1999 16:23:35 -0400"
Message-ID: <qrrbtdtigkc.fsf@elwha.cs.washington.edu>
Lines: 85
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Eric Moore <moore@lovecraft.chem.cmu.edu> writes:

> >>>>> "Greg" == Greg Badros <gjb@cs.washington.edu> writes:
> 
> Greg> Eric Moore <moore@lovecraft.chem.cmu.edu> writes:
> >> -------------------- Error 1
> >> --------------------------------------------------
> >> 
> >> Since scwmexec is perhaps the coolest feature of scwm I thought I'd
> >> see if this gives anyone any hints.  Using a freshly compiled scwm
> >> (without constriants):
> 
> Greg> What version of guile?  Is scwmrepl freshly compiled from same
> Greg> sources?  Can you run under a debugger and investigate the seg
> Greg> fault a bit.  Also consider trying the --segv-just-stop command
> Greg> line option.
> 
> CVS guile, late june.  yeah, compiled the whole scwm dist, utilities
> and everything.  I'll give figuring it out a shot.  
> 
> it's somewhere in here:
> 666	          val = scwm_safe_eval_str((char *) req);
> 667	          XFree(req); 
> 668	          str_val=scm_strprint_obj(val);

Does any expression evaluate properly from scwmrepl?  Scwm may well be
dying in the SMOB print function for whatever the result value is.
I.e., this probably is not at all related to the ScwmExec protocol

> 
> the crash is in scm_strprint_obj, which seems to not like the argument 
> it was passed, it dies when doing SCM_PTAB_ENTRY (obj) (where obj is
> the argument passed in (i.e. val)).
> 
> bizarrely, val, in the scwm code in events.c does not seem to be seen
> by the debugger, could this be the infamous
> optimized-away-amd-subsequently-garbage-collected object?  Of course,
> it's extraordinarially repeatable, so I'd wonder why it was always
> GC'ing then...
> 
> This is about all I can get outta gdb easily, maybe I'll just run my
> WM under gdb, and try it that way.  

Runnin scwm under gdb in Emacs on a different X server (just VT-8, if
you must, but ideally a separate machine) is a great way to trace and
debug it.

> >> -------------------- Error 2
> >> --------------------------------------------------
> >> 
> >> Also, is the constraint solver supposed to work with
> >> cassowary-0.42?  when I try and compile with constraint support, I
> >> get the following errors (which looks like a headerfile version
> >> mismach to me :)
> 
> Greg> Nope.. the constraint solver has since progressed.  I'm gonna
> Greg> package up a new version of Cassowary very soon now so that you
> Greg> can try it again.  The interface on using the solver is actually
> Greg> usable finally, so I'm very interested in feedback.
> 
> Ok, glad it's not me :) I await a working version eagerly :)

:-)

> 
> >> -------------------- Error 3
> >> -------------------------------------------------- Just seem to be
> >> some makefile snafus: (I just make -k and ignore them :) make[1]:
> >> Entering directory `/usr/src/scwm/pixmaps' make[1]: *** No rule to
> >> make target `all'.  Stop.
> 
> Greg> Is this fresh out of CVS-- I thought I fixed this yesterday, but
> Greg> it's often easy to miss a configuration thing because I rarely
> Greg> rebuild from complete scratch during development.
> 
> yeah, that was fresh CVS, but god only knows if I muffed something.
> 
> Greg> Thanks for the bug reports!
> 
> Thanks for listening :)

You may need to re-run autogen.sh and configure.  Then it might work.
Let me know if it doesn't.

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sat Jul  3 17:17:20 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id RAA22316
	for scwm-discuss-outgoing; Sat, 3 Jul 1999 17:17:20 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA22313
	for <scwm-discuss@serveuse.mit.edu>; Sat, 3 Jul 1999 17:17:17 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA11651; Sat, 3 Jul 1999 14:17:08 -0700 (PDT)
To: Chris Bitmead <chris@tech.com.au>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: anoncvs is back
References: <m3vhc67akr.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <377AC5E6.23F49FA2@ozemail.com.au> <qrr67453v55.fsf@elwha.cs.washington.edu> <377B1396.D2D841AF@ozemail.com.au> <m21zesjvfy.fsf@blinky.bfr.co.il> <m2n1xgidtr.fsf@blinky.bfr.co.il> <qrriu84qt1y.fsf@elwha.cs.washington.edu> <377DADD9.843552F3@tech.com.au>
From: Greg Badros <gjb@cs.washington.edu>
Date: 03 Jul 1999 14:17:07 -0700
In-Reply-To: Chris Bitmead's message of "Sat, 03 Jul 1999 16:29:45 +1000"
Message-ID: <qrr4sjligbw.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

> Yes the problem turned out to be library mismatch. setting
> LD_LIBRARY_PATH=/usr/local/lib solved it. I don't really want to
> uninstall the RedHat 6.0 guile though because other things depend on it.
> I thought though if you linked with /usr/local/lib/libguile.so then that
> would be the first place it would look when you run it?

You wouldn't need to uninstall RH guile, just install the
guile-devel-1.3-6.  But it sounds like it's working now.

> I had a small problem building scwm from cvs. The configure script
> failed with ltconfig --no-reexec - unknown option. Are you guys using a
> more recent version or something?

I've seen this before and can't remember the resolution and my notes are 
unfortunately lacking.  Did you rerun 'autogen.sh'?  Maybe we're using
more recent versions of automake and/or libtool.  I'm at:

ltmain.sh (GNU libtool) 1.3 (1.385.2.117 1999/04/29 13:07:13)
automake (GNU automake) 1.4
Autoconf version 2.13

Thanks,
Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sat Jul  3 17:34:42 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id RAA22573
	for scwm-discuss-outgoing; Sat, 3 Jul 1999 17:34:42 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from mail.execpc.com (qmailr@minbar-1-75.mdm.mke.execpc.com [169.207.135.75])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id RAA22570
	for <scwm-discuss@serveuse.mit.edu>; Sat, 3 Jul 1999 17:34:38 -0400
Received: (qmail 508 invoked by uid 1000); 3 Jul 1999 21:27:43 -0000
Date: Sat, 3 Jul 1999 16:27:43 -0500
From: "A. P. Garcia" <apg@execpc.com>
To: scwm-discuss@serveuse.mit.edu
Subject: Re: weird key bindings
Message-ID: <19990703162743.A444@execpc.com>
References: <19990702204155.A138@execpc.com> <qrrd7yajrgk.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3i
In-Reply-To: <qrrd7yajrgk.fsf@elwha.cs.washington.edu>; from Greg Badros on Fri, Jul 02, 1999 at 09:19:07PM -0700
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


On Fri, Jul 02, 1999 at 09:19:07PM -0700, Greg Badros wrote:
>> I want to experiment with key bindings analogous to vi's ...
>> would it be feasible to try something like this?

> Definitely.  You'll just be doing lots of binding and unbinding.  You
> may want to have a data structure (some kind of list, of course) that
> contains a group of bindings and then have procedures to install and
> uninstall sets of bindings en masse.

Thank you.  This was not intuitively obvious to me; I didn't know how to
approach it.


> (In general, I think modes stink, and I'm pretty certain I wouldn't like 
> this specific application of modes, but we don't dictate policy, so go
> at it!)

Since I'm used to vi and haven't seen anyone try this before, I'm doing
it for giggles.  However, I agree that modes are kludgy.  I am also
interested in trying out other bindings, possibly more effective ones,
with the same goal in mind: solid control over the desktop without having
to reach for the mouse or trackball.


> Please report back when you have something to share, or if you have
> further questions.

Sure thing.  Thanks again.

Now that scwm is back, I guess I'll install X11 again.  ;-)


From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sat Jul  3 17:51:38 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id RAA22700
	for scwm-discuss-outgoing; Sat, 3 Jul 1999 17:51:38 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA22697
	for <scwm-discuss@serveuse.mit.edu>; Sat, 3 Jul 1999 17:51:33 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA13342; Sat, 3 Jul 1999 14:51:29 -0700 (PDT)
To: "A. P. Garcia" <apg@execpc.com>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: weird key bindings
References: <19990702204155.A138@execpc.com> <qrrd7yajrgk.fsf@elwha.cs.washington.edu> <19990703162743.A444@execpc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 03 Jul 1999 14:51:29 -0700
In-Reply-To: "A. P. Garcia"'s message of "Sat, 3 Jul 1999 16:27:43 -0500"
Message-ID: <qrrpv29h066.fsf@elwha.cs.washington.edu>
Lines: 12
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

"A. P. Garcia" <apg@execpc.com> writes:

<snip>

> Now that scwm is back, I guess I'll install X11 again.  ;-)

How's that for a fan! We'll have to start a list of unsolicited
quotations and put this one at the top! :-)

Good luck!

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sat Jul  3 19:25:39 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id TAA22886
	for scwm-discuss-outgoing; Sat, 3 Jul 1999 19:25:39 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from nova.botz.org (root@cm-24-142-61-146.cableco-op.ispchannel.com [24.142.61.146])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA22883
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Sat, 3 Jul 1999 19:25:33 -0400
Received: from nova (IDENT:jbotz@localhost [127.0.0.1])
	by nova.botz.org (8.9.3/8.9.3) with ESMTP id QAA14438;
	Sat, 3 Jul 1999 16:25:24 -0700
Message-Id: <199907032325.QAA14438@nova.botz.org>
X-Mailer: exmh version 2.1.0 04/14/1999
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: scwm esd interface 
In-Reply-To: Your message of "03 Jul 1999 00:03:53 PDT."
             <qrru2rmi59i.fsf@elwha.cs.washington.edu> 
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0
Date: Sat, 03 Jul 1999 16:25:24 -0700
From: Jurgen Botz <jurgen@botz.org>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by SERVEUSE.MIT.EDU id TAA22884
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Greg Badros wrote:
> Also, I consistently get (even with plain esdplay from the command line) 
> a seemingly-harmless warning "Audio File Library: error 5: Unix read
> failed" -- the sound plays fine, though.  (This is with audiofile-0.1.7, 
> and esound-0.2.8). Do you know anything about this error message?

I got this also with the libaudiofile I pulled out of the gnome CVS a
few weeks back.  However, I just switched to the one that comes with
the latest rawhide and it doesn't have this problem.

- Jürgen




From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sun Jul  4 02:57:26 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id CAA23979
	for scwm-discuss-outgoing; Sun, 4 Jul 1999 02:57:26 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA23975
	for <scwm-discuss@serveuse.mit.edu>; Sun, 4 Jul 1999 02:57:21 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id XAA10184; Sat, 3 Jul 1999 23:57:18 -0700 (PDT)
To: scwm-discuss@serveuse.mit.edu
Subject: describe key, and much more
From: Greg Badros <badros@cs.washington.edu>
Date: 03 Jul 1999 23:57:18 -0700
Message-ID: <qrrg134gawh.fsf@elwha.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Among numerous other enhancements, bug fixes, and code cleanup, I
implemented a "describe-key" feature using new primitives
`get-key-event' and `lookup-key'.  See gjb.scwmrc for the describe-key
procedure.  It works pretty well, but the code will get cleaner as I
iron out some of the bugs and test more thoroughly.

Other interesting and exciting new things include more robust options
dialog and scwm-options handling, `eval-after-load' functionality and
`scwm-module-loaded?' queries.  Procedure prompting now works more
reliably, though I think it still might expose some guile/guile-gtk bugs 
(if not my own bugs).

Also, message-windows can now take a background image, and can be set to 
an explicit size (instead of automatically being sized by their included 
text).  In combination with my new `window->image' procedure, this lets
you pop up a message window that, e.g., is a copy of the root window.
That's exactly what my `with-frozen-root-window' procedure does--
intended to be used to hide ugly operations from sight (e.g., changing
the global theme).

Please let me know what you think of these new features if/when you get
a chance to try them.

And happy 4th of July to everyone in the U.S.!

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sun Jul  4 10:24:17 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id KAA24966
	for scwm-discuss-outgoing; Sun, 4 Jul 1999 10:24:17 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA24963
	for <scwm-discuss@serveuse.mit.edu>; Sun, 4 Jul 1999 10:24:09 -0400
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id AAA18786
	for <scwm-discuss@serveuse.mit.edu>; Mon, 5 Jul 1999 00:23:59 +1000
Message-ID: <377F60C6.4CCEC74F@tech.com.au>
Date: Sun, 04 Jul 1999 23:25:26 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.9 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@serveuse.mit.edu
Subject: Re: anoncvs is back
References: <m3vhc67akr.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <377AC5E6.23F49FA2@ozemail.com.au> <qrr67453v55.fsf@elwha.cs.washington.edu> <377B1396.D2D841AF@ozemail.com.au> <m21zesjvfy.fsf@blinky.bfr.co.il> <m2n1xgidtr.fsf@blinky.bfr.co.il> <qrriu84qt1y.fsf@elwha.cs.washington.edu> <377DADD9.843552F3@tech.com.au> <qrr4sjligbw.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


> You wouldn't need to uninstall RH guile, just install the
> guile-devel-1.3-6.  But it sounds like it's working now.

Yep, I'm using CVS guile.

Actually, scwm is crashing on my old .scwmrc file, and I don't have any
time to spend right now figuring out why. I would swap to one of the
included ones but one of my habits is being able to press M-F1-F4 to
change screens but I can't seem to get that to work. I don't know if
that's something to do with the fact I'm using Gnome pager now or how
the Gnome pager interacts with scwm. But I've had to switch back to
enlightenment until I get more time to figure this out.

I think I've got an old ltmain.sh on my system which was causing the
other problem.
 
> > I had a small problem building scwm from cvs. The configure script
> > failed with ltconfig --no-reexec - unknown option. Are you guys using a
> > more recent version or something?
> 
> I've seen this before and can't remember the resolution and my notes are
> unfortunately lacking.  Did you rerun 'autogen.sh'?  Maybe we're using
> more recent versions of automake and/or libtool.  I'm at:
> 
> ltmain.sh (GNU libtool) 1.3 (1.385.2.117 1999/04/29 13:07:13)
> automake (GNU automake) 1.4
> Autoconf version 2.13
> 
> Thanks,
> Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sun Jul  4 11:32:42 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA25178
	for scwm-discuss-outgoing; Sun, 4 Jul 1999 11:32:42 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from localhost.localdomain (qmailr@pool02b-194-7-99-217.uunet.be [194.7.99.217])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id LAA25175
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Sun, 4 Jul 1999 11:32:29 -0400
Received: (qmail 2734 invoked by uid 500); 4 Jul 1999 12:58:32 -0000
From: "Lieven Marchand" <mal@bewoner.dma.be>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Sun,  4 Jul 1999 14:58:32 +0200 (CEST)
To: Greg Badros <gjb@cs.washington.edu>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Hi
In-Reply-To: <qrremipigon.fsf@elwha.cs.washington.edu>
References: <19990702035127.A15101@ZhengHe.augustin.thierry>
	<qrrd7ybodyx.fsf@elwha.cs.washington.edu>
	<19990702140945.A19175@ZhengHe.augustin.thierry>
	<qrr3dz7nkp5.fsf@elwha.cs.washington.edu>
	<19990702180111.A21504@ZhengHe.augustin.thierry>
	<qrroghvm37s.fsf@elwha.cs.washington.edu>
	<v4j7loivpxg.fsf@bogomips.newtonlabs.com>
	<qrrwvwilvhy.fsf@elwha.cs.washington.edu>
	<14205.14751.795018.531887@localhost.localdomain>
	<qrremipigon.fsf@elwha.cs.washington.edu>
X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs  Lucid
Message-ID: <14207.22981.89089.644989@localhost.localdomain>
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Greg Badros writes:
 > "Lieven Marchand" <mal@bewoner.dma.be> writes:
 > 
 > > Greg Badros writes:
 > >  > Standardizing that stuff is definitely a good thing and I'll have to
 > >  > look more at how Debian and Redhat manage this sort of meta-information
 > >  > about applications.
 > > 
 > > Redhat 5.2 (still not upgraded but I think this is the same in 6.0)
 > > does this with wmconfig. I've hacked support in for scwm on my machine
 > > but I haven't gotten around to sending a patch to the maintainer.
 > 
 > To the maintainer for what?  Scwm?  That's Maciej and I.  But we do
 > already have a wmconfig-menu module that Sam Steingold and Maciej wrote.
 > Do you do something better or different?  If so, please improve the
 > module and send us a patch!

Actually, I went the other way. I hooked scwm into the redhat
infrastructure [Switch to Other WM] Menu stuff. So I patched
wmconfig(1) to understand wmconfig --output=scwm. wmconfig(1) is
maintained by somebody at Redhat and I've not gotten around to bother
him about supporting scwm.

-- 
Lieven Marchand <mal@bewoner.dma.be>
If there are aliens, they play Go. -- Lasker

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sun Jul  4 15:15:30 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id PAA25521
	for scwm-discuss-outgoing; Sun, 4 Jul 1999 15:15:30 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA25518
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Sun, 4 Jul 1999 15:15:25 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA16577; Sun, 4 Jul 1999 12:14:43 -0700 (PDT)
To: "Lieven Marchand" <mal@bewoner.dma.be>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: wmconfig [was Re: Hi]
References: <19990702035127.A15101@ZhengHe.augustin.thierry> <qrrd7ybodyx.fsf@elwha.cs.washington.edu> <19990702140945.A19175@ZhengHe.augustin.thierry> <qrr3dz7nkp5.fsf@elwha.cs.washington.edu> <19990702180111.A21504@ZhengHe.augustin.thierry> <qrroghvm37s.fsf@elwha.cs.washington.edu> <v4j7loivpxg.fsf@bogomips.newtonlabs.com> <qrrwvwilvhy.fsf@elwha.cs.washington.edu> <14205.14751.795018.531887@localhost.localdomain> <qrremipigon.fsf@elwha.cs.washington.edu> <14207.22981.89089.644989@localhost.localdomain>
From: Greg Badros <badros@cs.washington.edu>
Date: 04 Jul 1999 12:14:42 -0700
In-Reply-To: "Lieven Marchand"'s message of "Sun,  4 Jul 1999 14:58:32 +0200 (CEST)"
Message-ID: <qrraetcfcrh.fsf_-_@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

"Lieven Marchand" <mal@bewoner.dma.be> writes:

> Greg Badros writes:
>  > "Lieven Marchand" <mal@bewoner.dma.be> writes:
>  > 
>  > > Greg Badros writes:
>  > >  > Standardizing that stuff is definitely a good thing and I'll have to
>  > >  > look more at how Debian and Redhat manage this sort of meta-information
>  > >  > about applications.
>  > > 
>  > > Redhat 5.2 (still not upgraded but I think this is the same in 6.0)
>  > > does this with wmconfig. I've hacked support in for scwm on my machine
>  > > but I haven't gotten around to sending a patch to the maintainer.
>  > 
>  > To the maintainer for what?  Scwm?  That's Maciej and I.  But we do
>  > already have a wmconfig-menu module that Sam Steingold and Maciej wrote.
>  > Do you do something better or different?  If so, please improve the
>  > module and send us a patch!
> 
> Actually, I went the other way. I hooked scwm into the redhat
> infrastructure [Switch to Other WM] Menu stuff. So I patched
> wmconfig(1) to understand wmconfig --output=scwm. wmconfig(1) is
> maintained by somebody at Redhat and I've not gotten around to bother
> him about supporting scwm.

That's useful too-- definitely do bug him/her when you get a chance.
We're looking for more visibility.  I'd really like to see Redhat
6.1/6.2 have Scwm come standard!

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sun Jul  4 15:38:28 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id PAA25655
	for scwm-discuss-outgoing; Sun, 4 Jul 1999 15:38:28 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA25652
	for <scwm-discuss@serveuse.mit.edu>; Sun, 4 Jul 1999 15:38:22 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA17730; Sun, 4 Jul 1999 12:38:14 -0700 (PDT)
To: Chris Bitmead <chris@tech.com.au>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Recent guile versions, broken bindings [was Re: anoncvs is back]
References: <m3vhc67akr.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <377AC5E6.23F49FA2@ozemail.com.au> <qrr67453v55.fsf@elwha.cs.washington.edu> <377B1396.D2D841AF@ozemail.com.au> <m21zesjvfy.fsf@blinky.bfr.co.il> <m2n1xgidtr.fsf@blinky.bfr.co.il> <qrriu84qt1y.fsf@elwha.cs.washington.edu> <377DADD9.843552F3@tech.com.au> <qrr4sjligbw.fsf@elwha.cs.washington.edu> <377F60C6.4CCEC74F@tech.com.au>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Jul 1999 12:38:13 -0700
In-Reply-To: Chris Bitmead's message of "Sun, 04 Jul 1999 23:25:26 +1000"
Message-ID: <qrr3dz4fboa.fsf_-_@elwha.cs.washington.edu>
Lines: 31
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

> > You wouldn't need to uninstall RH guile, just install the
> > guile-devel-1.3-6.  But it sounds like it's working now.
> 
> Yep, I'm using CVS guile.
> Actually, scwm is crashing on my old .scwmrc file, and I don't have any

There is a mismatch with Guile's more recent than around June 9th
w.r.t. string ports, it seems.  Perhaps that could be part of your
problem.  We currently test against guile-1.3 with the small I/O patch.
And Scwm-1.0 will be meant to link against that, most likely.

> time to spend right now figuring out why. I would swap to one of the
> included ones but one of my habits is being able to press M-F1-F4 to
> change screens but I can't seem to get that to work. I don't know if
> that's something to do with the fact I'm using Gnome pager now or how
> the Gnome pager interacts with scwm. But I've had to switch back to
> enlightenment until I get more time to figure this out.

Should just work after you add a binding to do the right thing.  If
you're using *really* recent CVS (e.g., from last night), I broke some
of the binding stuff that I've not yet fixed.  Will be better by
tonight, I imagine.

> I think I've got an old ltmain.sh on my system which was causing the
> other problem.

Ok.

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sun Jul  4 17:53:27 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id RAA25977
	for scwm-discuss-outgoing; Sun, 4 Jul 1999 17:53:27 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA25974
	for <scwm-discuss@serveuse.mit.edu>; Sun, 4 Jul 1999 17:53:22 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA24337; Sun, 4 Jul 1999 14:53:01 -0700 (PDT)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: FVWM2 icon position communication bug.
References: <m21zerqg3q.fsf_-_@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Jul 1999 14:53:01 -0700
In-Reply-To: hjstein@bfr.co.il's message of "02 Jul 1999 17:30:17 +0300"
Message-ID: <qrrvhc0dqv6.fsf@elwha.cs.washington.edu>
Lines: 11
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> I reported this before but the problem still exists so I thought I'd
> report it again.  I use two desks, each divided into a 2x3 grid.  When
> I have icons on the first desk and move around on the second desk, the
> images of the icons in the fvwm2 pager move around too.

I think I just fixed it-- please let me know if you still see the
problem.

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sun Jul  4 18:17:27 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id SAA26111
	for scwm-discuss-outgoing; Sun, 4 Jul 1999 18:17:27 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA26108
	for <scwm-discuss@serveuse.mit.edu>; Sun, 4 Jul 1999 18:17:22 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA25535; Sun, 4 Jul 1999 15:17:11 -0700 (PDT)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: Francois-Rene Rideau <fare@tunes.org>,
        SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: broken or missing maximize.
References: <19990702035127.A15101@ZhengHe.augustin.thierry> <qrrd7ybodyx.fsf@elwha.cs.washington.edu> <19990702140945.A19175@ZhengHe.augustin.thierry> <m2hfnnqk3i.fsf_-_@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Jul 1999 15:17:11 -0700
In-Reply-To: hjstein@bfr.co.il's message of "02 Jul 1999 16:04:01 +0300"
Message-ID: <qrrso74dpqw.fsf@elwha.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> There's toggle-maximize, but I was just about to send a bug report
> that toggle-maximize is broken - (toggle-maximize 0 (%y 100))
> on my emacs or xterm window pushes the lower window border off the screen.
> It works ok on my netscape window, so it seems like the problem is
> with figuring out the # of rows (as opposed to pixels) visible.  Maybe
> the pixels->rows computation is missing one frame width?

Actaully, I think it works exactly as I'd expect.  `resize-frame-to'
gets called with the height == display_height.  The discrepancy between
what you seem to want and what this does is because not all frame sizes
are valid for windows that have size hints that give width/height
increments that are not 1.  Character-based apps often do this, and
Emacsen and XTerms definitely do.  Use `window-size-hints' to see their
values.  Thus, resize-frame-to's behaviour is what I think is the most
reasonable thing without any other context:  it tries to make the size
as close as possible to the requested size.

It'd be possible to use the height increment to correct for the
requested toggle-maximize size, but toggle-maximize does not do this
right now.

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sun Jul  4 19:40:27 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id TAA26261
	for scwm-discuss-outgoing; Sun, 4 Jul 1999 19:40:27 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA26258
	for <scwm-discuss@serveuse.mit.edu>; Sun, 4 Jul 1999 19:40:21 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA29611; Sun, 4 Jul 1999 16:40:10 -0700 (PDT)
To: george@hansper.wattle.id.au
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: scwm 0.9 show-icon/xterm bug
References: <Pine.LNX.4.05.9905091212130.23917-100000@crystal>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Jul 1999 16:40:09 -0700
In-Reply-To: George Hansper's message of "Sun, 9 May 1999 12:18:01 +1000 (EST)"
Message-ID: <qrrk8sgdlwm.fsf@elwha.cs.washington.edu>
Lines: 37
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

George Hansper <george@hansper.wattle.id.au> writes:

> Hello,
> 
> I was trying out scwm, and thought I'd get the latest version
> from the website, scwm-0.9a
> 
> I encountered a problem using the "xterm" program from X11R6,
> which has the "active-icon" feature.
> If I set the window style:
> 
> 	(window-style "*" #:show-icon #t)
> 
> any subsequent xterm's started are resized to the size of a single
> character. rvxt is not affected.
> 
> Setting:
> 	(window-style "*" #:show-icon #f)
> 
> removes the problem, but then I don't get any icons (of course).

Just fixed this in the repo.  I didn't even know about xterm's active
icons-- pretty neat!  For others' information, starting:

xterm +ai

makes xterm show an active thumbnail of itself when iconified.

Anybody interested in figuring out what we need to do to let you type at 
the thumbnails?  Seems pretty doable and would be cool!

BTW, George, be sure to use scwm-discuss@serveuse.mit.edu, not just
scwm-discuss@mit.edu as the address for this list.

Thanks for the bug report!

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sun Jul  4 20:17:58 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id UAA26396
	for scwm-discuss-outgoing; Sun, 4 Jul 1999 20:17:58 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from localhost.localdomain (h246.ozemail2.ozemail.com.au [203.108.14.246])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA26393
	for <scwm-discuss@serveuse.mit.edu>; Sun, 4 Jul 1999 20:17:50 -0400
Received: from ozemail.com.au (localhost [127.0.0.1])
	by localhost.localdomain (8.9.3/8.9.3) with ESMTP id KAA11723
	for <scwm-discuss@serveuse.mit.edu>; Mon, 5 Jul 1999 10:17:47 +1000
Message-ID: <377FF9AB.D35EF258@ozemail.com.au>
Date: Mon, 05 Jul 1999 10:17:47 +1000
From: Chris Bitmead <cbitmead@ozemail.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.6 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@serveuse.mit.edu
Subject: Re: Recent guile versions, broken bindings [was Re: anoncvs is back]
References: <m3vhc67akr.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <377AC5E6.23F49FA2@ozemail.com.au> <qrr67453v55.fsf@elwha.cs.washington.edu> <377B1396.D2D841AF@ozemail.com.au> <m21zesjvfy.fsf@blinky.bfr.co.il> <m2n1xgidtr.fsf@blinky.bfr.co.il> <qrriu84qt1y.fsf@elwha.cs.washington.edu> <377DADD9.843552F3@tech.com.au> <qrr4sjligbw.fsf@elwha.cs.washington.edu> <377F60C6.4CCEC74F@tech.com.au> <qrr3dz4fboa.fsf_-_@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Greg Badros wrote:

> There is a mismatch with Guile's more recent than around 
> June 9th w.r.t. string ports, it seems.  Perhaps that 
> could be part of your
> problem.  We currently test against guile-1.3 with the 
> small I/O patch. And Scwm-1.0 will be meant to link 
> against that, most likely.

How do I get guile 1.3 "with the small IO patch"?



> 
> > time to spend right now figuring out why. I would swap to one of the
> > included ones but one of my habits is being able to press M-F1-F4 to
> > change screens but I can't seem to get that to work. I don't know if
> > that's something to do with the fact I'm using Gnome pager now or how
> > the Gnome pager interacts with scwm. But I've had to switch back to
> > enlightenment until I get more time to figure this out.
> 
> Should just work after you add a binding to do the right thing.  If
> you're using *really* recent CVS (e.g., from last night), I broke some
> of the binding stuff that I've not yet fixed.  Will be better by
> tonight, I imagine.
> 
> > I think I've got an old ltmain.sh on my system which was causing the
> > other problem.
> 
> Ok.
> 
> Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sun Jul  4 20:24:25 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id UAA26466
	for scwm-discuss-outgoing; Sun, 4 Jul 1999 20:24:25 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA26463
	for <scwm-discuss@serveuse.mit.edu>; Sun, 4 Jul 1999 20:24:22 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA01820; Sun, 4 Jul 1999 17:24:07 -0700 (PDT)
To: Jimmy Mason <ra2794@email.mot.com>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: (bind-mouse 'window 1 raise-window)
References: <14140.14758.454925.637163@dsp.sps.mot.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Jul 1999 17:24:06 -0700
In-Reply-To: Jimmy Mason's message of "Fri, 14 May 1999 09:56:38 -0500 (CDT)"
Message-ID: <qrrbtdsdjvc.fsf@elwha.cs.washington.edu>
Lines: 21
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Jimmy Mason <ra2794@email.mot.com> writes:

> I added this mouse binding, hoping it would work like CDE/dtwm work:
> (bind-mouse 'window 1 raise-window)
> 
> Essentially, I want the window to raise, no matter what, if I click in
> it.  Of course, I also want to be able to interact with the window,
> such as clicking buttons, select text, etc., as usual.  How can I get
> scwm to pass that event through to the window even though I bound it
> to a WM command?

This comes pretty close, but only sends synthetic events:

(bind-mouse 'window 1 (lambda () (raise-window) 
                                 (send-button-press 1 (get-window) #t #f)))

and doesn't handle drags properly.

Event rewrite will definitely permit propagating events nicely.

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sun Jul  4 20:52:27 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id UAA26626
	for scwm-discuss-outgoing; Sun, 4 Jul 1999 20:52:27 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA26623
	for <scwm-discuss@serveuse.mit.edu>; Sun, 4 Jul 1999 20:52:22 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA03191; Sun, 4 Jul 1999 17:52:16 -0700 (PDT)
To: Equality 7-2521 <beuscher@eecs.tulane.edu>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: xmcd
References: <14096.51995.846651.9277@juno>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Jul 1999 17:52:16 -0700
In-Reply-To: Equality 7-2521's message of "Sun, 11 Apr 1999 11:17:31 -0500 (CDT)"
Message-ID: <qrr908vex4v.fsf@elwha.cs.washington.edu>
Lines: 28
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Equality 7-2521 <beuscher@eecs.tulane.edu> writes:

> back on the xmcd front:
> 
> it was working fine under 19990407.
> when i restarted to use 19990411, i got the following error
> messages:
> 
>     [Scwm][ConstrainSize]: <<WARNING>> xinc == 0
>     [Scwm][ConstrainSize]: <<WARNING>> yinc == 0
>     X Error of failed request:  BadValue (integer parameter out of range for operation)
>       Major opcode of failed request:  12 (X_ConfigureWindow)
>       Value in failed request:  0x0
>       Serial number of failed request:  2596
>       Current serial number in output stream:  2598
> 
> xmcd subsequently died.
> any further attempts to start it give the same X Error message.
> 
> i restarted back to 19990407, started xmcd, and everything was fine.
> i restarted back to 19990411, started xmcd, and same error
> 
> any ideas?

Do you still get this with recent snapshots?

Thanks,
Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sun Jul  4 22:36:39 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id WAA26991
	for scwm-discuss-outgoing; Sun, 4 Jul 1999 22:36:39 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA26988
	for <scwm-discuss@serveuse.mit.edu>; Sun, 4 Jul 1999 22:36:33 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id TAA08311; Sun, 4 Jul 1999 19:36:26 -0700 (PDT)
To: Chris Bitmead <cbitmead@ozemail.com.au>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: Recent guile versions, broken bindings [was Re: anoncvs is back]
References: <m3vhc67akr.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com> <377AC5E6.23F49FA2@ozemail.com.au> <qrr67453v55.fsf@elwha.cs.washington.edu> <377B1396.D2D841AF@ozemail.com.au> <m21zesjvfy.fsf@blinky.bfr.co.il> <m2n1xgidtr.fsf@blinky.bfr.co.il> <qrriu84qt1y.fsf@elwha.cs.washington.edu> <377DADD9.843552F3@tech.com.au> <qrr4sjligbw.fsf@elwha.cs.washington.edu> <377F60C6.4CCEC74F@tech.com.au> <qrr3dz4fboa.fsf_-_@elwha.cs.washington.edu> <377FF9AB.D35EF258@ozemail.com.au>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Jul 1999 19:36:25 -0700
In-Reply-To: Chris Bitmead's message of "Mon, 05 Jul 1999 10:17:47 +1000"
Message-ID: <qrrzp1bddqu.fsf@elwha.cs.washington.edu>
Lines: 21
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Chris Bitmead <cbitmead@ozemail.com.au> writes:

> Greg Badros wrote:
> 
> > There is a mismatch with Guile's more recent than around 
> > June 9th w.r.t. string ports, it seems.  Perhaps that 
> > could be part of your
> > problem.  We currently test against guile-1.3 with the 
> > small I/O patch. And Scwm-1.0 will be meant to link 
> > against that, most likely.
> 
> How do I get guile 1.3 "with the small IO patch"?

See the complementary software links on the Scwm web page:

http://serveuse.mit.edu/scwm/

The patch may be integrated into what some places are distributing as
guile-1.3.1, but prep doesn't have such a version number.

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Sun Jul  4 23:42:33 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id XAA27133
	for scwm-discuss-outgoing; Sun, 4 Jul 1999 23:42:33 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id XAA27130
	for <scwm-discuss@serveuse.mit.edu>; Sun, 4 Jul 1999 23:42:27 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id UAA11542; Sun, 4 Jul 1999 20:42:09 -0700 (PDT)
To: Todd Larason <jtl@molehill.org>
Cc: scwm-discuss list <scwm-discuss@serveuse.mit.edu>
Subject: Re: tile-windows-interactively
References: <19990417202545.A1736@molehill.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Jul 1999 20:42:08 -0700
In-Reply-To: Todd Larason's message of "Sat, 17 Apr 1999 20:25:45 -0700"
Message-ID: <qrru2rjdapb.fsf@elwha.cs.washington.edu>
Lines: 113
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Sorry I took so long to respond to this.  I like this feature a lot,
too, and rewrote it and stuck it in flux.scm.  See the below (I quote
your entire message to make it easier to compare the two versions).

Todd Larason <jtl@molehill.org> writes:

> this (along with functions in tile.scm and flux.scm) will allow you to
> interactively select windows to tile, and will tile them into the rectangular
> area they currently occupy.  This is useful for me I commonly run with a big
> window on the left 2/3 or so of the screen, a gnome panel strip down the right 
> side, and anywhere from 2 to 5 xterms between them - this allows me to tile
> the xterms into their area without messing with the other windows.
> 
> I'm interested in how a real scheme programmer would do this; I'm sure this is 
> way clunkier than it needs to be.

Well, I don't know that I qualify as a "real" Scheme programmer, but my
version adds a couple of useful abstractions instead of writing
everything as one big procedure.  Those extra procedures will probably
find other uses in Scwm. The other big difference is that using
window-corners means that I only call the primitives window-position and 
window-size once per list.  Also, note that the:

`(,x1 ,y1)

is a bit weird of a way to write

(list x1 y1)

Thanks for the cool code-- and see my rewrite below.

Greg

> (define (tile-windows-interactively)
>   (let* ((wins (select-window-group))
> 	 (x1 (apply min (map (lambda (w) (car (window-position w))) wins)))
> 	 (y1 (apply min (map (lambda (w) (cadr (window-position w))) wins)))
> 	 (x2 (apply max (map (lambda (w) 
> 			       (+ (car (window-position w)) 
> 				  (car (window-size w)))) 
> 			     wins)))
> 	 (y2 (apply max (map (lambda (w) 
> 			       (+ (cadr (window-position w))
> 				  (cadr (window-size w)))) wins))))
>     (map unflash-window wins)
>     (tile-windows wins
> 		  #:start-pos `(,x1 ,y1)
> 		  #:end-pos   `(,x2 ,y2)
> 		  #:order 'vertical)))
> 
> 
> Even nicer would be if I could use a Mac-style lasso to mark a rectangle, and
> any windows fully inside it (or at all inside it?) would be tiled to use the
> full area of the rectangle.  Anyone done anything like this?
> -- 
> "If you push something hard enough, it will fall over."
>   -- Thud's First Law of Opposition
> UIN: 9838814

;;; window-corners, enclosing-rectangle, tile-windows-interactively
;;; By Greg J. Badros --07/04/99 gjb
;;; Inspired by code suggested by Todd Larason -- 17-Apr-1999
;; (window-corners (get-window))
(define-public (window-corners win)
  "Return the four coordinates of the corners of the location of WIN.
Return value's car is the top left, cdr is the bottom right.
That is, the returned list is: ((nw-x nw-y) se-x se-y).  Use
`rect-nw-x', `rect-nw-y', `rect-se-x', `rect-se-y' to take apart
the returned list."
  (let ((p (window-position win))
	(s (window-size win)))
    (set-cdr! (cdr s) ())
    (cons p (map + p s))))

(define-public rect-nw-x caar)
(define-public rect-nw-y cadar)
(define-public rect-se-x cadr)
(define-public rect-se-y caddr)
(define-public rect-nw car)
(define-public rect-se cdr)

(define-public (enclosing-rectangle wins)
  "Return the smallest rectangle that encloses the windows WINS.
Return value's car is the top left of the rectangle, cdr is
the bottom right.
That is, the returned list is: ((nw-x nw-y) se-x se-y)."
  (let ((window-corners (map window-corners wins)))
    (let ((x1 (apply min (map rect-nw-x window-corners)))
	  (y1 (apply min (map rect-nw-y window-corners)))
	  (x2 (apply max (map rect-se-x window-corners)))
	  (y2 (apply max (map rect-se-y window-corners))))
      (cons (list x1 y1) (list x2 y2)))))
  
;;(tile-windows-interactively)
;;(tile-windows-interactively 'horizontal)
(define*-public (tile-windows-interactively #&optional (order 'vertical))
  "Tile a set of selected windows either vertically or horizontally based on ORDER.
The windows used are selected either by `selected-windows-list' or `select-window-group'.
If `selected-windows-list' is empty, then `select-window-group' is used.
See also the undo module and `insert-undo-global' to save the window 
configuration before executing this in case the effect is not what you
expected."
  (let* ((winlist (selected-windows-list))
	 (wins (if (pair? winlist) winlist (select-window-group)))
	 (r (enclosing-rectangle wins)))
    (if (pair? winlist)
	(unselect-all-windows)
	(for-each unflash-window wins))
    (tile-windows wins
		  #:start-pos (rect-nw r)
		  #:end-pos (rect-se r)
		  #:order order)))


From owner-scwm-discuss@SERVEUSE.MIT.EDU  Mon Jul  5 15:50:33 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id PAA29256
	for scwm-discuss-outgoing; Mon, 5 Jul 1999 15:50:33 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from nova.botz.org (root@cm-24-142-61-146.cableco-op.ispchannel.com [24.142.61.146])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA29253
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Mon, 5 Jul 1999 15:50:26 -0400
Received: from nova (IDENT:jbotz@localhost [127.0.0.1])
	by nova.botz.org (8.9.3/8.9.3) with ESMTP id MAA10792;
	Mon, 5 Jul 1999 12:50:22 -0700
Message-Id: <199907051950.MAA10792@nova.botz.org>
X-Mailer: exmh version 2.1.0 04/14/1999
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: (bind-mouse 'window 1 raise-window) 
In-Reply-To: Your message of "04 Jul 1999 17:24:06 PDT."
             <qrrbtdsdjvc.fsf@elwha.cs.washington.edu> 
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0
Date: Mon, 05 Jul 1999 12:50:22 -0700
From: Jurgen Botz <jurgen@botz.org>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by SERVEUSE.MIT.EDU id PAA29254
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Greg Badros wrote:
> Event rewrite will definitely permit propagating events nicely.

I take it this is still planned only for after 1.0?

I'd like just throw out my opinion that as currently distributed scwm
feels "sluggish" at best due to the fact every mouse-down action has to
wait for click-delay before anything happens in order to be able to
register double-clicks.  Personally I find a click-delay of even only
100 ms to be very annoying.  50 ms is ok, but makes it hard to register
double-clicks.  So I just use scwm with a click-delay of 0 and forgo
double-clicks as an input method altogether.  I find that I don't miss
them that much... in balance having to wait 100 or 150 ms for every
single action hundreds of times per day only to occasionally be able
use a double-click seems like a horrible waste.

I'm re-raising this issue because I really think that if scwm 1.0 gets
distributed with a RedHat release with a default click-delay of say 150
ms, a lot of people will try it for a few minutes, say "boy this thing
is slow..." and never try it again.

- Jürgen




From owner-scwm-discuss@SERVEUSE.MIT.EDU  Mon Jul  5 15:58:37 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id PAA29293
	for scwm-discuss-outgoing; Mon, 5 Jul 1999 15:58:37 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA29290
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Mon, 5 Jul 1999 15:58:34 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA00146; Mon, 5 Jul 1999 12:58:29 -0700 (PDT)
To: Jurgen Botz <jurgen@botz.org>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: (bind-mouse 'window 1 raise-window)
References: <199907051950.MAA10792@nova.botz.org>
From: Greg Badros <badros@cs.washington.edu>
Date: 05 Jul 1999 12:58:29 -0700
In-Reply-To: Jurgen Botz's message of "Mon, 05 Jul 1999 12:50:22 -0700"
Message-ID: <qrrso72c1i2.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Jurgen Botz <jurgen@botz.org> writes:

> Greg Badros wrote:
> > Event rewrite will definitely permit propagating events nicely.
> 
> I take it this is still planned only for after 1.0?

I think so, though I'm inching towards some nice event enhancements
now... not sure if I'll do the event rewrite all at once or more
piecewise.

> I'd like just throw out my opinion that as currently distributed scwm
> feels "sluggish" at best due to the fact every mouse-down action has to
> wait for click-delay before anything happens in order to be able to
> register double-clicks.  Personally I find a click-delay of even only
> 100 ms to be very annoying.  50 ms is ok, but makes it hard to register
> double-clicks.  So I just use scwm with a click-delay of 0 and forgo
> double-clicks as an input method altogether.  I find that I don't miss
> them that much... in balance having to wait 100 or 150 ms for every
> single action hundreds of times per day only to occasionally be able
> use a double-click seems like a horrible waste.

I was just looking at this issue yesterday-- there is a patch that I'm
gonna go back and look at and maybe apply.  I think the right thing to
do is have double click bindings work after the single-click binding is
already invoked.

The delay definitely needs to go Real Soon Now, and will definitely be
gone by 1.0;  maybe even by the end of the week! 

<snip>

Thanks for re-raising this issue-- I think it's important to address!

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Mon Jul  5 17:35:42 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id RAA29595
	for scwm-discuss-outgoing; Mon, 5 Jul 1999 17:35:42 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from 209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com (mstx@207-172-245-48.s302.tnt1.sbo.ma.dialup.rcn.com [207.172.245.48])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA29591
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Mon, 5 Jul 1999 17:35:31 -0400
Received: (from mstx@localhost)
	by 209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id OAA07091;
	Mon, 5 Jul 1999 14:08:29 -0400
To: Greg Badros <badros@cs.washington.edu>
Cc: Jurgen Botz <jurgen@botz.org>, scwm-discuss@serveuse.mit.edu
Subject: Re: (bind-mouse 'window 1 raise-window)
References: <199907051950.MAA10792@nova.botz.org> <qrrso72c1i2.fsf@elwha.cs.washington.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 05 Jul 1999 14:08:26 -0400
In-Reply-To: Greg Badros's message of "05 Jul 1999 12:58:29 -0700"
Message-ID: <m3so737yw5.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com>
Lines: 38
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Greg Badros <badros@cs.washington.edu> writes:

> Jurgen Botz <jurgen@botz.org> writes:
> 
> 
> I was just looking at this issue yesterday-- there is a patch that I'm
> gonna go back and look at and maybe apply.  I think the right thing to
> do is have double click bindings work after the single-click binding is
> already invoked.
> 
> The delay definitely needs to go Real Soon Now, and will definitely be
> gone by 1.0;  maybe even by the end of the week! 
> 

I recall the last time this issue came up, some people were against
simply removing the current semantics, since many common window
manager configurations actually have some dependency on the current
semantics, since that has always been the fvwm2 behavior.

I believe the suggested resolution was to have both `click' events
which happen whether or not a double click may follow, and thus need
no delay, and `single-click' events which are triggered only if the
click is guaranteed not to be a double click.

I am not sure how easy this would be to tack on to the current
framework.

One thing that makes the scwm case worse than the fvwm2 case is that
since fvwm can look at a mouse binding as just a string rather than a
semi-opaque code object, and because the language is hihgly limited,
it can eliminate the delay for bindings where there is no double-click
binding. For us that would require binding separately for each event
type rather than the somewhat weird, fvwm-modelled system we have now.

 - Maciej




From owner-scwm-discuss@SERVEUSE.MIT.EDU  Mon Jul  5 17:41:21 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id RAA29672
	for scwm-discuss-outgoing; Mon, 5 Jul 1999 17:41:21 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA29669
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Mon, 5 Jul 1999 17:41:16 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA05275; Mon, 5 Jul 1999 14:41:10 -0700 (PDT)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Jurgen Botz <jurgen@botz.org>, scwm-discuss@serveuse.mit.edu
Subject: Re: (bind-mouse 'window 1 raise-window)
References: <199907051950.MAA10792@nova.botz.org> <qrrso72c1i2.fsf@elwha.cs.washington.edu> <m3so737yw5.fsf@209-122-232-183.s437.tnt4.sbo.ma.dialup.rcn.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 05 Jul 1999 14:41:10 -0700
In-Reply-To: Maciej Stachowiak's message of "05 Jul 1999 14:08:26 -0400"
Message-ID: <qrrpv26bwqx.fsf@elwha.cs.washington.edu>
Lines: 46
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Greg Badros <badros@cs.washington.edu> writes:
> 
> > Jurgen Botz <jurgen@botz.org> writes:
> > 
> > 
> > I was just looking at this issue yesterday-- there is a patch that I'm
> > gonna go back and look at and maybe apply.  I think the right thing to
> > do is have double click bindings work after the single-click binding is
> > already invoked.
> > 
> > The delay definitely needs to go Real Soon Now, and will definitely be
> > gone by 1.0;  maybe even by the end of the week! 
> > 
> 
> I recall the last time this issue came up, some people were against
> simply removing the current semantics, since many common window
> manager configurations actually have some dependency on the current
> semantics, since that has always been the fvwm2 behavior.
> 
> I believe the suggested resolution was to have both `click' events
> which happen whether or not a double click may follow, and thus need
> no delay, and `single-click' events which are triggered only if the
> click is guaranteed not to be a double click.

That sounds right.

> I am not sure how easy this would be to tack on to the current
> framework.

Piece o' cake, methinks.  I'll do this sometime soon.

> One thing that makes the scwm case worse than the fvwm2 case is that
> since fvwm can look at a mouse binding as just a string rather than a
> semi-opaque code object, and because the language is hihgly limited,
> it can eliminate the delay for bindings where there is no double-click
> binding. For us that would require binding separately for each event
> type rather than the somewhat weird, fvwm-modelled system we have now.

I think it's fine to do with requiring timeouts only for 'single-click
events in the interim.  The 'click events can be the norm, and they
won't require a time out.  Both 'click and 'double-click will happen on
a double click.

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Mon Jul  5 18:10:42 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id SAA29853
	for scwm-discuss-outgoing; Mon, 5 Jul 1999 18:10:42 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA29850
	for <scwm-discuss@serveuse.mit.edu>; Mon, 5 Jul 1999 18:10:36 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA06758; Mon, 5 Jul 1999 15:10:33 -0700 (PDT)
To: scwm-discuss@serveuse.mit.edu
Subject: Massive argument passing cleanup...
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Greg Badros <gjb@cs.washington.edu>
Date: 05 Jul 1999 15:10:33 -0700
Message-ID: <qrriu7ybvdy.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

I'm just now finishing some pretty pervasive code cleanup w.r.t. the
typechecking of arguments.  Now nearly all typechecking is done with
a VALIDATE_XXXXX macro (see validate.h for explanation).  The benefit of 
this is that the macros are far easier to read and understand within all 
of the primitives that use them. This simplifies the primitives ---
sometimes dramatically.  It also makes it easier for automated tools to
check and accumulate information about the arguments (e.g., I intend to
extend the documentation extractor to put information about the types of 
the arguments into the documentation).  This also makes it easier to be
consistent about what conversions are automatic (e.g., strings to images 
or fonts) rather than having each primitive do ad-hoc processing of its
arguments.

There are still numerous places where SCWM_WRONG_ARG is called instead
of using VALIDATE_XXXX macros... ultimately these should go away, but
other things are more important right now.  I'll be committing once I
can get my current build to run my configuration successfully.

The upshot is that I could have introduced some rather simple-to-fix
bugs in the process of making such wide-reaching changes.  Of course, if
you're bold enough to use a snapshot in the next day or two, please
report any such problems you find, as always.

Thanks,
Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Mon Jul  5 22:05:30 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id WAA05193
	for scwm-discuss-outgoing; Mon, 5 Jul 1999 22:05:30 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA05190
	for <scwm-discuss@serveuse.mit.edu>; Mon, 5 Jul 1999 22:05:13 -0400
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id VAA22437
	for <scwm-discuss@serveuse.mit.edu>; Mon, 5 Jul 1999 21:52:54 -0400 (EDT)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id WAA18231
	for <scwm-discuss@serveuse.mit.edu>; Mon, 5 Jul 1999 22:04:36 -0400 (EDT)
Message-ID: <37816336.960832DA@alum.mit.edu>
Date: Mon, 05 Jul 1999 22:00:22 -0400
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 5.5.1 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@serveuse.mit.edu
Subject: Infrastructure issues
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


Hey everyone,

I'm working on fixing the remaining infrastructure loose threads
with Scwm.

There are two areas I thought of where some feedback from other
people would be useful. 

First, I am working on restoring the mail archives. I am thinking
that hypermail was never really that great a web interface to
mail archives, and I don't even have a working install of it
right now. So if someone can suggest something better, that
would be great. The ideal archive system, IMO, would have
the following abilities: can take archives in `mbox' format
as input; provides a decent looking basic interface for browsing
the list; and provides useful search capabilities.

The second thing is the issue of a bug tracking system. We
are way, way overdue for this. Right now I am taking a shot
at setting up the debian bug tracker for Scwm, since that
seems to be the best and most popular system out there that
provides reasonable interfaces for both web and email interaction.
If anyone is particularly opposed to debbugs, or thinks something
else is better, I am open to looking into it. However, I consider
it a hard requirement that the system must support both email
and web interfaces well.

 - Maciej

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Mon Jul  5 22:41:18 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id WAA06301
	for scwm-discuss-outgoing; Mon, 5 Jul 1999 22:41:18 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA06298
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Mon, 5 Jul 1999 22:41:13 -0400
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id WAA22508
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Mon, 5 Jul 1999 22:28:59 -0400 (EDT)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id WAA18633
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Mon, 5 Jul 1999 22:40:40 -0400 (EDT)
Message-ID: <37816BAA.2E819B60@alum.mit.edu>
Date: Mon, 05 Jul 1999 22:36:26 -0400
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 5.5.1 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@serveuse.mit.edu
Subject: Re: Infrastructure issues
References: <37816336.960832DA@alum.mit.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Maciej Stachowiak wrote:
> 
> 
> The second thing is the issue of a bug tracking system. We
> are way, way overdue for this. Right now I am taking a shot
> at setting up the debian bug tracker for Scwm, since that
> seems to be the best and most popular system out there that
> provides reasonable interfaces for both web and email interaction.
> If anyone is particularly opposed to debbugs, or thinks something
> else is better, I am open to looking into it. However, I consider
> it a hard requirement that the system must support both email
> and web interfaces well.
> 

Hmm,

I discovered after some investigation that debbugs requires it's
own mail domain, and the setup appends `bugs.' to whatever mail
domain you tell it to use. In particular it would want a whole
bunch of mailing lists at `bugs.serveuse.mit.edu' with the setup
I tried. This sucks. Other systems I have considered and eliminated:

* Bugzilla - no email interface
* GNATS - no useful, supported web interface (as far as I know)

Other suggestions?

 - Maciej

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Mon Jul  5 22:44:24 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id WAA06366
	for scwm-discuss-outgoing; Mon, 5 Jul 1999 22:44:24 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA06361
	for <scwm-discuss@serveuse.mit.edu>; Mon, 5 Jul 1999 22:44:21 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id TAA20316; Mon, 5 Jul 1999 19:44:17 -0700 (PDT)
To: scwm-discuss@serveuse.mit.edu
Subject: New bind-mouse argument makes Scwm speedy!
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Greg Badros <badros@cs.washington.edu>
Date: 05 Jul 1999 19:44:16 -0700
Message-ID: <qrr3dz2bipr.fsf@elwha.cs.washington.edu>
Lines: 36
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

I just added a new argument to `bind-mouse'. It now looks like this:

SCWM_PROC(bind_mouse, "bind-mouse", 3, 1, 0,
          (SCM contexts, SCM button, SCM proc, SCM immediate_proc))
     /** Bind the given mouse BUTTON within the CONTEXTS to invoke PROC.
CONTEXTS is a list of event-contexts (e.g., '(button1 sidebar))
BUTTON is a string or integer giving the mouse button number
PROC is a procedure that will be invoked (with no arguments) when the 
specified button is pressed in the specified context. See `bind-key'
for a list of the contexts. If IMMEDIATE-PROC is given, it will be
executed immediately on a button-click.  If IMMEDIATE-PROC returns
#f, then PROC will still get executed after determining the mouse click
type. */

So the IMMEDIATE-PROC argument happens right away on a click if it is
given, and must return #f if PROC is going to have any effect at all.
Thus, e.g., I now have in gjb.scwmrc:

(bind-mouse 'all "C-S-M-1" #f toggle-raise)

And toggle-raise returns something other than #f (it returns
#<unspecified>), so the action is executed right away, and there is no
timeout waiting for the click timeout.

Obviously I did not re-design the binding stuff from scratch for this
fix-- it's not especially elegant, but it works really well, and isn't
all the bad, really.  Additionally, no old behaviour is changed.

As Jurgen suggested, this makes a *HUGE* difference in the
responsiveness feel of Scwm.  I've edited a bunch of my mouse bindings
to add a #f where the old procedure was specified and it makes a world
of difference!

Thanks Jurgen for your suggestion!

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Tue Jul  6 03:25:33 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id DAA19336
	for scwm-discuss-outgoing; Tue, 6 Jul 1999 03:25:33 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA19333
	for <scwm-discuss@serveuse.mit.edu>; Tue, 6 Jul 1999 03:25:29 -0400
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id DAA23281
	for <scwm-discuss@serveuse.mit.edu>; Tue, 6 Jul 1999 03:13:15 -0400 (EDT)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id DAA22151
	for <scwm-discuss@serveuse.mit.edu>; Tue, 6 Jul 1999 03:24:56 -0400 (EDT)
Message-ID: <3781AE49.849F8039@alum.mit.edu>
Date: Tue, 06 Jul 1999 03:20:41 -0400
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 5.5.1 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@serveuse.mit.edu
Subject: various things are back
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


* Developer read/write CVS accounts should work again. So far, 
I have only restored the old ones, I have not set up any that
were pending. I will try to get to those soon.

* Scwm commits go to the commit list again.

* cvsweb works again:  http://serveuse.mit.edu/cgi-bin/cvsweb.new

* the contents of the previous ftp site are now at 
ftp://serveuse.mit.edu/pub/ftp/scwm/old-ftp

* GNATS has been set up as a bug tracking system. A web interface
is available at http://serveuse.mit.edu/cgi-bin/gnatsweb.pl
Developers who want to be able to track and edit PRs should send
me an appropriate username and (plaintext) password. Feel free to
file PRs through this interface. Alternatively you can send
bug reports to <scwm-bugs@serveuse.mit.edu> but that will result
in many fields receiving somewhat lame default values.

----

Items remaining on the infrastructure todo list:

* Fix web-based list archives

* Set up anonymous rsync access so people can mirror
the cvs repository and/or the ftp site easily

* Nightly snapshots

* Put ftp stuff in the proper location

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Tue Jul  6 08:59:23 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id IAA20493
	for scwm-discuss-outgoing; Tue, 6 Jul 1999 08:59:23 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from pat.uio.no (6089@pat.uio.no [129.240.130.16])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id IAA20490
	for <scwm-discuss@serveuse.mit.edu>; Tue, 6 Jul 1999 08:59:17 -0400
Received: from pat.uio.no (actually pat.uio.no [129.240.130.16]) by pat.uio.no with SMTP (PP); Tue, 6 Jul 1999 14:59:07 +0200
Received: from octarine.uio.no ([129.240.186.25]) by pat.uio.no with esmtp (Exim 2.12 #6) id 111UoV-00002R-00 
          for scwm-discuss@serveuse.mit.edu; Tue, 6 Jul 1999 14:59:07 +0200
Received: from hmeland by octarine.uio.no with local (Exim 2.12 #6) id 111UoU-0000Di-00 for scwm-discuss@serveuse.mit.edu;
          Tue, 6 Jul 1999 14:59:06 +0200
To: scwm-discuss@serveuse.mit.edu
Subject: Re: Problems getting (current-CVS) scwm running
References: <d6dpv2cdu4p.fsf@octarine.uio.no> <qrryah0nmic.fsf@elwha.cs.washington.edu>
From: Harald Meland <Harald.Meland@usit.uio.no>
Date: 06 Jul 1999 14:59:03 +0200
In-Reply-To: Greg Badros's message of "01 Jul 1999 13:27:55 -0700"
Message-ID: <d6dn1xaj5ns.fsf@octarine.uio.no>
Lines: 211
User-Agent: Gnus/5.070089 (Pterodactyl Gnus v0.89) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

[Greg Badros]

> Is it reproducible?

I just tried with this CVS checkout (see below for a description of
the problems I had getting it built):

  octarine$ /opt/local/bin/scwm --version
  Scwm Version 0.99.1 compiled on Jul  6 1999 at 12:20:20
  RCS_ID=$Id: scwm.c,v 1.191 1999/07/05 01:45:15 gjb Exp $
  Repository Timestamp: Mon Jul  5 03:04:03 EDT 1999 -- $Revision: 1.1740 $

and yes, this appears to happen consistently.

> Does it happen at startup?

Yup -- puts decorations on windows, and then crashes pretty
immediately.  All windows present on the display I try starting scwm
on seem to get translated down by one height of the scwm window title
per crash.

> Can you give me a smallish (or biggish if you must) .scwmrc that
> makes this happen.

Sure:

  octarine$ ls -l dummy.scwmrc 
  -rw-r--r--   1 hmeland  ucore           0 Jul  6 13:06 dummy.scwmrc

(i.e. an empty file) gives this:

  octarine$ /opt/local/bin/scwm --single-screen --display :0.1 -f dummy.scwmrc 
  [Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault... please run with '--segv-reset-count 0' and report a bug!
  Segmentation Fault (core dumped)

Following the suggestion for debugging, I then did:

  octarine$ /opt/local/bin/scwm --single-screen --display :0.1 -f dummy.scwmrc --segv-reset-count 0
  [Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity
  Segmentation Fault (core dumped)

and got the following backtrace:

  octarine$ gdb /opt/local/bin/scwm core
  GDB is free software and you are welcome to distribute copies of it
   under certain conditions; type "show copying" to see the conditions.
  There is absolutely no warranty for GDB; type "show warranty" for details.
  GDB 4.16 (sparc-sun-solaris2.5), 
  Copyright 1996 Free Software Foundation, Inc...
  Core was generated by `/opt/local/bin/scwm --single-screen --display :0.1 -f dummy.scwmrc --segv-reset'.
  Program terminated with signal 11, Segmentation fault.
  Reading symbols from /local/X11R6/lib/libXmu.so.6.0...done.
  Reading symbols from /local/X11R6/lib/libXpm.so.4.11...done.
  Reading symbols from /local/X11R6/lib/libX11.so.6.1...done.
  Reading symbols from /local/X11R6/lib/libXext.so.6.4...done.
  Reading symbols from /usr/lib/libsocket.so.1...done.
  Reading symbols from /usr/lib/libnsl.so.1...done.
  Reading symbols from /opt/local/lib/libguile.so.4...done.
  Reading symbols from /opt/local/lib/libqthreads.so.0...done.
  Reading symbols from /usr/lib/libdl.so.1...done.
  Reading symbols from /opt/local/lib/libreadline.so.4...done.
  Reading symbols from /opt/local/lib/libtermcap.so.1...done.
  Reading symbols from /usr/lib/libm.so.1...done.
  Reading symbols from /usr/lib/libc.so.1...done.
  Reading symbols from /local/X11R6/lib/libXt.so.6.0...done.
  Reading symbols from /local/X11R6/lib/libSM.so.6.0...done.
  Reading symbols from /local/X11R6/lib/libICE.so.6.3...done.
  Reading symbols from /usr/lib/libmp.so.2...done.
  Reading symbols from /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1...done.
  #0  0xef4e1c50 in scm_makstr (len=68, slots=0) at strings.c:139
  ---Type <return> to continue, or q <return> to quit---
  139       SCM_NEWCELL (s);
  (gdb) where
  #0  0xef4e1c50 in scm_makstr (len=68, slots=0) at strings.c:139
  #1  0xef4e1f48 in scm_makfromstr (
      src=0x160a50 "[Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity\n", len=68, slots=0) at strings.c:199
  #2  0xef4e1fa8 in scm_makfrom0str (
      src=0x160a50 "[Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity\n") at strings.c:213
  #3  0xef4b657c in gh_str02scm (
      s=0x160a50 "[Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity\n") at gh_data.c:93
  #4  0x3c5d8 in BroadcastName (event_type=131072, data1=0, data2=0, data3=0, 
      szName=0x160a50 "[Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity\n") at module-interface.c:110
  #5  0x44118 in scwm_msg (type=ERR, id=0x55b50 "SigDoneSegv", 
      msg=0x55be8 "Doing some cleanup to restore sanity") at scwm.c:1603
  #6  0x43d38 in SigDoneSegv (ignored_ignore=11) at scwm.c:1412
  #7  <signal handler called>
  #8  0xef4c8658 in scm_cons (x=258, y=10612) at pairs.c:58
  #9  0xef4bb74c in scm_listify (elt=258) at list.c:79
  #10 0x3c4c8 in Broadcast (event_type=22, num_datum=5, data1=0, data2=0, 
      data3=0, data4=1, data5=2, data6=0, data7=0) at module-interface.c:71
  #11 0x2d108 in HandleFocusIn () at events.c:427
  #12 0x2cc70 in DispatchEvent () at events.c:259
  #13 0x2ccac in HandleEvents () at events.c:281
  ---Type <return> to continue, or q <return> to quit---
  #14 0x43428 in scwm_main (argc=8, argv=0xeffff67c) at scwm.c:1084
  #15 0xef4b7434 in gh_launch_pad (closure=0x42840, argc=8, argv=0xeffff67c)
      at gh_init.c:60
  #16 0xef4b9de4 in invoke_main_func (body_data=0xeffff518) at init.c:539
  #17 0xef4e9158 in scm_internal_lazy_catch (tag=9076, 
      body=0xef4b9dc4 <invoke_main_func>, body_data=0xeffff518, 
      handler=0xef4e9534 <scm_handle_by_message>, handler_data=0x0)
      at throw.c:328
  #18 0xef4b9d84 in scm_boot_guile_1 (base=0xeffff514, closure=0xeffff518)
      at init.c:513
  #19 0xef4b9a04 in scm_boot_guile (argc=8, argv=0xeffff67c, 
      main_func=0xef4b7424 <gh_launch_pad>, closure=0x42840) at init.c:378
  #20 0xef4b7474 in gh_enter (argc=8, argv=0xeffff67c, 
      c_main_prog=0x42840 <scwm_main>) at gh_init.c:70
  #21 0x42838 in main (argc=8, argv=0xeffff67c) at scwm.c:513

Let me know if there are other things I should have checked as well.

========================================================================
Problems getting CVS scwm built on my system:

First of all, here are versions of various relevant utilities:
  automake (GNU automake) 1.4
  Autoconf version 2.13
  ltmain.sh (GNU libtool) 1.3 (1.385.2.117 1999/04/29 13:07:13)
  GNU Make version 3.77, by Richard Stallman and Roland McGrath.
    (I also have GNU make 3.76.1 available, and used that only when
     3.77 failed)
  gcc 2.8.1
  Guile 1.3
  GTK 1.2.3
  glib 1.2.0
  X11R6.4

First thing to overcome was making various libtool-autogenerated files
in the scwm source tree aware that I had upgraded my libtool.  I ended
up deleting these files (I think) and then re-running ./autogen.sh:
  libtool
  ltconfig
  ltmain.sh
It would be nice if "make distclean" removed all autogenerated files.

Next, I ran "configure" like this:
  ./configure --enable-maintainer-mode --prefix=/opt/local --disable-imlib
which seemed to work OK.  Running "make" proceeded fine up to where
the "scwm" binary should be linked -- I had to add "-lXext to the
libtool linking command to resolve all symbols:

  make[1]: Entering directory `/usit/morgoth/src/MASTER/scwm/scwm-CVS/scwm'
  /bin/sh ../libtool --mode=link gcc  -g -O2  -o scwm -L/local/X11R6/lib -R/local/X11R6/lib -export-dynamic Grab.o ICCCM.o add_window.o binding.o borders.o callbacks.o changed.o color.o colormaps.o colors.o complex.o cursor.o decor.o decorations.o deskpage.o drawmenu.o errors.o events.o face.o focus.o font.o getopt.o getopt1.o guile-compat.o icons.o image.o init_scheme_string.o log-usage.o menu.o menuitem.o menulook.o miscprocs.o module-interface.o move.o message-window.o placement.o resize.o screen.o scwm.o shutdown.o string_token.o syscompat.o system.o util.o virtual.o window.o winprop.o xmisc.o xproperty.o xrm.o -lXmu -lXpm             -lX11 -lsocket  -lnsl -L/opt/local/lib -R/opt/local/lib -L/opt/local/lib -lguile -lqthreads -ldl -lreadline -ltermcap -lsocket -lnsl -lm  -lm 
  gcc -g -O2 -o scwm -L/local/X11R6/lib Grab.o ICCCM.o add_window.o binding.o borders.o callbacks.o changed.o color.o colormaps.o colors.o complex.o cursor.o decor.o decorations.o deskpage.o drawmenu.o errors.o events.o face.o focus.o font.o getopt.o getopt1.o guile-compat.o icons.o image.o init_scheme_string.o log-usage.o menu.o menuitem.o menulook.o miscprocs.o module-interface.o move.o message-window.o placement.o resize.o screen.o scwm.o shutdown.o string_token.o syscompat.o system.o util.o virtual.o window.o winprop.o xmisc.o xproperty.o xrm.o -lXmu -lXpm -lX11 -lsocket -lnsl -L/opt/local/lib -L/opt/local/lib -lguile -lqthreads -ldl -lreadline -ltermcap -lsocket -lnsl -lm -lm -R/local/X11R6/lib -R/opt/local/lib -R/local/X11R6/lib -R/opt/local/lib
  Undefined                       first referenced
   symbol                             in file
  XShapeCombineMask                   icons.o  (symbol belongs to implicit dependency /local/X11R6/lib/libXext.so.6.4)
  XShapeCombineShape                  borders.o  (symbol belongs to implicit dependency /local/X11R6/lib/libXext.so.6.4)
  XShapeQueryExtents                  add_window.o  (symbol belongs to implicit dependency /local/X11R6/lib/libXext.so.6.4)
  XShapeSelectInput                   add_window.o  (symbol belongs to implicit dependency /local/X11R6/lib/libXext.so.6.4)
  XShapeQueryExtension                scwm.o  (symbol belongs to implicit dependency /local/X11R6/lib/libXext.so.6.4)
  XShapeCombineRectangles             borders.o  (symbol belongs to implicit dependency /local/X11R6/lib/libXext.so.6.4)
  ld: fatal: Symbol referencing errors. No output written to scwm
  make[1]: *** [scwm] Error 1

After this was fixed by hand, the next problem appeared in the
pixmapds subdir:

  make[1]: Entering directory `/usit/morgoth/src/MASTER/scwm/scwm-CVS/pixmaps'
  make[1]: *** No rule to make target `*.xpm', needed by `all-am'.  Stop.
  make[1]: Leaving directory `/usit/morgoth/src/MASTER/scwm/scwm-CVS/pixmaps'

Apparently GNU make 3.77 chokes on this, fixed by using GNU make
3.76.1 in that subdir.

Moving on, I then discovered that the run-renamed still attempted to
use setenv() on Solaris -- here's how I fixed that:
========================================================================
--- run-renamed.c       1999/06/26 21:15:59     1.2
+++ run-renamed.c       1999/07/06 10:53:46
@@ -8,6 +8,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include "config.h"
 
 char *r1bindex(char *p, int c)
 {
@@ -24,7 +25,7 @@
     exit(1);
   }
   if (!strcmp(r1bindex(argv[0], '/'), "run-renamed")) { 
-#ifdef NO_SETENV
+#ifndef HAVE_SETENV
     /* GJB:FIXME:: untested -- JWN reports it's needed for AIX */
     char *sz = malloc(strlen("RESOURCE_NAME=")+strlen(argv[1])+1);
     sprintf(sz,"RESOURCE_NAME=%s",argv[1]);
========================================================================

Next problem was with scwm_set_pid_property -- the linking stage
doesn't work in Solaris:
  make[2]: Entering directory `/usit/morgoth/src/MASTER/scwm/scwm-CVS/utilities/pidproperty'
  gcc -shared -fpic  -I/local/X11R6/include -c scwm_set_pid_property.c
  ld -shared scwm_set_pid_property.o -o scwm_set_pid_property.so -ldl   -L/local/X11R6/lib -R/local/X11R6/lib -lX11 -lsocket  -lnsl
  ld: fatal: option -h and building a dynamic executable are incompatible
  ld: fatal: Flags processing errors
  make[2]: *** [scwm_set_pid_property.so] Error 1
Thus, this should probably be libtoolized (but I'll leave fixing that
to others, I just did "touch scwm_set_pid_property.so" to fool make
into thinking it was done).

Finally, GNU make 3.77 had more problems in the themes/ subdir:

  make[1]: Entering directory `/usit/morgoth/src/MASTER/scwm/scwm-CVS/themes'
  make[1]: *** No rule to make target `fvwm2/ir)/', needed by `fvwm2.tar.gz'.  Stop.
  make[1]: Leaving directory `/usit/morgoth/src/MASTER/scwm/scwm-CVS/themes'

Fixed by using GNU make 3.76.1 here, too.
-- 
Harald

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Tue Jul  6 11:25:35 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA20704
	for scwm-discuss-outgoing; Tue, 6 Jul 1999 11:25:35 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA20701
	for <scwm-discuss@serveuse.mit.edu>; Tue, 6 Jul 1999 11:25:31 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA28125; Tue, 6 Jul 1999 08:25:27 -0700 (PDT)
To: Harald Meland <Harald.Meland@usit.uio.no>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: Problems getting (current-CVS) scwm running
References: <d6dpv2cdu4p.fsf@octarine.uio.no> <qrryah0nmic.fsf@elwha.cs.washington.edu> <d6dn1xaj5ns.fsf@octarine.uio.no>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Jul 1999 08:25:26 -0700
In-Reply-To: Harald Meland's message of "06 Jul 1999 14:59:03 +0200"
Message-ID: <qrriu7xajh5.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Did you report bugs in GNU Make?  Or see if the new behaviour is
intentional and we're doing something wrong?

I'll try to reproduce your core dump here.  I've propagated some of your 
suggested changes into my working tree (with some slight modifications
-- e.g., setenv is defined now in syscompat.c, so ideally we can just
link against that .o file-- maybe this is trying to do too much, though, 
since syscompat.o is in a different directory than run-renamed/.)

I think I've now fixed the Xext lib problem (I just introduced that bug
adding the test for Xtest libraries).

Thanks! 
Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Tue Jul  6 11:56:03 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA21085
	for scwm-discuss-outgoing; Tue, 6 Jul 1999 11:56:03 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA21082
	for <scwm-discuss@serveuse.mit.edu>; Tue, 6 Jul 1999 11:55:59 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA29636; Tue, 6 Jul 1999 08:55:55 -0700 (PDT)
To: Harald Meland <Harald.Meland@usit.uio.no>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: Problems getting (current-CVS) scwm running
References: <d6dpv2cdu4p.fsf@octarine.uio.no> <qrryah0nmic.fsf@elwha.cs.washington.edu> <d6dn1xaj5ns.fsf@octarine.uio.no>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Jul 1999 08:55:54 -0700
In-Reply-To: Harald Meland's message of "06 Jul 1999 14:59:03 +0200"
Message-ID: <qrraet9ai2d.fsf@elwha.cs.washington.edu>
Lines: 44
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Harald Meland <Harald.Meland@usit.uio.no> writes:

> [Greg Badros]
> 
> > Is it reproducible?
> 
> I just tried with this CVS checkout (see below for a description of
> the problems I had getting it built):
> 
>   octarine$ /opt/local/bin/scwm --version
>   Scwm Version 0.99.1 compiled on Jul  6 1999 at 12:20:20
>   RCS_ID=$Id: scwm.c,v 1.191 1999/07/05 01:45:15 gjb Exp $
>   Repository Timestamp: Mon Jul  5 03:04:03 EDT 1999 -- $Revision: 1.1740 $
> 
> and yes, this appears to happen consistently.
> 
> > Does it happen at startup?
> 
> Yup -- puts decorations on windows, and then crashes pretty
> immediately.  All windows present on the display I try starting scwm
> on seem to get translated down by one height of the scwm window title
> per crash.
> 
> > Can you give me a smallish (or biggish if you must) .scwmrc that
> > makes this happen.
> 
> Sure:
> 
>   octarine$ ls -l dummy.scwmrc 
>   -rw-r--r--   1 hmeland  ucore           0 Jul  6 13:06 dummy.scwmrc
> 
> (i.e. an empty file) gives this:
> 
>   octarine$ /opt/local/bin/scwm --single-screen --display :0.1 -f dummy.scwmrc 

Can you try it with --segv-just-stop and send me that backtrace-- I
can't reproduce this on RedHat5-base x86 configuration with guile 1.3.

Also, note that -f /dev/null is a nice way to get only the built-in
configuration. 

Thanks for your time-- I want to get Scwm working for you ASAP!

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jul  7 05:47:53 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id FAA23140
	for scwm-discuss-outgoing; Wed, 7 Jul 1999 05:47:53 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from mons.uio.no (6089@mons.uio.no [129.240.130.14])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id FAA23137
	for <scwm-discuss@serveuse.mit.edu>; Wed, 7 Jul 1999 05:47:48 -0400
Received: from mons.uio.no (actually mons.uio.no [129.240.130.14]) by mons.uio.no with SMTP (PP); Wed, 7 Jul 1999 11:47:34 +0200
Received: from octarine.uio.no ([129.240.186.25]) by mons.uio.no with esmtp (Exim 2.12 #6) id 111oIf-0002BG-00 
          for scwm-discuss@serveuse.mit.edu; Wed, 7 Jul 1999 11:47:33 +0200
Received: from hmeland by octarine.uio.no with local (Exim 2.12 #6) id 111oIe-00030D-00 for scwm-discuss@serveuse.mit.edu;
          Wed, 7 Jul 1999 11:47:32 +0200
To: scwm-discuss@serveuse.mit.edu
Subject: Re: Problems getting (current-CVS) scwm running
References: <d6dpv2cdu4p.fsf@octarine.uio.no> <qrryah0nmic.fsf@elwha.cs.washington.edu> <d6dn1xaj5ns.fsf@octarine.uio.no> <qrraet9ai2d.fsf@elwha.cs.washington.edu>
From: Harald Meland <Harald.Meland@usit.uio.no>
Date: 07 Jul 1999 11:47:29 +0200
In-Reply-To: Greg Badros's message of "06 Jul 1999 08:55:54 -0700"
Message-ID: <d6dn1x8hjv2.fsf@octarine.uio.no>
Lines: 94
User-Agent: Gnus/5.070089 (Pterodactyl Gnus v0.89) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

[Greg Badros]

> Harald Meland <Harald.Meland@usit.uio.no> writes:
> 
> > Yup -- puts decorations on windows, and then crashes pretty
> > immediately.  All windows present on the display I try starting scwm
> > on seem to get translated down by one height of the scwm window title
> > per crash.

They're also translated right by one scwm border-width per crash, for
what it's worth.

> Can you try it with --segv-just-stop and send me that backtrace-- I
> can't reproduce this on RedHat5-base x86 configuration with guile 1.3.

  octarine$ /opt/local/bin/scwm --single-screen --display :0.1 -f dummy.scwmrc --segv-just-stop
  Segmentation Fault (core dumped)
  
  octarine$ gdb /opt/local/bin/scwm core
  GDB is free software and you are welcome to distribute copies of it
   under certain conditions; type "show copying" to see the conditions.
  There is absolutely no warranty for GDB; type "show warranty" for details.
  GDB 4.16 (sparc-sun-solaris2.5), 
  Copyright 1996 Free Software Foundation, Inc...
  Core was generated by `/opt/local/bin/scwm --single-screen --display :0.1 -f dummy.scwmrc --segv-just-'.
  Program terminated with signal 11, Segmentation fault.
  Reading symbols from /local/X11R6/lib/libXmu.so.6.0...done.
  Reading symbols from /local/X11R6/lib/libXpm.so.4.11...done.
  Reading symbols from /local/X11R6/lib/libX11.so.6.1...done.
  Reading symbols from /local/X11R6/lib/libXext.so.6.4...done.
  Reading symbols from /usr/lib/libsocket.so.1...done.
  Reading symbols from /usr/lib/libnsl.so.1...done.
  Reading symbols from /opt/local/lib/libguile.so.4...done.
  Reading symbols from /opt/local/lib/libqthreads.so.0...done.
  Reading symbols from /usr/lib/libdl.so.1...done.
  Reading symbols from /opt/local/lib/libreadline.so.4...done.
  Reading symbols from /opt/local/lib/libtermcap.so.1...done.
  Reading symbols from /usr/lib/libm.so.1...done.
  Reading symbols from /usr/lib/libc.so.1...done.
  Reading symbols from /local/X11R6/lib/libXt.so.6.0...done.
  Reading symbols from /local/X11R6/lib/libSM.so.6.0...done.
  Reading symbols from /local/X11R6/lib/libICE.so.6.3...done.
  Reading symbols from /usr/lib/libmp.so.2...done.
  Reading symbols from /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1...done.
  #0  0xef4c8658 in scm_cons (x=258, y=10612) at pairs.c:58
  ---Type <return> to continue, or q <return> to quit---
  58        SCM_NEWCELL (z);
  (gdb) where
  #0  0xef4c8658 in scm_cons (x=258, y=10612) at pairs.c:58
  #1  0xef4bb74c in scm_listify (elt=258) at list.c:79
  #2  0x3c4c8 in Broadcast (event_type=22, num_datum=5, data1=0, data2=0, 
      data3=0, data4=1, data5=2, data6=0, data7=0) at module-interface.c:71
  #3  0x2d108 in HandleFocusIn () at events.c:427
  #4  0x2cc70 in DispatchEvent () at events.c:259
  #5  0x2ccac in HandleEvents () at events.c:281
  #6  0x43428 in scwm_main (argc=7, argv=0xeffff684) at scwm.c:1084
  #7  0xef4b7434 in gh_launch_pad (closure=0x42840, argc=7, argv=0xeffff684)
      at gh_init.c:60
  #8  0xef4b9de4 in invoke_main_func (body_data=0xeffff520) at init.c:539
  #9  0xef4e9158 in scm_internal_lazy_catch (tag=9076, 
      body=0xef4b9dc4 <invoke_main_func>, body_data=0xeffff520, 
      handler=0xef4e9534 <scm_handle_by_message>, handler_data=0x0)
      at throw.c:328
  #10 0xef4b9d84 in scm_boot_guile_1 (base=0xeffff51c, closure=0xeffff520)
      at init.c:513
  #11 0xef4b9a04 in scm_boot_guile (argc=7, argv=0xeffff684, 
      main_func=0xef4b7424 <gh_launch_pad>, closure=0x42840) at init.c:378
  #12 0xef4b7474 in gh_enter (argc=7, argv=0xeffff684, 
      c_main_prog=0x42840 <scwm_main>) at gh_init.c:70
  #13 0x42838 in main (argc=7, argv=0xeffff684) at scwm.c:513
  (gdb) 

> Also, note that -f /dev/null is a nice way to get only the built-in
> configuration.

I agree that this ought to be the case -- but as I have mentioned
before, scwm just hangs (i.e. doesn't ever get to the "add decorations
to windows" phase) when I try running e.g.

  octarine$ /opt/local/bin/scwm --single-screen --display :0.1 -f /dev/null --segv-just-stop

My /dev/null looks like this (which, AFAIK, is how it _should_ look on
Solaris):

  octarine$ ls -l /dev/null
  lrwxrwxrwx   1 root     root           27 Oct 31  1997 /dev/null -> ../devices/pseudo/mm@0:null
  octarine$ ls -lL /dev/null
  crw-rw-rw-   1 root     sys       13,   2 Jul  7 11:41 /dev/null

> Thanks for your time-- I want to get Scwm working for you ASAP!

Thank _you_ for taking the time to look into this,
-- 
Harald

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jul  7 05:50:30 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id FAA23180
	for scwm-discuss-outgoing; Wed, 7 Jul 1999 05:50:30 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from mons.uio.no (6089@mons.uio.no [129.240.130.14])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id FAA23177
	for <scwm-discuss@serveuse.mit.edu>; Wed, 7 Jul 1999 05:50:26 -0400
Received: from mons.uio.no (actually mons.uio.no [129.240.130.14]) by mons.uio.no with SMTP (PP); Wed, 7 Jul 1999 11:50:19 +0200
Received: from octarine.uio.no ([129.240.186.25]) by mons.uio.no with esmtp (Exim 2.12 #6) id 111oLL-0002Er-00 
          for scwm-discuss@serveuse.mit.edu; Wed, 7 Jul 1999 11:50:19 +0200
Received: from hmeland by octarine.uio.no with local (Exim 2.12 #6) id 111oLL-00030I-00 for scwm-discuss@serveuse.mit.edu;
          Wed, 7 Jul 1999 11:50:19 +0200
To: scwm-discuss@serveuse.mit.edu
Subject: Re: Problems getting (current-CVS) scwm running
References: <d6dpv2cdu4p.fsf@octarine.uio.no> <qrryah0nmic.fsf@elwha.cs.washington.edu> <d6dn1xaj5ns.fsf@octarine.uio.no> <qrriu7xajh5.fsf@elwha.cs.washington.edu>
From: Harald Meland <Harald.Meland@usit.uio.no>
Date: 07 Jul 1999 11:50:18 +0200
In-Reply-To: Greg Badros's message of "06 Jul 1999 08:25:26 -0700"
Message-ID: <d6diu7whjqd.fsf@octarine.uio.no>
Lines: 10
User-Agent: Gnus/5.070089 (Pterodactyl Gnus v0.89) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

[Greg Badros]

> Did you report bugs in GNU Make?  Or see if the new behaviour is
> intentional and we're doing something wrong?

Not yet -- as I haven't had the time to check whether the problem is
with GNU make or scwm's Makefiles.  I'll try pursuing this as soon as
I get the time.
-- 
Harald

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jul  7 06:46:26 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id GAA23406
	for scwm-discuss-outgoing; Wed, 7 Jul 1999 06:46:26 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from news.ntt.it (w2.ntt.it [194.73.95.85])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA23403
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Wed, 7 Jul 1999 06:46:20 -0400
Received: from mizar (r1p001.ntt.it [194.73.94.1]) by news.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id MAA41496 for <scwm-discuss@SERVEUSE.MIT.EDU>; Wed, 7 Jul 1999 12:46:52 +0200 (DFT)
Received: by ntt.it
	via sendmail from stdin
	id <m111ciW-0008vgC@mizar> (Debian Smail3.2.0.102)
	for scwm-discuss@SERVEUSE.MIT.EDU; Tue, 6 Jul 1999 23:25:28 +0200 (CEST) 
Date: Tue, 6 Jul 1999 23:25:27 +0200
From: Francesco Tapparo <cesco@ntt.it>
To: scwm-discuss@serveuse.mit.edu
Subject: afterstep theme
Message-ID: <19990706232527.A12920@mizar>
Reply-To: tapparo@mat.unimi.it
Mail-Followup-To: scwm-discuss@SERVEUSE.MIT.EDU
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

The afterstep theme in scwm-0.99.1 work only if the variable pic-xterm-mini
is defined. I think this is not the correct behaviour, because a theme
should be a kind of "black box" independent from the existence of particular
variables and files. The command depending from the pic-xterm-mini variable
attach a xterm icon to *every* afterstep window, so I suspect it is a
cut&paste error. Simply removing the line resolve the problem:

--- theme.scm.bak	Tue Jul  6 22:12:25 1999
+++ theme.scm	Tue Jul  6 23:13:16 1999
@@ -27,7 +27,6 @@
 				#:mwm-border #t
 				#:hint-override #t #:decorate-transient #f
 				#:PPosition-hint #f
-				#:mini-icon pic-xterm-mini
 				#:button 1 #:button 3
 				#:button 2 #:button 4
 				#:no-button 5 #:no-button 7 #:no-button 9
@@ -72,3 +71,5 @@
 		(lambda () 
 		  (set-background-color! "black")
 		  (desk-background #t #:color "black")))))
+
+


-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jul  7 08:51:37 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id IAA23573
	for scwm-discuss-outgoing; Wed, 7 Jul 1999 08:51:37 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from blinky.bfr.co.il (hjstein@morannon.bfr.co.il [192.116.142.129])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id IAA23570
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Wed, 7 Jul 1999 08:51:31 -0400
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id PAA09842; Wed, 7 Jul 1999 15:51:22 +0300
To: scwm-discuss@serveuse.mit.edu
Subject: fvwm2 pager bug - pager dragging across desktops broken.
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 07 Jul 1999 15:51:22 +0300
In-Reply-To: Harald Meland's message of "07 Jul 1999 11:50:18 +0200"
Message-ID: <m2hfngbp2t.fsf_-_@blinky.bfr.co.il>
Lines: 10
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


With the fvwm2 pager, a middle mouse drag on the image of a window in
the pager moves the window.  This works moving windows within a
desktop, but is broken when trying to drag across desks.  The window
ends up in the correct relative position but doesn't change desks.

-- 
Harvey J. Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jul  7 11:24:15 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA23892
	for scwm-discuss-outgoing; Wed, 7 Jul 1999 11:24:15 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA23889
	for <scwm-discuss@serveuse.mit.edu>; Wed, 7 Jul 1999 11:24:11 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA11195; Wed, 7 Jul 1999 08:24:01 -0700 (PDT)
To: tapparo@mat.unimi.it
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: scwm-0.9 and glibc-2.1
References: <19990508230145.A2688@mizar> <qrru2ropaoh.fsf@elwha.cs.washington.edu> <19990706115033.D151@mizar>
From: Greg Badros <badros@cs.washington.edu>
Date: 07 Jul 1999 08:24:01 -0700
In-Reply-To: Francesco Tapparo's message of "Tue, 6 Jul 1999 11:50:33 +0200"
Message-ID: <qrrpv24xz3i.fsf@elwha.cs.washington.edu>
Lines: 10
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Francesco Tapparo <cesco@ntt.it> writes:

> Yes, the bug is solved (thanks to the great scwm-discuss people and the
> responsivity of the debian guile maintainer). 

They are pretty great-- I'm really thankful to have such a superbly
talented user/contributor base... Scwm is much better off for having
this list of supporting folks!

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jul  7 12:12:06 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id MAA24040
	for scwm-discuss-outgoing; Wed, 7 Jul 1999 12:12:06 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from seldon.dtek.chalmers.se (root@seldon.dtek.chalmers.se [129.16.30.6])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA24037
	for <scwm-discuss@serveuse.mit.edu>; Wed, 7 Jul 1999 12:12:00 -0400
Received: from licia.dtek.chalmers.se (d4jonas@licia.dtek.chalmers.se [129.16.30.88])
	by seldon.dtek.chalmers.se (8.8.8/8.8.8) with ESMTP id SAA29637
	for <scwm-discuss@serveuse.mit.edu>; Wed, 7 Jul 1999 18:11:55 +0200 (MET DST)
Received: (from d4jonas@localhost)
	by licia.dtek.chalmers.se (8.8.8/8.8.8) id SAA19228;
	Wed, 7 Jul 1999 18:11:55 +0200 (MET DST)
To: scwm-discuss@serveuse.mit.edu
Subject: Compiling everything to beneath /foo/scwm ?
X-No-Archive: Yes
Mail-Copies-To: never
Organization: The Deciples of Albericht Nibelungen
From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Date: 07 Jul 1999 18:11:55 +0200
Message-ID: <wtnvhbwphh0.fsf@licia.dtek.chalmers.se>
Lines: 29
User-Agent: Gnus/5.070091 (Pterodactyl Gnus v0.91) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


I'm about to compile SCWM and has a question.

If I do "./configure --prefix=/foo/scwm/scwm-0.9", will *all* files
be placed under /foo/scwm/scwm-0.9 or will it scatter files all over
the directorytree? The reason I ask is that I got the impression that
it does the latter and I want to be able to remove a specific version
with a single "rm". My plan was to have /foo/scwm/scwm-0.x,
/foo/scwm/scwm-0.y, /foo/scwm/scwm-0.z, ... and then have
"ln -s /foo/scwm/scwm-0.z /foo/scwm/current-scwm" and only have
/foo/scwm/current-scwm in the the PATH.

Is this possible in a simple way (I presume it is possible, the
question is how difficult it is)? How is it done? Is "--prefix="
enough?

I've never compiled X programs before but had the "idea" that SCWM
(and other X programs) wants to put some libs in some standard
lib-directory - and make it hard to seperate the versions.

I hope the question is clear.

TIA.

SCWM 0.9, Solaris 2.6 and Debian Linux Potato if it matters.

-- 
( Jonas Steverud  @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jul  7 12:26:09 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id MAA24116
	for scwm-discuss-outgoing; Wed, 7 Jul 1999 12:26:09 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA24113
	for <scwm-discuss@serveuse.mit.edu>; Wed, 7 Jul 1999 12:26:06 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA14298; Wed, 7 Jul 1999 09:26:00 -0700 (PDT)
To: Harald Meland <Harald.Meland@usit.uio.no>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: Problems getting (current-CVS) scwm running
References: <d6dpv2cdu4p.fsf@octarine.uio.no> <qrryah0nmic.fsf@elwha.cs.washington.edu> <d6dn1xaj5ns.fsf@octarine.uio.no> <qrriu7xajh5.fsf@elwha.cs.washington.edu> <d6diu7whjqd.fsf@octarine.uio.no>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Jul 1999 09:25:59 -0700
In-Reply-To: Harald Meland's message of "07 Jul 1999 11:50:18 +0200"
Message-ID: <qrrd7y4xw88.fsf@elwha.cs.washington.edu>
Lines: 22
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Harald Meland <Harald.Meland@usit.uio.no> writes:

> [Greg Badros]
> 
> > Did you report bugs in GNU Make?  Or see if the new behaviour is
> > intentional and we're doing something wrong?
> 
> Not yet -- as I haven't had the time to check whether the problem is
> with GNU make or scwm's Makefiles.  I'll try pursuing this as soon as
> I get the time.

I briefly looked into it, and it seems that our use of wildcards is
described as being support by the Make 3.76.1 info page, and nothing in
the NEWS file for 3.77 suggests that the support has been altered.  (I
did not try 3.77 myself, though).

Please do follow up on this if and when you have the time;  it'd be
really unfortunate for our automake-generated makefiles to not work with 
the latest version of a pretty standard tool.

Thanks!
Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jul  7 12:26:40 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id MAA24130
	for scwm-discuss-outgoing; Wed, 7 Jul 1999 12:26:40 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from sanjuan.cs.washington.edu (sanjuan.cs.washington.edu [128.95.8.118])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA24124
	for <scwm-discuss@serveuse.mit.edu>; Wed, 7 Jul 1999 12:26:37 -0400
Received: from localhost (jwnichls@localhost) by sanjuan.cs.washington.edu (8.8.5+CS/7.2ws+) with SMTP id JAA29427; Wed, 7 Jul 1999 09:26:31 -0700 (PDT)
Date: Wed, 7 Jul 1999 09:26:30 -0700 (PDT)
From: Jeffrey Nichols <jwnichls@cs.washington.edu>
To: Jonas Steverud <d4jonas@dtek.chalmers.se>
cc: scwm-discuss@serveuse.mit.edu
Subject: Re: Compiling everything to beneath /foo/scwm ?
In-Reply-To: <wtnvhbwphh0.fsf@licia.dtek.chalmers.se>
Message-ID: <Pine.OSF.4.02A.9907070920120.28776-100000@sanjuan.cs.washington.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


Jonas-

> If I do "./configure --prefix=/foo/scwm/scwm-0.9", will *all* files
> be placed under /foo/scwm/scwm-0.9 or will it scatter files all over
> the directorytree? 

	All files are placed under prefix in subdirectories.  In your
example, libraries would be placed in /foo/scwm/scwm-0.9/lib/, binaries in
/foo/scwm/scwm-0.9/bin, etc.  The only other thing that you'll need to do
is set your LD_LIBRARY_PATH to point to the directory containing the scwm
libs (which I believe it will tell you when you do a 'make install').

	At work I do not have root access on my machine, so I had to
install scwm in /scratch.  My configure line was:

./configure --enable-maintainer-mode --prefix=/scratch --x-libraries=/scratch/lib

	The --x-libraries option was used because I had to install my own
version of Xpm (also in scratch).  You can probably ignore it.

> Is this possible in a simple way (I presume it is possible, the
> question is how difficult it is)? How is it done? Is "--prefix="
> enough?

	Yes.

	Hope that helps...

		-Jeff

---
Jeff W. Nichols   "There are over forty million lines of code in Windows,
UW CSE                     and I love every one of them."
jwnichls@cs                         - Jean-Louis Gassee CEO, Be Inc.


From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jul  7 12:28:03 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id MAA24174
	for scwm-discuss-outgoing; Wed, 7 Jul 1999 12:28:03 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA24171
	for <scwm-discuss@serveuse.mit.edu>; Wed, 7 Jul 1999 12:28:00 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA14391; Wed, 7 Jul 1999 09:27:50 -0700 (PDT)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: fvwm2 pager bug - pager dragging across desktops broken.
References: <m2hfngbp2t.fsf_-_@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Jul 1999 09:27:50 -0700
In-Reply-To: hjstein@bfr.co.il's message of "07 Jul 1999 15:51:22 +0300"
Message-ID: <qrraet8xw55.fsf@elwha.cs.washington.edu>
Lines: 22
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> With the fvwm2 pager, a middle mouse drag on the image of a window in
> the pager moves the window.  This works moving windows within a
> desktop, but is broken when trying to drag across desks.  The window
> ends up in the correct relative position but doesn't change desks.

I just tried it and it did change desks for me, but then failed
miserably and caused my FvwmPager to die.  I got:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  42 (X_SetInputFocus)
  Serial number of failed request:  20866
  Current serial number in output stream:  20879
scwm: Error communicating with module: 
(#<output: write pipe 15> 9227263 #<procedure ()> #<procedure ()> #t #<procedure ()> . "FvwmPager")error is: 
(wrong-number-of-args #f "Wrong number of arguments to %s" (#<procedure ()>) #f);
 terminating connection.

Thanks for noticing this...

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jul  7 15:11:07 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id PAA24667
	for scwm-discuss-outgoing; Wed, 7 Jul 1999 15:11:07 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from news.ntt.it (w2.ntt.it [194.73.95.85])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA24664
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Wed, 7 Jul 1999 15:11:02 -0400
Received: from mizar (r3p073.ntt.it [194.75.44.73]) by news.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id VAA24122 for <scwm-discuss@SERVEUSE.MIT.EDU>; Wed, 7 Jul 1999 21:11:34 +0200 (DFT)
Received: by ntt.it
	via sendmail from stdin
	id <m111wTg-00090JC@mizar> (Debian Smail3.2.0.102)
	for scwm-discuss@SERVEUSE.MIT.EDU; Wed, 7 Jul 1999 20:31:28 +0200 (CEST) 
Date: Wed, 7 Jul 1999 20:31:27 +0200
From: Francesco Tapparo <cesco@ntt.it>
To: scwm-discuss@serveuse.mit.edu
Subject: Re: afterstep theme
Message-ID: <19990707203127.A186@mizar>
Reply-To: tapparo@mat.unimi.it
Mail-Followup-To: scwm-discuss@SERVEUSE.MIT.EDU
References: <19990706232527.A12920@mizar>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <19990706232527.A12920@mizar>; from Francesco Tapparo on Tue, Jul 06, 1999 at 11:25:27PM +0200
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

On Tue, Jul 06, 1999 at 11:25:27PM +0200, Francesco Tapparo wrote:
> The afterstep theme in scwm-0.99.1 work only if the variable pic-xterm-mini
> is defined. 

The exact same proble is present in the twm theme, too.

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jul  7 15:19:04 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id PAA24739
	for scwm-discuss-outgoing; Wed, 7 Jul 1999 15:19:04 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from rex.eecs.tulane.edu (root@rex.eecs.tulane.edu [129.81.132.1])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA24736
	for <scwm-discuss@serveuse.mit.edu>; Wed, 7 Jul 1999 15:18:58 -0400
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for 
          Wed, 7 Jul 1999 14:18:46 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Wed, 7 Jul 1999 14:18:48 -0500 (CDT)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14211.43031.479861.224519@juno>
Date: Wed, 7 Jul 1999 14:18:47 -0500 (CDT)
From: Eric Beuscher <beuscher@eecs.tulane.edu>
To: Jonas Steverud <d4jonas@dtek.chalmers.se>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Compiling everything to beneath /foo/scwm ?
In-Reply-To: <wtnvhbwphh0.fsf@licia.dtek.chalmers.se>
References: <wtnvhbwphh0.fsf@licia.dtek.chalmers.se>
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


> If I do "./configure --prefix=/foo/scwm/scwm-0.9", will *all* files
> be placed under /foo/scwm/scwm-0.9 or will it scatter files all over
> the directorytree? The reason I ask is that I got the impression that
> it does the latter and I want to be able to remove a specific version
> with a single "rm". My plan was to have /foo/scwm/scwm-0.x,
> /foo/scwm/scwm-0.y, /foo/scwm/scwm-0.z, ... and then have
> "ln -s /foo/scwm/scwm-0.z /foo/scwm/current-scwm" and only have
> /foo/scwm/current-scwm in the the PATH.

> Is this possible in a simple way (I presume it is possible, the
> question is how difficult it is)? How is it done? Is "--prefix="
> enough?

for the daily snapshots, which is what i usually build, i use the
following quick hack:

--- BEGIN script scwm-snapshot
#!/bin/zsh -f

## input is an scwm nightly snapshot .tar.gz
## untar it to the usual place, assumes gnu tar
## configure and make the snapshot
## change the symlinkl
## restart scwm, which by symlink magic will be the just built version
    
local snapshot=
snapshot=`echo \`basename $1\` | cut -f 1 -d \.`

tar xzvf $1 -C /usr/local/src/ &&
cd /usr/local/src/$snapshot &&

./configure --prefix=/usr/local/opt/$snapshot &&
make &&
make install &&

cd /usr/local/opt &&
mv scwm scwm.old &&
ln -s $snapshot scwm &&

scwmexec (restart)
--- END script

> scwm-snapshot scwm-19990426.tar.gz


for this script to work, i have symlinks from
/usr/local/opt/scwm/*/* to the  /usr/local/ heirarchy

and the /usr/local/ heirarchy needs to be represented
appropriately in the appropriate environment variables (PATH,
LD_LIBRARY_PATH)

asuming that the files/directories in /usr/local/opt/scwm/*/*
dont change frequently, this is a pretty easy way to follow the
nightly snapshots.    and since your previous working version is
just a change of a symlink away, it is easy to go back to a
version that works if a new one doesnt.

this method is of course very un-robust, but it works for me

anybody have something more interesting?


-- 
eric

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jul  7 15:36:59 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id PAA24932
	for scwm-discuss-outgoing; Wed, 7 Jul 1999 15:36:59 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from rex.eecs.tulane.edu (root@rex.eecs.tulane.edu [129.81.132.1])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA24929
	for <scwm-discuss@serveuse.mit.edu>; Wed, 7 Jul 1999 15:36:50 -0400
Received: from  (beuscher@juno [129.81.132.63])
          by rex.eecs.tulane.edu for 
          Wed, 7 Jul 1999 14:36:44 -0500 (CDT)
Received:  by juno.eecs.tulane.edu; Wed, 7 Jul 1999 14:36:46 -0500 (CDT)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14211.44110.390425.363979@juno>
Date: Wed, 7 Jul 1999 14:36:46 -0500 (CDT)
From: Eric Beuscher <beuscher@eecs.tulane.edu>
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: xmcd
In-Reply-To: <qrr908vex4v.fsf@elwha.cs.washington.edu>
References: <14096.51995.846651.9277@juno>
	<qrr908vex4v.fsf@elwha.cs.washington.edu>
X-Mailer: VM 6.62 under Emacs 20.3.1
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


> > it was working fine under 19990407.
> > when i restarted to use 19990411, i got the following error
> > messages:
> > 
> >     [Scwm][ConstrainSize]: <<WARNING>> xinc == 0
> >     [Scwm][ConstrainSize]: <<WARNING>> yinc == 0
> >     X Error of failed request:  BadValue (integer parameter out of range for operation)
> >       Major opcode of failed request:  12 (X_ConfigureWindow)
> >       Value in failed request:  0x0
> >       Serial number of failed request:  2596
> >       Current serial number in output stream:  2598
> > ...

> Do you still get this with recent snapshots?

i've been using 19990426 during the scwm downtime, and dont
recall any errors.

i have built a cvs version from a day ago while awaiting the
snapshots, and xmcd is going fine.

btw, its GREAT that the big memory leak has been taken care of.
no more 30-50MB scwm processes.    woo woo


-- 
eric

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jul  7 17:16:34 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id RAA25208
	for scwm-discuss-outgoing; Wed, 7 Jul 1999 17:16:34 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA25205
	for <scwm-discuss@serveuse.mit.edu>; Wed, 7 Jul 1999 17:16:29 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA28597; Wed, 7 Jul 1999 14:16:23 -0700 (PDT)
To: Eric Beuscher <beuscher@eecs.tulane.edu>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: xmcd
References: <14096.51995.846651.9277@juno> <qrr908vex4v.fsf@elwha.cs.washington.edu> <14211.44110.390425.363979@juno>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Jul 1999 14:16:23 -0700
In-Reply-To: Eric Beuscher's message of "Wed, 7 Jul 1999 14:36:46 -0500 (CDT)"
Message-ID: <qrrn1x8w47s.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Eric Beuscher <beuscher@eecs.tulane.edu> writes:

> i've been using 19990426 during the scwm downtime, and dont
> recall any errors.
> 
> i have built a cvs version from a day ago while awaiting the
> snapshots, and xmcd is going fine.
> 
> btw, its GREAT that the big memory leak has been taken care of.
> no more 30-50MB scwm processes.    woo woo

I'm not sure that the big leak that I see has been taken care of... I
sent Maciej mail about what memory is leaking, but I don't think I've
seen a patch to fix it yet (he's been very busy with getting Scwm
information available to everyone!).  Glad your Scwm leaks are not as
big any longer! :-)

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jul  7 17:22:34 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id RAA25301
	for scwm-discuss-outgoing; Wed, 7 Jul 1999 17:22:34 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA25273
	for <scwm-discuss@serveuse.mit.edu>; Wed, 7 Jul 1999 17:22:26 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA28888; Wed, 7 Jul 1999 14:22:20 -0700 (PDT)
To: tapparo@mat.unimi.it
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: afterstep theme
References: <19990706232527.A12920@mizar> <19990707203127.A186@mizar>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Jul 1999 14:22:19 -0700
In-Reply-To: Francesco Tapparo's message of "Wed, 7 Jul 1999 20:31:27 +0200"
Message-ID: <qrriu7ww3xw.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Francesco Tapparo <cesco@ntt.it> writes:

> On Tue, Jul 06, 1999 at 11:25:27PM +0200, Francesco Tapparo wrote:
> > The afterstep theme in scwm-0.99.1 work only if the variable pic-xterm-mini
> > is defined. 
> 
> The exact same proble is present in the twm theme, too.

Yep, and in the gjb theme (my favorite!), too.  I've now fixed in them
all by including that pixmap in with the themes and loading the image
with load-theme-image.

Thanks!
Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jul  7 18:31:29 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id SAA25779
	for scwm-discuss-outgoing; Wed, 7 Jul 1999 18:31:29 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from raspberry.duff.org (danius@raspberry.duff.org [194.217.233.64])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA25776
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Wed, 7 Jul 1999 18:31:24 -0400
Received: from localhost (danius@localhost)
	by raspberry.duff.org (8.9.0/8.9.0) with SMTP id XAA02263;
	Wed, 7 Jul 1999 23:31:12 +0100
Date: Wed, 7 Jul 1999 23:31:12 +0100 (BST)
From: Danius Michaelides <danius@duff.org>
To: Greg Badros <gjb@cs.washington.edu>
cc: "Harvey J. Stein" <hjstein@bfr.co.il>, scwm-discuss@serveuse.mit.edu
Subject: Re: fvwm2 pager bug - pager dragging across desktops broken.
In-Reply-To: <qrraet8xw55.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.LNX.4.02.9907072218120.31084-100000@raspberry.duff.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

On 7 Jul 1999, Greg Badros wrote:

> hjstein@bfr.co.il (Harvey J. Stein) writes:
> 
> > With the fvwm2 pager, a middle mouse drag on the image of a window in
> > the pager moves the window.  This works moving windows within a
> > desktop, but is broken when trying to drag across desks.  The window
> > ends up in the correct relative position but doesn't change desks.
> 
> I just tried it and it did change desks for me, but then failed
> miserably and caused my FvwmPager to die.  I got:
> 
> X Error of failed request:  BadMatch (invalid parameter attributes)
>   Major opcode of failed request:  42 (X_SetInputFocus)
>   Serial number of failed request:  20866
>   Current serial number in output stream:  20879
> scwm: Error communicating with module: 
> (#<output: write pipe 15> 9227263 #<procedure ()> #<procedure ()> #t #<procedure ()> . "FvwmPager")error is: 
> (wrong-number-of-args #f "Wrong number of arguments to %s" (#<procedure ()>) #f);
>  terminating connection.
> 
> Thanks for noticing this...

Ok, this is likely to be because the fvwm peeps have obsoleted WindowsDesk
infavour of MoveToDesk (which is unimplemented, currently). I've added
the new command and made a minor change to Desk, which uses the same
argument logic as MoveToDesk (although currently only the common 2
argument form is implemented properly). Patch below.

I've noticed a bug, related to dragging windows >out< of FvwmPager
and onto the current viewport. If you have a window on another desk
and drag it out onto the current viewport, the window moves with the
mouse pointer (under an interactive-move), but when you let go, the
window disappears off screen, and always seems to get moved to
3450x3431.

I've also had similar Pager crashes as above, but havent been able to
isolate the problem.

Danius

--- fvwm-eval.scm.old	Wed Jul  7 21:47:47 1999
+++ fvwm-eval.scm	Wed Jul  7 22:48:12 1999
@@ -69,10 +69,17 @@
     ,str (lambda (args fmod window)
 	   ,@body)))
 
+(define (calc-desk-args args)
+;; arg1 [ arg2 ] [ min max ]
+;; arg1==0; desk=arg2
+;; arg1!=0; desk=+arg1
+;; need to deal with arg3 and arg4
+  (get-two-numeric-args args
+    (lambda (arg1 arg2)
+      (if (= arg1 0) arg2 (+ arg1 (current-desk))))))
+
 (define-fvwm-command "Desk"
-  (get-two-numeric-args
-   args (lambda (first second)
-	  (set-current-desk! second))))
+  (set-current-desk! (calc-desk-args args)))
 
 (define-fvwm-command "Focus"
   (if window
@@ -135,6 +142,11 @@
 (define-fvwm-command "WindowsDesk"
   (move-window-to-desk (get-one-numeric-arg args) window))
 
+;;; WindowsDesk is now obsoleted in favour of MoveToDesk
+;;; MoveToDesk arg1 [ arg2 ] [ min max ]
+(define-fvwm-command "MoveToDesk"
+  (move-window-to-desk (calc-desk-args args) window))
+
 (define-fvwm-command "KillMe"
   (display "Got KillMe! \n")
   ((list-ref 5 fmod)))
@@ -536,6 +548,7 @@
 ;;; Desk        Focus           RaiseLower      set_mask
 ;;; DesktopSize Iconify         Refresh         SetAnimation
 ;;; Destroy     Lower           RefreshWindow   Stick
+;;; MoveToDesk (7th July 1999)
 
 ;;; Implemented and Untested or broken:
 ;;; Current            IconFont        Next            Recapture


From owner-scwm-discuss@SERVEUSE.MIT.EDU  Wed Jul  7 18:41:40 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id SAA25908
	for scwm-discuss-outgoing; Wed, 7 Jul 1999 18:41:40 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA25905
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Wed, 7 Jul 1999 18:41:37 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA02905; Wed, 7 Jul 1999 15:41:30 -0700 (PDT)
To: Danius Michaelides <danius@duff.org>
Cc: "Harvey J. Stein" <hjstein@bfr.co.il>, scwm-discuss@serveuse.mit.edu
Subject: Re: fvwm2 pager bug - pager dragging across desktops broken.
References: <Pine.LNX.4.02.9907072218120.31084-100000@raspberry.duff.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Jul 1999 15:41:30 -0700
In-Reply-To: Danius Michaelides's message of "Wed, 7 Jul 1999 23:31:12 +0100 (BST)"
Message-ID: <qrr4sjgw09x.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Danius Michaelides <danius@duff.org> writes:

> I've noticed a bug, related to dragging windows >out< of FvwmPager
> and onto the current viewport. If you have a window on another desk
> and drag it out onto the current viewport, the window moves with the
> mouse pointer (under an interactive-move), but when you let go, the
> window disappears off screen, and always seems to get moved to
> 3450x3431.

Thanks-- I've applied you patch.

> I've also had similar Pager crashes as above, but havent been able to
> isolate the problem.

Please let me know if you do... I may not get to this for a while,
unfortunately.  

Thanks,
Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  8 12:27:30 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id MAA27734
	for scwm-discuss-outgoing; Thu, 8 Jul 1999 12:27:30 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA27731
	for <scwm-discuss@serveuse.mit.edu>; Thu, 8 Jul 1999 12:27:26 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA25342; Thu, 8 Jul 1999 09:27:22 -0700 (PDT)
To: scwm-discuss@serveuse.mit.edu
Subject: Announcing new web site...
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Jul 1999 09:27:22 -0700
Message-ID: <qrrd7y3t8d1.fsf@elwha.cs.washington.edu>
Lines: 6
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Perhaps we should announce scwm's new web site widely if this hasn't yet 
been done?  doc/dev/release-procedure contains some notes on places that 
we post to when we have a new version (that would be nice, too, of
course, but I'm a bit short on time for a little while).

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  8 12:42:47 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id MAA27836
	for scwm-discuss-outgoing; Thu, 8 Jul 1999 12:42:47 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from news.ntt.it (w2.ntt.it [194.73.95.85])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA27833
	for <scwm-discuss@serveuse.mit.edu>; Thu, 8 Jul 1999 12:42:42 -0400
Received: from mizar (r1p113.ntt.it [194.73.94.113]) by news.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id SAA28530; Thu, 8 Jul 1999 18:42:46 +0200 (DFT)
Received: by ntt.it
	via sendmail from stdin
	id <m112DIT-0008vQC@mizar> (Debian Smail3.2.0.102)
	for gjb@cs.washington.edu; Thu, 8 Jul 1999 14:29:01 +0200 (CEST) 
Date: Thu, 8 Jul 1999 14:29:01 +0200
From: Francesco Tapparo <cesco@ntt.it>
To: Greg Badros <gjb@cs.washington.edu>
Cc: tapparo@mat.unimi.it, scwm-discuss@serveuse.mit.edu
Subject: Re: afterstep theme
Message-ID: <19990708142901.A155@mizar>
Reply-To: tapparo@mat.unimi.it
Mail-Followup-To: Greg Badros <gjb@cs.washington.edu>, tapparo@mat.unimi.it,
	scwm-discuss@serveuse.mit.edu
References: <19990706232527.A12920@mizar> <19990707203127.A186@mizar> <qrriu7ww3xw.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <qrriu7ww3xw.fsf@elwha.cs.washington.edu>; from Greg Badros on Wed, Jul 07, 1999 at 02:22:19PM -0700
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

On Wed, Jul 07, 1999 at 02:22:19PM -0700, Greg Badros wrote:
> Francesco Tapparo <cesco@ntt.it> writes:
> 
> > On Tue, Jul 06, 1999 at 11:25:27PM +0200, Francesco Tapparo wrote:
> > > The afterstep theme in scwm-0.99.1 work only if the variable pic-xterm-mini
> > > is defined. 
> > 
> > The exact same proble is present in the twm theme, too.
> 
> Yep, and in the gjb theme (my favorite!), too.  I've now fixed in them
> all by including that pixmap in with the themes and loading the image
> with load-theme-image.

Perhaps I'm missing something, but I think your is not a fix. The problem
here is that *every* window is going to have an xterm pixmap. I was thinking
to remove the culprit line. But, again, my understanding of the theme
system is very low.

> 
> Thanks!
> Greg
> 

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  8 16:08:59 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id QAA28366
	for scwm-discuss-outgoing; Thu, 8 Jul 1999 16:08:59 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from news.ntt.it (w2.ntt.it [194.73.95.85])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA28363
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Thu, 8 Jul 1999 16:08:53 -0400
Received: from mizar (r1p019.ntt.it [194.73.94.19]) by news.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id WAA64454 for <scwm-discuss@SERVEUSE.MIT.EDU>; Thu, 8 Jul 1999 22:09:25 +0200 (DFT)
Received: by ntt.it
	via sendmail from stdin
	id <m112KOM-0008veC@mizar> (Debian Smail3.2.0.102)
	for scwm-discuss@SERVEUSE.MIT.EDU; Thu, 8 Jul 1999 22:03:34 +0200 (CEST) 
Date: Thu, 8 Jul 1999 22:03:34 +0200
From: Francesco Tapparo <cesco@ntt.it>
To: scwm-discuss@serveuse.mit.edu
Subject: scwm and documentation
Message-ID: <19990708220334.A408@mizar>
Reply-To: tapparo@mat.unimi.it
Mail-Followup-To: scwm-discuss@SERVEUSE.MIT.EDU
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Scwm put the documentation in /usr/share/scwm. I do'nt know about other
unixes, but in Linux this is not standard:

1) if you follow the old Linux Filesystem Standard, you must put the
   documentation in /usr/doc/scwm

2) if you follow the FHS you must put the documentation in
   /usr/share/doc/scwm.

So I created a patch to choose at configure time the documentation dirs: the
option --with-docdir=<path> let put the docs in the directory <path>. If no
option --with-docdir is given, the actual dir is chosen.
But I think would better if the default directory is /usr/doc/scwm.

Patch follows:

===================BEGIN of diff to configure.in==========================

--- configure.in.old	Thu Jul  8 15:01:53 1999
+++ configure.in	Thu Jul  8 15:17:39 1999
@@ -535,6 +535,19 @@
 scwm_moduledir=${scwm_bin_load_path}/app/scwm
 scwm_utildir=${libdir}/${PACKAGE}-util
 
+SCWM_ARG_PATH(docdir,
+[  --with-docdir=DIR      Install documentation files in DIR 
+                          [DATADIR/doc/PACKAGE]],
+[
+	AC_MSG_CHECKING(where documentation files should go)
+	docdir="${withval}"
+	AC_MSG_RESULT("${docdir}")
+],
+[
+	docdir="${datadir}/${PACKAGE}"
+])
+
+
 SCWM_ARG_PATH(scwmrcdir,
 [  --with-scwmrcdir=DIR    Install configuration files in DIR 
                           [LIBDIR/X11/scwm]],
@@ -594,6 +607,7 @@
 AC_SUBST(scwm_image_load_path)
 AC_SUBST(scwm_utildir)
 AC_SUBST(scwm_xpmdir)
+AC_SUBST(docdir)
 
 dnl # Check for optional settings #
 
===========================END of diff==================================

========================BEGIN of diff to doc/Makefile.am================
--- Makefile.am.old	Thu Jul  8 14:35:35 1999
+++ Makefile.am	Thu Jul  8 15:07:28 1999
@@ -3,9 +3,9 @@
 
 info_TEXINFOS=scwm.texi
 man_MANS=scwm.1 scwmexec.1 scwmrepl.1
-pkgdata_DATA=scwm-procedures.txt scwm-variables.txt scwm-hooks.txt scwm-concepts.txt scwm.sgml
+doc_DATA=scwm-procedures.txt scwm-variables.txt scwm-hooks.txt scwm-concepts.txt scwm.sgml
 EXTRA_DIST=scwm-faq scwm-intro-tutorial.scm session-management smproxy.patch \
-	theme-howto scwm.1 scwmexec.1 scwmrepl.1 $(pkgdata_DATA)
+	theme-howto scwm.1 scwmexec.1 scwmrepl.1 $(doc_DATA)
 
 # Use scwmdoc to build the documentation files
 # Set envvar $SCWMDOC_TEST_OPTIONS to  "-F" for a faster test

====================END of diff=================================




-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  8 16:17:56 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id QAA28437
	for scwm-discuss-outgoing; Thu, 8 Jul 1999 16:17:56 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA28434
	for <scwm-discuss@serveuse.mit.edu>; Thu, 8 Jul 1999 16:17:53 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA06615; Thu, 8 Jul 1999 13:17:46 -0700 (PDT)
To: tapparo@mat.unimi.it
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: scwm and documentation
References: <19990708220334.A408@mizar>
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Jul 1999 13:17:45 -0700
In-Reply-To: Francesco Tapparo's message of "Thu, 8 Jul 1999 22:03:34 +0200"
Message-ID: <qrroghmrj4m.fsf@elwha.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Francesco Tapparo <cesco@ntt.it> writes:

> Scwm put the documentation in /usr/share/scwm. I do'nt know about other
> unixes, but in Linux this is not standard:
> 
> 1) if you follow the old Linux Filesystem Standard, you must put the
>    documentation in /usr/doc/scwm
> 
> 2) if you follow the FHS you must put the documentation in
>    /usr/share/doc/scwm.
> 
> So I created a patch to choose at configure time the documentation dirs: the
> option --with-docdir=<path> let put the docs in the directory <path>. If no
> option --with-docdir is given, the actual dir is chosen.
> But I think would better if the default directory is /usr/doc/scwm.

Great-- thanks;  I'll make the default /usr/share/doc/scwm -- I use
multiple architectures in some places where /usr/share (actually
/uns/share, but that's a different story) is the same across the
platforms.  Docs are clearly largely platform independent.

Thanks! Will apply soon...

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  8 20:25:15 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id UAA28985
	for scwm-discuss-outgoing; Thu, 8 Jul 1999 20:25:15 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from 207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com (mstx@207-172-245-11.s265.tnt1.sbo.ma.dialup.rcn.com [207.172.245.11])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA28982
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Thu, 8 Jul 1999 20:25:06 -0400
Received: (from mstx@localhost)
	by 207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id QAA27085;
	Thu, 8 Jul 1999 16:54:02 -0400
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: Announcing new web site...
References: <qrrd7y3t8d1.fsf@elwha.cs.washington.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 08 Jul 1999 16:53:59 -0400
In-Reply-To: Greg Badros's message of "08 Jul 1999 09:27:22 -0700"
Message-ID: <m3908q982g.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com>
Lines: 21
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Perhaps we should announce scwm's new web site widely if this hasn't yet 
> been done?  doc/dev/release-procedure contains some notes on places that 
> we post to when we have a new version (that would be nice, too, of
> course, but I'm a bit short on time for a little while).

Yes, at minimum we should attempt to correct external
pointers. However, the scwm machine will be changing hostnames one
more time in the near future (to scwm.mit.edu) so I would like to wait
until after this weekend, at which point that should be done.

External pointers I can think of:

* guile site
* freshmeat.net
* x11.org

Any others of note?

 - Maciej

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Thu Jul  8 23:33:43 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id XAA29260
	for scwm-discuss-outgoing; Thu, 8 Jul 1999 23:33:43 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id XAA29257
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Thu, 8 Jul 1999 23:33:38 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id UAA27893; Thu, 8 Jul 1999 20:33:12 -0700 (PDT)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@serveuse.mit.edu
Subject: Re: Announcing new web site...
References: <qrrd7y3t8d1.fsf@elwha.cs.washington.edu> <m3908q982g.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Jul 1999 20:33:12 -0700
In-Reply-To: Maciej Stachowiak's message of "08 Jul 1999 16:53:59 -0400"
Message-ID: <qrrr9mipkef.fsf@elwha.cs.washington.edu>
Lines: 29
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > Perhaps we should announce scwm's new web site widely if this hasn't yet 
> > been done?  doc/dev/release-procedure contains some notes on places that 
> > we post to when we have a new version (that would be nice, too, of
> > course, but I'm a bit short on time for a little while).
> 
> Yes, at minimum we should attempt to correct external
> pointers. However, the scwm machine will be changing hostnames one
> more time in the near future (to scwm.mit.edu) so I would like to wait
> until after this weekend, at which point that should be done.

If possible, try to make serveuse.mit.edu be an alias or forward to
scwm.mit.edu. 

> External pointers I can think of:
> 
> * guile site
> * freshmeat.net
> * x11.org
> 
> Any others of note?

There are newsgroups that we post to, too, but they don't maintain a
pointer... 

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  9 10:17:09 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id KAA30605
	for scwm-discuss-outgoing; Fri, 9 Jul 1999 10:17:09 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from bouvreuil.cybercable.fr (bouvreuil.cybercable.fr [212.198.3.12])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id KAA30602
	for <scwm-discuss@serveuse.mit.edu>; Fri, 9 Jul 1999 10:17:04 -0400
Received: (qmail 7417 invoked from network); 9 Jul 1999 14:08:07 -0000
Received: from d126.paris-126.cybercable.fr (HELO ZhengHe) (@[212.198.126.126]) (envelope-sender <fare@tunes.org>)
          by bouvreuil.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <scwm-discuss@serveuse.mit.edu>; 9 Jul 1999 14:08:07 -0000
Received: from fare by ZhengHe with local (Exim 3.02 #1 (Debian))
	id 112bIA-00011g-00; Fri, 09 Jul 1999 16:06:18 +0200
Date: Fri, 9 Jul 1999 16:06:18 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Somehow CVS Won't Manage
Message-ID: <19990709160618.A3929@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Hum. I still can't access
	http://serveuse.mit.edu/anoncvs.html
Can anyone give me the right instructions to access CVS?
I'd like to get a more recent version that doesn't have
this huge memory leak.

Alternatively, can anyone give me a way for scwm to automatically restart
(which presumably also means moving to virtual screen 0,0),
say, based on a timer, before it eats up my whole virtual memory?

I keep forgetting about scwm (as I should), and after a few days,
it eats 117MB of swap (as it shouldn't), and my next
memory-intensive application (annoyingly, netscape, emacs, or the X server)
suddenly dies of a failed allocation!

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
Please leave the State in the toilets where you found it.

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  9 10:43:40 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id KAA30746
	for scwm-discuss-outgoing; Fri, 9 Jul 1999 10:43:40 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA30743
	for <scwm-discuss@serveuse.mit.edu>; Fri, 9 Jul 1999 10:43:36 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id HAA01011; Fri, 9 Jul 1999 07:43:31 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Somehow CVS Won't Manage
References: <19990709160618.A3929@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 09 Jul 1999 07:43:30 -0700
In-Reply-To: Francois-Rene Rideau's message of "Fri, 9 Jul 1999 16:06:18 +0200"
Message-ID: <qrrbtdlq3xp.fsf@elwha.cs.washington.edu>
Lines: 49
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> Hum. I still can't access
> 	http://serveuse.mit.edu/anoncvs.html

It's:

http://serveuse.mit.edu/scwm/anoncvs.html
                        ^^^^

Where did you get the URL that you asked for?

> Can anyone give me the right instructions to access CVS?
> I'd like to get a more recent version that doesn't have
> this huge memory leak.

Below is the text of the web page...

Greg


Anonymous CVS for Scwm

Anonymous CVS for scwm is available. This service is offered
provisionally and may go away if it ends up loading the machine too
much. To use anonymous CVS, you should obtain CVS if you do not already
have it, and check out from the anonymous mirror in the following
fashion:

cvs -d :pserver:anoncvs@serveuse.mit.edu:/anoncvs login 

(type `anoncvs' as the password at the `CVS password:' prompt) 

cvs -d :pserver:anoncvs@serveuse.mit.edu:/anoncvs co scwm 

You will now get a checked out scwm working directory. Certain
autogenerated files will not be present in the repository version.  Read
the HACKING file for a list of tools you will need to generate them. You
will need those files to be able to configure and build out of
CVS. configuring with --enable-maintainer-mode is strongly reccomended
so that if the master files get updated, the autogenerated ones will all
be rebuilt on a `make'.

To later update to the repository sources, you can do `cvs update' in
the checked-out scwm directory. Other CVS operations are beyond the
scope of these instructions.

The repository for anonymous access only updates from the master
repository only every half hour. This may change in the future.

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  9 11:09:42 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA30885
	for scwm-discuss-outgoing; Fri, 9 Jul 1999 11:09:42 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from bouvreuil.cybercable.fr (bouvreuil.cybercable.fr [212.198.3.12])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id LAA30882
	for <scwm-discuss@serveuse.mit.edu>; Fri, 9 Jul 1999 11:09:36 -0400
Received: (qmail 12595 invoked from network); 9 Jul 1999 15:00:57 -0000
Received: from d126.paris-126.cybercable.fr (HELO ZhengHe) (@[212.198.126.126]) (envelope-sender <fare@tunes.org>)
          by bouvreuil.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <gjb@cs.washington.edu>; 9 Jul 1999 15:00:57 -0000
Received: from fare by ZhengHe with local (Exim 3.02 #1 (Debian))
	id 112c7H-00019X-00; Fri, 09 Jul 1999 16:59:07 +0200
Date: Fri, 9 Jul 1999 16:59:07 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: Greg Badros <gjb@cs.washington.edu>
Cc: Francois-Rene Rideau <fare@tunes.org>,
        SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Somehow CVS Won't Manage
Message-ID: <19990709165907.A4421@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19990709160618.A3929@ZhengHe.augustin.thierry> <qrrbtdlq3xp.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrrbtdlq3xp.fsf@elwha.cs.washington.edu>; from Greg Badros on Fri, Jul 09, 1999 at 07:43:30AM -0700
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

> http://serveuse.mit.edu/scwm/anoncvs.html
>                         ^^^^
> 
> Where did you get the URL that you asked for?
>From http://serveuse.mit.edu/

Wouldn't it be a good idea to register a subdomain like
scwm.dhs.org or scwm.openprojects.net?
This will prevent the scwm address from moving too much
(as per the past) and in the latter case,
provide you with a sysop to manage administrative details for you...
[Of course, I'd give you out scwm.tunes.org,
but I'm sure you would prefer scwm.openprojects.net]

BTW, pleased to see an old post of mine on the page,
but maybe it would be time to update it? :-)

Regards,

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
A student who changes the course of history is probably taking an exam.

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  9 11:37:34 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id LAA31025
	for scwm-discuss-outgoing; Fri, 9 Jul 1999 11:37:34 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA31021
	for <scwm-discuss@serveuse.mit.edu>; Fri, 9 Jul 1999 11:37:29 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA03667; Fri, 9 Jul 1999 08:37:25 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Somehow CVS Won't Manage
References: <19990709160618.A3929@ZhengHe.augustin.thierry> <qrrbtdlq3xp.fsf@elwha.cs.washington.edu> <19990709165907.A4421@ZhengHe.augustin.thierry>
From: Greg Badros <badros@cs.washington.edu>
Date: 09 Jul 1999 08:37:24 -0700
In-Reply-To: Francois-Rene Rideau's message of "Fri, 9 Jul 1999 16:59:07 +0200"
Message-ID: <qrryagpomvf.fsf@elwha.cs.washington.edu>
Lines: 48
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> > http://serveuse.mit.edu/scwm/anoncvs.html
> >                         ^^^^
> > 
> > Where did you get the URL that you asked for?
> >From http://serveuse.mit.edu/

Wacky... I didn't realize there was a symlink in /home/httpd/html of
index.html -> scwm/index.html;  Maciej -- I think the parent index.html
should just have a link or an auto-transfer to serveuse.mit.edu/scwm,
and this link should disappear.  We want people to have to use:

http://serveuse.mit.edu/scwm/

(or the soon to be: http://scwm.mit.edu/scwm/)

> Wouldn't it be a good idea to register a subdomain like
> scwm.dhs.org or scwm.openprojects.net?

I think this would be great -- we're going to be switched over to
scwm.mit.edu, IIRC, according to Maciej.  I'd rather have something like 
www.scwm.org in case we at some point no longer have any affiliation
with mit.

> This will prevent the scwm address from moving too much
> (as per the past) and in the latter case,
> provide you with a sysop to manage administrative details for you...
> [Of course, I'd give you out scwm.tunes.org,
> but I'm sure you would prefer scwm.openprojects.net]

Can we get scwm.openprojects.net as an alias?  I've never registered a
domain name... anybody care to give me some pointers or suggestions
about what to do, who to ask, and what it could cost?

> BTW, pleased to see an old post of mine on the page,
> but maybe it would be time to update it? :-)

There are definitely still some very useful ideas in your post;  true
we've addressed some of the comments, but not everything.  It's meant to 
sortof be an idea farm -- that's why, e.g., the TODO list and other
files are linked to out of cvsweb as well.  They are updated a bit more
frequently, of course.  If you want to send a patch in to your post,
please do (and if you want it removed, we can certainly fold your
interesting ideas into various projects/todo lists).

Thanks,
Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  9 12:06:05 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id MAA31353
	for scwm-discuss-outgoing; Fri, 9 Jul 1999 12:06:05 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from bouvreuil.cybercable.fr (bouvreuil.cybercable.fr [212.198.3.12])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id MAA31346
	for <scwm-discuss@serveuse.mit.edu>; Fri, 9 Jul 1999 12:05:56 -0400
Received: (qmail 18391 invoked from network); 9 Jul 1999 15:50:40 -0000
Received: from d126.paris-126.cybercable.fr (HELO ZhengHe) (@[212.198.126.126]) (envelope-sender <fare@tunes.org>)
          by bouvreuil.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <badros@cs.washington.edu>; 9 Jul 1999 15:50:40 -0000
Received: from fare by ZhengHe with local (Exim 3.02 #1 (Debian))
	id 112ctN-00028q-00; Fri, 09 Jul 1999 17:48:49 +0200
Date: Fri, 9 Jul 1999 17:48:49 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: Greg Badros <badros@cs.washington.edu>
Cc: Francois-Rene Rideau <fare@tunes.org>,
        SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Stop Constant Webpage Move
Message-ID: <19990709174848.A7879@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19990709160618.A3929@ZhengHe.augustin.thierry> <qrrbtdlq3xp.fsf@elwha.cs.washington.edu> <19990709165907.A4421@ZhengHe.augustin.thierry> <qrryagpomvf.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrryagpomvf.fsf@elwha.cs.washington.edu>; from Greg Badros on Fri, Jul 09, 1999 at 08:37:24AM -0700
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

On Fri, Jul 09, 1999 at 08:37:24AM -0700, Greg Badros wrote:
> I think this would be great -- we're going to be switched over to
> scwm.mit.edu, IIRC, according to Maciej.

> I'd rather have something like www.scwm.org [...]
Easy. Costs $35/year (two years in advance), tho.

> Can we get scwm.openprojects.net as an alias?
Sure. You can even get free hosting for your project's servers.
See www.on.openprojects.net.

> There are definitely still some very useful ideas in your post;
Thanks :)

> true we've addressed some of the comments, but not everything.
Well, I'm not the one able to identify and remove obsolete comments.

> It's meant to sortof be an idea farm [...]
> If you want to send a patch in to your post,
> please do (and if you want it removed, we can certainly fold your
> interesting ideas into various projects/todo lists).
Folding would be good. Else I'll send a patch made by material
in my other posts to the list :)

BTW, how far is the GNOME integration?
What about using GNOMEish CORBA to reimplement scwmexec?
Would be way better than current hack.

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
As long as software is not free, we'll have hardware compatibility,
hence bad, expensive, hardware that has decades-long obsolete design
		-- Faré

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  9 12:22:07 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id MAA31654
	for scwm-discuss-outgoing; Fri, 9 Jul 1999 12:22:07 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA31651
	for <scwm-discuss@serveuse.mit.edu>; Fri, 9 Jul 1999 12:22:04 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA05866; Fri, 9 Jul 1999 09:22:00 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Stop Constant Webpage Move
References: <19990709160618.A3929@ZhengHe.augustin.thierry> <qrrbtdlq3xp.fsf@elwha.cs.washington.edu> <19990709165907.A4421@ZhengHe.augustin.thierry> <qrryagpomvf.fsf@elwha.cs.washington.edu> <19990709174848.A7879@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 09 Jul 1999 09:22:00 -0700
In-Reply-To: Francois-Rene Rideau's message of "Fri, 9 Jul 1999 17:48:49 +0200"
Message-ID: <qrru2rdokt3.fsf@elwha.cs.washington.edu>
Lines: 52
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> On Fri, Jul 09, 1999 at 08:37:24AM -0700, Greg Badros wrote:
> > I think this would be great -- we're going to be switched over to
> > scwm.mit.edu, IIRC, according to Maciej.
> 
> > I'd rather have something like www.scwm.org [...]
> Easy. Costs $35/year (two years in advance), tho.

Who's doing domain registrations these days?  Is there an online form to 
fill out?

> > Can we get scwm.openprojects.net as an alias?
> Sure. You can even get free hosting for your project's servers.
> See www.on.openprojects.net

Thanks for the pointer.

> > There are definitely still some very useful ideas in your post;
> Thanks :)
> 
> > true we've addressed some of the comments, but not everything.
> Well, I'm not the one able to identify and remove obsolete comments.
> > It's meant to sortof be an idea farm [...]
> > If you want to send a patch in to your post,
> > please do (and if you want it removed, we can certainly fold your
> > interesting ideas into various projects/todo lists).
> Folding would be good. Else I'll send a patch made by material
> in my other posts to the list :)

Ok, I'll try to fold it into TODO list and/or a project idea file when
time permits.

> BTW, how far is the GNOME integration?

Well, we do deal pretty reasonably with Gnome Panel-- several people on
this list use it.  I'm not sure what the other issues are, and am
waiting for my new office machine on which I'll install RedHat 6.x to play 
more with it.

> What about using GNOMEish CORBA to reimplement scwmexec?
> Would be way better than current hack.

I don't know much about Corba, but do now have a book on it that I'll be 
perusing a bit.  I'm definitely not in love with the low-level details
of the scwmexec protocol (but Maciej did a great job giving scwmexec
bi-directional life-- my total hack initial implementation was based on
gwmtalk and was only one way-- no response was sent back to the invoking 
process).  I'm willing to wait for the free corba stuff to get better
and get better documented, though.

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  9 18:03:46 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id SAA31993
	for scwm-discuss-outgoing; Fri, 9 Jul 1999 18:03:46 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from 207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com (mstx@207-172-245-11.s265.tnt1.sbo.ma.dialup.rcn.com [207.172.245.11])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA31987
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Fri, 9 Jul 1999 18:03:41 -0400
Received: (from mstx@localhost)
	by 207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id OAA22392;
	Fri, 9 Jul 1999 14:33:19 -0400
To: Greg Badros <gjb@cs.washington.edu>
Cc: Maciej Stachowiak <mstachow@alum.mit.edu>, scwm-discuss@serveuse.mit.edu
Subject: Re: Announcing new web site...
References: <qrrd7y3t8d1.fsf@elwha.cs.washington.edu> <m3908q982g.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com> <qrrr9mipkef.fsf@elwha.cs.washington.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 09 Jul 1999 14:33:17 -0400
In-Reply-To: Greg Badros's message of "08 Jul 1999 20:33:12 -0700"
Message-ID: <m3aet51xn6.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com>
Lines: 36
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> 
> > Greg Badros <gjb@cs.washington.edu> writes:
> > 
> > > Perhaps we should announce scwm's new web site widely if this hasn't yet 
> > > been done?  doc/dev/release-procedure contains some notes on places that 
> > > we post to when we have a new version (that would be nice, too, of
> > > course, but I'm a bit short on time for a little while).
> > 
> > Yes, at minimum we should attempt to correct external
> > pointers. However, the scwm machine will be changing hostnames one
> > more time in the near future (to scwm.mit.edu) so I would like to wait
> > until after this weekend, at which point that should be done.
> 
> If possible, try to make serveuse.mit.edu be an alias or forward to
> scwm.mit.edu. 

I'll try but I don't know if that will be possible for various boring
administrative reasons.

> > External pointers I can think of:
> > 
> > * guile site
> > * freshmeat.net
> > * x11.org
> > 
> > Any others of note?
> 
> There are newsgroups that we post to, too, but they don't maintain a
> pointer... 

Yes, I was thinking only of current web pointers.

 - Maciej

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  9 18:05:56 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id SAA32068
	for scwm-discuss-outgoing; Fri, 9 Jul 1999 18:05:56 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from 207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com (mstx@207-172-245-11.s265.tnt1.sbo.ma.dialup.rcn.com [207.172.245.11])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA32063
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Fri, 9 Jul 1999 18:05:44 -0400
Received: (from mstx@localhost)
	by 207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id OAA22411;
	Fri, 9 Jul 1999 14:35:19 -0400
To: Francois-Rene Rideau <fare@tunes.org>
Cc: Greg Badros <gjb@cs.washington.edu>,
        SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Somehow CVS Won't Manage
References: <19990709160618.A3929@ZhengHe.augustin.thierry> <qrrbtdlq3xp.fsf@elwha.cs.washington.edu> <19990709165907.A4421@ZhengHe.augustin.thierry>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 09 Jul 1999 14:35:17 -0400
In-Reply-To: Francois-Rene Rideau's message of "Fri, 9 Jul 1999 16:59:07 +0200"
Message-ID: <m3908p1xju.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com>
Lines: 25
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> > http://serveuse.mit.edu/scwm/anoncvs.html
> >                         ^^^^
> > 
> > Where did you get the URL that you asked for?
> From http://serveuse.mit.edu/
> 
> Wouldn't it be a good idea to register a subdomain like
> scwm.dhs.org or scwm.openprojects.net?
> This will prevent the scwm address from moving too much
> (as per the past) and in the latter case,
> provide you with a sysop to manage administrative details for you...
> [Of course, I'd give you out scwm.tunes.org,
> but I'm sure you would prefer scwm.openprojects.net]
> 
> BTW, pleased to see an old post of mine on the page,
> but maybe it would be time to update it? :-)
> 

Yes, acquiring a permanent domain name is definitely on my list of
things to do. Thanks for your suggestions of ways to go about that.

 - Maciej


From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  9 18:11:52 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id SAA32295
	for scwm-discuss-outgoing; Fri, 9 Jul 1999 18:11:52 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from 207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com (mstx@207-172-245-11.s265.tnt1.sbo.ma.dialup.rcn.com [207.172.245.11])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA32292
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Fri, 9 Jul 1999 18:11:47 -0400
Received: (from mstx@localhost)
	by 207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id OAA22631;
	Fri, 9 Jul 1999 14:41:24 -0400
To: Greg Badros <badros@cs.washington.edu>
Cc: Francois-Rene Rideau <fare@tunes.org>,
        SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Somehow CVS Won't Manage
References: <19990709160618.A3929@ZhengHe.augustin.thierry> <qrrbtdlq3xp.fsf@elwha.cs.washington.edu> <19990709165907.A4421@ZhengHe.augustin.thierry> <qrryagpomvf.fsf@elwha.cs.washington.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 09 Jul 1999 14:41:24 -0400
In-Reply-To: Greg Badros's message of "09 Jul 1999 08:37:24 -0700"
Message-ID: <m37lo91x9n.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com>
Lines: 59
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Greg Badros <badros@cs.washington.edu> writes:

> Francois-Rene Rideau <fare@tunes.org> writes:
> 
> > > http://serveuse.mit.edu/scwm/anoncvs.html
> > >                         ^^^^
> > > 
> > > Where did you get the URL that you asked for?
> > >From http://serveuse.mit.edu/
> 
> Wacky... I didn't realize there was a symlink in /home/httpd/html of
> index.html -> scwm/index.html;  Maciej -- I think the parent index.html
> should just have a link or an auto-transfer to serveuse.mit.edu/scwm,
> and this link should disappear.  We want people to have to use:
> 
> http://serveuse.mit.edu/scwm/
> 
> (or the soon to be: http://scwm.mit.edu/scwm/)
> 

I'd actually rather not force users to type scwm twice in the latter
case. That's why I tried to put absolute URLs in all the internal
links.

I think what I really want is to either set up the scwm directory as
the doc root or make the index.html at the top level do an HTTP
redirect, although I am not sure how to go about that.

> > Wouldn't it be a good idea to register a subdomain like
> > scwm.dhs.org or scwm.openprojects.net?
> 
> I think this would be great -- we're going to be switched over to
> scwm.mit.edu, IIRC, according to Maciej.  I'd rather have something like 
> www.scwm.org in case we at some point no longer have any affiliation
> with mit.

Yeah, but scwm.org is taken by the Safety Council of Western
Massachussets. Oddly enough. scwm.net isn't but that would require two
machines in different locations to act as nameservers. I'd be happy
 
> > This will prevent the scwm address from moving too much
> > (as per the past) and in the latter case,
> > provide you with a sysop to manage administrative details for you...
> > [Of course, I'd give you out scwm.tunes.org,
> > but I'm sure you would prefer scwm.openprojects.net]
> 
> Can we get scwm.openprojects.net as an alias?  I've never registered a
> domain name... anybody care to give me some pointers or suggestions
> about what to do, who to ask, and what it could cost?
> 

I'm not sure how one would go about getting an openprojects.net
subdomain, but I would like to know.

Getting a real .com/.net/.org domain requires paying someone
(typically NSI) some amount of money, and also providing two
nameservers.

 - Maciej

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  9 18:14:14 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id SAA32402
	for scwm-discuss-outgoing; Fri, 9 Jul 1999 18:14:14 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from teeny.molehill.org (qmailr@molehill.easystreet.com [209.162.216.44])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id SAA32397
	for <scwm-discuss@serveuse.mit.edu>; Fri, 9 Jul 1999 18:14:11 -0400
Received: (qmail 1556 invoked by uid 501); 9 Jul 1999 22:14:02 -0000
Date: Fri, 9 Jul 1999 15:14:02 -0700
From: Todd Larason <jtl@molehill.org>
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@serveuse.mit.edu
Subject: Re: Announcing new web site...
Message-ID: <19990709151402.A1368@molehill.org>
References: <qrrd7y3t8d1.fsf@elwha.cs.washington.edu> <m3908q982g.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com> <qrrr9mipkef.fsf@elwha.cs.washington.edu> <m3aet51xn6.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <m3aet51xn6.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com>; from Maciej Stachowiak on Fri, Jul 09, 1999 at 02:33:17PM -0400
X-Kibo: The word "Noom" is not nothing, I open a mental door!
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

http://www.PLiG.org/xwinman/others.html

On 09 July 99, Maciej Stachowiak wrote:
> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> > 
> > > Greg Badros <gjb@cs.washington.edu> writes:
> > > 
> > > > Perhaps we should announce scwm's new web site widely if this hasn't yet 
> > > > been done?  doc/dev/release-procedure contains some notes on places that 
> > > > we post to when we have a new version (that would be nice, too, of
> > > > course, but I'm a bit short on time for a little while).
> > > 
> > > Yes, at minimum we should attempt to correct external
> > > pointers. However, the scwm machine will be changing hostnames one
> > > more time in the near future (to scwm.mit.edu) so I would like to wait
> > > until after this weekend, at which point that should be done.
> > 
> > If possible, try to make serveuse.mit.edu be an alias or forward to
> > scwm.mit.edu. 
> 
> I'll try but I don't know if that will be possible for various boring
> administrative reasons.
> 
> > > External pointers I can think of:
> > > 
> > > * guile site
> > > * freshmeat.net
> > > * x11.org
> > > 
> > > Any others of note?
> > 
> > There are newsgroups that we post to, too, but they don't maintain a
> > pointer... 
> 
> Yes, I was thinking only of current web pointers.
> 
>  - Maciej

-- 
"Governments find it notoriously difficult to work with people that
they cannot shoot."  -- James A. Donald <jamesd@netcom.com>
UIN: 1426064

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  9 18:16:51 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id SAA32491
	for scwm-discuss-outgoing; Fri, 9 Jul 1999 18:16:51 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA32488
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Fri, 9 Jul 1999 18:16:47 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA25165; Fri, 9 Jul 1999 15:16:41 -0700 (PDT)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: Greg Badros <badros@cs.washington.edu>,
        Francois-Rene Rideau <fare@tunes.org>,
        SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Somehow CVS Won't Manage
References: <19990709160618.A3929@ZhengHe.augustin.thierry> <qrrbtdlq3xp.fsf@elwha.cs.washington.edu> <19990709165907.A4421@ZhengHe.augustin.thierry> <qrryagpomvf.fsf@elwha.cs.washington.edu> <m37lo91x9n.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 09 Jul 1999 15:16:41 -0700
In-Reply-To: Maciej Stachowiak's message of "09 Jul 1999 14:41:24 -0400"
Message-ID: <qrrhfndmpti.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> > Wacky... I didn't realize there was a symlink in /home/httpd/html of
> > index.html -> scwm/index.html;  Maciej -- I think the parent index.html
> > should just have a link or an auto-transfer to serveuse.mit.edu/scwm,
> > and this link should disappear.  We want people to have to use:
> > 
> > http://serveuse.mit.edu/scwm/
> > 
> > (or the soon to be: http://scwm.mit.edu/scwm/)
> > 
> 
> I'd actually rather not force users to type scwm twice in the latter
> case. That's why I tried to put absolute URLs in all the internal
> links.

absolute URLs are bad-- that makes mirroring a bitch.  

> I think what I really want is to either set up the scwm directory as
> the doc root or make the index.html at the top level do an HTTP
> redirect, although I am not sure how to go about that.

it's easy enough to do either -- if you want, make . a symlink to
scwm-web and just co scwm-web from /home/httpd/html.

Someone else know the web redirection magic incantation?

<snip of notes on registering a subdomain, etc.>

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  9 18:18:26 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id SAA32579
	for scwm-discuss-outgoing; Fri, 9 Jul 1999 18:18:26 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA32575
	for <scwm-discuss@serveuse.mit.edu>; Fri, 9 Jul 1999 18:18:23 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA25263; Fri, 9 Jul 1999 15:18:18 -0700 (PDT)
To: Todd Larason <jtl@molehill.org>
Cc: Maciej Stachowiak <mstachow@alum.mit.edu>, scwm-discuss@serveuse.mit.edu
Subject: Re: Announcing new web site...
References: <qrrd7y3t8d1.fsf@elwha.cs.washington.edu> <m3908q982g.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com> <qrrr9mipkef.fsf@elwha.cs.washington.edu> <m3aet51xn6.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com> <19990709151402.A1368@molehill.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 09 Jul 1999 15:18:18 -0700
In-Reply-To: Todd Larason's message of "Fri, 9 Jul 1999 15:14:02 -0700"
Message-ID: <qrremihmpqt.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Todd Larason <jtl@molehill.org> writes:

> http://www.PLiG.org/xwinman/others.html

Yep. This is listed in doc/dev/release-procedure along with:

http://s9412a.steinan.ntnu.no/~teg/linuxlist/linuxlist-Desktop_management.html
mailto: teg@pvv.ntnu.no

http://www.giccs.georgetown.edu/~ric/computing/software/x.html
mailto: ric@giccs.georgetown.edu

http://www.PLiG.org/xwinman/
mailto: matt@belgarath.demon.co.uk

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  9 18:19:05 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id SAA32636
	for scwm-discuss-outgoing; Fri, 9 Jul 1999 18:19:05 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from teeny.molehill.org (qmailr@molehill.easystreet.com [209.162.216.44])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with SMTP id SAA32630
	for <scwm-discuss@serveuse.mit.edu>; Fri, 9 Jul 1999 18:19:02 -0400
Received: (qmail 2009 invoked by uid 501); 9 Jul 1999 22:18:58 -0000
Date: Fri, 9 Jul 1999 15:18:58 -0700
From: Todd Larason <jtl@molehill.org>
To: Greg Badros <badros@cs.washington.edu>
Cc: Francois-Rene Rideau <fare@tunes.org>,
        SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Somehow CVS Won't Manage
Message-ID: <19990709151858.B1368@molehill.org>
References: <19990709160618.A3929@ZhengHe.augustin.thierry> <qrrbtdlq3xp.fsf@elwha.cs.washington.edu> <19990709165907.A4421@ZhengHe.augustin.thierry> <qrryagpomvf.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <qrryagpomvf.fsf@elwha.cs.washington.edu>; from Greg Badros on Fri, Jul 09, 1999 at 08:37:24AM -0700
X-Kibo: Why does Kibology be inspired by reality?
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

On 09 July 99, Greg Badros wrote:
> scwm.mit.edu, IIRC, according to Maciej.  I'd rather have something like 
> www.scwm.org in case we at some point no longer have any affiliation
> with mit.

scwm.org is taken.  scwm.net is available.

I can take care of the mechanics of registration and act as authoritative
servers if we want.  

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  9 18:21:23 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id SAA32732
	for scwm-discuss-outgoing; Fri, 9 Jul 1999 18:21:23 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from 207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com (mstx@207-172-245-11.s265.tnt1.sbo.ma.dialup.rcn.com [207.172.245.11])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA32729
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Fri, 9 Jul 1999 18:21:19 -0400
Received: (from mstx@localhost)
	by 207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id OAA22853;
	Fri, 9 Jul 1999 14:50:59 -0400
To: Greg Badros <gjb@cs.washington.edu>
Cc: Francois-Rene Rideau <fare@tunes.org>,
        SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Stop Constant Webpage Move
References: <19990709160618.A3929@ZhengHe.augustin.thierry> <qrrbtdlq3xp.fsf@elwha.cs.washington.edu> <19990709165907.A4421@ZhengHe.augustin.thierry> <qrryagpomvf.fsf@elwha.cs.washington.edu> <19990709174848.A7879@ZhengHe.augustin.thierry> <qrru2rdokt3.fsf@elwha.cs.washington.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 09 Jul 1999 14:50:58 -0400
In-Reply-To: Greg Badros's message of "09 Jul 1999 09:22:00 -0700"
Message-ID: <m3673t1wtp.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com>
Lines: 59
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Francois-Rene Rideau <fare@tunes.org> writes:
> 
> > BTW, how far is the GNOME integration?
> 
> Well, we do deal pretty reasonably with Gnome Panel-- several people on
> this list use it.  I'm not sure what the other issues are, and am
> waiting for my new office machine on which I'll install RedHat 6.x to play 
> more with it.

I think we need to clean up a few details and add support for a few
recent features, but iit mostly works. Also, from glancing over my
gnome mailing list folders it seems they are working on a new WM
standard (which may end up being the unified GNOME/KDE standard).

Have any scwm folks been keeping abreast of that? I've been focusing
on getting the infrastructure back before attempting to deal with
anything like a standards commitee.
 
> > What about using GNOMEish CORBA to reimplement scwmexec?
> > Would be way better than current hack.
> 
> I don't know much about Corba, but do now have a book on it that I'll be 
> perusing a bit.  I'm definitely not in love with the low-level details
> of the scwmexec protocol (but Maciej did a great job giving scwmexec
> bi-directional life-- my total hack initial implementation was based on
> gwmtalk and was only one way-- no response was sent back to the invoking 
> process).  I'm willing to wait for the free corba stuff to get better
> and get better documented, though.

The current support is kind of a hack, but it is a very lightweight
hack which does it's job well. I don't think that is true of CORBA;
even the ultra light ORBs are failry resource intensive.

Exporting stuff through CORBA could be looked at in one of two ways:

1) Provide a ScwmExec service which works much like the current one,
i.e. you pass in a string to eval and get back the return value,
output, and possible error. I don't see how this would be a great
benefit over what we have now, possibly modulo ease of integration
with other desktop environment stuff. I believe Havoc Penington has
actually written a generic "guile server" thing for Gnome which does
something along the lines of scwmexec, but generically and using CORBA
as the transport layer.

2) Provide an actual API with different calls corresponding to Scwm
operations. This would have to be a _lot_ more heavyweight than the
current protocol, and figuring out things like how to do callbacks
through CORBA would be pretty tricky.


The interesting thing is, if someone implemented Guile support for
ORBit or some other free ORB, it would be simple enough to write a
Scwm module to implement either of these. #1 could proobably already
be implemented as a loadable C module, if you picked an ORB to do it
with.

 - Maciej

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  9 18:44:53 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id SAA00272
	for scwm-discuss-outgoing; Fri, 9 Jul 1999 18:44:53 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA00269
	for <scwm-discuss@SERVEUSE.MIT.EDU>; Fri, 9 Jul 1999 18:44:48 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA26706; Fri, 9 Jul 1999 15:44:42 -0700 (PDT)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Re: Stop Constant Webpage Move
References: <19990709160618.A3929@ZhengHe.augustin.thierry> <qrrbtdlq3xp.fsf@elwha.cs.washington.edu> <19990709165907.A4421@ZhengHe.augustin.thierry> <qrryagpomvf.fsf@elwha.cs.washington.edu> <19990709174848.A7879@ZhengHe.augustin.thierry> <qrru2rdokt3.fsf@elwha.cs.washington.edu> <m3673t1wtp.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 09 Jul 1999 15:44:42 -0700
In-Reply-To: Maciej Stachowiak's message of "09 Jul 1999 14:50:58 -0400"
Message-ID: <qrraet5moit.fsf@elwha.cs.washington.edu>
Lines: 95
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > Francois-Rene Rideau <fare@tunes.org> writes:
> > 
> > > BTW, how far is the GNOME integration?
> > 
> > Well, we do deal pretty reasonably with Gnome Panel-- several people on
> > this list use it.  I'm not sure what the other issues are, and am
> > waiting for my new office machine on which I'll install RedHat 6.x to play 
> > more with it.
> 
> I think we need to clean up a few details and add support for a few
> recent features, but iit mostly works. Also, from glancing over my
> gnome mailing list folders it seems they are working on a new WM
> standard (which may end up being the unified GNOME/KDE standard).
> 
> Have any scwm folks been keeping abreast of that? I've been focusing
> on getting the infrastructure back before attempting to deal with
> anything like a standards commitee.

Yes;  the archives at:

http://www.gnome.org/mailing-lists/archives/wm-spec-list

are incomplete unfortunately, including missing my biggish post where I
explain why almost everyone on the list is going down the wrong path.  I 
think they're slowly coming around to my way of seeing things... I
committed my email to the list in doc/wm-hints-thoughts.

> > > What about using GNOMEish CORBA to reimplement scwmexec?
> > > Would be way better than current hack.
> > 
> > I don't know much about Corba, but do now have a book on it that I'll be 
> > perusing a bit.  I'm definitely not in love with the low-level details
> > of the scwmexec protocol (but Maciej did a great job giving scwmexec
> > bi-directional life-- my total hack initial implementation was based on
> > gwmtalk and was only one way-- no response was sent back to the invoking 
> > process).  I'm willing to wait for the free corba stuff to get better
> > and get better documented, though.
> 
> The current support is kind of a hack, but it is a very lightweight
> hack which does it's job well. I don't think that is true of CORBA;
> even the ultra light ORBs are failry resource intensive.

There are bugs in it still;  I've not tracked them down, but when I had
my shells call scwmexec at every prompt (to turn on and off flashing of
XTerms that just ran a program with a non-zero exit status), Scwm got
confused after a while because of something broken in Scwmexec.  I've
since gotten a patch to XTerm accepted by Thomas Dickey -- see the
latest source at:

http://www.clark.net/pub/dickey/xterm/xterm.html

It's incredibly useful to have a window frame start blinking when, e.g., 
a make fails. (It blinks in the FvwmPager, too!)

> Exporting stuff through CORBA could be looked at in one of two ways:
> 
> 1) Provide a ScwmExec service which works much like the current one,
> i.e. you pass in a string to eval and get back the return value,
> output, and possible error. I don't see how this would be a great
> benefit over what we have now, possibly modulo ease of integration
> with other desktop environment stuff. I believe Havoc Penington has
> actually written a generic "guile server" thing for Gnome which does
> something along the lines of scwmexec, but generically and using CORBA
> as the transport layer.
> 
> 2) Provide an actual API with different calls corresponding to Scwm
> operations. This would have to be a _lot_ more heavyweight than the
> current protocol, and figuring out things like how to do callbacks
> through CORBA would be pretty tricky.

This is one of the things that I'm encouraging the wm-spec list to think 
about for the applets that want better control over window management.
We define a Corba interface that a gnome-compliant wm must implement. 

> The interesting thing is, if someone implemented Guile support for
> ORBit or some other free ORB, it would be simple enough to write a
> Scwm module to implement either of these. #1 could proobably already
> be implemented as a loadable C module, if you picked an ORB to do it
> with.

Exactly -- that why it'd be so great for Scwm;  piece of cake once the
wrapper is done.  Probably more of a pain for other WMs, but I'm
convinced it's the right way to do that.

Note, though, that I think the other big piece the wm-hints group needs 
to address is semantics-based per-window hints to the wm-- e.g.,
WM_TRANSIENT_FOR is nice, but doesn't give enough information about what 
the window's use is, so I suggested having a WM_RIPOFF_FOR for the
ripoff toolbars of GNOME apps.

Greg

From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  9 18:51:08 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id SAA00553
	for scwm-discuss-outgoing; Fri, 9 Jul 1999 18:51:08 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA00545
	for <scwm-discuss@serveuse.mit.edu>; Fri, 9 Jul 1999 18:51:03 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA27050; Fri, 9 Jul 1999 15:50:58 -0700 (PDT)
To: scwm-discuss@serveuse.mit.edu
Subject: NEWS file
From: Greg Badros <gjb@cs.washington.edu>
Date: 09 Jul 1999 15:50:58 -0700
Message-ID: <qrr7lo9mo8d.fsf@elwha.cs.washington.edu>
Lines: 234
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk

I encourage everyone to look over the NEWS file to see all the fancy
features that have been added over the last 6 months since scwm-0.9.
We'll be aiming to get a scwm-0.99.1 release out Real Soon Now.

Here's the NEWS file's entry for post scwm-0.9.  It's available right
out of the repository via cvsweb as:

http://serveuse.mit.edu/cgi-bin/cvsweb.new/~checkout~/NEWS

Greg

Changes for scwm-0.99.1 (not yet released)

* Lots of documentation improvements, revamp of Scwm web page, many,
many bug-fixes (compiles warning free with virtually all warnings turned
on!), lots of code cleanup (especially primitive argument validation),
numerous scwmdoc script fixes and improvements.

* Much more consistent argument checking and converting; substantial code simplification, too.

* GUI-configurable options support via new define-scwm-option
** Requires guile-gtk-0.15 or better, gtk+-1.2.x

* GTk+ windows are not allowed to have destroy action applied by Scwm
** Requires guile-gtk-0.16's `gdk-get-leader-window-id' primitive

* Constraints
** Much, much improved user-interface
*** toolbar for adding constraints
*** constraint menu, and gtk constraint menu for manipulating existing constraints
** more accessible via (use-modules (app scwm constraints))
** Requires Cassowary-0.42 or better

* KWM Support
** `kwm-emulation-initialize', `kwm-emulation-reset', `kwm-send-window-list'

* GNOME Support
** See (app scwm gnome-hints)

* Alpha version of fvwm2rc-to-scwmrc converter
** utilities/converters/fvwm2rc-to-scwmrc
** handles /etc/X11/system.fvwm2rc

* X11 Cursors are now wrapped as SMOBs
** various global variables used for cursors for window decorations
** pixmap cursors can be created with `create-pixmap-cursor'
** New primitive `set-window-cursor!' for attaching a cursor to an arbitrary window

* Introduce syntax `use-scwm-modules' to reduce redundancy in module names
  and handle errors in one module more gracefully (rather than ignoring
  all the modules in the given list)

* IMLib support as a configure-time option (to-replace libXpm, ultimately)
** use imlib_config binary (comes with imlib) to control options
** `clone-scaled-image' for resizing images.
** `window->image' for grabbing a window's contents as an image

* ESD Sound support module
** sound-load, sound-play primitives (among others)

* libPropList integration support module
** many many `proplist-*' primitives

* Themes, Theme Menus (app scwm themes) (app scwm std-menus)
** Various themes in new themes directory
** `theme-names'
** `menu-window-theme', `menu-global-theme', #:use-theme window style option

* Snap attraction (app scwm snap)
** `snap-initialize', `snap-reset'

* Various improvements to scwm.el Emacs mode
** Display long responses in own window, sized appropriately
** uncommenting evaluation
** scheme-mode compatibility bindings
** scwm-load-file command

* message-window objects now support a background image and explicit sizing
** `message-window-set-image!', `message-window-image'
** `message-window-set-size!', `message-window-size'

* ICCCM Group support (app scwm group)
** `group->windows', `interactive-move-group', `lower-group', `raise-group'
** `move-group', `move-group-to-desk', `move-group-relative'

* New window style options
** #:squashed-titlebar, #:no-side-decorations, #:use-theme (see Themes, above)
** better drawing of squashed-titlebars

* New menu style options
** #:hover-delay, #:popup-delay (in ms)

* Better xclients script support
** `run-dot-xclients-at-startup'

* Added menuitem option #:submenu (like #:action) that forces an item to 
be interpreted as a menu item; e.g., lambdas can be used here, they
will be evaluated and then the result is expected to be a menu --
permits very dynamic menus.

* Changed printable format for menu-item objects.

* Added #:by-resource window-list menu option for more intelligent
splitting of really long window-list menus

* Menuitems can have fg/bg colors and fonts set separately
** `set-menuitem-colors!', `set-menuitem-font!' setters
** `menuitem-colors', `menuitem-font' getters
** `menuitem?'

* Added support for handling Scwm events w/o returning to the main loop
** `handle-pending-events'

* The highlighted menu item gets its own color-scheme.
** `set-menu-highlight-colors!', `set-menu-highlight-relief!' setters
** `menu-highlight-colors', `menu-highlight-relief?' getters


* Added 'frame-corners and 'frame-sides as the supported names for
binding contexts, and deprecate 'corners and 'borders as names for them.

* Session management changes.  Added `SM-register' to register with the SM;
deprecated `SM-client-id'.

* Simple xlib drawing support w/o gtk
** `xlib-draw-arc', `xlib-draw-line!', `xlib-draw-rectangle!', etc.

* Better handling of color allocation failures
** return a closely-matching color or the black color when called by internal functions, instead of returning #f which ultimately would cause an error soewhere

* More robust signal handling
** SIGINT now resets to the main loop (in addition to SIGHUP)
** SIGSEGV resets to the main loop by default to try to avoid crashing.
** use sigsetjmp, siglongjmp to maintain the behaviour.
** `set-handle-segv!' for turning on/off handling of segmentation violations
** `set-reset-on-segv!', `reset-on-segv' to set/read the # of remaining segvs
    that will reset to the main loop

* Window property support for dynamic behaviour of windows through window-properties
** `set-window-property!', `window-property'

* Change resize-window's message window to use client units

* New command line options
** --no-backtrace [-n]
** --segv-cleanup-and-stop [-p]
** --segv-just-stop [-P]  (also `set-handle-segv!')

* Misc. new primitives not discussed above
** `get-key-event' returns the next arbitrary key w/ modifiers that the user hits
** `lookup-key' returns the procedures bound to a specific key
** `lookup-mouse' returns the procedures bound to a specific mouse event
** `window-valid?' for testing if a window object still is valid.
** `id->message-window' -- convert from a window id to a message window object
** `send-client-message'
** `icon-size'
** `force-reset-window-frame!' -- force redraw of frame
** `select-viewport-position' (returns pointer position and selected window)
** `bind-keycode' -- lower level interface to binding keys, allows release procs
** `keymask-keycode->string', `keysym->keycode', `mod-mask-control', `mod-mask-shift', `mod-mask-hyper', `mod-mask-super'
** `animated-resize-window', `animated-resize-frame'
** `force_segv_for_testing', `set-reset-on-segv!', `set-handles-segv!'
** `scwm-last-timestamp'
** `set-menu-colors!', `set-menu-font!', `set-menu-side-picture!',
** `set-menu-background-picture!', `set-menu-extra-options!'
** `image-size' for easier access to special case of `image-properties'
** `any-id->win'

* Removed primitives
** dangerous and unnecessary `wait-for-window' procedure
** `select-window' is now a proc in base.scm (replaced with `select-viewport-position'

* Misc. changed primitives
** `bind-mouse' now takes a 4th argument IMMEDIATE-PROC which gets executed right away on first click, and may disable execution of the more general PROC (3rd arg)
** `make-color' returns the closest color (instead of #f) when alloc color fails
   (only for 8 bit and lower displays now)
** `get-window' and `select-window' have the kill? argument now a cursor object
   and the order of arguments has been rearranged
** `bind-keycode' allow release procs like new `bind-keycode'
** `hilite' and `hilight' in primitives is now spelled correctly as `highlight'
** `menulook?' is now spelled menu-look? for consistency
** `set-menu-menu-look!' is now set-menu-look!
** `set-menu-menu-title!' is now set-menu-title!
** `select-viewport-position!' now takes a cursor object as third argument; also affects `select-window-interactively', `get-window'
** `send-client-message' now takes a rest argument with up to four long integers, instead of just one

* Misc. new procedures
** `fold-menu-list-by-group', `rename-window-interactively'
** `netscape-goto-url'
** `output-of-system-command', `read-until-eof', `chop-newline'
** `animated-iconify', `animated-deiconify', `animated-toggle-iconify'
** `delete-multiple-windows-interactively'
** `bind-two-modifier-key-events', `bind-three-modifier-key-events'
** `current-viewport-offset-xx', `current-viewport-offset-yy'
** `intersection-area', `rectangle-overlap'
** `window-center-top', `window-center-bottom', etc.
** `flash-window', `unflash-window', `stop-flashing-window'

* New hooks
** `window-enter-hook', `window-leave-hook'
** `select-window-enter-hook', `select-window-leave-hook'
** `edge-enter-hook', `edge-leave-hook', `edge-scroll-hook'
** `window-property-change-hook'
** `desk-size-change-hook', `viewport-position-change-hook'
** `close-window-hook'
** `X-MapRequest-hook'

* New scheme modules
** window-configuration.scm: support for saving and restoring layout properties of windows
** undo.scm: Heavyweight undo support built on saving global configurations
** ui-constraints-gtk-toggle-menu: Persistent constraints menu support
** xprop-extras.scm: Procs moved from flux.
** window-selection.scm: Permit marking windows and then operating on them as a group
** ScwmButtons.scm: button-bar (toolbar) support, including auto-orienting at screen edges (Thanks Glenn Trigg!)
** group.scm: Window group support (both from window hints and the selected-window list)
** gnome-hints.scm: Support GNOME hints
** kde-hints.scm: Support KDE hints
** animated-iconify.scm: Support for (de)iconification animations
** hover-focus.scm: Add delayed mouse-focus when pointer stays in window for a while
** menus-extras.scm: Extra functionality for menus, moved out from base.scm
** snap.scm: Snap attraction when moving windows
** prompt-bool, prompt-string, prompt-font, prompt-color, prompt-range, prompt-proc:
   Prompting gtk hboxes for various types
** defoption.scm, preferences.scm: GUI configuration support
** primopts.scm: Define options managing properties controlled by primitive procs.
** ScwmBiff.scm, simplebiff.scm: mail notification (and general file-watching) support
** time-convert.scm: Time unit conversions (Moved procs from flux.scm)
** stringops.scm: General string functionality (moved procs from flux.scm)
** send-string.scm: Synthetic event support
** netscape.scm: Netscape communication support
** ScwmClock.scm: Simple clock using Gtk
** edge-ops.scm: Support actions at edges of viewport
** rgb-database.scm: Read X11 colors from /etc/X11/rgb.txt using `rgb-colors' procedure


From owner-scwm-discuss@SERVEUSE.MIT.EDU  Fri Jul  9 23:42:45 1999
Received: (from mjrdmo@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id XAA01042
	for scwm-discuss-outgoing; Fri, 9 Jul 1999 23:42:45 -0400
X-Authentication-Warning: SERVEUSE.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@serveuse.mit.edu using -f
Received: (from root@localhost)
	by SERVEUSE.MIT.EDU (8.8.7/8.8.7) id XAA01023;
	Fri, 9 Jul 1999 23:40:33 -0400
Date: Fri, 9 Jul 1999 23:40:33 -0400
From: root <root@serveuse.mit.edu>
Message-Id: <199907100340.XAA01023@SERVEUSE.MIT.EDU>
To: scwm-announce@serveuse.mit.edu, scwm-discuss@serveuse.mit.edu
Subject: Serveuse going down for move
Sender: owner-scwm-discuss@serveuse.mit.edu
Precedence: bulk


Serveuse is moving to a new network port. It will go down in 5-10 minutes
(sorry about the short notice). I will send mail when it is back.

From owner-scwm-discuss@JETBABY.MIT.EDU  Sat Jul 10 03:40:04 1999
Received: (from mjrdmo@localhost)
	by JETBABY.MIT.EDU (8.8.7/8.8.7) id DAA01006
	for scwm-discuss-outgoing; Sat, 10 Jul 1999 03:40:04 -0400
X-Authentication-Warning: JETBABY.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from 207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com (mstx@207-172-245-111.s365.tnt1.sbo.ma.dialup.rcn.com [207.172.245.111])
	by JETBABY.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA01003;
	Sat, 10 Jul 1999 03:39:57 -0400
Received: (from mstx@localhost)
	by 207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id AAA02045;
	Sat, 10 Jul 1999 00:09:47 -0400
To: scwm-discuss@jetbaby.mit.edu, scwm-announc@jetbaby.mit.edu
Subject: hostname of the month club almost over
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 10 Jul 1999 00:09:45 -0400
Message-ID: <m3iu7tkuwm.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com>
Lines: 20
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@jetbaby.mit.edu
Precedence: bulk


Hi,

The machine has been moved to a new quasi-permanent home on the
net. The hostname is, at the moment, jetbaby.mit.edu although the
hostname should update to scwm.mit.edu the next time the DNS tables
update, which should be no later than monday. Sorry about all this
bouncing around, but the machine can definitely stay where it is now
for a while.

I will be investingating getting a domain name through
on.openprojects.net. If they are willing and able to host nameservers
I can easily shell out for scwm.net myself. It may also be useful to
take advantage of their web and ftp service offers, though I'd rather
keep CVS where it is so it can be seurely accessible via ssh.

I will also look into linuxcare's similar offer, though I have not
found any info about it on the web.

 - Maciej

From owner-scwm-discuss@JETBABY.MIT.EDU  Sat Jul 10 03:42:02 1999
Received: (from mjrdmo@localhost)
	by JETBABY.MIT.EDU (8.8.7/8.8.7) id DAA01049
	for scwm-discuss-outgoing; Sat, 10 Jul 1999 03:42:02 -0400
X-Authentication-Warning: JETBABY.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from 207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com (mstx@207-172-245-111.s365.tnt1.sbo.ma.dialup.rcn.com [207.172.245.111])
	by JETBABY.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA01045
	for <scwm-discuss@jetbaby.MIT.EDU>; Sat, 10 Jul 1999 03:41:58 -0400
Received: (from mstx@localhost)
	by 207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id AAA02050;
	Sat, 10 Jul 1999 00:11:46 -0400
To: Greg Badros <gjb@cs.washington.edu>
Cc: Maciej Stachowiak <mstachow@alum.mit.edu>,
        Greg Badros <badros@cs.washington.edu>,
        Francois-Rene Rideau <fare@tunes.org>,
        SCWM Discussion <scwm-discuss@jetbaby.mit.edu>
Subject: Re: Somehow CVS Won't Manage
References: <19990709160618.A3929@ZhengHe.augustin.thierry> <qrrbtdlq3xp.fsf@elwha.cs.washington.edu> <19990709165907.A4421@ZhengHe.augustin.thierry> <qrryagpomvf.fsf@elwha.cs.washington.edu> <m37lo91x9n.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com> <qrrhfndmpti.fsf@elwha.cs.washington.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 10 Jul 1999 00:11:45 -0400
In-Reply-To: Greg Badros's message of "09 Jul 1999 15:16:41 -0700"
Message-ID: <m3hfndkuta.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com>
Lines: 28
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@jetbaby.mit.edu
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> 
> > > Wacky... I didn't realize there was a symlink in /home/httpd/html of
> > > index.html -> scwm/index.html;  Maciej -- I think the parent index.html
> > > should just have a link or an auto-transfer to serveuse.mit.edu/scwm,
> > > and this link should disappear.  We want people to have to use:
> > > 
> > > http://serveuse.mit.edu/scwm/
> > > 
> > > (or the soon to be: http://scwm.mit.edu/scwm/)
> > > 
> > 
> > I'd actually rather not force users to type scwm twice in the latter
> > case. That's why I tried to put absolute URLs in all the internal
> > links.
> 
> absolute URLs are bad-- that makes mirroring a bitch.  

Yes, I realize this is a problem. It is also harder to maintain, and
it sucks in the unfortunate case that you need to move the machine, as
I recently discovered. I will curl up with some apache docs and
investigate better solutions.

 - Maciej

 

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 12 21:26:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA00602
	for scwm-discuss-outgoing; Mon, 12 Jul 1999 21:26:32 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost.localdomain (root@216-164-247-9.s9.tnt3.sbo.ma.dialup.rcn.com [216.164.247.9])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA00599
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 12 Jul 1999 21:26:23 -0400
Received: (from mstx@localhost)
	by 207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id AAA02056;
	Sat, 10 Jul 1999 00:14:42 -0400
To: Todd Larason <jtl@molehill.org>
Cc: Greg Badros <badros@cs.washington.edu>,
        Francois-Rene Rideau <fare@tunes.org>,
        SCWM Discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: Somehow CVS Won't Manage
References: <19990709160618.A3929@ZhengHe.augustin.thierry> <qrrbtdlq3xp.fsf@elwha.cs.washington.edu> <19990709165907.A4421@ZhengHe.augustin.thierry> <qrryagpomvf.fsf@elwha.cs.washington.edu> <19990709151858.B1368@molehill.org>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 10 Jul 1999 00:14:42 -0400
In-Reply-To: Todd Larason's message of "Fri, 9 Jul 1999 15:18:58 -0700"
Message-ID: <m3g12xkuod.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com>
Lines: 21
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Todd Larason <jtl@molehill.org> writes:

> On 09 July 99, Greg Badros wrote:
> > scwm.mit.edu, IIRC, according to Maciej.  I'd rather have something like 
> > www.scwm.org in case we at some point no longer have any affiliation
> > with mit.
> 
> scwm.org is taken.  scwm.net is available.
> 
> I can take care of the mechanics of registration and act as authoritative
> servers if we want.  

If you can provide authoritative servers, that would totally rock. I
can handle things on the financial and dealing with NSI end if you can
provide me with relevant info to feed to them.

Let's take further discussion offline since I doubt the rest of the
list is interested in the mechanics.

 - Maciej


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 12 21:45:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA00889
	for scwm-discuss-outgoing; Mon, 12 Jul 1999 21:45:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA00885
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 12 Jul 1999 21:45:38 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA20480; Sat, 10 Jul 1999 16:57:01 -0700 (PDT)
To: Jim Blandy <jimb@red-bean.com>
Cc: guile@cygnus.com, scwm-discuss@serveuse.mit.edu, scwm-discuss@SCWM.MIT.EDU
Subject: Re: [the viability of translators, and Guile itself]
References: <19990707233404.18178.qmail@.netaddress.usa.net> <m3g12wm6tb.fsf@savonarola.red-bean.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 10 Jul 1999 16:57:00 -0700
In-Reply-To: Jim Blandy's message of "10 Jul 1999 18:19:28 -0500"
Message-ID: <qrrpv20jbxv.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jim Blandy <jimb@red-bean.com> writes:

> If you've got a scheme tutorial, send it along, by all means.
> (It'll need to be GPL'd...)

I have scheme lecture notes from the undergrad programming languages
course I'm teaching this summer.  I think the notes are useful, and my
class did well with Scheme so I'm hopeful that they're a reasonable
introduction.  Comments are most definitely welcome and appreciated.
See:

http://www.cs.washington.edu/education/courses/341/CurrentQtr/lectures/scheme/

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 12 22:06:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA01018
	for scwm-discuss-outgoing; Mon, 12 Jul 1999 22:06:02 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from 207-172-97-230.s484.tnt2.sbo.ma.dialup.rcn.com (mstx@216-164-247-9.s9.tnt3.sbo.ma.dialup.rcn.com [216.164.247.9])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA01013
	for <scwm-discuss@scwm.mit.edu>; Mon, 12 Jul 1999 22:05:50 -0400
Received: (from mstx@localhost)
	by 207-172-97-230.s484.tnt2.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id SAA08283;
	Mon, 12 Jul 1999 18:36:04 -0400
To: scwm-discuss@scwm.mit.edu
Subject: scwm.mit.edu exists, memory leak
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 12 Jul 1999 18:36:02 -0400
Message-ID: <m3iu7pqywd.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com>
Lines: 12
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


scwm.mit.edu exists.

Coming soon: the exciting (and hopefully more permanent) scwm.net domain...

Also, I have a lead on the memory leak isolated by Greg, I have a
possible fix but I need to test it and check the Guile source to see
if it's not going to cause intermittent crashes or anything nasty like
that.

 - Maciej


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 13 00:29:15 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA01247
	for scwm-discuss-outgoing; Tue, 13 Jul 1999 00:29:15 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from 207-172-97-222.s476.tnt2.sbo.ma.dialup.rcn.com (mstx@207-172-97-132.s386.tnt2.sbo.ma.dialup.rcn.com [207.172.97.132])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA01244
	for <scwm-discuss@scwm.mit.edu>; Tue, 13 Jul 1999 00:29:08 -0400
Received: (from mstx@localhost)
	by 207-172-97-222.s476.tnt2.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id UAA11756;
	Mon, 12 Jul 1999 20:59:23 -0400
To: scwm-discuss@scwm.mit.edu
Subject: The memory leak
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 12 Jul 1999 20:59:19 -0400
Message-ID: <m3emidcql4.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com>
Lines: 23
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I don't think the location Greg diagnosed as the memory leak is
actually a leak.

The memory that is allocated but not freed is put into a continuation
(scm_tc7_contin) object, and when those are garbage collected, the
associated struct is freed. This can be seen in scm_gc_sweep in guile,
although the control flow is not exactly crystal clear. Greg, did you
have strong reason to believe this code was really the source of the
leak, other than the fact that scwm mallocs the memory, but does not
itself free it?

This appears to be the case in both the 1.3 version and the current
version. One oddity is that the sweep code counts the size of a
SCM_STACKITEM as among the memory freed, but the SCM_STACKITEM pointer
in the scm_contregs struct does not appear to actually be
freed. However, a SCM_STACKITEM is just a long; you'd have to leak a
_lot_ of those to leak tens of megs of memory (in fact, if this leak
happened twice a second, it would take 36 hours to leak even one meg
of memory).

 - Maciej


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 13 11:08:45 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA02567
	for scwm-discuss-outgoing; Tue, 13 Jul 1999 11:08:45 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA02564
	for <scwm-discuss@scwm.mit.edu>; Tue, 13 Jul 1999 11:08:39 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA19658; Tue, 13 Jul 1999 08:08:35 -0700 (PDT)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: The memory leak
References: <m3emidcql4.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Jul 1999 08:08:35 -0700
In-Reply-To: Maciej Stachowiak's message of "12 Jul 1999 20:59:19 -0400"
Message-ID: <qrrpv1wa8p8.fsf@elwha.cs.washington.edu>
Lines: 40
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> I don't think the location Greg diagnosed as the memory leak is
> actually a leak.

I beg to differ. :-)  (But, hey, I could be wrong, too!)

> The memory that is allocated but not freed is put into a continuation
> (scm_tc7_contin) object, and when those are garbage collected, the
> associated struct is freed. This can be seen in scm_gc_sweep in guile,
> although the control flow is not exactly crystal clear. Greg, did you
> have strong reason to believe this code was really the source of the
> leak, other than the fact that scwm mallocs the memory, but does not
> itself free it?

The compelling evidence I have is that when I changed the malloc to be
something like 10k instead of 176 bytes, my Scwm process grew incredibly 
quickly and never got smaller.  Perhaps the continuation object is not
getting gc-d for some reason;  I encourage you to repeat my experiment
and see for yourself.

> This appears to be the case in both the 1.3 version and the current
> version. One oddity is that the sweep code counts the size of a
> SCM_STACKITEM as among the memory freed, but the SCM_STACKITEM pointer
> in the scm_contregs struct does not appear to actually be
> freed. However, a SCM_STACKITEM is just a long; you'd have to leak a
> _lot_ of those to leak tens of megs of memory (in fact, if this leak
> happened twice a second, it would take 36 hours to leak even one meg
> of memory).

(define sync-and-add-timer-hook
  (lambda () 
    (scwm-gtk-sync)
    (if scwm-gtk-timer-hook-enabled?
	(add-timer-hook! 50000 sync-and-add-timer-hook))))

This looks like every 50 msec (== 50000 microseconds) to me, which is 20
times per second, so only 3.6 hours to leak a meg, or almost 7 MB a day.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 13 14:18:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA02762
	for scwm-discuss-outgoing; Tue, 13 Jul 1999 14:18:08 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from 207-172-97-222.s476.tnt2.sbo.ma.dialup.rcn.com (mstx@216-164-247-153.s153.tnt3.sbo.ma.dialup.rcn.com [216.164.247.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA02759
	for <scwm-discuss@scwm.mit.edu>; Tue, 13 Jul 1999 14:18:02 -0400
Received: (from mstx@localhost)
	by 207-172-97-222.s476.tnt2.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id KAA30283;
	Tue, 13 Jul 1999 10:48:19 -0400
To: Greg Badros <gjb@cs.washington.edu>
Cc: Maciej Stachowiak <mstachow@alum.mit.edu>, scwm-discuss@scwm.mit.edu
Subject: Re: The memory leak
References: <m3emidcql4.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com> <qrrpv1wa8p8.fsf@elwha.cs.washington.edu>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 13 Jul 1999 10:48:16 -0400
In-Reply-To: Greg Badros's message of "13 Jul 1999 08:08:35 -0700"
Message-ID: <m3673oy5an.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com>
Lines: 31
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> 
> > I don't think the location Greg diagnosed as the memory leak is
> > actually a leak.
> 
> I beg to differ. :-)  (But, hey, I could be wrong, too!)
> 
> > The memory that is allocated but not freed is put into a continuation
> > (scm_tc7_contin) object, and when those are garbage collected, the
> > associated struct is freed. This can be seen in scm_gc_sweep in guile,
> > although the control flow is not exactly crystal clear. Greg, did you
> > have strong reason to believe this code was really the source of the
> > leak, other than the fact that scwm mallocs the memory, but does not
> > itself free it?
> 
> The compelling evidence I have is that when I changed the malloc to be
> something like 10k instead of 176 bytes, my Scwm process grew incredibly 
> quickly and never got smaller.  Perhaps the continuation object is not
> getting gc-d for some reason;  I encourage you to repeat my experiment
> and see for yourself.
> 

OK, I will instrument Guile and scwm to give some indication of when
continuations are generated and freed. That was going to be my next
step if you were still sure this is it. But if Guile is _not_ gc-ing
continuations it will take some digging to figure out why.

 - Maciej


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 13 20:56:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA00614
	for scwm-discuss-outgoing; Tue, 13 Jul 1999 20:56:47 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA00611
	for <scwm-discuss@scwm.mit.edu>; Tue, 13 Jul 1999 20:56:43 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA21820; Tue, 13 Jul 1999 17:56:42 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: Scheme lecture notes...
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Jul 1999 17:56:41 -0700
Message-ID: <qrr1zec59rq.fsf@elwha.cs.washington.edu>
Lines: 9
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I have scheme lecture notes from the undergrad programming languages
course I'm teaching this summer.  I think the notes are useful, and my
class did well with Scheme so I'm hopeful that they're a reasonable
introduction.  Comments are most definitely welcome and appreciated.
See:

http://www.cs.washington.edu/education/courses/341/CurrentQtr/lectures/scheme/

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 16 19:42:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA08460
	for scwm-discuss-outgoing; Fri, 16 Jul 1999 19:42:16 -0400
Received: from vh213601.truman.edu (vh213601.truman.edu [150.243.160.32])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA08457
	for <scwm-discuss@scwm.mit.edu>; Fri, 16 Jul 1999 19:42:10 -0400
From: jay@vh213601.truman.edu
Received: (from jay@localhost)
	by vh213601.truman.edu (8.9.3/8.9.3) id SAA12254;
	Fri, 16 Jul 1999 18:41:11 -0500
Date: Fri, 16 Jul 1999 18:41:11 -0500
Message-Id: <199907162341.SAA12254@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
To: scwm-discuss@scwm.mit.edu
Subject: set-desk-size!
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I like to have the desk size to be the screen size, so in my .scwmrc
file I have
(set-desk-size! 1 1)
The latest and greatest scwm from the CVS, however, objects to this,
while older versions have no problem with it.  Why the change?
I went into deskpage.c and changed the line
VALIDATE_ARG_INT_MIN_COPY(2,height,2,h)
to
VALIDATE_ARG_INT_MIN_COPY(1,height,1,h)
(having no idea what kind of effect that might have), and it seems to
solve the problem.  Is there going to be a problem with what I did?
(I'm keeping an rpm of an older version around just in case.)

Also, in the scwm.spec.in file, the lines 
/usr/share/scwm-modules
and
/usr/share/scwm-themes
are no longer necessary.

Jay


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 16 20:21:30 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA08589
	for scwm-discuss-outgoing; Fri, 16 Jul 1999 20:21:30 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA08586
	for <scwm-discuss@scwm.mit.edu>; Fri, 16 Jul 1999 20:21:25 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA17779; Fri, 16 Jul 1999 17:21:17 -0700 (PDT)
To: jay@vh213601.truman.edu
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: set-desk-size!
References: <199907162341.SAA12254@vh213601.truman.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 16 Jul 1999 17:21:16 -0700
In-Reply-To: jay@vh213601.truman.edu's message of "Fri, 16 Jul 1999 18:41:11 -0500"
Message-ID: <qrrk8s0w2gz.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

jay@vh213601.truman.edu writes:

> I like to have the desk size to be the screen size, so in my .scwmrc
> file I have
> (set-desk-size! 1 1)

Simple bug; your fix was the correct one.  Now fixed, and will commit
soon.  Thanks!  (I introduced the bug because of an Emacs macro I use
that copies a line and increments all numbers on the line).

<snip>

> Also, in the scwm.spec.in file, the lines 
> /usr/share/scwm-modules
> and
> /usr/share/scwm-themes
> are no longer necessary.

Great point-- thanks again!

What's your last name, Jay?  (For the THANKS file...)

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Jul 17 15:16:54 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA12080
	for scwm-discuss-outgoing; Sat, 17 Jul 1999 15:16:54 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA12077
	for <scwm-discuss@scwm.mit.edu>; Sat, 17 Jul 1999 15:16:49 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA20220; Sat, 17 Jul 1999 12:16:46 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Cc: Francesco Tapparo <cesco@goldnet.it>
Subject: Binding and numlock/scrolllock
From: Greg Badros <badros@cs.washington.edu>
Date: 17 Jul 1999 12:16:46 -0700
Message-ID: <qrrd7xrulwh.fsf@elwha.cs.washington.edu>
Lines: 7
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I finally fixed this long-standing bug.  Now bindings made should
properly disregard the numlock and scrolllock status.  Ultimately we
should permit easy control over whether the numlock/scrolllock states
matter, but it's typically very confusing for the novice user when
keys only work when numlock/scrolllock are off.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Jul 17 19:42:25 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA12554
	for scwm-discuss-outgoing; Sat, 17 Jul 1999 19:42:25 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA12551
	for <scwm-discuss@scwm.mit.edu>; Sat, 17 Jul 1999 19:42:20 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA04787; Sat, 17 Jul 1999 16:42:12 -0700 (PDT)
To: Harald Meland <Harald.Meland@usit.uio.no>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Problems getting (current-CVS) scwm running
References: <d6dpv2cdu4p.fsf@octarine.uio.no>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Jul 1999 16:42:12 -0700
In-Reply-To: Harald Meland's message of "01 Jul 1999 21:53:26 +0200"
Message-ID: <qrr7lnyu9m3.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Harald Meland <Harald.Meland@usit.uio.no> writes:

> I think this was lost when vicarious-existence went bang -- at least I
> haven't seen it come back from the list.
> 
> 
> Using guile-1.3 (with threads), gtk+-1.2.2, no imlib (by means of
> --disable-imlib) and pretty current CVS scwm:
> 
>   octarine$ scwm --version
>   Scwm Version 0.99.1 compiled on May 15 1999 at 00:30:18
>   RCS_ID=$Id: scwm.c,v 1.188 1999/05/03 05:55:36 gjb Exp $
>   Repository Timestamp: Tue May 11 18:09:12 EDT 1999 -- $Revision: 1.1616 $

Are you still seeing this sort of problem w/ revisions >, say,  1.1880?
(available from CVS).

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Jul 17 19:45:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA12596
	for scwm-discuss-outgoing; Sat, 17 Jul 1999 19:45:58 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA12593
	for <scwm-discuss@scwm.mit.edu>; Sat, 17 Jul 1999 19:45:54 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA04979; Sat, 17 Jul 1999 16:45:46 -0700 (PDT)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: perry@piermont.com, scwm-discuss@scwm.mit.edu
Subject: Re: problems with scwm
References: <87hg0j27io.fsf@jekyll.piermont.com> <m2hg0jh9db.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Jul 1999 16:45:46 -0700
In-Reply-To: hjstein@bfr.co.il's message of "15 Jul 1998 10:16:32 +0300"
Message-ID: <qrr3dymu9g5.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

<snip>

> When I do:
> 
>    xterm -geometry -0-0 &
> 
> the window appears at (1550, 420), 4 pixels off from the lower right
> corner of the screen.
> 
> When I change #:border-width and #:handle-width to 6, re-eval the
> form, and pop up a new xterm as above, the window still shows up at
> (1550, 420), but exactly lines up with the lower right corner.

Can you verify that these problems are no longer present in recent Scwms?

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Jul 18 00:43:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA13932
	for scwm-discuss-outgoing; Sun, 18 Jul 1999 00:43:44 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA13929
	for <scwm-discuss@scwm.mit.edu>; Sun, 18 Jul 1999 00:43:40 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA21193; Sat, 17 Jul 1999 21:43:37 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: Mail archives, bug page, ftp links
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Jul 1999 21:43:36 -0700
Message-ID: <qrr7lnysh3b.fsf@elwha.cs.washington.edu>
Lines: 17
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

The scwm web page:

http://scwm.mit.edu

now has the bug reporting page linked from the main page, has the
various complementary software links working and updated, and has the
mailing list archives online using MHonarc.

Please try stuff out and report problems you encounter.  The mailing
list archives are not updated from this list yet, because I think
MHonarc seems pretty lame (at least in its default generating mode... I
didn't try to tweak anything) so I'm not going to spend more time to
make it work properly since I think it's probably worth looking more or
going back to Hypermail.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 19 11:16:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA20048
	for scwm-discuss-outgoing; Mon, 19 Jul 1999 11:16:27 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from blinky.bfr.co.il (hjstein@morannon.bfr.co.il [192.116.142.129])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA20044
	for <scwm-discuss@scwm.mit.edu>; Mon, 19 Jul 1999 11:16:20 -0400
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id SAA19733; Mon, 19 Jul 1999 18:16:15 +0300
Date: Wed, 14 Jul 1999 16:09:20 +0300
Message-Id: <199907141309.QAA16536@blinky.bfr.co.il>
From: "Harvey J. Stein" <hjstein@bfr.co.il>
To: scwm-discuss@scwm.mitFrom owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 19 13:05:48 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA20382
	for scwm-discuss-outgoing; Mon, 19 Jul 1999 13:05:48 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mons.uio.no (6089@mons.uio.no [129.240.130.14])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id NAA20379
	for <scwm-discuss@scwm.mit.edu>; Mon, 19 Jul 1999 13:05:28 -0400
Received: from mons.uio.no (actually mons.uio.no [129.240.130.14]) by mons.uio.no with SMTP (PP); Mon, 19 Jul 1999 19:05:19 +0200
Received: from octarine.uio.no ([129.240.186.25]) by mons.uio.no with esmtp (Exim 2.12 #6) id 116Gqt-00000N-00;
          Mon, 19 Jul 1999 19:05:19 +0200
Received: from hmeland by octarine.uio.no with local (Exim 2.12 #6) id 116Gqo-0007a0-00; Mon, 19 Jul 1999 19:05:14 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Problems getting (current-CVS) scwm running
References: <d6dpv2cdu4p.fsf@octarine.uio.no> <qrr7lnyu9m3.fsf@elwha.cs.washington.edu>
From: Harald Meland <Harald.Meland@usit.uio.no>
Date: 19 Jul 1999 19:05:13 +0200
In-Reply-To: Greg Badros's message of "17 Jul 1999 16:42:12 -0700"
Message-ID: <d6d4sj0d0za.fsf@octarine.uio.no>
Lines: 39
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

[Greg Badros]

> Harald Meland <Harald.Meland@usit.uio.no> writes:
> 
> > I think this was lost when vicarious-existence went bang -- at least I
> > haven't seen it come back from the list.
> > 
> > 
> > Using guile-1.3 (with threads), gtk+-1.2.2, no imlib (by means of
> > --disable-imlib) and pretty current CVS scwm:
> > 
> >   octarine$ scwm --version
> >   Scwm Version 0.99.1 compiled on May 15 1999 at 00:30:18
> >   RCS_ID=$Id: scwm.c,v 1.188 1999/05/03 05:55:36 gjb Exp $
> >   Repository Timestamp: Tue May 11 18:09:12 EDT 1999 -- $Revision: 1.1616 $
> 
> Are you still seeing this sort of problem w/ revisions >, say,  1.1880?
> (available from CVS).

I just tried with revision 1.1953.  The good news is that I no longer
get crashes.  However, there's bad news as well -- I start up like
this

  /opt/local/bin/scwm --single-screen -f dummy.scwmrc --display :0.1

then wait a bit, then watch a single window get it's borders.  This
window lacks having it's content refreshed, and I realize that even
though my mouse pointer can be moved around, that's all the activity I
get at my display.  That is, no focusing, no keypresses get caught,
everything freezes.

I can regain control of my box by logging in from elsewhere and kill
off scwm.  Thus, I can't really say that this change is an improvement
for me :)

Let me know if there's anything I can do to help debug this (I'm no X
programmer, sorry).
-- 
Harald

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 19 13:10:39 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA20437
	for scwm-discuss-outgoing; Mon, 19 Jul 1999 13:10:39 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA20434
	for <scwm-discuss@scwm.mit.edu>; Mon, 19 Jul 1999 13:10:33 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA21577; Mon, 19 Jul 1999 10:10:28 -0700 (PDT)
To: Harald Meland <Harald.Meland@usit.uio.no>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Problems getting (current-CVS) scwm running
References: <d6dpv2cdu4p.fsf@octarine.uio.no> <qrr7lnyu9m3.fsf@elwha.cs.washington.edu> <d6d4sj0d0za.fsf@octarine.uio.no>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Jul 1999 10:10:27 -0700
In-Reply-To: Harald Meland's message of "19 Jul 1999 19:05:13 +0200"
Message-ID: <qrrwvvwmupo.fsf@elwha.cs.washington.edu>
Lines: 29
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Harald Meland <Harald.Meland@usit.uio.no> writes:

> > Are you still seeing this sort of problem w/ revisions >, say,  1.1880?
> > (available from CVS).
> 
> I just tried with revision 1.1953.  The good news is that I no longer
> get crashes.  However, there's bad news as well -- I start up like
> this
> 
>   /opt/local/bin/scwm --single-screen -f dummy.scwmrc --display :0.1
> 
> then wait a bit, then watch a single window get it's borders.  This
> window lacks having it's content refreshed, and I realize that even
> though my mouse pointer can be moved around, that's all the activity I
> get at my display.  That is, no focusing, no keypresses get caught,
> everything freezes.
> 
> I can regain control of my box by logging in from elsewhere and kill
> off scwm.  Thus, I can't really say that this change is an improvement
> for me :)
> 
> Let me know if there's anything I can do to help debug this (I'm no X
> programmer, sorry).

Can you try it on screen 0?  I have no idea if that could be causing
problems somewhere, but I wouldn't be surprised.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 20 12:32:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA23715
	for scwm-discuss-outgoing; Tue, 20 Jul 1999 12:32:58 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from jekyll.piermont.com (jekyll.piermont.com [206.1.51.15])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA23712
	for <scwm-discuss@scwm.mit.edu>; Tue, 20 Jul 1999 12:32:53 -0400
Received: by jekyll.piermont.com (Postfix, from userid 1000)
	id E5F471C0; Tue, 20 Jul 1999 12:32:49 -0400 (EDT)
To: scwm-discuss@scwm.mit.edu
Subject: how stable is the cvs head?
Reply-To: perry@piermont.com
X-Reposting-Policy: redistribute only with permission
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: "Perry E. Metzger" <perry@piermont.com>
Date: 20 Jul 1999 12:32:49 -0400
Message-ID: <87hfmzwaby.fsf@jekyll.piermont.com>
Lines: 8
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I'm thinking of upgrading after a long time to the head of the CVS
tree.

1) How stable is the version in the head?
2) What version of guile is recommended?

Perry

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 20 13:40:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA23857
	for scwm-discuss-outgoing; Tue, 20 Jul 1999 13:40:19 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA23854
	for <scwm-discuss@scwm.mit.edu>; Tue, 20 Jul 1999 13:40:13 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA12300; Tue, 20 Jul 1999 10:39:57 -0700 (PDT)
To: perry@piermont.com
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: how stable is the cvs head?
References: <87hfmzwaby.fsf@jekyll.piermont.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Jul 1999 10:39:56 -0700
In-Reply-To: "Perry E. Metzger"'s message of "20 Jul 1999 12:32:49 -0400"
Message-ID: <qrriu7fi5jn.fsf@elwha.cs.washington.edu>
Lines: 22
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Perry E. Metzger" <perry@piermont.com> writes:

> I'm thinking of upgrading after a long time to the head of the CVS
> tree.
> 
> 1) How stable is the version in the head?

I use the version in the head because of its stability, not just because 
of the new features.

It's more stable as 0.9 when you are using only features in 0.9, and
probably at least as stable as 0.9 even when you are using all the
latest and greatest features (of which there are *many*! :-) ).

> 2) What version of guile is recommended?

I use guile-1.3 + the little patch -- see the web page under
Complementary Software.

Enjoy!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 20 15:10:55 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA24393
	for scwm-discuss-outgoing; Tue, 20 Jul 1999 15:10:55 -0400
Received: from bastion.artisan.com ([209.144.161.130])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA24390
	for <scwm-discuss@scwm.mit.edu>; Tue, 20 Jul 1999 15:10:50 -0400
Received: from ypmaster.artisan.com (ypmaster [172.16.2.1])
	by bastion.artisan.com (8.9.2/8.9.2) with ESMTP id MAA02502
	for <scwm-discuss@scwm.mit.edu>; Tue, 20 Jul 1999 12:08:19 -0700 (PDT)
Received: from betty.artisan.com (betty [172.16.10.81])
	by ypmaster.artisan.com (8.9.2/8.9.2) with ESMTP id MAA13719
	for <scwm-discuss@scwm.mit.edu>; Tue, 20 Jul 1999 12:10:46 -0700 (PDT)
Received: (from alt@localhost)
          by betty.artisan.com (8.8.8/8.8.4)
	  id MAA12163; Tue, 20 Jul 1999 12:10:46 -0700 (PDT)
X-Authentication-Warning: betty.artisan.com: alt set sender to alt@betty.artisan.com using -f
From: "Albert L. Ting" <alt@artisan.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14228.51638.107040.416767@betty.artisan.com>
Date: Tue, 20 Jul 1999 12:10:46 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: how do you cut & paste?
X-Mailer: VM 6.71 under Emacs 20.3.1
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk



Is there a way to bind a key/mouse to cut and paste?  Something like:

  (bind-mouse 'all "C-M-2" paste)

Thanks,
Albert

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 20 15:16:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA24512
	for scwm-discuss-outgoing; Tue, 20 Jul 1999 15:16:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from jekyll.piermont.com (jekyll.piermont.com [206.1.51.15])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA24509
	for <scwm-discuss@scwm.mit.edu>; Tue, 20 Jul 1999 15:16:47 -0400
Received: by jekyll.piermont.com (Postfix, from userid 1000)
	id 11D5510D; Tue, 20 Jul 1999 15:16:43 -0400 (EDT)
To: scwm-discuss@scwm.mit.edu
Subject: error building the head of the CVS tree...
Reply-To: perry@piermont.com
X-Reposting-Policy: redistribute only with permission
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: "Perry E. Metzger" <perry@piermont.com>
Date: 20 Jul 1999 15:16:42 -0400
Message-ID: <87pv1nuo6d.fsf@jekyll.piermont.com>
Lines: 13
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I'm having an error building the CVS version on a NetBSD box:

Making all in pidproperty
gmake[2]: Entering directory `/u/perry/src/scwm/scwm/utilities/pidproperty'
gcc -shared -fpic  -I/usr/X11R6/include -c scwm_set_pid_property.c
ld -shared scwm_set_pid_property.o -o scwm_set_pid_property.so -ldl   -L/usr/X11R6/lib -lX11 
ld: -ldl: no match
gmake[2]: *** [scwm_set_pid_property.so] Error 1
gmake[2]: Leaving directory `/u/perry/src/scwm/scwm/utilities/pidproperty'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/u/perry/src/scwm/scwm/utilities'
gmake: *** [all-recursive] Error 1

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 20 16:35:49 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA24781
	for scwm-discuss-outgoing; Tue, 20 Jul 1999 16:35:49 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA24778
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 20 Jul 1999 16:35:27 -0400
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id QAA06547;
	Tue, 20 Jul 1999 16:34:49 -0400 (EDT)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id QAA02578;
	Tue, 20 Jul 1999 16:34:48 -0400 (EDT)
Message-ID: <3794DC61.7D0C712F@alum.mit.edu>
Date: Tue, 20 Jul 1999 16:30:25 -0400
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 5.5.1 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
CC: perry@piermont.com, scwm-discuss@SCWM.MIT.EDU
Subject: Re: how stable is the cvs head?
References: <87hfmzwaby.fsf@jekyll.piermont.com> <qrriu7fi5jn.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros wrote:
> 
> "Perry E. Metzger" <perry@piermont.com> writes:
> 
> > I'm thinking of upgrading after a long time to the head of the CVS
> > tree.
> >
> > 1) How stable is the version in the head?
> 
> I use the version in the head because of its stability, not just because
> of the new features.
> 
> It's more stable as 0.9 when you are using only features in 0.9, and
> probably at least as stable as 0.9 even when you are using all the
> latest and greatest features (of which there are *many*! :-) ).

To be fair though, there is at least one known potentially
large memory leak (it seems at this point that we are actually
just triggering a Guile memory leak often enough that it is
getting noticed, and it's only likely to be seen if some
of the newer features are used.

 - Maciej

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 20 16:38:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA24824
	for scwm-discuss-outgoing; Tue, 20 Jul 1999 16:38:29 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA24821
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 20 Jul 1999 16:38:24 -0400
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id QAA06558;
	Tue, 20 Jul 1999 16:37:52 -0400 (EDT)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id QAA02684;
	Tue, 20 Jul 1999 16:37:51 -0400 (EDT)
Message-ID: <3794DD18.E5505B10@alum.mit.edu>
Date: Tue, 20 Jul 1999 16:33:28 -0400
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 5.5.1 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: perry@piermont.com
CC: scwm-discuss@SCWM.MIT.EDU
Subject: Re: error building the head of the CVS tree...
References: <87pv1nuo6d.fsf@jekyll.piermont.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Perry E. Metzger" wrote:
> 
> I'm having an error building the CVS version on a NetBSD box:
> 
> Making all in pidproperty
> gmake[2]: Entering directory `/u/perry/src/scwm/scwm/utilities/pidproperty'
> gcc -shared -fpic  -I/usr/X11R6/include -c scwm_set_pid_property.c
> ld -shared scwm_set_pid_property.o -o scwm_set_pid_property.so -ldl   -L/usr/X11R6/lib -lX11
> ld: -ldl: no match
> gmake[2]: *** [scwm_set_pid_property.so] Error 1
> gmake[2]: Leaving directory `/u/perry/src/scwm/scwm/utilities/pidproperty'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/u/perry/src/scwm/scwm/utilities'
> gmake: *** [all-recursive] Error 1

Looks like someone was bad and hardcoded in a library that should be
checked for by configure...

 - Maciej

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 20 16:38:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA24848
	for scwm-discuss-outgoing; Tue, 20 Jul 1999 16:38:47 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA24843
	for <scwm-discuss@scwm.mit.edu>; Tue, 20 Jul 1999 16:38:43 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA22155; Tue, 20 Jul 1999 13:38:39 -0700 (PDT)
To: "Albert L. Ting" <alt@artisan.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: how do you cut & paste?
References: <14228.51638.107040.416767@betty.artisan.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Jul 1999 13:38:39 -0700
In-Reply-To: "Albert L. Ting"'s message of "Tue, 20 Jul 1999 12:10:46 -0700 (PDT)"
Message-ID: <qrrg12jgipc.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Albert L. Ting" <alt@artisan.com> writes:

> Is there a way to bind a key/mouse to cut and paste?  Something like:
> 
>   (bind-mouse 'all "C-M-2" paste)

Cut and paste into what?  This is mostly an X11 and application level
thing.  Middle-mouse button pastes the X selection into an XTerm, for
example.  There is also synthetic event (and now XTest event) support
that could be used to bundle up multiple arbitrary keystrokes and send
them to an arbitrary application.

Can you give us a better idea of exactly what your goal is?

Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 20 16:40:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA24910
	for scwm-discuss-outgoing; Tue, 20 Jul 1999 16:40:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA24906
	for <scwm-discuss@scwm.mit.edu>; Tue, 20 Jul 1999 16:40:49 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA22260; Tue, 20 Jul 1999 13:40:34 -0700 (PDT)
To: perry@piermont.com
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: error building the head of the CVS tree...
References: <87pv1nuo6d.fsf@jekyll.piermont.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Jul 1999 13:40:34 -0700
In-Reply-To: "Perry E. Metzger"'s message of "20 Jul 1999 15:16:42 -0400"
Message-ID: <qrrd7xngim5.fsf@elwha.cs.washington.edu>
Lines: 13
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Perry E. Metzger" <perry@piermont.com> writes:

> I'm having an error building the CVS version on a NetBSD box:
> 
> Making all in pidproperty


pidproperty is unessential;  does BSD not support the dlopen interface
(is there a libdl* anywhere)?  I need to make this stuff build
optionally, but you can just edit the utilities/Makefile to drop the
pidproperty subdir from the SUBDIRS variable.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 20 16:50:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA25010
	for scwm-discuss-outgoing; Tue, 20 Jul 1999 16:50:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA25007
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 20 Jul 1999 16:50:14 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA22796; Tue, 20 Jul 1999 13:50:09 -0700 (PDT)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: perry@piermont.com, scwm-discuss@SCWM.MIT.EDU
Subject: Re: error building the head of the CVS tree...
References: <87pv1nuo6d.fsf@jekyll.piermont.com> <3794DD18.E5505B10@alum.mit.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Jul 1999 13:50:09 -0700
In-Reply-To: Maciej Stachowiak's message of "Tue, 20 Jul 1999 16:33:28 -0400"
Message-ID: <qrr7lnvgi66.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> "Perry E. Metzger" wrote:
> > 
> > I'm having an error building the CVS version on a NetBSD box:
> > 
> > Making all in pidproperty
> > gmake[2]: Entering directory `/u/perry/src/scwm/scwm/utilities/pidproperty'
> > gcc -shared -fpic  -I/usr/X11R6/include -c scwm_set_pid_property.c
> > ld -shared scwm_set_pid_property.o -o scwm_set_pid_property.so -ldl   -L/usr/X11R6/lib -lX11
> > ld: -ldl: no match
> > gmake[2]: *** [scwm_set_pid_property.so] Error 1
> > gmake[2]: Leaving directory `/u/perry/src/scwm/scwm/utilities/pidproperty'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory `/u/perry/src/scwm/scwm/utilities'
> > gmake: *** [all-recursive] Error 1
> 
> Looks like someone was bad and hardcoded in a library that should be
> checked for by configure...

I claim it!  The library is checked for by configure, and DL_SUPPORT
gets set.  I just added the AM_CONDITIONAL.. stuff and the extra logic
to utilities/Makefile.am.  Will commit after testing.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 20 16:58:49 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA25126
	for scwm-discuss-outgoing; Tue, 20 Jul 1999 16:58:49 -0400
Received: from bastion.artisan.com ([209.144.161.130])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA25121
	for <scwm-discuss@scwm.mit.edu>; Tue, 20 Jul 1999 16:58:45 -0400
Received: from ypmaster.artisan.com (ypmaster [172.16.2.1])
	by bastion.artisan.com (8.9.2/8.9.2) with ESMTP id NAA03299;
	Tue, 20 Jul 1999 13:55:56 -0700 (PDT)
Received: from betty.artisan.com (betty [172.16.10.81])
	by ypmaster.artisan.com (8.9.2/8.9.2) with ESMTP id NAA10551;
	Tue, 20 Jul 1999 13:58:28 -0700 (PDT)
Received: (from alt@localhost)
          by betty.artisan.com (8.8.8/8.8.4)
	  id NAA24461; Tue, 20 Jul 1999 13:58:28 -0700 (PDT)
X-Authentication-Warning: betty.artisan.com: alt set sender to alt@betty.artisan.com using -f
From: "Albert L. Ting" <alt@artisan.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14228.58100.151228.403644@betty.artisan.com>
Date: Tue, 20 Jul 1999 13:58:28 -0700 (PDT)
To: gjb@cs.washington.edu
Cc: alt@artisan.com, scwm-discuss@scwm.mit.edu
Subject: Re: how do you cut & paste?
References: <14228.51638.107040.416767@betty.artisan.com>
	<qrrg12jgipc.fsf@elwha.cs.washington.edu>
X-Mailer: VM 6.71 under Emacs 20.3.1
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros writes:
> From: Greg Badros <gjb@cs.washington.edu>
> To: "Albert L. Ting" <alt@artisan.com>
> Cc: scwm-discuss@scwm.mit.edu
> Subject: Re: how do you cut & paste?
> Date: 20 Jul 1999 13:38:39 -0700
> 
> "Albert L. Ting" <alt@artisan.com> writes:
> 
> > Is there a way to bind a key/mouse to cut and paste?  Something like:
> > 
> >   (bind-mouse 'all "C-M-2" paste)
> 
> Cut and paste into what?  This is mostly an X11 and application level
> thing.  Middle-mouse button pastes the X selection into an XTerm, for
> example.  There is also synthetic event (and now XTest event) support
> that could be used to bundle up multiple arbitrary keystrokes and send
> them to an arbitrary application.
> 
> Can you give us a better idea of exactly what your goal is?
> 
> Greg

A Java GUI app doesn't copy text into the X11 PRIMARY buffer but the
CLIPBOARD buffer.  I've been using xclipboard to transfer the text into the
primary buffer, then use mouse-2 to paste the selection into xterm.

But apparently hitting the "copy" key on a sun keyboard will also transfer the
text from the clipboard buffer to the primary buffer (at least on
openwin).  Afterwards, pasting works as expected.

However, I have an ergo keyboard, which don't have copy/paste keys and would
like to bind a key sequence to copy and paste.

Albert


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 20 17:06:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA25316
	for scwm-discuss-outgoing; Tue, 20 Jul 1999 17:06:59 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA25312
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 20 Jul 1999 17:06:41 -0400
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id RAA06866;
	Tue, 20 Jul 1999 17:06:05 -0400 (EDT)
Received: from alum.mit.edu (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id RAA04021;
	Tue, 20 Jul 1999 17:06:04 -0400 (EDT)
Message-ID: <3794E3B5.8293D0F3@alum.mit.edu>
Date: Tue, 20 Jul 1999 17:01:41 -0400
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 5.5.1 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
CC: perry@piermont.com, scwm-discuss@SCWM.MIT.EDU
Subject: Re: error building the head of the CVS tree...
References: <87pv1nuo6d.fsf@jekyll.piermont.com> <qrrd7xngim5.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros wrote:
> 
> "Perry E. Metzger" <perry@piermont.com> writes:
> 
> > I'm having an error building the CVS version on a NetBSD box:
> >
> > Making all in pidproperty
> 
> pidproperty is unessential;  does BSD not support the dlopen interface
> (is there a libdl* anywhere)?  I need to make this stuff build
> optionally, but you can just edit the utilities/Makefile to drop the
> pidproperty subdir from the SUBDIRS variable.

dlopen() is generally not portable. Other systems use libdld, libshl
or other mechanisms to handle dynamic linking. Thin portability
layers abstracting all of these exist. In this case it
may be sufficient to just do some autoconf checks and #ifdef the code.

Also I think the Makefile.in should be converted to a Makefile.am
and use libtool so that, for example, we have working `make dist'
and `make distcheck'.

Additionally, I think we should rename this library to something
more generic, since it looks like it would be useful outside of
Scwm (and maybe rename the properties too). How about
`libXPidProp.so', `_WM_CLIENT_PID'. Hmm, I am not sure what to
do with the `SCWM_OTHER_ID', in fact, it seems to duplicate
functinality that can be achieved by setting X resources on
the command line.

Finally, maybe we should take a shot at getting the XFree86 team
to fold this functionality into Xlib, it seems they are being
less conservative about changing core X libraries and client
programs in the pre-4.0 snapshots than they have been in the past.

(And, as yet another point to consider, we should probably have
window->pid indicate failure if WM_CLIENT_MACHINE_NAME does not
match the hostname of the Scwm process itself or something, or
ensure that client code does this when appropriate).

 - Maciej

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 20 17:29:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA25474
	for scwm-discuss-outgoing; Tue, 20 Jul 1999 17:29:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mail.execpc.com (qmailr@kashyyyk-2-167.mdm.mke.execpc.com [169.207.133.105])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id RAA25471
	for <scwm-discuss@scwm.mit.edu>; Tue, 20 Jul 1999 17:29:15 -0400
Received: (qmail 486 invoked by uid 1000); 20 Jul 1999 21:17:19 -0000
Date: Tue, 20 Jul 1999 16:17:19 -0500
From: "A. P. Garcia" <apg@execpc.com>
To: scwm-discuss@scwm.mit.edu
Subject: cvs timeouts
Message-ID: <19990720161719.A476@execpc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I keep getting timeouts when I try to update my scwm tree from cvs.  :-(


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 20 17:29:38 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA25493
	for scwm-discuss-outgoing; Tue, 20 Jul 1999 17:29:38 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA25486
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 20 Jul 1999 17:29:35 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA24967; Tue, 20 Jul 1999 14:29:29 -0700 (PDT)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: error building the head of the CVS tree...
References: <87pv1nuo6d.fsf@jekyll.piermont.com> <qrrd7xngim5.fsf@elwha.cs.washington.edu> <3794E3B5.8293D0F3@alum.mit.edu>
From: Greg Badros <badros@cs.washington.edu>
Date: 20 Jul 1999 14:29:29 -0700
In-Reply-To: Maciej Stachowiak's message of "Tue, 20 Jul 1999 17:01:41 -0400"
Message-ID: <qrr1ze3ggcm.fsf@elwha.cs.washington.edu>
Lines: 53
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> Greg Badros wrote:
> > 
> > "Perry E. Metzger" <perry@piermont.com> writes:
> > 
> > > I'm having an error building the CVS version on a NetBSD box:
> > >
> > > Making all in pidproperty
> > 
> > pidproperty is unessential;  does BSD not support the dlopen interface
> > (is there a libdl* anywhere)?  I need to make this stuff build
> > optionally, but you can just edit the utilities/Makefile to drop the
> > pidproperty subdir from the SUBDIRS variable.
> 
> dlopen() is generally not portable. Other systems use libdld, libshl
> or other mechanisms to handle dynamic linking. Thin portability
> layers abstracting all of these exist. In this case it
> may be sufficient to just do some autoconf checks and #ifdef the code.
> 
> Also I think the Makefile.in should be converted to a Makefile.am
> and use libtool so that, for example, we have working `make dist'
> and `make distcheck'.

I'd love to see this happen, but the linking rules are wierd for
pidproperty, and I couldn't get automake and libtool to do the right
thing (but that might've been with libtool-1.2;  I can't recall).

> Additionally, I think we should rename this library to something
> more generic, since it looks like it would be useful outside of
> Scwm (and maybe rename the properties too). How about
> `libXPidProp.so', `_WM_CLIENT_PID'. Hmm, I am not sure what to
> do with the `SCWM_OTHER_ID', in fact, it seems to duplicate
> functinality that can be achieved by setting X resources on
> the command line.
> 
> Finally, maybe we should take a shot at getting the XFree86 team
> to fold this functionality into Xlib, it seems they are being
> less conservative about changing core X libraries and client
> programs in the pre-4.0 snapshots than they have been in the past.

This would be good-- anybody have insider connections or at least a good 
contact person on the XFree4 team-- a prerelease was just released so we 
need to move *now*.

> (And, as yet another point to consider, we should probably have
> window->pid indicate failure if WM_CLIENT_MACHINE_NAME does not
> match the hostname of the Scwm process itself or something, or
> ensure that client code does this when appropriate).

Good point.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 20 18:04:37 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA25737
	for scwm-discuss-outgoing; Tue, 20 Jul 1999 18:04:37 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA25734
	for <scwm-discuss@scwm.mit.edu>; Tue, 20 Jul 1999 18:04:32 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA26905; Tue, 20 Jul 1999 15:04:27 -0700 (PDT)
To: "A. P. Garcia" <apg@execpc.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: cvs timeouts
References: <19990720161719.A476@execpc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Jul 1999 15:04:27 -0700
In-Reply-To: "A. P. Garcia"'s message of "Tue, 20 Jul 1999 16:17:19 -0500"
Message-ID: <qrrvhbff05w.fsf@elwha.cs.washington.edu>
Lines: 9
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"A. P. Garcia" <apg@execpc.com> writes:

> I keep getting timeouts when I try to update my scwm tree from cvs.  :-(

Anybody else seeing this?  I don't use anon-cvs, but haven't been having 
any problems with the dev tree which is served by the same machine.  The 
load on scwm.mit.edu is 0, so I'm not sure what it could be....

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 20 18:28:17 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA25865
	for scwm-discuss-outgoing; Tue, 20 Jul 1999 18:28:17 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from jekyll.piermont.com (jekyll.piermont.com [206.1.51.15])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA25862
	for <scwm-discuss@scwm.mit.edu>; Tue, 20 Jul 1999 18:28:12 -0400
Received: by jekyll.piermont.com (Postfix, from userid 1000)
	id 8933111B; Tue, 20 Jul 1999 18:28:09 -0400 (EDT)
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: error building the head of the CVS tree...
References: <87pv1nuo6d.fsf@jekyll.piermont.com> <qrrd7xngim5.fsf@elwha.cs.washington.edu>
Reply-To: perry@piermont.com
X-Reposting-Policy: redistribute only with permission
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: "Perry E. Metzger" <perry@piermont.com>
Date: 20 Jul 1999 18:28:08 -0400
In-Reply-To: Greg Badros's message of "20 Jul 1999 13:40:34 -0700"
Message-ID: <87zp0rt0qv.fsf@jekyll.piermont.com>
Lines: 9
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Greg Badros <gjb@cs.washington.edu> writes:
> pidproperty is unessential;  does BSD not support the dlopen interface
> (is there a libdl* anywhere)?

Of course, but there is no libdl -- its "always there" for any
dynamically linked program under NetBSD. "Don't ask."

Perry

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 20 18:43:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA25990
	for scwm-discuss-outgoing; Tue, 20 Jul 1999 18:43:10 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from teeny.molehill.org (qmailr@molehill.easystreet.com [209.162.216.44])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id SAA25987
	for <scwm-discuss@scwm.mit.edu>; Tue, 20 Jul 1999 18:43:05 -0400
Received: (qmail 26417 invoked by uid 501); 20 Jul 1999 22:43:02 -0000
Date: Tue, 20 Jul 1999 15:43:02 -0700
From: Todd Larason <jtl@molehill.org>
To: Greg Badros <gjb@cs.washington.edu>
Cc: perry@piermont.com, scwm-discuss@scwm.mit.edu
Subject: Re: error building the head of the CVS tree...
Message-ID: <19990720154302.A25646@molehill.org>
References: <87pv1nuo6d.fsf@jekyll.piermont.com> <qrrd7xngim5.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <qrrd7xngim5.fsf@elwha.cs.washington.edu>; from Greg Badros on Tue, Jul 20, 1999 at 01:40:34PM -0700
X-Kibo: Do you want to be sex?  You're allowed!
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 20 July 99, Greg Badros wrote:
> pidproperty is unessential;  does BSD not support the dlopen interface
> (is there a libdl* anywhere)?  

FreeBSD 3.1 does, but it's in libc, not libdl.  And it's...different...enough
that there may still be problems.  RTLD_GLOBAL isn't a supported flag - all
symbols are always added to the symbol table.  And symbols are apparently only 
looked up in the library being called from if DT_SYMBOLIC is set (ie, ld gets
-Bsymbolic).   And if ld gets -Bsymbolic, it apparently also wants the library 
to be explicitely linked with all the libraries it uses.

Todd,
who just spent 3 hours learning way more about the FreeBSD ELF suport than he
wanted to know, for his paying job.
-- 
"Share a smoke, make a joke, grasp & reach for a leg of hope.  Words to
memorize, words hypnotize, words make my mouth exercise, words all fail the
magic prize..." -- Violent Femmes
UIN: 1436697

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 20 18:48:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA26062
	for scwm-discuss-outgoing; Tue, 20 Jul 1999 18:48:47 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from jekyll.piermont.com (jekyll.piermont.com [206.1.51.15])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA26059
	for <scwm-discuss@scwm.mit.edu>; Tue, 20 Jul 1999 18:48:44 -0400
Received: by jekyll.piermont.com (Postfix, from userid 1000)
	id 9307011B; Tue, 20 Jul 1999 18:48:40 -0400 (EDT)
To: Todd Larason <jtl@molehill.org>
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@scwm.mit.edu
Subject: Re: error building the head of the CVS tree...
References: <87pv1nuo6d.fsf@jekyll.piermont.com> <qrrd7xngim5.fsf@elwha.cs.washington.edu> <19990720154302.A25646@molehill.org>
Reply-To: perry@piermont.com
X-Reposting-Policy: redistribute only with permission
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: "Perry E. Metzger" <perry@piermont.com>
Date: 20 Jul 1999 18:48:40 -0400
In-Reply-To: Todd Larason's message of "Tue, 20 Jul 1999 15:43:02 -0700"
Message-ID: <87r9m3szsn.fsf@jekyll.piermont.com>
Lines: 13
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Todd Larason <jtl@molehill.org> writes:
> On 20 July 99, Greg Badros wrote:
> > pidproperty is unessential;  does BSD not support the dlopen interface
> > (is there a libdl* anywhere)?  
> 
> FreeBSD 3.1 does, but it's in libc, not libdl.  And it's...different...enough
> that there may still be problems.

NetBSD and FreeBSD's way of handling this are probably quite different 
at this point.

Perry

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Jul 21 00:54:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA26605
	for scwm-discuss-outgoing; Wed, 21 Jul 1999 00:54:00 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mons.uio.no (6089@mons.uio.no [129.240.130.14])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id AAA26602
	for <scwm-discuss@scwm.mit.edu>; Wed, 21 Jul 1999 00:53:54 -0400
Received: from mons.uio.no (actually mons.uio.no [129.240.130.14]) by mons.uio.no with SMTP (PP); Wed, 21 Jul 1999 06:53:50 +0200
Received: from octarine.uio.no ([129.240.186.25]) by mons.uio.no with esmtp (Exim 2.12 #6) id 116oO5-0005Xv-00 
          for scwm-discuss@scwm.mit.edu; Wed, 21 Jul 1999 06:53:49 +0200
Received: from hmeland by octarine.uio.no with local (Exim 2.12 #6) id 116oO5-0004d3-00 for scwm-discuss@scwm.mit.edu;
          Wed, 21 Jul 1999 06:53:49 +0200
To: scwm-discuss@scwm.mit.edu
Subject: Re: Problems getting (current-CVS) scwm running
References: <d6dpv2cdu4p.fsf@octarine.uio.no> <qrr7lnyu9m3.fsf@elwha.cs.washington.edu> <d6d4sj0d0za.fsf@octarine.uio.no> <qrrwvvwmupo.fsf@elwha.cs.washington.edu>
From: Harald Meland <Harald.Meland@usit.uio.no>
Date: 21 Jul 1999 06:53:48 +0200
In-Reply-To: Greg Badros's message of "19 Jul 1999 10:10:27 -0700"
Message-ID: <d6dzp0q8uxv.fsf@octarine.uio.no>
Lines: 17
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

[Greg Badros]

> Can you try it on screen 0?  I have no idea if that could be causing
> problems somewhere, but I wouldn't be surprised.

OK, tried the hitherto untested "Switch to scwm" menu entry in my
fvwm2 configuration.  The recent scwm seems to be working perfectly
when running only on screen 0 (while scwm 0.9 is still running on
screen 1).

Is that enough info, or would you like me to try running the recent
scwm on both screens?  The reason I'm asking is that if that try
screws up, I'll probably have to use quite a lot of time to get all
the windows I use in place again (my .xsession quits soon after the
window manager for screen 0 dies).
-- 
Harald

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Jul 21 10:30:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA28405
	for scwm-discuss-outgoing; Wed, 21 Jul 1999 10:30:01 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA28402
	for <scwm-discuss@scwm.mit.edu>; Wed, 21 Jul 1999 10:29:56 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id HAA20934; Wed, 21 Jul 1999 07:29:50 -0700 (PDT)
To: Harald Meland <Harald.Meland@usit.uio.no>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Problems getting (current-CVS) scwm running
References: <d6dpv2cdu4p.fsf@octarine.uio.no> <qrr7lnyu9m3.fsf@elwha.cs.washington.edu> <d6d4sj0d0za.fsf@octarine.uio.no> <qrrwvvwmupo.fsf@elwha.cs.washington.edu> <d6dzp0q8uxv.fsf@octarine.uio.no>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Jul 1999 07:29:49 -0700
In-Reply-To: Harald Meland's message of "21 Jul 1999 06:53:48 +0200"
Message-ID: <qrr3dyif542.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Harald Meland <Harald.Meland@usit.uio.no> writes:

> OK, tried the hitherto untested "Switch to scwm" menu entry in my
> fvwm2 configuration.  The recent scwm seems to be working perfectly
> when running only on screen 0 (while scwm 0.9 is still running on
> screen 1).
> 
> Is that enough info, or would you like me to try running the recent
> scwm on both screens?  The reason I'm asking is that if that try
> screws up, I'll probably have to use quite a lot of time to get all
> the windows I use in place again (my .xsession quits soon after the
> window manager for screen 0 dies).

That's enough information for me.... sounds like we've got some major
screen 1 bugs now....

Are there any error messages when you start the latest Scwm on screen
1-- there was a bug that I only recently fixed that caused Scwm to die
when printing some error messages.

So in summary, scwm-0.9 works on :0.1, latest scwm does not, but latest
scwm works fine on :0.0 for you, right?

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Jul 21 12:38:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA28574
	for scwm-discuss-outgoing; Wed, 21 Jul 1999 12:38:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mail.gci-net.com (mail.gci-net.com [208.2.166.101])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id MAA28571
	for <scwm-discuss@scwm.mit.edu>; Wed, 21 Jul 1999 12:38:46 -0400
Received: from ip022.tuc055.gci-net.com (ip022.tuc055.gci-net.com [208.8.55.22]) by mail.grames.net (NTMail 3.03.0017/1d.aawt) with ESMTP id ua834204 for <scwm-discuss@scwm.mit.edu>; Wed, 21 Jul 1999 09:25:07 -0700
Message-ID: <3795F7B8.D782277D@grames.net>
Date: Wed, 21 Jul 1999 09:39:20 -0700
From: Don <don@grames.net>
X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.10 i586)
X-Accept-Language: en
MIME-Version: 1.0
CC: scwm-discuss@scwm.mit.edu
Subject: Remove
References: <d6dpv2cdu4p.fsf@octarine.uio.no> <qrr7lnyu9m3.fsf@elwha.cs.washington.edu> <d6d4sj0d0za.fsf@octarine.uio.no> <qrrwvvwmupo.fsf@elwha.cs.washington.edu> <d6dzp0q8uxv.fsf@octarine.uio.no>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

remove
-- 
Don Grames                             Life With Linux
don@grames.net                             is real
xterm:  fatal IO error 2 (Broken pipe) or KillClient on X server ":0.0"

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Jul 21 22:27:35 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA29850
	for scwm-discuss-outgoing; Wed, 21 Jul 1999 22:27:35 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA29847
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 21 Jul 1999 22:27:30 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id WAA26699;
	Wed, 21 Jul 1999 22:25:21 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id WAA04419;
	Wed, 21 Jul 1999 22:25:18 -0400 (EDT)
Date: Wed, 21 Jul 1999 22:25:18 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: Greg Badros <badros@cs.washington.edu>
cc: Maciej Stachowiak <mstachow@alum.mit.edu>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: error building the head of the CVS tree...
In-Reply-To: <qrr1ze3ggcm.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9907212216090.4237-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 20 Jul 1999, Greg Badros wrote:

> Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> > Greg Badros wrote:

> > dlopen() is generally not portable. Other systems use libdld, libshl
> > or other mechanisms to handle dynamic linking. Thin portability
> > layers abstracting all of these exist. In this case it
> > may be sufficient to just do some autoconf checks and #ifdef the code.

I just found out about one such layer, libltdl, distributed with libtool.
(1.3b, at least)  Extending it (and libtool itself, if necessary) to
support anything DL-related that pidproperty needs might be a good idea.  
Sounds like somthing of the sort might be neccessary to have a chance of
building on anything besides linux and solaris.

Steve

-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 23 13:32:30 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA01693
	for scwm-discuss-outgoing; Fri, 23 Jul 1999 13:32:30 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA01690
	for <scwm-discuss@scwm.mit.edu>; Fri, 23 Jul 1999 13:32:22 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA09273; Fri, 23 Jul 1999 10:32:16 -0700 (PDT)
To: Greg Harvey <Greg.Harvey@thezone.net>
Cc: guile@cygnus.com, scwm-discuss@scwm.mit.edu
Subject: Re: Upcoming 1.3.2 release
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Jul 1999 10:32:16 -0700
In-Reply-To: Greg Harvey's message of "23 Jul 1999 14:51:45 -0230"
Message-ID: <qrrhfmvz2zj.fsf@elwha.cs.washington.edu>
Lines: 48
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Harvey <Greg.Harvey@thezone.net> writes:

> Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> writes:
> 
> > Greg Badros <gjb@cs.washington.edu> writes:
> > 
> > > That sounds great;  we exchanged email a while back about ability to
> > > register a C function to be invoked at start and end of garbage
> > > collection.  Might that make it into 1.3.2?  It's definitely nice to be
> > > able to provide feedback to the user of an interactive application about 
> > > when garbage collection is occurring.
> > 
> > The new hooks have both Scheme level and C level interfaces.
> > 
> > If we add before-gc-hook and after-gc-hook before 1.3.2 we could warn
> > now about %gc-thunk disappearing in 1.3.4.
> > 
> > Jim?
> > 
> > BTW Has Greg Harvey included these hooks in his sources?
> 
> after-gc-hook, yes. before-gc-hook, at least as a proper hook, is not
> a good idea, since there's no memory left to do anything (if you try
> to run almost any scheme code, you'll get a nice little infinite loop
> thing going... there are a few problems in the current gc itself where
> stuff like scm_error is being called, which evidences the exact same
> thing; I've removed those, to). What it needs is a way to register
> well behaved c functions with the gc, which isn't difficult to write,
> but I haven't gotten around to it yet.

Right-- I'm aware that it'd be a bad idea to call Scheme code from a
GC-start hook.  We want Scwm to be able to have a hard-coded (in C)
behaviour (or perhaps several possible behaviours) to convey to the user 
that garbage collection is taking place. E.g.,

;; no notification
(set-gc-awareness-mode! #f)

;; write msg to port
(set-gc-awareness-mode! (current-output-port)) 

;; display the cursor during the gc
(set-gc-awareness-mode! (create-pixmap-cursor "recycle.xpm")) 

;; others?

Thanks,
Greg B

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 23 14:19:03 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA01955
	for scwm-discuss-outgoing; Fri, 23 Jul 1999 14:19:03 -0400
Received: from firma.thezone.net (terra.nlnet.nf.ca [192.75.13.101])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA01952
	for <scwm-discuss@scwm.mit.edu>; Fri, 23 Jul 1999 14:18:58 -0400
Received: from behemoth.dethfart.org (n254h003.thezone.net [198.165.254.3])
	by firma.thezone.net (8.8.8/8.8.8) with ESMTP id PAA13743;
	Fri, 23 Jul 1999 15:48:41 -0230 (NDT)
Received: (from greg@localhost)
	by behemoth.dethfart.org (8.8.7/8.8.7) id PAA00490;
	Fri, 23 Jul 1999 15:47:15 -0230
X-Authentication-Warning: behemoth.dethfart.org: greg set sender to Greg.Harvey@thezone.net using -f
To: guile@cygnus.com
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Upcoming 1.3.2 release
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu>
From: Greg Harvey <Greg.Harvey@thezone.net>
Date: 23 Jul 1999 15:47:13 -0230
In-Reply-To: Greg Badros's message of "23 Jul 1999 10:32:16 -0700"
Message-ID: <m3vhbb44eu.fsf@behemoth.dethfart.org>
Lines: 21
X-Mailer: Gnus v5.6.43/Emacs 20.3
Original-Sender: Greg.Harvey@thezone.net
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:


> Right-- I'm aware that it'd be a bad idea to call Scheme code from a
> GC-start hook.  We want Scwm to be able to have a hard-coded (in C)
> behaviour (or perhaps several possible behaviours) to convey to the user 
> that garbage collection is taking place. E.g.,

The problem isn't so much that it could be problematic to call scheme
code, but pretty much anything in guile is suspect (except scm_cons &
newcell, because we know that'll screw things up). A set of predefined
behaviours could work, but you'd want to watch out for something like
the second, since you can't reliably call things like display & stuff
like that... you could do writes on the underlying fd, if you don't
have to worry about buffering (or don't care about slightly odd
output), though. I'll add a bit to allow registering c functions to
my gc code, but I do think it'd be a really bad idea to add a general
hook for this.
 
-- 
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 23 14:52:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA02084
	for scwm-discuss-outgoing; Fri, 23 Jul 1999 14:52:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mdj-pc.nada.kth.se (mail@mdj-pc.nada.kth.se [130.237.224.206])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA02081
	for <scwm-discuss@scwm.mit.edu>; Fri, 23 Jul 1999 14:52:11 -0400
Received: from mdj by mdj-pc.nada.kth.se with local (Exim 3.02 #1 (Debian))
	id 117kPv-0007Ht-00; Fri, 23 Jul 1999 20:51:35 +0200
To: Greg Harvey <Greg.Harvey@thezone.net>
Cc: guile@cygnus.com, scwm-discuss@scwm.mit.edu
Subject: Re: Upcoming 1.3.2 release
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org>
Cc: djurfeldt@nada.kth.se
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Date: 23 Jul 1999 20:51:35 +0200
In-Reply-To: Greg Harvey's message of "23 Jul 1999 15:47:13 -0230"
Message-ID: <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se>
Lines: 27
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Harvey <Greg.Harvey@thezone.net> writes:

> The problem isn't so much that it could be problematic to call scheme
> code, but pretty much anything in guile is suspect (except scm_cons &
> newcell, because we know that'll screw things up). A set of predefined
> behaviours could work, but you'd want to watch out for something like
> the second, since you can't reliably call things like display & stuff
> like that... you could do writes on the underlying fd, if you don't
> have to worry about buffering (or don't care about slightly odd
> output), though. I'll add a bit to allow registering c functions to
> my gc code, but I do think it'd be a really bad idea to add a general
> hook for this.

Sorry for not noticing the implications.

However, I do like the idea of using hooks from all other aspects.
And I think it's a good idea to try hard to get rid of extra
mechanisms for specific purposes.

What about reserving a pool of conses which is made available to
NEWCELL during special conditions like this?  (There's still the
problem with malloced memory.)  The size of this pool could be a
settable parameter.

Also, note that if only well-behaved C functions, wrapped as
scm_tc7_subr_0:s, are added to before-gc-hook, no conses will be used,
so it's still possible to use the hook mechanism.

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 23 17:18:45 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA02452
	for scwm-discuss-outgoing; Fri, 23 Jul 1999 17:18:45 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from bouvreuil.cybercable.fr (bouvreuil.cybercable.fr [212.198.3.12])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id RAA02449
	for <scwm-discuss@scwm.mit.edu>; Fri, 23 Jul 1999 17:18:36 -0400
Received: (qmail 20881 invoked from network); 23 Jul 1999 21:18:27 -0000
Received: from d241.paris-126.cybercable.fr (HELO ZhengHe) (@[212.198.126.241]) (envelope-sender <fare@tunes.org>)
          by bouvreuil.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <scwm-discuss@scwm.mit.edu>; 23 Jul 1999 21:18:27 -0000
Received: from fare by ZhengHe with local (Exim 3.02 #1 (Debian))
	id 117iXb-0001CC-00; Fri, 23 Jul 1999 18:51:23 +0200
Date: Tue, 13 Jul 1999 10:16:15 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: SCWM Discussion <scwm-discuss@serveuse.mit.edu>
Subject: Screwed Close-Window Menuitem
Message-ID: <19990713101615.A20446@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Still using scwm from CVS with guile 1.3,
and having problem with closing windows.
My scwm.out has it this way:

Backtrace:
0* [close-window]
1* (let-optional* lambda*:G73 ((win #)) ...)
2  (let ((win #)) (let-keywords* lambda*:G73 #f ...))
3* (cond ((not #) (let # # ...)) (#t (get-window #t #t ...)))
4  [get-window #t #t ...]
5* [gsubr-apply #<compiled-closure #<primitive-procedure gsubr-apply>> #t ...]

ERROR: In procedure gsubr-apply in expression (get-window #t #t ...):
ERROR: Wrong type argument in position 3: #t

Looks like the definitions of close-window and destroy-window are buggy
because they use an obsolete interface to get-window.
Since I'm not sure which function should be modified which way,
I'm not changing anything myself.

Also, my menus used an obsolete menu-title kind of separator in menus.
menu-title still exists somehow, since I didn't get a variable unbound
error at runtime. Now, how is it meant to be used/replaced?
Hum. Haven't I already reported that bug?

PS: In case anyone cares, I've put all my configuration files on cvs,
accessible through the web by cvsweb
	http://cvs.tunes.org/cgi-bin/cvsweb/fare/etc/scwm/
	http://cvs.tunes.org/cgi-bin/cvsweb/fare/etc/scwm/my-scwm.scm?rev=HEAD
or by anonymous CVS
	http://www.tunes.org/collaboration.html#CVS

Scwm Version 0.99.1 compiled on Jul  9 1999 at 18:03:38
RCS_ID=$Id: scwm.c,v 1.191 1999/07/05 01:45:15 gjb Exp $
Repository Timestamp: Wed Jul  7 18:40:06 EDT 1999 -- $Revision: 1.1791 $

Keep up the good work,

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
Computer Science is no more about computers than astronomy is about telescopes.
		-- E. W. Dijkstra

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 23 17:59:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA02612
	for scwm-discuss-outgoing; Fri, 23 Jul 1999 17:59:02 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mdj-pc.nada.kth.se (mail@mdj-pc.nada.kth.se [130.237.224.206])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA02609
	for <scwm-discuss@scwm.mit.edu>; Fri, 23 Jul 1999 17:58:57 -0400
Received: from mdj by mdj-pc.nada.kth.se with local (Exim 3.02 #1 (Debian))
	id 117nKl-0007JM-00; Fri, 23 Jul 1999 23:58:27 +0200
To: Greg Harvey <Greg.Harvey@thezone.net>
Cc: guile@cygnus.com, scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se>
Cc: djurfeldt@nada.kth.se
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Date: 23 Jul 1999 23:58:27 +0200
In-Reply-To: Mikael Djurfeldt's message of "23 Jul 1999 20:51:35 +0200"
Message-ID: <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se>
Lines: 55
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> writes:

> However, I do like the idea of using hooks from all other aspects.
> And I think it's a good idea to try hard to get rid of extra
> mechanisms for specific purposes.
> 
> What about reserving a pool of conses which is made available to
> NEWCELL during special conditions like this?  (There's still the
> problem with malloced memory.)  The size of this pool could be a
> settable parameter.
> 
> Also, note that if only well-behaved C functions, wrapped as
> scm_tc7_subr_0:s, are added to before-gc-hook, no conses will be used,
> so it's still possible to use the hook mechanism.

OK, that didn't score any points, did it?

Let me put it differently:

Using a special registration function and mechanism for the
before-gc-hook is certainly one possibility, and, maybe it is the most
easily maintainable in the long run.

I'd like to propose two additional alternatives:

1. The C programmer sees two hooks

      scm_before_gc_hook
      scm_after_gc_hook

    to which he can attach his C functions (wrapped as a subr).

    The Scheme programmer sees only after-gc-hook (which is in fact
    the hook stored in scm_after_gc_hook).

This is as safe the special registration function alternative, but the
user interface is more symmetric and less code is required to
implement it.

(wilder)
2. Same as 1 but the Scheme programmer also sees the before-gc-hook.

The advantage is obvious.  The disadvantage is that we have to reserve
a pool of conses for special uses (it could be used for other purposes
as well, like printing objects during debugging).  Another
disadvantage is that we would have to warn the user about what is safe
to put in this hook, making the interface more complex.

Note that it is possible to arrange for the before-gc-hook to abort
nicely and quietly (meaning that GC will proceed) if we run out of
memory.

Personally, prefer 2 because it gives more power and possibilities.
Concerning the complexity argument, I'd say that there are other parts
of the interpreter where it is more important.

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 23 18:10:49 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA02679
	for scwm-discuss-outgoing; Fri, 23 Jul 1999 18:10:49 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mdj-pc.nada.kth.se (mail@mdj-pc.nada.kth.se [130.237.224.206])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA02676
	for <scwm-discuss@scwm.mit.edu>; Fri, 23 Jul 1999 18:10:44 -0400
Received: from mdj by mdj-pc.nada.kth.se with local (Exim 3.02 #1 (Debian))
	id 117nWA-0007Ju-00; Sat, 24 Jul 1999 00:10:14 +0200
To: Greg Harvey <Greg.Harvey@thezone.net>
Cc: guile@cygnus.com, scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se>
Cc: djurfeldt@nada.kth.se
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Date: 24 Jul 1999 00:10:14 +0200
In-Reply-To: Mikael Djurfeldt's message of "23 Jul 1999 23:58:27 +0200"
Message-ID: <xy7emhz10hl.fsf@mdj-pc.nada.kth.se>
Lines: 6
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> writes:

> OK, that didn't score any points, did it?

Oops, I realize I may sound patronizing.  That was not at all
intended.

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 23 18:29:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA02873
	for scwm-discuss-outgoing; Fri, 23 Jul 1999 18:29:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from jekyll.piermont.com (jekyll.piermont.com [206.1.51.15])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA02870
	for <scwm-discuss@scwm.mit.edu>; Fri, 23 Jul 1999 18:29:11 -0400
Received: by jekyll.piermont.com (Postfix, from userid 1000)
	id EDBE719E; Fri, 23 Jul 1999 18:29:07 -0400 (EDT)
To: scwm-discuss@scwm.mit.edu
Subject: hmmm
Reply-To: perry@piermont.com
X-Reposting-Policy: redistribute only with permission
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: "Perry E. Metzger" <perry@piermont.com>
Date: 23 Jul 1999 18:29:07 -0400
Message-ID: <87u2qv57bg.fsf@jekyll.piermont.com>
Lines: 14
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Building on NetBSD, I still get this. I thought it had been dealt
with?

gmake[2]: Entering directory `/u/perry/src/scwm/scwm/utilities/pidproperty'
gcc -shared -fpic  -I/usr/X11R6/include -c scwm_set_pid_property.c
ld -shared scwm_set_pid_property.o -o scwm_set_pid_property.so -ldl   -L/usr/X11R6/lib -lX11 
ld: -ldl: no match
gmake[2]: *** [scwm_set_pid_property.so] Error 1
gmake[2]: Leaving directory `/u/perry/src/scwm/scwm/utilities/pidproperty'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/u/perry/src/scwm/scwm/utilities'
gmake: *** [all-recursive] Error 1
You have mail in /var/mail/perry

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 23 18:46:06 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA03002
	for scwm-discuss-outgoing; Fri, 23 Jul 1999 18:46:06 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA02999
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 23 Jul 1999 18:46:01 -0400
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id SAA12233;
	Fri, 23 Jul 1999 18:45:29 -0400 (EDT)
Received: from alum.mit.edu (erie [139.181.3.18])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id SAA05512;
	Fri, 23 Jul 1999 18:45:28 -0400 (EDT)
Message-ID: <3798F088.D69FCAC9@alum.mit.edu>
Date: Fri, 23 Jul 1999 18:45:28 -0400
From: Maciej Stachowiak <mstachow@alum.mit.edu>
X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 5.6 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: perry@piermont.com
CC: scwm-discuss@SCWM.MIT.EDU
Subject: Re: hmmm
References: <87u2qv57bg.fsf@jekyll.piermont.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Perry E. Metzger" wrote:
> 
> Building on NetBSD, I still get this. I thought it had been dealt
> with?
> 
> gmake[2]: Entering directory `/u/perry/src/scwm/scwm/utilities/pidproperty'
> gcc -shared -fpic  -I/usr/X11R6/include -c scwm_set_pid_property.c
> ld -shared scwm_set_pid_property.o -o scwm_set_pid_property.so -ldl   -L/usr/X11R6/lib -lX11
> ld: -ldl: no match
> gmake[2]: *** [scwm_set_pid_property.so] Error 1
> gmake[2]: Leaving directory `/u/perry/src/scwm/scwm/utilities/pidproperty'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/u/perry/src/scwm/scwm/utilities'
> gmake: *** [all-recursive] Error 1
> You have mail in /var/mail/perry

I thought Greg was going to fix it. If it's not done by tomorrow, I
will do it (for now I will just make autoconf check for dlopen
in libc and then check for it in libdl if necessary, untilmately
we would like to support non-libdl dynamic linking interfaces).

Thanks for keeping us abreast of NetBSD portability problems. 

I think as we move towards a 1.0 release we will need to verify
the code up front on a wide variety of platforms.

 - Maciej

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 23 18:49:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA03048
	for scwm-discuss-outgoing; Fri, 23 Jul 1999 18:49:27 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from news.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA03045
	for <scwm-discuss@scwm.mit.edu>; Fri, 23 Jul 1999 18:49:22 -0400
Received: from mizar (r1p006.ntt.it [194.73.94.6]) by news.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id AAA15684 for <scwm-discuss@scwm.mit.edu>; Sat, 24 Jul 1999 00:49:48 +0200 (DFT)
Received: from cesco by mizar with local (Exim 3.02 #1 (Debian))
	id 117o56-0000B6-00
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 24 Jul 1999 00:46:20 +0200
Date: Sat, 24 Jul 1999 00:46:20 +0200
From: Francesco Tapparo <cesco@mizar.MIT.EDU>
To: scwm-discuss@scwm.mit.edu
Subject: problems with themes
Message-ID: <19990724004620.A679@mizar>
Reply-To: cesco@debian.org
Mail-Followup-To: scwm-discuss@SCWM.MIT.EDU
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 07/19/1999 I downloaded scwm from cvs. I have some problems with
menu-global-theme a

(define mymenu (menu-global-theme))

let crash scwm.

After a little research I found the following:

1) the default *theme-path* is yet the old path, and not the new
   /usr/share/scwm/themes.
2) (menu '()) let crash scwm. I know that the menuitem list is supposed to
   be not empty, but menu is supposed to exit with an error or something
   similar: it should'nt crash.
   
As result of 1), theme-names give '() as result; so in the code of
menu-global-theme

(define*-public (menu-global-theme #&optional force?)
  (menu  
   (map 
    (lambda (x) 
      (menuitem x #:action 
		(lambda () 
		  (window-style 
		   "*" #:use-theme (load-cached-theme x force?)))))
    (theme-names))))


(map ......) return '() and the menu call crash.

Cheers

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 23 19:23:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA03247
	for scwm-discuss-outgoing; Fri, 23 Jul 1999 19:23:02 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mdj-pc.nada.kth.se (mail@mdj-pc.nada.kth.se [130.237.224.206])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA03244
	for <scwm-discuss@scwm.mit.edu>; Fri, 23 Jul 1999 19:22:57 -0400
Received: from mdj by mdj-pc.nada.kth.se with local (Exim 3.02 #1 (Debian))
	id 117oe3-0007Kd-00; Sat, 24 Jul 1999 01:22:27 +0200
To: Greg Harvey <Greg.Harvey@thezone.net>
Cc: guile@cygnus.com, scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se>
Cc: djurfeldt@nada.kth.se
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Date: 24 Jul 1999 01:22:27 +0200
In-Reply-To: Mikael Djurfeldt's message of "23 Jul 1999 23:58:27 +0200"
Message-ID: <xy7wvvrq7d8.fsf@mdj-pc.nada.kth.se>
Lines: 20
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> writes:

> The disadvantage is that we have to reserve a pool of conses for
> special uses (it could be used for other purposes as well, like
> printing objects during debugging).

One might object that this would make the GC plugin interface more
complex.  This may or may not be true, but the cons pools will be
needed anyway when we move to POSIX threads.  Each thread will then
need a provate pool.  It doesn't seem to be any problem then to
reserve one extra pool.

> Note that it is possible to arrange for the before-gc-hook to abort
> nicely and quietly (meaning that GC will proceed) if we run out of
> memory.

This was a pretty stupid thing to say.


I think I need some sleep.  Good night.

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 23 20:20:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA03446
	for scwm-discuss-outgoing; Fri, 23 Jul 1999 20:20:12 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA03443
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 23 Jul 1999 20:20:06 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA01901; Fri, 23 Jul 1999 17:20:00 -0700 (PDT)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: perry@piermont.com, scwm-discuss@SCWM.MIT.EDU
Subject: Re: hmmm
References: <87u2qv57bg.fsf@jekyll.piermont.com> <3798F088.D69FCAC9@alum.mit.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Jul 1999 17:20:00 -0700
In-Reply-To: Maciej Stachowiak's message of "Fri, 23 Jul 1999 18:45:28 -0400"
Message-ID: <qrrwvvqx5jj.fsf@elwha.cs.washington.edu>
Lines: 39
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> "Perry E. Metzger" wrote:
> > 
> > Building on NetBSD, I still get this. I thought it had been dealt
> > with?
> > 
> > gmake[2]: Entering directory `/u/perry/src/scwm/scwm/utilities/pidproperty'
> > gcc -shared -fpic  -I/usr/X11R6/include -c scwm_set_pid_property.c
> > ld -shared scwm_set_pid_property.o -o scwm_set_pid_property.so -ldl   -L/usr/X11R6/lib -lX11
> > ld: -ldl: no match
> > gmake[2]: *** [scwm_set_pid_property.so] Error 1
> > gmake[2]: Leaving directory `/u/perry/src/scwm/scwm/utilities/pidproperty'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory `/u/perry/src/scwm/scwm/utilities'
> > gmake: *** [all-recursive] Error 1
> > You have mail in /var/mail/perry
> 
> I thought Greg was going to fix it. If it's not done by tomorrow, I
> will do it (for now I will just make autoconf check for dlopen
> in libc and then check for it in libdl if necessary, untilmately
> we would like to support non-libdl dynamic linking interfaces).

I have it fixed in my working copy but haven't committed yet.  I gave a
mid-term today and was busy helping students review, extra office hours, 
etc., and now grading.  I should get it in tomorrow sometime.

> Thanks for keeping us abreast of NetBSD portability problems. 

Yes, definitely!  I have no access to any NetBSD machines.

> I think as we move towards a 1.0 release we will need to verify
> the code up front on a wide variety of platforms.

Yep!

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 23 20:30:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA03557
	for scwm-discuss-outgoing; Fri, 23 Jul 1999 20:30:12 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA03554
	for <scwm-discuss@scwm.mit.edu>; Fri, 23 Jul 1999 20:30:06 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA02447; Fri, 23 Jul 1999 17:30:02 -0700 (PDT)
To: cesco@debian.org
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: problems with themes
References: <19990724004620.A679@mizar>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Jul 1999 17:30:01 -0700
In-Reply-To: Francesco Tapparo's message of "Sat, 24 Jul 1999 00:46:20 +0200"
Message-ID: <qrru2qux52u.fsf@elwha.cs.washington.edu>
Lines: 11
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francesco Tapparo <cesco@mizar.MIT.EDU> writes:

<snip>

> (map ......) return '() and the menu call crash.

Good catch... I've fixed this, and will commit tomorrow sometime.

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 23 21:07:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA03904
	for scwm-discuss-outgoing; Fri, 23 Jul 1999 21:07:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from jekyll.piermont.com (jekyll.piermont.com [206.1.51.15])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA03900
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 23 Jul 1999 21:06:50 -0400
Received: by jekyll.piermont.com (Postfix, from userid 1000)
	id C65C519E; Fri, 23 Jul 1999 21:06:44 -0400 (EDT)
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: hmmm
References: <87u2qv57bg.fsf@jekyll.piermont.com> <3798F088.D69FCAC9@alum.mit.edu>
Reply-To: perry@piermont.com
X-Reposting-Policy: redistribute only with permission
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: "Perry E. Metzger" <perry@piermont.com>
Date: 23 Jul 1999 21:06:44 -0400
In-Reply-To: Maciej Stachowiak's message of "Fri, 23 Jul 1999 18:45:28 -0400"
Message-ID: <87yag6hn4r.fsf@jekyll.piermont.com>
Lines: 16
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> Thanks for keeping us abreast of NetBSD portability problems. 

When scwm hits 1.0, I'm going to put it into the NetBSD package system 
so that users of CD distributions will have it available as a "click
and install" binary package. I'll have to make sure everything works
cleanly to do that, of course, but I suspect there will be no problems 
so long as I keep doing test builds for you.

> I think as we move towards a 1.0 release we will need to verify
> the code up front on a wide variety of platforms.

Yup. You may want to explicitly recruit people to do this.

Perry

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Jul 24 00:23:06 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA04228
	for scwm-discuss-outgoing; Sat, 24 Jul 1999 00:23:06 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA04225
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 24 Jul 1999 00:23:01 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA15301; Fri, 23 Jul 1999 21:22:55 -0700 (PDT)
To: perry@piermont.com
Cc: Maciej Stachowiak <mstachow@alum.mit.edu>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: hmmm
References: <87u2qv57bg.fsf@jekyll.piermont.com> <3798F088.D69FCAC9@alum.mit.edu> <87yag6hn4r.fsf@jekyll.piermont.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Jul 1999 21:22:54 -0700
In-Reply-To: "Perry E. Metzger"'s message of "23 Jul 1999 21:06:44 -0400"
Message-ID: <qrrd7xiwuap.fsf@elwha.cs.washington.edu>
Lines: 48
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Perry E. Metzger" <perry@piermont.com> writes:

> Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> > Thanks for keeping us abreast of NetBSD portability problems. 
> 
> When scwm hits 1.0, I'm going to put it into the NetBSD package system 
> so that users of CD distributions will have it available as a "click
> and install" binary package. I'll have to make sure everything works
> cleanly to do that, of course, but I suspect there will be no problems 
> so long as I keep doing test builds for you.

This'll be great!  Thanks, Perry!

> 
> > I think as we move towards a 1.0 release we will need to verify
> > the code up front on a wide variety of platforms.
> 
> Yup. You may want to explicitly recruit people to do this.

Excellent suggestion.  

Here are the platforms I can think of (version numbers omitted when I'm
unsure what the relevant recent versions are):

Redhat 4.x/x86 --
Redhat 5.x/x86 -- gjb
Redhat 6.x/x86 --
Redhat 6.x/alpha -- gjb
Redhat 6.x/powerpc
Redhat 6.x/sparc
Debian 2.1/x86 -- Francesco Tapparo?, James Lewis Moss?
NetBSD -- Perry Metzger
FreeBSD --
HP/UX -- Stephen Tell?
Solaris 2.[56] -- 
SunOS 4 --
SGI IRIX --
IBM AIX --
Ultrix --

It'd be great if someone would claim any of the above platforms that
they would be willing to build Scwm on from CVS sources, say, once a
week, and report build problems, etc.

I'll commit this list as the file "BUILD-PLATFORMS".

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Jul 24 16:10:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA06820
	for scwm-discuss-outgoing; Sat, 24 Jul 1999 16:10:58 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sanjuan.cs.washington.edu (sanjuan.cs.washington.edu [128.95.8.118])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA06817
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 24 Jul 1999 16:10:52 -0400
Received: from localhost (jwnichls@localhost) by sanjuan.cs.washington.edu (8.8.5+CS/7.2ws+) with SMTP id NAA18592; Sat, 24 Jul 1999 13:10:32 -0700 (PDT)
Date: Sat, 24 Jul 1999 13:10:32 -0700 (PDT)
From: Jeffrey Nichols <jwnichls@cs.washington.edu>
To: Greg Badros <gjb@cs.washington.edu>
cc: perry@piermont.com, Maciej Stachowiak <mstachow@alum.mit.edu>,
        scwm-discuss@SCWM.MIT.EDU
Subject: Re: hmmm
In-Reply-To: <qrrd7xiwuap.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.OSF.4.02A.9907241300340.18644-100000@sanjuan.cs.washington.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I can test MkLinux DR3 (for PowerMac) and IBM AIX 4.1 (which is not the
latest version).  I wasn't aware of a version of Redhat for PowerPC,
although LinuxPPC (www.linuxppc.org) does (or at least did in previous
versions) borrow a lot from Redhat.  I could probably test LinuxPPC as
well, but I'd need to get a copy installed first...

	-Jeff

> Here are the platforms I can think of (version numbers omitted when I'm
> unsure what the relevant recent versions are):
> 
> Redhat 4.x/x86 --
> Redhat 5.x/x86 -- gjb
> Redhat 6.x/x86 --
> Redhat 6.x/alpha -- gjb
> Redhat 6.x/powerpc
> Redhat 6.x/sparc
> Debian 2.1/x86 -- Francesco Tapparo?, James Lewis Moss?
> NetBSD -- Perry Metzger
> FreeBSD --
> HP/UX -- Stephen Tell?
> Solaris 2.[56] -- 
> SunOS 4 --
> SGI IRIX --
> IBM AIX --
> Ultrix --

---
Jeff W. Nichols   "There are over forty million lines of code in Windows,
UW CSE                     and I love every one of them."
jwnichls@cs                         - Jean-Louis Gassee CEO, Be Inc.


From owner-scwm-discuss@SCWM.MIT.EDU  Sun Jul 25 18:13:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA10797
	for scwm-discuss-outgoing; Sun, 25 Jul 1999 18:13:00 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA10794
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 25 Jul 1999 18:12:54 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id SAA03620;
	Sun, 25 Jul 1999 18:12:48 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id SAA01895;
	Sun, 25 Jul 1999 18:12:44 -0400 (EDT)
Date: Sun, 25 Jul 1999 18:12:43 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: Greg Badros <gjb@cs.washington.edu>
cc: scwm-discuss@SCWM.MIT.EDU
Subject: some HP/UX success, finally  Re: hmmm
In-Reply-To: <qrrd7xiwuap.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9907251757410.1766-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 23 Jul 1999, Greg Badros wrote:

> HP/UX -- Stephen Tell?

With the configure test and conditional build of pidproperty, I'm now
getting clean builds.  After much fiddling around, I have the cvs version
of this afternoon running well enough to be usable.

I get a lot (.scwmrc-dependent, 576 of them with my .scwmrc) of X error
messages like these after scwm finishes reading the .scwmrc file:

X Error of failed request:  BadValue (integer parameter out of range for
operation)
  Major opcode of failed request:  33 (X_GrabKey)
  Value in failed request:  0x1
  Serial number of failed request:  221
  Current serial number in output stream:  233


Unless I redirect scwm's stderr to a file, things hang really bad. I
suspect that this happens because the messages come while scwm has the
server grabbed or somthing like that, so the xterm can't write them out,
the pty clogs, scwm can't write any more error messages, and the whole
mess comes to a screeching halt.

Other minor problems:

* highlight-current-window.scm is required by flux.scm,
	but scheme/Makefile.am does not install it.

* the run-in-xterm procedure fails, spitting this to stderr:
	xterm: Error 24, errno 22: Invalid argument

I still haven't gotten the preferences dialogs to work:

;;; WARNING (Cannot find library libguiledlopenhelper)
Error loading module: (app scwm preferences)
ERROR: In procedure dynamic-link:
ERROR: Wrong type argument in position 1: #f

Maybe upgrading to Gtk-1.2 and a more recent guile-gtk will help; I'll try
that first.

Steve

-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@SCWM.MIT.EDU  Sun Jul 25 18:39:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA10940
	for scwm-discuss-outgoing; Sun, 25 Jul 1999 18:39:58 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA10936
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 25 Jul 1999 18:39:53 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA04311; Sun, 25 Jul 1999 15:39:38 -0700 (PDT)
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: some HP/UX success, finally  Re: hmmm
References: <Pine.GHP.4.10.9907251757410.1766-100000@rukbat.cs.unc.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Jul 1999 15:39:38 -0700
In-Reply-To: Stephen Tell's message of "Sun, 25 Jul 1999 18:12:43 -0400 (EDT)"
Message-ID: <qrremhwqrpx.fsf@elwha.cs.washington.edu>
Lines: 90
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> On 23 Jul 1999, Greg Badros wrote:
> 
> > HP/UX -- Stephen Tell?
> 
> With the configure test and conditional build of pidproperty, I'm now
> getting clean builds.  After much fiddling around, I have the cvs version
> of this afternoon running well enough to be usable.

Good... 

> I get a lot (.scwmrc-dependent, 576 of them with my .scwmrc) of X error
> messages like these after scwm finishes reading the .scwmrc file:
> 
> X Error of failed request:  BadValue (integer parameter out of range for
> operation)
>   Major opcode of failed request:  33 (X_GrabKey)
>   Value in failed request:  0x1
>   Serial number of failed request:  221
>   Current serial number in output stream:  233

I think these are happening when the various keys are grabbed for the
windows that are added.  You could check by commenting out the call to
GrabKeysForPsw in add_window.c (c. l.715).

If you didn't see this with builds a month or so ago, it's probably due
to my bugfix that makes all the locking modifiers be ignored
w.r.t. keyboard bindings. 

I'm curious about how many X11 errors you get per binding.  Can you
(set-X-server-synchronize #t) and try:

(bind-key 'window "C-S-M-m" noop)

and report the X errors and separately, try:

(bind-key 'window "*-m" noop)

and 

(bind-mouse 'window "C-S-M-1" noop)

and any other interesting combinations you think may be enlightening.

> Unless I redirect scwm's stderr to a file, things hang really bad. I
> suspect that this happens because the messages come while scwm has the
> server grabbed or somthing like that, so the xterm can't write them out,
> the pty clogs, scwm can't write any more error messages, and the whole
> mess comes to a screeching halt.

Interesting... I've been thinking about the need for some example
X11 startup files-- I have a .xsession that tail -f's the error file so
that this problem doesn't occur.  It also starts scwm in a loop, and
re-runs itself as the child of an ssh-agent so that you don't lose your
ssh identity or your X session just because Scwm might happen to crash
(not that that *ever* happens! :-) ).

> Other minor problems:
> 
> * highlight-current-window.scm is required by flux.scm,
> 	but scheme/Makefile.am does not install it.

Ok, fixed, along with lots of other files missing.   The "make check"
target warns me about these, but I hardly ever remember to run "make
check". Thanks!

> 
> * the run-in-xterm procedure fails, spitting this to stderr:
> 	xterm: Error 24, errno 22: Invalid argument

Can you investigate this futher-- run-in-xterm is in base.scm.

> I still haven't gotten the preferences dialogs to work:
> 
> ;;; WARNING (Cannot find library libguiledlopenhelper)
> Error loading module: (app scwm preferences)
> ERROR: In procedure dynamic-link:
> ERROR: Wrong type argument in position 1: #f
> 
> Maybe upgrading to Gtk-1.2 and a more recent guile-gtk will help; I'll try
> that first.

Ok, that'd be good.

Preferences support still works for me, but still needs a lot of
enhancement and re-design to be especially nice.

Thanks!
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Jul 25 19:42:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA11179
	for scwm-discuss-outgoing; Sun, 25 Jul 1999 19:42:36 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA11176
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 25 Jul 1999 19:42:30 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id TAA05320;
	Sun, 25 Jul 1999 19:42:25 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id TAA02656;
	Sun, 25 Jul 1999 19:42:22 -0400 (EDT)
Date: Sun, 25 Jul 1999 19:42:22 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: Greg Badros <gjb@cs.washington.edu>
cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: some HP/UX success, finally  Re: hmmm
In-Reply-To: <qrremhwqrpx.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9907251919150.2269-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 25 Jul 1999, Greg Badros wrote:

> I'm curious about how many X11 errors you get per binding.  Can you
> (set-X-server-synchronize #t) and try:
> 
> (bind-key 'window "C-S-M-m" noop)

The X errors only occur when a new window is opened.  I emptied the
scwm-errors file, started another xterm, and did grep|wc:  144 X_GrabKey
errors added to the file.

Then I did a (bind-key 'window "C-S-A-m" noop) and repeated the
experiment - same number of errors.  (I don't have a meta modifier
defined, so I used Alt instead).

> Interesting... I've been thinking about the need for some example
> X11 startup files-- I have a .xsession that tail -f's the error file so
> that this problem doesn't occur.  It also starts scwm in a loop, and
> re-runs itself as the child of an ssh-agent so that you don't lose your
> ssh identity or your X session just because Scwm might happen to crash
> (not that that *ever* happens! :-) ).
 
I generally have my .Xbegin/.xsession run a single xterm and no window
manager, from which I can fix any problems with the more complicated
startup files that follow (no linux-like text VTs to fall back on here!).
It also gets a proper login shell run, so everything else can inherit
their environment from that.  I use rc, which doesn't have the stupid
".cshrc" hack - all shells expect to be decendants of a login shell.

Anyway, I then have a shell function "xgo" that exec's the real .xinitrc
that runs the window manager last.   I used to want quitting the window
manager to log me out.  This doesn't work so well when debugging a window
manager, so I need to set up somthing different.  What I've done to date
is manually start different scwm versions from the login shell.

>From my point of view, it seems that X11 startup files fall into two
categories - what RedHat or your linux distributor provides (or do they
actualy come with XFree86?), and complete ad-hoc stuff elsewhere.


> > * the run-in-xterm procedure fails, spitting this to stderr:
> > 	xterm: Error 24, errno 22: Invalid argument
> 
> Can you investigate this futher-- run-in-xterm is in base.scm.

This one seems to have gone away when I'm running scwm in an xterm that it
is managing, instead of under gdb in a telnet session from the laptop.
 
 

-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@SCWM.MIT.EDU  Sun Jul 25 20:09:20 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA11306
	for scwm-discuss-outgoing; Sun, 25 Jul 1999 20:09:20 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA11303
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 25 Jul 1999 20:09:15 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA09168; Sun, 25 Jul 1999 17:09:06 -0700 (PDT)
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: some HP/UX success, finally  Re: hmmm
References: <Pine.GHP.4.10.9907251919150.2269-100000@rukbat.cs.unc.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Jul 1999 17:09:06 -0700
In-Reply-To: Stephen Tell's message of "Sun, 25 Jul 1999 19:42:22 -0400 (EDT)"
Message-ID: <qrr9084qnkt.fsf@elwha.cs.washington.edu>
Lines: 81
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> On 25 Jul 1999, Greg Badros wrote:
> 
> > I'm curious about how many X11 errors you get per binding.  Can you
> > (set-X-server-synchronize #t) and try:
> > 
> > (bind-key 'window "C-S-M-m" noop)
> 
> The X errors only occur when a new window is opened.  I emptied the
> scwm-errors file, started another xterm, and did grep|wc:  144 X_GrabKey
> errors added to the file.
> 
> Then I did a (bind-key 'window "C-S-A-m" noop) and repeated the
> experiment - same number of errors.  (I don't have a meta modifier
> defined, so I used Alt instead).

Did you perhaps have that key-binding already bound?  (Scwm won't have
to do an additional grab if the binding already exists).

You can try doing:

(map raw-binding->string (lookup-procedure-bindings))

to get a look at what bindings Scwm knows about.  You can ask more
directly using:

(lookup-key 'window "C-S-M-m")

> > Interesting... I've been thinking about the need for some example
> > X11 startup files-- I have a .xsession that tail -f's the error file so
> > that this problem doesn't occur.  It also starts scwm in a loop, and
> > re-runs itself as the child of an ssh-agent so that you don't lose your
> > ssh identity or your X session just because Scwm might happen to crash
> > (not that that *ever* happens! :-) ).
>  
> I generally have my .Xbegin/.xsession run a single xterm and no window
> manager, from which I can fix any problems with the more complicated
> startup files that follow (no linux-like text VTs to fall back on here!).
> It also gets a proper login shell run, so everything else can inherit
> their environment from that.  I use rc, which doesn't have the stupid
> ".cshrc" hack - all shells expect to be decendants of a login shell.

Not sure which stupid .cshrc hack you mean-- there are so many! :-)  I
use Zsh, but my .xsession sources a $HOME/.env file to establish its
environment as do my shells, etc., and I prune my path and other
appended variables appropriately before ending shell startup.

> Anyway, I then have a shell function "xgo" that exec's the real .xinitrc
> that runs the window manager last.   I used to want quitting the window
> manager to log me out.  This doesn't work so well when debugging a window
> manager, so I need to set up somthing different.  What I've done to date
> is manually start different scwm versions from the login shell.

Right.... that's useful.  My .xsession lets me hit C-c to enter a
different command instead of starting Scwm, and loops on restarting an
xterm and then another Scwm whenever Scwm exits.  (Unless I do
"really-exit-scwm" at a shell, which kills the .xsession).

> >From my point of view, it seems that X11 startup files fall into two
> categories - what RedHat or your linux distributor provides (or do they
> actualy come with XFree86?), and complete ad-hoc stuff elsewhere.

Right, but there's no reason why the Scwm community (especially those
using Alphas/Betas of Scwm) shouldn't benefit from what we've set up for 
our own experimentation and debugging of Scwm.

> > > * the run-in-xterm procedure fails, spitting this to stderr:
> > > 	xterm: Error 24, errno 22: Invalid argument
> > 
> > Can you investigate this futher-- run-in-xterm is in base.scm.
> 
> This one seems to have gone away when I'm running scwm in an xterm that it
> is managing, instead of under gdb in a telnet session from the laptop.

Hmmm... sounds like something obscure that isn't directly Scwm's fault
so I'll let it go...

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Jul 25 22:44:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA11471
	for scwm-discuss-outgoing; Sun, 25 Jul 1999 22:44:50 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from savonarola.red-bean.com (savonarola.red-bean.com [208.245.165.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA11468
	for <scwm-discuss@scwm.mit.edu>; Sun, 25 Jul 1999 22:44:44 -0400
Received: (from jimb@localhost)
	by savonarola.red-bean.com (8.8.7/8.8.7) id VAA17770;
	Sun, 25 Jul 1999 21:44:29 -0500
To: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Cc: guile@cygnus.com, scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se>
From: Jim Blandy <jimb@red-bean.com>
Date: 25 Jul 1999 21:44:29 -0500
In-Reply-To: Mikael Djurfeldt's message of "23 Jul 1999 23:58:27 +0200"
Message-ID: <m31zdwqgdu.fsf@savonarola.red-bean.com>
Lines: 8
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I don't think Guile should include any Scheme-level GC hooks.  That's
a meta-level crossing that I think is particularly nasty.

We should certainly provide both before- and after-gc hooks at the C
level.  These can be used safely and productively (as in SCWM's case),
and they give foolish users the opportunity to hang themselves
however they please.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 26 00:34:56 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA11622
	for scwm-discuss-outgoing; Mon, 26 Jul 1999 00:34:56 -0400
Received: from mail.nf.net (terra.nlnet.nf.ca [192.75.13.101])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA11619
	for <scwm-discuss@scwm.mit.edu>; Mon, 26 Jul 1999 00:34:50 -0400
Received: from behemoth.dethfart.org (n254h002.thezone.net [198.165.254.2])
	by mail.nf.net (8.9.3/8.9.3) with ESMTP id CAA00570;
	Mon, 26 Jul 1999 02:04:34 -0230 (NDT)
Received: (from greg@localhost)
	by behemoth.dethfart.org (8.8.7/8.8.7) id CAA00963;
	Mon, 26 Jul 1999 02:03:22 -0230
X-Authentication-Warning: behemoth.dethfart.org: greg set sender to Greg.Harvey@thezone.net using -f
To: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Cc: guile@cygnus.com, scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se>
From: Greg Harvey <Greg.Harvey@thezone.net>
Date: 26 Jul 1999 02:03:21 -0230
Message-ID: <m3vhb8rpwu.fsf@behemoth.dethfart.org>
Lines: 46
X-Mailer: Gnus v5.6.43/Emacs 20.3
Original-Sender: Greg.Harvey@thezone.net
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> writes:

> OK, that didn't score any points, did it?

That's not it, I didn't have a chance to read it before you followed
up ;'). 

> Let me put it differently:
> 
> Using a special registration function and mechanism for the
> before-gc-hook is certainly one possibility, and, maybe it is the most
> easily maintainable in the long run.
> 
> I'd like to propose two additional alternatives:
> 
> 1. The C programmer sees two hooks
> 
>       scm_before_gc_hook
>       scm_after_gc_hook
> 
>     to which he can attach his C functions (wrapped as a subr).
> 
>     The Scheme programmer sees only after-gc-hook (which is in fact
>     the hook stored in scm_after_gc_hook).
> 
> This is as safe the special registration function alternative, but the
> user interface is more symmetric and less code is required to
> implement it.

I think this is the best way to go. I wasn't entirely sure exactly
what could cause allocation in the evaluator, which was making me a
bit weary of using hooks.

I don't like the approach of reserving cells and allowing scheme code,
because it's pretty much impossible to make it robust (it's different
from reserving cells for threads, because there we can always garbage
collect if we run out), and the benefit really isn't that great
(considering the fact that it does make things more fragile, and does
add a small amount of complexity to the garbage collector); either the
hook is used for a simple notification mechanism, which is just as
easy to write in c as scheme, or it's being used for munging data
structures to prepare for a collection, which is something you'd
probably be doing in c, anyway.

-- 
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 26 06:30:30 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA13515
	for scwm-discuss-outgoing; Mon, 26 Jul 1999 06:30:30 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mdj-pc.nada.kth.se (mail@mdj-pc.nada.kth.se [130.237.224.206])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA13512
	for <scwm-discuss@scwm.mit.edu>; Mon, 26 Jul 1999 06:30:25 -0400
Received: from mdj by mdj-pc.nada.kth.se with local (Exim 3.02 #1 (Debian))
	id 118i0o-00007r-00; Mon, 26 Jul 1999 12:29:38 +0200
To: Jim Blandy <jimb@red-bean.com>
Cc: Greg Harvey <Greg.Harvey@thezone.net>
Cc: guile@cygnus.com, scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se> <m31zdwqgdu.fsf@savonarola.red-bean.com>
Cc: djurfeldt@nada.kth.se
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Date: 26 Jul 1999 12:29:38 +0200
In-Reply-To: Jim Blandy's message of "25 Jul 1999 21:44:29 -0500"
Message-ID: <xy7d7xfzotp.fsf@mdj-pc.nada.kth.se>
Lines: 24
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jim Blandy <jimb@red-bean.com> writes:

> I don't think Guile should include any Scheme-level GC hooks.  That's
> a meta-level crossing that I think is particularly nasty.
> 
> We should certainly provide both before- and after-gc hooks at the C
> level.  These can be used safely and productively (as in SCWM's case),
> and they give foolish users the opportunity to hang themselves
> however they please.

Jim, we *need* at least one gc-hook on the Scheme level.
(We currently have the %gc-thunk.)

Without it we loose the ability to get code executed when GC actually
happens.  It would drain the power of guardians so that they become
*less* powerful than finalization.

A typical thing is to put a guardian harvester procedure on the
after-gc-hook.

What about alternative 1?
It is simple, symmetrical and clean.

?

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 26 06:46:20 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA13620
	for scwm-discuss-outgoing; Mon, 26 Jul 1999 06:46:20 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mail.zrz.tu-berlin.de (mail.zrz.TU-Berlin.DE [130.149.4.15])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA13610
	for <scwm-discuss@scwm.mit.edu>; Mon, 26 Jul 1999 06:46:10 -0400
Received: from grapefruit.zrz.tu-berlin.de
	([130.149.5.204] helo=linux.zrz.TU-Berlin.DE ident=jostobfe)
	  by mail.zrz.tu-berlin.de with esmtp (EXIM-3.02)
	  id 118iGU-0007dM-00; Mon, 26 Jul 1999 12:45:50 +0200
Received: by linux.zrz.TU-Berlin.DE (8.8.5/ZRZ-Gen)
	  id KAA03813; Mon, 26 Jul 1999 10:45:47 GMT
To: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Cc: Jim Blandy <jimb@red-bean.com>, Greg Harvey <Greg.Harvey@thezone.net>,
        guile@cygnus.com, scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se> <m31zdwqgdu.fsf@savonarola.red-bean.com> <xy7d7xfzotp.fsf@mdj-pc.nada.kth.se>
From: Jost Boekemeier <jostobfe@calvados.zrz.TU-Berlin.DE>
Date: 26 Jul 1999 12:45:45 +0200
In-Reply-To: Mikael Djurfeldt's message of "26 Jul 1999 12:29:38 +0200"
Message-ID: <p2toggzy9ie.fsf@grapefruit.zrz.tu-berlin.de>
Lines: 46
X-Mailer: Gnus v5.7/Emacs 20.4
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> writes:

> Jim Blandy <jimb@red-bean.com> writes:
> 
> > I don't think Guile should include any Scheme-level GC hooks.  That's
> > a meta-level crossing that I think is particularly nasty.
> > 
> > We should certainly provide both before- and after-gc hooks at the C
> > level.  These can be used safely and productively (as in SCWM's case),
> > and they give foolish users the opportunity to hang themselves
> > however they please.
> 
> Jim, we *need* at least one gc-hook on the Scheme level.
> (We currently have the %gc-thunk.)
> 
> Without it we loose the ability to get code executed when GC actually
> happens.  It would drain the power of guardians so that they become
> *less* powerful than finalization.
> 
> A typical thing is to put a guardian harvester procedure on the
> after-gc-hook.
> 
> What about alternative 1?
> It is simple, symmetrical and clean.
> 
> ?


Hi,

I haven't red the whole context so the following may lead into a
differend direction but a per object function that gets called when
the garbage collector attempts to collect an object would be nice.

Something like Java's finit function.  This hook may be a C level
hook and should only be used to invalidate c structures associated
with the object (file handles or in my case a pointer to a C function
that must be invalidated -- at the moment I track weak observers by keeping
indirect references into a weak observer array).


Btw:  What are guardians if I may ask stupid questions?


Jost
-- 

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 26 09:21:15 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA13807
	for scwm-discuss-outgoing; Mon, 26 Jul 1999 09:21:15 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from blinky.bfr.co.il (hjstein@morannon.bfr.co.il [192.116.142.129])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA13804
	for <scwm-discuss@scwm.mit.edu>; Mon, 26 Jul 1999 09:21:09 -0400
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id QAA04657; Mon, 26 Jul 1999 16:17:28 +0300
To: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Cc: Greg Harvey <Greg.Harvey@thezone.net>, guile@cygnus.com,
        scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 26 Jul 1999 16:17:27 +0300
In-Reply-To: Mikael Djurfeldt's message of "23 Jul 1999 23:58:27 +0200"
Message-ID: <m2hfmreejc.fsf@blinky.bfr.co.il>
Lines: 30
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> writes:

 > Using a special registration function and mechanism for the
 > before-gc-hook is certainly one possibility, and, maybe it is the most
 > easily maintainable in the long run.
 > 
 > I'd like to propose two additional alternatives:
 > 
 > 1. The C programmer sees two hooks
 > 
 >       scm_before_gc_hook
 >       scm_after_gc_hook
 > 
 >     to which he can attach his C functions (wrapped as a subr).
 > 
 >     The Scheme programmer sees only after-gc-hook (which is in fact
 >     the hook stored in scm_after_gc_hook).
 > 
 > This is as safe the special registration function alternative, but the
 > user interface is more symmetric and less code is required to
 > implement it.

Why is a C function on scm_before_gc_hook any safer than a Scheme
function?  The C function can just as easily call guile functions
which require space to be grabbed.

-- 
Harvey J. Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 26 11:07:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA13965
	for scwm-discuss-outgoing; Mon, 26 Jul 1999 11:07:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA13962
	for <scwm-discuss@scwm.mit.edu>; Mon, 26 Jul 1999 11:07:37 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA27982; Mon, 26 Jul 1999 08:07:25 -0700 (PDT)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: guile@cygnus.com, scwm-discuss@scwm.mit.edu
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se> <m2hfmreejc.fsf@blinky.bfr.co.il>
From: Greg Badros <gjb@cs.washington.edu>
Date: 26 Jul 1999 08:07:24 -0700
In-Reply-To: hjstein@bfr.co.il's message of "26 Jul 1999 16:17:27 +0300"
Message-ID: <qrrhfmrphzn.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

<snip>

> Why is a C function on scm_before_gc_hook any safer than a Scheme
> function?  The C function can just as easily call guile functions
> which require space to be grabbed.

It's not enforcibly any safer than a Scheme function; it'd be part of
the contract with the registration procedure that whatever C function
you register will not call any guile-level functions (or perhaps
something slightly less restrictive -- the point is that the C procedure 
is easier to write to be well-behaved).

Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 26 11:59:46 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA14091
	for scwm-discuss-outgoing; Mon, 26 Jul 1999 11:59:46 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mdj-pc.nada.kth.se (mail@mdj-pc.nada.kth.se [130.237.224.206])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA14088
	for <scwm-discuss@scwm.mit.edu>; Mon, 26 Jul 1999 11:59:41 -0400
Received: from mdj by mdj-pc.nada.kth.se with local (Exim 3.02 #1 (Debian))
	id 118n9c-0000A5-00; Mon, 26 Jul 1999 17:59:04 +0200
To: Jost Boekemeier <jostobfe@calvados.zrz.TU-Berlin.DE>
Cc: Jim Blandy <jimb@red-bean.com>, Greg Harvey <Greg.Harvey@thezone.net>,
        guile@cygnus.com, scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se> <m31zdwqgdu.fsf@savonarola.red-bean.com> <xy7d7xfzotp.fsf@mdj-pc.nada.kth.se> <p2toggzy9ie.fsf@grapefruit.zrz.tu-berlin.de>
Cc: djurfeldt@nada.kth.se
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Date: 26 Jul 1999 17:59:04 +0200
In-Reply-To: Jost Boekemeier's message of "26 Jul 1999 12:45:45 +0200"
Message-ID: <xy7u2qrmmgn.fsf@mdj-pc.nada.kth.se>
Lines: 29
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jost Boekemeier <jostobfe@calvados.zrz.TU-Berlin.DE> writes:

> I haven't red the whole context so the following may lead into a
> differend direction but a per object function that gets called when
> the garbage collector attempts to collect an object would be nice.
> 
> Something like Java's finit function.  This hook may be a C level
> hook and should only be used to invalidate c structures associated
> with the object (file handles or in my case a pointer to a C function
> that must be invalidated -- at the moment I track weak observers by keeping
> indirect references into a weak observer array).

Sure.

Look at scm_set_smob_free and scm_set_port_free.

> Btw:  What are guardians if I may ask stupid questions?

It's a nice mechanism for specifying side-effects when objects are
GC:d.

>From NEWS:

** New function: make-guardian
This is an implementation of guardians as described in
R. Kent Dybvig, Carl Bruggeman, and David Eby (1993) "Guardians in a
Generation-Based Garbage Collector" ACM SIGPLAN Conference on
Programming Language Design and Implementation, June 1993
ftp://ftp.cs.indiana.edu/pub/scheme-repository/doc/pubs/guardians.ps.gz

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 26 12:03:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA14144
	for scwm-discuss-outgoing; Mon, 26 Jul 1999 12:03:11 -0400
Received: from mail.nf.net (terra.nlnet.nf.ca [192.75.13.101])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA14140
	for <scwm-discuss@scwm.mit.edu>; Mon, 26 Jul 1999 12:03:08 -0400
Received: from behemoth.dethfart.org (n254h002.thezone.net [198.165.254.2])
	by mail.nf.net (8.9.3/8.9.3) with ESMTP id NAA04651;
	Mon, 26 Jul 1999 13:28:42 -0230 (NDT)
Received: (from greg@localhost)
	by behemoth.dethfart.org (8.8.7/8.8.7) id NAA00366;
	Mon, 26 Jul 1999 13:27:29 -0230
X-Authentication-Warning: behemoth.dethfart.org: greg set sender to Greg.Harvey@thezone.net using -f
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>, guile@cygnus.com,
        scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se> <m2hfmreejc.fsf@blinky.bfr.co.il>
From: Greg Harvey <Greg.Harvey@thezone.net>
Date: 26 Jul 1999 13:27:29 -0230
Message-ID: <m3emhvcsk6.fsf@behemoth.dethfart.org>
Lines: 13
X-Mailer: Gnus v5.6.43/Emacs 20.3
Original-Sender: Greg.Harvey@thezone.net
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Why is a C function on scm_before_gc_hook any safer than a Scheme
> function? The C function can just as easily call guile functions
> which require space to be grabbed.

Yes, but the c function isn't going to use any allocation unless you
tell it to (assuming that the evaluator won't do any consing, for the
(whatever)subr0(whatever) types ); you can't make the same guarantee
about a scheme function.

-- 
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 26 12:06:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA14211
	for scwm-discuss-outgoing; Mon, 26 Jul 1999 12:06:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mdj-pc.nada.kth.se (mail@mdj-pc.nada.kth.se [130.237.224.206])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA14200
	for <scwm-discuss@scwm.mit.edu>; Mon, 26 Jul 1999 12:05:39 -0400
Received: from mdj by mdj-pc.nada.kth.se with local (Exim 3.02 #1 (Debian))
	id 118nF8-0000AG-00; Mon, 26 Jul 1999 18:04:46 +0200
To: Jost Boekemeier <jostobfe@calvados.zrz.TU-Berlin.DE>
Cc: Jim Blandy <jimb@red-bean.com>, Greg Harvey <Greg.Harvey@thezone.net>,
        guile@cygnus.com, scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se> <m31zdwqgdu.fsf@savonarola.red-bean.com> <xy7d7xfzotp.fsf@mdj-pc.nada.kth.se> <p2toggzy9ie.fsf@grapefruit.zrz.tu-berlin.de> <xy7u2qrmmgn.fsf@mdj-pc.nada.kth.se>
Cc: djurfeldt@nada.kth.se
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Date: 26 Jul 1999 18:04:46 +0200
In-Reply-To: Mikael Djurfeldt's message of "26 Jul 1999 17:59:04 +0200"
Message-ID: <xy7so6bmm75.fsf@mdj-pc.nada.kth.se>
Lines: 12
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> writes:

> Look at scm_set_smob_free and scm_set_port_free.

Ah, now I remember that you said "per object".

Since it isn't very common in Scheme to need to do anything special
when an object is GC:d it would be bad cost/benefit to have a GC slot
per default.

You can always arrange for this yourself by letting the free function
of your own objects call a slot you have reserved for such a function.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 26 12:15:46 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA14349
	for scwm-discuss-outgoing; Mon, 26 Jul 1999 12:15:46 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from bouvreuil.cybercable.fr (bouvreuil.cybercable.fr [212.198.3.12])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id MAA14344
	for <scwm-discuss@scwm.mit.edu>; Mon, 26 Jul 1999 12:15:39 -0400
Received: (qmail 17582 invoked from network); 26 Jul 1999 16:00:06 -0000
Received: from d241.paris-126.cybercable.fr (HELO ZhengHe) (@[212.198.126.241]) (envelope-sender <fare@tunes.org>)
          by bouvreuil.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <scwm-discuss@scwm.mit.edu>; 26 Jul 1999 16:00:06 -0000
Received: from fare by ZhengHe with local (Exim 3.02 #1 (Debian))
	id 118nAY-0000SS-00; Mon, 26 Jul 1999 18:00:02 +0200
Date: Mon, 26 Jul 1999 18:00:01 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: scwm bug report
Message-ID: <19990726180001.A1753@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dear SCWM developers,
   I'm pleased that there is no more virtual screen mess when restarting
SCWM from another viewport than home.

Here is an error I get at startup:

Scwm post0.99.1
Display Size: (1024 768)
Viewport Position: (0 0)
Current Desk: 0
Error loading module: (app scwm prefs-menu)
ERROR: In procedure error in expression (error "unrecognized defmodule argument"
 kws):
ERROR: unrecognized defmodule argument (:use-modules (ice-9 string-fun))

My scwm.out is also full of duplicate entries of:

[Scwm][ScwmErrorHandler]: <<ERROR>> *** X11 error ***
Request 33, Error 2, EventType: 0

and

[Scwm][ScwmErrorHandler]: <<ERROR>> *** X11 error ***
Request 33, Error 2, EventType: 28

also, the memory leak is still not resolved, and I have to restart scwm
every so often.

Scwm Version post0.99.1 compiled on Jul 24 1999 at 12:21:04
RCS_ID=$Id: scwm.c,v 1.197 1999/07/18 07:40:57 gjb Exp $
Repository Timestamp: Fri Jul 23 20:30:53 EDT 1999 -- $Revision: 1.1974 $

Guile 1.3 under Debian potato.

Thanks for SCWM,

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
Is there absolutely no absolute? Isn't relativity relative?

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 26 12:28:03 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA14448
	for scwm-discuss-outgoing; Mon, 26 Jul 1999 12:28:03 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA14445
	for <scwm-discuss@scwm.mit.edu>; Mon, 26 Jul 1999 12:28:00 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA02389; Mon, 26 Jul 1999 09:27:54 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: scwm bug report
References: <19990726180001.A1753@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 26 Jul 1999 09:27:54 -0700
In-Reply-To: Francois-Rene Rideau's message of "Mon, 26 Jul 1999 18:00:01 +0200"
Message-ID: <qrrbtczpe9h.fsf@elwha.cs.washington.edu>
Lines: 48
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> Dear SCWM developers,
>    I'm pleased that there is no more virtual screen mess when restarting
> SCWM from another viewport than home.

Glad that bug fix is working out for others.

> Here is an error I get at startup:
> 
> Scwm post0.99.1
> Display Size: (1024 768)
> Viewport Position: (0 0)
> Current Desk: 0
> Error loading module: (app scwm prefs-menu)
> ERROR: In procedure error in expression (error "unrecognized defmodule argument"
>  kws):
> ERROR: unrecognized defmodule argument (:use-modules (ice-9 string-fun))

This already fixed-- path-cache.scm just had a type ":use-modules"
instead of ":use-module".

> My scwm.out is also full of duplicate entries of:
> 
> [Scwm][ScwmErrorHandler]: <<ERROR>> *** X11 error ***
> Request 33, Error 2, EventType: 0
> 
> and
> 
> [Scwm][ScwmErrorHandler]: <<ERROR>> *** X11 error ***
> Request 33, Error 2, EventType: 28

These I think are the same as Stephen Tell reported-- you can use
X-error-describe to better decode them.... has to do with the bug-fix
for letting ScrollLock/NumLock, etc. be ignored w.r.t. key bindings.  I
don't get the errors here, so I need help tracking down the problem....

> also, the memory leak is still not resolved, and I have to restart scwm
> every so often.

Maciej is hoping to have time to look into that this week.

> Thanks for SCWM,

You're welcome.  Thanks for all your help testing it and reporting bugs
so quickly and reliably!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 26 12:48:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA14599
	for scwm-discuss-outgoing; Mon, 26 Jul 1999 12:48:21 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from bouvreuil.cybercable.fr (bouvreuil.cybercable.fr [212.198.3.12])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id MAA14596
	for <scwm-discuss@scwm.mit.edu>; Mon, 26 Jul 1999 12:48:15 -0400
Received: (qmail 14115 invoked from network); 26 Jul 1999 16:48:09 -0000
Received: from d241.paris-126.cybercable.fr (HELO ZhengHe) (@[212.198.126.241]) (envelope-sender <fare@tunes.org>)
          by bouvreuil.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <scwm-discuss@scwm.mit.edu>; 26 Jul 1999 16:48:09 -0000
Received: from fare by ZhengHe with local (Exim 3.02 #1 (Debian))
	id 118nv2-00027Q-00; Mon, 26 Jul 1999 18:48:04 +0200
Date: Mon, 26 Jul 1999 18:48:03 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: scwm bug report
Message-ID: <19990726184803.A7072@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19990726180001.A1753@ZhengHe.augustin.thierry> <qrrbtczpe9h.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrrbtczpe9h.fsf@elwha.cs.washington.edu>; from Greg Badros on Mon, Jul 26, 1999 at 09:27:54AM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

> This already fixed-- path-cache.scm just had a type ":use-modules"
> instead of ":use-module".
Hum. From now on, I'll try to only report bugs from latest CVS scwm...

BTW, shouldn't /usr/local/lib/scwm/pixmaps
instead be /usr/local/share/scwm/pixmaps ???
I thought pixmaps where portable...

> These I think are the same as Stephen Tell reported--
Hum. Not subscribed :(

> you can use X-error-describe to better decode them....
Where can I find that?

> don't get the errors here, so I need help tracking down the problem....
How can I help?

Bye!

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
You worry too much about your job.  Stop it.  You're not paid enough to worry.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 26 13:04:56 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA14837
	for scwm-discuss-outgoing; Mon, 26 Jul 1999 13:04:56 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA14834
	for <scwm-discuss@scwm.mit.edu>; Mon, 26 Jul 1999 13:04:52 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA04417; Mon, 26 Jul 1999 10:04:47 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: scwm bug report
References: <19990726180001.A1753@ZhengHe.augustin.thierry> <qrrbtczpe9h.fsf@elwha.cs.washington.edu> <19990726184803.A7072@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 26 Jul 1999 10:04:46 -0700
In-Reply-To: Francois-Rene Rideau's message of "Mon, 26 Jul 1999 18:48:03 +0200"
Message-ID: <qrr3dybpck1.fsf@elwha.cs.washington.edu>
Lines: 47
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> > This already fixed-- path-cache.scm just had a type ":use-modules"
> > instead of ":use-module".
> Hum. From now on, I'll try to only report bugs from latest CVS scwm...

I'd rather have you report a bug that's already fixed, than not report a 
bug that might not be fixed, so don't be shy about reporting because you 
want to double check that it's not in the latest CVS (if you have time,
by all means double-check;  it does save us time, of course!)

> BTW, shouldn't /usr/local/lib/scwm/pixmaps
> instead be /usr/local/share/scwm/pixmaps ???
> I thought pixmaps where portable...

Yep.  Should be... I switched configure.in to use ${datadir} instead of
${libdir} for pixmaps.

> > These I think are the same as Stephen Tell reported--
> Hum. Not subscribed :(

You should definitely subscribe... is there a reason why you cannot?

> > you can use X-error-describe to better decode them....
> Where can I find that?

utilities/dev/X-error-describe;  it's just a little perl script I wrote.

BTW, `locate' is your friend when you're not sure where to find a
file. (Or find . -name "X-error-describe").

> > don't get the errors here, so I need help tracking down the problem....
> How can I help?

Use (set-X-server-synchronize #t), and bind a new key combination to, say, noop:

(bind-key 'window "C-S-b" noop)

and let me know what X11 errors/warnings you get.

It may be helpful to start with -f /dev/null so that only minimal.scm
gets read in (fewer key bindings).  Also, if you can't get any X11
warnings upon executing bind-key, start a new xterm and see if you get
any when that window gets reparented and decorated.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 26 14:03:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA15124
	for scwm-discuss-outgoing; Mon, 26 Jul 1999 14:03:08 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA15121
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 26 Jul 1999 14:03:03 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id OAA04193;
	Mon, 26 Jul 1999 14:02:58 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id OAA11668;
	Mon, 26 Jul 1999 14:02:57 -0400 (EDT)
Date: Mon, 26 Jul 1999 14:02:57 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: Greg Badros <gjb@cs.washington.edu>
cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: some HP/UX success, finally  Re: hmmm
In-Reply-To: <qrr9084qnkt.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9907261252330.9610-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 25 Jul 1999, Greg Badros wrote:

> Did you perhaps have that key-binding already bound?  (Scwm won't have
> to do an additional grab if the binding already exists).

> You can try doing:
> (map raw-binding->string (lookup-procedure-bindings))

I experimented some more, and confirmed that adding new key bindings
doesn't change the number of X_GrabKey errors - but adding mouse bindings
and then creating a new window does!  For example:
(bind-mouse 'all "C-S-A-3" noop)

the output from
(for-each (lambda (s) (display (raw-binding->string s))(newline)) (lookup-procedure-bindings))
does look reasonable given the bindings I added:
Context all:: key: S-C-A-m -> noop, <none>
Context all:: mouse: S-C-A-3 -> noop, <none>
Context all:: mouse: S-C-A-1 -> noop, <none>


Got it! I set a breakpoint in ScwmErrorHandler, and did a traceback - the
errors were down below GrabIconKeys, which had a typo in the test of
pbnd->IsMouse.

Fix:

rukbat;scwm; cvs diff -c icons.c
Index: icons.c
===================================================================
RCS file: /anoncvs/scwm/scwm/icons.c,v
retrieving revision 1.68
diff -c -r1.68 icons.c
*** icons.c     1999/07/17 08:35:32     1.68
--- icons.c     1999/07/26 17:54:15
***************
*** 101,107 ****
  
    for (pbnd = Scr.AllBindings; pbnd; pbnd = pbnd->NextBinding) {
      if ((pbnd->Context & C_ICON) && 
!         !pbnd->IsMouse == 0) {
        GrabKeyWithModifiersWin(pbnd->Button_Key,pbnd->Modifier,w);
      }
    }
--- 101,107 ----
  
    for (pbnd = Scr.AllBindings; pbnd; pbnd = pbnd->NextBinding) {
      if ((pbnd->Context & C_ICON) && 
!         !pbnd->IsMouse) {
        GrabKeyWithModifiersWin(pbnd->Button_Key,pbnd->Modifier,w);
      }
    }


A general hint on gdb'ing scwm - tracebacks out of the X error handlers
are nothing but confusing unless XSynchronize has been called - which
doesn't happen until after scwm has started up.  Since this error could
turn up either during startup or later on, I set a breakpoint in scwm.c
just after the if(debugging) XSynchronize(...) call, and after I got to
that one, added the breakpoint on ScwmErrorHandler().  Then continue
runing, procede to do the action that tickles the error, and get the
traceback.



> Not sure which stupid .cshrc hack you mean-- there are so many! :-) 
That rant was really about the whole notion of having every new shell go
off and read some file when it starts up - /bin/sh never did that, and
still doesn't.


-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845



From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 26 15:07:22 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA15292
	for scwm-discuss-outgoing; Mon, 26 Jul 1999 15:07:22 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from blinky.bfr.co.il (hjstein@morannon.bfr.co.il [192.116.142.129])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA15289
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 26 Jul 1999 15:07:07 -0400
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id WAA06141; Mon, 26 Jul 1999 22:01:41 +0300
To: Greg Harvey <Greg.Harvey@thezone.net>
Cc: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>, guile@cygnus.com,
        scwm-discuss@SCWM.MIT.EDU, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se> <m2hfmreejc.fsf@blinky.bfr.co.il> <m3emhvcsk6.fsf@behemoth.dethfart.org>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 26 Jul 1999 22:01:40 +0300
In-Reply-To: Greg Harvey's message of "26 Jul 1999 13:27:29 -0230"
Message-ID: <m2vhb7ck17.fsf@blinky.bfr.co.il>
Lines: 23
X-Mailer: Gnus v5.6.4/Emacs 19.34
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Harvey <Greg.Harvey@thezone.net> writes:

 > hjstein@bfr.co.il (Harvey J. Stein) writes:
 > 
 > > Why is a C function on scm_before_gc_hook any safer than a Scheme
 > > function? The C function can just as easily call guile functions
 > > which require space to be grabbed.
 > 
 > Yes, but the c function isn't going to use any allocation unless you
 > tell it to (assuming that the evaluator won't do any consing, for the
 > (whatever)subr0(whatever) types ); you can't make the same guarantee
 > about a scheme function.

If the evaluator doesn't do any consing then the same scheme fcns are
as safe from Scheme as they are from C.  I don't see why saying "You
can only use the following fcns in the scm_before_gc_hook" is any
better for C code than for Scheme code.  So, I don't see why it'd be
considered OK to supply a C hook but not a Scheme hook.

-- 
Harvey J. Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 26 15:22:37 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA15446
	for scwm-discuss-outgoing; Mon, 26 Jul 1999 15:22:37 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA15443
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 26 Jul 1999 15:22:34 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA12013; Mon, 26 Jul 1999 12:22:26 -0700 (PDT)
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: some HP/UX success, finally  Re: hmmm
References: <Pine.GHP.4.10.9907261252330.9610-100000@rukbat.cs.unc.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 26 Jul 1999 12:22:25 -0700
In-Reply-To: Stephen Tell's message of "Mon, 26 Jul 1999 14:02:57 -0400 (EDT)"
Message-ID: <qrrwvvnnrm6.fsf@elwha.cs.washington.edu>
Lines: 40
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> On 25 Jul 1999, Greg Badros wrote:
> 
> Got it! I set a breakpoint in ScwmErrorHandler, and did a traceback - the
> errors were down below GrabIconKeys, which had a typo in the test of
> pbnd->IsMouse.

Great-- thanks!  Nice work.... I suppose the reason why I wasn't getting 
it is I do not use icons or icon bindings.

> Fix:

Applied-- thanks!

> A general hint on gdb'ing scwm - tracebacks out of the X error handlers
> are nothing but confusing unless XSynchronize has been called - which
> doesn't happen until after scwm has started up.  Since this error could
> turn up either during startup or later on, I set a breakpoint in scwm.c
> just after the if(debugging) XSynchronize(...) call, and after I got to
> that one, added the breakpoint on ScwmErrorHandler().  Then continue
> runing, procede to do the action that tickles the error, and get the
> traceback.

Yep... that's why I always suggest the (and originally implemented
the) set-X-server-synchronize! call to help out.  

I'll try a build with the XSynchronize call moved way up earlier (still
protecting by if (debugging) {..}) since I think that might help.

> > Not sure which stupid .cshrc hack you mean-- there are so many! :-) 
> That rant was really about the whole notion of having every new shell go
> off and read some file when it starts up - /bin/sh never did that, and
> still doesn't.

Gotcha... newer shells often have their own state that needs to get
initialized that is not propagated from their parent process's
environment, though.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 26 18:30:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA15880
	for scwm-discuss-outgoing; Mon, 26 Jul 1999 18:30:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mdj-pc.nada.kth.se (mail@mdj-pc.nada.kth.se [130.237.224.206])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA15877
	for <scwm-discuss@scwm.mit.edu>; Mon, 26 Jul 1999 18:30:13 -0400
Received: from mdj by mdj-pc.nada.kth.se with local (Exim 3.02 #1 (Debian))
	id 118tEd-0000Dk-00; Tue, 27 Jul 1999 00:28:39 +0200
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: Greg Harvey <Greg.Harvey@thezone.net>, guile@cygnus.com,
        scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se> <m2hfmreejc.fsf@blinky.bfr.co.il> <m3emhvcsk6.fsf@behemoth.dethfart.org> <m2vhb7ck17.fsf@blinky.bfr.co.il>
Cc: djurfeldt@nada.kth.se
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Date: 27 Jul 1999 00:28:39 +0200
In-Reply-To: hjstein@bfr.co.il's message of "26 Jul 1999 22:01:40 +0300"
Message-ID: <xy7n1wjxcyw.fsf@mdj-pc.nada.kth.se>
Lines: 22
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> If the evaluator doesn't do any consing then the same scheme fcns are
> as safe from Scheme as they are from C.

Actually, the evaluator normally does a lot of consing when evaluating
Scheme code (primarily when creating environment frames and building
argument lists).

But run-hooks doesn't cons anything if the hooks are a list of subrs.

Of course, consing can happen also if the before-gc-hook is
implemented with a new purely C mechanism (if the code calls any of a
certain subset of functions in the gh and scm interfaces).

So, it's the very idea of a before-gc-hook which could be considered a
bit unclean.

On the other hand, it is very useful.

So, having the scm_before_gc_hook/scm_after_gc_hook from C, and
after-gc-hook from Scheme is probably a good idea.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Jul 26 21:31:03 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA16283
	for scwm-discuss-outgoing; Mon, 26 Jul 1999 21:31:03 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA16278
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 26 Jul 1999 21:30:59 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id VAA21197
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 26 Jul 1999 21:30:52 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id VAA15253;
	Mon, 26 Jul 1999 21:30:46 -0400 (EDT)
Date: Mon, 26 Jul 1999 21:30:46 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: scwm-discuss@SCWM.MIT.EDU
Subject: focus changes?
In-Reply-To: <qrrwvvnnrm6.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9907262118090.11561-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I've noticed a few changes in window-focus and window highlighting
behavior between the 19990506 snapshot I was running for a while, and scwm
just recently compiled from cvs:

I've got some key bindings to flip between various desks.  It used to be
that scwm would remember which window had the keyboard focus in each desk.
Now, it only sometimes gets the focus right, and it never seems to 
properly highlight the border/titlebar of the window with the focus
after changing desks.

I'm using (window-style "*" #:focus 'click).



Also, back around that May snapshot and before, when scwm started up it
would leave prexisting windows alone, at least until it had finished
initialization. I could start typing in an xterm, and get down to work
while scwm got its act together around me.  I worked out a little hack for
the the end of my .scwmrc to get it to start of with focus in the window
where I was typing,
	(add-hook! startup-hook (lambda ()
	 (let ((w(current-window-with-pointer)))
                                      (if w (focus w)))))
but this doesn't seem to work any more.

Now scwm seems to steal focus away from where the naked unmanaged X-server
had it, long before its ready to be interactive.  I noticed the option to
blank the screen - maybe nice for some folks, but the delay is too short
to go for coffee, and long enough to be annoying, so I'd rather just art
typing.

Are there any configuration items I should be setting in .scwmrc to help
either of these little things?


Steve







-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 27 11:44:31 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA18637
	for scwm-discuss-outgoing; Tue, 27 Jul 1999 11:44:31 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA18625
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 27 Jul 1999 11:44:24 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA16741; Tue, 27 Jul 1999 08:44:11 -0700 (PDT)
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: focus changes?
References: <Pine.GHP.4.10.9907262118090.11561-100000@rukbat.cs.unc.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Jul 1999 08:44:10 -0700
In-Reply-To: Stephen Tell's message of "Mon, 26 Jul 1999 21:30:46 -0400 (EDT)"
Message-ID: <qrremhukshh.fsf@elwha.cs.washington.edu>
Lines: 48
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> I've noticed a few changes in window-focus and window highlighting
> behavior between the 19990506 snapshot I was running for a while, and scwm
> just recently compiled from cvs:
> 
> I've got some key bindings to flip between various desks.  It used to be
> that scwm would remember which window had the keyboard focus in each desk.
> Now, it only sometimes gets the focus right, and it never seems to 
> properly highlight the border/titlebar of the window with the focus
> after changing desks.
> 
> I'm using (window-style "*" #:focus 'click).

Ahhh... yes... my change on July 4th broke this, I think.  Though I
could fix this in the C source, maybe a better solution is for you to
use the change-desk-hook with something like the below -- focus on the
current-window-with-pointer.  If that doesn't work, we'll need to make
it work.

> Also, back around that May snapshot and before, when scwm started up it
> would leave prexisting windows alone, at least until it had finished
> initialization. I could start typing in an xterm, and get down to work
> while scwm got its act together around me.  I worked out a little hack for
> the the end of my .scwmrc to get it to start of with focus in the window
> where I was typing,
> 	(add-hook! startup-hook (lambda ()
> 	 (let ((w(current-window-with-pointer)))
>                                       (if w (focus w)))))
> but this doesn't seem to work any more.
> 
> Now scwm seems to steal focus away from where the naked unmanaged X-server
> had it, long before its ready to be interactive.  I noticed the option to
> blank the screen - maybe nice for some folks, but the delay is too short
> to go for coffee, and long enough to be annoying, so I'd rather just art
> typing.
> 
> Are there any configuration items I should be setting in .scwmrc to help
> either of these little things?

Nope, I had just moved the creation of the NoFocusWin to earlier in the
startup code and didn't remove the setting of focus to it.  I've now
committed my change, so see if things work for you with your old
procedure for startup-hook and something similar for change-desk-hook.

Thanks for bringing these subtleties up!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 27 13:07:31 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA18847
	for scwm-discuss-outgoing; Tue, 27 Jul 1999 13:07:31 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA18844
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 27 Jul 1999 13:07:25 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id NAA15452;
	Tue, 27 Jul 1999 13:07:18 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id NAA21973;
	Tue, 27 Jul 1999 13:07:15 -0400 (EDT)
Date: Tue, 27 Jul 1999 13:07:15 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: Greg Badros <gjb@cs.washington.edu>
cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: focus changes?
In-Reply-To: <qrremhukshh.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9907271152550.11561-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 27 Jul 1999, Greg Badros wrote:

> Stephen Tell <tell@cs.unc.edu> writes:
> 
> > I've noticed a few changes in window-focus and window highlighting
> > behavior between the 19990506 snapshot I was running for a while, and scwm
> > just recently compiled from cvs:
> > 
> > I've got some key bindings to flip between various desks.  It used to be
> > that scwm would remember which window had the keyboard focus in each desk.
> > Now, it only sometimes gets the focus right, and it never seems to 
> > properly highlight the border/titlebar of the window with the focus
> > after changing desks.
> > 
> > I'm using (window-style "*" #:focus 'click).
> 
> Ahhh... yes... my change on July 4th broke this, I think.  Though I
> could fix this in the C source, maybe a better solution is for you to
> use the change-desk-hook with something like the below -- focus on the
> current-window-with-pointer.  If that doesn't work, we'll need to make
> it work.

Unless I'm misunderstanding, I don't see how focusing to the
current-window-with-pointer will do what I want - when changing desks, I
don't want the window under the pointer to get the focus, but rather the
window in the destination desk that had the focus last time that desk was
the current desk, regardless of the mouse pointer position.  I always
thought this behavior was very cool - was it just an accident that things
worked this way in 0.9 and snapshots up until recently?

I'm playing around more right now and I'm having trouble understanding
just what the current behavior actually is.  Looks like switching desks
wrecks click-to-focus and goes back to focus-follows-mouse until you click
in a window, Which window's title/border is highlighted seems to have 
little to do with where the focus is going.



A related desk-switching questions:  when a new window is directed to
a desk by for example 
(window-style (class-match?? "Netscape") #:start-on-desk 1)

Is there a way to supress switching current desks, and instead just let
the window come up on the other desk unseen? With slow-starting programs,
I tend to fire them off ahead of when I think I'll need them, then keep
working while they get started.

A global mode for this would work for me, but ultimately it could be
combined with run-renamed so only certain programs would see this
behavior.  I'm sort of imagining a "start-slow-bloated-program" procedure
that would put the windows on the appointed desk, or at least have them
come up on the bottom of the stack and not take the focus.

Steve


-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845



From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 27 13:25:28 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA18965
	for scwm-discuss-outgoing; Tue, 27 Jul 1999 13:25:28 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from jekyll.piermont.com (jekyll.piermont.com [206.1.51.15])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA18962
	for <scwm-discuss@scwm.mit.edu>; Tue, 27 Jul 1999 13:25:26 -0400
Received: by jekyll.piermont.com (Postfix, from userid 1000)
	id 23E8B1A5; Tue, 27 Jul 1999 13:25:22 -0400 (EDT)
To: scwm-discuss@scwm.mit.edu
Subject: houston, we have a problem
Message-Id: <19990727172522.23E8B1A5@jekyll.piermont.com>
Date: Tue, 27 Jul 1999 13:25:22 -0400 (EDT)
From: perry@piermont.com (Perry E. Metzger)
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


perry@jekyll$ scwm
/usr/libexec/ld.so: Undefined symbol "_scm_thread_count" in scwm:scwm

Yuck.

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 27 13:56:35 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA19140
	for scwm-discuss-outgoing; Tue, 27 Jul 1999 13:56:35 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA19137
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 27 Jul 1999 13:56:29 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA23996; Tue, 27 Jul 1999 10:56:20 -0700 (PDT)
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: focus changes?
References: <Pine.GHP.4.10.9907271152550.11561-100000@rukbat.cs.unc.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Jul 1999 10:56:20 -0700
In-Reply-To: Stephen Tell's message of "Tue, 27 Jul 1999 13:07:15 -0400 (EDT)"
Message-ID: <qrr3dyakmd7.fsf@elwha.cs.washington.edu>
Lines: 58
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> > Ahhh... yes... my change on July 4th broke this, I think.  Though I
> > could fix this in the C source, maybe a better solution is for you to
> > use the change-desk-hook with something like the below -- focus on the
> > current-window-with-pointer.  If that doesn't work, we'll need to make
> > it work.
> 
> Unless I'm misunderstanding, I don't see how focusing to the
> current-window-with-pointer will do what I want - when changing desks, I
> don't want the window under the pointer to get the focus, but rather the
> window in the destination desk that had the focus last time that desk was
> the current desk, regardless of the mouse pointer position.  I always
> thought this behavior was very cool - was it just an accident that things
> worked this way in 0.9 and snapshots up until recently?
> 
> I'm playing around more right now and I'm having trouble understanding
> just what the current behavior actually is.  Looks like switching desks
> wrecks click-to-focus and goes back to focus-follows-mouse until you click
> in a window, Which window's title/border is highlighted seems to have 
> little to do with where the focus is going.

You're right;  I wasn't paying enough attention to the logic that was
choosing the Focus window.  See if the now-latest version from CVS has
better behaviour.

Did my other change help preserve your focussed window longer at
startup?

> A related desk-switching questions:  when a new window is directed to
> a desk by for example 
> (window-style (class-match?? "Netscape") #:start-on-desk 1)
> 
> Is there a way to supress switching current desks, and instead just let
> the window come up on the other desk unseen? With slow-starting programs,
> I tend to fire them off ahead of when I think I'll need them, then keep
> working while they get started.

We were looking into this with the pidproperty stuff that I was writing
just before leaving Australia.  The problem is that there is no built-in 
reliable way to be able to tell from a mapped window what it was that
created it.  The framework is now in place for using
scwm_set_pid_property when exec-ing a process to permit the mapped
windows to know arbitrary extra information about how the program was
started and use that to do whatever we want.  Somebody just needs to
decide how to nicely use that capability to give users what they want. 

> A global mode for this would work for me, but ultimately it could be
> combined with run-renamed so only certain programs would see this
> behavior.  I'm sort of imagining a "start-slow-bloated-program" procedure
> that would put the windows on the appointed desk, or at least have them
> come up on the bottom of the stack and not take the focus.

That is certainly implement-able using either scwm_set_pid_property or
run_renamed.  I'd love to have you or someone else write the code and
integrate these capabilities.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 27 13:59:34 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA19188
	for scwm-discuss-outgoing; Tue, 27 Jul 1999 13:59:34 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA19180
	for <scwm-discuss@scwm.mit.edu>; Tue, 27 Jul 1999 13:59:24 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA24154; Tue, 27 Jul 1999 10:59:12 -0700 (PDT)
To: perry@piermont.com (Perry E. Metzger)
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: houston, we have a problem
References: <19990727172522.23E8B1A5@jekyll.piermont.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Jul 1999 10:59:12 -0700
In-Reply-To: perry@piermont.com's message of "Tue, 27 Jul 1999 13:25:22 -0400 (EDT)"
Message-ID: <qrrzp0ij7nz.fsf@elwha.cs.washington.edu>
Lines: 12
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

perry@piermont.com (Perry E. Metzger) writes:

> perry@jekyll$ scwm
> /usr/libexec/ld.so: Undefined symbol "_scm_thread_count" in scwm:scwm
> 
> Yuck.

Did you maybe change the "--with-threads"edness of guile recently?
Looks like Scwm was built against a guile that was configured for thread 
support, but then is dynamically linking to a Guile w/o thread support.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 27 15:54:31 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA19630
	for scwm-discuss-outgoing; Tue, 27 Jul 1999 15:54:31 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from seldon.dtek.chalmers.se (root@seldon.dtek.chalmers.se [129.16.30.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA19627
	for <scwm-discuss@scwm.mit.edu>; Tue, 27 Jul 1999 15:54:27 -0400
Received: from licia.dtek.chalmers.se (d4jonas@licia.dtek.chalmers.se [129.16.30.88])
	by seldon.dtek.chalmers.se (8.8.8/8.8.8) with ESMTP id VAA10411
	for <scwm-discuss@scwm.mit.edu>; Tue, 27 Jul 1999 21:54:20 +0200 (MET DST)
Received: (from d4jonas@localhost)
	by licia.dtek.chalmers.se (8.8.8/8.8.8) id VAA20835;
	Tue, 27 Jul 1999 21:54:20 +0200 (MET DST)
To: scwm-discuss@scwm.mit.edu
Subject: [0.9] Errors starting scwm
X-No-Archive: Yes
Mail-Copies-To: never
Organization: The Deciples of Albericht Nibelungen
From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Date: 27 Jul 1999 21:54:20 +0200
Message-ID: <wtn3dy9kgwj.fsf@licia.dtek.chalmers.se>
Lines: 82
User-Agent: Gnus/5.070091 (Pterodactyl Gnus v0.91) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Scwmrc at <URL:http://www.dtek.chalmers.se/~d4jonas/Temp/scwmrc>


% scwm --version
Scwm Version 0.9 compiled on Jul 17 1999 at 10:51:20
RCS_ID=$Id: scwm.c,v 1.161 1999/01/06 16:00:34 gjb Exp $
Repository Timestamp: Sat Jan  9 16:43:19 EST 1999 -- $Revision: 1.1089 $


I don't know where to start looking. :-(

--------

Backtrace:
0* (let ((xgs X-grab-server) (xugs X-ungrab-server)) (set! with-grabbed-server (lambda # #)))

ERROR: In expression (let (# #) (set! with-grabbed-server #)):
ERROR: Unbound variable: X-grab-server

Backtrace:
0* (undefine X-grab-server)
1* [undefine (undefine X-grab-server) (#<procedure (symbol define?)>)]

ERROR: In procedure undefine in expression (undefine X-grab-server):
ERROR: variable already unbound 

Backtrace:
0* (undefine X-ungrab-server)
1* [undefine (undefine X-ungrab-server) (#<procedure (symbol define?)>)]

ERROR: In procedure undefine in expression (undefine X-ungrab-server):
ERROR: variable already unbound 

Backtrace:
0* [menu-style #:fg "moccasin" ...]
1  (let-optional* lambda*:G13 () ...)
   ...
2  (let* ((ra->kbl #<procedure rest-arg->keyword-binding-list #>) (kb:G79 #)) (let* (# # # ...) "Set various properites for the menus.
See `make-menu' for options on creation of individual menus." ...))
3* [rest-arg->keyword-binding-list (#:fg "moccasin" #:bg ...) (#:fg #:foreground #:bg ...) ...]
4  (if (null? rest-arg) () ...)
   ...
5  [scm-error misc-error #f ...]
6* [gsubr-apply #<compiled-closure #<primitive-procedure gsubr-apply>> misc-error ...]

ERROR: In procedure gsubr-apply in expression (scm-error (quote misc-error) #f ...):
ERROR: Unknown keyword in arguments.

Backtrace:
0* (define js-common-window-style (make-style #:fg "black" ...))
1* [define (define js-common-window-style (#@make-style # "black" ...)) (#<procedure (symbol define?)>)]
2* [make-style #:fg "black" ...]
3  [apply #<procedure make-conditional-style (condition . args)> #<procedure always? (w)> ...]
   ...
4  [simplify-style ...
5*  [mcs-parse-args #<procedure always? (w)> (#:fg "black" #:bg ...)]
6   (letrec ((loop #)) (loop args () ...))
    ...
7   [scm-error misc-error #f ...]
8*  [gsubr-apply #<compiled-closure #<primitive-procedure gsubr-apply>> misc-error ...]

ERROR: In procedure gsubr-apply in expression (scm-error (quote misc-error) #f ...):
ERROR: Unknown style option: #:int-override

Backtrace:
0* [window-style "*" #:use-style ...

/users/dtek/d94/d4jonas/.scwmrc:278:1: While evaluating arguments to window-style in expression (window-style "*" #:use-style ...):
/users/dtek/d94/d4jonas/.scwmrc:278:1: Unbound variable: js-common-window-style
                        

--------

Would it matter if /usr/pd/SCWM/scwm-0.9/lib/ are at end or at
beginning of LD_LIBRARY_PATH? If at end I presume it finds scwm-0.8
libs first but I added it to the beginning.  Could it have anything to
do with it? I am a little confused by the errormessages.

-- 
( Jonas Steverud  @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 27 16:01:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA19705
	for scwm-discuss-outgoing; Tue, 27 Jul 1999 16:01:47 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA19702
	for <scwm-discuss@scwm.mit.edu>; Tue, 27 Jul 1999 16:01:44 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA01190; Tue, 27 Jul 1999 13:01:40 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: Re: [0.9] Errors starting scwm
References: <wtn3dy9kgwj.fsf@licia.dtek.chalmers.se>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Jul 1999 13:01:40 -0700
In-Reply-To: Jonas Steverud's message of "27 Jul 1999 21:54:20 +0200"
Message-ID: <qrremhtkgkb.fsf@elwha.cs.washington.edu>
Lines: 28
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jonas Steverud <d4jonas@dtek.chalmers.se> writes:

> Scwmrc at <URL:http://www.dtek.chalmers.se/~d4jonas/Temp/scwmrc>
> 
> 
> % scwm --version
> Scwm Version 0.9 compiled on Jul 17 1999 at 10:51:20
> RCS_ID=$Id: scwm.c,v 1.161 1999/01/06 16:00:34 gjb Exp $
> Repository Timestamp: Sat Jan  9 16:43:19 EST 1999 -- $Revision: 1.1089 $
> 
> 
> I don't know where to start looking. :-(

Is Grab.x empty? (i.e., does it have size 0?)

You may need to:

cd scwm
rm *.x

and then remake.

Better yet, use the latest version from anonymous CVS (see web site for
details) or wait another week or so for a 0.99.2 release.

Thanks for your interest in Scwm!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 27 16:41:53 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA19959
	for scwm-discuss-outgoing; Tue, 27 Jul 1999 16:41:53 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from savonarola.red-bean.com (savonarola.red-bean.com [208.245.165.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA19956
	for <scwm-discuss@scwm.mit.edu>; Tue, 27 Jul 1999 16:41:47 -0400
Received: (from jimb@localhost)
	by savonarola.red-bean.com (8.8.7/8.8.7) id PAA23413;
	Tue, 27 Jul 1999 15:41:38 -0500
To: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Cc: Greg Harvey <Greg.Harvey@thezone.net>, guile@cygnus.com,
        scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se> <m31zdwqgdu.fsf@savonarola.red-bean.com> <xy7d7xfzotp.fsf@mdj-pc.nada.kth.se>
From: Jim Blandy <jimb@red-bean.com>
Date: 27 Jul 1999 15:41:38 -0500
In-Reply-To: Mikael Djurfeldt's message of "26 Jul 1999 12:29:38 +0200"
Message-ID: <m36735kepp.fsf@savonarola.red-bean.com>
Lines: 41
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> Jim, we *need* at least one gc-hook on the Scheme level.
> (We currently have the %gc-thunk.)
> 
> Without it we loose the ability to get code executed when GC actually
> happens.  It would drain the power of guardians so that they become
> *less* powerful than finalization.

I actually think this is an advantage of guardians, not a
disadvantage.  The problem with finalizers is that they are called
asynchronously; they can't make any assumptions about the state of the
surrounding program.  Guardians, on the other hand, can be invoked in
a controlled way at known points in the program.  Dybvig makes this
argument in his paper.

The whole question of finalization is a very controversial one.  It's
difficult to define finalization in a way that gives the finalization
code enough invariants to establish its correctness while still doing
something useful.  There are no proposals that make everyone happy.
Guardians are the cleanest proposal I know of, and seem sufficient for
most purposes.

Also, I don't agree that such hooks are necessary.  Emacs has gotten
by for years with no such hooks.  Common Lisp doesn't provide them, as
far as I can see.

C-level hooks allow the SCWM folks to do what they need to do.  I'm
pretty confident that Maciej and Greg will use them tastefully.


To address Harvey's question:

Certainly, a C-level hook can do dangerous things, and can call
dangerous functions --- in fact, it has more dangerous potential than
a Scheme-level hook, since it could invoke the interpreter itself.

But in Guile, C code is written at a level that gives the programmer
*control* over these issues, so it is reasonable and fair to make the
programmer responsible for doing the right thing.  Scheme code gives
the programmer no control over whether dangerous operations occur ---
the programmer is at the mercy of the implementation.

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 27 16:42:34 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA19986
	for scwm-discuss-outgoing; Tue, 27 Jul 1999 16:42:34 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA19981
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 27 Jul 1999 16:42:31 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id QAA24242;
	Tue, 27 Jul 1999 16:42:26 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id QAA27192;
	Tue, 27 Jul 1999 16:42:23 -0400 (EDT)
Date: Tue, 27 Jul 1999 16:42:23 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: Greg Badros <gjb@cs.washington.edu>
cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: focus changes?
In-Reply-To: <qrr3dyakmd7.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9907271554300.26501-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 27 Jul 1999, Greg Badros wrote:

> You're right;  I wasn't paying enough attention to the logic that was
> choosing the Focus window.  See if the now-latest version from CVS has
> better behaviour.
> 
> Did my other change help preserve your focussed window longer at
> startup?

I just rebuilt, and things look much better.  The focus code looks quite
hairy, thanks for messing with it to fix this.
(It takes while to rebuild/reinstall, partly because I've never gotten
running without installing to work.  This time it was worse because I ran
out of disk space for installing the test copy.)

> > A global mode for this would work for me, but ultimately it could be
> > combined with run-renamed so only certain programs would see this
> > behavior.  I'm sort of imagining a "start-slow-bloated-program" procedure
> > that would put the windows on the appointed desk, or at least have them
> > come up on the bottom of the stack and not take the focus.
> 
> That is certainly implement-able using either scwm_set_pid_property or
> run_renamed.  I'd love to have you or someone else write the code and
> integrate these capabilities.

not me, unfortunately - at least until we change from HPs to Suns (someday
- depending on funding), or HP provides something resembling LD_PRELOAD so
scwm_set_pid_property can be implemented for it.  (not likely either,
since no one here is interested in upgrading to HP-UX 11)


I discovered (window-style ... #:skip-mapping #t) which almost works for
windows you can select with a window-match procedure - except that the
keyboard focus gets lost from the current desk even when the new window
goes to some other desk.  Then when I flip to that desk, I have trouble
giving the new window the focus - I have to click in the title, not just
in the window.  

I've been experimenting with 
(window-style (title-match?? "^RXterm.*" 'regexp) 
	      #:start-on-desk 2 #:skip-mapping #t)

Somthing to do with unmapped windows asking for focus, I guess.

Steve


-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 27 16:52:49 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA20195
	for scwm-discuss-outgoing; Tue, 27 Jul 1999 16:52:49 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA20192
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 27 Jul 1999 16:52:46 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA03966; Tue, 27 Jul 1999 13:52:37 -0700 (PDT)
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: focus changes?
References: <Pine.GHP.4.10.9907271554300.26501-100000@rukbat.cs.unc.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Jul 1999 13:52:37 -0700
In-Reply-To: Stephen Tell's message of "Tue, 27 Jul 1999 16:42:23 -0400 (EDT)"
Message-ID: <qrrzp0hizmy.fsf@elwha.cs.washington.edu>
Lines: 57
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> On 27 Jul 1999, Greg Badros wrote:
> 
> > You're right;  I wasn't paying enough attention to the logic that was
> > choosing the Focus window.  See if the now-latest version from CVS has
> > better behaviour.
> > 
> > Did my other change help preserve your focussed window longer at
> > startup?
> 
> I just rebuilt, and things look much better.  The focus code looks quite
> hairy, thanks for messing with it to fix this.
> (It takes while to rebuild/reinstall, partly because I've never gotten
> running without installing to work.  This time it was worse because I ran
> out of disk space for installing the test copy.)

I have some brief notes in HACKING titled "RUNNING SCWM WITHOUT
INSTALLING IT";  do those tips not work for you?  (They've only been
tested on RH-based GNU/Linux systems).

> > > A global mode for this would work for me, but ultimately it could be
> > > combined with run-renamed so only certain programs would see this
> > > behavior.  I'm sort of imagining a "start-slow-bloated-program" procedure
> > > that would put the windows on the appointed desk, or at least have them
> > > come up on the bottom of the stack and not take the focus.
> > 
> > That is certainly implement-able using either scwm_set_pid_property or
> > run_renamed.  I'd love to have you or someone else write the code and
> > integrate these capabilities.
> 
> not me, unfortunately - at least until we change from HPs to Suns (someday
> - depending on funding), or HP provides something resembling LD_PRELOAD so
> scwm_set_pid_property can be implemented for it.  (not likely either,
> since no one here is interested in upgrading to HP-UX 11)

Well, run_renamed should work for you, right?

> I discovered (window-style ... #:skip-mapping #t) which almost works for
> windows you can select with a window-match procedure - except that the
> keyboard focus gets lost from the current desk even when the new window
> goes to some other desk.  Then when I flip to that desk, I have trouble
> giving the new window the focus - I have to click in the title, not just
> in the window.  
> 
> I've been experimenting with 
> (window-style (title-match?? "^RXterm.*" 'regexp) 
> 	      #:start-on-desk 2 #:skip-mapping #t)
> 
> Somthing to do with unmapped windows asking for focus, I guess.

Hmmm... not sure why that should be... I don't have time right now to
dig deeper, unfortunately.

Thanks for testing my earlier changes!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 27 16:58:37 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA20251
	for scwm-discuss-outgoing; Tue, 27 Jul 1999 16:58:37 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA20248
	for <scwm-discuss@scwm.mit.edu>; Tue, 27 Jul 1999 16:58:34 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA04283; Tue, 27 Jul 1999 13:58:27 -0700 (PDT)
To: Jim Blandy <jimb@red-bean.com>
Cc: guile@cygnus.com, scwm-discuss@scwm.mit.edu
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se> <m31zdwqgdu.fsf@savonarola.red-bean.com> <xy7d7xfzotp.fsf@mdj-pc.nada.kth.se> <m36735kepp.fsf@savonarola.red-bean.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Jul 1999 13:58:26 -0700
In-Reply-To: Jim Blandy's message of "27 Jul 1999 15:41:38 -0500"
Message-ID: <qrrwvvlizd9.fsf@elwha.cs.washington.edu>
Lines: 15
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jim Blandy <jimb@red-bean.com> writes:

<snip>

> Also, I don't agree that such hooks are necessary.  Emacs has gotten
> by for years with no such hooks.  Common Lisp doesn't provide them, as
> far as I can see.

Actually, GNU XEmacs does have the hooks: pre-gc-hook, and
post-gc-hook.  The documentation just warns the user to be *very*
careful, etc., etc.

<snip>

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Jul 27 18:18:15 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA20499
	for scwm-discuss-outgoing; Tue, 27 Jul 1999 18:18:15 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from quasar.newtonlabs.com (host97.newtonlabs.com [206.125.74.97])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA20495
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 27 Jul 1999 18:18:07 -0400
Received: from bogomips.newtonlabs.com (bogomips.newtonlabs.com [207.55.51.12])
	by quasar.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) with ESMTP id PAA29280;
	Tue, 27 Jul 1999 15:17:13 -0700
Received: (from cwitty@localhost)
	by bogomips.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) id PAA17962;
	Tue, 27 Jul 1999 15:17:12 -0700
To: Jim Blandy <jimb@red-bean.com>
Cc: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>,
        Greg Harvey <Greg.Harvey@thezone.net>, guile@cygnus.com,
        scwm-discuss@SCWM.MIT.EDU, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se> <m31zdwqgdu.fsf@savonarola.red-bean.com> <xy7d7xfzotp.fsf@mdj-pc.nada.kth.se> <m36735kepp.fsf@savonarola.red-bean.com>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: cwitty@newtonlabs.com (Carl R. Witty)
Date: 27 Jul 1999 15:17:11 -0700
In-Reply-To: Jim Blandy's message of "27 Jul 1999 15:41:38 -0500"
Message-ID: <v4jhfmpwxeg.fsf@bogomips.newtonlabs.com>
Lines: 47
X-Mailer: Gnus v5.4.61/Emacs 19.34
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jim Blandy <jimb@red-bean.com> writes:

> The whole question of finalization is a very controversial one.  It's
> difficult to define finalization in a way that gives the finalization
> code enough invariants to establish its correctness while still doing
> something useful.  There are no proposals that make everyone happy.
> Guardians are the cleanest proposal I know of, and seem sufficient for
> most purposes.

I like the weak pointers and finalization proposed in _Stretching the
storage manager: weak pointers and stable names in Haskell_ by Simon
Peyton Jones, Simon Marlow, and Conal Elliott
(http://research.microsoft.com/Users/simonpj/papers/weak.ps.gz).  A
short abstract:

| Every now and then, a user of the Glasgow Haskell Compiler asks for a
| feature that requires specialised support from the storage
| manager. Memo functions, pointer equality, external pointers,
| finalizers, and weak pointers, are all examples.
| 
| We take memo functions as our exemplar because they turn out to be the
| trickiest to support. We present no fewer than four distinct
| mechanisms that are needed to support memo tables, and that (in
| various combinations) satisfy a variety of other needs.
| 
| The resulting set of primitives is undoubtedly powerful and
| useful. Whether they are {\em too} powerful is not yet clear. While
| the focus of our discussion is on Haskell, there is nothing
| Haskell-specific about most of the primitives, which could readily be
| used in other settings.

Of the four mechanisms defined in this paper, unsafePerformIO and
stable names are basically irrelevant to Guile; but the weak pointers
and finalization are directly applicable.  This version lets you do
things guardians don't.  (For example, the above paper points out that
the weak hash table described in Dybvig's guardians paper fails if the
value contains a reference to the key.)

> Also, I don't agree that such hooks are necessary.  Emacs has gotten
> by for years with no such hooks.  Common Lisp doesn't provide them, as
> far as I can see.

I bet you'd find that most implementations of Common Lisp have
finalization, though.

Carl Witty
cwitty@newtonlabs.com

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Jul 28 08:40:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id IAA23579
	for scwm-discuss-outgoing; Wed, 28 Jul 1999 08:40:44 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mdj-pc.nada.kth.se (mail@mdj-pc.nada.kth.se [130.237.224.206])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id IAA23576
	for <scwm-discuss@scwm.mit.edu>; Wed, 28 Jul 1999 08:40:38 -0400
Received: from mdj by mdj-pc.nada.kth.se with local (Exim 3.02 #1 (Debian))
	id 119SzU-0001o9-00; Wed, 28 Jul 1999 14:39:24 +0200
X-From-Line: push Wed Jul 28 13:48:29 1999
Received: from mx.nada.kth.se (mx.nada.kth.se [130.237.222.161])
	by mail0.nada.kth.se (8.8.7/8.8.7) with ESMTP id NAA05525
	for <mdj@sub00.nada.kth.se>; Wed, 28 Jul 1999 13:48:55 +0200 (MET DST)
Received: from thalamus.nada.kth.se (root@d212-151-244-42.swipnet.se [212.151.244.42])
	by mx.nada.kth.se (8.8.7/8.8.7) with ESMTP id NAA11180
	for <djurfeldt@nada.kth.se>; Wed, 28 Jul 1999 13:48:56 +0200 (MET DST)
Received: (from mdj@localhost)
	by thalamus.nada.kth.se (8.9.3/8.9.3/Debian/GNU) id NAA24656;
	Wed, 28 Jul 1999 13:53:20 +0200
To: Jim Blandy <jimb@red-bean.com>
Cc: Greg Harvey <Greg.Harvey@thezone.net>, guile@cygnus.com,
        scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se> <m31zdwqgdu.fsf@savonarola.red-bean.com> <xy7d7xfzotp.fsf@mdj-pc.nada.kth.se> <m36735kepp.fsf@savonarola.red-bean.com>
Cc: djurfeldt@nada.kth.se
From: Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
Date: 28 Jul 1999 13:53:19 +0200
Message-ID: <xy79081dm8g.fsf@thalamus.nada.kth.se>
X-UIDL: ccecbea136e0f1286f1c05ca506c7472
Lines: 63
Xref: mdj-pc.nada.kth.se jimb:4585 guile:8578
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jim Blandy <jimb@red-bean.com> writes:

> > Jim, we *need* at least one gc-hook on the Scheme level.
> > (We currently have the %gc-thunk.)
> > 
> > Without it we loose the ability to get code executed when GC actually
> > happens.  It would drain the power of guardians so that they become
> > *less* powerful than finalization.
> 
> I actually think this is an advantage of guardians, not a
> disadvantage.  The problem with finalizers is that they are called
> asynchronously; they can't make any assumptions about the state of the
> surrounding program.  Guardians, on the other hand, can be invoked in
> a controlled way at known points in the program.  Dybvig makes this
> argument in his paper.

Yes, guardians are nice in many respects, and should of course be the
default way of initiating action on objects that have been collected.

I'm sure there are many situations where an after-gc-hook is needed
(normal object finalization as described below, debugging, GC report
in a repl, etc.).

Imagine a library which produces objects which use some common
resource.  When the objects are collected we want them to free their
use of the resource, just as happens in the free function of many
smobs.

Sure, we could specify in the interface that the user should call the
function `release' on the object when he is finished using it, but
then, what is the purpose of garbage collection?

Sure, we could specify a function `call-me-intermittently' which the
user calls repeatedly to release resources.  Is this nice?
(OK, in many cases, this call could be placed in the object
constructor.)

In this case, I think the most natural solution is that the library
manages a guardian and puts a guardian harvester on the after-gc-hook.
The asynchronicity has to be tackled by the implementor of the
library, just as when he is using threads.


But then, what are the costs?

I'd say the only cost is that we have to specify in the manual entry
for the hook that it should be used with caution (it's not OK to run
too much code in it, so that a new GC starts; if this happens we could
detect it, clear the hook, and generate an error message).

No matter what we'll do in Guile in the future we'll always have a
garbage collector, and I'd say, no matter how it looks like, it will
always be possible to support an after-gc-hook (if the garbage
collector is incremental, we just call it once per sweep), so it
doesn't induce serious limitations on future implementations.


So, while I also prefer guardians, I'd say we should supplement them
with an after-gc-hook.  We should do this since such a hook is
convenient in certain situations.  It's not entirely clean, but useful
and robust if used correctly, and it doesn't cause problems for future
implementations.  Or is there something I have missed?


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Jul 28 10:06:45 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA23728
	for scwm-discuss-outgoing; Wed, 28 Jul 1999 10:06:45 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mail.zrz.tu-berlin.de (mail.zrz.TU-Berlin.DE [130.149.4.15])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA23725
	for <scwm-discuss@scwm.mit.edu>; Wed, 28 Jul 1999 10:06:31 -0400
Received: from grapefruit.zrz.tu-berlin.de
	([130.149.5.204] helo=linux.zrz.TU-Berlin.DE ident=jostobfe)
	  by mail.zrz.tu-berlin.de with esmtp (EXIM-3.02)
	  id 119UL8-00000r-00; Wed, 28 Jul 1999 16:05:51 +0200
Received: by linux.zrz.TU-Berlin.DE (8.8.5/ZRZ-Gen)
	  id OAA30482; Wed, 28 Jul 1999 14:05:48 GMT
To: Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
Cc: Jim Blandy <jimb@red-bean.com>, Greg Harvey <Greg.Harvey@thezone.net>,
        guile@cygnus.com, scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se> <m31zdwqgdu.fsf@savonarola.red-bean.com> <xy7d7xfzotp.fsf@mdj-pc.nada.kth.se> <m36735kepp.fsf@savonarola.red-bean.com> <xy79081dm8g.fsf@thalamus.nada.kth.se>
From: Jost Boekemeier <jostobfe@calvados.zrz.TU-Berlin.DE>
Date: 28 Jul 1999 16:05:47 +0200
In-Reply-To: Mikael Djurfeldt's message of "28 Jul 1999 13:53:19 +0200"
Message-ID: <p2t67346f9g.fsf@grapefruit.zrz.tu-berlin.de>
Lines: 38
X-Mailer: Gnus v5.7/Emacs 20.4
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mikael Djurfeldt <mdj@thalamus.nada.kth.se> writes:

> Imagine a library which produces objects which use some common
> resource.  When the objects are collected we want them to free their
> use of the resource, j

Hmm.  I think that means that a container object (or a factory object
that produces other objects but that would finally be the same) has
$n$ objects and if this container object is collected it must invalidate
the resource (a file handle for example).

That's exactly what I did yesterday.  The container object is a smob
(an environment) and the observer objects that belong to the container
are smobs, too(*).  Now if the container smob (if it's not a smob,
just wrap a smob around your data) is no longer referenced its free()
method is called and it can invalidate the common resource and the
back-pointer to itself that the observer objects observing this
environment use to access the common resource.  Once the environment
is gone its observers will be collected unless someone still
references it.  But then the observer detects that its container (the
environment) is gone and does nothing.

I think you can either use a functional programming style in which you
don't care much about your data and use guardians or you can use a
object oriented style with methods surrounding and operating on your
pieces of data.  That's where the finit() function that smobs provide
is handy.  When a smob goes away it can easily invalidate the data it
owns.

When you invalidate the smob and all observers in a after-gc hook it
may happen that someone still holds a reference to one of the observers.



Jost

(*) well, an observer is a piece user-data in a smob jacket :>


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Jul 28 10:41:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA23846
	for scwm-discuss-outgoing; Wed, 28 Jul 1999 10:41:32 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mail.zrz.tu-berlin.de (mail.zrz.TU-Berlin.DE [130.149.4.15])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA23843
	for <scwm-discuss@scwm.mit.edu>; Wed, 28 Jul 1999 10:41:26 -0400
Received: from grapefruit.zrz.tu-berlin.de
	([130.149.5.204] helo=linux.zrz.TU-Berlin.DE ident=jostobfe)
	  by mail.zrz.tu-berlin.de with esmtp (EXIM-3.02)
	  id 119UtL-0000bY-00; Wed, 28 Jul 1999 16:41:11 +0200
Received: by linux.zrz.TU-Berlin.DE (8.8.5/ZRZ-Gen)
	  id OAA08860; Wed, 28 Jul 1999 14:41:09 GMT
To: Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
Cc: Jim Blandy <jimb@red-bean.com>, Greg Harvey <Greg.Harvey@thezone.net>,
        guile@cygnus.com, scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se> <m31zdwqgdu.fsf@savonarola.red-bean.com> <xy7d7xfzotp.fsf@mdj-pc.nada.kth.se> <m36735kepp.fsf@savonarola.red-bean.com> <xy79081dm8g.fsf@thalamus.nada.kth.se> <p2t67346f9g.fsf@grapefruit.zrz.tu-berlin.de>
From: Jost Boekemeier <jostobfe@calvados.zrz.TU-Berlin.DE>
Date: 28 Jul 1999 16:41:08 +0200
In-Reply-To: Jost Boekemeier's message of "28 Jul 1999 16:05:47 +0200"
Message-ID: <p2tpv1c3khn.fsf@grapefruit.zrz.tu-berlin.de>
Lines: 22
X-Mailer: Gnus v5.7/Emacs 20.4
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jost Boekemeier <jostobfe@linux.zrz.TU-Berlin.DE> writes:

> Mikael Djurfeldt <mdj@thalamus.nada.kth.se> writes:
> 
> environment use to access the common resource.  Once the environment
> is gone its observers will be collected unless someone still
> references it.  But then the observer detects that its container (the
> environment) is gone and does nothing.

Forgot something: That will only work if the container object is a
smob and *not* a normal scheme object.  For example a vector object or
a pair is not a smob and therefor has no finit() function.  To support
encapsulation I think guile should (no *must*) support a per object
finit function.  Maybe as an option. 

For example:

scm_set_finit(object, free) /* call free befor object is free'ed */

(Mabe this is already available?)

Jost

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Jul 28 11:06:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA23929
	for scwm-discuss-outgoing; Wed, 28 Jul 1999 11:06:42 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mdj-pc.nada.kth.se (mail@mdj-pc.nada.kth.se [130.237.224.206])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA23925
	for <scwm-discuss@scwm.mit.edu>; Wed, 28 Jul 1999 11:06:32 -0400
Received: from mdj by mdj-pc.nada.kth.se with local (Exim 3.02 #1 (Debian))
	id 119VH8-0001pT-00; Wed, 28 Jul 1999 17:05:46 +0200
To: Jost Boekemeier <jostobfe@calvados.zrz.TU-Berlin.DE>
Cc: Jim Blandy <jimb@red-bean.com>, Greg Harvey <Greg.Harvey@thezone.net>,
        guile@cygnus.com, scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se> <m31zdwqgdu.fsf@savonarola.red-bean.com> <xy7d7xfzotp.fsf@mdj-pc.nada.kth.se> <m36735kepp.fsf@savonarola.red-bean.com> <xy79081dm8g.fsf@thalamus.nada.kth.se> <p2t67346f9g.fsf@grapefruit.zrz.tu-berlin.de> <p2tpv1c3khn.fsf@grapefruit.zrz.tu-berlin.de>
Cc: djurfeldt@nada.kth.se
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Date: 28 Jul 1999 17:05:46 +0200
In-Reply-To: Jost Boekemeier's message of "28 Jul 1999 16:41:08 +0200"
Message-ID: <xy7aesg7r1x.fsf@mdj-pc.nada.kth.se>
Lines: 12
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jost Boekemeier <jostobfe@calvados.zrz.TU-Berlin.DE> writes:

> To support encapsulation I think guile should (no *must*) support a
> per object finit function.  Maybe as an option.
> 
> For example:
> 
> scm_set_finit(object, free) /* call free befor object is free'ed */
> 
> (Mabe this is already available?)

No, and, sorry, it is too expensive.

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Jul 28 14:10:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA24255
	for scwm-discuss-outgoing; Wed, 28 Jul 1999 14:10:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA24252
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 28 Jul 1999 14:10:13 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id OAA29397
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 28 Jul 1999 14:10:07 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id OAA07734;
	Wed, 28 Jul 1999 14:10:03 -0400 (EDT)
Date: Wed, 28 Jul 1999 14:10:03 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
cc: scwm-discuss@SCWM.MIT.EDU
Subject: window-class vs. WM_CLASS
In-Reply-To: <qrr1zec59rq.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9907281336360.29182-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Is the result of (window-class w) supposed to be the value of the WM_CLASS
window property?  Judging by the code in add_window.c and window.c, that
looks like the case.  Or am I missing somthing? I was trying to pick out a
particular window with (class-match??), and noticed what I think is this
peculiar behavior:

scwm> (window-class (get-window))
"NoClass"
scwm>  

While xprop reports:

WM_CLASS(STRING) = "magic", "magic"
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x3c006ea
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                program specified location: 0, 0
                program specified size: 640 by 512
WM_ICON_NAME(STRING) = "latchplay"
WM_NAME(STRING) = "latchplay"


The application creating the window is calling XSetClassHint with
suitable-lookng arguments.  Its a raw XLIB app (the magic vlsi editor), so
maybe it is missing somthing simple I could add?

Magic appears to fall behind dealing with all of the the events from
opaque move, so I was going to try this quick fix:

(define (my-resize-proc w)
  (cond (((class-match?? "magic") w) #f)
	(else (default-resize-opaquely? w))))
(scwm-option-set! *resize-opaquely-proc* my-resize-proc)

Once that works, it occurs to me to try to learn how to make somthing like
a "never-resize-opaquely" window style.  What is the difference between
window hints and window styles as in add-window-hint-option and
add-window-style-option?

Steve

-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845



From owner-scwm-discuss@SCWM.MIT.EDU  Wed Jul 28 16:07:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA24534
	for scwm-discuss-outgoing; Wed, 28 Jul 1999 16:07:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from relay8.Austria.EU.net (relay8.Austria.EU.net [193.154.160.146])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA24531
	for <scwm-discuss@scwm.mit.edu>; Wed, 28 Jul 1999 16:07:45 -0400
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.3/8.9.3) with UUCP id VAA29057
	for scwm-discuss@scwm.mit.edu; Wed, 28 Jul 1999 21:51:55 +0200 (MET DST)
Received: (qmail 1528 invoked by uid 115); 28 Jul 1999 09:14:37 -0000
To: scwm-discuss@scwm.mit.edu
Subject: Re: focus changes?
References: <Pine.GHP.4.10.9907271152550.11561-100000@rukbat.cs.unc.edu>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 28 Jul 1999 11:14:37 +0200
In-Reply-To: Stephen Tell's message of "Tue, 27 Jul 1999 13:07:15 -0400 (EDT)"
Message-ID: <wsk8rl9lvm.fsf@orcus.priv.at>
Lines: 27
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

>>>>> On Tue, 27 Jul 1999 13:07:15 -0400 (EDT)
>>>>> Stephen Tell <tell@cs.unc.edu> said:

 Stephen> Unless I'm misunderstanding, I don't see how focusing to the
 Stephen> current-window-with-pointer will do what I want - when
 Stephen> changing desks, I don't want the window under the pointer to
 Stephen> get the focus, but rather the window in the destination desk
 Stephen> that had the focus last time that desk was the current desk,
 Stephen> regardless of the mouse pointer position.

Me too, though I use sloppy-focus. sloopy-focus never did provide such 
a thing, although I think it is tremendously useful.

I tried to do something with change-desk-hook (see
sample.scwmrc/robbe.scwmrc), but I have to fight the C layer, and it
seems like I lost (i.e. it does not work).

IMHO, the ideal solution is to do away with the C layer messing with
the focus on desk-change (yucky), and provide scheme code (rather easy).

        Robbe

-- 
Robert Bihlmeyer       reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>    <http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Jul 28 16:07:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA24538
	for scwm-discuss-outgoing; Wed, 28 Jul 1999 16:07:57 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from relay8.Austria.EU.net (relay8.Austria.EU.net [193.154.160.146])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA24535
	for <scwm-discuss@scwm.mit.edu>; Wed, 28 Jul 1999 16:07:52 -0400
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.3/8.9.3) with UUCP id VAA29054
	for scwm-discuss@scwm.mit.edu; Wed, 28 Jul 1999 21:51:52 +0200 (MET DST)
Received: (qmail 1158 invoked by uid 115); 28 Jul 1999 07:23:34 -0000
To: scwm-discuss@scwm.mit.edu
Subject: Re: hmmm
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 28 Jul 1999 09:23:33 +0200
Message-ID: <wsemhtb5l6.fsf@orcus.priv.at>
Lines: 71
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


--=-=-=

Hi,

[resent - first attempt was sent to scwm-discuss@mit.edu where it hung 
in limbo 3 days...]

>>>>> On 23 Jul 1999 21:22:54 -0700
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> It'd be great if someone would claim any of the above platforms that
 Greg> they would be willing to build Scwm on from CVS sources, say, once a
 Greg> week, and report build problems, etc.

I don't think I'm able to do much handwork at the moment, but if
putting something like script below into crontab will suffice, I can
gladly do that on a Solaris and a FreeBSD machine (have to look up the
exact version numbers). I can of course answer questions and
investigate if the script reports problems, but I'm not logged into
these machines on a regular basis, so time to fix things myself is a
rare opportunity.


--=-=-=
Content-Type: text/x-sh-script
Content-Disposition: inline

#!/bin/sh
#								-*- ksh -*-
# build - checkout the newest version of a package and try to build it

# Constants you may want to change

# package name
PACKAGE="scwm"

# where should reports go
MAILTO="scwm-discuss@scwm.mit.edu"

# where sleeping sources lie
SRCDIR="/home/robbe/scwm"

# additional arguments to configure
CFG=""

# substitute this with something more reasonable if uname is too general
PLATFORM=`uname`

# end of config section

builddir="=$PLATFORM"

cd $SRCDIR
cvs update
rm -rf $builddir
mkdir $builddir
cd $builddir
if ../configure $CFG; then
  if make >make.log 2>&1; then
    Mail -s "$PACKAGE build on $PLATFORM succeeded" $MAILTO < /dev/null
  else
    Mail -s "$PACKAGE build on $PLATFORM failed" $MAILTO < make.log
  fi
  else
    Mail -s "$PACKAGE did not configure on $PLATFORM" $MAILTO < config.log
fi

--=-=-=


Comments/extensions to the script are of course encouraged. $MAILTO
will should probably point to scwm-dev if more people start using it,
as not to flood this list.

        Robbe

-- 
Robert Bihlmeyer       reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>    <http://stud2.tuwien.ac.at/~e9426626/sig.html>

--=-=-=--

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Jul 28 17:04:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA24810
	for scwm-discuss-outgoing; Wed, 28 Jul 1999 17:04:12 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA24807
	for <scwm-discuss@scwm.mit.edu>; Wed, 28 Jul 1999 17:04:07 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA24284; Wed, 28 Jul 1999 14:03:53 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: hmmm
References: <wsemhtb5l6.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Jul 1999 14:03:53 -0700
In-Reply-To: Robert Bihlmeyer's message of "28 Jul 1999 09:23:33 +0200"
Message-ID: <qrrr9lsfpvq.fsf@elwha.cs.washington.edu>
Lines: 43
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> [resent - first attempt was sent to scwm-discuss@mit.edu where it hung 
> in limbo 3 days...]

Yep; gotta use scwm-discuss@scwm.mit.edu.

> >>>>> On 23 Jul 1999 21:22:54 -0700
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
>  Greg> It'd be great if someone would claim any of the above platforms that
>  Greg> they would be willing to build Scwm on from CVS sources, say, once a
>  Greg> week, and report build problems, etc.
> 
> I don't think I'm able to do much handwork at the moment, but if
> putting something like script below into crontab will suffice, I can
> gladly do that on a Solaris and a FreeBSD machine (have to look up the
> exact version numbers). I can of course answer questions and
> investigate if the script reports problems, but I'm not logged into
> these machines on a regular basis, so time to fix things myself is a
> rare opportunity.

This might be useful;  we can try it for a while and see how it goes.
It's certainly better to get feedback sooner rather than later about
build problems...

<snip>

> cvs update

This should do "cvs update -d";  we shouldn't assume the existence of a
~/.cvsrc file that has reasonable settings.

<snip>

> Comments/extensions to the script are of course encouraged. $MAILTO
> will should probably point to scwm-dev if more people start using it,
> as not to flood this list.

scwm-dev is definitely better than scwm-discuss.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Jul 28 20:12:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA25101
	for scwm-discuss-outgoing; Wed, 28 Jul 1999 20:12:58 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from savonarola.red-bean.com (savonarola.red-bean.com [208.245.165.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA25098
	for <scwm-discuss@scwm.mit.edu>; Wed, 28 Jul 1999 20:12:51 -0400
Received: (from jimb@localhost)
	by savonarola.red-bean.com (8.8.7/8.8.7) id TAA09828;
	Wed, 28 Jul 1999 19:12:30 -0500
To: Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
Cc: Greg Harvey <Greg.Harvey@thezone.net>, guile@cygnus.com,
        scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se> <m31zdwqgdu.fsf@savonarola.red-bean.com> <xy7d7xfzotp.fsf@mdj-pc.nada.kth.se> <m36735kepp.fsf@savonarola.red-bean.com> <xy79081dm8g.fsf@thalamus.nada.kth.se>
From: Jim Blandy <jimb@red-bean.com>
Date: 28 Jul 1999 19:12:30 -0500
In-Reply-To: Mikael Djurfeldt's message of "28 Jul 1999 13:53:19 +0200"
Message-ID: <m3so68b9g1.fsf@savonarola.red-bean.com>
Lines: 4
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I'm willing to revisit this issue when someone shows up with a problem
in an actual application which they are having a hard time solving
without an after-gc-hook.  But for now, we should leave it out.

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Jul 28 20:59:31 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA25227
	for scwm-discuss-outgoing; Wed, 28 Jul 1999 20:59:31 -0400
Received: from mail.nf.net (terra.nlnet.nf.ca [192.75.13.101])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA25224
	for <scwm-discuss@scwm.mit.edu>; Wed, 28 Jul 1999 20:59:26 -0400
Received: from behemoth.dethfart.org (n254h009.thezone.net [198.165.254.9])
	by mail.nf.net (8.9.3/8.9.3) with ESMTP id WAA12426;
	Wed, 28 Jul 1999 22:29:09 -0230 (NDT)
Received: (from greg@localhost)
	by behemoth.dethfart.org (8.8.7/8.8.7) id WAA04232;
	Wed, 28 Jul 1999 22:27:59 -0230
X-Authentication-Warning: behemoth.dethfart.org: greg set sender to Greg.Harvey@thezone.net using -f
To: Jim Blandy <jimb@red-bean.com>
Cc: Mikael Djurfeldt <mdj@thalamus.nada.kth.se>, guile@cygnus.com,
        scwm-discuss@scwm.mit.edu, djurfeldt@nada.kth.se
Subject: Re: The taming of the before-gc-hook (was Re: Upcoming 1.3.2 release)
References: <199906200027.AAA17382@out5.ibm.net> <m3u2s12pjs.fsf@savonarola.red-bean.com> <qrriu8evo65.fsf_-_@elwha.cs.washington.edu> <m3g12kqou5.fsf@savonarola.red-bean.com> <qrrso6kl1sn.fsf@elwha.cs.washington.edu> <m3d7xkycd8.fsf_-_@savonarola.red-bean.com> <qrrk8rs7lyf.fsf@elwha.cs.washington.edu> <xy7lnc8r98a.fsf@mdj-pc.nada.kth.se> <m3yag746za.fsf@behemoth.dethfart.org> <qrrhfmvz2zj.fsf@elwha.cs.washington.edu> <m3vhbb44eu.fsf@behemoth.dethfart.org> <xy7u2qv9p3c.fsf@mdj-pc.nada.kth.se> <xy7u2qvc9ks.fsf_-_@mdj-pc.nada.kth.se> <m31zdwqgdu.fsf@savonarola.red-bean.com> <xy7d7xfzotp.fsf@mdj-pc.nada.kth.se> <m36735kepp.fsf@savonarola.red-bean.com> <xy79081dm8g.fsf@thalamus.nada.kth.se> <m3so68b9g1.fsf@savonarola.red-bean.com>
From: Greg Harvey <Greg.Harvey@thezone.net>
Date: 28 Jul 1999 22:27:58 -0230
In-Reply-To: Jim Blandy's message of "28 Jul 1999 19:12:30 -0500"
Message-ID: <m3hfmonug9.fsf@behemoth.dethfart.org>
Lines: 18
X-Mailer: Gnus v5.6.43/Emacs 20.3
Original-Sender: Greg.Harvey@thezone.net
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jim Blandy <jimb@red-bean.com> writes:

> I'm willing to revisit this issue when someone shows up with a problem
> in an actual application which they are having a hard time solving
> without an after-gc-hook.  But for now, we should leave it out.
> 

Guile already uses a (hackish implementation) of after-gc-hook with
gc-thunk (used in popen.scm). So, if we are providing the mechanism
anyway, why not just use a hook and get the benefit of a nice
interface?





-- 
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 30 07:49:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA30764
	for scwm-discuss-outgoing; Fri, 30 Jul 1999 07:49:19 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from relay8.Austria.EU.net (relay8.Austria.EU.net [193.154.160.146])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA30761
	for <scwm-discuss@scwm.mit.edu>; Fri, 30 Jul 1999 07:49:14 -0400
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.3/8.9.3) with UUCP id NAA11458
	for scwm-discuss@scwm.mit.edu; Fri, 30 Jul 1999 13:32:44 +0200 (MET DST)
Received: (qmail 9132 invoked by uid 115); 29 Jul 1999 08:46:36 -0000
To: scwm-discuss@scwm.mit.edu
Subject: Re: hmmm
References: <wsemhtb5l6.fsf@orcus.priv.at> <qrrr9lsfpvq.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 29 Jul 1999 10:46:36 +0200
In-Reply-To: Greg Badros's message of "28 Jul 1999 14:03:53 -0700"
Message-ID: <ws3dy7rggj.fsf@orcus.priv.at>
Lines: 26
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

>>>>> On 28 Jul 1999 14:03:53 -0700
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> This might be useful; we can try it for a while and see how it
 Greg> goes.

Ok, I will install this today, if time permits.

 >> cvs update

 Greg> This should do "cvs update -d"; we shouldn't assume the
 Greg> existence of a ~/.cvsrc file that has reasonable settings.

I've made this "cvs update -dP".

 Greg> scwm-dev is definitely better than scwm-discuss.

Ack.

        Robbe

-- 
Robert Bihlmeyer       reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>    <http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 30 09:19:07 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA30924
	for scwm-discuss-outgoing; Fri, 30 Jul 1999 09:19:07 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from seldon.dtek.chalmers.se (root@seldon.dtek.chalmers.se [129.16.30.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA30921
	for <scwm-discuss@scwm.mit.edu>; Fri, 30 Jul 1999 09:19:02 -0400
Received: from bayta.dtek.chalmers.se (d4jonas@bayta.dtek.chalmers.se [129.16.30.97])
	by seldon.dtek.chalmers.se (8.8.8/8.8.8) with ESMTP id PAA15134
	for <scwm-discuss@scwm.mit.edu>; Fri, 30 Jul 1999 15:18:55 +0200 (MET DST)
Received: (from d4jonas@localhost)
	by bayta.dtek.chalmers.se (8.8.8/8.8.8) id PAA12456;
	Fri, 30 Jul 1999 15:18:54 +0200 (MET DST)
To: scwm-discuss@scwm.mit.edu
Subject: Re: [0.9] Errors starting scwm
References: <wtn3dy9kgwj.fsf@licia.dtek.chalmers.se> <qrremhtkgkb.fsf@elwha.cs.washington.edu>
X-No-Archive: Yes
Mail-Copies-To: never
Organization: The Deciples of Albericht Nibelungen
From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Date: 30 Jul 1999 15:18:54 +0200
In-Reply-To: Greg Badros's message of "27 Jul 1999 13:01:40 -0700"
Message-ID: <wtnd7xa8edd.fsf@bayta.dtek.chalmers.se>
Lines: 19
User-Agent: Gnus/5.070091 (Pterodactyl Gnus v0.91) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

[...]

>  wait another week or so for a 0.99.2 release.

How soon will that be?

> Thanks for your interest in Scwm!

I promise[1]! I *will* write SCWMDoc As Soon As I Got SCWM To Work(TM).


Footnotes: 
[1]  But don't take my word for it...

-- 
( Jonas Steverud  @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 30 10:57:54 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA31088
	for scwm-discuss-outgoing; Fri, 30 Jul 1999 10:57:54 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA31085
	for <scwm-discuss@scwm.mit.edu>; Fri, 30 Jul 1999 10:57:48 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id HAA11805; Fri, 30 Jul 1999 07:57:42 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: Re: [0.9] Errors starting scwm
References: <wtn3dy9kgwj.fsf@licia.dtek.chalmers.se> <qrremhtkgkb.fsf@elwha.cs.washington.edu> <wtnd7xa8edd.fsf@bayta.dtek.chalmers.se>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Jul 1999 07:57:42 -0700
In-Reply-To: Jonas Steverud's message of "30 Jul 1999 15:18:54 +0200"
Message-ID: <qrraese9od5.fsf@elwha.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jonas Steverud <d4jonas@dtek.chalmers.se> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> [...]
> 
> >  wait another week or so for a 0.99.2 release.
> 
> How soon will that be?
> 
> > Thanks for your interest in Scwm!
> 
> I promise[1]! I *will* write SCWMDoc As Soon As I Got SCWM To Work(TM).

Sounds like we should get 0.99.2 out Right Away!  Maciej, any progress
on the jump-buffer memory not being reclaimed?   Will you have time to
package Scwm up before, say, the end of next week?  If not, let me know
and I will.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Jul 30 20:47:17 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA32571
	for scwm-discuss-outgoing; Fri, 30 Jul 1999 20:47:17 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from iceberg.localnet (ppp4.ltnb.lu [158.64.28.164])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA32568
	for <scwm-discuss@scwm.mit.edu>; Fri, 30 Jul 1999 20:47:11 -0400
Received: (from bob@localhost)
	by iceberg.localnet (8.9.3/8.9.2) id CAA07649
	for scwm-discuss@scwm.mit.edu; Sat, 31 Jul 1999 02:47:02 +0200 (CEST)
From: Bob Pepin <bob@sendar.prophecy.lu>
Date: Sat, 31 Jul 1999 02:47:02 +0200
To: scwm-discuss@scwm.mit.edu
Subject: small titlebar-like thingy even with #:no-titlebar #t...
Message-ID: <19990731024702.A20796@iceberg.localnet>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi there,
(using cvs from Jul 30)
even when having set #:no-titlebar to #t, I get a small, 1 or 2-pixel
width grey bar under the top border. happens since quite some time,
maybe like up to 2 months, not sure anymore, haven't had the time to
report this yet. testet on both my OpenBSD 2.5 box at home and the suse
6.0 at work, both times using guile-1.3+scwm-patches.

and for the records, compiles fine on OpenBSD 2.5, with the
some small libpidproperty modifications (already integrated into
autoconf by now?)

oh, and can anyone explain me what the reason was to disallow negative
desktops, didn't follow that thread back then...
there should at least be an option to enable the negative ones, but it
looks like there isn't, had to make a minor modification to deskpage.c.


here's my window-style and stuff if it helps:

(menu-style #:look pie-menu-look)

(define my-decor (make-decor))
(with-decor my-decor
	(title-style #:justify 'left #:font font14 #:relief 'flat)
	(set-highlight-background! "royalblue")
	(set-highlight-foreground! "white")
	(border-style #:no-inset #t #:hidden-handles #t))

(window-style "*" 
	      #:use-decor my-decor
	      #:fg "grey80" #:bg "#000070"
	      #:icon-box (list 0 (x- 10) (y- 280) (y- 1))
	      #:focus 'sloppy
	      #:random-placement #t #:smart-placement #t
	      #:mwm-func-hint #f #:mwm-decor-hint #f
	      #:mwm-border #f
	      #:decorate-transient #f
	      #:PPosition-hint #t
	      #:lenience #t
	      #:no-titlebar #t
	      #:border-width 7 #:squashed-titlebar #f)

(window-style "*xterm*" #:random-placement #f)
(window-style "*rxvt*" #:random-placement #f)
(window-style "*log*" #:sticky #t #:border-width 0)
(window-style "*clock*" #:sticky #t #:border-width 0)
(window-style "*sticky*" #:sticky #t)

running at a resolution of 1024 at work (suse 6.0) and 1496x1122 at
home, if it matters...

-- 
  sell me shitty software once, shame on you.
  sell me shitty software twice, shame on me.

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Jul 31 05:28:53 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA02045
	for scwm-discuss-outgoing; Sat, 31 Jul 1999 05:28:53 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from seldon.dtek.chalmers.se (root@seldon.dtek.chalmers.se [129.16.30.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA02042
	for <scwm-discuss@scwm.mit.edu>; Sat, 31 Jul 1999 05:28:48 -0400
Received: from bayta.dtek.chalmers.se (d4jonas@bayta.dtek.chalmers.se [129.16.30.97])
	by seldon.dtek.chalmers.se (8.8.8/8.8.8) with ESMTP id LAA29042
	for <scwm-discuss@scwm.mit.edu>; Sat, 31 Jul 1999 11:28:41 +0200 (MET DST)
Received: (from d4jonas@localhost)
	by bayta.dtek.chalmers.se (8.8.8/8.8.8) id LAA19953;
	Sat, 31 Jul 1999 11:28:40 +0200 (MET DST)
To: scwm-discuss@scwm.mit.edu
Subject: SCWMDoc 0.1B-3
X-No-Archive: Yes
Mail-Copies-To: never
Organization: The Deciples of Albericht Nibelungen
From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Date: 31 Jul 1999 11:28:40 +0200
Message-ID: <wtn6731183b.fsf@bayta.dtek.chalmers.se>
Lines: 13
User-Agent: Gnus/5.070091 (Pterodactyl Gnus v0.91) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Lo and behold!

After nine month (!) a beta version 3 is out. Not much has changed but
most noteworthy is that the table of contents is in place.

<URL:http://www.dtek.chalmers.se/~d4jonas/SCWM/index.shtml>

(Does the text look awful in your acroreader too?)

-- 
( Jonas Steverud  @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Jul 31 15:24:35 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA02393
	for scwm-discuss-outgoing; Sat, 31 Jul 1999 15:24:35 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA02390
	for <scwm-discuss@scwm.mit.edu>; Sat, 31 Jul 1999 15:24:29 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA14846; Sat, 31 Jul 1999 12:24:21 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: Re: SCWMDoc 0.1B-3
References: <wtn6731183b.fsf@bayta.dtek.chalmers.se>
From: Greg Badros <gjb@cs.washington.edu>
Date: 31 Jul 1999 12:24:21 -0700
In-Reply-To: Jonas Steverud's message of "31 Jul 1999 11:28:40 +0200"
Message-ID: <qrrso641v2y.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jonas Steverud <d4jonas@dtek.chalmers.se> writes:

> Lo and behold!
> 
> After nine month (!) a beta version 3 is out. Not much has changed but
> most noteworthy is that the table of contents is in place.
> 
> <URL:http://www.dtek.chalmers.se/~d4jonas/SCWM/index.shtml>
> 
> (Does the text look awful in your acroreader too?)

These links may help you get the fonts to look better in Acroreader...

http://www.ams.org/tex/type1-cm-fonts.html
http://www.adobe.com/supportservice/custsupport/SOLUTIONS/543e.htm

It'd be nice if you made the LaTeX source available-- it's fine that
it's in an early form, but others surely will have contributions to make 
to this documentation, and keeping things closed doesn't help anybody.

Thanks for your effort on this documentation.... I think it's a very
worthwhile project and I hope to see it continue to improve!

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug  2 16:58:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA09185
	for scwm-discuss-outgoing; Mon, 2 Aug 1999 16:58:42 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mail.execpc.com (qmailr@narn-2-149.mdm.mke.execpc.com [169.207.136.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id QAA09182
	for <scwm-discuss@scwm.mit.edu>; Mon, 2 Aug 1999 16:58:34 -0400
Received: (qmail 642 invoked by uid 1000); 2 Aug 1999 20:58:17 -0000
Date: Mon, 2 Aug 1999 15:58:17 -0500
From: "A. P. Garcia" <apg@execpc.com>
To: scwm-discuss@scwm.mit.edu
Subject: fyi -- gnome wants a default wm
Message-ID: <19990802155817.A611@execpc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Just posting this fyi.  I don't know how the authors of scwm would feel
about the possibility of scwm becoming the default wm for gnome, but if
they desire a larger user base, well, they could do worse.

It doesn't matter to me either way.  I see ways in which this might or
might not hypothetically work.  The biggest problems would be, first,
that I would not like to see anyone try to change the direction scwm is
heading in.  That would be terrible.  Secondly, they obviously want
something that any joe end user can run even if he doesn't know that it's
running.  This wouldn't be difficult, but again, it could detract from more
constructive work.

Still, I cannot help thinking that a guile-extended wm would easily be
the most logical choice for a GNU project.  The question then would be
whether you want scwm to be part of a GNU project also.



This is from the GNOME Summary for July 25-August 1:
--------------------------------------------------------------

 3)  Fix the Window Manager

--------------------------------------------------------------

Dr. Mike posted to say that we probably need a GNOME window manager
that "matches" GNOME and integrates with it extremely well. Users
shouldn't have to see the word "Window Manager." This seems to be a
growing consensus; read Dr. Mike's post here:

  http://www.gnome.org/mailing-lists/archives/gnome-list/1999-August/0052.shtml

GNOME will continue to work with all window managers, but we want to
provide a nice default that gives the user a truly seamless
experience. If hackers don't care about mismatched themes and the
like, they're free to use any WM that implements the GNOME/KDE WM
spec.

Now all we need is someone willing to hack on this window
manager. It's perhaps hard to find someone, since the express purpose
of the WM is to blend into GNOME and be user-invisible, so it's not a
glamorous job. But it would improve GNOME enormously. There are
several people who've been working on a GNOME WM of one kind or
another, but no one has emerged with the definitive hunk of working
code.


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug  2 18:18:49 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA09521
	for scwm-discuss-outgoing; Mon, 2 Aug 1999 18:18:49 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA09518
	for <scwm-discuss@scwm.mit.edu>; Mon, 2 Aug 1999 18:18:40 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA01311; Mon, 2 Aug 1999 15:18:26 -0700 (PDT)
To: "A. P. Garcia" <apg@execpc.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: fyi -- gnome wants a default wm
References: <19990802155817.A611@execpc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Aug 1999 15:18:26 -0700
In-Reply-To: "A. P. Garcia"'s message of "Mon, 2 Aug 1999 15:58:17 -0500"
Message-ID: <qrroggp4yj1.fsf@elwha.cs.washington.edu>
Lines: 22
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"A. P. Garcia" <apg@execpc.com> writes:

> Just posting this fyi.  I don't know how the authors of scwm would feel
> about the possibility of scwm becoming the default wm for gnome, but if
> they desire a larger user base, well, they could do worse.

<snip>

I think the best approach is to encourage gnome folks to create a
configuration for Scwm that blends nicely with Gnome... we are willing
to support adding primitives to aid this effort, and this would save
them from having to write a window manager from scratch.

I think the biggest thing that scwm needs to make this work well is to
use GTk/Gdk for its decorations so that theme support is
sufficiently-well integrated.  This could very well happen as part of
the decoration rewrite.

I think the gnome folks are aware of our window manager, but maybe we
need to push this approach more strongly.... 

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug  2 21:38:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA10030
	for scwm-discuss-outgoing; Mon, 2 Aug 1999 21:38:40 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mail.execpc.com (qmailr@narn-2-35.mdm.mke.execpc.com [169.207.134.163])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id VAA10027
	for <scwm-discuss@scwm.mit.edu>; Mon, 2 Aug 1999 21:38:19 -0400
Received: (qmail 898 invoked by uid 1000); 3 Aug 1999 01:37:26 -0000
Date: Mon, 2 Aug 1999 20:37:26 -0500
From: "A. P. Garcia" <apg@execpc.com>
To: scwm-discuss@scwm.mit.edu
Subject: using gdk/gtk in the wm
Message-ID: <19990802203726.A875@execpc.com>
References: <19990802155817.A611@execpc.com> <qrroggp4yj1.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3i
In-Reply-To: <qrroggp4yj1.fsf@elwha.cs.washington.edu>; from Greg Badros on Mon, Aug 02, 1999 at 03:18:26PM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Mon, Aug 02, 1999 at 03:18:26PM -0700, Greg Badros wrote:
> I think the biggest thing that scwm needs to make this work well is to
> use GTk/Gdk for its decorations so that theme support is
> sufficiently-well integrated.  This could very well happen as part of
> the decoration rewrite.

I vaguely remember skimming through a discussion, perhaps a bit of a flame
war, on this.  I'm not sure if it was here or on a gnome list.  If you
didn't catch it, you might want to do a quick search through their archives
to see what they had to say.

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug  3 08:03:03 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id IAA12210
	for scwm-discuss-outgoing; Tue, 3 Aug 1999 08:03:03 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from relay8.Austria.EU.net (relay8.Austria.EU.net [193.154.160.146])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id IAA12207
	for <scwm-discuss@scwm.mit.edu>; Tue, 3 Aug 1999 08:02:55 -0400
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.3/8.9.3) with UUCP id NAA22539
	for scwm-discuss@scwm.mit.edu; Tue, 3 Aug 1999 13:41:47 +0200 (MET DST)
Received: (qmail 1324 invoked by uid 115); 3 Aug 1999 09:35:13 -0000
To: scwm-discuss@scwm.mit.edu
Subject: Re: fyi -- gnome wants a default wm
References: <19990802155817.A611@execpc.com> <qrroggp4yj1.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 03 Aug 1999 11:35:12 +0200
In-Reply-To: Greg Badros's message of "02 Aug 1999 15:18:26 -0700"
Message-ID: <ws7lndtdf3.fsf@orcus.priv.at>
Lines: 53
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

>>>>> On 02 Aug 1999 15:18:26 -0700
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> I think the best approach is to encourage gnome folks to create
 Greg> a configuration for Scwm that blends nicely with Gnome...

I fear that Scwm-savvy people are a minority in the Gnome camp. *And*
many people tend to avoid lispoid languages like the plague. OTOH, a
couple of Gimp-heads probably already knows Scheme by necessity
(perl-fu, feh!) Hmm, perhaps raising Scwm's visibility through a
gimp.org-contest ("best Scwm-theme", or something) would be nice.

 Greg> we are willing to support adding primitives to aid this effort,
 Greg> and this would save them from having to write a window manager
 Greg> from scratch.

It seems that a lot of people like to create wm's from scratch,
nowadays. It's not as bad as with clocks, yet ... <g>.

 Greg> I think the biggest thing that scwm needs to make this work
 Greg> well is to use GTk/Gdk for its decorations so that theme
 Greg> support is sufficiently-well integrated. This could very well
 Greg> happen as part of the decoration rewrite.

Hmm. What widgets would Scwm use? I think that most decoration
elements are unique to windowmanagers, and that we wouldn't gain much
from using Gtk (and neither would Gtk).

As regards themability: It would suffice to declare

Gnome Theme = GTK Theme + theme for "the" Gnome WM
           (optionally: + themes for other WMs)

For example, the standard "Notif" GTK Theme could be augmented by a
Scwm Theme that copies MWM's Look (what about Feel?). Of course this
will raise the number of skills a theme designer needs. Perhaps we
should offer some mentorship for potential theme designers: encourage
them to ask on this list for help, then someone with time on his/her
hand (well...) takes the designer under tutelage.

 Greg> I think the gnome folks are aware of our window manager, but
 Greg> maybe we need to push this approach more strongly....

I think we need more people using Gnome and Scwm together before we
can think about this seriously.

        Robbe

-- 
Robert Bihlmeyer       reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>    <http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug  3 15:20:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA12684
	for scwm-discuss-outgoing; Tue, 3 Aug 1999 15:20:27 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from seldon.dtek.chalmers.se (root@seldon.dtek.chalmers.se [129.16.30.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA12681
	for <scwm-discuss@scwm.mit.edu>; Tue, 3 Aug 1999 15:20:18 -0400
Received: from licia.dtek.chalmers.se (d4jonas@licia.dtek.chalmers.se [129.16.30.88])
	by seldon.dtek.chalmers.se (8.8.8/8.8.8) with ESMTP id VAA10298
	for <scwm-discuss@scwm.mit.edu>; Tue, 3 Aug 1999 21:20:10 +0200 (MET DST)
Received: (from d4jonas@localhost)
	by licia.dtek.chalmers.se (8.8.8/8.8.8) id VAA22330;
	Tue, 3 Aug 1999 21:20:10 +0200 (MET DST)
To: scwm-discuss@scwm.mit.edu
Subject: Re: SCWMDoc 0.1B-3
References: <wtn6731183b.fsf@bayta.dtek.chalmers.se> <qrrso641v2y.fsf@elwha.cs.washington.edu>
X-No-Archive: Yes
Mail-Copies-To: never
Organization: The Deciples of Albericht Nibelungen
From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Date: 03 Aug 1999 21:20:10 +0200
In-Reply-To: Greg Badros's message of "31 Jul 1999 12:24:21 -0700"
Message-ID: <wtnd7x4eknp.fsf@licia.dtek.chalmers.se>
Lines: 34
User-Agent: Gnus/5.070091 (Pterodactyl Gnus v0.91) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Jonas Steverud <d4jonas@dtek.chalmers.se> writes:

[...]

> These links may help you get the fonts to look better in Acroreader...

I'll have a look at it.

[...]

> It'd be nice if you made the LaTeX source available-- it's fine that
> it's in an early form, but others surely will have contributions to make 
> to this documentation,

Let's do it this way: When I've received five suggestions (like a
discription of the window object) I'll submit the source.

  extortion
       n 1: an exorbitant charge
       2: unjust exaction (as by the misuse of authority)

Ok? ;-)

The suggestions doesn't need to be LaTeX-final-state, just something
I can build upon. (I assume I have to rewrite it anyway.)

Bottom line: I want to remove some of the lefttodos first - and I need
time to write a good script that makes it a tarball in a Good Way.

-- 
( Jonas Steverud  @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug  5 10:26:53 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA19959
	for scwm-discuss-outgoing; Thu, 5 Aug 1999 10:26:53 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from w2.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA19956
	for <scwm-discuss@scwm.mit.edu>; Thu, 5 Aug 1999 10:26:46 -0400
Received: from mizar (r3p102.ntt.it [194.75.44.102]) by w2.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id QAA12588 for <scwm-discuss@scwm.mit.edu>; Thu, 5 Aug 1999 16:27:17 +0200 (DFT)
Received: from cesco by mizar with local (Exim 3.02 #1 (Debian))
	id 11CMfm-0000Ea-00
	for <scwm-discuss@scwm.mit.edu>; Thu, 05 Aug 1999 14:31:02 +0200
Date: Thu, 5 Aug 1999 14:31:01 +0200
From: Francesco Tapparo <cesco@mizar.MIT.EDU>
To: scwm-discuss@scwm.mit.edu
Subject: little typo in themes/Makefile.am
Message-ID: <19990805143101.A895@mizar>
Reply-To: cesco@debian.org
Mail-Followup-To: scwm-discuss@scwm.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

In themes/Makefile.am there is a little typo preventing the correct working
of the distclean rule:

## Themes must be removed by make distclean
## WARNING: this assume that the only files ending with
## .@TAR_SUFFIX@ are the themes files
DISTCLEANFILES=*.@TAR_SFUFFIX@
                  ^^^^^^^^^^^
                        |
		  instead of TAR_SUFFIX

cheers

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug  5 11:09:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA20133
	for scwm-discuss-outgoing; Thu, 5 Aug 1999 11:09:33 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA20130
	for <scwm-discuss@scwm.mit.edu>; Thu, 5 Aug 1999 11:09:27 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA08203; Thu, 5 Aug 1999 08:09:19 -0700 (PDT)
To: cesco@debian.org
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: little typo in themes/Makefile.am
References: <19990805143101.A895@mizar>
From: Greg Badros <badros@cs.washington.edu>
Date: 05 Aug 1999 08:09:18 -0700
In-Reply-To: Francesco Tapparo's message of "Thu, 5 Aug 1999 14:31:01 +0200"
Message-ID: <qrr907quuw1.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francesco Tapparo <cesco@mizar.MIT.EDU> writes:

> In themes/Makefile.am there is a little typo preventing the correct working
> of the distclean rule:
> 
> ## Themes must be removed by make distclean
> ## WARNING: this assume that the only files ending with
> ## .@TAR_SUFFIX@ are the themes files
> DISTCLEANFILES=*.@TAR_SFUFFIX@
>                   ^^^^^^^^^^^
>                         |
> 		  instead of TAR_SUFFIX

Thanks!  Your change is now committed.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug  5 14:41:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA20343
	for scwm-discuss-outgoing; Thu, 5 Aug 1999 14:41:02 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA20340
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 5 Aug 1999 14:40:54 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id OAA24369
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 5 Aug 1999 14:40:50 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id OAA25675;
	Thu, 5 Aug 1999 14:40:47 -0400 (EDT)
Date: Thu, 5 Aug 1999 14:40:47 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Click to focus broken in current CVS?
In-Reply-To: <qrr907quuw1.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9908051424310.29182-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I just checked out scwm and built it on RedHat 5.2/intel.
With my .scwmrc that works great with scwm-cvs as of a week or so ago,
(window-style "*" #:focus 'click) doesn't work at all; focus never changes
when click on window body or title bar.   (next-window) still worked;
fortunately I had it bound to a key.

 #:focus 'mouse does work, as expected however.


I'm trying to follow the code, but this is a little urgent - a colleague
wants his new laptop setup "just like mine" before we leave for a
conference on saturday.  
Pointers or workarounds would be appreciated

thanks,
Steve



-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug  5 15:57:04 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA20485
	for scwm-discuss-outgoing; Thu, 5 Aug 1999 15:57:04 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tux.gsfc.nasa.gov (kodis@tux.gsfc.nasa.gov [128.183.191.134])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA20482
	for <scwm-discuss@scwm.mit.edu>; Thu, 5 Aug 1999 15:56:57 -0400
Received: (from kodis@localhost)
	by tux.gsfc.nasa.gov (8.9.3/8.9.3) id PAA31112
	for scwm-discuss@scwm.mit.edu; Thu, 5 Aug 1999 15:56:50 -0400
Date: Thu, 5 Aug 1999 15:56:50 -0400
From: kodis@gsfc.nasa.gov
To: scwm-discuss@scwm.mit.edu
Subject: Can't flash window from show-window-list-menu
Message-ID: <19990805155650.A31092@tux.gsfc.nasa.gov>
Reply-To: john.kodis@gsfc.nasa.gov
Mail-Followup-To: scwm-discuss@scwm.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I've noticed that in the past few months worth of the CVS versions of
scwm, the #:flash-window-proc and #:unflash-window-proc options to the
show-window-list-menu procedure seems to no longer work.

I've tried supplying my own flash and unflash procedures in place of
the flash-window and unflash-window procedures that I would normally
use, and it seems that these are never being called.

Here's how I'm setting up my window menu.  Does this look right?

(define (window-list)
  (show-window-list-menu
   #:show-geometry #t #:warp-to-first #t #:show-mini-icon #t
   #:flash-window-proc flash-window
   #:unflash-window-proc unflash-window))
(bind-mouse 'root 2 window-list)

-- 
John Kodis <john.kodis@gsfc.nasa.gov>

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug  5 16:51:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA20740
	for scwm-discuss-outgoing; Thu, 5 Aug 1999 16:51:11 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sanjuan.cs.washington.edu (sanjuan.cs.washington.edu [128.95.8.118])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA20737
	for <scwm-discuss@scwm.mit.edu>; Thu, 5 Aug 1999 16:51:03 -0400
Received: from localhost (jwnichls@localhost) by sanjuan.cs.washington.edu (8.8.5+CS/7.2ws+) with SMTP id NAA24006; Thu, 5 Aug 1999 13:50:59 -0700 (PDT)
Date: Thu, 5 Aug 1999 13:50:59 -0700 (PDT)
From: Jeffrey Nichols <jwnichls@cs.washington.edu>
To: john.kodis@gsfc.nasa.gov
cc: scwm-discuss@scwm.mit.edu
Subject: Re: Can't flash window from show-window-list-menu
In-Reply-To: <19990805155650.A31092@tux.gsfc.nasa.gov>
Message-ID: <Pine.OSF.4.02A.9908051344280.22246-100000@sanjuan.cs.washington.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


	In the limited testing I did (on my slightly out-of-date
installation at work) it looks to me like hover actions are broken for
menuitems in general.  I don't see anything obvious in menu.c or
menuitem.c, but I will look at it later if someone doesn't beat me to it.

		-Jeff

On Thu, 5 Aug 1999 kodis@gsfc.nasa.gov wrote:

> I've noticed that in the past few months worth of the CVS versions of
> scwm, the #:flash-window-proc and #:unflash-window-proc options to the
> show-window-list-menu procedure seems to no longer work.
> 
> I've tried supplying my own flash and unflash procedures in place of
> the flash-window and unflash-window procedures that I would normally
> use, and it seems that these are never being called.
> 
> Here's how I'm setting up my window menu.  Does this look right?
> 
> (define (window-list)
>   (show-window-list-menu
>    #:show-geometry #t #:warp-to-first #t #:show-mini-icon #t
>    #:flash-window-proc flash-window
>    #:unflash-window-proc unflash-window))
> (bind-mouse 'root 2 window-list)
> 
> -- 
> John Kodis <john.kodis@gsfc.nasa.gov>
> 

---
Jeff W. Nichols   "There are over forty million lines of code in Windows,
UW CSE                     and I love every one of them."
jwnichls@cs                         - Jean-Louis Gassee CEO, Be Inc.


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug  5 17:13:45 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA20899
	for scwm-discuss-outgoing; Thu, 5 Aug 1999 17:13:45 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sanjuan.cs.washington.edu (sanjuan.cs.washington.edu [128.95.8.118])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA20894
	for <scwm-discuss@scwm.mit.edu>; Thu, 5 Aug 1999 17:13:36 -0400
Received: from localhost (jwnichls@localhost) by sanjuan.cs.washington.edu (8.8.5+CS/7.2ws+) with SMTP id OAA25912; Thu, 5 Aug 1999 14:13:34 -0700 (PDT)
Date: Thu, 5 Aug 1999 14:13:33 -0700 (PDT)
From: Jeffrey Nichols <jwnichls@cs.washington.edu>
To: john.kodis@gsfc.nasa.gov
cc: scwm-discuss@scwm.mit.edu
Subject: Re: Can't flash window from show-window-list-menu
In-Reply-To: <19990805165827.A31171@tux.gsfc.nasa.gov>
Message-ID: <Pine.OSF.4.02A.9908051408120.19859-100000@sanjuan.cs.washington.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> Great, thanks for the pointer.  I had been looking through
> winlist.scm, but the code gets quite hairy.  I'm glad to hear that
> that's most likely not where the problem is.

	Actually I'm no longer sure...  After playing with it a bit more,
it looks like maybe the behavior is just strange.  I can occasionally get
the window to flash momentarily when the mouse is moving over the top of
that windows menuitem.  To be honest, I don't really trust this
installation.  I'll be able to test better when I get home.  Sorry I
jumped the gun a little bit...

		-Jeff

---
Jeff W. Nichols   "There are over forty million lines of code in Windows,
UW CSE                     and I love every one of them."
jwnichls@cs                         - Jean-Louis Gassee CEO, Be Inc.


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug  5 18:01:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA21105
	for scwm-discuss-outgoing; Thu, 5 Aug 1999 18:01:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA21102
	for <scwm-discuss@scwm.mit.edu>; Thu, 5 Aug 1999 18:01:07 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA08579; Thu, 5 Aug 1999 15:01:03 -0700 (PDT)
To: john.kodis@gsfc.nasa.gov
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Can't flash window from show-window-list-menu
References: <19990805155650.A31092@tux.gsfc.nasa.gov>
From: Greg Badros <gjb@cs.washington.edu>
Date: 05 Aug 1999 15:01:03 -0700
In-Reply-To: kodis@gsfc.nasa.gov's message of "Thu, 5 Aug 1999 15:56:50 -0400"
Message-ID: <qrrr9lhubts.fsf@elwha.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

kodis@gsfc.nasa.gov writes:

> I've noticed that in the past few months worth of the CVS versions of
> scwm, the #:flash-window-proc and #:unflash-window-proc options to the
> show-window-list-menu procedure seems to no longer work.
> 
> I've tried supplying my own flash and unflash procedures in place of
> the flash-window and unflash-window procedures that I would normally
> use, and it seems that these are never being called.
> 
> Here's how I'm setting up my window menu.  Does this look right?
> 
> (define (window-list)
>   (show-window-list-menu
>    #:show-geometry #t #:warp-to-first #t #:show-mini-icon #t
>    #:flash-window-proc flash-window
>    #:unflash-window-proc unflash-window))
> (bind-mouse 'root 2 window-list)

I think you want flash-window-on, not flash-window.  The latter now just 
flashes the window once (briefly), and doesn't leave the window
highlighted.  (This was broken in my gjb.scwmrc, too... thanks!)

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug  5 18:04:48 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA21153
	for scwm-discuss-outgoing; Thu, 5 Aug 1999 18:04:48 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA21149
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 5 Aug 1999 18:04:41 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA08582; Thu, 5 Aug 1999 15:04:35 -0700 (PDT)
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Click to focus broken in current CVS?
References: <Pine.GHP.4.10.9908051424310.29182-100000@rukbat.cs.unc.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 05 Aug 1999 15:04:35 -0700
In-Reply-To: Stephen Tell's message of "Thu, 5 Aug 1999 14:40:47 -0400 (EDT)"
Message-ID: <qrrpv11ubnw.fsf@elwha.cs.washington.edu>
Lines: 27
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> I just checked out scwm and built it on RedHat 5.2/intel.
> With my .scwmrc that works great with scwm-cvs as of a week or so ago,
> (window-style "*" #:focus 'click) doesn't work at all; focus never changes
> when click on window body or title bar.   (next-window) still worked;
> fortunately I had it bound to a key.
> 
>  #:focus 'mouse does work, as expected however.

Hmmm... it works for me...  can anybody else reproduce this?

> I'm trying to follow the code, but this is a little urgent - a colleague
> wants his new laptop setup "just like mine" before we leave for a
> conference on saturday.  
> Pointers or workarounds would be appreciated

I'll happily fix the bug ASAP, but I just can't find the bug! :-(

One related thing that's changed recently-- binding.c's add_binding now
calls remove_binding (line 669ish)-- you could try taking that out and
see if it makes any difference....

You're not getting any warnings or errors on your stdout/stderr from Scwm?

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug  5 22:37:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA21717
	for scwm-discuss-outgoing; Thu, 5 Aug 1999 22:37:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA21714
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 5 Aug 1999 22:37:44 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id WAA08223;
	Thu, 5 Aug 1999 22:37:40 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id WAA02281;
	Thu, 5 Aug 1999 22:37:37 -0400 (EDT)
Date: Thu, 5 Aug 1999 22:37:37 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: Greg Badros <gjb@cs.washington.edu>
cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Click to focus broken in current CVS?
In-Reply-To: <qrrpv11ubnw.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9908052219460.29182-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 5 Aug 1999, Greg Badros wrote:

> Stephen Tell <tell@cs.unc.edu> writes:
> 
> > I just checked out scwm and built it on RedHat 5.2/intel.
> > With my .scwmrc that works great with scwm-cvs as of a week or so ago,
> > (window-style "*" #:focus 'click) doesn't work at all; focus never changes
> > when click on window body or title bar.   (next-window) still worked;
> > fortunately I had it bound to a key.
> > 
> >  #:focus 'mouse does work, as expected however.
> 
> Hmmm... it works for me...  can anybody else reproduce this?

I played around a lot more, pulling things in and out of my .scwmrc.
Removing this hack I had developed to set the first focus cures things:

 (add-hook! startup-hook (lambda () (let ((w (current-window-with-pointer)))
				      (if w (focus w)))))


The erroneous behavior is actually this:
On start or restart, the xterm under the cursor gets the focus.
Clicking in another xterm does not give it the focus.  
button 1 down-drag-release actually selects text in that other xterm, but
it never gets focused.

Until that is, I pop up a menu - after that the click-to-focus behaves
normally.

Since my normal startup creates just one xterm, and I have to use the menu
to create more - this may have been going on for quite some time, not just
recently.

I'd still like to understand the behavior - but I can live with it for
now!  Sorry for the false alarm.

Does (focus w) try to do somthing to keep focus stuck to a window? If not,
maybe it is somthing real subtle perhaps in the button event binding stuff
related to focusing.
 
> I'll happily fix the bug ASAP, but I just can't find the bug! :-(
> 
> One related thing that's changed recently-- binding.c's add_binding now
> calls remove_binding (line 669ish)-- you could try taking that out and
> see if it makes any difference....
> 
> You're not getting any warnings or errors on your stdout/stderr from Scwm?

I was/am getting a few, that didn't seem related:

;;; WARNING (no code for module c-animation)
[Scwm][make-image]: <<WARNING>> Image file was not found: `anchor-cursor.xpm'
xlock modes not found
Error loading module: (app scwm pie-menus)
ERROR: no such module (app scwm pie-menus)

 
This is running with an uninstalled version, after setting SCWM_LOAD_PATH.
I was trying to do a (use-scwm-menus pie-menus) but I can't figure out
what's looking for the animation stuff.

thanks,
Steve


-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Aug  6 11:46:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA24079
	for scwm-discuss-outgoing; Fri, 6 Aug 1999 11:46:47 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tux.gsfc.nasa.gov (kodis@tux.gsfc.nasa.gov [128.183.191.134])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA24076
	for <scwm-discuss@scwm.mit.edu>; Fri, 6 Aug 1999 11:46:40 -0400
Received: (from kodis@localhost)
	by tux.gsfc.nasa.gov (8.9.3/8.9.3) id LAA14422
	for scwm-discuss@scwm.mit.edu; Fri, 6 Aug 1999 11:46:38 -0400
Date: Fri, 6 Aug 1999 11:46:38 -0400
From: kodis@gsfc.nasa.gov
To: scwm-discuss@scwm.mit.edu
Subject: Re: Can't flash window from show-window-list-menu
Message-ID: <19990806114638.A14405@tux.gsfc.nasa.gov>
Reply-To: john.kodis@gsfc.nasa.gov
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <19990805155650.A31092@tux.gsfc.nasa.gov> <qrrr9lhubts.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <qrrr9lhubts.fsf@elwha.cs.washington.edu>; from Greg Badros on Thu, Aug 05, 1999 at 03:01:03PM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Thu, Aug 05, 1999 at 03:01:03PM -0700, Greg Badros wrote:
> kodis@gsfc.nasa.gov writes:
> > I've noticed that in the past few months worth of the CVS versions of
> > scwm, the #:flash-window-proc and #:unflash-window-proc options to the
> > show-window-list-menu procedure seems to no longer work.
> 
> I think you want flash-window-on, not flash-window.  The latter now just 
> flashes the window once (briefly), and doesn't leave the window
> highlighted.  (This was broken in my gjb.scwmrc, too... thanks!)

Nope, at least for me there's more to it than that.  I've tried using
flash-window-on to no avail.  Unless I'm missing something, the
problem seems to be that the #:flash-window-proc procedure never gets
called.  At least when I specify say-hello as the #:flash-window-proc
procedure with say-hello defined as (define (say-hello) (display "Hello\n"))
I get no output when I cursor through the window menu items.

Here's a minimal .scwmrc file that displays the problem if anyone
would like to try reproducing it:

(use-scwm-modules base flash-window winlist)
(define (window-list)
  (show-window-list-menu
   #:flash-window-proc flash-window-on
   #:unflash-window-proc unflash-window))
(bind-mouse 'root 2 window-list)

BTW, I really like the animated "lambda-in-a-circle" scwm logo that I
found when I tried gjb.scwmrc.

-- 
John Kodis <john.kodis@gsfc.nasa.gov>

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Aug  6 11:56:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA24122
	for scwm-discuss-outgoing; Fri, 6 Aug 1999 11:56:13 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA24119
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 6 Aug 1999 11:56:05 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA10134; Fri, 6 Aug 1999 08:55:58 -0700 (PDT)
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Click to focus broken in current CVS?
References: <Pine.GHP.4.10.9908052219460.29182-100000@rukbat.cs.unc.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Aug 1999 08:55:57 -0700
In-Reply-To: Stephen Tell's message of "Thu, 5 Aug 1999 22:37:37 -0400 (EDT)"
Message-ID: <qrrr9lgoqcy.fsf@elwha.cs.washington.edu>
Lines: 93
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> On 5 Aug 1999, Greg Badros wrote:
> 
> > Stephen Tell <tell@cs.unc.edu> writes:
> > 
> > > I just checked out scwm and built it on RedHat 5.2/intel.
> > > With my .scwmrc that works great with scwm-cvs as of a week or so ago,
> > > (window-style "*" #:focus 'click) doesn't work at all; focus never changes
> > > when click on window body or title bar.   (next-window) still worked;
> > > fortunately I had it bound to a key.
> > > 
> > >  #:focus 'mouse does work, as expected however.
> > 
> > Hmmm... it works for me...  can anybody else reproduce this?
> 
> I played around a lot more, pulling things in and out of my .scwmrc.
> Removing this hack I had developed to set the first focus cures things:
> 
>  (add-hook! startup-hook (lambda () (let ((w (current-window-with-pointer)))
> 				      (if w (focus w)))))
> 
> 
> The erroneous behavior is actually this:
> On start or restart, the xterm under the cursor gets the focus.
> Clicking in another xterm does not give it the focus.  
> button 1 down-drag-release actually selects text in that other xterm, but
> it never gets focused.
> 
> Until that is, I pop up a menu - after that the click-to-focus behaves
> normally.

Wow... crazy stuff... great detective work, Steve!

> Since my normal startup creates just one xterm, and I have to use the menu
> to create more - this may have been going on for quite some time, not just
> recently.
> 
> I'd still like to understand the behavior - but I can live with it for
> now!  Sorry for the false alarm.
> 
> Does (focus w) try to do somthing to keep focus stuck to a window? If not,
> maybe it is somthing real subtle perhaps in the button event binding stuff
> related to focusing.

focus's implementing C function, SetFocus, is a helluva lot more
complicated than you'd think (or at least than I would've thought).  
I still can't quite reproduce your problem, though.  I'm starting with
this .scwmrc:

;; start
(use-scwm-modules style)

(window-style "*" #:focus 'click)

(add-hook! startup-hook 
	   (lambda () 
	     (let ((w (current-window-with-pointer)))
	       (if w (focus w)))))
;; end

And click to focus works for me right away (even before I use a menu).

> > I'll happily fix the bug ASAP, but I just can't find the bug! :-(
> > 
> > One related thing that's changed recently-- binding.c's add_binding now
> > calls remove_binding (line 669ish)-- you could try taking that out and
> > see if it makes any difference....
> > 
> > You're not getting any warnings or errors on your stdout/stderr from Scwm?
> 
> I was/am getting a few, that didn't seem related:
> 
> ;;; WARNING (no code for module c-animation)
> [Scwm][make-image]: <<WARNING>> Image file was not found: `anchor-cursor.xpm'
> xlock modes not found
> Error loading module: (app scwm pie-menus)
> ERROR: no such module (app scwm pie-menus)
> 
>  
> This is running with an uninstalled version, after setting SCWM_LOAD_PATH.
> I was trying to do a (use-scwm-menus pie-menus) but I can't figure out
> what's looking for the animation stuff.

You probably need to run the "make-devtest" script from scwm/modules to
get the library files for the C modules all in scwm/modules/lib (and
then be sure that that, too, is in your SCWM_LOAD_PATH).

The anchor-cursor.xpm does get installed, but you probably just haven't
run make install since that pixmap was added.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Aug  6 12:19:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA24320
	for scwm-discuss-outgoing; Fri, 6 Aug 1999 12:19:19 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA24317
	for <scwm-discuss@scwm.mit.edu>; Fri, 6 Aug 1999 12:19:11 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA10218; Fri, 6 Aug 1999 09:19:07 -0700 (PDT)
To: john.kodis@gsfc.nasa.gov
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Can't flash window from show-window-list-menu
References: <19990805155650.A31092@tux.gsfc.nasa.gov> <qrrr9lhubts.fsf@elwha.cs.washington.edu> <19990806114638.A14405@tux.gsfc.nasa.gov>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Aug 1999 09:19:07 -0700
In-Reply-To: kodis@gsfc.nasa.gov's message of "Fri, 6 Aug 1999 11:46:38 -0400"
Message-ID: <qrrn1w4opac.fsf@elwha.cs.washington.edu>
Lines: 47
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

kodis@gsfc.nasa.gov writes:

> On Thu, Aug 05, 1999 at 03:01:03PM -0700, Greg Badros wrote:
> > kodis@gsfc.nasa.gov writes:
> > > I've noticed that in the past few months worth of the CVS versions of
> > > scwm, the #:flash-window-proc and #:unflash-window-proc options to the
> > > show-window-list-menu procedure seems to no longer work.
> > 
> > I think you want flash-window-on, not flash-window.  The latter now just 
> > flashes the window once (briefly), and doesn't leave the window
> > highlighted.  (This was broken in my gjb.scwmrc, too... thanks!)
> 
> Nope, at least for me there's more to it than that.  I've tried using
> flash-window-on to no avail.  Unless I'm missing something, the
> problem seems to be that the #:flash-window-proc procedure never gets
> called.  At least when I specify say-hello as the #:flash-window-proc
> procedure with say-hello defined as (define (say-hello) (display "Hello\n"))
> I get no output when I cursor through the window menu items.

Just to be sure I don't go chasing down a problem that is just due to a
misunderstanding:

Do you realize that the flash-window-proc is only invoked after the
menu's hover delay?  E.g., this might do more what you're expecting:

(use-scwm-modules base flash-window winlist)
(define (window-list)
  (show-window-list-menu
   #:hover-delay 0    ;; ADDED THIS LINE
   #:flash-window-proc flash-window-on
   #:unflash-window-proc unflash-window))
(bind-mouse 'root 2 window-list)

We should probably make the hover-delay default to 0 for
show-window-list-menu, since the behaviour is less intuitive when the
names of the keywords for the procedures don't include the substring
"hover".

If that's not the problem, let me know and I'll try to reproduce it but
might need more information.

> BTW, I really like the animated "lambda-in-a-circle" scwm logo that I
> found when I tried gjb.scwmrc.

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Aug  6 13:04:07 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA24458
	for scwm-discuss-outgoing; Fri, 6 Aug 1999 13:04:07 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA24455
	for <scwm-discuss@scwm.mit.edu>; Fri, 6 Aug 1999 13:04:00 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA10308; Fri, 6 Aug 1999 10:03:56 -0700 (PDT)
To: john.kodis@gsfc.nasa.gov
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Can't flash window from show-window-list-menu
References: <19990805155650.A31092@tux.gsfc.nasa.gov> <qrrr9lhubts.fsf@elwha.cs.washington.edu> <19990806114638.A14405@tux.gsfc.nasa.gov>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Aug 1999 10:03:56 -0700
In-Reply-To: kodis@gsfc.nasa.gov's message of "Fri, 6 Aug 1999 11:46:38 -0400"
Message-ID: <qrriu6son7n.fsf@elwha.cs.washington.edu>
Lines: 10
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I looked a little harder, and it seems that the problem is that
scm_internal_select is blocking when called from NoEventsScwmUpdate();
I never noticed because the blocking only happens if there isn't a timer 
event waiting, and I use timer events in my startup file.

I'm testing my fix now.

Thanks for the bug report!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Aug  6 21:59:55 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA26028
	for scwm-discuss-outgoing; Fri, 6 Aug 1999 21:59:55 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from 207-172-245-138.s392.tnt1.sbo.ma.dialup.rcn.com (mstx@207-172-245-138.s392.tnt1.sbo.ma.dialup.rcn.com [207.172.245.138])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA26025
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 6 Aug 1999 21:59:46 -0400
Received: (from mstx@localhost)
	by 207-172-245-138.s392.tnt1.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id SAA14595;
	Fri, 6 Aug 1999 18:33:38 -0400
To: "A. P. Garcia" <apg@execpc.com>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: fyi -- gnome wants a default wm
References: <19990802155817.A611@execpc.com>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 06 Aug 1999 18:33:35 -0400
In-Reply-To: "A. P. Garcia"'s message of "Mon, 2 Aug 1999 15:58:17 -0500"
Message-ID: <m3so5wk08w.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com>
Lines: 55
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"A. P. Garcia" <apg@execpc.com> writes:

> Just posting this fyi.  I don't know how the authors of scwm would feel
> about the possibility of scwm becoming the default wm for gnome, but if
> they desire a larger user base, well, they could do worse.

Personally, it would make me happy, but I don't think Scwm is the sort
of thing the Gnome people would be looking for.

> It doesn't matter to me either way.  I see ways in which this might or
> might not hypothetically work.  The biggest problems would be, first,
> that I would not like to see anyone try to change the direction scwm is
> heading in.  That would be terrible.  Secondly, they obviously want
> something that any joe end user can run even if he doesn't know that it's
> running.  This wouldn't be difficult, but again, it could detract from more
> constructive work.

Actually, I think providing good integration with Gnome (as well as
KDE) is very constructive work. The main purpose of a window manager
is to allow you to manager your application windows effectively, and
increasingly the interesting applications want Gnome or KDE awareness.

Also, I think Scwm _can_ be something that any joe user can run, with
a suitable default configuration and appropriate use of the
preferences dialog module and a nice way to switch themes. But I think
that most folks think that the very presence of a powerful extension
language (especially a Lispy one) is a hindrance to novice users. I
don't think that is the case - Emacs and the Gimp are two examples of
apps with lispish extension languages that are fairly usable for that
sort of thing, and provide benefits via the extension language even to
users who never write anything in the language themselves.

So I think it would not be infeasible to provide a Scwm setup such
that the Scheme level is essentially invisible to anyone who does not
care about it. And given Scwm's support for modularity through various
methods, I don't think this would even be a detriment to the more
advanced users - they could still load all of those extra features
that they like.

So in conclusion, I think it could be made to work on a technical
level, but I doubt it would fly on a political level, which is why I
have not even bothered to suggest it on the gnome mailing lists.

> Still, I cannot help thinking that a guile-extended wm would easily be
> the most logical choice for a GNU project.  The question then would be
> whether you want scwm to be part of a GNU project also.

Actually, I was thinking recently that it might be nice for Scwm to be
an official part of the GNU project independent of this. We are
already following most of the GNU guidelines anyway. How would people
on the list (hackers especially) feel about this? Obviously RMS's
approval would be ncessary but I am more interested in whether users
and hackers would approve.

 - Maciej

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Aug  6 22:04:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA26072
	for scwm-discuss-outgoing; Fri, 6 Aug 1999 22:04:26 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from 207-172-245-138.s392.tnt1.sbo.ma.dialup.rcn.com (mstx@207-172-245-138.s392.tnt1.sbo.ma.dialup.rcn.com [207.172.245.138])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA26069
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 6 Aug 1999 22:04:20 -0400
Received: (from mstx@localhost)
	by 207-172-245-138.s392.tnt1.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id SAA14600;
	Fri, 6 Aug 1999 18:38:19 -0400
To: "A. P. Garcia" <apg@execpc.com>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: using gdk/gtk in the wm
References: <19990802155817.A611@execpc.com> <qrroggp4yj1.fsf@elwha.cs.washington.edu> <19990802203726.A875@execpc.com>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 06 Aug 1999 18:38:19 -0400
In-Reply-To: "A. P. Garcia"'s message of "Mon, 2 Aug 1999 20:37:26 -0500"
Message-ID: <m3r9lgk010.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com>
Lines: 35
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"A. P. Garcia" <apg@execpc.com> writes:

> On Mon, Aug 02, 1999 at 03:18:26PM -0700, Greg Badros wrote:
> > I think the biggest thing that scwm needs to make this work well is to
> > use GTk/Gdk for its decorations so that theme support is
> > sufficiently-well integrated.  This could very well happen as part of
> > the decoration rewrite.
> 
> I vaguely remember skimming through a discussion, perhaps a bit of a flame
> war, on this.  I'm not sure if it was here or on a gnome list.  If you
> didn't catch it, you might want to do a quick search through their archives
> to see what they had to say.

I have thought about this, but you would really need custom widgets
for this (in effect a libgtkwm widget set add-on) and you would need
to add many features to the gdk layer that window managers care about
but normal apps don't (actually, some of these are things the gnome
pager and/or task list might care about, so a libgdkwm might be a good
thing anyway).

The only things you could really reuse effectively from the gtk widget
set proper are menus and also the ability to make gtk-based dialogs
(which we provide already through guile-gtk). Having those share
themes with gnome would be good. However, window manager buttons
couldn't really effectively share a theme with normal buttons, since
they are almost always rendered differently from stock buttons and
typically have a picture or a relief pattern on them rather than text.

This is definitely a potential idea for the decoration rewrite,
though. It might make more sense to leverage an existing theme
framework than to write a whole new widget set (which is essentially
the route most WMs have gone).

 - Maciej


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Aug  6 22:08:31 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA26137
	for scwm-discuss-outgoing; Fri, 6 Aug 1999 22:08:31 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from 207-172-245-138.s392.tnt1.sbo.ma.dialup.rcn.com (mstx@207-172-245-138.s392.tnt1.sbo.ma.dialup.rcn.com [207.172.245.138])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA26134
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 6 Aug 1999 22:08:22 -0400
Received: (from mstx@localhost)
	by 207-172-245-138.s392.tnt1.sbo.ma.dialup.rcn.com (8.8.7/8.8.7) id SAA14820;
	Fri, 6 Aug 1999 18:42:14 -0400
To: Bob Pepin <bob@sendar.prophecy.lu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: small titlebar-like thingy even with #:no-titlebar #t...
References: <19990731024702.A20796@iceberg.localnet>
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Date: 06 Aug 1999 18:42:12 -0400
In-Reply-To: Bob Pepin's message of "Sat, 31 Jul 1999 02:47:02 +0200"
Message-ID: <m3pv10jzuj.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com>
Lines: 34
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Bob Pepin <bob@sendar.prophecy.lu> writes:

> Hi there,
> (using cvs from Jul 30)
> even when having set #:no-titlebar to #t, I get a small, 1 or 2-pixel
> width grey bar under the top border. happens since quite some time,
> maybe like up to 2 months, not sure anymore, haven't had the time to
> report this yet. testet on both my OpenBSD 2.5 box at home and the suse
> 6.0 at work, both times using guile-1.3+scwm-patches.

Yes, this is definitely a bug. Feel free to log it through gnatsweb
for better tracking. I am about to install Red Hat 6 now since I made
my system unusable for debugging by hand-upgrading to a glibc 2.1
pre-release. Once I track down the memory leak bug I will take a look
at this issue.

> and for the records, compiles fine on OpenBSD 2.5, with the
> some small libpidproperty modifications (already integrated into
> autoconf by now?)

That's good to hear.

> oh, and can anyone explain me what the reason was to disallow negative
> desktops, didn't follow that thread back then...
> there should at least be an option to enable the negative ones, but it
> looks like there isn't, had to make a minor modification to deskpage.c.

Perhaps you could explain why it matters to you whether desktops are
0-based or not. I think the upshot last time was that whatever you
want to do with non-zero-based desktops can be simulated with
zero-based desktops by using appropriate wrappers for desktop
manipulation.

 - Maciej

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Aug  7 05:23:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA28560
	for scwm-discuss-outgoing; Sat, 7 Aug 1999 05:23:52 -0400
Received: from math.uwaterloo.ca (root@math.uwaterloo.ca [129.97.216.42])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA28557
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 7 Aug 1999 05:23:43 -0400
From: jrm@math.uwaterloo.ca
Received: from thing-one.localdomain (cnts2p20.uwaterloo.ca [129.97.182.20])
	by math.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id FAA29491;
	Sat, 7 Aug 1999 05:23:38 -0400 (EDT)
Received: (from jrm@localhost)
	by thing-one.localdomain (8.9.3/8.9.3) id FAA00465;
	Sat, 7 Aug 1999 05:23:00 -0400
Date: Sat, 7 Aug 1999 05:23:00 -0400
Message-Id: <199908070923.FAA00465@thing-one.localdomain>
X-Authentication-Warning: thing-one.localdomain: jrm set sender to jrm@thing-one.localdomain using -f
To: mstachow@alum.mit.edu
CC: apg@execpc.com, scwm-discuss@SCWM.MIT.EDU
In-reply-to: <m3so5wk08w.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com>
	(message from Maciej Stachowiak on 06 Aug 1999 18:33:35 -0400)
Subject: Re: fyi -- gnome wants a default wm
References: <19990802155817.A611@execpc.com> <m3so5wk08w.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Maciej,

Personally, I would very much like to see the GNU project adopt Scwm
(or perhaps the adoption is the other way around).  I regard Scwm as
more important than KDE or GNOME, and would prefer that it have the
strongest possible protection as free software.  On the other hand,
Scwm can well use a lot of ideas on what to do with its power, and the
simplest way to get these ideas is by getting a lot of users.  I hope
the new Scwm release comes in time for me to push for inclusion of
scwm*.ppc.rpm in the forthcoming release of MkLinux.

John
-- 
John MacPhail                   grad student at U.Waterloo
jrmacphail@math.uwaterloo.ca          sneaker net  MC5136A
-----------------------------------------------------------

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Aug  7 11:06:37 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA28799
	for scwm-discuss-outgoing; Sat, 7 Aug 1999 11:06:37 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from kodis.jagunet.com (root@kodis.jaguNET.com [206.156.208.48])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA28796
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 7 Aug 1999 11:06:26 -0400
Received: (from kodis@localhost)
	by kodis.jagunet.com (8.9.3/8.9.3) id KAA02763
	for scwm-discuss@SCWM.MIT.EDU; Sat, 7 Aug 1999 10:25:33 -0400
Date: Sat, 7 Aug 1999 10:25:33 -0400
From: John Kodis <kodis@jagunet.com>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: fyi -- gnome wants a default wm
Message-ID: <19990807102533.A2732@kodis.jagunet.com>
Mail-Followup-To: scwm-discuss@SCWM.MIT.EDU
References: <19990802155817.A611@execpc.com> <m3so5wk08w.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <m3so5wk08w.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com>; from Maciej Stachowiak on Fri, Aug 06, 1999 at 06:33:35PM -0400
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Fri, Aug 06, 1999 at 06:33:35PM -0400, Maciej Stachowiak wrote:

> Actually, I think providing good integration with Gnome (as well as
> KDE) is very constructive work. The main purpose of a window manager
> is to allow you to manager your application windows effectively, and
> increasingly the interesting applications want Gnome or KDE awareness.

Gnome WM development currently seems focused on ease of use.  While
that's much needed, I'm more interested in programmability.  I want to
do things that a WM has never done before, and mere configurability --
being able to select from a predefined menu of options -- will never
get me there; Scwm will.

The parallel with Emacs is obvious: jed, nedit, and vim are nice
editors, but emacs shows what can be done given a programmable text
manipulation environment; Enlightenment and Window Maker are nice
window managers, but only scwm is poised to become the emacs of window
managers.  

> Actually, I was thinking recently that it might be nice for Scwm to
> be an official part of the GNU project independent of this.

Scwm seems very well aligned with the goals of both the GNU Project
and the Gnome Project.  I'd say go for becoming an official part of
*both*.  Being a part of the GNU project would bring visibility,
credibility, and a stable infrastructure.  Being a part of the Gnome
project would bring the attention of a rabidly enthusiastic base of
developers.  These are all good things.

-- John Kodis.

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Aug  7 18:10:04 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA29075
	for scwm-discuss-outgoing; Sat, 7 Aug 1999 18:10:04 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mail.execpc.com (qmailr@skaro-1-15.mdm.mke.execpc.com [169.207.138.15])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id SAA29072
	for <scwm-discuss@scwm.mit.edu>; Sat, 7 Aug 1999 18:09:52 -0400
Received: (qmail 1030 invoked by uid 1000); 7 Aug 1999 22:07:34 -0000
Date: Sat, 7 Aug 1999 17:07:34 -0500
From: "A. P. Garcia" <apg@execpc.com>
To: scwm-discuss@scwm.mit.edu
Subject: Re: fyi -- gnome wants a default wm
Message-ID: <19990807170734.A950@execpc.com>
References: <19990802155817.A611@execpc.com> <m3so5wk08w.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com> <19990807102533.A2732@kodis.jagunet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3i
In-Reply-To: <19990807102533.A2732@kodis.jagunet.com>; from John Kodis on Sat, Aug 07, 1999 at 10:25:33AM -0400
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Kodis:
> only scwm is poised to become the emacs of window managers.  

My sentiments agree very much on this point.


Maciej Stachowiak:

>> Actually, I was thinking recently that it might be nice for Scwm to
>> be an official part of the GNU project independent of this.

I could be mistaken, but I thought that the copyrights to offical GNU
programs had to be transfered to the FSF.  If so, no one really has any
business with this matter except the owners of the copyrights.  I guess the
license might be a bit of a problem.  Analyzing these things is not
something I'm particularly interested in, especially since the GPL pretty
much says it all for me.  Do you think the copyright and licensing legacy
of scwm could be a sticky wicket if you want to make it officially part
of GNU?


John Kodis:

> Scwm seems very well aligned with the goals of both the GNU Project
> and the Gnome Project.

Agreed.  If you look at some of Miguel's early documents, I think he
explicitly mentions using guile for extensions.


> I'd say go for becoming an official part of *both*.

I am certainly a GNU advocate and would be happy to see either (just GNU or
gnome as well).  Again, however, it would not bother me if the authors'
discretion led them to remain separate. 


> Being a part of the GNU project would bring visibility,
> credibility, and a stable infrastructure.  Being a part of the Gnome
> project would bring the attention of a rabidly enthusiastic base of
> developers.  These are all good things.

Yes, I think the potential for additional mindshare sounds tempting at
least to go for it.

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Aug  8 05:02:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA31571
	for scwm-discuss-outgoing; Sun, 8 Aug 1999 05:02:24 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from w2.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA31568
	for <scwm-discuss@scwm.mit.edu>; Sun, 8 Aug 1999 05:02:16 -0400
Received: from mizar (r3p030.ntt.it [194.75.44.30]) by w2.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id LAA30090; Sun, 8 Aug 1999 11:02:43 +0200 (DFT)
Received: from cesco by mizar with local (Exim 3.02 #1 (Debian))
	id 11DOo4-00004V-00; Sun, 08 Aug 1999 10:59:52 +0200
Date: Sun, 8 Aug 1999 10:59:52 +0200
From: Francesco Tapparo <cesco@mizar.MIT.EDU>
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: fyi -- gnome wants a default wm
Message-ID: <19990808105952.A236@mizar>
Reply-To: cesco@debian.org
Mail-Followup-To: Maciej Stachowiak <mstachow@alum.mit.edu>,
	scwm-discuss@SCWM.MIT.EDU
References: <19990802155817.A611@execpc.com> <m3so5wk08w.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <m3so5wk08w.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com>; from Maciej Stachowiak on Fri, Aug 06, 1999 at 06:33:35PM -0400
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Fri, Aug 06, 1999 at 06:33:35PM -0400, Maciej Stachowiak wrote:
> Actually, I was thinking recently that it might be nice for Scwm to be
> an official part of the GNU project independent of this. We are
> already following most of the GNU guidelines anyway. How would people
> on the list (hackers especially) feel about this? Obviously RMS's
> approval would be ncessary but I am more interested in whether users
> and hackers would approve.

I'm not an hacker, and I do'nt contribute code to Scwm, but I would be very 
happy if a great project as Scwm would be part of the GNU project.

> 
>  - Maciej
> 

cheers

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug  9 02:00:31 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA00562
	for scwm-discuss-outgoing; Mon, 9 Aug 1999 02:00:31 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from savonarola.red-bean.com (savonarola.red-bean.com [208.245.165.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA00558
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 9 Aug 1999 02:00:22 -0400
Received: (from jimb@localhost)
	by savonarola.red-bean.com (8.8.7/8.8.7) id AAA20873;
	Mon, 9 Aug 1999 00:59:51 -0500
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: "A. P. Garcia" <apg@execpc.com>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: fyi -- gnome wants a default wm
References: <19990802155817.A611@execpc.com> <m3so5wk08w.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com>
From: Jim Blandy <jimb@red-bean.com>
Date: 09 Aug 1999 00:59:51 -0500
In-Reply-To: Maciej Stachowiak's message of "06 Aug 1999 18:33:35 -0400"
Message-ID: <m3btcha3zc.fsf@savonarola.red-bean.com>
Lines: 27
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> So in conclusion, I think it could be made to work on a technical
> level, but I doubt it would fly on a political level, which is why I
> have not even bothered to suggest it on the gnome mailing lists.

What kinds of political problems do you anticipate?

I think GNOME is stepping up to provide a lot of the features that X
Windows has always declared to be outside its purview, so I think we
should expect to see more and more applications require it.  So smooth
GNOME integration is a very laudable goal, whether or not SCWM is the
official GNOME WM.

I'm not sure I think the choice of Guile, or of any extension
language, affects how easy an application is to use.  Making an
application easy for non-technical users to understand is extremely
difficult under any circumstances.  I think the problems Guile tries
to help developers solve are mostly independent of that.

Any application which exposes a programming language as part of its
user interface (e.g., requiring a user to write code to perform common
customizations) will alienate most non-technical users pretty
thoroughly.  But that doesn't mean the application mustn't provide
such facilities for hackers, who might find themselves someday
implementing new features that would benefit non-technical users.  The
extension language is the open door through which useful new features
enter the application.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug  9 18:05:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA03709
	for scwm-discuss-outgoing; Mon, 9 Aug 1999 18:05:40 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from quasar.newtonlabs.com (host97.newtonlabs.com [206.125.74.97])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA03705
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 9 Aug 1999 18:05:31 -0400
Received: from bogomips.newtonlabs.com (bogomips.newtonlabs.com [207.55.51.12])
	by quasar.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) with ESMTP id PAA17487;
	Mon, 9 Aug 1999 15:05:24 -0700
Received: (from cwitty@localhost)
	by bogomips.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) id PAA28065;
	Mon, 9 Aug 1999 15:05:23 -0700
To: Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: "A. P. Garcia" <apg@execpc.com>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: using gdk/gtk in the wm
References: <19990802155817.A611@execpc.com> <qrroggp4yj1.fsf@elwha.cs.washington.edu> <19990802203726.A875@execpc.com> <m3r9lgk010.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: cwitty@newtonlabs.com (Carl R. Witty)
Date: 09 Aug 1999 15:05:23 -0700
In-Reply-To: Maciej Stachowiak's message of "06 Aug 1999 18:38:19 -0400"
Message-ID: <v4jbtcgobj0.fsf@bogomips.newtonlabs.com>
Lines: 48
X-Mailer: Gnus v5.4.61/Emacs 19.34
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> I have thought about this, but you would really need custom widgets
> for this (in effect a libgtkwm widget set add-on) and you would need
> to add many features to the gdk layer that window managers care about
> but normal apps don't (actually, some of these are things the gnome
> pager and/or task list might care about, so a libgdkwm might be a good
> thing anyway).
> 
> The only things you could really reuse effectively from the gtk widget
> set proper are menus and also the ability to make gtk-based dialogs
> (which we provide already through guile-gtk). Having those share
> themes with gnome would be good. However, window manager buttons
> couldn't really effectively share a theme with normal buttons, since
> they are almost always rendered differently from stock buttons and
> typically have a picture or a relief pattern on them rather than text.
> 
> This is definitely a potential idea for the decoration rewrite,
> though. It might make more sense to leverage an existing theme
> framework than to write a whole new widget set (which is essentially
> the route most WMs have gone).

I think there are more useful pieces from gtk than just menus and
dialogs.  One of the most useful is the layout engine; using
pre-debugged, generic code to handle widget positioning within a
window should help us avoid the several off-by-one errors that have
been reported in the current drawing code.

Also, basing the decorations on gtk enables a lot of things that I'd
like to play with.  Can you do anything useful with radio buttons or
editable text fields in the title bar?

And if all the decorations are created from scheme, it guarantees
flexibility.  Titlebars at the bottom?  Homebrew MDI, by being able to
drag windows from the desktop into a special SCWM-created "MDI window"
(and back out)?  (The latter is different from the standard MDI
implementations because it would allow grouping together windows from
different applications.)

I'm not even convinced that you "need" custom widgets.  You do if you
want to make the window manager look like it does currently, but I'd
like to see what a window manager using only standard gtk widgets for
decorations would look like.  (Maybe you need the visual separation
between the application and the window manager that you get by using
different widgets, and sharing widgets would be too confusing.  But
maybe not.  I don't know, and I'm curious.)

Carl

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 10 10:22:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA06334
	for scwm-discuss-outgoing; Tue, 10 Aug 1999 10:22:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from relay8.Austria.EU.net (relay8.Austria.EU.net [193.154.160.146])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA06331
	for <scwm-discuss@scwm.mit.edu>; Tue, 10 Aug 1999 10:22:34 -0400
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.3/8.9.3) with UUCP id QAA22454
	for scwm-discuss@scwm.mit.edu; Tue, 10 Aug 1999 16:00:28 +0200 (MET DST)
Received: (qmail 1366 invoked by uid 115); 10 Aug 1999 13:34:50 -0000
To: scwm-discuss@scwm.mit.edu
Subject: Re: using gdk/gtk in the wm
References: <19990802155817.A611@execpc.com> <qrroggp4yj1.fsf@elwha.cs.washington.edu> <19990802203726.A875@execpc.com> <m3r9lgk010.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com> <v4jbtcgobj0.fsf@bogomips.newtonlabs.com>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 10 Aug 1999 15:34:49 +0200
In-Reply-To: cwitty@newtonlabs.com's message of "09 Aug 1999 15:05:23 -0700"
Message-ID: <ws7ln3u5c6.fsf@orcus.priv.at>
Lines: 24
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

>>>>> On 09 Aug 1999 15:05:23 -0700
>>>>> cwitty@newtonlabs.com (Carl R. Witty) said:

 Carl> Also, basing the decorations on gtk enables a lot of things
 Carl> that I'd like to play with. Can you do anything useful with
 Carl> radio buttons or editable text fields in the title bar?
[...]
 Carl> I'm not even convinced that you "need" custom widgets. You do
 Carl> if you want to make the window manager look like it does
 Carl> currently, but I'd like to see what a window manager using only
 Carl> standard gtk widgets for decorations would look like.

Whoa, that's heavy stuff you're smoking, there.

Sounds intrguing. AFAIK there have been WM projects based on
GTK. Anybody know of the fate of one of these?

        Robbe

-- 
Robert Bihlmeyer       reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>    <http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 10 12:00:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA06486
	for scwm-discuss-outgoing; Tue, 10 Aug 1999 12:00:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from iee.lu (heimdahl.iee.lu [194.154.201.2])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA06483
	for <scwm-discuss@scwm.mit.edu>; Tue, 10 Aug 1999 12:00:07 -0400
Received: (from bpe@localhost)
	by iee.lu (8.8.8/8.8.8) id RAA11444
	for scwm-discuss@scwm.mit.edu; Tue, 10 Aug 1999 17:59:33 +0200
Date: Tue, 10 Aug 1999 17:59:33 +0200
From: Bob Pepin <bpe@iee.lu>
To: scwm-discuss@scwm.mit.edu
Subject: Re: small titlebar-like thingy even with #:no-titlebar #t...
Message-ID: <19990810175933.A10287@picard.findel.ieeintern>
References: <19990731024702.A20796@iceberg.localnet> <m3pv10jzuj.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <m3pv10jzuj.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com>; from Maciej Stachowiak on Fri, Aug 06, 1999 at 06:42:12PM -0400
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Fri, Aug 06, 1999 at 06:42:12PM -0400, Maciej Stachowiak wrote:
(header might be a bit messed up, writing this from work, seems like I managed to kill my modem yesterday...)

> Bob Pepin <bob@sendar.prophecy.lu> writes:
> 
> Yes, this is definitely a bug. Feel free to log it through gnatsweb
> for better tracking.
Didn't know about gnatsweb...

> I am about to install Red Hat 6 now since I made
> my system unusable for debugging by hand-upgrading to a glibc 2.1
> pre-release. Once I track down the memory leak bug I will take a look
> at this issue.
maybe I'll take a look at it if I get the time...

> Perhaps you could explain why it matters to you whether desktops are
> 0-based or not. I think the upshot last time was that whatever you
> want to do with non-zero-based desktops can be simulated with
> zero-based desktops by using appropriate wrappers for desktop
> manipulation.

only a minor issue, but it became quite a habit...:
I often just move to an empty desk and open a bunch of xterms when I need them
(F9). if I can only move in one direction from desk0 on, I'd have to keep track
of the desk numbers... too lazy ;)

and emulating zero-based desktops using non-zero based ones seems much easier to
me anyways than the opposite...

well, if I figure out how to do it, I'll make that an option too, can't hurt,
and I can't think of a reason why not to include it into scwm if it's already
there...

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 10 18:21:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA07184
	for scwm-discuss-outgoing; Tue, 10 Aug 1999 18:21:47 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from front3.grolier.fr (front3.grolier.fr [194.158.96.53])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA07181
	for <scwm-discuss@scwm.mit.edu>; Tue, 10 Aug 1999 18:21:37 -0400
Received: from ZhengHe (Evreux-4-208.club-internet.fr [195.36.131.208])
	by front3.grolier.fr (8.9.3/No_Relay+No_Spam_MGC990224) with ESMTP id AAA16225
	for <scwm-discuss@scwm.mit.edu>; Wed, 11 Aug 1999 00:21:33 +0200 (MET DST)
Received: from fare by ZhengHe with local (Exim 3.02 #1 (Debian))
	id 11EJzG-0000kT-00; Wed, 11 Aug 1999 00:03:14 +0200
Date: Wed, 11 Aug 1999 00:03:14 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: my life with and without scwm
Message-ID: <19990811000313.A30050@ZhengHe.wanadoo.fr>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dear SCWM developers,
  I'm sorry to announce that the version of scwm I got from CVS before
to go on holiday completely screwed up my configuration -- it hangs horribly
when reading the mouse-binding commands of my scwm-input.scm,
gets SEGV after SEGV, and has to be killed -9. I tried upgrading from CVS
several times, to no avail. Let's retry now. Hum, looks like it works.
Thanks for fixing the bug! I had to revert to fvwm for a week,
and that wasn't a pleasing experience -- that'll teach me about
making backups of working versions of scwm...

Now, the startup time is getting worse and worse.
Is there any progress in having precompiled/predumped versions of GUILE?
If possible, it should have the possibility to automatically invalidate
those parts of an image whose source file has been updated
(which requires support in the module system).
Hum, I guess what I want is not GUILE, but TUNES. Anyway.

Scwm Version post0.99.1 compiled on Aug 10 1999 at 23:45:18
RCS_ID=$Id: scwm.c,v 1.199 1999/08/01 02:32:04 gjb Exp $
Repository Timestamp: Sat Jul 24 22:23:58 EDT 1999 -- $Revision: 1.2000 $
                          ^^^^^^
That's wierd; mustn't have been recompiled automatically.

Thanks for SCWM!

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
Arbitrary limits to programs are evil,
particularly when they go either enforced or unenforced.

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 10 18:39:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA07342
	for scwm-discuss-outgoing; Tue, 10 Aug 1999 18:39:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA07339
	for <scwm-discuss@scwm.mit.edu>; Tue, 10 Aug 1999 18:39:34 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA18875; Tue, 10 Aug 1999 15:39:30 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: my life with and without scwm
References: <19990811000313.A30050@ZhengHe.wanadoo.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 10 Aug 1999 15:39:30 -0700
In-Reply-To: Francois-Rene Rideau's message of "Wed, 11 Aug 1999 00:03:14 +0200"
Message-ID: <qrr1zdbmfa5.fsf@elwha.cs.washington.edu>
Lines: 45
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> Dear SCWM developers,
>   I'm sorry to announce that the version of scwm I got from CVS before
> to go on holiday completely screwed up my configuration -- it hangs horribly
> when reading the mouse-binding commands of my scwm-input.scm,
> gets SEGV after SEGV, and has to be killed -9. I tried upgrading from CVS
> several times, to no avail. Let's retry now. Hum, looks like it works.
> Thanks for fixing the bug! I had to revert to fvwm for a week,
> and that wasn't a pleasing experience -- that'll teach me about
> making backups of working versions of scwm...

You can always use cvs to checkout a version of Scwm from a time in the
past. e.g.,

cvs co -D "1 week ago" scwm

> Now, the startup time is getting worse and worse.
> Is there any progress in having precompiled/predumped versions of GUILE?
> If possible, it should have the possibility to automatically invalidate
> those parts of an image whose source file has been updated
> (which requires support in the module system).

I'm pretty darn sure I could make a dumped version of Scwm using the
dumping stuff from guile-hobbit, but I don't have time to do this right
now.  Any other volunteers willing to give this a shot?  It'd be a great 
contribution, and would take a really smart person to get the details
all right...

> Hum, I guess what I want is not GUILE, but TUNES. Anyway.

TUNES? What's that?

> Scwm Version post0.99.1 compiled on Aug 10 1999 at 23:45:18
> RCS_ID=$Id: scwm.c,v 1.199 1999/08/01 02:32:04 gjb Exp $
> Repository Timestamp: Sat Jul 24 22:23:58 EDT 1999 -- $Revision: 1.2000 $
>                           ^^^^^^
> That's wierd; mustn't have been recompiled automatically.

Looks like changed.c isn't getting updated properly... I just fixed it,
and it worked for my last commit, so hopefully all is better.  (We'll
have to be more careful about verifying that our changed.c's get patched 
on the update after we do a commit.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 10 20:21:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA07797
	for scwm-discuss-outgoing; Tue, 10 Aug 1999 20:21:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from kodis.jagunet.com (root@kodis.jaguNET.com [206.156.208.48])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA07794
	for <scwm-discuss@scwm.mit.edu>; Tue, 10 Aug 1999 20:21:06 -0400
Received: (from kodis@localhost)
	by kodis.jagunet.com (8.9.3/8.9.3) id UAA15906
	for scwm-discuss@scwm.mit.edu; Tue, 10 Aug 1999 20:19:42 -0400
Date: Tue, 10 Aug 1999 20:19:42 -0400
From: John Kodis <kodis@jagunet.com>
To: scwm-discuss@scwm.mit.edu
Subject: Border bugs
Message-ID: <19990810201942.A15857@kodis.jagunet.com>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I found a few oddities in the behavior of window borders.  I decided
that I'd like to move windows by pressing mb1 in the window border,
and to resize using mb2.  I tried:

(window-style "*" #:plain-border #f ; plus the usual irrelevant stuff...

(bind-mouse 'frame-sides 1 interactive-move)
(bind-mouse 'frame-sides 2 interactive-resize)

This worked, except for these problems:

  = I don't get the "window frame motion" cursors -- the little arrow
    pointing to a small line and away from the center of the window.
    The move and resize operations still work, but it's tough to tell
    when I can grab the window border without the cursor changing.

    I worked around this by setting #:plain-border to #t, and adding
    two additional bindings for the frame corners.  This leaves two
    fairly minor problems:

  = There's an division between the frame sides and corners that's now
    superfluous, since they both behave identically, and

  = There seems to be a single-pixel "no man's land" between the
    application window and its WM frame.  This is evident on something
    like an xterm that uses a unique application cursor -- in this
    case, the little "I" beam shaped one.  As you move the cursor from
    the xterm to the WM frame, there's a single pixel where the cursor
    changes from an I-beam into an arrow pointing northwest before
    turning into a WM frame-grab icon.

Finally, I noticed that when interactive-resize'ing a window with a
#:plain-border, it's necessary to make the window larger before it's
possible to make the window smaller.  An attempt to grab the window
frame and immediately make the window smaller is ignored until after
the window has been enlarged.  Odd, huh?

-- John Kodis.

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 12 06:39:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA13377
	for scwm-discuss-outgoing; Thu, 12 Aug 1999 06:39:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA13374
	for <scwm-discuss@scwm.mit.edu>; Thu, 12 Aug 1999 06:39:05 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id MAA02992
	for <scwm-discuss@scwm.mit.edu>; Thu, 12 Aug 1999 12:39:01 +0200 (MET DST)
Date: Thu, 12 Aug 1999 12:39:00 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@scwm.mit.edu
Subject: using the CVS version
Message-ID: <19990812123859.D28404@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

I couldn't wait any more for the new version stable of scwm (0.99.2 or
something ?), so I tried the CVS version, and I can't compile it. I
followed the instruction in the "HACKING" file :

./autogen.sh      # See REQUIRED TOOLS below 
                  # for what you need for this to work
./configure --enable-maintainer-mode ... other flags ...
env CFLAGS='-Wall -W' make -k

which gives :

% ./autogen.sh 
aclocal: configure.in: 121: macro `AM_PROG_LIBTOOL' not found in library
% ./configure --prefix=$HOME --enable-warnings --disable-imlib --disable-esd --with-x --enable-maintainer-mode
loading cache ./config.cache
./configure: syntax error at line 576: `AM_INIT_AUTOMAKE' unexpected


What's the problem ?

-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 12 11:07:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA13657
	for scwm-discuss-outgoing; Thu, 12 Aug 1999 11:07:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA13654
	for <scwm-discuss@scwm.mit.edu>; Thu, 12 Aug 1999 11:07:07 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA21398; Thu, 12 Aug 1999 08:07:00 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: using the CVS version
References: <19990812123859.D28404@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 12 Aug 1999 08:07:00 -0700
In-Reply-To: Hubert Canon's message of "Thu, 12 Aug 1999 12:39:00 +0200"
Message-ID: <qrremh9jawb.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hi,
> 
> I couldn't wait any more for the new version stable of scwm (0.99.2 or
> something ?), so I tried the CVS version, and I can't compile it. I
> followed the instruction in the "HACKING" file :
> 
> ./autogen.sh      # See REQUIRED TOOLS below 
>                   # for what you need for this to work
> ./configure --enable-maintainer-mode ... other flags ...
> env CFLAGS='-Wall -W' make -k
> 
> which gives :
> 
> % ./autogen.sh 
> aclocal: configure.in: 121: macro `AM_PROG_LIBTOOL' not found in library
> % ./configure --prefix=$HOME --enable-warnings --disable-imlib --disable-esd --with-x --enable-maintainer-mode
> loading cache ./config.cache
> ./configure: syntax error at line 576: `AM_INIT_AUTOMAKE' unexpected
> 
> 
> What's the problem ?

Probably you don't have automake installed.  See the HACKING file's
REQUIRED TOOLS section.

BTW, we really are hoping to get a new version released separate from
CVS, but time has been really short for me, certainly, and I'm sure for
Maciej also.  Maciej, any progress on the guile/scwm leaking jump
buffers?  If guile-1.3.2 is released and it turns out to be a bug in
guile, that'd be pretty unfortunate that we were too slow to fix it. 

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 12 11:33:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA13787
	for scwm-discuss-outgoing; Thu, 12 Aug 1999 11:33:21 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA13783
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 12 Aug 1999 11:33:14 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id RAA05553
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 12 Aug 1999 17:33:11 +0200 (MET DST)
Date: Thu, 12 Aug 1999 17:30:06 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: Alan Reynolds <alan1@bellatlantic.net>
Subject: Re: using the CVS version
Message-ID: <19990812173006.L28404@youkaidi.irisa.fr>
References: <19990812123859.D28404@youkaidi.irisa.fr> <37B2B9CD.A7B5119B@bellatlantic.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6us
In-Reply-To: <37B2B9CD.A7B5119B@bellatlantic.net>; from Alan Reynolds on Thu, Aug 12, 1999 at 08:10:53AM -0400
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Alan Reynolds écrivait :
> You have to download and install the latest versions of:
> 
> automake;
> autoconf; and,
> libtool.

I already have them :

% automake --version
automake (GNU automake) 1.4
% autoconf --version
Autoconf version 2.13
% libtool --version
ltmain.sh (GNU libtool) 1.3.3 (1.385.2.181 1999/07/02 15:49:11)

And the problem is still there.

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 12 12:05:41 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA13950
	for scwm-discuss-outgoing; Thu, 12 Aug 1999 12:05:41 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA13947
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 12 Aug 1999 12:05:34 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id SAA05850;
	Thu, 12 Aug 1999 18:05:31 +0200 (MET DST)
Date: Thu, 12 Aug 1999 18:05:30 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: using the CVS version
Message-ID: <19990812180530.A2867@youkaidi.irisa.fr>
References: <19990812123859.D28404@youkaidi.irisa.fr> <qrremh9jawb.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6us
In-Reply-To: <qrremh9jawb.fsf@elwha.cs.washington.edu>; from Greg Badros on Thu, Aug 12, 1999 at 08:07:00AM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros écrivait :
> Probably you don't have automake installed.  See the HACKING file's
> REQUIRED TOOLS section.

More details :

% sh -x ./autogen.sh            
+ aclocal 
aclocal: configure.in: 121: macro `AM_PROG_LIBTOOL' not found in library
+ libtoolize --automake --copy 
+ autoheader 
+ automake --add-missing --gnu 
+ autoconf 
+ test -x ./config.status 
+ true 

% env CFLAGS='-Wall -W' make -k
make: *** No rule to make target `@MAINTAINER_MODE_TRUE@', needed by `Makefile.in'.
make: *** No rule to make target `@MAINTAINER_MODE_TRUE@./configure.in', needed by `configure'.
make: Failed to remake makefile `Makefile'.
Making all in scwm
make[1]: Entering directory `/udd/canon/src/Progs/scwm/scwm/scwm'
make[1]: *** No rule to make target `@MAINTAINER_MODE_TRUE@', needed by `Makefile.in'.
make[1]: *** No rule to make target `../config.status', needed by `Makefile'.

[snip]


% ./scwm-bug-report-information
uname -a:
------------------
SunOS youkaidi 5.5 Generic_103093-25 sun4m sparc SUNW,SPARCstation-5

guile -v:
------------------
Guile 1.3
Copyright (c) 1995, 1996, 1997 Free Software Foundation
Guile may be distributed under the terms of the GNU General Public Licence;
certain other uses are permitted as well.  For details, see the file
`COPYING', which is included in the Guile distribution.
There is no warranty, to the extent permitted by law.

aclocal --version
------------------
aclocal (GNU automake) 1.4

Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Written by Tom Tromey <tromey@cygnus.com>

autoconf --version
------------------
Autoconf version 2.13

automake --version
------------------
automake (GNU automake) 1.4

Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Written by Tom Tromey <tromey@cygnus.com>

libtool --version
------------------
ltmain.sh (GNU libtool) 1.3.3 (1.385.2.181 1999/07/02 15:49:11)

scwm -V:
------------------
Scwm Version post0.99.1 compiled on Aug  9 1999 at 17:59:45
RCS_ID=$Id: scwm.c,v 1.199 1999/08/01 02:32:04 gjb Exp $
Repository Timestamp: Sat Jul 24 22:23:58 EDT 1999 -- $Revision: 1.2000 $

changed.c:
------------------
char *szRepoLastChanged = "Tue Aug 10 18:38:00 EDT 1999 -- $Revision: 1.2001 $";


[snip]



From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 12 12:09:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA13996
	for scwm-discuss-outgoing; Thu, 12 Aug 1999 12:09:11 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA13991
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 12 Aug 1999 12:09:02 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA21476; Thu, 12 Aug 1999 09:08:56 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: using the CVS version
References: <19990812123859.D28404@youkaidi.irisa.fr> <qrremh9jawb.fsf@elwha.cs.washington.edu> <19990812180530.A2867@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 12 Aug 1999 09:08:55 -0700
In-Reply-To: Hubert Canon's message of "Thu, 12 Aug 1999 18:05:30 +0200"
Message-ID: <qrraerxj814.fsf@elwha.cs.washington.edu>
Lines: 44
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Greg Badros écrivait :
> > Probably you don't have automake installed.  See the HACKING file's
> > REQUIRED TOOLS section.
> 
> More details :
> 
> % sh -x ./autogen.sh            
> + aclocal 
> aclocal: configure.in: 121: macro `AM_PROG_LIBTOOL' not found in library
> + libtoolize --automake --copy 
> + autoheader 
> + automake --add-missing --gnu 
> + autoconf 
> + test -x ./config.status 
> + true 
> 
> % env CFLAGS='-Wall -W' make -k
> make: *** No rule to make target `@MAINTAINER_MODE_TRUE@', needed by `Makefile.in'.
> make: *** No rule to make target `@MAINTAINER_MODE_TRUE@./configure.in', needed by `configure'.
> make: Failed to remake makefile `Makefile'.
> Making all in scwm
> make[1]: Entering directory `/udd/canon/src/Progs/scwm/scwm/scwm'
> make[1]: *** No rule to make target `@MAINTAINER_MODE_TRUE@', needed by `Makefile.in'.
> make[1]: *** No rule to make target `../config.status', needed by `Makefile'.
> 
> [snip]

I have a note in TODO that I can only vaguely remember writing:

* Why did I have to do:

cd libtool-1.3.2; cp libtool.m4 /usr/share/aclocal

to get "aclocal" to run on alpha? -- 

aclocal running gave "AM_PROG_LIBTOOL not found"

Maybe copying libtool.m4 into the aclocal directory will help get you
further along?

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 12 13:40:30 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA14248
	for scwm-discuss-outgoing; Thu, 12 Aug 1999 13:40:30 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA14245
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 12 Aug 1999 13:40:21 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id TAA06672;
	Thu, 12 Aug 1999 19:40:18 +0200 (MET DST)
Date: Thu, 12 Aug 1999 19:40:17 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: using the CVS version
Message-ID: <19990812194017.A3706@youkaidi.irisa.fr>
References: <19990812123859.D28404@youkaidi.irisa.fr> <qrremh9jawb.fsf@elwha.cs.washington.edu> <19990812180530.A2867@youkaidi.irisa.fr> <qrraerxj814.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6us
In-Reply-To: <qrraerxj814.fsf@elwha.cs.washington.edu>; from Greg Badros on Thu, Aug 12, 1999 at 09:08:55AM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros écrivait :
> Maybe copying libtool.m4 into the aclocal directory will help get you
> further along?

Ok, it works. In fact I had to do "aclocal -I $HOME/share/aclocal"
because I installed libtool myself and aclocal is installed by root.

Now ./autogen.sh works, and .configure is starting weel. But in the
middle of the execution of .configure, I find :

[snip]
checking for ld used by GCC... (cached) /usr/local/egcs-1.1.2-n/sparc-sun-solaris2.5/bin/ld
checking if the linker (/usr/local/egcs-1.1.2-n/sparc-sun-solaris2.5/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/local/egcs/bin/nm -B
checking whether ln -s works... (cached) yes
ltconfig: unrecognized option `--cache-file=./config.cache'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed


and `ltconfig --help' gives :
Usage: ltconfig [OPTION]... [HOST [LTMAIN]]

Generate a system-specific libtool script.

    --debug                enable verbose shell tracing
    --disable-shared       do not build shared libraries
    --disable-static       do not build static libraries
    --help                 display this help and exit
    --no-verify            do not verify that HOST is a valid host type
-o, --output=FILE          specify the output file [default=libtool]
    --quiet                same as `--silent'
    --silent               do not print informational messages
    --srcdir=DIR           find `config.guess' in DIR
    --version              output version information and exit
    --with-gcc             assume that the GNU C compiler will be used
    --with-gnu-ld          assume that the C compiler uses the GNU linker
    --disable-lock         disable file locking

LTMAIN is the `ltmain.sh' shell script fragment or `ltmain.c' program
that provides basic libtool functionality.

HOST is the canonical host system name [default=guessed].


-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 12 15:30:39 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA14462
	for scwm-discuss-outgoing; Thu, 12 Aug 1999 15:30:39 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sanjuan.cs.washington.edu (sanjuan.cs.washington.edu [128.95.8.118])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA14459
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 12 Aug 1999 15:30:32 -0400
Received: from localhost (jwnichls@localhost) by sanjuan.cs.washington.edu (8.8.5+CS/7.2ws+) with SMTP id MAA09912; Thu, 12 Aug 1999 12:30:26 -0700 (PDT)
Date: Thu, 12 Aug 1999 12:30:26 -0700 (PDT)
From: Jeffrey Nichols <jwnichls@cs.washington.edu>
To: Hubert Canon <Hubert.Canon@irisa.fr>
cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: using the CVS version
In-Reply-To: <19990812194017.A3706@youkaidi.irisa.fr>
Message-ID: <Pine.OSF.4.02A.9908121229030.9840-100000@sanjuan.cs.washington.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I believe that I have seen error before...  Check and see if there are
ltconfig and ltmain.sh files in the scwm CVS directory that you checked
out.  If so, remove them and re-run.

	-Jeff

> [snip]
> checking for ld used by GCC... (cached) /usr/local/egcs-1.1.2-n/sparc-sun-solaris2.5/bin/ld
> checking if the linker (/usr/local/egcs-1.1.2-n/sparc-sun-solaris2.5/bin/ld) is GNU ld... (cached) yes
> checking for BSD-compatible nm... (cached) /usr/local/egcs/bin/nm -B
> checking whether ln -s works... (cached) yes
> ltconfig: unrecognized option `--cache-file=./config.cache'
> Try `ltconfig --help' for more information.
> configure: error: libtool configure failed
> 
> 
> and `ltconfig --help' gives :
> Usage: ltconfig [OPTION]... [HOST [LTMAIN]]
> 
> Generate a system-specific libtool script.
> 
>     --debug                enable verbose shell tracing
>     --disable-shared       do not build shared libraries
>     --disable-static       do not build static libraries
>     --help                 display this help and exit
>     --no-verify            do not verify that HOST is a valid host type
> -o, --output=FILE          specify the output file [default=libtool]
>     --quiet                same as `--silent'
>     --silent               do not print informational messages
>     --srcdir=DIR           find `config.guess' in DIR
>     --version              output version information and exit
>     --with-gcc             assume that the GNU C compiler will be used
>     --with-gnu-ld          assume that the C compiler uses the GNU linker
>     --disable-lock         disable file locking
> 
> LTMAIN is the `ltmain.sh' shell script fragment or `ltmain.c' program
> that provides basic libtool functionality.
> 
> HOST is the canonical host system name [default=guessed].
> 
> 
> -- 
> Hubert Canon
> 

---
Jeff W. Nichols   "There are over forty million lines of code in Windows,
UW CSE                     and I love every one of them."
jwnichls@cs                         - Jean-Louis Gassee CEO, Be Inc.


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 12 18:24:09 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA00612
	for scwm-discuss-outgoing; Thu, 12 Aug 1999 18:24:09 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA00609
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 12 Aug 1999 18:24:04 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA22045; Thu, 12 Aug 1999 15:24:02 -0700 (PDT)
To: Jeffrey Nichols <jwnichls@cs.washington.edu>
Cc: Hubert Canon <Hubert.Canon@irisa.fr>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: using the CVS version
References: <Pine.OSF.4.02A.9908121229030.9840-100000@sanjuan.cs.washington.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 12 Aug 1999 15:24:02 -0700
In-Reply-To: Jeffrey Nichols's message of "Thu, 12 Aug 1999 12:30:26 -0700 (PDT)"
Message-ID: <qrrpv0siqnx.fsf@elwha.cs.washington.edu>
Lines: 13
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jeffrey Nichols <jwnichls@cs.washington.edu> writes:

> I believe that I have seen error before...  Check and see if there are
> ltconfig and ltmain.sh files in the scwm CVS directory that you checked
> out.  If so, remove them and re-run.

If this is what it is (and it does sound familiar, so I think Jeff is
exactly right), then maybe we should have autogen.sh remove those two
files.  Any auto-tools gurus have any thoughts about this?  Would it be
the wrong thing to do?

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Aug 13 02:19:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA01168
	for scwm-discuss-outgoing; Fri, 13 Aug 1999 02:19:23 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mailhostnew.tbit.dk (mailhostnew.tbit.dk [194.182.135.150])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA01165
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 13 Aug 1999 02:19:12 -0400
Received: from chl (chl.tbit.dk [194.182.135.65])
	by mailhostnew.tbit.dk (8.9.3/8.9.3) with ESMTP id IAA14232;
	Fri, 13 Aug 1999 08:18:43 +0200 (MET DST)
Received: by chl.tbit.dk
	via sendmail from stdin
	id <m11FAfr-000O9hC@chl> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Fri, 13 Aug 1999 08:18:43 +0200 (CEST) 
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: using the CVS version
References: <19990812123859.D28404@youkaidi.irisa.fr> <qrremh9jawb.fsf@elwha.cs.washington.edu> <19990812180530.A2867@youkaidi.irisa.fr> <qrraerxj814.fsf@elwha.cs.washington.edu> <19990812194017.A3706@youkaidi.irisa.fr>
From: Christian Lynbech <chl@tbit.dk>
Date: 13 Aug 1999 08:18:42 +0200
In-Reply-To: Hubert Canon's message of "Thu, 12 Aug 1999 19:40:17 +0200"
Message-ID: <ofn1vwi4ot.fsf@chl.tbit.dk>
Lines: 23
User-Agent: Gnus/5.070088 (Pterodactyl Gnus v0.88) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> "Hubert" == Hubert Canon <Hubert.Canon@irisa.fr> writes:

Hubert> ltconfig: unrecognized option `--cache-file=./config.cache'

This is a libtool version problem, I think. I think some serious
changes between 1.2 and 1.3 with a number of options (such as
--cache-file) disappearing.

What I did when encountering this with hobbit 1.3.1 was to find the
the place where --cache-file is introduced (not in "configure"),
remove the option and regenerate "configure".

At least --cache-file seems harmless enough to throw away.



---------------------------+--------------------------------------------------
Christian Lynbech          | Ericsson Telebit A/S                       
Fax:   +45 8628 8186       | Fabrikvej 11, DK-8260 Viby J
Phone: +45 8628 8177 + 28  | email: chl@tbit.dk --- URL: http://www.tbit.dk
---------------------------+--------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Aug 13 08:29:41 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id IAA03364
	for scwm-discuss-outgoing; Fri, 13 Aug 1999 08:29:41 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id IAA03361
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 13 Aug 1999 08:29:36 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id OAA13677
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 13 Aug 1999 14:29:34 +0200 (MET DST)
Date: Fri, 13 Aug 1999 14:29:34 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: using the CVS version
Message-ID: <19990813142933.A15499@youkaidi.irisa.fr>
References: <19990812194017.A3706@youkaidi.irisa.fr> <Pine.OSF.4.02A.9908121229030.9840-100000@sanjuan.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6us
In-Reply-To: <Pine.OSF.4.02A.9908121229030.9840-100000@sanjuan.cs.washington.edu>; from Jeffrey Nichols on Thu, Aug 12, 1999 at 12:30:26PM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

Jeffrey Nichols wrote :
> I believe that I have seen error before...  Check and see if there are
> ltconfig and ltmain.sh files in the scwm CVS directory that you checked
> out.  If so, remove them and re-run.

Thank you.

Now the compilation works perfectly.

Except during the installation :

[snip]

Making install in libscwmexec
make[2]: Entering directory `/udd/canon/src/Progs/scwm/scwm/utilities/libscwmexec'
make[3]: Entering directory `/udd/canon/src/Progs/scwm/scwm/utilities/libscwmexec'
/bin/sh ../../mkinstalldirs /udd/canon/lib
/bin/sh ../../libtool  --mode=install /usr/local/bin/gnu/ginstall -c libscwmexec.la /udd/canon/lib/libscwmexec.la
/usr/local/bin/gnu/ginstall -c .libs/libscwmexec.so.0.0.0 /udd/canon/lib/libscwmexec.so.0.0.0
(cd /udd/canon/lib && rm -f libscwmexec.so.0 && ln -s libscwmexec.so.0.0.0 libscwmexec.so.0)
(cd /udd/canon/lib && rm -f libscwmexec.so && ln -s libscwmexec.so.0.0.0 libscwmexec.so)
chmod +x /udd/canon/lib/libscwmexec.so.0.0.0
/usr/local/bin/gnu/ginstall -c .libs/libscwmexec.lai /udd/canon/lib/libscwmexec.la
/usr/local/bin/gnu/ginstall: .libs/libscwmexec.lai: No such file or directory
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/udd/canon/src/Progs/scwm/scwm/utilities/libscwmexec'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/udd/canon/src/Progs/scwm/scwm/utilities/libscwmexec'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/udd/canon/src/Progs/scwm/scwm/utilities'
make: *** [install-recursive] Error 1



So I tried my brand new scwm, and all isn't working like I
expected. After I modified parts of my .scwmrc, I found that I always
have these messages :

X Error of failed request:  BadAtom (invalid Atom parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Atom id in failed request:  0x0
  Serial number of failed request:  7628
  Current serial number in output stream:  7628
X Error of failed request:  BadAtom (invalid Atom parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Atom id in failed request:  0x0
  Serial number of failed request:  7665
  Current serial number in output stream:  7665

when I open a window. I get them even with an empty .scwmrc

And worse : scwmrepl doesn't work either. I get the same sort of
messages :

X Error of failed request:  BadAtom (invalid Atom parameter)
  Major opcode of failed request:  18 (X_ChangeProperty)
  Atom id in failed request:  0x0
  Serial number of failed request:  10288
  Current serial number in output stream:  10290
X Error of failed request:  BadAtom (invalid Atom parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Atom id in failed request:  0x0
  Serial number of failed request:  10350
  Current serial number in output stream:  10350


What is the problem this time ?
  

-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Aug 13 10:03:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA03598
	for scwm-discuss-outgoing; Fri, 13 Aug 1999 10:03:24 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA03595
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 13 Aug 1999 10:03:20 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id HAA23150; Fri, 13 Aug 1999 07:03:12 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: using the CVS version
References: <19990812194017.A3706@youkaidi.irisa.fr> <Pine.OSF.4.02A.9908121229030.9840-100000@sanjuan.cs.washington.edu> <19990813142933.A15499@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Aug 1999 07:03:12 -0700
In-Reply-To: Hubert Canon's message of "Fri, 13 Aug 1999 14:29:34 +0200"
Message-ID: <qrrg11nixr3.fsf@elwha.cs.washington.edu>
Lines: 71
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

<snip>

> Jeffrey Nichols wrote :
> > I believe that I have seen error before...  Check and see if there are
> > ltconfig and ltmain.sh files in the scwm CVS directory that you checked
> > out.  If so, remove them and re-run.
> 
> Thank you.
> 
> Now the compilation works perfectly.

Good.

> 
> Except during the installation :
> 
> [snip]
> 
> Making install in libscwmexec
> make[2]: Entering directory `/udd/canon/src/Progs/scwm/scwm/utilities/libscwmexec'
> make[3]: Entering directory `/udd/canon/src/Progs/scwm/scwm/utilities/libscwmexec'
> /bin/sh ../../mkinstalldirs /udd/canon/lib
> /bin/sh ../../libtool  --mode=install /usr/local/bin/gnu/ginstall -c libscwmexec.la /udd/canon/lib/libscwmexec.la
> /usr/local/bin/gnu/ginstall -c .libs/libscwmexec.so.0.0.0 /udd/canon/lib/libscwmexec.so.0.0.0
> (cd /udd/canon/lib && rm -f libscwmexec.so.0 && ln -s libscwmexec.so.0.0.0 libscwmexec.so.0)
> (cd /udd/canon/lib && rm -f libscwmexec.so && ln -s libscwmexec.so.0.0.0 libscwmexec.so)
> chmod +x /udd/canon/lib/libscwmexec.so.0.0.0
> /usr/local/bin/gnu/ginstall -c .libs/libscwmexec.lai /udd/canon/lib/libscwmexec.la
> /usr/local/bin/gnu/ginstall: .libs/libscwmexec.lai: No such file or directory


What libtool are you using?  If it's not at least libtool 1.3, you
should try upgrading to it.

> make[3]: *** [install-libLTLIBRARIES] Error 1
> make[3]: Leaving directory `/udd/canon/src/Progs/scwm/scwm/utilities/libscwmexec'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory `/udd/canon/src/Progs/scwm/scwm/utilities/libscwmexec'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/udd/canon/src/Progs/scwm/scwm/utilities'
> make: *** [install-recursive] Error 1
> 
> 
> 
> So I tried my brand new scwm, and all isn't working like I
> expected. After I modified parts of my .scwmrc, I found that I always
> have these messages :
> 
> X Error of failed request:  BadAtom (invalid Atom parameter)
>   Major opcode of failed request:  20 (X_GetProperty)
>   Atom id in failed request:  0x0
>   Serial number of failed request:  7628
>   Current serial number in output stream:  7628

<snip>

> What is the problem this time ?

Can you try running with a .scwmrc w/ just:

(set-X-server-synchronize! #t)

and set a breakpoint at the ScwmErrorHandler function, and send the list 
a backtrace (or do some investigating to see what X call is causing the
error messages)?

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Aug 15 19:16:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA09692
	for scwm-discuss-outgoing; Sun, 15 Aug 1999 19:16:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA09689
	for <scwm-discuss@scwm.mit.edu>; Sun, 15 Aug 1999 19:16:06 -0400
Received: from tech.com.au ([202.62.130.88])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id JAA27699
	for <scwm-discuss@scwm.mit.edu>; Mon, 16 Aug 1999 09:15:58 +1000
Message-ID: <37B74B4F.450026C5@tech.com.au>
Date: Mon, 16 Aug 1999 09:20:47 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: Re: fyi -- gnome wants a default wm
References: <19990802155817.A611@execpc.com> <m3so5wk08w.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk



Maciej Stachowiak wrote:
> 
> "A. P. Garcia" <apg@execpc.com> writes:
> 
> > Just posting this fyi.  I don't know how the authors of scwm would feel
> > about the possibility of scwm becoming the default wm for gnome, but if
> > they desire a larger user base, well, they could do worse.
> 
> Personally, it would make me happy, but I don't think Scwm is the sort
> of thing the Gnome people would be looking for.

Well guile is the official Gnome (not to mention GNU) extension
language, is it not?
The fact that gnome admits the need for an extension language logically
would
mean the Window manager should support it too - thus scwm. Of course
things
aren't always decided logically, but it makes sense to me.

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Aug 18 06:43:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA17776
	for scwm-discuss-outgoing; Wed, 18 Aug 1999 06:43:08 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from relay8.Austria.EU.net (relay8.Austria.EU.net [193.154.160.146])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA17773
	for <scwm-discuss@scwm.mit.edu>; Wed, 18 Aug 1999 06:43:02 -0400
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.3/8.9.3) with UUCP id MAA10123
	for scwm-discuss@scwm.mit.edu; Wed, 18 Aug 1999 12:22:22 +0200 (MET DST)
Received: (qmail 2967 invoked by uid 115); 17 Aug 1999 15:35:30 -0000
To: scwm-discuss@scwm.mit.edu
Subject: Re: small titlebar-like thingy even with #:no-titlebar #t...
References: <19990731024702.A20796@iceberg.localnet> <m3pv10jzuj.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com> <19990810175933.A10287@picard.findel.ieeintern>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 17 Aug 1999 17:35:30 +0200
In-Reply-To: Bob Pepin's message of "Tue, 10 Aug 1999 17:59:33 +0200"
Message-ID: <wswvuu5sjh.fsf@orcus.priv.at>
Lines: 19
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

>>>>> On Tue, 10 Aug 1999 17:59:33 +0200
>>>>> Bob Pepin <bpe@iee.lu> said:

 Bob> and emulating zero-based desktops using non-zero based ones
 Bob> seems much easier to me anyways than the opposite...

The opposite is not hard: just switch to desktop x¹ in your .scwmrc,
and add x to any desktop numbers found there.

Choose a suffciently high value for x and you will not notice any
problems.

        Robbe

-- 
Robert Bihlmeyer       reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>    <http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Aug 18 19:53:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA18526
	for scwm-discuss-outgoing; Wed, 18 Aug 1999 19:53:29 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from kodis.jagunet.com (kodis@kodis.jaguNET.com [206.156.208.48])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA18523
	for <scwm-discuss@scwm.mit.edu>; Wed, 18 Aug 1999 19:53:23 -0400
Received: (from kodis@localhost)
	by kodis.jagunet.com (8.9.3/8.9.3) id TAA18264
	for scwm-discuss@scwm.mit.edu; Wed, 18 Aug 1999 19:53:14 -0400
Date: Wed, 18 Aug 1999 19:53:13 -0400
From: John Kodis <kodis@jagunet.com>
To: scwm-discuss@scwm.mit.edu
Subject: Yet another lisp-extensible WM
Message-ID: <19990818195313.A18254@kodis.jagunet.com>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

In case you missed the announcement of freshmeat.net, there is another
lisp-extensible window manager out there.  The homepage is

    http://www.dcs.warwick.ac.uk/~john/sw/sawmill/ 

The introduction from this page begins:

    sawmill: an extensible window manager

    Sawmill is an extensible window manager using an Emacs Lisp-like
    scripting language--all window decorations are configurable and
    all user-interface policy is controlled through the Lisp
    language. This is no layer on top of twm, but a wholly new
    architecture.

    Despite this extensibility its policy is currently very minimal
    compared to most window managers--no icons, desktop backgrounds,
    sliding windows, sound effects, or whatever is currently flavour
    of the month.

    All high-level wm functions are implemented in Lisp for future
    extensibility or redefinition. Currently this includes menus
    (using GTK+), interactive window moving and resizing, virtual
    workspaces, iconification, focus/transient window policies and
    frame theme definitions.

Interesting stuff.  The author has apparently implemented his own lisp
interpreter.  There seem to be a *lot* of small window managers being
released these days.

-- John Kodis.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug 23 21:32:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA21329
	for scwm-discuss-outgoing; Thu, 19 Aug 1999 15:49:32 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from seldon.dtek.chalmers.se (DtEwUJgs0oxyfYLQX61UFOFyjZU0pnJm@seldon.dtek.chalmers.se [129.16.30.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA21326
	for <scwm-discuss@scwm.mit.edu>; Thu, 19 Aug 1999 15:49:26 -0400
Received: from licia.dtek.chalmers.se (d4jonas@licia.dtek.chalmers.se [129.16.30.88])
	by seldon.dtek.chalmers.se (8.8.8/8.8.8) with ESMTP id VAA11213
	for <scwm-discuss@scwm.mit.edu>; Thu, 19 Aug 1999 21:49:20 +0200 (MET DST)
Received: (from d4jonas@localhost)
	by licia.dtek.chalmers.se (8.8.8/8.8.8) id VAA23268;
	Thu, 19 Aug 1999 21:49:19 +0200 (MET DST)
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: SCWMDoc 0.1B-3
References: <wtn6731183b.fsf@bayta.dtek.chalmers.se> <qrrso641v2y.fsf@elwha.cs.washington.edu>
X-No-Archive: Yes
Mail-Copies-To: never
Organization: The Deciples of Albericht Nibelungen
From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Date: 19 Aug 1999 21:49:19 +0200
In-Reply-To: Greg Badros's message of "31 Jul 1999 12:24:21 -0700"
Message-ID: <wtnemgz4klc.fsf@licia.dtek.chalmers.se>
Lines: 17
User-Agent: Gnus/5.070091 (Pterodactyl Gnus v0.91) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

[...]

> It'd be nice if you made the LaTeX source available-- it's fine that
> it's in an early form, but others surely will have contributions to make 
> to this documentation, and keeping things closed doesn't help anybody.

So much for blackmail and extorsion.

Not one single mail...

Source now available, see my homepage (url in .sig).

-- 
( Jonas Steverud  @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug 23 21:46:54 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA01233
	for scwm-discuss-outgoing; Mon, 23 Aug 1999 18:26:41 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from lafontaine.cybercable.fr (lafontaine.cybercable.fr [212.198.0.202])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id SAA01230
	for <scwm-discuss@scwm.mit.edu>; Mon, 23 Aug 1999 18:26:35 -0400
Received: (qmail 234948 invoked from network); 23 Aug 1999 22:26:23 -0000
Received: from d026.paris-121.cybercable.fr (HELO ZhengHe) (@[212.198.121.26]) (envelope-sender <fare@tunes.org>)
          by lafontaine.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <scwm-discuss@scwm.mit.edu>; 23 Aug 1999 22:26:23 -0000
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11J2Tc-0007i5-00; Tue, 24 Aug 1999 00:22:04 +0200
Date: Tue, 24 Aug 1999 00:22:04 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: SCWM Discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: scwm problems
Message-ID: <19990824002203.A29558@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dear SCWM people,
   since I receive nothing from the mailing-list anymore, I suppose you're
in one of the below case:
* having holidays, that I wish are nice
* having internet connectivity trouble, because you're in a transition period
* having ceased to have interest in SCWM, which is a pity
* having too much SCWM hacking activity to post on the list
* having me silenced out of the list (maybe everyone, if it's broken).

I just wanted to report the obvious about SCWM:
* it mostly works (and I love it when it does)
* it's badly broken when there are more than 36 windows to list
* the memory leakage is very annoying for long X sessions
 (such as on a laptop)

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
This sequence of glyphs is provided AS IS. Any interpretation of it in terms
of meaningful statements is left to the sole responsibility of the reader.

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 00:02:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA02299
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 00:02:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA02296
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 24 Aug 1999 00:02:47 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA03892; Mon, 23 Aug 1999 21:02:42 -0700 (PDT)
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: SCWMDoc 0.1B-3
References: <wtn6731183b.fsf@bayta.dtek.chalmers.se> <qrrso641v2y.fsf@elwha.cs.washington.edu> <wtnemgz4klc.fsf@licia.dtek.chalmers.se>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Aug 1999 21:02:42 -0700
In-Reply-To: Jonas Steverud's message of "19 Aug 1999 21:49:19 +0200"
Message-ID: <qrrn1vhg719.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jonas Steverud <d4jonas@dtek.chalmers.se> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> [...]
> 
> > It'd be nice if you made the LaTeX source available-- it's fine that
> > it's in an early form, but others surely will have contributions to make 
> > to this documentation, and keeping things closed doesn't help anybody.
> 
> So much for blackmail and extorsion.
>
> Not one single mail...
> 
> Source now available, see my homepage (url in .sig).

:-)

There's a bunch of work that needs to be done on the document (it's a
great start, but a long way to completion), so I think things will be
better if we have it under version control, etc.

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 00:14:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA02412
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 00:14:01 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA02409
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 24 Aug 1999 00:13:58 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA03899; Mon, 23 Aug 1999 21:13:52 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: scwm problems
References: <19990824002203.A29558@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Aug 1999 21:13:52 -0700
In-Reply-To: Francois-Rene Rideau's message of "Tue, 24 Aug 1999 00:22:04 +0200"
Message-ID: <qrrlnb1g6in.fsf@elwha.cs.washington.edu>
Lines: 48
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> Dear SCWM people,
>    since I receive nothing from the mailing-list anymore, I suppose you're
> in one of the below case:
> * having holidays, that I wish are nice

I was teaching a class this summer that consumed a lot of time.

> * having internet connectivity trouble, because you're in a transition period

Nope, all is well...

> * having ceased to have interest in SCWM, which is a pity

Gosh no, very much alive-- at least with me-- I've got 0.99.2 almost
ready to release and have even gotten rpm building to work again.

> * having too much SCWM hacking activity to post on the list

I wish this were so... if you want to follow the hacking, I suggest you
subscribe to the scwm-commits mailing list.

> * having me silenced out of the list (maybe everyone, if it's broken).

I hope it's not broken, but let me know if you only get the one copy of
this message sent directly to you.

> I just wanted to report the obvious about SCWM:
> * it mostly works (and I love it when it does)

Great-- me too!

> * it's badly broken when there are more than 36 windows to list

Geez, I never noticed that before.  I just fixed it now.  Thanks for the 
bug report!

> * the memory leakage is very annoying for long X sessions
>  (such as on a laptop)

I've reduced the leak very substantially -- I'm hoping Maciej will
continue to look into the problem and maybe some other folks with access 
to leak detection software can help us out.  (It's surprisingly
complicated to avoid leaks in the presence of the Guile heap and its
garbage collector).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 02:24:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA02694
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 02:24:11 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from seldon.dtek.chalmers.se (sIb2eloLGqOcvumUCaJVrMRTKWZQ2wcz@seldon.dtek.chalmers.se [129.16.30.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA02691
	for <scwm-discuss@scwm.mit.edu>; Tue, 24 Aug 1999 02:24:05 -0400
Received: from licia.dtek.chalmers.se (d4jonas@licia.dtek.chalmers.se [129.16.30.88])
	by seldon.dtek.chalmers.se (8.8.8/8.8.8) with ESMTP id IAA28611
	for <scwm-discuss@scwm.mit.edu>; Tue, 24 Aug 1999 08:23:56 +0200 (MET DST)
Received: (from d4jonas@localhost)
	by licia.dtek.chalmers.se (8.8.8/8.8.8) id IAA02218;
	Tue, 24 Aug 1999 08:23:55 +0200 (MET DST)
To: scwm-discuss@scwm.mit.edu
Subject: Re: SCWMDoc 0.1B-3
References: <wtn6731183b.fsf@bayta.dtek.chalmers.se> <qrrso641v2y.fsf@elwha.cs.washington.edu> <wtnemgz4klc.fsf@licia.dtek.chalmers.se> <qrrn1vhg719.fsf@elwha.cs.washington.edu>
X-No-Archive: Yes
Mail-Copies-To: never
Organization: The Deciples of Albericht Nibelungen
From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Date: 24 Aug 1999 08:23:55 +0200
In-Reply-To: Greg Badros's message of "23 Aug 1999 21:02:42 -0700"
Message-ID: <wtnyaf1ae84.fsf@licia.dtek.chalmers.se>
Lines: 28
User-Agent: Gnus/5.070091 (Pterodactyl Gnus v0.91) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Jonas Steverud <d4jonas@dtek.chalmers.se> writes:

[...]

> > Source now available, see my homepage (url in .sig).
> 
> :-)
> 
> There's a bunch of work that needs to be done on the document (it's a
> great start, but a long way to completion), so I think things will be
> better if we have it under version control, etc.

Are you never satisfied? ;->

Thing is that I'm stuck. I would really like to see some mails
explaining those part marked as "Left to do" in the pdf (\lefttodo in
the source). There is no need to send me the final version of the text
- I'll do the editing (you are welcome to do all the work if you want
to...).

Development of the docs will be slow though since I work on my master
thesis all weekdays and have other things on my schedule too.

-- 
( Jonas Steverud  @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 05:21:56 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA04846
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 05:21:56 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from lafontaine.cybercable.fr (lafontaine.cybercable.fr [212.198.0.202])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id FAA04843
	for <scwm-discuss@scwm.mit.edu>; Tue, 24 Aug 1999 05:21:51 -0400
Received: (qmail 323052 invoked from network); 24 Aug 1999 09:21:48 -0000
Received: from d026.paris-121.cybercable.fr (HELO ZhengHe) (@[212.198.121.26]) (envelope-sender <fare@tunes.org>)
          by lafontaine.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <scwm-discuss@scwm.mit.edu>; 24 Aug 1999 09:21:48 -0000
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11JChm-000899-00; Tue, 24 Aug 1999 11:17:22 +0200
Date: Tue, 24 Aug 1999 11:17:22 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: scwm problems
Message-ID: <19990824111722.A31297@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19990824002203.A29558@ZhengHe.augustin.thierry> <qrrlnb1g6in.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrrlnb1g6in.fsf@elwha.cs.washington.edu>; from Greg Badros on Mon, Aug 23, 1999 at 09:13:52PM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>> * having me silenced out of the list (maybe everyone, if it's broken).
> I hope it's not broken, but let me know if you only get the one copy of
> this message sent directly to you.
No, it works well.

>> * it's badly broken when there are more than 36 windows to list
> Geez, I never noticed that before.  I just fixed it now.  Thanks for the 
> bug report!
I reported it in my previous message, but that went unnoticed :(

>> * the memory leakage is very annoying for long X sessions
>>  (such as on a laptop)
> I've reduced the leak very substantially -- I'm hoping Maciej will
> continue to look into the problem and maybe some other folks with access 
> to leak detection software can help us out.  (It's surprisingly
> complicated to avoid leaks in the presence of the Guile heap and its
> garbage collector).
If you're using continuations for callbacks and suches,
you should read that CW'97 contribution by Peter Lee
about space-for-safe threads (originally in SML/NJ, for Fox):
you need something of a call-within-null-continuation not to leak
your whole past into every captured continuation...
Also, sometime, you need to (set! foo #f) so that now unused variables
won't keep storage too long, unless the compiler does it for you.
Just my 2p worth.

Happy hacking!

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
Property in ideas is an insoluble contradiction.  [He who complains of
"theft" of his idea] complains that something has been stolen which he
still possesses, and he wants back something which, if given to him a
thousand times, would add nothing to his possession.
    -- H. Rentzsch, Geistiges Eigenthum, 1866.

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 06:12:37 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA04982
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 06:12:37 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from lafontaine.cybercable.fr (lafontaine.cybercable.fr [212.198.0.202])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id GAA04979
	for <scwm-discuss@scwm.mit.edu>; Tue, 24 Aug 1999 06:12:31 -0400
Received: (qmail 314017 invoked from network); 24 Aug 1999 10:12:26 -0000
Received: from d026.paris-121.cybercable.fr (HELO ZhengHe) (@[212.198.121.26]) (envelope-sender <fare@tunes.org>)
          by lafontaine.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <scwm-discuss@scwm.mit.edu>; 24 Aug 1999 10:12:26 -0000
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11JD8P-0008Bl-00; Tue, 24 Aug 1999 11:44:53 +0200
Date: Tue, 24 Aug 1999 11:44:52 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: scwm problems
Message-ID: <19990824114452.A31398@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19990824002203.A29558@ZhengHe.augustin.thierry> <qrrlnb1g6in.fsf@elwha.cs.washington.edu> <19990824111722.A31297@ZhengHe.augustin.thierry>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <19990824111722.A31297@ZhengHe.augustin.thierry>; from Francois-Rene Rideau on Tue, Aug 24, 1999 at 11:17:22AM +0200
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Ouch, that's the second time I forget to whine about my currently
main annoyance about scwm: for a month or so, scwm has begun to pause
for more than a second everytime a new window is opened.
That's most annoying.

[Other main annoyances being memory leak and slow startup,
which, combined, force me to stop being productive for a minute
every so often]

Your favorite whiner,

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
Death is only a state of mind.

Only it doesn't leave you much time to think about anything else.

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 11:48:05 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA05316
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 11:48:05 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA05308
	for <scwm-discuss@scwm.mit.edu>; Tue, 24 Aug 1999 11:47:55 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA04857; Tue, 24 Aug 1999 08:47:47 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: Re: SCWMDoc 0.1B-3
References: <wtn6731183b.fsf@bayta.dtek.chalmers.se> <qrrso641v2y.fsf@elwha.cs.washington.edu> <wtnemgz4klc.fsf@licia.dtek.chalmers.se> <qrrn1vhg719.fsf@elwha.cs.washington.edu> <wtnyaf1ae84.fsf@licia.dtek.chalmers.se>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Aug 1999 08:47:46 -0700
In-Reply-To: Jonas Steverud's message of "24 Aug 1999 08:23:55 +0200"
Message-ID: <qrrk8qlji3h.fsf@elwha.cs.washington.edu>
Lines: 38
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jonas Steverud <d4jonas@dtek.chalmers.se> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > Jonas Steverud <d4jonas@dtek.chalmers.se> writes:
> 
> [...]
> 
> > > Source now available, see my homepage (url in .sig).
> > 
> > :-)
> > 
> > There's a bunch of work that needs to be done on the document (it's a
> > great start, but a long way to completion), so I think things will be
> > better if we have it under version control, etc.
> 
> Are you never satisfied? ;->

Never. :-)

> Thing is that I'm stuck. I would really like to see some mails
> explaining those part marked as "Left to do" in the pdf (\lefttodo in
> the source). There is no need to send me the final version of the text
> - I'll do the editing (you are welcome to do all the work if you want
> to...).

I've hardly had a chance to look at it, but time might free up in
another week.

> Development of the docs will be slow though since I work on my master
> thesis all weekdays and have other things on my schedule too.

I know how that goes!  My research sucks a lot of time-- fortunately,
the constraints part of Scwm is part of my research! :-)

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 11:51:06 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA05333
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 11:51:06 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA05330
	for <scwm-discuss@scwm.mit.edu>; Tue, 24 Aug 1999 11:51:03 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA04866; Tue, 24 Aug 1999 08:50:59 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: scwm problems
References: <19990824002203.A29558@ZhengHe.augustin.thierry> <qrrlnb1g6in.fsf@elwha.cs.washington.edu> <19990824111722.A31297@ZhengHe.augustin.thierry> <19990824114452.A31398@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Aug 1999 08:50:58 -0700
In-Reply-To: Francois-Rene Rideau's message of "Tue, 24 Aug 1999 11:44:52 +0200"
Message-ID: <qrriu65jhy5.fsf@elwha.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> Ouch, that's the second time I forget to whine about my currently
> main annoyance about scwm: for a month or so, scwm has begun to pause
> for more than a second everytime a new window is opened.
> That's most annoying.

Is this off of current CVS?  I can't reproduce this... does it do it on
-f /dev/null as the .scwmrc? 

> [Other main annoyances being memory leak and slow startup,
> which, combined, force me to stop being productive for a minute
> every so often]

The memory leak is a bit better;  the slow startup got a ton better for
me with my new machine! :-)  I'd love to see someone play with Hobbit's
dumping code for Scwm... that'd be a great contribution and could
tremendously help startup time.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 11:52:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA05342
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 11:52:32 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA05335
	for <scwm-discuss@scwm.mit.edu>; Tue, 24 Aug 1999 11:52:26 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA04869; Tue, 24 Aug 1999 08:52:21 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: scwm problems
References: <19990824002203.A29558@ZhengHe.augustin.thierry> <qrrlnb1g6in.fsf@elwha.cs.washington.edu> <19990824111722.A31297@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Aug 1999 08:52:21 -0700
In-Reply-To: Francois-Rene Rideau's message of "Tue, 24 Aug 1999 11:17:22 +0200"
Message-ID: <qrrhflpjhvu.fsf@elwha.cs.washington.edu>
Lines: 28
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

<snip>

> > Geez, I never noticed that before.  I just fixed it now.  Thanks for the 
> > bug report!
> I reported it in my previous message, but that went unnoticed :(

Ooops... sorry... must've been distracted while reading the mail.

> >> * the memory leakage is very annoying for long X sessions
> >>  (such as on a laptop)
> > I've reduced the leak very substantially -- I'm hoping Maciej will
> > continue to look into the problem and maybe some other folks with access 
> > to leak detection software can help us out.  (It's surprisingly
> > complicated to avoid leaks in the presence of the Guile heap and its
> > garbage collector).
> If you're using continuations for callbacks and suches,
> you should read that CW'97 contribution by Peter Lee
> about space-for-safe threads (originally in SML/NJ, for Fox):
> you need something of a call-within-null-continuation not to leak
> your whole past into every captured continuation...
> Also, sometime, you need to (set! foo #f) so that now unused variables
> won't keep storage too long, unless the compiler does it for you.

Thanks for the reference...  I'll take a look.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 12:34:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA05689
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 12:34:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from lafontaine.cybercable.fr (lafontaine.cybercable.fr [212.198.0.202])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id MAA05686
	for <scwm-discuss@scwm.mit.edu>; Tue, 24 Aug 1999 12:34:38 -0400
Received: (qmail 395374 invoked from network); 24 Aug 1999 16:34:34 -0000
Received: from d026.paris-121.cybercable.fr (HELO ZhengHe) (@[212.198.121.26]) (envelope-sender <fare@tunes.org>)
          by lafontaine.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <gjb@cs.washington.edu>; 24 Aug 1999 16:34:34 -0000
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11JJYR-0000F2-00; Tue, 24 Aug 1999 18:36:11 +0200
Date: Tue, 24 Aug 1999 18:36:11 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: Greg Badros <gjb@cs.washington.edu>
Cc: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: scwm problems
Message-ID: <19990824183610.A755@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19990824002203.A29558@ZhengHe.augustin.thierry> <qrrlnb1g6in.fsf@elwha.cs.washington.edu> <19990824111722.A31297@ZhengHe.augustin.thierry> <19990824114452.A31398@ZhengHe.augustin.thierry> <qrriu65jhy5.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrriu65jhy5.fsf@elwha.cs.washington.edu>; from Greg Badros on Tue, Aug 24, 1999 at 08:50:58AM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>> Ouch, that's the second time I forget to whine about my currently
>> main annoyance about scwm: for a month or so, scwm has begun to pause
>> for more than a second everytime a new window is opened.
>> That's most annoying.
> 
> Is this off of current CVS?  I can't reproduce this... does it do it on
> -f /dev/null as the .scwmrc?
Oops. Indeed, this doesn't happen with -f /dev/null,
so this must be due to some lossage in my configuration
(vaguely descended from an old scwmrc.gjb and the one in debian).
My configuration is on
	http://cvs.tunes.org/cgi-bin/cvsweb/fare/etc/scwm/
	http://cvs.tunes.org/cgi-bin/cvsweb/fare/etc/scwm/<FOO>.scm?rev=HEAD
Can anyone help me find what I'm doing wrong?

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
The reason why we must be tolerant is NOT that everyone is as right as
everyone else. It is that no system allows to reliably distinguish right
and wrong beforehand. Only by having the right to err can one have the
right to be correct. The attitude of tolerance is thus to let the fools be
victims of their own folly rather than of ours, as long as they in turn
do not impose their folly upon us.

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 12:43:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA05760
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 12:43:59 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA05757
	for <scwm-discuss@scwm.mit.edu>; Tue, 24 Aug 1999 12:43:54 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA04951; Tue, 24 Aug 1999 09:43:49 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: scwm problems
References: <19990824002203.A29558@ZhengHe.augustin.thierry> <qrrlnb1g6in.fsf@elwha.cs.washington.edu> <19990824111722.A31297@ZhengHe.augustin.thierry> <19990824114452.A31398@ZhengHe.augustin.thierry> <qrriu65jhy5.fsf@elwha.cs.washington.edu> <19990824183610.A755@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Aug 1999 09:43:49 -0700
In-Reply-To: Francois-Rene Rideau's message of "Tue, 24 Aug 1999 18:36:11 +0200"
Message-ID: <qrraerhjfi2.fsf@elwha.cs.washington.edu>
Lines: 22
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> >> Ouch, that's the second time I forget to whine about my currently
> >> main annoyance about scwm: for a month or so, scwm has begun to pause
> >> for more than a second everytime a new window is opened.
> >> That's most annoying.
> > 
> > Is this off of current CVS?  I can't reproduce this... does it do it on
> > -f /dev/null as the .scwmrc?
> Oops. Indeed, this doesn't happen with -f /dev/null,
> so this must be due to some lossage in my configuration
> (vaguely descended from an old scwmrc.gjb and the one in debian).
> My configuration is on
> 	http://cvs.tunes.org/cgi-bin/cvsweb/fare/etc/scwm/
> 	http://cvs.tunes.org/cgi-bin/cvsweb/fare/etc/scwm/<FOO>.scm?rev=HEAD
> Can anyone help me find what I'm doing wrong?

I don't notice any pause when a new window is opened (with your dot
files).  Can you be more explicit to help me try to reproduce your problem?

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 13:38:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA05962
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 13:38:50 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from racine.cybercable.fr (racine.cybercable.fr [212.198.0.201])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id NAA05959
	for <scwm-discuss@scwm.mit.edu>; Tue, 24 Aug 1999 13:38:44 -0400
Received: (qmail 416514 invoked from network); 24 Aug 1999 17:38:40 -0000
Received: from d026.paris-121.cybercable.fr (HELO ZhengHe) (@[212.198.121.26]) (envelope-sender <fare@tunes.org>)
          by racine.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <gjb@cs.washington.edu>; 24 Aug 1999 17:38:40 -0000
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11JKYT-0001nc-00; Tue, 24 Aug 1999 19:40:17 +0200
Date: Tue, 24 Aug 1999 19:40:17 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: Greg Badros <gjb@cs.washington.edu>
Cc: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: scwm problems
Message-ID: <19990824194017.A5542@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19990824002203.A29558@ZhengHe.augustin.thierry> <qrrlnb1g6in.fsf@elwha.cs.washington.edu> <19990824111722.A31297@ZhengHe.augustin.thierry> <19990824114452.A31398@ZhengHe.augustin.thierry> <qrriu65jhy5.fsf@elwha.cs.washington.edu> <19990824183610.A755@ZhengHe.augustin.thierry> <qrraerhjfi2.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrraerhjfi2.fsf@elwha.cs.washington.edu>; from Greg Badros on Tue, Aug 24, 1999 at 09:43:49AM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Tue, Aug 24, 1999 at 09:43:49AM -0700, Greg Badros wrote:
> Francois-Rene Rideau <fare@tunes.org> writes:
> 
>>>> main annoyance about scwm: for a month or so, scwm has begun to pause
>>>> for more than a second everytime a new window is opened.
>>>> That's most annoying.
>> 	http://cvs.tunes.org/cgi-bin/cvsweb/fare/etc/scwm/
> I don't notice any pause when a new window is opened (with your dot
> files).  Can you be more explicit to help me try to reproduce your problem?

Well, things that are instantaneous under fvwm, and were quite short
under old scwm, like for xemacs or netscape or xv to pop a new window
now are quite slow, and take something like 1.2s of pause minimum,
during which time I cannot move the viewport either
(maybe an application that would open a window and quit immediately
could serve as a benchmark; xmessage won't do since it sets its timer
*before* opening the window).
I can see the new window appearing in the pager about half a second
after the request, then wait another noticeable split second before
it actually appears on my screen. Wierd.
And again, it used not to do that, and doesn't with scwm -f /dev/null.

Perhaps your new computer is too fast for you to notice?
My laptop is "only" a PMMX 233, after all...

Scwm Version post0.99.1 compiled on Aug 24 1999 at 18:42:09
RCS_ID=$Id: scwm.c,v 1.200 1999/08/10 22:37:50 gjb Exp $
Repository Timestamp: Tue Aug 24 00:14:37 EDT 1999 -- $Revision: 1.2041 $
Guile 1.3

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
There is no such thing as a "necessary evil". If it's necessary, then
it cannot be evil, neither can it be good: it's a datum.

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 13:47:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA06009
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 13:47:00 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA06006
	for <scwm-discuss@scwm.mit.edu>; Tue, 24 Aug 1999 13:46:57 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA05027; Tue, 24 Aug 1999 10:46:50 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: using the CVS version
References: <19990812194017.A3706@youkaidi.irisa.fr> <Pine.OSF.4.02A.9908121229030.9840-100000@sanjuan.cs.washington.edu> <19990813142933.A15499@youkaidi.irisa.fr> <qrrg11nixr3.fsf@elwha.cs.washington.edu> <19990824092444.B1567@youkaidi.irisa.fr> <qrrpv0djj2k.fsf@elwha.cs.washington.edu> <19990824184038.D986@youkaidi.irisa.fr> <qrr9071jfby.fsf@elwha.cs.washington.edu> <19990824193319.G986@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Aug 1999 10:46:50 -0700
In-Reply-To: Hubert Canon's message of "Tue, 24 Aug 1999 19:33:19 +0200"
Message-ID: <qrr3dx9jcl1.fsf@elwha.cs.washington.edu>
Lines: 27
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> I am sorry to flood your mailbox, but I make my discoveries one at a
> time.
> 
> 
> Greg Badros écrivait :
> > One thing you could look at it is setting a breakpoint on the
> > XGetWindowProperty line in default_select_desk of placement.c (line 403
> > for me) and print XA_WM_DESKTOP -- what value does it have?  If it is 0, 
> > then try setting a breakpoing on line 261ish of scwm.c where
> > XA_WM_DESKTOP is initialized and see if it gets a non-zero value
> > assigned there.
> 
> For some reason, XA_WM_DESKTOP becomes 0 after the line 1114 of scwm.c :
>   sigsetjmp(envHandleEventsLoop,1);

Is it the only of the XA_* variables to change after the call to
sigsetjmp?  Just to be clear, XA_WM_DESKTOP has a non-zero value before
the call, and is reset to 0 after the call, right?  What about, e.g.,
XA_WM_CHANGE_STATE?

Anybody have any knowledge of Solaris's C library's sigsetjmp function
affecting global non-static variables?

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 13:51:15 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA06075
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 13:51:15 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA06071
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 24 Aug 1999 13:51:11 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA05030; Tue, 24 Aug 1999 10:51:06 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: scwm problems
References: <19990824002203.A29558@ZhengHe.augustin.thierry> <qrrlnb1g6in.fsf@elwha.cs.washington.edu> <19990824111722.A31297@ZhengHe.augustin.thierry> <19990824114452.A31398@ZhengHe.augustin.thierry> <qrriu65jhy5.fsf@elwha.cs.washington.edu> <19990824183610.A755@ZhengHe.augustin.thierry> <qrraerhjfi2.fsf@elwha.cs.washington.edu> <19990824194017.A5542@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Aug 1999 10:51:06 -0700
In-Reply-To: Francois-Rene Rideau's message of "Tue, 24 Aug 1999 19:40:17 +0200"
Message-ID: <qrr1zctjcdx.fsf@elwha.cs.washington.edu>
Lines: 29
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> >> 	http://cvs.tunes.org/cgi-bin/cvsweb/fare/etc/scwm/
> > I don't notice any pause when a new window is opened (with your dot
> > files).  Can you be more explicit to help me try to reproduce your problem?
> 
> Well, things that are instantaneous under fvwm, and were quite short
> under old scwm, like for xemacs or netscape or xv to pop a new window
> now are quite slow, and take something like 1.2s of pause minimum,
> during which time I cannot move the viewport either
> (maybe an application that would open a window and quit immediately
> could serve as a benchmark; xmessage won't do since it sets its timer
> *before* opening the window).
> I can see the new window appearing in the pager about half a second
> after the request, then wait another noticeable split second before
> it actually appears on my screen. Wierd.
> And again, it used not to do that, and doesn't with scwm -f /dev/null.
> 
> Perhaps your new computer is too fast for you to notice?
> My laptop is "only" a PMMX 233, after all...

Perhaps... I have a PPro200 that I can try it on too.   If you have time 
to try to narrow down the problem by pruning your scwmrc configuration
of things and seeing if the problem still exists, this would be very
helpful.  E.g., it's probably got something to do with window styles or
the various before-*-window-hooks.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 14:15:30 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA06285
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 14:15:30 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA06282
	for <scwm-discuss@scwm.mit.edu>; Tue, 24 Aug 1999 14:15:24 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id UAA04467;
	Tue, 24 Aug 1999 20:15:21 +0200 (MET DST)
Date: Tue, 24 Aug 1999 20:15:20 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: using the CVS version
Message-ID: <19990824201519.H986@youkaidi.irisa.fr>
References: <19990812194017.A3706@youkaidi.irisa.fr> <Pine.OSF.4.02A.9908121229030.9840-100000@sanjuan.cs.washington.edu> <19990813142933.A15499@youkaidi.irisa.fr> <qrrg11nixr3.fsf@elwha.cs.washington.edu> <19990824092444.B1567@youkaidi.irisa.fr> <qrrpv0djj2k.fsf@elwha.cs.washington.edu> <19990824184038.D986@youkaidi.irisa.fr> <qrr9071jfby.fsf@elwha.cs.washington.edu> <19990824193319.G986@youkaidi.irisa.fr> <qrr3dx9jcl1.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.7us
In-Reply-To: <qrr3dx9jcl1.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros écrivait :
> Hubert Canon <Hubert.Canon@irisa.fr> writes:
> > Greg Badros écrivait :
> > > One thing you could look at it is setting a breakpoint on the
> > > XGetWindowProperty line in default_select_desk of placement.c (line 403
> > > for me) and print XA_WM_DESKTOP -- what value does it have?  If it is 0, 
> > > then try setting a breakpoing on line 261ish of scwm.c where
> > > XA_WM_DESKTOP is initialized and see if it gets a non-zero value
> > > assigned there.
> > 
> > For some reason, XA_WM_DESKTOP becomes 0 after the line 1114 of scwm.c :
> >   sigsetjmp(envHandleEventsLoop,1);
> 
> Is it the only of the XA_* variables to change after the call to
> sigsetjmp?

Yes :

XA_WM_CHANGE_STATE
XA_WM_DESKTOP
XA_OL_WT_BASE
XA_SCWMEXEC_ERROR
XA_OL_DECOR_ICON_NAME

The other ones keep the same value.

> Just to be clear, XA_WM_DESKTOP has a non-zero value before
> the call, and is reset to 0 after the call, right?

Yes. Exactly.

>  What about, e.g., XA_WM_CHANGE_STATE?

before sigsetjmp(envHandleEventsLoop,1) : 103
after  sigsetjmp(envHandleEventsLoop,1) : 28672

> Anybody have any knowledge of Solaris's C library's sigsetjmp function
> affecting global non-static variables?

> Thanks,
> Greg

-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 14:36:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA06422
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 14:36:13 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA06417
	for <scwm-discuss@scwm.mit.edu>; Tue, 24 Aug 1999 14:36:00 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA05075; Tue, 24 Aug 1999 11:35:53 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: using the CVS version
References: <19990812194017.A3706@youkaidi.irisa.fr> <Pine.OSF.4.02A.9908121229030.9840-100000@sanjuan.cs.washington.edu> <19990813142933.A15499@youkaidi.irisa.fr> <qrrg11nixr3.fsf@elwha.cs.washington.edu> <19990824092444.B1567@youkaidi.irisa.fr> <qrrpv0djj2k.fsf@elwha.cs.washington.edu> <19990824184038.D986@youkaidi.irisa.fr> <qrr9071jfby.fsf@elwha.cs.washington.edu> <19990824193319.G986@youkaidi.irisa.fr> <qrr3dx9jcl1.fsf@elwha.cs.washington.edu> <19990824201519.H986@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Aug 1999 11:35:53 -0700
In-Reply-To: Hubert Canon's message of "Tue, 24 Aug 1999 20:15:20 +0200"
Message-ID: <qrrzozhhvqu.fsf@elwha.cs.washington.edu>
Lines: 44
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Greg Badros écrivait :
> > Hubert Canon <Hubert.Canon@irisa.fr> writes:
> > > Greg Badros écrivait :
> > > > One thing you could look at it is setting a breakpoint on the
> > > > XGetWindowProperty line in default_select_desk of placement.c (line 403
> > > > for me) and print XA_WM_DESKTOP -- what value does it have?  If it is 0, 
> > > > then try setting a breakpoing on line 261ish of scwm.c where
> > > > XA_WM_DESKTOP is initialized and see if it gets a non-zero value
> > > > assigned there.
> > > 
> > > For some reason, XA_WM_DESKTOP becomes 0 after the line 1114 of scwm.c :
> > >   sigsetjmp(envHandleEventsLoop,1);
> > 
> > Is it the only of the XA_* variables to change after the call to
> > sigsetjmp?
> 
> Yes :
> 
> XA_WM_CHANGE_STATE
> XA_WM_DESKTOP
> XA_OL_WT_BASE
> XA_SCWMEXEC_ERROR
> XA_OL_DECOR_ICON_NAME
> 
> The other ones keep the same value.
> 
> > Just to be clear, XA_WM_DESKTOP has a non-zero value before
> > the call, and is reset to 0 after the call, right?
> 
> Yes. Exactly.
> 
> >  What about, e.g., XA_WM_CHANGE_STATE?
> 
> before sigsetjmp(envHandleEventsLoop,1) : 103
> after  sigsetjmp(envHandleEventsLoop,1) : 28672

This seems like a bug in something other than Scwm.... maybe the libc
you're linking against or your compiler. I'll try to build on a solaris
box and see if I can reproduce it.  Can you give details of your
compiler, operating system etc?

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 16:10:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA06978
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 16:10:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from camus.cybercable.fr (camus.cybercable.fr [212.198.0.200])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id QAA06975
	for <scwm-discuss@scwm.mit.edu>; Tue, 24 Aug 1999 16:10:08 -0400
Received: (qmail 446239 invoked from network); 24 Aug 1999 20:10:03 -0000
Received: from d026.paris-121.cybercable.fr (HELO ZhengHe) (@[212.198.121.26]) (envelope-sender <fare@tunes.org>)
          by camus.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <scwm-discuss@scwm.mit.edu>; 24 Aug 1999 20:10:03 -0000
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11JMv0-000268-00; Tue, 24 Aug 1999 22:11:42 +0200
Date: Tue, 24 Aug 1999 22:11:42 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: scwm problems
Message-ID: <19990824221141.A8051@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19990824002203.A29558@ZhengHe.augustin.thierry> <qrrlnb1g6in.fsf@elwha.cs.washington.edu> <19990824111722.A31297@ZhengHe.augustin.thierry> <19990824114452.A31398@ZhengHe.augustin.thierry> <qrriu65jhy5.fsf@elwha.cs.washington.edu> <19990824183610.A755@ZhengHe.augustin.thierry> <qrraerhjfi2.fsf@elwha.cs.washington.edu> <19990824194017.A5542@ZhengHe.augustin.thierry> <qrr1zctjcdx.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrr1zctjcdx.fsf@elwha.cs.washington.edu>; from Greg Badros on Tue, Aug 24, 1999 at 10:51:06AM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Tue, Aug 24, 1999 at 10:51:06AM -0700, Greg Badros wrote:
>> Perhaps your new computer is too fast for you to notice?
>> My laptop is "only" a PMMX 233, after all...
>
> Perhaps... I have a PPro200 that I can try it on too.   If you have time 
> to try to narrow down the problem by pruning your scwmrc configuration
> of things and seeing if the problem still exists, this would be very
> helpful.  E.g., it's probably got something to do with window styles or
> the various before-*-window-hooks.
> 
Bizarrely, I narrowed the slowdown to the file scwm-input,
where I only define my (many) keyboard and mouse bindings.
And I couldn't find a precise spot where the slowdown happens:
it looks like the more bindings, the more slowdown.

However, I couldn't find a simple program to test this conjecture,
that would open a window, detect that the window is properly placed,
and then die, so you could measure the time it takes to place a new window
(such program would be a nice benchmark for window managers, btw).

Would something silly be done when a new window pops up,
that would involve linear (or bogo) walk of the bindings list?
Or has my scwm-input file some side-effect of which I'm not aware?

Regards,

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
God created man likewise to himself. Then He has a penis. I dare not wonder
what was the divine use of it during the eternity before he created the world.
		-- Faré

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 16:42:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA07146
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 16:42:33 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA07143
	for <scwm-discuss@scwm.mit.edu>; Tue, 24 Aug 1999 16:42:27 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA05350; Tue, 24 Aug 1999 13:42:21 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: scwm problems
References: <19990824002203.A29558@ZhengHe.augustin.thierry> <qrrlnb1g6in.fsf@elwha.cs.washington.edu> <19990824111722.A31297@ZhengHe.augustin.thierry> <19990824114452.A31398@ZhengHe.augustin.thierry> <qrriu65jhy5.fsf@elwha.cs.washington.edu> <19990824183610.A755@ZhengHe.augustin.thierry> <qrraerhjfi2.fsf@elwha.cs.washington.edu> <19990824194017.A5542@ZhengHe.augustin.thierry> <qrr1zctjcdx.fsf@elwha.cs.washington.edu> <19990824221141.A8051@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Aug 1999 13:42:21 -0700
In-Reply-To: Francois-Rene Rideau's message of "Tue, 24 Aug 1999 22:11:42 +0200"
Message-ID: <qrrwvukj4gi.fsf@elwha.cs.washington.edu>
Lines: 47
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> On Tue, Aug 24, 1999 at 10:51:06AM -0700, Greg Badros wrote:
> >> Perhaps your new computer is too fast for you to notice?
> >> My laptop is "only" a PMMX 233, after all...
> >
> > Perhaps... I have a PPro200 that I can try it on too.   If you have time 
> > to try to narrow down the problem by pruning your scwmrc configuration
> > of things and seeing if the problem still exists, this would be very
> > helpful.  E.g., it's probably got something to do with window styles or
> > the various before-*-window-hooks.
> > 
> Bizarrely, I narrowed the slowdown to the file scwm-input,
> where I only define my (many) keyboard and mouse bindings.
> And I couldn't find a precise spot where the slowdown happens:
> it looks like the more bindings, the more slowdown.
> 
> However, I couldn't find a simple program to test this conjecture,
> that would open a window, detect that the window is properly placed,
> and then die, so you could measure the time it takes to place a new window
> (such program would be a nice benchmark for window managers, btw).
> 
> Would something silly be done when a new window pops up,
> that would involve linear (or bogo) walk of the bindings list?
> Or has my scwm-input file some side-effect of which I'm not aware?

Ahh... yes... something "silly" (quoted since it's actually not silly, AFAIK)
is done in that all the window and global bindings must be applied to
the new window (i.e., the XGrabKey passive grabs must be established).
Perhaps something is done unintelligently, but I don't think you can get 
around needing all the XGrabKey invocations, and I believe that they are 
done synchronously.

Now that I think about it, I bet you noticed the slowdown from when I
added the code to ensure that various modifiers (LockMask, numlock,
scrolllock, and their various combinations - -8 in all) are all
grabbed.  Basically, this resulted in 8 times as many XGrabKey calls as
before which could make a noticeable difference, especially when running 
on a remote X display (assumming XGrabKey requires a round trip).

I'll look and see what I can do to minimize the number of XGrabKey
calls, including an option to not use the extra smarts I added about
making sure that not-usually-intentionally-distinguished modifiers such
as num/scroll lock are ignored.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 16:57:37 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA07322
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 16:57:37 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from camus.cybercable.fr (camus.cybercable.fr [212.198.0.200])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id QAA07317
	for <scwm-discuss@scwm.mit.edu>; Tue, 24 Aug 1999 16:57:32 -0400
Received: (qmail 448234 invoked from network); 24 Aug 1999 20:57:28 -0000
Received: from d026.paris-121.cybercable.fr (HELO ZhengHe) (@[212.198.121.26]) (envelope-sender <fare@tunes.org>)
          by camus.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <scwm-discuss@scwm.mit.edu>; 24 Aug 1999 20:57:28 -0000
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11JNen-00029x-00; Tue, 24 Aug 1999 22:59:01 +0200
Date: Tue, 24 Aug 1999 22:59:00 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: scwm problems
Message-ID: <19990824225900.A8263@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <qrrlnb1g6in.fsf@elwha.cs.washington.edu> <19990824111722.A31297@ZhengHe.augustin.thierry> <19990824114452.A31398@ZhengHe.augustin.thierry> <qrriu65jhy5.fsf@elwha.cs.washington.edu> <19990824183610.A755@ZhengHe.augustin.thierry> <qrraerhjfi2.fsf@elwha.cs.washington.edu> <19990824194017.A5542@ZhengHe.augustin.thierry> <qrr1zctjcdx.fsf@elwha.cs.washington.edu> <19990824221141.A8051@ZhengHe.augustin.thierry> <qrrwvukj4gi.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrrwvukj4gi.fsf@elwha.cs.washington.edu>; from Greg Badros on Tue, Aug 24, 1999 at 01:42:21PM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

> Ahh... yes... something "silly" (quoted since it's actually not silly, AFAIK)
> is done in that all the window and global bindings must be applied to
> the new window (i.e., the XGrabKey passive grabs must be established).
> Perhaps something is done unintelligently, but I don't think you can get
> around needing all the XGrabKey invocations, and I believe that they are
> done synchronously.

I admit I know little of the way X works, but I don't understand
why you need to send request for each binding (or requests at all).
Can you point give me a short explanation and/or point me
to the right documentation? I'm pretty sure XEmacs, for instance,
doesn't send such requests for every new window and every new binding.

Considering the poor performance on my relatively modern computer,
it means that scwm wouldn't usably run at all on older computers
(say, a P5 with 32MB of RAM, or even a 486 with 16 MB of RAM,
on which fvwm runs quite nicely).

> Now that I think about it, I bet you noticed the slowdown from when I
> added the code to ensure that various modifiers (LockMask, numlock,
> scrolllock, and their various combinations - -8 in all) are all
> grabbed.  Basically, this resulted in 8 times as many XGrabKey calls as
> before which could make a noticeable difference, especially when running 
> on a remote X display (assumming XGrabKey requires a round trip).
The display is local on a PMMX233 computer!
I don't dare imagine my dad's 486dx50/24MB running scwm from CVS!

> I'll look and see what I can do to minimize the number of XGrabKey
> calls, including an option to not use the extra smarts I added about
> making sure that not-usually-intentionally-distinguished modifiers such
> as num/scroll lock are ignored.

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
Some people will argue that since there's no evidence either way whether
the smurf fboinks or not, it's ok to firmly believe that indeed it does.
Such people are insane, often as the result of a life-long endoctrination.

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 24 17:18:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA07614
	for scwm-discuss-outgoing; Tue, 24 Aug 1999 17:18:59 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA07608
	for <scwm-discuss@scwm.mit.edu>; Tue, 24 Aug 1999 17:18:54 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA05406; Tue, 24 Aug 1999 14:18:47 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: scwm problems
References: <qrrlnb1g6in.fsf@elwha.cs.washington.edu> <19990824111722.A31297@ZhengHe.augustin.thierry> <19990824114452.A31398@ZhengHe.augustin.thierry> <qrriu65jhy5.fsf@elwha.cs.washington.edu> <19990824183610.A755@ZhengHe.augustin.thierry> <qrraerhjfi2.fsf@elwha.cs.washington.edu> <19990824194017.A5542@ZhengHe.augustin.thierry> <qrr1zctjcdx.fsf@elwha.cs.washington.edu> <19990824221141.A8051@ZhengHe.augustin.thierry> <qrrwvukj4gi.fsf@elwha.cs.washington.edu> <19990824225900.A8263@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Aug 1999 14:18:46 -0700
In-Reply-To: Francois-Rene Rideau's message of "Tue, 24 Aug 1999 22:59:00 +0200"
Message-ID: <qrru2poj2rt.fsf@elwha.cs.washington.edu>
Lines: 51
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> > Ahh... yes... something "silly" (quoted since it's actually not silly, AFAIK)
> > is done in that all the window and global bindings must be applied to
> > the new window (i.e., the XGrabKey passive grabs must be established).
> > Perhaps something is done unintelligently, but I don't think you can get
> > around needing all the XGrabKey invocations, and I believe that they are
> > done synchronously.
> 
> I admit I know little of the way X works, but I don't understand
> why you need to send request for each binding (or requests at all).
> Can you point give me a short explanation and/or point me
> to the right documentation? I'm pretty sure XEmacs, for instance,
> doesn't send such requests for every new window and every new binding.

Scwm needs to do it to get the keypress from windows that it didn't
create-- e.g., grabbing a C-S-M-z to popup the scwm menu even when the
focus is on an XEmacs.  Most applications do not have this issue because 
by default X reports the events to the right application.

> Considering the poor performance on my relatively modern computer,
> it means that scwm wouldn't usably run at all on older computers
> (say, a P5 with 32MB of RAM, or even a 486 with 16 MB of RAM,
> on which fvwm runs quite nicely).

I just added a set-ignore-dubious-locks! primitive that controls whether 
the new (slower, but fewer surprises) behaviour is used:

SCWM_PROC(set_ignore_dubious_locks_x, "set-ignore-dubious-locks!", 1, 0, 0, 
          (SCM flag))
     /** If FLAG is #t, ignore scoll/num/lock modifiers on all bindings made.
Otherwise do not.  If dubious locks are being ignored, multiple XGrabKey invocations
must occur for each binding made;  this can result in a noticeable delay when, e.g.,
a new window is created.  If this bothers you, call this procedure with FLAG set
to #f. The default is #t. */

> > Now that I think about it, I bet you noticed the slowdown from when I
> > added the code to ensure that various modifiers (LockMask, numlock,
> > scrolllock, and their various combinations - -8 in all) are all
> > grabbed.  Basically, this resulted in 8 times as many XGrabKey calls as
> > before which could make a noticeable difference, especially when running 
> > on a remote X display (assumming XGrabKey requires a round trip).
> The display is local on a PMMX233 computer!
> I don't dare imagine my dad's 486dx50/24MB running scwm from CVS!

Hopefully the above will help, but I think the problem is fundamental to 
having lots of global/window key/mouse bindings.  The event rewrite will 
help somewhat in that bindings can be restricted on a per-window-class
basis.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Aug 25 03:12:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA08690
	for scwm-discuss-outgoing; Wed, 25 Aug 1999 03:12:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA08687
	for <scwm-discuss@scwm.mit.edu>; Wed, 25 Aug 1999 03:12:37 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id AAA06728; Wed, 25 Aug 1999 00:12:32 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: [Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>] Guile 1.3.2 released
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Aug 1999 00:12:32 -0700
Message-ID: <qrru2po72qn.fsf@elwha.cs.washington.edu>
Lines: 190
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Guile-1.3.2 is out.  I've got most of the changes for Scwm to support it 
already made and will be committing tomorrow after a bit more
testing.  I intend not to break Scwm for guile-1.3 users, but will be
doing future development and most testing built against guile-1.3.2.

Feedback on your experiences with either version is, as always, very
much appreciated!

Thanks,
Greg


------- Start of forwarded message -------
From: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
To: guile@sourceware.cygnus.com
Subject: Guile 1.3.2 released
Reply-to: Mikael Djurfeldt <djurfeldt@nada.kth.se>
Message-Id: <E11JQJe-0003W9-00@mdj-pc.nada.kth.se>
Date: Wed, 25 Aug 1999 01:49:22 +0200

[I'm releasing Guile-1.3.2 on behalf of the Guile maintainer Jim Blandy]

Version 1.3.2 of Guile is now available via anonymous FTP from
ftp://ftp.gnu.org/pub/gnu/guile/guile-1.3.2.tar.gz.

Guile is a portable, embeddable Scheme implementation written in C.
Guile provides a machine independent execution platform that can be
linked in as a library when building extensible programs.

The mailing list `guile@sourceware.cygnus.com' carries discussions,
questions, and often answers, about Guile.  To subscribe, send mail to
guile-subscribe@sourceware.cygnus.com.  Of course, please send bug
reports (and fixes!) to bug-guile@gnu.org.  Note that one address is
@sourceware.cygnus.com, and the other is at @gnu.org.

This release contains many bug fixes and incremental improvements.
In particular:
- The C API has been revised in many places, based on input from
  users.
- The I/O subsystem has been rewritten and the C level interface for
  implementing port types as changed.  The new system is based on
  shared access to buffers.
- New builtin efficient sorting functions.
- New builtin random number support.
- `format' for pretty-printing has been added.
- Guile now supports optional arguments to procedures and macros.
- Dybvig-style guardians for managing objects that have been
  collected.

For further details, see NEWS, in the distribution.

Thanks ===============================================================

The Guile developers would like to thank the following people for
their contributions to this release of Guile:

The Guile core distribution:

Greg Badros contributes patches to use the new SMOB interface.
Gary Houston contributed a more efficient and portable implementation of
    I/O ports, and hacked on (ice-9 expect).
Michael Livshin implemented Dybvig's Guardians.
Roland Orre contributed list and vector sorting functions.
Russ McManus contributed a command-line argument parser (ice-9 getopt-long).
Ken Raeburn contributed patches to make Guile use `const' in some
    appropriate places.
Greg Harvey made sure Jim didn't lose any patches, and made readline
    highlight matching parenthesis.

Bug reports and fixes from:

  Greg Badros, Etienne Bernard, John Bley, Brad Bowman, Frank Cieslok,
  Karl Eichwalder, Mark Elbrecht, Jay Glascoe, Ian Grant, Eric Hanchrow,
  Greg Harvey, Dirk Herrmann, Johannes Hjorth, Charbel Jacquin, David
  Kaelbling, Lorentey Karoly, Valdis Kletnieks, Brad Knotwell, Michael
  Livshin, David Lutterkort, Christian Lynbech, Russ McManus, Eric
  Moore, Nicolas Neuss, Thien-Thi Nguyen, James Dean Palmer, Richard
  Polton, Ken Raeburn, Mikael Ståldal, Telford Tendys, Jon Trowbridge,
  Bernard Urban, Sebastien Villemot, and Jim Wilson

Also, thanks to:
- Craig Brozefsky, for his work on the Guile mailing list web archives
- Pat Eyler, for his continuing work on the Guile web pages

Apologies to any we've forgotten.


About This Distribution ==============================================

Building and installing this distribution gives you:
guile --- a stand-alone interpreter for Guile, usually installed in
	/usr/local/bin.  With no arguments, this is a simple
	interactive Scheme interpreter.  It can also be used as an
	interpreter for script files; see the NEWS file for details.
guile-config --- a Guile script which provides the information necessary
	to link your programs against the Guile library.
guile-snarf --- a script to parse declarations in your C code for 
	Scheme-visible C functions, Scheme objects to be used by C code, etc.
libguile.a --- an object library containing the Guile interpreter,
	usually installed in /usr/local/lib.  You can use Guile in
	your own programs by linking against this.
libqthreads.a --- an object library containing the QuickThreads
	primitives.  If you enabled thread support when you configured
	Guile, you will need to link your code against this too.
<libguile.h>, <guile/gh.h>, <libguile/*.h> --- header files for
	libguile.a, usually installed in /usr/local/include.
ice-9, ice-9/*.scm --- run-time support for Guile: the module
	system, read-eval-print loop, some R4RS code and other
	infrastructure.  Usually installed in
	/usr/local/share/guile/<version>.
data-rep.info --- An essay on how to write C code that works with
	Guile Scheme values.

Interesting files include:
- INSTALL, which contains instructions on building and installing Guile.
- NEWS, which describes user-visible changes since the last release of Guile.
- COPYING, which describes the terms under which you may redistribute
  Guile, and explains that there is no warranty.

The Guile source tree is laid out as follows:

libguile:
	The Guile Scheme interpreter --- both the object library
	for you to link with your programs, and the executable you can run.
ice-9:  Guile's module system, initialization code, and other infrastructure.
guile-config:
	Source for the guile-config script.
qt: 	A cooperative threads package from the University of Washington,
	which Guile can use.  If you configure Guile with the
        --with-threads flag, you will need to link against the -lqt
        library, found in this directory.  Qt is under a separate
        copyright; see `qt/README' for more details.
doc:	Some preliminary documentation for Guile.  The real Guile
	manual is incomplete, and is currently being revised.
doc/example-smob: Sample code, discussed in the preliminary
	documentation above, for a program that extends Guile with a
	new data type, and functions that operate on it.


Anonymous CVS Access and FTP snapshots ===============================

We make the developers' working Guile sources available via anonymous
CVS, and by nightly snapshots, accessible via FTP.  See the files
`ANON-CVS' and `SNAPSHOTS' for details.

If you would like to receive mail when people commit changes to the
Guile CVS repository, you can subscribe to guile-cvs@sourceware.cygnus.com
by sending a message to guile-cvs-subscribe@sourceware.cygnus.com.  Even
better, you can get daily digests of these commit messages by sending
a message to guile-cvs-digest-subscribe@sourceware.cygnus.com.

If you want to subscribe an e-mail address other than the one that
appears in your From: header, say foo@bar.com, send a mail note to
guile-cvs-subscribe-foo=bar.com@sourceware.cygnus.com.


Hacking It Yourself ==================================================

As distributed, Guile needs only an ANSI C compiler and a Unix system
to compile.  However, Guile's makefiles, configuration scripts, and a
few other files are automatically generated, not written by hand.  If
you want to make changes to the system (which we encourage!) you will
find it helpful to have the tools we use to develop Guile.  They
are the following:

Autoconf 2.13 --- a system for automatically generating `configure'
	scripts from templates which list the non-portable features a
	program would like to use.  Available in
	"ftp://ftp.gnu.org/pub/gnu/autoconf"

Automake 1.4 --- a system for automatically generating Makefiles that
	conform to the (rather Byzantine) GNU coding standards.  The
	nice thing is that it takes care of hairy targets like 'make
	dist' and 'make distclean', and automatically generates
	Makefile dependencies.  Automake is available in
	"ftp://ftp.gnu.org/pub/gnu/automake"

	Before using automake, you may need to copy `threads.m4' and
	`guile.m4' from the top directory of the Guile core disty to
	`/usr/local/share/aclocal.

libtool 1.3.3 --- a system for managing the zillion hairy options needed
	on various systems to produce shared libraries.  Available in
	"ftp://ftp.gnu.org/pub/gnu/libtool"

You are lost in a little maze of automatically generated files, all
different.
> 

------- End of forwarded message -------

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Aug 25 15:45:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA11742
	for scwm-discuss-outgoing; Wed, 25 Aug 1999 15:45:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA11738
	for <scwm-discuss@scwm.mit.edu>; Wed, 25 Aug 1999 15:45:08 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA07590; Wed, 25 Aug 1999 12:45:04 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Cc: guile@sourceware.cygnus.com
Subject: Scwm works with guile-1.3.2
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Aug 1999 12:45:04 -0700
Message-ID: <qrrk8qj7igv.fsf@elwha.cs.washington.edu>
Lines: 28
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

After a late night yesterday and some more fixes this morning, Scwm
seems to be working smoothly with the new stable guile-1.3.2.  Most of
the problems were in adjusting to the new 1st-class hooks---we were
sloppy in not abstracting out a hook-making procedure, and just used '()
for new hooks.  Also had places where we were calling hooks with the
wrong number of arguments, or defined hooks to have the wrong number of
arguments.

Other problems included uses of `map' in Scwm that had lists of varying
lengths (not R4RS-correct, but guile-1.3 didn't mind), and the new
string port stuff that we'd been rolling our own on in Scwm before now.

It is my intention to support guile-1.3 (as well as immediately-after
guile-1.3 versions that fixed the bad I/O performance bug) and
guile-1.3.2 (and hopefully the immediately-after bug-fixes to it).
guile-1.3.1 will not be supported as there are too many flavors to deal
with.

I'd appreciate people testing this out sometime soon (via anoncvs --
Maciej, any progress on restoring snapshots?).  I'm interested in
whether Scwm still works with guile-1.3, and also that it works with
guile-1.3.2.  (I've tried both -- the former on a RH5.2-based x86
GNU/Linux system, the latter on a RH6-based x86 GNU/Linux system.)  I
hope to have the long-awaited Scwm-0.99.2 release by the middle of next
week.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Aug 25 19:20:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA12586
	for scwm-discuss-outgoing; Wed, 25 Aug 1999 19:20:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from camus.cybercable.fr (camus.cybercable.fr [212.198.0.200])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id TAA12583
	for <scwm-discuss@scwm.mit.edu>; Wed, 25 Aug 1999 19:20:11 -0400
Received: (qmail 658467 invoked from network); 25 Aug 1999 23:20:05 -0000
Received: from d026.paris-121.cybercable.fr (HELO ZhengHe) (@[212.198.121.26]) (envelope-sender <fare@tunes.org>)
          by camus.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <scwm-discuss@scwm.mit.edu>; 25 Aug 1999 23:20:05 -0000
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11JmM0-0007Dq-00; Thu, 26 Aug 1999 01:21:16 +0200
Date: Thu, 26 Aug 1999 01:21:16 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: how to determine style to set?
Message-ID: <19990826012116.A27752@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dear SCWM people,
   I'm trying Linux Native Oberon <http://www.oberon.ethz.ch/>, and
it opens a full-screen X window, for which WM decoration are harmful.
Only I can find the right window-style invocation to make it behave better
(if any). How am I meant to find out? xwininfo and xlsclients won't help.

PS: I'm still not convinced about the so many XGrabKey.
Couldn't the WM just grab all keys, or given keys for all windows,
and give them back in case it doesn't like them?
Can't the keys be grabbed many at a time (or many combinations at a time),
to prevent unnecessary multiple grabs?

Regards,

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
"I'm going to live forever, or die trying!" -- Spider Robinson

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Aug 25 19:39:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA12906
	for scwm-discuss-outgoing; Wed, 25 Aug 1999 19:39:01 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA12903
	for <scwm-discuss@scwm.mit.edu>; Wed, 25 Aug 1999 19:38:55 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA08396; Wed, 25 Aug 1999 16:38:36 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: how to determine style to set?
References: <19990826012116.A27752@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Aug 1999 16:38:35 -0700
In-Reply-To: Francois-Rene Rideau's message of "Thu, 26 Aug 1999 01:21:16 +0200"
Message-ID: <qrrvha377no.fsf@elwha.cs.washington.edu>
Lines: 32
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> Dear SCWM people,
>    I'm trying Linux Native Oberon <http://www.oberon.ethz.ch/>, and
> it opens a full-screen X window, for which WM decoration are harmful.
> Only I can find the right window-style invocation to make it behave better
> (if any). How am I meant to find out? xwininfo and xlsclients won't help.

xprop.  Or use the nifty stylist menu (now bound to Mouse-3 in
left-button-1 (top-left button in titlebar) in gjb.scwmrc.

> PS: I'm still not convinced about the so many XGrabKey.
> Couldn't the WM just grab all keys, or given keys for all windows,
> and give them back in case it doesn't like them?
> Can't the keys be grabbed many at a time (or many combinations at a time),
> to prevent unnecessary multiple grabs?

I'd love it if I were wrong here, but I'm afraid I don't think I am.  X
does not (yet-- but it'd be a nice extension) support grabbing multiple
keys with a single X request.

Scwm could grab the keyboard entirely, but then it would have to
dispatch the keys to the appropriate windows which would be a mess and a 
waste (and not even possible w/o using XTest).

If it really bugs you, do:

(set-ignore-dubious-modifiers! #f)

and only the necessary XGrabKey-s will be done.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 26 04:43:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id EAA15510
	for scwm-discuss-outgoing; Thu, 26 Aug 1999 04:43:47 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from racine.cybercable.fr (racine.cybercable.fr [212.198.0.201])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id EAA15507
	for <scwm-discuss@scwm.mit.edu>; Thu, 26 Aug 1999 04:43:39 -0400
Received: (qmail 703204 invoked from network); 26 Aug 1999 08:43:33 -0000
Received: from d026.paris-121.cybercable.fr (HELO ZhengHe) (@[212.198.121.26]) (envelope-sender <fare@tunes.org>)
          by racine.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <scwm-discuss@scwm.mit.edu>; 26 Aug 1999 08:43:33 -0000
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11Jv9G-0000Px-00; Thu, 26 Aug 1999 10:44:42 +0200
Date: Thu, 26 Aug 1999 10:44:42 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: how to determine style to set?
Message-ID: <19990826104442.A1418@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19990826012116.A27752@ZhengHe.augustin.thierry> <qrrvha377no.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrrvha377no.fsf@elwha.cs.washington.edu>; from Greg Badros on Wed, Aug 25, 1999 at 04:38:35PM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Wed, Aug 25, 1999 at 04:38:35PM -0700, Greg Badros wrote:
>>    I'm trying Linux Native Oberon <http://www.oberon.ethz.ch/>, and
>> it opens a full-screen X window, for which WM decoration are harmful.
>> Only I can find the right window-style invocation to make it behave better
>> (if any). How am I meant to find out? xwininfo and xlsclients won't help.
> xprop.  Or use the nifty stylist menu (now bound to Mouse-3 in
> left-button-1 (top-left button in titlebar) in gjb.scwmrc.
the only names that xprop reports are:
WM_ICON_NAME(STRING) = "LNO"
WM_NAME(STRING) = "Linux Native Oberon"
but the below won't work:
(define fullscreen-no-border
  (make-style #:plain-border #t #:border-width 0 #:focus 'mouse))
(define fullscreen-no-decor
  (make-style #:use-style fullscreen-no-border #:no-titlebar #t))
(define (foo x) (window-style x #:use-style fullscreen-no-decor))
(for-each foo '("*oberon*" "LNO" "Oberon" "Linux Native Oberon"))

Actually, it looks like 
(foo "")
will have the effect of removing the titlebar of LNO, but not the border.
As a side note, I also usually (foo "gv"), and gv appears without either
titlebar or border, except for a one line border (or titlebar?)
at the top (?). Bizarrely, using (foo "xterm") will remove border
but keep titlebars of existing xterms, and remove both from new ones.


> Scwm could grab the keyboard entirely, but then it would have to
> dispatch the keys to the appropriate windows which would be a mess and a 
> waste (and not even possible w/o using XTest).
Hum. What did fvwm do? Why did you change it? How do other WM do?


> (set-ignore-dubious-modifiers! #f)
Undocumented feature: when I put that at the beginning of my scwm-input.scm,
no key bindings will be recognized. However, putting it at the end will do...


Oh, I tried to cut&paste the gjb.scwmrc bit by bit, and got bitten
by its animation: it put scwm in a mode where it'd wait for some X
event that wouldn't come, and wouldn't check the scwmrepl anymore.
I had to kill -9 scwm, which leads to two suggestions:
(1) define the whole animation in a single function, triggered globally,
 instead of bit-by-bits. Put it in a module, and just
 (use-scwm-modules startup-anim) (scwm-startup-animation)
(2) make scwm more resiliant to kill -9, by storing as window properties
 their displacement due to decoration, so that it may be properly undone.

Regards,

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
No, I'm not interested in developing a powerful brain.  All I'm after is
just a mediocre brain, something like the president of American Telephone
and Telegraph Company.
                -- Alan Turing on the possibilities of a thinking
                   machine, 1943.

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 26 04:53:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id EAA15583
	for scwm-discuss-outgoing; Thu, 26 Aug 1999 04:53:44 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from lafontaine.cybercable.fr (lafontaine.cybercable.fr [212.198.0.202])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id EAA15579
	for <scwm-discuss@scwm.mit.edu>; Thu, 26 Aug 1999 04:53:40 -0400
Received: (qmail 707941 invoked from network); 26 Aug 1999 08:53:35 -0000
Received: from d026.paris-121.cybercable.fr (HELO ZhengHe) (@[212.198.121.26]) (envelope-sender <fare@tunes.org>)
          by lafontaine.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <scwm-discuss@scwm.mit.edu>; 26 Aug 1999 08:53:35 -0000
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11JvIz-0000RV-00; Thu, 26 Aug 1999 10:54:45 +0200
Date: Thu, 26 Aug 1999 10:54:45 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: how to determine style to set?
Message-ID: <19990826105445.A1688@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19990826012116.A27752@ZhengHe.augustin.thierry> <qrrvha377no.fsf@elwha.cs.washington.edu> <19990826104442.A1418@ZhengHe.augustin.thierry>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <19990826104442.A1418@ZhengHe.augustin.thierry>; from Francois-Rene Rideau on Thu, Aug 26, 1999 at 10:44:42AM +0200
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>> (set-ignore-dubious-modifiers! #f)
> Undocumented feature: when I put that at the beginning of my scwm-input.scm,
> no key bindings will be recognized. However, putting it at the end will do...
After more experimentation, it looks like it's more complex than that:
when I put the (set*) anywhere in scwm-input.scm, I'll get no key bindings
(a #t has seemingly similar results).
But if I do it in scwmrepl after the scwmrc is loaded,
then it all works fine.

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
In a five year period we can get one superb programming language.
Only we can't control when the five year period will begin. -- Alan Perlis

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 26 10:43:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA15892
	for scwm-discuss-outgoing; Thu, 26 Aug 1999 10:43:47 -0400
Received: from vh213601.truman.edu (vh213601.truman.edu [150.243.160.32])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA15889
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 26 Aug 1999 10:43:40 -0400
Received: (from jay@localhost)
	by vh213601.truman.edu (8.9.3/8.9.3) id JAA22706;
	Thu, 26 Aug 1999 09:41:16 -0500
Date: Thu, 26 Aug 1999 09:41:16 -0500
Message-Id: <199908261441.JAA22706@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
From: Jay Belanger <jay@vh213601.truman.edu>
To: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrru2po72qn.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 25 Aug 1999 00:12:32 -0700)
Subject: Re: [Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>] Guile 1.3.2 released
References:  <qrru2po72qn.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> From: Greg Badros <gjb@cs.washington.edu>
> Date: 25 Aug 1999 00:12:32 -0700
> 
> Guile-1.3.2 is out.  

Cool.  Does it have the slow read fix?  And are there any rpms in the
works?  

Jay

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 26 11:29:38 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA16046
	for scwm-discuss-outgoing; Thu, 26 Aug 1999 11:29:38 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA16043
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 26 Aug 1999 11:29:34 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA09546; Thu, 26 Aug 1999 08:29:24 -0700 (PDT)
To: Jay Belanger <jay@vh213601.truman.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: [Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>] Guile 1.3.2 released
References: <qrru2po72qn.fsf@elwha.cs.washington.edu> <199908261441.JAA22706@vh213601.truman.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 26 Aug 1999 08:29:24 -0700
In-Reply-To: Jay Belanger's message of "Thu, 26 Aug 1999 09:41:16 -0500"
Message-ID: <qrrd7wa7e7f.fsf@elwha.cs.washington.edu>
Lines: 17
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jay Belanger <jay@vh213601.truman.edu> writes:

> > From: Greg Badros <gjb@cs.washington.edu>
> > Date: 25 Aug 1999 00:12:32 -0700
> > 
> > Guile-1.3.2 is out.  
> 
> Cool.  Does it have the slow read fix?  And are there any rpms in the
> works?  

Yes, along with lots of other improvements including faster startup
time (though with all that Scwm loads, it's only slightly noticeable)
and lower memory usage!

Haven't yet seen any RPMs, but it should be pretty easy to make them.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 26 11:54:09 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA16202
	for scwm-discuss-outgoing; Thu, 26 Aug 1999 11:54:09 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA16199
	for <scwm-discuss@scwm.mit.edu>; Thu, 26 Aug 1999 11:54:03 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA09606; Thu, 26 Aug 1999 08:53:58 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: how to determine style to set?
References: <19990826012116.A27752@ZhengHe.augustin.thierry> <qrrvha377no.fsf@elwha.cs.washington.edu> <19990826104442.A1418@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 26 Aug 1999 08:53:57 -0700
In-Reply-To: Francois-Rene Rideau's message of "Thu, 26 Aug 1999 10:44:42 +0200"
Message-ID: <qrrbtbu7d2i.fsf@elwha.cs.washington.edu>
Lines: 91
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> On Wed, Aug 25, 1999 at 04:38:35PM -0700, Greg Badros wrote:
> >>    I'm trying Linux Native Oberon <http://www.oberon.ethz.ch/>, and
> >> it opens a full-screen X window, for which WM decoration are harmful.
> >> Only I can find the right window-style invocation to make it behave better
> >> (if any). How am I meant to find out? xwininfo and xlsclients won't help.
> > xprop.  Or use the nifty stylist menu (now bound to Mouse-3 in
> > left-button-1 (top-left button in titlebar) in gjb.scwmrc.
> the only names that xprop reports are:
> WM_ICON_NAME(STRING) = "LNO"
> WM_NAME(STRING) = "Linux Native Oberon"
> but the below won't work:
> (define fullscreen-no-border
>   (make-style #:plain-border #t #:border-width 0 #:focus 'mouse))
> (define fullscreen-no-decor
>   (make-style #:use-style fullscreen-no-border #:no-titlebar #t))
> (define (foo x) (window-style x #:use-style fullscreen-no-decor))
> (for-each foo '("*oberon*" "LNO" "Oberon" "Linux Native Oberon"))

The better line to look at from the xprop output is the WM_CLASS line,
e.g.: 

WM_CLASS(STRING) = "emacs", "Emacs"

The first of these is the window "resource", the second is its "class".
By default, the CONDITION in the window-style command specifies the
resource name (*not* the title) of a window.  (See
default-style-condition-handler in style.scm.) To most reliably match
against exactly windows with class "Emacs" and resource "emacs" you'd
do:

(window-style (win-and?? (resource-match?? "emacs")
                         (class-match?? "Emacs")) 
              #:whatever style #:options here )

> Actually, it looks like 
> (foo "")
> will have the effect of removing the titlebar of LNO, but not the border.
> As a side note, I also usually (foo "gv"), and gv appears without either
> titlebar or border, except for a one line border (or titlebar?)
> at the top (?). Bizarrely, using (foo "xterm") will remove border
> but keep titlebars of existing xterms, and remove both from new ones.

The code should change existing windows that meet the criteria-- are you 
sure new XTerms have the same properties as the old ones?  E.g., if your 
old ones have a different resource name they won't change (use xprop to
check). 

> > Scwm could grab the keyboard entirely, but then it would have to
> > dispatch the keys to the appropriate windows which would be a mess and a 
> > waste (and not even possible w/o using XTest).
> Hum. What did fvwm do? Why did you change it? How do other WM do?

fvwm does it the way Scwm does if you set-ignore-dubious-modifiers to
#f.  The code I added to Scwm was inspired by Enlightenment's.  Its goal 
is to make bindings less reliant on the state of various X11 modifiers
that, IMO, shouldn't be treated as modifiers in the same way the Meta,
Alt, Shift, etc. are (e.g., NumLock).

> 
> 
> > (set-ignore-dubious-modifiers! #f)
> Undocumented feature: when I put that at the beginning of my scwm-input.scm,
> no key bindings will be recognized. However, putting it at the end will do...

This would be a bug.  Are you sure you don't have any extraneous
modifiers like ScrollLock or NumLock?  (These problems are exactly the
reason why the code does what it does).

> Oh, I tried to cut&paste the gjb.scwmrc bit by bit, and got bitten
> by its animation: it put scwm in a mode where it'd wait for some X
> event that wouldn't come, and wouldn't check the scwmrepl anymore.

Can you reproduce this and explain more exactly what went wrong.

> I had to kill -9 scwm, which leads to two suggestions:
> (1) define the whole animation in a single function, triggered globally,
>  instead of bit-by-bits. Put it in a module, and just
>  (use-scwm-modules startup-anim) (scwm-startup-animation)

Agreed... it'll happen as time permits.

> (2) make scwm more resiliant to kill -9, by storing as window properties
>  their displacement due to decoration, so that it may be properly undone.

We do some of this.  I'll see about whether we can do more.

Thanks for the feedback and suggestions!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 26 13:58:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA16738
	for scwm-discuss-outgoing; Thu, 26 Aug 1999 13:58:21 -0400
Received: from bastion.artisan.com (bastion.artisan.com [209.144.161.130])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA16735
	for <scwm-discuss@scwm.mit.edu>; Thu, 26 Aug 1999 13:58:15 -0400
Received: from ypmaster.artisan.com (ypmaster [172.16.2.1])
	by bastion.artisan.com (8.9.2/8.9.2) with ESMTP id KAA20949
	for <scwm-discuss@scwm.mit.edu>; Thu, 26 Aug 1999 10:55:30 -0700 (PDT)
Received: from betty.artisan.com (betty [172.16.10.81])
	by ypmaster.artisan.com (8.9.2/8.9.2) with ESMTP id KAA06235
	for <scwm-discuss@scwm.mit.edu>; Thu, 26 Aug 1999 10:58:10 -0700 (PDT)
Received: (from alt@localhost)
          by betty.artisan.com (8.8.8/8.8.4)
	  id KAA25260; Thu, 26 Aug 1999 10:58:10 -0700 (PDT)
X-Authentication-Warning: betty.artisan.com: alt set sender to alt@betty.artisan.com using -f
From: "Albert L. Ting" <alt@artisan.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14277.32818.694678.570380@betty.artisan.com>
Date: Thu, 26 Aug 1999 10:58:10 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: faking a mouse click
X-Mailer: VM 6.72 under Emacs 20.4.1
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Is there a way to bind a key to a mouse-1 click?

Thanks,
Albert

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 26 14:06:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA16809
	for scwm-discuss-outgoing; Thu, 26 Aug 1999 14:06:32 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA16806
	for <scwm-discuss@scwm.mit.edu>; Thu, 26 Aug 1999 14:06:24 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA09817; Thu, 26 Aug 1999 11:06:17 -0700 (PDT)
To: "Albert L. Ting" <alt@artisan.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: faking a mouse click
References: <14277.32818.694678.570380@betty.artisan.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 26 Aug 1999 11:06:17 -0700
In-Reply-To: "Albert L. Ting"'s message of "Thu, 26 Aug 1999 10:58:10 -0700 (PDT)"
Message-ID: <qrr672276xy.fsf@elwha.cs.washington.edu>
Lines: 9
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Albert L. Ting" <alt@artisan.com> writes:

> Is there a way to bind a key to a mouse-1 click?

Yes, using send-button-press (if you don't mind a synthetic event that
some applications might not recognize).  Or you can use the XTest
module.  See gjb.scwmrc for an example.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 26 15:15:30 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA17655
	for scwm-discuss-outgoing; Thu, 26 Aug 1999 15:15:30 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA17652
	for <scwm-discuss@scwm.mit.edu>; Thu, 26 Aug 1999 15:15:27 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA09971; Thu, 26 Aug 1999 12:15:22 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: Preparing for Scwm-0.99.2
From: Greg Badros <gjb@cs.washington.edu>
Date: 26 Aug 1999 12:15:21 -0700
Message-ID: <qrr4shm73qu.fsf@elwha.cs.washington.edu>
Lines: 22
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I'm in the process of cleaning up CVS scwm so that we can make a
scwm-0.99.2 release in the coming days (I'll likely have a pre-release
for install testing early as tomorrow).  

Please write now about build problems or other issues that must really
be taken care of before that release.  


I'm planning on having .tar.gz files and .i386.rpm files so that using
Scwm on RH6.0 is as easy as:

rpm -ivh scwm-0.99.2.i386.rpm scwm-icons-0.99.2.i386.rpm \
         GTL-0.3.1-1.i386.rpm cassowary-0.51-1.i386.rpm \
         guile-gtk-*.i386.rpm

It's pretty tricky to test clean installs on a development machine since 
there are millions of related files in all sorts of different places, so 
I very much appreciate your help in ironing out the build and install
bugs.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 26 18:31:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA18361
	for scwm-discuss-outgoing; Thu, 26 Aug 1999 18:31:00 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from animal.blarg.net (root@animal.blarg.net [206.124.128.1])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA18358
	for <scwm-discuss@scwm.mit.edu>; Thu, 26 Aug 1999 18:30:55 -0400
Received: from snowball (vp005.atm01.sea.blarg.net [206.124.138.5])
	by animal.blarg.net (8.9.1/8.9.1) with ESMTP id PAA16546
	for <scwm-discuss@scwm.mit.edu>; Thu, 26 Aug 1999 15:30:47 -0700
Received: by blarg.net
	via sendmail from stdin
	id <m11K82D-001OMbC@snowball> (Debian Smail3.2.0.102)
	for scwm-discuss@scwm.mit.edu; Thu, 26 Aug 1999 15:30:17 -0700 (PDT) 
To: scwm-discuss@scwm.mit.edu
Subject: How can I make scwm give a particular window the focus whenever it's created?
From: Eric Hanchrow <offby1@blarg.net>
Date: 26 Aug 1999 15:30:17 -0700
Message-ID: <87u2pmkwee.fsf@blarg.net>
Lines: 24
X-Mailer: Gnus v5.6.45/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I'm using scwm "post0.99.1" (which I built from the anon cvs sources,
which I updated yesterday).

Here's my problem: I use Netscape 4.6, and often would like to search
for a word through the text that it's displaying.  So I type Alt+F,
and Netscape pops up its search window.  However, that search window
usually doesn't get the input focus (unless it happens to pop up right
under the mouse pointer), and so (horrors!) I have to *move the mouse
to the window* and *click on it*!  Being a very lazy fellow, I'd like
to avoid having to move the mouse and click.  But I'm happy with the
current input-focus policy with other windows, so I don't want to make
a global change, such as telling scwm to always give new windows the
input focus.  (Or maybe I do ... how would I do that?)

Instead, I was hoping I could find a scwm variable whose name would be
something like "after-creating-window-hook", and I could add a
procedure to the hook which would examine the name of the
newly-created window, and if the name was "Netscape: find", then it
would give that window the focus.

But there appears to be no such hook.  So: is there a straightforward
way to do what I want?

Thanks

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 26 18:51:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA18468
	for scwm-discuss-outgoing; Thu, 26 Aug 1999 18:51:08 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sanjuan.cs.washington.edu (sanjuan.cs.washington.edu [128.95.8.118])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA18463
	for <scwm-discuss@scwm.mit.edu>; Thu, 26 Aug 1999 18:51:03 -0400
Received: from localhost (jwnichls@localhost) by sanjuan.cs.washington.edu (8.8.5+CS/7.2ws+) with SMTP id PAA28435; Thu, 26 Aug 1999 15:50:59 -0700 (PDT)
Date: Thu, 26 Aug 1999 15:50:59 -0700 (PDT)
From: Jeffrey Nichols <jwnichls@cs.washington.edu>
To: Eric Hanchrow <offby1@blarg.net>
cc: scwm-discuss@scwm.mit.edu
Subject: Re: How can I make scwm give a particular window the focus
 whenever it's created?
In-Reply-To: <87u2pmkwee.fsf@blarg.net>
Message-ID: <Pine.OSF.4.02A.9908261536220.28277-100000@sanjuan.cs.washington.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> Instead, I was hoping I could find a scwm variable whose name would be
> something like "after-creating-window-hook", and I could add a
> procedure to the hook which would examine the name of the
> newly-created window, and if the name was "Netscape: find", then it
> would give that window the focus.
>
> But there appears to be no such hook.  So: is there a straightforward
> way to do what I want?

	I'm not sure where you are looking for this hook.  If you look in
doc/scwm-hooks.txt you'll find documentation on an
'after-new-window-hook'.  I have something in .scwmrc which looks roughly
like the following:

(add-hook! after-new-window-hook 
	(lambda (win) 
		(let ((pos (window-viewport-position win)))
		   (move-pointer-to (+ (car pos) 10) (+ (cadr pos) 10)))))

The jist of what I'm trying to do is move the pointer within the new
window (offset by 10 from the top and left edges).  Since I use sloppy
focus, this does the job.

YOu can do all sorts of fun stuff with these hooks...  I once used the
focus hooks to write a routine that shows the titlebar when a window gets
the focus and hides it when a window loses the focus.  The point is,
there're a lot of possibities and I'm sure you can figure out some way to
do what you want.

		-Jeff

---
Jeff W. Nichols   "There are over forty million lines of code in Windows,
UW CSE                     and I love every one of them."
jwnichls@cs                         - Jean-Louis Gassee CEO, Be Inc.


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 26 19:25:30 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA18655
	for scwm-discuss-outgoing; Thu, 26 Aug 1999 19:25:30 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from camus.cybercable.fr (camus.cybercable.fr [212.198.0.200])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id TAA18651
	for <scwm-discuss@scwm.mit.edu>; Thu, 26 Aug 1999 19:25:25 -0400
Received: (qmail 854099 invoked from network); 26 Aug 1999 23:25:20 -0000
Received: from d026.paris-121.cybercable.fr (HELO ZhengHe) (@[212.198.121.26]) (envelope-sender <fare@tunes.org>)
          by camus.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <scwm-discuss@scwm.mit.edu>; 26 Aug 1999 23:25:20 -0000
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11K8uS-00024H-00; Fri, 27 Aug 1999 01:26:20 +0200
Date: Fri, 27 Aug 1999 01:26:20 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: how to determine style to set?
Message-ID: <19990827012620.A7942@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19990826012116.A27752@ZhengHe.augustin.thierry> <qrrvha377no.fsf@elwha.cs.washington.edu> <19990826104442.A1418@ZhengHe.augustin.thierry> <qrrbtbu7d2i.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary=gKMricLos+KVdGMg
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrrbtbu7d2i.fsf@elwha.cs.washington.edu>; from Greg Badros on Thu, Aug 26, 1999 at 08:53:57AM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


--gKMricLos+KVdGMg
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

On Thu, Aug 26, 1999 at 08:53:57AM -0700, Greg Badros wrote:
> The better line to look at from the xprop output is the WM_CLASS line,
> WM_CLASS(STRING) = "emacs", "Emacs"
Unhappily, the Linux Native Oberon window has no such property!
What's the right way to test such lack of property?
And to get confirmation from the window title or icon name?
Currently, I manage to match it,
but I cannot get it to abandon its titlebar!
(window-style (icon-title-match?? "LNO" 'exact)
	      #:border-width 0 #:no-titlebar #t)

Oh, and at scwm (re)start time, I get lots of errors such as:

Backtrace:
0* [#<procedure (win)> #<window 8388622: "fare @ ZhengHe pts/1 /usr/local/share/scwm">]
1* [apply-hint-style (#(#<procedure always? #> # #) #(#<procedure #> # ()) #(#<procedure #> # ()) ...) #<window 8388622: "fare @ ZhengHe pts/1 /usr/local/share/scwm">]
2  [apply-style-internal (#(#<procedure always? #> # #) #(#<procedure #> # ()) #(#<procedure #> # ()) ...) #<window 8388622: "fare @ ZhengHe pts/1 /usr/local/share/scwm"> ...]
3  [for-each #<procedure (se)> (#(#<procedure always? #> # #) #(#<procedure #> # ()) #(#<procedure #> # ()) ...)]
4* [#<procedure (se)> #(#<procedure (win)> (#) (#))]
5* (if ((style-entry:condition se) win) (for-each (lambda # #) (stype se)))
6* [#<procedure (win)> #<window 8388622: "fare @ ZhengHe pts/1 /usr/local/share/scwm">]
7  [string-ci=? #f "LNO"]

ERROR: In procedure string-ci=? in expression (compare? (window-icon-title win) string):
ERROR: Wrong type argument in position 1: #f

[Happily, we're not programming in C, so that type errors like this
are handled in a graceful way].

I recommend you use LNO yourself <http://www.oberon.ethz.ch/>, as a test for
badly behaving application (and also a very interesting integrated system).


> The code should change existing windows that meet the criteria-- are you 
> sure new XTerms have the same properties as the old ones?  E.g., if your 
> old ones have a different resource name they won't change (use xprop to
> check).
I dunno. I can't retrieve the old behavior (I upgraded scwm from CVS).
At a moment I remember I could remove the titlebar from LNO, but not
the borders, and now it's the opposite. I find it all so horrible!
Oh, my! I do hate X! But I don't have TUNES yet...

Ok, so after finding out that (window-resource (get-window)) on the LNO
window reports "NoResource", I added
(window-style "NoResource" #:use-style fullscreen-no-decor)
and then it DID work correctly after restarting,
whereas it didn't when trying in scwmrepl, maybe shadowed
by the previous entry -- how can I _remove_ a window-style entry?
And I don't understand why this works better when testing "NoResource"
than when testing with (icon-title-math?? "LNO")!

So after many and many restarts (I've launched a second test-drive X
session to make the startup time bearable), it suddenly works!
I hate blind hacking. Maybe it's time for me to learn more in detail...

>>> (set-ignore-dubious-modifiers! #f)
>> Undocumented feature: when I put that at the beginning of my scwm-input.scm,
>> no key bindings will be recognized. However, putting it at the end will do...
> This would be a bug.  Are you sure you don't have any extraneous
> modifiers like ScrollLock or NumLock?  (These problems are exactly the
> reason why the code does what it does).
Actually, after retrying, even at the end of scwm-input, it won't work;
but it done at a scwmrepl afterwards, it WILL work
(scwm-input is last file loaded by scwmrc, no command afterwards).

I'm quite sure none is activated. My Xmodmap contains:

add shift = Shift_L Shift_R
add lock = Caps_Lock
add control = Control_L Control_R
add mod1 = Meta_L Meta_R
add mod2 = Alt_L Alt_R
add mod3 = Mode_switch
add mod4 = Scroll_Lock
add mod5 = Multi_key

At SCWM startup, I now get:

[Scwm][init_modifiers]: <<WARNING>> Inefficiency due to numlock_mask not being found

>> Oh, I tried to cut&paste the gjb.scwmrc bit by bit, and got bitten
>> by its animation: it put scwm in a mode where it'd wait for some X
>> event that wouldn't come, and wouldn't check the scwmrepl anymore.
> 
> Can you reproduce this and explain more exactly what went wrong.

Well, after I start the animation (sometime before you start
reading scwm modules), scwm will hang, and I can issue no more command.
I made a first attempt at encapsulating the animation within a module,
by reaping code off gjb.scwmrc (see attachment), but I obviously got
something wrong, since it displays only the first image, too,
whereas the gjb.scwmrc at least gets the animation right.
I'll let someone who knows better fix it.
(It'll still need cleanup afterwards).


Scwm Version post0.99.1 compiled on Aug 26 1999 at 02:18:21
RCS_ID=$Id: scwm.c,v 1.203 1999/08/25 22:25:51 gjb Exp $
Repository Timestamp: Wed Aug 25 19:54:30 EDT 1999 -- $Revision: 1.2075 $

Guile 1.3
Couldn't scwm --version, or maybe --full-version,
also print the guile version, libc version, etc?

PS: during the many attempts at debugging my setup,
the xterm on which ran the mutt process with which I was writing mail
suddenly disappeared from both the screen and the window list;
I had to kill it and launch it again!

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
The [classical] liberal, of course, does not deny that there are
some superior people - he is not an egalitarian - but he denies
that anyone has authority to decide who these superior people are.
		-- F. A. Hayek, "Why I Am Not a Conservative"

--gKMricLos+KVdGMg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="startup-anim.scm"

(define-module (app scwm startup-anim)
   :use-module (app scwm base)
   :use-module (app scwm message-window)
   )

(define scwm-logo #f)
(define logo-image-sequence #f)
(define scwm-logo-msgwin #f)
(define next-logo-image #f)
(define next-logo-image-timer #f)
(define next-logo-image-n #f)

(define-public (begin-startup-anim)

  (set! scwm-logo (make-image "scwm-logo-0.xpm"))
  (set! scwm-logo-msgwin
    (make-message-window-with-image scwm-logo #t))
  (set! logo-image-sequence
	(list->vector
	 (map (lambda (deg) (make-image
			     (string-append "scwm-logo-"
					    (number->string deg) ".xpm")))
	      (iota 24))))

  (set-X-server-synchronize! #t)
  (message-window-show! scwm-logo-msgwin)
  (set-X-server-synchronize! #f)

  (set! next-logo-image
    (let ((i 0))
      (lambda ()
	(set! i (modulo (+ i 1) (vector-length logo-image-sequence)))
	(message-window-set-image! scwm-logo-msgwin
				   (vector-ref logo-image-sequence i)
				   #f #f #t))))

  ;; (message-window-set-image! scwm-logo-msgwin (vector-ref logo-image-sequence 13) #f #f #t)
  ;; (message-window-show! scwm-logo-msgwin)

  (set! next-logo-image-timer
	(lambda ()
	  (next-logo-image)
	  (add-timer-hook! 500000 next-logo-image-timer)))

  ;; (add-timer-hook! 500000 next-logo-image-timer)

  (set! next-logo-image-n (lambda (n) (next-logo-image)))

  ;; Use below lines for help when debugging a GC issue during startup
  ;; (set-load-processing-frequency! 1)
  ;; (add-hook! load-processing-hook (lambda (n) (display n) (newline) (gc)))

  (add-hook! load-processing-hook next-logo-image-n)

  ;;(define (move-scwm-logo-msgwin n)
  ;;  (message-window-set-position!
  ;;   scwm-logo-msgwin 
  ;;   (+ (/ display-width 2) n) #f))
)


(define-public (end-startup-anim)
  ;(define scwm-messages-window (find-window-by-name "SCWM Messages...."))

  ;(if scwm-messages-window
  ;        (iconify scwm-messages-window))

  (message-window-hide! scwm-logo-msgwin)
  (set! next-logo-image (lambda () #f))
  (set! logo-image-sequence #f)

  (remove-hook! load-processing-hook next-logo-image-n)
  ;;(remove-hook! load-processing-hook move-scwm-logo-msgwin)
)

(define-public (startup-anim thunk)
  (begin-startup-anim)
  (thunk)
  (end-startup-anim))

(define (silly-loop n)
  (do ((i 0 (+ i 1)))
      ((> i n) (newline))
    (for-each display (list #\15 i))))

(define (make-silly-loop n)
  (lambda () (silly-loop n)))

(define iter 50000)

(define-public (test-startup-anim)
  (startup-anim (make-silly-loop iter)))

; (load "/home/fare/startup-anim.scm") (use-modules (app scwm startup-anim))
; (test-startup-anim)

--gKMricLos+KVdGMg--

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 26 20:15:48 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA00445
	for scwm-discuss-outgoing; Thu, 26 Aug 1999 20:15:48 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA00442
	for <scwm-discuss@scwm.mit.edu>; Thu, 26 Aug 1999 20:15:39 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA10366; Thu, 26 Aug 1999 17:15:33 -0700 (PDT)
To: Jeffrey Nichols <jwnichls@cs.washington.edu>
Cc: Eric Hanchrow <offby1@blarg.net>, scwm-discuss@scwm.mit.edu
Subject: Re: How can I make scwm give a particular window the focus  whenever it's created?
References: <Pine.OSF.4.02A.9908261536220.28277-100000@sanjuan.cs.washington.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 26 Aug 1999 17:15:32 -0700
In-Reply-To: Jeffrey Nichols's message of "Thu, 26 Aug 1999 15:50:59 -0700 (PDT)"
Message-ID: <qrrzoze5ba3.fsf@elwha.cs.washington.edu>
Lines: 41
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jeff's right on.  You can also look at the online reference manual at:

http://www.cs.washington.edu/homes/gjb/scwm-doc/

And you can also use the #:placement-proc and the
#:transient-placement-proc window styles to do some related nifty stuff:

I always hated that the netscape find window obscured content of my
browser, so I do:

(define (move-next-to-netscape-win w)
  (let* ((ns-pos (window-viewport-position (netscape-win)))
	 (x (+ (car ns-pos) 300))
	 (y (- (cadr ns-pos) 30)))
    (move-to x y w)
    (move-pointer-to (+ x 30) (+ y 55))))

(window-style "Netscape: Find" 
    #:transient-placement-proc move-next-to-netscape-win)

On a related but unrelated :-) note, I like audible notification when
long netscape downloads finish, so I do:

(define (netscape-download-closed-action win)
  (let ((time-up (- (current-time) (window-creation-time win))))
    (if (> time-up 5)
	(wavplay download-closed-wav))))

(define (call-netscape-download-closed-action win)
  (if (and (string=? (window-class win) "Netscape")
	   (string=? (window-resource win) "Download"))
      (netscape-download-closed-action win)))

(add-hook! window-close-hook call-netscape-download-closed-action)

This plays a .wav file whenever a netscape download window closes if its 
been up for more than five seconds.

All of these examples are in gjb.scwmrc.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Aug 26 20:15:25 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA00432
	for scwm-discuss-outgoing; Thu, 26 Aug 1999 20:15:25 -0400
Received: from bastion.artisan.com (bastion.artisan.com [209.144.161.130])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA00429
	for <scwm-discuss@scwm.mit.edu>; Thu, 26 Aug 1999 20:15:21 -0400
Received: from ypmaster.artisan.com (ypmaster [172.16.2.1])
	by bastion.artisan.com (8.9.2/8.9.2) with ESMTP id RAA24065
	for <scwm-discuss@scwm.mit.edu>; Thu, 26 Aug 1999 17:06:45 -0700 (PDT)
Received: from betty.artisan.com (betty [172.16.10.81])
	by ypmaster.artisan.com (8.9.2/8.9.2) with ESMTP id RAA26250
	for <scwm-discuss@scwm.mit.edu>; Thu, 26 Aug 1999 17:09:40 -0700 (PDT)
Received: (from alt@localhost)
          by betty.artisan.com (8.8.8/8.8.4)
	  id RAA25429; Thu, 26 Aug 1999 17:09:40 -0700 (PDT)
X-Authentication-Warning: betty.artisan.com: alt set sender to alt@betty.artisan.com using -f
From: "Albert L. Ting" <alt@artisan.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14277.55107.976749.917217@betty.artisan.com>
Date: Thu, 26 Aug 1999 17:09:39 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: Re: faking a mouse click
References: <14277.32818.694678.570380@betty.artisan.com>
	<qrr672276xy.fsf@elwha.cs.washington.edu>
X-Mailer: VM 6.72 under Emacs 20.4.1
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros writes:
> From: Greg Badros <gjb@cs.washington.edu>
> To: "Albert L. Ting" <alt@artisan.com>
> Cc: scwm-discuss@scwm.mit.edu
> Subject: Re: faking a mouse click
> Date: 26 Aug 1999 11:06:17 -0700
> 
> "Albert L. Ting" <alt@artisan.com> writes:
> 
> > Is there a way to bind a key to a mouse-1 click?
> 
> Yes, using send-button-press (if you don't mind a synthetic event that
> some applications might not recognize).  Or you can use the XTest
> module.  See gjb.scwmrc for an example.
> 
> Greg

Thanks!  That did the trick.




From owner-scwm-discuss@SCWM.MIT.EDU  Fri Aug 27 05:26:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA04285
	for scwm-discuss-outgoing; Fri, 27 Aug 1999 05:26:12 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA04282
	for <scwm-discuss@scwm.mit.edu>; Fri, 27 Aug 1999 05:26:07 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id CAA11121; Fri, 27 Aug 1999 02:26:07 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Cc: guile@sourceware.cygnus.com
Subject: Scwm-0.99.2 pre-release available!
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Aug 1999 02:26:06 -0700
Message-ID: <qrrso5560cx.fsf@elwha.cs.washington.edu>
Lines: 40
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

After a long two days updating Scwm for guile-1.3.2 and learning a lot
about RPM and packaging of code, I've finally got Scwm-0.99.2 about
ready for release.

A pre-release trial version of Scwm is available only via ftp from:

ftp://upintheair.cs.washington.edu/pub/scwm

See the README file there for details about the directory structure.
Much of my time in the last two days has been spent trying to make
installing Scwm via RPMs on RH6 x86 GNU/Linux a breeze-- the RPMS
directory of the above ftp archive contains all that you need to make
installing Scwm with all the bells and whistles on a Redhat6-based x86
system as easy as grabbing all those files and then:

rpm -Uvh --nodeps {guile,guile-devel}-*.i386.rpm
rpm -ivh {guile-gtk,GTL,cassowary,scwm-icons,scwm}-*.i386.rpm

The RPMS I've built include guile-1.3.2, guile-gtk, and lots more.  It
will install a version of Scwm complete with the very-spiffy and
finally-usable constraint solver (complete with user interface --- try
it by choosing "Turn on Constraint Solver" from the main menu).

Please let me know about build and install difficulties.  I expect to
make the real 0.99.2 release early next week after getting some feedback 
on this pre-release.

Please note that the default system.scwmrc is now (basically) the old
gjb.scwmrc.  I highly recommend that you at least play with Scwm a bit
using that configuration instead of your configuration as you might
otherwise miss out on some nifty features of Scwm that I'm a bit too
tired to explain right now.  (See the NEWS file in the distribution for
details). 

Enjoy!

Greg J. Badros
gjb@cs.washington.edu
Seattle, WA  USA
http://www.cs.washington.edu/homes/gjb

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Aug 27 08:35:17 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id IAA04506
	for scwm-discuss-outgoing; Fri, 27 Aug 1999 08:35:17 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from kodis.jagunet.com (root@kodis.jaguNET.com [206.156.208.48])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id IAA04502
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 27 Aug 1999 08:35:02 -0400
Received: (from kodis@localhost)
	by kodis.jagunet.com (8.9.3/8.9.3) id IAA27618
	for scwm-discuss@SCWM.MIT.EDU; Fri, 27 Aug 1999 08:18:22 -0400
Date: Fri, 27 Aug 1999 08:18:21 -0400
From: John Kodis <kodis@jagunet.com>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: How can I make scwm give a particular window the focus whenever it's created?
Message-ID: <19990827081821.A27611@kodis.jagunet.com>
Mail-Followup-To: scwm-discuss@SCWM.MIT.EDU
References: <87u2pmkwee.fsf@blarg.net> <Pine.OSF.4.02A.9908261536220.28277-100000@sanjuan.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <Pine.OSF.4.02A.9908261536220.28277-100000@sanjuan.cs.washington.edu>; from Jeffrey Nichols on Thu, Aug 26, 1999 at 03:50:59PM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Thu, Aug 26, 1999 at 03:50:59PM -0700, Jeffrey Nichols wrote:

> I once used the focus hooks to write a routine that shows the
> titlebar when a window gets the focus and hides it when a window
> loses the focus.

I had considered doing something similar, but I worried that I
wouldn't be able to reliably tell which window lost focus.  The
window-focus-change-hook hook doesn't pass the window that lost focus,
only the window that got focused.  Can you reliably determine which
window just lost focus by assuming that it will always be the window
that previously gained focus and tracking that, or is there another
technique that you used?

-- John Kodis.

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Aug 27 11:26:20 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA04706
	for scwm-discuss-outgoing; Fri, 27 Aug 1999 11:26:20 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sanjuan.cs.washington.edu (sanjuan.cs.washington.edu [128.95.8.118])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA04703
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 27 Aug 1999 11:26:16 -0400
Received: from localhost (jwnichls@localhost) by sanjuan.cs.washington.edu (8.8.5+CS/7.2ws+) with SMTP id IAA31889; Fri, 27 Aug 1999 08:26:14 -0700 (PDT)
Date: Fri, 27 Aug 1999 08:26:13 -0700 (PDT)
From: Jeffrey Nichols <jwnichls@cs.washington.edu>
To: John Kodis <kodis@jagunet.com>
cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: How can I make scwm give a particular window the focus
 whenever it's created?
In-Reply-To: <19990827081821.A27611@kodis.jagunet.com>
Message-ID: <Pine.OSF.4.02A.9908270815490.31821-100000@sanjuan.cs.washington.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> > I once used the focus hooks to write a routine that shows the
> > titlebar when a window gets the focus and hides it when a window
> > loses the focus.
> 
> I had considered doing something similar, but I worried that I
> wouldn't be able to reliably tell which window lost focus.  The
> window-focus-change-hook hook doesn't pass the window that lost focus,
> only the window that got focused.  Can you reliably determine which
> window just lost focus by assuming that it will always be the window
> that previously gained focus and tracking that, or is there another
> technique that you used?

I did just what you said...  I saved a reference to the window that most
recently obtained the focus and then hid the titlebar of that window when
a different window gained the focus.  I think that this is reliable...At
least it seemed to work when I used it.

You do need to be sure to put in a lot of error checks.  e.g. you need to
check that the window reference that you saved is still valid (it may not
be if the window was closed) and there are other issues.  One annoyance
that I had with the feature was that the window moves up and down when you
hide and show the titlebar.  I think that it'd be nicer if the titlebar
slid up and down from the window (not altering the position of the window
body.  This may be possible from Scheme using the animation features, but
I wasn't interested enough in the titlebar feature to continue developing
it (it all started as a demonstration to my friend of the power of having
a real programming language behind everything).

I'll post the code if you're interested...

		-Jeff

---
Jeff W. Nichols   "There are over forty million lines of code in Windows,
UW CSE                     and I love every one of them."
jwnichls@cs                         - Jean-Louis Gassee CEO, Be Inc.


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Aug 27 12:02:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA04839
	for scwm-discuss-outgoing; Fri, 27 Aug 1999 12:02:42 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from p-biset.issy.cnet.fr (p-biset.issy.cnet.fr [139.100.0.33])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id MAA04836
	for <scwm-discuss@scwm.mit.edu>; Fri, 27 Aug 1999 12:02:37 -0400
Received: from p-grive.issy.cnet.fr ([139.100.0.85]) by p-biset.issy.cnet.fr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0)
	id RFJ2FGY7; Fri, 27 Aug 1999 18:03:34 +0200
Received: from ZhengHe (zhenghe.issy.cnet.fr [139.100.25.71]) by p-grive.issy.cnet.fr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0)
	id RFKKWFVD; Fri, 27 Aug 1999 18:03:34 +0200
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11KOTH-0003xm-00; Fri, 27 Aug 1999 18:03:19 +0200
Date: Fri, 27 Aug 1999 18:03:18 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Lots of Fullscreen Windows
Message-ID: <19990827180318.A15201@ZhengHe.issy.cnet.fr>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <Pine.OSF.4.02A.9908261536220.28277-100000@sanjuan.cs.washington.edu> <qrrzoze5ba3.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrrzoze5ba3.fsf@elwha.cs.washington.edu>; from Greg Badros on Thu, Aug 26, 1999 at 05:15:32PM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dear SCWMers,
   my usual setup is having a one big desktop, now of size 9*4
(which is why I got quickly bitten by the previous 36 window limit),
with as little overlapping of meaningful windowing area as possible.
For instance, I typically have 6 to 10 full-height xemacs windows,
one per screen, on a rectangle, some ten fullscreen netscape windows,
and since it crashes too often, 9 lynxes within full-height 10x20 xterms,
plus a few screens made each of 4 non-overlapping 80x25+ xterms.

   Now, the question is: how can I program scwm so that it will open
new windows (or even groups of windows) in a new area?
So that every netscape will open in its own (full)screen,
so will every group of 4 xterms, every xemacs window, etc?

   Ideally, when scwm would detect that something is a "separate" entity,
it would try to provide an exclusive (non-overlapping) pixel-estate area,
and allocate a new screen if currently occupied screens are not enough.
Also, overlapping is allowed in for secondary areas such as window decoration,
for limited areas such as a few pixels wide, or for secondary window such
as backgroundable clock&pager, depending on the application
(not overlapping with the pager is essential for an xterm,
and not so for netscape).

Or is it something to be trivial with cassowary?

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
... Any resemblance between the above views and those of my employer,
my terminal, or the view out my window are purely coincidental.  Any
resemblance between the above and my own views is non-deterministic.  The
question of the existence of views in the absence of anyone to hold them
is left as an exercise for the reader.  The question of the existence of
the reader is left as an exercise for the second god coefficient.  (A
discussion of non-orthogonal, non-integral polytheism is beyond the scope
of this article.)

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Aug 27 12:19:04 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA04972
	for scwm-discuss-outgoing; Fri, 27 Aug 1999 12:19:04 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA04969
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 27 Aug 1999 12:18:59 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA11577; Fri, 27 Aug 1999 09:18:57 -0700 (PDT)
To: Jeffrey Nichols <jwnichls@cs.washington.edu>
Cc: John Kodis <kodis@jagunet.com>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: How can I make scwm give a particular window the focus  whenever it's created?
References: <Pine.OSF.4.02A.9908270815490.31821-100000@sanjuan.cs.washington.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Aug 1999 09:18:56 -0700
In-Reply-To: Jeffrey Nichols's message of "Fri, 27 Aug 1999 08:26:13 -0700 (PDT)"
Message-ID: <qrrpv095h8v.fsf@elwha.cs.washington.edu>
Lines: 43
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jeffrey Nichols <jwnichls@cs.washington.edu> writes:

> > > I once used the focus hooks to write a routine that shows the
> > > titlebar when a window gets the focus and hides it when a window
> > > loses the focus.
> > 
> > I had considered doing something similar, but I worried that I
> > wouldn't be able to reliably tell which window lost focus.  The
> > window-focus-change-hook hook doesn't pass the window that lost focus,
> > only the window that got focused.  Can you reliably determine which
> > window just lost focus by assuming that it will always be the window
> > that previously gained focus and tracking that, or is there another
> > technique that you used?
> 
> I did just what you said...  I saved a reference to the window that most
> recently obtained the focus and then hid the titlebar of that window when
> a different window gained the focus.  I think that this is reliable...At
> least it seemed to work when I used it.
> 
> You do need to be sure to put in a lot of error checks.  e.g. you need to
> check that the window reference that you saved is still valid (it may not
> be if the window was closed) and there are other issues.  One annoyance
> that I had with the feature was that the window moves up and down when you
> hide and show the titlebar.  I think that it'd be nicer if the titlebar
> slid up and down from the window (not altering the position of the window
> body.  This may be possible from Scheme using the animation features, but
> I wasn't interested enough in the titlebar feature to continue developing
> it (it all started as a demonstration to my friend of the power of having
> a real programming language behind everything).

Cool!

Incidentally, there is a way to hide/show titlebars w/o moving the
client window -- see `hide-titlebar-in-place' to do this-- not perfect,
but better than the client window moving.  If my comment in the source
is correct, it's currently broken for window that do not have
North{East,West} gravity.

We should perhaps have a lost-focus hook.  Seems like you want the old
window to lose its titlebar when it loses focus, not when the next
window gets the focus.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Aug 27 12:44:38 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA05118
	for scwm-discuss-outgoing; Fri, 27 Aug 1999 12:44:38 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sanjuan.cs.washington.edu (sanjuan.cs.washington.edu [128.95.8.118])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA05115
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 27 Aug 1999 12:44:32 -0400
Received: from localhost (jwnichls@localhost) by sanjuan.cs.washington.edu (8.8.5+CS/7.2ws+) with SMTP id JAA32264; Fri, 27 Aug 1999 09:44:31 -0700 (PDT)
Date: Fri, 27 Aug 1999 09:44:30 -0700 (PDT)
From: Jeffrey Nichols <jwnichls@cs.washington.edu>
To: Greg Badros <gjb@cs.washington.edu>
cc: John Kodis <kodis@jagunet.com>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: How can I make scwm give a particular window the focus 
 whenever it's created?
In-Reply-To: <qrrpv095h8v.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.OSF.4.02A.9908270931330.31821-100000@sanjuan.cs.washington.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> Incidentally, there is a way to hide/show titlebars w/o moving the
> client window -- see `hide-titlebar-in-place' to do this-- not perfect,
> but better than the client window moving.  If my comment in the source
> is correct, it's currently broken for window that do not have
> North{East,West} gravity.

	I suspect that's a feature added to scwm since I initially wrote
the code.  I'll have to check it out.  Does it animate or is that
something still left to do?  (my quick perusal of the docs just now
indicates that it's not...that'd make things much cooler)

> We should perhaps have a lost-focus hook.  Seems like you want the old
> window to lose its titlebar when it loses focus, not when the next
> window gets the focus.

	If I recall correctly, I thought that the focus hooks were called
when the root window got the focus (with focus-follows-mouse).  It's been
awhile since I played with this stuff though (at least a coupla months) so
I might be mistaken.  Certainly a lost-focus hook would be better than
storing a reference which is likely duplicated elsewhere for the same
purpose (and also clutters up the global namespace).

		-Jeff

---
Jeff W. Nichols   "There are over forty million lines of code in Windows,
UW CSE                     and I love every one of them."
jwnichls@cs                         - Jean-Louis Gassee CEO, Be Inc.


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Aug 27 12:52:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA05232
	for scwm-discuss-outgoing; Fri, 27 Aug 1999 12:52:23 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from lukla.Sun.COM (lukla.Sun.COM [192.18.98.31])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA05229
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 27 Aug 1999 12:52:20 -0400
Received: from centralmail1.Central.Sun.COM ([129.147.62.10])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id KAA13532;
	Fri, 27 Aug 1999 10:52:09 -0600 (MDT)
Received: from muzzy.Central.Sun.COM (muzzy.Central.Sun.COM [129.152.74.150])
	by centralmail1.Central.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id KAA03231;
	Fri, 27 Aug 1999 10:52:07 -0600 (MDT)
Received: (from samf@localhost)
	by muzzy.Central.Sun.COM (8.9.3+Sun/8.9.3) id KAA101497;
	Fri, 27 Aug 1999 10:52:07 -0600 (MDT)
To: Greg Badros <gjb@cs.washington.edu>
Cc: Jeffrey Nichols <jwnichls@cs.washington.edu>,
        John Kodis <kodis@jagunet.com>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: How can I make scwm give a particular window the focus  whenever it's created?
References: <Pine.OSF.4.02A.9908270815490.31821-100000@sanjuan.cs.washington.edu> <qrrpv095h8v.fsf@elwha.cs.washington.edu>
From: Sam Falkner <samf@central.sun.com>
Date: 27 Aug 1999 10:52:07 -0600
In-Reply-To: Greg Badros's message of "27 Aug 1999 09:18:56 -0700"
Message-ID: <ii7906xupxk.fsf@central.sun.com>
Lines: 14
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> We should perhaps have a lost-focus hook.  Seems like you want the
> old window to lose its titlebar when it loses focus, not when the
> next window gets the focus.

I would second a nomination for this.

I too have implemented the `window who used to have focus, if any'
thing, and while it works okay, it'd be cleaner to have a lost-focus
hook.  Maybe it would even be clean enough for me to publicize what I
did -- right now it's a little too embarrassing.

- Sam

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Aug 27 15:33:20 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA05635
	for scwm-discuss-outgoing; Fri, 27 Aug 1999 15:33:20 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA05632
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 27 Aug 1999 15:33:17 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA11839; Fri, 27 Aug 1999 12:33:15 -0700 (PDT)
To: Jeffrey Nichols <jwnichls@cs.washington.edu>
Cc: John Kodis <kodis@jagunet.com>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: How can I make scwm give a particular window the focus   whenever it's created?
References: <Pine.OSF.4.02A.9908270931330.31821-100000@sanjuan.cs.washington.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Aug 1999 12:33:15 -0700
In-Reply-To: Jeffrey Nichols's message of "Fri, 27 Aug 1999 09:44:30 -0700 (PDT)"
Message-ID: <qrrogft5890.fsf@elwha.cs.washington.edu>
Lines: 32
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jeffrey Nichols <jwnichls@cs.washington.edu> writes:

> > Incidentally, there is a way to hide/show titlebars w/o moving the
> > client window -- see `hide-titlebar-in-place' to do this-- not perfect,
> > but better than the client window moving.  If my comment in the source
> > is correct, it's currently broken for window that do not have
> > North{East,West} gravity.
> 
> 	I suspect that's a feature added to scwm since I initially wrote
> the code.  I'll have to check it out.  Does it animate or is that
> something still left to do?  (my quick perusal of the docs just now
> indicates that it's not...that'd make things much cooler)

I imagine it is something I wrote after you were looking for it.  No
animation right now (and a bit of an annoying flicker, too-- not sure
what the right fix for that is... I've not looked at it in a bit).

> > We should perhaps have a lost-focus hook.  Seems like you want the old
> > window to lose its titlebar when it loses focus, not when the next
> > window gets the focus.
> 
> 	If I recall correctly, I thought that the focus hooks were called
> when the root window got the focus (with focus-follows-mouse).  It's been
> awhile since I played with this stuff though (at least a coupla months) so
> I might be mistaken.  Certainly a lost-focus hook would be better than
> storing a reference which is likely duplicated elsewhere for the same
> purpose (and also clutters up the global namespace).

You may be right... but you're also right that the lost-focus hook is
cleaner. 

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Aug 29 00:18:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA09538
	for scwm-discuss-outgoing; Sun, 29 Aug 1999 00:18:50 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from math.uwaterloo.ca (root@math.uwaterloo.ca [129.97.216.42])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA09535
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 29 Aug 1999 00:18:45 -0400
Received: from thing-one.localdomain (cnts1p42.uwaterloo.ca [129.97.112.42])
	by math.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id AAA14725;
	Sun, 29 Aug 1999 00:18:42 -0400 (EDT)
From: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Received: (from jrm@localhost)
	by thing-one.localdomain (8.9.3/8.9.3) id XAA20960;
	Sat, 28 Aug 1999 23:25:20 -0400
Date: Sat, 28 Aug 1999 23:25:20 -0400
Message-Id: <199908290325.XAA20960@thing-one.localdomain>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
In-reply-to: <qrrso5560cx.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 27 Aug 1999 02:26:06 -0700)
Subject: Re: Scwm-0.99.2 pre-release available!
References:  <qrrso5560cx.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg,

In effect, I am trying `rpm --rebuild *.src.rpm', on an MkLinux
prerelease one system.  So my system is binary compatible with
LinuxPPC R5 and YellowDog, though there may be differences in which
packages are installed.

Rebuilding works for guile-gtk-26Aug99-1gjb.src.rpm,
guile-1.3.2-1gjb.src.rpm, scwm-icons-0.99.2-1.src.rpm, and
scwm-post0.99.1-1.src.rpm -- and I can simply install all but the
last, which wants Cassowary.  Incidentally, your guile*src.rpm creates
both a guile and a guile-devel, which seems slightly odd.

What is Text-Balanced?

So far, my attempts to rebuild Cassowary have failed, and here is the
tail end of the messages from my last attempt:

creating Makefile
creating c++/Makefile
creating java/Makefile
sed: can't read ./java/Makefile.in: No such file or directory
creating java/demos/Makefile
sed: can't read ./java/demos/Makefile.in: No such file or directory
creating java/cda/Makefile
sed: can't read ./java/cda/Makefile.in: No such file or directory
creating guile/Makefile
creating wrappers/Makefile
sed: can't read ./wrappers/Makefile.in: No such file or directory
creating docs/Makefile
creating cassowary.spec
creating GTL.spec
creating c++/config.h
c++/config-inline.h is unchanged
+ make
Making all in c++
make[1]: Entering directory `/usr/src/redhat/BUILD/cassowary-0.51/c++'
c++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include     -g -O2 -c ClAbstractVariable.cc
ClAbstractVariable.h: In method `ClAbstractVariable::ClAbstractVariable(long int, char *)':
In file included from ClAbstractVariable.cc:12:
ClAbstractVariable.h:49: `auto_ptr' undeclared (first use this function)
ClAbstractVariable.h:49: (Each undeclared identifier is reported only once
ClAbstractVariable.h:49: for each function it appears in.)
ClAbstractVariable.h:49: parse error before `>'
ClAbstractVariable.h:54: `pch' undeclared (first use this function)
ClAbstractVariable.h:55: confused by earlier errors, bailing out
make[1]: *** [ClAbstractVariable.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/cassowary-0.51/c++'
make: *** [all-recursive] Error 1
Bad exit status from /var/tmp/rpm-tmp.5757 (%build)

My naive suspicion is that this might be related to java, which I
don't otherwise use.  I have installed guavac-1.2-4, but what am I
supposed to have?


Also, I have so far been unable to rebuild GTL, but the problem may be
coming from elsewhere -- the tail end of the messages is

collect2: ld terminated with signal 11 [Segmentation fault]
make[1]: *** [libGTL.la] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/GTL-0.3.1/src'
make: *** [all-recursive] Error 1
Bad exit status from /var/tmp/rpm-tmp.72412 (%build)

which presumably means something wrong with ld.

John

-- 
John MacPhail                   grad student at U.Waterloo
jrmacphail@math.uwaterloo.ca          sneaker net  MC5136A
-----------------------------------------------------------

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Aug 29 11:52:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA12048
	for scwm-discuss-outgoing; Sun, 29 Aug 1999 11:52:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA12045
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 29 Aug 1999 11:52:09 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA14672; Sun, 29 Aug 1999 08:52:01 -0700 (PDT)
To: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Cc: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
Subject: Re: Scwm-0.99.2 pre-release available!
References: <qrrso5560cx.fsf@elwha.cs.washington.edu> <199908290325.XAA20960@thing-one.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Aug 1999 08:52:01 -0700
In-Reply-To: John Revan MacPhail's message of "Sat, 28 Aug 1999 23:25:20 -0400"
Message-ID: <qrrd7w660v2.fsf@elwha.cs.washington.edu>
Lines: 66
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Revan MacPhail <jrmacpha@math.uwaterloo.ca> writes:

> Greg,
> 
> In effect, I am trying `rpm --rebuild *.src.rpm', on an MkLinux
> prerelease one system.  So my system is binary compatible with
> LinuxPPC R5 and YellowDog, though there may be differences in which
> packages are installed.
> 
> Rebuilding works for guile-gtk-26Aug99-1gjb.src.rpm,
> guile-1.3.2-1gjb.src.rpm, scwm-icons-0.99.2-1.src.rpm, and
> scwm-post0.99.1-1.src.rpm -- and I can simply install all but the
> last, which wants Cassowary.  Incidentally, your guile*src.rpm creates
> both a guile and a guile-devel, which seems slightly odd.

Cool-- that's great that those all work... the guile.spec from Redhat
(which I migrated to guile-1.3.2) does the guile and guile-devel
separation so users can just instead guile instead of guile + all the
support header files, etc.

> What is Text-Balanced?

A Perl module that you need if you want to rebuild the documentation
from scratch.  www.cpan.org will let you find it (or there are copies
under dev-support on the ftp sites and the web page).

> So far, my attempts to rebuild Cassowary have failed, and here is the
> tail end of the messages from my last attempt:

<snip>

> My naive suspicion is that this might be related to java, which I
> don't otherwise use.  I have installed guavac-1.2-4, but what am I
> supposed to have?

The problems with the Java directories were harmless... I dropped Java
from the build but only did a partial job of it... you shouldn't need
Java at all.

The bigger problem is a mismatch of your g++ compiler version with
mine.  I'm using the one that came with RH6.0-- egcs-2.91.66.

> Also, I have so far been unable to rebuild GTL, but the problem may be
> coming from elsewhere -- the tail end of the messages is
> 
> collect2: ld terminated with signal 11 [Segmentation fault]
> make[1]: *** [libGTL.la] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/GTL-0.3.1/src'
> make: *** [all-recursive] Error 1
> Bad exit status from /var/tmp/rpm-tmp.72412 (%build)
> 
> which presumably means something wrong with ld.

Yep... the linker seg-faulting is definitely a bug in the linker. I'd
upgrade to the latest g++ (gcc-2.95, maybe?) and try Cassowary and GTL
again.  If you still get an ld seg-fault, be sure to report the bug to
the appropriate folks.

I'll update the cassowary distribution sometime tomorrow with what might
be a slightly improved version for not-exactly-the-same C++ compilers.

Please update me with your progress-- I *really* appreciate your trying
these rebuilds out!

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Aug 29 14:03:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA12249
	for scwm-discuss-outgoing; Sun, 29 Aug 1999 14:03:24 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from relay8.Austria.EU.net (relay8.Austria.EU.net [193.154.160.146])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA12246
	for <scwm-discuss@scwm.mit.edu>; Sun, 29 Aug 1999 14:03:14 -0400
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.3/8.9.3) with UUCP id TAA11764
	for scwm-discuss@scwm.mit.edu; Sun, 29 Aug 1999 19:58:24 +0200 (MET DST)
Received: (qmail 2883 invoked by uid 115); 28 Aug 1999 13:40:43 -0000
To: scwm-discuss@scwm.mit.edu
Subject: Re: scwm problems
References: <19990824002203.A29558@ZhengHe.augustin.thierry> <qrrlnb1g6in.fsf@elwha.cs.washington.edu> <19990824111722.A31297@ZhengHe.augustin.thierry> <19990824114452.A31398@ZhengHe.augustin.thierry> <qrriu65jhy5.fsf@elwha.cs.washington.edu> <19990824183610.A755@ZhengHe.augustin.thierry> <qrraerhjfi2.fsf@elwha.cs.washington.edu> <19990824194017.A5542@ZhengHe.augustin.thierry> <qrr1zctjcdx.fsf@elwha.cs.washington.edu> <19990824221141.A8051@ZhengHe.augustin.thierry> <qrrwvukj4gi.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 28 Aug 1999 15:40:42 +0200
In-Reply-To: Greg Badros's message of "24 Aug 1999 13:42:21 -0700"
Message-ID: <wsso546n1h.fsf@orcus.priv.at>
Lines: 41
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

>>>>> On 24 Aug 1999 13:42:21 -0700
>>>>> Greg Badros <gjb@cs.washington.edu> said:

 Greg> Ahh... yes... something "silly" (quoted since it's actually not
 Greg> silly, AFAIK) is done in that all the window and global
 Greg> bindings must be applied to the new window (i.e., the XGrabKey
 Greg> passive grabs must be established).

isn't it enough for global key bindings to grab them on the root
window? At least that's what I read into the following paragraphs (the
second bullet, especially):

       The XGrabKey function establishes a passive grab on the
       keyboard.  In the future, the keyboard is actively grabbed
       (as for XGrabKeyboard), the last-keyboard-grab time is set
       to the time at which the key was pressed (as transmitted
       in the KeyPress event), and the KeyPress event is reported
       if all of the following conditions are true:

       ·    The keyboard is not grabbed and the specified key
            (which can itself be a modifier key) is logically
            pressed when the specified modifier keys are logi­
            cally down, and no other modifier keys are logically
            down.

       ·    Either the grab_window is an ancestor of (or is) the
            focus window, or the grab_window is a descendant of
            the focus window and contains the pointer.

       ·    A passive grab on the same key combination does not
            exist on any ancestor of grab_window.

Or are the local key-bindings the real problem?

        Robbe

-- 
Robert Bihlmeyer       reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>    <http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Aug 29 15:23:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA12402
	for scwm-discuss-outgoing; Sun, 29 Aug 1999 15:23:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA12399
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 29 Aug 1999 15:23:39 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id PAA21365;
	Sun, 29 Aug 1999 15:23:36 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id PAA03341;
	Sun, 29 Aug 1999 15:23:25 -0400 (EDT)
Date: Sun, 29 Aug 1999 15:23:25 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: Greg Badros <gjb@cs.washington.edu>
cc: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
Subject: Re: Scwm-0.99.2 pre-release available!
In-Reply-To: <qrrso5560cx.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9908291510080.3134-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 27 Aug 1999, Greg Badros wrote:

> A pre-release trial version of Scwm is available only via ftp from:
> ftp://upintheair.cs.washington.edu/pub/scwm

I built successfully on HP-UX 10.20, with only minor difficulties;
I had to use the configure options --with-guile-include-prefix
and --with-guile-lib-prefix
to point the build at my guile installation.

Although configure finds the correct gtk-config, it doesn't seem to use
it.  Is there some reason why configure couldn't check the output from
"gtk-config compile" and "gtk-config link", and then test for the
--with-guile options to override them?  I tried to follow what you were
doing guile-wise in configure.in, but it looks extremely complex.

If all this is in fact necessary, perhaps some of it could be hidden in a
good guile autoconf macro...



Steve

-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@SCWM.MIT.EDU  Sun Aug 29 15:33:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA12481
	for scwm-discuss-outgoing; Sun, 29 Aug 1999 15:33:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA12478
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 29 Aug 1999 15:33:11 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id PAA21594;
	Sun, 29 Aug 1999 15:33:11 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id PAA03449;
	Sun, 29 Aug 1999 15:33:10 -0400 (EDT)
Date: Sun, 29 Aug 1999 15:33:10 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: Greg Badros <gjb@cs.washington.edu>
cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.2 pre-release available!
In-Reply-To: <qrrso5560cx.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9908291526450.3134-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 27 Aug 1999, Greg Badros wrote:
> A pre-release trial version of Scwm is available only via ftp from:
> ftp://upintheair.cs.washington.edu/pub/scwm

A few error messages turned up when running the 0.99.2 
(with my same old .scwmrc, decended from system.scwmrc circa scwm-0.7a)

[Scwm][init_modifiers]: <<WARNING>> Inefficiency due to numlock_mask not being found
[Scwm][init_modifiers]: <<WARNING>> Inefficiency due to scrollock_mask not being found

Looks like these are harmless and just indicate that the obvious
optimization to the fIgnoreDubiousModifiers/mask_mod_combos code in
binding.c just hasn't been coded up yet...


Of perhaps more concern is:

Backtrace:
0* (let ((xgs X-grab-server) (xugs X-ungrab-server)) (set!
with-grabbed-server (lambda # #)))

ERROR: In expression (let (# #) (set! with-grabbed-server #)):
ERROR: Unbound variable: X-grab-server

Backtrace:
0* (undefine X-grab-server)
1* [undefine (undefine X-grab-server) (#<procedure (symbol define?)>)]

ERROR: In procedure undefine in expression (undefine X-grab-server):
ERROR: variable already unbound 

Backtrace:
0* (undefine X-ungrab-server)
1* [undefine (undefine X-ungrab-server) (#<procedure (symbol define?)>)]

ERROR: In procedure undefine in expression (undefine X-ungrab-server):
ERROR: variable already unbound 



testing with scwmrepl indicates that with-grabbed-server is in fact
defined.  Perhaps minimal.scm is getting run multiple times somehow?


Steve

-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@SCWM.MIT.EDU  Sun Aug 29 17:49:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA12708
	for scwm-discuss-outgoing; Sun, 29 Aug 1999 17:49:26 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from kodis.jagunet.com (kodis@kodis.jaguNET.com [206.156.208.48])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA12705
	for <scwm-discuss@scwm.mit.edu>; Sun, 29 Aug 1999 17:49:20 -0400
Received: (from kodis@localhost)
	by kodis.jagunet.com (8.9.3/8.9.3) id RAA08709
	for scwm-discuss@scwm.mit.edu; Sun, 29 Aug 1999 17:49:03 -0400
Date: Sun, 29 Aug 1999 17:49:01 -0400
From: John Kodis <kodis@jagunet.com>
To: scwm-discuss@scwm.mit.edu
Subject: Scwm startup problems
Message-ID: <19990829174901.A8677@kodis.jagunet.com>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I've gotten today's version of Scwm and a few-day-old version of Gnome
from the respective CVS servers, and built and installed both into
/usr/local/.  I renamed my .scwmrc out of the way, and on starting
scwm I get the following errors:

Starting reading scwm modules

;;; WARNING (no code for module gtk)

;;; WARNING (no code for module gdk)
Error loading module: (app scwm preferences)
ERROR: In procedure fdopen:
ERROR: Bad file descriptor
xlock modes not found
Done reading modules
 *** Reading `scwmrc'...
Scwm post0.99.1
Sat Aug 28 00:11:14 EDT 1999 -- $Revision: 1.2163 $
Display Size: (1600 1200)
Desk Size: (3 3)
Viewport Position: (0 0)
Current Desk: 0
ERROR: In procedure safe-load in expression
 (safe-load "/usr/local/lib/X11/scwm/system.scwmrc"):
ERROR: end of file in 
FIXME: *not* window-shading the panel
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  6 (X_ChangeSaveSet)
  Serial number of failed request:  1898
  Current serial number in output stream:  1899
[Scwm][SigResetLoop]:  Got a reset signal, so longjmp-ing to event handler
[Scwm][XUngrabServer_withSemaphore]: <<ERROR>> More ungrabs than grabs!
[Scwm][SigResetLoop]:  Got a reset signal, so longjmp-ing to event handler
[Scwm][XUngrabServer_withSemaphore]: <<ERROR>> More ungrabs than grabs!
[Scwm][SigResetLoop]:  Got a reset signal, so longjmp-ing to event handler
[Scwm][XUngrabServer_withSemaphore]: <<ERROR>> More ungrabs than grabs!

Also, I notice that most of the scwm files are installed into
/usr/local/share/scwm, except for system.scwmrc which gets installed
in /usr/local/lib/X11/scwm/.  It would be more obvious where to look
for this file if it were installed with all the other sharable scwm
files. 

-- John Kodis.

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Aug 29 19:09:30 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA12852
	for scwm-discuss-outgoing; Sun, 29 Aug 1999 19:09:30 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA12849
	for <scwm-discuss@scwm.mit.edu>; Sun, 29 Aug 1999 19:09:24 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA15095; Sun, 29 Aug 1999 16:09:20 -0700 (PDT)
To: John Kodis <kodis@jagunet.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Scwm startup problems
References: <19990829174901.A8677@kodis.jagunet.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Aug 1999 16:09:20 -0700
In-Reply-To: John Kodis's message of "Sun, 29 Aug 1999 17:49:01 -0400"
Message-ID: <qrr3dx25gm7.fsf@elwha.cs.washington.edu>
Lines: 63
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Kodis <kodis@jagunet.com> writes:

> I've gotten today's version of Scwm and a few-day-old version of Gnome
> from the respective CVS servers, and built and installed both into
> /usr/local/.  I renamed my .scwmrc out of the way, and on starting
> scwm I get the following errors:
> 
> Starting reading scwm modules
> 
> ;;; WARNING (no code for module gtk)
> 
> ;;; WARNING (no code for module gdk)
> Error loading module: (app scwm preferences)

Looks like your gtk and gdk modules are not getting found.  Look for
gtk.scm and gdk.scm (use `locate' perhaps) and then be sure your
GUILE_LOAD_PATH includes the appropriate director{y,ies}. 

> ERROR: In procedure fdopen:
> ERROR: Bad file descriptor
> xlock modes not found
> Done reading modules
>  *** Reading `scwmrc'...
> Scwm post0.99.1
> Sat Aug 28 00:11:14 EDT 1999 -- $Revision: 1.2163 $
> Display Size: (1600 1200)
> Desk Size: (3 3)
> Viewport Position: (0 0)
> Current Desk: 0
> ERROR: In procedure safe-load in expression
>  (safe-load "/usr/local/lib/X11/scwm/system.scwmrc"):
> ERROR: end of file in 
> FIXME: *not* window-shading the panel
> X Error of failed request:  BadMatch (invalid parameter attributes)
>   Major opcode of failed request:  6 (X_ChangeSaveSet)
>   Serial number of failed request:  1898
>   Current serial number in output stream:  1899

If you can turn on synchronous X11 calls and trace the X_ChangeSaveSet
X protocol error (set a breakpoint in ScwmErrorHandler), I'd love to see 
what the stack looks like when the protocol error is triggered.

> [Scwm][SigResetLoop]:  Got a reset signal, so longjmp-ing to event handler
> [Scwm][XUngrabServer_withSemaphore]: <<ERROR>> More ungrabs than grabs!
> [Scwm][SigResetLoop]:  Got a reset signal, so longjmp-ing to event handler
> [Scwm][XUngrabServer_withSemaphore]: <<ERROR>> More ungrabs than grabs!
> [Scwm][SigResetLoop]:  Got a reset signal, so longjmp-ing to event handler
> [Scwm][XUngrabServer_withSemaphore]: <<ERROR>> More ungrabs than grabs!

Are you hitting C-c to get the SigResetLoop?

> Also, I notice that most of the scwm files are installed into
> /usr/local/share/scwm, except for system.scwmrc which gets installed
> in /usr/local/lib/X11/scwm/.  It would be more obvious where to look
> for this file if it were installed with all the other sharable scwm
> files. 

Yep, I agree.  I'll change it as soon as my time permits, before the
real 0.99.2 release (probably Monday afternoon).

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug 30 01:02:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA13148
	for scwm-discuss-outgoing; Mon, 30 Aug 1999 01:02:19 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from math.uwaterloo.ca (root@math.uwaterloo.ca [129.97.216.42])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA13145
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 30 Aug 1999 01:02:13 -0400
Received: from thing-one.localdomain (cnts2p08.uwaterloo.ca [129.97.182.8])
	by math.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id BAA24477;
	Mon, 30 Aug 1999 01:02:11 -0400 (EDT)
From: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Received: (from jrm@localhost)
	by thing-one.localdomain (8.9.3/8.9.3) id BAA01497;
	Mon, 30 Aug 1999 01:02:58 -0400
Date: Mon, 30 Aug 1999 01:02:58 -0400
Message-Id: <199908300502.BAA01497@thing-one.localdomain>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
In-reply-to: <qrrd7w660v2.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 29 Aug 1999 08:52:01 -0700)
Subject: Re: Scwm-0.99.2 pre-release available!
References: <qrrso5560cx.fsf@elwha.cs.washington.edu> <199908290325.XAA20960@thing-one.localdomain> <qrrd7w660v2.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg,

My setup is admittedly not altogether stable:

  > rpm -q egcs
  egcs-1.1.2-12f
  > gcc --version
  egcs-2.91.66
  > rpm -qf `which ld`
  binutils-2.9.5.0.4-1a
  > ld --version
  GNU ld 2.9.5
  > uname -r
  2.0.37-osfmach3
  > rpm -q kernel-headers
  kernel-headers-2.1.24-990810

So my C++ compiler does seem to be the same version as yours, but I do
have a strange mismatch between the Linux kernel and the kernel
headers.  People are working on this, and it does not seem to cause
many problems.  But getting things working is a matter of luck.  A
consequence of Goedel's theorems is that there are correct algorithms
without finite correctness proofs, so I don't hope to get by without
luck....

Anway, if someone with LinuxPPC-1999 or YellowDog is watching this, I
hope they'll go to ftp://upintheair.cs.washington.edu/pub/scwm and
give it a try.  And I'll watch for new versions from you or other ways
I can make a new attempt at getting Scwm compiled.

John

--- 
John MacPhail                   grad student at U.Waterloo
jrmacphail@math.uwaterloo.ca          sneaker net  MC5136A
-----------------------------------------------------------

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug 30 03:06:28 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA13341
	for scwm-discuss-outgoing; Mon, 30 Aug 1999 03:06:28 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from savonarola.red-bean.com (savonarola.red-bean.com [208.245.165.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA13338
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 30 Aug 1999 03:06:18 -0400
Received: (from jimb@localhost)
	by savonarola.red-bean.com (8.8.7/8.8.7) id CAA19912;
	Mon, 30 Aug 1999 02:05:57 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
Subject: Re: Scwm works with guile-1.3.2
References: <qrrk8qj7igv.fsf@elwha.cs.washington.edu>
From: Jim Blandy <jimb@red-bean.com>
Date: 30 Aug 1999 02:05:57 -0500
In-Reply-To: Greg Badros's message of "25 Aug 1999 12:45:04 -0700"
Message-ID: <m37lmd21ey.fsf@savonarola.red-bean.com>
Lines: 12
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> It is my intention to support guile-1.3 (as well as immediately-after
> guile-1.3 versions that fixed the bad I/O performance bug) and
> guile-1.3.2 (and hopefully the immediately-after bug-fixes to it).
> guile-1.3.1 will not be supported as there are too many flavors to deal
> with.

In general, you probably shouldn't ever announce support for a Guile
version with an odd third component.  If a version number has an odd
third component, it describes a version from CVS; if a version number
has an even third component, or no third component at all, then it's
an actual release.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug 30 05:00:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA15478
	for scwm-discuss-outgoing; Mon, 30 Aug 1999 05:00:58 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA15475
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 30 Aug 1999 05:00:53 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id LAA25554
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 30 Aug 1999 11:00:52 +0200 (MET DST)
Date: Mon, 30 Aug 1999 11:00:51 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.2 pre-release available!
Message-ID: <19990830110051.A7101@youkaidi.irisa.fr>
References: <qrrso5560cx.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.7us
In-Reply-To: <qrrso5560cx.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros écrivait :
> After a long two days updating Scwm for guile-1.3.2 and learning a lot
> about RPM and packaging of code, I've finally got Scwm-0.99.2 about
> ready for release.
> 
> A pre-release trial version of Scwm is available only via ftp from:
> 
> ftp://upintheair.cs.washington.edu/pub/scwm

I tried it, and except this annoing bug with Solaris, it works very
well.

However, there are two minor problems :

1) Is #:PPosition-hint still working ?

I have :

(window-style "Netscape" #:mini-icon "mini-nscape.xpm" #:PPosition-hint #f)

and :

(set-smart-placement-is-really-smart! #t)
(window-style "*"
	      #:random-placement #t #:smart-placement #t)

but Netscape windows get placed always on the same place.
	      
2) with scwmrepl : there is a bug with multiline expressions coming
   from emacs selections. It is very strange and I don't know if it is
   a bug of emacs or of scwmrepl :

I have some expression, like :

(quote (1
	2
	3))

I select it with the mouse, and paste it in an xterm :

% cat
(quote (1
        2
        3))
(quote (1
        2
        3))
% scwmrepl
scwm> (quote (1
scwm> 2
scwm> utag_substring 3))
(1 2 utag_substring 3)


If I use scwm.el and it's run-scwm, I get the same thing if I press
C-M-x :

scwm> (1 utag_struct_base 2 utag_struct_base 3)

(the "utag_substring" or "utag_struct_base" part seems to be chosen
randomly.



From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug 30 10:07:38 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA15831
	for scwm-discuss-outgoing; Mon, 30 Aug 1999 10:07:38 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA15825
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 30 Aug 1999 10:07:31 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id PAA27218
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 30 Aug 1999 15:13:07 +0200 (MET DST)
Date: Mon, 30 Aug 1999 15:13:06 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.2 pre-release available!
Message-ID: <19990830151306.A9609@youkaidi.irisa.fr>
References: <qrrso5560cx.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.7us
In-Reply-To: <qrrso5560cx.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros écrivait :
> After a long two days updating Scwm for guile-1.3.2 and learning a lot
> about RPM and packaging of code, I've finally got Scwm-0.99.2 about
> ready for release.
> 
> A pre-release trial version of Scwm is available only via ftp from:
> 
> ftp://upintheair.cs.washington.edu/pub/scwm

I have this in my .scwmrc :

(window-style (title-match?? "XConsole")
	      #:icon "console.xpm"
	      #:no-titlebar #t #:border-width 3
	      #:sticky #t #:bg "orchid")

Some options are executed, but not all of them :

#:icon "console.xpm" #:border-width 3 #:sticky #t #:bg "orchid"   are ok

but

#:no-titlebar #t have no effect.


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug 30 10:07:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA15832
	for scwm-discuss-outgoing; Mon, 30 Aug 1999 10:07:40 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA15828
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 30 Aug 1999 10:07:32 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id OAA26966
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 30 Aug 1999 14:45:48 +0200 (MET DST)
Date: Mon, 30 Aug 1999 14:45:47 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.2 pre-release available!
Message-ID: <19990830144546.A9477@youkaidi.irisa.fr>
References: <qrrso5560cx.fsf@elwha.cs.washington.edu> <19990830110051.A7101@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.7us
In-Reply-To: <19990830110051.A7101@youkaidi.irisa.fr>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon écrivait :
> 2) with scwmrepl : there is a bug with multiline expressions coming
>    from emacs selections. It is very strange and I don't know if it is
>    a bug of emacs or of scwmrepl :
> 
> I have some expression, like :
> 
> (quote (1
> 	2
> 	3))
> 
> I select it with the mouse, and paste it in an xterm :
> 
> % cat
> (quote (1
>         2
>         3))
> (quote (1
>         2
>         3))
> % scwmrepl
> scwm> (quote (1
> scwm> 2
> scwm> utag_substring 3))
> (1 2 utag_substring 3)
> 
> 
> If I use scwm.el and it's run-scwm, I get the same thing if I press
> C-M-x :
> 
> scwm> (1 utag_struct_base 2 utag_struct_base 3)
> 
> (the "utag_substring" or "utag_struct_base" part seems to be chosen
> randomly.


After some tries to reproduce the bug in other conditions, I think
that it deals with TABs : when I copy-paste some expression from an
xterm, there is no problem. When I copy-paste the same expression from
an emacs window, there are problems if the expression contains TAB
characters.

It is like scwmrepl tries to complete the word.

scwm> (quote (1<TAB><TAB>
1-
scwm> (quote (1 2 <TAB><TAB>
utag_flag_base
scwm> (quote (1 2 d<TAB><TAB>
dup->port
scwm> (quote (1 2 di<TAB><TAB>
display-backtrace


Is there some way to know if the TAB character comes from the keyboard
or from a selection ?

I think it is more a bug from readline (I can reproduce the same
behavior with bash).

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug 30 12:44:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA16135
	for scwm-discuss-outgoing; Mon, 30 Aug 1999 12:44:29 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA16132
	for <scwm-discuss@scwm.mit.edu>; Mon, 30 Aug 1999 12:44:24 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA16409; Mon, 30 Aug 1999 09:44:18 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@scwm.mit.edu, guile@sourceware.cygnus.com
Subject: Re: Scwm-0.99.2 pre-release available!
References: <qrrso5560cx.fsf@elwha.cs.washington.edu> <19990830110051.A7101@youkaidi.irisa.fr> <19990830144546.A9477@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Aug 1999 09:44:17 -0700
In-Reply-To: Hubert Canon's message of "Mon, 30 Aug 1999 14:45:47 +0200"
Message-ID: <qrrpv0543ry.fsf@elwha.cs.washington.edu>
Lines: 72
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Yes, this seems like more a bug with readline.  I've also been a bit
annoyed with the paren blinking support in Guile when I paste in a big
hunk of text... I don't think the paren blinking should delay further
entry.  (I've not had time to look into fixing this, but I'm widening to 
include the guile list since those folks probably have some insight into 
these issues).

Thanks,
Greg


Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hubert Canon écrivait :
> > 2) with scwmrepl : there is a bug with multiline expressions coming
> >    from emacs selections. It is very strange and I don't know if it is
> >    a bug of emacs or of scwmrepl :
> > 
> > I have some expression, like :
> > 
> > (quote (1
> > 	2
> > 	3))
> > 
> > I select it with the mouse, and paste it in an xterm :
> > 
> > % cat
> > (quote (1
> >         2
> >         3))
> > (quote (1
> >         2
> >         3))
> > % scwmrepl
> > scwm> (quote (1
> > scwm> 2
> > scwm> utag_substring 3))
> > (1 2 utag_substring 3)
> > 
> > 
> > If I use scwm.el and it's run-scwm, I get the same thing if I press
> > C-M-x :
> > 
> > scwm> (1 utag_struct_base 2 utag_struct_base 3)
> > 
> > (the "utag_substring" or "utag_struct_base" part seems to be chosen
> > randomly.
> 
> 
> After some tries to reproduce the bug in other conditions, I think
> that it deals with TABs : when I copy-paste some expression from an
> xterm, there is no problem. When I copy-paste the same expression from
> an emacs window, there are problems if the expression contains TAB
> characters.
> 
> It is like scwmrepl tries to complete the word.
> 
> scwm> (quote (1<TAB><TAB>
> 1-
> scwm> (quote (1 2 <TAB><TAB>
> utag_flag_base
> scwm> (quote (1 2 d<TAB><TAB>
> dup->port
> scwm> (quote (1 2 di<TAB><TAB>
> display-backtrace
> 
> 
> Is there some way to know if the TAB character comes from the keyboard
> or from a selection ?
> 
> I think it is more a bug from readline (I can reproduce the same
> behavior with bash).

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug 30 12:54:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA16172
	for scwm-discuss-outgoing; Mon, 30 Aug 1999 12:54:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA16169
	for <scwm-discuss@scwm.mit.edu>; Mon, 30 Aug 1999 12:54:13 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA16414; Mon, 30 Aug 1999 09:54:10 -0700 (PDT)
To: John Kodis <kodis@jagunet.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Installation locations..
References: <19990829174901.A8677@kodis.jagunet.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Aug 1999 09:54:09 -0700
In-Reply-To: John Kodis's message of "Sun, 29 Aug 1999 17:49:01 -0400"
Message-ID: <qrrogfp43bi.fsf@elwha.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Kodis <kodis@jagunet.com> writes:

<snip>

> Also, I notice that most of the scwm files are installed into
> /usr/local/share/scwm, except for system.scwmrc which gets installed
> in /usr/local/lib/X11/scwm/.  It would be more obvious where to look
> for this file if it were installed with all the other sharable scwm
> files. 

Okay, I'm moving the *.scwmrc files to all be in
DATADIR/scwm/scwmrc/*.scwmrc.  E.g,

/usr/share/scwm/scwmrc/*.scwmrc

Note that --with-scwmrcdir should let you change this value.

I also changed scwmpaths.h to call SCWMDIR SCWMRCDIR so its less
confusing w/ the SCWMDIR environment variable that is a
mostly-convenience-for-developers feature of pointing at a uninstalled
Scwm base directory for testing.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug 30 12:56:28 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA16188
	for scwm-discuss-outgoing; Mon, 30 Aug 1999 12:56:28 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA16185
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 30 Aug 1999 12:56:25 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA16417; Mon, 30 Aug 1999 09:56:21 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.2 pre-release available!
References: <qrrso5560cx.fsf@elwha.cs.washington.edu> <19990830110051.A7101@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Aug 1999 09:56:21 -0700
In-Reply-To: Hubert Canon's message of "Mon, 30 Aug 1999 11:00:51 +0200"
Message-ID: <qrrn1v9437u.fsf@elwha.cs.washington.edu>
Lines: 41
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Greg Badros écrivait :
> > After a long two days updating Scwm for guile-1.3.2 and learning a lot
> > about RPM and packaging of code, I've finally got Scwm-0.99.2 about
> > ready for release.
> > 
> > A pre-release trial version of Scwm is available only via ftp from:
> > 
> > ftp://upintheair.cs.washington.edu/pub/scwm
> 
> I tried it, and except this annoing bug with Solaris, it works very
> well.

Do you know that it is a Solaris bug now?  Is there a fix?

> However, there are two minor problems :
> 
> 1) Is #:PPosition-hint still working ?
> 
> I have :
> 
> (window-style "Netscape" #:mini-icon "mini-nscape.xpm" #:PPosition-hint #f)
> 
> and :
> 
> (set-smart-placement-is-really-smart! #t)
> (window-style "*"
> 	      #:random-placement #t #:smart-placement #t)
> 
> but Netscape windows get placed always on the same place.


Is the mini-icon working?  (i.e., are you sure your window-style is
matching?).  I've not played with that in a while, so it could be
broken, but lots of other things could be going wrong, too.

<snip the scwmrepl tabbing question -- hopefully guile folks will
respond> 	      

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug 30 13:04:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA16231
	for scwm-discuss-outgoing; Mon, 30 Aug 1999 13:04:00 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA16227
	for <scwm-discuss@scwm.mit.edu>; Mon, 30 Aug 1999 13:03:55 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA16447; Mon, 30 Aug 1999 10:03:44 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: scwm problems
References: <19990824002203.A29558@ZhengHe.augustin.thierry> <qrrlnb1g6in.fsf@elwha.cs.washington.edu> <19990824111722.A31297@ZhengHe.augustin.thierry> <19990824114452.A31398@ZhengHe.augustin.thierry> <qrriu65jhy5.fsf@elwha.cs.washington.edu> <19990824183610.A755@ZhengHe.augustin.thierry> <qrraerhjfi2.fsf@elwha.cs.washington.edu> <19990824194017.A5542@ZhengHe.augustin.thierry> <qrr1zctjcdx.fsf@elwha.cs.washington.edu> <19990824221141.A8051@ZhengHe.augustin.thierry> <qrrwvukj4gi.fsf@elwha.cs.washington.edu> <wsso546n1h.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Aug 1999 10:03:44 -0700
In-Reply-To: Robert Bihlmeyer's message of "28 Aug 1999 15:40:42 +0200"
Message-ID: <qrrlnat42vj.fsf@elwha.cs.washington.edu>
Lines: 52
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 24 Aug 1999 13:42:21 -0700
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
>  Greg> Ahh... yes... something "silly" (quoted since it's actually not
>  Greg> silly, AFAIK) is done in that all the window and global
>  Greg> bindings must be applied to the new window (i.e., the XGrabKey
>  Greg> passive grabs must be established).
> 
> isn't it enough for global key bindings to grab them on the root
> window? At least that's what I read into the following paragraphs (the
> second bullet, especially):
> 
>        The XGrabKey function establishes a passive grab on the
>        keyboard.  In the future, the keyboard is actively grabbed
>        (as for XGrabKeyboard), the last-keyboard-grab time is set
>        to the time at which the key was pressed (as transmitted
>        in the KeyPress event), and the KeyPress event is reported
>        if all of the following conditions are true:
> 
>        ·    The keyboard is not grabbed and the specified key
>             (which can itself be a modifier key) is logically
>             pressed when the specified modifier keys are logi­
>             cally down, and no other modifier keys are logically
>             down.
> 
>        ·    Either the grab_window is an ancestor of (or is) the
>             focus window, or the grab_window is a descendant of
>             the focus window and contains the pointer.
> 
>        ·    A passive grab on the same key combination does not
>             exist on any ancestor of grab_window.
> 
> Or are the local key-bindings the real problem?

I've never been 100% sure how to read this section, either.  Observed
behaviour definitely is that w/o the XGrabKey call, e.g., (X?)Emacs will 
give a message about the unbound keystroke (i.e., the keystroke gets to
the client application instead of to Scwm).

Experiments along these lines are welcome, or if someone wants to
further investigate what other window managers do, that'd be greatly
appreciated.  AFAIK, both fvwm2 and Enlightenment do the XGrabKey's in
roughly the same way as Scwm does.  system.scwmrc just has a helluva lot 
of key bindings which, when combined with the support for grabbing all
the keybindings with the various "bogus" modifiers results in a bit of a 
slow down.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug 30 13:10:03 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA16288
	for scwm-discuss-outgoing; Mon, 30 Aug 1999 13:10:03 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA16282
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 30 Aug 1999 13:09:57 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA16451; Mon, 30 Aug 1999 10:09:48 -0700 (PDT)
To: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.2 pre-release available!
References: <qrrso5560cx.fsf@elwha.cs.washington.edu> <199908290325.XAA20960@thing-one.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Aug 1999 10:09:48 -0700
In-Reply-To: John Revan MacPhail's message of "Sat, 28 Aug 1999 23:25:20 -0400"
Message-ID: <qrrk8qd42lf.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Revan MacPhail <jrmacpha@math.uwaterloo.ca> writes:

> make[1]: Entering directory `/usr/src/redhat/BUILD/cassowary-0.51/c++'
> c++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include     -g -O2 -c ClAbstractVariable.cc
> ClAbstractVariable.h: In method `ClAbstractVariable::ClAbstractVariable(long int, char *)':
> In file included from ClAbstractVariable.cc:12:
> ClAbstractVariable.h:49: `auto_ptr' undeclared (first use this function)

Try changing the declaration to use cl_auto_ptr, not auto_ptr.  I'll
have a new test distribution out once I have time to fix some of the
Java automake issues.

Let me know if upgrading to a newer binutils, etc., helps with the ld
seg fault when building GTL.  I'm pretty certain that problem is out of
my hands...

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug 30 13:14:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA16350
	for scwm-discuss-outgoing; Mon, 30 Aug 1999 13:14:42 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA16342
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 30 Aug 1999 13:14:37 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA16458; Mon, 30 Aug 1999 10:14:26 -0700 (PDT)
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.2 pre-release available!
References: <Pine.GHP.4.10.9908291526450.3134-100000@rukbat.cs.unc.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Aug 1999 10:14:26 -0700
In-Reply-To: Stephen Tell's message of "Sun, 29 Aug 1999 15:33:10 -0400 (EDT)"
Message-ID: <qrriu5x42dp.fsf@elwha.cs.washington.edu>
Lines: 53
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> On 27 Aug 1999, Greg Badros wrote:
> > A pre-release trial version of Scwm is available only via ftp from:
> > ftp://upintheair.cs.washington.edu/pub/scwm
> 
> A few error messages turned up when running the 0.99.2 
> (with my same old .scwmrc, decended from system.scwmrc circa scwm-0.7a)
> 
> [Scwm][init_modifiers]: <<WARNING>> Inefficiency due to numlock_mask not being found
> [Scwm][init_modifiers]: <<WARNING>> Inefficiency due to scrollock_mask not being found
> 
> Looks like these are harmless and just indicate that the obvious
> optimization to the fIgnoreDubiousModifiers/mask_mod_combos code in
> binding.c just hasn't been coded up yet...

Yep.

> Of perhaps more concern is:
> 
> Backtrace:
> 0* (let ((xgs X-grab-server) (xugs X-ungrab-server)) (set!
> with-grabbed-server (lambda # #)))
> 
> ERROR: In expression (let (# #) (set! with-grabbed-server #)):
> ERROR: Unbound variable: X-grab-server
> 
> Backtrace:
> 0* (undefine X-grab-server)
> 1* [undefine (undefine X-grab-server) (#<procedure (symbol define?)>)]
> 
> ERROR: In procedure undefine in expression (undefine X-grab-server):
> ERROR: variable already unbound 
> 
> Backtrace:
> 0* (undefine X-ungrab-server)
> 1* [undefine (undefine X-ungrab-server) (#<procedure (symbol define?)>)]
> 
> ERROR: In procedure undefine in expression (undefine X-ungrab-server):
> ERROR: variable already unbound 
> 
> 
> 
> testing with scwmrepl indicates that with-grabbed-server is in fact
> defined.  Perhaps minimal.scm is getting run multiple times somehow?

Hmmm... that seems logical, but I cannot see how this could happen.  Can 
you strace/truss and see if minimal.scm gets read at all at startup
time?  (It shouldn't-- it gets compiled directly into the binary at
compile time).

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug 30 14:28:17 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA17147
	for scwm-discuss-outgoing; Mon, 30 Aug 1999 14:28:17 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA17143
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 30 Aug 1999 14:28:12 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id UAA29569;
	Mon, 30 Aug 1999 20:28:08 +0200 (MET DST)
Date: Mon, 30 Aug 1999 20:28:07 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.2 pre-release available!
Message-ID: <19990830202807.C9358@youkaidi.irisa.fr>
References: <qrrso5560cx.fsf@elwha.cs.washington.edu> <19990830110051.A7101@youkaidi.irisa.fr> <qrrn1v9437u.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.7us
In-Reply-To: <qrrn1v9437u.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros écrivait :
> Hubert Canon <Hubert.Canon@irisa.fr> writes:
> > 1) Is #:PPosition-hint still working ?
> > 
> > I have :
> > 
> > (window-style "Netscape" #:mini-icon "mini-nscape.xpm" #:PPosition-hint #f)
> > 
> > and :
> > 
> > (set-smart-placement-is-really-smart! #t)
> > (window-style "*"
> > 	      #:random-placement #t #:smart-placement #t)
> > 
> > but Netscape windows get placed always on the same place.
> 
> Is the mini-icon working?  (i.e., are you sure your window-style is
> matching?).  I've not played with that in a while, so it could be
> broken, but lots of other things could be going wrong, too.


Hum. You are right.

This works :

(window-style "Navigator" #:mini-icon "mini-nscape.xpm" #:PPosition-hint #f)

but not for the bookmarks.

(window-style (class-match?? "Netscape")
	      #:mini-icon "mini-nscape.xpm" #:PPosition-hint #f)

is better	      


-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug 30 15:08:04 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA17581
	for scwm-discuss-outgoing; Mon, 30 Aug 1999 15:08:04 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA17578
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 30 Aug 1999 15:07:58 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA16598; Mon, 30 Aug 1999 12:07:53 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: window-style mismatch [was Re: Scwm-0.99.2 pre-release available!]
References: <qrrso5560cx.fsf@elwha.cs.washington.edu> <19990830110051.A7101@youkaidi.irisa.fr> <qrrn1v9437u.fsf@elwha.cs.washington.edu> <19990830202807.C9358@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Aug 1999 12:07:53 -0700
In-Reply-To: Hubert Canon's message of "Mon, 30 Aug 1999 20:28:07 +0200"
Message-ID: <qrrd7w53x4m.fsf_-_@elwha.cs.washington.edu>
Lines: 27
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Greg Badros écrivait :

> > Is the mini-icon working?  (i.e., are you sure your window-style is
> > matching?).  I've not played with that in a while, so it could be
> > broken, but lots of other things could be going wrong, too.
> 
> 
> Hum. You are right.
> 
> This works :
> 
> (window-style "Navigator" #:mini-icon "mini-nscape.xpm" #:PPosition-hint #f)
> 
> but not for the bookmarks.
> 
> (window-style (class-match?? "Netscape")
> 	      #:mini-icon "mini-nscape.xpm" #:PPosition-hint #f)
> 
> is better	      

Excellent-- thanks.  The stylist module should make dealing with these
sorts of issues much easier.  I want to revise it to be more like the
scwm-options support.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug 30 16:06:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA18551
	for scwm-discuss-outgoing; Mon, 30 Aug 1999 16:06:13 -0400
Received: from mingle.glug.org (ttn@netcom15.netcom.com [192.100.81.128])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA18542
	for <scwm-discuss@scwm.mit.edu>; Mon, 30 Aug 1999 16:05:31 -0400
Received: (from ttn@localhost)
	by mingle.glug.org (8.8.7/8.8.7) id GAA02419;
	Mon, 30 Aug 1999 06:28:57 -0700
X-Authentication-Warning: mingle.glug.org: ttn set sender to ttn@mingle.glug.org using -f
From: thi <ttn@mingle.glug.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14282.34579.568690.290559@mingle.glug.org>
Date: Mon, 30 Aug 1999 06:28:51 -0700 (PDT)
To: Greg Badros <gjb@cs.washington.edu>
Cc: Hubert Canon <Hubert.Canon@irisa.fr>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com
Subject: Re: Scwm-0.99.2 pre-release available!
In-Reply-To: <qrrpv0543ry.fsf@elwha.cs.washington.edu>
References: <qrrso5560cx.fsf@elwha.cs.washington.edu>
	<19990830110051.A7101@youkaidi.irisa.fr>
	<19990830144546.A9477@youkaidi.irisa.fr>
	<qrrpv0543ry.fsf@elwha.cs.washington.edu>
X-Mailer: VM 6.71 under Emacs 20.4.1
Reply-To: ttn@netcom.com
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

just another data point:

i ran into TAB issues awhile back when running guile in an emacs buffer.
putting the following in ~/.inputrc and munging some var in readline.c
made the problem go away:

$if guile			<-- app id defined in C code
# disable completion
set disable-completion on
$endif

in the end, the problem *really* went away when guile stopped supporting
readline out of the box.  (but i don't know how that affects scwm.)

thi

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug 30 17:11:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA18859
	for scwm-discuss-outgoing; Mon, 30 Aug 1999 17:11:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA18856
	for <scwm-discuss@scwm.mit.edu>; Mon, 30 Aug 1999 17:11:46 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA16737; Mon, 30 Aug 1999 14:11:40 -0700 (PDT)
To: ttn@netcom.com
Cc: Hubert Canon <Hubert.Canon@irisa.fr>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com
Subject: Re: Scwm-0.99.2 pre-release available!
References: <qrrso5560cx.fsf@elwha.cs.washington.edu> 	<19990830110051.A7101@youkaidi.irisa.fr> 	<19990830144546.A9477@youkaidi.irisa.fr> 	<qrrpv0543ry.fsf@elwha.cs.washington.edu> <14282.34579.568690.290559@mingle.glug.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Aug 1999 14:11:40 -0700
In-Reply-To: thi's message of "Mon, 30 Aug 1999 06:28:51 -0700 (PDT)"
Message-ID: <qrr3dx13reb.fsf@elwha.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

thi <ttn@mingle.glug.org> writes:

> just another data point:
> 
> i ran into TAB issues awhile back when running guile in an emacs buffer.
> putting the following in ~/.inputrc and munging some var in readline.c
> made the problem go away:
> 
> $if guile			<-- app id defined in C code
> # disable completion
> set disable-completion on
> $endif
> 
> in the end, the problem *really* went away when guile stopped supporting
> readline out of the box.  (but i don't know how that affects scwm.)

Unfortunately, I do not want that behaviour either, really.  I like the
completion support, I just don't want tabs to mean completion when there
is no alphanumeric symbol to complete (e.g., leading tabs, and tabs
after whitespace).  Really, I want it to just DTRT, but here I think the
right thing is to have the tabs be converted to spaces before pasting.
(Interestingly, now that I think about it, Scwm could do this for me
when pasting into a guile XTerm window).

Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Aug 30 22:28:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA19828
	for scwm-discuss-outgoing; Mon, 30 Aug 1999 22:28:21 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA19825
	for <scwm-discuss@scwm.mit.edu>; Mon, 30 Aug 1999 22:28:16 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id TAA17004; Mon, 30 Aug 1999 19:28:05 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu, guile@sourceware.cygnus.com,
        gtk-app-devel-list@redhat.com
Subject: guile-gtk images on remote X display
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Aug 1999 19:28:04 -0700
Message-ID: <qrrpv043cqz.fsf@elwha.cs.washington.edu>
Lines: 73
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Does anyone have any insight as to why Scwm, when using guile-gtk and
displaying on a remote X server, would generate these X errors when
trying to display X images (which end up looking very wrong-- largely
garbage)?

X Error of failed request:  BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  129 (MIT-SHM)
  Minor opcode of failed request:  1 (X_ShmAttach)
  Serial number of failed request:  738
  Current serial number in output stream:  739
X Error of failed request:  BadShmSeg (invalid shared segment parameter)
  Major opcode of failed request:  129 (MIT-SHM)
  Minor opcode of failed request:  3 (X_ShmPutImage)
    Segment id in failed request:  0xc00072
Serial number of failed request:  748
  Current serial number in output stream:  750
X Error of failed request:  BadShmSeg (invalid shared segment parameter)
  Major opcode of failed request:  129 (MIT-SHM)
  Minor opcode of failed request:  2 (X_ShmDetach)
    Segment id in failed request:  0xc00072

Seems like gdk is trying to do an optimization using an X11 shared
memory extension, but I don't see this problem with other Gtk
applications, even with other guile-gtk applications (e.g., Galway).

Here's the relevant part of the Scwm backtrace:

#0  ScwmErrorHandler (dpy=0x8169f40, event=0xbfffdda0) at scwm.c:1491
#1  0x4009a9e9 in _XError ()
#2  0x40099251 in _XReply ()
#3  0x40094cf1 in XSync ()
#4  0x40c274b0 in gdk_flush ()
#5  0x40c2c336 in gdk_image_destroy ()
#6  0x40c2dc96 in _gdk_pixmap_create_from_xpm ()
#7  0x40c2ddec in gdk_pixmap_colormap_create_from_xpm ()
#8  0x40c2de38 in gdk_pixmap_create_from_xpm ()
#9  0x40ac4b13 in gtk_pixmap_new_interp (file=0x825f1f0 "/usr/contrib/share/scwm/pixmaps/mini-term.xpm", 
    intended_parent=0x823e260) at gtk-compat.c:53
#10 0x40ad7427 in sgtk_gtk_pixmap_new_interp (p_xpm_file=1083878544, p_intended_parent=1083879936)
    at gtk-glue.c:8310

And here's what Scwm is linked against (pretty typical RH6 box):

% ldd scwm
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40019000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40022000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40037000)
        libXtst.so.6 => /usr/X11R6/lib/libXtst.so.6 (0x40043000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40048000)
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x4005a000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40067000)
        libguile.so.5 => /usr/contrib/lib/libguile.so.5 (0x40104000)
        libdl.so.2 => /lib/libdl.so.2 (0x40171000)
        libm.so.6 => /lib/libm.so.6 (0x40175000)
        libcassowary.so.0 => /usr/contrib/lib/libcassowary.so.0 (0x40191000)
        libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2 (0x40234000)
        libGTL.so.3 => /usr/contrib/lib/libGTL.so.3 (0x40276000)
        libImlib.so.1 => /usr/lib/libImlib.so.1 (0x402ea000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40315000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x40335000)
        libungif.so.4 => /usr/lib/libungif.so.4 (0x40362000)
        libpng.so.2 => /usr/lib/libpng.so.2 (0x4036a000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40387000)
        libc.so.6 => /lib/libc.so.6 (0x40396000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40484000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

I'd like to get this worked out before Scwm-0.99.2, so any help is
appreciated immensely!  I'm willing to go looking, but there's gotta be
some accumulated wisdom that could reduce my search dramatically....

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 31 11:17:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA22689
	for scwm-discuss-outgoing; Tue, 31 Aug 1999 11:17:52 -0400
Received: from marvin.ida.ing.tu-bs.de (dirk@marvin.ida.ing.tu-bs.de [134.169.132.60])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA22686
	for <scwm-discuss@scwm.mit.edu>; Tue, 31 Aug 1999 11:17:46 -0400
Received: from localhost (dirk@localhost)
	by marvin.ida.ing.tu-bs.de (8.9.3/8.9.3) with ESMTP id RAA04195;
	Tue, 31 Aug 1999 17:17:21 +0200
X-Authentication-Warning: marvin.ida.ing.tu-bs.de: dirk owned process doing -bs
Date: Tue, 31 Aug 1999 17:17:20 +0200 (MEST)
From: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
To: SCWM discussion list <scwm-discuss@scwm.mit.edu>
cc: gjb@cs.washington.edu
Subject: Restart problems.
Message-ID: <Pine.LNX.4.10.9908311708520.4072-100000@marvin.ida.ing.tu-bs.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

whenever I restart SCWM from SCWM it does not know about the macro
use-scwm-modules any longer.  If I start SCWM from fvwm, everything
works fine.

Dirk


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 31 11:30:37 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA22712
	for scwm-discuss-outgoing; Tue, 31 Aug 1999 11:30:37 -0400
Received: from marvin.ida.ing.tu-bs.de (dirk@marvin.ida.ing.tu-bs.de [134.169.132.60])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA22709
	for <scwm-discuss@scwm.mit.edu>; Tue, 31 Aug 1999 11:30:32 -0400
Received: from localhost (dirk@localhost)
	by marvin.ida.ing.tu-bs.de (8.9.3/8.9.3) with ESMTP id RAA04375;
	Tue, 31 Aug 1999 17:30:21 +0200
X-Authentication-Warning: marvin.ida.ing.tu-bs.de: dirk owned process doing -bs
Date: Tue, 31 Aug 1999 17:30:21 +0200 (MEST)
From: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
To: SCWM discussion list <scwm-discuss@scwm.mit.edu>
cc: gjb@cs.washington.edu
Subject: startup problems
Message-ID: <Pine.LNX.4.10.9908311717270.4152-100000@marvin.ida.ing.tu-bs.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi again.

When I start SCWM, it has problems with some gtk modules (as it seems).
The following is an extract of the log output that is printed while SCWM
reads a large bunch of modules via the system.scwmrc:

------------- start log -----------------
Starting reading scwm modules
[Scwm][bind-key]: <<WARNING>> Unbound modifier H-
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-slash'
[Scwm][bind-key]: <<WARNING>> Unbound modifier H-
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-M-slash'
[Scwm][bind-key]: <<WARNING>> Unbound modifier H-
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-s'
Unable to connect to server port 35091
This generally means that the program could not talk to the esound server

;;; WARNING (no code for module gtk)

;;; WARNING (Cannot find library libguilegtk-1.1)
Error loading module: (app scwm preferences)
ERROR: In procedure error in expression (error "can't open library" libname):
ERROR: can't open library "libguilegtk-1.1"
Error loading module: (app scwm flux-gtk)
ERROR: In procedure error in expression (error "can't open library" libname):
ERROR: no such module (app scwm flux-gtk)

;;; WARNING (no code for module prompt-bool)

;;; WARNING (no code for module prompt-color)
Done reading modules
------------- end log -----------------


The corresponding code piece from the system.scwmrc:

------------- start -----------------
(debug-display "Starting reading scwm modules\n")

(use-scwm-modules base defoption optargs primopts 
              winops winlist wininfo listops
              style stylist face time-convert menus-extras
              std-menus doc virtual
              flux flux-gtk flash-window key-mover
              fvwm-module path-cache animation themes netscape
              message-window animated-iconify
              modifier-key-bindings window-selection
              group preferences gnome-hints
              send-string quote background
              property-respond highlight-current-window
              esdsound dir-focus tile undo
              )

(debug-display "Done reading modules\n")
-------------- end ------------------

Best regards,
Dirk Herrmann


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 31 11:34:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA22781
	for scwm-discuss-outgoing; Tue, 31 Aug 1999 11:34:02 -0400
Received: from marvin.ida.ing.tu-bs.de (dirk@marvin.ida.ing.tu-bs.de [134.169.132.60])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA22778
	for <scwm-discuss@scwm.mit.edu>; Tue, 31 Aug 1999 11:33:55 -0400
Received: from localhost (dirk@localhost)
	by marvin.ida.ing.tu-bs.de (8.9.3/8.9.3) with ESMTP id RAA04385;
	Tue, 31 Aug 1999 17:33:54 +0200
X-Authentication-Warning: marvin.ida.ing.tu-bs.de: dirk owned process doing -bs
Date: Tue, 31 Aug 1999 17:33:54 +0200 (MEST)
From: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
To: SCWM discussion list <scwm-discuss@scwm.mit.edu>
cc: gjb@cs.washington.edu
Subject: Re: startup problems
In-Reply-To: <Pine.LNX.4.10.9908311717270.4152-100000@marvin.ida.ing.tu-bs.de>
Message-ID: <Pine.LNX.4.10.9908311730570.4344-100000@marvin.ida.ing.tu-bs.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Ooops, regarding my previous message:

I forgot to mention that on my system (Linux 2.2.5 Suse 6.1) there is no
libguilegtk-1.1 but libguilegtk-1.2.

Best regards,
Dirk Herrmann


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 31 12:08:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA23112
	for scwm-discuss-outgoing; Tue, 31 Aug 1999 12:08:27 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA23109
	for <scwm-discuss@scwm.mit.edu>; Tue, 31 Aug 1999 12:08:22 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA17991; Tue, 31 Aug 1999 09:08:07 -0700 (PDT)
To: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Re: Restart problems.
References: <Pine.LNX.4.10.9908311708520.4072-100000@marvin.ida.ing.tu-bs.de>
From: Greg Badros <gjb@cs.washington.edu>
Date: 31 Aug 1999 09:08:07 -0700
In-Reply-To: Dirk Herrmann's message of "Tue, 31 Aug 1999 17:17:20 +0200 (MEST)"
Message-ID: <qrrhflg2as8.fsf@elwha.cs.washington.edu>
Lines: 22
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> whenever I restart SCWM from SCWM it does not know about the macro
> use-scwm-modules any longer.  If I start SCWM from fvwm, everything
> works fine.

Hmmm... odd... I've never noticed this... 

Can you try to investigate further?  

use-scwm-modules is defined in minimal.scm which, at compile time, gets
stuck in "init_scheme_string.c" to define a variable
"init_scheme_string" that then is eval'd in Scwm.c:1021:

  scwm_safe_eval_str(init_scheme_string);

Are there any messages that might be useful?  Can you use gdb to figure
out what's going on?  What version of guile are you running?

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 31 12:09:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA23134
	for scwm-discuss-outgoing; Tue, 31 Aug 1999 12:09:02 -0400
Received: from marvin.ida.ing.tu-bs.de (dirk@marvin.ida.ing.tu-bs.de [134.169.132.60])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA23129
	for <scwm-discuss@scwm.mit.edu>; Tue, 31 Aug 1999 12:08:58 -0400
Received: from localhost (dirk@localhost)
	by marvin.ida.ing.tu-bs.de (8.9.3/8.9.3) with ESMTP id SAA04526;
	Tue, 31 Aug 1999 18:08:52 +0200
X-Authentication-Warning: marvin.ida.ing.tu-bs.de: dirk owned process doing -bs
Date: Tue, 31 Aug 1999 18:08:51 +0200 (MEST)
From: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
To: SCWM discussion list <scwm-discuss@scwm.mit.edu>
cc: gjb@cs.washington.edu
Subject: animated-move-to 'jumps' initially
Message-ID: <Pine.LNX.4.10.9908311744250.4344-100000@marvin.ida.ing.tu-bs.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi again.

I observed the following strange behaviour when moving windows via
animated-move:

Assume the window is at the bottom of the screen and I move it up to the
top: (animated-move-to #f 0).  Then in the very first moment the window
first is moved _downwards_ (yep) a little bit before the animated move
starts to move it to the top.

This initial jump occurs for all directions (not only upwards) and is
dependent of the distance the window is to be moved.  If the window is
very tall or is already close to the top, the effect becomes smaller.  If
the distance is about 200 pixels or less, the effect is not noticeable any
more.

Best regards,
Dirk Herrmann


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 31 12:23:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA23247
	for scwm-discuss-outgoing; Tue, 31 Aug 1999 12:23:59 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA23244
	for <scwm-discuss@scwm.mit.edu>; Tue, 31 Aug 1999 12:23:56 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA17998; Tue, 31 Aug 1999 09:23:39 -0700 (PDT)
To: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Re: startup problems
References: <Pine.LNX.4.10.9908311717270.4152-100000@marvin.ida.ing.tu-bs.de>
From: Greg Badros <gjb@cs.washington.edu>
Date: 31 Aug 1999 09:23:39 -0700
In-Reply-To: Dirk Herrmann's message of "Tue, 31 Aug 1999 17:30:21 +0200 (MEST)"
Message-ID: <qrrg10z3oms.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> Hi again.
> 
> When I start SCWM, it has problems with some gtk modules (as it seems).
> The following is an extract of the log output that is printed while SCWM
> reads a large bunch of modules via the system.scwmrc:

Perhaps your GUILE_LOAD_PATH or SCWM_LOAD_PATH is wrong?  Can you strace 
and see what files are being opened?  I find:

strace -etrace=open scwm --segv-just-stop

is a very useful way to start Scwm when debugging these kinds of things.

Thanks,
Greg



From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 31 12:29:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA23377
	for scwm-discuss-outgoing; Tue, 31 Aug 1999 12:29:23 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA23373
	for <scwm-discuss@scwm.mit.edu>; Tue, 31 Aug 1999 12:29:20 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA18022; Tue, 31 Aug 1999 09:29:12 -0700 (PDT)
To: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Re: animated-move-to 'jumps' initially
References: <Pine.LNX.4.10.9908311744250.4344-100000@marvin.ida.ing.tu-bs.de>
From: Greg Badros <gjb@cs.washington.edu>
Date: 31 Aug 1999 09:29:12 -0700
In-Reply-To: Dirk Herrmann's message of "Tue, 31 Aug 1999 18:08:51 +0200 (MEST)"
Message-ID: <qrrd7w33odj.fsf@elwha.cs.washington.edu>
Lines: 28
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> Hi again.
> 
> I observed the following strange behaviour when moving windows via
> animated-move:
> 
> Assume the window is at the bottom of the screen and I move it up to the
> top: (animated-move-to #f 0).  Then in the very first moment the window
> first is moved _downwards_ (yep) a little bit before the animated move
> starts to move it to the top.
> 
> This initial jump occurs for all directions (not only upwards) and is
> dependent of the distance the window is to be moved.  If the window is
> very tall or is already close to the top, the effect becomes smaller.  If
> the distance is about 200 pixels or less, the effect is not noticeable any
> more.

Good eye-- this is completely intentional (see the Self Cartoon
Animation [I can find a reference if anyone is interested] paper about
why it's a useful effect).  If you don't like it at all, do:

(set-animation! ...)

(there's an example in system.scwmrc that is commented out).

Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 31 16:33:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA24246
	for scwm-discuss-outgoing; Tue, 31 Aug 1999 16:33:32 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from quasar.newtonlabs.com (host97.newtonlabs.com [206.125.74.97])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA24243
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 31 Aug 1999 16:33:26 -0400
Received: from bogomips.newtonlabs.com (bogomips.newtonlabs.com [207.55.51.12])
	by quasar.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) with ESMTP id NAA04163;
	Tue, 31 Aug 1999 13:32:42 -0700
Received: (from cwitty@localhost)
	by bogomips.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) id NAA31272;
	Tue, 31 Aug 1999 13:32:40 -0700
To: Greg Badros <gjb@cs.washington.edu>
Cc: Dirk Herrmann <dirk@ida.ing.tu-bs.de>,
        SCWM discussion list <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: animated-move-to 'jumps' initially
References: <Pine.LNX.4.10.9908311744250.4344-100000@marvin.ida.ing.tu-bs.de> <qrrd7w33odj.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: cwitty@newtonlabs.com (Carl R. Witty)
Date: 31 Aug 1999 13:32:35 -0700
In-Reply-To: Greg Badros's message of "31 Aug 1999 09:29:12 -0700"
Message-ID: <v4jk8qbvggs.fsf@bogomips.newtonlabs.com>
Lines: 12
X-Mailer: Gnus v5.4.61/Emacs 19.34
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Good eye-- this is completely intentional (see the Self Cartoon
> Animation [I can find a reference if anyone is interested] paper about

Yes, I'd like the reference.

> why it's a useful effect).  If you don't like it at all, do:

Thanks!

Carl

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 31 17:36:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA24445
	for scwm-discuss-outgoing; Tue, 31 Aug 1999 17:36:29 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA24442
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 31 Aug 1999 17:36:20 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA18256; Tue, 31 Aug 1999 14:36:13 -0700 (PDT)
To: cwitty@newtonlabs.com (Carl R. Witty)
Cc: Dirk Herrmann <dirk@ida.ing.tu-bs.de>,
        SCWM discussion list <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: animated-move-to 'jumps' initially
References: <Pine.LNX.4.10.9908311744250.4344-100000@marvin.ida.ing.tu-bs.de> <qrrd7w33odj.fsf@elwha.cs.washington.edu> <v4jk8qbvggs.fsf@bogomips.newtonlabs.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 31 Aug 1999 14:36:13 -0700
In-Reply-To: cwitty@newtonlabs.com's message of "31 Aug 1999 13:32:35 -0700"
Message-ID: <qrr906r3a5u.fsf@elwha.cs.washington.edu>
Lines: 22
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

cwitty@newtonlabs.com (Carl R. Witty) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > Good eye-- this is completely intentional (see the Self Cartoon
> > Animation [I can find a reference if anyone is interested] paper about
> 
> Yes, I'd like the reference.

Sorry I didn't post it before-- I was running off to play tennis.  Here
you go:

@Article{Chang93a,
  author = 	 "Chang, Bay-Wei and Ungar, David",
  title = 	 "Animation: From Cartoons to the User Interface",
  journal =	 "User Interface Software and Technology",
  year =	 1993,
  pages =	 "45--55",
  month =	 "November 3-5"
}

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Aug 31 19:11:53 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA24851
	for scwm-discuss-outgoing; Tue, 31 Aug 1999 19:11:53 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from quasar.newtonlabs.com (host97.newtonlabs.com [206.125.74.97])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA24848
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 31 Aug 1999 19:11:46 -0400
Received: from bogomips.newtonlabs.com (bogomips.newtonlabs.com [207.55.51.12])
	by quasar.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) with ESMTP id QAA06797;
	Tue, 31 Aug 1999 16:11:40 -0700
Received: (from cwitty@localhost)
	by bogomips.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) id QAA00474;
	Tue, 31 Aug 1999 16:11:39 -0700
To: Greg Badros <gjb@cs.washington.edu>
Cc: Dirk Herrmann <dirk@ida.ing.tu-bs.de>,
        SCWM discussion list <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: animated-move-to 'jumps' initially
References: <Pine.LNX.4.10.9908311744250.4344-100000@marvin.ida.ing.tu-bs.de> <qrrd7w33odj.fsf@elwha.cs.washington.edu> <v4jk8qbvggs.fsf@bogomips.newtonlabs.com> <qrr906r3a5u.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: cwitty@newtonlabs.com (Carl R. Witty)
Date: 31 Aug 1999 16:11:38 -0700
In-Reply-To: Greg Badros's message of "31 Aug 1999 14:36:13 -0700"
Message-ID: <v4jg10zv93p.fsf@bogomips.newtonlabs.com>
Lines: 16
X-Mailer: Gnus v5.4.61/Emacs 19.34
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> @Article{Chang93a,
>   author = 	 "Chang, Bay-Wei and Ungar, David",
>   title = 	 "Animation: From Cartoons to the User Interface",
>   journal =	 "User Interface Software and Technology",
>   year =	 1993,
>   pages =	 "45--55",
>   month =	 "November 3-5"
> }

Thanks!  If anyone else is interested, you can download this paper
(postscript or PDF) from:
	http://www.sunlabs.com/technical-reports/1995/abstract-33.html

Carl Witty

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  1 02:01:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA25666
	for scwm-discuss-outgoing; Wed, 1 Sep 1999 02:01:29 -0400
Received: from marvin.ida.ing.tu-bs.de (dirk@marvin.ida.ing.tu-bs.de [134.169.132.60])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA25663
	for <scwm-discuss@scwm.mit.edu>; Wed, 1 Sep 1999 02:01:24 -0400
Received: from localhost (dirk@localhost)
	by marvin.ida.ing.tu-bs.de (8.9.3/8.9.3) with ESMTP id IAA18000;
	Wed, 1 Sep 1999 08:01:14 +0200
X-Authentication-Warning: marvin.ida.ing.tu-bs.de: dirk owned process doing -bs
Date: Wed, 1 Sep 1999 08:01:14 +0200 (MEST)
From: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
To: Greg Badros <gjb@cs.washington.edu>
cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Re: Restart problems.
In-Reply-To: <qrrhflg2as8.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.LNX.4.10.9909010754450.5523-100000@marvin.ida.ing.tu-bs.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 31 Aug 1999, Greg Badros wrote:

> > whenever I restart SCWM from SCWM it does not know about the macro
> > use-scwm-modules any longer.  If I start SCWM from fvwm, everything
> > works fine.
> Are there any messages that might be useful?  Can you use gdb to figure
> out what's going on?  What version of guile are you running?

My version of guile is 1.3 as it comes with the Suse 6.1 distribution.
Maybe this already explains it?   However, I attempted to build a fresh
guile from CVS yesterday, but this causes ld to crash :(

Best regards,
Dirk Herrmann


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  1 02:27:56 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA25792
	for scwm-discuss-outgoing; Wed, 1 Sep 1999 02:27:56 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA25789
	for <scwm-discuss@scwm.mit.edu>; Wed, 1 Sep 1999 02:27:51 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id XAA19154; Tue, 31 Aug 1999 23:27:45 -0700 (PDT)
To: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Re: Restart problems.
References: <Pine.LNX.4.10.9909010754450.5523-100000@marvin.ida.ing.tu-bs.de>
From: Greg Badros <gjb@cs.washington.edu>
Date: 31 Aug 1999 23:27:45 -0700
In-Reply-To: Dirk Herrmann's message of "Wed, 1 Sep 1999 08:01:14 +0200 (MEST)"
Message-ID: <qrr3dwzywm6.fsf@elwha.cs.washington.edu>
Lines: 21
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> On 31 Aug 1999, Greg Badros wrote:
> 
> > > whenever I restart SCWM from SCWM it does not know about the macro
> > > use-scwm-modules any longer.  If I start SCWM from fvwm, everything
> > > works fine.
> > Are there any messages that might be useful?  Can you use gdb to figure
> > out what's going on?  What version of guile are you running?
> 
> My version of guile is 1.3 as it comes with the Suse 6.1 distribution.
> Maybe this already explains it?   However, I attempted to build a fresh
> guile from CVS yesterday, but this causes ld to crash :(

Hmmm... I was hoping for Scwm to still work with the old stable (1.3)
version of guile.  I'd try to figure out why ld is crashing... a system
where that happens makes me worry about lots of things...

Thanks,
Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  1 03:57:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA26164
	for scwm-discuss-outgoing; Wed, 1 Sep 1999 03:57:12 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA26161
	for <scwm-discuss@scwm.mit.edu>; Wed, 1 Sep 1999 03:57:09 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id AAA19255; Wed, 1 Sep 1999 00:57:05 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu, guile@sourceware.cygnus.com
Subject: New pre-release of scwm-0.99.2pre2, guile, guile-gtk RPMs
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Sep 1999 00:57:05 -0700
Message-ID: <qrrzoz7xdwu.fsf@elwha.cs.washington.edu>
Lines: 42
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I just updated

ftp://upintheair.cs.washington.edu/pub/scwm

to contain the latest and greatest pre-release of Scwm-0.99.2.  I've
ironed out (hopefully) lots of build problems thanks to you all, and
fixed a handful of bugs touching on lots of different things.  See the
ChangeLogs for details.

Also note that:

ftp://upintheair.cs.washington.edu/pub/scwm/RPMS/*

contains all the x86 RPMS you need to upgrade a RH6.0 box to use Scwm
with the constraint solver.  It includes (now readline-capable) RPMs of
guile-1.3.3, as well as a guile-gtk-* linked against guile-1.3.3
(libguile.so.6).

As RH6-notes in the scwm distribution reminds you, Scwm should be as
easy as downloading the files from the RPMS/* subdirectory and doing:

rpm -Uvh --nodeps guile-1.3.3-1gjb.i386.rpm
rpm -Uvh guile-devel-1.3.3-1gjb.i386.rpm
rpm -ivh guile-gtk-26Aug99-2gjb.i386.rpm GTL-0.3.1-1.i386.rpm cassowary-0.51-3.i386.rpm
rpm -ivh scwm-icons-0.99.2-2.i386.rpm
rpm -ivh scwm-0.99.2pre2-2.i386.rpm

or just:

rpm -Uvh --nodeps {guile,guile-devel}-*.i386.rpm
rpm -ivh {guile-gtk,GTL,cassowary,scwm-icons,scwm}-*.i386.rpm


As usual, I anxiously await your bug reports (and success reports,
hopefully).  I'm particularly interested if you can test against a
pretty-much stock RH6.0.

Thanks,
Greg J. Badros
gjb@cs.washington.edu
Seattle, WA  USA
http://www.cs.washington.edu/homes/gjb

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  1 13:57:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA29188
	for scwm-discuss-outgoing; Wed, 1 Sep 1999 13:57:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mons.uio.no (6089@mons.uio.no [129.240.130.14])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id NAA29185
	for <scwm-discuss@scwm.mit.edu>; Wed, 1 Sep 1999 13:57:10 -0400
Received: from mons.uio.no (actually mons.uio.no [129.240.130.14]) by mons.uio.no with SMTP (PP); Wed, 1 Sep 1999 19:57:07 +0200
Received: from octarine.uio.no ([129.240.186.25]) by mons.uio.no with esmtp (Exim 2.12 #6) id 11MEd8-00011v-00 
          for scwm-discuss@scwm.mit.edu; Wed, 1 Sep 1999 19:57:06 +0200
Received: from hmeland by octarine.uio.no with local (Exim 2.12 #6) id 11MEd7-0002J6-00 for scwm-discuss@scwm.mit.edu;
          Wed, 1 Sep 1999 19:57:05 +0200
To: scwm-discuss@scwm.mit.edu
Subject: Re: New pre-release of scwm-0.99.2pre2, guile, guile-gtk RPMs
References: <qrrzoz7xdwu.fsf@elwha.cs.washington.edu>
From: Harald Meland <Harald.Meland@usit.uio.no>
Date: 01 Sep 1999 19:57:05 +0200
In-Reply-To: Greg Badros's message of "01 Sep 1999 00:57:05 -0700"
Message-ID: <d6dd7w2bjm6.fsf@octarine.uio.no>
Lines: 158
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

[Greg Badros]

> I just updated
> 
> ftp://upintheair.cs.washington.edu/pub/scwm
> 
> to contain the latest and greatest pre-release of Scwm-0.99.2.  I've
> ironed out (hopefully) lots of build problems thanks to you all,

Some do remain (for me, at least), though :(

I'm using guile-1.3.2a.

First, I tried to build on Solaris 7 with SUN's cc.  Quick summary:

  $ PERL=/local/bin/perl5 LDFLAGS="-L/opt/local/lib -R/opt/local/libs" \
      CXX=CC CC=cc ./configure --prefix=/opt/local
  $ make
  cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/local/X11R6/include -I/opt/local/include           -I/opt/local/include    -g -c callbacks.c
  "callbacks.c", line 86: undefined symbol: scm_the_last_stack_var
  cc: acomp failed for callbacks.c
  make[1]: *** [callbacks.o] Error 2
  make[1]: Leaving directory `/usit/morgoth/src/MASTER/scwm/scwm-0.99.2pre2/scwm'
  make: *** [all-recursive] Error 1

The "horrible hack" commentary just above line 86 in callbacks.c led
me to believe that this was more or less an anticipated problem.  To
get a hint of whether there were other problems with using SUN's cc as
well, I did this:

  $ make -k >& /dev/null
  $ make -k

which fortunately only reported the callbacks.c error.

Building with gcc works fine, though.

I get scwm up and running on my second screen (display :0.1).  Here's
a quick recipy for how to crash scwm:

  $ scwmrepl 
  scwm> (list-windows)
  (#<window 50331669: "octarine:/opt/local/.packages">)
  scwm> (window-property (car (list-windows )) 'foobar)

produces this error output from scwm:

  [Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault...
  please run with '--segv-just-stop' or '--segv-reset-count 0'
  and report a bug!
  Trying to continue... save your work if you still can!

and successfully continues until I do a new `window-property' call.
Starting scwm like this:

  $ (cd ~; scwm --segv-just-stop -d :0.1 -s >& .SCWM-errors &)

and repeating the `window-property' call produces a coredump:

  $ gdb /opt/local/bin/scwm ~/core
  GDB is free software and you are welcome to distribute copies of it
   under certain conditions; type "show copying" to see the conditions.
  There is absolutely no warranty for GDB; type "show warranty" for details.
  GDB 4.16 (sparc-sun-solaris2.5), 
  Copyright 1996 Free Software Foundation, Inc...
  Core was generated by `scwm --segv-just-stop -d :0.1 -s'.
  Program terminated with signal 11, Segmentation fault.
  Reading symbols from /local/X11R6/lib/libXext.so.6.4...done.
  Reading symbols from /local/X11R6/lib/libXmu.so.6.0...done.
  Reading symbols from /local/X11R6/lib/libXpm.so.4.11...done.
  Reading symbols from /local/X11R6/lib/libX11.so.6.1...done.
  Reading symbols from /usr/lib/libsocket.so.1...done.
  Reading symbols from /usr/lib/libnsl.so.1...done.
  Reading symbols from /opt/local/lib/libguile.so.5...done.
  Reading symbols from /opt/local/lib/libqthreads.so.0...done.
  Reading symbols from /usr/lib/libdl.so.1...done.
  Reading symbols from /usr/lib/libm.so.1...done.
  Reading symbols from /opt/local/lib/libImlib.so.1...done.
  Reading symbols from /opt/local/lib/libtiff.so...done.
  Reading symbols from /opt/local/lib/libungif.so.3...done.
  Reading symbols from /opt/local/lib/libpng.so.2...done.
  Reading symbols from /local/X11R6/lib/libSM.so.6.0...done.
  Reading symbols from /local/X11R6/lib/libICE.so.6.3...done.
  Reading symbols from /usr/lib/libc.so.1...done.
  Reading symbols from /local/X11R6/lib/libXt.so.6.0...done.
  Reading symbols from /usr/lib/libmp.so.2...done.
  ---Type <return> to continue, or q <return> to quit---
  Reading symbols from /opt/local/lib/libz.so...done.
  Reading symbols from /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done.
  Reading symbols from /opt/local/lib/scwm/modules/app/scwm/libc-animation.so.0...done.
  Reading symbols from /opt/local/lib/scwm/modules/app/scwm/libxlib-drawing.so.0...done.
  #0  0xfeff2af0 in scm_hash_fn_get_handle ()
  (gdb) where
  #0  0xfeff2af0 in scm_hash_fn_get_handle ()
  #1  0xfeff2ff0 in scm_hash_fn_ref ()
  #2  0xfeff34bc in scm_hashq_ref ()
  #3  0x59718 in window_property (win=3369752, prop=2990080) at winprop.c:149
  #4  0xfefd7204 in scm_deval ()
  #5  0xfefd0440 in scm_eval_3 ()
  #6  0xfefd05fc in scm_eval_x ()
  #7  0x2dd74 in scwm_body_eval_x (body_data=0xffbeee1c) at callbacks.c:573
  #8  0xff05735c in scm_internal_lazy_catch ()
  #9  0xff05760c in cwss_body ()
  #10 0xff056e28 in scm_internal_catch ()
  #11 0xff0576c4 in scm_internal_stack_catch ()
  #12 0x2dec8 in scwm_body_eval_str (body_data=0x2b74) at callbacks.c:579
  #13 0xff056e28 in scm_internal_catch ()
  #14 0x3c3c8 in scm_internal_cwdr_no_unwind (body=0x2de50 <scwm_body_eval_str>, 
      body_data=0x377870, handler=0x94ab8 <scm_handle_by_message_noexit>, 
      handler_data=0x7bf40, stack_start=0x99240) at guile-compat.c:110
  #15 0x2dfc4 in scwm_safe_eval_str (
      string=0x377870 "(window-property (car (list-windows )) 'foobar)")
      at callbacks.c:647
  #16 0x35e9c in HandleScwmExec () at events.c:703
  #17 0x36660 in HandlePropertyNotify () at events.c:930
  #18 0x35528 in DispatchEvent () at events.c:284
  ---Type <return> to continue, or q <return> to quit---
  #19 0x35564 in HandleEvents () at events.c:306
  #20 0x4c5f0 in scwm_main (argc=5, argv=0xffbef93c) at scwm.c:1120
  #21 0xfefef0cc in gh_launch_pad ()
  #22 0xfeff5a98 in invoke_main_func ()
  #23 0xff05735c in scm_internal_lazy_catch ()
  #24 0xfeff59c4 in scm_boot_guile_1 ()
  #25 0xfeff5588 in scm_boot_guile ()
  #26 0xfefef154 in gh_enter ()
  #27 0x4b9c4 in main (argc=5, argv=0xffbef93c) at scwm.c:531

The xprop(1) output for the window after this coredump-producing crash
(with no window manager running on the screen) is:

  $ xprop -display :0.1
  WM_STATE(WM_STATE):
                  window state: Normal
                  icon window: 0x1800046
  WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW
  WM_CLIENT_LEADER(WINDOW): window id # 0x3000015
  WM_LOCALE_NAME(STRING) = "C"
  WM_CLASS(STRING) = "xterm", "XTerm"
  WM_HINTS(WM_HINTS):
                  Client accepts input or input focus: True
                  Initial state is Normal State.
  WM_NORMAL_HINTS(WM_SIZE_HINTS):
                  user specified size: 579 by 329
                  program specified size: 579 by 329
                  program specified minimum size: 26 by 17
                  program specified resize increment: 7 by 13
                  program specified base size: 19 by 4
  WM_CLIENT_MACHINE(STRING) = "octarine"
  WM_COMMAND(STRING) = { "xterm" }
  WM_ICON_NAME(STRING) = "xterm"
  WM_NAME(STRING) = "octarine:/opt/local/.packages"

I hope this helps in squashing some more bugs, and let me know if
there's anything else you'd like me to try.

Cheers,
-- 
Harald

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  1 14:15:55 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA29318
	for scwm-discuss-outgoing; Wed, 1 Sep 1999 14:15:55 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA29315
	for <scwm-discuss@scwm.mit.edu>; Wed, 1 Sep 1999 14:15:50 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA19923; Wed, 1 Sep 1999 11:15:45 -0700 (PDT)
To: Harald Meland <Harald.Meland@usit.uio.no>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: New pre-release of scwm-0.99.2pre2, guile, guile-gtk RPMs
References: <qrrzoz7xdwu.fsf@elwha.cs.washington.edu> <d6dd7w2bjm6.fsf@octarine.uio.no>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Sep 1999 11:15:45 -0700
In-Reply-To: Harald Meland's message of "01 Sep 1999 19:57:05 +0200"
Message-ID: <qrru2pexzu6.fsf@elwha.cs.washington.edu>
Lines: 94
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Harald Meland <Harald.Meland@usit.uio.no> writes:

> [Greg Badros]
> 
> > I just updated
> > 
> > ftp://upintheair.cs.washington.edu/pub/scwm
> > 
> > to contain the latest and greatest pre-release of Scwm-0.99.2.  I've
> > ironed out (hopefully) lots of build problems thanks to you all,
> 
> Some do remain (for me, at least), though :(
> 
> I'm using guile-1.3.2a.
> 
> First, I tried to build on Solaris 7 with SUN's cc.  Quick summary:
> 
>   $ PERL=/local/bin/perl5 LDFLAGS="-L/opt/local/lib -R/opt/local/libs" \
>       CXX=CC CC=cc ./configure --prefix=/opt/local
>   $ make
>   cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/local/X11R6/include -I/opt/local/include           -I/opt/local/include    -g -c callbacks.c
>   "callbacks.c", line 86: undefined symbol: scm_the_last_stack_var
>   cc: acomp failed for callbacks.c
>   make[1]: *** [callbacks.o] Error 2
>   make[1]: Leaving directory `/usit/morgoth/src/MASTER/scwm/scwm-0.99.2pre2/scwm'
>   make: *** [all-recursive] Error 1

Hmmm in include/config.h, is

HAVE_SCM_THE_LAST_STACK_FLUID

defined?

It should be if you're using guile-1.3.2a.  


> The "horrible hack" commentary just above line 86 in callbacks.c led
> me to believe that this was more or less an anticipated problem.  To
> get a hint of whether there were other problems with using SUN's cc as
> well, I did this:

Nah, the horrible hack is just a very defensive way to prevent a common
segfault that I was observing back in april.

>   $ make -k >& /dev/null
>   $ make -k
> 
> which fortunately only reported the callbacks.c error.
> 
> Building with gcc works fine, though.

So when you configure with CC=gcc, things in include/config.h must look different.

> I get scwm up and running on my second screen (display :0.1).  Here's
> a quick recipy for how to crash scwm:
> 
>   $ scwmrepl 
>   scwm> (list-windows)
>   (#<window 50331669: "octarine:/opt/local/.packages">)
>   scwm> (window-property (car (list-windows )) 'foobar)
> 
> produces this error output from scwm:
> 
>   [Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault...
>   please run with '--segv-just-stop' or '--segv-reset-count 0'
>   and report a bug!
>   Trying to continue... save your work if you still can!
> 
> and successfully continues until I do a new `window-property' call.
> Starting scwm like this:
> 
>   $ (cd ~; scwm --segv-just-stop -d :0.1 -s >& .SCWM-errors &)
> 
> and repeating the `window-property' call produces a coredump:

<snip>

The backtrace looks like its a guile or library mismatch bug.  I'm
fairly certain it's not a bug in Scwm, but I don't have a lot of insight 
as to how to fix it.  I'd try to get a better handle on the configure
issues that are causing you trouble and use truss and ldd to interrogate 
what files are getting linked in, etc. 


> I hope this helps in squashing some more bugs, and let me know if
> there's anything else you'd like me to try.

Please let me know how you've resolved the configuration cc/gcc
difficulties and maybe we'll be able to nail down something that Scwm
could do differently or better to help out.

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  1 16:06:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA29726
	for scwm-discuss-outgoing; Wed, 1 Sep 1999 16:06:00 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mons.uio.no (6089@mons.uio.no [129.240.130.14])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id QAA29723
	for <scwm-discuss@scwm.mit.edu>; Wed, 1 Sep 1999 16:05:35 -0400
Received: from mons.uio.no (actually mons.uio.no [129.240.130.14]) by mons.uio.no with SMTP (PP); Wed, 1 Sep 1999 22:05:29 +0200
Received: from octarine.uio.no ([129.240.186.25]) by mons.uio.no with esmtp (Exim 2.12 #6) id 11MGdM-0003Jn-00 
          for scwm-discuss@scwm.mit.edu; Wed, 1 Sep 1999 22:05:28 +0200
Received: from hmeland by octarine.uio.no with local (Exim 2.12 #6) id 11MGdL-0005V9-00 for scwm-discuss@scwm.mit.edu;
          Wed, 1 Sep 1999 22:05:27 +0200
To: scwm-discuss@scwm.mit.edu
Subject: Re: New pre-release of scwm-0.99.2pre2, guile, guile-gtk RPMs
References: <qrrzoz7xdwu.fsf@elwha.cs.washington.edu> <d6dd7w2bjm6.fsf@octarine.uio.no> <qrru2pexzu6.fsf@elwha.cs.washington.edu>
From: Harald Meland <Harald.Meland@usit.uio.no>
Date: 01 Sep 1999 22:05:27 +0200
In-Reply-To: Greg Badros's message of "01 Sep 1999 11:15:45 -0700"
Message-ID: <d6dvh9u9z3s.fsf@octarine.uio.no>
Lines: 93
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.4
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


--=-=-=

[Greg Badros]

> Harald Meland <Harald.Meland@usit.uio.no> writes:
> 
> > I'm using guile-1.3.2a.

Umm, that wasn't entirely true -- I had switched back to guile-1.3
(*blush*) to get try my previous scwm build.  However, *now* I am
using guile-1.3.2a.

> > First, I tried to build on Solaris 7 with SUN's cc.  Quick summary:
> > 
> >   $ PERL=/local/bin/perl5 LDFLAGS="-L/opt/local/lib -R/opt/local/libs" \
> >       CXX=CC CC=cc ./configure --prefix=/opt/local
> 
> Hmmm in include/config.h, is
> 
> HAVE_SCM_THE_LAST_STACK_FLUID
> 
> defined?

Just after having run "make distclean" and the above configure
command:

  $ grep LAST_STACK include/config.h
  #define HAVE_SCM_THE_LAST_STACK_FLUID 1

Building with SUN's cc using guile-1.3.2a now seems to work fine.

(For extra safety, I removed the old scwm before building -- so that
the new scwm wouldn't link to any of the old scwm's shared libraries
etc.)

Things does appear to be running rather smoothly (e.g. window-property
works).  However, I managed to crash scwm like this:

  Start a scwm with a completely empty .scwmrc
  $ scwmrepl
  scwm> list-windows

Backtrace:

  #0  0xff057528 in ss_handler ()
  #1  0xff05864c in scm_ithrow ()
  #2  0xfefc0650 in scm_error ()
  #3  0xfefc10cc in scm_misc_error ()
  #4  0xfefc267c in scm_lookupcar1 ()
  #5  0xfefc279c in scm_lookupcar ()
  #6  0xfefd1680 in scm_deval ()
  #7  0xfefd0440 in scm_eval_3 ()
  #8  0xfefd05fc in scm_eval_x ()
  #9  0x427f8 in scwm_body_eval_x ()
  #10 0xff05735c in scm_internal_lazy_catch ()
  #11 0xff05760c in cwss_body ()
  #12 0xff056e28 in scm_internal_catch ()
  #13 0xff0576c4 in scm_internal_stack_catch ()
  #14 0x42880 in scwm_catching_eval_x ()
  #15 0x428fc in scwm_catching_load_from_port ()
  #16 0x42a8c in scwm_body_eval_str ()
  #17 0xff056e28 in scm_internal_catch ()
  #18 0x5c9a8 in scm_internal_cwdr_no_unwind ()
  #19 0x42c10 in scwm_safe_eval_str ()
  #20 0x51220 in HandleScwmExec ()
  #21 0x51490 in HandlePropertyNotify ()
  #22 0x5011c in DispatchEvent ()
  #23 0x50184 in HandleEvents ()
  #24 0x796c0 in scwm_main ()
  #25 0xfefef0cc in gh_launch_pad ()
  #26 0xfeff5a98 in invoke_main_func ()
  #27 0xff05735c in scm_internal_lazy_catch ()
  #28 0xfeff59c4 in scm_boot_guile_1 ()
  #29 0xfeff5588 in scm_boot_guile ()
  #30 0xfefef154 in gh_enter ()
  #31 0x783a4 in main ()

(gdb seems unable to extract function arguments for coredumps from
SUN-cc-compiled binaries.)

Does this suggest more inconsistencies on my system?  If so, what in
such a backtrace is it that should make me suspect inconsistencies as
opposed to something else -- I don't want to keep bugging you with
these backtraces if there's a better way for me to clean my system up
myself...

Finally, here's a patch to scwm.el that makes it easier to
interfereact with scwm from an Emacs on a separate screen:


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=scwm_patch

--- utilities/emacs/scwm.el.orig	Sat Aug  7 02:02:50 1999
+++ utilities/emacs/scwm.el	Wed Sep  1 22:03:31 1999
@@ -135,6 +135,7 @@
 (defvar scwm-repl "scwmrepl" "*The path to scwmrepl.")
 (defvar scwm-exec "scwmexec" "*The path to scwmexec.")
 (defvar scwm-source-path "/usr/src/scwm/" "*The path to the Scwm sources.")
+(defvar scwm-display ":0" "*Display scwm is running on.")
 
 ;; thing-at-point-file-name-chars ==>
 (defvar scwm-file-name-chars "~/A-Za-z0-9---_.${}#%,:"
@@ -161,6 +162,14 @@
                       (unless (bobp) (backward-char 1))
                       (thing-at-point 'symbol)) ""))
 
+(defmacro with-display (display &rest body)
+  "Execute BODY with environment variable DISPLAY set to DISPLAY."
+  `(let ((orig-display (getenv "DISPLAY")))
+     (setenv "DISPLAY" ,display)
+     (prog1
+	 (progn ,@body)
+       (setenv "DISPLAY" orig-display))))
+
 ;; user functions
 ;; ---- ---------
 
@@ -209,7 +218,9 @@
     (let ((ff (symbol-function 'run-scheme)))
       (if (and (consp ff) (eq (car ff) 'autoload)) (load (cadr ff))
 	  (error "no `inferior-scheme-mode' and no place to get it from."))))
-  (pop-to-buffer (setq scheme-buffer (make-comint "scwm" scwm-repl)))
+  (pop-to-buffer (setq scheme-buffer
+		       (with-display scwm-display
+			 (make-comint "scwm" scwm-repl))))
   (inferior-scheme-mode)
   (define-key inferior-scheme-mode-map [(control h)]
     (lookup-key scwm-mode-map [(control h)]))
@@ -225,7 +236,8 @@
 All evaluation goes through this procedure."
   (when (string-match "(\\s *\\(define\\|use-\\(scwm-\\)?modules\\|load\\)" sexp)
     (setq scwm-obarray nil))
-  (call-process scwm-exec nil out nil sexp))
+  (with-display scwm-display
+    (call-process scwm-exec nil out nil sexp)))
 
 ;; for GNU Emacs
 (unless (fboundp 'frame-property)

--=-=-=


Cheers,
-- 
Harald

--=-=-=--

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  1 16:56:06 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA29902
	for scwm-discuss-outgoing; Wed, 1 Sep 1999 16:56:06 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA29899
	for <scwm-discuss@scwm.mit.edu>; Wed, 1 Sep 1999 16:56:01 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA20074; Wed, 1 Sep 1999 13:55:57 -0700 (PDT)
To: Harald Meland <Harald.Meland@usit.uio.no>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: New pre-release of scwm-0.99.2pre2, guile, guile-gtk RPMs
References: <qrrzoz7xdwu.fsf@elwha.cs.washington.edu> <d6dd7w2bjm6.fsf@octarine.uio.no> <qrru2pexzu6.fsf@elwha.cs.washington.edu> <d6dvh9u9z3s.fsf@octarine.uio.no>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Sep 1999 13:55:56 -0700
In-Reply-To: Harald Meland's message of "01 Sep 1999 22:05:27 +0200"
Message-ID: <qrrpv02xsf7.fsf@elwha.cs.washington.edu>
Lines: 64
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Harald Meland <Harald.Meland@usit.uio.no> writes:

> --=-=-=
> 
> [Greg Badros]
> 
> > Harald Meland <Harald.Meland@usit.uio.no> writes:
> > 
> > > I'm using guile-1.3.2a.
> 
> Umm, that wasn't entirely true -- I had switched back to guile-1.3
> (*blush*) to get try my previous scwm build.  However, *now* I am
> using guile-1.3.2a.
> 
> > > First, I tried to build on Solaris 7 with SUN's cc.  Quick summary:
> > > 
> > >   $ PERL=/local/bin/perl5 LDFLAGS="-L/opt/local/lib -R/opt/local/libs" \
> > >       CXX=CC CC=cc ./configure --prefix=/opt/local
> > 
> > Hmmm in include/config.h, is
> > 
> > HAVE_SCM_THE_LAST_STACK_FLUID
> > 
> > defined?
> 
> Just after having run "make distclean" and the above configure
> command:
> 
>   $ grep LAST_STACK include/config.h
>   #define HAVE_SCM_THE_LAST_STACK_FLUID 1
> 
> Building with SUN's cc using guile-1.3.2a now seems to work fine.
> 
> (For extra safety, I removed the old scwm before building -- so that
> the new scwm wouldn't link to any of the old scwm's shared libraries
> etc.)
> 
> Things does appear to be running rather smoothly (e.g. window-property
> works).  However, I managed to crash scwm like this:
> 
>   Start a scwm with a completely empty .scwmrc
>   $ scwmrepl
>   scwm> list-windows

Hmmm, does it do the same with a gcc build?

<snip>

> Does this suggest more inconsistencies on my system?  If so, what in
> such a backtrace is it that should make me suspect inconsistencies as
> opposed to something else -- I don't want to keep bugging you with
> these backtraces if there's a better way for me to clean my system up
> myself...

It's always hard to say... I don't mind helping debug this stuff as I
learn things too.

> Finally, here's a patch to scwm.el that makes it easier to
> interfereact with scwm from an Emacs on a separate screen:

Great patch-- I'd always globally been setting my DISPLAY, but this is
nicer, for sure. Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  1 18:13:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA30280
	for scwm-discuss-outgoing; Wed, 1 Sep 1999 18:13:08 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mons.uio.no (6089@mons.uio.no [129.240.130.14])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id SAA30277
	for <scwm-discuss@scwm.mit.edu>; Wed, 1 Sep 1999 18:13:02 -0400
Received: from mons.uio.no (actually mons.uio.no [129.240.130.14]) by mons.uio.no with SMTP (PP); Thu, 2 Sep 1999 00:12:53 +0200
Received: from octarine.uio.no ([129.240.186.25]) by mons.uio.no with esmtp (Exim 2.12 #6) id 11MIcf-000676-00 
          for scwm-discuss@scwm.mit.edu; Thu, 2 Sep 1999 00:12:53 +0200
Received: from hmeland by octarine.uio.no with local (Exim 2.12 #6) id 11MIce-00006N-00 for scwm-discuss@scwm.mit.edu;
          Thu, 2 Sep 1999 00:12:52 +0200
To: scwm-discuss@scwm.mit.edu
Subject: Re: New pre-release of scwm-0.99.2pre2, guile, guile-gtk RPMs
References: <qrrzoz7xdwu.fsf@elwha.cs.washington.edu> <d6dd7w2bjm6.fsf@octarine.uio.no> <qrru2pexzu6.fsf@elwha.cs.washington.edu> <d6dvh9u9z3s.fsf@octarine.uio.no> <qrrpv02xsf7.fsf@elwha.cs.washington.edu>
From: Harald Meland <Harald.Meland@usit.uio.no>
Date: 02 Sep 1999 00:12:51 +0200
In-Reply-To: Greg Badros's message of "01 Sep 1999 13:55:56 -0700"
Message-ID: <d6dn1v69t7g.fsf@octarine.uio.no>
Lines: 61
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

[Greg Badros]

> Harald Meland <Harald.Meland@usit.uio.no> writes:
> 
> > Things does appear to be running rather smoothly (e.g. window-property
> > works).  However, I managed to crash scwm like this:
> > 
> >   Start a scwm with a completely empty .scwmrc
> >   $ scwmrepl
> >   scwm> list-windows
> 
> Hmmm, does it do the same with a gcc build?

I tested with an scwm re-built with gcc after removing all of the
other scwm's I now have lying around -- and it doesn't:

  scwm> list-windows
  
  Backtrace:
  0* list-windows
  
  ERROR: In expression list-windows:
  ERROR: Unbound variable: list-windows
  ERROR: In procedure apply:
  ERROR: Wrong type argument in position 1: 1

However, with this gcc-built scwm, calls to window-property produces
SIGSEGV again.  I also get one additional warning on startup:

  [Scwm][nocolor]: <<ERROR>> can't alloc color color gradient DarkViolet to DarkViolet

(in addition to the usual
  [Scwm][init_modifiers]:  No scrollock_mask was found.
  [Scwm][init_modifiers]:  Doing 3 XGrabKey calls for window bindings when ignoring dubious modifiers
  [Scwm][make-image]: <<WARNING>> Image file was not found: `unknown1.xpm'
  [Scwm][make-image]: <<WARNING>> Image file was not found: `xterm.xpm'
  [and repeat the two last lines once per window on the scwm screen]
)

Strange.  Here's a diff (-u0) of the (sorted) ldd(1) output for the
two binaries:

--- gcc-built-scwm      Thu Sep  2 00:03:19 1999
+++ cc-built-scwm       Thu Sep  2 00:03:27 1999
@@ -2 +1,0 @@
-       libImlib.so.1 =>         /opt/local/lib/libImlib.so.1
@@ -15 +13,0 @@
-       libpng.so.2 =>   /opt/local/lib/libpng.so.2
@@ -18,3 +15,0 @@
-       libtiff.so =>    /opt/local/lib/libtiff.so
-       libungif.so.3 =>         /opt/local/lib/libungif.so.3
-       libz.so =>       /opt/local/lib/libz.so

Maybe this is relevant/outdated:

  $ gcc --version
  2.8.1
  $ g++ --version
  2.8.1
-- 
Harald

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  1 20:05:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA30763
	for scwm-discuss-outgoing; Wed, 1 Sep 1999 20:05:42 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA30760
	for <scwm-discuss@scwm.mit.edu>; Wed, 1 Sep 1999 20:05:20 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA20939; Wed, 1 Sep 1999 17:05:12 -0700 (PDT)
To: Harald Meland <Harald.Meland@usit.uio.no>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: New pre-release of scwm-0.99.2pre2, guile, guile-gtk RPMs
References: <qrrzoz7xdwu.fsf@elwha.cs.washington.edu> <d6dd7w2bjm6.fsf@octarine.uio.no> <qrru2pexzu6.fsf@elwha.cs.washington.edu> <d6dvh9u9z3s.fsf@octarine.uio.no> <qrrpv02xsf7.fsf@elwha.cs.washington.edu> <d6dn1v69t7g.fsf@octarine.uio.no>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Sep 1999 17:05:09 -0700
In-Reply-To: Harald Meland's message of "02 Sep 1999 00:12:51 +0200"
Message-ID: <qrrk8qaxjnu.fsf@elwha.cs.washington.edu>
Lines: 79
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Harald Meland <Harald.Meland@usit.uio.no> writes:

> [Greg Badros]
> 
> > Harald Meland <Harald.Meland@usit.uio.no> writes:
> > 
> > > Things does appear to be running rather smoothly (e.g. window-property
> > > works).  However, I managed to crash scwm like this:
> > > 
> > >   Start a scwm with a completely empty .scwmrc
> > >   $ scwmrepl
> > >   scwm> list-windows
> > 
> > Hmmm, does it do the same with a gcc build?
> 
> I tested with an scwm re-built with gcc after removing all of the
> other scwm's I now have lying around -- and it doesn't:
> 
>   scwm> list-windows
>   
>   Backtrace:
>   0* list-windows
>   
>   ERROR: In expression list-windows:
>   ERROR: Unbound variable: list-windows
>   ERROR: In procedure apply:
>   ERROR: Wrong type argument in position 1: 1

I saw these messages earlier today and it was a guile/scwm library
mismatch.  You may want to clean up all of the guile files on your
machine, do a fresh install of guile-1.3.3d.tar.gz, and then a fresh
build of Scwm.

> However, with this gcc-built scwm, calls to window-property produces
> SIGSEGV again.  I also get one additional warning on startup:
> 
>   [Scwm][nocolor]: <<ERROR>> can't alloc color color gradient DarkViolet to DarkViolet
> 
> (in addition to the usual
>   [Scwm][init_modifiers]:  No scrollock_mask was found.
>   [Scwm][init_modifiers]:  Doing 3 XGrabKey calls for window bindings when ignoring dubious modifiers
>   [Scwm][make-image]: <<WARNING>> Image file was not found: `unknown1.xpm'
>   [Scwm][make-image]: <<WARNING>> Image file was not found: `xterm.xpm'
>   [and repeat the two last lines once per window on the scwm screen]
> )

These are all harmless -- you may want to get and install the scwm-icons 
package to get the images you're missing.

> Strange.  Here's a diff (-u0) of the (sorted) ldd(1) output for the
> two binaries:
> 
> --- gcc-built-scwm      Thu Sep  2 00:03:19 1999
> +++ cc-built-scwm       Thu Sep  2 00:03:27 1999
> @@ -2 +1,0 @@
> -       libImlib.so.1 =>         /opt/local/lib/libImlib.so.1
> @@ -15 +13,0 @@
> -       libpng.so.2 =>   /opt/local/lib/libpng.so.2
> @@ -18,3 +15,0 @@
> -       libtiff.so =>    /opt/local/lib/libtiff.so
> -       libungif.so.3 =>         /opt/local/lib/libungif.so.3
> -       libz.so =>       /opt/local/lib/libz.so

The gcc built version seems to have linked into a bunch of the libraries 
it is supposed to link against-- did the cc build's configure fail to
find that stuff?

> 
> Maybe this is relevant/outdated:
> 
>   $ gcc --version
>   2.8.1
>   $ g++ --version
>   2.8.1


That looks good.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  1 21:31:55 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA30986
	for scwm-discuss-outgoing; Wed, 1 Sep 1999 21:31:55 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mons.uio.no (6089@mons.uio.no [129.240.130.14])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id VAA30983
	for <scwm-discuss@scwm.mit.edu>; Wed, 1 Sep 1999 21:31:50 -0400
Received: from mons.uio.no (actually mons.uio.no [129.240.130.14]) by mons.uio.no with SMTP (PP); Thu, 2 Sep 1999 03:31:32 +0200
Received: from octarine.uio.no ([129.240.186.25]) by mons.uio.no with esmtp (Exim 2.12 #6) id 11MLit-0002mB-00 
          for scwm-discuss@scwm.mit.edu; Thu, 2 Sep 1999 03:31:31 +0200
Received: from hmeland by octarine.uio.no with local (Exim 2.12 #6) id 11MLir-0002j1-00 for scwm-discuss@scwm.mit.edu;
          Thu, 2 Sep 1999 03:31:30 +0200
To: scwm-discuss@scwm.mit.edu
Subject: Re: New pre-release of scwm-0.99.2pre2, guile, guile-gtk RPMs
References: <qrrzoz7xdwu.fsf@elwha.cs.washington.edu> <d6dd7w2bjm6.fsf@octarine.uio.no> <qrru2pexzu6.fsf@elwha.cs.washington.edu> <d6dvh9u9z3s.fsf@octarine.uio.no> <qrrpv02xsf7.fsf@elwha.cs.washington.edu> <d6dn1v69t7g.fsf@octarine.uio.no> <qrrk8qaxjnu.fsf@elwha.cs.washington.edu>
From: Harald Meland <Harald.Meland@usit.uio.no>
Date: 02 Sep 1999 03:31:29 +0200
In-Reply-To: Greg Badros's message of "01 Sep 1999 17:05:09 -0700"
Message-ID: <d6dr9ki85fy.fsf@octarine.uio.no>
Lines: 94
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

[Greg Badros]

> Harald Meland <Harald.Meland@usit.uio.no> writes:
> 
> >   scwm> list-windows
> >   
> >   Backtrace:
> >   0* list-windows
> >   
> >   ERROR: In expression list-windows:
> >   ERROR: Unbound variable: list-windows
> >   ERROR: In procedure apply:
> >   ERROR: Wrong type argument in position 1: 1
> 
> I saw these messages earlier today and it was a guile/scwm library
> mismatch.

Umm, note that I did this with a completely empty .scwmrc -- thus the
(app scwm winlist) module wasn't loaded, so I believe the error
message I'm getting is correct behaviour.

> You may want to clean up all of the guile files on your machine, do
> a fresh install of guile-1.3.3d.tar.gz, and then a fresh build of
> Scwm.

I'll give it a try.

> These are all harmless -- you may want to get and install the scwm-icons 
> package to get the images you're missing.

OK.

> The gcc built version seems to have linked into a bunch of the
> libraries it is supposed to link against-- did the cc build's
> configure fail to find that stuff?

Well, it found them -- it appears my libtiff is acting up:

  configure:6455: checking for IMLIB - version >= 1.8.2
  configure:6538: cc -o conftest -g -I/opt/local/include -I/local/X11R6/include  -L/opt/local/lib -R/opt/local/libs conftest.c -lm  -L/opt/local/lib -R/opt/local/lib -lImlib -ljpeg -ltiff -lungif -lpng -lz -lm -L/local/X11R6/lib -R/local/X11R6/lib -lSM -lICE -lXext -lX11 -lsocket -lnsl 1>&5
  Undefined                       first referenced
   symbol                             in file
  __eprintf                           /opt/local/lib/libtiff.so
  ld: fatal: Symbol referencing errors. No output written to conftest

Exactly the same test program compiles and links flawlessly with gcc
-- so I guess my libtiff (and therefore also any other lib that needs
libtiff) depends on a gcc-ism of sorts.

BTW, while going through config.log for the cc build, I noticed these:

  configure:3612: checking for XTestQueryExtension in -lXtst
  configure:3631: cc -o conftest  -I/local/X11R6/include    -L/local/X11R6/lib -R/local/X11R6/lib conftest.c -lXtst -lX11 -lsocket  -lnsl -lm  1>&5
  Undefined                       first referenced
   symbol                             in file
  XextRemoveDisplay                   /local/X11R6/lib/libXtst.so
  XextCreateExtension                 /local/X11R6/lib/libXtst.so
  XMissingExtension                   /local/X11R6/lib/libXtst.so
  XextAddDisplay                      /local/X11R6/lib/libXtst.so
  XextFindDisplay                     /local/X11R6/lib/libXtst.so
  ld: fatal: Symbol referencing errors. No output written to conftest

This links if I add "-lXext".

  configure:3818: checking for SmcOpenConnection in -lSM
  configure:3837: cc -o conftest  -I/local/X11R6/include    -L/local/X11R6/lib -R/local/X11R6/lib conftest.c -lSM -lX11 -lsocket  -lnsl -lm  1>&5
  Undefined                       first referenced
   symbol                             in file
  _IceErrorBadLength                  /local/X11R6/lib/libSM.so
  IceProcessMessages                  /local/X11R6/lib/libSM.so
  _IcePaMagicCookie1Proc              /local/X11R6/lib/libSM.so
  IceLastSentSequenceNumber           /local/X11R6/lib/libSM.so
  IceRegisterForProtocolSetup         /local/X11R6/lib/libSM.so
  _IceReadSkip                        /local/X11R6/lib/libSM.so
  _IcePoMagicCookie1Proc              /local/X11R6/lib/libSM.so
  IceRegisterForProtocolReply         /local/X11R6/lib/libSM.so
  _IceWrite                           /local/X11R6/lib/libSM.so
  _IceErrorBadState                   /local/X11R6/lib/libSM.so
  IceProtocolSetup                    /local/X11R6/lib/libSM.so
  IceOpenConnection                   /local/X11R6/lib/libSM.so
  IceCloseConnection                  /local/X11R6/lib/libSM.so
  IceSetShutdownNegotiation           /local/X11R6/lib/libSM.so
  _IceErrorBadValue                   /local/X11R6/lib/libSM.so
  IceProtocolShutdown                 /local/X11R6/lib/libSM.so
  IceFlush                            /local/X11R6/lib/libSM.so
  _IceErrorBadMinor                   /local/X11R6/lib/libSM.so
  _IceRead                            /local/X11R6/lib/libSM.so
  IceAllocScratch                     /local/X11R6/lib/libSM.so
  _IceTransGetPeerNetworkId           /local/X11R6/lib/libSM.so
  ld: fatal: Symbol referencing errors. No output written to conftest

This just needs an extra "-lICE" appended to work.
-- 
Harald

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  1 22:04:38 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA31141
	for scwm-discuss-outgoing; Wed, 1 Sep 1999 22:04:38 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA31138
	for <scwm-discuss@scwm.mit.edu>; Wed, 1 Sep 1999 22:04:33 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id TAA21057; Wed, 1 Sep 1999 19:03:38 -0700 (PDT)
To: Harald Meland <Harald.Meland@usit.uio.no>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: New pre-release of scwm-0.99.2pre2, guile, guile-gtk RPMs
References: <qrrzoz7xdwu.fsf@elwha.cs.washington.edu> <d6dd7w2bjm6.fsf@octarine.uio.no> <qrru2pexzu6.fsf@elwha.cs.washington.edu> <d6dvh9u9z3s.fsf@octarine.uio.no> <qrrpv02xsf7.fsf@elwha.cs.washington.edu> <d6dn1v69t7g.fsf@octarine.uio.no> <qrrk8qaxjnu.fsf@elwha.cs.washington.edu> <d6dr9ki85fy.fsf@octarine.uio.no>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Sep 1999 19:03:37 -0700
In-Reply-To: Harald Meland's message of "02 Sep 1999 03:31:29 +0200"
Message-ID: <qrrg10yxe6e.fsf@elwha.cs.washington.edu>
Lines: 75
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Harald Meland <Harald.Meland@usit.uio.no> writes:

> > >   0* list-windows
> > >   
> > >   ERROR: In expression list-windows:
> > >   ERROR: Unbound variable: list-windows
> > >   ERROR: In procedure apply:
> > >   ERROR: Wrong type argument in position 1: 1
> > 
> > I saw these messages earlier today and it was a guile/scwm library
> > mismatch.
> 
> Umm, note that I did this with a completely empty .scwmrc -- thus the
> (app scwm winlist) module wasn't loaded, so I believe the error
> message I'm getting is correct behaviour.

Doh! Yep.  Brain was on vacation, I suppose.

> > You may want to clean up all of the guile files on your machine, do
> > a fresh install of guile-1.3.3d.tar.gz, and then a fresh build of
> > Scwm.
> 
> I'll give it a try.

Great. 

<snip>

> Well, it found them -- it appears my libtiff is acting up:
> 
>   configure:6455: checking for IMLIB - version >= 1.8.2
>   configure:6538: cc -o conftest -g -I/opt/local/include -I/local/X11R6/include  -L/opt/local/lib -R/opt/local/libs conftest.c -lm  -L/opt/local/lib -R/opt/local/lib -lImlib -ljpeg -ltiff -lungif -lpng -lz -lm -L/local/X11R6/lib -R/local/X11R6/lib -lSM -lICE -lXext -lX11 -lsocket -lnsl 1>&5
>   Undefined                       first referenced
>    symbol                             in file
>   __eprintf                           /opt/local/lib/libtiff.so
>   ld: fatal: Symbol referencing errors. No output written to conftest
> 
> Exactly the same test program compiles and links flawlessly with gcc
> -- so I guess my libtiff (and therefore also any other lib that needs
> libtiff) depends on a gcc-ism of sorts.

Hmmm... wacky.

> BTW, while going through config.log for the cc build, I noticed these:

<snip>

Good catches-- I've patched configure.in as below.  Can you please try
this out with cc?

Thanks,
Greg


diff -u -p -u -r1.121 configure.in
--- configure.in	1999/09/01 17:47:14	1.121
+++ configure.in	1999/09/02 02:03:02
@@ -348,7 +348,7 @@ XTST_LIB="-lXtst"
 AC_DEFINE(HAVE_XTEST)
 have_xtest=yes
 ], AC_MSG_WARN(libXtst not found -- simulated events will not be supported)
-, $x_libs)
+,$x_libs $XEXT_LIB)
 AM_CONDITIONAL(HAVE_XTEST, test "$have_xtest" = yes)
 
 
@@ -385,7 +385,7 @@ AC_CHECK_LIB(SM, SmcOpenConnection, [
     , $x_libs)
   ], AC_MSG_WARN(SMlib.h not found -- no session manager support))
 ], AC_MSG_WARN(libSM not found -- no session manager support)
-, $x_libs)
+, $x_libs -lICE)
 
 AC_ARG_ENABLE(esd, [  --disable-esd       Do not use ESD even if it exists],
 		    enable_esd=no,

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep  2 02:55:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA31582
	for scwm-discuss-outgoing; Thu, 2 Sep 1999 02:55:11 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from pat.uio.no (6089@pat.uio.no [129.240.130.16])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id CAA31579
	for <scwm-discuss@scwm.mit.edu>; Thu, 2 Sep 1999 02:55:05 -0400
Received: from pat.uio.no (actually pat.uio.no [129.240.130.16]) by pat.uio.no with SMTP (PP); Thu, 2 Sep 1999 08:54:57 +0200
Received: from octarine.uio.no ([129.240.186.25]) by pat.uio.no with esmtp (Exim 2.12 #6) id 11MQlq-0005ae-00 
          for scwm-discuss@scwm.mit.edu; Thu, 2 Sep 1999 08:54:54 +0200
Received: from hmeland by octarine.uio.no with local (Exim 2.12 #6) id 11MQlm-0002Mb-00 for scwm-discuss@scwm.mit.edu;
          Thu, 2 Sep 1999 08:54:50 +0200
To: scwm-discuss@scwm.mit.edu
Subject: Re: New pre-release of scwm-0.99.2pre2, guile, guile-gtk RPMs
References: <qrrzoz7xdwu.fsf@elwha.cs.washington.edu> <d6dd7w2bjm6.fsf@octarine.uio.no> <qrru2pexzu6.fsf@elwha.cs.washington.edu> <d6dvh9u9z3s.fsf@octarine.uio.no> <qrrpv02xsf7.fsf@elwha.cs.washington.edu> <d6dn1v69t7g.fsf@octarine.uio.no> <qrrk8qaxjnu.fsf@elwha.cs.washington.edu> <d6dr9ki85fy.fsf@octarine.uio.no> <qrrg10yxe6e.fsf@elwha.cs.washington.edu>
From: Harald Meland <Harald.Meland@usit.uio.no>
Date: 02 Sep 1999 08:54:50 +0200
In-Reply-To: Greg Badros's message of "01 Sep 1999 19:03:37 -0700"
Message-ID: <d6d906p951h.fsf@octarine.uio.no>
Lines: 19
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

[Greg Badros]

> > > You may want to clean up all of the guile files on your machine, do
> > > a fresh install of guile-1.3.3d.tar.gz, and then a fresh build of
> > > Scwm.
> > 
> > I'll give it a try.

I had to hack the libtoolized guile Makefiles a bit to make guile
compile with cc -- it didn't understand the -Wp,-DM,.deps/$(*F).pp
magic (and I don't really understand why those aren't in the 1.3.2
release...).

But, it did compile, and so did scwm (with your patch -- which worked,
`SM-register' and `SM-error-message` are now defined).  And, even
better, the `list-windows' crash has gone away, too.  Thanks for your
help, and for scwm!
-- 
Harald

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep  2 04:23:53 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id EAA01025
	for scwm-discuss-outgoing; Thu, 2 Sep 1999 04:23:53 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from relay8.Austria.EU.net (relay8.Austria.EU.net [193.154.160.146])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id EAA01022
	for <scwm-discuss@scwm.mit.edu>; Thu, 2 Sep 1999 04:23:48 -0400
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.3/8.9.3) with UUCP id KAA01393
	for scwm-discuss@scwm.mit.edu; Thu, 2 Sep 1999 10:08:54 +0200 (MET DST)
Received: (qmail 17270 invoked by uid 115); 31 Aug 1999 21:31:45 -0000
To: scwm-discuss@scwm.mit.edu
Subject: Re: guile-gtk images on remote X display
References: <qrrpv043cqz.fsf@elwha.cs.washington.edu>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 31 Aug 1999 23:31:44 +0200
In-Reply-To: Greg Badros's message of "30 Aug 1999 19:28:04 -0700"
Message-ID: <wsiu5vk56n.fsf@orcus.priv.at>
Lines: 17
User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> On 30 Aug 1999 19:28:04 -0700
>>>>> Greg Badros <gjb@cs.washington.edu> said:


 Greg> Seems like gdk is trying to do an optimization using an X11
 Greg> shared memory extension, but I don't see this problem with
 Greg> other Gtk applications, even with other guile-gtk applications
 Greg> (e.g., Galway).

perhaps a stray pointer trashes `gdk_use_xshm'? It should be zero in
this case.

        Robbe

-- 
Robert Bihlmeyer       reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>    <http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep  2 11:01:39 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA01428
	for scwm-discuss-outgoing; Thu, 2 Sep 1999 11:01:39 -0400
Received: from marvin.ida.ing.tu-bs.de (dirk@marvin.ida.ing.tu-bs.de [134.169.132.60])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA01425
	for <scwm-discuss@scwm.mit.edu>; Thu, 2 Sep 1999 11:01:33 -0400
Received: from localhost (dirk@localhost)
	by marvin.ida.ing.tu-bs.de (8.9.3/8.9.3) with ESMTP id RAA05943;
	Thu, 2 Sep 1999 17:01:11 +0200
X-Authentication-Warning: marvin.ida.ing.tu-bs.de: dirk owned process doing -bs
Date: Thu, 2 Sep 1999 17:01:10 +0200 (MEST)
From: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
To: Greg Badros <gjb@cs.washington.edu>
cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Re: Restart problems.
In-Reply-To: <qrrhflg2as8.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.LNX.4.10.9909021655450.5918-100000@marvin.ida.ing.tu-bs.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 31 Aug 1999, Greg Badros wrote:

> Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:
> 
> > whenever I restart SCWM from SCWM it does not know about the macro
> > use-scwm-modules any longer.  If I start SCWM from fvwm, everything
> > works fine.
> 
> Hmmm... odd... I've never noticed this... 
> 
> Can you try to investigate further?  
> 
> use-scwm-modules is defined in minimal.scm which, at compile time, gets
> stuck in "init_scheme_string.c" to define a variable
> "init_scheme_string" that then is eval'd in Scwm.c:1021:
> 
>   scwm_safe_eval_str(init_scheme_string);
> 
> Are there any messages that might be useful?  Can you use gdb to figure
> out what's going on?  What version of guile are you running?

Hi,

finally I got guile 1.3.3 compiled and also the 0.99.2-pre2 release.  The
problem described above has disappeared.  Thus, scwm seems to require a
recent release of guile.

Thanks for your help.
Dirk Herrmann


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep  2 11:53:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA01574
	for scwm-discuss-outgoing; Thu, 2 Sep 1999 11:53:27 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA01571
	for <scwm-discuss@scwm.mit.edu>; Thu, 2 Sep 1999 11:53:21 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA21756; Thu, 2 Sep 1999 08:53:13 -0700 (PDT)
To: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Re: Restart problems.
References: <Pine.LNX.4.10.9909021655450.5918-100000@marvin.ida.ing.tu-bs.de>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Sep 1999 08:53:13 -0700
In-Reply-To: Dirk Herrmann's message of "Thu, 2 Sep 1999 17:01:10 +0200 (MEST)"
Message-ID: <qrrbtblxqc6.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> finally I got guile 1.3.3 compiled and also the 0.99.2-pre2 release.  The
> problem described above has disappeared.  Thus, scwm seems to require a
> recent release of guile.

I've been building and rebuilding on x86 and alpha w guile-1.3 (w/ small 
performance patch) pretty consistently, and not noticed any problems
yet.

In any case, I'm glad it's working for you!

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep  2 11:54:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA01579
	for scwm-discuss-outgoing; Thu, 2 Sep 1999 11:54:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA01576
	for <scwm-discuss@scwm.mit.edu>; Thu, 2 Sep 1999 11:54:49 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA21759; Thu, 2 Sep 1999 08:54:45 -0700 (PDT)
To: Harald Meland <Harald.Meland@usit.uio.no>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: New pre-release of scwm-0.99.2pre2, guile, guile-gtk RPMs
References: <qrrzoz7xdwu.fsf@elwha.cs.washington.edu> <d6dd7w2bjm6.fsf@octarine.uio.no> <qrru2pexzu6.fsf@elwha.cs.washington.edu> <d6dvh9u9z3s.fsf@octarine.uio.no> <qrrpv02xsf7.fsf@elwha.cs.washington.edu> <d6dn1v69t7g.fsf@octarine.uio.no> <qrrk8qaxjnu.fsf@elwha.cs.washington.edu> <d6dr9ki85fy.fsf@octarine.uio.no> <qrrg10yxe6e.fsf@elwha.cs.washington.edu> <d6d906p951h.fsf@octarine.uio.no>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Sep 1999 08:54:45 -0700
In-Reply-To: Harald Meland's message of "02 Sep 1999 08:54:50 +0200"
Message-ID: <qrraer5xq9m.fsf@elwha.cs.washington.edu>
Lines: 27
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Harald Meland <Harald.Meland@usit.uio.no> writes:

> [Greg Badros]
> 
> > > > You may want to clean up all of the guile files on your machine, do
> > > > a fresh install of guile-1.3.3d.tar.gz, and then a fresh build of
> > > > Scwm.
> > > 
> > > I'll give it a try.
> 
> I had to hack the libtoolized guile Makefiles a bit to make guile
> compile with cc -- it didn't understand the -Wp,-DM,.deps/$(*F).pp
> magic (and I don't really understand why those aren't in the 1.3.2
> release...).
> 
> But, it did compile, and so did scwm (with your patch -- which worked,
> `SM-register' and `SM-error-message` are now defined).  And, even
> better, the `list-windows' crash has gone away, too.  Thanks for your
> help, and for scwm!

Glad to hear it!

This configure/building stuff is tricky business, and not particularly
enjoyable, but I really want Scwm to be usable by the masses, so getting 
this stuff right (with the help of you folks!) is important!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep  2 12:02:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA01686
	for scwm-discuss-outgoing; Thu, 2 Sep 1999 12:02:13 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA01683
	for <scwm-discuss@scwm.mit.edu>; Thu, 2 Sep 1999 12:02:08 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA21790; Thu, 2 Sep 1999 09:02:02 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@scwm.mit.edu
Subject: Solution to [Re: guile-gtk images on remote X display]
References: <qrrpv043cqz.fsf@elwha.cs.washington.edu> <wsiu5vk56n.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Sep 1999 09:02:02 -0700
In-Reply-To: Robert Bihlmeyer's message of "31 Aug 1999 23:31:44 +0200"
Message-ID: <qrr906pxpxh.fsf_-_@elwha.cs.washington.edu>
Lines: 50
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> >>>>> On 30 Aug 1999 19:28:04 -0700
> >>>>> Greg Badros <gjb@cs.washington.edu> said:
> 
> 
>  Greg> Seems like gdk is trying to do an optimization using an X11
>  Greg> shared memory extension, but I don't see this problem with
>  Greg> other Gtk applications, even with other guile-gtk applications
>  Greg> (e.g., Galway).
> 
> perhaps a stray pointer trashes `gdk_use_xshm'? It should be zero in
> this case.

Thankfully, that wasn't the problem.

Since the bug was pretty interesting, I'll explain for posterity.  GDK
uses the only technique it can to reliably figure out whether it can
used shared memory in doing images-- it tries, checks for failure, and
upon failure turns off shared memory.  In most cases, checking for
failure is a simple matter of testing a function call's return value.
However, in gdkimage.c, the XShmAttach signals its failure with an X11
protocol error:

	      gdk_error_code = 0;
	      gdk_error_warnings = 0;

	      XShmAttach (private->xdisplay, x_shm_info);
	      XSync (private->xdisplay, False);

	      gdk_error_warnings = 1;

	      if (gdk_error_code)  /* some snippage here */
		  gdk_use_xshm = False;

What you do not see is the gdk_x_error function that sets gdk_error_code 
when the protocol error occurs (the XSync guarantees the protocol error
happens, if it's going to happen, before the test of gdk_error_code).

Essentially, the error is reported through a global variable that gets
set in another function, gdk_x_error.  Since Scwm sets its own distinct
X error handler (ScwmErrorHandler), it was never setting the
gdk_error_code, and thus never noticing the failure.

The fix was simple:  when reinstalling the ScwmErrorHandler in
scwmgtkhelper.c, install a new error handler that first sets
gdk_error_code and then calls ScwmErrorHandler.  See the patch to that
file for the details.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep  3 00:20:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA03892
	for scwm-discuss-outgoing; Fri, 3 Sep 1999 00:20:27 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from math.uwaterloo.ca (root@math.uwaterloo.ca [129.97.216.42])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA03889
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 3 Sep 1999 00:20:20 -0400
Received: from thing-one.localdomain (cnts6p34.uwaterloo.ca [129.97.13.34])
	by math.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id AAA26371;
	Fri, 3 Sep 1999 00:20:17 -0400 (EDT)
From: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Received: (from jrm@localhost)
	by thing-one.localdomain (8.9.3/8.9.3) id AAA17321;
	Fri, 3 Sep 1999 00:20:35 -0400
Date: Fri, 3 Sep 1999 00:20:35 -0400
Message-Id: <199909030420.AAA17321@thing-one.localdomain>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrrk8qd42lf.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 30 Aug 1999 10:09:48 -0700)
Subject: Re: Scwm-0.99.2 pre-release available!
References: <qrrso5560cx.fsf@elwha.cs.washington.edu> <199908290325.XAA20960@thing-one.localdomain> <qrrk8qd42lf.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg,

Your suggestion to upgrade binutils was good.  There is no longer a
segmentation fault from ld, and `rpm --rebuild GTK*' gets as far as

make[1]: Entering directory `/usr/src/redhat/BUILD/GTL-0.3.1/src'
/bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"GTL\" -DVERSION=\"0.3.1\"  -I. -I.  -I../include    -g -O2 -c gml_scanner.cpp
mkdir .libs
c++ -DPACKAGE=\"GTL\" -DVERSION=\"0.3.1\" -I. -I. -I../include -g -O2 -c  -fPIC -DPIC gml_scanner.cpp -o .libs/gml_scanner.lo
In file included from ../include/GTL/gml_scanner.h:11,
                 from gml_scanner.cpp:13:
../include/GTL/GTL.h:123: redefinition of `class allocator<_Tp>'
/usr/lib/gcc-lib/ppc-redhat-linux/2.95.1/../../../../include/g++-3/stl_alloc.h:768: previous definition here
../include/GTL/GTL.h:124: confused by earlier errors, bailing out
make[1]: *** [gml_scanner.lo] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/GTL-0.3.1/src'
make: *** [all-recursive] Error 1
Bad exit status from /var/tmp/rpm-tmp.51533 (%build)

Is this some sort of mismatch between GTL and my STL?  What I have is
libstdc++-2.10.0-1b,
gcc-2.95.1-1b, and
gcc-c++-2.95.1-1b.

Also, `rpm --rebuild cassowary*' is getting warmer; it gets as far as
failing to find a header that GTL would have provided.

John

-- 
John MacPhail                   grad student at U.Waterloo
jrmacphail@math.uwaterloo.ca          sneaker net  MC5136A
-----------------------------------------------------------

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep  3 05:56:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA06170
	for scwm-discuss-outgoing; Fri, 3 Sep 1999 05:56:33 -0400
Received: from marvin.ida.ing.tu-bs.de (dirk@marvin.ida.ing.tu-bs.de [134.169.132.60])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA06167
	for <scwm-discuss@scwm.mit.edu>; Fri, 3 Sep 1999 05:56:25 -0400
Received: from localhost (dirk@localhost)
	by marvin.ida.ing.tu-bs.de (8.9.3/8.9.3) with ESMTP id LAA14494;
	Fri, 3 Sep 1999 11:55:47 +0200
X-Authentication-Warning: marvin.ida.ing.tu-bs.de: dirk owned process doing -bs
Date: Fri, 3 Sep 1999 11:55:46 +0200 (MEST)
From: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
To: gjb@cs.washington.edu
cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: inconsistent naming
Message-ID: <Pine.LNX.4.10.9909031149410.6690-100000@marvin.ida.ing.tu-bs.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

interactive-move calls "*move-opaquely-proc*", which is a predicate and by
default defined as "default-move-opaquely?".

Is there a reason why the function is called "*move-opaquely-proc*" 
instead of "move-opaquely?" ?

If not, I suggest to rename this function to "move-opaquely?" and also
make it a commented user variable.  This makes the predicate nature more
obvious and seems logical in presence of the name "default-move-opaquely?"

Dirk Herrmann


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep  3 09:04:09 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA06364
	for scwm-discuss-outgoing; Fri, 3 Sep 1999 09:04:09 -0400
Received: from marvin.ida.ing.tu-bs.de (dirk@marvin.ida.ing.tu-bs.de [134.169.132.60])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA06361
	for <scwm-discuss@scwm.mit.edu>; Fri, 3 Sep 1999 09:04:00 -0400
Received: from localhost (dirk@localhost)
	by marvin.ida.ing.tu-bs.de (8.9.3/8.9.3) with ESMTP id PAA15984;
	Fri, 3 Sep 1999 15:03:51 +0200
X-Authentication-Warning: marvin.ida.ing.tu-bs.de: dirk owned process doing -bs
Date: Fri, 3 Sep 1999 15:03:51 +0200 (MEST)
From: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
To: gjb@cs.washington.edu
cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Menu behaviour in case of error
Message-ID: <Pine.LNX.4.10.9909031458510.15959-100000@marvin.ida.ing.tu-bs.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

I had the following problem:  in the root menu I declared a menuitem

    (menuitem "Hosts" #:image-left "mini-windows.xpm"
              #:action 'menu-hosts)

but forgot to declare menu-hosts.  Unfortunately, the whole menu was not
displayed any more, but instead I got strange 'symbol uninterned?'
messages.  It took me some time to figure out what went wrong.  Moreover,
the root menu was not accessible.

It would be better if the menu was shown without the erroneous entry,
possibly with some default text like "<error>" or something.

Best regards,
Dirk Herrmann


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep  3 11:34:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA06730
	for scwm-discuss-outgoing; Fri, 3 Sep 1999 11:34:21 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA06727
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 3 Sep 1999 11:34:15 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA23332; Fri, 3 Sep 1999 08:34:10 -0700 (PDT)
To: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.2 pre-release available!
References: <qrrso5560cx.fsf@elwha.cs.washington.edu> <199908290325.XAA20960@thing-one.localdomain> <qrrk8qd42lf.fsf@elwha.cs.washington.edu> <199909030420.AAA17321@thing-one.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 03 Sep 1999 08:34:10 -0700
In-Reply-To: John Revan MacPhail's message of "Fri, 3 Sep 1999 00:20:35 -0400"
Message-ID: <qrrso4wggb1.fsf@elwha.cs.washington.edu>
Lines: 47
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Revan MacPhail <jrmacpha@math.uwaterloo.ca> writes:

> Greg,
> 
> Your suggestion to upgrade binutils was good.  There is no longer a

Good!

> segmentation fault from ld, and `rpm --rebuild GTK*' gets as far as
> 
> make[1]: Entering directory `/usr/src/redhat/BUILD/GTL-0.3.1/src'
> /bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"GTL\" -DVERSION=\"0.3.1\"  -I. -I.  -I../include    -g -O2 -c gml_scanner.cpp
> mkdir .libs
> c++ -DPACKAGE=\"GTL\" -DVERSION=\"0.3.1\" -I. -I. -I../include -g -O2 -c  -fPIC -DPIC gml_scanner.cpp -o .libs/gml_scanner.lo
> In file included from ../include/GTL/gml_scanner.h:11,
>                  from gml_scanner.cpp:13:
> ../include/GTL/GTL.h:123: redefinition of `class allocator<_Tp>'
> /usr/lib/gcc-lib/ppc-redhat-linux/2.95.1/../../../../include/g++-3/stl_alloc.h:768: previous definition here
> ../include/GTL/GTL.h:124: confused by earlier errors, bailing out
> make[1]: *** [gml_scanner.lo] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/GTL-0.3.1/src'
> make: *** [all-recursive] Error 1
> Bad exit status from /var/tmp/rpm-tmp.51533 (%build)
> 
> Is this some sort of mismatch between GTL and my STL?  What I have is
> libstdc++-2.10.0-1b,
> gcc-2.95.1-1b, and
> gcc-c++-2.95.1-1b.

It looks like GTL.h is trying to work around a known bug in earlier
versions of g++ -- try changing line 114 from

#ifdef __GTL_GCC

to

#if 0 && defined(GTL_GCC)

so that that code is omitted.

> Also, `rpm --rebuild cassowary*' is getting warmer; it gets as far as
> failing to find a header that GTL would have provided.

Great-- let's get the GTL problem gone, then, and hopefully things will
proceed nicely.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep  3 11:38:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA06796
	for scwm-discuss-outgoing; Fri, 3 Sep 1999 11:38:08 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA06793
	for <scwm-discuss@scwm.mit.edu>; Fri, 3 Sep 1999 11:38:03 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA23338; Fri, 3 Sep 1999 08:37:49 -0700 (PDT)
To: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Re: inconsistent naming
References: <Pine.LNX.4.10.9909031149410.6690-100000@marvin.ida.ing.tu-bs.de>
From: Greg Badros <gjb@cs.washington.edu>
Date: 03 Sep 1999 08:37:49 -0700
In-Reply-To: Dirk Herrmann's message of "Fri, 3 Sep 1999 11:55:46 +0200 (MEST)"
Message-ID: <qrrpv00gg4y.fsf@elwha.cs.washington.edu>
Lines: 21
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> Hi,
> 
> interactive-move calls "*move-opaquely-proc*", which is a predicate and by
> default defined as "default-move-opaquely?".
> 
> Is there a reason why the function is called "*move-opaquely-proc*" 
> instead of "move-opaquely?" ?
> 
> If not, I suggest to rename this function to "move-opaquely?" and also
> make it a commented user variable.  This makes the predicate nature more
> obvious and seems logical in presence of the name "default-move-opaquely?"

User variables are inside '*'s in Scwm.  I suppose I would not mind
*move-opaquely?*, but in terms of user configuration, it's easy to think 
about *move-opaquely-proc* as a variable that you send to a predicate
for testing whether you want to move opaquely.  Maybe
*move-opaquely-predicate* would be better?

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep  3 12:36:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA07214
	for scwm-discuss-outgoing; Fri, 3 Sep 1999 12:36:57 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA07211
	for <scwm-discuss@scwm.mit.edu>; Fri, 3 Sep 1999 12:36:46 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA23396; Fri, 3 Sep 1999 09:36:20 -0700 (PDT)
To: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Re: Menu behaviour in case of error
References: <Pine.LNX.4.10.9909031458510.15959-100000@marvin.ida.ing.tu-bs.de>
From: Greg Badros <gjb@cs.washington.edu>
Date: 03 Sep 1999 09:36:20 -0700
In-Reply-To: Dirk Herrmann's message of "Fri, 3 Sep 1999 15:03:51 +0200 (MEST)"
Message-ID: <qrrn1v4gdff.fsf@elwha.cs.washington.edu>
Lines: 40
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> Hi,
> 
> I had the following problem:  in the root menu I declared a menuitem
> 
>     (menuitem "Hosts" #:image-left "mini-windows.xpm"
>               #:action 'menu-hosts)
> 
> but forgot to declare menu-hosts.  Unfortunately, the whole menu was not
> displayed any more, but instead I got strange 'symbol uninterned?'
> messages.  It took me some time to figure out what went wrong.  Moreover,
> the root menu was not accessible.
> 
> It would be better if the menu was shown without the erroneous entry,
> possibly with some default text like "<error>" or something.

Definitely true... there are lots of places where we've worked to be sure 
you get something useful out of errors.  E.g., I added the use of the
symbols so that we could remove an order dependence in the .scwmrc --
this delays the error from the defining-menu point to the popping-up the 
menu point.  Maciej had some concerns about using symbols being
un-schemey, IIRC, and there are some definite issues with modules and
symbol lookup.  I'd love to hear good arguments and thoughts about these 
issues.

In the meantime, I've changed things in the menuing code so that the
error will happen even later-- when the action is attempted to be
invoked.  Then you'll get a

0* [gsubr-apply #<primitive-procedure popup-menu> #<menu #<menuitem "Foo">, hotkeys: >]

ERROR: In procedure gsubr-apply in expression (popup-menu menu-test):
ERROR: uninterned symbol? 

Which seems pretty reasonable (though I'd be happy to take patches to
improve it, of course).

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep  3 13:44:41 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA07374
	for scwm-discuss-outgoing; Fri, 3 Sep 1999 13:44:41 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from corona.beachnet.com (corona.beachnet.com [207.182.224.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA07371
	for <scwm-discuss@scwm.mit.edu>; Fri, 3 Sep 1999 13:44:35 -0400
Received: from anohana.com (haw-207-182-230-35.vel.net [207.182.230.35])
          by corona.beachnet.com (Post.Office MTA v3.5.3 release 223
          ID# 0-61472U2500L250S0V35) with ESMTP id com;
          Fri, 3 Sep 1999 10:47:39 -0700
Message-ID: <37D00A0E.FA982922@anohana.com>
Date: Fri, 03 Sep 1999 10:49:02 -0700
From: "Mark Schafer" <mschafer@anohana.com>
Organization: Anohana Production Management & Technologies
X-Mailer: Mozilla 4.05 [en] (WinNT; I)
MIME-Version: 1.0
To: SCWM discussion list <scwm-discuss@scwm.mit.edu>
CC: Greg Badros <gjb@cs.washington.edu>, Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Subject: Re: inconsistent naming
References: <Pine.LNX.4.10.9909031149410.6690-100000@marvin.ida.ing.tu-bs.de> <qrrpv00gg4y.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

One of the lisp's guidelines would have you use -p as a suffix to
indicate predicates.
so: *move-opaquely-p* could be a solution.
Personally I find this a useful naming convention in all cases.

Mark...

Greg Badros wrote:
> 
> Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:
> 
> > Hi,
> >
> > interactive-move calls "*move-opaquely-proc*", which is a predicate and by
> > default defined as "default-move-opaquely?".
> >
> > Is there a reason why the function is called "*move-opaquely-proc*"
> > instead of "move-opaquely?" ?
> >
> > If not, I suggest to rename this function to "move-opaquely?" and also
> > make it a commented user variable.  This makes the predicate nature more
> > obvious and seems logical in presence of the name "default-move-opaquely?"
> 
> User variables are inside '*'s in Scwm.  I suppose I would not mind
> *move-opaquely?*, but in terms of user configuration, it's easy to think
> about *move-opaquely-proc* as a variable that you send to a predicate
> for testing whether you want to move opaquely.  Maybe
> *move-opaquely-predicate* would be better?
> 
> Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep  3 13:57:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA07471
	for scwm-discuss-outgoing; Fri, 3 Sep 1999 13:57:24 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA07467
	for <scwm-discuss@scwm.mit.edu>; Fri, 3 Sep 1999 13:57:21 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA23495; Fri, 3 Sep 1999 10:57:14 -0700 (PDT)
To: "Mark Schafer" <mschafer@anohana.com>
Cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>,
        Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Subject: Re: inconsistent naming
References: <Pine.LNX.4.10.9909031149410.6690-100000@marvin.ida.ing.tu-bs.de> <qrrpv00gg4y.fsf@elwha.cs.washington.edu> <37D00A0E.FA982922@anohana.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 03 Sep 1999 10:57:14 -0700
In-Reply-To: "Mark Schafer"'s message of "Fri, 03 Sep 1999 10:49:02 -0700"
Message-ID: <qrrk8q7ho91.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Mark Schafer" <mschafer@anohana.com> writes:

> One of the lisp's guidelines would have you use -p as a suffix to
> indicate predicates.
> so: *move-opaquely-p* could be a solution.
> Personally I find this a useful naming convention in all cases.

We do use _p in the C code (where a ? is not valid in an identifier).
*move-opaquely-p* seems reasonable as do *move-opaquely?*,
*move-opaquely-proc*, and *move-opaquely-predicate*.

Preferences?

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep  3 14:29:56 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA07883
	for scwm-discuss-outgoing; Fri, 3 Sep 1999 14:29:56 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mail02.infonautics.com (205229025011.infonautics.com [205.229.25.11])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA07880
	for <scwm-discuss@scwm.mit.edu>; Fri, 3 Sep 1999 14:29:51 -0400
Received: from luckycharms.infonautics.com (luckycharms.infonautics.com [207.17.60.151])
	by mail02.infonautics.com (8.9.3/8.9.1/mailhost.m4/1.31) with ESMTP id OAA15794
	for <scwm-discuss@scwm.mit.edu>; Fri, 3 Sep 1999 14:34:41 -0400
Message-Id: <199909031834.OAA15794@mail02.infonautics.com>
X-Mailer: exmh version 2.0.2 2/24/98
To: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Re: inconsistent naming 
In-reply-to: Your message of "Fri, 03 Sep 1999 10:49:02 PDT."
             <37D00A0E.FA982922@anohana.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 03 Sep 1999 14:23:48 -0400
From: Arturo Perez <arturo@infonautics.com>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

In message <37D00A0E.FA982922@anohana.com>, "Mark Schafer" writes:
>One of the lisp's guidelines would have you use -p as a suffix to
>indicate predicates.
>so: *move-opaquely-p* could be a solution.
>Personally I find this a useful naming convention in all cases.
>
>Mark...

Actually, I thought the Scheme naming convention was to append "?"
to predicates; e.g. number? string?, null?

I guess that's too ISOLatin1 of me :-)

-- 
----
http://www.elibrary.com - The way you do research.
http://www.jobsleuth.com - The way you find a job.
http://www.companysleuth.com/index.cfm?id=1950 - The way you invest.



From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep  3 14:55:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA08048
	for scwm-discuss-outgoing; Fri, 3 Sep 1999 14:55:42 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA08045
	for <scwm-discuss@scwm.mit.edu>; Fri, 3 Sep 1999 14:55:38 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA23646; Fri, 3 Sep 1999 11:55:32 -0700 (PDT)
To: Arturo Perez <arturo@infonautics.com>
Cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Re: inconsistent naming
References: <199909031834.OAA15794@mail02.infonautics.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 03 Sep 1999 11:55:31 -0700
In-Reply-To: Arturo Perez's message of "Fri, 03 Sep 1999 14:23:48 -0400"
Message-ID: <qrrd7vzhljw.fsf@elwha.cs.washington.edu>
Lines: 21
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Arturo Perez <arturo@infonautics.com> writes:

> In message <37D00A0E.FA982922@anohana.com>, "Mark Schafer" writes:
> >One of the lisp's guidelines would have you use -p as a suffix to
> >indicate predicates.
> >so: *move-opaquely-p* could be a solution.
> >Personally I find this a useful naming convention in all cases.
> >
> >Mark...
> 
> Actually, I thought the Scheme naming convention was to append "?"
> to predicates; e.g. number? string?, null?

Right-- it is.  Mark wrote about *lisp* conventions.

> I guess that's too ISOLatin1 of me :-)

I like scheme's better, but do not particularly like the ? inside the
*'s that we use for user-configurable variables.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep  3 16:42:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA08390
	for scwm-discuss-outgoing; Fri, 3 Sep 1999 16:42:57 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from pluto.KSTREAM.COM ([38.156.71.130])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA08387
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 3 Sep 1999 16:42:51 -0400
Received: from dub.ne.mediaone.net by pluto.KSTREAM.COM with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1460.8)
	id SCJP8DN3; Fri, 3 Sep 1999 16:33:41 -0400
To: Greg Badros <gjb@cs.washington.edu>
Cc: Arturo Perez <arturo@infonautics.com>,
        SCWM discussion list <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: inconsistent naming
References: <199909031834.OAA15794@mail02.infonautics.com> <qrrd7vzhljw.fsf@elwha.cs.washington.edu>
Reply-To: sds@goems.com
X-Attribution: Sam
X-Disclaimer: You should not expect anyone to agree with me.
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Badros's message of "Fri Sep 03 13:55:22 EDT 1999"
Date: 03 Sep 1999 16:42:18 -0400
Message-ID: <u7lm77mmt.fsf@goems.com>
Lines: 19
X-Mailer: Gnus v5.7/Emacs 20.4
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

 >> > Actually, I thought the Scheme naming convention was to append "?"
 >> > to predicates; e.g. number? string?, null?
 >> 
 >> Right-- it is.  Mark wrote about *lisp* conventions.

Please note that a `predicate' is a *function*, not a *variable*.
The XEmacs tradition to add `-p' to boolean variables (allegedly based
upon some even more obscure and obsolete Lisp dialect) is frowned upon
by the modern Common Lispers. [yes, today 'Lisp'  means 'ANSI Common
Lisp', and if you disagree, you are a heretic :-]

Also, it doesn't look like a particularly good idea to put "?" inside
"*" - it should be the last character to make any sense.

-- 
Sam Steingold (http://www.podval.org/~sds/)
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Yeah, yeah, I love cats too... wanna trade recipes?


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep  3 17:29:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA08577
	for scwm-discuss-outgoing; Fri, 3 Sep 1999 17:29:50 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA08574
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 3 Sep 1999 17:29:46 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA23782; Fri, 3 Sep 1999 14:29:42 -0700 (PDT)
To: Arturo Perez <arturo@infonautics.com>
Cc: SCWM discussion list <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: inconsistent naming
References: <199909031834.OAA15794@mail02.infonautics.com> <qrrd7vzhljw.fsf@elwha.cs.washington.edu> <u7lm77mmt.fsf@goems.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 03 Sep 1999 14:29:41 -0700
In-Reply-To: Sam Steingold's message of "03 Sep 1999 16:42:18 -0400"
Message-ID: <qrrbtbjheey.fsf@elwha.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

>  >> > Actually, I thought the Scheme naming convention was to append "?"
>  >> > to predicates; e.g. number? string?, null?
>  >> 
>  >> Right-- it is.  Mark wrote about *lisp* conventions.
> 
> Please note that a `predicate' is a *function*, not a *variable*.
> The XEmacs tradition to add `-p' to boolean variables (allegedly based
> upon some even more obscure and obsolete Lisp dialect) is frowned upon
> by the modern Common Lispers. [yes, today 'Lisp'  means 'ANSI Common
> Lisp', and if you disagree, you are a heretic :-]
> 
> Also, it doesn't look like a particularly good idea to put "?" inside
> "*" - it should be the last character to make any sense.

Yea, and I'm pretty sure that there are places where ? is used as a
suffix on variable names holding a boolean, not a function.  We should
perhaps try to be consistent and use -p for boolean variable, and ? for
predicates.

For *move-opaquely-proc*, then, it seems prudent to name it
*move-opaquely-predicate* to avoid ambiguity and be more specific than
*move-opaquely-proc*.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep  3 22:23:49 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA08977
	for scwm-discuss-outgoing; Fri, 3 Sep 1999 22:23:49 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from math.uwaterloo.ca (root@math.uwaterloo.ca [129.97.216.42])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA08974
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 3 Sep 1999 22:23:44 -0400
Received: from thing-one.localdomain (cnts3p50.uwaterloo.ca [129.97.130.50])
	by math.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id WAA21222;
	Fri, 3 Sep 1999 22:23:41 -0400 (EDT)
From: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Received: (from jrm@localhost)
	by thing-one.localdomain (8.9.3/8.9.3) id WAA02894;
	Fri, 3 Sep 1999 22:23:52 -0400
Date: Fri, 3 Sep 1999 22:23:52 -0400
Message-Id: <199909040223.WAA02894@thing-one.localdomain>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrrso4wggb1.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 03 Sep 1999 08:34:10 -0700)
Subject: Re: Scwm-0.99.2 pre-release available!
References: <qrrso5560cx.fsf@elwha.cs.washington.edu> <199908290325.XAA20960@thing-one.localdomain> <qrrk8qd42lf.fsf@elwha.cs.washington.edu> <199909030420.AAA17321@thing-one.localdomain> <qrrso4wggb1.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg,

Having followed your suggestion, to change line 114 of GTL.h from

   #ifdef __GTL_GCC

   to

   #if 0 && defined(GTL_GCC)

I am now able to make and `make install' the GTL.  Now `rpm --rebuild
casso*' becomes more interesting.  The first time, it blew a circuit
breaker in my apartment.  On reboot, there were too many filesystem
errors, and the OS offered me a shell that I could not take because it
had lost the root password.  So I rebooted from a rescue partition,
and answered yes to a long series of queries from fsck.  Perhaps
Cassowaries are more dangerous than they look?  The second attempt at
rebuilding Cassowary chugged along more happily, but then died thusly:

make[1]: Leaving directory `/usr/src/redhat/BUILD/cassowary-0.51/c++'
Making all in guile
make[1]: Entering directory `/usr/src/redhat/BUILD/cassowary-0.51/guile'
CC=c++ \
guile-snarf -DHAVE_CONFIG_H -I. -I. -I../c++ -I. -I../c++ -I/usr/include -I/usr/include -I/usr/include  -g -O2 cassowary_scm.cc > cassowary_scm.x
c++ -DHAVE_CONFIG_H -I. -I. -I../c++ -I. -I../c++ -I/usr/include -I/usr/include -I/usr/include    -g -O2 -c cassowary_scm.cc
cassowary_scm.cc: In method `class ClVariable * ClVarLookupByGuileProc::operator ()(const string &) const':
cassowary_scm.cc:1094: passing `const char *' as argument 1 of `gh_str02scm(char *)' discards qualifiers
make[1]: *** [cassowary_scm.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/cassowary-0.51/guile'
make: *** [all-recursive] Error 1
Bad exit status from /var/tmp/rpm-tmp.6910 (%build)

Does this mean anything to you?

John

-- 
John MacPhail                   grad student at U.Waterloo
jrmacphail@math.uwaterloo.ca          sneaker net  MC5136A
-----------------------------------------------------------

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep  4 02:23:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA09188
	for scwm-discuss-outgoing; Sat, 4 Sep 1999 02:23:10 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA09185
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 4 Sep 1999 02:23:05 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id XAA24456; Fri, 3 Sep 1999 23:23:02 -0700 (PDT)
To: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.2 pre-release available!
References: <qrrso5560cx.fsf@elwha.cs.washington.edu> <199908290325.XAA20960@thing-one.localdomain> <qrrk8qd42lf.fsf@elwha.cs.washington.edu> <199909030420.AAA17321@thing-one.localdomain> <qrrso4wggb1.fsf@elwha.cs.washington.edu> <199909040223.WAA02894@thing-one.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 03 Sep 1999 23:23:01 -0700
In-Reply-To: John Revan MacPhail's message of "Fri, 3 Sep 1999 22:23:52 -0400"
Message-ID: <qrr3dwvgpq2.fsf@elwha.cs.washington.edu>
Lines: 47
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Revan MacPhail <jrmacpha@math.uwaterloo.ca> writes:

> Having followed your suggestion, to change line 114 of GTL.h from
> 
>    #ifdef __GTL_GCC
> 
>    to
> 
>    #if 0 && defined(GTL_GCC)
> 
> I am now able to make and `make install' the GTL.  Now `rpm --rebuild
> casso*' becomes more interesting.  The first time, it blew a circuit
> breaker in my apartment.  On reboot, there were too many filesystem

Wow, classic! :-)

> errors, and the OS offered me a shell that I could not take because it
> had lost the root password.  So I rebooted from a rescue partition,
> and answered yes to a long series of queries from fsck.  Perhaps
> Cassowaries are more dangerous than they look?  The second attempt at
> rebuilding Cassowary chugged along more happily, but then died thusly:
> 
> make[1]: Leaving directory `/usr/src/redhat/BUILD/cassowary-0.51/c++'
> Making all in guile
> make[1]: Entering directory `/usr/src/redhat/BUILD/cassowary-0.51/guile'
> CC=c++ \
> guile-snarf -DHAVE_CONFIG_H -I. -I. -I../c++ -I. -I../c++ -I/usr/include -I/usr/include -I/usr/include  -g -O2 cassowary_scm.cc > cassowary_scm.x
> c++ -DHAVE_CONFIG_H -I. -I. -I../c++ -I. -I../c++ -I/usr/include -I/usr/include -I/usr/include    -g -O2 -c cassowary_scm.cc
> cassowary_scm.cc: In method `class ClVariable * ClVarLookupByGuileProc::operator ()(const string &) const':
> cassowary_scm.cc:1094: passing `const char *' as argument 1 of `gh_str02scm(char *)' discards qualifiers
> make[1]: *** [cassowary_scm.o] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/cassowary-0.51/guile'
> make: *** [all-recursive] Error 1
> Bad exit status from /var/tmp/rpm-tmp.6910 (%build)
> 
> Does this mean anything to you?

Yep.  Try using -fpermissive in the command line for g++ when
compiling.  I'm trying to get the guile folks to use more const-correct
code, but until they do, g++ is going to warn, and newer versions of g++ 
treat those warnings as errors.

Please let me know how that goes.

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep  4 14:06:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA12062
	for scwm-discuss-outgoing; Sat, 4 Sep 1999 14:06:40 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from math.uwaterloo.ca (root@math.uwaterloo.ca [129.97.216.42])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA12059
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 4 Sep 1999 14:06:30 -0400
Received: from thing-one.localdomain (cnts1p22.uwaterloo.ca [129.97.112.22])
	by math.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id OAA22636;
	Sat, 4 Sep 1999 14:06:25 -0400 (EDT)
From: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Received: (from jrm@localhost)
	by thing-one.localdomain (8.9.3/8.9.3) id OAA00464;
	Sat, 4 Sep 1999 14:06:36 -0400
Date: Sat, 4 Sep 1999 14:06:36 -0400
Message-Id: <199909041806.OAA00464@thing-one.localdomain>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrr3dwvgpq2.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 03 Sep 1999 23:23:01 -0700)
Subject: Re: Scwm-0.99.2 pre-release available!
References: <qrrso5560cx.fsf@elwha.cs.washington.edu> <199908290325.XAA20960@thing-one.localdomain> <qrrk8qd42lf.fsf@elwha.cs.washington.edu> <199909030420.AAA17321@thing-one.localdomain> <qrrso4wggb1.fsf@elwha.cs.washington.edu> <199909040223.WAA02894@thing-one.localdomain> <qrr3dwvgpq2.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg,

All right, my /usr/src/redhat/BUILD/cassowary-0.51/guile/Makefile now
has the option -fpermissive adjoined to the CXX flags (at line 154,
the way it came out for me).  The result is that `make' succeeds in
the guile directory, and then `make install' succeeds in the parent
directory!  (Here I am ignoring the issue of how to fix the
Makefile.am in order for things to come out right from the .src.rpm
file.)

Now, `rpm --rebuild scwm-0.99.2pre5-1.src.rpm' chugs along to here:

scwm-constraints.cc: In function `int SuggestSizeWindowTo(ScwmWindow *, int, int
, int, int, int)':
scwm-constraints.cc:169: `return' with no value, in function returning non-void
make[1]: *** [scwm-constraints.o] Error 1

It looks as if the missing return value should be `False', right?
Anyway, after I put in a return value, `make' suceeded, and so did
`make install'.

So now everything is compiling.  With my first Scwm since version 9.2,
I was so excited that I typed `startscwm' before having X running.
The results were not anything _I_ would complain about -- the lights
stayed on -- but it looks as though the code fails to check for X.
(Maybe this is intentional?  I realize that X is dirty to check for.)

My hope still is to get some kind of scwm*.ppc.rpm that I can
recommend go into the imminent release of MkLinux, and preferably not
just `unfree'.  (Are the GTL people adamantly against the GPL?)  I
mention this now, before Scwm is even running smoothly, in case I get
too tangled up with other issues.  MkLinux is technically similar to
RedHat, but it seems to be sociologically closer to Debian.  For
example, my impression is that the posters-per-clue ratio is lower on
the mklinux newsgroups than on the linuxppc ones.  I think it would be
very cool for mklinux to feature scwm.

John

-- 
John MacPhail                   grad student at U.Waterloo
jrmacphail@math.uwaterloo.ca          sneaker net  MC5136A
-----------------------------------------------------------

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep  4 16:06:41 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA12241
	for scwm-discuss-outgoing; Sat, 4 Sep 1999 16:06:41 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA12238
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 4 Sep 1999 16:06:28 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA25327; Sat, 4 Sep 1999 13:06:22 -0700 (PDT)
To: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.2 pre-release available!
References: <qrrso5560cx.fsf@elwha.cs.washington.edu> <199908290325.XAA20960@thing-one.localdomain> <qrrk8qd42lf.fsf@elwha.cs.washington.edu> <199909030420.AAA17321@thing-one.localdomain> <qrrso4wggb1.fsf@elwha.cs.washington.edu> <199909040223.WAA02894@thing-one.localdomain> <qrr3dwvgpq2.fsf@elwha.cs.washington.edu> <199909041806.OAA00464@thing-one.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Sep 1999 13:06:21 -0700
In-Reply-To: John Revan MacPhail's message of "Sat, 4 Sep 1999 14:06:36 -0400"
Message-ID: <qrr1zceh26a.fsf@elwha.cs.washington.edu>
Lines: 61
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Revan MacPhail <jrmacpha@math.uwaterloo.ca> writes:

> Greg,
> 
> All right, my /usr/src/redhat/BUILD/cassowary-0.51/guile/Makefile now
> has the option -fpermissive adjoined to the CXX flags (at line 154,
> the way it came out for me).  The result is that `make' succeeds in
> the guile directory, and then `make install' succeeds in the parent
> directory!  (Here I am ignoring the issue of how to fix the
> Makefile.am in order for things to come out right from the .src.rpm
> file.)
> 
> Now, `rpm --rebuild scwm-0.99.2pre5-1.src.rpm' chugs along to here:
> 
> scwm-constraints.cc: In function `int SuggestSizeWindowTo(ScwmWindow *, int, int
> , int, int, int)':
> scwm-constraints.cc:169: `return' with no value, in function returning non-void
> make[1]: *** [scwm-constraints.o] Error 1
> 
> It looks as if the missing return value should be `False', right?
> Anyway, after I put in a return value, `make' suceeded, and so did
> `make install'.

Yep, False. Thanks!

> So now everything is compiling.  With my first Scwm since version 9.2,
> I was so excited that I typed `startscwm' before having X running.
> The results were not anything _I_ would complain about -- the lights
> stayed on -- but it looks as though the code fails to check for X.
> (Maybe this is intentional?  I realize that X is dirty to check for.)

I try to test for $DISPLAY being set.  What behaviour did you see?  I
don't know that there is a conventional way to start X -- see the
startscwm script and please suggest changes.  Maybe I should use xinit.
Bottom line, though, is I don't think it should be startscwm's job to
get an X server running, so I should add a warning if the X server is
not going, perhaps.

> My hope still is to get some kind of scwm*.ppc.rpm that I can
> recommend go into the imminent release of MkLinux, and preferably not
> just `unfree'.  (Are the GTL people adamantly against the GPL?)  I
> mention this now, before Scwm is even running smoothly, in case I get
> too tangled up with other issues.  MkLinux is technically similar to
> RedHat, but it seems to be sociologically closer to Debian.  For
> example, my impression is that the posters-per-clue ratio is lower on
> the mklinux newsgroups than on the linuxppc ones.  I think it would be
> very cool for mklinux to feature scwm.

I'd love to see it in MkLinux-- this would be great.  Right now Scwm
does not rely on any of the functionality of GTL, but it's just easier
to get Cassowary to build w/ GTL around (cassowary uses the GTL for a
finite-domain (and soon for a local propagation) solver, but Scwm does
not yet exploit those solvers). 

I'll tweak the configure.in and Makefile.am to get the -fpermissive flag 
to be used when it exists.

Thanks,
Greg



From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep  4 18:00:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA12530
	for scwm-discuss-outgoing; Sat, 4 Sep 1999 18:00:02 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from math.uwaterloo.ca (root@math.uwaterloo.ca [129.97.216.42])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA12527
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 4 Sep 1999 17:59:59 -0400
Received: from thing-one.localdomain (cnts2p04.uwaterloo.ca [129.97.182.4])
	by math.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id RAA17701;
	Sat, 4 Sep 1999 17:59:53 -0400 (EDT)
From: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Received: (from jrm@localhost)
	by thing-one.localdomain (8.9.3/8.9.3) id RAA04134;
	Sat, 4 Sep 1999 17:58:46 -0400
Date: Sat, 4 Sep 1999 17:58:46 -0400
Message-Id: <199909042158.RAA04134@thing-one.localdomain>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrr1zceh26a.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 04 Sep 1999 13:06:21 -0700)
Subject: Re: Scwm-0.99.2 pre-release available!
References: <qrrso5560cx.fsf@elwha.cs.washington.edu> <199908290325.XAA20960@thing-one.localdomain> <qrrk8qd42lf.fsf@elwha.cs.washington.edu> <199909030420.AAA17321@thing-one.localdomain> <qrrso4wggb1.fsf@elwha.cs.washington.edu> <199909040223.WAA02894@thing-one.localdomain> <qrr3dwvgpq2.fsf@elwha.cs.washington.edu> <199909041806.OAA00464@thing-one.localdomain> <qrr1zceh26a.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg,

When I tried `startscwm' without X already going, X did not appear,
and the console froze with a couple of messages I did not understand.
On a second try, the messages didn't appear, but the console froze.
Because the behaviour was different, I am not eager to try it again.
The idea that I was supposed to be able to get away with this never
occurred to me!  As to the startscwm script, my suggestion is that the
scwm distribution should NOT install it, but probably should include
it in the documentation.  For example, I don't have ssh, my X server
is a little strange and may be choking on the options the script sends
to it, I'd prefer both gnome-terminal and rxvt over xterm, and when
using an unstable window manager I prefer to do like `exec rxvt -e
dicey-window-manager' so that the error messages are right there to be
seen.  On the other hand, it looks as if the script implicitly
contains a lot of tips for editing one's .xinitrc, so why not convert
it into explicit tips?  There are millions (billions?) of future Scwm
users out there, and they need to be lured over by presenting things
they can understand.

Anyway, basic Scwm 0.99.2pre5 is now running on my machine without any
apparent problems.  Hurrah!

John

-- 
John MacPhail                   grad student at U.Waterloo
jrmacphail@math.uwaterloo.ca          sneaker net  MC5136A
-----------------------------------------------------------

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep  4 18:14:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA12615
	for scwm-discuss-outgoing; Sat, 4 Sep 1999 18:14:40 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA12611
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 4 Sep 1999 18:14:34 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA25422; Sat, 4 Sep 1999 15:14:30 -0700 (PDT)
To: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.2 pre-release available!
References: <qrrso5560cx.fsf@elwha.cs.washington.edu> <199908290325.XAA20960@thing-one.localdomain> <qrrk8qd42lf.fsf@elwha.cs.washington.edu> <199909030420.AAA17321@thing-one.localdomain> <qrrso4wggb1.fsf@elwha.cs.washington.edu> <199909040223.WAA02894@thing-one.localdomain> <qrr3dwvgpq2.fsf@elwha.cs.washington.edu> <199909041806.OAA00464@thing-one.localdomain> <qrr1zceh26a.fsf@elwha.cs.washington.edu> <199909042158.RAA04134@thing-one.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Sep 1999 15:14:30 -0700
In-Reply-To: John Revan MacPhail's message of "Sat, 4 Sep 1999 17:58:46 -0400"
Message-ID: <qrryaemfho9.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Revan MacPhail <jrmacpha@math.uwaterloo.ca> writes:

> Greg,
> 
> When I tried `startscwm' without X already going, X did not appear,
> and the console froze with a couple of messages I did not understand.
> On a second try, the messages didn't appear, but the console froze.
> Because the behaviour was different, I am not eager to try it again.
> The idea that I was supposed to be able to get away with this never
> occurred to me!  As to the startscwm script, my suggestion is that the
> scwm distribution should NOT install it, but probably should include
> it in the documentation.  For example, I don't have ssh, my X server
> is a little strange and may be choking on the options the script sends
> to it, I'd prefer both gnome-terminal and rxvt over xterm, and when
> using an unstable window manager I prefer to do like `exec rxvt -e
> dicey-window-manager' so that the error messages are right there to be
> seen.  On the other hand, it looks as if the script implicitly
> contains a lot of tips for editing one's .xinitrc, so why not convert
> it into explicit tips?  There are millions (billions?) of future Scwm
> users out there, and they need to be lured over by presenting things
> they can understand.

I've considered this, but I was hoping to try to make startscwm reliable 
enough to be useful on multiple platforms.  I try to test for features
before using them (e.g., ssh-agent).  I've now cleaned up the xterm
stuff so that you can set the env var XTERM_PROGRAM_NAME to rxvt and
it'll use that instead (but xterm is the default).

> Anyway, basic Scwm 0.99.2pre5 is now running on my machine without any
> apparent problems.  Hurrah!

Great-- have you tried the constraint solver?  Does it work?

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep  4 21:49:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA12920
	for scwm-discuss-outgoing; Sat, 4 Sep 1999 21:49:12 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from barrow.uwaterloo.ca (jrmacpha@barrow.uwaterloo.ca [129.97.140.32])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA12917
	for <scwm-discuss@scwm.mit.edu>; Sat, 4 Sep 1999 21:49:06 -0400
Received: (from jrmacpha@localhost)
	by barrow.uwaterloo.ca (8.8.8/8.8.8) id VAA04093;
	Sat, 4 Sep 1999 21:49:04 -0400 (EDT)
Date: Sat, 4 Sep 1999 21:49:04 -0400 (EDT)
Message-Id: <199909050149.VAA04093@barrow.uwaterloo.ca>
From: John Revan MacPhail <jrmacpha@barrow.uwaterloo.ca>
To: gjb@cs.washington.edu, scwm-discuss@scwm.mit.edu
Subject: constraint solver
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg,

Okay, I will have a go at startscwm.  It occurs to me that it may be
colliding with the weirdest thing on my system: the argument `--
-noaccel' is necessary for X to start without a freeze, this argument
is usually quietly got from the user's ~/.xserverrc, and perhaps
startscwm does not source that file.

The constraint solver works, I think.  But I only spent a few minutes
trying it, not having figured out what to do with it, and still being
befuddled by various error messages when other Scheme code is
executed.  (There are also some silly things I may need to sort out
with the keyboard, since I don't have a Hyper key or a Windows key.
In effect, what I have is Control, Alt and Meta.)  Also, I am not
quite sure what to make of the constraint solver, never having seen it
before today.  What are other people doing with it?

John

-- 
John MacPhail
jrmacpha@math.uwaterloo.ca

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep  5 05:01:56 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA15413
	for scwm-discuss-outgoing; Sun, 5 Sep 1999 05:01:56 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mailhost1.dircon.co.uk (mailhost1.dircon.co.uk [194.112.32.65])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA15410
	for <scwm-discuss@scwm.mit.edu>; Sun, 5 Sep 1999 05:01:51 -0400
Received: from mpriz.dircon.co.uk (th-en133-101.pool.dircon.co.uk [194.112.53.101])
	by mailhost1.dircon.co.uk (8.9.1/8.8.7) with SMTP id KAA20430;
	Sun, 5 Sep 1999 10:01:31 +0100 (BST)
Message-ID: <008901bef77c$fa32ef40$653570c2@mpriz.dircon.co.uk>
From: "Marisha Ray & Neil Jerram" <mpriz@dircon.co.uk>
To: <scwm-discuss@scwm.mit.edu>, <guile@sourceware.cygnus.com>,
        "Greg Badros" <gjb@cs.washington.edu>
Subject: Re: guile-gtk images on remote X display
Date: Sun, 5 Sep 1999 01:32:44 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Well it's wrong, of course, to be trying to use the MIT-SHM extension when
the client and X server are on different machines.  But you probably already
knew that.

I suggest you investigate the place in the GTK code where it makes on
decision on whether to try to use MIT-SHM - there must be a bug there.

In cases where it is valid to use MIT-SHM, a common error scenario is where
the client's image data gets freed or overwritten before the XShmCompletion
event arrives - a symptom of which can be that you see garbage images.

    Neil (hoping I'm not just stating the obvious)

-----Original Message-----
From: Greg Badros <gjb@cs.washington.edu>
To: scwm-discuss@scwm.mit.edu <scwm-discuss@scwm.mit.edu>;
guile@sourceware.cygnus.com <guile@sourceware.cygnus.com>;
gtk-app-devel-list@redhat.com <gtk-app-devel-list@redhat.com>
Date: 1999 August 31 03:29
Subject: guile-gtk images on remote X display


>Does anyone have any insight as to why Scwm, when using guile-gtk and
>displaying on a remote X server, would generate these X errors when
>trying to display X images (which end up looking very wrong-- largely
>garbage)?
>
>X Error of failed request:  BadAccess (attempt to access private resource
denied)
>  Major opcode of failed request:  129 (MIT-SHM)
>  Minor opcode of failed request:  1 (X_ShmAttach)
>  Serial number of failed request:  738
>  Current serial number in output stream:  739
>X Error of failed request:  BadShmSeg (invalid shared segment parameter)
>  Major opcode of failed request:  129 (MIT-SHM)
>  Minor opcode of failed request:  3 (X_ShmPutImage)
>    Segment id in failed request:  0xc00072
>Serial number of failed request:  748
>  Current serial number in output stream:  750
>X Error of failed request:  BadShmSeg (invalid shared segment parameter)
>  Major opcode of failed request:  129 (MIT-SHM)
>  Minor opcode of failed request:  2 (X_ShmDetach)
>    Segment id in failed request:  0xc00072
>
>Seems like gdk is trying to do an optimization using an X11 shared
>memory extension, but I don't see this problem with other Gtk
>applications, even with other guile-gtk applications (e.g., Galway).
>
>Here's the relevant part of the Scwm backtrace:
>
>#0  ScwmErrorHandler (dpy=0x8169f40, event=0xbfffdda0) at scwm.c:1491
>#1  0x4009a9e9 in _XError ()
>#2  0x40099251 in _XReply ()
>#3  0x40094cf1 in XSync ()
>#4  0x40c274b0 in gdk_flush ()
>#5  0x40c2c336 in gdk_image_destroy ()
>#6  0x40c2dc96 in _gdk_pixmap_create_from_xpm ()
>#7  0x40c2ddec in gdk_pixmap_colormap_create_from_xpm ()
>#8  0x40c2de38 in gdk_pixmap_create_from_xpm ()
>#9  0x40ac4b13 in gtk_pixmap_new_interp (file=0x825f1f0
"/usr/contrib/share/scwm/pixmaps/mini-term.xpm",
>    intended_parent=0x823e260) at gtk-compat.c:53
>#10 0x40ad7427 in sgtk_gtk_pixmap_new_interp (p_xpm_file=1083878544,
p_intended_parent=1083879936)
>    at gtk-glue.c:8310
>
>And here's what Scwm is linked against (pretty typical RH6 box):
>
>% ldd scwm
>        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40019000)
>        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40022000)
>        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40037000)
>        libXtst.so.6 => /usr/X11R6/lib/libXtst.so.6 (0x40043000)
>        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40048000)
>        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x4005a000)
>        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40067000)
>        libguile.so.5 => /usr/contrib/lib/libguile.so.5 (0x40104000)
>        libdl.so.2 => /lib/libdl.so.2 (0x40171000)
>        libm.so.6 => /lib/libm.so.6 (0x40175000)
>        libcassowary.so.0 => /usr/contrib/lib/libcassowary.so.0
(0x40191000)
>        libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2
(0x40234000)
>        libGTL.so.3 => /usr/contrib/lib/libGTL.so.3 (0x40276000)
>        libImlib.so.1 => /usr/lib/libImlib.so.1 (0x402ea000)
>        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40315000)
>        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x40335000)
>        libungif.so.4 => /usr/lib/libungif.so.4 (0x40362000)
>        libpng.so.2 => /usr/lib/libpng.so.2 (0x4036a000)
>        libz.so.1 => /usr/lib/libz.so.1 (0x40387000)
>        libc.so.6 => /lib/libc.so.6 (0x40396000)
>        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40484000)
>        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
>I'd like to get this worked out before Scwm-0.99.2, so any help is
>appreciated immensely!  I'm willing to go looking, but there's gotta be
>some accumulated wisdom that could reduce my search dramatically....
>
>Thanks,
>Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep  5 14:30:41 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA15830
	for scwm-discuss-outgoing; Sun, 5 Sep 1999 14:30:41 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from math.uwaterloo.ca (root@math.uwaterloo.ca [129.97.216.42])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA15827
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 5 Sep 1999 14:30:37 -0400
Received: from thing-one.localdomain (cnts2p27.uwaterloo.ca [129.97.182.27])
	by math.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id OAA24461;
	Sun, 5 Sep 1999 14:30:33 -0400 (EDT)
From: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Received: (from jrm@localhost)
	by thing-one.localdomain (8.9.3/8.9.3) id OAA00796;
	Sun, 5 Sep 1999 14:30:51 -0400
Date: Sun, 5 Sep 1999 14:30:51 -0400
Message-Id: <199909051830.OAA00796@thing-one.localdomain>
To: To:, gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
Subject: startscwm
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg,

My trouble with the provided startscwm _is_ that it misses my
~/.xserverrc, the contents of which are 
    #!/bin/sh
    exec X -noaccel

My ugly but fairly safe solution is to duck out if ~/.xserverrc
exists:

    if [ -f ~/.xserverrc ]; then
        xinit
    else
        X $DISPLAY $OPTIONS -auth $XAUTHORITY >& $HOME/.Xserver-log &
    fi

If I replace `xinit' with `~/.xserverrc', then X starts but with no
rxvt or anything.  A more clever solution would replace `X' in the
script with the contents of ~/.xserverrc, but that seems likely to
create problems for other people.

John

-- 
John MacPhail                   grad student at U.Waterloo
jrmacphail@math.uwaterloo.ca          sneaker net  MC5136A
-----------------------------------------------------------

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep  5 15:52:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA16043
	for scwm-discuss-outgoing; Sun, 5 Sep 1999 15:52:10 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA16040
	for <scwm-discuss@scwm.mit.edu>; Sun, 5 Sep 1999 15:52:07 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA26558; Sun, 5 Sep 1999 12:52:04 -0700 (PDT)
To: John Revan MacPhail <jrmacpha@barrow.uwaterloo.ca>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: constraint solver
References: <199909050149.VAA04093@barrow.uwaterloo.ca>
From: Greg Badros <gjb@cs.washington.edu>
Date: 05 Sep 1999 12:52:03 -0700
In-Reply-To: John Revan MacPhail's message of "Sat, 4 Sep 1999 21:49:04 -0400 (EDT)"
Message-ID: <qrrn1v1f864.fsf@elwha.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Revan MacPhail <jrmacpha@barrow.uwaterloo.ca> writes:

> Okay, I will have a go at startscwm.  It occurs to me that it may be
> colliding with the weirdest thing on my system: the argument `--
> -noaccel' is necessary for X to start without a freeze, this argument
> is usually quietly got from the user's ~/.xserverrc, and perhaps
> startscwm does not source that file.

Nope it doesn't.  Patches to change that are very welcome.

> The constraint solver works, I think.  But I only spent a few minutes
> trying it, not having figured out what to do with it, and still being
> befuddled by various error messages when other Scheme code is
> executed.  (There are also some silly things I may need to sort out
> with the keyboard, since I don't have a Hyper key or a Windows key.
> In effect, what I have is Control, Alt and Meta.)  Also, I am not
> quite sure what to make of the constraint solver, never having seen it
> before today.  What are other people doing with it?

That's what I'm trying to figure out.  I don't think many people have
had builds of Scwm w/ the constraint solver before these recent
pre-packaged RPMs so there is not much use of the solver, yet.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep  5 15:54:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA16070
	for scwm-discuss-outgoing; Sun, 5 Sep 1999 15:54:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA16067
	for <scwm-discuss@scwm.mit.edu>; Sun, 5 Sep 1999 15:54:13 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA26561; Sun, 5 Sep 1999 12:53:41 -0700 (PDT)
To: "Marisha Ray & Neil Jerram" <mpriz@dircon.co.uk>
Cc: <scwm-discuss@scwm.mit.edu>, <guile@sourceware.cygnus.com>
Subject: Re: guile-gtk images on remote X display
References: <008901bef77c$fa32ef40$653570c2@mpriz.dircon.co.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 05 Sep 1999 12:53:41 -0700
In-Reply-To: "Marisha Ray & Neil Jerram"'s message of "Sun, 5 Sep 1999 01:32:44 +0100"
Message-ID: <qrrlnalf83e.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Marisha Ray & Neil Jerram" <mpriz@dircon.co.uk> writes:

> Well it's wrong, of course, to be trying to use the MIT-SHM extension when
> the client and X server are on different machines.  But you probably already
> knew that.
> 
> I suggest you investigate the place in the GTK code where it makes on
> decision on whether to try to use MIT-SHM - there must be a bug there.
> 
> In cases where it is valid to use MIT-SHM, a common error scenario is where
> the client's image data gets freed or overwritten before the XShmCompletion
> event arrives - a symptom of which can be that you see garbage images.
> 
>     Neil (hoping I'm not just stating the obvious)

Right-- see the scwm-discuss archives for my detailed description of the 
problem and how I fixed it.  In a nutshell, GTk relies on its X11 error
handler to report errors, but Scwm was replacing that error handler w/o
side-effecting the global variable the GTk expected to hold the last X11 
error code.  The fix was simple once I discovered the use of the error
handler and the setting of the global variable.

Thanks for your help.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep  5 15:56:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA16139
	for scwm-discuss-outgoing; Sun, 5 Sep 1999 15:56:33 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA16134
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 5 Sep 1999 15:56:30 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA26564; Sun, 5 Sep 1999 12:56:27 -0700 (PDT)
To: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: startscwm
References: <199909051830.OAA00796@thing-one.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 05 Sep 1999 12:56:26 -0700
In-Reply-To: John Revan MacPhail's message of "Sun, 5 Sep 1999 14:30:51 -0400"
Message-ID: <qrrk8q5f7yt.fsf@elwha.cs.washington.edu>
Lines: 31
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Revan MacPhail <jrmacpha@math.uwaterloo.ca> writes:

> Greg,
> 
> My trouble with the provided startscwm _is_ that it misses my
> ~/.xserverrc, the contents of which are 
>     #!/bin/sh
>     exec X -noaccel
> 
> My ugly but fairly safe solution is to duck out if ~/.xserverrc
> exists:
> 
>     if [ -f ~/.xserverrc ]; then
>         xinit
>     else
>         X $DISPLAY $OPTIONS -auth $XAUTHORITY >& $HOME/.Xserver-log &
>     fi
> 
> If I replace `xinit' with `~/.xserverrc', then X starts but with no
> rxvt or anything.  A more clever solution would replace `X' in the
> script with the contents of ~/.xserverrc, but that seems likely to
> create problems for other people.

Won't xinit bare use .xinitrc?  Maybe

xinit startscwm

would do the right thing?  (Presuming it sets the $DISPLAY variable as
it should, then the recursive invocation of the script is not a problem).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep  5 17:17:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA16538
	for scwm-discuss-outgoing; Sun, 5 Sep 1999 17:17:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tequila.cs.yale.edu (TEQUILA.CS.YALE.EDU [128.36.229.152])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA16535
	for <scwm-discuss@scwm.mit.edu>; Sun, 5 Sep 1999 17:17:38 -0400
Received: from tequila.cs.yale.edu (localhost [127.0.0.1])
	by tequila.cs.yale.edu (8.9.3/8.9.3) with SMTP id RAA06962
	for <scwm-discuss@scwm.mit.edu>; Sun, 5 Sep 1999 17:17:37 -0400
To: scwm-discuss@scwm.mit.edu
From: "Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu>
Newsgroups: lists.scwm.discuss
Subject: Re: startscwm
References: <199909051830.OAA00796@thing-one.localdomain> <qrrk8q5f7yt.fsf@elwha.cs.washington.edu>
Date: 05 Sep 1999 17:14:35 -0400
Message-ID: <5lzoz1dps4.fsf@tequila.cs.yale.edu>
Lines: 18
X-Newsreader: Gnus v5.7/Emacs 20.4
Path: tequila.cs.yale.edu
NNTP-Posting-Host: tequila.cs.yale.edu
X-Trace: 5 Sep 1999 17:14:35 -0500, tequila.cs.yale.edu
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> "Greg" == Greg Badros <gjb@cs.washington.edu> writes:
> Won't xinit bare use .xinitrc?  Maybe
>   xinit startscwm
> would do the right thing?

Yes.  startscwm seems to reinvent the wheel rather than use xinit.
One more thing:

  exec $SSA $0 > $ERRORSFILE 2>&1

should probably be replaced by

  exec $SSA $0 "$@" > $ERRORSFILE 2>&1

so that arguments are correctly propagated.


	Stefan

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep  5 19:29:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA16964
	for scwm-discuss-outgoing; Sun, 5 Sep 1999 19:29:47 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA16961
	for <scwm-discuss@scwm.mit.edu>; Sun, 5 Sep 1999 19:29:42 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA26853; Sun, 5 Sep 1999 16:29:38 -0700 (PDT)
To: "Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: startscwm
References: <199909051830.OAA00796@thing-one.localdomain> <qrrk8q5f7yt.fsf@elwha.cs.washington.edu> <5lzoz1dps4.fsf@tequila.cs.yale.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 05 Sep 1999 16:29:38 -0700
In-Reply-To: "Stefan Monnier"'s message of "05 Sep 1999 17:14:35 -0400"
Message-ID: <qrrg10tey3h.fsf@elwha.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu> writes:

> >>>>> "Greg" == Greg Badros <gjb@cs.washington.edu> writes:
> > Won't xinit bare use .xinitrc?  Maybe
> >   xinit startscwm
> > would do the right thing?
> 
> Yes.  startscwm seems to reinvent the wheel rather than use xinit.
> One more thing:
> 
>   exec $SSA $0 > $ERRORSFILE 2>&1
> 
> should probably be replaced by
> 
>   exec $SSA $0 "$@" > $ERRORSFILE 2>&1
> 
> so that arguments are correctly propagated.

Yep, you're right, of course.  

I've made the changes in the repo, but haven't really tested them yet.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep  6 03:25:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA18329
	for scwm-discuss-outgoing; Mon, 6 Sep 1999 03:25:10 -0400
Received: from marvin.ida.ing.tu-bs.de (dirk@marvin.ida.ing.tu-bs.de [134.169.132.60])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA18326
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Sep 1999 03:25:04 -0400
Received: from localhost (dirk@localhost)
	by marvin.ida.ing.tu-bs.de (8.9.3/8.9.3) with ESMTP id JAA22070;
	Mon, 6 Sep 1999 09:24:36 +0200
X-Authentication-Warning: marvin.ida.ing.tu-bs.de: dirk owned process doing -bs
Date: Mon, 6 Sep 1999 09:24:35 +0200 (MEST)
From: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
To: Greg Badros <gjb@cs.washington.edu>
cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Re: inconsistent naming
In-Reply-To: <qrrk8q7ho91.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.LNX.4.10.9909060909350.16415-100000@marvin.ida.ing.tu-bs.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 3 Sep 1999, Greg Badros wrote:

> "Mark Schafer" <mschafer@anohana.com> writes:
> 
> > One of the lisp's guidelines would have you use -p as a suffix to
> > indicate predicates.
> > so: *move-opaquely-p* could be a solution.
> > Personally I find this a useful naming convention in all cases.
> 
> We do use _p in the C code (where a ? is not valid in an identifier).
> *move-opaquely-p* seems reasonable as do *move-opaquely?*,
> *move-opaquely-proc*, and *move-opaquely-predicate*.
> 
> Preferences?

Since you asked...


*move-opaquely?* is my favorite because most 'schemey'.

*move-opaquely-predicate* *move-opaquely-pred* are second best because
they come close to the '*some-function-proc*' naming scheme for
procedures and thus would also be consistent.

*move-opaquely-p*:  I don't understand why one could prefer this to the
'?' notation?  Just to avoid a '?' character?  However, it is not schemey
and also not consistent with other variables, but still better than:

*move-opaquely-proc*: This is my least favorite, since the predicate
nature is completely hidden.


These are my personal preferences.

Dirk


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep  6 05:37:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA20634
	for scwm-discuss-outgoing; Mon, 6 Sep 1999 05:37:42 -0400
Received: from marvin.ida.ing.tu-bs.de (dirk@marvin.ida.ing.tu-bs.de [134.169.132.60])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA20631
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Sep 1999 05:37:33 -0400
Received: from localhost (dirk@localhost)
	by marvin.ida.ing.tu-bs.de (8.9.3/8.9.3) with ESMTP id LAA22643;
	Mon, 6 Sep 1999 11:37:05 +0200
X-Authentication-Warning: marvin.ida.ing.tu-bs.de: dirk owned process doing -bs
Date: Mon, 6 Sep 1999 11:37:04 +0200 (MEST)
From: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
To: Greg Badros <gjb@cs.washington.edu>
cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: SCWM crashed X
In-Reply-To: <qrrn1v4gdff.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.LNX.4.10.9909061113150.22343-100000@marvin.ida.ing.tu-bs.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

SCWM crashed X when I tried to move the netscape window with the fvwm
pager:  The current (still empty) desk was #1 (counting from 0).  Netscape
was on desk #0.

The following messages were on the screen:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  42 (X_SetInputFocus)
  Serial number of failed request:  54912
  Current serial number in output stream:  54912
/marvin/home/dirk/software/scwm-0.99.2pre2/share/scwm/modules/app/scwm/fvwm-module.scm:210:3:
In procedure force-output in expression (force-output port):
/marvin/home/dirk/software/scwm-0.99.2pre2/share/scwm/modules/app/scwm/fvwm-module.scm:210:3:
Broken pipe
Error: could not flush file-descriptor 9

waiting for X server to shut down xterm:  fatal IO error 32 (Broken pipe)
or KillClient on X server ":0.0"
xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"


Sorry, that's all that I can tell you now, because there's no core file.
In an attempt to reproduce the error I was able to move the netscape
window, but at that moment the fvwm pager was killed.

Hmmm...

Dirk


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep  6 07:25:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA20819
	for scwm-discuss-outgoing; Mon, 6 Sep 1999 07:25:00 -0400
Received: from marvin.ida.ing.tu-bs.de (dirk@marvin.ida.ing.tu-bs.de [134.169.132.60])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA20816
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Sep 1999 07:24:52 -0400
Received: from localhost (dirk@localhost)
	by marvin.ida.ing.tu-bs.de (8.9.3/8.9.3) with ESMTP id NAA23267
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Sep 1999 13:24:48 +0200
X-Authentication-Warning: marvin.ida.ing.tu-bs.de: dirk owned process doing -bs
Date: Mon, 6 Sep 1999 13:24:48 +0200 (MEST)
From: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
To: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Selecting a theme and the Gnome panel...
Message-ID: <Pine.LNX.4.10.9909061314510.23181-100000@marvin.ida.ing.tu-bs.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi!

When the Gnome panel is started for the first time, it has no borders
(or better: zero width borders), as stated in my .scwmrc:

(window-style "panel" 
              #:use-style desk-widget 
              #:border-width 0 
              #:no-titlebar #t)

However, if I select a new global theme, suddenly the border width is the
same as with all other windows.  How can this be avoided?  Or is it a bug?

Best regards,
Dirk Herrmann


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep  6 13:01:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA21185
	for scwm-discuss-outgoing; Mon, 6 Sep 1999 13:01:58 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from lukla.Sun.COM (lukla.Sun.COM [192.18.98.31])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA21182
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Sep 1999 13:01:52 -0400
Received: from centralmail2.Central.Sun.COM ([129.147.62.11])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id LAA28316
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Sep 1999 11:01:45 -0600 (MDT)
Received: from muzzy.Central.Sun.COM (muzzy.Central.Sun.COM [129.152.74.150])
	by centralmail2.Central.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id MAA28841
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Sep 1999 12:01:41 -0500 (CDT)
Received: (from samf@localhost)
	by muzzy.Central.Sun.COM (8.9.3+Sun/8.9.3) id LAA107208;
	Mon, 6 Sep 1999 11:01:43 -0600 (MDT)
To: scwm-discuss@scwm.mit.edu
Subject: system.scwmrc in release candidate
From: Sam Falkner <samf@central.sun.com>
Date: 06 Sep 1999 11:01:42 -0600
Message-ID: <ii7lnak0ya1.fsf@central.sun.com>
Lines: 7
User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I'm at work, and I found the problem at home, so sorry I can't easily
give you more detail now.  But, in the latest RedHat RPMs that I
downloaded, the installed system.scwmrc has an unbalanced paren, and
thus doesn't load.  Sorry I can't point you at exactly where, but it
wasn't too hard to find.

- Sam

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep  6 13:04:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA21219
	for scwm-discuss-outgoing; Mon, 6 Sep 1999 13:04:36 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA21211
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Sep 1999 13:04:24 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA27913; Mon, 6 Sep 1999 10:04:13 -0700 (PDT)
To: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Re: SCWM crashed X
References: <Pine.LNX.4.10.9909061113150.22343-100000@marvin.ida.ing.tu-bs.de>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Sep 1999 10:04:13 -0700
In-Reply-To: Dirk Herrmann's message of "Mon, 6 Sep 1999 11:37:04 +0200 (MEST)"
Message-ID: <qrrzoz0dl9u.fsf@elwha.cs.washington.edu>
Lines: 43
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> Hi,
> 
> SCWM crashed X when I tried to move the netscape window with the fvwm
> pager:  The current (still empty) desk was #1 (counting from 0).  Netscape
> was on desk #0.
> 
> The following messages were on the screen:
> 
> X Error of failed request:  BadMatch (invalid parameter attributes)
>   Major opcode of failed request:  42 (X_SetInputFocus)
>   Serial number of failed request:  54912
>   Current serial number in output stream:  54912
> /marvin/home/dirk/software/scwm-0.99.2pre2/share/scwm/modules/app/scwm/fvwm-module.scm:210:3:
> In procedure force-output in expression (force-output port):
> /marvin/home/dirk/software/scwm-0.99.2pre2/share/scwm/modules/app/scwm/fvwm-module.scm:210:3:
> Broken pipe
> Error: could not flush file-descriptor 9
> 
> waiting for X server to shut down xterm:  fatal IO error 32 (Broken pipe)
> or KillClient on X server ":0.0"
> xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"
> 
> 
> Sorry, that's all that I can tell you now, because there's no core file.
> In an attempt to reproduce the error I was able to move the netscape
> window, but at that moment the fvwm pager was killed.
> 
> Hmmm...

Double hmmmm... it seems to work for me.  Probably a slightly buggy X
server that Scwm tickles the bug in by doing something screwey of its
own.

Thanks for the bug report... I don't think there's anything that I
should do about this now.  If you can track down the dieing of the fvwm
pager that you seem to be able to reproduce, that'd be helpful
(especially if accompanied by a patch to fix the problem! :-) ).

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep  6 13:38:38 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA21456
	for scwm-discuss-outgoing; Mon, 6 Sep 1999 13:38:38 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA21450
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Sep 1999 13:38:28 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA27938; Mon, 6 Sep 1999 10:38:21 -0700 (PDT)
To: Sam Falkner <samf@central.sun.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: system.scwmrc in release candidate
References: <ii7lnak0ya1.fsf@central.sun.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Sep 1999 10:38:20 -0700
In-Reply-To: Sam Falkner's message of "06 Sep 1999 11:01:42 -0600"
Message-ID: <qrrvh9odjoz.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Sam Falkner <samf@central.sun.com> writes:

> I'm at work, and I found the problem at home, so sorry I can't easily
> give you more detail now.  But, in the latest RedHat RPMs that I
> downloaded, the installed system.scwmrc has an unbalanced paren, and
> thus doesn't load.  Sorry I can't point you at exactly where, but it
> wasn't too hard to find.

Okay, thanks.  It doesn't seem to have an unbalanced paren now.  If you
can let me know which RPM it was that you had problems with, I'd greatly 
appreciate it... there are *lots* of pre-release RPMs on
upintheair.cs.washington.edu now.  I'm still waiting for guile-1.3.4
before the release of scwm-0.99.2.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep  6 17:05:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA22347
	for scwm-discuss-outgoing; Mon, 6 Sep 1999 17:05:29 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from math.uwaterloo.ca (root@math.uwaterloo.ca [129.97.216.42])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA22344
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 6 Sep 1999 17:05:14 -0400
Received: from thing-one.localdomain (cnts3p34.uwaterloo.ca [129.97.130.34])
	by math.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id RAA20594;
	Mon, 6 Sep 1999 17:05:07 -0400 (EDT)
From: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Received: (from jrm@localhost)
	by thing-one.localdomain (8.9.3/8.9.3) id QAA00736;
	Mon, 6 Sep 1999 16:58:50 -0400
Date: Mon, 6 Sep 1999 16:58:50 -0400
Message-Id: <199909062058.QAA00736@thing-one.localdomain>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
Subject: distributing Scwm
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg,

The stuff I've rebuilt lists as follows:

ls -l RPMS/ppc
total 15278
-rw-r--r--   1 root     root      2409424 Sep  5 01:29 GTL-0.3.1-1.ppc.rpm
-rw-r--r--   1 root     root      9470438 Sep  5 00:39 cassowary-0.51-5.ppc.rpm
-rw-r--r--   1 root     root       444774 Sep  2 22:37 guile-1.3.3-1gjb.ppc.rpm
-rw-r--r--   1 root     root       412363 Sep  2 22:38 guile-devel-1.3.3-1gjb.ppc.rpm
-rw-r--r--   1 root     root       358804 Sep  1 13:45 guile-gtk-26Aug99-2gjb.ppc.rpm
-rw-r--r--   1 root     root      2476021 Sep  5 02:09 scwm-0.99.2pre5-1.ppc.rpm[redhat]$ 

A number of questions arise.

One, posting it.  It looks to me as though you've put the prerelease
stuff where not many people would know about it, so I am hesitant
about putting the rebuilds in a more accessible spot.  Comments?

Two, slightly altered sources.  Unless something is messed up in a way
that I don't see, my .src.rpm files differ from yours only in the two
minor places you know about (in GTL.h and scwm-constraints.cc), and I
don't intend to worry about it.  Neither will I worry about startscwm.

Three, possible weaknesses in rebuilding.  Emacs just warned me that
it was using an old scwm.elc file -- my scwm-0.99.2pre5-1.ppc.rpm
installs scwm.el but not scwm.elc; does this mean I have messed
something up?  Another aspect of this is that I rebuilt without
sgmltools installed, and I wonder if this had consequences I do not
see.  If it is convenient, perhaps you could mail me the output from
`rpm -qf scwm' on a RedHat machine?

Four, license concerns.  The Cassowary licence does not look like a
problem (are the Debian people happy with it?), but the GTL licence is
likely to get the whole Scwm distribution put into `unfree'
directories, delaying the acceptance of Scwm and causing untold
suffering to many people continuing to use the other stuff out there.
If I understand correctly, the Scwm/Cassowary combination is not
actually using GTL.  My inclination is to start cutting and slashing
through the Cassowary code in order to get rid of the fake dependence
on GTL.  It is not clear to me whether this would be resented or
appreciated.  Warnings?  Suggestions?

Five, disk space used by Cassowary.  From ls -l `rpm -ql cassowary`, I
see that the nine megs for .ppc.rpm file is utterly dwarfed by the
disk space used by the installation.  For example, I just ran ClTests,
and it seems happy, but it is using seven megs on my hard drive.  What
do you think about breaking some of this stuff out into separate
packages?

John

-- 
John MacPhail                   grad student at U.Waterloo
jrmacphail@math.uwaterloo.ca          sneaker net  MC5136A
-----------------------------------------------------------

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep  6 17:24:28 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA22442
	for scwm-discuss-outgoing; Mon, 6 Sep 1999 17:24:28 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA22439
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 6 Sep 1999 17:24:24 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA28478; Mon, 6 Sep 1999 14:24:20 -0700 (PDT)
To: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: distributing Scwm
References: <199909062058.QAA00736@thing-one.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Sep 1999 14:24:20 -0700
In-Reply-To: John Revan MacPhail's message of "Mon, 6 Sep 1999 16:58:50 -0400"
Message-ID: <qrrr9kbensr.fsf@elwha.cs.washington.edu>
Lines: 397
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Revan MacPhail <jrmacpha@math.uwaterloo.ca> writes:

> Greg,
> 
> The stuff I've rebuilt lists as follows:
> 
> ls -l RPMS/ppc
> total 15278
> -rw-r--r--   1 root     root      2409424 Sep  5 01:29 GTL-0.3.1-1.ppc.rpm
> -rw-r--r--   1 root     root      9470438 Sep  5 00:39 cassowary-0.51-5.ppc.rpm
> -rw-r--r--   1 root     root       444774 Sep  2 22:37 guile-1.3.3-1gjb.ppc.rpm
> -rw-r--r--   1 root     root       412363 Sep  2 22:38 guile-devel-1.3.3-1gjb.ppc.rpm
> -rw-r--r--   1 root     root       358804 Sep  1 13:45 guile-gtk-26Aug99-2gjb.ppc.rpm
> -rw-r--r--   1 root     root      2476021 Sep  5 02:09 scwm-0.99.2pre5-1.ppc.rpm[redhat]$ 

Excellent!

> A number of questions arise.
> 
> One, posting it.  It looks to me as though you've put the prerelease
> stuff where not many people would know about it, so I am hesitant
> about putting the rebuilds in a more accessible spot.  Comments?

It'd be fine to put the rebuilds on a web page that you announce to
scwm-discuss.  I'm planning on making the real 0.99.2 release once
guile-1.3.4 comes out.

> Two, slightly altered sources.  Unless something is messed up in a way
> that I don't see, my .src.rpm files differ from yours only in the two
> minor places you know about (in GTL.h and scwm-constraints.cc), and I
> don't intend to worry about it.  Neither will I worry about startscwm.

The changes to GTL should be in a patch-- the version I do a make dist
on is actually not completely pristine source, either.  I'll be updating 
the GTL.spec file with my patch RSN. 

What is your __GNUC_MINOR__ for the compiler you're using?  I think
the part in GTL.h could be:

#ifdef __GTL_GCC
#if __GNUC__ == 2 && __GNUC_MINOR__ < 95

#include <memory>

/**
 * @internal
 */
template <class T>
class allocator : public alloc
{
};
#endif

#endif


for it to work for both of us.

> Three, possible weaknesses in rebuilding.  Emacs just warned me that
> it was using an old scwm.elc file -- my scwm-0.99.2pre5-1.ppc.rpm
> installs scwm.el but not scwm.elc; does this mean I have messed
> something up?  Another aspect of this is that I rebuilt without
> sgmltools installed, and I wonder if this had consequences I do not
> see.  If it is convenient, perhaps you could mail me the output from
> `rpm -qf scwm' on a RedHat machine?

Nah, the post-install script should probably try to compile scwm.el to
get scwm.elc, but that seems not incredibly important (.elc files are
incompatible between Emacs and XEmacs, and even between versions of the
same product).

"rpm -qilp scwm-0.99.2pre6-1.i386.rpm" gives me:

Name        : scwm                         Relocations: (not relocateable)
Version     : 0.99.2pre6                        Vendor: (none)
Release     : 1                             Build Date: Sun Sep  5 22:00:56 1999
Install date: (not installed)               Build Host: clavicle
Group       : X11/Window Managers           Source RPM: scwm-0.99.2pre6-1.src.rpm
Size        : 11500792                         License: Copyright (C) 1997,1998,1999 Greg J. Badros, Maciej Stachowiak, et. al.
Packager    : Greg J. Badros <gjb@cs.washington.edu> and Maciej Stachowiak <mstachow@alum.mit.edu>
URL         : http://scwm.mit.edu
Summary     : The Scheme Constraints Window Manager.
Description :

Scwm is the Scheme Constraints Window Manager, a highly dynamic and
extensible window manager for the X Window System.  Scwm embeds Guile
Scheme as the configuration and extension language, and includes a
sophisticated constraint solver for permitting the user to interactively
specify constraints among top-level window sizes and positions.  Nearly
all decorations can be changed at run-time on a per-window basis.
Dynamic loading of C modules is supported.  Scwm is self-documenting and
provides A powerful protocol for interacting with the window manager
from other processes
/usr/bin
/usr/bin/cpp-sed-nl
/usr/bin/run-renamed
/usr/bin/scwm
/usr/bin/scwm-conf
/usr/bin/scwmexec
/usr/bin/scwmrepl
/usr/bin/startscwm
/usr/doc/scwm-0.99.2pre6
/usr/doc/scwm-0.99.2pre6/ANNOUNCE
/usr/doc/scwm-0.99.2pre6/AUTHORS
/usr/doc/scwm-0.99.2pre6/BUG-REPORTING
/usr/doc/scwm-0.99.2pre6/BUGS
/usr/doc/scwm-0.99.2pre6/COPYING.FVWM
/usr/doc/scwm-0.99.2pre6/COPYING.GPL
/usr/doc/scwm-0.99.2pre6/ChangeLog
/usr/doc/scwm-0.99.2pre6/INSTALL
/usr/doc/scwm-0.99.2pre6/NEWS
/usr/doc/scwm-0.99.2pre6/README
/usr/doc/scwm-0.99.2pre6/README-constraints
/usr/doc/scwm-0.99.2pre6/THANKS
/usr/doc/scwm-0.99.2pre6/TODO
/usr/doc/scwm-0.99.2pre6/doc
/usr/doc/scwm-0.99.2pre6/doc/ChangeLog
/usr/doc/scwm-0.99.2pre6/doc/Makefile
/usr/doc/scwm-0.99.2pre6/doc/Makefile.am
/usr/doc/scwm-0.99.2pre6/doc/Makefile.in
/usr/doc/scwm-0.99.2pre6/doc/README
/usr/doc/scwm-0.99.2pre6/doc/scwm-concepts.txt
/usr/doc/scwm-0.99.2pre6/doc/scwm-faq
/usr/doc/scwm-0.99.2pre6/doc/scwm-hooks.txt
/usr/doc/scwm-0.99.2pre6/doc/scwm-intro-tutorial.scm
/usr/doc/scwm-0.99.2pre6/doc/scwm-procedures.txt
/usr/doc/scwm-0.99.2pre6/doc/scwm-variables.txt
/usr/doc/scwm-0.99.2pre6/doc/scwm.1
/usr/doc/scwm-0.99.2pre6/doc/scwm.info
/usr/doc/scwm-0.99.2pre6/doc/scwm.sgml
/usr/doc/scwm-0.99.2pre6/doc/scwm.texi
/usr/doc/scwm-0.99.2pre6/doc/scwmexec.1
/usr/doc/scwm-0.99.2pre6/doc/scwmrepl.1
/usr/doc/scwm-0.99.2pre6/doc/session-management
/usr/doc/scwm-0.99.2pre6/doc/smproxy.patch
/usr/doc/scwm-0.99.2pre6/doc/texinfo.tex
/usr/doc/scwm-0.99.2pre6/doc/theme-howto
/usr/include
/usr/include/scwmexec.h
/usr/info
/usr/info/scwm.info
/usr/lib/libscwmexec.a
/usr/lib/libscwmexec.la
/usr/lib/libscwmexec.so
/usr/lib/libscwmexec.so.0
/usr/lib/libscwmexec.so.0.0.0
/usr/lib/scwm
/usr/lib/scwm/modules
/usr/lib/scwm/modules/app
/usr/lib/scwm/modules/app/scwm
/usr/lib/scwm/modules/app/scwm/libbackground.a
/usr/lib/scwm/modules/app/scwm/libbackground.la
/usr/lib/scwm/modules/app/scwm/libbackground.so
/usr/lib/scwm/modules/app/scwm/libbackground.so.0
/usr/lib/scwm/modules/app/scwm/libbackground.so.0.0.0
/usr/lib/scwm/modules/app/scwm/libc-animation.a
/usr/lib/scwm/modules/app/scwm/libc-animation.la
/usr/lib/scwm/modules/app/scwm/libc-animation.so
/usr/lib/scwm/modules/app/scwm/libc-animation.so.0
/usr/lib/scwm/modules/app/scwm/libc-animation.so.0.0.0
/usr/lib/scwm/modules/app/scwm/libesdsound.a
/usr/lib/scwm/modules/app/scwm/libesdsound.la
/usr/lib/scwm/modules/app/scwm/libesdsound.so
/usr/lib/scwm/modules/app/scwm/libesdsound.so.0
/usr/lib/scwm/modules/app/scwm/libesdsound.so.0.0.0
/usr/lib/scwm/modules/app/scwm/liboverlay-plane.a
/usr/lib/scwm/modules/app/scwm/liboverlay-plane.la
/usr/lib/scwm/modules/app/scwm/liboverlay-plane.so
/usr/lib/scwm/modules/app/scwm/liboverlay-plane.so.0
/usr/lib/scwm/modules/app/scwm/liboverlay-plane.so.0.0.0
/usr/lib/scwm/modules/app/scwm/libpie-menus.a
/usr/lib/scwm/modules/app/scwm/libpie-menus.la
/usr/lib/scwm/modules/app/scwm/libpie-menus.so
/usr/lib/scwm/modules/app/scwm/libpie-menus.so.0
/usr/lib/scwm/modules/app/scwm/libpie-menus.so.0.0.0
/usr/lib/scwm/modules/app/scwm/libscwmgtkhelper.a
/usr/lib/scwm/modules/app/scwm/libscwmgtkhelper.la
/usr/lib/scwm/modules/app/scwm/libscwmgtkhelper.so
/usr/lib/scwm/modules/app/scwm/libscwmgtkhelper.so.0
/usr/lib/scwm/modules/app/scwm/libscwmgtkhelper.so.0.0.0
/usr/lib/scwm/modules/app/scwm/libscwmxtest.a
/usr/lib/scwm/modules/app/scwm/libscwmxtest.la
/usr/lib/scwm/modules/app/scwm/libscwmxtest.so
/usr/lib/scwm/modules/app/scwm/libscwmxtest.so.0
/usr/lib/scwm/modules/app/scwm/libscwmxtest.so.0.0.0
/usr/lib/scwm/modules/app/scwm/libxlib-drawing.a
/usr/lib/scwm/modules/app/scwm/libxlib-drawing.la
/usr/lib/scwm/modules/app/scwm/libxlib-drawing.so
/usr/lib/scwm/modules/app/scwm/libxlib-drawing.so.0
/usr/lib/scwm/modules/app/scwm/libxlib-drawing.so.0.0.0
/usr/lib/scwm/modules/app/scwm/libxpm-menus.a
/usr/lib/scwm/modules/app/scwm/libxpm-menus.la
/usr/lib/scwm/modules/app/scwm/libxpm-menus.so
/usr/lib/scwm/modules/app/scwm/libxpm-menus.so.0
/usr/lib/scwm/modules/app/scwm/libxpm-menus.so.0.0.0
/usr/man
/usr/man/man1
/usr/man/man1/scwm.1
/usr/man/man1/scwmexec.1
/usr/man/man1/scwmrepl.1
/usr/share/emacs/site-lisp/scwm.el
/usr/share/scwm/Xmodmap-win95keyboard
/usr/share/scwm/Xresources-cpp
/usr/share/scwm/Xsession
/usr/share/scwm/Xsession.patch
/usr/share/scwm/gnome-session-Scwm
/usr/share/scwm/modules
/usr/share/scwm/modules/app
/usr/share/scwm/modules/app/scwm
/usr/share/scwm/modules/app/scwm/ScwmBiff.scm
/usr/share/scwm/modules/app/scwm/ScwmButtons.scm
/usr/share/scwm/modules/app/scwm/ScwmClock.scm
/usr/share/scwm/modules/app/scwm/ScwmDeskButtons.scm
/usr/share/scwm/modules/app/scwm/advice.scm
/usr/share/scwm/modules/app/scwm/animated-iconify.scm
/usr/share/scwm/modules/app/scwm/animation.scm
/usr/share/scwm/modules/app/scwm/auto-raise.scm
/usr/share/scwm/modules/app/scwm/base.scm
/usr/share/scwm/modules/app/scwm/bincomm.scm
/usr/share/scwm/modules/app/scwm/cascade.scm
/usr/share/scwm/modules/app/scwm/constraints.scm
/usr/share/scwm/modules/app/scwm/decor.scm
/usr/share/scwm/modules/app/scwm/defoption.scm
/usr/share/scwm/modules/app/scwm/desk-background.scm
/usr/share/scwm/modules/app/scwm/dir-focus.scm
/usr/share/scwm/modules/app/scwm/doc.scm
/usr/share/scwm/modules/app/scwm/edge-ops.scm
/usr/share/scwm/modules/app/scwm/face.scm
/usr/share/scwm/modules/app/scwm/file.scm
/usr/share/scwm/modules/app/scwm/flash-window.scm
/usr/share/scwm/modules/app/scwm/flux-gtk.scm
/usr/share/scwm/modules/app/scwm/flux.scm
/usr/share/scwm/modules/app/scwm/focus-titlebar.scm
/usr/share/scwm/modules/app/scwm/fvwm-compat.scm
/usr/share/scwm/modules/app/scwm/fvwm-eval.scm
/usr/share/scwm/modules/app/scwm/fvwm-module.scm
/usr/share/scwm/modules/app/scwm/gnome-hints.scm
/usr/share/scwm/modules/app/scwm/group.scm
/usr/share/scwm/modules/app/scwm/gtk.scm
/usr/share/scwm/modules/app/scwm/highlight-current-window.scm
/usr/share/scwm/modules/app/scwm/hover-focus.scm
/usr/share/scwm/modules/app/scwm/image-loaders.scm
/usr/share/scwm/modules/app/scwm/kde-hints.scm
/usr/share/scwm/modules/app/scwm/key-mover-xtest.scm
/usr/share/scwm/modules/app/scwm/key-mover.scm
/usr/share/scwm/modules/app/scwm/listops.scm
/usr/share/scwm/modules/app/scwm/menus-extras.scm
/usr/share/scwm/modules/app/scwm/message-window.scm
/usr/share/scwm/modules/app/scwm/minimal.scm
/usr/share/scwm/modules/app/scwm/modifier-key-bindings.scm
/usr/share/scwm/modules/app/scwm/module-types.scm
/usr/share/scwm/modules/app/scwm/netscape.scm
/usr/share/scwm/modules/app/scwm/nonants.scm
/usr/share/scwm/modules/app/scwm/number-convert.scm
/usr/share/scwm/modules/app/scwm/optargs.scm
/usr/share/scwm/modules/app/scwm/path-cache.scm
/usr/share/scwm/modules/app/scwm/placement.scm
/usr/share/scwm/modules/app/scwm/preferences.scm
/usr/share/scwm/modules/app/scwm/prefs-menu.scm
/usr/share/scwm/modules/app/scwm/primopts.scm
/usr/share/scwm/modules/app/scwm/prompt-bool.scm
/usr/share/scwm/modules/app/scwm/prompt-color.scm
/usr/share/scwm/modules/app/scwm/prompt-file.scm
/usr/share/scwm/modules/app/scwm/prompt-font.scm
/usr/share/scwm/modules/app/scwm/prompt-proc.scm
/usr/share/scwm/modules/app/scwm/prompt-range.scm
/usr/share/scwm/modules/app/scwm/prompt-string.scm
/usr/share/scwm/modules/app/scwm/property-respond.scm
/usr/share/scwm/modules/app/scwm/quote.scm
/usr/share/scwm/modules/app/scwm/register.scm
/usr/share/scwm/modules/app/scwm/report-usage.scm
/usr/share/scwm/modules/app/scwm/rgb-database.scm
/usr/share/scwm/modules/app/scwm/send-string.scm
/usr/share/scwm/modules/app/scwm/shutdown-opts.scm
/usr/share/scwm/modules/app/scwm/simple-constraints.scm
/usr/share/scwm/modules/app/scwm/simplebiff.scm
/usr/share/scwm/modules/app/scwm/snap.scm
/usr/share/scwm/modules/app/scwm/sort.scm
/usr/share/scwm/modules/app/scwm/stacking.scm
/usr/share/scwm/modules/app/scwm/std-menus.scm
/usr/share/scwm/modules/app/scwm/stringops.scm
/usr/share/scwm/modules/app/scwm/style-options.scm
/usr/share/scwm/modules/app/scwm/style.scm
/usr/share/scwm/modules/app/scwm/stylist.scm
/usr/share/scwm/modules/app/scwm/test-case.scm
/usr/share/scwm/modules/app/scwm/theme-impl.scm
/usr/share/scwm/modules/app/scwm/themes.scm
/usr/share/scwm/modules/app/scwm/tile.scm
/usr/share/scwm/modules/app/scwm/time-convert.scm
/usr/share/scwm/modules/app/scwm/ui-constraints-buttons.scm
/usr/share/scwm/modules/app/scwm/ui-constraints-classes.scm
/usr/share/scwm/modules/app/scwm/ui-constraints-composition.scm
/usr/share/scwm/modules/app/scwm/ui-constraints-gdk-drawing.scm
/usr/share/scwm/modules/app/scwm/ui-constraints-gtk-toggle-menu.scm
/usr/share/scwm/modules/app/scwm/ui-constraints-toggle-menu.scm
/usr/share/scwm/modules/app/scwm/ui-constraints.scm
/usr/share/scwm/modules/app/scwm/undo.scm
/usr/share/scwm/modules/app/scwm/virtual.scm
/usr/share/scwm/modules/app/scwm/window-configuration.scm
/usr/share/scwm/modules/app/scwm/window-locations.scm
/usr/share/scwm/modules/app/scwm/window-selection.scm
/usr/share/scwm/modules/app/scwm/wininfo.scm
/usr/share/scwm/modules/app/scwm/winlist.scm
/usr/share/scwm/modules/app/scwm/winops.scm
/usr/share/scwm/modules/app/scwm/wmconfig-menu.scm
/usr/share/scwm/modules/app/scwm/xprop-extras.scm
/usr/share/scwm/pixmaps
/usr/share/scwm/pixmaps/anchor-cursor.xpm
/usr/share/scwm/pixmaps/anchor.xpm
/usr/share/scwm/pixmaps/cn-keep-above.xpm
/usr/share/scwm/pixmaps/cn-keep-bottoms-even.xpm
/usr/share/scwm/pixmaps/cn-keep-lefts-even.xpm
/usr/share/scwm/pixmaps/cn-keep-rights-even.xpm
/usr/share/scwm/pixmaps/cn-keep-to-left-of.xpm
/usr/share/scwm/pixmaps/cn-keep-top-bottom-even.xpm
/usr/share/scwm/pixmaps/cn-keep-tops-even.xpm
/usr/share/scwm/pixmaps/cn-max-hsize.xpm
/usr/share/scwm/pixmaps/cn-max-vsize.xpm
/usr/share/scwm/pixmaps/cn-min-hsize.xpm
/usr/share/scwm/pixmaps/cn-min-vsize.xpm
/usr/share/scwm/pixmaps/cn-relative-hsize.xpm
/usr/share/scwm/pixmaps/cn-relative-vsize.xpm
/usr/share/scwm/pixmaps/cn-right-left-even.xpm
/usr/share/scwm/pixmaps/cn-strict-relative-pos.xpm
/usr/share/scwm/pixmaps/cn-window-height-sum.xpm
/usr/share/scwm/pixmaps/cn-window-width-sum.xpm
/usr/share/scwm/pixmaps/cursor.xpm
/usr/share/scwm/pixmaps/iconify.xpm
/usr/share/scwm/pixmaps/kill.xpm
/usr/share/scwm/pixmaps/lambda-rwb.xpm
/usr/share/scwm/pixmaps/lambda.xpm
/usr/share/scwm/pixmaps/move.xpm
/usr/share/scwm/pixmaps/resize_br.xpm
/usr/share/scwm/pixmaps/resize_h.xpm
/usr/share/scwm/pixmaps/resize_tr.xpm
/usr/share/scwm/pixmaps/resize_v.xpm
/usr/share/scwm/pixmaps/scwm-logo-orange-bg.xpm
/usr/share/scwm/pixmaps/scwm-logo.xpm
/usr/share/scwm/pixmaps/scwm-name.xpm
/usr/share/scwm/pixmaps/small-anchor.xpm
/usr/share/scwm/scwmrc/gjb.scwmrc
/usr/share/scwm/scwmrc/juhp.scwmrc
/usr/share/scwm/scwmrc/mstachow.scwmrc
/usr/share/scwm/scwmrc/sds.scwmrc
/usr/share/scwm/scwmrc/simple.scwmrc
/usr/share/scwm/scwmrc/system.scwmrc
/usr/share/scwm/themes
/usr/share/scwm/themes/afterstep.tar.gz
/usr/share/scwm/themes/fvwm2.tar.gz
/usr/share/scwm/themes/gjb.tar.gz
/usr/share/scwm/themes/mwm.tar.gz
/usr/share/scwm/themes/twm.tar.gz
/usr/share/scwm/themes/win95.tar.gz
/usr/share/scwm/themes/woven.tar.gz


> Four, license concerns.  The Cassowary licence does not look like a
> problem (are the Debian people happy with it?), but the GTL licence is
> likely to get the whole Scwm distribution put into `unfree'
> directories, delaying the acceptance of Scwm and causing untold
> suffering to many people continuing to use the other stuff out there.
> If I understand correctly, the Scwm/Cassowary combination is not
> actually using GTL.  My inclination is to start cutting and slashing
> through the Cassowary code in order to get rid of the fake dependence
> on GTL.  It is not clear to me whether this would be resented or
> appreciated.  Warnings?  Suggestions?

The dependences are already factored out, in theory, when it comes to
the source for Cassowary.  In the recent past I've had builds of
cassowary that did not rely on GTL at all.  Getting the auto* stuff and
rpm building to work reliably in the various different possible
configurations was just a bit tedious, so I focussed on getting things
to go in the most full-featured build.

Is the the "GTL must not be distributed without prior written
permission. The terms of this copyright notice also apply to any
modification to this software. " clause of the GTL license that causes
concern?  Perhaps we could get permission from the GTL folks?  I'd like
to start using the GTL functionality in Scwm's use of the
constraint-solver, so that'd be more useful in the long run than ripping 
out the GTL dependence from the builds.

Have you dealt with the GTL folks before?  

> Five, disk space used by Cassowary.  From ls -l `rpm -ql cassowary`, I
> see that the nine megs for .ppc.rpm file is utterly dwarfed by the
> disk space used by the installation.  For example, I just ran ClTests,
> and it seems happy, but it is using seven megs on my hard drive.  What
> do you think about breaking some of this stuff out into separate
> packages?

Maybe that binary should just be stripped-- it goes down from 6.7MB to
.5MB when I strip it on x86.  I could change "make install" to "make
install-strip", perhaps?

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep  6 17:34:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA22537
	for scwm-discuss-outgoing; Mon, 6 Sep 1999 17:34:19 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA22534
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 6 Sep 1999 17:34:16 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA28485; Mon, 6 Sep 1999 14:34:14 -0700 (PDT)
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: SCWMDoc 0.1B-3
References: <wtn6731183b.fsf@bayta.dtek.chalmers.se> <qrrso641v2y.fsf@elwha.cs.washington.edu> <wtnemgz4klc.fsf@licia.dtek.chalmers.se>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Sep 1999 14:34:13 -0700
In-Reply-To: Jonas Steverud's message of "19 Aug 1999 21:49:19 +0200"
Message-ID: <qrrpuzvenca.fsf@elwha.cs.washington.edu>
Lines: 11
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jonas Steverud <d4jonas@dtek.chalmers.se> writes:

> Source now available, see my homepage (url in .sig).
> ( Jonas Steverud  @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )

Do you mind my integrating this into the CVS repository?  We can give
you write access to the repository to continue your work on it while
permitting others (like me) to contribute, too.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep  6 22:13:48 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA23786
	for scwm-discuss-outgoing; Mon, 6 Sep 1999 22:13:48 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sanjuan.cs.washington.edu (sanjuan.cs.washington.edu [128.95.8.118])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA23783
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Sep 1999 22:13:43 -0400
Received: from localhost (jwnichls@localhost) by sanjuan.cs.washington.edu (8.8.5+CS/7.2ws+) with SMTP id TAA28035 for <scwm-discuss@scwm.mit.edu>; Mon, 6 Sep 1999 19:13:41 -0700 (PDT)
Date: Mon, 6 Sep 1999 19:13:40 -0700 (PDT)
From: Jeffrey Nichols <jwnichls@cs.washington.edu>
To: scwm-discuss@scwm.mit.edu
Subject: Hiding titlebars
Message-ID: <Pine.OSF.4.02A.9909061912250.28009-100000@sanjuan.cs.washington.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


A little while ago on the list I mentioned that I had written a small
amount of code to make window titlebars show when a window get the focus
and hide when a window loses the focus.  Here's the code snippet for those
who are interested...  I'll probably put the code into a jwnichls.scwmrc
for the sample.scwmrc directory (but I gotta get around to making one
first).

;; fun with titlebars  - hooks

(define hide-window-titlebars
  (lambda (win)
    (hide-titlebar-in-place win)))

(add-hook! after-new-window-hook hide-window-titlebars)
(remove-hook! after-new-window-hook hide-window-titlebars)

(define last-focus #f)

(define changehook 
  (lambda (win)
    (if (and last-focus (not (window-valid? last-focus))) (set! last-focus
#f))
    (if win
 	(begin
 	  (if last-focus (hide-titlebar-in-place last-focus))
 	  (show-titlebar-in-place win)
	  (set! last-focus win))
 	(if last-focus 
 	    (begin
 	      (hide-titlebar-in-place last-focus)
 	      (set! last-focus #f))))))

(add-hook! window-focus-change-hook changehook)
;; (remove-hook! window-focus-change-hook changehook)

Comments would be appreciated...

This code does show a drawing bug...  When the titlebars are shown, they
are colored with regular color rather than the hilite color.  Perhaps
something needs to be ordered slightly differently...  (I may look at this
sometime if no one else does)

		-Jeff

---
Jeff W. Nichols   "There are over forty million lines of code in Windows,
UW CSE                     and I love every one of them."
jwnichls@cs                         - Jean-Louis Gassee CEO, Be Inc.



From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep  7 00:26:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA24138
	for scwm-discuss-outgoing; Tue, 7 Sep 1999 00:26:21 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from math.uwaterloo.ca (root@math.uwaterloo.ca [129.97.216.42])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA24135
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Sep 1999 00:26:17 -0400
Received: from thing-one.localdomain (cnts2p47.uwaterloo.ca [129.97.182.47])
	by math.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id AAA17791;
	Tue, 7 Sep 1999 00:26:13 -0400 (EDT)
From: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Received: (from jrm@localhost)
	by thing-one.localdomain (8.9.3/8.9.3) id AAA25372;
	Tue, 7 Sep 1999 00:23:01 -0400
Date: Tue, 7 Sep 1999 00:23:01 -0400
Message-Id: <199909070423.AAA25372@thing-one.localdomain>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrrr9kbensr.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 06 Sep 1999 14:24:20 -0700)
Subject: Re: distributing Scwm
References: <199909062058.QAA00736@thing-one.localdomain> <qrrr9kbensr.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg,

> What is your __GNUC_MINOR__ for the compiler you're using?  I think
// On my system, the following program outputs ``2.95''.
#include <iostream>
void main(void) { cout << __GNUC__ << '.' << __GNUC_MINOR__ << endl; }
// Now, how was I _supposed_ to find out __GNUC_MINOR__ ?

So your suggested patch sounds good.


> "rpm -qilp scwm-0.99.2pre6-1.i386.rpm" gives me:
the same file listing as my scwm-0.99.2pre6-1.ppc.rpm, phew.


[regarding GTL licence]
> The dependences are already factored out, in theory, when it comes to
> the source for Cassowary.  In the recent past I've had builds of
> cassowary that did not rely on GTL at all.  Getting the auto* stuff and
> rpm building to work reliably in the various different possible
> configurations was just a bit tedious, so I focussed on getting things
> to go in the most full-featured build.
That was certainly sensible.
> Is the the "GTL must not be distributed without prior written
> permission. The terms of this copyright notice also apply to any
> modification to this software. " clause of the GTL license that causes
> concern?  Perhaps we could get permission from the GTL folks?  I'd like
> to start using the GTL functionality in Scwm's use of the
> constraint-solver, so that'd be more useful in the long run than ripping 
> out the GTL dependence from the builds.
That certainly is a concern.  If the written permission has not been
given, then I would not post the stuff onto a web site.  The thing
that _really_ troubles me is that although they may give written
permission, it will still have this `non-commercial' bit and that the
whole Scwm distribution will be stigmatized as `unfree', not eligible
for inclusion by either RedHat or Debian.  Of course, this is all
speculation, and not of a pleasant sort.  My point is that if it comes
to bargaining then you are better off if Scwm is already being run by
everyone and his/her dog.

> Have you dealt with the GTL folks before?  
Nope.

[Regarding ClTests]
> Maybe that binary should just be stripped-- it goes down from 6.7MB to
>.5MB when I strip it on x86.  I could change "make install" to "make
> install-strip", perhaps?
Yes, .5MB on ppc too, a very definite improvement!  Perhaps some other
stuff can be stripped too?

Also, the /usr/doc/cassowary-tr* files are extra copies of things
already in cassowary-0.51.  Its only a meg or so, but with several
million users the terabytes add up.

John

-- 
John MacPhail                   grad student at U.Waterloo
jrmacphail@math.uwaterloo.ca          sneaker net  MC5136A
-----------------------------------------------------------

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep  7 00:35:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA24197
	for scwm-discuss-outgoing; Tue, 7 Sep 1999 00:35:12 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA24194
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Sep 1999 00:35:05 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA28901; Mon, 6 Sep 1999 21:35:01 -0700 (PDT)
To: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: distributing Scwm
References: <199909062058.QAA00736@thing-one.localdomain> <qrrr9kbensr.fsf@elwha.cs.washington.edu> <199909070423.AAA25372@thing-one.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Sep 1999 21:35:00 -0700
In-Reply-To: John Revan MacPhail's message of "Tue, 7 Sep 1999 00:23:01 -0400"
Message-ID: <qrrk8q3e3uz.fsf@elwha.cs.washington.edu>
Lines: 71
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Revan MacPhail <jrmacpha@math.uwaterloo.ca> writes:

> Greg,
> 
> > What is your __GNUC_MINOR__ for the compiler you're using?  I think
> // On my system, the following program outputs ``2.95''.
> #include <iostream>
> void main(void) { cout << __GNUC__ << '.' << __GNUC_MINOR__ << endl; }
> // Now, how was I _supposed_ to find out __GNUC_MINOR__ ?

I just did:

echo "__GNUC_MINOR__" > foo.c; gcc -E foo.c; rm foo.c

> So your suggested patch sounds good.

Great.

> > "rpm -qilp scwm-0.99.2pre6-1.i386.rpm" gives me:
> the same file listing as my scwm-0.99.2pre6-1.ppc.rpm, phew.

Double phew. :-)

> [regarding GTL licence]
> > The dependences are already factored out, in theory, when it comes to
> > the source for Cassowary.  In the recent past I've had builds of
> > cassowary that did not rely on GTL at all.  Getting the auto* stuff and
> > rpm building to work reliably in the various different possible
> > configurations was just a bit tedious, so I focussed on getting things
> > to go in the most full-featured build.
> That was certainly sensible.
> > Is the the "GTL must not be distributed without prior written
> > permission. The terms of this copyright notice also apply to any
> > modification to this software. " clause of the GTL license that causes
> > concern?  Perhaps we could get permission from the GTL folks?  I'd like
> > to start using the GTL functionality in Scwm's use of the
> > constraint-solver, so that'd be more useful in the long run than ripping 
> > out the GTL dependence from the builds.
> That certainly is a concern.  If the written permission has not been
> given, then I would not post the stuff onto a web site.  The thing
> that _really_ troubles me is that although they may give written
> permission, it will still have this `non-commercial' bit and that the
> whole Scwm distribution will be stigmatized as `unfree', not eligible
> for inclusion by either RedHat or Debian.  Of course, this is all
> speculation, and not of a pleasant sort.  My point is that if it comes
> to bargaining then you are better off if Scwm is already being run by
> everyone and his/her dog.

Well, Cassowary is under a "research-only" license, too.  I'm planning
on adding a special exception for linking to Scwm, though.

> > Have you dealt with the GTL folks before?  
> Nope.

I'll ask them, then.

> [Regarding ClTests]
> > Maybe that binary should just be stripped-- it goes down from 6.7MB to
> >.5MB when I strip it on x86.  I could change "make install" to "make
> > install-strip", perhaps?
> Yes, .5MB on ppc too, a very definite improvement!  Perhaps some other
> stuff can be stripped too?
> 
> Also, the /usr/doc/cassowary-tr* files are extra copies of things
> already in cassowary-0.51.  Its only a meg or so, but with several
> million users the terabytes add up.

Ok, I think I've fixed the spec file for these changes.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep  7 00:40:41 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA24255
	for scwm-discuss-outgoing; Tue, 7 Sep 1999 00:40:41 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA24252
	for <scwm-discuss@scwm.mit.edu>; Tue, 7 Sep 1999 00:40:38 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA28905; Mon, 6 Sep 1999 21:40:35 -0700 (PDT)
To: Jeffrey Nichols <jwnichls@cs.washington.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Hiding titlebars
References: <Pine.OSF.4.02A.9909061912250.28009-100000@sanjuan.cs.washington.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Sep 1999 21:40:34 -0700
In-Reply-To: Jeffrey Nichols's message of "Mon, 6 Sep 1999 19:13:40 -0700 (PDT)"
Message-ID: <qrriu5ne3lp.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jeffrey Nichols <jwnichls@cs.washington.edu> writes:

> A little while ago on the list I mentioned that I had written a small
> amount of code to make window titlebars show when a window get the focus
> and hide when a window loses the focus.  Here's the code snippet for those
> who are interested...  I'll probably put the code into a jwnichls.scwmrc
> for the sample.scwmrc directory (but I gotta get around to making one
> first).

<snip>

See focus-titlebar.scm.  I added a slightly-better packaged (I think)
version of this to the repo on Aug 31st.

It's far from perfect, so I'd love to see someone clean up some of its
problems. (Most annoying to me is the jumping of the window very briefly
when toggling its titlebar-- maybe something can be done with the
gravity of the client window to get around this problem).

<snip of Jeff's inspiring code!>

> Comments would be appreciated...

If you can see if there's anything you do that I missed, that'd be
great-- I didn't have your code when I wrote the version I committed.

> This code does show a drawing bug...  When the titlebars are shown, they
> are colored with regular color rather than the hilite color.  Perhaps
> something needs to be ordered slightly differently...  (I may look at this
> sometime if no one else does)

I think I handled this with a handful of bug-fixes around the turn of
the month, also.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep  7 02:30:56 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA24753
	for scwm-discuss-outgoing; Tue, 7 Sep 1999 02:30:56 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA24750
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Sep 1999 02:30:51 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id IAA00649
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Sep 1999 08:30:48 +0200 (MET DST)
Date: Tue, 7 Sep 1999 08:30:48 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@SCWM.MIT.EDU
Subject: --without-cassowary
Message-ID: <19990907083047.A845@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

I tried the configure option --without-cassowary (as indicated in the
help), and I got this error :

configure: error: invalid pathname argument to --with-cassowary: no

-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep  7 02:58:04 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA24882
	for scwm-discuss-outgoing; Tue, 7 Sep 1999 02:58:04 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA24879
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Sep 1999 02:57:59 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id IAA00726
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Sep 1999 08:57:53 +0200 (MET DST)
Date: Tue, 7 Sep 1999 08:57:52 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@SCWM.MIT.EDU
Subject: scwm-0.99.2pre7
Message-ID: <19990907085752.A6783@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

After doing the configure thing, I tried to compile everything, and I
got that :

scwm-0.99.2pre7 % make
Making all in scwm
make[1]: Entering directory `/udd/canon/src/Progs/scwm-0.99.2pre7/scwm'
make[1]: *** No rule to make target `../Makefile.common', needed by `Makefile.in'.  Stop.
make[1]: Leaving directory `/udd/canon/src/Progs/scwm-0.99.2pre7/scwm'
make: *** [all-recursive] Error 1


-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep  7 09:55:54 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA27313
	for scwm-discuss-outgoing; Tue, 7 Sep 1999 09:55:54 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from pat.uio.no (6089@pat.uio.no [129.240.130.16])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id JAA27310
	for <scwm-discuss@scwm.mit.edu>; Tue, 7 Sep 1999 09:55:41 -0400
Received: from pat.uio.no (actually pat.uio.no [129.240.130.16]) by pat.uio.no with SMTP (PP); Tue, 7 Sep 1999 15:54:46 +0200
Received: from octarine.uio.no ([129.240.186.25]) by pat.uio.no with esmtp (Exim 2.12 #6) id 11OLh6-0006y9-00 
          for scwm-discuss@scwm.mit.edu; Tue, 7 Sep 1999 15:53:56 +0200
Received: from hmeland by octarine.uio.no with local (Exim 2.12 #6) id 11OLgq-0000T4-00 for scwm-discuss@SCWM.MIT.EDU;
          Tue, 7 Sep 1999 15:53:40 +0200
To: scwm-discuss@scwm.mit.edu
Subject: Re: distributing Scwm
References: <199909062058.QAA00736@thing-one.localdomain> <qrrr9kbensr.fsf@elwha.cs.washington.edu> <199909070423.AAA25372@thing-one.localdomain> <qrrk8q3e3uz.fsf@elwha.cs.washington.edu>
From: Harald Meland <Harald.Meland@usit.uio.no>
Date: 07 Sep 1999 15:53:40 +0200
In-Reply-To: Greg Badros's message of "06 Sep 1999 21:35:00 -0700"
Message-ID: <d6demga7rq3.fsf@octarine.uio.no>
Lines: 23
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

[Greg Badros]

> John Revan MacPhail <jrmacpha@math.uwaterloo.ca> writes:
> 
> > Greg,
> > 
> > > What is your __GNUC_MINOR__ for the compiler you're using?  I think
> > // On my system, the following program outputs ``2.95''.
> > #include <iostream>
> > void main(void) { cout << __GNUC__ << '.' << __GNUC_MINOR__ << endl; }
> > // Now, how was I _supposed_ to find out __GNUC_MINOR__ ?
> 
> I just did:
> 
> echo "__GNUC_MINOR__" > foo.c; gcc -E foo.c; rm foo.c

I also find this handy whenever I want to see all the macros my
compiler predefines:

  echo > foo.c; gcc -dM -E foo.c; rm foo.c

-- 
Harald

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep  7 12:25:45 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA27500
	for scwm-discuss-outgoing; Tue, 7 Sep 1999 12:25:45 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA27497
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Sep 1999 12:25:40 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA29596; Tue, 7 Sep 1999 09:25:18 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2pre7
References: <19990907085752.A6783@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Sep 1999 09:25:17 -0700
In-Reply-To: Hubert Canon's message of "Tue, 7 Sep 1999 08:57:52 +0200"
Message-ID: <qrr1zcaeljm.fsf@elwha.cs.washington.edu>
Lines: 11
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> After doing the configure thing, I tried to compile everything, and I
> got that :

Great-- I love how quickly my mistakes are getting caught!

Testing my fix right now.

Thanks!
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep  7 12:30:06 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA27539
	for scwm-discuss-outgoing; Tue, 7 Sep 1999 12:30:06 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA27535
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Sep 1999 12:30:03 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA29600; Tue, 7 Sep 1999 09:29:41 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: --without-cassowary
References: <19990907083047.A845@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Sep 1999 09:29:41 -0700
In-Reply-To: Hubert Canon's message of "Tue, 7 Sep 1999 08:30:48 +0200"
Message-ID: <qrrzoyyd6ru.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hi,
> 
> I tried the configure option --without-cassowary (as indicated in the
> help), and I got this error :
> 
> configure: error: invalid pathname argument to --with-cassowary: no

I'm testing a fix now. 

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep  7 18:29:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA28702
	for scwm-discuss-outgoing; Tue, 7 Sep 1999 18:29:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA28699
	for <scwm-discuss@scwm.mit.edu>; Tue, 7 Sep 1999 18:29:14 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA00315; Tue, 7 Sep 1999 15:29:04 -0700 (PDT)
To: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Re: SCWM crashed X
References: <Pine.LNX.4.10.9909061113150.22343-100000@marvin.ida.ing.tu-bs.de>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Sep 1999 15:29:04 -0700
In-Reply-To: Dirk Herrmann's message of "Mon, 6 Sep 1999 11:37:04 +0200 (MEST)"
Message-ID: <qrru2p6cq4v.fsf@elwha.cs.washington.edu>
Lines: 38
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> Hi,
> 
> SCWM crashed X when I tried to move the netscape window with the fvwm
> pager:  The current (still empty) desk was #1 (counting from 0).  Netscape
> was on desk #0.
> 
> The following messages were on the screen:
> 
> X Error of failed request:  BadMatch (invalid parameter attributes)
>   Major opcode of failed request:  42 (X_SetInputFocus)
>   Serial number of failed request:  54912
>   Current serial number in output stream:  54912
> /marvin/home/dirk/software/scwm-0.99.2pre2/share/scwm/modules/app/scwm/fvwm-module.scm:210:3:
> In procedure force-output in expression (force-output port):
> /marvin/home/dirk/software/scwm-0.99.2pre2/share/scwm/modules/app/scwm/fvwm-module.scm:210:3:
> Broken pipe
> Error: could not flush file-descriptor 9
> 
> waiting for X server to shut down xterm:  fatal IO error 32 (Broken pipe)
> or KillClient on X server ":0.0"
> xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"
> 
> 
> Sorry, that's all that I can tell you now, because there's no core file.
> In an attempt to reproduce the error I was able to move the netscape
> window, but at that moment the fvwm pager was killed.
> 
> Hmmm...

If you can reliably reproduce this, you should probably send a bug
report to whomever maintains the X server you use.  (And tell us here
what we can do to avoid the BadMatch error that seems to be twiddling a
bug in your server).

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep  7 20:25:20 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA29315
	for scwm-discuss-outgoing; Tue, 7 Sep 1999 20:25:20 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA29312
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Sep 1999 20:25:16 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id UAA20499;
	Tue, 7 Sep 1999 20:25:11 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id UAA13110;
	Tue, 7 Sep 1999 20:25:09 -0400 (EDT)
Date: Tue, 7 Sep 1999 20:25:08 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: Greg Badros <gjb@cs.washington.edu>
cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2pre7
In-Reply-To: <qrr1zcaeljm.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9909072015500.28713-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 7 Sep 1999, Greg Badros wrote:

> Hubert Canon <Hubert.Canon@irisa.fr> writes:
> > After doing the configure thing, I tried to compile everything, and I
> > got that :


I got a different problem immediatly:

rukbat;scwm-0.99.2pre7; gmake
Making all in scwm
gmake[1]: Entering directory `/msl/tell/build/scwm-0.99.2pre7/scwm'
../scwm/scwm-snarf -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include/X11R5 -I/home/msl/tell/hp/include -I/tmp/scwmtest/include  -g -O2 Grab.c > Grab.x
awk: Field $( "()"); ) is not correct.
 The input line number is 1.
 The source line number is 1.
gmake[1]: *** [Grab.x] Error 2
gmake[1]: Leaving directory `/msl/tell/build/scwm-0.99.2pre7/scwm'
gmake: *** [all-recursive] Error 1


It seems that the new scwm-snarf's awk one-liner depends on a GNU awk
feature that doesn't exist in HP's traditional; it works after changing
"awk" to "gawk".   I'm not enough of an awk wizard to know if this can be
reworked into traditional awk or not.

If Gawk is really required, on RedHat 5.2 and 6.0 linux, "awk" and "gawk"
are the same thing, so simply making the one-letter change may be enough.  
If not, I guess you'll have to do somthing in configure.in, perhaps
AC_PROG_AWK, and have it substitute into a scwm-snarf.in

Steve






-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep  7 20:50:22 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA29476
	for scwm-discuss-outgoing; Tue, 7 Sep 1999 20:50:22 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA29473
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Sep 1999 20:50:18 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA01104; Tue, 7 Sep 1999 17:50:05 -0700 (PDT)
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2pre7
References: <Pine.GHP.4.10.9909072015500.28713-100000@rukbat.cs.unc.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Sep 1999 17:50:05 -0700
In-Reply-To: Stephen Tell's message of "Tue, 7 Sep 1999 20:25:08 -0400 (EDT)"
Message-ID: <qrrk8q2cjlu.fsf@elwha.cs.washington.edu>
Lines: 66
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> On 7 Sep 1999, Greg Badros wrote:
> 
> > Hubert Canon <Hubert.Canon@irisa.fr> writes:
> > > After doing the configure thing, I tried to compile everything, and I
> > > got that :
> 
> 
> I got a different problem immediatly:
> 
> rukbat;scwm-0.99.2pre7; gmake
> Making all in scwm
> gmake[1]: Entering directory `/msl/tell/build/scwm-0.99.2pre7/scwm'
> ../scwm/scwm-snarf -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include/X11R5 -I/home/msl/tell/hp/include -I/tmp/scwmtest/include  -g -O2 Grab.c > Grab.x
> awk: Field $( "()"); ) is not correct.
>  The input line number is 1.
>  The source line number is 1.
> gmake[1]: *** [Grab.x] Error 2
> gmake[1]: Leaving directory `/msl/tell/build/scwm-0.99.2pre7/scwm'
> gmake: *** [all-recursive] Error 1
> 
> 
> It seems that the new scwm-snarf's awk one-liner depends on a GNU awk
> feature that doesn't exist in HP's traditional; it works after changing
> "awk" to "gawk".   I'm not enough of an awk wizard to know if this can be
> reworked into traditional awk or not.
> 
> If Gawk is really required, on RedHat 5.2 and 6.0 linux, "awk" and "gawk"
> are the same thing, so simply making the one-letter change may be enough.  
> If not, I guess you'll have to do somthing in configure.in, perhaps
> AC_PROG_AWK, and have it substitute into a scwm-snarf.in

Doesn't look like vendor AWKs have gsub.  Geez.  I've switch to using
sed, and tested on both Solaris's vendor sed, and GNU sed.

Here's what I'm going with for now-- please let me know if it doesn't
work on any vendor sed's.

#!/bin/sh -
# scwm-snarf
# (C) 1999 Greg J. Badros
# Handle snarfs with embedded %/%/ separating the arglist of procedures
# from the rest.
# See scwm-snarf.h for what expands SCWM_PROC macros to what we process here.
# We need to do a couple of regexp search and replaces:
# s/SCM //g
# s/,[ \t]*//g
# s/"(/"'(/g  # add the Scheme quote to the list -- tricky shell quoting below
# AND we need these to only happen *after* the %/%/ marker on the input lines
# so we use two sed's to do it.
guile-snarf "$@" | \
sed -e 's/%\/%\//\
%%%/' | sed -e '/^%%%/  {
s/%%%//g
s/SCM //g
s/,[ \t]*/ /g
s/"(/"'"'"'(/
}' 
# | sed -e 's/\n[ \t]*"/ "/g'  this last bit would recombine into a single line per input line
# but does not work on Solaris' vendor sed



Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  8 00:17:53 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA29831
	for scwm-discuss-outgoing; Wed, 8 Sep 1999 00:17:53 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA29828
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 8 Sep 1999 00:17:48 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA01275; Tue, 7 Sep 1999 21:17:42 -0700 (PDT)
To: cwitty@newtonlabs.com (Carl R. Witty)
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: using gdk/gtk in the wm
References: <19990802155817.A611@execpc.com> <qrroggp4yj1.fsf@elwha.cs.washington.edu> <19990802203726.A875@execpc.com> <m3r9lgk010.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com> <v4jbtcgobj0.fsf@bogomips.newtonlabs.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Sep 1999 21:17:41 -0700
In-Reply-To: cwitty@newtonlabs.com's message of "09 Aug 1999 15:05:23 -0700"
Message-ID: <qrrhfl6c9zu.fsf@elwha.cs.washington.edu>
Lines: 67
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

cwitty@newtonlabs.com (Carl R. Witty) writes:

> Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> 
> > I have thought about this, but you would really need custom widgets
> > for this (in effect a libgtkwm widget set add-on) and you would need
> > to add many features to the gdk layer that window managers care about
> > but normal apps don't (actually, some of these are things the gnome
> > pager and/or task list might care about, so a libgdkwm might be a good
> > thing anyway).
> > 
> > The only things you could really reuse effectively from the gtk widget
> > set proper are menus and also the ability to make gtk-based dialogs
> > (which we provide already through guile-gtk). Having those share
> > themes with gnome would be good. However, window manager buttons
> > couldn't really effectively share a theme with normal buttons, since
> > they are almost always rendered differently from stock buttons and
> > typically have a picture or a relief pattern on them rather than text.
> > 
> > This is definitely a potential idea for the decoration rewrite,
> > though. It might make more sense to leverage an existing theme
> > framework than to write a whole new widget set (which is essentially
> > the route most WMs have gone).
> 
> I think there are more useful pieces from gtk than just menus and
> dialogs.  One of the most useful is the layout engine; using
> pre-debugged, generic code to handle widget positioning within a
> window should help us avoid the several off-by-one errors that have
> been reported in the current drawing code.

Yep... though I'm not familiar enough with the GTk+ layout engine to
know how applicable it is to doing window decorations.  Sawmill and
gnomewm are both great places to look to see how they handle things.  I
think we could benefit a lot from sawmill's code, especially.

> Also, basing the decorations on gtk enables a lot of things that I'd
> like to play with.  Can you do anything useful with radio buttons or
> editable text fields in the title bar?

Sure would be fund to play with.

> And if all the decorations are created from scheme, it guarantees
> flexibility.  Titlebars at the bottom?  Homebrew MDI, by being able to
> drag windows from the desktop into a special SCWM-created "MDI window"
> (and back out)?  (The latter is different from the standard MDI
> implementations because it would allow grouping together windows from
> different applications.)

Yep.  Some of that stuff overlaps with some potential uses of the
constraint solver, but that's okay.  In particular, I've often
considered the idea of a first class window-frame object that could hold 
other window frames.

> I'm not even convinced that you "need" custom widgets.  You do if you
> want to make the window manager look like it does currently, but I'd
> like to see what a window manager using only standard gtk widgets for
> decorations would look like.  (Maybe you need the visual separation
> between the application and the window manager that you get by using
> different widgets, and sharing widgets would be too confusing.  But
> maybe not.  I don't know, and I'm curious.)

Well, the biggest benefit of using the same widgets is that the themes
work transparently across applications and the wm.  Of course, you could 
select a different theme optionally for different applications if you
needed the visual separation.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  8 00:21:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA29854
	for scwm-discuss-outgoing; Wed, 8 Sep 1999 00:21:13 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA29850
	for <scwm-discuss@scwm.mit.edu>; Wed, 8 Sep 1999 00:21:10 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA01278; Tue, 7 Sep 1999 21:21:03 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: using gdk/gtk in the wm
References: <19990802155817.A611@execpc.com> <qrroggp4yj1.fsf@elwha.cs.washington.edu> <19990802203726.A875@execpc.com> <m3r9lgk010.fsf@207-172-216-80.s80.tnt1.sbo.ma.dialup.rcn.com> <v4jbtcgobj0.fsf@bogomips.newtonlabs.com> <ws7ln3u5c6.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Sep 1999 21:21:03 -0700
In-Reply-To: Robert Bihlmeyer's message of "10 Aug 1999 15:34:49 +0200"
Message-ID: <qrrg10qc9u8.fsf@elwha.cs.washington.edu>
Lines: 29
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Hi,
> 
> >>>>> On 09 Aug 1999 15:05:23 -0700
> >>>>> cwitty@newtonlabs.com (Carl R. Witty) said:
> 
>  Carl> Also, basing the decorations on gtk enables a lot of things
>  Carl> that I'd like to play with. Can you do anything useful with
>  Carl> radio buttons or editable text fields in the title bar?
> [...]
>  Carl> I'm not even convinced that you "need" custom widgets. You do
>  Carl> if you want to make the window manager look like it does
>  Carl> currently, but I'd like to see what a window manager using only
>  Carl> standard gtk widgets for decorations would look like.
> 
> Whoa, that's heavy stuff you're smoking, there.
> 
> Sounds intrguing. AFAIK there have been WM projects based on
> GTK. Anybody know of the fate of one of these?

If you don't mind a Lisp dialect, sawmill seems pretty nice.  I'd love
to see some of its features (e.g., session management, GTk widget
support) ported to Scwm. (I've not yet tried it yet, but I certainly
like the approach... it's very similar to what we're doing with Scwm).

http://www.dcs.warwick.ac.uk/~john/sw/sawmill/

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  8 00:30:06 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA29963
	for scwm-discuss-outgoing; Wed, 8 Sep 1999 00:30:06 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA29958
	for <scwm-discuss@scwm.mit.edu>; Wed, 8 Sep 1999 00:30:01 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA01294; Tue, 7 Sep 1999 21:29:55 -0700 (PDT)
To: Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: fyi -- gnome wants a default wm
References: <19990802155817.A611@execpc.com> <qrroggp4yj1.fsf@elwha.cs.washington.edu> <ws7lndtdf3.fsf@orcus.priv.at>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Sep 1999 21:29:55 -0700
In-Reply-To: Robert Bihlmeyer's message of "03 Aug 1999 11:35:12 +0200"
Message-ID: <qrremgac9fg.fsf@elwha.cs.washington.edu>
Lines: 15
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> writes:

<snip>

> I think we need more people using Gnome and Scwm together before we
> can think about this seriously.

I've worked hard to make Scwm work better with Gnome recently (and
Maciej did a lot of the tough stuff many months ago in the gnome-hints
module)>.  I've just added a README-Gnome to the CVS;  it'll be in
Scwm-0.99.2 when I release it next Monday.  (I've decided to wait until
then since I'm going to be away from my desk from Thurs->Sunday and want 
to be around in case there are problems or questions).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  8 00:33:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA29987
	for scwm-discuss-outgoing; Wed, 8 Sep 1999 00:33:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from smtp01.nwnexus.com (smtp01.nwnexus.com [198.137.231.16])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA29984
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 8 Sep 1999 00:33:14 -0400
Received: from pulsar.halcyon.com (coho.halcyon.com [198.137.231.21])
	by smtp01.nwnexus.com (8.8.8/8.8.8) with ESMTP id VAA28675
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Sep 1999 21:33:11 -0700
Received: from ken@localhost by pulsar.halcyon.com id <276486-59>; Tue, 7 Sep 1999 21:28:57 -0700
From: Ken Pizzini <ken@halcyon.com>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2pre7
In-Reply-To: <qrrk8q2cjlu.fsf@elwha.cs.washington.edu>
Reply-To: ken@halcyon.com
Message-Id: <19990908042857Z276486-59+9@pulsar.halcyon.com>
Date: Tue, 7 Sep 1999 21:28:55 -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> wrote:
>Here's what I'm going with for now-- please let me know if it doesn't
>work on any vendor sed's.
>
>#!/bin/sh -
># scwm-snarf
[snip]
>guile-snarf "$@" | \
>sed -e 's/%\/%\//\
>%%%/' | sed -e '/^%%%/  {
>s/%%%//g
>s/SCM //g
>s/,[ \t]*/ /g
>s/"(/"'"'"'(/
>}' 
># | sed -e 's/\n[ \t]*"/ "/g'  this last bit would recombine into a single line per input line
># but does not work on Solaris' vendor sed

First, a style nit: the first sed would look cleaner with a
different delimeter chosen for the substitution:
  sed -e 's-%/%/-\
%%%-'

Next, not all sed implemetations interpolate the \t pair as a
<TAB> character, so it's a better idea to use a literal <TAB>
in the script.

The pair of sed scripts can be pulled together into one with:
  sed -e '\@%/%/@ {
    s@%/%/@\
@
    P
    s/.*\n//
    s/SCM //g
    s/,[ 	]*/ /g
    s/"(/"'\''(/
  }' 

(I can probably make this accomodate the "recombine into single
line" desire also, but I'm not finding an appropriate input
file to test against.)

		--Ken Pizzini

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  8 00:37:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA30082
	for scwm-discuss-outgoing; Wed, 8 Sep 1999 00:37:27 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA30079
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 8 Sep 1999 00:37:18 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA01299; Tue, 7 Sep 1999 21:37:11 -0700 (PDT)
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: window-class vs. WM_CLASS
References: <Pine.GHP.4.10.9907281336360.29182-100000@rukbat.cs.unc.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Sep 1999 21:37:10 -0700
In-Reply-To: Stephen Tell's message of "Wed, 28 Jul 1999 14:10:03 -0400 (EDT)"
Message-ID: <qrrd7vuc93d.fsf@elwha.cs.washington.edu>
Lines: 60
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen,

Sorry I'm slow responding to this...

Stephen Tell <tell@cs.unc.edu> writes:

> Is the result of (window-class w) supposed to be the value of the WM_CLASS
> window property?  Judging by the code in add_window.c and window.c, that
> looks like the case.  Or am I missing somthing? I was trying to pick out a
> particular window with (class-match??), and noticed what I think is this
> peculiar behavior:
> 
> scwm> (window-class (get-window))
> "NoClass"
> scwm>  
> 
> While xprop reports:
> 
> WM_CLASS(STRING) = "magic", "magic"
> WM_STATE(WM_STATE):
>                 window state: Normal
>                 icon window: 0x3c006ea
> WM_NORMAL_HINTS(WM_SIZE_HINTS):
>                 program specified location: 0, 0
>                 program specified size: 640 by 512
> WM_ICON_NAME(STRING) = "latchplay"
> WM_NAME(STRING) = "latchplay"

What does:

(X-property-get (select-window-interactively) "WM_CLASS")

report?

Looks like window-class and window-resource don't get updated if an app
changes its hints -- easy fix if the WM_CLASS is reported properly using 
X-property-get.

> The application creating the window is calling XSetClassHint with
> suitable-lookng arguments.  Its a raw XLIB app (the magic vlsi editor), so
> maybe it is missing somthing simple I could add?
> 
> Magic appears to fall behind dealing with all of the the events from
> opaque move, so I was going to try this quick fix:
> 
> (define (my-resize-proc w)
>   (cond (((class-match?? "magic") w) #f)
> 	(else (default-resize-opaquely? w))))
> (scwm-option-set! *resize-opaquely-proc* my-resize-proc)
> 
> Once that works, it occurs to me to try to learn how to make somthing like
> a "never-resize-opaquely" window style.  What is the difference between
> window hints and window styles as in add-window-hint-option and
> add-window-style-option?

Main difference is when they get applied.  Window hints take effect
earlier than do styles.  Its unfortunately a bit implementationy to
explain exactly.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  8 00:59:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA30301
	for scwm-discuss-outgoing; Wed, 8 Sep 1999 00:59:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA30298
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 8 Sep 1999 00:59:39 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA01316; Tue, 7 Sep 1999 21:59:36 -0700 (PDT)
To: ken@halcyon.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2pre7
References: <19990908042857Z276486-59+9@pulsar.halcyon.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Sep 1999 21:59:35 -0700
In-Reply-To: Ken Pizzini's message of "Tue, 7 Sep 1999 21:28:55 -0700"
Message-ID: <qrraeqyc820.fsf@elwha.cs.washington.edu>
Lines: 188
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Ken Pizzini <ken@halcyon.com> writes:

> First, a style nit: the first sed would look cleaner with a
> different delimeter chosen for the substitution:
>   sed -e 's-%/%/-\
> %%%-'

Wasn't sure all sed's did that-- one of the nicest things about Perl is
knowing there are no vendor Perls!

> Next, not all sed implemetations interpolate the \t pair as a
> <TAB> character, so it's a better idea to use a literal <TAB>
> in the script.

Good -- thanks!

> The pair of sed scripts can be pulled together into one with:
>   sed -e '\@%/%/@ {
>     s@%/%/@\
> @
>     P
>     s/.*\n//
>     s/SCM //g
>     s/,[ 	]*/ /g
>     s/"(/"'\''(/
>   }' 

I bow to your sed guru-ism.  And I thought I was pretty on top of things
with sed... there's always someone better!  (And I'm glad you're reading
the list! :-) ).

> (I can probably make this accomodate the "recombine into single
> line" desire also, but I'm not finding an appropriate input
> file to test against.)

That'd be nice. Here's the input from guile-snarf ... window.c
that the sed script will be operating on (hopefully it won't get screwed 
up in transit -- you can get it by running:

rm window.x; make window.x

and then changing the scwm-snarf in the line make executes to
guile-snarf, and putting the output in, say, window.gs).

Thanks!
Greg


     do {  invalid_interaction_hook  = scm_make_named_hook( "invalid-interaction-hook" , 0 ); } while (0) ;
     do {  cannot_grab_hook  = scm_make_named_hook( "cannot-grab-hook" , 0 ); } while (0) ;
     do {  select_window_enter_hook  = scm_make_named_hook( "select-window-enter-hook" , 1 ); } while (0) ;
     do {  select_window_leave_hook  = scm_make_named_hook( "select-window-leave-hook" , 1 ); } while (0) ;
     do {  select_window_done_hook  = scm_make_named_hook( "select-window-done-hook" , 1 ); } while (0) ;
	  sym_mouse    = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "mouse"  )  ) ))->car) )  ;
	  sym_sloppy    = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "sloppy"  )  ) ))->car) )  ;
	  sym_none    = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "none"  )  ) ))->car) )  ;
	  sym_sticky    = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "sticky"  )  ) ))->car) )  ;
	  sym_desk      = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "desk"  )  ) ))->car) )  ;
	  sym_on_top    = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "on-top"  )  ) ))->car) )  ;
	  sym_shaded    = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "shaded"  )  ) ))->car) )  ;
	  sym_winlist_skip   = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "winlist-skip"  )  ) ))->car) )  ;
	  sym_circulate_skip_icon   = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "circulate-skip-icon"  )  ) ))->car) )  ;
	  sym_circulate_skip   = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "circulate-skip"  )  ) ))->car) )  ;
	  sym_grav_forget   = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "forget"  )  ) ))->car) )  ;
	  sym_grav_northwest   = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "northwest"  )  ) ))->car) )  ;
	  sym_grav_north   = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "north"  )  ) ))->car) )  ;
	  sym_grav_northeast   = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "northeast"  )  ) ))->car) )  ;
	  sym_grav_west   = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "west"  )  ) ))->car) )  ;
	  sym_grav_center   = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "center"  )  ) ))->car) )  ;
	  sym_grav_east   = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "east"  )  ) ))->car) )  ;
	  sym_grav_southwest   = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "southwest"  )  ) ))->car) )  ;
	  sym_grav_south   = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "south"  )  ) ))->car) )  ;
	  sym_grav_southeast   = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "southeast"  )  ) ))->car) )  ;
	  sym_grav_static   = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "static"  )  ) ))->car) )  ;
	  sym_maximized   = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "maximized"  )  ) ))->car) )  ;
	  sym_no_side_decorations   = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "no-side-decorations"  )  ) ))->car) )  ;
	  sym_squashed_titlebar   = scm_permanent_object ((((scm_cell *)((  scm_intern0 (   "squashed-titlebar"  )  ) ))->car) )  ;
	scwm_make_gsubr(s_window_p ,   1 ,   0 ,   0 , (SCM (*)())    window_p , %/%/ "(SCM obj)"); 
	scwm_make_gsubr(s_window_valid_p ,   1 ,   0 ,   0 , (SCM (*)())    window_valid_p , %/%/ "(SCM obj)"); 
	scwm_make_gsubr(s_window_fully_constructed_p ,   1 ,   0 ,   0 , (SCM (*)())    window_fully_constructed_p , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_mapped_p ,   1 ,   0 ,   0 , (SCM (*)())    window_mapped_p , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_map_pending_p ,   1 ,   0 ,   0 , (SCM (*)())    window_map_pending_p , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_select_viewport_position ,   0 ,   2 ,   0 , (SCM (*)())    select_viewport_position , %/%/ "(SCM cursor, SCM release_p)"); 
	scwm_make_gsubr(s_get_window ,   0 ,   3 ,   0 , (SCM (*)())    get_window , %/%/ "(SCM select_p, SCM release_p, SCM cursor)"); 
	scwm_make_gsubr(s_force_reset_window_frame_x ,   0 ,   1 ,   0 , (SCM (*)())    force_reset_window_frame_x , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_set_window_context_x ,   1 ,   0 ,   0 , (SCM (*)())    set_window_context_x , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_context ,   0 ,   0 ,   0 , (SCM (*)())    window_context , %/%/ "()"); 
	scwm_make_gsubr(s_current_window_with_focus ,   0 ,   0 ,   0 , (SCM (*)())    current_window_with_focus , %/%/ "()"); 
	scwm_make_gsubr(s_current_window_with_pointer ,   0 ,   0 ,   0 , (SCM (*)())    current_window_with_pointer , %/%/ "()"); 
	scwm_make_gsubr(s_delete_window ,   0 ,   1 ,   0 , (SCM (*)())    delete_window , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_destroy_window ,   0 ,   1 ,   0 , (SCM (*)())    destroy_window , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_deletable_p ,   0 ,   1 ,   0 , (SCM (*)())    window_deletable_p , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_focus ,   0 ,   1 ,   0 , (SCM (*)())    focus , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_unfocus ,   0 ,   0 ,   0 , (SCM (*)())    unfocus , %/%/ "()"); 
	scwm_make_gsubr(s_warp_to_window ,   0 ,   1 ,   0 , (SCM (*)())    warp_to_window , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_raise_window ,   0 ,   1 ,   0 , (SCM (*)())    raise_window , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_lower_window ,   0 ,   1 ,   0 , (SCM (*)())    lower_window , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_restack_windows ,   1 ,   0 ,   0 , (SCM (*)())    restack_windows , %/%/ "(SCM winlist)"); 
	scwm_make_gsubr(s_raised_p ,   0 ,   1 ,   0 , (SCM (*)())    raised_p , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_transient_p ,   0 ,   1 ,   0 , (SCM (*)())    transient_p , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_transient_for ,   0 ,   1 ,   0 , (SCM (*)())    window_transient_for , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_iconify ,   0 ,   1 ,   0 , (SCM (*)())    iconify , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_deiconify ,   0 ,   3 ,   0 , (SCM (*)())    deiconify , %/%/ "(SCM win, SCM x, SCM y)"); 
	scwm_make_gsubr(s_iconified_p ,   0 ,   1 ,   0 , (SCM (*)())    iconified_p , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_stick ,   0 ,   1 ,   0 , (SCM (*)())    stick , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_unstick ,   0 ,   1 ,   0 , (SCM (*)())    unstick , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_sticky_p ,   0 ,   1 ,   0 , (SCM (*)())    sticky_p , %/%/ "(SCM win)"); 
     set_property_handler (  sym_sticky , & sticky_handler ) ;
	scwm_make_gsubr(s_window_shade ,   0 ,   1 ,   0 , (SCM (*)())    window_shade , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_unshade ,   0 ,   1 ,   0 , (SCM (*)())    window_unshade , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_shaded_p ,   0 ,   1 ,   0 , (SCM (*)())    window_shaded_p , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_move_window ,   2 ,   1 ,   0 , (SCM (*)())    move_window , %/%/ "(SCM x, SCM y, SCM win)"); 
	scwm_make_gsubr(s_resize_to ,   2 ,   1 ,   0 , (SCM (*)())    resize_to , %/%/ "(SCM w, SCM h, SCM win)"); 
	scwm_make_gsubr(s_resize_frame_to ,   2 ,   1 ,   0 , (SCM (*)())    resize_frame_to , %/%/ "(SCM w, SCM h, SCM win)"); 
	scwm_make_gsubr(s_window_size_hints ,   1 ,   0 ,   0 , (SCM (*)())    window_size_hints , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_refresh_window ,   0 ,   1 ,   0 , (SCM (*)())    refresh_window , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_move_window_to_desk ,   1 ,   1 ,   0 , (SCM (*)())    move_window_to_desk , %/%/ "(SCM desk, SCM win)"); 
	scwm_make_gsubr(s_window_gravity ,   0 ,   1 ,   0 , (SCM (*)())    window_gravity , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_set_window_gravity_x ,   1 ,   1 ,   0 , (SCM (*)())    set_window_gravity_x , %/%/ "(SCM gravity, SCM win)"); 
	scwm_make_gsubr(s_window_position ,   0 ,   1 ,   0 , (SCM (*)())    window_position , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_icon_position ,   0 ,   1 ,   0 , (SCM (*)())    icon_position , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_icon_size ,   0 ,   1 ,   0 , (SCM (*)())    icon_size , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_frame_size ,   0 ,   1 ,   0 , (SCM (*)())    window_frame_size , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_size ,   0 ,   1 ,   0 , (SCM (*)())    window_size , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_title_size ,   0 ,   1 ,   0 , (SCM (*)())    window_title_size , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_frame_border_width ,   0 ,   1 ,   0 , (SCM (*)())    window_frame_border_width , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_id ,   0 ,   1 ,   0 , (SCM (*)())    window_id , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_frame_id ,   0 ,   1 ,   0 , (SCM (*)())    window_frame_id , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_id_to_window ,   1 ,   0 ,   0 , (SCM (*)())    id_to_window , %/%/ "(SCM window_id)"); 
	scwm_make_gsubr(s_frame_id_to_window ,   1 ,   0 ,   0 , (SCM (*)())    frame_id_to_window , %/%/ "(SCM window_id)"); 
	scwm_make_gsubr(s_any_id_to_window ,   1 ,   0 ,   0 , (SCM (*)())    any_id_to_window , %/%/ "(SCM window_id)"); 
	scwm_make_gsubr(s_window_desk ,   0 ,   1 ,   0 , (SCM (*)())    window_desk , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_title ,   0 ,   1 ,   0 , (SCM (*)())    window_title , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_icon_title ,   0 ,   1 ,   0 , (SCM (*)())    window_icon_title , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_class ,   0 ,   1 ,   0 , (SCM (*)())    window_class , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_resource ,   0 ,   1 ,   0 , (SCM (*)())    window_resource , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_last_focus_time ,   0 ,   1 ,   0 , (SCM (*)())    window_last_focus_time , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_creation_time ,   0 ,   1 ,   0 , (SCM (*)())    window_creation_time , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_list_all_windows ,   0 ,   0 ,   0 , (SCM (*)())    list_all_windows , %/%/ "()"); 
	scwm_make_gsubr(s_list_stacking_order ,   0 ,   0 ,   0 , (SCM (*)())    list_stacking_order , %/%/ "()"); 
	scwm_make_gsubr(s_list_focus_order ,   0 ,   0 ,   0 , (SCM (*)())    list_focus_order , %/%/ "()"); 
	scwm_make_gsubr(s_keep_on_top ,   0 ,   1 ,   0 , (SCM (*)())    keep_on_top , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_un_keep_on_top ,   0 ,   1 ,   0 , (SCM (*)())    un_keep_on_top , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_kept_on_top_p ,   0 ,   1 ,   0 , (SCM (*)())    kept_on_top_p , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_show_titlebar ,   0 ,   2 ,   0 , (SCM (*)())    show_titlebar , %/%/ "(SCM win, SCM in_place_p)"); 
	scwm_make_gsubr(s_hide_titlebar ,   0 ,   2 ,   0 , (SCM (*)())    hide_titlebar , %/%/ "(SCM win, SCM in_place_p)"); 
	scwm_make_gsubr(s_titlebar_shown_p ,   0 ,   1 ,   0 , (SCM (*)())    titlebar_shown_p , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_normal_border ,   0 ,   1 ,   0 , (SCM (*)())    normal_border , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_plain_border ,   0 ,   1 ,   0 , (SCM (*)())    plain_border , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_border_normal_p ,   0 ,   1 ,   0 , (SCM (*)())    border_normal_p , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_set_border_width_x ,   1 ,   1 ,   0 , (SCM (*)())    set_border_width_x , %/%/ "(SCM width, SCM win)"); 
	scwm_make_gsubr(s_stick_icon ,   0 ,   1 ,   0 , (SCM (*)())    stick_icon , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_unstick_icon ,   0 ,   1 ,   0 , (SCM (*)())    unstick_icon , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_icon_sticky_p ,   0 ,   1 ,   0 , (SCM (*)())    icon_sticky_p , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_set_icon_box_x ,   4 ,   1 ,   0 , (SCM (*)())    set_icon_box_x , %/%/ "(SCM x, SCM y, SCM w, SCM h, SCM win)"); 
	scwm_make_gsubr(s_set_window_focus_x ,   1 ,   1 ,   0 , (SCM (*)())    set_window_focus_x , %/%/ "(SCM sym, SCM win)"); 
	scwm_make_gsubr(s_get_window_focus ,   0 ,   1 ,   0 , (SCM (*)())    get_window_focus , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_get_window_colors ,   0 ,   1 ,   0 , (SCM (*)())    get_window_colors , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_get_window_highlight_colors ,   0 ,   1 ,   0 , (SCM (*)())    get_window_highlight_colors , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_set_window_foreground_x ,   1 ,   1 ,   0 , (SCM (*)())    set_window_foreground_x , %/%/ "(SCM fg, SCM win)"); 
	scwm_make_gsubr(s_set_window_background_x ,   1 ,   1 ,   0 , (SCM (*)())    set_window_background_x , %/%/ "(SCM bg, SCM win)"); 
	scwm_make_gsubr(s_set_window_highlight_foreground_x ,   1 ,   1 ,   0 , (SCM (*)())    set_window_highlight_foreground_x , %/%/ "(SCM fg, SCM win)"); 
	scwm_make_gsubr(s_set_window_highlight_background_x ,   1 ,   1 ,   0 , (SCM (*)())    set_window_highlight_background_x , %/%/ "(SCM bg, SCM win)"); 
	scwm_make_gsubr(s_set_random_placement_x ,   1 ,   1 ,   0 , (SCM (*)())    set_random_placement_x , %/%/ "(SCM flag, SCM win)"); 
	scwm_make_gsubr(s_set_smart_placement_x ,   1 ,   1 ,   0 , (SCM (*)())    set_smart_placement_x , %/%/ "(SCM flag, SCM win)"); 
	scwm_make_gsubr(s_set_window_button_x ,   2 ,   1 ,   0 , (SCM (*)())    set_window_button_x , %/%/ "(SCM n, SCM flag, SCM win)"); 
	scwm_make_gsubr(s_set_mwm_buttons_x ,   1 ,   1 ,   0 , (SCM (*)())    set_mwm_buttons_x , %/%/ "(SCM flag, SCM win)"); 
	scwm_make_gsubr(s_set_mwm_border_x ,   1 ,   1 ,   0 , (SCM (*)())    set_mwm_border_x , %/%/ "(SCM flag, SCM win)"); 
	scwm_make_gsubr(s_set_icon_title_x ,   1 ,   1 ,   0 , (SCM (*)())    set_icon_title_x , %/%/ "(SCM flag, SCM win)"); 
	scwm_make_gsubr(s_set_force_icon_x ,   1 ,   1 ,   0 , (SCM (*)())    set_force_icon_x , %/%/ "(SCM flag, SCM win)"); 
	scwm_make_gsubr(s_set_show_icon_x ,   1 ,   1 ,   0 , (SCM (*)())    set_show_icon_x , %/%/ "(SCM flag, SCM win)"); 
	scwm_make_gsubr(s_set_icon_x ,   1 ,   1 ,   0 , (SCM (*)())    set_icon_x , %/%/ "(SCM image, SCM win)"); 
	scwm_make_gsubr(s_window_icon ,   0 ,   1 ,   0 , (SCM (*)())    window_icon , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_set_mini_icon_x ,   1 ,   1 ,   0 , (SCM (*)())    set_mini_icon_x , %/%/ "(SCM image, SCM win)"); 
	scwm_make_gsubr(s_window_mini_icon ,   0 ,   1 ,   0 , (SCM (*)())    window_mini_icon , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_shaped_p ,   0 ,   1 ,   0 , (SCM (*)())    window_shaped_p , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_window_icon_shaped_p ,   1 ,   0 ,   0 , (SCM (*)())    window_icon_shaped_p , %/%/ "(SCM win)"); 
	scwm_make_gsubr(s_set_hint_override_x ,   1 ,   1 ,   0 , (SCM (*)())    set_hint_override_x , %/%/ "(SCM flag, SCM win)"); 
	scwm_make_gsubr(s_set_decorate_transient_x ,   1 ,   1 ,   0 , (SCM (*)())    set_decorate_transient_x , %/%/ "(SCM flag, SCM win)"); 
	scwm_make_gsubr(s_set_mwm_decor_hint_x ,   1 ,   1 ,   0 , (SCM (*)())    set_mwm_decor_hint_x , %/%/ "(SCM flag, SCM win)"); 
	scwm_make_gsubr(s_set_mwm_func_hint_x ,   1 ,   1 ,   0 , (SCM (*)())    set_mwm_func_hint_x , %/%/ "(SCM flag, SCM win)"); 
	scwm_make_gsubr(s_set_PPosition_hint_x ,   1 ,   1 ,   0 , (SCM (*)())    set_PPosition_hint_x , %/%/ "(SCM flag, SCM win)"); 
	scwm_make_gsubr(s_set_OL_decor_hint_x ,   1 ,   1 ,   0 , (SCM (*)())    set_OL_decor_hint_x , %/%/ "(SCM flag, SCM win)"); 
	scwm_make_gsubr(s_set_start_on_desk_x ,   1 ,   1 ,   0 , (SCM (*)())    set_start_on_desk_x , %/%/ "(SCM desk, SCM win)"); 
	scwm_make_gsubr(s_set_skip_mapping_x ,   1 ,   1 ,   0 , (SCM (*)())    set_skip_mapping_x , %/%/ "(SCM flag, SCM win)"); 
	scwm_make_gsubr(s_set_lenience_x ,   1 ,   1 ,   0 , (SCM (*)())    set_lenience_x , %/%/ "(SCM flag, SCM win)"); 
     set_property_handler (  sym_squashed_titlebar , & squashed_titlebar_handler ) ;


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  8 01:54:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA30640
	for scwm-discuss-outgoing; Wed, 8 Sep 1999 01:54:01 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from math.uwaterloo.ca (root@math.uwaterloo.ca [129.97.216.42])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA30637
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 8 Sep 1999 01:53:57 -0400
Received: from thing-one.localdomain (cnts1p05.uwaterloo.ca [129.97.112.5])
	by math.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id BAA13934
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 8 Sep 1999 01:53:53 -0400 (EDT)
From: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Received: (from jrm@localhost)
	by thing-one.localdomain (8.9.3/8.9.3) id BAA10924;
	Wed, 8 Sep 1999 01:52:35 -0400
Date: Wed, 8 Sep 1999 01:52:35 -0400
Message-Id: <199909080552.BAA10924@thing-one.localdomain>
To: scwm-discuss@SCWM.MIT.EDU
Subject: scwm-0.99.2pre8 miscellanea
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

No trouble rebuilding rpm file for ppc.

It has been a while since I've tried startscwm.  It gives a syntax
error that I have not tried to understand:

/usr/bin/startscwm: line 48: syntax error near unexpected token `then'
/usr/bin/startscwm: line 48: `    ! ssh-add -l >/dev/null; then'

Is there really a syntax error, or is bash-2.03-3b acting up?


Otherwise, with  .scwmrc == simple.scwmrc,  the messages at Scwm startup are

[Scwm][init_modifiers]:  Doing 7 XGrabKey calls for window bindings when ignoring dubious modifiers
Error loading module: (app scwm doc)
ERROR: Unbound variable: quote


Running ClTests (still not stripped in cassowary-0.51-6) produces the
following:

Cassowary version: 0.51
simple1:
x = 2
y = 2
simple2:
Success: got the exception
justStay1:
x == 5
y == 10
addDelete1:
x == 10

Tableau:
[x:10] <-=-> 10 + -1*[s2:slack]
[Z:obj] <-=-> 90 + 2*[em1:slack] + 1*[s2:slack]
[ep1:slack] <-=-> 90 + 1*[em1:slack] + 1*[s2:slack]
[s3:slack] <-=-> 10 + 1*[s2:slack]

Columns:
[em1:slack] -> { [Z:obj], [ep1:slack] }
[s2:slack] -> { [x:10], [Z:obj], [ep1:slack], [s3:slack] }


Infeasible rows: {  }
External basic variables: { [x:10] }
External parametric variables: {  }
_stayPlusErrorVars: 0:[  ]
_stayMinusErrorVars: 0:[  ]
_editVarMap:



Tableau:
[x:20] <-=-> 20 + -1*[s3:slack]
[Z:obj] <-=-> 80 + 2*[em1:slack] + 1*[s3:slack]
[ep1:slack] <-=-> 80 + 1*[em1:slack] + 1*[s3:slack]

Columns:
[em1:slack] -> { [Z:obj], [ep1:slack] }
[s3:slack] -> { [x:20], [Z:obj], [ep1:slack] }

Infeasible rows: {  }
External basic variables: { [x:20] }
External parametric variables: {  }
_stayPlusErrorVars: 0:[  ]
_stayMinusErrorVars: 0:[  ]
_editVarMap:


x == 20
x == 100
x == 10
x == 10
x == 100
addDelete2:
x == 10, y == 120
x == 20, y == 120
x == 20, y == 40
x == 60, y == 120
x == 100, y == 120
casso1:
x == 7, y == 10
inconsistent1:
Success -- got the exception
inconsistent2:
Success -- got the exception
inconsistent3:
Success -- got the exception
multiedit:
x = 10; y = 20
w = 0; h = 0
x = 10; y = 20
w = 30; h = 40
x = 50; y = 60
w = 30; h = 40
addDel:
starting timing test. nCns = 90, nVars = 90, nResolves = 100
done building data structures
time = 0.02

done adding constraints [13 exceptions]
time = 0.13

time per cn = 0.00144444

time per actual cn = 0.00168831

done creating edit constraints -- about to start resolves
time = 0

done resolves -- now removing constraints
time = 0.02

time per Resolve = 0.0002

done removing constraints and addDel timing test
time = 0.01

time per cn = 0.000111111

time per actual cn = 0.00012987


John

-- 
John MacPhail                   grad student at U.Waterloo
jrmacphail@math.uwaterloo.ca          sneaker net  MC5136A
-----------------------------------------------------------

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  8 03:06:46 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA30838
	for scwm-discuss-outgoing; Wed, 8 Sep 1999 03:06:46 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA30835
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 8 Sep 1999 03:06:35 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id AAA01702; Wed, 8 Sep 1999 00:06:27 -0700 (PDT)
To: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2pre8 miscellanea
References: <199909080552.BAA10924@thing-one.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Sep 1999 00:06:27 -0700
In-Reply-To: John Revan MacPhail's message of "Wed, 8 Sep 1999 01:52:35 -0400"
Message-ID: <qrr4sh5dgr0.fsf@elwha.cs.washington.edu>
Lines: 44
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Revan MacPhail <jrmacpha@math.uwaterloo.ca> writes:

> No trouble rebuilding rpm file for ppc.
> 
> It has been a while since I've tried startscwm.  It gives a syntax
> error that I have not tried to understand:
> 
> /usr/bin/startscwm: line 48: syntax error near unexpected token `then'
> /usr/bin/startscwm: line 48: `    ! ssh-add -l >/dev/null; then'
> 
> Is there really a syntax error, or is bash-2.03-3b acting up?

Well, it's not an error with bash-1.14.7(1), but it doesn't seem to
quite conform to the Sun sh manpage grammar.  Rewrites of the
conditional are welcome.  (I think I need some sleep right now!)

> Otherwise, with  .scwmrc == simple.scwmrc,  the messages at Scwm startup are
> 
> [Scwm][init_modifiers]:  Doing 7 XGrabKey calls for window bindings when ignoring dubious modifiers
> Error loading module: (app scwm doc)
> ERROR: Unbound variable: quote

I fixed this in the repo; it's a bug in guile-1.3 as far as I can tell
(a bug that I tickle with some new reflection code that didn't exist two
days ago). It goes away if you use guile-1.3.2 or better.  You should
definitely try the later guiles if you're not already (which I hope
you're not, otherwise I need a different explanation for the above
problem).

> Running ClTests (still not stripped in cassowary-0.51-6) produces the
> following:

I did change it to "make install-strip";  does the rpm --rebuild execute 
it as such?  I'm not sure when I changed it....

> Cassowary version: 0.51

<snip>

Looked good to me... was there something that you were wondering about,
or just a nice success report?  (If the exit status is 0, all went well).

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  8 04:08:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id EAA00351
	for scwm-discuss-outgoing; Wed, 8 Sep 1999 04:08:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id EAA00348
	for <scwm-discuss@scwm.mit.edu>; Wed, 8 Sep 1999 04:08:44 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id KAA06724
	for <scwm-discuss@scwm.mit.edu>; Wed, 8 Sep 1999 10:08:41 +0200 (MET DST)
Date: Wed, 8 Sep 1999 10:08:00 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@scw.mit.edu
Subject: scwm-0.99.2pre8 : esd detection
Message-ID: <19990908100800.B15186@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

With ./configure  --prefix=/udd/canon --enable-maintainer-mode --with-gnu-ld --with-x --disable-esd --disable-esdtest --disable-gtktest --disable-imlibtest --disable-imlib --without-cassowary

I get this error :

Making all in esdsound
make[2]: Entering directory `/udd/canon/src/Progs/scwm-0.99.2pre8/modules/esdsound'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../scwm -I../../include  -I/usr/local/X11R5/include          -I/udd/canon/include  -I/udd/canon/include    -g -O2 -c sound.c
rm -f .libs/sound.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../scwm -I../../include -I/usr/local/X11R5/include -I/udd/canon/include -I/udd/canon/include -g -O2 -c  -fPIC -DPIC sound.c -o .libs/sound.lo
sound.c:26: esd.h: No such file or directory
make[2]: *** [sound.lo] Error 1
make[2]: Leaving directory `/udd/canon/src/Progs/scwm-0.99.2pre8/modules/esdsound'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/udd/canon/src/Progs/scwm-0.99.2pre8/modules'
make: *** [all-recursive] Error 1

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  8 16:07:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA01378
	for scwm-discuss-outgoing; Wed, 8 Sep 1999 16:07:44 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from smtp00.nwnexus.com (smtp00.nwnexus.com [192.135.191.25])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA01375
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 8 Sep 1999 16:07:38 -0400
Received: from pulsar.halcyon.com (ken@coho.halcyon.com [198.137.231.21])
	by smtp00.nwnexus.com (8.8.8/8.8.8) with ESMTP id NAA24299
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 8 Sep 1999 13:07:32 -0700 (PDT)
Received: from ken@localhost by pulsar.halcyon.com id <276482-59>; Wed, 8 Sep 1999 12:34:32 -0700
From: Ken Pizzini <ken@halcyon.com>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2pre7
In-Reply-To: <qrraeqyc820.fsf@elwha.cs.washington.edu>
Reply-To: ken@halcyon.com
Mail-Copies-To: nobody
Message-Id: <19990908193432Z276482-59+10@pulsar.halcyon.com>
Date: Wed, 8 Sep 1999 12:34:21 -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

In message <qrraeqyc820.fsf@elwha.cs.washington.edu>,
Greg Badros <gjb@cs.washington.edu> wrote:
>> The pair of sed scripts can be pulled together into one with:
[snip]
>I bow to your sed guru-ism.  And I thought I was pretty on top of things
>with sed... there's always someone better!  (And I'm glad you're reading
>the list! :-) ).

I was a mediocre sed programmer until I started maintaining GNU
sed and needed to understand the bug reports submitted by people
who severely torture sed into doing their bidding.  (It's amazing
how expert one becomes in the usage of a program _after_ starting
to maintain its code.)


>> (I can probably make this accomodate the "recombine into single
>> line" desire also, but I'm not finding an appropriate input
>> file to test against.)
>
>That'd be nice. Here's the input from guile-snarf ... window.c
>that the sed script will be operating on

Ah, okay --- now I see where you're coming from.  This should do ya':
  sed 's@%/%/@\
@
       /\n/!b
       h
       s/SCM //g
       s/,[ 	]*/ /g
       s/"(/"'\''(/
       x
       G
       s/\n.*\n//' 

(Note that the [] should contain one space and one tab character,
which may or may not survive their transit through e-mail unscathed.)

		--Ken Pizzini

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  8 17:00:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA01593
	for scwm-discuss-outgoing; Wed, 8 Sep 1999 17:00:59 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA01585
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 8 Sep 1999 17:00:53 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA02947; Wed, 8 Sep 1999 14:00:48 -0700 (PDT)
To: ken@halcyon.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2pre7
References: <19990908193432Z276482-59+10@pulsar.halcyon.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Sep 1999 14:00:48 -0700
In-Reply-To: Ken Pizzini's message of "Wed, 8 Sep 1999 12:34:21 -0700"
Message-ID: <qrrd7vtazjz.fsf@elwha.cs.washington.edu>
Lines: 40
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Ken Pizzini <ken@halcyon.com> writes:

> In message <qrraeqyc820.fsf@elwha.cs.washington.edu>,
> Greg Badros <gjb@cs.washington.edu> wrote:
> >> The pair of sed scripts can be pulled together into one with:
> [snip]
> >I bow to your sed guru-ism.  And I thought I was pretty on top of things
> >with sed... there's always someone better!  (And I'm glad you're reading
> >the list! :-) ).
> 
> I was a mediocre sed programmer until I started maintaining GNU
> sed and needed to understand the bug reports submitted by people
> who severely torture sed into doing their bidding.  (It's amazing
> how expert one becomes in the usage of a program _after_ starting
> to maintain its code.)

I believe it!  I'll be learning from your wisdom, for sure!

> >> (I can probably make this accomodate the "recombine into single
> >> line" desire also, but I'm not finding an appropriate input
> >> file to test against.)
> >
> >That'd be nice. Here's the input from guile-snarf ... window.c
> >that the sed script will be operating on
> 
> Ah, okay --- now I see where you're coming from.  This should do ya':
>   sed 's@%/%/@\
> @
>        /\n/!b
>        h
>        s/SCM //g
>        s/,[ 	]*/ /g
>        s/"(/"'\''(/
>        x
>        G
>        s/\n.*\n//' 

Great-- thanks-- works like a charm with Solaris sed and GNU sed!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  8 18:07:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA01955
	for scwm-discuss-outgoing; Wed, 8 Sep 1999 18:07:12 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from math.uwaterloo.ca (root@math.uwaterloo.ca [129.97.216.42])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA01952
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 8 Sep 1999 18:07:02 -0400
Received: from thing-one.localdomain (cnts6p29.uwaterloo.ca [129.97.13.29])
	by math.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id SAA23686;
	Wed, 8 Sep 1999 18:06:55 -0400 (EDT)
From: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Received: (from jrm@localhost)
	by thing-one.localdomain (8.9.3/8.9.3) id SAA27284;
	Wed, 8 Sep 1999 18:07:20 -0400
Date: Wed, 8 Sep 1999 18:07:20 -0400
Message-Id: <199909082207.SAA27284@thing-one.localdomain>
To: gjb@cs.washington.edu
CC: jrmacpha@math.uwaterloo.ca, scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrr4sh5dgr0.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 08 Sep 1999 00:06:27 -0700)
Subject: Re: scwm-0.99.2pre8 miscellanea
References: <199909080552.BAA10924@thing-one.localdomain> <qrr4sh5dgr0.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

> conditional are welcome.  (I think I need some sleep right now!)
Good luck ;)

> I fixed this in the repo; it's a bug in guile-1.3 as far as I can tell
> (a bug that I tickle with some new reflection code that didn't exist two
> days ago). It goes away if you use guile-1.3.2 or better.  You should
> definitely try the later guiles if you're not already (which I hope
Well, here is what I think I am using:
[jrm]$ rpm -qa |grep guile
guile-1.3.3-1gjb
guile-gtk-26Aug99-2gjb
guile-devel-1.3.3-1gjb
> you're not, otherwise I need a different explanation for the above
> problem).

[regarding size of ClTests]
> I did change it to "make install-strip";  does the rpm --rebuild execute 
> it as such?  I'm not sure when I changed it....
As of cassowary-0.51-7.ppc.rpm and cassowary-nofd-0.51-1.ppc.rpm, it
_is_ fixed.  Thank you.  Each of these is over two megs smaller than
the previous cassowaries!  Smaller binaries to download should get
more users, so why not strip some other stuff too?

Installing a built Scwm now works with cassowary-nofd and without GTL;
this is a big step forward, knocking another couple of megs off the
binaries!  On a lesser issue, we are _not_ yet out of the woods with
the rebuliding: Scwm will not rebuild without the full Cassowary and
hence GTL.

[re ClTests output]
> Looked good to me... was there something that you were wondering about,
> or just a nice success report?  (If the exit status is 0, all went well).
That answers my question.  (It looked good, but I wasn't sure.)

Here is a suggestion for Scwm/Cassowary promotion.  Staggered a couple
of weeks apart after the rsn release announcement, how about
announcing a `contest' for each of Scwm and Cassowary, to collect
ideas on how to use them?  (Minor prizes could just be
acknowledgements in some file, major prizes could be some small thing
autographed by the authors.)  Another possibility is collecting
reasons for _not_ using Scwm/Cassowary.

John

-- 
John MacPhail                   grad student at U.Waterloo
jrmacphail@math.uwaterloo.ca          sneaker net  MC5136A
-----------------------------------------------------------

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  8 19:48:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA02204
	for scwm-discuss-outgoing; Wed, 8 Sep 1999 19:48:51 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA02201
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 8 Sep 1999 19:48:46 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA03258; Wed, 8 Sep 1999 16:48:41 -0700 (PDT)
To: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2pre8 miscellanea
References: <199909080552.BAA10924@thing-one.localdomain> <qrr4sh5dgr0.fsf@elwha.cs.washington.edu> <199909082207.SAA27284@thing-one.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Sep 1999 16:48:41 -0700
In-Reply-To: John Revan MacPhail's message of "Wed, 8 Sep 1999 18:07:20 -0400"
Message-ID: <qrr7lm1ars6.fsf@elwha.cs.washington.edu>
Lines: 69
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Revan MacPhail <jrmacpha@math.uwaterloo.ca> writes:

> > conditional are welcome.  (I think I need some sleep right now!)
> Good luck ;)
> 
> > I fixed this in the repo; it's a bug in guile-1.3 as far as I can tell
> > (a bug that I tickle with some new reflection code that didn't exist two
> > days ago). It goes away if you use guile-1.3.2 or better.  You should
> > definitely try the later guiles if you're not already (which I hope
> Well, here is what I think I am using:
> [jrm]$ rpm -qa |grep guile
> guile-1.3.3-1gjb
> guile-gtk-26Aug99-2gjb
> guile-devel-1.3.3-1gjb
> > you're not, otherwise I need a different explanation for the above
> > problem).
> 
> [regarding size of ClTests]
> > I did change it to "make install-strip";  does the rpm --rebuild execute 
> > it as such?  I'm not sure when I changed it....
> As of cassowary-0.51-7.ppc.rpm and cassowary-nofd-0.51-1.ppc.rpm, it
> _is_ fixed.  Thank you.  Each of these is over two megs smaller than
> the previous cassowaries!  Smaller binaries to download should get
> more users, so why not strip some other stuff too?

You mean other rpms?  It's easy enough to change the target to
install-strip, but it's also easy for a sysadmin to strip binaries after 
they're installed.  I prefer leaving symbols in for better backtraces,
especially on pre-1.0 releases.  Cassowary is a mess to debug anyway,
and C++ symbols take up a lot more space, so I'm willing to give a
little on it.

> Installing a built Scwm now works with cassowary-nofd and without GTL;
> this is a big step forward, knocking another couple of megs off the
> binaries!  On a lesser issue, we are _not_ yet out of the woods with
> the rebuliding: Scwm will not rebuild without the full Cassowary and
> hence GTL.

What are the problems?  If you're still using a scwm package that has a
configure.in that does not use the `cassowary-config' script, then that
is likely the problem, and I fixed it late last night, though I can't
remember if any of the packages on upintheair have it that way yet.

> [re ClTests output]
> > Looked good to me... was there something that you were wondering about,
> > or just a nice success report?  (If the exit status is 0, all went well).
> That answers my question.  (It looked good, but I wasn't sure.)
> 
> Here is a suggestion for Scwm/Cassowary promotion.  Staggered a couple
> of weeks apart after the rsn release announcement, how about
> announcing a `contest' for each of Scwm and Cassowary, to collect
> ideas on how to use them?  (Minor prizes could just be
> acknowledgements in some file, major prizes could be some small thing
> autographed by the authors.)  Another possibility is collecting

Sure... that sounds like fun.  I really could use some help with some of 
the administrative stuff.  Maciej seems to have disappeared (come back,
Maciej, please!) which leaves me coding, packaging, bug fixing, web
administering, mail administering, etc., on top of my day job as a PhD
student.  It's pretty crazy, so I'm very willing to accept help from
folks willing to help with the promotion and administration of Scwm (as
well as all the other stuff, but I'd say my comparative advantage is
mostly in the coding and debugging for Scwm-- I imagine many of you
readers could manage the web site at least as well [or poorly! :-) ] as
I have been.

Thanks for the suggestions and feedback, as always!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  8 20:00:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA02295
	for scwm-discuss-outgoing; Wed, 8 Sep 1999 20:00:02 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA02292
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 8 Sep 1999 19:59:59 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id TAA12212;
	Wed, 8 Sep 1999 19:59:56 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id TAA05302;
	Wed, 8 Sep 1999 19:59:53 -0400 (EDT)
Date: Wed, 8 Sep 1999 19:59:53 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: Greg Badros <gjb@cs.washington.edu>
cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: window-class vs. WM_CLASS
In-Reply-To: <qrrd7vuc93d.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9909081953240.4539-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 7 Sep 1999, Greg Badros wrote:

> Stephen,
> 
> Sorry I'm slow responding to this...

No problem, I've been busy too.
 
> What does:
> 
> (X-property-get (select-window-interactively) "WM_CLASS")
> 
> report?

It produces ("magic

I'm not sure what's with that unmatched parenthesis - perhaps somthing odd
in scwmrepl?  This is with 0.99.2pre8, compiled this morning.

; scwmrepl
scwm> (window-class (get-window))
"NoClass"
scwm> (X-property-get (select-window-interactively) "WM_CLASS")
("magic
scwm>  
 
> Looks like window-class and window-resource don't get updated if an app
> changes its hints -- easy fix if the WM_CLASS is reported properly using 
> X-property-get.

Should the app be setting hints earlier in its creation of the window,
perhaps before it gets mapped?

> > Once that works, it occurs to me to try to learn how to make somthing like
> > a "never-resize-opaquely" window style.  What is the difference between
> > window hints and window styles as in add-window-hint-option and
> > add-window-style-option?
> 
> Main difference is when they get applied.  Window hints take effect
> earlier than do styles.  Its unfortunately a bit implementationy to
> explain exactly.

So, would it be more appropriate to make this a hint or a style?  It just
has to keep a flag around for use by new -opaquely? functions, I guess.

Steve

-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  8 20:44:56 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA02587
	for scwm-discuss-outgoing; Wed, 8 Sep 1999 20:44:56 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA02584
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 8 Sep 1999 20:44:51 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA03322; Wed, 8 Sep 1999 17:44:40 -0700 (PDT)
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: window-class vs. WM_CLASS
References: <Pine.GHP.4.10.9909081953240.4539-100000@rukbat.cs.unc.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Sep 1999 17:44:39 -0700
In-Reply-To: Stephen Tell's message of "Wed, 8 Sep 1999 19:59:53 -0400 (EDT)"
Message-ID: <qrrzoywap6w.fsf@elwha.cs.washington.edu>
Lines: 72
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> On 7 Sep 1999, Greg Badros wrote:
> 
> > Stephen,
> > 
> > Sorry I'm slow responding to this...
> 
> No problem, I've been busy too.
>  
> > What does:
> > 
> > (X-property-get (select-window-interactively) "WM_CLASS")
> > 
> > report?
> 
> It produces ("magic
> 
> I'm not sure what's with that unmatched parenthesis - perhaps somthing odd
> in scwmrepl?  This is with 0.99.2pre8, compiled this morning.

I noticed this but hadn't looked into it until now.  The WM_CLASS
property actually contains multiple null-terminated strings, e.g.,

emacs\0Emacs\0
\-----^------/
   length 12

So I've changed it so that Scwm will return:

(("emacs" "Emacs") "STRING" 8)

Guile and scwmexec protocol just don't deal nicely w/ nulls embedded in strings.

> ; scwmrepl
> scwm> (window-class (get-window))
> "NoClass"
> scwm> (X-property-get (select-window-interactively) "WM_CLASS")
> ("magic
> scwm>  
>  
> > Looks like window-class and window-resource don't get updated if an app
> > changes its hints -- easy fix if the WM_CLASS is reported properly using 
> > X-property-get.
> 
> Should the app be setting hints earlier in its creation of the window,
> perhaps before it gets mapped?

Probably, but that doesn't mean we shouldn't get it right when it
happens later.  I've added window-class and window-resource as Scheme
procs accessing the WM_CLASS property, and renamed the old primitives to 
window-class-hint and window-resource-hint (they were reading the window 
hints structures, instead).  I've marked them depracated unless someone
can tell me why you might really want that information.

> > > Once that works, it occurs to me to try to learn how to make somthing like
> > > a "never-resize-opaquely" window style.  What is the difference between
> > > window hints and window styles as in add-window-hint-option and
> > > add-window-style-option?
> > 
> > Main difference is when they get applied.  Window hints take effect
> > earlier than do styles.  Its unfortunately a bit implementationy to
> > explain exactly.
> 
> So, would it be more appropriate to make this a hint or a style?  It just
> has to keep a flag around for use by new -opaquely? functions, I guess.

Either seems fine.  There may be a reason to prefer one over the other,
but I can't think of it.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  8 20:46:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA02600
	for scwm-discuss-outgoing; Wed, 8 Sep 1999 20:46:32 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA02597
	for <scwm-discuss@scwm.mit.edu>; Wed, 8 Sep 1999 20:46:29 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA03325; Wed, 8 Sep 1999 17:46:24 -0700 (PDT)
To: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Re: inconsistent naming
References: <Pine.LNX.4.10.9909060909350.16415-100000@marvin.ida.ing.tu-bs.de>
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Sep 1999 17:46:24 -0700
In-Reply-To: Dirk Herrmann's message of "Mon, 6 Sep 1999 09:24:35 +0200 (MEST)"
Message-ID: <qrryaegap3z.fsf@elwha.cs.washington.edu>
Lines: 36
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> On 3 Sep 1999, Greg Badros wrote:
> > Preferences?
> 
> Since you asked...
> 
> 
> *move-opaquely?* is my favorite because most 'schemey'.

I think I like this the best too.

> 
> *move-opaquely-predicate* *move-opaquely-pred* are second best because
> they come close to the '*some-function-proc*' naming scheme for
> procedures and thus would also be consistent.

*move-opaquely-pred* is #2 for me, then *move-opaquely-predicate*.

Other comments?

Greg


> 
> *move-opaquely-p*:  I don't understand why one could prefer this to the
> '?' notation?  Just to avoid a '?' character?  However, it is not schemey
> and also not consistent with other variables, but still better than:
> 
> *move-opaquely-proc*: This is my least favorite, since the predicate
> nature is completely hidden.
> 
> 
> These are my personal preferences.
> 
> Dirk

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  8 22:25:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA03371
	for scwm-discuss-outgoing; Wed, 8 Sep 1999 22:25:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA03368
	for <scwm-discuss@scwm.mit.edu>; Wed, 8 Sep 1999 22:25:47 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id TAA03447; Wed, 8 Sep 1999 19:25:44 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: scwm-0.99.2pre9 is available...
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Sep 1999 19:25:43 -0700
Message-ID: <qrrpuzsakig.fsf@elwha.cs.washington.edu>
Lines: 21
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I've just made new versions of Scwm available at:

ftp://upintheair.cs.washington.edu/pub/scwm/

hopefully the RPMs (x86 and source, maybe alpha before the end of this
evening) will work out of the box.  There's also standard .tar.gz source
archives for those who prefer it or those building on non-RPM platforms.

Please report any problems you have with these.  I'm hoping to make a
scwm-0.99.2 real release on Monday, September 13th.

I'll be away from my desk starting in a few hours until Sunday evening,
12-Sep-1999.  I don't think I'll be checking email at all (certainly not 
often), so don't expect immediate responses.  I'll be looking forward to 
catching up with any potential floods of email when I return in 4 days.
Be sure to send the mail to the list in case someone else can help you
with the difficulties you might have.

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep  8 23:44:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id XAA03600
	for scwm-discuss-outgoing; Wed, 8 Sep 1999 23:44:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from math.uwaterloo.ca (root@math.uwaterloo.ca [129.97.216.42])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id XAA03597
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 8 Sep 1999 23:44:39 -0400
Received: from thing-one.localdomain (cnts6p41.uwaterloo.ca [129.97.13.41])
	by math.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id XAA30907;
	Wed, 8 Sep 1999 23:44:35 -0400 (EDT)
From: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Received: (from jrm@localhost)
	by thing-one.localdomain (8.9.3/8.9.3) id XAA03145;
	Wed, 8 Sep 1999 23:44:54 -0400
Date: Wed, 8 Sep 1999 23:44:54 -0400
Message-Id: <199909090344.XAA03145@thing-one.localdomain>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrr7lm1ars6.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 08 Sep 1999 16:48:41 -0700)
Subject: Re: scwm-0.99.2 miscellanea
References: <199909080552.BAA10924@thing-one.localdomain> <qrr4sh5dgr0.fsf@elwha.cs.washington.edu> <199909082207.SAA27284@thing-one.localdomain> <qrr7lm1ars6.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg,

[rebuilding pre8-2 needed Cassowary & hence GTL present]
> What are the problems?  If you're still using a scwm package that has a
> onfigure.in that does not use the `cassowary-config' script, then that
> is likely the problem, and I fixed it late last night, though I can't
> remember if any of the packages on upintheair have it that way yet.
The `cassowary-config' script wasn't mentioned in pre8-2, but shows up
in 9-2, so that presumably is fixed.  However, my attempt to rebuild
pre9-2 fails as follows:

Making all in scwm
make[1]: Entering directory `/usr/src/redhat/BUILD/scwm-0.99.2pre9/scwm'
../scwm/scwm-snarf -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/X11R6/include -I/usr/include          -I/usr/include -I/usr/include  -g -O2 Grab.c > Grab.x \
|| { rm Grab.x; false }
/bin/sh: -c: line 2: syntax error: unexpected end of file
make[1]: *** [Grab.x] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/scwm-0.99.2pre9/scwm'
make: *** [all-recursive] Error 1
Bad exit status from /var/tmp/rpm-tmp.93902 (%build)


[regarding my suggestions for Scwm/Cassowary promotion]
> Sure... that sounds like fun.  I really could use some help with some of 
> the administrative stuff.  Maciej seems to have disappeared (come back,
> Maciej, please!) which leaves me coding, packaging, bug fixing, web
> administering, mail administering, etc., on top of my day job as a PhD
> student.  It's pretty crazy, so I'm very willing to accept help from
> folks willing to help with the promotion and administration of Scwm (as
> well as all the other stuff, but I'd say my comparative advantage is
> mostly in the coding and debugging for Scwm-- I imagine many of you
> readers could manage the web site at least as well [or poorly! :-) ] as
> I have been.
I don't dare get more involved with Scwm -- though I would love to --
because of my own studies, spouse, three young children, and so on.
The thing that was really bothering me was the fact that Scwm is not
better promoted, so that was where I was making suggestions.  Being
very slightly on the stubborn side, I might continue a bit on that
line, and try to come up with something you can at least use as a
starting point for cut and paste.  But it is starting to sound as
though the real reason Scwm is not better promoted is that you and
Maciej don't want to be even more overwhelmed.  After the rsn release,
perhaps a major topic of this list should be organizing things so you
get more help.

John
-- 
John MacPhail                   grad student at U.Waterloo
jrmacphail@math.uwaterloo.ca          sneaker net  MC5136A
-----------------------------------------------------------

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep  9 00:00:37 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA03681
	for scwm-discuss-outgoing; Thu, 9 Sep 1999 00:00:37 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA03678
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 9 Sep 1999 00:00:31 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA04012; Wed, 8 Sep 1999 21:00:27 -0700 (PDT)
To: John Revan MacPhail <jrmacpha@math.uwaterloo.ca>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2 miscellanea
References: <199909080552.BAA10924@thing-one.localdomain> <qrr4sh5dgr0.fsf@elwha.cs.washington.edu> <199909082207.SAA27284@thing-one.localdomain> <qrr7lm1ars6.fsf@elwha.cs.washington.edu> <199909090344.XAA03145@thing-one.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Sep 1999 21:00:26 -0700
In-Reply-To: John Revan MacPhail's message of "Wed, 8 Sep 1999 23:44:54 -0400"
Message-ID: <qrriu5kag4l.fsf@elwha.cs.washington.edu>
Lines: 59
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Revan MacPhail <jrmacpha@math.uwaterloo.ca> writes:

> Greg,
> 
> [rebuilding pre8-2 needed Cassowary & hence GTL present]
> > What are the problems?  If you're still using a scwm package that has a
> > onfigure.in that does not use the `cassowary-config' script, then that
> > is likely the problem, and I fixed it late last night, though I can't
> > remember if any of the packages on upintheair have it that way yet.
> The `cassowary-config' script wasn't mentioned in pre8-2, but shows up
> in 9-2, so that presumably is fixed.  However, my attempt to rebuild
> pre9-2 fails as follows:
> 
> Making all in scwm
> make[1]: Entering directory `/usr/src/redhat/BUILD/scwm-0.99.2pre9/scwm'
> ../scwm/scwm-snarf -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/X11R6/include -I/usr/include          -I/usr/include -I/usr/include  -g -O2 Grab.c > Grab.x \
> || { rm Grab.x; false }
> /bin/sh: -c: line 2: syntax error: unexpected end of file
> make[1]: *** [Grab.x] Error 2
> make[1]: Leaving directory `/usr/src/redhat/BUILD/scwm-0.99.2pre9/scwm'
> make: *** [all-recursive] Error 1
> Bad exit status from /var/tmp/rpm-tmp.93902 (%build)

Does it work any better/differently if you add a trailing semicolon to
that line in Makefile.am? e.g.,

%.x: %.c
	$(top_srcdir)/scwm/scwm-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ \
	|| { rm $@; false; }
                         ^ added here and below

%.x: %.cc
	CC=$(CXX) \
	$(top_srcdir)/scwm/scwm-snarf -DGUILE_CPLUSPLUS_SNARF $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ \
	|| { rm $@; false; }
                         ^ added here and above

> I don't dare get more involved with Scwm -- though I would love to --
> because of my own studies, spouse, three young children, and so on.
> The thing that was really bothering me was the fact that Scwm is not
> better promoted, so that was where I was making suggestions.  Being
> very slightly on the stubborn side, I might continue a bit on that
> line, and try to come up with something you can at least use as a
> starting point for cut and paste.  But it is starting to sound as
> though the real reason Scwm is not better promoted is that you and
> Maciej don't want to be even more overwhelmed.  After the rsn release,
> perhaps a major topic of this list should be organizing things so you
> get more help.

That's definitely part of it.  The scwm-discuss list has a lot of really 
talented folks on it, and I'm very grateful for that.  A smaller
publicity range definitely increases the signal-to-noise ratio (mostly
w.r.t. already-answer questions) on this list.  I'm excited about
getting more users, and we're almost ready for that step.

And we'll definitely need more help!

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep  9 00:57:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA03950
	for scwm-discuss-outgoing; Thu, 9 Sep 1999 00:57:08 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA03947
	for <scwm-discuss@scwm.mit.edu>; Thu, 9 Sep 1999 00:56:59 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA04077; Wed, 8 Sep 1999 21:56:55 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: No alpha RPMs, use the GTL-based RPMs
From: Greg Badros <gjb@cs.washington.edu>
Date: 08 Sep 1999 21:56:55 -0700
Message-ID: <qrrg10oadig.fsf@elwha.cs.washington.edu>
Lines: 11
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Well, the alpha archictecture RPMs are not done building and I've gotta
run.

Also, cassowary's dependence on GTL is not removed, so don't bother
trying th -nofd versions of the cassowary RPM, and you will need the GTL.

I've also gotten to pre10 before leaving.

Enjoy! (I hope!)

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep  9 07:47:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA06639
	for scwm-discuss-outgoing; Thu, 9 Sep 1999 07:47:13 -0400
Received: from marvin.ida.ing.tu-bs.de (dirk@marvin.ida.ing.tu-bs.de [134.169.132.60])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA06636
	for <scwm-discuss@scwm.mit.edu>; Thu, 9 Sep 1999 07:47:06 -0400
Received: from localhost (dirk@localhost)
	by marvin.ida.ing.tu-bs.de (8.9.3/8.9.3) with ESMTP id NAA07361;
	Thu, 9 Sep 1999 13:46:36 +0200
X-Authentication-Warning: marvin.ida.ing.tu-bs.de: dirk owned process doing -bs
Date: Thu, 9 Sep 1999 13:46:36 +0200 (MEST)
From: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
To: Greg Badros <gjb@cs.washington.edu>
cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: quote undefined
Message-ID: <Pine.LNX.4.10.9909091341140.13028-100000@marvin.ida.ing.tu-bs.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

I get the 'quote undefined' message with the pre10 release of scwm and my
version of guile, which was compiled from CVS on September, 2nd.

This error occurs when doing (use-scwm-modules gnome-hints) and then later
on at several other places, but gnome-hints is the first module that is
loaded in my .scwmrc.

The pre6 release did not show this behaviour.

Best regards,
Dirk Herrmann


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep  9 09:10:20 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA06785
	for scwm-discuss-outgoing; Thu, 9 Sep 1999 09:10:20 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA06782
	for <scwm-discuss@scwm.mit.edu>; Thu, 9 Sep 1999 09:10:13 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id PAA04038
	for <scwm-discuss@scwm.mit.edu>; Thu, 9 Sep 1999 15:10:09 +0200 (MET DST)
Date: Thu, 9 Sep 1999 15:10:09 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@scwm.mit.edu
Subject: scwm-0.99.2pre10 : show-window-list-menu-with-geometry
Message-ID: <19990909151009.A15186@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

I have a problem with show-window-list-menu-with-geometry : when I do
I get an error :


scwm> (show-window-list-menu-with-geometry)

Backtrace:
0* [show-window-list-menu-with-geometry]
1  [show-window-list-menu #:show-geometry #t]
2  [popup-menu #<menu #<menuitem "	Window list">> #:show-geometry]

/udd/canon/share/scwm/modules/app/scwm/winlist.scm:232:3: In procedure popup-menu in expression (popup-menu (apply make-window-list-menu rest) warp-to-first):
/udd/canon/share/scwm/modules/app/scwm/winlist.scm:232:3: Wrong type argument in position 2: #:show-geometry
ERROR: In procedure apply:
ERROR: Wrong type argument in position 1: 1


and I can't bind neither show-window-list-menu-with-geometry nor
show-window-list-menu to a key.

-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep  9 10:19:25 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA06935
	for scwm-discuss-outgoing; Thu, 9 Sep 1999 10:19:25 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA06932
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 9 Sep 1999 10:19:19 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id QAA04561
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 9 Sep 1999 16:19:16 +0200 (MET DST)
Date: Thu, 9 Sep 1999 16:19:15 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2pre10 : show-window-list-menu-with-geometry
Message-ID: <19990909161915.A15840@youkaidi.irisa.fr>
References: <19990909151009.A15186@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.7us
In-Reply-To: <19990909151009.A15186@youkaidi.irisa.fr>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon écrivait :
> I have a problem with show-window-list-menu-with-geometry : when I do
> I get an error :

Oups ! Sorry, I found the error : I had a function :

(define (show-window-list-menu-with-geometry)
  (show-window-list-menu #:show-geometry #t) )

which I had to change into :

(define (show-window-list-menu-with-geometry)
  (show-window-list-menu #t #:show-geometry #t) )


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep  9 11:47:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA07096
	for scwm-discuss-outgoing; Thu, 9 Sep 1999 11:47:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from cr610941-a.rct1.bc.wave.home.com (cr610941-a.rct1.bc.wave.home.com [24.113.76.219])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA07093
	for <scwm-discuss@scwm.mit.edu>; Thu, 9 Sep 1999 11:47:38 -0400
Received: from root by cr610941-a.rct1.bc.wave.home.com with local (Exim 3.03 #1 (Debian))
	id 11P6Q5-0007RE-00; Thu, 09 Sep 1999 08:47:29 -0700
X-Uptime:   8:47am  up 2 days, 16:37,  3 users,  load average: 0.00, 0.02, 0.00
X-OS: Linux cr610941-a 2.2.11 #2 Mon Sep 6 15:40:58 PDT 1999 i586 unknown
X-Homepage: http://www.sfu.ca/~stephent
To: scwm-discuss@scwm.mit.edu
Subject: wrong mailing list address
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: multipart/mixed;
 boundary="Multipart_Thu_Sep__9_08:47:29_1999-1"
Content-Transfer-Encoding: 7bit
From: Stephen Tse <stephentse@home.com>
Date: 09 Sep 1999 08:47:29 -0700
Message-ID: <87g10ogk8e.fsf@cr610941-a.rct1.bc.wave.home.com>
Lines: 61
X-Mailer: Gnus v5.6.45/XEmacs 21.2 - "Shinjuku"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

--Multipart_Thu_Sep__9_08:47:29_1999-1
Content-Type: text/plain; charset=US-ASCII




It seems that the mailing address is not updated in the confirmation
mail. Shouldn't it be

scwm-discuss@SCWM.MIT.EDU instead of 
scwm-discuss@serveuse.mit.edu?


It delayed me subscribing this mailing list for a week, and I finally
realized that and sent the confirmation to right address. Also,
http://scwm.mit.edu/mail-archives/ is not updated too.







--Multipart_Thu_Sep__9_08:47:29_1999-1
Content-Type: message/rfc822

Date: Mon, 6 Sep 1999 22:39:57 -0400
Message-Id: <199909070239.WAA23870@SCWM.MIT.EDU>
To: stephentse@home.com
From: majordomo@serveuse.mit.edu
Subject: Confirmation for subscribe scwm-discuss
Reply-To: majordomo@serveuse.mit.edu

--

Someone (possibly you) has requested that your email address be added
to or deleted from the mailing list "scwm-discuss@serveuse.mit.edu".

If you really want this action to be taken, please send the following
commands (exactly as shown) back to "majordomo@serveuse.mit.edu":

	auth d761f211 subscribe scwm-discuss stephentse@home.com

If you do not want this action to be taken, simply ignore this message
and the request will be disregarded.

If your mailer will not allow you to send the entire command as a single
line, you may split it using backslashes, like so:

        auth d761f211 subscribe scwm-discuss \
        stephentse@home.com

If you have any questions about the policy of the list owner, please
contact "scwm-discuss-approval@serveuse.mit.edu".

Thanks!

majordomo@serveuse.mit.edu


--Multipart_Thu_Sep__9_08:47:29_1999-1--

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep  9 14:53:55 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA07517
	for scwm-discuss-outgoing; Thu, 9 Sep 1999 14:53:55 -0400
Received: from vh213601.truman.edu ([150.243.160.32])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA07514
	for <scwm-discuss@scwm.mit.edu>; Thu, 9 Sep 1999 14:53:50 -0400
Received: (from jay@localhost)
	by vh213601.truman.edu (8.9.3/8.9.3) id NAA10843;
	Thu, 9 Sep 1999 13:50:37 -0500
Date: Thu, 9 Sep 1999 13:50:37 -0500
Message-Id: <199909091850.NAA10843@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
From: Jay Belanger <jay@vh213601.truman.edu>
To: scwm-discuss@scwm.mit.edu
Subject: SCWM 0.99.2pre10 dies ....
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I went and got the latest scwm rpm from upintheair, but it refuses to
start.  I tried it with my tried and true scwmrc, I tried it with the
system scwmrc, but in neither case will it start.  I tried the
prebuilt binaries, I tried compiling it myself, to no avail.  What
happens is that my background will start, with a moonclock I keep in a
corner of my desk, and the lambda will appear and rotate.  Suddenly,
the lambda and the clock disappear, and only my background and the x
cursor remain.
Pre9 won't start, either.  Here are my error messages (using
gjb.scwmrc), if anyone can help.

Jay

XFree86 Version 3.3.3.1 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: January 4 1999
	If the server is older than 6-12 months, or if your card is newer
	than the above date, look for a newer version before reporting
	problems.  (see http://www.XFree86.Org/FAQ)
Operating System: Linux 2.2.5-15smp i686 [ELF] 
Configured drivers:
  Mach64: accelerated server for ATI Mach64 graphics adaptors (Patchlevel 0)
(using VT number 7)


XF86Config: /usr/X11R6/lib/X11/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: rules: "xfree86"
(**) XKB: model: "pc101"
(**) XKB: layout: "us"
(**) Mouse: type: PS/2, device: /dev/mouse, buttons: 3
(**) Mouse: 3 button emulation (timeout: 50ms)
(**) Mach64: Graphics device ID: "Primary Card"
(**) Mach64: Monitor ID: "Primary Monitor"
Warning: The directory "/usr/X11R6/lib/X11/fonts/local" does not exist.
         Entry deleted from font path.
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc:unscaled,/usr/X11R6/lib/X11/fonts/75dpi:unscaled,/usr/X11R6/lib/X11/fonts/100dpi:unscaled,/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/Speedo,/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/100dpi"
(--) Mach64: PCI: Mach64 RagePro rev 92, Aperture @ 0xf4000000, Registers @ 0xf5eff000, Block I/O @ 0x7800
(--) Mach64: PCI (92) and CONFIG_CHIP_ID (124) don't agree on ChipRev,
	using PCI value
(--) Mach64: Card type: PCI
(--) Mach64: Memory type: SGRAM (5)
(--) Mach64: Clock type: Internal
(--) Mach64: Maximum allowed dot-clock: 230.000 MHz
(**) Mach64: Mode "1280x1024": mode clock = 110.000
(--) Mach64: Virtual resolution: 1280x1024
(--) Mach64: Video RAM: 8192k
(--) Mach64: Using hardware cursor
(--) Mach64: Using 16 MB aperture @ 0xf4000000
(--) Mach64: Using 4 KB register aperture @ 0xf5eff000
(--) Mach64: Ramdac is Internal
(--) Mach64: Ramdac speed: 230 MHz
(**) Mach64: Color weight: 565
(--) Mach64: Pixmap cache: 2 256x256 slots, 8 128x128 slots, 32 64x64 slots
(--) Mach64: Font cache: 16 fonts
[Scwm][init_modifiers]:  Doing 7 XGrabKey calls for window bindings when ignoring dubious modifiers
ERROR: Unbound variable: quote
ERROR: Unbound variable: quote
ERROR: Unbound variable: quote
ERROR: Unbound variable: quote
ERROR: Unbound variable: quote
ERROR: Unbound variable: quote
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_7'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_9'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_1'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_3'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_8'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_6'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_2'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_4'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_5'
Gdk-ERROR **: BadWindow (invalid Window parameter)
  serial 4006 error_code 3 request_code 10 minor_code 0
X connection to :0.0 broken (explicit kill or server shutdown).
Gdk-ERROR **: X connection to :0.0 broken (explicit kill or server shutdown).
Starting reading scwm modules
Error loading module: (app scwm tile)
Error loading module: (app scwm esdsound)
Error loading module: (app scwm background)
Error loading module: (app scwm quote)
Error loading module: (app scwm preferences)
Error loading module: (app scwm animated-iconify)
Done reading modules
 *** Reading `scwmrc'...
Scwm 0.99.2pre10
Thu Sep  9 00:02:13 EDT 1999 -- $Revision: 1.2429 $
With Cassowary Constraint Solver
Display Size: (1280 1024)
Desk Size: (3 3)
Viewport Position: (0 0)
Current Desk: 0
Before setting image-load-path
After setting image-load-path
Before menu-window-ops
xlock modes not found
before enable-constraint-solver *** `scwmrc' processed.

Backtrace:
0* [add-right-button #<face 135916336> #f ...

/home/jay/.scwmrc:821:1: While evaluating arguments to add-right-button in expression (add-right-button iconify-button-face #f ...):
/home/jay/.scwmrc:821:1: Unbound variable: animated-iconify
ERROR: In procedure apply:
ERROR: Wrong type argument in position 1: 1

Backtrace:
0* [bind-mouse all "H-1" ... ...

/home/jay/.scwmrc:1323:1: While evaluating arguments to bind-mouse in expression (bind-mouse (quote all) "H-1" ...):
/home/jay/.scwmrc:1323:1: Unbound variable: select-window-add-selection
ERROR: In procedure apply:
ERROR: Wrong type argument in position 1: 1

Backtrace:
0* [bind-mouse all "H-S-1" ... ...

/home/jay/.scwmrc:1324:1: While evaluating arguments to bind-mouse in expression (bind-mouse (quote all) "H-S-1" ...):
/home/jay/.scwmrc:1324:1: Unbound variable: select-window-add-selection
ERROR: In procedure apply:
ERROR: Wrong type argument in position 1: 1

Backtrace:
0* [bind-mouse all "H-A-1" ... ...

/home/jay/.scwmrc:1325:1: While evaluating arguments to bind-mouse in expression (bind-mouse (quote all) "H-A-1" ...):
/home/jay/.scwmrc:1325:1: Unbound variable: select-window-add-selection
ERROR: In procedure apply:
ERROR: Wrong type argument in position 1: 1

Backtrace:
0* [bind-mouse title "C-1" ... ...

/home/jay/.scwmrc:1327:1: While evaluating arguments to bind-mouse in expression (bind-mouse (quote title) "C-1" ...):
/home/jay/.scwmrc:1327:1: Unbound variable: select-window-add-selection
ERROR: In procedure apply:
ERROR: Wrong type argument in position 1: 1

Backtrace:
0* [bind-key all "C-S-Down" ...

/home/jay/.scwmrc:1434:1: While evaluating arguments to bind-key in expression (bind-key (quote all) "C-S-Down" ...):
/home/jay/.scwmrc:1434:1: Unbound variable: animated-iconify
ERROR: In procedure apply:
ERROR: Wrong type argument in position 1: 1

Backtrace:
0* [bind-key all "H-q" ...

/home/jay/.scwmrc:1709:1: While evaluating arguments to bind-key in expression (bind-key (quote all) "H-q" ...):
/home/jay/.scwmrc:1709:1: Unbound variable: quote-key-event
ERROR: In procedure apply:
ERROR: Wrong type argument in position 1: 1

Backtrace:
0* [bind-key all "H-m" ...

/home/jay/.scwmrc:1710:1: While evaluating arguments to bind-key in expression (bind-key (quote all) "H-m" ...):
/home/jay/.scwmrc:1710:1: Unbound variable: quote-mouse-event
ERROR: In procedure apply:
ERROR: Wrong type argument in position 1: 1

Backtrace:
0* (load-preferences)

/home/jay/.scwmrc:1770:1: In expression (load-preferences):
/home/jay/.scwmrc:1770:1: Unbound variable: load-preferences
ERROR: In procedure apply:
ERROR: Wrong type argument in position 1: 1

Backtrace:
0* (set-background-image! scwm-logo (quote tiled))

/home/jay/.scwmrc:1779:1: In expression (set-background-image! scwm-logo (quote tiled)):
/home/jay/.scwmrc:1779:1: Unbound variable: set-background-image!
ERROR: In procedure apply:
ERROR: Wrong type argument in position 1: 1
xinit:  connection to X server lost.

waiting for X server to shut down mach64ProgramClkMach64CT: Warning: Q < 10.66666667



From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep  9 15:14:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA07612
	for scwm-discuss-outgoing; Thu, 9 Sep 1999 15:14:32 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sanjuan.cs.washington.edu (sanjuan.cs.washington.edu [128.95.8.118])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA07609
	for <scwm-discuss@scwm.mit.edu>; Thu, 9 Sep 1999 15:14:27 -0400
Received: from localhost (jwnichls@localhost) by sanjuan.cs.washington.edu (8.8.5+CS/7.2ws+) with SMTP id MAA08752; Thu, 9 Sep 1999 12:14:16 -0700 (PDT)
Date: Thu, 9 Sep 1999 12:14:15 -0700 (PDT)
From: Jeffrey Nichols <jwnichls@cs.washington.edu>
To: Jay Belanger <jay@vh213601.truman.edu>
cc: scwm-discuss@scwm.mit.edu
Subject: Re: SCWM 0.99.2pre10 dies ....
In-Reply-To: <199909091850.NAA10843@vh213601.truman.edu>
Message-ID: <Pine.OSF.4.02A.9909091210410.6822-100000@sanjuan.cs.washington.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


What happens when you run "scwm -f /dev/null"??
And what version of guile are you using?
		
		-Jeff

> I went and got the latest scwm rpm from upintheair, but it refuses to
> start.  I tried it with my tried and true scwmrc, I tried it with the
> system scwmrc, but in neither case will it start.  I tried the
> prebuilt binaries, I tried compiling it myself, to no avail.  What
> happens is that my background will start, with a moonclock I keep in a
> corner of my desk, and the lambda will appear and rotate.  Suddenly,
> the lambda and the clock disappear, and only my background and the x
> cursor remain.
> Pre9 won't start, either.  Here are my error messages (using
> gjb.scwmrc), if anyone can help.
> 
> Jay
> 
> XFree86 Version 3.3.3.1 / X Window System
> (protocol Version 11, revision 0, vendor release 6300)
> Release Date: January 4 1999
> 	If the server is older than 6-12 months, or if your card is newer
> 	than the above date, look for a newer version before reporting
> 	problems.  (see http://www.XFree86.Org/FAQ)
> Operating System: Linux 2.2.5-15smp i686 [ELF] 
> Configured drivers:
>   Mach64: accelerated server for ATI Mach64 graphics adaptors (Patchlevel 0)
> (using VT number 7)
> 
> 
> XF86Config: /usr/X11R6/lib/X11/XF86Config
> (**) stands for supplied, (--) stands for probed/default values
> (**) XKB: rules: "xfree86"
> (**) XKB: model: "pc101"
> (**) XKB: layout: "us"
> (**) Mouse: type: PS/2, device: /dev/mouse, buttons: 3
> (**) Mouse: 3 button emulation (timeout: 50ms)
> (**) Mach64: Graphics device ID: "Primary Card"
> (**) Mach64: Monitor ID: "Primary Monitor"
> Warning: The directory "/usr/X11R6/lib/X11/fonts/local" does not exist.
>          Entry deleted from font path.
> (**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc:unscaled,/usr/X11R6/lib/X11/fonts/75dpi:unscaled,/usr/X11R6/lib/X11/fonts/100dpi:unscaled,/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/Speedo,/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/100dpi"
> (--) Mach64: PCI: Mach64 RagePro rev 92, Aperture @ 0xf4000000, Registers @ 0xf5eff000, Block I/O @ 0x7800
> (--) Mach64: PCI (92) and CONFIG_CHIP_ID (124) don't agree on ChipRev,
> 	using PCI value
> (--) Mach64: Card type: PCI
> (--) Mach64: Memory type: SGRAM (5)
> (--) Mach64: Clock type: Internal
> (--) Mach64: Maximum allowed dot-clock: 230.000 MHz
> (**) Mach64: Mode "1280x1024": mode clock = 110.000
> (--) Mach64: Virtual resolution: 1280x1024
> (--) Mach64: Video RAM: 8192k
> (--) Mach64: Using hardware cursor
> (--) Mach64: Using 16 MB aperture @ 0xf4000000
> (--) Mach64: Using 4 KB register aperture @ 0xf5eff000
> (--) Mach64: Ramdac is Internal
> (--) Mach64: Ramdac speed: 230 MHz
> (**) Mach64: Color weight: 565
> (--) Mach64: Pixmap cache: 2 256x256 slots, 8 128x128 slots, 32 64x64 slots
> (--) Mach64: Font cache: 16 fonts
> [Scwm][init_modifiers]:  Doing 7 XGrabKey calls for window bindings when ignoring dubious modifiers
> ERROR: Unbound variable: quote
> ERROR: Unbound variable: quote
> ERROR: Unbound variable: quote
> ERROR: Unbound variable: quote
> ERROR: Unbound variable: quote
> ERROR: Unbound variable: quote
> [Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_7'
> [Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_9'
> [Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_1'
> [Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_3'
> [Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_8'
> [Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_6'
> [Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_2'
> [Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_4'
> [Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_5'
> Gdk-ERROR **: BadWindow (invalid Window parameter)
>   serial 4006 error_code 3 request_code 10 minor_code 0
> X connection to :0.0 broken (explicit kill or server shutdown).
> Gdk-ERROR **: X connection to :0.0 broken (explicit kill or server shutdown).
> Starting reading scwm modules
> Error loading module: (app scwm tile)
> Error loading module: (app scwm esdsound)
> Error loading module: (app scwm background)
> Error loading module: (app scwm quote)
> Error loading module: (app scwm preferences)
> Error loading module: (app scwm animated-iconify)
> Done reading modules
>  *** Reading `scwmrc'...
> Scwm 0.99.2pre10
> Thu Sep  9 00:02:13 EDT 1999 -- $Revision: 1.2429 $
> With Cassowary Constraint Solver
> Display Size: (1280 1024)
> Desk Size: (3 3)
> Viewport Position: (0 0)
> Current Desk: 0
> Before setting image-load-path
> After setting image-load-path
> Before menu-window-ops
> xlock modes not found
> before enable-constraint-solver *** `scwmrc' processed.
> 
> Backtrace:
> 0* [add-right-button #<face 135916336> #f ...
> 
> /home/jay/.scwmrc:821:1: While evaluating arguments to add-right-button in expression (add-right-button iconify-button-face #f ...):
> /home/jay/.scwmrc:821:1: Unbound variable: animated-iconify
> ERROR: In procedure apply:
> ERROR: Wrong type argument in position 1: 1
> 
> Backtrace:
> 0* [bind-mouse all "H-1" ... ...
> 
> /home/jay/.scwmrc:1323:1: While evaluating arguments to bind-mouse in expression (bind-mouse (quote all) "H-1" ...):
> /home/jay/.scwmrc:1323:1: Unbound variable: select-window-add-selection
> ERROR: In procedure apply:
> ERROR: Wrong type argument in position 1: 1
> 
> Backtrace:
> 0* [bind-mouse all "H-S-1" ... ...
> 
> /home/jay/.scwmrc:1324:1: While evaluating arguments to bind-mouse in expression (bind-mouse (quote all) "H-S-1" ...):
> /home/jay/.scwmrc:1324:1: Unbound variable: select-window-add-selection
> ERROR: In procedure apply:
> ERROR: Wrong type argument in position 1: 1
> 
> Backtrace:
> 0* [bind-mouse all "H-A-1" ... ...
> 
> /home/jay/.scwmrc:1325:1: While evaluating arguments to bind-mouse in expression (bind-mouse (quote all) "H-A-1" ...):
> /home/jay/.scwmrc:1325:1: Unbound variable: select-window-add-selection
> ERROR: In procedure apply:
> ERROR: Wrong type argument in position 1: 1
> 
> Backtrace:
> 0* [bind-mouse title "C-1" ... ...
> 
> /home/jay/.scwmrc:1327:1: While evaluating arguments to bind-mouse in expression (bind-mouse (quote title) "C-1" ...):
> /home/jay/.scwmrc:1327:1: Unbound variable: select-window-add-selection
> ERROR: In procedure apply:
> ERROR: Wrong type argument in position 1: 1
> 
> Backtrace:
> 0* [bind-key all "C-S-Down" ...
> 
> /home/jay/.scwmrc:1434:1: While evaluating arguments to bind-key in expression (bind-key (quote all) "C-S-Down" ...):
> /home/jay/.scwmrc:1434:1: Unbound variable: animated-iconify
> ERROR: In procedure apply:
> ERROR: Wrong type argument in position 1: 1
> 
> Backtrace:
> 0* [bind-key all "H-q" ...
> 
> /home/jay/.scwmrc:1709:1: While evaluating arguments to bind-key in expression (bind-key (quote all) "H-q" ...):
> /home/jay/.scwmrc:1709:1: Unbound variable: quote-key-event
> ERROR: In procedure apply:
> ERROR: Wrong type argument in position 1: 1
> 
> Backtrace:
> 0* [bind-key all "H-m" ...
> 
> /home/jay/.scwmrc:1710:1: While evaluating arguments to bind-key in expression (bind-key (quote all) "H-m" ...):
> /home/jay/.scwmrc:1710:1: Unbound variable: quote-mouse-event
> ERROR: In procedure apply:
> ERROR: Wrong type argument in position 1: 1
> 
> Backtrace:
> 0* (load-preferences)
> 
> /home/jay/.scwmrc:1770:1: In expression (load-preferences):
> /home/jay/.scwmrc:1770:1: Unbound variable: load-preferences
> ERROR: In procedure apply:
> ERROR: Wrong type argument in position 1: 1
> 
> Backtrace:
> 0* (set-background-image! scwm-logo (quote tiled))
> 
> /home/jay/.scwmrc:1779:1: In expression (set-background-image! scwm-logo (quote tiled)):
> /home/jay/.scwmrc:1779:1: Unbound variable: set-background-image!
> ERROR: In procedure apply:
> ERROR: Wrong type argument in position 1: 1
> xinit:  connection to X server lost.
> 
> waiting for X server to shut down mach64ProgramClkMach64CT: Warning: Q < 10.66666667
> 
> 
> 

---
Jeff W. Nichols   "There are over forty million lines of code in Windows,
UW CSE                     and I love every one of them."
jwnichls@cs                         - Jean-Louis Gassee CEO, Be Inc.


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep  9 16:21:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA07846
	for scwm-discuss-outgoing; Thu, 9 Sep 1999 16:21:27 -0400
Received: from vh213601.truman.edu ([150.243.160.32])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA07843
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 9 Sep 1999 16:21:23 -0400
Received: (from jay@localhost)
	by vh213601.truman.edu (8.9.3/8.9.3) id PAA23975;
	Thu, 9 Sep 1999 15:18:27 -0500
Date: Thu, 9 Sep 1999 15:18:27 -0500
Message-Id: <199909092018.PAA23975@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
From: Jay Belanger <jay@vh213601.truman.edu>
To: scwm-discuss@SCWM.MIT.EDU
In-reply-to: 
	<Pine.OSF.4.02A.9909091210410.6822-100000@sanjuan.cs.washington.edu>
	(message from Jeffrey Nichols on Thu, 9 Sep 1999 12:14:15 -0700 (PDT))
Subject: Re: SCWM 0.99.2pre10 dies ....
References:  <Pine.OSF.4.02A.9909091210410.6822-100000@sanjuan.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> What happens when you run "scwm -f /dev/null"??
> And what version of guile are you using?
> 		
> 		-Jeff

Well, when I run "scwm -f /dev/null", scwm will start.  I'm using
guile 1.3.3, the latest from upintheair.

Not willing to use another window manager (hey, I'm spoiled), I
checked out scwm from last Friday, labelled pre4.  Now everything is
working as it should.  Perhaps pre11 will work for me.

Jay

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep  9 17:04:03 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA08045
	for scwm-discuss-outgoing; Thu, 9 Sep 1999 17:04:03 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from relay8.Austria.EU.net (relay8.Austria.EU.net [193.154.160.146])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA08042
	for <scwm-discuss@scwm.mit.edu>; Thu, 9 Sep 1999 17:03:57 -0400
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.3/8.9.3) with UUCP id WAA05594
	for scwm-discuss@scwm.mit.edu; Thu, 9 Sep 1999 22:51:40 +0200 (MET DST)
Received: (qmail 8811 invoked by uid 115); 9 Sep 1999 17:36:25 -0000
To: scwm-discuss@scwm.mit.edu
Subject: Re: scwm-0.99.2pre8 : esd detection
References: <19990908100800.B15186@youkaidi.irisa.fr>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 09 Sep 1999 19:36:25 +0200
In-Reply-To: Hubert Canon's message of "Wed, 8 Sep 1999 10:08:00 +0200"
Message-ID: <ws1zc8j8bq.fsf@orcus.priv.at>
Lines: 28
User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


--=-=-=

Hi,

>>>>> On Wed, 8 Sep 1999 10:08:00 +0200
>>>>> Hubert Canon <Hubert.Canon@irisa.fr> said:

 Hubert> With ./configure --prefix=/udd/canon --enable-maintainer-mode
 Hubert> --with-gnu-ld --with-x --disable-esd --disable-esdtest
 Hubert> --disable-gtktest --disable-imlibtest --disable-imlib
 Hubert> --without-cassowary

 Hubert> I get this error :

 Hubert> Making all in esdsound
 Hubert> make[2]: Entering directory `/udd/canon/src/Progs/scwm-0.99.2pre8/modules/esdsound'
 Hubert> /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../scwm -I../../include  -I/usr/local/X11R5/include          -I/udd/canon/include  -I/udd/canon/include    -g -O2 -c sound.c

Nothing should be built in this directory, when esd support is
disabled. This looks like a bug in configure.in. This patch works for
me:


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline

Index: configure.in
===================================================================
RCS file: /usr/src/cvs/scwm/configure.in,v
retrieving revision 1.33
diff -u -u -r1.33 configure.in
--- configure.in	1999/09/08 08:10:37	1.33
+++ configure.in	1999/09/09 17:32:14
@@ -395,8 +395,8 @@
 	AC_MSG_RESULT(Not using ESD due to --disable-esd option)
 else
 	AM_PATH_ESD(0.2.7, HAVE_ESD=yes, HAVE_ESD=no)
-	AM_CONDITIONAL(HAVE_ESD, test "$HAVE_ESD" = yes)
 fi
+AM_CONDITIONAL(HAVE_ESD, test "$HAVE_ESD" = yes)
 
 AM_PATH_GTK(1.0.0, HAVE_GTK=yes, HAVE_GTK=no)
 

--=-=-=


        Robbe

-- 
Robert Bihlmeyer       reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>    <http://stud2.tuwien.ac.at/~e9426626/sig.html>

--=-=-=--

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 00:34:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA18556
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 00:34:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA18553
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Sep 1999 00:34:09 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA09434; Sun, 12 Sep 1999 21:34:03 -0700 (PDT)
To: Stephen Tse <stephentse@home.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: wrong mailing list address
References: <87g10ogk8e.fsf@cr610941-a.rct1.bc.wave.home.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 12 Sep 1999 21:34:03 -0700
In-Reply-To: Stephen Tse's message of "09 Sep 1999 08:47:29 -0700"
Message-ID: <qrrk8pv8m6c.fsf@elwha.cs.washington.edu>
Lines: 29
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tse <stephentse@home.com> writes:

> --Multipart_Thu_Sep__9_08:47:29_1999-1
> Content-Type: text/plain; charset=US-ASCII
> 
> 
> 
> 
> It seems that the mailing address is not updated in the confirmation
> mail. Shouldn't it be
> 
> scwm-discuss@SCWM.MIT.EDU instead of 
> scwm-discuss@serveuse.mit.edu?
> 
> 
> It delayed me subscribing this mailing list for a week, and I finally
> realized that and sent the confirmation to right address. 


Ok, I did a quick fix but haven't time to test it now.  Can you let me
know if it's better?

> Also, http://scwm.mit.edu/mail-archives/ is not updated too.

What needs to be fixed there?  I don't see a mention of the hostname...

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 01:11:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA18724
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 01:11:27 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA18721
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Sep 1999 01:11:22 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA09501; Sun, 12 Sep 1999 22:11:15 -0700 (PDT)
To: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Cc: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Re: quote undefined
References: <Pine.LNX.4.10.9909091341140.13028-100000@marvin.ida.ing.tu-bs.de>
From: Greg Badros <gjb@cs.washington.edu>
Date: 12 Sep 1999 22:11:15 -0700
In-Reply-To: Dirk Herrmann's message of "Thu, 9 Sep 1999 13:46:36 +0200 (MEST)"
Message-ID: <qrrbtb78kgc.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> I get the 'quote undefined' message with the pre10 release of scwm and my
> version of guile, which was compiled from CVS on September, 2nd.
> 
> This error occurs when doing (use-scwm-modules gnome-hints) and then later
> on at several other places, but gnome-hints is the first module that is
> loaded in my .scwmrc.
> 
> The pre6 release did not show this behaviour.

Yea... it's a small new feature in better documentation of primitives.
I'm not yet 100% sure why the `quote undefined' message shows up.  It's
because I'm evalling a quoted list in the new scwm_make_gsubr that gets
passed an argument list, e.g., "'(window flag)" where the ' in that
string is the quote that the error message is referred to.

I thought I was only seeing this with guile-1.3 and earlier, but now I'm 
confused... any more you can do to help shed light on this matter is
greatly appreciated.  (And any Guile folks reading who might recognize
this as a fixed bug in guile, I'd love to hear about that, for sure!)

Thanks,
Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 01:13:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA18764
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 01:13:57 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA18759
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Sep 1999 01:13:54 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA09504; Sun, 12 Sep 1999 22:13:48 -0700 (PDT)
To: Jay Belanger <jay@vh213601.truman.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: SCWM 0.99.2pre10 dies ....
References: <199909091850.NAA10843@vh213601.truman.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 12 Sep 1999 22:13:48 -0700
In-Reply-To: Jay Belanger's message of "Thu, 9 Sep 1999 13:50:37 -0500"
Message-ID: <qrraeqr8kc3.fsf@elwha.cs.washington.edu>
Lines: 17
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jay Belanger <jay@vh213601.truman.edu> writes:

<snip>

> ERROR: Unbound variable: quote

Yea, this is a bit of a mystery...  Dirk Hermann reported the same
problem, and I've seen it only on guile-1.3 (and thought it was just a
guile bug that I was going to largely ignore since it seemed fixed).

I'll try to get to this tomorrow.

Thanks for the bug report... any more poking you can do is appreciated.
(See my other message for more details about how things have changed to
result in this error message).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 02:13:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA18983
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 02:13:47 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from cr610941-a.rct1.bc.wave.home.com (cr610941-a.rct1.bc.wave.home.com [24.113.76.219])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA18980
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Sep 1999 02:13:41 -0400
Received: from root by cr610941-a.rct1.bc.wave.home.com with local (Exim 3.03 #1 (Debian))
	id 11QPMa-0002Hl-00; Sun, 12 Sep 1999 23:13:16 -0700
X-Uptime:  11:13pm  up 6 days,  7:02,  3 users,  load average: 0.11, 0.09, 0.09
X-OS: Linux cr610941-a 2.2.11 #2 Mon Sep 6 15:40:58 PDT 1999 i586 unknown
X-Homepage: http://www.sfu.ca/~stephent
To: Greg Badros <gjb@cs.washington.edu>
Cc: Stephen Tse <stephentse@home.com>, scwm-discuss@scwm.mit.edu
Subject: Re: wrong mailing list address
References: <87g10ogk8e.fsf@cr610941-a.rct1.bc.wave.home.com> <qrrk8pv8m6c.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Stephen Tse <stephent@sfu.ca>
Date: 12 Sep 1999 23:13:16 -0700
In-Reply-To: Greg Badros's message of "12 Sep 1999 21:34:03 -0700"
Message-ID: <87n1urmj9f.fsf@cr610941-a.rct1.bc.wave.home.com>
Lines: 39
X-Mailer: Gnus v5.6.45/XEmacs 21.2 - "Shinjuku"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Stephen Tse <stephentse@home.com> writes:
> 
> > --Multipart_Thu_Sep__9_08:47:29_1999-1
> > Content-Type: text/plain; charset=US-ASCII
> > 
> > 
> > 
> > 
> > It seems that the mailing address is not updated in the confirmation
> > mail. Shouldn't it be
> > 
> > scwm-discuss@SCWM.MIT.EDU instead of 
> > scwm-discuss@serveuse.mit.edu?
> > 
> > 
> > It delayed me subscribing this mailing list for a week, and I finally
> > realized that and sent the confirmation to right address. 
> 
> 
> Ok, I did a quick fix but haven't time to test it now.  Can you let me
> know if it's better?


I am reluctant to unsubscribe and re-subscribe myself to test it,
anyone?


> 
> > Also, http://scwm.mit.edu/mail-archives/ is not updated too.
> 
> What needs to be fixed there?  I don't see a mention of the hostname...


hostname??

There are no mails after July 17, 1999 in the web archives. Where are
the recent mails?

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 02:25:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA19050
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 02:25:19 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from cr610941-a.rct1.bc.wave.home.com (cr610941-a.rct1.bc.wave.home.com [24.113.76.219])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA19047
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Sep 1999 02:25:15 -0400
Received: from root by cr610941-a.rct1.bc.wave.home.com with local (Exim 3.03 #1 (Debian))
	id 11QPXp-0002IF-00; Sun, 12 Sep 1999 23:24:53 -0700
X-Uptime:  11:24pm  up 6 days,  7:14,  3 users,  load average: 0.10, 0.06, 0.06
X-OS: Linux cr610941-a 2.2.11 #2 Mon Sep 6 15:40:58 PDT 1999 i586 unknown
X-Homepage: http://www.sfu.ca/~stephent
To: scwm-discuss@scwm.mit.edu
Subject: scwm.el patch
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: multipart/mixed;
 boundary="Multipart_Sun_Sep_12_23:24:53_1999-1"
Content-Transfer-Encoding: 7bit
From: Stephen Tse <stephent@sfu.ca>
Date: 12 Sep 1999 23:24:53 -0700
Message-ID: <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com>
Lines: 69
X-Mailer: Gnus v5.6.45/XEmacs 21.2 - "Shinjuku"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

--Multipart_Sun_Sep_12_23:24:53_1999-1
Content-Type: text/plain; charset=US-ASCII



Hi there! I have made a patch to scwm.el for doing font-lock on guile
multi-line comment syntax #! COMMENTS !#.

http://www.sfu.ca/~stephent/wm/scwm.el.patch



--Multipart_Sun_Sep_12_23:24:53_1999-1
Content-Type: application/octet-stream; type=patch
Content-Disposition: attachment; filename="scwm.el.patch"
Content-Transfer-Encoding: 7bit

--- scwm-original.el	Wed Sep  8 19:01:30 1999
+++ scwm.el	Sat Sep 11 20:41:42 1999
@@ -33,6 +33,10 @@
 ;; Added font-lock support for XEmacs and Emacs19 compatibility.
 ;;	1998-06-19 Fri 09:28:19 EDT	sds
 ;;
+;; Added font-lock support of multi-line comment syntax #! COMMENTS !#,
+;;      by Stephen Tse <stephent@sfu.ca> (tse).
+;;      1999-09-08 Wed 19:32:32 PDT
+;;
 ;; This file is distributed under the GPL. See
 ;;	<URL:http://www.gnu.ai.mit.edu/copyleft/gpl.html>
 ;; for further details.
@@ -183,7 +187,16 @@
 Turning on Scwm mode calls the value of the variable `scwm-mode-hook',
 if that value is non-nil.
 If you are using Emacs 20.2 or earlier and want to use fontifications,
-you have to (require 'font-lock) first.  Sorry.")
+you have to (require 'font-lock) first.  Sorry."
+  ;; Modify scheme-mode-syntax-table in order to support multi-line comment
+  ;; syntax. Use comment style b because syntax a (default) is screwed by
+  ;; newline \n. (tse)
+  (cond ((boundp 'running-xemacs)
+	 (modify-syntax-entry ?# "_ 58")
+	 (modify-syntax-entry ?! "_ 67"))
+	(t
+	 (modify-syntax-entry ?# "_ 14b")
+	 (modify-syntax-entry ?! "_ 23b"))))
 
 (define-key scwm-mode-map [(control j)] 'scwm-eval-last)
 (define-key scwm-mode-map [(control c) (control s)] 'scwm-run)
@@ -487,8 +500,17 @@
 ;; fontifications
 ;; --------------
 (cond ((boundp 'running-xemacs)
+       ;; In order to support new multi-line comment syntax #! COMMENTS !#
+       ;; from guile, we cannot use font-lock-defaults of scheme-mode,
+       ;; defined in font-lock.el. Instead we copy it to here and remove
+       ;; (?! . "w") from it. (tse)
        (put 'scwm-mode 'font-lock-defaults
-            (get 'scheme-mode 'font-lock-defaults)))
+	    '(scheme-font-lock-keywords
+	      nil t
+	      ((?: . "w") (?- . "w") (?* . "w") (?+ . "w") (?. . "w") (?< . "w")
+	       (?> . "w") (?= . "w") (?? . "w") (?$ . "w") (?% . "w")
+	       (?_ . "w") (?& . "w") (?~ . "w") (?^ . "w") (?/ . "w"))
+	      beginning-of-defun)))
       ((and (string-lessp emacs-version "20.3")
             (boundp 'font-lock-defaults-alist))
        (unless (assq 'scwm-mode font-lock-defaults-alist)

--Multipart_Sun_Sep_12_23:24:53_1999-1--

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 03:11:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA19253
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 03:11:42 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA19250
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Sep 1999 03:11:36 -0400
Received: from freedomlog.com ([202.62.130.88])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id RAA23498
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Sep 1999 17:11:24 +1000
Message-ID: <37DCA4BC.41D1B17F@freedomlog.com>
Date: Mon, 13 Sep 1999 17:16:12 +1000
From: Ben <ben@freedomlog.com>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: build problems.
References: <199909091850.NAA10843@vh213601.truman.edu> <qrraeqr8kc3.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi guys,

I'm back again after an (awful) stint of using enlightenment, after I
couldn't get scwm to work the last couple of times.

This time I checkout out scwm from cvs and did an autoconf, ./configure
with the following error...

./configure: syntax error near unexpected token `AM_INIT_AUTOMAKE(scwm,'
./configure: ./configure: line 569: `AM_INIT_AUTOMAKE(scwm,
0.99.2pre10)'    

Using autoconf 2.13, automake 1.4a, RedHat 6.0. In general, I've tried a
lot of hacking with no success.

Also regarding guile, I downloaded 1.3a. Tried to apply the patch
included with scwm, but it didn't match. I tried to figure out what the
patch was trying to achieve and do similar, but I'm not confident. There
really should be a new patch made.

Chris.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 10:36:41 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA21729
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 10:36:41 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from savonarola.red-bean.com (savonarola.red-bean.com [208.245.165.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA21726
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 13 Sep 1999 10:36:31 -0400
Received: (from jimb@localhost)
	by savonarola.red-bean.com (8.8.7/8.8.7) id JAA28391;
	Mon, 13 Sep 1999 09:36:03 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: Jay Belanger <jay@vh213601.truman.edu>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: SCWM 0.99.2pre10 dies ....
References: <199909091850.NAA10843@vh213601.truman.edu> <qrraeqr8kc3.fsf@elwha.cs.washington.edu>
From: Jim Blandy <jimb@red-bean.com>
Date: 13 Sep 1999 09:36:03 -0500
In-Reply-To: Greg Badros's message of "12 Sep 1999 22:13:48 -0700"
Message-ID: <m3aeqqube4.fsf@savonarola.red-bean.com>
Lines: 36
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> Jay Belanger <jay@vh213601.truman.edu> writes:
> 
> <snip>
> 
> > ERROR: Unbound variable: quote
> 
> Yea, this is a bit of a mystery...  Dirk Hermann reported the same
> problem, and I've seen it only on guile-1.3 (and thought it was just a
> guile bug that I was going to largely ignore since it seemed fixed).
> 
> I'll try to get to this tomorrow.
> 
> Thanks for the bug report... any more poking you can do is appreciated.
> (See my other message for more details about how things have changed to
> result in this error message).

In your build tree, the file eval.x should contain lines like this:

	scm_make_synt ( s_quote ,   scm_makmmacro ,   scm_m_quote ) ;
	 scm_sym_quote  = scm_permanent_object ((((scm_cell *)((  scm_intern0 (  s_quote )  ) ))->car) ) ;

Does it have these lines in it?  Does it have anything in it?

There was a problem in the generation of .x files --- even if the
creation of its contents failed miserably, the .x file would still be
created, and guile-snarf would exit with a zero status.  This is fixed
in the latest sources from CVS.

Could you try getting the latest Guile sources from CVS, and seeing if
this problem still occurs?  Remember to configure your tree with
exactly the same arguments and CFLAGS as you did the last one.  See:

	http://www.gnu.org/software/guile/anon-cvs.html

for instruction on getting Guile via anonymous CVS.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 11:12:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA21857
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 11:12:10 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA21854
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Sep 1999 11:12:04 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA10171; Mon, 13 Sep 1999 08:11:56 -0700 (PDT)
To: Stephen Tse <stephent@sfu.ca>, Maciej Stachowiak <mstachow@alum.mit.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: wrong mailing list address
References: <87g10ogk8e.fsf@cr610941-a.rct1.bc.wave.home.com> <qrrk8pv8m6c.fsf@elwha.cs.washington.edu> <87n1urmj9f.fsf@cr610941-a.rct1.bc.wave.home.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Sep 1999 08:11:56 -0700
In-Reply-To: Stephen Tse's message of "12 Sep 1999 23:13:16 -0700"
Message-ID: <qrr671e977n.fsf@elwha.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tse <stephent@sfu.ca> writes:

> > > Also, http://scwm.mit.edu/mail-archives/ is not updated too.
> > 
> > What needs to be fixed there?  I don't see a mention of the hostname...
> 
> 
> hostname??
> 
> There are no mails after July 17, 1999 in the web archives. Where are
> the recent mails?

Oh... my brain was still using the context of the missed update to the
hostname.  

I asked Maciej about this before since he set up the mail archives.
Maciej, do you have time to look at the mail archive stoppage issue?

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 11:26:45 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA21928
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 11:26:45 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA21925
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 13 Sep 1999 11:26:41 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA10177; Mon, 13 Sep 1999 08:26:36 -0700 (PDT)
To: Jim Blandy <jimb@red-bean.com>
Cc: Jay Belanger <jay@vh213601.truman.edu>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: SCWM 0.99.2pre10 dies ....
References: <199909091850.NAA10843@vh213601.truman.edu> <qrraeqr8kc3.fsf@elwha.cs.washington.edu> <m3aeqqube4.fsf@savonarola.red-bean.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Sep 1999 08:26:35 -0700
In-Reply-To: Jim Blandy's message of "13 Sep 1999 09:36:03 -0500"
Message-ID: <qrr3dwi96j8.fsf@elwha.cs.washington.edu>
Lines: 74
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jim Blandy <jimb@red-bean.com> writes:

> > Jay Belanger <jay@vh213601.truman.edu> writes:
> > 
> > <snip>
> > 
> > > ERROR: Unbound variable: quote
> > 
> > Yea, this is a bit of a mystery...  Dirk Hermann reported the same
> > problem, and I've seen it only on guile-1.3 (and thought it was just a
> > guile bug that I was going to largely ignore since it seemed fixed).
> > 
> > I'll try to get to this tomorrow.
> > 
> > Thanks for the bug report... any more poking you can do is appreciated.
> > (See my other message for more details about how things have changed to
> > result in this error message).
> 
> In your build tree, the file eval.x should contain lines like this:
> 
> 	scm_make_synt ( s_quote ,   scm_makmmacro ,   scm_m_quote ) ;
> 	 scm_sym_quote  = scm_permanent_object ((((scm_cell *)((  scm_intern0 (  s_quote )  ) ))->car) ) ;
> 
> Does it have these lines in it?  Does it have anything in it?

I think, though, that the quote works fine after all the startup is
taken care of.   The problem is that when Scwm tries to initialize all
of its functions (from its .x files), quote isn't available to the Guile 
interpreter for whatever reason.  E.g., scwm-snarf gives us lines like:

	scwm_make_gsubr(s_remove_input_hook_x ,   1 ,   0 ,   0 , 
                  (SCM (*)())    remove_input_hook_x ,   "'(handle)"); 

Where the last argument is a string listing the formal argument names.
Then, scwm_make_gsubr does:

SCM
scwm_make_gsubr(const char *name, int req, int opt, int var, SCM (*fcn)(), char *szArgList)
{
  static SCM sym_arglist = SCM_UNDEFINED;
  if (SCM_UNDEFINED == sym_arglist)
    sym_arglist = scm_permanent_object(((scm_cell *)scm_intern0("arglist"))->car);
  { /* scope */
  SCM p = scm_make_gsubr(name,req,opt,var,fcn);
  SCM arglist = gh_eval_str(szArgList);
  scm_permanent_object(arglist);
  scm_set_procedure_property_x(p,sym_arglist,arglist);
  return p;
  }
}

and the gh_eval_str is where the "quote undefined" error comes up.
IIRC, it's only a problem in the init functions of dynamically-loaded
primitive modules (e.g., when we use Guile's dynamic loading feature to
grab the c-animation module containing those primitives).

> There was a problem in the generation of .x files --- even if the
> creation of its contents failed miserably, the .x file would still be
> created, and guile-snarf would exit with a zero status.  This is fixed
> in the latest sources from CVS.

Yes, I copied your change into Scwm, though we use:

%.x: %.c
	$(top_srcdir)/scwm/scwm-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ \
	|| { rm $@; false; }

since starting a subshell (via parens) seemed like overkill -- the curly 
braces just group w/o starting a subshell (am I missing something-- is
there a reason why the subshell is better or necessary?)

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 11:31:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA21992
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 11:31:47 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA21989
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Sep 1999 11:31:44 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA10192; Mon, 13 Sep 1999 08:31:35 -0700 (PDT)
To: Ben <ben@freedomlog.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: build problems.
References: <199909091850.NAA10843@vh213601.truman.edu> <qrraeqr8kc3.fsf@elwha.cs.washington.edu> <37DCA4BC.41D1B17F@freedomlog.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Sep 1999 08:31:35 -0700
In-Reply-To: Ben's message of "Mon, 13 Sep 1999 17:16:12 +1000"
Message-ID: <qrrzoyq7rqg.fsf@elwha.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Ben <ben@freedomlog.com> writes:

> Hi guys,
> 
> I'm back again after an (awful) stint of using enlightenment, after I
> couldn't get scwm to work the last couple of times.

> 
> This time I checkout out scwm from cvs and did an autoconf, ./configure
> with the following error...
> 
> ./configure: syntax error near unexpected token `AM_INIT_AUTOMAKE(scwm,'
> ./configure: ./configure: line 569: `AM_INIT_AUTOMAKE(scwm,
> 0.99.2pre10)'    

You should instead run autogen.sh first.  The HACKING file has some
general tips for building Scwm from out of anoncvs.

> Using autoconf 2.13, automake 1.4a, RedHat 6.0. In general, I've tried a
> lot of hacking with no success.
> 
> Also regarding guile, I downloaded 1.3a. Tried to apply the patch
> included with scwm, but it didn't match. I tried to figure out what the
> patch was trying to achieve and do similar, but I'm not confident. There
> really should be a new patch made.

You should perhaps use the latest guile (out of CVS is better, but 1.3.4 
will be fine when it is released [hopefully soon!])  The patches are
completely unnecessary w/ the latest guiles (I'll document that better,
and remove them completely, shortly).

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 11:41:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA22125
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 11:41:57 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA22122
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Sep 1999 11:41:52 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA10200; Mon, 13 Sep 1999 08:41:47 -0700 (PDT)
To: Stephen Tse <stephent@sfu.ca>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: scwm.el patch
References: <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Sep 1999 08:41:47 -0700
In-Reply-To: Stephen Tse's message of "12 Sep 1999 23:24:53 -0700"
Message-ID: <qrryaea7r9g.fsf@elwha.cs.washington.edu>
Lines: 80
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tse <stephent@sfu.ca> writes:

> --Multipart_Sun_Sep_12_23:24:53_1999-1
> Content-Type: text/plain; charset=US-ASCII
> 
> 
> 
> Hi there! I have made a patch to scwm.el for doing font-lock on guile
> multi-line comment syntax #! COMMENTS !#.

Hmmm. I get this backtrace:

Signaling: (wrong-type-argument stringp (?\: . "w"))
  string-match("&" (?\: . "w"))
  assoc*("&" (scheme-font-lock-keywords nil t ((?\: . "w") (?\- . "w") (?\* . "w") (?\+ . "w") (?\. . "w") (?\< . "w") (?\> . "w") (?\= . "w") (?\? . "w") (?\$ . "w") (?\% . "w") (?\_ . "w") (?\& . "w") (?\~ . "w") (?^ . "w") (?\/ . "w")) beginning-of-defun) :test string-match)
  (not (assoc* "&" font-keywds :test (quote string-match)))
)
  (and font-keywds (not (assoc* "&" font-keywds :test ...)))
)
  (if (and font-keywds (not ...)) (progn (nconc font-keywds ...)))
)
  (when (and font-keywds (not ...)) (nconc font-keywds (list ...)))
)
  (let ((font-keywds ...)) (when (and font-keywds ...) (nconc font-keywds ...)))
)
  (progn (require (quote cl)) (let (...) (when ... ...)))
)
  (if (featurep (quote font-lock)) (progn (require ...) (let ... ...)))
)
  (when (featurep (quote font-lock)) (require (quote cl)) (let (...) (when ... ...)))
)
  eval((when (featurep (quote font-lock)) (require (quote cl)) (let (...) (when ... ...))))
  eval-interactive((when (featurep (quote font-lock)) (require (quote cl)) (let (...) (when ... ...))))
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp)


When I eval:

(when (featurep 'font-lock)
  (require 'cl)                 ; for assoc*
  (let ((font-keywds
  (cond ((boundp 'running-xemacs)
	 ;; In order to support new multi-line comment syntax #! COMMENTS !#
	 ;; from guile, we cannot use font-lock-defaults of scheme-mode,
	 ;; defined in font-lock.el. Instead we copy it to here and remove
	 ;; (?! . "w") from it. (tse)
	 (put 'scwm-mode 'font-lock-defaults
	      '(scheme-font-lock-keywords
		nil t
		((?: . "w") (?- . "w") (?* . "w") (?+ . "w") (?. . "w") (?< . "w")
		 (?> . "w") (?= . "w") (?? . "w") (?$ . "w") (?% . "w")
		 (?_ . "w") (?& . "w") (?~ . "w") (?^ . "w") (?/ . "w"))
		beginning-of-defun)))
	((and (string-lessp emacs-version "20.3")
	      (boundp 'font-lock-defaults-alist))
	 (cdr
	  (or (assq 'scwm-mode font-lock-defaults-alist)
	      (car (setq font-lock-defaults-alist
			 (cons (cons 'scwm-mode
				     (cdr (assq
					   'scheme-mode
					   font-lock-defaults-alist)))
			       font-lock-defaults-alist))))))
	(scheme-font-lock-keywords-2))))
    ;; dirty hack!!!
    (when (and font-keywds
               (not (assoc* "&" font-keywds :test 'string-match)))
      (nconc font-keywds
             (list (cons "\\<&\\sw+\\>"
                         (cdr (assoc* ":" font-keywds :test
                                      'string-match))))))))


Using XEmacs 21.1.  I have no time right now to look at the font-lock
code to see what it's expecting--- do you see the problem?

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 12:37:46 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA22372
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 12:37:46 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from smtp4.mindspring.com (smtp4.mindspring.com [207.69.200.64])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA22369
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 13 Sep 1999 12:37:40 -0400
Received: from SAM.ksp.com (user-2ive9ou.dialup.mindspring.com [165.247.39.30])
	by smtp4.mindspring.com (8.8.5/8.8.5) with ESMTP id MAA04317;
	Mon, 13 Sep 1999 12:37:34 -0400 (EDT)
To: Stephen Tse <stephent@sfu.ca>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm.el patch
References: <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com>
Reply-To: sds@goems.com
X-Attribution: Sam
X-Disclaimer: You should not expect anyone to agree with me.
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Stephen Tse's message of "Mon Sep 13 01:21:04 EDT 1999"
Date: 13 Sep 1999 12:37:02 -0400
Message-ID: <ubtb6wyxd.fsf@goems.com>
Lines: 29
X-Mailer: Gnus v5.7/Emacs 20.4
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>> In message <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com>
>>>> On the subject of "scwm.el patch"
>>>> Sent on Mon Sep 13 01:21:04 EDT 1999
>>>> Honorable Stephen Tse <stephent@sfu.ca> writes:
 >> 
 >> Hi there! I have made a patch to scwm.el for doing font-lock on guile
 >> multi-line comment syntax #! COMMENTS !#.
 >> 
 >> http://www.sfu.ca/~stephent/wm/scwm.el.patch

Stephen contacted me and suggested that I include this patch in scwm.el.
I replied that, IMO, the proper place to handle this stuff is in
scheme.el - since scwm is not the only product which uses guile, it
looks like the generic scheme mode should handle this guile feature
which is not specific to scwm.

IIUC, he did not contact the scheme.el maintainer as of yet, despite my
repeated suggestions to do so.

I am opposed to including his patch into scwm.el until we get a flat,
well motivated refusal from the scheme.el maintainer.

The final decision is up to Maciej, as usual.

-- 
Sam Steingold (http://www.podval.org/~sds/)
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
(let((a'(list'let(list(list'a(list'quote a)))a)))`(let((a(quote ,a))),a))


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 13:11:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA22509
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 13:11:40 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA22506
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 13 Sep 1999 13:11:34 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA10334; Mon, 13 Sep 1999 10:11:28 -0700 (PDT)
To: Stephen Tse <stephent@sfu.ca>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm.el patch
References: <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com> <ubtb6wyxd.fsf@goems.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Sep 1999 10:11:28 -0700
In-Reply-To: Sam Steingold's message of "13 Sep 1999 12:37:02 -0400"
Message-ID: <qrrn1uq7n3z.fsf@elwha.cs.washington.edu>
Lines: 38
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> >>>> In message <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com>
> >>>> On the subject of "scwm.el patch"
> >>>> Sent on Mon Sep 13 01:21:04 EDT 1999
> >>>> Honorable Stephen Tse <stephent@sfu.ca> writes:
>  >> 
>  >> Hi there! I have made a patch to scwm.el for doing font-lock on guile
>  >> multi-line comment syntax #! COMMENTS !#.
>  >> 
>  >> http://www.sfu.ca/~stephent/wm/scwm.el.patch
> 
> Stephen contacted me and suggested that I include this patch in scwm.el.
> I replied that, IMO, the proper place to handle this stuff is in
> scheme.el - since scwm is not the only product which uses guile, it
> looks like the generic scheme mode should handle this guile feature
> which is not specific to scwm.
> 
> IIUC, he did not contact the scheme.el maintainer as of yet, despite my
> repeated suggestions to do so.
> 
> I am opposed to including his patch into scwm.el until we get a flat,
> well motivated refusal from the scheme.el maintainer.
> 
> The final decision is up to Maciej, as usual.

I agree that the proper place to handle it is scheme.el, but if it works 
and provides useful functioning in scwm.el while we're waiting for
Emacsen to be distributed with an improved scheme.el, then I'm more than 
happy to put it in scwm.el in the interim.

Stephen, it'd be great if you could generate a patch relative to
scheme.el and write its maintainer about getting this feature into
scheme.el.

Thanks,
Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 15:25:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA23106
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 15:25:42 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from savonarola.red-bean.com (savonarola.red-bean.com [208.245.165.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA23103
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 13 Sep 1999 15:25:36 -0400
Received: (from jimb@localhost)
	by savonarola.red-bean.com (8.8.7/8.8.7) id OAA28439;
	Mon, 13 Sep 1999 14:25:30 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: Jay Belanger <jay@vh213601.truman.edu>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: SCWM 0.99.2pre10 dies ....
References: <199909091850.NAA10843@vh213601.truman.edu> <qrraeqr8kc3.fsf@elwha.cs.washington.edu> <m3aeqqube4.fsf@savonarola.red-bean.com> <qrr3dwi96j8.fsf@elwha.cs.washington.edu>
From: Jim Blandy <jimb@red-bean.com>
Date: 13 Sep 1999 14:25:30 -0500
In-Reply-To: Greg Badros's message of "13 Sep 1999 08:26:35 -0700"
Message-ID: <m34sgysjf9.fsf@savonarola.red-bean.com>
Lines: 50
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> I think, though, that the quote works fine after all the startup is
> taken care of.   The problem is that when Scwm tries to initialize all
> of its functions (from its .x files), quote isn't available to the Guile 
> interpreter for whatever reason.  E.g., scwm-snarf gives us lines like:
> 
> 	scwm_make_gsubr(s_remove_input_hook_x ,   1 ,   0 ,   0 , 
>                   (SCM (*)())    remove_input_hook_x ,   "'(handle)"); 
> 
> Where the last argument is a string listing the formal argument names.
> Then, scwm_make_gsubr does:
> 
> SCM
> scwm_make_gsubr(const char *name, int req, int opt, int var, SCM (*fcn)(), char *szArgList)
> {
>   static SCM sym_arglist = SCM_UNDEFINED;
>   if (SCM_UNDEFINED == sym_arglist)
>     sym_arglist = scm_permanent_object(((scm_cell *)scm_intern0("arglist"))->car);
>   { /* scope */
>   SCM p = scm_make_gsubr(name,req,opt,var,fcn);
>   SCM arglist = gh_eval_str(szArgList);
>   scm_permanent_object(arglist);
>   scm_set_procedure_property_x(p,sym_arglist,arglist);
>   return p;
>   }
> }
> 
> and the gh_eval_str is where the "quote undefined" error comes up.
> IIRC, it's only a problem in the init functions of dynamically-loaded
> primitive modules (e.g., when we use Guile's dynamic loading feature to
> grab the c-animation module containing those primitives).

This is running after scm_init_eval has been called, right?

If so, there's something really weird going on.

If not, you shouldn't be doing anything with Guile before calling
scm_boot_guile.  It's not guaranteed to work at all.

> Yes, I copied your change into Scwm, though we use:
> 
> %.x: %.c
> 	$(top_srcdir)/scwm/scwm-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ \
> 	|| { rm $@; false; }
> 
> since starting a subshell (via parens) seemed like overkill -- the curly 
> braces just group w/o starting a subshell (am I missing something-- is
> there a reason why the subshell is better or necessary?)

No.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 15:36:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA23221
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 15:36:11 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA23213
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 13 Sep 1999 15:35:53 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA10861; Mon, 13 Sep 1999 12:35:45 -0700 (PDT)
To: Jim Blandy <jimb@red-bean.com>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: SCWM 0.99.2pre10 dies ....
References: <199909091850.NAA10843@vh213601.truman.edu> <qrraeqr8kc3.fsf@elwha.cs.washington.edu> <m3aeqqube4.fsf@savonarola.red-bean.com> <qrr3dwi96j8.fsf@elwha.cs.washington.edu> <m34sgysjf9.fsf@savonarola.red-bean.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Sep 1999 12:35:44 -0700
In-Reply-To: Jim Blandy's message of "13 Sep 1999 14:25:30 -0500"
Message-ID: <qrremg27gfj.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jim Blandy <jimb@red-bean.com> writes:

<snip>

> This is running after scm_init_eval has been called, right?

Yep, sure.

> If so, there's something really weird going on.

That's my claim... though I've not had time to look at it to help figure 
out what the weirdness is all about.

<snip>

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 17:16:17 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA24049
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 17:16:17 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA24046
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Sep 1999 17:16:13 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1)
	id 11QdSL-0009iz-0A
	for scwm-discuss@scwm.mit.edu; Mon, 13 Sep 1999 21:16:10 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id SAA14285
	for scwm-discuss@scwm.mit.edu; Mon, 13 Sep 1999 18:30:46 +0100
Date: Mon, 13 Sep 1999 18:30:46 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Focus when a window dies
Message-ID: <19990913183046.C12576@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6i
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Sweetmorn, Day 37 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Before I get into asking my question I'd just like to compliment everyone
who has worked on scwm and say thanks for a great little window manager.
I've just killed off an old faithful Slackware based box that was running an
ancient KDE beta and have moved to a new RedHat 6.0 based box. In doing so I
decided to play with all things gnome.

After trying to make the likes of Enlightenment work how I wanted it was
really refreshing to get scwm going. Much more hackable. Many many thanks.

Anyway, a question. 

I tend to have a number of desktops on the go, one is reserved for running a
copy of slrn and a copy of mutt in rxvts. I `next-window' (bound to A-Tab)
between them as and when I want to use them.

In both cases I use emacs as the editor (yes, I run a new emacs each time,
I've got all this processor power and memory, I might was well use it <g>).
With other window managers (kwm and Enlightenment for example) they've
always "done the right thing" when I've exited emacs. That is to say, if I
had run emacs from slrn then slrn would be re-focused when emacs died.
Likewise, mutt would get focus back if it had run emacs.

With my current scwm setup I find that, for some reason, neither window gets
focus back. In other tests I've found that focus seems to get "passed on"
instead of "passed back" (two rxvts, run xjed from one, kill xjed, the
second rxvt gets focus).

I've had a good read thru the docs and I've also tried playing around with
`X-DestroyNotify-hook' but I've not managed to come up with a satisfactory
solution.

I guess the solution I'm looking for is "when a window that has focus dies,
focus should be set on the window, on the current desktop, that most
recently had focus". Can anyone offer a hint as to how I might get this to
work?

I'm currently running with:

,----
| davep@hagbard:~$ rpm -q scwm
| scwm-19990117-1hjs
`----

Thanks in advance.

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 18:09:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA24268
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 18:09:50 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA24265
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Sep 1999 18:09:44 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA11323; Mon, 13 Sep 1999 14:56:05 -0700 (PDT)
To: Dave Pearson <davep@hagbard.demon.co.uk>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Focus when a window dies
References: <19990913183046.C12576@hagbard.demon.co.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Sep 1999 14:56:04 -0700
In-Reply-To: Dave Pearson's message of "Mon, 13 Sep 1999 18:30:46 +0100"
Message-ID: <qrrvh9exyq3.fsf@elwha.cs.washington.edu>
Lines: 68
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dave Pearson <davep@hagbard.demon.co.uk> writes:

> Before I get into asking my question I'd just like to compliment everyone
> who has worked on scwm and say thanks for a great little window manager.
> I've just killed off an old faithful Slackware based box that was running an
> ancient KDE beta and have moved to a new RedHat 6.0 based box. In doing so I
> decided to play with all things gnome.
> 
> After trying to make the likes of Enlightenment work how I wanted it was
> really refreshing to get scwm going. Much more hackable. Many many thanks.

On behalf of us all, you're welcome!

> Anyway, a question. 
> 
> I tend to have a number of desktops on the go, one is reserved for running a
> copy of slrn and a copy of mutt in rxvts. I `next-window' (bound to A-Tab)
> between them as and when I want to use them.
> 
> In both cases I use emacs as the editor (yes, I run a new emacs each time,
> I've got all this processor power and memory, I might was well use it <g>).
> With other window managers (kwm and Enlightenment for example) they've
> always "done the right thing" when I've exited emacs. That is to say, if I
> had run emacs from slrn then slrn would be re-focused when emacs died.
> Likewise, mutt would get focus back if it had run emacs.
> 
> With my current scwm setup I find that, for some reason, neither window gets
> focus back. In other tests I've found that focus seems to get "passed on"
> instead of "passed back" (two rxvts, run xjed from one, kill xjed, the
> second rxvt gets focus).
> 
> I've had a good read thru the docs and I've also tried playing around with
> `X-DestroyNotify-hook' but I've not managed to come up with a satisfactory
> solution.
> 
> I guess the solution I'm looking for is "when a window that has focus dies,
> focus should be set on the window, on the current desktop, that most
> recently had focus". Can anyone offer a hint as to how I might get this to
> work?
> 
> I'm currently running with:
> 
> ,----
> | davep@hagbard:~$ rpm -q scwm
> | scwm-19990117-1hjs
> `----
> 
> Thanks in advance.

This is with click-to-focus windows, I presume?  I can't seem to
reproduce this with current CVS versions.  

You may want to try messing with the window-close-hook.  You could check 
to see if the window is the (current-window-with-focus) and if so
re-assign focus by whatever policy you wish.  You may want to do
something like:

(focus (car (list-windows #:by-focus #t)))

in that hook (after checking that the window closed had the focus).

If you can, try out the latest pre-release of scwm-0.99.2 (or wait until 
tomorrow for scwm-0.99.2) and see if you can file a complete bug report
against that (we may already have fixed the problem).

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 19:43:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA24597
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 19:43:33 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA24594
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Sep 1999 19:43:29 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA11465; Mon, 13 Sep 1999 16:43:24 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: Last pre-release: scwm-0.99.2pre11
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Sep 1999 16:43:24 -0700
Message-ID: <qrru2oyxtr7.fsf@elwha.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I've just made what I hope to be the last pre-release of scwm-0.99.2;
this has dragged on a long time, but we've found a lot of problems in
the process so hopefully it was worth it.

I would love it if you're able to try out the various packages available 
at:

ftp://upintheair.cs.washington.edu/pub/scwm/

If you get the problem with "quote undefined", use the new option to
scwm "--no-document-formals" if you just want to get it to run, or poke
around if you want to help figure out what is wrong.

Please report successes as well as failures.  If all goes well, I'd like 
to turn the distribution into 0.99.2 tomorrow and make some wider
announcements and put all the packages up on the Scwm web page.

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 21:15:49 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA24766
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 21:15:49 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from calvin.itrade.net (root@calvin.itrade.net [4.21.44.2])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA24763
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 13 Sep 1999 21:15:43 -0400
Received: from diko.itrade.net.itrade.net (IDENT:bkirby@diko.itrade.net [4.21.44.25])
	by calvin.itrade.net (8.9.3/8.9.3) with SMTP id SAA18679
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 13 Sep 1999 18:15:38 -0700
To: scwm-discuss@SCWM.MIT.EDU
Subject: scwm 0.99.2pre11 crashing...
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Brendan Kirby <bkirby@itrade.net>
Date: 13 Sep 1999 18:12:54 -0700
Message-ID: <llso4i5m95.fsf@diko.itrade.net>
Lines: 174
X-Mailer: Gnus v5.6.45/XEmacs 21.2(beta13) - "Demeter"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I'm having trouble getting the 0.99.2 pre releases to work.  I've been
successfully using a CVS version from the middle of May with no
problems.  So, I decided to help test the pre releases.  There is no
problem if I don't have a .scwmrc (using scwm -f /dev/null).  However,
if I use the gjb.scwmrc that comes with 0.99.2pre11, scwm crashes.  It
seems like other people are able to get a non-crashing scwm.  So, my
system must be missing something or running the wrong version of
something.

I have compiled and installed all the SRPMs from
upintheair.cs.washington.edu.  I'm using a Red Hat 5.2 system.  I've
updated autoconf to 2.13, automake to 1.4 and libtools to 1.3.3.  I
left gcc and glibc alone. So, gcc is version 2.7.2.3 and glibc is
2.0.7.  Also, I'm using gtk+ and glib version 1.2.3.

Here are the all the errors and the output of the where command in gdb 
on the core file from scwm.  Sorry about the long post, but I didn't
know what was important.  

[Scwm][init_modifiers]:  No numlock_mask was found.
[Scwm][init_modifiers]:  Doing 3 XGrabKey calls for window bindings when ignoring dubious modifiers
[Scwm][bind-key]: <<WARNING>> Unbound modifier H-
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-slash'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-M-slash'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-s'
ERROR: Unbound variable: quote
ERROR: Unbound variable: quote
ERROR: Unbound variable: quote
ERROR: Unbound variable: quote
ERROR: Unbound variable: quote
ERROR: Unbound variable: quote
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-r'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-w'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-comma'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-A-M-C-d'
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-2
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-3
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-S-2
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-M-3
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-z'
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for C-A-H-1
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for C-A-H-3
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-4
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-C-4
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-M-4
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-5
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-C-5
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-M-5

Backtrace:
0* [add-right-button #<face 135975760> #f ...

/usr/share/scwm/scwmrc/gjb.scwmrc:821:1: While evaluating arguments to add-right-button in expression (add-right-button iconify-button-face #f ...):
/usr/share/scwm/scwmrc/gjb.scwmrc:821:1: Unbound variable: animated-iconify
ERROR: In procedure add-hook!:
ERROR: This hook requires 1 arguments

Backtrace:
0* [bind-mouse all "H-1" ... ...

/usr/share/scwm/scwmrc/gjb.scwmrc:1323:1: While evaluating arguments to bind-mouse in expression (bind-mouse (quote all) "H-1" ...):
/usr/share/scwm/scwmrc/gjb.scwmrc:1323:1: Unbound variable: select-window-add-selection
ERROR: In procedure add-hook!:
ERROR: This hook requires 1 arguments

Backtrace:
0* [bind-mouse all "H-S-1" ... ...

/usr/share/scwm/scwmrc/gjb.scwmrc:1324:1: While evaluating arguments to bind-mouse in expression (bind-mouse (quote all) "H-S-1" ...):
/usr/share/scwm/scwmrc/gjb.scwmrc:1324:1: Unbound variable: select-window-add-selection
ERROR: In procedure add-hook!:
ERROR: This hook requires 1 arguments

Backtrace:
0* [bind-mouse all "H-A-1" ... ...

/usr/share/scwm/scwmrc/gjb.scwmrc:1325:1: While evaluating arguments to bind-mouse in expression (bind-mouse (quote all) "H-A-1" ...):
/usr/share/scwm/scwmrc/gjb.scwmrc:1325:1: Unbound variable: select-window-add-selection
ERROR: In procedure add-hook!:
ERROR: This hook requires 1 arguments

Backtrace:
0* [bind-mouse title "C-1" ... ...

/usr/share/scwm/scwmrc/gjb.scwmrc:1327:1: While evaluating arguments to bind-mouse in expression (bind-mouse (quote title) "C-1" ...):
/usr/share/scwm/scwmrc/gjb.scwmrc:1327:1: Unbound variable: select-window-add-selection
ERROR: In procedure add-hook!:
ERROR: This hook requires 1 arguments

Backtrace:
0* [bind-key all "C-S-Down" ...

/usr/share/scwm/scwmrc/gjb.scwmrc:1434:1: While evaluating arguments to bind-key in expression (bind-key (quote all) "C-S-Down" ...):
/usr/share/scwm/scwmrc/gjb.scwmrc:1434:1: Unbound variable: animated-iconify
ERROR: In procedure add-hook!:
ERROR: This hook requires 1 arguments

Backtrace:
0* [highlight-current-window #f (50 . 1)]
1  (let ((len #) (args #)) (case len (# #) ...))
   ...
2  [do-two-modifier-key-events #<primitive-procedure bind-keycode> #f ...]
3  (let ((keycode1 #) (mod1 #) (keycode2 #) ...) (proc (quote all) keycode1 ...) ...)
4* [car #f]

/usr/share/scwm/modules/app/scwm/modifier-key-bindings.scm:15:19: In procedure car in expression (car modkey1):
/usr/share/scwm/modules/app/scwm/modifier-key-bindings.scm:15:19: Wrong type argument in position 1: #f
ERROR: In procedure add-hook!:
ERROR: This hook requires 1 arguments

Backtrace:
0* (if want-fvwm2-pager-module (begin (register-fvwm2-module-config "FvwmPager" "*FvwmPagerBack grey76" ...) (define fvwm2-pager #)))
1  (begin (register-fvwm2-module-config "FvwmPager" "*FvwmPagerBack grey76" ...) (define fvwm2-pager (run-fvwm2-module "FvwmPager" #)))
2  (define fvwm2-pager (run-fvwm2-module "FvwmPager" (quote #)))
3* [run-fvwm2-module "FvwmPager"]
4  (let* ((other-args #) (config-file #) (config-info #)) (if (not #) (error "Too many arguments.")) ...)
   ...
5  [scm-error misc-error #f ...]

ERROR: In procedure scm-error in expression (scm-error (quote misc-error) #f ...):
ERROR: Unable to run fvwm2 module FvwmPager
ERROR: In procedure add-hook!:
ERROR: This hook requires 1 arguments

Backtrace:
0* [bind-key all "H-q" ...

/usr/share/scwm/scwmrc/gjb.scwmrc:1709:1: While evaluating arguments to bind-key in expression (bind-key (quote all) "H-q" ...):
/usr/share/scwm/scwmrc/gjb.scwmrc:1709:1: Unbound variable: quote-key-event
ERROR: In procedure add-hook!:
ERROR: This hook requires 1 arguments

Backtrace:
0* [bind-key all "H-m" ...

/usr/share/scwm/scwmrc/gjb.scwmrc:1710:1: While evaluating arguments to bind-key in expression (bind-key (quote all) "H-m" ...):
/usr/share/scwm/scwmrc/gjb.scwmrc:1710:1: Unbound variable: quote-mouse-event
ERROR: In procedure add-hook!:
ERROR: This hook requires 1 arguments

Backtrace:
0* (load-preferences)

/usr/share/scwm/scwmrc/gjb.scwmrc:1770:1: In expression (load-preferences):
/usr/share/scwm/scwmrc/gjb.s
Gdk-ERROR **: BadWindow (invalid Window parameter)
  serial 3319 error_code 3 request_code 15 minor_code 0

aborting...

(gdb) where
#0  0x4038f811 in __kill ()
#1  0x4038f63f in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x4039084f in abort () at ../sysdeps/generic/abort.c:83
#3  0x40bb26ab in g_logv ()
#4  0x40bb2766 in g_log ()
#5  0x40b784c0 in gdk_x_error ()
#6  0x400908b4 in _XError ()
#7  0x4008f2cc in _XReply ()
#8  0x40086fcc in XQueryTree ()
#9  0x808a27d in WXGetWindowParent (wChild=12582948) at xmisc.c:78
#10 0x8083f8e in PswFromAnyWindow (dpy=0x81013b8, w=12582948) at window.c:1298
#11 0x806dab0 in DispatchEvent () at events.c:286
#12 0x806db06 in HandleEvents () at events.c:310
#13 0x807ff94 in scwm_main (argc=3, argv=0xbffffd54) at scwm.c:1129
#14 0x401258cd in gh_launch_pad ()
#15 0x401288a9 in invoke_main_func ()
#16 0x401548c3 in scm_internal_lazy_catch ()
#17 0x4012884e in scm_boot_guile_1 ()
#18 0x401285b9 in scm_boot_guile ()
#19 0x40125908 in gh_enter ()
#20 0x807f3b7 in main (argc=3, argv=0xbffffd54) at scwm.c:538
(gdb) quit



From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 21:52:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA24894
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 21:52:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from calvin.itrade.net (root@calvin.itrade.net [4.21.44.2])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA24891
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 13 Sep 1999 21:52:13 -0400
Received: from diko.itrade.net.itrade.net (IDENT:bkirby@diko.itrade.net [4.21.44.25])
	by calvin.itrade.net (8.9.3/8.9.3) with SMTP id SAA18886
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 13 Sep 1999 18:52:09 -0700
To: scwm-discuss@SCWM.MIT.EDU
Subject: scwm 0.99.2pre11 crashing...
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Brendan Kirby <bkirby@itrade.net>
Date: 13 Sep 1999 18:49:24 -0700
Message-ID: <llemg2s1nf.fsf@diko.itrade.net>
Lines: 25
X-Mailer: Gnus v5.6.45/XEmacs 21.2(beta13) - "Demeter"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Well, I spoke too soon or installed too quickly becuase I hadn't read
Greg's message about using the new argument --no-document-formals.  After 
adding that and --segv-just-stop 0 to scwm's arguments I am able to
run scwm without crashing.  :)

However, I'm noticing that scwm seems to be causing X to use more
memory now.  While I'm looking at just an xdm prompt, X is about
16Megs in size:
USER       PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
root     10435  1.8  8.3 16084  5288  ?  S   Sep  7 161:59 /usr/X11R6/bin/X -aut

But, right after I login with only one xterm window X is about 99Megs
in size: 
USER       PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
bkirby   21864 13.2 10.2 11224  6468  ?  S    18:30   0:25 scwm --segv-just-stop 0 --no-document-formals -f /usr/share/scwm/scwmrc/gjb.scwmrc 
root     10435  1.8 73.5 99116 46412  ?  S   Sep  7 162:03 /usr/X11R6/bin/X -auth /usr/X11R6/lib/X11/xdm/authdir/authfiles/A:0-a31810 

I'm using XFree86 version 3.3.2.3.  Should I upgrade XFree86?  Will
this solve the memory problem?  I wasn't seeing this before using this
pre release of scwm.  However, I also wasn't using the gjb.scwmrc
either.

Thanks for a great window manager.

Brendan


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 13 23:37:35 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id XAA25052
	for scwm-discuss-outgoing; Mon, 13 Sep 1999 23:37:35 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from savonarola.red-bean.com (savonarola.red-bean.com [208.245.165.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id XAA25049
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 13 Sep 1999 23:37:28 -0400
Received: (from jimb@localhost)
	by savonarola.red-bean.com (8.8.7/8.8.7) id WAA29058;
	Mon, 13 Sep 1999 22:37:23 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: SCWM 0.99.2pre10 dies ....
References: <199909091850.NAA10843@vh213601.truman.edu> <qrraeqr8kc3.fsf@elwha.cs.washington.edu> <m3aeqqube4.fsf@savonarola.red-bean.com> <qrr3dwi96j8.fsf@elwha.cs.washington.edu> <m34sgysjf9.fsf@savonarola.red-bean.com> <qrremg27gfj.fsf@elwha.cs.washington.edu>
From: Jim Blandy <jimb@red-bean.com>
Date: 13 Sep 1999 22:37:23 -0500
In-Reply-To: Greg Badros's message of "13 Sep 1999 12:35:44 -0700"
Message-ID: <m3lnaajh8s.fsf@savonarola.red-bean.com>
Lines: 13
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> > This is running after scm_init_eval has been called, right?
> 
> Yep, sure.
> 
> > If so, there's something really weird going on.
> 
> That's my claim... though I've not had time to look at it to help figure 
> out what the weirdness is all about.

I guess this doesn't need to be said, but please let us know
immediately if it turns out to be a Guile bug.  Weirdness in the
interpreter bothers me.

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 00:12:07 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA25207
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 00:12:07 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA25204
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 14 Sep 1999 00:12:01 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA11728; Mon, 13 Sep 1999 21:11:55 -0700 (PDT)
To: Jim Blandy <jimb@red-bean.com>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: SCWM 0.99.2pre10 dies ....
References: <199909091850.NAA10843@vh213601.truman.edu> <qrraeqr8kc3.fsf@elwha.cs.washington.edu> <m3aeqqube4.fsf@savonarola.red-bean.com> <qrr3dwi96j8.fsf@elwha.cs.washington.edu> <m34sgysjf9.fsf@savonarola.red-bean.com> <qrremg27gfj.fsf@elwha.cs.washington.edu> <m3lnaajh8s.fsf@savonarola.red-bean.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Sep 1999 21:11:55 -0700
In-Reply-To: Jim Blandy's message of "13 Sep 1999 22:37:23 -0500"
Message-ID: <qrrpuzmxhbo.fsf@elwha.cs.washington.edu>
Lines: 21
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jim Blandy <jimb@red-bean.com> writes:

> > > This is running after scm_init_eval has been called, right?
> > 
> > Yep, sure.
> > 
> > > If so, there's something really weird going on.
> > 
> > That's my claim... though I've not had time to look at it to help figure 
> > out what the weirdness is all about.
> 
> I guess this doesn't need to be said, but please let us know
> immediately if it turns out to be a Guile bug.  Weirdness in the
> interpreter bothers me.

Will do.  It's hard to track down, of course, and sometimes weirdness
in the interpreter is due to our code corrupting stuff previously.
We'll see.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 00:16:05 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA25253
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 00:16:05 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA25250
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 14 Sep 1999 00:16:02 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA11734; Mon, 13 Sep 1999 21:15:56 -0700 (PDT)
To: Brendan Kirby <bkirby@itrade.net>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm 0.99.2pre11 crashing...
References: <llso4i5m95.fsf@diko.itrade.net>
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Sep 1999 21:15:55 -0700
In-Reply-To: Brendan Kirby's message of "13 Sep 1999 18:12:54 -0700"
Message-ID: <qrrn1uqxh50.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Brendan Kirby <bkirby@itrade.net> writes:

> I'm having trouble getting the 0.99.2 pre releases to work.  I've been
> successfully using a CVS version from the middle of May with no
> problems.  So, I decided to help test the pre releases.  There is no
> problem if I don't have a .scwmrc (using scwm -f /dev/null).  However,
> if I use the gjb.scwmrc that comes with 0.99.2pre11, scwm crashes.  It
> seems like other people are able to get a non-crashing scwm.  So, my
> system must be missing something or running the wrong version of
> something.
> 
> I have compiled and installed all the SRPMs from
> upintheair.cs.washington.edu.  I'm using a Red Hat 5.2 system.  I've
> updated autoconf to 2.13, automake to 1.4 and libtools to 1.3.3.  I
> left gcc and glibc alone. So, gcc is version 2.7.2.3 and glibc is
> 2.0.7.  Also, I'm using gtk+ and glib version 1.2.3.

Don't forget to mention the guile version-- that's the software with
which Scwm is most tightly coupled.

> 
> Here are the all the errors and the output of the where command in gdb 
> on the core file from scwm.  Sorry about the long post, but I didn't
> know what was important.  

Try running it with --no-document-formals, and use system.scwmrc instead 
of gjb.scwmrc. I can reproduce this crash, but I'm not sure why it
happens yet.

I think I'll pull gjb.scwmrc from the distribution since I don't
maintain it anymore.  My scwmrc is the system scwmrc for now.

Thanks for the nice report!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 00:19:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA25316
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 00:19:01 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA25313
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 14 Sep 1999 00:18:58 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA11737; Mon, 13 Sep 1999 21:18:53 -0700 (PDT)
To: Brendan Kirby <bkirby@itrade.net>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm 0.99.2pre11 crashing...
References: <llemg2s1nf.fsf@diko.itrade.net>
From: Greg Badros <gjb@cs.washington.edu>
Date: 13 Sep 1999 21:18:52 -0700
In-Reply-To: Brendan Kirby's message of "13 Sep 1999 18:49:24 -0700"
Message-ID: <qrrlnaaxh03.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Brendan Kirby <bkirby@itrade.net> writes:

> Well, I spoke too soon or installed too quickly becuase I hadn't read
> Greg's message about using the new argument --no-document-formals.  After 
> adding that and --segv-just-stop 0 to scwm's arguments I am able to
> run scwm without crashing.  :)
> 
> However, I'm noticing that scwm seems to be causing X to use more
> memory now.  While I'm looking at just an xdm prompt, X is about
> 16Megs in size:
> USER       PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
> root     10435  1.8  8.3 16084  5288  ?  S   Sep  7 161:59 /usr/X11R6/bin/X -aut
> 
> But, right after I login with only one xterm window X is about 99Megs
> in size: 
> USER       PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
> bkirby   21864 13.2 10.2 11224  6468  ?  S    18:30   0:25 scwm --segv-just-stop 0 --no-document-formals -f /usr/share/scwm/scwmrc/gjb.scwmrc 
> root     10435  1.8 73.5 99116 46412  ?  S   Sep  7 162:03 /usr/X11R6/bin/X -auth /usr/X11R6/lib/X11/xdm/authdir/authfiles/A:0-a31810 
> 
> I'm using XFree86 version 3.3.2.3.  Should I upgrade XFree86?  Will
> this solve the memory problem?  I wasn't seeing this before using this
> pre release of scwm.  However, I also wasn't using the gjb.scwmrc
> either.

Whoa, that's big... I know mine isn't that big-- I'm around 14080 RSS.
Try it w/ -f /dev/null and with system.scwmrc and see what that does.

Upgrading XFree may be a good plan, anyway.  We might tickle some memory 
leak in X.... 

> Thanks for a great window manager.

You're welcome!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 02:18:07 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA26005
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 02:18:07 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from cr610941-a.rct1.bc.wave.home.com (cr610941-a.rct1.bc.wave.home.com [24.113.76.219])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA26002
	for <scwm-discuss@scwm.mit.edu>; Tue, 14 Sep 1999 02:18:01 -0400
Received: from root by cr610941-a.rct1.bc.wave.home.com with local (Exim 3.03 #1 (Debian))
	id 11QluJ-0002jc-00; Mon, 13 Sep 1999 23:17:35 -0700
X-Uptime:  11:17pm  up 7 days,  7:07,  3 users,  load average: 0.00, 0.02, 0.01
X-OS: Linux cr610941-a 2.2.11 #2 Mon Sep 6 15:40:58 PDT 1999 i586 unknown
X-Homepage: http://www.sfu.ca/~stephent
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: scwm.el patch
References: <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com> <ubtb6wyxd.fsf@goems.com> <qrrn1uq7n3z.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Stephen Tse <stephent@sfu.ca>
Date: 13 Sep 1999 23:17:34 -0700
In-Reply-To: Greg Badros's message of "13 Sep 1999 10:11:28 -0700"
Message-ID: <87k8pukoe9.fsf@cr610941-a.rct1.bc.wave.home.com>
Lines: 54
X-Mailer: Gnus v5.6.45/XEmacs 21.2 - "Shinjuku"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Sam Steingold <sds@goems.com> writes:
> 
> > >>>> In message <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com>
> > >>>> On the subject of "scwm.el patch"
> > >>>> Sent on Mon Sep 13 01:21:04 EDT 1999
> > >>>> Honorable Stephen Tse <stephent@sfu.ca> writes:
> >  >> 
> >  >> Hi there! I have made a patch to scwm.el for doing font-lock on guile
> >  >> multi-line comment syntax #! COMMENTS !#.
> >  >> 
> >  >> http://www.sfu.ca/~stephent/wm/scwm.el.patch
> > 
> > Stephen contacted me and suggested that I include this patch in scwm.el.
> > I replied that, IMO, the proper place to handle this stuff is in
> > scheme.el - since scwm is not the only product which uses guile, it
> > looks like the generic scheme mode should handle this guile feature
> > which is not specific to scwm.
> > 
> > IIUC, he did not contact the scheme.el maintainer as of yet, despite my
> > repeated suggestions to do so.
> > 
> > I am opposed to including his patch into scwm.el until we get a flat,
> > well motivated refusal from the scheme.el maintainer.
> > 
> > The final decision is up to Maciej, as usual.
> 
> I agree that the proper place to handle it is scheme.el, but if it works 
> and provides useful functioning in scwm.el while we're waiting for
> Emacsen to be distributed with an improved scheme.el, then I'm more than 
> happy to put it in scwm.el in the interim.

As I pointed out in the mail with Sam, standard scheme does not
support guile multi-line comment syntax, and thus strictly speakly my
patch should not go to scheme.el. The proper place should be
guile-mode.el, if there exists one. (As a matter of fact, there is one
but not well-supported as scwm.el.)

Anyway, if the patch has to be made against standard emacs/xemacs
distribution, it will patch against scheme.el as well as font-lock.el,
which is even harder to change. (scheme-font-lock stuff is kept in
font-lock.el.)

The fact that it's really a small nice hack that works, and patching
against big .el (font-lock) and the need to sign fsf stuff in order to 
submit patch really make me reluctant.

> 
> Stephen, it'd be great if you could generate a patch relative to
> scheme.el and write its maintainer about getting this feature into
> scheme.el.

Ok, I might. But that's just not my priority.

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 02:58:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA26139
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 02:58:10 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from cr610941-a.rct1.bc.wave.home.com (cr610941-a.rct1.bc.wave.home.com [24.113.76.219])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA26136
	for <scwm-discuss@scwm.mit.edu>; Tue, 14 Sep 1999 02:58:05 -0400
Received: from root by cr610941-a.rct1.bc.wave.home.com with local (Exim 3.03 #1 (Debian))
	id 11QmX7-0002lH-00; Mon, 13 Sep 1999 23:57:41 -0700
X-Uptime:  11:57pm  up 7 days,  7:47,  3 users,  load average: 0.02, 0.04, 0.00
X-OS: Linux cr610941-a 2.2.11 #2 Mon Sep 6 15:40:58 PDT 1999 i586 unknown
X-Homepage: http://www.sfu.ca/~stephent
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: new scwm.el patch
References: <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com> <qrryaea7r9g.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: multipart/mixed;
 boundary="Multipart_Mon_Sep_13_23:57:41_1999-1"
Content-Transfer-Encoding: 7bit
From: Stephen Tse <stephent@sfu.ca>
Date: 13 Sep 1999 23:57:41 -0700
In-Reply-To: Greg Badros's message of "13 Sep 1999 08:41:47 -0700"
Message-ID: <87k8puvv2y.fsf_-_@cr610941-a.rct1.bc.wave.home.com>
Lines: 62
X-Mailer: Gnus v5.6.45/XEmacs 21.2 - "Shinjuku"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

--Multipart_Mon_Sep_13_23:57:41_1999-1
Content-Type: text/plain; charset=US-ASCII

Greg Badros <gjb@cs.washington.edu> writes:

> Using XEmacs 21.1.  I have no time right now to look at the font-lock
> code to see what it's expecting--- do you see the problem?


My original patch was against scwm.el v1.58 in scwm 0.99. scwm.el
surely has changed a lot since then. Here is a new patch against the
file v1.83 in cvs. Tell me if it works.



--Multipart_Mon_Sep_13_23:57:41_1999-1
Content-Type: application/octet-stream; type=patch
Content-Disposition: attachment; filename="scwm-1.83.el.patch"
Content-Transfer-Encoding: 7bit

--- scwm-1.83-original.el	Mon Sep  6 18:01:15 1999
+++ scwm.el	Mon Sep 13 23:50:35 1999
@@ -181,7 +181,16 @@
 Turning on Scwm mode calls the value of the variable `scwm-mode-hook',
 if that value is non-nil.
 If you are using Emacs 20.2 or earlier and want to use fontifications,
-you have to (require 'font-lock) first.  Sorry.")
+you have to (require 'font-lock) first.  Sorry."
+  ;; Modify scheme-mode-syntax-table in order to support multi-line comment
+  ;; syntax. Use comment style b because syntax a (default) is screwed by
+  ;; newline \n. <stephent@sfu.ca>
+  (cond ((boundp 'running-xemacs)
+	 (modify-syntax-entry ?# "_ 58")
+	 (modify-syntax-entry ?! "_ 67"))
+	(t
+	 (modify-syntax-entry ?# "_ 14b")
+	 (modify-syntax-entry ?! "_ 23b"))))
 
 (define-key scwm-mode-map [(control j)] 'scwm-eval-last)
 (define-key scwm-mode-map [(control c) (control l)] 'scwm-load-file)
@@ -608,8 +617,18 @@
   (require 'cl)                 ; for assoc*
   (let ((font-keywds
          (cond ((boundp 'running-xemacs)
+		;; In order to support new multi-line comment syntax #! 
+		;; COMMENTS !# from guile, we cannot use font-lock-defaults
+		;; of scheme-mode, defined in font-lock.el. Instead we copy
+		;; it to here and remove (?! . "w") from it. 
+		;; <stephent@sfu.ca>
                 (put 'scwm-mode 'font-lock-defaults
-                     (get 'scheme-mode 'font-lock-defaults))
+		     '(scheme-font-lock-keywords
+		       nil t
+		       ((?: . "w") (?- . "w") (?* . "w") (?+ . "w") (?. . "w") (?< . "w")
+			(?> . "w") (?= . "w") (?? . "w") (?$ . "w") (?% . "w")
+			(?_ . "w") (?& . "w") (?~ . "w") (?^ . "w") (?/ . "w"))
+		       beginning-of-defun))
                 scheme-font-lock-keywords)
                ((and (string-lessp emacs-version "20.3")
                      (boundp 'font-lock-defaults-alist))

--Multipart_Mon_Sep_13_23:57:41_1999-1--

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 03:00:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA26159
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 03:00:40 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from cr610941-a.rct1.bc.wave.home.com (cr610941-a.rct1.bc.wave.home.com [24.113.76.219])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA26156
	for <scwm-discuss@scwm.mit.edu>; Tue, 14 Sep 1999 03:00:36 -0400
Received: from root by cr610941-a.rct1.bc.wave.home.com with local (Exim 3.03 #1 (Debian))
	id 11QmZX-0002lQ-00; Tue, 14 Sep 1999 00:00:11 -0700
X-Uptime:  12:00am  up 7 days,  7:49,  3 users,  load average: 0.03, 0.03, 0.00
X-OS: Linux cr610941-a 2.2.11 #2 Mon Sep 6 15:40:58 PDT 1999 i586 unknown
X-Homepage: http://www.sfu.ca/~stephent
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: scwm.el patch
References: <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com> <qrryaea7r9g.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Stephen Tse <stephent@sfu.ca>
Date: 14 Sep 1999 00:00:11 -0700
In-Reply-To: Greg Badros's message of "13 Sep 1999 08:41:47 -0700"
Message-ID: <87hfkyvuys.fsf@cr610941-a.rct1.bc.wave.home.com>
Lines: 14
X-Mailer: Gnus v5.6.45/XEmacs 21.2 - "Shinjuku"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

>     ;; dirty hack!!!
>     (when (and font-keywds
>                (not (assoc* "&" font-keywds :test 'string-match)))
>       (nconc font-keywds
>              (list (cons "\\<&\\sw+\\>"
>                          (cdr (assoc* ":" font-keywds :test
>                                       'string-match))))))))

Sam, don't take it as an offense, but this is surely a bloody hack
that works! ;)

Hack on!

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 06:06:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA28535
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 06:06:58 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from finch-post-11.mail.demon.net (finch-post-11.mail.demon.net [194.217.242.39])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA28532
	for <scwm-discuss@scwm.mit.edu>; Tue, 14 Sep 1999 06:06:46 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by finch-post-11.mail.demon.net with esmtp (Exim 2.12 #1)
	id 11QpTz-000PYP-0B
	for scwm-discuss@scwm.mit.edu; Tue, 14 Sep 1999 10:06:40 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id KAA04999
	for scwm-discuss@scwm.mit.edu; Tue, 14 Sep 1999 10:53:03 +0100
Date: Tue, 14 Sep 1999 10:53:03 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Re: Focus when a window dies
Message-ID: <19990914105303.A4839@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <19990913183046.C12576@hagbard.demon.co.uk> <qrrvh9exyq3.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrrvh9exyq3.fsf@elwha.cs.washington.edu>; from Greg Badros on Mon, Sep 13, 1999 at 02:56:04PM -0700
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Boomtime, Day 38 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Mon, Sep 13, 1999 at 02:56:04PM -0700, Greg Badros wrote:
> Dave Pearson <davep@hagbard.demon.co.uk> writes:
> 
> > [SNIP]
>
> > I guess the solution I'm looking for is "when a window that has focus dies,
> > focus should be set on the window, on the current desktop, that most
> > recently had focus". Can anyone offer a hint as to how I might get this to
> > work?
>
> > [SNIP]
> 
> This is with click-to-focus windows, I presume? I can't seem to reproduce
> this with current CVS versions.

Apologies, yes, this is with click-to-focus.

> You may want to try messing with the window-close-hook. You could check to
> see if the window is the (current-window-with-focus) and if so re-assign
> focus by whatever policy you wish. You may want to do something like:
> 
> (focus (car (list-windows #:by-focus #t)))
> 
> in that hook (after checking that the window closed had the focus).

This is pretty much what I tried with `X-DestroyNotify-hook' (with the
addition that I used a predicate to ensure that the windows listed were on
the same desktop), I don't think the copy of scwm I was using had
`window-close-hook' (or it wasn't in the docs or (more likely) I didn't
notice it). I'll have a play with this.

> If you can, try out the latest pre-release of scwm-0.99.2 (or wait until
> tomorrow for scwm-0.99.2) and see if you can file a complete bug report
> against that (we may already have fixed the problem).

I've now built and installed scwm-0.99.2 (from a tarball) and the same
"problem" occurs. What sort of information would make for a "complete bug
report"?

-- 
Take a look in Hagbard's World: |   w3ng - The WWW Norton Guide reader.
http://www.acemake.com/hagbard/ |     eg - Norton Guide reader for Linux.
http://www.hagbard.demon.co.uk/ |    weg - Norton Guide reader for Windows.
Free software, including........| dgscan - DGROUP scanner for Clipper.

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 08:01:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id IAA28722
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 08:01:08 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from finch-post-12.mail.demon.net (finch-post-12.mail.demon.net [194.217.242.41])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id IAA28719
	for <scwm-discuss@scwm.mit.edu>; Tue, 14 Sep 1999 08:01:02 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by finch-post-12.mail.demon.net with esmtp (Exim 2.12 #1)
	id 11QrGZ-000LNx-0C
	for scwm-discuss@scwm.mit.edu; Tue, 14 Sep 1999 12:00:56 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id NAA07000
	for scwm-discuss@scwm.mit.edu; Tue, 14 Sep 1999 13:00:02 +0100
Date: Tue, 14 Sep 1999 13:00:02 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: window-close-hook
Message-ID: <19990914130002.A6867@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <19990913183046.C12576@hagbard.demon.co.uk> <qrrvh9exyq3.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrrvh9exyq3.fsf@elwha.cs.washington.edu>; from Greg Badros on Mon, Sep 13, 1999 at 02:56:04PM -0700
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Boomtime, Day 38 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Mon, Sep 13, 1999 at 02:56:04PM -0700, Greg Badros wrote:

> You may want to try messing with the window-close-hook. You could check to
> see if the window is the (current-window-with-focus) and if so re-assign
> focus by whatever policy you wish. 

I've just been trying to have a play with this and noticed that, at least
during my tests, `current-window-with-focus' always seems to return #f when
inside `window-close-hook'.

> You may want to do something like:
> 
> (focus (car (list-windows #:by-focus #t)))
> 
> in that hook (after checking that the window closed had the focus).

The code I've been playing with looks like:

-- cut here ----------------------------------------------------------------
(define dp:focus-history-on-this-desktop
  (lambda ()
    "Return the focus history list for this desktop."
    (list-windows #:by-focus #t #:only on-current-desk?)))

(define dp:last-had-focus-on-this-desktop
  (lambda ()
    "Return the window that last had focus on this desktop."
    (let ((windows (dp:focus-history-on-this-desktop)))
      (cond ((zero? (length windows))
             windows)
            ((= (length windows) 1)
             (car windows))
            (else
             (cadr windows))))))

(add-hook! window-close-hook
           (lambda (closing)
             (if (eq? closing (current-window-with-focus))
                 (let ((new (dp:last-had-focus-on-this-desktop)))
                   (if new
                       (focus new))))))
-- cut here ----------------------------------------------------------------

Unfortunately, because `current-window-with-focus' seems to be failing in
the hook the test against `closing' always fails.

However, if I do something like:

-- cut here ----------------------------------------------------------------
(add-hook! window-close-hook
           (lambda (closing)
             (focus (dp:last-had-focus-on-this-desktop))))
-- cut here ----------------------------------------------------------------

I find that I'm left with no windows with focus. If I display the value of
`dp:last-had-focus-on-this-desktop' in the hook it is picking up the window
I want focus to go to.

Can anyone see where I'm going wrong?

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 10:46:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA28912
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 10:46:43 -0400
Received: from vh213601.truman.edu ([150.243.160.32])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA28909
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 14 Sep 1999 10:46:24 -0400
Received: (from jay@localhost)
	by vh213601.truman.edu (8.9.3/8.9.3) id JAA17962;
	Tue, 14 Sep 1999 09:42:50 -0500
Date: Tue, 14 Sep 1999 09:42:50 -0500
Message-Id: <199909141442.JAA17962@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
From: Jay Belanger <jay@vh213601.truman.edu>
To: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 13 Sep 1999 16:43:24 -0700)
Subject: Re: Last pre-release: scwm-0.99.2pre11
References:  <qrru2oyxtr7.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> I've just made what I hope to be the last pre-release of scwm-0.99.2;
> this has dragged on a long time, but we've found a lot of problems in
> the process so hopefully it was worth it.
> 
> I would love it if you're able to try out the various packages available 
> at:
> 
> ftp://upintheair.cs.washington.edu/pub/scwm/

Got it, using it, appreciate it.  Thanks!

> If you get the problem with "quote undefined", use the new option to
> scwm "--no-document-formals" if you just want to get it to run, or poke
> around if you want to help figure out what is wrong.

Well, I need to use the new option to get things to work, but what is
lost by using this option?

> Please report successes as well as failures.  If all goes well, I'd like 
> to turn the distribution into 0.99.2 tomorrow and make some wider
> announcements and put all the packages up on the Scwm web page.

Well, the Gnome panel is inaccessible.  It's there, but clicking on it
does nothing.  Also, parts of some icons on the panel were temporarily
covered, and the were never re-drawn. 

Jay

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 11:02:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA28947
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 11:02:19 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA28943
	for <scwm-discuss@scwm.mit.edu>; Tue, 14 Sep 1999 11:02:05 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11Qu5h-001KymC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@scwm.mit.edu; Tue, 14 Sep 1999 11:01:53 -0400 (EDT) 
Message-Id: <m11Qu5h-001KymC@localhost>
Date: Tue, 14 Sep 1999 11:01:53 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: scwm-discuss@scwm.mit.edu
CC: bob@rattlesnake.com
In-reply-to: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 13 Sep 1999 16:43:24 -0700)
Subject: report successes ... 0.99.2pre11
Reply-to: bob@rattlesnake.com
References:  <qrru2oyxtr7.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

    Please report successes as well as failures.  

Here goes: 

    using 0.99.2pre11        which I got from CVS and built this morning
    Debian 2.1, guile 1.3.2
    
  * using system.scwmrc

    Works fine on a short test, after fixing a bug in the Preferences
    menu for which a lambda expression is now required for
    window-info.  

    Only problem is that I could not figure out how to convert the
    lambda tiled background to a solid color by clicking on a menu
    entry.

  * using spare-blue.scwmrc    (a .scwmrc file I wrote that should
                                appear in the SCWM samples directory 
                                sooner or later; a simple layout)

    Works fine on a short test, after fixing the bug in the Preferences
    menu as with system.scwmrc, regarding which I sent gjb a message
    this morning (but did not realize the problem was more general).

Success reports are kind of dull, aren't they?  :-)


OK, here are two suggestions that I hope are not so dull:
                                   

1.  Current major need:  a pointer to a sample .scwmrc file that shows
    lots of eye-candy -- the opposite of my `spare-blue' .scwmrc file.
    (Perhaps a `rococo-red.scwmrc' file? :)  Model this on
    Enlightenment: provide everything Englightenment does, and then
    some ....

    Perhaps various people on this list could come up with
    particulars, such as 

    -- rococo pixmaps for icons;

    -- a variety of background images, some cheerful, some soothing,
       some X-rated, some spooky;

    -- a selection of solid colors for the backgrounds, some pleasant,
       some that lead you to say immediately `No, I don't want that!';

    -- a button/icon list of activities such that lots of icons sit on
       one side of the screen so people need only point and click for
       the app to start (rather than press a mouse button for a menu,
       then select an entry and click again; or type in a command at
       an xterm).  Lots of apps .... :)    (maybe all from the Gnome project?)

    The goal is to go a bit overboard.

    (Hmmm... maybe it would be a good idea to create several simple,
    clear .scwmrc files, in addition to spare-blue, as compensation.)

    Naturally, the rococo style would what every newsreport would talk
    about, so such a style should include an icon (as well as a menu
    entry) that lets you easily convert to some other or several other
    looks.  This way, most stories will say that `as a practical
    matter, the designers of SCWM expect that serious users will use
    simpler, less gaudy themes, and have made it easy to switch to
    them, by placing a button to do just that on every desktop'.


2.  Major need for release 1.0:  a configuration tool that writes a
    humanly readable .scwmrc file when a person picks the various
    elements from menus or slide bars.

    The Preferences menu is not enough!

    This configuration tool would take SCWM out of the ghetto of `only
    for really smart nerds' and into the realm of `everyone'.

    The scwm configuration tool should be able to insert easily
    understandable code into an existing, humanly written .scwmrc
    file, if one exists, and a user should be able either to update
    the file by editing it manually or by using this configuration
    tool.

    Yes, such a scwm-conf tool would only provide a subset of what
    scwm can do, but most people will stick to such a subset.  The
    tool should do everything the Enlightment conf tool, e-conf, and
    the Gnome conf tool, gnomecc, do combined.

    For example the scwm-conf entry for window style should include
    (for both individual windows and for all windows):

        * slider to set width of window-border

        * slider to set height of  title bar

        * menus to set image, texture, or
          color of each part: title, border, body, corners

        * menus to specify buttons on the title bar: looks, colors, actions

        * choice  of focus policy

        * whether to show an icon if iconified

        * whether to autoraise
            and if so,     autoraise-delay

    and so on.


Both of these would also provide more testing for SCWM itself.
Doubtless, issues would come up.  These are better found now than
later.

If a rococo .scwmrc file or a scwm-conf tool already exist, a top
level README file needs to point to them!  I have not found either.

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 11:03:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA28958
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 11:03:13 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA28955
	for <scwm-discuss@scwm.mit.edu>; Tue, 14 Sep 1999 11:03:10 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA12453; Tue, 14 Sep 1999 08:03:05 -0700 (PDT)
To: Stephen Tse <stephent@sfu.ca>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: new scwm.el patch
References: <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com> <qrryaea7r9g.fsf@elwha.cs.washington.edu> <87k8puvv2y.fsf_-_@cr610941-a.rct1.bc.wave.home.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Sep 1999 08:03:04 -0700
In-Reply-To: Stephen Tse's message of "13 Sep 1999 23:57:41 -0700"
Message-ID: <qrrhfkxy1qv.fsf@elwha.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tse <stephent@sfu.ca> writes:

> --Multipart_Mon_Sep_13_23:57:41_1999-1
> Content-Type: text/plain; charset=US-ASCII
> 
> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > Using XEmacs 21.1.  I have no time right now to look at the font-lock
> > code to see what it's expecting--- do you see the problem?
> 
> 
> My original patch was against scwm.el v1.58 in scwm 0.99. scwm.el
> surely has changed a lot since then. Here is a new patch against the
> file v1.83 in cvs. Tell me if it works.

This one works great for me!  I'm putting it in-- I am all for nice
hacks that work... this provides functionality that is very useful and
welcome.

But, please do push a bit on scheme.el maintainers or the guile folks
for creating a guile-mode so that in the long run the code can go in a
more apropriate place.

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 11:08:48 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA29006
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 11:08:48 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA29002
	for <scwm-discuss@scwm.mit.edu>; Tue, 14 Sep 1999 11:08:42 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1)
	id 11QuCE-000LB8-0A
	for scwm-discuss@scwm.mit.edu; Tue, 14 Sep 1999 15:08:38 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id QAA09791
	for scwm-discuss@scwm.mit.edu; Tue, 14 Sep 1999 16:06:31 +0100
Date: Tue, 14 Sep 1999 16:06:31 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Menu "quick key" bug
Message-ID: <19990914160631.A9412@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6i
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Boomtime, Day 38 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I just noticed a little oddity when using "&" to mark a "quick key" in a
menu. Given the following `menuitem':

,----
| (menuitem "scwm &configuration"
|               #:action (lambda ()
|                          (execute "emacs ~/.scwmrc")))
`----

the menu is drawn with the underline under the "c" in "scwm", not the "c" in
"configuration".

-- 
Take a look in Hagbard's World: |   w3ng - The WWW Norton Guide reader.
http://www.acemake.com/hagbard/ |     eg - Norton Guide reader for Linux.
http://www.hagbard.demon.co.uk/ |    weg - Norton Guide reader for Windows.
Free software, including........| dgscan - DGROUP scanner for Clipper.

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 11:14:45 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA29088
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 11:14:45 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA29085
	for <scwm-discuss@scwm.mit.edu>; Tue, 14 Sep 1999 11:14:39 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA12459; Tue, 14 Sep 1999 08:10:23 -0700 (PDT)
To: Dave Pearson <davep@hagbard.demon.co.uk>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Focus when a window dies
References: <19990913183046.C12576@hagbard.demon.co.uk> <qrrvh9exyq3.fsf@elwha.cs.washington.edu> <19990914105303.A4839@hagbard.demon.co.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Sep 1999 08:10:22 -0700
In-Reply-To: Dave Pearson's message of "Tue, 14 Sep 1999 10:53:03 +0100"
Message-ID: <qrremg1y1ep.fsf@elwha.cs.washington.edu>
Lines: 38
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dave Pearson <davep@hagbard.demon.co.uk> writes:

<snip>

> Apologies, yes, this is with click-to-focus.
> 
> > You may want to try messing with the window-close-hook. You could check to
> > see if the window is the (current-window-with-focus) and if so re-assign
> > focus by whatever policy you wish. You may want to do something like:
> > 
> > (focus (car (list-windows #:by-focus #t)))
> > 
> > in that hook (after checking that the window closed had the focus).
> 
> This is pretty much what I tried with `X-DestroyNotify-hook' (with the
> addition that I used a predicate to ensure that the windows listed were on
> the same desktop), I don't think the copy of scwm I was using had
> `window-close-hook' (or it wasn't in the docs or (more likely) I didn't
> notice it). I'll have a play with this.

Looking at the C code, it seems that X-UnmapNotify-hook is invoked
before the focus is forgotten, so maybe that will work.  (Yes, these
need to be better documented so you don't have to look at the C code--
documentation patches are always very welcome!).

> > If you can, try out the latest pre-release of scwm-0.99.2 (or wait until
> > tomorrow for scwm-0.99.2) and see if you can file a complete bug report
> > against that (we may already have fixed the problem).
> 
> I've now built and installed scwm-0.99.2 (from a tarball) and the same
> "problem" occurs. What sort of information would make for a "complete bug
> report"?

See BUG-REPORTING in the distribution.

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 11:25:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA29261
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 11:25:44 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA29255
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 14 Sep 1999 11:25:41 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA12484; Tue, 14 Sep 1999 08:25:27 -0700 (PDT)
To: Jay Belanger <jay@vh213601.truman.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Last pre-release: scwm-0.99.2pre11
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Sep 1999 08:25:26 -0700
In-Reply-To: Jay Belanger's message of "Tue, 14 Sep 1999 09:42:50 -0500"
Message-ID: <qrraeqpy0pl.fsf@elwha.cs.washington.edu>
Lines: 39
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jay Belanger <jay@vh213601.truman.edu> writes:

> > I've just made what I hope to be the last pre-release of scwm-0.99.2;
> > this has dragged on a long time, but we've found a lot of problems in
> > the process so hopefully it was worth it.
> > 
> > I would love it if you're able to try out the various packages available 
> > at:
> > 
> > ftp://upintheair.cs.washington.edu/pub/scwm/
> 
> Got it, using it, appreciate it.  Thanks!
> 
> > If you get the problem with "quote undefined", use the new option to
> > scwm "--no-document-formals" if you just want to get it to run, or poke
> > around if you want to help figure out what is wrong.
> 
> Well, I need to use the new option to get things to work, but what is
> lost by using this option?

Just the documentation attached to primitives regarding the names of the 
formal arguments.  It's only an issue if you're using (perhaps
indirectly) the new reflection module.  Not a big deal at all right now, 
but will matter more down the road (but hopefully I'll have the
undefined quote problem figured out by then).

> > Please report successes as well as failures.  If all goes well, I'd like 
> > to turn the distribution into 0.99.2 tomorrow and make some wider
> > announcements and put all the packages up on the Scwm web page.
> 
> Well, the Gnome panel is inaccessible.  It's there, but clicking on it
> does nothing.  Also, parts of some icons on the panel were temporarily
> covered, and the were never re-drawn. 

Sounds like the gnome panel process has gotten confused -- try killing
it then see if things get better (Scwm works great with the panel for me!)

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 11:31:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA29370
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 11:31:36 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA29367
	for <scwm-discuss@scwm.mit.edu>; Tue, 14 Sep 1999 11:31:33 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA12487; Tue, 14 Sep 1999 08:30:54 -0700 (PDT)
To: Dave Pearson <davep@hagbard.demon.co.uk>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Menu "quick key" bug
References: <19990914160631.A9412@hagbard.demon.co.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Sep 1999 08:30:53 -0700
In-Reply-To: Dave Pearson's message of "Tue, 14 Sep 1999 16:06:31 +0100"
Message-ID: <qrr9069y0gi.fsf@elwha.cs.washington.edu>
Lines: 29
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dave Pearson <davep@hagbard.demon.co.uk> writes:

> I just noticed a little oddity when using "&" to mark a "quick key" in a
> menu. Given the following `menuitem':
> 
> ,----
> | (menuitem "scwm &configuration"
> |               #:action (lambda ()
> |                          (execute "emacs ~/.scwmrc")))
> `----
> 
> the menu is drawn with the underline under the "c" in "scwm", not the "c" in
> "configuration".

Ummm... it's a feature, not a bug! :-)

The issue is that the C code only sees a list of hotkey preferences --
the menuitem scheme procedure tells the make-menuitem C primitive the
label "scwm configuration" and the list of hotkey preferences "c".  The
C code then draws under the first C it finds if that hotkey is
available.

I'd probably take a patch to change this if it still let multiple
shortcut keys be specified for a single menuitem (that functionality is
useful when you're building menus dynamically).

Thanks for the report!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 11:40:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA29512
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 11:40:51 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA29509
	for <scwm-discuss@scwm.mit.edu>; Tue, 14 Sep 1999 11:40:45 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA12491; Tue, 14 Sep 1999 08:40:39 -0700 (PDT)
To: bob@rattlesnake.com
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: report successes ... 0.99.2pre11
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <m11Qu5h-001KymC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Sep 1999 08:40:39 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Tue, 14 Sep 1999 11:01:53 -0400 (EDT)"
Message-ID: <qrr7llty008.fsf@elwha.cs.washington.edu>
Lines: 86
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Robert J. Chassell" <bob@rattlesnake.com> writes:

>     Please report successes as well as failures.  
> 
> Here goes: 
> 
>     using 0.99.2pre11        which I got from CVS and built this morning
>     Debian 2.1, guile 1.3.2
>     
>   * using system.scwmrc
> 
>     Works fine on a short test, after fixing a bug in the Preferences
>     menu for which a lambda expression is now required for
>     window-info.  

I don't see this bug, as I wrote privately.  The window-info takes an
optional window, so it prompts for the window after the menuitem is
selected. 

>     Only problem is that I could not figure out how to convert the
>     lambda tiled background to a solid color by clicking on a menu
>     entry.

Good point.  I just use the GNOME right-click menu to "Configure
background image", but it'd be nice if Scwm did it on its own.

>   * using spare-blue.scwmrc    (a .scwmrc file I wrote that should
>                                 appear in the SCWM samples directory 
>                                 sooner or later; a simple layout)
> 
>     Works fine on a short test, after fixing the bug in the Preferences
>     menu as with system.scwmrc, regarding which I sent gjb a message
>     this morning (but did not realize the problem was more general).
> 
> Success reports are kind of dull, aren't they?  :-)

But a joy to read! :-)

> OK, here are two suggestions that I hope are not so dull:
>                                    
> 
> 1.  Current major need:  a pointer to a sample .scwmrc file that shows
>     lots of eye-candy -- the opposite of my `spare-blue' .scwmrc file.
>     (Perhaps a `rococo-red.scwmrc' file? :)  Model this on
>     Enlightenment: provide everything Englightenment does, and then
>     some ....

<snip>

This all would be nice... I'll certainly take fancy .scwmrc-s.  Maybe we 
can have a little contest for coolest theme, as suggested before...

> 2.  Major need for release 1.0:  a configuration tool that writes a
>     humanly readable .scwmrc file when a person picks the various
>     elements from menus or slide bars.
> 
>     The Preferences menu is not enough!

What about the "Scwm Options..." dialog that is launched from the
preferences menu.   

<snip>

>     For example the scwm-conf entry for window style should include
>     (for both individual windows and for all windows):

There's the stylist module right now-- I want to make it work a bit more 
like the preferences stuff so that it combines the pieces of various
configuration options from all over the place and makes a useful
configuration dialog.

<snip>

> If a rococo .scwmrc file or a scwm-conf tool already exist, a top
> level README file needs to point to them!  I have not found either.

utilities/misc/scwm-conf is installed by default (it just launches the
scwm-options-dialog).  It's also accessible via the standard preferences
menu.  And it's mentioned in README-Gnome for configuring Scwm to work
with Gnome.

It's output is human-readable, though not really enjoyable to read
because of some module issues.  See your ~/.scwm-options file after
running scwm-conf.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 12:27:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA29944
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 12:27:19 -0400
Received: from vh213601.truman.edu ([150.243.160.32])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA29941
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 14 Sep 1999 12:27:16 -0400
Received: (from jay@localhost)
	by vh213601.truman.edu (8.9.3/8.9.3) id LAA19039;
	Tue, 14 Sep 1999 11:24:08 -0500
Date: Tue, 14 Sep 1999 11:24:08 -0500
Message-Id: <199909141624.LAA19039@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
From: Jay Belanger <jay@vh213601.truman.edu>
To: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrraeqpy0pl.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 14 Sep 1999 08:25:26 -0700)
Subject: Re: Last pre-release: scwm-0.99.2pre11
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

> > Well, the Gnome panel is inaccessible.  It's there, but clicking on it
> > does nothing.  Also, parts of some icons on the panel were temporarily
> > covered, and the were never re-drawn. 
> 
> Sounds like the gnome panel process has gotten confused -- try killing
> it then see if things get better (Scwm works great with the panel for me!)

Well, I got the latest compiled packages from upintheair (I had been
getting the SPRMS and recompiling, but that shouldn't matter), and
installed them.  Now the panel works fine, but ...
The gnomepager won't start.  When I try to start it, I get a message
suggesting that I try enlightenment.  (I have a suggestion for whoever
put that in...)
When I slide the panel to the side, the cursor becomes a "keep on top"
black ball.  I had this problem before, but only when I was running
gnome-session (I have since taken to merely using the gnome panel,
etc., without gnome-session.)  

Do you use the gnome rpms, and if so, which ones?  I've been using all
the latest gnome packages, but I've been getting the tarballs and
doing a rpm -tb package.

Jay

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 12:43:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA30028
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 12:43:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA30025
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 14 Sep 1999 12:43:08 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id SAA03571
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 14 Sep 1999 18:43:01 +0200 (MET DST)
Date: Tue, 14 Sep 1999 18:43:00 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@SCWM.MIT.EDU
Subject: scwm-0.99.2pre11 : configure --disable-imlibtest
Message-ID: <19990914184300.A6811@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

with  scwm-0.99.2pre11 ,     ./configure --prefix=/udd/canon --with-gnu-ld --with-x --disable-esd --disable-esdtest --disable-gtktest --disable-imlibtest --disable-imlib --without-cassowary

tries to test imlib :

checking for imlib-config... no
checking for IMLIB - version >= 1.8.2... no
*** The imlib-config script installed by IMLIB could not be found
*** If IMLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the IMLIB_CONFIG environment variable to the
*** full path to imlib-config.
Not using imlib due to --disable-imlib option



-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 13:25:25 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA30265
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 13:25:25 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tequila.cs.yale.edu (TEQUILA.CS.YALE.EDU [128.36.229.152])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA30262
	for <scwm-discuss@scwm.mit.edu>; Tue, 14 Sep 1999 13:25:21 -0400
Received: from tequila.cs.yale.edu (localhost [127.0.0.1])
	by tequila.cs.yale.edu (8.9.3/8.9.3) with SMTP id NAA09692
	for <scwm-discuss@scwm.mit.edu>; Tue, 14 Sep 1999 13:25:10 -0400
To: scwm-discuss@scwm.mit.edu
From: "Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu>
Newsgroups: lists.scwm.discuss
Subject: Re: scwm.el patch
References: <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com>
Date: 14 Sep 1999 13:21:40 -0400
Message-ID: <5lwvtt9zob.fsf@tequila.cs.yale.edu>
Lines: 25
X-Newsreader: Gnus v5.7/Emacs 20.4
Path: tequila.cs.yale.edu
NNTP-Posting-Host: tequila.cs.yale.edu
X-Trace: 14 Sep 1999 13:21:42 -0500, tequila.cs.yale.edu
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> "Stephen" == Stephen Tse <stephent@sfu.ca> writes:
> +  ;; Modify scheme-mode-syntax-table in order to support multi-line comment
> +  ;; syntax. Use comment style b because syntax a (default) is screwed by
> +  ;; newline \n. (tse)

It is not "screwed" by anything.
It's just that comment-syntax a is already used for `;<...>\n' comments.

> +       ;; In order to support new multi-line comment syntax #! COMMENTS !#
> +       ;; from guile, we cannot use font-lock-defaults of scheme-mode,
> +       ;; defined in font-lock.el. Instead we copy it to here and remove
> +       ;; (?! . "w") from it. (tse)
>         (put 'scwm-mode 'font-lock-defaults
> -            (get 'scheme-mode 'font-lock-defaults)))
> +	    '(scheme-font-lock-keywords
> +	      nil t
> +	      ((?: . "w") (?- . "w") (?* . "w") (?+ . "w") (?. . "w") (?< . "w")
> +	       (?> . "w") (?= . "w") (?? . "w") (?$ . "w") (?% . "w")
> +	       (?_ . "w") (?& . "w") (?~ . "w") (?^ . "w") (?/ . "w"))
> +	      beginning-of-defun)))

You should not remove `(?! . "w")' but replace it with `(?! . "w 23b")'


	Stefan

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 13:38:17 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA30406
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 13:38:17 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from cr610941-a.rct1.bc.wave.home.com (cr610941-a.rct1.bc.wave.home.com [24.113.76.219])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA30403
	for <scwm-discuss@scwm.mit.edu>; Tue, 14 Sep 1999 13:38:11 -0400
Received: from root by cr610941-a.rct1.bc.wave.home.com with local (Exim 3.03 #1 (Debian))
	id 11QwWY-0003Iw-00; Tue, 14 Sep 1999 10:37:46 -0700
X-Uptime:  10:37am  up 7 days, 18:27,  3 users,  load average: 0.01, 0.11, 0.15
X-OS: Linux cr610941-a 2.2.11 #2 Mon Sep 6 15:40:58 PDT 1999 i586 unknown
X-Homepage: http://www.sfu.ca/~stephent
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: new scwm.el patch
References: <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com> <qrryaea7r9g.fsf@elwha.cs.washington.edu> <87k8puvv2y.fsf_-_@cr610941-a.rct1.bc.wave.home.com> <qrrhfkxy1qv.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Stephen Tse <stephent@sfu.ca>
Date: 14 Sep 1999 10:37:46 -0700
In-Reply-To: Greg Badros's message of "14 Sep 1999 08:03:04 -0700"
Message-ID: <87n1upv1g5.fsf@cr610941-a.rct1.bc.wave.home.com>
Lines: 34
X-Mailer: Gnus v5.6.45/XEmacs 21.2 - "Shinjuku"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Stephen Tse <stephent@sfu.ca> writes:
> 
> > --Multipart_Mon_Sep_13_23:57:41_1999-1
> > Content-Type: text/plain; charset=US-ASCII
> > 
> > Greg Badros <gjb@cs.washington.edu> writes:
> > 
> > > Using XEmacs 21.1.  I have no time right now to look at the font-lock
> > > code to see what it's expecting--- do you see the problem?
> > 
> > 
> > My original patch was against scwm.el v1.58 in scwm 0.99. scwm.el
> > surely has changed a lot since then. Here is a new patch against the
> > file v1.83 in cvs. Tell me if it works.
> 
> This one works great for me!  I'm putting it in-- I am all for nice
> hacks that work... this provides functionality that is very useful and
> welcome.
> 
> But, please do push a bit on scheme.el maintainers or the guile folks
> for creating a guile-mode so that in the long run the code can go in a
> more apropriate place.


Glad to hear that.


May I ask you a question that is slightly out of topic? I am eager to
help wm development, but beyond icccm manual, what resources
(books/url/manuals...) should I read to gain more ideas and
knowledges? I'm fine with reading source code ;) but I want some
descriptive texts.

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 15:42:45 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA30987
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 15:42:45 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA30984
	for <scwm-discuss@scwm.mit.edu>; Tue, 14 Sep 1999 15:42:40 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA13006; Tue, 14 Sep 1999 12:42:34 -0700 (PDT)
To: Stephen Tse <stephent@sfu.ca>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: new scwm.el patch
References: <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com> <qrryaea7r9g.fsf@elwha.cs.washington.edu> <87k8puvv2y.fsf_-_@cr610941-a.rct1.bc.wave.home.com> <qrrhfkxy1qv.fsf@elwha.cs.washington.edu> <87n1upv1g5.fsf@cr610941-a.rct1.bc.wave.home.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Sep 1999 12:42:34 -0700
In-Reply-To: Stephen Tse's message of "14 Sep 1999 10:37:46 -0700"
Message-ID: <qrrpuzlwa8l.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tse <stephent@sfu.ca> writes:

> Glad to hear that.
> 
> 
> May I ask you a question that is slightly out of topic? I am eager to
> help wm development, but beyond icccm manual, what resources
> (books/url/manuals...) should I read to gain more ideas and
> knowledges? I'm fine with reading source code ;) but I want some
> descriptive texts.

What areas interest you the most in contributing in?  If you have a
couple ideas of what projects you might want to work on, I'll happily
help point you in the right direction.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 17:29:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA31357
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 17:29:19 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA31354
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 14 Sep 1999 17:29:14 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA13190; Tue, 14 Sep 1999 14:29:09 -0700 (PDT)
To: Jay Belanger <jay@vh213601.truman.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Last pre-release: scwm-0.99.2pre11
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Sep 1999 14:29:08 -0700
In-Reply-To: Jay Belanger's message of "Tue, 14 Sep 1999 11:24:08 -0500"
Message-ID: <qrrlna9w5az.fsf@elwha.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jay Belanger <jay@vh213601.truman.edu> writes:

> > > Well, the Gnome panel is inaccessible.  It's there, but clicking on it
> > > does nothing.  Also, parts of some icons on the panel were temporarily
> > > covered, and the were never re-drawn. 
> > 
> > Sounds like the gnome panel process has gotten confused -- try killing
> > it then see if things get better (Scwm works great with the panel for me!)
> 
> Well, I got the latest compiled packages from upintheair (I had been
> getting the SPRMS and recompiling, but that shouldn't matter), and
> installed them.  Now the panel works fine, but ...
> The gnomepager won't start.  When I try to start it, I get a message
> suggesting that I try enlightenment.  (I have a suggestion for whoever
> put that in...)

Ok, I think I've fixed it.  Maybe we should pop up a message offering to 
delete enlightenment from the hard drive! :-)

> When I slide the panel to the side, the cursor becomes a "keep on top"
> black ball.  I had this problem before, but only when I was running
> gnome-session (I have since taken to merely using the gnome panel,
> etc., without gnome-session.)  

Also fixed now, thanks!

> Do you use the gnome rpms, and if so, which ones?  I've been using all
> the latest gnome packages, but I've been getting the tarballs and
> doing a rpm -tb package.

I use RH6 and have upgraded whatever RH had in their updates directory.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 19:12:45 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA09651
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 19:12:45 -0400
Received: from vh213601.truman.edu ([150.243.160.32])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA09612
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 14 Sep 1999 19:12:29 -0400
Received: (from jay@localhost)
	by vh213601.truman.edu (8.9.3/8.9.3) id SAA01374;
	Tue, 14 Sep 1999 18:09:19 -0500
Date: Tue, 14 Sep 1999 18:09:19 -0500
Message-Id: <199909142309.SAA01374@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
From: Jay Belanger <jay@vh213601.truman.edu>
To: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrrlna9w5az.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 14 Sep 1999 14:29:08 -0700)
Subject: Re: Last pre-release: scwm-0.99.2pre11
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> Ok, I think I've fixed it.  Maybe we should pop up a message offering to 
> delete enlightenment from the hard drive! :-)

Great!  Is that going to be in scwm-1.0?

> Also fixed now, thanks!

Well, scwm seems to work great now.  It even wins the scwm-pager race!
However, while the panel is now accessible, clicking on the pager
doesn't change workspaces.  (Doesn't bother me, but I thought it was
worth mentioning.)  Right now, I'm really happy with the way it's
working ... kudos!!

Jay

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 19:51:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA12905
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 19:51:51 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA12893
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 14 Sep 1999 19:51:13 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA13417; Tue, 14 Sep 1999 16:50:51 -0700 (PDT)
To: Jay Belanger <jay@vh213601.truman.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Last pre-release: scwm-0.99.2pre11
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Sep 1999 16:50:50 -0700
In-Reply-To: Jay Belanger's message of "Tue, 14 Sep 1999 18:09:19 -0500"
Message-ID: <qrrhfkxvyqt.fsf@elwha.cs.washington.edu>
Lines: 22
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jay Belanger <jay@vh213601.truman.edu> writes:

> > Ok, I think I've fixed it.  Maybe we should pop up a message offering to 
> > delete enlightenment from the hard drive! :-)
> 
> Great!  Is that going to be in scwm-1.0?

:-)

> 
> > Also fixed now, thanks!
> 
> Well, scwm seems to work great now.  It even wins the scwm-pager race!
> However, while the panel is now accessible, clicking on the pager
> doesn't change workspaces.  (Doesn't bother me, but I thought it was
> worth mentioning.)  Right now, I'm really happy with the way it's
> working ... kudos!!

Yes, I know about this but thought it more important to get the release
out now.  It's really close and should be out before I leave today.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 14 21:05:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA21217
	for scwm-discuss-outgoing; Tue, 14 Sep 1999 21:05:44 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA21206;
	Tue, 14 Sep 1999 21:05:16 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id SAA13503; Tue, 14 Sep 1999 18:05:05 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu, scwm-announce@scwm.mit.edu,
        scwm-users@scwm.mit.edu
Subject: Scwm-0.99.2 is released!
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Sep 1999 18:05:05 -0700
Message-ID: <qrrd7vlvvb2.fsf@elwha.cs.washington.edu>
Lines: 83
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Scwm 0.99.2 is released.

* What Scwm is:

Scwm is the Scheme Constraints Window Manager. This is a highly
dynamic and extensible window manager and scripting facility for the X
Window System (based originally on fvwm2, but now much enhanced) with
Guile Scheme as the configuration/extension language. Nearly all
decorations can be changed at run-time or per-window, and eventually
many decoration styles and additional features will be supported
through dynamically loaded code. A powerful protocol is provided for
interacting with the window manager while it is running.


* Primary Authors:

Greg J. Badros <gjb@cs.washington.edu>
Maciej Stachowiak <mstachow@alum.mit.edu> 

Other substantial contributors include:
  Robert Bihlmeyer <robbe@orcus.priv.at>, 
  Todd Larason <jtl@molehill.org>, 
  Jeff Nichols <jwnichls@cs.washington.edu>, and
  Sam Steingold <sds@goems.com>.

Many more people have contributed bug reports, bug fixes, or smaller
changes; see AUTHORS and THANKS in the distribution.

* Where you can find more info:

Some information about scwm is available at:

http://scwm.mit.edu/

There are also scwm-discuss@scwm.mit.edu and
scwm-announce@scwm.mit.edu mailing lists for disscussion and
release announcements repsectively. The new list
scwm-commits@scwm.mit.edu receives all scwm CVS commit messages.
You can subscribe to any of these at majordomo@scwm.mit.edu by
sending a message with a body of "subscribe <list>" where <list> is
the name of the list you want.

* Where you can get it:

You can download the latest scwm source package from:

ftp://scwm.mit.edu/pub/scwm/scwm-0.99.2.tar.gz

There is also
ftp://scwm.mit.edu/pub/scwm/scwm-icons-0.99.2.tar.gz

which has a number of images for use with scwm as icons, textures,
buttons, etc. Some of these images are not available otherwise.

You will also need to download and install the guile library. You can
get the latest release from:

ftp://prep.ai.mit.edu/pub/gnu/guile

or any archive that has GNU source packages available.

You can get the latest guile snapshot from:

http://www.gnu.org/software/guile/guile.html

The snapshots are officially alpha but they generally work pretty
well; however, 1.3.2a is reccomended for now since it is the most 
recent. Guile 1.2 is no longer supported.


* Packages

Various binary RPMs are available at:

ftp://scwm.mit.edu/pub/scwm/RPMS/

Various source RPMs are available at:

ftp://scwm.mit.edu/pub/scwm/SRPMS

See the NEWS file in the distribution for a complete list
of all that has changed since the previous version of Scwm.


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 00:18:09 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA21772
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 00:18:09 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA21769
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Sep 1999 00:18:04 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA13642; Tue, 14 Sep 1999 21:18:00 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: Slashdot story draft..
From: Greg Badros <gjb@cs.washington.edu>
Date: 14 Sep 1999 21:17:59 -0700
Message-ID: <qrraeqox0y0.fsf@elwha.cs.washington.edu>
Lines: 50
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

The below is a draft of a story I'm planning on submitting to slashdot.
I'd appreciate any feedback you folks may have.  I've never submitted a
story there before, so all kinds of advice is welcome.

Thanks!

Greg



The Scheme Constraints Window Manager v0.99.2 was released late Tuesday
afternoon, 14-September-1999.  Scwm is free X11 window manager developed
using GNU/Linux for it and other Unix-like platforms.  The 0.99.2
release is the first release from the authors, Greg J. Badros and Maciej
Stachowiak, since January 1999, and improvements abound!

Scwm uses GNU Guile Scheme as its configuration and scripting language.
This makes Scwm incredibly programmable---truly the Emacs of Window
Managers... the ultimate window manager for the hacker and wannabe hacker!

In addition to the fantastic extension language, Scwm provides nearly
all the features of all other window managers combined.  Included in
this impressive list are Gnome-compliance, KDE compliance, per-window
decoration themes, completely configurable window behaviour, extensible
GUI configuration (via embedded GTk+) of user parameters,
highly-integrated and complete reference documentation, an Emacs
scwm-mode for interactive configuration and programming, window
movement/resizing/shading animations, an XTest extension, an interface
to esound, integration with fvwm2 modules, a Corba server, access to
libproplist databases, and much more!

Most notable in Scwm is its constraint solver to permit sophisticated
desires regarding window layout to be specified interactively, then
maintained by the window manager.  Scwm embeds Cassowary, a constraint
solver developed at the University of Washington by Badros and his
advisor, long-time constraints researcher Dr. Alan Borning.  Cassowary
enables Scwm to maintain arbitrary linear constraint relationships among
the windows.  For example, it can keep an Emacs window and an XTerm
window tiled along the left edge of the screen, can ensure a block of
windows move around together, can keep a mail window always on top of a
news reading window, and much more.  The possibilities are endless, and
an abstraction capability allows the end user to define new kinds of
constraint relationships and add them with a few simple mouse clicks.

This release of Scwm demonstrates how much extra productivity is
possible when there are no limits to how windows can be arranged and
manipulated.  See http://scwm.mit.edu/scwm/ for more information about
Scwm, and http://www.cs.washington.edu/research/constraints/cassowary/
for more information about the Cassowary constraint solver.


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 06:15:48 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA24430
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 06:15:48 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA24427
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Sep 1999 06:15:42 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id MAA05800
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Sep 1999 12:15:38 +0200 (MET DST)
Date: Wed, 15 Sep 1999 12:15:37 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@SCWM.MIT.EDU
Subject: scwm-0.99.2pre11 : success report
Message-ID: <19990915121537.A20204@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Hi,

Except for the small .configure bug already reported, scwm-0.99.2pre11
works for me.

(and of course with the work-around for th e Solaris sigsetjmp bug)


I have though some complaints to do :

when restarting scwm, I have some strange errors with fvwm-module. I
get errors like : Resource temporarily unavailable


And there always these errors which don't really understand :

[Scwm][init_modifiers]:  No numlock_mask was found.
[Scwm][init_modifiers]:  No scrollock_mask was found.
[Scwm][init_modifiers]:  Doing 1 XGrabKey calls for window bindings when ignoring dubious modifiers



And there is a problem with the doc module :


;;; WARNING (no code for module gtk)

;;; WARNING (no code for module gdk)
Error loading module: (app scwm doc)
ERROR: Unbound variable: quote


(all is fine when this module is not loaded).



Finally, for some reason, 'scwm/scwm -f /dev/null' don't work at
all. It is frozen :

#0  0xef4768d8 in _poll ()
#1  0xef4921e8 in select ()
#2  0xef5bd018 in safe_select (nfds=32, readfds=0xef5dbbd8, writefds=0xef5dbddc, exceptfds=0xef5dbcdc, timeout=0x0) at iselect.c:184
#3  0xef5be114 in coop_wait_for_runnable_thread_now (now=0xefffd768) at iselect.c:599
#4  0xef5be1d0 in coop_wait_for_runnable_thread () at iselect.c:623
#5  0xef5be298 in scm_internal_select (nfds=-268445728, readfds=0xefffd858, writefds=0x0, exceptfds=0x0, timeout=0x0) at iselect.c:656
#6  0xef574e40 in fport_wait_for_input (port=-268445728) at fports.c:421
#7  0xef574e74 in fport_fill_input (port=9) at fports.c:441
#8  0xef58e740 in scm_fill_input (port=974632) at ports.c:716
#9  0xef58e7d8 in scm_getc (port=974632) at ports.c:737
#10 0xef59dc9c in scm_flush_ws (port=974632, eoferr=0x0) at read.c:135
#11 0xef59dc0c in scm_read (port=974632) at read.c:107
#12 0x26640 in scwm_body_load (body_data=0x2b74) at callbacks.c:562
#13 0xef5b107c in scm_internal_catch (tag=9076, body=0x26578 <scwm_body_load>, body_data=0xefffdd84, handler=0x35308 <cwdr_no_unwind_handler>, handler_data=0xefffdca8) at throw.c:228
#14 0x35480 in scm_internal_cwdr_no_unwind (body=0x26578 <scwm_body_load>, body_data=0xefffdd84, handler=0x6cdfc <scm_handle_by_message_noexit>, handler_data=0x559c8, stack_start=0xee1e8) at guile-compat.c:110
#15 0x26920 in safe_load (fname=975272) at callbacks.c:648
#16 0xef56d02c in scm_deval (x=10612, env=975184) at eval.c:2797
#17 0xef56947c in scm_eval_3 (obj=975280, copyp=0, env=975184) at eval.c:3945
#18 0xef569534 in scm_eval_x (obj=975280) at eval.c:3976
#19 0x26570 in scwm_body_eval_x (body_data=0xefffe274) at callbacks.c:538
#20 0xef5b131c in scm_internal_lazy_catch (tag=9076, body=0x26564 <scwm_body_eval_x>, body_data=0xefffe274, handler=0xfffff000, handler_data=0xfffff000) at throw.c:310
#21 0xef5b146c in cwss_body (data=0xefffe1f0) at throw.c:345
#22 0xef5b107c in scm_internal_catch (tag=9076, body=0xef5b143c <cwss_body>, body_data=0xefffe1f0, handler=0x26754 <scwm_handle_error>, handler_data=0x559c8) at throw.c:228
#23 0xef5b14b0 in scm_internal_stack_catch (tag=9076, body=0x26564 <scwm_body_eval_x>, body_data=0xefffe274, handler=0x26754 <scwm_handle_error>, handler_data=0x559c8) at throw.c:359
#24 0x266c8 in scwm_body_eval_str (body_data=0x2b74) at callbacks.c:544
#25 0xef5b107c in scm_internal_catch (tag=9076, body=0x26664 <scwm_body_eval_str>, body_data=0x15f4c8, handler=0x35308 <cwdr_no_unwind_handler>, handler_data=0xefffe398) at throw.c:228
#26 0x35480 in scm_internal_cwdr_no_unwind (body=0x26664 <scwm_body_eval_str>, body_data=0x15f4c8, handler=0x6cdfc <scm_handle_by_message_noexit>, handler_data=0x559c8, stack_start=0x6fd60) at guile-compat.c:110
#27 0x2696c in scwm_safe_eval_str (string=0x15f4c8 "(safe-load \"/dev/null\")") at callbacks.c:662
#28 0x4555c in scwm_main (argc=5, argv=0xefffeb8c) at scwm.c:1068
#29 0xef57a0f8 in gh_launch_pad (closure=0x44a54, argc=5, argv=0xefffeb8c) at gh_init.c:60
#30 0xef57d2ec in invoke_main_func (body_data=0xefffea28) at init.c:570
#31 0xef5b131c in scm_internal_lazy_catch (tag=9076, body=0xef57d2cc <invoke_main_func>, body_data=0xefffea28, handler=0xfffff000, handler_data=0xfffff000) at throw.c:310
#32 0xef57d294 in scm_boot_guile_1 (base=0xefffea24, closure=0xefffea28) at init.c:544
#33 0xef57cee8 in scm_boot_guile (argc=5, argv=0xefffeb8c, main_func=0xef57a0e8 <gh_launch_pad>, closure=0x44a54) at init.c:405
#34 0xef57a134 in gh_enter (argc=5, argv=0xefffeb8c, c_main_prog=0x44a54 <scwm_main>) at gh_init.c:70
#35 0x44a4c in main (argc=5, argv=0xefffeb8c) at scwm.c:538




-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 07:17:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA24611
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 07:17:50 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA24608
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Sep 1999 07:17:32 -0400
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id VAA08195
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Sep 1999 21:17:16 +1000
Message-ID: <38218186.B3C61253@tech.com.au>
Date: Thu, 04 Nov 1999 23:52:22 +1100
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: failure report
References: <19990915121537.A20204@youkaidi.irisa.fr>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I just downloaded scwm via cvs as well as guile and built and installed
it.

I don't find it runs well under gnome at all. I tried most of the sample
.scwmrc files but the gnome pager doesn't work, the gnome panel seems to
behave erratically, and on some .scwmrcs, the panel and icons gain
unwanted window decorations.

Any suggestions?

-- 
Chris Bitmead
mailto:chris@tech.com.au

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 07:47:20 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA24741
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 07:47:20 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from kodis.jagunet.com (root@kodis.jaguNET.com [206.156.208.48])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA24738
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Sep 1999 07:47:14 -0400
Received: (from kodis@localhost)
	by kodis.jagunet.com (8.9.3/8.9.3) id HAA29023
	for scwm-discuss@SCWM.MIT.EDU; Wed, 15 Sep 1999 07:46:30 -0400
Date: Wed, 15 Sep 1999 07:46:30 -0400
From: John Kodis <kodis@jagunet.com>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Slashdot story draft..
Message-ID: <19990915074630.A29012@kodis.jagunet.com>
Mail-Followup-To: scwm-discuss@SCWM.MIT.EDU
References: <qrraeqox0y0.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <qrraeqox0y0.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Tue, Sep 14, 1999 at 09:17:59PM -0700, Greg Badros wrote:

> The below is a draft of a story I'm planning on submitting to slashdot.
> I'd appreciate any feedback you folks may have. 

> Included in this impressive list are [...]
> completely configurable window behaviour, 

You might want to spell out what this includes.

> [...] an XTest extension,

Same here -- some readers may not know what this is or why they'd want
it.  (Oh, alright, you've figured it out -- *I* don't know what this
is or why I'd want it.)

> [...] a Corba server, 

It does?  Here also you may want to give some hint as to what this can
do. 

Other than those quibbles, it's very good.  You may want to reorder
the feature list in decending order of feature-coolness, with Turing
complete extension language and window animations near the top.

-- John Kodis.



From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 07:52:45 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA24793
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 07:52:45 -0400
Received: from mailhub-dmz4.bloomberg.net (mailhub-dmz4.bloomberg.net [205.216.112.158])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA24766;
	Wed, 15 Sep 1999 07:51:00 -0400
Received: from blinky.bloomberg.com by mailhub-dmz4.bloomberg.net with ESMTP; Wed, 15 Sep 1999 07:49:50 -0400
Received: (from hjstein@localhost)
	by blinky.bloomberg.com (8.9.3/8.9.3) id HAA26913;
	Wed, 15 Sep 1999 07:49:11 -0400
X-Authentication-Warning: blinky.bloomberg.com: hjstein set sender to hjstein@bfr.co.il using -f
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU, scwm-announce@SCWM.MIT.EDU,
        scwm-users@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.2 is released!
References: <qrrd7vlvvb2.fsf@elwha.cs.washington.edu>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 15 Sep 1999 07:49:11 -0400
In-Reply-To: Greg Badros's message of "14 Sep 1999 18:05:05 -0700"
Message-ID: <kiwg10g8keg.fsf@blinky.bloomberg.com>
Lines: 15
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > Scwm 0.99.2 is released.
 > 
 > * What Scwm is:
 > 
 > Scwm is the Scheme Constraints Window Manager. This is a highly

When did the name change?  I thought it was the "Scheme Configurable
Window Manager".

-- 
Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 08:01:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id IAA25004
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 08:01:24 -0400
Received: from mailhub-dmz4.bloomberg.net (mailhub-dmz4.bloomberg.net [205.216.112.158])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA24959;
	Wed, 15 Sep 1999 07:59:42 -0400
Received: from blinky.bloomberg.com by mailhub-dmz4.bloomberg.net with ESMTP; Wed, 15 Sep 1999 07:56:55 -0400
Received: (from hjstein@localhost)
	by blinky.bloomberg.com (8.9.3/8.9.3) id HAA26931;
	Wed, 15 Sep 1999 07:55:18 -0400
X-Authentication-Warning: blinky.bloomberg.com: hjstein set sender to hjstein@bfr.co.il using -f
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU, scwm-announce@SCWM.MIT.EDU,
        scwm-users@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.2 is released!
References: <qrrd7vlvvb2.fsf@elwha.cs.washington.edu> <kiwg10g8keg.fsf@blinky.bloomberg.com>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 15 Sep 1999 07:55:18 -0400
In-Reply-To: hjstein@bfr.co.il's message of "15 Sep 1999 07:49:11 -0400"
Message-ID: <kiwemg08k49.fsf@blinky.bloomberg.com>
Lines: 20
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

 > Greg Badros <gjb@cs.washington.edu> writes:
 > 
 >  > Scwm 0.99.2 is released.
 >  > 
 >  > * What Scwm is:
 >  > 
 >  > Scwm is the Scheme Constraints Window Manager. This is a highly
 > 
 > When did the name change?  I thought it was the "Scheme Configurable
 > Window Manager".

Actually, it still says "Scheme Configurable Window Manager" on the
web site.

-- 
Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 09:01:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA25609
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 09:01:29 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA25606
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Sep 1999 09:01:23 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id PAA09060
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Sep 1999 15:01:18 +0200 (MET DST)
Date: Wed, 15 Sep 1999 15:01:17 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@scwm.mit.edu
Subject: scwm-0.99.2 success report
Message-ID: <19990915150117.A23128@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

scwm-0.99.2 works perfectly with my present configuration.

Except for one thing : the display command in my .scwmrc don't work.

I have this :

(define (my-load f)
  (display (string-append "loading file `" f "'...\n"))
  (load (string-append HOME "/.scwm/" (scwm-version) "/" f ".scwm"))
  (display (string-append "loading file `" f "'...done\n")) )

(my-load "main")
(my-load "fun")
(my-load "style")
(my-load "menus")
(my-load "keys")
(my-load "my-fvwm")


but nothing is displayed on start-up.


-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 09:40:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA25846
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 09:40:12 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA25843
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Sep 1999 09:40:08 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id PAA09406
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Sep 1999 15:40:03 +0200 (MET DST)
Date: Wed, 15 Sep 1999 15:40:03 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2 success report
Message-ID: <19990915154003.B23128@youkaidi.irisa.fr>
References: <19990915150117.A23128@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.7us
In-Reply-To: <19990915150117.A23128@youkaidi.irisa.fr>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon écrivait :
> Except for one thing : the display command in my .scwmrc don't work.
> 
> I have this :
> 
> (define (my-load f)
>   (display (string-append "loading file `" f "'...\n"))
>   (load (string-append HOME "/.scwm/" (scwm-version) "/" f ".scwm"))
>   (display (string-append "loading file `" f "'...done\n")) )
> 
> (my-load "main")
> (my-load "fun")
> (my-load "style")
> (my-load "menus")
> (my-load "keys")
> (my-load "my-fvwm")
> 
> 
> but nothing is displayed on start-up.

In fact, it works when scwm is launched via the command line. But when
I launch it with a shell script and redirection, it fails to display
the messages :

#!/bin/sh
exec > /dev/console 2>&1
cd $HOME
scwm -s &
/bin/echo $! > $HOME/var/wm-pid


-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 10:22:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA26033
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 10:22:42 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA26030
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Sep 1999 10:22:36 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id QAA09607
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Sep 1999 16:22:33 +0200 (MET DST)
Date: Wed, 15 Sep 1999 16:22:32 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2 success report
Message-ID: <19990915162232.A24325@youkaidi.irisa.fr>
References: <19990915150117.A23128@youkaidi.irisa.fr> <19990915154003.B23128@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7us
In-Reply-To: <19990915154003.B23128@youkaidi.irisa.fr>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Hi,

With scwm-0.99.2, I have also an error when I quit scwm and restart
it: it freezes because of some problem with some fvwm-module. I get
errors like :

Backtrace:
0* [module-broadcast-name 2048 37749373 ...]
1* [map #<procedure (fmod)> ((#<output: write pipe 13> 0 #<procedure ()> ...) (#<output: write pipe 11> 0 #<procedure ()> ...))]
2* [#<procedure (fmod)> (#<output: write pipe 13> 0 #<procedure ()> ...)]
3* (let ((to-module-write #) (mask #)) (if (logior type mask) (fvwm2-module-send-packet type # ...)))
4  (if (logior type mask) (fvwm2-module-send-packet type (pad-string-to-long #) ...))
   ...
5  [force-output #<output: write pipe 13>]

/udd/canon/share/scwm/modules/app/scwm/fvwm-module.scm:212:3: In procedure force-output in expression (force-output port):
/udd/canon/share/scwm/modules/app/scwm/fvwm-module.scm:212:3: Resource temporarily unavailable

Backtrace:
0* [module-broadcast-name 4096 37749373 ...]
1* [map #<procedure (fmod)> ((#<output: write pipe 13> 0 #<procedure ()> ...) (#<output: write pipe 11> 0 #<procedure ()> ...))]
2* [#<procedure (fmod)> (#<output: write pipe 13> 0 #<procedure ()> ...)]
3* (let ((to-module-write #) (mask #)) (if (logior type mask) (fvwm2-module-send-packet type # ...)))
4  (if (logior type mask) (fvwm2-module-send-packet type (pad-string-to-long #) ...))
   ...
5  [force-output #<output: write pipe 13>]

/udd/canon/share/scwm/modules/app/scwm/fvwm-module.scm:212:3: In procedure force-output in expression (force-output port):
/udd/canon/share/scwm/modules/app/scwm/fvwm-module.scm:212:3: Resource temporarily unavailable

Backtrace:
0* [module-broadcast-name 8192 37749373 ...]
1* [map #<procedure (fmod)> ((#<output: write pipe 13> 0 #<procedure ()> ...)Error: could not flush file-descriptor 13


-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 11:01:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA26213
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 11:01:10 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ardon.verisity.com (ardon.verisity.com [192.116.92.65])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA26206
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Sep 1999 11:01:00 -0400
Received: from alps.verisity.com (alps [192.116.92.27])
	by ardon.verisity.com (8.8.6/8.8.6) with ESMTP id QAA07862
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Sep 1999 16:59:34 +0200 (IST)
Received: (from cmm@localhost)
	by alps.verisity.com (8.8.8+Sun/8.8.8) id QAA03437;
	Wed, 15 Sep 1999 16:59:27 +0200 (IST)
To: scwm-discuss@scwm.mit.edu
Subject: what was that about Solaris?
Organization: who? me?
From: Michael Livshin <mike@olan.com>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 15 Sep 1999 16:59:27 +0200
Message-ID: <s34sgwb4q8.fsf@verisity.com>
Lines: 26
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I've just tried to install a resonably recent CVS (10 Sep) SCWM on my
Solaris 2.5.1 (gcc 2.7.2, no imlib, no gtk, no Cassowary, no esd,
plainest vanilla) machine at work, and it crashes deep in Guile.

I had a go at it with gdb, and the crash is due to corrupted Guile
heap - some Guile error printing procedure gets an invalid argument
(the argument is a pointer to a heap cell, and the cell is (0 . 0)).
I've closed gdb in disgust upon seeng it ;(.

my Linux machine at home is quite happy with the same SCWM version,
so I guess the problem is Solaris- (and maybe gcc-2.7.2-on-Solaris)
specific.

in case somebody experienced it and has a workaround - speak up.

I'll be happy to provide further info if requested.

I guess it could be more informative if I could try compiling with Sun
CC, but I don't have it.

thanks,
--mike

-- 
I'm on a seafood diet -- I see food and I eat it.         --anonymous

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 12:10:54 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA26449
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 12:10:54 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA26446
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Sep 1999 12:10:48 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA14483; Wed, 15 Sep 1999 09:10:38 -0700 (PDT)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.2 is released!
References: <qrrd7vlvvb2.fsf@elwha.cs.washington.edu> <kiwg10g8keg.fsf@blinky.bloomberg.com> <kiwemg08k49.fsf@blinky.bloomberg.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 09:10:38 -0700
In-Reply-To: hjstein@bfr.co.il's message of "15 Sep 1999 07:55:18 -0400"
Message-ID: <qrru2owupdt.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> hjstein@bfr.co.il (Harvey J. Stein) writes:
> 
>  > Greg Badros <gjb@cs.washington.edu> writes:
>  > 
>  >  > Scwm 0.99.2 is released.
>  >  > 
>  >  > * What Scwm is:
>  >  > 
>  >  > Scwm is the Scheme Constraints Window Manager. This is a highly
>  > 
>  > When did the name change?  I thought it was the "Scheme Configurable
>  > Window Manager".
> 
> Actually, it still says "Scheme Configurable Window Manager" on the
> web site.

It's kinda both.  My theory is, if you've built it with the constraint
solver enabled, Scheme Constraints Window Manager makes more sense.  The 
constraint solver is certainly Scwm's primary unique feature, and
"Configurable" doesn't add anything that isn't already an obvious
necessity, so I'm in favour of a complete name change, I suppose.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 12:16:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA26492
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 12:16:42 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA26489
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Sep 1999 12:16:39 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA14496; Wed, 15 Sep 1999 09:16:32 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2 success report
References: <19990915150117.A23128@youkaidi.irisa.fr> <19990915154003.B23128@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 09:16:31 -0700
In-Reply-To: Hubert Canon's message of "Wed, 15 Sep 1999 15:40:03 +0200"
Message-ID: <qrrn1uoup40.fsf@elwha.cs.washington.edu>
Lines: 37
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> > (define (my-load f)
> >   (display (string-append "loading file `" f "'...\n"))
> >   (load (string-append HOME "/.scwm/" (scwm-version) "/" f ".scwm"))
> >   (display (string-append "loading file `" f "'...done\n")) )
> > 
> > (my-load "main")
> > (my-load "fun")
> > (my-load "style")
> > (my-load "menus")
> > (my-load "keys")
> > (my-load "my-fvwm")
> > 
> > 
> > but nothing is displayed on start-up.
> 
> In fact, it works when scwm is launched via the command line. But when
> I launch it with a shell script and redirection, it fails to display
> the messages :
> 
> #!/bin/sh
> exec > /dev/console 2>&1
> cd $HOME
> scwm -s &
> /bin/echo $! > $HOME/var/wm-pid

It's probably just buffering your output so you don't think it's
displayed.  Try adding the lines from the top of system.scwmrc before
you use display:

(if (> guile-version 1.3)
    (setvbuf (current-output-port) _IONBF))

and see if this turning off buffering helps.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 12:20:39 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA26526
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 12:20:39 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA26523
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Sep 1999 12:20:36 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA14499; Wed, 15 Sep 1999 09:20:30 -0700 (PDT)
To: John Kodis <kodis@jagunet.com>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Slashdot story draft..
References: <qrraeqox0y0.fsf@elwha.cs.washington.edu> <19990915074630.A29012@kodis.jagunet.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 09:20:30 -0700
In-Reply-To: John Kodis's message of "Wed, 15 Sep 1999 07:46:30 -0400"
Message-ID: <qrrlna8uoxd.fsf@elwha.cs.washington.edu>
Lines: 46
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Kodis <kodis@jagunet.com> writes:

> On Tue, Sep 14, 1999 at 09:17:59PM -0700, Greg Badros wrote:
> 
> > The below is a draft of a story I'm planning on submitting to slashdot.
> > I'd appreciate any feedback you folks may have. 
> 
> > Included in this impressive list are [...]
> > completely configurable window behaviour, 
> 
> You might want to spell out what this includes.
> 
> > [...] an XTest extension,
> 
> Same here -- some readers may not know what this is or why they'd want
> it.  (Oh, alright, you've figured it out -- *I* don't know what this
> is or why I'd want it.)

How 'bout:

... an XTest extension that permits scripting interactions with
applications, an interface to esound, integration with fvwm2 modules, a
Corba server for accessing WM functionality from other applications,
access to libproplist databases, and much more!

> 
> > [...] a Corba server, 
> 
> It does?  Here also you may want to give some hint as to what this can
> do. 

Yea, I just added the Corba server module.  It right now just provides
one service --- evaluation of S-expressions.  But my intention is to
spec out WM functionality in IDL and implement a Scwm servant for that
interface. 

> Other than those quibbles, it's very good.  You may want to reorder
> the feature list in decending order of feature-coolness, with Turing
> complete extension language and window animations near the top.

I think everyone has a different order for these, so it's tricky (read
"impossible") to pick the right one! :-)

Thanks for the feeback!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 12:22:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA26550
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 12:22:23 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA26545
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Sep 1999 12:22:20 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA14502; Wed, 15 Sep 1999 09:22:11 -0700 (PDT)
To: Chris Bitmead <chris@tech.com.au>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: failure report
References: <19990915121537.A20204@youkaidi.irisa.fr> <38218186.B3C61253@tech.com.au>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 09:22:11 -0700
In-Reply-To: Chris Bitmead's message of "Thu, 04 Nov 1999 23:52:22 +1100"
Message-ID: <qrrk8psuouk.fsf@elwha.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

> I just downloaded scwm via cvs as well as guile and built and installed
> it.
> 
> I don't find it runs well under gnome at all. I tried most of the sample
> .scwmrc files but the gnome pager doesn't work, the gnome panel seems to
> behave erratically, and on some .scwmrcs, the panel and icons gain
> unwanted window decorations.
> 
> Any suggestions?

Platform?  Guile version?  Try it w/ "scwm -f /dev/null" and see how
that works.  I've seen similar problems with running Scwm on my alpha
box but haven't had time to track them down.

Also, grab the scwm-0.99.2.tar.gz and try that instead of CVS -- it's a
more reliable tarball to ponder about.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 12:26:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA26610
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 12:26:13 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA26607
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Sep 1999 12:26:09 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id SAA10159;
	Wed, 15 Sep 1999 18:26:06 +0200 (MET DST)
Date: Wed, 15 Sep 1999 18:26:05 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2 success report
Message-ID: <19990915182605.A24415@youkaidi.irisa.fr>
References: <19990915150117.A23128@youkaidi.irisa.fr> <19990915154003.B23128@youkaidi.irisa.fr> <qrrn1uoup40.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.7us
In-Reply-To: <qrrn1uoup40.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros écrivait :
> It's probably just buffering your output so you don't think it's
> displayed.  Try adding the lines from the top of system.scwmrc before
> you use display:
> 
> (if (> guile-version 1.3)
>     (setvbuf (current-output-port) _IONBF))
> 
> and see if this turning off buffering helps.


In scwmrepl, I get :

scwm> (setvbuf (current-output-port) _IONBF)

Backtrace:
0* [setvbuf #<output: string 1aee58> 4]

ERROR: In procedure setvbuf in expression (setvbuf (current-output-port) _IONBF):
ERROR: Wrong type argument in position 1: #<output: string 1aee58>



-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 12:29:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA26637
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 12:29:10 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA26633
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Sep 1999 12:29:07 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA14505; Wed, 15 Sep 1999 09:29:00 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2pre11 : success report
References: <19990915121537.A20204@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 09:29:00 -0700
In-Reply-To: Hubert Canon's message of "Wed, 15 Sep 1999 12:15:37 +0200"
Message-ID: <qrriu5cuoj7.fsf@elwha.cs.washington.edu>
Lines: 75
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hi,
> 
> Except for the small .configure bug already reported, scwm-0.99.2pre11
> works for me.
> 
> (and of course with the work-around for th e Solaris sigsetjmp bug)

Yes, we need to figure that out....

> I have though some complaints to do :
> 
> when restarting scwm, I have some strange errors with fvwm-module. I
> get errors like : Resource temporarily unavailable

There've been two reports of that.  I'd love it if someone that can
reproduce this would try tracking it down.

> And there always these errors which don't really understand :
> 
> [Scwm][init_modifiers]:  No numlock_mask was found.
> [Scwm][init_modifiers]:  No scrollock_mask was found.
> [Scwm][init_modifiers]:  Doing 1 XGrabKey calls for window bindings when ignoring dubious modifiers

These are just informational messages, the last of which I commented out 
for the 0.99.2 release.

Perhaps info messages should look like:

[Scwm][init_modifiers]: <<INFO>> No numlock_mask was found.

or

[Scwm][init_modifiers]: <<FYI>> No scrollock_mask was found.

would the extra indicators make you less likely to be concerned about
the message?

I could also add a --quiet-info-msgs flag that would prevent them from
being displayed altogether.

> And there is a problem with the doc module :
> 
> 
> ;;; WARNING (no code for module gtk)
> 
> ;;; WARNING (no code for module gdk)
> Error loading module: (app scwm doc)
> ERROR: Unbound variable: quote
> 

Do you have guile-gtk installed?  The unbound quote is due to some
documentation stuff that now is off by default--- you must give 

--document-formals

to get it now, as I didn't have time to deal with the unbound quote bug.
(So by default, it'll work but provide less information for the
reflection module).

> (all is fine when this module is not loaded).
> 
> 
> 
> Finally, for some reason, 'scwm/scwm -f /dev/null' don't work at
> all. It is frozen :

That's weird... this is Solaris, right?  Anything more you can do to
track this down is greatly appreciated.  I can't reproduce it here on
x86 or Alpha.

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 12:33:04 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA26706
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 12:33:04 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA26702
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Sep 1999 12:33:00 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA14518; Wed, 15 Sep 1999 09:32:53 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2 success report
References: <19990915150117.A23128@youkaidi.irisa.fr> <19990915154003.B23128@youkaidi.irisa.fr> <qrrn1uoup40.fsf@elwha.cs.washington.edu> <19990915182605.A24415@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 09:32:53 -0700
In-Reply-To: Hubert Canon's message of "Wed, 15 Sep 1999 18:26:05 +0200"
Message-ID: <qrrhfkwuocq.fsf@elwha.cs.washington.edu>
Lines: 27
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Greg Badros écrivait :
> > It's probably just buffering your output so you don't think it's
> > displayed.  Try adding the lines from the top of system.scwmrc before
> > you use display:
> > 
> > (if (> guile-version 1.3)
> >     (setvbuf (current-output-port) _IONBF))
> > 
> > and see if this turning off buffering helps.
> 
> 
> In scwmrepl, I get :
> 
> scwm> (setvbuf (current-output-port) _IONBF)
> 
> Backtrace:
> 0* [setvbuf #<output: string 1aee58> 4]
> 
> ERROR: In procedure setvbuf in expression (setvbuf (current-output-port) _IONBF):
> ERROR: Wrong type argument in position 1: #<output: string 1aee58>

In scwmrepl, the current-output-port is a string -- this is something
that needs to be in your actual startup file, before using display.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 13:08:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA27286
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 13:08:27 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from seldon.dtek.chalmers.se (M/mjR19KqELUnb3GFfGPq2oq79poh/tz@seldon.dtek.chalmers.se [129.16.30.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA27280
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Sep 1999 13:08:22 -0400
Received: from licia.dtek.chalmers.se (hMA7gqZvGSy+sRNuz0Qz2BlI8TBJxrkP@licia.dtek.chalmers.se [129.16.30.88])
	by seldon.dtek.chalmers.se (8.8.8/8.8.8) with ESMTP id TAA23237
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Sep 1999 19:08:11 +0200 (MET DST)
Received: (from d4jonas@localhost)
	by licia.dtek.chalmers.se (8.9.3/8.9.3) id TAA14561;
	Wed, 15 Sep 1999 19:08:10 +0200 (MET DST)
To: scwm-discuss@scwm.mit.edu
Subject: Re: Slashdot story draft..
References: <qrraeqox0y0.fsf@elwha.cs.washington.edu> <19990915074630.A29012@kodis.jagunet.com> <qrrlna8uoxd.fsf@elwha.cs.washington.edu>
X-No-Archive: Yes
Mail-Copies-To: never
Organization: The Deciples of Albericht Nibelungen
From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Date: 15 Sep 1999 19:08:10 +0200
In-Reply-To: Greg Badros's message of "15 Sep 1999 09:20:30 -0700"
Message-ID: <wtn7lls3xxh.fsf@licia.dtek.chalmers.se>
Lines: 26
User-Agent: Gnus/5.070091 (Pterodactyl Gnus v0.91) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> John Kodis <kodis@jagunet.com> writes:

[...]

> > > [...] an XTest extension,
> > 
> > Same here -- some readers may not know what this is or why they'd want
> > it.  (Oh, alright, you've figured it out -- *I* don't know what this
> > is or why I'd want it.)
> 
> How 'bout:
> 
> ... an XTest extension that permits scripting interactions with
> applications,

Still don't got the foggiest... But something longer might not be good
either (in that case you probably should explain gnome a bit more
etc.).

Lets ignore my ignorance and settle for that.

-- 
( Jonas Steverud  @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 13:21:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA27434
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 13:21:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA27431
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Sep 1999 13:21:10 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA14576; Wed, 15 Sep 1999 10:21:06 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: Re: Slashdot story draft..
References: <qrraeqox0y0.fsf@elwha.cs.washington.edu> <19990915074630.A29012@kodis.jagunet.com> <qrrlna8uoxd.fsf@elwha.cs.washington.edu> <wtn7lls3xxh.fsf@licia.dtek.chalmers.se>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 10:21:05 -0700
In-Reply-To: Jonas Steverud's message of "15 Sep 1999 19:08:10 +0200"
Message-ID: <qrrg10gum4e.fsf@elwha.cs.washington.edu>
Lines: 38
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jonas Steverud <d4jonas@dtek.chalmers.se> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > John Kodis <kodis@jagunet.com> writes:
> 
> [...]
> 
> > > > [...] an XTest extension,
> > > 
> > > Same here -- some readers may not know what this is or why they'd want
> > > it.  (Oh, alright, you've figured it out -- *I* don't know what this
> > > is or why I'd want it.)
> > 
> > How 'bout:
> > 
> > ... an XTest extension that permits scripting interactions with
> > applications,
> 
> Still don't got the foggiest... But something longer might not be good
> either (in that case you probably should explain gnome a bit more
> etc.).
> 
> Lets ignore my ignorance and settle for that.

Ok..  I've now sent it in.

But for your edification, XTest is an X11 extension that lets a program
generate events that appear to be hardware events (as opposed to
Synthetic events which are notably different to the receiving
application, and are often ignored).  This means, e.g., that one can
make scwm type into an application, press buttons, manipulate the user
interface, whatever.  I've not done a lot with it yet, but it is nice
for being able to not have to touch the mouse ever-- I have keybindings
for moving the pointer and for sending button presses (actually, I use
synthetic events still, since the XTest module for Scwm is rather new).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 13:21:54 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA27439
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 13:21:54 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA27436
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Sep 1999 13:21:50 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id TAA10378;
	Wed, 15 Sep 1999 19:21:47 +0200 (MET DST)
Date: Wed, 15 Sep 1999 19:21:46 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2pre11 : success report
Message-ID: <19990915192146.C24415@youkaidi.irisa.fr>
References: <19990915121537.A20204@youkaidi.irisa.fr> <qrriu5cuoj7.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.7us
In-Reply-To: <qrriu5cuoj7.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros écrivait :
> Hubert Canon <Hubert.Canon@irisa.fr> writes:
> > I have though some complaints to do :
> > 
> > when restarting scwm, I have some strange errors with fvwm-module. I
> > get errors like : Resource temporarily unavailable
> 
> There've been two reports of that.  I'd love it if someone that can
> reproduce this would try tracking it down.

It disappeared with 0.99.2

> > And there is a problem with the doc module :
> > 
> > 
> > ;;; WARNING (no code for module gtk)
> > 
> > ;;; WARNING (no code for module gdk)
> > Error loading module: (app scwm doc)
> > ERROR: Unbound variable: quote
> 
> Do you have guile-gtk installed?

No.

Moreover, the result is different when the doc module is called
from .scwmrc, from scwmexec or scwmrepl, or when called a second time :

~ % scwmexec '(use-scwm-modules doc)'
Error loading module: (app scwm doc)

;;; WARNING (no code for module gtk)

;;; WARNING (no code for module gdk)
ERROR: In procedure scm_fport_buffer_add:
ERROR: Bad file number
~ % scwmrepl 
scwm> (use-scwm-modules doc)
((app scwm doc))
scwm> 
~ % scwmexec '(use-scwm-modules doc)'
((app scwm doc))

[restart]

~ % scwmexec '(use-scwm-modules doc)'
Error loading module: (app scwm doc)

;;; WARNING (no code for module gtk)

;;; WARNING (no code for module gdk)
ERROR: In procedure scm_fport_buffer_add:
ERROR: Bad file number
~ % scwmexec '(use-scwm-modules doc)'
((app scwm doc))

[restart]

~ % scwmrepl                         
scwm> (use-scwm-modules doc)
Error loading module: (app scwm doc)

;;; WARNING (no code for module gtk)

;;; WARNING (no code for module gdk)
ERROR: In procedure scm_fport_buffer_add:
ERROR: Bad file number

scwm> (use-scwm-modules doc)
((app scwm doc))
scwm> 
~ % 




> > Finally, for some reason, 'scwm/scwm -f /dev/null' don't work at
> > all. It is frozen :
> 
> That's weird... this is Solaris, right?  Anything more you can do to
> track this down is greatly appreciated.  I can't reproduce it here on
> x86 or Alpha.

I don't know really where to look. There seems to be a some problem
during a _poll, but I don't know why.


-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 13:45:05 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA27753
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 13:45:05 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA27750
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Sep 1999 13:45:01 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA14599; Wed, 15 Sep 1999 10:44:56 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: RH 5.x RPMs
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 10:44:56 -0700
Message-ID: <qrrd7vkul0n.fsf@elwha.cs.washington.edu>
Lines: 12
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Can anyone out there make RPMs for Redhat 5.x for all the .src.rpm
packages on scwm.mit.edu?  Should just be a simple matter of:

rpm --rebuild foo.src.rpm

for each of them (after installing the depended-upon packages.)  E.g.,
build the GTL RPM first, install it.  Then build the Cassowary one and
install it, then the guile ones and install guile and guile-devel, then
guile-gtk, and finally scwm.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 13:54:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA27855
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 13:54:29 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA27851;
	Wed, 15 Sep 1999 13:54:26 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA14602; Wed, 15 Sep 1999 10:54:21 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu, scwm-announce@scwm.mit.edu
Subject: Favor...
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 10:54:21 -0700
Message-ID: <qrrbtb4ukky.fsf@elwha.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I'd love to get Scwm more prominently featured at

http://www.PLiG.org/xwinman/

If a whole mess of us write:

matt@belgarath.demon.co.uk

And tell him that we'd like to have Scwm be on the top-level page, and
also we'd like to be able to vote for Scwm, perhaps he'll update the
page to (finally) include the best (!) window manager around.

I've written him (and not yet heard back), but I'm betting more pressure
from the masses can only help.

It'll only take 3 minutes, and I'd really appreciate it if everyone
would write.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 15:24:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA28522
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 15:24:27 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mailhost.integritysi.com (root@[207.14.75.15])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA28519
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Sep 1999 15:24:20 -0400
Received: from fredbox.com (fnord.integritysi.com [207.14.75.158])
	by mailhost.integritysi.com (8.9.3/8.9.3) with ESMTP id LAA01329;
	Wed, 15 Sep 1999 11:24:04 -0800
Message-ID: <37DFF254.AC573D4E@fredbox.com>
Date: Wed, 15 Sep 1999 11:24:04 -0800
From: James Achtung Crippen <james@fredbox.com>
Organization: Yoyodyne Advanced Transdimensional Research Labs,  a division of 
 TensorDyne, Inc.
X-Mailer: Mozilla 4.61 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
CC: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Slashdot story draft..
References: <qrraeqox0y0.fsf@elwha.cs.washington.edu> <19990915074630.A29012@kodis.jagunet.com> <qrrlna8uoxd.fsf@elwha.cs.washington.edu> <wtn7lls3xxh.fsf@licia.dtek.chalmers.se> <qrrg10gum4e.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

 
> Ok..  I've now sent it in.

I'll keep my eyes peeled.  Sounds good!
 
> But for your edification, XTest is an X11 extension that lets a program
> generate events that appear to be hardware events (as opposed to
> Synthetic events which are notably different to the receiving
> application, and are often ignored).  This means, e.g., that one can
> make scwm type into an application, press buttons, manipulate the user
> interface, whatever.  I've not done a lot with it yet, but it is nice
> for being able to not have to touch the mouse ever-- I have keybindings
> for moving the pointer and for sending button presses (actually, I use
> synthetic events still, since the XTest module for Scwm is rather new).

I've been thinking about this the last few months...  I've already got
some mouse movement bindings but was mystified as to how to produce
mouse button events, even synthetic ones.  XTest sounds like a major win
in this case.  I'm trying to make my mouse completely useless, and the
only applications where I still have to use it are Netscape (can't find
a resource to select particular links -- but I haven't looked hard), and
all Athena apps (haven't even bothered to think about those widget
resources).

If scwm could do them without having to fiddle with resources I would
have yet one more reason why I won't use any other window manager.

thanks for scwm!
;james

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 15:32:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA28614
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 15:32:29 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mailhost.integritysi.com (root@[207.14.75.15])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA28609
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Sep 1999 15:32:09 -0400
Received: from fredbox.com (fnord.integritysi.com [207.14.75.158])
	by mailhost.integritysi.com (8.9.3/8.9.3) with ESMTP id LAA01358;
	Wed, 15 Sep 1999 11:32:05 -0800
Message-ID: <37DFF435.3E1163D6@fredbox.com>
Date: Wed, 15 Sep 1999 11:32:05 -0800
From: James Achtung Crippen <james@fredbox.com>
Organization: Yoyodyne Advanced Transdimensional Research Labs,  a division of 
 TensorDyne, Inc.
X-Mailer: Mozilla 4.61 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: scwm-0.99.2 problems
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I've jsut upgraded from 0.9 to 0.99.2, and I've encountered a few
problems and have a few suggestions.

First off, my scwmrc dates back to 0.7 or so, and there's some quite
crufty code in it that I've blithely ignored for some time.  That's
just a mild warning.

The first few errors that I encountered were the obligatory 'deprecated
name' messages, including those referring to 'button-{1,2,3,...}'.
I dutifully replaced 'button-1' with 'left-button-1' and, as the errors
indicated, 'button-2' and 'button-4' with 'right-button-2' and
'right-button-4'.  After shotgunning around in the file I finally rid
myself of the two new, non-functional buttons in the upper right corner
that had suddenly appeared, by using 'right-button-1' and
'right-button-2'.  Possibly a clearer deprecation warning is warranted.

I noticed the bit about (setvbuf (current-output-port) _IONBF) which
made me much happier -- now I can see my debugging messages.

One problem I haven't solved yet.  I have two small xterms that I keep
in the corner of the screen, both of which 'tail -f' certain log files
that I may see what my system is doing and who's doing what.  They
were previously defined with a window style like
(define log-widget
  (make-style
    #:plain-border #t
    #:border-width 0
    #:sticky #t
    #:winlist-skip #f
    #:circulate-skip #t
    #:no-titlebar #t
    #:start-lowered #t
    #:focus 'sloppy))
and then this style was set for them by
(window-style "*log" #:use-style log-widget)
and the windows were run as "xterm -T 'syslog'" and "xterm -T 'xlog'".
Unfortunately they now seem to be using the style defined for xterms.
I'm under the assumption that WINDOW-STYLE is no longer using the
window title but its class, thus these windows are being styled
incorrectly.  Any ideas how to deal with this?  Since they're all of
the same class, XTerm, there doesn't appear to be a way of
differentiating between them.  That sucks, since my usual xterms aren't
sticky and have borders and decoration, but these log windows don't.

Another problem is that XEmacs seems to lose its icon pixmap when
scwm is restarted.  I'm suspicious that it's because XEmacs sets the
pixmap when scwm is started, but when scwm is restarted it doesn't
know about that pixmap.  I suppose the easy way to get around this is
to define the pixmap as a style attribute, but I can't do that until
I know whether I should assign it to the class XEmacs or to XEmacs's
title string (which is completely different).  Oddly though, the size
of the pixmap is retained, so I get a gray50 square the same size as
the usual icon pixmap.  I'm not sure how this is occurring, I'm not much
of an X hacker (I stick to PL and compiler theory).

Aside from all that, I'm quite impressed!

Thanks for all the work on such a great project!  I can't be much more
happy and effusive about scwm than I already am.  I've converted two
people this week!

;james

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 16:38:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA29010
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 16:38:24 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA29007
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Sep 1999 16:38:18 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA14905; Wed, 15 Sep 1999 13:37:08 -0700 (PDT)
To: James Achtung Crippen <james@fredbox.com>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Slashdot story draft..
References: <qrraeqox0y0.fsf@elwha.cs.washington.edu> <19990915074630.A29012@kodis.jagunet.com> <qrrlna8uoxd.fsf@elwha.cs.washington.edu> <wtn7lls3xxh.fsf@licia.dtek.chalmers.se> <qrrg10gum4e.fsf@elwha.cs.washington.edu> <37DFF254.AC573D4E@fredbox.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 13:37:07 -0700
In-Reply-To: James Achtung Crippen's message of "Wed, 15 Sep 1999 11:24:04 -0800"
Message-ID: <qrr9067vrm4.fsf@elwha.cs.washington.edu>
Lines: 39
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

James Achtung Crippen <james@fredbox.com> writes:

>  
> > Ok..  I've now sent it in.
> 
> I'll keep my eyes peeled.  Sounds good!
>  
> > But for your edification, XTest is an X11 extension that lets a program
> > generate events that appear to be hardware events (as opposed to
> > Synthetic events which are notably different to the receiving
> > application, and are often ignored).  This means, e.g., that one can
> > make scwm type into an application, press buttons, manipulate the user
> > interface, whatever.  I've not done a lot with it yet, but it is nice
> > for being able to not have to touch the mouse ever-- I have keybindings
> > for moving the pointer and for sending button presses (actually, I use
> > synthetic events still, since the XTest module for Scwm is rather new).
> 
> I've been thinking about this the last few months...  I've already got
> some mouse movement bindings but was mystified as to how to produce
> mouse button events, even synthetic ones.  XTest sounds like a major win

See `send-button-press', `xtest-fake-button-event'.

> in this case.  I'm trying to make my mouse completely useless, and the
> only applications where I still have to use it are Netscape (can't find
> a resource to select particular links -- but I haven't looked hard), and
> all Athena apps (haven't even bothered to think about those widget
> resources).
> 
> If scwm could do them without having to fiddle with resources I would
> have yet one more reason why I won't use any other window manager.

It'd be nice to have some modules for further manipulations.

> thanks for scwm!

You're welcome.  Thanks for using it!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 18:01:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA29594
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 18:01:47 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA29591
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Sep 1999 18:01:43 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA15010; Wed, 15 Sep 1999 15:01:38 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: Mail archives are updated...
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 15:01:37 -0700
Message-ID: <qrr1zbzvnpa.fsf@elwha.cs.washington.edu>
Lines: 6
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I updated the mail archives.  I'm setting up a cron job to do so
nightly, around 5am EST.  Please continue to report problems with the
archives.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 18:11:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA29699
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 18:11:01 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA29691
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Sep 1999 18:09:38 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA15024; Wed, 15 Sep 1999 15:09:30 -0700 (PDT)
To: Jay Belanger <jay@vh213601.truman.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Last pre-release: scwm-0.99.2pre11
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 15:09:30 -0700
In-Reply-To: Jay Belanger's message of "Tue, 14 Sep 1999 18:09:19 -0500"
Message-ID: <qrrvh9bu8rp.fsf@elwha.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jay Belanger <jay@vh213601.truman.edu> writes:

<snip>

> Well, scwm seems to work great now.  It even wins the scwm-pager race!
> However, while the panel is now accessible, clicking on the pager
> doesn't change workspaces.  (Doesn't bother me, but I thought it was
> worth mentioning.)  Right now, I'm really happy with the way it's
> working ... kudos!!

I just fixed the pager bug in CVS.  It's a one line fix: events.c:936
should test if the hook is not empty with:

  if (SCM_BOOL_F == scm_empty_hook_p(client_message_hook)) {

instead of

  if (SCM_BOOL_F != scm_empty_hook_p(client_message_hook)) {

Any guile person want to remind me why SCM_BOOL_F was not made to be 0?
I know the tagging scheme is complex, but I'd certainly design it so
that I could have 0 be #f.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 18:14:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA29740
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 18:14:33 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA29736
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Sep 1999 18:14:30 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA15031; Wed, 15 Sep 1999 15:14:22 -0700 (PDT)
To: James Achtung Crippen <james@fredbox.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: scwm-0.99.2 problems
References: <37DFF435.3E1163D6@fredbox.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 15:14:22 -0700
In-Reply-To: James Achtung Crippen's message of "Wed, 15 Sep 1999 11:32:05 -0800"
Message-ID: <qrru2ovu8jl.fsf@elwha.cs.washington.edu>
Lines: 85
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

James Achtung Crippen <james@fredbox.com> writes:

> I've jsut upgraded from 0.9 to 0.99.2, and I've encountered a few
> problems and have a few suggestions.
> 
> First off, my scwmrc dates back to 0.7 or so, and there's some quite
> crufty code in it that I've blithely ignored for some time.  That's
> just a mild warning.
> 
> The first few errors that I encountered were the obligatory 'deprecated
> name' messages, including those referring to 'button-{1,2,3,...}'.
> I dutifully replaced 'button-1' with 'left-button-1' and, as the errors
> indicated, 'button-2' and 'button-4' with 'right-button-2' and
> 'right-button-4'.  After shotgunning around in the file I finally rid

They weren't suggest right-button-1 and right-button-2, repsectively?  I 
just tried this and mine suggested the right new names.

> myself of the two new, non-functional buttons in the upper right corner
> that had suddenly appeared, by using 'right-button-1' and
> 'right-button-2'.  Possibly a clearer deprecation warning is warranted.
> 
> I noticed the bit about (setvbuf (current-output-port) _IONBF) which
> made me much happier -- now I can see my debugging messages.

Good.

> One problem I haven't solved yet.  I have two small xterms that I keep
> in the corner of the screen, both of which 'tail -f' certain log files
> that I may see what my system is doing and who's doing what.  They
> were previously defined with a window style like
> (define log-widget
>   (make-style
>     #:plain-border #t
>     #:border-width 0
>     #:sticky #t
>     #:winlist-skip #f
>     #:circulate-skip #t
>     #:no-titlebar #t
>     #:start-lowered #t
>     #:focus 'sloppy))
> and then this style was set for them by
> (window-style "*log" #:use-style log-widget)
> and the windows were run as "xterm -T 'syslog'" and "xterm -T 'xlog'".
> Unfortunately they now seem to be using the style defined for xterms.
> I'm under the assumption that WINDOW-STYLE is no longer using the
> window title but its class, thus these windows are being styled
> incorrectly.  Any ideas how to deal with this?  Since they're all of
> the same class, XTerm, there doesn't appear to be a way of
> differentiating between them.  That sucks, since my usual xterms aren't
> sticky and have borders and decoration, but these log windows don't.

Use 

xterm -name foo

and then "foo" in your window-style (it uses the window *resource*, not
class, by default).

> Another problem is that XEmacs seems to lose its icon pixmap when
> scwm is restarted.  I'm suspicious that it's because XEmacs sets the
> pixmap when scwm is started, but when scwm is restarted it doesn't
> know about that pixmap.  I suppose the easy way to get around this is
> to define the pixmap as a style attribute, but I can't do that until
> I know whether I should assign it to the class XEmacs or to XEmacs's
> title string (which is completely different).  Oddly though, the size
> of the pixmap is retained, so I get a gray50 square the same size as
> the usual icon pixmap.  I'm not sure how this is occurring, I'm not much
> of an X hacker (I stick to PL and compiler theory).

I don't use pixmap icons, so perhaps someone who does could help track
this one down? 

> Aside from all that, I'm quite impressed!

Thanks.  Me too! :-)

> Thanks for all the work on such a great project!  I can't be much more
> happy and effusive about scwm than I already am.  I've converted two
> people this week!

Excellent... I love to hear about converts... we have way too small of a 
user base considering how great Scwm is! :-)

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 18:17:38 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA29794
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 18:17:38 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA29791
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Sep 1999 18:17:35 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA15034; Wed, 15 Sep 1999 15:17:28 -0700 (PDT)
To: Chris Bitmead <chris@tech.com.au>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: failure report
References: <19990915121537.A20204@youkaidi.irisa.fr> <38218186.B3C61253@tech.com.au>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 15:17:28 -0700
In-Reply-To: Chris Bitmead's message of "Thu, 04 Nov 1999 23:52:22 +1100"
Message-ID: <qrrso4fu8ef.fsf@elwha.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

> I just downloaded scwm via cvs as well as guile and built and installed
> it.
> 
> I don't find it runs well under gnome at all. I tried most of the sample
> .scwmrc files but the gnome pager doesn't work, the gnome panel seems to
> behave erratically, and on some .scwmrcs, the panel and icons gain
> unwanted window decorations.
> 
> Any suggestions?

FWIW, the system.scwmrc is the only one that I've tuned to work well
with gnome.  If you're using it and it's not happy, then please try to
attack each of the problems individually.  E.g., the decorations on the
icons should be gotten rid of using:

(define desk-icon
  (make-style #:winlist-skip #t
	      #:circulate-skip #t #:focus 'none))

(window-style "desktop_icon" #:use-style desk-icon #:placement-proc use-placement-hint)

from sample.scwmrc ~l.824.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 19:19:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA30258
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 19:19:19 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sebastian.neuroflex.com (root@[202.62.130.81])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA30254
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Sep 1999 19:19:12 -0400
Received: from tech.com.au (chris.neuroflex.com [172.16.1.24])
	by sebastian.neuroflex.com (8.9.3/8.8.7) with ESMTP id JAA13613
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 09:27:20 +1000
Message-ID: <37E02AB5.49F15B9@tech.com.au>
Date: Thu, 16 Sep 1999 09:24:37 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: Re: failure report
References: <19990915121537.A20204@youkaidi.irisa.fr> <38218186.B3C61253@tech.com.au> <qrrk8psuouk.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk



Platform: RedHat 6.0.
Guile: latest CVS.

I'll try your suggestions when I get home.


Greg Badros wrote:
> 
> Chris Bitmead <chris@tech.com.au> writes:
> 
> > I just downloaded scwm via cvs as well as guile and built and installed
> > it.
> >
> > I don't find it runs well under gnome at all. I tried most of the sample
> > .scwmrc files but the gnome pager doesn't work, the gnome panel seems to
> > behave erratically, and on some .scwmrcs, the panel and icons gain
> > unwanted window decorations.
> >
> > Any suggestions?
> 
> Platform?  Guile version?  Try it w/ "scwm -f /dev/null" and see how
> that works.  I've seen similar problems with running Scwm on my alpha
> box but haven't had time to track them down.
> 
> Also, grab the scwm-0.99.2.tar.gz and try that instead of CVS -- it's a
> more reliable tarball to ponder about.
> 
> Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 15 21:50:41 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA30955
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 21:50:41 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from cr610941-a.rct1.bc.wave.home.com (cr610941-a.rct1.bc.wave.home.com [24.113.76.219])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA30952
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Sep 1999 21:50:35 -0400
Received: from root by cr610941-a.rct1.bc.wave.home.com with local (Exim 3.03 #1 (Debian))
	id 11RQgY-00073k-00; Wed, 15 Sep 1999 18:50:06 -0700
X-Uptime:   6:50pm  up 9 days,  2:39,  2 users,  load average: 0.04, 0.09, 0.09
X-OS: Linux cr610941-a 2.2.11 #2 Mon Sep 6 15:40:58 PDT 1999 i586 unknown
X-Homepage: http://www.sfu.ca/~stephent
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: new scwm.el patch
References: <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com> <qrryaea7r9g.fsf@elwha.cs.washington.edu> <87k8puvv2y.fsf_-_@cr610941-a.rct1.bc.wave.home.com> <qrrhfkxy1qv.fsf@elwha.cs.washington.edu> <87n1upv1g5.fsf@cr610941-a.rct1.bc.wave.home.com> <qrrpuzlwa8l.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Stephen Tse <stephent@sfu.ca>
Date: 15 Sep 1999 18:50:06 -0700
In-Reply-To: Greg Badros's message of "14 Sep 1999 12:42:34 -0700"
Message-ID: <87hfkvy69d.fsf@cr610941-a.rct1.bc.wave.home.com>
Lines: 23
X-Mailer: Gnus v5.6.45/XEmacs 21.2 - "Shinjuku"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Stephen Tse <stephent@sfu.ca> writes:
> 
> > Glad to hear that.
> > 
> > 
> > May I ask you a question that is slightly out of topic? I am eager to
> > help wm development, but beyond icccm manual, what resources
> > (books/url/manuals...) should I read to gain more ideas and
> > knowledges? I'm fine with reading source code ;) but I want some
> > descriptive texts.
> 
> What areas interest you the most in contributing in?  If you have a
> couple ideas of what projects you might want to work on, I'll happily
> help point you in the right direction.


I am very new to wm programming, but I am interested in low level
details. Any doc/material describes exactly _what_ functions and _how_
every wm has to implement?



From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 00:35:48 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA31316
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 00:35:48 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA31311
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 00:35:23 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA15542; Wed, 15 Sep 1999 21:35:05 -0700 (PDT)
To: Stephen Tse <stephent@sfu.ca>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: new scwm.el patch
References: <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com> <qrryaea7r9g.fsf@elwha.cs.washington.edu> <87k8puvv2y.fsf_-_@cr610941-a.rct1.bc.wave.home.com> <qrrhfkxy1qv.fsf@elwha.cs.washington.edu> <87n1upv1g5.fsf@cr610941-a.rct1.bc.wave.home.com> <qrrpuzlwa8l.fsf@elwha.cs.washington.edu> <87hfkvy69d.fsf@cr610941-a.rct1.bc.wave.home.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 21:35:04 -0700
In-Reply-To: Stephen Tse's message of "15 Sep 1999 18:50:06 -0700"
Message-ID: <qrryae7lbif.fsf@elwha.cs.washington.edu>
Lines: 41
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tse <stephent@sfu.ca> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > Stephen Tse <stephent@sfu.ca> writes:
> > 
> > > Glad to hear that.
> > > 
> > > 
> > > May I ask you a question that is slightly out of topic? I am eager to
> > > help wm development, but beyond icccm manual, what resources
> > > (books/url/manuals...) should I read to gain more ideas and
> > > knowledges? I'm fine with reading source code ;) but I want some
> > > descriptive texts.
> > 
> > What areas interest you the most in contributing in?  If you have a
> > couple ideas of what projects you might want to work on, I'll happily
> > help point you in the right direction.
> 
> 
> I am very new to wm programming, but I am interested in low level
> details. Any doc/material describes exactly _what_ functions and _how_
> every wm has to implement?


Hmmm... there's:

http://www.rahul.net/kenton/txa/nov95.html

and tons of technical documentation at:

ftp://ftp.x.org/pub/R6.3/xc/doc/hardcopy/Xext/

Also, the O'Reilly Xlib programming Manual (Vol. 1 of the X11 series) is
very good and covers WM functionality a bit.  I mostly learned by
reading and contributing to fvwm2 after having already been an X11/Motif
programmer for a while.

Other pointers, anyone?

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 01:25:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA31483
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 01:25:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from savonarola.red-bean.com (savonarola.red-bean.com [208.245.165.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA31480
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 16 Sep 1999 01:25:11 -0400
Received: (from jimb@localhost)
	by savonarola.red-bean.com (8.8.7/8.8.7) id AAA09004;
	Thu, 16 Sep 1999 00:24:32 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: Jay Belanger <jay@vh213601.truman.edu>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Last pre-release: scwm-0.99.2pre11
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu>
From: Jim Blandy <jimb@red-bean.com>
Date: 16 Sep 1999 00:24:31 -0500
In-Reply-To: Greg Badros's message of "15 Sep 1999 15:09:30 -0700"
Message-ID: <m34sgvcttc.fsf@savonarola.red-bean.com>
Lines: 8
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> Any guile person want to remind me why SCM_BOOL_F was not made to be 0?
> I know the tagging scheme is complex, but I'd certainly design it so
> that I could have 0 be #f.

So that pointers can be used directly, for speed.  Probably not a good
argument; if you subtract off the tag, that'll get added into whatever
offset you're using to fetch a structure element...

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 01:34:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA31518
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 01:34:29 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA31515
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 01:34:26 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA15586; Wed, 15 Sep 1999 22:34:21 -0700 (PDT)
To: guile@sourceware.cygnus.com
Cc: scwm-discuss@scwm.mit.edu
Subject: Bug in regexp-substitute/global
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 22:34:20 -0700
Message-ID: <qrrwvtrl8rn.fsf@elwha.cs.washington.edu>
Lines: 27
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

This behaviour has changed (in current CVS) since guile-1.3:


Old (correct, IMO) behaviour:

(regexp-substitute/global #f "x" "string" 'pre "y" 'post)
=>  "string"   ;; no substitutions applied


New (in CVS), buggy behaviour:
=>  ""        ;; empty string?  what gives!?!?

If a (any!) substitution is made, then the result is correct.

I think this patch is correct and should be applied ASAP (I've not yet
received word about my write access to the repository).

--- regex.scm   1999/09/11 17:38:31     1.4
+++ regex.scm   1999/09/16 05:33:06
@@ -196,4 +196,5 @@
                        (do-item (car items)) ; This is a tail call.
                        (begin
                          (do-item (car items)) ; This is not.
-                         (next-item (cdr items)))))))))))
+                         (next-item (cdr items)))))))
+           (display string port)))))


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 01:39:53 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA31600
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 01:39:53 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA31597
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 01:39:42 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA15594; Wed, 15 Sep 1999 22:39:34 -0700 (PDT)
To: Jim Blandy <jimb@red-bean.com>
Cc: Jay Belanger <jay@vh213601.truman.edu>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com
Subject: guile bugs
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 22:39:34 -0700
In-Reply-To: Jim Blandy's message of "16 Sep 1999 00:24:31 -0500"
Message-ID: <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu>
Lines: 28
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jim Blandy <jimb@red-bean.com> writes:

> > Any guile person want to remind me why SCM_BOOL_F was not made to be 0?
> > I know the tagging scheme is complex, but I'd certainly design it so
> > that I could have 0 be #f.
> 
> So that pointers can be used directly, for speed.  Probably not a good
> argument; if you subtract off the tag, that'll get added into whatever
> offset you're using to fetch a structure element...

Hmmm... yea, it sure would've saved a lot of bugs in Scwm (especially
early on) if Scheme booleans could be treated as C booleans.  I
hypothesize that three changes would find a ton of bugs in Guile and Scwm:

1) SCM_BOOL_F should be 0 so it is false in C

2) SCM should not be a long, but instead be a pointer to undefined
struct as we discussed before.  This would prevent misuse of an integer
as a Scheme value.

3) The checking of the argument numbers using a more sophisticated macro 
like SCWM_PROC and Scwm's documentation extraction system (as mentioned
in an email earlier this week).

These are all pretty pervasive changes, unfortunately, but I'm guessing
they'd be a huge win in the long run.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 01:42:38 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA31634
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 01:42:38 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA31626
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 01:42:34 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA15601; Wed, 15 Sep 1999 22:42:25 -0700 (PDT)
To: Chris Bitmead <chris@tech.com.au>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: failure report
References: <19990915121537.A20204@youkaidi.irisa.fr> <38218186.B3C61253@tech.com.au> <qrrk8psuouk.fsf@elwha.cs.washington.edu> <37E02A9D.A44D1DFE@tech.com.au>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 22:42:25 -0700
In-Reply-To: Chris Bitmead's message of "Thu, 16 Sep 1999 09:24:13 +1000"
Message-ID: <qrru2ovl8e6.fsf@elwha.cs.washington.edu>
Lines: 36
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

> Greg Badros wrote:
> > 
> > Chris Bitmead <chris@tech.com.au> writes:
> > 
> > > I just downloaded scwm via cvs as well as guile and built and installed
> > > it.
> > >
> > > I don't find it runs well under gnome at all. I tried most of the sample
> > > .scwmrc files but the gnome pager doesn't work, the gnome panel seems to
> > > behave erratically, and on some .scwmrcs, the panel and icons gain
> > > unwanted window decorations.
> > >
> > > Any suggestions?

My very recent post about the bug in guile I just fixed corrects these
problems in Scwm (the window-style proc uses wildcard->regex that does a 
regexp-substitute/global that is buggy in Guile CVS right now).  Here,
again, is the patch (to guile):

RCS file: /cvs/guile/guile/guile-core/ice-9/regex.scm,v
retrieving revision 1.4
diff -u -p -r1.4 regex.scm
--- regex.scm   1999/09/11 17:38:31     1.4
+++ regex.scm   1999/09/16 05:33:06
@@ -196,4 +196,5 @@
                        (do-item (car items)) ; This is a tail call.
                        (begin
                          (do-item (car items)) ; This is not.
-                         (next-item (cdr items)))))))))))
+                         (next-item (cdr items)))))))
+           (display string port)))))


Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 01:46:20 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA31747
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 01:46:20 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA31742
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 01:46:16 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA15604; Wed, 15 Sep 1999 22:46:10 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: ViaVoice
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 22:46:10 -0700
Message-ID: <qrrso4fl87x.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Has anyone else out there tried IBM ViaVoice?  I just tried it, and it's
pretty cool. I'm gonna be adding a ViaVoice module to Scwm in the next
week or so, if time permits.  In the meantime, if you have RH6, I
recommend going to:

http://www.software.ibm.com/speech/dev/sdk_linux.html

and grabbing the downloads and getting it set up.  Be sure to follow the 
steps in section 2 of /usr/doc/ViaVoice/rtreadme.txt including all the
hoops about setting up a user ID, etc. (steps 3, 4, and 5) as it won't
otherwise work.

If you saw Jim Gettys' talk at LinuxExpo in Raleigh this spring, you'll
know where I'm going with this idea.... show be pretty cool!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 02:36:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA32106
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 02:36:27 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from intermailhost.viewlogic.com (intermailhost.viewlogic.com [139.181.6.17])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA32103
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 16 Sep 1999 02:36:15 -0400
Received: from mailhost.viewlogic.com (mailhost.viewlogic.com [139.181.3.35])
	by intermailhost.viewlogic.com (8.8.8/8.8.7) with ESMTP id CAA26287;
	Thu, 16 Sep 1999 02:35:36 -0400 (EDT)
Received: from viewlogic.com (racerx [139.181.3.11])
	by mailhost.viewlogic.com (8.8.6/8.8.7) with ESMTP id CAA15598;
	Thu, 16 Sep 1999 02:35:35 -0400 (EDT)
Message-ID: <37E08E87.ED30B9BD@viewlogic.com>
Date: Thu, 16 Sep 1999 02:30:31 -0400
From: Maciej Stachowiak <mstachow@viewlogic.com>
X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 5.5.1 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
CC: Stephen Tse <stephent@sfu.ca>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: new scwm.el patch
References: <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com> <qrryaea7r9g.fsf@elwha.cs.washington.edu> <87k8puvv2y.fsf_-_@cr610941-a.rct1.bc.wave.home.com> <qrrhfkxy1qv.fsf@elwha.cs.washington.edu> <87n1upv1g5.fsf@cr610941-a.rct1.bc.wave.home.com> <qrrpuzlwa8l.fsf@elwha.cs.washington.edu> <87hfkvy69d.fsf@cr610941-a.rct1.bc.wave.home.com> <qrryae7lbif.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros wrote:
> 
> Hmmm... there's:
> 
> http://www.rahul.net/kenton/txa/nov95.html
> 
> and tons of technical documentation at:
> 
> ftp://ftp.x.org/pub/R6.3/xc/doc/hardcopy/Xext/
> 
> Also, the O'Reilly Xlib programming Manual (Vol. 1 of the X11 series) is
> very good and covers WM functionality a bit.  I mostly learned by
> reading and contributing to fvwm2 after having already been an X11/Motif
> programmer for a while.
> 
> Other pointers, anyone?

I strongly reccomend the O'Reilley Xlib programming manual. It will both
get you started on basic X concepts, and in the chapter on window management
show you the basics of that. After that, I am afraid the best way to learn
about window management is to read the source code for window managers,
and I am afraid there is none, not even Scwm (yet!) that I would offer
as a textbook example of clean, elegant code. If you want to hack on Scwm
specifically then the best thing is to look at scwm code once you have
basic Xlib concepts down, and ask about anything you don't understand.
There is only a slight chance that no one on the list will understand
it either :-)

There are also a number of docs in the scwm repository which provide roadmaps
to various sections of the code, and explanations of the way scwm handles
certain things the way it does.

 - Maciej

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 02:49:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA32226
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 02:49:59 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from corona.beachnet.com (corona.beachnet.com [207.182.224.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA32223
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 16 Sep 1999 02:49:55 -0400
Received: from anohana.com (haw-207-182-230-35.vel.net [207.182.230.35])
          by corona.beachnet.com (Post.Office MTA v3.5.3 release 223
          ID# 0-61472U2500L250S0V35) with ESMTP id com;
          Wed, 15 Sep 1999 23:53:42 -0700
Message-ID: <37E09430.F578ABC3@anohana.com>
Date: Wed, 15 Sep 1999 23:54:40 -0700
From: "Mark Schafer" <mschafer@anohana.com>
Organization: Anohana Production Management & Technologies
X-Mailer: Mozilla 4.05 [en] (WinNT; I)
MIME-Version: 1.0
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Last pre-release: scwm-0.99.2pre11
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrhfkxvyqt.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Well another success story.
Running redhat6.0 stock.
- downloaded the rpms.
- searched around the mail archive until found installation
  instructions for RH (maybe this would be good on scwm webpage).
  
- installed beautifully.
- try to work out how to get enlightenment off and scwm on.
  Maybe some doc on this would be good too. Some people don't have
  the experience to know the best, or indeed any, way to do this.
  I have the following in a new(RH does not have one by default)
  .xinitrc file:
  scwm &
  gnome-session
  (RH does not have .xsession unless in runlevel 5.)

Not sure if I should be using startscwm or not, or from where.
Most RH basic users are either using the runlevel 5, starting in kdm or
gdm, or runlevel 3 and typing startx every time. Same for Mandrake users
(haven't tried this yet though). I use manual startx command because if
X crashes (or I have to m-c-backspace halt it) then existing processes
are killed when using runlevel 5.

gnome runs great (except for pager as noted elsewhere) and system.scwmrc
is a great initial example. The two together let me get to everything I
had under E and gnome.
(Unfortunately enlightenment keeps wanting to start so I have to cancel
it as scwm starts.)

Already started modifying system.scwmrc. Looking forward to modifying
the themes.

Congratulations. Nice release.  Yeehaw.
(sotto voce: Now how am I going to use that constraint stuff... :)

Mark...

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 03:55:37 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA32520
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 03:55:37 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from cr610941-a.rct1.bc.wave.home.com (cr610941-a.rct1.bc.wave.home.com [24.113.76.219])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA32517
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 03:55:32 -0400
Received: from root by cr610941-a.rct1.bc.wave.home.com with local (Exim 3.03 #1 (Debian))
	id 11RWAy-0007Fj-00; Thu, 16 Sep 1999 00:41:52 -0700
X-Uptime:  12:41am  up 9 days,  8:31,  2 users,  load average: 0.03, 0.14, 0.14
X-OS: Linux cr610941-a 2.2.11 #2 Mon Sep 6 15:40:58 PDT 1999 i586 unknown
X-Homepage: http://www.sfu.ca/~stephent
To: Maciej Stachowiak <mstachow@viewlogic.com>
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@scwm.mit.edu
Subject: writing wm
References: <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com> <qrryaea7r9g.fsf@elwha.cs.washington.edu> <87k8puvv2y.fsf_-_@cr610941-a.rct1.bc.wave.home.com> <qrrhfkxy1qv.fsf@elwha.cs.washington.edu> <87n1upv1g5.fsf@cr610941-a.rct1.bc.wave.home.com> <qrrpuzlwa8l.fsf@elwha.cs.washington.edu> <87hfkvy69d.fsf@cr610941-a.rct1.bc.wave.home.com> <qrryae7lbif.fsf@elwha.cs.washington.edu> <37E08E87.ED30B9BD@viewlogic.com>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Stephen Tse <stephent@sfu.ca>
Date: 16 Sep 1999 00:41:52 -0700
In-Reply-To: Maciej Stachowiak's message of "Thu, 16 Sep 1999 02:30:31 -0400"
Message-ID: <87vh9bwben.fsf_-_@cr610941-a.rct1.bc.wave.home.com>
Lines: 27
X-Mailer: Gnus v5.6.45/XEmacs 21.2 - "Shinjuku"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Maciej Stachowiak <mstachow@viewlogic.com> writes:

> > Other pointers, anyone?
> 
> I strongly reccomend the O'Reilley Xlib programming manual. It will both
> get you started on basic X concepts, and in the chapter on window management
> show you the basics of that. After that, I am afraid the best way to learn
> about window management is to read the source code for window managers,
> and I am afraid there is none, not even Scwm (yet!) that I would offer
> as a textbook example of clean, elegant code. If you want to hack on Scwm
> specifically then the best thing is to look at scwm code once you have
> basic Xlib concepts down, and ask about anything you don't understand.
> There is only a slight chance that no one on the list will understand
> it either :-)
> 
> There are also a number of docs in the scwm repository which provide roadmaps
> to various sections of the code, and explanations of the way scwm handles
> certain things the way it does.


Thanks for sharing, Greg and Maciej.

As a beginner, I find scwm codes is obscured by guile stuff. By some
digging I found aewm <http://members.home.com/decklin/aewm/>, which I
think is clean and minimal - good place for me to start.

Anyone else has hacked on that?

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 05:26:20 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA02216
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 05:26:20 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA02213
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 16 Sep 1999 05:26:15 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id LAA02077
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 16 Sep 1999 11:26:07 +0200 (MET DST)
Date: Thu, 16 Sep 1999 11:26:06 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@SCWM.MIT.EDU
Subject: scwm-0.99.2 : problem with fvwm-module
Message-ID: <19990916112606.B28548@youkaidi.irisa.fr>
References: <19990915150117.A23128@youkaidi.irisa.fr> <19990915154003.B23128@youkaidi.irisa.fr> <19990915162232.A24325@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.7us
In-Reply-To: <19990915162232.A24325@youkaidi.irisa.fr>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon écrivait :
> 
> Hi,
> 
> With scwm-0.99.2, I have also an error when I quit scwm and restart
> it: it freezes because of some problem with some fvwm-module. I get
> errors like :
> 
> Backtrace:
> 0* [module-broadcast-name 2048 37749373 ...]
> 1* [map #<procedure (fmod)> ((#<output: write pipe 13> 0 #<procedure ()> ...) (#<output: write pipe 11> 0 #<procedure ()> ...))]
> 2* [#<procedure (fmod)> (#<output: write pipe 13> 0 #<procedure ()> ...)]
> 3* (let ((to-module-write #) (mask #)) (if (logior type mask) (fvwm2-module-send-packet type # ...)))
> 4  (if (logior type mask) (fvwm2-module-send-packet type (pad-string-to-long #) ...))
>    ...
> 5  [force-output #<output: write pipe 13>]
> 
> /udd/canon/share/scwm/modules/app/scwm/fvwm-module.scm:212:3: In procedure force-output in expression (force-output port):
> /udd/canon/share/scwm/modules/app/scwm/fvwm-module.scm:212:3: Resource temporarily unavailable
> 
> Backtrace:
> 0* [module-broadcast-name 4096 37749373 ...]
> 1* [map #<procedure (fmod)> ((#<output: write pipe 13> 0 #<procedure ()> ...) (#<output: write pipe 11> 0 #<procedure ()> ...))]
> 2* [#<procedure (fmod)> (#<output: write pipe 13> 0 #<procedure ()> ...)]
> 3* (let ((to-module-write #) (mask #)) (if (logior type mask) (fvwm2-module-send-packet type # ...)))
> 4  (if (logior type mask) (fvwm2-module-send-packet type (pad-string-to-long #) ...))
>    ...
> 5  [force-output #<output: write pipe 13>]
> 
> /udd/canon/share/scwm/modules/app/scwm/fvwm-module.scm:212:3: In procedure force-output in expression (force-output port):
> /udd/canon/share/scwm/modules/app/scwm/fvwm-module.scm:212:3: Resource temporarily unavailable
> 
> Backtrace:
> 0* [module-broadcast-name 8192 37749373 ...]
> 1* [map #<procedure (fmod)> ((#<output: write pipe 13> 0 #<procedure ()> ...)Error: could not flush file-descriptor 13
> 

I got the same errors this morning. scwm crashed (apparently after a
completion in scwmprel, I had this in the ps command :

scwmexec '(use-scwm-modules (ice-9 session regex) doc flux)'

I don't remember exactly)

And I get the same errors many times :

Backtrace:
0* [module-broadcast 256 7 ...]
1* [map #<procedure (fmod)> ((#<output: write pipe 13> 0 #<procedure ()> ...) (#<output: write pipe 11> 0 #<procedure ()> ...))]
2* [#<procedure (fmod)> (#<output: write pipe 13> 0 #<procedure ()> ...)]
3* (let ((to-module-write #) (mask #) (args #)) (set-cdr! (list-tail args #) (quote ())) ...)
4  (if (logior type mask) (fvwm2-module-send-packet type (apply string-append #) ...))
   ...
5  [force-output #<output: write pipe 13>]
/udd/canon/share/scwm/modules/app/scwm/fvwm-module.scm:212:3: In procedure force-output in expression (force-output port):
/udd/canon/share/scwm/modules/app/scwm/fvwm-module.scm:212:3: Resource temporarily unavailable
Backtrace:
0* [module-broadcast-config 32 #<window 33554444: "Agenda V3.5 : pampa@ulla">]
1* [map #<procedure (fmod)> ((#<output: write pipe 13> 0 #<procedure ()> ...) (#<output: write pipe 11> 0 #<procedure ()> ...))]
2* [#<procedure (fmod)> (#<output: write pipe 13> 0 #<procedure ()> ...)]
3* (let ((to-module-write #) (mask #)) (if (logior type mask) (fvwm2-module-send-packet type # ...)))
4  (if (logior type mask) (fvwm2-module-send-packet type (marshal-fvwm2-config-info window) ...))
   ...
5  [force-output #<output: write pipe 13>]
/udd/canon/share/scwm/modules/app/scwm/fvwm-module.scm:212:3: In procedure force-output in expression (force-output port):
/udd/canon/share/scwm/modules/app/scwm/fvwm-module.scm:212:3: Resource temporarily unavailable
Backtrace:
0* [module-broadcast-config 32 #<window 33554444: "Agenda V3.5 : pampa@ulla">]
1* [map #<procedure (fmod)> ((#<output: write pipe 13> 0 #<procedure ()> ...) (#<output: write pipe 11> 0 #<procedure ()> ...))]
2* [#<procedure (fmod)> (#<output: write pipe 13> 0 #<procedure ()> ...)]
3* (let ((to-module-write #) (mask #)) (if (logior type mask) (fvwm2-module-send-packet type # ...)))
4  (if (logior type mask) (fvwm2-module-send-packet type (marshal-fvwm2-config-info window) ...))
   ...
5  [force-output #<output: write pipe 13>]
/udd/canon/share/scwm/modules/app/scwm/fvwm-module.scm:212:3: In procedure force-output in expression (force-output port):
/udd/canon/share/scwm/modules/app/scwm/fvwm-module.scm:212:3: Resource temporarily unavailable


[snip snip]


And the next time I want to start scwm again, it freezes, and I have
to kill it to run fvwm.


-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 05:38:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA02328
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 05:38:51 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from w2.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA02323
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 05:38:44 -0400
Received: from mizar (r2p091.ntt.it [194.73.94.219]) by w2.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id LAA58252 for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 11:39:11 +0200 (DFT)
Received: from cesco by mizar with local (Exim 3.02 #1 (Debian))
	id 11RXxc-00038d-00
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 11:36:12 +0200
Date: Thu, 16 Sep 1999 11:36:11 +0200
From: Francesco Tapparo <cesco@ntt.it>
To: scwm-discuss@scwm.mit.edu
Subject: corba and misc
Message-ID: <19990916113611.A10746@mizar>
Reply-To: cesco@debian.org
Mail-Followup-To: scwm-discuss@scwm.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Are the corba and utilities/misc dirs used? These dirs are void in my cvs
snapshot, but are created from the build scripts with a void makefile,
creating some problems.
If I remove the misc and corba entries in configure.in, Makefile.am,
utilities/Makefile.am the build goes well.

cheers

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 06:09:22 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA02533
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 06:09:22 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mdj-pc.nada.kth.se (mail@mdj-pc.nada.kth.se [130.237.224.206])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA02529
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 06:09:16 -0400
Received: from mdj by mdj-pc.nada.kth.se with local (Exim 3.02 #1 (Debian))
	id 11RXyM-0005lf-00; Thu, 16 Sep 1999 11:36:58 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: Jim Blandy <jimb@red-bean.com>, Jay Belanger <jay@vh213601.truman.edu>,
        scwm-discuss@scwm.mit.edu, guile@sourceware.cygnus.com
Subject: Re: guile bugs
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu>
Cc: djurfeldt@nada.kth.se
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Date: 16 Sep 1999 11:36:58 +0200
In-Reply-To: Greg Badros's message of "15 Sep 1999 22:39:34 -0700"
Message-ID: <xy7vh9bi4ed.fsf@mdj-pc.nada.kth.se>
Lines: 38
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Jim Blandy <jimb@red-bean.com> writes:
> 
> > > Any guile person want to remind me why SCM_BOOL_F was not made to be 0?
> > > I know the tagging scheme is complex, but I'd certainly design it so
> > > that I could have 0 be #f.
> > 
> > So that pointers can be used directly, for speed.  Probably not a good
> > argument; if you subtract off the tag, that'll get added into whatever
> > offset you're using to fetch a structure element...
> 
> Hmmm... yea, it sure would've saved a lot of bugs in Scwm (especially
> early on) if Scheme booleans could be treated as C booleans.  I
> hypothesize that three changes would find a ton of bugs in Guile and Scwm:
> 
> 1) SCM_BOOL_F should be 0 so it is false in C

I don't like this argument.  It's not true that this change would
eliminate bugs.  Using SCM values directly in C is a violation of the
abstraction barrier and clearly a bug. The suggested change would, in
fact, multiply them.  It would make code with this type of bug work,
so that they are harder to find.

You may say that it's not a serious bug, but I say it is.  If we, in
the future, reorganize the interpreter, we may find strong reasons not
to represent SCM_BOOL_F as 0.  It wouldn't be nice then if 50% of all
applications break when we make the change.

What is important is to consider which representation gives most
efficient code.  There is a risk that subtracting a tag does affect
efficiency of the compiled code, because many pointer references in
Guile is made with offset 0.  (However, on some processors,
referencing with offset 0 is as efficient as referencing with other
small constant offsets.)  Note also that pointer references are made
much more often than boolean values are tested.  I would say the ratio
is 50:1.  But what really would make pointer tag != 0 slow, is that
you would need to *add* the tags when consing.

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 07:03:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA02713
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 07:03:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from petra.zesoi.fer.hr. (petra.zesoi.fer.hr [161.53.64.16])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA02710
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 07:03:05 -0400
Received: (from silovic@localhost) by petra.zesoi.fer.hr. (8.8.8/8.8.3 ZEMS) id MAA13649; Thu, 16 Sep 1999 12:48:17 +0200 (MET DST)
To: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Cc: Greg Badros <gjb@cs.washington.edu>, Jim Blandy <jimb@red-bean.com>,
        Jay Belanger <jay@vh213601.truman.edu>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com, djurfeldt@nada.kth.se
Subject: Re: guile bugs
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu> <xy7vh9bi4ed.fsf@mdj-pc.nada.kth.se>
From: Miroslav Silovic <silovic@zesoi.fer.hr>
Date: 16 Sep 1999 12:48:16 +0200
In-Reply-To: Mikael Djurfeldt's message of "16 Sep 1999 11:36:58 +0200"
Message-ID: <7eemfzp1xr.fsf@zesoi.fer.hr>
Lines: 40
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> writes:

> > 1) SCM_BOOL_F should be 0 so it is false in C
> 
> I don't like this argument.  It's not true that this change would
> eliminate bugs.  Using SCM values directly in C is a violation of the
> abstraction barrier and clearly a bug. The suggested change would, in
> fact, multiply them.  It would make code with this type of bug work,
> so that they are harder to find.

I fully agree with the above sentiment, however, it's not the main
problem. The main problem is that C compiler won't report errors like

if (scm_procedure_p(foo))
    ...

It won't even complain about them.

I think SCM should be

typedef union {
    void *ptr;
    long value;
    float float_value; /* for CDR parts of float pairs */
} SCM;

Now /this/ would trap most bugs. But I'm not sure about the efficiency
issues (gcc may overoptimize functions returning SCM structs, and use
pointers rather than registers... This should be investigated). It
would also trap problems such as

*(Foo_smob*)SCM_CDR(foo) = whatever

(rather than SCM_SET_CDR(foo, whatever))

- while these expressions are equivalent with the current
implementation, it could bomb with write barrier in place.

-- 
How to eff the ineffable?

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 07:16:31 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA02788
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 07:16:31 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from petra.zesoi.fer.hr. (petra.zesoi.fer.hr [161.53.64.16])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA02785
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 07:16:10 -0400
Received: (from silovic@localhost) by petra.zesoi.fer.hr. (8.8.8/8.8.3 ZEMS) id NAA13699; Thu, 16 Sep 1999 13:01:47 +0200 (MET DST)
To: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Cc: Greg Badros <gjb@cs.washington.edu>, Jim Blandy <jimb@red-bean.com>,
        Jay Belanger <jay@vh213601.truman.edu>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com, djurfeldt@nada.kth.se
Subject: Re: guile bugs
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu> <xy7vh9bi4ed.fsf@mdj-pc.nada.kth.se> <7eemfzp1xr.fsf@zesoi.fer.hr>
From: Miroslav Silovic <silovic@zesoi.fer.hr>
Date: 16 Sep 1999 13:01:47 +0200
In-Reply-To: Miroslav Silovic's message of "16 Sep 1999 12:48:16 +0200"
Message-ID: <7ed7vjp1b8.fsf@zesoi.fer.hr>
Lines: 10
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Miroslav Silovic <silovic@zesoi.fer.hr> writes:

> Now /this/ would trap most bugs. But I'm not sure about the efficiency
> issues (gcc may overoptimize functions returning SCM structs, and use
> pointers rather than registers... This should be investigated). It

I just checked. gcc will use pointers, at least on SPARC. This is Bad.

-- 
How to eff the ineffable?

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 07:21:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA02833
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 07:21:33 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mdj-pc.nada.kth.se (mail@mdj-pc.nada.kth.se [130.237.224.206])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA02830
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 07:21:28 -0400
Received: from mdj by mdj-pc.nada.kth.se with local (Exim 3.02 #1 (Debian))
	id 11RZZn-0000S1-00; Thu, 16 Sep 1999 13:19:43 +0200
To: Miroslav Silovic <silovic@zesoi.fer.hr>
Cc: Greg Badros <gjb@cs.washington.edu>, Jim Blandy <jimb@red-bean.com>,
        Jay Belanger <jay@vh213601.truman.edu>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com, djurfeldt@nada.kth.se
Subject: Re: guile bugs
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu> <xy7vh9bi4ed.fsf@mdj-pc.nada.kth.se> <7eemfzp1xr.fsf@zesoi.fer.hr>
Cc: djurfeldt@nada.kth.se
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Date: 16 Sep 1999 13:19:43 +0200
In-Reply-To: Miroslav Silovic's message of "16 Sep 1999 12:48:16 +0200"
Message-ID: <xy7u2ovhzn4.fsf@mdj-pc.nada.kth.se>
Lines: 8
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Miroslav Silovic <silovic@zesoi.fer.hr> writes:

> I fully agree with the above sentiment, however, it's not the main
> problem. The main problem is that C compiler won't report errors like
> 
> if (scm_procedure_p(foo))

Greg's suggestion # 2 will solve this problem.

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 07:27:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA02906
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 07:27:13 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from petra.zesoi.fer.hr. (petra.zesoi.fer.hr [161.53.64.16])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA02900
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 07:27:04 -0400
Received: (from silovic@localhost) by petra.zesoi.fer.hr. (8.8.8/8.8.3 ZEMS) id NAA13788; Thu, 16 Sep 1999 13:11:42 +0200 (MET DST)
To: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Cc: Greg Badros <gjb@cs.washington.edu>, Jim Blandy <jimb@red-bean.com>,
        Jay Belanger <jay@vh213601.truman.edu>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com, djurfeldt@nada.kth.se
Subject: Re: guile bugs
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu> <xy7vh9bi4ed.fsf@mdj-pc.nada.kth.se> <7eemfzp1xr.fsf@zesoi.fer.hr> <xy7u2ovhzn4.fsf@mdj-pc.nada.kth.se>
From: Miroslav Silovic <silovic@zesoi.fer.hr>
Date: 16 Sep 1999 13:11:42 +0200
In-Reply-To: Mikael Djurfeldt's message of "16 Sep 1999 13:19:43 +0200"
Message-ID: <7eaeqnp0up.fsf@zesoi.fer.hr>
Lines: 19
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> writes:

> Miroslav Silovic <silovic@zesoi.fer.hr> writes:
> 
> > I fully agree with the above sentiment, however, it's not the main
> > problem. The main problem is that C compiler won't report errors like
> > 
> > if (scm_procedure_p(foo))
> 
> Greg's suggestion # 2 will solve this problem.

Not really - pointers will autocast into a boolean without a warning.

Incidentally I just tested passing and returning structs rather than
pointers to them. gcc won't use registers. Even worse, gcc 2.95
generates unimplemented instruction on SPARC (can we say D'oh! bug?)

-- 
How to eff the ineffable?

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 07:38:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA03060
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 07:38:13 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mdj-pc.nada.kth.se (mail@mdj-pc.nada.kth.se [130.237.224.206])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA03049
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 07:37:58 -0400
Received: from mdj by mdj-pc.nada.kth.se with local (Exim 3.02 #1 (Debian))
	id 11RZpe-0000SI-00; Thu, 16 Sep 1999 13:36:06 +0200
To: Miroslav Silovic <silovic@zesoi.fer.hr>
Cc: Greg Badros <gjb@cs.washington.edu>, Jim Blandy <jimb@red-bean.com>,
        Jay Belanger <jay@vh213601.truman.edu>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com, djurfeldt@nada.kth.se
Subject: Re: guile bugs
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu> <xy7vh9bi4ed.fsf@mdj-pc.nada.kth.se> <7eemfzp1xr.fsf@zesoi.fer.hr> <xy7u2ovhzn4.fsf@mdj-pc.nada.kth.se> <7eaeqnp0up.fsf@zesoi.fer.hr>
Cc: djurfeldt@nada.kth.se
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
Date: 16 Sep 1999 13:36:06 +0200
In-Reply-To: Miroslav Silovic's message of "16 Sep 1999 13:11:42 +0200"
Message-ID: <xy7so4fhyvt.fsf@mdj-pc.nada.kth.se>
Lines: 7
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Miroslav Silovic <silovic@zesoi.fer.hr> writes:

> > Greg's suggestion # 2 will solve this problem.
> 
> Not really - pointers will autocast into a boolean without a warning.

Ah, silly me.

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 07:38:20 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA03063
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 07:38:20 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA03053
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 07:38:07 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1)
	id 11RZrV-00094H-0A
	for scwm-discuss@scwm.mit.edu; Thu, 16 Sep 1999 11:38:01 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id MAA20330
	for scwm-discuss@scwm.mit.edu; Thu, 16 Sep 1999 12:24:40 +0100
Date: Thu, 16 Sep 1999 12:24:40 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Re: Focus when a window dies
Message-ID: <19990916122440.E19139@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <19990913183046.C12576@hagbard.demon.co.uk> <qrrvh9exyq3.fsf@elwha.cs.washington.edu> <19990914105303.A4839@hagbard.demon.co.uk> <qrremg1y1ep.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrremg1y1ep.fsf@elwha.cs.washington.edu>; from Greg Badros on Tue, Sep 14, 1999 at 08:10:22AM -0700
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Prickle-Prickle, Day 40 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Tue, Sep 14, 1999 at 08:10:22AM -0700, Greg Badros wrote:

> > I've now built and installed scwm-0.99.2 (from a tarball) and the same
> > "problem" occurs. What sort of information would make for a "complete
> > bug report"?
> 
> See BUG-REPORTING in the distribution.

I followed the advice in the above file and sent a report off to
scwm-bugs@scwm.mit.edu on the 14th.

Hope this helps.

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 07:38:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA03064
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 07:38:23 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA03055
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 07:38:08 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1)
	id 11RZrX-00094H-0A
	for scwm-discuss@scwm.mit.edu; Thu, 16 Sep 1999 11:38:04 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id MAA20350
	for scwm-discuss@scwm.mit.edu; Thu, 16 Sep 1999 12:36:13 +0100
Date: Thu, 16 Sep 1999 12:36:13 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Re: scwm-0.99.2 success report
Message-ID: <19990916123613.F19139@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <19990915150117.A23128@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6i
In-Reply-To: <19990915150117.A23128@youkaidi.irisa.fr>; from Hubert Canon on Wed, Sep 15, 1999 at 03:01:17PM +0200
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Prickle-Prickle, Day 40 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Wed, Sep 15, 1999 at 03:01:17PM +0200, Hubert Canon wrote:

> scwm-0.99.2 works perfectly with my present configuration.

After a day of living with scwm-0.99.2 I'd also like to report success.

,----
| davep@hagbard:~$ cat /etc/redhat-release
| Red Hat Linux release 6.0 (Hedwig)
| davep@hagbard:~$ rpm -q gtk+ guile XFree86
| gtk+-1.2.3-1
| guile-1.3-6
| XFree86-3.3.3.1-49
`----

scwm was built from the tar ball.

I do have a minor problem where scwm doesn't always appear to start quick
enough for gnome-session and so, because I want to use the gnome pager in
the gnome panel, it bitches about my window manager and suggests that I
should use Enlightenment.

Starting the pager by hand isn't such a chore (less of a chore than using
Enlightenment anyway).

I do have one minor question regarding the pager. After making the one line
fix posted yesterday the pager works just fine. The only "problem" I've got
is that I can't for the life of my figure out how to tell the gnome pager I
want six desktops, not four. Anyone got a pointer?

[Aside]

As well as reiterating my thanks and compliments to the scwm developers for
an excellent and sane WM I'd also like to say a particular thanks to the
scwm.el authors too, being able to fine tune my environment while in my
editor and while working on the config file proper makes life so much
easier.

Many many thanks.

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 10:06:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA03719
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 10:06:01 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from zaphod.ttu.ee (root@zaphod.ttu.ee [193.40.254.227])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA03715
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 10:05:38 -0400
Received: from benjy.cc.ttu.ee (root@benjy [193.40.254.226])
	by zaphod.ttu.ee (8.8.8/8.8.8) with ESMTP id NAA06095
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 13:33:42 +0300 (EET DST)
Received: from cs.chalmers.se (tammet.cc.ttu.ee [193.40.254.59])
	by benjy.cc.ttu.ee (8.8.8/8.8.8) with ESMTP id JAA24018;
	Thu, 16 Sep 1999 09:21:19 +0300 (EET DST)
Message-ID: <37E09A6A.612B667A@cs.chalmers.se>
Date: Thu, 16 Sep 1999 09:21:14 +0200
From: Tanel Tammet <tammet@cs.chalmers.se>
Reply-To: tanel@cs.ioc.ee
X-Mailer: Mozilla 4.51 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
CC: Jim Blandy <jimb@red-bean.com>, Jay Belanger <jay@vh213601.truman.edu>,
        scwm-discuss@scwm.mit.edu, guile@sourceware.cygnus.com
Subject: Re: guile bugs
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk



Greg Badros wrote:
> 
> Jim Blandy <jimb@red-bean.com> writes:
> 
> > > Any guile person want to remind me why SCM_BOOL_F was not made to be 0?
> > > I know the tagging scheme is complex, but I'd certainly design it so
> > > that I could have 0 be #f.
> >
> > So that pointers can be used directly, for speed.  Probably not a good
> > argument; if you subtract off the tag, that'll get added into whatever
> > offset you're using to fetch a structure element...
> 
> Hmmm... yea, it sure would've saved a lot of bugs in Scwm (especially
> early on) if Scheme booleans could be treated as C booleans.  I
> hypothesize that three changes would find a ton of bugs in Guile and Scwm:
> 
> 1) SCM_BOOL_F should be 0 so it is false in C

As Jim Blandy wrote, 0 is used for the (), ie the null pointer. 

Why? There are essentially two important special values in Scheme:
the null pointer () - list end - and the constant #false. 
As you know, in Lisp these two are the same, but not in Scheme. 

Hence we have to use 0 either for null or false, and the question regarding
speed is, which of them is used more often. I suspect that null is used
more often: every time you go through the list. The (null? x) check can be
compiled directly into C, so that a false value is not actually computed
in the Scheme sense.

Anyway, changing the encoding of a null pointer would mean major changes
everywhere, something that the Guile project hardly could overcome.

Regards,
       Tanel Tammet

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 10:05:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA03716
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 10:05:51 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from w2.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA03712
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 10:05:26 -0400
Received: from mizar (r2p085.ntt.it [194.73.94.213]) by w2.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id QAA55542 for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 16:05:54 +0200 (DFT)
Received: from cesco by mizar with local (Exim 3.02 #1 (Debian))
	id 11Rc8f-0003pD-00
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 16:03:53 +0200
Date: Thu, 16 Sep 1999 16:03:52 +0200
From: Francesco Tapparo <cesco@ntt.it>
To: scwm-discuss@scwm.mit.edu
Subject: problem in the makefile.am of scwm/pixmaps?
Message-ID: <19990916160352.A12562@mizar>
Reply-To: cesco@debian.org
Mail-Followup-To: scwm-discuss@scwm.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

the build is trying to install the pixmaps in
/usr/share/scwm/pixmaps/home/cesco/....
                        ^^^^^^^^^^^^^^^

The reason, I think, is the pixmaps/Makefile.am; the following patch fix the
problem. The problem here is that the macro system of automake (v1.4) is
not very smart here.

--- Makefile.am.orig	Thu Sep 16 15:42:57 1999
+++ Makefile.am	Thu Sep 16 15:43:14 1999
@@ -1,5 +1,5 @@
 ## $Id: Makefile.am,v 1.3 1999/08/30 19:01:45 robbe Exp $
 ## process this file with automake to create Makefile.in
 ## (You should run ./autogen.sh from the top level directory)
-scwm_pixmap_DATA = $(srcdir)/*.xpm
-EXTRA_DIST = $(srcdir)/*.xpm
+scwm_pixmap_DATA = *.xpm
+EXTRA_DIST = *.xpm

cheers

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 10:38:55 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA03966
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 10:38:55 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from savonarola.red-bean.com (savonarola.red-bean.com [208.245.165.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA03963
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 10:38:50 -0400
Received: (from jimb@localhost)
	by savonarola.red-bean.com (8.8.7/8.8.7) id JAA09861;
	Thu, 16 Sep 1999 09:38:45 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: guile@sourceware.cygnus.com, scwm-discuss@scwm.mit.edu
Subject: Re: Bug in regexp-substitute/global
References: <qrrwvtrl8rn.fsf@elwha.cs.washington.edu>
From: Jim Blandy <jimb@red-bean.com>
Date: 16 Sep 1999 09:38:45 -0500
In-Reply-To: Greg Badros's message of "15 Sep 1999 22:34:20 -0700"
Message-ID: <m3so4ec45m.fsf@savonarola.red-bean.com>
Lines: 71
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> Old (correct, IMO) behaviour:
> 
> (regexp-substitute/global #f "x" "string" 'pre "y" 'post)
> =>  "string"   ;; no substitutions applied
> 
> 
> New (in CVS), buggy behaviour:
> =>  ""        ;; empty string?  what gives!?!?
> 
> If a (any!) substitution is made, then the result is correct.

Yes; the old code got some border cases wrong, and I rewrote it.
I even wrote a bunch of test cases, but forgot this one.

1999-09-16  Jim Blandy  <jimb@savonarola.red-bean.com>

	* regex.scm (regexp-substitute/global): Handle the end of the
	match list and an empty match list identically.  (Thanks to Greg
	Badros.)

I think this patch makes a more consistent general structure, in that
you only handle the tail in one place.  (I also flipped the sense of
the if, but that's just cosmetic.)

Index: regex.scm
===================================================================
RCS file: /egcs/carton/guile-home/cvsfiles/guile/guile-core/ice-9/regex.scm,v
retrieving revision 1.4
diff -c -c -b -F'^(' -r1.4 regex.scm
*** regex.scm	1999/09/11 17:38:31	1.4
--- regex.scm	1999/09/16 14:36:21
***************
*** 166,172 ****
        ;; Walk the set of non-overlapping, maximal matches.
        (let next-match ((matches (list-matches regexp string))
  		       (start 0))
! 	(if (pair? matches)
  	    (let ((m (car matches)))
  
  	      ;; Process all of the items for this match.  Don't use
--- 166,173 ----
        ;; Walk the set of non-overlapping, maximal matches.
        (let next-match ((matches (list-matches regexp string))
  		       (start 0))
! 	(if (null? matches)
! 	    (display (make-shared-substring string start) port)
  	    (let ((m (car matches)))
  
  	      ;; Process all of the items for this match.  Don't use
***************
*** 184,194 ****
  		     (make-shared-substring string start (match:start m))
  		     port))
  		   ((eq? item 'post)
! 		    (if (pair? (cdr matches))
! 			(next-match (cdr matches) (match:end m))
! 			(display
! 			 (make-shared-substring string (match:end m))
! 			 port)))
  		   (else (error 'wrong-type-arg item))))
  
  		(if (pair? items)
--- 185,191 ----
  		     (make-shared-substring string start (match:start m))
  		     port))
  		   ((eq? item 'post)
! 		    (next-match (cdr matches) (match:end m)))
  		   (else (error 'wrong-type-arg item))))
  
  		(if (pair? items)

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 10:50:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA04051
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 10:50:57 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from savonarola.red-bean.com (savonarola.red-bean.com [208.245.165.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA04047
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 10:50:53 -0400
Received: (from jimb@localhost)
	by savonarola.red-bean.com (8.8.7/8.8.7) id JAA09880;
	Thu, 16 Sep 1999 09:50:48 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: guile@sourceware.cygnus.com, scwm-discuss@scwm.mit.edu
Subject: Re: Bug in regexp-substitute/global
References: <qrrwvtrl8rn.fsf@elwha.cs.washington.edu>
From: Jim Blandy <jimb@red-bean.com>
Date: 16 Sep 1999 09:50:48 -0500
In-Reply-To: Greg Badros's message of "15 Sep 1999 22:34:20 -0700"
Message-ID: <m3r9jyc3lj.fsf@savonarola.red-bean.com>
Lines: 30
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> Old (correct, IMO) behaviour:
> 
> (regexp-substitute/global #f "x" "string" 'pre "y" 'post)
> =>  "string"   ;; no substitutions applied
> 
> 
> New (in CVS), buggy behaviour:
> =>  ""        ;; empty string?  what gives!?!?

I'm confused about what regexp-substitute/global should do if 'pre and
'post are *not* present in the item list.  What should these return?

  (regexp-substitute/global #f "x" "string" "y")
  (regexp-substitute/global #f "x" "aaxbbxcc" "y")

If 'post is not present, what's the difference between
regexp-substitute/global and regexp-substitute?

The most consistent interpretation, I think, is that 'pre and 'post
are meaningless in regexp-substitute/global; it should behave as if
they are always there, wrapped around the item list.  For backwards
compatibility, it should ignore them if they actually appear in the
list.

This, of course, rules out hacks like:

   (regexp-substitute/global #f "." "rekcah emehcS rehtona tsuj" 'post 0)

What do people think?

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 11:03:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA04161
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 11:03:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from savonarola.red-bean.com (savonarola.red-bean.com [208.245.165.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA04158
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 11:03:13 -0400
Received: (from jimb@localhost)
	by savonarola.red-bean.com (8.8.7/8.8.7) id KAA09888;
	Thu, 16 Sep 1999 10:03:06 -0500
To: Greg Badros <gjb@cs.washington.edu>
Cc: Jay Belanger <jay@vh213601.truman.edu>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com
Subject: Re: guile bugs
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu>
From: Jim Blandy <jimb@red-bean.com>
Date: 16 Sep 1999 10:03:06 -0500
In-Reply-To: Greg Badros's message of "15 Sep 1999 22:39:34 -0700"
Message-ID: <m3puzic311.fsf@savonarola.red-bean.com>
Lines: 21
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> 1) SCM_BOOL_F should be 0 so it is false in C

If someone were to make this change and show me before and after
benchmark results (see guile-modules/benchmarks), then that would help
persuade me.

> 2) SCM should not be a long, but instead be a pointer to undefined
> struct as we discussed before.  This would prevent misuse of an integer
> as a Scheme value.

I'd love to see this change happen.

> 3) The checking of the argument numbers using a more sophisticated macro 
> like SCWM_PROC and Scwm's documentation extraction system (as mentioned
> in an email earlier this week).

In principle, I would like to switch to a docstring system.  I need to
look this over more carefully first, though.



From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 11:15:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA04345
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 11:15:58 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ahnet.net (mail.ahnet.net [207.213.224.25])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA04342
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 11:15:51 -0400
Received: from localhost.uni-trier.de (IDENT:martin@dialup31-55.access.nacamar.de [212.172.6.55])
	by ahnet.net (8.9.3/8.9.3) with ESMTP id IAA50004;
	Thu, 16 Sep 1999 08:14:57 -0700 (PDT)
Received: (from martin@localhost)
	by localhost.uni-trier.de (8.8.7/8.8.7) id RAA01957;
	Thu, 16 Sep 1999 17:15:29 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: Jim Blandy <jimb@red-bean.com>, Jay Belanger <jay@vh213601.truman.edu>,
        scwm-discuss@scwm.mit.edu, guile@sourceware.cygnus.com,
        martin@home-of-linux.org
Subject: Re: guile bugs
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu>
From: Martin Baulig <martin@home-of-linux.org>
Date: 16 Sep 1999 17:15:29 +0200
In-Reply-To: Greg Badros's message of "15 Sep 1999 22:39:34 -0700"
Message-ID: <86g10e7ur2.fsf@localhost.uni-trier.de>
Lines: 13
X-Mailer: Gnus v5.6.11/XEmacs 20.3 - "Vatican City"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> 2) SCM should not be a long, but instead be a pointer to undefined
> struct as we discussed before.  This would prevent misuse of an integer
> as a Scheme value.

How well does this behave on systems which align all pointers on word
boundaries; I mean I'm a bit worried that not every integer number may also
be a valid pointer on every system; even if you don't attempt to dereference
that pointer.

-- 
Martin Baulig - martin@home-of-linux.org - http://www.home-of-linux.org

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 11:29:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA04484
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 11:29:21 -0400
Received: from marvin.ida.ing.tu-bs.de (dirk@marvin.ida.ing.tu-bs.de [134.169.132.60])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA04480
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 11:29:00 -0400
Received: from localhost (dirk@localhost)
	by marvin.ida.ing.tu-bs.de (8.9.3/8.9.3) with ESMTP id RAA01739;
	Thu, 16 Sep 1999 17:26:50 +0200
X-Authentication-Warning: marvin.ida.ing.tu-bs.de: dirk owned process doing -bs
Date: Thu, 16 Sep 1999 17:26:49 +0200 (MEST)
From: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
To: Jim Blandy <jimb@red-bean.com>
cc: Greg Badros <gjb@cs.washington.edu>,
        Jay Belanger <jay@vh213601.truman.edu>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com
Subject: Re: guile bugs
In-Reply-To: <m3puzic311.fsf@savonarola.red-bean.com>
Message-ID: <Pine.LNX.4.10.9909161715240.1017-100000@marvin.ida.ing.tu-bs.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 16 Sep 1999, Jim Blandy wrote:

> > 1) SCM_BOOL_F should be 0 so it is false in C
> 
> If someone were to make this change and show me before and after
> benchmark results (see guile-modules/benchmarks), then that would help
> persuade me.

I think this should not be done, independent of any benchmark results.
The main reason for this change would be to make sure that SCM_BOOL_F is
not accidentally used as a boolean value.  If, instead, it would be
possible to guarantee that using a SCM value as a boolean value will lead
to a compile time error, everything is fine.

If I understand correctly from some previous mail, defining SCM as a
union would serve that purpose.

> > 2) SCM should not be a long, but instead be a pointer to undefined
> > struct as we discussed before.  This would prevent misuse of an integer
> > as a Scheme value.
> 
> I'd love to see this change happen.

If such a change is done, it might be done in a way that would let guile
compile independent of whether SCM is defined either as a union or as a
pointer to an undefined struct.

Then, we could have something like a "find compile time error"-mode by
defining SCM as a union.  This would only be used for developers, since it
would lead to performance penalties.  In all other cases, SCM would just
be defined as a pointer to an undefined struct.

example:

#ifdef FIND_COMPILE_TIME_ERROR_MODE
[define SCM as a union]
#else
[define SCM as a pointer to an undefined struct]
#endif

This way, 1) would become unnecessary.  However, it possibly requires more
effort when doing 2).  Still, even 2) will introduce an awful lot of
casting.

Best regards,
Dirk Herrmann


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 11:37:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA04605
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 11:37:40 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from dialup.nacamar.de (authsrv.nacamar.de [194.162.162.197])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id LAA04600
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 11:37:27 -0400
Received: (qmail 21698 invoked from network); 16 Sep 1999 15:37:21 -0000
Received: from dialup29-55.access.nacamar.de (HELO localhost.uni-trier.de) (martin@212.172.4.55)
  by authsrv.nacamar.de with SMTP; 16 Sep 1999 15:37:21 -0000
Received: (from martin@localhost)
	by localhost.uni-trier.de (8.8.7/8.8.7) id RAA13199;
	Thu, 16 Sep 1999 17:37:20 +0200
Received: (qmail 25321 invoked from network); 16 Sep 1999 15:15:51 -0000
Received: from mail.ahnet.net (HELO ahnet.net) (207.213.224.25)
  by egcs.cygnus.com with SMTP; 16 Sep 1999 15:15:51 -0000
Received: from localhost.uni-trier.de (IDENT:martin@dialup31-55.access.nacamar.de [212.172.6.55])
	by ahnet.net (8.9.3/8.9.3) with ESMTP id IAA50004;
	Thu, 16 Sep 1999 08:14:57 -0700 (PDT)
Received: (from martin@localhost)
	by localhost.uni-trier.de (8.8.7/8.8.7) id RAA01957;
	Thu, 16 Sep 1999 17:15:29 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: Jim Blandy <jimb@red-bean.com>, Jay Belanger <jay@vh213601.truman.edu>,
        scwm-discuss@scwm.mit.edu, guile@sourceware.cygnus.com,
        martin@home-of-linux.org
Subject: Re: guile bugs
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu>
From: Martin Baulig <martin@home-of-linux.org>
Date: 16 Sep 1999 17:15:29 +0200
In-Reply-To: Greg Badros's message of "15 Sep 1999 22:39:34 -0700"
Message-ID: <86g10e7ur2.fsf@localhost.uni-trier.de>
Lines: 13
X-Mailer: Gnus v5.6.11/XEmacs 20.3 - "Vatican City"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> 2) SCM should not be a long, but instead be a pointer to undefined
> struct as we discussed before.  This would prevent misuse of an integer
> as a Scheme value.

How well does this behave on systems which align all pointers on word
boundaries; I mean I'm a bit worried that not every integer number may also
be a valid pointer on every system; even if you don't attempt to dereference
that pointer.

-- 
Martin Baulig - martin@home-of-linux.org - http://www.home-of-linux.org

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 12:43:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA04961
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 12:43:02 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA04958
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 12:42:57 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA16372; Thu, 16 Sep 1999 09:41:54 -0700 (PDT)
To: Dave Pearson <davep@hagbard.demon.co.uk>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: scwm-0.99.2 success report
References: <19990915150117.A23128@youkaidi.irisa.fr> <19990916123613.F19139@hagbard.demon.co.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 16 Sep 1999 09:41:54 -0700
In-Reply-To: Dave Pearson's message of "Thu, 16 Sep 1999 12:36:13 +0100"
Message-ID: <qrryae6kdv1.fsf@elwha.cs.washington.edu>
Lines: 57
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dave Pearson <davep@hagbard.demon.co.uk> writes:

> On Wed, Sep 15, 1999 at 03:01:17PM +0200, Hubert Canon wrote:
> 
> > scwm-0.99.2 works perfectly with my present configuration.
> 
> After a day of living with scwm-0.99.2 I'd also like to report success.

Excellent!

> ,----
> | davep@hagbard:~$ cat /etc/redhat-release
> | Red Hat Linux release 6.0 (Hedwig)
> | davep@hagbard:~$ rpm -q gtk+ guile XFree86
> | gtk+-1.2.3-1
> | guile-1.3-6
> | XFree86-3.3.3.1-49
> `----
> 
> scwm was built from the tar ball.
> 
> I do have a minor problem where scwm doesn't always appear to start quick
> enough for gnome-session and so, because I want to use the gnome pager in
> the gnome panel, it bitches about my window manager and suggests that I
> should use Enlightenment.

You may want to upgrade to guile-1.3.3 out of CVS (I'll have new RPMs on 
the Scwm site before too long).  It's startup time is enough faster that 
it might make the difference.

> Starting the pager by hand isn't such a chore (less of a chore than using
> Enlightenment anyway).
> 
> I do have one minor question regarding the pager. After making the one line
> fix posted yesterday the pager works just fine. The only "problem" I've got
> is that I can't for the life of my figure out how to tell the gnome pager I
> want six desktops, not four. Anyone got a pointer?
> 
> [Aside]
> 
> As well as reiterating my thanks and compliments to the scwm developers for
> an excellent and sane WM I'd also like to say a particular thanks to the
> scwm.el authors too, being able to fine tune my environment while in my
> editor and while working on the config file proper makes life so much
> easier.
> 
> Many many thanks.

You're welcome.  It's been hard work but emails like this make it
worthwhile (of course it's worthwhile just so that *I* have a decent wm, 
but it's nice that other people are at least as rational as I am in
disliking the other WMs out there).

Yea, Sam did a great job on scwm.el -- it's been wonderful have an Emacs 
Lisp guru on board!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 12:45:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA04998
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 12:45:26 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA04995
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 16 Sep 1999 12:45:23 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA16375; Thu, 16 Sep 1999 09:44:58 -0700 (PDT)
To: "Mark Schafer" <mschafer@anohana.com>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Last pre-release: scwm-0.99.2pre11
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrhfkxvyqt.fsf@elwha.cs.washington.edu> <37E09430.F578ABC3@anohana.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 16 Sep 1999 09:44:58 -0700
In-Reply-To: "Mark Schafer"'s message of "Wed, 15 Sep 1999 23:54:40 -0700"
Message-ID: <qrrwvtqkdpx.fsf@elwha.cs.washington.edu>
Lines: 75
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Mark Schafer" <mschafer@anohana.com> writes:

> Well another success story.
> Running redhat6.0 stock.
> - downloaded the rpms.
> - searched around the mail archive until found installation
>   instructions for RH (maybe this would be good on scwm webpage).

Good point -- it's in the distribution as RH6-notes, but that's not very 
useful if you're just grabbing the RPMs

> - installed beautifully.
> - try to work out how to get enlightenment off and scwm on.
>   Maybe some doc on this would be good too. Some people don't have
>   the experience to know the best, or indeed any, way to do this.
>   I have the following in a new(RH does not have one by default)
>   .xinitrc file:
>   scwm &
>   gnome-session
>   (RH does not have .xsession unless in runlevel 5.)

I start Scwm as an alternate GNOME window manager just by using the
control panel to add a new window manager -- here's README-Gnome from
the dist.:


Scwm works great with Gnome!

1) Install the RPMs (see RH6-notes for instructions for that platform)

2) Run the Gnome Control Center from your existing Gnome Desktop:
   Panel -> Settings -> Gnome Control Center

3) Select "Window Manager" under the "Desktop" subtree

4) Click "Add" in the top right of the control center applet

5) Enter (type what's in quotes below, omitting the quotes):

Name: "Scwm"
Command: "scwm"
Configuration command: "scwm-conf"

And click "Window manager is session managed" -- the default
system.scwmrc turns on session management using the `SM-register' function.

6) Click on the new scwm line in the list of window managers

7) Click on the "Try" button, and rid yourself of your old window manager foreve
r!

ENJOY!

> Not sure if I should be using startscwm or not, or from where.
> Most RH basic users are either using the runlevel 5, starting in kdm or
> gdm, or runlevel 3 and typing startx every time. Same for Mandrake users
> (haven't tried this yet though). I use manual startx command because if
> X crashes (or I have to m-c-backspace halt it) then existing processes
> are killed when using runlevel 5.
> 
> gnome runs great (except for pager as noted elsewhere) and system.scwmrc
> is a great initial example. The two together let me get to everything I
> had under E and gnome.
> (Unfortunately enlightenment keeps wanting to start so I have to cancel
> it as scwm starts.)
> 
> Already started modifying system.scwmrc. Looking forward to modifying
> the themes.
> 
> Congratulations. Nice release.  Yeehaw.
> (sotto voce: Now how am I going to use that constraint stuff... :)

Glad to hear it went so well!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 12:48:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA05055
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 12:48:47 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA05052
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 12:48:43 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA16378; Thu, 16 Sep 1999 09:48:34 -0700 (PDT)
To: Jim Blandy <jimb@red-bean.com>
Cc: Jay Belanger <jay@vh213601.truman.edu>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com
Subject: Re: guile bugs
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu> <m3puzic311.fsf@savonarola.red-bean.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 16 Sep 1999 09:48:34 -0700
In-Reply-To: Jim Blandy's message of "16 Sep 1999 10:03:06 -0500"
Message-ID: <qrrvh9akdjx.fsf@elwha.cs.washington.edu>
Lines: 34
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jim Blandy <jimb@red-bean.com> writes:

> > 1) SCM_BOOL_F should be 0 so it is false in C
> 
> If someone were to make this change and show me before and after
> benchmark results (see guile-modules/benchmarks), then that would help
> persuade me.
> 
> > 2) SCM should not be a long, but instead be a pointer to undefined
> > struct as we discussed before.  This would prevent misuse of an integer
> > as a Scheme value.
> 
> I'd love to see this change happen.

As numerous others have pointed out, this change (or using a union for
the same purpose) would obviate the need for #1 and be easier and safer
to change.  I think we need to push forward on this front right after a
guile-1.3.4 release (which we need soon since I hate when Scwm has to
rely on CVS guiles to be functioning... it's hard to convince people to
use stuff out of CVS).

> > 3) The checking of the argument numbers using a more sophisticated macro 
> > like SCWM_PROC and Scwm's documentation extraction system (as mentioned
> > in an email earlier this week).
> 
> In principle, I would like to switch to a docstring system.  I need to
> look this over more carefully first, though.

It sounds like Mikael has done some work to enable this.  It's
definitely unfortunate that Scwm's documentation can't link directly in
to guile's documentation... there's too much of a feeling of separation
in the two worlds when they really could all be equally well documented.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 12:50:30 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA05092
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 12:50:30 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA05088
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 12:50:26 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA16381; Thu, 16 Sep 1999 09:50:21 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: cvs tagging problem... anyone seen this?
From: Greg Badros <gjb@cs.washington.edu>
Date: 16 Sep 1999 09:50:21 -0700
Message-ID: <qrru2oukdgy.fsf@elwha.cs.washington.edu>
Lines: 37
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Can anyone suggest a fix for this problem-- I've never seen it before,
but it happens every time I try to mark the scwm repo.

Thanks,
Greg


cvs -d /usr/local/repository rtag v_0_99_2_2 scwm
cvs rtag: Tagging scwm
cvs rtag: Tagging scwm/app
cvs rtag: Tagging scwm/corba
cvs rtag: Tagging scwm/doc
cvs rtag: Tagging scwm/doc/dev
cvs rtag: Tagging scwm/doc/src
cvs rtag: Tagging scwm/include
cvs rtag: Tagging scwm/include/scwm
cvs rtag: Tagging scwm/libs
cvs rtag: Tagging scwm/modules
cvs rtag: Tagging scwm/modules/applefile
cvs rtag: Tagging scwm/modules/background
cvs rtag: Tagging scwm/modules/c-animation
cvs rtag: Tagging scwm/modules/corba
cvs rtag: Tagging scwm/modules/esdsound
cvs rtag: Tagging scwm/modules/overlay-plane
cvs rtag: Tagging scwm/modules/pie-menus
cvs rtag: Tagging scwm/modules/proplist
cvs rtag: Tagging scwm/modules/scwmgtkhelper
cvs rtag: Tagging scwm/modules/xlib-drawing
cvs rtag: Tagging scwm/modules/xpm-menus
cvs rtag: Tagging scwm/modules/xtest
cvs rtag: Tagging scwm/pixmaps
cvs rtag: Tagging scwm/sample.scwmrc
cvs rtag: Tagging scwm/scheme
cvs rtag: Tagging scwm/scheme/tests
cvs rtag: Tagging scwm/scwm
cvs: rcs.c:8158: RCS_putdtree: Assertion `p != ((void *)0)' failed.
Aborted (core dumped)

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 12:53:06 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA05168
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 12:53:06 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA05165
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 12:53:00 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA16384; Thu, 16 Sep 1999 09:52:50 -0700 (PDT)
To: cesco@debian.org
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: corba and misc
References: <19990916113611.A10746@mizar>
From: Greg Badros <gjb@cs.washington.edu>
Date: 16 Sep 1999 09:52:49 -0700
In-Reply-To: Francesco Tapparo's message of "Thu, 16 Sep 1999 11:36:11 +0200"
Message-ID: <qrrso4ekdcu.fsf@elwha.cs.washington.edu>
Lines: 22
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francesco Tapparo <cesco@ntt.it> writes:

> Are the corba and utilities/misc dirs used? These dirs are void in my cvs
> snapshot, but are created from the build scripts with a void makefile,
> creating some problems.

What do you mean "cvs snapshot"?  When I check out cleanly from CVS, I
get them. If you're updating, be sure to do:

cvs update -dP

to grab new directories.

> If I remove the misc and corba entries in configure.in, Makefile.am,
> utilities/Makefile.am the build goes well.

Shouldn't be necessary.

Let me know how this gets resolved.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 12:55:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA05241
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 12:55:33 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA05235
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 12:55:28 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA16387; Thu, 16 Sep 1999 09:54:52 -0700 (PDT)
To: cesco@debian.org, Robert Bihlmeyer <robbe@orcus.priv.at>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: problem in the makefile.am of scwm/pixmaps?
References: <19990916160352.A12562@mizar>
From: Greg Badros <gjb@cs.washington.edu>
Date: 16 Sep 1999 09:54:52 -0700
In-Reply-To: Francesco Tapparo's message of "Thu, 16 Sep 1999 16:03:52 +0200"
Message-ID: <qrrr9jykd9f.fsf@elwha.cs.washington.edu>
Lines: 36
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francesco Tapparo <cesco@ntt.it> writes:

> the build is trying to install the pixmaps in
> /usr/share/scwm/pixmaps/home/cesco/....
>                         ^^^^^^^^^^^^^^^
> 
> The reason, I think, is the pixmaps/Makefile.am; the following patch fix the
> problem. The problem here is that the macro system of automake (v1.4) is
> not very smart here.
> 
> --- Makefile.am.orig	Thu Sep 16 15:42:57 1999
> +++ Makefile.am	Thu Sep 16 15:43:14 1999
> @@ -1,5 +1,5 @@
>  ## $Id: Makefile.am,v 1.3 1999/08/30 19:01:45 robbe Exp $
>  ## process this file with automake to create Makefile.in
>  ## (You should run ./autogen.sh from the top level directory)
> -scwm_pixmap_DATA = $(srcdir)/*.xpm
> -EXTRA_DIST = $(srcdir)/*.xpm
> +scwm_pixmap_DATA = *.xpm
> +EXTRA_DIST = *.xpm


Hmm Robert only recently made this change, so I'll let him decide what
the right thing here is.

Thanks,
Greg


1999-08-30  Robert Bihlmeyer  <robbe@orcus.priv.at>

	* pixmaps/Makefile.am: Prefix with srcdir so that srcdir !=
	builddir works.

	* autogen.sh: Permit users to call autogen.sh from their build
	directory, and still DTRT.

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 13:07:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA05574
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 13:07:40 -0400
Received: from mail.nf.net (firma.thezone.net [192.75.13.101])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA05568
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 13:07:25 -0400
Received: from behemoth.dethfart.org (n115h039.thezone.net [198.165.115.39])
	by mail.nf.net (8.9.3/8.9.3) with ESMTP id OAA28679;
	Thu, 16 Sep 1999 14:37:04 -0230 (NDT)
Received: (from greg@localhost)
	by behemoth.dethfart.org (8.8.7/8.8.7) id OAA00702;
	Thu, 16 Sep 1999 14:34:09 -0230
X-Authentication-Warning: behemoth.dethfart.org: greg set sender to Greg.Harvey@thezone.net using -f
To: Jim Blandy <jimb@red-bean.com>
Cc: Jay Belanger <jay@vh213601.truman.edu>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com
Subject: Re: guile bugs
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu> <m3puzic311.fsf@savonarola.red-bean.com>
From: Greg Harvey <Greg.Harvey@thezone.net>
Date: 16 Sep 1999 14:34:08 -0230
Message-ID: <m3aeqmhjp3.fsf@behemoth.dethfart.org>
Lines: 30
X-Mailer: Gnus v5.6.43/Emacs 20.3
Original-Sender: Greg.Harvey@thezone.net
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jim Blandy <jimb@red-bean.com> writes:

> > 1) SCM_BOOL_F should be 0 so it is false in C
> 
> If someone were to make this change and show me before and after
> benchmark results (see guile-modules/benchmarks), then that would help
> persuade me.

I don't think this would necessarily cause much of a performance drop
(it just makes SCM_IMP(x) == (!x || x&(whatever)); as other people
have pointed out, though, this might not be the greatest of ideas.

> > 2) SCM should not be a long, but instead be a pointer to undefined
> > struct as we discussed before.  This would prevent misuse of an integer
> > as a Scheme value.
> 
> I'd love to see this change happen.

I actually did do some work towards this a few months ago, but it
quickly ran into problems with the numbers implementation (which not
only relies on, but totally abuses the fact that SCM == long). I've
worked off and on with a numbers reimplementation (using gmp as well
as cleaning things up), but it still really isn't ready to be used yet
(though it is slowly getting closer ;). Older code is on my website,
and I do have some more advanced code that is much closer to working,
which I could put up if anyone's interested in looking at it.


-- 
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 13:21:15 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA05917
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 13:21:15 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA05914
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 13:21:12 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA16464; Thu, 16 Sep 1999 10:21:03 -0700 (PDT)
To: cesco@debian.org
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: corba and misc
References: <19990916113611.A10746@mizar>
From: Greg Badros <gjb@cs.washington.edu>
Date: 16 Sep 1999 10:21:02 -0700
In-Reply-To: Francesco Tapparo's message of "Thu, 16 Sep 1999 11:36:11 +0200"
Message-ID: <qrr4sguixhd.fsf@elwha.cs.washington.edu>
Lines: 21
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francesco Tapparo <cesco@ntt.it> writes:

> Are the corba and utilities/misc dirs used? These dirs are void in my cvs
> snapshot, but are created from the build scripts with a void makefile,
> creating some problems.
> If I remove the misc and corba entries in configure.in, Makefile.am,
> utilities/Makefile.am the build goes well.

I take part of what I wrote back: the corba/ directory is obsoleted and
should be blasted -- I've updated Makefile.am to ignore it.

The utilities/misc should be there and be non empty -- it contains some
essential stuff that is installed (e.g., scwm-conf, startscwm,
cpp-sed-nl, along with some sample Xmodmaps, etc.)

Please let me know about the "snapshot" and if cvs update -dP is what
you were missing.

Thanks,
Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 13:22:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA05931
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 13:22:11 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA05928
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 13:22:08 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA16467; Thu, 16 Sep 1999 10:22:03 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: Web page updated with links to RH6-notes, README-Gnome
From: Greg Badros <gjb@cs.washington.edu>
Date: 16 Sep 1999 10:22:03 -0700
Message-ID: <qrr3dweixfo.fsf@elwha.cs.washington.edu>
Lines: 3
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Also some other little things... thanks again for the great suggestion!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 14:50:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA06919
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 14:50:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from belgarath.demon.co.uk (belgarath.demon.co.uk [194.222.86.134])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA06915;
	Thu, 16 Sep 1999 14:50:09 -0400
Received: (from matt@localhost)
	by belgarath.demon.co.uk (8.8.7/8.8.7) id TAA01191;
	Thu, 16 Sep 1999 19:50:02 +0100
From: Matt Chapman <matt@belgarath.demon.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Thu, 16 Sep 1999 19:50:02 +0100 (BST)
To: scwm-discuss@scwm.mit.edu, scwm-announce@scwm.mit.edu
Subject: Re: Favor...
X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs  Lucid
Message-ID: <14305.14290.416853.569571@belgarath.demon.co.uk>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Hello everyone,

Enough already! :)

Thanks to all those of you who emailed me about adding Scwm to my
window manager site at http://www.PLiG.org/xwinman/.

And a special thanks to Greg for encouraging you, and swelling my
inbox... :)

I guess this shows that Scwm is popular enough to be given a main
feature (I've recently been through this with the Icewm folks). I'll
add the page as soon as I can. I don't have as much spare time to
devote to this as when I started the website four years ago, so please 
be patient. (And sorry for not replying to your email before now Greg, 
causing you to resort to these measures!)

Regards,

Matt.

-- 
Matt Chapman.......................<matt@belgarath.demon.co.uk>
Home page....................<http://www.belgarath.demon.co.uk>
Window Managers for X.............<http://www.plig.org/xwinman>

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 14:54:41 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA07116
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 14:54:41 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA07104
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 14:54:32 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA16737; Thu, 16 Sep 1999 11:54:26 -0700 (PDT)
To: Matt Chapman <matt@belgarath.demon.co.uk>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Favor...
References: <14305.14290.416853.569571@belgarath.demon.co.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 16 Sep 1999 11:54:25 -0700
In-Reply-To: Matt Chapman's message of "Thu, 16 Sep 1999 19:50:02 +0100 (BST)"
Message-ID: <qrrwvtqhela.fsf@elwha.cs.washington.edu>
Lines: 34
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Matt Chapman <matt@belgarath.demon.co.uk> writes:

> Hello everyone,
> 
> Enough already! :)

:-)

> Thanks to all those of you who emailed me about adding Scwm to my
> window manager site at http://www.PLiG.org/xwinman/.
> 
> And a special thanks to Greg for encouraging you, and swelling my
> inbox... :)
> 
> I guess this shows that Scwm is popular enough to be given a main
> feature (I've recently been through this with the Icewm folks). I'll
> add the page as soon as I can. I don't have as much spare time to
> devote to this as when I started the website four years ago, so please 
> be patient. (And sorry for not replying to your email before now Greg, 
> causing you to resort to these measures!)

Great, thanks a ton!  I definitely understand the lack of free time
thing, but I figured the extra evidence of the joys of Scwm wouldn't
hurt anyway!

We'll look forward to seeing our favourite WM at your site (which is
truly referenced *everywhere*).  Please let me know if I can be of any
assistance. 

Thanks,
Greg

P.S.  Thanks scwm-discuss/scwm-announce folks for your help in
encouraging Matt to add Scwm!  I *really* appreciate it!

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 15:19:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA07829
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 15:19:21 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from petra.zesoi.fer.hr. (petra.zesoi.fer.hr [161.53.64.16])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA07818
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 15:18:35 -0400
Received: (from silovic@localhost) by petra.zesoi.fer.hr. (8.8.8/8.8.3 ZEMS) id VAA14787; Thu, 16 Sep 1999 21:05:13 +0200 (MET DST)
To: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Cc: Jim Blandy <jimb@red-bean.com>, Greg Badros <gjb@cs.washington.edu>,
        Jay Belanger <jay@vh213601.truman.edu>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com
Subject: Re: guile bugs
References: <Pine.LNX.4.10.9909161715240.1017-100000@marvin.ida.ing.tu-bs.de>
From: Miroslav Silovic <silovic@zesoi.fer.hr>
Date: 16 Sep 1999 21:05:12 +0200
In-Reply-To: Dirk Herrmann's message of "Thu, 16 Sep 1999 17:26:49 +0200 (MEST)"
Message-ID: <7ewvtq4qzb.fsf@zesoi.fer.hr>
Lines: 17
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> I think this should not be done, independent of any benchmark results.
> The main reason for this change would be to make sure that SCM_BOOL_F is
> not accidentally used as a boolean value.  If, instead, it would be
> possible to guarantee that using a SCM value as a boolean value will lead
> to a compile time error, everything is fine.
> 
> If I understand correctly from some previous mail, defining SCM as a
> union would serve that purpose.

If you read my /other/ mails, you would have understood that this is
not the case (due to compiler overoptimization) - performance hit, at
least with gcc, is appalling.

-- 
How to eff the ineffable?

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 15:53:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA08287
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 15:53:11 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from savonarola.red-bean.com (savonarola.red-bean.com [208.245.165.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA08284
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 15:52:56 -0400
Received: (from jimb@localhost)
	by savonarola.red-bean.com (8.8.7/8.8.7) id OAA11429;
	Thu, 16 Sep 1999 14:52:25 -0500
To: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Cc: Greg Badros <gjb@cs.washington.edu>,
        Jay Belanger <jay@vh213601.truman.edu>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com
Subject: Re: guile bugs
References: <Pine.LNX.4.10.9909161715240.1017-100000@marvin.ida.ing.tu-bs.de>
From: Jim Blandy <jimb@red-bean.com>
Date: 16 Sep 1999 14:52:25 -0500
In-Reply-To: Dirk Herrmann's message of "Thu, 16 Sep 1999 17:26:49 +0200 (MEST)"
Message-ID: <m3671aab2e.fsf@savonarola.red-bean.com>
Lines: 9
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Defining SCM as a union would make Guile too slow.  Many ABI's require
that all aggregates --- even those that still fit in a word --- be
passed using pointers, or in memory, or what have you.

One approach would be to have a compile-time switch that would cause
SCM to be defined as a union, and adapt all the accessors to handle
this.  You'd never actually run the code --- you'd just throw the
switch and compile to see what happens.

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 16:04:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA08385
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 16:04:51 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from savonarola.red-bean.com (savonarola.red-bean.com [208.245.165.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA08382
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 16 Sep 1999 16:04:36 -0400
Received: (from jimb@localhost)
	by savonarola.red-bean.com (8.8.7/8.8.7) id PAA11434;
	Thu, 16 Sep 1999 15:00:58 -0500
To: tanel@cs.ioc.ee
Cc: Greg Badros <gjb@cs.washington.edu>,
        Jay Belanger <jay@vh213601.truman.edu>, scwm-discuss@SCWM.MIT.EDU,
        guile@sourceware.cygnus.com
Subject: Re: guile bugs
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu> <37E09A6A.612B667A@cs.chalmers.se>
From: Jim Blandy <jimb@red-bean.com>
Date: 16 Sep 1999 15:00:58 -0500
In-Reply-To: Tanel Tammet's message of "Thu, 16 Sep 1999 09:21:14 +0200"
Message-ID: <m34sguaao5.fsf@savonarola.red-bean.com>
Lines: 13
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> > Hmmm... yea, it sure would've saved a lot of bugs in Scwm (especially
> > early on) if Scheme booleans could be treated as C booleans.  I
> > hypothesize that three changes would find a ton of bugs in Guile and Scwm:
> > 
> > 1) SCM_BOOL_F should be 0 so it is false in C
> 
> As Jim Blandy wrote, 0 is used for the (), ie the null pointer. 

Did I say that?

#define SCM_EOL			SCM_MAKIFLAG(20)
#define SCM_MAKIFLAG(n) 	(((n)<<9)+0x174L)

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 16:23:25 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA07860
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 15:21:02 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from petra.zesoi.fer.hr. (petra.zesoi.fer.hr [161.53.64.16])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA07845
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 15:20:12 -0400
Received: (from silovic@localhost) by petra.zesoi.fer.hr. (8.8.8/8.8.3 ZEMS) id VAA14790; Thu, 16 Sep 1999 21:07:03 +0200 (MET DST)
To: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Cc: Jim Blandy <jimb@red-bean.com>, Greg Badros <gjb@cs.washington.edu>,
        Jay Belanger <jay@vh213601.truman.edu>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com
Subject: Re: guile bugs
References: <Pine.LNX.4.10.9909161715240.1017-100000@marvin.ida.ing.tu-bs.de>
From: Miroslav Silovic <silovic@zesoi.fer.hr>
Date: 16 Sep 1999 21:07:02 +0200
In-Reply-To: Dirk Herrmann's message of "Thu, 16 Sep 1999 17:26:49 +0200 (MEST)"
Message-ID: <7evh9a4qw9.fsf@zesoi.fer.hr>
Lines: 21
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> Then, we could have something like a "find compile time error"-mode by
> defining SCM as a union.  This would only be used for developers, since it
> would lead to performance penalties.  In all other cases, SCM would just
> be defined as a pointer to an undefined struct.
> 
> example:
> 
> #ifdef FIND_COMPILE_TIME_ERROR_MODE
> [define SCM as a union]
> #else
> [define SCM as a pointer to an undefined struct]
> #endif

Mumble. This is what I deserve when I don't read the entire post
before shooting it down. I've just talked to Hrvoje Niksic (of xemacs
and wget fame). Aparently this is *exactly* what emacs does.

-- 
How to eff the ineffable?

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 16:24:06 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA08835
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 16:24:06 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA08832
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 16 Sep 1999 16:24:02 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA16934; Thu, 16 Sep 1999 13:23:56 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.2 : problem with fvwm-module
References: <19990915150117.A23128@youkaidi.irisa.fr> <19990915154003.B23128@youkaidi.irisa.fr> <19990915162232.A24325@youkaidi.irisa.fr> <19990916112606.B28548@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 16 Sep 1999 13:23:55 -0700
In-Reply-To: Hubert Canon's message of "Thu, 16 Sep 1999 11:26:06 +0200"
Message-ID: <qrrg10ehag4.fsf@elwha.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hubert Canon écrivait :

<snip>

> 
> I got the same errors this morning. scwm crashed (apparently after a
> completion in scwmprel, I had this in the ps command :
> 
> scwmexec '(use-scwm-modules (ice-9 session regex) doc flux)'
> 
> I don't remember exactly)
> 
> And I get the same errors many times :

<snip>

> And the next time I want to start scwm again, it freezes, and I have
> to kill it to run fvwm.

Does it work okay when not trying to run the FvwmPager?

Seems like we've still got work to do with Scwm on non-RH platforms...

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 18:28:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA09680
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 18:28:23 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from wanadoo.fr (root@smtp-out-003.wanadoo.fr [193.252.19.78])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA09677
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 18:28:18 -0400
Received: from tnttls16-245.abo.wanadoo.fr [164.138.202.245] by wanadoo.fr
          for <scwm-discuss@scwm.mit.edu>
          Paris Fri, 17 Sep 1999 00:27:22 +0200 (MET DST)
Date: Fri, 17 Sep 1999 00:28:46 +0200 (CEST)
From: Junichi Saito <j.saito@wanadoo.fr>
To: scwm discussion <scwm-discuss@scwm.mit.edu>
Subject: 0.99.2 : build problems
Message-ID: <Pine.LNX.4.10.9909162335220.11027-100000@saito>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I have experienced some problems building scwm 0.99.2.

First, with cassowary support enabled, the build of scwm 0.99.2 fails at
scwm-0.99.2/scwm/constraint-primitives.cc with the following error:

c++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I/usr/X11R6/include -I/opt/scwm/include
  -I/opt/scwm/include -I/opt/scwm/include    -s -O2 -I/opt/gnome/include
-c constraint-primitives.cc
In file included from
constraint-primitives.cc:347:
constraint-primitives.x: In function `void
init_constraint_primitives(...)':
constraint-primitives.x:1: implicit declaration of function `int
scm_make_named_hook(...)'
make[1]: *** [constraint-primitives.o] Error 1

I used pgcc 2.95.1 to compile scwm. Can this something to do with the
failure ?

Second, I can't generate html files from scwm.sgml. 'make html' aborts
with the following error:

mkdir -p html && cd html && \
jade -t sgml -d /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl
../scwm.sgml
jade:../scwm.sgml:39:6:E: invalid comment declaration: found character "$"
outside comment but inside comment declaration
jade:../scwm.sgml:2:0: comment declaration started here
jade:../scwm.sgml:41:0:E: no document type declaration; will parse without
validation
jade:../scwm.sgml:43:13:E: end tag for element "SECT1" which is not open
jade:../scwm.sgml:44:22:E: document type does not allow element "SECT1"
here

(many other same messages)

jade:../scwm.sgml:579:28:E: document type does not allow element "SECT1"
here
jade:../scwm.sgml:598:11:E: end tag for element "CHAPTER" which is not
open
jade:../scwm.sgml:599:10:E: document type does not allow element "CHAPTER"
here
jade:../scwm.sgml:931:10:E: document type does not allow element "CHAPTER"
here
jade:../scwm.sgml:986:10:E: document type does not allow element "CHAPTER"
here
jade:../scwm.sgml:2381:10:E: document type does not allow element
"CHAPTER" here
jade:../scwm.sgml:2559:51:E: general entity "amp" not defined and no
default entity
jade:../scwm.sgml:3591:49:E: general entity "rest" not defined and no
default entity
jade:../scwm.sgml:6381:39:E: general entity "lt" not defined and no
default entity
jade:../scwm.sgml:28117:6:E: end tag for element "BOOK" which is not open
<P
>This chapter discusses some high level concepts in Scwm.</P
>make: *** [html] Error 1

I have docbook rpms from
ftp://ftp.cygnus.com/pub/home/rosalia/docware/RPMS/i386/ installed. Maybe
not the latest ones. The system itself seems to work when I compile
packages from Gnome.

My system is a glibc based linux. I have all the required and almost all
the optional packages mentioned on the scwm web site installed.

Thank you for any hints.

 j.



From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 19:13:04 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA09961
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 19:13:04 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA09958
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 19:12:59 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA17182; Thu, 16 Sep 1999 16:12:51 -0700 (PDT)
To: Junichi Saito <j.saito@wanadoo.fr>
Cc: scwm discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: 0.99.2 : build problems
References: <Pine.LNX.4.10.9909162335220.11027-100000@saito>
From: Greg Badros <gjb@cs.washington.edu>
Date: 16 Sep 1999 16:12:51 -0700
In-Reply-To: Junichi Saito's message of "Fri, 17 Sep 1999 00:28:46 +0200 (CEST)"
Message-ID: <qrr671ah2mk.fsf@elwha.cs.washington.edu>
Lines: 48
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Junichi Saito <j.saito@wanadoo.fr> writes:

> I have experienced some problems building scwm 0.99.2.
> 
> First, with cassowary support enabled, the build of scwm 0.99.2 fails at
> scwm-0.99.2/scwm/constraint-primitives.cc with the following error:

Which version of guile?  Is HAVE_SCM_MAKE_HOOK #defined in
include/config.h?

<snip>

> Second, I can't generate html files from scwm.sgml. 'make html' aborts
> with the following error:
> 
> mkdir -p html && cd html && \
> jade -t sgml -d /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl
> ../scwm.sgml
> jade:../scwm.sgml:39:6:E: invalid comment declaration: found character "$"
> outside comment but inside comment declaration
> jade:../scwm.sgml:2:0: comment declaration started here
> jade:../scwm.sgml:41:0:E: no document type declaration; will parse without
> validation
> jade:../scwm.sgml:43:13:E: end tag for element "SECT1" which is not open
> jade:../scwm.sgml:44:22:E: document type does not allow element "SECT1"
> here

Does your scwm.sgml start out like:

<!-- $Id: ref-header.sgml,v 1.5 1999/09/15 20:46:38 gjb Exp $ -->
<!-- "-//OASIS//DTD DocBook V3.1//EN" -->
<!DOCTYPE Book PUBLIC "-//Davenport//DTD DocBook V3.0//EN">

the second line was broken a couple days ago.

> I have docbook rpms from
> ftp://ftp.cygnus.com/pub/home/rosalia/docware/RPMS/i386/ installed. Maybe
> not the latest ones. The system itself seems to work when I compile
> packages from Gnome.
> 
> My system is a glibc based linux. I have all the required and almost all
> the optional packages mentioned on the scwm web site installed.
> 
> Thank you for any hints.

Let me know how they work out.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 21:48:37 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA10899
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 21:48:37 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA10895
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 21:48:31 -0400
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id VAA19428
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 21:48:24 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id VAA01826; Thu, 16 Sep 1999 21:48:56 -0400
Date: Thu, 16 Sep 1999 21:48:56 -0400
Message-Id: <199909170148.VAA01826@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: button-up events?
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I'm running scwm 0.99.2 on RedHat 6.0 which I built myself (trivially)
from the .src.rpm files.

I am a devoted GWM user who is now looking seriously at switching to
scwm.  I've been using gwm since 1989 and know it pretty thoroughly.
I do with gwm stuff that you can't do with any other windowmanager,
perhaps with the sole exception of scwm.  As a person much more
interested in functionality than appearance, I wrote my own profile
pretty much from the ground up.  It's very plain-looking but is
well-tuned to my environment.  scwm is the first window manager I've
seen since gwm that looks like it can do everything I want it to do.

I'm going through my gwm profile gradually trying to get all the
functionality working in scwm.  So far, there are two things I haven't
been able to figure out at all:

  1.  Can scwm react to button-up events?  Can it query whether a
      button is down?

      I see the implementation of the function move-or-raise in
      minimal.scm.  Someone please correct me if I misspeak here, but
      as far as I can tell, this function works by actually waiting
      click-delay milliseconds before deciding whether this is a click
      or motion event.  (Evidently, the mouse-event-type function
      waits click-delay milliseconds in 20 ms increments until it is
      sure.)  That means that if I define something to move-or-raise,
      the raise won't occur until after click-delay ms and if I hold
      the mouse down for longer than click-delay ms it decides that
      this is a motion event.

      The behavior I want is that, at the time of button release, if I
      have moved the cursor less than a certain threshold, it is
      considered a click; otherwise it is considered a motion event.
      The result of that would be that if I click the button and hold
      it down for three ms or three days and release it, it is still a
      click.  The reaction to this event occurs the instant the mouse
      button is released.  This mode of operation makes the
      window manager feel much more responsive.

      In gwm, you could do this by associating move-or-raise with a
      button down event.  move-or-raise would basically say

      (if (deltabutton) (interactive-move) (raise-window))

      where deltabutton was defined as something like the following
      untested schemish pseudocode:

       (let ((result #f) (done #f))
	 (while (not done)
	    (if (button-is-still-down)
		(if (mouse-has-moved-far-enough)
		    (progn
		      (set! done #t)
		      (set! result #t)
		    )
		  ;; else mouse has not moved far enough -- stay in loop
		)
	      ;; else button is not still down
	      (set! done #t)
	      (set! result #f)
	    )
	 )
	 result
       )

     I'd like to implement this this way in scwm, but I can't see any
     way to do it.

     Even if I didn't want to do move-or-raise but instead just raise,
     I may still want to bind the raise operation to the button-up
     event instead of the button-down event to make it feel more
     responsive.  That's not so critical though since if I'm just
     doing one operation, I can use the immediate-function in the
     mouse binding.

  2. My home-grown doesn't-look-like-anything-else titlebar
     decorations are non-square bitmaps.  As far as I can tell, scwm
     wants the images used for buttons to be square.  Is this true?  I
     don't care too much -- I can switch to square button designs --
     but I'd like to know whether I'm overlooking something.

I've also noticed one bug, but I'm sending that in a separate message.

Thanks for all the work on scwm -- gwm is a dying window manager --
even it's author says this explicitly.  It's great for a lot of
things, but it just gets more and more obsolete, and there are some
basic fundamental issues of interacting with the rest of the world
that are too hard from gwm these days.  I'm glad to see that a new
"emacs of window managers" has finally come along.

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 16 21:49:05 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA10909
	for scwm-discuss-outgoing; Thu, 16 Sep 1999 21:49:05 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA10906
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 21:49:02 -0400
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id VAA19790
	for <scwm-discuss@scwm.mit.edu>; Thu, 16 Sep 1999 21:48:57 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id VAA01831; Thu, 16 Sep 1999 21:49:34 -0400
Date: Thu, 16 Sep 1999 21:49:34 -0400
Message-Id: <199909170149.VAA01831@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: window menu buglet in scwm 0.99.2
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


The easiest way to demonstrate is through the standard profile
(system.scwmrc).  If you pop up a windows menu (say, with Alt-Tab) and
select an item using a hot-key, if the item you select is not the same
as the item that is currently highlighted, the red frame stays on the
window that was selected.  A casual look at the code suggests that
unflash-window-proc is not called in this case.  I haven't looked at
this deeply enough to know whether this is because the scheme code
that implements the window menu is wrong or something else is wrong.

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 01:23:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA11297
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 01:23:19 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA11294
	for <scwm-discuss@scwm.mit.edu>; Fri, 17 Sep 1999 01:23:13 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA17922; Thu, 16 Sep 1999 22:23:01 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: window menu buglet in scwm 0.99.2
References: <199909170149.VAA01831@soup.ql.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 16 Sep 1999 22:23:01 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Thu, 16 Sep 1999 21:49:34 -0400"
Message-ID: <qrrso4ef6x6.fsf@elwha.cs.washington.edu>
Lines: 15
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> The easiest way to demonstrate is through the standard profile
> (system.scwmrc).  If you pop up a windows menu (say, with Alt-Tab) and
> select an item using a hot-key, if the item you select is not the same
> as the item that is currently highlighted, the red frame stays on the
> window that was selected.  A casual look at the code suggests that
> unflash-window-proc is not called in this case.  I haven't looked at
> this deeply enough to know whether this is because the scheme code
> that implements the window menu is wrong or something else is wrong.

I think your analysis is correct... should be an easy fix that I'll get
to early tomorrow.  Thanks for the report.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 01:38:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA11397
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 01:38:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA11390
	for <scwm-discuss@scwm.mit.edu>; Fri, 17 Sep 1999 01:37:55 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA17925; Thu, 16 Sep 1999 22:37:48 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: button-up events?
References: <199909170148.VAA01826@soup.ql.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 16 Sep 1999 22:37:48 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Thu, 16 Sep 1999 21:48:56 -0400"
Message-ID: <qrrr9jyf68j.fsf@elwha.cs.washington.edu>
Lines: 149
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> I'm running scwm 0.99.2 on RedHat 6.0 which I built myself (trivially)
> from the .src.rpm files.

That's great news.

> I am a devoted GWM user who is now looking seriously at switching to
> scwm.  I've been using gwm since 1989 and know it pretty thoroughly.
> I do with gwm stuff that you can't do with any other windowmanager,
> perhaps with the sole exception of scwm.  As a person much more
> interested in functionality than appearance, I wrote my own profile
> pretty much from the ground up.  It's very plain-looking but is
> well-tuned to my environment.  scwm is the first window manager I've
> seen since gwm that looks like it can do everything I want it to do.

I hope so, and where it can't do what you want, we'll make it do it!

> I'm going through my gwm profile gradually trying to get all the
> functionality working in scwm.  So far, there are two things I haven't

This is wonderful-- I'm very interested to hear of these types of things.

> been able to figure out at all:
> 
>   1.  Can scwm react to button-up events?  Can it query whether a
>       button is down?

Not now, on either cound (at least not directly)

>       I see the implementation of the function move-or-raise in
>       minimal.scm.  Someone please correct me if I misspeak here, but
>       as far as I can tell, this function works by actually waiting
>       click-delay milliseconds before deciding whether this is a click
>       or motion event.  (Evidently, the mouse-event-type function
>       waits click-delay milliseconds in 20 ms increments until it is
>       sure.)  That means that if I define something to move-or-raise,
>       the raise won't occur until after click-delay ms and if I hold
>       the mouse down for longer than click-delay ms it decides that
>       this is a motion event.

That's correct, with a slight refinement as explained below.

>       The behavior I want is that, at the time of button release, if I
>       have moved the cursor less than a certain threshold, it is
>       considered a click; otherwise it is considered a motion event.
>       The result of that would be that if I click the button and hold
>       it down for three ms or three days and release it, it is still a
>       click.  The reaction to this event occurs the instant the mouse
>       button is released.  This mode of operation makes the
>       window manager feel much more responsive.

The second argument to the bind-mouse is an `immediate-proc' that gets
invoked right away upon button down.  If it returns #t (I'm working from 
memory now, as I'm away from the source), then the normal proc is not
invoked, otherwise the normal proc is invoked.  This was a quickie hack
to remove the unresponsiveness problem.

It seems like the other solution is pretty reasonable, too, but the
problem is in separating click from double-click events.  If the click
action is sent before any double-click, it's not a problem, but
some people seem to want the click to be invoked only on a single-click
(and not a prefix of the double-click).  We discussed this a bit on the
list and the above-described hack was all I had time to do at the
moment, but it pleased enough people that it lasted.  I intend to get
this right with the upcoming event rewrite (really-- soon! I swear!)

>       In gwm, you could do this by associating move-or-raise with a
>       button down event.  move-or-raise would basically say
> 
>       (if (deltabutton) (interactive-move) (raise-window))
> 
>       where deltabutton was defined as something like the following
>       untested schemish pseudocode:
> 
>        (let ((result #f) (done #f))
> 	 (while (not done)
> 	    (if (button-is-still-down)
> 		(if (mouse-has-moved-far-enough)
> 		    (progn
> 		      (set! done #t)
> 		      (set! result #t)
> 		    )
> 		  ;; else mouse has not moved far enough -- stay in loop
> 		)
> 	      ;; else button is not still down
> 	      (set! done #t)
> 	      (set! result #f)
> 	    )
> 	 )
> 	 result
>        )
> 
>      I'd like to implement this this way in scwm, but I can't see any
>      way to do it.

I've always felt that GWM had its abstractions at a slightly too low
level.  I'm more comfortable having the C code know a little bit more
about the event dispatch.

I'll be reposting my event rewrite thoughts and again asking for
feedback before I proceed with its implementation.

>      Even if I didn't want to do move-or-raise but instead just raise,
>      I may still want to bind the raise operation to the button-up
>      event instead of the button-down event to make it feel more
>      responsive.  That's not so critical though since if I'm just
>      doing one operation, I can use the immediate-function in the
>      mouse binding.

The immediate-proc was a big win in responsiveness of Scwm (even to me,
I had no idea how much faster Scwm would feel until I used it).

>   2. My home-grown doesn't-look-like-anything-else titlebar
>      decorations are non-square bitmaps.  As far as I can tell, scwm
>      wants the images used for buttons to be square.  Is this true?  I
>      don't care too much -- I can switch to square button designs --
>      but I'd like to know whether I'm overlooking something.

Nope, not overlooking anything.  The decoration code in Scwm is not
great.  I'd like to lift the decoration code from E/IceWM and/or other
wms to replace (perhaps optionally) the legacy decorations and themes in 
Scwm.  Maciej was going to be in charge of this rewrite, but he's been
pretty damn busy of late, and it's not clear that it's going to let up.
There may be some notes in the repository about this (in
doc/dev/decorations, IIRC). I'd love to see someone else take up this
rewrite...  I find it hard to motivate myself to do decoration stuff as
I'm a bit more interested in functionality than looks.

> I've also noticed one bug, but I'm sending that in a separate message.

Will be fixed tomorrow- thanks for the report.

> Thanks for all the work on scwm -- gwm is a dying window manager --
> even it's author says this explicitly.  It's great for a lot of
> things, but it just gets more and more obsolete, and there are some
> basic fundamental issues of interacting with the rest of the world
> that are too hard from gwm these days.  I'm glad to see that a new
> "emacs of window managers" has finally come along.

It'd be fantastic if you could spread the word about Scwm to the GWM
community.  I have in the past posted to the gwm-talk list, and perhaps
I will again (I was not aware of the author's death-of-GWM
pronouncement).  The expertise and experience of the GWM user community
are welcome here, and I'm committed to making Scwm do anything GWM can
do, but better! :-)  (And Scheme gives us a big head-start!)

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 04:14:05 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id EAA13823
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 04:14:05 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from wanadoo.fr (root@smtp-out-007.wanadoo.fr [193.252.19.126])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id EAA13820
	for <scwm-discuss@scwm.mit.edu>; Fri, 17 Sep 1999 04:13:56 -0400
Received: from tls9-242.abo.wanadoo.fr [164.138.70.242] by wanadoo.fr
          for 
          Paris Fri, 17 Sep 1999 10:13:42 +0200 (MET DST)
Date: Fri, 17 Sep 1999 10:14:20 +0200 (CEST)
From: Junichi Saito <j.saito@wanadoo.fr>
To: Greg Badros <gjb@cs.washington.edu>
cc: scwm discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: 0.99.2 : build problems
In-Reply-To: <qrr671ah2mk.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.LNX.4.10.9909170918490.273-100000@saito>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


On 16 Sep 1999, Greg Badros wrote:

>> First, with cassowary support enabled, the build of scwm 0.99.2 fails at
>> scwm-0.99.2/scwm/constraint-primitives.cc with the following error:
>
>Which version of guile?  Is HAVE_SCM_MAKE_HOOK #defined in
>include/config.h?

The version of guile installed is 1.3.2a. I find the following lines in
include/config.h:

/* Define this if your libguile has scm_make_hook, indicating
   C-level support for hooks. */
#define HAVE_SCM_MAKE_HOOK 1

>> Second, I can't generate html files from scwm.sgml. 'make html' aborts
>> with the following error:
>> 
>> mkdir -p html && cd html && \
>> jade -t sgml -d /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl
>> ../scwm.sgml
>> jade:../scwm.sgml:39:6:E: invalid comment declaration: found character "$"
(...)
>Does your scwm.sgml start out like:
>
><!-- $Id: ref-header.sgml,v 1.5 1999/09/15 20:46:38 gjb Exp $ -->
><!-- "-//OASIS//DTD DocBook V3.1//EN" -->
><!DOCTYPE Book PUBLIC "-//Davenport//DTD DocBook V3.0//EN">
>
>the second line was broken a couple days ago.
>

'--' at the end of the second line is missing in my scwm.sgml.
I reran 'make html' after adding '--'. jade worked for a while to end up
with:

jade:/usr/lib/sgml/stylesheets/nwalsh-modular/html/dblink.dsl:18:3:E: Link
to missing ID 'WITH-GRABBED-SERVER'
make: *** [html] Error 1

There are however, in doc/html, 1346 generated files. How many files are
supposed to be generated if 'make html' terminates normally ?


j.






From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 04:30:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id EAA13905
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 04:30:51 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id EAA13902
	for <scwm-discuss@scwm.mit.edu>; Fri, 17 Sep 1999 04:30:45 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1)
	id 11RtPk-0009ac-0A
	for scwm-discuss@scwm.mit.edu; Fri, 17 Sep 1999 08:30:40 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id IAA02246
	for scwm-discuss@scwm.mit.edu; Fri, 17 Sep 1999 08:30:27 +0100
Date: Fri, 17 Sep 1999 08:30:27 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Re: scwm-0.99.2 success report
Message-ID: <19990917083027.A32339@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <19990915150117.A23128@youkaidi.irisa.fr> <19990916123613.F19139@hagbard.demon.co.uk> <qrryae6kdv1.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <qrryae6kdv1.fsf@elwha.cs.washington.edu>
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Setting Orange, Day 41 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Thu, Sep 16, 1999 at 09:41:54AM -0700, Greg Badros wrote:
> Dave Pearson <davep@hagbard.demon.co.uk> writes:
> 
> > I do have a minor problem where scwm doesn't always appear to start
> > quick enough for gnome-session and so, because I want to use the gnome
> > pager in the gnome panel, it bitches about my window manager and
> > suggests that I should use Enlightenment.
> 
> You may want to upgrade to guile-1.3.3 out of CVS (I'll have new RPMs on
> the Scwm site before too long). It's startup time is enough faster that it
> might make the difference.

I did start to do this the other day but, this being a RedHat system (and me
being new to RedHat, I've been with Slackware since 1995) it complained
about be changing the version of guile (I think it was gnome-games that
depended on the guile I've got. Time to follow the re-build trail I
guess...).

That said, I try not to drop out of and start up X that often so I can live
with this little chore for the moment.

> > Many many thanks.
> 
> You're welcome. It's been hard work but emails like this make it
> worthwhile (of course it's worthwhile just so that *I* have a decent wm,
> but it's nice that other people are at least as rational as I am in
> disliking the other WMs out there).

Actually, to be honest, I'm not sure that I "dislike" other WMs out there,
it's just that scwm appeals to me for some reason I quite put my finger on.
Probably the main reason it appeals is for the same reason that emacs
appeals to me as an editor. The fact that the two can be interlinked in a
seamless way makes it even more fun.

As of now I've only really got one outstanding problem and that is the issue
of the window focus not going back to the window that last had focus when
the focused window exists (and linked to that is the question of why
`current-window-with-focus' returns #f when inside a `window-close-hook'. As
mentioned elsewhere, as you requested I sent details of the problem to
scwm-bugs so I don't know what is happening there now.

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 06:52:03 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA14295
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 06:52:03 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from w2.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA14292
	for <scwm-discuss@scwm.mit.edu>; Fri, 17 Sep 1999 06:51:59 -0400
Received: from mizar (r1p029.ntt.it [194.73.94.29]) by w2.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id MAA23810 for <scwm-discuss@scwm.mit.edu>; Fri, 17 Sep 1999 12:52:31 +0200 (DFT)
Received: from cesco by mizar with local (Exim 3.02 #1 (Debian))
	id 11RvbL-0001m4-00
	for <scwm-discuss@scwm.mit.edu>; Fri, 17 Sep 1999 12:50:47 +0200
Date: Fri, 17 Sep 1999 12:50:47 +0200
From: Francesco Tapparo <cesco@ntt.it>
To: scwm-discuss@scwm.mit.edu
Subject: Re: problem in the makefile.am of scwm/pixmaps?
Message-ID: <19990917125047.D166@mizar>
Reply-To: cesco@debian.org
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <19990916160352.A12562@mizar> <qrrr9jykd9f.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <qrrr9jykd9f.fsf@elwha.cs.washington.edu>; from Greg Badros on Thu, Sep 16, 1999 at 09:54:52AM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Thu, Sep 16, 1999 at 09:54:52AM -0700, Greg Badros wrote:
> Francesco Tapparo <cesco@ntt.it> writes:
> 
> > the build is trying to install the pixmaps in
> > /usr/share/scwm/pixmaps/home/cesco/....
> >                         ^^^^^^^^^^^^^^^
> > 
> > The reason, I think, is the pixmaps/Makefile.am; the following patch fix the
> > problem. The problem here is that the macro system of automake (v1.4) is
> > not very smart here.
> > 
> > --- Makefile.am.orig	Thu Sep 16 15:42:57 1999
> > +++ Makefile.am	Thu Sep 16 15:43:14 1999
> > @@ -1,5 +1,5 @@
> >  ## $Id: Makefile.am,v 1.3 1999/08/30 19:01:45 robbe Exp $
> >  ## process this file with automake to create Makefile.in
> >  ## (You should run ./autogen.sh from the top level directory)
> > -scwm_pixmap_DATA = $(srcdir)/*.xpm
> > -EXTRA_DIST = $(srcdir)/*.xpm
> > +scwm_pixmap_DATA = *.xpm
> > +EXTRA_DIST = *.xpm
> 
> 
> Hmm Robert only recently made this change, so I'll let him decide what
> the right thing here is.

I would like to explain better my problem, so Robert can do a better 
decision.

With Automake 1.4, the pixmaps/Makefile.am generate this code:

install-scwm_pixmapDATA: $(scwm_pixmap_DATA)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(scwm_pixmapdir)
	@list='$(scwm_pixmap_DATA)'; for p in $$list; do \
	  if test -f $(srcdir)/$$p; then \
	    echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(scwm_pixmapdir)/$$p"; \
	    $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(scwm_pixmapdir)/$$p; \
	  else if test -f $$p; then \
	    echo " $(INSTALL_DATA) $$p $(DESTDIR)$(scwm_pixmapdir)/$$p"; \
	    $(INSTALL_DATA) $$p $(DESTDIR)$(scwm_pixmapdir)/$$p; \
	  fi; fi; \
	done

if scwm_pixmap_DATA is set to $(srcdir)/*.xpm
this code pick the pixmaps in $(srcdir)/*.xpm and put them in 
$(DESTDIR)/$(scwm_pixmapdir)/$(srcdir)/*.xpm and not in the right places.

>From the code, it seems that the automake-generated Makefile already look in
$(srcdir), so it seems that scwm_pixmap_DATA is not supposed to be an
absolute path; but perhaps here I'm wrong.


> 
> Thanks,
> Greg
> 
> 
> 1999-08-30  Robert Bihlmeyer  <robbe@orcus.priv.at>
> 
> 	* pixmaps/Makefile.am: Prefix with srcdir so that srcdir !=
> 	builddir works.
> 
> 	* autogen.sh: Permit users to call autogen.sh from their build
> 	directory, and still DTRT.


Sorry Robert, If I brutally reversed your patch: I did not read the changelog.

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 08:30:35 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id IAA14594
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 08:30:35 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from wanadoo.fr (root@smtp-out-001.wanadoo.fr [193.252.19.68])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id IAA14591
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 17 Sep 1999 08:30:31 -0400
Received: from tnttls20-211.abo.wanadoo.fr [164.138.93.211] by wanadoo.fr
          for 
          Paris Fri, 17 Sep 1999 14:30:21 +0200 (MET DST)
Date: Fri, 17 Sep 1999 14:30:54 +0200 (CEST)
From: Junichi Saito <j.saito@wanadoo.fr>
To: Greg Badros <gjb@cs.washington.edu>
cc: scwm discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: 0.99.2 : build problems
In-Reply-To: <Pine.LNX.4.10.9909170918490.273-100000@saito>
Message-ID: <Pine.LNX.4.10.9909171358170.347-100000@saito>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk



On Fri, 17 Sep 1999, I wrote:

>
>On 16 Sep 1999, Greg Badros wrote:
>
>>> First, with cassowary support enabled, the build of scwm 0.99.2 fails at
>>> scwm-0.99.2/scwm/constraint-primitives.cc with the following error:
>>
>>Which version of guile?  Is HAVE_SCM_MAKE_HOOK #defined in
>>include/config.h?
>
>The version of guile installed is 1.3.2a. I find the following lines in
>include/config.h:
>
>/* Define this if your libguile has scm_make_hook, indicating
>   C-level support for hooks. */
>#define HAVE_SCM_MAKE_HOOK 1

The failure seems to be due to some stale files from guile 1.3 lying
around : guile-snarf and libguile.h were left by mistake . 

Also I didn't seem to configure properly cassowary. I tried to recompile
it and got another problem:

c++ -DHAVE_CONFIG_H -I. -I. -I../c++ -I. -I../c++ -I/opt/scwm/include
-I/opt/scwm/include -I/opt/scwm/include -g -O2 -c cassowary_scm.cc
cassowary_scm.cc: In method `class ClVariable *
ClVarLookupByGuileProc::operator ()(const string &) const':
cassowary_scm.cc:1094: passing `const char *' as argument 1 of
`gh_str02scm(char *)' discards qualifiers make[1]: *** [cassowary_scm.o]
Error 1 make[1]: Leaving directory `/usr/local/src/cassowary-0.51/guile'
make: *** [all-recursive] Error 1


Please note that some files in cassowary-0.51/c++/ reference to include
files as <cassowary/xxx.h> and in Makefile several include files are
referenced as cassowary/xxx.h. The problem is the tarball dosen't creat
such a subdirectory. I so had to manually create the directory in source
dir and dest dir and to copy *.h files into them beforehand.

It's possible doing so I messed up something.



From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 11:22:15 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA14974
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 11:22:15 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA14971
	for <scwm-discuss@scwm.mit.edu>; Fri, 17 Sep 1999 11:22:10 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id LAA14839;
	Fri, 17 Sep 1999 11:21:53 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma014835; Fri, 17 Sep 99 11:21:52 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id LAA30398; Fri, 17 Sep 1999 11:21:52 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id LAA16162; Fri, 17 Sep 1999 11:22:36 -0400
Date: Fri, 17 Sep 1999 11:22:36 -0400
Message-Id: <199909171522.LAA16162@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@scwm.mit.edu
In-reply-to: <qrrr9jyf68j.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 16 Sep 1999 22:37:48 -0700)
Subject: Re: button-up events?
References: <199909170148.VAA01826@soup.ql.org> <qrrr9jyf68j.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


>   >       The behavior I want is that, at the time of button release, if I
>   >       have moved the cursor less than a certain threshold, it is
>   >       considered a click; otherwise it is considered a motion event.
>   >       The result of that would be that if I click the button and hold
>   >       it down for three ms or three days and release it, it is still a
>   >       click.  The reaction to this event occurs the instant the mouse
>   >       button is released.  This mode of operation makes the
>   >       window manager feel much more responsive.
>
>   The second argument to the bind-mouse is an `immediate-proc' that gets
>   invoked right away upon button down.  If it returns #t (I'm working from 
>   memory now, as I'm away from the source), then the normal proc is not
>   invoked, otherwise the normal proc is invoked.  This was a quickie hack
>   to remove the unresponsiveness problem.
>
>   It seems like the other solution is pretty reasonable, too, but the
>   problem is in separating click from double-click events.  If the click
>   action is sent before any double-click, it's not a problem, but
>   some people seem to want the click to be invoked only on a single-click
>   (and not a prefix of the double-click).  We discussed this a bit on the
>   list and the above-described hack was all I had time to do at the
>   moment, but it pleased enough people that it lasted.  I intend to get
>   this right with the upcoming event rewrite (really-- soon! I swear!)

One possible solution to this problem would be to have three kinds of
events: button click, button down, and button up.  Button click events
could be implemented in such a way that single, double, triple,
etc. clicks could be detected.  If you (the profile author) don't care
about multiple clicks, respond to the button down event.  If you do,
respond to the button click event.  I think this is what gwm does, but
it's been so long, I'd have to go back to the code to be sure.  I
never use double clicks anyway so it's easy for me to forget.

>   I've always felt that GWM had its abstractions at a slightly too low
>   level.  I'm more comfortable having the C code know a little bit more
>   about the event dispatch.

Funny you should say that.  I made the same characterization yesterday
when I was telling someone about my decision to switch from gwm to
scwm.  scwm knows more in the C code that gwm does.  With gwm, the
whole logic of what happens when windows appear is handled in the wool
code via describe-window and describe-screen, but every profile I've
ever seen including my own basically have logic that says, "Look up a
window in a table to figure out what kind of decorations, placement,
etc. to apply and then call the appropriate functions."  As far as I
can tell, scwm does this more natively.  In some ways, gwm's approach
is more flexible, but it has disadvantages too.  I think that scwm's
approach of using hooks and relying much less and magic global
variables is much cleaner and in the end will result in more
functional and easier-to-maintain profiles.

>   It'd be fantastic if you could spread the word about Scwm to the GWM
>   community.  I have in the past posted to the gwm-talk list, and perhaps
>   I will again (I was not aware of the author's death-of-GWM
>   pronouncement).  The expertise and experience of the GWM user community
>   are welcome here, and I'm committed to making Scwm do anything GWM can
>   do, but better! :-)  (And Scheme gives us a big head-start!)

Lest I should make the mistake of putting words into someone else's
mouth, this is a quote from the gwm web page:

 -> GWM was a success, but was overwhelmed by its maintenance and support
 -> due to the feedback brought back by the internet community, so that in
 -> the following years I did not have time to put actual research work on
 -> the original goal, the profiles on top of the kernel. Then I became
 -> too busy to maintain it so I kept a low profile so as not to attract
 -> new user and keep a small base of faithful users. I wanted to change a
 -> lot of things but did not do it as it would have induced
 -> incompatibilties for my users. So I waited for GWM to die slowly and
 -> some other new Window Manager to come and replace it.
 -> 
 -> But, 6 years after, I still use GWM. Why? because it stills offers the
 -> best environment a hacker can dream of among the available WMs. So I
 -> decided to clean the distribition, integrate all the patches sent to
 -> me by contributors, and issue the 1.8 release (30 June 1995) to offer
 -> a stable useful base for all hackers to use while I could begin
 -> writing a new incompatible incarnation with all insight gained by
 -> these years. GWM now can now do a suprising amount of things, at the
 -> expense of a quite involved hacking part from profile writers. So gwm
 -> 1.8 can be seen as the "final edition" of gwm.

I don't believe this has been updated since the birth of scwm.

Thanks for your prompt and thorough response to my comments and bug
report.  I'll keep sending thoughts and reports your way.

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 13:20:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA15283
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 13:20:57 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from savonarola.red-bean.com (savonarola.red-bean.com [208.245.165.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA15280
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 17 Sep 1999 13:20:51 -0400
Received: (from jimb@localhost)
	by savonarola.red-bean.com (8.8.7/8.8.7) id MAA23411;
	Fri, 17 Sep 1999 12:20:43 -0500
To: Junichi Saito <j.saito@wanadoo.fr>
Cc: Greg Badros <gjb@cs.washington.edu>,
        scwm discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: 0.99.2 : build problems
References: <Pine.LNX.4.10.9909171358170.347-100000@saito>
From: Jim Blandy <jimb@red-bean.com>
Date: 17 Sep 1999 12:20:43 -0500
In-Reply-To: Junichi Saito's message of "Fri, 17 Sep 1999 14:30:54 +0200 (CEST)"
Message-ID: <m3aeql78us.fsf@savonarola.red-bean.com>
Lines: 6
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> The failure seems to be due to some stale files from guile 1.3 lying
> around : guile-snarf and libguile.h were left by mistake . 

Is this because the Guile installation script is broken, or because
you installed Guile in a different place than last time?

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 13:27:46 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA15334
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 13:27:46 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA15331
	for <scwm-discuss@scwm.mit.edu>; Fri, 17 Sep 1999 13:27:41 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA00590; Fri, 17 Sep 1999 10:27:34 -0700 (PDT)
To: Junichi Saito <j.saito@wanadoo.fr>
Cc: scwm discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: 0.99.2 : build problems
References: <Pine.LNX.4.10.9909170918490.273-100000@saito>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Sep 1999 10:27:34 -0700
In-Reply-To: Junichi Saito's message of "Fri, 17 Sep 1999 10:14:20 +0200 (CEST)"
Message-ID: <qrr90658n3t.fsf@elwha.cs.washington.edu>
Lines: 28
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Junichi Saito <j.saito@wanadoo.fr> writes:

<snip, see next reply>

> ><!-- $Id: ref-header.sgml,v 1.5 1999/09/15 20:46:38 gjb Exp $ -->
> ><!-- "-//OASIS//DTD DocBook V3.1//EN" -->
> ><!DOCTYPE Book PUBLIC "-//Davenport//DTD DocBook V3.0//EN">
> >
> >the second line was broken a couple days ago.
> >
> 
> '--' at the end of the second line is missing in my scwm.sgml.
> I reran 'make html' after adding '--'. jade worked for a while to end up
> with:
> 
> jade:/usr/lib/sgml/stylesheets/nwalsh-modular/html/dblink.dsl:18:3:E: Link
> to missing ID 'WITH-GRABBED-SERVER'
> make: *** [html] Error 1
> 
> There are however, in doc/html, 1346 generated files. How many files are
> supposed to be generated if 'make html' terminates normally ?

I think that's normal termination-- jade exits with status 1 if there
were any errors, not because it dies.  I'd love for somebody to look
into the errors-- lots of them are just missing xrefs.  I have about
1300 some files in the directory, too, so I think you're set.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 13:30:28 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA15351
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 13:30:28 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA15348
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 17 Sep 1999 13:30:25 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA00593; Fri, 17 Sep 1999 10:30:18 -0700 (PDT)
To: Junichi Saito <j.saito@wanadoo.fr>
Cc: scwm discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: 0.99.2 : build problems
References: <Pine.LNX.4.10.9909171358170.347-100000@saito>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Sep 1999 10:30:18 -0700
In-Reply-To: Junichi Saito's message of "Fri, 17 Sep 1999 14:30:54 +0200 (CEST)"
Message-ID: <qrr7llp8mz9.fsf@elwha.cs.washington.edu>
Lines: 61
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Junichi Saito <j.saito@wanadoo.fr> writes:

> On Fri, 17 Sep 1999, I wrote:
> 
> >
> >On 16 Sep 1999, Greg Badros wrote:
> >
> >>> First, with cassowary support enabled, the build of scwm 0.99.2 fails at
> >>> scwm-0.99.2/scwm/constraint-primitives.cc with the following error:
> >>
> >>Which version of guile?  Is HAVE_SCM_MAKE_HOOK #defined in
> >>include/config.h?
> >
> >The version of guile installed is 1.3.2a. I find the following lines in
> >include/config.h:
> >
> >/* Define this if your libguile has scm_make_hook, indicating
> >   C-level support for hooks. */
> >#define HAVE_SCM_MAKE_HOOK 1
> 
> The failure seems to be due to some stale files from guile 1.3 lying
> around : guile-snarf and libguile.h were left by mistake . 

So is that not a problem any more, then?

> 
> Also I didn't seem to configure properly cassowary. I tried to recompile
> it and got another problem:
> 
> c++ -DHAVE_CONFIG_H -I. -I. -I../c++ -I. -I../c++ -I/opt/scwm/include
> -I/opt/scwm/include -I/opt/scwm/include -g -O2 -c cassowary_scm.cc
> cassowary_scm.cc: In method `class ClVariable *
> ClVarLookupByGuileProc::operator ()(const string &) const':
> cassowary_scm.cc:1094: passing `const char *' as argument 1 of
> `gh_str02scm(char *)' discards qualifiers make[1]: *** [cassowary_scm.o]
> Error 1 make[1]: Leaving directory `/usr/local/src/cassowary-0.51/guile'
> make: *** [all-recursive] Error 1

If you're using a really recent gcc/g++, you should try the configure
option --enable-permissive.

> Please note that some files in cassowary-0.51/c++/ reference to include
> files as <cassowary/xxx.h> and in Makefile several include files are
> referenced as cassowary/xxx.h. The problem is the tarball dosen't creat
> such a subdirectory. I so had to manually create the directory in source
> dir and dest dir and to copy *.h files into them beforehand.
> 
> It's possible doing so I messed up something.

I just added this line to autogen.sh to fix this, I hope:

# Make a missing symlink that does not get created from cvs checkouts
ln -sf . ./c++/cassowary


(CVS doesn't maintain symlinks -- the rpm creates the symlink, but if
you use the dist file this didn't happen.  Now it should).

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 13:54:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA15481
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 13:54:24 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA15478
	for <scwm-discuss@scwm.mit.edu>; Fri, 17 Sep 1999 13:54:20 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA00657; Fri, 17 Sep 1999 10:53:03 -0700 (PDT)
To: Dave Pearson <davep@hagbard.demon.co.uk>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: scwm-0.99.2 success report
References: <19990915150117.A23128@youkaidi.irisa.fr> <19990916123613.F19139@hagbard.demon.co.uk> <qrryae6kdv1.fsf@elwha.cs.washington.edu> <19990917083027.A32339@hagbard.demon.co.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Sep 1999 10:53:03 -0700
In-Reply-To: Dave Pearson's message of "Fri, 17 Sep 1999 08:30:27 +0100"
Message-ID: <qrrzoyl77cw.fsf@elwha.cs.washington.edu>
Lines: 47
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dave Pearson <davep@hagbard.demon.co.uk> writes:

> I did start to do this the other day but, this being a RedHat system (and me
> being new to RedHat, I've been with Slackware since 1995) it complained
> about be changing the version of guile (I think it was gnome-games that
> depended on the guile I've got. Time to follow the re-build trail I
> guess...).
> 
> That said, I try not to drop out of and start up X that often so I can live
> with this little chore for the moment.

The version numbers on the .so-s are different so the shared libraries
from the old guile library can be installed, too.  I just copied them
out of the binary rpm into /usr/lib.

> > > Many many thanks.
> > 
> > You're welcome. It's been hard work but emails like this make it
> > worthwhile (of course it's worthwhile just so that *I* have a decent wm,
> > but it's nice that other people are at least as rational as I am in
> > disliking the other WMs out there).
> 
> Actually, to be honest, I'm not sure that I "dislike" other WMs out there,
> it's just that scwm appeals to me for some reason I quite put my finger on.
> Probably the main reason it appeals is for the same reason that emacs
> appeals to me as an editor. The fact that the two can be interlinked in a
> seamless way makes it even more fun.

And now you can talk to Scwm! :-)

> As of now I've only really got one outstanding problem and that is the issue
> of the window focus not going back to the window that last had focus when
> the focused window exists (and linked to that is the question of why
> `current-window-with-focus' returns #f when inside a `window-close-hook'. As
> mentioned elsewhere, as you requested I sent details of the problem to
> scwm-bugs so I don't know what is happening there now.

I thought I answered this w/ a thought about using X-UnmapNotify-hook,
instead.  My apologies if my recollection is incorrect.
window-close-hook is called too late, but the X-UnmapNotify-hook can
probably be used to do what you want (and I verified just now that the
current-window-with-focus can be non-#f in that hooks' procedures).

Let us know what you come up with.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 14:06:56 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA15621
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 14:06:56 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA15614;
	Fri, 17 Sep 1999 14:06:44 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA00705; Fri, 17 Sep 1999 11:06:39 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu, scwm-announce@scwm.mit.edu
Subject: Another favor-- Linux Journal reader's choice...
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Sep 1999 11:06:38 -0700
Message-ID: <qrr7llp76q9.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Linux Journal is doing its annual reader's choice awards.  There is a
spot on their form for Window Manager, but Scwm isn't even among the
choices -- how silly!  In any case, it'd be great if we had a ton of
write-in votes for Scwm -- just enter

"Scwm"

in the comments box ("no opinion/other" is the default radio-button)

The page is at:

http://207.178.22.52/contest/readchoice.html


Even if you do not have the time to fill out the whole form, if you just 
do the first couple and then go down to about 65-70% through the page
and enter "Scwm" into the comments box if Scwm is your favourite window
manager, this could really help to put Scwm on the map.

Thanks!

Greg

P.S. Spread the word to your converts and friends who might use Scwm but 
don't subscribe to these lists!  Thanks!

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 14:21:06 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA15868
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 14:21:06 -0400
Received: from mailhub-dmz4.bloomberg.net (mailhub-dmz4.bloomberg.net [205.216.112.158])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA15843;
	Fri, 17 Sep 1999 14:19:31 -0400
Received: from blinky.bloomberg.com by mailhub-dmz4.bloomberg.net with ESMTP; Fri, 17 Sep 1999 14:17:03 -0400
Received: (from hjstein@localhost)
	by blinky.bloomberg.com (8.9.3/8.9.3) id OAA10675;
	Fri, 17 Sep 1999 14:16:22 -0400
X-Authentication-Warning: blinky.bloomberg.com: hjstein set sender to hjstein@bfr.co.il using -f
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU, scwm-announce@SCWM.MIT.EDU
Subject: Re: Another favor-- Linux Journal reader's choice...
References: <qrr7llp76q9.fsf@elwha.cs.washington.edu>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 17 Sep 1999 14:16:22 -0400
In-Reply-To: Greg Badros's message of "17 Sep 1999 11:06:38 -0700"
Message-ID: <kiwyae5h095.fsf@blinky.bloomberg.com>
Lines: 28
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > Linux Journal is doing its annual reader's choice awards.  There is a
 > spot on their form for Window Manager, but Scwm isn't even among the
 > choices -- how silly!  In any case, it'd be great if we had a ton of
 > write-in votes for Scwm -- just enter
 > 
 > "Scwm"
 > 
 > in the comments box ("no opinion/other" is the default radio-button)
 > 
 > The page is at:
 > 
 > http://207.178.22.52/contest/readchoice.html
 > 
 > 
 > Even if you do not have the time to fill out the whole form, if you just 
 > do the first couple and then go down to about 65-70% through the page
 > and enter "Scwm" into the comments box if Scwm is your favourite window
 > manager, this could really help to put Scwm on the map.

Don't forget to fill in "scheme" in the slot for your favorite
programming language!

-- 
Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 14:37:09 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA16272
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 14:37:09 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from wanadoo.fr (root@smtp-out-001.wanadoo.fr [193.252.19.68])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA16254
	for <scwm-discuss@scwm.mit.edu>; Fri, 17 Sep 1999 14:36:10 -0400
Received: from amyris.wanadoo.fr [193.252.19.150] by wanadoo.fr
          for 
          Paris Fri, 17 Sep 1999 20:35:55 +0200 (MET DST)
Received: from tnttls17-20.abo.wanadoo.fr (164.138.17.20) by amyris.wanadoo.fr; 17 Sep 1999 20:33:34 +0200
Date: Fri, 17 Sep 1999 20:36:26 +0200 (CEST)
From: Junichi Saito <j.saito@wanadoo.fr>
To: Greg Badros <gjb@cs.washington.edu>
cc: scwm discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: 0.99.2 : build problems
In-Reply-To: <qrr90658n3t.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.LNX.4.10.9909172032060.274-100000@saito>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


On 17 Sep 1999, Greg Badros wrote:

>> jade:/usr/lib/sgml/stylesheets/nwalsh-modular/html/dblink.dsl:18:3:E: Link
>> to missing ID 'WITH-GRABBED-SERVER'
>> make: *** [html] Error 1
>> 
>> There are however, in doc/html, 1346 generated files. How many files are
>> supposed to be generated if 'make html' terminates normally ?
>
>I think that's normal termination-- jade exits with status 1 if there
>were any errors, not because it dies.  I'd love for somebody to look
>into the errors-- lots of them are just missing xrefs.  I have about
>1300 some files in the directory, too, so I think you're set.

Ok, so I don't need to donwload reference html tarball. I don't use myself
docbook, I have it installed only because some apps from gnome depend on
it. I wanted to be sure all the files were generated.

Thanks.

j.


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 14:37:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA16274
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 14:37:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from wanadoo.fr (root@smtp-out-007.wanadoo.fr [193.252.19.126])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA16264
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 17 Sep 1999 14:36:42 -0400
Received: from tnttls17-20.abo.wanadoo.fr [164.138.17.20] by wanadoo.fr
          for 
          Paris Fri, 17 Sep 1999 20:36:13 +0200 (MET DST)
Date: Fri, 17 Sep 1999 20:36:51 +0200 (CEST)
From: Junichi Saito <j.saito@wanadoo.fr>
To: Jim Blandy <jimb@red-bean.com>
cc: Greg Badros <gjb@cs.washington.edu>,
        scwm discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: 0.99.2 : build problems
In-Reply-To: <m3aeql78us.fsf@savonarola.red-bean.com>
Message-ID: <Pine.LNX.4.10.9909172018530.274-100000@saito>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


On 17 Sep 1999, Jim Blandy wrote:

>
>> The failure seems to be due to some stale files from guile 1.3 lying
>> around : guile-snarf and libguile.h were left by mistake . 
>
>Is this because the Guile installation script is broken, or because
>you installed Guile in a different place than last time?
>

I should have been more explicit. I had guile 1.3 installed under
/opt/gnome : some apps from gnome were the only ones to depend on it. This
time I set 'prefix' to /usr/local. I manually deleted the old files from
guile 1.3 afterwards.

Sorry for the ambiguity.


 j.



From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 15:05:41 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA16643
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 15:05:41 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA16627
	for <scwm-discuss@scwm.mit.edu>; Fri, 17 Sep 1999 15:05:19 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA01045; Fri, 17 Sep 1999 12:05:09 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: window menu buglet in scwm 0.99.2
References: <199909170149.VAA01831@soup.ql.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Sep 1999 12:05:08 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Thu, 16 Sep 1999 21:49:34 -0400"
Message-ID: <qrrhfktickb.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> The easiest way to demonstrate is through the standard profile
> (system.scwmrc).  If you pop up a windows menu (say, with Alt-Tab) and
> select an item using a hot-key, if the item you select is not the same
> as the item that is currently highlighted, the red frame stays on the
> window that was selected.  A casual look at the code suggests that
> unflash-window-proc is not called in this case.  I haven't looked at
> this deeply enough to know whether this is because the scheme code
> that implements the window menu is wrong or something else is wrong.

This is now fixed.  Thanks for the bug report!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 15:15:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA16789
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 15:15:19 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA16783
	for <scwm-discuss@scwm.mit.edu>; Fri, 17 Sep 1999 15:15:13 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA01057; Fri, 17 Sep 1999 12:15:06 -0700 (PDT)
To: bob@rattlesnake.com
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: scwm-0.99.2 : problem with fvwm-module
References: <19990915150117.A23128@youkaidi.irisa.fr> <19990915154003.B23128@youkaidi.irisa.fr> <19990915162232.A24325@youkaidi.irisa.fr> <19990916112606.B28548@youkaidi.irisa.fr> <qrrg10ehag4.fsf@elwha.cs.washington.edu> <m11Rj49-001KyqC@localhost> <qrrbtb2h72f.fsf@elwha.cs.washington.edu> <m11S2Ro-001KysC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Sep 1999 12:15:06 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Fri, 17 Sep 1999 14:09:24 -0400 (EDT)"
Message-ID: <qrremfxic3p.fsf@elwha.cs.washington.edu>
Lines: 47
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Robert J. Chassell" <bob@rattlesnake.com> writes:

>    ... where do I get alien?  
> 
> See:
> 
>         http://kitenet.net/programs/alien/">
>         Alien Home page
> 
> This gives links to rpms as well as  .debs, etc.
> 
> Also, you might be interested in:
> 
>         http://kitenet.net/~joey/pkg-comp/
>         A comparison of the deb, rpm, tgz, and slp package formats.

Great, thanks for the pointers... very interesting...

<snip>

> I think that SCWM and the associated programs will be OK -- so one
> removes them and goes back to console mode.  :-(

As long as we have deban users (hopefully forever!), it's still probably 
best if we have natively built .debs-- if for no other reason than
testing .deb building.

<snip>

> As for the future:
> 
>    ... complete with voice recognition support, too!
> 
> That will wow me.  Indeed, please be sure to specify cards and other
> hardware: everything a person needs.  I don't have any audio on my
> system at all and don't know anything about it.  But I will buy cards
> and whatever other hardware is needed and ViaVoice (even if it is
> proprietary) to get voice recognition that works with SCWM and Emacs.

ViaVoice is free on GNU/Linux, and may not be available for other Unix
platforms.  Any 16 bit sound card that works with Linux should be fine.
The one in my Dell machine works just fine-- it claims to be a 16-bit
PnP Crystal 3D CS4237B (on my motherboard).  The ViaVoice web page may
list other requirements for an audio card.  You'll also need a
microphone, obviously.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 16:53:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA17596
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 16:53:10 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from wanadoo.fr (root@smtp-out-006.wanadoo.fr [193.252.19.98])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA17592
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 17 Sep 1999 16:53:03 -0400
Received: from tnttls20-201.abo.wanadoo.fr [164.138.93.201] by wanadoo.fr
          for 
          Paris Fri, 17 Sep 1999 22:52:45 +0200 (MET DST)
Date: Fri, 17 Sep 1999 22:53:17 +0200 (CEST)
From: Junichi Saito <j.saito@wanadoo.fr>
To: Greg Badros <gjb@cs.washington.edu>
cc: Junichi Saito <j.saito@wanadoo.fr>,
        scwm discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: 0.99.2 : build problems
In-Reply-To: <qrr7llp8mz9.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.LNX.4.10.9909172220170.4397-100000@saito>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


On 17 Sep 1999, Greg Badros wrote:

>> The failure seems to be due to some stale files from guile 1.3 lying
>> around : guile-snarf and libguile.h were left by mistake . 
>
>So is that not a problem any more, then?

No, I could'nt be more clear as I had been trying to recompile cassowary.

>> Also I didn't seem to configure properly cassowary. I tried to recompile
>> it and got another problem:
>> 
>> c++ -DHAVE_CONFIG_H -I. -I. -I../c++ -I. -I../c++ -I/opt/scwm/include
>> -I/opt/scwm/include -I/opt/scwm/include -g -O2 -c cassowary_scm.cc
>> cassowary_scm.cc: In method `class ClVariable *
>> ClVarLookupByGuileProc::operator ()(const string &) const':
>> cassowary_scm.cc:1094: passing `const char *' as argument 1 of
>> `gh_str02scm(char *)' discards qualifiers make[1]: *** [cassowary_scm.o]
>> Error 1 make[1]: Leaving directory `/usr/local/src/cassowary-0.51/guile'
>> make: *** [all-recursive] Error 1
>
>If you're using a really recent gcc/g++, you should try the configure
>option --enable-permissive.

Indeed, this worked. I could finally compile scwm with cassowary.

To end with, I would like to ask some questions:

- Are static libs (GTL, cassowary, etc) are required to run scwm ?

- The shared libs from cassowary get installed under
 $prefix/usr/local/share/guile/site (the static lib is installed in
 /opt/scwm/lib). Is this expected ? Guile is installed under /usr/local, 
 scwm under /opt/scwm. I compiled cassowary with the following options:

./configure --prefix=/opt/scwm --enable-fd-solver --with-gtl=/opt/scwm
--enable-permissive --enable-guile-build
--with-python-headers=/usr/local/include/python1.5
 
  Can I move the files in /opt/scwm/usr/local/share/guile/site into
/opt/scwm/lib ? 
  
The constraints buttons are really interesting. I seem to still have much
to learn.

Thank you.

 j.



From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 16:57:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA17668
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 16:57:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA17663
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 17 Sep 1999 16:57:46 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA01225; Fri, 17 Sep 1999 13:57:39 -0700 (PDT)
To: Junichi Saito <j.saito@wanadoo.fr>
Cc: scwm discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: 0.99.2 : build problems
References: <Pine.LNX.4.10.9909172220170.4397-100000@saito>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Sep 1999 13:57:39 -0700
In-Reply-To: Junichi Saito's message of "Fri, 17 Sep 1999 22:53:17 +0200 (CEST)"
Message-ID: <qrraeqli7cs.fsf@elwha.cs.washington.edu>
Lines: 38
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Junichi Saito <j.saito@wanadoo.fr> writes:

<snip>

> >If you're using a really recent gcc/g++, you should try the configure
> >option --enable-permissive.
> 
> Indeed, this worked. I could finally compile scwm with cassowary.

Good.

> To end with, I would like to ask some questions:
> 
> - Are static libs (GTL, cassowary, etc) are required to run scwm ?

Not as static libraries, no... the shared ones will do just fine.

> - The shared libs from cassowary get installed under
>  $prefix/usr/local/share/guile/site (the static lib is installed in
>  /opt/scwm/lib). Is this expected ? Guile is installed under /usr/local, 
>  scwm under /opt/scwm. I compiled cassowary with the following options:
> 
> ./configure --prefix=/opt/scwm --enable-fd-solver --with-gtl=/opt/scwm
> --enable-permissive --enable-guile-build
> --with-python-headers=/usr/local/include/python1.5
>  
>   Can I move the files in /opt/scwm/usr/local/share/guile/site into
> /opt/scwm/lib ? 

As long as your GUILE_LOAD_PATH and/or SCWM_LOAD_PATH points at the
right place.

> The constraints buttons are really interesting. I seem to still have much
> to learn.

Let me know what you think of them as you play with them more.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 17:32:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA18197
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 17:32:24 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from wanadoo.fr (root@smtp-out-007.wanadoo.fr [193.252.19.126])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA18194
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 17 Sep 1999 17:32:20 -0400
Received: from andira.wanadoo.fr [193.252.19.152] by wanadoo.fr
          for 
          Paris Fri, 17 Sep 1999 23:32:08 +0200 (MET DST)
Received: from tnttls16-2.abo.wanadoo.fr (164.138.202.2) by andira.wanadoo.fr; 17 Sep 1999 23:33:35 +0200
Date: Fri, 17 Sep 1999 23:32:45 +0200 (CEST)
From: Junichi Saito <j.saito@wanadoo.fr>
To: Greg Badros <gjb@cs.washington.edu>
cc: scwm discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: 0.99.2 : build problems
In-Reply-To: <Pine.LNX.4.10.9909172220170.4397-100000@saito>
Message-ID: <Pine.LNX.4.10.9909172326300.27421-100000@saito>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


On Fri, 17 Sep 1999, I wrote:

>- The shared libs from cassowary get installed under
       ^^^^^^^^^^^
> $prefix/usr/local/share/guile/site (the static lib is installed in
> /opt/scwm/lib). Is this expected ? Guile is installed under /usr/local, 

I mean libconstrainst.so* in
/opt/scwm/usr/local/share/guile/site/cassowary
 

j.


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 18:22:22 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA18740
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 18:22:22 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA18737
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 17 Sep 1999 18:22:17 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA01426; Fri, 17 Sep 1999 15:22:11 -0700 (PDT)
To: Junichi Saito <j.saito@wanadoo.fr>
Cc: scwm discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: 0.99.2 : build problems
References: <Pine.LNX.4.10.9909172326300.27421-100000@saito>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Sep 1999 15:22:11 -0700
In-Reply-To: Junichi Saito's message of "Fri, 17 Sep 1999 23:32:45 +0200 (CEST)"
Message-ID: <qrr3dwdi3fw.fsf@elwha.cs.washington.edu>
Lines: 38
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Junichi Saito <j.saito@wanadoo.fr> writes:

> On Fri, 17 Sep 1999, I wrote:
> 
> >- The shared libs from cassowary get installed under
>        ^^^^^^^^^^^
> > $prefix/usr/local/share/guile/site (the static lib is installed in
> > /opt/scwm/lib). Is this expected ? Guile is installed under /usr/local, 
> 
> I mean libconstrainst.so* in
> /opt/scwm/usr/local/share/guile/site/cassowary

This does seem wrong.  It's that way because of this (26-Aug):

	* configure.in (GUILE_PKGDATA_DIR): Set cassoguiledir variable,
	and use ${prefix} prefix of GUILE_PKGDATA_DIR to be sure that rpm
	building succeeds (was failing because it was trying to write to
	an absolute location that guile told it to use, instead of using
	the prefix of $RPM_BUILD_ROOT).


I do:

  AC_MSG_CHECKING(what the guile pkgdatadir is)
  GUILE_PKGDATA_DIR=`guile-config info pkgdatadir`
  AC_MSG_RESULT($GUILE_PKGDATA_DIR)
  GUILE_PKGDATA_DIR=\${prefix}/${GUILE_PKGDATA_DIR##$prefix}
  cassoguiledir=$GUILE_PKGDATA_DIR/site/cassowary

in configure.in, but it's clearly not the right thing.  I need to be
sure that the rpm building succeeds.  Maybe I should do:

  GUILE_PKGDATA_DIR=${RPM_BUILD_ROOT}/${GUILE_PKGDATA_DIR}

instead?

Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 17 21:13:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA19333
	for scwm-discuss-outgoing; Fri, 17 Sep 1999 21:13:19 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA19324;
	Fri, 17 Sep 1999 21:11:01 -0400
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id LAA07856;
	Sat, 18 Sep 1999 11:10:53 +1000
Message-ID: <3833AA52.D4617C5E@tech.com.au>
Date: Thu, 18 Nov 1999 18:27:14 +1100
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
CC: scwm-discuss@scwm.mit.edu, scwm-announce@scwm.mit.edu
Subject: Re: Another favor-- Linux Journal reader's choice...
References: <qrr7llp76q9.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Also vote for guile as fav devel tool and scheme as favourite language!

(They list "gnome" as a window manager. What is that?)

Greg Badros wrote:
> 
> Linux Journal is doing its annual reader's choice awards.  There is a
> spot on their form for Window Manager, but Scwm isn't even among the
> choices -- how silly!  In any case, it'd be great if we had a ton of
> write-in votes for Scwm -- just enter
> 
> "Scwm"
> 
> in the comments box ("no opinion/other" is the default radio-button)
> 
> The page is at:
> 
> http://207.178.22.52/contest/readchoice.html
> 
> Even if you do not have the time to fill out the whole form, if you just
> do the first couple and then go down to about 65-70% through the page
> and enter "Scwm" into the comments box if Scwm is your favourite window
> manager, this could really help to put Scwm on the map.
> 
> Thanks!
> 
> Greg
> 
> P.S. Spread the word to your converts and friends who might use Scwm but
> don't subscribe to these lists!  Thanks!

-- 
Chris Bitmead
mailto:chris@tech.com.au
http://www.techphoto.org - Photography News, Stuff that Matters

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 18 03:55:35 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA19992
	for scwm-discuss-outgoing; Sat, 18 Sep 1999 03:55:35 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tele-post-20.mail.demon.net (tele-post-20.mail.demon.net [194.217.242.20])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA19988
	for <scwm-discuss@scwm.mit.edu>; Sat, 18 Sep 1999 03:55:28 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2)
	id 11SFL9-0002aw-0K
	for scwm-discuss@scwm.mit.edu; Sat, 18 Sep 1999 07:55:24 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id IAA10595
	for scwm-discuss@scwm.mit.edu; Sat, 18 Sep 1999 08:33:10 +0100
Date: Sat, 18 Sep 1999 08:33:10 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Re: scwm-0.99.2 success report
Message-ID: <19990918083310.E3916@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <19990915150117.A23128@youkaidi.irisa.fr> <19990916123613.F19139@hagbard.demon.co.uk> <qrryae6kdv1.fsf@elwha.cs.washington.edu> <19990917083027.A32339@hagbard.demon.co.uk> <qrrzoyl77cw.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <qrrzoyl77cw.fsf@elwha.cs.washington.edu>
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Sweetmorn, Day 42 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Fri, Sep 17, 1999 at 10:53:03AM -0700, Greg Badros wrote:

> The version numbers on the .so-s are different so the shared libraries
> from the old guile library can be installed, too. I just copied them out
> of the binary rpm into /usr/lib.

Good point. It's funny how, after a few years of hand-hacking a Slackware
box it has only taken a handful of weeks for me to get really used to doing
almost everything via rpm. <g>

> I thought I answered this w/ a thought about using X-UnmapNotify-hook,
> instead. My apologies if my recollection is incorrect. window-close-hook
> is called too late, but the X-UnmapNotify-hook can probably be used to do
> what you want (and I verified just now that the current-window-with-focus
> can be non-#f in that hooks' procedures).

Actually my apologies are in order. I just realised that I did read your
response to that effect but for some reason I'd read it as confirmation of
my problems when using `X-DestroyNotify-hook' (don't ask).

I'll have a play with this in a bit and see where I get.

> Let us know what you come up with.

Will do.

Out of interest, is there a reason why scwm isn't returning focus to the
most recently focused window in this situation (with click-to-focus)?

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 18 03:55:39 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA19995
	for scwm-discuss-outgoing; Sat, 18 Sep 1999 03:55:39 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tele-post-20.mail.demon.net (tele-post-20.mail.demon.net [194.217.242.20])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA19991
	for <scwm-discuss@scwm.mit.edu>; Sat, 18 Sep 1999 03:55:31 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2)
	id 11SFL8-0002aw-0K
	for scwm-discuss@scwm.mit.edu; Sat, 18 Sep 1999 07:55:22 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id IAA10747
	for scwm-discuss@scwm.mit.edu; Sat, 18 Sep 1999 08:54:15 +0100
Date: Sat, 18 Sep 1999 08:54:15 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Re: scwm-0.99.2 success report
Message-ID: <19990918085415.G3916@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <19990915150117.A23128@youkaidi.irisa.fr> <19990916123613.F19139@hagbard.demon.co.uk> <qrryae6kdv1.fsf@elwha.cs.washington.edu> <19990917083027.A32339@hagbard.demon.co.uk> <qrrzoyl77cw.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <qrrzoyl77cw.fsf@elwha.cs.washington.edu>
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Sweetmorn, Day 42 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Fri, Sep 17, 1999 at 10:53:03AM -0700, Greg Badros wrote:

> X-UnmapNotify-hook,
> [SNIP]
> 
> Let us know what you come up with.

That seems to work perfect. Here's what I've now got in ~/.scwmrc:

-- cut here ----------------------------------------------------------------
(define dp:focus-history-on-this-desktop
  (lambda ()
    "Return the focus history list for this desktop."
    (list-windows #:by-focus #t #:only on-current-desk?)))

(define dp:last-had-focus-on-this-desktop
  (lambda ()
    "Return the window that last had focus on this desktop."
    (let ((windows (dp:focus-history-on-this-desktop)))
      (cond ((zero? (length windows))
             windows)
            ((= (length windows) 1)
             (car windows))
            (else
             (cadr windows))))))

(add-hook! X-UnmapNotify-hook 
           (lambda (closing)
             (if (eq? closing (current-window-with-focus))
                 (let ((new (dp:last-had-focus-on-this-desktop)))
                   (if new
                       (focus new))))))
-- cut here ----------------------------------------------------------------

Sorry to have missed the point the last time around and thinks for the
reminder.

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 18 04:12:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id EAA22213
	for scwm-discuss-outgoing; Sat, 18 Sep 1999 04:12:59 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id EAA22209
	for <scwm-discuss@scwm.mit.edu>; Sat, 18 Sep 1999 04:12:53 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id BAA02036; Sat, 18 Sep 1999 01:12:47 -0700 (PDT)
To: Dave Pearson <davep@hagbard.demon.co.uk>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: scwm-0.99.2 success report
References: <19990915150117.A23128@youkaidi.irisa.fr> <19990916123613.F19139@hagbard.demon.co.uk> <qrryae6kdv1.fsf@elwha.cs.washington.edu> <19990917083027.A32339@hagbard.demon.co.uk> <qrrzoyl77cw.fsf@elwha.cs.washington.edu> <19990918083310.E3916@hagbard.demon.co.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Sep 1999 01:12:47 -0700
In-Reply-To: Dave Pearson's message of "Sat, 18 Sep 1999 08:33:10 +0100"
Message-ID: <qrraeqkhc3k.fsf@elwha.cs.washington.edu>
Lines: 47
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dave Pearson <davep@hagbard.demon.co.uk> writes:

> On Fri, Sep 17, 1999 at 10:53:03AM -0700, Greg Badros wrote:
> 
> > The version numbers on the .so-s are different so the shared libraries
> > from the old guile library can be installed, too. I just copied them out
> > of the binary rpm into /usr/lib.
> 
> Good point. It's funny how, after a few years of hand-hacking a Slackware
> box it has only taken a handful of weeks for me to get really used to doing
> almost everything via rpm. <g>

Well, I'm no RPM guru yet, so I just do what needs to be done. :-)

> > I thought I answered this w/ a thought about using X-UnmapNotify-hook,
> > instead. My apologies if my recollection is incorrect. window-close-hook
> > is called too late, but the X-UnmapNotify-hook can probably be used to do
> > what you want (and I verified just now that the current-window-with-focus
> > can be non-#f in that hooks' procedures).
> 
> Actually my apologies are in order. I just realised that I did read your
> response to that effect but for some reason I'd read it as confirmation of
> my problems when using `X-DestroyNotify-hook' (don't ask).

No problem at all... just glad I wasn't losing my mind! :-)

> I'll have a play with this in a bit and see where I get.
> 
> > Let us know what you come up with.
> 
> Will do.
> 
> Out of interest, is there a reason why scwm isn't returning focus to the
> most recently focused window in this situation (with click-to-focus)?

Probably... the answer is in the source code.  The focus stuff is
surprisingly obfuscated.  I've cleaned it up a bit, but it's slow going
as the special cases are not well commented and I want to break things
one at a time. :-)

I think it should do the behaviour you suggest, but there is wierdness
in the focus list that i'm just now playing around more with.  (Along
with the spiffy voice recognition interface... man I wish I could demo
this stuff to you folks--- it's damn impressive and I'm just fooling
around.... kudos to IBM on ViaVoice!)

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 18 05:11:41 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA22911
	for scwm-discuss-outgoing; Sat, 18 Sep 1999 05:11:41 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA22908
	for <scwm-discuss@scwm.mit.edu>; Sat, 18 Sep 1999 05:11:35 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1)
	id 11SGWb-000GvG-0A
	for scwm-discuss@scwm.mit.edu; Sat, 18 Sep 1999 09:11:24 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id KAA11711
	for scwm-discuss@scwm.mit.edu; Sat, 18 Sep 1999 10:10:57 +0100
Date: Sat, 18 Sep 1999 10:10:57 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Re: scwm-0.99.2 success report
Message-ID: <19990918101057.J3916@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <19990915150117.A23128@youkaidi.irisa.fr> <19990916123613.F19139@hagbard.demon.co.uk> <qrryae6kdv1.fsf@elwha.cs.washington.edu> <19990917083027.A32339@hagbard.demon.co.uk> <qrrzoyl77cw.fsf@elwha.cs.washington.edu> <19990918083310.E3916@hagbard.demon.co.uk> <qrraeqkhc3k.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <qrraeqkhc3k.fsf@elwha.cs.washington.edu>
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Sweetmorn, Day 42 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Sat, Sep 18, 1999 at 01:12:47AM -0700, Greg Badros wrote:
> Dave Pearson <davep@hagbard.demon.co.uk> writes:
> 
> > Out of interest, is there a reason why scwm isn't returning focus to the
> > most recently focused window in this situation (with click-to-focus)?
> 
> Probably... the answer is in the source code. The focus stuff is
> surprisingly obfuscated. I've cleaned it up a bit, but it's slow going as
> the special cases are not well commented and I want to break things one at
> a time. :-)
> 
> I think it should do the behaviour you suggest, but there is wierdness in
> the focus list that i'm just now playing around more with.

All that said, perhaps a scheme configurable window manager *should*
implement this functionality in scheme. ;>

> (Along with the spiffy voice recognition interface... man I wish I could
> demo this stuff to you folks--- it's damn impressive and I'm just fooling
> around.... kudos to IBM on ViaVoice!)

Any chance of you expanding on this and letting us know what you're playing
with? I did go to download the ViaVoice stuff as you suggested in the other
email but they appeared to want me to "sign up" so I passed for the moment.

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 18 09:45:41 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA23595
	for scwm-discuss-outgoing; Sat, 18 Sep 1999 09:45:41 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from wanadoo.fr (root@smtp-out-005.wanadoo.fr [193.252.19.88])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA23592
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 18 Sep 1999 09:45:34 -0400
Received: from tls15-65.abo.wanadoo.fr [164.138.129.65] by wanadoo.fr
          for 
          Paris Sat, 18 Sep 1999 15:45:24 +0200 (MET DST)
Date: Sat, 18 Sep 1999 15:45:54 +0200 (CEST)
From: Junichi Saito <j.saito@wanadoo.fr>
To: Greg Badros <gjb@cs.washington.edu>
cc: Junichi Saito <j.saito@wanadoo.fr>,
        scwm discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: 0.99.2 : build problems
In-Reply-To: <qrr3dwdi3fw.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.LNX.4.10.9909181527230.3699-100000@saito>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


On 17 Sep 1999, Greg Badros wrote:

>> I mean libconstrainst.so* in
>> /opt/scwm/usr/local/share/guile/site/cassowary
>
>This does seem wrong.  It's that way because of this (26-Aug):
>
>	* configure.in (GUILE_PKGDATA_DIR): Set cassoguiledir variable,
>	and use ${prefix} prefix of GUILE_PKGDATA_DIR to be sure that rpm
>	building succeeds (was failing because it was trying to write to
>	an absolute location that guile told it to use, instead of using
>	the prefix of $RPM_BUILD_ROOT).
>
>
>I do:
>
>  AC_MSG_CHECKING(what the guile pkgdatadir is)
>  GUILE_PKGDATA_DIR=`guile-config info pkgdatadir`
>  AC_MSG_RESULT($GUILE_PKGDATA_DIR)
>  GUILE_PKGDATA_DIR=\${prefix}/${GUILE_PKGDATA_DIR##$prefix}
>  cassoguiledir=$GUILE_PKGDATA_DIR/site/cassowary
>
>in configure.in, but it's clearly not the right thing.  I need to be
>sure that the rpm building succeeds.  Maybe I should do:
>
>  GUILE_PKGDATA_DIR=${RPM_BUILD_ROOT}/${GUILE_PKGDATA_DIR}
>
>instead?

I don't know anything about rpm: I usually don't use it.

The problem is the compiler (or linker) can't find libconstraints.so.0. I
created a symlink in /usr/local/lib. There may be other workarounds as
well.

j.



From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 18 15:29:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA24068
	for scwm-discuss-outgoing; Sat, 18 Sep 1999 15:29:10 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA24065
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 18 Sep 1999 15:29:05 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA02806; Sat, 18 Sep 1999 12:28:58 -0700 (PDT)
To: Junichi Saito <j.saito@wanadoo.fr>
Cc: scwm discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: 0.99.2 : build problems
References: <Pine.LNX.4.10.9909181527230.3699-100000@saito>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Sep 1999 12:28:57 -0700
In-Reply-To: Junichi Saito's message of "Sat, 18 Sep 1999 15:45:54 +0200 (CEST)"
Message-ID: <qrr7lloggsm.fsf@elwha.cs.washington.edu>
Lines: 42
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Junichi Saito <j.saito@wanadoo.fr> writes:

> On 17 Sep 1999, Greg Badros wrote:
> 
> >> I mean libconstrainst.so* in
> >> /opt/scwm/usr/local/share/guile/site/cassowary
> >
> >This does seem wrong.  It's that way because of this (26-Aug):
> >
> >	* configure.in (GUILE_PKGDATA_DIR): Set cassoguiledir variable,
> >	and use ${prefix} prefix of GUILE_PKGDATA_DIR to be sure that rpm
> >	building succeeds (was failing because it was trying to write to
> >	an absolute location that guile told it to use, instead of using
> >	the prefix of $RPM_BUILD_ROOT).
> >
> >
> >I do:
> >
> >  AC_MSG_CHECKING(what the guile pkgdatadir is)
> >  GUILE_PKGDATA_DIR=`guile-config info pkgdatadir`
> >  AC_MSG_RESULT($GUILE_PKGDATA_DIR)
> >  GUILE_PKGDATA_DIR=\${prefix}/${GUILE_PKGDATA_DIR##$prefix}
> >  cassoguiledir=$GUILE_PKGDATA_DIR/site/cassowary
> >
> >in configure.in, but it's clearly not the right thing.  I need to be
> >sure that the rpm building succeeds.  Maybe I should do:
> >
> >  GUILE_PKGDATA_DIR=${RPM_BUILD_ROOT}/${GUILE_PKGDATA_DIR}
> >
> >instead?
> 
> I don't know anything about rpm: I usually don't use it.
> 
> The problem is the compiler (or linker) can't find libconstraints.so.0. I
> created a symlink in /usr/local/lib. There may be other workarounds as
> well.

I'm testing a change (similar to what I suggested) that should help fix
this.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 18 15:56:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA24244
	for scwm-discuss-outgoing; Sat, 18 Sep 1999 15:56:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from kodis.jagunet.com (kodis.jaguNET.com [206.156.208.48])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA24240
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 18 Sep 1999 15:55:16 -0400
Received: (from kodis@localhost)
	by kodis.jagunet.com (8.9.3/8.9.3) id PAA10778
	for scwm-discuss@SCWM.MIT.EDU; Sat, 18 Sep 1999 15:52:47 -0400
Date: Sat, 18 Sep 1999 15:52:46 -0400
From: John Kodis <kodis@jagunet.com>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: ViaVoice
Message-ID: <19990918155246.A10758@kodis.jagunet.com>
Mail-Followup-To: scwm-discuss@SCWM.MIT.EDU
References: <qrrso4fl87x.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <qrrso4fl87x.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Wed, Sep 15, 1999 at 10:46:10PM -0700, Greg Badros wrote:

> Has anyone else out there tried IBM ViaVoice?  I just tried it, and it's
> pretty cool. I'm gonna be adding a ViaVoice module to Scwm in the next
> week or so, if time permits.  In the meantime, if you have RH6, I
> recommend going to:
> 
> http://www.software.ibm.com/speech/dev/sdk_linux.html
> 
> and grabbing the downloads and getting it set up.  Be sure to follow the 
> steps in section 2 of /usr/doc/ViaVoice/rtreadme.txt including all the
> hoops about setting up a user ID, etc. (steps 3, 4, and 5) as it won't
> otherwise work.

Actually, if you have the commercial release of RH6, you already have
ViaVoice.  It's not mentioned anywhere, but this package is included
with RH6 on the third CD full of commercial gratis-ware.  It might
still be a good idea to download this just to insure you've got the
latest and greatest version.  I just wanted to mention the RH6
alternative for folks who shy away from registrations and 40MB
downloads.

-- John Kodis.

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 18 16:24:34 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA24396
	for scwm-discuss-outgoing; Sat, 18 Sep 1999 16:24:34 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA24393
	for <scwm-discuss@scwm.mit.edu>; Sat, 18 Sep 1999 16:24:29 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA02917; Sat, 18 Sep 1999 13:23:58 -0700 (PDT)
To: Dave Pearson <davep@hagbard.demon.co.uk>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: scwm-0.99.2 success report
References: <19990915150117.A23128@youkaidi.irisa.fr> <19990916123613.F19139@hagbard.demon.co.uk> <qrryae6kdv1.fsf@elwha.cs.washington.edu> <19990917083027.A32339@hagbard.demon.co.uk> <qrrzoyl77cw.fsf@elwha.cs.washington.edu> <19990918083310.E3916@hagbard.demon.co.uk> <qrraeqkhc3k.fsf@elwha.cs.washington.edu> <19990918101057.J3916@hagbard.demon.co.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Sep 1999 13:23:58 -0700
In-Reply-To: Dave Pearson's message of "Sat, 18 Sep 1999 10:10:57 +0100"
Message-ID: <qrrvh98ezoh.fsf@elwha.cs.washington.edu>
Lines: 105
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dave Pearson <davep@hagbard.demon.co.uk> writes:

> All that said, perhaps a scheme configurable window manager *should*
> implement this functionality in scheme. ;>

But the default should be reasonable and it sounds as though its buggy.

> > (Along with the spiffy voice recognition interface... man I wish I could
> > demo this stuff to you folks--- it's damn impressive and I'm just fooling
> > around.... kudos to IBM on ViaVoice!)
> 
> Any chance of you expanding on this and letting us know what you're playing
> with? I did go to download the ViaVoice stuff as you suggested in the other
> email but they appeared to want me to "sign up" so I passed for the moment.

Well, the interface is now to the point of being fully usable so I'm
hoping some others will think hard and do cool stuff from Scheme (I'll
happily add new primitives to the module as we need to, but the API is
really involved and big so I'd rather not to a full wrapping of the
Speech Manager functions).

Below is the output of "fsgenum -f scwmgrammar.fsg".  I've not put any
real thought into this yet, but just wanted to make a cool
demonstration.  Note that the grammar in use can change dynamically to
increase the probability of correct recognition.

There are some really great opportunities to do fascinating work with
this and I'm gung ho about helping, but have lots of things on my plate.

Greg

cascade 
focus next 
focus previous 
jump down turn around pick a bale of cotton 
move window down 
move window down fifteen 
move window down fifty 
move window down five 
move window down forty 
move window down forty five 
move window down one hundred 
move window down ten 
move window down thirty 
move window down thirty five 
move window down twenty 
move window down twenty five 
move window east 
move window left 
move window left fifteen 
move window left fifty 
move window left five 
move window left forty 
move window left forty five 
move window left one hundred 
move window left ten 
move window left thirty 
move window left thirty five 
move window left twenty 
move window left twenty five 
move window north 
move window north east 
move window north west 
move window right 
move window right fifteen 
move window right fifty 
move window right five 
move window right forty 
move window right forty five 
move window right one hundred 
move window right ten 
move window right thirty 
move window right thirty five 
move window right twenty 
move window right twenty five 
move window south 
move window south east 
move window south west 
move window up 
move window up fifteen 
move window up fifty 
move window up five 
move window up forty 
move window up forty five 
move window up one hundred 
move window up ten 
move window up thirty 
move window up thirty five 
move window up twenty 
move window up twenty five 
move window west 
remember 
select next 
select previous 
start emacs 
start logo 
start term 
tile 
undo 
window close 
window list 
window maximize 
window minimize 
window select 
window shade 

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 18 16:32:55 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA24501
	for scwm-discuss-outgoing; Sat, 18 Sep 1999 16:32:55 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA24497
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 18 Sep 1999 16:32:51 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA02932; Sat, 18 Sep 1999 13:32:44 -0700 (PDT)
To: John Kodis <kodis@jagunet.com>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: ViaVoice
References: <qrrso4fl87x.fsf@elwha.cs.washington.edu> <19990918155246.A10758@kodis.jagunet.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Sep 1999 13:32:44 -0700
In-Reply-To: John Kodis's message of "Sat, 18 Sep 1999 15:52:46 -0400"
Message-ID: <qrrso4cez9v.fsf@elwha.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Kodis <kodis@jagunet.com> writes:

> On Wed, Sep 15, 1999 at 10:46:10PM -0700, Greg Badros wrote:
> 
> > Has anyone else out there tried IBM ViaVoice?  I just tried it, and it's
> > pretty cool. I'm gonna be adding a ViaVoice module to Scwm in the next
> > week or so, if time permits.  In the meantime, if you have RH6, I
> > recommend going to:
> > 
> > http://www.software.ibm.com/speech/dev/sdk_linux.html
> > 
> > and grabbing the downloads and getting it set up.  Be sure to follow the 
> > steps in section 2 of /usr/doc/ViaVoice/rtreadme.txt including all the
> > hoops about setting up a user ID, etc. (steps 3, 4, and 5) as it won't
> > otherwise work.
> 
> Actually, if you have the commercial release of RH6, you already have
> ViaVoice.  It's not mentioned anywhere, but this package is included
> with RH6 on the third CD full of commercial gratis-ware.  It might
> still be a good idea to download this just to insure you've got the
> latest and greatest version.  I just wanted to mention the RH6
> alternative for folks who shy away from registrations and 40MB
> downloads.

Yea, I read that it was in the box set, but it definitely did not come
with my Dell pre-install of RedHat.  But I've high-speed access at
school so the size didn't bother me, and I don't mind filling out some
simple forms to get a little bit of junk mail in return for a great
piece of freely available software (the license is pretty uncertain, but 
I've been impressed at the quick response time of an IBM support
technician w.r.t my query about using ViaVoice w/ esound.)

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 18 22:04:06 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA25572
	for scwm-discuss-outgoing; Sat, 18 Sep 1999 22:04:06 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from cr610941-a.rct1.bc.wave.home.com (cr610941-a.rct1.bc.wave.home.com [24.113.76.219])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA25569
	for <scwm-discuss@scwm.mit.edu>; Sat, 18 Sep 1999 22:04:01 -0400
Received: from root by cr610941-a.rct1.bc.wave.home.com with local (Exim 3.03 #1 (Debian))
	id 11SWJr-0000zN-00; Sat, 18 Sep 1999 19:03:11 -0700
X-Uptime:   7:03pm  up 12 days,  2:52,  3 users,  load average: 0.15, 0.18, 0.17
X-OS: Linux cr610941-a 2.2.11 #2 Mon Sep 6 15:40:58 PDT 1999 i586 unknown
X-Homepage: http://www.sfu.ca/~stephent
To: "Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: scwm.el patch
References: <87d7vnmiq2.fsf@cr610941-a.rct1.bc.wave.home.com> <5lwvtt9zob.fsf@tequila.cs.yale.edu>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Stephen Tse <stephent@sfu.ca>
Date: 18 Sep 1999 19:03:11 -0700
In-Reply-To: "Stefan Monnier"'s message of "14 Sep 1999 13:21:40 -0400"
Message-ID: <879063vesg.fsf@cr610941-a.rct1.bc.wave.home.com>
Lines: 31
X-Mailer: Gnus v5.6.45/XEmacs 21.2 - "Shinjuku"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu> writes:

> >>>>> "Stephen" == Stephen Tse <stephent@sfu.ca> writes:
> > +  ;; Modify scheme-mode-syntax-table in order to support multi-line comment
> > +  ;; syntax. Use comment style b because syntax a (default) is screwed by
> > +  ;; newline \n. (tse)
> 
> It is not "screwed" by anything.
> It's just that comment-syntax a is already used for `;<...>\n'
> comments.

You are right. The comment should be rephrased.

> 
> > +       ;; In order to support new multi-line comment syntax #! COMMENTS !#
> > +       ;; from guile, we cannot use font-lock-defaults of scheme-mode,
> > +       ;; defined in font-lock.el. Instead we copy it to here and remove
> > +       ;; (?! . "w") from it. (tse)
> >         (put 'scwm-mode 'font-lock-defaults
> > -            (get 'scheme-mode 'font-lock-defaults)))
> > +	    '(scheme-font-lock-keywords
> > +	      nil t
> > +	      ((?: . "w") (?- . "w") (?* . "w") (?+ . "w") (?. . "w") (?< . "w")
> > +	       (?> . "w") (?= . "w") (?? . "w") (?$ . "w") (?% . "w")
> > +	       (?_ . "w") (?& . "w") (?~ . "w") (?^ . "w") (?/ . "w"))
> > +	      beginning-of-defun)))
> 
> You should not remove `(?! . "w")' but replace it with `(?! . "w 23b")'


How is it different, functionally?

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 18 23:40:48 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id XAA25751
	for scwm-discuss-outgoing; Sat, 18 Sep 1999 23:40:48 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from raeburn.org (r93aag001418.sbo-smr.ma.cable.rcn.com [209.6.183.211])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id XAA25748
	for <scwm-discuss@scwm.mit.edu>; Sat, 18 Sep 1999 23:40:36 -0400
Received: (from raeburn@localhost) by raeburn.org (8.8.8/8.6.9) id XAA24845; Sat, 18 Sep 1999 23:40:27 -0400 (EDT)
To: scwm-discuss@scwm.mit.edu, guile@sourceware.cygnus.com
Subject: Re: guile bugs
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu> <86g10e7ur2.fsf@localhost.uni-trier.de>
Mime-Version: 1.0
From: Ken Raeburn <raeburn@raeburn.org>
Date: 18 Sep 1999 23:40:27 -0400
In-Reply-To: Martin Baulig's message of "16 Sep 1999 17:15:29 +0200"
Message-ID: <tx17llnlgb8.fsf@raeburn.org>
Lines: 58
User-Agent: Gnus/5.070063 (Pterodactyl Gnus v0.63) Emacs/20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Martin Baulig <martin@home-of-linux.org> writes:
> Greg Badros <gjb@cs.washington.edu> writes:
> > 2) SCM should not be a long, but instead be a pointer to undefined
> > struct as we discussed before.  This would prevent misuse of an integer
> > as a Scheme value.
> How well does this behave on systems which align all pointers on word
> boundaries; I mean I'm a bit worried that not every integer number may also
> be a valid pointer on every system; even if you don't attempt to dereference
> that pointer.

I've seen cases where gcc (some old version, probably somewhere around
3-6 years ago) would shortcut tests like "(int)longptr & 3" and always
give 0, because, after all, any pointer to long on architecture X that
a program could get without running into "implementation defined"
behavior would have to be properly aligned.  (Or, maybe, you can get
the pointer but *using* it gives implementation-defined behavior.)

As far as I can tell, that's valid (since by strict interpretation the
code in question probably either is invalid or has "implementation
defined" behavior).  If it is, it's probably valid also for structure
pointers if a platform's ABI specifies that all structures are aligned
on N-byte boundaries, for N > 1.  The version of gcc I just tried
something similar with (gcc 2.95 on sparc-solaris) didn't make this
optimization, but it doesn't seem wise to me to rely on the compiler
*not* doing this (and on the user not having the old version where I
ran into this before).


I think the idea of making SCM a struct or union makes more sense.
Sucks for performance, though.  Well, in the normal case.  Do you mind
having the type checking be dependent on gcc?

    #if __GNUC__ >= 2 && __GNUC_MINOR__ >= whatever...
    typedef union { long n; } __attribute__ ((transparent_union)) SCM;
    #define SCM_BITS(X) ((X).n)
    #else
    typedef long SCM;
    #define SCM_BITS(X) (X)
    #endif

A SCM object would get passed as a long, always.  Under gcc, using it
as a numeric value will not work.  This only works with recent enough
versions of gcc, of course, but transparent_union has been in there
for quite a while.  And for people with ancient versions of gcc, or
without gcc, they just don't get the type checking; they still get the
same calling convention, so even mixing gcc- and non-gcc-compiled code
works fine.

And if you still want type checking with non-gcc compilers, you can
still use the ordinary struct/union with lousy performance and
incompatible calling conventions, enabled through some special macro.

Normally I'm opposed to compiler-specific hacks in code, but if the
compiler in question is gcc, and the hacks in question merely optimize
or do better error checking without really changing functionality, I
don't have much problem with it.

Ken

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 18 23:51:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id XAA25823
	for scwm-discuss-outgoing; Sat, 18 Sep 1999 23:51:26 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from raeburn.org (r93aag001418.sbo-smr.ma.cable.rcn.com [209.6.183.211])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id XAA25820
	for <scwm-discuss@scwm.mit.edu>; Sat, 18 Sep 1999 23:51:23 -0400
Received: (from raeburn@localhost) by raeburn.org (8.8.8/8.6.9) id XAA25001; Sat, 18 Sep 1999 23:51:16 -0400 (EDT)
To: scwm-discuss@scwm.mit.edu, guile@sourceware.cygnus.com
Subject: Re: guile bugs
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu> <xy7vh9bi4ed.fsf@mdj-pc.nada.kth.se> <7eemfzp1xr.fsf@zesoi.fer.hr> <xy7u2ovhzn4.fsf@mdj-pc.nada.kth.se> <7eaeqnp0up.fsf@zesoi.fer.hr>
Mime-Version: 1.0
From: Ken Raeburn <raeburn@raeburn.org>
Date: 18 Sep 1999 23:51:15 -0400
In-Reply-To: Miroslav Silovic's message of "16 Sep 1999 13:11:42 +0200"
Message-ID: <tx14sgrlft8.fsf@raeburn.org>
Lines: 12
User-Agent: Gnus/5.070063 (Pterodactyl Gnus v0.63) Emacs/20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

[getting off-topic]

Miroslav Silovic <silovic@zesoi.fer.hr> writes:
> Incidentally I just tested passing and returning structs rather than
> pointers to them. gcc won't use registers. Even worse, gcc 2.95
> generates unimplemented instruction on SPARC (can we say D'oh! bug?)

No, but we can say "weirdo calling conventions".

The instruction after the call and its delay slot is "unimp ###" where
### is the size of the structure being returned.  The return sequence
from the function being called skips over that instruction.

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep 19 08:22:34 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id IAA29260
	for scwm-discuss-outgoing; Sun, 19 Sep 1999 08:22:34 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from w2.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id IAA29257
	for <scwm-discuss@scwm.mit.edu>; Sun, 19 Sep 1999 08:22:29 -0400
Received: from mizar (r1p009.ntt.it [194.73.94.9]) by w2.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id OAA28534; Sun, 19 Sep 1999 14:22:40 +0200 (DFT)
Received: from cesco by mizar with local (Exim 3.02 #1 (Debian))
	id 11Sdju-0003NU-00; Sun, 19 Sep 1999 11:58:34 +0200
Date: Sun, 19 Sep 1999 11:58:32 +0200
From: Francesco Tapparo <cesco@ntt.it>
To: Greg Badros <gjb@cs.washington.edu>
Cc: cesco@debian.org, scwm-discuss@scwm.mit.edu
Subject: Re: corba and misc
Message-ID: <19990919115832.A7568@mizar>
Reply-To: cesco@debian.org
Mail-Followup-To: Greg Badros <gjb@cs.washington.edu>, cesco@debian.org,
	scwm-discuss@scwm.mit.edu
References: <19990916113611.A10746@mizar> <qrrso4ekdcu.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <qrrso4ekdcu.fsf@elwha.cs.washington.edu>; from Greg Badros on Thu, Sep 16, 1999 at 09:52:49AM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Thu, Sep 16, 1999 at 09:52:49AM -0700, Greg Badros wrote:
> Francesco Tapparo <cesco@ntt.it> writes:
> 
> > Are the corba and utilities/misc dirs used? These dirs are void in my cvs
> > snapshot, but are created from the build scripts with a void makefile,
> > creating some problems.
> 
> What do you mean "cvs snapshot"?  When I check out cleanly from CVS, I
> get them. If you're updating, be sure to do:
> 
> cvs update -dP
> 
> to grab new directories.

Ops. This was the problem. Effectively it was too strange as a problem to be
a very one.

> 
> > If I remove the misc and corba entries in configure.in, Makefile.am,
> > utilities/Makefile.am the build goes well.
> 
> Shouldn't be necessary.
> 
> Let me know how this gets resolved.

All ok, now. Thanks

> 
> Thanks,
> Greg

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep 19 18:54:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA30724
	for scwm-discuss-outgoing; Sun, 19 Sep 1999 18:54:32 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA30721
	for <scwm-discuss@scwm.mit.edu>; Sun, 19 Sep 1999 18:54:29 -0400
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id SAA15368
	for <scwm-discuss@scwm.mit.edu>; Sun, 19 Sep 1999 18:54:25 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id SAA15666; Sun, 19 Sep 1999 18:54:58 -0400
Date: Sun, 19 Sep 1999 18:54:58 -0400
Message-Id: <199909192254.SAA15666@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: build problem with head of CVS repository
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


If you build from the latest CVS repository (as of Sunday, September
19, 1999 06:52 p.m. EDT), the build system attempts to make in
scwm/modules/viavoice/ even if --enable-viavoice=no....

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep 19 19:17:46 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA31176
	for scwm-discuss-outgoing; Sun, 19 Sep 1999 19:17:46 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA31172
	for <scwm-discuss@scwm.mit.edu>; Sun, 19 Sep 1999 19:17:43 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA04744; Sun, 19 Sep 1999 16:17:36 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: build problem with head of CVS repository
References: <199909192254.SAA15666@soup.ql.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Sep 1999 16:17:35 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Sun, 19 Sep 1999 18:54:58 -0400"
Message-ID: <qrrlna2cwz4.fsf@elwha.cs.washington.edu>
Lines: 13
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> If you build from the latest CVS repository (as of Sunday, September
> 19, 1999 06:52 p.m. EDT), the build system attempts to make in
> scwm/modules/viavoice/ even if --enable-viavoice=no....

Do you know if it was really trying to build, or if it was just trying
to create the .x file?

I think I've now fixed it (but I thought it worked before, too!)

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep 19 20:32:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA31540
	for scwm-discuss-outgoing; Sun, 19 Sep 1999 20:32:08 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA31537
	for <scwm-discuss@scwm.mit.edu>; Sun, 19 Sep 1999 20:32:05 -0400
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id UAA20395
	for <scwm-discuss@scwm.mit.edu>; Sun, 19 Sep 1999 20:32:00 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id UAA28902; Sun, 19 Sep 1999 20:32:36 -0400
Date: Sun, 19 Sep 1999 20:32:36 -0400
Message-Id: <199909200032.UAA28902@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: scwm 0.99.2 odd titlebar behavior
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk



Linux soup.ql.org 2.2.5-15 #1 Mon Apr 19 23:00:46 EDT 1999 i686 unknown
Guile verion:		1.3.3
Libguile timestamp:	Thu Sep 16 11:30:13 EDT 1999
SCWM version:		0.99.2
>From repository date:	Tue Sep 14 19:33:22 EDT 1999 -- $Revision: 1.2471 $
Restarted:		true
Display Size:		1152x864
Desk Size:		3x3
Viewport Position:	0x0
Pointer:		807x562
Current Desk:		0
X vendor:		The XFree86 Project, Inc; version: 11.0; release: 3330
X Display:
	Resolution:	2954x2949
	Color:		TrueColor (depth: 24; bits per RGB: 8)
image-load-path:
	/usr/share/scwm/pixmaps
	/usr/X11R6/include/X11/bitmaps

I'm running 0.99.2 with the menu.c patch that fixes my previously
reported bug with unflash-window.  (I found the relevant code change
in the repository and plopped it into 0.99.2, so I'm still otherwise
running 0.99.2).



Start an X server with two xterms and an xclock, and run swcm with the
following .scwmrc:

   (use-scwm-modules base
		     style
		     decor
		     face
		     winops
		     background
   )

   (bind-key 'all "C-S-A-r" restart)

   (define q-decor (make-decor))
   (with-decor q-decor 
	       (title-style #:height '40)
	       (bind-mouse 'window "M-1" lower-window lower-window)
	       (bind-mouse 'window "M-2" interactive-move)
	       (bind-mouse 'window "M-3" raise-window raise-window)
   )

   (window-style "*"
		 #:show-icon #f
		 #:border-width 1
		 #:highlight-bg "#fbe"
		 #:bg "#393"
		 #:use-decor q-decor
   )

   ;(window-style "xclock" #:no-titlebar #t #:plain-border #t)

1. Observe that if you move the mouse into one of the xterms, the
   title bar turns from green to pink when the mouse enters the
   window.  However, the title bar does not turn pink when the pointer
   enters the xclock window.  Is this because xclock tells the window
   manager that it doesn't want input focus?  Interestingly, with twm
   (for example), the title bar changes when the mouse enters the
   window, but perhaps the condition that makes this happen is
   different in twm.  I don't know whether this is an scwm bug or not.

2. Now, uncomment the xclock window-style line at the end and
   restart scwm (which you can do with C-A-S-r).  Notice the title bar
   on the xterm.  It's very messed up.  The center region of the title
   bar doesn't refresh.  You can move the window around and restack it
   to notice that it just never gets refreshed at all -- it stays
   looking like whatever was last on top of it.  I don't know what
   causes this, but I need border-width 1 and title-height > the
   default for this to happen.

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep 19 20:34:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA31552
	for scwm-discuss-outgoing; Sun, 19 Sep 1999 20:34:50 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA31548
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 19 Sep 1999 20:34:47 -0400
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id UAA22081;
	Sun, 19 Sep 1999 20:34:41 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id UAA29197; Sun, 19 Sep 1999 20:35:09 -0400
Date: Sun, 19 Sep 1999 20:35:09 -0400
Message-Id: <199909200035.UAA29197@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrrlna2cwz4.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 19 Sep 1999 16:17:35 -0700)
Subject: Re: build problem with head of CVS repository
References: <199909192254.SAA15666@soup.ql.org> <qrrlna2cwz4.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


>   > If you build from the latest CVS repository (as of Sunday, September
>   > 19, 1999 06:52 p.m. EDT), the build system attempts to make in
>   > scwm/modules/viavoice/ even if --enable-viavoice=no....
>
>   Do you know if it was really trying to build, or if it was just trying
>   to create the .x file?
>
>   I think I've now fixed it (but I thought it worked before, too!)

I don't know which situation it was, but I ran cvs update after
receiving this message and after running autogen.sh and make, I no
longer have the problem.

                                Jay

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 20 10:45:30 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA02371
	for scwm-discuss-outgoing; Mon, 20 Sep 1999 10:45:30 -0400
Received: from icomm.ca (icomm.ca [216.126.72.23])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA02368
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 20 Sep 1999 10:45:24 -0400
Received: from localhost (skeezix@localhost)
	by icomm.ca (8.9.3/8.9.3/iComm) with ESMTP id KAA23448
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 20 Sep 1999 10:44:46 -0400
X-Authentication-Warning: icomm.ca: skeezix owned process doing -bs
Date: Mon, 20 Sep 1999 10:44:45 -0400 (EDT)
From: Jeff Mitchell <skeezix@skeleton.org>
X-Sender: skeezix@icomm.ca
Reply-To: skeezix@skeleton.org
To: scwm-discuss@SCWM.MIT.EDU
Subject: Curious -- your cool scwm ideas?
Message-ID: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


	I'm not sure if this is the right forum or not, but I thought I'd
add to your killfiles anyway.

	As we all know, a plethora of window-managers exist to do the same
few tasks, but with slightly different decorations. Also, a large pile of
people want to do WM hacking, and some of them come to SCWMland to do it
in Scheme.. and most of us do nothing, or contribute nothing Actually
Useful [tm]. A lot of weird ideas come out of peoples work, but nothign
that is actually a Good Idea.

	So I'm curious -- what things have people coded into SCWM that
they think are cool? I'd be interested in seeing a conversation about neat
new and reasonably-easy to implement ideas. I'm very new to SCWM (though
I've been lurking since its hatching) and woudl love to know what people
have done.

	I've got a lot of ideas, but I'll share only a few, to get things
started.

	I'm a minimalist. I like a WM to be out of my way, yet very
functional when I need. I normally have small decorations and no
buttonbars or the like. But I do like flashy colours and backgrounds, and
all that... as long as its out of my way.

	One thing I do is have xterm's and other windows vary in
background colour by just a hair. I might be using a brown series of
shades for a theme, but each xterm I pop up should have a slightly darker
hue than the last, so that even though I use a one-pixel border, your eye
can naturally distinguish two xterm's, by colour. Netscape can be changed
through resources, etc.

	Another thing I'm working on, though it may not be useful, is to
have all window decorations and menus hidden, until a hotkey is pressed
(say Shift-Alt or something). While the hotkey is down, reveal all the
menus and things that are needed (like in Meya, for instance). Perhaps
pie-menu fashion. It'd be really slick to have the pager up when the
hotkey is down so you can press Shift-Alt with one hand, and use the
cursor keys to slide the desktop around...

	Anyway, I've got lots of ideas, if others do :)

		jeff

	(apologies to a few who I've not had time to reply to in email)

--
"It's murder out there. You can't even travel around in your own micro
circuits without permission from 'Master Control Program'. I mean,
sending *ME* down here to play games.... Who does he calculate he is?"
-- Peter Jurasik as Crom, _Tron_


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 20 11:36:25 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA02526
	for scwm-discuss-outgoing; Mon, 20 Sep 1999 11:36:25 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA02523
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 20 Sep 1999 11:36:14 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id LAA07143;
	Mon, 20 Sep 1999 11:36:07 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma007130; Mon, 20 Sep 99 11:35:51 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id LAA06641; Mon, 20 Sep 1999 11:35:50 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id LAA02351; Mon, 20 Sep 1999 11:36:35 -0400
Date: Mon, 20 Sep 1999 11:36:35 -0400
Message-Id: <199909201536.LAA02351@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: skeezix@skeleton.org
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> (message from
	Jeff Mitchell on Mon, 20 Sep 1999 10:44:45 -0400 (EDT))
Subject: Re: Curious -- your cool scwm ideas?
References:  <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


>	   I'm not sure if this is the right forum or not, but I thought I'd
>   add to your killfiles anyway.
>
>	   As we all know, a plethora of window-managers exist to do the same
>   few tasks, but with slightly different decorations. Also, a large pile of
>   people want to do WM hacking, and some of them come to SCWMland to do it
>   in Scheme.. and most of us do nothing, or contribute nothing Actually
>   Useful [tm]. A lot of weird ideas come out of peoples work, but nothign
>   that is actually a Good Idea.
>
>	   So I'm curious -- what things have people coded into SCWM that
>   they think are cool? I'd be interested in seeing a conversation about neat
>   new and reasonably-easy to implement ideas. I'm very new to SCWM (though
>   I've been lurking since its hatching) and woudl love to know what people
>   have done.


Okay... I'll send the same response I sent to you a few days ago to
the whole list now so lots of people can delete it. :-)

I'm a programmer at heart (and by profession though I don't write as
much code as I used to on the job), and my whole environment is very
customized.  I also loathe using the mouse, and I'm somewhat on the
anal-retentive side about how things should be.  A lot of the kinds of
things I've done with gwm that you can't do with another window
manager (other than perhaps scwm) support one of these aspects of my
personality.  Here's a list of some of the major things:

  1.  I use zephyr from MIT.  It's a message system.  One of the
      applications is zwgc, a client that pops up windows on your
      screen containing messages.  You dismiss these windows by
      clicking on them.  There's a race condition that can occur with
      incoming messages.  If you go to click on a zephyrgram (the name
      for one of these windows) just as a new one comes in, you may
      dismiss the new message before you had a chance to read it.  To
      work around this and other problems, I designed my own
      window manager behavior for zephyr messages.  Specifically:

       * If you click on a zephyr message when it has been up for less
         than one second, it refuses to disappear and changes state so
         that you must click the right button to make it disappear.
         If you click the right button a zephyr message that is not in
         this state, it refuses to go away.  That way, you can't
         accidentally dismiss a zephyr message.

       * Zephyr messages never get focus, so if one pops up under your
         cursor while you're typing, it doesn't mess up your typing.
         (I won't even have to write special code for this with scwm
         -- it supports windows that never get focus directly.)

       * I can "lock" a zephyr message to make it so that you can't
         dismiss it until you specifically unlock it.

       * I can reverse the stacking order of zephyr messages, delete
         all messages older than a certain age, etc.

       * I can bind key sequences to dismiss zephyr messages that work
         by sending button click events to the windows thus enabling
         me to stay mouseless.

  2.  Sometimes I use applications that I like to be positioned in
      very specific ways.  There's a puzzle program I have that I want
      to be resized in such a way that the window is the largest size
      possible such that the central drawing area remains square.  It
      takes just two or three lines of lisp code to express this
      notion, but you can't do it in the X resources file.

  3.  I have a function that restores a window's size and position to
      wherever it was when it first appeared on the screen.  If I
      temporarily move a window for some purpose, this gives me the
      ability to put it back EXACTLY where it belongs without having
      to fiddle around with getting it right by hand.

  4.  I have hotkey sequences to jump to all my regular windows.
      Ctrl-Shift-e jumps to my emacs but in a very specific way.  If I
      have multiple emacs windows up (either because there are
      multiple frames or because I have different emacses running on
      different hosts all displayed on my screen) and I press C-S-e
      multiple times with less than a one-second delay between
      successive times, then this cycles through the various frames in
      by stacking order.  Otherwise, it jumps to whichever one is on
      top.  Also, I can "lock" a specific frame to be the default
      emacs thus making C-S-e always jump to that emacs.

  5.  I have a place where I like to keep xterms that I do most of my
      regular work in.  I have it set up so that I have six numbered
      xterms.  C-S-1 through C-S-6 jump to those xterms if they
      exist.  C-S-M-1 through C-S-M-6 jump to those xterms if they do
      not exist and create them if they do.

  6.  I sometimes add or remove decoration from windows at run time.
      For example, I may be trying to look at a 1024x768 image on a
      1024x768 screen.  Removing the title bar makes it possible to
      fit the whole window on the screen at once.

  7.  I have a function that moves or resizes the current window by
      the minimal amount required so that the entire window is visible
      on the screen at once.

There are numerous other things that I do with gwm that have become
standard.  For example, I've been using a virtual desktop since 1990
before most other window managers had this concept though this has
become commonplace now, and I have keyboard shortcuts that emulate
mouse clicks and motion.  Still, many of the things I described above
are too specific to my particular work habits to ever become standard
features in regular window managers.  I guess my feeling about gwm
(and scwm) vs. other window managers is the same as my feeling about
UNIX vs. other operating systems.  When using gwm/scwm (or UNIX), what
I can do is limited by what I can imagine and code.  When I'm using
some other window manager (or Windows), what I can do is limited by
what the author of that program had in mind when they wrote it.

                                Jay


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 20 11:57:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA02604
	for scwm-discuss-outgoing; Mon, 20 Sep 1999 11:57:23 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA02601
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 20 Sep 1999 11:57:19 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id RAA17906
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 20 Sep 1999 17:57:14 +0200 (MET DST)
Date: Mon, 20 Sep 1999 17:57:14 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@SCWM.MIT.EDU
Subject: seg fault
Message-ID: <19990920175713.A19732@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

With scwm-0.99.2, I got this message :

[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault...
please run with '--segv-just-stop' or '--segv-reset-count 0'
and report a bug!
Trying to continue... save your work if you still can!


It happened just after I unlocked my session, and the XLock was
launched through FvwmButtons.

Is it a bug of xlock, of FvwmButtons, of scm or the mixing of those ?

-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 20 12:30:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA02796
	for scwm-discuss-outgoing; Mon, 20 Sep 1999 12:30:47 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA02793
	for <scwm-discuss@scwm.mit.edu>; Mon, 20 Sep 1999 12:30:42 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA05767; Mon, 20 Sep 1999 09:30:37 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: Publicity...
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Sep 1999 09:30:36 -0700
Message-ID: <qrrhfkpczpv.fsf@elwha.cs.washington.edu>
Lines: 10
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

We're finally at the home page for X11 window managers:

http://www.plig.org/xwinman/

The spread isn't phenonmenal, but at least we're linked in and people
looking for a new window manager can find our main site.

Thanks again to all of you who wrote Matt!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 20 12:53:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA02938
	for scwm-discuss-outgoing; Mon, 20 Sep 1999 12:53:58 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA02934
	for <scwm-discuss@scwm.mit.edu>; Mon, 20 Sep 1999 12:53:55 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA05788; Mon, 20 Sep 1999 09:53:47 -0700 (PDT)
To: bob@rattlesnake.com
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: CVS 1999 Sep 20: orbit-idl, pager problems
References: <m11T2sT-001KxEC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Sep 1999 09:53:46 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Mon, 20 Sep 1999 08:49:05 -0400 (EDT)"
Message-ID: <qrraeqhcyn9.fsf@elwha.cs.washington.edu>
Lines: 42
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Robert J. Chassell" <bob@rattlesnake.com> writes:

<snip>

> Even though scwm/corba no longer exists, 
> I still have problems with scwm/modules/corba

Okay, I think this is fixed now.  Please let me know if not.  Thanks!

<snip>

> I ran Scwm using both spare-blue.scwmrc and system.scwmrc; 
> in both instances Scwm began, but without its pager:
> 
> 
>   (define fvwm2-pager (run-fvwm2-module "FvwmPager" '("Top" "Bottom")))
> 
> 
> Backtrace:
> 0* (define fvwm2-pager (run-fvwm2-module "FvwmPager" (quote #)))
> 1* [run-fvwm2-module "FvwmPager"]
> 2  (let* ((other-args #) (config-file #) (config-info #)) (if (not #) (error "Too many arguments.")) ...)
>    ...
> 3  [scm-error misc-error #f ...]
> 
> ERROR: In procedure scm-error in expression (scm-error (quote misc-error) #f ...):
> ERROR: Unable to run fvwm2 module FvwmPager
> 
> 
> 
> The expression created a working pager up until two or three days ago.

Hmmm.. I've not done anything to the pager code lately, and it still
works for me. Maybe you could attach a truss or strace to Scwm before
executing the sexp and see what files it tries accessing.  Check the
*fvwm2-module-path* variable, too.  (See the code in fvwm-module.scm).
This seems like it may be a problem on your end, but we still need to
figure out how to improve the error message if it is.

Thanks,
Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 20 13:04:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA03030
	for scwm-discuss-outgoing; Mon, 20 Sep 1999 13:04:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA03027
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 20 Sep 1999 13:04:49 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA05822; Mon, 20 Sep 1999 10:04:41 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: seg fault
References: <19990920175713.A19732@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Sep 1999 10:04:41 -0700
In-Reply-To: Hubert Canon's message of "Mon, 20 Sep 1999 17:57:14 +0200"
Message-ID: <qrr7lllcy52.fsf@elwha.cs.washington.edu>
Lines: 31
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hi,
> 
> With scwm-0.99.2, I got this message :
> 
> [Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault...
> please run with '--segv-just-stop' or '--segv-reset-count 0'
> and report a bug!
> Trying to continue... save your work if you still can!
> 
> 
> It happened just after I unlocked my session, and the XLock was
> launched through FvwmButtons.
> 
> Is it a bug of xlock, of FvwmButtons, of scm or the mixing of those ?

Yes. :-)


If you can reliably reproduce this, then starting Scwm as:

scwm --segv-just-stop

and getting a backtrace from the core (or attaching a gdb to the running 
scwm from a terminal or another machine and getting the backtrace that
way) would be really helpful.  If you can't do that, but can reliably
reproduce it, at least report that and I'll try to reproduce it myself.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 20 13:14:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA03170
	for scwm-discuss-outgoing; Mon, 20 Sep 1999 13:14:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA03167
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 20 Sep 1999 13:14:15 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA05830; Mon, 20 Sep 1999 10:13:59 -0700 (PDT)
To: skeezix@skeleton.org
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Curious -- your cool scwm ideas?
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Sep 1999 10:13:59 -0700
In-Reply-To: Jeff Mitchell's message of "Mon, 20 Sep 1999 10:44:45 -0400 (EDT)"
Message-ID: <qrr6715cxpk.fsf@elwha.cs.washington.edu>
Lines: 68
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jeff Mitchell <skeezix@skeleton.org> writes:

> 	I'm not sure if this is the right forum or not, but I thought I'd
> add to your killfiles anyway.
> 
> 	As we all know, a plethora of window-managers exist to do the same
> few tasks, but with slightly different decorations. Also, a large pile of
> people want to do WM hacking, and some of them come to SCWMland to do it
> in Scheme.. and most of us do nothing, or contribute nothing Actually
> Useful [tm]. A lot of weird ideas come out of peoples work, but nothign
> that is actually a Good Idea.

I'm definitely excited about having more folks working on Scwm... things 
have been a bit crazy lately and help is always appreciated.

Note that doc/dev/projects (in the distribution) lists a bunch of
projects that I'm adding things to as I think of them.

> 	So I'm curious -- what things have people coded into SCWM that
> they think are cool? I'd be interested in seeing a conversation about neat
> new and reasonably-easy to implement ideas. I'm very new to SCWM (though
> I've been lurking since its hatching) and woudl love to know what people
> have done.

And I'd love for people to code them into modules and contribute them!
It's great to get fancy stuff working in your .scwmrc, but it's a lot
more useful if you can put it in a  proper module and send it in.  Lots
of the current modules features descend from nifty things in gjb.scwmrc
that I decided to spend the slight extra effort on to make them usable
by others.  (By this metric, system.scwmrc still needs a *lot* of work).

> 	I've got a lot of ideas, but I'll share only a few, to get things
> started.
> 
> 	I'm a minimalist. I like a WM to be out of my way, yet very
> functional when I need. I normally have small decorations and no
> buttonbars or the like. But I do like flashy colours and backgrounds, and
> all that... as long as its out of my way.
> 
> 	One thing I do is have xterm's and other windows vary in
> background colour by just a hair. I might be using a brown series of
> shades for a theme, but each xterm I pop up should have a slightly darker
> hue than the last, so that even though I use a one-pixel border, your eye
> can naturally distinguish two xterm's, by colour. Netscape can be changed
> through resources, etc.

If you start the xterms from Scwm, you can just pass along the '-bg
whatever' option to xterm, changing the whatever after each time the
launching procedure is eval'd.

> 	Another thing I'm working on, though it may not be useful, is to
> have all window decorations and menus hidden, until a hotkey is pressed
> (say Shift-Alt or something). While the hotkey is down, reveal all the
> menus and things that are needed (like in Meya, for instance). Perhaps
> pie-menu fashion. It'd be really slick to have the pager up when the
> hotkey is down so you can press Shift-Alt with one hand, and use the
> cursor keys to slide the desktop around...

See the modifier-key-bindings module for binding actions to just
modifiers.  I think what you're asking for is very doable.  Also the
focus-titlebar module may be of interest.

> 	Anyway, I've got lots of ideas, if others do :)

Keep 'em coming and I've got pointers to how you can make them happen.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 20 13:23:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA03274
	for scwm-discuss-outgoing; Mon, 20 Sep 1999 13:23:24 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA03271
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 20 Sep 1999 13:23:18 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA05833; Mon, 20 Sep 1999 10:23:11 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: skeezix@skeleton.org, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Curious -- your cool scwm ideas?
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <199909201536.LAA02351@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Sep 1999 10:23:11 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Mon, 20 Sep 1999 11:36:35 -0400"
Message-ID: <qrr4sgpcxa8.fsf@elwha.cs.washington.edu>
Lines: 123
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

<snip>

> I'm a programmer at heart (and by profession though I don't write as
> much code as I used to on the job), and my whole environment is very
> customized.  I also loathe using the mouse, and I'm somewhat on the
> anal-retentive side about how things should be.  A lot of the kinds of
> things I've done with gwm that you can't do with another window
> manager (other than perhaps scwm) support one of these aspects of my
> personality.  Here's a list of some of the major things:
> 
>   1.  I use zephyr from MIT.  It's a message system.  One of the
>       applications is zwgc, a client that pops up windows on your
>       screen containing messages.  You dismiss these windows by
>       clicking on them.  There's a race condition that can occur with
>       incoming messages.  If you go to click on a zephyrgram (the name
>       for one of these windows) just as a new one comes in, you may
>       dismiss the new message before you had a chance to read it.  To
>       work around this and other problems, I designed my own
>       window manager behavior for zephyr messages.  Specifically:
> 
>        * If you click on a zephyr message when it has been up for less
>          than one second, it refuses to disappear and changes state so
>          that you must click the right button to make it disappear.
>          If you click the right button a zephyr message that is not in
>          this state, it refuses to go away.  That way, you can't
>          accidentally dismiss a zephyr message.
> 
>        * Zephyr messages never get focus, so if one pops up under your
>          cursor while you're typing, it doesn't mess up your typing.
>          (I won't even have to write special code for this with scwm
>          -- it supports windows that never get focus directly.)
> 
>        * I can "lock" a zephyr message to make it so that you can't
>          dismiss it until you specifically unlock it.
> 
>        * I can reverse the stacking order of zephyr messages, delete
>          all messages older than a certain age, etc.
> 
>        * I can bind key sequences to dismiss zephyr messages that work
>          by sending button click events to the windows thus enabling
>          me to stay mouseless.

A zephyr module that did all these things for Scwm would be a great
contribution.  All of these things are possible (and pretty
straightforward) in Scwm.

>   2.  Sometimes I use applications that I like to be positioned in
>       very specific ways.  There's a puzzle program I have that I want
>       to be resized in such a way that the window is the largest size
>       possible such that the central drawing area remains square.  It
>       takes just two or three lines of lisp code to express this
>       notion, but you can't do it in the X resources file.
> 
>   3.  I have a function that restores a window's size and position to
>       wherever it was when it first appeared on the screen.  If I
>       temporarily move a window for some purpose, this gives me the
>       ability to put it back EXACTLY where it belongs without having
>       to fiddle around with getting it right by hand.

See the window-configuration module for fancier versions of this.  I'd
love to see someone put a save-window-configuration-to-register feature
in there using `get-key-event' (see flux.scm for an example of using
get-key-event for describe-key and describe-mouse).

>   4.  I have hotkey sequences to jump to all my regular windows.
>       Ctrl-Shift-e jumps to my emacs but in a very specific way.  If I
>       have multiple emacs windows up (either because there are
>       multiple frames or because I have different emacses running on
>       different hosts all displayed on my screen) and I press C-S-e
>       multiple times with less than a one-second delay between
>       successive times, then this cycles through the various frames in
>       by stacking order.  Otherwise, it jumps to whichever one is on
>       top.  Also, I can "lock" a specific frame to be the default
>       emacs thus making C-S-e always jump to that emacs.

This might be better done with `get-key-event' and a bookmarking module
that you could write and contribute... :-)

>   5.  I have a place where I like to keep xterms that I do most of my
>       regular work in.  I have it set up so that I have six numbered
>       xterms.  C-S-1 through C-S-6 jump to those xterms if they
>       exist.  C-S-M-1 through C-S-M-6 jump to those xterms if they do
>       not exist and create them if they do.
> 
>   6.  I sometimes add or remove decoration from windows at run time.
>       For example, I may be trying to look at a 1024x768 image on a
>       1024x768 screen.  Removing the title bar makes it possible to
>       fit the whole window on the screen at once.

C-S-M-t in system.scwmrc is bound to toggle-titlebar-in-place.

>   7.  I have a function that moves or resizes the current window by
>       the minimal amount required so that the entire window is visible
>       on the screen at once.

This would be a nice function to port to Scwm for, perhaps, flux.scm
(and make it use animated-resize-frame to be extra spiffy to watch).

> There are numerous other things that I do with gwm that have become
> standard.  For example, I've been using a virtual desktop since 1990
> before most other window managers had this concept though this has
> become commonplace now, and I have keyboard shortcuts that emulate
> mouse clicks and motion.  Still, many of the things I described above
> are too specific to my particular work habits to ever become standard
> features in regular window managers.  I guess my feeling about gwm
> (and scwm) vs. other window managers is the same as my feeling about
> UNIX vs. other operating systems.  When using gwm/scwm (or UNIX), what
> I can do is limited by what I can imagine and code.  When I'm using
> some other window manager (or Windows), what I can do is limited by
> what the author of that program had in mind when they wrote it.

Exactly.

Jay, it'd be insanely great if you could port some of your GWM stuff to
Scwm and contribute them as modules.  Even greater would be if you'd do
that plus keep some notes about your porting from GWM code that we could 
add to the Scwm documentation.

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 20 13:44:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA03495
	for scwm-discuss-outgoing; Mon, 20 Sep 1999 13:44:50 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from racine.cybercable.fr (racine.cybercable.fr [212.198.0.201])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id NAA03489
	for <scwm-discuss@scwm.mit.edu>; Mon, 20 Sep 1999 13:44:44 -0400
Received: (qmail 5675553 invoked from network); 20 Sep 1999 17:44:38 -0000
Received: from d026.paris-121.cybercable.fr (HELO ZhengHe) (@[212.198.121.26]) (envelope-sender <fare@tunes.org>)
          by racine.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <gjb@cs.washington.edu>; 20 Sep 1999 17:44:38 -0000
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11T7MT-0007JS-00; Mon, 20 Sep 1999 19:36:21 +0200
Date: Mon, 20 Sep 1999 19:36:19 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Publicity...
Message-ID: <19990920193617.A27869@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <qrrhfkpczpv.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrrhfkpczpv.fsf@elwha.cs.washington.edu>; from Greg Badros on Mon, Sep 20, 1999 at 09:30:36AM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Mon, Sep 20, 1999 at 09:30:36AM -0700, Greg Badros wrote:
> We're finally at the home page for X11 window managers:
> 
> http://www.plig.org/xwinman/
> 
> The spread isn't phenonmenal, but at least we're linked in and people
> looking for a new window manager can find our main site.
> 
> Thanks again to all of you who wrote Matt!
>
Hum. As far as silly suggestions go, you can now all vote at:
    http://www.PLiG.org/xwinman/vote.html

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
Whatever you do will be insignificant, but it is very important that you do it.
		-- Gandhi

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 20 14:45:30 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA03691
	for scwm-discuss-outgoing; Mon, 20 Sep 1999 14:45:30 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA03688;
	Mon, 20 Sep 1999 14:45:24 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA05918; Mon, 20 Sep 1999 11:45:14 -0700 (PDT)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: scwm-discuss@scwm.mit.edu, scwm-announce@scwm.mit.edu
Subject: Re: Publicity...
References: <qrrhfkpczpv.fsf@elwha.cs.washington.edu> <19990920193617.A27869@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Sep 1999 11:45:14 -0700
In-Reply-To: Francois-Rene Rideau's message of "Mon, 20 Sep 1999 19:36:19 +0200"
Message-ID: <qrryae1bex1.fsf@elwha.cs.washington.edu>
Lines: 32
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> On Mon, Sep 20, 1999 at 09:30:36AM -0700, Greg Badros wrote:
> > We're finally at the home page for X11 window managers:
> > 
> > http://www.plig.org/xwinman/
> > 
> > The spread isn't phenonmenal, but at least we're linked in and people
> > looking for a new window manager can find our main site.
> > 
> > Thanks again to all of you who wrote Matt!
> >
> Hum. As far as silly suggestions go, you can now all vote at:
>     http://www.PLiG.org/xwinman/vote.html

Silly?  Never! :-)

It'd be great if everyone would register their email address and fill
out this form... if everyone on scwm-announce does this we'll be #1
right away!

Only takes two minutes.  First go to:

http://www.PLiG.org/xwinman/register.html

then wait for an email to arrive w/ your password, then use it to vote
for Scwm at:

http://www.PLiG.org/xwinman/vote.html

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 20 17:13:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA04267
	for scwm-discuss-outgoing; Mon, 20 Sep 1999 17:13:24 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA04264
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 20 Sep 1999 17:13:18 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id RAA23500;
	Mon, 20 Sep 1999 17:13:12 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma023490; Mon, 20 Sep 99 17:12:51 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id RAA30106; Mon, 20 Sep 1999 17:12:50 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id RAA11573; Mon, 20 Sep 1999 17:13:34 -0400
Date: Mon, 20 Sep 1999 17:13:34 -0400
Message-Id: <199909202113.RAA11573@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: skeezix@skeleton.org, scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrr4sgpcxa8.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 20 Sep 1999 10:23:11 -0700)
Subject: Re: Curious -- your cool scwm ideas?
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <199909201536.LAA02351@soup.ads.apexinc.com> <qrr4sgpcxa8.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


>   Jay, it'd be insanely great if you could port some of your GWM stuff to
>   Scwm and contribute them as modules.  Even greater would be if you'd do
>   that plus keep some notes about your porting from GWM code that we could 
>   add to the Scwm documentation.

I have every intention to port my gwm environment Scwm and contribute
the resulting code.  I'll definitely keep notes as well and perhaps
write something up that you can include in the documentation.  I'm
pretty much managing to steal just a few hours here and there to work
on this, but I am keeping notes as I go.

I'll look at some of the other things you suggested, and I'll be sure
to post any changes I make or modules I write.  Naturally, it's in my
best interest to have all my neat little hacks work with standard
modules -- it means my .scwmrc can be that much simpler. :-) But
seriously, no justification is needed -- it's worth posting stuff just
in case others may find it useful whether I get any gain or not. :-)
One of the biggest mistakes that I made with gwm was to throw away the
standard profile and rewrite mine pretty much from the ground up.  I
ended up not being able to benefit much from enhancements that others
made.  In any case, I'm certainly not making that mistake again.

Are you interested in having some repository for sample profiles?  We
did this in gwm in the early days.  My .scwmrc itself will be short
since I've done my of my customizations in a theme and will be doing
most of the rest in modules.  If there is interest, I'd be eager to
make my profile available as a sample or for others to comment on and
suggest changes/improvements to.

                                Jay

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 20 17:29:46 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA04345
	for scwm-discuss-outgoing; Mon, 20 Sep 1999 17:29:46 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA04342
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 20 Sep 1999 17:29:43 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA06081; Mon, 20 Sep 1999 14:29:36 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Curious -- your cool scwm ideas?
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <199909201536.LAA02351@soup.ads.apexinc.com> <qrr4sgpcxa8.fsf@elwha.cs.washington.edu> <199909202113.RAA11573@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Sep 1999 14:29:35 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Mon, 20 Sep 1999 17:13:34 -0400"
Message-ID: <qrrvh95b7b4.fsf@elwha.cs.washington.edu>
Lines: 44
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> >   Jay, it'd be insanely great if you could port some of your GWM stuff to
> >   Scwm and contribute them as modules.  Even greater would be if you'd do
> >   that plus keep some notes about your porting from GWM code that we could 
> >   add to the Scwm documentation.
> 
> I have every intention to port my gwm environment Scwm and contribute
> the resulting code.  I'll definitely keep notes as well and perhaps
> write something up that you can include in the documentation.  I'm
> pretty much managing to steal just a few hours here and there to work
> on this, but I am keeping notes as I go.

Excellent-- this is hugely appreciated!

> I'll look at some of the other things you suggested, and I'll be sure
> to post any changes I make or modules I write.  Naturally, it's in my
> best interest to have all my neat little hacks work with standard
> modules -- it means my .scwmrc can be that much simpler. :-) But
> seriously, no justification is needed -- it's worth posting stuff just
> in case others may find it useful whether I get any gain or not. :-)
> One of the biggest mistakes that I made with gwm was to throw away the
> standard profile and rewrite mine pretty much from the ground up.  I
> ended up not being able to benefit much from enhancements that others
> made.  In any case, I'm certainly not making that mistake again.

Right, but unfortunately now the standard scwmrc is not very modular.
We need to work on that, for sure.

> Are you interested in having some repository for sample profiles?  We
> did this in gwm in the early days.  My .scwmrc itself will be short
> since I've done my of my customizations in a theme and will be doing
> most of the rest in modules.  If there is interest, I'd be eager to
> make my profile available as a sample or for others to comment on and
> suggest changes/improvements to.

Sure, maybe the right thing to do is to move system.scwmrc into the
scheme/ directory, and make sample.scwmrc really just the sample
scwmrc-s that have been contributed.  My one concern is that I don't
want to get bogged down with maintaining that directory, so maybe even
splitting it off into a separate cvs module (ideally maintained by
someone else) would be useful.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 20 17:55:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA04606
	for scwm-discuss-outgoing; Mon, 20 Sep 1999 17:55:10 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from w2.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA04603
	for <scwm-discuss@scwm.mit.edu>; Mon, 20 Sep 1999 17:55:01 -0400
Received: from mizar (r2p114.ntt.it [194.73.94.242]) by w2.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id XAA20994 for <scwm-discuss@scwm.mit.edu>; Mon, 20 Sep 1999 23:55:32 +0200 (DFT)
Received: from cesco by mizar with local (Exim 3.02 #1 (Debian))
	id 11T9en-00017u-00
	for <scwm-discuss@scwm.mit.edu>; Mon, 20 Sep 1999 22:03:25 +0200
Date: Mon, 20 Sep 1999 22:03:24 +0200
From: Francesco Tapparo <cesco@ntt.it>
To: scwm-discuss@scwm.mit.edu
Subject: problem in gtk.scm
Message-ID: <19990920220324.A4313@mizar>
Reply-To: cesco@debian.org
Mail-Followup-To: scwm-discuss@scwm.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by SCWM.MIT.EDU id RAA04604
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I downloaded the CVS snapshot of the 09/16/1999 (essentially scwm-0.99.2).
But:

Script started on Mon Sep 20 21:53:16 1999
bash-2.02$ scwm -f /dev/null &
[1] 4295
bash-2.02$ scwmrepl
scwm> (use-modules (app scwm app   gtk)(app scwm gtk))scwm> (use-modules (app scwm gtk))

;;; WARNING (no code for module gtk)

;;; WARNING (no code for module gdk)

Backtrace:
0* [primitive-load "/usr//share/scwm/modules/app/scwm/gtk.scm"]
1* [add-input-hook! ...
2*  [fdopen -1 "w+"]

/usr//share/scwm/modules/app/scwm/gtk.scm:48:18: In procedure fdopen in 
expression (fdopen (scwm-gdk-X-fdes) "w+"):
/usr//share/scwm/modules/app/scwm/gtk.scm:48:18: Bad file descriptor

I'm using gtk-1.2.4 with the development files of 1.2.0 (in Debian the libs
and the develoment files are separated). 

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 20 18:21:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA04754
	for scwm-discuss-outgoing; Mon, 20 Sep 1999 18:21:51 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA04751
	for <scwm-discuss@scwm.mit.edu>; Mon, 20 Sep 1999 18:21:46 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA06153; Mon, 20 Sep 1999 15:21:40 -0700 (PDT)
To: cesco@debian.org
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: problem in gtk.scm
References: <19990920220324.A4313@mizar>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Sep 1999 15:21:40 -0700
In-Reply-To: Francesco Tapparo's message of "Mon, 20 Sep 1999 22:03:24 +0200"
Message-ID: <qrrr9jtb4wb.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francesco Tapparo <cesco@ntt.it> writes:

> I downloaded the CVS snapshot of the 09/16/1999 (essentially scwm-0.99.2).
> But:
> 
> Script started on Mon Sep 20 21:53:16 1999
> bash-2.02$ scwm -f /dev/null &
> [1] 4295
> bash-2.02$ scwmrepl
> scwm> (use-modules (app scwm app   gtk)(app scwm gtk))scwm> (use-modules (app scwm gtk))
> 
> ;;; WARNING (no code for module gtk)
> 
> ;;; WARNING (no code for module gdk)

Did you build and install guile-gtk?

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 20 18:55:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA04890
	for scwm-discuss-outgoing; Mon, 20 Sep 1999 18:55:23 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA04887
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 20 Sep 1999 18:55:18 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id SAA26727;
	Mon, 20 Sep 1999 18:55:14 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma026718; Mon, 20 Sep 99 18:54:53 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id SAA15367; Mon, 20 Sep 1999 18:54:52 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id SAA11743; Mon, 20 Sep 1999 18:55:37 -0400
Date: Mon, 20 Sep 1999 18:55:37 -0400
Message-Id: <199909202255.SAA11743@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrrvh95b7b4.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 20 Sep 1999 14:29:35 -0700)
Subject: Re: Curious -- your cool scwm ideas?
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <199909201536.LAA02351@soup.ads.apexinc.com> <qrr4sgpcxa8.fsf@elwha.cs.washington.edu> <199909202113.RAA11573@soup.ads.apexinc.com> <qrrvh95b7b4.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


   Right, but unfortunately now the standard scwmrc is not very modular.
   We need to work on that, for sure.

Some kind of autoloading scheme would be very useful.  

Also, having ~/scwm (or something) in the standard path would be
useful as well.  gwm actually looks in ~gwm/.gwmrc.gwm as one of the
locations for the startup file.  I like this for several reasons.  For
one thing, I don't need Yet Another Dot File in my home directory.
For another, since the .gwmrc.gwm file has a suffix of .gwm, I don't
need two entries in my emacs auto-mode-alist.  Right now, my .scwmrc
is really a symbolic link to scwm/startup.scm, and I make sure to put
-*-scwm-*- at the top of each file so that emacs can tell that it
should be in scwm-mode instead of scheme-mode.

I may be blabbering though since I have not (yet) come to understand
how loading works in scwm or in guile.  Even with all that, my gwm
profile is pretty messy.  It consists of 16 files totalling about 3400
lines of wool code (including comments and blank lines).  Some of the
files are mine from the ground up, and some have files from the
standard profile as it looked in 1989 as ancestors....

                                Jay

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 20 19:04:48 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA04957
	for scwm-discuss-outgoing; Mon, 20 Sep 1999 19:04:48 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA04954
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 20 Sep 1999 19:04:45 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA06212; Mon, 20 Sep 1999 16:04:38 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Curious -- your cool scwm ideas?
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <199909201536.LAA02351@soup.ads.apexinc.com> <qrr4sgpcxa8.fsf@elwha.cs.washington.edu> <199909202113.RAA11573@soup.ads.apexinc.com> <qrrvh95b7b4.fsf@elwha.cs.washington.edu> <199909202255.SAA11743@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Sep 1999 16:04:38 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Mon, 20 Sep 1999 18:55:37 -0400"
Message-ID: <qrrn1uhb2wp.fsf@elwha.cs.washington.edu>
Lines: 39
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

>    Right, but unfortunately now the standard scwmrc is not very modular.
>    We need to work on that, for sure.
> 
> Some kind of autoloading scheme would be very useful.  

Yep...

> Also, having ~/scwm (or something) in the standard path would be
> useful as well.  gwm actually looks in ~gwm/.gwmrc.gwm as one of the
> locations for the startup file.  I like this for several reasons.  For
> one thing, I don't need Yet Another Dot File in my home directory.

Seems like a good plan to me....  I've added a FIXME comment that one
day might get taken care of.

> For another, since the .gwmrc.gwm file has a suffix of .gwm, I don't
> need two entries in my emacs auto-mode-alist.  Right now, my .scwmrc
> is really a symbolic link to scwm/startup.scm, and I make sure to put
> -*-scwm-*- at the top of each file so that emacs can tell that it
> should be in scwm-mode instead of scheme-mode.

I put .scm and .scwmrc in my auto-load-alist as starting scwm-mode.  We
should probably do the -*-scwm-*- in distributed files...  not that bad
having two entries, and it is worth distinguishing between a startup
file and a scm module, IMO.

> I may be blabbering though since I have not (yet) come to understand
> how loading works in scwm or in guile.  Even with all that, my gwm
> profile is pretty messy.  It consists of 16 files totalling about 3400
> lines of wool code (including comments and blank lines).  Some of the
> files are mine from the ground up, and some have files from the
> standard profile as it looked in 1989 as ancestors....

Geez...  that's a lot.  Of course, scwm/scheme/*.scm is about 18,900
lines, and in many ways that's my startup file! :-)

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 20 23:25:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id XAA05584
	for scwm-discuss-outgoing; Mon, 20 Sep 1999 23:25:36 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id XAA05581
	for <scwm-discuss@scwm.mit.edu>; Mon, 20 Sep 1999 23:25:31 -0400
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id XAA14338
	for <scwm-discuss@scwm.mit.edu>; Mon, 20 Sep 1999 23:25:25 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id XAA01451; Mon, 20 Sep 1999 23:26:02 -0400
Date: Mon, 20 Sep 1999 23:26:02 -0400
Message-Id: <199909210326.XAA01451@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Sent-via: scwm-discuss@scwm.mit.edu
Subject: questions about 3D vs. 2D decorations
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: multipart/mixed;
 boundary="Multipart_Mon_Sep_20_23:26:02_1999-1"
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

--Multipart_Mon_Sep_20_23:26:02_1999-1
Content-Type: text/plain; charset=US-ASCII


I am one of those weird throwbacks who doesn't particularly care for
3D decorations.  I like my decorations to be nice and flat.  I can put
#:relief 'flat in my title-style but not in my border-style.  I am
trying to have a certain kind of window have a thick, yellow, flat
border, but I can't get this to work.  Consider the following .scwmrc:

  (use-scwm-modules base
		    style
		    decor
		    face
		    winops
		    background
  )

  (bind-key 'all "C-S-A-r" restart)

  (define q-decor (make-decor))
  (with-decor q-decor
	      (bind-mouse 'window "M-1" lower-window lower-window)
	      (bind-mouse 'window "M-2" interactive-move)
	      (bind-mouse 'window "M-3" raise-window raise-window)
  )

  (window-style "*"
		#:show-icon #f
		#:border-width 1
		#:highlight-bg "#fbe"
		#:bg "#393"
		#:use-decor q-decor
  )

  (define test-decor (make-decor))
  (with-decor test-decor 
	      (title-style #:justify 'left #:relief 'flat)
	      (border-style #:hidden-handles #t
			    #:no-inset #t
	      )
	      (set-highlight-factor! 1)
	      (set-shadow-factor! 1)
  )

  (window-style "xmessage" 
		#:no-titlebar #t 
		#:border-width 10
		#:plain-border #t
		#:bg "yellow"
		#:highlight-bg "yellow"
		#:use-decor test-decor
  )

Using this, pop up an xmessage.  (Just say "xmessage test".)  On my
screen, I get an xmessage window with a thick yellow border.  However,
the border has 3D decoration with odd colors.  Specifically, the top
and left edges of the border are cyan and the bottom and right are
dark cyan.  I'm kind of wondering why we have cyans instead of yellows
here.  When the window is active, we get no 3D effect (the result I
was looking for with the highlight-factor and shadow-factor settings I
used) but the boundary around the border is gray on all four sides.  I
have attached two xwd files.  These window dumps include a black
border which is the background I used for this demonstration and is
not part of the window.  The file "inactive.xwd" is an X window dump
taken when the cursor was not in the window.  The file "active.xwd"
was taken when the cursor was in the window.

So, my questions are:

 1.  Why do we have cyan highlights and shadows for a yellow border?

 2.  Why don't the highlight and shadow factors seem to have an effect
     with the window is inactive?

 3.  Why are my shadows and highlights gray instead of yellow when the
     window is active?

 4.  Is there a reason that you can't have #:relief 'flat on a border
     face?

 5.  Is there a way for me to get what I want -- borders without any
     3D effect?

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

--Multipart_Mon_Sep_20_23:26:02_1999-1
Content-Type: application/octet-stream; type=gzip
Content-Disposition: attachment; filename="active.xwd.gz"
Content-Transfer-Encoding: base64

H4sICNz55jcAA2FjdGl2ZS54d2QA7dZBToQwFIDhjonxCrP0BK49j3FhvIBuvZhXq3VISEMf
pXkUpq/9v4ASaIv9w0Ln3Kdz7imcD+G8hvMjnD9ucgnnc/Q7PL+8ht+Pzv8/nn9cpyE38fyb
t5fvr3cHAAAAAAAAAAAAAAAAoJbfLtBN517dvHdGD7rRjW7tH3SjG93aPxrsVudfq3ropmOo
m28G3XTopkM3HbvdzvyrOut27CeVfRHd6EY3utGt5W7T3D1lMtPpRrd4O4sVFjU2b65N776b
+MHEd+Zr8aY4ffBusUwi8ebI3TIp8tNH65ZebN5cGzBCt3nLLolZclOcPki349CNbnSj2/nd
TtNTt/uimw7ddOimQzednrrV/UtG6Fa42XKbC3bQrW6xwpWtdzuo2OYrTHebppzQLX2L9W6K
LevSddOtpEnFbot1THdT7HdPul67xeuk3dLrkpHddxM3nl6Iqekm1ogfxQPiR+J0usWDMyMH
6eaKa4hPxetZ5l2mu619cvEe89eLwZlK6Rjr3dId6cRLLZYV32K6m5e+hJ3p0kriK6x38yvf
Q8WS4qMOuvnoU6lbLLNgH90Wm60i/66eup2Jbjp006Gbjq1uTbHSzcRBN7rRrf2DbnSjW/vH
fbtZRzed87sBAAAAAAAAAAAAAADAij8MZDi+op0AAA==

--Multipart_Mon_Sep_20_23:26:02_1999-1
Content-Type: application/octet-stream; type=gzip
Content-Disposition: attachment; filename="inactive.xwd.gz"
Content-Transfer-Encoding: base64

H4sICKz55jcAA2luYWN0aXZlLnh3ZADt3EFOhDAUgOGOifEKs9MTuJmNt5mYuDBeQNdevNYh
IZWWUh8F+tr/S1ECFOgf1mOM+TDGPLjtzm1nt7277dsMTm578v6786cX9//e2N/T45/zcMmN
P//m9fnr880AAAAAAAAAAAAAAAAAKOtirfbxeL3STRDtwG7WGqWDbnSjW/2DbnSjW/2jwm7D
K1Uy0i9Jt7lourrZatBNhm4ydJPR223Pt2qs2xYfUohuMnSToZsM3WQa7jbMXVMmMZ1udPOX
M7nDpMbiwbnpzXcb1z45a/6WmTsYnd55N18iUfRgz90SKdLTe+sW7iwenLugh27jkk0QM+dg
dHon3bZDNxm6ydBNpr1uu2mp27HoJkM3GbrJ0E2mpW5l36SHbpmLzbd4wwa6lS2WeWft3TYq
tvgI1d2GKTt0C5+ivZtgybJ0zXTLaVKw2+Q+qrsJ1rsmXavd/PuE3cL9nCub7xZdeLgTTU23
aA3/lH+Bfyo6nW7+xYkrO+lmsmtEz0b3R4lnqe4WfgPhqtP7k4sTlcJrtHcLVyTj32py2+hT
VHezsS9hZbqwUvQR2rvZme+hiMSdG+hmvU+lbLHEDdvoNllsEelntdRtT3SToZsM3WQUdbv8
8yeeth5auqkYdKMb3eofdKMb3eofB3Z7PPrnj9aP/bsdvmSl3QAAAAAAAAAAAAAAAIBW/QDL
UquS2p4AAA==

--Multipart_Mon_Sep_20_23:26:02_1999-1--

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 21 13:27:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA10118
	for scwm-discuss-outgoing; Tue, 21 Sep 1999 13:27:21 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from relay8.Austria.EU.net (relay8.Austria.EU.net [193.154.160.146])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA10115
	for <scwm-discuss@scwm.mit.edu>; Tue, 21 Sep 1999 13:27:17 -0400
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.3/8.9.3) with UUCP id TAA12507
	for scwm-discuss@scwm.mit.edu; Tue, 21 Sep 1999 19:11:45 +0200 (MET DST)
Received: (qmail 3135 invoked by uid 115); 21 Sep 1999 15:40:42 -0000
To: scwm-discuss@scwm.mit.edu
Subject: Re: Curious -- your cool scwm ideas?
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <199909201536.LAA02351@soup.ads.apexinc.com> <qrr4sgpcxa8.fsf@elwha.cs.washington.edu> <199909202113.RAA11573@soup.ads.apexinc.com>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 21 Sep 1999 17:40:42 +0200
In-Reply-To: "E. Jay Berkenbilt"'s message of "Mon, 20 Sep 1999 17:13:34 -0400"
Message-ID: <wshfko46it.fsf@orcus.priv.at>
Lines: 36
User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

>>>>> On Mon, 20 Sep 1999 17:13:34 -0400
>>>>> "E. Jay Berkenbilt" <ejb@ql.org> said:

 Jay> Are you interested in having some repository for sample
 Jay> profiles?

I think we are in need of all this:

1. sample scwmrcs that are used in real life (i.e. they are functional,
   work out of the box, and are more or less supported)
2. modules that provide one kind of functionality ("the scheme
   directory")
3. modules that provide more exotic functionality
4. small snippets of code that do something unusual, with less
   stringent requirements concerning documentation and modularity

1 + 2 should go into the scwm distribution as usual.

3 + 4 are probably best stored in a separate place, much like the
emacs lisp repository. Anybody with some time on her hand could
maintain this. The current solution of aving these stuff lie dormant
on peoples harddisks or in this list's archives is not very good.

Ah, I just read the subject <g> and realized that perhaps collecting

5. ideas of things that could be done with scwm but aren't

is also a Good Thing.

        Robbe

-- 
Robert Bihlmeyer       reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>    <http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 21 13:27:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA10122
	for scwm-discuss-outgoing; Tue, 21 Sep 1999 13:27:50 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from relay8.Austria.EU.net (relay8.Austria.EU.net [193.154.160.146])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA10119
	for <scwm-discuss@scwm.mit.edu>; Tue, 21 Sep 1999 13:27:47 -0400
Received: (from uucp@localhost)
	by relay8.Austria.EU.net (8.9.3/8.9.3) with UUCP id TAA12508
	for scwm-discuss@scwm.mit.edu; Tue, 21 Sep 1999 19:11:47 +0200 (MET DST)
Received: (qmail 3789 invoked by uid 115); 21 Sep 1999 16:05:07 -0000
To: scwm-discuss@scwm.mit.edu
Subject: Re: Curious -- your cool scwm ideas?
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca>
X-Attribution: Robbe
From: Robert Bihlmeyer <robbe@orcus.priv.at>
Date: 21 Sep 1999 18:05:06 +0200
In-Reply-To: Jeff Mitchell's message of "Mon, 20 Sep 1999 10:44:45 -0400 (EDT)"
Message-ID: <wsd7vc45e5.fsf@orcus.priv.at>
Lines: 52
User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

 Jeff> So I'm curious -- what things have people coded into SCWM that
 Jeff> they think are cool?

hmm, cool ... I think my way of folding long menus (hierarchical
splitting) is cooler than the way `fold-menu-list' does it (serial
chaining).

 Jeff> I'm a minimalist.

AOL.

 Jeff> I might be using a brown series of shades for a theme, but each
 Jeff> xterm I pop up should have a slightly darker hue than the last,
 Jeff> so that even though I use a one-pixel border, your eye can
 Jeff> naturally distinguish two xterm's, by colour.

Good point. I've actually switched from 0 to 1 pixel borders because I 
could not separate my xterms. I never thought of this. I think I'm
going back to no border.

 Jeff> Another thing I'm working on, though it may not be useful, is
 Jeff> to have all window decorations and menus hidden, until a hotkey
 Jeff> is pressed (say Shift-Alt or something).

I thought about this, too, last time someone mentioned that he had
decorations only on the active window, but I imagine the flurry of
action that would happen on the press of the hotkey is quite
distracting.

 Jeff> While the hotkey is down, reveal all the menus and things that
 Jeff> are needed (like in Meya, for instance). Perhaps pie-menu
 Jeff> fashion.

For menus, this would be quite standard: only show the menu if it is
popped up by a keyboard combo.

 Jeff> -- "It's murder out there. You can't even travel around in your
 Jeff> own micro circuits without permission from 'Master Control
 Jeff> Program'. [...]
 Jeff> -- Peter Jurasik as Crom, _Tron_

Weird, halfway through your e-mail, and before your signature was
visible, I thought about integrating self-test-functionality (via
"Greg") into Scwm, and had the notion of Scwm growing more MCP like.

        Robbe

-- 
Robert Bihlmeyer       reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>    <http://stud2.tuwien.ac.at/~e9426626/sig.html>

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 21 15:28:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA10812
	for scwm-discuss-outgoing; Tue, 21 Sep 1999 15:28:26 -0400
Received: from icomm.ca (icomm.ca [216.126.72.23])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA10809
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 21 Sep 1999 15:28:18 -0400
Received: from localhost (skeezix@localhost)
	by icomm.ca (8.9.3/8.9.3/iComm) with ESMTP id PAA09755;
	Tue, 21 Sep 1999 15:27:53 -0400
X-Authentication-Warning: icomm.ca: skeezix owned process doing -bs
Date: Tue, 21 Sep 1999 15:27:52 -0400 (EDT)
From: Jeff Mitchell <skeezix@skeleton.org>
X-Sender: skeezix@icomm.ca
Reply-To: skeezix@skeleton.org
To: Robert Bihlmeyer <robbe@orcus.priv.at>
cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Curious -- your cool scwm ideas?
In-Reply-To: <wsd7vc45e5.fsf@orcus.priv.at>
Message-ID: <Pine.LNX.4.10.9909211525280.30084-100000@icomm.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 21 Sep 1999, Robert Bihlmeyer wrote:

> Good point. I've actually switched from 0 to 1 pixel borders because I 
> could not separate my xterms. I never thought of this. I think I'm
> going back to no border.

	I thought about no-border, but various degrees of transparencies
for the xterms, but I thought it'd be too hard to control the transparency
and readability -- ie: chosing hue properly, so the text wouldn't vanish
against the background..

> I thought about this, too, last time someone mentioned that he had
> decorations only on the active window, but I imagine the flurry of
> action that would happen on the press of the hotkey is quite
> distracting.

	hmm. I think I like them all hidden until a key is held.. Or maybe
have the deco's show up after a certain period of time with an action key
down..

>  Jeff> While the hotkey is down, reveal all the menus and things that
>  Jeff> are needed (like in Meya, for instance). Perhaps pie-menu
>  Jeff> fashion.
> 
> For menus, this would be quite standard: only show the menu if it is
> popped up by a keyboard combo.

	I dunno. If you pop up a window list, usually it stays up until
you hit Escape or something, IIRC. I like the idea of them being visible
only while the shift-meta key si down.

		jeff

--
"It's murder out there. You can't even travel around in your own micro
circuits without permission from 'Master Control Program'. I mean,
sending *ME* down here to play games.... Who does he calculate he is?"
-- Peter Jurasik as Crom, _Tron_


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 22 01:37:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA12676
	for scwm-discuss-outgoing; Wed, 22 Sep 1999 01:37:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA12671
	for <scwm-discuss@scwm.mit.edu>; Wed, 22 Sep 1999 01:37:45 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA16061; Tue, 21 Sep 1999 22:37:38 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: Event rewrite proposal revised...
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Sep 1999 22:37:38 -0700
Message-ID: <qrrn1uf7bh9.fsf@elwha.cs.washington.edu>
Lines: 346
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

As promised, I revised my now-over-1-year-old event rewrite. No promises 
as to when I have time to implement it, but I'm re-posting it for
getting feedback once again.  The most substantial revisions involve
some simplification (especially I eliminated the notion of a "merged"
event map-- not sure what the benefit was supposed to be any longer),
and a change to the dispatch system and the form of action procedures
(they used to take a mess of arguments, now they get "arguments" from
a thread-local `the-event' variable).

Thanks in advance for your feedback.
Greg


Event Rewrite Proposal for Scwm
Greg J. Badros, 
  Revised 21-Sep-1999, 19-Sep-1999
  2-Sep-1998, 3-Sep-1998, 5-Sep-1998, 6-Aug-1998

Introduction:
-------------

Motivating desires for a more flexible event-binding infrastructure

o Elimination of "contexts" and replacing with event maps
-- event maps are more fundamental, and unifying
o Mode-specific event maps (e.g., when in an interactive move)
o Pinnable-menus event maps
o Multi-key bindings with prefix keys that change mode map
o Maps on a per window basis (e.g., xlogo could permit fewer modifier
keys to accompany an "m" keystroke to signify a desire to move the
window)
o Quoting mechanism for turning off scwm's handling of events
o Unifying X-events and user events


As you wrote, event maps and event objects should be exposed to the
scheme layer as SMOBs (first class objects).  The event maps will
contain event objects which are bound to procedures to be invoked.
Event maps will be attached to X windows (via Xlib's SaveContext
mechanism) and scheme window objects (using their top-level frame
window).  E.g., an event map can be attached to a titlebar button
window, or to the titlebar window, etc.


Overview:
---------
1 - Event Objects
2 - Event Map Objects
3 - Dispatch of Events
4 - Binding of Event Maps


1 - Event objects:
------------------
(make-key-event KEYSYM-NAME #&optional MODIFIER-SPECIFIER)
(key-event? OBJECT)
e.g.:
(make-key-event "F1")
(make-key-event "Return" '(control shift meta))
KEYSYM-NAME is the name of a keysym (e.g., "x", "BackSpace", etc.).
It cannot have prefixed modifiers -- a convenience function can provide
conversions from (e.g., "C-S-M-Return" to the 2nd example above).
[[ The special pseudo-keysyms "KeyPress" and "KeyRelease" permit
events being bound to some combination of modifier keys just being
depressed or released.  (These may not be necessary thanks to make-x-event)]]

MODIFIER-SPECIFIER is a list of symbolic modifiers.  If the first
element of the list is the pseudo-modifier 'exactly, then exactly 
the list of modifiers that follows must be depressed for the event
to be matched.  Modifiers include:

'control 'shift 'meta 'super 'alt 'hyper 'numlock 'capslock 'mod[1-8]
'~control '~shift '~meta '~super '~alt '~hyper '~numlock '~capslock '~mod[1-8]
'*control '*shift '*meta '*super '*alt '*hyper '*numlock '*capslock '*mod[1-8]

The "~"-prefixes mean *not* that modifier, the "*"-prefixes mean don't
care either way for that modifier (only useful in conjunction with the
pseudo-modifier 'exactly.  e.g.,

'(exactly control shift meta)
is the same as
'(control shift meta ~super ~alt ~hyper ~numlock ~capslock)
and
'(exactly control shift meta *numlock)
is the same as
'(control shift meta ~super ~alt ~hyper ~capslock)

Another first-element pseudo-modifier is 'with, which is the same as
'exactly, except for an implicit *numlock *capslock.  'iwith is the same
as 'with except for adding an implicit *shift, as well.

These get converted internally to on and off bitmasks such that the
event matches iff:
  ((MOD | OnMask == MOD) && (MOD & ~OffMask == MOD)).
Rebinding of modifiers will recompute the bitmasks.

(Thanks to Robert Bihlmeyer who made useful comments regarding this
subsection.)


(make-mouse-event BUTTON-SPECIFIER X-EVENT-SPECIFIER 
                  #&optional MODIFIER-SPECIFIER)
(mouse-event? OBJECT)
e.g.,
(make-mouse-event 1 'release)
(make-mouse-event 3 'double-click (with-modifier 'control 'meta 'shift))

BUTTON-SPECIFIER is the physical number of the button (a level of
indirection could easily be provided by variables named e.g., select
drag and menu, corresponding to buttons 1 2 and 3).  Button number 0
matches any/all buttons.  Button -1 matches no button. Chorded buttons
are not specifiable directly -- the attached proc will have to check the
event if they are desired (their complexity for user interaction is
worth discouraging).

X-EVENT-SPECIFIER is one of 'motion, 'press, 'release, 'click,
'single-click or 'double-click.  ('click, 'single-click and
'double-click get manufactured by scwm -- a 'click is a press followed
by a release w/o intervening motion (of more than a threshold delta).  A
'double-click is two clicks w/o intervening motion or too much
intervening time, and a 'single-click is a 'click that is not followed
by a second click; note that a 'click will always precede a
'double-click, and the second click of a 'double-click will not generate
another 'click.  A 'single-click is generated after the double-click
timeout after a 'click).  E.g., the below are valid MOUSE_SPECIFIERs

MODIFIER-SPECIFIER is as described above.


(make-x-event X-EVENT-SPECIFIER #&optional MODIFIER-SPECIFIER)
(x-event? OBJECT)
e.g.,
(make-x-event 'enter-notify)
(make-x-event 'keypress '(with control shift meta))
(make-x-event 'pointer-motion '(with hyper))

X-EVENT-SPECIFIER is a symbol referring to an X11 event.  keypress,
keyrelease, enter-notify, leave-notify, pointer-motion, property-notify,
colormap-notify, focus-in, focus-out, etc. could be supported (see
include/X11/X.h for list).  Binding procedures to these events could
replace some of the ad-hoc mechanisms for property-notification, etc.,
that we currently have in scwm.  Though some of these events are
currently handled by global hooks, treating them as proper events
permits different behaviours to be specified for different windows
instead of requiring that the hook procedures be more globally aware (or 
have lots of hook procedures invoked).  This is an important efficiency
optimization.

MODIFIER-SPECIFIER is as described above.  It is included
mostly for completeness and orthogonality.  'keypress events may test
for modifiers using the current state of the modifiers, not the state
under which the key was pressed.  E.g., if Ctrl-Shift-Meta is depressed, 
whichever of the three modifier keys that is physically recognized last
will not be in the modifier bitmask for that keypress, but we might like 
to bind something (e.g., a help menu) to those three keys being held
down.

Note that make-x-event can be viewed as the most primitive case, and the
other two procedures can be seen as adding a C-level filter and event
grabbing capabilities on top of the actual X-event.  E.g.,
(make-mouse-event 1 'release) is applicable if there is a x-event
"ButtonRelease" and the button number is 1.  X-event bindings will never 
do any grabs implicitly-- key-events need to be used for that.


2 - Event Map Objects:
----------------------

Now, on to event map objects.  My proposal is similar to yours but
instead of managing the installed event-map from Scheme code, I want to
attach event map objects to arbitrary X11 windows (e.g., the pager, or a 
pinned menu, etc.), and have the appropriate grabs and XSelectInput
calls happen based on the event map for a given window.

First, a means of creating event-maps and populating them with bindings
from events to procedures:

(make-event-map #&optional PARENT)
(event-map? OBJECT)
;; PARENT is an event-map object, or omitted or #f to indicate no parent
This will permit a form of inheritance of behaviours.  Note, though,
that this mechanism should not be necessary for the geometry-based
chaining that X11 commonly uses.  E.g., an event in a window decoration
(say, a button on the titlebar) will first dispatch based on the event
map (if any) attached to the decoration, then on the event map for that
top-level window, then on the global event map.  Each of these event maps
would be built with the PARENT argument omitted or #f.  A special
primitive or symbol can be bound to an event to permit preventing the
event from propagating, and instead letting it pass to the application.
MERGE? is #t to indicate that the resulting event-map should (for the
purposes of event dispatch) treat the PARENT's bindings as equipotent to 
this new child event (i.e. all of the bindings will be checked when
doing dispatch).  MERGE? is #f to indicate that only if no binding
matched in the child should the parent's bindings be checked.

event-map-global
;; the built-in global event-map object -- it is an implicit
;; parent of all event-maps

(event-map-parents EVENT-MAP)
;; Return list of parent event map objects
(add-event-map-parent! EVENT-MAP PARENT MERGE?)
;; Permit multiple parents, though only one can be specified at a time
(remove-event-map-parent! EVENT-MAP PARENT)
;; return #t if successful, #f if parent not found

(add-event-binding EVENT-MAP EVENT PROC-OR-SYMBOL)
(remove-event-binding EVENT-MAP EVENT)
;; Similar to your {add,remove}-event-hook.
;; These add and remove bindings for EVENT objects in the given
;; EVENT-MAP object.
;; PROC-OR-SYMBOL is either a procedure or 'pass to indicate
;; that the event should not be grabbed by the wm and the application
;; should get the event (this is only an issue for event maps attached
;; to client windows -- it's a means of overriding and eliminating
;; a parents event map's grab).  See dispatch-event for details about how
;; the bindings are invoked.

;; In add-event-binding, using an event object `equal?' to one with a
;; pre-existing binding will replace the old binding

(list-event-bindings EVENT-MAP)
;; return a list of all the event bindings added to EVENT-MAP
;; as a cons parent of (EVENT-OBJECT . PROC-OR-SYMOBL)


3 - Dispatch of Events
----------------------

(dispatch-event EVENT-MAP EVENT)
;; EVENT-MAP is an event-map object, EVENT is an event-object
;; All applicable events' procedures should be invoked in the order that 
;; they were added to the EVENT-MAP.  Parent EVENT-MAPs are handled
;; as discussed above.

;; We could consider looking at CLOS method combination for more
;; sophisticated dispatching combination techniques, but that's for later.

;; Each procedure is invoked with *no* arguments.  Obviously there is
;; information that the bound procedures will need to receive, but having
;; those objects be arguments would necessitate changing the argument
;; list to all procedures that are intended to be bound to an action.

;; Instead, the event-specific information will be available to the
;; dispatched procedure via the thread-local variable `last-event'.  That
;; variable should be accessed via the following accessors.
;; E.g., the event-target can be accessed via the expression `(event-target last-event)'
;; The `last-event' variable will be #f if the procedure is not invoked
;; from an event handler.  

;; The names of the accessors of `last-event' are:

;; event-target - the scheme object that the event acted on/in (e.g.,
;; for a button decoration, it will be that window object; for a menu
;; it will be the menu object, etc.), for the root window it will be
;; 'root-window, or #f if there is no applicable object.
;; Note that `window-context' is largely replaced by
;; `(event-target last-event)'

;; event-window-id - the window id of the X window that got the event.  
;; the `window-decoration-ids' primitive can be helpful in mapping this
;; back to what the decoration was.


;; event-timestamp - the time of the event, as reported by the X server
;; in X time format (which wraps reasonably frequently)

;; event-time - the time of the event, as a time_t value (seconds since 1/1/70)

;; event-info - a list of event-specific information or #f; e.g.,
;;    a property-notify event may use
;;         '("WM_TITLE" 'NewValue)
;;         property name changed and either 'NewValue or 'Delete
;;    for this argument

;; event-map - the event map object (i.e. EVENT-MAP)

;; We will do something to help simplify binding these options
;; to local variables in procedures intended to be action procedure
;; (maybe something like Emacs's (interactive) declaration).

;; Only when no bindings are applicable in the child or its chain of
;; parents should the event dispatching mechanism
;; proceed to chain the event dispatch up to the enclosing event-map
;; context.  That is, from decoration->frame->global (button decorations 
;; perhaps should forward to the titlebar before the frame, but side-bar 
;; decorations probably should not).

;; This `dispatch-event' primitive is what will get internally invoked
;; when Scwm gets an event.  Note that Scwm will have to manage
;; selecting the appropriate events and grabbing the appropriate keys
;; based on the event-map objects attached to various windows.  

(Thanks to Robert Bihlmeyer who made useful comments regarding this
subsection.)



4 - Binding of Event Maps:
--------------------------

Event maps can be attached to any X Window by its X Id or 
the Scheme window object.

(attach-event-map X-WINDOW-ID-OR-WIN EVENT-MAP)
e.g.,
(attach-event-map (button-n-of 1 win) button-1-map-for-win)
(attach-event-map (title-bar-of win) title-bar-map-for-win)
;; Only one event map is attached per window id -- attaching
;; a new map removes any old one
;; (will need to add button-n-of, title-bar-of, but can do some
;; using `window-decoration-ids'

The window style mechanism should be used to attach a set
of event maps at startup for a given window style, e.g.:

(window-style "*" #:event-maps (list (1 . default-button-1-map) 
				     ('title . default-title-map)
				     ('window . default-window-map)))

[this avoids a bunch of attach-event-maps from being needed in the
new-window-hook -- the attaching of the default event maps needs to be
efficient, since it'll happen for each new window and on lots of
decorations -- it's only a single XSaveContext call for each attachment, 
which should be fine].

(event-map-for X-WINDOW-ID-OR-WIN)
;; Return the currently attach event-map object, if any, or #f


(remove-event-map X-WINDOW-ID-OR-WIN)
;; detach any event map from X-WINDOW-ID


OTHER ISSUES:

Top-level global event map that's used first before any others?


I'll try to come up with an example of using this system but please feel 
free to poke holes in it or query me about how one might accomplish
something you're interested in being able to do.  (Or if you think it's
redundant, overly-general, inefficient, etc.).

Thanks!


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 22 01:41:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA12721
	for scwm-discuss-outgoing; Wed, 22 Sep 1999 01:41:27 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA12715
	for <scwm-discuss@scwm.mit.edu>; Wed, 22 Sep 1999 01:41:23 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA16068; Tue, 21 Sep 1999 22:41:17 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: A treat for me...
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Sep 1999 22:41:17 -0700
Message-ID: <qrrln9z7bb6.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

It's been a blast these last two days watching the Scwm ranking climb
at:

http://www.plig.org/xwinman/vote.html

I added a link to the voting page at the Scwm web page http://scwm.mit.edu/.

Be sure to register (http://www.plig.org/xwinman/register.html) if you
haven't already and place your vote.

I'll be away from my desk much of tomorrow, but it'd be a real treat to
come back at night and see Scwm ahead of fvwm2 (we're 8 votes shy now).

Thanks!

Greg

P.S., Yes, I know it's silly, but people definitely look at this page--
it's got more hits than any other WM-featuring page out there...

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 22 03:32:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA13104
	for scwm-discuss-outgoing; Wed, 22 Sep 1999 03:32:00 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA13091;
	Wed, 22 Sep 1999 03:31:38 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id JAA06749;
	Wed, 22 Sep 1999 09:31:34 +0200 (MET DST)
Date: Wed, 22 Sep 1999 09:31:33 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-users@scwm.mit.edu, scwm-discuss@scwm.mit.edu
Subject: Re: How to set a style to icons ?
Message-ID: <19990922093132.A5829@youkaidi.irisa.fr>
References: <19990921102036.A1427@youkaidi.irisa.fr> <qrrzoyg9pnm.fsf@elwha.cs.washington.edu> <19990921185839.B2666@youkaidi.irisa.fr> <qrrvh949oq8.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.7us
In-Reply-To: <qrrvh949oq8.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

Is "scwm-users" the right place to discuss this topic ?

Greg Badros écrivait :
> Hubert Canon <Hubert.Canon@irisa.fr> writes:
> 
> > Greg Badros écrivait :
> > > Hubert Canon <Hubert.Canon@irisa.fr> writes:
> > > > I have something like that in my .scwmrc :
> > > > 
> > > > (window-style (title-match?? "^Emacs: \\(?\\*.*\\*\\)?" 'regexp)
> > > >               #:sticky #t #:bg "DeepSkyBlue3")
> > > > 
> > > > This style is applied on windows but not when they are iconified.
> > > 
> > > #:sticky-icon #t  may be the option that you need.
> > 
> > No. I already have this option set.
> > 
> > The problem is : when a window (for example "Emacs: (*scratch*)") is
> > not iconfied, it receive the window-style command and become sticky
> > and take the color DeepSkyBlue3, but if the window is iconified, and I
> > apply this command, and I de-iconify the window, the style was not set
> > : the window didn't become sticky and it has its previous color.
> 
> Ahhh... I understand now.  This is a bug.  There are a couple of
> problems with window styles, most of which relate to the way that
> window-styles are applied to all matching windows at the time of
> executing the window-style command.  Instead, some notion of specificity 
> should be considered.  E.g., a window style applied to "foobar" should
> have precedence over one applied to "*", even if the "*" comes later.
> This'll take some work to fix, and as you've learned, it take some work
> to even understand what we've currently got before figuring out how to
> improve it.

I don't that "a window style applied to "foobar" should have
precedence over one applied to "*", even if the "*" comes later." is a
good thing. What do you do if one window matches different styles :
for example "foobar" matches "foo*" and "*bar".


-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 22 03:55:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA13201
	for scwm-discuss-outgoing; Wed, 22 Sep 1999 03:55:47 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sebastian.neuroflex.com (root@[202.62.130.81])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA13198
	for <scwm-discuss@scwm.mit.edu>; Wed, 22 Sep 1999 03:55:39 -0400
Received: from tech.com.au (chris.neuroflex.com [172.16.1.24])
	by sebastian.neuroflex.com (8.9.3/8.8.7) with ESMTP id SAA04250
	for <scwm-discuss@scwm.mit.edu>; Wed, 22 Sep 1999 18:03:34 +1000
Message-ID: <37E88CA5.BBD298D4@tech.com.au>
Date: Wed, 22 Sep 1999 18:00:37 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: Re: A treat for me...
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I don't understand why gnome is listed as a window manager. I use scwm
AND gnome,
and could legitimately have voted for both (but it won't let me).
Presumably all the people who voted for gnome are using a real window
manager which they didn't get to vote on.
Anyway, I voted for scwm. I think your wish is fulfilled!

Greg Badros wrote:
> 
> It's been a blast these last two days watching the Scwm ranking climb
> at:
> 
> http://www.plig.org/xwinman/vote.html
> 
> I added a link to the voting page at the Scwm web page http://scwm.mit.edu/.
> 
> Be sure to register (http://www.plig.org/xwinman/register.html) if you
> haven't already and place your vote.
> 
> I'll be away from my desk much of tomorrow, but it'd be a real treat to
> come back at night and see Scwm ahead of fvwm2 (we're 8 votes shy now).
> 
> Thanks!
> 
> Greg
> 
> P.S., Yes, I know it's silly, but people definitely look at this page--
> it's got more hits than any other WM-featuring page out there...

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 22 04:07:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id EAA15421
	for scwm-discuss-outgoing; Wed, 22 Sep 1999 04:07:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sebastian.neuroflex.com (root@[202.62.130.81])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id EAA15418
	for <scwm-discuss@scwm.mit.edu>; Wed, 22 Sep 1999 04:06:54 -0400
Received: from tech.com.au (chris.neuroflex.com [172.16.1.24])
	by sebastian.neuroflex.com (8.9.3/8.8.7) with ESMTP id SAA04386
	for <scwm-discuss@scwm.mit.edu>; Wed, 22 Sep 1999 18:15:03 +1000
Message-ID: <37E88F56.D2B06B18@tech.com.au>
Date: Wed, 22 Sep 1999 18:12:06 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: Re: A treat for me...
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

How come scwm doesn't have an entry in the features comparison table?

Greg Badros wrote:
> 
> It's been a blast these last two days watching the Scwm ranking climb
> at:
> 
> http://www.plig.org/xwinman/vote.html
> 
> I added a link to the voting page at the Scwm web page http://scwm.mit.edu/.
> 
> Be sure to register (http://www.plig.org/xwinman/register.html) if you
> haven't already and place your vote.
> 
> I'll be away from my desk much of tomorrow, but it'd be a real treat to
> come back at night and see Scwm ahead of fvwm2 (we're 8 votes shy now).
> 
> Thanks!
> 
> Greg
> 
> P.S., Yes, I know it's silly, but people definitely look at this page--
> it's got more hits than any other WM-featuring page out there...

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 22 10:06:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA15925
	for scwm-discuss-outgoing; Wed, 22 Sep 1999 10:06:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA15922
	for <scwm-discuss@scwm.mit.edu>; Wed, 22 Sep 1999 10:05:48 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1)
	id 11Tn1d-000DWc-0A
	for scwm-discuss@scwm.mit.edu; Wed, 22 Sep 1999 14:05:38 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id PAA08177
	for scwm-discuss@scwm.mit.edu; Wed, 22 Sep 1999 15:04:43 +0100
Date: Wed, 22 Sep 1999 15:04:43 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Re: Curious -- your cool scwm ideas?
Message-ID: <19990922150443.M3916@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca>
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Setting Orange, Day 46 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Mon, Sep 20, 1999 at 10:44:45AM -0400, Jeff Mitchell wrote:

> [SNIP request for ideas for scwm]

The flexibility of scwm does have strange effect doesn't it? Two things have
sprung to mind in the last couple of weeks of getting to know scwm, one I've
tried to implement (with limited success) and one I wouldn't know where to
start.

The first idea was to make `next-window' work a little better. I've got
A-Tab bound to `(next-window #:only visible? #:except iconified?)' (actually
I've got a little wrapper that stops the pointer following window focus)
which almost does what I want. However, often, I'll be swapping between two
windows and I'm a little too lazy to use A-Tab to go one way and something
like S-A-Tab to go the other.

What I wanted was something similar to other environments I've used where
the "direction" depends on how you move. In the case of scwm I tried
something like this:

-- cut here ----------------------------------------------------------------
(define *next-window-timeout* 1)        ; See `dp:next-window'.

(defmacro dp:while-preserving-pointer-position (. body)
  (let ((pos (gensym))
        (res (gensym)))
    `(let ((,pos (pointer-position))
           (,res (begin ,@body)))
      (apply move-pointer-to ,pos)
      ,res)))
    
(define dp:focus-history-on-this-desktop
  (lambda ()
    "Return the focus history list for this desktop."
    (list-windows #:by-focus #t #:only on-current-desk?)))

(define dp:last-had-focus-on-this-desktop
  (lambda ()
    "Return the window that last had focus on this desktop."
    (let ((windows (dp:focus-history-on-this-desktop)))
      (cond ((zero? (length windows))
             windows)
            ((= (length windows) 1)
             (car windows))
            (else
             (cadr windows))))))

(define dp:focused-window-focus-longevity
  (lambda ()
    "Return the number of secods the focused window has had focus."
    (let ((who (current-window-with-focus)))
      (if who
          (- (current-time) (window-last-focus-time who))
        0))))

(define dp:next-window
  (lambda ()
    "Like `next-window' but, after a timeout, switches to last focused window instead."
    (if (> (dp:focused-window-focus-longevity) *next-window-timeout*)
        (let ((goto (dp:last-had-focus-on-this-desktop)))
          (if goto
              (begin
               (focus goto)
               (raise goto))))
      (dp:while-preserving-pointer-position
       (next-window #:only visible? #:except iconified?)))))

(define dp:prev-window
  (lambda ()
    "Wrapper for `prev-window' which uses handy defaults and preserves pointer location."
    (dp:while-preserving-pointer-position
     (prev-window #:only visible? #:except iconified?))))
-- cut here ----------------------------------------------------------------

The idea was that if I kept issuing `dp:next-window' (now bound to A-Tab)
quickly it would travel thru the visible windows. However, if spent more
than `*next-window-timeout*' seconds between each A-Tab it would jump to the
last focused window.

It almost works but, for some reason I can't quite fathom, it will sometimes
focus a window but not raise it, other times it simply gets "stuck" in one
window.

I'd love to know if anyone has had a go at implementing something like this
and have managed to make it work.

The second idea I had is probably not so easy. I was wondering about some
form of programmable pointer-avoidance system. The idea would be that, for
certain windows (this could be a window-style thing) I could say how long
the pointer should be in the window before it, under control of the WM,
moves out of the way and finds an empty bit of desktop.

I guess this only makes most sense when using click to focus.

The reason I'd want to use this is that I use a number of rxvt's and
sometimes I'll find that the I-bar cursor will be sat right in my line of
sight, getting it out of the way involves reaching for the mouse. Well, it
isn't quite that bad because I've got:

-- cut here ----------------------------------------------------------------
(bind-key 'all "H-F12"
          (lambda ()
            (if (eq? (current-window-with-focus) (current-window-with-pointer))
               (move-pointer-to (%x 95) (cadr (pointer-position))))))
-- cut here ----------------------------------------------------------------

which "does the job". What I'm thinking about is some method of having the
WM do this for me based on time the mouse pointer has been idle and what
kind of window it is within.

I suppose, as an alternative, the pointer could go invisible after a
configurable amount of time and could become visible the moment it is moved.

Again, if anyone has any ideas about how this could be implemented in scwm
right now I'd love to hear about them.

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 22 11:53:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA16102
	for scwm-discuss-outgoing; Wed, 22 Sep 1999 11:53:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from fielder.cs.washington.edu (fielder.cs.washington.edu [128.95.1.123])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA16099
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 22 Sep 1999 11:53:37 -0400
Received: (csk@localhost) by fielder.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA07739; Wed, 22 Sep 1999 08:52:30 -0700 (PDT)
From: csk@cs.washington.edu (Craig Kaplan)
Message-Id: <199909221552.IAA07739@fielder.cs.washington.edu>
Subject: Re: Curious -- your cool scwm ideas?
To: skeezix@skeleton.org
Date: Wed, 22 Sep 1999 08:52:30 -0700 (PDT)
Cc: robbe@orcus.priv.at, scwm-discuss@SCWM.MIT.EDU
In-Reply-To: <Pine.LNX.4.10.9909211525280.30084-100000@icomm.ca> from "Jeff Mitchell" at Sep 21, 99 03:27:52 pm
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

> On 21 Sep 1999, Robert Bihlmeyer wrote:
> 
> > Good point. I've actually switched from 0 to 1 pixel borders because I 
> > could not separate my xterms. I never thought of this. I think I'm
> > going back to no border.
> 
> 	I thought about no-border, but various degrees of transparencies
> for the xterms, but I thought it'd be too hard to control the transparency
> and readability -- ie: chosing hue properly, so the text wouldn't vanish
> against the background..

This maybe a bit off topic, but is this sort of partial transparency even
possible?  How does one achieve it under X?  

Thanks.

-- 
Craig.              http://www.cs.washington.edu/homes/csk/
Counterfactuals: what would the world be like without them?

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 22 12:50:31 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA16207
	for scwm-discuss-outgoing; Wed, 22 Sep 1999 12:50:31 -0400
Received: from mailhub-dmz4.bloomberg.net (mailhub-dmz4.bloomberg.net [205.216.112.158])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA16204
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 22 Sep 1999 12:50:25 -0400
Received: from blinky.bloomberg.com by mailhub-dmz4.bloomberg.net with ESMTP; Wed, 22 Sep 1999 12:49:09 -0400
Received: (from hjstein@localhost)
	by blinky.bloomberg.com (8.9.3/8.9.3) id MAA31718;
	Wed, 22 Sep 1999 12:48:18 -0400
X-Authentication-Warning: blinky.bloomberg.com: hjstein set sender to hjstein@bfr.co.il using -f
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite proposal revised...
References: <qrrn1uf7bh9.fsf@elwha.cs.washington.edu>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 22 Sep 1999 12:48:18 -0400
In-Reply-To: Greg Badros's message of "21 Sep 1999 22:37:38 -0700"
Message-ID: <kiw7lliuc31.fsf@blinky.bloomberg.com>
Lines: 219
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Greg Badros <gjb@cs.washington.edu> writes:

 > Event Rewrite Proposal for Scwm
 > Greg J. Badros, 
 >   Revised 21-Sep-1999, 19-Sep-1999
 >   2-Sep-1998, 3-Sep-1998, 5-Sep-1998, 6-Aug-1998

<snip>

Here are some comments/issues/questions that come to my mind when I
look over the proposal.  I hope I'm not offending anyone with these
questions/alternative interface proposals.  It's as much trying to
understand what the proposal is supposed to yield as opposed to
actually fielding alternative proposals.

 > 1 - Event objects:
 > ------------------
 > (make-key-event KEYSYM-NAME #&optional MODIFIER-SPECIFIER)
 > (key-event? OBJECT)
 > e.g.:
 > (make-key-event "F1")
 > (make-key-event "Return" '(control shift meta))

<snip>

 > MODIFIER-SPECIFIER is a list of symbolic modifiers.  If the first
 > element of the list is the pseudo-modifier 'exactly, then exactly 
 > the list of modifiers that follows must be depressed for the event
 > to be matched.  Modifiers include:
 > 
 > 'control 'shift 'meta 'super 'alt 'hyper 'numlock 'capslock 'mod[1-8]
 > '~control '~shift '~meta '~super '~alt '~hyper '~numlock '~capslock '~mod[1-8]
 > '*control '*shift '*meta '*super '*alt '*hyper '*numlock '*capslock '*mod[1-8]

Firstly, this seems way to complicated.  It's also confusing in that
it mixes actual X modifiers with all these other things.  For that
matter, there are lots of confusing border cases for which the exact
meaning is unclear.  For example, what's 

   (make-key-event 'x '(control ~control *control))

or

   (make-key-event 'x '(except numlock with ~numlock iwith *numlock shift))

supposed to mean?  Futhermore, there's no mechanism for seeing exactly
*what* it means.

I'd think it'd be better to have a low level function which maps
closer to the underlying X keyboard events.  The above make-key-event
where the optional argument is restricted to be a list of real
modifiers would be fine.  Then give a higher level convenience
macro maybe with keyword arguments to make handling sets
of modifiers more convenient.  Using a macro is convenient because
then one can expand it to see exactly what modifier-specifier list it
generates.

You also haven't said anything of the read & write syntax for key
event objects.  For that matter, many of the fcns return values (other
than the obvious make-* & *? fcns) are unspecified - what do
add-event-binding, add-event-map-parent!, dispatch-event, ...  return?

The same goes for make-mouse-event, although in this case it seems
that some abstraction really does need to be done over the raw X model
to allow for single vs double clicks.

Regarding make-x-event, most important is that you don't specify the
arguments for the procedures passed to add-event-binding.  What
information do you pass to them?  Do you pass the event along with the
window?  Do you pass nothing?

About make-x-event, you state:

 > Note that make-x-event can be viewed as the most primitive case, and the
 > other two procedures can be seen as adding a C-level filter and event
 > grabbing capabilities on top of the actual X-event.  E.g.,
 > (make-mouse-event 1 'release) is applicable if there is a x-event
 > "ButtonRelease" and the button number is 1.  X-event bindings will never 
 > do any grabs implicitly-- key-events need to be used for that.

Could you explain this more.  I don't see how a make-key-event can be
converted to a make-x-event.  If this is really the case, then one
could make a case that make-x-event is the lower level fcn I was
asking for & that make-key-event & make-mouse-event are higher level
wrappers for make-x-event.  Then I'd only have objections about the
syntax for make-key-event & make-mouse-event, as well as that they're
functions instead of macros.

Also, why are there three types of objects - x-event, key-event &
mouse-event?  Why not just an x-event?

Regarding event maps, you start talking about events, but never define
them.  I assume they can be x-event, key-event or mouse-event objects?
If so, then again, why not make them all just event objects - why the
distinction?

Also, why do events trigger all matching event procedures instead of
just the first match?  This necessitates the use of 'pass instead of
just putting in something like (lambda ( . x) #t).  This is what Tk
does and although it allows in a certain sense kinds of before/after
methods, it also leads to extremely confusing and difficult to
modify/maintain behaviors.  I think one'd be better off just having
the most specific event firing off.

For that matter, why are events distinct objects?  Why not just have
event-maps?  One can have some sort of syntax for specifying events,
with maybe a macro for succinctly specifying events.  Maybe something
like:

(add-event-binding event-map
                   '((keypress) x (control alt))
                   (lambda (event window) ...))

What is the purpose of having event objects?  Do they give anything
extra to the user?  What's the difference between the above and:

(add-event-binding event-map
                   (make-key-event "x" '(control alt))
                   (lambda (event window) ...))

Isn't the latter all the user really will ever need?  Or am I missing
some utility you're thinking of?

As for dispatch-event, you say that instead of passing arguments to
the event procedures (which I guess answers my question above about
the arguments to fcns passed to add-event-binding), you say:


 > ;; Each procedure is invoked with *no* arguments.  Obviously there is
 > ;; information that the bound procedures will need to receive, but having
 > ;; those objects be arguments would necessitate changing the argument
 > ;; list to all procedures that are intended to be bound to an action.
 > 
 > ;; Instead, the event-specific information will be available to the
 > ;; dispatched procedure via the thread-local variable `last-event'.  That
 > ;; variable should be accessed via the following accessors.
 > ;; E.g., the event-target can be accessed via the expression `(event-target last-event)'
 > ;; The `last-event' variable will be #f if the procedure is not invoked
;; from an event handler.  

Two questions - First of all, wouldn't passing the event & the
associated window to the procedure be more appropriate?  If so, then
you could offer more than one add-event-binding fcn, one for the old
interface & one for a newer interface where the relevant data is
passed in.

Second question - Why have a visible last-event variable if you have
accessors such as event-target, etc.  This implies that last-event
could be saved & used again later - that I can do something like:

   (let ((prev-event #f))
       (define (action)
           ... Do something based on (event-target prev-event)
           and (event-target last-event), when prev-event is not
           #f... 
           (set! prev-event last-event)))

Is this the intention?  If not, then maybe last-event should be
eliminated and the accessors should be functions of no arguments -
(event-target), (event-window-id), etc.

Getting back to my comments about 

(add-event-binding event-map
                   '((keypress) x (control alt))
                   (lambda (event window) ...))

vs

(add-event-binding event-map
                   (make-key-event "x" '(control alt))
                   (lambda (event window) ...))


The ultimate purpose seems to be in the binding of event maps.
None of the above really does anything until one calls
attach-event-map.

So, similarly, what does it do to have (attach-event-map ID EVENT-MAP)
as opposed to just (attach-event ID EVENT PROC)?  Does it buy the user
a lot?  Does it buy the implementation a lot?  It obviously allows
(actually, almost forces) grouping events together, but grouping could
be made optional by having a couple of convenience macros such as
(attach-event-list ID '((EVENT1 . PROC1) (EVENT2 . PROC2) ...)) and 
(merge-event-lists ELIST1 ELIST2).

It's hard to evaluate the proposal without concrete examples of what's
wrong with the current setup and what the general capabilities
required are.  If the motivations listed in the introduction are
made a little less specific in the sense of listing capabilities &
requirements without explicitly specifying event maps as a solution,
then I'd think that 1 function, namely attach-event as indicated above
would be sufficient.  Is there any reason to do anything else?

One reason I can think of is if you want to be able to do something
like:

   (define emap (make-event-map))
   (window-style ... #:event-maps `((title . ,emap)))
   (add-event-binding emap ...)
   (add-event-binding emap ...)
   (add-event-binding emap ...)

where the bindings added/changed later dynamically affect all windows?

One could then imagine event procs or other things actually modifying
event maps the fly, which might be cool or might be seriously
confusing.

It might be appropriate instead to modify window-style.  There are all
sorts of filterings and layerings associated with the 1st argument to
window-style, and then these layerings exist a 2nd time with the
event-maps.  Are both necessary?

-- 
Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 22 12:51:55 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA16212
	for scwm-discuss-outgoing; Wed, 22 Sep 1999 12:51:55 -0400
Received: from icomm.ca (icomm.ca [216.126.72.23])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA16209
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 22 Sep 1999 12:51:51 -0400
Received: from localhost (skeezix@localhost)
	by icomm.ca (8.9.3/8.9.3/iComm) with ESMTP id MAA05456;
	Wed, 22 Sep 1999 12:51:12 -0400
X-Authentication-Warning: icomm.ca: skeezix owned process doing -bs
Date: Wed, 22 Sep 1999 12:51:11 -0400 (EDT)
From: Jeff Mitchell <skeezix@skeleton.org>
X-Sender: skeezix@icomm.ca
Reply-To: skeezix@skeleton.org
To: Craig Kaplan <csk@cs.washington.edu>
cc: robbe@orcus.priv.at, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Curious -- your cool scwm ideas?
In-Reply-To: <199909221552.IAA07739@fielder.cs.washington.edu>
Message-ID: <Pine.LNX.4.10.9909221249040.30084-100000@icomm.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Wed, 22 Sep 1999, Craig Kaplan wrote:

> > 	I thought about no-border, but various degrees of transparencies
> > for the xterms, but I thought it'd be too hard to control the transparency
> > and readability -- ie: chosing hue properly, so the text wouldn't vanish
> > against the background..
> 
> This maybe a bit off topic, but is this sort of partial transparency even
> possible?  How does one achieve it under X?  

	Xterm's have been doing it for ages. No one has been keen enough
to make a dynamic theme daemon or the like to control
themes/skins/backgrounds on various programs, or make a standard to do
so.. so the best you can do these days is to have an xterm (like aterm, or
rxvt, or any number of others .. eterm...etc etc) that knows how to check
the X desktop background, do some shading and transparency effects, and
use that as the xterm background with the right offsets .. so its just
like transparency, but doen't work with multiply stacked xterms..

	There are many groups working on special effects. See the
Enlightenment series of websites for some smashing displays..

	Or check themes.org. I'm surprised you've missed the whole slew of
bizarre effetcs put into xterms over the last few years..

		jeff

--
"It's murder out there. You can't even travel around in your own micro
circuits without permission from 'Master Control Program'. I mean,
sending *ME* down here to play games.... Who does he calculate he is?"
-- Peter Jurasik as Crom, _Tron_


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 22 13:26:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA16512
	for scwm-discuss-outgoing; Wed, 22 Sep 1999 13:26:21 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from fielder.cs.washington.edu (fielder.cs.washington.edu [128.95.1.123])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA16509
	for <scwm-discuss@scwm.mit.edu>; Wed, 22 Sep 1999 13:26:17 -0400
Received: (csk@localhost) by fielder.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA07864; Wed, 22 Sep 1999 10:26:08 -0700 (PDT)
From: csk@cs.washington.edu (Craig Kaplan)
Message-Id: <199909221726.KAA07864@fielder.cs.washington.edu>
Subject: Re: Curious -- your cool scwm ideas?
To: skeezix@skeleton.org
Date: Wed, 22 Sep 1999 10:26:08 -0700 (PDT)
Cc: scwm-discuss@scwm.mit.edu
In-Reply-To: <Pine.LNX.4.10.9909221249040.30084-100000@icomm.ca> from "Jeff Mitchell" at Sep 22, 99 12:51:11 pm
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

> > > 	I thought about no-border, but various degrees of transparencies
> > > for the xterms, but I thought it'd be too hard to control the transparency
> > > and readability -- ie: chosing hue properly, so the text wouldn't vanish
> > > against the background..
> > 
> > This maybe a bit off topic, but is this sort of partial transparency even
> > possible?  How does one achieve it under X?  
> 
> 	Xterm's have been doing it for ages. No one has been keen enough
> to make a dynamic theme daemon or the like to control
> themes/skins/backgrounds on various programs, or make a standard to do
> so.. so the best you can do these days is to have an xterm (like aterm, or
> rxvt, or any number of others .. eterm...etc etc) that knows how to check
> the X desktop background, do some shading and transparency effects, and
> use that as the xterm background with the right offsets .. so its just
> like transparency, but doen't work with multiply stacked xterms..
> 
> 	There are many groups working on special effects. See the
> Enlightenment series of websites for some smashing displays..
> 
> 	Or check themes.org. I'm surprised you've missed the whole slew of
> bizarre effetcs put into xterms over the last few years..

No, I haven't missed all that (it would be pretty difficult).  What you're
saying here is that X in fact _doesn't_ have any special facility for
partial transparency, and that each app that wishes to be partially 
transparent has to implement the effect on its own.  And, as you say, this
only takes into account a window's relationship with the root or some
fixed backdrop; seems sort of limited to me.

You see, what I'd really like to have are windows with no borders, but
partially-transparent drop shadows.  I think this would be a great effect:
no real estate lost to borders, no lower windows unnecessarily covered
(just darkened a bit), and the depth cueing would go a long way towards
keeping windows visually distinct.

Unfortunately, from what you say about partial transparency, this isn't
possible.  Right?  Anybody want to add an alpha channel to X?

BTW -- nice idea about subtle bg colour changes in xterms -- I think
that would work well.

-- 
Craig.              http://www.cs.washington.edu/homes/csk/
Counterfactuals: what would the world be like without them?

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 22 14:02:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA16671
	for scwm-discuss-outgoing; Wed, 22 Sep 1999 14:02:14 -0400
Received: from icomm.ca (icomm.ca [216.126.72.23])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA16668
	for <scwm-discuss@scwm.mit.edu>; Wed, 22 Sep 1999 14:02:10 -0400
Received: from localhost (skeezix@localhost)
	by icomm.ca (8.9.3/8.9.3/iComm) with ESMTP id OAA07805;
	Wed, 22 Sep 1999 14:01:58 -0400
X-Authentication-Warning: icomm.ca: skeezix owned process doing -bs
Date: Wed, 22 Sep 1999 14:01:57 -0400 (EDT)
From: Jeff Mitchell <skeezix@skeleton.org>
X-Sender: skeezix@icomm.ca
Reply-To: skeezix@skeleton.org
To: Craig Kaplan <csk@cs.washington.edu>
cc: scwm-discuss@scwm.mit.edu
Subject: Re: Curious -- your cool scwm ideas?
In-Reply-To: <199909221726.KAA07864@fielder.cs.washington.edu>
Message-ID: <Pine.LNX.4.10.9909221359060.30084-100000@icomm.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Wed, 22 Sep 1999, Craig Kaplan wrote:

> Unfortunately, from what you say about partial transparency, this isn't
> possible.  Right?  Anybody want to add an alpha channel to X?

	I've been tossing around the idea of putting together a
theme-engine or daemon or plug-in or the like -- some intelligent way for
the WM and apps to request information about what theiur appearance should
be. It coudl take the form of a Hint or pipe-polling or somesuch. Most gtk
derived applications have theme support, and perhaps a transparency theme
could be arranged. Browsers have a resource for background colour. Xterms
have transparency or background colours or the like. I'm sure some sort of
copoperation could be useful...

	... but of course, a good solution would be better. That'd be a
lot of work, though, sadly.

> BTW -- nice idea about subtle bg colour changes in xterms -- I think
> that would work well.

	Danke. In a perfect world, it could be very neat. 

	Perhaps the group working on 3d window managers will get somewhere
(ie: using a 3d card for display). Floating windows with fog underneath..
wankful, but amusing to think about.

		jeff

--
"It's murder out there. You can't even travel around in your own micro
circuits without permission from 'Master Control Program'. I mean,
sending *ME* down here to play games.... Who does he calculate he is?"
-- Peter Jurasik as Crom, _Tron_


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 22 14:30:09 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA16776
	for scwm-discuss-outgoing; Wed, 22 Sep 1999 14:30:09 -0400
Received: from vh213601.truman.edu ([150.243.160.32])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA16772
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 22 Sep 1999 14:30:03 -0400
Received: (from jay@localhost)
	by vh213601.truman.edu (8.9.3/8.9.3) id NAA25172;
	Wed, 22 Sep 1999 13:26:29 -0500
Date: Wed, 22 Sep 1999 13:26:29 -0500
Message-Id: <199909221826.NAA25172@vh213601.truman.edu>
X-Authentication-Warning: vh213601.truman.edu: jay set sender to jay@vh213601.truman.edu using -f
From: Jay Belanger <jay@vh213601.truman.edu>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 21 Sep 1999 22:41:17 -0700)
Subject: Yay scwm!  (And a cassowary question.)
References:  <qrrln9z7bb6.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> I'll be away from my desk much of tomorrow, but it'd be a real treat to
> come back at night and see Scwm ahead of fvwm2 (we're 8 votes shy now).

Fvwm2?  I see fvwm-95 and fvwm on the list ...
At any rate, both of them are currently eating scwm's dust (not, of
course, that this is any sort of a competition), and I'm hoping that
Greg will come back and see scwm ahead of enlightenment.  (Currently a
mere 7 votes behind.)

> P.S., Yes, I know it's silly, 

So...?  Is there something wrong with silly?

Next, I currently have scwm on two computers, one with a relatively
small hard drive.  I only have cassowary installed on the larger
computer.  (I'll probably delete some files from my smaller computer,
so I'll have more room, but currently ...)  Given that it's so big,
perhaps the ftp site could contain rpms for scwm without cassowary as
well as with it, for those with less room on their hard drive.
(Currently the rpm for scwm requires cassowary.)  This doesn't affect
me, btw, since I use the CVS version.  Also, the license strikes me as
being a little unclear.  It looks as if I'm only given permission to
use cassowary for my research purposes, and so I may be in violation
of the license.  Which is another reason why scwm without cassowary
should be available as an rpm.

Jay

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 22 16:23:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA17481
	for scwm-discuss-outgoing; Wed, 22 Sep 1999 16:23:01 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA17468;
	Wed, 22 Sep 1999 16:22:49 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA17001; Wed, 22 Sep 1999 13:22:38 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-users@scwm.mit.edu, scwm-discuss@scwm.mit.edu
Subject: Re: How to set a style to icons ?
References: <19990921102036.A1427@youkaidi.irisa.fr> <qrrzoyg9pnm.fsf@elwha.cs.washington.edu> <19990921185839.B2666@youkaidi.irisa.fr> <qrrvh949oq8.fsf@elwha.cs.washington.edu> <19990922093132.A5829@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Sep 1999 13:22:37 -0700
In-Reply-To: Hubert Canon's message of "Wed, 22 Sep 1999 09:31:33 +0200"
Message-ID: <qrrd7va7l2q.fsf@elwha.cs.washington.edu>
Lines: 39
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hi,
> 
> Is "scwm-users" the right place to discuss this topic ?

Yes.

<snip>

> > > No. I already have this option set.
> > > 
> > > The problem is : when a window (for example "Emacs: (*scratch*)") is
> > > not iconfied, it receive the window-style command and become sticky
> > > and take the color DeepSkyBlue3, but if the window is iconified, and I
> > > apply this command, and I de-iconify the window, the style was not set
> > > : the window didn't become sticky and it has its previous color.
> > 
> > Ahhh... I understand now.  This is a bug.  There are a couple of
> > problems with window styles, most of which relate to the way that
> > window-styles are applied to all matching windows at the time of
> > executing the window-style command.  Instead, some notion of specificity 
> > should be considered.  E.g., a window style applied to "foobar" should
> > have precedence over one applied to "*", even if the "*" comes later.
> > This'll take some work to fix, and as you've learned, it take some work
> > to even understand what we've currently got before figuring out how to
> > improve it.
> 
> I don't that "a window style applied to "foobar" should have
> precedence over one applied to "*", even if the "*" comes later." is a
> good thing. What do you do if one window matches different styles :
> for example "foobar" matches "foo*" and "*bar".

Though this is an oversimplification, I think we need some way (either
implied or explicit) of ensuring that a "*" used later doesn't just
match everything.  Maybe the notion of a default style (separate from
"*" is sufficient).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 22 16:52:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA17683
	for scwm-discuss-outgoing; Wed, 22 Sep 1999 16:52:10 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA17679
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 22 Sep 1999 16:52:04 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11TqsH-0001k0C@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Wed, 22 Sep 1999 14:12:13 -0400 (EDT) 
Message-Id: <m11TqsH-0001k0C@localhost>
Date: Wed, 22 Sep 1999 14:12:13 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <wshfko46it.fsf@orcus.priv.at> (message from Robert Bihlmeyer on
	21 Sep 1999 17:40:42 +0200)
Subject: Re: Curious -- your cool scwm ideas?
Reply-to: bob@rattlesnake.com
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <199909201536.LAA02351@soup.ads.apexinc.com> <qrr4sgpcxa8.fsf@elwha.cs.washington.edu> <199909202113.RAA11573@soup.ads.apexinc.com> <wshfko46it.fsf@orcus.priv.at>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=NIL
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Robert Bihlmeyer <robbe@orcus.priv.at> wrote:
   I think we are in need of all this:

   1. sample scwmrcs that are used in real life (i.e. they are functional,
      work out of the box, and are more or less supported)

Yes, definately.  And ideally, each should have a menu pointing to
each of the others so you can try each different one... like
circulating around decors, but around complete .scwmrc files.

The rest is good, too.  But a bunch of working .scwmrc files is most
important. 


-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 22 17:09:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA17845
	for scwm-discuss-outgoing; Wed, 22 Sep 1999 17:09:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA17841
	for <scwm-discuss@scwm.mit.edu>; Wed, 22 Sep 1999 17:09:12 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA17066; Wed, 22 Sep 1999 14:07:36 -0700 (PDT)
To: Chris Bitmead <chris@tech.com.au>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: A treat for me...
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <37E88CA5.BBD298D4@tech.com.au>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Sep 1999 14:07:36 -0700
In-Reply-To: Chris Bitmead's message of "Wed, 22 Sep 1999 18:00:37 +1000"
Message-ID: <qrr1zbq7izr.fsf@elwha.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

> I don't understand why gnome is listed as a window manager. I use scwm
> AND gnome,
> and could legitimately have voted for both (but it won't let me).
> Presumably all the people who voted for gnome are using a real window
> manager which they didn't get to vote on.

Yep... but they're confused about what a window manager is, it
seems....  (I'm betting they're not Scwm users, either! :-) ).

> Anyway, I voted for scwm. I think your wish is fulfilled!

THANKS-- not until we're #1, but I really appreciate the leaps and
bounds of progress of late.... keep the votes rolling in as your time
permits! 


Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 22 19:29:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA18486
	for scwm-discuss-outgoing; Wed, 22 Sep 1999 19:29:02 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from cr610941-a.rct1.bc.wave.home.com (cr610941-a.rct1.bc.wave.home.com [24.113.76.219])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA18483
	for <scwm-discuss@scwm.mit.edu>; Wed, 22 Sep 1999 19:28:56 -0400
Received: from root by cr610941-a.rct1.bc.wave.home.com with local (Exim 3.03 #1 (Debian))
	id 11TvoX-0003Zw-00; Wed, 22 Sep 1999 16:28:41 -0700
X-Uptime:   4:28pm  up 1 day,  6:27,  2 users,  load average: 0.05, 0.04, 0.04
X-OS: Linux cr610941-a 2.2.11 #2 Mon Sep 6 15:40:58 PDT 1999 i586 unknown
X-Homepage: http://www.sfu.ca/~stephent
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: A treat for me...
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Stephen Tse <stephent@sfu.ca>
Date: 22 Sep 1999 16:28:41 -0700
In-Reply-To: Greg Badros's message of "21 Sep 1999 22:41:17 -0700"
Message-ID: <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com>
Lines: 36
X-Mailer: Gnus v5.6.45/XEmacs 21.2 - "Shinjuku"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:



Anyone would like to argue why wmaker is so popular these days
(highest score in the voting)?

I used wmaker before scwm and I was impressed with its aesthetic
outlook (nice set of icons, smooth shading) and consistent design
(follow nextstep).

Anyone has .scwmrc that gimmicks _exact_ outlook of wmaker? 
<http://www.sfu.ca/~stephent/linux/screenshot.gif> With wmaker as
default scwm theme I am sure scwm will attract more newbies!



> It's been a blast these last two days watching the Scwm ranking climb
> at:
> 
> http://www.plig.org/xwinman/vote.html
> 
> I added a link to the voting page at the Scwm web page http://scwm.mit.edu/.
> 
> Be sure to register (http://www.plig.org/xwinman/register.html) if you
> haven't already and place your vote.
> 
> I'll be away from my desk much of tomorrow, but it'd be a real treat to
> come back at night and see Scwm ahead of fvwm2 (we're 8 votes shy now).
> 
> Thanks!
> 
> Greg
> 
> P.S., Yes, I know it's silly, but people definitely look at this page--
> it's got more hits than any other WM-featuring page out there...

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 00:21:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA19068
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 00:21:10 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA19065
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 23 Sep 1999 00:21:01 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id VAA17604; Wed, 22 Sep 1999 21:20:53 -0700 (PDT)
To: Stephen Tse <stephent@sfu.ca>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: A treat for me...
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Sep 1999 21:20:53 -0700
In-Reply-To: Stephen Tse's message of "22 Sep 1999 16:28:41 -0700"
Message-ID: <qrrso465kd6.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tse <stephent@sfu.ca> writes:

> Anyone would like to argue why wmaker is so popular these days
> (highest score in the voting)?
> 
> I used wmaker before scwm and I was impressed with its aesthetic
> outlook (nice set of icons, smooth shading) and consistent design
> (follow nextstep).
> 
> Anyone has .scwmrc that gimmicks _exact_ outlook of wmaker? 
> <http://www.sfu.ca/~stephent/linux/screenshot.gif> With wmaker as
> default scwm theme I am sure scwm will attract more newbies!

Not exact, but there is an afterstep theme that is pretty close.  After
the decoration rewrite I'm sure something *really* close will be
possible (and you can probably get closer now that we currently are).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 02:33:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA19270
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 02:33:01 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sebastian.neuroflex.com (root@[202.62.130.81])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA19267
	for <scwm-discuss@scwm.mit.edu>; Thu, 23 Sep 1999 02:32:53 -0400
Received: from tech.com.au (chris.neuroflex.com [172.16.1.24])
	by sebastian.neuroflex.com (8.9.3/8.8.7) with ESMTP id QAA23031
	for <scwm-discuss@scwm.mit.edu>; Thu, 23 Sep 1999 16:39:50 +1000
Message-ID: <37E9CAEA.9A4945C9@tech.com.au>
Date: Thu, 23 Sep 1999 16:38:34 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: Re: A treat for me...
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk



Stephen Tse wrote:
> 
> Greg Badros <gjb@cs.washington.edu> writes:
> 
> Anyone would like to argue why wmaker is so popular these days
> (highest score in the voting)?

Like the voting page says... Don't take too much notice of the figures.
It's nice to have scwm up there for publicity reasons, but it doesn't
mean wmaker is on top. I suspect enlightement beats wm if only because
it is standard with Redhat.


> 
> I used wmaker before scwm and I was impressed with its aesthetic
> outlook (nice set of icons, smooth shading) and consistent design
> (follow nextstep).
> 
> Anyone has .scwmrc that gimmicks _exact_ outlook of wmaker?
> <http://www.sfu.ca/~stephent/linux/screenshot.gif> With wmaker as
> default scwm theme I am sure scwm will attract more newbies!
> 
> > It's been a blast these last two days watching the Scwm ranking climb
> > at:
> >
> > http://www.plig.org/xwinman/vote.html
> >
> > I added a link to the voting page at the Scwm web page http://scwm.mit.edu/.
> >
> > Be sure to register (http://www.plig.org/xwinman/register.html) if you
> > haven't already and place your vote.
> >
> > I'll be away from my desk much of tomorrow, but it'd be a real treat to
> > come back at night and see Scwm ahead of fvwm2 (we're 8 votes shy now).
> >
> > Thanks!
> >
> > Greg
> >
> > P.S., Yes, I know it's silly, but people definitely look at this page--
> > it's got more hits than any other WM-featuring page out there...

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 02:47:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA19328
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 02:47:21 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA19325
	for <scwm-discuss@scwm.mit.edu>; Thu, 23 Sep 1999 02:47:15 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id XAA17824; Wed, 22 Sep 1999 23:47:05 -0700 (PDT)
To: Chris Bitmead <chris@tech.com.au>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: A treat for me...
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com> <37E9CAEA.9A4945C9@tech.com.au>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Sep 1999 23:47:05 -0700
In-Reply-To: Chris Bitmead's message of "Thu, 23 Sep 1999 16:38:34 +1000"
Message-ID: <qrrg1065dli.fsf@elwha.cs.washington.edu>
Lines: 27
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

> Stephen Tse wrote:
> > 
> > Greg Badros <gjb@cs.washington.edu> writes:
> > 
> > Anyone would like to argue why wmaker is so popular these days
> > (highest score in the voting)?
> 
> Like the voting page says... Don't take too much notice of the figures.
> It's nice to have scwm up there for publicity reasons, but it doesn't
> mean wmaker is on top. I suspect enlightement beats wm if only because
> it is standard with Redhat.

Agreed completely.  I'm partially going on this publicity rampage
because I'm a bit annoyed that we didn't make the Linux Journal
list... don't forget to fill it out with a write in "Scwm" for "Favorite
Window Manager" (about 2/3 down the page at:

http://207.178.22.52/contest/readchoice.html

).

And also remember the favorite language (Scheme, perhaps? :-) ).

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 03:02:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA19417
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 03:02:36 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sebastian.neuroflex.com (root@[202.62.130.81])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA19413
	for <scwm-discuss@scwm.mit.edu>; Thu, 23 Sep 1999 03:02:29 -0400
Received: from tech.com.au (chris.neuroflex.com [172.16.1.24])
	by sebastian.neuroflex.com (8.9.3/8.8.7) with ESMTP id RAA23847
	for <scwm-discuss@scwm.mit.edu>; Thu, 23 Sep 1999 17:09:32 +1000
Message-ID: <37E9D1DC.CF78BE67@tech.com.au>
Date: Thu, 23 Sep 1999 17:08:12 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: Re: A treat for me...
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com> <37E9CAEA.9A4945C9@tech.com.au> <qrrg1065dli.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> Agreed completely.  I'm partially going on this publicity rampage
> because I'm a bit annoyed that we didn't make the Linux Journal
> list... don't forget to fill it out with a write in "Scwm" for "Favorite
> Window Manager" (about 2/3 down the page at:

We're within shooting distance of enlightenment now!

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 08:20:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id IAA22235
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 08:20:24 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id IAA22232
	for <scwm-discuss@scwm.mit.edu>; Thu, 23 Sep 1999 08:20:17 -0400
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id WAA13218
	for <scwm-discuss@scwm.mit.edu>; Thu, 23 Sep 1999 22:20:05 +1000
Message-ID: <389AA1F2.CE667A38@tech.com.au>
Date: Fri, 04 Feb 2000 20:54:58 +1100
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: Gnome pager
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Is the gnome pager supposed to work with scwm? It is reporting the
correct desktop for me, but it won't change desktops when I click on it.

Chris.

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 10:02:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA22410
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 10:02:14 -0400
Received: from mailhub-dmz4.bloomberg.net (mailhub-dmz4.bloomberg.net [205.216.112.158])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA22407
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 23 Sep 1999 10:02:10 -0400
Received: from blinky.bloomberg.com by mailhub-dmz4.bloomberg.net with ESMTP; Thu, 23 Sep 1999 10:00:52 -0400
Received: (from hjstein@localhost)
	by blinky.bloomberg.com (8.9.3/8.9.3) id KAA05691;
	Thu, 23 Sep 1999 10:00:01 -0400
X-Authentication-Warning: blinky.bloomberg.com: hjstein set sender to hjstein@bfr.co.il using -f
To: Chris Bitmead <chris@tech.com.au>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: A treat for me...
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com> <37E9CAEA.9A4945C9@tech.com.au>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 23 Sep 1999 10:00:01 -0400
In-Reply-To: Chris Bitmead's message of "Thu, 23 Sep 1999 16:38:34 +1000"
Message-ID: <kiwln9xybha.fsf@blinky.bloomberg.com>
Lines: 48
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

 > Stephen Tse wrote:
 > > 
 > > Greg Badros <gjb@cs.washington.edu> writes:
 > > 
 > > Anyone would like to argue why wmaker is so popular these days
 > > (highest score in the voting)?
 > 
 > Like the voting page says... Don't take too much notice of the figures.
 > It's nice to have scwm up there for publicity reasons, but it doesn't
 > mean wmaker is on top. I suspect enlightement beats wm if only because
 > it is standard with Redhat.

Isn't enlightenment the default window manager for GNOME & KDE?  If
that's the case then the GNOME & KDE votes are really for
enlightment.  In that case, one should total the #s for GNOME, KDE &
enlightment, which gives 137 votes for enlightment.

What would be utterly cool would be

   a) themes matching each of the other window managers, and
   b) readers for each of the others' init file.

then just tell the window-maker users to put:

   (load-foreign-init-files 'window-maker)

in their .scwmrc, and the fvwm users to use:

   (load-foreign-init-files 'fvwm)

etc.

Should be doable and not especially hard for everything except gwm.
If you do it for gwm, you've gone a long way towards writing an elisp
loader for guile.

BTW, has anyone else noticed Sawmill
(http://www.dcs.warwick.ac.uk/~john/sw/sawmill) in
Xwinman's other section (http://www.plig.org/xwinman/others.html)?  It
looks exactly like scwm except that it a) uses lisp instead of scheme
and b) started from scratch instead of from fvwm.

-- 
Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 10:40:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA22475
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 10:40:36 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA22472
	for <scwm-discuss@scwm.mit.edu>; Thu, 23 Sep 1999 10:40:29 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1)
	id 11UA2p-000HiS-0A
	for scwm-discuss@scwm.mit.edu; Thu, 23 Sep 1999 14:40:23 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id PAA17166
	for scwm-discuss@scwm.mit.edu; Thu, 23 Sep 1999 15:38:55 +0100
Date: Thu, 23 Sep 1999 15:38:54 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Re: Gnome pager
Message-ID: <19990923153854.A3916@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com> <389AA1F2.CE667A38@tech.com.au>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="Bn2rw/3z4jIqBvZU"
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <389AA1F2.CE667A38@tech.com.au>
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Sweetmorn, Day 47 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


--Bn2rw/3z4jIqBvZU
Content-Type: text/plain; charset=us-ascii

On Fri, Feb 04, 2000 at 08:54:58PM +1100, Chris Bitmead wrote:

> Is the gnome pager supposed to work with scwm? It is reporting the correct
> desktop for me, but it won't change desktops when I click on it.

IIRC Greg fixed this in CVS. If, like me, you're running with scwm built
from the last snapshot you'll need to apply the fix detailed in the attached
email and re-compile. Worked for me.

BTW, I've still not worked out how I can tell the Gnome pager that I've got
more than four desktops. Does anyone out there know how I can change the
number?

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

--Bn2rw/3z4jIqBvZU
Content-Type: message/rfc822

Return-Path: <owner-scwm-discuss@scwm.mit.edu>
Received: from punt-11.mail.demon.net (punt-11.mail.demon.net [194.217.242.34])
	by hagbard.demon.co.uk (8.9.3/8.9.3) with SMTP id AAA05640
	for <davep@hagbard.demon.co.uk>; Thu, 16 Sep 1999 00:45:34 +0100
Received: from punt-1.mail.demon.net by mailstore for davep@hagbard.demon.co.uk
          id 937435413:10:07835:3; Wed, 15 Sep 99 22:43:33 GMT
Received: from scwm.mit.edu ([18.244.1.24]) by punt-1.mail.demon.net
           id aa1110321; 15 Sep 99 22:43 GMT
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA29699
	for scwm-discuss-outgoing; Wed, 15 Sep 1999 18:11:01 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA29691
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Sep 1999 18:09:38 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA15024; Wed, 15 Sep 1999 15:09:30 -0700 (PDT)
To: Jay Belanger <jay@vh213601.truman.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Last pre-release: scwm-0.99.2pre11
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Sep 1999 15:09:30 -0700
In-Reply-To: Jay Belanger's message of "Tue, 14 Sep 1999 18:09:19 -0500"
Message-ID: <qrrvh9bu8rp.fsf@elwha.cs.washington.edu>
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@scwm.mit.edu
Precedence: bulk

Jay Belanger <jay@vh213601.truman.edu> writes:

<snip>

> Well, scwm seems to work great now.  It even wins the scwm-pager race!
> However, while the panel is now accessible, clicking on the pager
> doesn't change workspaces.  (Doesn't bother me, but I thought it was
> worth mentioning.)  Right now, I'm really happy with the way it's
> working ... kudos!!

I just fixed the pager bug in CVS.  It's a one line fix: events.c:936
should test if the hook is not empty with:

  if (SCM_BOOL_F == scm_empty_hook_p(client_message_hook)) {

instead of

  if (SCM_BOOL_F != scm_empty_hook_p(client_message_hook)) {

Any guile person want to remind me why SCM_BOOL_F was not made to be 0?
I know the tagging scheme is complex, but I'd certainly design it so
that I could have 0 be #f.

Greg

--Bn2rw/3z4jIqBvZU--

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 10:53:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA22541
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 10:53:51 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA22538
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 23 Sep 1999 10:53:46 -0400
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id AAA14125
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 24 Sep 1999 00:53:39 +1000
Message-ID: <389AC5F1.19A5ED5B@tech.com.au>
Date: Fri, 04 Feb 2000 23:28:33 +1100
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: A treat for me...
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com> <37E9CAEA.9A4945C9@tech.com.au> <kiwln9xybha.fsf@blinky.bloomberg.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> Isn't enlightenment the default window manager for GNOME & 
> KDE? 

No, KDE have a special window manager.

 If
> that's the case then the GNOME & KDE votes are really for
> enlightment.  In that case, one should total the #s for GNOME, KDE &
> enlightment, which gives 137 votes for enlightment.
> 
> What would be utterly cool would be
> 
>    a) themes matching each of the other window managers, and
>    b) readers for each of the others' init file.
> 
> then just tell the window-maker users to put:
> 
>    (load-foreign-init-files 'window-maker)
> 
> in their .scwmrc, and the fvwm users to use:
> 
>    (load-foreign-init-files 'fvwm)
> 
> etc.
> 
> Should be doable and not especially hard for everything except gwm.
> If you do it for gwm, you've gone a long way towards writing an elisp
> loader for guile.
> 
> BTW, has anyone else noticed Sawmill
> (http://www.dcs.warwick.ac.uk/~john/sw/sawmill) in
> Xwinman's other section (http://www.plig.org/xwinman/others.html)?  It
> looks exactly like scwm except that it a) uses lisp instead of scheme
> and b) started from scratch instead of from fvwm.
> 
> --
> Harvey Stein
> Bloomberg LP
> hjstein@bfr.co.il

-- 
Chris Bitmead
mailto:chris@tech.com.au

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 12:18:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA22863
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 12:18:26 -0400
Received: from icomm.ca (icomm.ca [216.126.72.23])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA22860
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 23 Sep 1999 12:18:21 -0400
Received: from localhost (skeezix@localhost)
	by icomm.ca (8.9.3/8.9.3/iComm) with ESMTP id MAA01102;
	Thu, 23 Sep 1999 12:17:53 -0400
X-Authentication-Warning: icomm.ca: skeezix owned process doing -bs
Date: Thu, 23 Sep 1999 12:17:53 -0400 (EDT)
From: Jeff Mitchell <skeezix@skeleton.org>
X-Sender: skeezix@icomm.ca
Reply-To: skeezix@skeleton.org
To: "Robert J. Chassell" <bob@rattlesnake.com>
cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Curious -- your cool scwm ideas?
In-Reply-To: <m11TqsH-0001k0C@localhost>
Message-ID: <Pine.LNX.4.10.9909231215550.30084-100000@icomm.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Wed, 22 Sep 1999, Robert J. Chassell wrote:

> Yes, definately.  And ideally, each should have a menu pointing to
> each of the others so you can try each different one... like
> circulating around decors, but around complete .scwmrc files.

	I agree. I find hacking aorund with scwm has a big learning curve
at the onset -- where do I look for this function? What functions are
available, and what order do I call them? Which go together, usually?
Where in the source do I look to find such-and-such?

	It'd be nice to have a library of cool .scwmrc's, so one could
find one closest to what you desire, and then hack against that.

	Heck, if theres no work and no SCWM knowledge required, I could
maintain a website with a bunch.I just couldn't support them ;)

		jeff


--
"It's murder out there. You can't even travel around in your own micro
circuits without permission from 'Master Control Program'. I mean,
sending *ME* down here to play games.... Who does he calculate he is?"
-- Peter Jurasik as Crom, _Tron_


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 12:29:03 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA22907
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 12:29:03 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA22904
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 23 Sep 1999 12:29:00 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA18509; Thu, 23 Sep 1999 09:28:50 -0700 (PDT)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: Chris Bitmead <chris@tech.com.au>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: A treat for me...
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com> <37E9CAEA.9A4945C9@tech.com.au> <kiwln9xybha.fsf@blinky.bloomberg.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Sep 1999 09:28:49 -0700
In-Reply-To: hjstein@bfr.co.il's message of "23 Sep 1999 10:00:01 -0400"
Message-ID: <qrr7llh618e.fsf@elwha.cs.washington.edu>
Lines: 48
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

<snip>

> Isn't enlightenment the default window manager for GNOME & KDE?  If
> that's the case then the GNOME & KDE votes are really for
> enlightment.  In that case, one should total the #s for GNOME, KDE &
> enlightment, which gives 137 votes for enlightment.
> 
> What would be utterly cool would be
> 
>    a) themes matching each of the other window managers, and
>    b) readers for each of the others' init file.
> 
> then just tell the window-maker users to put:
> 
>    (load-foreign-init-files 'window-maker)

We do have libProplist support that makes doing window maker pretty
feasible. 

> in their .scwmrc, and the fvwm users to use:
> 
>    (load-foreign-init-files 'fvwm)

We also have a tenable fvwm converter in
utilities/converters/fvwm2rc-to-scwmrc (may need to be dusted off).

> Should be doable and not especially hard for everything except gwm.
> If you do it for gwm, you've gone a long way towards writing an elisp
> loader for guile.
> 
> BTW, has anyone else noticed Sawmill
> (http://www.dcs.warwick.ac.uk/~john/sw/sawmill) in
> Xwinman's other section (http://www.plig.org/xwinman/others.html)?  It
> looks exactly like scwm except that it a) uses lisp instead of scheme
> and b) started from scratch instead of from fvwm.

It's a lot less mature, has fewer fancy features, but a cleaner design.
It also tries to do a lot more in Lisp rather than C (which we're moving
to, but might not go as far as John has).  It's definitely a nice effort
that I'd be worried about if rep weren't so heinous to use relatvie to
Scheme.  As it is, I'm trying to collaborate with John on some
interesting stuff since we at least share the same philosophy.
Definitely worth a look, and probably worth making use of some of the
code to and getting some inspiration for ideas.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 12:31:07 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA22933
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 12:31:07 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA22927
	for <scwm-discuss@scwm.mit.edu>; Thu, 23 Sep 1999 12:31:04 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA18512; Thu, 23 Sep 1999 09:30:52 -0700 (PDT)
To: Dave Pearson <davep@hagbard.demon.co.uk>
Cc: scwm-discuss@scwm.mit.edu
Subject: upcoming 0.99.3 [was Re: Gnome pager]
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com> <389AA1F2.CE667A38@tech.com.au> <19990923153854.A3916@hagbard.demon.co.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Sep 1999 09:30:52 -0700
In-Reply-To: Dave Pearson's message of "Thu, 23 Sep 1999 15:38:54 +0100"
Message-ID: <qrr6711614z.fsf_-_@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dave's right on.  I'll be doing a scwm-0.99.3 release RSN after
guile-1.3.4 is released and a bug in guile-gtk is taken care of.  Below
is the NEWS file as it is now

Greg

* ViaVoice (IBM TM) module for permitting speech recognition actions

* Constraint features
** Make animated moves and resizes resolve the system throughout the move/resize
   so the constraints are always maintained
** Improved visual constraint representations
** Make constraints submenu to root menu
** Bug fixes in the gtk-toggle-menu

* Improved preferences dialog support, cleaner internally, too.

* New primitives
** `window-decoration-size'
** `window-decoration-ids', `set-window-id-background!'
** `set-window-highlighted-nonant!', `window-highlighted-nonant'
** `set-nonant-highlight-color!', `nonant-highlight-color'
** `focussable-window?'

* Changed primitives
** `xlib-set-line-width!' has been replaced by xlib-set-line-attributes! which n
ow takes
a width and a line style.
** Renamed `resize-to' to `resize-window', `resize-frame-to' to `resize-frame' a
nd permit each to take X, Y for movement, to.

* Changed procedures
** `interactive-place' renamed to `place-interactively' for consistency (all oth
ers start with place-*)


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 12:46:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA23049
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 12:46:33 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA23046
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 23 Sep 1999 12:46:28 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA18547; Thu, 23 Sep 1999 09:46:08 -0700 (PDT)
To: skeezix@skeleton.org
Cc: "Robert J. Chassell" <bob@rattlesnake.com>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Curious -- your cool scwm ideas?
References: <Pine.LNX.4.10.9909231215550.30084-100000@icomm.ca>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Sep 1999 09:46:08 -0700
In-Reply-To: Jeff Mitchell's message of "Thu, 23 Sep 1999 12:17:53 -0400 (EDT)"
Message-ID: <qrr1zbp60fj.fsf@elwha.cs.washington.edu>
Lines: 46
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jeff Mitchell <skeezix@skeleton.org> writes:

> On Wed, 22 Sep 1999, Robert J. Chassell wrote:
> 
> > Yes, definately.  And ideally, each should have a menu pointing to
> > each of the others so you can try each different one... like
> > circulating around decors, but around complete .scwmrc files.
> 
> 	I agree. I find hacking aorund with scwm has a big learning curve
> at the onset -- where do I look for this function? What functions are
> available, and what order do I call them? Which go together, usually?
> Where in the source do I look to find such-and-such?

If you get good at using scwm-mode in (X)Emacs, things are a *lot*
easier.  The documentation (especially of C primitives) is pretty
complete and accurate, and the integrated documentation system is a huge 
win.  Couple that with tagging the Scheme source doing find-tag to read
the Scheme source, and it's really very nice.

> 	It'd be nice to have a library of cool .scwmrc's, so one could
> find one closest to what you desire, and then hack against that.
> 
> 	Heck, if theres no work and no SCWM knowledge required, I could
> maintain a website with a bunch.I just couldn't support them ;)

I'm not really in favor of the "library of scwmrc" approach in the long
term.  I'm trying to make more and more of the customizability and
functionality accessible via the GUI configuration utilities.  In the
interim, separation into more modules so that I can pick and choose what 
features I like in a clean orthogonal way.  I should be able to say:

I like this look

with these key bindings

and these behavioural features.


That said, I think in the short term having varied Scwmrcs is useful,
but I want to encourage useful functionality to be modularized and
packaged up.  I'm only now starting to do more of this with
system.scwmrc.  The GUI configuration utility still needs work
w.r.t. letting you more usefully edit types like path lists, and being
able to edit menus and key-bindings.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 12:51:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA23108
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 12:51:27 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA23103
	for <scwm-discuss@scwm.mit.edu>; Thu, 23 Sep 1999 12:51:21 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA18550; Thu, 23 Sep 1999 09:50:54 -0700 (PDT)
To: Dave Pearson <davep@hagbard.demon.co.uk>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Curious -- your cool scwm ideas?
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <19990922150443.M3916@hagbard.demon.co.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Sep 1999 09:50:53 -0700
In-Reply-To: Dave Pearson's message of "Wed, 22 Sep 1999 15:04:43 +0100"
Message-ID: <qrrzoyd4ln6.fsf@elwha.cs.washington.edu>
Lines: 58
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dave Pearson <davep@hagbard.demon.co.uk> writes:

> On Mon, Sep 20, 1999 at 10:44:45AM -0400, Jeff Mitchell wrote:
> 
> > [SNIP request for ideas for scwm]
> 
> The flexibility of scwm does have strange effect doesn't it? Two things have
> sprung to mind in the last couple of weeks of getting to know scwm, one I've
> tried to implement (with limited success) and one I wouldn't know where to
> start.
> 
> The first idea was to make `next-window' work a little better. I've got
> A-Tab bound to `(next-window #:only visible? #:except iconified?)' (actually
> I've got a little wrapper that stops the pointer following window focus)
> which almost does what I want. However, often, I'll be swapping between two
> windows and I'm a little too lazy to use A-Tab to go one way and something
> like S-A-Tab to go the other.
> 
> What I wanted was something similar to other environments I've used where
> the "direction" depends on how you move. In the case of scwm I tried
> something like this:

"direction"?   There is my dir-focus module... is that what you mean?

<snip>

> The idea was that if I kept issuing `dp:next-window' (now bound to A-Tab)
> quickly it would travel thru the visible windows. However, if spent more
> than `*next-window-timeout*' seconds between each A-Tab it would jump to the
> last focused window.
> 
> It almost works but, for some reason I can't quite fathom, it will sometimes
> focus a window but not raise it, other times it simply gets "stuck" in one
> window.
> 
> I'd love to know if anyone has had a go at implementing something like this
> and have managed to make it work.

This is interesting and I like it a lot... I'll try it when time
permits.  (There may be some bugs in the focussing primitives that are
causing confusion and problems).

> The second idea I had is probably not so easy. I was wondering about some
> form of programmable pointer-avoidance system. The idea would be that, for
> certain windows (this could be a window-style thing) I could say how long
> the pointer should be in the window before it, under control of the WM,
> moves out of the way and finds an empty bit of desktop.
> 
> I guess this only makes most sense when using click to focus.

I think unclutter is a better solution here:

ftp://ftp.x.org/contrib/utilities/unclutter-8.tar.Z

We could take whatever they do and add a simple C module to Scwm so it'd 
be standard fare (dynamically loaded of course, so as to not bloat Scwm).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 14:43:28 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA23595
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 14:43:28 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA23592
	for <scwm-discuss@scwm.mit.edu>; Thu, 23 Sep 1999 14:43:22 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA18851; Thu, 23 Sep 1999 11:43:08 -0700 (PDT)
To: Dave Pearson <davep@hagbard.demon.co.uk>
Cc: scwm-discuss@scwm.mit.edu
Subject: Window-toggling and window-focus stuff [was Re: Curious -- your cool scwm ideas?]
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <19990922150443.M3916@hagbard.demon.co.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Sep 1999 11:43:07 -0700
In-Reply-To: Dave Pearson's message of "Wed, 22 Sep 1999 15:04:43 +0100"
Message-ID: <qrrr9jp4gg4.fsf_-_@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dave Pearson <davep@hagbard.demon.co.uk> writes:

<snip>

> The idea was that if I kept issuing `dp:next-window' (now bound to A-Tab)
> quickly it would travel thru the visible windows. However, if spent more
> than `*next-window-timeout*' seconds between each A-Tab it would jump to the
> last focused window.
> 
> It almost works but, for some reason I can't quite fathom, it will sometimes
> focus a window but not raise it, other times it simply gets "stuck" in one
> window.
> 
> I'd love to know if anyone has had a go at implementing something like this
> and have managed to make it work.

I just committed changes that make the window-task-switcher-menu a
little bit nicer.  Now Alt-tab (when bound to window-task-switcher-menu)
switches between the last two windows that had focus.  The most
interesting "bugfix" was dealing with two windows whose time_t values
for last-focus were the same-- I use the X11 Time value as a tie-breaker 
(it wraps too quickly to be used exclusively).

I also made the popped-up menu correctly (optionally) select the initial 
item of the menu when Alt/Meta is released so no extra keystrokes are
necessary (this worked for everything except the very first menu item
that was selected).  Finally, I made the initial item be the 3rd item
(the first is the menu title, the second is the window that received
focus most recently, and the 3rd is the window that received focus 2nd
most recently).

See if the window-task-switcher is what you're looking for.

Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 17:39:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA24676
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 17:39:59 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from w2.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA24673
	for <scwm-discuss@scwm.mit.edu>; Thu, 23 Sep 1999 17:39:54 -0400
Received: from mizar (r2p062.ntt.it [194.73.94.190]) by w2.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id XAA42472; Thu, 23 Sep 1999 23:39:35 +0200 (DFT)
Received: from cesco by mizar with local (Exim 3.02 #1 (Debian))
	id 11UEmK-00005b-00; Thu, 23 Sep 1999 21:43:40 +0200
Date: Thu, 23 Sep 1999 21:43:40 +0200
From: Francesco Tapparo <cesco@ntt.it>
To: Greg Badros <gjb@cs.washington.edu>
Cc: cesco@debian.org, scwm-discuss@scwm.mit.edu
Subject: Re: problem in gtk.scm
Message-ID: <19990923214340.A248@mizar>
Reply-To: cesco@debian.org
Mail-Followup-To: Greg Badros <gjb@cs.washington.edu>, cesco@debian.org,
	scwm-discuss@scwm.mit.edu
References: <19990920220324.A4313@mizar> <qrrr9jtb4wb.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <qrrr9jtb4wb.fsf@elwha.cs.washington.edu>; from Greg Badros on Mon, Sep 20, 1999 at 03:21:40PM -0700
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by SCWM.MIT.EDU id RAA24674
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Mon, Sep 20, 1999 at 03:21:40PM -0700, Greg Badros wrote:
> Francesco Tapparo <cesco@ntt.it> writes:
> 
> > I downloaded the CVS snapshot of the 09/16/1999 (essentially scwm-0.99.2).
> > But:
> > 
> > Script started on Mon Sep 20 21:53:16 1999
> > bash-2.02$ scwm -f /dev/null &
> > [1] 4295
> > bash-2.02$ scwmrepl
> > scwm> (use-modules (app scwm app   gtk)(app scwm gtk))
> scwm> (use-modules (app scwm gtk))
> > 
> > ;;; WARNING (no code for module gtk)
> > 
> > ;;; WARNING (no code for module gdk)
> 
> Did you build and install guile-gtk?

Sorry for the delay, but I was a little busy. I downloaded the (a little
outdated) deb version of guile-gtk, and the problem is gone away. Now
.SCWM-errors say:

=========================BEGIN===============================

Exec-ing wm as scwm
(dlopening "libguilegtk-1.2.so" "/usr/lib/libguilegtk-1.2.so")X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  53 (X_CreatePixmap)
  Serial number of failed request:  228
  Current serial number in output stream:  269
X Error of failed request:  BadGC (invalid GC parameter)
  Major opcode of failed request:  56 (X_ChangeGC)
  Resource id in failed request:  0x800028
  Serial number of failed request:  230
  Current serial number in output stream:  269
X Error of failed request:  BadGC (invalid GC parameter)
  Major opcode of failed request:  56 (X_ChangeGC)
  Resource id in failed request:  0x800028
  Serial number of failed request:  232
  Current serial number in output stream:  269

;;; WARNING (no code for module user-options)

Backtrace:
0* [menu-style #:fg "black" ...]
1  (let-optional* lambda*:G26 () ...)
   ...
2  (let* ((ra->kbl #<procedure rest-arg->keyword-binding-list #>) (kb:G361 #)) (let* (# # # ...) "Set various properites for the menus.
See `make-menu' for options on creation of individual menus." ...))
3* [rest-arg->keyword-binding-list (#:fg "black" #:bg ...) (#:fg #:foreground #:bg ...) ...]
4  (if (null? rest-arg) () ...)
   ...
5  [scm-error misc-error #f ...]
6* [gsubr-apply #<compiled-closure #<primitive-procedure gsubr-apply>> misc-error ...]

=======================================END=================================

Perhaps the culprit is of the outdated guile-gtk (from cvs 06-27-1999), but
I'm posting here the log because I'm (too) scrupulous.

I'm using guile 1.3 (not guile 1.3.2).

> 
> Greg

thanks

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 17:45:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA24708
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 17:45:42 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA24705
	for <scwm-discuss@scwm.mit.edu>; Thu, 23 Sep 1999 17:45:36 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA19080; Thu, 23 Sep 1999 14:45:23 -0700 (PDT)
To: cesco@debian.org
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: problem in gtk.scm
References: <19990920220324.A4313@mizar> <qrrr9jtb4wb.fsf@elwha.cs.washington.edu> <19990923214340.A248@mizar>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Sep 1999 14:45:23 -0700
In-Reply-To: Francesco Tapparo's message of "Thu, 23 Sep 1999 21:43:40 +0200"
Message-ID: <qrremfp480c.fsf@elwha.cs.washington.edu>
Lines: 63
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francesco Tapparo <cesco@ntt.it> writes:

> On Mon, Sep 20, 1999 at 03:21:40PM -0700, Greg Badros wrote:
> > Francesco Tapparo <cesco@ntt.it> writes:
> > 
> > > I downloaded the CVS snapshot of the 09/16/1999 (essentially scwm-0.99.2).
> > > But:
> > > 
> > > Script started on Mon Sep 20 21:53:16 1999
> > > bash-2.02$ scwm -f /dev/null &
> > > [1] 4295
> > > bash-2.02$ scwmrepl
> > > scwm> (use-modules (app scwm app   gtk)(app scwm gtk))
> > scwm> (use-modules (app scwm gtk))
> > > 
> > > ;;; WARNING (no code for module gtk)
> > > 
> > > ;;; WARNING (no code for module gdk)
> > 
> > Did you build and install guile-gtk?
> 
> Sorry for the delay, but I was a little busy. I downloaded the (a little
> outdated) deb version of guile-gtk, and the problem is gone away. Now
> .SCWM-errors say:
> 
> =========================BEGIN===============================
> 
> Exec-ing wm as scwm
> (dlopening "libguilegtk-1.2.so" "/usr/lib/libguilegtk-1.2.so")X Error of failed request:  BadAlloc (insufficient resources for operation)
>   Major opcode of failed request:  53 (X_CreatePixmap)
>   Serial number of failed request:  228
>   Current serial number in output stream:  269
> X Error of failed request:  BadGC (invalid GC parameter)
>   Major opcode of failed request:  56 (X_ChangeGC)
>   Resource id in failed request:  0x800028
>   Serial number of failed request:  230
>   Current serial number in output stream:  269
> X Error of failed request:  BadGC (invalid GC parameter)
>   Major opcode of failed request:  56 (X_ChangeGC)
>   Resource id in failed request:  0x800028
>   Serial number of failed request:  232
>   Current serial number in output stream:  269

I've been getting these, too, but as I've no visual artifacts resulting
from them, I've not yet tracked down this problem.

> ;;; WARNING (no code for module user-options)

Ok, I think I've fixed this... the prefs-menu stuff is obsoleted, but
I'd not cleane dup some old references to the user-options modeul.

> Perhaps the culprit is of the outdated guile-gtk (from cvs 06-27-1999), but
> I'm posting here the log because I'm (too) scrupulous.
> 
> I'm using guile 1.3 (not guile 1.3.2).

I highly recommend 1.3.4 (prereleases are available) and guile-gtk out
of CVS, especially for any Debian package you might be putting
together.

Thanks,
Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 18:48:45 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA25215
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 18:48:45 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from quasar.newtonlabs.com (host97.newtonlabs.com [206.125.74.97])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA25212
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 23 Sep 1999 18:48:41 -0400
Received: from bogomips.newtonlabs.com (bogomips.newtonlabs.com [207.55.51.12])
	by quasar.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) with ESMTP id PAA03222;
	Thu, 23 Sep 1999 15:48:38 -0700
Received: (from cwitty@localhost)
	by bogomips.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) id PAA25984;
	Thu, 23 Sep 1999 15:48:38 -0700
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite proposal revised...
References: <qrrn1uf7bh9.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: cwitty@newtonlabs.com (Carl R. Witty)
Date: 23 Sep 1999 15:48:38 -0700
In-Reply-To: Greg Badros's message of "21 Sep 1999 22:37:38 -0700"
Message-ID: <v4j905xb5x5.fsf@bogomips.newtonlabs.com>
Lines: 84
X-Mailer: Gnus v5.4.61/Emacs 19.34
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

...

> (make-mouse-event 3 'double-click (with-modifier 'control 'meta 'shift))

I assume that should be

   (make-mouse-event 3 'double-click '(control meta shift))

...

> X-EVENT-SPECIFIER is one of 'motion, 'press, 'release, 'click,
> 'single-click or 'double-click.  ('click, 'single-click and
> 'double-click get manufactured by scwm -- a 'click is a press followed
> by a release w/o intervening motion (of more than a threshold delta).  A
> 'double-click is two clicks w/o intervening motion or too much
> intervening time, and a 'single-click is a 'click that is not followed
> by a second click; note that a 'click will always precede a
> 'double-click, and the second click of a 'double-click will not generate
> another 'click.  A 'single-click is generated after the double-click
> timeout after a 'click).  E.g., the below are valid MOUSE_SPECIFIERs
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
There's nothing below...

> MERGE? is #t to indicate that the resulting event-map should (for the
> purposes of event dispatch) treat the PARENT's bindings as equipotent to 
> this new child event (i.e. all of the bindings will be checked when
> doing dispatch).  MERGE? is #f to indicate that only if no binding
> matched in the child should the parent's bindings be checked.

You wanted to kill the above section?

> (add-event-map-parent! EVENT-MAP PARENT MERGE?)
> ;; Permit multiple parents, though only one can be specified at a time

You wanted to kill the MERGE? argument?

> ;; Instead, the event-specific information will be available to the
> ;; dispatched procedure via the thread-local variable `last-event'.  That
> ;; variable should be accessed via the following accessors.
> ;; E.g., the event-target can be accessed via the expression `(event-target last-event)'
> ;; The `last-event' variable will be #f if the procedure is not invoked
> ;; from an event handler.  

You could change last-event to (last-event) (i.e., make it a thunk) to
remove the unschemely use of dynamic scope.

> ;; event-window-id - the window id of the X window that got the event.  
> ;; the `window-decoration-ids' primitive can be helpful in mapping this
> ;; back to what the decoration was.

You do realize that window-decoration-ids is not documented?

> ;; Only when no bindings are applicable in the child or its chain of
> ;; parents should the event dispatching mechanism
> ;; proceed to chain the event dispatch up to the enclosing event-map
> ;; context.  That is, from decoration->frame->global (button decorations 
> ;; perhaps should forward to the titlebar before the frame, but side-bar 
> ;; decorations probably should not).

When the decoration rewrite happens, a decoration module should be
able to specify the event processing fallback path.

> OTHER ISSUES:

You might want to consider something like Emacs minor modes, with
minor-mode-alist, etc.  (This doesn't have to affect the C support--a
scheme wrapper over the above interface could do this--but it does
need to be built-in from the beginning, so that minor modes from
different authors can cooperate.)

I don't see how to do: 
> o Multi-key bindings with prefix keys that change mode map
> o Quoting mechanism for turning off scwm's handling of events
with this interface (but maybe I'm just not thinking about it right).

It would be nice to have event maps in the preference-editing UI.
Modules could register event action procedures, and you could bind
events to actions with the preferences GUI.

This does look like a big step forward!  I like it!

Carl Witty

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 19:04:35 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA25420
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 19:04:35 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from quasar.newtonlabs.com (host97.newtonlabs.com [206.125.74.97])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA25416
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 23 Sep 1999 19:04:29 -0400
Received: from bogomips.newtonlabs.com (bogomips.newtonlabs.com [207.55.51.12])
	by quasar.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) with ESMTP id QAA04711;
	Thu, 23 Sep 1999 16:04:25 -0700
Received: (from cwitty@localhost)
	by bogomips.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) id QAA26014;
	Thu, 23 Sep 1999 16:04:25 -0700
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite proposal revised...
References: <qrrn1uf7bh9.fsf@elwha.cs.washington.edu> <kiw7lliuc31.fsf@blinky.bloomberg.com>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: cwitty@newtonlabs.com (Carl R. Witty)
Date: 23 Sep 1999 16:04:25 -0700
In-Reply-To: hjstein@bfr.co.il's message of "22 Sep 1999 12:48:18 -0400"
Message-ID: <v4j7llhb56u.fsf@bogomips.newtonlabs.com>
Lines: 61
X-Mailer: Gnus v5.4.61/Emacs 19.34
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

>  > MODIFIER-SPECIFIER is a list of symbolic modifiers.  If the first
>  > element of the list is the pseudo-modifier 'exactly, then exactly 
>  > the list of modifiers that follows must be depressed for the event
>  > to be matched.  Modifiers include:
>  > 
>  > 'control 'shift 'meta 'super 'alt 'hyper 'numlock 'capslock 'mod[1-8]
>  > '~control '~shift '~meta '~super '~alt '~hyper '~numlock '~capslock '~mod[1-8]
>  > '*control '*shift '*meta '*super '*alt '*hyper '*numlock '*capslock '*mod[1-8]
> 
> Firstly, this seems way to complicated.  It's also confusing in that
> it mixes actual X modifiers with all these other things.  For that
> matter, there are lots of confusing border cases for which the exact
> meaning is unclear.  For example, what's 
> 
>    (make-key-event 'x '(control ~control *control))
> 
> or
> 
>    (make-key-event 'x '(except numlock with ~numlock iwith *numlock shift))
> 
> supposed to mean?  Futhermore, there's no mechanism for seeing exactly
> *what* it means.

I'm not sure I agree that this is too complicated, but I agree that
the ambiguities should be mentioned in the documentation.  (Just
something like "These things are ambiguous.  If you do them the
resulting behavior is unspecified." would be fine with me.)

Another ambiguity: what does '(hyper ~super) mean if there are no
hyper or super modifier keys defined?

> I'd think it'd be better to have a low level function which maps
> closer to the underlying X keyboard events.  The above make-key-event
> where the optional argument is restricted to be a list of real
> modifiers would be fine.  Then give a higher level convenience
> macro maybe with keyword arguments to make handling sets
> of modifiers more convenient.  Using a macro is convenient because
> then one can expand it to see exactly what modifier-specifier list it
> generates.

You need to be able to specify the modifiers in terms of the names
('hyper, 'super, etc.) to support xmodmap while the window manager is
running.

> So, similarly, what does it do to have (attach-event-map ID EVENT-MAP)
> as opposed to just (attach-event ID EVENT PROC)?  Does it buy the user
> a lot?  Does it buy the implementation a lot?  It obviously allows
> (actually, almost forces) grouping events together, but grouping could
> be made optional by having a couple of convenience macros such as
> (attach-event-list ID '((EVENT1 . PROC1) (EVENT2 . PROC2) ...)) and 
> (merge-event-lists ELIST1 ELIST2).

I prefer attach-event-map to attach-event from both the user and
implementation standpoint.  attach-event-map is probably (perhaps only
slightly) more efficient (in time and space), and it seems much more
useful to the user as well.  (Have you done Emacs Lisp programming?
Emacs puts event maps to very good use.)

Carl Witty

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 19:27:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA25503
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 19:27:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA25500
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 23 Sep 1999 19:27:37 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA19173; Thu, 23 Sep 1999 16:27:28 -0700 (PDT)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite proposal revised...
References: <qrrn1uf7bh9.fsf@elwha.cs.washington.edu> <kiw7lliuc31.fsf@blinky.bloomberg.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Sep 1999 16:27:28 -0700
In-Reply-To: hjstein@bfr.co.il's message of "22 Sep 1999 12:48:18 -0400"
Message-ID: <qrraeqd43a7.fsf@elwha.cs.washington.edu>
Lines: 279
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
>  > Event Rewrite Proposal for Scwm
>  > Greg J. Badros, 
>  >   Revised 21-Sep-1999, 19-Sep-1999
>  >   2-Sep-1998, 3-Sep-1998, 5-Sep-1998, 6-Aug-1998
> 
> <snip>
> 
<snip>

>  > MODIFIER-SPECIFIER is a list of symbolic modifiers.  If the first
>  > element of the list is the pseudo-modifier 'exactly, then exactly 
>  > the list of modifiers that follows must be depressed for the event
>  > to be matched.  Modifiers include:
>  > 
>  > 'control 'shift 'meta 'super 'alt 'hyper 'numlock 'capslock 'mod[1-8]
>  > '~control '~shift '~meta '~super '~alt '~hyper '~numlock '~capslock '~mod[1-8]
>  > '*control '*shift '*meta '*super '*alt '*hyper '*numlock '*capslock '*mod[1-8]
> 
> Firstly, this seems way to complicated.  It's also confusing in that
> it mixes actual X modifiers with all these other things.  For that
> matter, there are lots of confusing border cases for which the exact
> meaning is unclear.  For example, what's 
> 
>    (make-key-event 'x '(control ~control *control))

Error -- can only specify a modifier once.

> or
> 
>    (make-key-event 'x '(except numlock with ~numlock iwith *numlock shift))

with and iwith are "first element pseudo-modifiers" so it's an error to
have them anywhere but in the first element.

> supposed to mean?  Futhermore, there's no mechanism for seeing exactly
> *what* it means.
> 
> I'd think it'd be better to have a low level function which maps
> closer to the underlying X keyboard events.  The above make-key-event
> where the optional argument is restricted to be a list of real
> modifiers would be fine.  Then give a higher level convenience
> macro maybe with keyword arguments to make handling sets
> of modifiers more convenient.  Using a macro is convenient because
> then one can expand it to see exactly what modifier-specifier list it
> generates.

The problem with that is that the notion of multiple modifiers for the
same binding must be known at the C level so that the grabs can be done
correctly.

> You also haven't said anything of the read & write syntax for key
> event objects.  For that matter, many of the fcns return values (other

I'm open to suggestions... I see it as a reasonably uninteresting
implementation detail that as long as I can read what I wrote, I don't
care that much.

> than the obvious make-* & *? fcns) are unspecified - what do
> add-event-binding, add-event-map-parent!, dispatch-event, ...  return?

add-event-binding and remove-event-binding should've been
add-event-binding! and remove-event-binding!, all ! procs will return an 
unspecified value (named #<unspecified> :-)).  

dispatch-event will return what the called proc returns.

> The same goes for make-mouse-event, although in this case it seems
> that some abstraction really does need to be done over the raw X model
> to allow for single vs double clicks.
> 
> Regarding make-x-event, most important is that you don't specify the
> arguments for the procedures passed to add-event-binding.  What
> information do you pass to them?  Do you pass the event along with the
> window?  Do you pass nothing?

See dispatch-event-- I think I answer your question there.

> About make-x-event, you state:
> 
>  > Note that make-x-event can be viewed as the most primitive case, and the
>  > other two procedures can be seen as adding a C-level filter and event
>  > grabbing capabilities on top of the actual X-event.  E.g.,
>  > (make-mouse-event 1 'release) is applicable if there is a x-event
>  > "ButtonRelease" and the button number is 1.  X-event bindings will never 
>  > do any grabs implicitly-- key-events need to be used for that.
> 
> Could you explain this more.  I don't see how a make-key-event can be
> converted to a make-x-event.  If this is really the case, then one
> could make a case that make-x-event is the lower level fcn I was
> asking for & that make-key-event & make-mouse-event are higher level
> wrappers for make-x-event.  Then I'd only have objections about the
> syntax for make-key-event & make-mouse-event, as well as that they're
> functions instead of macros.

They can't be... is this better?

Note that make-x-event can be conceptually though of as the most
primitive case, and the other two procedures can be seen as adding a
C-level filter and event grabbing capabilities on top of the actual
X-event.  E.g., (make-mouse-event 1 'release) is applicable if there is
a x-event "ButtonRelease" and the button number is 1.  X-event bindings
will never do any grabs implicitly-- key-events need to be used for
that (this is why the other functions are necessary as primitives).


> Also, why are there three types of objects - x-event, key-event &
> mouse-event?  Why not just an x-event?

For grabbing purposes.  Scwm needs to know about the modifiers and the
events to grab.  This is really only an issue on windows where Scwm
wouldn't otherwise see the events (e.g., client window areas), but it'd
be uglier to have that case separated out.

> Regarding event maps, you start talking about events, but never define
> them.  I assume they can be x-event, key-event or mouse-event objects?
> If so, then again, why not make them all just event objects - why the
> distinction?
> 
> Also, why do events trigger all matching event procedures instead of
> just the first match?  This necessitates the use of 'pass instead of
> just putting in something like (lambda ( . x) #t).  This is what Tk
> does and although it allows in a certain sense kinds of before/after
> methods, it also leads to extremely confusing and difficult to
> modify/maintain behaviors.  I think one'd be better off just having
> the most specific event firing off.

I've got more thinking to do on this.

> For that matter, why are events distinct objects?  Why not just have
> event-maps?  One can have some sort of syntax for specifying events,
> with maybe a macro for succinctly specifying events.  Maybe something
> like:
> 
> (add-event-binding event-map
>                    '((keypress) x (control alt))
>                    (lambda (event window) ...))
> 
> What is the purpose of having event objects?  Do they give anything
> extra to the user?  What's the difference between the above and:
> 
> (add-event-binding event-map
>                    (make-key-event "x" '(control alt))
>                    (lambda (event window) ...))
> 
> Isn't the latter all the user really will ever need?  Or am I missing
> some utility you're thinking of?

Maybe, but I'm not sure, so I wanted a layer of abstraction.  A proc
could certainly go from your way to my way, so it seemed no more painful.

> As for dispatch-event, you say that instead of passing arguments to
> the event procedures (which I guess answers my question above about
> the arguments to fcns passed to add-event-binding), you say:
> 
> 
>  > ;; Each procedure is invoked with *no* arguments.  Obviously there is
>  > ;; information that the bound procedures will need to receive, but having
>  > ;; those objects be arguments would necessitate changing the argument
>  > ;; list to all procedures that are intended to be bound to an action.
>  > 
>  > ;; Instead, the event-specific information will be available to the
>  > ;; dispatched procedure via the thread-local variable `last-event'.  That
>  > ;; variable should be accessed via the following accessors.
>  > ;; E.g., the event-target can be accessed via the expression `(event-target last-event)'
>  > ;; The `last-event' variable will be #f if the procedure is not invoked
> ;; from an event handler.  
> 
> Two questions - First of all, wouldn't passing the event & the
> associated window to the procedure be more appropriate?  If so, then
> you could offer more than one add-event-binding fcn, one for the old
> interface & one for a newer interface where the relevant data is
> passed in.

The problem with that is that every action desired to be taken needs a
new procedure that takes the format for a proc that is to be used as a
target of a dispatch.  This would stink, especially given that anonymous 
procedures are not a good idea to bind to interactive actions (for
reflection reasons-- I want a UI that lets you introspect on what the
bindings are, etc.)

> Second question - Why have a visible last-event variable if you have
> accessors such as event-target, etc.  This implies that last-event
> could be saved & used again later - that I can do something like:
> 
>    (let ((prev-event #f))
>        (define (action)
>            ... Do something based on (event-target prev-event)
>            and (event-target last-event), when prev-event is not
>            #f... 
>            (set! prev-event last-event)))
> 
> Is this the intention?  If not, then maybe last-event should be
> eliminated and the accessors should be functions of no arguments -
> (event-target), (event-window-id), etc.

That is the intention... E.g., with-window does binding of the
window-context temporarily for a block of code.  I think the same might
be useful.

> Getting back to my comments about 
> 
> (add-event-binding event-map
>                    '((keypress) x (control alt))
>                    (lambda (event window) ...))
> 
> vs
> 
> (add-event-binding event-map
>                    (make-key-event "x" '(control alt))
>                    (lambda (event window) ...))
> 
> 
> The ultimate purpose seems to be in the binding of event maps.
> None of the above really does anything until one calls
> attach-event-map.

Correct.

> So, similarly, what does it do to have (attach-event-map ID EVENT-MAP)
> as opposed to just (attach-event ID EVENT PROC)?  Does it buy the user
> a lot?  Does it buy the implementation a lot?  It obviously allows
> (actually, almost forces) grouping events together, but grouping could
> be made optional by having a couple of convenience macros such as
> (attach-event-list ID '((EVENT1 . PROC1) (EVENT2 . PROC2) ...)) and 
> (merge-event-lists ELIST1 ELIST2).

It allows better control of sharing of the event maps.

> It's hard to evaluate the proposal without concrete examples of what's
> wrong with the current setup and what the general capabilities
> required are.  If the motivations listed in the introduction are
> made a little less specific in the sense of listing capabilities &
> requirements without explicitly specifying event maps as a solution,
> then I'd think that 1 function, namely attach-event as indicated above
> would be sufficient.  Is there any reason to do anything else?

Maps on a per-window basis are a big place where this will help us.
Right now, e.g., I want acroread to have bindings for buttons 4/5 (the
wheel mouse scrolling) in the client area, but I want other applications 
to receive those events.  I can have an event map that sends page-up for 
button 4, page-down for button 5, and attach that event map to the window
client area only for the subset of windows that it makes sense to do it
for. 

> One reason I can think of is if you want to be able to do something
> like:
> 
>    (define emap (make-event-map))
>    (window-style ... #:event-maps `((title . ,emap)))
>    (add-event-binding emap ...)
>    (add-event-binding emap ...)
>    (add-event-binding emap ...)
> 
> where the bindings added/changed later dynamically affect all windows?

Yep.

> One could then imagine event procs or other things actually modifying
> event maps the fly, which might be cool or might be seriously
> confusing.

Certainly powerful, which is the goal.

> It might be appropriate instead to modify window-style.  There are all
> sorts of filterings and layerings associated with the 1st argument to
> window-style, and then these layerings exist a 2nd time with the
> event-maps.  Are both necessary?

Not sure what you mean here.... the event-maps just is a shorthand for
attaching the maps to the parts of the windows specified.

Thanks for the comments-- I've made numerous revisions as you can tell
by my responses!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 19:40:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA25604
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 19:40:36 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA25601
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 23 Sep 1999 19:40:30 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA19176; Thu, 23 Sep 1999 16:40:26 -0700 (PDT)
To: cwitty@newtonlabs.com (Carl R. Witty)
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite proposal revised...
References: <qrrn1uf7bh9.fsf@elwha.cs.washington.edu> <v4j905xb5x5.fsf@bogomips.newtonlabs.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Sep 1999 16:40:26 -0700
In-Reply-To: cwitty@newtonlabs.com's message of "23 Sep 1999 15:48:38 -0700"
Message-ID: <qrr905x42ol.fsf@elwha.cs.washington.edu>
Lines: 124
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

cwitty@newtonlabs.com (Carl R. Witty) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> ...
> 
> > (make-mouse-event 3 'double-click (with-modifier 'control 'meta 'shift))
> 
> I assume that should be
> 
>    (make-mouse-event 3 'double-click '(control meta shift))

Yep -- changed it to.

(make-mouse-event 3 'double-click '(with control meta shift))

> 
> ...
> 
> > X-EVENT-SPECIFIER is one of 'motion, 'press, 'release, 'click,
> > 'single-click or 'double-click.  ('click, 'single-click and
> > 'double-click get manufactured by scwm -- a 'click is a press followed
> > by a release w/o intervening motion (of more than a threshold delta).  A
> > 'double-click is two clicks w/o intervening motion or too much
> > intervening time, and a 'single-click is a 'click that is not followed
> > by a second click; note that a 'click will always precede a
> > 'double-click, and the second click of a 'double-click will not generate
> > another 'click.  A 'single-click is generated after the double-click
> > timeout after a 'click).  E.g., the below are valid MOUSE_SPECIFIERs
>                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> There's nothing below...

edited, thanks!

> 
> > MERGE? is #t to indicate that the resulting event-map should (for the
> > purposes of event dispatch) treat the PARENT's bindings as equipotent to 
> > this new child event (i.e. all of the bindings will be checked when
> > doing dispatch).  MERGE? is #f to indicate that only if no binding
> > matched in the child should the parent's bindings be checked.
> 
> You wanted to kill the above section?

Yep, removed, thanks!

> 
> > (add-event-map-parent! EVENT-MAP PARENT MERGE?)
> > ;; Permit multiple parents, though only one can be specified at a time
> 
> You wanted to kill the MERGE? argument?

Yep, removed, thanks!

> > ;; Instead, the event-specific information will be available to the
> > ;; dispatched procedure via the thread-local variable `last-event'.  That
> > ;; variable should be accessed via the following accessors.
> > ;; E.g., the event-target can be accessed via the expression `(event-target last-event)'
> > ;; The `last-event' variable will be #f if the procedure is not invoked
> > ;; from an event handler.  
> 
> You could change last-event to (last-event) (i.e., make it a thunk) to
> remove the unschemely use of dynamic scope.

I was thinking of it as a global variable (which it is).  I don't really 
mind either way but went for a slightly easier syntax.

> > ;; event-window-id - the window id of the X window that got the event.  
> > ;; the `window-decoration-ids' primitive can be helpful in mapping this
> > ;; back to what the decoration was.
> 
> You do realize that window-decoration-ids is not documented?

It's been implemented for a bit and documented in Scwm proper.

> > ;; Only when no bindings are applicable in the child or its chain of
> > ;; parents should the event dispatching mechanism
> > ;; proceed to chain the event dispatch up to the enclosing event-map
> > ;; context.  That is, from decoration->frame->global (button decorations 
> > ;; perhaps should forward to the titlebar before the frame, but side-bar 
> > ;; decorations probably should not).
> 
> When the decoration rewrite happens, a decoration module should be
> able to specify the event processing fallback path.

Good point, added.

> > OTHER ISSUES:
> 
> You might want to consider something like Emacs minor modes, with
> minor-mode-alist, etc.  (This doesn't have to affect the C support--a
> scheme wrapper over the above interface could do this--but it does
> need to be built-in from the beginning, so that minor modes from
> different authors can cooperate.)
> 
> I don't see how to do: 
> > o Multi-key bindings with prefix keys that change mode map

First key would change event maps, or could use get-key-event

> > o Quoting mechanism for turning off scwm's handling of events
> with this interface (but maybe I'm just not thinking about it right).

I actually did this already w/o the full event rewrite in the quote.scm
module, but the event rewrite would make it easier by having a keystroke 
bound to an action that turns off all relevant event maps.  (The problem 
is lots of Grabs and Ungrabs are slow, so this might not be a good plan).

> It would be nice to have event maps in the preference-editing UI.
> Modules could register event action procedures, and you could bind
> events to actions with the preferences GUI.

Yep... I'm working on it.  I'm torn between getting the UI up using
contexts, or waiting for the event rewrite.  I'm still trying to do
better with the procedure-prompting dialog.

I don't want action procedures to be too distinguished, but it's clear
that procs need to be annotated as to whether they'd make sense bound to 
an action.  (e.g., they'd need to have a side-effect).

> This does look like a big step forward!  I like it!

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 19:45:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA25669
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 19:45:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA25664
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 23 Sep 1999 19:45:39 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA19193; Thu, 23 Sep 1999 16:45:36 -0700 (PDT)
To: cwitty@newtonlabs.com (Carl R. Witty)
Cc: hjstein@bfr.co.il (Harvey J. Stein), scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite proposal revised...
References: <qrrn1uf7bh9.fsf@elwha.cs.washington.edu> <kiw7lliuc31.fsf@blinky.bloomberg.com> <v4j7llhb56u.fsf@bogomips.newtonlabs.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Sep 1999 16:45:36 -0700
In-Reply-To: cwitty@newtonlabs.com's message of "23 Sep 1999 16:04:25 -0700"
Message-ID: <qrr7llh42fz.fsf@elwha.cs.washington.edu>
Lines: 85
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

cwitty@newtonlabs.com (Carl R. Witty) writes:

> hjstein@bfr.co.il (Harvey J. Stein) writes:
> 
> >  > MODIFIER-SPECIFIER is a list of symbolic modifiers.  If the first
> >  > element of the list is the pseudo-modifier 'exactly, then exactly 
> >  > the list of modifiers that follows must be depressed for the event
> >  > to be matched.  Modifiers include:
> >  > 
> >  > 'control 'shift 'meta 'super 'alt 'hyper 'numlock 'capslock 'mod[1-8]
> >  > '~control '~shift '~meta '~super '~alt '~hyper '~numlock '~capslock '~mod[1-8]
> >  > '*control '*shift '*meta '*super '*alt '*hyper '*numlock '*capslock '*mod[1-8]
> > 
> > Firstly, this seems way to complicated.  It's also confusing in that
> > it mixes actual X modifiers with all these other things.  For that
> > matter, there are lots of confusing border cases for which the exact
> > meaning is unclear.  For example, what's 
> > 
> >    (make-key-event 'x '(control ~control *control))
> > 
> > or
> > 
> >    (make-key-event 'x '(except numlock with ~numlock iwith *numlock shift))
> > 
> > supposed to mean?  Futhermore, there's no mechanism for seeing exactly
> > *what* it means.
> 
> I'm not sure I agree that this is too complicated, but I agree that
> the ambiguities should be mentioned in the documentation.  (Just
> something like "These things are ambiguous.  If you do them the
> resulting behavior is unspecified." would be fine with me.)
> 
> Another ambiguity: what does '(hyper ~super) mean if there are no
> hyper or super modifier keys defined?

Adding:

"Listing of 'with, 'iwith, or 'exactly anywhere besides the first
position is an error.  Listing the same modifier twice (or once when it
is also implicit due to a pseudo-modifier) is also an error.

"If a modifier is listed and there is no key bound to that modifier, the
binding will be kept but it will be inactive until that modifier is made 
available via, e.g., xmodmap."

> 
> > I'd think it'd be better to have a low level function which maps
> > closer to the underlying X keyboard events.  The above make-key-event
> > where the optional argument is restricted to be a list of real
> > modifiers would be fine.  Then give a higher level convenience
> > macro maybe with keyword arguments to make handling sets
> > of modifiers more convenient.  Using a macro is convenient because
> > then one can expand it to see exactly what modifier-specifier list it
> > generates.
> 
> You need to be able to specify the modifiers in terms of the names
> ('hyper, 'super, etc.) to support xmodmap while the window manager is
> running.

Yep, that too (and it's important).  That's also why modifiers can be
mod[1-8] or symbolic names... to let the user specify what she wants
exactly w/o making questionable assumptions.  I'm also adding this:

"Mixing mod[1-8] with any of the symbolic names in the same specification
is also an error."

as a clarification.

> > So, similarly, what does it do to have (attach-event-map ID EVENT-MAP)
> > as opposed to just (attach-event ID EVENT PROC)?  Does it buy the user
> > a lot?  Does it buy the implementation a lot?  It obviously allows
> > (actually, almost forces) grouping events together, but grouping could
> > be made optional by having a couple of convenience macros such as
> > (attach-event-list ID '((EVENT1 . PROC1) (EVENT2 . PROC2) ...)) and 
> > (merge-event-lists ELIST1 ELIST2).
> 
> I prefer attach-event-map to attach-event from both the user and
> implementation standpoint.  attach-event-map is probably (perhaps only
> slightly) more efficient (in time and space), and it seems much more
> useful to the user as well.  (Have you done Emacs Lisp programming?
> Emacs puts event maps to very good use.)

I agree.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 23 22:39:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA26224
	for scwm-discuss-outgoing; Thu, 23 Sep 1999 22:39:21 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from quasar.newtonlabs.com (host97.newtonlabs.com [206.125.74.97])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA26221
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 23 Sep 1999 22:39:13 -0400
Received: from bogomips.newtonlabs.com (bogomips.newtonlabs.com [207.55.51.12])
	by quasar.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) with ESMTP id TAA24368;
	Thu, 23 Sep 1999 19:39:10 -0700
Received: (from cwitty@localhost)
	by bogomips.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) id TAA27288;
	Thu, 23 Sep 1999 19:39:10 -0700
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite proposal revised...
References: <qrrn1uf7bh9.fsf@elwha.cs.washington.edu> <v4j905xb5x5.fsf@bogomips.newtonlabs.com> <qrr905x42ol.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: cwitty@newtonlabs.com (Carl R. Witty)
Date: 23 Sep 1999 19:39:10 -0700
In-Reply-To: Greg Badros's message of "23 Sep 1999 16:40:26 -0700"
Message-ID: <v4j4sglav8x.fsf@bogomips.newtonlabs.com>
Lines: 36
X-Mailer: Gnus v5.4.61/Emacs 19.34
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> > You do realize that window-decoration-ids is not documented?
> 
> It's been implemented for a bit and documented in Scwm proper.

I checked http://www.cs.washington.edu/homes/gjb/scwm-doc/ before
sending my mail...is that not up to date?

> > You might want to consider something like Emacs minor modes, with
> > minor-mode-alist, etc.  (This doesn't have to affect the C support--a
> > scheme wrapper over the above interface could do this--but it does
> > need to be built-in from the beginning, so that minor modes from
> > different authors can cooperate.)
> > 
> > I don't see how to do: 
> > > o Multi-key bindings with prefix keys that change mode map
> 
> First key would change event maps, or could use get-key-event

I just looked at the implementation of get-key-event...isn't there a
race condition if you type the two keys quickly?

> > > o Quoting mechanism for turning off scwm's handling of events
> > with this interface (but maybe I'm just not thinking about it right).
> 
> I actually did this already w/o the full event rewrite in the quote.scm
> module, but the event rewrite would make it easier by having a keystroke 
> bound to an action that turns off all relevant event maps.  (The problem 
> is lots of Grabs and Ungrabs are slow, so this might not be a good plan).

Again, I wonder about race conditions.  (Of course, it's been several
years since the last time I fully understood X keyboard grabs, etc.,
so maybe it already works and I just don't understand why.)

Carl

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 24 06:08:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA28971
	for scwm-discuss-outgoing; Fri, 24 Sep 1999 06:08:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA28968
	for <scwm-discuss@scwm.mit.edu>; Fri, 24 Sep 1999 06:08:09 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1)
	id 11USGO-00017X-0A
	for scwm-discuss@scwm.mit.edu; Fri, 24 Sep 1999 10:07:37 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id JAA22293
	for scwm-discuss@scwm.mit.edu; Fri, 24 Sep 1999 09:16:04 +0100
Date: Fri, 24 Sep 1999 09:16:04 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Re: Window-toggling and window-focus stuff [was Re: Curious -- your cool scwm ideas?]
Message-ID: <19990924091604.J3916@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <19990922150443.M3916@hagbard.demon.co.uk> <qrrr9jp4gg4.fsf_-_@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <qrrr9jp4gg4.fsf_-_@elwha.cs.washington.edu>
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Boomtime, Day 48 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Thu, Sep 23, 1999 at 11:43:07AM -0700, Greg Badros wrote:

> I just committed changes that make the window-task-switcher-menu a little
> bit nicer. 

`window-task-switcher-menu', when did that appear?

,----
| davep@hagbard:~$ scwmrepl
| scwm> (apropos 'task-switch)
| #<unspecified>
| scwm> (scwm-version)
| "0.99.2"
`----

> I also made the popped-up menu correctly (optionally) select the initial
> item of the menu when Alt/Meta is released so no extra keystrokes are
> necessary (this worked for everything except the very first menu item that
> was selected). Finally, I made the initial item be the 3rd item (the first
> is the menu title, the second is the window that received focus most
> recently, and the 3rd is the window that received focus 2nd most
> recently).

This sounds spot on.

> See if the window-task-switcher is what you're looking for.

Where is this? Is this some scheme file or do I need to grab an "unstable"
CVS snapshot and re-build?

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 24 06:09:25 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA28976
	for scwm-discuss-outgoing; Fri, 24 Sep 1999 06:09:25 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA28973
	for <scwm-discuss@scwm.mit.edu>; Fri, 24 Sep 1999 06:09:21 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1)
	id 11USGz-00017X-0A
	for scwm-discuss@scwm.mit.edu; Fri, 24 Sep 1999 10:08:13 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id JAA22285
	for scwm-discuss@scwm.mit.edu; Fri, 24 Sep 1999 09:12:57 +0100
Date: Fri, 24 Sep 1999 09:12:57 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Re: Curious -- your cool scwm ideas?
Message-ID: <19990924091257.I3916@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <19990922150443.M3916@hagbard.demon.co.uk> <qrrzoyd4ln6.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <qrrzoyd4ln6.fsf@elwha.cs.washington.edu>
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Boomtime, Day 48 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Thu, Sep 23, 1999 at 09:50:53AM -0700, Greg Badros wrote:
> Dave Pearson <davep@hagbard.demon.co.uk> writes:
> 
> > What I wanted was something similar to other environments I've used
> > where the "direction" depends on how you move. In the case of scwm I
> > tried something like this:
> 
> "direction"?   There is my dir-focus module... is that what you mean?

No, I mean direction as in "next" and "previous". Recall that I'd bound
"A-Tab" to `next-window' and "A-S-Tab" to `prev-window'. By a change in
direction I mean sometimes go "next" and sometimes go "previous".

> > [SNIP my attempt to make it work in scheme and the problems I had]
> 
> This is interesting and I like it a lot... I'll try it when time permits.
> (There may be some bugs in the focussing primitives that are causing
> confusion and problems).

Ahh, that's good to know (as in "it's good to know it wasn't me", not "it's
good to know scwm might have some bugs" <g>).

> > The second idea I had is probably not so easy. I was wondering about
> > some form of programmable pointer-avoidance system. The idea would be
> > that, for certain windows (this could be a window-style thing) I could
> > say how long the pointer should be in the window before it, under
> > control of the WM, moves out of the way and finds an empty bit of
> > desktop.
> 
> I think unclutter is a better solution here:
> 
> ftp://ftp.x.org/contrib/utilities/unclutter-8.tar.Z

I'll take a look at this later, thanks for the pointer.

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 24 09:02:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA29312
	for scwm-discuss-outgoing; Fri, 24 Sep 1999 09:02:47 -0400
Received: from mailhub-dmz4.bloomberg.net (mailhub-dmz4.bloomberg.net [205.216.112.158])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA29309
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 24 Sep 1999 09:02:43 -0400
Received: from blinky.bloomberg.com by mailhub-dmz4.bloomberg.net with ESMTP; Fri, 24 Sep 1999 09:01:31 -0400
Received: (from hjstein@localhost)
	by blinky.bloomberg.com (8.9.3/8.9.3) id JAA19159;
	Fri, 24 Sep 1999 09:00:39 -0400
X-Authentication-Warning: blinky.bloomberg.com: hjstein set sender to hjstein@bfr.co.il using -f
To: Greg Badros <gjb@cs.washington.edu>
Cc: cwitty@newtonlabs.com (Carl R. Witty), scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite proposal revised...
References: <qrrn1uf7bh9.fsf@elwha.cs.washington.edu> <v4j905xb5x5.fsf@bogomips.newtonlabs.com> <qrr905x42ol.fsf@elwha.cs.washington.edu>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 24 Sep 1999 09:00:38 -0400
In-Reply-To: Greg Badros's message of "23 Sep 1999 16:40:26 -0700"
Message-ID: <kiwvh90sbux.fsf@blinky.bloomberg.com>
Lines: 21
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > cwitty@newtonlabs.com (Carl R. Witty) writes:
 > 
 > > You could change last-event to (last-event) (i.e., make it a thunk) to
 > > remove the unschemely use of dynamic scope.
 > 
 > I was thinking of it as a global variable (which it is).  I don't really 
 > mind either way but went for a slightly easier syntax.

It should be a variable if the intent is that the user can set! it.
That is, if you intend that an event handler can catch an event and
change it to cause it to propagate differently through the event
maps.  Othwerwise it should be a function returning the last event,
or, as I pointed out, make the accessor functions thunks and do away
with last-event completely.

-- 
Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 24 09:23:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA29417
	for scwm-discuss-outgoing; Fri, 24 Sep 1999 09:23:32 -0400
Received: from mailhub-dmz4.bloomberg.net (mailhub-dmz4.bloomberg.net [205.216.112.158])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA29414
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 24 Sep 1999 09:23:28 -0400
Received: from blinky.bloomberg.com by mailhub-dmz4.bloomberg.net with ESMTP; Fri, 24 Sep 1999 09:22:17 -0400
Received: (from hjstein@localhost)
	by blinky.bloomberg.com (8.9.3/8.9.3) id JAA19416;
	Fri, 24 Sep 1999 09:21:25 -0400
X-Authentication-Warning: blinky.bloomberg.com: hjstein set sender to hjstein@bfr.co.il using -f
To: Greg Badros <gjb@cs.washington.edu>
Cc: cwitty@newtonlabs.com (Carl R. Witty), scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite proposal revised...
References: <qrrn1uf7bh9.fsf@elwha.cs.washington.edu> <kiw7lliuc31.fsf@blinky.bloomberg.com> <v4j7llhb56u.fsf@bogomips.newtonlabs.com> <qrr7llh42fz.fsf@elwha.cs.washington.edu>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 24 Sep 1999 09:21:25 -0400
In-Reply-To: Greg Badros's message of "23 Sep 1999 16:45:36 -0700"
Message-ID: <kiwu2oksawa.fsf@blinky.bloomberg.com>
Lines: 44
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > cwitty@newtonlabs.com (Carl R. Witty) writes:
 > 
 > > hjstein@bfr.co.il (Harvey J. Stein) writes:
 > > I prefer attach-event-map to attach-event from both the user and
 > > implementation standpoint.  attach-event-map is probably (perhaps only
 > > slightly) more efficient (in time and space), and it seems much more
 > > useful to the user as well.  (Have you done Emacs Lisp programming?
 > > Emacs puts event maps to very good use.)
 > 
 > I agree.

Well, like I said, if you have an attach-event, you can trivally
synthesize an attach-event-map.  There are two reasons Emacs has event
maps.  One is for efficiency - they're 128 (or is it 256) element vectors
& events (at least originally) were single byte integers, so event
procedure lookup was merely accessing the vector by the event.  The
other reason is minor modes - so that a minor mode can easily
partially overlay the keyboard responses.

In our case the former doesn't apply.  So, there's no implementation
reason for mode maps.  The only user reason is to form a collection of
event/response pairs, which is never used until it's explicitly
attached to some window.  In this case, there's no reason to not just
have an 

Also, in Emacs, events dispatched to the first matching event in an
event map.  The proposal is that all of them fire unless there's some
special symbol in one of the slots.  I'm not sure the latter is such a
good idea (as I outlined).

Also, in Emacs, each buffer has a mode & a set of minor modes.  This
directly implies the keymaps associated with the specified buffer.
There's also no event map hierarchy except for handling key sequences.
In our case, we have all these different mechanisms for specifying a
set of windows or window parts, and on top of that we're layering this
hierarchy of event maps.  Having both hierarchies are redundant and
confusing.

-- 
Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 24 11:30:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA29730
	for scwm-discuss-outgoing; Fri, 24 Sep 1999 11:30:08 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA29727
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 24 Sep 1999 11:30:03 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA20106; Fri, 24 Sep 1999 08:29:59 -0700 (PDT)
To: cwitty@newtonlabs.com (Carl R. Witty)
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite proposal revised...
References: <qrrn1uf7bh9.fsf@elwha.cs.washington.edu> <v4j905xb5x5.fsf@bogomips.newtonlabs.com> <qrr905x42ol.fsf@elwha.cs.washington.edu> <v4j4sglav8x.fsf@bogomips.newtonlabs.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Sep 1999 08:29:59 -0700
In-Reply-To: cwitty@newtonlabs.com's message of "23 Sep 1999 19:39:10 -0700"
Message-ID: <qrr3dw449ag.fsf@elwha.cs.washington.edu>
Lines: 55
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

cwitty@newtonlabs.com (Carl R. Witty) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > > You do realize that window-decoration-ids is not documented?
> > 
> > It's been implemented for a bit and documented in Scwm proper.
> 
> I checked http://www.cs.washington.edu/homes/gjb/scwm-doc/ before
> sending my mail...is that not up to date?

Since it takes several hours to generate the HTML, I only do it every
now and again.  The on-line (text-based) documentation that is
available, e.g., through emacs, is usually pretty close to up to date.

> 
> > > You might want to consider something like Emacs minor modes, with
> > > minor-mode-alist, etc.  (This doesn't have to affect the C support--a
> > > scheme wrapper over the above interface could do this--but it does
> > > need to be built-in from the beginning, so that minor modes from
> > > different authors can cooperate.)
> > > 
> > > I don't see how to do: 
> > > > o Multi-key bindings with prefix keys that change mode map
> > 
> > First key would change event maps, or could use get-key-event
> 
> I just looked at the implementation of get-key-event...isn't there a
> race condition if you type the two keys quickly?

Looks like it to me, too.... but at least you get a warning... I'd have
to experiment to see what the best solution is.

> > > > o Quoting mechanism for turning off scwm's handling of events
> > > with this interface (but maybe I'm just not thinking about it right).
> > 
> > I actually did this already w/o the full event rewrite in the quote.scm
> > module, but the event rewrite would make it easier by having a keystroke 
> > bound to an action that turns off all relevant event maps.  (The problem 
> > is lots of Grabs and Ungrabs are slow, so this might not be a good plan).
> 
> Again, I wonder about race conditions.  (Of course, it's been several
> years since the last time I fully understood X keyboard grabs, etc.,
> so maybe it already works and I just don't understand why.)

Unfortunately I think that's sometimes the case for lots of X11
programmers. :-(

I think get-key-event is fixable, but since the race losing announces
itself and hasn't yet bitten me, it's lower on my priorities so I've
added a FIXME for now.

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 24 11:44:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA29791
	for scwm-discuss-outgoing; Fri, 24 Sep 1999 11:44:57 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA29788
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 24 Sep 1999 11:44:50 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA20113; Fri, 24 Sep 1999 08:44:44 -0700 (PDT)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: cwitty@newtonlabs.com (Carl R. Witty), scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite proposal revised...
References: <qrrn1uf7bh9.fsf@elwha.cs.washington.edu> <kiw7lliuc31.fsf@blinky.bloomberg.com> <v4j7llhb56u.fsf@bogomips.newtonlabs.com> <qrr7llh42fz.fsf@elwha.cs.washington.edu> <kiwu2oksawa.fsf@blinky.bloomberg.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Sep 1999 08:44:44 -0700
In-Reply-To: hjstein@bfr.co.il's message of "24 Sep 1999 09:21:25 -0400"
Message-ID: <qrr1zbo48lv.fsf@elwha.cs.washington.edu>
Lines: 79
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
>  > cwitty@newtonlabs.com (Carl R. Witty) writes:
>  > 
>  > > hjstein@bfr.co.il (Harvey J. Stein) writes:
>  > > I prefer attach-event-map to attach-event from both the user and
>  > > implementation standpoint.  attach-event-map is probably (perhaps only
>  > > slightly) more efficient (in time and space), and it seems much more
>  > > useful to the user as well.  (Have you done Emacs Lisp programming?
>  > > Emacs puts event maps to very good use.)
>  > 
>  > I agree.
> 
> Well, like I said, if you have an attach-event, you can trivally
> synthesize an attach-event-map.  There are two reasons Emacs has event

But if you're going to be using them in event maps always, that
restriction simplifies the C implementation.  As it is, attach-event may 
need to cause an event-map data structure to spring into existence, and
remove-event would conceivably require eliminating the structure.  This
is definitely not a big deal, but is unnecessary IMO.

More importantly, the sharing of subsets of keybindings across different 
decorations becomes a *lot* harder to manage.  W/o attach-event-map, I'd 
need to wrap in Scheme the maintaining of an identical set of bindings
on, say, an Acroread client window and a GV client window.  Or, suppose
we didn't have the geometry-based chaining... then just maintaining the
same keybindings for the left and right side decorations would be a pain.

> maps.  One is for efficiency - they're 128 (or is it 256) element vectors
> & events (at least originally) were single byte integers, so event
> procedure lookup was merely accessing the vector by the event.  The
> other reason is minor modes - so that a minor mode can easily
> partially overlay the keyboard responses.
> 
> In our case the former doesn't apply.  So, there's no implementation
> reason for mode maps.  The only user reason is to form a collection of

I disagree-- mode maps are easier and cleaner to implement-- it's just
one XSaveContext-ed object hanging off of an arbitrary X11 window that
the event handler uses for dispatch.  The attach/remove-event-map
primitives just are setters/removers of that Context, and there are few
other worries.

Building event-maps from attach-event is not trivial to do efficiently
because of intended sharing issues.

> event/response pairs, which is never used until it's explicitly
> attached to some window.  In this case, there's no reason to not just
> have an 

Something got cut off above.

> Also, in Emacs, events dispatched to the first matching event in an
> event map.  The proposal is that all of them fire unless there's some
> special symbol in one of the slots.  I'm not sure the latter is such a
> good idea (as I outlined).

I'm definitely not married to this dispatch algorithm.  I need more time 
to think about it, and want to review some of my notes to myself when
learning about CLOS's method combination.

> Also, in Emacs, each buffer has a mode & a set of minor modes.  This
> directly implies the keymaps associated with the specified buffer.
> There's also no event map hierarchy except for handling key sequences.
> In our case, we have all these different mechanisms for specifying a
> set of windows or window parts, and on top of that we're layering this
> hierarchy of event maps.  Having both hierarchies are redundant and
> confusing.

I think it makes for the ability to more cleanly factor out recurring
bindings.  What is your alternative proposal?  Which hierarchy do you
want to eliminate or alter?

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 24 12:11:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA29977
	for scwm-discuss-outgoing; Fri, 24 Sep 1999 12:11:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA29974
	for <scwm-discuss@scwm.mit.edu>; Fri, 24 Sep 1999 12:11:49 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA20170; Fri, 24 Sep 1999 09:11:23 -0700 (PDT)
To: Dave Pearson <davep@hagbard.demon.co.uk>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Curious -- your cool scwm ideas?
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <19990922150443.M3916@hagbard.demon.co.uk> <qrrzoyd4ln6.fsf@elwha.cs.washington.edu> <19990924091257.I3916@hagbard.demon.co.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Sep 1999 09:11:23 -0700
In-Reply-To: Dave Pearson's message of "Fri, 24 Sep 1999 09:12:57 +0100"
Message-ID: <qrrso442st0.fsf@elwha.cs.washington.edu>
Lines: 48
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dave Pearson <davep@hagbard.demon.co.uk> writes:

> On Thu, Sep 23, 1999 at 09:50:53AM -0700, Greg Badros wrote:
> > Dave Pearson <davep@hagbard.demon.co.uk> writes:
> > 
> > > What I wanted was something similar to other environments I've used
> > > where the "direction" depends on how you move. In the case of scwm I
> > > tried something like this:
> > 
> > "direction"?   There is my dir-focus module... is that what you mean?
> 
> No, I mean direction as in "next" and "previous". Recall that I'd bound
> "A-Tab" to `next-window' and "A-S-Tab" to `prev-window'. By a change in
> direction I mean sometimes go "next" and sometimes go "previous".

Gotcha.  (In retrospect, my brain must've been on a bit of a vacation
there... :-).

> > > [SNIP my attempt to make it work in scheme and the problems I had]
> > 
> > This is interesting and I like it a lot... I'll try it when time permits.
> > (There may be some bugs in the focussing primitives that are causing
> > confusion and problems).
> 
> Ahh, that's good to know (as in "it's good to know it wasn't me", not "it's
> good to know scwm might have some bugs" <g>).

Right.  I'll try to test more thoroughly to see what problems are
around.  I typically change focus just by moving my pointer using my key
bindings, but I'll train myself to use some of the cooler stuff that I
and others have written to find and fix bugs.

> > > The second idea I had is probably not so easy. I was wondering about
> > > some form of programmable pointer-avoidance system. The idea would be
> > > that, for certain windows (this could be a window-style thing) I could
> > > say how long the pointer should be in the window before it, under
> > > control of the WM, moves out of the way and finds an empty bit of
> > > desktop.
> > 
> > I think unclutter is a better solution here:
> > 
> > ftp://ftp.x.org/contrib/utilities/unclutter-8.tar.Z
> 
> I'll take a look at this later, thanks for the pointer.

You bet.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 24 12:15:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA30024
	for scwm-discuss-outgoing; Fri, 24 Sep 1999 12:15:47 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA30021
	for <scwm-discuss@scwm.mit.edu>; Fri, 24 Sep 1999 12:15:44 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA20173; Fri, 24 Sep 1999 09:15:21 -0700 (PDT)
To: Dave Pearson <davep@hagbard.demon.co.uk>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Window-toggling and window-focus stuff [was Re: Curious -- your cool scwm ideas?]
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <19990922150443.M3916@hagbard.demon.co.uk> <qrrr9jp4gg4.fsf_-_@elwha.cs.washington.edu> <19990924091604.J3916@hagbard.demon.co.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Sep 1999 09:15:21 -0700
In-Reply-To: Dave Pearson's message of "Fri, 24 Sep 1999 09:16:04 +0100"
Message-ID: <qrrr9jo2sme.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dave Pearson <davep@hagbard.demon.co.uk> writes:

> On Thu, Sep 23, 1999 at 11:43:07AM -0700, Greg Badros wrote:
> 
> > I just committed changes that make the window-task-switcher-menu a little
> > bit nicer. 
> 
> `window-task-switcher-menu', when did that appear?

It's in flux.scm... been around for a bit, definitely is in 0.99.2
(though not as nice as it is in scwm out of CVS).

<snip>

> > I also made the popped-up menu correctly (optionally) select the initial
> > item of the menu when Alt/Meta is released so no extra keystrokes are
> > necessary (this worked for everything except the very first menu item that
> > was selected). Finally, I made the initial item be the 3rd item (the first
> > is the menu title, the second is the window that received focus most
> > recently, and the 3rd is the window that received focus 2nd most
> > recently).
> 
> This sounds spot on.
> 
> > See if the window-task-switcher is what you're looking for.
> 
> Where is this? Is this some scheme file or do I need to grab an "unstable"
> CVS snapshot and re-build?

flux.scm.  I've fixed some of the menuing code to improve the
alt-behaviour (and there are more fixes that I'll be committing today).
Just wait for 0.99.3 which will come out a day or so after guile-1.3.4
(sometime next week most likely).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 24 13:26:34 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA30698
	for scwm-discuss-outgoing; Fri, 24 Sep 1999 13:26:34 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tequila.cs.yale.edu (TEQUILA.CS.YALE.EDU [128.36.229.152])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA30695
	for <scwm-discuss@scwm.mit.edu>; Fri, 24 Sep 1999 13:26:29 -0400
Received: from tequila.cs.yale.edu (localhost [127.0.0.1])
	by tequila.cs.yale.edu (8.9.3/8.9.3) with SMTP id NAA01237
	for <scwm-discuss@scwm.mit.edu>; Fri, 24 Sep 1999 13:26:24 -0400
To: scwm-discuss@scwm.mit.edu
From: "Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu>
Newsgroups: lists.scwm.discuss
Subject: Re: Event rewrite proposal revised...
References: <qrrn1uf7bh9.fsf@elwha.cs.washington.edu> <v4j905xb5x5.fsf@bogomips.newtonlabs.com> <qrr905x42ol.fsf@elwha.cs.washington.edu>
Date: 24 Sep 1999 13:26:22 -0400
Message-ID: <5lu2okfcg1.fsf@tequila.cs.yale.edu>
Lines: 10
X-Newsreader: Gnus v5.7/Emacs 20.4
Path: tequila.cs.yale.edu
NNTP-Posting-Host: tequila.cs.yale.edu
X-Trace: 24 Sep 1999 13:26:22 -0500, tequila.cs.yale.edu
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>> > o Multi-key bindings with prefix keys that change mode map
> First key would change event maps, or could use get-key-event

Yuck!
Full of race conditions probably and tricky to get right.
Especially, if you end up with an Emacs-like system where several event-maps
can be active at the same time, which event-map are you going to change ?


	Stefan

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 24 14:38:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA31124
	for scwm-discuss-outgoing; Fri, 24 Sep 1999 14:38:08 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA31119
	for <scwm-discuss@scwm.mit.edu>; Fri, 24 Sep 1999 14:37:59 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA20353; Fri, 24 Sep 1999 11:37:53 -0700 (PDT)
To: "Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Event rewrite proposal revised...
References: <qrrn1uf7bh9.fsf@elwha.cs.washington.edu> <v4j905xb5x5.fsf@bogomips.newtonlabs.com> <qrr905x42ol.fsf@elwha.cs.washington.edu> <5lu2okfcg1.fsf@tequila.cs.yale.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Sep 1999 11:37:53 -0700
In-Reply-To: "Stefan Monnier"'s message of "24 Sep 1999 13:26:22 -0400"
Message-ID: <qrriu502m0u.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu> writes:

> >> > o Multi-key bindings with prefix keys that change mode map
> > First key would change event maps, or could use get-key-event
> 
> Yuck!
> Full of race conditions probably and tricky to get right.
> Especially, if you end up with an Emacs-like system where several event-maps
> can be active at the same time, which event-map are you going to change ?

Not if the first key initiates a synchronous grab of the X server via
GrabModeSync.  See p. 316- in Xlib Vol. 1 (ORA).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 24 14:43:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA31279
	for scwm-discuss-outgoing; Fri, 24 Sep 1999 14:43:27 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tequila.cs.yale.edu (TEQUILA.CS.YALE.EDU [128.36.229.152])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA31276
	for <scwm-discuss@scwm.mit.edu>; Fri, 24 Sep 1999 14:43:24 -0400
Received: (from monnier@localhost)
	by tequila.cs.yale.edu (8.9.3/8.9.3) id OAA01951;
	Fri, 24 Sep 1999 14:43:17 -0400
Message-Id: <199909241843.OAA01951@tequila.cs.yale.edu>
X-Mailer: exmh version 2.1.0 04/14/1999
From: "Stefan Monnier" <monnier+lists/scwm@tequila.cs.yale.edu>
To: Greg Badros <gjb@cs.washington.edu>
Cc: "Stefan Monnier"
    <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu>,
        scwm-discuss@scwm.mit.edu
Subject: Re: Event rewrite proposal revised... 
References: <qrrn1uf7bh9.fsf@elwha.cs.washington.edu> <v4j905xb5x5.fsf@bogomips.newtonlabs.com> <qrr905x42ol.fsf@elwha.cs.washington.edu> <5lu2okfcg1.fsf@tequila.cs.yale.edu>  <qrriu502m0u.fsf@elwha.cs.washington.edu> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 24 Sep 1999 14:43:17 -0400
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

> "Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu> writes:
> 
> > >> > o Multi-key bindings with prefix keys that change mode map
> > > First key would change event maps, or could use get-key-event
> > 
> > Yuck!
> > Full of race conditions probably and tricky to get right.
> > Especially, if you end up with an Emacs-like system where several event-maps
> > can be active at the same time, which event-map are you going to change ?
> 
> Not if the first key initiates a synchronous grab of the X server via
> GrabModeSync.  See p. 316- in Xlib Vol. 1 (ORA).

But that doesn't slove the `which event-map to change' problem.
Also what happens if both the global event-map and some local one
bind an ESC prefix ?
Will the local one hide all the global ESC bindings ?
If not, how is your rebinding function going to figure out what new
evant-map to use temporarily ?  Is it going to manually merge the two
ESC maps ?

I don't think you can so easily push the multi-key binding issue on the
side, unless you only support a restricted set of multi-key semantics.

Maybe the problem can be solved on top of the current proposal, but
it won't be easy (i.e. it won't happen unless someone writes a good
module that implements the feature, taking care of all the quirks).


	Stefan


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 24 14:47:06 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA31341
	for scwm-discuss-outgoing; Fri, 24 Sep 1999 14:47:06 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA31338
	for <scwm-discuss@scwm.mit.edu>; Fri, 24 Sep 1999 14:47:03 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA20370; Fri, 24 Sep 1999 11:46:59 -0700 (PDT)
To: "Stefan Monnier" <monnier+lists/scwm@tequila.cs.yale.edu>
Cc: "Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu>,
        scwm-discuss@scwm.mit.edu
Subject: Re: Event rewrite proposal revised...
References: <qrrn1uf7bh9.fsf@elwha.cs.washington.edu> <v4j905xb5x5.fsf@bogomips.newtonlabs.com> <qrr905x42ol.fsf@elwha.cs.washington.edu> <5lu2okfcg1.fsf@tequila.cs.yale.edu>  <qrriu502m0u.fsf@elwha.cs.washington.edu> <199909241843.OAA01951@tequila.cs.yale.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Sep 1999 11:46:59 -0700
In-Reply-To: "Stefan Monnier"'s message of "Fri, 24 Sep 1999 14:43:17 -0400"
Message-ID: <qrrhfkk2llo.fsf@elwha.cs.washington.edu>
Lines: 38
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Stefan Monnier" <monnier+lists/scwm@tequila.cs.yale.edu> writes:

> > "Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu> writes:
> > 
> > > >> > o Multi-key bindings with prefix keys that change mode map
> > > > First key would change event maps, or could use get-key-event
> > > 
> > > Yuck!
> > > Full of race conditions probably and tricky to get right.
> > > Especially, if you end up with an Emacs-like system where several event-maps
> > > can be active at the same time, which event-map are you going to change ?
> > 
> > Not if the first key initiates a synchronous grab of the X server via
> > GrabModeSync.  See p. 316- in Xlib Vol. 1 (ORA).
> 
> But that doesn't slove the `which event-map to change' problem.
> Also what happens if both the global event-map and some local one
> bind an ESC prefix ?
> Will the local one hide all the global ESC bindings ?
> If not, how is your rebinding function going to figure out what new
> evant-map to use temporarily ?  Is it going to manually merge the two
> ESC maps ?
> 
> I don't think you can so easily push the multi-key binding issue on the
> side, unless you only support a restricted set of multi-key semantics.
> 
> Maybe the problem can be solved on top of the current proposal, but
> it won't be easy (i.e. it won't happen unless someone writes a good
> module that implements the feature, taking care of all the quirks).

As I mentioned in an earlier message, though, I think get-key-event may
be an easier way to handle multi-key bindings.  This is one of the
reasons why dispatch-event is an exposed primitive instead of an
internal implementation detail-- after getting the next keyboard event,
a secondary event map for the prefix key can be used for dispatching,
all under scheme code control.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 24 17:54:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA32181
	for scwm-discuss-outgoing; Fri, 24 Sep 1999 17:54:36 -0400
Received: from icomm.ca (icomm.ca [216.126.72.23])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA32178
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 24 Sep 1999 17:54:31 -0400
Received: from localhost (skeezix@localhost)
	by icomm.ca (8.9.3/8.9.3/iComm) with ESMTP id RAA05571
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 24 Sep 1999 17:54:18 -0400
X-Authentication-Warning: icomm.ca: skeezix owned process doing -bs
Date: Fri, 24 Sep 1999 17:54:17 -0400 (EDT)
From: Jeff Mitchell <skeezix@skeleton.org>
X-Sender: skeezix@icomm.ca
Reply-To: skeezix@skeleton.org
To: scwm-discuss@SCWM.MIT.EDU
Subject: Big math-brane? pseudo-related to scwm...
Message-ID: <Pine.LNX.4.10.9909241751240.30084-100000@icomm.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


	I'm betting there are some big brains here, or at least peopel
who've not forgotten as much math as I have.

	Imagine you have a triangle, where each face is actually a bezier
curve, or spline, or other simple curve. Sort of like a segment of a
iris-door in science fiction films... always curved to the right, say, as
if the triangle appeared and was torqued a bit.

	How can you determine if a point is inside of the wedge?

	I've thought of various ways .. using the 3 main control points as
a triangle and using simple geometry, and then using some
point-under-the-curve to find out which curve I'm near and if I'm in or
out, but it seems like there must be a better way. I'm very rusty with my
math, so be gentle if you have any ideas, or if this is old hat :)

	I'm working on some shaped-window hacks...

		jeff

--
"It's murder out there. You can't even travel around in your own micro
circuits without permission from 'Master Control Program'. I mean,
sending *ME* down here to play games.... Who does he calculate he is?"
-- Peter Jurasik as Crom, _Tron_


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 24 18:05:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA32325
	for scwm-discuss-outgoing; Fri, 24 Sep 1999 18:05:42 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA32322
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 24 Sep 1999 18:05:24 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA20608; Fri, 24 Sep 1999 15:05:12 -0700 (PDT)
To: skeezix@skeleton.org
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Big math-brane? pseudo-related to scwm...
References: <Pine.LNX.4.10.9909241751240.30084-100000@icomm.ca>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Sep 1999 15:05:12 -0700
In-Reply-To: Jeff Mitchell's message of "Fri, 24 Sep 1999 17:54:17 -0400 (EDT)"
Message-ID: <qrryadw0xuv.fsf@elwha.cs.washington.edu>
Lines: 10
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jeff Mitchell <skeezix@skeleton.org> writes:

<snip>

> 	I'm working on some shaped-window hacks...

Well, if you've already got the shaped-window drawn according to the
geometry you describe, you can let X do the hit-testing.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 24 18:37:54 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA32744
	for scwm-discuss-outgoing; Fri, 24 Sep 1999 18:37:54 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from savonarola.red-bean.com (savonarola.red-bean.com [208.245.165.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA32741
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 24 Sep 1999 18:37:43 -0400
Received: (from jimb@localhost)
	by savonarola.red-bean.com (8.8.7/8.8.7) id RAA26498;
	Fri, 24 Sep 1999 17:37:14 -0500
To: skeezix@skeleton.org
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Big math-brane? pseudo-related to scwm...
References: <Pine.LNX.4.10.9909241751240.30084-100000@icomm.ca>
From: Jim Blandy <jimb@red-bean.com>
Date: 24 Sep 1999 17:37:14 -0500
In-Reply-To: Jeff Mitchell's message of "Fri, 24 Sep 1999 17:54:17 -0400 (EDT)"
Message-ID: <m3zoycrl5x.fsf@savonarola.red-bean.com>
Lines: 8
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Can you write a function which tells whether and where a given
horizontal line intersects a particular segment?  If so, then you can
count crossings, and use the even-odd or non-zero winding rules.  It's
just as if you were rendering a polygon, except that you've got
curves, not lines, so there are some extra cases (what happens if the
curve crosses the line in two places?  and so on).


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Sep 24 20:59:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA00356
	for scwm-discuss-outgoing; Fri, 24 Sep 1999 20:59:57 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA00352
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 24 Sep 1999 20:59:53 -0400
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id UAA27727;
	Fri, 24 Sep 1999 20:59:44 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id VAA01858; Fri, 24 Sep 1999 21:00:13 -0400
Date: Fri, 24 Sep 1999 21:00:13 -0400
Message-Id: <199909250100.VAA01858@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrrn1uf7bh9.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 21 Sep 1999 22:37:38 -0700)
Subject: Re: Event rewrite proposal revised...
References:  <qrrn1uf7bh9.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I'm just now getting as far as reading the new event proposal and the
numerous comments made upon it.  One thing that is still unclear to me
is how scwm will deal with fabricated events (such as 'click and
'double-click) without having to pause as it does now.  The example I
had given earlier of wanting to implement a very responsive
move-or-raise function more or less like this:

      (if (deltabutton) (interactive-move) (raise-window))

with deltabutton being approximately

       (let ((result #f) (done #f))
	 (while (not done)
	    (if (button-is-still-down)
		(if (mouse-has-moved-far-enough)
		    (progn
		      (set! done #t)
		      (set! result #t)
		    )
		  ;; else mouse has not moved far enough -- stay in loop
		)
	      ;; else button is not still down
	      (set! done #t)
	      (set! result #f)
	    )
	 )
	 result
       )

Will this type of code be possible with this event scheme?  If not,
will something equivalent and equally responsive work?

I like to bind most mouse actions to button release events rather than
click events because I'm not that good with the mouse and I like to be
able change my mind by, say, pressing the button over one thing and
then moving the mouse away before releasing.

Some window managers I've used (twm, gwm) let you cancel operations
bound to button press events.  For example, if you bind a button to
moving a window and then click another button in the middle of the
operation, it cancels the move event.  I've gotten used to this, but I
don't think it's important since scwm could (does?) support a more
general undo function.

There are other things I've done with gwm that I'm not sure I see how
to do here because I don't really understand the way X events work too
well.  Sometimes I like to use the window manager to protect myself
against sending events to certain windows by mistake.  For example, if
my "zwgc" window is dismissed by clicking any mouse button over the
window, I may want to bind all the individual button click events to
no-ops and then bind control-button-1 to send a button-1 event to the
client.  Would fabricated events generated by send event trigger
functions in the event maps to be called?

I apologize of some of these questions are silly.  I've never done
low-level X programming (well, maybe a little bit when X11R1 first
came out in the pre-Xt days, but the world has changed since then, and
I don't remember any of it anyway) and in my 12+ years of programming,
have just done a small handful of X programming.  Most of what I know
is from customizing gwm....

As I read back over this message, I see that it is not my clearest
writing.  It's been a long week.  If any of this doesn't make sense,
let me know and I will try again to explain what I'm talking to.  But
the basic idea is that I don't want to have to pay for the overhead
required for scwm to figure out the existence of events that I'm not
interested in....

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/


From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 25 02:38:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA00957
	for scwm-discuss-outgoing; Sat, 25 Sep 1999 02:38:40 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tele-post-20.mail.demon.net (tele-post-20.mail.demon.net [194.217.242.20])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA00952
	for <scwm-discuss@scwm.mit.edu>; Sat, 25 Sep 1999 02:38:28 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2)
	id 11UlTV-000NN5-0K
	for scwm-discuss@scwm.mit.edu; Sat, 25 Sep 1999 06:38:25 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id HAA29540
	for scwm-discuss@scwm.mit.edu; Sat, 25 Sep 1999 07:12:58 +0100
Date: Sat, 25 Sep 1999 07:12:58 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Re: Curious -- your cool scwm ideas?
Message-ID: <19990925071258.Q3916@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <19990922150443.M3916@hagbard.demon.co.uk> <qrrzoyd4ln6.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <qrrzoyd4ln6.fsf@elwha.cs.washington.edu>
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Pungenday, Day 49 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Thu, Sep 23, 1999 at 09:50:53AM -0700, Greg Badros wrote:
> Dave Pearson <davep@hagbard.demon.co.uk> writes:
> 
> > The second idea I had is probably not so easy. I was wondering about some
> > form of programmable pointer-avoidance system. The idea would be that, for
> > certain windows (this could be a window-style thing) I could say how long
> > the pointer should be in the window before it, under control of the WM,
> > moves out of the way and finds an empty bit of desktop.
> 
> I think unclutter is a better solution here:
> 
> ftp://ftp.x.org/contrib/utilities/unclutter-8.tar.Z

Once again, thanks for this pointer. I just downloaded, built and run this
and it is *exactly* the kind of thing I was after.

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 25 02:38:37 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA00956
	for scwm-discuss-outgoing; Sat, 25 Sep 1999 02:38:37 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tele-post-20.mail.demon.net (tele-post-20.mail.demon.net [194.217.242.20])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA00946
	for <scwm-discuss@scwm.mit.edu>; Sat, 25 Sep 1999 02:38:26 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2)
	id 11UlTU-000NN5-0K
	for scwm-discuss@scwm.mit.edu; Sat, 25 Sep 1999 06:38:24 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id HAA29488
	for scwm-discuss@scwm.mit.edu; Sat, 25 Sep 1999 07:10:18 +0100
Date: Sat, 25 Sep 1999 07:10:18 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Memory usage
Message-ID: <19990925071018.P3916@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre2i
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Pungenday, Day 49 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

First a warning, this is going to be an almost content free question and/or
observation but I thought it might be worth mentioning it for those who have
the knowledge to consider and look into it.

I was running gmemusage a little earlier on my Linux box and noticed that
scwm's size was a touch over 40MB. On noticing this I issued a restart and
the size dropped down to 1.7MB. scwm itself has been up and running just
over 7 days.

Possible memory leak?

,----
| davep@hagbard:~$ cat /etc/redhat-release
| Red Hat Linux release 6.0 (Hedwig)
| davep@hagbard:~$ scwmexec "(scwm-version)";echo
| "0.99.2"
| davep@hagbard:~$ rpm -q guile-devel
| guile-devel-1.3-6
| davep@hagbard:~$ uname -a
| Linux hagbard.demon.co.uk 2.2.5-15 #4 Mon Jul 26 18:02:56 BST 1999 i586 unknown
`----

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 25 02:38:35 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA00955
	for scwm-discuss-outgoing; Sat, 25 Sep 1999 02:38:35 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tele-post-20.mail.demon.net (tele-post-20.mail.demon.net [194.217.242.20])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA00945
	for <scwm-discuss@scwm.mit.edu>; Sat, 25 Sep 1999 02:38:25 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2)
	id 11UlTS-000NN5-0K
	for scwm-discuss@scwm.mit.edu; Sat, 25 Sep 1999 06:38:23 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id HAA29434
	for scwm-discuss@scwm.mit.edu; Sat, 25 Sep 1999 07:02:15 +0100
Date: Sat, 25 Sep 1999 07:02:15 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Re: Window-toggling and window-focus stuff [was Re: Curious -- your cool scwm ideas?]
Message-ID: <19990925070215.O3916@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <19990922150443.M3916@hagbard.demon.co.uk> <qrrr9jp4gg4.fsf_-_@elwha.cs.washington.edu> <19990924091604.J3916@hagbard.demon.co.uk> <qrrr9jo2sme.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <qrrr9jo2sme.fsf@elwha.cs.washington.edu>
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Pungenday, Day 49 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Fri, Sep 24, 1999 at 09:15:21AM -0700, Greg Badros wrote:
> Dave Pearson <davep@hagbard.demon.co.uk> writes:
> 
> > `window-task-switcher-menu', when did that appear?
> 
> It's in flux.scm... been around for a bit, definitely is in 0.99.2 (though
> not as nice as it is in scwm out of CVS).

It doesn't appear to be in 0.99.2 (I did grep for it prior to asking about
it).

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 25 06:28:09 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA03440
	for scwm-discuss-outgoing; Sat, 25 Sep 1999 06:28:09 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA03437
	for <scwm-discuss@scwm.mit.edu>; Sat, 25 Sep 1999 06:28:02 -0400
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id UAA31736
	for <scwm-discuss@scwm.mit.edu>; Sat, 25 Sep 1999 20:27:58 +1000
Message-ID: <30444998.21835107@tech.com.au>
Date: Wed, 30 Aug 1995 21:20:56 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: gnome pager
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com> <37E9CAEA.9A4945C9@tech.com.au> <kiwln9xybha.fsf@blinky.bloomberg.com> <qrr7llh618e.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I tried building from cvs to fix the gnome pager problem. I havn't been
able to get scwm to build from source for ages. I've tried rebuilding
late gtk's, guiles and other stuff  etc. Always some problem either core
dump for the result, or unable to wade through autoconf probs.

Is there planned a new rpm soon?

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 25 11:58:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA03899
	for scwm-discuss-outgoing; Sat, 25 Sep 1999 11:58:01 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA03896
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 25 Sep 1999 11:57:54 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11UuCV-0001eUC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Sat, 25 Sep 1999 11:57:27 -0400 (EDT) 
Message-Id: <m11UuCV-0001eUC@localhost>
Date: Sat, 25 Sep 1999 11:57:27 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: scwm-discuss@SCWM.MIT.EDU
CC: chris@tech.com.au, bob@rattlesnake.com
In-reply-to: <30444998.21835107@tech.com.au> (message from Chris Bitmead on
	Wed, 30 Aug 1995 21:20:56 +1000)
Subject: CVS snapshot builds OK
Reply-to: bob@rattlesnake.com
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com> <37E9CAEA.9A4945C9@tech.com.au> <kiwln9xybha.fsf@blinky.bloomberg.com> <qrr7llh618e.fsf@elwha.cs.washington.edu> <30444998.21835107@tech.com.au>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris Bitmead <chris@tech.com.au> wrote:

   I tried building from cvs to fix the gnome pager problem. I havn't been
   able to get scwm to build from source for ages. I've tried rebuilding
   late gtk's, guiles and other stuff  etc. Always some problem either core
   dump for the result, or unable to wade through autoconf probs.

It does build; however, you may have to install a large number of
updated packages.  I can now run this morning's CVS snapshot of scwm,
1999 Sep 25, both with my spare-blue.scwm and the
sample.scwmrc/system.scwmrc initialization files.

First, I had to upgrade my Debian 2.1 distribution.  This took quite
awhile (I loaded files, found problems, loaded more files...).  All in
all this involved loading more than 50 unstable Debian 2.2 packages,
including new autoconf, automake, and libtool packages as mentioned in
the HACKING file.  But having upgraded, I was able to do

    make distclean
    ./autogen.sh
    ./ltconfig --cache-file=./config.cache --with-gcc \
          --with-gnu-ld ./ltmain.sh i686-pc-linux-gnu
    ./configure --enable-maintainer-mode
    make -k

without reported error and then run SCWM.  
I am not running Cassowary.

    Debian GNU/Linux kernel 2.0.36
    i686
    based on Debian 2.1 (slink) distribution updated with newer packages

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 25 12:06:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA03962
	for scwm-discuss-outgoing; Sat, 25 Sep 1999 12:06:26 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA03954
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 25 Sep 1999 12:06:04 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11UuKm-0001eUC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Sat, 25 Sep 1999 12:06:00 -0400 (EDT) 
Message-Id: <m11UuKm-0001eUC@localhost>
Date: Sat, 25 Sep 1999 12:06:00 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <m11UuCV-0001eUC@localhost> (bob@rattlesnake.com)
Subject: Re: CVS snapshot builds OK
Reply-to: bob@rattlesnake.com
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com> <37E9CAEA.9A4945C9@tech.com.au> <kiwln9xybha.fsf@blinky.bloomberg.com> <qrr7llh618e.fsf@elwha.cs.washington.edu> <30444998.21835107@tech.com.au> <m11UuCV-0001eUC@localhost>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Oh yes, if anyone is interested in the log of what I did to build this
morning's CVS snapshot of SCWM, please ask.  I wrote down all the
Debian packages I installed, plus the other things I did (some
symbolic links and so on).

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 25 12:15:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA04051
	for scwm-discuss-outgoing; Sat, 25 Sep 1999 12:15:01 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA04048
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 25 Sep 1999 12:14:55 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11UuT7-0001eUC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Sat, 25 Sep 1999 12:14:37 -0400 (EDT) 
Message-Id: <m11UuT7-0001eUC@localhost>
Date: Sat, 25 Sep 1999 12:14:37 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <m11UuCV-0001eUC@localhost> (bob@rattlesnake.com)
Subject: Re: CVS snapshot builds OK
Reply-to: bob@rattlesnake.com
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com> <37E9CAEA.9A4945C9@tech.com.au> <kiwln9xybha.fsf@blinky.bloomberg.com> <qrr7llh618e.fsf@elwha.cs.washington.edu> <30444998.21835107@tech.com.au> <m11UuCV-0001eUC@localhost>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Oh yes, if anyone is interested in the log of what I did to build this
morning's CVS snapshot of SCWM, please ask.  I wrote down all the
Debian packages I installed, plus the other things I did (some
symbolic links and so on).

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 25 13:23:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA04310
	for scwm-discuss-outgoing; Sat, 25 Sep 1999 13:23:59 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA04307
	for <scwm-discuss@scwm.mit.edu>; Sat, 25 Sep 1999 13:23:55 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA22096; Sat, 25 Sep 1999 10:23:49 -0700 (PDT)
To: Dave Pearson <davep@hagbard.demon.co.uk>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Curious -- your cool scwm ideas?
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <19990922150443.M3916@hagbard.demon.co.uk> <qrrzoyd4ln6.fsf@elwha.cs.washington.edu> <19990925071258.Q3916@hagbard.demon.co.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Sep 1999 10:23:49 -0700
In-Reply-To: Dave Pearson's message of "Sat, 25 Sep 1999 07:12:58 +0100"
Message-ID: <qrrn1ua29cq.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dave Pearson <davep@hagbard.demon.co.uk> writes:

> On Thu, Sep 23, 1999 at 09:50:53AM -0700, Greg Badros wrote:
> > Dave Pearson <davep@hagbard.demon.co.uk> writes:
> > 
> > > The second idea I had is probably not so easy. I was wondering about some
> > > form of programmable pointer-avoidance system. The idea would be that, for
> > > certain windows (this could be a window-style thing) I could say how long
> > > the pointer should be in the window before it, under control of the WM,
> > > moves out of the way and finds an empty bit of desktop.
> > 
> > I think unclutter is a better solution here:
> > 
> > ftp://ftp.x.org/contrib/utilities/unclutter-8.tar.Z
> 
> Once again, thanks for this pointer. I just downloaded, built and run this
> and it is *exactly* the kind of thing I was after.

Glad to hear it-- wanna contribute a C unclutter module to Scwm so that
it's standard with Scwm and you don't need the separate binary?  It'd
probably be super easy....

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 25 13:27:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA04333
	for scwm-discuss-outgoing; Sat, 25 Sep 1999 13:27:50 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA04330
	for <scwm-discuss@scwm.mit.edu>; Sat, 25 Sep 1999 13:27:47 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA22108; Sat, 25 Sep 1999 10:27:42 -0700 (PDT)
To: Dave Pearson <davep@hagbard.demon.co.uk>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Window-toggling and window-focus stuff [was Re: Curious -- your cool scwm ideas?]
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <19990922150443.M3916@hagbard.demon.co.uk> <qrrr9jp4gg4.fsf_-_@elwha.cs.washington.edu> <19990924091604.J3916@hagbard.demon.co.uk> <qrrr9jo2sme.fsf@elwha.cs.washington.edu> <19990925070215.O3916@hagbard.demon.co.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Sep 1999 10:27:42 -0700
In-Reply-To: Dave Pearson's message of "Sat, 25 Sep 1999 07:02:15 +0100"
Message-ID: <qrrk8pe2969.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dave Pearson <davep@hagbard.demon.co.uk> writes:

> On Fri, Sep 24, 1999 at 09:15:21AM -0700, Greg Badros wrote:
> > Dave Pearson <davep@hagbard.demon.co.uk> writes:
> > 
> > > `window-task-switcher-menu', when did that appear?
> > 
> > It's in flux.scm... been around for a bit, definitely is in 0.99.2 (though
> > not as nice as it is in scwm out of CVS).
> 
> It doesn't appear to be in 0.99.2 (I did grep for it prior to asking about
> it).

When I write "definitely" I mean "might've been".  :-)

I stand corrected... it's "absolutely, positively" in CVS, and by that I 
mean, I'm "pretty damn sure". :-)

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 25 13:30:39 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA04379
	for scwm-discuss-outgoing; Sat, 25 Sep 1999 13:30:39 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA04376
	for <scwm-discuss@scwm.mit.edu>; Sat, 25 Sep 1999 13:30:36 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA22111; Sat, 25 Sep 1999 10:30:17 -0700 (PDT)
To: Dave Pearson <davep@hagbard.demon.co.uk>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Memory usage
References: <19990925071018.P3916@hagbard.demon.co.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Sep 1999 10:30:16 -0700
In-Reply-To: Dave Pearson's message of "Sat, 25 Sep 1999 07:10:18 +0100"
Message-ID: <qrriu4y291z.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dave Pearson <davep@hagbard.demon.co.uk> writes:

> First a warning, this is going to be an almost content free question and/or
> observation but I thought it might be worth mentioning it for those who have
> the knowledge to consider and look into it.
> 
> I was running gmemusage a little earlier on my Linux box and noticed that
> scwm's size was a touch over 40MB. On noticing this I issued a restart and
> the size dropped down to 1.7MB. scwm itself has been up and running just
> over 7 days.
> 
> Possible memory leak?

Please update to guile-1.3.4 when it comes out and report whether you
see the growing heap there, too.  I'm found that Scwm take up much less
memory with newer versions of guile.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 25 13:31:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA04386
	for scwm-discuss-outgoing; Sat, 25 Sep 1999 13:31:36 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA04383
	for <scwm-discuss@scwm.mit.edu>; Sat, 25 Sep 1999 13:31:33 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA22114; Sat, 25 Sep 1999 10:31:19 -0700 (PDT)
To: Chris Bitmead <chris@tech.com.au>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: gnome pager
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com> <37E9CAEA.9A4945C9@tech.com.au> <kiwln9xybha.fsf@blinky.bloomberg.com> <qrr7llh618e.fsf@elwha.cs.washington.edu> <30444998.21835107@tech.com.au>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Sep 1999 10:31:19 -0700
In-Reply-To: Chris Bitmead's message of "Wed, 30 Aug 1995 21:20:56 +1000"
Message-ID: <qrrhfki2908.fsf@elwha.cs.washington.edu>
Lines: 15
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

> I tried building from cvs to fix the gnome pager problem. I havn't been
> able to get scwm to build from source for ages. I've tried rebuilding
> late gtk's, guiles and other stuff  etc. Always some problem either core
> dump for the result, or unable to wade through autoconf probs.

Well I'd appreciate getting these as bug reports... Scwm needs to be
build-able out of CVS and if its not I need to know about it.

> Is there planned a new rpm soon?

Yes, shortly after guile-1.3.4 is released I'll be doing a Scwm-0.99.3 release.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 25 13:36:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA04503
	for scwm-discuss-outgoing; Sat, 25 Sep 1999 13:36:33 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA04496
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 25 Sep 1999 13:36:20 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA22117; Sat, 25 Sep 1999 10:36:09 -0700 (PDT)
To: bob@rattlesnake.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: CVS snapshot builds OK
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com> <37E9CAEA.9A4945C9@tech.com.au> <kiwln9xybha.fsf@blinky.bloomberg.com> <qrr7llh618e.fsf@elwha.cs.washington.edu> <30444998.21835107@tech.com.au> <m11UuCV-0001eUC@localhost> <m11UuKm-0001eUC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Sep 1999 10:36:08 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Sat, 25 Sep 1999 12:06:00 -0400 (EDT)"
Message-ID: <qrrg10228s7.fsf@elwha.cs.washington.edu>
Lines: 15
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Robert J. Chassell" <bob@rattlesnake.com> writes:

> Oh yes, if anyone is interested in the log of what I did to build this
> morning's CVS snapshot of SCWM, please ask.  I wrote down all the
> Debian packages I installed, plus the other things I did (some
> symbolic links and so on).

Well, hopefully Francesco will be able to get a working Debian package
out of Scwm-0.99.[23] for Debian 2.2 for when it is released.  This
seems like way too much work, but I don't have access to a Debian
machine to personally help make less painful (but I am committed to
helping those of you who can make Debian packages nice and easy to use).

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 25 15:12:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA05169
	for scwm-discuss-outgoing; Sat, 25 Sep 1999 15:12:47 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from savonarola.red-bean.com (savonarola.red-bean.com [208.245.165.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA05166
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 25 Sep 1999 15:12:40 -0400
Received: (from jimb@localhost)
	by savonarola.red-bean.com (8.8.7/8.8.7) id OAA31265;
	Sat, 25 Sep 1999 14:12:16 -0500
To: Ken Raeburn <raeburn@raeburn.org>
Cc: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
Subject: Re: guile bugs
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu> <86g10e7ur2.fsf@localhost.uni-trier.de> <tx17llnlgb8.fsf@raeburn.org>
From: Jim Blandy <jimb@red-bean.com>
Date: 25 Sep 1999 14:12:16 -0500
In-Reply-To: Ken Raeburn's message of "18 Sep 1999 23:40:27 -0400"
Message-ID: <m3k8peiz5b.fsf@savonarola.red-bean.com>
Lines: 31
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> I think the idea of making SCM a struct or union makes more sense.
> Sucks for performance, though.  Well, in the normal case.  Do you mind
> having the type checking be dependent on gcc?
> 
>     #if __GNUC__ >= 2 && __GNUC_MINOR__ >= whatever...
>     typedef union { long n; } __attribute__ ((transparent_union)) SCM;
>     #define SCM_BITS(X) ((X).n)
>     #else
>     typedef long SCM;
>     #define SCM_BITS(X) (X)
>     #endif
> 
> A SCM object would get passed as a long, always.  Under gcc, using it
> as a numeric value will not work.  This only works with recent enough
> versions of gcc, of course, but transparent_union has been in there
> for quite a while.  And for people with ancient versions of gcc, or
> without gcc, they just don't get the type checking; they still get the
> same calling convention, so even mixing gcc- and non-gcc-compiled code
> works fine.

Unfortunately, transparent unions are still *returned* using the
conventions for unions.  Which will definitely hurt performance.

Damn --- this would have been so great.  Perfect, no-overhead
type-checking for anyone using GCC.

Ken, if I asked the EGCS folks about it, and they approved in
principle, would you be able to write a patch for GCC to make it
return, as well as pass, transparent unions as if they had the type of
the union's first element?

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 25 20:17:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA06165
	for scwm-discuss-outgoing; Sat, 25 Sep 1999 20:17:24 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA06162
	for <scwm-discuss@scwm.mit.edu>; Sat, 25 Sep 1999 20:17:16 -0400
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id KAA06776
	for <scwm-discuss@scwm.mit.edu>; Sun, 26 Sep 1999 10:17:12 +1000
Message-ID: <304CEC1F.5EAAD3C3@tech.com.au>
Date: Wed, 06 Sep 1995 10:32:31 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: Re: gnome pager
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com> <37E9CAEA.9A4945C9@tech.com.au> <kiwln9xybha.fsf@blinky.bloomberg.com> <qrr7llh618e.fsf@elwha.cs.washington.edu> <30444998.21835107@tech.com.au> <qrrhfki2908.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros wrote:

> Well I'd appreciate getting these as bug reports... Scwm needs > to be build-able out of CVS and if its not I need to know 
> about it.

Well I got a RH6 system, installed all the rpms from scwm.mit and it
worked. Then I checked out scwm from cvs and tried to build that. First
prob was that there didn't seem to be a libguile.so, there was a
libguile.so.6 so I added the appropriate symlink. (I assume this is a
prob in the guile rpm).

Now I do sh autoconf.sh.

I get the following warning which I ignore, despite the fact I have lots
of libraries in /usr/lib like libimlib-jpg.so et.al...

*** Could not run IMLIB test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding IMLIB or finding the wrong
*** version of IMLIB. If it is not finding IMLIB, you'll need to set
your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to
point
*** to the installed location  Also, make sure you have run ldconfig if
that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it,
although
*** you may also be able to get things to work by modifying
LD_LIBRARY_PATH


Now I type make and get the following error.....


creating scwm/Makefile
make[1]: Leaving directory `/usr/local/src/scwm-cvs/scwm/scwm'
make[1]: Entering directory `/usr/local/src/scwm-cvs/scwm/scwm'
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include 
-I/usr/X11R6/include -I/usr/local/include           
-I/usr/local/include    -g -O2 -c Grab.c
In file included from Grab.c:31:
scwm.h:55: guile/gh.h: No such file or directory
In file included from scwm.h:57,
                 from Grab.c:31:
color.h:20: guile/gh.h: No such file or directory
In file included from scwm.h:60,
                 from Grab.c:31:
scwm-snarf.h:13: libguile/snarf.h: No such file or directory
In file included from scwm-snarf.h:14,
                 from scwm.h:60,
                 from Grab.c:31:
winprop.h:25: guile/gh.h: No such file or directory
make[1]: *** [Grab.o] Error 1
make[1]: Leaving directory `/usr/local/src/scwm-cvs/scwm/scwm'
make: *** [all-recursive] Error 1


I presume this is because I had to obliterate my existing guile-devel
package in order to get the guile rpm from scwm.mit to install without
breaking dependancies. In any case the existing RH6 guile-devel would
have been the wrong version, but I'm a little exhausted trying to figure
out exactly which version of guile with what patches is the one that
works, and then finding the versions of stuff that depends on that, and
then the stuff that depends on that etc.

Chris.

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Sep 25 22:33:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA06391
	for scwm-discuss-outgoing; Sat, 25 Sep 1999 22:33:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from raeburn.org ([209.6.183.211])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA06388
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 25 Sep 1999 22:33:38 -0400
Received: (from raeburn@localhost) by raeburn.org (8.8.8/8.6.9) id WAA15989; Sat, 25 Sep 1999 22:33:22 -0400 (EDT)
To: Jim Blandy <jimb@red-bean.com>
Cc: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
Subject: Re: guile bugs
References: <qrru2oyxtr7.fsf@elwha.cs.washington.edu> <199909141442.JAA17962@vh213601.truman.edu> <qrraeqpy0pl.fsf@elwha.cs.washington.edu> <199909141624.LAA19039@vh213601.truman.edu> <qrrlna9w5az.fsf@elwha.cs.washington.edu> <199909142309.SAA01374@vh213601.truman.edu> <qrrvh9bu8rp.fsf@elwha.cs.washington.edu> <m34sgvcttc.fsf@savonarola.red-bean.com> <qrrvh9bl8ix.fsf_-_@elwha.cs.washington.edu> <86g10e7ur2.fsf@localhost.uni-trier.de> <tx17llnlgb8.fsf@raeburn.org> <m3k8peiz5b.fsf@savonarola.red-bean.com>
Mime-Version: 1.0
From: Ken Raeburn <raeburn@raeburn.org>
Date: 25 Sep 1999 22:33:15 -0400
In-Reply-To: Jim Blandy's message of "25 Sep 1999 14:12:16 -0500"
Message-ID: <tx14sgiz9jo.fsf@raeburn.org>
Lines: 21
User-Agent: Gnus/5.070063 (Pterodactyl Gnus v0.63) Emacs/20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jim Blandy <jimb@red-bean.com> writes:
> Unfortunately, transparent unions are still *returned* using the
> conventions for unions.  Which will definitely hurt performance.

Oops.  Yeah, I guess people would want to return SCM objects
efficiently, wouldn't they?

> Ken, if I asked the EGCS folks about it, and they approved in
> principle, would you be able to write a patch for GCC to make it
> return, as well as pass, transparent unions as if they had the type of
> the union's first element?

Sure.

It's an incompatible change, though for a case I've never heard of
anyone actually using before; there might be resistance.  (I'd guess
glibc and linux would be the most likely "offenders".)  And this isn't
what transparent unions were intended for in the first place; they
were supposed to deal with library routines like `wait'.  But if this
sort of unusual use is "blessed", the return convention change would
make a certain amount of sense.

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep 26 00:48:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA06606
	for scwm-discuss-outgoing; Sun, 26 Sep 1999 00:48:51 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA06603
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 26 Sep 1999 00:48:46 -0400
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id AAA04912;
	Sun, 26 Sep 1999 00:48:38 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id AAA00952; Sun, 26 Sep 1999 00:49:12 -0400
Date: Sun, 26 Sep 1999 00:49:12 -0400
Message-Id: <199909260449.AAA00952@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: davep@hagbard.demon.co.uk, scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrriu4y291z.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 25 Sep 1999 10:30:16 -0700)
Subject: Re: Memory usage
References: <19990925071018.P3916@hagbard.demon.co.uk> <qrriu4y291z.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


>   > First a warning, this is going to be an almost content free
>   > question and/or observation but I thought it might be worth
>   > mentioning it for those who have the knowledge to consider and
>   > look into it.
>   > 
>   > I was running gmemusage a little earlier on my Linux box and noticed that
>   > scwm's size was a touch over 40MB. On noticing this I issued a restart and
>   > the size dropped down to 1.7MB. scwm itself has been up and running just
>   > over 7 days.
>   > 
>   > Possible memory leak?
>
>   Please update to guile-1.3.4 when it comes out and report whether you
>   see the growing heap there, too.  I'm found that Scwm take up much less
>   memory with newer versions of guile.

Has anyone run scwm under something that can do memory leak detection?
If anyone has access to purify, that could be very useful.

If scwm intends to free everything upon deletion, there are other
approaches too.  I've done some very effective memory leak detection
with C++ code by replacing the global operator new and operator new []
with functions that store information about each allocation in a table
(in addition to actually doing the allocation) and operator delete and
operator delete [] with functions that remove the table entry.  Using
this, I get leak reports when the program exits.  It's not as good as
purify which gives you the stack trace of the allocation of every
leaked byte (which is really what you want).  However, if you know how
to reproduce certain leaks, you can get this information by running
under gdb, putting a break point on the table insertion code, and
having the command for the break point be to print a stack trace.  Of
course, this generates vast amounts of output, but it is possible with
this output to get the same information purify gives you.  I guess it
would be possible to replace malloc with something that does this kind
of thing for C code.  I guess I'm probably just stating the obvious
here.  Anyway, I've never really seen anyone talk about this
technique, but I've used it with great success to squeeze some subtle
memory leaks out of servers that are supposed to stay running
indefinitely, and since I do virtually all my development on Linux
these days, I don't have access to tools like purify.  Sorry if I'm
just babbling....

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep 26 01:04:38 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA06690
	for scwm-discuss-outgoing; Sun, 26 Sep 1999 01:04:38 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from teeny.molehill.org (qmailr@molehill.easystreet.com [209.162.216.44])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id BAA06687
	for <scwm-discuss@scwm.mit.edu>; Sun, 26 Sep 1999 01:04:34 -0400
Received: (qmail 21010 invoked by uid 501); 26 Sep 1999 05:04:28 -0000
Date: Sat, 25 Sep 1999 22:04:28 -0700
From: Todd Larason <jtl@molehill.org>
To: scwm-discuss@scwm.mit.edu
Subject: Re: A treat for me...
Message-ID: <19990925220428.A20834@molehill.org>
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com> <37E9CAEA.9A4945C9@tech.com.au> <qrrg1065dli.fsf@elwha.cs.washington.edu> <37E9D1DC.CF78BE67@tech.com.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <37E9D1DC.CF78BE67@tech.com.au>; from Chris Bitmead on Thu, Sep 23, 1999 at 05:08:12PM +1000
X-Kibo: Can you fall in love with vrilthought?
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 23 September 99, Chris Bitmead wrote:
> 
> > Agreed completely.  I'm partially going on this publicity rampage
> > because I'm a bit annoyed that we didn't make the Linux Journal
> > list... don't forget to fill it out with a write in "Scwm" for "Favorite
> > Window Manager" (about 2/3 down the page at:
> 
> We're within shooting distance of enlightenment now!

As of my vote, SCWM is #2, ahead of everything but windowmaker.
-- 
Makes you contemplate a Slashdot-style forum on evolution and atheism,
just to see if it would cause a collapse of the spacetime continuum
through sheer concentrated stupidity. -- Russ Allbery
UIN: 8655603

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep 26 03:52:05 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA06935
	for scwm-discuss-outgoing; Sun, 26 Sep 1999 03:52:05 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tele-post-20.mail.demon.net (tele-post-20.mail.demon.net [194.217.242.20])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA06932
	for <scwm-discuss@scwm.mit.edu>; Sun, 26 Sep 1999 03:52:00 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2)
	id 11V96D-000MJC-0K
	for scwm-discuss@scwm.mit.edu; Sun, 26 Sep 1999 07:51:58 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id IAA07463
	for scwm-discuss@scwm.mit.edu; Sun, 26 Sep 1999 08:51:56 +0100
Date: Sun, 26 Sep 1999 08:51:55 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Re: Curious -- your cool scwm ideas?
Message-ID: <19990926085155.E3916@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <19990922150443.M3916@hagbard.demon.co.uk> <qrrzoyd4ln6.fsf@elwha.cs.washington.edu> <19990925071258.Q3916@hagbard.demon.co.uk> <qrrn1ua29cq.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <qrrn1ua29cq.fsf@elwha.cs.washington.edu>
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Prickle-Prickle, Day 50 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Sat, Sep 25, 1999 at 10:23:49AM -0700, Greg Badros wrote:
> Dave Pearson <davep@hagbard.demon.co.uk> writes:
> 
> > Once again, thanks for this pointer. I just downloaded, built and run
> > this and it is *exactly* the kind of thing I was after.
> 
> Glad to hear it-- wanna contribute a C unclutter module to Scwm so that
> it's standard with Scwm and you don't need the separate binary? It'd
> probably be super easy....

I'd kind of like to but unfortunately I'm not in a position to commit to
anything like that at the moment. If I get a spare moment I might try and
look into it and see if my non-existent X programming skills (seriously, I
know zip about X) could be improved but this should in no way be seen as a
reason for someone else not jumping in and actually making something work.

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep 26 12:14:37 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA09545
	for scwm-discuss-outgoing; Sun, 26 Sep 1999 12:14:37 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA09542
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 26 Sep 1999 12:14:32 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA23332; Sun, 26 Sep 1999 09:14:23 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: davep@hagbard.demon.co.uk, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Memory usage
References: <19990925071018.P3916@hagbard.demon.co.uk> <qrriu4y291z.fsf@elwha.cs.washington.edu> <199909260449.AAA00952@soup.ql.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 26 Sep 1999 09:14:22 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Sun, 26 Sep 1999 00:49:12 -0400"
Message-ID: <qrrso41zm3l.fsf@elwha.cs.washington.edu>
Lines: 61
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> >   > First a warning, this is going to be an almost content free
> >   > question and/or observation but I thought it might be worth
> >   > mentioning it for those who have the knowledge to consider and
> >   > look into it.
> >   > 
> >   > I was running gmemusage a little earlier on my Linux box and noticed that
> >   > scwm's size was a touch over 40MB. On noticing this I issued a restart and
> >   > the size dropped down to 1.7MB. scwm itself has been up and running just
> >   > over 7 days.
> >   > 
> >   > Possible memory leak?
> >
> >   Please update to guile-1.3.4 when it comes out and report whether you
> >   see the growing heap there, too.  I'm found that Scwm take up much less
> >   memory with newer versions of guile.
> 
> Has anyone run scwm under something that can do memory leak detection?
> If anyone has access to purify, that could be very useful.

There's also mpr and Checker, available at:

http://metalab.unc.edu/pub/Linux/devel/lang/c/

Using one of these would be a great project for anyone considering
contributing to Scwm.  I just added it to the projects list.

Maciej was talking about using Purify on Scwm for a long time, but
AFAIK never had time.

> If scwm intends to free everything upon deletion, there are other
> approaches too.  I've done some very effective memory leak detection
> with C++ code by replacing the global operator new and operator new []
> with functions that store information about each allocation in a table
> (in addition to actually doing the allocation) and operator delete and
> operator delete [] with functions that remove the table entry.  Using
> this, I get leak reports when the program exits.  It's not as good as
> purify which gives you the stack trace of the allocation of every
> leaked byte (which is really what you want).  However, if you know how
> to reproduce certain leaks, you can get this information by running
> under gdb, putting a break point on the table insertion code, and
> having the command for the break point be to print a stack trace.  Of
> course, this generates vast amounts of output, but it is possible with
> this output to get the same information purify gives you.  I guess it
> would be possible to replace malloc with something that does this kind
> of thing for C code.  I guess I'm probably just stating the obvious
> here.  Anyway, I've never really seen anyone talk about this
> technique, but I've used it with great success to squeeze some subtle
> memory leaks out of servers that are supposed to stay running
> indefinitely, and since I do virtually all my development on Linux
> these days, I don't have access to tools like purify.  Sorry if I'm
> just babbling....

Seems reasonable... I've done crazy things like this but never put them
in a framework for re-use.

Scwm is atypical because it's C, C++, and Scheme, so there are (at
least) three different kinds of memory allocation going on.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep 26 12:15:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA09551
	for scwm-discuss-outgoing; Sun, 26 Sep 1999 12:15:29 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA09548
	for <scwm-discuss@scwm.mit.edu>; Sun, 26 Sep 1999 12:15:26 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA23335; Sun, 26 Sep 1999 09:15:06 -0700 (PDT)
To: Dave Pearson <davep@hagbard.demon.co.uk>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Curious -- your cool scwm ideas?
References: <Pine.LNX.4.10.9909201023310.30084-100000@icomm.ca> <19990922150443.M3916@hagbard.demon.co.uk> <qrrzoyd4ln6.fsf@elwha.cs.washington.edu> <19990925071258.Q3916@hagbard.demon.co.uk> <qrrn1ua29cq.fsf@elwha.cs.washington.edu> <19990926085155.E3916@hagbard.demon.co.uk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 26 Sep 1999 09:15:06 -0700
In-Reply-To: Dave Pearson's message of "Sun, 26 Sep 1999 08:51:55 +0100"
Message-ID: <qrrpuz5zm2d.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dave Pearson <davep@hagbard.demon.co.uk> writes:

> On Sat, Sep 25, 1999 at 10:23:49AM -0700, Greg Badros wrote:
> > Dave Pearson <davep@hagbard.demon.co.uk> writes:
> > 
> > > Once again, thanks for this pointer. I just downloaded, built and run
> > > this and it is *exactly* the kind of thing I was after.
> > 
> > Glad to hear it-- wanna contribute a C unclutter module to Scwm so that
> > it's standard with Scwm and you don't need the separate binary? It'd
> > probably be super easy....
> 
> I'd kind of like to but unfortunately I'm not in a position to commit to
> anything like that at the moment. If I get a spare moment I might try and
> look into it and see if my non-existent X programming skills (seriously, I
> know zip about X) could be improved but this should in no way be seen as a
> reason for someone else not jumping in and actually making something work.

Fair enough.

Any takers?

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep 26 12:19:53 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA09653
	for scwm-discuss-outgoing; Sun, 26 Sep 1999 12:19:53 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA09650
	for <scwm-discuss@scwm.mit.edu>; Sun, 26 Sep 1999 12:19:48 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA23338; Sun, 26 Sep 1999 09:19:44 -0700 (PDT)
To: Todd Larason <jtl@molehill.org>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: A treat for me...
References: <qrrln9z7bb6.fsf@elwha.cs.washington.edu> <87btauplue.fsf@cr610941-a.rct1.bc.wave.home.com> <37E9CAEA.9A4945C9@tech.com.au> <qrrg1065dli.fsf@elwha.cs.washington.edu> <37E9D1DC.CF78BE67@tech.com.au> <19990925220428.A20834@molehill.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 26 Sep 1999 09:19:43 -0700
In-Reply-To: Todd Larason's message of "Sat, 25 Sep 1999 22:04:28 -0700"
Message-ID: <qrrogepzluo.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Todd Larason <jtl@molehill.org> writes:

> On 23 September 99, Chris Bitmead wrote:
> > 
> > > Agreed completely.  I'm partially going on this publicity rampage
> > > because I'm a bit annoyed that we didn't make the Linux Journal
> > > list... don't forget to fill it out with a write in "Scwm" for "Favorite
> > > Window Manager" (about 2/3 down the page at:
> > 
> > We're within shooting distance of enlightenment now!
> 
> As of my vote, SCWM is #2, ahead of everything but windowmaker.

Excellent.... this is a high profile sight, so I'm hoping that the lofty 
position of Scwm will encourage others to give Scwm a look.

Thanks to all of you who voted... and don't forgot the Linux Journal
Reader's Choice awards at:

http://207.178.22.52/contest/readchoice.html

We could get some positive printed press from that form!

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep 26 15:29:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA10084
	for scwm-discuss-outgoing; Sun, 26 Sep 1999 15:29:08 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA10081
	for <scwm-discuss@scwm.mit.edu>; Sun, 26 Sep 1999 15:29:02 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA23527; Sun, 26 Sep 1999 12:28:58 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu, guile@sourceware.cygnus.com,
        guile@cs.washington.edu
Subject: Scwm-0.99.3 is released!
From: Greg Badros <gjb@cs.washington.edu>
Date: 26 Sep 1999 12:28:57 -0700
Message-ID: <qrrd7v5zd3a.fsf@elwha.cs.washington.edu>
Lines: 147
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

See NEWS file after ANNOUNCE.  Also note that there are

guile-{,devel-}1.3.4-1gjb.{src,i386,alpha}.rpm

files available from the scwm web page: 

http://scwm.mit.edu/

Scwm 0.99.3 is released.

* What Scwm is:

Scwm is the Scheme Constraints Window Manager, a highly dynamic and
extensible window manager for the X Window System.  Scwm embeds Guile
Scheme as the configuration and extension language, and includes a
sophisticated constraint solver for permitting the user to interactively
specify constraints among top-level window sizes and positions.  Nearly
all decorations can be changed at run-time on a per-window basis.
Dynamic loading of C modules is supported.  Scwm is self-documenting and
provides A powerful protocol for interacting with the window manager
from other processes.

* Primary Authors:

Greg J. Badros <gjb@cs.washington.edu>
Maciej Stachowiak <mstachow@alum.mit.edu> 

Other substantial contributors include:
  Robert Bihlmeyer <robbe@orcus.priv.at>, 
  Todd Larason <jtl@molehill.org>, 
  Jeff Nichols <jwnichls@cs.washington.edu>, and
  Sam Steingold <sds@goems.com>.

Many more people have contributed bug reports, bug fixes, or smaller
changes; see AUTHORS and THANKS in the distribution.

* Where you can find more info:

Some information about scwm is available at:

http://scwm.mit.edu/

There are also scwm-discuss@scwm.mit.edu and
scwm-announce@scwm.mit.edu mailing lists for disscussion and
release announcements repsectively. The new list
scwm-commits@scwm.mit.edu receives all scwm CVS commit messages.
You can subscribe to any of these at majordomo@scwm.mit.edu by
sending a message with a body of "subscribe <list>" where <list> is
the name of the list you want.

* Where you can get it:

You can download the latest scwm source package from:

ftp://scwm.mit.edu/pub/scwm/scwm-0.99.3.tar.gz

There is also
ftp://scwm.mit.edu/pub/scwm/scwm-icons-0.99.3.tar.gz

which has a number of images for use with scwm as icons, textures,
buttons, etc. Some of these images are not available otherwise.

You will also need to download and install the guile library. You can
get the latest release from:

ftp://prep.ai.mit.edu/pub/gnu/guile

or any archive that has GNU source packages available.

You can get the latest guile snapshot from:

http://www.gnu.org/software/guile/guile.html

The snapshots are officially alpha but they generally work pretty
well; however, 1.3.4 is recommended for now since it is the most 
recent. Guile 1.2 is no longer supported, but Guile-1.3 should still
work with only minimal loss of functionality (Guile-1.3.2 was buggy and
should be avoided).


* Packages

Various binary RPMs are available at:

ftp://scwm.mit.edu/pub/scwm/RPMS/

Various source RPMs are available at:

ftp://scwm.mit.edu/pub/scwm/SRPMS/

and the scwm-icons distribution is available at:

ftp://scwm.mit.edu/pub/scwm/RPMS/noarch

See the NEWS file in the distribution for a complete list
of all that has changed since the previous version of Scwm.



NEWS

Changes for scwm-0.99.3 (released 25-September-1999)

* ViaVoice (IBM TM) module for permitting speech recognition actions

* Turn on backtraces by default (still permit -n option to disable them)
  (guile >= 1.3.2 turned this off)

* Turn on source code position recording by default for line numbers in error messages
  (guile >= 1.3.2 turned this off)

* Constraint features
** Make animated moves and resizes resolve the system throughout the move/resize
   so the constraints are always maintained
** Improved visual constraint representations
** Make constraints submenu to root menu
** Bug fixes in the gtk-toggle-menu

* Improved preferences dialog support, cleaner internally, too.

* New modules
** prompt-binding -- for interrogating and changing key/mouse bindings
** image-path-suggestor -- for using `locate' to find images not in the load-path
** wavplay -- for abstracting different kinds of audio support
** gtk-menu -- for using GTK+'s menus
** prompt-enum -- for choosing among multiple discrete possibilities 
** prompting-shell -- factored out top-level window for various prompting code
** animated-edge-moves -- functions for pushing windows to edges of viewport
** viavoice (C) -- speech recognizer

* New primitives
** `window-decoration-size'
** `window-decoration-ids', `set-window-id-background!'
** `set-window-highlighted-nonant!', `window-highlighted-nonant'
** `set-nonant-highlight-color!', `nonant-highlight-color'
** `focussable-window?'

* Changed primitives
** `lookup-procedure-bindings' takes a new second argument, CONTEXT, to filter returned bindings
** `xlib-set-line-width!' has been replaced by xlib-set-line-attributes! which now takes
a width and a line style.
** Renamed `resize-to' to `resize-window', `resize-frame-to' to `resize-frame' and permit each to take X, Y for movement, to.
* `popup-menu' takes another argument, permit-alt-release-selection?, and warp-to-first? is now warp-to-index.

* Changed procedures
** `interactive-place' renamed to `place-interactively' for consistency (all others start with place-*)


From owner-scwm-discuss@SCWM.MIT.EDU  Sun Sep 26 17:15:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA11385
	for scwm-discuss-outgoing; Sun, 26 Sep 1999 17:15:33 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA11382
	for <scwm-discuss@scwm.mit.edu>; Sun, 26 Sep 1999 17:15:28 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA23696; Sun, 26 Sep 1999 14:15:25 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: scwm/scwm -> scwm/src
From: Greg Badros <gjb@cs.washington.edu>
Date: 26 Sep 1999 14:15:25 -0700
Message-ID: <qrryadtxtle.fsf@elwha.cs.washington.edu>
Lines: 12
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I finally renamed the main source subdirectory of the top level scwm
directory from scwm to src.  I did this just after the scwm-0.99.3
release and it is now in CVS that way.  If you're using anonymous CVS,
once that has updated from the dev CVS (in an hour or so), you should be 
able to do a

cvs update -dP

to grab the repository in its newer (less confusing, more standard)
organization.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 02:31:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA12017
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 02:31:51 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from math.uwaterloo.ca (root@math.uwaterloo.ca [129.97.140.144])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA12014
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 02:31:47 -0400
Received: from thing-one.localdomain (cnts3p21.uwaterloo.ca [129.97.130.21])
	by math.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id CAA29010
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 02:31:44 -0400 (EDT)
Received: (from jrm@localhost)
	by thing-one.localdomain (8.9.3/8.9.3) id CAA08102;
	Mon, 27 Sep 1999 02:33:31 -0400
Date: Mon, 27 Sep 1999 02:33:31 -0400
Message-Id: <199909270633.CAA08102@thing-one.localdomain>
From: John MacPhail <jrmacpha@math.uwaterloo.ca>
To: scwm-discuss@SCWM.MIT.EDU
Subject: scwm-0.99.3.ppc.rpm and friends at my web page
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

See http://www.grad.math.uwaterloo.ca/~jrmacpha/Scwm.d for binaries to
install Scwm-0.99.3 on MkLinux pre-1 -- they should work on other
binary-compatible systems such as LinuxPPC and Yellow Dog.

John

-- 
John MacPhail                   grad student at U.Waterloo
jrmacphail@math.uwaterloo.ca          sneaker net  MC5136A
-----------------------------------------------------------

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 04:30:46 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id EAA14348
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 04:30:46 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id EAA14345
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 04:30:40 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1)
	id 11VWBB-000EjB-0A
	for scwm-discuss@scwm.mit.edu; Mon, 27 Sep 1999 08:30:38 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id IAA12314
	for scwm-discuss@scwm.mit.edu; Mon, 27 Sep 1999 08:25:15 +0100
Date: Mon, 27 Sep 1999 08:25:15 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Re: Memory usage
Message-ID: <19990927082515.G3916@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <19990925071018.P3916@hagbard.demon.co.uk> <qrriu4y291z.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <qrriu4y291z.fsf@elwha.cs.washington.edu>
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Setting Orange, Day 51 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Sat, Sep 25, 1999 at 10:30:16AM -0700, Greg Badros wrote:
> Dave Pearson <davep@hagbard.demon.co.uk> writes:
> 
> > Possible memory leak?
> 
> Please update to guile-1.3.4 when it comes out and report whether you see
> the growing heap there, too. I'm found that Scwm take up much less memory
> with newer versions of guile.

Ok, when I get the chance I will. In the mean time, it would be interesting
to know if anyone else is experiencing such an increase in size of scwm
(since the restart I mentioned scwm is now 6636K in size).

Hmm, that's interesting. I just kept switching between desktops to look at
gmemusage and I noticed that the memory size went up every time I switched.
In fact, it seems to jump 4K for every desktop switch. Significant?

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 05:28:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA14534
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 05:28:29 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from gatekeeper2.jamstec.go.jp (gatekeeper2.jamstec.go.jp [192.244.231.20])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA14531
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 05:28:20 -0400
Received: from mstip3.jamstec.go.jp by gatekeeper2.jamstec.go.jp (8.8.8/3.7W) id SAA04663; Mon, 27 Sep 1999 18:28:17 +0900 (JST)
Received: by mstip3.jamstec.go.jp; (5.65v4.0/1.1.8.2/28Mar96-0327PM)
	id AA20558; Mon, 27 Sep 1999 18:28:17 +0900
Received: from xochitl.jamstec.go.jp by mstip3.jamstec.go.jp; (5.65v4.0/1.1.8.2/28Mar96-0327PM)
	id AA14931; Mon, 27 Sep 1999 18:28:16 +0900
Received: (from cummins@localhost)
	by xochitl.jamstec.go.jp (8.9.3/8.9.3) id SAA01824;
	Mon, 27 Sep 1999 18:43:29 +0900
From: Phil R Cummins <cummins@jamstec.go.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14319.15425.419626.641965@xochitl.jamstec.go.jp>
Date: Mon, 27 Sep 1999 18:43:29 +0900 (JST)
To: scwm-discuss@scwm.mit.edu
Subject: ERROR: Unbound variable: set-struct-vtable-name!
X-Mailer: VM 6.71 under 21.1 "20 Minutes to Nikko" XEmacs Lucid (patch 2)
Reply-To: cummins@jamstec.go.jp
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Hello,

   I'm trying to install scwm on a Redhat Linux system.
It's version 6.0, but its glibc has been upgraded to 
version 2.1.1, and I'm using XFree86 3.9.16 (the X11R6.4
snapshot). I installed the packages:
      scwm-0.99.3-1.i386.rpm 
      guile-1.3.4-1gjb.i386.rpm 
      guile-gtk-26Aug99-2gjb.i386.rpm 
      cassowary-0.52-1.i386.rpm 
      GTL-0.3.1-2.i386.rpm 

as listed on the web page, and scwm built with only
one odd problem: I had to add "-lreadline" in order
to get scwm itself to succesfully link. But then I
continued the build and there seemed to be no
problems. 
  I installed and copied sample.scwmrc/system.scwmrc to 
my home directory as .scwmrc. Then I tried to run scwm, 
but found that I needed to set my GUILE_LOAD_PATH 
environment variable in order to get ice-9/boot-9.scm 
to load. Now scwm doesn't complain about that, but instead 
it fails with the message:

   ERROR: Unbound variable: set-struct-vtable-name!

I can't figure out how to get around this one. Can
anyone please give me a hint? Thanks,


-- 
---------------------------------------------------------------------
Phil R Cummins                                 cummins@jamstec.go.jp
Frontier Research for Subduction Dynamics  tel(i/d):81/0-468-67-3393
JAMSTEC, 2-15 Natsushima-cho               fax(i/d):81/0-468-67-3409
Yokosuka 237-0061, Japan              http://w3.jamstec.go.jp:81115/

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 09:51:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA14869
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 09:51:43 -0400
Received: from icomm.ca (icomm.ca [216.126.72.23])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA14866
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 09:51:38 -0400
Received: from localhost (skeezix@localhost)
	by icomm.ca (8.9.3/8.9.3/iComm) with ESMTP id JAA31755;
	Mon, 27 Sep 1999 09:51:28 -0400
X-Authentication-Warning: icomm.ca: skeezix owned process doing -bs
Date: Mon, 27 Sep 1999 09:51:28 -0400 (EDT)
From: Jeff Mitchell <skeezix@skeleton.org>
X-Sender: skeezix@icomm.ca
Reply-To: skeezix@skeleton.org
To: Greg Badros <gjb@cs.washington.edu>
cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Big math-brane? pseudo-related to scwm...
In-Reply-To: <qrryadw0xuv.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.LNX.4.10.9909270947480.30084-100000@icomm.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 24 Sep 1999, Greg Badros wrote:

> Well, if you've already got the shaped-window drawn according to the
> geometry you describe, you can let X do the hit-testing.

	I'm actually playing with "cuter" pie-menus. I've never seen a
"pretty" pie menu -- they've always been in a square window, with
even-sized segments, and some words hanging off the edges. I'm fiddling
with a round pie menu in a round window, with the type curling out from
the middle (but not too close to the middle, rendering it unreadable).
Each pie segment is shaded darker from the base colour (themes anyone?)
and has its own size (based on weight provided at render time). I want the
pie segments to be slightly curved based on beziers or splines...

	Currently I'm fiddling with w wimped out version, since my history
is more in game design and thus is speed but not space efficient.. so I'm
experimenting with triangle wedges, to ge the colouring and window shape
right, etc..

	A few ideas have come my way. I'd forgotten the in-out-in count
method, which is fun, but someone at work came up with a really tricky
polar solution which might be applicable.

		jeff

	PS: Weee! scwm-discuss is hopping now :P

--
"It's murder out there. You can't even travel around in your own micro
circuits without permission from 'Master Control Program'. I mean,
sending *ME* down here to play games.... Who does he calculate he is?"
-- Peter Jurasik as Crom, _Tron_


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 11:32:34 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA15088
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 11:32:34 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA15085
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 11:32:30 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA24780; Mon, 27 Sep 1999 08:32:25 -0700 (PDT)
To: John MacPhail <jrmacpha@math.uwaterloo.ca>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.3.ppc.rpm and friends at my web page
References: <199909270633.CAA08102@thing-one.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 08:32:25 -0700
In-Reply-To: John MacPhail's message of "Mon, 27 Sep 1999 02:33:31 -0400"
Message-ID: <qrr905sxtdi.fsf@elwha.cs.washington.edu>
Lines: 10
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John MacPhail <jrmacpha@math.uwaterloo.ca> writes:

> See http://www.grad.math.uwaterloo.ca/~jrmacpha/Scwm.d for binaries to
> install Scwm-0.99.3 on MkLinux pre-1 -- they should work on other
> binary-compatible systems such as LinuxPPC and Yellow Dog.

Thanks!  I'll add a link to the Scwm web page to your page. (Let me know 
if you'd prefer I didn't, for whatever reason).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 11:36:22 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA15141
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 11:36:22 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA15138
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 11:36:10 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA24783; Mon, 27 Sep 1999 08:36:03 -0700 (PDT)
To: cummins@jamstec.go.jp
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: ERROR: Unbound variable: set-struct-vtable-name!
References: <14319.15425.419626.641965@xochitl.jamstec.go.jp>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 08:36:02 -0700
In-Reply-To: Phil R Cummins's message of "Mon, 27 Sep 1999 18:43:29 +0900 (JST)"
Message-ID: <qrr7llcxt7h.fsf@elwha.cs.washington.edu>
Lines: 53
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Phil R Cummins <cummins@jamstec.go.jp> writes:

> Hello,
> 
>    I'm trying to install scwm on a Redhat Linux system.
> It's version 6.0, but its glibc has been upgraded to 
> version 2.1.1, and I'm using XFree86 3.9.16 (the X11R6.4
> snapshot). I installed the packages:
>       scwm-0.99.3-1.i386.rpm 
>       guile-1.3.4-1gjb.i386.rpm 
>       guile-gtk-26Aug99-2gjb.i386.rpm 
>       cassowary-0.52-1.i386.rpm 
>       GTL-0.3.1-2.i386.rpm 
> 
> as listed on the web page, and scwm built with only
> one odd problem: I had to add "-lreadline" in order
> to get scwm itself to succesfully link. But then I
> continued the build and there seemed to be no
> problems. 

I'm confused... why are you building Scwm if you installed the binary
RPMs?

I'm not sure how well Scwm pre-made binaries will work with glibc 2.1.1; 
you may have to build from scratch, but if so you should remove the
binary RPMs.

>   I installed and copied sample.scwmrc/system.scwmrc to 
> my home directory as .scwmrc. Then I tried to run scwm, 
> but found that I needed to set my GUILE_LOAD_PATH 
> environment variable in order to get ice-9/boot-9.scm 
> to load. Now scwm doesn't complain about that, but instead 
> it fails with the message:
> 
>    ERROR: Unbound variable: set-struct-vtable-name!
> 
> I can't figure out how to get around this one. Can
> anyone please give me a hint? Thanks,

This is a guile link problem... be sure you don't have any other guile's 
floating around your system.  Check your LD_LIBRARY_PATH, and use

ldd `which scwm`

to see which guile libraries Scwm is linking against.

(And blast your built Scwm if you're trying to use the binary RPMs).

Report back with details of the ldd output, LD_LIBRARY_PATH's value,
etc., if you still are stuck.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 11:39:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA15196
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 11:39:29 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA15191
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 11:39:23 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA24786; Mon, 27 Sep 1999 08:39:17 -0700 (PDT)
To: skeezix@skeleton.org
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Big math-brane? pseudo-related to scwm...
References: <Pine.LNX.4.10.9909270947480.30084-100000@icomm.ca>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 08:39:16 -0700
In-Reply-To: Jeff Mitchell's message of "Mon, 27 Sep 1999 09:51:28 -0400 (EDT)"
Message-ID: <qrr670wxt23.fsf@elwha.cs.washington.edu>
Lines: 37
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jeff Mitchell <skeezix@skeleton.org> writes:

> On 24 Sep 1999, Greg Badros wrote:
> 
> > Well, if you've already got the shaped-window drawn according to the
> > geometry you describe, you can let X do the hit-testing.
> 
> 	I'm actually playing with "cuter" pie-menus. I've never seen a
> "pretty" pie menu -- they've always been in a square window, with
> even-sized segments, and some words hanging off the edges. I'm fiddling
> with a round pie menu in a round window, with the type curling out from
> the middle (but not too close to the middle, rendering it unreadable).
> Each pie segment is shaded darker from the base colour (themes anyone?)
> and has its own size (based on weight provided at render time). I want the
> pie segments to be slightly curved based on beziers or splines...

This would be really cool-- I've always thought I'd like pie menus, but
never found any implementation worth actually using (even ours... sorry
Todd-- it's a cool feature, though, just not for me).

> 	Currently I'm fiddling with w wimped out version, since my history
> is more in game design and thus is speed but not space efficient.. so I'm
> experimenting with triangle wedges, to ge the colouring and window shape
> right, etc..

See modules/pie-menu/* for our current pie-menu module (just in case you 
don't know about it already).

> A few ideas have come my way. I'd forgotten the in-out-in count
> method, which is fun, but someone at work came up with a really tricky
> polar solution which might be applicable.

Cool... why doesn't letting X do the hit testing suffice?  If you've got 
a separate shaped window for each wedge, then it's a done-deal.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 11:47:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA15343
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 11:47:10 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA15340
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 11:47:07 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA24793; Mon, 27 Sep 1999 08:47:04 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: Scwm-0.99.3 success reports?
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 08:47:04 -0700
Message-ID: <qrr4sggxsp3.fsf@elwha.cs.washington.edu>
Lines: 7
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Please let me know if you've had success w/ 0.99.3 w/ RPMs or
otherwise.  As general practice, now, I'm planning on making the release 
here and then announcing it elsewhere after a few success reports
trickle in.  (For 0.99.4, though, I'll be making at least one
pre-release since I changed the directory structure a bit.)

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 11:48:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA15375
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 11:48:58 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA15372
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 11:48:55 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA24802; Mon, 27 Sep 1999 08:48:53 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: cvs update past 0.99.3
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 08:48:53 -0700
Message-ID: <qrr3dw0xsm2.fsf@elwha.cs.washington.edu>
Lines: 15
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

You will likely need to blast the scwm subdirectory of the top level
scwm directory when doing a cvs update to the lastest out of the
repository.  E.g.

cd scwm/scwm
cd ..
rm -fr scwm
cvs update -dP

Just be sure you don't have any potential
contributions/bug-fixes/whatever lying in scwm/scwm before you delete
them.  The scwm/scwm directory has been renamed to scwm/src, as
I wrote earlier here.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 12:48:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA15963
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 12:48:21 -0400
Received: from icomm.ca (icomm.ca [216.126.72.23])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA15960
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 12:48:18 -0400
Received: from localhost (skeezix@localhost)
	by icomm.ca (8.9.3/8.9.3/iComm) with ESMTP id MAA03282;
	Mon, 27 Sep 1999 12:48:10 -0400
X-Authentication-Warning: icomm.ca: skeezix owned process doing -bs
Date: Mon, 27 Sep 1999 12:48:09 -0400 (EDT)
From: Jeff Mitchell <skeezix@skeleton.org>
X-Sender: skeezix@icomm.ca
Reply-To: skeezix@skeleton.org
To: Greg Badros <gjb@cs.washington.edu>
cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Big math-brane? pseudo-related to scwm...
In-Reply-To: <qrr670wxt23.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.LNX.4.10.9909271244490.30084-100000@icomm.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 27 Sep 1999, Greg Badros wrote:

> This would be really cool-- I've always thought I'd like pie menus, but
> never found any implementation worth actually using (even ours... sorry
> Todd-- it's a cool feature, though, just not for me).

	pie menus seem like such a great idea, but I agree -- they've
always been ugly. Each wedge shoudl have a weight or importance associated
with it, so that it can be larger than other wedges. But then, I prefer my
large wedge to be on the right-hand side, I think, while others
(especially lefties) may want it on the left, or top.. so why not let the
heaviest wedge be centered on an arbitrary angle? 

	There are so many keen things that could be done. Too bad I have
little free time :) Still, I'll work on it and let you know when I've got
something working (outside of scwm), that we could port into scwm. My
learn-scwm project.

> Cool... why doesn't letting X do the hit testing suffice?  If you've got 
> a separate shaped window for each wedge, then it's a done-deal.

	To tell you the truth, it never occurred to me to let X do all the
work, as I thought it would be slow, and troublesome. Though it woudl be
neat to have the wedges appear like an exploded pie-chart, with some space
in between (mmmmm), I thjought it might prove a pain to move all the
wedges together when the user starts sliding the widget around :P

	Anyway, I'll work on it for awhile and get back to you.

		jeff

--
"It's murder out there. You can't even travel around in your own micro
circuits without permission from 'Master Control Program'. I mean,
sending *ME* down here to play games.... Who does he calculate he is?"
-- Peter Jurasik as Crom, _Tron_


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 13:00:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA16082
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 13:00:36 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA16079
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 13:00:32 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA24937; Mon, 27 Sep 1999 10:00:26 -0700 (PDT)
To: skeezix@skeleton.org
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Big math-brane? pseudo-related to scwm...
References: <Pine.LNX.4.10.9909271244490.30084-100000@icomm.ca>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 10:00:26 -0700
In-Reply-To: Jeff Mitchell's message of "Mon, 27 Sep 1999 12:48:09 -0400 (EDT)"
Message-ID: <qrru2ogwaqd.fsf@elwha.cs.washington.edu>
Lines: 40
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jeff Mitchell <skeezix@skeleton.org> writes:

> On 27 Sep 1999, Greg Badros wrote:
> 
> > This would be really cool-- I've always thought I'd like pie menus, but
> > never found any implementation worth actually using (even ours... sorry
> > Todd-- it's a cool feature, though, just not for me).
> 
> 	pie menus seem like such a great idea, but I agree -- they've
> always been ugly. Each wedge shoudl have a weight or importance associated
> with it, so that it can be larger than other wedges. But then, I prefer my
> large wedge to be on the right-hand side, I think, while others
> (especially lefties) may want it on the left, or top.. so why not let the
> heaviest wedge be centered on an arbitrary angle? 
> 
> 	There are so many keen things that could be done. Too bad I have
> little free time :) Still, I'll work on it and let you know when I've got
> something working (outside of scwm), that we could port into scwm. My
> learn-scwm project.

Sounds like a plan... it'll be easy to move inside Scwm once you have
something working outside of Scwm.

> > Cool... why doesn't letting X do the hit testing suffice?  If you've got 
> > a separate shaped window for each wedge, then it's a done-deal.
> 
> 	To tell you the truth, it never occurred to me to let X do all the
> work, as I thought it would be slow, and troublesome. Though it woudl be
> neat to have the wedges appear like an exploded pie-chart, with some space
> in between (mmmmm), I thjought it might prove a pain to move all the
> wedges together when the user starts sliding the widget around :P

Not with an embedded constraint solver!  (Although here the procedural
version is pretty easy, too).

> 	Anyway, I'll work on it for awhile and get back to you.

Great, thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 13:04:35 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA16167
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 13:04:35 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ardon.verisity.com (ardon.verisity.com [192.116.92.65])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA16162
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 13:04:30 -0400
Received: from alps.verisity.com (alps [192.116.92.27])
	by ardon.verisity.com (8.8.6/8.8.6) with ESMTP id TAA14083
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 19:02:46 +0200 (IST)
Received: (from cmm@localhost)
	by alps.verisity.com (8.8.8+Sun/8.8.8) id TAA07827;
	Mon, 27 Sep 1999 19:02:43 +0200 (IST)
To: scwm-discuss@scwm.mit.edu
Subject: XK_ISO_Left_Tab
Organization: who? me?
From: Michael Livshin <cmm@verisity.com>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 27 Sep 1999 19:02:42 +0200
Message-ID: <s33dw08ez1.fsf@verisity.com>
Lines: 12
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


hi!

it appears that X11R5 doesn't have those XK_ISO_* thingies defined, at
least none of the X include files on my Solaris 2.5.1 machine has it.

commenting in menu.c, proceeding with build...

--mike

-- 
I'm on a seafood diet -- I see food and I eat it.         --anonymous

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 13:09:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA16309
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 13:09:00 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA16304
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 13:08:50 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id TAA27330;
	Mon, 27 Sep 1999 19:08:47 +0200 (MET DST)
Date: Mon, 27 Sep 1999 19:08:46 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 success reports?
Message-ID: <19990927190846.A25322@youkaidi.irisa.fr>
References: <qrr4sggxsp3.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.7us
In-Reply-To: <qrr4sggxsp3.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros écrivait :
> Please let me know if you've had success w/ 0.99.3 w/ RPMs or
> otherwise.  As general practice, now, I'm planning on making the release 
> here and then announcing it elsewhere after a few success reports
> trickle in.  (For 0.99.4, though, I'll be making at least one
> pre-release since I changed the directory structure a bit.)


I have a few errors and warnings :


./configure  --prefix=/udd/canon --with-gnu-ld --with-x --disable-esd --disable-esdtest --disable-gtktest --disable-imlibtest --disable-imlib --without-cassowary


make -k

[snip, snip]

gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/local/X11R5/include -I/udd/canon/include      -I/udd/canon/include    -g -O2 -c color.c
color.c: In function `ScmMakeColor':
color.c:221: warning: passing arg 1 of `gh_str02scm' discards `const' from pointer target type


gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/local/X11R5/include -I/udd/canon/include      -I/udd/canon/include    -g -O2 -c cursor.c
cursor.c: In function `print_cursor':
cursor.c:52: warning: passing arg 1 of `scm_puts' discards `const' from pointer target type


gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/local/X11R5/include -I/udd/canon/include      -I/udd/canon/include    -g -O2 -c log-usage.c
log-usage.c: In function `SendUsagePacket':
log-usage.c:93: warning: passing arg 2 of `connect' from incompatible pointer type


gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/local/X11R5/include -I/udd/canon/include      -I/udd/canon/include    -g -O2 -c menu.c
menu.c: In function `PmiimMenuShortcuts':
menu.c:939: `XK_ISO_Left_Tab' undeclared (first use in this function)
menu.c:939: (Each undeclared identifier is reported only once
menu.c:939: for each function it appears in.)
make[1]: *** [menu.o] Error 1
make[1]: Leaving directory `/udd/canon/src/Progs/scwm-0.99.3/scwm'
make: *** [all-recursive] Error 1






uname -a:
SunOS youkaidi 5.5 Generic_103093-25 sun4m sparc SUNW,SPARCstation-5

guile -v:
Guile 1.3.2


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 13:41:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA16803
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 13:41:26 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA16799
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 13:41:21 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA25038; Mon, 27 Sep 1999 10:41:15 -0700 (PDT)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 success reports?
References: <qrr4sggxsp3.fsf@elwha.cs.washington.edu> <19990927190846.A25322@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 10:41:15 -0700
In-Reply-To: Hubert Canon's message of "Mon, 27 Sep 1999 19:08:46 +0200"
Message-ID: <qrrpuz4w8uc.fsf@elwha.cs.washington.edu>
Lines: 56
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Greg Badros écrivait :
> > Please let me know if you've had success w/ 0.99.3 w/ RPMs or
> > otherwise.  As general practice, now, I'm planning on making the release 
> > here and then announcing it elsewhere after a few success reports
> > trickle in.  (For 0.99.4, though, I'll be making at least one
> > pre-release since I changed the directory structure a bit.)
> 
> 
> I have a few errors and warnings :
> 
> 
> ./configure  --prefix=/udd/canon --with-gnu-ld --with-x --disable-esd --disable-esdtest --disable-gtktest --disable-imlibtest --disable-imlib --without-cassowary
> 
> 
> make -k
> 
> [snip, snip]
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/local/X11R5/include -I/udd/canon/include      -I/udd/canon/include    -g -O2 -c color.c
> color.c: In function `ScmMakeColor':
> color.c:221: warning: passing arg 1 of `gh_str02scm' discards `const' from pointer target type
> 
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/local/X11R5/include -I/udd/canon/include      -I/udd/canon/include    -g -O2 -c cursor.c
> cursor.c: In function `print_cursor':
> cursor.c:52: warning: passing arg 1 of `scm_puts' discards `const' from pointer target type

These are due to Guile not being const-correct, yet and can be safely ignored.

> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/local/X11R5/include -I/udd/canon/include      -I/udd/canon/include    -g -O2 -c log-usage.c
> log-usage.c: In function `SendUsagePacket':
> log-usage.c:93: warning: passing arg 2 of `connect' from incompatible pointer type

Do you have a suggested Cpp #define macro to test for Solaris?  From my
socket.h on Solaris, it looks like we want that O.S. using line 91, not
line 93 of log-usage.c.


> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/local/X11R5/include -I/udd/canon/include      -I/udd/canon/include    -g -O2 -c menu.c
> menu.c: In function `PmiimMenuShortcuts':
> menu.c:939: `XK_ISO_Left_Tab' undeclared (first use in this function)
> menu.c:939: (Each undeclared identifier is reported only once
> menu.c:939: for each function it appears in.)
> make[1]: *** [menu.o] Error 1
> make[1]: Leaving directory `/udd/canon/src/Progs/scwm-0.99.3/scwm'
> make: *** [all-recursive] Error 1
> SunOS youkaidi 5.5 Generic_103093-25 sun4m sparc SUNW,SPARCstation-5

Ok, I've just removed this feature (that of Shift-Tab going backwards
through the list) if XK_ISO_Left_Tab is not defined.

Thanks!
Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 13:43:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA16885
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 13:43:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA16880
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 13:43:47 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11VeoS-0001bmC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Mon, 27 Sep 1999 13:43:44 -0400 (EDT) 
Message-Id: <m11VeoS-0001bmC@localhost>
Date: Mon, 27 Sep 1999 13:43:44 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: scwm-discuss@SCWM.MIT.EDU, bob@rattlesnake.com
Subject: Scwm-0.99.3 mostly successful
Reply-to: bob@rattlesnake.com
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

    Debian GNU/Linux kernel 2.0.36,     i686
    Debian 2.1 (slink) updated with newer packages

Scwm-0.99.3 is now running on my system.

First, I tried and failed to install 0.99.3 using the RPM files and
`alien' to convert them to Debian.  This did not work.  For example:

        alien --to-deb guile-1.3.4-1gjb.i386.rpm     

     libreadline.so.3 => not found; need to update.
     /usr/lib/libguile.so.6 not found.  Yet I have it!


I then updated my guile-core and scwm directories to this morning's,
1999 Sep 27, CVS snapshots, built and installed them.  This worked using
my spare-blue.scwmrc file.

    guile --version
    Guile 1.3.5

    scwm --version
    Scwm Version 0.99.3post compiled on Sep 27 1999 at 10:49:41
    RCS_ID=$Id: scwm.c,v 1.219 1999/09/25 19:32:45 gjb Exp $
    Repository Timestamp: Sun Sep 26 17:07:01 EDT 1999 -- $Revision: 1.33 $


Also, I was able to run Scwm using the system.scwmrc file after
commenting out: 
		  ui-constraints-toggle-menu
		  ui-constraints-gtk-toggle-menu

Presumably, these could not loaded because I am not running Cassowary.


I could not run scwm-options-dialog using either spare-blue.scwmrc or
system.scwmrc:


    ERROR: In expression (title-font):
    ERROR: Wrong type to apply: #<font "-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*">

To get rid of a start up message from X, I linked:

  /usr/local/share/scwm/modules/gtk -> /usr/share/guile/gtk
  /usr/local/share/scwm/modules/gtk-1.2 -> /usr/share/guile/gtk-1.2

but I don't know what that did besides get rid of the error message.


X now reports the following on start up.
(I installed scwm-icons-0.99.3.tar.gz)

Note that I have no H modifiers nor references to button-1, button-2,
or button-2 in my .scwmrc file.  

    [Scwm][init_modifiers]:  No scrollock_mask was found.
    [Scwm][bind-key]: <<WARNING>> Unbound modifier H-
    [Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-slash'
    [Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-M-slash'
    [Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-s'
    [Scwm][make-image]: <<WARNING>> Image file was not found: `mini.lambda.xpm'
    [Scwm][lookup_context]: <<ERROR>> Context name `button-1' has been deprecated; please use new name `left-button-1'
    [Scwm][lookup_context]: <<ERROR>> Context name `button-3' has been deprecated; please use new name `left-button-2'
    [Scwm][lookup_context]: <<ERROR>> Context name `button-2' has been deprecated; please use new name `right-button-1'
    X Error of failed request:  BadMatch (invalid parameter attributes)
      Major opcode of failed request:  6 (X_ChangeSaveSet)
      Serial number of failed request:  1609
      Current serial number in output stream:  1610
    [Scwm][init_modifiers]:  No scrollock_mask was found.
    [Scwm][init_modifiers]:  No scrollock_mask was found.
    [Scwm][init_modifiers]:  No scrollock_mask was found.
    [Scwm][init_modifiers]:  No scrollock_mask was found.
    [Scwm][init_modifiers]:  No scrollock_mask was found.
    X Error of failed request:  BadMatch (invalid parameter attributes)
      Major opcode of failed request:  6 (X_ChangeSaveSet)
      Serial number of failed request:  7946
      Current serial number in output stream:  7949


The icon file lacked `Debian-transparent.xpm' but I found a copy in my
gimp directory.  It also lacks `mini.lambda.xpm' and I don't have a
copy anywhere.

Incidentally, 

    scwm-icons-0.99.3.tar.gz 

untars into

    scwm-icons-0.99.2/

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 14:03:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA17206
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 14:03:24 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA17203
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 14:03:20 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA25090; Mon, 27 Sep 1999 11:03:14 -0700 (PDT)
To: bob@rattlesnake.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 mostly successful
References: <m11VeoS-0001bmC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 11:03:14 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Mon, 27 Sep 1999 13:43:44 -0400 (EDT)"
Message-ID: <qrrk8pcw7tp.fsf@elwha.cs.washington.edu>
Lines: 87
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Robert J. Chassell" <bob@rattlesnake.com> writes:

>     Debian GNU/Linux kernel 2.0.36,     i686
>     Debian 2.1 (slink) updated with newer packages
> 
> Scwm-0.99.3 is now running on my system.

Good!

> First, I tried and failed to install 0.99.3 using the RPM files and
> `alien' to convert them to Debian.  This did not work.  For example:
> 
>         alien --to-deb guile-1.3.4-1gjb.i386.rpm     
> 
>      libreadline.so.3 => not found; need to update.
>      /usr/lib/libguile.so.6 not found.  Yet I have it!

Using alien to convert Redhat RPMs seems fraught with perils and is not
recommended. 

<snip> 

> Also, I was able to run Scwm using the system.scwmrc file after
> commenting out: 
> 		  ui-constraints-toggle-menu
> 		  ui-constraints-gtk-toggle-menu
> 
> Presumably, these could not loaded because I am not running Cassowary.

What were the error messages?

> I could not run scwm-options-dialog using either spare-blue.scwmrc or
> system.scwmrc:
> 
> 
>     ERROR: In expression (title-font):
>     ERROR: Wrong type to apply: #<font "-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*">

I can't comprehend why this would happen in system.scwmrc, but for
spare-blue.scwmrc it is because title-font (a built-in primitive) is
being redefined as an actual font object.  This error will be removed in 
CVS later today.

> To get rid of a start up message from X, I linked:
> 
>   /usr/local/share/scwm/modules/gtk -> /usr/share/guile/gtk
>   /usr/local/share/scwm/modules/gtk-1.2 -> /usr/share/guile/gtk-1.2

What message did this eliminate?

> 
> but I don't know what that did besides get rid of the error message.
> 
> 
> X now reports the following on start up.
> (I installed scwm-icons-0.99.3.tar.gz)
> 
> Note that I have no H modifiers nor references to button-1, button-2,
> or button-2 in my .scwmrc file.  

Are you sure the .scwmrc file that you think is getting loaded really
is?  I use (on RH6  GNU/Linux)

strace -etrace=open scwm

as a sanity check to watch what files the scwm process is starting with.

<snip> 

> The icon file lacked `Debian-transparent.xpm' but I found a copy in my
> gimp directory.  It also lacks `mini.lambda.xpm' and I don't have a
> copy anywhere.

I don't see where this is referenced in the repo anywhere..

> Incidentally, 
> 
>     scwm-icons-0.99.3.tar.gz 
> 
> untars into
> 
>     scwm-icons-0.99.2/

Yea, the 0.99.3.tar.gz is just a symlink to the previous version since
nothing has changed... this seemed like the lessor of many evils.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 14:19:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA17392
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 14:19:42 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA17389
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 14:19:38 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id OAA05812;
	Mon, 27 Sep 1999 14:19:37 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma005808; Mon, 27 Sep 99 14:19:36 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id OAA05139; Mon, 27 Sep 1999 14:19:35 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id OAA18731; Mon, 27 Sep 1999 14:21:11 -0400
Date: Mon, 27 Sep 1999 14:21:11 -0400
Message-Id: <199909271821.OAA18731@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrr4sggxsp3.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 27 Sep 1999 08:47:04 -0700)
Subject: Re: Scwm-0.99.3 success reports?
References:  <qrr4sggxsp3.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


   Please let me know if you've had success w/ 0.99.3 w/ RPMs or
   otherwise.  As general practice, now, I'm planning on making the release 
   here and then announcing it elsewhere after a few success reports
   trickle in.  (For 0.99.4, though, I'll be making at least one
   pre-release since I changed the directory structure a bit.)

I just tried to build from the src rpms.  scwm blows out because
guile/gh.h does not exist.  /usr/include/guile is empty.  I have
installed guile and guile-devel (1.3.4).  I don't have time to look
into it now, but I'll look into it probably this evening and let you
know whether it ends up being my goofup, a packaging problem, or
something else.  I just wanted to get this message out now in case you
were about to announce these somewhere....

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 14:32:34 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA17553
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 14:32:34 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA17550
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 14:32:28 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11VfZS-0001bmC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Mon, 27 Sep 1999 14:32:18 -0400 (EDT) 
Message-Id: <m11VfZS-0001bmC@localhost>
Date: Mon, 27 Sep 1999 14:32:18 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 27 Sep 1999 11:03:14 -0700)
Subject: Re: Scwm-0.99.3 mostly successful
Reply-to: bob@rattlesnake.com
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


   > Also, I was able to run Scwm using the system.scwmrc file after
   > commenting out: 
   > 		  ui-constraints-toggle-menu
   > 		  ui-constraints-gtk-toggle-menu
   > 
   > Presumably, these could not loaded because I am not running Cassowary.

   What were the error messages?

 Error loading module: (app scwm ui-constraints-toggle-menu)
 ERROR: Unbound variable: cl-is-constraint-satisfied?

This time I did not see any error message associated with
ui-constraints-gtk-toggle-menu .  I don't know why, since as far as I
can remember, I did not change the environment in any way.

Here is the long version of the messages, using

    exec strace -etrace=open scwm

in my .xinitrc file:

open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/usr/X11R6/lib/libSM.so.6", O_RDONLY) = 3
open("/usr/X11R6/lib/libICE.so.6", O_RDONLY) = 3
open("/usr/X11R6/lib/libXext.so.6", O_RDONLY) = 3
open("/usr/X11R6/lib/libXtst.so.6", O_RDONLY) = 3
open("/usr/X11R6/lib/libXmu.so.6", O_RDONLY) = 3
open("/usr/lib/libXpm.so.4", O_RDONLY)  = 3
open("/usr/X11R6/lib/libX11.so.6", O_RDONLY) = 3
open("/usr/local/lib/libguile.so.5", O_RDONLY) = 3
open("/lib/libdl.so.2", O_RDONLY)       = 3
open("/lib/libm.so.6", O_RDONLY)        = 3
open("/usr/lib/libImlib.so.1", O_RDONLY) = 3
open("/usr/lib/libjpeg.so.62", O_RDONLY) = 3
open("/usr/lib/libtiff.so.3", O_RDONLY) = 3
open("/usr/lib/libungif.so.3", O_RDONLY) = 3
open("/usr/lib/libpng.so.2", O_RDONLY)  = 3
open("/usr/lib/libz.so.1", O_RDONLY)    = 3
open("/lib/libc.so.6", O_RDONLY)        = 3
open("/usr/X11R6/lib/libXt.so.6", O_RDONLY) = 3
open("/usr/local/share/guile/1.3.2/ice-9/boot-9.scm", O_RDONLY) = 3
open("/usr/local/share/guile/1.3.2/ice-9/r4rs.scm", O_RDONLY) = 4
open("/usr/local/share/guile/1.3.2/ice-9/debug.scm", O_RDONLY) = 4
open("/usr/local/share/guile/1.3.2/ice-9/session.scm", O_RDONLY) = 4
open("/usr/local/share/guile/1.3.2/ice-9/regex.scm", O_RDONLY) = 4
open("/usr/local/share/guile/1.3.2/ice-9/version.scm", O_RDONLY) = 4
open("/home/scwm/.Xauthority", O_RDONLY) = 4
[Scwm][init_modifiers]:  No scrollock_mask was found.
open("/usr/lib/X11/app-defaults/Scwm", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/scwm/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/scwm/.Xdefaults-megalith", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/scwm/.imrc", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/etc/imlib/imrc", O_RDONLY)       = 4
open("/home/scwm/system.scwmrc-99sep27", O_RDONLY) = 4
Starting...
open("/usr/local/share/scwm/modules/app/scwm/gnome-hints.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/base.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/optargs.scm", O_RDONLY) = 7
open("/usr/local/share/scwm/modules/app/scwm/defoption.scm", O_RDONLY) = 7
open("/usr/local/share/guile/1.3.2/ice-9/common-list.scm", O_RDONLY) = 8
open("/usr/local/share/scwm/modules/app/scwm/message-window.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/time-convert.scm", O_RDONLY) = 7
open("/usr/local/share/scwm/modules/app/scwm/animation.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/winops.scm", O_RDONLY) = 7
open("/usr/local/lib/scwm/modules/app/scwm/libc-animation.la", O_RDONLY) = 8
open("/usr/local/lib/scwm/modules/app/scwm/libc-animation.so.0", O_RDONLY) = 8
open("/usr/local/share/scwm/modules/app/scwm/style-options.scm", O_RDONLY) = 8
open("/usr/local/share/scwm/modules/app/scwm/sort.scm", O_RDONLY) = 8
open("/usr/local/share/scwm/pixmaps/scwm-logo-0.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-1.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-2.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-3.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-4.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-5.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-6.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-7.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-8.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-9.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-10.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-11.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-12.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-13.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-14.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-15.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-16.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-17.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-18.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-19.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-20.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-21.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-22.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-logo-23.xpm", O_RDONLY) = 5
Starting reading scwm modules
open("/usr/local/share/scwm/modules/app/scwm/image-path-suggestor.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/ui-constraints-gtk-toggle-menu.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/gtk.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/gtk/gtk.scm", O_RDONLY) = 7
open("/usr/local/share/scwm/modules/gtk/dynlink.scm", O_RDONLY) = 8
open("/usr/local/share/scwm/modules/gtk/config.scm", O_RDONLY) = 9
open("/usr/local/share/scwm/modules/gtk-1.2/gtk.scm", O_RDONLY) = 8
open("/usr/local/share/scwm/modules/gtk/event-repl.scm", O_RDONLY) = 9
open("/usr/lib/libguiledlopenhelper.so", O_RDONLY) = 9
open("/etc/ld.so.cache", O_RDONLY)      = 9
open("/usr/lib/libguilegtk-1.2.so", O_RDONLY) = 9
open("/usr/lib/libgtk-1.2.so.0", O_RDONLY) = 9
open("/usr/lib/libgdk-1.2.so.0", O_RDONLY) = 9
open("/usr/lib/libgmodule-1.2.so.0", O_RDONLY) = 9
open("/usr/lib/libglib-1.2.so.0", O_RDONLY) = 9
open("/usr/X11R6/lib/libXi.so.6", O_RDONLY) = 9
open("/home/scwm/.Xauthority", O_RDONLY) = 10
open("/usr/X11R6/lib/X11/locale/locale.alias", O_RDONLY) = 10
open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY) = 10
open("/usr/X11R6/lib/X11/locale/C/XLC_LOCALE", O_RDONLY) = 10
open("/usr/X11R6/lib/X11/locale/compose.dir", O_RDONLY) = 10
open("/usr/X11R6/lib/X11/locale/iso8859-1/Compose", O_RDONLY) = 10
open("/usr/X11R6/lib/X11/locale/compose.dir", O_RDONLY) = 10
open("/usr/X11R6/lib/X11/locale/iso8859-1/Compose", O_RDONLY) = 10
open("/etc/nsswitch.conf", O_RDONLY)    = 10
open("/etc/ld.so.cache", O_RDONLY)      = 10
open("/lib/libnss_compat.so.2", O_RDONLY) = 10
open("/lib/libnsl.so.1", O_RDONLY)      = 10
open("/etc/passwd", O_RDONLY)           = 10
open("/etc/passwd", O_RDONLY)           = 10
open("/home/scwm/.gtkrc", O_RDONLY)     = 10
open("/usr/local/share/themes/Default/gtk/gtkrc", O_RDONLY) = 11
open("/dev/null", O_RDONLY|O_NONBLOCK|0x10000) = 11
open("..", O_RDONLY|O_NONBLOCK|0x10000) = 11
open("../..", O_RDONLY|O_NONBLOCK|0x10000) = 11
open("/usr/local/share/scwm/modules/gtk/gdk.scm", O_RDONLY) = 7
open("/usr/local/share/scwm/modules/gtk-1.2/gdk.scm", O_RDONLY) = 8
open("/usr/local/share/scwm/modules/app/scwm/file.scm", O_RDONLY) = 7
open("/usr/local/share/guile/1.3.2/ice-9/string-fun.scm", O_RDONLY) = 8
open("/usr/local/share/guile/1.3.2/ice-9/popen.scm", O_RDONLY) = 8
open("/usr/local/lib/scwm/modules/app/scwm/libscwmgtkhelper.la", O_RDONLY) = 7
open("/usr/local/lib/scwm/modules/app/scwm/libscwmgtkhelper.so.0", O_RDONLY) = 7
open("/usr/local/share/scwm/modules/app/scwm/flash-window.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/ui-constraints.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/hooks.scm", O_RDONLY) = 10
open("/usr/local/share/scwm/modules/app/scwm/listops.scm", O_RDONLY) = 10
open("/usr/local/share/scwm/modules/app/scwm/ui-constraints-toggle-menu.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/ui-constraints-composition.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/prompt-string.scm", O_RDONLY) = 10
open("/usr/local/share/scwm/modules/app/scwm/ui-constraints-classes.scm", O_RDONLY) = 10
open("/usr/local/share/scwm/modules/app/scwm/window-locations.scm", O_RDONLY) = 11
open("/usr/local/share/scwm/modules/app/scwm/nonants.scm", O_RDONLY) = 11
open("/usr/local/share/scwm/modules/app/scwm/window-selection.scm", O_RDONLY) = 12
open("/usr/local/share/scwm/modules/app/scwm/wininfo.scm", O_RDONLY) = 13
open("/usr/local/share/scwm/modules/app/scwm/winlist.scm", O_RDONLY) = 14
open("/usr/local/share/scwm/modules/app/scwm/menus-extras.scm", O_RDONLY) = 15
open("/usr/local/share/scwm/modules/app/scwm/group.scm", O_RDONLY) = 13
open("/usr/local/share/scwm/modules/app/scwm/path-cache.scm", O_RDONLY) = 13
open("/usr/local/share/scwm/modules/app/scwm/highlight-current-window.scm", O_RDONLY) = 12
open("/usr/local/share/scwm/modules/app/scwm/modifier-key-bindings.scm", O_RDONLY) = 13
open("/usr/local/share/scwm/pixmaps/anchor.xpm", O_RDONLY) = 12
open("/usr/X11R6/lib/X11/XErrorDB", O_RDONLY) = 12
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  53 (X_CreatePixmap)
  Serial number of failed request:  664
  Current serial number in output stream:  689
X Error of failed request:  BadGC (invalid GC parameter)
  Major opcode of failed request:  56 (X_ChangeGC)
  Resource id in failed request:  0x8000e9
  Serial number of failed request:  666
  Current serial number in output stream:  689
X Error of failed request:  BadGC (invalid GC parameter)
  Major opcode of failed request:  56 (X_ChangeGC)
  Resource id in failed request:  0x8000e9
  Serial number of failed request:  668
  Current serial number in output stream:  689
open("/usr/local/lib/scwm/modules/app/scwm/libxlib-drawing.la", O_RDONLY) = 11
open("/usr/local/lib/scwm/modules/app/scwm/libxlib-drawing.so.0", O_RDONLY) = 11
Error loading module: (app scwm ui-constraints-toggle-menu)
ERROR: Unbound variable: cl-is-constraint-satisfied?
open("/usr/local/share/scwm/modules/app/scwm/undo.scm", O_RDONLY) = 11
open("/usr/local/share/scwm/modules/app/scwm/window-configuration.scm", O_RDONLY) = 12
[Scwm][bind-key]: <<WARNING>> Unbound modifier H-
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-slash'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-M-slash'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-s'
open("/usr/local/share/scwm/modules/app/scwm/tile.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/dir-focus.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/wavplay.scm", O_RDONLY) = 5
open("/usr/local/lib/scwm/modules/app/scwm/libesdsound.la", O_RDONLY) = 6
open("/usr/local/lib/scwm/modules/app/scwm/libesdsound.so.0", O_RDONLY) = 6
open("/etc/ld.so.cache", O_RDONLY)      = 6
open("/usr/lib/libesd.so.0", O_RDONLY)  = 6
open("/usr/lib/libaudiofile.so.0", O_RDONLY) = 6
open("/etc/esound/esd.conf", O_RDONLY)  = 6
open("/home/scwm/.esd.conf", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/usr/local/share/scwm/modules/app/scwm/xprop-extras.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/stringops.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/property-respond.scm", O_RDONLY) = 5
open("/usr/local/lib/scwm/modules/app/scwm/libbackground.la", O_RDONLY) = 5
open("/usr/local/lib/scwm/modules/app/scwm/libbackground.so.0", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/quote.scm", O_RDONLY) = 5
open("/usr/local/lib/scwm/modules/app/scwm/libscwmxtest.la", O_RDONLY) = 6
open("/usr/local/lib/scwm/modules/app/scwm/libscwmxtest.so.0", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/send-string.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/animated-edge-moves.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/preferences.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/prompt-bool.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/prompting-shell.scm", O_RDONLY) = 10
open("/usr/local/share/scwm/modules/app/scwm/prompt-range.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/prompt-enum.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/prompt-font.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/prompt-file.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/prompt-color.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/prompt-proc.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/reflection.scm", O_RDONLY) = 10
open("/usr/local/share/scwm/modules/app/scwm/animated-iconify.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/virtual.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/netscape.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/style.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/placement.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/themes.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/theme-impl.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/fvwm-module.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/module-types.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/bincomm.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/fvwm-eval.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/fvwm-compat.scm", O_RDONLY) = 10
open("/usr/local/share/scwm/modules/app/scwm/decor.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/key-mover.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/flux-gtk.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/flux.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/stylist.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/pixmaps/anchor-cursor.xpm", O_RDONLY) = 6
open("/usr/local/share/scwm/pixmaps/win-pos-center.xpm", O_RDONLY) = 6
open("/usr/local/share/scwm/pixmaps/win-pos-n.xpm", O_RDONLY) = 6
open("/usr/local/share/scwm/pixmaps/win-pos-e.xpm", O_RDONLY) = 6
open("/usr/local/share/scwm/pixmaps/win-pos-s.xpm", O_RDONLY) = 6
open("/usr/local/share/scwm/pixmaps/win-pos-w.xpm", O_RDONLY) = 6
open("/usr/local/share/scwm/pixmaps/win-pos-ne.xpm", O_RDONLY) = 6
open("/usr/local/share/scwm/pixmaps/win-pos-se.xpm", O_RDONLY) = 6
open("/usr/local/share/scwm/pixmaps/win-pos-sw.xpm", O_RDONLY) = 6
open("/usr/local/share/scwm/pixmaps/win-pos-nw.xpm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/doc.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/std-menus.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/face.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/primopts.scm", O_RDONLY) = 5
Done reading modules
 *** Reading `scwmrc'...
Scwm 0.99.3post
Sun Sep 26 17:07:01 EDT 1999 -- $Revision: 1.33 $
Display Size: (1280 1024)
Before setting image-load-path
After setting image-load-path
open("/usr/local/share/scwm/pixmaps/mini-sys3d-full.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-term.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/lambda.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/unknown1.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-hbars-full.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-lightbolt-full.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-stylized-x-full.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-exp-windows-full.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-shrink-windows-full.xpm", O_RDONLY) = 5
Before menu-window-ops
open("/usr/local/share/scwm/pixmaps/mini-move.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-resize.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-raise.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-lower.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-iconify.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-stick.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-maxtall.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-maxwide.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/small-anchor.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-cross.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-bomb.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-ray.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-turn.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-exclam.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-nscape.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-edit.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-clock.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-gv.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-doc.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-pencil.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-paint.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-book1.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-calc.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-xftp.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-zoom.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-run.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-display.xpm", O_RDONLY) = 5
--- SIGCHLD (Child exited) ---
open("/usr/local/share/scwm/pixmaps/mini-sh1.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-x2.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-hammer.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-audiovol.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-happy.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-windows.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-prefs.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-lock.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-question.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-stop.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/scwm-gnu-linux.xpm", O_RDONLY) = 5
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-r'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-w'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-comma'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-A-M-C-d'
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-2
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-3
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-1
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-S-1
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-A-1
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-S-2
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-M-3
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-z'
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for C-A-H-1
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for C-A-H-3
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-4
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-C-4
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-M-4
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-5
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-C-5
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-M-5
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-q'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-m'
 *** `scwmrc' processed.
Could not find SCWM Messages window---consider using `startscwm' to start Scwm
--- SIGCHLD (Child exited) ---
sh: /home/scwm/.xclients: No such file or directory
--- SIGCHLD (Child exited) ---
--- SIGCHLD (Child exited) ---
--- SIGCHLD (Child exited) ---
--- SIGCHLD (Child exited) ---
open("/usr/local/share/scwm/pixmaps/xterm.xpm", O_RDONLY) = 4
xemacs: error in loading shared libraries: xemacs: undefined symbol: XpmFree

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 14:47:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA17745
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 14:47:44 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA17741
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 14:47:38 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11VfoB-0001bmC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Mon, 27 Sep 1999 14:47:31 -0400 (EDT) 
Message-Id: <m11VfoB-0001bmC@localhost>
Date: Mon, 27 Sep 1999 14:47:31 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 27 Sep 1999 11:03:14 -0700)
Subject: Re: Scwm-0.99.3 mostly successful
Reply-to: bob@rattlesnake.com
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Using  spare-blue.scwmrc, this time I started scwm with:

    exec strace -etrace=open startscwm --segv-just-stop

in my .xinitrc file; this provides a .SCWM-errors file.

   > To get rid of a start up message from X, I linked:
   > 
   >   /usr/local/share/scwm/modules/gtk -> /usr/share/guile/gtk
   >   /usr/local/share/scwm/modules/gtk-1.2 -> /usr/share/guile/gtk-1.2

   What message did this eliminate?

;;; WARNING (no code for module gtk)
;;; WARNING (no code for module gdk)

(i.e., for this test, I removed the symbolic links 
gtk -> /usr/share/guile/gtk etc)

   > The icon file lacked `Debian-transparent.xpm' but I found a copy in my
   > gimp directory.  It also lacks `mini.lambda.xpm' and I don't have a
   > copy anywhere.

   I don't see where this is referenced in the repo anywhere..

<<WARNING>> Image file was not found: `mini.lambda.xpm'

The `mini.lambda.xpm' icon is not mentioned in my spare-blue.scwmrc
file.

    > Note that I have no H modifiers nor references to button-1, button-2,
    > or button-2 in my .scwmrc file.  

    Are you sure the .scwmrc file that you think is getting loaded really..

Here is .SCWM-errors, which lists the H modifiers and references to
button-1,  etc; the X messages are below:

    Exec-ing wm as scwm
    [Scwm][init_modifiers]:  No scrollock_mask was found.
    [Scwm][bind-key]: <<WARNING>> Unbound modifier H-
    [Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-slash'
    [Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-M-slash'
    [Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-s'

    ;;; WARNING (no code for module gtk)

    ;;; WARNING (no code for module gdk)
    ERROR: In procedure scm_fport_buffer_add:
    ERROR: Bad file descriptor
    [Scwm][make-image]: <<WARNING>> Image file was not found: `mini.lambda.xpm'
    [Scwm][lookup_context]: <<ERROR>> Context name `button-1' has been deprecated; please use new name `left-button-1'
    [Scwm][lookup_context]: <<ERROR>> Context name `button-3' has been deprecated; please use new name `left-button-2'
    [Scwm][lookup_context]: <<ERROR>> Context name `button-2' has been deprecated; please use new name `right-button-1'
    X Error of failed request:  BadMatch (invalid parameter attributes)
      Major opcode of failed request:  6 (X_ChangeSaveSet)
      Serial number of failed request:  2427
      Current serial number in output stream:  2428
    [Scwm][init_modifiers]:  No scrollock_mask was found.
    [Scwm][init_modifiers]:  No scrollock_mask was found.
    [Scwm][init_modifiers]:  No scrollock_mask was found.
    [Scwm][init_modifiers]:  No scrollock_mask was found.
    [Scwm][init_modifiers]:  No scrollock_mask was found.
    X Error of failed request:  BadMatch (invalid parameter attributes)
      Major opcode of failed request:  6 (X_ChangeSaveSet)
      Serial number of failed request:  9009
      Current serial number in output stream:  9012



Here are the X messages:

    open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.cache", O_RDONLY)      = 3
    open("/lib/libreadline.so.2", O_RDONLY) = 3
    open("/lib/libncurses.so.4", O_RDONLY)  = 3
    open("/lib/libdl.so.2", O_RDONLY)       = 3
    open("/lib/libc.so.6", O_RDONLY)        = 3
    open("/dev/tty", O_RDWR|O_NONBLOCK)     = 3
    open("/dev/null", O_RDONLY|O_NONBLOCK|0x10000) = 3
    open("..", O_RDONLY|O_NONBLOCK|0x10000) = 3
    open("../..", O_RDONLY|O_NONBLOCK|0x10000) = 3
    open("/usr/local/bin/startscwm", O_RDONLY) = 3
    --- SIGCHLD (Child exited) ---
    open("/home/scwm/.SCWM-errors", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
    open("/home/scwm/.Xdisplay", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
    --- SIGCHLD (Child exited) ---
    --- SIGCHLD (Child exited) ---
    --- SIGCHLD (Child exited) ---
    --- SIGCHLD (Child exited) ---
    open("/home/scwm/.tracepids", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 14:54:15 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA17834
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 14:54:15 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA17831
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 14:54:11 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA25182; Mon, 27 Sep 1999 11:54:07 -0700 (PDT)
To: bob@rattlesnake.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 mostly successful
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> <m11VfZS-0001bmC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 11:54:07 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Mon, 27 Sep 1999 14:32:18 -0400 (EDT)"
Message-ID: <qrremfkw5gw.fsf@elwha.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Robert J. Chassell" <bob@rattlesnake.com> writes:

>    > Also, I was able to run Scwm using the system.scwmrc file after
>    > commenting out: 
>    > 		  ui-constraints-toggle-menu
>    > 		  ui-constraints-gtk-toggle-menu
>    > 
>    > Presumably, these could not loaded because I am not running Cassowary.
> 
>    What were the error messages?
> 
>  Error loading module: (app scwm ui-constraints-toggle-menu)
>  ERROR: Unbound variable: cl-is-constraint-satisfied?
> 
> This time I did not see any error message associated with
> ui-constraints-gtk-toggle-menu .  I don't know why, since as far as I
> can remember, I did not change the environment in any way.

Hmmm.. I'll make a change that should take care of this.

> Here is the long version of the messages, using
> 
>     exec strace -etrace=open scwm
> 
<snip>
> open("/home/scwm/system.scwmrc-99sep27", O_RDONLY) = 4

How the heck is this file getting read?  This file, if it is the
system.scwmrc from today, definitely does have H- bindings in it, though 
it doesn't reference mini.lambda.xpm, not does it use the depracated
button names.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 14:59:28 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA17894
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 14:59:28 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA17886
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 14:59:19 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA25185; Mon, 27 Sep 1999 11:59:13 -0700 (PDT)
To: bob@rattlesnake.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 mostly successful
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> <m11VfoB-0001bmC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 11:59:13 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Mon, 27 Sep 1999 14:47:31 -0400 (EDT)"
Message-ID: <qrrd7v4w58e.fsf@elwha.cs.washington.edu>
Lines: 53
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Robert J. Chassell" <bob@rattlesnake.com> writes:

> Using  spare-blue.scwmrc, this time I started scwm with:
> 
>     exec strace -etrace=open startscwm --segv-just-stop
> 
> in my .xinitrc file; this provides a .SCWM-errors file.
> 
>    > To get rid of a start up message from X, I linked:
>    > 
>    >   /usr/local/share/scwm/modules/gtk -> /usr/share/guile/gtk
>    >   /usr/local/share/scwm/modules/gtk-1.2 -> /usr/share/guile/gtk-1.2
> 
>    What message did this eliminate?
> 
> ;;; WARNING (no code for module gtk)
> ;;; WARNING (no code for module gdk)
> 
> (i.e., for this test, I removed the symbolic links 
> gtk -> /usr/share/guile/gtk etc)

Can you investigate why Scwm is not looking in /usr/share/guile/ for
modules?  Do you have SCWM_LOAD_PATH set?  Perhaps that path is missing
from SCWM_LOAD_PATH?

>    > The icon file lacked `Debian-transparent.xpm' but I found a copy in my
>    > gimp directory.  It also lacks `mini.lambda.xpm' and I don't have a
>    > copy anywhere.
> 
>    I don't see where this is referenced in the repo anywhere..
> 
> <<WARNING>> Image file was not found: `mini.lambda.xpm'
> 
> The `mini.lambda.xpm' icon is not mentioned in my spare-blue.scwmrc
> file.
> 
>     > Note that I have no H modifiers nor references to button-1, button-2,
>     > or button-2 in my .scwmrc file.  
> 
>     Are you sure the .scwmrc file that you think is getting loaded really..
> 
> Here is .SCWM-errors, which lists the H modifiers and references to
> button-1,  etc; the X messages are below:

Maybe use -f <filename> to be sure that the .scwmrc being loaded is the
one you expect and see if you still get the messages about H modifiers
and mini.lambda.xpm... the strace output you sent in your previous
message looked like it was going after a system.scwmrc from today which
does have the H- modifier references, though not the missing pixmap, nor 
the button-1, etc., depracated contexts.

Thanks!
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 15:27:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA18116
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 15:27:13 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA18105
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 15:26:57 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11VgQ6-0001bmC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Mon, 27 Sep 1999 15:26:42 -0400 (EDT) 
Message-Id: <m11VgQ6-0001bmC@localhost>
Date: Mon, 27 Sep 1999 15:26:42 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: scwm-discuss@SCWM.MIT.EDU
CC: gjb@cs.washington.edu, bob@rattlesnake.com
In-reply-to: <qrremfkw5gw.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 27 Sep 1999 11:54:07 -0700)
Subject: Re: Scwm-0.99.3 mostly successful
Reply-to: bob@rattlesnake.com
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> <m11VfZS-0001bmC@localhost> <qrremfkw5gw.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

   > open("/home/scwm/system.scwmrc-99sep27", O_RDONLY) = 4

   How the heck is this file getting read?  This file, if it is the
   system.scwmrc from today, definitely does have H- bindings in it, though 
   it doesn't reference mini.lambda.xpm, not does it use the depracated
   button names.

Yes, 

    system.scwmrc-99sep27

is today's system.scwmrc file.

However, I get the H- bindings, mini.lambda.xpm, and Context name
`button-1' errors when loading my .scwmrc, which is spare-blue.scwmrc
and does not refer to H- bindings, mini.lambda.xpm, or Context name
`button-1'.

I am puzzled.

For completeness, here are three files generated by user `scwm'
starting with 

    exec strace -etrace=open startscwm --segv-just-stop

in ~scwm/.xinitrc:

    1. /home/scwm/.SCWM-errors
    2. /home/scwm/X-log-1       (the X messages)
    3. /home/scwm/.scwmrc       (my spare-blue.scwmrc file)
also
    4. libraries used, found with        ldd `which scwm`


1. /home/scwm/.SCWM-errors

Exec-ing wm as scwm
[Scwm][init_modifiers]:  No scrollock_mask was found.
[Scwm][bind-key]: <<WARNING>> Unbound modifier H-
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-slash'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-M-slash'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-s'

;;; WARNING (no code for module gtk)

;;; WARNING (no code for module gdk)
ERROR: In procedure scm_fport_buffer_add:
ERROR: Bad file descriptor
[Scwm][make-image]: <<WARNING>> Image file was not found: `mini.lambda.xpm'
[Scwm][lookup_context]: <<ERROR>> Context name `button-1' has been deprecated; please use new name `left-button-1'
[Scwm][lookup_context]: <<ERROR>> Context name `button-3' has been deprecated; please use new name `left-button-2'
[Scwm][lookup_context]: <<ERROR>> Context name `button-2' has been deprecated; please use new name `right-button-1'
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  6 (X_ChangeSaveSet)
  Serial number of failed request:  2427
  Current serial number in output stream:  2428
[Scwm][init_modifiers]:  No scrollock_mask was found.
[Scwm][init_modifiers]:  No scrollock_mask was found.
[Scwm][init_modifiers]:  No scrollock_mask was found.
[Scwm][init_modifiers]:  No scrollock_mask was found.
[Scwm][init_modifiers]:  No scrollock_mask was found.
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  6 (X_ChangeSaveSet)
  Serial number of failed request:  9003
  Current serial number in output stream:  9006


2. /home/scwm/X-log-1   (the X messages)


XFree86 Version 3.3.2.3 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: July 15 1998
	If the server is older than 6-12 months, or if your card is newer
	than the above date, look for a newer version before reporting
	problems.  (see http://www.XFree86.Org/FAQ)
Operating System: Linux 2.0.36 i686 [ELF] 
Configured drivers:
  SVGA: server for SVGA graphics adaptors (Patchlevel 0):
      NV1, STG2000, RIVA128, ET4000, ET4000W32, ET4000W32i,
      ET4000W32i_rev_b, ET4000W32i_rev_c, ET4000W32p, ET4000W32p_rev_a,
      ET4000W32p_rev_b, ET4000W32p_rev_c, ET4000W32p_rev_d, ET6000, ET6100,
      et3000, pvga1, wd90c00, wd90c10, wd90c30, wd90c24, wd90c31, wd90c33,
      gvga, ati, sis86c201, sis86c202, sis86c205, tvga8200lx, tvga8800cs,
      tvga8900b, tvga8900c, tvga8900cl, tvga8900d, tvga9000, tvga9000i,
      tvga9100b, tvga9200cxr, tgui9400cxi, tgui9420, tgui9420dgi,
      tgui9430dgi, tgui9440agi, cyber9320, tgui9660, tgui9680, tgui9682,
      tgui9685, cyber9382, cyber9385, cyber9388, cyber9397, cyber9520,
      3dimage975, 3dimage985, clgd5420, clgd5422, clgd5424, clgd5426,
      clgd5428, clgd5429, clgd5430, clgd5434, clgd5436, clgd5446, clgd5480,
      clgd5462, clgd5464, clgd5465, clgd6205, clgd6215, clgd6225, clgd6235,
      clgd7541, clgd7542, clgd7543, clgd7548, clgd7555, ncr77c22, ncr77c22e,
      cpq_avga, mga2064w, mga1064sg, mga2164w, mga2164w AGP, oti067, oti077,
      oti087, oti037c, al2101, ali2228, ali2301, ali2302, ali2308, ali2401,
      cl6410, cl6412, cl6420, cl6440, video7, ark1000vl, ark1000pv,
      ark2000pv, ark2000mt, mx, realtek, AP6422, AT24, AT3D, s3_virge,
      s3_svga, ct65520, ct65525, ct65530, ct65535, ct65540, ct65545,
      ct65546, ct65548, ct65550, ct65554, ct65555, ct68554, ct64200,
      ct64300, generic
(using VT number 8)

XF86Config: /etc/X11/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: disabled
(**) XKB: keymap: "xfree86(us)" (overrides other XKB settings)
(**) Mouse: type: PS/2, device: /dev/psaux, buttons: 3
(**) SVGA: Graphics device ID: "Matrox Millennium II AGP"
(**) SVGA: Monitor ID: "Mitsubishi Diamond Scan 20H"
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/freefont/,/usr/X11R6/lib/X11/fonts/sharefont/"
(--) SVGA: PCI: Matrox MGA 2164W AGP rev 0, Memory @ 0xfc000000, 0xf4100000
(--) SVGA: Linear framebuffer at 0xFC000000
(--) SVGA: MMIO registers at 0xF4100000
(--) SVGA: Video BIOS info block at 0x000c7dc0
(--) SVGA: Found and verified enhanced Video BIOS info block
(--) SVGA: chipset:  mga2164w AGP
(**) SVGA: videoram: 4096k
(**) SVGA: Option "dac_8_bit"
(**) SVGA: Using 24 bpp, Depth 24, Color weight: 888
(--) SVGA: Maximum allowed dot-clock: 250.000 MHz
(**) SVGA: Mode "1280x1024": mode clock = 110.000
(**) SVGA: Mode "1024x768": mode clock =  85.000
(--) SVGA: Virtual resolution set to 1280x1024
(--) SVGA: SpeedUp code selection modified because virtualX != 1024
(--) SVGA: MCLK set to 66.000 MHz
(--) SVGA: Using hardware cursor
(--) SVGA: Using XAA (XFree86 Acceleration Architecture)
(--) SVGA: XAA: Solid filled rectangles
(--) SVGA: XAA: Screen-to-screen copy
(--) SVGA: XAA: 8x8 color expand pattern fill
(--) SVGA: XAA: CPU to screen color expansion (TE/NonTE imagetext, TE/NonTE polytext)
(--) SVGA: XAA: Using 10 128x68 areas for pixmap caching
(--) SVGA: XAA: Caching tiles and stipples
(--) SVGA: XAA: General lines and segments
(--) SVGA: XAA: Dashed lines and segments
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/libreadline.so.2", O_RDONLY) = 3
open("/lib/libncurses.so.4", O_RDONLY)  = 3
open("/lib/libdl.so.2", O_RDONLY)       = 3
open("/lib/libc.so.6", O_RDONLY)        = 3
open("/dev/tty", O_RDWR|O_NONBLOCK)     = 3
open("/dev/null", O_RDONLY|O_NONBLOCK|0x10000) = 3
open("..", O_RDONLY|O_NONBLOCK|0x10000) = 3
open("../..", O_RDONLY|O_NONBLOCK|0x10000) = 3
open("/usr/local/bin/startscwm", O_RDONLY) = 3
--- SIGCHLD (Child exited) ---
open("/home/scwm/.SCWM-errors", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
open("/home/scwm/.Xdisplay", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
--- SIGCHLD (Child exited) ---
--- SIGCHLD (Child exited) ---
--- SIGCHLD (Child exited) ---
--- SIGCHLD (Child exited) ---
open("/home/scwm/.tracepids", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4


3. /home/scwm/.scwmrc

;;; ~/spare-blue.scwmrc                           -*- scwm -*-
;;; -------------------

;;; This is a .scwmrc configuration file for SCWM, a window manager. 
;;; Called `spare-blue', this has a simple, spare theme and blue backgrounds.

;;; Robert J. Chassell
;;; 1999 Aug 21, 1999 Sep  8

;; ==> Note that font sizes are for a 1280x1024 screen.  
;;     You may have to adjust sizes for your resolution.

    ;;--------------;;
    ;; CVS snapshot ;;
    ;;--------------;;

;; This file was tested with the CVS snapshot of 1999 Sep  8 

;; To obtain a CVS snapshot of the SCWM development sources
;; execute the following at your shell prompt.
;; Be warned that development sources often but don't always work!

;; I keep my scwm sources in /u/scwm.
;; The first time you obtain a snapshot do the following

;;     mkdir /u
;;     cd /u
;;     export CVSROOT=':pserver:anoncvs@scwm.mit.edu:/anoncvs'
;;     cvs login
;;        ## type `anoncvs' as the password at the `CVS password:' prompt
;;     cvs get scwm

;; The second and subsequent times, to update your CVS snapshot, do:

;;     cd /u/scwm
;;     export CVSROOT=':pserver:anoncvs@scwm.mit.edu:/anoncvs'
;;     cvs login
;;        ## type `anoncvs' as the password at the `CVS password:' prompt
;;     cvs update -Pd

;; Run these compile commands to build scwm:

;;     ./autogen.sh; 
;;     ./ltconfig --cache-file=./config.cache --with-gcc --with-gnu-ld ;
;;     ./ltmain.sh i686-pc-linux-gnu; ./configure --enable-maintainer-mode ;
;;     env CFLAGS='-Wall -W' make -k"

;; On my system, SCWM-related files are in:
;;
;;               /usr/local/share/scwm/
;; particularly
;;               /usr/local/share/scwm/modules/app/scwm/
;;               /usr/local/share/scwm/pixmaps
;;               /usr/local/share/scwm/themes
;;
;; as well as
;;               /usr/local/lib/
;;               /usr/local/include/
;;               /usr/local/bin/
;;

;; My sources are in   /u/scwm

;; Samples in          /u/scwm/sample.scwmrc/

;; Themes in           /u/scwm/themes

;; Other scm files are in:
;;
;;    /usr/lib/elk/scm
;;    /usr/lib/scm
;;    /usr/share/slib


    ;;---------------;;
    ;; Starting SCWM ;;
    ;;---------------;;

;; To start SCWM, place the following in your ~/.xsession file:

    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;;                                        ;;
    ;;    #! /bin/bash                        ;;
    ;;    exec scwm -f ~/spare-blue.scwmrc    ;;
    ;;                                        ;;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


;; then run `startx' from your shell prompt.

;; If you wish to use X windows display :0,
;; set your color depth to 32, 
;; and record errors and other information in a file called X-log,
;; run:
;;            startx -- :0 -bpp 32 > X-log 2>&1
;;

;; On my system, this SCWM configuration takes 30 seconds to start.


    ;;---------------------------;;
    ;; display a startup message ;;
    ;;---------------------------;;

;; Do this very early so people do not wait too long.  
;; This message takes ten seconds to appear on my machine.

;; First we must import the scwm modules that provide the requisit services.
;; The message-window module imports base.scm and three other modules.
(use-scwm-modules message-window)

;; (use-scwm-modules base message-window)
;; (define helvetica12 (load-font "-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*"))

;; Set message-window-style
(message-window-style default-message-window
		      #:font *message-window-font*
                      #:fg "white" 
                      #:bg "blue")

;; Display startup message for 15 seconds, after which it goes away
;; If you have a faster machine, you may want to shorten the time.
(display-message-briefly
 "Starting SCWM  ...  this takes thirty seconds on my machine  ...  "
15)



    ;;-----------------------------------;;
    ;; ---- Import the scwm modules ---- ;;
    ;;-----------------------------------;;

;; Import the scwm modules that run the window manager.

;; You can use one or other of the commands: use-scwm-modules or use-modules.

;; The latter command requires that you specify the subdirectories
;; under the modules directory under which the specific modules are
;; are located.  Thus, the command (use-modules (app scwm base))
;; loads the base.scm module from   /usr/local/share/scwm/modules/app/scwm/

;; As you can see, the top level directory is
;; /usr/local/share/scwm/modules/

;; The use-scwm-modules command presumes the desired modules are in the
;; /usr/local/share/scwm/modules/app/scwm/  directory.

;; List modules in alphabetical order, so it is easier to keep track of them.
;; Am probably loading more than I need.
(use-scwm-modules  
 advice
 animated-iconify 
 animation 
 auto-raise
 background
 base 
 decor 
 defoption 
 dir-focus 
 doc 
 face 
 file 
 flash-window 
 flux 
 flux-gtk 
 fvwm-compat
 fvwm-eval
 fvwm-module 
 gnome-hints
 group 
 highlight-current-window
 key-mover
 listops 
 menus-extras
 message-window 
 modifier-key-bindings 
 optargs 
 path-cache 
 placement
 preferences 
 primopts 
 property-respond 
 quote 
 send-string 
 std-menus 
 stringops
 style 
 stylist 
 themes
 tile
 time-convert 
 undo
 virtual
 window-selection
 wininfo 
 winlist 
 winops 
 )

;; Example of `use-modules' command 
;; (This example does not load as many modules as the command above.)
;; (use-modules 
;;  (app scwm auto-raise)
;;  (app scwm base)
;;  (app scwm decor)
;;  (app scwm desk-background)
;;  (app scwm face)
;;  (app scwm flux)
;;  (app scwm fvwm-module)
;;  (app scwm module-types)
;;  (app scwm style)
;;  (app scwm themes)
;;  (app scwm wininfo)
;;  (app scwm winlist)
;;  (app scwm winops)
;;  (app scwmp references))


    ;;-------------------------------------;;
    ;; set window configuration at startup ;;
    ;;-------------------------------------;;

;; These commands replace most of what goes into a ~/.xinitrc or ~/.xsession
;; file.  

;; ==> Note that font sizes are for a 1280x1024 screen.  
;;     You may have to adjust sizes for your resolution.

;; Blue is restful on my eyes; shows less flicker (to which I am sensitive).
(set-background-color! "Navy")

;; for analog clock in upper right
(execute "xclock -analog -bg navy -fg white -hd white -hl white \
          -update 1  -geometry 80x80-130+5")

;; for digital clock in upper left
(execute "xclock -digital -bg navy -fg white -hd white -hl white \
          -update 1 -geometry +0+0")

;; for GMT digital clock in upper left
(scwm-system "TZ=GMT0 xclock -digital -bg navy -fg white -hd white -hl white \
              -update 1 -geometry +202+0&")

;; Other clock information is located in: 
;; /usr/local/share/scwm/modules/app/scwm/ScwmClock.scm

;; Create some xterms.  Note the name for the tall xterm; 
;; that is so it is easy for me to pick from an icon list.

(execute "xterm -T 80x24 -n 80x24 -bg mediumblue \
               -fg white -geometry 80x24+0+75")

(execute "xterm -T 80x74 -n '|| 80x74 ||' -bg mediumblue \
      -fg white -geometry 80x74+450+10 -iconic")

;; Here are other programs that are usually run from ~/.xinitrc

(execute "xrdb ~/.Xresources > /dev/null")

;; My preferred keymap is:  /usr/share/keymaps/i386/qwerty/emacs2.map.gz
;; This emulates it X
(execute "xmodmap -e 'clear Lock'")
(execute "xmodmap -e 'add Control = Caps_Lock'")
(execute "xmodmap -e 'keysym Tab = Tab'")
(execute "xmodmap -e 'keycode 22 = BackSpace'")
(execute "xmodmap -e 'keycode 107 = Delete'")

;; Fonts

;; For Emacs; extract from: /usr/local/src/intlfonts-1.0.tar.gz
;; Others that could be loaded include:
;;   Asian Chinese-BIG Chinese Ethiopic Japanese-BIG Japanese Korean
;; For the GIMP, put Type 1 and Speedo fonts first.

(execute "xset fp+ /usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/Speedo,/usr/X11R6/lib/X11/fonts/100dpi,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/freefont/,/usr/X11R6/lib/X11/fonts/sharefont/,/usr/X11R6/lib/X11/fonts/URW/,/usr/local/src/intlfonts/European,/usr/local/src/intlfonts/Asian,/usr/local/src/intlfonts/Misc")

(execute "xset fp rehash")

    ;;;; end set window configuration at startup ;;;;



    ;;--------------------------------;;
    ;; basic configuration parameters ;;
    ;;--------------------------------;;


;; This definition is used to define *theme-path*  and is helpful if
;; you specify files to load, as shown immediately below.
(define HOME (getenv "HOME"))

;; You can define USER this way
;; (define USER (getenv "USER"))  


;; If you are loading both local and system settings, you can do this:

;; (define USERROOT (string-append HOME "/.scwm"))
;; (define SYSTEMROOT "/etc/X11/scwm")
;;
;; (let ((SYSTEMSETTINGS (string-append SYSTEMROOT "/settings"))
;;       (USERSETTINGS (string-append USERROOT "/settings")))
;;   (cond ((file-exists? USERSETTINGS)
;;          (load USERSETTINGS))
;;         ((file-exists? SYSTEMSETTINGS)
;;          (load SYSTEMSETTINGS))
;;         ))

;; However, rather than employ additional files for this `spare-blue'
;; configuration, I have copied my  ~/.scwm/settings  file into this
;; .scwmrc file, so the above load commands are not needed and are
;; therefore commented out.

;; Also, I do not load any system-wide settings.  These actions mean
;; that I have to keep track of only one file, this ~/.scwmrc file
;; (plus the ~/.xsession file for starting X).

;;;;;;;;;;;;;;;;   copy of   ~/.scwm/settings    ;;;;;;;;;;;;;;;;

;;  ~/.scwm/settings      -*- scwm -*-
;; basic configuration parameters for scwm
;; ATTENTION!!!: THE FOLLOWING VARIABLES MUST BE DEFINED!!!
;; user-image-path, menu-font, title-font, icon-font,
;; focus-type, restart-function, init-function,
;; window-toggle-maximize

;; ==> Note: I have copied this file from the distribution, and customized it.

;;; Specify how to focus on a window ;;;
;; ==> Note: I also specify the mouse focus type in the generic window
;; style; this may be redundant

;; here you can put one of these values:
;; 'click     - must click on the window to focus.
;; 'mouse     - the window gains focus as the mouse enters or leaves.
;; 'sloppy    - the window gains focus as the mouse enters, but does not
;;              lose it if the pointer enters the root window, or a window
;;              with 'click or 'none focus.
;; 'none      - don't ever give this window focus, even if
;;              it is clicked.

(define focus-type 'mouse)


;; ==> Note: image-load-path also defines where images are located.
;; this defines the path where a user can put own images 
(define user-image-path '())

;; now we define the font for menus, titles and icons
(define helvetica12
  (load-font "-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*"))

(define menu-font helvetica12)
(define title-font helvetica12)
(define icon-font helvetica12)

;; ==> Note: Apparently, this two functions serve as `hooks' --
;; `restart-function' is run before (restart "scwm")
;; and `init-function' is run at the end of this file.
;; Here, these two functions are defined to do nothing.

;; this is the function, scwm calls when you restart it 
(define (restart-function)
  ())

;; init-function is the function, scwm calls after the initialisation.
(define (init-function) 
  ())

;;; now we define the maximize function
;; use this definition, if you want the normal vertical-only maximize function

;; ==> Note that I have defined this to maximize almost, but all the
;; way to the top of the screen.  This is because I always like some
;; visible root screen space.

(define (vertical-toggle-maximize) 
  (toggle-maximize 0 (%y 95)))

;; use this function, if you want a vertical-and-horizontal maximize function

;; (define (window-toggle-maximize)
;;   (toggle-maximize (%x 99) (%y 99))
;;   (move-to 7 7))
    
;;;;;;;;;;;;;;;;   end copy of   ~/.scwm/settings    ;;;;;;;;;;;;;;;;



    ;; -------;;
    ;; decors ;;
    ;; -------;;

;; These decors enable you to change a theme on a per-window basis.
;; Only std-d, lizard-d, and grad-d are defined here.
;; grad-d is the default for this ~/.scwmrc file

(define std-d (make-decor "std"))
(with-decor std-d
            (title-style #:font helvetica12 #:justify 'left #:relief 'raised)
            (border-style #:hidden-handles #f #:no-inset #t))

(define lizard-d (make-decor))
(with-decor lizard-d
            (title-style #:font helvetica12 #:justify 'left #:relief 'raised)
            (border-style #:hidden-handles #f 
                          #:no-inset #t
                          #:inactive
                          (list #:hidden-handles #f #:no-inset #t)))

(define grad-d (make-decor))
(with-decor grad-d
            (set-rubber-band-mask! 127)
            (title-style 
             #:font helvetica12 
             #:justify 'left 
             #:relief 'flat
             #:h-gradient (list 
                           20 (list "OrangeRed3" 20) "OrangeRed3" "#3cb21c")
             #:inactive (list 
                         #:h-gradient
                         (list 40 (list "grey50" 20) "grey50" "grey25")))
            (border-style 
             #:no-inset #f 
             #:hidden-handles #f))

(define decor-list (list (cons "Standard" std-d) (cons "Lizard" lizard-d)
                         (cons "Gradient" grad-d)))

    ;;;; end decors ;;;;




    ;; --------------------;;
    ;; locations of images ;;
    ;; --------------------;;

;;; Set path to use for image searches
;;; On my system, all icons that I use are actually in
;;; /usr/X11R6/include/X11/pixmaps/

(append! image-load-path
     (list
      "/usr/X11R6/include/X11/pixmaps" 
      "/usr/X11R6/include/X11/bitmaps"
      "~/pixmaps"
      "~/bitmaps"
      "/usr/share/icons"              ;; /usr/share/icons is for wmaker
      "/usr/local/lib/X11/mini-icons"
      ))

;; Other possible image directories; none of these are on my system.
;;      "/usr/X11/lib/X11/mini-icons"
;;      "/usr/share/include/X11/pixmaps"
;;      "/usr/share/include/X11/bitmaps"
;;      "/usr/lib/icons"
;;      "/usr/local/X11/include/X11/pixmaps"
;;      "/usr/lib/TheNextLevel/pixmaps"
;;      "/usr/local/lib/icons"
;;      "/usr/local/icons"



    ;;----------------------------------;;
    ;; create miniature icons for menus ;;
    ;;----------------------------------;;

;; Create the image form used in various menus
;; Not all of these images are used in this ~/.scwmrc file, 
;; but are kept because the might be useful in the future.

;; These must be loaded before the window styles, which use them.

(define bolt-i    (make-image "mini-ray.xpm"))
(define bomb-i    (make-image "mini-bomb.xpm"))
(define bomb-smaller-i (make-image "mini.bomb.xpm"))
(define book2-i   (make-image "mini-book2.xpm"))
(define calc-i    (make-image "mini-calc.xpm"))
(define cd-i      (make-image "mini-cdlabel.xpm"))
(define clock-i   (make-image "mini-clock.xpm"))
(define cross-i   (make-image "mini-cross.xpm"))
(define ctd-i     (make-image "mini-connect.xpm"))
(define debian-i  (make-image "Debian-transparent.xpm"))
(define decor-i   (make-image "mini-exclam.xpm"))
(define dos-i     (make-image "mini-bug2.xpm"))
(define edit-i    (make-image "mini-edit.xpm"))
(define excl-i    (make-image "mini-exclam.xpm"))
(define eyes-i    (make-image "mini-eyes.xpm"))
(define fig-i     (make-image "mini-paint.xpm"))
(define fm-i      (make-image "mini-filemgr.xpm"))
(define games-i   (make-image "mini-happy.xpm"))
(define ghost-i   (make-image "mini-gv.xpm"))
(define gimp-i    (make-image "mini-wilbur.xpm"))
(define hamm-i    (make-image "mini-hammer.xpm"))
(define lock-i    (make-image "mini-lock.xpm"))
(define lower-i   (make-image "mini-lower.xpm"))
(define man-i     (make-image "mini-manual.xpm"))
(define max1-i    (make-image "mini-max1.xpm"))
(define nscape-i  (make-image "mini-nscape.xpm"))
(define pdf-i     (make-image "mini-pdf.xpm"))
(define quest-i   (make-image "mini-question.xpm"))
(define raise-i   (make-image "mini-raise.xpm"))
(define resize-i  (make-image "mini-resize.xpm"))
(define run-i     (make-image "mini-run.xpm"))
(define rxvt-i    (make-image "mini-term.xpm"))
(define stop-i    (make-image "mini-stop.xpm"))
(define term-i    (make-image "mini-sh1.xpm"))
(define turn-i    (make-image "mini-turn.xpm"))
(define windows-i (make-image "mini-windows.xpm"))
(define x2-i      (make-image "mini-x2.xpm"))
(define xv-i      (make-image "mini-xv.xpm"))
(define xx-i      (make-image "mini-x.xpm"))
(define xxgdb-i   (make-image "mini-bug1.xpm"))
;;(define manx-i    (make-image "mini-xman.xpm"))
;; (define decor-i   (make-image "mini-color-splotch.xpm"))

    ;;;; end miniature icons for menus ;;;;



    ;; -----------------------;;
    ;; general window styles  ;;
    ;; -----------------------;;

;; Move all windows opaquely and always resize opaquely
(set! *opaque-move-percent* 100)
(set! *opaque-resize-percent* 100)

;; Enable run-time theme changes
(append! *theme-path*
         (list (string-append (scwm-path-prefix) "/share/scwm/themes")
               (string-append HOME "/themes")))

;; Define a style for the clock and other such items
(define desk-widget
  (make-style #:plain-border #t 
              #:sticky #t 
              #:winlist-skip #t
              #:border-width 3 
              #:focus 'none))

    ;;---------------------------;;
    ;; specific window styles    ;;
    ;;---------------------------;;

;; I don't like to see icons for my main programs when a window is
;; iconified, only the text with its name, so I commented out those
;; icons.

(window-style "xterm" 
;;              #:icon "/usr/X11R6/lib/X11/twm/images/xterm.xpm"
              #:mini-icon term-i 
              #:use-decor grad-d)

(window-style "emacs" 
;;              #:icon "gnu-animal.xpm"
              #:icon-box (list (x- 35) 1 35 (y- 141))
              #:use-decor grad-d)

(window-style "netscape" 
;;              #:icon "netscape.xpm"
              #:placement-proc place-at-point
              #:use-decor grad-d)

(window-style "gimp" 
;;              #:icon "wilber.xpm"
              #:mini-icon gimp-i
              #:use-decor grad-d)

(window-style "xclock*" 
              #:no-titlebar #t 
              #:circulate-skip #t 
              #:use-style desk-widget
              #:fg "yellow"
              #:bg "red")

(window-style "*lock" #:use-style desk-widget)
(window-style "xload" #:no-titlebar #t #:use-style desk-widget)
(window-style "xscreensaver" #:no-titlebar #t #:use-style desk-widget)
(window-style "xbiff" #:no-titlebar #t #:use-style desk-widget)

(window-style "xcalc" #:icon "xcalc.xpm")
(window-style "xman" #:icon "xman.xpm")
(window-style "xmag" #:icon "mag_glass.xpm")


    ;;--------------------------;;
    ;; set generic window style ;;
    ;;--------------------------;;

;; This sets the window style for attributes not mentioned in specific
;; window styles for specific windows.

(window-style "*" 

              #:icon #f      ;; this turns off icons, but leaves icon titles
              #:show-icon #t ;; show text of titles for icon, not images
              ;; #:sticky-icon #t

              #:auto-raise #t
              #:auto-raise-delay 0
              #:auto-raise-focus-proc raise-window

              ;; fg is the color used in the text of icon titles,
              ;; and in the text of inactive images in the pager.
              #:fg "white"

              ;; bg is the color used in the background of icon titles,
              ;; for inactive buttons on a title bar,
              ;; for inactive images in the pager.
              #:bg "blue"

              ;; icon-box: X-position, Y-position, width, height
              ;; #:icon-box (list (x- 70) 1 69 (y- 141))
              #:icon-box (list (x- 35) 1 35 (y- 141))

              #:focus 'mouse
              #:border-width 3 

;;              #:placement-proc place-at-point
;;              #:transient-placement-proc place-at-point
;;              #:random-placement #t 
;;              #:smart-placement #t

              #:mwm-func-hint #t 
              #:mwm-decor-hint #t
              #:hint-override #t 
              #:decorate-transient #t
              #:PPosition-hint #f
              #:lenience #t

              #:use-decor grad-d)



    ;;-------;;
    ;; Pager ;;
    ;;-------;;

;; This pager is adapted by the scwm developers from that for Fvwm;
;; hence the references to "FvwmPager" 

(set-desk-size! 2 2)

(set-edge-scroll! (%x 100) (%y 100))

;; delay a move across an edge briefly, and require a small threshhold
;; some people prefer considerably higher values, such as 500 500
(set-edge-resistance! 150 150)


(window-style "FvwmPager" 
              #:no-titlebar #t 
              #:use-style desk-widget)

;; for a pager for a specific desk, try the following (untested)
;;   see  /usr/local/src/scwmdoc.pdf
;; (define First_Desk 1)
;; (define Second_Desk 2)
;; (window-style "Second_Pager" 
;;               #:start-on-desk  Second_Desk
;;               #:no-titlebar #t 
;;               #:use-style desk-widget)

;; (window-style "SecondPager" #:use-style desk-widget-on-top)

(register-fvwm2-module-config "FvwmPager"
 "*FvwmPagerGeometry -220+4"
 "*FvwmPagerDeskTopScale 40"
 "*FvwmPagerHilight NavajoWhite2"            ; active window
 "*FvwmPagerBack burlywood3"                 ; non-active windows
 ;; FvwmPagerFore is used for the dashed lines separating 
 ;; workspaces in the pager
 "*FvwmPagerFore DarkSlateBlue"
 "*FvwmPagerFont none"
 "*FvwmPagerSmallFont 5x8"
 "*FvwmPagerInterPageLineStyle solid"
 "*FvwmPagerLabel 0 Top"
 "*FvwmPagerLabel 1 Bottom"
)

;; The following shows two desktops on a double wide pager:
;; (define fvwm2-pager (run-fvwm2-module "FvwmPager" '("0" "1")))

;; The following shows only the first desktop, not desk two.
;; I don't know why.
;; However, windows on the second desktop are visible in the window list.
;; Also, you can use the Desk menu to go to any desk.
(define fvwm2-pager (run-fvwm2-module "FvwmPager" '("Top" "Bottom")))

    ;;;; End Pager ;;;;


    ;;---------------;;
    ;; define  menus ;;
    ;;---------------;;

;;; menus used by the main root menu ;;;

;; Mouse button bindings are defined in a section below;
;; this section creates the menus.

;; The steps are:
;;  1. create menus used by main root menu (done in this section)
;;  2. create main menu 
;;  3. bind the menu to an action such as a mouse click (done below)

;; quit-verify is used by the main root menu
(define quit-verify
  (menu 
   (list 
    (menuitem "Really quit scwm?" #f)
    menu-title
    (menuitem "Yes" #:action quit)
    (menuitem "No" #:action #f)
    menu-separator
    (menuitem "Restart scwm" #:action (lambda ()
                                        (restart-function)
                                        (restart "scwm"))))))

;; desk-menu is used by the main root menu  
;; and is also bound to meta-mouse-3 in the root window

(define desk-menu
  (menu 
   (list
    (menuitem "Desks" #f)
    menu-title
    (menuitem "Desk 1" #:action (lambda () (set-current-desk! 0)))
    (menuitem "Desk 2" #:action (lambda () (set-current-desk! 1)))
    (menuitem "Desk 3" #:action (lambda () (set-current-desk! 2)))
    (menuitem "Desk 4" #:action (lambda () (set-current-desk! 3))))))


;;; Debian menus ;;;

;; If you load the file that contains the Debian menus,
;; you can uncomment and use the entries in the main-root-menu below
;; that list the Debian menus.

;; On my system, the Debian menus were generated automatically when I
;; first installed Scwm and were placed in a file called
;;     ~/.scwm/scwm_menus

;; You can load the Debian menus file here by uncommenting this command:

     (load (string-append (getenv "HOME") "/.scwm/scwm_menus"))

;; (Change the name of the file as needed for your system.)

;; The Debian menus list many programs, all of which are part of the
;; Debian GNU/Linux distribution, but not all of which may be
;; installed on your machine.

;; The Debian menus listed below that you may uncomment if you wish are:
;;    /Debian/Apps
;;    /Debian/Games
;;    /Debian/Screen
;;    /Debian/System
;;    /Debian/WindowManagers
;;    /Debian/XShells


;;; main root menu ;;;

;; left button mouse menu on root window
(define (popup-main-root-menu)
  (popup-menu main-root-menu))

(define main-root-menu
  (menu 
   (list
    (menuitem "Main Menu" 
              #:image-left "mini-penguin.xpm" 
              ;; #:image-left "jline.xpm" "mini-penguin.xpm"  "jline.xpm"
              #f)

    menu-separator
    (menuitem
     "&80x24 Window" 
     #:image-left 
     "mini.xterm.xpm" 
     #:action (lambda () 
                (execute "xterm -bg darkblue -fg white -cr orchid \
                           -geometry 80x24+2+130 -name '80x24 xterm' \
                           -title xterm -e /bin/bash -login")))
    (menuitem
     "&80x74 Window" 
     #:image-left 
     "mini.xterm.xpm" 
     #:action (lambda () 
                (execute "xterm -bg darkblue -fg white -cr orchid \
                           -geometry 80x74+530+2 -name '80x74 xterm' \
                           -title xterm -e /bin/bash -login")))

    menu-separator

    (menuitem 
     "&GNU Emacs" 
     #:image-left "mini.emacs.xpm" 
     #:action (lambda () 
                (execute "/usr/bin/emacs20 -fn 7x14 -bg darkblue \
                 -fg white -geometry 81x62-150+100 -name 'GNU Emacs'")))

    menu-separator

    (menuitem 
     "Gzilla" 
     #:image-left "mini-gzilla.xpm"
     #:action (lambda () (execute "gzilla")))

    (menuitem "The Gimp" 
              #:image-left "mini-wilbur.xpm"
;; was
;;              #:action (lambda () (execute "gimp")))
              #:action (lambda () (execute "~/.gimp-script")))

    menu-separator

    (menuitem "&xcolors" 
              #:image-left "mini.rainbow.xpm" 
              #:action (lambda () (execute "xcolors")))

;;;; Uncomment the following Debian menus 
;;;; only if you have loaded the file that contains them.
;;;; See above for how to load that file.

    menu-separator
    (menuitem "Debian Menus" #:image-left debian-i)
    menu-separator
    (menuitem "&Apps"           #:action /Debian/Apps)
    (menuitem "&Games"          #:action /Debian/Games)
    (menuitem "&Screen"         #:action /Debian/Screen)
    (menuitem "S&ystem"         #:action /Debian/System)
    (menuitem "&WindowManagers" #:action /Debian/WindowManagers)
    (menuitem "&XShells"        #:action /Debian/XShells)


    menu-separator

    (menuitem "Desks" 
              #:image-left "/usr/X11R6/lib/tkdesk/images/ficons16/desk.xpm"
              #:action desk-menu)

    menu-separator

    (menuitem 
     "Restart scwm" 
     #:image-left "mini-start.xpm"
     #:action (lambda () (restart-function) (restart "scwm")))

    menu-separator
    (menuitem 
     "Quit scwm" 
     #:image-left "mini-cross.xpm"
     #:action quit-verify))))

;;; end main root menu ;;;


;;; middle mouse root menu ;;;


;; menu-for-preferences  is used by the middle mouse root menu
(define menu-for-preferences
  (menu 
   (list 
    (menu-title "Preferences" #f) 
    menu-separator

    (menuitem "Scwm &Options...." #:action (lambda () (scwm-options-dialog)))

    (menuitem "Change background color..."
              #:action (lambda () 
                         (prompt-color 
                          "New background color"
                          (lambda (c) (set-background-color! c))
                          #:title "Background color?")))

    ;; global themes are in
    ;;     /usr/local/share/scwm/themes
    ;;  as tar.gz files that Scwm reads automagically
    (menuitem "Change global theme" 
              #:submenu 
              (lambda () (menu-global-theme #t)))

    (menuitem "Scwm interaction" #:action
              (run-in-xterm "scwmrepl"))

    (menuitem "Info on a window" 
              #:action  window-info))))

;; middle mouse button on root window
(define (popup-ops) (popup-menu window-ops-menu))

;; middle mouse button on root window; bound to popup-ops
(define window-ops-menu
  (menu 
   (list
    (menu-title "Window Ops" #f)
    menu-separator
    (menuitem "Move" #:action interactive-move)
    (menuitem "Resize" #:action interactive-resize)
    (menuitem "Raise" #:action raise-window)
    (menuitem "Lower" #:action lower-window)
;;    (menuitem "Print" #:action print-window)
    (menuitem "(Un)Window-Shade" #:action toggle-window-shade)
    (menuitem "(De)Iconify" #:action toggle-iconify)
    (menuitem "(Un)Maximize" #:action vertical-toggle-maximize)
    (menuitem "(Un)Stick" #:action toggle-stick)
    (menuitem "(Un)Keep On Top" #:action toggle-on-top)
    menu-separator
    (menuitem "&Preferences" #:image-left "mini-prefs.xpm" 
              #:action 'menu-for-preferences)
    menu-separator
    (menuitem "Close" #:action close-window)
    (menuitem "Delete" #:action delete-window)
    (menuitem "Destroy" #:action destroy-window)
    menu-separator
    (menuitem "Restart scwm" #:action (lambda ()
                                        (restart-function)
                                        (restart "scwm")))
    menu-separator
    (menuitem "Refresh Screen" #:action refresh))))

;;; end middle mouse root menu ;;;


;;; titlebar mouse menu ;;;

;;  bindings for mouse buttons on the title bar
;;  are created in a section below 

;; leftmost button on title bar
(define (popup-small-ops)
  (popup-menu (make-small-window-ops-menu (get-window))))

;; leftmost button on title bar
(define (make-small-window-ops-menu ww)
  (menu (list
         (menu-title "Small Ops" #:image-left windows-i)
         menu-separator
         (menuitem "Re&size" #:image-left resize-i
                   #:action interactive-resize)
         menu-separator
         (menuitem "Info" #:image-left quest-i
              #:action  window-info)

         (menuitem "More" 
                   #:action
                   (menu (list
                          (menuitem "&Raise"
                                    #:action raise-window)
                          (menuitem "&Lower"
                                    #:action lower-window)
                          (menuitem (if (sticky? ww) "Un&stick" "&Stick")
                                    #:action toggle-stick)
                          (menuitem (if (window-shaded? ww)
                                        "Unwindow-S&hade" "Window-S&hade")
                                    #:action toggle-window-shade)
                          (menuitem (if (kept-on-top? ww)
                                        "UnKeep On Top" "Keep On Top")
                                    #:action toggle-on-top))))
         (menuitem "Decorations" 
                   #:image-left decor-i 
                   #:action
                   (menu (map (lambda (dec)
                                (menuitem
                                 (car dec) #:action
                                 (lambda () (style-one-window ww #:use-decor
                                                              (cdr dec)))))
                              decor-list)))
         menu-separator
         (menuitem "&Close" #:image-left cross-i
                   #:action close-window)
         (menuitem "&Delete" #:image-left bomb-smaller-i #:action delete-window)
         (menuitem "&Destroy" #:image-left bomb-i #:action destroy-window))))

    ;; ---------------------------;;
    ;; how title bar buttons look ;;
    ;; ---------------------------;;

(define prog-face (make-face '((relief raised)) '((pixmap mini-program-icon))))
(define edit-face (make-face '((relief raised)) '((pixmap "mini-edit.xpm"))))
(define term-face (make-face '((relief raised)) '((pixmap "mini-term.xpm"))))

(define stylized-X-face         ; Stylized X for closing window
  (make-face '((relief raised))
             '((relief-pattern
                ((20 20 #t) (30 20 #t) (50 40 #t) (70 20 #t) (80 20 #t)
                 (80 30 #f) (60 50 #f) (80 80 #f) (70 80 #f) (50 60 #f)
                 (30 80 #f) (20 80 #f) (20 70 #f) (40 50 #t) (20 30 #f)
                 (20 20 #t))))))

(define up-down-arrow-face      ; Vertical Line with arrowheads on
  (make-face '((relief raised)) ; top and bottom for toggling vert-maximize
             '((relief-pattern
                ((50 10 #t) (25 35 #t) (40 35 #t) (40 60 #t) (25 60 #t)
                 (50 85 #t) (75 60 #f) (60 60 #f) (60 35 #f) (75 35 #f)
                 (50 10 #f) (50 10 #t))))))


    ;; -----------------------------------;;
    ;; how to put buttons on the titlebar ;;
    ;; -----------------------------------;;

(define button-numbers (cons 1 2)) ; (left . right)

;; This creates the add-button command which when used multiple times
;; in sequence adds buttons in the correct location.  

;; The first use with third arg #t creates the left most button, the
;; second use with third arg #t creates the second left most button,
;; and so on.

(define (add-button face hook left) ; in all decors
  (let ((num (if left (car button-numbers) (cdr button-numbers))))
    (map (lambda (decor) (with-decor (cdr decor) (set-button-face! num face)))
         decor-list)
    (bind-mouse (string->symbol (string-append "button-" (number->string num)))
                1 hook)
    (if left (set-car! button-numbers (+ 2 num))
        (set-cdr! button-numbers (+ 2 num)))))


    ;; ------------------------;;
    ;; add buttons to titlebar ;;
    ;; ------------------------;;

;;; Now add the buttons to the titlebar, using add-button command:

;; left-most button
(add-button prog-face popup-small-ops #t)
(add-button up-down-arrow-face vertical-toggle-maximize #t)

;; right-most button --  3rd arg to add-button is whether on left side
(add-button stylized-X-face delete-window #f)




    ;; ----------------------------------------;;
    ;; how to bind a mouse button to an action ;;
    ;; ----------------------------------------;;


;;; Finally, bind the bottons to an action for a mouse click

;; buttons are numbered:  left: 1  3  5              6  4  2: right

;; !!! except that for titlebar button contexts for `bind-mouse'
;; !!! the numbers are 
;; !!! left-button-1 left-button-2 ... right-button-2 right-button-1

;; !!! This appears inconsistent, but it does work.

;;     bind-mouse CONTEXTS          MOUSE-BUTTON PROCEDURE-INVOKED
;; in this case
;;     bind-mouse TITLE-BAR-BUTTON  MOUSE-BUTTON PROCEDURE-INVOKED


;; CONTEXTS is a list of event-contexts
;; MOUSE-BUTTON is a string or integer giving the mouse button number
;; PROC is a procedure that will be invoked (with no arguments)
;;
;; CONTEXTS is a list of event-contexts (e.g., '(left-button-1 frame-sides)) 
;; 
;; The contexts include:
;; 'window
;; 'title
;; 'icon
;; 'root
;; 'frame-corners
;; 'frame-sides
;; 'client-window
;; 'root-window
;; 'left-button-N  (N=1-5)
;; 'right-button-N (N=1-5)

    ;;;; end of explanation: how to bind a mouse button to an action ;;;;


    ;; -------------------------------;;
    ;; titlebar button mouse bindings ;;
    ;; -------------------------------;;

;; context:            left-most titlebar button
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  popup-small-ops
(bind-mouse 'left-button-1 1 popup-small-ops)

;; !!! why does left mouse button also work in following situation??

;; context:            second to left-most titlebar button
;; mouse button:       number two, which is middle mouse button
;; procedure invoked:  vertical-toggle-maximize
(bind-mouse 'left-button-2 2 vertical-toggle-maximize)


;; context:            second to right-most titlebar button
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  iconify
(bind-mouse 'right-button-2 1 iconify)

;; context:            right-most titlebar button
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  delete-window
(bind-mouse 'right-button-1 1 delete-window)

    ;;;; end titlebar button mouse bindings ;;;;



    ;; -------------------------------------;;
    ;; Mouse button bindings in root window ;;
    ;; -------------------------------------;;

;;; root menus ;;;

;; context:            root window
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  popup-main-root-menu
(bind-mouse 'root 1 popup-main-root-menu)

;; context:            root window
;; mouse button:       number two, which is middle mouse button
;; procedure invoked:  popup-ops
(bind-mouse 'root 2 popup-ops)

;; context:            root window
;; mouse button:       number three, which is right mouse button
;; procedure invoked:  show-window-list-menu
(bind-mouse 'root 3 
            (lambda () 
              (show-window-list-menu #t 
                                     #:by-resource #t
                                     #:show-last-focus-time #t
                                     #:show-geometry #t)))

;; context:            root window
;; mouse button:       Meta (e.g., ALT) key and right mouse button, together
;; procedure invoked:  popup-menu
(bind-mouse 'root "M-3" (lambda () (popup-menu desk-menu)))

    ;;;; end mouse button bindings in root window ;;;;


    ;; ------------------------------------------------------;;
    ;; Mouse button bindings in corners and sides of windows ;;
    ;; ------------------------------------------------------;;

;; context:            window corners
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  resize-or-raise
(bind-mouse 'frame-corners 1 resize-or-raise)

(bind-mouse 'frame-corners 2 popup-small-ops)

(bind-mouse 'frame-sides 1 resize-or-raise)

(bind-mouse 'frame-sides 2 move-or-raise)

;;;; Example: how to bind mouse button in two contexts
;; context:            window corners and window sides
;; mouse button:       number two, which is middle mouse button
;; procedure invoked:  popup-small-ops
;; (bind-mouse '(frame-corners frame-sides) 2 popup-small-ops)



;; context:            titlebar (not a button)
;; mouse button:       number two, which is middle mouse button
;; procedure invoked:  toggle-raise
(bind-mouse 'title 2 toggle-raise)

;;; Bind mouse button to one action for single click, 
;;; second action for double click

;; First define the action using double-click as one mouse-event-type
(define (move-or-shade)
  (case (mouse-event-type)
    ((double-click) (toggle-window-shade))
    (else (move-or-raise))))

;; context:            titlebar (not a button)
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  move-or-shade
(bind-mouse 'title 1 move-or-shade)

    ;;;; end mouse button bindings in corners and sides of windows ;;;;



    ;; ---------------------------------------;;
    ;; Mouse button bindings inside of window ;;
    ;; ---------------------------------------;;

;; Meta-Mouse-3 anywhere in window moves or shades it
;; context:            anyhwere in a window
;; mouse button:       number three, which is right mouse button
;; procedure invoked:  move-or-shade
(bind-mouse 'window "M-3" move-or-shade)

;; Meta-Mouse-2 closes a window 
;; either by deleting (friendly) or destroying it.
;; context:            window
;; mouse button:       Meta (e.g., ALT) key and middle mouse button, together
;; procedure invoked:  close-window
(bind-mouse 'window "M-2" close-window)

    ;;;; end mouse button bindings inside of window ;;;;


    ;;---------------------------------;;
    ;; Mouse button bindings for icons ;;
    ;;---------------------------------;;

;; Either deiconify or move an icon
(define (move-or-deiconify)
  (case (mouse-event-type)
    ((motion) (interactive-move))
    ((double-click) (deiconify))))

(bind-mouse 'icon 1 deiconify)
(bind-mouse 'icon 2 move-or-deiconify)

    ;;;; end mouse button bindings for icons ;;;;



    ;;--------------------------------;;
    ;; key binding for window context ;;
    ;;--------------------------------;;

;; I find I use this key binding all the time!
(bind-key 'window "M-z" iconify)

    ;;;; end key binding for window context ;;;;



    ;;----------------------------------;;
    ;; key binding to move the viewport ;;
    ;;----------------------------------;;

(bind-key 'all "C-Left" (lambda () (move-viewport (%x -100) 0)))
(bind-key 'all "C-Right" (lambda () (move-viewport (%x 100) 0)))
(bind-key 'all "C-Up" (lambda () (move-viewport 0 (%y -100))))
(bind-key 'all "C-Down" (lambda () (move-viewport 0 (%y 100))))

;; Also, you can rotate among the current window using a keyboard command.
;; I don't use these because I usually have too many windows for this
;; to be efficient.

;; (bind-key 'all "M-Tab" 
;;           (lambda () (next-window #:only visible? #:except iconified?)))
;; 
;; (bind-key 'all "M-S-Tab" 
;;           (lambda () (prev-window #:only visible? #:except iconified?)))

    ;;;; end key binding to move the viewport ;;;;


    ;;---------------------------;;
    ;; key binding for emergency ;;
    ;;---------------------------;;

;; This binding came as part of the distribution.

;; This works in all contexts

;; in case of emergency, hit Control-Meta-Shift-Q
(bind-key 'all "C-M-S-q" quit)

;;;; Normally, you quit your X Windows session by closing applications
;;;; and then pressing Meta-Ctrl-Backspace (you may use your Alt key for Meta)
;;;; or by using the  mouse to `Quit scwm".

    ;;;; end key bindings for emergency ;;;;



    ;;--------------------------------------;;
    ;; Preferences from scwm-options-dialog ;;
    ;;--------------------------------------;;

(load-preferences)


    ;;----------------------------------;;
    ;; init-function: last item in file ;;
    ;;----------------------------------;;


;; this function appears to me to server as a hook; it was defined
;; earlier in this file

(init-function)

;; (make-message-window "Starting SCWM ... done ")

;;;;;;;;;;;;;;;; end of ~/spare-blue.scwmrc  file ;;;;;;;;;;;;;;;;


4. libraries used:

   # ldd `which scwm`
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40009000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40013000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40029000)
        libXtst.so.6 => /usr/X11R6/lib/libXtst.so.6 (0x40035000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4003a000)
        libXpm.so.4 => /usr/lib/libXpm.so.4 (0x4004c000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40059000)
        libguile.so.5 => /usr/local/lib/libguile.so.5 (0x400f9000)
        libdl.so.2 => /lib/libdl.so.2 (0x4016a000)
        libm.so.6 => /lib/libm.so.6 (0x4016d000)
        libImlib.so.1 => /usr/lib/libImlib.so.1 (0x4018a000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x401c4000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x401e4000)
        libungif.so.3 => /usr/lib/libungif.so.3 (0x4021b000)
        libpng.so.2 => /usr/lib/libpng.so.2 (0x40223000)
        libz.so.1 => /usr/lib/libz.so.1 (0x4024f000)
        libc.so.6 => /lib/libc.so.6 (0x4025d000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40338000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)

   # guile --version
  Guile 1.3.5
  Copyright (c) 1995, 1996, 1997 Free Software Foundation
  Guile may be distributed under the terms of the GNU General Public Licence;
  certain other uses are permitted as well.  For details, see the file
  `COPYING', which is included in the Guile distribution.
  There is no warranty, to the extent permitted by law.

   # /usr/local/bin/scwm --version
  Scwm Version 0.99.3post compiled on Sep 27 1999 at 10:49:41
  RCS_ID=$Id: scwm.c,v 1.219 1999/09/25 19:32:45 gjb Exp $
  Repository Timestamp: Sun Sep 26 17:07:01 EDT 1999 -- $Revision: 1.33 $







From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 15:30:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA18185
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 15:30:02 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA18181
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 15:29:59 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id MAA25315; Mon, 27 Sep 1999 12:29:54 -0700 (PDT)
To: bob@rattlesnake.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 mostly successful
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> <m11VfZS-0001bmC@localhost> <qrremfkw5gw.fsf@elwha.cs.washington.edu> <m11VgQ6-0001bmC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 12:29:53 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Mon, 27 Sep 1999 15:26:42 -0400 (EDT)"
Message-ID: <qrraeq8w3ta.fsf@elwha.cs.washington.edu>
Lines: 41
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Robert J. Chassell" <bob@rattlesnake.com> writes:

>    > open("/home/scwm/system.scwmrc-99sep27", O_RDONLY) = 4
> 
>    How the heck is this file getting read?  This file, if it is the
>    system.scwmrc from today, definitely does have H- bindings in it, though 
>    it doesn't reference mini.lambda.xpm, not does it use the depracated
>    button names.
> 
> Yes, 
> 
>     system.scwmrc-99sep27
> 
> is today's system.scwmrc file.
> 
> However, I get the H- bindings, mini.lambda.xpm, and Context name
> `button-1' errors when loading my .scwmrc, which is spare-blue.scwmrc
> and does not refer to H- bindings, mini.lambda.xpm, or Context name
> `button-1'.
> 
> I am puzzled.

Me too!

> 
> For completeness, here are three files generated by user `scwm'
> starting with 
> 
>     exec strace -etrace=open startscwm --segv-just-stop

If you're going to run strace on startscwm, I need the -f option, too
(or run strace on scwm directly).  Try

exec strace -f -etrace=open startscwm --segv-just-stop

<snip other useful information that I'll look at more when I have the
above, too>

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 15:54:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA18424
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 15:54:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA18420
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 15:54:08 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11VgqW-0001bmC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Mon, 27 Sep 1999 15:54:00 -0400 (EDT) 
Message-Id: <m11VgqW-0001bmC@localhost>
Date: Mon, 27 Sep 1999 15:54:00 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: scwm-discuss@SCWM.MIT.EDU
CC: gjb@cs.washington.edu, bob@rattlesnake.com
In-reply-to: <qrrd7v4w58e.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 27 Sep 1999 11:59:13 -0700)
Subject: Re: Scwm-0.99.3 mostly successful
Reply-to: bob@rattlesnake.com
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> <m11VfoB-0001bmC@localhost> <qrrd7v4w58e.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

   Can you investigate why Scwm is not looking in /usr/share/guile/ for
   modules?  Do you have SCWM_LOAD_PATH set?  Perhaps that path is missing
   from SCWM_LOAD_PATH?

No, SCWM_LOAD_PATH is not set.  What should I set it to?  (Shouldn't
the path be set automatically by scwm when it builds?)


   Maybe use -f <filename> to be sure that the .scwmrc being loaded is the
   one you expect ...

Done and is what I expect.


Ha!  Found the source of the H- bindings!

They are in 

    /usr/local/share/scwm/modules/app/scwm/undo.scm

which I load in `spare-blue.scwmrc'.  The end of that file has:

    (bind-key 'all "H-slash" undo)
    (bind-key 'all "H-M-slash" redo)
    (bind-key 'all "H-s" insert-undo-global)


Also, I found source of mini.lambda.xpm: it is in the
`/home/scwm/.scwm/scwm_menus' file that gets loaded optionally by
`spare-blue.scwmrc'; I had turned on the option.  So the
`mini.lambda.xpm' is just a mistake on my part.  Sorry about that.


However, I cannot track down the source of the "`button-1' has been
deprecated" messages.  The only mention of button-1 that I see in the
.scm files is in

    /usr/local/share/scwm/modules/app/scwm/fvwm-eval.scm

but I commented those mentions out.



Here are the X messages:

open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/usr/X11R6/lib/libSM.so.6", O_RDONLY) = 3
open("/usr/X11R6/lib/libICE.so.6", O_RDONLY) = 3
open("/usr/X11R6/lib/libXext.so.6", O_RDONLY) = 3
open("/usr/X11R6/lib/libXtst.so.6", O_RDONLY) = 3
open("/usr/X11R6/lib/libXmu.so.6", O_RDONLY) = 3
open("/usr/lib/libXpm.so.4", O_RDONLY)  = 3
open("/usr/X11R6/lib/libX11.so.6", O_RDONLY) = 3
open("/usr/local/lib/libguile.so.5", O_RDONLY) = 3
open("/lib/libdl.so.2", O_RDONLY)       = 3
open("/lib/libm.so.6", O_RDONLY)        = 3
open("/usr/lib/libImlib.so.1", O_RDONLY) = 3
open("/usr/lib/libjpeg.so.62", O_RDONLY) = 3
open("/usr/lib/libtiff.so.3", O_RDONLY) = 3
open("/usr/lib/libungif.so.3", O_RDONLY) = 3
open("/usr/lib/libpng.so.2", O_RDONLY)  = 3
open("/usr/lib/libz.so.1", O_RDONLY)    = 3
open("/lib/libc.so.6", O_RDONLY)        = 3
open("/usr/X11R6/lib/libXt.so.6", O_RDONLY) = 3
open("/usr/local/share/guile/1.3.2/ice-9/boot-9.scm", O_RDONLY) = 3
open("/usr/local/share/guile/1.3.2/ice-9/r4rs.scm", O_RDONLY) = 4
open("/usr/local/share/guile/1.3.2/ice-9/debug.scm", O_RDONLY) = 4
open("/usr/local/share/guile/1.3.2/ice-9/session.scm", O_RDONLY) = 4
open("/usr/local/share/guile/1.3.2/ice-9/regex.scm", O_RDONLY) = 4
open("/usr/local/share/guile/1.3.2/ice-9/version.scm", O_RDONLY) = 4
open("/home/scwm/.Xauthority", O_RDONLY) = 4
[Scwm][init_modifiers]:  No scrollock_mask was found.
open("/usr/lib/X11/app-defaults/Scwm", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/scwm/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/scwm/.Xdefaults-megalith", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/scwm/.imrc", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/etc/imlib/imrc", O_RDONLY)       = 4
open("/home/scwm/.scwmrc", O_RDONLY)    = 4
open("/usr/local/share/scwm/modules/app/scwm/message-window.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/base.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/optargs.scm", O_RDONLY) = 7
open("/usr/local/share/scwm/modules/app/scwm/defoption.scm", O_RDONLY) = 7
open("/usr/local/share/guile/1.3.2/ice-9/common-list.scm", O_RDONLY) = 8
open("/usr/local/share/scwm/modules/app/scwm/time-convert.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/winops.scm", O_RDONLY) = 5
open("/usr/local/lib/scwm/modules/app/scwm/libc-animation.la", O_RDONLY) = 6
open("/usr/local/lib/scwm/modules/app/scwm/libc-animation.so.0", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/style-options.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/sort.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/winlist.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/wininfo.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/listops.scm", O_RDONLY) = 7
open("/usr/local/share/scwm/modules/app/scwm/menus-extras.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/flash-window.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/window-selection.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/hooks.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/group.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/path-cache.scm", O_RDONLY) = 6
open("/usr/local/share/guile/1.3.2/ice-9/string-fun.scm", O_RDONLY) = 7
open("/usr/local/share/guile/1.3.2/ice-9/popen.scm", O_RDONLY) = 7
open("/usr/local/share/scwm/modules/app/scwm/nonants.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/highlight-current-window.scm", O_RDONLY) = 7
open("/usr/local/share/scwm/modules/app/scwm/modifier-key-bindings.scm", O_RDONLY) = 8
open("/usr/local/share/scwm/pixmaps/anchor.xpm", O_RDONLY) = 7
open("/usr/local/share/scwm/modules/app/scwm/virtual.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/undo.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/window-configuration.scm", O_RDONLY) = 6
[Scwm][bind-key]: <<WARNING>> Unbound modifier H-
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-slash'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-M-slash'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-s'
open("/usr/local/share/scwm/modules/app/scwm/tile.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/animation.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/themes.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/style.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/file.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/theme-impl.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/stylist.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/gtk.scm", O_RDONLY) = 6
open("/usr/local/lib/scwm/modules/app/scwm/libscwmgtkhelper.la", O_RDONLY) = 7
open("/usr/local/lib/scwm/modules/app/scwm/libscwmgtkhelper.so.0", O_RDONLY) = 7
open("/etc/ld.so.cache", O_RDONLY)      = 7
open("/usr/lib/libgtk-1.2.so.0", O_RDONLY) = 7
open("/usr/lib/libgdk-1.2.so.0", O_RDONLY) = 7
open("/usr/lib/libgmodule-1.2.so.0", O_RDONLY) = 7
open("/usr/lib/libglib-1.2.so.0", O_RDONLY) = 7
open("/usr/X11R6/lib/libXi.so.6", O_RDONLY) = 7

;;; WARNING (no code for module gtk)

;;; WARNING (no code for module gdk)
ERROR: In procedure scm_fport_buffer_add:
ERROR: Bad file descriptor
open("/usr/local/share/scwm/modules/app/scwm/stringops.scm", O_RDONLY) = 7
open("/usr/local/share/scwm/modules/app/scwm/std-menus.scm", O_RDONLY) = 7
open("/usr/local/share/scwm/modules/app/scwm/flux.scm", O_RDONLY) = 8
open("/usr/local/share/scwm/modules/app/scwm/animated-iconify.scm", O_RDONLY) = 9
open("/usr/local/lib/scwm/modules/app/scwm/libxlib-drawing.la", O_RDONLY) = 10
open("/usr/local/lib/scwm/modules/app/scwm/libxlib-drawing.so.0", O_RDONLY) = 10
open("/usr/local/share/scwm/modules/app/scwm/animated-edge-moves.scm", O_RDONLY) = 5
open("/usr/local/lib/scwm/modules/app/scwm/libscwmxtest.la", O_RDONLY) = 5
open("/usr/local/lib/scwm/modules/app/scwm/libscwmxtest.so.0", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/reflection.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/xprop-extras.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/anchor-cursor.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/win-pos-center.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/win-pos-n.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/win-pos-e.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/win-pos-s.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/win-pos-w.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/win-pos-ne.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/win-pos-se.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/win-pos-sw.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/win-pos-nw.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/send-string.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/quote.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/property-respond.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/primopts.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/preferences.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/prompt-bool.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/prompting-shell.scm", O_RDONLY) = 7
open("/usr/local/share/scwm/modules/app/scwm/prompt-string.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/prompt-range.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/prompt-enum.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/prompt-font.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/prompt-file.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/prompt-color.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/prompt-proc.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/placement.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/window-locations.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/key-mover.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/gnome-hints.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/fvwm-module.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/module-types.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/bincomm.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/fvwm-eval.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/fvwm-compat.scm", O_RDONLY) = 7
open("/usr/local/share/scwm/modules/app/scwm/decor.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/flux-gtk.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/face.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/doc.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/dir-focus.scm", O_RDONLY) = 5
open("/usr/local/lib/scwm/modules/app/scwm/libbackground.la", O_RDONLY) = 5
open("/usr/local/lib/scwm/modules/app/scwm/libbackground.so.0", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/auto-raise.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/advice.scm", O_RDONLY) = 5
--- SIGCHLD (Child exited) ---
--- SIGCHLD (Child exited) ---
--- SIGCHLD (Child exited) ---
--- SIGCHLD (Child exited) ---
--- SIGCHLD (Child exited) ---
--- SIGCHLD (Child exited) ---
--- SIGCHLD (Child exited) ---
--- SIGCHLD (Child exited) ---
--- SIGCHLD (Child exited) ---
--- SIGCHLD (Child exited) ---
--- SIGCHLD (Child exited) ---
--- SIGCHLD (Child exited) ---
--- SIGCHLD (Child exited) ---
open("/usr/local/share/scwm/pixmaps/mini-ray.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-bomb.xpm", O_RDONLY) = 5
open("/usr/X11R6/include/X11/pixmaps/mini.bomb.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-book2.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-calc.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-cdlabel.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-clock.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-cross.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-connect.xpm", O_RDONLY) = 5
open("/usr/X11R6/include/X11/pixmaps/Debian-transparent.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-exclam.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-bug2.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-edit.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-eyes.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-paint.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-filemgr.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-happy.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-gv.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-wilbur.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-hammer.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-lock.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-lower.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-manual.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-max1.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-nscape.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-pdf.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-question.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-raise.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-resize.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-run.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-term.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-stop.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-sh1.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-turn.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-windows.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-x2.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-xv.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-x.xpm", O_RDONLY) = 5
open("/usr/local/share/scwm/pixmaps/mini-bug1.xpm", O_RDONLY) = 5
open("/home/scwm/.scwm/scwm_menus", O_RDONLY) = 6
open("/usr/share/emacs/19.34/etc/emacs.xbm", O_RDONLY) = 7
--- SIGCHLD (Child exited) ---
open("/usr/share/emacs/20.3/etc/emacs.xbm", O_RDONLY) = 7
--- SIGCHLD (Child exited) ---
open("/usr/X11R6/include/X11/pixmaps/vim.xpm", O_RDONLY) = 7
open("/usr/lib/zed/zedico.xpm", O_RDONLY) = 7
open("/usr/X11R6/include/X11/pixmaps/mini-gzilla.xpm", O_RDONLY) = 7
[Scwm][make-image]: <<WARNING>> Image file was not found: `mini.lambda.xpm'
open("/usr/X11R6/include/X11/pixmaps/mini.ghostview.xpm", O_RDONLY) = 7
open("/usr/local/share/scwm/pixmaps/mini-penguin.xpm", O_RDONLY) = 6
open("/usr/X11R6/include/X11/pixmaps/mini.xterm.xpm", O_RDONLY) = 6
open("/usr/X11R6/include/X11/pixmaps/mini.emacs.xpm", O_RDONLY) = 6
open("/usr/X11R6/include/X11/pixmaps/mini.rainbow.xpm", O_RDONLY) = 6
open("/usr/X11R6/lib/tkdesk/images/ficons16/desk.xpm", O_RDONLY) = 6
open("/usr/local/share/scwm/pixmaps/mini-start.xpm", O_RDONLY) = 6
open("/usr/local/share/scwm/pixmaps/mini-prefs.xpm", O_RDONLY) = 6
[Scwm][lookup_context]: <<ERROR>> Context name `button-1' has been deprecated; please use new name `left-button-1'
[Scwm][lookup_context]: <<ERROR>> Context name `button-3' has been deprecated; please use new name `left-button-2'
[Scwm][lookup_context]: <<ERROR>> Context name `button-2' has been deprecated; please use new name `right-button-1'
open("/usr/X11R6/lib/X11/XErrorDB", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/locale.alias", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/C/XLC_LOCALE", O_RDONLY) = 4
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  6 (X_ChangeSaveSet)
  Serial number of failed request:  1607
  Current serial number in output stream:  1608
[Scwm][init_modifiers]:  No scrollock_mask was found.
[Scwm][init_modifiers]:  No scrollock_mask was found.
[Scwm][init_modifiers]:  No scrollock_mask was found.
[Scwm][init_modifiers]:  No scrollock_mask was found.
[Scwm][init_modifiers]:  No scrollock_mask was found.
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  6 (X_ChangeSaveSet)
  Serial number of failed request:  7941
  Current serial number in output stream:  7944

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 15:55:28 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA18433
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 15:55:28 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from motgate.mot.com (motgate.mot.com [129.188.136.100])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA18430
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 15:55:24 -0400
Received: [from pobox2.mot.com (pobox2.mot.com [136.182.15.8]) by motgate.mot.com (MOT-motgate 1.0) with ESMTP id OAA05682 for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 14:55:23 -0500 (CDT)]
Received: [from msgphx5.sps.mot.com (msgphx5.sps.mot.com [216.11.52.5]) by pobox2.mot.com (MOT-pobox2 2.0) with ESMTP id OAA02409 for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 14:55:22 -0500 (CDT)]
Received: from motorola.com ([223.201.55.60]) by msgphx5.sps.mot.com          (Netscape Messaging Server 3.61)  with ESMTP id AAA74AB;          Mon, 27 Sep 1999 12:55:22 -0700
Message-ID: <37EFCCBA.C6BA86F4@motorola.com>
Date: Mon, 27 Sep 1999 12:59:54 -0700
From: Mark Naumann <mark.naumann@motorola.com>
Organization: Motorola, SemiCustom Solutions
X-Mailer: Mozilla 4.03 [en] (X11; I; SunOS 5.5.1 sun4u)
MIME-Version: 1.0
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 success reports?
References: <qrr4sggxsp3.fsf@elwha.cs.washington.edu> <199909271821.OAA18731@soup.ads.apexinc.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Motorola-Sent-Wireless: 1
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

E. Jay Berkenbilt wrote:
> 
>    Please let me know if you've had success w/ 0.99.3 w/ RPMs or
>    otherwise.  As general practice, now, I'm planning on making the release
>    here and then announcing it elsewhere after a few success reports
>    trickle in.  (For 0.99.4, though, I'll be making at least one
>    pre-release since I changed the directory structure a bit.)
> 
> I just tried to build from the src rpms.  scwm blows out because
> guile/gh.h does not exist.  /usr/include/guile is empty.  I have
> installed guile and guile-devel (1.3.4).  I don't have time to look
> into it now, but I'll look into it probably this evening and let you
> know whether it ends up being my goofup, a packaging problem, or
> something else.  I just wanted to get this message out now in case you
> were about to announce these somewhere....

I'm new to scwm... after much trouble, I was able to *build* scwm-0.99.2 
on sparc-sun-solaris2.5.1, but I get a core dump when trying to run the 
scwm executable.  The gdb backtrace on the core file did not show any 
symbol information. I was hoping that scwm could be built without a lot
of other packages.

In addition to standard solaris utilities, my environment includes the 
following packages: 
  perl5.005_03
  stow-1.3.2
  bash-2.02
  bison-1.25
  cvs-1.10
  dlc-2.3
  diffutils-2.7
  enscript-1.6.1
  fileutils-3.16
  findutils-4.1
  flex-2.5.4
  gawk-3.0.3
  grep-2.2
  groff-1.11
  guile-1.3
  gzip-1.2.4
  less-332
  m4-1.4
  make-3.77
  mtools-3.8
  rcs-5.7
  swig1.1p5
  tar-1.12
  texinfo-3.12
  transcend-3.0
  xscreensaver-2.24
  tcl8.0.3
  tk8.0.3
  itcl3.0.1
  xemacs-21.1
  gcc-2.95
  gdb-4.18
  libtool-1.3
  autoconf-2.13
  automake-1.4
  xxgdb-1.12
  ddd-3.1.6
  bzip2-0.9.5c
  python-1.5.2
  gnuplot-3.7
  ts990831

My problem may be that I did not use guile-1.3 plus the patch, or that I
built xpm incorrectly (because it does not have a ./configure).  I 
did build the versions of software packages that were on the scwm ftp site:
glib-1.2.4, gtk+-1.2.4, guile-1.3.2, guile-gtk-26Aug99, readline-4.0 (from
prep.ai.mit.edu), scwm-0.99.2, xpm-3.4k (from the site mentioned in the 
scwm INSTALL file).  Was this correct?

scwm seems to require gtk, gtk requires glib, scwm requires readline, etc.
It would be nice for scwm build to complete with minimal other packages,
(or at least only ones with a ./configure).

I was unable to build scwm-0.99.3 out of the box.  It had compile-time 
errors.

The idea of scwm is great.  Thanks for putting so much effort into it.
I'm anxious to see it run.

Mark

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 16:01:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA18566
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 16:01:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA18562
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 16:01:49 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA25387; Mon, 27 Sep 1999 13:01:42 -0700 (PDT)
To: bob@rattlesnake.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 mostly successful
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> <m11VfoB-0001bmC@localhost> <qrrd7v4w58e.fsf@elwha.cs.washington.edu> <m11VgqW-0001bmC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 13:01:42 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Mon, 27 Sep 1999 15:54:00 -0400 (EDT)"
Message-ID: <qrr905sw2c9.fsf@elwha.cs.washington.edu>
Lines: 103
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Robert J. Chassell" <bob@rattlesnake.com> writes:

>    Can you investigate why Scwm is not looking in /usr/share/guile/ for
>    modules?  Do you have SCWM_LOAD_PATH set?  Perhaps that path is missing
>    from SCWM_LOAD_PATH?
> 
> No, SCWM_LOAD_PATH is not set.  What should I set it to?  (Shouldn't
> the path be set automatically by scwm when it builds?)

It is, but it looks like you're installing in a different directory than 
you installed guile-gtk into;  there's no configure-time option to
support this now.  The symlinks are a fine workaround, too, but seetting 
SCWM_LOAD_PATH will work as well.

>    Maybe use -f <filename> to be sure that the .scwmrc being loaded is the
>    one you expect ...
> 
> Done and is what I expect.
> 
> 
> Ha!  Found the source of the H- bindings!
> 
> They are in 
> 
>     /usr/local/share/scwm/modules/app/scwm/undo.scm
> 
> which I load in `spare-blue.scwmrc'.  The end of that file has:
> 
>     (bind-key 'all "H-slash" undo)
>     (bind-key 'all "H-M-slash" redo)
>     (bind-key 'all "H-s" insert-undo-global)

Yep, good catch... will moving bindings into system.scwmrc.  Thanks!
(Once the re-binding interface is done they will be in .scwmrc-bindings
or something like that)

> Also, I found source of mini.lambda.xpm: it is in the
> `/home/scwm/.scwm/scwm_menus' file that gets loaded optionally by
> `spare-blue.scwmrc'; I had turned on the option.  So the
> `mini.lambda.xpm' is just a mistake on my part.  Sorry about that.

Good, glad I wasn't wrong on both counts! :-)

> However, I cannot track down the source of the "`button-1' has been
> deprecated" messages.  The only mention of button-1 that I see in the
> .scm files is in
> 
>     /usr/local/share/scwm/modules/app/scwm/fvwm-eval.scm
> 
> but I commented those mentions out.

Those mentions are correct, though.

They appear to be in the scwm_menus file, also:

<snip>

> open("/usr/local/share/scwm/pixmaps/mini-xv.xpm", O_RDONLY) = 5
> open("/usr/local/share/scwm/pixmaps/mini-x.xpm", O_RDONLY) = 5
> open("/usr/local/share/scwm/pixmaps/mini-bug1.xpm", O_RDONLY) = 5
> open("/home/scwm/.scwm/scwm_menus", O_RDONLY) = 6

here scwm_menus is opened...

> open("/usr/share/emacs/19.34/etc/emacs.xbm", O_RDONLY) = 7
> --- SIGCHLD (Child exited) ---
> open("/usr/share/emacs/20.3/etc/emacs.xbm", O_RDONLY) = 7
> --- SIGCHLD (Child exited) ---
> open("/usr/X11R6/include/X11/pixmaps/vim.xpm", O_RDONLY) = 7
> open("/usr/lib/zed/zedico.xpm", O_RDONLY) = 7
> open("/usr/X11R6/include/X11/pixmaps/mini-gzilla.xpm", O_RDONLY) = 7
> [Scwm][make-image]: <<WARNING>> Image file was not found: `mini.lambda.xpm'
> open("/usr/X11R6/include/X11/pixmaps/mini.ghostview.xpm", O_RDONLY) = 7
> open("/usr/local/share/scwm/pixmaps/mini-penguin.xpm", O_RDONLY) = 6
> open("/usr/X11R6/include/X11/pixmaps/mini.xterm.xpm", O_RDONLY) = 6
> open("/usr/X11R6/include/X11/pixmaps/mini.emacs.xpm", O_RDONLY) = 6
> open("/usr/X11R6/include/X11/pixmaps/mini.rainbow.xpm", O_RDONLY) = 6
> open("/usr/X11R6/lib/tkdesk/images/ficons16/desk.xpm", O_RDONLY) = 6
> open("/usr/local/share/scwm/pixmaps/mini-start.xpm", O_RDONLY) = 6
> open("/usr/local/share/scwm/pixmaps/mini-prefs.xpm", O_RDONLY) = 6

all pixmaps above, so we're probably still in scwm_menus.

> [Scwm][lookup_context]: <<ERROR>> Context name `button-1' has been deprecated; please use new name `left-button-1'
> [Scwm][lookup_context]: <<ERROR>> Context name `button-3' has been deprecated; please use new name `left-button-2'
> [Scwm][lookup_context]: <<ERROR>> Context name `button-2' has been deprecated; please use new name `right-button-1'

And here are the warnings.

Can you mail the scwm_menus file (or just grep it yourself).

I'll see about getting file/line number information in scwm warnings...

> X Error of failed request:  BadMatch (invalid parameter attributes)
>   Major opcode of failed request:  6 (X_ChangeSaveSet)
>   Serial number of failed request:  1607
>   Current serial number in output stream:  1608

This is troublesome, too (I see it sometimes as well), but I've not had
time to track it down yet.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 16:23:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA18759
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 16:23:13 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA18750
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 16:23:05 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11VhIZ-0001bmC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Mon, 27 Sep 1999 16:22:59 -0400 (EDT) 
Message-Id: <m11VhIZ-0001bmC@localhost>
Date: Mon, 27 Sep 1999 16:22:59 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: scwm-discuss@SCWM.MIT.EDU
CC: gjb@cs.washington.edu, bob@rattlesnake.com
In-reply-to: <qrr905sw2c9.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 27 Sep 1999 13:01:42 -0700)
Subject: Re: Scwm-0.99.3 mostly successful
Reply-to: bob@rattlesnake.com
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> <m11VfoB-0001bmC@localhost> <qrrd7v4w58e.fsf@elwha.cs.washington.edu> <m11VgqW-0001bmC@localhost> <qrr905sw2c9.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

   ... it looks like you're installing in a different directory than 
   you installed guile-gtk into;  there's no configure-time option to
   support this now.  The symlinks are a fine workaround, too, but seetting 
   SCWM_LOAD_PATH will work as well.

OK, but please tell me what should I set SCWM_LOAD_PATH to?  It is not
clear to me.

The discussion in the HACKING and INSTALL files talks about what to do
if you are not running `make install', but I am.  Also, the INSTALL
file mentions a `make make-devtest' command in scwm/modules/, but I
see a " Nothing to be done for `make-devtest'." remark when I do that;
and there is no modules/lib directory.

What should be in the load path besides

    /usr/local/share/scwm/modules/app/scwm/ 

?



   > However, I cannot track down the source of the "`button-1' ...

   They appear to be in the scwm_menus file ...

No, I grep'd several times; not there.  I even grep'd the pixmap
files, just to be sure.  Not there either, not that I expected them to
be.



-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 16:51:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA19026
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 16:51:36 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA19023
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 16:51:31 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA25425; Mon, 27 Sep 1999 13:50:46 -0700 (PDT)
To: bob@rattlesnake.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 mostly successful
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> <m11VfoB-0001bmC@localhost> <qrrd7v4w58e.fsf@elwha.cs.washington.edu> <m11VgqW-0001bmC@localhost> <qrr905sw2c9.fsf@elwha.cs.washington.edu> <m11VhIZ-0001bmC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 13:50:46 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Mon, 27 Sep 1999 16:22:59 -0400 (EDT)"
Message-ID: <qrr7llcw02h.fsf@elwha.cs.washington.edu>
Lines: 149
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Robert J. Chassell" <bob@rattlesnake.com> writes:

>    ... it looks like you're installing in a different directory than 
>    you installed guile-gtk into;  there's no configure-time option to
>    support this now.  The symlinks are a fine workaround, too, but seetting 
>    SCWM_LOAD_PATH will work as well.
> 
> OK, but please tell me what should I set SCWM_LOAD_PATH to?  It is not
> clear to me.

It should be set to a list of base directories from which the module
name components lead to either a foo.scm or a foo.so;  e.g., you would use:

/home/gjb/scwm/modules/lib:/usr/contrib/share/guile


if you have files like:

/home/gjb/scwm/modules/lib/app/scwm/libscwmcorba.so

(because, e.g., the module name is (app scwm scwmcorba) )

and 

/usr/contrib/share/guile/gtk/gtk.scm

(because e.g., the module name is (gtk gtk) ).


> The discussion in the HACKING and INSTALL files talks about what to do
> if you are not running `make install', but I am.  Also, the INSTALL
> file mentions a `make make-devtest' command in scwm/modules/, but I
> see a " Nothing to be done for `make-devtest'." remark when I do that;
> and there is no modules/lib directory.

Actually, it says:

"There is a script, modules/make-devtest, that creates a subdirectory
modules/lib/"

It is *not* a make target.

> What should be in the load path besides
> 
>     /usr/local/share/scwm/modules/app/scwm/ 

The load path for that should be 

/usr/local/share/scwm/modules

(leave off the app/scwm)

>    > However, I cannot track down the source of the "`button-1' ...
> 
>    They appear to be in the scwm_menus file ...
> 
> No, I grep'd several times; not there.  I even grep'd the pixmap
> files, just to be sure.  Not there either, not that I expected them to
> be.

Try the below, and see what you get

Thanks,
Greg


P.S. Got this by doing:

 perl -ne 'if (/^open\("(.*?)\"/) { print "$1 \\\n" }' foo | grep  \\.scm 

on your strace output

grep "button-" /usr/local/share/guile/1.3.2/ice-9/boot-9.scm \
/usr/local/share/guile/1.3.2/ice-9/r4rs.scm \
/usr/local/share/guile/1.3.2/ice-9/debug.scm \
/usr/local/share/guile/1.3.2/ice-9/session.scm \
/usr/local/share/guile/1.3.2/ice-9/regex.scm \
/usr/local/share/guile/1.3.2/ice-9/version.scm \
/usr/local/share/scwm/modules/app/scwm/message-window.scm \
/usr/local/share/scwm/modules/app/scwm/base.scm \
/usr/local/share/scwm/modules/app/scwm/optargs.scm \
/usr/local/share/scwm/modules/app/scwm/defoption.scm \
/usr/local/share/guile/1.3.2/ice-9/common-list.scm \
/usr/local/share/scwm/modules/app/scwm/time-convert.scm \
/usr/local/share/scwm/modules/app/scwm/winops.scm \
/usr/local/share/scwm/modules/app/scwm/style-options.scm \
/usr/local/share/scwm/modules/app/scwm/sort.scm \
/usr/local/share/scwm/modules/app/scwm/winlist.scm \
/usr/local/share/scwm/modules/app/scwm/wininfo.scm \
/usr/local/share/scwm/modules/app/scwm/listops.scm \
/usr/local/share/scwm/modules/app/scwm/menus-extras.scm \
/usr/local/share/scwm/modules/app/scwm/flash-window.scm \
/usr/local/share/scwm/modules/app/scwm/window-selection.scm \
/usr/local/share/scwm/modules/app/scwm/hooks.scm \
/usr/local/share/scwm/modules/app/scwm/group.scm \
/usr/local/share/scwm/modules/app/scwm/path-cache.scm \
/usr/local/share/guile/1.3.2/ice-9/string-fun.scm \
/usr/local/share/guile/1.3.2/ice-9/popen.scm \
/usr/local/share/scwm/modules/app/scwm/nonants.scm \
/usr/local/share/scwm/modules/app/scwm/highlight-current-window.scm \
/usr/local/share/scwm/modules/app/scwm/modifier-key-bindings.scm \
/usr/local/share/scwm/modules/app/scwm/virtual.scm \
/usr/local/share/scwm/modules/app/scwm/undo.scm \
/usr/local/share/scwm/modules/app/scwm/window-configuration.scm \
/usr/local/share/scwm/modules/app/scwm/tile.scm \
/usr/local/share/scwm/modules/app/scwm/animation.scm \
/usr/local/share/scwm/modules/app/scwm/themes.scm \
/usr/local/share/scwm/modules/app/scwm/style.scm \
/usr/local/share/scwm/modules/app/scwm/file.scm \
/usr/local/share/scwm/modules/app/scwm/theme-impl.scm \
/usr/local/share/scwm/modules/app/scwm/stylist.scm \
/usr/local/share/scwm/modules/app/scwm/gtk.scm \
/usr/local/share/scwm/modules/app/scwm/stringops.scm \
/usr/local/share/scwm/modules/app/scwm/std-menus.scm \
/usr/local/share/scwm/modules/app/scwm/flux.scm \
/usr/local/share/scwm/modules/app/scwm/animated-iconify.scm \
/usr/local/share/scwm/modules/app/scwm/animated-edge-moves.scm \
/usr/local/share/scwm/modules/app/scwm/reflection.scm \
/usr/local/share/scwm/modules/app/scwm/xprop-extras.scm \
/usr/local/share/scwm/modules/app/scwm/send-string.scm \
/usr/local/share/scwm/modules/app/scwm/quote.scm \
/usr/local/share/scwm/modules/app/scwm/property-respond.scm \
/usr/local/share/scwm/modules/app/scwm/primopts.scm \
/usr/local/share/scwm/modules/app/scwm/preferences.scm \
/usr/local/share/scwm/modules/app/scwm/prompt-bool.scm \
/usr/local/share/scwm/modules/app/scwm/prompting-shell.scm \
/usr/local/share/scwm/modules/app/scwm/prompt-string.scm \
/usr/local/share/scwm/modules/app/scwm/prompt-range.scm \
/usr/local/share/scwm/modules/app/scwm/prompt-enum.scm \
/usr/local/share/scwm/modules/app/scwm/prompt-font.scm \
/usr/local/share/scwm/modules/app/scwm/prompt-file.scm \
/usr/local/share/scwm/modules/app/scwm/prompt-color.scm \
/usr/local/share/scwm/modules/app/scwm/prompt-proc.scm \
/usr/local/share/scwm/modules/app/scwm/placement.scm \
/usr/local/share/scwm/modules/app/scwm/window-locations.scm \
/usr/local/share/scwm/modules/app/scwm/key-mover.scm \
/usr/local/share/scwm/modules/app/scwm/gnome-hints.scm \
/usr/local/share/scwm/modules/app/scwm/fvwm-module.scm \
/usr/local/share/scwm/modules/app/scwm/module-types.scm \
/usr/local/share/scwm/modules/app/scwm/bincomm.scm \
/usr/local/share/scwm/modules/app/scwm/fvwm-eval.scm \
/usr/local/share/scwm/modules/app/scwm/fvwm-compat.scm \
/usr/local/share/scwm/modules/app/scwm/decor.scm \
/usr/local/share/scwm/modules/app/scwm/flux-gtk.scm \
/usr/local/share/scwm/modules/app/scwm/face.scm \
/usr/local/share/scwm/modules/app/scwm/doc.scm \
/usr/local/share/scwm/modules/app/scwm/dir-focus.scm \
/usr/local/share/scwm/modules/app/scwm/auto-raise.scm \
/usr/local/share/scwm/modules/app/scwm/advice.scm

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 16:56:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA19104
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 16:56:44 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA19101
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 16:56:41 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA25431; Mon, 27 Sep 1999 13:56:33 -0700 (PDT)
To: Mark Naumann <mark.naumann@motorola.com>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 success reports?
References: <qrr4sggxsp3.fsf@elwha.cs.washington.edu> <199909271821.OAA18731@soup.ads.apexinc.com> <37EFCCBA.C6BA86F4@motorola.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 13:56:33 -0700
In-Reply-To: Mark Naumann's message of "Mon, 27 Sep 1999 12:59:54 -0700"
Message-ID: <qrr4sggvzsu.fsf@elwha.cs.washington.edu>
Lines: 47
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mark Naumann <mark.naumann@motorola.com> writes:

<snip>

> I'm new to scwm... after much trouble, I was able to *build* scwm-0.99.2 
> on sparc-sun-solaris2.5.1, but I get a core dump when trying to run the 
> scwm executable.  The gdb backtrace on the core file did not show any 
> symbol information. I was hoping that scwm could be built without a lot
> of other packages.

Perhaps you could try the build again being sure that debugging symbols
are included... I'm surprised this didn't happen by default.

> In addition to standard solaris utilities, my environment includes the 

<snip>

> My problem may be that I did not use guile-1.3 plus the patch, or that I
> built xpm incorrectly (because it does not have a ./configure).  I 
> did build the versions of software packages that were on the scwm ftp site:
> glib-1.2.4, gtk+-1.2.4, guile-1.3.2, guile-gtk-26Aug99, readline-4.0 (from
> prep.ai.mit.edu), scwm-0.99.2, xpm-3.4k (from the site mentioned in the 
> scwm INSTALL file).  Was this correct?

guile-1.3.2 should be find, but there is guile-1.3.4 now, and it's better.

> scwm seems to require gtk, gtk requires glib, scwm requires readline, etc.
> It would be nice for scwm build to complete with minimal other packages,
> (or at least only ones with a ./configure).

Scwm shouldn't required readline, though guile can (but doesn't have to) 
use it.  Scwm also doesn't *require* gtk right now, though the
system.scwmrc is less functional without it.  Ideally, I'd like Scwm to
build w/o gtk, but don't spend much time testing it myself.

> I was unable to build scwm-0.99.3 out of the box.  It had compile-time 
> errors.

I'd love to see the compile-time errors, of course.  Care to share?

> The idea of scwm is great.  Thanks for putting so much effort into it.
> I'm anxious to see it run.

I'm anxious for you to see it run, too! :-)

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 17:11:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA19253
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 17:11:00 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA19250
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 17:10:55 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11Vi2q-0001bmC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Mon, 27 Sep 1999 17:10:48 -0400 (EDT) 
Message-Id: <m11Vi2q-0001bmC@localhost>
Date: Mon, 27 Sep 1999 17:10:48 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrr7llcw02h.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 27 Sep 1999 13:50:46 -0700)
Subject: Re: Scwm-0.99.3 mostly successful
Reply-to: bob@rattlesnake.com
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> <m11VfoB-0001bmC@localhost> <qrrd7v4w58e.fsf@elwha.cs.washington.edu> <m11VgqW-0001bmC@localhost> <qrr905sw2c9.fsf@elwha.cs.washington.edu> <m11VhIZ-0001bmC@localhost> <qrr7llcw02h.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

[Looking for instances of button-1 deprecated, etc]

    Try the below, and see what you get  ... 

Did it and the only locations for button-1, -2, and -3 are in 

    /usr/local/share/scwm/modules/app/scwm/fvwm-eval.scm

where they were commented out.  Puzzling!  

I am sure we will find them somewhere obvious.... :-(

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 17:14:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA19352
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 17:14:36 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA19349
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 17:14:33 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA25479; Mon, 27 Sep 1999 14:14:28 -0700 (PDT)
To: bob@rattlesnake.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 mostly successful
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> <m11VfoB-0001bmC@localhost> <qrrd7v4w58e.fsf@elwha.cs.washington.edu> <m11VgqW-0001bmC@localhost> <qrr905sw2c9.fsf@elwha.cs.washington.edu> <m11VhIZ-0001bmC@localhost> <qrr7llcw02h.fsf@elwha.cs.washington.edu> <m11Vi2q-0001bmC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 14:14:28 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Mon, 27 Sep 1999 17:10:48 -0400 (EDT)"
Message-ID: <qrr3dw0vyyz.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Robert J. Chassell" <bob@rattlesnake.com> writes:

> [Looking for instances of button-1 deprecated, etc]
> 
>     Try the below, and see what you get  ... 
> 
> Did it and the only locations for button-1, -2, and -3 are in 
> 
>     /usr/local/share/scwm/modules/app/scwm/fvwm-eval.scm
> 
> where they were commented out.  Puzzling!  
> 
> I am sure we will find them somewhere obvious.... :-(

Unbelievable....

How 'bout this:

set a breakpoint in binding.c at the deprecated warning message, and
look at the backtrace and see if you can figure anythin out from that.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 17:24:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA19467
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 17:24:29 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from motgate2.mot.com ([136.182.1.10])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA19464
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 17:24:24 -0400
Received: [from pobox2.mot.com (pobox2.mot.com [136.182.15.8]) by motgate2.mot.com (MOT-motgate2 1.0) with ESMTP id QAA10865 for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 16:24:22 -0500 (CDT)]
Received: [from msgphx5.sps.mot.com (msgphx5.sps.mot.com [216.11.52.5]) by pobox2.mot.com (MOT-pobox2 2.0) with ESMTP id QAA26086 for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 16:24:22 -0500 (CDT)]
Received: from motorola.com ([223.201.55.60]) by msgphx5.sps.mot.com          (Netscape Messaging Server 3.61)  with ESMTP id AAA6AE3;          Mon, 27 Sep 1999 14:24:21 -0700
Message-ID: <37EFE196.78EB5409@motorola.com>
Date: Mon, 27 Sep 1999 14:28:54 -0700
From: Mark Naumann <mark.naumann@motorola.com>
Organization: Motorola, SemiCustom Solutions
X-Mailer: Mozilla 4.03 [en] (X11; I; SunOS 5.5.1 sun4u)
MIME-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>, scwm-discuss@scwm.mit.edu
Subject: Re: Scwm-0.99.3 success reports?
References: <qrr4sggxsp3.fsf@elwha.cs.washington.edu> <199909271821.OAA18731@soup.ads.apexinc.com> <37EFCCBA.C6BA86F4@motorola.com> <qrr4sggvzsu.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Motorola-Sent-Wireless: 1
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros wrote:
> 
> Mark Naumann writes:
> > I was unable to build scwm-0.99.3 out of the box.  It had compile-time
> > errors.
> 
> I'd love to see the compile-time errors, of course.  Care to share?

[744]$ gunzip -c gz/scwm-0.99.3.tar.gz | tar -xvf -
[745]$ make -f scwm-0.99.3.mk 
(cd ./scwm-0.99.3; \

LD_LIBRARY_PATH=.:/tools/tools/sparc-sun-solaris2.5.1/toolset/ts990831/lib:/tools/netscape4.03/rvplayer5.0:/usr/openwin/lib:/usr/lib:/usr/dt/lib:/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/lib:/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/xpm-3.4k/lib/X11
\
	./configure
--prefix=/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3 \

--with-guile-prefix=/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924)
creating cache ./config.cache
checking for a BSD compatible install...

< snip snip >

gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c menu.c
menu.c: In function `PmiimMenuShortcuts':
menu.c:939: `XK_ISO_Left_Tab' undeclared (first use in this function)
menu.c:939: (Each undeclared identifier is reported only once
menu.c:939: for each function it appears in.)
make[2]: *** [menu.o] Error 1
make[2]: Leaving directory `/home/naumann/u/junkdir/scwm/scwm-0.99.3/scwm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/naumann/u/junkdir/scwm/scwm-0.99.3'
make: *** [all] Error 2

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 17:30:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA19602
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 17:30:42 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA19598
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 17:30:38 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA25550; Mon, 27 Sep 1999 14:30:21 -0700 (PDT)
To: Mark Naumann <mark.naumann@motorola.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Scwm-0.99.3 success reports?
References: <qrr4sggxsp3.fsf@elwha.cs.washington.edu> <199909271821.OAA18731@soup.ads.apexinc.com> <37EFCCBA.C6BA86F4@motorola.com> <qrr4sggvzsu.fsf@elwha.cs.washington.edu> <37EFE196.78EB5409@motorola.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 14:30:21 -0700
In-Reply-To: Mark Naumann's message of "Mon, 27 Sep 1999 14:28:54 -0700"
Message-ID: <qrrzoy8ujo2.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mark Naumann <mark.naumann@motorola.com> writes:

> Greg Badros wrote:
<snip>
> < snip snip >
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
> -I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
> -I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
> -g -O2 -c menu.c
> menu.c: In function `PmiimMenuShortcuts':
> menu.c:939: `XK_ISO_Left_Tab' undeclared (first use in this function)
> menu.c:939: (Each undeclared identifier is reported only once
> menu.c:939: for each function it appears in.)
> make[2]: *** [menu.o] Error 1
> make[2]: Leaving directory `/home/naumann/u/junkdir/scwm/scwm-0.99.3/scwm'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/naumann/u/junkdir/scwm/scwm-0.99.3'
> make: *** [all] Error 2

Got it-- I took care of these this morning -- it's an X11R5 issue.  Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 17:53:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA19867
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 17:53:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from motgate2.mot.com ([136.182.1.10])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA19864
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 17:53:47 -0400
Received: [from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate2.mot.com (MOT-motgate2 1.0) with ESMTP id QAA27420 for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 16:53:45 -0500 (CDT)]
Received: [from msgphx5.sps.mot.com (msgphx5.sps.mot.com [216.11.52.5]) by pobox.mot.com (MOT-pobox 2.0) with ESMTP id QAA07379 for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 16:53:44 -0500 (CDT)]
Received: from motorola.com ([223.201.55.60]) by msgphx5.sps.mot.com          (Netscape Messaging Server 3.61)  with ESMTP id AAA1909;          Mon, 27 Sep 1999 14:53:43 -0700
Message-ID: <37EFE878.D75B1D6B@motorola.com>
Date: Mon, 27 Sep 1999 14:58:16 -0700
From: Mark Naumann <mark.naumann@motorola.com>
Organization: Motorola, SemiCustom Solutions
X-Mailer: Mozilla 4.03 [en] (X11; I; SunOS 5.5.1 sun4u)
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: xpm required?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Motorola-Sent-Wireless: 1
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg:

>From your last email, I got the impression that scwm should be able to
build with minimal other packages.  I'm now using guile-1.3.2 and 
readline-4.0, (but no glib, gtk, xpm, ...).  It looks like the 
./configure detects the missing xpm, but later tries to use it anyway.

Here's the complete session.  (I have a toplevel makefile, just so I
can reproduce the build.)  There is an "#include <X11/xpm.h>" statement
in icons.c and image.c.

Mark

bash[6]naumann@wagoner:/home/naumann/u/junkdir/scwm
[503]$ make -f scwm-0.99.3.mk
rm -f ./scwm-0.99.3/config.cache
rm -f ./scwm-0.99.3/Makefile
(cd ./scwm-0.99.3; \
	./configure
--prefix=/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3 \

--with-guile-prefix=/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924)
creating cache ./config.cache
checking for a BSD compatible install...
/tools/tools/sparc-sun-solaris2.5.1/toolset/ts990831/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for gnutar... no
checking for gtar... no
checking for tar... tar
checking whether tar is GNU tar... yes
checking for POSIXized ISC... no
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for minix/config.h... no
checking for gcc option to accept ANSI C... none needed
checking host system type... sparc-sun-solaris2.5.1
checking build system type... sparc-sun-solaris2.5.1
checking for ranlib... ranlib
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking command to parse /usr/ccs/bin/nm -p output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/ccs/bin/ld option to reload object files... -r
checking dynamic linker characteristics... solaris2.5.1 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking where to expect to find guile...
/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924
checking for guile-config...
/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/bin/guile-config
checking whether guile-config or build-guile works... yes
checking for guile...
/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/bin/guile
checking for perl...
/tools/tools/sparc-sun-solaris2.5.1/toolset/ts990831/bin/perl
checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include
checking whether -R must be followed by a space... no
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for emacs... no
checking for xemacs...
/tools/tools/sparc-sun-solaris2.5.1/toolset/ts990831/bin/xemacs
checking where .elc files should go... $(datadir)/emacs/site-lisp
checking for main in -lm... yes
checking for XOpenDisplay in -lX11... yes
checking for XShapeCombineMask in -lXext... yes
checking for XTestQueryExtension in -lXtst... yes
checking for XpmReadFileToPixmap in -lXpm... no
configure: warning: libXpm not found -- try
ftp://ftp.x.org/contrib/libraries/xpm-3.4k.tar.gz
checking for XmuPrintDefaultErrorMessage in -lXmu... yes
checking for _Xsetlocale in -lX11... no
checking for SmcOpenConnection in -lSM... no
configure: warning: libSM not found -- no session manager support
checking for esd-config... no
checking for ESD - version >= 0.2.7... no
*** The esd-config script installed by ESD could not be found
*** If ESD was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the ESD_CONFIG environment variable to the
*** full path to esd-config.
checking for location of gtk-config script... 
checking for gtk-config... no
checking for GTK - version >= 1.0.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
checking whether to enable gnome-corba module... no
checking for tgoto in -ltermcap... yes
checking for readline in -lreadline... yes
checking for add_history in -lreadline... yes
checking for guile libraries...
-L/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/lib
-R/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/lib
-L/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/guile-1.3.2/lib -lguile
-lqthreads -ldl -lsocket -lnsl -lm
checking for ANSI C header files... yes
checking for getopt.h... no
checking for sys/select.h... yes
checking whether to enable viavoice... no
checking for getopt_long... no
checking for gethostname... yes
checking for waitpid... yes
checking for sysconf... yes
checking for uname... yes
checking for strerror... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for usleep... yes
checking for setlinebuf... yes
checking for setvbuf... yes
checking for setenv... no
checking for scm_done_malloc in -lguile... yes
checking for scm_puts in -lguile... yes
checking for gh_vector_ref in -lguile... yes
checking for gh_vector_set_x in -lguile... yes
checking for scm_readline in -lguile... no
checking for gh_length in -lguile... yes
checking for scm_parse_path in -lguile... yes
checking for scm_internal_select in -lguile... yes
checking for scm_internal_cwdr in -lguile... yes
checking for scm_internal_stack_catch in -lguile... yes
checking for scm_internal_parse_path in -lguile... yes
checking for scm_load_startup_files in -lguile... yes
checking for scm_make_hook in -lguile... yes
checking for scm_make_smob_type_mfpe in -lguile... yes
checking for scm_strport_to_string in -lguile... yes
checking for scm_the_last_stack_fluid in -lguile... yes
checking for working const... yes
checking for inline... inline
checking for imlib-config... no
checking for IMLIB - version >= 1.8.2... no
*** The imlib-config script installed by IMLIB could not be found
*** If IMLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the IMLIB_CONFIG environment variable to the
*** full path to imlib-config.
checking whether to enable multibyte support... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating scwm.spec
creating sample.scwmrc/Makefile
creating scwm/Makefile
creating scheme/Makefile
creating pixmaps/Makefile
creating app/Makefile
creating modules/Makefile
creating modules/background/Makefile
creating modules/c-animation/Makefile
creating modules/corba/Makefile
creating modules/esdsound/Makefile
creating modules/overlay-plane/Makefile
creating modules/pie-menus/Makefile
creating modules/scwmgtkhelper/Makefile
creating modules/xlib-drawing/Makefile
creating modules/xpm-menus/Makefile
creating modules/proplist/Makefile
creating modules/xtest/Makefile
creating modules/viavoice/Makefile
creating utilities/Makefile
creating utilities/libscwmexec/Makefile
creating utilities/scwmexec/Makefile
creating utilities/scwmrepl/Makefile
creating utilities/pidproperty/Makefile
creating utilities/run-renamed/Makefile
creating utilities/dev/Makefile
creating utilities/emacs/Makefile
creating utilities/misc/Makefile
creating doc/Makefile
creating themes/Makefile
creating utilities/dev/scwmdoc
creating utilities/dev/scwmdoc.scm
creating utilities/dev/scwm-usage-counter
creating utilities/dev/X-error-describe
creating utilities/dev/create-dependency-dot-graph
creating include/config.h
(cd ./scwm-0.99.3; \
	make all)
make[1]: Entering directory `/home/naumann/u/junkdir/scwm/scwm-0.99.3'
Making all in scwm
make[2]: Entering directory `/home/naumann/u/junkdir/scwm/scwm-0.99.3/scwm'
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c Grab.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c ICCCM.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c add_window.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c binding.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c borders.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c callbacks.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c color.c
color.c: In function `ScmMakeColor':
color.c:221: warning: passing arg 1 of `gh_str02scm' discards qualifiers from
pointer target type
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c colormaps.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c colors.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c cursor.c
cursor.c: In function `print_cursor':
cursor.c:52: warning: passing arg 1 of `scm_puts' discards qualifiers from
pointer target type
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c decor.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c decorations.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c deskpage.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c drawmenu.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c errors.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c events.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c face.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c focus.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c font.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c getopt.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c getopt1.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c guile-compat.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/openwin/include
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/toolset/mn990924/include 	   
-I/home/naumann/o/tools/sparc-sun-solaris2.5.1/builds/scwm-0.99.3/include   
-g -O2 -c icons.c
icons.c:31: X11/xpm.h: No such file or directory
make[2]: *** [icons.o] Error 1
make[2]: Leaving directory `/home/naumann/u/junkdir/scwm/scwm-0.99.3/scwm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/naumann/u/junkdir/scwm/scwm-0.99.3'
make: *** [all] Error 2
bash[6]naumann@wagoner:/home/naumann/u/junkdir/scwm
[504]$

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 18:23:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA20094
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 18:23:10 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA20091
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 18:23:05 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA25634; Mon, 27 Sep 1999 15:23:03 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: We're now on the list!
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 15:23:02 -0700
Message-ID: <qrru2oguh89.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Forcer just informed me that we are now on the linuxjournal Reader's
choice awards ballot, so you no longer need to write in a vote (but you
don't need to re-vote if you wrote in scwm earlier).

If you've not voted for Scwm as your favourite window manager, be sure
to at:

http://207.178.22.52/contest/readchoice.html

Thanks!  And thanks forcer for bringing Scwm to SSC's attention!

Greg



From: forcer <forcer@mindless.com>
Date: 27 Sep 1999 23:43:28 +0200

Hi there.
I thought you might be interested in the fact that SCWM is now in
the readers' choice poll of the linux journal.
And while being at it, i think i found a new user *8)

<snip>
	-forcer

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 18:30:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA20231
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 18:30:51 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA20227
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 18:30:48 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA25640; Mon, 27 Sep 1999 15:30:42 -0700 (PDT)
To: Mark Naumann <mark.naumann@motorola.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: xpm required?
References: <37EFE878.D75B1D6B@motorola.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 15:30:41 -0700
In-Reply-To: Mark Naumann's message of "Mon, 27 Sep 1999 14:58:16 -0700"
Message-ID: <qrrr9jkugvi.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mark Naumann <mark.naumann@motorola.com> writes:

> Greg:
> 
> >From your last email, I got the impression that scwm should be able to
> build with minimal other packages.  I'm now using guile-1.3.2 and 
> readline-4.0, (but no glib, gtk, xpm, ...).  It looks like the 
> ./configure detects the missing xpm, but later tries to use it anyway.

Well, we certainly want it to build in this configuration..

> 
> Here's the complete session.  (I have a toplevel makefile, just so I
> can reproduce the build.)  There is an "#include <X11/xpm.h>" statement
> in icons.c and image.c.

Thanks for the bug report... I'll get on it.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 18:51:35 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA20526
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 18:51:35 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tequila.cs.yale.edu (TEQUILA.CS.YALE.EDU [128.36.229.152])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA20523
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 18:51:26 -0400
Received: from tequila.cs.yale.edu (localhost [127.0.0.1])
	by tequila.cs.yale.edu (8.9.3/8.9.3) with SMTP id SAA16277
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 18:51:20 -0400
To: scwm-discuss@scwm.mit.edu
From: "Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu>
Newsgroups: lists.scwm.discuss
Subject: Re: Memory usage
References: <19990925071018.P3916@hagbard.demon.co.uk> <qrriu4y291z.fsf@elwha.cs.washington.edu> <199909260449.AAA00952@soup.ql.org>
Date: 27 Sep 1999 18:51:17 -0400
Message-ID: <5liu4wezoa.fsf@tequila.cs.yale.edu>
Lines: 13
X-Newsreader: Gnus v5.7/Emacs 20.4
Path: tequila.cs.yale.edu
NNTP-Posting-Host: tequila.cs.yale.edu
X-Trace: 27 Sep 1999 18:51:17 -0500, tequila.cs.yale.edu
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> "E" == E Jay Berkenbilt <ejb@ql.org> writes:
> Has anyone run scwm under something that can do memory leak detection?
> If anyone has access to purify, that could be very useful.

I have vague memories of people trying purify on SCM with very
disappointing results.  The problem was that SCM plays a lot with the
stack in ways which purify does not understand.
I don't know how much has changed since SCM turned into guile, but
I wouldn't be surprised if purify on guile spits out endless complaints
for "totally normal" circumstances.


	Stefan

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 19:00:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA20595
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 19:00:21 -0400
Received: from vienna3.his.com (root@vienna3.his.com [216.200.68.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA20592
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 19:00:15 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by vienna3.his.com (8.9.3/8.9.3) with ESMTP id TAA15775;
	Mon, 27 Sep 1999 19:00:03 -0400 (EDT)
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id TAA18250;
	Mon, 27 Sep 1999 19:00:01 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id TAA15186; Mon, 27 Sep 1999 19:00:42 -0400
Date: Mon, 27 Sep 1999 19:00:42 -0400
Message-Id: <199909272300.TAA15186@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrr4sggxsp3.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 27 Sep 1999 08:47:04 -0700)
Subject: Re: Scwm-0.99.3 success reports?
References:  <qrr4sggxsp3.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


On the let's-see-how-insignificant-a-problem-we-can-report category,
the scwm.lsm file in the CVS repository still lists 0.99.2 as the
current version......

Also, I think the problems I was having earlier were related to my
disk filling up while building.  I am going to start over and
hopefully report success with 0.99.3 later this evening....

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 19:02:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA20656
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 19:02:10 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA20653
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 19:02:07 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA25693; Mon, 27 Sep 1999 16:02:00 -0700 (PDT)
To: guile@cs.washington.edu, scwm-discuss@scwm.mit.edu
Subject: Guile GC behaviour
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 16:02:00 -0700
Message-ID: <qrrogeouffb.fsf@elwha.cs.washington.edu>
Lines: 71
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I'd really appreciate some Guile guru's help on this.  I am trying to
investigate Scwm's memory leaks a bit more, and I'm confused about the
behaviour I'm seeing in Scwm when I evaluate this s-exp:

(let ((i 0))	
  (while (< i 100000)
	 (gc-stats)
	 (set! i (+ i 1))))


This causes Scwm's process image size to grow dramatically (this is
against guile-1.3.4). We evaluate the string in a fairly contorted way.
I'm also very interested in knowing what might be the "supported" way to
do this very normal task.

We use scwm_safe_eval_str:

SCM scwm_safe_eval_str (char *string)
{
  SCM_STACKITEM stack_item;
  return scm_internal_cwdr_no_unwind(scwm_body_eval_str, string,
				     scm_handle_by_message_noexit, "scwm", 
				     &stack_item);
}


and here is scwm_body_eval_str:

static SCM
scwm_body_eval_str (void *body_data)
{
  char *string = (char *) body_data;
  SCM port = scm_mkstrport (SCM_MAKINUM (0), gh_str02scm(string), 
			    SCM_OPN | SCM_RDNG, "scwm_safe_eval_str");
  return scwm_catching_load_from_port (port);
}


and here is scwm_catching_load_from_port:

__inline__ static SCM 
scwm_catching_load_from_port (SCM port)
{
  SCM expr;
  SCM answer = SCM_UNSPECIFIED;
  int i = 0;

  while (!SCM_EOF_OBJECT_P(expr = scm_read (port))) {  
    answer = scwm_catching_eval_x (expr);
    if (++i % clnsProcessingHook == 0) {
      call1_hooks(load_processing_hook, gh_int2scm(i));
    }
  }
  scm_close_port (port);

  return answer;
}


and here is scwm_catching_eval_x:

__inline__ static SCM 
scwm_catching_eval_x (SCM expr) {
  return scm_internal_stack_catch (SCM_BOOL_T, scwm_body_eval_x, &expr,
			  scwm_handle_error, "scwm");
}


Thanks for any suggestions and/or thoughts about this!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 19:05:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA20753
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 19:05:12 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA20748
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 19:05:08 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA25708; Mon, 27 Sep 1999 16:05:01 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 success reports?
References: <qrr4sggxsp3.fsf@elwha.cs.washington.edu> <199909272300.TAA15186@soup.ql.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 16:05:01 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Mon, 27 Sep 1999 19:00:42 -0400"
Message-ID: <qrrn1u8ufaa.fsf@elwha.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> On the let's-see-how-insignificant-a-problem-we-can-report category,
> the scwm.lsm file in the CVS repository still lists 0.99.2 as the
> current version......

Ok.  Anyone know offhand whether "Entered-date:" in .lsm files is
supposed to be updated with new versions?  I may put replace scwm.lsm
with scwm.lsm.in so I don't have to keep updated the version number
(still will need to get the file size updated every now and again, though)

> 
> Also, I think the problems I was having earlier were related to my
> disk filling up while building.  I am going to start over and
> hopefully report success with 0.99.3 later this evening....

Okay, great... 

Thanks,
Greg "No-bug-report-is-too-small" Badros

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 19:16:46 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA21023
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 19:16:46 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from kodis.jagunet.com (kodis@kodis.jaguNET.com [206.156.208.48])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA21019
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 19:16:41 -0400
Received: (from kodis@localhost)
	by kodis.jagunet.com (8.9.3/8.9.3) id TAA22950
	for scwm-discuss@SCWM.MIT.EDU; Mon, 27 Sep 1999 19:16:36 -0400
Date: Mon, 27 Sep 1999 19:16:35 -0400
From: John Kodis <kodis@jagunet.com>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 success reports?
Message-ID: <19990927191635.A19404@kodis.jagunet.com>
Mail-Followup-To: scwm-discuss@SCWM.MIT.EDU
References: <qrr4sggxsp3.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <qrr4sggxsp3.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Mon, Sep 27, 1999 at 08:47:04AM -0700, Greg Badros wrote:

> Please let me know if you've had success w/ 0.99.3 w/ RPMs or
> otherwise.

No problem building from CVS, although I'm a mite confused by the
announcement's recommendation of guile-1.3.4 -- the GNU mirrors that I
checked where still only carrying 1.3.2a.

-- John Kodis.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 19:22:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA21050
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 19:22:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA21047
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 19:22:13 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA25724; Mon, 27 Sep 1999 16:22:09 -0700 (PDT)
To: John Kodis <kodis@jagunet.com>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 success reports?
References: <qrr4sggxsp3.fsf@elwha.cs.washington.edu> <19990927191635.A19404@kodis.jagunet.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 16:22:08 -0700
In-Reply-To: John Kodis's message of "Mon, 27 Sep 1999 19:16:35 -0400"
Message-ID: <qrrln9suehr.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John Kodis <kodis@jagunet.com> writes:

> On Mon, Sep 27, 1999 at 08:47:04AM -0700, Greg Badros wrote:
> 
> > Please let me know if you've had success w/ 0.99.3 w/ RPMs or
> > otherwise.
> 
> No problem building from CVS, although I'm a mite confused by the
> announcement's recommendation of guile-1.3.4 -- the GNU mirrors that I
> checked where still only carrying 1.3.2a.

It's available from our page at:

ftp://scwm.mit.edu/pub/scwm/support/guile-1.3.4.tar.gz

Must be slow mirroring-- I got it from red-bean.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 19:35:54 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA21152
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 19:35:54 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mx.nada.kth.se (mx.nada.kth.se [130.237.222.161])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA21147
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 19:35:38 -0400
Received: from thalamus.nada.kth.se (root@async63.modempool.kth.se [130.237.10.63])
	by mx.nada.kth.se (8.8.7/8.8.7) with ESMTP id BAA12286;
	Tue, 28 Sep 1999 01:35:26 +0200 (MET DST)
Received: (from mdj@localhost)
	by thalamus.nada.kth.se (8.9.3/8.9.3/Debian/GNU) id BAA14874;
	Tue, 28 Sep 1999 01:35:32 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: guile@sourceware.cygnus.com, scwm-discuss@scwm.mit.edu
Subject: Re: Guile GC behaviour
References: <qrrogeouffb.fsf@elwha.cs.washington.edu>
Reply-to: Mikael Djurfeldt <djurfeldt@nada.kth.se>
Cc: djurfeldt@nada.kth.se
From: Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
Date: 28 Sep 1999 01:35:31 +0200
In-Reply-To: Greg Badros's message of "27 Sep 1999 16:02:00 -0700"
Message-ID: <xy7u2oghqrg.fsf@thalamus.nada.kth.se>
Lines: 26
X-Mailer: Gnus v5.7/Emacs 20.5
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> I'd really appreciate some Guile guru's help on this.  I am trying to
> investigate Scwm's memory leaks a bit more, and I'm confused about the
> behaviour I'm seeing in Scwm when I evaluate this s-exp:
> 
> (let ((i 0))	
>   (while (< i 100000)
> 	 (gc-stats)
> 	 (set! i (+ i 1))))
> 
> 
> This causes Scwm's process image size to grow dramatically (this is
> against guile-1.3.4). We evaluate the string in a fairly contorted way.

The explanation for the behaviour is this: During certain operations,
like (gc-stats), GC is blocked (C-level: scm_block_gc == 1).  If the
interpreter runs out of memory when GC is blocked, this is "solved" by
allocating a new heap segment.

In your code snippet, the (gc-stats) call will be the main source of
consing.  Thus, GC will most commonly happen within `gc-stats', always
leading to allocation of a new heap segment, even though the entire
heaps are filled with garbage that could be used if GC was allowed.

Does anybody have a suggestion how to solve this?

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 19:38:20 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA21235
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 19:38:20 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mx.nada.kth.se (mx.nada.kth.se [130.237.222.161])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA21232
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 19:38:09 -0400
Received: from thalamus.nada.kth.se (root@async63.modempool.kth.se [130.237.10.63])
	by mx.nada.kth.se (8.8.7/8.8.7) with ESMTP id BAA12421;
	Tue, 28 Sep 1999 01:37:59 +0200 (MET DST)
Received: (from mdj@localhost)
	by thalamus.nada.kth.se (8.9.3/8.9.3/Debian/GNU) id BAA14939;
	Tue, 28 Sep 1999 01:38:05 +0200
To: Mikael Djurfeldt <djurfeldt@nada.kth.se>
Cc: Greg Badros <gjb@cs.washington.edu>, guile@sourceware.cygnus.com,
        scwm-discuss@scwm.mit.edu
Subject: Re: Guile GC behaviour
References: <qrrogeouffb.fsf@elwha.cs.washington.edu> <xy7u2oghqrg.fsf@thalamus.nada.kth.se>
Reply-to: Mikael Djurfeldt <djurfeldt@nada.kth.se>
Cc: djurfeldt@nada.kth.se
From: Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
Date: 28 Sep 1999 01:38:05 +0200
In-Reply-To: Mikael Djurfeldt's message of "28 Sep 1999 01:35:31 +0200"
Message-ID: <xy7r9jkhqn6.fsf@thalamus.nada.kth.se>
Lines: 7
X-Mailer: Gnus v5.7/Emacs 20.5
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mikael Djurfeldt <mdj@thalamus.nada.kth.se> writes:

> Does anybody have a suggestion how to solve this?

Yes, Mikael.  I have an idea:

Rewrite `gc-stats' so that it doesn't cons when GC is blocked.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 19:47:45 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA21385
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 19:47:45 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA21382
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 19:47:40 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA25754; Mon, 27 Sep 1999 16:47:34 -0700 (PDT)
To: Mikael Djurfeldt <djurfeldt@nada.kth.se>
Cc: guile@cs.washington.edu, scwm-discuss@scwm.mit.edu
Subject: Re: Guile GC behaviour
References: <qrrogeouffb.fsf@elwha.cs.washington.edu> <xy7u2oghqrg.fsf@thalamus.nada.kth.se>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 16:47:34 -0700
In-Reply-To: Mikael Djurfeldt's message of "28 Sep 1999 01:35:31 +0200"
Message-ID: <qrrg0zzvrvt.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mikael Djurfeldt <mdj@thalamus.nada.kth.se> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > I'd really appreciate some Guile guru's help on this.  I am trying to
> > investigate Scwm's memory leaks a bit more, and I'm confused about the
> > behaviour I'm seeing in Scwm when I evaluate this s-exp:
> > 
> > (let ((i 0))	
> >   (while (< i 100000)
> > 	 (gc-stats)
> > 	 (set! i (+ i 1))))
> > 
> > 
> > This causes Scwm's process image size to grow dramatically (this is
> > against guile-1.3.4). We evaluate the string in a fairly contorted way.
> 
> The explanation for the behaviour is this: During certain operations,
> like (gc-stats), GC is blocked (C-level: scm_block_gc == 1).  If the
> interpreter runs out of memory when GC is blocked, this is "solved" by
> allocating a new heap segment.
> 
> In your code snippet, the (gc-stats) call will be the main source of
> consing.  Thus, GC will most commonly happen within `gc-stats', always
> leading to allocation of a new heap segment, even though the entire
> heaps are filled with garbage that could be used if GC was allowed.
> 
> Does anybody have a suggestion how to solve this?

Does the guile gc release heap segments later on?  I have seen Scwm get
smaller sometimes, too, but it never seems to shrink back to what it
should be.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 19:54:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA21583
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 19:54:24 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA21578
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 19:54:21 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA25763; Mon, 27 Sep 1999 16:54:17 -0700 (PDT)
To: Mark Naumann <mark.naumann@motorola.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: xpm required?
References: <37EFE878.D75B1D6B@motorola.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 16:54:17 -0700
In-Reply-To: Mark Naumann's message of "Mon, 27 Sep 1999 14:58:16 -0700"
Message-ID: <qrremfjvrkm.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mark Naumann <mark.naumann@motorola.com> writes:

> Greg:
> 
> >From your last email, I got the impression that scwm should be able to
> build with minimal other packages.  I'm now using guile-1.3.2 and 
> readline-4.0, (but no glib, gtk, xpm, ...).  It looks like the 
> ./configure detects the missing xpm, but later tries to use it anyway.
> 
> Here's the complete session.  (I have a toplevel makefile, just so I
> can reproduce the build.)  There is an "#include <X11/xpm.h>" statement
> in icons.c and image.c.

The one in icons.c was gratuitous, the one in image.c was easy to fix.

I've committed the changes, so please try them when convenient.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 20:01:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA21744
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 20:01:44 -0400
Received: from vienna3.his.com (root@vienna3.his.com [216.200.68.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA21741
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 20:01:40 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by vienna3.his.com (8.9.3/8.9.3) with ESMTP id UAA17264;
	Mon, 27 Sep 1999 20:01:37 -0400 (EDT)
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id UAA01177;
	Mon, 27 Sep 1999 20:01:36 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id UAA26893; Mon, 27 Sep 1999 20:02:07 -0400
Date: Mon, 27 Sep 1999 20:02:07 -0400
Message-Id: <199909280002.UAA26893@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrr4sggxsp3.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 27 Sep 1999 08:47:04 -0700)
Subject: Re: Scwm-0.99.3 success reports?
References:  <qrr4sggxsp3.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


   Please let me know if you've had success w/ 0.99.3 w/ RPMs or
   otherwise.  As general practice, now, I'm planning on making the release 
   here and then announcing it elsewhere after a few success reports
   trickle in.  (For 0.99.4, though, I'll be making at least one
   pre-release since I changed the directory structure a bit.)

Sorry for all the messages....  I was able to get 0.99.3 up and
running with no problems after installing on RedHat 6.0 from the
source rpms.  I built the new guile, cassowary, and scwm rpms from the
src.rpms and installed them, installing each before building the next
so that cassowary was built with guile 1.3.4, and scwm was built with
guile 1.3.4 and cassowary 0.52.  Everything seems fine so far.  I
don't know why /usr/include/guile/gh.h was missing before.  Perhaps
some part of the installation of guile doesn't do good enough error
checking thus allowing the rpm to get created even though some of the
files not installed.  I am not going to attempt to diagnose this since
my disk had filled up during the build process and everything worked
fine once I made space available...

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 20:04:54 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA21769
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 20:04:54 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from motgate2.mot.com ([136.182.1.10])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA21766
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 20:04:50 -0400
Received: [from mothost.mot.com (mothost.mot.com [129.188.137.101]) by motgate2.mot.com (MOT-motgate2 1.0) with ESMTP id TAA23750 for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 19:04:49 -0500 (CDT)]
Received: [from msgphx5.sps.mot.com (msgphx5.sps.mot.com [216.11.52.5]) by mothost.mot.com (MOT-mothost 2.0) with ESMTP id TAA07419 for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 19:04:49 -0500 (CDT)]
Received: from motorola.com ([223.201.55.60]) by msgphx5.sps.mot.com          (Netscape Messaging Server 3.61)  with ESMTP id AAA356E;          Mon, 27 Sep 1999 17:04:48 -0700
Message-ID: <37F00730.7F87C672@motorola.com>
Date: Mon, 27 Sep 1999 17:09:20 -0700
From: Mark Naumann <mark.naumann@motorola.com>
Organization: Motorola, SemiCustom Solutions
X-Mailer: Mozilla 4.03 [en] (X11; I; SunOS 5.5.1 sun4u)
MIME-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
CC: "Mark Naumann (rysw20)" <rysw20@email.sps.mot.com>,
        scwm-discuss@scwm.mit.edu
Subject: Re: xpm required?
References: <37EFE878.D75B1D6B@motorola.com> <qrremfjvrkm.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Motorola-Sent-Wireless: 1
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I am blocked behind a firewall and cannot use "cvs -d
:pserver:anoncvs@scwm.mit.edu:/anoncvs login" to access the SCWM sources.  Is
there an http (preferred) or ftp snapshot of the current CVS tree?

Mark

Greg Badros wrote:
> 
> Mark Naumann <mark.naumann@motorola.com> writes:
> 
> > Greg:
> >
> > >From your last email, I got the impression that scwm should be able to
> > build with minimal other packages.  I'm now using guile-1.3.2 and
> > readline-4.0, (but no glib, gtk, xpm, ...).  It looks like the
> > ./configure detects the missing xpm, but later tries to use it anyway.
> >
> > Here's the complete session.  (I have a toplevel makefile, just so I
> > can reproduce the build.)  There is an "#include <X11/xpm.h>" statement
> > in icons.c and image.c.
> 
> The one in icons.c was gratuitous, the one in image.c was easy to fix.
> 
> I've committed the changes, so please try them when convenient.
> 
> Thanks,
> Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 20:10:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA21881
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 20:10:13 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA21875
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 20:10:07 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA25818; Mon, 27 Sep 1999 17:10:02 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 success reports?
References: <qrr4sggxsp3.fsf@elwha.cs.washington.edu> <199909280002.UAA26893@soup.ql.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 17:10:02 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Mon, 27 Sep 1999 20:02:07 -0400"
Message-ID: <qrr7llbvqud.fsf@elwha.cs.washington.edu>
Lines: 28
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

>    Please let me know if you've had success w/ 0.99.3 w/ RPMs or
>    otherwise.  As general practice, now, I'm planning on making the release 
>    here and then announcing it elsewhere after a few success reports
>    trickle in.  (For 0.99.4, though, I'll be making at least one
>    pre-release since I changed the directory structure a bit.)
> 
> Sorry for all the messages....  I was able to get 0.99.3 up and
> running with no problems after installing on RedHat 6.0 from the
> source rpms.  I built the new guile, cassowary, and scwm rpms from the
> src.rpms and installed them, installing each before building the next
> so that cassowary was built with guile 1.3.4, and scwm was built with
> guile 1.3.4 and cassowary 0.52.  Everything seems fine so far.  I
> don't know why /usr/include/guile/gh.h was missing before.  Perhaps
> some part of the installation of guile doesn't do good enough error
> checking thus allowing the rpm to get created even though some of the
> files not installed.  I am not going to attempt to diagnose this since
> my disk had filled up during the build process and everything worked
> fine once I made space available...

Great-- glad to hear it.

I've put in an announcement on freshmeat for 0.99.3 since it seems like
at least the RH6 installs were going smoothly.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 20:34:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA22181
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 20:34:21 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from savonarola.red-bean.com (savonarola.red-bean.com [208.245.165.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA22178
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 20:34:16 -0400
Received: (from jimb@localhost)
	by savonarola.red-bean.com (8.8.7/8.8.7) id TAA20460;
	Mon, 27 Sep 1999 19:34:05 -0500
To: Mikael Djurfeldt <djurfeldt@nada.kth.se>
Cc: Greg Badros <gjb@cs.washington.edu>, guile@sourceware.cygnus.com,
        scwm-discuss@scwm.mit.edu
Subject: Re: Guile GC behaviour
References: <qrrogeouffb.fsf@elwha.cs.washington.edu> <xy7u2oghqrg.fsf@thalamus.nada.kth.se> <xy7r9jkhqn6.fsf@thalamus.nada.kth.se>
From: Jim Blandy <jimb@red-bean.com>
Date: 27 Sep 1999 19:34:05 -0500
In-Reply-To: Mikael Djurfeldt's message of "28 Sep 1999 01:38:05 +0200"
Message-ID: <m3zoy76fia.fsf@savonarola.red-bean.com>
Lines: 12
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> > Does anybody have a suggestion how to solve this?
> 
> Yes, Mikael.  I have an idea:
> 
> Rewrite `gc-stats' so that it doesn't cons when GC is blocked.

Indeed.  I suspected you could figure this one out.

The thing is, it's not an especially interesting case to optimize.
It's nice not to have weird cases like this, but I don't think it will
benefit any real programs.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 20:45:31 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA22263
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 20:45:31 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mx.nada.kth.se (mx.nada.kth.se [130.237.222.161])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA22260
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 20:45:25 -0400
Received: from thalamus.nada.kth.se (root@async63.modempool.kth.se [130.237.10.63])
	by mx.nada.kth.se (8.8.7/8.8.7) with ESMTP id CAA15071;
	Tue, 28 Sep 1999 02:45:16 +0200 (MET DST)
Received: (from mdj@localhost)
	by thalamus.nada.kth.se (8.9.3/8.9.3/Debian/GNU) id BAA15004;
	Tue, 28 Sep 1999 01:39:20 +0200
To: Mikael Djurfeldt <djurfeldt@nada.kth.se>
Cc: Greg Badros <gjb@cs.washington.edu>, guile@sourceware.cygnus.com,
        scwm-discuss@scwm.mit.edu
Subject: Re: Guile GC behaviour
References: <qrrogeouffb.fsf@elwha.cs.washington.edu> <xy7u2oghqrg.fsf@thalamus.nada.kth.se> <xy7r9jkhqn6.fsf@thalamus.nada.kth.se>
Reply-to: Mikael Djurfeldt <djurfeldt@nada.kth.se>
Cc: djurfeldt@nada.kth.se
From: Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
Date: 28 Sep 1999 01:39:20 +0200
In-Reply-To: Mikael Djurfeldt's message of "28 Sep 1999 01:38:05 +0200"
Message-ID: <xy7ogenj55j.fsf@thalamus.nada.kth.se>
Lines: 7
X-Mailer: Gnus v5.7/Emacs 20.5
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mikael Djurfeldt <mdj@thalamus.nada.kth.se> writes:

> Yes, Mikael.  I have an idea:
> 
> Rewrite `gc-stats' so that it doesn't cons when GC is blocked.

Ah.  Great!  Thanks!

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 20:54:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA22338
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 20:54:33 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from math.uwaterloo.ca (root@math.uwaterloo.ca [129.97.140.144])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA22335
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 20:54:28 -0400
Received: from thing-one.localdomain (cnts3p03.uwaterloo.ca [129.97.130.3])
	by math.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id UAA15399;
	Mon, 27 Sep 1999 20:54:23 -0400 (EDT)
Received: (from jrm@localhost)
	by thing-one.localdomain (8.9.3/8.9.3) id UAA09232;
	Mon, 27 Sep 1999 20:56:41 -0400
Date: Mon, 27 Sep 1999 20:56:41 -0400
Message-Id: <199909280056.UAA09232@thing-one.localdomain>
From: John MacPhail <jrmacpha@math.uwaterloo.ca>
To: gjb@cs.washington.edu
CC: jrmacpha@math.uwaterloo.ca, scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrr905sxtdi.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 27 Sep 1999 08:32:25 -0700)
Subject: Re: scwm-0.99.3.ppc.rpm and friends at my web page
References: <199909270633.CAA08102@thing-one.localdomain> <qrr905sxtdi.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>Thanks!  I'll add a link to the Scwm web page to your page. (Let me know 
>if you'd prefer I didn't, for whatever reason).
Sounds good to me.

John

-- 
John MacPhail                   grad student at U.Waterloo
jrmacphail@math.uwaterloo.ca          sneaker net  MC5136A
-----------------------------------------------------------

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 20:57:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA22424
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 20:57:50 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA22418
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 20:57:46 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA25872; Mon, 27 Sep 1999 17:57:43 -0700 (PDT)
To: John MacPhail <jrmacpha@math.uwaterloo.ca>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm-0.99.3.ppc.rpm and friends at my web page
References: <199909270633.CAA08102@thing-one.localdomain> <qrr905sxtdi.fsf@elwha.cs.washington.edu> <199909280056.UAA09232@thing-one.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 17:57:43 -0700
In-Reply-To: John MacPhail's message of "Mon, 27 Sep 1999 20:56:41 -0400"
Message-ID: <qrr1zbjvomw.fsf@elwha.cs.washington.edu>
Lines: 9
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John MacPhail <jrmacpha@math.uwaterloo.ca> writes:

> >Thanks!  I'll add a link to the Scwm web page to your page. (Let me know 
> >if you'd prefer I didn't, for whatever reason).
> Sounds good to me.

Ok, done.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 21:53:54 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA22597
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 21:53:54 -0400
Received: from vienna3.his.com (root@vienna3.his.com [216.200.68.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA22594
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 21:53:49 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by vienna3.his.com (8.9.3/8.9.3) with ESMTP id VAA20286
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 21:53:47 -0400 (EDT)
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id VAA21100
	for <scwm-discuss@scwm.mit.edu>; Mon, 27 Sep 1999 21:53:45 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id VAA06815; Mon, 27 Sep 1999 21:54:23 -0400
Date: Mon, 27 Sep 1999 21:54:23 -0400
Message-Id: <199909280154.VAA06815@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: color_mult bug with fix (0.99.3)
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


The following patch is relative to the CVS repository as of Monday,
September 27, 1999  09:50 p.m. EDT, color revision 1.75.

Last week, I reported that if I did (set-shadow-color! 1) and
(set-highlight-color! 1), my yellow-bordered windows got cyan
highlights.  I decided to look into this today, and I found a logic
error in the color_mult routine in color.c.  The logic is incorrect if
red == green because the code thinks that the opposite of (a < b) is
(a > b) rather than (a >= b).  Try looking at the code that sets
min_max_state with red = 65535, green = 65535, and blue = 0.  You get
the wrong answer.

The fix is trivial: change some > to >=.  The following patch does
that and also corrects all the color weirdness I get with my yellow
borders.  (I use yellow borders for certain windows that I want my
attention to be drawn to such as Zephyr messages.)

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/


Index: src/color.c
===================================================================
RCS file: /anoncvs/scwm/src/color.c,v
retrieving revision 1.75
diff -u -r1.75 color.c
--- color.c	1999/09/19 17:37:11	1.75
+++ color.c	1999/09/28 01:49:08
@@ -331,8 +331,8 @@
     g = (double) *green;
     b = (double) *blue;
 
-    if (r > g) {
-      if (r > b) {
+    if (r >= g) {
+      if (r >= b) {
 	max = r;
 	if (g < b) {
 	  min = g;
@@ -350,7 +350,7 @@
 	a = r - g;
       }
     } else {
-      if (g > b) {
+      if (g >= b) {
 	max = g;
 	if (b < r) {
 	  min = b;

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 22:01:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA22666
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 22:01:12 -0400
Received: from vienna3.his.com (root@vienna3.his.com [216.200.68.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA22663
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 22:01:09 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by vienna3.his.com (8.9.3/8.9.3) with ESMTP id WAA20440;
	Mon, 27 Sep 1999 22:01:06 -0400 (EDT)
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id WAA26194;
	Mon, 27 Sep 1999 22:01:05 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id WAA06838; Mon, 27 Sep 1999 22:01:35 -0400
Date: Mon, 27 Sep 1999 22:01:35 -0400
Message-Id: <199909280201.WAA06838@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrr7llbvqud.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 27 Sep 1999 17:10:02 -0700)
Subject: Re: Scwm-0.99.3 success reports?
References: <qrr4sggxsp3.fsf@elwha.cs.washington.edu> <199909280002.UAA26893@soup.ql.org> <qrr7llbvqud.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Greg --

I was going to send you this message privately, but I thought the
whole list should hear it.

I've been playing around with free software -- making contributions,
reporting bugs, and just generally using the software for about 12
years.  The people at the other ends of the bug reports have spanned
the whole gamut from very rude to very friendly.  I think you are all
the way on the "very friendly" side of this spectrum.  I can't think
of any other package I've played with where bug reports, suggestions
-- even inane or misguided remarks -- are acknowledged with such
enthusiasm and support.  You obviously take great pleasure in having a
happy user community, and this attitude is reflected in the way you
interact with people.  It's refreshing to see someone who is so
open-minded and committed to the user's satisfaction.  It makes me
feel that much better about using scwm that much more eager to spend a
little extra time and effort to help you, in whatever small way I can,
make scwm the best window manager available.

Thanks for having this positive attitude and for all your work on
scwm.

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Sep 27 23:20:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id XAA22874
	for scwm-discuss-outgoing; Mon, 27 Sep 1999 23:20:23 -0400
Received: from mail.nf.net (firma.thezone.net [192.75.13.101])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id XAA22871
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 27 Sep 1999 23:20:18 -0400
Received: from behemoth.dethfart.org (n115h015.thezone.net [198.165.115.15])
	by mail.nf.net (8.9.3/8.9.3) with ESMTP id AAA27206;
	Tue, 28 Sep 1999 00:49:51 -0230 (NDT)
Received: (from greg@localhost)
	by behemoth.dethfart.org (8.8.7/8.8.7) id AAA11495;
	Tue, 28 Sep 1999 00:48:16 -0230
X-Authentication-Warning: behemoth.dethfart.org: greg set sender to Greg.Harvey@thezone.net using -f
To: Mikael Djurfeldt <djurfeldt@nada.kth.se>
Cc: guile@cs.washington.edu, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Guile GC behaviour
References: <qrrogeouffb.fsf@elwha.cs.washington.edu> <xy7u2oghqrg.fsf@thalamus.nada.kth.se> <qrrg0zzvrvt.fsf@elwha.cs.washington.edu>
From: Greg Harvey <Greg.Harvey@thezone.net>
Date: 28 Sep 1999 00:48:16 -0230
In-Reply-To: Greg Badros's message of "27 Sep 1999 16:47:34 -0700"
Message-ID: <m3u2of67wn.fsf@behemoth.dethfart.org>
Lines: 15
X-Mailer: Gnus v5.6.43/Emacs 20.3
Original-Sender: Greg.Harvey@thezone.net
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Does the guile gc release heap segments later on?  I have seen Scwm get
> smaller sometimes, too, but it never seems to shrink back to what it
> should be.

It does, but (as I'm sure you're aware) that doesn't necessarily mean
that the actual size of scwm will get smaller. With some mallocs
(glibc's, for example) the larger allocation might be mmap'd, but the
memory used for smaller allocations will hang around forever; so, the
actual heap segment memory may be returned, but the additional smaller
allocations (which occur for a lot of objects) mostly won't.

-- 
Greg H

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 01:21:17 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA23065
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 01:21:17 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA23062
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 28 Sep 1999 01:21:12 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA26488; Mon, 27 Sep 1999 22:21:07 -0700 (PDT)
To: Greg Harvey <Greg.Harvey@thezone.net>
Cc: Mikael Djurfeldt <djurfeldt@nada.kth.se>, guile@cs.washington.edu,
        scwm-discuss@SCWM.MIT.EDU
Subject: Re: Guile GC behaviour
References: <qrrogeouffb.fsf@elwha.cs.washington.edu> <xy7u2oghqrg.fsf@thalamus.nada.kth.se> <qrrg0zzvrvt.fsf@elwha.cs.washington.edu> <m3u2of67wn.fsf@behemoth.dethfart.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 22:21:07 -0700
In-Reply-To: Greg Harvey's message of "28 Sep 1999 00:48:16 -0230"
Message-ID: <qrrso3ztxvg.fsf@elwha.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Harvey <Greg.Harvey@thezone.net> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > Does the guile gc release heap segments later on?  I have seen Scwm get
> > smaller sometimes, too, but it never seems to shrink back to what it
> > should be.
> 
> It does, but (as I'm sure you're aware) that doesn't necessarily mean
> that the actual size of scwm will get smaller. With some mallocs
> (glibc's, for example) the larger allocation might be mmap'd, but the
> memory used for smaller allocations will hang around forever; so, the
> actual heap segment memory may be returned, but the additional smaller
> allocations (which occur for a lot of objects) mostly won't.

I'm wondering if this could account for the growing Scwm process image
behaviour we've seen for a long time.  It's surprisingly challenging to
debug memory leaks in Scwm given the various memory allocators all
interacting, and the Scheme heap in particular.  I'm open to suggestions 
as to how to confirm or deny that these holes might be the source of the 
"leaks".

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 01:22:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA23070
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 01:22:47 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA23067
	for <scwm-discuss@scwm.mit.edu>; Tue, 28 Sep 1999 01:22:44 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id WAA26491; Mon, 27 Sep 1999 22:22:40 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: color_mult bug with fix (0.99.3)
References: <199909280154.VAA06815@soup.ql.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 27 Sep 1999 22:22:39 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Mon, 27 Sep 1999 21:54:23 -0400"
Message-ID: <qrrr9jjtxsw.fsf@elwha.cs.washington.edu>
Lines: 11
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> The following patch is relative to the CVS repository as of Monday,
> September 27, 1999  09:50 p.m. EDT, color revision 1.75.

Great-- thanks-- I'll apply this first thing in the morning... I love to 
have bug reports resolve themselves with a contributed patch! :-)

Greg

P.S.  Thanks for your earlier message, too. :-)

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 02:56:38 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA23464
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 02:56:38 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mailhostnew.tbit.dk (mailhostnew.tbit.dk [194.182.135.150])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA23461
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 28 Sep 1999 02:56:32 -0400
Received: from chl (chl.tbit.dk [194.182.135.65])
	by mailhostnew.tbit.dk (8.9.3/8.9.3) with ESMTP id IAA09624;
	Tue, 28 Sep 1999 08:56:24 +0200 (MET DST)
Received: by tbit.dk
	via sendmail from stdin
	id <m11VrBJ-000O9qC@chl> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Tue, 28 Sep 1999 08:56:09 +0200 (CEST) 
To: guile@sourceware.cygnus.com, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Guile GC behaviour
References: <qrrogeouffb.fsf@elwha.cs.washington.edu> <xy7u2oghqrg.fsf@thalamus.nada.kth.se> <qrrg0zzvrvt.fsf@elwha.cs.washington.edu> <m3u2of67wn.fsf@behemoth.dethfart.org> <qrrso3ztxvg.fsf@elwha.cs.washington.edu>
From: Christian Lynbech <chl@tbit.dk>
Date: 28 Sep 1999 08:56:08 +0200
In-Reply-To: Greg Badros's message of "27 Sep 1999 22:21:07 -0700"
Message-ID: <ofwvtbmsmv.fsf@chl.tbit.dk>
Lines: 22
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Would it be any help to investigate the problem with heap expansion
turned off?

The idea would be to set the initial heap segment size to something
usefully large and then to prevent guile/scwm from allocating more
heap segments. This would probably lead to more gc'ing but the size
contribution from the heap would be known and fixed.

Even though guile calls malloc for other things than heap segments
(for instance in scm_makstr) this would at least be able to
demonstrate whether or not the growth in process size is (primarily)
due to heap expansion or "genuine" memory leaks elsewhere.

The function to investigate could be 'alloc_some_heap'.

---------------------------+--------------------------------------------------
Christian Lynbech          | Ericsson Telebit A/S                       
Fax:   +45 8628 8186       | Fabrikvej 11, DK-8260 Viby J
Phone: +45 8628 8177 + 28  | email: chl@tbit.dk --- URL: http://www.tbit.dk
---------------------------+--------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 04:48:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id EAA25805
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 04:48:24 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id EAA25802
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 28 Sep 1999 04:48:19 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id KAA01427;
	Tue, 28 Sep 1999 10:48:12 +0200 (MET DST)
Date: Tue, 28 Sep 1999 10:48:12 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: "Robert J. Chassell" <bob@rattlesnake.com>
Cc: scwm-discuss@SCWM.MIT.EDU, gjb@cs.washington.edu
Subject: Re: Scwm-0.99.3 mostly successful
Message-ID: <19990928104811.A1542@youkaidi.irisa.fr>
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> <m11VfZS-0001bmC@localhost> <qrremfkw5gw.fsf@elwha.cs.washington.edu> <m11VgQ6-0001bmC@localhost>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7us
In-Reply-To: <m11VgQ6-0001bmC@localhost>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk



I think you may have to change this function, which create the button
names on the fly :


>     ;; -----------------------------------;;
>     ;; how to put buttons on the titlebar ;;
>     ;; -----------------------------------;;
> 
> (define button-numbers (cons 1 2)) ; (left . right)
> 
> ;; This creates the add-button command which when used multiple times
> ;; in sequence adds buttons in the correct location.  
> 
> ;; The first use with third arg #t creates the left most button, the
> ;; second use with third arg #t creates the second left most button,
> ;; and so on.
> 
> (define (add-button face hook left) ; in all decors
>   (let ((num (if left (car button-numbers) (cdr button-numbers))))
>     (map (lambda (decor) (with-decor (cdr decor) (set-button-face! num face)))
>          decor-list)
>     (bind-mouse (string->symbol (string-append "button-" (number->string num)))
>                 1 hook)
>     (if left (set-car! button-numbers (+ 2 num))
>         (set-cdr! button-numbers (+ 2 num)))))
> 
> 
>     ;; ------------------------;;
>     ;; add buttons to titlebar ;;
>     ;; ------------------------;;
> 
> ;;; Now add the buttons to the titlebar, using add-button command:
> 
> ;; left-most button
> (add-button prog-face popup-small-ops #t)
> (add-button up-down-arrow-face vertical-toggle-maximize #t)
> 
> ;; right-most button --  3rd arg to add-button is whether on left side
> (add-button stylized-X-face delete-window #f)




Some thing like that (untested) :

(define button-numbers (cons 1 1)) ; (left . right)
(define (add-button face hook left) ; in all decors
  (let ((num (if left (car button-numbers) (cdr button-numbers)))
	(pre (if left "left-" "right-")))
    (map (lambda (decor) (with-decor (cdr decor) (set-button-face! num face)))
	 decor-list)
    (bind-mouse (string->symbol (string-append pre "button-"
					       (number->string num)))
		1 hook)
    (if left
	(set-car! button-numbers (+ 1 num))
	(set-cdr! button-numbers (+ 1 num)))))






From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 05:19:07 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA25966
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 05:19:07 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA25963
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 28 Sep 1999 05:18:59 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id LAA01680;
	Tue, 28 Sep 1999 11:18:50 +0200 (MET DST)
Date: Tue, 28 Sep 1999 11:18:49 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: "Robert J. Chassell" <bob@rattlesnake.com>
Cc: scwm-discuss@SCWM.MIT.EDU, gjb@cs.washington.edu
Subject: Re: Scwm-0.99.3 mostly successful
Message-ID: <19990928111849.A2398@youkaidi.irisa.fr>
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> <m11VfZS-0001bmC@localhost> <qrremfkw5gw.fsf@elwha.cs.washington.edu> <m11VgQ6-0001bmC@localhost> <19990928104811.A1542@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7us
In-Reply-To: <19990928104811.A1542@youkaidi.irisa.fr>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

corrected :

(define button-numbers (cons 1 1)) ; (left . right)
(define (add-button face hook left) ; in all decors
  (let ((num (if left (car button-numbers) (cdr button-numbers)))
	(pre (if left "left-" "right-")))
    (map (lambda (decor) (with-decor (cdr decor) (set-button-face! num face)))
	 decor-list)
    (bind-mouse (string->symbol (string-append pre "button-"
					       (number->string num)))
		1 hook)
    (if left
	(set-car! button-numbers (+ 1 (car button-numbers)))
	(set-cdr! button-numbers (+ 1 (cdr button-numbers))))))



From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 09:53:22 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA26406
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 09:53:22 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ardon.verisity.com (ardon.verisity.com [192.116.92.65])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA26403
	for <scwm-discuss@scwm.mit.edu>; Tue, 28 Sep 1999 09:53:15 -0400
Received: from alps.verisity.com (alps [192.116.92.27])
	by ardon.verisity.com (8.8.6/8.8.6) with ESMTP id PAA09713
	for <scwm-discuss@scwm.mit.edu>; Tue, 28 Sep 1999 15:51:40 +0200 (IST)
Received: (from cmm@localhost)
	by alps.verisity.com (8.8.8+Sun/8.8.8) id PAA08701;
	Tue, 28 Sep 1999 15:51:40 +0200 (IST)
To: scwm-discuss@scwm.mit.edu
Subject: Solaris + setjmp = success
Organization: who? me?
From: Michael Livshin <cmm@verisity.com>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 28 Sep 1999 15:51:40 +0200
Message-ID: <s3g0zz16vn.fsf@verisity.com>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


the latest CVS SCWM (where sigsetjmp is replaced by setjmp) works for
me and hasn't crashed so far.

thanks a bunch to whomever had the idea!

on an unrelated subject: I just tried running Sawmill, and it's very,
very practical and easy to setup.  thing is, I'll take Scheme over
Elisp (and Rep) any day, but I've setup Sawmill to my liking within 10
minutes, while with SCWM it took much longer.  I don't know what to
attribute it to: the relative lack of fancy features in Sawmill, the
fact that the API is somewhat cleaner and simpler (maybe it's just the
previous point in disguise), maybe the Rep/Elisp similarity, or maybe
just that Rep is less, err, onthologically tempting than Scheme.

--mike, whose mind is making little satisfied belching noises

-- 
I'm on a seafood diet -- I see food and I eat it.         --anonymous

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 11:12:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA26570
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 11:12:42 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA26564
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 28 Sep 1999 11:12:37 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA27340; Tue, 28 Sep 1999 08:12:27 -0700 (PDT)
To: Christian Lynbech <chl@tbit.dk>
Cc: guile@cs.washington.edu, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Guile GC behaviour
References: <qrrogeouffb.fsf@elwha.cs.washington.edu> <xy7u2oghqrg.fsf@thalamus.nada.kth.se> <qrrg0zzvrvt.fsf@elwha.cs.washington.edu> <m3u2of67wn.fsf@behemoth.dethfart.org> <qrrso3ztxvg.fsf@elwha.cs.washington.edu> <ofwvtbmsmv.fsf@chl.tbit.dk>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Sep 1999 08:12:26 -0700
In-Reply-To: Christian Lynbech's message of "28 Sep 1999 08:56:08 +0200"
Message-ID: <qrrk8pbt6hx.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Christian Lynbech <chl@tbit.dk> writes:

> Would it be any help to investigate the problem with heap expansion
> turned off?
> 
> The idea would be to set the initial heap segment size to something
> usefully large and then to prevent guile/scwm from allocating more
> heap segments. This would probably lead to more gc'ing but the size
> contribution from the heap would be known and fixed.

What will happen if GCing is turned off (and heap expansion is disabled)
and the heap runs out of space?

> Even though guile calls malloc for other things than heap segments
> (for instance in scm_makstr) this would at least be able to
> demonstrate whether or not the growth in process size is (primarily)
> due to heap expansion or "genuine" memory leaks elsewhere.
> 
> The function to investigate could be 'alloc_some_heap'.

Perhaps-- thanks for pointing this possibility out-- these are exactly
the kinds of suggestions that I need to start thinking more
intelligently about my options.  Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 11:22:05 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA26622
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 11:22:05 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA26619
	for <scwm-discuss@scwm.mit.edu>; Tue, 28 Sep 1999 11:22:02 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA27343; Tue, 28 Sep 1999 08:21:48 -0700 (PDT)
To: Michael Livshin <cmm@verisity.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Solaris + setjmp = success
References: <s3g0zz16vn.fsf@verisity.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Sep 1999 08:21:47 -0700
In-Reply-To: Michael Livshin's message of "28 Sep 1999 15:51:40 +0200"
Message-ID: <qrriu4vt62c.fsf@elwha.cs.washington.edu>
Lines: 38
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Michael Livshin <cmm@verisity.com> writes:

> the latest CVS SCWM (where sigsetjmp is replaced by setjmp) works for
> me and hasn't crashed so far.
> 
> thanks a bunch to whomever had the idea!

Well, that was my idea, but it has a problem of potentially losing some
signal blocking/handling state.  Rusty Chris Holleman found the real
solution which was just a simple stupid bug on my part that doesn't
manifest itself on GNU/Linux -- the envHandleEventsLoop in scwm.c should 
be of type sigjmp_buf, not jmp_buf. 

> on an unrelated subject: I just tried running Sawmill, and it's very,
> very practical and easy to setup.  thing is, I'll take Scheme over
> Elisp (and Rep) any day, but I've setup Sawmill to my liking within 10
> minutes, while with SCWM it took much longer.  I don't know what to
> attribute it to: the relative lack of fancy features in Sawmill, the
> fact that the API is somewhat cleaner and simpler (maybe it's just the
> previous point in disguise), maybe the Rep/Elisp similarity, or maybe
> just that Rep is less, err, onthologically tempting than Scheme.

I think the big reasons for this are that Sawmill is a bit easier to
build, and has a more polished configuration engine out of the box.  Our 
configuration engine is improving (note the fancy new prompt-binding
interface in the module of the same name), but this was higher on John's 
list it seems than it was on ours.

Sawmill's "purity" is nice;  it's ironic:  Scwm's Scheme is to Sawmill's 
Rep what Sawmill is to Scwm.  Kinda.

But I'm working on it! (And need everyone's help!)  We're definitely way
more featureful and have lots of advantages, but it proves we can't sit
on our hands.  If Sawmill were to "win" in the extremely-programmable
window manager category, it could set Guile/Scheme back a long way, I'm
afraid... that would be a tragedy, IMO.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 11:44:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA27130
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 11:44:12 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ardon.verisity.com (ardon.verisity.com [192.116.92.65])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA27127
	for <scwm-discuss@scwm.mit.edu>; Tue, 28 Sep 1999 11:44:05 -0400
Received: from alps.verisity.com (alps [192.116.92.27])
	by ardon.verisity.com (8.8.6/8.8.6) with ESMTP id RAA27167;
	Tue, 28 Sep 1999 17:42:32 +0200 (IST)
Received: (from cmm@localhost)
	by alps.verisity.com (8.8.8+Sun/8.8.8) id RAA08896;
	Tue, 28 Sep 1999 17:42:30 +0200 (IST)
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Solaris + setjmp = success
References: <s3g0zz16vn.fsf@verisity.com> <qrriu4vt62c.fsf@elwha.cs.washington.edu>
Organization: who? me?
From: Michael Livshin <cmm@verisity.com>
In-Reply-To: Greg Badros's message of "28 Sep 1999 08:21:47 -0700"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 28 Sep 1999 17:42:30 +0200
Message-ID: <s3btan11qx.fsf@verisity.com>
Lines: 70
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> > the latest CVS SCWM (where sigsetjmp is replaced by setjmp) works for
> > me and hasn't crashed so far.
> > 
> > thanks a bunch to whomever had the idea!
> 
> Well, that was my idea, but it has a problem of potentially losing some
> signal blocking/handling state.  Rusty Chris Holleman found the real
> solution which was just a simple stupid bug on my part that doesn't
> manifest itself on GNU/Linux -- the envHandleEventsLoop in scwm.c should 
> be of type sigjmp_buf, not jmp_buf.

*cough*

> > on an unrelated subject: I just tried running Sawmill, and it's very,
> > very practical and easy to setup.  thing is, I'll take Scheme over
> > Elisp (and Rep) any day, but I've setup Sawmill to my liking within 10
> > minutes, while with SCWM it took much longer.  I don't know what to
> > attribute it to: the relative lack of fancy features in Sawmill, the
> > fact that the API is somewhat cleaner and simpler (maybe it's just the
> > previous point in disguise), maybe the Rep/Elisp similarity, or maybe
> > just that Rep is less, err, onthologically tempting than Scheme.
> 
> I think the big reasons for this are that Sawmill is a bit easier to
> build, and has a more polished configuration engine out of the box.  Our 
> configuration engine is improving (note the fancy new prompt-binding
> interface in the module of the same name), but this was higher on John's 
> list it seems than it was on ours.

hmm...  as I was relating my own experiences, I'll elaborate on some parts:

1. I didn't include the build effort in the analysis, just the effort to
setup things to one's liking.

2. I don't use any configuration engines.  the reason is mostly
philosophical and not relevant here, so just note that I don't use
them.

> Sawmill's "purity" is nice;  it's ironic:  Scwm's Scheme is to Sawmill's 
> Rep what Sawmill is to Scwm.  Kinda.

yup.

> But I'm working on it! (And need everyone's help!)  We're definitely way
> more featureful and have lots of advantages, but it proves we can't sit
> on our hands.  If Sawmill were to "win" in the extremely-programmable
> window manager category, it could set Guile/Scheme back a long way, I'm
> afraid... that would be a tragedy, IMO.

tragedy?  why?
nobody's exactly rushing to replace Elisp with Scheme, because Elisp, warts
and all, is *good enough*, that is, Turing-complete and parenthetical.

thing is, Scheme does not offer any big advantage over Elisp/Rep as a
*configuration* language.  it is a much nicer programming and
extension language, but most people really only set variables, bind
events and write simple hook procedures, and Elisp/Rep is just fine
for that.

but Scheme/Guile could offer some real, tangible advantages in window
management context if it were used more fully.  most of SCWM Scheme
code uses it as a glorified Elisp.

and Guile is not in any danger, IMHO.

> Greg

-- 
I'm on a seafood diet -- I see food and I eat it.         --anonymous

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 11:52:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA27189
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 11:52:32 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA27186
	for <scwm-discuss@scwm.mit.edu>; Tue, 28 Sep 1999 11:52:29 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id IAA27383; Tue, 28 Sep 1999 08:52:21 -0700 (PDT)
To: Michael Livshin <cmm@verisity.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Solaris + setjmp = success
References: <s3g0zz16vn.fsf@verisity.com> <qrriu4vt62c.fsf@elwha.cs.washington.edu> <s3btan11qx.fsf@verisity.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Sep 1999 08:52:21 -0700
In-Reply-To: Michael Livshin's message of "28 Sep 1999 17:42:30 +0200"
Message-ID: <qrrg0zzt4ne.fsf@elwha.cs.washington.edu>
Lines: 73
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Michael Livshin <cmm@verisity.com> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > > the latest CVS SCWM (where sigsetjmp is replaced by setjmp) works for
> > > me and hasn't crashed so far.
> > > 
> > > thanks a bunch to whomever had the idea!
> > 
> > Well, that was my idea, but it has a problem of potentially losing some
> > signal blocking/handling state.  Rusty Chris Holleman found the real
> > solution which was just a simple stupid bug on my part that doesn't
> > manifest itself on GNU/Linux -- the envHandleEventsLoop in scwm.c should 
> > be of type sigjmp_buf, not jmp_buf.
> 
> *cough*

:-).  In my defense, I never really looked at the problem because I
choose not to debug problems that I can't reproduce.  I was waiting to
build Scwm on Solaris for myself to look into the issue, and kept
putting that off.

<snip>
> 
> hmm...  as I was relating my own experiences, I'll elaborate on some parts:
> 
> 1. I didn't include the build effort in the analysis, just the effort to
> setup things to one's liking.
> 
> 2. I don't use any configuration engines.  the reason is mostly
> philosophical and not relevant here, so just note that I don't use
> them.

Then I think it was mostly because of Sawmill's relative simplicity.
Also, Scwm needs more work put into the system.scwmrc.

<snip>

> > But I'm working on it! (And need everyone's help!)  We're definitely way
> > more featureful and have lots of advantages, but it proves we can't sit
> > on our hands.  If Sawmill were to "win" in the extremely-programmable
> > window manager category, it could set Guile/Scheme back a long way, I'm
> > afraid... that would be a tragedy, IMO.
> 
> tragedy?  why?
> nobody's exactly rushing to replace Elisp with Scheme, because Elisp, warts
> and all, is *good enough*, that is, Turing-complete and parenthetical.

But ELisp has a huge existing code base.  When we have a chance to do it 
right, we must.

> thing is, Scheme does not offer any big advantage over Elisp/Rep as a
> *configuration* language.  it is a much nicer programming and
> extension language, but most people really only set variables, bind
> events and write simple hook procedures, and Elisp/Rep is just fine
> for that.

Look at the messy "closures" in Rep -- backquoting from hell.  The
problem with Lisp is it doesn't scale well... things get a little more
interesting and coding them gets a lot harder.

> but Scheme/Guile could offer some real, tangible advantages in window
> management context if it were used more fully.  most of SCWM Scheme
> code uses it as a glorified Elisp.
> 
> and Guile is not in any danger, IMHO.

I hope you're right.  I really want a single Scheme/Lisp implementation
to win and right now I don't think Guile is easy enough to get started
with that enough people would choose it to use as their embedded
language.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 12:16:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA27396
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 12:16:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA27393
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 28 Sep 1999 12:16:10 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11VzrJ-0001bmC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Tue, 28 Sep 1999 12:12:05 -0400 (EDT) 
Message-Id: <m11VzrJ-0001bmC@localhost>
Date: Tue, 28 Sep 1999 12:12:05 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: scwm-discuss@SCWM.MIT.EDU
CC: gjb@cs.washington.edu, Hubert.Canon@irisa.fr, sds@eho.eaglets.com,
        bob@rattlesnake.com
In-reply-to: <19990928111849.A2398@youkaidi.irisa.fr> (message from Hubert
	Canon on Tue, 28 Sep 1999 11:18:49 +0200)
Subject: Re: Scwm-0.99.3 mostly successful
Reply-to: bob@rattlesnake.com
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> <m11VfZS-0001bmC@localhost> <qrremfkw5gw.fsf@elwha.cs.washington.edu> <m11VgQ6-0001bmC@localhost> <19990928104811.A1542@youkaidi.irisa.fr> <19990928111849.A2398@youkaidi.irisa.fr>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

[Looking for instances of button-1 deprecated, etc]

The problem was hidden in my spare-blue.scwmrc file!

Hubert Canon <Hubert.Canon@irisa.fr> identified the problem.

In the section on

     ;; -----------------------------------;;
     ;; how to put buttons on the titlebar ;;
     ;; -----------------------------------;;
 

I had incorporated an `add-button' function from
sample.scwmrc/sds.scwmrc that appended a number to the string
"button-", thereby creating the previously unfound instances of
`button-1', `button-2', and `button-3'.

Hubert Canon figured this out and changed the code to prepend either
"left-" or "right-" to the string of "button-" followed by a number.

The good news is that this gets rid of the `button-1 deprecated' messages.

The bad news is that `set-button-face!' expects the number sequence
that determines which button is which on a title bar
to look as follows:

    left side            right side
    1  3  5                 6  4  2

but the new `add-button' code labels the buttons:

    left side            right side
    1  2  3                 3  2  1

which confuses `set-button-face!'.

So I deleted the `add-button' code altogether and replaced that
section of spare-blue.scwmrc with the following.

On a quick test, this works as expected.  I would appreciate comments
-- is this really right?



    ;; ----------------------------------------;;
    ;; how to bind a mouse button to an action ;;
    ;; ----------------------------------------;;

;; As of 1999 Sep 28, title bar buttons are numbered in two different
;; ways, depending on which functions are called.

;; The old way, now deprecated, referred to button-1, button-2, 
;; button-3,  and so on.  The sequence on the title bar went like this:

;;    left side            right side
;;    1  3  5                 6  4  2

;; This sequence is used by  `set-button-face!' to determine which
;; button location receives which face

;; However, titlebar buttons are now labeled `left-button-1', 
;; `left-button-2', `right-button-2',`right-button-1', and so on.

;; The sequence on the title bar goes like this:

;; left side                                            right side
;; left-button-1 left-button-2       right-button-2 right-button-1

;; This sequence is used by `bind-mouse' to determine which button
;; location carries out which action when pressed.

;; The `set-button-face!' function takes the arguments:
;;
;;    BUTTON-NUMBER  ACTION
;;
;; where the BUTTON-NUMBER is 1, 3, 5 for the left side and 6, 4, 2
;; for the right side of the titlebar.


;; In a titlebar, the `bind-mouse' function takes the arguments:
;;
;;    TITLE-BAR-BUTTON-NAME  MOUSE-BUTTON  PROCEDURE-INVOKED
;;
;; where TITLE-BAR-BUTTON-NAME is a string giving the mouse button number
;; MOUSE-BUTTON is the left, middle, or right mouse button, 
;; numbered 1, 2, 3
;;
;; More generally speaking,  TITLE-BAR-BUTTON-NAME  is  CONTEXTS 
;; and is a list of event-contexts (e.g., '(left-button-1 frame-sides)) 
;; 
;; The contexts include:
;; 'window
;; 'title
;; 'icon
;; 'root
;; 'frame-corners
;; 'frame-sides
;; 'client-window
;; 'root-window
;; 'left-button-N  (N=1-5)
;; 'right-button-N (N=1-5)


    ;; -----------------------------;;
    ;; set button faces on titlebar ;;
    ;; -----------------------------;;

;; This adds the button faces to the titlebar, in all decors.

;; left-most button, the action of which is a menu
(map (lambda (decor) 
       (with-decor (cdr decor) (set-button-face! 1 prog-face ))) 
     decor-list)

;; second to left-most button, the action of which is to toggle size
(map (lambda (decor) 
       (with-decor (cdr decor) (set-button-face! 3 up-down-arrow-face))) 
     decor-list)

;; right-most button, the action of which to delete the window
(map (lambda (decor) 
       (with-decor (cdr decor) (set-button-face! 2 stylized-X-face))) 
     decor-list)

;; The second to right-most button does not have a particular face
;; specified and defaults to a small square; its action is to iconify
;; the window.

    ;; -------------------------------;;
    ;; titlebar button mouse bindings ;;
    ;; -------------------------------;;

;; context:            left-most titlebar button
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  popup-small-ops
(bind-mouse 'left-button-1 1 popup-small-ops)

;; context:            second to left-most titlebar button
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  vertical-toggle-maximize
(bind-mouse 'left-button-2 1 vertical-toggle-maximize)

;; context:            second to right-most titlebar button
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  iconify
(bind-mouse 'right-button-2 1 iconify)

;; context:            right-most titlebar button
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  delete-window
(bind-mouse 'right-button-1 1 delete-window)

    ;;;; end titlebar button mouse bindings ;;;;







-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 12:21:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA27435
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 12:21:10 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA27432
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 28 Sep 1999 12:21:07 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA27436; Tue, 28 Sep 1999 09:21:03 -0700 (PDT)
To: bob@rattlesnake.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 mostly successful
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> <m11VfZS-0001bmC@localhost> <qrremfkw5gw.fsf@elwha.cs.washington.edu> <m11VgQ6-0001bmC@localhost> <19990928104811.A1542@youkaidi.irisa.fr> <19990928111849.A2398@youkaidi.irisa.fr> <m11VzrJ-0001bmC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Sep 1999 09:21:02 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Tue, 28 Sep 1999 12:12:05 -0400 (EDT)"
Message-ID: <qrrd7v3t3bl.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Robert J. Chassell" <bob@rattlesnake.com> writes:

> [Looking for instances of button-1 deprecated, etc]
> 
> The problem was hidden in my spare-blue.scwmrc file!

<snip>

> So I deleted the `add-button' code altogether and replaced that
> section of spare-blue.scwmrc with the following.
> 
> On a quick test, this works as expected.  I would appreciate comments
> -- is this really right?

<snip>

What's wrong with the `add-left-button' and `add-right-button' from
system.scwmrc?  I could move these into flux.scm for sharing among
.scwmrcs.

What do you think?

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 12:26:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA27511
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 12:26:44 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ardon.verisity.com (ardon.verisity.com [192.116.92.65])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA27508
	for <scwm-discuss@scwm.mit.edu>; Tue, 28 Sep 1999 12:26:36 -0400
Received: from alps.verisity.com (alps [192.116.92.27])
	by ardon.verisity.com (8.8.6/8.8.6) with ESMTP id SAA28474;
	Tue, 28 Sep 1999 18:25:03 +0200 (IST)
Received: (from cmm@localhost)
	by alps.verisity.com (8.8.8+Sun/8.8.8) id SAA09095;
	Tue, 28 Sep 1999 18:25:01 +0200 (IST)
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Solaris + setjmp = success
References: <s3g0zz16vn.fsf@verisity.com> <qrriu4vt62c.fsf@elwha.cs.washington.edu> <s3btan11qx.fsf@verisity.com> <qrrg0zzt4ne.fsf@elwha.cs.washington.edu>
Organization: who? me?
From: Michael Livshin <cmm@verisity.com>
In-Reply-To: Greg Badros's message of "28 Sep 1999 08:52:21 -0700"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 28 Sep 1999 18:25:01 +0200
Message-ID: <s37llb0zs2.fsf@verisity.com>
Lines: 56
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> > *cough*
> 
> :-).  In my defense, I never really looked at the problem because I
> choose not to debug problems that I can't reproduce.  I was waiting to
> build Scwm on Solaris for myself to look into the issue, and kept
> putting that off.

sorry if I sound too critical, I'm very grumpy today.  people who have
the gall to make demands of free software maintainers really tick me
off, so I hope I don't sound like one ;).

> Then I think it was mostly because of Sawmill's relative simplicity.
> Also, Scwm needs more work put into the system.scwmrc.

fair enough.

> > tragedy?  why?
> > nobody's exactly rushing to replace Elisp with Scheme, because Elisp, warts
> > and all, is *good enough*, that is, Turing-complete and parenthetical.
> 
> But ELisp has a huge existing code base.  When we have a chance to do it 
> right, we must.

fair enough, again.

> Look at the messy "closures" in Rep -- backquoting from hell.  The
> problem with Lisp is it doesn't scale well... things get a little more
> interesting and coding them gets a lot harder.

yes.  but it gets harder for extension authors, not users, and that's
my point.  how do you use a package and customize it?  you set
variables and write hooks.  these are the patterns that Emacs pounded
into users' heads, and there's no difference (wrt Scheme and Lisp) if
you (the user) stick to these patterns.  and most users do, because
all well-written Emacs packages offer exactly these ways to customize
their functionality.

I guess what I'm really struggling to say here is that for Scheme to
offer genuine advantages for the *user*, it has to force the user to
use paradigms that are Scheme specific.  bah, not force -- convince.
and no, I can't think of any obvious things at this point.

the other way for Scheme/Guile to "win" is to be of an obvious
advantage for the developers, so that users would use it because
the developer uses it.  well, here I'm repeating you ;)

> Greg

--mike

-- 
Don't trust these UNIX people.  They are all demons.  They kill their
parents and fork children.  I don't know how they could do this with
their balls cut off but they manage.                       --anonymous

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 12:30:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA27584
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 12:30:50 -0400
Received: from mailhub-dmz4.bloomberg.net (mailhub-dmz4.bloomberg.net [205.216.112.158])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA27579
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 28 Sep 1999 12:30:46 -0400
Received: from blinky.bloomberg.com by mailhub-dmz4.bloomberg.net with ESMTP; Tue, 28 Sep 1999 12:29:26 -0400
Received: (from hjstein@localhost)
	by blinky.bloomberg.com (8.9.3/8.9.3) id MAA19875;
	Tue, 28 Sep 1999 12:28:29 -0400
X-Authentication-Warning: blinky.bloomberg.com: hjstein set sender to hjstein@bfr.co.il using -f
To: Christian Lynbech <chl@tbit.dk>
Cc: guile@sourceware.cygnus.com, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Guile GC behaviour
References: <qrrogeouffb.fsf@elwha.cs.washington.edu> <xy7u2oghqrg.fsf@thalamus.nada.kth.se> <qrrg0zzvrvt.fsf@elwha.cs.washington.edu> <m3u2of67wn.fsf@behemoth.dethfart.org> <qrrso3ztxvg.fsf@elwha.cs.washington.edu> <ofwvtbmsmv.fsf@chl.tbit.dk>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 28 Sep 1999 12:28:29 -0400
In-Reply-To: Christian Lynbech's message of "28 Sep 1999 08:56:08 +0200"
Message-ID: <kiwaeq780gi.fsf@blinky.bloomberg.com>
Lines: 59
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Christian Lynbech <chl@tbit.dk> writes:

 > Even though guile calls malloc for other things than heap segments
 > (for instance in scm_makstr) this would at least be able to
 > demonstrate whether or not the growth in process size is (primarily)
 > due to heap expansion or "genuine" memory leaks elsewhere.

Thinking that scm_makstr called malloc directly reminded me of a bug
in STk where it wasn't keeping track of the amount of memory allocated
to large structures - strings, vectors & bignums, if I recall
correctly.  The effect of this was that the STk binary could blow up 
to huge sizes by doing a handful of operations which garbaged lots of
these objects, such as string appends.

So, I took a look at the code & saw that it doesn't call malloc
directly, it calls scm_must_malloc which seems to count (in
scm_mallocated) the amount of memory allocated & will gc if a certain
limit (scm_mtrigger) is surpassed.  It will increase scm_mtrigger (by
~50%) if the total malloced after gc + the new malloc is close
enough to being bigger than the trigger.

Similarly, SCM_NEWCELL pops cells off the free list & will gc when the
list is empty, and then might grow the heap (calls alloc_some_heap,
making a new heap segment 2x the size of the last).

So, it seems like there isn't a problem here, namely that aside from
problems such as with gd-stats, gc will properly trigger.

Possibilities off hand:
 1. some stray mallocs laying around - maybe everything doesn't go
    through scm_must_malloc, scm_must_realloc, or SCM_NEWCELL (in
    guile or in scwm).
 2. An accounting problem I missed in the above.
 3. Misuse of scm_must_malloc, scm_must_realloc or SCM_NEWCELL which
    ends up mallocing/reallocing stuff which isn't pointed to (in
    guile or in scwm).
 4. The fact that scm_mtrigger (and I guess the number of heaps) is
    never decreased.
 5. Memory fragmentation.

Re: 4 - One could tick the limit a few times, forcing up large limits,
followed by freeing everything.  After this, guile will allow things
to grow to these large limits each time before gc is called again.
So, if you use 30mb once, you're guaranteed to keep growing to 30mb
over & over again since guile will never gc until you hit the high
water mark.

Re: 5 - I suppose usage patterns could easily lead to not much
memory being in actual use, but the OS being unable to reuse it.

Point 5 could easily be the case with scwm (I'm thinking of lots of
decorations & pixmaps).  Printing the four values (scm_mtrigger, total
heap size, scm_mallocated & scm_cells_allocated) before & after each
gc should be enough to see.

-- 
Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 12:31:03 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA27595
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 12:31:03 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA27590
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 28 Sep 1999 12:31:00 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA27443; Tue, 28 Sep 1999 09:30:55 -0700 (PDT)
To: bob@rattlesnake.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 mostly successful
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> <m11VfZS-0001bmC@localhost> <qrremfkw5gw.fsf@elwha.cs.washington.edu> <m11VgQ6-0001bmC@localhost> <19990928104811.A1542@youkaidi.irisa.fr> <19990928111849.A2398@youkaidi.irisa.fr> <m11VzrJ-0001bmC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Sep 1999 09:30:55 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Tue, 28 Sep 1999 12:12:05 -0400 (EDT)"
Message-ID: <qrrbtant2v4.fsf@elwha.cs.washington.edu>
Lines: 81
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Here's another response, addressing the lower level details of what you
asked (I wanted to get the higher level answer out first).


"Robert J. Chassell" <bob@rattlesnake.com> writes:

<snip>

> The good news is that this gets rid of the `button-1 deprecated' messages.

Yes, good.

> The bad news is that `set-button-face!' expects the number sequence
> that determines which button is which on a title bar
> to look as follows:
> 
>     left side            right side
>     1  3  5                 6  4  2
> 
> but the new `add-button' code labels the buttons:
> 
>     left side            right side
>     1  2  3                 3  2  1
> 
> which confuses `set-button-face!'.
> 
> So I deleted the `add-button' code altogether and replaced that
> section of spare-blue.scwmrc with the following.
> 
> On a quick test, this works as expected.  I would appreciate comments
> -- is this really right?

There is also `set-left-button-face!' and `set-right-button-face!'

> ;; The `set-button-face!' function takes the arguments:
> ;;
> ;;    BUTTON-NUMBER  ACTION
> ;;
> ;; where the BUTTON-NUMBER is 1, 3, 5 for the left side and 6, 4, 2
> ;; for the right side of the titlebar.

I'd not even mention this -- set-button-face! now has clear references
to the scheme wrappers that are more natural.

> ;; In a titlebar, the `bind-mouse' function takes the arguments:
> ;;
> ;;    TITLE-BAR-BUTTON-NAME  MOUSE-BUTTON  PROCEDURE-INVOKED

And there is also an immediate-proc -- something that gets invoked right 
away. 

> ;; where TITLE-BAR-BUTTON-NAME is a string giving the mouse button number
> ;; MOUSE-BUTTON is the left, middle, or right mouse button, 
> ;; numbered 1, 2, 3
> ;;
> ;; More generally speaking,  TITLE-BAR-BUTTON-NAME  is  CONTEXTS 
> ;; and is a list of event-contexts (e.g., '(left-button-1 frame-sides)) 
> ;; 
> ;; The contexts include:
> ;; 'window
> ;; 'title
> ;; 'icon
> ;; 'root
> ;; 'frame-corners
> ;; 'frame-sides
> ;; 'client-window
> ;; 'root-window
> ;; 'left-button-N  (N=1-5)
> ;; 'right-button-N (N=1-5)

Though I love that someone is thinking about this kind of documentation,
I'm a little bit concerned about having it in a .scwmrc that I'm not
personally maintaining.  I'd rather have patches to the CONCEPT
documentation, e.g., in binding.c, that gets automatically generated and 
I'm more likely to keep up to date.

<snip>

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 12:32:53 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA27649
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 12:32:53 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from blinky.bfr.co.il (hjstein@morannon.bfr.co.il [192.116.142.129])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA27645
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 28 Sep 1999 12:32:49 -0400
Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id SAA11093; Tue, 28 Sep 1999 18:32:42 +0200
Date: Tue, 28 Sep 1999 18:32:42 +0200
Message-Id: <199909281632.SAA11093@blinky.bfr.co.il>
From: "Harvey J. Stein" <hjstein@bfr.co.il>
To: Christian Lynbech <chl@tbit.dk>
Cc: guile@sourceware.cygnus.com, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Guile GC behaviour
References: <qrrogeouffb.fsf@elwha.cs.washington.edu> <xy7u2oghqrg.fsf@thalamus.nada.kth.se> <qrrg0zzvrvt.fsf@elwha.cs.washington.edu> <m3u2of67wn.fsf@behemoth.dethfart.org> <qrrso3ztxvg.fsf@elwha.cs.washington.edu> <ofwvtbmsmv.fsf@chl.tbit.dk>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Christian Lynbech <chl@tbit.dk> writes:

 > Even though guile calls malloc for other things than heap segments
 > (for instance in scm_makstr) this would at least be able to
 > demonstrate whether or not the growth in process size is (primarily)
 > due to heap expansion or "genuine" memory leaks elsewhere.

Thinking that scm_makstr called malloc directly reminded me of a bug
in STk where it wasn't keeping track of the amount of memory allocated
to large structures - strings, vectors & bignums, if I recall
correctly.  The effect of this was that the STk binary could blow up 
to huge sizes by doing a handful of operations which garbaged lots of
these objects, such as string appends.

So, I took a look at the code & saw that it doesn't call malloc
directly, it calls scm_must_malloc which seems to count (in
scm_mallocated) the amount of memory allocated & will gc if a certain
limit (scm_mtrigger) is surpassed.  It will increase scm_mtrigger (by
~50%) if the total malloced after gc + the new malloc is close
enough to being bigger than the trigger.

Similarly, SCM_NEWCELL pops cells off the free list & will gc when the
list is empty, and then might grow the heap (calls alloc_some_heap,
making a new heap segment 2x the size of the last).

So, it seems like there isn't a problem here, namely that aside from
problems such as with gd-stats, gc will properly trigger.

Possibilities off hand:
 1. some stray mallocs laying around - maybe everything doesn't go
    through scm_must_malloc, scm_must_realloc, or SCM_NEWCELL (in
    guile or in scwm).
 2. An accounting problem I missed in the above.
 3. Misuse of scm_must_malloc, scm_must_realloc or SCM_NEWCELL which
    ends up mallocing/reallocing stuff which isn't pointed to (in
    guile or in scwm).
 4. The fact that scm_mtrigger (and I guess the number of heaps) is
    never decreased.
 5. Memory fragmentation.

Re: 4 - One could tick the limit a few times, forcing up large limits,
followed by freeing everything.  After this, guile will allow things
to grow to these large limits each time before gc is called again.
So, if you use 30mb once, you're guaranteed to keep growing to 30mb
over & over again since guile will never gc until you hit the high
water mark.

Re: 5 - I suppose usage patterns could easily lead to not much
memory being in actual use, but the OS being unable to reuse it.

Point 5 could easily be the case with scwm (I'm thinking of lots of
decorations & pixmaps).  Printing the four values (scm_mtrigger, total
heap size, scm_mallocated & scm_cells_allocated) before & after each
gc should be enough to see.

-- 
Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 12:42:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA27944
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 12:42:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA27937
	for <scwm-discuss@scwm.mit.edu>; Tue, 28 Sep 1999 12:42:46 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA27459; Tue, 28 Sep 1999 09:42:25 -0700 (PDT)
To: Michael Livshin <cmm@verisity.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Solaris + setjmp = success
References: <s3g0zz16vn.fsf@verisity.com> <qrriu4vt62c.fsf@elwha.cs.washington.edu> <s3btan11qx.fsf@verisity.com> <qrrg0zzt4ne.fsf@elwha.cs.washington.edu> <s37llb0zs2.fsf@verisity.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Sep 1999 09:42:25 -0700
In-Reply-To: Michael Livshin's message of "28 Sep 1999 18:25:01 +0200"
Message-ID: <qrr905rt2by.fsf@elwha.cs.washington.edu>
Lines: 74
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Michael Livshin <cmm@verisity.com> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > > *cough*
> > 
> > :-).  In my defense, I never really looked at the problem because I
> > choose not to debug problems that I can't reproduce.  I was waiting to
> > build Scwm on Solaris for myself to look into the issue, and kept
> > putting that off.
> 
> sorry if I sound too critical, I'm very grumpy today.  people who have
> the gall to make demands of free software maintainers really tick me
> off, so I hope I don't sound like one ;).

It's allright... I just like being the one who's the most critical of
myself, that's all!  The important thing, of course, is to always learn
what I could've done differently to have found the problem myself.
Bottom line was that the only place I think I screwed up was not
reading the sigsetjmp man page carefully when I first made that change.
I strongly believe in my policy of not looking for bugs that I can't
reproduce:  first reproduce, then simplify, then solve.  Anything else
and I'm wasting my time.

> > Then I think it was mostly because of Sawmill's relative simplicity.
> > Also, Scwm needs more work put into the system.scwmrc.
> 
> fair enough.
> 
> > > tragedy?  why?
> > > nobody's exactly rushing to replace Elisp with Scheme, because Elisp, warts
> > > and all, is *good enough*, that is, Turing-complete and parenthetical.
> > 
> > But ELisp has a huge existing code base.  When we have a chance to do it 
> > right, we must.
> 
> fair enough, again.
> 
> > Look at the messy "closures" in Rep -- backquoting from hell.  The
> > problem with Lisp is it doesn't scale well... things get a little more
> > interesting and coding them gets a lot harder.
> 
> yes.  but it gets harder for extension authors, not users, and that's
> my point.  how do you use a package and customize it?  you set
> variables and write hooks.  these are the patterns that Emacs pounded
> into users' heads, and there's no difference (wrt Scheme and Lisp) if
> you (the user) stick to these patterns.  and most users do, because
> all well-written Emacs packages offer exactly these ways to customize
> their functionality.

But you also extend the software by writing code to more closely match
watch you want to do -- creating new abstractions to use as variables or 
hooks.

> I guess what I'm really struggling to say here is that for Scheme to
> offer genuine advantages for the *user*, it has to force the user to
> use paradigms that are Scheme specific.  bah, not force -- convince.
> and no, I can't think of any obvious things at this point.
> 
> the other way for Scheme/Guile to "win" is to be of an obvious
> advantage for the developers, so that users would use it because
> the developer uses it.  well, here I'm repeating you ;)

Hopefully it can offer genuine advantages to the users because it's
easier to develop with than alternatives, so the code coming out is of
higher quality and evolves more quickly and robustly.

I don't want to sound too skeptical of your point... I do believe your
basic claim that other Lisps are no harder for a user to set variables
and write simple hooks.  I just hope that that's not all the end user is 
interested in doing, and if they are they should just be using a GUI
configuration tool.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 13:41:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA28273
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 13:41:33 -0400
Received: from icomm.ca (icomm.ca [216.126.72.23])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA28270
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 28 Sep 1999 13:41:29 -0400
Received: from localhost (skeezix@localhost)
	by icomm.ca (8.9.3/8.9.3/iComm) with ESMTP id NAA32191
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 28 Sep 1999 13:41:04 -0400
X-Authentication-Warning: icomm.ca: skeezix owned process doing -bs
Date: Tue, 28 Sep 1999 13:41:04 -0400 (EDT)
From: Jeff Mitchell <skeezix@skeleton.org>
X-Sender: skeezix@icomm.ca
Reply-To: skeezix@skeleton.org
To: scwm-discuss@SCWM.MIT.EDU
Subject: Another pseudo-related Q
Message-ID: <Pine.LNX.4.10.9909281339450.30084-100000@icomm.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


	Are there any decent documents for the X11 Shape Extensions
available online? I might have a few books at home with scraps of info,
but I'm havin trouble finding good referances. (ie: The XFree86 manpages
have no detail at all). 

	I suppose once I get home I'll grab the sources for oclock or
daliclock and see how they tick, so to speak.

		jeff

--
"It's murder out there. You can't even travel around in your own micro
circuits without permission from 'Master Control Program'. I mean,
sending *ME* down here to play games.... Who does he calculate he is?"
-- Peter Jurasik as Crom, _Tron_


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 14:14:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA28507
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 14:14:24 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA28504
	for <scwm-discuss@scwm.mit.edu>; Tue, 28 Sep 1999 14:14:19 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id OAA02115
	for <scwm-discuss@scwm.mit.edu>; Tue, 28 Sep 1999 14:14:16 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma002108; Tue, 28 Sep 99 14:13:59 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id OAA24749; Tue, 28 Sep 1999 14:13:57 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id OAA30810; Tue, 28 Sep 1999 14:15:32 -0400
Date: Tue, 28 Sep 1999 14:15:32 -0400
Message-Id: <199909281815.OAA30810@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


In register.scm:

>  (define-public (get-register register)
>    "Return contents of Emacs register named REGISTER, or #f if none."
>    (assq-ref register-alist register))

either scwm is really quite a bit more advanced than we've been lead
to believe, or this function's documentation string should probably
say "Scwm register" rather than "Emacs register". :-)

I'm looking at window-configuration.scm and noticing that this stores
configuration information in an association list with the result of
(get-window) as the key.  This makes me wonder whether every window
object during the life of an scwm session is unique.  If so, then this
is safe.  I'm concerned about the possibility of a key in a window
configuration list having referred to a window that no longer exists
suddenly pointing to some different window.  As far as that goes, what
happens if the window doesn't exist anymore?  (I can find that out by
experimentation.)

gwm supported the notion of property lists on windows.  This provided
a very natural way of keeping information about windows around when
that information should disappear at the same time as the window.

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 14:16:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA28553
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 14:16:36 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA28548
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 28 Sep 1999 14:16:32 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA27602; Tue, 28 Sep 1999 11:16:25 -0700 (PDT)
To: skeezix@skeleton.org
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Another pseudo-related Q
References: <Pine.LNX.4.10.9909281339450.30084-100000@icomm.ca>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Sep 1999 11:16:24 -0700
In-Reply-To: Jeff Mitchell's message of "Tue, 28 Sep 1999 13:41:04 -0400 (EDT)"
Message-ID: <qrrwvtasxzb.fsf@elwha.cs.washington.edu>
Lines: 15
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jeff Mitchell <skeezix@skeleton.org> writes:

> 	Are there any decent documents for the X11 Shape Extensions
> available online? I might have a few books at home with scraps of info,
> but I'm havin trouble finding good referances. (ie: The XFree86 manpages
> have no detail at all). 
> 
> 	I suppose once I get home I'll grab the sources for oclock or
> daliclock and see how they tick, so to speak.

See:

tp://ftp.x.org/pub/R6.3/xc/doc/hardcopy/Xext/

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 14:25:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA28705
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 14:25:08 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA28702
	for <scwm-discuss@scwm.mit.edu>; Tue, 28 Sep 1999 14:25:04 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA27612; Tue, 28 Sep 1999 11:24:59 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: none
References: <199909281815.OAA30810@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Sep 1999 11:24:59 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Tue, 28 Sep 1999 14:15:32 -0400"
Message-ID: <qrru2oesxl0.fsf@elwha.cs.washington.edu>
Lines: 44
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> In register.scm:
> 
> >  (define-public (get-register register)
> >    "Return contents of Emacs register named REGISTER, or #f if none."
> >    (assq-ref register-alist register))
> 
> either scwm is really quite a bit more advanced than we've been lead
> to believe, or this function's documentation string should probably
> say "Scwm register" rather than "Emacs register". :-)

Woops.  Cut & paste gone awry!

> I'm looking at window-configuration.scm and noticing that this stores
> configuration information in an association list with the result of
> (get-window) as the key.  This makes me wonder whether every window
> object during the life of an scwm session is unique.  If so, then this
> is safe.  I'm concerned about the possibility of a key in a window
> configuration list having referred to a window that no longer exists
> suddenly pointing to some different window.  As far as that goes, what
> happens if the window doesn't exist anymore?  (I can find that out by
> experimentation.)

It is safe -- new windows all are distinct objects on the Scheme heap.

And when a window closes, the `window-valid?' predicate starts
returning #f instead of #t, and the printable form of the window becomes:

#<window (invalid)>

I'm not certain that all code that needs to check for invalid windows
does, but in principle there is no problem. (But thanks for raising the
issue!)

> gwm supported the notion of property lists on windows.  This provided
> a very natural way of keeping information about windows around when
> that information should disappear at the same time as the window.

`set-window-property!' and `window-property' are meant to be this.  They 
need to be used more pervasively as that is the correct way to do things.
This was what Maciej was working on when he got otherwise entangled.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 15:36:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA29036
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 15:36:59 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA29033
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 28 Sep 1999 15:36:40 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11W337-0001bmC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Tue, 28 Sep 1999 15:36:29 -0400 (EDT) 
Message-Id: <m11W337-0001bmC@localhost>
Date: Tue, 28 Sep 1999 15:36:29 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: scwm-discuss@SCWM.MIT.EDU, gjb@cs.washington.edu
In-reply-to: <qrrd7v3t3bl.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 28 Sep 1999 09:21:02 -0700)
Subject: Re: Scwm-0.99.3 mostly successful
Reply-to: bob@rattlesnake.com
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> <m11VfZS-0001bmC@localhost> <qrremfkw5gw.fsf@elwha.cs.washington.edu> <m11VgQ6-0001bmC@localhost> <19990928104811.A1542@youkaidi.irisa.fr> <19990928111849.A2398@youkaidi.irisa.fr> <m11VzrJ-0001bmC@localhost> <qrrd7v3t3bl.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

   What's wrong with the `add-left-button' and `add-right-button' from
   system.scwmrc?  

Haven't looked at them, but they sound like a good idea.  When I get a
chance I will take a look.

    I could move these into flux.scm for sharing among   .scwmrcs.

Yes -- that would be helpful.  The way I have set it up now works, but
is awkward.  I need to redo that section properly with functions like
`add-right-button' and `set-right-button-face!'

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 16:17:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA29251
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 16:17:57 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA29244
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 28 Sep 1999 16:17:43 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id NAA27732; Tue, 28 Sep 1999 13:17:34 -0700 (PDT)
To: bob@rattlesnake.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 mostly successful
References: <m11VeoS-0001bmC@localhost> <qrrk8pcw7tp.fsf@elwha.cs.washington.edu> <m11VfZS-0001bmC@localhost> <qrremfkw5gw.fsf@elwha.cs.washington.edu> <m11VgQ6-0001bmC@localhost> <19990928104811.A1542@youkaidi.irisa.fr> <19990928111849.A2398@youkaidi.irisa.fr> <m11VzrJ-0001bmC@localhost> <qrrd7v3t3bl.fsf@elwha.cs.washington.edu> <m11W337-0001bmC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Sep 1999 13:17:33 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Tue, 28 Sep 1999 15:36:29 -0400 (EDT)"
Message-ID: <qrrogemssde.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Robert J. Chassell" <bob@rattlesnake.com> writes:

>    What's wrong with the `add-left-button' and `add-right-button' from
>    system.scwmrc?  
> 
> Haven't looked at them, but they sound like a good idea.  When I get a
> chance I will take a look.
> 
>     I could move these into flux.scm for sharing among   .scwmrcs.
> 
> Yes -- that would be helpful.  The way I have set it up now works, but
> is awkward.  I need to redo that section properly with functions like
> `add-right-button' and `set-right-button-face!'

Ok, they, along with `reset-buttons!' are now in flux.scm.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 18:28:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA30135
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 18:28:44 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA30132
	for <scwm-discuss@scwm.mit.edu>; Tue, 28 Sep 1999 18:28:38 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA28008; Tue, 28 Sep 1999 15:28:34 -0700 (PDT)
To: scwm-discuss@scwm.mit.edu
Subject: New guile-gtk-28Sep99.tar.gz
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Sep 1999 15:28:34 -0700
Message-ID: <qrremfismb1.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I just built a new guile-gtk after Marius got a most wonderful bug fix
into the guile-gtk CVS repository.  Get it from our web page:

http://scwm.mit.edu/

Specifically:

ftp://scwm.mit.edu/pub/scwm/support/guile-gtk-28Sep99.tar.gz
ftp://scwm.mit.edu/pub/scwm/SRPMS/guile-gtk-28Sep99-1gjb.src.rpm
ftp://scwm.mit.edu/pub/scwm/RPMS/i386/guile-gtk-28Sep99-1gjb.i386.rpm
ftp://scwm.mit.edu/pub/scwm/RPMS/alpha/guile-gtk-28Sep99-1gjb.alpha.rpm


The big thing that this enables is more robust use of the guile-gtk
toolkit; in particular the listbox format for the "Scwm Preference" menu 
is now stable!  (In contrast to the notebook format which has worked
reasonably well and been stable since April-ish)

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 18:58:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA30315
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 18:58:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA30312
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 28 Sep 1999 18:58:39 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id SAA25776;
	Tue, 28 Sep 1999 18:58:37 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id SAA16247;
	Tue, 28 Sep 1999 18:58:36 -0400 (EDT)
Date: Tue, 28 Sep 1999 18:58:36 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: Greg Badros <gjb@cs.washington.edu>
cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: New guile-gtk-28Sep99.tar.gz
In-Reply-To: <qrremfismb1.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9909281849000.3742-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 28 Sep 1999, Greg Badros wrote:

> I just built a new guile-gtk after Marius got a most wonderful bug fix
> into the guile-gtk CVS repository.  Get it from our web page:

Greg,
	Do you have any sense of how different the CVS guile-gtk is from
guile-gtk-0.16?
	Where does one hear about progress in guile-gtk development - the
web page referenced off of the GTK+ page
(http://www.ping.de/sites/zagadka/guile-gtk/) hasn't changed in a long
time.
	I was just about to try installing gtk+, guile, and guile-gtk in 
public space on several platforms here (HP, SGI, and Sun).  I'd like to
find the most stable of each.

Steve

P.S.  Anyone ever tried using RPM to install and manage packages on a
non-linux system? Specificly Solaris, HP-UX, or Irix?


-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 19:59:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA30593
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 19:59:33 -0400
Received: from vienna3.his.com (root@vienna3.his.com [216.200.68.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA30588
	for <scwm-discuss@scwm.mit.edu>; Tue, 28 Sep 1999 19:59:27 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by vienna3.his.com (8.9.3/8.9.3) with ESMTP id TAA01405
	for <scwm-discuss@scwm.mit.edu>; Tue, 28 Sep 1999 19:59:23 -0400 (EDT)
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id TAA12937
	for <scwm-discuss@scwm.mit.edu>; Tue, 28 Sep 1999 19:59:22 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id TAA09482; Tue, 28 Sep 1999 19:59:53 -0400
Date: Tue, 28 Sep 1999 19:59:53 -0400
Message-Id: <199909282359.TAA09482@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: non-north gravity problems (current CVS, 0.99.3)
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


A window with southern gravity and a title bar gets moved up
(title-bar-height - 16) pixels when it is first placed.  I have been
looking through the code trying to figure out why, but so far, I
haven't found the reason.  This problem is easy to reproduce.  Using
the attached .scwmrc file, run 

xterm -geometry -0-0 &

Notice that the window's bottom corner is several pixels above the
bottom of the screen.  Each restart of scwm causes the window to move
up more.  You can see that the window does not move when the title bar
is removed upon shutdown (correct) but does move again when the window
is decorated in the newly restarted scwm.

I have also observed some problems in what (window-configuration)
returns when called from an after-new-window-hook but I'll report on
that later when I have more information about it.  I don't know
whether it is related.

Here's the .scwmrc:

    (use-scwm-modules base
		      style
		      decor
		      face
		      winops
		      background
    )

    (bind-key 'all "C-S-A-r" restart)

    (define q-decor (make-decor))
    (with-decor q-decor
		(title-style #:justify 'left #:relief 'flat #:height '60)
		(bind-mouse 'window "M-1" lower-window lower-window)
		(bind-mouse 'window "M-2" interactive-move)
		(bind-mouse 'window "M-3" raise-window raise-window)
    )

    (window-style "*"
		  #:show-icon #f
		  #:border-width 10
		  #:highlight-bg "#fbe"
		  #:bg "#393"
		  #:use-decor q-decor
    )

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 20:13:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA30771
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 20:13:26 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA30764
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 28 Sep 1999 20:13:20 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA28243; Tue, 28 Sep 1999 17:13:06 -0700 (PDT)
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: New guile-gtk-28Sep99.tar.gz
References: <Pine.GHP.4.10.9909281849000.3742-100000@rukbat.cs.unc.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Sep 1999 17:13:06 -0700
In-Reply-To: Stephen Tell's message of "Tue, 28 Sep 1999 18:58:36 -0400 (EDT)"
Message-ID: <qrraeq6shgt.fsf@elwha.cs.washington.edu>
Lines: 46
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> On 28 Sep 1999, Greg Badros wrote:
> 
> > I just built a new guile-gtk after Marius got a most wonderful bug fix
> > into the guile-gtk CVS repository.  Get it from our web page:
> 
> Greg,
> 	Do you have any sense of how different the CVS guile-gtk is from
> guile-gtk-0.16?

There are some substantial, important bug fixes.  

> 	Where does one hear about progress in guile-gtk development - the
> web page referenced off of the GTK+ page
> (http://www.ping.de/sites/zagadka/guile-gtk/) hasn't changed in a long
> time.

New page is:

http://erin.netpedia.net/guile-gtk/

and new mailing list information.

List-Archive: <http://sourceware.cygnus.com/ml/guile-gtk/>
List-Post: <mailto:guile-gtk@sourceware.cygnus.com>
List-Help: <mailto:guile-gtk-help@sourceware.cygnus.com>,
           <http://sourceware.cygnus.com/ml/#faqs>


> 	I was just about to try installing gtk+, guile, and guile-gtk in 
> public space on several platforms here (HP, SGI, and Sun).  I'd like to
> find the most stable of each.

I think we're about to do a guile-gtk-0.17 release-- Ariel Ross is the
new maintainer.

This snapshot is the most stable (at least until 0.17 comes out).

> P.S.  Anyone ever tried using RPM to install and manage packages on a
> non-linux system? Specificly Solaris, HP-UX, or Irix?

Not me.  Seems like it should work... people could start making RPMs for 
them based in, say, /gnu or something like that.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Sep 28 20:21:31 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA30922
	for scwm-discuss-outgoing; Tue, 28 Sep 1999 20:21:31 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA30916
	for <scwm-discuss@scwm.mit.edu>; Tue, 28 Sep 1999 20:21:27 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA28256; Tue, 28 Sep 1999 17:21:21 -0700 (PDT)
To: Mark Naumann <mark.naumann@motorola.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: SCWM Startup Problem
References: <14321.11115.296710.838418@gargle.gargle.HOWL> <37F12CDF.8CC9BBA@motorola.com> <qrrk8pasog5.fsf@elwha.cs.washington.edu> <37F159DD.84F00012@motorola.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 28 Sep 1999 17:21:20 -0700
In-Reply-To: Mark Naumann's message of "Tue, 28 Sep 1999 17:14:21 -0700"
Message-ID: <qrr905qsh33.fsf@elwha.cs.washington.edu>
Lines: 70
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mark Naumann <mark.naumann@motorola.com> writes:

> Greg:
> 
> Thanks for all your great help.  I'm surprised that you are able to respond
> to new messages on the scwm-discuss list almost instantaneously.  (Do you
> develop scwm for a living?  How do you find the time?) You really are doing 
> a great job!  You've given me an reason to *study* scheme, so that I can
> use it with a real application...

Thanks-- I'm a PhD student and my research uses Scwm, but I really care
to ensure that the research is founded in reality, so I've done what I
can to cultivate a user community and have benefited tremendously from
having you all!  (I wish I could get paid to work on Scwm -- I'll be
looking for work this winter for after I have my PhD in the spring, but
I doubt I'll want to just work on Scwm then).

I'm really happy to hear that you're more interested in Scheme because
of Scwm... that's fantastic... see my lecture notes if you haven't already:

http://www.cs.washington.edu/education/courses/341/99su/scheme/scheme.html

> Great news.  The patches that you provided after scwm-0.99.3post are working.  
> (I can send the patches to image.c back to you if you need/want them.)  I 
> don't really know what I'm doing (yet), but I copied sections from 
> simple.scwmrc and system.scwmrc to create a startup file that brings up 
> a desktop.  I've attached it, because I think there are two BUGS to look at.
> (Search for "BUG" in the file.  I copied the console messages into there.)

I didn't get an attachment... can you resend?

> For the problem that I reported below... The last two lines are printed when
> I type ^C on the console.  ^C normally kills my processes by sending 
> an interrupt signal ('stty -a' returns 'intr = ^c')... looks like scwm
> is trapping that signal and printing that <<ERROR>> message below.  You 
> have to judge whether more ungrabs then grabs is a real error.

Will check.  It's probably just bad timing when pressing C-c.  We do
catch the signal as you surmised.

> Is there a way to have a virtual desktop... similar to olvwm (and fvwm)?  
> It looks like there is some type of pager in the two screenshots from the
> scwm home page.  (Do I have to download and build the fvwm pager? :-()  
> This is a feature that I cannot work without.

Yep.. unfortunately, we do not yet have a native pager-- this is
something I should add to the projects list.

> BTW.  I looked at your introduction to the constraints package... can you
> add some text that describes why a constraints package is useful and what
> it does?  You describe how to install and test the package, but not why
> one would want it.

I'm writing an academic paper now on Scwm that will try to address that
best.  Right now the short answer is "because it's cool" (and makes for
some very impressive demos).  The long answered is fleshed out in my
head, but not on paper.

> Would you like future messages to go to scwm-discuss?  I've kept them
> private, because you'd given me a hidden snapshot (scwm-0.99.3post.tar.gz
> and two patches to image.c.)

It wasn't all that hidden since it was in the top level, but I
appreciate that.  I've removed the snapshot (hey, it's outdated
already!).

And I've now enlarged our readership back to the scwm-discuss list.

Thanks!
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 02:36:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA31922
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 02:36:58 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mailhostnew.tbit.dk (mailhostnew.tbit.dk [194.182.135.150])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA31918
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 29 Sep 1999 02:36:46 -0400
Received: from chl (chl.tbit.dk [194.182.135.65])
	by mailhostnew.tbit.dk (8.9.3/8.9.3) with ESMTP id IAA15427;
	Wed, 29 Sep 1999 08:36:42 +0200 (MET DST)
Received: by tbit.dk
	via sendmail from stdin
	id <m11WDLn-000O9qC@chl> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Wed, 29 Sep 1999 08:36:27 +0200 (CEST) 
To: guile@sourceware.cygnus.com, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Guile GC behaviour
References: <qrrogeouffb.fsf@elwha.cs.washington.edu> <xy7u2oghqrg.fsf@thalamus.nada.kth.se> <qrrg0zzvrvt.fsf@elwha.cs.washington.edu> <m3u2of67wn.fsf@behemoth.dethfart.org> <qrrso3ztxvg.fsf@elwha.cs.washington.edu> <ofwvtbmsmv.fsf@chl.tbit.dk> <qrrk8pbt6hx.fsf@elwha.cs.washington.edu>
From: Christian Lynbech <chl@tbit.dk>
Date: 29 Sep 1999 08:36:27 +0200
In-Reply-To: Greg Badros's message of "28 Sep 1999 08:12:26 -0700"
Message-ID: <of3dvyteac.fsf@chl.tbit.dk>
Lines: 24
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> "Greg" == Greg Badros <gjb@cs.washington.edu> writes:

Greg> What will happen if GCing is turned off (and heap expansion is disabled)
Greg> and the heap runs out of space?

You should not turn gc off, guile would not survive long without it. 

However, the allocation of new heap segments is kind of orthogonal to
the gc process itself. The process goes something like this: when gc
is finished it estimates the fraction of the heap cleared up. If this
is too small, a new heap segment is allocated. 

If no new heap segments are ever allocated, execution (and gc) would
proceed until the existing heap runs full (in which case guile
probably rolls over and dies).


---------------------------+--------------------------------------------------
Christian Lynbech          | Ericsson Telebit A/S                       
Fax:   +45 8628 8186       | Fabrikvej 11, DK-8260 Viby J
Phone: +45 8628 8177 + 28  | email: chl@tbit.dk --- URL: http://www.tbit.dk
---------------------------+--------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 03:21:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA32109
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 03:21:51 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from finch-post-12.mail.demon.net (finch-post-12.mail.demon.net [194.217.242.41])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA32106
	for <scwm-discuss@scwm.mit.edu>; Wed, 29 Sep 1999 03:21:44 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by finch-post-12.mail.demon.net with esmtp (Exim 2.12 #1)
	id 11WE3Z-000FcA-0C
	for scwm-discuss@scwm.mit.edu; Wed, 29 Sep 1999 07:21:42 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id HAA01791
	for scwm-discuss@scwm.mit.edu; Wed, 29 Sep 1999 07:00:42 +0100
Date: Wed, 29 Sep 1999 07:00:42 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Better use of scheme
Message-ID: <19990929070042.V12703@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <s3g0zz16vn.fsf@verisity.com> <qrriu4vt62c.fsf@elwha.cs.washington.edu> <s3btan11qx.fsf@verisity.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3i
In-Reply-To: <s3btan11qx.fsf@verisity.com>
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Boomtime, Day 53 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Tue, Sep 28, 1999 at 05:42:30PM +0200, Michael Livshin wrote:

> but Scheme/Guile could offer some real, tangible advantages in window
> management context if it were used more fully. most of SCWM Scheme code
> uses it as a glorified Elisp.

[Looks at ~/.scwmrc] Guilty as charged.

The above is an interesting statement. What sorts of things do you have in
mind when you say the above? What sorts of things could the average
lisp-aware scwm user be doing in ~/.scwmrc that make it less "elisp like"?

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 04:08:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id EAA01690
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 04:08:59 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from petra.zesoi.fer.hr. (petra.zesoi.fer.hr [161.53.64.16])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id EAA01682
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 29 Sep 1999 04:08:39 -0400
Received: (from silovic@localhost) by petra.zesoi.fer.hr. (8.8.8/8.8.3 ZEMS) id JAA21678; Wed, 29 Sep 1999 09:54:13 +0200 (MET DST)
To: Christian Lynbech <chl@tbit.dk>
Cc: guile@sourceware.cygnus.com, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Guile GC behaviour
References: <qrrogeouffb.fsf@elwha.cs.washington.edu> <xy7u2oghqrg.fsf@thalamus.nada.kth.se> <qrrg0zzvrvt.fsf@elwha.cs.washington.edu> <m3u2of67wn.fsf@behemoth.dethfart.org> <qrrso3ztxvg.fsf@elwha.cs.washington.edu> <ofwvtbmsmv.fsf@chl.tbit.dk> <qrrk8pbt6hx.fsf@elwha.cs.washington.edu> <of3dvyteac.fsf@chl.tbit.dk>
From: Miroslav Silovic <silovic@zesoi.fer.hr>
Date: 29 Sep 1999 09:54:13 +0200
In-Reply-To: Christian Lynbech's message of "29 Sep 1999 08:36:27 +0200"
Message-ID: <7e905qrw4a.fsf@zesoi.fer.hr>
Lines: 17
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Christian Lynbech <chl@tbit.dk> writes:

> However, the allocation of new heap segments is kind of orthogonal
> to the gc process itself. The process goes something like this: when
> gc is finished it estimates the fraction of the heap cleared up. If
> this is too small, a new heap segment is allocated.

Another issue to consider: whenever you free a smob, you're supposed
to return the ammount of memory you freed. It is critical to return
the correct value (add up /only/ the memory blocks allocated with
scm_must_malloc; you shouldn't count the ones allocated with C
malloc). Errors in this cause guile to misjudge the ammount of memory
currently allocated, and trigger gc more and more often (or, worse,
grow heap more and more often).

-- 
How to eff the ineffable?

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 06:02:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA01905
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 06:02:36 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ardon.verisity.com (ardon.verisity.com [192.116.92.65])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA01902
	for <scwm-discuss@scwm.mit.edu>; Wed, 29 Sep 1999 06:02:29 -0400
Received: from alps.verisity.com (alps [192.116.92.27])
	by ardon.verisity.com (8.8.6/8.8.6) with ESMTP id MAA15139;
	Wed, 29 Sep 1999 12:00:54 +0200 (IST)
Received: (from cmm@localhost)
	by alps.verisity.com (8.8.8+Sun/8.8.8) id MAA20696;
	Wed, 29 Sep 1999 12:00:53 +0200 (IST)
To: Dave Pearson <davep@hagbard.demon.co.uk>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Better use of scheme
References: <19990929070042.V12703@hagbard.demon.co.uk>
Organization: who? me?
From: Michael Livshin <cmm@verisity.com>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 29 Sep 1999 12:00:52 +0200
Message-ID: <s3g0zyyr3f.fsf@verisity.com>
Lines: 57
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Dave Pearson writes:
> On Tue, Sep 28, 1999 at 05:42:30PM +0200, Michael Livshin wrote:

> > but Scheme/Guile could offer some real, tangible advantages in window
> > management context if it were used more fully. most of SCWM Scheme code
> > uses it as a glorified Elisp.

> [Looks at ~/.scwmrc] Guilty as charged.

> The above is an interesting statement. What sorts of things do you have in
> mind when you say the above? What sorts of things could the average
> lisp-aware scwm user be doing in ~/.scwmrc that make it less "elisp like"?

as I've said in some other place, I've no idea, it's just rhetoric.

hmmm...

well, I have an idea after all.  dunno if it would be easy to use for
a humble customizer, but it could be very powerful.  note also that
there is nothing inherently Scheme-specific about it.

what would be nice to see is some kind of window management
meta-protocol, implemented with Goops.  imagine that each new window,
upon presenting itself to the window manager, gets wrapped in an
object of the <wm-window> class, or its descendant.  so the protocol
operates on objects of classes <wm-window>, <wm-transient-window>,
<wm-gnome-window>, etc.

the protocol is comprised of several generic functions, among them:
[note in case it's not obvious: I'm not trying to be precise ;]

(define-generic (wm-place (w <wm-window>) (d <wm-desktop>)))
(define-generic (wm-decorate (w <wm-window>)))

etc.

you would define your own wm-window classes like this:

(define-wm-window-class <my-wm-window> (<wm-gnome-window>)
  ;; the `recognizer' predicate goes here:
  (lambda (w)
    (and (class-match "mumble")
         (title-match "here we go")))
  ... slots ...)

and then you would define your methods on them.

the wm-class recognition phase could get hairy from the implementation
standpoint, but other then that this scheme (ahem) certainly beats
hooks.

just some wild ideas,
--mike

-- 
Politics is non-euclidean.                           -- Robert Anton Wilson

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 10:03:17 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA02278
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 10:03:17 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA02274
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 29 Sep 1999 10:03:12 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11WKK4-0001bmC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Wed, 29 Sep 1999 10:03:08 -0400 (EDT) 
Message-Id: <m11WKK4-0001bmC@localhost>
Date: Wed, 29 Sep 1999 10:03:08 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: scwm-discuss@SCWM.MIT.EDU
CC: bob@rattlesnake.com
In-reply-to: <s3g0zyyr3f.fsf@verisity.com> (message from Michael Livshin on 29
	Sep 1999 12:00:52 +0200)
Subject: Re: Better use of scheme
Reply-to: bob@rattlesnake.com
References: <19990929070042.V12703@hagbard.demon.co.uk> <s3g0zyyr3f.fsf@verisity.com>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Michael Livshin wrote:

    ... Scheme/Guile could offer some real, tangible advantages in window
    management context if it were used more fully. most of SCWM Scheme code
    uses it as a glorified Elisp.

What would you suggest a person learn?

I am very seriously considering writing an Introduction to Guile and
Scwm for people who are not programmers.  My model is my `Programming
in Emacs Lisp, an Introduction' which was also aimed at `the
intelligent layman' who is not necessarily interested in programming,
but who does want to learn about customizing or extending his or her
work environment.

However, I know hardly anything about Guile or Scwm and would be very
interested in hearing what you suggest.  What should novices learn
that goes beyond what they would use in Emacs Lisp to write a small
extension?

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 10:03:53 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA02282
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 10:03:53 -0400
Received: from mailhub-dmz4.bloomberg.net (mailhub-dmz4.bloomberg.net [205.216.112.158])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA02279
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 29 Sep 1999 10:03:49 -0400
Received: from blinky.bloomberg.com by mailhub-dmz4.bloomberg.net with ESMTP; Wed, 29 Sep 1999 10:01:49 -0400
Received: (from hjstein@localhost)
	by blinky.bloomberg.com (8.9.3/8.9.3) id JAA30553;
	Wed, 29 Sep 1999 09:59:44 -0400
X-Authentication-Warning: blinky.bloomberg.com: hjstein set sender to hjstein@bfr.co.il using -f
To: Michael Livshin <cmm@verisity.com>
Cc: Dave Pearson <davep@hagbard.demon.co.uk>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Better use of scheme
References: <19990929070042.V12703@hagbard.demon.co.uk> <s3g0zyyr3f.fsf@verisity.com>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 29 Sep 1999 09:59:44 -0400
In-Reply-To: Michael Livshin's message of "29 Sep 1999 12:00:52 +0200"
Message-ID: <kiwr9jh6cof.fsf@blinky.bloomberg.com>
Lines: 44
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Michael Livshin <cmm@verisity.com> writes:

 > the protocol is comprised of several generic functions, among them:
 > [note in case it's not obvious: I'm not trying to be precise ;]
 > 
 > (define-generic (wm-place (w <wm-window>) (d <wm-desktop>)))
 > (define-generic (wm-decorate (w <wm-window>)))

This is exactly what I was thinking about for bindings.  I thought of
it when working with STk, which uses Tk.  It's a major headache trying
to get things right & override things properly in Tk in the face of
all the different ways of characterizing the class of objects a
binding applies to.  I was thinking that if one had an appropriate class
hierarchy for windows & events, one could then just do:

(define-method (bind (window <window-class-specifier>) (event <event-specifier>))
   ... Code for handling event in specified window)

When an event occurs, the window manager would just call
     
   (bind actual-window actual-event)

and the appropriate behavior will be invoked.

The same thing could be applied to decorations and all other sorts of
behaviors for the interaction between the window manager & the windows.

CLOS automatically allows you to:
  a) Specify general behaviors by making <window-class-specifier> the
     root of the window object class hierarcy,
  b) Override general behaviors by defining a bind method for a more
     specific class of methods, or for even a particular instance of a
     window (minor CLOS enhancement - should be easy enough), and
  c) Modify an existing behavior by using (next-method) to invoke the
     old behavior at the appropriate time.

In STk you can also inspect the generic functions to see what methods
are attached, as well as look at the code involved, so the whole thing
becomes both much cleaner & more transparent than with Tk.

-- 
Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 10:34:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA02539
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 10:34:24 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ardon.verisity.com (ardon.verisity.com [192.116.92.65])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA02536
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 29 Sep 1999 10:34:19 -0400
Received: from alps.verisity.com (alps [192.116.92.27])
	by ardon.verisity.com (8.8.6/8.8.6) with ESMTP id QAA21979;
	Wed, 29 Sep 1999 16:32:43 +0200 (IST)
Received: from verisity.com (localhost [127.0.0.1])
	by alps.verisity.com (8.8.8+Sun/8.8.8) with ESMTP id QAA21267;
	Wed, 29 Sep 1999 16:32:40 +0200 (IST)
Message-ID: <37F22308.6BA8B21D@verisity.com>
Date: Wed, 29 Sep 1999 16:32:40 +0200
From: Michael Livshin <cmm@verisity.com>
Reply-To: mlivshin@bigfoot.com
Organization: Llamedos
X-Mailer: Mozilla 4.6 [en] (X11; I; SunOS 5.5.1 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: bob@rattlesnake.com
CC: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Better use of scheme
References: <19990929070042.V12703@hagbard.demon.co.uk> <s3g0zyyr3f.fsf@verisity.com> <m11WKK4-0001bmC@localhost>
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Robert J. Chassell wrote:

> Michael Livshin wrote:
> 
>     ... Scheme/Guile could offer some real, tangible advantages in window
>     management context if it were used more fully. most of SCWM Scheme code
>     uses it as a glorified Elisp.
> 
> What would you suggest a person learn?

mmm...  looks like I really goofed up - everybody is jumping on that
single paragraph now. ;)

I didn't mean .scwmrc, but rather Scwm itself.  I don't know if .scwmrc
writing can get any easier than it is now, at least if you stick to
setting variables and hanging simple things on hooks, and Scheme doesn't
buy you alot here.

now, for more blue-sky ideas about the whole scriptable window
management
business, see my reply to Dave Pearson and Harvey Stein's followup.

> I am very seriously considering writing an Introduction to Guile and
> Scwm for people who are not programmers.  My model is my `Programming
> in Emacs Lisp, an Introduction' which was also aimed at `the
> intelligent layman' who is not necessarily interested in programming,
> but who does want to learn about customizing or extending his or her
> work environment.
> 
> However, I know hardly anything about Guile or Scwm and would be very
> interested in hearing what you suggest.  What should novices learn
> that goes beyond what they would use in Emacs Lisp to write a small
> extension?

my understanding is that currently, not alot.  Scwm's style framework
is very nice, though.  hey, I didn't contribute anything but rants to
Scwm; I guess Greg will answer your questions much better.

>     Robert J. Chassell                  bob@rattlesnake.com
>     Rattlesnake Enterprises             http://www.rattlesnake.com

--mike

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 10:45:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA02641
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 10:45:50 -0400
Received: from mailhub-dmz4.bloomberg.net (mailhub-dmz4.bloomberg.net [205.216.112.158])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA02635
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 29 Sep 1999 10:45:25 -0400
Received: from blinky.bloomberg.com by mailhub-dmz4.bloomberg.net with ESMTP; Wed, 29 Sep 1999 10:44:09 -0400
Received: (from hjstein@localhost)
	by blinky.bloomberg.com (8.9.3/8.9.3) id KAA30946;
	Wed, 29 Sep 1999 10:43:09 -0400
X-Authentication-Warning: blinky.bloomberg.com: hjstein set sender to hjstein@bfr.co.il using -f
To: mlivshin@bigfoot.com
Cc: bob@rattlesnake.com, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Better use of scheme
References: <19990929070042.V12703@hagbard.demon.co.uk> <s3g0zyyr3f.fsf@verisity.com> <m11WKK4-0001bmC@localhost> <37F22308.6BA8B21D@verisity.com>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 29 Sep 1999 10:43:09 -0400
In-Reply-To: Michael Livshin's message of "Wed, 29 Sep 1999 16:32:40 +0200"
Message-ID: <kiwhfkd6ao2.fsf@blinky.bloomberg.com>
Lines: 26
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Michael Livshin <cmm@verisity.com> writes:

 > Robert J. Chassell wrote:
 > mmm...  looks like I really goofed up - everybody is jumping on that
 > single paragraph now. ;)
 > 
 > I didn't mean .scwmrc, but rather Scwm itself.  I don't know if .scwmrc
 > writing can get any easier than it is now, at least if you stick to
 > setting variables and hanging simple things on hooks, and Scheme doesn't
 > buy you alot here.
 > 
 > now, for more blue-sky ideas about the whole scriptable window
 > management business, see my reply to Dave Pearson and Harvey
 > Stein's followup.

Another general question to be explored by someone looking for a
research project:
 - Can higher level constructs (continuation passing, force/delay,
   ...) improve window management?  Are there any opportunities for
   simplifying or generalizing or making things more powerful using
   such techniques?

-- 
Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 11:15:28 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA02838
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 11:15:28 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ardon.verisity.com (ardon.verisity.com [192.116.92.65])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA02835
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 29 Sep 1999 11:15:22 -0400
Received: from alps.verisity.com (alps [192.116.92.27])
	by ardon.verisity.com (8.8.6/8.8.6) with ESMTP id RAA01474;
	Wed, 29 Sep 1999 17:13:47 +0200 (IST)
Received: from verisity.com (localhost [127.0.0.1])
	by alps.verisity.com (8.8.8+Sun/8.8.8) with ESMTP id RAA21316;
	Wed, 29 Sep 1999 17:13:46 +0200 (IST)
Message-ID: <37F22CAA.4F8C34C3@verisity.com>
Date: Wed, 29 Sep 1999 17:13:46 +0200
From: Michael Livshin <cmm@verisity.com>
Reply-To: mlivshin@bigfoot.com
Organization: Llamedos
X-Mailer: Mozilla 4.6 [en] (X11; I; SunOS 5.5.1 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: "Harvey J. Stein" <hjstein@bfr.co.il>
CC: bob@rattlesnake.com, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Better use of scheme
References: <19990929070042.V12703@hagbard.demon.co.uk> <s3g0zyyr3f.fsf@verisity.com> <m11WKK4-0001bmC@localhost> <37F22308.6BA8B21D@verisity.com> <kiwhfkd6ao2.fsf@blinky.bloomberg.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Harvey J. Stein" wrote:
> 
> Another general question to be explored by someone looking for a
> research project:
>  - Can higher level constructs (continuation passing, force/delay,
>    ...) improve window management?  Are there any opportunities for
>    simplifying or generalizing or making things more powerful using
>    such techniques?

you are saying that the window manager desktop can be seen as some
kind of interpreter state, with all window-management actions changing
that state, right?

wow.  powerful idea.  the only real complication that I see right now
is that some actions are not reversible (i.e. if you close a window,
the window manager wouldn't know how to bring it back in the same
state.  on the other hand, that's what session management is for.
hmm...)

it's a pity that not a lot of people are looking for such research
projects ;)

> --
> Harvey Stein
> Bloomberg LP
> hjstein@bfr.co.il

--mike

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 12:04:30 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA03035
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 12:04:30 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from fielder.cs.washington.edu (fielder.cs.washington.edu [128.95.1.123])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA03032
	for <scwm-discuss@scwm.mit.edu>; Wed, 29 Sep 1999 12:04:26 -0400
Received: (csk@localhost) by fielder.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA07858; Wed, 29 Sep 1999 09:04:12 -0700 (PDT)
From: csk@cs.washington.edu (Craig Kaplan)
Message-Id: <199909291604.JAA07858@fielder.cs.washington.edu>
Subject: Re: Better use of scheme
To: hjstein@bfr.co.il (Harvey J. Stein)
Date: Wed, 29 Sep 1999 09:04:11 -0700 (PDT)
Cc: scwm-discuss@scwm.mit.edu
In-Reply-To: <kiwhfkd6ao2.fsf@blinky.bloomberg.com> from "Harvey J. Stein" at Sep 29, 99 10:43:09 am
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

> Another general question to be explored by someone looking for a
> research project:
>  - Can higher level constructs (continuation passing, force/delay,
>    ...) improve window management?  Are there any opportunities for
>    simplifying or generalizing or making things more powerful using
>    such techniques?

I would like to see an exploration of whether multiple dispatch 
(a la Dylan) could improve WM functionality.  My intuition tells me
that this might be a possible outlet for a language technique still
searching for its killer app.

-- 
Craig.              http://www.cs.washington.edu/homes/csk/
Counterfactuals: what would the world be like without them?

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 12:31:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA03282
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 12:31:19 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA03279
	for <scwm-discuss@scwm.mit.edu>; Wed, 29 Sep 1999 12:31:16 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA29461; Wed, 29 Sep 1999 09:31:09 -0700 (PDT)
To: Michael Livshin <cmm@verisity.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Better use of scheme
References: <19990929070042.V12703@hagbard.demon.co.uk> <s3g0zyyr3f.fsf@verisity.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Sep 1999 09:31:09 -0700
In-Reply-To: Michael Livshin's message of "29 Sep 1999 12:00:52 +0200"
Message-ID: <qrrvh8tr86q.fsf@elwha.cs.washington.edu>
Lines: 44
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Michael Livshin <cmm@verisity.com> writes:

> Dave Pearson writes:
> > On Tue, Sep 28, 1999 at 05:42:30PM +0200, Michael Livshin wrote:
> 
> > > but Scheme/Guile could offer some real, tangible advantages in window
> > > management context if it were used more fully. most of SCWM Scheme code
> > > uses it as a glorified Elisp.
> 
> > [Looks at ~/.scwmrc] Guilty as charged.
> 
> > The above is an interesting statement. What sorts of things do you have in
> > mind when you say the above? What sorts of things could the average
> > lisp-aware scwm user be doing in ~/.scwmrc that make it less "elisp like"?
> 
> as I've said in some other place, I've no idea, it's just rhetoric.
> 
> hmmm...
> 
> well, I have an idea after all.  dunno if it would be easy to use for
> a humble customizer, but it could be very powerful.  note also that
> there is nothing inherently Scheme-specific about it.
> 
> what would be nice to see is some kind of window management
> meta-protocol, implemented with Goops.  imagine that each new window,
> upon presenting itself to the window manager, gets wrapped in an
> object of the <wm-window> class, or its descendant.  so the protocol
> operates on objects of classes <wm-window>, <wm-transient-window>,
> <wm-gnome-window>, etc.
> 
> the protocol is comprised of several generic functions, among them:
> [note in case it's not obvious: I'm not trying to be precise ;]
> 
> (define-generic (wm-place (w <wm-window>) (d <wm-desktop>)))
> (define-generic (wm-decorate (w <wm-window>)))

<snip>

I'm very interested in all of this, but GOOPS wasn't available 2 years
ago when we started Scwm so we went with a more conventional framework.
Re-visiting those design decisions will happen later...  after I've some
experience with GOOPS.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 12:33:56 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA03337
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 12:33:56 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ftpbox.mot.com (ftpbox.mot.com [129.188.136.101])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA03333
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 29 Sep 1999 12:33:45 -0400
Received: [from pobox.mot.com (pobox.mot.com [129.188.137.100]) by ftpbox.mot.com (MOT-ftpbox 1.0) with ESMTP id LAA09708 for <scwm-discuss@SCWM.MIT.EDU>; Wed, 29 Sep 1999 11:33:34 -0500 (CDT)]
Received: [from msgphx5.sps.mot.com (msgphx5.sps.mot.com [216.11.52.5]) by pobox.mot.com (MOT-pobox 2.0) with ESMTP id LAA02510 for <scwm-discuss@SCWM.MIT.EDU>; Wed, 29 Sep 1999 11:33:34 -0500 (CDT)]
Received: from motorola.com ([223.201.55.60]) by msgphx5.sps.mot.com          (Netscape Messaging Server 3.61)  with ESMTP id AAA54FF;          Wed, 29 Sep 1999 09:33:33 -0700
Message-ID: <37F2406D.7FB7F7CC@motorola.com>
Date: Wed, 29 Sep 1999 09:38:05 -0700
From: Mark Naumann <mark.naumann@motorola.com>
Organization: Motorola, SemiCustom Solutions
X-Mailer: Mozilla 4.03 [en] (X11; I; SunOS 5.5.1 sun4u)
MIME-Version: 1.0
To: list-scwm-discuss <scwm-discuss@SCWM.MIT.EDU>
Subject: Interactive window
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Motorola-Sent-Wireless: 1
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

SCWM List:

Is there any module which can bring up an interactive window to the
scwm/guile interpreter?  A developer could then incrementally
develop a script.  I'm wondering whether there is an easier way to 
explore scwm, without having to use 'print' statements.

Mark

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 12:43:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA03414
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 12:43:01 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA03411
	for <scwm-discuss@scwm.mit.edu>; Wed, 29 Sep 1999 12:42:55 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA29468; Wed, 29 Sep 1999 09:42:51 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: non-north gravity problems (current CVS, 0.99.3)
References: <199909282359.TAA09482@soup.ql.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Sep 1999 09:42:50 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Tue, 28 Sep 1999 19:59:53 -0400"
Message-ID: <qrru2odr7n9.fsf@elwha.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> A window with southern gravity and a title bar gets moved up
> (title-bar-height - 16) pixels when it is first placed.  I have been
> looking through the code trying to figure out why, but so far, I
> haven't found the reason.  This problem is easy to reproduce.  Using
> the attached .scwmrc file, run 
> 
> xterm -geometry -0-0 &
> 
> Notice that the window's bottom corner is several pixels above the
> bottom of the screen.  Each restart of scwm causes the window to move
> up more.  You can see that the window does not move when the title bar
> is removed upon shutdown (correct) but does move again when the window
> is decorated in the newly restarted scwm.

I'm looking into it -- I can reproduce this thanks to your nice
self-contained .scwmrc that illustrates the problem.

One thing, though:  the window should be moved down by the
lower border width on shutdown, I believe.

> I have also observed some problems in what (window-configuration)
> returns when called from an after-new-window-hook but I'll report on
> that later when I have more information about it.  I don't know
> whether it is related.

I'll wait for that complete report.

Thanks,
Greg

<snip .scwmrc>

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 12:45:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA03449
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 12:45:57 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mail-gw.pacbell.net (mail-gw.pacbell.net [206.13.28.25])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA03446
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 29 Sep 1999 12:45:52 -0400
Received: from shiva (adsl-63-193-252-10.dsl.snfc21.pacbell.net [63.193.252.10])
	by mail-gw.pacbell.net (8.9.3/8.9.3) with SMTP id JAA19119;
	Wed, 29 Sep 1999 09:44:58 -0700 (PDT)
Message-ID: <007001bf0a9a$4d195390$0101a8c0@pacbell.net>
From: "Maciej Jennifer Stachowiak" <mstachow@alum.mit.edu>
To: "Mark Naumann" <mark.naumann@motorola.com>,
        "list-scwm-discuss" <scwm-discuss@SCWM.MIT.EDU>
References: <37F2406D.7FB7F7CC@motorola.com>
Subject: Re: Interactive window
Date: Wed, 29 Sep 1999 09:47:16 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


----- Original Message ----- 
From: Mark Naumann <mark.naumann@motorola.com>
To: list-scwm-discuss <scwm-discuss@SCWM.MIT.EDU>
Sent: Wednesday, September 29, 1999 9:38 AM
Subject: Interactive window


> SCWM List:
> 
> Is there any module which can bring up an interactive window to the
> scwm/guile interpreter?  A developer could then incrementally
> develop a script.  I'm wondering whether there is an easier way to 
> explore scwm, without having to use 'print' statements.
> 

The `scwmrepl' program will give you an interactive session with
a currently running scwm.

 - Maciej



From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 12:46:37 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA03472
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 12:46:37 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA03469
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 29 Sep 1999 12:46:34 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id JAA29485; Wed, 29 Sep 1999 09:46:29 -0700 (PDT)
To: Mark Naumann <mark.naumann@motorola.com>
Cc: list-scwm-discuss <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: Interactive window
References: <37F2406D.7FB7F7CC@motorola.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Sep 1999 09:46:29 -0700
In-Reply-To: Mark Naumann's message of "Wed, 29 Sep 1999 09:38:05 -0700"
Message-ID: <qrrso3xr7h6.fsf@elwha.cs.washington.edu>
Lines: 28
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Mark Naumann <mark.naumann@motorola.com> writes:

> SCWM List:
> 
> Is there any module which can bring up an interactive window to the
> scwm/guile interpreter?  A developer could then incrementally
> develop a script.  I'm wondering whether there is an easier way to 
> explore scwm, without having to use 'print' statements.

Well, you can run scwmrepl, or use the Emacs scwm-mode.   See

utilities/emacs/scwm.el

for scwm-mode for Emacs (highly recommended esp. if you're an Emacs user)

or just run scwmrepl and do stuff like:

(use-scwm-modules doc)
(apropos "window")
(documentation "get-window")
(+ 1 3)
(move-window 0 0 (get-window))

..., etc.

to play with Scwm from Scheme.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 13:05:09 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA03700
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 13:05:09 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA03693
	for <scwm-discuss@scwm.mit.edu>; Wed, 29 Sep 1999 13:05:04 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id KAA29522; Wed, 29 Sep 1999 10:04:58 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@scwm.mit.edu
Subject: Bugfix Re: non-north gravity problems (current CVS, 0.99.3)
References: <199909282359.TAA09482@soup.ql.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Sep 1999 10:04:58 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Tue, 28 Sep 1999 19:59:53 -0400"
Message-ID: <qrrr9jhr6md.fsf@elwha.cs.washington.edu>
Lines: 38
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> A window with southern gravity and a title bar gets moved up
> (title-bar-height - 16) pixels when it is first placed.  I have been
> looking through the code trying to figure out why, but so far, I
> haven't found the reason.  This problem is easy to reproduce.  Using
> the attached .scwmrc file, run 
> 
> xterm -geometry -0-0 &
> 
> Notice that the window's bottom corner is several pixels above the
> bottom of the screen.  Each restart of scwm causes the window to move
> up more.  You can see that the window does not move when the title bar
> is removed upon shutdown (correct) but does move again when the window
> is decorated in the newly restarted scwm.
> 
> I have also observed some problems in what (window-configuration)
> returns when called from an after-new-window-hook but I'll report on
> that later when I have more information about it.  I don't know
> whether it is related.

<snip>

The last line of decor.scm should have added a window-hint-option, not a 
window-style-option.  (The difference is that hints get applied earlier, 
before the positioning happens).

(add-window-hint-option #:use-decor (lambda (d w) (set-window-decor! w d)))


Thanks for this bug report, and let me know if the above doesn't correct 
things for you.

(Also fixed in repo now, but will take an hour or so to make it into the 
anonymous repo).

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 14:25:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA04286
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 14:25:50 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA04283
	for <scwm-discuss@scwm.mit.edu>; Wed, 29 Sep 1999 14:25:44 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id OAA08857;
	Wed, 29 Sep 1999 14:25:39 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma008823; Wed, 29 Sep 99 14:25:08 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id OAA09902; Wed, 29 Sep 1999 14:25:00 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id OAA05226; Wed, 29 Sep 1999 14:26:35 -0400
Date: Wed, 29 Sep 1999 14:26:35 -0400
Message-Id: <199909291826.OAA05226@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@scwm.mit.edu
In-reply-to: <qrrr9jhr6md.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 29 Sep 1999 10:04:58 -0700)
Subject: Re: Bugfix Re: non-north gravity problems (current CVS, 0.99.3)
References: <199909282359.TAA09482@soup.ql.org> <qrrr9jhr6md.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


>   The last line of decor.scm should have added a window-hint-option, not a 
>   window-style-option.  (The difference is that hints get applied earlier, 
>   before the positioning happens).
>
>   (add-window-hint-option #:use-decor (lambda (d w) (set-window-decor! w d)))
>
>
>   Thanks for this bug report, and let me know if the above doesn't correct 
>   things for you.

This seems to do the job.  I was half way to figuring this out when I
got your message.  I had determined (with a lot of printf statements)
that psw->boundary_width and psw->title_height were not set yet when
PlaceWindow was called and when things like gravity adjustments were
made and that hint options were applied earlier than window options
(via before-new-window-hook and after-new-window-hook in style.scm)
but had not yet determined how to get window_height and boundary_width
to be hint options or whether that was even the right approach.  I had
tried calling apply-style from a before-place-new-window-hook but that
changed the problem rather than fixing it.

Anyway, this fixes the problem (both in my baby
just-to-reproduce-the-problem file and in my real .scwmrc!)  but not
the other problem I alluded to.  I will work on that a little and send
a report.

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 14:41:28 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA04385
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 14:41:28 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA04382
	for <scwm-discuss@scwm.mit.edu>; Wed, 29 Sep 1999 14:41:22 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA29975; Wed, 29 Sep 1999 11:41:17 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Bugfix Re: non-north gravity problems (current CVS, 0.99.3)
References: <199909282359.TAA09482@soup.ql.org> <qrrr9jhr6md.fsf@elwha.cs.washington.edu> <199909291826.OAA05226@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Sep 1999 11:41:17 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Wed, 29 Sep 1999 14:26:35 -0400"
Message-ID: <qrrn1u536ia.fsf@elwha.cs.washington.edu>
Lines: 40
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> >   The last line of decor.scm should have added a window-hint-option, not a 
> >   window-style-option.  (The difference is that hints get applied earlier, 
> >   before the positioning happens).
> >
> >   (add-window-hint-option #:use-decor (lambda (d w) (set-window-decor! w d)))
> >
> >
> >   Thanks for this bug report, and let me know if the above doesn't correct 
> >   things for you.
> 
> This seems to do the job.  I was half way to figuring this out when I
> got your message.  I had determined (with a lot of printf statements)
> that psw->boundary_width and psw->title_height were not set yet when
> PlaceWindow was called and when things like gravity adjustments were
> made and that hint options were applied earlier than window options
> (via before-new-window-hook and after-new-window-hook in style.scm)
> but had not yet determined how to get window_height and boundary_width
> to be hint options or whether that was even the right approach.  I had
> tried calling apply-style from a before-place-new-window-hook but that
> changed the problem rather than fixing it.

Geez, sounds like I should've let you at it longer! :-)

I made the existing debugging code easier to turn on in add_window.c as
these sorts of problems have come up before.

> Anyway, this fixes the problem (both in my baby
> just-to-reproduce-the-problem file and in my real .scwmrc!)  but not
> the other problem I alluded to.  I will work on that a little and send
> a report.

Great--

I'll happily look at a full report on the window-configuration stuff
when you've got it ready.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 15:32:55 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA04962
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 15:32:55 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA04958
	for <scwm-discuss@scwm.mit.edu>; Wed, 29 Sep 1999 15:32:49 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id PAA12926;
	Wed, 29 Sep 1999 15:32:43 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma012875; Wed, 29 Sep 99 15:32:21 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id PAA01716; Wed, 29 Sep 1999 15:32:02 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id PAA06705; Wed, 29 Sep 1999 15:33:37 -0400
Date: Wed, 29 Sep 1999 15:33:37 -0400
Message-Id: <199909291933.PAA06705@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@scwm.mit.edu
Subject: previously mentioned window-configuration problem is not a bug
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Earlier I had reported that I was having problems with
(window-configuration) returning incorrect results when called from an
after-new-window-hook.  I have "solved" this problem, and it was not
the result of an scwm bug as such.  However, I'll describe the
situation in case this makes someone feel that something could have
been designed differently.....

I was using an after-new-window-hook to store the window's original
configuration in a window property.  I did this by adding an
after-new-window-hook that called (window-configuration).  The results
I was getting indicated the window's configuration with a border-width
of 6 (the default) rather than 1 (as set in my .scwmrc).  The problem,
I figured, was that the window style options had not yet been applied
to the window.

To make a long story short, this is because add-hook! adds a hook to
the beginning of the list of hooks by default.  style.scm adds an
after-new-window-hook that applies the style information to the
window.

My solution: add my hook with (add-hook! after-new-window-hook ... #t)
-- the #t tells add-hook! to add the hook to the end of the list of
hooks rather than the beginning.  This solved my problem.

The only thing is that it seems kind of odd that the default behavior
should be that when I the user add an after-new-window-hook without
knowing anything about scwm internals or how things are set up in the
default modules, I get counterintuitive behavior.  I expect the window
to be completely set up by the time my hooks are called, and I expect
to be able to add my hooks with just plain old add-hook!.  Now, if the
need to add a #t to the end is documented, then I don't think this is
a big deal, but it makes me wonder whether maybe a design change would
be in order.  One solution (though probably not a good one) would be
to have a set of hooks for "internal" use and another set for use by
users.  I don't like that solution specifically because drawing a line
between what is internal and what isn't is too hard, and it's nice
that something as basic as how and when window styles are applied is
controllable from the scheme code.  Maybe my rambling will lead
someone else to a more elegant solution....

With this and the other problems I've reported out of the way, I am
well on the way to having enough of my gwm functionality ported over
to scwm to switch to scwm as my window manager for doing real work.
(That's risky though if I ever want to do any more real work.... ;-])

                                Jay

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 17:01:07 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA05293
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 17:01:07 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA05286
	for <scwm-discuss@scwm.mit.edu>; Wed, 29 Sep 1999 17:01:00 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id RAA16929
	for <scwm-discuss@scwm.mit.edu>; Wed, 29 Sep 1999 17:00:51 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma016905; Wed, 29 Sep 99 17:00:26 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id RAA08735; Wed, 29 Sep 1999 17:00:25 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id RAA07677; Wed, 29 Sep 1999 17:02:00 -0400
Date: Wed, 29 Sep 1999 17:02:00 -0400
Message-Id: <199909292102.RAA07677@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: copy-window-configuration buglet
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


copy-window-configuration in window-configuration.scm should call
resize-frame before calling move-window.  Otherwise, depending on the
window gravity, the wrong corner of the window may be moved.  If you
try copy-window-configuration on a window with southwest gravity after
both moving and resizing the window, you'll see what I mean.  This is
easily fixable by calling resize-frame before calling move-window.

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/


--- window-configuration.scm.qdist	Tue Sep 21 17:57:11 1999
+++ window-configuration.scm	Wed Sep 29 17:01:30 1999
@@ -50,8 +50,8 @@
   "Apply a saved state CONFIGURATION to window WIN."
   (with-window
    win
-   (apply move-window (list-ref configuration 2))
-   (apply resize-frame (list-ref configuration 3))))
+   (apply resize-frame (list-ref configuration 3))
+   (apply move-window (list-ref configuration 2))))
 
 ;; (copy-window-configuration c)
 

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 17:06:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA05321
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 17:06:44 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA05316
	for <scwm-discuss@scwm.mit.edu>; Wed, 29 Sep 1999 17:06:06 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA00216; Wed, 29 Sep 1999 14:05:59 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: previously mentioned window-configuration problem is not a bug
References: <199909291933.PAA06705@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Sep 1999 14:05:58 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Wed, 29 Sep 1999 15:33:37 -0400"
Message-ID: <qrrhfkd2zt5.fsf@elwha.cs.washington.edu>
Lines: 71
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> Earlier I had reported that I was having problems with
> (window-configuration) returning incorrect results when called from an
> after-new-window-hook.  I have "solved" this problem, and it was not
> the result of an scwm bug as such.  However, I'll describe the
> situation in case this makes someone feel that something could have
> been designed differently.....
> 
> I was using an after-new-window-hook to store the window's original
> configuration in a window property.  I did this by adding an
> after-new-window-hook that called (window-configuration).  The results
> I was getting indicated the window's configuration with a border-width
> of 6 (the default) rather than 1 (as set in my .scwmrc).  The problem,
> I figured, was that the window style options had not yet been applied
> to the window.
> 
> To make a long story short, this is because add-hook! adds a hook to
> the beginning of the list of hooks by default.  style.scm adds an
> after-new-window-hook that applies the style information to the
> window.
> 
> My solution: add my hook with (add-hook! after-new-window-hook ... #t)
> -- the #t tells add-hook! to add the hook to the end of the list of
> hooks rather than the beginning.  This solved my problem.

Yes, an interesting dilemma.  As I'm sure you've guessed, add-hook! adds 
to the beginning by default for efficiency concerns.  We could add to
the end by default which probably has more intuitive behaviour, and
won't noticeably change performance.

Alternatively, we could add yet another hook to hang things off of that
gets called after the after-new-window-hook.

Or, as another alternative, we could have some fancier priority based
system for the ordering of the hook procedures.  This has come up before 
on the guile list, IIRC.

For now, I'll test changing the default of add-hook! and see if we're
relying on the current ordering in any unintended way.

> The only thing is that it seems kind of odd that the default behavior
> should be that when I the user add an after-new-window-hook without
> knowing anything about scwm internals or how things are set up in the
> default modules, I get counterintuitive behavior.  I expect the window
> to be completely set up by the time my hooks are called, and I expect
> to be able to add my hooks with just plain old add-hook!.  Now, if the
> need to add a #t to the end is documented, then I don't think this is
> a big deal, but it makes me wonder whether maybe a design change would
> be in order.  One solution (though probably not a good one) would be
> to have a set of hooks for "internal" use and another set for use by
> users.  I don't like that solution specifically because drawing a line
> between what is internal and what isn't is too hard, and it's nice
> that something as basic as how and when window styles are applied is
> controllable from the scheme code.  Maybe my rambling will lead
> someone else to a more elegant solution....

I don't like the separation either, as I want the end user to be able to 
customize in any way that we can internally.  Conventions are fine, but
I don't want to enforce a tenuous separation.

> With this and the other problems I've reported out of the way, I am
> well on the way to having enough of my gwm functionality ported over
> to scwm to switch to scwm as my window manager for doing real work.
> (That's risky though if I ever want to do any more real work.... ;-])

Excellent!  I'm looking forward to the seeing what stuff from GWM was
most important for you to get working with Scwm.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Sep 29 20:57:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA06204
	for scwm-discuss-outgoing; Wed, 29 Sep 1999 20:57:40 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA06196
	for <scwm-discuss@scwm.mit.edu>; Wed, 29 Sep 1999 20:57:32 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA00483; Wed, 29 Sep 1999 17:57:26 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: copy-window-configuration buglet
References: <199909292102.RAA07677@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 29 Sep 1999 17:57:26 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Wed, 29 Sep 1999 17:02:00 -0400"
Message-ID: <qrryadp1aix.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> copy-window-configuration in window-configuration.scm should call
> resize-frame before calling move-window.  Otherwise, depending on the
> window gravity, the wrong corner of the window may be moved.  If you
> try copy-window-configuration on a window with southwest gravity after
> both moving and resizing the window, you'll see what I mean.  This is
> easily fixable by calling resize-frame before calling move-window.

Okay, this is fixed in the repo now, and so is the problem that this led 
me to notice re: animated-resize-{frame,window}

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 30 14:06:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA10165
	for scwm-discuss-outgoing; Thu, 30 Sep 1999 14:06:02 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA10162
	for <scwm-discuss@scwm.mit.edu>; Thu, 30 Sep 1999 14:05:43 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id OAA26655;
	Thu, 30 Sep 1999 14:05:16 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma026643; Thu, 30 Sep 99 14:05:09 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id OAA01526; Thu, 30 Sep 1999 14:04:57 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id OAA14077; Thu, 30 Sep 1999 14:06:32 -0400
Date: Thu, 30 Sep 1999 14:06:32 -0400
Message-Id: <199909301806.OAA14077@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@scwm.mit.edu
In-reply-to: <qrryadp1aix.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 29 Sep 1999 17:57:26 -0700)
Subject: Re: copy-window-configuration buglet
References: <199909292102.RAA07677@soup.ads.apexinc.com> <qrryadp1aix.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


>   > copy-window-configuration in window-configuration.scm should call
>   > resize-frame before calling move-window.  Otherwise, depending on the
>   > window gravity, the wrong corner of the window may be moved.  If you
>   > try copy-window-configuration on a window with southwest gravity after
>   > both moving and resizing the window, you'll see what I mean.  This is
>   > easily fixable by calling resize-frame before calling move-window.
>
>   Okay, this is fixed in the repo now, and so is the problem that this led 
>   me to notice re: animated-resize-{frame,window}

Actually, this is still broken.  (resize-frame ...) works properly,
but animated-resize-frame still ends up doing the wrong thing for
windows with southern gravity.

With this .scwmrc:

    (use-scwm-modules base
		      style
		      winops
		      window-configuration
		      animation
		      optargs
    )

    (bind-key 'all "C-S-A-r" restart)

    (define* (set-initconf #&optional (win (get-window)))
      (set-window-property! win 'initconf (window-configuration win))
    )

    (define* (x-copy-window-configuration configuration #&optional (win (get-window)))
      "Apply a saved state CONFIGURATION to window WIN."
      (apply resize-frame
	     (append (list-ref configuration 3) (list win)
		     (list-ref configuration 2))))

    (define* (x-animated-copy-window-configuration configuration #&optional (win (get-window)))
      "Apply a saved state CONFIGURATION to window WIN."
      (apply animated-resize-frame
	     (append (list-ref configuration 3) (list win)
		     (list-ref configuration 2))))

    (define* (restore-window #&optional (win (get-window)))
      (x-copy-window-configuration (window-property win 'initconf) win)
    )

    (define* (animated-restore-window #&optional (win (get-window)))
      (x-animated-copy-window-configuration (window-property win 'initconf) win)
    )

    (add-hook! after-new-window-hook set-initconf t)

    (bind-key 'window "C-S-1" restore-window)
    (bind-key 'window "C-S-2" animated-restore-window)

create an xterm with

xterm -geometry -0-0

Move and resize the window.  Hit C-S-1 to restore the window using
normal resize-frame.  The window pops back to its proper location and
size.  Now move and resize the window again.  Hit C-S-2 to restore the
window.  Notice that it goes to the wrong place.  Hit C-S-2 again to
correct.  If you try this with xterm -geometry +0+0, there is no
problem.

I believe the reason for this is that ComputeDeltaForResize in
resize.c is attempting to explicitly compensate for gravity in resize,
but this isn't necessary because X already does that.  The attached
patch fixes this problem on my system at least which is running
XFree86 3.3.3.1 which is based on X11R6.3, I think.

With the following patch applied, the above test scenario works with
windows with northwest, northeast, southwest, and southeast gravity
and with and without animation.

On a related note, perhaps there should some kind of global animation
preference variable that users can set (or function that they can
call) that various routines could use (by convention) to decide
whether to be animated or not.  I notice that maximize uses
*maximize-animatedly* but it would get to be a real mess to have
separate variables for each function.  We run the risk of having some
things where there is no choice or having a hodge-podge of different
ways to set whether animation is used.  Just my $0.02.  It may be even
worth having the lowest-level animated routines check this flag so
that clients can just call animated-resize-frame and animated-move and
let those functions decide what to do.  This gets a bit complicated
though since there could be any number of different kinds of
preferences that people could set other than just animation.  Maybe
someone would want different types of animated effects, sounds, etc.,
and it would be nasty to have to contaminate every function that does
moves and resizes with this kind of stuff....

                                Jay

--- resize.c.qdist	Thu Sep 30 11:36:54 1999
+++ resize.c	Thu Sep 30 13:57:29 1999
@@ -78,8 +78,8 @@
   int grav_y = psw->grav.y;
   int dx = width - FRAME_WIDTH(psw);   /* wider => positive */
   int dy = height - FRAME_HEIGHT(psw); /* taller => positive */
-  *pdx = dx * (double) grav_x/2.0;
-  *pdy = dy * (double) grav_y/2.0;
+  *pdx = 0;
+  *pdy = 0;
 }
 
 /* *px and *py and in/out parameters

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 30 14:16:25 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA10231
	for scwm-discuss-outgoing; Thu, 30 Sep 1999 14:16:25 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA10228
	for <scwm-discuss@scwm.mit.edu>; Thu, 30 Sep 1999 14:16:20 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA02042; Thu, 30 Sep 1999 11:16:12 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: copy-window-configuration buglet
References: <199909292102.RAA07677@soup.ads.apexinc.com> <qrryadp1aix.fsf@elwha.cs.washington.edu> <199909301806.OAA14077@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Sep 1999 11:16:12 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Thu, 30 Sep 1999 14:06:32 -0400"
Message-ID: <qrrd7v01d03.fsf@elwha.cs.washington.edu>
Lines: 94
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> >   > copy-window-configuration in window-configuration.scm should call
> >   > resize-frame before calling move-window.  Otherwise, depending on the
> >   > window gravity, the wrong corner of the window may be moved.  If you
> >   > try copy-window-configuration on a window with southwest gravity after
> >   > both moving and resizing the window, you'll see what I mean.  This is
> >   > easily fixable by calling resize-frame before calling move-window.
> >
> >   Okay, this is fixed in the repo now, and so is the problem that this led 
> >   me to notice re: animated-resize-{frame,window}
> 
> Actually, this is still broken.  (resize-frame ...) works properly,
> but animated-resize-frame still ends up doing the wrong thing for
> windows with southern gravity.

<snip another excellent self-contained minimal .scwmrc demonstrating a
problem>

> create an xterm with
> 
> xterm -geometry -0-0
> 
> Move and resize the window.  Hit C-S-1 to restore the window using
> normal resize-frame.  The window pops back to its proper location and
> size.  Now move and resize the window again.  Hit C-S-2 to restore the
> window.  Notice that it goes to the wrong place.  Hit C-S-2 again to
> correct.  If you try this with xterm -geometry +0+0, there is no
> problem.

Actually, for me this works, but I checked in this change this morning:

Thu Sep 30 10:15:56 1999  Greg J. Badros  <gjb@cs.washington.edu>

	* c-animation/c-animation.c (animated_resize_common): Only correct 
	for position on resizes when then destination position is given.
	Otherwise, let the correction for gravity take effect.  This fixes 
	the bug whereby `resize-halfscreen' was not honouring gravity
	since I made it use animated resizes.

and I'm betting my builds last night would've failed in the way you
observe. 

<snip>

> On a related note, perhaps there should some kind of global animation
> preference variable that users can set (or function that they can
> call) that various routines could use (by convention) to decide
> whether to be animated or not.  I notice that maximize uses
> *maximize-animatedly* but it would get to be a real mess to have
> separate variables for each function.  We run the risk of having some
> things where there is no choice or having a hodge-podge of different
> ways to set whether animation is used.  Just my $0.02.  It may be even
> worth having the lowest-level animated routines check this flag so
> that clients can just call animated-resize-frame and animated-move and
> let those functions decide what to do.  This gets a bit complicated
> though since there could be any number of different kinds of
> preferences that people could set other than just animation.  Maybe
> someone would want different types of animated effects, sounds, etc.,
> and it would be nasty to have to contaminate every function that does
> moves and resizes with this kind of stuff....

Yea, I've thought about this, too. It's a fine line between choosing
useful configuration options and unduly restricted what can be
configured w/o writing Scheme code.  I want primitives to largely not
use customization variables to decide what they do.  Instead I like
having a scheme wrapper that chooses among the primitives based on the
configuration variable.

> --- resize.c.qdist	Thu Sep 30 11:36:54 1999
> +++ resize.c	Thu Sep 30 13:57:29 1999
> @@ -78,8 +78,8 @@
>    int grav_y = psw->grav.y;
>    int dx = width - FRAME_WIDTH(psw);   /* wider => positive */
>    int dy = height - FRAME_HEIGHT(psw); /* taller => positive */
> -  *pdx = dx * (double) grav_x/2.0;
> -  *pdy = dy * (double) grav_y/2.0;
> +  *pdx = 0;
> +  *pdy = 0;
>  }

I think the thing that was broken was using ComputeDeltaForResize from
c-animation code.  Another file to test against is the s-expressions in
scheme/tests/gravity.scm with windows of varying gravity.

Let me know if the CVS version doesn't work for you, and I'll look into
it more.  Sorry we're both messing with the same code -- I know it
complicates things but you're pushing me into areas that aren't as well
tested as I'd've liked and I'm discovering problems on my own, rather
than just relying on bug reports from the list (as I often do when I'm
in feature-expansion mode).

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 30 16:29:25 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA10902
	for scwm-discuss-outgoing; Thu, 30 Sep 1999 16:29:25 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA10899
	for <scwm-discuss@scwm.mit.edu>; Thu, 30 Sep 1999 16:29:20 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id QAA02446;
	Thu, 30 Sep 1999 16:29:12 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma002435; Thu, 30 Sep 99 16:29:08 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id QAA10242; Thu, 30 Sep 1999 16:29:03 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id QAA24770; Thu, 30 Sep 1999 16:30:38 -0400
Date: Thu, 30 Sep 1999 16:30:38 -0400
Message-Id: <199909302030.QAA24770@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@scwm.mit.edu
In-reply-to: <qrrd7v01d03.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 30 Sep 1999 11:16:12 -0700)
Subject: Re: copy-window-configuration buglet
References: <199909292102.RAA07677@soup.ads.apexinc.com> <qrryadp1aix.fsf@elwha.cs.washington.edu> <199909301806.OAA14077@soup.ads.apexinc.com> <qrrd7v01d03.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


>   > Actually, this is still broken.  (resize-frame ...) works properly,
>   > but animated-resize-frame still ends up doing the wrong thing for
>   > windows with southern gravity.
>
>   <snip another excellent self-contained minimal .scwmrc demonstrating a
>   problem>
>
>   > create an xterm with
>   > 
>   > xterm -geometry -0-0
>   > 
>   > Move and resize the window.  Hit C-S-1 to restore the window using
>   > normal resize-frame.  The window pops back to its proper location and
>   > size.  Now move and resize the window again.  Hit C-S-2 to restore the
>   > window.  Notice that it goes to the wrong place.  Hit C-S-2 again to
>   > correct.  If you try this with xterm -geometry +0+0, there is no
>   > problem.
>
>   Actually, for me this works, but I checked in this change this morning:
>
>   Thu Sep 30 10:15:56 1999  Greg J. Badros  <gjb@cs.washington.edu>
>
>	   * c-animation/c-animation.c (animated_resize_common): Only correct 
>	   for position on resizes when then destination position is given.
>	   Otherwise, let the correction for gravity take effect.  This fixes 
>	   the bug whereby `resize-halfscreen' was not honouring gravity
>	   since I made it use animated resizes.
>
>   and I'm betting my builds last night would've failed in the way you
>   observe. 

I've been using the CVS version.  I just did another update and
rebuilt.  I still get the problem I described without my patch, and
don't get the problem I described with my patch.  I did a make clean
and a make just to be sure in case of dependency or modification time
problems though I had verified that c-animation.c had gotten
recompiled.  How could it be that it works for one of us and not the
other?  Is there a dependency on X here?  I can reproduce this by
starting a separate X server with no X resources loaded and running
scwm and two xterms: one with southeast and one with northwest
gravity.  I updated from the anonymous repository just before sending
this message.

>   Let me know if the CVS version doesn't work for you, and I'll look into
>   it more.  Sorry we're both messing with the same code -- I know it
>   complicates things but you're pushing me into areas that aren't as well
>   tested as I'd've liked and I'm discovering problems on my own, rather
>   than just relying on bug reports from the list (as I often do when I'm
>   in feature-expansion mode).

Consider this me letting you know that the CVS version still doesn't
work for me. :-)

                                Jay

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 30 16:32:56 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA10955
	for scwm-discuss-outgoing; Thu, 30 Sep 1999 16:32:56 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA10951
	for <scwm-discuss@scwm.mit.edu>; Thu, 30 Sep 1999 16:32:50 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id QAA02666
	for <scwm-discuss@scwm.mit.edu>; Thu, 30 Sep 1999 16:32:42 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma002636; Thu, 30 Sep 99 16:32:19 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id QAA10569; Thu, 30 Sep 1999 16:32:10 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id QAA24816; Thu, 30 Sep 1999 16:33:45 -0400
Date: Thu, 30 Sep 1999 16:33:45 -0400
Message-Id: <199909302033.QAA24816@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: resize enhancement 1 of 2
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I've been doing a lot of goofing around with resize lately, and I've
noticed that I can often not see the rubber band or barely see it.
The following patch makes the resize rubber band much more easily
visible with any color scheme I can think of.

I don't understand graphic contexts or drawing too well -- it's been
too long since I've last understood it.  But it seems that the more
1's you XOR with, the more visible the result should be.  Does this
make sense, or am I misguided here?

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

--- src/resize.c.qdist	Thu Sep 30 11:36:54 1999
+++ src/resize.c	Thu Sep 30 16:26:10 1999
@@ -709,7 +709,7 @@
   unsigned long gcm = GCFunction | GCLineWidth | GCForeground | GCSubwindowMode;
   gcv.function = GXxor;
   gcv.line_width = 0;
-  gcv.foreground = 37; /* randomish */
+  gcv.foreground = 0xffffff;
   gcv.subwindow_mode = IncludeInferiors;
   DrawRubberBandGC = XCreateGC(dpy, Scr.Root, gcm, &gcv);
 }

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 30 16:39:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA11054
	for scwm-discuss-outgoing; Thu, 30 Sep 1999 16:39:33 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA11047
	for <scwm-discuss@scwm.mit.edu>; Thu, 30 Sep 1999 16:39:26 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id QAA03109
	for <scwm-discuss@scwm.mit.edu>; Thu, 30 Sep 1999 16:39:14 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma003076; Thu, 30 Sep 99 16:39:00 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id QAA11847; Thu, 30 Sep 1999 16:38:44 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id QAA24828; Thu, 30 Sep 1999 16:40:20 -0400
Date: Thu, 30 Sep 1999 16:40:20 -0400
Message-Id: <199909302040.QAA24828@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: resize enhancement 2 of 2
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


When I click on a window to resize it (rather than clicking on the
resize handles), I like the window to resize immediately and for the
resize direction to be determined by where in the window I click.  I
don't like having to move the mouse outside of the window before it
can be resized.  This is especially true with large windows that I'm
trying to shrink.  I looked at the resize code to see whether there
were any options to select this behavior and noticed comments implying
that this mode of operation would be preferred to the current mode of
operation.

I have implemented this mode of operation for resize.  The changes are
simple, but the perpetuate ugly stuff that was already there.
Specifically, the resize code already complained about using the
extern global PressedW.  My code modifies it so that it additionally
uses the global Event.  However, I think the code is okay, and it
seems to work just fine.  I'd be interested in any reactions to this.
I think it's a definite improvement in the way resize behaves and
would request that the inclusion of this patch be considered as it is
very simple and doesn't change the behavior at all when resize is
invoked via resize handles.  Comments?

Note that this patch does not include modification to comments that it
makes invalid.  I didn't feel right modifying comments with someone
else's initials on them.  If you decide to accept this patch,
searching for all FIXME comments in the resize code and fixing them so
that they are accurate would be a good idea.  I would have just done
that, but I thought it would be a little overly presumptuous.... 

                                Jay

--- src/resize.c.qdist	Thu Sep 30 11:36:54 1999
+++ src/resize.c	Thu Sep 30 16:26:10 1999
@@ -395,6 +395,7 @@
 InteractiveResize(ScwmWindow *psw, Bool fOpaque, int *pwidthReturn, int *pheightReturn)
 {
   extern Window PressedW;       /* GJB:FIXME:: ugly! */
+  extern XEvent Event;		/* FIXME:: this too! */
 
   int dragx;			/* all these variables are used */
   int dragy;			/* in resize operations */
@@ -407,6 +408,9 @@
   int origHeight;
   int yoffset = 0;
 
+  int x_win_offset = 0;
+  int y_win_offset = 0;
+
   int ymotion = 0, xmotion = 0;
   Bool finished = False, done = False;
   int x, y, delta_x, delta_y;
@@ -473,6 +477,39 @@
       ymotion = -1;
       xmotion = -1;
     }
+    if (PressedW == psw->Parent) { /* the window itself */
+      if ((Event.type == ButtonPress) ||
+	  (Event.type == ButtonRelease))
+      {
+	/* Figure out which nonant the mouse was clicked in and use
+	 * this to determine which direction to move. */
+
+	if (Event.xbutton.x < (origWidth / 3))
+	{
+	  /* anchor against left */
+	  x_win_offset = Event.xbutton.x;
+	  xmotion = 1;
+	}
+	else if (Event.xbutton.x > ((2 * origWidth) / 3))
+	{
+	  /* anchor against right */
+	  x_win_offset = Event.xbutton.x - origWidth;
+	  xmotion = -1;
+	}
+	if (Event.xbutton.y < (origHeight / 3))
+	{
+	  /* anchor against top */
+	  y_win_offset = Event.xbutton.y;
+	  ymotion = 1;
+	}
+	else if (Event.xbutton.y > ((2 * origHeight) / 3))
+	{
+	  /* anchor against right */
+	  y_win_offset = Event.xbutton.y - origHeight;
+	  ymotion = -1;
+	}
+      }
+    }
   }
 
   { /* scope */
@@ -553,8 +590,8 @@
       break;
 
     case MotionNotify:
-      x = ResizeEvent.xmotion.x_root;
-      y = ResizeEvent.xmotion.y_root - yoffset;
+      x = ResizeEvent.xmotion.x_root - x_win_offset;
+      y = ResizeEvent.xmotion.y_root - yoffset - y_win_offset;
       /* resize before paging request to prevent resize from lagging mouse - mab */
       ComputeNewGeometryOnResize(psw,origx,origy,origWidth,origHeight,
                                  x, y, &xmotion, &ymotion, 

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 30 16:57:31 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA11297
	for scwm-discuss-outgoing; Thu, 30 Sep 1999 16:57:31 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from quasar.newtonlabs.com (host97.newtonlabs.com [206.125.74.97])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA11294
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 30 Sep 1999 16:57:26 -0400
Received: from bogomips.newtonlabs.com (bogomips.newtonlabs.com [207.55.51.12])
	by quasar.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) with ESMTP id NAA12192;
	Thu, 30 Sep 1999 13:57:22 -0700
Received: (from cwitty@localhost)
	by bogomips.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) id NAA11879;
	Thu, 30 Sep 1999 13:57:22 -0700
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: resize enhancement 1 of 2
References: <199909302033.QAA24816@soup.ads.apexinc.com>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: cwitty@newtonlabs.com (Carl R. Witty)
Date: 30 Sep 1999 13:57:22 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Thu, 30 Sep 1999 16:33:45 -0400"
Message-ID: <v4j3dvwjex9.fsf@bogomips.newtonlabs.com>
Lines: 18
X-Mailer: Gnus v5.4.61/Emacs 19.34
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> I've been doing a lot of goofing around with resize lately, and I've
> noticed that I can often not see the rubber band or barely see it.
> The following patch makes the resize rubber band much more easily
> visible with any color scheme I can think of.
> 
> I don't understand graphic contexts or drawing too well -- it's been
> too long since I've last understood it.  But it seems that the more
> 1's you XOR with, the more visible the result should be.  Does this
> make sense, or am I misguided here?

Unfortunately, the color #808080 (a gray), when XOR'ed with 0xffffff,
becomes #7f7f7f (a basically indistinguishable gray).  I think
0xaaaaaa always gives a fair bit of contrast on TrueColor displays; of
course, contrast on PseudoColor displays is a matter of luck.

Carl Witty

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 30 18:01:06 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA11522
	for scwm-discuss-outgoing; Thu, 30 Sep 1999 18:01:06 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA11515
	for <scwm-discuss@scwm.mit.edu>; Thu, 30 Sep 1999 18:00:59 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA02429; Thu, 30 Sep 1999 15:00:52 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: resize enhancement 1 of 2
References: <199909302033.QAA24816@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Sep 1999 15:00:52 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Thu, 30 Sep 1999 16:33:45 -0400"
Message-ID: <qrr4sgc12ln.fsf@elwha.cs.washington.edu>
Lines: 22
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> I've been doing a lot of goofing around with resize lately, and I've
> noticed that I can often not see the rubber band or barely see it.
> The following patch makes the resize rubber band much more easily
> visible with any color scheme I can think of.
> 
> I don't understand graphic contexts or drawing too well -- it's been
> too long since I've last understood it.  But it seems that the more
> 1's you XOR with, the more visible the result should be.  Does this
> make sense, or am I misguided here?

<snip>

As Carl pointed out, this is tricky business.  I'll go with using
0xAAAAAA to try to get reasonable contrast on at least TrueColor
displays (since we can't guarantee anything w/ PseudoColor displays).
Of course, the real solution is using overlay planes, and hopefully
that'll be an option after XFree86 4.0.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 30 18:07:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA11568
	for scwm-discuss-outgoing; Thu, 30 Sep 1999 18:07:33 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA11565
	for <scwm-discuss@scwm.mit.edu>; Thu, 30 Sep 1999 18:07:22 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA02432; Thu, 30 Sep 1999 15:07:16 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: resize enhancement 2 of 2
References: <199909302040.QAA24828@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Sep 1999 15:07:16 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Thu, 30 Sep 1999 16:40:20 -0400"
Message-ID: <qrr3dvw12az.fsf@elwha.cs.washington.edu>
Lines: 47
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> When I click on a window to resize it (rather than clicking on the
> resize handles), I like the window to resize immediately and for the
> resize direction to be determined by where in the window I click.  I
> don't like having to move the mouse outside of the window before it
> can be resized.  This is especially true with large windows that I'm
> trying to shrink.  I looked at the resize code to see whether there
> were any options to select this behavior and noticed comments implying
> that this mode of operation would be preferred to the current mode of
> operation.

Yep, I'd wanted this change for a while, but only had the time to write
the comment! :-)

> I have implemented this mode of operation for resize.  The changes are
> simple, but the perpetuate ugly stuff that was already there.
> Specifically, the resize code already complained about using the
> extern global PressedW.  My code modifies it so that it additionally
> uses the global Event.  However, I think the code is okay, and it
> seems to work just fine.  I'd be interested in any reactions to this.
> I think it's a definite improvement in the way resize behaves and
> would request that the inclusion of this patch be considered as it is
> very simple and doesn't change the behavior at all when resize is
> invoked via resize handles.  Comments?

Well, it works well, though I don't love more uses of global variables.
It's my intention to drop all of the crazy "modes" after Scwm 1.0, so I
don't mind having this getting a little uglier now.

> Note that this patch does not include modification to comments that it
> makes invalid.  I didn't feel right modifying comments with someone
> else's initials on them.  If you decide to accept this patch,
> searching for all FIXME comments in the resize code and fixing them so
> that they are accurate would be a good idea.  I would have just done
> that, but I thought it would be a little overly presumptuous.... 

Feel free to update comments in your patches.  I've got enough on my
plate that it only is helpful.  Also see doc/dev/fixme-format for a note 
about what format new FIXME comments should be in.

THANKS FOR THE PATCH!  I really like this new resizing behaviour.

The remaining question is, does anyone really want the old behaviour to
be an option?

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 30 18:11:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA11679
	for scwm-discuss-outgoing; Thu, 30 Sep 1999 18:11:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA11675
	for <scwm-discuss@scwm.mit.edu>; Thu, 30 Sep 1999 18:11:48 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id PAA02439; Thu, 30 Sep 1999 15:11:42 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: copy-window-configuration buglet
References: <199909292102.RAA07677@soup.ads.apexinc.com> <qrryadp1aix.fsf@elwha.cs.washington.edu> <199909301806.OAA14077@soup.ads.apexinc.com> <qrrd7v01d03.fsf@elwha.cs.washington.edu> <199909302030.QAA24770@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Sep 1999 15:11:42 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Thu, 30 Sep 1999 16:30:38 -0400"
Message-ID: <qrr1zbg123l.fsf@elwha.cs.washington.edu>
Lines: 34
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

<snip>
> I've been using the CVS version.  I just did another update and
> rebuilt.  I still get the problem I described without my patch, and
> don't get the problem I described with my patch.  I did a make clean
> and a make just to be sure in case of dependency or modification time
> problems though I had verified that c-animation.c had gotten
> recompiled.  How could it be that it works for one of us and not the
> other?  Is there a dependency on X here?  I can reproduce this by
> starting a separate X server with no X resources loaded and running
> scwm and two xterms: one with southeast and one with northwest
> gravity.  I updated from the anonymous repository just before sending
> this message.
> 
> >   Let me know if the CVS version doesn't work for you, and I'll look into
> >   it more.  Sorry we're both messing with the same code -- I know it
> >   complicates things but you're pushing me into areas that aren't as well
> >   tested as I'd've liked and I'm discovering problems on my own, rather
> >   than just relying on bug reports from the list (as I often do when I'm
> >   in feature-expansion mode).
> 
> Consider this me letting you know that the CVS version still doesn't
> work for me. :-)

Are you using Cassowary or no?  I think this could account for some
differences (I am, of course, using it).

I'm looking into the problem.  I really need to do a thorough case
analysis because there are lots of different things that need to work
and fixing some subset of them is breaking others.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 30 18:39:03 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA11954
	for scwm-discuss-outgoing; Thu, 30 Sep 1999 18:39:03 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from quasar.newtonlabs.com (host97.newtonlabs.com [206.125.74.97])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA11951
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 30 Sep 1999 18:38:56 -0400
Received: from bogomips.newtonlabs.com (bogomips.newtonlabs.com [207.55.51.12])
	by quasar.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) with ESMTP id PAA17010;
	Thu, 30 Sep 1999 15:38:50 -0700
Received: (from cwitty@localhost)
	by bogomips.newtonlabs.com (8.8.8/8.8.8/Debian/GNU) id PAA12160;
	Thu, 30 Sep 1999 15:38:50 -0700
To: Greg Badros <gjb@cs.washington.edu>
Cc: "E. Jay Berkenbilt" <ejb@ql.org>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: resize enhancement 1 of 2
References: <199909302033.QAA24816@soup.ads.apexinc.com> <qrr4sgc12ln.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: cwitty@newtonlabs.com (Carl R. Witty)
Date: 30 Sep 1999 15:38:49 -0700
In-Reply-To: Greg Badros's message of "30 Sep 1999 15:00:52 -0700"
Message-ID: <v4j1zbgja86.fsf@bogomips.newtonlabs.com>
Lines: 19
X-Mailer: Gnus v5.4.61/Emacs 19.34
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> As Carl pointed out, this is tricky business.  I'll go with using
> 0xAAAAAA to try to get reasonable contrast on at least TrueColor
> displays (since we can't guarantee anything w/ PseudoColor displays).
> Of course, the real solution is using overlay planes, and hopefully
> that'll be an option after XFree86 4.0.

Of course, you only need to get that complicated to handle varying bit
depths.  On a 24-bit display, 0x808080 works fine; on a 16-bit 565
(five bits red and blue, 6 bits green) 1000010000010000 binary
(0x8410) works.  But 0xAAAAAA should contrast with any color on
basically any bit depth.

I think I might prefer XOR to overlay planes...you can't guarantee
contrast with an overlay plane, and you can with XOR (unless I'm
confused about overlay planes).

Carl Witty

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 30 19:25:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA12118
	for scwm-discuss-outgoing; Thu, 30 Sep 1999 19:25:16 -0400
Received: from vienna3.his.com (root@vienna3.his.com [216.200.68.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA12115
	for <scwm-discuss@scwm.mit.edu>; Thu, 30 Sep 1999 19:25:11 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by vienna3.his.com (8.9.3/8.9.3) with ESMTP id TAA29672;
	Thu, 30 Sep 1999 19:25:07 -0400 (EDT)
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id TAA23432;
	Thu, 30 Sep 1999 19:25:06 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id TAA18449; Thu, 30 Sep 1999 19:25:43 -0400
Date: Thu, 30 Sep 1999 19:25:43 -0400
Message-Id: <199909302325.TAA18449@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@scwm.mit.edu
In-reply-to: <qrr1zbg123l.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 30 Sep 1999 15:11:42 -0700)
Subject: Re: copy-window-configuration buglet
References: <199909292102.RAA07677@soup.ads.apexinc.com> <qrryadp1aix.fsf@elwha.cs.washington.edu> <199909301806.OAA14077@soup.ads.apexinc.com> <qrrd7v01d03.fsf@elwha.cs.washington.edu> <199909302030.QAA24770@soup.ads.apexinc.com> <qrr1zbg123l.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


>   > I've been using the CVS version.  I just did another update and
>   > rebuilt.  I still get the problem I described without my patch, and
>   > don't get the problem I described with my patch.  I did a make clean
>   > and a make just to be sure in case of dependency or modification time
>   > problems though I had verified that c-animation.c had gotten
>   > recompiled.  How could it be that it works for one of us and not the
>   > other?  Is there a dependency on X here?  I can reproduce this by
>   > starting a separate X server with no X resources loaded and running
>   > scwm and two xterms: one with southeast and one with northwest
>   > gravity.  I updated from the anonymous repository just before sending
>   > this message.
>   > 
>   > >   Let me know if the CVS version doesn't work for you, and I'll look into
>   > >   it more.  Sorry we're both messing with the same code -- I know it
>   > >   complicates things but you're pushing me into areas that aren't as well
>   > >   tested as I'd've liked and I'm discovering problems on my own, rather
>   > >   than just relying on bug reports from the list (as I often do when I'm
>   > >   in feature-expansion mode).
>   > 
>   > Consider this me letting you know that the CVS version still doesn't
>   > work for me. :-)
>
>   Are you using Cassowary or no?  I think this could account for some
>   differences (I am, of course, using it).

Well, I think so.  If by "using it" you mean that I have compiled scwm
with it, then yes.  This my configure command:

./configure --enable-maintainer-mode --prefix=/usr --enable-fsstd --with-cassowary=/usr

My guile, guile-gtk, and cassowary were all build from the src.rpms
announced on your page with the 0.99.3 release, so my cassowary is
0.52 and my guile is 1.3.4.

>   I'm looking into the problem.  I really need to do a thorough case
>   analysis because there are lots of different things that need to work
>   and fixing some subset of them is breaking others.

Indeed.  I'll probably just not use animated-resize-frame in the mean
time.  Let me know if there's anything you want me to try, though.

                                Jay

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 30 19:37:25 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA12199
	for scwm-discuss-outgoing; Thu, 30 Sep 1999 19:37:25 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA12196
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 30 Sep 1999 19:37:15 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA02522; Thu, 30 Sep 1999 16:37:04 -0700 (PDT)
To: cwitty@newtonlabs.com (Carl R. Witty)
Cc: "E. Jay Berkenbilt" <ejb@ql.org>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: resize enhancement 1 of 2
References: <199909302033.QAA24816@soup.ads.apexinc.com> <qrr4sgc12ln.fsf@elwha.cs.washington.edu> <v4j1zbgja86.fsf@bogomips.newtonlabs.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Sep 1999 16:37:04 -0700
In-Reply-To: cwitty@newtonlabs.com's message of "30 Sep 1999 15:38:49 -0700"
Message-ID: <qrrvh8synrz.fsf@elwha.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

cwitty@newtonlabs.com (Carl R. Witty) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> > As Carl pointed out, this is tricky business.  I'll go with using
> > 0xAAAAAA to try to get reasonable contrast on at least TrueColor
> > displays (since we can't guarantee anything w/ PseudoColor displays).
> > Of course, the real solution is using overlay planes, and hopefully
> > that'll be an option after XFree86 4.0.
> 
> Of course, you only need to get that complicated to handle varying bit
> depths.  On a 24-bit display, 0x808080 works fine; on a 16-bit 565
> (five bits red and blue, 6 bits green) 1000010000010000 binary
> (0x8410) works.  But 0xAAAAAA should contrast with any color on
> basically any bit depth.
> 
> I think I might prefer XOR to overlay planes...you can't guarantee
> contrast with an overlay plane, and you can with XOR (unless I'm
> confused about overlay planes).

Well, you could intelligently pick the color to use within the overlay
plane.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 30 19:42:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA12295
	for scwm-discuss-outgoing; Thu, 30 Sep 1999 19:42:40 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA12292
	for <scwm-discuss@scwm.mit.edu>; Thu, 30 Sep 1999 19:42:36 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id QAA02535; Thu, 30 Sep 1999 16:42:31 -0700 (PDT)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: copy-window-configuration buglet
References: <199909292102.RAA07677@soup.ads.apexinc.com> <qrryadp1aix.fsf@elwha.cs.washington.edu> <199909301806.OAA14077@soup.ads.apexinc.com> <qrrd7v01d03.fsf@elwha.cs.washington.edu> <199909302030.QAA24770@soup.ads.apexinc.com> <qrr1zbg123l.fsf@elwha.cs.washington.edu> <199909302325.TAA18449@soup.ql.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 30 Sep 1999 16:42:30 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Thu, 30 Sep 1999 19:25:43 -0400"
Message-ID: <qrrr9jgynix.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

<snip>

> >   Are you using Cassowary or no?  I think this could account for some
> >   differences (I am, of course, using it).
> 
> Well, I think so.  If by "using it" you mean that I have compiled scwm
> with it, then yes.  This my configure command:
> 
> ./configure --enable-maintainer-mode --prefix=/usr --enable-fsstd --with-cassowary=/usr
> 
> My guile, guile-gtk, and cassowary were all build from the src.rpms
> announced on your page with the 0.99.3 release, so my cassowary is
> 0.52 and my guile is 1.3.4.

Sounds identical to mine.

> >   I'm looking into the problem.  I really need to do a thorough case
> >   analysis because there are lots of different things that need to work
> >   and fixing some subset of them is breaking others.
> 
> Indeed.  I'll probably just not use animated-resize-frame in the mean
> time.  Let me know if there's anything you want me to try, though.

I'll let you know when I claim all is well.  And hopefully I'll be right 
this time.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Sep 30 22:16:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA12728
	for scwm-discuss-outgoing; Thu, 30 Sep 1999 22:16:36 -0400
Received: from vienna3.his.com (root@vienna3.his.com [216.200.68.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA12725
	for <scwm-discuss@scwm.mit.edu>; Thu, 30 Sep 1999 22:16:31 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by vienna3.his.com (8.9.3/8.9.3) with ESMTP id WAA04075
	for <scwm-discuss@scwm.mit.edu>; Thu, 30 Sep 1999 22:16:28 -0400 (EDT)
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id WAA26605
	for <scwm-discuss@scwm.mit.edu>; Thu, 30 Sep 1999 22:16:27 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id WAA00958; Thu, 30 Sep 1999 22:17:09 -0400
Date: Thu, 30 Sep 1999 22:17:09 -0400
Message-Id: <199910010217.WAA00958@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: final note to the list on my animated-resize gravity problems
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I took the discussion about the animated-resize-frame and gravity
stuff offline to try to work out with Greg what the problem was.  It
turned out that I had not rerun make-devtest after rebuilding after
getting the change to c-animation.c.  Oops!  For anyone who was
following this, the problem had been solved by the latest change to
c-animation, and my patch to resize.c to assign 0 to *pdx and *pdy was
incorrect.

                                Jay

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct  1 12:10:28 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA15743
	for scwm-discuss-outgoing; Fri, 1 Oct 1999 12:10:28 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from thig.blarg.net (root@thig.blarg.net [206.124.128.18])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA15740
	for <scwm-discuss@scwm.mit.edu>; Fri, 1 Oct 1999 12:10:21 -0400
Received: from snowball (vp005.atm01.sea.blarg.net [206.124.138.5])
	by thig.blarg.net (8.9.3/8.9.3) with ESMTP id JAA23970
	for <scwm-discuss@scwm.mit.edu>; Fri, 1 Oct 1999 09:10:12 -0700
Received: by blarg.net
	via sendmail from stdin
	id <m11X5Fe-001UkCC@snowball> (Debian Smail3.2.0.102)
	for scwm-discuss@scwm.mit.edu; Fri, 1 Oct 1999 09:09:42 -0700 (PDT) 
To: scwm-discuss@scwm.mit.edu
Subject: dumped core
From: Eric Hanchrow <offby1@blarg.net>
Date: 01 Oct 1999 09:09:42 -0700
Message-ID: <87d7uzawqh.fsf@blarg.net>
Lines: 121
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Linux snowball 2.0.36 #2 Sun Feb 21 15:55:27 EST 1999 i686 unknown
Guile verion:		1.3.2
Libguile timestamp:	Sun Sep 12 14:04:12 PDT 1999
SCWM version:		0.99.3
>From repository date:	Tue Sep 14 19:46:38 EDT 1999 -- $Revision: 1.2472 $
Restarted:		false
Display Size:		1280x1024
Desk Size:		3x3
Viewport Position:	0x0
Pointer:		876x539
Current Desk:		0
X vendor:		The XFree86 Project, Inc; version: 11.0; release: 334
X Display:
	Resolution:	2956x2951
	Color:		TrueColor (depth: 16; bits per RGB: 6)
image-load-path:
	/usr/share/fvwm95/mini-icons/
	/home/work/scwm/themes/gjb/
	/home/offby1/pixmaps
	/home/offby1/bitmaps
	/usr/local/share/scwm/pixmaps
	/usr/X11R6/include/X11/bitmaps
	/usr/X11R6/include/X11/pixmaps
	/usr/local/share/scwm/pixmaps
	/usr/share/icons/mini
	/usr/lib/TheNextLevel/pixmaps
	/usr/share/include/X11/pixmaps
	/usr/share/include/X11/bitmaps
	/usr/X11/lib/X11/mini-icons
	/usr/X11/include/X11/pixmaps
	/usr/lib/icons
	/usr/local/X11/include/X11/pixmaps
	/usr/local/lib/icons
	/usr/local/icons

I doubt this is reproducible.  

I was using the program `display', which is part of the ImageMagick
suite.  I'd just clicked on `next', to stop looking at one picture and
move to the next.  scwm dumped core like this:

  Current directory is /usr/local/bin/
  GNU gdb 4.17.m68k.objc.threads.hwwp.fpu.gnat
  Copyright 1998 Free Software Foundation, Inc.
  GDB is free software, covered by the GNU General Public License, and you are
  welcome to change it and/or distribute copies of it under certain conditions.
  Type "show copying" to see the conditions.
  There is absolutely no warranty for GDB.  Type "show warranty" for details.
  This GDB was configured as "i486-pc-linux-gnu"...
  (gdb) core ~/core
  Core was generated by `scwm --segv-reset-count 0'.
  Program terminated with signal 6, Aborted.
  Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
  Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
  Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
  Reading symbols from /usr/X11R6/lib/libXtst.so.6...done.
  Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
  Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
  Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
  Reading symbols from /usr/local/lib/libguile.so.5...done.
  Reading symbols from /lib/libdl.so.2...done.
  Reading symbols from /lib/libm.so.6...done.
  Reading symbols from /lib/libc.so.6...done.
  Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
  Reading symbols from /lib/ld-linux.so.2...done.
  Reading symbols from /usr/local/lib/scwm/modules/app/scwm/libc-animation.so.0...done.
  Reading symbols from /usr/local/lib/libguiledlopenhelper.so...done.
  Reading symbols from /usr/local/lib/libguilegtk-1.2.so...done.
  Reading symbols from /usr/local/lib/libgtk-1.2.so.0...done.
  Reading symbols from /usr/local/lib/libgdk-1.2.so.0...done.
  Reading symbols from /usr/local/lib/libgmodule-1.2.so.0...done.
  Reading symbols from /usr/local/lib/libglib-1.2.so.0...done.
  Reading symbols from /lib/libnss_compat.so.1...done.
  Reading symbols from /lib/libnsl.so.1...done.
  Reading symbols from /lib/libnss_files.so.1...done.
  Reading symbols from /usr/local/lib/scwm/modules/app/scwm/libscwmgtkhelper.so.0...done.
  Reading symbols from /usr/local/lib/scwm/modules/app/scwm/libxlib-drawing.so.0...done.
  Reading symbols from /usr/local/lib/scwm/modules/app/scwm/libbackground.so.0...
  done.
  Reading symbols from /usr/local/lib/scwm/modules/app/scwm/libscwmxtest.so.0...
  done.
  #0  0x401ab601 in kill ()
  (gdb) where
  #0  0x401ab601 in kill ()
  #1  0x401ab42f in gsignal ()
  #2  0x401ac64f in abort ()
  #3  0x4012e880 in scm_igc (what=0x4016e899 "string") at gc.c:468
  #4  0x4012fe59 in scm_must_malloc (size=69, what=0x4016e899 "string") at gc.c:1446
  #5  0x4015b65c in scm_makstr (len=68, slots=0) at strings.c:142
  #6  0x4015b862 in scm_makfromstr (src=0x8200dd0 "[Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity\n", len=68, slots=0) at strings.c:213
  #7  0x4015b8c2 in scm_makfrom0str (src=0x8200dd0 "[Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity\n") at strings.c:227
  #8  0x401311b9 in gh_str02scm (s=0x8200dd0 "[Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity\n") at gh_data.c:93
  #9  0x80735e8 in BroadcastName (event_type=131072, data1=0, data2=0, data3=0, szName=0x8200dd0 "[Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity\n") at module-interface.c:110
  #10 0x807a97a in scwm_msg (type=ERR, id=0x808cc86 "SigDoneSegv", msg=0x808cc92 "Doing some cleanup to restore sanity") at scwm.c:1677
  #11 0x807a588 in SigDoneSegv (ignored_ignore=11) at scwm.c:1469
  #12 <signal handler called>
  #13 scm_gc_mark (p=0) at gc.c:609
  #14 0x807cd32 in mark_window (obj=1080617312) at window.c:475
  #15 0x4012f084 in scm_gc_mark (p=1080617312) at gc.c:871
  #16 0x4012f214 in scm_mark_locations (x=0xbffff6e4, n=364) at gc.c:942
  #17 0x4012e91c in scm_igc (what=0x4016f3d2 "vector") at gc.c:547
  #18 0x4012fe59 in scm_must_malloc (size=20, what=0x4016f3d2 "vector") at gc.c:1446
  #19 0x40168a78 in scm_make_vector (k=22, fill=10612) at vectors.c:135
  #20 0x4013226d in gh_make_vector (len=22, fill=10612) at gh_data.c:609
  #21 0x807ce91 in make_window (win=0x849e048) at window.c:520
  #22 0x8056e9b in AddWindow (w=50331680) at add_window.c:334
  #23 0x8066e70 in HandleMapRequestKeepRaised (KeepRaised=0) at events.c:1073
  #24 0x8066e1a in HandleMapRequest () at events.c:1054
  #25 0x8065c95 in DispatchEvent () at events.c:291
  #26 0x8065cca in HandleEvents () at events.c:310
  #27 0x8079da0 in scwm_main (argc=3, argv=0xbffffcf4) at scwm.c:1137
  #28 0x4013299d in gh_launch_pad (closure=0x8079130, argc=3, argv=0xbffffcf4) at gh_init.c:60
  #29 0x40135829 in invoke_main_func (body_data=0xbffffc98) at init.c:570
  #30 0x40161433 in scm_internal_lazy_catch (tag=9076, body=0x40135800 <invoke_main_func>, body_data=0xbffffc98, handler=0x40161780 <scm_handle_by_message>, handler_data=0x0) at throw.c:310
  #31 0x401357d9 in scm_boot_guile_1 (base=0xbffffc94, closure=0xbffffc98) at init.c:544
  #32 0x40135549 in scm_boot_guile (argc=3, argv=0xbffffcf4, main_func=0x40132980 <gh_launch_pad>, closure=0x8079130) at init.c:405
  #33 0x401329d8 in gh_enter (argc=3, argv=0xbffffcf4, c_main_prog=0x8079130 <scwm_main>) at gh_init.c:70
  #34 0x8079125 in main (argc=3, argv=0xbffffcf4) at scwm.c:539
  (gdb) 

Sorry, I no longer have the core file.  If it happens again, I'll save it.

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct  1 16:43:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA16205
	for scwm-discuss-outgoing; Fri, 1 Oct 1999 16:43:59 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from lovecraft.chem.cmu.edu (17@LOVECRAFT.CHEM.CMU.EDU [128.2.42.141])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA16202
	for <scwm-discuss@scwm.mit.edu>; Fri, 1 Oct 1999 16:43:55 -0400
Received: by lovecraft.chem.cmu.edu (Postfix, from userid 2004)
	id 0F74FD3DD; Fri,  1 Oct 1999 16:43:51 -0400 (EDT)
From: Eric Moore <moore@chem.cmu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14325.7431.815152.605448@lovecraft.chem.cmu.edu>
Date: Fri, 1 Oct 1999 16:43:51 -0400 (EDT)
To: scwm-discuss@scwm.mit.edu
Subject: constraints build problem from cvs
X-Mailer: VM 6.72 under 21.1 (patch 6) "Big Bend" XEmacs Lucid
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

seems that the cvs scwm isn't linking right with cassowary compiled
in.  It wasn't linking to Imlib or GTL, so I did:
make LIBS='-lImlib -lGTL -lconstraints -lcassowary -lstdc++'

and it almost worked, but I still get:
/usr/lib/libconstraints.a(cassowary_scm.o): In function `cl_resolve':
/usr/src/cassowary-0.50-cvs/guile/cassowary_scm.cc:1655: undefined reference to `ClSimplexSolver::Resolve(vector<double, __default_alloc_template<true, 0> > const &)'
collect2: ld returned 1 exit status

This is with cassowary 0.52.  Any hints?

  -Eric

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct  1 17:04:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA16287
	for scwm-discuss-outgoing; Fri, 1 Oct 1999 17:04:11 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tequila.cs.yale.edu (TEQUILA.CS.YALE.EDU [128.36.229.152])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA16284
	for <scwm-discuss@scwm.mit.edu>; Fri, 1 Oct 1999 17:04:08 -0400
Received: from tequila.cs.yale.edu (localhost [127.0.0.1])
	by tequila.cs.yale.edu (8.9.3/8.9.3) with SMTP id RAA04852
	for <scwm-discuss@scwm.mit.edu>; Fri, 1 Oct 1999 17:04:06 -0400
To: scwm-discuss@scwm.mit.edu
From: "Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu>
Newsgroups: lists.scwm.discuss
Subject: Re: resize enhancement 1 of 2
References: <199909302033.QAA24816@soup.ads.apexinc.com> <qrr4sgc12ln.fsf@elwha.cs.washington.edu> <v4j1zbgja86.fsf@bogomips.newtonlabs.com>
Date: 01 Oct 1999 17:04:01 -0400
Message-ID: <5lhfkaeqta.fsf@tequila.cs.yale.edu>
Lines: 10
X-Newsreader: Gnus v5.7/Emacs 20.4
Path: tequila.cs.yale.edu
NNTP-Posting-Host: tequila.cs.yale.edu
X-Trace: 1 Oct 1999 17:04:01 -0500, tequila.cs.yale.edu
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> "Carl" == Carl R Witty <cwitty@newtonlabs.com> writes:
> I think I might prefer XOR to overlay planes...you can't guarantee
> contrast with an overlay plane, and you can with XOR (unless I'm
> confused about overlay planes).

My preference goes to opaque-resize which probably suffers its own problems
but at least not the same ones as XOR and overlay planes.


	Stefan

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct  1 17:49:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA16521
	for scwm-discuss-outgoing; Fri, 1 Oct 1999 17:49:51 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA16518
	for <scwm-discuss@scwm.mit.edu>; Fri, 1 Oct 1999 17:49:45 -0400
Received: (gjb@localhost) by elwha.cs.washington.edu (8.8.5+CS/7.2ws+) id OAA09503; Fri, 1 Oct 1999 14:49:33 -0700 (PDT)
To: "Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: resize enhancement 1 of 2
References: <199909302033.QAA24816@soup.ads.apexinc.com> <qrr4sgc12ln.fsf@elwha.cs.washington.edu> <v4j1zbgja86.fsf@bogomips.newtonlabs.com> <5lhfkaeqta.fsf@tequila.cs.yale.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Oct 1999 14:49:31 -0700
In-Reply-To: "Stefan Monnier"'s message of "01 Oct 1999 17:04:01 -0400"
Message-ID: <qrrln9mycno.fsf@elwha.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu> writes:

> >>>>> "Carl" == Carl R Witty <cwitty@newtonlabs.com> writes:
> > I think I might prefer XOR to overlay planes...you can't guarantee
> > contrast with an overlay plane, and you can with XOR (unless I'm
> > confused about overlay planes).
> 
> My preference goes to opaque-resize which probably suffers its own problems
> but at least not the same ones as XOR and overlay planes.

Agreed.   And cassowary requires opaque moves/resizes, so that's what I
use, anyway.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct  1 19:21:38 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA16750
	for scwm-discuss-outgoing; Fri, 1 Oct 1999 19:21:38 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from smtp12.nwnexus.com (smtp12.nwnexus.com [206.63.63.60])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA16747
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 1 Oct 1999 19:21:33 -0400
Received: from pulsar.halcyon.com (ken@coho.halcyon.com [198.137.231.21])
	by smtp12.nwnexus.com (8.8.8/8.8.8) with ESMTP id QAA16358
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 1 Oct 1999 16:21:29 -0700 (PDT)
Received: from ken@localhost by pulsar.halcyon.com id <276492-59>; Fri, 1 Oct 1999 15:45:40 -0700
From: Ken Pizzini <ken@halcyon.com>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: resize enhancement 2 of 2
In-Reply-To: <qrr3dvw12az.fsf@elwha.cs.washington.edu>
Reply-To: ken@halcyon.com
Message-Id: <19991001224540Z276492-59+8@pulsar.halcyon.com>
Date: Fri, 1 Oct 1999 15:45:28 -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> wrote:
>"E. Jay Berkenbilt" <ejb@ql.org> writes:
>> When I click on a window to resize it (rather than clicking on the
>> resize handles), I like the window to resize immediately and for the
>> resize direction to be determined by where in the window I click.  I
>> don't like having to move the mouse outside of the window before it
>> can be resized.
...
>THANKS FOR THE PATCH!  I really like this new resizing behaviour.
>
>The remaining question is, does anyone really want the old behaviour to
>be an option?

These days I am running scwm with very spare decorations, and I use
a key binding to start interactive-resize (because many windows
don't have _any_ frame).  I'm used to having scwm wait for me to
drag the cursor over to a corner or edge before resizing happens.
The new behavior will require me to be more careful about where
the cursor is sitting when I hit the resize key, but I'm not
currently sure whether or not this is likely to be a problem.
I might want the old behavior as an option, but I haven't played
with the new behavior yet, so I'm not at all certain that my
concern relates to a real problem.

		--Ken Pizzini

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct  1 21:04:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA17187
	for scwm-discuss-outgoing; Fri, 1 Oct 1999 21:04:11 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA17184
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 1 Oct 1999 21:04:06 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id SAA09884;
	Fri, 1 Oct 1999 18:04:00 -0700 (PDT)
	(envelope-from gjb)
To: ken@halcyon.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: resize enhancement 2 of 2
References: <19991001224540Z276492-59+8@pulsar.halcyon.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Oct 1999 18:03:59 -0700
In-Reply-To: Ken Pizzini's message of "Fri, 1 Oct 1999 15:45:28 -0700"
Message-ID: <qrriu4qy3nk.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Ken Pizzini <ken@halcyon.com> writes:

> Greg Badros <gjb@cs.washington.edu> wrote:
> >"E. Jay Berkenbilt" <ejb@ql.org> writes:
> >> When I click on a window to resize it (rather than clicking on the
> >> resize handles), I like the window to resize immediately and for the
> >> resize direction to be determined by where in the window I click.  I
> >> don't like having to move the mouse outside of the window before it
> >> can be resized.
> ...
> >THANKS FOR THE PATCH!  I really like this new resizing behaviour.
> >
> >The remaining question is, does anyone really want the old behaviour to
> >be an option?
> 
> These days I am running scwm with very spare decorations, and I use
> a key binding to start interactive-resize (because many windows
> don't have _any_ frame).  I'm used to having scwm wait for me to
> drag the cursor over to a corner or edge before resizing happens.
> The new behavior will require me to be more careful about where
> the cursor is sitting when I hit the resize key, but I'm not
> currently sure whether or not this is likely to be a problem.
> I might want the old behavior as an option, but I haven't played
> with the new behavior yet, so I'm not at all certain that my
> concern relates to a real problem.

You get the old behaviour unless it was a mouse binding that initiated
the resize.  Is that ideal, or what? :-)

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct  1 22:13:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA17369
	for scwm-discuss-outgoing; Fri, 1 Oct 1999 22:13:59 -0400
Received: from vienna3.his.com (root@vienna3.his.com [216.200.68.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA17366
	for <scwm-discuss@scwm.mit.edu>; Fri, 1 Oct 1999 22:13:54 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by vienna3.his.com (8.9.3/8.9.3) with ESMTP id WAA14867
	for <scwm-discuss@scwm.mit.edu>; Fri, 1 Oct 1999 22:13:51 -0400 (EDT)
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id WAA09384
	for <scwm-discuss@scwm.mit.edu>; Fri, 1 Oct 1999 22:13:48 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id WAA03313; Fri, 1 Oct 1999 22:14:30 -0400
Date: Fri, 1 Oct 1999 22:14:30 -0400
Message-Id: <199910020214.WAA03313@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: suggested new cut buffer manipulation routines (with patch)
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


One of the things I like to do with gwm is to clear my X cut buffer.
I tend to do this somewhat regularly to prevent disaster if I hit the
middle mouse button over an xterm by mistake.  I've noticed that the
X-set-cut-buffer-string! function in xprop-extras.scm doesn't work
when called with an empty string -- although the appropriate
properties are modified on the root window, clicking the middle mouse
button still shows the text.  (To reproduce, select some word in your
xterm and click the middle button to paste it.  Then run this code:

  (let ((i 0))
    (while (< i 8)
	   (display i)
	   (X-set-cut-buffer-string! "")
	   (X-rotate-cut-buffers 1)
	   (set! i (+ i 1))
    )
  )

xprop -root will show that the string is really gone from all the cut
buffers.  Click the middle mouse button on an xterm and your string
still appears.

The following patch fixes this.  I basically stole this from gwm -- I
looked to see what it does to manipulate the cut buffer since that
works.  This patch includes ChangeLog entries as well as modifications
to a C file and a scm file.  The difference between doing this and
just setting the X property explicitly is that XSetSelectionOwner is
called.  (I don't claim to understand this, but I know it works!)  I
also think that using XFetchBytes and XStoreBytes avoids breaking an
abstraction barrier which is done by setting these properties on the
root window directly as the old code did.

Comments?  Does this seem like a reasonable change?  One thing is
certain: without it, I can't figure out a way to clear the cut buffer
in a manner that really works, and I don't see any harm in this change
since it does have the effect of clearing the CUT_BUFFER0 property on
the root window.

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/



Index: scheme/ChangeLog
===================================================================
RCS file: /anoncvs/scwm/scheme/ChangeLog,v
retrieving revision 1.441
diff -u -r1.441 ChangeLog
--- ChangeLog	1999/10/02 00:06:38	1.441
+++ ChangeLog	1999/10/02 02:03:54
@@ -1,3 +1,10 @@
+1999-10-01  E. Jay Berkenbilt  <ejb@ql.org>
+
+	* xprop-extras.scm (X-cut-buffer-string): changed to use
+	X-fetch-bytes, just added to miscprocs.c.
+	(X-set-cut-buffer-string!): changed to use X-store-bytes, just
+	added to miscprocs.c.
+
 Fri Oct  1 16:35:42 1999  Greg J. Badros  <gjb@cs.washington.edu>
 
 	* minimal.scm: Drop commented out rubber-band-mask setting.
Index: scheme/xprop-extras.scm
===================================================================
RCS file: /anoncvs/scwm/scheme/xprop-extras.scm,v
retrieving revision 1.8
diff -u -r1.8 xprop-extras.scm
--- xprop-extras.scm	1999/08/30 23:02:31	1.8
+++ xprop-extras.scm	1999/10/02 02:03:55
@@ -17,18 +17,15 @@
   (X-property-set! win "WM_NAME" title))
 
 (define-public (X-cut-buffer-string)
-  "Return the text of the CUT_BUFFER0 property of the root window.
+  "Return the text of the primary cut buffer.
 This is the cut text selected by X clients.  Returns #f if the
-CUT_BUFFER0 property is not a string."
-  (let ((l (X-property-get 'root-window "CUT_BUFFER0")))
-    (if (string=? (cadr l) "STRING")
-	(car l)
-	#f)))
+cut buffer is empty or is not a string."
+  (X-fetch-bytes))
 
 (define-public (X-set-cut-buffer-string! string)
-  "Set the text of the CUT_BUFFER0 property of the root window.
+  "Set the text of the primary cut buffer.
 This is the cut text selected by X clients."
-  (X-property-set! 'root-window "CUT_BUFFER0" string))
+  (X-store-bytes string))
 
 (define*-public (copy-window-title-to-cut-buffer0 #&optional (window (get-window)))
   "Set CUT_BUFFER0 to be a string that is the title of WINDOW."
Index: src/ChangeLog
===================================================================
RCS file: /anoncvs/scwm/src/ChangeLog,v
retrieving revision 1.598
diff -u -r1.598 ChangeLog
--- ChangeLog	1999/10/02 00:06:48	1.598
+++ ChangeLog	1999/10/02 02:04:17
@@ -1,3 +1,12 @@
+1999-10-01  E. Jay Berkenbilt  <ejb@ql.org>
+
+	* miscprocs.c (s_X_fetch_bytes): added this function for cut
+	buffer manipulation.
+	(s_X_store_bytes): added this functino for cut buffer
+	manipulation.  Simply setting the X property seems insufficient
+	for clearing the cut buffer.  This code was basically stolen from
+	gwm.
+
 Thu Sep 30 17:22:05 1999  Greg J. Badros  <gjb@cs.washington.edu>
 
 	* resize.c: Patched to make InteractiveResize use the current
Index: src/miscprocs.c
===================================================================
RCS file: /anoncvs/scwm/src/miscprocs.c,v
retrieving revision 1.103
diff -u -r1.103 miscprocs.c
--- miscprocs.c	1999/09/30 17:13:14	1.103
+++ miscprocs.c	1999/10/02 02:04:19
@@ -859,6 +859,44 @@
 }
 #undef FUNC_NAME
 
+SCWM_PROC(X_fetch_bytes, "X-fetch-bytes", 0, 0, 0,
+	  ())
+     /** Returns a string representing the value of the cut buffer.
+XFetchBytes is called. */
+#define FUNC_NAME s_X_fetch_bytes
+{
+  char *str;
+  int len;
+  SCM result;
+
+  str = XFetchBytes(dpy, &len);
+  if (str == NULL)
+    return SCM_BOOL_F;
+
+  /* EJB:FIXME:: XStoreBytes allows embedded NULLs.  Does this? Do we care? */
+  result = gh_str02scm(str);
+  XFree(str);
+  return result;
+}
+#undef FUNC_NAME
+
+SCWM_PROC(X_store_bytes, "X-store-bytes", 1, 0, 0,
+	  (SCM string))
+     /** Set the cut buffer by calling XStoreBytes. */
+#define FUNC_NAME s_X_store_bytes
+{
+  char *sz;
+
+  VALIDATE_ARG_STR_NEWCOPY(1,string,sz);
+  sz=gh_scm2newstr(string, NULL);
+  /* EJB:FIXME:: XStoreBytes allows embedded NULLs.  This doesn't.
+   * Do we care? */
+  XStoreBytes(dpy, sz, strlen(sz));
+  gh_free(sz);
+  XSetSelectionOwner(dpy, XA_PRIMARY, None, CurrentTime);
+  return SCM_UNSPECIFIED;
+}
+#undef FUNC_NAME
 
 void 
 init_miscprocs()

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct  1 23:09:53 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id XAA17515
	for scwm-discuss-outgoing; Fri, 1 Oct 1999 23:09:53 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id XAA17512
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 1 Oct 1999 23:09:46 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id UAA10153;
	Fri, 1 Oct 1999 20:09:41 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: suggested new cut buffer manipulation routines (with patch)
References: <199910020214.WAA03313@soup.ql.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 01 Oct 1999 20:09:41 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Fri, 1 Oct 1999 22:14:30 -0400"
Message-ID: <qrrhfkaxxu2.fsf@elwha.cs.washington.edu>
Lines: 34
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

<snip reproduction details>

> The following patch fixes this.  I basically stole this from gwm -- I
> looked to see what it does to manipulate the cut buffer since that
> works.  This patch includes ChangeLog entries as well as modifications
> to a C file and a scm file.  The difference between doing this and
> just setting the X property explicitly is that XSetSelectionOwner is
> called.  (I don't claim to understand this, but I know it works!)  I
> also think that using XFetchBytes and XStoreBytes avoids breaking an
> abstraction barrier which is done by setting these properties on the
> root window directly as the old code did.

Looks good to me w/o trying it... maybe this will fix some of the
quirkiness I've seen in Scwm's cut-buffer behaviour not quite matching
an arbitrary X11 app.  I'll apply your patch later tonight.  (BTW, this
won't be the first time we've made use of GWM code... the original
synthetic event support was derived from GWM's primitives).

> Comments?  Does this seem like a reasonable change?  One thing is
> certain: without it, I can't figure out a way to clear the cut buffer
> in a manner that really works, and I don't see any harm in this change
> since it does have the effect of clearing the CUT_BUFFER0 property on
> the root window.

I love the idea of resetting your cut buffers... I'll have to add a hook 
for when the cut buffer changes so that a timer hook can zero it out
after a couple of minutes (and perhaps reset the timer when pasted via
Scwm).

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct  2 11:56:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA20999
	for scwm-discuss-outgoing; Sat, 2 Oct 1999 11:56:44 -0400
Received: from vienna3.his.com (root@vienna3.his.com [216.200.68.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA20996
	for <scwm-discuss@scwm.mit.edu>; Sat, 2 Oct 1999 11:56:40 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by vienna3.his.com (8.9.3/8.9.3) with ESMTP id LAA25171
	for <scwm-discuss@scwm.mit.edu>; Sat, 2 Oct 1999 11:56:37 -0400 (EDT)
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id LAA17858
	for <scwm-discuss@scwm.mit.edu>; Sat, 2 Oct 1999 11:56:36 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id LAA06093; Sat, 2 Oct 1999 11:57:18 -0400
Date: Sat, 2 Oct 1999 11:57:18 -0400
Message-Id: <199910021557.LAA06093@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: question about event bindings
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


With the current event scheme, is it possible to bind certain mouse
buttons to perform certain activities only for specific windows?  I
know this will be possible under the new event scheme, but I can't
presently figure out how to do this with the old event scheme.

I'm trying to set things up so that I can trap button clicks to
certain windows and have them only pass the event on to the window
under specified circumstances.  (This is required by my zwgc module.)
I can get all the functionality I need, but I can't figure out a way
to confine it to only the windows I want it to apply to.

Am I overlooking something, or is the functionality not there yet?  If
not, any guesses as to when it will be?

The only workaround I can presently think of us to call bind-mouse
and unbind-mouse in response to entering and leaving certain windows,
but this seems pretty gross, and I haven't tried it yet, so I'm not
even certain it will work....

                                Jay

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct  2 12:12:07 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA21120
	for scwm-discuss-outgoing; Sat, 2 Oct 1999 12:12:07 -0400
Received: from vienna3.his.com (root@vienna3.his.com [216.200.68.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA21115
	for <scwm-discuss@scwm.mit.edu>; Sat, 2 Oct 1999 12:12:01 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by vienna3.his.com (8.9.3/8.9.3) with ESMTP id MAA25378
	for <scwm-discuss@scwm.mit.edu>; Sat, 2 Oct 1999 12:11:59 -0400 (EDT)
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id MAA27787
	for <scwm-discuss@scwm.mit.edu>; Sat, 2 Oct 1999 12:11:58 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id MAA06643; Sat, 2 Oct 1999 12:12:40 -0400
Date: Sat, 2 Oct 1999 12:12:40 -0400
Message-Id: <199910021612.MAA06643@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: easy to reproduce segmentation fault 
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Run scwm with the following .scwmrc:

   (use-scwm-modules base)

   (bind-key 'all "C-S-A-End" restart)

   (define (goodbye win)
     (display (window-class win))
     (display "\n")
   )

   (add-hook! window-leave-hook goodbye)

Start an xterm.  Type exit in the xterm.  scwm segfaults.

Calling window-class on the invalid window causes this segmentation
fault, and the window-leave-hook is called on an invalid window if the
mouse leaves the window because the window disappears.

I think it is important for the window-leave hook to be called in this
case so that window-enter-hooks and window-leave-hooks are called
symmetrically.  It's easy enough to test (window-valid?) in the hook.
I guess the bug is that calling window-class on an invalid window
results in a segmentation fault.  I have not attempted to debug this.

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct  2 12:23:07 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA21202
	for scwm-discuss-outgoing; Sat, 2 Oct 1999 12:23:07 -0400
Received: from vienna3.his.com (root@vienna3.his.com [216.200.68.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA21199
	for <scwm-discuss@scwm.mit.edu>; Sat, 2 Oct 1999 12:23:04 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by vienna3.his.com (8.9.3/8.9.3) with ESMTP id MAA25704
	for <scwm-discuss@scwm.mit.edu>; Sat, 2 Oct 1999 12:23:01 -0400 (EDT)
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id MAA05081
	for <scwm-discuss@scwm.mit.edu>; Sat, 2 Oct 1999 12:23:01 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id MAA06791; Sat, 2 Oct 1999 12:23:43 -0400
Date: Sat, 2 Oct 1999 12:23:43 -0400
Message-Id: <199910021623.MAA06791@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: question about event bindings
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Earlier, I said:

> The only workaround I can presently think of us to call bind-mouse
> and unbind-mouse in response to entering and leaving certain windows,
> but this seems pretty gross, and I haven't tried it yet, so I'm not
> even certain it will work....

This works well enough for now...

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct  2 12:48:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA21374
	for scwm-discuss-outgoing; Sat, 2 Oct 1999 12:48:11 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA21371
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 2 Oct 1999 12:48:07 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id JAA11002;
	Sat, 2 Oct 1999 09:48:02 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Event rewrite and decoration rewrite [ was Re: question about event bindings]
References: <199910021623.MAA06791@soup.ql.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Oct 1999 09:48:01 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Sat, 2 Oct 1999 12:23:43 -0400"
Message-ID: <qrrbtahyaim.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> Earlier, I said:
> 
> > The only workaround I can presently think of us to call bind-mouse
> > and unbind-mouse in response to entering and leaving certain windows,
> > but this seems pretty gross, and I haven't tried it yet, so I'm not
> > even certain it will work....
> 
> This works well enough for now...

It's the only option for now.

The event rewrite is likely going to happen before the end of the
millenium. :-)

I'm beginning to believe that the decoration rewrite may be politically
more important as one of the plug-in decoration modules can be pure GTk+ 
with themes which would fit well with Gnome and may help Scwm get
adopted by RedHat and others as their standard WM.  Similarly, another
module could use the Qt widget set to mesh especially nicely with KDE.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct  2 13:40:09 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA21515
	for scwm-discuss-outgoing; Sat, 2 Oct 1999 13:40:09 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA21512
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 2 Oct 1999 13:39:57 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id KAA11037;
	Sat, 2 Oct 1999 10:39:47 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: easy to reproduce segmentation fault
References: <199910021612.MAA06643@soup.ql.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 02 Oct 1999 10:39:46 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Sat, 2 Oct 1999 12:12:40 -0400"
Message-ID: <qrraeq1y84d.fsf@elwha.cs.washington.edu>
Lines: 53
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> Run scwm with the following .scwmrc:
> 
>    (use-scwm-modules base)
> 
>    (bind-key 'all "C-S-A-End" restart)
> 
>    (define (goodbye win)
>      (display (window-class win))
>      (display "\n")
>    )
> 
>    (add-hook! window-leave-hook goodbye)
> 
> Start an xterm.  Type exit in the xterm.  scwm segfaults.

Gotta love these great bug reports-- thanks!

> Calling window-class on the invalid window causes this segmentation
> fault, and the window-leave-hook is called on an invalid window if the
> mouse leaves the window because the window disappears.

Yep.  Fixed the argument checking to ensure that the window is valid;
caught a couple other lurking bugs while doing so.

> I think it is important for the window-leave hook to be called in this
> case so that window-enter-hooks and window-leave-hooks are called
> symmetrically.  It's easy enough to test (window-valid?) in the hook.

Agreed.

> I guess the bug is that calling window-class on an invalid window
> results in a segmentation fault.  I have not attempted to debug this.

That'd be ugly, of course, and Scwm must never crash from faulty
Scheme code. Period.

Unfortunately, it appears that even as early as the unmap notify event
for a closing window the (X-property-get "WM_CLASS") returns "NoClass".
I now call window_leave_hook just before the X-UnmapNotify-hook, but you 
have to use window-class-hint instead of window-class.  

Maybe this means we need to track the window class and resource in the
window structure since the properties disappear a bit too quickly upon
departure of the window.

For now, window-class-hint may be good enough to make use of.

I'll be committing these changes shortly.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct  3 09:45:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA25198
	for scwm-discuss-outgoing; Sun, 3 Oct 1999 09:45:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from Cantor.suse.de (Cantor.suse.de [194.112.123.193])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA25195
	for <scwm-discuss@scwm.mit.edu>; Sun, 3 Oct 1999 09:45:09 -0400
Received: from Galois.suse.de (Galois.suse.de [194.112.123.130])
	by Cantor.suse.de (Postfix) with ESMTP
	id B713732CDA; Sun, 03 Oct 1999 13:44:35 +0000 (???)
Received: from Wotan.suse.de (Wotan.suse.de [10.10.0.1])
	by Galois.suse.de (Postfix) with ESMTP
	id 3858767B3; Sun,  3 Oct 1999 15:44:35 +0200 (MEST)
Received: from Frechet.suse.de (Frechet.suse.de [10.10.0.123])
	by Wotan.suse.de (Postfix) with ESMTP
	id 13E3A7F8B; Sun,  3 Oct 1999 15:44:35 +0200 (MEST)
Received: (from ke@localhost)
	by Frechet.suse.de (8.9.3/8.9.3) id PAA03796;
	Sun, 3 Oct 1999 15:44:34 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Scwm-0.99.3 success reports?
References: <qrr4sggxsp3.fsf@elwha.cs.washington.edu>
From: Karl Eichwalder <ke@suse.de>
Date: 03 Oct 1999 15:44:34 +0200
In-Reply-To: Greg Badros's message of "27 Sep 1999 08:47:04 -0700"
Message-ID: <shbtaglfst.fsf@Frechet.suse.de>
Lines: 34
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

|   Please let me know if you've had success w/ 0.99.3 w/ RPMs or
|   otherwise.

Thanks for the release!

I compiled scwm 0.99.3 on SuSE Linux 6.3pre; with guile 1.3.4 and all
bells and whistles (esd, imlib, gtk,..., but w/o gnome-corba).

Works, but system.scwmrc fails:

0* (load-preferences)

/usr/X11R6/share/scwm/scwmrc/system.scwmrc:1424:1: In expression (load-preferences):
/usr/X11R6/share/scwm/scwmrc/system.scwmrc:1424:1: Unbound variable: load-preferences

And most other .scwmrc files do, too.  Not sure, whether this report is
useful.

At home I'm running a pretty old version (from beginning of 1999), with
a customized .scwmrc file; I'll try this one the next days.

A small feature request.  I'd like to see system.scwmrc installed in
$(sysconfdir).  This means one should be able to do

    ./configure --prefix=/etc --sysconfdir=/var/lib/scwm

and `make install' should copy system.scwmrc to /var/lib/scwm (=
$sysconfdir).

-- 
                                             work   :        ke@suse.de
Karl Eichwalder                              private: ke@gnu.franken.de

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct  3 18:13:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA25662
	for scwm-discuss-outgoing; Sun, 3 Oct 1999 18:13:24 -0400
Received: from vienna3.his.com (root@vienna3.his.com [216.200.68.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA25659
	for <scwm-discuss@scwm.mit.edu>; Sun, 3 Oct 1999 18:13:18 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by vienna3.his.com (8.9.3/8.9.3) with ESMTP id SAA21190
	for <scwm-discuss@scwm.mit.edu>; Sun, 3 Oct 1999 18:13:15 -0400 (EDT)
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id SAA07384
	for <scwm-discuss@scwm.mit.edu>; Sun, 3 Oct 1999 18:13:13 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id SAA09462; Sun, 3 Oct 1999 18:13:50 -0400
Date: Sun, 3 Oct 1999 18:13:50 -0400
Message-Id: <199910032213.SAA09462@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: resize buglet involving client resize increment hints (w/ patch)
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


When resizing windows, scwm attempts to conform to client resize
increment hints by rounding to the nearest multiple of the resize
increment (either up or down).  I think that always rounding down is
the correct action.  Otherwise, when you go to resize a window to fit
within a certain set of constraints (such as maximizing a window), you
may end up resizing the window to be larger than the constraints
rather than smaller.

I was going to try to code something more intelligent, but I checked
what gwm does, and it always rounds down, and besides, you couldn't
really use any more intelligence without knowing why the user was
doing the resize.  To me, this is clearly the right behavior.  Also,
scwm was already doing this in some cases when it didn't think it was
based on the way makemult was coded.  Can anyone think of when this
behavior would be worse than rounding to the nearest multiple?

This patch makes two change:

 1. The ConstrainSize code in resize.c is changed to always round down
    to the multiple of the client's resize increment.

 2.  The makemult function was changed to be more explicit about doing
     what it was doing anyway.  In the old code, we were testing
     a/b - t >= .5, but since a, b, and t are all integers, this test
     will always be false.  a and b would have to explicitly cast to
     float or double for this to be otherwise.  Just to be sure I was
     right, I ran this C program:

	 int main()
	 {
	     int a = 8;
	     int b = 3;
	     int t = a/b;
	     printf("%d\n", (a/b - t >= .5 ? 1 : 0));
	     return 0;
	 }

     It prints 0.

This is a tad more difficult to reproduce since it depends upon fonts
and screen sizes.  I'd bet that you can reproduce it this way,
though.  I know it works for me with an 1152x864 display.  With this
.scwmrc:

   (use-scwm-modules optargs base winops)

   (define* (test-maximize #&optional (win (get-window)))
     (maximize display-width display-height win)
   )

   (bind-key 'all "C-S-A-End" restart)
   (bind-key 'window "C-S-m" test-maximize)

create an xterm with 

xterm -fn '*-courier-bold-r-normal--34-*' &

and maximize the window.  Part of the window will probably be off the
screen.  This patch fixes this problem.

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/


Index: src/ChangeLog
===================================================================
RCS file: /anoncvs/scwm/src/ChangeLog,v
retrieving revision 1.603
diff -u -r1.603 ChangeLog
--- ChangeLog	1999/10/02 19:48:03	1.603
+++ ChangeLog	1999/10/03 21:52:43
@@ -1,3 +1,12 @@
+1999-10-03  E. Jay Berkenbilt  <ejb@ql.org>
+
+	* resize.c (makemult): Always round down.
+	(ConstrainSize): Always round down when making size a multiple of
+	the client's resize increment.  The old code rounded up if the
+	pixel size was more than half way between two increments.  This
+	may give the wrong answer when resizing windows to fit within a
+	given area (such as the display).
+
 Sat Oct  2 12:41:17 1999  Greg J. Badros  <gjb@cs.washington.edu>
 
 	* callbacks.c: Make error-hook call procs using the string error
Index: src/resize.c
===================================================================
RCS file: /anoncvs/scwm/src/resize.c,v
retrieving revision 1.88
diff -u -r1.88 resize.c
--- resize.c	1999/10/01 00:41:55	1.88
+++ resize.c	1999/10/03 21:52:49
@@ -66,8 +66,7 @@
   if (b==1)
     return a;
   else {
-    int t = a/b;
-    return t * (b + (a/b - t >= .5? 1: 0));
+    return a - (a % b);
   }
 }
 
@@ -149,12 +148,12 @@
    * Second, fit to base + N * inc
    */
   if (xinc != 0) 
-    dwidth = ((dwidth + xinc/2 - baseWidth) / xinc * xinc) + baseWidth;
+    dwidth = ((dwidth - baseWidth) / xinc * xinc) + baseWidth;
   else
     scwm_msg(WARN,FUNC_NAME,"xinc == 0");
 
   if (yinc != 0)
-    dheight = ((dheight + yinc/2 - baseHeight) / yinc * yinc) + baseHeight;
+    dheight = ((dheight - baseHeight) / yinc * yinc) + baseHeight;
   else
     scwm_msg(WARN,FUNC_NAME,"yinc == 0");
 

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct  3 18:40:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA25807
	for scwm-discuss-outgoing; Sun, 3 Oct 1999 18:40:33 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA25804
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 3 Oct 1999 18:40:28 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id PAA13019;
	Sun, 3 Oct 1999 15:40:22 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: resize buglet involving client resize increment hints (w/ patch)
References: <199910032213.SAA09462@soup.ql.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 03 Oct 1999 15:40:22 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Sun, 3 Oct 1999 18:13:50 -0400"
Message-ID: <qrrg0zsvzjd.fsf@elwha.cs.washington.edu>
Lines: 114
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> When resizing windows, scwm attempts to conform to client resize
> increment hints by rounding to the nearest multiple of the resize
> increment (either up or down).  I think that always rounding down is
> the correct action.  Otherwise, when you go to resize a window to fit
> within a certain set of constraints (such as maximizing a window), you
> may end up resizing the window to be larger than the constraints
> rather than smaller.
> 
> I was going to try to code something more intelligent, but I checked
> what gwm does, and it always rounds down, and besides, you couldn't
> really use any more intelligence without knowing why the user was
> doing the resize.  To me, this is clearly the right behavior.  Also,
> scwm was already doing this in some cases when it didn't think it was
> based on the way makemult was coded.  Can anyone think of when this
> behavior would be worse than rounding to the nearest multiple?

Sounds good to me.

> This patch makes two change:
> 
>  1. The ConstrainSize code in resize.c is changed to always round down
>     to the multiple of the client's resize increment.
> 
>  2.  The makemult function was changed to be more explicit about doing
>      what it was doing anyway.  In the old code, we were testing
>      a/b - t >= .5, but since a, b, and t are all integers, this test
>      will always be false.  a and b would have to explicitly cast to
>      float or double for this to be otherwise.  Just to be sure I was
>      right, I ran this C program:
> 
> 	 int main()
> 	 {
> 	     int a = 8;
> 	     int b = 3;
> 	     int t = a/b;
> 	     printf("%d\n", (a/b - t >= .5 ? 1 : 0));
> 	     return 0;
> 	 }
> 
>      It prints 0.

<snip>

> Index: src/ChangeLog
> ===================================================================
> RCS file: /anoncvs/scwm/src/ChangeLog,v
> retrieving revision 1.603
> diff -u -r1.603 ChangeLog
> --- ChangeLog	1999/10/02 19:48:03	1.603
> +++ ChangeLog	1999/10/03 21:52:43
> @@ -1,3 +1,12 @@
> +1999-10-03  E. Jay Berkenbilt  <ejb@ql.org>
> +
> +	* resize.c (makemult): Always round down.
> +	(ConstrainSize): Always round down when making size a multiple of
> +	the client's resize increment.  The old code rounded up if the
> +	pixel size was more than half way between two increments.  This
> +	may give the wrong answer when resizing windows to fit within a
> +	given area (such as the display).
> +

ChangeLogs entrys are actually better given directly, instead of as a
patch (no big deal either way, really, though, so whatever is easier for 
you is fine w/ me).

>  Sat Oct  2 12:41:17 1999  Greg J. Badros  <gjb@cs.washington.edu>
>  
>  	* callbacks.c: Make error-hook call procs using the string error
> Index: src/resize.c
> ===================================================================
> RCS file: /anoncvs/scwm/src/resize.c,v
> retrieving revision 1.88
> diff -u -r1.88 resize.c
> --- resize.c	1999/10/01 00:41:55	1.88
> +++ resize.c	1999/10/03 21:52:49
> @@ -66,8 +66,7 @@
>    if (b==1)
>      return a;
>    else {
> -    int t = a/b;
> -    return t * (b + (a/b - t >= .5? 1: 0));
> +    return a - (a % b);
>    }
>  }

I think we can simplify your patch for makemult a bit more by doing just:

  return a - (a % b)

since b==1 means a%b is zero, so we just get a.

> @@ -149,12 +148,12 @@
>     * Second, fit to base + N * inc
>     */
>    if (xinc != 0) 
> -    dwidth = ((dwidth + xinc/2 - baseWidth) / xinc * xinc) + baseWidth;
> +    dwidth = ((dwidth - baseWidth) / xinc * xinc) + baseWidth;
>    else
>      scwm_msg(WARN,FUNC_NAME,"xinc == 0");
>  
>    if (yinc != 0)
> -    dheight = ((dheight + yinc/2 - baseHeight) / yinc * yinc) + baseHeight;
> +    dheight = ((dheight - baseHeight) / yinc * yinc) + baseHeight;
>    else
>      scwm_msg(WARN,FUNC_NAME,"yinc == 0");
>  

Looks good.

Thanks-- I'll commit your patch to the repository shortly.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct  3 19:09:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA26113
	for scwm-discuss-outgoing; Sun, 3 Oct 1999 19:09:52 -0400
Received: from vienna3.his.com (root@vienna3.his.com [216.200.68.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA26110
	for <scwm-discuss@scwm.mit.edu>; Sun, 3 Oct 1999 19:09:46 -0400
Received: from mail.his.com (root@mail.his.com [205.177.25.9])
	by vienna3.his.com (8.9.3/8.9.3) with ESMTP id TAA22738
	for <scwm-discuss@scwm.mit.edu>; Sun, 3 Oct 1999 19:09:43 -0400 (EDT)
Received: from soup.ql.org (IDENT:ejb@soup.ql.org [209.8.16.98])
	by mail.his.com (8.9.3/8.9.3) with ESMTP id TAA14914
	for <scwm-discuss@scwm.mit.edu>; Sun, 3 Oct 1999 19:09:41 -0400 (EDT)
Received: (from ejb@localhost) by soup.ql.org (8.9.3/8.7.1-Q-8) id TAA10072; Sun, 3 Oct 1999 19:10:18 -0400
Date: Sun, 3 Oct 1999 19:10:18 -0400
Message-Id: <199910032310.TAA10072@soup.ql.org>
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: decor information not available to placement-proc
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


The window placement seems to be called before decor information has
been applied.  I can't see why from the code -- everything looks like
it's being done in the right order.  I haven't studied it too
carefully.  However, the problem is easily reproduced.  Run scwm with
this .scwmrc and run xmessage test.  The border width and title height
have not been applied yet.

    (use-scwm-modules optargs base winops style wininfo decor face)

    (bind-key 'all "C-S-A-End" restart)

    (setvbuf (current-output-port) _IONBF)

    (define* (print-size-and-position #&optional (win (get-window)))
      (display win)
      (display " ")
      (display (window-frame-size win))
      (display " ")
      (display (window-position win))
      (display "\n")
    )
    (add-hook! after-new-window-hook
	       (lambda (win)
		 (if (string=? (window-class win) "Xmessage")
		     (print-size-and-position win)
		 )
	       )
	       #t
    )

    (define test-decor (make-decor))
    (with-decor test-decor
		(title-style #:title-height 25)
    )
    (window-style "xmessage"
		  #:border-width 1
		  #:placement-proc print-size-and-position
		  #:use-decor test-decor
    )


I have now reported all the bugs that I've found and have been able to
reliably reproduce while porting my zwgc stuff and several other
miscellaneous routines over to scwm.  I still have one more problem --
netscape seems to sometimes get resized and/or moved by a small amount
when I restart.  I can't reproduce this yet.  It doesn't happen with
any of my other windows.  If I figure out how to reproduce this, I'll
send in a separate bug report.  I may or may not try to reproduce this
though.  We'll see.

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct  3 19:31:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA26278
	for scwm-discuss-outgoing; Sun, 3 Oct 1999 19:31:42 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA26275
	for <scwm-discuss@scwm.mit.edu>; Sun, 3 Oct 1999 19:31:37 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id QAA13079;
	Sun, 3 Oct 1999 16:31:30 -0700 (PDT)
	(envelope-from gjb)
To: Karl Eichwalder <ke@suse.de>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Scwm-0.99.3 success reports?
References: <qrr4sggxsp3.fsf@elwha.cs.washington.edu> <shbtaglfst.fsf@Frechet.suse.de>
From: Greg Badros <gjb@cs.washington.edu>
Date: 03 Oct 1999 16:31:30 -0700
In-Reply-To: Karl Eichwalder's message of "03 Oct 1999 15:44:34 +0200"
Message-ID: <qrrbtagvx65.fsf@elwha.cs.washington.edu>
Lines: 47
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Karl Eichwalder <ke@suse.de> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> |   Please let me know if you've had success w/ 0.99.3 w/ RPMs or
> |   otherwise.
> 
> Thanks for the release!
> 
> I compiled scwm 0.99.3 on SuSE Linux 6.3pre; with guile 1.3.4 and all
> bells and whistles (esd, imlib, gtk,..., but w/o gnome-corba).
> 
> Works, but system.scwmrc fails:
> 
> 0* (load-preferences)
> 
> /usr/X11R6/share/scwm/scwmrc/system.scwmrc:1424:1: In expression (load-preferences):
> /usr/X11R6/share/scwm/scwmrc/system.scwmrc:1424:1: Unbound variable: load-preferences

Did you do a "make install"?  Is your GUILE_LOAD_PATH environment
variable set?  Do you get startup messages about not-found modules?
What do you get with:

(use-scwm-modules preferences)

at the scwmrepl?

> And most other .scwmrc files do, too.  Not sure, whether this report is
> useful.
> 
> At home I'm running a pretty old version (from beginning of 1999), with
> a customized .scwmrc file; I'll try this one the next days.
> 
> A small feature request.  I'd like to see system.scwmrc installed in
> $(sysconfdir).  This means one should be able to do
> 
>     ./configure --prefix=/etc --sysconfdir=/var/lib/scwm
> 
> and `make install' should copy system.scwmrc to /var/lib/scwm (=
> $sysconfdir).

Is --with-scwmrcdir not working for you?  I think this is intended to do 
roughly what you're asking (though it affects all .scwmrc's, not just
system.scwmrc).

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct  3 21:39:31 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA26598
	for scwm-discuss-outgoing; Sun, 3 Oct 1999 21:39:31 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA26595
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 3 Oct 1999 21:39:25 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id SAA13182;
	Sun, 3 Oct 1999 18:39:19 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: decor information not available to placement-proc
References: <199910032310.TAA10072@soup.ql.org>
From: Greg Badros <gjb@cs.washington.edu>
Date: 03 Oct 1999 18:39:19 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Sun, 3 Oct 1999 19:10:18 -0400"
Message-ID: <qrr670nx5tk.fsf@elwha.cs.washington.edu>
Lines: 21
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

<snip>

>     (define test-decor (make-decor))
>     (with-decor test-decor
> 		(title-style #:title-height 25)
>     )

Actually, here the bug is yours. :-) #:title-height is not the name of
the keyword, #:height is what you want.  Because title-style is
explicitly something that is intended to be extended, it's
define*-public is marked #&allow-other-keys which means you don't get
the error that would otherwise have helped you spot this problem.  It'd
be nice if the optargs stuff would give the error if the keyword wasn't
ever extended since these kind of mistakes are far too easy to make.

Let me know if using #:height doesn't fix things for you.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 05:30:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA29178
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 05:30:57 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA29175
	for <scwm-discuss@scwm.mit.edu>; Mon, 4 Oct 1999 05:30:50 -0400
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id TAA03919
	for <scwm-discuss@scwm.mit.edu>; Mon, 4 Oct 1999 19:30:41 +1000
Message-ID: <37F8843E.F7362195@tech.com.au>
Date: Mon, 04 Oct 1999 20:41:02 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: SCWM wierdness.
References: <qrrd7v5zd3a.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Hi all. Just installed the scwm .99.3 redhat rpm.

Initial impressions:

*) The desktop icons of gnome appeared all stacked on top of each other
instead of neatly arranged like in enlightenment.

*) The gnome pager seems wierd with scwm. With the system.scwmrc there
are 4 lots of 3x3 desktops. If I click on say row 1 col 1 of desk 1, all
4 desks change to row 1 col 1. But if I click on row 3 col 1, only that
desktop changes to row 3 col 1.  (As an aside, this is way too many
desks for your average user in a system.scwmrc file).

*) I have windows open only in page 0,0 on desk 0. Now I click on page
1,1 on desk 1. In the gnome pager the windows on page 0,0,0 move to page
1,1 on desk 0.

*) It seemed to "lose" windows. They seemed to vanish to a virtual world
I couldn't find. Hard to repeat, will report more if I can.

*) The default colours for the system.scwmrc are really bad. Blue border
on blue background. Also not very user-friendly defaults for all those
users you're hoping to win over. Some motif-y buttons or something would
seem more reasonable.

-- 
Chris Bitmead
mailto:chris@tech.com.au

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 11:03:04 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA29645
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 11:03:04 -0400
Received: from mailhub-dmz4.bloomberg.net (mailhub-dmz4.bloomberg.net [205.216.112.158])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA29642
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 11:02:59 -0400
Received: from blinky.bloomberg.com by mailhub-dmz4.bloomberg.net with ESMTP; Mon, 4 Oct 1999 11:01:32 -0400
Received: (from hjstein@localhost)
	by blinky.bloomberg.com (8.9.3/8.9.3) id LAA22285;
	Mon, 4 Oct 1999 11:00:24 -0400
X-Authentication-Warning: blinky.bloomberg.com: hjstein set sender to hjstein@bfr.co.il using -f
To: Greg Badros <gjb@cs.washington.edu>
Cc: "E. Jay Berkenbilt" <ejb@ql.org>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite and decoration rewrite [ was Re: question about event bindings]
References: <199910021623.MAA06791@soup.ql.org> <qrrbtahyaim.fsf@elwha.cs.washington.edu>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 04 Oct 1999 11:00:24 -0400
In-Reply-To: Greg Badros's message of "02 Oct 1999 09:48:01 -0700"
Message-ID: <kiw905j6uif.fsf@blinky.bloomberg.com>
Lines: 62
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > It's the only option for now.
 > 
 > The event rewrite is likely going to happen before the end of the
 > millenium. :-)
 > 
 > I'm beginning to believe that the decoration rewrite may be politically
 > more important as one of the plug-in decoration modules can be pure GTk+ 
 > with themes which would fit well with Gnome and may help Scwm get
 > adopted by RedHat and others as their standard WM.  Similarly, another
 > module could use the Qt widget set to mesh especially nicely with KDE.

If that's the case, then how about a few minor tweaks to the mouse
handing to hold us until the event handling rewrite?

The one thing about scwm that really annoys me is the way it waits for
a second mouse event to decide whether or not a click is a double
click.  I realize that with the current model it's almost impossible
for the code to figure out whether or not there's an event handler for
a double click, but people have proposed various small changes to deal
with it.  The easiest would seem to me to:

 a) add a single-click symbol that (mouse-event-type) can return, and 
 b) fire all mouse-bindings on the 1st click with (mouse-event-type)
    returning 'single-click for the 1st click.  If a 2nd click has
    arrived before (click-delay), it can then fire off the bindings a
    2nd time, with (mouse-event-type) returning 'double-click.  If a
    2nd click doesn't arrive in time, it can return 'click.

This will only break code like:

   (bind-mouse 'icon 1
               (lambda ()
                  (case (mouse-event-type)
                        ((motion) ...)
                        ((double-click) ...)
                        (else ...))))

(i.e. - where there's a default action that occurs if
(mouse-event-type) doesn't match any of the listed symbols)

It *won't* even break code that hangs an action off of a mouse binding
which doesn't care about the (mouse-event-type) (i.e. - where the
same action is invoked for all mouse event types).

Since code that does that is arguably broken (not to mention that it'd
be hard to understand why someone would do this), it shouldn't be a
big deal to change the behavior like this.  It should be easy enough
to purge any occurrences of this from the distribution - in fact, I
just scanned /usr/local/share/scwm* & didn't find any occurrences, so
it's probably a no-op.
 
For the truly paranoid, you could add a global,
*mouse-event-type-returns-single-click*, bound to #f by default which
users could bind to #t if they don't violate the new protocol.

Thanks,

Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 11:10:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA29695
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 11:10:58 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA29692
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 11:10:52 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id IAA14327;
	Mon, 4 Oct 1999 08:10:38 -0700 (PDT)
	(envelope-from gjb)
To: Chris Bitmead <chris@tech.com.au>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: SCWM wierdness.
References: <qrrd7v5zd3a.fsf@elwha.cs.washington.edu> <37F8843E.F7362195@tech.com.au>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Oct 1999 08:10:38 -0700
In-Reply-To: Chris Bitmead's message of "Mon, 04 Oct 1999 20:41:02 +1000"
Message-ID: <qrrr9jbupox.fsf@elwha.cs.washington.edu>
Lines: 44
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

> Hi all. Just installed the scwm .99.3 redhat rpm.
> 
> Initial impressions:
> 
> *) The desktop icons of gnome appeared all stacked on top of each other
> instead of neatly arranged like in enlightenment.

This I fixed after .99.3.

> *) The gnome pager seems wierd with scwm. With the system.scwmrc there
> are 4 lots of 3x3 desktops. If I click on say row 1 col 1 of desk 1, all
> 4 desks change to row 1 col 1. But if I click on row 3 col 1, only that
> desktop changes to row 3 col 1.  (As an aside, this is way too many
> desks for your average user in a system.scwmrc file).
> 
> *) I have windows open only in page 0,0 on desk 0. Now I click on page
> 1,1 on desk 1. In the gnome pager the windows on page 0,0,0 move to page
> 1,1 on desk 0.

I'll look into the above two when I have more time.  Thanks for
investigating them.

> 
> *) It seemed to "lose" windows. They seemed to vanish to a virtual world
> I couldn't find. Hard to repeat, will report more if I can.

Perhaps the windows were minimized?  Try C-S-Enter to get a list of
minimized windows.

I switched to visible icons in system.scwmrc to avoid this problem, but
the icon code is still pretty buggy (just behaviourally, not
stability-wise). 

> *) The default colours for the system.scwmrc are really bad. Blue border
> on blue background. Also not very user-friendly defaults for all those
> users you're hoping to win over. Some motif-y buttons or something would
> seem more reasonable.

I've been meaning to switch to a less heinous background image.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 11:16:41 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA29756
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 11:16:41 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA29753
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 11:16:38 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id IAA14349;
	Mon, 4 Oct 1999 08:16:25 -0700 (PDT)
	(envelope-from gjb)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: "E. Jay Berkenbilt" <ejb@ql.org>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite and decoration rewrite [ was Re: question about event bindings]
References: <199910021623.MAA06791@soup.ql.org> <qrrbtahyaim.fsf@elwha.cs.washington.edu> <kiw905j6uif.fsf@blinky.bloomberg.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Oct 1999 08:16:25 -0700
In-Reply-To: hjstein@bfr.co.il's message of "04 Oct 1999 11:00:24 -0400"
Message-ID: <qrrogefupfa.fsf@elwha.cs.washington.edu>
Lines: 69
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
>  > It's the only option for now.
>  > 
>  > The event rewrite is likely going to happen before the end of the
>  > millenium. :-)
>  > 
>  > I'm beginning to believe that the decoration rewrite may be politically
>  > more important as one of the plug-in decoration modules can be pure GTk+ 
>  > with themes which would fit well with Gnome and may help Scwm get
>  > adopted by RedHat and others as their standard WM.  Similarly, another
>  > module could use the Qt widget set to mesh especially nicely with KDE.
> 
> If that's the case, then how about a few minor tweaks to the mouse
> handing to hold us until the event handling rewrite?
> 
> The one thing about scwm that really annoys me is the way it waits for
> a second mouse event to decide whether or not a click is a doublen
> click.  I realize that with the current model it's almost impossible
> for the code to figure out whether or not there's an event handler for
> a double click, but people have proposed various small changes to deal
> with it.  The easiest would seem to me to:
> 
>  a) add a single-click symbol that (mouse-event-type) can return, and 
>  b) fire all mouse-bindings on the 1st click with (mouse-event-type)
>     returning 'single-click for the 1st click.  If a 2nd click has
>     arrived before (click-delay), it can then fire off the bindings a
>     2nd time, with (mouse-event-type) returning 'double-click.  If a
>     2nd click doesn't arrive in time, it can return 'click.
> 
> This will only break code like:
> 
>    (bind-mouse 'icon 1
>                (lambda ()
>                   (case (mouse-event-type)
>                         ((motion) ...)
>                         ((double-click) ...)
>                         (else ...))))
> 
> (i.e. - where there's a default action that occurs if
> (mouse-event-type) doesn't match any of the listed symbols)
> 
> It *won't* even break code that hangs an action off of a mouse binding
> which doesn't care about the (mouse-event-type) (i.e. - where the
> same action is invoked for all mouse event types).

Why doesn't it break this-- if it runs the same proc twice, that would
be bad if the operation is not idempotent (most are not).

> Since code that does that is arguably broken (not to mention that it'd
> be hard to understand why someone would do this), it shouldn't be a
> big deal to change the behavior like this.  It should be easy enough
> to purge any occurrences of this from the distribution - in fact, I
> just scanned /usr/local/share/scwm* & didn't find any occurrences, so
> it's probably a no-op.
>  
> For the truly paranoid, you could add a global,
> *mouse-event-type-returns-single-click*, bound to #f by default which
> users could bind to #t if they don't violate the new protocol.

The immediate-proc-s in bind-mouse don't provide enough of a workaround
yet?  I'm not opposed to changing it, but just want to understand what
you're going for.  Is it single click events or motions that you want to 
deal with before the 2nd click timeout?

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 11:50:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA30005
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 11:50:43 -0400
Received: from mailhub-dmz4.bloomberg.net (mailhub-dmz4.bloomberg.net [205.216.112.158])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA30002
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 11:50:38 -0400
Received: from blinky.bloomberg.com by mailhub-dmz4.bloomberg.net with ESMTP; Mon, 4 Oct 1999 11:49:23 -0400
Received: (from hjstein@localhost)
	by blinky.bloomberg.com (8.9.3/8.9.3) id LAA22656;
	Mon, 4 Oct 1999 11:48:13 -0400
X-Authentication-Warning: blinky.bloomberg.com: hjstein set sender to hjstein@bfr.co.il using -f
To: Greg Badros <gjb@cs.washington.edu>
Cc: "E. Jay Berkenbilt" <ejb@ql.org>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite and decoration rewrite [ was Re: question about event bindings]
References: <199910021623.MAA06791@soup.ql.org> <qrrbtahyaim.fsf@elwha.cs.washington.edu> <kiw905j6uif.fsf@blinky.bloomberg.com> <qrrogefupfa.fsf@elwha.cs.washington.edu>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 04 Oct 1999 11:48:13 -0400
In-Reply-To: Greg Badros's message of "04 Oct 1999 08:16:25 -0700"
Message-ID: <kiw1zbb6saq.fsf@blinky.bloomberg.com>
Lines: 43
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > hjstein@bfr.co.il (Harvey J. Stein) writes:
 > >
 > > It *won't* even break code that hangs an action off of a mouse binding
 > > which doesn't care about the (mouse-event-type) (i.e. - where the
 > > same action is invoked for all mouse event types).
 > 
 > Why doesn't it break this-- if it runs the same proc twice, that would
 > be bad if the operation is not idempotent (most are not).

Oops.  Good point.  How about if
*mouse-event-type-returns-single-click* to #f causes all
bind-mouse procs to be wrapped with (if (not (equal? 'single-click)
(mouse-event-type)) (proc))?  That should pretty much cover
everything.

 > > Since code that does that is arguably broken (not to mention that it'd
 > > be hard to understand why someone would do this), it shouldn't be a
 > > big deal to change the behavior like this.  It should be easy enough
 > > to purge any occurrences of this from the distribution - in fact, I
 > > just scanned /usr/local/share/scwm* & didn't find any occurrences, so
 > > it's probably a no-op.
 > >  
 > > For the truly paranoid, you could add a global,
 > > *mouse-event-type-returns-single-click*, bound to #f by default which
 > > users could bind to #t if they don't violate the new protocol.
 > 
 > The immediate-proc-s in bind-mouse don't provide enough of a workaround
 > yet?  I'm not opposed to changing it, but just want to understand what
 > you're going for.  Is it single click events or motions that you want to 
 > deal with before the 2nd click timeout?

Maybe I'm beating a dead horse.  What's immediate-proc-s?  I can't
find any docs for it in /usr/local/share/scwm/.  What I want is to
be able to have bindings fire on the 1st mouse click without waiting
for the delay.  I'd use this whenever I have an action which doesn't
have double-click bindings so as to avoid the wait.

-- 
Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 12:01:41 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA30099
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 12:01:41 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA30096
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 12:01:37 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id JAA14439;
	Mon, 4 Oct 1999 09:01:26 -0700 (PDT)
	(envelope-from gjb)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: "E. Jay Berkenbilt" <ejb@ql.org>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite and decoration rewrite [ was Re: question about event bindings]
References: <199910021623.MAA06791@soup.ql.org> <qrrbtahyaim.fsf@elwha.cs.washington.edu> <kiw905j6uif.fsf@blinky.bloomberg.com> <qrrogefupfa.fsf@elwha.cs.washington.edu> <kiw1zbb6saq.fsf@blinky.bloomberg.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Oct 1999 09:00:25 -0700
In-Reply-To: hjstein@bfr.co.il's message of "04 Oct 1999 11:48:13 -0400"
Message-ID: <qrrk8p3undy.fsf@elwha.cs.washington.edu>
Lines: 82
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
>  > hjstein@bfr.co.il (Harvey J. Stein) writes:
>  > >
>  > > It *won't* even break code that hangs an action off of a mouse binding
>  > > which doesn't care about the (mouse-event-type) (i.e. - where the
>  > > same action is invoked for all mouse event types).
>  > 
>  > Why doesn't it break this-- if it runs the same proc twice, that would
>  > be bad if the operation is not idempotent (most are not).
> 
> Oops.  Good point.  How about if
> *mouse-event-type-returns-single-click* to #f causes all
> bind-mouse procs to be wrapped with (if (not (equal? 'single-click)
> (mouse-event-type)) (proc))?  That should pretty much cover
> everything.

Could work.  See below, though.

>  > > Since code that does that is arguably broken (not to mention that it'd
>  > > be hard to understand why someone would do this), it shouldn't be a
>  > > big deal to change the behavior like this.  It should be easy enough
>  > > to purge any occurrences of this from the distribution - in fact, I
>  > > just scanned /usr/local/share/scwm* & didn't find any occurrences, so
>  > > it's probably a no-op.
>  > >  
>  > > For the truly paranoid, you could add a global,
>  > > *mouse-event-type-returns-single-click*, bound to #f by default which
>  > > users could bind to #t if they don't violate the new protocol.
>  > 
>  > The immediate-proc-s in bind-mouse don't provide enough of a workaround
>  > yet?  I'm not opposed to changing it, but just want to understand what
>  > you're going for.  Is it single click events or motions that you want to 
>  > deal with before the 2nd click timeout?
> 
> Maybe I'm beating a dead horse.  What's immediate-proc-s?  I can't
> find any docs for it in /usr/local/share/scwm/.  What I want is to
> be able to have bindings fire on the 1st mouse click without waiting
> for the delay.  I'd use this whenever I have an action which doesn't
> have double-click bindings so as to avoid the wait.

It's something I implemented a little while back when this last came
up.  bind-mouse now has an optional third argument, an IMMEDIATE-PROC:

(bind-mouse contexts button proc #&optional immediate-proc)
- Built-in Primitive
Bind the given mouse BUTTON within the CONTEXTS to invoke PROC.
CONTEXTS is a list of event-contexts (e.g., '(button1 sidebar))
BUTTON is a string or integer giving the mouse button number
PROC is a procedure that will be invoked (with no arguments) when the
specified button is pressed in the specified context. See `bind-key'
for a list of the contexts. If IMMEDIATE-PROC is given, it will be
executed immediately on a button-click.  If IMMEDIATE-PROC returns
#f, then PROC will still get executed after determining the mouse click
type.
[From scwm/binding.c:1142]


Thus, e.g., 

(bind-mouse 'root 1 #f popup-root-start-no-warp)

Makes popup-root-start-no-warp get invoked once the button is pressed, and

(bind-mouse 'title 1 move-or-shade raise-and-stop-flashing)

Makes raise-and-stop-flashing get called right away, and since that
procedure always returns #f, move-or-shade still gets called with the
mouse-event type set after the timeout.

It's definitely a hack, but it lets the immediate-proc get executed w/o
delay, and lets it decide whether the more advanced handling procedure
needs running on a case by case basis (instead of a single global flag).

FWIW, using immediate procs has made a huge difference in making Scwm
feel a lot quicker, so I'm very sympathetic to the issues you're
raising.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 12:08:34 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA30159
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 12:08:34 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA30153
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 12:08:28 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id MAA17363;
	Mon, 4 Oct 1999 12:08:25 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma017355; Mon, 4 Oct 99 12:08:01 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id MAA01106; Mon, 4 Oct 1999 12:07:59 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id MAA16498; Mon, 4 Oct 1999 12:09:34 -0400
Date: Mon, 4 Oct 1999 12:09:34 -0400
Message-Id: <199910041609.MAA16498@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrr670nx5tk.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 03 Oct 1999 18:39:19 -0700)
Subject: Re: decor information not available to placement-proc
References: <199910032310.TAA10072@soup.ql.org> <qrr670nx5tk.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


>   <snip>
>
>   >     (define test-decor (make-decor))
>   >     (with-decor test-decor
>   > 		(title-style #:title-height 25)
>   >     )
>
>   Actually, here the bug is yours. :-) #:title-height is not the name of
>   the keyword, #:height is what you want.  Because title-style is
>   explicitly something that is intended to be extended, it's
>   define*-public is marked #&allow-other-keys which means you don't get
>   the error that would otherwise have helped you spot this problem.  It'd
>   be nice if the optargs stuff would give the error if the keyword wasn't
>   ever extended since these kind of mistakes are far too easy to make.
>
>   Let me know if using #:height doesn't fix things for you.

Oops!  Well, it does exactly the same thing with #:height.  I went
back and checked my real code, and it does use #:height.  Somehow I
changed it to #:title-height while constructing my self-contained
.scwmrc and either the problem was the same or I fooled myself into
thinking that it was.  Sorry 'bout that.  Here's the corrected file
which still illustrates the bug.

Actually, the original file illustrates the bug too, just not as
well.  The border width is also not applied, so the problem is still
there.  It's just better illustrated by this corrected file because it
shows both border width and height problems.  Thanks for catching my
mistake. :-)

Actually, in spite of the bugs I've been reporting, I've been finding
scwm quite nice to work with.  In most cases, the patches I've sent in
have been easy to generate because the code is laid out nicely and
easy to follow.  It's been easier to get familiar enough with this
code than with most free software I've played with, and it really took
very minor changes to get scwm to be able to do what I wanted it to
(with the exception of the pending event rewrite).

                                Jay


   (use-scwm-modules optargs base winops style wininfo decor face)

   (bind-key 'all "C-S-A-End" restart)

   (setvbuf (current-output-port) _IONBF)

   (define* (print-size-and-position #&optional (win (get-window)))
     (display win)
     (display " ")
     (display (window-frame-size win))
     (display " ")
     (display (window-position win))
     (display "\n")
   )
   (add-hook! after-new-window-hook
	      (lambda (win)
		(if (string=? (window-class win) "Xmessage")
		    (print-size-and-position win)
		)
	      )
	      #t
   )

   (define test-decor (make-decor))
   (with-decor test-decor
	       (title-style #:height 25)
   )
   (window-style "xmessage"
		 #:border-width 1
		 #:placement-proc print-size-and-position
		 #:use-decor test-decor
   )

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 12:17:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA30208
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 12:17:29 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA30205
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 12:17:26 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id JAA14468;
	Mon, 4 Oct 1999 09:17:21 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: decor information not available to placement-proc
References: <199910032310.TAA10072@soup.ql.org> <qrr670nx5tk.fsf@elwha.cs.washington.edu> <199910041609.MAA16498@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Oct 1999 09:17:20 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Mon, 4 Oct 1999 12:09:34 -0400"
Message-ID: <qrrhfk7umlr.fsf@elwha.cs.washington.edu>
Lines: 62
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> >   <snip>
> >
> >   >     (define test-decor (make-decor))
> >   >     (with-decor test-decor
> >   > 		(title-style #:title-height 25)
> >   >     )
> >
> >   Actually, here the bug is yours. :-) #:title-height is not the name of
> >   the keyword, #:height is what you want.  Because title-style is
> >   explicitly something that is intended to be extended, it's
> >   define*-public is marked #&allow-other-keys which means you don't get
> >   the error that would otherwise have helped you spot this problem.  It'd
> >   be nice if the optargs stuff would give the error if the keyword wasn't
> >   ever extended since these kind of mistakes are far too easy to make.
> >
> >   Let me know if using #:height doesn't fix things for you.
> 
> Oops!  Well, it does exactly the same thing with #:height.  I went
> back and checked my real code, and it does use #:height.  Somehow I
> changed it to #:title-height while constructing my self-contained
> .scwmrc and either the problem was the same or I fooled myself into
> thinking that it was.  Sorry 'bout that.  Here's the corrected file
> which still illustrates the bug.

Hmmm... I get the correct behaviour when #:height is used.

When the xmessage window is displayed, try evaluating:

(with-decor test-decor
	    (set-title-height! 55))

with different values for the title height.  Does the title height
change?  

> Actually, the original file illustrates the bug too, just not as
> well.  The border width is also not applied, so the problem is still
> there.  It's just better illustrated by this corrected file because it
> shows both border width and height problems.  Thanks for catching my
> mistake. :-)
> 
> Actually, in spite of the bugs I've been reporting, I've been finding
> scwm quite nice to work with.  In most cases, the patches I've sent in
> have been easy to generate because the code is laid out nicely and
> easy to follow.  It's been easier to get familiar enough with this
> code than with most free software I've played with, and it really took
> very minor changes to get scwm to be able to do what I wanted it to
> (with the exception of the pending event rewrite).

Great-- thanks!  This is especially nice to hear since I'm still not
very pleased with the cruft leftover from fvwm2.  I've done lots of
re-engineering, but things still are not as clean and simple as I like
in code I write from scratch (but how often is that really the right
thing to do in the real world?)

<snip corrected test case that doesn't reproduce for me> 

Let me know if you can figure out why your scwm isn't acting like mine does.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 12:25:39 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA30347
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 12:25:39 -0400
Received: from mailhub-dmz4.bloomberg.net (mailhub-dmz4.bloomberg.net [205.216.112.158])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA30344
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 12:25:36 -0400
Received: from blinky.bloomberg.com by mailhub-dmz4.bloomberg.net with ESMTP; Mon, 4 Oct 1999 12:23:48 -0400
Received: (from hjstein@localhost)
	by blinky.bloomberg.com (8.9.3/8.9.3) id MAA23019;
	Mon, 4 Oct 1999 12:22:41 -0400
X-Authentication-Warning: blinky.bloomberg.com: hjstein set sender to hjstein@bfr.co.il using -f
To: Greg Badros <gjb@cs.washington.edu>
Cc: "E. Jay Berkenbilt" <ejb@ql.org>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite and decoration rewrite [ was Re: question about event bindings]
References: <199910021623.MAA06791@soup.ql.org> <qrrbtahyaim.fsf@elwha.cs.washington.edu> <kiw905j6uif.fsf@blinky.bloomberg.com> <qrrogefupfa.fsf@elwha.cs.washington.edu> <kiw1zbb6saq.fsf@blinky.bloomberg.com> <qrrk8p3undy.fsf@elwha.cs.washington.edu>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 04 Oct 1999 12:22:41 -0400
In-Reply-To: Greg Badros's message of "04 Oct 1999 09:00:25 -0700"
Message-ID: <kiwpuyv5c4u.fsf@blinky.bloomberg.com>
Lines: 51
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > It's something I implemented a little while back when this last came
 > up.  bind-mouse now has an optional third argument, an IMMEDIATE-PROC:
 > 
 > (bind-mouse contexts button proc #&optional immediate-proc)
 > - Built-in Primitive
 > Bind the given mouse BUTTON within the CONTEXTS to invoke PROC.
 > CONTEXTS is a list of event-contexts (e.g., '(button1 sidebar))
 > BUTTON is a string or integer giving the mouse button number
 > PROC is a procedure that will be invoked (with no arguments) when the
 > specified button is pressed in the specified context. See `bind-key'
 > for a list of the contexts. If IMMEDIATE-PROC is given, it will be
 > executed immediately on a button-click.  If IMMEDIATE-PROC returns
 > #f, then PROC will still get executed after determining the mouse click
 > type.
 > [From scwm/binding.c:1142]
 > 
 > 
 > Thus, e.g., 
 > 
 > (bind-mouse 'root 1 #f popup-root-start-no-warp)
 > 
 > Makes popup-root-start-no-warp get invoked once the button is pressed, and
 > 
 > (bind-mouse 'title 1 move-or-shade raise-and-stop-flashing)
 > 
 > Makes raise-and-stop-flashing get called right away, and since that
 > procedure always returns #f, move-or-shade still gets called with the
 > mouse-event type set after the timeout.
 > 
 > It's definitely a hack, but it lets the immediate-proc get executed w/o
 > delay, and lets it decide whether the more advanced handling procedure
 > needs running on a case by case basis (instead of a single global flag).
 > 
 > FWIW, using immediate procs has made a huge difference in making Scwm
 > feel a lot quicker, so I'm very sympathetic to the issues you're
 > raising.

I'm sure it has made a big difference.  It must have been added pretty
recently - the version of scwm that I'm running (.99.1) doesn't have
it.  Glad to see it's been added - I just missed it.  Guess I *really*
have to upgrade now.  What are the possible return values of
(mouse-event-type) on the first click?  Just 'click, or everything
except 'double-click?  If it at least also handles 'move then I should
be in business.  Thanks!

-- 
Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 12:36:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA30499
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 12:36:42 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA30494
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 12:36:29 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id MAA18163;
	Mon, 4 Oct 1999 12:36:25 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma018159; Mon, 4 Oct 99 12:36:21 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id MAA04054; Mon, 4 Oct 1999 12:36:20 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id MAA16744; Mon, 4 Oct 1999 12:37:55 -0400
Date: Mon, 4 Oct 1999 12:37:55 -0400
Message-Id: <199910041637.MAA16744@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrrhfk7umlr.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 04 Oct 1999 09:17:20 -0700)
Subject: Re: decor information not available to placement-proc
References: <199910032310.TAA10072@soup.ql.org> <qrr670nx5tk.fsf@elwha.cs.washington.edu> <199910041609.MAA16498@soup.ads.apexinc.com> <qrrhfk7umlr.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


>   Hmmm... I get the correct behaviour when #:height is used.
>
>   When the xmessage window is displayed, try evaluating:
>
>   (with-decor test-decor
>	       (set-title-height! 55))
>
>   with different values for the title height.  Does the title height
>   change?  

Okay -- I'm wrong about the bug report -- everything is fine with
height for me too and always has been.  I just tricked myself into
thinking that height was causing the problem.  I think I know what's
really wrong.  Everything is okay with the title.  It's the border
width that's causing the problem.  This may be because #:border-width
is a style option instead of a hint option, but changing it to a
hint-option botches things up beyond recognition.  I'll send another
report as soon as I've figured out what I need to report....  Thanks.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 12:40:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA30546
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 12:40:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA30542
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 12:40:11 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id JAA14488;
	Mon, 4 Oct 1999 09:40:03 -0700 (PDT)
	(envelope-from gjb)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite and decoration rewrite [ was Re: question about event bindings]
References: <199910021623.MAA06791@soup.ql.org> <qrrbtahyaim.fsf@elwha.cs.washington.edu> <kiw905j6uif.fsf@blinky.bloomberg.com> <qrrogefupfa.fsf@elwha.cs.washington.edu> <kiw1zbb6saq.fsf@blinky.bloomberg.com> <qrrk8p3undy.fsf@elwha.cs.washington.edu> <kiwpuyv5c4u.fsf@blinky.bloomberg.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Oct 1999 09:40:03 -0700
In-Reply-To: hjstein@bfr.co.il's message of "04 Oct 1999 12:22:41 -0400"
Message-ID: <qrremfbuljw.fsf@elwha.cs.washington.edu>
Lines: 34
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Greg Badros <gjb@cs.washington.edu> writes:

<snip>

>  > FWIW, using immediate procs has made a huge difference in making Scwm
>  > feel a lot quicker, so I'm very sympathetic to the issues you're
>  > raising.
> 
> I'm sure it has made a big difference.  It must have been added pretty
> recently - the version of scwm that I'm running (.99.1) doesn't have
> it.  Glad to see it's been added - I just missed it.  Guess I *really*
> have to upgrade now.  What are the possible return values of

Yes, it's a good idea to at least keep reading the NEWS file with each
new release.  Also, not that .99.1 wasn't a real release-- it was just
the label that an arbitrary CVS snapshot happened to receive when
Francessco made a Debian package when I was in Australia and was not
doing regular releases.  (I'm glad that version got out there, but we
skipped the version number to avoid confusion).

> (mouse-event-type) on the first click?  Just 'click, or everything
> except 'double-click?  If it at least also handles 'move then I should
> be in business.  Thanks!

Well, unfortunately, since it is an immediate proc, it has no way of
knowing whether you've moved the mouse yet, 'cause it's called
immediately! :-)

I suppose the immediate proc could get called with the position of the
click so that Scheme code could do the work.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 13:04:41 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA31043
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 13:04:41 -0400
Received: from mailhub-dmz4.bloomberg.net (mailhub-dmz4.bloomberg.net [205.216.112.158])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA31040
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 13:04:36 -0400
Received: from blinky.bloomberg.com by mailhub-dmz4.bloomberg.net with ESMTP; Mon, 4 Oct 1999 13:02:46 -0400
Received: (from hjstein@localhost)
	by blinky.bloomberg.com (8.9.3/8.9.3) id NAA23119;
	Mon, 4 Oct 1999 13:01:33 -0400
X-Authentication-Warning: blinky.bloomberg.com: hjstein set sender to hjstein@bfr.co.il using -f
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite and decoration rewrite [ was Re: question about event bindings]
References: <199910021623.MAA06791@soup.ql.org> <qrrbtahyaim.fsf@elwha.cs.washington.edu> <kiw905j6uif.fsf@blinky.bloomberg.com> <qrrogefupfa.fsf@elwha.cs.washington.edu> <kiw1zbb6saq.fsf@blinky.bloomberg.com> <qrrk8p3undy.fsf@elwha.cs.washington.edu> <kiwpuyv5c4u.fsf@blinky.bloomberg.com> <qrremfbuljw.fsf@elwha.cs.washington.edu>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 04 Oct 1999 13:01:33 -0400
In-Reply-To: Greg Badros's message of "04 Oct 1999 09:40:03 -0700"
Message-ID: <kiwk8p35ac2.fsf@blinky.bloomberg.com>
Lines: 16
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > Well, unfortunately, since it is an immediate proc, it has no way of
 > knowing whether you've moved the mouse yet, 'cause it's called
 > immediately! :-)
 > 
 > I suppose the immediate proc could get called with the position of the
 > click so that Scheme code could do the work.

So it dispatches with mouse-down?  That's too bad (for me, at least).
What about something which dispatches on mouse-up or mouse-motion?

-- 
Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 13:08:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA31136
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 13:08:23 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA31128
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 13:08:11 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id KAA14545;
	Mon, 4 Oct 1999 10:07:59 -0700 (PDT)
	(envelope-from gjb)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite and decoration rewrite [ was Re: question about event bindings]
References: <199910021623.MAA06791@soup.ql.org> <qrrbtahyaim.fsf@elwha.cs.washington.edu> <kiw905j6uif.fsf@blinky.bloomberg.com> <qrrogefupfa.fsf@elwha.cs.washington.edu> <kiw1zbb6saq.fsf@blinky.bloomberg.com> <qrrk8p3undy.fsf@elwha.cs.washington.edu> <kiwpuyv5c4u.fsf@blinky.bloomberg.com> <qrremfbuljw.fsf@elwha.cs.washington.edu> <kiwk8p35ac2.fsf@blinky.bloomberg.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Oct 1999 10:07:59 -0700
In-Reply-To: hjstein@bfr.co.il's message of "04 Oct 1999 13:01:33 -0400"
Message-ID: <qrrd7uvuk9c.fsf@elwha.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
>  > Well, unfortunately, since it is an immediate proc, it has no way of
>  > knowing whether you've moved the mouse yet, 'cause it's called
>  > immediately! :-)
>  > 
>  > I suppose the immediate proc could get called with the position of the
>  > click so that Scheme code could do the work.
> 
> So it dispatches with mouse-down?  That's too bad (for me, at least).
> What about something which dispatches on mouse-up or mouse-motion?

I could do your suggestion, of twice calling the main proc, but calling
the second iff the first returned #f or was a motion event.  The first
call would have type 'click, second 'single-click or 'double-click.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 13:15:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA31252
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 13:15:02 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA31249
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 13:14:58 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id NAA19210;
	Mon, 4 Oct 1999 13:14:56 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma019195; Mon, 4 Oct 99 13:14:33 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id NAA07314; Mon, 4 Oct 1999 13:14:32 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id NAA16959; Mon, 4 Oct 1999 13:16:07 -0400
Date: Mon, 4 Oct 1999 13:16:07 -0400
Message-Id: <199910041716.NAA16959@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrrhfk7umlr.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 04 Oct 1999 09:17:20 -0700)
Subject: border width information not available to placement-proc
References: <199910032310.TAA10072@soup.ql.org> <qrr670nx5tk.fsf@elwha.cs.washington.edu> <199910041609.MAA16498@soup.ads.apexinc.com> <qrrhfk7umlr.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Okay.  I think I have the right bug this time. :-)  The problem is
that the border width is not available to the window at the time that
the placement proc is called, and there is an obvious reason.  The
border width is a style option, not a hint option.  However, changing
it to a hint option botches things up because set-border-width!
resizes the window, and the height and width have not yet been set.
The only other style option I could find that would affect the window
size was no-side-decorations, but maybe there are more.

I can think of a few solutions, but none of them are straight forward
enough for me to be sufficiently sure that they are right for me to
actually implement them and send a patch.  [Grammar Exception:
subordinate clause nesting too deep.]  Oops -- sorry about the grammar
exception.  Well, I think you know what I'm saying.  Anyway, here are
the ideas I had:

 1.  Make border-width and no-side-decorations hint options.  This
     would require changing the implementation to not actually resize
     the window at that time, right?  But then, when you call this on
     a window later, how do you ensure that it does get done?

 2.  Have an flag to set-border-width! and call it twice.... (yuck)

Hopefully you'll think of something better, having a vastly deeper
knowledge of how things are initialized.

Here's the new .scwmrc:

   (use-scwm-modules optargs base winops style wininfo decor face)

   (bind-key 'all "C-S-A-End" restart)

   (setvbuf (current-output-port) _IONBF)

   (define* (print-border #&optional (win (get-window)))
     (display win)
     (display " ")
     (display (window-frame-border-width win))
     (display "\n")
   )
   (add-hook! after-new-window-hook
	      (lambda (win)
		(if (string=? (window-class win) "Xmessage")
		    (print-border win)
		)
	      )
	      #t
   )

   (window-style "xmessage"
		 #:border-width 1
		 #:placement-proc print-border
   )

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 13:17:25 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA31332
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 13:17:25 -0400
Received: from mailhub-dmz4.bloomberg.net (mailhub-dmz4.bloomberg.net [205.216.112.158])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA31327
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 13:17:21 -0400
Received: from blinky.bloomberg.com by mailhub-dmz4.bloomberg.net with ESMTP; Mon, 4 Oct 1999 13:15:43 -0400
Received: (from hjstein@localhost)
	by blinky.bloomberg.com (8.9.3/8.9.3) id NAA23408;
	Mon, 4 Oct 1999 13:14:32 -0400
X-Authentication-Warning: blinky.bloomberg.com: hjstein set sender to hjstein@bfr.co.il using -f
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite and decoration rewrite [ was Re: question about event bindings]
References: <199910021623.MAA06791@soup.ql.org> <qrrbtahyaim.fsf@elwha.cs.washington.edu> <kiw905j6uif.fsf@blinky.bloomberg.com> <qrrogefupfa.fsf@elwha.cs.washington.edu> <kiw1zbb6saq.fsf@blinky.bloomberg.com> <qrrk8p3undy.fsf@elwha.cs.washington.edu> <kiwpuyv5c4u.fsf@blinky.bloomberg.com> <qrremfbuljw.fsf@elwha.cs.washington.edu> <kiwk8p35ac2.fsf@blinky.bloomberg.com> <qrrd7uvuk9c.fsf@elwha.cs.washington.edu>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 04 Oct 1999 13:14:32 -0400
In-Reply-To: Greg Badros's message of "04 Oct 1999 10:07:59 -0700"
Message-ID: <kiwhfk759qf.fsf@blinky.bloomberg.com>
Lines: 27
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

 > hjstein@bfr.co.il (Harvey J. Stein) writes:
 > 
 > > Greg Badros <gjb@cs.washington.edu> writes:
 > > 
 > >  > Well, unfortunately, since it is an immediate proc, it has no way of
 > >  > knowing whether you've moved the mouse yet, 'cause it's called
 > >  > immediately! :-)
 > >  > 
 > >  > I suppose the immediate proc could get called with the position of the
 > >  > click so that Scheme code could do the work.
 > > 
 > > So it dispatches with mouse-down?  That's too bad (for me, at least).
 > > What about something which dispatches on mouse-up or mouse-motion?
 > 
 > I could do your suggestion, of twice calling the main proc, but calling
 > the second iff the first returned #f or was a motion event.  The first
 > call would have type 'click, second 'single-click or 'double-click.

The first would be for 'click or 'motion?  Let me see what I can do
with the way it is now before I hassle you any more about it.

-- 
Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 13:20:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA31386
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 13:20:11 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA31383
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 13:20:07 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id KAA14569;
	Mon, 4 Oct 1999 10:19:56 -0700 (PDT)
	(envelope-from gjb)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite and decoration rewrite [ was Re: question about event bindings]
References: <199910021623.MAA06791@soup.ql.org> <qrrbtahyaim.fsf@elwha.cs.washington.edu> <kiw905j6uif.fsf@blinky.bloomberg.com> <qrrogefupfa.fsf@elwha.cs.washington.edu> <kiw1zbb6saq.fsf@blinky.bloomberg.com> <qrrk8p3undy.fsf@elwha.cs.washington.edu> <kiwpuyv5c4u.fsf@blinky.bloomberg.com> <qrremfbuljw.fsf@elwha.cs.washington.edu> <kiwk8p35ac2.fsf@blinky.bloomberg.com> <qrrd7uvuk9c.fsf@elwha.cs.washington.edu> <kiwhfk759qf.fsf@blinky.bloomberg.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Oct 1999 10:19:56 -0700
In-Reply-To: hjstein@bfr.co.il's message of "04 Oct 1999 13:14:32 -0400"
Message-ID: <qrr905jujpf.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
>  > hjstein@bfr.co.il (Harvey J. Stein) writes:
>  > 
>  > > Greg Badros <gjb@cs.washington.edu> writes:
>  > > 
>  > >  > Well, unfortunately, since it is an immediate proc, it has no way of
>  > >  > knowing whether you've moved the mouse yet, 'cause it's called
>  > >  > immediately! :-)
>  > >  > 
>  > >  > I suppose the immediate proc could get called with the position of the
>  > >  > click so that Scheme code could do the work.
>  > > 
>  > > So it dispatches with mouse-down?  That's too bad (for me, at least).
>  > > What about something which dispatches on mouse-up or mouse-motion?
>  > 
>  > I could do your suggestion, of twice calling the main proc, but calling
>  > the second iff the first returned #f or was a motion event.  The first
>  > call would have type 'click, second 'single-click or 'double-click.
> 
> The first would be for 'click or 'motion?  Let me see what I can do
> with the way it is now before I hassle you any more about it.

Yes, first would get 'click or 'motion, second would be 'double-click or 
'single-click.

(Let it be said, that I would *never* design something from scratch in
this way, but I'm looking for a minimal implementation change given the
knowledge that I'm going to be chucking this all out within two months
time if all goes weel).

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 13:23:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA31448
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 13:23:02 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA31443
	for <scwm-discuss@scwm.mit.edu>; Mon, 4 Oct 1999 13:22:59 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id NAA19556
	for <scwm-discuss@scwm.mit.edu>; Mon, 4 Oct 1999 13:22:56 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma019535; Mon, 4 Oct 99 13:22:27 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id NAA08190; Mon, 4 Oct 1999 13:22:26 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id NAA16997; Mon, 4 Oct 1999 13:24:01 -0400
Date: Mon, 4 Oct 1999 13:24:01 -0400
Message-Id: <199910041724.NAA16997@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: send-button-event x,y coordinates
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I was looking through the code for send-button-event.  It seems that
it has a strange way of getting the x/y coordinates within the window.
If I read the code right, it always uses (0, 0) unless the pointer
happens to be in the window in which case it sends to the point under
the cursor.  I haven't turned on debugging on done any real testing,
so I can't be sure.  In any case, there seems not to be a way to
specify where the event should go.  That means if you have a key
binding to a function that calls send-button-press, there's no way to
specify where the event should go.  Is there a reason that this
routine doesn't taken optional arguments specifying the coordinates?

Also, aren't send-button-press and send-key-press misnomers?  I would
think that send-button and send-key would probably be more accurate
since you can specify whether a press or release or both are
generated....

Just my $0.02.

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 14:15:45 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA32001
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 14:15:45 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA31998
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 14:15:39 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id LAA14635;
	Mon, 4 Oct 1999 11:15:33 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: send-button-event x,y coordinates
References: <199910041724.NAA16997@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Oct 1999 11:15:33 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Mon, 4 Oct 1999 13:24:01 -0400"
Message-ID: <qrr670nuh4q.fsf@elwha.cs.washington.edu>
Lines: 29
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> I was looking through the code for send-button-event.  It seems that
> it has a strange way of getting the x/y coordinates within the window.
> If I read the code right, it always uses (0, 0) unless the pointer
> happens to be in the window in which case it sends to the point under
> the cursor.  I haven't turned on debugging on done any real testing,
> so I can't be sure.  In any case, there seems not to be a way to
> specify where the event should go.  That means if you have a key
> binding to a function that calls send-button-press, there's no way to
> specify where the event should go.  Is there a reason that this
> routine doesn't taken optional arguments specifying the coordinates?

No, it should take them (I had this thought a while ago when I was
pondering a Scwm key binding to pause my MP3 player).

> Also, aren't send-button-press and send-key-press misnomers?  I would
> think that send-button and send-key would probably be more accurate
> since you can specify whether a press or release or both are
> generated....
> 
> Just my $0.02.

Sure, that sounds better.  I'll make those changes when I'm in
implementation mode again (I'm in paper writing mode, now, as I've a
paper deadline this Friday).

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 15:01:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA32331
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 15:01:13 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from Cantor.suse.de (Cantor.suse.de [194.112.123.193])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA32328
	for <scwm-discuss@scwm.mit.edu>; Mon, 4 Oct 1999 15:01:07 -0400
Received: from Galois.suse.de (Galois.suse.de [194.112.123.130])
	by Cantor.suse.de (Postfix) with ESMTP
	id BFC1332CD3; Mon, 04 Oct 1999 19:00:34 +0000 (???)
Received: from Wotan.suse.de (Wotan.suse.de [10.10.0.1])
	by Galois.suse.de (Postfix) with ESMTP
	id 3126A67AF; Mon,  4 Oct 1999 21:00:34 +0200 (MEST)
Received: from Frechet.suse.de (Frechet.suse.de [10.10.0.123])
	by Wotan.suse.de (Postfix) with ESMTP
	id DF88C7F8B; Mon,  4 Oct 1999 21:00:33 +0200 (MEST)
Received: (from ke@localhost)
	by Frechet.suse.de (8.9.3/8.9.3) id VAA29390;
	Mon, 4 Oct 1999 21:00:33 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Scwm-0.99.3 success reports?
References: <qrr4sggxsp3.fsf@elwha.cs.washington.edu> <shbtaglfst.fsf@Frechet.suse.de> <qrrbtagvx65.fsf@elwha.cs.washington.edu>
From: Karl Eichwalder <ke@suse.de>
Date: 04 Oct 1999 21:00:33 +0200
In-Reply-To: Greg Badros's message of "03 Oct 1999 16:31:30 -0700"
Message-ID: <shbtafeysu.fsf@Frechet.suse.de>
Lines: 28
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

|   Did you do a "make install"?  Is your GUILE_LOAD_PATH environment
|   variable set?  Do you get startup messages about not-found modules?
|   What do you get with:
|   
|   (use-scwm-modules preferences)
|   
|   at the scwmrepl?

That's a good hint.  guile-gtk is not detected in the right manner.
scwm "wants" libguilegtk 1.1 but I have 1.2 (from an old gnome-guile
package); I'll install a new `guile-gtk'.

|   Is --with-scwmrcdir not working for you?  I think this is intended to do 
|   roughly what you're asking (though it affects all .scwmrc's, not just
|   system.scwmrc).

I'll investigate.  I've the feeling that's not want's needed.
--sysconfdir is the directory where sysadmins will store "system" wide
configuration files, which are not allowed to reside under /usr
(according to the Linux FHS).  But that's a minor point at this moment.

The other .scwmrc's I do consider as something like documentation.

-- 
                                             work   :        ke@suse.de
Karl Eichwalder                              private: ke@gnu.franken.de

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 15:48:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA32603
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 15:48:27 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA32600
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 15:48:23 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id MAA14776;
	Mon, 4 Oct 1999 12:48:16 -0700 (PDT)
	(envelope-from gjb)
To: Karl Eichwalder <ke@suse.de>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 success reports?
References: <qrr4sggxsp3.fsf@elwha.cs.washington.edu> <shbtaglfst.fsf@Frechet.suse.de> <qrrbtagvx65.fsf@elwha.cs.washington.edu> <shbtafeysu.fsf@Frechet.suse.de>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Oct 1999 12:48:16 -0700
In-Reply-To: Karl Eichwalder's message of "04 Oct 1999 21:00:33 +0200"
Message-ID: <qrrso3qucu7.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Karl Eichwalder <ke@suse.de> writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
> |   Did you do a "make install"?  Is your GUILE_LOAD_PATH environment
> |   variable set?  Do you get startup messages about not-found modules?
> |   What do you get with:
> |   
> |   (use-scwm-modules preferences)
> |   
> |   at the scwmrepl?
> 
> That's a good hint.  guile-gtk is not detected in the right manner.
> scwm "wants" libguilegtk 1.1 but I have 1.2 (from an old gnome-guile
> package); I'll install a new `guile-gtk'.

The other way around, right?  We want guilegtk-1.2.

> |   Is --with-scwmrcdir not working for you?  I think this is intended to do 
> |   roughly what you're asking (though it affects all .scwmrc's, not just
> |   system.scwmrc).
> 
> I'll investigate.  I've the feeling that's not want's needed.
> --sysconfdir is the directory where sysadmins will store "system" wide
> configuration files, which are not allowed to reside under /usr
> (according to the Linux FHS).  But that's a minor point at this moment.
> 
> The other .scwmrc's I do consider as something like documentation.

Is the issue that --sysconfdir is a canonical flag in the Debian world,
or that the other scwmrcs shouldn't go there?

Thanks,
Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 17:16:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA00269
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 17:16:08 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA00265
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 17:16:05 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id OAA14930;
	Mon, 4 Oct 1999 14:15:59 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: border width information not available to placement-proc
References: <199910032310.TAA10072@soup.ql.org> <qrr670nx5tk.fsf@elwha.cs.washington.edu> <199910041609.MAA16498@soup.ads.apexinc.com> <qrrhfk7umlr.fsf@elwha.cs.washington.edu> <199910041716.NAA16959@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Oct 1999 14:15:59 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Mon, 4 Oct 1999 13:16:07 -0400"
Message-ID: <qrrhfk6u8s0.fsf@elwha.cs.washington.edu>
Lines: 53
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> Okay.  I think I have the right bug this time. :-)  The problem is
> that the border width is not available to the window at the time that
> the placement proc is called, and there is an obvious reason.  The
> border width is a style option, not a hint option.  However, changing
> it to a hint option botches things up because set-border-width!
> resizes the window, and the height and width have not yet been set.
> The only other style option I could find that would affect the window
> size was no-side-decorations, but maybe there are more.
> 
> I can think of a few solutions, but none of them are straight forward
> enough for me to be sufficiently sure that they are right for me to
> actually implement them and send a patch.  [Grammar Exception:
> subordinate clause nesting too deep.]  Oops -- sorry about the grammar
> exception.  Well, I think you know what I'm saying.  Anyway, here are
> the ideas I had:
> 
>  1.  Make border-width and no-side-decorations hint options.  This
>      would require changing the implementation to not actually resize
>      the window at that time, right?  But then, when you call this on
>      a window later, how do you ensure that it does get done?
> 
>  2.  Have an flag to set-border-width! and call it twice.... (yuck)
> 
> Hopefully you'll think of something better, having a vastly deeper
> knowledge of how things are initialized.

Yes, there's a flag fFullyConstructed that is False in the
before-window-hook and True in the after-window-hook.  I used that.
See if the latest version works for you.

<snip>

>    (setvbuf (current-output-port) _IONBF)

I move this into minimal.scm so you shouldn't need it any longer.

<snip>

>    (add-hook! after-new-window-hook
> 	      (lambda (win)
> 		(if (string=? (window-class win) "Xmessage")
> 		    (print-border win)
> 		)
> 	      )
> 	      #t
>    )

Consider using the new `append-hook!' instead of a #t 4th argument.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 17:53:06 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA00665
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 17:53:06 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA00662
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 17:53:02 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id RAA30786;
	Mon, 4 Oct 1999 17:53:00 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma030784; Mon, 4 Oct 99 17:52:51 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id RAA02743; Mon, 4 Oct 1999 17:52:50 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id RAA19217; Mon, 4 Oct 1999 17:54:25 -0400
Date: Mon, 4 Oct 1999 17:54:25 -0400
Message-Id: <199910042154.RAA19217@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrrhfk6u8s0.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 04 Oct 1999 14:15:59 -0700)
Subject: Re: border width information not available to placement-proc
References: <199910032310.TAA10072@soup.ql.org> <qrr670nx5tk.fsf@elwha.cs.washington.edu> <199910041609.MAA16498@soup.ads.apexinc.com> <qrrhfk7umlr.fsf@elwha.cs.washington.edu> <199910041716.NAA16959@soup.ads.apexinc.com> <qrrhfk6u8s0.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


>   > Hopefully you'll think of something better, having a vastly deeper
>   > knowledge of how things are initialized.
>
>   Yes, there's a flag fFullyConstructed that is False in the
>   before-window-hook and True in the after-window-hook.  I used that.
>   See if the latest version works for you.

Yes, it does.  Thanks.

>   <snip>
>
>   >    (setvbuf (current-output-port) _IONBF)
>
>   I move this into minimal.scm so you shouldn't need it any longer.

Good. :-)

>   <snip>
>
>   >    (add-hook! after-new-window-hook
>   > 	      (lambda (win)
>   > 		(if (string=? (window-class win) "Xmessage")
>   > 		    (print-border win)
>   > 		)
>   > 	      )
>   > 	      #t
>   >    )
>
>   Consider using the new `append-hook!' instead of a #t 4th argument.

Excellent.  That's a good solution.  I've replaced many of my
add-hook! calls with append-hook!.  My .scwmrc continues to get
cleaner.  Maybe by the time you've finished your paper, I'll have it
stable enough to send you.  I wouldn't dream of sending it to you
before Friday though. ;-)

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 18:53:31 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA00886
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 18:53:31 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA00883
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 18:53:27 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id PAA15020;
	Mon, 4 Oct 1999 15:53:20 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: border width information not available to placement-proc
References: <199910032310.TAA10072@soup.ql.org> <qrr670nx5tk.fsf@elwha.cs.washington.edu> <199910041609.MAA16498@soup.ads.apexinc.com> <qrrhfk7umlr.fsf@elwha.cs.washington.edu> <199910041716.NAA16959@soup.ads.apexinc.com> <qrrhfk6u8s0.fsf@elwha.cs.washington.edu> <199910042154.RAA19217@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 04 Oct 1999 15:53:20 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Mon, 4 Oct 1999 17:54:25 -0400"
Message-ID: <qrraepyu49r.fsf@elwha.cs.washington.edu>
Lines: 50
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> >   > Hopefully you'll think of something better, having a vastly deeper
> >   > knowledge of how things are initialized.
> >
> >   Yes, there's a flag fFullyConstructed that is False in the
> >   before-window-hook and True in the after-window-hook.  I used that.
> >   See if the latest version works for you.
> 
> Yes, it does.  Thanks.

Unfortunately, I think it broke the resize corners for me.

> >   >    (setvbuf (current-output-port) _IONBF)
> >
> >   I move this into minimal.scm so you shouldn't need it any longer.
> 
> Good. :-)
> 
> >   <snip>
> >
> >   >    (add-hook! after-new-window-hook
> >   > 	      (lambda (win)
> >   > 		(if (string=? (window-class win) "Xmessage")
> >   > 		    (print-border win)
> >   > 		)
> >   > 	      )
> >   > 	      #t
> >   >    )
> >
> >   Consider using the new `append-hook!' instead of a #t 4th argument.
> 
> Excellent.  That's a good solution.  I've replaced many of my

Thanks.

> add-hook! calls with append-hook!.  My .scwmrc continues to get

Yes, it should be the more widely-advertised interface.

> cleaner.  Maybe by the time you've finished your paper, I'll have it
> stable enough to send you.  I wouldn't dream of sending it to you
> before Friday though. ;-)

Well, if you've got it done Thursday night, send it to me then,
otherwise it won't be on my laptop before I leave (much more of a pain
to get it on over modem than just connecting when I'm at my office).

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct  4 18:53:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA00891
	for scwm-discuss-outgoing; Mon, 4 Oct 1999 18:53:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sebastian.neuroflex.com (root@[202.62.130.81])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA00888
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 4 Oct 1999 18:53:47 -0400
Received: from tech.com.au (chris.neuroflex.com [172.16.1.24])
	by sebastian.neuroflex.com (8.9.3/8.8.7) with ESMTP id IAA05272
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 5 Oct 1999 08:56:26 +1000
Message-ID: <37F9316E.C34562DF@tech.com.au>
Date: Tue, 05 Oct 1999 08:59:58 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: SCWM wierdness.
References: <qrrd7v5zd3a.fsf@elwha.cs.washington.edu> <37F8843E.F7362195@tech.com.au> <qrrr9jbupox.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk



> > *) It seemed to "lose" windows. They seemed to vanish to a virtual world
> > I couldn't find. Hard to repeat, will report more if I can.
> 
> Perhaps the windows were minimized?  Try C-S-Enter to get a list of
> minimized windows.
> 
> I switched to visible icons in system.scwmrc to avoid this problem, but
> the icon code is still pretty buggy (just behaviourally, not
> stability-wise).

Shouldn't they have been visible as gnome windows?

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct  5 11:33:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA04419
	for scwm-discuss-outgoing; Tue, 5 Oct 1999 11:33:11 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA04416
	for <scwm-discuss@scwm.mit.edu>; Tue, 5 Oct 1999 11:33:06 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id LAA13480
	for <scwm-discuss@scwm.mit.edu>; Tue, 5 Oct 1999 11:33:03 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma013476; Tue, 5 Oct 99 11:32:41 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id LAA10118; Tue, 5 Oct 1999 11:32:40 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id LAA24720; Tue, 5 Oct 1999 11:34:16 -0400
Date: Tue, 5 Oct 1999 11:34:16 -0400
Message-Id: <199910051534.LAA24720@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: scwm does not appear to listen to client move requests?
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


>From FSF emacs 20.4 (and 20.3 -- probably earlier versions too), if I
create a frame and eval (from emacs)

(modify-frame-parameters (selected-frame) '((top . 0) (left . 0)))

the frame is supposed to move to the upper-left-hand corner of the
screen.  This works fine with gwm and twm but not with scwm even when
run as scwm -f /dev/null.

I think emacs moves itself by setting window manager size hints, but
I don't know.  The last time I knew anything about moving and resizing
windows from a client application and the interaction with the window
manager was back in X11R2 or so when these things were still in flux.

If anyone can suggest where I may even begin to look for this in scwm,
I'd be grateful.

If I knew more about this, I would look for this bug in one of two
ways:

  1.  Look in scwm for the code that is supposed to be responding to
      this kind of change from a client and make sure it is there and
      operating properly.

  2.  Write a simple stand-alone X application that creates a window
      and then moves it.

I discovered this bug by observing that M-x ediff-files and noticing
that the control frame doesn't show up in the right place.

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct  5 12:27:56 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA04573
	for scwm-discuss-outgoing; Tue, 5 Oct 1999 12:27:56 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA04570
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 5 Oct 1999 12:27:50 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id JAA17370;
	Tue, 5 Oct 1999 09:27:43 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm does not appear to listen to client move requests?
References: <199910051534.LAA24720@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 05 Oct 1999 09:27:43 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Tue, 5 Oct 1999 11:34:16 -0400"
Message-ID: <qrrk8p1vklc.fsf@elwha.cs.washington.edu>
Lines: 53
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> >From FSF emacs 20.4 (and 20.3 -- probably earlier versions too), if I
> create a frame and eval (from emacs)
> 
> (modify-frame-parameters (selected-frame) '((top . 0) (left . 0)))
> 
> the frame is supposed to move to the upper-left-hand corner of the
> screen.  This works fine with gwm and twm but not with scwm even when
> run as scwm -f /dev/null.

Hmmm.. I'd have to look at ICCCM to be sure (and unfortunately am
swamped this week trying to get this paper on Scwm written) but I
believe that applications are supposed to send a ConfigureWindow request 
when they wish to change their configuration. 

> I think emacs moves itself by setting window manager size hints, but
> I don't know.  The last time I knew anything about moving and resizing
> windows from a client application and the interaction with the window
> manager was back in X11R2 or so when these things were still in flux.

I just ran xev on an XEmacs executing your above s-exp, and it was just
generating a PropertyNotify event which I don't think is supposed to
force the move.

Of course, since it's Scwm, you can use the X-PropertyNotify-hook to
catch the event, then use X-property-get to get WM_NORMAL_HINTS and read 
the values from the vector that is the first element of the returned list.

> If anyone can suggest where I may even begin to look for this in scwm,
> I'd be grateful.
> 
> If I knew more about this, I would look for this bug in one of two
> ways:
> 
>   1.  Look in scwm for the code that is supposed to be responding to
>       this kind of change from a client and make sure it is there and
>       operating properly.
> 
>   2.  Write a simple stand-alone X application that creates a window
>       and then moves it.
> 
> I discovered this bug by observing that M-x ediff-files and noticing
> that the control frame doesn't show up in the right place.

I was playing with making X-ConfigureRequest-hook animate windows to
their newly-requested location.  (I dropped it because I didn't have
time to investigate some anomalous application behaviour).  This might
be a fun place to try it, too.

Good luck!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct  5 22:27:46 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA05988
	for scwm-discuss-outgoing; Tue, 5 Oct 1999 22:27:46 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tolt.cs.washington.edu (tolt.cs.washington.edu [128.95.1.155])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA05985
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 5 Oct 1999 22:27:42 -0400
Received: (from gjb@localhost)
	by tolt.cs.washington.edu (8.9.3/8.9.3/0.3) id TAA24630;
	Tue, 5 Oct 1999 19:27:32 -0700 (PDT)
	(envelope-from gjb)
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite and decoration rewrite [ was Re: question about event bindings]
References: <199910021623.MAA06791@soup.ql.org> <qrrbtahyaim.fsf@elwha.cs.washington.edu> <kiw905j6uif.fsf@blinky.bloomberg.com>
From: Greg Badros <badros@cs.washington.edu>
Date: 05 Oct 1999 19:27:32 -0700
In-Reply-To: hjstein@bfr.co.il's message of "04 Oct 1999 11:00:24 -0400"
Message-ID: <qrrwvt1cjfv.fsf@tolt.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Greg Badros <gjb@cs.washington.edu> writes:
> 
>  > It's the only option for now.
>  > 
>  > The event rewrite is likely going to happen before the end of the
>  > millenium. :-)
>  > 
>  > I'm beginning to believe that the decoration rewrite may be politically
>  > more important as one of the plug-in decoration modules can be pure GTk+ 
>  > with themes which would fit well with Gnome and may help Scwm get
>  > adopted by RedHat and others as their standard WM.  Similarly, another
>  > module could use the Qt widget set to mesh especially nicely with KDE.
> 
> If that's the case, then how about a few minor tweaks to the mouse
> handing to hold us until the event handling rewrite?

I just made a very little tweak that's very useful (and really just a
bug fix).  Here's the news entry:

* Motion events were only dispatching after the double-click timeout;
  now they dispatch as soon as the motion is greater than a threshold.
  Result is more responsive feel on, e.g., titlebar-based window dragging.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct  6 09:07:56 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA08608
	for scwm-discuss-outgoing; Wed, 6 Oct 1999 09:07:56 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from Cantor.suse.de (Cantor.suse.de [194.112.123.193])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA08605
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 6 Oct 1999 09:07:44 -0400
Received: from Galois.suse.de (Galois.suse.de [194.112.123.130])
	by Cantor.suse.de (Postfix) with ESMTP
	id D9C8332CED; Wed, 06 Oct 1999 13:07:07 +0000 (???)
Received: from Wotan.suse.de (Wotan.suse.de [10.10.0.1])
	by Galois.suse.de (Postfix) with ESMTP
	id 0AAD867AA; Wed,  6 Oct 1999 15:07:08 +0200 (MEST)
Received: from Frechet.suse.de (Frechet.suse.de [10.10.0.123])
	by Wotan.suse.de (Postfix) with ESMTP
	id 7C8E37F8B; Wed,  6 Oct 1999 15:07:07 +0200 (MEST)
Received: (from ke@localhost)
	by Frechet.suse.de (8.9.3/8.9.3) id PAA12526;
	Wed, 6 Oct 1999 15:07:07 +0200
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 success reports?
References: <qrr4sggxsp3.fsf@elwha.cs.washington.edu> <shbtaglfst.fsf@Frechet.suse.de> <qrrbtagvx65.fsf@elwha.cs.washington.edu> <shbtafeysu.fsf@Frechet.suse.de> <qrrso3qucu7.fsf@elwha.cs.washington.edu>
From: Karl Eichwalder <ke@suse.de>
Date: 06 Oct 1999 15:07:07 +0200
In-Reply-To: Greg Badros's message of "04 Oct 1999 12:48:16 -0700"
Message-ID: <shn1tw63k4.fsf@Frechet.suse.de>
Lines: 37
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

|   > That's a good hint.  guile-gtk is not detected in the right manner.
|   > scwm "wants" libguilegtk 1.1 but I have 1.2 (from an old gnome-guile
|   > package); I'll install a new `guile-gtk'.
|   
|   The other way around, right?  We want guilegtk-1.2.

That's what I though, too.  My fault -- there was an old guile-gtk lying
around; after removing the old guile-gtk scwm starts to work better :)

I guess, I've to install the scwm images...

|   Is the issue that --sysconfdir is a canonical flag in the Debian world,
|   or that the other scwmrcs shouldn't go there?

The GNU Make manual says:

`sysconfdir'
     The directory for installing read-only data files that pertain to a
     single machine-that is to say, files for configuring a host.
     Mailer and network configuration files, `/etc/passwd', and so
     forth belong here.  All the files in this directory should be
     ordinary ASCII text files.  This directory should normally be
     `/usr/local/etc', but write it as `$(prefix)/etc'.  (If you are
     using Autoconf, write it as `@sysconfdir@'.)

     Do not install executables here in this directory (they probably
     belong in `$(libexecdir)' or `$(sbindir)').  Also do not install
     files that are modified in the normal course of their use (programs
     whose purpose is to change the configuration of the system
     excluded).  Those probably belong in `$(localstatedir)'.


-- 
                                             work   :        ke@suse.de
Karl Eichwalder                              private: ke@gnu.franken.de

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct  6 11:36:06 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA08814
	for scwm-discuss-outgoing; Wed, 6 Oct 1999 11:36:06 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA08811
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 6 Oct 1999 11:35:47 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id LAA22449;
	Wed, 6 Oct 1999 11:35:17 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma022442; Wed, 6 Oct 99 11:34:53 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id LAA14919; Wed, 6 Oct 1999 11:34:51 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id LAA02074; Wed, 6 Oct 1999 11:34:51 -0400
Date: Wed, 6 Oct 1999 11:34:51 -0400
Message-Id: <199910061534.LAA02074@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: badros@cs.washington.edu
CC: hjstein@bfr.co.il, scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrrwvt1cjfv.fsf@tolt.cs.washington.edu> (message from Greg
	Badros on 05 Oct 1999 19:27:32 -0700)
Subject: Re: Event rewrite and decoration rewrite [ was Re: question about event bindings]
References: <199910021623.MAA06791@soup.ql.org> <qrrbtahyaim.fsf@elwha.cs.washington.edu> <kiw905j6uif.fsf@blinky.bloomberg.com> <qrrwvt1cjfv.fsf@tolt.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


>   I just made a very little tweak that's very useful (and really just a
>   bug fix).  Here's the news entry:
>
>   * Motion events were only dispatching after the double-click timeout;
>     now they dispatch as soon as the motion is greater than a threshold.
>     Result is more responsive feel on, e.g., titlebar-based window dragging.
>
>   Greg

I think this broke (move-or-raise).  I may look into this.

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct  6 11:41:34 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA08849
	for scwm-discuss-outgoing; Wed, 6 Oct 1999 11:41:34 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tolt.cs.washington.edu (tolt.cs.washington.edu [128.95.1.155])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA08846
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 6 Oct 1999 11:41:31 -0400
Received: (from gjb@localhost)
	by tolt.cs.washington.edu (8.9.3/8.9.3/0.3) id IAA25488;
	Wed, 6 Oct 1999 08:41:23 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite and decoration rewrite [ was Re: question about event bindings]
References: <199910021623.MAA06791@soup.ql.org> <qrrbtahyaim.fsf@elwha.cs.washington.edu> <kiw905j6uif.fsf@blinky.bloomberg.com> <qrrwvt1cjfv.fsf@tolt.cs.washington.edu> <199910061534.LAA02074@soup.ads.apexinc.com>
From: Greg Badros <badros@cs.washington.edu>
Date: 06 Oct 1999 08:41:23 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Wed, 6 Oct 1999 11:34:51 -0400"
Message-ID: <qrrogeccx98.fsf@tolt.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> >   I just made a very little tweak that's very useful (and really just a
> >   bug fix).  Here's the news entry:
> >
> >   * Motion events were only dispatching after the double-click timeout;
> >     now they dispatch as soon as the motion is greater than a threshold.
> >     Result is more responsive feel on, e.g., titlebar-based window dragging.
> >
> >   Greg
> 
> I think this broke (move-or-raise).  I may look into this.

It still works for me.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct  6 11:58:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA08973
	for scwm-discuss-outgoing; Wed, 6 Oct 1999 11:58:23 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA08969
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 6 Oct 1999 11:58:20 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id LAA22818;
	Wed, 6 Oct 1999 11:58:17 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma022816; Wed, 6 Oct 99 11:58:16 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id LAA17138; Wed, 6 Oct 1999 11:58:15 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id LAA02804; Wed, 6 Oct 1999 11:58:15 -0400
Date: Wed, 6 Oct 1999 11:58:15 -0400
Message-Id: <199910061558.LAA02804@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: badros@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrrogeccx98.fsf@tolt.cs.washington.edu> (message from Greg
	Badros on 06 Oct 1999 08:41:23 -0700)
Subject: Re: Event rewrite and decoration rewrite [ was Re: question about event bindings]
References: <199910021623.MAA06791@soup.ql.org> <qrrbtahyaim.fsf@elwha.cs.washington.edu> <kiw905j6uif.fsf@blinky.bloomberg.com> <qrrwvt1cjfv.fsf@tolt.cs.washington.edu> <199910061534.LAA02074@soup.ads.apexinc.com> <qrrogeccx98.fsf@tolt.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


>   > >   I just made a very little tweak that's very useful (and really just a
>   > >   bug fix).  Here's the news entry:
>   > >
>   > >   * Motion events were only dispatching after the double-click timeout;
>   > >     now they dispatch as soon as the motion is greater than a threshold.
>   > >     Result is more responsive feel on, e.g., titlebar-based window dragging.
>   > >
>   > >   Greg
>   > 
>   > I think this broke (move-or-raise).  I may look into this.
>
>   It still works for me.
>
>   Greg

It works for me, but only after applying this patch.  Do you think
this patch is harmful?  I actually can't see why it would work without
it.

Without this patch, if I say

(bind-mouse 'window "M-S-1" (lambda () (display (mouse-event-type))))

and click M-S-1, it always says motion.  With this patch, it seems to
give the correct result.  (The first hunk corrects the problem; the
others make it possible to compile this with SCWM_DEBUG_MSGS defined.)

This fix does improve the feel of scwm for motion events.  Thanks.

                                Jay 

--- binding.c.qdist	Wed Oct  6 11:06:45 1999
+++ binding.c	Wed Oct  6 11:57:10 1999
@@ -1331,7 +1331,7 @@
   ycurrent = y;
   t0 = lastTimestamp;
 
-  XGrabPointer(dpy, Scr.Root, True, ButtonMotionMask | PointerMotionMask,
+  XGrabPointer(dpy, Scr.Root, True, ButtonMotionMask | ButtonReleaseMask | ButtonPressMask | PointerMotionMask,
                GrabModeAsync, GrabModeAsync, Scr.Root,
                None, CurrentTime);
                                           
@@ -1339,8 +1339,8 @@
 	 (x - xcurrent < 3) && (x - xcurrent > -3) &&
 	 (y - ycurrent < 3) && (y - ycurrent > -3) &&
 	 ((lastTimestamp - t0) < Scr.ClickTime)) {
-    DBUG((scwm_msg(DBG,"IsClick","sleeping 5 -- %d vs %d, %d vs %d",
-             x, xcurrent, y, ycurrent)));
+    DBUG((DBG,"IsClick","sleeping 5 -- %d vs %d, %d vs %d",
+             x, xcurrent, y, ycurrent));
     ms_sleep(5);
     total += 5;
     if (XCheckMaskEvent(dpy, EndMask, d)) {
@@ -1352,7 +1352,7 @@
       xcurrent = d->xmotion.x_root;
       ycurrent = d->xmotion.y_root;
       StashEventTime(d);
-      DBUG((scwm_msg(DBG,"IsClick","got %d %d",xcurrent, ycurrent)));
+      DBUG((DBG,"IsClick","got %d %d",xcurrent, ycurrent));
     }
   }
   XUngrabPointer(dpy,CurrentTime);
@@ -1764,9 +1764,9 @@
       }
       c_mask_mod_combos = im;
     }
-    DBUG((scwm_msg(INFO,"init_modifiers",
+    DBUG((INFO,"init_modifiers",
                    "Doing %d XGrabKey calls for window bindings when ignoring dubious modifiers",
-                   c_mask_mod_combos);))
+                   c_mask_mod_combos));
     XFreeModifiermap(mod);
   }
 }

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct  6 12:02:53 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA09060
	for scwm-discuss-outgoing; Wed, 6 Oct 1999 12:02:53 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA09057
	for <scwm-discuss@scwm.mit.edu>; Wed, 6 Oct 1999 12:02:50 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id MAA23057
	for <scwm-discuss@scwm.mit.edu>; Wed, 6 Oct 1999 12:02:47 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma023035; Wed, 6 Oct 99 12:02:32 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.13) with ESMTP id MAA17653; Wed, 6 Oct 1999 12:02:32 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id MAA02815; Wed, 6 Oct 1999 12:02:32 -0400
Date: Wed, 6 Oct 1999 12:02:32 -0400
Message-Id: <199910061602.MAA02815@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: how does one control icon placement?
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


The one remaining thing in my gwm profile that I can't figure out how
to do in scwm is icon placement.  I have been looking around for a way
to control how icons are placed, but I am so far at a loss.  Can
someone point me in the right direction?  Thanks....

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct  6 12:12:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA09191
	for scwm-discuss-outgoing; Wed, 6 Oct 1999 12:12:40 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tolt.cs.washington.edu (tolt.cs.washington.edu [128.95.1.155])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA09188
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 6 Oct 1999 12:12:35 -0400
Received: (from gjb@localhost)
	by tolt.cs.washington.edu (8.9.3/8.9.3/0.3) id JAA25546;
	Wed, 6 Oct 1999 09:12:28 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Event rewrite and decoration rewrite [ was Re: question about event bindings]
References: <199910021623.MAA06791@soup.ql.org> <qrrbtahyaim.fsf@elwha.cs.washington.edu> <kiw905j6uif.fsf@blinky.bloomberg.com> <qrrwvt1cjfv.fsf@tolt.cs.washington.edu> <199910061534.LAA02074@soup.ads.apexinc.com> <qrrogeccx98.fsf@tolt.cs.washington.edu> <199910061558.LAA02804@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Oct 1999 09:12:27 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Wed, 6 Oct 1999 11:58:15 -0400"
Message-ID: <qrrn1twcvtg.fsf@tolt.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

<snip>

> >   > I think this broke (move-or-raise).  I may look into this.
> >
> >   It still works for me.
> 
> It works for me, but only after applying this patch.  Do you think
> this patch is harmful?  I actually can't see why it would work without
> it.

Well it doesn't in the case you gave me (but does work fine on
move-or-raise bound to the sidebars).   Your patch is good, in any case,
so it's in.

Thanks!
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct  6 12:16:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA09260
	for scwm-discuss-outgoing; Wed, 6 Oct 1999 12:16:23 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tolt.cs.washington.edu (tolt.cs.washington.edu [128.95.1.155])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA09256
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 6 Oct 1999 12:16:18 -0400
Received: (from gjb@localhost)
	by tolt.cs.washington.edu (8.9.3/8.9.3/0.3) id JAA25549;
	Wed, 6 Oct 1999 09:16:10 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: how does one control icon placement?
References: <199910061602.MAA02815@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Oct 1999 09:16:10 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Wed, 6 Oct 1999 12:02:32 -0400"
Message-ID: <qrrln9gcvn9.fsf@tolt.cs.washington.edu>
Lines: 17
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> The one remaining thing in my gwm profile that I can't figure out how
> to do in scwm is icon placement.  I have been looking around for a way
> to control how icons are placed, but I am so far at a loss.  Can
> someone point me in the right direction?  Thanks....

See set-icon-box!, and the #:icon-box keyword for window-style.  Icons
are a place where Scwm could use a lot of improvement in the C code
(there are numerous bugs, and the code is pretty restricted right now in 
what it'll let you accomplish).  I don't use icons personally, so this
has been under-supported over the two year history of Scwm.  I'm happy
to accept patches to improve icon handling, but I'll probably only have
time to fix some bugs before Scwm-1.0.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct  6 14:04:05 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA09791
	for scwm-discuss-outgoing; Wed, 6 Oct 1999 14:04:05 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA09788
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 6 Oct 1999 14:04:00 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11YvMn-0004OeC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Wed, 6 Oct 1999 14:00:41 -0400 (EDT) 
Message-Id: <m11YvMn-0004OeC@localhost>
Date: Wed, 6 Oct 1999 14:00:41 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: scwm-discuss@SCWM.MIT.EDU, bob@rattlesnake.com
Subject: Unbound variable: animated-resize-frame
Reply-to: bob@rattlesnake.com
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

In this morning's CVS snapshot, 1999 Oct  6  12:16 GMT

`animated-resize-frame' is unbound, which means that `toggle-maximize' fails.

The reported error is:

    ERROR: Unbound variable: animated-resize-frame

`animated-resize-frame'  comes from from animation.scm
and in turn from c-animation.c

Nor errors reported at startup using `strace -etrace=open'; nothing
looks wrong with my setup.

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct  6 14:11:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA09829
	for scwm-discuss-outgoing; Wed, 6 Oct 1999 14:11:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tolt.cs.washington.edu (tolt.cs.washington.edu [128.95.1.155])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA09826
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 6 Oct 1999 14:11:38 -0400
Received: (from gjb@localhost)
	by tolt.cs.washington.edu (8.9.3/8.9.3/0.3) id LAA25767;
	Wed, 6 Oct 1999 11:11:31 -0700 (PDT)
	(envelope-from gjb)
To: bob@rattlesnake.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Unbound variable: animated-resize-frame
References: <m11YvMn-0004OeC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Oct 1999 11:11:30 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Wed, 6 Oct 1999 14:00:41 -0400 (EDT)"
Message-ID: <qrrbtaccqb1.fsf@tolt.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Robert J. Chassell" <bob@rattlesnake.com> writes:

> In this morning's CVS snapshot, 1999 Oct  6  12:16 GMT
> 
> `animated-resize-frame' is unbound, which means that `toggle-maximize' fails.
> 
> The reported error is:
> 
>     ERROR: Unbound variable: animated-resize-frame
> 
> `animated-resize-frame'  comes from from animation.scm
> and in turn from c-animation.c
> 
> Nor errors reported at startup using `strace -etrace=open'; nothing
> looks wrong with my setup.

I think you have a build/install bug.  Double check that
modules/c-animation/c-animation.x registers the function, and be sure
that you have done a:

(use-scwm-modules animation)

before trying animated-resize-frame (and if that doesn't work, see if:

(use-scwm-modules c-animation)

then using animated-resize-frame works).

Also, check your installs, SCWM_LOAD_PATH, etc.  Try it with scwm -f
/dev/null then the use-scwm-modules above, etc.

Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct  6 14:18:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA09897
	for scwm-discuss-outgoing; Wed, 6 Oct 1999 14:18:32 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA09894
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 6 Oct 1999 14:18:28 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11Yvdv-0004NWC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Wed, 6 Oct 1999 14:18:23 -0400 (EDT) 
Message-Id: <m11Yvdv-0004NWC@localhost>
Date: Wed, 6 Oct 1999 14:18:23 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Scwm-0.99.3 install on vanilla Debian 2.1
Reply-to: bob@rattlesnake.com
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

[If you saw this earlier, my apologies; I don't see a copy on the
mailing list and fear I forgot to post it.]

    Debian 2.1 (slink)
    gcc 2.7.2.3         [default for Debian 2.1]
    c++ egcs-2.91.60    [default for Debian 2.1]

For reasons having nothing to do with Scwm, I have again had to
reinstall a fresh, stable Debian 2.1 (slink) distribution on my
system.  No `unstable' code!

Given this opportunity, I have determined what is necessary to build
Scwm window managers on a plain vanilla Debian 2.1 installation from
the Scwm 0.99.3 package and from Sunday's CVS snapshot, 
1999 Oct 3 20:41 GMT.

Greg: it would be helpful to other people running Debian to add the
following note to the Web site at

    http://scwm.mit.edu/

since the page there does not mention all the packages needed by
Debian 2.1.



Building and Installing Scwm on Debian 2.1 (slink)


This note describes the packages needed to build and install working
Scwm window managers from both the Scwm-0.99.3 package and from the
CVS snapshot of 1999 Oct 3 20:41 GMT on a system running a plain
vanilla Debian 2.1 (slink) installation.


1. The Debian 2.1 (slink) installation consisted of the `Scientific
   Workstation' set.  This is a large (~550Mb) set of packages.
   Presumably, most of these packages are not needed by Scwm.  

2. In addition to the packages installed automatically when installing
   the `Scientific Workstation', I found that I needed to install the
   following from the Debian 2.1 (slink) distribution:

        libs/libpng2_1.0.2b-0.1.deb
        oldlibs/libjpeg6a_6a-12.deb
        oldlibs/libtiff3_3.4beta037-5.1.deb
        libs/libtiff3g_3.4beta037-5.1.deb
        graphics/libtiff-tools_3.4beta037-5.1.deb
        graphics/libtiff3g-dev_3.4beta037-5.1.deb
        devel/zlib1g-dev_1.1.3-2.deb
        libs/libpng0g_0.96-5.deb
        graphics/libpng0g-dev_0.96-5.deb
        graphics/libpng2-dev_1.0.2b-0.1.deb
        libs/libjpeg62_6b-1.1.deb
        graphics/libjpeg62-dev_6b-1.1.deb
        x11/xpm4g-dev_3.4j-0.6.deb

   To install these packages from a CD-ROM containing the Debian 2.1
   (slink) distribution, run `dpkg -iGE' on each, like this:

     dpkg -iGE /cdrom/dists/slink/main/binary-i386/libs/libpng0g_0.96-5.deb

   Also, you may need to run

       dpkg --configure --pending

   to complete configuration and installation.

3. Also I inadvertently installed two packages from the unstable
   `potato' distribution.  As far as I know, these packages are not
   necessary for Scwm, although nice to have.  These packages were
   mentioned as optional during the installation of imlib-1.9.4

       giflib3g_3.0-5.2.deb
       giflib3g-dev_3.0-5.2.deb

4. I then obtained the following compressed tar files, built and
   installed these packages, in this order:

        ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.5.tar.gz
        ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-1.2.5.tar.gz
        ftp://scwm.mit.edu/pub/scwm/support/imlib-1.9.4.tar.gz
        ftp://prep.ai.mit.edu/pub/gnu/guile/guile-1.3.4.tar.gz
        ftp://scwm.mit.edu/pub/scwm/support/guile-gtk-28Sep99.tar.gz
        ftp://scwm.mit.edu/pub/scwm/GTL-0.3.1.tar.gz
        ftp://scwm.mit.edu/pub/scwm/scwm-0.99.3.tar.gz

   For example, to build and install glib, I did the following:

        cd /usr/local/src
        wget ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.5.tar.gz
        tar xvzf glib-1.2.5.tar.gz
        cd glib-1.2.5
        ./configure && make 
   [as root]
        make install


5. I was then able to start and run Scwm 0.99.3, using my
   `spare-blue.scwmrc' initialization file.


6. To build the CVS snapshot, you need the following additional packages:

        ftp://scwm.mit.edu/pub/scwm/dev-support/autoconf-2.13.tar.gz
        ftp://scwm.mit.edu/pub/scwm/dev-support/automake-1.4.tar.gz
        ftp://scwm.mit.edu/pub/scwm/dev-support/libtool-1.3.2.tar.gz

   Rather than build the packages, I simply installed them from these
   files in the Debian `unstable' (potato) distribution:

        devel/autoconf_2.13-11.deb
        devel/automake_1.4-2.deb
        devel/libtool_1.3.3-1.deb
        doc/libtool-doc_1.3.3-1.deb

7. I then obtained the snapshot using CVS, built, and installed it:

        ./autogen.sh
        make -k
        make install

   This created a Scwm Version 0.99.3post that works, at least during
   a very short test, using both my `spare-blue.scwmrc' initialization
   file and the `sample.scwmrc/system.scwmrc' file from the CVS
   snapshot.

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct  6 14:36:48 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA10204
	for scwm-discuss-outgoing; Wed, 6 Oct 1999 14:36:48 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tolt.cs.washington.edu (tolt.cs.washington.edu [128.95.1.155])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA10194
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 6 Oct 1999 14:36:16 -0400
Received: (from gjb@localhost)
	by tolt.cs.washington.edu (8.9.3/8.9.3/0.3) id LAA25778;
	Wed, 6 Oct 1999 11:36:06 -0700 (PDT)
	(envelope-from gjb)
To: bob@rattlesnake.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm-0.99.3 install on vanilla Debian 2.1
References: <m11Yvdv-0004NWC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Oct 1999 11:36:05 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Wed, 6 Oct 1999 14:18:23 -0400 (EDT)"
Message-ID: <qrraepwcp62.fsf@tolt.cs.washington.edu>
Lines: 31
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Robert J. Chassell" <bob@rattlesnake.com> writes:

> [If you saw this earlier, my apologies; I don't see a copy on the
> mailing list and fear I forgot to post it.]
> 
>     Debian 2.1 (slink)
>     gcc 2.7.2.3         [default for Debian 2.1]
>     c++ egcs-2.91.60    [default for Debian 2.1]
> 
> For reasons having nothing to do with Scwm, I have again had to
> reinstall a fresh, stable Debian 2.1 (slink) distribution on my
> system.  No `unstable' code!
> 
> Given this opportunity, I have determined what is necessary to build
> Scwm window managers on a plain vanilla Debian 2.1 installation from
> the Scwm 0.99.3 package and from Sunday's CVS snapshot, 
> 1999 Oct 3 20:41 GMT.
> 
> Greg: it would be helpful to other people running Debian to add the
> following note to the Web site at
> 
>     http://scwm.mit.edu/
> 
> since the page there does not mention all the packages needed by
> Debian 2.1.

This is great -- thanks!  I updated the web page!

<snip>

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct  6 14:39:46 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA10282
	for scwm-discuss-outgoing; Wed, 6 Oct 1999 14:39:46 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA10278
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 6 Oct 1999 14:39:40 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11YvyO-0004OeC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Wed, 6 Oct 1999 14:39:32 -0400 (EDT) 
Message-Id: <m11YvyO-0004OeC@localhost>
Date: Wed, 6 Oct 1999 14:39:32 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrrbtaccqb1.fsf@tolt.cs.washington.edu> (message from Greg
	Badros on 06 Oct 1999 11:11:30 -0700)
Subject: Re: Unbound variable: animated-resize-frame [FIXED]
Reply-to: bob@rattlesnake.com
References: <m11YvMn-0004OeC@localhost> <qrrbtaccqb1.fsf@tolt.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

   > `animated-resize-frame' is unbound...

   ... Double check that
   modules/c-animation/c-animation.x registers the function, 

You are right.  c-animation.x was a zero length file that was
created with the CVS snapshot of Sunday, 3 Oct 1999.  Presumably,
`animated-resize-frame' was unbound since then, but I did not notice
(I did not spend much time testing on Sunday, then I went away).

I deleted the empty file, rebuilt and reinstalled Scwm, and now this
morning's CVS snapshot, 1999 Oct  6  12:16 GMT,
works (as far as I have tested it).

Thank you!

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct  6 14:46:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA10434
	for scwm-discuss-outgoing; Wed, 6 Oct 1999 14:46:29 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tolt.cs.washington.edu (tolt.cs.washington.edu [128.95.1.155])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA10431
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 6 Oct 1999 14:46:26 -0400
Received: (from gjb@localhost)
	by tolt.cs.washington.edu (8.9.3/8.9.3/0.3) id LAA25799;
	Wed, 6 Oct 1999 11:46:19 -0700 (PDT)
	(envelope-from gjb)
To: bob@rattlesnake.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Unbound variable: animated-resize-frame [FIXED]
References: <m11YvMn-0004OeC@localhost> <qrrbtaccqb1.fsf@tolt.cs.washington.edu> <m11YvyO-0004OeC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Oct 1999 11:46:19 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Wed, 6 Oct 1999 14:39:32 -0400 (EDT)"
Message-ID: <qrr905gcop0.fsf@tolt.cs.washington.edu>
Lines: 27
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Robert J. Chassell" <bob@rattlesnake.com> writes:

>    > `animated-resize-frame' is unbound...
> 
>    ... Double check that
>    modules/c-animation/c-animation.x registers the function, 
> 
> You are right.  c-animation.x was a zero length file that was
> created with the CVS snapshot of Sunday, 3 Oct 1999.  Presumably,
> `animated-resize-frame' was unbound since then, but I did not notice
> (I did not spend much time testing on Sunday, then I went away).
> 
> I deleted the empty file, rebuilt and reinstalled Scwm, and now this
> morning's CVS snapshot, 1999 Oct  6  12:16 GMT,
> works (as far as I have tested it).

Any idea how the file got empty?  I added removal rules to
Makefile.common to erase incomplete .x files to try to avoid interrupted
builds from resulting in this very confusing problem.  Apparently these
failed, somehow, and I'd love to know why.

> Thank you!

You bet.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct  6 15:50:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA10935
	for scwm-discuss-outgoing; Wed, 6 Oct 1999 15:50:23 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA10932
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 6 Oct 1999 15:50:16 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11Yx4h-0004OWC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Wed, 6 Oct 1999 15:50:07 -0400 (EDT) 
Message-Id: <m11Yx4h-0004OWC@localhost>
Date: Wed, 6 Oct 1999 15:50:07 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrr905gcop0.fsf@tolt.cs.washington.edu> (message from Greg
	Badros on 06 Oct 1999 11:46:19 -0700)
Subject: Re: Unbound variable: animated-resize-frame [FIXED]
Reply-to: bob@rattlesnake.com
References: <m11YvMn-0004OeC@localhost> <qrrbtaccqb1.fsf@tolt.cs.washington.edu> <m11YvyO-0004OeC@localhost> <qrr905gcop0.fsf@tolt.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

   > You are right.  c-animation.x was a zero length file ...

   Any idea how the file got empty?  

No, none at all.  I will keep an eye out in the future, since I 
update scwm every morning that I have the time.

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct  6 22:29:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA12230
	for scwm-discuss-outgoing; Wed, 6 Oct 1999 22:29:26 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from procyon.meridian-enviro.com (thunder.meridian-enviro.com [207.109.234.227])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA12227
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 6 Oct 1999 22:29:21 -0400
Received: from deneb.meridian-enviro.com (deneb.meridian-enviro.com [10.10.10.32])
	by procyon.meridian-enviro.com (8.9.2/8.9.2) with ESMTP id VAA06594
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 6 Oct 1999 21:29:16 -0500 (CDT)
Received: (from rand@localhost)
	by deneb.meridian-enviro.com (8.9.2/8.9.2) id VAA09532;
	Wed, 6 Oct 1999 21:29:16 -0500 (CDT)
From: "Douglas K. Rand" <rand@meridian-enviro.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14332.1403.867089.104666@deneb.meridian-enviro.com>
Date: Wed, 6 Oct 1999 21:29:15 -0500 (CDT)
To: scwm-discuss@SCWM.MIT.EDU
Subject: path-cache misses /usr/X11R6/bin
X-Mailer: VM 6.72 under 21.1 "20 Minutes to Nikko" XEmacs Lucid (patch 2)
X-Face: $L%T~#'9fAQ])o]A][d7EH`V;"_;2K;TEPQB=v]rDf_2s%<d5}=?&`PeE)<@]
        fT6ejN-VVK,Fej'k6570?"R$}bLKm84G-S?"!F8vaZ*8h}mM;@Xs%\I@8p8Rc
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I'm just getting started with SCWM, but I used to use GWM before it
died its slow death. Of the many problems that I'm having now, the one 
that stumps me the most is that I was missing alot of programs from
the Applications menu. All of the ones that are found are in
/usr/local/bin and all the ones that are missing are in
/usr/X11R6/bin. I eventually find path-cache.scm and removed the "-f"
from the zsh command line. (Allowing zsh to read my ~/.zshenv, which
since I use zsh as my shell has my correct path.) This fixed my
problem, but I'm not comfortable with the solution.

I'm on a FreeBSD 3.3 system with /etc/login.conf setup with a
reasonable path (which includes /usr/X11R6/bin) and ovbiously my PATH
also includes /usr/X11R6/bin, verified with a (display (getenv "PATH)) 
in my .scwmrc.

Since this is my first message to scwm-discuss I've gotta say that I'm 
excited about having a window manager with a real configuration
language again.   Thanks!

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct  6 23:42:09 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id XAA12468
	for scwm-discuss-outgoing; Wed, 6 Oct 1999 23:42:09 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tolt.cs.washington.edu (tolt.cs.washington.edu [128.95.1.155])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id XAA12465
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 6 Oct 1999 23:42:03 -0400
Received: (from gjb@localhost)
	by tolt.cs.washington.edu (8.9.3/8.9.3/0.3) id UAA26522;
	Wed, 6 Oct 1999 20:41:55 -0700 (PDT)
	(envelope-from gjb)
To: "Douglas K. Rand" <rand@meridian-enviro.com>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: path-cache misses /usr/X11R6/bin
References: <14332.1403.867089.104666@deneb.meridian-enviro.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Oct 1999 20:41:55 -0700
In-Reply-To: "Douglas K. Rand"'s message of "Wed, 6 Oct 1999 21:29:15 -0500 (CDT)"
Message-ID: <qrrhfk3bzwc.fsf@tolt.cs.washington.edu>
Lines: 36
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Douglas K. Rand" <rand@meridian-enviro.com> writes:

> I'm just getting started with SCWM, but I used to use GWM before it
> died its slow death. Of the many problems that I'm having now, the one 
> that stumps me the most is that I was missing alot of programs from
> the Applications menu. All of the ones that are found are in
> /usr/local/bin and all the ones that are missing are in
> /usr/X11R6/bin. I eventually find path-cache.scm and removed the "-f"
> from the zsh command line. (Allowing zsh to read my ~/.zshenv, which
> since I use zsh as my shell has my correct path.) This fixed my
> problem, but I'm not comfortable with the solution.

The better fix is to have your .xsession source your .zshenv so that the 
environment is correct for Scwm, too, not just the zsh that is used by
path-cache.  My guess is your .xsession's environment is incorrect,
too. 

> 
> I'm on a FreeBSD 3.3 system with /etc/login.conf setup with a
> reasonable path (which includes /usr/X11R6/bin) and ovbiously my PATH
> also includes /usr/X11R6/bin, verified with a (display (getenv "PATH)) 
> in my .scwmrc.

Hmmm... then what I wrote above may not be correct.  I'm confused about
why the zsh that path-cache runs does not inherit the correct
environment from the shell;  could you perhaps have zsh resetting your
PATH in /etc/zshenv or somewhere?

> Since this is my first message to scwm-discuss I've gotta say that I'm 
> excited about having a window manager with a real configuration
> language again.   Thanks!

Glad to see more GWM users migrating here.... we're really happy to have 
more power users-- welcome!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct  6 23:49:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id XAA12516
	for scwm-discuss-outgoing; Wed, 6 Oct 1999 23:49:23 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from procyon.meridian-enviro.com (thunder.meridian-enviro.com [207.109.234.227])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id XAA12513
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 6 Oct 1999 23:49:19 -0400
Received: from deneb.meridian-enviro.com (deneb.meridian-enviro.com [10.10.10.32])
	by procyon.meridian-enviro.com (8.9.2/8.9.2) with ESMTP id WAA08468;
	Wed, 6 Oct 1999 22:49:15 -0500 (CDT)
Received: (from rand@localhost)
	by deneb.meridian-enviro.com (8.9.2/8.9.2) id WAA83188;
	Wed, 6 Oct 1999 22:49:15 -0500 (CDT)
From: "Douglas K. Rand" <rand@meridian-enviro.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14332.6203.326100.967233@deneb.meridian-enviro.com>
Date: Wed, 6 Oct 1999 22:49:15 -0500 (CDT)
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: path-cache misses /usr/X11R6/bin
In-Reply-To: <qrrhfk3bzwc.fsf@tolt.cs.washington.edu>
References: <14332.1403.867089.104666@deneb.meridian-enviro.com>
	<qrrhfk3bzwc.fsf@tolt.cs.washington.edu>
X-Mailer: VM 6.72 under 21.1 "20 Minutes to Nikko" XEmacs Lucid (patch 2)
X-Face: $L%T~#'9fAQ])o]A][d7EH`V;"_;2K;TEPQB=v]rDf_2s%<d5}=?&`PeE)<@]
        fT6ejN-VVK,Fej'k6570?"R$}bLKm84G-S?"!F8vaZ*8h}mM;@Xs%\I@8p8Rc
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>> I eventually find path-cache.scm and removed the "-f" from the zsh
>> command line. (Allowing zsh to read my ~/.zshenv, which since I use
>> zsh as my shell has my correct path.) This fixed my problem, but
>> I'm not comfortable with the solution.

Greg> The better fix is to have your .xsession source your .zshenv so
Greg> that the environment is correct for Scwm, too, not just the zsh
Greg> that is used by path-cache.  My guess is your .xsession's
Greg> environment is incorrect, too.

My .xinitrc script is a zsh script, so it automatically gets
~/.zshenv. I am confident that my path is correct, but that it isn't
getting to the "zsh -fc ..." command in path-cache. I've played around 
a little more and this is starting to feel like more of a zsh than a
scwm problem. All the testing I've done says that scwm has the correct 
path, its just that zsh is overriding that when it is invoked with a
-f

% zsh -c "echo \$PATH"
/home/Procyon/rand/bin:/usr/meridian/bin:/usr/meridian/share/bin:/usr/local/bin:/bin:/usr/bin:/usr/ccs/bin:/usr/ucb:/usr/contrib/bin:/usr/X11R6/bin:/usr/bin/X11:/usr/meridian/sbin:/usr/meridian/share/sbin:/usr/local/sbin:/sbin:/usr/sbin:/usr/weather/bin:/usr/games

% zsh -f -c "echo \$PATH"
/home/Procyon/rand/bin:/usr/local/bin:/usr/local/share/bin:/usr/bin:/bin:.

So, its a zsh problem and not a scwm problem.   Sigh.

>> Since this is my first message to scwm-discuss I've gotta say that
>> I'm excited about having a window manager with a real configuration
>> language again.  Thanks!

Greg> Glad to see more GWM users migrating here.... we're really happy
Greg> to have more power users-- welcome!

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct  6 23:55:35 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id XAA12593
	for scwm-discuss-outgoing; Wed, 6 Oct 1999 23:55:35 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from procyon.meridian-enviro.com (thunder.meridian-enviro.com [207.109.234.227])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id XAA12590
	for <scwm-discuss@scwm.mit.edu>; Wed, 6 Oct 1999 23:55:32 -0400
Received: from deneb.meridian-enviro.com (deneb.meridian-enviro.com [10.10.10.32])
	by procyon.meridian-enviro.com (8.9.2/8.9.2) with ESMTP id WAA08747
	for <scwm-discuss@scwm.mit.edu>; Wed, 6 Oct 1999 22:55:29 -0500 (CDT)
Received: (from rand@localhost)
	by deneb.meridian-enviro.com (8.9.2/8.9.2) id WAA83236;
	Wed, 6 Oct 1999 22:55:28 -0500 (CDT)
From: "Douglas K. Rand" <rand@meridian-enviro.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="zfiVrZS5eq"
Content-Transfer-Encoding: 7bit
Message-ID: <14332.6576.559377.930164@deneb.meridian-enviro.com>
Date: Wed, 6 Oct 1999 22:55:28 -0500 (CDT)
To: scwm-discuss@scwm.mit.edu
Subject: FreeBSD!
X-Mailer: VM 6.72 under 21.1 "20 Minutes to Nikko" XEmacs Lucid (patch 2)
X-Face: $L%T~#'9fAQ])o]A][d7EH`V;"_;2K;TEPQB=v]rDf_2s%<d5}=?&`PeE)<@]
        fT6ejN-VVK,Fej'k6570?"R$}bLKm84G-S?"!F8vaZ*8h}mM;@Xs%\I@8p8Rc
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


--zfiVrZS5eq
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit

One of the first things I noticed about SCWM. OK, so maybe the fourth
or fifth thing. Was that annoying "GNU/Linux" on the side of the
menu. Can you tell I'm a FreeBSD advocate?   :)

So, I "designed", well, maybe thats overstating it a little, a FreeBSD
logo. 


--zfiVrZS5eq
Content-Type: application/octet-stream
Content-Description: FreeBSD menu Logo
Content-Disposition: attachment;
	filename="scwm-freebsd.xpm"
Content-Transfer-Encoding: base64

LyogWFBNICovCnN0YXRpYyBjaGFyICptYWdpY2tbXSA9IHsKLyogY29sdW1ucyByb3dzIGNv
bG9ycyBjaGFycy1wZXItcGl4ZWwgKi8KIjIwIDEzMyAxMzAgMiIsCiIgICBjICM0NjJhMmEi
LAoiLiAgYyAjNGEyYzMxIiwKIlggIGMgIzQyMzIzYyIsCiJvICBjICM1MDJiMzIiLAoiTyAg
YyAjNTIyYzMyIiwKIisgIGMgIzUzMmQzMiIsCiJAICBjICM1ODJjMzIiLAoiIyAgYyAjNWMy
YjMyIiwKIiQgIGMgIzVlMmMzMiIsCiIlICBjICM1ZTJjM2EiLAoiJiAgYyAjNTMzMTNhIiwK
IiogIGMgIzU5MzEzOSIsCiI9ICBjICM1ZjM1MzkiLAoiLSAgYyAjNjQyYjJkIiwKIjsgIGMg
IzY2MmMyZCIsCiI6ICBjICM2ZDJkMmQiLAoiPiAgYyAjNmYyZTJkIiwKIiwgIGMgIzY2MmMz
MiIsCiI8ICBjICM3MzJkMmMiLAoiMSAgYyAjNzQyZDJlIiwKIjIgIGMgIzc3MmQyYyIsCiIz
ICBjICM3NjJlMmUiLAoiNCAgYyAjN2EyZTJjIiwKIjUgIGMgIzdjMmYyYyIsCiI2ICBjICM3
ZDJlMmUiLAoiNyAgYyAjNzAyZDMyIiwKIjggIGMgIzdkMzIyZSIsCiI5ICBjICM3MDMxMzEi
LAoiMCAgYyAjNzczYzM4IiwKInEgIGMgIzdlM2YzOCIsCiJ3ICBjICM1ODNjNDEiLAoiZSAg
YyAjNWYzYzQwIiwKInIgIGMgIzU4M2M0YSIsCiJ0ICBjICM3NjQzM2YiLAoieSAgYyAjNTA0
MDRiIiwKInUgIGMgIzU3NDA0YSIsCiJpICBjICM1NzQ0NGEiLAoicCAgYyAjNTg0MDQxIiwK
ImEgIGMgIzUwNDA1NCIsCiJzICBjICM1YzUwNTEiLAoiZCAgYyAjNWI1NDYyIiwKImYgIGMg
IzY0NTM1OSIsCiJnICBjICM3NjRhNDciLAoiaCAgYyAjN2U0MjQ3IiwKImogIGMgIzdlNGU0
NiIsCiJrICBjICM3ZDRlNGUiLAoibCAgYyAjN2Q1YTU2IiwKInogIGMgIzYzNTM2MSIsCiJ4
ICBjICM2MzU3NjEiLAoiYyAgYyAjNjI1YjYxIiwKInYgIGMgIzYxNWY2MSIsCiJiICBjICM3
YjY1NWUiLAoibiAgYyAjNjg2NjY5IiwKIm0gIGMgIzY3NmE3MSIsCiJNICBjICM2ZjY5NzAi
LAoiTiAgYyAjNmU2ZTcwIiwKIkIgIGMgIzZlNzI3MCIsCiJWICBjICM3MTYyNjgiLAoiQyAg
YyAjNzA2NjY4IiwKIlogIGMgIzc5NjU2NyIsCiJBICBjICM3ODY5NjciLAoiUyAgYyAjNzc2
ZDcwIiwKIkQgIGMgIzc1N2U4MSIsCiJGICBjICMwMDkyNDAiLAoiRyAgYyAjODYyZDJjIiwK
IkggIGMgIzg5MmYyYyIsCiJKICBjICM4YTJmMmUiLAoiSyAgYyAjOGUyZTJjIiwKIkwgIGMg
IzhmMmYyYyIsCiJQICBjICM5MzJlMmIiLAoiSSAgYyAjOTEyZjJjIiwKIlUgIGMgIzlhMmYy
YSIsCiJZICBjICM5MjM1MmUiLAoiVCAgYyAjOTgzMDJjIiwKIlIgIGMgIzk5MzUyZCIsCiJF
ICBjICNhMDM0MmUiLAoiVyAgYyAjOWI0NTNlIiwKIlEgIGMgIzhhNWE1NiIsCiIhICBjICM5
NDQ2NDYiLAoifiAgYyAjOTI2NDVkIiwKIl4gIGMgIzg5NjU2ZSIsCiIvICBjICM4NzcxNmUi
LAoiKCAgYyAjODY3NTdmIiwKIikgIGMgIzg1N2Q3ZiIsCiJfICBjICM4Zjc1NzYiLAoiYCAg
YyAjOGY3OTc2IiwKIicgIGMgIzkxNjg2NSIsCiJdICBjICM5MTZjNjUiLAoiWyAgYyAjOTA2
Yzc2IiwKInsgIGMgI2EyNjA1YyIsCiJ9ICBjICNhMjYwNjQiLAoifCAgYyAjYzE3ODcyIiwK
IiAuIGMgIzhlODA3ZSIsCiIuLiBjICM5NjgwN2QiLAoiWC4gYyAjOTQ4ODhiIiwKIm8uIGMg
Izk0OTE5NCIsCiJPLiBjICM5YzkxOTMiLAoiKy4gYyAjOWM5NTliIiwKIkAuIGMgIzljOWE5
YiIsCiIjLiBjICM5Yjk1YTIiLAoiJC4gYyAjOWI5YWEzIiwKIiUuIGMgIzliOWVhMyIsCiIm
LiBjICNiZTk1OTciLAoiKi4gYyAjYTU5ZWEyIiwKIj0uIGMgI2E1YTJhMyIsCiItLiBjICNh
NGE5YWIiLAoiOy4gYyAjYWVhNWEyIiwKIjouIGMgI2FlYTlhYSIsCiI+LiBjICNhNGE5YjIi
LAoiLC4gYyAjYWRhZmIyIiwKIjwuIGMgI2I1YWZiMiIsCiIxLiBjICNiNWI1YjIiLAoiMi4g
YyAjYjRiNWI5IiwKIjMuIGMgI2I1YmFiYSIsCiI0LiBjICNiY2JhYmYiLAoiNS4gYyAjYmNi
ZmMxIiwKIjYuIGMgI2JkYzJjMiIsCiI3LiBjICNjNzlkOWYiLAoiOC4gYyAjYzdjNmMxIiwK
IjkuIGMgI2M2YzZjOSIsCiIwLiBjICNjN2M5Y2IiLAoicS4gYyAjY2ZjOWNhIiwKIncuIGMg
I2NlY2RkMSIsCiJlLiBjICNjZGNjZDciLAoici4gYyAjY2ZkMGQzIiwKInQuIGMgI2Q2Yzlj
ZiIsCiJ5LiBjICNkOGQwZDIiLAoidS4gYyAjZGZlMmU5IiwKImkuIGMgR3JheTEwMCIsCiJw
LiBjIE5vbmUiLAovKiBwaXhlbHMgKi8KInAucC5wLnAuaS5pLmkuaS5pLmkuaS5pLmkuaS5p
LnAucC5wLnAucC4iLAoicC5wLnAuaS5pLmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5wLnAucC5w
LiIsCiJwLnAuaS5pLmkuaS5wLnAucC5wLnAucC5wLmkuaS5pLmkucC5wLnAuIiwKInAucC5p
LmkucC5wLnAucC5wLnAucC5wLnAucC5wLmkuaS5wLnAucC4iLAoicC5pLmkucC5wLnAucC5w
LnAucC5wLnAucC5wLnAucC5pLmkucC5wLiIsCiJwLmkuaS5wLnAucC5wLnAucC5wLnAucC5w
LnAucC5wLmkuaS5wLnAuIiwKInAuaS5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5p
LnAucC4iLAoicC5pLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLmkucC5wLiIsCiJw
LmkucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAuaS5wLnAuIiwKInAuaS5wLnAucC5w
LnAucC5wLnAucC5wLnAucC5wLnAucC5pLnAucC4iLAoicC5pLnAucC5wLnAucC5wLnAucC5w
LnAucC5wLnAucC5wLmkucC5wLiIsCiJwLmkucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5w
LnAuaS5wLnAuIiwKInAuaS5pLmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5pLnAucC4i
LAoicC5pLmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5pLmkucC5wLiIsCiJwLmkuaS5p
LmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5wLnAuIiwKInAuaS5wLnAucC5wLnAucC5w
LnAucC5wLnAucC5wLnAucC5pLnAucC4iLAoicC5pLnAucC5wLnAucC5wLnAucC5wLnAucC5w
LnAucC5wLmkucC5wLiIsCiJwLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5w
LnAuIiwKInAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC4iLAoicC5w
LnAucC5wLnAucC5wLnAucC5wLmkuaS5pLmkucC5wLnAucC5wLiIsCiJwLnAuaS5pLmkuaS5p
LnAucC5wLmkuaS5pLmkuaS5pLnAucC5wLnAuIiwKInAucC5pLmkuaS5wLnAucC5wLmkuaS5p
LmkuaS5pLmkuaS5wLnAucC4iLAoicC5pLmkuaS5wLnAucC5wLmkuaS5pLmkucC5wLnAuaS5p
LnAucC5wLiIsCiJwLmkuaS5wLnAucC5wLnAuaS5pLmkucC5wLnAucC5wLmkuaS5wLnAuIiwK
InAuaS5wLnAucC5wLnAucC5pLmkuaS5wLnAucC5wLnAucC5pLnAucC4iLAoicC5pLnAucC5w
LnAucC5wLmkuaS5pLnAucC5wLnAucC5wLmkucC5wLiIsCiJwLmkucC5wLnAucC5wLmkuaS5p
LnAucC5wLnAucC5wLnAuaS5wLnAuIiwKInAuaS5wLnAucC5wLnAuaS5pLmkucC5wLnAucC5w
LnAucC5pLnAucC4iLAoicC5pLnAucC5wLnAucC5pLmkuaS5wLnAucC5wLnAucC5wLmkucC5w
LiIsCiJwLmkuaS5wLnAucC5pLmkuaS5pLnAucC5wLnAucC5wLmkuaS5wLnAuIiwKInAucC5p
LmkuaS5pLmkuaS5pLnAucC5wLnAucC5wLmkuaS5pLnAucC4iLAoicC5wLnAuaS5pLmkuaS5p
LmkucC5wLnAucC5pLmkuaS5pLnAucC5wLiIsCiJwLnAucC5wLmkuaS5pLnAucC5wLnAuaS5p
LmkuaS5pLmkucC5wLnAuIiwKInAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5w
LnAucC4iLAoicC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLiIsCiJw
LnAucC5wLnAucC5wLnAucC5wLnAucC5pLmkuaS5pLnAucC5wLnAuIiwKInAucC5wLmkuaS5p
LmkucC5wLnAucC5pLmkuaS5pLmkuaS5wLnAucC4iLAoicC5wLmkuaS5pLmkuaS5pLnAucC5p
LmkuaS5pLmkuaS5pLnAucC5wLiIsCiJwLnAuaS5pLmkuaS5pLmkuaS5wLmkuaS5wLnAucC5p
LmkuaS5wLnAuIiwKInAuaS5pLmkucC5wLnAuaS5pLnAuaS5wLnAucC5wLnAuaS5pLnAucC4i
LAoicC5pLmkucC5wLnAucC5wLmkuaS5wLnAucC5wLnAucC5wLmkucC5wLiIsCiJwLmkucC5w
LnAucC5wLnAucC5pLnAucC5wLnAucC5wLnAuaS5wLnAuIiwKInAuaS5wLnAucC5wLnAucC5w
LmkucC5wLnAucC5wLnAucC5pLnAucC4iLAoicC5pLnAucC5wLnAucC5wLnAuaS5wLnAucC5w
LnAucC5wLmkucC5wLiIsCiJwLmkucC5wLnAucC5wLnAucC5pLnAucC5wLnAucC5wLnAuaS5w
LnAuIiwKInAuaS5wLnAucC5wLnAucC5wLmkucC5wLnAucC5wLnAucC5pLnAucC4iLAoicC5p
LnAucC5wLnAucC5wLnAuaS5wLnAucC5wLnAucC5wLmkucC5wLiIsCiJwLmkuaS5pLmkuaS5p
LmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5wLnAuIiwKInAuaS5pLmkuaS5pLmkuaS5pLmkuaS5p
LmkuaS5pLmkuaS5pLnAucC4iLAoicC5pLmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5p
LmkucC5wLiIsCiJwLmkucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAuaS5wLnAuIiwK
InAuaS5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5pLnAucC4iLAoicC5wLnAucC5w
LnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLiIsCiJwLnAucC5wLnAucC5wLnAucC5p
LmkuaS5wLnAuaS5wLnAucC5wLnAuIiwKInAucC5wLnAucC5wLnAuaS5pLmkuaS5pLnAucC5w
LmkucC5wLnAucC4iLAoicC5wLnAucC5wLnAuaS5pLmkuaS5pLmkucC5wLnAucC5pLnAucC5w
LiIsCiJwLnAucC5wLnAuaS5pLmkucC5wLnAuaS5wLnAucC5wLnAuaS5wLnAuIiwKInAucC5w
LnAucC5pLnAucC5wLnAucC5pLnAucC5wLnAucC5pLnAucC4iLAoicC5wLnAucC5wLmkucC5w
LnAucC5wLmkucC5wLnAucC5wLmkucC5wLiIsCiJwLnAucC5wLnAuaS5wLnAucC5wLnAuaS5w
LnAucC5wLnAuaS5wLnAuIiwKInAucC5wLnAucC5pLnAucC5wLnAucC5pLnAucC5wLnAuaS5p
LnAucC4iLAoicC5wLnAucC5wLmkuaS5pLnAucC5wLmkucC5wLnAuaS5pLmkucC5wLiIsCiJw
LnAucC5wLnAucC5pLmkuaS5pLmkuaS5pLmkuaS5pLmkucC5wLnAuIiwKInAucC5wLnAucC5w
LnAuaS5pLmkuaS5pLmkuaS5pLmkucC5wLnAucC4iLAoicC5wLnAucC5wLnAucC5wLnAuaS5p
LmkuaS5pLnAucC5wLnAucC5wLiIsCiJwLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5w
LnAucC5wLnAuIiwKInAucC5wLnAucC5wLnAucC5wLmkuaS5pLnAucC5pLnAucC5wLnAucC4i
LAoicC5wLnAucC5wLnAucC5pLmkuaS5pLmkucC5wLnAuaS5wLnAucC5wLiIsCiJwLnAucC5w
LnAucC5pLmkuaS5pLmkuaS5wLnAucC5wLmkucC5wLnAuIiwKInAucC5wLnAucC5pLmkuaS5w
LnAucC5pLnAucC5wLnAucC5pLnAucC4iLAoicC5wLnAucC5wLmkucC5wLnAucC5wLmkucC5w
LnAucC5wLmkucC5wLiIsCiJwLnAucC5wLnAuaS5wLnAucC5wLnAuaS5wLnAucC5wLnAuaS5w
LnAuIiwKInAucC5wLnAucC5pLnAucC5wLnAucC5pLnAucC5wLnAucC5pLnAucC4iLAoicC5w
LnAucC5wLmkucC5wLnAucC5wLmkucC5wLnAucC5pLmkucC5wLiIsCiJwLnAucC5wLnAuaS5p
LmkucC5wLnAuaS5wLnAucC5pLmkuaS5wLnAuIiwKInAucC5wLnAucC5wLmkuaS5pLmkuaS5p
LmkuaS5pLmkuaS5wLnAucC4iLAoicC5wLnAucC5wLnAucC5pLmkuaS5pLmkuaS5pLmkuaS5w
LnAucC5wLiIsCiJwLnAucC5wLnAucC5wLnAucC5pLmkuaS5pLmkucC5wLnAucC5wLnAuIiwK
InAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC4iLAoicC5wLnAucC5w
LnAuaS5pLmkucC5wLnAucC5wLnAucC5wLnAucC5wLiIsCiJwLnAucC5wLnAuaS5pLmkuaS5w
LnAucC5wLnAucC5wLnAucC5wLnAuIiwKInAucC5wLnAucC5pLmkuaS5pLnAucC5wLnAucC5w
LnAucC5wLnAucC4iLAoicC5wLnAucC5wLmkucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5w
LiIsCiJwLnAucC5wLnAuaS5wLnAucC5wLnAucC5wLnAucC5wLnAuaS5wLnAuIiwKInAucC5w
LnAucC5wLmkucC5wLnAucC5wLnAucC5wLnAucC5pLnAucC4iLAoicC5wLnAucC5wLnAucC5p
LnAucC5wLnAucC5wLnAucC5wLmkucC5wLiIsCiJwLnAucC5wLnAuaS5pLmkuaS5pLmkuaS5p
LmkuaS5pLmkuaS5wLnAuIiwKInAucC5wLnAucC5pLmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5p
LnAucC4iLAoicC5wLnAucC5wLmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5pLmkucC5wLiIsCiJw
LnAucC5wLnAuaS5wLnAucC5wLnAucC5wLnAucC5wLnAuaS5wLnAuIiwKInAucC5wLnAucC5p
LnAucC5wLnAucC5wLnAucC5wLnAucC5pLnAucC4iLAoicC5wLnAucC5wLnAucC5wLnAucC5w
LnAucC5wLnAucC5wLnAucC5wLiIsCiJwLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5w
LnAucC5wLnAuIiwKInAuaS5pLmkuaS5pLmkucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC4i
LAoicC5pLmkuaS5pLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLiIsCiJwLmkuaS5w
LnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAuIiwKInAuaS5pLnAucC5wLnAucC5w
LnAucC5wLnAucC5wLnAucC5wLnAucC4iLAoicC5pLnAucC5wLnAuaS5pLmkuaS5pLmkuaS5w
LnAucC5wLnAucC5wLiIsCiJwLmkucC5wLnAucC5wLnAuaS5pLmkucC5wLnAucC5wLnAucC5w
LnAuIiwKInAuaS5wLnAucC5wLnAucC5wLmkucC5wLnAucC5wLnAucC5wLnAucC4iLAoicC5p
LnAucC5wLnAucC5wLnAuaS5wLnAucC5wLnAucC5wLmkucC5wLiIsCiJwLmkucC5wLnAucC5w
LnAucC5pLnAucC5wLnAucC5wLnAuaS5wLnAuIiwKInAuaS5wLnAucC5wLnAucC5wLmkucC5w
LnAucC5wLnAucC5pLnAucC4iLAoicC5pLmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5p
LmkucC5wLiIsCiJwLmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5wLnAuIiwK
InAuaS5pLmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5pLmkuaS5pLnAucC4iLAoicC5pLnAucC5w
LnAucC5wLnAucC5wLnAucC5wLnAucC5wLmkucC5wLiIsCiJwLmkucC5wLnAucC5wLnAucC5w
LnAucC5wLnAucC5wLnAuaS5wLnAuIiwKInAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5w
LnAucC5wLnAucC4iLAoicC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5w
LiIsCiJwLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAuIiwKInAucC5w
LnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC5wLnAucC4iLAoicC5wLnAucC5wLnAucC5w
LnAucC5wLnAucC5wLnAucC5wLnAucC5wLiIsCiJwLnAucC5wLnAucC5wLnAucC5wLnAucC5w
LnAucC5wLnAucC5wLnAuIiwKInAucC5wLnAucC5wLnAucC5gIHEucC5wLnAuMS44LnAucC5w
LnAucC4iLAoicC5wLnAucC5wLnAuLi4kIGAgYiBwLjYucC41LmogMC5wLnAucC5wLiIsCiJw
LnAucC5wLnAueS5MIGggWSA2ICsgJiBvLk8uOCBNIHAucC5wLnAuIiwKInAucC5wLnAucC55
LlcgNy58ICYuSCAzIDMgSiAsICkgcC5wLnAucC4iLAoicC5wLnAucC5wLjwuWyB7IDcudS5S
IDMgQCBAIGUgcC5wLnAucC5wLiIsCiJwLnAucC5wLnAubCAkICwgXiB0LkUgPiBAIHcgNS5w
LnAucC5wLnAuIiwKInAucC44LlEgOS5UIEsgOiAhIH0gSSA7IEAgdiBwLnAucC5wLnAucC4i
LAoicC45Ll8gQC5CIHEgOCA0IFUgVSBHICQgJCAsLnAucC5wLnAucC5wLiIsCiJwLlogKy5t
IGMgfiAvIDkgMSAkIEAgJSAgLnAucC5wLnAucC5wLnAuIiwKInAucC5ALkAuTiAyIFMgayBM
IDwgMSByIHAucC5wLnAucC5wLnAucC4iLAoicC5wLnAucC49LjcgQCA8IFUgNSA6IHIgcC5w
LnAucC5wLnAucC5wLiIsCiJwLnAucC5wLnAuQSB1IDQgUCAxIE8gJCA7LnAucC5wLnAucC5w
LnAuIiwKInAucC5wLnAucC5wLicgLSAjIEAgbyBlIHIucC5wLnAucC5wLnAucC4iLAoicC5w
LnAucC5wLnAuXSBQIDogJCBvICogMy5wLnAucC5wLnAucC5wLiIsCiJwLnAucC5wLnAucC53
LnQgOiAjIG8gLiBDIHkucC5wLnAucC5wLnAuIiwKInAuMi4zLjMuMi4xLkQgZyBbICAgPSBY
IHcgTSA8LjEucC5wLnAucC4iLAoicC4jLnAuZS4kLjQuKCBzIHAgICAmIHkgMy4qLnggZiBW
IFguMi5wLiIsCiJwLi0uQiBuID4uIy4kLnogdyBpIGEgZCAlLnAucC5wLjUuKy4wIDouIiwK
InAuLS5CIG4gPi4jLiQueiB3IGkgYSBkICUucC5wLnAuNS4rLjAgOi4iCn07Cg==

--zfiVrZS5eq
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit


I'm sure that you kind SCWM folks don't want to be seen as playing
favorites in the great free UNIX wars, so I hope that including this
logo will help you gain the neutral ground that I'm sure you seek.

If at this point in reading this missive you are somewhat upset, take
a deep breath and find a way to enhance your humor circuits. My tongue 
is almost poking out the side of my cheek.  :))


--zfiVrZS5eq--

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct  7 01:32:55 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA12905
	for scwm-discuss-outgoing; Thu, 7 Oct 1999 01:32:55 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tolt.cs.washington.edu (tolt.cs.washington.edu [128.95.1.155])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA12902
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 7 Oct 1999 01:32:51 -0400
Received: (from gjb@localhost)
	by tolt.cs.washington.edu (8.9.3/8.9.3/0.3) id WAA26800;
	Wed, 6 Oct 1999 22:32:44 -0700 (PDT)
	(envelope-from gjb)
To: "Douglas K. Rand" <rand@meridian-enviro.com>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: path-cache misses /usr/X11R6/bin
References: <14332.1403.867089.104666@deneb.meridian-enviro.com> 	<qrrhfk3bzwc.fsf@tolt.cs.washington.edu> <14332.6203.326100.967233@deneb.meridian-enviro.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Oct 1999 22:32:44 -0700
In-Reply-To: "Douglas K. Rand"'s message of "Wed, 6 Oct 1999 22:49:15 -0500 (CDT)"
Message-ID: <qrrg0znburn.fsf@tolt.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Douglas K. Rand" <rand@meridian-enviro.com> writes:

> My .xinitrc script is a zsh script, so it automatically gets
> ~/.zshenv. I am confident that my path is correct, but that it isn't
> getting to the "zsh -fc ..." command in path-cache. I've played around 
> a little more and this is starting to feel like more of a zsh than a
> scwm problem. All the testing I've done says that scwm has the correct 
> path, its just that zsh is overriding that when it is invoked with a
> -f
> 
> % zsh -c "echo \$PATH"
> /home/Procyon/rand/bin:/usr/meridian/bin:/usr/meridian/share/bin:/usr/local/bin:/bin:/usr/bin:/usr/ccs/bin:/usr/ucb:/usr/contrib/bin:/usr/X11R6/bin:/usr/bin/X11:/usr/meridian/sbin:/usr/meridian/share/sbin:/usr/local/sbin:/sbin:/usr/sbin:/usr/weather/bin:/usr/games
> 
> % zsh -f -c "echo \$PATH"
> /home/Procyon/rand/bin:/usr/local/bin:/usr/local/share/bin:/usr/bin:/bin:.
> 
> So, its a zsh problem and not a scwm problem.   Sigh.

Use the FreeBSD equivalent of strace to see what files zsh is reading--
I expect it's /etc/zshenv -- that file might be setting PATH
explicitly. 

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct  7 01:34:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA12932
	for scwm-discuss-outgoing; Thu, 7 Oct 1999 01:34:57 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tolt.cs.washington.edu (tolt.cs.washington.edu [128.95.1.155])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA12927
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 7 Oct 1999 01:34:54 -0400
Received: (from gjb@localhost)
	by tolt.cs.washington.edu (8.9.3/8.9.3/0.3) id WAA26803;
	Wed, 6 Oct 1999 22:34:48 -0700 (PDT)
	(envelope-from gjb)
To: "Douglas K. Rand" <rand@meridian-enviro.com>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: FreeBSD!
References: <14332.6576.559377.930164@deneb.meridian-enviro.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 06 Oct 1999 22:34:48 -0700
In-Reply-To: "Douglas K. Rand"'s message of "Wed, 6 Oct 1999 22:55:28 -0500 (CDT)"
Message-ID: <qrremf7buo7.fsf@tolt.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Douglas K. Rand" <rand@meridian-enviro.com> writes:

> --zfiVrZS5eq
> Content-Type: text/plain; charset=us-ascii
> Content-Description: message body text
> Content-Transfer-Encoding: 7bit
> 
> One of the first things I noticed about SCWM. OK, so maybe the fourth
> or fifth thing. Was that annoying "GNU/Linux" on the side of the
> menu. Can you tell I'm a FreeBSD advocate?   :)
> 
> So, I "designed", well, maybe thats overstating it a little, a FreeBSD
> logo. 

Excellent-- I'll include this in the next release (after 0.99.4 which I
just packaged up and will announce tomorrow).  I'll make system.scwmrc
pick the right one (or maybe just have a scwm sidebar.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct  7 13:14:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA15743
	for scwm-discuss-outgoing; Thu, 7 Oct 1999 13:14:40 -0400
Received: from mail.nf.net (firma.thezone.net [192.75.13.101])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA15740
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 7 Oct 1999 13:14:35 -0400
Received: from behemoth.dethfart.org (n154h069.thezone.net [198.165.154.69])
	by mail.nf.net (8.9.3/8.9.3) with ESMTP id OAA27694;
	Thu, 7 Oct 1999 14:44:23 -0230 (NDT)
Received: (from greg@localhost)
	by behemoth.dethfart.org (8.8.7/8.8.7) id OAA00471;
	Thu, 7 Oct 1999 14:42:55 -0230
X-Authentication-Warning: behemoth.dethfart.org: greg set sender to Greg.Harvey@thezone.net using -f
To: Mikael Djurfeldt <djurfeldt@nada.kth.se>
Cc: guile@cs.washington.edu, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Guile GC behaviour
References: <qrrogeouffb.fsf@elwha.cs.washington.edu> <xy7u2oghqrg.fsf@thalamus.nada.kth.se> <qrrg0zzvrvt.fsf@elwha.cs.washington.edu> <m3u2of67wn.fsf@behemoth.dethfart.org> <qrrso3ztxvg.fsf@elwha.cs.washington.edu>
From: Greg Harvey <Greg.Harvey@thezone.net>
Date: 07 Oct 1999 14:42:52 -0230
Message-ID: <m3emf7drhn.fsf@behemoth.dethfart.org>
Lines: 22
X-Mailer: Gnus v5.6.43/Emacs 20.3
Original-Sender: Greg.Harvey@thezone.net
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> I'm wondering if this could account for the growing Scwm process image
> behaviour we've seen for a long time.  It's surprisingly challenging to
> debug memory leaks in Scwm given the various memory allocators all
> interacting, and the Scheme heap in particular.  I'm open to suggestions 
> as to how to confirm or deny that these holes might be the source of the 
> "leaks".

(sorry this took so long, I've been quite busy with non-guile related
things).

It could be useful to look at scm_mtrigger, which will give you an
idea of the highwater mark for allocations of scheme objects (it has
to be at least half that). Guile doesn't currently have any way to
find out a lot of information about allocations and stuff (adding more
detailed stats to the gc is another one of the multitude of things I
just can't seem to get around to doing; I'll probably take a whack at
this over the long weekend). 

-- 
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct  7 14:20:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA15953
	for scwm-discuss-outgoing; Thu, 7 Oct 1999 14:20:58 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tolt.cs.washington.edu (tolt.cs.washington.edu [128.95.1.155])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA15950
	for <scwm-discuss@scwm.mit.edu>; Thu, 7 Oct 1999 14:20:53 -0400
Received: (from gjb@localhost)
	by tolt.cs.washington.edu (8.9.3/8.9.3/0.3) id LAA27950;
	Thu, 7 Oct 1999 11:20:48 -0700 (PDT)
	(envelope-from gjb)
To: scwm-discuss@scwm.mit.edu
Cc: guile@sourceware.cygnus.com
Subject: Scwm 0.99.4 is released!
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Oct 1999 11:20:48 -0700
Message-ID: <qrrpuyr9gn3.fsf@tolt.cs.washington.edu>
Lines: 148
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Largely a bugfix release..  here's the NEWS file entries, and the
announcement follows.

Thanks for all your bug reports and suggestions!

I'm leaving town first thing in the morning for a week or so, so I'll be 
a little less connected than usual.  Please be patient (and try stuff
today if you can so I can fix problems before I leave).

Thanks,
Greg



Changes for scwm-0.99.4 (released 6-October-1999)

* scwm/ subdirectory has been renamed to src/.

* Bug fixes, including gnome icon placement, animated resize/moves, more!

* Minor overhaul of system.scwmrc, rearranged menus, eliminated half-working features, etc.

* system.scwmrc by default now uses the guile-gtk error message window in addition to
  writing errors to stderr (uses changed error-hook)

* Motion events were only dispatching after the double-click timeout;  now they dispatch
  as soon as the motion is greater than a threshold.  Result is more responsive feel on, e.g.,
  titlebar-based window dragging.

* New modules
** last-mapped-window.scm for remembering the last window that got mapped

* Changed modules
** window-configuration.scm now has push-window-configuration, pop-window-configuration
   and window-configuration-menu

* Changed procedures
** X-cut-buffer-string now uses X-fetch-bytes primitive
** X-set-cut-buffer-string! now uses X-store-bytes primitive
** Rename copy-window-title-to-cut-buffer0 to copy-window-title-to-cut-buffer
** Rename paste-window-title-from-cut-buffer0 to paste-window-title-from-cut-buffer

* New primitives
** `X-fetch-bytes', `X-store-bytes' for better primary cut buffer handling. Thanks E. Jay Berkenbilt!

* Changed primitives
** `animated-deiconify-to-last-viewport-position' to `animated-deiconify-to-viewport'
** Drop `animated-deiconify-to-current-viewport'
** Renamed `current-window-with-focus' to `window-with-focus'
** Renamed `current-window-with-pointer' to `window-with-pointer'

* New hooks
** X-ConfigureRequest-hook

* Changed hooks
** X-DestroyNotify-hook now calls with window ID integer, instead of a window object
** error-hook now calls with a single argument, the string error message


Scwm 0.99.4 is released.

* What Scwm is:

Scwm is the Scheme Constraints Window Manager, a highly dynamic and
extensible window manager for the X Window System.  Scwm embeds Guile
Scheme as the configuration and extension language, and includes a
sophisticated constraint solver for permitting the user to interactively
specify constraints among top-level window sizes and positions.  Nearly
all decorations can be changed at run-time on a per-window basis.
Dynamic loading of C modules is supported.  Scwm is self-documenting and
provides A powerful protocol for interacting with the window manager
from other processes.

* Primary Authors:

Greg J. Badros <gjb@cs.washington.edu>
Maciej Stachowiak <mstachow@alum.mit.edu> 

Other substantial contributors include:
  Robert Bihlmeyer <robbe@orcus.priv.at>, 
  Todd Larason <jtl@molehill.org>, 
  Jeff Nichols <jwnichls@cs.washington.edu>, and
  Sam Steingold <sds@goems.com>.

Many more people have contributed bug reports, bug fixes, or smaller
changes; see AUTHORS and THANKS in the distribution.

* Where you can find more info:

Some information about scwm is available at:

http://scwm.mit.edu/

There are also scwm-discuss@scwm.mit.edu and
scwm-announce@scwm.mit.edu mailing lists for disscussion and
release announcements repsectively. The new list
scwm-commits@scwm.mit.edu receives all scwm CVS commit messages.
You can subscribe to any of these at majordomo@scwm.mit.edu by
sending a message with a body of "subscribe <list>" where <list> is
the name of the list you want.

* Where you can get it:

You can download the latest scwm source package from:

ftp://scwm.mit.edu/pub/scwm/scwm-0.99.4.tar.gz

There is also
ftp://scwm.mit.edu/pub/scwm/scwm-icons-0.99.4.tar.gz

which has a number of images for use with scwm as icons, textures,
buttons, etc. Some of these images are not available otherwise.

You will also need to download and install the guile library. You can
get the latest release from:

ftp://prep.ai.mit.edu/pub/gnu/guile

or any archive that has GNU source packages available.

You can get the latest guile snapshot from:

http://www.gnu.org/software/guile/guile.html

The snapshots are officially alpha but they generally work pretty
well; however, 1.3.4 is recommended for now since it is the most 
recent. Guile 1.2 is no longer supported, but Guile-1.3 should still
work with only minimal loss of functionality (Guile-1.3.2 was buggy and
should be avoided).


* Packages

Various binary RPMs are available at:

ftp://scwm.mit.edu/pub/scwm/RPMS/

Various source RPMs are available at:

ftp://scwm.mit.edu/pub/scwm/SRPMS/

and the scwm-icons distribution is available at:

ftp://scwm.mit.edu/pub/scwm/RPMS/noarch

See the NEWS file in the distribution for a complete list
of all that has changed since the previous version of Scwm.


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct  7 16:47:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA16447
	for scwm-discuss-outgoing; Thu, 7 Oct 1999 16:47:12 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from bastion.artisan.com (bastion.artisan.com [209.144.161.130])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA16444
	for <scwm-discuss@scwm.mit.edu>; Thu, 7 Oct 1999 16:47:06 -0400
Received: from ypmaster.artisan.com (ypmaster [172.16.2.1])
	by bastion.artisan.com (8.9.2/8.9.2) with ESMTP id NAA10792;
	Thu, 7 Oct 1999 13:14:44 -0700 (PDT)
Received: from betty.artisan.com (betty [172.16.10.81])
	by ypmaster.artisan.com (8.9.2/8.9.2) with ESMTP id NAA19976;
	Thu, 7 Oct 1999 13:46:38 -0700 (PDT)
Received: (from alt@localhost)
	by betty.artisan.com (8.9.2/8.9.2) id NAA06330;
	Thu, 7 Oct 1999 13:46:38 -0700 (PDT)
From: "Albert L. Ting" <alt@artisan.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14333.1710.231959.466833@betty.artisan.com>
Date: Thu, 7 Oct 1999 13:46:38 -0700 (PDT)
To: gjb@cs.washington.edu
Cc: scwm-discuss@scwm.mit.edu, guile@sourceware.cygnus.com
Subject: Re: Scwm 0.99.4 is released!
References: <qrrpuyr9gn3.fsf@tolt.cs.washington.edu>
X-Mailer: VM 6.75 under 20.4 "Emerald" XEmacs  Lucid
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Thanks, this is working much better on Solaris, no more segmentation
violation on startup.

But something has changed (ok, a lot has changed) since 0.90.  How do I
remove the title bar for transient windows?  It used to use the same
property as the main window, #:no-titlebar.

Thanks,
Albert


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct  7 16:52:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA16493
	for scwm-discuss-outgoing; Thu, 7 Oct 1999 16:52:13 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tolt.cs.washington.edu (tolt.cs.washington.edu [128.95.1.155])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA16490
	for <scwm-discuss@scwm.mit.edu>; Thu, 7 Oct 1999 16:52:10 -0400
Received: (from gjb@localhost)
	by tolt.cs.washington.edu (8.9.3/8.9.3/0.3) id NAA28133;
	Thu, 7 Oct 1999 13:52:03 -0700 (PDT)
	(envelope-from gjb)
To: "Albert L. Ting" <alt@artisan.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Scwm 0.99.4 is released!
References: <qrrpuyr9gn3.fsf@tolt.cs.washington.edu> <14333.1710.231959.466833@betty.artisan.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Oct 1999 13:52:03 -0700
In-Reply-To: "Albert L. Ting"'s message of "Thu, 7 Oct 1999 13:46:38 -0700 (PDT)"
Message-ID: <qrrg0zmao7g.fsf@tolt.cs.washington.edu>
Lines: 34
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Albert L. Ting" <alt@artisan.com> writes:

> Thanks, this is working much better on Solaris, no more segmentation
> violation on startup.
> 
> But something has changed (ok, a lot has changed) since 0.90.  How do I
> remove the title bar for transient windows?  It used to use the same
> property as the main window, #:no-titlebar.

That shouldn't have changed.   What did change (but I thought it changed 
before 0.9) is that the default window-style matching procedure is
resource-match??, not title-match?? so you need to find out the resource 
name of a window -- use xprop, or the window menu you get when you click 
on the mini-icon of the titlebar, then choose "Style" and the submenu
will tell you the resource name and the class name.  (But xprop is
easier).

E.g.,

(window-style "scwmmessages" #:no-titlebar #t)

works for xterm's started like so:

xterm -name scwmmessages

but not for

xterm -title scwmmessages

(This is a good thing -- if you want the title match, you can get it with:

(window-style (title-match?? "scwmmessages") ... )

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct  7 17:02:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA16630
	for scwm-discuss-outgoing; Thu, 7 Oct 1999 17:02:21 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tolt.cs.washington.edu (tolt.cs.washington.edu [128.95.1.155])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA16627
	for <scwm-discuss@scwm.mit.edu>; Thu, 7 Oct 1999 17:02:16 -0400
Received: (from gjb@localhost)
	by tolt.cs.washington.edu (8.9.3/8.9.3/0.3) id OAA28183;
	Thu, 7 Oct 1999 14:02:10 -0700 (PDT)
	(envelope-from gjb)
To: scwm-discuss@scwm.mit.edu
Subject: Reminder -- LJ reader's choice awards!
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Oct 1999 14:02:10 -0700
Message-ID: <qrraepuanql.fsf@tolt.cs.washington.edu>
Lines: 10
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

If you haven't already, please take time to submit your vote for Scwm as
your favorite window manager at the Linux Journal's Reader's Choice
awards:

http://207.178.22.52/contest/readchoice.html

The deadline is 15-October-1999, so do not delay!

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct  7 17:33:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA16966
	for scwm-discuss-outgoing; Thu, 7 Oct 1999 17:33:26 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from bastion.artisan.com (bastion.artisan.com [209.144.161.130])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA16963
	for <scwm-discuss@scwm.mit.edu>; Thu, 7 Oct 1999 17:33:22 -0400
Received: from ypmaster.artisan.com (ypmaster [172.16.2.1])
	by bastion.artisan.com (8.9.2/8.9.2) with ESMTP id OAA11162;
	Thu, 7 Oct 1999 14:01:22 -0700 (PDT)
Received: from betty.artisan.com (betty [172.16.10.81])
	by ypmaster.artisan.com (8.9.2/8.9.2) with ESMTP id OAA16069;
	Thu, 7 Oct 1999 14:33:17 -0700 (PDT)
Received: (from alt@localhost)
	by betty.artisan.com (8.9.2/8.9.2) id OAA07179;
	Thu, 7 Oct 1999 14:33:17 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14333.4509.759077.648673@betty.artisan.com>
Date: Thu, 7 Oct 1999 14:33:17 -0700 (PDT)
To: gjb@cs.washington.edu, scwm-discuss@scwm.mit.edu
Subject: Re: Scwm 0.99.4 is released!
References: <qrrpuyr9gn3.fsf@tolt.cs.washington.edu>
	<14333.1710.231959.466833@betty.artisan.com>
	<qrrg0zmao7g.fsf@tolt.cs.washington.edu>
X-Mailer: VM 6.75 under 20.4 "Emerald" XEmacs  Lucid
From: "Albert L. Ting" <alt@artisan.com>
Reply-To: "Albert L. Ting" <alt@artisan.com>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros writes:
> From: Greg Badros <gjb@cs.washington.edu>
> To: "Albert L. Ting" <alt@artisan.com>
> Cc: scwm-discuss@scwm.mit.edu
> Subject: Re: Scwm 0.99.4 is released!
> Date: 07 Oct 1999 13:52:03 -0700
> 
> "Albert L. Ting" <alt@artisan.com> writes:
> 
> > Thanks, this is working much better on Solaris, no more segmentation
> > violation on startup.
> > 
> > But something has changed (ok, a lot has changed) since 0.90.  How do I
> > remove the title bar for transient windows?  It used to use the same
> > property as the main window, #:no-titlebar.
> 
> (This is a good thing -- if you want the title match, you can get it with:
> 
> (window-style (title-match?? "scwmmessages") ... )

Ah, using title-match?? fixed the problem.  This is with xbuffy and yea,
this must have happened after 0.9.

Thanks!
Albert




From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct  7 18:20:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA17122
	for scwm-discuss-outgoing; Thu, 7 Oct 1999 18:20:51 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tolt.cs.washington.edu (tolt.cs.washington.edu [128.95.1.155])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA17119
	for <scwm-discuss@scwm.mit.edu>; Thu, 7 Oct 1999 18:20:46 -0400
Received: (from gjb@localhost)
	by tolt.cs.washington.edu (8.9.3/8.9.3/0.3) id PAA28287;
	Thu, 7 Oct 1999 15:20:39 -0700 (PDT)
	(envelope-from gjb)
To: "Albert L. Ting" <alt@artisan.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Scwm 0.99.4 is released!
References: <qrrpuyr9gn3.fsf@tolt.cs.washington.edu> 	<14333.1710.231959.466833@betty.artisan.com> 	<qrrg0zmao7g.fsf@tolt.cs.washington.edu> <14333.4509.759077.648673@betty.artisan.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Oct 1999 15:20:39 -0700
In-Reply-To: "Albert L. Ting"'s message of "Thu, 7 Oct 1999 14:33:17 -0700 (PDT)"
Message-ID: <qrr670iak3s.fsf@tolt.cs.washington.edu>
Lines: 29
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Albert L. Ting" <alt@artisan.com> writes:

> Greg Badros writes:
> > From: Greg Badros <gjb@cs.washington.edu>
> > To: "Albert L. Ting" <alt@artisan.com>
> > Cc: scwm-discuss@scwm.mit.edu
> > Subject: Re: Scwm 0.99.4 is released!
> > Date: 07 Oct 1999 13:52:03 -0700
> > 
> > "Albert L. Ting" <alt@artisan.com> writes:
> > 
> > > Thanks, this is working much better on Solaris, no more segmentation
> > > violation on startup.
> > > 
> > > But something has changed (ok, a lot has changed) since 0.90.  How do I
> > > remove the title bar for transient windows?  It used to use the same
> > > property as the main window, #:no-titlebar.
> > 
> > (This is a good thing -- if you want the title match, you can get it with:
> > 
> > (window-style (title-match?? "scwmmessages") ... )
> 
> Ah, using title-match?? fixed the problem.  This is with xbuffy and yea,
> this must have happened after 0.9.

But don't use title-match??!  Use xprop to figure out what the resource
name is, and use that....

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct  8 02:17:17 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA17688
	for scwm-discuss-outgoing; Fri, 8 Oct 1999 02:17:17 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tolt.cs.washington.edu (tolt.cs.washington.edu [128.95.1.155])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA17685
	for <scwm-discuss@scwm.mit.edu>; Fri, 8 Oct 1999 02:17:12 -0400
Received: (from gjb@localhost)
	by tolt.cs.washington.edu (8.9.3/8.9.3/0.3) id XAA28702;
	Thu, 7 Oct 1999 23:17:06 -0700 (PDT)
	(envelope-from gjb)
To: scwm-discuss@scwm.mit.edu
Subject: Paper submission available
From: Greg Badros <gjb@cs.washington.edu>
Date: 07 Oct 1999 23:17:06 -0700
Message-ID: <qrrwvsy8jh9.fsf@tolt.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I just made available a paper about Scwm that I'm submitting with Jeff
Nichols and Alan Borning to the AAAI Spring Symposium on "Smart
Graphics".

See the top of the scwm web page for the link.  Note that it is an
academic paper targeting a particular audience and discussing mostly the
constraint-based features of Scwm.  There are some interesting details,
but it's not a systems paper by any stretch (though I anticipate making
a Usenix or Freenix about Scwm, too).

Your feedback is appreciated, of course, and will be used to help revise 
the paper before producing a camera-ready final version if it is
accepted for the symposium.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct  8 04:57:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id EAA20058
	for scwm-discuss-outgoing; Fri, 8 Oct 1999 04:57:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id EAA20055
	for <scwm-discuss@scwm.mit.edu>; Fri, 8 Oct 1999 04:57:10 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id KAA13133
	for <scwm-discuss@scwm.mit.edu>; Fri, 8 Oct 1999 10:57:01 +0200 (MET DST)
Date: Fri, 8 Oct 1999 10:57:00 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: SCWM Discussion Mailing List <scwm-discuss@scwm.mit.edu>
Subject: scwm-0.99.4 success report + new strange behaviour with old bugs
Message-ID: <19991008105700.A22952@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Hi,

I downloaded scwm-0.99.4, compiled and installed it successfully.

I used it a bit, and it appears to work well.

I remarked that animation was set by default. It looks nice, but it is
a bit slow.

I had a bug with scwmrepl in an emacs buffer : I tried M-TAB to expand
a function name, and scwm crashed and emacs hanged. I restarted scwm
and the old FvwmButton bugged was still there, except that this time
scwm didn't hanged, but reported the errors messages (1) and works
perfectly well.

(1)
ERROR: In procedure fport_flush:
ERROR: Resource temporarily unavailable


I looked into the process table and I saw :
/udd/canon/bin/scwmexec (use-scwm-modules (ice-9 session) doc flux)

I think it is that that made scwm crash. I will try this later.


Except that, I am very happy with this new version.


-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct  8 05:06:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA20125
	for scwm-discuss-outgoing; Fri, 8 Oct 1999 05:06:21 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA20121
	for <scwm-discuss@scwm.mit.edu>; Fri, 8 Oct 1999 05:06:04 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id LAA13317
	for <scwm-discuss@scwm.mit.edu>; Fri, 8 Oct 1999 11:05:55 +0200 (MET DST)
Date: Fri, 8 Oct 1999 11:05:55 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: SCWM Discussion Mailing List <scwm-discuss@scwm.mit.edu>
Subject: scwm-0.99.4, continued...
Message-ID: <19991008110554.A23119@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,


With a fresh scwm-0.99.4 (no cassowary, no esd, no imlib, no gtk) :

% scwmexec '(use-scwm-modules (ice-9 session))'
((ice-9 session))
% scwmexec '(use-scwm-modules flux)'           
Error loading module: (app scwm flux)

;;; WARNING (no code for module gtk)

;;; WARNING (no code for module gdk)
/udd/canon/share/scwm/modules/app/scwm/bincomm.scm:164:3: In procedure uniform-array-write in expression (uniform-array-write str port):
/udd/canon/share/scwm/modules/app/scwm/bincomm.scm:164:3: Bad file number
% scwmexec '(use-scwm-modules doc)' 
((app scwm doc))
% scwmexec '(use-scwm-modules flux)'
((app scwm flux))


Why the module flux needs gtk or gdk ?




-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct  8 05:27:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA20287
	for scwm-discuss-outgoing; Fri, 8 Oct 1999 05:27:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA20284
	for <scwm-discuss@scwm.mit.edu>; Fri, 8 Oct 1999 05:27:13 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id LAA13787
	for <scwm-discuss@scwm.mit.edu>; Fri, 8 Oct 1999 11:26:59 +0200 (MET DST)
Date: Fri, 8 Oct 1999 11:26:58 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: SCWM Discussion Mailing List <scwm-discuss@scwm.mit.edu>
Subject: autoraise bug
Message-ID: <19991008112658.A23232@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

I don't know if it is a bug or a feature, but I think autoraise
doesn't behave correctly.

I will try to explain :

When I enter some window, it doesn't raise immediately nor after some
delay, but only when I leave the window or when the pointer gets over
some other window.


with :

(use-scwm-modules style auto-raise)

(window-style "*"
	      #:auto-raise #t #:auto-raise-delay 400
	      #:focus 'sloppy
	      )

and two overlapping windows 	      

-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct  8 05:32:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA20366
	for scwm-discuss-outgoing; Fri, 8 Oct 1999 05:32:12 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA20363
	for <scwm-discuss@scwm.mit.edu>; Fri, 8 Oct 1999 05:32:08 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id LAA13861
	for <scwm-discuss@scwm.mit.edu>; Fri, 8 Oct 1999 11:32:03 +0200 (MET DST)
Date: Fri, 8 Oct 1999 11:32:03 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: SCWM Discussion Mailing List <scwm-discuss@scwm.mit.edu>
Subject: scwm-0.99.4 : show-window-list-menu syntax change not documented
Message-ID: <19991008113203.B23232@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

(define (show-window-list-menu-with-geometry)
  (show-window-list-menu #t
			 #:show-geometry #t
			 #:show-last-focus-time #t
			 #:by-focus #t) )

doesn't work any more. After exploring a bit, I discovered that
show-window-list-menu expect another argument
"permit-alt-release-selection?". What is it exactly ?



-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct  8 11:52:39 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA20845
	for scwm-discuss-outgoing; Fri, 8 Oct 1999 11:52:39 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mail01.infonautics.com (205229025010.infonautics.com [205.229.25.10])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA20842
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 8 Oct 1999 11:52:35 -0400
Received: from skittles (skittles.infonautics.com [205.229.26.84])
	by mail01.infonautics.com (8.9.3/8.9.1/mailhost.m4/1.31) with ESMTP id LAA30223
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 8 Oct 1999 11:56:50 -0400
Message-Id: <199910081556.LAA30223@mail01.infonautics.com>
X-Mailer: exmh version 2.0.2
To: scwm-discuss@SCWM.MIT.EDU
Subject: Wharf in scwm
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 08 Oct 1999 11:52:01 -0400
From: Arturo Perez <arturo@infonautics.com>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I want to run the Afterstep (or fvwm) Wharf module.  Can someone point me
in the right direction for getting that to work?

-- 
----
http://www.elibrary.com - The way you do research.
http://www.jobsleuth.com - The way you find a job.
http://www.companysleuth.com/index.cfm?id=1950 - The way you invest.



From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct  8 11:55:28 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA20869
	for scwm-discuss-outgoing; Fri, 8 Oct 1999 11:55:28 -0400
Received: from marvin.ida.ing.tu-bs.de (dirk@marvin.ida.ing.tu-bs.de [134.169.132.60])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA20863
	for <scwm-discuss@scwm.mit.edu>; Fri, 8 Oct 1999 11:55:18 -0400
Received: from localhost (dirk@localhost)
	by marvin.ida.ing.tu-bs.de (8.9.3/8.9.3) with ESMTP id RAA30397
	for <scwm-discuss@scwm.mit.edu>; Fri, 8 Oct 1999 17:54:53 +0200
X-Authentication-Warning: marvin.ida.ing.tu-bs.de: dirk owned process doing -bs
Date: Fri, 8 Oct 1999 17:54:52 +0200 (MEST)
From: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
To: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Problems with 0.99.4
Message-ID: <Pine.LNX.4.10.9910081728580.30270-100000@marvin.ida.ing.tu-bs.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

again I have to report a bunch of problems with scwm.  Some of these may
not be bugs, but represent intended behaviour.  However, they seem strange
to me.

* On startup, the gnome panel has no borders, which is OK.  But when I
  change the global theme, suddenly it gets some. (I start with mwm as
  global theme and then change the theme to gjb.)
* Changing the global theme as described above does not influence the
  window icons of existing windows.  Only when I start a new window, this
  new window will get the icons of the newly selected theme.  However, the
  window frames are always updated for all windows.
* Rubberband moves still don't work correctly:  The small coordinate
  window that indicates the position during the move still leaves small
  rubbish lines on the screen.  Further, any window contents that are
  hidden by the coordinate window are wiped out.
* By coincidence, I had removed the code that hides the scwm logo at the
  end of the system.scwmrc.  Thus, after the system.scwmrc was processed,
  the scwm-logo still remained on the screen and got a window title like
  any other window (but no frame).  When I selected 'close' from that
  window menu this lead to a complete shutdown of scwm and X.

Further, I suggest to change the host menus to be always freshly computed
from the host lists as shown in the following example:

(define linux-hosts
  '(zaphod marvin))

(define (menu-hosts-linux)
  (menu (cons
         (menu-title "Linux Hosts")
         (make-hosts-menu-gjb linux-hosts))))

...
    (menuitem "Linux Hosts" #:image-left "mini-windows.xpm"
              #:submenu menu-hosts-linux)
...

This makes it easier to update the hosts list while the system is running.
For me it is the easiest way to introduce others to the power of scwm's
run-time configurability, because it's such an obvious example:

(define linux-hosts '(zaphod marvin trillian))

and the menu immediately allows you to get an xterm for that new host.


Best regards,
Dirk Herrmann


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct  8 12:31:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA21121
	for scwm-discuss-outgoing; Fri, 8 Oct 1999 12:31:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA21118
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 8 Oct 1999 12:31:38 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11ZcvY-0004GUC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Fri, 8 Oct 1999 12:31:28 -0400 (EDT) 
Message-Id: <m11ZcvY-0004GUC@localhost>
Date: Fri, 8 Oct 1999 12:31:28 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: scwm-discuss@SCWM.MIT.EDU
CC: bob@rattlesnake.com
In-reply-to: <qrrwvsy8jh9.fsf@tolt.cs.washington.edu> (message from Greg
	Badros on 07 Oct 1999 23:17:06 -0700)
Subject: fail to build cassowary-0.52
Reply-to: bob@rattlesnake.com
References:  <qrrwvsy8jh9.fsf@tolt.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

    Cassowary v0.52 
    Debian 2.1 (slink) with some newer packages
    egcs-2.91.60 (as egcc)
    Scwm v0.99.4 builds and runs

I cannot build cassowary-0.52 from sources.

Summary: after make a kludge to fix what seem to be the result of
problems with the Makefile, I am stumped by an error that says:

    ClTests.o: In function `ExCLTooDifficultSpecial type_info function':
    /usr/local/src/cassowary-0.52/c++/cassowary/ClErrors.h(.ne_map<node, ClVariable, allocator<ClVariable> >::gnu.linkonce.t.(graph const &, ClVariable)+0x11): undefined reference to `node::node(void)'
     /usr/local/src/cassowary-0.52/c++/cassowary/ClErrors.h(.ne_map<node, ClVariable, allocator<ClVariable> >::gnu.linkonce.t.(graph const &, ClVariable)+0x1b): undefined reference to `graph::number_of_ids(node) const'
        collect2: ld returned 1 exit status

Could one of you please help me?  I don't know C++ and know hardly any C.

Here is what I did:

    egcc --version  ==> egcs-2.91.60

    cd /usr/local/src/
    tar xvzf cassowary-0.52.tar.gz 
    cd /usr/local/src/cassowary-0.52/

    GCC=egcc GTK_CONFIG=/usr/local/bin/gtk-config ./configure --enable-warnings
    make -k

However, this failed with the message:

    Making all in c++
    make[1]: Entering directory `/usr/local/src/cassowary-0.52/c++'
    make[1]: *** No rule to make target `cassowary/config-inline.h', needed by `ClAbstractVariable.o'.


The c++/Makefile says:

    ...
    ClC.lo ClC.o : ClC.cc ClC.h cassowary/config-inline.h Cl.h \
            cassowary/ClVariable.h cassowary/Cassowary.h \
            ...

So as a kludge I created the directory   

    c++/cassowary

and copied all of c++ into it.

I then attempted to build again.  However, this failed with the
messages:

    make[1]: Entering directory `/usr/local/src/cassowary-0.52/c++'
    make[1]: *** No rule to make target `cassowary/config.h', needed by `ClAbstractVariable.o'.
    ... 
    make[1]: *** No rule to make target `libcassowary.a', needed by
    `ClTests'.

So I copied c++/config.h into c++/cassowary/config.h
and then attempted to build again using:

    GCC=egcc GTK_CONFIG=/usr/local/bin/gtk-config make -k

This failed with the error:

    c++ -g -O2 -o ClTests ClTests.o libcassowary.a -L/usr/local/lib
    ClTests.o: In function `ExCLTooDifficultSpecial type_info function':
    /usr/local/src/cassowary-0.52/c++/cassowary/ClErrors.h(.ne_map<node, ClVariable, allocator<ClVariable> >::gnu.linkonce.t.(graph const &, ClVariable)+0x11): undefined reference to `node::node(void)'
    /usr/local/src/cassowary-0.52/c++/cassowary/ClErrors.h(.ne_map<node, ClVariable, allocator<ClVariable> >::gnu.linkonce.t.(graph const &, ClVariable)+0x1b): undefined reference to `graph::number_of_ids(node) const'
    collect2: ld returned 1 exit status

At this point, I am stumped.  What should I do?

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct  8 19:44:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA22404
	for scwm-discuss-outgoing; Fri, 8 Oct 1999 19:44:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from cr610941-a.rct1.bc.wave.home.com (mail@cr610941-a.rct1.bc.wave.home.com [24.113.76.219])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA22400
	for <scwm-discuss@scwm.mit.edu>; Fri, 8 Oct 1999 19:44:47 -0400
Received: from root by cr610941-a.rct1.bc.wave.home.com with local (Exim 3.03 #1 (Debian))
	id 11Zjgj-0004fN-00; Fri, 08 Oct 1999 16:44:37 -0700
X-Uptime:   4:44pm  up 8 days,  4:54,  2 users,  load average: 0.02, 0.08, 0.08
X-OS: Linux cr610941-a 2.2.11 #2 Mon Sep 6 15:40:58 PDT 1999 i586 unknown
X-Homepage: http://www.sfu.ca/~stephent
To: scwm-discuss@scwm.mit.edu
Subject: x11 docs
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Stephen Tse <stephent@sfu.ca>
Date: 08 Oct 1999 16:44:36 -0700
Message-ID: <874sg1pgd7.fsf@cr610941-a.rct1.bc.wave.home.com>
Lines: 14
X-Mailer: Gnus v5.6.45/XEmacs 21.2 - "Shinjuku"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk



Is there a more online readable version of x11 documentation? I have
the whole xbooks installed in debian, but they are all postscript
format. I failed to compile from troff source (xc.tgz from ftp.x.org)
to make Texinfo format, which I can be happily reading in emacs.

Is there a precompiled texinfo version of xbooks?

By the way, everyone agrees that O Reilly series of X Windows is
worthwhile? I am afriad I am going to buy the whole volumn, which is
expensive! Any online free doc that have all equivalent context?

Thank you.

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct  9 09:48:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA25544
	for scwm-discuss-outgoing; Sat, 9 Oct 1999 09:48:40 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA25541
	for <scwm-discuss@scwm.mit.edu>; Sat, 9 Oct 1999 09:48:33 -0400
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id XAA28213
	for <scwm-discuss@scwm.mit.edu>; Sat, 9 Oct 1999 23:48:21 +1000
Message-ID: <37FF8901.F8F1E177@tech.com.au>
Date: Sun, 10 Oct 1999 04:27:13 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "scwm-discuss@scwm.mit.edu" <scwm-discuss@scwm.mit.edu>
Subject: how to change the number of desktops
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I've read everything I can but I can't seem to change the number of
desktops under gnome. No matter what there are always 4. How to change?


-- 
Chris Bitmead
mailto:chris@tech.com.au

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct  9 15:36:38 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA25864
	for scwm-discuss-outgoing; Sat, 9 Oct 1999 15:36:38 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA25861
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 9 Oct 1999 15:36:29 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id MAA05919;
	Sat, 9 Oct 1999 12:36:18 -0700 (PDT)
	(envelope-from gjb)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: scwm-0.99.4, continued...
References: <19991008110554.A23119@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 09 Oct 1999 12:36:17 -0700
In-Reply-To: Hubert Canon's message of "Fri, 8 Oct 1999 11:05:55 +0200"
Message-ID: <qrrso3k5nta.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hi,
> 
> 
> With a fresh scwm-0.99.4 (no cassowary, no esd, no imlib, no gtk) :
> 
> % scwmexec '(use-scwm-modules (ice-9 session))'
> ((ice-9 session))
> % scwmexec '(use-scwm-modules flux)'           
> Error loading module: (app scwm flux)
> 
> ;;; WARNING (no code for module gtk)
> 
> ;;; WARNING (no code for module gdk)
> /udd/canon/share/scwm/modules/app/scwm/bincomm.scm:164:3: In procedure uniform-array-write in expression (uniform-array-write str port):
> /udd/canon/share/scwm/modules/app/scwm/bincomm.scm:164:3: Bad file number
> % scwmexec '(use-scwm-modules doc)' 
> ((app scwm doc))
> % scwmexec '(use-scwm-modules flux)'
> ((app scwm flux))
> 
> 
> Why the module flux needs gtk or gdk ?

Because it just holds random stuff... those procs should probably be
moved into flux-gtk, but I'm really leaning towards making gtk more
integral with Scwm, rather than less.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct  9 15:39:04 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA25892
	for scwm-discuss-outgoing; Sat, 9 Oct 1999 15:39:04 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA25887
	for <scwm-discuss@scwm.mit.edu>; Sat, 9 Oct 1999 15:39:01 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id MAA05922;
	Sat, 9 Oct 1999 12:38:55 -0700 (PDT)
	(envelope-from gjb)
To: scwm-discuss@scwm.mit.edu
Subject: I'm away...
From: Greg Badros <gjb@cs.washington.edu>
Date: 09 Oct 1999 12:38:55 -0700
Message-ID: <qrrr9j45now.fsf@elwha.cs.washington.edu>
Lines: 8
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

from my desk, but I'll get to any messages that other gurus haven't yet
handled when I return next weekend.  Sorry for being a bit out of
touch... please cc me directly if there are issues that I really need to 
respond to ASAP.

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct 10 07:09:34 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA29976
	for scwm-discuss-outgoing; Sun, 10 Oct 1999 07:09:34 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tnuctip-r.rgstudio.com.pl (root@tnuctip-r.rgstudio.com.pl [212.244.108.10])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA29973
	for <scwm-discuss@scwm.mit.edu>; Sun, 10 Oct 1999 07:09:26 -0400
Received: by tnuctip.icm.edu.pl id <102959-442>; Sun, 10 Oct 1999 13:09:02 +0200
From: Jan Rychter <jwr@rgstudio.com.pl>
Original-Sender: jwr@rgstudio.com.pl
To: scwm-discuss@scwm.mit.edu
Subject: Scwm 0.99.4: click to focus problem
X-Operating-System: Linux 2.2.7 #1 Sun May 2 21:59:31 CEST 1999
X-PGP-Key-Id: C38B2AAD 
X-PGP-Key-Fingerprint: 0A 8E B4 16 85 D2 69 DA  65 93 FF D0 FB EE DD F7
X-GPG-Key-Id: 06FD30E2
X-GPG-Key-Fingerprint: C89C 3EA3 239C 805F ED70  F257 625B 18B9 06FD 30E2
Date: 	10 Oct 1999 13:09:01 +0200
Message-ID: <m3n1tr8oc2.fsf@tnuctip.icm.edu.pl>
Lines: 9
User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) XEmacs/21.2(beta13) (Demeter)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I've just upgraded to scwm 0.99.4 (from 0.9) and #:focus 'click seems to
have stopped working for me. Is this a known bug? I haven't figured out
a way to make it work. Other focus styles work just fine.

The other problem I encountered was the #:no-titlebar think, but that
has already been explained.

thanks,
--Jan

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct 11 00:41:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA30685
	for scwm-discuss-outgoing; Mon, 11 Oct 1999 00:41:02 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from motgate.mot.com (motgate.mot.com [129.188.136.100])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA30682
	for <scwm-discuss@scwm.mit.edu>; Mon, 11 Oct 1999 00:40:57 -0400
Received: [from mothost.mot.com (mothost.mot.com [129.188.137.101]) by motgate.mot.com (MOT-motgate 1.0) with ESMTP id XAA19211 for <scwm-discuss@scwm.mit.edu>; Sun, 10 Oct 1999 23:40:52 -0500 (CDT)]
Received: [from msghkg1.sps.mot.com (msghkg1.sps.mot.com [216.17.115.1]) by mothost.mot.com (MOT-mothost 2.0) with ESMTP id XAA25747 for <scwm-discuss@scwm.mit.edu>; Sun, 10 Oct 1999 23:40:51 -0500 (CDT)]
Received: from india56.email.sps.mot.com ([223.1.236.56])          by msghkg1.sps.mot.com (Netscape Messaging Server 3.61)           with ESMTP id AAA6F7B; Mon, 11 Oct 1999 12:40:47 +0800
X-Mailer: emacs 20.4.1 (via feedmail 9-beta-5 I);	VM 6.75 under Emacs 20.4.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14337.27341.73716.242487@gargle.gargle.HOWL>
Date: Mon, 11 Oct 1999 10:12:53 +0530 (INDIA)
From: puneet <puneet@computer.org>
To: scwm-discuss@scwm.mit.edu
Subject: load-path
Reply-To: puneet <puneet@computer.org>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi All

   I am new to scwm. I want to know what scwm variable is equivalent
   to the emacs lisp variable `load-path'. I want to load .scm files
   from a path other than the standard path.

-  Thanks and Best Regards
-- 
Puneet Goel
email: puneet at computer period org
home:		(91)124-335056
work:           (91)124-340660 x 272
--
Let him only see the thorns who has eyes to see the rose.
- Rabindranath Tagore (Stray Birds)
--


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct 11 01:28:49 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA30821
	for scwm-discuss-outgoing; Mon, 11 Oct 1999 01:28:49 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sebastian.neuroflex.com (root@[202.62.130.81])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA30818
	for <scwm-discuss@scwm.mit.edu>; Mon, 11 Oct 1999 01:28:42 -0400
Received: from tech.com.au (chris.neuroflex.com [172.16.1.24])
	by sebastian.neuroflex.com (8.9.3/8.8.7) with ESMTP id PAA01956
	for <scwm-discuss@scwm.mit.edu>; Mon, 11 Oct 1999 15:35:48 +1000
Message-ID: <380176EC.DC002A31@tech.com.au>
Date: Mon, 11 Oct 1999 15:34:36 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: Theme packages...
References: <14337.27341.73716.242487@gargle.gargle.HOWL>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


One nice thing about enlightenement is that it is really nice to install
new theme packages. You just unzip them in a .enlightenment directory
(or something I forget the details).

The thing is, I have a .scwmrc which I was thinking of donating to scwm.
But it depends on some customised pixmaps. Wouldn't it be nice if there
was some standard way to choose a theme? Like maybe something like...
(load-theme "foo") which would look through some load path which would
include something like ~/.scwm or something. Then each directory in
~/.scwm would have a scwmrc file and whatever other files it owns like
pixmaps. So there might be a
~/.scwm/mytheme/{scwmrc,pixmap1.xpm,pixmap2.xpm} etc.

Then the next stage would be to have a menu to select among them.

Or does some idea like this exist and I've missed it?

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct 11 05:23:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA00791
	for scwm-discuss-outgoing; Mon, 11 Oct 1999 05:23:01 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from motgate.mot.com (motgate.mot.com [129.188.136.100])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA00788
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 11 Oct 1999 05:22:56 -0400
Received: [from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate.mot.com (MOT-motgate 1.0) with ESMTP id EAA08188 for <scwm-discuss@SCWM.MIT.EDU>; Mon, 11 Oct 1999 04:22:52 -0500 (CDT)]
Received: [from msghkg1.sps.mot.com (msghkg1.sps.mot.com [216.17.115.1]) by pobox.mot.com (MOT-pobox 2.0) with ESMTP id EAA10176 for <scwm-discuss@SCWM.MIT.EDU>; Mon, 11 Oct 1999 04:22:51 -0500 (CDT)]
Received: from india56.email.sps.mot.com ([223.1.236.56])          by msghkg1.sps.mot.com (Netscape Messaging Server 3.61)           with ESMTP id AAA46AE for <scwm-discuss@SCWM.MIT.EDU>;          Mon, 11 Oct 1999 17:22:46 +0800
X-Mailer: emacs 20.4.1 (via feedmail 9-beta-5 I);	VM 6.75 under Emacs 20.4.1
Message-ID: <14337.44265.276865.787341@gargle.gargle.HOWL>
Date: Mon, 11 Oct 1999 14:54:57 +0530 (INDIA)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: puneet <puneet@computer.org>
To: scwm-discuss@SCWM.MIT.EDU
Subject: use-scwm-modules info/help ....
Reply-To: puneet <puneet@computer.org>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi

  I am new to SCWM and am trying to configure my .scwmrc file.

  I want to know which paths does procedure use-scwm-modules search
  for loading the modules.

  Can we change this search path? How can we load a module lying at a
  non-standard path?

- Thanks and Best Regards

-- 
Puneet Goel
email: puneet at computer period org
home:		(91)124-335056
work:           (91)124-340660 x 272

--
"The learned say that your lights will one day be no more, " said
the firefly to the stars.
The stars made no answer.
- Rabindranath Tagore (Stray Birds)
--


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 12 05:40:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA05264
	for scwm-discuss-outgoing; Tue, 12 Oct 1999 05:40:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA05261
	for <scwm-discuss@scwm.mit.edu>; Tue, 12 Oct 1999 05:40:07 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id LAA04383
	for <scwm-discuss@scwm.mit.edu>; Tue, 12 Oct 1999 11:40:00 +0200 (MET DST)
Date: Tue, 12 Oct 1999 11:39:59 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: SCWM Discussion Mailing List <scwm-discuss@scwm.mit.edu>
Subject: scwm-0.99.4 : how to turn animation off ?
Message-ID: <19991012113959.A18892@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

With scwm-0.99.4, animation is activated by default when maximizing a
window. It's nice, but extremely slow. Is there a way to disable it ?

-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 12 06:33:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA05402
	for scwm-discuss-outgoing; Tue, 12 Oct 1999 06:33:36 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ardon.verisity.com (ardon.verisity.com [192.116.92.65])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA05399
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 12 Oct 1999 06:33:28 -0400
Received: from alps.verisity.com (alps [192.116.92.27])
	by ardon.verisity.com (8.8.6/8.8.6) with ESMTP id MAA04570;
	Tue, 12 Oct 1999 12:31:30 +0200 (IST)
Received: (from cmm@localhost)
	by alps.verisity.com (8.8.8+Sun/8.8.8) id MAA20507;
	Tue, 12 Oct 1999 12:31:28 +0200 (IST)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: scwm-0.99.4 : how to turn animation off ?
References: <19991012113959.A18892@youkaidi.irisa.fr>
Organization: who? me?
From: Michael Livshin <cmm@verisity.com>
In-Reply-To: Hubert Canon's message of "Tue, 12 Oct 1999 11:39:59 +0200"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 12 Oct 1999 12:31:28 +0200
Message-ID: <s3emf07tvj.fsf@verisity.com>
Lines: 34
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> With scwm-0.99.4, animation is activated by default when maximizing a
> window. It's nice, but extremely slow. Is there a way to disable it ?

extracted from the docs:

(set-animation! vector)
- Primitive from (app scwm c-animation)
Set the animation parameters to VECTOR. VECTOR is a vector of
floats which give the fractions of the final position that the window
should appear at. For instance, #(0.0 0.25 0.5 0.75 1.0 1.1 1.0) would
make the window appear at the initial position, 1/4 of the way, 1/2 of
the way, 3/4 of the way, overshoot the final position slightly, and
finally slide back into place. This parameter is used for both
animated window shades and animated moves.

so, if you do

(set-animation! #(0.0 1.0))

you'll effectively disable animation.

FWIW, I copied the vector from the doc above, and now the maximization
is fast enough for me.  the default setting is terribly slow here
though, looks like I want Greg's computer ;).

> -- 
> Hubert Canon

--mike

-- 
newsgroup volume is a measure of discontent.                 -- Erik Naggum

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 12 09:11:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA05615
	for scwm-discuss-outgoing; Tue, 12 Oct 1999 09:11:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA05612
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 12 Oct 1999 09:11:43 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id PAA06500;
	Tue, 12 Oct 1999 15:11:37 +0200 (MET DST)
Date: Tue, 12 Oct 1999 15:11:37 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: Michael Livshin <cmm@verisity.com>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: scwm-0.99.4 : how to turn animation off ?
Message-ID: <19991012151136.A20980@youkaidi.irisa.fr>
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.7us
In-Reply-To: <s3emf07tvj.fsf@verisity.com>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Michael Livshin écrivait :
> (set-animation! #(0.0 1.0))
> 
> you'll effectively disable animation.

Thank you very much.

I tried your idea, and I added the "cartoon effect" :

(use-scwm-modules animation)
(set-animation! #(0.0 -0.1 0.25 0.5 0.75 1.0 1.1 1.0))

(in scwm/modules/app/scwm/animation.scm it is said : ";; other modules
should use this module, not c-animation".

I think that one could change the default delay between frames (which
is hard coded as 20 ms).



And now I have another question : how do I set animated iconify and
deiconify ? I tried this :

(use-scwm-modules animated-iconify)
(define iconify animated-iconify)
(define deiconify animated-deiconify)
(define toggle-iconify animated-toggle-iconify)

But it gives a "stack overflow" (of course, because animated-iconify
calls iconify).

-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 12 10:27:35 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA05767
	for scwm-discuss-outgoing; Tue, 12 Oct 1999 10:27:35 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA05764;
	Tue, 12 Oct 1999 10:27:25 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id QAA07168;
	Tue, 12 Oct 1999 16:27:20 +0200 (MET DST)
Date: Tue, 12 Oct 1999 16:27:19 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@SCWM.MIT.EDU, scwm-users@SCWM.MIT.EDU
Subject: scwm-0.99.4 : how to turn animated-icons by default ?
Message-ID: <19991012162719.A25638@youkaidi.irisa.fr>
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7us
In-Reply-To: <19991012151136.A20980@youkaidi.irisa.fr>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon wrote :
> And now I have another question : how do I set animated iconify and
> deiconify ? I tried this :
> 
> (use-scwm-modules animated-iconify)
> (define iconify animated-iconify)
> (define deiconify animated-deiconify)
> (define toggle-iconify animated-toggle-iconify)
> 
> But it gives a "stack overflow" (of course, because animated-iconify
> calls iconify).


I tried this solution. I don't know if it is the best, but it works
for me. (I am an ML addicted and I am not used to dynamic linking).

(use-scwm-modules optargs animated-iconify)

(set! iconify-animation-offsets '(0.0 -0.1 0.25 0.5 0.75 1.0 1.1 1.0))

(define normal-iconify iconify)
(define* (new-iconify #&optional (win (get-window)))
  (set! iconify normal-iconify)
  (animated-iconify win)
  (set! iconify new-iconify))
(set! iconify new-iconify)
(define normal-deiconify deiconify)
(define* (new-deiconify #&optional (win (get-window)))
  (set! deiconify normal-deiconify)
  (animated-deiconify win)
  (set! iconify new-deiconify))
(set! deiconify new-deiconify)
(define normal-toggle-iconify toggle-iconify)
(define* (new-toggle-iconify #&optional (win (get-window)))
  (set! toggle-iconify normal-toggle-iconify)
  (animated-toggle-iconify win)
  (set! toggle-iconify new-toggle-iconify))
(set! toggle-iconify new-toggle-iconify)



Can someone tell me how to use the macro system. I would like to
simplify the above into something like that :

(define-animated-function iconify)
(define-animated-function deiconify)
(define-animated-function toggle-iconify)


-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 12 12:09:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA06030
	for scwm-discuss-outgoing; Tue, 12 Oct 1999 12:09:51 -0400
Received: from cryotank.nj.nec.com (cryotank.nj.nec.com [138.15.165.79])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA06027
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 12 Oct 1999 12:09:45 -0400
Received: (from beuscher@localhost)
	by cryotank.nj.nec.com (8.9.3/8.9.3) id MAA10879;
	Tue, 12 Oct 1999 12:09:27 -0400
X-Authentication-Warning: cryotank.nj.nec.com: beuscher set sender to beuscher@cryotank.nj.nec.com using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14339.23862.830990.598876@cryotank.nj.nec.com>
Date: Tue, 12 Oct 1999 12:09:26 -0400 (EDT)
From: Eric Beuscher <beuscher@research.nj.nec.com>
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: scwm-0.99.4 : how to turn animation off ?
In-Reply-To: <19991012113959.A18892@youkaidi.irisa.fr>
References: <19991012113959.A18892@youkaidi.irisa.fr>
X-Mailer: VM 6.75 under Emacs 20.3.1
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


  > With scwm-0.99.4, animation is activated by default when maximizing a
  > window. It's nice, but extremely slow. Is there a way to disable it ?

there is the variable:

(define-scwm-option *maximize-animatedly* #t
  "Whether to use animation when maximizing and unmaximizing."
  #:type 'boolean
  #:group 'winops)


-- 
eric

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 12 15:59:04 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA06624
	for scwm-discuss-outgoing; Tue, 12 Oct 1999 15:59:04 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA06621
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 12 Oct 1999 15:58:59 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id MAA11325;
	Tue, 12 Oct 1999 12:58:30 -0700 (PDT)
	(envelope-from gjb)
To: Chris Bitmead <chris@tech.com.au>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Theme packages...
References: <14337.27341.73716.242487@gargle.gargle.HOWL> <380176EC.DC002A31@tech.com.au>
From: Greg Badros <gjb@cs.washington.edu>
Date: 12 Oct 1999 12:58:30 -0700
In-Reply-To: Chris Bitmead's message of "Mon, 11 Oct 1999 15:34:36 +1000"
Message-ID: <qrrr9j04ahl.fsf@elwha.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

> One nice thing about enlightenement is that it is really nice to install
> new theme packages. You just unzip them in a .enlightenment directory
> (or something I forget the details).
> 
> The thing is, I have a .scwmrc which I was thinking of donating to scwm.
> But it depends on some customised pixmaps. Wouldn't it be nice if there
> was some standard way to choose a theme? Like maybe something like...
> (load-theme "foo") which would look through some load path which would
> include something like ~/.scwm or something. Then each directory in
> ~/.scwm would have a scwmrc file and whatever other files it owns like
> pixmaps. So there might be a
> ~/.scwm/mytheme/{scwmrc,pixmap1.xpm,pixmap2.xpm} etc.
> 
> Then the next stage would be to have a menu to select among them.
> 
> Or does some idea like this exist and I've missed it?

Actually, it's already implemented.  :-)  See the themes sub-directory.
I think it's pretty poorly documented, but there are a bunch of themes
in there that are packaged up as you suggest.  See the theme.scm file in 
each of the subdirectories of scwm/themes/

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 12 15:59:46 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA06630
	for scwm-discuss-outgoing; Tue, 12 Oct 1999 15:59:46 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA06627
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 12 Oct 1999 15:59:43 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id MAA11330;
	Tue, 12 Oct 1999 12:59:35 -0700 (PDT)
	(envelope-from gjb)
To: puneet <puneet@computer.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: use-scwm-modules info/help ....
References: <14337.44265.276865.787341@gargle.gargle.HOWL>
From: Greg Badros <gjb@cs.washington.edu>
Date: 12 Oct 1999 12:59:35 -0700
In-Reply-To: puneet's message of "Mon, 11 Oct 1999 14:54:57 +0530 (INDIA)"
Message-ID: <qrrpuyk4afs.fsf@elwha.cs.washington.edu>
Lines: 21
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

puneet <puneet@computer.org> writes:

> Hi
> 
>   I am new to SCWM and am trying to configure my .scwmrc file.
> 
>   I want to know which paths does procedure use-scwm-modules search
>   for loading the modules.
> 
>   Can we change this search path? How can we load a module lying at a
>   non-standard path?
> 
> - Thanks and Best Regards

See the environment variables SCWM_LOAD_PATH and GUILE_LOAD_PATH.  Use
`setenv' from within Guile/Scwm to change them, or set them in your
shell startup rc files.

Good luck!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 12 16:04:05 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA06719
	for scwm-discuss-outgoing; Tue, 12 Oct 1999 16:04:05 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA06716
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 12 Oct 1999 16:04:02 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id NAA11361;
	Tue, 12 Oct 1999 13:03:54 -0700 (PDT)
	(envelope-from gjb)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: Michael Livshin <cmm@verisity.com>,
        SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: scwm-0.99.4 : how to turn animation off ?
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 12 Oct 1999 13:03:53 -0700
In-Reply-To: Hubert Canon's message of "Tue, 12 Oct 1999 15:11:37 +0200"
Message-ID: <qrroge44a8m.fsf@elwha.cs.washington.edu>
Lines: 11
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I need to make a better way to manage global choices about animation
settings.  Redefining procedures won't always work like you expect
because of the Guile module system.

Also, does `animation-delay' help?

And iconification animation is controlled by iconify-animation-offsets
(I should just add an accessor to the set-animation! variable, or just
have it use the Scheme vector directly in the animation primitives.)

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 12 16:08:46 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA06773
	for scwm-discuss-outgoing; Tue, 12 Oct 1999 16:08:46 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA06770;
	Tue, 12 Oct 1999 16:08:40 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id NAA11365;
	Tue, 12 Oct 1999 13:08:32 -0700 (PDT)
	(envelope-from gjb)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@SCWM.MIT.EDU, scwm-users@SCWM.MIT.EDU
Subject: Re: scwm-0.99.4 : how to turn animated-icons by default ?
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 12 Oct 1999 13:08:31 -0700
In-Reply-To: Hubert Canon's message of "Tue, 12 Oct 1999 16:27:19 +0200"
Message-ID: <qrrn1to4a0w.fsf@elwha.cs.washington.edu>
Lines: 38
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hubert Canon wrote :
> > And now I have another question : how do I set animated iconify and
> > deiconify ? I tried this :
> > 
> > (use-scwm-modules animated-iconify)
> > (define iconify animated-iconify)
> > (define deiconify animated-deiconify)
> > (define toggle-iconify animated-toggle-iconify)
> > 
> > But it gives a "stack overflow" (of course, because animated-iconify
> > calls iconify).
> 
> 
> I tried this solution. I don't know if it is the best, but it works
> for me. (I am an ML addicted and I am not used to dynamic linking).
> 
> (use-scwm-modules optargs animated-iconify)
> 
> (set! iconify-animation-offsets '(0.0 -0.1 0.25 0.5 0.75 1.0 1.1 1.0))
> 
> (define normal-iconify iconify)
> (define* (new-iconify #&optional (win (get-window)))
>   (set! iconify normal-iconify)
>   (animated-iconify win)
>   (set! iconify new-iconify))

See the docs for the Guile procedure `dynamic-wind' as you need to use
it here to be safe.  Search for defmacro in the Guile and Scwm scheme
sources for examples of using Guile's macro system.

For this, though, it's better if we just add a level of indirection by
creating a variable that is meant to either be iconify or
animated-iconify.  (Maybe we should rename iconify to normal-iconify as
you do, then use iconify).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 12 17:20:37 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA07227
	for scwm-discuss-outgoing; Tue, 12 Oct 1999 17:20:37 -0400
Received: from icomm.ca (icomm.ca [216.126.72.23])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA07224
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 12 Oct 1999 17:20:34 -0400
Received: from localhost (skeezix@localhost)
	by icomm.ca (8.9.3/8.9.3) with ESMTP id RAA28447
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 12 Oct 1999 17:20:23 -0400
X-Authentication-Warning: icomm.ca: skeezix owned process doing -bs
Date: Tue, 12 Oct 1999 17:20:22 -0400 (EDT)
From: Jeff Mitchell <skeezix@skeleton.org>
X-Sender: skeezix@icomm.ca
Reply-To: skeezix@skeleton.org
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Theme packages...
In-Reply-To: <qrrr9j04ahl.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.LNX.4.10.9910121716000.30084-100000@icomm.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


	Pardon my ignorance ...

	Is there a reasonably complete* WindowMaker style theme around for
scwm? I have an odd environment which is making it difficult to run
multiple WM's at the same time (I have multiple machines available, and
don't want to bother with XNest, etc), and working on SCWM code inside of
SCWM-vanilla turns me off :P I'd like to just drop in someones .scwmrc or
the like to inherit a nice functional theme that I can just use, and as
time permits apply changes to.

	* I'd like numerous virtual desktops, changable with alt-1 through
alt-n. I'd like something like the WM look-and-feel (though I couldn't
care less about the clip nonsense, I like the look of the windows and
placement of icons, etc). Default click-to-focus, etc.

	I know I could figure out something with some fiddle, but if
someone could just outline me a few easy steps to achieve something like
the above, I'd be extremely happy. So little free time I hesitate to
crasck open the various documents (er, source :P)

		jeff

--
"It's murder out there. You can't even travel around in your own micro
circuits without permission from 'Master Control Program'. I mean,
sending *ME* down here to play games.... Who does he calculate he is?"
-- Peter Jurasik as Crom, _Tron_


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 12 19:14:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA07589
	for scwm-discuss-outgoing; Tue, 12 Oct 1999 19:14:26 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sebastian.neuroflex.com (root@[202.62.130.81])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA07576;
	Tue, 12 Oct 1999 19:14:14 -0400
Received: from tech.com.au (chris.neuroflex.com [172.16.1.24])
	by sebastian.neuroflex.com (8.9.3/8.8.7) with ESMTP id JAA09215;
	Wed, 13 Oct 1999 09:22:43 +1000
Message-ID: <3803C224.5AB12A98@tech.com.au>
Date: Wed, 13 Oct 1999 09:20:04 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu, scwm-users@scwm.mit.edu
Subject: Number of desktops
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

How do you set the number of desktops when using scwm with gnome and the
gnome pager? No matter what I do there are always 4, and I can't find
anything in either gnome or scwm to change it.

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct 13 12:31:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA11173
	for scwm-discuss-outgoing; Wed, 13 Oct 1999 12:31:29 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tele-post-20.mail.demon.net (tele-post-20.mail.demon.net [194.217.242.20])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA11170
	for <scwm-discuss@scwm.mit.edu>; Wed, 13 Oct 1999 12:31:16 -0400
Received: from hagbard.demon.co.uk ([158.152.34.118])
	by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2)
	id 11bRIf-000NTS-0K
	for scwm-discuss@scwm.mit.edu; Wed, 13 Oct 1999 16:30:49 +0000
Received: (from davep@localhost)
	by hagbard.demon.co.uk (8.9.3/8.9.3) id QAA20256
	for scwm-discuss@scwm.mit.edu; Wed, 13 Oct 1999 16:00:11 +0100
Date: Wed, 13 Oct 1999 16:00:11 +0100
From: Dave Pearson <davep@hagbard.demon.co.uk>
To: scwm-discuss@scwm.mit.edu
Subject: Re: Number of desktops
Message-ID: <19991013160011.A20236@hagbard.demon.co.uk>
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3i
In-Reply-To: <3803C224.5AB12A98@tech.com.au>
Organization: Hagbard's World
X-URL: http://www.hagbard.demon.co.uk/
X-OS: Linux 2.2.5-15 i586
X-DDate: Sweetmorn, Day 67 of the season of Bureaucracy, Anno Mung 3165
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Wed, Oct 13, 1999 at 09:20:04AM +1000, Chris Bitmead wrote:

> How do you set the number of desktops when using scwm with gnome and the
> gnome pager? No matter what I do there are always 4, and I can't find
> anything in either gnome or scwm to change it.

Sorry, don't have the answer, I just wanted to say that I've asked a couple
of times myself now and never come up with a solution. If you do ever find
out how to do this I'd love to know, this one has be totally stumped.

-- 
Take a look in Hagbard's World: | boxquote.el - "Boxed" text quoting.
http://www.acemake.com/hagbard/ | binclock.el - emacs binary clock.
http://www.hagbard.demon.co.uk/ |  uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct 13 13:21:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA11370
	for scwm-discuss-outgoing; Wed, 13 Oct 1999 13:21:13 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ardon.verisity.com (ardon.verisity.com [192.116.92.65])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA11367
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 13 Oct 1999 13:21:08 -0400
Received: from alps.verisity.com (alps [192.116.92.27])
	by ardon.verisity.com (8.8.6/8.8.6) with ESMTP id TAA20485;
	Wed, 13 Oct 1999 19:19:07 +0200 (IST)
Received: (from cmm@localhost)
	by alps.verisity.com (8.8.8+Sun/8.8.8) id TAA22948;
	Wed, 13 Oct 1999 19:19:07 +0200 (IST)
To: Dave Pearson <davep@hagbard.demon.co.uk>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Number of desktops
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk>
Organization: who? me?
From: Michael Livshin <mlivshin@bigfoot.com>
In-Reply-To: Dave Pearson's message of "Wed, 13 Oct 1999 16:00:11 +0100"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 13 Oct 1999 19:19:06 +0200
Message-ID: <s3g0zf41rp.fsf@bigfoot.com>
Lines: 28
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dave Pearson <davep@hagbard.demon.co.uk> writes:

> On Wed, Oct 13, 1999 at 09:20:04AM +1000, Chris Bitmead wrote:
> 
> > How do you set the number of desktops when using scwm with gnome and the
> > gnome pager? No matter what I do there are always 4, and I can't find
> > anything in either gnome or scwm to change it.
> 
> Sorry, don't have the answer, I just wanted to say that I've asked a couple
> of times myself now and never come up with a solution. If you do ever find
> out how to do this I'd love to know, this one has be totally stumped.
>

the following works for me (from memory and grep, as I don't run scwm
here at work):

(set! *gnome-desktop-number* 2)  ; just two workspaces
(set-desk-size! 1 1)             ; no virtual desktops

it's probably a good idea to do this before (enable-gnome-hints),
dunno.

hth,
--mike

-- 
For those who like this sort of thing, this is the sort of thing they like.
                                                                 -- fortune

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct 13 22:19:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA12422
	for scwm-discuss-outgoing; Wed, 13 Oct 1999 22:19:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from calvin.itrade.net (root@calvin.itrade.net [4.21.44.2])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA12419
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 13 Oct 1999 22:19:09 -0400
Received: from diko.itrade.net.itrade.net (IDENT:bkirby@diko.itrade.net [4.21.44.25])
	by calvin.itrade.net (8.9.3/8.9.3) with SMTP id TAA03356
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 13 Oct 1999 19:19:03 -0700
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Number of desktops
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Brendan Kirby <bkirby@itrade.net>
Date: 13 Oct 1999 19:18:01 -0700
In-Reply-To: Michael Livshin's message of "13 Oct 1999 19:19:06 +0200"
Message-ID: <ll9056wuqu.fsf@diko.itrade.net>
Lines: 80
X-Mailer: Gnus v5.6.45/XEmacs 21.2(beta13) - "Demeter"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Michael Livshin <mlivshin@bigfoot.com> writes:

> Dave Pearson <davep@hagbard.demon.co.uk> writes:
> 
> > On Wed, Oct 13, 1999 at 09:20:04AM +1000, Chris Bitmead wrote:
> > 
> > > How do you set the number of desktops when using scwm with gnome and the
> > > gnome pager? No matter what I do there are always 4, and I can't find
> > > anything in either gnome or scwm to change it.
> > 
> > Sorry, don't have the answer, I just wanted to say that I've asked a couple
> > of times myself now and never come up with a solution. If you do ever find
> > out how to do this I'd love to know, this one has be totally stumped.
> >
> 
> the following works for me (from memory and grep, as I don't run scwm
> here at work):
> 
> (set! *gnome-desktop-number* 2)  ; just two workspaces
> (set-desk-size! 1 1)             ; no virtual desktops
> 
> it's probably a good idea to do this before (enable-gnome-hints),
> dunno.

This has been bothering me also.  So, I looked into it.  It seems
disable-gnome-hints and enable-gnome-hints need to be called after the 
*gnome-desktop-number* is changed.  So, I tried adding a setter
function for *gnome-desktop-number* that called these, but these
functions were unavailable when the variable is declared.  I got
around this by creating two internal functions that after the module
is fully loaded will have the same functionality as the
disable-gnome-hints and the enable-gnome-hints functions.  

I don't like this hack, but it seems to solve the problem.  The only
other way I could think of is to somehow check if the
*gnome-desktop-number* is defined (specified?) in enable-gnome-hints.
If it isn't, it would default to say four desks.  Then,
*gnome-desktop-number* could be defined after enable-gnome-hints with
the setter function calling the actual enable and disable gnome-hints
functions.  But, I don't know how to do this in guile or scheme.

After this patch I am able to use scwm options to change the gnome
desktop number, and I see the pager change to show that many
desks.  Here is the diff: 

--- gnome-hints.scm-orig        Sat Oct  9 11:28:52 1999
+++ gnome-hints.scm     Wed Oct 13 18:58:18 1999
@@ -41,6 +41,11 @@
   #:group 'gnome)
 ;;(set! *debug-gnome-hints* #t)
 
+;; Pre-declare the disable and enable gnome hints functions to allow
+;; the Gnome desktop to be set with the setter function.
+(define (disable-gnome-hints-internal) #f)
+(define (enable-gnome-hints-internal) #f)
+
 ;; Hint properties
 (define-scwm-option *gnome-desktop-number* 4
   "The number of desktops to show in the GNOME pager.
@@ -48,6 +53,10 @@
   #:type 'integer
   #:group 'gnome
   #:range '(1 . 10)
+  #:setter (lambda (desks) 
+             (set! *gnome-desktop-number* desks) 
+             (disable-gnome-hints-internal)
+             (enable-gnome-hints-internal))
   #:favorites '(1 2 3 4 5))
 
 (define-scwm-option *gnome-shade-animated* #f
@@ -549,6 +558,9 @@
   (remove-hook! window-property-change-hook gnome-window-property-change-hook)
   (remove-hook! shutdown-hook disable-gnome-hints))
 
+;; Set the disable and enable internal functions to the correct value.
+(set! disable-gnome-hints-internal disable-gnome-hints)
+(set! enable-gnome-hints-internal enable-gnome-hints)
 
 ;;; Do not enable by default - let the user reset some parameters first
 ;;; (enable-gnome-hints)


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 15 05:29:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA19702
	for scwm-discuss-outgoing; Fri, 15 Oct 1999 05:29:27 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from lafontaine.cybercable.fr (lafontaine.cybercable.fr [212.198.0.202])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id FAA19699
	for <scwm-discuss@scwm.mit.edu>; Fri, 15 Oct 1999 05:29:22 -0400
Received: (qmail 9208598 invoked from network); 15 Oct 1999 09:29:16 -0000
Received: from d026.paris-121.cybercable.fr (HELO ZhengHe) ([212.198.121.26]) (envelope-sender <fare@tunes.org>)
          by lafontaine.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <scwm-discuss@scwm.mit.edu>; 15 Oct 1999 09:29:16 -0000
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11c3eM-0007s8-00; Fri, 15 Oct 1999 11:27:46 +0200
Date: Thu, 14 Oct 1999 16:50:12 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: failure story
Message-ID: <19991014165012.A24610@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.0pre3i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dear SCWM developers,
   I was running a fairly "old" SCWM and decided
to try out a more recent version, so as to squish bugs,
and see if the memory leak was finally over
(the post0.99.1 version already had improved a lot as
compared to previous releases that ate so much memory as to
require a restart every other day).

    Scwm Version post0.99.1 compiled on Aug 26 1999 at 02:18:21
    RCS_ID=$Id: scwm.c,v 1.203 1999/08/25 22:25:51 gjb Exp $
    Repository Timestamp: Wed Aug 25 19:54:30 EDT 1999 -- $Revision: 1.2075 $

    -- fig. 1, old SCWM version

First, the cvs update wouldn't work. I'd get wierd problems (directory
does not exist) when trying to update /anoncvs/scwm/scwm/
So I made a fresh checkout, and it worked fine, except for an error message
about missing ./README while running automake. Finally, the code compiled,
and I launched the new scwm.

    Scwm Version 0.99.4 compiled on Oct 14 1999 at 15:35:15
    RCS_ID=$Id: scwm.c,v 1.223 1999/09/28 20:19:08 gjb Exp $
    Repository Timestamp: Thu Oct  7 17:17:56 EDT 1999 -- $Revision: 1.223 $

    -- fig. 2, new SCWM version

Now, I got errors at startup when loading one of prefs-menu, std-menu or flux:

    Error loading module: (app scwm prefs-menu)
    ERROR: In procedure message-window-set-image!:
    ERROR: Wrong type argument in position 2: #f

    -- fig. 3, error at startup

I removed those three from my startup file (don't know what they are here for;
I guess I just inherited those things from a gjb.scwmrc I started with).
More problematic is the fact that my scwm-input.scm file (defining keyboard
and mouse bindings) is processed without error, but without effect either.
None of the bindings work (the default bindings are barely enough to survive);
the windows have no icons or menus, either. Trying to enforce things at the
scwmrepl won't do.

I'm using guile 1.3, glibc 2.1.2, etc, on a recently upgraded potato system.

Now back to the good old working scwm (didn't I promise that next time
I would have a backup of a working scwm?).

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
If debugging is the process of removing bugs,
then programming must be the process of putting them in.
	-- Dijkstra

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 15 10:17:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA19998
	for scwm-discuss-outgoing; Fri, 15 Oct 1999 10:17:40 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA19995
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 15 Oct 1999 10:17:35 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id HAA28162;
	Fri, 15 Oct 1999 07:17:27 -0700 (PDT)
	(envelope-from gjb)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: failure story
References: <19991014165012.A24610@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Oct 1999 07:17:26 -0700
In-Reply-To: Francois-Rene Rideau's message of "Thu, 14 Oct 1999 16:50:12 +0200"
Message-ID: <qrru2nslnd5.fsf@elwha.cs.washington.edu>
Lines: 40
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> Dear SCWM developers,
>    I was running a fairly "old" SCWM and decided
> to try out a more recent version, so as to squish bugs,
> and see if the memory leak was finally over
> (the post0.99.1 version already had improved a lot as
> compared to previous releases that ate so much memory as to
> require a restart every other day).
> 
>     Scwm Version post0.99.1 compiled on Aug 26 1999 at 02:18:21
>     RCS_ID=$Id: scwm.c,v 1.203 1999/08/25 22:25:51 gjb Exp $
>     Repository Timestamp: Wed Aug 25 19:54:30 EDT 1999 -- $Revision: 1.2075 $
> 
>     -- fig. 1, old SCWM version
> 
> First, the cvs update wouldn't work. I'd get wierd problems (directory
> does not exist) when trying to update /anoncvs/scwm/scwm/
> So I made a fresh checkout, and it worked fine, except for an error message
> about missing ./README while running automake. Finally, the code compiled,
> and I launched the new scwm.
> 
>     Scwm Version 0.99.4 compiled on Oct 14 1999 at 15:35:15
>     RCS_ID=$Id: scwm.c,v 1.223 1999/09/28 20:19:08 gjb Exp $
>     Repository Timestamp: Thu Oct  7 17:17:56 EDT 1999 -- $Revision: 1.223 $
> 
>     -- fig. 2, new SCWM version
> 
> Now, I got errors at startup when loading one of prefs-menu, std-menu or flux:
> 
>     Error loading module: (app scwm prefs-menu)
>     ERROR: In procedure message-window-set-image!:
>     ERROR: Wrong type argument in position 2: #f

Have you installed scwm-icons?  I'll have to look into better error
reporting when trying to create a pixmap and failing.

It may be something else, but that's the first thing that comes to mind.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 15 11:11:53 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA20156
	for scwm-discuss-outgoing; Fri, 15 Oct 1999 11:11:53 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from p-voyageur.issy.cnet.fr (p-voyageur.issy.cnet.fr [139.100.0.39])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id LAA20153
	for <scwm-discuss@scwm.mit.edu>; Fri, 15 Oct 1999 11:11:47 -0400
Received: from p-grive.issy.cnet.fr ([139.100.0.85]) by p-voyageur.issy.cnet.fr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0)
	id 4Q2WN3QA; Fri, 15 Oct 1999 17:11:10 +0200
Received: from ZhengHe (zhenghe.issy.cnet.fr [139.100.25.71]) by p-grive.issy.cnet.fr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0)
	id 4LQ0Z7AS; Fri, 15 Oct 1999 17:11:10 +0200
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11c904-0008BU-00; Fri, 15 Oct 1999 17:10:32 +0200
Date: Fri, 15 Oct 1999 17:10:31 +0200
From: Francois-Rene Rideau <fare@tunes.org>
To: Greg Badros <gjb@cs.washington.edu>
Cc: Francois-Rene Rideau <fare@tunes.org>,
        SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: failure story
Message-ID: <19991015171031.A31426@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19991014165012.A24610@ZhengHe.augustin.thierry> <qrru2nslnd5.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.0pre3i
In-Reply-To: <qrru2nslnd5.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>     Error loading module: (app scwm prefs-menu)
>>     ERROR: In procedure message-window-set-image!:
>>     ERROR: Wrong type argument in position 2: #f
> 
> Have you installed scwm-icons?  I'll have to look into better error
> reporting when trying to create a pixmap and failing.
Not recently. I have alien'ed a rpm of scwm-icons, long ago.
What's the "standard" way to keep scwm-icons up-to-date,
when using the CVS version of scwm?

> It may be something else, but that's the first thing that comes to mind.
Well, when I remove these packages prefs-menu, std-menu and flux,
I get no more error, yet still the same basic misbehavior: no keyboard
or window binding whatsoever will either work or generate error message.

BTW, for quite some time now, I've had this warning when starting scwm:
[Scwm][init_modifiers]: <<WARNING>> Inefficiency due to numlock_mask not being found

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
 "Transported to a surreal landscape, a young girl kills the first woman
 she meets and then teams up with three complete strangers to kill again."
   - TV listing for the Wizard of Oz in the Marin Independent Journal

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 15 11:30:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA20234
	for scwm-discuss-outgoing; Fri, 15 Oct 1999 11:30:08 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA20231
	for <scwm-discuss@scwm.mit.edu>; Fri, 15 Oct 1999 11:29:59 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id RAA13588
	for <scwm-discuss@scwm.mit.edu>; Fri, 15 Oct 1999 17:29:52 +0200 (MET DST)
Date: Fri, 15 Oct 1999 17:29:51 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: SCWM Discussion Mailing List <scwm-discuss@scwm.mit.edu>
Subject: scwm-0.99.4 : old bug still present
Message-ID: <19991015172950.A20852@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

I think gtk is compiled with gtk, but I am not sure (how to check that
?).

./configure  --prefix=/udd/canon --with-gnu-ld --with-x --disable-esd --disable-esdtest --disable-imlibtest --disable-imlib --without-cassowary --with-gtk-prefix=/usr/local --x-includes=/usr/openwin/include --x-libraries=/usr/openwin/lib


With a fresh scwm (with an empty .scwmrc, as 'scwm -f /dev/null'
doesn't work) :


scwm> (use-scwm-modules (ice-9 session) doc flux)
Error loading module: (app scwm flux)

;;; WARNING (no code for module gtk)

;;; WARNING (no code for module gdk)
/udd/canon/share/scwm/modules/app/scwm/bincomm.scm:164:3: In procedure uniform-array-write in expression (uniform-array-write str port):
/udd/canon/share/scwm/modules/app/scwm/bincomm.scm:164:3: Bad file number


or sometimes, scwm simply crashes.




and after that :

scwm> (use-scwm-modules gtk)
((app scwm gtk))
scwm> (use-scwm-modules gtk-menu)
Error loading module: (app scwm gtk-menu)
/udd/canon/share/scwm/modules/app/scwm/bincomm.scm:164:3: In procedure uniform-array-write in expression (uniform-array-write str port):
/udd/canon/share/scwm/modules/app/scwm/bincomm.scm:164:3: Unbound variable: gtk-menu-item-new




The command comes from scwm.el : I removed "flux", and now it works
perfectly :

% diff -uw scwm.el.sav4 scwm.el         exit=1
--- scwm.el.sav4        Fri Oct 15 17:20:01 1999
+++ scwm.el     Fri Oct 15 17:24:31 1999
@@ -381,7 +381,8 @@
   "Have Scwm use the ice-9 session module.
 This is needed for some commands such as apropos and apropos-internal.
 apropos-internal is used for completion, too"
-  (scwm-eval "(use-scwm-modules (ice-9 session) doc flux)" nil))
+  (scwm-eval "(use-scwm-modules (ice-9 session) doc)" nil))
+;  (scwm-eval "(use-scwm-modules (ice-9 session) doc flux)" nil))
 
 (defun scwm-make-obarray ()
   "Create and return an obarray of scwm symbols."






-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 15 11:31:09 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA20242
	for scwm-discuss-outgoing; Fri, 15 Oct 1999 11:31:09 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA20239
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 15 Oct 1999 11:31:05 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id LAA27539;
	Fri, 15 Oct 1999 11:30:52 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma027537; Fri, 15 Oct 99 11:30:44 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.14) with ESMTP id LAA14267; Fri, 15 Oct 1999 11:30:43 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id LAA03356; Fri, 15 Oct 1999 11:30:43 -0400
Date: Fri, 15 Oct 1999 11:30:43 -0400
Message-Id: <199910151530.LAA03356@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: fare@tunes.org, scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrru2nslnd5.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 15 Oct 1999 07:17:26 -0700)
Subject: Re: failure story
References: <19991014165012.A24610@ZhengHe.augustin.thierry> <qrru2nslnd5.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


>   Have you installed scwm-icons?  I'll have to look into better error
>   reporting when trying to create a pixmap and failing.
>
>   It may be something else, but that's the first thing that comes to mind.
>
>   Greg

I occasionally get invalid pixmap errors too but I haven't yet tried
to figure out the cause.  It would be very useful if every error
message that scwm ever issued would give the filename, line number,
and column number of the code on behalf of which the error was issued.
(This is one of my big complaints about emacs lisp.)  I don't know how
easy or hard this is to do, but it would make tracking down and
diagnosing problems much easier....

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 15 16:53:22 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA20956
	for scwm-discuss-outgoing; Fri, 15 Oct 1999 16:53:22 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sparrow1.otechestvo-hq.ru (qmailr@sparrow1.otechestvo-hq.ru [194.84.66.17])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id QAA20953
	for <scwm-discuss@scwm.mit.edu>; Fri, 15 Oct 1999 16:53:15 -0400
Received: (qmail 1103 invoked by uid 50002); 15 Oct 1999 20:47:29 -0000
To: scwm-discuss@scwm.mit.edu
Subject: porting fvwm2 module
From: Alexander Vorobiev <sparrow@linuxfan.com>
Date: 16 Oct 1999 00:47:29 +0400
Message-ID: <yxf1so3c9wri.fsf@localhost.localdomain>
Lines: 35
User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) XEmacs/21.1 (Biscayne)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi!

Some time ago I wrote a module for fvwm2, FvwmKb. The module makes it
more comfortable to work with several Xkb keyboard layouts by storing
currently selected layout in a windows database and telling Fvwm2 to
reflect the layout in the window decoration. 

Being a big lisp fan I use scwm now. As scwm was supposed to support
fvwm2 modules I decided to run my module from scwm. Unfortunately it
didn't work - several things were broken (message type masking,
command "Current" etc).

It required some work to correct these problems and now FvwmKb runs
rather smoothly. Where should I send patches? Here is what I did:

- message type masking works correctly (it allows a module to select
  messages it wants to receive).

- fvwm2 command "Current" works correctly (and hopefully related
  commands - "Next" etc - not tested)

- fvwm2 command "ChangeDecor" is implemented

FvmwKb source and a screenshot are available at
http://linuxfan.com/~sparrow/software

New bug-fix version will be available very soon. I'm going to include
an instruction on how to use it with scwm.

Regards,
Alexander
-- 
if you want to know why Lisp doesn't win around you, find a mirror.
		Erik Naggum


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 15 18:48:17 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA21183
	for scwm-discuss-outgoing; Fri, 15 Oct 1999 18:48:17 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA21180
	for <scwm-discuss@scwm.mit.edu>; Fri, 15 Oct 1999 18:47:56 -0400
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id IAA07569
	for <scwm-discuss@scwm.mit.edu>; Sat, 16 Oct 1999 08:47:21 +1000
Message-ID: <38089336.55A6F73F@tech.com.au>
Date: Sun, 17 Oct 1999 01:01:10 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: Re: failure story
References: <19991014165012.A24610@ZhengHe.augustin.thierry> <qrru2nslnd5.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros wrote:

> Have you installed scwm-icons? 

I don't think the web site makes it clear enough about the necessity to
get both scwm AND scwm-icons. Perhaps you should make this a bit
clearer.

-- 
Chris Bitmead
mailto:chris@tech.com.au

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 15 22:36:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA21617
	for scwm-discuss-outgoing; Fri, 15 Oct 1999 22:36:33 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA21614
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 15 Oct 1999 22:36:21 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id TAA29328;
	Fri, 15 Oct 1999 19:36:13 -0700 (PDT)
	(envelope-from gjb)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: failure story
References: <19991014165012.A24610@ZhengHe.augustin.thierry> <qrru2nslnd5.fsf@elwha.cs.washington.edu> <19991015171031.A31426@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Oct 1999 19:36:13 -0700
In-Reply-To: Francois-Rene Rideau's message of "Fri, 15 Oct 1999 17:10:31 +0200"
Message-ID: <qrremewowv6.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> >>     Error loading module: (app scwm prefs-menu)
> >>     ERROR: In procedure message-window-set-image!:
> >>     ERROR: Wrong type argument in position 2: #f
> > 
> > Have you installed scwm-icons?  I'll have to look into better error
> > reporting when trying to create a pixmap and failing.
> Not recently. I have alien'ed a rpm of scwm-icons, long ago.
> What's the "standard" way to keep scwm-icons up-to-date,
> when using the CVS version of scwm?

Use the CVS version of scwm-icons and cvs update it every now and again, 
too. 

> 
> > It may be something else, but that's the first thing that comes to mind.
> Well, when I remove these packages prefs-menu, std-menu and flux,
> I get no more error, yet still the same basic misbehavior: no keyboard
> or window binding whatsoever will either work or generate error message.

What do you mean "when I remove these packages"?  There should
definitely be error messages if things fail, and if there isn't, I need
to learn why.

> 
> BTW, for quite some time now, I've had this warning when starting scwm:
> [Scwm][init_modifiers]: <<WARNING>> Inefficiency due to numlock_mask not being found


I removed this inefficiency and the corresponding warning sometime
around 0.99.3, IIRC.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 15 22:38:20 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA21628
	for scwm-discuss-outgoing; Fri, 15 Oct 1999 22:38:20 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA21625
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 15 Oct 1999 22:38:16 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id TAA29331;
	Fri, 15 Oct 1999 19:38:08 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: fare@tunes.org, scwm-discuss@SCWM.MIT.EDU
Subject: Re: failure story
References: <19991014165012.A24610@ZhengHe.augustin.thierry> <qrru2nslnd5.fsf@elwha.cs.washington.edu> <199910151530.LAA03356@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Oct 1999 19:38:08 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Fri, 15 Oct 1999 11:30:43 -0400"
Message-ID: <qrrd7ugowrz.fsf@elwha.cs.washington.edu>
Lines: 27
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> >   Have you installed scwm-icons?  I'll have to look into better error
> >   reporting when trying to create a pixmap and failing.
> >
> >   It may be something else, but that's the first thing that comes to mind.
> >
> >   Greg
> 
> I occasionally get invalid pixmap errors too but I haven't yet tried
> to figure out the cause.  It would be very useful if every error
> message that scwm ever issued would give the filename, line number,
> and column number of the code on behalf of which the error was issued.
> (This is one of my big complaints about emacs lisp.)  I don't know how
> easy or hard this is to do, but it would make tracking down and
> diagnosing problems much easier....

I've tried to improve this... guile changed its default behaviour from
1.3.x to 1.3.4 (not sure if it was changed in 1.3.2-- can't remember).
Anyway, recent Scwm get it better even with the guile w/ the
non-error-reporting guile.  There's still room for improvement, and I'm
happy to accept patches along these lines.... any error should be
reported and should be descriptive enough that at least I should be able 
to see the problem just from the error message.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 15 22:42:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA21683
	for scwm-discuss-outgoing; Fri, 15 Oct 1999 22:42:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA21679
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 15 Oct 1999 22:42:11 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id TAA29341;
	Fri, 15 Oct 1999 19:42:00 -0700 (PDT)
	(envelope-from gjb)
To: Chris Bitmead <chris@tech.com.au>
Cc: SCWM Discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: failure story
References: <19991014165012.A24610@ZhengHe.augustin.thierry> <qrru2nslnd5.fsf@elwha.cs.washington.edu> <38089336.55A6F73F@tech.com.au>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Oct 1999 19:41:59 -0700
In-Reply-To: Chris Bitmead's message of "Sun, 17 Oct 1999 01:01:10 +1000"
Message-ID: <qrraepkowlj.fsf@elwha.cs.washington.edu>
Lines: 13
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

> Greg Badros wrote:
> 
> > Have you installed scwm-icons? 
> 
> I don't think the web site makes it clear enough about the necessity to
> get both scwm AND scwm-icons. Perhaps you should make this a bit
> clearer.

Point taken... will do.  Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 15 22:44:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA21725
	for scwm-discuss-outgoing; Fri, 15 Oct 1999 22:44:29 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA21720
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 15 Oct 1999 22:44:26 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id TAA29344;
	Fri, 15 Oct 1999 19:44:19 -0700 (PDT)
	(envelope-from gjb)
To: Alexander Vorobiev <sparrow@linuxfan.com>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: porting fvwm2 module
References: <yxf1so3c9wri.fsf@localhost.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 15 Oct 1999 19:44:19 -0700
In-Reply-To: Alexander Vorobiev's message of "16 Oct 1999 00:47:29 +0400"
Message-ID: <qrr9054owho.fsf@elwha.cs.washington.edu>
Lines: 27
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Alexander Vorobiev <sparrow@linuxfan.com> writes:

> Hi!
> 
> Some time ago I wrote a module for fvwm2, FvwmKb. The module makes it
> more comfortable to work with several Xkb keyboard layouts by storing
> currently selected layout in a windows database and telling Fvwm2 to
> reflect the layout in the window decoration. 
> 
> Being a big lisp fan I use scwm now. As scwm was supposed to support
> fvwm2 modules I decided to run my module from scwm. Unfortunately it
> didn't work - several things were broken (message type masking,
> command "Current" etc).
> 
> It required some work to correct these problems and now FvwmKb runs
> rather smoothly. Where should I send patches? Here is what I did:

<snip>

You can send patches directly to this list, or to me personally if they
are large.

This sounds like some useful improvements, and I'll look forward to
integrating them into the next version of Scwm.

Thanks!
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 16 15:40:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA25048
	for scwm-discuss-outgoing; Sat, 16 Oct 1999 15:40:00 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from seldon.dtek.chalmers.se (xcJEZMJD8AOAvlyPJS7j1hMH9ZNQl8ED@seldon.dtek.chalmers.se [129.16.30.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA25045
	for <scwm-discuss@scwm.mit.edu>; Sat, 16 Oct 1999 15:39:53 -0400
Received: from jaim.dtek.chalmers.se (tHy/owNaocdKSiOA/oYqOJZ/WWt10RkR@jaim.dtek.chalmers.se [129.16.30.109])
	by seldon.dtek.chalmers.se (8.8.8/8.8.8) with ESMTP id VAA03945
	for <scwm-discuss@scwm.mit.edu>; Sat, 16 Oct 1999 21:39:43 +0200 (MET DST)
Received: (from d4jonas@localhost)
	by jaim.dtek.chalmers.se (8.9.3/8.9.3) id VAA01900;
	Sat, 16 Oct 1999 21:39:42 +0200 (MET DST)
To: scwm-discuss@scwm.mit.edu
Subject: [Makefile bug?] Failure/Solaris/Imlib.h not found
X-No-Archive: Yes
Mail-Copies-To: never
Organization: The Deciples of Albericht Nibelungen
From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Date: 16 Oct 1999 21:39:42 +0200
Message-ID: <wtnzoxjrt6p.fsf@jaim.dtek.chalmers.se>
Lines: 38
User-Agent: Gnus/5.070091 (Pterodactyl Gnus v0.91) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


./configure --prefix=/usr/pd/SCWM/scwm-0.99.4
--with-imlib-prefix=/usr/pd/X11/gnome/ --disable-esd
--with-guile-include-prefix=/usr/pd/gnu/include/
--with-guile-lib-prefix=/usr/pd/gnu/include/

configure works (finds imlib). script(1) of configure can be found at
<URL:http://www.dtek.chalmers.se/~d4jonas/Temp/configure.991016-6>.

gmake:
Script started on Sat Oct 16 21:18:33 1999
[jaim(d4jonas)] /usr/pd/src/SCWM/scwm-0.99.4> gmake
Making all in src
gmake[1]: Entering directory `/usr/src/dtek/pd/SCWM/scwm-0.99.4/src'
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/X11/include -I/usr/pd/gnu/include/ 	    -I/usr/pd/SCWM/scwm-0.99.4/include    -g -O2 -c Grab.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/X11/include -I/usr/pd/gnu/include/ 	    -I/usr/pd/SCWM/scwm-0.99.4/include    -g -O2 -c ICCCM.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include  -I/usr/X11/include -I/usr/pd/gnu/include/ 	    -I/usr/pd/SCWM/scwm-0.99.4/include    -g -O2 -c add_window.c
In file included from add_window.c:74:
image.h:45: Imlib.h: No such file or directory
gmake[1]: *** [add_window.o] Error 1
gmake[1]: Leaving directory `/usr/src/dtek/pd/SCWM/scwm-0.99.4/src'
gmake: *** [all-recursive] Error 1
[jaim(d4jonas)] /usr/pd/src/SCWM/scwm-0.99.4> 

If I understand it correct, imlib-prefix is not used.
It seems to be an error in the makefile.

% locate Imlib.h | grep -v additonal garbage
/usr/pd/X11/gnome/include/Imlib.h
/usr/pd/X11/include/Imlib.h

% ls -oF /usr/pd/X11/gnome/include/Imlib.h /usr/pd/X11/include/Imlib.h
/usr/pd/X11/include/Imlib.h: No such file or directory
-rw-rw-r--   1 viktor      5964 Oct 16 12:49 /usr/pd/X11/gnome/include/Imlib.h

-- 
( Jonas Steverud  @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct 17 17:06:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA29954
	for scwm-discuss-outgoing; Sun, 17 Oct 1999 17:06:44 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA29951
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 17 Oct 1999 17:06:32 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id OAA02192;
	Sun, 17 Oct 1999 14:06:23 -0700 (PDT)
	(envelope-from gjb)
To: Alexander Vorobiev <sparrow@linuxfan.com>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: porting fvwm2 module
References: <yxf1so3c9wri.fsf@localhost.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Oct 1999 14:06:22 -0700
In-Reply-To: Alexander Vorobiev's message of "16 Oct 1999 00:47:29 +0400"
Message-ID: <qrrbt9xlmsx.fsf@elwha.cs.washington.edu>
Lines: 39
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Alexander Vorobiev <sparrow@linuxfan.com> writes:

> Hi!
> 
> Some time ago I wrote a module for fvwm2, FvwmKb. The module makes it
> more comfortable to work with several Xkb keyboard layouts by storing
> currently selected layout in a windows database and telling Fvwm2 to
> reflect the layout in the window decoration. 
> 
> Being a big lisp fan I use scwm now. As scwm was supposed to support
> fvwm2 modules I decided to run my module from scwm. Unfortunately it
> didn't work - several things were broken (message type masking,
> command "Current" etc).
> 
> It required some work to correct these problems and now FvwmKb runs
> rather smoothly. Where should I send patches? Here is what I did:
> 
> - message type masking works correctly (it allows a module to select
>   messages it wants to receive).
> 
> - fvwm2 command "Current" works correctly (and hopefully related
>   commands - "Next" etc - not tested)
> 
> - fvwm2 command "ChangeDecor" is implemented
> 
> FvmwKb source and a screenshot are available at
> http://linuxfan.com/~sparrow/software
> 
> New bug-fix version will be available very soon. I'm going to include
> an instruction on how to use it with scwm.

These changes are now committed.  Thanks Alexander!  FvwmKb seems very
useful, so I'm glad it now runs with Scwm. 

(Note, though, that CVS Scwm has lots of changes recently from my week
away from my desk, and it is likely more buggy than usual).

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct 17 18:03:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA30205
	for scwm-discuss-outgoing; Sun, 17 Oct 1999 18:03:50 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA30202
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 17 Oct 1999 18:03:46 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id PAA02257;
	Sun, 17 Oct 1999 15:03:36 -0700 (PDT)
	(envelope-from gjb)
To: Brendan Kirby <bkirby@itrade.net>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Number of desktops
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net>
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Oct 1999 15:03:36 -0700
In-Reply-To: Brendan Kirby's message of "13 Oct 1999 19:18:01 -0700"
Message-ID: <qrr9051lk5j.fsf@elwha.cs.washington.edu>
Lines: 60
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Brendan Kirby <bkirby@itrade.net> writes:

> Michael Livshin <mlivshin@bigfoot.com> writes:
> 
> > Dave Pearson <davep@hagbard.demon.co.uk> writes:
> > 
> > > On Wed, Oct 13, 1999 at 09:20:04AM +1000, Chris Bitmead wrote:
> > > 
> > > > How do you set the number of desktops when using scwm with gnome and the
> > > > gnome pager? No matter what I do there are always 4, and I can't find
> > > > anything in either gnome or scwm to change it.
> > > 
> > > Sorry, don't have the answer, I just wanted to say that I've asked a couple
> > > of times myself now and never come up with a solution. If you do ever find
> > > out how to do this I'd love to know, this one has be totally stumped.
> > >
> > 
> > the following works for me (from memory and grep, as I don't run scwm
> > here at work):
> > 
> > (set! *gnome-desktop-number* 2)  ; just two workspaces
> > (set-desk-size! 1 1)             ; no virtual desktops
> > 
> > it's probably a good idea to do this before (enable-gnome-hints),
> > dunno.
> 
> This has been bothering me also.  So, I looked into it.  It seems
> disable-gnome-hints and enable-gnome-hints need to be called after the 
> *gnome-desktop-number* is changed.  So, I tried adding a setter
> function for *gnome-desktop-number* that called these, but these
> functions were unavailable when the variable is declared.  I got
> around this by creating two internal functions that after the module
> is fully loaded will have the same functionality as the
> disable-gnome-hints and the enable-gnome-hints functions.  

<snip>

I did the following (inspired by your fix) to fix the problem:

I moved the following to the end of gnome-hints.scm:

;; Hint properties
(define-scwm-option *gnome-desktop-number* 4
  "The number of desktops to show in the GNOME pager.
Used in `enable-gnome-hints'."
  #:type 'integer
  #:group 'gnome
  #:range '(1 . 10)
  #:setter (lambda (desks)
	     (set! *gnome-desktop-number* desks)
	     (gnome-init-workspace-params *gnome-desktop-number*))
  #:favorites '(1 2 3 4 5))

Notice that we simply need to call gnome-init-workspace-params.

This change is in the repo, now.

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct 17 22:31:38 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA31374
	for scwm-discuss-outgoing; Sun, 17 Oct 1999 22:31:38 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA31371
	for <scwm-discuss@scwm.mit.edu>; Sun, 17 Oct 1999 22:31:35 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id TAA02507;
	Sun, 17 Oct 1999 19:31:28 -0700 (PDT)
	(envelope-from gjb)
To: scwm-discuss@scwm.mit.edu
Subject: Warning re: changes in Scwm CVS
From: Greg Badros <gjb@cs.washington.edu>
Date: 17 Oct 1999 19:31:28 -0700
Message-ID: <qrru2npjt6n.fsf@elwha.cs.washington.edu>
Lines: 7
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I'm renamed a small handful of procedures in the latest Scwm, and split
a bunch of code out of flux.scm and system.scwmrc so there'll be a lot
of easy-but-perhaps-tedious-to-fix problems in highly customized
.scwmrcs.  See the NEWS file for details of the change.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct 18 10:03:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA01767
	for scwm-discuss-outgoing; Mon, 18 Oct 1999 10:03:00 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA01764
	for <scwm-discuss@scwm.mit.edu>; Mon, 18 Oct 1999 10:02:56 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id KAA25117
	for <scwm-discuss@scwm.mit.edu>; Mon, 18 Oct 1999 10:02:50 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma025113; Mon, 18 Oct 99 10:02:39 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.14) with ESMTP id KAA29169; Mon, 18 Oct 1999 10:02:39 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id KAA15225; Mon, 18 Oct 1999 10:02:39 -0400
Date: Mon, 18 Oct 1999 10:02:39 -0400
Message-Id: <199910181402.KAA15225@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: where is scwm-icons in anonymous CVS?
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I am unable to get scwm-icons from anonymous CVS.  Am I doing
something wrong?

% cvs -d :pserver:anoncvs@scwm.mit.edu:/anoncvs co scwm-icons
cvs server: cannot find module `scwm-icons' - ignored
cvs [checkout aborted]: cannot expand modules
% cvs -d :pserver:anoncvs@scwm.mit.edu:/anoncvs co CVSROOT/modules
cvs server: failed to create lock directory in repository `/anoncvs/CVSROOT': Permission denied
cvs server: failed to obtain dir lock in repository `/anoncvs/CVSROOT'
cvs [server aborted]: read lock failed - giving up

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct 18 10:51:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA01988
	for scwm-discuss-outgoing; Mon, 18 Oct 1999 10:51:21 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA01985
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 18 Oct 1999 10:51:16 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id HAA03467;
	Mon, 18 Oct 1999 07:51:00 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: where is scwm-icons in anonymous CVS?
References: <199910181402.KAA15225@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Oct 1999 07:51:00 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Mon, 18 Oct 1999 10:02:39 -0400"
Message-ID: <qrriu44k9ij.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> I am unable to get scwm-icons from anonymous CVS.  Am I doing
> something wrong?

Doh!  Nope.  Apparently when the anoncvs mirroring was set-up, only the
scwm module was mirrored.  I added a cron job to mirror the scwm-icons
module, too, so it should work better, now.

Incidentally, the mirroring is done 5 minutes and 35 minutes after the
hour, every hour, so if you're closely tracking a change I say I
committed, wait until that next mirror before updating to be sure it's
in.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct 18 12:20:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA02234
	for scwm-discuss-outgoing; Mon, 18 Oct 1999 12:20:42 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA02231
	for <scwm-discuss@scwm.mit.edu>; Mon, 18 Oct 1999 12:20:36 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id MAA31242
	for <scwm-discuss@scwm.mit.edu>; Mon, 18 Oct 1999 12:20:31 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma031080; Mon, 18 Oct 99 12:20:09 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.14) with ESMTP id MAA07047; Mon, 18 Oct 1999 12:20:09 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id MAA15970; Mon, 18 Oct 1999 12:20:09 -0400
Date: Mon, 18 Oct 1999 12:20:09 -0400
Message-Id: <199910181620.MAA15970@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: message-window problems (?) with current repository version
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Sorry if this is a duplicate.  I sent this before, but I never got my
own bcc and I haven't seen it on the list.  I may have exited emacs
without sending the message.

If I run scwm with this .scwmrc:

  (use-scwm-modules base style)

I get this output:

[Scwm][make-image]: <<WARNING>> Image file was not found: `anchor.xpm'
Error loading module: (app scwm style)
ERROR: In procedure message-window-set-image!:
ERROR: Wrong type argument in position 2: #f

I don't use the message window.  I don't know whether this is relevant
or not.  I also don't have a recent scwm-icons (yet).

In any case, this problem renders my .scwmrc completely inoperable.  I
don't have time to mess with it today, so I'll have to revert to
something older until I have time to look into this or until it is
fixed.

Is there a better way to debug this other than by searching for calls
to message-window-set-image! to figure out where it is being called
from?  I thought I used to get stack traces.

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct 18 12:34:07 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA02404
	for scwm-discuss-outgoing; Mon, 18 Oct 1999 12:34:07 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA02384
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 18 Oct 1999 12:33:59 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id JAA03606;
	Mon, 18 Oct 1999 09:33:44 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: message-window problems (?) with current repository version
References: <199910181620.MAA15970@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 18 Oct 1999 09:33:44 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Mon, 18 Oct 1999 12:20:09 -0400"
Message-ID: <qrraepgk4rb.fsf@elwha.cs.washington.edu>
Lines: 48
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> Sorry if this is a duplicate.  I sent this before, but I never got my
> own bcc and I haven't seen it on the list.  I may have exited emacs
> without sending the message.

I think I saw this, but have been swamped catching up and
committing/debugging the stuff I did on my week away.

> If I run scwm with this .scwmrc:
> 
>   (use-scwm-modules base style)
> 
> I get this output:
> 
> [Scwm][make-image]: <<WARNING>> Image file was not found: `anchor.xpm'
> Error loading module: (app scwm style)
> ERROR: In procedure message-window-set-image!:
> ERROR: Wrong type argument in position 2: #f
>
> I don't use the message window.  I don't know whether this is relevant
> or not.  I also don't have a recent scwm-icons (yet).

anchor.xpm is actually in scwm/pixmaps, not in scwm-icons, so a proper
install should find it.  Do you have anchor.xpm on your system somewhere.

I've now made message-window-set-image! turn off the image if the image
argument is #f instead of an image object.  That should avoid similar
problems in the future.

> In any case, this problem renders my .scwmrc completely inoperable.  I
> don't have time to mess with it today, so I'll have to revert to
> something older until I have time to look into this or until it is
> fixed.
> 
> Is there a better way to debug this other than by searching for calls
> to message-window-set-image! to figure out where it is being called
> from?  I thought I used to get stack traces.

In use-scwm-modules, you didn't... from .scwmrcs you should've (except
for a brief period when guile-1.3.x had changed things and I'd not yet
noticed it).

I've now made minimal.scm try to show a backtrace when having a problem
loading a module.  Hopefully it'll help.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 19 10:33:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA07007
	for scwm-discuss-outgoing; Tue, 19 Oct 1999 10:33:40 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA07004
	for <scwm-discuss@scwm.mit.edu>; Tue, 19 Oct 1999 10:33:34 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id KAA25439
	for <scwm-discuss@scwm.mit.edu>; Tue, 19 Oct 1999 10:33:25 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma025405; Tue, 19 Oct 99 10:33:14 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.14) with ESMTP id KAA29363; Tue, 19 Oct 1999 10:33:14 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id KAA22555; Tue, 19 Oct 1999 10:33:13 -0400
Date: Tue, 19 Oct 1999 10:33:13 -0400
Message-Id: <199910191433.KAA22555@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: make-toggling-winop, anchor.xpm
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Building from the anonymous repository, if I run scwm with the
following .scwmrc:

  (use-scwm-modules style)

I get the following output:

Error loading module: (app scwm style)
No backtrace available.
ERROR: Unbound variable: make-toggling-winop

If I comment this:

(define-public animated-toggle-window-shade
  (make-toggling-winop shaded-window?
		       animated-window-unshade
		       animated-window-shade))

out in animation.scm, the problem goes away.  I don't know why.

Also, if I do not have anchor.xpm in my load path, and I remove the
above definition of animated-window-shade (thus eliminating the other
startup error), it sends guile into an apparent infinite loop.
Running normally, I get the following output prior to any decoration
activity:

[Scwm][make-image]: <<WARNING>> Image file was not found: `anchor.xpm'
[Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault...
please run with '--segv-just-stop' or '--segv-reset-count 0'
and report a bug!
Trying to continue... save your work if you still can!
Segmentation fault (core dumped)

(A stack trace with --segv-just-stop is included.)  It appears that I
cannot modify my image load path early enough to prevent this problem
from happening, so I am forced to make a symbolic link from one of the
directories that scwm expects to find images in to my build area since
I am running scwm uninstalled.  (I made a link from
/usr/local/share/scwm to the top-level scwm build directory.)  Clearly
problems involving scwm's misbehavior when not properly installed are
not the most serious kind, but the current behavior is also obviously
not acceptable.

In any case, with the temporary removal of the definition of
animated-window-shade (lacking a proper fix and not having time to
come up with one right now), I am once again able to run scwm.

Information about my guile installation and the stack trace are
included.

An unrelated observation: having gone back to running gwm yesterday
while I couldn't get scwm to start and had back-to-back code
walkthroughs thus preventing me from having hacking time reminded me
of how blindingly fast gwm is in comparison to scwm or most other
window managers for that matter.  With gwm, my startup/restart times
are virtually imperceptible, and I never see any of the window
decorations happening.  In contrast, with scwm, it takes about 15
seconds for startup to occur and I can see each window flash as it
gets decorated.  I have to say that scwm performs better now on
today's hardware than gwm did on hardware of 1989 when I started using
it.  At the time, my gwm profile took over 30 seconds to load.  I
notice that having after-new-window-hooks defined seriously slows down
scwm.  Just adding a couple of hooks that do nothing makes window
decoration very slow.  I suppose most of this has to do with guile.
Some of what makes gwm so fast is the way wool is implemented, but
that's also probably gwm's worst failing -- wool is a horrible
programming environment full of global variables the setting of which
have magic side effects, and it feels more like C with lisp syntax
than real lisp....  Anyway, I hope as guile and scwm mature, the
performance will continue to improve.

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

---------------------------------------------------------------------------

% rpm -qa | grep guile
guile-gtk-26Aug99-2gjb
guile-devel-1.3.4-1gjb
guile-1.3.4-1gjb


(gdb) run --segv-just-stop
Starting program: /u1/q/scwm/scwm/src/scwm --segv-just-stop
[Scwm][make-image]: <<WARNING>> Image file was not found: `anchor.xpm'

Program received signal SIGSEGV, Segmentation fault.
0x40134bb6 in gh_cdr ()
(gdb) where
#0  0x40134bb6 in gh_cdr ()
#1  0x8073feb in message_window_set_image_x (mwn=1078845960, image=8564, 
    fg_color=8564, bg_color=8564, shaped_p=8564) at message-window.c:367
#2  0x40135469 in scm_gsubr_apply ()
#3  0x4012ae9f in scm_dapply ()
#4  0x4012a229 in scm_deval ()
#5  0x40127774 in scm_deval ()
#6  0x40120d23 in scm_eval_car ()
#7  0x40121a60 in scm_m_define ()
#8  0x4012aefb in scm_dapply ()
#9  0x401290ce in scm_deval ()
#10 0x40126e11 in scm_eval_3 ()
#11 0x40126ec4 in scm_eval_x ()
#12 0x40139a5a in load ()
#13 0x4011f59e in scm_internal_dynamic_wind ()
#14 0x40139b3a in scm_primitive_load ()
#15 0x4012a6d7 in scm_deval ()
#16 0x4012b132 in scm_dapply ()
#17 0x40125dc1 in scm_apply ()
#18 0x4011f443 in scm_dynamic_wind ()
#19 0x4012a6bd in scm_deval ()
#20 0x40127774 in scm_deval ()
#21 0x4012b132 in scm_dapply ()
#22 0x40125dc1 in scm_apply ()
#23 0x4011f443 in scm_dynamic_wind ()
#24 0x4012a6bd in scm_deval ()
#25 0x40127774 in scm_deval ()
#26 0x40128094 in scm_deval ()
#27 0x40127774 in scm_deval ()
#28 0x40127ffc in scm_deval ()
#29 0x40127774 in scm_deval ()
#30 0x40127ffc in scm_deval ()
#31 0x40126e11 in scm_eval_3 ()
#32 0x40126ec4 in scm_eval_x ()
#33 0x40139a5a in load ()
#34 0x4011f59e in scm_internal_dynamic_wind ()
#35 0x40139b3a in scm_primitive_load ()
#36 0x4012a6d7 in scm_deval ()
#37 0x4012b132 in scm_dapply ()
#38 0x40125dc1 in scm_apply ()
#39 0x4011f443 in scm_dynamic_wind ()
#40 0x4012a6bd in scm_deval ()
#41 0x40127774 in scm_deval ()
#42 0x4012b132 in scm_dapply ()
#43 0x40125dc1 in scm_apply ()
#44 0x4011f443 in scm_dynamic_wind ()
#45 0x4012a6bd in scm_deval ()
#46 0x40127774 in scm_deval ()
#47 0x40128094 in scm_deval ()
#48 0x40127774 in scm_deval ()
#49 0x40127ffc in scm_deval ()
#50 0x40127774 in scm_deval ()
#51 0x40127ffc in scm_deval ()
#52 0x40126e11 in scm_eval_3 ()
#53 0x40126ec4 in scm_eval_x ()
#54 0x40139a5a in load ()
#55 0x4011f59e in scm_internal_dynamic_wind ()
#56 0x40139b3a in scm_primitive_load ()
#57 0x4012a6d7 in scm_deval ()
#58 0x4012b132 in scm_dapply ()
#59 0x40125dc1 in scm_apply ()
#60 0x4011f443 in scm_dynamic_wind ()
#61 0x4012a6bd in scm_deval ()
#62 0x40127774 in scm_deval ()
#63 0x4012b132 in scm_dapply ()
#64 0x40125dc1 in scm_apply ()
#65 0x4011f443 in scm_dynamic_wind ()
#66 0x4012a6bd in scm_deval ()
#67 0x40127774 in scm_deval ()
#68 0x40128094 in scm_deval ()
#69 0x40127774 in scm_deval ()
#70 0x40127ffc in scm_deval ()
#71 0x40127774 in scm_deval ()
#72 0x40127ffc in scm_deval ()
#73 0x40126e11 in scm_eval_3 ()
#74 0x40126ec4 in scm_eval_x ()
#75 0x40139a5a in load ()
#76 0x4011f59e in scm_internal_dynamic_wind ()
#77 0x40139b3a in scm_primitive_load ()
#78 0x4012a6d7 in scm_deval ()
#79 0x4012b132 in scm_dapply ()
#80 0x40125dc1 in scm_apply ()
#81 0x4011f443 in scm_dynamic_wind ()
#82 0x4012a6bd in scm_deval ()
#83 0x40127774 in scm_deval ()
#84 0x4012b132 in scm_dapply ()
#85 0x40125dc1 in scm_apply ()
#86 0x4011f443 in scm_dynamic_wind ()
#87 0x4012a6bd in scm_deval ()
#88 0x40127774 in scm_deval ()
#89 0x40128094 in scm_deval ()
#90 0x40127774 in scm_deval ()
#91 0x40127ffc in scm_deval ()
#92 0x40127774 in scm_deval ()
#93 0x40127ffc in scm_deval ()
#94 0x40126e11 in scm_eval_3 ()
#95 0x40126ec4 in scm_eval_x ()
#96 0x40139a5a in load ()
#97 0x4011f59e in scm_internal_dynamic_wind ()
#98 0x40139b3a in scm_primitive_load ()
#99 0x4012a6d7 in scm_deval ()
#100 0x4012b132 in scm_dapply ()
#101 0x40125dc1 in scm_apply ()
#102 0x4011f443 in scm_dynamic_wind ()
#103 0x4012a6bd in scm_deval ()
#104 0x40127774 in scm_deval ()
#105 0x4012b132 in scm_dapply ()
#106 0x40125dc1 in scm_apply ()
#107 0x4011f443 in scm_dynamic_wind ()
#108 0x4012a6bd in scm_deval ()
#109 0x40127774 in scm_deval ()
#110 0x40128094 in scm_deval ()
#111 0x40127774 in scm_deval ()
#112 0x40127ffc in scm_deval ()
#113 0x40127774 in scm_deval ()
#114 0x40127ffc in scm_deval ()
#115 0x40126e11 in scm_eval_3 ()
#116 0x40126ec4 in scm_eval_x ()
#117 0x40139a5a in load ()
#118 0x4011f59e in scm_internal_dynamic_wind ()
#119 0x40139b3a in scm_primitive_load ()
#120 0x4012a6d7 in scm_deval ()
#121 0x4012b132 in scm_dapply ()
#122 0x40125dc1 in scm_apply ()
#123 0x4011f443 in scm_dynamic_wind ()
#124 0x4012a6bd in scm_deval ()
#125 0x40127774 in scm_deval ()
#126 0x4012b132 in scm_dapply ()
#127 0x40125dc1 in scm_apply ()
#128 0x4011f443 in scm_dynamic_wind ()
#129 0x4012a6bd in scm_deval ()
#130 0x40127774 in scm_deval ()
#131 0x40128094 in scm_deval ()
#132 0x40127774 in scm_deval ()
#133 0x40127ffc in scm_deval ()
#134 0x40127ffc in scm_deval ()
#135 0x4012b132 in scm_dapply ()
#136 0x40125dc1 in scm_apply ()
#137 0x401268b4 in scm_for_each ()
#138 0x4012a6bd in scm_deval ()
#139 0x4012b0af in scm_dapply ()
#140 0x40125dc1 in scm_apply ()
#141 0x40162276 in scm_body_thunk ()
#142 0x40161f69 in scm_internal_catch ()
#143 0x40162568 in scm_catch ()
#144 0x4012a6bd in scm_deval ()
#145 0x4012b132 in scm_dapply ()
#146 0x40125dc1 in scm_apply ()
#147 0x40126669 in scm_map ()
#148 0x4012a6bd in scm_deval ()
#149 0x40126e11 in scm_eval_3 ()
#150 0x40126ec4 in scm_eval_x ()
#151 0x805f3b1 in scwm_body_eval_x (body_data=0xbfffeac4) at callbacks.c:624
#152 0x4016211b in scm_internal_lazy_catch ()
#153 0x401621ec in cwss_body ()
#154 0x40161f69 in scm_internal_catch ()
#155 0x40162240 in scm_internal_stack_catch ()
#156 0x805f404 in scwm_body_load (body_data=0xbfffebe8) at callbacks.c:630
#157 0x40161f69 in scm_internal_catch ()
#158 0x806aef5 in scm_internal_cwdr_no_unwind (
    body=0x805f3b4 <scwm_body_load>, body_data=0xbfffebe8, 
    handler=0x80567f4 <scm_handle_by_message_noexit>, handler_data=0x80856c0, 
    stack_start=0xbfffebdc) at guile-compat.c:111
#159 0x805f644 in safe_load (fname=1077954672) at callbacks.c:702
#160 0x4012a6d7 in scm_deval ()
#161 0x40126e11 in scm_eval_3 ()
#162 0x40126ec4 in scm_eval_x ()
#163 0x805f3b1 in scwm_body_eval_x (body_data=0xbfffee48) at callbacks.c:624
#164 0x4016211b in scm_internal_lazy_catch ()
#165 0x401621ec in cwss_body ()
#166 0x40161f69 in scm_internal_catch ()
#167 0x40162240 in scm_internal_stack_catch ()
#168 0x805f4e0 in scwm_body_eval_str (body_data=0x8089f20) at callbacks.c:630
#169 0x40161f69 in scm_internal_catch ()
#170 0x806aef5 in scm_internal_cwdr_no_unwind (
    body=0x805f484 <scwm_body_eval_str>, body_data=0x8089f20, 
    handler=0x80567f4 <scm_handle_by_message_noexit>, handler_data=0x80856c0, 
    stack_start=0xbfffef60) at guile-compat.c:111
#171 0x805f67d in scwm_safe_eval_str (
    string=0x8089f20 "(let ((home-scwmrc       (string-append (getenv \"HOME\") \"/\" \".scwmrc\"))      (system-scwmrc \"/usr/local/share/scwm/scwmrc/system.scwmrc\")) (if (access? home-scwmrc R_OK)     (safe-load home-scwmrc)   "...)
    at callbacks.c:716
#172 0x80784b6 in scwm_main (argc=2, argv=0xbffff3f4) at scwm.c:1077
#173 0x401348cd in gh_launch_pad ()
#174 0x40137649 in invoke_main_func ()
#175 0x4016211b in scm_internal_lazy_catch ()
#176 0x401375fe in scm_boot_guile_1 ()
#177 0x40137379 in scm_boot_guile ()
#178 0x40134908 in gh_enter ()
#179 0x8077a6f in main (argc=2, argv=0xbffff3f4) at scwm.c:543
#180 0x40258cb3 in __libc_start_main (main=0x8077a5c <main>, argc=2, 
    argv=0xbffff3f4, init=0x8055de4 <_init>, fini=0x8084b6c <_fini>, 
    rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffff3ec)
    at ../sysdeps/generic/libc-start.c:78
(gdb) quit
The program is running.  Exit anyway? (y or n) y

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 19 12:11:34 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA07262
	for scwm-discuss-outgoing; Tue, 19 Oct 1999 12:11:34 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA07259
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 19 Oct 1999 12:11:28 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id JAA05705;
	Tue, 19 Oct 1999 09:11:12 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: make-toggling-winop, anchor.xpm
References: <199910191433.KAA22555@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Oct 1999 09:11:12 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Tue, 19 Oct 1999 10:33:13 -0400"
Message-ID: <qrr6703ib4v.fsf@elwha.cs.washington.edu>
Lines: 70
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> Building from the anonymous repository, if I run scwm with the
> following .scwmrc:
> 
>   (use-scwm-modules style)
> 
> I get the following output:
> 
> Error loading module: (app scwm style)
> No backtrace available.
> ERROR: Unbound variable: make-toggling-winop

It's due to a circular dependence that I wrote the guile folks about
yesterday (the error message is less than stellar, eh?).  I'm fixing it
this morning using a perl script to find 2-cycles in the dependence
graph, and I'm eliminating them by hand.

<snip>

> Also, if I do not have anchor.xpm in my load path, and I remove the
> above definition of animated-window-shade (thus eliminating the other
> startup error), it sends guile into an apparent infinite loop.
> Running normally, I get the following output prior to any decoration
> activity:
> 
> [Scwm][make-image]: <<WARNING>> Image file was not found: `anchor.xpm'
> [Scwm][SigDoneSegv]: <<ERROR>> Caught seg fault...
> please run with '--segv-just-stop' or '--segv-reset-count 0'
> and report a bug!
> Trying to continue... save your work if you still can!
> Segmentation fault (core dumped)

Ok, fixed now, thanks!

<snip>

> An unrelated observation: having gone back to running gwm yesterday
> while I couldn't get scwm to start and had back-to-back code
> walkthroughs thus preventing me from having hacking time reminded me
> of how blindingly fast gwm is in comparison to scwm or most other
> window managers for that matter.  With gwm, my startup/restart times
> are virtually imperceptible, and I never see any of the window
> decorations happening.  In contrast, with scwm, it takes about 15
> seconds for startup to occur and I can see each window flash as it
> gets decorated.  I have to say that scwm performs better now on
> today's hardware than gwm did on hardware of 1989 when I started using
> it.  At the time, my gwm profile took over 30 seconds to load.  I
> notice that having after-new-window-hooks defined seriously slows down
> scwm.  Just adding a couple of hooks that do nothing makes window
> decoration very slow.  I suppose most of this has to do with guile.
> Some of what makes gwm so fast is the way wool is implemented, but
> that's also probably gwm's worst failing -- wool is a horrible
> programming environment full of global variables the setting of which
> have magic side effects, and it feels more like C with lisp syntax
> than real lisp....  Anyway, I hope as guile and scwm mature, the
> performance will continue to improve.

I'm definitely working on it... part of the problem is with key-grabs,
too.  I think you'll find that the fewer global key bindings (i.e.,
those with context 'all) the faster the decorations happen.  

I've also got a working "dumped" (or "unexec'd") version of Scwm that
I'm playing with.  The state isn't correct upon starting the dumped
binary, but I'm looking into it.  I'm hopeful that this feature will be
in Scwm-0.99.5

<snip backtrace>

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 19 13:06:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA07769
	for scwm-discuss-outgoing; Tue, 19 Oct 1999 13:06:26 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from lukla.Sun.COM (lukla.Sun.COM [192.18.98.31])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA07766
	for <scwm-discuss@scwm.mit.edu>; Tue, 19 Oct 1999 13:05:58 -0400
Received: from centralmail2.Central.Sun.COM ([129.147.62.11])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id LAA07915
	for <scwm-discuss@scwm.mit.edu>; Tue, 19 Oct 1999 11:05:37 -0600 (MDT)
Received: from muzzy.Central.Sun.COM (muzzy.Central.Sun.COM [129.152.74.150])
	by centralmail2.Central.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id MAA15519
	for <scwm-discuss@scwm.mit.edu>; Tue, 19 Oct 1999 12:05:32 -0500 (CDT)
Received: (from samf@localhost)
	by muzzy.Central.Sun.COM (8.9.3+Sun/8.9.3) id LAA125644;
	Tue, 19 Oct 1999 11:05:33 -0600 (MDT)
To: scwm-discuss@scwm.mit.edu
Subject: how standard is optargs?
From: Sam Falkner <samf@central.sun.com>
Date: 19 Oct 1999 11:05:32 -0600
Message-ID: <ii7d7ubs2lf.fsf@central.sun.com>
Lines: 20
User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

This might be a better question for the guile mailing list, or
comp.lang.scheme, but I thought I'd ask here first since scwm is the
only place I've ever seen optargs (or anything like it).

I was wondering about optargs.scm, and whether this is, or potentially
will become, a standard for Scheme.  Or, if not, how portable
optargs.scm is to other implementations of Schemes.  I searched the
archive for this mailing list, and deja.com's powersearch for optargs
in forums named *scheme*, and saw no previous discussions.

I'm new to Scheme, and I've recently been trying to learn more, since
I will likely try to use Scheme in a new project at work that I'm
trying to start.  I've been having fairly good luck in learning about
Scheme, except when I tried to learn more about the optargs stuff I
see in Scwm.  Then I found optargs.scm, and wondered about how
standard it is, or may become.

Thanks for any history or other insights!

- Sam

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 19 13:21:22 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA07905
	for scwm-discuss-outgoing; Tue, 19 Oct 1999 13:21:22 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA07901
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 19 Oct 1999 13:21:18 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id KAA05834;
	Tue, 19 Oct 1999 10:21:01 -0700 (PDT)
	(envelope-from gjb)
To: Sam Falkner <samf@central.sun.com>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: how standard is optargs?
References: <ii7d7ubs2lf.fsf@central.sun.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Oct 1999 10:21:01 -0700
In-Reply-To: Sam Falkner's message of "19 Oct 1999 11:05:32 -0600"
Message-ID: <qrrn1tfgtc2.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Sam Falkner <samf@central.sun.com> writes:

> This might be a better question for the guile mailing list, or
> comp.lang.scheme, but I thought I'd ask here first since scwm is the
> only place I've ever seen optargs (or anything like it).
> 
> I was wondering about optargs.scm, and whether this is, or potentially
> will become, a standard for Scheme.  Or, if not, how portable
> optargs.scm is to other implementations of Schemes.  I searched the
> archive for this mailing list, and deja.com's powersearch for optargs
> in forums named *scheme*, and saw no previous discussions.

Guile now contains an earlier version of Maciej's optargs.scm.  Scwm's
optargs.scm now supports interactive declarations and some other
reflection capabilities that are lacking in the version bundled with guile.

> I'm new to Scheme, and I've recently been trying to learn more, since
> I will likely try to use Scheme in a new project at work that I'm
> trying to start.  I've been having fairly good luck in learning about
> Scheme, except when I tried to learn more about the optargs stuff I
> see in Scwm.  Then I found optargs.scm, and wondered about how
> standard it is, or may become.
> 
> Thanks for any history or other insights!

It's not at all standard, though it would be nice if it were.  It's
modeled after a similar feature in CLOS.  Others can probably give you
more in-depth history than I can...

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 19 13:29:09 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA07992
	for scwm-discuss-outgoing; Tue, 19 Oct 1999 13:29:09 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA07989
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 19 Oct 1999 13:29:06 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id NAA32399;
	Tue, 19 Oct 1999 13:29:00 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma032396; Tue, 19 Oct 99 13:28:45 -0400
Received: from soup.ads.apexinc.com (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.14) with ESMTP id NAA09206; Tue, 19 Oct 1999 13:28:44 -0400
Received: (from ejb@localhost) by soup.ads.apexinc.com (8.9.3/APEXINC-CLIENT-1.0) id NAA22798; Tue, 19 Oct 1999 13:28:44 -0400
Date: Tue, 19 Oct 1999 13:28:44 -0400
Message-Id: <199910191728.NAA22798@soup.ads.apexinc.com>
X-Authentication-Warning: soup.ads.apexinc.com: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrr6703ib4v.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 19 Oct 1999 09:11:12 -0700)
Subject: Re: make-toggling-winop, anchor.xpm
References: <199910191433.KAA22555@soup.ads.apexinc.com> <qrr6703ib4v.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


   I'm definitely working on it... part of the problem is with key-grabs,
   too.  I think you'll find that the fewer global key bindings (i.e.,
   those with context 'all) the faster the decorations happen.  

Ouch.  I must have about 40 key bindings with context 'all.  Part of
the reason is that I use sloppy focus.  With sloppy focus, it becomes
virtually impossible to bind keys with 'root since there is almost
always a window with focus.  Mostly I want the window something
applies to to be (window-with-pointer) rather than the way window
context is handled now.  Also, I have all my key bindings to invoke
things and jump around the screen in various ways.

Thanks for the replies.  I'll try updating again after the anonymous
repository has time to catch up.

                                Jay

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 19 13:47:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA08199
	for scwm-discuss-outgoing; Tue, 19 Oct 1999 13:47:57 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA08195
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 19 Oct 1999 13:47:51 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id KAA05856;
	Tue, 19 Oct 1999 10:47:41 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: make-toggling-winop, anchor.xpm
References: <199910191433.KAA22555@soup.ads.apexinc.com> <qrr6703ib4v.fsf@elwha.cs.washington.edu> <199910191728.NAA22798@soup.ads.apexinc.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Oct 1999 10:47:41 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Tue, 19 Oct 1999 13:28:44 -0400"
Message-ID: <qrrk8ojgs3m.fsf@elwha.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

>    I'm definitely working on it... part of the problem is with key-grabs,
>    too.  I think you'll find that the fewer global key bindings (i.e.,
>    those with context 'all) the faster the decorations happen.  
> 
> Ouch.  I must have about 40 key bindings with context 'all.  Part of
> the reason is that I use sloppy focus.  With sloppy focus, it becomes
> virtually impossible to bind keys with 'root since there is almost
> always a window with focus.  Mostly I want the window something
> applies to to be (window-with-pointer) rather than the way window
> context is handled now.  Also, I have all my key bindings to invoke
> things and jump around the screen in various ways.

Me too... I'm definitely interested in improving this.  I've some
thoughts on workarounds, but I first need to benchmark what's going on
to gain confidence that my understanding of the problem is correct.

> Thanks for the replies.  I'll try updating again after the anonymous
> repository has time to catch up.

Ok, I'm still working on the circular dependencies issue, though.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 19 15:02:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA08842
	for scwm-discuss-outgoing; Tue, 19 Oct 1999 15:02:51 -0400
Received: from icomm.ca (icomm.ca [216.126.72.23])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA08839
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 19 Oct 1999 15:02:47 -0400
Received: from localhost (skeezix@localhost)
	by icomm.ca (8.9.3/8.9.3) with ESMTP id PAA04660
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 19 Oct 1999 15:02:27 -0400
X-Authentication-Warning: icomm.ca: skeezix owned process doing -bs
Date: Tue, 19 Oct 1999 15:02:26 -0400 (EDT)
From: Jeff Mitchell <skeezix@skeleton.org>
X-Sender: skeezix@icomm.ca
Reply-To: skeezix@skeleton.org
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: make-toggling-winop, anchor.xpm
In-Reply-To: <qrrk8ojgs3m.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.LNX.4.10.9910191500290.4541-100000@icomm.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


	This key-bindings covo made me recall one of my SCWM peeves
(inherited from fvwm, no doubt ... probably not a SCWM issue atall ;).
SCWM seems slow to the user .. perhaps detecting and dispatching events is
the issue, or sluggisg graphic routines, or the guile invocation..
whatever.. grabbing a titlebar and moving a window takes a few moments to
start happening. Fine when its going on, but starting up takes time..

	I find SCWM always slow to respond.

	Anything fixable, or perhaps just an overzealous .scwmrc?

		jeff

--
"It's murder out there. You can't even travel around in your own micro
circuits without permission from 'Master Control Program'. I mean,
sending *ME* down here to play games.... Who does he calculate he is?"
-- Peter Jurasik as Crom, _Tron_


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 19 16:12:56 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA09116
	for scwm-discuss-outgoing; Tue, 19 Oct 1999 16:12:56 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA09113
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 19 Oct 1999 16:12:50 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id NAA06028;
	Tue, 19 Oct 1999 13:12:32 -0700 (PDT)
	(envelope-from gjb)
To: skeezix@skeleton.org
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: make-toggling-winop, anchor.xpm
References: <Pine.LNX.4.10.9910191500290.4541-100000@icomm.ca>
From: Greg Badros <gjb@cs.washington.edu>
Date: 19 Oct 1999 13:12:31 -0700
In-Reply-To: Jeff Mitchell's message of "Tue, 19 Oct 1999 15:02:26 -0400 (EDT)"
Message-ID: <qrr904zgle8.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jeff Mitchell <skeezix@skeleton.org> writes:

> 	This key-bindings covo made me recall one of my SCWM peeves
> (inherited from fvwm, no doubt ... probably not a SCWM issue atall ;).
> SCWM seems slow to the user .. perhaps detecting and dispatching events is
> the issue, or sluggisg graphic routines, or the guile invocation..
> whatever.. grabbing a titlebar and moving a window takes a few moments to
> start happening. Fine when its going on, but starting up takes time..

If you're binding using the basic procedure instead of the immediate
proc, this will occur.  This is worked around in 0.99.4, and maybe
earlier.

> 	I find SCWM always slow to respond.
> 
> 	Anything fixable, or perhaps just an overzealous .scwmrc?

It's just the problem of deciding between single-clicks and
double-clicks that has been discussed a bit here.  See the archives for
more details.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct 20 16:04:07 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA13830
	for scwm-discuss-outgoing; Wed, 20 Oct 1999 16:04:07 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mta2.snfc21.pbi.net (mta2.snfc21.pbi.net [206.13.28.123])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA13827
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 20 Oct 1999 16:04:01 -0400
Received: from shiva ([63.193.252.10])
 by mta2.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8)
 with SMTP id <0FJX002UU3N4VI@mta2.snfc21.pbi.net> for
 scwm-discuss@SCWM.MIT.EDU; Wed, 20 Oct 1999 13:01:52 -0700 (PDT)
Date: Wed, 20 Oct 1999 13:05:16 -0700
From: Maciej Stachowiak <mstachow@alum.mit.edu>
Subject: Re: how standard is optargs?
To: scwm-discuss@SCWM.MIT.EDU, Sam Falkner <samf@central.sun.com>
Message-id: <042d01bf1b36$6d70b4b0$0101a8c0@pacbell.net>
MIME-version: 1.0
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
Content-type: text/plain; charset="iso-8859-1"
Content-transfer-encoding: 7bit
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
References: <ii7d7ubs2lf.fsf@central.sun.com>
X-Priority: 3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


----- Original Message -----
From: Sam Falkner <samf@central.sun.com>
To: <scwm-discuss@SCWM.MIT.EDU>
Sent: Tuesday, October 19, 1999 10:05 AM
Subject: how standard is optargs?


> This might be a better question for the guile mailing list, or
> comp.lang.scheme, but I thought I'd ask here first since scwm is the
> only place I've ever seen optargs (or anything like it).
>
> I was wondering about optargs.scm, and whether this is, or potentially
> will become, a standard for Scheme.  Or, if not, how portable
> optargs.scm is to other implementations of Schemes.  I searched the
> archive for this mailing list, and deja.com's powersearch for optargs
> in forums named *scheme*, and saw no previous discussions.
>
> I'm new to Scheme, and I've recently been trying to learn more, since
> I will likely try to use Scheme in a new project at work that I'm
> trying to start.  I've been having fairly good luck in learning about
> Scheme, except when I tried to learn more about the optargs stuff I
> see in Scwm.  Then I found optargs.scm, and wondered about how
> standard it is, or may become.
>
> Thanks for any history or other insights!

optargs.scm is vaguely similar to both the DSSSL syntax for optional and
keyword
arguments, and the Common Lisp syntax. For both of those languages, optional
and keyword argument support is part of the normal lambda syntax.

As currently written, optargs is not portable; it depends on Guile's
low-level macro
system. However, it could probably be rewritten using the R5RS hygienic
macro
system, which would then only require Scheme implementations to be able to
parse
#&optional, #&key, and #&rest. This requirement could be removed by using
&optional,
&key and &rest instead, since these are valid symbols, but I (and doubtless
many other Schemers) would find special treatment of particular symbols
in this way to be somewhat unaesthetic.

I've thought about writing a portable version of optargs and proposing it as
an SRFI,
in which case it would become vaguely standard. Actually, it should probably
be
two SRFIs, one for just optional argument support, and another for keyword
support,
which would also require support for a keyword type.

 - Maciej



From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct 20 18:57:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA14330
	for scwm-discuss-outgoing; Wed, 20 Oct 1999 18:57:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA14326
	for <scwm-discuss@scwm.mit.edu>; Wed, 20 Oct 1999 18:57:46 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id PAA08165;
	Wed, 20 Oct 1999 15:57:38 -0700 (PDT)
	(envelope-from gjb)
To: scwm-discuss@scwm.mit.edu
Subject: News from my visit to RedHat
From: Greg Badros <gjb@cs.washington.edu>
Date: 20 Oct 1999 15:57:37 -0700
Message-ID: <qrrr9ipej32.fsf@elwha.cs.washington.edu>
Lines: 83
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

As I mentioned on this list a couple weeks ago, I was going to visit
RedHat Advanced Development (RHAD) Labs during my trip to the east
coast.  I'm now back from that trip, and want to briefly share how that
meeting went.

In attendance were Owen Taylor, Jonathan Blandford, Havoc Pennington,
Frederico Mena, Elliott Lee, and David Mason.  I also met Mike
Fullbright (aka Dr. Mike), but he was not around for my demonstration of
Scwm, and didn't go to lunch with us.

First off, these guys are sharp and fun to hang out with;  I enjoyed
discussing technical issues with them and got some great feedback.

Generally, all were impressed with Scwm.  Features that seemed to
particularly wow someone or another among them included:

o constraint solving user interface

o group-based window operations

o flashing XTerms when makes fail, etc.

(FWIW, I couldn't demo the voice recognition interface because my
laptop's audio input is not working properly yet).

Biggish issues they raised:

o Startup time is too long

o Better-looking configuration utility

They were divided about the importance of tight integration with GTk+
theme configuration.

The second concern for a better-looking configuration utility I'll
address in the longer-term with the ability to provide custom widget for 
specific panels.  I'm not willing to give up the ease of exposing an
option to the GUI preferences dialog for a better-looking GUI.  I think
we can have both, and it's certainly an interesting research question as 
to how to describe extensible sub-components of a GUI such that the
resulting complete interface is usable and attractive.

The first concern about startup time I've spent some time this week
working on.  There are two main ways to get there:

1) A more minimalistic gnome.scwmrc;  this is now in the repository (in
unfinished form).  I've also done a lot to split modules up into smaller 
pieces, and move functionality out of system.scwmrc and into proper
modules, and out of flux.scm and into more supported, polished modules.
A kde.scwmrc seems like a good plan, too, but these days I'm using Gnome 
more so that's easier to focus attention on.

2) unexec/dump support for Scwm.  I added this earlier this week when
Scwm is configured with --enable-dump:

	* scwm.c:  Added code from tguile-core.c (of
	hobbit-guile-1.3.4/unexec) to support --dump option which dumps a
	usable binary, but the state isn't yet correct.  Use --enable-dump 
	configure option to access it, and make symlink src/libunexec.a to 
	the guile-hobbit unexec/libunexec.a file.

this does not yet create a dumped binary with the state saved, but the
dumped binary is a working Scwm.  Getting this all working would be a
nice project for someone who understands Emacs's unexec support and has
some knowledge of Guile.  I'm not sure how much effort is left.  One
confounding issue is that the unexec support for guile is meant for the
paradigm where guile is in complete control, whereas Scwm uses a main C
thread of control instead.  Again, this might be a superficial
difference w.r.t. unexec support, but I've not had the time to
investigate at all, yet.

I gathered numerous ideas about some useful extensions to the constraint 
solver from the RHAD folks, and am hopeful that they'll keep an eye on
Scwm development.  They are enthusiastic about Sawmill, though I got the 
impression that no-one had looked at the guts to appreciate the
clunkiness of its REP extension language (clunky in contrast to the
elegance and simplicity of Scheme;  it's not horrific as old-style Lisp
dialects go).

That's the scoop.  I'm happy to answer specific questions about what we
discussed.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct 20 22:28:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA15479
	for scwm-discuss-outgoing; Wed, 20 Oct 1999 22:28:10 -0400
Received: from sanjuan.cs.washington.edu (sanjuan.cs.washington.edu [128.95.8.118])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA15476
	for <scwm-discuss@scwm.mit.edu>; Wed, 20 Oct 1999 22:28:06 -0400
Received: from localhost (jwnichls@localhost)
	by sanjuan.cs.washington.edu (8.9.3/8.9.3/0.2) with SMTP id TAA21337
	for <scwm-discuss@scwm.mit.edu>; Wed, 20 Oct 1999 19:28:00 -0700 (PDT)
	(envelope-from jwnichls@cs.washington.edu)
X-Authentication-Warning: sanjuan.cs.washington.edu: jwnichls owned process doing -bs
Date: Wed, 20 Oct 1999 19:28:00 -0700 (PDT)
From: Jeffrey Nichols <jwnichls@cs.washington.edu>
To: scwm-discuss@scwm.mit.edu
Subject: http://www.linux-mag.com/1999-08/multiple_choice_01.html
Message-ID: <Pine.OSF.4.02A.9910201926540.19032-100000@sanjuan.cs.washington.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Here's a short magazine article about window managers...  Contains a brief
entry about scwm (which illustrates that the graphical configuration
options need more publicity).

		-Jeff

---
Jeff W. Nichols   "There are over forty million lines of code in Windows,
UW CSE                     and I love every one of them."
jwnichls@cs                         - Jean-Louis Gassee CEO, Be Inc.


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct 21 08:46:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id IAA18681
	for scwm-discuss-outgoing; Thu, 21 Oct 1999 08:46:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id IAA18678
	for <scwm-discuss@scwm.mit.edu>; Thu, 21 Oct 1999 08:46:09 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id OAA05208
	for <scwm-discuss@scwm.mit.edu>; Thu, 21 Oct 1999 14:46:01 +0200 (MET DST)
Date: Thu, 21 Oct 1999 14:46:00 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: SCWM Discussion Mailing List <scwm-discuss@scwm.mit.edu>
Subject: FvwmPager doesn't work any more
Message-ID: <19991021144559.A25280@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre4us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

I just discovered that FvwmPager doesn't permit to move windows
between viewports. I used to select windows in the pager with the
middle button and drag them to another viewport. I can still do that
except that the actual window doesn't move at all.

-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct 21 10:33:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA18894
	for scwm-discuss-outgoing; Thu, 21 Oct 1999 10:33:29 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA18891
	for <scwm-discuss@scwm.mit.edu>; Thu, 21 Oct 1999 10:33:19 -0400
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id AAA23952
	for <scwm-discuss@scwm.mit.edu>; Fri, 22 Oct 1999 00:33:09 +1000
Message-ID: <381028F2.D4A5362E@tech.com.au>
Date: Fri, 22 Oct 1999 19:05:54 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: scwm bug?
References: <qrrr9ipej32.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I'm running the latest scwm rpm and a reasonably standard system.scwmrc.
I notice that if I hit the middle mouse button it brings up a window
list - ok, but if there are no windows it brings up a gtk error dialog
about wrong argument to map in position 2 - #f. Maybe there is something
in the code for window list which doesn't account for the empty list?

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct 21 11:47:07 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA19072
	for scwm-discuss-outgoing; Thu, 21 Oct 1999 11:47:07 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA19069
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 21 Oct 1999 11:47:03 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id IAA09239;
	Thu, 21 Oct 1999 08:46:49 -0700 (PDT)
	(envelope-from gjb)
To: Chris Bitmead <chris@tech.com.au>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm bug?
References: <qrrr9ipej32.fsf@elwha.cs.washington.edu> <381028F2.D4A5362E@tech.com.au>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Oct 1999 08:46:48 -0700
In-Reply-To: Chris Bitmead's message of "Fri, 22 Oct 1999 19:05:54 +1000"
Message-ID: <qrr904wemxj.fsf@elwha.cs.washington.edu>
Lines: 13
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

> I'm running the latest scwm rpm and a reasonably standard system.scwmrc.
> I notice that if I hit the middle mouse button it brings up a window
> list - ok, but if there are no windows it brings up a gtk error dialog
> about wrong argument to map in position 2 - #f. Maybe there is something
> in the code for window list which doesn't account for the empty list?

I vaguely remember fixing this, and assure you it's fixed in current CVS 
versions.  I'll be putting Scwm-0.99.5 out this weekend perhaps, and
that should take care of this problem for you.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct 21 11:47:38 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA19077
	for scwm-discuss-outgoing; Thu, 21 Oct 1999 11:47:38 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA19074
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 21 Oct 1999 11:47:35 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id IAA09242;
	Thu, 21 Oct 1999 08:47:24 -0700 (PDT)
	(envelope-from gjb)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: FvwmPager doesn't work any more
References: <19991021144559.A25280@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 21 Oct 1999 08:47:24 -0700
In-Reply-To: Hubert Canon's message of "Thu, 21 Oct 1999 14:46:00 +0200"
Message-ID: <qrr7lkgemwj.fsf@elwha.cs.washington.edu>
Lines: 11
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> I just discovered that FvwmPager doesn't permit to move windows
> between viewports. I used to select windows in the pager with the
> middle button and drag them to another viewport. I can still do that
> except that the actual window doesn't move at all.

I'm aware of this, and think it's easy to fix... hopefully I'll find
some time before 0.99.5.  Thanks for reminding me.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 22 10:09:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA23348
	for scwm-discuss-outgoing; Fri, 22 Oct 1999 10:09:19 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA23345
	for <scwm-discuss@scwm.mit.edu>; Fri, 22 Oct 1999 10:09:13 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id KAA28726
	for <scwm-discuss@scwm.mit.edu>; Fri, 22 Oct 1999 10:09:06 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma028724; Fri, 22 Oct 99 10:09:03 -0400
Received: from localhost.localdomain (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.14) with ESMTP id KAA24119; Fri, 22 Oct 1999 10:09:02 -0400
Received: (from ejb@localhost) by localhost.localdomain (8.9.3/APEXINC-CLIENT-1.0) id KAA31458; Fri, 22 Oct 1999 10:09:02 -0400
Date: Fri, 22 Oct 1999 10:09:02 -0400
Message-Id: <199910221409.KAA31458@localhost.localdomain>
X-Authentication-Warning: localhost.localdomain: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: success (mostly) with RedHat 6.1
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I just installed RedHat 6.1 on my system at work.  I was able to build
guile-1.3.4, guile-gtk, GTL, and cassowary from the source RPMs
mentioned with the 0.99.3 release of scwm (I didn't check to see
whether newer versions were available from the scwm web page because
no newer versions have been announced that I recall) and then built
scwm from the repository.  Everything built and installed without
incident (though I didn't attempt to install scwm) except that, right
at the moment, sample.scwmrc/Makefile.am refers to the
no-longer-existent spare-blue.scwmrc.  Once I removed that reference
from Makefile.am, everything was fine.  I still have to comment out
the definition of animated-toggle-window-shade and make
/usr/local/share/scwm a link to my scwm build area.  (If I fail to do
the latter, I don't get a segmentation fault anymore, but I still get
an error about anchor.xpm, resulting in a failure to load some
modules, resulting in a whole bunch of things being undefined,
rendering my profile mostly inoperative.)  Again, though, this is just
a result of improper installation and arguably not a real bug.

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 22 10:49:28 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA23488
	for scwm-discuss-outgoing; Fri, 22 Oct 1999 10:49:28 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA23485
	for <scwm-discuss@scwm.mit.edu>; Fri, 22 Oct 1999 10:49:22 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id KAA30689
	for <scwm-discuss@scwm.mit.edu>; Fri, 22 Oct 1999 10:49:16 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma030659; Fri, 22 Oct 99 10:48:58 -0400
Received: from localhost.localdomain (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.14) with ESMTP id KAA27305; Fri, 22 Oct 1999 10:48:57 -0400
Received: (from ejb@localhost) by localhost.localdomain (8.9.3/APEXINC-CLIENT-1.0) id KAA32200; Fri, 22 Oct 1999 10:48:57 -0400
Date: Fri, 22 Oct 1999 10:48:57 -0400
Message-Id: <199910221448.KAA32200@localhost.localdomain>
X-Authentication-Warning: localhost.localdomain: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: /dev/dsp: no such device
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


When I start scwm on my machine at work which has no audio hardware in
it, I get the error

/dev/dsp: No such device

A little investigation has determined that this is because I load the
netscape module which in turn loads the wavplay module which in turn
causes esdsound to be loaded.  (strace is your friend.)  I use the
netscape module for one and only one purpose:
netscape-goto-cut-buffer-url.  I don't want it to play sounds, ever.
I have it configured that way so that it never attempts to play
sounds.  However, I am going to get this error message because it has
to load wavplay just in case.  I believe this problem would be solved
if there were an autoloader.  I bet an autoloader would also eliminate
many of the circular dependency issues, and I bet it would result in
an observable decrease in startup time.  Does anyone know whether the
guile people are working on this?  It seems like an incredibly
important feature.  If not, how about a poor-man's autoloader
consisting of a bunch of automatically generated functions that load a
module (presumably replacing their own definitions) and then try to
re-invoke themselves reporting an error upon failure?  I don't know
enough about how guile works and how module name spaces, define-public
vs. define, etc. work to know whether this is feasible.  Any thoughts?
Hopefully it becomes irrelevant as a suitable autoloading mechanism is
introduced....

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 22 11:55:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA23662
	for scwm-discuss-outgoing; Fri, 22 Oct 1999 11:55:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA23659
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 22 Oct 1999 11:55:13 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id IAA17207;
	Fri, 22 Oct 1999 08:54:57 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: success (mostly) with RedHat 6.1
References: <199910221409.KAA31458@localhost.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Oct 1999 08:54:57 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Fri, 22 Oct 1999 10:09:02 -0400"
Message-ID: <qrr4sfjcrvy.fsf@elwha.cs.washington.edu>
Lines: 36
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> I just installed RedHat 6.1 on my system at work.  I was able to build
> guile-1.3.4, guile-gtk, GTL, and cassowary from the source RPMs
> mentioned with the 0.99.3 release of scwm (I didn't check to see
> whether newer versions were available from the scwm web page because
> no newer versions have been announced that I recall) and then built

There is a 0.99.4 but it mostly has a different (rather than smaller)
set of bugs than 0.99.3.  0.99.5 will be out this weekend, I hope.

> scwm from the repository.  Everything built and installed without
> incident (though I didn't attempt to install scwm) except that, right
> at the moment, sample.scwmrc/Makefile.am refers to the
> no-longer-existent spare-blue.scwmrc.  Once I removed that reference

Hmmm... I thought spare-blue.scwmrc is in the repo... it is for me.

> from Makefile.am, everything was fine.  I still have to comment out
> the definition of animated-toggle-window-shade and make
> /usr/local/share/scwm a link to my scwm build area.  (If I fail to do
> the latter, I don't get a segmentation fault anymore, but I still get
> an error about anchor.xpm, resulting in a failure to load some
> modules, resulting in a whole bunch of things being undefined,
> rendering my profile mostly inoperative.)  Again, though, this is just
> a result of improper installation and arguably not a real bug.

Nonetheless, I'd prefer that things not fall apart this badly when there
is a missing pixmap.  I'll try to make some changes to improve this.

Remind me again why you must comment out animated-toggle-window-shade?
Is this with the latest CVS?

Thanks,
Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 22 11:59:39 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA23709
	for scwm-discuss-outgoing; Fri, 22 Oct 1999 11:59:39 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA23706
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 22 Oct 1999 11:59:34 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id IAA17210;
	Fri, 22 Oct 1999 08:58:57 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: /dev/dsp: no such device
References: <199910221448.KAA32200@localhost.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Oct 1999 08:58:57 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Fri, 22 Oct 1999 10:48:57 -0400"
Message-ID: <qrr3dv3crpa.fsf@elwha.cs.washington.edu>
Lines: 35
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> When I start scwm on my machine at work which has no audio hardware in
> it, I get the error
> 
> /dev/dsp: No such device
> 
> A little investigation has determined that this is because I load the
> netscape module which in turn loads the wavplay module which in turn
> causes esdsound to be loaded.  (strace is your friend.)  I use the
> netscape module for one and only one purpose:
> netscape-goto-cut-buffer-url.  I don't want it to play sounds, ever.
> I have it configured that way so that it never attempts to play
> sounds.  However, I am going to get this error message because it has
> to load wavplay just in case.  I believe this problem would be solved
> if there were an autoloader.  I bet an autoloader would also eliminate
> many of the circular dependency issues, and I bet it would result in
> an observable decrease in startup time.  Does anyone know whether the
> guile people are working on this?  It seems like an incredibly
> important feature.  If not, how about a poor-man's autoloader
> consisting of a bunch of automatically generated functions that load a
> module (presumably replacing their own definitions) and then try to
> re-invoke themselves reporting an error upon failure?  I don't know
> enough about how guile works and how module name spaces, define-public
> vs. define, etc. work to know whether this is feasible.  Any thoughts?
> Hopefully it becomes irrelevant as a suitable autoloading mechanism is
> introduced....

I'll see what I can do... there is an autoloading mechanism in Guile
that I've not much experience with and seemed a bit clunky as I was
first reading about it.  See the guile mailing list (a pretty recent
thread) for details.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 22 12:17:30 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA23902
	for scwm-discuss-outgoing; Fri, 22 Oct 1999 12:17:30 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA23895
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 22 Oct 1999 12:17:24 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id MAA01789;
	Fri, 22 Oct 1999 12:17:08 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma001764; Fri, 22 Oct 99 12:16:52 -0400
Received: from localhost.localdomain (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.14) with ESMTP id MAA02606; Fri, 22 Oct 1999 12:16:50 -0400
Received: (from ejb@localhost) by localhost.localdomain (8.9.3/APEXINC-CLIENT-1.0) id MAA05435; Fri, 22 Oct 1999 12:16:50 -0400
Date: Fri, 22 Oct 1999 12:16:50 -0400
Message-Id: <199910221616.MAA05435@localhost.localdomain>
X-Authentication-Warning: localhost.localdomain: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrr4sfjcrvy.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 22 Oct 1999 08:54:57 -0700)
Subject: Re: success (mostly) with RedHat 6.1
References: <199910221409.KAA31458@localhost.localdomain> <qrr4sfjcrvy.fsf@elwha.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


>   > I just installed RedHat 6.1 on my system at work.  I was able to build
>   > guile-1.3.4, guile-gtk, GTL, and cassowary from the source RPMs
>   > mentioned with the 0.99.3 release of scwm (I didn't check to see
>   > whether newer versions were available from the scwm web page because
>   > no newer versions have been announced that I recall) and then built
>
>   There is a 0.99.4 but it mostly has a different (rather than smaller)
>   set of bugs than 0.99.3.  0.99.5 will be out this weekend, I hope.

Yes -- my scwm is from the repository.  I update and rebuild daily.  I
just meant that the other stuff I'm using is whatever was current at
the time of the 0.99.3 release.  I just checked everything, and I see
that the only thing that has changed since (i.e., there is a newer
source rpm on your web page) then is guile-gtk.

>   > scwm from the repository.  Everything built and installed without
>   > incident (though I didn't attempt to install scwm) except that, right
>   > at the moment, sample.scwmrc/Makefile.am refers to the
>   > no-longer-existent spare-blue.scwmrc.  Once I removed that reference
>
>   Hmmm... I thought spare-blue.scwmrc is in the repo... it is for me.

Unless I'm doing something silly, it's not in the anonymous repository.

% cat CVS/Repository 
/anoncvs/scwm/sample.scwmrc
% cat CVS/Root 
:pserver:anoncvs@scwm.mit.edu:/anoncvs
% ls
.cvsignore       decor.scwmrc     relief-examples  system.scwmrc
CVS/             gnome.scwmrc     robbe.scwmrc
ChangeLog        juhp.scwmrc      sds.scwmrc
Makefile.am      mstachow.scwmrc  simple.scwmrc
% cvs -qn update
% 

>   Remind me again why you must comment out animated-toggle-window-shade?
>   Is this with the latest CVS?

Sorry -- this problem has been fixed.  The manifestation of this
problem before was much like what happens with the missing pixmap -- a
module load would fail and a bunch of things would end up undefined.
When I initially had the problem with the pixmap, I mistook it for
this problem.  The removal of animated-toggle-window-shade is no
longer necessary.

All this is with the latest CVS (from about 9:30 a.m. EDT today).
Also, I rebuilt everything completely from scratch today since I just
installed RedHat 6.1 yesterday and decided it would be useful to start
from scratch with the new installation just to make sure everything
was okay.

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 22 12:24:15 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA24100
	for scwm-discuss-outgoing; Fri, 22 Oct 1999 12:24:15 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA24097
	for <scwm-discuss@scwm.mit.edu>; Fri, 22 Oct 1999 12:23:51 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11ehS6-0004PgC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@scwm.mit.edu; Fri, 22 Oct 1999 12:22:02 -0400 (EDT) 
Message-Id: <m11ehS6-0004PgC@localhost>
Date: Fri, 22 Oct 1999 12:22:02 -0400 (EDT)
From: SCWM Account <bob@rattlesnake.com>
To: scwm-discuss@scwm.mit.edu
Subject: spare-blue.scwmrc
Reply-to: bob@rattlesnake.com
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> wrote

    Everything built and installed without incident ..  except that,
    right at the moment, sample.scwmrc/Makefile.am refers to the
    no-longer-existent spare-blue.scwmrc.

Yes, I had the same problem building this morning's CVS snapshot.  And
I have not yet got around to installing SSH1 so I cannot put a fresh
copy in the repository.  Sorry about that.

Here is a current copy of `spare-blue.scwmrc'.  This is a simple
configuration file that should work for everyone.  I have written lots
of explanatory comments, so if you try it, you might want to read it
through.  I have commented out the various parts that are specific to
my system, except that you may not have all the fonts, which are for a
1280x1024 screen.

I am writing and sending this message using this .scwmrc file with
this morning's CVS SCWM snapshot.  (So I am user `scwm' rather than
user `bob'.)

This is mostly working ....  Hmmm, not quite.... `Scwm Options' is not
working, nor is `Change background color'.  Any suggestions?




;;; ~/spare-blue.scwmrc                           -*- scwm -*-
;;; -------------------

;;; This is a .scwmrc configuration file for SCWM, a window manager. 
;;; Called `spare-blue', this has a simple, spare theme and blue backgrounds.

;;; Robert J. Chassell
;;; 1999 Aug 21, 1999 Sep  8, 1999 Oct 22

;; ==> Note that font sizes are for a 1280x1024 screen.  
;;     You may have to adjust sizes for your resolution.

    ;;--------------;;
    ;; CVS snapshot ;;
    ;;--------------;;

;; This file was tested with the CVS snapshot of 1999 Sep  8 

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2 of the License, or
;; (at your option) any later version.
;; 
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.
;; 
;; You should have received a copy of the GNU General Public License
;; along with this program; if not, write to the Free Software
;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

;; To obtain a CVS snapshot of the SCWM development sources
;; execute the following at your shell prompt.
;; Be warned that development sources often but don't always work!

;; I keep my scwm sources in /u/scwm.
;; The first time you obtain a snapshot do the following

;;     mkdir /u
;;     cd /u
;;     export CVSROOT=':pserver:anoncvs@scwm.mit.edu:/anoncvs'
;;     cvs login
;;        ## type `anoncvs' as the password at the `CVS password:' prompt
;;     cvs get scwm

;; The second and subsequent times, to update your CVS snapshot, do:

;;     cd /u/scwm
;;     export CVSROOT=':pserver:anoncvs@scwm.mit.edu:/anoncvs'
;;     cvs login
;;        ## type `anoncvs' as the password at the `CVS password:' prompt
;;     cvs update -Pd

;; Run these compile commands to build scwm:

;;     ./autogen.sh; 
;;     ./ltconfig --cache-file=./config.cache --with-gcc --with-gnu-ld ;
;;     ./ltmain.sh i686-pc-linux-gnu; ./configure --enable-maintainer-mode ;
;;     env CFLAGS='-Wall -W' make -k"

;; On my system, SCWM-related files are in:
;;
;;               /usr/local/share/scwm/
;; particularly
;;               /usr/local/share/scwm/modules/app/scwm/
;;               /usr/local/share/scwm/pixmaps
;;               /usr/local/share/scwm/themes
;;
;; as well as
;;               /usr/local/lib/
;;               /usr/local/include/
;;               /usr/local/bin/
;;

;; My sources are in   /u/scwm

;; Samples in          /u/scwm/sample.scwmrc/

;; Themes in           /u/scwm/themes

;; Other scm files are in:
;;
;;    /usr/lib/elk/scm
;;    /usr/lib/scm
;;    /usr/share/slib


    ;;---------------;;
    ;; Starting SCWM ;;
    ;;---------------;;

;; To start SCWM, place the following in your ~/.xsession file:

    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;;                                        ;;
    ;;    #! /bin/bash                        ;;
    ;;    exec scwm -f ~/spare-blue.scwmrc    ;;
    ;;                                        ;;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


;; then run `startx' from your shell prompt.

;; If you wish to use X windows display :0,
;; set your color depth to 32, 
;; and record errors and other information in a file called X-log,
;; run:
;;            startx -- :0 -bpp 32 > X-log 2>&1
;;

;; On my system, this SCWM configuration takes 30 seconds to start.


    ;;---------------------------;;
    ;; display a startup message ;;
    ;;---------------------------;;

;; Do this very early so people do not wait too long.  
;; This message takes ten seconds to appear on my machine.

;; First we must import the scwm modules that provide the requisit services.
;; The message-window module imports base.scm and three other modules.

(use-scwm-modules message-window)
(define helvetica12 (load-font "-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*"))

;; Set message-window-style
(message-window-style default-message-window
		      #:font *message-window-font*
                      #:fg "white" 
                      #:bg "blue")

;; Display startup message for 15 seconds, after which it goes away
;; If you have a faster machine, you may want to shorten the time.
(display-message-briefly
 "Starting SCWM  ...  this takes thirty seconds on my machine  ...  " 15)



    ;;-----------------------------------;;
    ;; ---- Import the scwm modules ---- ;;
    ;;-----------------------------------;;

;; Import the scwm modules that run the window manager.

;; You can use one or other of the commands: use-scwm-modules or use-modules.

;; The latter command requires that you specify the subdirectories
;; under the modules directory under which the specific modules are
;; are located.  Thus, the command (use-modules (app scwm base))
;; loads the base.scm module from   /usr/local/share/scwm/modules/app/scwm/

;; As you can see, the top level directory is
;; /usr/local/share/scwm/modules/

;; The use-scwm-modules command presumes the desired modules are in the
;; /usr/local/share/scwm/modules/app/scwm/  directory.

;; List modules in alphabetical order, so it is easier to keep track of them.
;; Am probably loading more than I need.
(use-scwm-modules  
 advice
 animated-iconify 
 animation 
 auto-raise
 background
 base 
 decor 
 defoption 
 dir-focus 
 doc 
 face 
 file 
 flash-window 
 flux 
 flux-gtk 
 fvwm-compat
 fvwm-eval
 fvwm-module 
 gnome-hints
 group 
 highlight-current-window
 key-mover
 listops 
 menus-extras
 message-window 
 modifier-key-bindings 
 optargs 
 path-cache 
 placement
 preferences 
 primopts 
 property-respond 
 quote 
 send-string 
 std-menus 
 stringops
 style 
 stylist 
 themes
 tile
 time-convert 
 undo
 virtual
 window-selection
 wininfo 
 winlist 
 winops 
 )

;; Example of `use-modules' command 
;; (This example does not load as many modules as the command above.)
;; (use-modules 
;;  (app scwm auto-raise)
;;  (app scwm base)
;;  (app scwm decor)
;;  (app scwm desk-background)
;;  (app scwm face)
;;  (app scwm flux)
;;  (app scwm fvwm-module)
;;  (app scwm module-types)
;;  (app scwm style)
;;  (app scwm themes)
;;  (app scwm wininfo)
;;  (app scwm winlist)
;;  (app scwm winops)
;;  (app scwmp references))


    ;;-------------------------------------;;
    ;; set window configuration at startup ;;
    ;;-------------------------------------;;

;; These commands replace most of what goes into a ~/.xinitrc or ~/.xsession
;; file.  

;; ==> Note that font sizes are for a 1280x1024 screen.  
;;     You may have to adjust sizes for your resolution.

;; Blue is restful on my eyes; shows less flicker (to which I am sensitive).
(set-background-color! "Navy")

;; for analog clock in upper right
(execute "xclock -analog -bg navy -fg white -hd white -hl white \
          -update 1  -geometry 80x80-130+5")

;; for digital clock in upper left
(execute "xclock -digital -bg navy -fg white -hd white -hl white \
          -update 1 -geometry +0+0")

;; for GMT digital clock in upper left
(scwm-system "TZ=GMT0 xclock -digital -bg navy -fg white -hd white -hl white \
              -update 1 -geometry +202+0&")

;; Other clock information is located in: 
;; /usr/local/share/scwm/modules/app/scwm/ScwmClock.scm

;; Create some xterms.  Note the name for the tall xterm; 
;; that is so it is easy for me to pick from an icon list.

(execute "xterm -T 80x24 -n 80x24 -bg mediumblue \
               -fg white -cr white -geometry 80x24+0+75")

(execute "xterm -T 80x74 -n '|| 80x74 ||' -bg mediumblue \
      -fg white -cr white -geometry 80x74+450+10 -iconic")

;; Here are other programs that are usually run from ~/.xinitrc

(execute "xrdb ~/.Xresources > /dev/null")

;; The contents of my .Xresources file are:
;; 
;; *Label*shadowWidth: 3
;; 
;; XTerm*jumpScroll:	true
;; XTerm*scrollBar:	true
;; XTerm*cutToBeginningOfLine: false
;; XTerm*cursorColor:	white
;; XTerm*saveLines:	800
;; 
;; Emacs*background:	darkblue
;; Emacs*foreground:	white
;; Emacs*cursorColor:	white
;; Emacs*pointerColor:  white
;; Emacs*bold.AttributeBackground: dodger blue
;; Emacs*bold.AttributeForeground: white
;; Emacs.MenuBar:       on


;; My preferred keymap is:  /usr/share/keymaps/i386/qwerty/emacs2.map.gz
;; This emulates it X
(execute "xmodmap -e 'clear Lock'")
(execute "xmodmap -e 'add Control = Caps_Lock'")
(execute "xmodmap -e 'keysym Tab = Tab'")
(execute "xmodmap -e 'keycode 22 = BackSpace'")
(execute "xmodmap -e 'keycode 107 = Delete'")

;; Fonts

;; For Emacs; extract from: /usr/local/src/intlfonts-1.0.tar.gz
;; Others that could be loaded include:
;;   Asian Chinese-BIG Chinese Ethiopic Japanese-BIG Japanese Korean
;; For the GIMP, put Type 1 and Speedo fonts first.

(execute "xset fp+ /usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/freefont/,/usr/X11R6/lib/X11/fonts/sharefont/,/usr/local/src/intlfonts/European,/usr/local/src/intlfonts/Asian,/usr/local/src/intlfonts/Misc")


(execute "xset fp rehash")

    ;;;; end set window configuration at startup ;;;;



    ;;--------------------------------;;
    ;; basic configuration parameters ;;
    ;;--------------------------------;;


;; This definition is used to define *theme-path*  and is helpful if
;; you specify files to load, as shown immediately below.
(define HOME (getenv "HOME"))

;; You can define USER this way
;; (define USER (getenv "USER"))  


;; If you are loading both local and system settings, you can do this:

;; (define USERROOT (string-append HOME "/.scwm"))
;; (define SYSTEMROOT "/etc/X11/scwm")
;;
;; (let ((SYSTEMSETTINGS (string-append SYSTEMROOT "/settings"))
;;       (USERSETTINGS (string-append USERROOT "/settings")))
;;   (cond ((file-exists? USERSETTINGS)
;;          (load USERSETTINGS))
;;         ((file-exists? SYSTEMSETTINGS)
;;          (load SYSTEMSETTINGS))
;;         ))

;; However, rather than employ additional files for this `spare-blue'
;; configuration, I have copied my  ~/.scwm/settings  file into this
;; .scwmrc file, so the above load commands are not needed and are
;; therefore commented out.

;; Also, I do not load any system-wide settings.  These actions mean
;; that I have to keep track of only one file, this ~/.scwmrc file
;; (plus the ~/.xsession file for starting X).

;;;;;;;;;;;;;;;;   copy of   ~/.scwm/settings    ;;;;;;;;;;;;;;;;

;;  ~/.scwm/settings      -*- scwm -*-
;; basic configuration parameters for scwm
;; ATTENTION!!!: THE FOLLOWING VARIABLES MUST BE DEFINED!!!
;; user-image-path, menu-font, title-font, icon-font,
;; focus-type, restart-function, init-function,
;; window-toggle-maximize

;; ==> Note: I have copied this file from the distribution, and customized it.

;;; Specify how to focus on a window ;;;
;; ==> Note: I also specify the mouse focus type in the generic window
;; style; this may be redundant

;; here you can put one of these values:
;; 'click     - must click on the window to focus.
;; 'mouse     - the window gains focus as the mouse enters or leaves.
;; 'sloppy    - the window gains focus as the mouse enters, but does not
;;              lose it if the pointer enters the root window, or a window
;;              with 'click or 'none focus.
;; 'none      - don't ever give this window focus, even if
;;              it is clicked.

(define focus-type 'mouse)


;; ==> Note: image-load-path also defines where images are located.
;; this defines the path where a user can put own images 
(define user-image-path '())

;; now we define the font for menus, titles and icons
(define helvetica12
  (load-font "-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*"))

(define menu-font helvetica12)
(define title-font helvetica12)
(define icon-font helvetica12)

;; ==> Note: Apparently, this two functions serve as `hooks' --
;; `restart-function' is run before (restart "scwm")
;; and `init-function' is run at the end of this file.
;; Here, these two functions are defined to do nothing.

;; this is the function, scwm calls when you restart it 
(define (restart-function)
  ())

;; init-function is the function, scwm calls after the initialisation.
(define (init-function) 
  ())

;;; now we define the maximize function
;; use this definition, if you want the normal vertical-only maximize function

;; ==> Note that I have defined this to maximize almost, but all the
;; way to the top of the screen.  This is because I always like some
;; visible root screen space.

(use-scwm-modules animation) 
(use-modules (app scwm c-animation))

;; This should make the window appear at the initial position, 1/4 of the
;; way, 1/2 of the way, 3/4 of the way, and finally slide into place.
(set-animation! #(0.0 0.25 0.5 0.75 1.0))

;; Or try this!  It changes size in a cartoon-like way before settling down.
;; (set-animation! #(0.0 -0.05 -0.1 -0.15 -0.2 -0.25 -0.2 -0.15 -0.1 -0.05
;; 0.0 0.25 0.5 0.75 1.0
;; 1.05 1.1 1.15 1.2 1.25 1.2 1.15 1.1 1.05 1.0))

(define (vertical-toggle-maximize) 
  (toggle-maximize 0 (%y 95)))

;; use this function, if you want a vertical-and-horizontal maximize function

;; (define (window-toggle-maximize)
;;   (toggle-maximize (%x 99) (%y 99))
;;   (move-to 7 7))
    
;;;;;;;;;;;;;;;;   end copy of   ~/.scwm/settings    ;;;;;;;;;;;;;;;;



    ;; -------;;
    ;; decors ;;
    ;; -------;;

;; These decors enable you to change a theme on a per-window basis.
;; Only std-d, lizard-d, and grad-d are defined here.
;; grad-d is the default for this ~/.scwmrc file

(define std-d (make-decor "std"))
(with-decor std-d
            (title-style #:font helvetica12 #:justify 'left #:relief 'raised)
            (border-style #:hidden-handles #f #:no-inset #t))

(define lizard-d (make-decor))
(with-decor lizard-d
            (title-style #:font helvetica12 #:justify 'left #:relief 'raised)
            (border-style #:hidden-handles #f 
                          #:no-inset #t
                          #:inactive
                          (list #:hidden-handles #f #:no-inset #t)))

(define grad-d (make-decor))
(with-decor grad-d
            (set-rubber-band-mask! 127)
            (title-style 
             #:font helvetica12 
             #:justify 'left 
             #:relief 'flat
             #:h-gradient (list 
                           20 (list "OrangeRed3" 20) "OrangeRed3" "#3cb21c")
             #:inactive 
             (list 
              #:h-gradient
              ;; (list 40 (list "grey50" 20) "grey50" "grey25")
                 (list 20 (list "mediumblue" 20) "mediumblue" "navyblue")
                 ))

            (border-style 
             #:no-inset #f 
             #:hidden-handles #f))



(define decor-list (list (cons "Standard" std-d) (cons "Lizard" lizard-d)
                         (cons "Gradient" grad-d)))

    ;;;; end decors ;;;;




    ;; --------------------;;
    ;; locations of images ;;
    ;; --------------------;;

;;; Set path to use for image searches
;;; On my system, all icons that I use are actually in
;;; /usr/X11R6/include/X11/pixmaps/

(append! image-load-path
     (list
      "/usr/X11R6/include/X11/pixmaps" 
      "/usr/X11R6/include/X11/bitmaps"
      "~/pixmaps"
      "~/bitmaps"
      "/usr/share/icons"              ;; /usr/share/icons is for wmaker
      "/usr/local/lib/X11/mini-icons"
      ))

;; Other possible image directories; none of these are on my system.
;;      "/usr/X11/lib/X11/mini-icons"
;;      "/usr/share/include/X11/pixmaps"
;;      "/usr/share/include/X11/bitmaps"
;;      "/usr/lib/icons"
;;      "/usr/local/X11/include/X11/pixmaps"
;;      "/usr/lib/TheNextLevel/pixmaps"
;;      "/usr/local/lib/icons"
;;      "/usr/local/icons"



    ;;----------------------------------;;
    ;; create miniature icons for menus ;;
    ;;----------------------------------;;

;; Create the image form used in various menus
;; Not all of these images are used in this ~/.scwmrc file, 
;; but are kept because the might be useful in the future.

;; These must be loaded before the window styles, which use them.

(define bolt-i    (make-image "mini-ray.xpm"))
(define bomb-i    (make-image "mini-bomb.xpm"))
(define bomb-smaller-i (make-image "mini.bomb.xpm"))
(define book2-i   (make-image "mini-book2.xpm"))
(define calc-i    (make-image "mini-calc.xpm"))
(define cd-i      (make-image "mini-cdlabel.xpm"))
(define clock-i   (make-image "mini-clock.xpm"))
(define cross-i   (make-image "mini-cross.xpm"))
(define ctd-i     (make-image "mini-connect.xpm"))
(define debian-i  (make-image "Debian-transparent.xpm"))
(define decor-i   (make-image "mini-exclam.xpm"))
(define dos-i     (make-image "mini-bug2.xpm"))
(define edit-i    (make-image "mini-edit.xpm"))
(define excl-i    (make-image "mini-exclam.xpm"))
(define eyes-i    (make-image "mini-eyes.xpm"))
(define fig-i     (make-image "mini-paint.xpm"))
(define fm-i      (make-image "mini-filemgr.xpm"))
(define games-i   (make-image "mini-happy.xpm"))
(define ghost-i   (make-image "mini-gv.xpm"))
(define gimp-i    (make-image "mini-wilbur.xpm"))
(define hamm-i    (make-image "mini-hammer.xpm"))
(define lock-i    (make-image "mini-lock.xpm"))
(define lower-i   (make-image "mini-lower.xpm"))
(define man-i     (make-image "mini-manual.xpm"))
(define max1-i    (make-image "mini-max1.xpm"))
(define nscape-i  (make-image "mini-netscape.xpm"))
(define pdf-i     (make-image "mini-pdf.xpm"))
(define quest-i   (make-image "mini-question.xpm"))
(define raise-i   (make-image "mini-raise.xpm"))
(define resize-i  (make-image "mini-resize.xpm"))
(define run-i     (make-image "mini-run.xpm"))
(define rxvt-i    (make-image "mini-term.xpm"))
(define stop-i    (make-image "mini-stop.xpm"))
(define term-i    (make-image "mini-sh1.xpm"))
(define turn-i    (make-image "mini-turn.xpm"))
(define windows-i (make-image "mini-windows.xpm"))
(define x2-i      (make-image "mini-x2.xpm"))
(define xv-i      (make-image "mini-xv.xpm"))
(define xx-i      (make-image "mini-x.xpm"))
(define xxgdb-i   (make-image "mini-bug1.xpm"))
;;(define manx-i    (make-image "mini-xman.xpm"))
;; (define decor-i   (make-image "mini-color-splotch.xpm"))

    ;;;; end miniature icons for menus ;;;;



    ;; -----------------------;;
    ;; general window styles  ;;
    ;; -----------------------;;

;; Move all windows opaquely and always resize opaquely
(set! *opaque-move-percent* 100)
(set! *opaque-resize-percent* 100)

;; Enable run-time theme changes
(append! *theme-path*
         (list (string-append (scwm-path-prefix) "/share/scwm/themes")
               (string-append HOME "/themes")))

;; Define a style for the clock and other such items
(define desk-widget
  (make-style #:plain-border #t 
              #:sticky #t 
              #:winlist-skip #t
              #:border-width 3 
              #:focus 'none))

    ;;---------------------------;;
    ;; specific window styles    ;;
    ;;---------------------------;;

;; I don't like to see icons for my main programs when a window is
;; iconified, only the text with its name, so I commented out those
;; icons.

(window-style "xterm" 
;;              #:icon "/usr/X11R6/lib/X11/twm/images/xterm.xpm"
              #:mini-icon term-i 
              #:use-decor grad-d)

(window-style "emacs" 
;;              #:icon "gnu-animal.xpm"
              #:icon-box (list (x- 35) 1 35 (y- 141))
              #:use-decor grad-d)

;; (window-style "netscape" 
;; ;;              #:icon "netscape.xpm"
;;               #:placement-proc place-at-point
;;               #:use-decor grad-d)

(window-style "gimp" 
;;              #:icon "wilber.xpm"
              #:mini-icon gimp-i
              #:use-decor grad-d)

(window-style "xclock*" 
              #:no-titlebar #t 
              #:circulate-skip #t 
              #:use-style desk-widget
              #:fg "yellow"
              #:bg "red")

(window-style "*lock" #:use-style desk-widget)
(window-style "xload" #:no-titlebar #t #:use-style desk-widget)
(window-style "xscreensaver" #:no-titlebar #t #:use-style desk-widget)
(window-style "xbiff" #:no-titlebar #t #:use-style desk-widget)

(window-style "xcalc" #:icon "xcalc.xpm")
(window-style "xman" #:icon "xman.xpm")
(window-style "xmag" #:icon "mag_glass.xpm")


    ;;--------------------------;;
    ;; set generic window style ;;
    ;;--------------------------;;

;; This sets the window style for attributes not mentioned in specific
;; window styles for specific windows.

(window-style "*" 

              #:icon #f      ;; this turns off icons, but leaves icon titles
              #:show-icon #t ;; show text of titles for icon, not images
              ;; #:sticky-icon #t

              #:auto-raise #t
              #:auto-raise-delay 0
              #:auto-raise-focus-proc raise-window

              ;; fg is the color used in the text of icon titles,
              ;; and in the text of inactive images in the pager.
              #:fg "white"

              ;; bg is the color used in the background of icon titles,
              ;; for inactive buttons on a title bar,
              ;; for inactive images in the pager.
              #:bg "blue"

              ;; icon-box: X-position, Y-position, width, height
              ;; #:icon-box (list (x- 70) 1 69 (y- 141))
              #:icon-box (list (x- 35) 1 35 (y- 141))

              #:focus 'mouse
              #:border-width 3 

;;              #:placement-proc place-at-point
;;              #:transient-placement-proc place-at-point
;;              #:random-placement #t 
;;              #:smart-placement #t

              #:mwm-func-hint #t 
              #:mwm-decor-hint #t
              #:hint-override #t 
              #:decorate-transient #t
              #:PPosition-hint #f
              #:lenience #t

              #:use-decor grad-d)



    ;;-------;;
    ;; Pager ;;
    ;;-------;;

;; This pager is adapted by the scwm developers from that for Fvwm;
;; hence the references to "FvwmPager" 

(set-desk-size! 2 2)

(set-edge-scroll! (%x 100) (%y 100))

;; delay a move across an edge briefly, and require a small threshhold
;; some people prefer considerably higher values, such as 500 500
(set-edge-resistance! 150 150)


(window-style "FvwmPager" 
              #:no-titlebar #t 
              #:use-style desk-widget)

(register-fvwm2-module-config "FvwmPager"
 "*FvwmPagerGeometry -220+4"
 "*FvwmPagerDeskTopScale 40"
 "*FvwmPagerHilight NavajoWhite2"            ; active window
 "*FvwmPagerBack burlywood3"                 ; non-active windows
 ;; FvwmPagerFore is used for the dashed lines separating 
 ;; workspaces in the pager
 "*FvwmPagerFore DarkSlateBlue"
 "*FvwmPagerFont none"
 "*FvwmPagerSmallFont 5x8"
 "*FvwmPagerInterPageLineStyle solid"
 "*FvwmPagerLabel 0 Top"
 "*FvwmPagerLabel 1 Bottom"
)

;; The following shows two desktops on a double wide pager:
;; (define fvwm2-pager (run-fvwm2-module "FvwmPager" '("0" "1")))

;; The following shows only the first desktop, not desk two.
(define fvwm2-pager (run-fvwm2-module "FvwmPager" '("0" "0")))

;; ;;;;;;;;;;;;;;;;; Second Pager ;;;;;;;;;;;;;;;;
;;
;; How to create a pager for a second desktop
;; The pager itself appears on both desktops 
;;   see  /usr/local/src/scwmdoc.pdf
;; Create a second FVWM executable:
;;   cd /usr/lib/X11/fvwm2; cp -p FvwmPager FvwmPager-2-
;;
;; Evaluate the following:
;;
;; (window-style "FvwmPager-2-" 
;;               #:no-titlebar #t 
;;               #:use-style desk-widget)
;; 
;; (register-fvwm2-module-config "FvwmPager-2-"
;;  "*FvwmPager-2-Geometry -330+4"        ; put pager to left of other
;;  "*FvwmPager-2-DeskTopScale 40"
;;  "*FvwmPager-2-Hilight NavajoWhite2"   ; active window
;;  "*FvwmPager-2-Back burlywood3"        ; non-active windows
;;  "*FvwmPager-2-Fore DarkSlateBlue"
;;  "*FvwmPager-2-Font none"
;;  "*FvwmPager-2-SmallFont 5x8"
;;  "*FvwmPager-2-InterPageLineStyle solid"
;;  "*FvwmPager-2-Label 0 Top"
;;  "*FvwmPager-2-Label 1 Bottom")
;; 
;; (define fvwm2-pager-2 (run-fvwm2-module "FvwmPager-2-" '("1" "1")))
;;
;; ;;;;;;;;;;;;;;;; end second pager ;;;;;;;;;;;;;;;;

    ;;;; End Pager ;;;;


    ;;---------------;;
    ;; define  menus ;;
    ;;---------------;;

;;; menus used by the main root menu ;;;

;; Mouse button bindings are defined in a section below;
;; this section creates the menus.

;; The steps are:
;;  1. create menus used by main root menu (done in this section)
;;  2. create main menu 
;;  3. bind the menu to an action such as a mouse click (done below)

;; quit-verify is used by the main root menu
(define quit-verify
  (menu 
   (list 
    (menuitem "Really quit scwm?" #f)
    menu-title
    (menuitem "Yes" #:action quit)
    (menuitem "No" #:action #f)
    menu-separator
    (menuitem "Restart scwm" #:action (lambda ()
                                        (restart-function)
                                        (restart "scwm"))))))

;; desk-menu is used by the main root menu  
;; and is also bound to meta-mouse-3 in the root window

(define desk-menu
  (menu 
   (list
    (menuitem "Desks" #f)
    menu-title
    (menuitem "Desk 1" #:action (lambda () (set-current-desk! 0)))
    (menuitem "Desk 2" #:action (lambda () (set-current-desk! 1)))
    (menuitem "Desk 3" #:action (lambda () (set-current-desk! 2)))
    (menuitem "Desk 4" #:action (lambda () (set-current-desk! 3))))))


;;; Debian menus ;;;

;; If you load the file that contains the Debian menus,
;; you can uncomment and use the entries in the main-root-menu below
;; that list the Debian menus.

;; On my system, the Debian menus were generated automatically when I
;; first installed Scwm and were placed in a file called
;;     ~/.scwm/scwm_menus

;; You can load the Debian menus file here by uncommenting this command:

;;;;     (load (string-append (getenv "HOME") "/.scwm/scwm_menus"))

;; (Change the name of the file as needed for your system.)

;; The Debian menus list many programs, all of which are part of the
;; Debian GNU/Linux distribution, but not all of which may be
;; installed on your machine.

;; The Debian menus listed below that you may uncomment if you wish are:
;;    /Debian/Apps
;;    /Debian/Games
;;    /Debian/Screen
;;    /Debian/System
;;    /Debian/WindowManagers
;;    /Debian/XShells


;;; main root menu ;;;

;; left button mouse menu on root window
(define (popup-main-root-menu)
  (popup-menu main-root-menu))

(define main-root-menu
  (menu 
   (list
    (menuitem "Main Menu" 
              #:image-left "mini-penguin.xpm" 
              ;; #:image-left "jline.xpm" "mini-penguin.xpm"  "jline.xpm"
              #f)

    menu-separator
    (menuitem
     "&80x24 Window" 
     #:image-left 
     "mini.xterm.xpm" 
     #:action (lambda () 
                (execute "xterm -bg darkblue -fg white -cr orchid \
                           -geometry 80x24+2+130 -name '80x24 xterm' \
                           -title xterm -e /bin/bash -login")))
    (menuitem
     "&80x74 Window" 
     #:image-left 
     "mini.xterm.xpm" 
     #:action (lambda () 
                (execute "xterm -bg darkblue -fg white -cr orchid \
                           -geometry 80x74+530+2 -name '80x74 xterm' \
                           -title xterm -e /bin/bash -login")))

    menu-separator

    (menuitem 
     "&GNU Emacs" 
     #:image-left "mini.emacs.xpm" 
     #:action (lambda () 
                (execute "/usr/bin/emacs20 -fn 7x14 -bg darkblue \
                 -fg white -geometry 81x62-150+100 -name 'GNU Emacs'")))

;;     (menuitem 
;;      "&Emacs 21" 
;;      #:image-left "mini.emacs.xpm" 
;;      #:action (lambda () 
;;         (execute "/usr/local/bin/emacs -fn 7x14 -q -l ~bob/.emacs-21 \
;;                 -bg  darkblue -fg white -geometry 80x66+635+44 \
;;                 --icon-type -name 'Emacs 21'")))

    menu-separator

;;     (menuitem 
;;      "Netscape 3.04" 
;;      #:image-left "mini-netscape.xpm"
;;      #:action (lambda () 
;; (execute "/usr/local/src/netscape-304/netscape -geometry 740x900+350+20")))


    (menuitem 
     "Gzilla" 
     #:image-left "mini-gzilla.xpm"
     #:action (lambda () (execute "gzilla")))

    (menuitem "The Gimp" 
              #:image-left "mini-wilbur.xpm"
              #:action (lambda () (execute "gimp")))

    menu-separator

    (menuitem "&xcolors" 
              #:image-left "mini.rainbow.xpm" 
              #:action (lambda () (execute "xcolors")))

;;;; Uncomment the following Debian menus 
;;;; only if you have loaded the file that contains them.
;;;; See above for how to load that file.

;;     menu-separator
;;     (menuitem "Debian Menus" #:image-left debian-i)
;;     menu-separator
;;     (menuitem "&Apps"           #:action /Debian/Apps)
;;     (menuitem "&Games"          #:action /Debian/Games)
;;     (menuitem "&Screen"         #:action /Debian/Screen)
;;     (menuitem "S&ystem"         #:action /Debian/System)
;;     (menuitem "&WindowManagers" #:action /Debian/WindowManagers)
;;     (menuitem "&XShells"        #:action /Debian/XShells)

    menu-separator

    (menuitem "Desks" 
              #:image-left "/usr/X11R6/lib/tkdesk/images/ficons16/desk.xpm"
              #:action desk-menu)

    menu-separator

    (menuitem 
     "Restart scwm" 
     #:image-left "mini-start.xpm"
     #:action (lambda () (restart-function) (restart "scwm")))

    menu-separator
    (menuitem 
     "Quit scwm" 
     #:image-left "mini-cross.xpm"
     #:action quit-verify))))

;;; end main root menu ;;;


;;; middle mouse root menu ;;;


;; menu-for-preferences  is used by the middle mouse root menu
(define menu-for-preferences
  (menu 
   (list 
    (menu-title "Preferences" #f) 
    menu-separator

    (menuitem "Scwm &Options...." #:action (lambda () (scwm-options-dialog)))

    (menuitem "Change background color..."
              #:action (lambda () 
                         (prompt-color 
                          "New background color"
                          (lambda (c) (set-background-color! c))
                          #:title "Background color?")))

    ;; global themes are in
    ;;     /usr/local/share/scwm/themes
    ;;  as tar.gz files that Scwm reads automagically
    (menuitem "Change global theme" 
              #:submenu 
              (lambda () (menu-global-theme #t)))

    (menuitem "Scwm interaction" #:action
              (run-in-xterm "scwmrepl"))

    (menuitem "Info on a window" 
              #:action window-info))))

;; middle mouse button on root window
(define (popup-ops) (popup-menu window-ops-menu))

;; middle mouse button on root window; bound to popup-ops
(define window-ops-menu
  (menu 
   (list
    (menu-title "Window Ops" #f)
    menu-separator
    (menuitem "Move" #:action interactive-move)
    (menuitem "Resize" #:action interactive-resize)
    (menuitem "Raise" #:action raise-window)
    (menuitem "Lower" #:action lower-window)
;;    (menuitem "Print" #:action print-window)
    (menuitem "(Un)Window-Shade" #:action toggle-window-shade)
    (menuitem "(De)Iconify" #:action toggle-iconify)
    (menuitem "(Un)Maximize" #:action vertical-toggle-maximize)
    (menuitem "(Un)Stick" #:action toggle-stick)
    (menuitem "(Un)Keep On Top" #:action toggle-on-top)
    menu-separator
    (menuitem "&Preferences" #:image-left "mini-prefs.xpm" 
              #:action 'menu-for-preferences)
    menu-separator
    (menuitem "Close" #:action close-window)
    (menuitem "Delete" #:action delete-window)
    (menuitem "Destroy" #:action destroy-window)
    menu-separator
    (menuitem "Restart scwm" #:action (lambda ()
                                        (restart-function)
                                        (restart "scwm")))
    menu-separator
    (menuitem "Refresh Screen" #:action refresh))))

;;; end middle mouse root menu ;;;


;;; titlebar mouse menu ;;;

;;  bindings for mouse buttons on the title bar
;;  are created in a section below 

;; leftmost button on title bar
(define (popup-small-ops)
  (popup-menu (make-small-window-ops-menu (get-window))))

;; leftmost button on title bar
(define (make-small-window-ops-menu ww)
  (menu (list
         (menu-title "Small Ops" #:image-left windows-i)
         menu-separator
         (menuitem "Re&size" #:image-left resize-i
                   #:action interactive-resize)
         menu-separator
         (menuitem "Info" #:image-left quest-i
              #:action  window-info)

         (menuitem "More" 
                   #:action
                   (menu (list
                          (menuitem "&Raise"
                                    #:action raise-window)
                          (menuitem "&Lower"
                                    #:action lower-window)
;;                           (menuitem (if (sticky? ww) "Un&stick" "&Stick")
;;                                     #:action toggle-stick)
;;                           (menuitem (if (window-shaded? ww)
;;                                         "Unwindow-S&hade" "Window-S&hade")
;;                                     #:action toggle-window-shade)
;;                           (menuitem (if (kept-on-top? ww)
;;                                         "UnKeep On Top" "Keep On Top")
;;                                     #:action toggle-on-top)
)))
         (menuitem "Decorations" 
                   #:image-left decor-i 
                   #:action
                   (menu (map (lambda (dec)
                                (menuitem
                                 (car dec) #:action
                                 (lambda () (style-one-window ww #:use-decor
                                                              (cdr dec)))))
                              decor-list)))
         menu-separator
         (menuitem "&Close" #:image-left cross-i
                   #:action close-window)
         (menuitem "&Delete" #:image-left bomb-smaller-i #:action delete-window)
         (menuitem "&Destroy" #:image-left bomb-i #:action destroy-window))))

    ;; ---------------------------;;
    ;; how title bar buttons look ;;
    ;; ---------------------------;;

(define prog-face (make-face '((relief raised)) '((pixmap mini-program-icon))))
(define edit-face (make-face '((relief raised)) '((pixmap "mini-edit.xpm"))))
(define term-face (make-face '((relief raised)) '((pixmap "mini-term.xpm"))))

(define iconify-face
;;  (make-face '((relief raised)) '((pixmap "mini.iconify.xpm")))


;;  (make-face '((relief flat))
;; 	     '((pixmap "mini-shrink-windows-full.xpm")))
  (make-face '((relief raised))
 ;;; 3 stacked square panels like stills of a window being minimized
	     '((relief-pattern
		((80 20 #f) (80 60 #f) (60 60 #f) (60 40 #f) (60 70 #f) 
			    (40 70 #f) (40 60 #f) (40 85 #f) (15 85 #f) 
			    (15 60 #t) (40 60 #t) (30 60 #t) (30 40 #t) 
			    (60 40 #t) (45 40 #t) (45 20 #t) (80 20 #t)))))
)

(define stylized-X-face         ; Stylized X for closing window
  (make-face '((relief raised))
             '((relief-pattern
                ((20 20 #t) (30 20 #t) (50 40 #t) (70 20 #t) (80 20 #t)
                 (80 30 #f) (60 50 #f) (80 80 #f) (70 80 #f) (50 60 #f)
                 (30 80 #f) (20 80 #f) (20 70 #f) (40 50 #t) (20 30 #f)
                 (20 20 #t))))))

(define up-down-arrow-face      ; Vertical Line with arrowheads on
  (make-face '((relief raised)) ; top and bottom for toggling vert-maximize
             '((relief-pattern
                ((50 10 #t) (25 35 #t) (40 35 #t) (40 60 #t) (25 60 #t)
                 (50 85 #t) (75 60 #f) (60 60 #f) (60 35 #f) (75 35 #f)
                 (50 10 #f) (50 10 #t))))))



    ;; ----------------------------------------;;
    ;; how to bind a mouse button to an action ;;
    ;; ----------------------------------------;;

;; As of 1999 Sep 28, title bar buttons are numbered in two different
;; ways, depending on which functions are called.

;; The old way, now deprecated, referred to button-1, button-2, 
;; button-3,  and so on.  The sequence on the title bar went like this:

;;    left side            right side
;;    1  3  5                 6  4  2

;; This sequence is used by  `set-button-face!' to determine which
;; button location receives which face

;; However, titlebar buttons are now labeled `left-button-1', 
;; `left-button-2', `right-button-2',`right-button-1', and so on.

;; The sequence on the title bar goes like this:

;; left side                                            right side
;; left-button-1 left-button-2       right-button-2 right-button-1

;; This sequence is used by `bind-mouse' to determine which button
;; location carries out which action when pressed.

;; The `set-button-face!' function takes the arguments:
;;
;;    BUTTON-NUMBER  ACTION
;;
;; where the BUTTON-NUMBER is 1, 3, 5 for the left side and 6, 4, 2
;; for the right side of the titlebar.


;; In a titlebar, the `bind-mouse' function takes the arguments:
;;
;;    TITLE-BAR-BUTTON-NAME  MOUSE-BUTTON  PROCEDURE-INVOKED
;;
;; where TITLE-BAR-BUTTON-NAME is a string giving the mouse button number
;; MOUSE-BUTTON is the left, middle, or right mouse button, 
;; numbered 1, 2, 3
;;
;; More generally speaking,  TITLE-BAR-BUTTON-NAME  is  CONTEXTS 
;; and is a list of event-contexts (e.g., '(left-button-1 frame-sides)) 
;; 
;; The contexts include:
;; 'window
;; 'title
;; 'icon
;; 'root
;; 'frame-corners
;; 'frame-sides
;; 'client-window
;; 'root-window
;; 'left-button-N  (N=1-5)
;; 'right-button-N (N=1-5)


    ;; -----------------------------;;
    ;; set button faces on titlebar ;;
    ;; -----------------------------;;

;; This adds the button faces to the titlebar, in all decors.

;; left-most button, the action of which is a menu
(map (lambda (decor) 
       (with-decor (cdr decor) (set-button-face! 1 prog-face ))) 
     decor-list)

;; second to left-most button, the action of which is to toggle size
(map (lambda (decor) 
       (with-decor (cdr decor) (set-button-face! 3 up-down-arrow-face))) 
     decor-list)

;; second to right-most button, the action of which is to iconify
(map (lambda (decor) 
       (with-decor (cdr decor) (set-button-face! 4 iconify-face))) 
     decor-list)

;; right-most button, the action of which to delete the window
(map (lambda (decor) 
       (with-decor (cdr decor) (set-button-face! 2 stylized-X-face))) 
     decor-list)

    ;; -------------------------------;;
    ;; titlebar button mouse bindings ;;
    ;; -------------------------------;;

;; context:            left-most titlebar button
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  popup-small-ops
(bind-mouse 'left-button-1 1 popup-small-ops)

;; context:            second to left-most titlebar button
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  vertical-toggle-maximize
(bind-mouse 'left-button-2 1 vertical-toggle-maximize)

;; context:            second to right-most titlebar button
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  iconify
(bind-mouse 'right-button-2 1 animated-iconify)

;; context:            right-most titlebar button
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  delete-window
(bind-mouse 'right-button-1 1 delete-window)

    ;;;; end titlebar button mouse bindings ;;;;


    ;; -------------------------------------;;
    ;; Mouse button bindings in root window ;;
    ;; -------------------------------------;;

;;; root menus ;;;

;; context:            root window
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  popup-main-root-menu
(bind-mouse 'root 1 popup-main-root-menu)

;; context:            root window
;; mouse button:       number two, which is middle mouse button
;; procedure invoked:  popup-ops
(bind-mouse 'root 2 popup-ops)

;; context:            root window
;; mouse button:       number three, which is right mouse button
;; procedure invoked:  show-window-list-menu
(bind-mouse 'root 3 
            (lambda () 
              (show-window-list-menu #t 
                                     #:by-resource #t
                                     #:show-last-focus-time #t
                                     #:show-geometry #t)))

;; context:            root window
;; mouse button:       Meta (e.g., ALT) key and right mouse button, together
;; procedure invoked:  popup-menu
(bind-mouse 'root "M-3" (lambda () (popup-menu desk-menu)))

    ;;;; end mouse button bindings in root window ;;;;


    ;; ------------------------------------------------------;;
    ;; Mouse button bindings in corners and sides of windows ;;
    ;; ------------------------------------------------------;;

;; context:            window corners
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  resize-or-raise
(bind-mouse 'frame-corners 1 resize-or-raise)

(bind-mouse 'frame-corners 2 popup-small-ops)

(bind-mouse 'frame-sides 1 resize-or-raise)

(bind-mouse 'frame-sides 2 move-or-raise)

;;;; Example: how to bind mouse button in two contexts
;; context:            window corners and window sides
;; mouse button:       number two, which is middle mouse button
;; procedure invoked:  popup-small-ops
;; (bind-mouse '(frame-corners frame-sides) 2 popup-small-ops)



;; context:            titlebar (not a button)
;; mouse button:       number two, which is middle mouse button
;; procedure invoked:  toggle-raise
(bind-mouse 'title 2 toggle-raise)

;;; Bind mouse button to one action for single click, 
;;; second action for double click

;; First define the action using double-click as one mouse-event-type
(define (move-or-shade)
  (case (mouse-event-type)
    ((double-click) (toggle-window-shade))
    (else (move-or-raise))))

;; context:            titlebar (not a button)
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  move-or-shade
(bind-mouse 'title 1 move-or-shade)

    ;;;; end mouse button bindings in corners and sides of windows ;;;;



    ;; ---------------------------------------;;
    ;; Mouse button bindings inside of window ;;
    ;; ---------------------------------------;;

;; Meta-Mouse-3 anywhere in window moves or shades it
;; context:            anyhwere in a window
;; mouse button:       number three, which is right mouse button
;; procedure invoked:  move-or-shade
(bind-mouse 'window "M-3" move-or-shade)

;; Meta-Mouse-2 closes a window 
;; either by deleting (friendly) or destroying it.
;; context:            window
;; mouse button:       Meta (e.g., ALT) key and middle mouse button, together
;; procedure invoked:  close-window
(bind-mouse 'window "M-2" close-window)

    ;;;; end mouse button bindings inside of window ;;;;


    ;;---------------------------------;;
    ;; Mouse button bindings for icons ;;
    ;;---------------------------------;;

;; Either deiconify or move an icon
(define (move-or-deiconify)
  (case (mouse-event-type)
    ((motion) (interactive-move))
    ((double-click) (deiconify))))

(bind-mouse 'icon 1 deiconify-window)
(bind-mouse 'icon 2 move-or-deiconify)

    ;;;; end mouse button bindings for icons ;;;;


    ;;--------------------------------;;
    ;; key binding for window context ;;
    ;;--------------------------------;;

;; I find I use this key binding all the time!
(bind-key 'window "M-z" animated-iconify)

    ;;;; end key binding for window context ;;;;



    ;;----------------------------------;;
    ;; key binding to move the viewport ;;
    ;;----------------------------------;;

(bind-key 'all "C-Left" (lambda () (move-viewport (%x -100) 0)))
(bind-key 'all "C-Right" (lambda () (move-viewport (%x 100) 0)))
(bind-key 'all "C-Up" (lambda () (move-viewport 0 (%y -100))))
(bind-key 'all "C-Down" (lambda () (move-viewport 0 (%y 100))))

;; Also, you can rotate among the current window using a keyboard command.
;; I don't use these because I usually have too many windows for this
;; to be efficient.

;; (bind-key 'all "M-Tab" 
;;           (lambda () (next-window #:only visible? #:except iconified?)))
;; 
;; (bind-key 'all "M-S-Tab" 
;;           (lambda () (prev-window #:only visible? #:except iconified?)))

    ;;;; end key binding to move the viewport ;;;;


    ;;---------------------------;;
    ;; key binding for emergency ;;
    ;;---------------------------;;

;; This binding came as part of the distribution.

;; This works in all contexts

;; in case of emergency, hit Control-Meta-Shift-Q
(bind-key 'all "C-M-S-q" quit)

;;;; Normally, you quit your X Windows session by closing applications
;;;; and then pressing Meta-Ctrl-Backspace (you may use your Alt key for Meta)
;;;; or by using the  mouse to `Quit scwm".

    ;;;; end key bindings for emergency ;;;;



    ;;--------------------------------------;;
    ;; Preferences from scwm-options-dialog ;;
    ;;--------------------------------------;;

(load-preferences)


    ;;----------------------------------;;
    ;; init-function: last item in file ;;
    ;;----------------------------------;;


;; this function appears to me to server as a hook; it was defined
;; earlier in this file

(init-function)

;; (make-message-window "Starting SCWM ... done ")

;;;;;;;;;;;;;;;; end of ~/spare-blue.scwmrc  file ;;;;;;;;;;;;;;;;

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 22 13:11:39 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA24342
	for scwm-discuss-outgoing; Fri, 22 Oct 1999 13:11:39 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA24339
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 22 Oct 1999 13:11:36 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id KAA17311;
	Fri, 22 Oct 1999 10:11:27 -0700 (PDT)
	(envelope-from gjb)
To: bob@rattlesnake.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: spare-blue.scwmrc
References: <m11ehS6-0004PgC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 22 Oct 1999 10:11:26 -0700
In-Reply-To: SCWM Account's message of "Fri, 22 Oct 1999 12:22:02 -0400 (EDT)"
Message-ID: <qrryacvb9s1.fsf@elwha.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

SCWM Account <bob@rattlesnake.com> writes:

> "E. Jay Berkenbilt" <ejb@ql.org> wrote
> 
>     Everything built and installed without incident ..  except that,
>     right at the moment, sample.scwmrc/Makefile.am refers to the
>     no-longer-existent spare-blue.scwmrc.
> 
> Yes, I had the same problem building this morning's CVS snapshot.  And
> I have not yet got around to installing SSH1 so I cannot put a fresh
> copy in the repository.  Sorry about that.
> 
> Here is a current copy of `spare-blue.scwmrc'.  This is a simple
> configuration file that should work for everyone.  I have written lots
> of explanatory comments, so if you try it, you might want to read it
> through.  I have commented out the various parts that are specific to
> my system, except that you may not have all the fonts, which are for a
> 1280x1024 screen.
> 
> I am writing and sending this message using this .scwmrc file with
> this morning's CVS SCWM snapshot.  (So I am user `scwm' rather than
> user `bob'.)
> 
> This is mostly working ....  Hmmm, not quite.... `Scwm Options' is not
> working, nor is `Change background color'.  Any suggestions?

Check your use-scwm-modules lines to see if all the needed modules are
there.  Or report the error messages and I can help you a bit more.

Greg

P.S. I'll update the spare-blue.scwmrc in the repo with a new one when
you correct the errors.  (An earlier version should be in the repo, now)

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 23 03:50:28 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA26223
	for scwm-discuss-outgoing; Sat, 23 Oct 1999 03:50:28 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from seldon.dtek.chalmers.se (bR/oX14uLn7fgbqxxQOp9icqW5fkBRqg@seldon.dtek.chalmers.se [129.16.30.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA26220
	for <scwm-discuss@scwm.mit.edu>; Sat, 23 Oct 1999 03:50:22 -0400
Received: from licia.dtek.chalmers.se (BeSFdYo8fcGKJDjrB3USgU+Kk/f+RkXx@licia.dtek.chalmers.se [129.16.30.88])
	by seldon.dtek.chalmers.se (8.8.8/8.8.8) with ESMTP id JAA21129
	for <scwm-discuss@scwm.mit.edu>; Sat, 23 Oct 1999 09:50:10 +0200 (MET DST)
Received: (from d4jonas@localhost)
	by licia.dtek.chalmers.se (8.9.3/8.9.3) id JAA23170;
	Sat, 23 Oct 1999 09:50:09 +0200 (MET DST)
To: scwm-discuss@scwm.mit.edu
Subject: Re: [Makefile bug?] Failure/Solaris/Imlib.h not found
References: <wtnzoxjrt6p.fsf@jaim.dtek.chalmers.se>
X-No-Archive: Yes
Mail-Copies-To: never
Organization: The Deciples of Albericht Nibelungen
From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Date: 23 Oct 1999 09:50:09 +0200
In-Reply-To: Jonas Steverud's message of "16 Oct 1999 21:39:42 +0200"
Message-ID: <wtnogdq349a.fsf@licia.dtek.chalmers.se>
Lines: 10
User-Agent: Gnus/5.070091 (Pterodactyl Gnus v0.91) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jonas Steverud <d4jonas@dtek.chalmers.se> writes:

[...]

Has anyone looked into this?

/Jonas, want to upgrade from 0.8.
-- 
( Jonas Steverud  @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 23 15:52:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA29393
	for scwm-discuss-outgoing; Sat, 23 Oct 1999 15:52:11 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA29387
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 23 Oct 1999 15:52:04 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id MAA19342;
	Sat, 23 Oct 1999 12:51:42 -0700 (PDT)
	(envelope-from gjb)
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: [Makefile bug?] Failure/Solaris/Imlib.h not found
References: <wtnzoxjrt6p.fsf@jaim.dtek.chalmers.se> <wtnogdq349a.fsf@licia.dtek.chalmers.se>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Oct 1999 12:51:42 -0700
In-Reply-To: Jonas Steverud's message of "23 Oct 1999 09:50:09 +0200"
Message-ID: <qrrd7u5c0tt.fsf@elwha.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jonas Steverud <d4jonas@dtek.chalmers.se> writes:

> Jonas Steverud <d4jonas@dtek.chalmers.se> writes:
> 
> [...]
> 
> Has anyone looked into this?

I hadn't until you reminded me (I saved the article, but it's very easy
for older problems to get lost behind newer ones).

I believe it's now fixed in the repository. Please let me know if it
doesn't work for you.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 23 15:58:37 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA29480
	for scwm-discuss-outgoing; Sat, 23 Oct 1999 15:58:37 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA29476
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 23 Oct 1999 15:58:31 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id MAA19345;
	Sat, 23 Oct 1999 12:58:21 -0700 (PDT)
	(envelope-from gjb)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: scwm-0.99.4 : old bug still present
References: <19991015172950.A20852@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Oct 1999 12:58:20 -0700
In-Reply-To: Hubert Canon's message of "Fri, 15 Oct 1999 17:29:51 +0200"
Message-ID: <qrrbt9pc0ir.fsf@elwha.cs.washington.edu>
Lines: 56
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hi,
> 
> I think gtk is compiled with gtk, but I am not sure (how to check that
> ?).
> 
> ./configure  --prefix=/udd/canon --with-gnu-ld --with-x --disable-esd --disable-esdtest --disable-imlibtest --disable-imlib --without-cassowary --with-gtk-prefix=/usr/local --x-includes=/usr/openwin/include --x-libraries=/usr/openwin/lib
> 
> 
> With a fresh scwm (with an empty .scwmrc, as 'scwm -f /dev/null'
> doesn't work) :
> 
> 
> scwm> (use-scwm-modules (ice-9 session) doc flux)
> Error loading module: (app scwm flux)

This looks like an install problem.

> 
> ;;; WARNING (no code for module gtk)
> 
> ;;; WARNING (no code for module gdk)

This too.

> /udd/canon/share/scwm/modules/app/scwm/bincomm.scm:164:3: In procedure uniform-array-write in expression (uniform-array-write str port):
> /udd/canon/share/scwm/modules/app/scwm/bincomm.scm:164:3: Bad file number
> 
> 
> or sometimes, scwm simply crashes.

Hmmm.. that shouldn't happen, but I think your builds or installs are
not robust in some way.  I suggest using truss/strace and locate to try
to track down where Scwm is looking for stuff and then try to figure out 
why the stuff isn't there.

> and after that :
> 
> scwm> (use-scwm-modules gtk)
> ((app scwm gtk))
> scwm> (use-scwm-modules gtk-menu)
> Error loading module: (app scwm gtk-menu)
> /udd/canon/share/scwm/modules/app/scwm/bincomm.scm:164:3: In procedure uniform-array-write in expression (uniform-array-write str port):
> /udd/canon/share/scwm/modules/app/scwm/bincomm.scm:164:3: Unbound variable: gtk-menu-item-new

<snip>

> The command comes from scwm.el : I removed "flux", and now it works
> perfectly :

Recent versions of scwm.el do not require flux any longer, so hopefully
that piece of the problem will disappear.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 23 16:17:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA29622
	for scwm-discuss-outgoing; Sat, 23 Oct 1999 16:17:10 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA29615
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 23 Oct 1999 16:17:04 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id NAA19402;
	Sat, 23 Oct 1999 13:16:54 -0700 (PDT)
	(envelope-from gjb)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: failure story
References: <19991014165012.A24610@ZhengHe.augustin.thierry>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Oct 1999 13:16:53 -0700
In-Reply-To: Francois-Rene Rideau's message of "Thu, 14 Oct 1999 16:50:12 +0200"
Message-ID: <qrraep9bznu.fsf@elwha.cs.washington.edu>
Lines: 64
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> Dear SCWM developers,
>    I was running a fairly "old" SCWM and decided
> to try out a more recent version, so as to squish bugs,
> and see if the memory leak was finally over
> (the post0.99.1 version already had improved a lot as
> compared to previous releases that ate so much memory as to
> require a restart every other day).
> 
>     Scwm Version post0.99.1 compiled on Aug 26 1999 at 02:18:21
>     RCS_ID=$Id: scwm.c,v 1.203 1999/08/25 22:25:51 gjb Exp $
>     Repository Timestamp: Wed Aug 25 19:54:30 EDT 1999 -- $Revision: 1.2075 $
> 
>     -- fig. 1, old SCWM version
> 
> First, the cvs update wouldn't work. I'd get wierd problems (directory
> does not exist) when trying to update /anoncvs/scwm/scwm/

This was probably because of the rename of the scwm/scwm directory to
scwm/src (though I observed that a `cvs update -dP' did the right thing, 
maybe there's some other problem that I didn't anticipate).

> So I made a fresh checkout, and it worked fine, except for an error message
> about missing ./README while running automake. Finally, the code compiled,
> and I launched the new scwm.
> 
>     Scwm Version 0.99.4 compiled on Oct 14 1999 at 15:35:15
>     RCS_ID=$Id: scwm.c,v 1.223 1999/09/28 20:19:08 gjb Exp $
>     Repository Timestamp: Thu Oct  7 17:17:56 EDT 1999 -- $Revision: 1.223 $
> 
>     -- fig. 2, new SCWM version
> 
> Now, I got errors at startup when loading one of prefs-menu, std-menu or flux:
> 
>     Error loading module: (app scwm prefs-menu)
>     ERROR: In procedure message-window-set-image!:
>     ERROR: Wrong type argument in position 2: #f
> 
>     -- fig. 3, error at startup

Ok, I've made this even more robust (I'd already changed
message-window-set-image! to let #f mean revert to no image).

> I removed those three from my startup file (don't know what they are here for;
> I guess I just inherited those things from a gjb.scwmrc I started with).
> More problematic is the fact that my scwm-input.scm file (defining keyboard
> and mouse bindings) is processed without error, but without effect either.
> None of the bindings work (the default bindings are barely enough to survive);
> the windows have no icons or menus, either. Trying to enforce things at the
> scwmrepl won't do.
> 
> I'm using guile 1.3, glibc 2.1.2, etc, on a recently upgraded potato system.

I suggest upgrading to 1.3.4 as there are new features that benefit
Scwm. (And startup time is slightly better, too).

> Now back to the good old working scwm (didn't I promise that next time
> I would have a backup of a working scwm?).

:-)

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 23 16:35:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA29817
	for scwm-discuss-outgoing; Sat, 23 Oct 1999 16:35:01 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA29810
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 23 Oct 1999 16:34:55 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id NAA19429;
	Sat, 23 Oct 1999 13:34:41 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: success (mostly) with RedHat 6.1
References: <199910221409.KAA31458@localhost.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Oct 1999 13:34:41 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Fri, 22 Oct 1999 10:09:02 -0400"
Message-ID: <qrr904tbyu6.fsf@elwha.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> I just installed RedHat 6.1 on my system at work.  I was able to build
> guile-1.3.4, guile-gtk, GTL, and cassowary from the source RPMs
> mentioned with the 0.99.3 release of scwm (I didn't check to see
> whether newer versions were available from the scwm web page because
> no newer versions have been announced that I recall) and then built
> scwm from the repository.  Everything built and installed without
> incident (though I didn't attempt to install scwm) except that, right
> at the moment, sample.scwmrc/Makefile.am refers to the
> no-longer-existent spare-blue.scwmrc.  Once I removed that reference
> from Makefile.am, everything was fine.  I still have to comment out
> the definition of animated-toggle-window-shade and make
> /usr/local/share/scwm a link to my scwm build area.  (If I fail to do
> the latter, I don't get a segmentation fault anymore, but I still get
> an error about anchor.xpm, resulting in a failure to load some
> modules, resulting in a whole bunch of things being undefined,
> rendering my profile mostly inoperative.)  Again, though, this is just
> a result of improper installation and arguably not a real bug.

I think this is now more robust in the current CVS;  I made it not
error, but instead just print a message.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 23 16:36:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA29833
	for scwm-discuss-outgoing; Sat, 23 Oct 1999 16:36:33 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA29827
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 23 Oct 1999 16:36:06 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id NAA19433;
	Sat, 23 Oct 1999 13:35:51 -0700 (PDT)
	(envelope-from gjb)
To: puneet <puneet@computer.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: load-path
References: <14337.27341.73716.242487@gargle.gargle.HOWL>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Oct 1999 13:35:50 -0700
In-Reply-To: puneet's message of "Mon, 11 Oct 1999 10:12:53 +0530 (INDIA)"
Message-ID: <qrr7lkdbys9.fsf@elwha.cs.washington.edu>
Lines: 10
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

puneet <puneet@computer.org> writes:

>    I am new to scwm. I want to know what scwm variable is equivalent
>    to the emacs lisp variable `load-path'. I want to load .scm files
>    from a path other than the standard path.

%load-path is the Guile variable (also see SCWM_LOAD_PATH and
GUILE_LOAD_PATH environment variables).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 23 17:06:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA30153
	for scwm-discuss-outgoing; Sat, 23 Oct 1999 17:06:24 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA30150
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 23 Oct 1999 17:05:48 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id OAA19527;
	Sat, 23 Oct 1999 14:05:32 -0700 (PDT)
	(envelope-from gjb)
To: Arturo Perez <arturo@infonautics.com>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Wharf in scwm
References: <199910081556.LAA30223@mail01.infonautics.com>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Oct 1999 14:05:31 -0700
In-Reply-To: Arturo Perez's message of "Fri, 08 Oct 1999 11:52:01 -0400"
Message-ID: <qrr4sfhbxes.fsf@elwha.cs.washington.edu>
Lines: 11
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Arturo Perez <arturo@infonautics.com> writes:

> I want to run the Afterstep (or fvwm) Wharf module.  Can someone point me
> in the right direction for getting that to work?

The fvwm-module module is the right idea -- see the fvwm2-pager stuff in 
system.scwmrc and see how far you can get.

Good luck, and please report back problems, etc.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 23 17:06:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA30154
	for scwm-discuss-outgoing; Sat, 23 Oct 1999 17:06:24 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA30146
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 23 Oct 1999 17:05:34 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id OAA19524;
	Sat, 23 Oct 1999 14:04:53 -0700 (PDT)
	(envelope-from gjb)
To: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Cc: SCWM discussion list <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: Problems with 0.99.4
References: <Pine.LNX.4.10.9910081728580.30270-100000@marvin.ida.ing.tu-bs.de>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Oct 1999 14:04:52 -0700
In-Reply-To: Dirk Herrmann's message of "Fri, 8 Oct 1999 17:54:52 +0200 (MEST)"
Message-ID: <qrr66zxbxfv.fsf@elwha.cs.washington.edu>
Lines: 80
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> Hi,
> 
> again I have to report a bunch of problems with scwm.  Some of these may
> not be bugs, but represent intended behaviour.  However, they seem strange
> to me.

Glad to have the reports -- don't apologize!

> * On startup, the gnome panel has no borders, which is OK.  But when I
>   change the global theme, suddenly it gets some. (I start with mwm as
>   global theme and then change the theme to gjb.)

This is a problem with not having a default window style separate from a 
"everything" window style.  I'm aware of it, but haven't yet considered
whether the obvious fix (using a default window style and just marking
windows when a window-style applies to the window) is good enough to
bother doing it.  I think we really want a notion of specificity of
window styles like a class hierarchy, and perhaps a better design could
be more unifying (e.g., w.r.t. the decoration and event rewrites).

> * Changing the global theme as described above does not influence the
>   window icons of existing windows.  Only when I start a new window, this
>   new window will get the icons of the newly selected theme.  However, the
>   window frames are always updated for all windows.

Can you give me some directions on how to reproduce this exactly?  I
think this will be an easy fix, but I don't use icons regularly.
Ideally, a small .scwmrc and directions on how to use it.

> * Rubberband moves still don't work correctly:  The small coordinate
>   window that indicates the position during the move still leaves small
>   rubbish lines on the screen.  Further, any window contents that are
>   hidden by the coordinate window are wiped out.

I'll have to build w/o the constraint solver to debug this, and that's
unfortunately low on my list of priorities since I'm pushing instead on
doing more w/ the solver, not less.  I'll happily take patches to
correct this of course, but probably won't get to it myself in the
immediate future.

> * By coincidence, I had removed the code that hides the scwm logo at the
>   end of the system.scwmrc.  Thus, after the system.scwmrc was processed,
>   the scwm-logo still remained on the screen and got a window title like
>   any other window (but no frame).  When I selected 'close' from that
>   window menu this lead to a complete shutdown of scwm and X.

I've fixed this now.   Thanks!

> Further, I suggest to change the host menus to be always freshly computed
> from the host lists as shown in the following example:
> 
> (define linux-hosts
>   '(zaphod marvin))
> 
> (define (menu-hosts-linux)
>   (menu (cons
>          (menu-title "Linux Hosts")
>          (make-hosts-menu-gjb linux-hosts))))
> 
> ...
>     (menuitem "Linux Hosts" #:image-left "mini-windows.xpm"
>               #:submenu menu-hosts-linux)
> ...
> 
> This makes it easier to update the hosts list while the system is running.
> For me it is the easiest way to introduce others to the power of scwm's
> run-time configurability, because it's such an obvious example:
> 
> (define linux-hosts '(zaphod marvin trillian))
> 
> and the menu immediately allows you to get an xterm for that new host.

Good suggestion.  Change is made.  Thanks!

Repo will be updated shortly.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 23 17:13:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA30313
	for scwm-discuss-outgoing; Sat, 23 Oct 1999 17:13:50 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA30307
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 23 Oct 1999 17:13:46 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id OAA19534;
	Sat, 23 Oct 1999 14:13:36 -0700 (PDT)
	(envelope-from gjb)
To: bob@rattlesnake.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: fail to build cassowary-0.52
References: <qrrwvsy8jh9.fsf@tolt.cs.washington.edu> <m11ZcvY-0004GUC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Oct 1999 14:13:36 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Fri, 8 Oct 1999 12:31:28 -0400 (EDT)"
Message-ID: <qrr3dv1bx1b.fsf@elwha.cs.washington.edu>
Lines: 61
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Robert J. Chassell" <bob@rattlesnake.com> writes:

>     Cassowary v0.52 
>     Debian 2.1 (slink) with some newer packages
>     egcs-2.91.60 (as egcc)
>     Scwm v0.99.4 builds and runs
> 
> I cannot build cassowary-0.52 from sources.
> 
> Summary: after make a kludge to fix what seem to be the result of
> problems with the Makefile, I am stumped by an error that says:
> 
>     ClTests.o: In function `ExCLTooDifficultSpecial type_info function':
>     /usr/local/src/cassowary-0.52/c++/cassowary/ClErrors.h(.ne_map<node, ClVariable, allocator<ClVariable> >::gnu.linkonce.t.(graph const &, ClVariable)+0x11): undefined reference to `node::node(void)'
>      /usr/local/src/cassowary-0.52/c++/cassowary/ClErrors.h(.ne_map<node, ClVariable, allocator<ClVariable> >::gnu.linkonce.t.(graph const &, ClVariable)+0x1b): undefined reference to `graph::number_of_ids(node) const'
>         collect2: ld returned 1 exit status
> 
> Could one of you please help me?  I don't know C++ and know hardly any C.

It's easier to build Cassowary with the GTL library;  grab the sources
to it from http://scwm.mit.edu and then build and install it, and then
try building again. 

> 
> Here is what I did:
> 
>     egcc --version  ==> egcs-2.91.60
> 
>     cd /usr/local/src/
>     tar xvzf cassowary-0.52.tar.gz 
>     cd /usr/local/src/cassowary-0.52/
> 
>     GCC=egcc GTK_CONFIG=/usr/local/bin/gtk-config ./configure --enable-warnings
>     make -k
> 
> However, this failed with the message:
> 
>     Making all in c++
>     make[1]: Entering directory `/usr/local/src/cassowary-0.52/c++'
>     make[1]: *** No rule to make target `cassowary/config-inline.h', needed by `ClAbstractVariable.o'.
> 
> 
> The c++/Makefile says:
> 
>     ...
>     ClC.lo ClC.o : ClC.cc ClC.h cassowary/config-inline.h Cl.h \
>             cassowary/ClVariable.h cassowary/Cassowary.h \
>             ...
> 
> So as a kludge I created the directory   
> 
>     c++/cassowary

autogen.sh makes a symlink, but that doesn't get run when you build from 
sources.  The Redhat SRPM does the symlink creation during the build
procedure.  I think I've now gotten the Makefile to create the link, so
hopefully 0.53 will work better for building from source.

<snip>

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 23 17:15:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA30351
	for scwm-discuss-outgoing; Sat, 23 Oct 1999 17:15:50 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA30348
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 23 Oct 1999 17:15:46 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id OAA19537;
	Sat, 23 Oct 1999 14:15:35 -0700 (PDT)
	(envelope-from gjb)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: scwm-0.99.4 : show-window-list-menu syntax change not documented
References: <19991008113203.B23232@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Oct 1999 14:15:35 -0700
In-Reply-To: Hubert Canon's message of "Fri, 8 Oct 1999 11:32:03 +0200"
Message-ID: <qrr1zalbwy0.fsf@elwha.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hi,
> 
> (define (show-window-list-menu-with-geometry)
>   (show-window-list-menu #t
> 			 #:show-geometry #t
> 			 #:show-last-focus-time #t
> 			 #:by-focus #t) )
> 
> doesn't work any more. After exploring a bit, I discovered that
> show-window-list-menu expect another argument
> "permit-alt-release-selection?". What is it exactly ?

I added this to its documentation:

"If PERMIT-ALT-RELEASE-SELECTION? is #t, then the release of the Alt/Meta
 modifier will select the item (this is a bit of a hack to make a nicer
 task-switching menu)."

Thanks for pointing out this problem.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 23 17:21:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA30466
	for scwm-discuss-outgoing; Sat, 23 Oct 1999 17:21:19 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA30460
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 23 Oct 1999 17:21:00 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id OAA19540;
	Sat, 23 Oct 1999 14:20:48 -0700 (PDT)
	(envelope-from gjb)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: autoraise bug
References: <19991008112658.A23232@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Oct 1999 14:20:47 -0700
In-Reply-To: Hubert Canon's message of "Fri, 8 Oct 1999 11:26:58 +0200"
Message-ID: <qrrzox9ai4w.fsf@elwha.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hi,
> 
> I don't know if it is a bug or a feature, but I think autoraise
> doesn't behave correctly.
> 
> I will try to explain :
> 
> When I enter some window, it doesn't raise immediately nor after some
> delay, but only when I leave the window or when the pointer gets over
> some other window.
> 
> 
> with :
> 
> (use-scwm-modules style auto-raise)
> 
> (window-style "*"
> 	      #:auto-raise #t #:auto-raise-delay 400
> 	      #:focus 'sloppy
> 	      )
> 
> and two overlapping windows 	      

I can't reproduce this.  Maybe timer hooks are broken for you?  Can you
investigate them carefully and report what you find?

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 23 17:22:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA30476
	for scwm-discuss-outgoing; Sat, 23 Oct 1999 17:22:32 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA30473
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 23 Oct 1999 17:22:27 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id OAA19543;
	Sat, 23 Oct 1999 14:22:17 -0700 (PDT)
	(envelope-from gjb)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: scwm-0.99.4 success report + new strange behaviour with old bugs
References: <19991008105700.A22952@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Oct 1999 14:22:17 -0700
In-Reply-To: Hubert Canon's message of "Fri, 8 Oct 1999 10:57:00 +0200"
Message-ID: <qrryactai2e.fsf@elwha.cs.washington.edu>
Lines: 43
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hi,
> 
> I downloaded scwm-0.99.4, compiled and installed it successfully.
> 
> I used it a bit, and it appears to work well.
> 
> I remarked that animation was set by default. It looks nice, but it is
> a bit slow.

Yes, I need to make the animations more easy to turn off.

> 
> I had a bug with scwmrepl in an emacs buffer : I tried M-TAB to expand
> a function name, and scwm crashed and emacs hanged. I restarted scwm
> and the old FvwmButton bugged was still there, except that this time
> scwm didn't hanged, but reported the errors messages (1) and works
> perfectly well.
> 
> (1)
> ERROR: In procedure fport_flush:
> ERROR: Resource temporarily unavailable

I see this, too, sometimes, and I believe it's from the fvwm2-module.
It doesn't seem to wreak too much havoc, though, so it's lower on the
list. 


> I looked into the process table and I saw :
> /udd/canon/bin/scwmexec (use-scwm-modules (ice-9 session) doc flux)
> 
> I think it is that that made scwm crash. I will try this later.

This is from scwm.el, which no longer requires flux.scm.

> 
> 
> Except that, I am very happy with this new version.

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 23 19:54:39 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA31189
	for scwm-discuss-outgoing; Sat, 23 Oct 1999 19:54:39 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA31186
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 23 Oct 1999 19:54:33 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id QAA20063;
	Sat, 23 Oct 1999 16:54:22 -0700 (PDT)
	(envelope-from gjb)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: FvwmPager doesn't work any more
References: <19991021144559.A25280@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 23 Oct 1999 16:54:21 -0700
In-Reply-To: Hubert Canon's message of "Thu, 21 Oct 1999 14:46:00 +0200"
Message-ID: <qrrr9ilab0y.fsf@elwha.cs.washington.edu>
Lines: 27
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hi,
> 
> I just discovered that FvwmPager doesn't permit to move windows
> between viewports. I used to select windows in the pager with the
> middle button and drag them to another viewport. I can still do that
> except that the actual window doesn't move at all.

Can anyone say when the pager was definitely working?  I've been looking 
into this, but I think that the FvwmPager is broken the way it does
stuff, so clearly it's expecting that something be done differently
from the parent WM process (i.e., fvwm2 is sending different packets
than Scwm is).

For me, w/ current CVS Scwm, moves within a desk do not work (e.g., to a
different viewport, or to a different position on the same viewport).
These moves cause the pager to move the mini-representation of the
window about 3 (# desktops?) times further down and to the right as it
should and the real window does not move at all. Moves between desks do
work, but only to change the desk (not to change the window's position).

More data points (especially ones that have moves within a desk working) 
are appreciated.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct 24 07:23:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA01715
	for scwm-discuss-outgoing; Sun, 24 Oct 1999 07:23:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from math.uwaterloo.ca (root@math.uwaterloo.ca [129.97.216.42])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA01712
	for <scwm-discuss@scwm.mit.edu>; Sun, 24 Oct 1999 07:23:14 -0400
Received: from thing-one.localdomain (cnts1p48.uwaterloo.ca [129.97.112.48])
	by math.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id HAA13213
	for <scwm-discuss@scwm.mit.edu>; Sun, 24 Oct 1999 07:23:06 -0400 (EDT)
Received: (from jrm@localhost)
	by thing-one.localdomain (8.9.3/8.9.3) id HAA03294;
	Sun, 24 Oct 1999 07:25:22 -0400
Date: Sun, 24 Oct 1999 07:25:22 -0400
Message-Id: <199910241125.HAA03294@thing-one.localdomain>
From: John MacPhail <jrmacpha@math.uwaterloo.ca>
To: scwm-discuss@scwm.mit.edu
Subject: guided tours
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

It seems to me that Scwm is the perfect tool for creating guided tours
of large pieces of software such as operating systems and office
suites.  In particular, even a crude prototype of a guided tour of
Linux might suffice to convince the major distributors that Scwm is
essential to them.  I wish I had time to work on this idea myself.
Using Scheme, it might be possible to create really interesting tours
that depend on what is installed on the particular system.

John

-- 
John MacPhail                   grad student at U.Waterloo
jrmacphail@math.uwaterloo.ca          sneaker net  MC5136A
-----------------------------------------------------------

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct 24 14:31:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA02112
	for scwm-discuss-outgoing; Sun, 24 Oct 1999 14:31:36 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA02109
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 24 Oct 1999 14:31:30 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id LAA21097;
	Sun, 24 Oct 1999 11:31:17 -0700 (PDT)
	(envelope-from gjb)
To: John MacPhail <jrmacpha@math.uwaterloo.ca>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: guided tours
References: <199910241125.HAA03294@thing-one.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Oct 1999 11:31:17 -0700
In-Reply-To: John MacPhail's message of "Sun, 24 Oct 1999 07:25:22 -0400"
Message-ID: <qrrn1t8a9vu.fsf@elwha.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

John MacPhail <jrmacpha@math.uwaterloo.ca> writes:

> It seems to me that Scwm is the perfect tool for creating guided tours
> of large pieces of software such as operating systems and office
> suites.  In particular, even a crude prototype of a guided tour of
> Linux might suffice to convince the major distributors that Scwm is
> essential to them.  I wish I had time to work on this idea myself.
> Using Scheme, it might be possible to create really interesting tours
> that depend on what is installed on the particular system.

Yep, I've had this thought too.  I was planning on doing something like
this for an automated usability study on the constraint solver, but
paper writing is sucking much time these days, so I've not made progress 
on the idea.  I'd love to see folks push in this direction and will
happily work on primitives to support needs discovered at the Scheme
level.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct 24 15:09:04 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA02329
	for scwm-discuss-outgoing; Sun, 24 Oct 1999 15:09:04 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA02324
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 24 Oct 1999 15:08:52 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id MAA21141;
	Sun, 24 Oct 1999 12:08:40 -0700 (PDT)
	(envelope-from gjb)
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: FvwmPager doesn't work any more
References: <19991021144559.A25280@youkaidi.irisa.fr>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Oct 1999 12:08:39 -0700
In-Reply-To: Hubert Canon's message of "Thu, 21 Oct 1999 14:46:00 +0200"
Message-ID: <qrrk8oca85k.fsf@elwha.cs.washington.edu>
Lines: 13
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> I just discovered that FvwmPager doesn't permit to move windows
> between viewports. I used to select windows in the pager with the
> middle button and drag them to another viewport. I can still do that
> except that the actual window doesn't move at all.

I think I've now fixed this thanks to your report and an excellent one
sent to scwm-bugs by Brendan Kirby.

Thanks guys!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct 24 16:39:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA02987
	for scwm-discuss-outgoing; Sun, 24 Oct 1999 16:39:00 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA02984
	for <scwm-discuss@scwm.mit.edu>; Sun, 24 Oct 1999 16:38:50 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id NAA21218;
	Sun, 24 Oct 1999 13:38:38 -0700 (PDT)
	(envelope-from gjb)
To: scwm-discuss@scwm.mit.edu, guile@sourceware.cygnus.com
Subject: Scwm-0.99.5 is released!
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Oct 1999 13:38:37 -0700
Message-ID: <qrrg0z0a3zm.fsf@elwha.cs.washington.edu>
Lines: 89
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Scwm 0.99.5 is released.

* What Scwm is:

Scwm is the Scheme Constraints Window Manager, a highly dynamic and
extensible window manager for the X Window System.  Scwm embeds Guile
Scheme as the configuration and extension language, and includes a
sophisticated constraint solver for permitting the user to interactively
specify constraints among top-level window sizes and positions.  Nearly
all decorations can be changed at run-time on a per-window basis.
Dynamic loading of C modules is supported.  Scwm is self-documenting and
provides A powerful protocol for interacting with the window manager
from other processes.

* Primary Authors:

Greg J. Badros <gjb@cs.washington.edu>
Maciej Stachowiak <mstachow@alum.mit.edu> 

Other substantial contributors include:
  Robert Bihlmeyer <robbe@orcus.priv.at>, 
  Todd Larason <jtl@molehill.org>, 
  Jeff Nichols <jwnichls@cs.washington.edu>, and
  Sam Steingold <sds@goems.com>.

Many more people have contributed bug reports, bug fixes, or smaller
changes; see AUTHORS and THANKS in the distribution.

* Where you can find more info:

Some information about scwm is available at:

http://scwm.mit.edu/

There are also scwm-discuss@scwm.mit.edu and
scwm-announce@scwm.mit.edu mailing lists for disscussion and
release announcements repsectively. The new list
scwm-commits@scwm.mit.edu receives all scwm CVS commit messages.
You can subscribe to any of these at majordomo@scwm.mit.edu by
sending a message with a body of "subscribe <list>" where <list> is
the name of the list you want.

* Where you can get it:

You can download the latest scwm source package from:

ftp://scwm.mit.edu/pub/scwm/scwm-0.99.5.tar.gz

There is also
ftp://scwm.mit.edu/pub/scwm/scwm-icons-0.99.5.tar.gz

which has a number of images for use with scwm as icons, textures,
buttons, etc. Some of these images are not available otherwise.

You will also need to download and install the guile library. You can
get the latest release from:

ftp://prep.ai.mit.edu/pub/gnu/guile

or any archive that has GNU source packages available.

You can get the latest guile snapshot from:

http://www.gnu.org/software/guile/guile.html

The snapshots are officially alpha but they generally work pretty
well; however, 1.3.4 is recommended for now since it is the most 
recent. Guile 1.2 is no longer supported, but Guile-1.3 should still
work with only minimal loss of functionality (Guile-1.3.2 was buggy and
should be avoided).


* Packages

Various binary RPMs are available at:

ftp://scwm.mit.edu/pub/scwm/RPMS/

Various source RPMs are available at:

ftp://scwm.mit.edu/pub/scwm/SRPMS/

and the scwm-icons distribution is available at:

ftp://scwm.mit.edu/pub/scwm/RPMS/noarch

See the NEWS file in the distribution for a complete list
of all that has changed since the previous version of Scwm.


From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct 24 16:41:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA02992
	for scwm-discuss-outgoing; Sun, 24 Oct 1999 16:41:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA02989
	for <scwm-discuss@scwm.mit.edu>; Sun, 24 Oct 1999 16:41:11 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id NAA21227;
	Sun, 24 Oct 1999 13:41:02 -0700 (PDT)
	(envelope-from gjb)
Followup-To: comp.constraints
Newsgroups: comp.constraints,comp.ai,comp.lang.prolog
Subject: Cassowary Constraint Solving Toolkit 0.53 Released!
Mail-Copies-To: gjb@cs.washington.edu
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Oct 1999 13:40:53 -0700
Message-ID: <qrremeka3vu.fsf@elwha.cs.washington.edu>
Organization: Computer Science, U of Washington, Seattle, WA, USA
Lines: 37
X-Newsreader: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Announcing the release of a free constraint solver:

Cassowary Constraint Solver for Smalltalk, C++, and Java
Version 0.53

Web Page: http://www.cs.washington.edu/research/constraints/cassowary
Distribution: ftp://ftp.cs.washington.edu:/pub/constraints/code/cassowary/
Contact: cassowary@cs.washington.edu

Greg J. Badros <gjb@cs.washington.edu> and
Alan Borning <borning@cs.washington.edu>
University of Washington
Computer Science and Engineering
24-October-1999

with Constraint Drawing Applet (CDA) by Michael Noth <noth@cs.washington.edu>

Cassowary is an incremental constraint solving toolkit that efficiently
solves systems of linear equalities and inequalities.  Constraints may
be either requirements or preferences.  Client code specifies the
constraints to be maintained, and the solver updates the constrained
variables to have values that satisfy the constraints.

A technical report is included in the distribution that describes the
algorithm, interface, and implementation of the Cassowary solver.
Additionally, the distribution contains toy sample applications written
in Smalltalk, C++, Java, and Python, and a more complex example Java
applet, the "Constraint Drawing Application".

More information is available on our web page:

http://www.cs.washington.edu/research/constraints/cassowary

See README for more details on getting started using these packages.
See NEWS for a history of user-visible changes.
See LICENSE for legalese regarding use of this distribution.


From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct 24 17:13:25 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA03270
	for scwm-discuss-outgoing; Sun, 24 Oct 1999 17:13:25 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA03267
	for <scwm-discuss@scwm.mit.edu>; Sun, 24 Oct 1999 17:13:19 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id OAA21276;
	Sun, 24 Oct 1999 14:13:09 -0700 (PDT)
	(envelope-from gjb)
To: Michael Vanier <mvanier@bbb.caltech.edu>
Cc: scwm-discuss@scwm.mit.edu, guile@sourceware.cygnus.com
Subject: Re: Scwm-0.99.5 is released!
References: <qrrg0z0a3zm.fsf@elwha.cs.washington.edu> <199910242106.OAA28158@endor>
From: Greg Badros <gjb@cs.washington.edu>
Date: 24 Oct 1999 14:13:09 -0700
In-Reply-To: Michael Vanier's message of "Sun, 24 Oct 1999 14:06:43 -0700 (PDT)"
Message-ID: <qrrbt9oa2e2.fsf@elwha.cs.washington.edu>
Lines: 31
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Michael Vanier <mvanier@bbb.caltech.edu> writes:

> Could you explain what you mean by "self-documenting" wrt scwm?  I've been
> meaning to try scwm for some time (due to frustration with other window
> managers) but I've been hampered by the lack of documentation.  The
> reference manual seems to be mostly a placeholder for where documentation
> will go in the future, and when I downloaded the tutorial documentation as
> a pdf file, acroread core dumped on it.  The LaTeX files were pretty
> sparse, too.  Should I wait a few more months for the docs to fill out?

Scwm is self-documenting in the same way that Emacs is self-documenting.
There are nearly complete and up-to-date "docstring" style documentation
with every primitive (those procedures that are written in C) and almost
all other procedures.  When using, e.g., the scwm.el scwm-mode interface 
to scwm, the documentation is really accessible, and very easy to use.

The current best, non-interactive documentation is available linked from 
the scwm web page (http://scwm.mit.edu/) at:

http://www.cs.washington.edu/homes/gjb/scwm-doc/

This is mostly just the docstrings in HTML format and cross referenced.
There is some simple "Concepts" documentation, but it is not
comprehensive nor nearly as up-to-date as the docstrings.

All things considered, I consider Scwm to have very good *reference*
documentation.  It is, however, lacking in introductory and tutorial
documentation, though some of the efforts you've been looking at would
fill those voids if they were completed.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct 24 23:14:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id XAA03723
	for scwm-discuss-outgoing; Sun, 24 Oct 1999 23:14:42 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from lovecraft.chem.cmu.edu (17@LOVECRAFT.CHEM.CMU.EDU [128.2.42.141])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id XAA03720
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 24 Oct 1999 23:14:37 -0400
Received: by lovecraft.chem.cmu.edu (Postfix, from userid 2004)
	id 6D561D3DD; Sun, 24 Oct 1999 23:14:29 -0400 (EDT)
From: Eric Moore <moore@chem.cmu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14355.51989.121589.585288@lovecraft.chem.cmu.edu>
Date: Sun, 24 Oct 1999 23:14:29 -0400 (EDT)
To: scwm-discuss@SCWM.MIT.EDU
Subject: severe bug
X-Mailer: VM 6.72 under 21.1 (patch 6) "Big Bend" XEmacs Lucid
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On my system, using CVS scwm as of earlier this evening, any attempt
to move, resize, or (i think) iconify a window is met with sudden
death of scwm.  A call to XGetGeometry for the message window is
returning 0 and scwm is not happy at all...

0  0x40276811 in __kill ()
#1  0x4027663f in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x4027784f in abort () at ../sysdeps/generic/abort.c:83
#3  0x40271416 in __assert_fail (assertion=0x808e3b2 "0", 
    file=0x808e3a1 "message-window.c", line=247, 
    function=0x808e390 "MapMessageWindow") at assert.c:54
#4  0x80766a2 in MapMessageWindow (msg=0x80e5d78) at message-window.c:247
#5  0x8077224 in message_window_show_x (mwn=1077835608) at message-window.c:545
#6  0x40132342 in scm_deval (x=10612, env=1077717712) at eval.c:3099
#7  0x40132e32 in scm_dapply (proc=1077599072, arg1=10612, args=1077717712)
.......

I'm trying to find the little beast, but since this is obviously
making my wm a little less stable than is usable, I thought I'd toss
it out for public consumption.

  -Eric

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct 25 03:42:03 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA04073
	for scwm-discuss-outgoing; Mon, 25 Oct 1999 03:42:03 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from seldon.dtek.chalmers.se (e3SQinXl5Z1k1ABfvxZOj4NJ8qA1gjnY@seldon.dtek.chalmers.se [129.16.30.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA04070
	for <scwm-discuss@scwm.mit.edu>; Mon, 25 Oct 1999 03:41:57 -0400
Received: from licia.dtek.chalmers.se (akOhzxP+so2eDWr+qWns/WmnOwxEofB2@licia.dtek.chalmers.se [129.16.30.88])
	by seldon.dtek.chalmers.se (8.8.8/8.8.8) with ESMTP id JAA04922
	for <scwm-discuss@scwm.mit.edu>; Mon, 25 Oct 1999 09:41:46 +0200 (MET DST)
Received: (from d4jonas@localhost)
	by licia.dtek.chalmers.se (8.9.3/8.9.3) id JAA03569;
	Mon, 25 Oct 1999 09:41:44 +0200 (MET DST)
To: scwm-discuss@scwm.mit.edu
Subject: Re: Scwm-0.99.5 is released!
References: <qrrg0z0a3zm.fsf@elwha.cs.washington.edu> <199910242106.OAA28158@endor> <qrrbt9oa2e2.fsf@elwha.cs.washington.edu>
X-No-Archive: Yes
Mail-Copies-To: never
Organization: The Deciples of Albericht Nibelungen
From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Date: 25 Oct 1999 09:41:44 +0200
In-Reply-To: Greg Badros's message of "24 Oct 1999 14:13:09 -0700"
Message-ID: <wtnaep7sx8n.fsf@licia.dtek.chalmers.se>
Lines: 27
User-Agent: Gnus/5.070091 (Pterodactyl Gnus v0.91) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Badros <gjb@cs.washington.edu> writes:

> Michael Vanier <mvanier@bbb.caltech.edu> writes:
[...]
> > will go in the future, and when I downloaded the tutorial documentation as
> > a pdf file, acroread core dumped on it.  The LaTeX files were pretty
> > sparse, too.  Should I wait a few more months for the docs to fill out?

I assume you talk about my SCWMDoc. Regarding acroread dumping core
I can only say "huh?!".

Regarding the ... sparse files I can say more. I started to write on
the documentation for about one year ago but due to overload and lack
of knowledge it went quite slowly and has been in the wardrobe for
about 10 month. I hopefully graduates in one or two weeks (last
examination within 4.5 h and then one more week for the final touch to
the master thesis) and then I plan to do something about SCWMDoc - but
I NEED THE INPUT FROM ALL OTHERS!

If anyone has any input, please send it to
d4jonas+scwmdoc@dtek.chalmers.se. ("+scwmdoc" is important!)

Don't expect to find any documentation to happen unless you all help out.

-- 
( Jonas Steverud  @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct 25 09:49:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA07017
	for scwm-discuss-outgoing; Mon, 25 Oct 1999 09:49:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA07014
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 25 Oct 1999 09:49:07 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11fkUd-0004PiC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Mon, 25 Oct 1999 09:48:59 -0400 (EDT) 
Message-Id: <m11fkUd-0004PiC@localhost>
Date: Mon, 25 Oct 1999 09:48:59 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrrg0z0a3zm.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 24 Oct 1999 13:38:37 -0700)
Subject: failure to start
Reply-to: bob@rattlesnake.com
References:  <qrrg0z0a3zm.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

This morning's SCWM CVS snapshot of Mon, 1999 Oct 25  10:54 GMT

SCWM builds and installs without reported error.
However, on running `startx' with the following contents

    #! /bin/bash
    # exec scwm -f ~/spare-blue.scwmrc

    exec strace -etrace=open scwm -f /u/scwm/sample.scwmrc/system.scwmrc

SCWM begins to start, then dies, with the following message:

open("/home/scwm/.scwmrc", O_RDONLY)    = 4
open("/usr/local/share/scwm/modules/app/scwm/message-window.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/base.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/optargs.scm", O_RDONLY) = 7
open("/usr/local/share/scwm/modules/app/scwm/defoption.scm", O_RDONLY) = 7
open("/usr/local/share/guile/1.3.4/ice-9/common-list.scm", O_RDONLY) = 8
open("/usr/local/share/guile/1.3.4/ice-9/regex.scm", O_RDONLY) = 8
open("/usr/local/share/scwm/modules/app/scwm/time-convert.scm", O_RDONLY) = 6
scwm: message-window.c:247: MapMessageWindow: Assertion `0' failed.
--- SIGABRT (Aborted) ---
+++ killed by SIGABRT +++


waiting for X server to shut down 




The same occurs with spare-blue.scwmrc.

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct 25 12:00:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA07268
	for scwm-discuss-outgoing; Mon, 25 Oct 1999 12:00:11 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tequila.cs.yale.edu (TEQUILA.CS.YALE.EDU [128.36.229.152])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA07265
	for <scwm-discuss@scwm.mit.edu>; Mon, 25 Oct 1999 12:00:06 -0400
Received: from tequila.cs.yale.edu (localhost [127.0.0.1])
	by tequila.cs.yale.edu (8.9.3/8.9.3) with SMTP id LAA17326
	for <scwm-discuss@scwm.mit.edu>; Mon, 25 Oct 1999 11:59:54 -0400
To: scwm-discuss@scwm.mit.edu
From: "Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu>
Newsgroups: lists.scwm.discuss
Subject: Re: Scwm-0.99.5 is released!
References: <qrrg0z0a3zm.fsf@elwha.cs.washington.edu>
Date: 25 Oct 1999 11:59:51 -0400
Message-ID: <5l4sffh1mw.fsf@tequila.cs.yale.edu>
Lines: 9
X-Newsreader: Gnus v5.7/Emacs 20.5
Path: tequila.cs.yale.edu
NNTP-Posting-Host: tequila.cs.yale.edu
X-Trace: 25 Oct 1999 11:59:51 -0500, tequila.cs.yale.edu
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> "Greg" == Greg Badros <gjb@cs.washington.edu> writes:
> See the NEWS file in the distribution for a complete list
> of all that has changed since the previous version of Scwm.

It think it would be good to put the relevant part of the NEWS file
(or at least a summary of the most important changes) in the announcement.


	Stefan

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct 25 12:31:34 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA07421
	for scwm-discuss-outgoing; Mon, 25 Oct 1999 12:31:34 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA07418
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 25 Oct 1999 12:31:28 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id JAA00239;
	Mon, 25 Oct 1999 09:31:18 -0700 (PDT)
	(envelope-from gjb)
To: "Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: News entries [was Re: Scwm-0.99.5 is released!]
References: <qrrg0z0a3zm.fsf@elwha.cs.washington.edu> <5l4sffh1mw.fsf@tequila.cs.yale.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Oct 1999 09:31:17 -0700
In-Reply-To: "Stefan Monnier"'s message of "25 Oct 1999 11:59:51 -0400"
Message-ID: <qrr1zaj9zca.fsf_-_@elwha.cs.washington.edu>
Lines: 64
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu> writes:

> >>>>> "Greg" == Greg Badros <gjb@cs.washington.edu> writes:
> > See the NEWS file in the distribution for a complete list
> > of all that has changed since the previous version of Scwm.
> 
> It think it would be good to put the relevant part of the NEWS file
> (or at least a summary of the most important changes) in the announcement.

Yes, I usually do to the announcements to the list... I just forgot this 
time, it seems.  They're below now.

Greg


Changes for scwm-0.99.5 (released 24-October-1999)

* Bug fixes

* Added interactive procedure specifications

Used to make clear which procedures should be called interactively
via menus or bindings.  Right now just used by prompt-binding, but
will be required of menuitem actions and binding actions in the next
version.

* New configure option, --enable-dump
Rudimentary, not-state-preserving-yet support for guile-hobbit's
unexec capabilities (goal: reduce startup time substantially).

* New preferences options
** *highlight-foreground*, *highlight-background*

* SIGINT (Ctrl-C) is now allowed to interrupt and terminate Scwm
Unless SCWM_CATCH_SIGINT is defined during compilation

* New modules (largely from breaking up flux.scm, factoring system.scwmrc)
** winops-menu.scm
** xlock-menus.scm
** titlebar-buttons.scm
** task-switcher.scm
** synth-events.scm
** shove-window.scm
** session.scm
** rectangle.scm
** lambda-startup-logo.scm
** describe.scm
** basic-styles.scm

* Renamed numerous primitives
** Now (un)shade-window, shaded-window? 
-> was window-(un)shade, window-shaded?
** Standardize on toggle-maximize-{vertical,horizontal,both} instead of random other names
** (de)iconify-window, iconified-window?
-> was (de)iconify, iconified?
** focus-window
-> was focus
** sticky-window?, (un)stick-window
-> was sticky?, (un)stick
** `window-focus-style'
-> was get-window-focus
** `send-button', `send-key'
-> were send-button-press, send-key-press


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct 25 12:36:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA07472
	for scwm-discuss-outgoing; Mon, 25 Oct 1999 12:36:36 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA07463
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 25 Oct 1999 12:35:55 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id JAA00242;
	Mon, 25 Oct 1999 09:35:40 -0700 (PDT)
	(envelope-from gjb)
To: Eric Moore <moore@chem.cmu.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: severe bug
References: <14355.51989.121589.585288@lovecraft.chem.cmu.edu>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Oct 1999 09:35:39 -0700
In-Reply-To: Eric Moore's message of "Sun, 24 Oct 1999 23:14:29 -0400 (EDT)"
Message-ID: <qrrzox78kkk.fsf@elwha.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Eric Moore <moore@chem.cmu.edu> writes:

> On my system, using CVS scwm as of earlier this evening, any attempt
> to move, resize, or (i think) iconify a window is met with sudden
> death of scwm.  A call to XGetGeometry for the message window is
> returning 0 and scwm is not happy at all...
> 
> 0  0x40276811 in __kill ()
> #1  0x4027663f in raise (sig=6) at ../sysdeps/posix/raise.c:27
> #2  0x4027784f in abort () at ../sysdeps/generic/abort.c:83
> #3  0x40271416 in __assert_fail (assertion=0x808e3b2 "0", 
>     file=0x808e3a1 "message-window.c", line=247, 
>     function=0x808e390 "MapMessageWindow") at assert.c:54
> #4  0x80766a2 in MapMessageWindow (msg=0x80e5d78) at message-window.c:247
> #5  0x8077224 in message_window_show_x (mwn=1077835608) at message-window.c:545
> #6  0x40132342 in scm_deval (x=10612, env=1077717712) at eval.c:3099
> #7  0x40132e32 in scm_dapply (proc=1077599072, arg1=10612, args=1077717712)
> .......
> 
> I'm trying to find the little beast, but since this is obviously
> making my wm a little less stable than is usable, I thought I'd toss
> it out for public consumption.

Hmmmm... I don't see this problem, obviously.  It'd be great if you
could track it down further.  Try it with -f /dev/null, then trying
using the message-window module and confirm that that's what is causing
the problem.

You may also want to be sure that a make clean; make doesn't fix the
problem (be sure to rebuild modules, too, and re-install).

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct 25 12:37:55 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA07485
	for scwm-discuss-outgoing; Mon, 25 Oct 1999 12:37:55 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA07479
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 25 Oct 1999 12:37:37 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id JAA00245;
	Mon, 25 Oct 1999 09:37:25 -0700 (PDT)
	(envelope-from gjb)
To: bob@rattlesnake.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: failure to start
References: <qrrg0z0a3zm.fsf@elwha.cs.washington.edu> <m11fkUd-0004PiC@localhost>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Oct 1999 09:37:24 -0700
In-Reply-To: "Robert J. Chassell"'s message of "Mon, 25 Oct 1999 09:48:59 -0400 (EDT)"
Message-ID: <qrryacr8khn.fsf@elwha.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Robert J. Chassell" <bob@rattlesnake.com> writes:

> This morning's SCWM CVS snapshot of Mon, 1999 Oct 25  10:54 GMT
> 
> SCWM builds and installs without reported error.
> However, on running `startx' with the following contents
> 
>     #! /bin/bash
>     # exec scwm -f ~/spare-blue.scwmrc
> 
>     exec strace -etrace=open scwm -f /u/scwm/sample.scwmrc/system.scwmrc
> 
> SCWM begins to start, then dies, with the following message:
> 
> open("/home/scwm/.scwmrc", O_RDONLY)    = 4
> open("/usr/local/share/scwm/modules/app/scwm/message-window.scm", O_RDONLY) = 5
> open("/usr/local/share/scwm/modules/app/scwm/base.scm", O_RDONLY) = 6
> open("/usr/local/share/scwm/modules/app/scwm/optargs.scm", O_RDONLY) = 7
> open("/usr/local/share/scwm/modules/app/scwm/defoption.scm", O_RDONLY) = 7
> open("/usr/local/share/guile/1.3.4/ice-9/common-list.scm", O_RDONLY) = 8
> open("/usr/local/share/guile/1.3.4/ice-9/regex.scm", O_RDONLY) = 8
> open("/usr/local/share/scwm/modules/app/scwm/time-convert.scm", O_RDONLY) = 6
> scwm: message-window.c:247: MapMessageWindow: Assertion `0' failed.
> --- SIGABRT (Aborted) ---
> +++ killed by SIGABRT +++
> 
> 
> waiting for X server to shut down 

Hmmm... that's the second similar report... I'll poke around a bit more...

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct 25 13:58:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA08151
	for scwm-discuss-outgoing; Mon, 25 Oct 1999 13:58:42 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA08148
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 25 Oct 1999 13:58:37 -0400
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11foO5-0004PwC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Mon, 25 Oct 1999 13:58:29 -0400 (EDT) 
Message-Id: <m11foO5-0004PwC@localhost>
Date: Mon, 25 Oct 1999 13:58:29 -0400 (EDT)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrrzox78kkk.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 25 Oct 1999 09:35:39 -0700)
Subject: Re: severe bug
Reply-to: bob@rattlesnake.com
References: <14355.51989.121589.585288@lovecraft.chem.cmu.edu> <qrrzox78kkk.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Just tried to run the latest SCWM:

    SCWM snapshot from: Mon, 1999 Oct 25  17:30 GMT

    make distclean
    ./configure --enable-maintainer-mode --without-cassowary
    make -k
    make install

built and installed without reported error.

Ran using `startx' command with ~/.xsession file containing:

    #! /bin/bash
    # exec scwm -f ~/spare-blue.scwmrc
    # exec strace -etrace=open scwm -f /u/scwm/sample.scwmrc/system.scwmrc
    # exec strace -etrace=open scwm -f ~scwm/minimal.scwmrc

    exec strace -etrace=open scwm -f /dev/null

This started to load, then died.  My log file said:


open("/home/scwm/.scwmrc", O_RDONLY)    = 4
open("/usr/local/share/scwm/modules/app/scwm/message-window.scm", O_RDONLY) = 5
open("/usr/local/share/scwm/modules/app/scwm/base.scm", O_RDONLY) = 6
open("/usr/local/share/scwm/modules/app/scwm/optargs.scm", O_RDONLY) = 7
open("/usr/local/share/scwm/modules/app/scwm/defoption.scm", O_RDONLY) = 7
open("/usr/local/share/guile/1.3.4/ice-9/common-list.scm", O_RDONLY) = 8
open("/usr/local/share/guile/1.3.4/ice-9/regex.scm", O_RDONLY) = 8
open("/usr/local/share/scwm/modules/app/scwm/time-convert.scm", O_RDONLY) = 6
scwm: message-window.c:247: MapMessageWindow: Assertion `0' failed.
--- SIGABRT (Aborted) ---
+++ killed by SIGABRT +++


waiting for X server to shut down 




Repeated with .xsession containing

    exec strace -etrace=open scwm -f ~scwm/minimal.scwmrc

and `minimal.scwmrc' containing only

    (use-scwm-modules base message-window)

Same error message.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct 25 15:01:39 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA08452
	for scwm-discuss-outgoing; Mon, 25 Oct 1999 15:01:39 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA08449
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 25 Oct 1999 15:01:33 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id PAA03004;
	Mon, 25 Oct 1999 15:01:17 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xmas02918; Mon, 25 Oct 99 15:01:03 -0400
Received: from localhost.localdomain (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.14) with ESMTP id OAA12954; Mon, 25 Oct 1999 14:18:45 -0400
Received: (from ejb@localhost) by localhost.localdomain (8.9.3/APEXINC-CLIENT-1.0) id OAA05671; Mon, 25 Oct 1999 14:18:44 -0400
Date: Mon, 25 Oct 1999 14:18:44 -0400
Message-Id: <199910251818.OAA05671@localhost.localdomain>
X-Authentication-Warning: localhost.localdomain: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: bob@rattlesnake.com, scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrryacr8khn.fsf@elwha.cs.washington.edu> (message from Greg
	Badros on 25 Oct 1999 09:37:24 -0700)
Subject: Re: failure to start
References: <qrrg0z0a3zm.fsf@elwha.cs.washington.edu> <m11fkUd-0004PiC@localhost> <qrryacr8khn.fsf@elwha.cs.washington.edu>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I have also seen a

scwm: message-window.c:247: MapMessageWindow: Assertion `0' failed.

problem: it happens when I invoke netscape-goto-cut-buffer-url.  I
used to see a window with the URL I was going to.  Now I see nothing
but the assertion.  As I am completely tied up today, I just
temporarily replaced the assert(False) with return so that scwm
wouldn't die, and I have not had any other problems with other things
not working right as a result.  I have not, however, had any problems
with this bringing down X.  I was hoping to trace this down and send a
reasonable bug report but something came up and pulled me away....

For curiosity, is there any reason that this was coded as

  if (!FXGetWindowSize(msg->win,&w,&h))
    assert(False);

instead of 

  assert(FXGetWindowSize(msg->win,&w,&h));

?  I don't use assert myself (I have other mechanisms for achieving
the same effect), so I don't know whether this is valid, but I thought
assert worked with any "boolean" value and would give a more useful
message when invoked this way than when invoked with 0 as an
argument....

--
E. Jay Berkenbilt (ejb@ql.org)  |  http://www.ql.org/q/

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct 25 15:12:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA08560
	for scwm-discuss-outgoing; Mon, 25 Oct 1999 15:12:51 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA08555
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 25 Oct 1999 15:12:44 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id MAA00474;
	Mon, 25 Oct 1999 12:12:16 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: bob@rattlesnake.com, scwm-discuss@SCWM.MIT.EDU
Subject: Re: failure to start
References: <qrrg0z0a3zm.fsf@elwha.cs.washington.edu> <m11fkUd-0004PiC@localhost> <qrryacr8khn.fsf@elwha.cs.washington.edu> <199910251818.OAA05671@localhost.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Oct 1999 12:12:16 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Mon, 25 Oct 1999 14:18:44 -0400"
Message-ID: <qrrk8ob8dbj.fsf@elwha.cs.washington.edu>
Lines: 51
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> I have also seen a
> 
> scwm: message-window.c:247: MapMessageWindow: Assertion `0' failed.
> 
> problem: it happens when I invoke netscape-goto-cut-buffer-url.  I
> used to see a window with the URL I was going to.  Now I see nothing
> but the assertion.  As I am completely tied up today, I just
> temporarily replaced the assert(False) with return so that scwm
> wouldn't die, and I have not had any other problems with other things
> not working right as a result.  I have not, however, had any problems
> with this bringing down X.  I was hoping to trace this down and send a
> reasonable bug report but something came up and pulled me away....

Ok, I can reproduce this, now.  I'll figure it out...

> 
> For curiosity, is there any reason that this was coded as
> 
>   if (!FXGetWindowSize(msg->win,&w,&h))
>     assert(False);
> 
> instead of 
> 
>   assert(FXGetWindowSize(msg->win,&w,&h));

Bad bad bad bad. :-)

Yes, there most certainly is a reason:  We need w and h to get the
window size -- remember, assert-s compile away to nothing when #define
NDEBUG, so code that must be run must not be in an assert.

> ?  I don't use assert myself (I have other mechanisms for achieving
> the same effect), so I don't know whether this is valid, but I thought
> assert worked with any "boolean" value and would give a more useful
> message when invoked this way than when invoked with 0 as an
> argument....

The typical idiom is:

assert(! "Could not get msg window size")

or

assert(some test && "High level description of what failing the test means")

but I've never made it a habit to code them that way.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Oct 25 15:24:28 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA08712
	for scwm-discuss-outgoing; Mon, 25 Oct 1999 15:24:28 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from elwha.cs.washington.edu (elwha.cs.washington.edu [128.95.1.153])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA08707
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 25 Oct 1999 15:24:24 -0400
Received: (from gjb@localhost)
	by elwha.cs.washington.edu (8.9.3/8.9.3/0.3) id MAA00477;
	Mon, 25 Oct 1999 12:24:11 -0700 (PDT)
	(envelope-from gjb)
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: bob@rattlesnake.com, scwm-discuss@SCWM.MIT.EDU
Subject: Re: failure to start
References: <qrrg0z0a3zm.fsf@elwha.cs.washington.edu> <m11fkUd-0004PiC@localhost> <qrryacr8khn.fsf@elwha.cs.washington.edu> <199910251818.OAA05671@localhost.localdomain>
From: Greg Badros <gjb@cs.washington.edu>
Date: 25 Oct 1999 12:24:10 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Mon, 25 Oct 1999 14:18:44 -0400"
Message-ID: <qrriu3v8crp.fsf@elwha.cs.washington.edu>
Lines: 17
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> I have also seen a
> 
> scwm: message-window.c:247: MapMessageWindow: Assertion `0' failed.

<snip>

This is now "fixed" (there is a race condition that's now caught and
occurs infrequently again).  Somehow setting the CWSaveUnder bit for
message windows causes the race to be lost regularly.  I know a better
fix and will implement it later.

Thanks to all who reported this.  I'll probably do a 0.99.5.1 release to 
fix this bug.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 26 03:15:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA10131
	for scwm-discuss-outgoing; Tue, 26 Oct 1999 03:15:44 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ftpbox.mot.com (ftpbox.mot.com [129.188.136.101])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA10128
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 26 Oct 1999 03:15:39 -0400
Received: [from mothost.mot.com (mothost.mot.com [129.188.137.101]) by ftpbox.mot.com (MOT-ftpbox 1.0) with ESMTP id CAA09890 for <scwm-discuss@SCWM.MIT.EDU>; Tue, 26 Oct 1999 02:15:27 -0500 (CDT)]
Received: [from msghkg1.sps.mot.com (msghkg1.sps.mot.com [216.17.115.1]) by mothost.mot.com (MOT-mothost 2.0) with ESMTP id CAA10405 for <scwm-discuss@SCWM.MIT.EDU>; Tue, 26 Oct 1999 02:15:27 -0500 (CDT)]
Received: from india56.email.sps.mot.com ([223.1.236.56])          by msghkg1.sps.mot.com (Netscape Messaging Server 3.61)           with ESMTP id AAA6589; Tue, 26 Oct 1999 15:15:23 +0800
X-Mailer: emacs 20.4.1 (via feedmail 9-beta-5 I)
To: Greg Badros <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
Subject: Re: Scwm-0.99.5 is released!
References: <qrrg0z0a3zm.fsf@elwha.cs.washington.edu>
Organization: Motorola India Ltd
From: Puneet Goel <puneet@computer.org>
In-Reply-To: Greg Badros's message of "Sun, 24 Oct 1999 14:05:33 MST"
Date: 26 Oct 1999 12:47:30 +0530
Message-ID: <ir4sfe4mlx.fsf@computer.org>
Lines: 21
User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) Emacs/20.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi

  I am trying to run the new scwm on a sparc solaris 2.6 machine.
  I am getting the following message when I try to move a window
  holding its frame with mouse ..

        message-window.c:247: failed assertion `False'
        Abort

  I was not getting this message with the previous version of scwm. I
  have compiled this version with cassowary-0.53, guile-1.3.4
  gtk-1.2.6 and guile-gtk-0.17. Does anybody know what is happening?

  I am using the default system.scwmrc.

- Regards
-- 
Puneet Goel
email: puneet at computer period org
work:           (91)124-340660 x 272
--


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 26 10:55:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA13204
	for scwm-discuss-outgoing; Tue, 26 Oct 1999 10:55:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sparrow.otechestvo-hq.ru (sparrow.otechestvo-hq.ru [194.84.66.130])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id KAA13201
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 26 Oct 1999 10:55:43 -0400
Received: (qmail 2985 invoked by uid 500); 26 Oct 1999 14:50:09 -0000
To: scwm-discuss@SCWM.MIT.EDU
Subject: 0.99.5 rpm
From: Alexander Vorobiev <sparrow@linuxfan.com>
Date: 26 Oct 1999 18:50:09 +0400
Message-ID: <m3emeijhwe.fsf@sparrow.otechestvo-hq.ru>
Lines: 14
User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) XEmacs/21.1 (Arches)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi!

Trying to install 0.99.5 from rpm I got:

sparrow:sparrow# rpm -U scwm-0.99.5-1.i386.rpm 
error: failed dependencies:
	libguile.so.7 is needed by scwm-0.99.5-1

The latest guile rpm I have is guile-1.3.4-1gjb and it contains
libguile.so.6. It seems there has to be updated guile rpm somewhere?

Regards,
Alexander


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 26 11:05:55 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA13290
	for scwm-discuss-outgoing; Tue, 26 Oct 1999 11:05:55 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA13283
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 26 Oct 1999 11:05:22 -0400
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id IAA08601;
	Tue, 26 Oct 1999 08:05:07 -0700
To: Puneet Goel <puneet@computer.org>
Cc: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
Subject: Re: Scwm-0.99.5 is released!
References: <qrrg0z0a3zm.fsf@elwha.cs.washington.edu> <ir4sfe4mlx.fsf@computer.org>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 26 Oct 1999 08:05:07 -0700
In-Reply-To: Puneet Goel's message of "26 Oct 1999 12:47:30 +0530"
Message-ID: <qrrvh7u5fj0.fsf@clavicle.cs.washington.edu>
Lines: 21
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Puneet Goel <puneet@computer.org> writes:

> Hi
> 
>   I am trying to run the new scwm on a sparc solaris 2.6 machine.
>   I am getting the following message when I try to move a window
>   holding its frame with mouse ..
> 
>         message-window.c:247: failed assertion `False'
>         Abort
> 
>   I was not getting this message with the previous version of scwm. I
>   have compiled this version with cassowary-0.53, guile-1.3.4
>   gtk-1.2.6 and guile-gtk-0.17. Does anybody know what is happening?
> 
>   I am using the default system.scwmrc.

I'm gonna put out a scwm-0.99.5.1 that takes care of this problem
(current CVS has it fixed).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 26 13:10:45 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA13606
	for scwm-discuss-outgoing; Tue, 26 Oct 1999 13:10:45 -0400
Received: from mailhub1-dmz1.bloomberg.com (mailhub1-dmz1.bloomberg.com [199.172.169.17])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA13603
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 26 Oct 1999 13:10:39 -0400
Received: from ns2.bloomberg.com by mailhub1-dmz1.bloomberg.com; Tue, 26 Oct 1999 13:11:57 -0400
Received: from blinky.bloomberg.com by ns2.bloomberg.com (8.6.13/200.20.1.1)
	id NAA04819; Tue, 26 Oct 1999 13:10:27 -0400
Received: (from hjstein@localhost)
	by blinky.bloomberg.com (8.9.3/8.9.3) id NAA12979;
	Tue, 26 Oct 1999 13:10:26 -0400
Date: Tue, 26 Oct 1999 13:10:26 -0400
Message-Id: <199910261710.NAA12979@blinky.bloomberg.com>
X-Authentication-Warning: blinky.bloomberg.com: hjstein set sender to hjstein@bfr.co.il using -f
From: "Harvey J. Stein" <hjstein@bfr.co.il>
To: Hubert Canon <Hubert.Canon@irisa.fr>
Subject: Re: FvwmPager doesn't work any more
CC: hjstein@bfr.co.il, scwm-discuss@SCWM.MIT.EDU
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


(I just found out my outbound email wasn't going out, so I'm resending
this.  This reply is late, but still might be useful...)

Hubert Canon <Hubert.Canon@irisa.fr> writes:

 > I just discovered that FvwmPager doesn't permit to move windows
 > between viewports. I used to select windows in the pager with the
 > middle button and drag them to another viewport. I can still do that
 > except that the actual window doesn't move at all.

I reported that a while ago.  I was hoping it was fixed in newer
snapshots, but I guess it isn't.  Here's my work-around:

I define swap-desk to move btw two desks:

   (define* (swap-desk #&optional (win (get-window #t #f #f)))
     "Move WIN from its current desktop to the other desktop."
     (move-window-to-desk (modulo (+ (current-desk) 1) 2) win))

This is for my setup, with two viewports.  Change the 2 to the number
of viewports you have and it becomes next-desk.

On my window menu options (clicking on leftmost button on titlebar,
the one with move/resize/raise/lower/...) I put:

    (menuitem "Swap Desk" #:action swap-desk)

Then I can at least click on the menu to move the window to the other
desk.

You could also put the following on the same menu:

    (menuitem "Move to Desk 1"
               #:action (lambda (win)
                                (move-window-to-desk 0 win)))
    (menuitem "Move to Desk 2"
               #:action (lambda (win)
                                (move-window-to-desk 1 win)))
    (menuitem "Move to Desk 3"
               #:action (lambda (win)
                                (move-window-to-desk 2 win)))

etc.

--
Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 26 16:25:09 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA14810
	for scwm-discuss-outgoing; Tue, 26 Oct 1999 16:25:09 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA14807
	for <scwm-discuss@scwm.mit.edu>; Tue, 26 Oct 1999 16:25:04 -0400
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id NAA18833;
	Tue, 26 Oct 1999 13:24:54 -0700
To: scwm-discuss@scwm.mit.edu, guile@sourceware.cygnus.com
Subject: Scwm-0.99.5.1 is Released!
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 26 Oct 1999 13:24:54 -0700
Message-ID: <qrrso2xuay1.fsf@clavicle.cs.washington.edu>
Lines: 154
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Since 0.99.5 had some show-stopping bugs, I've made a bugfix-only
release, 0.99.5.1.  Below are the NEWS entries, and the announcement is
at the very end, after a ^L-------.

Grab it from http://scwm.mit.edu/

Enjoy!
Greg

Changes for scwm-0.99.5.1 (released 26-October-1999)
* Bug fixes
* RPM built to link against libguile.so.6 (guile-1.3.4) instead of
  libguile.so.7 (CVS guile)

Changes for scwm-0.99.5 (released 24-October-1999)

* Bug fixes

* Added interactive procedure specifications

Used to make clear which procedures should be called interactively
via menus or bindings.  Right now just used by prompt-binding, but
will be required of menuitem actions and binding actions in the next
version.

* New configure option, --enable-dump
Rudimentary, not-state-preserving-yet support for guile-hobbit's
unexec capabilities (goal: reduce startup time substantially).

* New preferences options
** *highlight-foreground*, *highlight-background*

* SIGINT (Ctrl-C) is now allowed to interrupt and terminate Scwm
Unless SCWM_CATCH_SIGINT is defined during compilation

* New modules (largely from breaking up flux.scm, factoring system.scwmrc)
** winops-menu.scm
** xlock-menus.scm
** titlebar-buttons.scm
** task-switcher.scm
** synth-events.scm
** shove-window.scm
** session.scm
** rectangle.scm
** lambda-startup-logo.scm
** describe.scm
** basic-styles.scm

* Renamed numerous primitives
** Now (un)shade-window, shaded-window? 
-> was window-(un)shade, window-shaded?
** Standardize on toggle-maximize-{vertical,horizontal,both} instead of random other names
** (de)iconify-window, iconified-window?
-> was (de)iconify, iconified?
** focus-window
-> was focus
** sticky-window?, (un)stick-window
-> was sticky?, (un)stick
** `window-focus-style'
-> was get-window-focus
** `send-button', `send-key'
-> were send-button-press, send-key-press

---------------------------

Scwm 0.99.5.1 is released.

* What Scwm is:

Scwm is the Scheme Constraints Window Manager, a highly dynamic and
extensible window manager for the X Window System.  Scwm embeds Guile
Scheme as the configuration and extension language, and includes a
sophisticated constraint solver for permitting the user to interactively
specify constraints among top-level window sizes and positions.  Nearly
all decorations can be changed at run-time on a per-window basis.
Dynamic loading of C modules is supported.  Scwm is self-documenting and
provides A powerful protocol for interacting with the window manager
from other processes.

* Primary Authors:

Greg J. Badros <gjb@cs.washington.edu>
Maciej Stachowiak <mstachow@alum.mit.edu> 

Other substantial contributors include:
  Robert Bihlmeyer <robbe@orcus.priv.at>, 
  Todd Larason <jtl@molehill.org>, 
  Jeff Nichols <jwnichls@cs.washington.edu>, and
  Sam Steingold <sds@goems.com>.

Many more people have contributed bug reports, bug fixes, or smaller
changes; see AUTHORS and THANKS in the distribution.

* Where you can find more info:

Some information about scwm is available at:

http://scwm.mit.edu/

There are also scwm-discuss@scwm.mit.edu and
scwm-announce@scwm.mit.edu mailing lists for disscussion and
release announcements repsectively. The new list
scwm-commits@scwm.mit.edu receives all scwm CVS commit messages.
You can subscribe to any of these at majordomo@scwm.mit.edu by
sending a message with a body of "subscribe <list>" where <list> is
the name of the list you want.

* Where you can get it:

You can download the latest scwm source package from:

ftp://scwm.mit.edu/pub/scwm/scwm-0.99.5.1.tar.gz

There is also
ftp://scwm.mit.edu/pub/scwm/scwm-icons-0.99.5.1.tar.gz

which has a number of images for use with scwm as icons, textures,
buttons, etc. Some of these images are not available otherwise.

You will also need to download and install the guile library. You can
get the latest release from:

ftp://prep.ai.mit.edu/pub/gnu/guile

or any archive that has GNU source packages available.

You can get the latest guile snapshot from:

http://www.gnu.org/software/guile/guile.html

The snapshots are officially alpha but they generally work pretty
well; however, 1.3.4 is recommended for now since it is the most 
recent. Guile 1.2 is no longer supported, but Guile-1.3 should still
work with only minimal loss of functionality (Guile-1.3.2 was buggy and
should be avoided).


* Packages

Various binary RPMs are available at:

ftp://scwm.mit.edu/pub/scwm/RPMS/

Various source RPMs are available at:

ftp://scwm.mit.edu/pub/scwm/SRPMS/

and the scwm-icons distribution is available at:

ftp://scwm.mit.edu/pub/scwm/RPMS/noarch

See the NEWS file in the distribution for a complete list
of all that has changed since the previous version of Scwm.


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 26 17:31:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA15181
	for scwm-discuss-outgoing; Tue, 26 Oct 1999 17:31:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA15178
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 26 Oct 1999 17:31:09 -0400
Received: from faun.cs.tu-berlin.de (mgrabmue@faun.cs.tu-berlin.de [130.149.31.105])
	by mail.cs.tu-berlin.de (8.9.1/8.9.1) with ESMTP id XAA29799
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 26 Oct 1999 23:27:57 +0200 (MET DST)
Received: (from mgrabmue@localhost)
	by faun.cs.tu-berlin.de (8.9.1/8.9.0) id XAA09120
	for scwm-discuss@SCWM.MIT.EDU; Tue, 26 Oct 1999 23:27:56 +0200 (MET DST)
Date: Tue, 26 Oct 1999 23:27:55 +0200
From: Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Problems building scwm with cassowary
Message-ID: <19991026232755.A9106@faun.cs.tu-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hello all,

when trying to build scwm with the cassowary toolkit,
I ran into the following problem:

/usr/i486-linux/bin/ld: cannot open -lconstraints: No such file or directory
collect2: ld returned 1 exit status
make[1]: *** [scwm] Error 1

I was not able to figure out where the problem is.
This is my setup:

GNU/Linux w/ 2.2.5 kernel (don't think that matters)
egcs-2.91.66


GTL-0.3.1 configured and built like this:
./configure
make
make install

cassowary-0.53 configured like this:
./configure --with-gtl=/usr/local
make
make install

scwm-0.99.5 configure like this:
./configure  --with-cassowary=/usr/local
make
[build barfs]

and yes, I also fetched scwm-icons-0.99.2, but that
is not too importand, I think.

I would really like to try out the constraint features
of scwm, so I would be glad if anybody could help.  I
just hope I did not make a too stupid mistake ;)

TIA,
  mgrabmue
  
-- 
Martin Grabmueller        Technische Universitaet Berlin
mgrabmue@cs.tu-berlin.de  ..........................#@%!


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Oct 26 17:54:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA15324
	for scwm-discuss-outgoing; Tue, 26 Oct 1999 17:54:44 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA15321
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 26 Oct 1999 17:54:39 -0400
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id OAA19541;
	Tue, 26 Oct 1999 14:54:19 -0700
To: Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Problems building scwm with cassowary
References: <19991026232755.A9106@faun.cs.tu-berlin.de>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 26 Oct 1999 14:54:19 -0700
In-Reply-To: Martin Grabmueller's message of "Tue, 26 Oct 1999 23:27:55 +0200"
Message-ID: <qrrd7u1u6t0.fsf@clavicle.cs.washington.edu>
Lines: 49
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Martin Grabmueller <mgrabmue@cs.tu-berlin.de> writes:

> Hello all,
> 
> when trying to build scwm with the cassowary toolkit,
> I ran into the following problem:
> 
> /usr/i486-linux/bin/ld: cannot open -lconstraints: No such file or directory
> collect2: ld returned 1 exit status
> make[1]: *** [scwm] Error 1
> 
> I was not able to figure out where the problem is.
> This is my setup:
> 
> GNU/Linux w/ 2.2.5 kernel (don't think that matters)
> egcs-2.91.66
> 
> 
> GTL-0.3.1 configured and built like this:
> ./configure
> make
> make install
> 
> cassowary-0.53 configured like this:
> ./configure --with-gtl=/usr/local
> make
> make install

Use "--enable-guile-build" as a configure option, and be sure that the
guile/ subdirectory gets built and installed correctly.

See the new README-constraints included with Scwm-0.99.5.1 (which you
should definitely upgrade to; 0.99.5 was a lemon of a distribution :-( ).

> scwm-0.99.5 configure like this:
> ./configure  --with-cassowary=/usr/local
> make
> [build barfs]
> 
> and yes, I also fetched scwm-icons-0.99.2, but that
> is not too importand, I think.
> 
> I would really like to try out the constraint features
> of scwm, so I would be glad if anybody could help.  I
> just hope I did not make a too stupid mistake ;)

I'd love to have you get this working, too!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct 27 11:05:39 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA20132
	for scwm-discuss-outgoing; Wed, 27 Oct 1999 11:05:39 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sparrow.otechestvo-hq.ru (sparrow.otechestvo-hq.ru [194.84.66.130])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id LAA20128
	for <scwm-discuss@scwm.mit.edu>; Wed, 27 Oct 1999 11:05:05 -0400
Received: (qmail 3879 invoked by uid 500); 27 Oct 1999 14:59:39 -0000
To: scwm-discuss@scwm.mit.edu
Subject: 0.99.5.1 and gnome panel
From: Alexander Vorobiev <sparrow@linuxfan.com>
Date: 27 Oct 1999 18:59:39 +0400
Message-ID: <m3wvs8j1d0.fsf@sparrow.otechestvo-hq.ru>
Lines: 21
User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) XEmacs/21.1 (Arches)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi!

I have a question about how scwm deals with gnome panel. During
startup gnome panel first appears in the middle of the screen among
other windows (according, I suppose, to some smart placement
procedures) and then it jumps to the edge of the screen where it
supposed to be (I use vertical panel at the north-east corner of the
screen). In my ~/.xsession-errors file I see the following message:

[Scwm][MovePswToCurrentPosition]: <<ERROR>> Window panel is sticky but
not on screen at 0,783 
moving panel to 0,761.

The difference between behavior of 0.99.4 and that of 0.99.5.1 is that 
in 0.99.4 the message appeared after processing of .scwmrc and in
0.99.5.1 the message appears during processing of .scwmrc and the rest 
of .scwmrc doesn't get processed. As .scwmrc I use (slightly modified
to use decors) system.scwmrc from 0.99.4 or 0.99.55.1 distributions.

Regards,
Alexander

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct 27 13:17:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA20585
	for scwm-discuss-outgoing; Wed, 27 Oct 1999 13:17:33 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA20582
	for <scwm-discuss@scwm.mit.edu>; Wed, 27 Oct 1999 13:17:29 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id NAA14785
	for <scwm-discuss@scwm.mit.edu>; Wed, 27 Oct 1999 13:17:19 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma014766; Wed, 27 Oct 99 13:16:52 -0400
Received: from localhost.localdomain (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.14) with ESMTP id NAA31664; Wed, 27 Oct 1999 13:16:53 -0400
Received: (from ejb@localhost) by localhost.localdomain (8.9.3/APEXINC-CLIENT-1.0) id NAA18891; Wed, 27 Oct 1999 13:16:52 -0400
Date: Wed, 27 Oct 1999 13:16:52 -0400
Message-Id: <199910271716.NAA18891@localhost.localdomain>
X-Authentication-Warning: localhost.localdomain: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: scwm-discuss@scwm.mit.edu
Subject: current repository version: gravity/placement problems
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Repository Timestamp: Wed Oct 27 12:12:41 EDT 1999 -- $Revision: 1.381 $

The current version of scwm in the anonymous repository has some
gravity/placement bugs.  With this .scwmrc:

   (use-scwm-modules base
		     style
		     decor
		     face
		     winops
   )

   (bind-key 'all "C-S-M-End" restart)

   (define q-decor (make-decor))
   (with-decor q-decor
	       (bind-mouse 'window "M-1" lower-window lower-window)
	       (bind-mouse 'window "M-2" interactive-move)
	       (bind-mouse 'window "M-3" raise-window raise-window)
	       (title-style #:height '30)
   )

   (window-style "*"
		 #:show-icon #f
		 #:border-width 1
		 #:highlight-bg "#fbe"
		 #:bg "#393"
		 #:use-decor q-decor
   )

notice that any window created with southeast/southwest gravity ends
up too high.  Try xterm -geometry -0-0.  The amount by which it is too
high is related to title height - 16 and possibly border width in some
way; I haven't determined it exactly.

Also, initially iconic windows get messed up somehow.  Try 

xterm -geometry -0+0 iconic

Notice that with each restart of the window manager, the window moves
an amount based on its decoration and also loses its original
borders.

I don't know how long the second problem has been there.  I noticed it
while restarting to reproduce this bug....

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct 27 18:20:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA21565
	for scwm-discuss-outgoing; Wed, 27 Oct 1999 18:20:14 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA21562
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 27 Oct 1999 18:20:10 -0400
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id PAA31629;
	Wed, 27 Oct 1999 15:19:55 -0700
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: current repository version: gravity/placement problems
References: <199910271716.NAA18891@localhost.localdomain>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 27 Oct 1999 15:19:55 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Wed, 27 Oct 1999 13:16:52 -0400"
Message-ID: <qrremegqwdw.fsf@clavicle.cs.washington.edu>
Lines: 40
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> Repository Timestamp: Wed Oct 27 12:12:41 EDT 1999 -- $Revision: 1.381 $
> 
> The current version of scwm in the anonymous repository has some
> gravity/placement bugs.  With this .scwmrc:

<snip>

> notice that any window created with southeast/southwest gravity ends
> up too high.  Try xterm -geometry -0-0.  The amount by which it is too
> high is related to title height - 16 and possibly border width in some
> way; I haven't determined it exactly.

This is because I #:use-decor to a style option since the bugs are worse 
when it's a hint option (which fixes this bug).  Actually, I was
fiddling with trying to make it be a "both" option, but more changes
need to be made before that'll work cleanly, and I've not time right
now, unfortunately.

> Also, initially iconic windows get messed up somehow.  Try 
> 
> xterm -geometry -0+0 iconic

These seem no worse to me than others... how do you mean "messed up"?

> Notice that with each restart of the window manager, the window moves
> an amount based on its decoration and also loses its original
> borders.
> 
> I don't know how long the second problem has been there.  I noticed it
> while restarting to reproduce this bug....

Probably again from my backing out the #:use-decor as a window-hint
change that I made to fix this bug weeks ago when we first had a similar 
discussion.  My apologies for not making these changes more clear to
you, especially, since it does re-introduce a known bug that I'd fixed a 
while ago, but in return it restores proper changing of themes.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct 27 18:25:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA21636
	for scwm-discuss-outgoing; Wed, 27 Oct 1999 18:25:33 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA21631
	for <scwm-discuss@scwm.mit.edu>; Wed, 27 Oct 1999 18:25:29 -0400
Received: from faun.cs.tu-berlin.de (mgrabmue@faun.cs.tu-berlin.de [130.149.31.105])
	by mail.cs.tu-berlin.de (8.9.1/8.9.1) with ESMTP id AAA22705
	for <scwm-discuss@scwm.mit.edu>; Thu, 28 Oct 1999 00:22:21 +0200 (MET DST)
Received: (from mgrabmue@localhost)
	by faun.cs.tu-berlin.de (8.9.1/8.9.0) id AAA01807
	for scwm-discuss@scwm.mit.edu; Thu, 28 Oct 1999 00:22:20 +0200 (MET DST)
Date: Thu, 28 Oct 1999 00:22:19 +0200
From: Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
To: scwm-discuss@scwm.mit.edu
Subject: Re: Problems building scwm with cassowary
Message-ID: <19991028002219.A942@faun.cs.tu-berlin.de>
References: <19991026232755.A9106@faun.cs.tu-berlin.de> <qrrd7u1u6t0.fsf@clavicle.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrrd7u1u6t0.fsf@clavicle.cs.washington.edu>; from Greg J. Badros on Tue, Oct 26, 1999 at 02:54:19PM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Tue, Oct 26, 1999 at 02:54:19PM -0700, Greg J. Badros wrote:
> 
> Use "--enable-guile-build" as a configure option, and be sure that the
> guile/ subdirectory gets built and installed correctly.

I promise to put everything starting with README under my pillow in the future.
Really.

> See the new README-constraints included with Scwm-0.99.5.1 (which you
> should definitely upgrade to; 0.99.5 was a lemon of a distribution :-( ).

Indeed, 0.99.5 segfaulted while I was reading your reply :P...
0.99.5.1 looks better.

> I'd love to have you get this working, too!
> 
> Greg

Thank you very much for the fast response.
Unfortunately, constraints still do not work for me.
Scwm builds without error, but when I try to turn on
the constraint feature from the left-button-on-root-
window (I'm currently using the default system.scwmrc),
an error window pops up reading ``ERROR: unbound variable
make-cl-solver''.  In .SCWM-errors I also find: ``ERROR:
unbound variable: cl-is-constraint-satisfied?''.  Seems
some primitives are missing, but I don't know why since
I get no linking errors...

Hope you can help and TIA,
  mgrabmue

-- 
Martin Grabmueller        Technische Universitaet Berlin
mgrabmue@cs.tu-berlin.de  ..........................#@%!


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct 27 18:32:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA21722
	for scwm-discuss-outgoing; Wed, 27 Oct 1999 18:32:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA21719
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 27 Oct 1999 18:32:39 -0400
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id PAA31751;
	Wed, 27 Oct 1999 15:32:26 -0700
To: Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Problems building scwm with cassowary
References: <19991026232755.A9106@faun.cs.tu-berlin.de> <qrrd7u1u6t0.fsf@clavicle.cs.washington.edu> <19991028002219.A942@faun.cs.tu-berlin.de>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 27 Oct 1999 15:32:26 -0700
In-Reply-To: Martin Grabmueller's message of "Thu, 28 Oct 1999 00:22:19 +0200"
Message-ID: <qrr904oqvt1.fsf@clavicle.cs.washington.edu>
Lines: 36
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Martin Grabmueller <mgrabmue@cs.tu-berlin.de> writes:

> On Tue, Oct 26, 1999 at 02:54:19PM -0700, Greg J. Badros wrote:
> > 
> > Use "--enable-guile-build" as a configure option, and be sure that the
> > guile/ subdirectory gets built and installed correctly.
> 
> I promise to put everything starting with README under my pillow in the future.
> Really.
> 
> > See the new README-constraints included with Scwm-0.99.5.1 (which you
> > should definitely upgrade to; 0.99.5 was a lemon of a distribution :-( ).
> 
> Indeed, 0.99.5 segfaulted while I was reading your reply :P...
> 0.99.5.1 looks better.
> 
> > I'd love to have you get this working, too!
> > 
> > Greg
> 
> Thank you very much for the fast response.
> Unfortunately, constraints still do not work for me.
> Scwm builds without error, but when I try to turn on
> the constraint feature from the left-button-on-root-
> window (I'm currently using the default system.scwmrc),
> an error window pops up reading ``ERROR: unbound variable
> make-cl-solver''.  In .SCWM-errors I also find: ``ERROR:
> unbound variable: cl-is-constraint-satisfied?''.  Seems
> some primitives are missing, but I don't know why since
> I get no linking errors...

What does src/constraint-primitives.x look like?

Can you run cassowary/guile/cltests.scm using guile independent of Scwm?

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct 27 18:55:56 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA21992
	for scwm-discuss-outgoing; Wed, 27 Oct 1999 18:55:56 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA21989
	for <scwm-discuss@scwm.mit.edu>; Wed, 27 Oct 1999 18:55:50 -0400
Received: from faun.cs.tu-berlin.de (mgrabmue@faun.cs.tu-berlin.de [130.149.31.105])
	by mail.cs.tu-berlin.de (8.9.1/8.9.1) with ESMTP id AAA25067;
	Thu, 28 Oct 1999 00:50:47 +0200 (MET DST)
Received: (from mgrabmue@localhost)
	by faun.cs.tu-berlin.de (8.9.1/8.9.0) id AAA02559;
	Thu, 28 Oct 1999 00:50:44 +0200 (MET DST)
Date: Thu, 28 Oct 1999 00:50:44 +0200
From: Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Problems building scwm with cassowary
Message-ID: <19991028005044.A2520@faun.cs.tu-berlin.de>
References: <19991026232755.A9106@faun.cs.tu-berlin.de> <qrrd7u1u6t0.fsf@clavicle.cs.washington.edu> <19991028002219.A942@faun.cs.tu-berlin.de> <qrr904oqvt1.fsf@clavicle.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6i
In-Reply-To: <qrr904oqvt1.fsf@clavicle.cs.washington.edu>; from Greg J. Badros on Wed, Oct 27, 1999 at 03:32:26PM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Wed, Oct 27, 1999 at 03:32:26PM -0700, Greg J. Badros wrote:
> What does src/constraint-primitives.x look like?

do {  scwm_resolve_hook  = scm_make_named_hook(  "scwm-resolve-hook" ,  1 ); } while (0) ;
      scwm_make_gsubr(s_add_stays_on_window ,   1 ,   0 ,   0 , (SCM (*)(...)) add_stays_on_window ,  "'(win)");
      scwm_make_gsubr(s_scwm_set_master_solver_x ,   1 ,   0 ,   0 , (SCM (*)(...)) scwm_set_master_solver_x ,  "'(solver)");
      scwm_make_gsubr(s_scwm_master_solver ,   0 ,   0 ,   0 , (SCM (*)(...)) scwm_master_solver ,  "'()");
      scwm_make_gsubr(s_window_clv_xl ,   1 ,   0 ,   0 , (SCM (*)(...)) window_clv_xl ,  "'(window)");
      scwm_make_gsubr(s_window_clv_yt ,   1 ,   0 ,   0 , (SCM (*)(...)) window_clv_yt ,  "'(window)");
      scwm_make_gsubr(s_window_clv_xr ,   1 ,   0 ,   0 , (SCM (*)(...)) window_clv_xr ,  "'(window)");
      scwm_make_gsubr(s_window_clv_yb ,   1 ,   0 ,   0 , (SCM (*)(...)) window_clv_yb ,  "'(window)");
      scwm_make_gsubr(s_window_clv_width ,   1 ,   0 ,   0 , (SCM (*)(...)) window_clv_width ,  "'(window)");
      scwm_make_gsubr(s_window_clv_height ,   1 ,   0 ,   0 , (SCM (*)(...)) window_clv_height ,  "'(window)");
      scwm_make_gsubr(s_screen_clv_vx ,   0 ,   0 ,   0 , (SCM (*)(...)) screen_clv_vx ,  "'()");
      scwm_make_gsubr(s_screen_clv_vy ,   0 ,   0 ,   0 , (SCM (*)(...)) screen_clv_vy ,  "'()");
      scwm_make_gsubr(s_screen_clv_pointerx ,   0 ,   0 ,   0 , (SCM (*)(...)) screen_clv_pointerx ,  "'()");
      scwm_make_gsubr(s_screen_clv_pointery ,   0 ,   0 ,   0 , (SCM (*)(...)) screen_clv_pointery ,  "'()");
      scwm_make_gsubr(s_cl_windows_of_constraint ,   1 ,   0 ,   0 , (SCM (*)(...)) cl_windows_of_constraint ,  "'(cn)");

> Can you run cassowary/guile/cltests.scm using guile independent of Scwm?

Urm, seems I got an problem here... There is no such thing
as a cltest.scm in my cassowary dist (0.53).  I read about 
the test file in README-constraints, but I thought it was
a leftover from an older distribution.

Puzzled,
  mgrabmue
  
-- 
Martin Grabmueller        Technische Universitaet Berlin
mgrabmue@cs.tu-berlin.de  ..........................#@%!


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Oct 27 20:32:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA22218
	for scwm-discuss-outgoing; Wed, 27 Oct 1999 20:32:58 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA22215
	for <scwm-discuss@scwm.mit.edu>; Wed, 27 Oct 1999 20:32:53 -0400
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id RAA01158;
	Wed, 27 Oct 1999 17:32:42 -0700
To: Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Problems building scwm with cassowary
References: <19991026232755.A9106@faun.cs.tu-berlin.de> <qrrd7u1u6t0.fsf@clavicle.cs.washington.edu> <19991028002219.A942@faun.cs.tu-berlin.de> <qrr904oqvt1.fsf@clavicle.cs.washington.edu> <19991028005044.A2520@faun.cs.tu-berlin.de>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 27 Oct 1999 17:32:42 -0700
In-Reply-To: Martin Grabmueller's message of "Thu, 28 Oct 1999 00:50:44 +0200"
Message-ID: <qrr66zsqq8l.fsf@clavicle.cs.washington.edu>
Lines: 135
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Martin Grabmueller <mgrabmue@cs.tu-berlin.de> writes:

> On Wed, Oct 27, 1999 at 03:32:26PM -0700, Greg J. Badros wrote:
> > What does src/constraint-primitives.x look like?
> 
> do {  scwm_resolve_hook  = scm_make_named_hook(  "scwm-resolve-hook" ,  1 ); } while (0) ;
>       scwm_make_gsubr(s_add_stays_on_window ,   1 ,   0 ,   0 , (SCM (*)(...)) add_stays_on_window ,  "'(win)");
>       scwm_make_gsubr(s_scwm_set_master_solver_x ,   1 ,   0 ,   0 , (SCM (*)(...)) scwm_set_master_solver_x ,  "'(solver)");
>       scwm_make_gsubr(s_scwm_master_solver ,   0 ,   0 ,   0 , (SCM (*)(...)) scwm_master_solver ,  "'()");
>       scwm_make_gsubr(s_window_clv_xl ,   1 ,   0 ,   0 , (SCM (*)(...)) window_clv_xl ,  "'(window)");
>       scwm_make_gsubr(s_window_clv_yt ,   1 ,   0 ,   0 , (SCM (*)(...)) window_clv_yt ,  "'(window)");
>       scwm_make_gsubr(s_window_clv_xr ,   1 ,   0 ,   0 , (SCM (*)(...)) window_clv_xr ,  "'(window)");
>       scwm_make_gsubr(s_window_clv_yb ,   1 ,   0 ,   0 , (SCM (*)(...)) window_clv_yb ,  "'(window)");
>       scwm_make_gsubr(s_window_clv_width ,   1 ,   0 ,   0 , (SCM (*)(...)) window_clv_width ,  "'(window)");
>       scwm_make_gsubr(s_window_clv_height ,   1 ,   0 ,   0 , (SCM (*)(...)) window_clv_height ,  "'(window)");
>       scwm_make_gsubr(s_screen_clv_vx ,   0 ,   0 ,   0 , (SCM (*)(...)) screen_clv_vx ,  "'()");
>       scwm_make_gsubr(s_screen_clv_vy ,   0 ,   0 ,   0 , (SCM (*)(...)) screen_clv_vy ,  "'()");
>       scwm_make_gsubr(s_screen_clv_pointerx ,   0 ,   0 ,   0 , (SCM (*)(...)) screen_clv_pointerx ,  "'()");
>       scwm_make_gsubr(s_screen_clv_pointery ,   0 ,   0 ,   0 , (SCM (*)(...)) screen_clv_pointery ,  "'()");
>       scwm_make_gsubr(s_cl_windows_of_constraint ,   1 ,   0 ,   0 , (SCM (*)(...)) cl_windows_of_constraint ,  "'(cn)");
> 
> > Can you run cassowary/guile/cltests.scm using guile independent of Scwm?
> 
> Urm, seems I got an problem here... There is no such thing
> as a cltest.scm in my cassowary dist (0.53).  I read about 
> the test file in README-constraints, but I thought it was
> a leftover from an older distribution.

Oops... left it out of EXTRA_DIST.   It is below.

Greg


#!/uns/bin/guile -s
!#
;;; $Id: cltests.scm,v 1.4 1999/03/17 07:40:56 gjb Exp $ -*- scwm -*-
;;; simple1
;;; be sure $CASSOWARY_HOME/guile is in your $GUILE_LOAD_PATH
;;; guile will look for app/cassowary/libconstraints.so to be somewhere off
;;; of a directory listed in $GUILE_LOAD_PATH
(use-modules (cassowary constraints))

(begin
  (define solver (make-cl-solver))
  (define x (make-cl-variable "x" 167))
  (define y (make-cl-variable "y" 2))
  (cl-add-stay solver (list x y))
  (define eq (make-cl-equality (make-cl-expression x) y))
  (cl-add-constraint solver eq)
  (for-each (lambda (x) (display x))
	    (list "x = " (cl-value x) "\n" "y = " (cl-value y) "\n"))
  (= (cl-value x) (cl-value y)))

(define solver (make-cl-solver))
(define clv-table (make-vector 20))

(define (clv-lookup-var id)
  (let ((v (hash-ref clv-table id)))
    (if v v (begin (set! v (make-cl-variable id)) (cl-add-stay solver v) (hash-set! clv-table id v) v))))

(define c1 (make-cl-constraint-from-string "x = y" clv-lookup-var))
(define c2 (make-cl-constraint-from-string "x = 5" clv-lookup-var))

(cl-add-constraint solver c1)
(cl-add-constraint solver c2)

(define x (clv-lookup-var "x"))
(define y (clv-lookup-var "y"))

;;; justStay1
(begin
  (define solver (make-cl-solver))
  (define x (make-cl-variable "x" 5))
  (define y (make-cl-variable "y" 10))
  (cl-add-stay solver (list x y))
  (for-each (lambda (x) (display x))
            (list "x = " (cl-value x) "\n" "y = " (cl-value y) "\n")))

;;; addDelete1
(begin
  (define solver (make-cl-solver))
  (define x (make-cl-variable "x"))
  (cl-add-constraint solver (make-cl-equality x (make-cl-expression 100) cls-weak))
  (define c10 (make-cl-inequality x <= 10))
  (define c20 (make-cl-inequality x <= 20))
  (cl-add-constraint solver c10)
  (cl-add-constraint solver c20)
  (for-each (lambda (x) (display x)) (list "x == " (cl-value x) "\n"))  
  ;; want 10

  (cl-remove-constraint solver c10)
  (for-each (lambda (x) (display x)) (list "x == " (cl-value x) "\n"))  
  ;; want 20

  (cl-remove-constraint solver c20)
  (for-each (lambda (x) (display x)) (list "x == " (cl-value x) "\n"))
  ;; want 100

  (define c10again (make-cl-inequality x <= 10))
  (cl-add-constraint solver c10 c10again)
  ;; (cl-solver-debug-print solver)
  (for-each (lambda (x) (display x)) (list "x == " (cl-value x) "\n"))
  ;; want 10

  (cl-remove-constraint solver c10)
  (for-each (lambda (x) (display x)) (list "x == " (cl-value x) "\n"))
  ;; want 10

  (cl-remove-constraint solver c10again)
  (for-each (lambda (x) (display x)) (list "x == " (cl-value x) "\n"))
  ;; want 100
  )
  

;; addDelSimple
(begin 
  (define solver (make-cl-solver))
  (define x (make-cl-variable "x" 5))
  (define y (make-cl-variable "y"))
  (cl-add-stay solver (list x y))
  (define eq (make-cl-equality x (cl-times y 2)))
  (cl-add-constraint solver eq)
  (for-each (lambda (x) (display x)) (list "x == " (cl-value x) "\n" "y == " (cl-value y) "\n"))
  (cl-add-editvar solver x)
  (cl-begin-edit solver)
  (cl-suggest-value solver x 9)
  (cl-resolve solver)
  (for-each (lambda (x) (display x)) (list "x == " (cl-value x) "\n" "y == " (cl-value y) "\n"))
  (cl-end-edit solver)
  )

;;; Local Variables:
;;; eval: (load "scwm")
;;; eval: (scwm-mode)
;;; End:

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct 28 07:53:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA25488
	for scwm-discuss-outgoing; Thu, 28 Oct 1999 07:53:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA25485
	for <scwm-discuss@scwm.mit.edu>; Thu, 28 Oct 1999 07:52:56 -0400
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id VAA17338
	for <scwm-discuss@scwm.mit.edu>; Thu, 28 Oct 1999 21:52:33 +1000
Message-ID: <38193DCC.32789E8E@tech.com.au>
Date: Fri, 29 Oct 1999 16:25:16 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: Cassowary dead
References: <Pine.LNX.4.10.9910191500290.4541-100000@icomm.ca> <qrr904zgle8.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


The version of cassowary rpm linked on the web site (53.1) doesn't
exist. Does this mean it is dangerous for me to install scwm-99.5? I've
noticed in the past that the scwm rpms don't have the dependancies
properly specified, and I don't want to install 99.5 and find it doesn't
work.

-- 
Chris Bitmead
mailto:chris@tech.com.au
http://www.techphoto.org - Photography News, Stuff that Matters

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct 28 09:07:53 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA25667
	for scwm-discuss-outgoing; Thu, 28 Oct 1999 09:07:53 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA25664
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 28 Oct 1999 09:07:29 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id PAA04742;
	Thu, 28 Oct 1999 15:07:03 +0200 (MET DST)
Date: Thu, 28 Oct 1999 15:07:02 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: "Harvey J. Stein" <hjstein@bfr.co.il>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: desk and viewport (was Re: FvwmPager doesn't work any more)
Message-ID: <19991028150702.A12311@youkaidi.irisa.fr>
References: <199910261710.NAA12979@blinky.bloomberg.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 1.0pre4us
In-Reply-To: <199910261710.NAA12979@blinky.bloomberg.com>; from hjstein@bfr.co.il on Tue, Oct 26, 1999 at 01:10:26PM -0400
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Harvey J. Stein écrivait :
> I define swap-desk to move btw two desks:
> 
>    (define* (swap-desk #&optional (win (get-window #t #f #f)))
>      "Move WIN from its current desktop to the other desktop."
>      (move-window-to-desk (modulo (+ (current-desk) 1) 2) win))
> 
> This is for my setup, with two viewports.  Change the 2 to the number
> of viewports you have and it becomes next-desk.

Ok, it's nice, but I think you mix up two different notions : desks
and viewports. Your function move windows between *desks*. I want to
move my windows between *viewports*. I have only one desk divided into
4x2 virtual screens.

For me, the function would be like that :

(define* (swap-to-screen xx yy #&optional (win (get-window)))
  (let* ((p (window-viewport-position win))
         (x (car p))
         (y (cadr p)) )
    (move-window (+ x (* xx display-width))
             (+ y (* yy display-height))
             win)
    (set-viewport-position! (* xx display-width)
                            (* yy display-height)) ))

(define (menuitem-swap-to-screen x)
  (menuitem (string-append "To screen " (number->string x))
            #:action (lambda () (swap-to-screen (1- x) 0)) ))

(menuitem "Swap Screen..." #:action
              (menu 
               (list
                (menuitem-swap-to-screen 1)
                (menuitem-swap-to-screen 2)
                (menuitem-swap-to-screen 3)
                (menuitem-swap-to-screen 4) )) )
			    
> On my window menu options (clicking on leftmost button on titlebar,
> the one with move/resize/raise/lower/...) I put:
> 
>     (menuitem "Swap Desk" #:action swap-desk)
> 
> Then I can at least click on the menu to move the window to the other
> desk.
> 
> You could also put the following on the same menu:
> 
>     (menuitem "Move to Desk 1"
>                #:action (lambda (win)
>                                 (move-window-to-desk 0 win)))
>     (menuitem "Move to Desk 2"
>                #:action (lambda (win)
>                                 (move-window-to-desk 1 win)))
>     (menuitem "Move to Desk 3"
>                #:action (lambda (win)
>                                 (move-window-to-desk 2 win)))

Thanks for the idea.

-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct 28 09:27:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA25753
	for scwm-discuss-outgoing; Thu, 28 Oct 1999 09:27:43 -0400
Received: from mailhub1-dmz1.bloomberg.com (mailhub1-dmz1.bloomberg.com [199.172.169.17])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA25750
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 28 Oct 1999 09:27:40 -0400
Received: from ns2.bloomberg.com by mailhub1-dmz1.bloomberg.com; Thu, 28 Oct 1999 09:28:58 -0400
Received: from blinky.bloomberg.com by ns2.bloomberg.com (8.6.13/200.20.1.1)
	id JAA04722; Thu, 28 Oct 1999 09:27:31 -0400
Received: (from hjstein@localhost)
	by blinky.bloomberg.com (8.9.3/8.9.3) id JAA15671;
	Thu, 28 Oct 1999 09:27:31 -0400
X-Authentication-Warning: blinky.bloomberg.com: hjstein set sender to hjstein@bfr.co.il using -f
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: desk and viewport (was Re: FvwmPager doesn't work any more)
References: <199910261710.NAA12979@blinky.bloomberg.com> <19991028150702.A12311@youkaidi.irisa.fr>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 28 Oct 1999 09:27:29 -0400
In-Reply-To: Hubert Canon's message of "Thu, 28 Oct 1999 15:07:02 +0200"
Message-ID: <kiwk8o77gzi.fsf@blinky.bloomberg.com>
Lines: 51
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

 > Harvey J. Stein écrivait :
 > > I define swap-desk to move btw two desks:
 > > 
 > >    (define* (swap-desk #&optional (win (get-window #t #f #f)))
 > >      "Move WIN from its current desktop to the other desktop."
 > >      (move-window-to-desk (modulo (+ (current-desk) 1) 2) win))
 > > 
 > > This is for my setup, with two viewports.  Change the 2 to the number
 > > of viewports you have and it becomes next-desk.
 > 
 > Ok, it's nice, but I think you mix up two different notions : desks
 > and viewports. Your function move windows between *desks*. I want to
 > move my windows between *viewports*. I have only one desk divided into
 > 4x2 virtual screens.

Oh, ok.  Dragging btw viewports works fine for me.  I have problems
with dragging btw desktops.  I'm using 2 2x3 desktops with the fvwm2
pager.  I'm *not* using a recent release of scwm.

Are you sure you have the pager configured properly?  Here's my
config:

(set-desk-size! 2 3)

(window-style "FvwmPager"
	      #:use-style desk-widget
	      #:no-titlebar #t)

(register-fvwm2-module-config "FvwmPager"
			      "*FvwmPagerBack grey20"
			      "*FvwmPagerFore Orchid"
			      "*FvwmPagerHilight Black"
			      "*FvwmPagerGeometry +0+0"
			      "*FvwmPagerDeskTopScale 50"
			      "*FvwmPagerLabel 0 Top"
			      "*FvwmPagerLabel 1 Bottom"
			      "*FvwmPagerSmallFont 5x8")

(define fvwm-pager (run-fvwm2-module  
		    "/usr/X11R6/lib/X11/fvwm2/FvwmPager"
		    '("0" "1")))

(With (use-modules ... (app scwm fvwm-eval) (app scwm fvwm-module)
...) at the top.)

-- 
Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct 28 09:41:49 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA25882
	for scwm-discuss-outgoing; Thu, 28 Oct 1999 09:41:49 -0400
Received: from through.ads.apexinc.com (through.apexinc.com [209.49.195.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA25879
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 28 Oct 1999 09:41:43 -0400
Received: (from mail@localhost)
	by through.ads.apexinc.com (8.9.3/8.9.3-APEXINC.COM) id JAA12090;
	Thu, 28 Oct 1999 09:41:32 -0400
Received: from apex.ads.apexinc.com(192.168.0.1) by through.ads.apexinc.com via smap (V2.1)
	id xma012084; Thu, 28 Oct 99 09:41:07 -0400
Received: from localhost.localdomain (IDENT:root@soup.ads.apexinc.com [192.168.0.5]) by apex.ads.apexinc.com (8.9.3/APEXINC-SERVER-1.0-ADS-1.14) with ESMTP id JAA19036; Thu, 28 Oct 1999 09:41:10 -0400
Received: (from ejb@localhost) by localhost.localdomain (8.9.3/APEXINC-CLIENT-1.0) id JAA20201; Thu, 28 Oct 1999 09:41:09 -0400
Date: Thu, 28 Oct 1999 09:41:09 -0400
Message-Id: <199910281341.JAA20201@localhost.localdomain>
X-Authentication-Warning: localhost.localdomain: ejb set sender to ejb@apexinc.com using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: gjb@cs.washington.edu
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <qrremegqwdw.fsf@clavicle.cs.washington.edu>
	(gjb@cs.washington.edu)
Subject: Re: current repository version: gravity/placement problems
References: <199910271716.NAA18891@localhost.localdomain> <qrremegqwdw.fsf@clavicle.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>
>   > Also, initially iconic windows get messed up somehow.  Try 
>   > 
>   > xterm -geometry -0+0 iconic
>
>   These seem no worse to me than others... how do you mean "messed up"?

The next paragraph explains what I mean:

   > Notice that with each restart of the window manager, the window moves
   > an amount based on its decoration and also loses its original
   > borders.

xterms that are not initially iconic and have northwest/northeast
gravity don't move around by the title bar height; those that are
initially iconic do.  Also, iconic windows lose their original
borders.

>   Probably again from my backing out the #:use-decor as a window-hint
>   change that I made to fix this bug weeks ago when we first had a similar 
>   discussion.  My apologies for not making these changes more clear to
>   you, especially, since it does re-introduce a known bug that I'd fixed a 
>   while ago, but in return it restores proper changing of themes.

Okay, thanks for the explanation.  I guess I must have missed seeing
this change back.

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct 28 11:14:20 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA26160
	for scwm-discuss-outgoing; Thu, 28 Oct 1999 11:14:20 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA26157
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 28 Oct 1999 11:14:15 -0400
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id IAA03458;
	Thu, 28 Oct 1999 08:14:02 -0700
To: "E. Jay Berkenbilt" <ejb@ql.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: current repository version: gravity/placement problems
References: <199910271716.NAA18891@localhost.localdomain> <qrremegqwdw.fsf@clavicle.cs.washington.edu> <199910281341.JAA20201@localhost.localdomain>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 28 Oct 1999 08:14:02 -0700
In-Reply-To: "E. Jay Berkenbilt"'s message of "Thu, 28 Oct 1999 09:41:09 -0400"
Message-ID: <qrrn1t3plfp.fsf@clavicle.cs.washington.edu>
Lines: 38
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"E. Jay Berkenbilt" <ejb@ql.org> writes:

> >
> >   > Also, initially iconic windows get messed up somehow.  Try 
> >   > 
> >   > xterm -geometry -0+0 iconic
> >
> >   These seem no worse to me than others... how do you mean "messed up"?
> 
> The next paragraph explains what I mean:
> 
>    > Notice that with each restart of the window manager, the window moves
>    > an amount based on its decoration and also loses its original
>    > borders.
> 
> xterms that are not initially iconic and have northwest/northeast
> gravity don't move around by the title bar height; those that are
> initially iconic do.  Also, iconic windows lose their original
> borders.

Ahh... I didn't realize that that paragraph was explaining that
initially iconic xterms only had this bug.  I get it now.  Thanks for
the bug report!

> 
> >   Probably again from my backing out the #:use-decor as a window-hint
> >   change that I made to fix this bug weeks ago when we first had a similar 
> >   discussion.  My apologies for not making these changes more clear to
> >   you, especially, since it does re-introduce a known bug that I'd fixed a 
> >   while ago, but in return it restores proper changing of themes.
> 
> Okay, thanks for the explanation.  I guess I must have missed seeing
> this change back.

It wasn't obvious, and it's been hectic;  like I wrote, I should've done 
a better job informing you.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct 28 11:41:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA26303
	for scwm-discuss-outgoing; Thu, 28 Oct 1999 11:41:08 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA26299
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 28 Oct 1999 11:39:43 -0400
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id IAA06146;
	Thu, 28 Oct 1999 08:39:03 -0700
To: Chris Bitmead <chris@tech.com.au>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Cassowary dead
References: <Pine.LNX.4.10.9910191500290.4541-100000@icomm.ca> <qrr904zgle8.fsf@elwha.cs.washington.edu> <38193DCC.32789E8E@tech.com.au>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 28 Oct 1999 08:39:03 -0700
In-Reply-To: Chris Bitmead's message of "Fri, 29 Oct 1999 16:25:16 +1000"
Message-ID: <qrrbt9jpka0.fsf@clavicle.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

> The version of cassowary rpm linked on the web site (53.1) doesn't
> exist. Does this mean it is dangerous for me to install scwm-99.5? I've

I finally found the problem you mention; the link to
cassowary-0.53-1.i386.rpm (note the complete filename) was indeed
missing.

> noticed in the past that the scwm rpms don't have the dependancies
> properly specified, and I don't want to install 99.5 and find it doesn't
> work.

How so?  Please report improper dependencies in RPMs as a bug; because
my machines are all Scwm dev machines, it's hard for me to test RPMs
(they aren't free from related libraries, etc., before, so I wouldn't
really gain a lot of confidence just because the RPM install works for
me).

Installing Scwm-0.99.5 is definitely dangerous for anyone! I've decided
to remove it from the ftp sites.

Scwm-0.99.5.1 is a bug fix release that is much better.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct 28 11:43:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA26332
	for scwm-discuss-outgoing; Thu, 28 Oct 1999 11:43:12 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA26329
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 28 Oct 1999 11:43:08 -0400
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id IAA06153;
	Thu, 28 Oct 1999 08:42:51 -0700
To: hjstein@bfr.co.il (Harvey J. Stein)
Cc: Hubert Canon <Hubert.Canon@irisa.fr>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: desk and viewport (was Re: FvwmPager doesn't work any more)
References: <199910261710.NAA12979@blinky.bloomberg.com> <19991028150702.A12311@youkaidi.irisa.fr> <kiwk8o77gzi.fsf@blinky.bloomberg.com>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 28 Oct 1999 08:42:51 -0700
In-Reply-To: hjstein@bfr.co.il's message of "28 Oct 1999 09:27:29 -0400"
Message-ID: <qrr7lk7pk3o.fsf@clavicle.cs.washington.edu>
Lines: 32
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

hjstein@bfr.co.il (Harvey J. Stein) writes:

> Hubert Canon <Hubert.Canon@irisa.fr> writes:
> 
>  > Harvey J. Stein écrivait :
>  > > I define swap-desk to move btw two desks:
>  > > 
>  > >    (define* (swap-desk #&optional (win (get-window #t #f #f)))
>  > >      "Move WIN from its current desktop to the other desktop."
>  > >      (move-window-to-desk (modulo (+ (current-desk) 1) 2) win))
>  > > 
>  > > This is for my setup, with two viewports.  Change the 2 to the number
>  > > of viewports you have and it becomes next-desk.
>  > 
>  > Ok, it's nice, but I think you mix up two different notions : desks
>  > and viewports. Your function move windows between *desks*. I want to
>  > move my windows between *viewports*. I have only one desk divided into
>  > 4x2 virtual screens.
> 
> Oh, ok.  Dragging btw viewports works fine for me.  I have problems
> with dragging btw desktops.  I'm using 2 2x3 desktops with the fvwm2
> pager.  I'm *not* using a recent release of scwm.
> 
> Are you sure you have the pager configured properly?  Here's my
> config:

There was a bug in dragging windows via the Pager between 0.99.4ish and
0.99.5.1; it's fixed in 0.99.5.1 and the latest CVS.  The problem was
that XMoveWindow requests from applications to Scwm were not being
properly honoured.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct 28 17:43:05 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA27268
	for scwm-discuss-outgoing; Thu, 28 Oct 1999 17:43:05 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA27265
	for <scwm-discuss@scwm.mit.edu>; Thu, 28 Oct 1999 17:42:55 -0400
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id OAA09476;
	Thu, 28 Oct 1999 14:42:45 -0700
To: scwm-discuss@scwm.mit.edu
Subject: I'll be away from my desk...
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 28 Oct 1999 14:42:45 -0700
Message-ID: <qrraep3nove.fsf@clavicle.cs.washington.edu>
Lines: 12
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

from tomorrow morning through November 11th as I'll be at some
conferences. I'll still be reading email, and will be working (though on
some things other than Scwm itself, probably).  I may not be as good
about responding to email, though.  Hopefully others can help out on
this list as issues arise.

Incidentally, if anyone reading is going to be at OOPSLA in Denver next
week, or at UIST in Asheville, NC the following week, let me know since
I'd be happy to grab a beer and discuss your thoughts on Scwm.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct 28 18:04:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA27424
	for scwm-discuss-outgoing; Thu, 28 Oct 1999 18:04:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA27420
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 28 Oct 1999 18:04:11 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id SAA20550
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 28 Oct 1999 18:04:04 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id SAA07562;
	Thu, 28 Oct 1999 18:03:43 -0400 (EDT)
Date: Thu, 28 Oct 1999 18:03:43 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Trouble building cassowary on HP
In-Reply-To: <qrrd7u1u6t0.fsf@clavicle.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9910281745560.13155-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I decided to try and see if I could build a "full" scwm with constraints
on HP-UX.

GTL built and installed OK, and Cassowary's build and install proceded
without error, using gcc/g++ 2.95.1

Running ClTests produces a core dump a ways down:

|starting timing test. nCns = 90, nVars = 90, nResolves = 100
|done building data structures
|time = 0.03
|
|done adding constraints [15 exceptions]
|time = 0.25
|
|time per cn = 0.00277778
|
|time per actual cn = 0.00333333
|
|
|Program received signal SIGBUS, Bus error.
|addDel (nCns=90, nVars=90, nResolves=100) at cassowary/ClSimplexSolver.h:111
|111           ClEditConstraint *pedit = new ClEditConstraint(v, strength, weight);
|(gdb) bt
|#0  addDel (nCns=90, nVars=90, nResolves=100)
|    at cassowary/ClSimplexSolver.h:111
|#1  0xc5b84 in main (argc=1, argv=0x7b03c104) at ClTests.cc:863
|(gdb) p pedit
|No symbol "pedit" in current context.
|(gdb) frame 0
|#0  addDel (nCns=90, nVars=90, nResolves=100)
|    at cassowary/ClSimplexSolver.h:111
|111           ClEditConstraint *pedit = new ClEditConstraint(v, strength, weight);
|(gdb) p v
|No symbol "v" in current context.
|(gdb)

The gdb I have is 4.16, which is quite old - apparently it is unable to get
usable local variable information for a recent g++.  

I tried running the cltests.scm in the guile directory, but it is unable to
find the module:
guile -s cltests.scm
ERROR: no such module (cassowary constraints)

Also, I think the guile installation may be slightly wrong: 

configure.in sets cassoguiledir=$GUILE_PKGDATA_DIR/site/cassowary;
Shouldn't this be based on guile's pkglibdir instead of pkgdatadir?
pktlibdir is in $prefix/share, which is in fact shared across several
architectures here.  Fine for scheme code, but that isn't going to work
for shared libraries or other binaries.

I guess for now I get to build Scwm-0.95.1 plain-vanilla once again.

Steve

-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct 28 20:07:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA27905
	for scwm-discuss-outgoing; Thu, 28 Oct 1999 20:07:13 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from thig.blarg.net (root@thig.blarg.net [206.124.128.18])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA27902
	for <scwm-discuss@scwm.mit.edu>; Thu, 28 Oct 1999 20:06:41 -0400
Received: from snowball (vp005.atm01.sea.blarg.net [206.124.138.5])
	by thig.blarg.net (8.9.3/8.9.3) with ESMTP id RAA31807
	for <scwm-discuss@scwm.mit.edu>; Thu, 28 Oct 1999 17:06:25 -0700
Received: by blarg.net
	via sendmail from stdin
	id <m11gzYI-001UilC@snowball> (Debian Smail3.2.0.102)
	for scwm-discuss@scwm.mit.edu; Thu, 28 Oct 1999 17:05:54 -0700 (PDT) 
To: scwm-discuss@scwm.mit.edu
Subject: frequent core dumps in 0.99.5.1
From: Eric Hanchrow <offby1@blarg.net>
Date: 28 Oct 1999 17:05:54 -0700
Message-ID: <873duvkp3x.fsf@blarg.net>
Lines: 78
X-Mailer: Gnus v5.6.45/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Sorry that I can't tell you how to repro this; it seems to happen
randomly.  I'd be happy to provide more information on request.

  Current directory is /usr/local/bin/
  GNU gdb 4.17.m68k.objc.threads.hwwp.fpu.gnat
  Copyright 1998 Free Software Foundation, Inc.
  GDB is free software, covered by the GNU General Public License, and you are
  welcome to change it and/or distribute copies of it under certain conditions.
  Type "show copying" to see the conditions.
  There is absolutely no warranty for GDB.  Type "show warranty" for details.
  This GDB was configured as "i486-pc-linux-gnu"...
  (gdb) core core
  /usr/local/bin/core: No such file or directory.
  (gdb) core /home/offby1/core
  Core was generated by `scwm --segv-reset-count 0'.
  Program terminated with signal 6, Aborted.
  done.
  #0  0x401ab601 in kill ()
  (gdb) where
  #0  0x401ab601 in kill ()
  #1  0x401ab42f in gsignal ()
  #2  0x401ac64f in abort ()
  #3  0x4012e880 in scm_igc (what=0x4016e899 "string") at gc.c:468
  #4  0x4012fe59 in scm_must_malloc (size=69, what=0x4016e899 "string") at gc.c:1446
  #5  0x4015b65c in scm_makstr (len=68, slots=0) at strings.c:142
  #6  0x4015b862 in scm_makfromstr (src=0x821c2a0 "[Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity\n", len=68, slots=0) at strings.c:213
  #7  0x4015b8c2 in scm_makfrom0str (src=0x821c2a0 "[Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity\n") at strings.c:227
  #8  0x401311b9 in gh_str02scm (s=0x821c2a0 "[Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity\n") at gh_data.c:93
  #9  0x8073708 in BroadcastName (event_type=131072, data1=0, data2=0, data3=0, szName=0x821c2a0 "[Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity\n") at module-interface.c:110
  #10 0x807ac9a in scwm_msg (type=ERR, id=0x808cd89 "SigDoneSegv", msg=0x808cd95 "Doing some cleanup to restore sanity") at scwm.c:1793
  #11 0x807a818 in SigDoneSegv (ignored_ignore=11) at scwm.c:1554
  #12 <signal handler called>
  #13 0x401c8000 in   ()
  #14 0x4012e95f in scm_igc (what=0x4016f5a4 "regexp-exec") at gc.c:574
  #15 0x4012fe59 in scm_must_malloc (size=8, what=0x4016f5a4 "regexp-exec") at gc.c:1446
  #16 0x40169e77 in scm_regexp_exec (rx=1078718416, str=1077127936, start=9588, flags=2) at regex-posix.c:218
  #17 0x40133555 in scm_gsubr_apply (args=1077127768) at gsubr.c:144
  #18 0x40128ecb in scm_dapply (proc=1076351240, arg1=1076371792, args=1077127792) at eval.c:3488
  #19 0x40127fa1 in scm_deval (x=10612, env=1077127816) at eval.c:2967
  #20 0x40125a4a in scm_deval (x=1077549456, env=1077127816) at eval.c:2153
  #21 0x4012577a in scm_deval (x=1078030816, env=1077128288) at eval.c:2102
  #22 0x4012910a in scm_dapply (proc=1077250936, arg1=10612, args=1077128288) at eval.c:3558
  #23 0x40123551 in scm_apply (proc=1077250936, arg1=1078715792, args=1076350992) at eval.c:3370
  #24 0x4012412e in scm_for_each (proc=1077250936, arg1=1077338736, args=10612) at eval.c:3784
  #25 0x4012857d in scm_deval (x=10612, env=1077250944) at eval.c:3102
  #26 0x4012910a in scm_dapply (proc=1078005144, arg1=10612, args=1077251048) at eval.c:3558
  #27 0x40123551 in scm_apply (proc=1078005144, arg1=1077254128, args=10612) at eval.c:3370
  #28 0x4012a53e in scm_c_run_hook (hook=1076898192, args=1077254128) at feature.c:206
  #29 0x4012a4f7 in scm_run_hook (hook=1076898192, args=1077254128) at feature.c:197
  #30 0x4013350d in scm_gsubr_apply (args=1077253328) at gsubr.c:142
  #31 0x40128ecb in scm_dapply (proc=1076351712, arg1=1076351712, args=1077253800) at eval.c:3488
  #32 0x40123551 in scm_apply (proc=1076351712, arg1=1077253800, args=10612) at eval.c:3370
  #33 0x40132882 in gh_apply (proc=1076351712, args=1077253800) at gh_funcs.c:144
  #34 0x805eaf2 in scwm_body_apply (body_data=0xbffff6f4) at callbacks.c:71
  #35 0x40161433 in scm_internal_lazy_catch (tag=9076, body=0x805eae0 <scwm_body_apply>, body_data=0xbffff6f4, handler=0x40161490 <ss_handler>, handler_data=0x0) at throw.c:310
  #36 0x4016150c in cwss_body (data=0xbffff580) at throw.c:345
  #37 0x40161275 in scm_internal_catch (tag=9076, body=0x401614e0 <cwss_body>, body_data=0xbffff580, handler=0x805f150 <scwm_handle_error>, handler_data=0x0) at throw.c:228
  #38 0x40161560 in scm_internal_stack_catch (tag=9076, body=0x805eae0 <scwm_body_apply>, body_data=0xbffff6f4, handler=0x805f150 <scwm_handle_error>, handler_data=0x0) at throw.c:359
  #39 0x805eb1c in cwssdr_body (data=0xbffff6c4) at callbacks.c:97
  #40 0x40161275 in scm_internal_catch (tag=9076, body=0x805eb00 <cwssdr_body>, body_data=0xbffff6c4, handler=0x806b740 <cwdr_no_unwind_handler>, handler_data=0xbffff694) at throw.c:228
  #41 0x806b863 in scm_internal_cwdr_no_unwind (body=0x805eb00 <cwssdr_body>, body_data=0xbffff6c4, handler=0x805f150 <scwm_handle_error>, handler_data=0x8088996, stack_start=0xbffff6f0) at guile-compat.c:111
  #42 0x805eb58 in scm_internal_stack_cwdr (body=0x805eae0 <scwm_body_apply>, body_data=0xbffff6f4, handler=0x805f150 <scwm_handle_error>, handler_data=0x8088996, stack_item=0xbffff6f0) at callbacks.c:127
  #43 0x805eb9e in scwm_safe_apply (proc=1076351712, args=1077253800) at callbacks.c:187
  #44 0x805ed02 in call1_hooks (hook=1076898192, arg1=1077380664) at callbacks.c:316
  #45 0x8057a68 in AddWindow (w=33554520) at add_window.c:787
  #46 0x8066cc0 in HandleMapRequestKeepRaised (KeepRaised=0) at events.c:1125
  #47 0x8066c6a in HandleMapRequest () at events.c:1105
  #48 0x8065a75 in DispatchEvent () at events.c:307
  #49 0x8065aac in HandleEvents () at events.c:325
  #50 0x807a013 in scwm_main (argc=3, argv=0xbffffc94) at scwm.c:1217
  #51 0x4013299d in gh_launch_pad (closure=0x8079360, argc=3, argv=0xbffffc94) at gh_init.c:60
  #52 0x40135829 in invoke_main_func (body_data=0xbffffc38) at init.c:570
  #53 0x40161433 in scm_internal_lazy_catch (tag=9076, body=0x40135800 <invoke_main_func>, body_data=0xbffffc38, handler=0x40161780 <scm_handle_by_message>, handler_data=0x0) at throw.c:310
  #54 0x401357d9 in scm_boot_guile_1 (base=0xbffffc34, closure=0xbffffc38) at init.c:544
  #55 0x40135549 in scm_boot_guile (argc=3, argv=0xbffffc94, main_func=0x40132980 <gh_launch_pad>, closure=0x8079360) at init.c:405
  #56 0x401329d8 in gh_enter (argc=3, argv=0xbffffc94, c_main_prog=0x8079360 <scwm_main>) at gh_init.c:70
  #57 0x8079355 in main (argc=3, argv=0xbffffc94) at scwm.c:589
  (gdb) 

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct 28 20:22:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA28042
	for scwm-discuss-outgoing; Thu, 28 Oct 1999 20:22:16 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from sebastian.neuroflex.com (root@[202.62.130.81])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA28036
	for <scwm-discuss@scwm.mit.edu>; Thu, 28 Oct 1999 20:22:08 -0400
Received: from tech.com.au (chris.neuroflex.com [172.16.1.24])
	by sebastian.neuroflex.com (8.9.3/8.8.7) with ESMTP id KAA02061
	for <scwm-discuss@scwm.mit.edu>; Fri, 29 Oct 1999 10:41:16 +1000
Message-ID: <3818EA10.8A21D2A3@tech.com.au>
Date: Fri, 29 Oct 1999 10:28:00 +1000
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: Re: Cassowary dead
References: <Pine.LNX.4.10.9910191500290.4541-100000@icomm.ca> <qrr904zgle8.fsf@elwha.cs.washington.edu> <38193DCC.32789E8E@tech.com.au> <qrrbt9jpka0.fsf@clavicle.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk



> How so?  Please report improper dependencies in RPMs as a bug; because
> my machines are all Scwm dev machines, it's hard for me to test RPMs
> (they aren't free from related libraries, etc., before, so I wouldn't
> really gain a lot of confidence just because the RPM install works for
> me).

Well I remember when upgrading to, I think it was 99.4 I started by
downloading the scwm rpm and tried installing that. And I went on to
install only those rpms that rpm was complaining about. It didn't
complain about getting new versions of all the rpms (e.g. cassowary)
listed on scwm.mit, and scwm didnt work. When I downloaded the latest of
all it started working.

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct 28 20:51:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA28208
	for scwm-discuss-outgoing; Thu, 28 Oct 1999 20:51:18 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA28205
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 28 Oct 1999 20:51:13 -0400
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id RAA11845;
	Thu, 28 Oct 1999 17:51:02 -0700
To: Eric Hanchrow <offby1@blarg.net>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: frequent core dumps in 0.99.5.1
References: <873duvkp3x.fsf@blarg.net>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 28 Oct 1999 17:51:02 -0700
In-Reply-To: Eric Hanchrow's message of "28 Oct 1999 17:05:54 -0700"
Message-ID: <qrrso2vm1l5.fsf@clavicle.cs.washington.edu>
Lines: 10
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Eric Hanchrow <offby1@blarg.net> writes:

> Sorry that I can't tell you how to repro this; it seems to happen
> randomly.  I'd be happy to provide more information on request.

If this isn't linked against guile-1.3.4, you might want to try
upgrading to that version of guile.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Oct 28 21:06:39 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA28312
	for scwm-discuss-outgoing; Thu, 28 Oct 1999 21:06:39 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA28305
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 28 Oct 1999 21:05:56 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id VAA24935;
	Thu, 28 Oct 1999 21:05:36 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id VAA15472;
	Thu, 28 Oct 1999 21:05:36 -0400 (EDT)
Date: Thu, 28 Oct 1999 21:05:35 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: Greg Badros <gjb@cs.washington.edu>
cc: "E. Jay Berkenbilt" <ejb@ql.org>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: message-window problems 
In-Reply-To: <qrraepgk4rb.fsf@elwha.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9910282050160.13155-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Hi Greg and everyone,

I'm having what seems to be a very similar same problem as Jay had 
a while back, but I'm having it with 0.99.5.1 downloaded and compiled
today.  Anyone else seeing this?

; scwm -f scwmrc.tiny
Could not find image `anchor.xpm' --- perhaps your image-load-path is
wrong or you need to install scwm/pixmaps or the scwm-icons package?
Error loading module: (app scwm style)
ERROR: In procedure message-window-set-image!:
ERROR: Wrong type argument in position 2: #<unspecified>
ERROR: Unbound variable: window-style

; (later when trying to use the left-button-1 menu)

ERROR: Unbound variable: interactive-move


The offending anchor.scm is definitely in one of my image-load-path
directories.  

No stack traces in evidence - they would help a lot.  I get similar
messages (and a lot of other stuff) with system.scwmrc or
spare-blue.scwmrc.

I'm afraid that somthing in the recent scheme code reorg has made scwm a
lot more fragile.

scwm -f /dev/null on the other hand works pretty well.


(that scwmrc is below)

On 18 Oct 1999, Greg Badros wrote:

> "E. Jay Berkenbilt" <ejb@ql.org> writes:
 
> > If I run scwm with this .scwmrc:
> > 
> >   (use-scwm-modules base style)
> > 
> > I get this output:
> > 
> > [Scwm][make-image]: <<WARNING>> Image file was not found: `anchor.xpm'
> > Error loading module: (app scwm style)
> > ERROR: In procedure message-window-set-image!:
> > ERROR: Wrong type argument in position 2: #f
> >
> > I don't use the message window.  I don't know whether this is relevant
> > or not.  I also don't have a recent scwm-icons (yet).
> 
> anchor.xpm is actually in scwm/pixmaps, not in scwm-icons, so a proper
> install should find it.  Do you have anchor.xpm on your system somewhere.
> 
> I've now made message-window-set-image! turn off the image if the image
> argument is #f instead of an image object.  That should avoid similar
> problems in the future.

> > In any case, this problem renders my .scwmrc completely inoperable.  I

Yup, same here.

> > don't have time to mess with it today, so I'll have to revert to
> > something older until I have time to look into this or until it is
> > fixed.


-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


; -*- mode: scwm -*-
; scwmrc.tiny: attempt at minimal .scwmrc showing 0.99.5.1 problems

(use-scwm-modules 
	base 
	winops 
	defoption 
        style 
        style-options 
)

(set! image-load-path 
      (append 
       '( "/usr/local/include/X11R6/X11/bitmaps"
	  "/usr/local/contrib/mod/include/X11/pixmaps"
	  "/home/msl/tell/include/X11/pixmaps"
	  "/home/msl/tell/lib/X11/mini-icons"
	  "/usr/lib/X11/bitmaps"

; that elusive anchor.xpm is definitely here, 
; but still can't be found:
	  "/home/msl/tell/hp/share/pixmaps"
	 )
       image-load-path))

(window-style "*" 
	      #:focus 'click
	      #:random-placement #t
)

(bind-key 'all "C-A-q" quit)

(define (make-small-window-ops-menu w)
  (menu 
   (list
    (menuitem "Move" #:action interactive-move)
    (menuitem "Resize" #:action interactive-resize)
    (menuitem "Raise" #:action raise-window)
    (menuitem "Lower" #:action lower-window)
    (menuitem "Iconify" #:action iconify-window)
    menu-separator
    (menuitem "Close" #:action close-window)
)))

(define (popup-small-ops)
  (popup-menu (make-small-window-ops-menu (get-window))))

;; window buttons
(bind-mouse 'left-button-1 1 popup-small-ops)
(bind-mouse 'left-button-1 3 popup-small-ops)
(bind-mouse 'right-button-2 1 iconify-window)


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 29 05:31:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA31388
	for scwm-discuss-outgoing; Fri, 29 Oct 1999 05:31:43 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA31385
	for <scwm-discuss@scwm.mit.edu>; Fri, 29 Oct 1999 05:31:38 -0400
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id LAA12489
	for <scwm-discuss@scwm.mit.edu>; Fri, 29 Oct 1999 11:31:29 +0200 (MET DST)
Date: Fri, 29 Oct 1999 11:31:28 +0200
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: SCWM Discussion Mailing List <scwm-discuss@scwm.mit.edu>
Subject: scwm-0.99.5.1 : FvwmButtons strange behaviour
Message-ID: <19991029113128.A22915@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre4us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

I tried the latest version scwm-0.99.5.1 and there's a problem with
FvwmButtons : it doesn't swallow windows anymore (like FvwmPager,
xload or rclock).

What happened ?

-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 29 12:58:07 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA31865
	for scwm-discuss-outgoing; Fri, 29 Oct 1999 12:58:07 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA31862
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 29 Oct 1999 12:58:00 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id MAA17829
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 29 Oct 1999 12:57:45 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id MAA28399;
	Fri, 29 Oct 1999 12:57:40 -0400 (EDT)
Date: Fri, 29 Oct 1999 12:57:39 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: bugfix, but   MY KINGDOM FOR A TRACEBACK!
In-Reply-To: <19991029113128.A22915@youkaidi.irisa.fr>
Message-ID: <Pine.GHP.4.10.9910291221530.13155-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Has anyone ever gotten a guile traceback from an error during
module-loading in scwm 0.99.5.1 with guile-1.3.4?  If so, *please* tell me
what you did to get it...

I was trying desperately to chase this error:

; scwm -f scwmrc.min
Could not find image `anchor.xpm' --- perhaps your image-load-path is
wrong or you need to install scwm/pixmaps or the scwm-icons package?
Error loading module: (app scwm winops)
ERROR: In procedure message-window-set-image!:
ERROR: Wrong type argument in position 2: #<unspecified>

I've installed scwm-icons, and anchor.xpm is in a directory my image load
path.  But still no dice, and I don't really need whatever it is wants
anchor.xpm anyway.

After fiddling around all morning, I've found that the problem is in
make-image-or-warn; if it puts up the warning, it returns #<unspecified>
when it should return #f.

Here's the fix I came up with:

*** /msl/tell/hp/share/scwm/modules/app/scwm/base.scm   Fri Oct 29 12:51:50 1999
--- base.scm    Tue Oct 26 14:43:49 1999
***************
*** 854,862 ****
  write a warning instead."
    (let ((answer (make-image filename)))
      (or answer
!       (begin
!         (image-not-found-message filename)
!         #f))))
  
  (define-public (image-not-found-message filename)
    "Report a missing image filename, but do not error."
--- 854,860 ----
  write a warning instead."
    (let ((answer (make-image filename)))
      (or answer
!       (image-not-found-message filename))))
  
  (define-public (image-not-found-message filename)
    "Report a missing image filename, but do not error."








-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 29 14:10:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA32045
	for scwm-discuss-outgoing; Fri, 29 Oct 1999 14:10:00 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA32042
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 29 Oct 1999 14:09:53 -0400
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id LAA01301;
	Fri, 29 Oct 1999 11:09:42 -0700
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: scwm-0.99.5.1 : FvwmButtons strange behaviour
References: <19991029113128.A22915@youkaidi.irisa.fr>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 29 Oct 1999 11:09:42 -0700
In-Reply-To: Hubert Canon's message of "Fri, 29 Oct 1999 11:31:28 +0200"
Message-ID: <qrrd7tyghsp.fsf@clavicle.cs.washington.edu>
Lines: 17
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hi,
> 
> I tried the latest version scwm-0.99.5.1 and there's a problem with
> FvwmButtons : it doesn't swallow windows anymore (like FvwmPager,
> xload or rclock).
> 
> What happened ?

Not sure... I've not used that feature recently.  Do you remember the
last time it worked?

Thanks,
Greg

P.S.  I'll be less responsive for 13 days starting RSN; sorry!

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 29 14:11:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA32054
	for scwm-discuss-outgoing; Fri, 29 Oct 1999 14:11:51 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA32051
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 29 Oct 1999 14:11:48 -0400
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id LAA01309;
	Fri, 29 Oct 1999 11:11:29 -0700
To: Stephen Tell <tell@cs.unc.edu>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: bugfix, but   MY KINGDOM FOR A TRACEBACK!
References: <Pine.GHP.4.10.9910291221530.13155-100000@rukbat.cs.unc.edu>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 29 Oct 1999 11:11:29 -0700
In-Reply-To: Stephen Tell's message of "Fri, 29 Oct 1999 12:57:39 -0400 (EDT)"
Message-ID: <qrraep2ghpq.fsf@clavicle.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> Has anyone ever gotten a guile traceback from an error during
> module-loading in scwm 0.99.5.1 with guile-1.3.4?  If so, *please* tell me
> what you did to get it...

You might be able to get one using

(backtrace)

from a scwmrepl just after the error.  I've got evalling of:

(debug-enable 'backtrace) ;; or something like that

in scwm.c, so I'm not sure why backtraces are missing.

<snip>

Your fix looks good...  I'm not sure I'm going to be able to make the
patch before leaving, though.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 29 14:37:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA32316
	for scwm-discuss-outgoing; Fri, 29 Oct 1999 14:37:24 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA32313
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 29 Oct 1999 14:37:11 -0400
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id LAA01497;
	Fri, 29 Oct 1999 11:36:57 -0700
To: Stephen Tell <tell@cs.unc.edu>
Cc: "E. Jay Berkenbilt" <ejb@ql.org>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: message-window problems
References: <Pine.GHP.4.10.9910282050160.13155-100000@rukbat.cs.unc.edu>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 29 Oct 1999 11:36:57 -0700
In-Reply-To: Stephen Tell's message of "Thu, 28 Oct 1999 21:05:35 -0400 (EDT)"
Message-ID: <qrrso2uf1yu.fsf@clavicle.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

<snip>

> The offending anchor.scm is definitely in one of my image-load-path
> directories.  

achor.xpm?  Can you use truss/strace/whatever to watch scwm try to open
files and see why the pixmap is not being found?  Your other patch is a
good defensive improvement, but we also need to know why the image isn't 
getting located.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 29 14:57:38 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA32428
	for scwm-discuss-outgoing; Fri, 29 Oct 1999 14:57:38 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA32425
	for <scwm-discuss@scwm.mit.edu>; Fri, 29 Oct 1999 14:57:35 -0400
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id LAA01680;
	Fri, 29 Oct 1999 11:57:26 -0700
To: scwm-discuss@scwm.mit.edu
Subject: I did get Stephen's patch into CVS
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 29 Oct 1999 11:57:26 -0700
Message-ID: <qrrk8o6f10p.fsf@clavicle.cs.washington.edu>
Lines: 5
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

if you're having problems with anchor.xpm, be sure to cvs update and use 
the latest, or just apply Stephen's patch and re-install.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 29 17:07:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA00186
	for scwm-discuss-outgoing; Fri, 29 Oct 1999 17:07:26 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA00183
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 29 Oct 1999 17:07:13 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id RAA27362;
	Fri, 29 Oct 1999 17:06:59 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id RAA00659;
	Fri, 29 Oct 1999 17:06:57 -0400 (EDT)
Date: Fri, 29 Oct 1999 17:06:56 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: "Greg J. Badros" <gjb@cs.washington.edu>
cc: scwm-discuss@SCWM.MIT.EDU
Subject: move-or-deiconify bugfix
In-Reply-To: <qrrk8o6f10p.fsf@clavicle.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9910291650300.29101-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Here's another little bug+fix.

move-or-deiconify, commonly bound to a mouse button
on icons, was failing with:

ERROR: Unbound variable: animated-deiconify

because winops.scm was missing a call to 
		:use-module (app scwm animated-iconify)
probably in the aftermath of some module reorganization.

Since I wasn't sure I wanted animated deiconifying in this case, I went
ahead and created an *iconify-animatedly* option by following the example
set by *maximize-animatedly*.   I haven't tested it with the gui
configuration, because I don't have Gtk+ working with scwm yet.  (The
guile-gtk authors went off and did some variation on the module loading
instead of using the standard guile stuff, and I think there thing just
doesn't work on HP-UX yet)

This patch to winops.scm also creates procedures
iconify- and deiconify-window-maybe-animated, which can be used wherever
iconify-window and deiconify-window are used now.

Now maybe you want to put some/all of this into animated-iconify.scm
instead of winops.scm, and perhaps several of these things should get
renamed, say:

iconify-window  -> simple-iconify-window   (primitive in window.c)
animated-iconify -> animated-iconify-window (in animated-iconify.scm)
iconify-window-maybe-animated iconify-window		(checks option)


And just maybe minimal.scm should (define iconify-window
simple-iconify-window) with the expectation that it may or may not get
redefined later.  Sort of like what's been done with opaque vs. rubberband
resize.

Ideally, I wonder if winops.scm could omit all direct references to
animation - so that if for some interval animation gets broken, winops
still mostly works, and I don't have to hack half of winops.scm into my
fallback-scwmrc.

Have a good trip, Greg!

Steve


-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


*** winops.scm	Tue Oct 26 14:43:51 1999
--- /msl/tell/share/scwm/modules/app/scwm/winops.scm	Fri Oct 29 16:47:15 1999
***************
*** 30,36 ****
    :use-module (app scwm path-cache)
    :use-module (app scwm style-options)
    :use-module (app scwm window-selection)
!   :use-module (app scwm sort))
  
  
  
--- 30,38 ----
    :use-module (app scwm path-cache)
    :use-module (app scwm style-options)
    :use-module (app scwm window-selection)
!   :use-module (app scwm sort)
!   :use-module (app scwm animated-iconify)
! )
  
  
  
***************
*** 463,471 ****
      ((double-click) (animated-toggle-window-shade))
      (else (move-or-raise))))
  
  (define*-public (move-or-deiconify)
    "Move the icon on a drag, de-iconify on a double click."
    (interactive)
    (case (mouse-event-type)
      ((motion) (interactive-move))
!     ((double-click) (animated-deiconify))))
--- 465,496 ----
      ((double-click) (animated-toggle-window-shade))
      (else (move-or-raise))))
  
+ (define-scwm-option *iconify-animatedly* #t
+   "Whether to use animation when iconifying and deiconifying."
+   #:type 'boolean
+   #:group 'winops)
+ 
+ (define*-public (deiconify-window-maybe-animated #&optional (win (get-window)))
+   "Deiconify WIN, using either deiconify-window or animated-deiconify,
+  depending on the settiong of the option *iconify-animatedly*"
+   (interactive)
+   (if *iconify-animatedly*
+       (animated-deiconify win)
+       (deiconify-window win)))
+ 
+ (define*-public (iconify-window-maybe-animated #&optional (win (get-window)))
+   "Iconify WIN, using either iconify-window or animated-iconify,
+  depending on the settiong of the option *iconify-animatedly*"
+   (interactive)
+   (if *iconify-animatedly*
+       (animated-iconify win)
+       (iconify-window win)))
+ 
  (define*-public (move-or-deiconify)
    "Move the icon on a drag, de-iconify on a double click."
    (interactive)
    (case (mouse-event-type)
      ((motion) (interactive-move))
!     ((double-click) (deiconify-window-maybe-animated))
!      
! ))


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 29 17:11:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA00236
	for scwm-discuss-outgoing; Fri, 29 Oct 1999 17:11:51 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA00232
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 29 Oct 1999 17:11:48 -0400
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id RAA27540;
	Fri, 29 Oct 1999 17:11:36 -0400 (EDT)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id RAA00705;
	Fri, 29 Oct 1999 17:11:35 -0400 (EDT)
Date: Fri, 29 Oct 1999 17:11:35 -0400 (EDT)
From: Stephen Tell <tell@cs.unc.edu>
To: "Greg J. Badros" <gjb@cs.washington.edu>
cc: "E. Jay Berkenbilt" <ejb@ql.org>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: message-window problems
In-Reply-To: <qrrso2uf1yu.fsf@clavicle.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9910291707510.29101-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 29 Oct 1999, Greg J. Badros wrote:

> achor.xpm?  Can you use truss/strace/whatever to watch scwm try to open
> files and see why the pixmap is not being found?  Your other patch is a
> good defensive improvement, but we also need to know why the image isn't 
> getting located.

I'll try to get to looking at this over the weekend.  It appears that xpm
image loading is broken in some more general way; icon images such as that
from (window-style "*" #:icon "unknown1.xpm") aren't working either,
although no messages result.

Are the standard window-corner buttons loaded from .xpm files at runtime,
or compiled in?  Those are working.

Steve

-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Oct 29 22:44:34 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA00836
	for scwm-discuss-outgoing; Fri, 29 Oct 1999 22:44:34 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from thig.blarg.net (root@thig.blarg.net [206.124.128.18])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA00833
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 29 Oct 1999 22:44:28 -0400
Received: from snowball (vp005.atm01.sea.blarg.net [206.124.138.5])
	by thig.blarg.net (8.9.3/8.9.3) with ESMTP id TAA16734;
	Fri, 29 Oct 1999 19:44:19 -0700
Received: by blarg.net
	via sendmail from stdin
	id <m11hOUd-001UilC@snowball> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Fri, 29 Oct 1999 19:43:47 -0700 (PDT) 
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: frequent core dumps in 0.99.5.1
References: <873duvkp3x.fsf@blarg.net> <qrrso2vm1l5.fsf@clavicle.cs.washington.edu>
From: Eric Hanchrow <offby1@blarg.net>
Date: 29 Oct 1999 19:43:47 -0700
In-Reply-To: "Greg J. Badros"'s message of "28 Oct 1999 17:51:02 -0700"
Message-ID: <87so2tlg9o.fsf@blarg.net>
Lines: 44
X-Mailer: Gnus v5.6.45/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> "Greg" == Greg J Badros <gjb@cs.washington.edu> writes:

    Greg> If this isn't linked against guile-1.3.4, you might want to try
    Greg> upgrading to that version of guile.

Find advice; I just upgraded to 1.3.4.  However, the problem is still
ocurring:

  (gdb) where
  #0  0x401ad601 in kill ()
  #1  0x401ad42f in gsignal ()
  #2  0x401ae64f in abort ()
  #3  0x4012f0a0 in scm_igc (what=0x4016fd07 "string") at gc.c:468
  #4  0x40130639 in scm_must_malloc (size=69, what=0x4016fd07 "string") at gc.c:1447
  #5  0x4015ca3c in scm_makstr (len=68, slots=0) at strings.c:142
  #6  0x4015cc42 in scm_makfromstr ( src=0x81d7f40 "[Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity\n", len=68, slots=0) at strings.c:213
  #7  0x4015cca2 in scm_makfrom0str ( src=0x81d7f40 "[Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity\n") at strings.c:227
  #8  0x40131999 in gh_str02scm ( s=0x81d7f40 "[Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity\n") at gh_data.c:93
  #9  0x8073708 in BroadcastName (event_type=131072, data1=0, data2=0, data3=0,  szName=0x81d7f40 "[Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity\n") at module-interface.c:110
  #10 0x807ac9a in scwm_msg (type=ERR, id=0x808cd89 "SigDoneSegv",  msg=0x808cd95 "Doing some cleanup to restore sanity") at scwm.c:1793
  #11 0x807a818 in SigDoneSegv (ignored_ignore=11) at scwm.c:1554
  #12 <signal handler called>
  #13 0x401c8000 in   ()
  #14 0x807d072 in mark_window (obj=1078480112) at window.c:475
  #15 0x4012f864 in scm_gc_mark (p=1078480112) at gc.c:872
  #16 0x4012f9f4 in scm_mark_locations (x=0xbffff6c4, n=364) at gc.c:943
  #17 0x4012f13c in scm_igc (what=0x4017083e "vector") at gc.c:547
  #18 0x40130639 in scm_must_malloc (size=20, what=0x4017083e "vector") at gc.c:1447
  #19 0x40169e48 in scm_make_vector (k=22, fill=10612) at vectors.c:135
  #20 0x40132a4d in gh_make_vector (len=22, fill=10612) at gh_data.c:609
  #21 0x807d1c1 in make_window (win=0x8206398) at window.c:520
  #22 0x8056e01 in AddWindow (w=41953602) at add_window.c:351
  #23 0x8066cc0 in HandleMapRequestKeepRaised (KeepRaised=0) at events.c:1125
  #24 0x8066c6a in HandleMapRequest () at events.c:1105
  #25 0x8065a75 in DispatchEvent () at events.c:307
  #26 0x8065aac in HandleEvents () at events.c:325
  #27 0x807a013 in scwm_main (argc=3, argv=0xbffffcd4) at scwm.c:1217
  #28 0x4013317d in gh_launch_pad (closure=0x8079360, argc=3, argv=0xbffffcd4) at gh_init.c:60
  #29 0x401360f9 in invoke_main_func (body_data=0xbffffc78) at init.c:571
  #30 0x40162813 in scm_internal_lazy_catch (tag=9076,  body=0x401360d0 <invoke_main_func>, body_data=0xbffffc78,  handler=0x40162b60 <scm_handle_by_message>, handler_data=0x0) at throw.c:310
  #31 0x4013609e in scm_boot_guile_1 (base=0xbffffc74, closure=0xbffffc78) at init.c:545
  #32 0x40135e09 in scm_boot_guile (argc=3, argv=0xbffffcd4,  main_func=0x40133160 <gh_launch_pad>, closure=0x8079360) at init.c:405
  #33 0x401331b8 in gh_enter (argc=3, argv=0xbffffcd4,  c_main_prog=0x8079360 <scwm_main>) at gh_init.c:70
  #34 0x8079355 in main (argc=3, argv=0xbffffcd4) at scwm.c:589 (gdb) quit 19:38:00 [offby1]$ exit Script done on Fri Oct 29 19:38:01 1999

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 30 07:18:49 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA03777
	for scwm-discuss-outgoing; Sat, 30 Oct 1999 07:18:49 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA03774
	for <scwm-discuss@scwm.mit.edu>; Sat, 30 Oct 1999 07:18:42 -0400
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id VAA19618;
	Sat, 30 Oct 1999 21:18:14 +1000
Message-ID: <381BD8BE.5CB450AD@tech.com.au>
Date: Sun, 31 Oct 1999 16:50:54 +1100
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Greg Badros <gjb@cs.washington.edu>
CC: Brendan Kirby <bkirby@itrade.net>, scwm-discuss@scwm.mit.edu
Subject: Re: Number of desktops
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


What exactly does the below mean? i.e. What exactly do I put in my
.scwmrc to change the number of desktops?


> I did the following (inspired by your fix) to fix the problem:
> 
> I moved the following to the end of gnome-hints.scm:
> 
> ;; Hint properties
> (define-scwm-option *gnome-desktop-number* 4
>   "The number of desktops to show in the GNOME pager.
> Used in `enable-gnome-hints'."
>   #:type 'integer
>   #:group 'gnome
>   #:range '(1 . 10)
>   #:setter (lambda (desks)
>              (set! *gnome-desktop-number* desks)
>              (gnome-init-workspace-params *gnome-desktop-number*))
>   #:favorites '(1 2 3 4 5))
> 
> Notice that we simply need to call gnome-init-workspace-params.
> 
> This change is in the repo, now.
> 
> Thanks!
> 
> Greg

-- 
Chris Bitmead
mailto:chris@tech.com.au
http://www.techphoto.org - Photography News, Stuff that Matters

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 30 07:42:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA03911
	for scwm-discuss-outgoing; Sat, 30 Oct 1999 07:42:12 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA03908
	for <scwm-discuss@scwm.mit.edu>; Sat, 30 Oct 1999 07:42:05 -0400
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id VAA19699
	for <scwm-discuss@scwm.mit.edu>; Sat, 30 Oct 1999 21:41:55 +1000
Message-ID: <381BDE4B.A9C3884B@tech.com.au>
Date: Sun, 31 Oct 1999 17:14:35 +1100
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: scwm suggestion
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


As a scwm user, rather than developer I'd like to point out a few things
I find annoying about it.

Every time a new version of scwm comes out, I need to merge my .scwmrc
with, say the system.scwmrc of the new version. That's ok, it's
inevitable and scwm is in development, I understand.

But...

I think the scwm API needs to feel more like a config file. What I mean
by this is:

*) I should be able to grab system.scwmrc and from there execute my
personal .scwmrc to extend a standard one if I want. For this to work
well.........:

*) As much as possible it shouldn't matter which order things are
specified in. For example I should be able to specify my image-load-path
anywhere in my config file and get the same behaviour from scwm. As it
is a lot of things seem to be very position dependant. Makes it hard to
just tag my preferences to a standard .scwmrc and have them override the
defaults.

Now it may be that there are a lot more issues here that I don't
understand. Obviously scwmrc is program code, and program code is
traditionally very position dependant. But if the scwm API was more
aimed towards specifying what will happen (like if setting
image-load-path specified where images will be loaded _after_ .scwmrc
has completed) then this would be better.

*) Also if the APIs had support for replacing previous behaviour rather
than appending the previous behaviour it would be good. For example I
have my own button layout that I like to replace the standard
system.scwmrc buttons. But if I just get system.scwmrc and tag on my
add-button calls I get both lots of buttons. Now this may already exist,
I just havn't seen how to do it in any doco.

*) If more of system.scwmrc was moved into some library code somewhere
it might be easier for a simple user like me to understand what's going
on.

With all the above I am talking completely from the point of view of a
user. I don't have time to follow scwm development or delve too deeply
into the code. I speak as someone who likes to use scwm basicly as-is
but with a few customisations - buttons, colours, number of desktops
etc. I leave you all to ponder...

Chris

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 30 15:24:04 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA04338
	for scwm-discuss-outgoing; Sat, 30 Oct 1999 15:24:04 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA04335
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 30 Oct 1999 15:23:59 -0400
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id MAA02497;
	Sat, 30 Oct 1999 12:23:36 -0700
To: Stephen Tell <tell@cs.unc.edu>
Cc: "E. Jay Berkenbilt" <ejb@ql.org>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: message-window problems
References: <Pine.GHP.4.10.9910291707510.29101-100000@rukbat.cs.unc.edu>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 30 Oct 1999 11:23:36 -0800
In-Reply-To: Stephen Tell's message of "Fri, 29 Oct 1999 17:11:35 -0400 (EDT)"
Message-ID: <qrriu3ohcuf.fsf@clavicle.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> On 29 Oct 1999, Greg J. Badros wrote:
> 
> > achor.xpm?  Can you use truss/strace/whatever to watch scwm try to open
> > files and see why the pixmap is not being found?  Your other patch is a
> > good defensive improvement, but we also need to know why the image isn't 
> > getting located.
> 
> I'll try to get to looking at this over the weekend.  It appears that xpm
> image loading is broken in some more general way; icon images such as that
> from (window-style "*" #:icon "unknown1.xpm") aren't working either,
> although no messages result.
> 
> Are the standard window-corner buttons loaded from .xpm files at runtime,
> or compiled in?  Those are working.

Runtime -- no pixmaps are compiled in.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 30 15:27:35 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA04381
	for scwm-discuss-outgoing; Sat, 30 Oct 1999 15:27:35 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA04378
	for <scwm-discuss@scwm.mit.edu>; Sat, 30 Oct 1999 15:27:32 -0400
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id MAA02509;
	Sat, 30 Oct 1999 12:27:16 -0700
To: Chris Bitmead <chris@tech.com.au>
Cc: Brendan Kirby <bkirby@itrade.net>, scwm-discuss@scwm.mit.edu
Subject: Re: Number of desktops
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BD8BE.5CB450AD@tech.com.au>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 30 Oct 1999 11:27:16 -0800
In-Reply-To: Chris Bitmead's message of "Sun, 31 Oct 1999 16:50:54 +1100"
Message-ID: <qrrbt9ghcob.fsf@clavicle.cs.washington.edu>
Lines: 13
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

> What exactly does the below mean? i.e. What exactly do I put in my
> .scwmrc to change the number of desktops?

Nothing... you use the Scwm preferences dialog to change the number of
desktops (and you just use the system.scwmrc).  The ultimate goal is
that nearly everything a not-Scheme-proficient user would want to change 
should be available via the GUI preferences dialog.  Of course, your
Scwm will need to be built with guile-gtk support for the preferences to 
work, but that's pretty essential for a lot of the nicer features of Scwm.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 30 15:45:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA04602
	for scwm-discuss-outgoing; Sat, 30 Oct 1999 15:45:52 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA04597
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 30 Oct 1999 15:45:46 -0400
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id MAA02533;
	Sat, 30 Oct 1999 12:45:33 -0700
To: Chris Bitmead <chris@tech.com.au>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm suggestion
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 30 Oct 1999 11:45:33 -0800
In-Reply-To: Chris Bitmead's message of "Sun, 31 Oct 1999 17:14:35 +1100"
Message-ID: <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu>
Lines: 83
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

> As a scwm user, rather than developer I'd like to point out a few things
> I find annoying about it.
> 
> Every time a new version of scwm comes out, I need to merge my .scwmrc
> with, say the system.scwmrc of the new version. That's ok, it's
> inevitable and scwm is in development, I understand.

Well, the goal is for you to mostly use the preferences dialog; I'm
moving more and more stuff to be accessible from that configuration
methodology.  There probably should be some hooks to loading user
.scwmrc code, too, for more complex things that can't be done in the
preferences UI.

> 
> But...
> 
> I think the scwm API needs to feel more like a config file. What I mean
> by this is:
> 
> *) I should be able to grab system.scwmrc and from there execute my
> personal .scwmrc to extend a standard one if I want. For this to work
> well.........:
> 
> *) As much as possible it shouldn't matter which order things are
> specified in. For example I should be able to specify my image-load-path
> anywhere in my config file and get the same behaviour from scwm. As it
> is a lot of things seem to be very position dependant. Makes it hard to
> just tag my preferences to a standard .scwmrc and have them override the
> defaults.

This would mean eliminating side-effects from Scwm primitives and the
Scheme programming language and can't possibly happen while still
maintaining any sort of usefulness.  The ordering dependencies perhaps
should be better specified and documented.

> 
> Now it may be that there are a lot more issues here that I don't
> understand. Obviously scwmrc is program code, and program code is
> traditionally very position dependant. But if the scwm API was more
> aimed towards specifying what will happen (like if setting
> image-load-path specified where images will be loaded _after_ .scwmrc
> has completed) then this would be better.

But you need to be able to have it specify where images will be loaded
from during the .scwmrc too.  Again, ideally, image-load-path would be
specified via the GUI, and the GUI would have some options that are set
before the loading of the rest of system.scwmrc, and some after loading
it.   This isn't yet the case.

> *) Also if the APIs had support for replacing previous behaviour rather
> than appending the previous behaviour it would be good. For example I
> have my own button layout that I like to replace the standard
> system.scwmrc buttons. But if I just get system.scwmrc and tag on my
> add-button calls I get both lots of buttons. Now this may already exist,
> I just havn't seen how to do it in any doco.

This is all already possible, I believe.

> *) If more of system.scwmrc was moved into some library code somewhere
> it might be easier for a simple user like me to understand what's going
> on.
> 

This is one of the things I pushed on a lot from 0.99.4 to 0.99.5.1.

> With all the above I am talking completely from the point of view of a
> user. I don't have time to follow scwm development or delve too deeply
> into the code. I speak as someone who likes to use scwm basicly as-is
> but with a few customisations - buttons, colours, number of desktops
> etc. I leave you all to ponder...

And it's highly useful feedback as such-- thanks!  I'm definitely aware
of all of these issues and I'd love to see others helping me address
these things.  I'm getting a bit swamped in other work and it's harder
and harder for me to find time to fix non-critical issues.  I really
need contributions to keep Scwm improving at the rate that it's been
improving.  I'm happy to try to provide guidance if people need advice
before proceeding...

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Oct 30 21:07:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA05045
	for scwm-discuss-outgoing; Sat, 30 Oct 1999 21:07:11 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tequila.cs.yale.edu (TEQUILA.CS.YALE.EDU [128.36.229.152])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA05041
	for <scwm-discuss@scwm.mit.edu>; Sat, 30 Oct 1999 21:06:29 -0400
Received: from tequila.cs.yale.edu (localhost [127.0.0.1])
	by tequila.cs.yale.edu (8.9.3/8.9.3) with SMTP id VAA28498
	for <scwm-discuss@scwm.mit.edu>; Sat, 30 Oct 1999 21:06:07 -0400
To: scwm-discuss@scwm.mit.edu
From: "Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu>
Newsgroups: lists.scwm.discuss
Subject: Re: scwm suggestion
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu>
Date: 30 Oct 1999 21:06:03 -0400
Message-ID: <5l7lk45og4.fsf@tequila.cs.yale.edu>
Lines: 43
X-Newsreader: Gnus v5.7/Emacs 20.5
Path: tequila.cs.yale.edu
NNTP-Posting-Host: tequila.cs.yale.edu
X-Trace: 30 Oct 1999 21:06:03 -0500, tequila.cs.yale.edu
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> "Greg" == Greg J Badros <gjb@cs.washington.edu> writes:
> Well, the goal is for you to mostly use the preferences dialog; I'm
> moving more and more stuff to be accessible from that configuration
> methodology.  There probably should be some hooks to loading user.
> .scwmrc code, too, for more complex things that can't be done in the
> preferences UI.

Some people probably disagree but I think that Emacs has done several things
right and one of them is to make sure that a .emacs can be defined easily,
work more or less across versions and does not require a degree in CS
to hack it up.
The `custom' system introduced in Emacs-20 provides a "GUI" for preferences,
indeed, but there's some effort put into making sure that the corresponding
.emacs is still hackable.
These are all important considerations and I agree with some Emacs
hackers that it is important both to be fool-friendly and to make it
easy and desirable for fools to grow up to experienced user (and later
on wizard).
So the preferences should try to show how easy it would be to do the same in
one's .scwmrc.
The idea is that once the user switches from the GUI to the .scwmrc file,
he'll be that much closer to hack up some useful module that you might
later on find useful as well.

> But you need to be able to have it specify where images will be loaded
> from during the .scwmrc too.  Again, ideally, image-load-path would be
> specified via the GUI, and the GUI would have some options that are set
> before the loading of the rest of system.scwmrc, and some after loading
> it.   This isn't yet the case.

The solution adopted in Emacs is that all options are set early and the later
code must be careful to not override things that were specified earlier.
In this case, it means that the system.scwmrc should only initialize variables
that have no setting yet, but should not change variables that have already
been set (presumably in ~/.scwmrc).
It's a lot easier for the casual user since he doesn't have to know
too much about what happens when.
This is not solved quite satisfactorily in Emacs since you sometimes
need to put settings inside a foo-mode-hook, but this is reasonably
"standardized" and shouldn't be too frequent anyway.


	Stefan

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct 31 00:19:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA05433
	for scwm-discuss-outgoing; Sun, 31 Oct 1999 00:19:32 -0400
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA05430
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 31 Oct 1999 00:19:26 -0400
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id PAA26317
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 31 Oct 1999 15:19:15 +1100
Message-ID: <381CC80C.56F85576@tech.com.au>
Date: Mon, 01 Nov 1999 09:51:56 +1100
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@SCWM.MIT.EDU
Subject: scwm crashing
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


scwm seems to crash on me more than 10 times a day. The fact that it
automatically restarts means that it is not too annoying, but I was just
wondering if it was just me or whether everyone is experiencing this.
There doesn't seem to be any pattern to when it crashes. I might be just
sitting doing nothing and it will crash.

-- 
Chris Bitmead
mailto:chris@tech.com.au

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct 31 08:20:07 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id IAA08533
	for scwm-discuss-outgoing; Sun, 31 Oct 1999 08:20:07 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id IAA08530
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 31 Oct 1999 08:19:59 -0500
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id AAA30219
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 1 Nov 1999 00:19:42 +1100
Message-ID: <381D46B6.5A9F65FE@tech.com.au>
Date: Mon, 01 Nov 1999 18:52:22 +1100
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@SCWM.MIT.EDU
Subject: Crashing bug
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I notice that when scwm crashes and re-starts, all my windows seem to
move down the screen about 5%.

-- 
Chris Bitmead
mailto:chris@tech.com.au

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct 31 22:38:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA09417
	for scwm-discuss-outgoing; Sun, 31 Oct 1999 22:38:52 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA09414
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 31 Oct 1999 22:38:38 -0500
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id OAA02644
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 1 Nov 1999 14:38:20 +1100
Message-ID: <381E0FF4.6A0B1383@tech.com.au>
Date: Tue, 02 Nov 1999 09:11:00 +1100
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@SCWM.MIT.EDU
Subject: scwm crashing
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


As I mentioned scwm dies on me frequently. Below is a stack trace from
one such death...


#0  0x403cb4e1 in __kill () from /lib/libc.so.6
#1  0x403cb156 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x403cc868 in abort () at ../sysdeps/generic/abort.c:88
#3  0x4013bab0 in scm_igc () from /usr/lib/libguile.so.6
#4  0x4013b9b8 in scm_gc_for_alloc () from /usr/lib/libguile.so.6
#5  0x4013ba2e in scm_gc_for_newcell () from /usr/lib/libguile.so.6
#6  0x40167546 in scm_makstr () from /usr/lib/libguile.so.6
#7  0x401677b2 in scm_makfromstr () from /usr/lib/libguile.so.6
#8  0x40167843 in scm_makfrom0str () from /usr/lib/libguile.so.6
#9  0x4013e1f9 in gh_str02scm () from /usr/lib/libguile.so.6
#10 0x807b81f in BroadcastName (event_type=131072, data1=0, data2=0,
data3=0, 
    szName=0x82d1970 "[Scwm][SigDoneSegv]: <<ERROR>> Caught seg
fault...\nplease run with '--segv-just-stop' or '--segv-reset-count
0'\nand report a bug!\nTrying to continue... save your work if you still
can!\n") at module-interface.c:110
#11 0x8082516 in scwm_msg (type=ERR, id=0x80b2f5a "SigDoneSegv", 
    msg=0x80b2ec0 "Caught seg fault...\nplease run with
'--segv-just-stop' or '--segv-reset-count 0'\nand report a bug!\nTrying
to continue... save your work if you still can!") at scwm.c:1793
#12 0x808210b in SigDoneSegv (ignored_ignore=11) at scwm.c:1547
#13 0x403cb408 in __restore ()
    at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127
#14 0x4013c204 in scm_gc_mark () from /usr/lib/libguile.so.6
#15 0x4013bf7b in scm_gc_mark () from /usr/lib/libguile.so.6
---Type <return> to continue, or q <return> to quit---
#16 0x4013bb67 in scm_igc () from /usr/lib/libguile.so.6
#17 0x4013b9b8 in scm_gc_for_alloc () from /usr/lib/libguile.so.6
#18 0x4013ba2e in scm_gc_for_newcell () from /usr/lib/libguile.so.6
#19 0x4014ef31 in scm_cons () from /usr/lib/libguile.so.6
#20 0x40134782 in scm_deval () from /usr/lib/libguile.so.6
#21 0x40134753 in scm_deval () from /usr/lib/libguile.so.6
#22 0x40132ffc in scm_deval () from /usr/lib/libguile.so.6
#23 0x40133094 in scm_deval () from /usr/lib/libguile.so.6
#24 0x40133094 in scm_deval () from /usr/lib/libguile.so.6
#25 0x40136132 in scm_dapply () from /usr/lib/libguile.so.6
#26 0x40130dc1 in scm_apply () from /usr/lib/libguile.so.6
#27 0x4016ab0e in scm_sym2vcell () from /usr/lib/libguile.so.6
#28 0x4012bbb4 in scm_lookupcar () from /usr/lib/libguile.so.6
#29 0x4013405f in scm_deval () from /usr/lib/libguile.so.6
#30 0x4013293f in scm_deval () from /usr/lib/libguile.so.6
#31 0x40132ffc in scm_deval () from /usr/lib/libguile.so.6
#32 0x401326a5 in scm_deval () from /usr/lib/libguile.so.6
#33 0x40132db5 in scm_deval () from /usr/lib/libguile.so.6
#34 0x40136132 in scm_dapply () from /usr/lib/libguile.so.6
#35 0x40130dc1 in scm_apply () from /usr/lib/libguile.so.6
#36 0x401318b4 in scm_for_each () from /usr/lib/libguile.so.6
#37 0x401356bd in scm_deval () from /usr/lib/libguile.so.6
#38 0x40132774 in scm_deval () from /usr/lib/libguile.so.6
#39 0x40132ffc in scm_deval () from /usr/lib/libguile.so.6
#40 0x40136132 in scm_dapply () from /usr/lib/libguile.so.6
#41 0x40130dc1 in scm_apply () from /usr/lib/libguile.so.6
#42 0x4013f7b2 in gh_apply () from /usr/lib/libguile.so.6
#43 0x8068530 in scwm_body_apply (body_data=0xbfffef28) at
callbacks.c:71
#44 0x4016d11b in scm_internal_lazy_catch () from /usr/lib/libguile.so.6
#45 0x4016d1ec in cwss_body () from /usr/lib/libguile.so.6
#46 0x4016cf69 in scm_internal_catch () from /usr/lib/libguile.so.6
#47 0x4016d240 in scm_internal_stack_catch () from
/usr/lib/libguile.so.6
#48 0x806854c in cwssdr_body (data=0xbfffeef8) at callbacks.c:97
#49 0x4016cf69 in scm_internal_catch () from /usr/lib/libguile.so.6
#50 0x8074275 in scm_internal_cwdr_no_unwind (body=0x8068534
<cwssdr_body>, 
    body_data=0xbfffeef8, handler=0x8068800 <scwm_handle_error>, 
    handler_data=0x80ae440, stack_start=0xbfffef24) at
guile-compat.c:111
#51 0x8068584 in scm_internal_stack_cwdr (body=0x8068520
<scwm_body_apply>, 
    body_data=0xbfffef28, handler=0x8068800 <scwm_handle_error>, 
    handler_data=0x80ae440, stack_item=0xbfffef24) at callbacks.c:127
#52 0x80685b6 in scwm_safe_apply (proc=1081228552, args=1079937032)
    at callbacks.c:187
#53 0x8068617 in scwm_safe_call1 (proc=1081228552, arg=1080027752)
    at callbacks.c:231
#54 0x807ef01 in PlaceWindow (psw=0x82ced58) at placement.c:705
#55 0x8061a13 in AddWindow (w=63020467) at add_window.c:723
---Type <return> to continue, or q <return> to quit---
#56 0x806fc88 in HandleMapRequestKeepRaised (KeepRaised=0) at
events.c:1125
#57 0x806fc36 in HandleMapRequest () at events.c:1105
#58 0x806eb41 in DispatchEvent () at events.c:307
#59 0x806eb78 in HandleEvents () at events.c:325
#60 0x80819e7 in scwm_main (argc=3, argv=0xbffff544) at scwm.c:1217
#61 0x4013f8cd in gh_launch_pad () from /usr/lib/libguile.so.6
#62 0x40142649 in invoke_main_func () from /usr/lib/libguile.so.6
#63 0x4016d11b in scm_internal_lazy_catch () from /usr/lib/libguile.so.6
#64 0x401425fe in scm_boot_guile_1 () from /usr/lib/libguile.so.6
#65 0x40142379 in scm_boot_guile () from /usr/lib/libguile.so.6
#66 0x4013f908 in gh_enter () from /usr/lib/libguile.so.6
#67 0x8080def in main (argc=3, argv=0xbffff544) at scwm.c:589

-- 
Chris Bitmead
mailto:chris@tech.com.au
http://www.techphoto.org - Photography News, Stuff that Matters

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct 31 23:21:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id XAA09559
	for scwm-discuss-outgoing; Sun, 31 Oct 1999 23:21:23 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id XAA09556
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 31 Oct 1999 23:21:18 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id UAA03910;
	Sun, 31 Oct 1999 20:20:53 -0800
To: Chris Bitmead <chris@tech.com.au>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <381CC80C.56F85576@tech.com.au>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 31 Oct 1999 20:20:53 -0800
In-Reply-To: Chris Bitmead's message of "Mon, 01 Nov 1999 09:51:56 +1100"
Message-ID: <qrremeaq1ui.fsf@clavicle.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

> scwm seems to crash on me more than 10 times a day. The fact that it
> automatically restarts means that it is not too annoying, but I was just
> wondering if it was just me or whether everyone is experiencing this.
> There doesn't seem to be any pattern to when it crashes. I might be just
> sitting doing nothing and it will crash.

Mine definitely does not crash very often at all-- my stable scwm almost 
never crashes, and my dev Scwm's pretty much crash only when I'm testing 
new stuff.

Something is wrong with your build, or is an error that is held hidden
in the configurations and setup that I'm using.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Oct 31 23:22:07 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id XAA09564
	for scwm-discuss-outgoing; Sun, 31 Oct 1999 23:22:07 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id XAA09561
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 31 Oct 1999 23:22:04 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id UAA03916;
	Sun, 31 Oct 1999 20:21:49 -0800
To: Chris Bitmead <chris@tech.com.au>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Crashing bug
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <381D46B6.5A9F65FE@tech.com.au>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 31 Oct 1999 20:21:49 -0800
In-Reply-To: Chris Bitmead's message of "Mon, 01 Nov 1999 18:52:22 +1100"
Message-ID: <qrrbt9eq1sy.fsf@clavicle.cs.washington.edu>
Lines: 10
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

> I notice that when scwm crashes and re-starts, all my windows seem to
> move down the screen about 5%.

Depending on the kind of crash, this is a known bug.  I'd rather try to
fix the crashes when I get back to Seattle, but I'll also look into the
crashes being less disruptive to window positions.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Nov  1 04:37:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id EAA12561
	for scwm-discuss-outgoing; Mon, 1 Nov 1999 04:37:44 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id EAA12558
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 1 Nov 1999 04:37:33 -0500
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id UAA04747
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 1 Nov 1999 20:37:19 +1100
Message-ID: <381D5F4F.8ACFD1B8@tech.com.au>
Date: Mon, 01 Nov 1999 20:37:19 +1100
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@SCWM.MIT.EDU
Subject: gnome icons
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <381CC80C.56F85576@tech.com.au> <qrremeaq1ui.fsf@clavicle.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Somewhere along the line, maybe it was 99.4 or 99.5, gnome icons started
to be arranged left to right instead of top to bottom. Was this
intentional?

-- 
Chris Bitmead
mailto:chris@tech.com.au

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Nov  1 13:33:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA13085
	for scwm-discuss-outgoing; Mon, 1 Nov 1999 13:33:50 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA13082
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 1 Nov 1999 13:33:46 -0500
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id NAA13585;
	Mon, 1 Nov 1999 13:33:23 -0500 (EST)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.8.8/8.8.8) id NAA07795;
	Mon, 1 Nov 1999 13:33:15 -0500 (EST)
Date: Mon, 1 Nov 1999 13:33:15 -0500 (EST)
From: Stephen Tell <tell@cs.unc.edu>
To: "Greg J. Badros" <gjb@cs.washington.edu>
cc: "E. Jay Berkenbilt" <ejb@ql.org>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: message-window problems
In-Reply-To: <Pine.GHP.4.10.9910291707510.29101-100000@rukbat.cs.unc.edu>
Message-ID: <Pine.GHP.4.10.9911011323450.7686-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Found my problem: libXpm wasn't getting found (and I don't have imlib), so
no xpms could be loaded at all.   Somthing must have changed around here
or in configure; I had to explicitly do "LDFLAGS= ./configure ..." in
order to get configure to find libxpm, even though it is in the same place
as guile, gtk, and guile-gtk.

A message from make-image when no loader is found for an image type (as
distinct from not finding the image-file at all) might be a good idea.

Or maybe configure should by default stop when neither libxpm nor imlib is
found - but please provide a --disable-libxpm configure option to let one
bypass that.

> Are the standard window-corner buttons loaded from .xpm files at runtime,
> or compiled in?  Those are working.

Turns out these aren't images at all, but are created with compiled-in 
vector-drawing commands in face.c.


steve
-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Nov  1 22:05:53 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA14147
	for scwm-discuss-outgoing; Mon, 1 Nov 1999 22:05:53 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA14144
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 1 Nov 1999 22:05:14 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id TAA05988;
	Mon, 1 Nov 1999 19:04:52 -0800
To: Chris Bitmead <chris@tech.com.au>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: gnome icons
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <381CC80C.56F85576@tech.com.au> <qrremeaq1ui.fsf@clavicle.cs.washington.edu> <381D5F4F.8ACFD1B8@tech.com.au>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 01 Nov 1999 19:04:52 -0800
In-Reply-To: Chris Bitmead's message of "Mon, 01 Nov 1999 20:37:19 +1100"
Message-ID: <qrrln8hk2zv.fsf@clavicle.cs.washington.edu>
Lines: 10
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris Bitmead <chris@tech.com.au> writes:

> Somewhere along the line, maybe it was 99.4 or 99.5, gnome icons started
> to be arranged left to right instead of top to bottom. Was this
> intentional?

No, and I think it's fixed again in 0.99.5.1 and recent CVS.  See the
ChangeLogs for details. 

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov  2 05:58:34 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA17154
	for scwm-discuss-outgoing; Tue, 2 Nov 1999 05:58:34 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA17148
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 2 Nov 1999 05:58:27 -0500
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id VAA16514
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 2 Nov 1999 21:58:14 +1100
Message-ID: <381EC3C6.830B5968@tech.com.au>
Date: Tue, 02 Nov 1999 21:58:14 +1100
From: Chris Bitmead <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <381CC80C.56F85576@tech.com.au> <qrremeaq1ui.fsf@clavicle.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I'm convinced the scwm crashing is somehow related to guile garbage
collection. Partly because of the stack trace, and partly because of the
way it crashes when apparently absolutely nothing is happening on the
screen. I don't know how guile gc works. Can it occur asynchronously or
something?

-- 
Chris Bitmead
mailto:chris@tech.com.au

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov  2 12:02:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA17589
	for scwm-discuss-outgoing; Tue, 2 Nov 1999 12:02:19 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from lukla.Sun.COM (lukla.Sun.COM [192.18.98.31])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA17586
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 2 Nov 1999 12:02:14 -0500
Received: from centralmail1.Central.Sun.COM ([129.147.62.10])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id KAA28119;
	Tue, 2 Nov 1999 10:01:53 -0700 (MST)
Received: from muzzy.Central.Sun.COM (muzzy.Central.Sun.COM [129.152.74.150])
	by centralmail1.Central.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id KAA02579;
	Tue, 2 Nov 1999 10:01:44 -0700 (MST)
Received: (from samf@localhost)
	by muzzy.Central.Sun.COM (8.9.3+Sun/8.9.3) id KAA165682;
	Tue, 2 Nov 1999 10:01:44 -0700 (MST)
To: Chris Bitmead <chris@tech.com.au>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <381CC80C.56F85576@tech.com.au> <qrremeaq1ui.fsf@clavicle.cs.washington.edu> <381EC3C6.830B5968@tech.com.au>
From: Sam Falkner <samf@central.sun.com>
Date: 02 Nov 1999 10:01:43 -0700
In-Reply-To: Chris Bitmead's message of "Tue, 02 Nov 1999 21:58:14 +1100"
Message-ID: <ii766zkddzc.fsf@central.sun.com>
Lines: 14
User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I too have had scwm crash, with stack traces that look like it was in
guile's garbage collection.  I was having such a bad day that I just
gave up for a while, but I'll try the latest sources soon and see if I 
can reproduce the problem.

- Sam

Chris Bitmead <chris@tech.com.au> writes:

> I'm convinced the scwm crashing is somehow related to guile garbage
> collection. Partly because of the stack trace, and partly because of the
> way it crashes when apparently absolutely nothing is happening on the
> screen. I don't know how guile gc works. Can it occur asynchronously or
> something?

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov  2 21:57:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA19039
	for scwm-discuss-outgoing; Tue, 2 Nov 1999 21:57:08 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA19036
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 2 Nov 1999 21:57:02 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id SAA07029;
	Tue, 2 Nov 1999 18:56:50 -0800
To: Sam Falkner <samf@central.sun.com>
Cc: Chris Bitmead <chris@tech.com.au>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <381CC80C.56F85576@tech.com.au> <qrremeaq1ui.fsf@clavicle.cs.washington.edu> <381EC3C6.830B5968@tech.com.au> <ii766zkddzc.fsf@central.sun.com>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 02 Nov 1999 18:56:50 -0800
In-Reply-To: Sam Falkner's message of "02 Nov 1999 10:01:43 -0700"
Message-ID: <qrr66zk8eq5.fsf@clavicle.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Sam Falkner <samf@central.sun.com> writes:

> I too have had scwm crash, with stack traces that look like it was in
> guile's garbage collection.  I was having such a bad day that I just
> gave up for a while, but I'll try the latest sources soon and see if I 
> can reproduce the problem.

Well, in case it isn't obvious, GC does involve running lots of code in
Scwm, so it's not necessarily a bug in guile (and it's pretty unlikely
that it is a bug in guile).

If you can reliably reproduce one of these bugs, it's a lot easier to
track down (unfortunately, it's often really hard to reliably reproduce
this kind of crash).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Nov  3 00:53:17 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA19294
	for scwm-discuss-outgoing; Wed, 3 Nov 1999 00:53:17 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mail1.21stcentury.net (mail1.21stcentury.net [24.136.0.4])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA19291
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 3 Nov 1999 00:53:13 -0500
From: exile@21stcentury.net
Received: from 21stcentury ([24.136.21.198]) by mail1.21stcentury.net
          (Netscape Messaging Server 3.6)  with ESMTP id AAA66D9
          for <scwm-discuss@SCWM.MIT.EDU>; Tue, 2 Nov 1999 23:50:39 -0600
Message-ID: <XFMail.991102234525.exile@21stcentury.net>
X-Mailer: XFMail 1.4.0 on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <qrr66zk8eq5.fsf@clavicle.cs.washington.edu>
Date: Tue, 02 Nov 1999 23:45:25 -0600 (CST)
Organization: The Dispossessed
To: scwm-discuss@SCWM.MIT.EDU
Subject: More scwm crashing
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

 Howdy,

 I suppose this is an introduction...

   I'm just setting SCWM up... have had it running for a few days. I've managed
to get about 1/4 of a theme put together {which will look pretty cool once I
figure out how to get the side and bottom pixmaps to draw.} But I can't get
this thing to run properly... I get a lot of crashes and end up with a lot of
frameless windows sitting on my desktop every once in a while. {:} Can't do much
with frameless windows.} It {SCWM} doesn't seem to want to run happily with 
gnome... and I think I have gnome hints enabled. It does run a bit better with
kde and splendidly with tkdesk. {I wonder if one could port tkdesk to scheme?} 

   I can't get the graphical configuration box to come up... in fact I can't get
much to come up with scwmexec. Everything returns "unbound variable." Where do
these variable's initialize? Is there someplace I can find a list of "bound"
variables?

   While I'm at it... my console tells me {over and over again} that it can't
find libpixmap.so. I've installed both imlib and libpixmap several times. I
can't help but think I need a link somewhere. Where does SCWM read libpixmap
from? Or... does someone else have an idea as to the problem?

  :} One more... I don't know if this has to do with SCWM or not... I'm just
now noticing the problem though and... it seems related. My console also gives
me the line "xrdb: colon missing on line 1, ignoring line". I can't help but
wonder if this might be another reason that things are unstable and I don't
seem to be able to find the file that the colon's missing from... 

   Anyway... any help will be greatly appreciated.

   Thanks in advance,

    {}Rick

http://www.freespeech.org/apophysis {v6.1}         ICQ# 47439354

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Nov  3 22:00:56 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA23621
	for scwm-discuss-outgoing; Wed, 3 Nov 1999 22:00:56 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA23618
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 3 Nov 1999 22:00:51 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id TAA08650;
	Wed, 3 Nov 1999 19:00:39 -0800
To: exile@21stcentury.net
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: More scwm crashing
References: <XFMail.991102234525.exile@21stcentury.net>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 03 Nov 1999 19:00:39 -0800
In-Reply-To: exile@21stcentury.net's message of "Tue, 02 Nov 1999 23:45:25 -0600 (CST)"
Message-ID: <qrrvh7jhsfc.fsf@clavicle.cs.washington.edu>
Lines: 54
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

exile@21stcentury.net writes:

>  Howdy,
> 
>  I suppose this is an introduction...
> 
>    I'm just setting SCWM up... have had it running for a few days. I've managed
> to get about 1/4 of a theme put together {which will look pretty cool once I
> figure out how to get the side and bottom pixmaps to draw.} But I can't get
> this thing to run properly... I get a lot of crashes and end up with a lot of
> frameless windows sitting on my desktop every once in a while. {:} Can't do much
> with frameless windows.} It {SCWM} doesn't seem to want to run happily with 
> gnome... and I think I have gnome hints enabled. It does run a bit better with
> kde and splendidly with tkdesk. {I wonder if one could port tkdesk to scheme?} 

Well if you're running with GNOME, and Scwm is started via
gnome-session, it should restart when it crashes (though it shouldn't
crash as often as it sounds like it does for you).

>    I can't get the graphical configuration box to come up... in fact I can't get
> much to come up with scwmexec. Everything returns "unbound variable." Where do
> these variable's initialize? Is there someplace I can find a list of "bound"
> variables?

W/o knowing which variables are warned to be unbound, this is hard to
diagnose.  Using `apropos' from a scwmrepl can let you know about
symbols that are bound.

>    While I'm at it... my console tells me {over and over again} that it can't
> find libpixmap.so. I've installed both imlib and libpixmap several times. I
> can't help but think I need a link somewhere. Where does SCWM read libpixmap
> from? Or... does someone else have an idea as to the problem?

Be sure you have re-run ldconfig (as root) or that you have your
LD_LIBRARY_PATH set.  This is a dynamic linking issue;  AFAIK,
libpixmap.so is part of GTk, so perhaps it is not installed properly.

>   :} One more... I don't know if this has to do with SCWM or not... I'm just
> now noticing the problem though and... it seems related. My console also gives
> me the line "xrdb: colon missing on line 1, ignoring line". I can't help but
> wonder if this might be another reason that things are unstable and I don't
> seem to be able to find the file that the colon's missing from... 

It is harmless.

>    Anyway... any help will be greatly appreciated.

Welcome to the world of Scwm;  since I'm away from my desk at
conferences, hopefully others on the list can help you track down the
rest of your problem.  It'd be helpful if you'd provide some of the
information asked for in scwm/BUG-REPORTING (e.g., by running the
scwm-bug-report-information script).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Nov  4 08:20:09 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id IAA26972
	for scwm-discuss-outgoing; Thu, 4 Nov 1999 08:20:09 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id IAA26969
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 4 Nov 1999 08:20:04 -0500
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id OAA20040;
	Thu, 4 Nov 1999 14:19:53 +0100 (MET)
Date: Thu, 4 Nov 1999 14:19:53 +0100
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: scwm-0.99.5.1 : FvwmButtons strange behaviour
Message-ID: <19991104141953.B10052@youkaidi.irisa.fr>
References: <19991029113128.A22915@youkaidi.irisa.fr> <qrrd7tyghsp.fsf@clavicle.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 1.0pre4us
In-Reply-To: <qrrd7tyghsp.fsf@clavicle.cs.washington.edu>; from gjb@cs.washington.edu on Fri, Oct 29, 1999 at 11:09:42AM -0700
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg J. Badros écrivait :
> > I tried the latest version scwm-0.99.5.1 and there's a problem with
> > FvwmButtons : it doesn't swallow windows anymore (like FvwmPager,
> > xload or rclock).
> > 
> > What happened ?
> 
> Not sure... I've not used that feature recently.  Do you remember the
> last time it worked?

It works very well with scwm-0.99.4 (and older versions), but not with
scwm-0.995.1

I tried to make a minimal scwmrc to show the bug, but strangely it
swallow FvwmPager. There still xload and rclock which are not
swallowed.


-----------------
; -*- scwm -*-
(if (> guile-version 1.3)
    (setvbuf (current-output-port) _IONBF))
(display "reading `scwmrc-fvwm'...\n")
(set-ignore-dubious-modifiers! #f)

(set-desk-size! 4 2)

(use-scwm-modules fvwm-module)

(set! *fvwm2-module-path*
      (append '("/usr/local/lib/fvwm2"
                "/usr/local/lib/fvwm95-2"
                "/usr/local/X11/lib/fvwm")
              *fvwm2-module-path* ))

(register-fvwm2-module-config
 "FvwmPager"
 "*FvwmPagerBack lightsteelblue"
 "*FvwmPagerFore black"
 "*FvwmPagerHilight moccasin"
 "*FvwmPagerFont none"
 "*FvwmPagerDeskTopScale 32"
 "*FvwmPagerGeometry 156x58-440-0"
 "*FvwmPagerLabel 0 Bureau"
 "*FvwmPagerSmallFont 5x8"
)

(register-fvwm2-module-config
 "FvwmButtons"
 "*FvwmButtonsFore Black"
 "*FvwmButtonsBack Lightsteelblue"
 "*FvwmButtonsFont -adobe-helvetica-medium-r-*-*-8-*-*-*-*-50-iso8859-1"
 "*FvwmButtonsGeometry -0-0"
 "*FvwmButtonsRows 1"
 "*FvwmButtons(4x1) - whatever Swallow \"FvwmPager\" FvwmPager 0 1"
 "*FvwmButtons(1x1) xterm /udd/pampa/commun/icones/bouton-xterm.xpm Exec \"XTerm\" xterm-"
 "*FvwmButtons(1x1) emacs /udd/canon/include/X11/pixmaps/lemacs.xpm Exec \"Emacs\" emacs-serv"
 "*FvwmButtons(1x1) netscape /udd/canon/include/X11/pixmaps/mag_glass.xpm Exec \"Netscape\" netscape-server"
 "*FvwmButtons(1x1) ncftp /usr/site/share/pixmaps/disk.xpm Exec \"XTerm\" ncftp-"
 "*FvwmButtons(1x1) mutt /udd/canon/include/X11/pixmaps/mail2.xpm Exec \"XTerm\" mutt- -- -geometry 80x56+0+0"
 "*FvwmButtons(1x1) slrn /udd/canon/include/X11/pixmaps/dialog_box.xpm Exec \"XTerm\" slrn-"
 "*FvwmButtons(1x1) xlock /usr/site/share/pixmaps/xdbx.xpm Exec \"XLock\" xlock-"
 "*FvwmButtons(3x1) - whatever Swallow \"xload\" Exec xload -nolabel -geometry 117x58-40-0"
 "*FvwmButtons(1x1) - whatever Swallow \"rclock\" Exec rclock -bg lightsteelblue -fg black -geometry 39x58-0-0"
)

(define fvwm2-buttons (run-fvwm2-module "FvwmButtons"))
(define fvwm2-pager (run-fvwm2-module "FvwmPager" '("0" "0")))

(display "reading `scwmrc-fvwm'...done\n")
--------------


By the way : I always had this strange message (even with older
versions of scwm). I don't know if it is normal or not. I think that
is why I have to launch FvwmPager by hand and it is not launched by
FvwmButtons as it should.

--------------
Error evaling packet: (0 14 "FvwmPager 0 1
" 1)
--------------



From owner-scwm-discuss@SCWM.MIT.EDU  Thu Nov  4 11:28:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA27264
	for scwm-discuss-outgoing; Thu, 4 Nov 1999 11:28:50 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA27261
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 4 Nov 1999 11:28:44 -0500
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id RAA22140;
	Thu, 4 Nov 1999 17:28:34 +0100 (MET)
Date: Thu, 4 Nov 1999 17:28:33 +0100
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: scwm-0.99.5.1 : FvwmButtons strange behaviour
Message-ID: <19991104172832.A22581@youkaidi.irisa.fr>
References: <19991029113128.A22915@youkaidi.irisa.fr> <qrrd7tyghsp.fsf@clavicle.cs.washington.edu> <19991104141953.B10052@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 1.0pre4us
In-Reply-To: <19991104141953.B10052@youkaidi.irisa.fr>; from Hubert.Canon@irisa.fr on Thu, Nov 04, 1999 at 02:19:53PM +0100
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon écrivait :
> It works very well with scwm-0.99.4 (and older versions), but not with
> scwm-0.995.1

It may be important : which versions of fvwm should we use ?

Mine is fvwm-2.0.42 . Is it ok ?

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Nov  4 19:36:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA28496
	for scwm-discuss-outgoing; Thu, 4 Nov 1999 19:36:51 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA28491
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 4 Nov 1999 19:35:58 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id QAA09510;
	Thu, 4 Nov 1999 16:35:43 -0800
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: scwm-0.99.5.1 : FvwmButtons strange behaviour
References: <19991029113128.A22915@youkaidi.irisa.fr> <qrrd7tyghsp.fsf@clavicle.cs.washington.edu> <19991104141953.B10052@youkaidi.irisa.fr> <19991104172832.A22581@youkaidi.irisa.fr>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 04 Nov 1999 16:35:43 -0800
In-Reply-To: Hubert Canon's message of "Thu, 4 Nov 1999 17:28:33 +0100"
Message-ID: <qrriu3h3hcw.fsf@clavicle.cs.washington.edu>
Lines: 15
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hubert Canon écrivait :
> > It works very well with scwm-0.99.4 (and older versions), but not with
> > scwm-0.995.1
> 
> It may be important : which versions of fvwm should we use ?
> 
> Mine is fvwm-2.0.42 . Is it ok ?

Yes;  any of the 2.0.x series after that are likely okay too.  I've not
followed later versions too well, but swallowing should still be fine
(though the module interface may have changed).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Nov  8 12:53:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA10991
	for scwm-discuss-outgoing; Mon, 8 Nov 1999 12:53:29 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA10988
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 8 Nov 1999 12:53:23 -0500
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id SAA25648;
	Mon, 8 Nov 1999 18:53:18 +0100 (MET)
Date: Mon, 8 Nov 1999 18:53:18 +0100
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: FvwmButtons strange behaviour
Message-ID: <19991108185317.A9414@youkaidi.irisa.fr>
References: <19991029113128.A22915@youkaidi.irisa.fr> <qrrd7tyghsp.fsf@clavicle.cs.washington.edu> <19991104141953.B10052@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 1.0pre4us
In-Reply-To: <19991104141953.B10052@youkaidi.irisa.fr>; from Hubert.Canon@irisa.fr on Thu, Nov 04, 1999 at 02:19:53PM +0100
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon écrivait :
> By the way : I always had this strange message (even with older
> versions of scwm). I don't know if it is normal or not. I think that
> is why I have to launch FvwmPager by hand and it is not launched by
> FvwmButtons as it should.
> 
> --------------
> Error evaling packet: (0 14 "FvwmPager 0 1
> " 1)
> --------------

I think I have the explication : FvwmButtons send a fvwm command to
scwm, and if I look in fvwm-eval.scwm I see :

;;; Unimplemented:
[...]
;;; ChangeDecor        Module                  Wait
                       ^^^^^^

That's why I have this error.
		       


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Nov  8 16:01:06 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA11612
	for scwm-discuss-outgoing; Mon, 8 Nov 1999 16:01:06 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from igate.sema.de (in-proxy.sema.de [194.123.157.114])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA11609
	for <scwm-discuss@scwm.mit.edu>; Mon, 8 Nov 1999 16:01:03 -0500
Received: from rm400.sema.de (rm400.sema.de [192.168.70.31])
	by igate.sema.de (8.8.8/8.8.8) with ESMTP id WAA09316
	for <scwm-discuss@scwm.mit.edu>; Mon, 8 Nov 1999 22:01:01 +0100
Received: (from mschmitz@localhost)
	by rm400.sema.de (8.8.8/8.8.8) id UAA21057;
	Mon, 8 Nov 1999 20:44:53 GMT
Date: Mon, 8 Nov 1999 20:44:53 GMT
Message-Id: <199911082044.UAA21057@rm400.sema.de>
From: Michael Schmitz <mschmitz@sema.de>
To: scwm-discuss@scwm.mit.edu
Subject: automatically generate a menu
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Hello all!

The only thing I really like about Enlightenment is that it
automatically creates a menu from the GNOME 'desktop' (and the KDE
pendant) files. Did anybody write a SCWM module for this?

Michael.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Nov  8 17:54:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA11888
	for scwm-discuss-outgoing; Mon, 8 Nov 1999 17:54:57 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA11885
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 8 Nov 1999 17:54:52 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id OAA13306;
	Mon, 8 Nov 1999 14:54:45 -0800
To: Michael Schmitz <mschmitz@sema.de>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: automatically generate a menu
References: <199911082044.UAA21057@rm400.sema.de>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 08 Nov 1999 14:54:45 -0800
In-Reply-To: Michael Schmitz's message of "Mon, 8 Nov 1999 20:44:53 GMT"
Message-ID: <qrrn1solhl6.fsf@clavicle.cs.washington.edu>
Lines: 13
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Michael Schmitz <mschmitz@sema.de> writes:

> Hello all!
> 
> The only thing I really like about Enlightenment is that it
> automatically creates a menu from the GNOME 'desktop' (and the KDE
> pendant) files. Did anybody write a SCWM module for this?

There is the wmconfig-menu that handles Redhat's /etc/X11/wmconfig/
directory... is that the same thing?  If not, can you point us at files
and/ordocumentation?  I'm sure it's a piece of cake to do.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Nov  8 20:36:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA12210
	for scwm-discuss-outgoing; Mon, 8 Nov 1999 20:36:19 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA12207
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 8 Nov 1999 20:35:52 -0500
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11l0C9-0004HTC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Mon, 8 Nov 1999 20:35:37 -0500 (EST) 
Message-Id: <m11l0C9-0004HTC@localhost>
Date: Mon, 8 Nov 1999 20:35:37 -0500 (EST)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: mschmitz@sema.de
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <199911082044.UAA21057@rm400.sema.de> (message from Michael
	Schmitz on Mon, 8 Nov 1999 20:44:53 GMT)
Subject: Re: automatically generate a menu
Reply-to: bob@rattlesnake.com
References:  <199911082044.UAA21057@rm400.sema.de>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

   The only thing I really like about Enlightenment is that it
   automatically creates a menu from the GNOME 'desktop' (and the KDE
   pendant) files. Did anybody write a SCWM module for this?

The Debian Menu System automatically builds menus for various window
managers, including SCWM as well as Enlightenment.  Works fine.

Francesco Tapparo wrote a menu generator script for SCWM.  I use to
generate the `Debian menus' in `sample.scwmrc/spare-blue.scwmrc'.

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov  9 05:15:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA15276
	for scwm-discuss-outgoing; Tue, 9 Nov 1999 05:15:33 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA15273
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 9 Nov 1999 05:15:29 -0500
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id LAA02639;
	Tue, 9 Nov 1999 11:15:22 +0100 (MET)
Date: Tue, 9 Nov 1999 11:15:21 +0100
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: FvwmButtons strange behaviour
Message-ID: <19991109111521.A1925@youkaidi.irisa.fr>
References: <19991029113128.A22915@youkaidi.irisa.fr> <qrrd7tyghsp.fsf@clavicle.cs.washington.edu> <19991104141953.B10052@youkaidi.irisa.fr> <19991108185317.A9414@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 1.0pre4us
In-Reply-To: <19991108185317.A9414@youkaidi.irisa.fr>; from Hubert.Canon@irisa.fr on Mon, Nov 08, 1999 at 06:53:18PM +0100
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

Good news : my FvwmBuutons now works with scwm-0.99.5.1 as before. I
swithced to fvwm-2.2.2 and corrected some syntax bits in fvwm2rc, and
strangely it works.

I can now switch to scwm-0.99.5.1

Hubert Canon écrivait :
> Hubert Canon écrivait :
> > By the way : I always had this strange message (even with older
> > versions of scwm). I don't know if it is normal or not. I think that
> > is why I have to launch FvwmPager by hand and it is not launched by
> > FvwmButtons as it should.
> > 
> > --------------
> > Error evaling packet: (0 14 "FvwmPager 0 1
> > " 1)
> > --------------

This error is still there, but it will be until the "Module" command
is implemented in fvwm-eval.

> I think I have the explication : FvwmButtons send a fvwm command to
> scwm, and if I look in fvwm-eval.scwm I see :
> 
> ;;; Unimplemented:
> [...]
> ;;; ChangeDecor        Module                  Wait
>                        ^^^^^^
> 
> That's why I have this error.
> 		       

-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov  9 15:15:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA16056
	for scwm-discuss-outgoing; Tue, 9 Nov 1999 15:15:12 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mailhostnew.tbit.dk (mailhostnew.tbit.dk [194.182.135.150])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA16050
	for <scwm-discuss@scwm.mit.edu>; Tue, 9 Nov 1999 15:15:06 -0500
Received: from chl (chl.tbit.dk [194.182.135.65])
	by mailhostnew.tbit.dk (8.9.3/8.9.3) with ESMTP id VAA13703
	for <scwm-discuss@scwm.mit.edu>; Tue, 9 Nov 1999 21:15:41 +0100 (MET)
Received: by tbit.dk
	via sendmail from stdin
	id <m11lHfS-000OAxC@chl> (Debian Smail3.2.0.102)
	for scwm-discuss@scwm.mit.edu; Tue, 9 Nov 1999 21:15:02 +0100 (CET) 
From: Christian Lynbech <chl@tbit.dk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14376.32966.485535.870230@chl.tbit.dk>
Date: Tue, 9 Nov 1999 21:15:02 +0100 (CET)
To: scwm-discuss@scwm.mit.edu
Subject: icon sorting
X-Mailer: VM 6.71 under Emacs 20.3.2
Comments: Hyperbole mail buttons accepted, v04.023.
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

GWM had a concept of custom sorting of the icons. Is there such thing
with SCWM?


---------------------------+--------------------------------------------------
Christian Lynbech          | Ericsson Telebit A/S                       
Fax:   +45 8628 8186       | Fabrikvej 11, DK-8260 Viby J
Phone: +45 8628 8177 + 28  | email: chl@tbit.dk --- URL: http://www.tbit.dk
---------------------------+--------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov  9 17:46:37 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA16436
	for scwm-discuss-outgoing; Tue, 9 Nov 1999 17:46:37 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA16433
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 9 Nov 1999 17:46:32 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id OAA14086;
	Tue, 9 Nov 1999 14:46:25 -0800
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: FvwmButtons strange behaviour
References: <19991029113128.A22915@youkaidi.irisa.fr> <qrrd7tyghsp.fsf@clavicle.cs.washington.edu> <19991104141953.B10052@youkaidi.irisa.fr> <19991108185317.A9414@youkaidi.irisa.fr> <19991109111521.A1925@youkaidi.irisa.fr>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 09 Nov 1999 14:46:25 -0800
In-Reply-To: Hubert Canon's message of "Tue, 9 Nov 1999 11:15:21 +0100"
Message-ID: <qrrzownqo5a.fsf@clavicle.cs.washington.edu>
Lines: 13
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Hi,
> 
> Good news : my FvwmBuutons now works with scwm-0.99.5.1 as before. I
> swithced to fvwm-2.2.2 and corrected some syntax bits in fvwm2rc, and
> strangely it works.
> 
> I can now switch to scwm-0.99.5.1

Great-- thanks for the report!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov  9 18:06:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA16593
	for scwm-discuss-outgoing; Tue, 9 Nov 1999 18:06:02 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA16590
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 9 Nov 1999 18:05:18 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id PAA14284;
	Tue, 9 Nov 1999 15:04:59 -0800
To: Christian Lynbech <chl@tbit.dk>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: icon sorting
References: <14376.32966.485535.870230@chl.tbit.dk>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 09 Nov 1999 15:04:59 -0800
In-Reply-To: Christian Lynbech's message of "Tue, 9 Nov 1999 21:15:02 +0100 (CET)"
Message-ID: <qrrd7tjqnac.fsf@clavicle.cs.washington.edu>
Lines: 8
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Christian Lynbech <chl@tbit.dk> writes:

> GWM had a concept of custom sorting of the icons. Is there such thing
> with SCWM?

Not yet, but I'll happily accept a patch! :-)

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Nov 10 06:52:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA20304
	for scwm-discuss-outgoing; Wed, 10 Nov 1999 06:52:57 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA20301
	for <scwm-discuss@scwm.mit.edu>; Wed, 10 Nov 1999 06:52:46 -0500
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id WAA13830
	for <scwm-discuss@scwm.mit.edu>; Wed, 10 Nov 1999 22:52:34 +1100
Message-ID: <38295C81.28A07CC8@tech.com.au>
Date: Wed, 10 Nov 1999 22:52:33 +1100
From: Chris <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: String scwm layout
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <5l7lk45og4.fsf@tequila.cs.yale.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Well, I've been using 99.5.1 a while now. One thing I notice is the
strange way scwm decides to layout windows. Now I'm no expert on window
manager layout algorithms, but this makes no sense to me.

The first thing I usually do when I login is start netscape. A browser
on one display and a email reader on another. I notice that for both
windows scwm chooses to put the window on the right of the screen. So I
move the window manually over to the left. Now I start new browser
windows just to see what happens. Now it starts the next 2 browsers on
the very far right slap on top of each other. From then on all the
browsers are the far left on top of each other.

I'm using a pretty standard system.scwmrc.

-- 
Chris Bitmead
mailto:chris@tech.com.au

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Nov 11 03:00:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA21947
	for scwm-discuss-outgoing; Thu, 11 Nov 1999 03:00:13 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mailhostnew.tbit.dk (mailhostnew.tbit.dk [194.182.135.150])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA21944
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 11 Nov 1999 03:00:06 -0500
Received: from chl (chl.tbit.dk [194.182.135.65])
	by mailhostnew.tbit.dk (8.9.3/8.9.3) with ESMTP id JAA24995
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 11 Nov 1999 09:00:44 +0100 (MET)
Received: by tbit.dk
	via sendmail from stdin
	id <m11lp9G-000O9qC@chl> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Thu, 11 Nov 1999 09:00:02 +0100 (CET) 
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: String scwm layout
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <5l7lk45og4.fsf@tequila.cs.yale.edu> <38295C81.28A07CC8@tech.com.au>
From: Christian Lynbech <chl@tbit.dk>
Date: 11 Nov 1999 09:00:01 +0100
In-Reply-To: Chris's message of "Wed, 10 Nov 1999 22:52:33 +1100"
Message-ID: <ofd7thv4ou.fsf@chl.tbit.dk>
Lines: 22
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Placement is a part of the window-style and there is several
strategies available.

I am using "smart placement" (some fvwm heritage I think) via setting
the #:smart-placement option in the default window-style to #t and
also doing a

        (set-smart-placement-is-really-smart! #t)

With this, scwm tries to minimize the overlap on existing windows when
opening new ones (it works better than the default though I am not
quite satisfied).


---------------------------+--------------------------------------------------
Christian Lynbech          | Ericsson Telebit A/S                       
Fax:   +45 8628 8186       | Fabrikvej 11, DK-8260 Viby J
Phone: +45 8628 8177 + 28  | email: chl@tbit.dk --- URL: http://www.tbit.dk
---------------------------+--------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Nov 11 07:21:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA24827
	for scwm-discuss-outgoing; Thu, 11 Nov 1999 07:21:59 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from camus.cybercable.fr (camus.cybercable.fr [212.198.0.200])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id HAA24824
	for <scwm-discuss@scwm.mit.edu>; Thu, 11 Nov 1999 07:21:55 -0500
Received: (qmail 2427241 invoked from network); 11 Nov 1999 12:21:46 -0000
Received: from s206.paris-112.cybercable.fr (HELO ZhengHe) (@[212.198.112.206]) (envelope-sender <fare@tunes.org>)
          by camus.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <scwm-discuss@scwm.mit.edu>; 11 Nov 1999 12:21:46 -0000
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11ltEW-0006BA-00; Thu, 11 Nov 1999 13:21:44 +0100
Date: Thu, 11 Nov 1999 13:21:44 +0100
From: Francois-Rene Rideau <fare@tunes.org>
To: SCWM Discussion <scwm-discuss@scwm.mit.edu>
Subject: load won't work under scwm???
Message-ID: <19991111132144.A23701@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.0i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dear SCWM developers,
   for a few months, I've been unable to upgrade to a new SCWM from either
CVS (any release I tried from september to this week) or Debian (0.99.5.1),
and have my configuration working. I get no error message (except from
winops.scm not finding anchor.xpm; wierd; would it perchance choke on my
stow-generated symbolic links?). Indeed, it looks like the various files
my .scwmrc loads have strictly no effect whatsoever.
Is (load) deprecated in scwm? It works well in GUILE.

My configuration is (as always) available from my CVS site
	http://cvs.tunes.org/cgi-bin/cvsweb/fare/etc/scwm/
	http://www.tunes.org/collaboration#CVS

The default configuration found in debian looks like it works, except that
it's unusable to me (and lots of key bindings are rejected due to my keymap
with french keyboard, and separate META and ALT keys instead of META and
HYPER as expected by the configuration -- gimme a space-cadet keyboard!).

This debian potato machine has Guile 1.3, glibc 2.1.2, etc.

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
I have more, not less, problems with free software than with proprietary
software! Because the few problems I have with proprietary software are all
showstoppers; with free software, they get solved, until the next one shows up.

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Nov 11 09:31:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA25060
	for scwm-discuss-outgoing; Thu, 11 Nov 1999 09:31:14 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA25057
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 11 Nov 1999 09:31:08 -0500
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11lvFJ-0004DLC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Thu, 11 Nov 1999 09:30:41 -0500 (EST) 
Message-Id: <m11lvFJ-0004DLC@localhost>
Date: Thu, 11 Nov 1999 09:30:41 -0500 (EST)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: fare@tunes.org
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <19991111132144.A23701@ZhengHe.augustin.thierry> (message from
	Francois-Rene Rideau on Thu, 11 Nov 1999 13:21:44 +0100)
Subject: Re: load won't work under scwm???
Reply-to: bob@rattlesnake.com
References:  <19991111132144.A23701@ZhengHe.augustin.thierry>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

      for a few months, I've been unable to upgrade to a new SCWM 
   .... 
   This debian potato machine has Guile 1.3, glibc 2.1.2, etc.

Take a look at my notes on installing the current SCWM on 
a plain vanilla Debian 2.1 (slink) distribution.

    http://scwm.mit.edu/debian-scwm-notes.html

I am able to run the current CVS snapshots of SCWM (but not Cassowary).

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Nov 11 12:15:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA25297
	for scwm-discuss-outgoing; Thu, 11 Nov 1999 12:15:36 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA25294
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 11 Nov 1999 12:15:30 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id JAA16103;
	Thu, 11 Nov 1999 09:15:21 -0800
To: Christian Lynbech <chl@tbit.dk>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: String scwm layout
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <5l7lk45og4.fsf@tequila.cs.yale.edu> <38295C81.28A07CC8@tech.com.au> <ofd7thv4ou.fsf@chl.tbit.dk>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 11 Nov 1999 09:15:21 -0800
In-Reply-To: Christian Lynbech's message of "11 Nov 1999 09:00:01 +0100"
Message-ID: <qrr1z9xvtjq.fsf@clavicle.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Christian Lynbech <chl@tbit.dk> writes:

> Placement is a part of the window-style and there is several
> strategies available.
> 
> I am using "smart placement" (some fvwm heritage I think) via setting
> the #:smart-placement option in the default window-style to #t and
> also doing a
> 
>         (set-smart-placement-is-really-smart! #t)
> 
> With this, scwm tries to minimize the overlap on existing windows when
> opening new ones (it works better than the default though I am not
> quite satisfied).

I think a nice, general, flexible scheme placement procedure would be a
great contribution to Scwm.  I'd love to rip out the crazy C algorithms
that exist and just let the placement be done with some clean scheme code.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Nov 11 15:17:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA25814
	for scwm-discuss-outgoing; Thu, 11 Nov 1999 15:17:14 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from igate.sema.de (in-proxy.sema.de [194.123.157.114])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA25811
	for <scwm-discuss@scwm.mit.edu>; Thu, 11 Nov 1999 15:17:08 -0500
Received: from rm400.sema.de (rm400.sema.de [192.168.70.31])
	by igate.sema.de (8.8.8/8.8.8) with ESMTP id VAA18509
	for <scwm-discuss@scwm.mit.edu>; Thu, 11 Nov 1999 21:17:04 +0100
Received: (from mschmitz@localhost)
	by rm400.sema.de (8.8.8/8.8.8) id UAA22633;
	Thu, 11 Nov 1999 20:00:42 GMT
Date: Thu, 11 Nov 1999 20:00:42 GMT
Message-Id: <199911112000.UAA22633@rm400.sema.de>
From: Michael Schmitz <mschmitz@sema.de>
To: scwm-discuss@scwm.mit.edu
Subject: two little problems with SCWM
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Hello all!

I'm new to SCWM, so please forbear with me (is this correct, I don't
know).

I played around with the system.scwmrc that came with the
scwm-0.99.5.1 rpm in the past few days.

The favorite host menu stuff is nice, but I wanted to include a menu
for opening a terminal with a different account. So I changed
make-hosts-menu to

(define* (make-hosts-menu hosts #&optional (user (user-name)))
  (cons menu-separator
	(fold-menu-list
	 (map
	  (lambda (elem)
	    (menuitem elem
		      #:image-left "mini-display.xpm"
		      #:action (lambda () (open-xterm-other-host elem user))))
	  hosts))))

and added a definition for open-xterm-other-host (based on
xterm-other-host from base.scm)

(define* (open-xterm-other-host hostname user)
  (execute (string-append (optget *xterm-command*)
                      " -name remotexterm -T " hostname " -n " hostname
                      " -e sh -c '" (string-append "rlogin -l " user " ")
                      hostname "'")))

The functions for constructing the popup menus look like the
following:

(define (menu-hosts-favorite)
  (menu (cons
	 (menu-title "Hosts (Favorite)") 
	 (make-hosts-menu favorite-hosts "redoek"))))

(define (menu-hosts-other)
  (menu (cons
	 (menu-title "Hosts (Other)") 
	 (make-hosts-menu other-hosts))))

Unfortunately open-xterm-other-host is always passed my $LOGNAME, even
if called via the "Hosts (Favorite)" menu. Why?

I changed make-hosts-menu to

(define* (make-hosts-menu hosts #&optional (user (user-name)))
  (cons menu-separator
	(fold-menu-list
	 (map
	  (lambda (elem)
	    (menuitem user #:action noop))
	  hosts))))

What I get now is a "Hosts (Favorite)" menu with lots of items named
"$LOGNAME". Ok, this is no surprise, but I don't understand why this
happens.

The second point I don't understand concerns open-xterm-other-host. If
I substitute "execute" with "exe" (which is used in xterm-other-host),
no processes is started at all.

Can anybody help me?

Thanks,
Michael.

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Nov 12 05:39:03 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA29479
	for scwm-discuss-outgoing; Fri, 12 Nov 1999 05:39:03 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from igate.sema.de (in-proxy.sema.de [194.123.157.114])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA29476
	for <scwm-discuss@scwm.mit.edu>; Fri, 12 Nov 1999 05:38:56 -0500
Received: from rm400.sema.de (rm400.sema.de [192.168.70.31])
	by igate.sema.de (8.8.8/8.8.8) with ESMTP id LAA14854
	for <scwm-discuss@scwm.mit.edu>; Fri, 12 Nov 1999 11:38:51 +0100
Received: (from mschmitz@localhost)
	by rm400.sema.de (8.8.8/8.8.8) id KAA10457;
	Fri, 12 Nov 1999 10:22:25 GMT
Date: Fri, 12 Nov 1999 10:22:25 GMT
Message-Id: <199911121022.KAA10457@rm400.sema.de>
From: Michael Schmitz <mschmitz@sema.de>
To: scwm-discuss@scwm.mit.edu
Subject: yet another newbie question
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I'm all but a Guile/Scheme expert. Therefore I don't understand the
difference between something like

    (menuitem "A&bout Scwm" #:image-left "mini-exclam.xpm" 
	      #:action (thunk scwm-about-message))

and

    (menuitem "A&bout Scwm" #:image-left "mini-exclam.xpm" 
	      #:action scwm-about-message)

Can anybody help me? Another question I have concerns
define-public. Is there any difference from a plain define?

Thanks,
Michael.

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Nov 12 11:50:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA29834
	for scwm-discuss-outgoing; Fri, 12 Nov 1999 11:50:57 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA29828
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 12 Nov 1999 11:50:48 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id IAA19559;
	Fri, 12 Nov 1999 08:50:40 -0800
To: Michael Schmitz <mschmitz@sema.de>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: thunk vs. direct bindings [ was Re: yet another newbie question]
References: <199911121022.KAA10457@rm400.sema.de>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 12 Nov 1999 08:50:40 -0800
In-Reply-To: Michael Schmitz's message of "Fri, 12 Nov 1999 10:22:25 GMT"
Message-ID: <qrr3dubslgf.fsf@clavicle.cs.washington.edu>
Lines: 72
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Michael Schmitz <mschmitz@sema.de> writes:

> I'm all but a Guile/Scheme expert. Therefore I don't understand the
> difference between something like
> 
>     (menuitem "A&bout Scwm" #:image-left "mini-exclam.xpm" 
> 	      #:action (thunk scwm-about-message))
> 
> and
> 
>     (menuitem "A&bout Scwm" #:image-left "mini-exclam.xpm" 
> 	      #:action scwm-about-message)

To understand this, you need to understand what the `thunk' macro does:

(defmacro-public thunk (proc)
  `(lambda args (apply ,proc args)))

This means that:

(thunk scwm-about-message)

expands into an #:action of

(lambda args (apply scwm-about-message args))

The second menuitem you mention above has an action of just
`scwm-about-message'.  The big difference between these two ways of
specifying an action procedure is which scwm-about-message procedure is
invoked when the menuitem is selected.

In the first case (with the thunk), each time the menuitem is clicked
the currently visible binding for the symbol `scwm-about-message' will
be invoked.  In the second case, whatever binding `scwm-about-message'
has when the menuitem is created will be used.

Often (and in normal use, really), the two possibilities above
coincide. There are two primary cases where they differ:

1) in the second case (w/o the thunk), the symbol scwm-about-message
*must* be bound when the menuitem object is created.  That is, the
definition of scwm-about-message must precede the creation of the
menuitem.  In the first case w/ the thunk, the lambda that the thunk
expands into avoids this dependency since the symbol evaluation is
deferred until execution of the menuitem's action; so with the thunk,
the procedure definition can come after the menuitem definition.

2) If scwm-about-message is rebound (e.g., you change it's definition,
or edit the module in which it is defined and re-load the module), then
the first version (using thunk) always gets the current binding (for
better or worse), while the second version always executes the same old
procedure (though any of the procedures called by that procedure are
looked up freshly; note that the lambda generated by the thunk macro
just adds a level of indirection so the top level procedure is one of
those called procedures).


> Can anybody help me? Another question I have concerns
> define-public. Is there any difference from a plain define?

Only w.r.t. the module system.  A define-public makes a definition
that's part of the interface of a module, whereas a define makes a
definition that's local.  In your startup files it makes little
difference, but once you start writing modules, you need to be sure to
use define-public or define*-public when you want other modules to have
access to that procedure's functionality.

I hope that helps... you may want to see my Scheme slides at:

http://www.cs.washington.edu/education/courses/341/99su/lectures/scheme/

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Nov 13 05:51:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA00859
	for scwm-discuss-outgoing; Sat, 13 Nov 1999 05:51:11 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA00856
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 13 Nov 1999 05:51:06 -0500
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id LAA14329;
	Sat, 13 Nov 1999 11:51:02 +0100 (MET)
Date: Sat, 13 Nov 1999 11:51:01 +0100
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: Michael Schmitz <mschmitz@sema.de>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: thunk vs. direct bindings [ was Re: yet another newbie question]
Message-ID: <19991113115101.A15618@youkaidi.irisa.fr>
References: <199911121022.KAA10457@rm400.sema.de> <qrr3dubslgf.fsf@clavicle.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 1.0pre4us
In-Reply-To: <qrr3dubslgf.fsf@clavicle.cs.washington.edu>; from gjb@cs.washington.edu on Fri, Nov 12, 1999 at 08:50:40AM -0800
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg J. Badros écrivait :
> Michael Schmitz <mschmitz@sema.de> writes:
> > I'm all but a Guile/Scheme expert. Therefore I don't understand the
> > difference between something like
> > 
> >     (menuitem "A&bout Scwm" #:image-left "mini-exclam.xpm" 
> > 	      #:action (thunk scwm-about-message))
> > 
> > and
> > 
> >     (menuitem "A&bout Scwm" #:image-left "mini-exclam.xpm" 
> > 	      #:action scwm-about-message)
> 
> To understand this, you need to understand what the `thunk' macro does:
> 
> (defmacro-public thunk (proc)
>   `(lambda args (apply ,proc args)))
> 
> This means that:
> 
> (thunk scwm-about-message)
> 
> expands into an #:action of
> 
> (lambda args (apply scwm-about-message args))
> 
> The second menuitem you mention above has an action of just
> `scwm-about-message'.  The big difference between these two ways of
> specifying an action procedure is which scwm-about-message procedure is
> invoked when the menuitem is selected.

Why not let the possibility to use the symbol name ?

(menuitem "A&bout Scwm" #:image-left "mini-exclam.xpm" 
 	      #:action 'scwm-about-message)


From owner-scwm-discuss@SCWM.MIT.EDU  Sat Nov 13 06:14:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA00995
	for scwm-discuss-outgoing; Sat, 13 Nov 1999 06:14:32 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA00992
	for <scwm-discuss@scwm.mit.edu>; Sat, 13 Nov 1999 06:14:24 -0500
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id WAA06667
	for <scwm-discuss@scwm.mit.edu>; Sat, 13 Nov 1999 22:14:13 +1100
Message-ID: <382D4805.3379984E@tech.com.au>
Date: Sat, 13 Nov 1999 22:14:13 +1100
From: Chris <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: scwm crashing
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <5l7lk45og4.fsf@tequila.cs.yale.edu> <38295C81.28A07CC8@tech.com.au> <ofd7thv4ou.fsf@chl.tbit.dk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Well, I'm thinking about going back to enlightenment or something,
because I can't handle how often scwm is crashing. About 5-10 times an
hour it seems. Has anybody made any progress on this?

-- 
Chris Bitmead
mailto:chris@tech.com.au

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Nov 13 07:48:03 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA01164
	for scwm-discuss-outgoing; Sat, 13 Nov 1999 07:48:03 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA01161
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 13 Nov 1999 07:47:57 -0500
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11mcaI-0004PwC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Sat, 13 Nov 1999 07:47:14 -0500 (EST) 
Message-Id: <m11mcaI-0004PwC@localhost>
Date: Sat, 13 Nov 1999 07:47:14 -0500 (EST)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: chris@tech.com.au
CC: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <382D4805.3379984E@tech.com.au> (message from Chris on Sat, 13
	Nov 1999 22:14:13 +1100)
Subject: Re: scwm crashing
Reply-to: bob@rattlesnake.com
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <5l7lk45og4.fsf@tequila.cs.yale.edu> <38295C81.28A07CC8@tech.com.au> <ofd7thv4ou.fsf@chl.tbit.dk> <382D4805.3379984E@tech.com.au>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

   .... I can't handle how often scwm is crashing. About 5-10 times an
   hour it seems. Has anybody made any progress on this?

What is your set up?  I worked hard at Thursday's CVS snapshot both
Thursday and Friday with no problems.

     $ scwm --version
    Scwm Version 0.99.5.1 compiled on Nov 11 1999 at 09:47:42
    RCS_ID=$Id: scwm.c,v 1.229 1999/10/23 21:24:44 gjb Exp $
    Repository Timestamp: Fri Oct 29 14:49:08 EDT 1999 -- $Revision: 1.383 $

No Cassowary.   (I have not been able to figure out why Cassowary does
not work for me.  This is a problem.)

  ./configure --enable-maintainer-mode --without-cassowary && make -k

  make install

I'm running Debian 2.1 with various newer packages added.

-- 
    Robert J. Chassell                  bob@rattlesnake.com
    Rattlesnake Enterprises             http://www.rattlesnake.com

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Nov 13 09:09:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA01332
	for scwm-discuss-outgoing; Sat, 13 Nov 1999 09:09:57 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA01329
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 13 Nov 1999 09:09:50 -0500
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id BAA07581
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 14 Nov 1999 01:09:43 +1100
Message-ID: <382D7126.CB529015@tech.com.au>
Date: Sun, 14 Nov 1999 01:09:42 +1100
From: Chris <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <5l7lk45og4.fsf@tequila.cs.yale.edu> <38295C81.28A07CC8@tech.com.au> <ofd7thv4ou.fsf@chl.tbit.dk> <382D4805.3379984E@tech.com.au> <m11mcaI-0004PwC@localhost>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

My setup is RH 6.1, and the binary x86 rpms (99.5.1) from scwm.mit.edu.
My .scwmrc is mostly standard, just some custom buttons. As I mentioned
before it usually crashes when nothing is particularly happening -
apparently in the guile garbage collector.


"Robert J. Chassell" wrote:
> 
>    .... I can't handle how often scwm is crashing. About 5-10 times an
>    hour it seems. Has anybody made any progress on this?
> 
> What is your set up?  I worked hard at Thursday's CVS snapshot both
> Thursday and Friday with no problems.
> 
>      $ scwm --version
>     Scwm Version 0.99.5.1 compiled on Nov 11 1999 at 09:47:42
>     RCS_ID=$Id: scwm.c,v 1.229 1999/10/23 21:24:44 gjb Exp $
>     Repository Timestamp: Fri Oct 29 14:49:08 EDT 1999 -- $Revision: 1.383 $
> 
> No Cassowary.   (I have not been able to figure out why Cassowary does
> not work for me.  This is a problem.)
> 
>   ./configure --enable-maintainer-mode --without-cassowary && make -k
> 
>   make install
> 
> I'm running Debian 2.1 with various newer packages added.
> 
> --
>     Robert J. Chassell                  bob@rattlesnake.com
>     Rattlesnake Enterprises             http://www.rattlesnake.com

-- 
Chris Bitmead
mailto:chris@tech.com.au

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Nov 13 12:49:03 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA01648
	for scwm-discuss-outgoing; Sat, 13 Nov 1999 12:49:03 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA01645
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 13 Nov 1999 12:48:58 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id JAA28825;
	Sat, 13 Nov 1999 09:48:51 -0800
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: Michael Schmitz <mschmitz@sema.de>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: thunk vs. direct bindings [ was Re: yet another newbie question]
References: <199911121022.KAA10457@rm400.sema.de> <qrr3dubslgf.fsf@clavicle.cs.washington.edu> <19991113115101.A15618@youkaidi.irisa.fr>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 13 Nov 1999 09:48:51 -0800
In-Reply-To: Hubert Canon's message of "Sat, 13 Nov 1999 11:51:01 +0100"
Message-ID: <qrr9042mge4.fsf@clavicle.cs.washington.edu>
Lines: 49
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Greg J. Badros écrivait :
> > Michael Schmitz <mschmitz@sema.de> writes:
> > > I'm all but a Guile/Scheme expert. Therefore I don't understand the
> > > difference between something like
> > > 
> > >     (menuitem "A&bout Scwm" #:image-left "mini-exclam.xpm" 
> > > 	      #:action (thunk scwm-about-message))
> > > 
> > > and
> > > 
> > >     (menuitem "A&bout Scwm" #:image-left "mini-exclam.xpm" 
> > > 	      #:action scwm-about-message)
> > 
> > To understand this, you need to understand what the `thunk' macro does:
> > 
> > (defmacro-public thunk (proc)
> >   `(lambda args (apply ,proc args)))
> > 
> > This means that:
> > 
> > (thunk scwm-about-message)
> > 
> > expands into an #:action of
> > 
> > (lambda args (apply scwm-about-message args))
> > 
> > The second menuitem you mention above has an action of just
> > `scwm-about-message'.  The big difference between these two ways of
> > specifying an action procedure is which scwm-about-message procedure is
> > invoked when the menuitem is selected.
> 
> Why not let the possibility to use the symbol name ?
> 
> (menuitem "A&bout Scwm" #:image-left "mini-exclam.xpm" 
>  	      #:action 'scwm-about-message)

That does work, but has some complications w.r.t. modules.  Given the
Guile module system, symbols don't necessarily have 0 or 1 bindings;
they can have many and the module determines which is used.

Maciej, in particular, disliked it pretty strongly when I added the
ability to use symbols in a couple of contexts like you suggest (this
was several years ago, now).  I've not yet thought hard about the
issues, but I am occasionally surprised by the behaviour I get.  The
`thunk' technique is a cleaner way to get the more dynamic behaviour.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Nov 13 12:52:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA01688
	for scwm-discuss-outgoing; Sat, 13 Nov 1999 12:52:21 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA01685
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 13 Nov 1999 12:52:18 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id JAA28834;
	Sat, 13 Nov 1999 09:52:03 -0800
To: Chris <chris@tech.com.au>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <5l7lk45og4.fsf@tequila.cs.yale.edu> <38295C81.28A07CC8@tech.com.au> <ofd7thv4ou.fsf@chl.tbit.dk> <382D4805.3379984E@tech.com.au> <m11mcaI-0004PwC@localhost> <382D7126.CB529015@tech.com.au>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 13 Nov 1999 09:52:03 -0800
In-Reply-To: Chris's message of "Sun, 14 Nov 1999 01:09:42 +1100"
Message-ID: <qrr66z6mg8s.fsf@clavicle.cs.washington.edu>
Lines: 22
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris <chris@tech.com.au> writes:

> My setup is RH 6.1, and the binary x86 rpms (99.5.1) from scwm.mit.edu.
> My .scwmrc is mostly standard, just some custom buttons. As I mentioned
> before it usually crashes when nothing is particularly happening -
> apparently in the guile garbage collector.

Some more data points on this would be really useful.  Has anyone else
seen this behaviour.  My Scwm's (built from the CVS repo, of course) are 
pretty rock solid.  I crashed once during 3 hour demo session at UIST'99 
last week, but I was pushing it really hard and doing completely nutty
things for effect.

Which guile versions are you using?  You may need to upgrade them (I
don't think the dependencies built into the .rpms are as accurate as
they might need to be).

I'd hate to see someone switch to Enlightenment because of stability
problems appear to be the results in an install/version-incompatibility
problem, and not a fundamental weakness of the code.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Nov 13 13:49:09 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA01934
	for scwm-discuss-outgoing; Sat, 13 Nov 1999 13:49:09 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from thig.blarg.net (root@thig.blarg.net [206.124.128.18])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA01931
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 13 Nov 1999 13:49:04 -0500
Received: from snowball (vp005.atm01.sea.blarg.net [206.124.138.5])
	by thig.blarg.net (8.9.3/8.9.3) with ESMTP id KAA13106;
	Sat, 13 Nov 1999 10:49:00 -0800
Received: by blarg.net
	via sendmail from stdin
	id <m11mhjt-001UilC@snowball> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Sat, 13 Nov 1999 10:17:29 -0800 (PST) 
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
References: <19991012113959.A18892@youkaidi.irisa.fr> <s3emf07tvj.fsf@verisity.com> <19991012151136.A20980@youkaidi.irisa.fr> <19991012162719.A25638@youkaidi.irisa.fr> <qrrn1to4a0w.fsf@elwha.cs.washington.edu> <3803C224.5AB12A98@tech.com.au> <19991013160011.A20236@hagbard.demon.co.uk> <s3g0zf41rp.fsf@bigfoot.com> <ll9056wuqu.fsf@diko.itrade.net> <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <5l7lk45og4.fsf@tequila.cs.yale.edu> <38295C81.28A07CC8@tech.com.au> <ofd7thv4ou.fsf@chl.tbit.dk> <382D4805.3379984E@tech.com.au> <m11mcaI-0004PwC@localhost> <382D7126.CB529015@tech.com.au> <qrr66z6mg8s.fsf@clavicle.cs.washington.edu>
From: Eric Hanchrow <offby1@blarg.net>
Date: 13 Nov 1999 10:17:28 -0800
In-Reply-To: "Greg J. Badros"'s message of "13 Nov 1999 09:52:03 -0800"
Message-ID: <87ln82l0hz.fsf@blarg.net>
Lines: 35
X-Mailer: Gnus v5.6.45/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> "Greg" == Greg J Badros <gjb@cs.washington.edu> writes:

    Greg> Some more data points on this would be really useful.  Has
    Greg> anyone else seen this behaviour.
				
Yep -- I'm in pretty much the same situation as Chris: scwm crashes so
often that I no longer use it.  However, my setup is more like Bob
Chassel's than like Chris':

    10:09:18 [offby1]$ guile --version
    Guile 1.3.4

    10:10:59 [offby1]$ uname -a
    Linux snowball 2.2.12 #1 Wed Sep 29 13:02:06 EST 1999 i686 unknown

    10:11:09 [offby1]$ scwm --version
    Scwm Version 0.99.5.1 compiled on Oct 28 1999 at 18:58:54
    RCS_ID=$Id: scwm.c,v 1.229 1999/10/23 21:24:44 gjb Exp $
    Repository Timestamp: Tue Oct 26 14:51:37 EDT 1999 -- $Revision: 1.369 $

Like Bob, I'm running Debian 2.1, with the latest security patches.

I'd be glad to help debug the problem, except I don't know how.  I'm
pretty dim when it comes to poking around in the scwm stack trace in
gdb; all I can say right now is that, like Chris, I think the problem
is in garbage collection (because I see this in the stack trace

    #11 0x807a588 in SigDoneSegv (ignored_ignore=11) at scwm.c:1469
    #12 <signal handler called>
    #13 scm_gc_mark (p=0) at gc.c:609
    #14 0x807cd32 in mark_window (obj=1080617312) at window.c:475

)

I'd be glad to help in any way I'm capable of.

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Nov 13 16:55:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA02184
	for scwm-discuss-outgoing; Sat, 13 Nov 1999 16:55:27 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from zappa. (root@dialup-t1-23.Melbourne.netspace.net.au [210.15.250.23])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA02181
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 13 Nov 1999 16:55:20 -0500
Received: from localhost (2339 bytes) by zappa.
	via sendmail with P:stdio/R:internet_hosts/T:smtp
	(sender: <ggt>) (ident <ggt> using unix)
	id <m11ml2n-002SufC@zappa.>
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 14 Nov 1999 08:49:13 +1100 (EST)
	(Smail-3.2.0.101 1997-Dec-17 #1 built 1998-Aug-25)
Message-Id: <m11ml2n-002SufC@zappa.>
Date: Sun, 14 Nov 1999 08:49:13 +1100 (EST)
From: ggt@netspace.net.au (Glenn Trigg)
X-Mailer: Privtool [V0.90 Beta GT010] (i586-pc-linux-gnu/Gtk+)
In-Reply-To: <qrr66z6mg8s.fsf@clavicle.cs.washington.edu> from ""Greg J. Badros" <gjb@cs.washington.edu>"
Reply-To: ggt@linuxfan.com
Subject: Re: scwm crashing
To: gjb@cs.washington.edu
Cc: scwm-discuss@SCWM.MIT.EDU
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Greg J. Badros" <gjb@cs.washington.edu> said :

> Chris <chris@tech.com.au> writes:
> 
> > My setup is RH 6.1, and the binary x86 rpms (99.5.1) from scwm.mit.edu.
> > My .scwmrc is mostly standard, just some custom buttons. As I mentioned
> > before it usually crashes when nothing is particularly happening -
> > apparently in the guile garbage collector.
> 
> Some more data points on this would be really useful.  Has anyone else
> seen this behaviour.  My Scwm's (built from the CVS repo, of course) are 
> pretty rock solid.  I crashed once during 3 hour demo session at UIST'99 
> last week, but I was pushing it really hard and doing completely nutty
> things for effect.

Unfortunately I'm seeing this instability at the moment too. I'm using a
fairly recent cvs version, there's been no scwm/src/*.c changes since my
last compile. I'm also using the latest released guile (1.3.4) & guile-gtk
(0.15).

I've found that running netscape with multiple windows opening & closing
will pretty quickly crash scwm, also gimp will too. In fact it seems that
any situation where windows are appearing & disappearing will cause the
crash. A stack trace in gdb most often looks like:

chunk_alloc
malloc
scm_must_malloc
scm_init_tag
scm_internal_catch

The other thing is that I'm not running the latest glibc libraries, they are
version 2.0.7 (I haven't upgraded because doing so breaks my current version
of Applix, sigh).

> Which guile versions are you using?  You may need to upgrade them (I
> don't think the dependencies built into the .rpms are as accurate as
> they might need to be).
> 
> I'd hate to see someone switch to Enlightenment because of stability
> problems appear to be the results in an install/version-incompatibility
> problem, and not a fundamental weakness of the code.

Well I haven't switched to anything else, but it gets a bit frustrating
sometimes.

I'm thinking of running a debuggable version of guile as well, but haven't
gotten around to compiling it yet.

Regards,

Glenn


From owner-scwm-discuss@SCWM.MIT.EDU  Sat Nov 13 17:46:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA02342
	for scwm-discuss-outgoing; Sat, 13 Nov 1999 17:46:11 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA02339
	for <scwm-discuss@scwm.mit.edu>; Sat, 13 Nov 1999 17:46:04 -0500
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id JAA10408
	for <scwm-discuss@scwm.mit.edu>; Sun, 14 Nov 1999 09:45:57 +1100
Message-ID: <382DEA24.8410A623@tech.com.au>
Date: Sun, 14 Nov 1999 09:45:56 +1100
From: Chris <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: Re: scwm crashing
References: <m11ml2n-002SufC@zappa.>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Glenn Trigg wrote:

> I've found that running netscape with multiple windows opening & closing
> will pretty quickly crash scwm, 

Come to think of it, that's right. It often crashes after a netscape
popup (e.g. like file->saveas) disappears.

-- 
Chris Bitmead
mailto:chris@tech.com.au

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Nov 13 18:08:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA02482
	for scwm-discuss-outgoing; Sat, 13 Nov 1999 18:08:23 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA02479
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 13 Nov 1999 18:08:13 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id PAA02457;
	Sat, 13 Nov 1999 15:08:01 -0800
To: Chris <chris@tech.com.au>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
References: <m11ml2n-002SufC@zappa.> <382DEA24.8410A623@tech.com.au>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 13 Nov 1999 15:08:01 -0800
In-Reply-To: Chris's message of "Sun, 14 Nov 1999 09:45:56 +1100"
Message-ID: <qrrn1sikn1q.fsf@clavicle.cs.washington.edu>
Lines: 15
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris <chris@tech.com.au> writes:

> Glenn Trigg wrote:
> 
> > I've found that running netscape with multiple windows opening & closing
> > will pretty quickly crash scwm, 
> 
> Come to think of it, that's right. It often crashes after a netscape
> popup (e.g. like file->saveas) disappears.

This is a good lead;  I'll see if I can reproduce it -- if it's a race
condition, perhaps I'm not seeing it on my dev machine because it's
kinda fast...

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Nov 13 21:03:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA02716
	for scwm-discuss-outgoing; Sat, 13 Nov 1999 21:03:40 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from zappa. (root@dialup-t1-239.Melbourne.netspace.net.au [210.15.250.239])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA02713
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 13 Nov 1999 21:03:33 -0500
Received: from localhost (2043 bytes) by zappa.
	via sendmail with P:stdio/R:internet_hosts/T:smtp
	(sender: <ggt>) (ident <ggt> using unix)
	id <m11mox2-002SujC@zappa.>
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 14 Nov 1999 12:59:32 +1100 (EST)
	(Smail-3.2.0.101 1997-Dec-17 #1 built 1998-Aug-25)
Message-Id: <m11mox2-002SujC@zappa.>
Date: Sun, 14 Nov 1999 12:59:32 +1100 (EST)
From: ggt@netspace.net.au (Glenn Trigg)
X-Mailer: Privtool [V0.90 Beta GT010] (i586-pc-linux-gnu/Gtk+)
In-Reply-To: <qrrn1sikn1q.fsf@clavicle.cs.washington.edu> from ""Greg J. Badros" <gjb@cs.washington.edu>"
Reply-To: ggt@linuxfan.com
Subject: Re: scwm crashing
To: gjb@cs.washington.edu
Cc: scwm-discuss@SCWM.MIT.EDU
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Greg J. Badros" <gjb@cs.washington.edu> said :

> Chris <chris@tech.com.au> writes:
> 
> > Glenn Trigg wrote:
> > 
> > > I've found that running netscape with multiple windows opening & closing
> > > will pretty quickly crash scwm, 
> > 
> > Come to think of it, that's right. It often crashes after a netscape
> > popup (e.g. like file->saveas) disappears.
> 
> This is a good lead;  I'll see if I can reproduce it -- if it's a race
> condition, perhaps I'm not seeing it on my dev machine because it's
> kinda fast...

OK, here's some more stack dumps with debugging on this time. These are from
a single X session so I'm not sure if previous scwm crashes are affecting
the later ones. Anyway, they occured while using gimp initially and the last
one was when using asWedit & opening a filer dialog.

#0  0x401ef59e in __cfree ()
#1  0x40136fc8 in scm_must_free (obj=0x2974) at gc.c:1514
#2  0x401362ef in scm_gc_sweep () at gc.c:1154
#3  0x4013501f in scm_igc (what=0x808bf7f "inferior root continuation")
    at gc.c:579
#4  0x40136daf in scm_must_malloc (size=176,
    what=0x808bf7f "inferior root continuation") at gc.c:1447

------------------
#0  0x806c924 in SetFocus (w=136261632, psw=0x0, FocusByMouse=0) at focus.c:70
#1  0xc00341 in ?? ()
#2  0x69 in ?? ()
Cannot access memory at address 0x1b.

------------------
#0  0x401ef22a in chunk_alloc ()
#1  0x401ef036 in malloc ()
#2  0x4008af52 in XQueryTree ()

Also, while we're on the topic of wierd behaviour, I notice the cursor jumps
when browsing menus in a menubar (especially Gtk menubars), seemingly to
position the cursor to the edge of the menu button. Is this something
deliberate? If so, is there a way to disable it?

Regards,

Glenn


From owner-scwm-discuss@SCWM.MIT.EDU  Sat Nov 13 23:41:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id XAA02931
	for scwm-discuss-outgoing; Sat, 13 Nov 1999 23:41:01 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id XAA02928
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 13 Nov 1999 23:40:53 -0500
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id PAA12123;
	Sun, 14 Nov 1999 15:40:36 +1100
Message-ID: <382E3D44.E7BE6C5@tech.com.au>
Date: Sun, 14 Nov 1999 15:40:36 +1100
From: Chris <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "Greg J. Badros" <gjb@cs.washington.edu>
CC: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
References: <m11ml2n-002SufC@zappa.> <382DEA24.8410A623@tech.com.au> <qrrn1sikn1q.fsf@clavicle.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Greg J. Badros" wrote:
> This is a good lead;  I'll see if I can reproduce it -- if it's a race
> condition, perhaps I'm not seeing it on my dev machine because it's
> kinda fast...

Well I'm running a PIII 500. BTW, the main app I'm always running is
Netscape, so my best suggestion to reproduce it is surf.

-- 
Chris Bitmead
mailto:chris@tech.com.au

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Nov 14 04:08:04 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id EAA05783
	for scwm-discuss-outgoing; Sun, 14 Nov 1999 04:08:04 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from zappa. (ppphost1.aus.compgen.com [203.43.78.90])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id EAA05780
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 14 Nov 1999 04:07:27 -0500
Received: from localhost (2484 bytes) by zappa.
	via sendmail with P:stdio/R:internet_hosts/T:smtp
	(sender: <ggt>) (ident <ggt> using unix)
	id <m11mvYs-002SukC@zappa.>
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 14 Nov 1999 20:03:02 +1100 (EST)
	(Smail-3.2.0.101 1997-Dec-17 #1 built 1998-Aug-25)
Message-Id: <m11mvYs-002SukC@zappa.>
Date: Sun, 14 Nov 1999 20:03:02 +1100 (EST)
From: ggt@netspace.net.au (Glenn Trigg)
X-Mailer: Privtool [V0.90 Beta GT010] (i586-pc-linux-gnu/Gtk+)
In-Reply-To: <qrrn1sikn1q.fsf@clavicle.cs.washington.edu> from ""Greg J. Badros" <gjb@cs.washington.edu>"
Reply-To: ggt@linuxfan.com
Subject: Re: scwm crashing - another stack backtrace
To: gjb@cs.washington.edu
Cc: scwm-discuss@SCWM.MIT.EDU
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

This one happened after the machine had been sitting idle for a while and I
went to open a window on a Gtk app (Privtool).

#0  0x40136213 in scm_gc_sweep () at gc.c:1117
#1  0x4013501f in scm_igc (what=0x40189682 "cells") at gc.c:579
#2  0x40134e0a in scm_gc_for_alloc (ncells=1, freelistp=0x80929bc) at gc.c:417
#3  0x40134ec0 in scm_gc_for_newcell () at gc.c:430
#4  0x40117559 in scm_acons (w=10612, x=10612, y=1076518512) at alist.c:60
#5  0x4012d5ac in scm_dapply (proc=1076518008, arg1=10612, args=10612)
    at eval.c:3499
#6  0x40126a08 in scm_apply (proc=1076518008, arg1=10612, args=10612)
    at eval.c:3324
#7  0x40178619 in scm_body_thunk (body_data=0xbfffecc8) at throw.c:379
#8  0x401781e3 in scm_internal_catch (tag=1076717656,
    body=0x401785ea <scm_body_thunk>, body_data=0xbfffecc8,
    handler=0x40178629 <scm_handle_by_proc>, handler_data=0xbfffece0)
    at throw.c:228
#9  0x40178a06 in scm_catch (tag=1076717656, thunk=1076518008,
    handler=1076517936) at throw.c:576
#10 0x4012c860 in scm_deval (x=1076841384, env=1076518512) at eval.c:3061
#11 0x4012d621 in scm_dapply (proc=1076911240, arg1=1076940704,
    args=1076520336) at eval.c:3514
#12 0x40126a08 in scm_apply (proc=1076911200, arg1=10612, args=10612)
    at eval.c:3324
#13 0x4013a1e0 in gh_apply (proc=1076911200, args=10612) at gh_funcs.c:144
#14 0x80610a8 in scwm_body_apply (body_data=0x40178587) at callbacks.c:71
#15 0x40178587 in cwss_body (data=0xbfffefcc) at throw.c:345
#16 0x401781e3 in scm_internal_catch (tag=9076, body=0x4017854a <cwss_body>,
    body_data=0xbfffefcc, handler=0x805ff7c <scwm_handle_error>,
    handler_data=0x0) at throw.c:228
#17 0x401785da in scm_internal_stack_catch (tag=9076,
    body=0x8061098 <scwm_body_apply>, body_data=0xbffff124,
    handler=0x805ff7c <scwm_handle_error>, handler_data=0x0) at throw.c:359
#18 0x80610c6 in cwssdr_body (data=0x806d28e) at callbacks.c:97

Are these helping? Will I continue to catch them?

If you would like me to do some further debugging let me know what kind of
approach I should take & I'll have a go. (I.e given that I'm not familiar
with the code!)

Glenn

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Nov 14 12:44:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA06296
	for scwm-discuss-outgoing; Sun, 14 Nov 1999 12:44:10 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA06293
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 14 Nov 1999 12:44:04 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id JAA17848;
	Sun, 14 Nov 1999 09:43:58 -0800
To: ggt@linuxfan.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing - another stack backtrace
References: <m11mvYs-002SukC@zappa.>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 14 Nov 1999 09:43:58 -0800
In-Reply-To: ggt@netspace.net.au's message of "Sun, 14 Nov 1999 20:03:02 +1100 (EST)"
Message-ID: <qrrr9htj7dt.fsf@clavicle.cs.washington.edu>
Lines: 55
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

ggt@netspace.net.au (Glenn Trigg) writes:

> This one happened after the machine had been sitting idle for a while and I
> went to open a window on a Gtk app (Privtool).
> 
> #0  0x40136213 in scm_gc_sweep () at gc.c:1117
> #1  0x4013501f in scm_igc (what=0x40189682 "cells") at gc.c:579
> #2  0x40134e0a in scm_gc_for_alloc (ncells=1, freelistp=0x80929bc) at gc.c:417
> #3  0x40134ec0 in scm_gc_for_newcell () at gc.c:430
> #4  0x40117559 in scm_acons (w=10612, x=10612, y=1076518512) at alist.c:60
> #5  0x4012d5ac in scm_dapply (proc=1076518008, arg1=10612, args=10612)
>     at eval.c:3499
> #6  0x40126a08 in scm_apply (proc=1076518008, arg1=10612, args=10612)
>     at eval.c:3324
> #7  0x40178619 in scm_body_thunk (body_data=0xbfffecc8) at throw.c:379
> #8  0x401781e3 in scm_internal_catch (tag=1076717656,
>     body=0x401785ea <scm_body_thunk>, body_data=0xbfffecc8,
>     handler=0x40178629 <scm_handle_by_proc>, handler_data=0xbfffece0)
>     at throw.c:228
> #9  0x40178a06 in scm_catch (tag=1076717656, thunk=1076518008,
>     handler=1076517936) at throw.c:576
> #10 0x4012c860 in scm_deval (x=1076841384, env=1076518512) at eval.c:3061
> #11 0x4012d621 in scm_dapply (proc=1076911240, arg1=1076940704,
>     args=1076520336) at eval.c:3514
> #12 0x40126a08 in scm_apply (proc=1076911200, arg1=10612, args=10612)
>     at eval.c:3324
> #13 0x4013a1e0 in gh_apply (proc=1076911200, args=10612) at gh_funcs.c:144
> #14 0x80610a8 in scwm_body_apply (body_data=0x40178587) at callbacks.c:71
> #15 0x40178587 in cwss_body (data=0xbfffefcc) at throw.c:345
> #16 0x401781e3 in scm_internal_catch (tag=9076, body=0x4017854a <cwss_body>,
>     body_data=0xbfffefcc, handler=0x805ff7c <scwm_handle_error>,
>     handler_data=0x0) at throw.c:228
> #17 0x401785da in scm_internal_stack_catch (tag=9076,
>     body=0x8061098 <scwm_body_apply>, body_data=0xbffff124,
>     handler=0x805ff7c <scwm_handle_error>, handler_data=0x0) at throw.c:359
> #18 0x80610c6 in cwssdr_body (data=0x806d28e) at callbacks.c:97
> 
> Are these helping? Will I continue to catch them?

They're definitely helpful, and please continue to send backtraces that
vary substantially (i.e., I don't need to see more that look like the
above, now).

Unfortunately, I've got some paper deadlines coming up so I've got to
put off looking into these problems for a couple of days.

> If you would like me to do some further debugging let me know what kind of
> approach I should take & I'll have a go. (I.e given that I'm not familiar
> with the code!)

I appreciate the offer; I think I'll be able to figure it out once I can 
reproduce it (which is just a matter of finding some time).

Thanks!
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Nov 14 19:47:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA07569
	for scwm-discuss-outgoing; Sun, 14 Nov 1999 19:47:43 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from racine.cybercable.fr (racine.cybercable.fr [212.198.0.201])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id TAA07566
	for <scwm-discuss@scwm.mit.edu>; Sun, 14 Nov 1999 19:47:39 -0500
Received: (qmail 3357738 invoked from network); 15 Nov 1999 00:47:36 -0000
Received: from d090.paris-205.cybercable.fr (HELO Samaris) (@[212.198.205.90]) (envelope-sender <fare@tunes.org>)
          by racine.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <chris@tech.com.au>; 15 Nov 1999 00:47:36 -0000
Received: from (ZhengHe) [10.31.0.8] 
	by Samaris with esmtp (Exim 3.03 #1 (Debian))
	id 11nAIj-0005Zq-00; Mon, 15 Nov 1999 01:47:21 +0100
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11nAJ4-0007V2-00; Mon, 15 Nov 1999 01:47:42 +0100
Date: Mon, 15 Nov 1999 01:47:42 +0100
From: Francois-Rene Rideau <fare@tunes.org>
To: Chris <chris@tech.com.au>
Cc: "Greg J. Badros" <gjb@cs.washington.edu>, scwm-discuss@scwm.mit.edu
Subject: Re: scwm crashing
Message-ID: <19991115014741.A28768@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <m11ml2n-002SufC@zappa.> <382DEA24.8410A623@tech.com.au> <qrrn1sikn1q.fsf@clavicle.cs.washington.edu> <382E3D44.E7BE6C5@tech.com.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.0i
In-Reply-To: <382E3D44.E7BE6C5@tech.com.au>; from chris@tech.com.au on Sun, Nov 14, 1999 at 03:40:36PM +1100
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Sun, Nov 14, 1999 at 03:40:36PM +1100, Chris wrote:
> Well I'm running a PIII 500. BTW, the main app I'm always running is
> Netscape, so my best suggestion to reproduce it is surf.
In my experience, the scwm memory leak gets much worse
in presence of netscape. Thanks to my additional hundred MB of swap,
I can survive a few more hours.

BTW, I'm still using that old version of SCWM post0.99.1, so I may be
completely off topic as to what your problem is.

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
The program isn't debugged until the last user is dead.

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Nov 15 01:30:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA18414
	for scwm-discuss-outgoing; Mon, 15 Nov 1999 01:30:26 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from motgate.mot.com (motgate.mot.com [129.188.136.100])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA18406
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 15 Nov 1999 01:30:22 -0500
Received: [from mothost.mot.com (mothost.mot.com [129.188.137.101]) by motgate.mot.com (MOT-motgate 1.0) with ESMTP id AAA17478 for <scwm-discuss@SCWM.MIT.EDU>; Mon, 15 Nov 1999 00:30:18 -0600 (CST)]
Received: [from msghkg1.sps.mot.com (msghkg1.sps.mot.com [216.17.115.1]) by mothost.mot.com (MOT-mothost 2.0) with ESMTP id AAA09256 for <scwm-discuss@SCWM.MIT.EDU>; Mon, 15 Nov 1999 00:30:17 -0600 (CST)]
Received: from india56.email.sps.mot.com ([223.1.236.56])          by msghkg1.sps.mot.com (Netscape Messaging Server 3.61)           with ESMTP id AAA5DDA; Mon, 15 Nov 1999 14:30:13 +0800
X-Mailer: emacs 20.4.1 (via feedmail 9-beta-5 I)
To: Francois-Rene Rideau <fare@tunes.org>
Cc: Chris <chris@tech.com.au>, "Greg J. Badros" <gjb@cs.washington.edu>,
        scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
References: <19991115014741.A28768@ZhengHe.augustin.thierry>
Organization: Motorola India Ltd
From: Puneet Goel <puneet@computer.org>
In-Reply-To: Francois-Rene Rideau's message of "Sun, 14 Nov 1999 18:09:53 MST"
Date: 15 Nov 1999 12:02:17 +0530
Message-ID: <irpuxce03y.fsf@computer.org>
Lines: 26
User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Francois-Rene Rideau <fare@tunes.org> writes:

> On Sun, Nov 14, 1999 at 03:40:36PM +1100, Chris wrote:
> > Well I'm running a PIII 500. BTW, the main app I'm always running is
> > Netscape, so my best suggestion to reproduce it is surf.
> In my experience, the scwm memory leak gets much worse
> in presence of netscape. Thanks to my additional hundred MB of swap,
> I can survive a few more hours.
> 

I am running scwm on a sun sparc ultra 60. My experience is that it
crashes more when the machine is heavily loaded by other jobs (may not
be netscape!). These days my machine is not much loaded, so I have not
had a crash for around a week!


-- 
Puneet Goel
email - puneet at computer period org
home  -          (91)124-335056
work  -          (91)124-340660 x 272
--
The pet dog suspects the universe for scheming to take its place.
- Rabindranath Tagore (Stray Birds)
--


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Nov 15 10:59:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA22447
	for scwm-discuss-outgoing; Mon, 15 Nov 1999 10:59:32 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA22444
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 15 Nov 1999 10:59:25 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id HAA21691;
	Mon, 15 Nov 1999 07:59:14 -0800
To: Puneet Goel <puneet@computer.org>
Cc: Francois-Rene Rideau <fare@tunes.org>, Chris <chris@tech.com.au>,
        scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
References: <19991115014741.A28768@ZhengHe.augustin.thierry> <irpuxce03y.fsf@computer.org>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 15 Nov 1999 07:59:14 -0800
In-Reply-To: Puneet Goel's message of "15 Nov 1999 12:02:17 +0530"
Message-ID: <qrr7ljjkap9.fsf@clavicle.cs.washington.edu>
Lines: 32
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Puneet Goel <puneet@computer.org> writes:

> Francois-Rene Rideau <fare@tunes.org> writes:
> 
> > On Sun, Nov 14, 1999 at 03:40:36PM +1100, Chris wrote:
> > > Well I'm running a PIII 500. BTW, the main app I'm always running is
> > > Netscape, so my best suggestion to reproduce it is surf.
> > In my experience, the scwm memory leak gets much worse
> > in presence of netscape. Thanks to my additional hundred MB of swap,
> > I can survive a few more hours.
> > 
> 
> I am running scwm on a sun sparc ultra 60. My experience is that it
> crashes more when the machine is heavily loaded by other jobs (may not
> be netscape!). These days my machine is not much loaded, so I have not
> had a crash for around a week!

This is definitely some sort of race condition.  I think I've enough to
reproduce it.  I'm actually aware of one race condition involving
message windows that I have a (not perfect because it breaks modularity) 
patch for.  Can you folks try using:

(message-window-options 'interactive-move #:enable #f)
(message-window-options 'interactive-resize #:enable #f)

and see if the crashes go away.  It's likely that what you're
experiencing is a separate problem, but if this does prevent the crashes 
then I do have a quick fix while waiting for a better one.

Thanks,
Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Nov 15 21:20:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA23253
	for scwm-discuss-outgoing; Mon, 15 Nov 1999 21:20:26 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA23250
	for <scwm-discuss@scwm.mit.edu>; Mon, 15 Nov 1999 21:20:20 -0500
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id NAA28318;
	Tue, 16 Nov 1999 13:19:50 +1100
Message-ID: <3830BF45.863A1A79@tech.com.au>
Date: Tue, 16 Nov 1999 13:19:49 +1100
From: Chris <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "Greg J. Badros" <gjb@cs.washington.edu>
CC: scwm-discuss@scwm.mit.edu
Subject: Re: scwm crashing
References: <19991115014741.A28768@ZhengHe.augustin.thierry> <irpuxce03y.fsf@computer.org> <qrr7ljjkap9.fsf@clavicle.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> (message-window-options 'interactive-move #:enable #f)
> (message-window-options 'interactive-resize #:enable #f)

I put these two lines in my .scwmrc, and then fired up scwm. It has
crashed twice in the last 20 minutes.

-- 
Chris Bitmead
mailto:chris@tech.com.au

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov 16 00:09:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA23587
	for scwm-discuss-outgoing; Tue, 16 Nov 1999 00:09:58 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA23584
	for <scwm-discuss@scwm.mit.edu>; Tue, 16 Nov 1999 00:09:52 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id VAA29860;
	Mon, 15 Nov 1999 21:09:37 -0800
To: Chris <chris@tech.com.au>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: scwm crashing
References: <19991115014741.A28768@ZhengHe.augustin.thierry> <irpuxce03y.fsf@computer.org> <qrr7ljjkap9.fsf@clavicle.cs.washington.edu> <3830BF45.863A1A79@tech.com.au>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 15 Nov 1999 21:09:37 -0800
In-Reply-To: Chris's message of "Tue, 16 Nov 1999 13:19:49 +1100"
Message-ID: <qrrso27f2em.fsf@clavicle.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris <chris@tech.com.au> writes:

> > (message-window-options 'interactive-move #:enable #f)
> > (message-window-options 'interactive-resize #:enable #f)
> 
> I put these two lines in my .scwmrc, and then fired up scwm. It has
> crashed twice in the last 20 minutes.

Ok; presumably your windows did not have the message-window pop up with
resizes and moves?

I'll look into the crashing at my earliest free moment (and will happily 
accept patches before then! :-) ).

Thanks for checking,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov 16 05:00:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA26504
	for scwm-discuss-outgoing; Tue, 16 Nov 1999 05:00:33 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA26501
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 16 Nov 1999 05:00:21 -0500
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id KAA02189;
	Tue, 16 Nov 1999 11:00:00 +0100 (MET)
Date: Tue, 16 Nov 1999 10:59:58 +0100
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: Chris <chris@tech.com.au>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
Message-ID: <19991116105957.A1009@youkaidi.irisa.fr>
References: <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <5l7lk45og4.fsf@tequila.cs.yale.edu> <38295C81.28A07CC8@tech.com.au> <ofd7thv4ou.fsf@chl.tbit.dk> <382D4805.3379984E@tech.com.au> <m11mcaI-0004PwC@localhost> <382D7126.CB529015@tech.com.au> <qrr66z6mg8s.fsf@clavicle.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 1.0pre4us
In-Reply-To: <qrr66z6mg8s.fsf@clavicle.cs.washington.edu>; from gjb@cs.washington.edu on Sat, Nov 13, 1999 at 09:52:03AM -0800
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg J. Badros écrivait :
> I'd hate to see someone switch to Enlightenment because of stability
> problems appear to be the results in an install/version-incompatibility
> problem, and not a fundamental weakness of the code.

In fact, I had to switch back to fvwm2 because scwm crashes too often
and I have (real) work to do.

Moreover, the fvwm-modules are still not handled properly : FvwmButtons
swallows other windows when it likes to, apparently in a random
fashion. In particular, the behavior is different at startup or when
using scwmexec/scwmrepl, or for the first time in an X session or
after a crash.


% uname -a
SunOS youkaidi 5.5 Generic_103093-26 sun4m sparc SUNW,SPARCstation-5

% scwm -V
Scwm Version 0.99.5.1 compiled on Oct 29 1999 at 09:38:02
RCS_ID=$Id: scwm.c,v 1.229 1999/10/23 21:24:44 gjb Exp $
Repository Timestamp: Tue Oct 26 14:51:37 EDT 1999 -- $Revision: 1.369 $

% guile -v
Guile 1.3.4

./configure  --prefix=/udd/canon --with-gnu-ld --with-x --disable-esd --disable-esdtest --disable-imlibtest --disable-imlib --without-cassowary --with-gtk-prefix=/usr/local --x-includes=/usr/openwin/include --x-libraries=/usr/openwin/lib



-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov 16 05:23:34 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA26630
	for scwm-discuss-outgoing; Tue, 16 Nov 1999 05:23:34 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA26624
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 16 Nov 1999 05:23:25 -0500
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id VAA31865
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 16 Nov 1999 21:23:18 +1100
Message-ID: <38313096.E36D72D2@tech.com.au>
Date: Tue, 16 Nov 1999 21:23:18 +1100
From: Chris <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
References: <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <5l7lk45og4.fsf@tequila.cs.yale.edu> <38295C81.28A07CC8@tech.com.au> <ofd7thv4ou.fsf@chl.tbit.dk> <382D4805.3379984E@tech.com.au> <m11mcaI-0004PwC@localhost> <382D7126.CB529015@tech.com.au> <qrr66z6mg8s.fsf@clavicle.cs.washington.edu> <19991116105957.A1009@youkaidi.irisa.fr>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> Greg J. Badros écrivait :
> > I'd hate to see someone switch to Enlightenment because of > > stability

Speaking of switching to Enlightenment, when you do this via the gnome
control panel, it gives an error to get rid of scwm saying "window
manager cannot be killed", and instead of switching, scwm restarts.

I know you want to keep your users Greg, but this is not the way :-)
:-).

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov 16 05:44:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA26718
	for scwm-discuss-outgoing; Tue, 16 Nov 1999 05:44:16 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA26715
	for <scwm-discuss@scwm.mit.edu>; Tue, 16 Nov 1999 05:44:05 -0500
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id LAA02669
	for <scwm-discuss@scwm.mit.edu>; Tue, 16 Nov 1999 11:44:01 +0100 (MET)
Date: Tue, 16 Nov 1999 11:44:00 +0100
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: SCWM Discussion Mailing List <scwm-discuss@scwm.mit.edu>
Subject: cvs version problem
Message-ID: <19991116114359.A4433@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre4us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

With a fresh cvs version :

automake: Makefile.am: required file `./README' not found
configure.in: 16: required file `./include/config.h.in' not found


-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov 16 09:51:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA27056
	for scwm-discuss-outgoing; Tue, 16 Nov 1999 09:51:58 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from playground.lan (qmailr@kashyyyk-2-96.mdm.mke.execpc.com [169.207.131.224])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id JAA27053
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 16 Nov 1999 09:51:52 -0500
Received: (qmail 509 invoked by uid 1000); 16 Nov 1999 14:50:23 -0000
Date: 16 Nov 1999 14:50:23 -0000
Message-ID: <19991116145023.508.qmail@playground.lan>
From: "A. P. Garcia" <apg@execpc.com>
To: chris@tech.com.au, scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

> Speaking of switching to Enlightenment, when you do this via the gnome
> control panel, it gives an error to get rid of scwm saying "window
> manager cannot be killed", and instead of switching, scwm restarts.

ah, this helps unravel a mystery for me:  the culprit must be gnome.
gnome could make a landspeeder crash [and burn].

just kidding, of course.  sort of.

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov 16 10:57:05 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA27260
	for scwm-discuss-outgoing; Tue, 16 Nov 1999 10:57:05 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA27257
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 16 Nov 1999 10:57:01 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id HAA32455;
	Tue, 16 Nov 1999 07:56:44 -0800
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
References: <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <5l7lk45og4.fsf@tequila.cs.yale.edu> <38295C81.28A07CC8@tech.com.au> <ofd7thv4ou.fsf@chl.tbit.dk> <382D4805.3379984E@tech.com.au> <m11mcaI-0004PwC@localhost> <382D7126.CB529015@tech.com.au> <qrr66z6mg8s.fsf@clavicle.cs.washington.edu> <19991116105957.A1009@youkaidi.irisa.fr>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 16 Nov 1999 07:56:43 -0800
In-Reply-To: Hubert Canon's message of "Tue, 16 Nov 1999 10:59:58 +0100"
Message-ID: <qrrn1sefn0k.fsf@clavicle.cs.washington.edu>
Lines: 40
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Greg J. Badros écrivait :
> > I'd hate to see someone switch to Enlightenment because of stability
> > problems appear to be the results in an install/version-incompatibility
> > problem, and not a fundamental weakness of the code.
> 
> In fact, I had to switch back to fvwm2 because scwm crashes too often
> and I have (real) work to do.
> 
> Moreover, the fvwm-modules are still not handled properly : FvwmButtons
> swallows other windows when it likes to, apparently in a random
> fashion. In particular, the behavior is different at startup or when
> using scwmexec/scwmrepl, or for the first time in an X session or
> after a crash.
> 
> 
> % uname -a
> SunOS youkaidi 5.5 Generic_103093-26 sun4m sparc SUNW,SPARCstation-5
> 
> % scwm -V
> Scwm Version 0.99.5.1 compiled on Oct 29 1999 at 09:38:02
> RCS_ID=$Id: scwm.c,v 1.229 1999/10/23 21:24:44 gjb Exp $
> Repository Timestamp: Tue Oct 26 14:51:37 EDT 1999 -- $Revision: 1.369 $
> 
> % guile -v
> Guile 1.3.4
> 
> ./configure  --prefix=/udd/canon --with-gnu-ld --with-x --disable-esd --disable-esdtest --disable-imlibtest --disable-imlib --without-cassowary --with-gtk-prefix=/usr/local --x-includes=/usr/openwin/include --x-libraries=/usr/openwin/lib

Thanks for the information.... I'd love to hear reports of people
besides me who have a stable Scwm (and what versions of guile, scwm, OS
they're using).  Please send them just to me and I'll look for a
pattern.

And I'll try to fix the stability issue early next week after my papers
deadline.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov 16 11:14:41 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA27346
	for scwm-discuss-outgoing; Tue, 16 Nov 1999 11:14:41 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA27343
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 16 Nov 1999 11:14:35 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id IAA32506;
	Tue, 16 Nov 1999 08:14:10 -0800
To: Chris <chris@tech.com.au>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
References: <qrr9051lk5j.fsf@elwha.cs.washington.edu> <381BDE4B.A9C3884B@tech.com.au> <qrrwvs4fx9e.fsf@clavicle.cs.washington.edu> <5l7lk45og4.fsf@tequila.cs.yale.edu> <38295C81.28A07CC8@tech.com.au> <ofd7thv4ou.fsf@chl.tbit.dk> <382D4805.3379984E@tech.com.au> <m11mcaI-0004PwC@localhost> <382D7126.CB529015@tech.com.au> <qrr66z6mg8s.fsf@clavicle.cs.washington.edu> <19991116105957.A1009@youkaidi.irisa.fr> <38313096.E36D72D2@tech.com.au>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 16 Nov 1999 08:14:10 -0800
In-Reply-To: Chris's message of "Tue, 16 Nov 1999 21:23:18 +1100"
Message-ID: <qrremdqfm7h.fsf@clavicle.cs.washington.edu>
Lines: 27
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris <chris@tech.com.au> writes:

> > Greg J. Badros écrivait :
> > > I'd hate to see someone switch to Enlightenment because of > > stability
> 
> Speaking of switching to Enlightenment, when you do this via the gnome
> control panel, it gives an error to get rid of scwm saying "window
> manager cannot be killed", and instead of switching, scwm restarts.
> 
> I know you want to keep your users Greg, but this is not the way :-)
> :-).

Exxxx-cellent. :-)

This at least used to work for me (there was a bug in the old Gnome
hints code that I fixed many months ago).

And yes, I definitely want to keep all you folks happy, and feel
terrible about the recent instability problems:  I just have some
incredibly important deadlines that'll slip if I start bug-searching in
Scwm.

I'm saving all these issues to resolve once my time permits again (after 
Monday).

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov 16 13:13:37 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA27590
	for scwm-discuss-outgoing; Tue, 16 Nov 1999 13:13:37 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from thig.blarg.net (root@thig.blarg.net [206.124.128.18])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA27587
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 16 Nov 1999 13:13:31 -0500
Received: from snowball (vp005.atm01.sea.blarg.net [206.124.138.5])
	by thig.blarg.net (8.9.3/8.9.3) with ESMTP id KAA22901;
	Tue, 16 Nov 1999 10:13:26 -0800
Received: by blarg.net
	via sendmail from stdin
	id <m11nn6R-001UilC@snowball> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Tue, 16 Nov 1999 10:13:15 -0800 (PST) 
To: ggt@linuxfan.com
Cc: gjb@cs.washington.edu, scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing - another stack backtrace
References: <m11mvYs-002SukC@zappa.>
From: Eric Hanchrow <offby1@blarg.net>
Date: 16 Nov 1999 10:13:15 -0800
In-Reply-To: ggt@netspace.net.au's message of "Sun, 14 Nov 1999 20:03:02 +1100 (EST)"
Message-ID: <87hfim2tl0.fsf@blarg.net>
Lines: 109
X-Mailer: Gnus v5.6.45/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Here's my latest.  I'd been running scwm on and off for a few days
with no trouble until now.  I was in the middle of a spell check with
Ispell in Emacs.

Current directory is ~/
GNU gdb 4.17.m68k.objc.threads.hwwp.fpu.gnat
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-pc-linux-gnu"...
(gdb) core core
Core was generated by `scwm --segv-reset-count 0'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/X11R6/lib/libXtst.so.6...done.
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /usr/local/lib/libguile.so.6...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /usr/local/lib/scwm/modules/app/scwm/libc-animation.so.0...done.
Reading symbols from /usr/local/lib/scwm/modules/app/scwm/libxlib-drawing.so.0...done.
Reading symbols from /usr/local/lib/libguiledlopenhelper.so...done.
Reading symbols from /usr/local/lib/libguilegtk-1.2.so...done.
Reading symbols from /usr/local/lib/libgtk-1.2.so.0...done.
Reading symbols from /usr/local/lib/libgdk-1.2.so.0...done.
Reading symbols from /usr/local/lib/libgmodule-1.2.so.0...done.
Reading symbols from /usr/local/lib/libglib-1.2.so.0...done.
Reading symbols from /lib/libnss_compat.so.1...done.
Reading symbols from /lib/libnsl.so.1...done.
Reading symbols from /lib/libnss_files.so.1...done.
Reading symbols from /usr/local/lib/scwm/modules/app/scwm/libscwmgtkhelper.so.0...done.
Reading symbols from /usr/local/lib/scwm/modules/app/scwm/libbackground.so.0... done.
Reading symbols from /usr/local/lib/scwm/modules/app/scwm/libscwmxtest.so.0... done.
Reading symbols from /lib/libnss_dns.so.1...done.
Reading symbols from /lib/libresolv.so.2...done.
#0  0x401ad601 in kill ()
(gdb) where
#0  0x401ad601 in kill ()
#1  0x401ad42f in gsignal ()
#2  0x401ae64f in abort ()
#3  0x4012f0a0 in scm_igc (what=0x8089ce6 "inferior root continuation")
    at gc.c:468
#4  0x40130639 in scm_must_malloc (size=176, 
    what=0x8089ce6 "inferior root continuation") at gc.c:1447
#5  0x806b7c5 in scm_internal_cwdr_no_unwind (body=0x805eb00 <cwssdr_body>, 
    body_data=0xbffff3b4, handler=0x805f150 <scwm_handle_error>, 
    handler_data=0x8088996, stack_start=0xbffff3e0) at guile-compat.c:84
#6  0x805eb58 in scm_internal_stack_cwdr (body=0x805eae0 <scwm_body_apply>, 
    body_data=0xbffff3e4, handler=0x805f150 <scwm_handle_error>, 
    handler_data=0x8088996, stack_item=0xbffff3e0) at callbacks.c:127
#7  0x805eb9e in scwm_safe_apply (proc=1076359968, args=1078464528)
    at callbacks.c:187
#8  0x805ec63 in scwm_run_hook (hook=1076558808, args=1078464576)
    at callbacks.c:316
#9  0x807374a in BroadcastName (event_type=131072, data1=0, data2=0, data3=0, 
    szName=0x81e3e40 "[Scwm][SigDoneSegv]: <<ERROR>> Doing some cleanup to restore sanity\n") at module-interface.c:111
#10 0x807ac9a in scwm_msg (type=ERR, id=0x808cd89 "SigDoneSegv", 
    msg=0x808cd95 "Doing some cleanup to restore sanity") at scwm.c:1793
#11 0x807a818 in SigDoneSegv (ignored_ignore=11) at scwm.c:1554
#12 <signal handler called>
#13 0x401c8000 in   ()
#14 0x4012f864 in scm_gc_mark (p=1078695120) at gc.c:872
#15 0x4012f58b in scm_gc_mark (p=1078695104) at gc.c:704
#16 0x4012f153 in scm_igc (what=0x8089ce6 "inferior root continuation")
    at gc.c:564
#17 0x40130639 in scm_must_malloc (size=176, 
    what=0x8089ce6 "inferior root continuation") at gc.c:1447
#18 0x806b7c5 in scm_internal_cwdr_no_unwind (body=0x805eb00 <cwssdr_body>, 
    body_data=0xbffff674, handler=0x805f150 <scwm_handle_error>, 
    handler_data=0x8088996, stack_start=0xbffff6a0) at guile-compat.c:84
#19 0x805eb58 in scm_internal_stack_cwdr (body=0x805eae0 <scwm_body_apply>, 
    body_data=0xbffff6a4, handler=0x805f150 <scwm_handle_error>, 
    handler_data=0x8088996, stack_item=0xbffff6a0) at callbacks.c:127
#20 0x805eb9e in scwm_safe_apply (proc=1078731856, args=10612)
    at callbacks.c:187
#21 0x805ec01 in scwm_safe_call0 (thunk=1078731856) at callbacks.c:222
#22 0x805f65b in run_timed_out_timers () at callbacks.c:870
#23 0x80681e9 in NoEventsScwmUpdate (fNoBlock=0) at events.c:1997
#24 0x80682a8 in NextScwmEvent (dpy=0x80b0648, event=0x8090694, fNoBlock=0)
    at events.c:2052
#25 0x8065aa0 in HandleEvents () at events.c:324
#26 0x807a013 in scwm_main (argc=3, argv=0xbffffc94) at scwm.c:1217
#27 0x4013317d in gh_launch_pad (closure=0x8079360, argc=3, argv=0xbffffc94)
    at gh_init.c:60
#28 0x401360f9 in invoke_main_func (body_data=0xbffffc38) at init.c:571
#29 0x40162813 in scm_internal_lazy_catch (tag=9076, 
    body=0x401360d0 <invoke_main_func>, body_data=0xbffffc38, 
    handler=0x40162b60 <scm_handle_by_message>, handler_data=0x0)
    at throw.c:310
#30 0x4013609e in scm_boot_guile_1 (base=0xbffffc34, closure=0xbffffc38)
    at init.c:545
#31 0x40135e09 in scm_boot_guile (argc=3, argv=0xbffffc94, 
    main_func=0x40133160 <gh_launch_pad>, closure=0x8079360) at init.c:405
#32 0x401331b8 in gh_enter (argc=3, argv=0xbffffc94, 
    c_main_prog=0x8079360 <scwm_main>) at gh_init.c:70
#33 0x8079355 in main (argc=3, argv=0xbffffc94) at scwm.c:589
(gdb) quit

Debugger finished

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Nov 18 01:39:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA32693
	for scwm-discuss-outgoing; Thu, 18 Nov 1999 01:39:16 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from motgate.mot.com (motgate.mot.com [129.188.136.100])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA32690
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 18 Nov 1999 01:39:07 -0500
Received: [from mothost.mot.com (mothost.mot.com [129.188.137.101]) by motgate.mot.com (MOT-motgate 1.0) with ESMTP id AAA26843 for <scwm-discuss@SCWM.MIT.EDU>; Thu, 18 Nov 1999 00:38:58 -0600 (CST)]
Received: [from msghkg1.sps.mot.com (msghkg1.sps.mot.com [216.17.115.1]) by mothost.mot.com (MOT-mothost 2.0) with ESMTP id AAA15881 for <scwm-discuss@SCWM.MIT.EDU>; Thu, 18 Nov 1999 00:38:57 -0600 (CST)]
Received: from india56.email.sps.mot.com ([223.1.236.56])          by msghkg1.sps.mot.com (Netscape Messaging Server 3.61)           with ESMTP id AAA193F; Thu, 18 Nov 1999 14:38:52 +0800
X-Mailer: emacs 20.4.1 (via feedmail 9-beta-5 I)
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: Francois-Rene Rideau <fare@tunes.org>, Chris <chris@tech.com.au>,
        scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
References: <qrr7ljjkap9.fsf@clavicle.cs.washington.edu>
Organization: Motorola India Ltd
From: Puneet Goel <puneet@computer.org>
In-Reply-To: "Greg J. Badros"'s message of "Mon, 15 Nov 1999 08:59:25 MST"
Date: 18 Nov 1999 12:10:55 +0530
Message-ID: <irzowcgv48.fsf@computer.org>
Lines: 55
User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Now I am run netscape on some other machine on the network with the
DISPLAY set to my monitor. It does not seem to make much difference in
the frequency of the crashes. It seems that what matters is the number
of windows SCWM has to manage. (and may be the cpu/memory resource
available).

For me SCWM crashes mostly when I either kill a window or am moving
one.

- regards
  
>>>>> "GJB" == Greg J Badros <gjb@cs.washington.edu> writes:

    GJB> Puneet Goel <puneet@computer.org> writes:
    >> Francois-Rene Rideau <fare@tunes.org> writes:
    >> 
    >> > On Sun, Nov 14, 1999 at 03:40:36PM +1100, Chris wrote:
    >> > > Well I'm running a PIII 500. BTW, the main app I'm always running is
    >> > > Netscape, so my best suggestion to reproduce it is surf.
    >> > In my experience, the scwm memory leak gets much worse
    >> > in presence of netscape. Thanks to my additional hundred MB of swap,
    >> > I can survive a few more hours.
    >> > 
    >> 
    >> I am running scwm on a sun sparc ultra 60. My experience is that it
    >> crashes more when the machine is heavily loaded by other jobs (may not
    >> be netscape!). These days my machine is not much loaded, so I have not
    >> had a crash for around a week!

    GJB> This is definitely some sort of race condition.  I think I've enough to
    GJB> reproduce it.  I'm actually aware of one race condition involving
    GJB> message windows that I have a (not perfect because it breaks modularity) 
    GJB> patch for.  Can you folks try using:

    GJB> (message-window-options 'interactive-move #:enable #f)
    GJB> (message-window-options 'interactive-resize #:enable #f)

    GJB> and see if the crashes go away.  It's likely that what you're
    GJB> experiencing is a separate problem, but if this does prevent the crashes 
    GJB> then I do have a quick fix while waiting for a better one.

    GJB> Thanks,
    GJB> Greg


-- 
Puneet Goel
email - puneet at computer period org
home  -          (91)124-335056
work  -          (91)124-340660 x 272
--
Man barricades against himself.
- Rabindranath Tagore (Stray Birds)
--


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Nov 18 11:54:53 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA03059
	for scwm-discuss-outgoing; Thu, 18 Nov 1999 11:54:53 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA03056
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 18 Nov 1999 11:54:49 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id IAA09767;
	Thu, 18 Nov 1999 08:54:41 -0800
To: Puneet Goel <puneet@computer.org>
Cc: Francois-Rene Rideau <fare@tunes.org>, Chris <chris@tech.com.au>,
        scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
References: <qrr7ljjkap9.fsf@clavicle.cs.washington.edu> <irzowcgv48.fsf@computer.org>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 18 Nov 1999 08:54:41 -0800
In-Reply-To: Puneet Goel's message of "18 Nov 1999 12:10:55 +0530"
Message-ID: <qrrbt8rbuzy.fsf@clavicle.cs.washington.edu>
Lines: 14
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Puneet Goel <puneet@computer.org> writes:

> Now I am run netscape on some other machine on the network with the
> DISPLAY set to my monitor. It does not seem to make much difference in
> the frequency of the crashes. It seems that what matters is the number
> of windows SCWM has to manage. (and may be the cpu/memory resource
> available).
> 
> For me SCWM crashes mostly when I either kill a window or am moving
> one.

Thanks for this-- it'll be helpful as I try to reproduce the problem.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Nov 22 18:03:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA20034
	for scwm-discuss-outgoing; Mon, 22 Nov 1999 18:03:32 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from news.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA20031
	for <scwm-discuss@scwm.mit.edu>; Mon, 22 Nov 1999 18:03:27 -0500
Received: from mizar (r2p022.ntt.it [194.73.94.150]) by news.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id AAA11486 for <scwm-discuss@scwm.mit.edu>; Tue, 23 Nov 1999 00:03:51 +0100 (NFT)
Received: from cesco by mizar with local (Exim 3.03 #1 (Debian))
	id 11q21k-0000a6-00
	for <scwm-discuss@scwm.mit.edu>; Mon, 22 Nov 1999 23:33:40 +0100
Date: Mon, 22 Nov 1999 23:33:40 +0100
From: Francesco Tapparo <cesco@ntt.it>
To: scwm-discuss@scwm.mit.edu
Subject: problems reading modules
Message-ID: <19991122233340.A2225@mizar>
Reply-To: cesco@debian.org
Mail-Followup-To: scwm-discuss@scwm.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I did a module applications.scm, then I put it in
/home/cesco/.scwm/ (in this directory there are 3 links from app, modules
and scwm to ".").
The I put the following in my .scwmrc:

(setenv "SCWM_LOAD_PATH" (string-append "/usr/share/scwm/modules/:"
					(getenv "HOME")
					"/.scwm/modules/"))
					
  .....

(use-scwm-modules defoption optargs primopts 
		  describe task-switcher
.....
		  applications
		  )


But when I start scwm, it complain that it can't find the module
applications, and the variables in the module are not loaded.

the is the beginning of the module:

(define-module (app scwm applications))

(define-public applications-available-program-information
  "applications list"
  `(
    ("&Netscape" "nscape" "netscape_3d" "netscape")
    ("GNU &Emacs" "edit" "emacs_3d" "xemacs")
    ("Email (&Gnus)" #f #f "emailuw")
.......

Of course I'm doing something wrong, but what?

cheers

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov 23 15:33:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA24860
	for scwm-discuss-outgoing; Tue, 23 Nov 1999 15:33:11 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA24857
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 23 Nov 1999 15:33:07 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id MAA29798;
	Tue, 23 Nov 1999 12:32:46 -0800
To: cesco@debian.org
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: problems reading modules
References: <19991122233340.A2225@mizar>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 23 Nov 1999 12:32:45 -0800
In-Reply-To: Francesco Tapparo's message of "Mon, 22 Nov 1999 23:33:40 +0100"
Message-ID: <qrrk8n9ymmq.fsf@clavicle.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francesco Tapparo <cesco@ntt.it> writes:

> I did a module applications.scm, then I put it in
> /home/cesco/.scwm/ (in this directory there are 3 links from app, modules
> and scwm to ".").
> The I put the following in my .scwmrc:
> 
> (setenv "SCWM_LOAD_PATH" (string-append "/usr/share/scwm/modules/:"
> 					(getenv "HOME")
> 					"/.scwm/modules/"))

The SCWM_LOAD_PATH environment variable is only used at startup time to
initialize the %load-path Guile variable.  You should edit this directly 
using, e.g.,

(set! %load-path (cons (string-append (getenv "HOME") "/.scwm/modules") %load-path))

or 

(append! %load-path (list (string-append (getenv "HOME") "/.scwm/modules")))

[a module to define path-append, path-prepend and other utility
functions for image-load-path, %load-path, and other Guile path
variables would be a nice contribution].

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov 23 16:14:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA25346
	for scwm-discuss-outgoing; Tue, 23 Nov 1999 16:14:51 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA25341
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 23 Nov 1999 16:14:45 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id NAA29968;
	Tue, 23 Nov 1999 13:14:29 -0800
To: Francois-Rene Rideau <fare@tunes.org>
Cc: SCWM Discussion <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: load won't work under scwm???
References: <19991111132144.A23701@ZhengHe.augustin.thierry>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 23 Nov 1999 13:14:29 -0800
In-Reply-To: Francois-Rene Rideau's message of "Thu, 11 Nov 1999 13:21:44 +0100"
Message-ID: <qrr903ozz9m.fsf@clavicle.cs.washington.edu>
Lines: 25
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> Dear SCWM developers,
>    for a few months, I've been unable to upgrade to a new SCWM from either
> CVS (any release I tried from september to this week) or Debian (0.99.5.1),
> and have my configuration working. I get no error message (except from
> winops.scm not finding anchor.xpm; wierd; would it perchance choke on my
> stow-generated symbolic links?). Indeed, it looks like the various files
> my .scwmrc loads have strictly no effect whatsoever.
> Is (load) deprecated in scwm? It works well in GUILE.

load should work fine.

You should perhaps read the NEWS file and update your configuration for
some of the changes made to primitives.  Beware that if there are any
errors in loading a module that that module's definitions may not be
available to other modules that use the module.  This can cause all
sorts of things to go wrong.

<snip>

Consider also using strace to watch which files scwm tries to open and
verify that it's actually reading the files you think it is.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov 23 16:41:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA25501
	for scwm-discuss-outgoing; Tue, 23 Nov 1999 16:41:10 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA25497
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 23 Nov 1999 16:41:05 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id NAA30150;
	Tue, 23 Nov 1999 13:40:54 -0800
To: Michael Schmitz <mschmitz@sema.de>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: two little problems with SCWM
References: <199911112000.UAA22633@rm400.sema.de>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 23 Nov 1999 13:40:54 -0800
In-Reply-To: Michael Schmitz's message of "Thu, 11 Nov 1999 20:00:42 GMT"
Message-ID: <qrrwvr8yjh5.fsf@clavicle.cs.washington.edu>
Lines: 111
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Michael Schmitz <mschmitz@sema.de> writes:

> Hello all!
> 
> I'm new to SCWM, so please forbear with me (is this correct, I don't
> know).
> 
> I played around with the system.scwmrc that came with the
> scwm-0.99.5.1 rpm in the past few days.
> 
> The favorite host menu stuff is nice, but I wanted to include a menu
> for opening a terminal with a different account. So I changed
> make-hosts-menu to
> 
> (define* (make-hosts-menu hosts #&optional (user (user-name)))
>   (cons menu-separator
> 	(fold-menu-list
> 	 (map
> 	  (lambda (elem)
> 	    (menuitem elem
> 		      #:image-left "mini-display.xpm"
> 		      #:action (lambda () (open-xterm-other-host elem user))))
> 	  hosts))))

When you write that you changed it, did you change it in std-menus.scm,
or just eval the above expression?  Perhaps the wrong make-hosts-menu is 
being invoked?

> and added a definition for open-xterm-other-host (based on
> xterm-other-host from base.scm)
> 
> (define* (open-xterm-other-host hostname user)
>   (execute (string-append (optget *xterm-command*)
>                       " -name remotexterm -T " hostname " -n " hostname
>                       " -e sh -c '" (string-append "rlogin -l " user " ")
>                       hostname "'")))
> 
> The functions for constructing the popup menus look like the
> following:
> 
> (define (menu-hosts-favorite)
>   (menu (cons
> 	 (menu-title "Hosts (Favorite)") 
> 	 (make-hosts-menu favorite-hosts "redoek"))))
> 
> (define (menu-hosts-other)
>   (menu (cons
> 	 (menu-title "Hosts (Other)") 
> 	 (make-hosts-menu other-hosts))))
> 
> Unfortunately open-xterm-other-host is always passed my $LOGNAME, even
> if called via the "Hosts (Favorite)" menu. Why?
> 
> I changed make-hosts-menu to
> 
> (define* (make-hosts-menu hosts #&optional (user (user-name)))
>   (cons menu-separator
> 	(fold-menu-list
> 	 (map
> 	  (lambda (elem)
> 	    (menuitem user #:action noop))
> 	  hosts))))
> 
> What I get now is a "Hosts (Favorite)" menu with lots of items named
> "$LOGNAME". Ok, this is no surprise, but I don't understand why this
> happens.

What does `(user-name)' evaluate to?  Try doing:

echo $USER

from a shell and see what you get -- perhaps it's being initialized
incorrectly?

> 
> The second point I don't understand concerns open-xterm-other-host. If
> I substitute "execute" with "exe" (which is used in xterm-other-host),
> no processes is started at all.

`exe' returns a procedure that executes a command;  `execute' just runs that
command (`exe' in fact uses `execute').  If you want to use `exe' in
open-xterm-other-host, then you need to not enclose it in another lambda 
inside the body of make-hosts-menu.  I.e., you'd have to switch to:

#:action (open-xterm-other-host elem user)

instead of:

#:action (lambda () (open-xterm-other-host elem user))

since the latter just runs a lambda that creates the procedure you are hoping
will be executed.

You might want to try:

(define* (make-hosts-menu hosts #&optional (user (user-name)))
  (cons menu-separator
	(fold-menu-list
	 (map
	  (lambda (elem)
	    (menuitem (string-append elem " as " user)
		      #:image-left "mini-display.xpm"
		      #:action (open-xterm-other-host elem user)))
	  hosts))))

with using `exe' in open-xterm-other-host, and see how that works for
you.

I hope that helps.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Nov 24 00:56:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA26452
	for scwm-discuss-outgoing; Wed, 24 Nov 1999 00:56:57 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from grandmal.postalmodern.com (root@[216.161.55.188])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA26449
	for <scwm-discuss@scwm.mit.edu>; Wed, 24 Nov 1999 00:56:53 -0500
Received: from disposable.com (SClebsch-DSL1.Stanford.EDU [171.66.195.50])
	by grandmal.postalmodern.com (8.9.3/8.9.3) with ESMTP id VAA21587;
	Tue, 23 Nov 1999 21:39:43 -0800
Message-ID: <383ACC60.E2B38EF3@disposable.com>
Date: Tue, 23 Nov 1999 09:18:24 -0800
From: Jason Kirtland <jason@disposable.com>
X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.5-15 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
CC: cesco@debian.org
Subject: Re: problems reading modules
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

> I did a module applications.scm, then I put it in
> /home/cesco/.scwm/ (in this directory there are 3 links from app, modules
> and scwm to ".").
> The I put the following in my .scwmrc:
> 
> (setenv "SCWM_LOAD_PATH" (string-append "/usr/share/scwm/modules/:"
>                                         (getenv "HOME")
>                                         "/.scwm/modules/"))
>                       

I suspect that scwm might not be examining the environment variable
for updates after it has started processing .scwmrc.  I've had good
luck with this:

(set! %load-path (cons 
                  (string-append (getenv "HOME") "/lib/scwm-modules/")
                  %load-path))

The only strange behaviour I've noticed is with GTK-using modules, which
don't seem to run from .scwmrc at all until scwm is fully loaded. 
(e.g.,
a boot progress bar)

-=j

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Nov 24 07:36:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA29505
	for scwm-discuss-outgoing; Wed, 24 Nov 1999 07:36:19 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from igate.sema.de (in-proxy.sema.de [194.123.157.114])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA29502
	for <scwm-discuss@scwm.mit.edu>; Wed, 24 Nov 1999 07:35:52 -0500
Received: from rm400.sema.de (rm400.sema.de [192.168.70.31])
	by igate.sema.de (8.8.8/8.8.8) with ESMTP id NAA21740
	for <scwm-discuss@scwm.mit.edu>; Wed, 24 Nov 1999 13:35:39 +0100
Received: (from mschmitz@localhost)
	by rm400.sema.de (8.8.8/8.8.8) id MAA29678;
	Wed, 24 Nov 1999 12:18:22 GMT
Date: Wed, 24 Nov 1999 12:18:22 GMT
Message-Id: <199911241218.MAA29678@rm400.sema.de>
From: Michael Schmitz <mschmitz@sema.de>
To: SCWM Discussion List <scwm-discuss@scwm.mit.edu>
Subject: Re: two little problems with SCWM
In-Reply-To: <qrrwvr8yjh5.fsf@clavicle.cs.washington.edu>
References: <199911112000.UAA22633@rm400.sema.de>
	<qrrwvr8yjh5.fsf@clavicle.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Hello all!

First of all: It works! I'm sure I changed something, but I don't know
what.

>>>>> "Greg" == Greg J Badros <gjb@cs.washington.edu> writes:

    Greg> Michael Schmitz <mschmitz@sema.de> writes:
    >> Hello all!
    >> 
    >> I'm new to SCWM, so please forbear with me (is this correct, I don't
    >> know).
    >> 
    >> I played around with the system.scwmrc that came with the
    >> scwm-0.99.5.1 rpm in the past few days.
    >> 
    >> The favorite host menu stuff is nice, but I wanted to include a menu
    >> for opening a terminal with a different account. So I changed
    >> make-hosts-menu to
    >> 
    >> (define* (make-hosts-menu hosts #&optional (user (user-name)))
    >> (cons menu-separator
    >> (fold-menu-list
    >> (map
    >> (lambda (elem)
    >> (menuitem elem
    >> #:image-left "mini-display.xpm"
    >> #:action (lambda () (open-xterm-other-host elem user))))
    >> hosts))))

    Greg> When you write that you changed it, did you change it in
    Greg> std-menus.scm, or just eval the above expression?  Perhaps
    Greg> the wrong make-hosts-menu is being invoked?

I copied the function from std-menus into my .scwmrc and changed it
there, but I'm (almost) sure my local version has been taken since I
managed to get a menu which contained the user names instead of the
hosts (I used the definition below).

    >> and added a definition for open-xterm-other-host (based on
    >> xterm-other-host from base.scm)
    >> 
    >> (define* (open-xterm-other-host hostname user)
    >> (execute (string-append (optget *xterm-command*)
    >> " -name remotexterm -T " hostname " -n " hostname
    >> " -e sh -c '" (string-append "rlogin -l " user " ")
    >> hostname "'")))
    >> 
    >> The functions for constructing the popup menus look like the
    >> following:
    >> 
    >> (define (menu-hosts-favorite)
    >> (menu (cons
    >> (menu-title "Hosts (Favorite)") 
    >> (make-hosts-menu favorite-hosts "redoek"))))
    >> 
    >> (define (menu-hosts-other)
    >> (menu (cons
    >> (menu-title "Hosts (Other)") 
    >> (make-hosts-menu other-hosts))))
    >> 
    >> Unfortunately open-xterm-other-host is always passed my $LOGNAME, even
    >> if called via the "Hosts (Favorite)" menu. Why?
    >> 
    >> I changed make-hosts-menu to
    >> 
    >> (define* (make-hosts-menu hosts #&optional (user (user-name)))
    >> (cons menu-separator
    >> (fold-menu-list
    >> (map
    >> (lambda (elem)
    >> (menuitem user #:action noop))
    >> hosts))))
    >> 
    >> What I get now is a "Hosts (Favorite)" menu with lots of items named
    >> "$LOGNAME". Ok, this is no surprise, but I don't understand why this
    >> happens.

    Greg> What does `(user-name)' evaluate to?  Try doing:

    Greg> echo $USER

    Greg> from a shell and see what you get -- perhaps it's being initialized
    Greg> incorrectly?

No (user-name) evaluated to "mschmitz".

    >> 
    >> The second point I don't understand concerns open-xterm-other-host. If
    >> I substitute "execute" with "exe" (which is used in xterm-other-host),
    >> no processes is started at all.

    Greg> `exe' returns a procedure that executes a command; `execute'
    Greg> just runs that command (`exe' in fact uses `execute').  If
    Greg> you want to use `exe' in open-xterm-other-host, then you
    Greg> need to not enclose it in another lambda inside the body of
    Greg> make-hosts-menu.  I.e., you'd have to switch to:

    Greg> #:action (open-xterm-other-host elem user)

    Greg> instead of:

    Greg> #:action (lambda () (open-xterm-other-host elem user))

    Greg> since the latter just runs a lambda that creates the
    Greg> procedure you are hoping will be executed.

    Greg> You might want to try:

    Greg> (define* (make-hosts-menu hosts #&optional (user (user-name)))
    Greg>   (cons menu-separator
    Greg> 	(fold-menu-list
    Greg> 	 (map
    Greg> 	  (lambda (elem)
    Greg> 	    (menuitem (string-append elem " as " user)
    Greg> 		      #:image-left "mini-display.xpm"
    Greg> 		      #:action (open-xterm-other-host elem user)))
    Greg> 	  hosts))))

    Greg> with using `exe' in open-xterm-other-host, and see how that
    Greg> works for you.

Yes I could, but I have a little function menu-hosts-favorite, that
places the menuitems in a submenu for each user. Nevertheless, your
information on the difference between execute and exe helped me to
solve problem. I can now have a small wrapper around the
xterm-other-host (from base.scm) and don't need a xterm-other-host
clone.

Thanks,
Michael.

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Nov 24 08:37:35 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id IAA29662
	for scwm-discuss-outgoing; Wed, 24 Nov 1999 08:37:35 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id IAA29659
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 24 Nov 1999 08:37:24 -0500
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id OAA15697
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 24 Nov 1999 14:37:07 +0100 (MET)
Date: Wed, 24 Nov 1999 14:37:06 +0100
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: cvs version problem
Message-ID: <19991124143706.A10618@youkaidi.irisa.fr>
References: <19991116114359.A4433@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre4us
In-Reply-To: <19991116114359.A4433@youkaidi.irisa.fr>; from Hubert.Canon@irisa.fr on Tue, Nov 16, 1999 at 11:44:00AM +0100
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

With a fresh cvs version :

% scwm -V
Scwm Version 0.99.5.1 compiled on Nov 24 1999 at 10:18:39
RCS_ID=$Id: scwm.c,v 1.230 1999/11/23 22:16:45 gjb Exp $
Repository Timestamp: Tue Nov 23 18:09:33 EST 1999 -- $Revision: 1.404 $
% scwm -f /dev/null
% scwmexec '(use-scwm-modules winops)'
Error loading module: (app scwm winops)
ERROR: Unbound variable: make-toggling-winop

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Nov 24 10:37:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA29865
	for scwm-discuss-outgoing; Wed, 24 Nov 1999 10:37:21 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA29862
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 24 Nov 1999 10:36:48 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id HAA06042;
	Wed, 24 Nov 1999 07:36:10 -0800
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: cvs version problem
References: <19991116114359.A4433@youkaidi.irisa.fr> <19991124143706.A10618@youkaidi.irisa.fr>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 24 Nov 1999 07:36:10 -0800
In-Reply-To: Hubert Canon's message of "Wed, 24 Nov 1999 14:37:06 +0100"
Message-ID: <qrrvh6rx5p1.fsf@clavicle.cs.washington.edu>
Lines: 23
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> With a fresh cvs version :
> 
> % scwm -V
> Scwm Version 0.99.5.1 compiled on Nov 24 1999 at 10:18:39
> RCS_ID=$Id: scwm.c,v 1.230 1999/11/23 22:16:45 gjb Exp $
> Repository Timestamp: Tue Nov 23 18:09:33 EST 1999 -- $Revision: 1.404 $
> % scwm -f /dev/null
> % scwmexec '(use-scwm-modules winops)'
> Error loading module: (app scwm winops)
> ERROR: Unbound variable: make-toggling-winop

Thanks;  this was due to a cyclic dependence.  I can't remember what the 
guile folks said about modules with cyclic dependencies, but it seems
like it should be possible to do the right thing w/o my having to be
really careful to avoid cycles.

Here, I just removed the unneeded dependence of winops.scm on
animation.scm, and it now loads for me in a scwm -f /dev/null.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Nov 24 11:29:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA30241
	for scwm-discuss-outgoing; Wed, 24 Nov 1999 11:29:23 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA30238
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 24 Nov 1999 11:29:03 -0500
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id RAA17871
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 24 Nov 1999 17:28:57 +0100 (MET)
Date: Wed, 24 Nov 1999 17:28:56 +0100
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: scwm-discuss@SCWM.MIT.EDU
Subject: Hint : fvwm-eval.scm, module
Message-ID: <19991124172856.A10989@youkaidi.irisa.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre4us
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

My problem with FvwmButton was that it tried to execute the fvwm2
command "Module" which is not supported by fvwm-eval.scm .

I tried to understand what was in  fvwm-eval.scm, and I thought that
something like that could do the trick :

(define-fvwm-command "Module"
  (let ((module-name (get-one-string-arg args)))
    (run-fvwm2-module module-name)))

Or for module with arguments :

(define-fvwm-command "Module"
  (let ((module-name (get-one-string-arg args)))
    (... here I try to read the other arguments ...
       (run-fvwm2-module module-name))))


      

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Nov 24 13:54:48 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA30538
	for scwm-discuss-outgoing; Wed, 24 Nov 1999 13:54:48 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from igate.sema.de (in-proxy.sema.de [194.123.157.114])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA30535
	for <scwm-discuss@scwm.mit.edu>; Wed, 24 Nov 1999 13:54:42 -0500
Received: from rm400.sema.de (rm400.sema.de [192.168.70.31])
	by igate.sema.de (8.8.8/8.8.8) with ESMTP id TAA02097
	for <scwm-discuss@scwm.mit.edu>; Wed, 24 Nov 1999 19:54:25 +0100
Received: (from mschmitz@localhost)
	by rm400.sema.de (8.8.8/8.8.8) id SAA17235;
	Wed, 24 Nov 1999 18:37:10 GMT
Date: Wed, 24 Nov 1999 18:37:10 GMT
Message-Id: <199911241837.SAA17235@rm400.sema.de>
From: Michael Schmitz <mschmitz@sema.de>
To: scwm-discuss@scwm.mit.edu
Subject: images and menu titles
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Hello all!

Is there something wrong with?

	(popup-menu
	 (menu (list (menu-title "TEST"
	                         #:image-left "mini-folder.xpm"))))

The image is not displayed.

Michael.

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Nov 24 15:42:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA30843
	for scwm-discuss-outgoing; Wed, 24 Nov 1999 15:42:57 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA30840
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 24 Nov 1999 15:42:52 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id MAA17426;
	Wed, 24 Nov 1999 12:42:38 -0800
To: Michael Schmitz <mschmitz@sema.de>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: images and menu titles
References: <199911241837.SAA17235@rm400.sema.de>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 24 Nov 1999 12:42:37 -0800
In-Reply-To: Michael Schmitz's message of "Wed, 24 Nov 1999 18:37:10 GMT"
Message-ID: <qrrn1s3vcxu.fsf@clavicle.cs.washington.edu>
Lines: 29
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Michael Schmitz <mschmitz@sema.de> writes:

> Hello all!
> 
> Is there something wrong with?
> 
> 	(popup-menu
> 	 (menu (list (menu-title "TEST"
> 	                         #:image-left "mini-folder.xpm"))))
> 

Nope;  looks good, but there was a long-standing bug in base.scm that
this uncovered.  Thanks!  Below is the patch I made.

Greg


--- base.scm	1999/10/29 18:49:06	1.137
+++ base.scm	1999/11/24 20:42:20
@@ -450,7 +450,7 @@ JUSTIFY is a legal argument to `set-titl
 All arguments that `menuitem' takes are accepted as usual,
 except the font defaults to `*menu-title-font*' instead of
 `*menu-font*'."
-  (apply menuitem (append (list label #:font 'menu-title-font rest))))
+  (apply menuitem (append (list label #:font 'menu-title-font) rest)))
 
 (define*-public (menuitem label #&key image-above image-left
 			  (fg #f) (bg #f) (font #f)


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Nov 25 08:21:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id IAA02072
	for scwm-discuss-outgoing; Thu, 25 Nov 1999 08:21:00 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id IAA02069
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 25 Nov 1999 08:20:55 -0500
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id OAA03902;
	Thu, 25 Nov 1999 14:20:48 +0100 (MET)
Date: Thu, 25 Nov 1999 14:20:48 +0100
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: FvwmButtons strange behaviour
Message-ID: <19991125142047.D15780@youkaidi.irisa.fr>
References: <19991029113128.A22915@youkaidi.irisa.fr> <qrrd7tyghsp.fsf@clavicle.cs.washington.edu> <19991104141953.B10052@youkaidi.irisa.fr> <19991108185317.A9414@youkaidi.irisa.fr> <19991109111521.A1925@youkaidi.irisa.fr> <qrrzownqo5a.fsf@clavicle.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 1.0pre4us
In-Reply-To: <qrrzownqo5a.fsf@clavicle.cs.washington.edu>; from gjb@cs.washington.edu on Tue, Nov 09, 1999 at 02:46:25PM -0800
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg J. Badros écrivait :
> Hubert Canon <Hubert.Canon@irisa.fr> writes:
> > Good news : my FvwmBuutons now works with scwm-0.99.5.1 as before. I
> > swithced to fvwm-2.2.2 and corrected some syntax bits in fvwm2rc, and
> > strangely it works.
> > 
> > I can now switch to scwm-0.99.5.1
> 
> Great-- thanks for the report!

I am sorry, but I think I rejoiced too quickly.

In fact (with scwm-0.99.5.1 and with the CVS version) the behaviour is
different at startup and after.

When I put these lines in my .scwmrc, the pager, the clock and the
xload are not swallowed :

(use-scwm-modules fvwm-module)

(register-fvwm2-module-config
 "FvwmPager"
 "*FvwmPagerBack lightsteelblue"
 "*FvwmPagerFore black"
 "*FvwmPagerHilight moccasin"
 "*FvwmPagerFont none"
 "*FvwmPagerDeskTopScale 32"
 "*FvwmPagerGeometry 156x58-440-0"
 "*FvwmPagerLabel 0 Bureau"
 "*FvwmPagerSmallFont 5x8"
)

(register-fvwm2-module-config
 "FvwmButtons"
"*FvwmButtonsFore Black"
"*FvwmButtonsBack Lightsteelblue"
"*FvwmButtonsFont -adobe-helvetica-medium-r-*-*-8-*-*-*-*-50-iso8859-1"
"*FvwmButtonsGeometry -0-0"
"*FvwmButtonsRows 1"
"*FvwmButtons(4x1, Swallow FvwmPager 'Module FvwmPager 0 0')"
"*FvwmButtons(1x1, Title xterm, \
                  Icon bouton-xterm.xpm, \
                  Action 'Exec \"XTerm\" xterm-')"
"*FvwmButtons(1x1, Title emacs, \
                  Icon lemacs.xpm, \
                  Action 'Exec \"Emacs\" emacs-serv')"
"*FvwmButtons(1x1, Title netscape, \
                  Icon mag_glass.xpm, \
                  Action 'Exec \"Netscape\" netscape-server')"
"*FvwmButtons(1x1, Title ncftp, \
                  Icon disk.xpm, \
                  Action 'Exec \"XTerm\" ncftp-')"
"*FvwmButtons(1x1, Title mutt, \
                  Icon mail2.xpm, \
                  Action 'Exec \"XTerm\" mutt- -- -geometry 80x56+0+0')"
"*FvwmButtons(1x1, Title slrn, \
                  Icon dialog_box.xpm, \
                  Action 'Exec \"XTerm\" slrn-')"
"*FvwmButtons(1x1, Title xlock, \
                  Icon xdbx.xpm, \
                  Action 'Exec \"XLock\" xlock-')"
"*FvwmButtons(3x1, Swallow(NoHints) xload-button \
                   'Exec xload -title xload-button -nolabel \
                               -geometry 117x58-40-0')"
"*FvwmButtons(1x1, Swallow(NoHints) xclock-button \
                   'Exec xclock -name xclock-button -padding 0 \
                                -bg lightsteelblue -fg black \
                                -geometry 39x58-0-0')"
)

(define fvwm2-buttons (run-fvwm2-module "FvwmButtons"))
(define fvwm2-pager (run-fvwm2-module "FvwmPager" '("0" "0")))





If I comment the last too lines, and I execute them after the startup
of scwm with either scwmexec or scwmrepl, it works perfectly (as
announced in my previous message).

I don't have really much time to look at it. I am currently using
Fvwm-2.2.2 because I have to work, and scwm-0.99.5.1 crashed too often
(20 min or so).

FvwmButtons worked very well with scwm-0.99.4



From owner-scwm-discuss@SCWM.MIT.EDU  Thu Nov 25 12:33:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA02431
	for scwm-discuss-outgoing; Thu, 25 Nov 1999 12:33:59 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA02428
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 25 Nov 1999 12:33:55 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id JAA09505;
	Thu, 25 Nov 1999 09:33:47 -0800
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: FvwmButtons strange behaviour
References: <19991029113128.A22915@youkaidi.irisa.fr> <qrrd7tyghsp.fsf@clavicle.cs.washington.edu> <19991104141953.B10052@youkaidi.irisa.fr> <19991108185317.A9414@youkaidi.irisa.fr> <19991109111521.A1925@youkaidi.irisa.fr> <qrrzownqo5a.fsf@clavicle.cs.washington.edu> <19991125142047.D15780@youkaidi.irisa.fr>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 25 Nov 1999 09:33:46 -0800
In-Reply-To: Hubert Canon's message of "Thu, 25 Nov 1999 14:20:48 +0100"
Message-ID: <qrrbt8itr0l.fsf@clavicle.cs.washington.edu>
Lines: 58
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon <Hubert.Canon@irisa.fr> writes:

> Greg J. Badros écrivait :
> > Hubert Canon <Hubert.Canon@irisa.fr> writes:
> > > Good news : my FvwmBuutons now works with scwm-0.99.5.1 as before. I
> > > swithced to fvwm-2.2.2 and corrected some syntax bits in fvwm2rc, and
> > > strangely it works.
> > > 
> > > I can now switch to scwm-0.99.5.1
> > 
> > Great-- thanks for the report!
> 
> I am sorry, but I think I rejoiced too quickly.
> 
> In fact (with scwm-0.99.5.1 and with the CVS version) the behaviour is
> different at startup and after.
> 
> When I put these lines in my .scwmrc, the pager, the clock and the
> xload are not swallowed :

<snip>
> 
> (define fvwm2-buttons (run-fvwm2-module "FvwmButtons"))
> (define fvwm2-pager (run-fvwm2-module "FvwmPager" '("0" "0")))
> 
> 
> If I comment the last too lines, and I execute them after the startup
> of scwm with either scwmexec or scwmrepl, it works perfectly (as
> announced in my previous message).
> 
> I don't have really much time to look at it. I am currently using
> Fvwm-2.2.2 because I have to work, and scwm-0.99.5.1 crashed too often
> (20 min or so).
> 
> FvwmButtons worked very well with scwm-0.99.4

I'm not sure what's changed, but you could try:

(append-hook! startup-hook
     (lambda ()
        (define fvwm2-buttons (run-fvwm2-module "FvwmButtons"))
        (define fvwm2-pager (run-fvwm2-module "FvwmPager" '("0" "0")))))

And see if that helps;  if not, you can try:

(append-hook! startup-hook
    (lambda () 
       (add-timer-hook! 2000   ;; 2 seconds
         (lambda ()
           (define fvwm2-buttons (run-fvwm2-module "FvwmButtons"))
           (define fvwm2-pager (run-fvwm2-module "FvwmPager" '("0" "0")))))))

I'd love to find out what exactly is going wrong, but if these
workarounds fix things, I can deal with other more pressing matters for
the time being.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Nov 26 05:23:48 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA06551
	for scwm-discuss-outgoing; Fri, 26 Nov 1999 05:23:48 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA06548
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 26 Nov 1999 05:23:43 -0500
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id LAA11514;
	Fri, 26 Nov 1999 11:23:36 +0100 (MET)
Date: Fri, 26 Nov 1999 11:23:35 +0100
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: SCWM Discussion Mailing List <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: FvwmButtons strange behaviour
Message-ID: <19991126112335.B22472@youkaidi.irisa.fr>
References: <19991029113128.A22915@youkaidi.irisa.fr> <qrrd7tyghsp.fsf@clavicle.cs.washington.edu> <19991104141953.B10052@youkaidi.irisa.fr> <19991108185317.A9414@youkaidi.irisa.fr> <19991109111521.A1925@youkaidi.irisa.fr> <qrrzownqo5a.fsf@clavicle.cs.washington.edu> <19991125142047.D15780@youkaidi.irisa.fr> <qrrbt8itr0l.fsf@clavicle.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 1.0pre4us
In-Reply-To: <qrrbt8itr0l.fsf@clavicle.cs.washington.edu>; from gjb@cs.washington.edu on Thu, Nov 25, 1999 at 09:33:46AM -0800
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg J. Badros écrivait :
> I'm not sure what's changed, but you could try:
> 
> (append-hook! startup-hook
>      (lambda ()
>         (define fvwm2-buttons (run-fvwm2-module "FvwmButtons"))
>         (define fvwm2-pager (run-fvwm2-module "FvwmPager" '("0" "0")))))

I get an error :

ERROR: In procedure lambda:
ERROR: bad body

So I changed it into :

(define fvwm2-buttons #f)
(define fvwm2-pager #f)

(append-hook! startup-hook
  (lambda ()
         (define fvwm2-buttons (run-fvwm2-module "FvwmButtons"))
         (define fvwm2-pager (run-fvwm2-module "FvwmPager" '("0"
         "0")))))

But it doesn't do what's expected.

> And see if that helps;  if not, you can try:
> 
> (append-hook! startup-hook
>     (lambda () 
>        (add-timer-hook! 2000   ;; 2 seconds
>          (lambda ()
>            (define fvwm2-buttons (run-fvwm2-module "FvwmButtons"))
>            (define fvwm2-pager (run-fvwm2-module "FvwmPager" '("0" "0")))))))

It doesn't work either.

> I'd love to find out what exactly is going wrong, but if these
> workarounds fix things, I can deal with other more pressing matters for
> the time being.

But you gave me some ideas. It seems that there is some race
condition. I obtained the correct behaviour with :

"*FvwmButtons(3x1, Swallow XLoad \
   'Exec sh -c \"sleep 2;exec xload -nolabel -geometry 117x58-40-0\"')"
"*FvwmButtons(1x1, Swallow XClock \
   'Exec sh -c \"sleep 2;exec xclock -padding 0 -bg lightsteelblue -fg black \
                                -geometry 39x58-0-0\"')"

				
and :

(append-hook!
 startup-hook
 (lambda ()
   (add-timer-hook! 2000 (lambda () 
			   (set! fvwm2-buttons
				 (run-fvwm2-module "FvwmButtons"))))
   (add-timer-hook! 4000 (lambda ()
			   (set! fvwm2-pager
				 (run-fvwm2-module "FvwmPager" '("0" "0")))))
   ))


It works, but it lenghten the stratup time, which is already toooo
long.

If I understand correctly, the Exec command in FvwmButton launch a
window and if it is detected it is swallowed by the module. But I
think that scwm captures the window, decorate it and only then it is
detected by the module. Perhaps is scwm too slow and the module has
not the time to swallow it.


-- 
Hubert Canon

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Nov 26 13:05:28 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA07117
	for scwm-discuss-outgoing; Fri, 26 Nov 1999 13:05:28 -0500
Received: from marvin.ida.ing.tu-bs.de (marvin.ida.ing.tu-bs.de [134.169.132.60])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA07114
	for <scwm-discuss@scwm.mit.edu>; Fri, 26 Nov 1999 13:05:08 -0500
Received: from localhost (dirk@localhost)
	by marvin.ida.ing.tu-bs.de (8.9.3/8.9.3) with ESMTP id TAA17235
	for <scwm-discuss@scwm.mit.edu>; Fri, 26 Nov 1999 19:04:12 +0100
X-Authentication-Warning: marvin.ida.ing.tu-bs.de: dirk owned process doing -bs
Date: Fri, 26 Nov 1999 19:04:12 +0100 (MET)
From: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
To: SCWM discussion list <scwm-discuss@scwm.mit.edu>
Subject: Re: Event rewrite proposal revised...
Message-ID: <Pine.LNX.4.10.9911261648230.9178-100000@marvin.ida.ing.tu-bs.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi, I know this thread has been closed for some time now, but...

Something which I don't understand (and please forgive, since I am no
event expert) is, why double-click has to be an event of its own.

As I understand it, one objective of the event rewrite proposal is, to
allow sequences of events behave as a single event (so to speak), i. e. I
can define C-c to be a prefix, after which a new event-map will be in
effect.

Now my question:
If this is true, why would there be a need for a double-click, since it is
basically a sequence of two single clicks.  Obviously, something clever
has to be done about the timeout issue.  But this would allow to get rid
of all these problems where scwm appears non-responsive only because of it
waiting for a potential second click:  If there is a double-click binding,
then a single click is something like a prefix for a new event-map.
Otherwise, an immediate procedure can be executed at once.

Excuse me if this is rubbish for some obvious reason.

Dirk Herrmann


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Nov 26 18:04:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA07621
	for scwm-discuss-outgoing; Fri, 26 Nov 1999 18:04:33 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA07618
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 26 Nov 1999 18:04:29 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id PAA09391;
	Fri, 26 Nov 1999 15:04:00 -0800
To: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
Cc: SCWM discussion list <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: Event rewrite proposal revised...
References: <Pine.LNX.4.10.9911261648230.9178-100000@marvin.ida.ing.tu-bs.de>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 26 Nov 1999 15:04:00 -0800
In-Reply-To: Dirk Herrmann's message of "Fri, 26 Nov 1999 19:04:12 +0100 (MET)"
Message-ID: <qrrpuww3len.fsf@clavicle.cs.washington.edu>
Lines: 37
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> Hi, I know this thread has been closed for some time now, but...
> 
> Something which I don't understand (and please forgive, since I am no
> event expert) is, why double-click has to be an event of its own.
> 
> As I understand it, one objective of the event rewrite proposal is, to
> allow sequences of events behave as a single event (so to speak), i. e. I
> can define C-c to be a prefix, after which a new event-map will be in
> effect.
> 
> Now my question:
> If this is true, why would there be a need for a double-click, since it is
> basically a sequence of two single clicks.  Obviously, something clever
> has to be done about the timeout issue.  But this would allow to get rid
> of all these problems where scwm appears non-responsive only because of it
> waiting for a potential second click:  If there is a double-click binding,
> then a single click is something like a prefix for a new event-map.
> Otherwise, an immediate procedure can be executed at once.
> 
> Excuse me if this is rubbish for some obvious reason.

I think the issue is that people want single click actions *and*
double-click actions on the same decoration (say the titlebar).  Though
I certainly agree that you can view the first click as a prefix binding, 
that would disallow it from doing another action (given the conventional 
notion of a prefix binding, anyway).  I think it's cleanest to have
'click, 'single-click, and 'double-click.  The 'single-click procedure
will have the timeout, but conventional usage will be to bind to 'click
and 'double-click, and have the 'click action be executable immediately
before a 'double-click action (e.g., 'click could be raise-window, and
'double-click toggle-window-shade;  'click should not, e.g., be bound to
iconify-window, though it could and the 'double-click action would just
never be invoked).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Nov 28 09:23:46 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA14943
	for scwm-discuss-outgoing; Sun, 28 Nov 1999 09:23:46 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from news.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA14940
	for <scwm-discuss@scwm.mit.edu>; Sun, 28 Nov 1999 09:23:40 -0500
Received: from mizar (r2p064.ntt.it [194.73.94.192]) by news.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id PAA58724 for <scwm-discuss@scwm.mit.edu>; Sun, 28 Nov 1999 15:24:08 +0100 (NFT)
Received: from cesco by mizar with local (Exim 3.03 #1 (Debian))
	id 11s4s9-0002Fr-00
	for <scwm-discuss@scwm.mit.edu>; Sun, 28 Nov 1999 15:00:13 +0100
Date: Sun, 28 Nov 1999 15:00:13 +0100
From: Francesco Tapparo <cesco@ntt.it>
To: scwm-discuss@scwm.mit.edu
Subject: debianapss module
Message-ID: <19991128150013.A8648@ntt.it>
Reply-To: cesco@debian.org
Mail-Followup-To: scwm-discuss@scwm.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hi,

   I wrote a mini module to read the menu of the debian systems. It is
rather simple, because all the hard work is done by the debian menu system
(it creates the scheme code to do the menus and it put in
/etc/X11/scwm/scwm_menus).

Here's the module:

=======================BEGIN=====================================

(define-module (app scwm debianapps-menu)
  :use-module (app scwm std-menus)
  :use-module (app scwm base)
  :use-module (app scwm optargs))

(define default-title "Debian Apps")
(define default-menu-file "/etc/X11/scwm/scwm_menus")

;; 
;; FIXME: it should with any number of desktops
(define menu-desk 
  (menu 
   (list (menu-title "Desks")
	 menu-separator
	 (menuitem "Desk 1" #:action (lambda () (set-current-desk! 0)))
	 (menuitem "Desk 2" #:action (lambda () (set-current-desk! 1)))
	 (menuitem "Desk 3" #:action (lambda () (set-current-desk! 2)))
	 (menuitem "Desk 4" #:action (lambda () (set-current-desk! 3))))))


(define menu-quit-verify
  (menu 
   (list
    (menu-title "Really quit Scwm?")
    menu-separator
    (menuitem "&Restart scwm" #:image-left "mini-turn.xpm" 
	      #:action (lambda () (restart "scwm")))
    (menuitem "Restart &development scwm" #:image-left "mini-turn.xpm" 
	      #:action (lambda () (restart 
				   (string-append scwmdir "/src/scwm"))))
    menu-separator
    (menuitem "&Yes" #:image-left "mini-exclam.xpm" #:action quit)
    (menuitem "&No"  #:image-left "mini-cross.xpm" #:action noop))))


(define*-public (make-debianapps-menu #&optional 
				      (debian-title default-title)
				      (debian-menu-file default-menu-file))
"Read the menu-generated file debian-menu-file, and return a menu with title 
 menu title. This should work only on debian systems"
  (load debian-menu-file) 
  (menu		
   (append
    (list (menuitem debian-title #f)
	  menu-separator)
    /Debian-list
    (list 
     menu-separator
     (menuitem "Desks" #:action menu-desk)
     menu-separator
     (menuitem "Themes" #:action (menu-global-theme))
     menu-separator
     (menuitem "Quit" #:action menu-quit-verify)))))

===========================END==================================


-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Nov 28 13:21:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA15603
	for scwm-discuss-outgoing; Sun, 28 Nov 1999 13:21:21 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA15591
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 28 Nov 1999 13:21:15 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id KAA01451;
	Sun, 28 Nov 1999 10:21:07 -0800
To: cesco@debian.org
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: debianapss module
References: <19991128150013.A8648@ntt.it>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 28 Nov 1999 10:21:07 -0800
In-Reply-To: Francesco Tapparo's message of "Sun, 28 Nov 1999 15:00:13 +0100"
Message-ID: <qrrk8n21nqk.fsf@clavicle.cs.washington.edu>
Lines: 52
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francesco Tapparo <cesco@ntt.it> writes:

> Hi,
> 
>    I wrote a mini module to read the menu of the debian systems. It is
> rather simple, because all the hard work is done by the debian menu system
> (it creates the scheme code to do the menus and it put in
> /etc/X11/scwm/scwm_menus).

Great, thanks!  I've moved menu-desk and menu-quit-verify into
std-menus.scm since they aren't Debian specific, and updated your menu
to explicitly use the #:submenu keyword instead of #:action for the
submenus.  My slightly changed and smaller version is below, and is
committed;  anoncvs will reflect the changes within an hour.

Thanks!

Greg


;;; $Id: debianapps-menu.scm,v 1.1 1999/11/28 18:17:45 gjb Exp $
;;; debianapps-menu.scm
;;; (C) 1999 Francesco Tapparo and Greg J. Badros
;;;
;;; For Debian GNU/Linux systems.

(define-module (app scwm debianapps-menu)
  :use-module (app scwm std-menus)
  :use-module (app scwm base)
  :use-module (app scwm optargs))

(define-public default-title "Debian Apps")
(define-public default-menu-file "/etc/X11/scwm/scwm_menus")

(define*-public (make-debianapps-menu #&optional 
				      (debian-title default-title)
				      (debian-menu-file default-menu-file))
"Read the menu-generated file debian-menu-file, and return a menu with title 
 menu title. This should work only on debian systems"
  (load debian-menu-file) 
  (menu		
   (append
    (list (menuitem debian-title #f)
	  menu-separator)
    /Debian-list
    (list 
     menu-separator
     (menuitem "Desks" #:submenu menu-desk)
     menu-separator
     (menuitem "Themes" #:submenu (lambda () (make-menu-global-theme)))
     menu-separator
     (menuitem "Quit" #:submenu menu-quit-verify)))))

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Nov 28 13:25:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA15741
	for scwm-discuss-outgoing; Sun, 28 Nov 1999 13:25:18 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA15738
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 28 Nov 1999 13:25:14 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id KAA01479;
	Sun, 28 Nov 1999 10:25:07 -0800
To: cesco@debian.org
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: debianapss module
References: <19991128150013.A8648@ntt.it>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 28 Nov 1999 10:25:07 -0800
In-Reply-To: Francesco Tapparo's message of "Sun, 28 Nov 1999 15:00:13 +0100"
Message-ID: <qrrhfi61njw.fsf@clavicle.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francesco Tapparo <cesco@ntt.it> writes:

<snip>
> (define*-public (make-debianapps-menu #&optional 
> 				      (debian-title default-title)
> 				      (debian-menu-file default-menu-file))
> "Read the menu-generated file debian-menu-file, and return a menu with title 
>  menu title. This should work only on debian systems"
>   (load debian-menu-file) 
>   (menu		
>    (append
>     (list (menuitem debian-title #f)
> 	  menu-separator)
>     /Debian-list
>     (list 
>      menu-separator
>      (menuitem "Desks" #:action menu-desk)
>      menu-separator
>      (menuitem "Themes" #:action (menu-global-theme))
>      menu-separator
>      (menuitem "Quit" #:action menu-quit-verify)))))

Looking more closely at this, I'm confused about the "/Debian-list"
variable you mention.  Where is that defined?  I have your
debian-menu-methods file in my working directory, but uncommitted.  Is
that needed, too?  Can you explain?  I can't test this stuff since I'm
not running a Debian GNU/Linux system....

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Nov 28 17:46:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA16274
	for scwm-discuss-outgoing; Sun, 28 Nov 1999 17:46:43 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from news.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA16271
	for <scwm-discuss@scwm.mit.edu>; Sun, 28 Nov 1999 17:46:38 -0500
Received: from mizar (r2p085.ntt.it [194.73.94.213]) by news.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id XAA64942; Sun, 28 Nov 1999 23:47:00 +0100 (NFT)
Received: from cesco by mizar with local (Exim 3.03 #1 (Debian))
	id 11sB3k-0000Pw-00; Sun, 28 Nov 1999 21:36:36 +0100
Date: Sun, 28 Nov 1999 21:36:35 +0100
From: Francesco Tapparo <cesco@ntt.it>
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: cesco@debian.org, scwm-discuss@scwm.mit.edu
Subject: Re: debianapss module
Message-ID: <19991128213635.A1366@ntt.it>
Reply-To: cesco@debian.org
Mail-Followup-To: "Greg J. Badros" <gjb@cs.washington.edu>,
	cesco@debian.org, scwm-discuss@SCWM.MIT.EDU
References: <19991128150013.A8648@ntt.it> <qrrhfi61njw.fsf@clavicle.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
In-Reply-To: <qrrhfi61njw.fsf@clavicle.cs.washington.edu>; from gjb@cs.washington.edu on Sun, Nov 28, 1999 at 10:25:07AM -0800
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Sun, Nov 28, 1999 at 10:25:07AM -0800, Greg J. Badros wrote:
> Francesco Tapparo <cesco@ntt.it> writes:
[snipped]
> >  menu title. This should work only on debian systems"
> >   (load debian-menu-file) 
[snipped]
> >     /Debian-list
[snipped]
> 
> Looking more closely at this, I'm confused about the "/Debian-list"
> variable you mention.  Where is that defined?  I have your
> debian-menu-methods file in my working directory, but uncommitted.  Is
> that needed, too?  Can you explain?

Sure: it's defined in debian-menu-file: in any debian system there is a
 file in /etc/X11/scwm/scwm_menus; it's a bunch of scheme code created when
a package install a new menu entry; it defines /Debian-list (it is the list of
menuitems of the root menu). 
make-debianapps-menu need  this file, and this file is created by the menu
program using the debian/menu-generator script.


> I can't test this stuff since I'm
> not running a Debian GNU/Linux system....

No good ;> (Just kidding).

> 
> Thanks,
> Greg

cheers

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Nov 28 17:59:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA16378
	for scwm-discuss-outgoing; Sun, 28 Nov 1999 17:59:27 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA16372
	for <scwm-discuss@scwm.mit.edu>; Sun, 28 Nov 1999 17:59:23 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id OAA04493;
	Sun, 28 Nov 1999 14:59:14 -0800
To: cesco@debian.org
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: debianapss module
References: <19991128150013.A8648@ntt.it> <qrrhfi61njw.fsf@clavicle.cs.washington.edu> <19991128213635.A1366@ntt.it>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 28 Nov 1999 14:59:14 -0800
In-Reply-To: Francesco Tapparo's message of "Sun, 28 Nov 1999 21:36:35 +0100"
Message-ID: <qrr66ym1av1.fsf@clavicle.cs.washington.edu>
Lines: 38
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francesco Tapparo <cesco@ntt.it> writes:

> On Sun, Nov 28, 1999 at 10:25:07AM -0800, Greg J. Badros wrote:
> > Francesco Tapparo <cesco@ntt.it> writes:
> [snipped]
> > >  menu title. This should work only on debian systems"
> > >   (load debian-menu-file) 
> [snipped]
> > >     /Debian-list
> [snipped]
> > 
> > Looking more closely at this, I'm confused about the "/Debian-list"
> > variable you mention.  Where is that defined?  I have your
> > debian-menu-methods file in my working directory, but uncommitted.  Is
> > that needed, too?  Can you explain?
> 
> Sure: it's defined in debian-menu-file: in any debian system there is a
>  file in /etc/X11/scwm/scwm_menus; it's a bunch of scheme code created when
> a package install a new menu entry; it defines /Debian-list (it is the list of
> menuitems of the root menu). 
> make-debianapps-menu need  this file, and this file is created by the menu
> program using the debian/menu-generator script.

Gotcha;  I'll commit the last scwm_menus you mailed me as
utilities/misc/debian-scwm_menus so that people on Debian but not using
.debs have the file.

> > I can't test this stuff since I'm
> > not running a Debian GNU/Linux system....
> 
> No good ;> (Just kidding).

:-)  What can I tell you;  Dell pre-installs RedHat.  I'm just so happy to
have a choice in my pre-installed O.S.!

Greg



From owner-scwm-discuss@SCWM.MIT.EDU  Mon Nov 29 13:42:56 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA20421
	for scwm-discuss-outgoing; Mon, 29 Nov 1999 13:42:56 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from igate.sema.de (in-proxy.sema.de [194.123.157.114])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA20418
	for <scwm-discuss@scwm.mit.edu>; Mon, 29 Nov 1999 13:42:47 -0500
Received: from rm400.sema.de (rm400.sema.de [192.168.70.31])
	by igate.sema.de (8.8.8/8.8.8) with ESMTP id TAA13290
	for <scwm-discuss@scwm.mit.edu>; Mon, 29 Nov 1999 19:13:33 +0100
Received: (from mschmitz@localhost)
	by rm400.sema.de (8.8.8/8.8.8) id RAA15923;
	Mon, 29 Nov 1999 17:55:49 GMT
Date: Mon, 29 Nov 1999 17:55:49 GMT
Message-Id: <199911291755.RAA15923@rm400.sema.de>
From: Michael Schmitz <mschmitz@sema.de>
To: scwm-discuss@scwm.mit.edu
Subject: a module for generating Gnome and KDE menus
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: multipart/mixed;
 boundary="Multipart_Mon_Nov_29_18:55:48_1999-1"
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

--Multipart_Mon_Nov_29_18:55:48_1999-1
Content-Type: text/plain; charset=US-ASCII


Hello all!

After lots of hours I spent on learning Guile, I finally have a module
that reads and interprets directories that define a Gnome or KDE
menu. It's all but perfect, but it works (at least on my home and
company computers). It generates menus in the way the Gnome panel
does. The main difference concerns the order of the menu items. While
the menu generated by my modules are unsorted, Gnome and KDE menus are
sorted alphabetically (and/or as specified in the Gnome .order and KDE
.directory files).

Michael.


--Multipart_Mon_Nov_29_18:55:48_1999-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="gnome-panel-menus.scm"
Content-Transfer-Encoding: base64

Ozs7IGdub21lLXBhbmVsLW1lbnVzLnNjbQo7OzsgQXV0aG9yOiBNaWNoYWVsIFNjaG1pdHog
PG1zY2htaXR6QGluYW1lLmNvbT4KCjs7IFRoaXMgbW9kdWxlIHNlcnZlcyBzZXR0aW5nIHVw
IG1lbnVzIGZyb20gZGlyZWN0b3JpZXMgdGhhdCByZXByZXNlbnQKOzsgZWl0aGVyIEdub21l
IG9yIEtERSBtZW51cy4gSXQgY29udGFpbnMgdGhlIGZvbGxvd2luZyBmdW5jdGlvbnMgb2YK
OzsgaW50ZXJlc3Q6Cjs7Cjs7IChnZW5lcmF0ZS1nbm9tZS1zeXN0ZW0tbWVudSAjJm9wdGlv
bmFsIHBhdGggdGl0bGUpCjs7ICAgICByZXR1cm5zIHRoZSBHbm9tZSBTeXN0ZW0gbWVudXMg
KHRoZSBvbmUgeW91IGdldCBhcyB0b3AtbGV2ZWwKOzsgICAgIGRpcmVjdG9yeSBpbiB0aGUg
cGFuZWwpCjs7Cjs7IChnZW5lcmF0ZS1hbm90aGVyLWxldmVsLW1lbnUgIyZvcHRpb25hbCBw
YXRoIHRpdGxlKQo7OyAgICAgcmV0dXJucyB0aGUgQW5vdGhlckxldmVsIG1lbnVzCjs7Cjs7
IChnZW5lcmF0ZS1nbm9tZS11c2VyLW1lbnUgIyZvcHRpb25hbCBwYXRoIHRpdGxlKQo7OyAg
ICAgcmV0dXJucyB0aGUgR25vbWUgdXNlciBtZW51cwo7Owo7OyAoZ2VuZXJhdGUta2RlLW1l
bnUgIyZvcHRpb25hbCBwYXRoIHRpdGxlKQo7OyAgICAgcmV0dXJucyB0aGUgS0RFIG1lbnVz
Cgo7OyBUT0RPCjs7ICAgMS4gIFNvcnQgbWVudSBpdGVtcyBhbHBoYWJldGljYWxseSBhbmQg
ZXZhbHVhdGUgb3JkZXIgc3BlY2lmaWVkCjs7ICAgICAgIGluIHRoZSBHbm9tZSAub3JkZXIg
YW5kIEtERSAuZGlyZWN0b3J5IGZpbGVzLgoKKGRlZmluZS1tb2R1bGUgKGFwcCBzY3dtIGdu
b21lLXBhbmVsLW1lbnVzKQogIDp1c2UtbW9kdWxlIChhcHAgc2N3bSBiYXNlKQogIDp1c2Ut
bW9kdWxlIChhcHAgc2N3bSBvcHRhcmdzKQogIDp1c2UtbW9kdWxlIChpY2UtOSByZWdleCkp
CgooZGVmaW5lIChiYXNlbmFtZSBmaWxlbmFtZSkKICAobGV0ICgoaW5kZXggKHN0cmluZy1y
aW5kZXggZmlsZW5hbWUgI1wvKSkpCiAgICAoaWYgaW5kZXgKCShzdWJzdHJpbmcgZmlsZW5h
bWUgKCsgaW5kZXggMSkpCglmaWxlbmFtZSkpKQoKCihkZWZpbmUgKGNyZWF0ZS1tZW51aXRl
bSBlbGVtKQogIChjb25kCiAgICgoZXE/IChjYXIgZWxlbSkgJ2tleS1pdGVtKQogICAgKGxl
dCogKChsaXN0IChjYWRyIGVsZW0pKQoJICAgKGljb24gKGFuZCAocGFpcj8gKGFzc3EgJ2tl
eS1pY29uIGxpc3QpKSAoY2RyIChhc3NxICdrZXktaWNvbiBsaXN0KSkpKQoJICAgKG5hbWUg
KGFuZCAocGFpcj8gKGFzc3EgJ2tleS1uYW1lIGxpc3QpKSAoY2RyIChhc3NxICdrZXktbmFt
ZSBsaXN0KSkpKQoJICAgKGV4ZWMgKGNkciAoYXNzcSAna2V5LWV4ZWMgbGlzdCkpKQoJICAg
KGltYWdlLWhlaWdodCAoKyAyIChhc3NvYy1yZWYgKGZvbnQtcHJvcGVydGllcyAqbWVudS1m
b250KikgJ2hlaWdodCkpKQoJICAgKGltYWdlLXdpZHRoIGltYWdlLWhlaWdodCkKCSAgIChp
bWFnZSAjZikpCiAgICAgIChpZiAobm90IG5hbWUpCgkgIDs7IHNvbWV0aW1lcyB0aGVyZSdz
IG5vIG1hdGNoaW5nICdOYW1lWypdPScgZW50cnkgaW4gYSBHbm9tZQoJICA7OyAqLmRlc2t0
b3Agb3IgS0RFICoua2RlbG5rIGZpbGU7IHdlIHVzZSBpbmZvcm1hdGlvbiBmcm9tIHRoZQoJ
ICA7OyBmaWxlbmFtZSBpbiB0aGlzIGNhc2UKCSAgKHNldCEgbmFtZQoJCShzdWJzdHJpbmcg
KGNkciAoYXNzcSAna2V5LWZpbGUgbGlzdCkpCgkJCSAgIDAKCQkJICAgKHN0cmluZy1pbmRl
eCAoY2RyIChhc3NxICdrZXktZmlsZSBsaXN0KSkgI1wuKSkpKQogICAgICAoaWYgKG5vdCAo
ZXE/IGljb24gI2YpKQoJICAoc2V0ISBpbWFnZSAobWFrZS1pbWFnZSBpY29uKSkpCiAgICAg
IChpZiAobm90IChlcXVhbD8gaW1hZ2UgI2YpKQoJICAobWVudWl0ZW0gbmFtZQoJCSAgICAj
OmltYWdlLWxlZnQgKGNsb25lLXNjYWxlZC1pbWFnZSBpbWFnZQoJCQkJCQkgICAgIGltYWdl
LXdpZHRoCgkJCQkJCSAgICAgaW1hZ2UtaGVpZ2h0KQoJCSAgICAjOmFjdGlvbiAoZXhlIGV4
ZWMpKQoJICAobWVudWl0ZW0gbmFtZQoJCSAgICAjOmFjdGlvbiAoZXhlIGV4ZWMpKSkpKQog
ICgoc3RyaW5nPyAoY2FyIGVsZW0pKQogICAobWVudWl0ZW0gKGNhciBlbGVtKQoJICAgICAj
OnN1Ym1lbnUgKG1ha2Utc3VibWVudSAoY2FyIGVsZW0pCgkJCQkgICAgIChjZHIgZWxlbSkp
KSkKICApKQoKCihkZWZpbmUgKG1ha2Utc3VibWVudSBkZWZhdWx0LW5hbWUgbWVudS1zcGVj
KQogIChsZXQqICgobmFtZSAob3IgKGFuZCAocGFpcj8gKGFzc3EgJ2tleS1uYW1lIG1lbnUt
c3BlYykpCgkJCShjZHIgKGFzc3EgJ2tleS1uYW1lIG1lbnUtc3BlYykpKQoJCSAgIGRlZmF1
bHQtbmFtZSkpCgkgKGljb24gKGFuZCAocGFpcj8gKGFzc3EgJ2tleS1pY29uIG1lbnUtc3Bl
YykpIChjZHIgKGFzc3EgJ2tleS1pY29uIG1lbnUtc3BlYykpKSkKCSAoaXRlbXMgKGNkciAo
YXNzcSAna2V5LWRpci1jb250ZW50cyBtZW51LXNwZWMpKSkKCSAoaW1hZ2UtaGVpZ2h0ICgr
IDIgKGFzc29jLXJlZiAoZm9udC1wcm9wZXJ0aWVzICptZW51LWZvbnQqKSAnaGVpZ2h0KSkp
CgkgKGltYWdlLXdpZHRoIGltYWdlLWhlaWdodCkpCiAgICAoaWYgKD4gKGxlbmd0aCBpdGVt
cykgMCkKCShtZW51CgkgKGFwcGVuZCAobGlzdAoJCSAgKGlmIChub3QgKGVxPyBpY29uICNm
KSkKCQkgICAgICAobWVudS10aXRsZSBuYW1lCgkJCQkgICM6aW1hZ2UtbGVmdCAoY2xvbmUt
c2NhbGVkLWltYWdlIChtYWtlLWltYWdlIGljb24pCgkJCQkJCQkJICAgaW1hZ2Utd2lkdGgK
CQkJCQkJCQkgICBpbWFnZS1oZWlnaHQpKQoJCSAgICAgIChtZW51LXRpdGxlIG5hbWUpKQoJ
CSAgbWVudS1zZXBhcmF0b3IpCgkJIChtYXAgKGxhbWJkYSAoZWxlbSkKCQkJKGNyZWF0ZS1t
ZW51aXRlbSBlbGVtKSkKCQkgICAgICBpdGVtcykpKQoJKG1lbnUKCSAobGlzdAoJICAobWVu
dWl0ZW0gKHN0cmluZy1hcHBlbmQgbmFtZSAiIChlbXB0eSkiKQoJICAgIzppbWFnZS1sZWZ0
IChjbG9uZS1zY2FsZWQtaW1hZ2UgKG1ha2UtaW1hZ2UgImdub21lLWZvbGRlci5wbmciKQoJ
CQkJCSAgICBpbWFnZS13aWR0aAoJCQkJCSAgICBpbWFnZS1oZWlnaHQpCgkgICAjOmFjdGlv
biBub29wKSkpKSkpCgoKKGRlZmluZSogKG1ha2UtYWxsLXN1Ym1lbnVzIHN0cnVjdHVyZWQt
bGlzdCAjJm9wdGlvbmFsIHRpdGxlKQogIChtZW51CiAgIChhcHBlbmQKICAgIChpZiAoYm91
bmQ/IHRpdGxlKQoJKGxpc3QgKG1lbnUtdGl0bGUgdGl0bGUpCgkgICAgICBtZW51LXNlcGFy
YXRvcikKCScoKSkKICAgICAgKG1hcAogICAgICAgKGxhbWJkYSAoc3RydWN0dXJlZC1saXN0
LWVsZW0pCgkgKGlmIChzdHJpbmc/IChjYXIgc3RydWN0dXJlZC1saXN0LWVsZW0pKQoJICAg
ICAobWVudWl0ZW0gKGNhciBzdHJ1Y3R1cmVkLWxpc3QtZWxlbSkKCQkgICAgICAgIzpzdWJt
ZW51IChtYWtlLXN1Ym1lbnUgKGNhciBzdHJ1Y3R1cmVkLWxpc3QtZWxlbSkKCQkJCQkgICAg
ICAgKGNkciBzdHJ1Y3R1cmVkLWxpc3QtZWxlbSkpKQoJICAgICAoY3JlYXRlLW1lbnVpdGVt
IHN0cnVjdHVyZWQtbGlzdC1lbGVtKSkpCiAgICAgICBzdHJ1Y3R1cmVkLWxpc3QpKSkpCgoK
OzsgdGhlIGZvbGxvd2luZyBmdW5jdGlvbiByZWFkcyBhbmQgZXZhbHVhdGVzIGEgR25vbWUg
Ki5kZXNrdG9wIG9yIEtERQo7OyAqLmtkZWxuayBmaWxlCihkZWZpbmUgKHByb2Nlc3MtZG90
LWRlc2t0b3AgZGVza3RvcC1maWxlKQogIChsZXQgKChyZXN1bHQgJygpKSkKICAgIChpZiAo
YW5kIChzdHJpbmc/IGRlc2t0b3AtZmlsZSkKCSAgICAgKGZpbGUtZXhpc3RzPyBkZXNrdG9w
LWZpbGUpCgkgICAgIChub3QgKGZpbGUtaXMtZGlyZWN0b3J5PyBkZXNrdG9wLWZpbGUpKQoJ
ICAgICAoYWNjZXNzPyBkZXNrdG9wLWZpbGUgUl9PSykpCgkoYmVnaW4KCSAgKHNldCEgcmVz
dWx0IChhY29ucyAna2V5LWZpbGUgKGJhc2VuYW1lIGRlc2t0b3AtZmlsZSkgJygpKSkKCSAg
KGNhbGwtd2l0aC1pbnB1dC1maWxlCgkgICAgICBkZXNrdG9wLWZpbGUKCSAgICAobGFtYmRh
IChwb3J0KQoJICAgICAgKGxldCogKChsYW5nIChnZXRlbnYgIkxBTkciKSkKCQkgICAgIChw
YXR0ZXJucyAoYXBwZW5kIChsaXN0IChsaXN0ICdrZXktbmFtZSAobWFrZS1yZWdleHAgIl5O
YW1lPSIpKSkKCQkJCSAgICAgICAoaWYgbGFuZwoJCQkJCSAgIChsaXN0IChsaXN0ICdrZXkt
bmFtZQoJCQkJCQkgICAgICAgKG1ha2UtcmVnZXhwCgkJCQkJCQkoc3RyaW5nLWFwcGVuZAoJ
CQkJCQkJICJeTmFtZVxcXFsiCgkJCQkJCQkgKGlmIChzdHJpbmctaW5kZXggbGFuZyAjXF8p
CgkJCQkJCQkgICAgIChzdWJzdHJpbmcgbGFuZyAwIChzdHJpbmctaW5kZXggbGFuZyAjXF8p
KQoJCQkJCQkJICAgICAoc3RyaW5nLWFwcGVuZCBsYW5nICJfXFtBLVphLXpcXSoiKSkKCQkJ
CQkJCSAiXFxcXT0iKSkpCgkJCQkJCSAobGlzdCAna2V5LW5hbWUgKG1ha2UtcmVnZXhwIChz
dHJpbmctYXBwZW5kICJeTmFtZVxcXFsiIGxhbmcgIlxcXF09IikpKSkKCQkJCQkgICAnKCkp
CgkJCQkgICAgICAgKGxpc3QgKGxpc3QgJ2tleS1leGVjIChtYWtlLXJlZ2V4cCAiXkV4ZWM9
IikpCgkJCQkJICAgICAobGlzdCAna2V5LWljb24gKG1ha2UtcmVnZXhwICJeSWNvbj0iKSkK
CQkJCQkgICAgIChsaXN0ICdrZXktaWNvbiAobWFrZS1yZWdleHAgIl5NaW5pSWNvbj0iKSkp
KSkKCQkgICAgIChtYXRjaCAjZikKCQkgICAgICh2YWx1ZSAjZikpCgkJKGRvICgobGluZSAo
cmVhZC1saW5lIHBvcnQpIChyZWFkLWxpbmUgcG9ydCkpKQoJCSAgICAoKGVvZi1vYmplY3Q/
IGxpbmUpKQoJCSAgKGZvci1lYWNoCgkJICAgKGxhbWJkYSAoa2V5LWFuZC1wYXR0ZXJuKQoJ
CSAgICAgKHNldCEgbWF0Y2ggKHJlZ2V4cC1leGVjIChjYWRyIGtleS1hbmQtcGF0dGVybikg
bGluZSkpCgkJICAgICAoaWYgbWF0Y2gKCQkJIChiZWdpbgoJCQkgICAoc2V0ISB2YWx1ZSAo
bWFrZS1zaGFyZWQtc3Vic3RyaW5nIGxpbmUgKG1hdGNoOmVuZCBtYXRjaCkpKQoJCQkgICAo
aWYgKG5vdCAoZXF1YWw/IHZhbHVlICIiKSkKCQkJICAgICAgIChiZWdpbgoJCQkJIChzZXQh
IHJlc3VsdCAoYXNzb2Mtc2V0ISByZXN1bHQgKGNhciBrZXktYW5kLXBhdHRlcm4pIHZhbHVl
KSkpKQoJCQkgICApKSkgcGF0dGVybnMpKQoJCSkpKSkpCiAgICByZXN1bHQpKQoKOzsgdGhl
IGZvbGxvd2luZyBmdW5jdGlvbiByZWFkcyBhbmQgZXZhbHVhdGVzIGEgR25vbWUgLm9yZGVy
IGZpbGVzCihkZWZpbmUgKHByb2Nlc3Mtb3JkZXItZmlsZS1pbi1kaXIgZGlyZWN0b3J5KQog
IChsZXQgKChyZXN1bHQgJygpKSkKICAgIChpZiAoYW5kIChzdHJpbmc/IGRpcmVjdG9yeSkK
CSAgICAgKGZpbGUtZXhpc3RzPyBkaXJlY3RvcnkpCgkgICAgIChmaWxlLWlzLWRpcmVjdG9y
eT8gZGlyZWN0b3J5KQoJICAgICAoYWNjZXNzPyBkaXJlY3RvcnkgUl9PSykpCgkoYmVnaW4K
CSAgKGxldCAoKG9yZGVyLWZpbGUgKHN0cmluZy1hcHBlbmQgZGlyZWN0b3J5ICIvLm9yZGVy
IikpKQoJICAgIChpZiAoYW5kIChmaWxlLWV4aXN0cz8gb3JkZXItZmlsZSkKCQkgICAgIChu
b3QgKGZpbGUtaXMtZGlyZWN0b3J5PyBvcmRlci1maWxlKSkKCQkgICAgIChhY2Nlc3M/IG9y
ZGVyLWZpbGUgUl9PSykpCgkJKGJlZ2luCgkJICAoY2FsbC13aXRoLWlucHV0LWZpbGUKCQkg
ICAgICBvcmRlci1maWxlCgkJICAgIChsYW1iZGEgKHBvcnQpCgkJICAgICAgKGRvICgobGlu
ZSAocmVhZC1saW5lIHBvcnQpIChyZWFkLWxpbmUgcG9ydCkpKQoJCQkgICgoZW9mLW9iamVj
dD8gbGluZSkpCgkJCShzZXQhIHJlc3VsdCAoYXBwZW5kIHJlc3VsdCAobGlzdCBsaW5lKSkp
KSkpKSkpKSkKICAgIHJlc3VsdCkpCgo7OyB0aGUgZm9sbG93aW5nIGZ1bmN0aW9uIHJlYWRz
IGFuZCBldmFsdWF0ZXMgYSBHbm9tZSBhbmQgS0RFCjs7IC5kaXJlY3RvcnkgZmlsZXMKKGRl
ZmluZSAocHJvY2Vzcy1kaXJlY3RvcnktZmlsZS1pbi1kaXIgZGlyZWN0b3J5KQogIChsZXQg
KChyZXN1bHQgJygpKSkKICAgIChpZiAoYW5kIChzdHJpbmc/IGRpcmVjdG9yeSkKCSAgICAg
KGZpbGUtZXhpc3RzPyBkaXJlY3RvcnkpCgkgICAgIChmaWxlLWlzLWRpcmVjdG9yeT8gZGly
ZWN0b3J5KQoJICAgICAoYWNjZXNzPyBkaXJlY3RvcnkgUl9PSykpCgkoYmVnaW4KCSAgKGxl
dCAoKGRpcmVjdG9yeS1maWxlIChzdHJpbmctYXBwZW5kIGRpcmVjdG9yeSAiLy5kaXJlY3Rv
cnkiKSkpCgkgICAgKGlmIChhbmQgKGZpbGUtZXhpc3RzPyBkaXJlY3RvcnktZmlsZSkKCQkg
ICAgIChub3QgKGZpbGUtaXMtZGlyZWN0b3J5PyBkaXJlY3RvcnktZmlsZSkpCgkJICAgICAo
YWNjZXNzPyBkaXJlY3RvcnktZmlsZSBSX09LKSkKCQkoYmVnaW4KCQkgIChjYWxsLXdpdGgt
aW5wdXQtZmlsZQoJCSAgICAgIGRpcmVjdG9yeS1maWxlCgkJICAgIChsYW1iZGEgKHBvcnQp
CgkJICAgICAgKGxldCogKChsYW5nIChnZXRlbnYgIkxBTkciKSkKCQkJICAgICAocGF0dGVy
bnMgKGFwcGVuZCAobGlzdCAobGlzdCAna2V5LW5hbWUgKG1ha2UtcmVnZXhwICJeTmFtZT0i
KSkpCgkJCQkJICAgICAgIChpZiBsYW5nCgkJCQkJCSAgIChsaXN0IChsaXN0ICdrZXktbmFt
ZQoJCQkJCQkJICAgICAgIChtYWtlLXJlZ2V4cAoJCQkJCQkJCShzdHJpbmctYXBwZW5kCgkJ
CQkJCQkJICJeTmFtZVxcXFsiCgkJCQkJCQkJIChpZiAoc3RyaW5nLWluZGV4IGxhbmcgI1xf
KQoJCQkJCQkJCSAgICAgKHN1YnN0cmluZyBsYW5nIDAgKHN0cmluZy1pbmRleCBsYW5nICNc
XykpCgkJCQkJCQkJICAgICAoc3RyaW5nLWFwcGVuZCBsYW5nICJfXFtBLVphLXpcXSoiKSkK
CQkJCQkJCQkgIlxcXF09IikpKQoJCQkJCQkJIChsaXN0ICdrZXktbmFtZSAobWFrZS1yZWdl
eHAgKHN0cmluZy1hcHBlbmQgIl5OYW1lXFxcWyIgbGFuZyAiXFxcXT0iKSkpKQoJCQkJCQkg
ICAnKCkpCgkJCQkJICAgICAgIChsaXN0IChsaXN0ICdrZXktaWNvbiAobWFrZS1yZWdleHAg
Il5JY29uPSIpKSkpKQoJCQkgICAgIChtYXRjaCAjZikKCQkJICAgICAodmFsdWUgI2YpKQoJ
CQkoZG8gKChsaW5lIChyZWFkLWxpbmUgcG9ydCkgKHJlYWQtbGluZSBwb3J0KSkpCgkJCSAg
ICAoKGVvZi1vYmplY3Q/IGxpbmUpKQoJCQkgIChmb3ItZWFjaAoJCQkgICAobGFtYmRhIChr
ZXktYW5kLXBhdHRlcm4pCgkJCSAgICAgKHNldCEgbWF0Y2ggKHJlZ2V4cC1leGVjIChjYWRy
IGtleS1hbmQtcGF0dGVybikgbGluZSkpCgkJCSAgICAgKGlmIG1hdGNoCgkJCQkgKGJlZ2lu
CgkJCQkgICAoc2V0ISB2YWx1ZSAobWFrZS1zaGFyZWQtc3Vic3RyaW5nIGxpbmUgKG1hdGNo
OmVuZCBtYXRjaCkpKQoJCQkJICAgKHNldCEgcmVzdWx0IChhc3NvYy1zZXQhIHJlc3VsdCAo
Y2FyIGtleS1hbmQtcGF0dGVybikgdmFsdWUpKQoJCQkJICAgKSkpIHBhdHRlcm5zKSkpKSkp
KSkpKQogICAgcmVzdWx0KSkKCjs7IHRoZSBmb2xsb3dpbmcgZnVuY3Rpb24gcmVjdXJzaXZl
bHkgcmVhZHMgYSBkaXJlY3RvcnkgY29udGFpbmluZwo7OyBlaXRoZXIgYSBHbm9tZSBvciBL
REUgTWVudSBhbmQgYnVpbGRzIGEgbGlzdCBjb250YWluaW5nIGFsbAo7OyBpbmZvcm1hdGlv
biByZXF1aXJlZCB0byBnZW5lcmF0ZSBhICh0cmVlIG9mKSBtZW51KHMpCihkZWZpbmUgKHJl
YWRkaXItcmVjIGRpcmVjdG9yeSkKICAobGV0ICgocmVzdWx0ICcoKSkKCShkZXNrdG9wLXJl
Z2V4cCAobWFrZS1yZWdleHAgIi4qXC4oZGVza3RvcHxrZGVsbmspJCIpKSkKICAgIChpZiAo
YW5kIChzdHJpbmc/IGRpcmVjdG9yeSkgCgkgICAgIChmaWxlLWV4aXN0cz8gZGlyZWN0b3J5
KQoJICAgICAoZmlsZS1pcy1kaXJlY3Rvcnk/IGRpcmVjdG9yeSkKCSAgICAgKGFjY2Vzcz8g
ZGlyZWN0b3J5IFJfT0spKQoJKHNldCEgcmVzdWx0CgkgICAgICAoYXBwZW5kIHJlc3VsdAoJ
CSAgICAgIChsZXQgb3V0ZXIgKChwYXRoIGRpcmVjdG9yeSkKCQkJCSAgKGxldmVsICIiKSkK
CQkJKGxldCAoKGRpciAob3BlbmRpciBwYXRoKSkKCQkJICAgICAgKGlubmVyLXJlcyAnKCkp
KQoJCQkgIChsZXQgaW5uZXIgKChkaXJlbnQgKHJlYWRkaXIgZGlyKSkpCgkJCSAgICAobGV0
ICgoZnVsbHBhdGggKGFuZCAoc3RyaW5nPyBkaXJlbnQpCgkJCQkJCSAoc3RyaW5nLWFwcGVu
ZCBwYXRoICIvIiBkaXJlbnQpKSkKCQkJCSAgKGNvbnRlbnQtZG90LWRpcmVjdG9yeSAnKCkp
CgkJCQkgIChjb250ZW50LWRvdC1vcmRlciAnKCkpKQoJCQkgICAgICAoaWYgKHN0cmluZz8g
ZGlyZW50KQoJCQkJICAoYmVnaW4KCQkJCSAgICAoaWYgKGFuZAoJCQkJCSAobm90IChvciAo
ZXF1YWw/IGRpcmVudCAiLiIpCgkJCQkJCSAgKGVxdWFsPyBkaXJlbnQgIi4uIikpKSkKCQkJ
CQkoYmVnaW4KCQkJCQkgIChzZXQhIGlubmVyLXJlcwoJCQkJCQkoYXBwZW5kIGlubmVyLXJl
cwoJCQkJCQkJKGNvbmQKCQkJCQkJCSAoKGZpbGUtaXMtZGlyZWN0b3J5PyBmdWxscGF0aCkK
CQkJCQkJCSAgOzsgZGV0ZXJtaW5lIHRoZSBuYW1lIG9mIHRoZSBtZW51IGVudHJ5CgkJCQkJ
CQkgIDs7IGFuZCB0aGUgaWNvbiAoaWYgYW55KSBmcm9tIHRoZSAuZGlyZWN0b3J5CgkJCQkJ
CQkgIDs7IGZpbGUgbG9jYXRlZCBpbiBmdWxscGF0aAoJCQkJCQkJICAoc2V0ISBjb250ZW50
LWRvdC1kaXJlY3RvcnkgKHByb2Nlc3MtZGlyZWN0b3J5LWZpbGUtaW4tZGlyIGZ1bGxwYXRo
KSkKCQkJCQkJCSAgOzsoc2V0ISBjb250ZW50LWRvdC1vcmRlciAocHJvY2Vzcy1vcmRlci1m
aWxlLWluLWRpciBmdWxscGF0aCkpCgkJCQkJCQkgIChsaXN0IChhcHBlbmQgKGFwcGVuZCAo
bGlzdCBkaXJlbnQpIGNvbnRlbnQtZG90LWRpcmVjdG9yeSkKCQkJCQkJCQkJKGlmIChlcT8g
Y29udGVudC1kb3Qtb3JkZXIgJygpKQoJCQkJCQkJCQkgICAgJygpCgkJCQkJCQkJCSAgICAo
bGlzdCAobGlzdCAna2V5LW9yZGVyIGNvbnRlbnQtZG90LW9yZGVyKSkpCgkJCQkJCQkJCShh
Y29ucwoJCQkJCQkJCQkgJ2tleS1kaXItY29udGVudHMKCQkJCQkJCQkJIChvdXRlciBmdWxs
cGF0aCAoc3RyaW5nLWFwcGVuZCBsZXZlbCAiXHQiKSkKCQkJCQkJCQkJICcoKSkpKSkKCQkJ
CQkJCSAoI3QKCQkJCQkJCSAgKGNvbmQKCQkJCQkJCSAgICgocmVnZXhwLWV4ZWMgZGVza3Rv
cC1yZWdleHAgZGlyZW50KQoJCQkJCQkJICAgIChsaXN0IChsaXN0ICdrZXktaXRlbSAocHJv
Y2Vzcy1kb3QtZGVza3RvcCBmdWxscGF0aCkpKQoJCQkJCQkJICAgICkKCQkJCQkJCSAgICgj
dCAnKCkpKSkKCQkJCQkJCSApKSkpCgkJCQkJI2YpCgkJCQkgICAgKGlubmVyIChyZWFkZGly
IGRpcikpKQoJCQkJICAjZikpKQoJCQkgIChjbG9zZWRpciBkaXIpCgkJCSAgaW5uZXItcmVz
KSkpKSkKICAgIHJlc3VsdCkpCgoKOzsgdGhlIGZvbGxvd2luZyBmdW5jdGlvbiByZXR1cm5z
IGEgbWVudSB0aGF0IGlzIG1hZGUgdXAgYnkgdGhlCjs7IGluZm9ybWF0aW9uIG9mIHRoZSBn
aXZlbiBkaXJlY3RvcnkgKHdoaWNoIGlzIGV4cGVjdGVkIHRvIGNvbnRhaW4gYQo7OyBHbm9t
ZSBvciBLREUgbWVudSkKKGRlZmluZSogKGdlbmVyYXRlLW1lbnUtZnJvbS1zdHJ1Y3R1cmVk
LWRpcmVjdG9yeSBkaXJlY3RvcnkgIyZvcHRpb25hbCB0aXRsZSkKICAobGV0ICgoc3RydWN0
dXJlZC1kaXItbGlzdCAocmVhZGRpci1yZWMgZGlyZWN0b3J5KSkpCiAgICAoaWYgc3RydWN0
dXJlZC1kaXItbGlzdAoJKG1ha2UtYWxsLXN1Ym1lbnVzIHN0cnVjdHVyZWQtZGlyLWxpc3Qg
dGl0bGUpCgkjZikpKQoKCjs7IGxpa2UgZ2VuZXJhdGUtbWVudS1mcm9tLXN0cnVjdHVyZWQt
ZGlyZWN0b3J5LCBidXQgZm9yIGEgbGlzdCBvZgo7OyBkaXJlY3RvcmllcwooZGVmaW5lKiAo
Z2VuZXJhdGUtbWVudS1mcm9tLWxpc3Qtb2Ytc3RydWN0dXJlZC1kaXJlY3RvcmllcyBkaXJl
Y3RvcnktbGlzdAoJCQkJCQkJICAgIHRpdGxlCgkJCQkJCQkgICAgIyZvcHRpb25hbCB0aXRs
ZS1saXN0KQogIChsZXQgKCh0aXRsZS1saXN0LWZvci1tYXAgJygpKSkKICAgIChpZiAoYm91
bmQ/IHRpdGxlLWxpc3QpCgkoc2V0ISB0aXRsZS1saXN0LWZvci1tYXAgdGl0bGUtbGlzdCkp
CiAgICAoZG8gKCh0aXRsZSAidW50aXRsZWQiICJ1bnRpdGxlZCIpKQoJKChlcT8gKGxlbmd0
aCB0aXRsZS1saXN0LWZvci1tYXApIChsZW5ndGggZGlyZWN0b3J5LWxpc3QpKSkKICAgICAg
KHNldCEgdGl0bGUtbGlzdC1mb3ItbWFwCgkgICAgKGFwcGVuZCB0aXRsZS1saXN0LWZvci1t
YXAgKGxpc3QgdGl0bGUpKSkpCiAgICAobWVudQogICAgIChhcHBlbmQKICAgICAgKGxpc3QK
ICAgICAgIChtZW51LXRpdGxlIHRpdGxlKQogICAgICAgbWVudS1zZXBhcmF0b3IpCiAgICAg
IChtYXAKICAgICAgIChsYW1iZGEqIChkaXJlY3RvcnkgdGl0bGUpCgkJKG1lbnVpdGVtIHRp
dGxlCgkJCSAgIzpzdWJtZW51IChnZW5lcmF0ZS1tZW51LWZyb20tc3RydWN0dXJlZC1kaXJl
Y3RvcnkgZGlyZWN0b3J5IHRpdGxlKSkpCiAgICAgICBkaXJlY3RvcnktbGlzdCB0aXRsZS1s
aXN0LWZvci1tYXApKSkpKQoKCjs7IHJldHVybnMgdGhlIEdub21lIFN5c3RlbSBtZW51cyAo
dGhlIG9uZSB5b3UgZ2V0IGFzIHRvcC1sZXZlbAo7OyBkaXJlY3RvcnkgaW4gdGhlIHBhbmVs
KQooZGVmaW5lKiAoZ2VuZXJhdGUtZ25vbWUtc3lzdGVtLW1lbnUgIyZvcHRpb25hbAoJCQkJ
ICAgICAocGF0aCAiL3Vzci9zaGFyZS9nbm9tZS9hcHBzIikKCQkJCSAgICAgKHRpdGxlICJT
eXN0ZW0gTWVudXMiKSkKICAoZ2VuZXJhdGUtbWVudS1mcm9tLXN0cnVjdHVyZWQtZGlyZWN0
b3J5IHBhdGggdGl0bGUpCikKCgo7OyByZXR1cm5zIHRoZSBBbm90aGVyTGV2ZWwgbWVudXMK
KGRlZmluZSogKGdlbmVyYXRlLWFub3RoZXItbGV2ZWwtbWVudSAjJm9wdGlvbmFsCgkJCQkg
ICAgICAocGF0aCAoc3RyaW5nLWFwcGVuZCAoZ2V0ZW52ICJIT01FIikgIi8uZ25vbWUvYXBw
cy1yZWRoYXQiKSkKCQkJCSAgICAgICh0aXRsZSAiQW5vdGhlckxldmVsIE1lbnVzIikpCiAg
KGdlbmVyYXRlLW1lbnUtZnJvbS1zdHJ1Y3R1cmVkLWRpcmVjdG9yeSBwYXRoIHRpdGxlKQop
CgoKOzsgcmV0dXJucyB0aGUgR25vbWUgdXNlciBtZW51cwooZGVmaW5lKiAoZ2VuZXJhdGUt
Z25vbWUtdXNlci1tZW51ICMmb3B0aW9uYWwKCQkJCSAgIChwYXRoIChzdHJpbmctYXBwZW5k
IChnZXRlbnYgIkhPTUUiKSAiLy5nbm9tZS9hcHBzIikpCgkJCQkgICAodGl0bGUgIlVzZXIg
TWVudXMiKSkKICAoZ2VuZXJhdGUtbWVudS1mcm9tLXN0cnVjdHVyZWQtZGlyZWN0b3J5IHBh
dGggdGl0bGUpCikKCgo7OyByZXR1cm5zIHRoZSBLREUgbWVudXMKKGRlZmluZSogKGdlbmVy
YXRlLWtkZS1tZW51ICMmb3B0aW9uYWwKCQkJICAgIChwYXRoICIvdXNyL3NoYXJlL2FwcGxu
ayIpCgkJCSAgICAodGl0bGUgIktERSBNZW51cyIpKQogIChnZW5lcmF0ZS1tZW51LWZyb20t
c3RydWN0dXJlZC1kaXJlY3RvcnkgcGF0aCB0aXRsZSkKKQoKOzsocG9wdXAtbWVudSAoZ2Vu
ZXJhdGUtZ25vbWUtc3lzdGVtLW1lbnUpKQo7Oyhwb3B1cC1tZW51IChnZW5lcmF0ZS1nbm9t
ZS11c2VyLW1lbnUpKQo7Oyhwb3B1cC1tZW51IChnZW5lcmF0ZS1hbm90aGVyLWxldmVsLW1l
bnUpKQo7Oyhwb3B1cC1tZW51IChnZW5lcmF0ZS1rZGUtbWVudSkpCjs7KHBvcHVwLW1lbnUg
KGdlbmVyYXRlLW1lbnUtZnJvbS1saXN0LW9mLXN0cnVjdHVyZWQtZGlyZWN0b3JpZXMKOzsJ
ICAgICAobGlzdCAiL3Vzci9zaGFyZS9nbm9tZS9hcHBzIiAoc3RyaW5nLWFwcGVuZCAoZ2V0
ZW52ICJIT01FIikgIi8uZ25vbWUvYXBwcy1yZWRoYXQiKSAiL3Vzci9zaGFyZS9hcHBsbmsi
KQo7OwkgICAgICJURVNUIgo7OwkgICAgIChsaXN0ICJTeXN0ZW0gTWVudXMiICJBbm90aGVy
TGV2ZWwgTWVudXMiICJLREUgTWVudXMiKSkpCg==

--Multipart_Mon_Nov_29_18:55:48_1999-1--

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Nov 29 14:07:48 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA20608
	for scwm-discuss-outgoing; Mon, 29 Nov 1999 14:07:48 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA20605
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 29 Nov 1999 14:07:36 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id LAA15677;
	Mon, 29 Nov 1999 11:07:19 -0800
To: Michael Schmitz <mschmitz@sema.de>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: a module for generating Gnome and KDE menus
References: <199911291755.RAA15923@rm400.sema.de>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 29 Nov 1999 11:07:19 -0800
In-Reply-To: Michael Schmitz's message of "Mon, 29 Nov 1999 17:55:49 GMT"
Message-ID: <qrr903hyv4o.fsf@clavicle.cs.washington.edu>
Lines: 42
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Michael Schmitz <mschmitz@sema.de> writes:

> --Multipart_Mon_Nov_29_18:55:48_1999-1
> Content-Type: text/plain; charset=US-ASCII
> 
> 
> Hello all!
> 
> After lots of hours I spent on learning Guile, I finally have a module
> that reads and interprets directories that define a Gnome or KDE
> menu. It's all but perfect, but it works (at least on my home and
> company computers). It generates menus in the way the Gnome panel
> does. The main difference concerns the order of the menu items. While
> the menu generated by my modules are unsorted, Gnome and KDE menus are
> sorted alphabetically (and/or as specified in the Gnome .order and KDE
> .directory files).

Thanks for the great contribution!  Couple of things from a quick look:

o Please add a copyright and a distribution license (hopefully GPL) so
that I can include your work with Scwm.

o basename is already defined by Guile;  we also define a slightly
different `remove-suffix' in stringops.scm.  Perhaps one of these
will suffice rather than reinventing that wheel.

o None of your procedures are -public;  for another module or a startup
file to be able to use your module beneficially, it's likely that the
various generate-menu-* procedures should use define*-public, not
define*.  Other procs may be useful to expose publically, too.

o The current convention in std-menus.scm is to call menu making
procedures `make-menu-*' instead of `generate-menu-*';  perhaps you'd
consider renaming those procedures

You may want to repost your next version in plain ASCII (it's easier for
others to comment on your code, etc.).

Thanks again for this work-- it seems highly useful... I hope you've
enjoyed learning Guile, too!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov 30 03:52:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA21727
	for scwm-discuss-outgoing; Tue, 30 Nov 1999 03:52:16 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from igate.sema.de (in-proxy.sema.de [194.123.157.114])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA21724
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 30 Nov 1999 03:52:11 -0500
Received: from rm400.sema.de (rm400.sema.de [192.168.70.31])
	by igate.sema.de (8.8.8/8.8.8) with ESMTP id JAA32306;
	Tue, 30 Nov 1999 09:52:04 +0100
Received: (from mschmitz@localhost)
	by rm400.sema.de (8.8.8/8.8.8) id IAA20202;
	Tue, 30 Nov 1999 08:34:21 GMT
Date: Tue, 30 Nov 1999 08:34:21 GMT
Message-Id: <199911300834.IAA20202@rm400.sema.de>
From: Michael Schmitz <mschmitz@sema.de>
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: a module for generating Gnome and KDE menus
In-Reply-To: <qrr903hyv4o.fsf@clavicle.cs.washington.edu>
References: <199911291755.RAA15923@rm400.sema.de>
	<qrr903hyv4o.fsf@clavicle.cs.washington.edu>
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: multipart/mixed;
 boundary="Multipart_Tue_Nov_30_09:34:19_1999-1"
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

--Multipart_Tue_Nov_30_09:34:19_1999-1
Content-Type: text/plain; charset=US-ASCII


>>>>> "Greg" == Greg J Badros <gjb@cs.washington.edu> writes:

    Greg> Thanks for the great contribution!  Couple of things from a
    Greg> quick look:

    Greg> o Please add a copyright and a distribution license
    Greg>   (hopefully GPL) so that I can include your work with Scwm.

I added a copyright notice in the revision added below.

    Greg> o basename is already defined by Guile; we also define a
    Greg>   slightly different `remove-suffix' in stringops.scm.
    Greg>   Perhaps one of these will suffice rather than reinventing
    Greg>   that wheel.

The problem is that fvwm-module.scm contains a buggy definition of
basename which shadows Guile's basename (which actually works). So
maybe we should remove basename from both fvwm-module.scm and
gnome-panel-menus.scm.

    Greg> o None of your procedures are -public;  for another module
    Greg>   or a startup file to be able to use your module
    Greg>   beneficially, it's likely that the various generate-menu-*
    Greg>   procedures should use define*-public, not define*.

I fixed this, thank's for your hint.

    Greg>   Other procs may be useful to expose publically, too.

You might be right, but I'd like to write some documentation on the
list returned by readdir-rec (a f... function I spent most of my time
for).

    Greg> o The current convention in std-menus.scm is to call menu
    Greg>   making procedures `make-menu-*' instead of
    Greg>   `generate-menu-*'; perhaps you'd consider renaming those
    Greg>   procedures

Ok, changed.

    Greg> You may want to repost your next version in plain ASCII
    Greg> (it's easier for others to comment on your code, etc.).

Sorry, my fault.

    Greg> Thanks again for this work-- it seems highly useful... I
    Greg> hope you've enjoyed learning Guile, too!

I did not enjoy it too much since the documentation is less then
rudimentary. This makes it quite hard for a newbie since it's a little
bit frustrating. How can I use a function X whose definition I don't
understand and where there is no documentation for. The learning curve
is too flat (in my personal opinion) and will keep some people from
continuing.

Michael.



--Multipart_Tue_Nov_30_09:34:19_1999-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="gnome-panel-menus.scm"
Content-Transfer-Encoding: 7bit

;;;; $Id: gnome-panel-menus.scm,v 1.1.2.1 1999/11/30 08:33:45 mschmitz Exp $
;;;; Copyright (C) 1999 Michael Schmitz <mschmitz@iname.com>
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2, or (at your option)
;;;; any later version.
;;;;
;;;; This program is distributed in the hope that it will be useful,
;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;;; GNU General Public License for more details.
;;;;
;;;; You should have received a copy of the GNU General Public License
;;;; along with this software; see the file COPYING.  If not, write to
;;;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
;;;; Boston, MA 02111-1307 USA
;;;;



;; This module serves setting up menus from directories that represent
;; either Gnome or KDE menus. It contains the following functions of
;; interest:
;;
;; (make-menu-gnome-system #&optional path title)
;;     returns the Gnome System menus (the one you get as top-level
;;     directory in the panel)
;;
;; (make-menu-another-level #&optional path title)
;;     returns the AnotherLevel menus
;;
;; (make-menu-gnome-user #&optional path title)
;;     returns the Gnome user menus
;;
;; (make-menu-kde #&optional path title)
;;     returns the KDE menus

;; TODO
;;   1.  There's no documentation of the structure of the list set up
;;       by readdir-rec. Some other potentially useful (?) functions
;;       are useless as long as it is missing.
;;   2.  Sort menu items alphabetically and evaluate order specified
;;       in the Gnome .order and KDE .directory files.

(define-module (app scwm gnome-panel-menus)
  :use-module (app scwm base)
  :use-module (app scwm optargs)
  :use-module (ice-9 regex))


;; I need the following function since (basename "/a/b/c") from
;; fvwm-module.scm returns "/c" and I really like this module...
(define (basename filename)
  (let ((index (string-rindex filename #\/)))
    (if index
	(substring filename (+ index 1))
	filename)))


(define (create-menuitem elem)
  (cond
   ((eq? (car elem) 'key-item)
    (let* ((list (cadr elem))
	   (icon (and (pair? (assq 'key-icon list)) (cdr (assq 'key-icon list))))
	   (name (and (pair? (assq 'key-name list)) (cdr (assq 'key-name list))))
	   (exec (cdr (assq 'key-exec list)))
	   (image-height (+ 2 (assoc-ref (font-properties *menu-font*) 'height)))
	   (image-width image-height)
	   (image #f))
      (if (not name)
	  ;; sometimes there's no matching 'Name[*]=' entry in a Gnome
	  ;; *.desktop or KDE *.kdelnk file; we use information from the
	  ;; filename in this case
	  (set! name
		(substring (cdr (assq 'key-file list))
			   0
			   (string-index (cdr (assq 'key-file list)) #\.))))
      (if (not (eq? icon #f))
	  (set! image (make-image icon)))
      (if (not (equal? image #f))
	  (menuitem name
		    #:image-left (clone-scaled-image image
						     image-width
						     image-height)
		    #:action (exe exec))
	  (menuitem name
		    #:action (exe exec)))))
  ((string? (car elem))
   (menuitem (car elem)
	     #:submenu (make-submenu (car elem)
				     (cdr elem))))
  ))


(define (make-submenu default-name menu-spec)
  (let* ((name (or (and (pair? (assq 'key-name menu-spec))
			(cdr (assq 'key-name menu-spec)))
		   default-name))
	 (icon (and (pair? (assq 'key-icon menu-spec)) (cdr (assq 'key-icon menu-spec))))
	 (items (cdr (assq 'key-dir-contents menu-spec)))
	 (image-height (+ 2 (assoc-ref (font-properties *menu-font*) 'height)))
	 (image-width image-height))
    (if (> (length items) 0)
	(menu
	 (append (list
		  (if (not (eq? icon #f))
		      (menu-title name
				  #:image-left (clone-scaled-image (make-image icon)
								   image-width
								   image-height))
		      (menu-title name))
		  menu-separator)
		 (map (lambda (elem)
			(create-menuitem elem))
		      items)))
	(menu
	 (list
	  (menuitem (string-append name " (empty)")
	   #:image-left (clone-scaled-image (make-image "gnome-folder.png")
					    image-width
					    image-height)
	   #:action noop))))))


(define* (make-all-submenus structured-list #&optional title)
  (menu
   (append
    (if (bound? title)
	(list (menu-title title)
	      menu-separator)
	'())
      (map
       (lambda (structured-list-elem)
	 (if (string? (car structured-list-elem))
	     (menuitem (car structured-list-elem)
		       #:submenu (make-submenu (car structured-list-elem)
					       (cdr structured-list-elem)))
	     (create-menuitem structured-list-elem)))
       structured-list))))


;; the following function reads and evaluates a Gnome *.desktop or KDE
;; *.kdelnk file
(define (process-dot-desktop desktop-file)
  (let ((result '()))
    (if (and (string? desktop-file)
	     (file-exists? desktop-file)
	     (not (file-is-directory? desktop-file))
	     (access? desktop-file R_OK))
	(begin
	  (set! result (acons 'key-file (basename desktop-file) '()))
	  (call-with-input-file
	      desktop-file
	    (lambda (port)
	      (let* ((lang (getenv "LANG"))
		     (patterns (append (list (list 'key-name (make-regexp "^Name=")))
				       (if lang
					   (list (list 'key-name
						       (make-regexp
							(string-append
							 "^Name\\\["
							 (if (string-index lang #\_)
							     (substring lang 0 (string-index lang #\_))
							     (string-append lang "_\[A-Za-z\]*"))
							 "\\\]=")))
						 (list 'key-name (make-regexp (string-append "^Name\\\[" lang "\\\]="))))
					   '())
				       (list (list 'key-exec (make-regexp "^Exec="))
					     (list 'key-icon (make-regexp "^Icon="))
					     (list 'key-icon (make-regexp "^MiniIcon=")))))
		     (match #f)
		     (value #f))
		(do ((line (read-line port) (read-line port)))
		    ((eof-object? line))
		  (for-each
		   (lambda (key-and-pattern)
		     (set! match (regexp-exec (cadr key-and-pattern) line))
		     (if match
			 (begin
			   (set! value (make-shared-substring line (match:end match)))
			   (if (not (equal? value ""))
			       (begin
				 (set! result (assoc-set! result (car key-and-pattern) value))))
			   ))) patterns))
		)))))
    result))


;; the following function reads and evaluates a Gnome .order files
(define (process-order-file-in-dir directory)
  (let ((result '()))
    (if (and (string? directory)
	     (file-exists? directory)
	     (file-is-directory? directory)
	     (access? directory R_OK))
	(begin
	  (let ((order-file (string-append directory "/.order")))
	    (if (and (file-exists? order-file)
		     (not (file-is-directory? order-file))
		     (access? order-file R_OK))
		(begin
		  (call-with-input-file
		      order-file
		    (lambda (port)
		      (do ((line (read-line port) (read-line port)))
			  ((eof-object? line))
			(set! result (append result (list line)))))))))))
    result))


;; the following function reads and evaluates a Gnome and KDE
;; .directory files
(define (process-directory-file-in-dir directory)
  (let ((result '()))
    (if (and (string? directory)
	     (file-exists? directory)
	     (file-is-directory? directory)
	     (access? directory R_OK))
	(begin
	  (let ((directory-file (string-append directory "/.directory")))
	    (if (and (file-exists? directory-file)
		     (not (file-is-directory? directory-file))
		     (access? directory-file R_OK))
		(begin
		  (call-with-input-file
		      directory-file
		    (lambda (port)
		      (let* ((lang (getenv "LANG"))
			     (patterns (append (list (list 'key-name (make-regexp "^Name=")))
					       (if lang
						   (list (list 'key-name
							       (make-regexp
								(string-append
								 "^Name\\\["
								 (if (string-index lang #\_)
								     (substring lang 0 (string-index lang #\_))
								     (string-append lang "_\[A-Za-z\]*"))
								 "\\\]=")))
							 (list 'key-name (make-regexp (string-append "^Name\\\[" lang "\\\]="))))
						   '())
					       (list (list 'key-icon (make-regexp "^Icon=")))))
			     (match #f)
			     (value #f))
			(do ((line (read-line port) (read-line port)))
			    ((eof-object? line))
			  (for-each
			   (lambda (key-and-pattern)
			     (set! match (regexp-exec (cadr key-and-pattern) line))
			     (if match
				 (begin
				   (set! value (make-shared-substring line (match:end match)))
				   (set! result (assoc-set! result (car key-and-pattern) value))
				   ))) patterns))))))))))
    result))


;; the following function recursively reads a directory containing
;; either a Gnome or KDE Menu and builds a list containing all
;; information required to generate a (tree of) menu(s)
(define (readdir-rec directory)
  (let ((result '())
	(desktop-regexp (make-regexp ".*\.(desktop|kdelnk)$")))
    (if (and (string? directory) 
	     (file-exists? directory)
	     (file-is-directory? directory)
	     (access? directory R_OK))
	(set! result
	      (append result
		      (let outer ((path directory)
				  (level ""))
			(let ((dir (opendir path))
			      (inner-res '()))
			  (let inner ((dirent (readdir dir)))
			    (let ((fullpath (and (string? dirent)
						 (string-append path "/" dirent)))
				  (content-dot-directory '())
				  (content-dot-order '()))
			      (if (string? dirent)
				  (begin
				    (if (and
					 (not (or (equal? dirent ".")
						  (equal? dirent ".."))))
					(begin
					  (set! inner-res
						(append inner-res
							(cond
							 ((file-is-directory? fullpath)
							  ;; determine the name of the menu entry
							  ;; and the icon (if any) from the .directory
							  ;; file located in fullpath
							  (set! content-dot-directory (process-directory-file-in-dir fullpath))
							  ;;(set! content-dot-order (process-order-file-in-dir fullpath))
							  (list (append (append (list dirent) content-dot-directory)
									(if (eq? content-dot-order '())
									    '()
									    (list (list 'key-order content-dot-order)))
									(acons
									 'key-dir-contents
									 (outer fullpath (string-append level "\t"))
									 '()))))
							 (#t
							  (cond
							   ((regexp-exec desktop-regexp dirent)
							    (list (list 'key-item (process-dot-desktop fullpath)))
							    )
							   (#t '())))
							 ))))
					#f)
				    (inner (readdir dir)))
				  #f)))
			  (closedir dir)
			  inner-res)))))
    result))


;; the following function returns a menu that is made up by the
;; information of the given directory (which is expected to contain a
;; Gnome or KDE menu)
(define* (make-menu-from-structured-directory directory #&optional title)
  (let ((structured-dir-list (readdir-rec directory)))
    (if structured-dir-list
	(make-all-submenus structured-dir-list title)
	#f)))


;; like make-menu-from-structured-directory, but for a list of
;; directories
(define* (make-menu-from-list-of-structured-directories directory-list
							title
							#&optional title-list)
  (let ((title-list-for-map '()))
    (if (bound? title-list)
	(set! title-list-for-map title-list))
    (do ((title "untitled" "untitled"))
	((eq? (length title-list-for-map) (length directory-list)))
      (set! title-list-for-map
	    (append title-list-for-map (list title))))
    (menu
     (append
      (list
       (menu-title title)
       menu-separator)
      (map
       (lambda* (directory title)
		(menuitem title
			  #:submenu (make-menu-from-structured-directory directory title)))
       directory-list title-list-for-map)))))


;; returns the Gnome System menus (the one you get as top-level
;; directory in the panel)
(define*-public (make-menu-gnome-system #&optional
					    (path "/usr/share/gnome/apps")
					    (title "System Menus"))
  (make-menu-from-structured-directory path title)
)


;; returns the AnotherLevel menus
(define*-public (make-menu-another-level #&optional
					     (path (string-append (getenv "HOME") "/.gnome/apps-redhat"))
					     (title "AnotherLevel Menus"))
  (make-menu-from-structured-directory path title)
)


;; returns the Gnome user menus
(define*-public (make-menu-gnome-user #&optional
					  (path (string-append (getenv "HOME") "/.gnome/apps"))
					  (title "User Menus"))
  (make-menu-from-structured-directory path title)
)


;; returns the KDE menus
(define*-public (make-menu-kde #&optional
				   (path "/usr/share/applnk")
				   (title "KDE Menus"))
  (make-menu-from-structured-directory path title)
)

;;(popup-menu (make-menu-gnome-system-menu))
;;(popup (make-menu-gnome-user-menu))
;;(popup (make-menu-another-level-menu))
;;(popup (make-menu-kde-menu))
;;(popup (make-menu-from-list-of-structured-directories
;;	     (list "/usr/share/gnome/apps" (string-append (getenv "HOME") "/.gnome/apps-redhat") "/usr/share/applnk")
;;	     "TEST"
;;	     (list "System Menus" "AnotherLevel Menus" "KDE Menus")))

--Multipart_Tue_Nov_30_09:34:19_1999-1--

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Nov 30 11:39:06 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA24822
	for scwm-discuss-outgoing; Tue, 30 Nov 1999 11:39:06 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA24819
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 30 Nov 1999 11:39:00 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id IAA19940;
	Tue, 30 Nov 1999 08:38:48 -0800
To: Michael Schmitz <mschmitz@sema.de>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: a module for generating Gnome and KDE menus
References: <199911291755.RAA15923@rm400.sema.de> <qrr903hyv4o.fsf@clavicle.cs.washington.edu> <199911300834.IAA20202@rm400.sema.de>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 30 Nov 1999 08:38:48 -0800
In-Reply-To: Michael Schmitz's message of "Tue, 30 Nov 1999 08:34:21 GMT"
Message-ID: <qrremd8x7c7.fsf@clavicle.cs.washington.edu>
Lines: 94
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Michael Schmitz <mschmitz@sema.de> writes:

> --Multipart_Tue_Nov_30_09:34:19_1999-1
> Content-Type: text/plain; charset=US-ASCII
> 
> 
> >>>>> "Greg" == Greg J Badros <gjb@cs.washington.edu> writes:
> 
>     Greg> Thanks for the great contribution!  Couple of things from a
>     Greg> quick look:
> 
>     Greg> o Please add a copyright and a distribution license
>     Greg>   (hopefully GPL) so that I can include your work with Scwm.
> 
> I added a copyright notice in the revision added below.

Great, thanks!

>     Greg> o basename is already defined by Guile; we also define a
>     Greg>   slightly different `remove-suffix' in stringops.scm.
>     Greg>   Perhaps one of these will suffice rather than reinventing
>     Greg>   that wheel.
> 
> The problem is that fvwm-module.scm contains a buggy definition of
> basename which shadows Guile's basename (which actually works). So
> maybe we should remove basename from both fvwm-module.scm and
> gnome-panel-menus.scm.

Well, the one in fvwm-module is protected by a (if (not (defined? 'basename))...)
so it doesn't actually get re-defined.  It's no longer necessary,
though, as we don't support guile versions so old as to not have
basename.  I'll take it out.  Thanks for suggesting this!

>     Greg> o None of your procedures are -public;  for another module
>     Greg>   or a startup file to be able to use your module
>     Greg>   beneficially, it's likely that the various generate-menu-*
>     Greg>   procedures should use define*-public, not define*.
> 
> I fixed this, thank's for your hint.

Great!

> 
>     Greg>   Other procs may be useful to expose publically, too.
> 
> You might be right, but I'd like to write some documentation on the
> list returned by readdir-rec (a f... function I spent most of my time
> for).

That's great-- one thing about public procedures is that the doc
extraction system warns if they are not commented.

>     Greg> o The current convention in std-menus.scm is to call menu
>     Greg>   making procedures `make-menu-*' instead of
>     Greg>   `generate-menu-*'; perhaps you'd consider renaming those
>     Greg>   procedures
> 
> Ok, changed.

Great, thanks.

>     Greg> You may want to repost your next version in plain ASCII
>     Greg> (it's easier for others to comment on your code, etc.).
> 
> Sorry, my fault.

Not a big deal-- but some of us use GNUS to read mail and don't like tm
so much.

>     Greg> Thanks again for this work-- it seems highly useful... I
>     Greg> hope you've enjoyed learning Guile, too!
> 
> I did not enjoy it too much since the documentation is less then
> rudimentary. This makes it quite hard for a newbie since it's a little
> bit frustrating. How can I use a function X whose definition I don't
> understand and where there is no documentation for. The learning curve
> is too flat (in my personal opinion) and will keep some people from
> continuing.

I agree;  the lack of documentation for Guile is painful.  It's
complicated by the fact that the documentation that does exist is spread 
out across numerous different place (e.g., R4RS procedures are in one
place, Guile procedures are somewhere else).

I'd love to see an O'Reilly book about Guile/Scheme, and actually
mentioned this to Tim O'Reilly at Linux Expo '99;  I'll do it myself
(hopefully with some co-authors) after I finish my PhD if no one beats
me to it.

Thanks for the improvements--- I'll commit this version;  please feel
free to send patches (or fully new versions) as you improve or bug-fix
it. 

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Dec  3 12:27:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA04990
	for scwm-discuss-outgoing; Fri, 3 Dec 1999 12:27:11 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from w2.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA04987
	for <scwm-discuss@scwm.mit.edu>; Fri, 3 Dec 1999 12:27:05 -0500
Received: from mizar (r3p069.ntt.it [194.75.44.69]) by w2.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id SAA27086 for <scwm-discuss@scwm.mit.edu>; Fri, 3 Dec 1999 18:27:31 +0100 (NFT)
Received: from cesco by mizar with local (Exim 3.03 #1 (Debian))
	id 11twLL-0000ok-00
	for <scwm-discuss@scwm.mit.edu>; Fri, 03 Dec 1999 18:18:03 +0100
Date: Fri, 3 Dec 1999 18:18:03 +0100
From: Francesco Tapparo <cesco@ntt.it>
To: scwm-discuss@scwm.mit.edu
Subject: Re: debianapss module
Message-ID: <19991203181803.A3080@ntt.it>
Reply-To: cesco@debian.org
Mail-Followup-To: scwm-discuss@scwm.mit.edu
References: <19991128150013.A8648@ntt.it>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
In-Reply-To: <19991128150013.A8648@ntt.it>; from cesco@ntt.it on Sun, Nov 28, 1999 at 03:00:13PM +0100
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Sun, Nov 28, 1999 at 03:00:13PM +0100, Francesco Tapparo wrote:
> Hi,
> 
>    I wrote a mini module to read the menu of the debian systems. It is
> rather simple, because all the hard work is done by the debian menu system
> (it creates the scheme code to do the menus and it put in
> /etc/X11/scwm/scwm_menus).

Ok, this is the second version of my debianapps module. These are the
differences with the first version:

1) some cleaning of the code (please let me know about every bad-style
scheme code: I want learn to write decent scheme).
2) make-debianapps-menu pass its arguments to menu, so it's now possible to
add a side-image by example.
3) I created the option *debian-menu-path*, and make-debianapps-menu search
the scwm_menus file in that path. Perhaps a file list would be better here
(something as '("/etc/X11/scwm/scwm_menus" "/home/cesco/personal_menus")),
but I do'nt know if I can use the #:path type in this case.
4) I borrowed some code from Greg's system.scwmrc to make the generated menu
more good looking. I kept out some menu entries because they call proprietary 
programs (Netscape): this is not very good for a debian package. 

A lot of kudos for the options code: I simply added the option
*debian-menu-path* and now everyone can modify this value in a graphical way!

And now the code:

==========================BEGIN===============================
;;;; $Id: debianapps-menu.scm,v 1.1 1999/11/28 18:17:45 gjb Exp $
;;;; debianapps-menu.scm
;;;; (C) 1999 Francesco Tapparo and Greg J. Badros
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2, or (at your option)
;;;; any later version.
;;;;
;;;; This program is distributed in the hope that it will be useful,
;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;;; GNU General Public License for more details.
;;;;
;;;; You should have received a copy of the GNU General Public License
;;;; along with this software; see the file COPYING.  If not, write to
;;;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
;;;; Boston, MA 02111-1307 USA
;;;;
;;;; END OF LICENSE
;;;;
;;;; For Debian GNU/Linux systems.
;;;;
;;;; Changelog:
;;;; 12/3/1999 Francesco Tapparo: 
;;;;           moved the menuitems out of make-debianapps-menu
;;;;           now make-debianapps-menu accepts #&key arguments and
;;;;           pass them to menu.
;;;;           removed default-menu-file and added the *debian-menu-path*
;;;;           option
;;;;           the menu generated is now much more good looking and much
;;;;           more similar to the default one (code borrowed from 
;;;;           Greg's system.scwmrc)

(define-module (app scwm debianapps-menu)
  :use-module (app scwm std-menus)
  :use-module (app scwm base)
  :use-module (app scwm optargs)
  :use-module (app scwm defoption)
  :use-module (app scwm file)
  :use-module (app scwm winops-menu)
  :use-module (app scwm winlist-menu)
  :use-module (app scwm preferences))


(define-scwm-option *debian-menu-path* (list "/etc/X11/scwm")
  "The path (list of directories as strings) to search for the menuitems list"
  #:type 'path
  #:group 'file-locations)

(define-public default-title "Debian Apps")

(define (menu-header title)
  (list (menuitem title #f)
	menu-separator))

(define menu-footer 
  (list menu-separator
	(menuitem "&Window Operations" #:image-left "mini-zoom.xpm" 
		  #:submenu menu-window-ops)
	(menuitem "Windows by &resource" #:image-left "mini-windows.xpm" 
		  #:submenu (lambda () (make-window-list-menu #:by-resource #t)))
	menu-separator
	(menuitem "Scwm &Options...." #:action (lambda () (scwm-options-dialog)))	   
	(menuitem "Desks" #:submenu menu-desk)
	menu-separator
	(menuitem "Themes" #:submenu (lambda () (menu-global-theme)))
	(menuitem "E&xit Scwm" #:image-left "mini-stop.xpm" 
		  #:submenu menu-quit-verify)))


(define*-public (make-debianapps-menu #&key
				      (title default-title)
				      (menu-file "scwm_menus")
				      #&allow-other-keys
				      #&rest rest)

"Read menu-file and return a menu object.
TITLE is the string to be used as title of the menu.  MENU-FILE is the file used to create the menu entries, as generated by the menu program in the Debian systems. The rest of the arguments are passed to the menu procedure"

(load (find-file-in-path menu-file
			 (scwm-option-symget '*debian-menu-path*)))
(apply menu (append
	     (list (append (menu-header title) /Debian-list menu-footer))
	     rest)))

===========================END===================================

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Dec  3 13:04:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA05188
	for scwm-discuss-outgoing; Fri, 3 Dec 1999 13:04:57 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA05185
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 3 Dec 1999 13:04:54 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id KAA15012;
	Fri, 3 Dec 1999 10:04:39 -0800
To: cesco@debian.org
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: debianapss module
References: <19991128150013.A8648@ntt.it> <19991203181803.A3080@ntt.it>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 03 Dec 1999 10:04:39 -0800
In-Reply-To: Francesco Tapparo's message of "Fri, 3 Dec 1999 18:18:03 +0100"
Message-ID: <qrrvh6frjd4.fsf@clavicle.cs.washington.edu>
Lines: 73
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francesco Tapparo <cesco@ntt.it> writes:

> On Sun, Nov 28, 1999 at 03:00:13PM +0100, Francesco Tapparo wrote:
> > Hi,
> > 
> >    I wrote a mini module to read the menu of the debian systems. It is
> > rather simple, because all the hard work is done by the debian menu system
> > (it creates the scheme code to do the menus and it put in
> > /etc/X11/scwm/scwm_menus).
> 
> Ok, this is the second version of my debianapps module. These are the
> differences with the first version:
> 
> 1) some cleaning of the code (please let me know about every bad-style
> scheme code: I want learn to write decent scheme).
> 2) make-debianapps-menu pass its arguments to menu, so it's now possible to
> add a side-image by example.
> 3) I created the option *debian-menu-path*, and make-debianapps-menu search
> the scwm_menus file in that path. Perhaps a file list would be better here
> (something as '("/etc/X11/scwm/scwm_menus" "/home/cesco/personal_menus")),
> but I do'nt know if I can use the #:path type in this case.
> 4) I borrowed some code from Greg's system.scwmrc to make the generated menu
> more good looking. I kept out some menu entries because they call proprietary 
> programs (Netscape): this is not very good for a debian package. 

Great; thanks!  Some comments for you are below. 

> A lot of kudos for the options code: I simply added the option
> *debian-menu-path* and now everyone can modify this value in a graphical way!

Thanks!

<snip>

> (define-public default-title "Debian Apps")

This should be a longer variable name since it is public.  I've changed
it to default-debianapps-menu-title.  Perhaps it should be a
scwm-option, too?

> (define (menu-header title)
>   (list (menuitem title #f)
> 	menu-separator))

This should use `menu-title' instead of menuitem.  I've done so in the
version I'm committing.

<snip>

> (define*-public (make-debianapps-menu #&key
> 				      (title default-title)
> 				      (menu-file "scwm_menus")
> 				      #&allow-other-keys
> 				      #&rest rest)
> 
> "Read menu-file and return a menu object.
> TITLE is the string to be used as title of the menu.  MENU-FILE is the file used to create the menu entries, as generated by the menu program in the Debian systems. The rest of the arguments are passed to the menu procedure"
> 
> (load (find-file-in-path menu-file

Just as a style thing, there should be no blank lines before or after
the docstring, and the docstring should be wrapped appropriately.  It's
important that the first line is a summary sentence, but the rest should 
wrap to stay under around 75 chars/line

> 			 (scwm-option-symget '*debian-menu-path*)))
> (apply menu (append
> 	     (list (append (menu-header title) /Debian-list menu-footer))
> 	     rest)))

Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Dec  4 07:02:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA11108
	for scwm-discuss-outgoing; Sat, 4 Dec 1999 07:02:24 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from w2.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA11105
	for <scwm-discuss@scwm.mit.edu>; Sat, 4 Dec 1999 07:02:19 -0500
Received: from mizar (r2p109.ntt.it [194.73.94.237]) by w2.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id NAA20986; Sat, 4 Dec 1999 13:02:38 +0100 (NFT)
Received: from cesco by mizar with local (Exim 3.03 #1 (Debian))
	id 11uD7D-0000DL-00; Sat, 04 Dec 1999 12:12:35 +0100
Date: Sat, 4 Dec 1999 12:12:34 +0100
From: Francesco Tapparo <cesco@ntt.it>
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: cesco@debian.org, scwm-discuss@scwm.mit.edu
Subject: Re: debianapss module
Message-ID: <19991204121234.A168@ntt.it>
Reply-To: cesco@debian.org
Mail-Followup-To: "Greg J. Badros" <gjb@cs.washington.edu>,
	cesco@debian.org, scwm-discuss@SCWM.MIT.EDU
References: <19991128150013.A8648@ntt.it> <19991203181803.A3080@ntt.it> <qrrvh6frjd4.fsf@clavicle.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
In-Reply-To: <qrrvh6frjd4.fsf@clavicle.cs.washington.edu>; from gjb@cs.washington.edu on Fri, Dec 03, 1999 at 10:04:39AM -0800
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Fri, Dec 03, 1999 at 10:04:39AM -0800, Greg J. Badros wrote:
> Francesco Tapparo <cesco@ntt.it> writes:
> 
> > On Sun, Nov 28, 1999 at 03:00:13PM +0100, Francesco Tapparo wrote:
[snipped]
[snipped]
> > (define-public default-title "Debian Apps")
> 
> This should be a longer variable name since it is public.  I've changed
> it to default-debianapps-menu-title.  Perhaps it should be a
> scwm-option, too?

I thought about it, but I was worried about the pollution of options in the
scwm-options-dialog; here the question is how much should be pervasive the
scwm-options?
A scwm-option can be configured in a graphical way, but too much of
scwm-options can be confusing. If we want to be very pervasive, we'll need
(in the long term) a way to hide some of them to non experts eyes.
The move in my second revision of debianapps (to have 
default-debianapps-menu-title a public-variable but not a scwm-option) is 
not very smart: make-debianapps-menu support a #:title #&key, so I think we
have 2 choices:

1) make default-debianapps-menu-title a scwm-option
2) make defalut-debianapps-menu-title a non public variable 
(make-debianapps-menu permit to define the title with a #:title argument).

What so you think about it?

> 
> > (define (menu-header title)
> >   (list (menuitem title #f)
> > 	menu-separator))
> 
> This should use `menu-title' instead of menuitem.  I've done so in the
> version I'm committing.

Thanks, it's more good looking now. I've updated the menu-generator,too.

> 
> <snip>
> 
> > (define*-public (make-debianapps-menu #&key
> > 				      (title default-title)
> > 				      (menu-file "scwm_menus")
> > 				      #&allow-other-keys
> > 				      #&rest rest)
> > 
> > "Read menu-file and return a menu object.
> > TITLE is the string to be used as title of the menu.  MENU-FILE is the file used to create the menu entries, as generated by the menu program in the Debian systems. The rest of the arguments are passed to the menu procedure"
> > 
> > (load (find-file-in-path menu-file
> 
> Just as a style thing, there should be no blank lines before or after
> the docstring, and the docstring should be wrapped appropriately.  It's
> important that the first line is a summary sentence, but the rest should 
> wrap to stay under around 75 chars/line

OK, fixed. Can this cause problems with non 80x25 screens?

> 
> > 			 (scwm-option-symget '*debian-menu-path*)))
> > (apply menu (append
> > 	     (list (append (menu-header title) /Debian-list menu-footer))
> > 	     rest)))
> 
> Thanks!
> 
> Greg

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Dec  4 15:47:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA11833
	for scwm-discuss-outgoing; Sat, 4 Dec 1999 15:47:00 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA11830
	for <scwm-discuss@scwm.mit.edu>; Sat, 4 Dec 1999 15:46:53 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id MAA20282;
	Sat, 4 Dec 1999 12:46:34 -0800
To: scwm-discuss@scwm.mit.edu, guile@sourceware.cygnus.com
Subject: Scwm docstrings change
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 04 Dec 1999 12:46:34 -0800
Message-ID: <qrrwvquph79.fsf@clavicle.cs.washington.edu>
Lines: 50
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I just implemented the change to use literal strings as the final
argument to the SCWM_*PROC macros instead of using an embedded comment
following the complete macro invocation.  E.g., whereas Scwm used to use 
this:

SCWM_PROC(X_store_bytes, "X-store-bytes", 1, 0, 0,
	  (SCM string))
/** Set the cut buffer to STRING by calling XStoreBytes. */
#define FUNC_NAME s_X_store_bytes
{
  VALIDATE_ARG_STR_NEWCOPY(1,string,sz);
 // body removed
}
#undef FUNC_NAME

we now use:

SCWM_PROC(X_store_bytes, "X-store-bytes", 1, 0, 0,
	  (SCM string),
"Set the cut buffer to STRING by calling XStoreBytes.")
#define FUNC_NAME s_X_store_bytes
{
  VALIDATE_ARG_STR_NEWCOPY(1,string,sz);
 // body removed
}
#undef FUNC_NAME

This change makes it easier to more robustly extract the docstrings,
and, perhaps more importantly, makes the extracted-docstrings
represented the selected-for conditional-compilation version of the
source artifact (e.g., if a primitive is ifdef-ed out, it will not have
a docstring saved for it).  See `scwm-snarf' and `scwm-doc-snarf', as
well as the ./Makefile.common in the Scwm distribution for details on
how these are pulled out into a foo.doc file from foo.c or foo.cc.
Right now the scwmdoc script still statically scans the source artifact
and the .doc files are unused, but that's largely irrelevant for
starting to add the docstrings to guile.

The above is roughly the format I think guile procedures should take.
Note that the scwmdoc tool also statically verifies some source-code
invariants that result in nasty and sometimes hard to find bugs (e.g.,
that the integer arguments match the formal argument list).  I'll be
adding a GUILE_PROC macro to guile that mirrors SCWM_PROC and eliminates 
the separate SCM_PROC macro uses.  At the same time, I'll ANSI-Cify the
function headers that I touch.

Comments are appreciated as they'll be far more useful now than in 10
days or so when I start making these changes to Guile.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 02:05:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA13026
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 02:05:33 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from chaos.noisehavoc.org ([208.41.100.131])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA13022
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 5 Dec 1999 02:05:05 -0500
From: mstachow@alum.mit.edu
Received: from alum.mit.edu (localhost [127.0.0.1])
	by chaos.noisehavoc.org (8.9.3/8.9.3) with ESMTP id BAA12627;
	Sun, 5 Dec 1999 01:42:48 -0500
Message-ID: <384A0968.F4C109B9@alum.mit.edu>
Date: Sun, 05 Dec 1999 01:42:48 -0500
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-15 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: "Greg J. Badros" <gjb@cs.washington.edu>
CC: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Greg J. Badros" wrote:
> 
> I just implemented the change to use literal strings as the final
> argument to the SCWM_*PROC macros instead of using an embedded comment
> following the complete macro invocation.  E.g., whereas Scwm used to use
> this:
> 
> SCWM_PROC(X_store_bytes, "X-store-bytes", 1, 0, 0,
>           (SCM string))
> /** Set the cut buffer to STRING by calling XStoreBytes. */
> #define FUNC_NAME s_X_store_bytes
> {
>   VALIDATE_ARG_STR_NEWCOPY(1,string,sz);
>  // body removed
> }
> #undef FUNC_NAME
> 
> we now use:
> 
> SCWM_PROC(X_store_bytes, "X-store-bytes", 1, 0, 0,
>           (SCM string),
> "Set the cut buffer to STRING by calling XStoreBytes.")
> #define FUNC_NAME s_X_store_bytes
> {
>   VALIDATE_ARG_STR_NEWCOPY(1,string,sz);
>  // body removed
> }
> #undef FUNC_NAME
> 

I think this is a good change. It has the additional benefit that it's
impossible not to document a procedure - you could include an empty
docstring
parameter, but you'd have to go out of your way to do so.

However, for Guile I don't think we should change SCM_PROC to include
the C
argument list and to expand

Also, for Guile it will be necessary to add a documentation string
argument
to a few other macros, such as SCM_PROC1, SCM_GPROC, SCM_GPROC1, and
SCM_SYNTAX.

Finally, a few procedures in Guile are declared by manually calling
functions such as make_subr() or make_subr_opt() for various reasons,
so there should be a way to document a procedure that is not created
with one of the macros.

 - Maciej

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 11:05:30 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA16304
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 11:05:30 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA16300
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 5 Dec 1999 11:05:06 -0500
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id LAA02460;
	Sun, 5 Dec 1999 11:04:50 -0500 (EST)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.9.3/8.9.3) id LAA02302;
	Sun, 5 Dec 1999 11:04:47 -0500 (EST)
Date: Sun, 5 Dec 1999 11:04:47 -0500 (EST)
From: Stephen Tell <tell@cs.unc.edu>
To: "Greg J. Badros" <gjb@cs.washington.edu>
cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm docstrings change
In-Reply-To: <qrrwvquph79.fsf@clavicle.cs.washington.edu>
Message-ID: <Pine.GHP.4.10.9912051054020.2043-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 4 Dec 1999, Greg J. Badros wrote:

> Comments are appreciated as they'll be far more useful now than in 10
> days or so when I start making these changes to Guile.

You're adding a documentation facility like SCWM's to guile itself?  Cool.
That will be one less thing I have to borrow from SCWM for use in my own
(GPL'ed, of course) guile+C programs.  

I've also found these very useful:
the VALIDATE_ARG macros in validate.h
most of scwm_guile.h
the safe_  functions in callbacks.c   (which I renamed scwm_guile.c)
generating init_scheme_string.c from a minimal.scm
parts of guile-compat.c and guile-compat.h and configure.in
generate-scm-init-funcs

I was going to ask if you'd mind splitting some things off as a
"guile-application-builders-toolkit."  But if you could sneak a few more
of these into the guile core, that wouldn't be necessary. :-)

Steve



-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF




From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 12:05:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA16466
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 12:05:01 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from w2.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA16457
	for <scwm-discuss@scwm.mit.edu>; Sun, 5 Dec 1999 12:04:56 -0500
Received: from mizar (r3p065.ntt.it [194.75.44.65]) by w2.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id SAA56874 for <scwm-discuss@scwm.mit.edu>; Sun, 5 Dec 1999 18:05:07 +0100 (NFT)
Received: from cesco by mizar with local (Exim 3.03 #1 (Debian))
	id 11uf8I-0000QJ-00
	for <scwm-discuss@scwm.mit.edu>; Sun, 05 Dec 1999 18:07:34 +0100
Date: Sun, 5 Dec 1999 18:07:34 +0100
From: Francesco Tapparo <cesco@ntt.it>
To: scwm-discuss@scwm.mit.edu
Subject: a question
Message-ID: <19991205180734.A1598@ntt.it>
Reply-To: cesco@debian.org
Mail-Followup-To: scwm-discuss@scwm.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I do'nt understand why the following code does not work:

(define (prova-menu)
  (let ((var 1))
    (begin
      (set! var (+ var 1))
      (menu
       (list (menuitem (number->string var) #f))))))

This is my objective: when you open prova-menu you see "2". If you open it
again you see "3" and so on....
But I see "2" every time I open prova-menu.
There is some basic concept I do'nt understand here.

It's possible to obtain such an effect? (I mean: menus depending from
invocations of other menus, or from invocations of themselves).

thanks

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 13:28:04 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA16661
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 13:28:04 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA16658
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 5 Dec 1999 13:27:59 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id KAA30250;
	Sun, 5 Dec 1999 10:27:20 -0800
To: mstachow@alum.mit.edu
Cc: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 05 Dec 1999 10:27:20 -0800
In-Reply-To: mstachow@alum.mit.edu's message of "Sun, 05 Dec 1999 01:42:48 -0500"
Message-ID: <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu>
Lines: 64
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

mstachow@alum.mit.edu writes:

> "Greg J. Badros" wrote:
> > 
> > I just implemented the change to use literal strings as the final
> > argument to the SCWM_*PROC macros instead of using an embedded comment
> > following the complete macro invocation.  E.g., whereas Scwm used to use
> > this:
> > 
> > SCWM_PROC(X_store_bytes, "X-store-bytes", 1, 0, 0,
> >           (SCM string))
> > /** Set the cut buffer to STRING by calling XStoreBytes. */
> > #define FUNC_NAME s_X_store_bytes
> > {
> >   VALIDATE_ARG_STR_NEWCOPY(1,string,sz);
> >  // body removed
> > }
> > #undef FUNC_NAME
> > 
> > we now use:
> > 
> > SCWM_PROC(X_store_bytes, "X-store-bytes", 1, 0, 0,
> >           (SCM string),
> > "Set the cut buffer to STRING by calling XStoreBytes.")
> > #define FUNC_NAME s_X_store_bytes
> > {
> >   VALIDATE_ARG_STR_NEWCOPY(1,string,sz);
> >  // body removed
> > }
> > #undef FUNC_NAME
> > 
> 
> I think this is a good change. It has the additional benefit that it's
> impossible not to document a procedure - you could include an empty
> docstring
> parameter, but you'd have to go out of your way to do so.
> 
> However, for Guile I don't think we should change SCM_PROC to include
> the C
> argument list and to expand

Obviously I disagree;  I think it is essential that we get the software
engineering checks that Scwm's documentation extractor gives us.  It
looks like you've got a snipped line, though, so perhaps you have a good 
counterargument that disappeared into /dev/null?

> Also, for Guile it will be necessary to add a documentation string
> argument
> to a few other macros, such as SCM_PROC1, SCM_GPROC, SCM_GPROC1, and
> SCM_SYNTAX.

Sure.  There's more than just SCWM_PROC for Scwm, but they work the same 
way.

> Finally, a few procedures in Guile are declared by manually calling
> functions such as make_subr() or make_subr_opt() for various reasons,
> so there should be a way to document a procedure that is not created
> with one of the macros.

This is something we currently don't handle exceptionally well in Scwm,
but there clearly are plenty of solutions that can be added
independently later.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 13:29:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA16666
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 13:29:33 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA16663
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 5 Dec 1999 13:29:30 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id KAA30257;
	Sun, 5 Dec 1999 10:29:10 -0800
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm docstrings change
References: <Pine.GHP.4.10.9912051054020.2043-100000@rukbat.cs.unc.edu>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 05 Dec 1999 10:29:10 -0800
In-Reply-To: Stephen Tell's message of "Sun, 5 Dec 1999 11:04:47 -0500 (EST)"
Message-ID: <qrr1z91p7gp.fsf@clavicle.cs.washington.edu>
Lines: 32
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> On 4 Dec 1999, Greg J. Badros wrote:
> 
> > Comments are appreciated as they'll be far more useful now than in 10
> > days or so when I start making these changes to Guile.
> 
> You're adding a documentation facility like SCWM's to guile itself?  Cool.
> That will be one less thing I have to borrow from SCWM for use in my own
> (GPL'ed, of course) guile+C programs.  
> 
> I've also found these very useful:
> the VALIDATE_ARG macros in validate.h
> most of scwm_guile.h
> the safe_  functions in callbacks.c   (which I renamed scwm_guile.c)
> generating init_scheme_string.c from a minimal.scm
> parts of guile-compat.c and guile-compat.h and configure.in
> generate-scm-init-funcs

Guile has some different conventions and uses SCM_ASSERT.  I much prefer 
the Scwm way because it lets us check that arguments match statically.
It'd be easy to add a gh-validate.h header file for applications to use
even if we don't make the guile core use the macros itself.

> I was going to ask if you'd mind splitting some things off as a
> "guile-application-builders-toolkit."  But if you could sneak a few more
> of these into the guile core, that wouldn't be necessary. :-)

If guile really is a language for extension, then the features that
support application builders should be in the core, IMO.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 13:47:35 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA16828
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 13:47:35 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA16825
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 5 Dec 1999 13:47:30 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id KAA30627;
	Sun, 5 Dec 1999 10:47:20 -0800
To: cesco@debian.org
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: variable lifetime -- C's static in Scheme [was Re: a question]
References: <19991205180734.A1598@ntt.it>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 05 Dec 1999 10:47:20 -0800
In-Reply-To: Francesco Tapparo's message of "Sun, 5 Dec 1999 18:07:34 +0100"
Message-ID: <qrrogc5ns1z.fsf@clavicle.cs.washington.edu>
Lines: 102
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francesco Tapparo <cesco@ntt.it> writes:

> I do'nt understand why the following code does not work:
> 
> (define (prova-menu)
>   (let ((var 1))
>     (begin
>       (set! var (+ var 1))
>       (menu
>        (list (menuitem (number->string var) #f))))))
> 
> This is my objective: when you open prova-menu you see "2". If you open it
> again you see "3" and so on....
> But I see "2" every time I open prova-menu.
> There is some basic concept I do'nt understand here.

Lexical scoping and lifetime of variables.

The var binding you make happens fresh to 1 each time prova-menu is
executed.  You instead want the variable to live outside of the function
definition.

> It's possible to obtain such an effect? (I mean: menus depending from
> invocations of other menus, or from invocations of themselves).

Yes; if C is your language, think about it in C's terms.  (If not, just
go to the end of the message).  What you've written is akin to:

int prova_menu()
{
  int var = 1;
  var = var + 1;
  return var;
}

Clearly this is always going to return 2.  In C, the really simple
solution is to use a global variable:

int prova_menu_var = 1;

int prova_menu()
{
   prova_menu_var += 1;
   return prova_menu_var;
}

But this has problems with polluting the global namespace (which I
alleviated by making the name longer, but it's still not ideal).  The
better solution in C is to use a function-static variable:

int prova_menu()
{
  static int var = 1;
  var = var + 1;
  return var;
}

As you probably know, this means that var should only get initialized
once to 1, and that "line of code" does *not* get executed each time
prova_menu is called.  Though the declaration lives inside the function, 
"var" acts more like a global variable except with respect to
accessibility (it can only be referenced in the block in which it was
declared).

In Scheme, we can do either of the C-like solutions.  First, we could
use a global:

(define prova-menu-var 1)

(define (prova-menu)
  (set! prova-menu-var (+ 1 prova-menu-var))
  prova-menu-var)

but this is not ideal since it exposes the variable to access and
modification more widely than we desire.  Instead we can just turn your
let inside out;  conceptually it'd be this (but this won't quite work):

(let ((var 1))
   (define (prova-menu)
      (set! var (+ var 1))
      (menu (list (menuitem (number->string var) #f)))))

The prova-menu function here captures the variable "var" via Scheme's
rules of lexical scope (just a fancy name for the way that the textual
nesting of the variable bindings determines what variables are
accessible in what parts of the program).

Guile-1.3.4 disallows "internal definitions" (see the R4RS info page)
like the above, so we have to tweak things a bit to get it to work:


(define prova-menu #f)

(let ((var 1))
   (set! prova-menu
     (lambda ()
      (set! var (+ var 1))
      (menu (list (menuitem (number->string var) #f))))))

And that procedure will behave as you desire.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 15:57:15 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA17474
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 15:57:15 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from camus.cybercable.fr (camus.cybercable.fr [212.198.0.200])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id PAA17471
	for <scwm-discuss@scwm.mit.edu>; Sun, 5 Dec 1999 15:57:11 -0500
Received: (qmail 6153257 invoked from network); 5 Dec 1999 20:56:58 -0000
Received: from d194.paris-232.cybercable.fr (HELO Samaris) ([212.198.232.194]) (envelope-sender <fare@tunes.org>)
          by camus.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <gjb@cs.washington.edu>; 5 Dec 1999 20:56:58 -0000
Received: from (ZhengHe) [10.31.0.8] 
	by Samaris with esmtp (Exim 3.03 #1 (Debian))
	id 11uijm-00025S-00; Sun, 05 Dec 1999 21:58:30 +0100
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11uif4-0000MW-00; Sun, 05 Dec 1999 21:53:38 +0100
Date: Sun, 5 Dec 1999 21:53:38 +0100
From: Francois-Rene Rideau <fare@tunes.org>
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: cesco@debian.org, scwm-discuss@scwm.mit.edu
Subject: Re: variable lifetime -- C's static in Scheme [was Re: a question]
Message-ID: <19991205215338.C1252@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <19991205180734.A1598@ntt.it> <qrrogc5ns1z.fsf@clavicle.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.0i
In-Reply-To: <qrrogc5ns1z.fsf@clavicle.cs.washington.edu>; from gjb@cs.washington.edu on Sun, Dec 05, 1999 at 10:47:20AM -0800
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

> (define prova-menu #f)
> (let ((var 1))
>    (set! prova-menu
>      (lambda ()
>       (set! var (+ var 1))
>       (menu (list (menuitem (number->string var) #f))))))

(define prova-menu
 (let ((var 1))
   (lambda ()
     (set! var (+ var 1))
       (menu (list (menuitem (number->string var) #f))))))

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
A student who changes the course of history is probably taking an exam.

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 15:57:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA17479
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 15:57:52 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from dres.lewismoss.org (user17893@ppp222.arden.dialup.ioa.com [205.138.38.231])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA17476
	for <scwm-discuss@scwm.mit.edu>; Sun, 5 Dec 1999 15:57:48 -0500
Received: from dres by dres.lewismoss.org with local (Exim 3.03 #1 (Debian))
	id 11uija-0003Kz-00; Sun, 05 Dec 1999 15:58:18 -0500
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: cesco@debian.org, scwm-discuss@scwm.mit.edu
Subject: Re: variable lifetime -- C's static in Scheme [was Re: a question]
References: <19991205180734.A1598@ntt.it> <qrrogc5ns1z.fsf@clavicle.cs.washington.edu>
From: James LewisMoss <dres@ioa.com>
In-Reply-To: "Greg J. Badros"'s message of "05 Dec 1999 10:47:20 -0800"
X-Url: http://www.ioa.com/~dres
X-Organization: Debian/Software in the Public Interest
X-We-Love-Spooks: Monica Lewinsky [Hello to all my fans in domestic surveillance] Area 51 Mossad arrangements Vince Foster Legion of Doom cracking Kenneth Starr FBI KGB DES Vickie Weaver fissionable genetic 
X-Face:  "R3Ms&!j++.]J8DwisON-l7#S<Jw[MsP|I<K?28b~f-<w^vjeAQ-k@$-Az>OloY'V?!^-!2
 9G+7Z7OzClzr2{3e<RFn%f*t%B<*|sT->ni9BN\pzkTp<dg6+lOtI-rg*]Fjgr0n.=ChFX:_+T7fKT
 *Z[}xvSK"jV~QH7*v}xZ,1rlb+Ro`,)#2Econ*g^>}ehc,\AhKBZ\Sf/HVG+p\*?'(&ct2w6Fr:w9m
 o|9R&.D-)1]:&sN-6o'\`7W${f1$2BCy6qSl&._{ILYCZ?X-[?M!](N
Date: 05 Dec 1999 15:58:17 -0500
Message-ID: <hh4sdxf6l2.fsf@dres.lewismoss.org>
Lines: 26
User-Agent: Gnus/5.070099 (Pterodactyl Gnus v0.99) XEmacs/21.1 (Bryce Canyon)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> On 05 Dec 1999 10:47:20 -0800, "Greg J. Badros" <gjb@cs.washington.edu> said:


 Greg> (define prova-menu #f)

 Greg> (let ((var 1))
 Greg>    (set! prova-menu
 Greg>      (lambda ()
 Greg>       (set! var (+ var 1)) (menu (list (menuitem
 Greg>       (number->string var) #f))))))

 Greg> And that procedure will behave as you desire.

I prefer something like
(define prova-menu
 (let ((var 1))
  (lambda () (set! var (+ 1 var))
             (menu (list (menuitem (number->string var) #f))))))

Is there a reason to avoid this?  (I'm not the best scheme programmer,
and thought I'd ask since it was my suggestion.)

-- 
@James LewisMoss <dres@ioa.com>         |  Blessed Be!
@    http://www.ioa.com/~dres           |  Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 16:00:39 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA17547
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 16:00:39 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA17541
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 5 Dec 1999 16:00:36 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id NAA01803;
	Sun, 5 Dec 1999 13:00:26 -0800
To: James LewisMoss <dres@ioa.com>
Cc: cesco@debian.org, scwm-discuss@SCWM.MIT.EDU
Subject: Re: variable lifetime -- C's static in Scheme [was Re: a question]
References: <19991205180734.A1598@ntt.it> <qrrogc5ns1z.fsf@clavicle.cs.washington.edu> <hh4sdxf6l2.fsf@dres.lewismoss.org>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 05 Dec 1999 13:00:26 -0800
In-Reply-To: James LewisMoss's message of "05 Dec 1999 15:58:17 -0500"
Message-ID: <qrr3dthnlw5.fsf@clavicle.cs.washington.edu>
Lines: 27
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

James LewisMoss <dres@ioa.com> writes:

> >>>>> On 05 Dec 1999 10:47:20 -0800, "Greg J. Badros" <gjb@cs.washington.edu> said:
> 
> 
>  Greg> (define prova-menu #f)
> 
>  Greg> (let ((var 1))
>  Greg>    (set! prova-menu
>  Greg>      (lambda ()
>  Greg>       (set! var (+ var 1)) (menu (list (menuitem
>  Greg>       (number->string var) #f))))))
> 
>  Greg> And that procedure will behave as you desire.
> 
> I prefer something like
> (define prova-menu
>  (let ((var 1))
>   (lambda () (set! var (+ 1 var))
>              (menu (list (menuitem (number->string var) #f))))))
> 
> Is there a reason to avoid this?  (I'm not the best scheme programmer,
> and thought I'd ask since it was my suggestion.)

No; your example code is even better.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 16:00:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA17568
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 16:00:59 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA17563
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 5 Dec 1999 16:00:55 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id NAA01810;
	Sun, 5 Dec 1999 13:00:45 -0800
To: Francois-Rene Rideau <fare@tunes.org>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: variable lifetime -- C's static in Scheme [was Re: a question]
References: <19991205180734.A1598@ntt.it> <qrrogc5ns1z.fsf@clavicle.cs.washington.edu> <19991205215338.C1252@ZhengHe.augustin.thierry>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 05 Dec 1999 13:00:45 -0800
In-Reply-To: Francois-Rene Rideau's message of "Sun, 5 Dec 1999 21:53:38 +0100"
Message-ID: <qrrzovpm7b6.fsf@clavicle.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> > (define prova-menu #f)
> > (let ((var 1))
> >    (set! prova-menu
> >      (lambda ()
> >       (set! var (+ var 1))
> >       (menu (list (menuitem (number->string var) #f))))))
> 
> (define prova-menu
>  (let ((var 1))
>    (lambda ()
>      (set! var (+ var 1))
>        (menu (list (menuitem (number->string var) #f))))))

Yep, that's even better.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 16:08:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA17738
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 16:08:42 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from chaos.noisehavoc.org ([208.41.100.131])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA17730
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 5 Dec 1999 16:08:29 -0500
From: mstachow@alum.mit.edu
Received: from alum.mit.edu (localhost [127.0.0.1])
	by chaos.noisehavoc.org (8.9.3/8.9.3) with ESMTP id PAA13262;
	Sun, 5 Dec 1999 15:46:27 -0500
Message-ID: <384ACF22.C88B9F78@alum.mit.edu>
Date: Sun, 05 Dec 1999 15:46:26 -0500
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-15 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: "Greg J. Badros" <gjb@cs.washington.edu>
CC: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Greg J. Badros" wrote:
> 

> Obviously I disagree;  I think it is essential that we get the software
> engineering checks that Scwm's documentation extractor gives us.  It
> looks like you've got a snipped line, though, so perhaps you have a good
> counterargument that disappeared into /dev/null?
> 

Yes I did, at least I think it's a good one. The problem is that

SCM_PROC(foo_proc,"foo-proc",1,0,0, (SCM bar),
	 "Documentation for foo_proc")
{
	/* Function body .... */
}

will be a lot more initially confusing to a programmer who is familiar
with C but not with Guile than

SCM_PROC(foo_proc,"foo-proc",1,0,0, "Documentation for foo_proc");

SCM foo_proc (SCM bar)
{
	/* Function body .... */
}

It is much more immediately clear that a function is being declared.
Although it is legal for a macro to expand to just about anything,
I have never seen it expand to a function declaration without
the body. So without being immediately familiar ahead of time
with the conventions, the average C programmer would be really
confused by this. This is exacerbated by the fact that function
declaration syntax and macro call syntax are rather similar.

In Scwm it is fair to ask people to be very familiar with the code
conventions before delving in, since the only likely reason to want
to do this is to hack Scwm. (Actually, it's become clear of late
that a lot of people also look at Scwm code to steal code for their
own applications - I am not sure whether this should be further 
encouraged, or the relevant code should be put into a library, either
libguile or some add-on). But in the case of Guile, many application
developers will want to look at the library code to gain a better
understanding of how various things work, or out of curiosity, or
because they want to add a feature. Thus, the code should have the
lowest barrier to entry possible.

I also do not think that doing it this way makes it impossible to
ensure that the argument list corresponds to the numbers of fixed,
optional and rest arguments specified, or that all formal parameters
are documented. The extractor would just have to be smarter and find
the function prototype as well as the call to SCM_PROC. This may be
a bit more work, but I believe it is worth it for the sake of the
greater code readability.

 - Maciej

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 16:12:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA17762
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 16:12:44 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from chaos.noisehavoc.org ([208.41.100.131])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA17759
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 5 Dec 1999 16:12:40 -0500
From: mstachow@alum.mit.edu
Received: from alum.mit.edu (localhost [127.0.0.1])
	by chaos.noisehavoc.org (8.9.3/8.9.3) with ESMTP id PAA13271;
	Sun, 5 Dec 1999 15:50:30 -0500
Message-ID: <384AD016.68DD3179@alum.mit.edu>
Date: Sun, 05 Dec 1999 15:50:30 -0500
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-15 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: "Greg J. Badros" <gjb@cs.washington.edu>
CC: Stephen Tell <tell@cs.unc.edu>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm docstrings change
References: <Pine.GHP.4.10.9912051054020.2043-100000@rukbat.cs.unc.edu> <qrr1z91p7gp.fsf@clavicle.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Greg J. Badros" wrote:
> 
> Stephen Tell <tell@cs.unc.edu> writes:
> 
> > On 4 Dec 1999, Greg J. Badros wrote:
> >
> > > Comments are appreciated as they'll be far more useful now than in 10
> > > days or so when I start making these changes to Guile.
> >
> > You're adding a documentation facility like SCWM's to guile itself?  Cool.
> > That will be one less thing I have to borrow from SCWM for use in my own
> > (GPL'ed, of course) guile+C programs.
> >
> > I've also found these very useful:
> > the VALIDATE_ARG macros in validate.h
> > most of scwm_guile.h
> > the safe_  functions in callbacks.c   (which I renamed scwm_guile.c)
> > generating init_scheme_string.c from a minimal.scm
> > parts of guile-compat.c and guile-compat.h and configure.in
> > generate-scm-init-funcs
> 
> Guile has some different conventions and uses SCM_ASSERT.  I much prefer
> the Scwm way because it lets us check that arguments match statically.
> It'd be easy to add a gh-validate.h header file for applications to use
> even if we don't make the guile core use the macros itself.
> 
> > I was going to ask if you'd mind splitting some things off as a
> > "guile-application-builders-toolkit."  But if you could sneak a few more
> > of these into the guile core, that wouldn't be necessary. :-)
> 
> If guile really is a language for extension, then the features that
> support application builders should be in the core, IMO.

I agree in general. One thing to consider is to make sure that any features
brought from Scwm or other applications into the Guile core are reviewed
to ensure that they are sufficiently general-purpose. Many things in
callbacks.c, for instance, were written to satisfy Scwm's needs, but
other application developers may wish to do things slightly differently.

 - Maciej

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 16:27:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA18081
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 16:27:12 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA18077
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 5 Dec 1999 16:27:08 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id NAA01925;
	Sun, 5 Dec 1999 13:26:39 -0800
To: mstachow@alum.mit.edu
Cc: Stephen Tell <tell@cs.unc.edu>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Scwm docstrings change
References: <Pine.GHP.4.10.9912051054020.2043-100000@rukbat.cs.unc.edu> <qrr1z91p7gp.fsf@clavicle.cs.washington.edu> <384AD016.68DD3179@alum.mit.edu>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 05 Dec 1999 13:26:39 -0800
In-Reply-To: mstachow@alum.mit.edu's message of "Sun, 05 Dec 1999 15:50:30 -0500"
Message-ID: <qrrogc5m640.fsf@clavicle.cs.washington.edu>
Lines: 46
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

mstachow@alum.mit.edu writes:

> "Greg J. Badros" wrote:
> > 
> > Stephen Tell <tell@cs.unc.edu> writes:
> > 
> > > On 4 Dec 1999, Greg J. Badros wrote:
> > >
> > > > Comments are appreciated as they'll be far more useful now than in 10
> > > > days or so when I start making these changes to Guile.
> > >
> > > You're adding a documentation facility like SCWM's to guile itself?  Cool.
> > > That will be one less thing I have to borrow from SCWM for use in my own
> > > (GPL'ed, of course) guile+C programs.
> > >
> > > I've also found these very useful:
> > > the VALIDATE_ARG macros in validate.h
> > > most of scwm_guile.h
> > > the safe_  functions in callbacks.c   (which I renamed scwm_guile.c)
> > > generating init_scheme_string.c from a minimal.scm
> > > parts of guile-compat.c and guile-compat.h and configure.in
> > > generate-scm-init-funcs
> > 
> > Guile has some different conventions and uses SCM_ASSERT.  I much prefer
> > the Scwm way because it lets us check that arguments match statically.
> > It'd be easy to add a gh-validate.h header file for applications to use
> > even if we don't make the guile core use the macros itself.
> > 
> > > I was going to ask if you'd mind splitting some things off as a
> > > "guile-application-builders-toolkit."  But if you could sneak a few more
> > > of these into the guile core, that wouldn't be necessary. :-)
> > 
> > If guile really is a language for extension, then the features that
> > support application builders should be in the core, IMO.
> 
> I agree in general. One thing to consider is to make sure that any features
> brought from Scwm or other applications into the Guile core are reviewed
> to ensure that they are sufficiently general-purpose. Many things in
> callbacks.c, for instance, were written to satisfy Scwm's needs, but
> other application developers may wish to do things slightly differently.

Agreed.  And these will be judgment calls.  Stephen's feedback that many 
of our abstractions in Scwm are useful to him certainly validates the
notion that those things are generally applicable.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 16:36:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA18285
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 16:36:29 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tequila.cs.yale.edu (TEQUILA.CS.YALE.EDU [128.36.229.152])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA18267
	for <scwm-discuss@scwm.mit.edu>; Sun, 5 Dec 1999 16:35:58 -0500
Received: from tequila.cs.yale.edu (localhost [127.0.0.1])
	by tequila.cs.yale.edu (8.9.3/8.9.3) with SMTP id QAA31828
	for <scwm-discuss@scwm.mit.edu>; Sun, 5 Dec 1999 16:35:42 -0500
To: scwm-discuss@scwm.mit.edu
From: "Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu>
Newsgroups: lists.scwm.discuss
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu>
Date: 05 Dec 1999 16:35:37 -0500
Message-ID: <5lg0xh3wba.fsf@tequila.cs.yale.edu>
Lines: 26
X-Newsreader: Gnus v5.7/Emacs 20.5
Path: tequila.cs.yale.edu
NNTP-Posting-Host: tequila.cs.yale.edu
X-Trace: 5 Dec 1999 16:35:37 -0500, tequila.cs.yale.edu
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> "mstachow" == mstachow  <mstachow@alum.mit.edu> writes:
> SCM_PROC(foo_proc,"foo-proc",1,0,0, (SCM bar),
> 	 "Documentation for foo_proc")
> {
> 	/* Function body .... */
> }
[...]
> It is much more immediately clear that a function is being declared.
> Although it is legal for a macro to expand to just about anything,
> I have never seen it expand to a function declaration without
> the body. So without being immediately familiar ahead of time

Emacs almost does it:

DEFUN ("buffer-has-markers-at", Fbuffer_has_markers_at, Sbuffer_has_markers_at,
  1, 1, 0,
  "Return t if there are markers pointing at POSITION in the current buffer.")
  (position)
      Lisp_Object position;
{
  .....
  .....
}


	Stefan

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 16:38:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA18303
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 16:38:00 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from w2.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA18294
	for <scwm-discuss@scwm.mit.edu>; Sun, 5 Dec 1999 16:37:51 -0500
Received: from mizar (r3p089.ntt.it [194.75.44.89]) by w2.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id WAA32618 for <scwm-discuss@scwm.mit.edu>; Sun, 5 Dec 1999 22:38:17 +0100 (NFT)
Received: from cesco by mizar with local (Exim 3.03 #1 (Debian))
	id 11uhzE-00007n-00
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 05 Dec 1999 21:10:24 +0100
Date: Sun, 5 Dec 1999 21:10:24 +0100
From: Francesco Tapparo <cesco@ntt.it>
To: scwm-discuss@scwm.mit.edu
Subject: Re: a question
Message-ID: <19991205211024.A165@ntt.it>
Reply-To: cesco@debian.org
Mail-Followup-To: scwm-discuss@SCWM.MIT.EDU
References: <19991205180734.A1598@ntt.it>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
In-Reply-To: <19991205180734.A1598@ntt.it>; from cesco@ntt.it on Sun, Dec 05, 1999 at 06:07:34PM +0100
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Sun, Dec 05, 1999 at 06:07:34PM +0100, Francesco Tapparo wrote:
> I do'nt understand why the following code does not work:
> 
> (define (prova-menu)
>   (let ((var 1))
>     (begin
>       (set! var (+ var 1))
>       (menu
>        (list (menuitem (number->string var) #f))))))
[snipped]

I want thank all the people answered my quetion (in ML or in private email).
Now my code works (it was only an example, of course).

Thank you again to the wonderful SCWM community

Francesco
who must really learn a bit of scheme

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 16:45:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA18378
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 16:45:58 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA18368
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 5 Dec 1999 16:45:52 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id NAA02000;
	Sun, 5 Dec 1999 13:45:42 -0800
To: cesco@debian.org
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: a question
References: <19991205180734.A1598@ntt.it> <19991205211024.A165@ntt.it>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 05 Dec 1999 13:45:42 -0800
In-Reply-To: Francesco Tapparo's message of "Sun, 5 Dec 1999 21:10:24 +0100"
Message-ID: <qrrhfhxm589.fsf@clavicle.cs.washington.edu>
Lines: 9
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francesco Tapparo <cesco@ntt.it> writes:

<snip>

> Thank you again to the wonderful SCWM community

I second that!  

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 17:24:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA18788
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 17:24:26 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (root@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA18785
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 5 Dec 1999 17:24:22 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id NAA01974;
	Sun, 5 Dec 1999 13:36:56 -0800
To: mstachow@alum.mit.edu
Cc: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 05 Dec 1999 13:36:56 -0800
In-Reply-To: mstachow@alum.mit.edu's message of "Sun, 05 Dec 1999 15:46:26 -0500"
Message-ID: <qrrln79m5mv.fsf@clavicle.cs.washington.edu>
Lines: 86
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

mstachow@alum.mit.edu writes:

> "Greg J. Badros" wrote:
> > 
> 
> > Obviously I disagree;  I think it is essential that we get the software
> > engineering checks that Scwm's documentation extractor gives us.  It
> > looks like you've got a snipped line, though, so perhaps you have a good
> > counterargument that disappeared into /dev/null?
> > 
> 
> Yes I did, at least I think it's a good one. The problem is that
> 
> SCM_PROC(foo_proc,"foo-proc",1,0,0, (SCM bar),
> 	 "Documentation for foo_proc")
> {
> 	/* Function body .... */
> }
> 
> will be a lot more initially confusing to a programmer who is familiar
> with C but not with Guile than
> 
> SCM_PROC(foo_proc,"foo-proc",1,0,0, "Documentation for foo_proc");
> 
> SCM foo_proc (SCM bar)
> {
> 	/* Function body .... */
> }
> 
> It is much more immediately clear that a function is being declared.
> Although it is legal for a macro to expand to just about anything,
> I have never seen it expand to a function declaration without
> the body. So without being immediately familiar ahead of time
> with the conventions, the average C programmer would be really
> confused by this. This is exacerbated by the fact that function
> declaration syntax and macro call syntax are rather similar.

I am unconvinced.  The average C programmer shouldn't be reading the
Guile source anyway.  It's far more important that the invariants
between the two parts be clearly intimately tied (and statically
checked, though separating them would only complicate, not eliminate,
the static checking that scwmdoc does). 

> In Scwm it is fair to ask people to be very familiar with the code
> conventions before delving in, since the only likely reason to want
> to do this is to hack Scwm. (Actually, it's become clear of late
> that a lot of people also look at Scwm code to steal code for their
> own applications - I am not sure whether this should be further 
> encouraged, or the relevant code should be put into a library, either
> libguile or some add-on). But in the case of Guile, many application
> developers will want to look at the library code to gain a better
> understanding of how various things work, or out of curiosity, or
> because they want to add a feature. Thus, the code should have the
> lowest barrier to entry possible.

Sorry, but I have to disagree here, too.  Guile should be able to be
viewed as a black box to application developers.  Those that do have to
go poking into Guile should be even *more* sophisticated than those
reading just an *application* that happens to use the interpreter.

It's a historical necessity that people read the Guile source code
because of the lack of documentation.  With the docstrings, the average
user will not be reading Guile source, and those that do can figure out
what's going on pretty damn easily (especially with decent developer
getting-started documentation).

> I also do not think that doing it this way makes it impossible to
> ensure that the argument list corresponds to the numbers of fixed,
> optional and rest arguments specified, or that all formal parameters
> are documented. The extractor would just have to be smarter and find
> the function prototype as well as the call to SCM_PROC. This may be
> a bit more work, but I believe it is worth it for the sake of the
> greater code readability.

Yes, it's possible.  But it's worse:  the name foo_proc is duplicated
creating yet another point of mismatch that the C language (via cpp)
*can* avoid.  

Also, SCWM_PROC exposes the argument list to scwm_make_gsubr.  This
permits better reflection capabilities for the primitives so that they
can support, e.g., `procedure-formals' and `procedure-required-formals'
(see Scwm's reflection.scm).  Duplicating the argument list is out of
the question, and getting this feature w/o exposing the argument list is 
hard.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 18:39:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA19347
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 18:39:50 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from lafontaine.cybercable.fr (lafontaine.cybercable.fr [212.198.0.202])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id SAA19341
	for <scwm-discuss@scwm.mit.edu>; Sun, 5 Dec 1999 18:39:43 -0500
Received: (qmail 6338363 invoked from network); 5 Dec 1999 23:39:40 -0000
Received: from d194.paris-232.cybercable.fr (HELO Samaris) ([212.198.232.194]) (envelope-sender <fare@tunes.org>)
          by lafontaine.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <scwm-discuss@scwm.mit.edu>; 5 Dec 1999 23:39:40 -0000
Received: from (ZhengHe) [10.31.0.8] 
	by Samaris with esmtp (Exim 3.03 #1 (Debian))
	id 11ulHG-00027V-00; Mon, 06 Dec 1999 00:41:14 +0100
Received: from fare by ZhengHe with local (Exim 3.03 #1 (Debian))
	id 11ulCV-0000SV-00; Mon, 06 Dec 1999 00:36:19 +0100
Date: Mon, 6 Dec 1999 00:36:19 +0100
From: Francois-Rene Rideau <fare@tunes.org>
To: scwm-discuss@scwm.mit.edu, guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
Message-ID: <19991206003619.A1738@ZhengHe.augustin.thierry>
Reply-To: Francois-Rene Rideau <fare@tunes.org>
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu> <qrrln79m5mv.fsf@clavicle.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.0i
In-Reply-To: <qrrln79m5mv.fsf@clavicle.cs.washington.edu>; from gjb@cs.washington.edu on Sun, Dec 05, 1999 at 01:36:56PM -0800
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Sun, Dec 05, 1999 at 01:36:56PM -0800, Greg J. Badros wrote:
> The average C programmer shouldn't be reading the
> Guile source anyway.  It's far more important that the invariants
> between the two parts be clearly intimately tied (and statically
> checked, though separating them would only complicate, not eliminate,
> the static checking that scwmdoc does).
Reminds me of Tom Lord's C analyzer he used to automatically check various
invariants in systas (his variant of guile, before and after he was in
charge). Is anyone working on such technology for guile?

[ "Faré" | VN: Ð£ng-Vû Bân | Join the TUNES project!   http://www.tunes.org/  ]
[ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
[ Reflection&Cybernethics  | Project for  a Free Reflective  Computing System ]
There is no such thing as a "necessary evil". If it's necessary, then
it cannot be evil, neither can it be good: it's a datum.

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 18:52:46 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA19505
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 18:52:46 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA19502
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 5 Dec 1999 18:52:41 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id PAA07949;
	Sun, 5 Dec 1999 15:52:28 -0800
To: Francois-Rene Rideau <fare@tunes.org>
Cc: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu> <qrrln79m5mv.fsf@clavicle.cs.washington.edu> <19991206003619.A1738@ZhengHe.augustin.thierry>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 05 Dec 1999 15:52:28 -0800
In-Reply-To: Francois-Rene Rideau's message of "Mon, 6 Dec 1999 00:36:19 +0100"
Message-ID: <qrr9039lzcz.fsf@clavicle.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francois-Rene Rideau <fare@tunes.org> writes:

> On Sun, Dec 05, 1999 at 01:36:56PM -0800, Greg J. Badros wrote:
> > The average C programmer shouldn't be reading the
> > Guile source anyway.  It's far more important that the invariants
> > between the two parts be clearly intimately tied (and statically
> > checked, though separating them would only complicate, not eliminate,
> > the static checking that scwmdoc does).
> Reminds me of Tom Lord's C analyzer he used to automatically check various
> invariants in systas (his variant of guile, before and after he was in
> charge). Is anyone working on such technology for guile?

I don't know what kinds of invariants Tom's checked, but Scwm has a
system that I'm planning on porting to the Guile infrastructure to do
some simple but important stuff.  The Usenix paper submission on Guile
available from http://scwm.mit.edu/ has some details, or you can look at 
scwmdoc in the Scwm repository.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec  5 20:58:48 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA20400
	for scwm-discuss-outgoing; Sun, 5 Dec 1999 20:58:48 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from chaos.noisehavoc.org ([208.41.100.131])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA20397
	for <scwm-discuss@scwm.mit.edu>; Sun, 5 Dec 1999 20:58:43 -0500
From: mstachow@alum.mit.edu
Received: from alum.mit.edu (localhost [127.0.0.1])
	by chaos.noisehavoc.org (8.9.3/8.9.3) with ESMTP id UAA13408;
	Sun, 5 Dec 1999 20:36:43 -0500
Message-ID: <384B1329.6D5BC473@alum.mit.edu>
Date: Sun, 05 Dec 1999 20:36:41 -0500
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-15 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: "Greg J. Badros" <gjb@cs.washington.edu>
CC: scwm-discuss@scwm.mit.edu, guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu> <qrrln79m5mv.fsf@clavicle.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Greg J. Badros" wrote:
> 

> I am unconvinced.  The average C programmer shouldn't be reading the
> Guile source anyway.  It's far more important that the invariants
> between the two parts be clearly intimately tied (and statically
> checked, though separating them would only complicate, not eliminate,
> the static checking that scwmdoc does).

I don't think the checks are bad (as I said below). However, I don't
think making the checking slightly more difficult is a higher cost
than making the code even a bit less clear.


> Sorry, but I have to disagree here, too.  Guile should be able to be
> viewed as a black box to application developers.  Those that do have to
> go poking into Guile should be even *more* sophisticated than those
> reading just an *application* that happens to use the interpreter.

I disagree. While every library should have sufficient documentation
that reading the source code is never _necessary_, it is often useful,
and in a free software project it is essential that it be possible and
easy. Many times I've found myself looking at the source for even
well-documented libraries like GNU libc or Tcl for various reasons.


> Yes, it's possible.  But it's worse:  the name foo_proc is duplicated
> creating yet another point of mismatch that the C language (via cpp)
> *can* avoid.

I don't think typing the name of the function twice is bad, especially
since it is being used in two orthogonal capacities - once to declare
the function, and once to register it as a Scheme procedure. I also
do not think there will be a lot of errors resulting from this
duplication.
 
> Also, SCWM_PROC exposes the argument list to scwm_make_gsubr.  This
> permits better reflection capabilities for the primitives so that they
> can support, e.g., `procedure-formals' and `procedure-required-formals'
> (see Scwm's reflection.scm).  Duplicating the argument list is out of
> the question, and getting this feature w/o exposing the argument list is
> hard.

I'm not sure if revealing the names of the formals that way is essential.
They are already included in the doc string generated by the extractor,
and I can't think of a lot of ways that the identifiers used for the formals
would be useful programmatically. And further, if the reflection information
were to be stored externally and generated by the doc extractor (IMO a
reasonable strategy in any case), then not having the formals in the
SCM_PROC call presents no additional challenge.

I think we are on the same page with regards to what functionality we
want provided. I think the differences between the two approaches boil
down to this:


SCM_PROC expands to function header     |   function must be declared separately
----------------------------------------|----------------------------------------
Doc extractor is somewhat simpler       |   Doc extractor somewhat more complex
                                        |
Function name stated only once          |   Function name stated twice
                                        |
Somewhat less immediately               |   More immediately comprehensible    
comprehensible                          |


I think it's a worthwhile tradeoff to do a bit more work in the extractor to
make the code a bit more readable.

But I would like to hear other people's opinions on this - surely people
other than Greg and me must have a preference one way or the other.

 - Maciej

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 01:32:39 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id BAA20796
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 01:32:39 -0500
Received: from mail.nf.net (firma.thezone.net [192.75.13.101])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id BAA20793
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Dec 1999 01:32:34 -0500
Received: from behemoth.dethfart.org (n154h025.thezone.net [198.165.154.25])
	by mail.nf.net (8.9.3/8.9.3) with ESMTP id DAA24180;
	Mon, 6 Dec 1999 03:02:23 -0330 (NST)
Received: (from greg@localhost)
	by behemoth.dethfart.org (8.8.7/8.8.7) id DAA01636;
	Mon, 6 Dec 1999 03:01:32 -0330
X-Authentication-Warning: behemoth.dethfart.org: greg set sender to Greg.Harvey@thezone.net using -f
To: mstachow@alum.mit.edu
Cc: "Greg J. Badros" <gjb@cs.washington.edu>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu> <qrrln79m5mv.fsf@clavicle.cs.washington.edu> <384B1329.6D5BC473@alum.mit.edu>
From: Greg Harvey <Greg.Harvey@thezone.net>
Date: 06 Dec 1999 03:01:32 -0330
In-Reply-To: mstachow@alum.mit.edu's message of "Sun, 05 Dec 1999 20:36:41 -0500"
Message-ID: <m3so1ginqz.fsf@behemoth.dethfart.org>
Lines: 26
X-Mailer: Gnus v5.6.43/Emacs 20.3
Original-Sender: Greg.Harvey@thezone.net
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

mstachow@alum.mit.edu writes:

> I think it's a worthwhile tradeoff to do a bit more work in the extractor to
> make the code a bit more readable.
> 
> But I would like to hear other people's opinions on this - surely people
> other than Greg and me must have a preference one way or the other.

I didn't initially comment on this, because my only objection is
purely aesthetic. I can't say whether it actually impedes the
comprehensibility of guile (or at least, any more than the code it's
documenting (big, evil grin that a smilie just can't hack given recent
discussion)), but to my eyes, it just doesn't seem right unless it
looks like

FOO_PROC(etc...)

void
foo(int bar, int baz)
{

I'm sure I could learn to live with either, but I'd prefer to live
with this.

-- 
Greg: then again, opinions are just like...

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 03:35:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA21015
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 03:35:10 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from primus.websci.ru (primus.websci.ru [212.164.55.65])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA21005
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Dec 1999 03:35:00 -0500
Received: from websci.ru ([212.164.55.80])
	by primus.websci.ru (8.9.1b+Sun/8.9.1) with ESMTP id OAA24368;
	Mon, 6 Dec 1999 14:34:16 +0600 (NSK)
Message-ID: <384BC955.9123C92E@websci.ru>
Date: Mon, 06 Dec 1999 14:33:57 +0000
From: Aleksey Demakov <avd@websci.ru>
Organization: Websci Technologies
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: mstachow@alum.mit.edu
CC: "Greg J. Badros" <gjb@cs.washington.edu>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu> <qrrln79m5mv.fsf@clavicle.cs.washington.edu> <384B1329.6D5BC473@alum.mit.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

mstachow@alum.mit.edu wrote:
> 
> "Greg J. Badros" wrote:
> >
> 
> > I am unconvinced.  The average C programmer shouldn't be reading the
> > Guile source anyway.  It's far more important that the invariants
> > between the two parts be clearly intimately tied (and statically
> > checked, though separating them would only complicate, not eliminate,
> > the static checking that scwmdoc does).
> 
> I don't think the checks are bad (as I said below). However, I don't
> think making the checking slightly more difficult is a higher cost
> than making the code even a bit less clear.
> 
> > Sorry, but I have to disagree here, too.  Guile should be able to be
> > viewed as a black box to application developers.  Those that do have to
> > go poking into Guile should be even *more* sophisticated than those
> > reading just an *application* that happens to use the interpreter.
> 
> I disagree. While every library should have sufficient documentation
> that reading the source code is never _necessary_, it is often useful,
> and in a free software project it is essential that it be possible and
> easy. Many times I've found myself looking at the source for even
> well-documented libraries like GNU libc or Tcl for various reasons.
> 
> > Yes, it's possible.  But it's worse:  the name foo_proc is duplicated
> > creating yet another point of mismatch that the C language (via cpp)
> > *can* avoid.
> 
> I don't think typing the name of the function twice is bad, especially
> since it is being used in two orthogonal capacities - once to declare
> the function, and once to register it as a Scheme procedure. I also
> do not think there will be a lot of errors resulting from this
> duplication.
> 
> > Also, SCWM_PROC exposes the argument list to scwm_make_gsubr.  This
> > permits better reflection capabilities for the primitives so that they
> > can support, e.g., `procedure-formals' and `procedure-required-formals'
> > (see Scwm's reflection.scm).  Duplicating the argument list is out of
> > the question, and getting this feature w/o exposing the argument list is
> > hard.
> 
> I'm not sure if revealing the names of the formals that way is essential.
> They are already included in the doc string generated by the extractor,
> and I can't think of a lot of ways that the identifiers used for the formals
> would be useful programmatically. And further, if the reflection information
> were to be stored externally and generated by the doc extractor (IMO a
> reasonable strategy in any case), then not having the formals in the
> SCM_PROC call presents no additional challenge.
> 
> I think we are on the same page with regards to what functionality we
> want provided. I think the differences between the two approaches boil
> down to this:
> 
> SCM_PROC expands to function header     |   function must be declared separately
> ----------------------------------------|----------------------------------------
> Doc extractor is somewhat simpler       |   Doc extractor somewhat more complex
>                                         |
> Function name stated only once          |   Function name stated twice
>                                         |
> Somewhat less immediately               |   More immediately comprehensible
> comprehensible                          |
> 
> I think it's a worthwhile tradeoff to do a bit more work in the extractor to
> make the code a bit more readable.
> 
> But I would like to hear other people's opinions on this - surely people
> other than Greg and me must have a preference one way or the other.
> 
>  - Maciej

I agree with Maciej. I think for a C-prgrammer occasionally writing a
guile extension it is more convenient to define functions the usual C
way and bind them separetely. I recollect that when I looked at the
emacs sources (it was version 18 something) I was surprised with the way
it defines primitive elisp functions (which was somewhat similar to
Greg's suggestion). It was not that it's hard to comprehend. I just feel
that it's a bit unnatural. I was glad to see how guile does it.

Regards,
Aleksey

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 04:42:55 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id EAA23835
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 04:42:55 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ardon.verisity.com ([192.116.92.65])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id EAA23832
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Dec 1999 04:42:48 -0500
Received: from alps.verisity.com (alps [192.116.92.27])
	by ardon.verisity.com (8.8.6/8.8.6) with ESMTP id LAA15910;
	Mon, 6 Dec 1999 11:38:41 +0200 (IST)
Received: (from cmm@localhost)
	by alps.verisity.com (8.8.8+Sun/8.8.8) id LAA09266;
	Mon, 6 Dec 1999 11:38:39 +0200 (IST)
From: Michael Livshin <mlivshin@bigfoot.com>
To: mstachow@alum.mit.edu
Cc: "Greg J. Badros" <gjb@cs.washington.edu>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu> <qrrln79m5mv.fsf@clavicle.cs.washington.edu> <384B1329.6D5BC473@alum.mit.edu>
Organization: who? me?
In-Reply-To: mstachow@alum.mit.edu's message of "Sun, 05 Dec 1999 20:36:41 -0500"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 06 Dec 1999 11:38:39 +0200
Message-ID: <s3n1roquhs.fsf@verisity.com>
Lines: 46
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

mstachow@alum.mit.edu writes:

> "Greg J. Badros" wrote:
> > 
> 
> > I am unconvinced.  The average C programmer shouldn't be reading the
> > Guile source anyway.  It's far more important that the invariants
> > between the two parts be clearly intimately tied (and statically
> > checked, though separating them would only complicate, not eliminate,
> > the static checking that scwmdoc does).
> 
> I don't think the checks are bad (as I said below). However, I don't
> think making the checking slightly more difficult is a higher cost
> than making the code even a bit less clear.

um.  while we are at it, while not have both options available?  they
both make sense, you know.  for general C code that the user wants to
make available to Guile, the "decoupled" declaration is best, but this
doesn't mean that C routines written *just* for Guile need the
verbosity and duplication, not to mention the very *internals* of
Guile.

so, the usage would be like:

SCM_HOOKUP(c_name, "scheme-name", req_args_num, opt_args_num,
rest_args_p, "doc-string");
SCM
c_name(<args>) {...}

-and-

SCM_PROC(c_name, "scheme-name", (req_args_decl), (opt_args_decl),
(rest_arg_decl), "doc-string") {
   <stuff>
}

(don't kill me for the names).

does the above make sense?

--mike

-- 
Don't trust these UNIX people.  They are all demons.  They kill their
parents and fork children.  I don't know how they could do this with
their balls cut off but they manage.                        -- anonymous

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 09:57:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA24162
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 09:57:57 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mail01.infonautics.com (205229025010.infonautics.com [205.229.25.10])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA24159
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Dec 1999 09:57:48 -0500
Received: from pebbles.infonautics.com (pebbles.infonautics.com [205.229.26.85])
	by mail01.infonautics.com (8.9.3/8.9.1/mailhost.m4/1.31) with ESMTP id LAA20454
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Dec 1999 11:06:11 -0500
Message-Id: <199912061606.LAA20454@mail01.infonautics.com>
X-Mailer: exmh version 2.0.3
To: scwm-discuss@scwm.mit.edu
Subject: Preannouncement of Gwm-2.0
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 06 Dec 1999 09:57:09 -0500
From: Arturo Perez <arturo@infonautics.com>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Thought y'all might be interested.

------- Forwarded Message

Date:    Sun, 05 Dec 1999 15:21:12 +0100
From:    Anders Holst <aho@sics.se>
To:      gwm-talk@sophia.inria.fr
cc:      aho@sics.se
Subject: Preannouncement of Gwm-2.0

Hello once again.

After having flushed all changes for gwm-1.8d, I can come to the real
issue: I have for a while been playing with a GWM using guile.

I know that I am two or three years late with this, and most people
may have left GWM for other window managers by now. Perhaps most
notable is SCWM, on which a massive effort is spent to make it as
general as GWM. But still, I believe that many things are done at the
wrong level in SCWM. I liked the principle of GWM that it had a
minimum of design decisions built into the C level, and that thus
all behaviors and features (like virtual screen, rooms, icon managers,
menu bars, etc) was specified entirely in lisp.

A year ago I decided to try to make a version of GWM with guile
instead of wool, mainly as an experiment. This summer I had a first
version actually running, mainly just the old gwm with guile instead
of wool. A second test version is ready now, rewritten into C++ and
thoroughly changed internals. What among others still remains is to
write a large library of scheme code.

If someone is interested to check it out, test version B of
GWM-2.0, is available at
  http://www.sics.se/~aho/gwm/gwm-2.0tB.tgz

I have only tried it under Linux. It requires guile-1.3.4 and a
reasonable fresh version of goops (the guile object system). Since
goops can be hard to find, I have a version in the same directory
above, in "guile-oops.tgz". But as mentioned above, a lot remains to
do, and there are almost no scheme code yet, so it is still not very
practically useful. This is just an announcement to warn about what
may come.

For those interested in the details, these are the differences from
the old GWM so far:

 Guile reform:
 * Wool is replaced by Guile.
 * Due to the lexical scooping in Guile, the old way of using 'with'
   to specify parameters to various functions is replaced by keyword
   parameters instead.
 * By the same reason, functions that previously worked on the current
   window or wob, now requires that window or wob as first argument.
 * There are nothing corresponding to the nice concept of "active
   variables" in Guile, so all these are replaced by setter and getter
   functions.
 * I did not bother to recreate "namespaces" in Guile, which among
   others mean that the possibility to have screen specific variables
   when multiple screens are used is removed (temporarily at least).
 Decoration reform:
 * Wob descriptions and wobs are no longer separate objects. 
 * The "bars", "plugs", "menus", and even client decorations are all
   generalized to "deco" objects. 
 * All parts (almost) of a deco can be accessed and modified during use.
 Behavior reform:
 * Of fsm and states, only the states are visible to the user, and now
   called "behaviors". This means that all the states of an fsm need
   not be specified in advance.
 * Grabbing and resending of events are changed. It is now specified
   directly in the state arc by using the keywords :steal and :resend. 
 * Functions that used to work on the current event, now take the
   event as argument. The code to run in a state arc is specified by a
   lambda expression taking the deco and the event as arguments. 
 Paint reform:
 * In any place where a color can go, a pixmap can also be used
   (except in cursors which seem to be limited to two colors).
 * Transparent is just a special color, causing areas painted to become
   transparent. 
 * There are actually two types of transparency, one that punches
   holes through the entire window, and one that just makes the parent
   deco's background shine through. 
 Iconification reform:
 * The user can not control the WM_STATE anymore, nor directly map or
   unmap a window.
 * Instead the user can control whether the window should be hidden or
   not, which is orthogonal to the window's iconification state. 
 * iconify-window is divided into iconify-window and deiconify-window.
And several further minor changes.

What would be needed for future versions are among others:
 * A large amount of scheme code implementing various features and
   window decorations. 
 * Gnome compliance.
 * Updated X11 protocol handling (selections, X property types).
 * Put back the multiple screen support.

Best Regards
  Anders Holst

------- End of Forwarded Message



From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 13:19:20 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA24461
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 13:19:20 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA24458
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 6 Dec 1999 13:19:14 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id KAA21922;
	Mon, 6 Dec 1999 10:19:02 -0800
To: Michael Livshin <mlivshin@bigfoot.com>
Cc: mstachow@alum.mit.edu, scwm-discuss@SCWM.MIT.EDU,
        guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu> <qrrln79m5mv.fsf@clavicle.cs.washington.edu> <384B1329.6D5BC473@alum.mit.edu> <s3n1roquhs.fsf@verisity.com>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 06 Dec 1999 10:19:02 -0800
In-Reply-To: Michael Livshin's message of "06 Dec 1999 11:38:39 +0200"
Message-ID: <qrrbt84kk4p.fsf@clavicle.cs.washington.edu>
Lines: 50
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Michael Livshin <mlivshin@bigfoot.com> writes:

> mstachow@alum.mit.edu writes:
> 
> > "Greg J. Badros" wrote:
> > > 
> > 
> > > I am unconvinced.  The average C programmer shouldn't be reading the
> > > Guile source anyway.  It's far more important that the invariants
> > > between the two parts be clearly intimately tied (and statically
> > > checked, though separating them would only complicate, not eliminate,
> > > the static checking that scwmdoc does).
> > 
> > I don't think the checks are bad (as I said below). However, I don't
> > think making the checking slightly more difficult is a higher cost
> > than making the code even a bit less clear.
> 
> um.  while we are at it, while not have both options available?  they
> both make sense, you know.  for general C code that the user wants to
> make available to Guile, the "decoupled" declaration is best, but this
> doesn't mean that C routines written *just* for Guile need the
> verbosity and duplication, not to mention the very *internals* of
> Guile.
> 
> so, the usage would be like:
> 
> SCM_HOOKUP(c_name, "scheme-name", req_args_num, opt_args_num,
> rest_args_p, "doc-string");
> SCM
> c_name(<args>) {...}
> 
> -and-
> 
> SCM_PROC(c_name, "scheme-name", (req_args_decl), (opt_args_decl),
> (rest_arg_decl), "doc-string") {
>    <stuff>
> }
> 
> (don't kill me for the names).
> 
> does the above make sense?

Both seems reasonable, but I'm still planning on converting the existing 
primitives to the GUILE_PROC format that expands into a function
header.  I'm not sure if you're trying to make a distinction between
req_args_decl and req_args_num, but it's not possible to make the macro
convert a list of arguments into the number of arguments without using
an external tool.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 13:33:07 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA24539
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 13:33:07 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA24536
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 6 Dec 1999 13:33:04 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id KAA21964;
	Mon, 6 Dec 1999 10:32:49 -0800
To: mstachow@alum.mit.edu
Cc: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu> <qrrln79m5mv.fsf@clavicle.cs.washington.edu> <384B1329.6D5BC473@alum.mit.edu>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 06 Dec 1999 10:32:49 -0800
In-Reply-To: mstachow@alum.mit.edu's message of "Sun, 05 Dec 1999 20:36:41 -0500"
Message-ID: <qrr9037ly26.fsf@clavicle.cs.washington.edu>
Lines: 107
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

mstachow@alum.mit.edu writes:

<snip>

> > Sorry, but I have to disagree here, too.  Guile should be able to be
> > viewed as a black box to application developers.  Those that do have to
> > go poking into Guile should be even *more* sophisticated than those
> > reading just an *application* that happens to use the interpreter.
> 
> I disagree. While every library should have sufficient documentation
> that reading the source code is never _necessary_, it is often useful,
> and in a free software project it is essential that it be possible and
> easy. Many times I've found myself looking at the source for even
> well-documented libraries like GNU libc or Tcl for various reasons.

Right, but those that do end up looking at the source aren't going to be 
confused by a macro used for function headers when done consistently and 
pervasively.

> > Yes, it's possible.  But it's worse:  the name foo_proc is duplicated
> > creating yet another point of mismatch that the C language (via cpp)
> > *can* avoid.
> 
> I don't think typing the name of the function twice is bad, especially
> since it is being used in two orthogonal capacities - once to declare
> the function, and once to register it as a Scheme procedure. I also
> do not think there will be a lot of errors resulting from this
> duplication.

I don't see them as orthogonal in most cases.  I simply want to declare
a new primitive foo;  I'm not thinking about writing a C function foo
and exposing it to guile, I'm just interested in making the primitive
available.

I do like Michael's suggestion to provide both capabilities because it's 
clear that others (e.g., you! :-), but I'm sure there are more) do think 
of the two pieces separately.

> > Also, SCWM_PROC exposes the argument list to scwm_make_gsubr.  This
> > permits better reflection capabilities for the primitives so that they
> > can support, e.g., `procedure-formals' and `procedure-required-formals'
> > (see Scwm's reflection.scm).  Duplicating the argument list is out of
> > the question, and getting this feature w/o exposing the argument list is
> > hard.
> 
> I'm not sure if revealing the names of the formals that way is essential.
> They are already included in the doc string generated by the extractor,
> and I can't think of a lot of ways that the identifiers used for the formals
> would be useful programmatically. And further, if the reflection information
> were to be stored externally and generated by the doc extractor (IMO a
> reasonable strategy in any case), then not having the formals in the
> SCM_PROC call presents no additional challenge.

But remember, I'm moving away from the static view of the whole program
and to a cpp-based doc-extraction system where we only will get the
stuff that's contained in the macro.  The checking of invariants will be 
done based on the whole source since it still makes sense for those
invariants to be maintained in code that's conditionally-compiled-out,
but it is confusing to have a primitive that was not compiled exist in
the documentation.

> I think we are on the same page with regards to what functionality we
> want provided. I think the differences between the two approaches boil
> down to this:
> 
> 
> SCM_PROC expands to function header     |   function must be declared separately
> ----------------------------------------|----------------------------------------
> Doc extractor is somewhat simpler       |   Doc extractor somewhat more complex
>                                         |
> Function name stated only once          |   Function name stated twice
>                                         |
> Somewhat less immediately               |   More immediately comprehensible    
> comprehensible                          |
> 
> 
> I think it's a worthwhile tradeoff to do a bit more work in the extractor to
> make the code a bit more readable.

I basically agree, but you're missing that the argument list would need
to be duplicated to provide reflection capabilities.

> But I would like to hear other people's opinions on this - surely people
> other than Greg and me must have a preference one way or the other.

>From the trickle of much-appreciated opinions, people seem to fall on
the separate side, but I'm not sure that everyone understood the
argument list issue.

Here's the bottom line.  *Any* docstring extraction system provides a
tremendous benefit over the current state of affairs.  With Scwm I've
gained a lot of experience making the one I propose practically useful.
I will implement it for Guile as it is in Scwm, modified with the
capability to support separate hookups as Guile currently does, but will 
change the source to use the Scwm-style technique.

One of the problems Guile development has had is that we all have
opinions and we're all perfectionists.  In my opinion it's often better
to have a potentially imperfect evolvable solution that someone (here
me) is willing to implement rather than stagnating while discussing
incremental issues far overshadowed by the big picture. I'm willing to
go out on a limb a little bit by taking action;  worst case is we gain
some experience and have to back out a change or two.  That doesn't seem 
so bad to me.

Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 13:37:20 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA24584
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 13:37:20 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA24573
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Dec 1999 13:36:41 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id KAA21979;
	Mon, 6 Dec 1999 10:36:29 -0800
To: scwm-discuss@scwm.mit.edu
Subject: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of Gwm-2.0
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 06 Dec 1999 10:36:28 -0800
Message-ID: <qrr1z8zlxw3.fsf@clavicle.cs.washington.edu>
Lines: 77
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

To update Scwm folks on this, here is the first of two messages I posted 
to Anders (I actually read the gwmtalk mailing list so responded before
the announcement was also made on our list).

Greg

------- Start of forwarded message -------
To: Anders Holst <aho@sics.se>
Cc: gwm-talk@sophia.inria.fr
Subject: Re: Preannouncement of Gwm-2.0
References: <m11ucXI-001FpGC@callisto.sics.se>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 05 Dec 1999 11:54:09 -0800
Message-ID: <qrremd1noym.fsf@clavicle.cs.washington.edu>

Anders Holst <aho@sics.se> writes:

<snip>

> After having flushed all changes for gwm-1.8d, I can come to the real
> issue: I have for a while been playing with a GWM using guile.
> 
> I know that I am two or three years late with this, and most people
> may have left GWM for other window managers by now. Perhaps most
> notable is SCWM, on which a massive effort is spent to make it as
> general as GWM. But still, I believe that many things are done at the
> wrong level in SCWM. I liked the principle of GWM that it had a
> minimum of design decisions built into the C level, and that thus
> all behaviors and features (like virtual screen, rooms, icon managers,
> menu bars, etc) was specified entirely in lisp.

Ugh.  I really would rather not have yet another highly-configurable
window manager built on Guile---we're duplicating a lot of effort here,
and we have a bigger battle to forge against the not-at-all configurable 
window managers out there.

I respect that you disagree with some of the design decisions in Scwm,
and I agree with you that it'd be great to do less in C and more in
Scheme.  We've been moving in that direction for the last two years, and 
could use help along that front.

I'm begging that instead of starting another guile-based window manager
project that you help us make Scwm more likable to GWM fans.  I'm
particularly interested in your use of GOOPS (though I've been hesitant
to get 100% behind it until we put it in the guile core).

<snip>

> What would be needed for future versions are among others:
>  * A large amount of scheme code implementing various features and
>    window decorations. 
>  * Gnome compliance.
>  * Updated X11 protocol handling (selections, X property types).
>  * Put back the multiple screen support.

These bullets describe Scwm (except the multi-screen support, as I'm not 
sure how well that works).  I think it's far easier and more productive
to migrate Scwm to do less in C code than it is to start from scratch
w.r.t. writing GWM modules in Scheme.  Scwm is a highly usable, highly
practical window manager already.  Most importantly, though, the
user community of very-configurable Lisp-dialect-based window managers
is too small:  we'd do far better to cooperate and convince the rest of
the world of the merits of configurability with Guile/Scheme than to
have development effort split among projects that are so close it's
almost silly.

I don't think there has ever been a single patch to Scwm that I've not
accepted in some form or another and I very readily grant write access
to the repository for repeat contributors.  I truly hope you'll consider
joining Scwm instead of duplicating effort.  There's a lot we can learn
from each other and a lot more we can accomplish as a team.

Greg J. Badros
Scwm Maintainer
http://scwm.mit.edu
http://www.cs.washington.edu/homes/gjb
------- End of forwarded message -------

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 13:37:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA24585
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 13:37:24 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA24580
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Dec 1999 13:37:11 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id KAA21984;
	Mon, 6 Dec 1999 10:36:59 -0800
To: scwm-discuss@scwm.mit.edu
Subject: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of Gwm-2.0
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 06 Dec 1999 10:36:59 -0800
Message-ID: <qrryab7kjas.fsf@clavicle.cs.washington.edu>
Lines: 139
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

And here is my second exchange with Anders.

Greg

------- Start of forwarded message -------
To: Anders Holst <aho@sics.se>
Cc: gwm-talk@sophia.inria.fr
Subject: Re: Preannouncement of Gwm-2.0
References: <m11uxOR-001FpGC@callisto.sics.se>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 06 Dec 1999 09:51:02 -0800
Message-ID: <qrrso1gklfd.fsf@clavicle.cs.washington.edu>

Anders Holst <aho@sics.se> writes:

<snip>

> Much thanks for your kind invitation to join the Scwm effort. In
> principle I agree that much can be gained on cooperation, and that
> eventually the two approaches should perhaps be combined in one window
> manager.

I hope that we can do this at some point.  I'm sympathetic to your
desire to continue down your road as a learning experience.  I know
it'll be very beneficial.

<snip>

> * Fortunately, since both are using Guile, all efforts on writing scm
> code need not be totally wasted, since it can potentially be reused
> between the programs. One example is the "advice.scm" file included in
> gwm-2.0tB which I guess can readily be used in Scwm, or in Guile in
> general. Since both window managers are supposed to be general, it
> should also be possible (eventually) to write the primitives of one in
> terms of the other, thus letting them use each others profiles.

Yes, I'm excited about this.  Please try not to make gratuitous
incompatibilities between Scwm and GWM-- when you're adding a procedure
that Scwm's got, it'd be great if you'd use the same name, or at least
let me know why you're choosing a different name.  Scwm is not yet
*that* encumbered by backward compatibility, and I've often renamed
primitives and procedures to match, say, GWM or Sawmill, when those
WMs's names made more sense. 

> * This is much of an experiment. Some ideas in Gwm-2.0 may turn out
> useful, others not. I don't know how the GWM/SCWM communities will
> react to this new Gwm yet. If there is little interest in the extra
> features of Gwm, it may not be worth moving them to Scwm. If on the
> other hand most people agrees that the Gwm way of doing things are
> better (I am not sure if this will ever happen, people tend to
> disagree...), this may perhaps prompt for far more thorough changes to
> Scwm.
> 
> The goal now is to put together a version of Gwm-2.0 that can actually
> be used in everyday work, and which at least has the code for the same
> functionality as the old Gwm. But I certainly think that it is
> valuable with a continued discussion, and eventually perhaps agreement
> upon the principles for a single configurable window manager.

Fair enough... I'll be interested to see how you resolve the various
issues that will arise.  I encourage you to think about solutions from
first principles before looking at Scwm, but also welcome you to make
use of the code that Scwm has to offer.  Thinking hard first is
essential, though, as GWM is more interesting if it explores a different 
area of the design space.  

> I'm sorry to disappoint you, but currently I only use a few utility
> functions from the goops package. The grand idea was that every "wob"
> (in old gwm terminology) should be a real goops object, and making a
> new window decoration should amount to defining a subclass of a more
> basic window, and each window could define its own methods to
> e.g. iconify or resize it. However, now I don't know how useful this
> would be. The "wobs" are almost like objects already, the wob "property"
> can hold "member" variables, and more often than redefining an iconify
> or resize method for a specific window it is desirable to make it
> possible for packages to redefine these functions for all existing
> windows. So, although theoretically I like the goops idea, it is
> currently on hold...

Yep.  I've had the same thoughts.

> > > What would be needed for future versions are among others:
> > >  * A large amount of scheme code implementing various features and
> > >    window decorations. 
> > >  * Gnome compliance.
> > >  * Updated X11 protocol handling (selections, X property types).
> > >  * Put back the multiple screen support.
> > 
> > These bullets describe Scwm (except the multi-screen support, as I'm not 
> > sure how well that works).
> 
> Yes, the two middle points are put in partially with Scwm in mind, and
> partially because they are required to transform Gwm from the outdated
> window manager it was to something more modern.
> 
> But lets look at the other points I mentioned, and which are
> characteristic for Gwm. What about building up arbitrary window
> decorations by stacking vertical and horizontal (and now also freely
> placed) bars inside each other ? What about painting or drawing text
> with arbitrary pixmaps or even transparent color (or pixmaps with
> transparent parts) ? What about having an arbitrary finite-state
> machine in any part of a window decoration ? What about the potential
> of specifying other kinds of desktop models than the "virtual rooms"
> model taken from Fvwm (for example arbitrary size virtual screens, or
> hidden rooms) ?

These are all things that I'd like Scwm to be able to do and some are
possible now; I am not interested in making Scwm into a windowing
toolkit, but would like to better leverage GTk+'s widgets in, e.g., Scwm 
titlebars.

> I know that much has happened to Scwm lately, most of which I am not
> aware, so please correct me if the above can also be done in Scwm.
> 
> > I think it's far easier and more productive
> > to migrate Scwm to do less in C code than it is to start from scratch
> > w.r.t. writing GWM modules in Scheme.  Scwm is a highly usable, highly
> > practical window manager already.
> 
> I'm not sure what is the easiest here. Moving things from C to scheme
> in Scwm would amount to first stripping out a lot of C code, and then
> rewriting this in scheme, whereas the same thing in Gwm-2.0 now mainly
> involves just the scheme part. Perhaps the scheme code from Gwm-2.0
> could even be reused in Scwm after this stripping process.
> 
> Anyway, I am happy to continue this discussion, and we will see what
> becomes of all this.

Definitely.  I'm happy to provide my perspective and experience on
design issues, though I'm gonna mostly step back so as to not unduly
influence development (as I wrote, it's better from my perspective if
you do things differently, even though I'm convinced I can make
compelling [but conceivably wrong] arguments that I did make the right
design decision).

Best of luck, and lets keep this communication channel wide open.

Greg
------- End of forwarded message -------

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 13:51:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA24818
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 13:51:12 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from admin.emccta.com (root@admin.emccta.com [205.164.34.19])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA24814
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Dec 1999 13:51:07 -0500
Received: from kremlin.emccta.com (kremlin.emccta.com [205.164.34.67])
	by admin.emccta.com (8.8.7/8.8.1) with ESMTP id MAA32447;
	Mon, 6 Dec 1999 12:35:40 -0600
Received: from trow by kremlin.emccta.com with local (Exim 3.03 #1 (Debian))
	id 11v3No-0000Li-00; Mon, 06 Dec 1999 13:01:12 -0600
Date: Mon, 6 Dec 1999 13:01:12 -0600
From: Jon Trowbridge <trow@emccta.com>
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: mstachow@alum.mit.edu, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
Message-ID: <19991206130112.H1189@emccta.com>
Mail-Followup-To: "Greg J. Badros" <gjb@cs.washington.edu>,
	mstachow@alum.mit.edu, scwm-discuss@SCWM.MIT.EDU,
	guile@sourceware.cygnus.com
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu> <qrrln79m5mv.fsf@clavicle.cs.washington.edu> <384B1329.6D5BC473@alum.mit.edu> <qrr9037ly26.fsf@clavicle.cs.washington.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
In-Reply-To: <qrr9037ly26.fsf@clavicle.cs.washington.edu>; from gjb@cs.washington.edu on Mon, Dec 06, 1999 at 10:32:49AM -0800
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Mon, Dec 06, 1999 at 10:32:49AM -0800, Greg J. Badros wrote:
> mstachow@alum.mit.edu writes:
> > I don't think typing the name of the function twice is bad, especially
> > since it is being used in two orthogonal capacities - once to declare
> > the function, and once to register it as a Scheme procedure. I also
> > do not think there will be a lot of errors resulting from this
> > duplication.
> 
> I don't see them as orthogonal in most cases.  I simply want to declare
> a new primitive foo;  I'm not thinking about writing a C function foo
> and exposing it to guile, I'm just interested in making the primitive
> available.

Let me agree with Greg, and vigorously assert that a lot of errors
very easily can result from this duplication.  

We've used guile to scriptify a semi-large simulation tool.  The
bindings (as of today) expose 305 C functions to guile, and define 23
new types via the smob mechanism.

When we first started this, I didn't know how snarfing worked, so we
put in all of the scm_make_gsubr's by hand.  It was a constant source
of problems, as small errors and omissions would be made --- keeping
the function definitions and scm_make_gsubr calls in sync became a big
headache.  In this case, snarfing has been a real life-saver.

I don't see any reason why people should have to enter information
twice and (even worse) keep all of that information in sync when their
is a simple mechanism for automating the process --- orthogonal or
not.  It might not matter so much for small programs with 5 or 6
exposed C functions, but it makes a huge difference in non-trivial
projects.

-JT

-- 
COMINT secret | Jam Echelon! http://www.echelon.wiretapped.net | NSA explosives
assassin terrorist car bomb tactical bin laden waco white house nuclear clinton








From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 14:03:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA25018
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 14:03:51 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from lukla.Sun.COM (lukla.Sun.COM [192.18.98.31])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA25015
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Dec 1999 14:03:47 -0500
Received: from centralmail2.Central.Sun.COM ([129.147.62.11])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id MAA28525;
	Mon, 6 Dec 1999 12:03:17 -0700 (MST)
Received: from muzzy.Central.Sun.COM (muzzy.Central.Sun.COM [129.152.74.150])
	by centralmail2.Central.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id NAA19160;
	Mon, 6 Dec 1999 13:03:01 -0600 (CST)
Received: (from samf@localhost)
	by muzzy.Central.Sun.COM (8.9.3+Sun/8.9.3) id MAA244626;
	Mon, 6 Dec 1999 12:00:13 -0700 (MST)
To: mstachow@alum.mit.edu
Cc: "Greg J. Badros" <gjb@cs.washington.edu>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu> <qrrln79m5mv.fsf@clavicle.cs.washington.edu> <384B1329.6D5BC473@alum.mit.edu>
From: Sam Falkner <samf@central.sun.com>
Date: 06 Dec 1999 12:00:12 -0700
In-Reply-To: mstachow@alum.mit.edu's message of "Sun, 05 Dec 1999 20:36:41 -0500"
Message-ID: <ii71z8zhp37.fsf@central.sun.com>
Lines: 12
User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I'll vote on Greg's side, where SCM_PROC expands to a function header.

I do a lot more C programming that scheme/lisp, and I usually avoid
macros in C.  That said, though, I think that the SCM_PROC is cleaner,
the main reason being that you don't have to duplicate the arg list
for reflection (as was mentioned later in the thread I think).

Also, I'm not really comfortable with the idea of providing both
options (as has been suggested later), but I suppose it would be okay
as long as the core of Guile stuck to one way or the other.

- Sam

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 14:22:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA25272
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 14:22:43 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from igate.sema.de (in-proxy.sema.de [194.123.157.114])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA25268
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Dec 1999 14:22:30 -0500
Received: from rm400.sema.de (rm400.sema.de [192.168.70.31])
	by igate.sema.de (8.8.8/8.8.8) with ESMTP id UAA13549
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Dec 1999 20:22:01 +0100
Received: (from mschmitz@localhost)
	by rm400.sema.de (8.8.8/8.8.8) id TAA04931;
	Mon, 6 Dec 1999 19:03:48 GMT
Date: Mon, 6 Dec 1999 19:03:48 GMT
Message-Id: <199912061903.TAA04931@rm400.sema.de>
From: Michael Schmitz <mschmitz@sema.de>
To: scwm-discuss@scwm.mit.edu
Subject: new version of gnome-panel-menus.scm
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: multipart/mixed;
 boundary="Multipart_Mon_Dec__6_20:03:44_1999-1"
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

--Multipart_Mon_Dec__6_20:03:44_1999-1
Content-Type: text/plain; charset=US-ASCII


Hello all!

Although I don't know whether anybody is interested in my module
generating menus from the Gnome/KDE menu directories, I won't keep
back an updated version of it. So, what's new?

  1. The sort order is now taken into account.
  2. Some more functions are now public.
  3. Lot's of documentation has been added.

Michael.


--Multipart_Mon_Dec__6_20:03:44_1999-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="gnome-panel-menus.scm"
Content-Transfer-Encoding: 7bit

;;;; $Id: gnome-panel-menus.scm,v 1.1.2.2 1999/12/06 18:52:43 mschmitz Exp $
;;;; Copyright (C) 1999 Michael Schmitz <mschmitz@iname.com>
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2, or (at your option)
;;;; any later version.
;;;;
;;;; This program is distributed in the hope that it will be useful,
;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;;; GNU General Public License for more details.
;;;;
;;;; You should have received a copy of the GNU General Public License
;;;; along with this software; see the file COPYING.  If not, write to
;;;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
;;;; Boston, MA 02111-1307 USA
;;;;



;; This module serves setting up menus from directories that represent
;; either Gnome or KDE menus. It contains the following functions of
;; interest:
;;
;; (make-menu-gnome-system #&optional path title)
;;     returns the Gnome System menus (the one you get as top-level
;;     directory in the panel)
;;
;; (make-menu-another-level #&optional path title)
;;     returns the AnotherLevel menus
;;
;; (make-menu-gnome-user #&optional path title)
;;     returns the Gnome user menus
;;
;; (make-menu-kde #&optional path title)
;;     returns the KDE menus
;;
;; (make-menu-from-structured-directory directory #&optional title)
;;     the following function returns a menu that is constructed from
;;     the information in the given directory (see below for a
;;     description of the directories contents)
;;
;; (make-menu-from-list-of-structured-directories directory-list
;;                                                title
;;                                                #&optional title-list)
;;     like make-menu-from-structured-directory, but for a list of
;;     directories
;;
;; (make-all-submenus structured-list #&optional title)
;;     the following function returns a menu which is set up according
;;     to the list given as parameter; The structure of the list is
;;     described below.
;;
;;
;; Structure of a directory that contains a Gnome menu:
;;   1. Subdirectories represent sub-menus.
;;
;;   2. Each directory contains a list of files named
;;      '*.desktop'. These files define ordinary menu-items. The
;;      format of the files - as far as this module is concerned - is
;;      like this:
;;
;;        Name=<default name of the menu-item>
;;        Name[de]=<name of the menu-item in case LANG is "de">
;;        
;;        ... some more language specific lines ...
;;
;;        Exec=<command to be executed>
;;        Icon=<the icon to be displayed to the left of the menu-item>
;;      
;;      All lines but the Exec-line are optional. If there is no
;;      Icon-line, there simply will be no icon. The name of the
;;      menu-item is determined as follows:
;;
;;        1. Take the value of the line Name[$LANG] if there is a line
;;           matching.
;;        2. If $LANG is defined and it contains an underscore (for
;;           example 'en_US') the part heading the '_' is used for
;;           identifying the matching Name-line. So, if LANG=en_US we
;;           look for a line like Name[en].
;;        3. In case there is no line for your language setting (or
;;           LANG is simply undefined), the default name is used (if
;;           any).
;;        4. If there is no line matching 'Name.*=', the base name of
;;           the file itself is taken as the name of the menu-item.
;;
;;      REMARKS:
;;        1. The desktop-files are name '*.kdelnk' instead of
;;           '*.desktop'.
;;
;;   3. All but the top-level directory contain a file named
;;      '.directory'. Just like the desktop-files specify the ordinary
;;      menu-items, the directory-files do for sub-menus. The format
;;      and the algorithm for determining the name of the sub-menu is
;;      almost identical to the one described above. The only
;;      difference is that directory-files do not contain an Exec-line
;;      (well, at least it's ignored).
;;
;;      REMARKS:
;;        1. KDE's directory-files may contain an additional line that
;;           defines the sort order of the menu-items in the
;;           corresponding menu. The format of the line is
;;
;;             SortOrder=<file-or-dir>,<file-or-dir>,<file-or-dir>,...
;;
;;           Look at the description of the '.order' file below for
;;           some more information concerning the sort order of
;;           menu-items.
;;
;;        2. It is no error if the top-level directory contains a
;;           '.directory' file, but it will not be evaluated by the
;;           panel. The same applies to the functions
;;           make-menu-gnome-system, make-menu-another-level,
;;           make-menu-gnome-user and make-menu-kde. However, if you
;;           use the more basic functions
;;           make-menu-from-structured-directory or
;;           make-menu-from-list-of-structured-directories the file is
;;           evaluated if not title has been given as parameter.
;;
;;   4. Each subdirectory may contain a file named '.order'. This file
;;      lists some of the subdirectories (respectively sub-menus) and
;;      desktop-files. The order of the entries in this file defines
;;      the order of the menu-items corresponding to the
;;      subdirectories and desktop-files listed. All menu-items that
;;      belong to a subdirectory or desktop-file not listed in
;;      '.order' are sorted alphabetically (case is ignored). The name
;;      used for sorting the menu-items is the name of the
;;      subdirectory or the name of the menu-item that is take from
;;      the desktop-file (see above).
;;
;;
;; While all interface functions of this module read a directory (or a
;; list of directories) and build a menu from the information
;; extracted, the function make-all-submenus uses the data specified
;; in a special kind of list to produce a menu (actually all other
;; public function build a list and call make-all-submenus). Now, how
;; does this list look like? There are two types of items in these
;; lists:
;;
;;   1. Items that represent ordinary menu-items:
;;      They look like this
;;
;;          '(key-item ((key-icon . "gnome-background.png")
;;                      (key-exec . "background-properties-capplet")
;;                      (key-name . "Background")
;;                      (key-file . "background-properties.desktop")))
;;
;;      Not all of the entries in the alist are mandatory. You don't
;;      need to define an icon, but 'key-exec' must be present (the
;;      value defines the command line). Either 'key-name' or
;;      'key-file' have to be there, they define the name of the
;;      menu-item. If you provide both of them, 'key-name' will be
;;      used.
;;
;;   2. Items that define a sub-menu:
;;      An item that defines a sub-menu might look like this one:
;;
;;          '("Desktop"
;;            (key-name . "Desktop")
;;            (key-order ("theme-selector.desktop" "foo.desktop" "bar"))
;;            (key-dir-contents
;;              (key-item ((key-exec . "theme-selector-capplet")
;;                         (key-name . "Theme Selector")
;;                         (key-file . "theme-selector.desktop")))))
;;
;;       The car of a list specifying a sub-menu has to be a string (a
;;       silly design decision, maybe I'll change this, someday). It
;;       is used as default name of the sub-menu. 'key-name' is an
;;       optional entry that overrides this default name. Another
;;       optional entry 'key-order' specifies the sort order of the
;;       menu-items in the directory to be generated. If no sort order
;;       is specified, all entries will be sorted alphabetically (case
;;       is ignored). The list of strings that define the sort order
;;       contains the names of desktop-files (ending with .desktop
;;       (gnome) or .kdelnk (KDE)) and directories. Entries that don't
;;       name an existing file or directory are ignored. The list of
;;       menu-items itself is defined by the value of
;;       'key-dir-contents'. If the value is #f, there will be a
;;       single menu-item telling the user that this is an empty menu.
;;
;;
;; TODO
;;   1.  Some applications are terminal applications, i.e. they need
;;       to be run in a xterm (or something like that). Whether or not
;;       the application requires a terminal is specified in the
;;       desktop-file. This information is not evaluated currently.


(define-module (app scwm gnome-panel-menus)
  :use-module (app scwm base)
  :use-module (app scwm optargs)
  :use-module (app scwm sort)
  :use-module (ice-9 regex))


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; useful utility functions
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; A tiny function that splits a string and returns a list of
;; items. The argument 'separators' is a string containing separator
;; characters used for splitting the string 'string'.
(define (split separators string)
  (if (not (and (string? separators) (string? string)))
      #f)
  (let* ((result '())
	 (regexp (make-regexp (string-append "([^"
					     separators
					     "]*)(["
					     separators
					     "])?(.*)?")))
	 (match (regexp-exec regexp string)))
    (do ((item (match:substring match 1) (match:substring match 1))
	 (rest (match:substring match 3) (match:substring match 3)))
	((equal? item ""))
      (set! match (regexp-exec regexp rest))
      (set! result (append result (list item))))
    result))


(define (get-name-of-menuitem item)
  (if (string? (car item))
      (car item)
      (let ((name (and (pair? (assq 'key-name item)) (cdr (assq 'key-name item)))))
	(if (not name)
	    ;; sometimes there's no matching 'Name[*]=' entry in a Gnome
	    ;; *.desktop or KDE *.kdelnk file; we use information from the
	    ;; filename in this case
	    (and (pair? (assq 'key-file item))
		 (substring (cdr (assq 'key-file item))
			    0
			    (string-index (cdr (assq 'key-file item)) #\.)))
	    name))))


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; some functions reading and processing Gnome and KDE menu directories
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; the following function reads and evaluates a Gnome and KDE
;; .directory files
(define (process-directory-file-in-dir directory)
  (let ((result '()))
    (if (and (string? directory)
	     (file-exists? directory)
	     (file-is-directory? directory)
	     (access? directory R_OK))
	(begin
	  (let ((directory-file (string-append directory "/.directory")))
	    (if (and (file-exists? directory-file)
		     (not (file-is-directory? directory-file))
		     (access? directory-file R_OK))
		(begin
		  (call-with-input-file
		      directory-file
		    (lambda (port)
		      (let* ((lang (getenv "LANG"))
			     (patterns (append (list (list 'key-name (make-regexp "^Name=")))
					       (if lang
						   (list (list 'key-name
							       (make-regexp
								(string-append
								 "^Name\\\["
								 (if (string-index lang #\_)
								     (substring lang 0 (string-index lang #\_))
								     (string-append lang "_\[A-Za-z\]*"))
								 "\\\]=")))
							 (list 'key-name (make-regexp (string-append "^Name\\\[" lang "\\\]="))))
						   '())
					       (list (list 'key-icon (make-regexp "^Icon=")))))
			     (sort-order-pattern (make-regexp "^SortOrder=")) ;; the sort order of the menuitems is
			                                                      ;; specified in the .directory files for KDE
			     (match #f)
			     (value #f))
			(do ((line (read-line port) (read-line port)))
			    ((eof-object? line))
			  (for-each
			   (lambda (key-and-pattern)
			     (set! match (regexp-exec (cadr key-and-pattern) line))
			     (if match
				 (begin
				   (set! value (make-shared-substring line (match:end match)))
				   (set! result (assoc-set! result (car key-and-pattern) value))
				   ))) patterns)
			  (set! match (regexp-exec sort-order-pattern line))
			  (if match
			      (let ((order-spec (split "," (match:suffix match))))
				(set! result (append result (list (list 'key-order order-spec))))))
			  )))))))))
    result))


;; the following function reads and evaluates a Gnome .order files
(define (process-order-file-in-dir directory)
  (let ((result '()))
    (if (and (string? directory)
	     (file-exists? directory)
	     (file-is-directory? directory)
	     (access? directory R_OK))
	(begin
	  (let ((order-file (string-append directory "/.order")))
	    (if (and (file-exists? order-file)
		     (not (file-is-directory? order-file))
		     (access? order-file R_OK))
		(begin
		  (call-with-input-file
		      order-file
		    (lambda (port)
		      (do ((line (read-line port) (read-line port)))
			  ((eof-object? line))
			(set! result (append result (list line)))))))))))
    result))


;; the following function reads and evaluates a Gnome *.desktop or KDE
;; *.kdelnk file
(define (process-dot-desktop desktop-file)
  (let ((result '()))
    (if (and (string? desktop-file)
	     (file-exists? desktop-file)
	     (not (file-is-directory? desktop-file))
	     (access? desktop-file R_OK))
	(begin
	  (set! result (acons 'key-file (basename desktop-file) '()))
	  (call-with-input-file
	      desktop-file
	    (lambda (port)
	      (let* ((lang (getenv "LANG"))
		     (patterns (append (list (list 'key-name (make-regexp "^Name=")))
				       (if lang
					   (list (list 'key-name
						       (make-regexp
							(string-append
							 "^Name\\\["
							 (if (string-index lang #\_)
							     (substring lang 0 (string-index lang #\_))
							     (string-append lang "_\[A-Za-z\]*"))
							 "\\\]=")))
						 (list 'key-name (make-regexp (string-append "^Name\\\[" lang "\\\]="))))
					   '())
				       (list (list 'key-exec (make-regexp "^Exec="))
					     (list 'key-icon (make-regexp "^Icon="))
					     (list 'key-icon (make-regexp "^MiniIcon=")))))
		     (match #f)
		     (value #f))
		(do ((line (read-line port) (read-line port)))
		    ((eof-object? line))
		  (for-each
		   (lambda (key-and-pattern)
		     (set! match (regexp-exec (cadr key-and-pattern) line))
		     (if match
			 (begin
			   (set! value (make-shared-substring line (match:end match)))
			   (if (not (equal? value ""))
			       (begin
				 (set! result (assoc-set! result (car key-and-pattern) value))))
			   ))) patterns))
		)))))
    result))

;; the following function recursively reads a directory containing
;; either a Gnome or KDE Menu and builds a list containing all
;; information required to generate a (tree of) menu(s)
(define (readdir-rec directory)
  (let ((result '())
	(desktop-regexp (make-regexp ".*\.(desktop|kdelnk)$")))
    (if (and (string? directory) 
	     (file-exists? directory)
	     (file-is-directory? directory)
	     (access? directory R_OK))
	(set! result
	      (append result
		      (let outer ((path directory)
				  (level ""))
			(let ((dir (opendir path))
			      (inner-res '()))
			  (let inner ((dirent (readdir dir)))
			    (let ((fullpath (and (string? dirent)
						 (string-append path "/" dirent)))
				  (content-dot-directory '())
				  (content-dot-order '()))
			      (if (string? dirent)
				  (begin
				    (if (and
					 (not (or (equal? dirent ".")
						  (equal? dirent ".."))))
					(begin
					  (set! inner-res
						(append inner-res
							(cond
							 ((file-is-directory? fullpath)
							  ;; determine the name of the menu entry
							  ;; and the icon (if any) from the .directory
							  ;; file located in fullpath
							  (set! content-dot-directory (process-directory-file-in-dir fullpath))
							  (set! content-dot-order (process-order-file-in-dir fullpath))
							  (list (append (append (list dirent) content-dot-directory)
									(if (eq? content-dot-order '())
									    '()
									    (list (list 'key-order content-dot-order)))
									(acons
									 'key-dir-contents
									 (outer fullpath (string-append level "\t"))
									 '()))))
							 (#t
							  (cond
							   ((regexp-exec desktop-regexp dirent)
							    (list (list 'key-item (process-dot-desktop fullpath)))
							    )
							   (#t '())))
							 ))))
					#f)
				    (inner (readdir dir)))
				  #f)))
			  (closedir dir)
			  inner-res)))))
    result))


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; some functions used for sorting menu-items
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(define (sort-items order-spec items)
  (let ((items-in-order-spec '())
	(remaining-items '()))
    (if order-spec
	(begin
	  ;; split the items into two lists, one for the items to be
	  ;; sorted according to the order specification, another one
	  ;; which is sorted alphabetically
	  (for-each (lambda (elem)
		      (if (member (or (and (string? (car elem)) (car elem))
				      (cdr (assq 'key-file (cadr elem)))) order-spec)
			  (set! items-in-order-spec (append items-in-order-spec (list elem)))
			  (set! remaining-items (append remaining-items (list elem)))))
		    items))
	(set! remaining-items items))
    (append (sort-according-to-order-spec order-spec items-in-order-spec)
	    (sort-alphabetically remaining-items))))


(define (sort-alphabetically items)
  (sort items (lambda (a b)
		(string<? (string-downcase (get-name-of-menuitem (or (and (string? (car a)) a) (cadr a))))
			  (string-downcase (get-name-of-menuitem (or (and (string? (car b)) b) (cadr b))))))))


(define (sort-according-to-order-spec order-spec items)
  (if order-spec
      (sort items (lambda (a b)
		    (> (length (member (or (and (string? (car a)) (car a))
					   (cdr (assq 'key-file (cadr a)))) order-spec))
		       (length (member (or (and (string? (car b)) (car b))
					   (cdr (assq 'key-file (cadr b)))) order-spec)))))
      '()))


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; functions creating menu-items or entire menus
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(define (create-menuitem elem)
  (cond
   ((eq? (car elem) 'key-item)
    (let* ((list (cadr elem))
	   (icon (and (pair? (assq 'key-icon list)) (cdr (assq 'key-icon list))))
	   (name (get-name-of-menuitem list))
	   (exec (cdr (assq 'key-exec list)))
	   (image-height (+ 2 (assoc-ref (font-properties *menu-font*) 'height)))
	   (image-width image-height)
	   (image #f))
      (if (not (eq? icon #f))
	  (set! image (make-image icon)))
      (if (not (equal? image #f))
	  (menuitem name
		    #:image-left (clone-scaled-image image
						     image-width
						     image-height)
		    #:action (exe exec))
	  (menuitem name
		    #:action (exe exec)))))
  ((string? (car elem))
   (menuitem (car elem)
	     #:submenu (make-submenu (car elem)
				     (cdr elem))))
  ))


(define (make-submenu default-name menu-spec)
  (let* ((name (or (get-name-of-menuitem menu-spec)
		   default-name))
	 (icon (and (pair? (assq 'key-icon menu-spec)) (cdr (assq 'key-icon menu-spec))))
	 (order-spec (and (pair? (assq 'key-order menu-spec)) (cadr (assq 'key-order menu-spec))))
	 (items '())
	 (image-height (+ 2 (assoc-ref (font-properties *menu-font*) 'height)))
	 (image-width image-height))
    (if (> (length (cdr (assq 'key-dir-contents menu-spec))) 0)
	(begin
	  ;; before setting up the menu, we have to determine the
	  ;; order the menu-items should appear in
	  (set! items (sort-items order-spec (cdr (assq 'key-dir-contents menu-spec))))
	  (menu
	   (append (list
		    (if (not (eq? icon #f))
			(menu-title name
				    #:image-left (clone-scaled-image (make-image icon)
								     image-width
								     image-height))
			(menu-title name))
		    menu-separator)
		   (map (lambda (elem)
			  (create-menuitem elem))
			items))))
	(menu
	 (list
	  (menuitem (string-append name " (empty)")
	   #:image-left (clone-scaled-image (make-image "gnome-folder.png")
					    image-width
					    image-height)
	   #:action noop))))))


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; public functions
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; the following function returns a menu which is set up according to
;; the list given as parameter; The structure of the list is described
;; in this modules header.
(define*-public (make-all-submenus structured-list #&optional title)
  (menu
   (append
    (if (bound? title)
	(list (menu-title title)
	      menu-separator)
	'())
    (let ((order-spec (and (pair? (assq 'key-order structured-list))
			   (cadr (assq 'key-order structured-list)))))
      (map
       (lambda (structured-list-elem)
	 (if (string? (car structured-list-elem))
	     (menuitem (car structured-list-elem)
		       #:submenu (make-submenu (car structured-list-elem)
					       (cdr structured-list-elem)))
	     (create-menuitem structured-list-elem)))
       (sort-items order-spec structured-list))))))


;; the following function returns a menu that is constructed from the
;; information in the given directory (see above for a description of
;; the directories contents)
(define*-public (make-menu-from-structured-directory directory #&optional title)
  (let ((structured-dir-list (readdir-rec directory))
	(content-dot-directory #f))
    (if structured-dir-list
	(begin
	  (if (not (bound? title))
	      (get-name-of-menuitem (process-directory-file-in-dir directory)))
	  (make-all-submenus structured-dir-list title))
	#f)))


;; like make-menu-from-structured-directory, but for a list of
;; directories
(define*-public (make-menu-from-list-of-structured-directories directory-list
							       title
							       #&optional title-list)
  (let ((title-list-for-map '()))
    (if (bound? title-list)
	(set! title-list-for-map title-list))
    (do ((title "untitled" "untitled"))
	((eq? (length title-list-for-map) (length directory-list)))
      (set! title-list-for-map
	    (append title-list-for-map (list title))))
    (menu
     (append
      (list
       (menu-title title)
       menu-separator)
      (map
       (lambda* (directory title)
		(menuitem title
			  #:submenu (make-menu-from-structured-directory directory title)))
       directory-list title-list-for-map)))))


;; returns the Gnome System menus (the one you get as top-level
;; directory in the panel)
(define*-public (make-menu-gnome-system #&optional
					(path "/usr/share/gnome/apps")
					(title "System Menus"))
  (make-menu-from-structured-directory path title))


;; returns the AnotherLevel menus
(define*-public (make-menu-another-level #&optional
					 (path (string-append (getenv "HOME") "/.gnome/apps-redhat"))
					 (title "AnotherLevel Menus"))
  (make-menu-from-structured-directory path title))


;; returns the Gnome user menus
(define*-public (make-menu-gnome-user #&optional
				      (path (string-append (getenv "HOME") "/.gnome/apps"))
				      (title "User Menus"))
  (make-menu-from-structured-directory path title))


;; returns the KDE menus
(define*-public (make-menu-kde #&optional
			       (path "/usr/share/applnk")
			       (title "KDE Menus"))
  (make-menu-from-structured-directory path title))



;;(get-name-of-menuitem '("Desktop" (key-name . "Desktop")))
;;(get-name-of-menuitem '((key-name . "URL Handlers") (key-file . "url-properties.desktop")))
;;(get-name-of-menuitem '((key-file . "url-properties.desktop")))
;;(get-name-of-menuitem '((key-f . "url-properties.desktop")))

;;(sort-alphabetically '(("Peripherals" (key-name . "Peripherals")) (key-item ((key-name . "URL Handlers") (key-file . "url-properties.desktop"))) (key-item ((key-name . "Menu editor") (key-file . "gmenu.desktop")))))

;;(sort-according-to-order-spec '(key-order ("gnomecc.desktop" "Desktop" "Multimedia" "Imlib_config.desktop")) '(("Desktop" (key-name . "Desktop")) ("Multimedia" (key-name . "Multimedia")) (key-item ((key-name . "GNOME Control Center") (key-file . "gnomecc.desktop"))) (key-item ((key-name . "Imlib Configuration Options") (key-file . "Imlib_config.desktop")))))

;;(readdir-rec "/usr/share/gnome/apps")
;;(popup-menu (make-menu-gnome-system))
;;(popup-menu (make-menu-gnome-user))
;;(popup-menu (make-menu-another-level))
;;(popup-menu (make-menu-kde))
;;(popup-menu (make-menu-from-structured-directory (string-append (getenv "HOME") "/.gnome/apps-redhat")))
;;(popup (make-menu-from-list-of-structured-directories
;;	     (list "/usr/share/gnome/apps" (string-append (getenv "HOME") "/.gnome/apps-redhat") "/usr/share/applnk")
;;	     "TEST"
;;	     (list "System Menus" "AnotherLevel Menus" "KDE Menus")))

--Multipart_Mon_Dec__6_20:03:44_1999-1
Content-Type: text/plain; charset=US-ASCII



--Multipart_Mon_Dec__6_20:03:44_1999-1--

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 15:30:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA25551
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 15:30:11 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from chaos.noisehavoc.org ([208.41.100.131])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA25548
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 6 Dec 1999 15:30:05 -0500
From: mstachow@alum.mit.edu
Received: from alum.mit.edu (localhost [127.0.0.1])
	by chaos.noisehavoc.org (8.9.3/8.9.3) with ESMTP id PAA14159;
	Mon, 6 Dec 1999 15:07:47 -0500
Message-ID: <384C178F.8AB61C84@alum.mit.edu>
Date: Mon, 06 Dec 1999 15:07:43 -0500
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-15 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: "Greg J. Badros" <gjb@cs.washington.edu>
CC: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu> <qrrln79m5mv.fsf@clavicle.cs.washington.edu> <384B1329.6D5BC473@alum.mit.edu> <qrr9037ly26.fsf@clavicle.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Greg J. Badros" wrote:
> 
> Right, but those that do end up looking at the source aren't going to be
> confused by a macro used for function headers when done consistently and
> pervasively.

Fine, let's call the issue one of esthtics rather than clarity. I think
the Guile-style separate

> I don't see them as orthogonal in most cases.  I simply want to declare
> a new primitive foo;  I'm not thinking about writing a C function foo
> and exposing it to guile, I'm just interested in making the primitive
> available.
> 
> I do like Michael's suggestion to provide both capabilities because it's
> clear that others (e.g., you! :-), but I'm sure there are more) do think
> of the two pieces separately.

I agree with the suggestion of providing both versions as well. I think
`SCM_HOOKUP' is not a very good name however. I think `SCM_PROC' for
the current separate version and `SCM_DEFINE' for the integrated version
(on analogy with emacs's `DEFUN' macro) would be reasonably good names.

> But remember, I'm moving away from the static view of the whole program
> and to a cpp-based doc-extraction system where we only will get the
> stuff that's contained in the macro.  The checking of invariants will be
> done based on the whole source since it still makes sense for those
> invariants to be maintained in code that's conditionally-compiled-out,
> but it is confusing to have a primitive that was not compiled exist in
> the documentation.

So are you saying you will just run the program through CPP and out pops
the ready to use result, or that you will run it through cpp and then
postprocess the results in some way? If the latter, I don't see how having
to find function definitions is such a big deal.

> > I think it's a worthwhile tradeoff to do a bit more work in the extractor to
> > make the code a bit more readable.
> 
> I basically agree, but you're missing that the argument list would need
> to be duplicated to provide reflection capabilities.

I think I stated in the earlier message why I don't think that is the case.
(In brief: reflection information can be stored in the same external location
as docstrings and similarly demand-loaded). If it really would be highly
impractical to do reflection of this kind without having the argument
list in the macro, then I will change my stance since duplicating the
C argument list is clearly bogus. 

However, (warning, quarter-baked thought approaching) perhaps it would
be better to make the macro include a scheme-style argument list, since
this would allower better control of how the formal parameter names will
look to the user. The function name is already written once in Scheme style
and once in C style. Indeed there are already cases in the Guile sources
where the Scheme and C names for functions or syntax do correspond in
the canonical way (`atapply' would normally become the Scheme `atapply'
rather than `@apply' for instance), and it may be the same thing might
be useful for formal parameters in some cases.

 
> 
> Here's the bottom line.  *Any* docstring extraction system provides a
> tremendous benefit over the current state of affairs.  With Scwm I've
> gained a lot of experience making the one I propose practically useful.
> I will implement it for Guile as it is in Scwm, modified with the
> capability to support separate hookups as Guile currently does, but will
> change the source to use the Scwm-style technique.

I agree that anything is better than what we have now (i.e. nothing) and
that both variants should be provided, since there's at least one advocate
for each so presumably people may wish to do their applications in one
style or the other. But I think the Guile sources should be left in the
separate style. If both variants are to be supported then which one the
Guile sources use is really just a matter of taste, and my taste at least
prefers having the function header separate.

> One of the problems Guile development has had is that we all have
> opinions and we're all perfectionists.  In my opinion it's often better
> to have a potentially imperfect evolvable solution that someone (here
> me) is willing to implement rather than stagnating while discussing
> incremental issues far overshadowed by the big picture. I'm willing to
> go out on a limb a little bit by taking action;  worst case is we gain
> some experience and have to back out a change or two.  That doesn't seem
> so bad to me.

I'll agree in general that there has perhaps been a bit too much
perfectionism. But perfectionism does have its advantages as well,
especially in the case of widely used libraries - doing something
one way and then releasing it makes it very difficult to move
elsewhere in the design space because the need for backwards
compatibility and the

I don't think anyone has any objection to the docstring system other
than mine about the syntax, and I think we are pretty close to
agreement on that anyway. The only reason I bring it up now is
because I know that changing the SCM_PROC macro either way will require
a large pervasive change to the Guile sources, and if we change our
minds about how to do it, that change will have to happen again.

I think it's really great that you are doing this, and I want to
make sure it gets done in a way everyone can like as quickly as
possible so that a release of Guile with complete reference
documentation can be made as soon as possible. My quibbling over
this one fairly small point should not be construed as anything
other than a way to minimize the time to a releasable version
with full reference docs.

 - Maciej

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 15:30:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA25556
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 15:30:23 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA25553
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Dec 1999 15:30:20 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id MAA22557;
	Mon, 6 Dec 1999 12:29:56 -0800
To: Sam Falkner <samf@central.sun.com>
Cc: mstachow@alum.mit.edu, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu> <qrrln79m5mv.fsf@clavicle.cs.washington.edu> <384B1329.6D5BC473@alum.mit.edu> <ii71z8zhp37.fsf@central.sun.com>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 06 Dec 1999 12:29:56 -0800
In-Reply-To: Sam Falkner's message of "06 Dec 1999 12:00:12 -0700"
Message-ID: <qrrln77ke2j.fsf@clavicle.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Sam Falkner <samf@central.sun.com> writes:

> I'll vote on Greg's side, where SCM_PROC expands to a function header.
> 
> I do a lot more C programming that scheme/lisp, and I usually avoid
> macros in C.  That said, though, I think that the SCM_PROC is cleaner,
> the main reason being that you don't have to duplicate the arg list
> for reflection (as was mentioned later in the thread I think).
> 
> Also, I'm not really comfortable with the idea of providing both
> options (as has been suggested later), but I suppose it would be okay
> as long as the core of Guile stuck to one way or the other.

I intend to stick with the combined GUILE_PROC expands into a function
header technique in the Guile sources except where the connection
*needs* to be made externally (I'm not sure if this will come up until I 
make the change).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 15:44:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA25750
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 15:44:00 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA25747
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 6 Dec 1999 15:43:50 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id MAA22623;
	Mon, 6 Dec 1999 12:42:54 -0800
To: Michael Schmitz <mschmitz@sema.de>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: new version of gnome-panel-menus.scm
References: <199912061903.TAA04931@rm400.sema.de>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 06 Dec 1999 12:42:53 -0800
In-Reply-To: Michael Schmitz's message of "Mon, 6 Dec 1999 19:03:48 GMT"
Message-ID: <qrrd7sjkdgy.fsf@clavicle.cs.washington.edu>
Lines: 21
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Michael Schmitz <mschmitz@sema.de> writes:

> --Multipart_Mon_Dec__6_20:03:44_1999-1
> Content-Type: text/plain; charset=US-ASCII
> 
> 
> Hello all!
> 
> Although I don't know whether anybody is interested in my module
> generating menus from the Gnome/KDE menu directories, I won't keep
> back an updated version of it. So, what's new?
> 
>   1. The sort order is now taken into account.
>   2. Some more functions are now public.
>   3. Lot's of documentation has been added.

Great, thanks-- I've committed this new version to CVS.  Definitely keep 
me current with your changes.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 15:56:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA25919
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 15:56:21 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA25910
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 6 Dec 1999 15:56:17 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id MAA22645;
	Mon, 6 Dec 1999 12:55:53 -0800
To: mstachow@alum.mit.edu
Cc: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu> <qrrln79m5mv.fsf@clavicle.cs.washington.edu> <384B1329.6D5BC473@alum.mit.edu> <qrr9037ly26.fsf@clavicle.cs.washington.edu> <384C178F.8AB61C84@alum.mit.edu>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 06 Dec 1999 12:55:53 -0800
In-Reply-To: mstachow@alum.mit.edu's message of "Mon, 06 Dec 1999 15:07:43 -0500"
Message-ID: <qrraennkcva.fsf@clavicle.cs.washington.edu>
Lines: 140
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

mstachow@alum.mit.edu writes:

> "Greg J. Badros" wrote:
> > 
> > Right, but those that do end up looking at the source aren't going to be
> > confused by a macro used for function headers when done consistently and
> > pervasively.
> 
> Fine, let's call the issue one of esthtics rather than clarity. I think
> the Guile-style separate

You really need to figure out what's wrong with your mail-authoring
software.

> 
> > I don't see them as orthogonal in most cases.  I simply want to declare
> > a new primitive foo;  I'm not thinking about writing a C function foo
> > and exposing it to guile, I'm just interested in making the primitive
> > available.
> > 
> > I do like Michael's suggestion to provide both capabilities because it's
> > clear that others (e.g., you! :-), but I'm sure there are more) do think
> > of the two pieces separately.
> 
> I agree with the suggestion of providing both versions as well. I think
> `SCM_HOOKUP' is not a very good name however. I think `SCM_PROC' for
> the current separate version and `SCM_DEFINE' for the integrated version
> (on analogy with emacs's `DEFUN' macro) would be reasonably good names.

Agreed.

> > But remember, I'm moving away from the static view of the whole program
> > and to a cpp-based doc-extraction system where we only will get the
> > stuff that's contained in the macro.  The checking of invariants will be
> > done based on the whole source since it still makes sense for those
> > invariants to be maintained in code that's conditionally-compiled-out,
> > but it is confusing to have a primitive that was not compiled exist in
> > the documentation.
> 
> So are you saying you will just run the program through CPP and out pops
> the ready to use result, or that you will run it through cpp and then
> postprocess the results in some way? If the latter, I don't see how having
> to find function definitions is such a big deal.

Except that I'd like the post-processor to only have to deal with lines
that start with, say, %%%% as guile-snarf and scwm-snarf now do.  I can
actually get pretty darn close to the raw docstring output as it is w/o
any substantial postprocessing, but my goal is to just make the
postprocessing simple as it is fairly loosely coupled.

> > > I think it's a worthwhile tradeoff to do a bit more work in the extractor to
> > > make the code a bit more readable.
> > 
> > I basically agree, but you're missing that the argument list would need
> > to be duplicated to provide reflection capabilities.
> 
> I think I stated in the earlier message why I don't think that is the case.
> (In brief: reflection information can be stored in the same external location
> as docstrings and similarly demand-loaded). If it really would be highly
> impractical to do reflection of this kind without having the argument
> list in the macro, then I will change my stance since duplicating the
> C argument list is clearly bogus. 

It's a solved problem one way, it's not solved the other way, and we
agree it's largely a matter of aesthetics;  I'm planning on moving
forward with the macro that keeps the coupling tighter and is more
concise.

> However, (warning, quarter-baked thought approaching) perhaps it would
> be better to make the macro include a scheme-style argument list, since
> this would allower better control of how the formal parameter names will
> look to the user. The function name is already written once in Scheme style
> and once in C style. Indeed there are already cases in the Guile sources
> where the Scheme and C names for functions or syntax do correspond in
> the canonical way (`atapply' would normally become the Scheme `atapply'
> rather than `@apply' for instance), and it may be the same thing might
> be useful for formal parameters in some cases.

We already do this in scwmdoc.  foo_p turns into foo?, etc.

> > Here's the bottom line.  *Any* docstring extraction system provides a
> > tremendous benefit over the current state of affairs.  With Scwm I've
> > gained a lot of experience making the one I propose practically useful.
> > I will implement it for Guile as it is in Scwm, modified with the
> > capability to support separate hookups as Guile currently does, but will
> > change the source to use the Scwm-style technique.
> 
> I agree that anything is better than what we have now (i.e. nothing) and
> that both variants should be provided, since there's at least one advocate
> for each so presumably people may wish to do their applications in one
> style or the other. But I think the Guile sources should be left in the
> separate style. If both variants are to be supported then which one the
> Guile sources use is really just a matter of taste, and my taste at least
> prefers having the function header separate.

I just don't buy the argument about code readability.  Function
definitions *very* commonly exploit macros (see my research paper on an
empirical study of C preprocessor use) and better-than-novice programs
will only look twice before figuring out what's going on.

> > One of the problems Guile development has had is that we all have
> > opinions and we're all perfectionists.  In my opinion it's often better
> > to have a potentially imperfect evolvable solution that someone (here
> > me) is willing to implement rather than stagnating while discussing
> > incremental issues far overshadowed by the big picture. I'm willing to
> > go out on a limb a little bit by taking action;  worst case is we gain
> > some experience and have to back out a change or two.  That doesn't seem
> > so bad to me.
> 
> I'll agree in general that there has perhaps been a bit too much
> perfectionism. But perfectionism does have its advantages as well,
> especially in the case of widely used libraries - doing something
> one way and then releasing it makes it very difficult to move
> elsewhere in the design space because the need for backwards
> compatibility and the

Ugh... please *please* look into the disappearing act your words do.

> I don't think anyone has any objection to the docstring system other
> than mine about the syntax, and I think we are pretty close to
> agreement on that anyway. The only reason I bring it up now is
> because I know that changing the SCM_PROC macro either way will require
> a large pervasive change to the Guile sources, and if we change our
> minds about how to do it, that change will have to happen again.

That's the main reason I even proposed the change before touching all
the source. 

> I think it's really great that you are doing this, and I want to
> make sure it gets done in a way everyone can like as quickly as
> possible so that a release of Guile with complete reference
> documentation can be made as soon as possible. My quibbling over
> this one fairly small point should not be construed as anything
> other than a way to minimize the time to a releasable version
> with full reference docs.

I'll be making the change next weekend, I expect.  I appreciate the
feedback from you and everyone.  Thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 17:27:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA26437
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 17:27:59 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from chaos.noisehavoc.org ([208.41.100.131])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA26434
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 6 Dec 1999 17:27:53 -0500
From: mstachow@alum.mit.edu
Received: from alum.mit.edu (localhost [127.0.0.1])
	by chaos.noisehavoc.org (8.9.3/8.9.3) with ESMTP id RAA14301;
	Mon, 6 Dec 1999 17:05:47 -0500
Message-ID: <384C333B.D90957E3@alum.mit.edu>
Date: Mon, 06 Dec 1999 17:05:47 -0500
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-15 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: "Greg J. Badros" <gjb@cs.washington.edu>
CC: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu> <qrrln79m5mv.fsf@clavicle.cs.washington.edu> <384B1329.6D5BC473@alum.mit.edu> <qrr9037ly26.fsf@clavicle.cs.washington.edu> <384C178F.8AB61C84@alum.mit.edu> <qrraennkcva.fsf@clavicle.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Greg J. Badros" wrote:
> 
> You really need to figure out what's wrong with your mail-authoring
> software.

Argh. <crosses fingers and hopes this one comes out OK>

> >
> > So are you saying you will just run the program through CPP and out pops
> > the ready to use result, or that you will run it through cpp and then
> > postprocess the results in some way? If the latter, I don't see how having
> > to find function definitions is such a big deal.
> 
> Except that I'd like the post-processor to only have to deal with lines
> that start with, say, %%%% as guile-snarf and scwm-snarf now do.  I can
> actually get pretty darn close to the raw docstring output as it is w/o
> any substantial postprocessing, but my goal is to just make the
> postprocessing simple as it is fairly loosely coupled.

It sounds like that may place a lot of contstraints on where line
breaks may or must go in the macro calls.
  
> It's a solved problem one way, it's not solved the other way, and we
> agree it's largely a matter of aesthetics;  I'm planning on moving
> forward with the macro that keeps the coupling tighter and is more
> concise.

I hope we can reach some sort of consensus before you integrate this
with Guile.

> > However, (warning, quarter-baked thought approaching) perhaps it would
> > be better to make the macro include a scheme-style argument list, since
> > this would allower better control of how the formal parameter names will
> > look to the user. The function name is already written once in Scheme style
> > and once in C style. Indeed there are already cases in the Guile sources
> > where the Scheme and C names for functions or syntax do correspond in
> > the canonical way (`atapply' would normally become the Scheme `atapply'
> > rather than `@apply' for instance), and it may be the same thing might
> > be useful for formal parameters in some cases.
> 
> We already do this in scwmdoc.  foo_p turns into foo?, etc.

I know this translation happens. My point was regarding names that cannot
translate that way. `_p' to `?' at the end is a reasonable transformation.
Prefix `at' to prefix `@' is not, IMO, because a word could very well 
legitimately start with at - and there is no unambiguous way to
represent that Scheme identifier in the C style.
  
> I just don't buy the argument about code readability.  Function
> definitions *very* commonly exploit macros (see my research paper on an
> empirical study of C preprocessor use) and better-than-novice programs
> will only look twice before figuring out what's going on.

Pointer to paper please? I'm willing to recosider if this is widely used
existing practice. But I still think it looks better with the function
header separate.

 - Maciej

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 17:37:13 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA26497
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 17:37:13 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA26494
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 6 Dec 1999 17:36:34 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id OAA23747;
	Mon, 6 Dec 1999 14:36:01 -0800
To: mstachow@alum.mit.edu
Cc: scwm-discuss@SCWM.MIT.EDU, guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu> <qrrln79m5mv.fsf@clavicle.cs.washington.edu> <384B1329.6D5BC473@alum.mit.edu> <qrr9037ly26.fsf@clavicle.cs.washington.edu> <384C178F.8AB61C84@alum.mit.edu> <qrraennkcva.fsf@clavicle.cs.washington.edu> <384C333B.D90957E3@alum.mit.edu>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 06 Dec 1999 14:36:01 -0800
In-Reply-To: mstachow@alum.mit.edu's message of "Mon, 06 Dec 1999 17:05:47 -0500"
Message-ID: <qrrso1fitny.fsf@clavicle.cs.washington.edu>
Lines: 71
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

mstachow@alum.mit.edu writes:

<snip>

> > Except that I'd like the post-processor to only have to deal with lines
> > that start with, say, %%%% as guile-snarf and scwm-snarf now do.  I can
> > actually get pretty darn close to the raw docstring output as it is w/o
> > any substantial postprocessing, but my goal is to just make the
> > postprocessing simple as it is fairly loosely coupled.
> 
> It sounds like that may place a lot of contstraints on where line
> breaks may or must go in the macro calls.

It's easy to work around that issue, too, and still avoid looking at the 
whole source file.

> > It's a solved problem one way, it's not solved the other way, and we
> > agree it's largely a matter of aesthetics;  I'm planning on moving
> > forward with the macro that keeps the coupling tighter and is more
> > concise.
> 
> I hope we can reach some sort of consensus before you integrate this
> with Guile.

I'm guessing we're not going to on the detail because I thought the
consensus was that it's an aesthetic issue.

> > > However, (warning, quarter-baked thought approaching) perhaps it would
> > > be better to make the macro include a scheme-style argument list, since
> > > this would allower better control of how the formal parameter names will
> > > look to the user. The function name is already written once in Scheme style
> > > and once in C style. Indeed there are already cases in the Guile sources
> > > where the Scheme and C names for functions or syntax do correspond in
> > > the canonical way (`atapply' would normally become the Scheme `atapply'
> > > rather than `@apply' for instance), and it may be the same thing might
> > > be useful for formal parameters in some cases.
> > 
> > We already do this in scwmdoc.  foo_p turns into foo?, etc.
> 
> I know this translation happens. My point was regarding names that cannot
> translate that way. `_p' to `?' at the end is a reasonable transformation.
> Prefix `at' to prefix `@' is not, IMO, because a word could very well 
> legitimately start with at - and there is no unambiguous way to
> represent that Scheme identifier in the C style.

I see;  I'm willing to burn that bridge if and when we come to it.

> > I just don't buy the argument about code readability.  Function
> > definitions *very* commonly exploit macros (see my research paper on an
> > empirical study of C preprocessor use) and better-than-novice programs
> > will only look twice before figuring out what's going on.
> 
> Pointer to paper please? I'm willing to recosider if this is widely used
> existing practice. But I still think it looks better with the function
> header separate.

It's off of my home page.  See:

http://www.cs.washington.edu/homes/gjb/#papers

I'm just not convinced by the "looks better" argument when I have real
software engineering arguments for making the coupling tighter.  (BTW,
my paper argues that it'd be great if we didn't have macro's obfuscating
the code; but it also demonstrates that it's common practice and
function headers are one of the most common places for that.  I'm
claiming now that sticking to conventions alleviates the difficulty, and 
in the presence of other benefits, those other benefits far outweigh the 
slight decrease in initial readability.)

Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 18:37:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA26787
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 18:37:23 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA26784
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Dec 1999 18:37:01 -0500
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id KAA30186
	for <scwm-discuss@scwm.mit.edu>; Tue, 7 Dec 1999 10:36:34 +1100
Message-ID: <384C4882.522AA2B2@tech.com.au>
Date: Tue, 07 Dec 1999 10:36:34 +1100
From: Chris <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: Re: Preannouncement of Gwm-2.0
References: <199912061606.LAA20454@mail01.infonautics.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> From:    Anders Holst <aho@sics.se> wrote:
> I know that I am two or three years late with this, and most 
> people may have left GWM for other window managers by now. 
> Perhaps most notable is SCWM, on which a massive effort is 
> spent to make it as general as GWM. But still, I believe 
> that many things are done at the wrong level in SCWM. I 
> liked the principle of GWM that it had a minimum of design 
> decisions built into the C level, and that thus
> all behaviors and features (like virtual screen, rooms, icon 
> managers, menu bars, etc) was specified entirely in lisp.

Any comments on the above? I was under the impression that scwm did as
much as possible in scheme within the bounds of reasonable performance
and the general current state of progress. Could we do more? Should we
do more? Or is the above the justifications of a loving gwm parent?

-- 
Chris Bitmead
mailto:chris@tech.com.au

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 18:50:29 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA26891
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 18:50:29 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA26887
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 6 Dec 1999 18:50:25 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id PAA28006;
	Mon, 6 Dec 1999 15:50:09 -0800
To: Chris <chris@tech.com.au>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Preannouncement of Gwm-2.0
References: <199912061606.LAA20454@mail01.infonautics.com> <384C4882.522AA2B2@tech.com.au>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 06 Dec 1999 15:50:09 -0800
In-Reply-To: Chris's message of "Tue, 07 Dec 1999 10:36:34 +1100"
Message-ID: <qrrk8mriq8e.fsf@clavicle.cs.washington.edu>
Lines: 34
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris <chris@tech.com.au> writes:

> > From:    Anders Holst <aho@sics.se> wrote:
> > I know that I am two or three years late with this, and most 
> > people may have left GWM for other window managers by now. 
> > Perhaps most notable is SCWM, on which a massive effort is 
> > spent to make it as general as GWM. But still, I believe 
> > that many things are done at the wrong level in SCWM. I 
> > liked the principle of GWM that it had a minimum of design 
> > decisions built into the C level, and that thus
> > all behaviors and features (like virtual screen, rooms, icon 
> > managers, menu bars, etc) was specified entirely in lisp.
> 
> Any comments on the above? I was under the impression that scwm did as
> much as possible in scheme within the bounds of reasonable performance
> and the general current state of progress. Could we do more? Should we
> do more? Or is the above the justifications of a loving gwm parent?

I forwarded my responses to the list (I think, anyway-- did you not
receive them?).  GWM definitely does more in Scheme; Scwm has been
moving to do more in Scheme, but I've never felt that GWM was at the
right level, either; I think there's too much low-level stuff done in
Scheme code there (but I think too much is done in C code in Scwm).

Anders is definitely a GWM fan, and I'm hoping we'll be able to mutually
benefit as much as possible.  But, I'm disappointed to see the potential
for further split among the Lisp-dialect-based configurable WM
community.

For now he's got an idea, and is running with it, so I'm willing to
watch and see how he does while offering any advice that I can that he
asks for along the way.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 18:58:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA27048
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 18:58:11 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA27045
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Dec 1999 18:58:05 -0500
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id KAA30332
	for <scwm-discuss@scwm.mit.edu>; Tue, 7 Dec 1999 10:57:52 +1100
Message-ID: <384C4D80.3643E874@tech.com.au>
Date: Tue, 07 Dec 1999 10:57:52 +1100
From: Chris <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: Re: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of 
 Gwm-2.0
References: <qrryab7kjas.fsf@clavicle.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


> > Since both window managers are supposed to be general, it
> > should also be possible (eventually) to write the 
> > primitives of one in
> > terms of the other, thus letting them use each others 
> > profiles.

Sounds to me like an interesting theory but an unlikely reality.
Compatibility is one of those projects that open source doesn't excel
at. It's often hard work with little glory.

> > But lets look at the other points I mentioned, and which 
> > are characteristic for Gwm. What about building up 
> > arbitrary window decorations by stacking vertical and 
> > horizontal (and now also freely placed) bars inside each 
> > other ? What about painting or drawing text with arbitrary 
> > pixmaps or even transparent color (or pixmaps with 
> > transparent parts) ? What about having an arbitrary 
> > finite-state machine in any part of a window decoration ? 
> > What about the potential of specifying other kinds of 
> > desktop models than the "virtual rooms" model taken from 
> > Fvwm (for example arbitrary size virtual screens, or
> > hidden rooms) ?

To my eye the above issues look like non-core add-ons that would be best
built on top of a working core. Things like new decoration construction
methods and a different virtual window sub-system, I'm not that intimate
with scwm internals but I would have thought these are all mini-projects
that can be built on the current base, not cause to start a whole new
effort.

Well I'm one of those people who thinks multiple efforts are a waste of
time and counter productive. I think that KDE/Gnome divide is annoying
and stupid, not beneficial mutual competition (I won't get into an
argument, it's just my perspective).

-- 
Chris Bitmead
mailto:chris@tech.com.au

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 19:07:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA27191
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 19:07:02 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA27182
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 6 Dec 1999 19:06:14 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id QAA28111;
	Mon, 6 Dec 1999 16:05:55 -0800
To: Chris <chris@tech.com.au>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of   Gwm-2.0
References: <qrryab7kjas.fsf@clavicle.cs.washington.edu> <384C4D80.3643E874@tech.com.au>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 06 Dec 1999 16:05:55 -0800
In-Reply-To: Chris's message of "Tue, 07 Dec 1999 10:57:52 +1100"
Message-ID: <qrrg0xfipi4.fsf@clavicle.cs.washington.edu>
Lines: 46
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Chris <chris@tech.com.au> writes:

> > > Since both window managers are supposed to be general, it
> > > should also be possible (eventually) to write the 
> > > primitives of one in
> > > terms of the other, thus letting them use each others 
> > > profiles.
> 
> Sounds to me like an interesting theory but an unlikely reality.
> Compatibility is one of those projects that open source doesn't excel
> at. It's often hard work with little glory.
> 
> > > But lets look at the other points I mentioned, and which 
> > > are characteristic for Gwm. What about building up 
> > > arbitrary window decorations by stacking vertical and 
> > > horizontal (and now also freely placed) bars inside each 
> > > other ? What about painting or drawing text with arbitrary 
> > > pixmaps or even transparent color (or pixmaps with 
> > > transparent parts) ? What about having an arbitrary 
> > > finite-state machine in any part of a window decoration ? 
> > > What about the potential of specifying other kinds of 
> > > desktop models than the "virtual rooms" model taken from 
> > > Fvwm (for example arbitrary size virtual screens, or
> > > hidden rooms) ?
> 
> To my eye the above issues look like non-core add-ons that would be best
> built on top of a working core. Things like new decoration construction
> methods and a different virtual window sub-system, I'm not that intimate
> with scwm internals but I would have thought these are all mini-projects
> that can be built on the current base, not cause to start a whole new
> effort.

That's what I tried to convince him of, too. 

> Well I'm one of those people who thinks multiple efforts are a waste of
> time and counter productive. I think that KDE/Gnome divide is annoying
> and stupid, not beneficial mutual competition (I won't get into an
> argument, it's just my perspective).

I largely agree.  Here the community is just so small that it seems
especially unfortunate.  But I do believe that there is something to be
said for exploring different parts of the design space.  I'm just hoping 
that GWM does interesting stuff differently enough to be different, and
uninteresting stuff similarly enough to be compatibile.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 20:13:25 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA27611
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 20:13:25 -0500
Received: from 21stcentury.net (24-136-21-198.na.21stcentury.net [24.136.21.198])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA27608
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 6 Dec 1999 20:13:19 -0500
Received: (from exile@localhost)
	by 21stcentury.net (8.9.3/8.9.3) id SAA00960;
	Mon, 6 Dec 1999 18:54:46 -0500
X-Authentication-Warning: 21stcentury.net: exile set sender to exile@21stcentury.net using -f
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: Chris <chris@tech.com.au>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Preannouncement of Gwm-2.0
References: <199912061606.LAA20454@mail01.infonautics.com> <384C4882.522AA2B2@tech.com.au> <qrrk8mriq8e.fsf@clavicle.cs.washington.edu>
From: exile@21stcentury.net (exile)
Date: 06 Dec 1999 18:54:46 -0500
In-Reply-To: "Greg J. Badros"'s message of "06 Dec 1999 15:50:09 -0800"
Message-ID: <m2zovnd3qx.fsf@21stcentury.net>
Lines: 60
User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Greg J. Badros" <gjb@cs.washington.edu> writes:
}Chris <chris@tech.com.au> writes:
}> > From:    Anders Holst <aho@sics.se> wrote:
}> > I know that I am two or three years late with this, and most 
}> > people may have left GWM for other window managers by now. 
}> > Perhaps most notable is SCWM, on which a massive effort is 
}> > spent to make it as general as GWM. But still, I believe 
}> > that many things are done at the wrong level in SCWM. I 
}> > liked the principle of GWM that it had a minimum of design 
}> > decisions built into the C level, and that thus
}> > all behaviors and features (like virtual screen, rooms, icon 
}> > managers, menu bars, etc) was specified entirely in lisp.
}> 
}> Any comments on the above? I was under the impression that scwm did as
}> much as possible in scheme within the bounds of reasonable performance
}> and the general current state of progress. Could we do more? Should we
}> do more? Or is the above the justifications of a loving gwm parent?
}
}I forwarded my responses to the list (I think, anyway-- did you not
}receive them?).  GWM definitely does more in Scheme; Scwm has been
}moving to do more in Scheme, but I've never felt that GWM was at the
}right level, either; I think there's too much low-level stuff done in
}Scheme code there (but I think too much is done in C code in Scwm).
}
}Anders is definitely a GWM fan, and I'm hoping we'll be able to mutually
}benefit as much as possible.  But, I'm disappointed to see the potential
}for further split among the Lisp-dialect-based configurable WM
}community.

 What's wrong with combining the two, taking the best of both and
 combining forces in regards to programming. I used GWM several years
 ago and reather liked it. The primary problem I had with it then is
 just that it's massively confusing. Especially to someone learning
 linux as I was then. {Not to say that that's changed a lot. :}}

 I think you probably need a really large user base to come up with
 the really large number of add in scripts, graphics, etc that might
 make either window manager more attractive to the general public.

 Some add on stuff like a terminal, file manager, applets, etc {seems
 I read about this somewhere} would really make things much nicer as
 well. 

 Maybe a customize system like emacs?

 I just read the article on stealing ideas from other windowmanagers
 as well... my personal feelings about copyrights aside... doesn't
 it make more sense to do things originally? From scratch? It doesn't
 really make sense not to use general concepts that have already
 worked in the past... I tend to think though that in order to
 really progress you've got to take a new tack with some things.
 
 Pie menus, for instance.

 Look at what enlightenment's done...
-- 
  {exile} - http://www.freespeech.org/apophysis {v6.1} - ICQ# 47439354

                                   "It is god's will that I inflame."
                                                           {exile}

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 20:19:41 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA27679
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 20:19:41 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ale.physics.sunysb.edu (ale.physics.sunysb.edu [129.49.30.117])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA27676
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 6 Dec 1999 20:19:38 -0500
Received: by superk.physics.sunysb.edu
	via sendmail from stdin
	id <m11urXw-000UuOC@ale.physics.sunysb.edu> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Mon, 6 Dec 1999 01:22:52 -0500 (EST) 
Message-Id: <m11urXw-000UuOC@ale.physics.sunysb.edu>
Date: Mon, 6 Dec 1999 01:22:52 -0500 (EST)
From: Clark McGrew <mcgrew@ale.physics.sunysb.edu>
To: gjb@cs.washington.edu
CC: mstachow@alum.mit.edu, scwm-discuss@SCWM.MIT.EDU,
        guile@sourceware.cygnus.com
In-reply-to: <qrrln79m5mv.fsf@clavicle.cs.washington.edu>
	(gjb@cs.washington.edu)
Subject: Re: Scwm docstrings change
Reply-to: clark.mcgrew@sunysb.edu
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu> <qrrln79m5mv.fsf@clavicle.cs.washington.edu>
User-Agent: SEMI/1.12.1 ([JR] Nonoichi) FLIM/1.12.7 (=?ISO-8859-4?Q?Y=FEza?=
 =?ISO-8859-4?Q?ki?=) Emacs/20.4 (i386-debian-linux-gnu) MULE/4.0
 (HANANOEN)
MIME-Version: 1.0 (generated by SEMI 1.12.1 - "[JR] Nonoichi")
Content-Type: text/plain; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hello,

Greg J. Badros suggests:

> SCM_PROC(foo_proc,"foo-proc",1,0,0, (SCM bar),
> 	 "Documentation for foo_proc")
> {
> 	/* Function body .... */
> }


Please don't use macro's to change the syntax of C.  That's great for
the person who wrote and developed the system, but it severely
decreases the readability of the code.  

Since all guile routines like this have a predictable calling
sequence,  It should be possible to generate a proto-type with the
SCM_PROC snarfer, and then the compiler will make sure the proto
types are OK.

In code this might look like:

SCM_PROC(foo_proc,"foo-proc",1,0,0,"Documentation is good")

SCM
scm_foo_proc(SCM bar) 
{ /* body */ }

Which could snarf to:

/* in scm_foo_bar.hx */
SCM scm_foo_proc(SCM bar);

and then the normal scm_foo_proc.x would also be generated.

Cheers,

Clark



From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 20:21:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id UAA27716
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 20:21:40 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id UAA27709
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 6 Dec 1999 20:21:36 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id RAA28978;
	Mon, 6 Dec 1999 17:21:27 -0800
To: exile@21stcentury.net (exile)
Cc: Chris <chris@tech.com.au>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: Preannouncement of Gwm-2.0
References: <199912061606.LAA20454@mail01.infonautics.com> <384C4882.522AA2B2@tech.com.au> <qrrk8mriq8e.fsf@clavicle.cs.washington.edu> <m2zovnd3qx.fsf@21stcentury.net>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 06 Dec 1999 17:21:27 -0800
In-Reply-To: exile@21stcentury.net's message of "06 Dec 1999 18:54:46 -0500"
Message-ID: <qrr9037im08.fsf@clavicle.cs.washington.edu>
Lines: 42
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

exile@21stcentury.net (exile) writes:

>  What's wrong with combining the two, taking the best of both and
>  combining forces in regards to programming. I used GWM several years
>  ago and reather liked it. The primary problem I had with it then is
>  just that it's massively confusing. Especially to someone learning
>  linux as I was then. {Not to say that that's changed a lot. :}}

Nothing; I'm all for combining them, and we already have numerous
features and code snippets borrowed from GWM.

> 
>  I think you probably need a really large user base to come up with
>  the really large number of add in scripts, graphics, etc that might
>  make either window manager more attractive to the general public.
> 
>  Some add on stuff like a terminal, file manager, applets, etc {seems
>  I read about this somewhere} would really make things much nicer as
>  well. 

This stuff belongs in the desktop environment, IMO.

> 
>  Maybe a customize system like emacs?

We've got this in Scwm in the form of the preferences module and its
pretty nice.

>  I just read the article on stealing ideas from other windowmanagers
>  as well... my personal feelings about copyrights aside... doesn't
>  it make more sense to do things originally? From scratch? It doesn't
>  really make sense not to use general concepts that have already
>  worked in the past... I tend to think though that in order to
>  really progress you've got to take a new tack with some things.
>  
>  Pie menus, for instance.

We've got them too.

Greg



From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 21:06:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA28108
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 21:06:27 -0500
Received: from 21stcentury.net (24-136-21-198.na.21stcentury.net [24.136.21.198])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA28105
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 6 Dec 1999 21:05:59 -0500
Received: (from exile@localhost)
	by 21stcentury.net (8.9.3/8.9.3) id TAA01131;
	Mon, 6 Dec 1999 19:47:24 -0500
X-Authentication-Warning: 21stcentury.net: exile set sender to exile@21stcentury.net using -f
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Preannouncement of Gwm-2.0
References: <199912061606.LAA20454@mail01.infonautics.com> <384C4882.522AA2B2@tech.com.au> <qrrk8mriq8e.fsf@clavicle.cs.washington.edu> <m2zovnd3qx.fsf@21stcentury.net> <qrr9037im08.fsf@clavicle.cs.washington.edu>
From: exile@21stcentury.net (exile)
Date: 06 Dec 1999 19:47:23 -0500
In-Reply-To: "Greg J. Badros"'s message of "06 Dec 1999 17:21:27 -0800"
Message-ID: <m2k8mr60h0.fsf@21stcentury.net>
Lines: 55
User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Greg J. Badros" <gjb@cs.washington.edu> writes:
}exile@21stcentury.net (exile) writes:

}>  I think you probably need a really large user base to come up with
}>  the really large number of add in scripts, graphics, etc that might
}>  make either window manager more attractive to the general public.
}> 
}>  Some add on stuff like a terminal, file manager, applets, etc {seems
}>  I read about this somewhere} would really make things much nicer as
}>  well. 
}
}This stuff belongs in the desktop environment, IMO.

 Yeah... but you are using an interpreted language to handle
 things. What would be wrong with a few c extensions that would
 fit in? Or just a few scheme based "objects" that performed
 functions outside of the scope that the windowmanager generally
 takes care of. I appreciate that you've already got "modules"
 I'm just thinking of something a bit more complex, I suppose.

}>  Maybe a customize system like emacs?
}
}We've got this in Scwm in the form of the preferences module and its
}pretty nice.

 Yeah... I like that. It's made several operations much easier.

 I was thinking something like the customize buffer in emacs... I've
 not really tried the emacs mode you've already put together. Primarily
 because it didn't install as it was supposed to and I've not been able
 to find the damnable .el file. I just downloaded it again... we'll see
 what happens.

}>  I just read the article on stealing ideas from other windowmanagers
}>  as well... my personal feelings about copyrights aside... doesn't
}>  it make more sense to do things originally? From scratch? It doesn't
}>  really make sense not to use general concepts that have already
}>  worked in the past... I tend to think though that in order to
}>  really progress you've got to take a new tack with some things.
}>  
}>  Pie menus, for instance.
}
}We've got them too.

 I'm using your window manager. I thought it was probably the best
 suited to "extend." I was thinking of tying it into some sort of
 knowledge base, speech synthesis, etc. Adding some interactive
 functions and so forth. I'm still learning scheme though so that
 may be in the future some. I do have a fairly nice theme started
 :} again... seeing as I'm still learnng this that's taking some time.
-- 
  {exile} - http://www.freespeech.org/apophysis {v6.1} - ICQ# 47439354

                                   "It is god's will that I inflame."
                                                           {exile}

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec  6 21:42:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA28269
	for scwm-discuss-outgoing; Mon, 6 Dec 1999 21:42:02 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tequila.cs.yale.edu (TEQUILA.CS.YALE.EDU [128.36.229.152])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA28266
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Dec 1999 21:41:57 -0500
Received: from tequila.cs.yale.edu (localhost [127.0.0.1])
	by tequila.cs.yale.edu (8.9.3/8.9.3) with SMTP id VAA06594
	for <scwm-discuss@scwm.mit.edu>; Mon, 6 Dec 1999 21:41:44 -0500
To: scwm-discuss@scwm.mit.edu
From: "Stefan Monnier" <monnier+lists/scwm/discuss/news/@tequila.cs.yale.edu>
Newsgroups: lists.scwm.discuss
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu> <qrrln79m5mv.fsf@clavicle.cs.washington.edu> <m11urXw-000UuOC@ale.physics.sunysb.edu>
Date: 06 Dec 1999 21:41:42 -0500
Message-ID: <5lk8mrfp5l.fsf@tequila.cs.yale.edu>
Lines: 16
X-Newsreader: Gnus v5.7/Emacs 20.5
Path: tequila.cs.yale.edu
NNTP-Posting-Host: tequila.cs.yale.edu
X-Trace: 6 Dec 1999 21:41:42 -0500, tequila.cs.yale.edu
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> "Clark" == Clark McGrew <mcgrew@ale.physics.sunysb.edu> writes:
> Please don't use macro's to change the syntax of C.  That's great for
> the person who wrote and developed the system, but it severely
> decreases the readability of the code.

I strongly disagree with the `severely'.  It's mostly a question
of habit, and it took me probably about 30s to get used to it while
going through Emacs' source code.

I agree that keeping C syntax would be good, but I get pissed no end
when I have to update things at several places and keep them consistent.
Using function prototypes to mechanically ensure the consistency is good,
but eliminating the source of inconsistence is even better.


	Stefan

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Dec  7 03:06:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA28681
	for scwm-discuss-outgoing; Tue, 7 Dec 1999 03:06:11 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from chaos.noisehavoc.org ([208.41.100.131])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA28678
	for <scwm-discuss@scwm.mit.edu>; Tue, 7 Dec 1999 03:05:24 -0500
From: mstachow@alum.mit.edu
Received: from alum.mit.edu (localhost [127.0.0.1])
	by chaos.noisehavoc.org (8.9.3/8.9.3) with ESMTP id CAA14563
	for <scwm-discuss@scwm.mit.edu>; Tue, 7 Dec 1999 02:43:12 -0500
Message-ID: <384CBA8F.A6426675@alum.mit.edu>
Date: Tue, 07 Dec 1999 02:43:11 -0500
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-15 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: scwm-discuss@scwm.mit.edu
Subject: Resigning as maintainer
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


I haven't really had time to contribute for a while, but I'd like to
officially say at this point that Greg is the sole maintainer, and
while I will make an effort to contibute from time to time, most of
my free software hacking time will be spent on my new position as
Guile maintainer. I think at this point working on Guile can do
as much good for Scwm as working on Scwm itself anyway.

Happy hacking,

Maciej

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Dec  7 03:08:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA28701
	for scwm-discuss-outgoing; Tue, 7 Dec 1999 03:08:44 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from chaos.noisehavoc.org ([208.41.100.131])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA28697
	for <scwm-discuss@scwm.mit.edu>; Tue, 7 Dec 1999 03:08:34 -0500
From: mstachow@alum.mit.edu
Received: from alum.mit.edu (localhost [127.0.0.1])
	by chaos.noisehavoc.org (8.9.3/8.9.3) with ESMTP id CAA14569;
	Tue, 7 Dec 1999 02:46:19 -0500
Message-ID: <384CBB4B.E22E443@alum.mit.edu>
Date: Tue, 07 Dec 1999 02:46:19 -0500
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-15 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: "Greg J. Badros" <gjb@cs.washington.edu>
CC: Chris <chris@tech.com.au>, scwm-discuss@scwm.mit.edu
Subject: Re: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of   
 Gwm-2.0
References: <qrryab7kjas.fsf@clavicle.cs.washington.edu> <384C4D80.3643E874@tech.com.au> <qrrg0xfipi4.fsf@clavicle.cs.washington.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Greg J. Badros" wrote:
>
> I largely agree.  Here the community is just so small that it seems
> especially unfortunate.  But I do believe that there is something to be
> said for exploring different parts of the design space.  I'm just hoping
> that GWM does interesting stuff differently enough to be different, and
> uninteresting stuff similarly enough to be compatibile.
> 

I have to add that I, too am disappointed with the proliferation of
lisp-configurable window managers. I guess I kind of started it, since
I originally started the Scwm project while Gwm existed (but had been
unmaintained for some time), but it's getting kind of silly. I think
all three of the more current lisp-based window managers in active
development (Scwm, Sawmill, and now Gwm) have cool features, but there
is also a whole lot of overlap. 

Actually, the lisp world has this problem a lot - everyone has his or
her own vision of the perfect system and they would rather work on it
alone than cooperate and therefore compromise. I would personally like
to see more cooperation. Perhaps in time, even if one project dominates,
there could at least be a merger of the more useful code.

 - Maciej

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Dec  7 03:38:04 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA28964
	for scwm-discuss-outgoing; Tue, 7 Dec 1999 03:38:04 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from chaos.noisehavoc.org ([208.41.100.131])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA28961
	for <scwm-discuss@scwm.mit.edu>; Tue, 7 Dec 1999 03:37:52 -0500
From: mstachow@alum.mit.edu
Received: from alum.mit.edu (localhost [127.0.0.1])
	by chaos.noisehavoc.org (8.9.3/8.9.3) with ESMTP id DAA14593;
	Tue, 7 Dec 1999 03:15:28 -0500
Message-ID: <384CC220.B610D353@alum.mit.edu>
Date: Tue, 07 Dec 1999 03:15:28 -0500
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-15 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: Jon Trowbridge <trow@emccta.com>
CC: "Greg J. Badros" <gjb@cs.washington.edu>, scwm-discuss@scwm.mit.edu,
        guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
References: <qrrwvquph79.fsf@clavicle.cs.washington.edu> <384A0968.F4C109B9@alum.mit.edu> <qrr4sdxp7jr.fsf@clavicle.cs.washington.edu> <384ACF22.C88B9F78@alum.mit.edu> <qrrln79m5mv.fsf@clavicle.cs.washington.edu> <384B1329.6D5BC473@alum.mit.edu> <qrr9037ly26.fsf@clavicle.cs.washington.edu> <19991206130112.H1189@emccta.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jon Trowbridge wrote:
> 
> 
> Let me agree with Greg, and vigorously assert that a lot of errors
> very easily can result from this duplication.
> 
> We've used guile to scriptify a semi-large simulation tool.  The
> bindings (as of today) expose 305 C functions to guile, and define 23
> new types via the smob mechanism.
> 
> When we first started this, I didn't know how snarfing worked, so we
> put in all of the scm_make_gsubr's by hand.  It was a constant source
> of problems, as small errors and omissions would be made --- keeping
> the function definitions and scm_make_gsubr calls in sync became a big
> headache.  In this case, snarfing has been a real life-saver.

Tell me about it. Way back, Scwm used to use gn_new_procedure to
declare everything. However, I think changing to SCM_PROC fixed
a lot more errors than the change to the more integrated SCWM_PROC -
I think the biggest win is the ability to keep all info about
a procedure in one place, as opposed to just eliminating duplication.
But I definitely agree that both can be sources of errors.

 - Maciej

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Dec  7 06:34:55 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA31839
	for scwm-discuss-outgoing; Tue, 7 Dec 1999 06:34:55 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from zappa. (ppphost1.aus.compgen.com [203.43.78.90])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA31836
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Dec 1999 06:34:49 -0500
Received: (from ggt@localhost)
	by zappa. (8.9.3/8.9.3) id VAA00497;
	Tue, 7 Dec 1999 21:11:02 +1100
Date: Tue, 7 Dec 1999 21:11:02 +1100
From: Glenn Trigg <ggt@netspace.net.au>
Message-Id: <199912071011.VAA00497@zappa.>
X-Mailer: Privtool [V0.90 Beta GT010] (i586-pc-linux-gnu/Gtk+)
In-Reply-To: <qrrbt8rbuzy.fsf@clavicle.cs.washington.edu> from ""Greg J. Badros" <gjb@cs.washington.edu>"
Reply-To: ggt@linuxfan.com
Subject: Re: scwm crashing
To: gjb@cs.washington.edu
Cc: scwm-discuss@SCWM.MIT.EDU
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Is the stability problem meant to have been fixed? Or are scwm docstrings
more important? :-)

I am still getting crashes. I have updated my glibc to 2.1 & my XFree to
3.3.5, but it doesn't seem to have made much difference.

The only difference worth noting is that I now have a script which saves the
core file & restarts scwm so all my windows don't disappear when it crashes
:-) :-(?

So here are the stack traces from the core files over the last week or two.

#0  0x40223e33 in ?? () from /lib/libc.so.6
#1  0x4014de08 in scm_must_free (obj=0x2974) at gc.c:1514
#2  0x4014d12f in scm_gc_sweep () at gc.c:1154
#3  0x4014be5f in scm_igc (what=0x808d1bf "inferior root continuation")
    at gc.c:579
#4  0x4014dbef in scm_must_malloc (size=176, 
    what=0x808d1bf "inferior root continuation") at gc.c:1447


#0  0x40223e33 in ?? () from /lib/libc.so.6
#1  0x4014de08 in scm_must_free (obj=0x2974) at gc.c:1514
#2  0x4014d12f in scm_gc_sweep () at gc.c:1154
#3  0x4014be5f in scm_igc (what=0x401a0522 <Address 0x401a0522 out of bounds>)
    at gc.c:579
#4  0x4014bc4a in scm_gc_for_alloc (ncells=1, freelistp=0x8093c30) at gc.c:417
#5  0x4014bd00 in scm_gc_for_newcell () at gc.c:430
#6  0x4012e372 in scm_acons (w=1077264176, x=1076925192, y=1076929168)
    at alist.c:64
#7  0x4014031c in scm_deval (x=1077264136, env=1076929168) at eval.c:2156
#8  0x401443f1 in scm_dapply (proc=1077347928, arg1=1077372096, 
    args=1076936704) at eval.c:3514
#9  0x4013d7d8 in scm_apply (proc=1077347904, arg1=10612, args=10612)
    at eval.c:3324
#10 0x40151020 in gh_apply (proc=1077347904, args=10612) at gh_funcs.c:144
#11 0x8061cce in scwm_body_apply (body_data=0x4018f3c7) at callbacks.c:71
#12 0x4018f3c7 in cwss_body (data=0xbfffee10) at throw.c:345
#13 0x4018f023 in scm_internal_catch (tag=9076, body=0x4018f38a <cwss_body>, 
    body_data=0xbfffee10, handler=0x8060ba4 <scwm_handle_error>, 
    handler_data=0x0) at throw.c:228
#14 0x4018f41a in scm_internal_stack_catch (tag=9076, 
    body=0x8061cbe <scwm_body_apply>, body_data=0xbfffef68, 
    handler=0x8060ba4 <scwm_handle_error>, handler_data=0x0) at throw.c:359
#15 0x8061cec in cwssdr_body (data=0x806de9e) at callbacks.c:97


#0  0x4014d42e in ?? ()
   from /home/ggt/src/guile-1.3.4/libguile/.libs/libguile.so.6
#1  0x4014be5f in ?? ()
   from /home/ggt/src/guile-1.3.4/libguile/.libs/libguile.so.6
#2  0x4014bc4a in ?? ()
   from /home/ggt/src/guile-1.3.4/libguile/.libs/libguile.so.6
#3  0x4014bd00 in ?? ()
   from /home/ggt/src/guile-1.3.4/libguile/.libs/libguile.so.6
#4  0x40166b01 in ?? ()
   from /home/ggt/src/guile-1.3.4/libguile/.libs/libguile.so.6
#5  0x401444f1 in ?? ()
   from /home/ggt/src/guile-1.3.4/libguile/.libs/libguile.so.6
#6  0x4013d7d8 in ?? ()
   from /home/ggt/src/guile-1.3.4/libguile/.libs/libguile.so.6
#7  0x40151020 in ?? ()
   from /home/ggt/src/guile-1.3.4/libguile/.libs/libguile.so.6
#8  0x8061cce in scwm_body_apply (body_data=0x4018f3c7) at callbacks.c:71
#9  0x4018f3c7 in ?? ()
   from /home/ggt/src/guile-1.3.4/libguile/.libs/libguile.so.6
#10 0x4018f023 in ?? ()
   from /home/ggt/src/guile-1.3.4/libguile/.libs/libguile.so.6
#11 0x4018f41a in ?? ()
   from /home/ggt/src/guile-1.3.4/libguile/.libs/libguile.so.6
#12 0x8061cec in cwssdr_body (data=0x806de9e) at callbacks.c:97

#0  0x401ea311 in ?? () from /lib/libc.so.6
#1  0x401eb58c in ?? () from /lib/libc.so.6
#2  0x4018fd6d in scm_ithrow (key=1076906224, args=1080099512, noreturn=1)
    at throw.c:722
#3  0x401357dc in scm_error (key=1076906224, subr=0x0, 
    message=0x401a0528 <Address 0x401a0528 out of bounds>, args=1080099528, 
    rest=8564) at error.c:78
#4  0x40135d38 in scm_misc_error (subr=0x0, 
    message=0x401a0528 <Address 0x401a0528 out of bounds>, args=1080099528)
    at error.c:240
#5  0x40135d96 in scm_wta (arg=8389433, 
    pos=0x401a0528 <Address 0x401a0528 out of bounds>, s_subr=0x0)
    at error.c:255
#6  0x4014beb6 in scm_gc_mark (p=8389433) at gc.c:612
#7  0x807fe3b in mark_window (obj=16777292) at window.c:518
#8  0x100004f in ?? ()
Cannot access memory at address 0x800339.

#0  0x4014d053 in scm_gc_sweep () at gc.c:1117
Cannot access memory at address 0x4014cca8.

Glenn

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Dec  7 11:33:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA32204
	for scwm-discuss-outgoing; Tue, 7 Dec 1999 11:33:26 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA32201
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Dec 1999 11:33:22 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id IAA30643;
	Tue, 7 Dec 1999 08:33:12 -0800
To: ggt@linuxfan.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
References: <199912071011.VAA00497@zappa.>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 07 Dec 1999 08:33:12 -0800
In-Reply-To: Glenn Trigg's message of "Tue, 7 Dec 1999 21:11:02 +1100"
Message-ID: <qrru2luhfsn.fsf@clavicle.cs.washington.edu>
Lines: 34
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Glenn Trigg <ggt@netspace.net.au> writes:

> Is the stability problem meant to have been fixed? Or are scwm docstrings
> more important? :-)

The stability is far more important, it's just I have not been able to
reproduce it yet.  I tried messing with netscape, etc., and I'm just not 
getting anywhere;  unfortunately ( :-) ) my Scwm's are pretty darn
solid.

The only thing I can think of is that this is some kind of race
condition, but I don't have many good tricks in my bag for how to track
this kind of thing down.

> 
> I am still getting crashes. I have updated my glibc to 2.1 & my XFree to
> 3.3.5, but it doesn't seem to have made much difference.
> 
> The only difference worth noting is that I now have a script which saves the
> core file & restarts scwm so all my windows don't disappear when it crashes
> :-) :-(?
> 
> So here are the stack traces from the core files over the last week or two.

<snip>

Ok, thanks;  not much of a pattern, unfortunately.  A reliable way to
reproduce this (some behaviour that I can execute repeatedly that
generally causes your Scwm to crash) would be very helpful.

Thanks, and I again am sorry for the stability problems some of you have 
experienced.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Dec  7 11:50:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA32293
	for scwm-discuss-outgoing; Tue, 7 Dec 1999 11:50:11 -0500
Received: from mailhub2-dmz1.bloomberg.com (mailhub2-dmz1.bloomberg.com [199.172.169.81])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA32290
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Dec 1999 11:50:06 -0500
Received: from ns2.bloomberg.com by mailhub2-dmz1.bloomberg.com; Tue, 7 Dec 1999 11:44:47 -0500
Received: from blinky.bloomberg.com by ns2.bloomberg.com (8.6.13/200.20.1.1)
	id LAA08389; Tue, 7 Dec 1999 11:49:58 -0500
Received: (from hjstein@localhost)
	by blinky.bloomberg.com (8.9.3/8.9.3) id LAA31090;
	Tue, 7 Dec 1999 11:49:57 -0500
X-Authentication-Warning: blinky.bloomberg.com: hjstein set sender to hjstein@bfr.co.il using -f
To: mstachow@alum.mit.edu
Cc: "Greg J. Badros" <gjb@cs.washington.edu>, Chris <chris@tech.com.au>,
        scwm-discuss@SCWM.MIT.EDU
Subject: Re: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of Gwm-2.0
References: <qrryab7kjas.fsf@clavicle.cs.washington.edu> <384C4D80.3643E874@tech.com.au> <qrrg0xfipi4.fsf@clavicle.cs.washington.edu> <384CBB4B.E22E443@alum.mit.edu>
CC: hjstein@bfr.co.il
From: hjstein@bfr.co.il (Harvey J. Stein)
Date: 07 Dec 1999 11:49:57 -0500
In-Reply-To: mstachow@alum.mit.edu's message of "Tue, 07 Dec 1999 02:46:19 -0500"
Message-ID: <kiwg0xezoei.fsf_-_@blinky.bloomberg.com>
Lines: 39
X-Mailer: Gnus v5.5/Emacs 20.3
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

mstachow@alum.mit.edu writes:

 > I have to add that I, too am disappointed with the proliferation of
 > lisp-configurable window managers.

I feel just the opposite.  I'm happy to see lisp configurable window
managers.  I'd be happiest if *all* the window managers were lisp
configurable.  Then I could choose one based on overall features,
functionality, design & philosopy, and wouldn't be restricted to a
small subset of the managers which happen to use lisp.  Or, rather, my
one requirement that it have sane scripting (aka lisp inside) wouldn't
restrict my choices so severely.

It's common to bemoan the inefficiency of having several similar
project, but this is really the same argument used in defense of
totalitarianism/socialism against capitalism.  The fallacy in the
argument is the assumption that it's possible for the different groups
to work together with complete efficiency.  I.e. - they're assuming
the mythical man month.

This is even less true when talking of open, free software software
projects, in that each can borrow approaches/ideas/code from the
other.

One example which comes to mind in this particular situation is that
sawmill or gwm might at some point have a clean, powerful, C core.  At
that point, an scwm developer who's completely sick of the remaining
fvwmisms in the scwm core might port the core from sawmill or gwm to
scwm.  Had the developers of these other projects agreed with the scwm
developers and worked on scwm instead of their own pet projects, then
this might never have been a possibility.

So, good luck to all of you, and I hope to see lots & lots of cross
fertilization between the different projects.

-- 
Harvey Stein
Bloomberg LP
hjstein@bfr.co.il

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Dec  7 12:27:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA32570
	for scwm-discuss-outgoing; Tue, 7 Dec 1999 12:27:32 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from smtp7.atl.mindspring.net (smtp7.atl.mindspring.net [207.69.128.51])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA32567
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Dec 1999 12:27:24 -0500
Received: from SAM.ksp.com (user-2ive8eu.dialup.mindspring.com [165.247.33.222])
	by smtp7.atl.mindspring.net (8.9.3/8.8.5) with ESMTP id MAA17201;
	Tue, 7 Dec 1999 12:27:07 -0500 (EST)
To: mstachow@alum.mit.edu
Cc: "Greg J. Badros" <gjb@cs.washington.edu>, Chris <chris@tech.com.au>,
        scwm-discuss@SCWM.MIT.EDU
Subject: Re: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of    Gwm-2.0
References: <qrryab7kjas.fsf@clavicle.cs.washington.edu> <384C4D80.3643E874@tech.com.au> <qrrg0xfipi4.fsf@clavicle.cs.washington.edu> <384CBB4B.E22E443@alum.mit.edu>
Reply-To: sds@goems.com
X-Attribution: Sam
X-Disclaimer: You should not expect anyone to agree with me.
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: mstachow@alum.mit.edu's message of "Tue Dec 07 02:20:36 EST 1999"
Date: 07 Dec 1999 12:27:01 -0500
Message-ID: <uln76k6fu.fsf@ksp.com>
Lines: 43
X-Mailer: Gnus v5.7/Emacs 20.4
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

IMO, the most unfortunate part of the story is that each project uses
its own idiosyncratic (read - idiotic) Lisp instead of the standard one
- ANSI Common Lisp.
So, instead of moving in the direction of "the perfect world", where
everything is the same Lisp, we are just getting a bunch of "cool
toys".
wake up - it's late 90-ies, there are many ANSI CL implementations
around, some of which (clisp, cmucl) are even OSS! (and have FFI so you
can hook into them your own primitives easily).
you don't have to re-invent the wheel!

>>>> In message <384CBB4B.E22E443@alum.mit.edu>
>>>> On the subject of "Re: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of    Gwm-2.0"
>>>> Sent on Tue Dec 07 02:20:36 EST 1999
>>>> Honorable mstachow@alum.mit.edu writes:
 >> "Greg J. Badros" wrote:
 >> >
 >> > I largely agree.  Here the community is just so small that it seems
 >> > especially unfortunate.  But I do believe that there is something to be
 >> > said for exploring different parts of the design space.  I'm just hoping
 >> > that GWM does interesting stuff differently enough to be different, and
 >> > uninteresting stuff similarly enough to be compatibile.
 >> >
 >> 
 >> I have to add that I, too am disappointed with the proliferation of
 >> lisp-configurable window managers. I guess I kind of started it, since
 >> I originally started the Scwm project while Gwm existed (but had been
 >> unmaintained for some time), but it's getting kind of silly. I think
 >> all three of the more current lisp-based window managers in active
 >> development (Scwm, Sawmill, and now Gwm) have cool features, but there
 >> is also a whole lot of overlap.
 >> 
 >> Actually, the lisp world has this problem a lot - everyone has his or
 >> her own vision of the perfect system and they would rather work on it
 >> alone than cooperate and therefore compromise. I would personally like
 >> to see more cooperation. Perhaps in time, even if one project dominates,
 >> there could at least be a merger of the more useful code.

-- 
Sam Steingold (http://www.podval.org/~sds/)
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Any programming language is at its best before it is implemented and used.


From owner-scwm-discuss@SCWM.MIT.EDU  Tue Dec  7 12:40:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA32666
	for scwm-discuss-outgoing; Tue, 7 Dec 1999 12:40:01 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA32663
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Dec 1999 12:39:55 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id JAA31055;
	Tue, 7 Dec 1999 09:39:46 -0800
To: mstachow@alum.mit.edu
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Resigning as maintainer
References: <384CBA8F.A6426675@alum.mit.edu>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 07 Dec 1999 09:39:46 -0800
In-Reply-To: mstachow@alum.mit.edu's message of "Tue, 07 Dec 1999 02:43:11 -0500"
Message-ID: <qrr1z8yhcpp.fsf@clavicle.cs.washington.edu>
Lines: 19
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

mstachow@alum.mit.edu writes:

> I haven't really had time to contribute for a while, but I'd like to
> officially say at this point that Greg is the sole maintainer, and
> while I will make an effort to contibute from time to time, most of
> my free software hacking time will be spent on my new position as
> Guile maintainer. I think at this point working on Guile can do
> as much good for Scwm as working on Scwm itself anyway.

As I've commented to Maciej in private email, I for one am really happy
to have him back contributing to our community, and certainly
improvements to Guile will benefit Scwm dramatically (as I'm evidencing
by my becoming more active in Guile's development).

Scwm is gonna be around for a long while and I'm committed to kicking
the stability problems some of you have observed and continuing to
improve its features.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Dec  7 13:20:53 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA00165
	for scwm-discuss-outgoing; Tue, 7 Dec 1999 13:20:53 -0500
Received: from mail.nf.net (firma.thezone.net [192.75.13.101])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA00162
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Dec 1999 13:20:46 -0500
Received: from behemoth.dethfart.org (n154h141.thezone.net [198.165.154.141])
	by mail.nf.net (8.9.3/8.9.3) with ESMTP id OAA05519;
	Tue, 7 Dec 1999 14:50:33 -0330 (NST)
Received: (from greg@localhost)
	by behemoth.dethfart.org (8.8.7/8.8.7) id OAA02160;
	Tue, 7 Dec 1999 14:49:44 -0330
X-Authentication-Warning: behemoth.dethfart.org: greg set sender to Greg.Harvey@thezone.net using -f
To: ggt@linuxfan.com
Cc: gjb@cs.washington.edu, scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashing
References: <199912071011.VAA00497@zappa.>
From: Greg Harvey <Greg.Harvey@thezone.net>
Date: 07 Dec 1999 14:49:44 -0330
In-Reply-To: Glenn Trigg's message of "Tue, 7 Dec 1999 21:11:02 +1100"
Message-ID: <m3iu2aipfj.fsf@behemoth.dethfart.org>
Lines: 39
X-Mailer: Gnus v5.6.43/Emacs 20.3
Original-Sender: Greg.Harvey@thezone.net
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Glenn Trigg <ggt@netspace.net.au> writes:

> Is the stability problem meant to have been fixed? Or are scwm docstrings
> more important? :-)
> 
> I am still getting crashes. I have updated my glibc to 2.1 & my XFree to
> 3.3.5, but it doesn't seem to have made much difference.
> 
> The only difference worth noting is that I now have a script which saves the
> core file & restarts scwm so all my windows don't disappear when it crashes
> :-) :-(?
> 
> So here are the stack traces from the core files over the last week or two.
> 
> #0  0x40223e33 in ?? () from /lib/libc.so.6
> #1  0x4014de08 in scm_must_free (obj=0x2974) at gc.c:1514

Somewhere, an object is being created that's supposed to have memory
associated, but is instead getting SCM_EOL (0x2974) put in the cdr (at
least, this is most likely... it could be an object with memory
somewhere else that isn't getting the right value set ;). Could you do
a frame 2 when you get this backtrace, and report what the value of
ptr is and the car of the object (I've included a little gdb macro for
this):


define xcar
set $last=((scm_cell*) $arg0)->car
print/x $last
    
end
document xcar
Print the CAR of $.
end



-- 
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Dec  7 13:23:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA00184
	for scwm-discuss-outgoing; Tue, 7 Dec 1999 13:23:01 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from apex.ccs.yorku.ca (apex.ccs.yorku.ca [130.63.237.12])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA00180
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Dec 1999 13:22:57 -0500
Received: from localhost (localhost [127.0.0.1])
	by apex.ccs.yorku.ca (8.9.3/8.9.3) with ESMTP id NAA07281;
	Tue, 7 Dec 1999 13:22:42 -0500 (EST)
To: gjb@cs.washington.edu
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Resigning as maintainer
In-Reply-To: <qrr1z8yhcpp.fsf@clavicle.cs.washington.edu>
References: <384CBA8F.A6426675@alum.mit.edu>
	<qrr1z8yhcpp.fsf@clavicle.cs.washington.edu>
X-Mailer: Mew version 1.95b3 on Emacs 20.4 / Mule 4.0 (HANANOEN)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <19991207132242U.miguel@yorku.ca>
Date: Tue, 07 Dec 1999 13:22:42 -0500
From: Miguel Marques <miguel@YorkU.CA>
X-Dispatcher: imput version 991025(IM133)
Lines: 18
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 07 Dec 1999 09:39:46 -0800, "Greg J. Badros" <gjb@cs.washington.edu> wrote:
> mstachow@alum.mit.edu writes:
> Scwm is gonna be around for a long while and I'm committed to kicking
> the stability problems some of you have observed and continuing to
> improve its features.
> 
> Greg
Since we are on the subject of improvements , I'm still a gwm user
(the old one) mostly because scwm does not support multiple screens.
Will that ever happen?
Thanks.

						Miguel

C. Miguel Marques, York University, Computing & Communications Services
e-mail: miguel@yorku.ca, voice: (416)736-2100x22684, fax: (416)736-5830



From owner-scwm-discuss@SCWM.MIT.EDU  Tue Dec  7 13:29:46 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA00285
	for scwm-discuss-outgoing; Tue, 7 Dec 1999 13:29:46 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA00282
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Dec 1999 13:29:43 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id KAA31580;
	Tue, 7 Dec 1999 10:29:32 -0800
To: Miguel Marques <miguel@YorkU.CA>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Resigning as maintainer
References: <384CBA8F.A6426675@alum.mit.edu> <qrr1z8yhcpp.fsf@clavicle.cs.washington.edu> <19991207132242U.miguel@yorku.ca>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 07 Dec 1999 10:29:32 -0800
In-Reply-To: Miguel Marques's message of "Tue, 07 Dec 1999 13:22:42 -0500"
Message-ID: <qrrpuwifvub.fsf@clavicle.cs.washington.edu>
Lines: 20
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Miguel Marques <miguel@yorku.ca> writes:

> On 07 Dec 1999 09:39:46 -0800, "Greg J. Badros" <gjb@cs.washington.edu> wrote:
> > mstachow@alum.mit.edu writes:
> > Scwm is gonna be around for a long while and I'm committed to kicking
> > the stability problems some of you have observed and continuing to
> > improve its features.
> > 
> > Greg
> Since we are on the subject of improvements , I'm still a gwm user
> (the old one) mostly because scwm does not support multiple screens.
> Will that ever happen?

Despite some hardware and software donations, I have never been able to
get a multi-screen configuration up and working, so I'm unable to make
multi-screen support a reality.  I'll happily accept patches to Scwm
that you report work for you, but I'm unable to make the changes myself
as I have no access to a situation where I can test this.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Dec  7 18:54:21 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA01858
	for scwm-discuss-outgoing; Tue, 7 Dec 1999 18:54:21 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from tech.com.au (root@techpt.lnk.telstra.net [139.130.75.122])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA01855
	for <scwm-discuss@scwm.mit.edu>; Tue, 7 Dec 1999 18:54:14 -0500
Received: from tech.com.au (tardis [203.41.180.243])
	by tech.com.au (8.9.3/8.9.3) with ESMTP id KAA00565
	for <scwm-discuss@scwm.mit.edu>; Wed, 8 Dec 1999 10:53:52 +1100
Message-ID: <384D9E10.67F23ACA@tech.com.au>
Date: Wed, 08 Dec 1999 10:53:52 +1100
From: Chris <chris@tech.com.au>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "scwm-discuss@scwm.mit.edu" <scwm-discuss@scwm.mit.edu>
Subject: Re: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of 
 Gwm-2.0
References: <qrryab7kjas.fsf@clavicle.cs.washington.edu> <384C4D80.3643E874@tech.com.au> <qrrg0xfipi4.fsf@clavicle.cs.washington.edu> <384CBB4B.E22E443@alum.mit.edu> <kiwg0xezoei.fsf_-_@blinky.bloomberg.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Harvey J. Stein" wrote:

> It's common to bemoan the inefficiency of having several 
> similar project, but this is really the same argument used 
> in defense of totalitarianism/socialism against 
> capitalism. 

I think it's a mistake to bring politics into technical discussions.

> The fallacy in the argument is the assumption that it's 
> possible for the   different groups to work together with 
> complete efficiency.  I.e. - they're assuming
> the mythical man month.

The whole point of guile is to defeat the mythical man month (mmm)
problem. Once you have all the primitives coded in C different people
can go off in different directions coding extensions. The primitives are
not very affected by the mmm problem and the scheme extensions not at
all. Like emacs, once there was a basic elisp core people went off and
did email readers, news readers, www readers and lots of other wierd
stuff without being unduly affected by what other people were doing.
 
> This is even less true when talking of open, free software 
> software projects, in that each can borrow 
> approaches/ideas/code from the other.

Borrowing code/approaches/ideas from another project, while good, often
entails just as much work as the original effort. If it all worked
together in the first place much time and effort is saved.

> One example which comes to mind in this particular 
> situation is that sawmill or gwm might at some point have 
> a clean, powerful, C core.  At that point, an scwm 
> developer who's completely sick of the remaining fvwmisms 
> in the scwm core might port the core from sawmill or gwm 
> to scwm.  Had the developers of these other projects 
> agreed with the scwm developers and worked on scwm instead 
> of their own pet projects, then this might never have been 
> a possibility.

Why don't they just write a new core for scwm then? Or if sawmill or gwm
has just a marvellous core why don't we immediately port scwm scheme to
it? (I'm speaking hypothetically).
 
> So, good luck to all of you, and I hope to see lots & lots of cross
> fertilization between the different projects.

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Dec  7 22:53:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA02319
	for scwm-discuss-outgoing; Tue, 7 Dec 1999 22:53:57 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from austin.cs.unc.edu (austin.cs.unc.edu [152.2.128.87])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA02316
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 7 Dec 1999 22:53:52 -0500
Received: from rukbat.cs.unc.edu (rukbat.cs.unc.edu [152.2.133.170])
	by austin.cs.unc.edu (8.8.8/8.8.8) with ESMTP id WAA08729;
	Tue, 7 Dec 1999 22:53:34 -0500 (EST)
Received: (from tell@localhost)
	by rukbat.cs.unc.edu (8.9.3/8.9.3) id WAA28269;
	Tue, 7 Dec 1999 22:53:24 -0500 (EST)
Date: Tue, 7 Dec 1999 22:53:24 -0500 (EST)
From: Stephen Tell <tell@cs.unc.edu>
To: mstachow@alum.mit.edu
cc: "Greg J. Badros" <gjb@cs.washington.edu>, scwm-discuss@SCWM.MIT.EDU,
        guile@sourceware.cygnus.com
Subject: Re: Scwm docstrings change
In-Reply-To: <384B1329.6D5BC473@alum.mit.edu>
Message-ID: <Pine.GHP.4.10.9912072237010.28010-100000@rukbat.cs.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Sun, 5 Dec 1999 mstachow@alum.mit.edu wrote:

> "Greg J. Badros" wrote:

> > Yes, it's possible.  But it's worse:  the name foo_proc is duplicated
> > creating yet another point of mismatch that the C language (via cpp)
> > *can* avoid.
> 
> I don't think typing the name of the function twice is bad, especially
> since it is being used in two orthogonal capacities - once to declare
> the function, and once to register it as a Scheme procedure. I also
> do not think there will be a lot of errors resulting from this
> duplication.

I haven't memorized the SCWM_PROC calling sequence yet, so I always do 
a copy & paste when defining a new primitive.  I've made mistakes
keeping the related information in sync a few times already, so I
prefer the combined version that doesn't add any more  duplication.
Unless its too painful, I'll definitely try to keep using that style in
anything I write from scratch.

I seem to remember finding SCWM_PROC immediately recognizable as both a
nontrivial CPP macro and a function definition when I first saw it in the
code.    A pointer in the top-level README or HACKING file to a brief
explanation of the macros and doc-extractor should avoid most
misunderstaning and frustration by first-time source code readers.

Steve


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Dec  8 04:59:24 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id EAA05383
	for scwm-discuss-outgoing; Wed, 8 Dec 1999 04:59:24 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from ulla.irisa.fr (ulla.irisa.fr [131.254.43.50])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id EAA05380
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 8 Dec 1999 04:59:17 -0500
Received: from youkaidi.irisa.fr (youkaidi.irisa.fr [131.254.43.9])
	by ulla.irisa.fr (8.9.3/8.9.3) with ESMTP id KAA16082;
	Wed, 8 Dec 1999 10:58:34 +0100 (MET)
Date: Wed, 8 Dec 1999 10:58:34 +0100
From: Hubert Canon <Hubert.Canon@irisa.fr>
To: Sam Steingold <sds@goems.com>
Cc: mstachow@alum.mit.edu, "Greg J. Badros" <gjb@cs.washington.edu>,
        Chris <chris@tech.com.au>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of    Gwm-2.0
Message-ID: <19991208105833.B6262@youkaidi.irisa.fr>
References: <qrryab7kjas.fsf@clavicle.cs.washington.edu> <384C4D80.3643E874@tech.com.au> <qrrg0xfipi4.fsf@clavicle.cs.washington.edu> <384CBB4B.E22E443@alum.mit.edu> <uln76k6fu.fsf@ksp.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 1.0us
In-Reply-To: <uln76k6fu.fsf@ksp.com>; from sds@goems.com on Tue, Dec 07, 1999 at 12:27:01PM -0500
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Sam Steingold écrivait :
> IMO, the most unfortunate part of the story is that each project uses
> its own idiosyncratic (read - idiotic) Lisp instead of the standard one
> - ANSI Common Lisp.

Scwm (and now Gwm) uses Guile, which is a fair implementation of
Scheme, which is pretty standard.

I think we are lucky that all these project choose lisp instead of
other scripting languages (Python for instance).

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Dec  8 18:07:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA06471
	for scwm-discuss-outgoing; Wed, 8 Dec 1999 18:07:42 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA06467
	for <scwm-discuss@scwm.mit.edu>; Wed, 8 Dec 1999 18:07:02 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id PAA16095;
	Wed, 8 Dec 1999 15:06:43 -0800
To: scwm-discuss@scwm.mit.edu
Subject: Good news... kindof...
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 08 Dec 1999 15:06:43 -0800
Message-ID: <qrr4sdtowvw.fsf@clavicle.cs.washington.edu>
Lines: 12
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I'm now getting a lot more seg faults and instability... I'm not exactly
sure why, but I'll definitely be looking into these problems now that I
observe them (though I still can't reproduce them reliably,
unfortunately).  Often the difficulties arise in guile memory allocation
or GC code, so it's pretty dense stuff, and likely is the result of a
dangling pointer or some other hard-to-find problem.  Ugh.

Anyway, I've got a paper deadline Friday, but then will be working on
this and the guile docstring stuff over the weekend, so I'm optimistic.

Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Dec  8 18:38:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA06657
	for scwm-discuss-outgoing; Wed, 8 Dec 1999 18:38:59 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from smtp7.atl.mindspring.net (smtp7.atl.mindspring.net [207.69.128.51])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA06654
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 8 Dec 1999 18:38:48 -0500
Received: from goems.com (user-2ive8aj.dialup.mindspring.com [165.247.33.83])
	by smtp7.atl.mindspring.net (8.9.3/8.8.5) with ESMTP id SAA21488;
	Wed, 8 Dec 1999 18:37:28 -0500 (EST)
Message-ID: <384EECCF.C437E8EC@goems.com>
Date: Wed, 08 Dec 1999 18:42:07 -0500
From: Sam Steingold <sds@goems.com>
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en,ru
MIME-Version: 1.0
To: Hubert Canon <Hubert.Canon@irisa.fr>
CC: mstachow@alum.mit.edu, "Greg J. Badros" <gjb@cs.washington.edu>,
        Chris <chris@tech.com.au>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of    
 Gwm-2.0
References: <qrryab7kjas.fsf@clavicle.cs.washington.edu> <384C4D80.3643E874@tech.com.au> <qrrg0xfipi4.fsf@clavicle.cs.washington.edu> <384CBB4B.E22E443@alum.mit.edu> <uln76k6fu.fsf@ksp.com> <19991208105833.B6262@youkaidi.irisa.fr>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Hubert Canon wrote:
> Sam Steingold écrivait :
> > IMO, the most unfortunate part of the story is that each project uses
> > its own idiosyncratic (read - idiotic) Lisp instead of the standard one
> > - ANSI Common Lisp.
> 
> Scwm (and now Gwm) uses Guile, which is a fair implementation of
> Scheme, which is pretty standard.

guile is just one (r4rs, but not r5rs) implementation of a language 
which lacks an ANSI/ISO standard, an object system, a decent type
system,
hash tables &c.

I don't care that these things might be available in guile - they are
not part
of r5rs, so when I use them, I am stuck with one implementation.

scheme, by design, is a "small" language, and as such, it requires large
programs. 
ANSI CL, by design, is a "large" language, and as such, it enables small
programs.

> I think we are lucky that all these project choose lisp instead of
> other scripting languages (Python for instance).

agreed

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Dec  9 06:33:20 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA10295
	for scwm-discuss-outgoing; Thu, 9 Dec 1999 06:33:20 -0500
Received: from mail.nf.net (firma.thezone.net [192.75.13.101])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA10292
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 9 Dec 1999 06:33:16 -0500
Received: from behemoth.dethfart.org (n115h036.thezone.net [198.165.115.36])
	by mail.nf.net (8.9.3/8.9.3) with ESMTP id IAA28199;
	Thu, 9 Dec 1999 08:02:09 -0330 (NST)
Received: (from greg@localhost)
	by behemoth.dethfart.org (8.8.7/8.8.7) id IAA00635;
	Thu, 9 Dec 1999 08:01:10 -0330
X-Authentication-Warning: behemoth.dethfart.org: greg set sender to Greg.Harvey@thezone.net using -f
To: Sam Steingold <sds@goems.com>
Cc: Hubert Canon <Hubert.Canon@irisa.fr>, Chris <chris@tech.com.au>,
        scwm-discuss@SCWM.MIT.EDU
Subject: Re: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of      Gwm-2.0
References: <qrryab7kjas.fsf@clavicle.cs.washington.edu> <384C4D80.3643E874@tech.com.au> <qrrg0xfipi4.fsf@clavicle.cs.washington.edu> <384CBB4B.E22E443@alum.mit.edu> <uln76k6fu.fsf@ksp.com> <19991208105833.B6262@youkaidi.irisa.fr> <384EECCF.C437E8EC@goems.com>
From: Greg Harvey <Greg.Harvey@thezone.net>
Date: 09 Dec 1999 08:01:10 -0330
In-Reply-To: Sam Steingold's message of "Wed, 08 Dec 1999 18:42:07 -0500"
Message-ID: <m3u2lse4g1.fsf@behemoth.dethfart.org>
Lines: 26
X-Mailer: Gnus v5.6.43/Emacs 20.3
Original-Sender: Greg.Harvey@thezone.net
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> 
> guile is just one (r4rs, but not r5rs) implementation of a language 
> which lacks an ANSI/ISO standard, an object system, a decent type
> system,
> hash tables &c.
> 
> I don't care that these things might be available in guile - they are
> not part
> of r5rs, so when I use them, I am stuck with one implementation.

Didn't you also say

> wake up - it's late 90-ies, there are many ANSI CL implementations
> around, some of which (clisp, cmucl) are even OSS! (and have FFI so you
> can hook into them your own primitives easily).
> you don't have to re-invent the wheel!

And the FFI for any particular cl is more portable? There must have
been a section left out of my copy of the hyperspec...

Also, don't neglect the little fact that neither of the OSS
implementations is ansi-cl.
-- 
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Dec  9 07:24:01 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id HAA10465
	for scwm-discuss-outgoing; Thu, 9 Dec 1999 07:24:01 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from zappa. (ppphost1.aus.compgen.com [203.43.78.90])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id HAA10462
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 9 Dec 1999 07:23:55 -0500
Received: (from ggt@localhost)
	by zappa. (8.9.3/8.9.3) id WAA01036;
	Thu, 9 Dec 1999 22:55:42 +1100
Date: Thu, 9 Dec 1999 22:55:42 +1100
From: Glenn Trigg <ggt@netspace.net.au>
Message-Id: <199912091155.WAA01036@zappa.>
X-Mailer: Privtool [V0.90 Beta GT010] (i586-pc-linux-gnu/Gtk+)
In-Reply-To: <qrr4sdtowvw.fsf@clavicle.cs.washington.edu> from ""Greg J. Badros" <gjb@cs.washington.edu>"
Reply-To: ggt@linuxfan.com
Subject: Re: Good news... kindof...
To: gjb@cs.washington.edu
Cc: scwm-discuss@SCWM.MIT.EDU
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Greg J. Badros" <gjb@cs.washington.edu> said :

> I'm now getting a lot more seg faults and instability... I'm not exactly
> sure why, but I'll definitely be looking into these problems now that I
> observe them (though I still can't reproduce them reliably,
> unfortunately).  Often the difficulties arise in guile memory allocation
> or GC code, so it's pretty dense stuff, and likely is the result of a
> dangling pointer or some other hard-to-find problem.  Ugh.
> 
> Anyway, I've got a paper deadline Friday, but then will be working on
> this and the guile docstring stuff over the weekend, so I'm optimistic.

Good! Hopefully you will get to the bottom of the mystery.

I've been taking a close look at my .scwmrc file and found one thing which I
hoped would make my troubles go away, but it didn't. Somehow I had managed
to get the impression that menu titles were made like:

    (menuitem "Desks")
    menu-title

Instead of:

    (menu-title "Desks")

(and in fact there's still some code like that in the
sample.scwmrc/spare-blue.scwmrc file.)

Anyway, like I said it didn't help, scwm has been crashing at least as
regularly today as before. More stack traces attached, actually they seem to
indicate scwm crashing differently today.

Some other strange behaviour I've noticed recently is:

1) The theme background isn't being set, the background stays the default
   icky X grey pattern.

2) Changing a windows theme still makes the window disappear but not the
   process. I mentioned this a while ago & it's still happening.

3) animated-move-to-* causes the cursor to jump around (mainly to the top
   left or right corner of the screen)

4) Doing an animated-window-shade makes the window hide, moving the viewport
   away & back again will make it re-appear. Playing with xwininfo seems to
   indicate that the windows x coordinate has the displays y resolution
   subtracted from it.

   Eg. the window starts at X = 385, shade the window and then X = -479, my
   display resolution is 1152x864

I think thats all I've noticed recently! :-)

Glenn (stack dumps follow)

#0  0x40223ee5 in ?? () from /lib/libc.so.6
#1  0x40223e9d in ?? () from /lib/libc.so.6
#2  0x80749ce in free_menuitem ()
#3  0x4014be5f in scm_igc (what=0x401a3f92 <Address 0x401a3f92 out of bounds>)
    at gc.c:579
#4  0x4014dbef in scm_must_malloc (size=8, 
    what=0x401a3f92 <Address 0x401a3f92 out of bounds>) at gc.c:1447
#5  0x4018ed80 in make_jmpbuf () at throw.c:114
#6  0x4018ee7f in scm_internal_catch (tag=1077139576, 
    body=0x4018f42a <scm_body_thunk>, body_data=0xbfffeb3c, 
    handler=0x4018f469 <scm_handle_by_proc>, handler_data=0xbfffeb54)
    at throw.c:200
#7  0x4018f846 in scm_catch (tag=1077139576, thunk=1080034080, 
    handler=1080034048) at throw.c:576
#8  0x40143630 in scm_deval (x=1077276816, env=1080034896) at eval.c:3061
#9  0x401443f1 in scm_dapply (proc=1077341232, arg1=1077372728, 
    args=1080034960) at eval.c:3514
#10 0x4013d7d8 in scm_apply (proc=1077341184, arg1=10612, args=10612)
    at eval.c:3324
#11 0x40151020 in gh_apply (proc=1077341184, args=10612) at gh_funcs.c:144
#12 0x8061f95 in scwm_body_apply ()
#13 0x4018f3c7 in cwss_body (data=0xbfffee40) at throw.c:345
#14 0x4018f023 in scm_internal_catch (tag=9076, body=0x4018f38a <cwss_body>, 
    body_data=0xbfffee40, handler=0x8060e4e <scwm_handle_error>, 
    handler_data=0x0) at throw.c:228
#15 0x4018f41a in scm_internal_stack_catch (tag=9076, 
    body=0x8061f85 <scwm_body_apply>, body_data=0xbfffef98, 
    handler=0x8060e4e <scwm_handle_error>, handler_data=0x0) at throw.c:359
#16 0x8061fb3 in cwssdr_body ()

#0  0x4014d42e in scm_gc_sweep () at gc.c:1212
Cannot access memory at address 0x4014cca8.

#0  0x4014d053 in scm_gc_sweep () at gc.c:1117
Cannot access memory at address 0x4014cca8.

#0  0x40223e33 in ?? () from /lib/libc.so.6
#1  0x4014de08 in scm_must_free (obj=0x2974) at gc.c:1514
#2  0x4014d12f in scm_gc_sweep () at gc.c:1154
#3  0x4014be5f in scm_igc (what=0x808d77f "inferior root continuation")
    at gc.c:579
#4  0x4014dbef in scm_must_malloc (size=176, 
    what=0x808d77f "inferior root continuation") at gc.c:1447

#0  0x40223ee5 in ?? () from /lib/libc.so.6
(gdb) where
#0  0x40223ee5 in ?? () from /lib/libc.so.6
#1  0x40223e9d in ?? () from /lib/libc.so.6
#2  0x8085416 in ScmArgsFromInteractiveSpec ()
#3  0x826c530 in ?? ()
Cannot access memory at address 0x277f.


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Dec  9 10:14:42 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA10719
	for scwm-discuss-outgoing; Thu, 9 Dec 1999 10:14:42 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from localhost (root@megalith.rattlesnake.com [140.186.114.245])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA10716
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 9 Dec 1999 10:14:25 -0500
Received: by rattlesnake.com
	via sendmail from stdin
	id <m11w3v5-0000XZC@localhost> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Thu, 9 Dec 1999 08:47:43 -0500 (EST) 
Message-Id: <m11w3v5-0000XZC@localhost>
Date: Thu, 9 Dec 1999 08:47:43 -0500 (EST)
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: scwm-discuss@SCWM.MIT.EDU
In-reply-to: <199912091155.WAA01036@zappa.> (message from Glenn Trigg on Thu,
	9 Dec 1999 22:55:42 +1100)
Subject: New version: spare-blue.scwmrc
Reply-to: bob@rattlesnake.com
References:  <199912091155.WAA01036@zappa.>
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

   I've been taking a close look at my .scwmrc file and found one thing which I
   hoped would make my troubles go away, but it didn't. Somehow I had managed
   to get the impression that menu titles were made like:

       (menuitem "Desks")
       menu-title

   Instead of:

       (menu-title "Desks")

   (and in fact there's still some code like that in the
   sample.scwmrc/spare-blue.scwmrc file.)

Ah, yes, I new see `menu-title' on its own.  No, it has not been
causing any crashes.  My non-Cassowary SCWM has been working fine,
until a few days ago.  (Now SCWM fails to build -- scwmgtkhelper.c:41:
`gdk_display' undeclared -- but this is not related, as far as I can
figure, to spare-blue.scwmrc.)

Here is an updated copy of      spare-blue.scwmrc 

As usual, it contains many comments: please don't take these as
Gospel!  I don't understand much and make lots of mistakes.  I welcome
any improvements, whether to code or to comments.  My goal is to
create a .scwmrc file that  you can learn from as well as use.

Did someone post some better Debian menu code recently?  I am
sometimes too busy to track everything.  If so, and if it would help
this file, please tell me.  Thanks!

This version of `spare-blue.scwmrc' is similar to the one I have been
using, except I have commented out the Debian menus, since many of you
do not run Debian, and also the Emacs 21 and Netscape menu entries.




;;;;;;;;;;;;;;;; ~/spare-blue.scwmrc ;;;;;;;;;;;;;;;;    -*- scwm -*-
;;;;;;;;;;;;;;;; ------------------- ;;;;;;;;;;;;;;;;

;;; This is a .scwmrc configuration file for SCWM, a window manager.
;;; Called `spare-blue', this has a simple, spare theme and blue backgrounds.

;;; Robert J. Chassell
;;; 1999 Aug 21, 1999 Sep  8, 1999 Nov 13, 1999 Dec  9

;; ==> Note that font sizes are for a 1280x1024 screen.
;;     You may have to adjust sizes for your resolution.

    ;;--------------;;
    ;; CVS snapshot ;;
    ;;--------------;;

;; This file was tested with the CVS snapshot of 1999 Sep  8

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2 of the License, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program; if not, write to the Free Software
;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

;; To obtain a CVS snapshot of the SCWM development sources
;; execute the following at your shell prompt.
;; Be warned that development sources often but don't always work!

;; I keep my scwm sources in /u/scwm.
;; The first time you obtain a snapshot do the following

;;     mkdir /u
;;     cd /u
;;     export CVSROOT=':pserver:anoncvs@scwm.mit.edu:/anoncvs'
;;     cvs login
;;        ## type `anoncvs' as the password at the `CVS password:' prompt
;;     cvs get scwm

;; The second and subsequent times, to update your CVS snapshot, do:

;;     cd /u/scwm
;;     export CVSROOT=':pserver:anoncvs@scwm.mit.edu:/anoncvs'
;;     cvs login
;;        ## type `anoncvs' as the password at the `CVS password:' prompt
;;     cvs update -Pd

;; Try these compile commands to build scwm:

;;     ./autogen.sh;
;;     ./ltconfig --cache-file=./config.cache --with-gcc --with-gnu-ld ;
;;     ./ltmain.sh i686-pc-linux-gnu; ./configure --enable-maintainer-mode ;
;;     env CFLAGS='-Wall -W' make -k"
;;  [su root]
;;     make install

;; or try:
;;
;;     ./configure --enable-permissive --prefix=/usr/local && make -k
;;  [su root]
;;     make install

;; or try:
;;
;;     ./configure --enable-maintainer-mode --prefix=/usr \
;;     --enable-permissive --with-cassowary && make -k
;;  [su root]
;;     make install

;; On my system, SCWM-related files are in:
;;
;;               /usr/local/share/scwm/
;; particularly
;;               /usr/local/share/scwm/modules/app/scwm/
;;               /usr/local/share/scwm/pixmaps
;;               /usr/local/share/scwm/themes
;;
;; as well as
;;               /usr/local/lib/
;;               /usr/local/include/
;;               /usr/local/bin/
;;

;; My sources are in   /u/scwm

;; Samples in          /u/scwm/sample.scwmrc/

;; Themes in           /u/scwm/themes

;; Other scm files are in:
;;
;;    /usr/lib/elk/scm
;;    /usr/lib/scm
;;    /usr/share/slib


    ;;---------------;;
    ;; Starting SCWM ;;
    ;;---------------;;

;; To start SCWM, place the following in your ~/.xsession file:

    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;;                                        ;;
    ;;    #! /bin/bash                        ;;
    ;;    exec scwm -f ~/spare-blue.scwmrc    ;;
    ;;                                        ;;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


;; Or run a trace when you start SCWM; use this `exec' command:
;; 
;; exec strace -etrace=open /usr/bin/scwm -f ~scwm/spare-blue.scwmrc \
;; --segv-just-stop

;; then run `startx' from your shell prompt.

;; If you wish to use X windows display :0,
;; set your color depth to 32,
;; and record errors and other information in a file called X-log,
;; run:
;;            startx -- :0 -bpp 32 > X-log 2>&1
;;

;; On my system, this SCWM configuration takes 30 seconds to start.

    ;;-------;;
    ;; Gnome ;;
    ;;-------;;

;; If you want to use the gnome panel, stick
;; "panel &" in your $HOME/.xclients file (and be sure it is u+x)

;; import scwm modules we need for the startup animation
(use-scwm-modules base message-window gnome-hints)

;; do this early, since gnome times out in 10 seconds
(enable-gnome-hints)

;; Initialize various window styles for GNOME support.
;; This handles desktop icons, splash screens, and the panel.
(gnome-install-window-styles)


    ;;---------------------------;;
    ;; display a startup message ;;
    ;;---------------------------;;

;; Do this very early so people do not wait too long.
;; This message takes ten seconds to appear on my machine.

;; First we must import the scwm modules that provide the requisit services.
;; The message-window module imports base.scm and three other modules.

(use-scwm-modules message-window)

(define font12
  (make-font "-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*"))
(set-icon-font! font12)
(scwm-option-set! *window-font* "-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*")

;; Set message-window-style
(message-window-style default-message-window
		      #:font *message-window-font*
                      #:fg "white"
                      #:bg "blue")

;; Display startup message for 15 seconds, after which it goes away
;; If you have a faster machine, you may want to shorten the time.
(display-message-briefly
 "Starting SCWM  ...  this takes thirty seconds on my machine  ...  " 15)



    ;;-----------------------------------;;
    ;; ---- Import the scwm modules ---- ;;
    ;;-----------------------------------;;

;; Import the scwm modules that run the window manager.

;; You can use one or other of the commands: use-scwm-modules or use-modules.

;; The latter command requires that you specify the subdirectories
;; under the modules directory under which the specific modules are
;; are located.  Thus, the command (use-modules (app scwm base))
;; loads the base.scm module from   /usr/local/share/scwm/modules/app/scwm/

;; As you can see, the top level directory is
;; /usr/local/share/scwm/modules/

;; The use-scwm-modules command presumes the desired modules are in the
;; /usr/local/share/scwm/modules/app/scwm/  directory.

;; List modules in alphabetical order, so it is easier to keep track of them.
;; Am probably loading more than I need.
(use-scwm-modules
 advice
 animated-edge-moves
 animated-iconify
 animation
 auto-raise
 background
 base
 basic-styles
 constraint-investigator
 constraints
 decor
 defoption
 describe
 dir-focus
 doc
 face
 file
 flash-window
 flux
 flux-gtk
 fvwm-compat
 fvwm-eval
 fvwm-module
 gnome-hints
 group
 gtk
 highlight-current-window
 image-path-suggestor
 key-mover
 last-mapped-window
 listops
 menus-extras
 message-window
 modifier-key-bindings
;; netscape
 optargs
 path-cache
 placement
 preferences
 primopts
 prompt-color
 property-respond
 quote
 register
 register
 send-string
 shove-window
 simple-constraints
 snap-constraints
 std-menus
 stringops
 style
 stylist
 synth-events
 task-switcher
 theme-impl
 themes
 tile
 time-convert
 titlebar-buttons
 ui-constraints
 ui-constraints-buttons
 ui-constraints-classes
 ui-constraints-composition
 ui-constraints-gdk-drawing
 ui-constraints-gtk-toggle-menu
 ui-constraints-toggle-menu
 undo
 virtual
 wavplay
 window-configuration
 window-selection
 wininfo
 winlist
 winlist-menu
 winops
 winops-menu
 xlock-menus
 xprop-extras
 )

;; Example of `use-modules' command
;; [This example does not load as many modules as the command above.]
;; (use-modules
;;  (app scwm auto-raise)
;;  (app scwm base)
;;  (app scwm decor)
;;  (app scwm desk-background)
;;  (app scwm face)
;;  (app scwm flux)
;;  (app scwm fvwm-module)
;;  (app scwm module-types)
;;  (app scwm style)
;;  (app scwm themes)
;;  (app scwm wininfo)
;;  (app scwm winlist)
;;  (app scwm winops)
;;  (app scwmp references))


    ;;-------------------------------------;;
    ;; set window configuration at startup ;;
    ;;-------------------------------------;;

;; These commands replace most of what goes into a ~/.xinitrc or ~/.xsession
;; file.

;; ==> Note that font sizes are for a 1280x1024 screen.
;;     You may have to adjust sizes for your resolution.

;; Blue is restful on my eyes; shows less flicker (to which I am sensitive).
(set-background-color! "Navy")

;; for analog clock in upper right
(execute "xclock -analog -bg navy -fg white -hd white -hl white \
          -update 1  -geometry 80x80-130+5")

;; for digital clock in upper left
(execute "xclock -digital -bg navy -fg white -hd white -hl white \
          -update 1 -geometry +0+0")

;; for GMT digital clock in upper left
(scwm-system "TZ=GMT0 xclock -digital -bg navy -fg white -hd white -hl white \
              -update 1 -geometry +202+0&")

;; Other clock information is located in:
;; /usr/local/share/scwm/modules/app/scwm/ScwmClock.scm

;; Create some xterms.  Note the name for the tall xterm;
;; that is so it is easy for me to pick from an icon list.

(execute "xterm -T 80x24 -n 80x24 -bg mediumblue \
               -fg white -cr white -geometry 80x24+0+75")

(execute "xterm -T 80x74 -n '|| 80x74 ||' -bg mediumblue \
      -fg white -cr white -geometry 80x74+450+10 -iconic")

;; Here are other programs that are usually run from ~/.xinitrc

(execute "xrdb ~/.Xresources > /dev/null")

;; The contents of my .Xresources file are:
;;
;; *Label*shadowWidth: 3
;;
;; XTerm*jumpScroll:	true
;; XTerm*scrollBar:	true
;; XTerm*cutToBeginningOfLine: false
;; XTerm*cursorColor:	white
;; XTerm*saveLines:	800
;;
;; Emacs*background:	darkblue
;; Emacs*foreground:	white
;; Emacs*cursorColor:	white
;; Emacs*pointerColor:  white
;; Emacs*bold.AttributeBackground: dodger blue
;; Emacs*bold.AttributeForeground: white
;; Emacs.MenuBar:       on


;; My preferred keymap is:  /usr/share/keymaps/i386/qwerty/emacs2.map.gz
;; This emulates it in X
(execute "xmodmap -e 'clear Lock'")
(execute "xmodmap -e 'add Control = Caps_Lock'")
(execute "xmodmap -e 'keysym Tab = Tab'")
(execute "xmodmap -e 'keycode 22 = BackSpace'")
(execute "xmodmap -e 'keycode 107 = Delete'")

;; Fonts

;; For Emacs; extract from: /usr/local/src/intlfonts-1.0.tar.gz
;; Others that could be loaded include:
;;   Asian Chinese-BIG Chinese Ethiopic Japanese-BIG Japanese Korean
;; For the GIMP, put Type 1 and Speedo fonts first.

(execute "xset fp+ /usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/freefont/,/usr/X11R6/lib/X11/fonts/sharefont/,/usr/local/src/intlfonts/European,/usr/local/src/intlfonts/Asian,/usr/local/src/intlfonts/Misc")


(execute "xset fp rehash")

    ;;;; end set window configuration at startup ;;;;



    ;;--------------------------------;;
    ;; basic configuration parameters ;;
    ;;--------------------------------;;


;; This definition is used to define *theme-path*  and is helpful if
;; you specify files to load, as shown immediately below.
(define HOME (getenv "HOME"))

;; You can define USER this way
;; (define USER (getenv "USER"))


;; If you are loading both local and system settings, you can do this:

;; (define USERROOT (string-append HOME "/.scwm"))
;; (define SYSTEMROOT "/etc/X11/scwm")
;;
;; (let ((SYSTEMSETTINGS (string-append SYSTEMROOT "/settings"))
;;       (USERSETTINGS (string-append USERROOT "/settings")))
;;   (cond ((file-exists? USERSETTINGS)
;;          (load USERSETTINGS))
;;         ((file-exists? SYSTEMSETTINGS)
;;          (load SYSTEMSETTINGS))
;;         ))

;; However, rather than employ additional files for this `spare-blue'
;; configuration, I have copied my  ~/.scwm/settings  file into this
;; .scwmrc file, so the above load commands are not needed and are
;; therefore commented out.

;; Also, I do not load any system-wide settings.  These actions mean
;; that I have to keep track of only one file, this ~/.scwmrc file
;; (plus the ~/.xsession file for starting X).

;;;;;;;;;;;;;;;;   copy of   ~/.scwm/settings    ;;;;;;;;;;;;;;;;

;;  ~/.scwm/settings      -*- scwm -*-
;; basic configuration parameters for scwm
;; ATTENTION!!!: THE FOLLOWING VARIABLES MUST BE DEFINED!!!
;; user-image-path, menu-font, title-font, icon-font,
;; focus-type, restart-function, init-function,
;; window-toggle-maximize

;; ==> Note: I have copied this file from the distribution, and customized it.

;;; Specify how to focus on a window ;;;
;; ==> Note: I also specify the mouse focus type in the generic window
;; style; this may be redundant

;; here you can put one of these values:
;; 'click     - must click on the window to focus.
;; 'mouse     - the window gains focus as the mouse enters or leaves.
;; 'sloppy    - the window gains focus as the mouse enters, but does not
;;              lose it if the pointer enters the root window, or a window
;;              with 'click or 'none focus.
;; 'none      - don't ever give this window focus, even if
;;              it is clicked.

(define focus-type 'mouse)


;; ==> Note: image-load-path also defines where images are located.
;; this defines the path where a user can put own images
(define user-image-path '())

;; ==> Note: Apparently, this two functions serve as `hooks' --
;; `restart-function' is run before (restart "scwm")
;; and `init-function' is run at the end of this file.
;; Here, these two functions are defined to do nothing.

;; this is the function, scwm calls when you restart it
(define (restart-function)
  ())

;; init-function is the function, scwm calls after the initialisation.
(define (init-function)
  ())

;;; now we define the maximize function
;; use this definition, if you want the normal vertical-only maximize function

;; ==> Note that I have defined this to maximize almost, but all the
;; way to the top of the screen.  This is because I always like some
;; visible root screen space.

(use-scwm-modules animation)
(use-modules (app scwm c-animation))

;; This should make the window appear at the initial position, 1/4 of the
;; way, 1/2 of the way, 3/4 of the way, and finally slide into place.
(set-animation! #(0.0 -0.05 -0.1 -0.15 -0.2 -0.25 -0.2 -0.15 -0.1 -0.05
0.0 0.25 0.5 0.75 1.0
1.05 1.1 1.15 1.2 1.25 1.2 1.15 1.1 1.05 1.0))

(define (vertical-toggle-maximize)
  (toggle-maximize 0 (%y 95)))

;; use this function, if you want a vertical-and-horizontal maximize function

;; (define (window-toggle-maximize)
;;   (toggle-maximize (%x 99) (%y 99))
;;   (move-to 7 7))

;;;;;;;;;;;;;;;;   end copy of   ~/.scwm/settings    ;;;;;;;;;;;;;;;;

    ;; ------------;;
    ;; constraints ;;
    ;; ------------;;

(define (enable-constraint-solver)
  (if (scwm-is-constraint-enabled?)
      (begin
	(use-scwm-modules constraints)
	(start-constraints))
      (error "Scwm is not built to support constraints\n\
Get Cassowary from http://www.cs.washington.edu/research/constraints/cassowary/")))


    ;; -------;;
    ;; decors ;;
    ;; -------;;

;; These decors enable you to change a theme on a per-window basis.
;; Only std-d, lizard-d, and grad-d are defined here.
;; grad-d is the default for this ~/.scwmrc file

(define std-d (make-decor "std"))
(with-decor std-d
            (title-style
;;             #:font helvetica12
             #:justify 'left
             #:relief 'raised)
            (border-style #:hidden-handles #f #:no-inset #t))

(define lizard-d (make-decor))
(with-decor lizard-d
            (title-style
;;             #:font helvetica12
             #:justify 'left
             #:relief 'raised)
            (border-style #:hidden-handles #f
                          #:no-inset #t
                          #:inactive
                          (list #:hidden-handles #f #:no-inset #t)))

(define grad-d (make-decor))
(with-decor grad-d
            (set-rubber-band-mask! 110)

            (title-style
;;             #:font helvetica12
             #:font font12
             #:justify 'left
             #:relief 'flat
             #:h-gradient (list
                           20 (list "OrangeRed3" 20) "OrangeRed3" "#3cb21c")
             #:inactive
             (list
              #:h-gradient
             ;; (list 40 (list "grey75" 20) "grey75" "grey25")
             ;; (list 40 (list "CornflowerBlue" 5) "CornflowerBlue" "navyblue")
              ;; #0000c3 is decimal 0 0 195 and is between
              ;; navyblue, 0 0 128, and mediumblue, 0 0 205
              (list 40 (list "#0000c3" 50) "#0000c3" "CornflowerBlue")
                 ))
            (border-style
             #:no-inset #f
             #:hidden-handles #f))


(define decor-list (list (cons "Standard" std-d) (cons "Lizard" lizard-d)
                         (cons "Gradient" grad-d)))

    ;;;; end decors ;;;;




    ;; --------------------;;
    ;; locations of images ;;
    ;; --------------------;;

;;; Set path to use for image searches
;;; On my system, all icons that I use are actually in
;;; /usr/X11R6/include/X11/pixmaps/

(append! image-load-path
     (list
      "/usr/X11R6/include/X11/pixmaps"
      "/usr/X11R6/include/X11/bitmaps"
      "~/pixmaps"
      "~/bitmaps"
      "/usr/share/icons"              ;; /usr/share/icons is for wmaker
      "/usr/local/lib/X11/mini-icons"
      ))

;; Other possible image directories; none of these are on my system.
;;      "/usr/X11/lib/X11/mini-icons"
;;      "/usr/share/include/X11/pixmaps"
;;      "/usr/share/include/X11/bitmaps"
;;      "/usr/lib/icons"
;;      "/usr/local/X11/include/X11/pixmaps"
;;      "/usr/lib/TheNextLevel/pixmaps"
;;      "/usr/local/lib/icons"
;;      "/usr/local/icons"



    ;;----------------------------------;;
    ;; create miniature icons for menus ;;
    ;;----------------------------------;;

;; Create the image form used in various menus
;; Not all of these images are used in this ~/.scwmrc file,
;; but are kept because the might be useful in the future.

;; These must be loaded before the window styles, which use them.

(define bolt-i    (make-image "mini-ray.xpm"))
(define bomb-i    (make-image "mini-bomb.xpm"))
(define bomb-smaller-i (make-image "mini.bomb.xpm"))
(define book2-i   (make-image "mini-book2.xpm"))
(define calc-i    (make-image "mini-calc.xpm"))
(define cd-i      (make-image "mini-cdlabel.xpm"))
(define clock-i   (make-image "mini-clock.xpm"))
(define cross-i   (make-image "mini-cross.xpm"))
(define ctd-i     (make-image "mini-connect.xpm"))
(define debian-i  (make-image "Debian-transparent.xpm"))
(define decor-i   (make-image "mini-exclam.xpm"))
(define dos-i     (make-image "mini-bug2.xpm"))
(define edit-i    (make-image "mini-edit.xpm"))
(define excl-i    (make-image "mini-exclam.xpm"))
(define eyes-i    (make-image "mini-eyes.xpm"))
(define fig-i     (make-image "mini-paint.xpm"))
(define fm-i      (make-image "mini-filemgr.xpm"))
(define games-i   (make-image "mini-happy.xpm"))
(define ghost-i   (make-image "mini-gv.xpm"))
(define gimp-i    (make-image "mini-wilbur.xpm"))
(define hamm-i    (make-image "mini-hammer.xpm"))
(define lock-i    (make-image "mini-lock.xpm"))
(define lower-i   (make-image "mini-lower.xpm"))
(define man-i     (make-image "mini-manual.xpm"))
(define max1-i    (make-image "mini-max1.xpm"))
(define mini-fractal-i (make-image "mini-fractal.xpm"))
;; (define nscape-i  (make-image "mini-netscape.xpm"))
(define pdf-i     (make-image "mini-pdf.xpm"))
(define quest-i   (make-image "mini-question.xpm"))
(define raise-i   (make-image "mini-raise.xpm"))
(define resize-i  (make-image "mini-resize.xpm"))
(define run-i     (make-image "mini-run.xpm"))
(define rxvt-i    (make-image "mini-term.xpm"))
(define stop-i    (make-image "mini-stop.xpm"))
(define term-i    (make-image "mini-sh1.xpm"))
(define turn-i    (make-image "mini-turn.xpm"))
(define windows-i (make-image "mini-windows.xpm"))
(define x2-i      (make-image "mini-x2.xpm"))
(define xv-i      (make-image "mini-xv.xpm"))
(define xx-i      (make-image "mini-x.xpm"))
(define xxgdb-i   (make-image "mini-bug1.xpm"))
;;(define manx-i    (make-image "mini-xman.xpm"))
;; (define decor-i   (make-image "mini-color-splotch.xpm"))

    ;;;; end miniature icons for menus ;;;;



    ;; -----------------------;;
    ;; general window styles  ;;
    ;; -----------------------;;

;; Move all windows opaquely and always resize opaquely
(set! *opaque-move-percent* 100)
(set! *opaque-resize-percent* 100)

;; Enable run-time theme changes
(append! *theme-path*
         (list (string-append (scwm-path-prefix) "/share/scwm/themes")
               (string-append HOME "/themes")))

;; Define a style for the clock and other such items
(define desk-widget
  (make-style #:plain-border #t
              #:sticky #t
              #:winlist-skip #t
              #:border-width 3
              #:focus 'none))

    ;;---------------------------;;
    ;; specific window styles    ;;
    ;;---------------------------;;

;; I don't like to see icons for my main programs when a window is
;; iconified, only the text with its name, so I commented out those
;; icons.

(window-style "xterm"
;;              #:icon "/usr/X11R6/lib/X11/twm/images/xterm.xpm"
              #:mini-icon term-i
              #:use-decor grad-d)

(window-style "emacs"
;;              #:icon "gnu-animal.xpm"
              #:icon-box (list (x- 35) 1 35 (y- 141))
              #:use-decor grad-d)

;;(window-style "netscape"
;; ;;              #:icon "netscape.xpm"
;;              #:placement-proc place-at-point
;;              #:use-decor grad-d)

(window-style "gimp"
;;              #:icon "wilber.xpm"
              #:mini-icon gimp-i
              #:use-decor grad-d)

(window-style "sketch"
;;              #:icon "wilber.xpm"
              #:mini-icon mini-fractal-i
              #:use-decor grad-d)

(window-style "xclock*"
              #:no-titlebar #t
              #:circulate-skip #t
              #:use-style desk-widget
              #:fg "yellow"
              #:bg "red")

(window-style "*lock" #:use-style desk-widget)
(window-style "xload" #:no-titlebar #t #:use-style desk-widget)
(window-style "xscreensaver" #:no-titlebar #t #:use-style desk-widget)
(window-style "xbiff" #:no-titlebar #t #:use-style desk-widget)

(window-style "xcalc" #:icon "xcalc.xpm")
(window-style "xman" #:icon "xman.xpm")
(window-style "xmag" #:icon "mag_glass.xpm")


    ;;--------------------------;;
    ;; set generic window style ;;
    ;;--------------------------;;

;; This sets the window style for attributes not mentioned in specific
;; window styles for specific windows.

(window-style "*"

              #:icon #f      ;; this turns off icons, but leaves icon titles
              #:show-icon #t ;; show text of titles for icon, not images
              ;; #:sticky-icon #t

              #:auto-raise #t
              #:auto-raise-delay 0
              #:auto-raise-focus-proc raise-window

              ;; fg is the color used in the text of icon titles,
              ;; and in the text of inactive images in the pager.
              #:fg "white"

              ;; bg is the color used in the background of icon titles,
              ;; for inactive buttons on a title bar,
              ;; for inactive images in the pager.
              #:bg "blue"

              ;; icon-box: X-position, Y-position, width, height
              ;; #:icon-box (list (x- 70) 1 69 (y- 141))
              #:icon-box (list (x- 35) 1 35 (y- 141))

              #:focus 'mouse
              #:border-width 3

;;              #:placement-proc place-at-point
;;              #:transient-placement-proc place-at-point
;;              #:random-placement #t
;;              #:smart-placement #t

              #:mwm-func-hint #t
              #:mwm-decor-hint #t
              #:hint-override #t
              #:decorate-transient #t
              #:PPosition-hint #f
              #:lenience #t

              #:use-decor grad-d)


    ;;-------;;
    ;; Pager ;;
    ;;-------;;

;; This pager is adapted by the scwm developers from that for Fvwm;
;; hence the references to "FvwmPager"

(set-desk-size! 2 2)

(set-edge-scroll! (%x 100) (%y 100))

;; delay a move across an edge briefly, and require a small threshhold
;; some people prefer considerably higher values, such as 500 500
(set-edge-resistance! 150 150)


(window-style "FvwmPager"
              #:no-titlebar #t
              #:use-style desk-widget)

(register-fvwm2-module-config "FvwmPager"
 "*FvwmPagerGeometry -220+4"
 "*FvwmPagerDeskTopScale 40"
 "*FvwmPagerHilight NavajoWhite2"            ; active window
 "*FvwmPagerBack burlywood3"                 ; non-active windows
 ;; FvwmPagerFore is used for the dashed lines separating
 ;; workspaces in the pager
 "*FvwmPagerFore DarkSlateBlue"
 "*FvwmPagerFont none"
 "*FvwmPagerSmallFont 5x8"
 "*FvwmPagerInterPageLineStyle solid"
 "*FvwmPagerLabel 0 Top"
 "*FvwmPagerLabel 1 Bottom"
)

;; The following shows two desktops on a double wide pager:
;; (define fvwm2-pager (run-fvwm2-module "FvwmPager" '("0" "1")))

;; The following shows only the first desktop, not desk two.
(define fvwm2-pager (run-fvwm2-module "FvwmPager" '("0" "0")))

;; ;;;;;;;;;;;;;;;;; Second Pager ;;;;;;;;;;;;;;;;
;;
;; How to create a pager for a second desktop
;; The pager itself appears on both desktops
;;   see  /usr/local/src/scwmdoc.pdf
;; Create a second FVWM executable:
;;   cd /usr/lib/X11/fvwm2; cp -p FvwmPager FvwmPager-2-
;;
;; Evaluate the following:
;;
;; (window-style "FvwmPager-2-"
;;               #:no-titlebar #t
;;               #:use-style desk-widget)
;;
;; (register-fvwm2-module-config "FvwmPager-2-"
;;  "*FvwmPager-2-Geometry -330+4"        ; put pager to left of other
;;  "*FvwmPager-2-DeskTopScale 40"
;;  "*FvwmPager-2-Hilight NavajoWhite2"   ; active window
;;  "*FvwmPager-2-Back burlywood3"        ; non-active windows
;;  "*FvwmPager-2-Fore DarkSlateBlue"
;;  "*FvwmPager-2-Font none"
;;  "*FvwmPager-2-SmallFont 5x8"
;;  "*FvwmPager-2-InterPageLineStyle solid"
;;  "*FvwmPager-2-Label 0 Top"
;;  "*FvwmPager-2-Label 1 Bottom")
;;
;; (define fvwm2-pager-2 (run-fvwm2-module "FvwmPager-2-" '("1" "1")))
;;
;; ;;;;;;;;;;;;;;;; end second pager ;;;;;;;;;;;;;;;;

    ;;;; End Pager ;;;;


    ;;---------------;;
    ;; define  menus ;;
    ;;---------------;;

;;; menus used by the main root menu ;;;

;; Mouse button bindings are defined in a section below;
;; this section creates the menus.

;; The steps are:
;;  1. create menus used by main root menu (done in this section)
;;  2. create main menu
;;  3. bind the menu to an action such as a mouse click (done below)

;; quit-verify is used by the main root menu
(define quit-verify
  (menu
   (list
    (menuitem "Really quit scwm?" #f)
;    menu-title
    (menuitem "Yes" #:action quit)
    (menuitem "No" #:action #f)
    menu-separator
    (menuitem "Restart scwm" #:action (lambda ()
                                        (restart-function)
                                        (restart "scwm"))))))

;; desk-menu is used by the main root menu
;; and is also bound to meta-mouse-3 in the root window

(define desk-menu
  (menu
   (list
    (menuitem "Desks" #f)
;    menu-title
    (menuitem "Desk 1" #:action (lambda () (set-current-desk! 0)))
    (menuitem "Desk 2" #:action (lambda () (set-current-desk! 1)))
    (menuitem "Desk 3" #:action (lambda () (set-current-desk! 2)))
    (menuitem "Desk 4" #:action (lambda () (set-current-desk! 3))))))


;;; Debian menus ;;;

;; If you load the file that contains the Debian menus,
;; you can uncomment and use the entries in the main-root-menu below
;; that list the Debian menus.

;; On my system, the Debian menus were generated automatically when I
;; first installed Scwm and were placed in a file called
;;     ~/.scwm/scwm_menus

;; You can load the Debian menus file here by uncommenting this command:

;;      (load (string-append (getenv "HOME") "/.scwm/scwm_menus"))

;; (Change the name of the file as needed for your system.)

;; The Debian menus list many programs, all of which are part of the
;; Debian GNU/Linux distribution, but not all of which may be
;; installed on your machine.

;; The Debian menus listed below that you may uncomment if you wish are:
;;    /Debian/Apps
;;    /Debian/Games
;;    /Debian/Screen
;;    /Debian/System
;;    /Debian/WindowManagers
;;    /Debian/XShells

;;; main root menu ;;;

;; left button mouse menu on root window
(define (popup-main-root-menu)
  (popup-menu main-root-menu))

(define main-root-menu
  (menu
   (list
    (menuitem "Main Menu"
              #:image-left "mini-penguin.xpm"
              ;; #:image-left "jline.xpm" "mini-penguin.xpm"  "jline.xpm"
              #f)

    menu-separator
    (menuitem
     "&80x24 Window"
     #:image-left
     "mini.xterm.xpm"
     #:action (lambda ()
                (execute "xterm -bg darkblue -fg white -cr orchid \
                           -geometry 80x24+2+130 -name '80x24 xterm' \
                           -title xterm -e /bin/bash -login")))
    (menuitem
     "&80x74 Window"
     #:image-left
     "mini.xterm.xpm"
     #:action (lambda ()
                (execute "xterm -bg darkblue -fg white -cr orchid \
                           -geometry 80x74+530+2 -name '80x74 xterm' \
                           -title xterm -e /bin/bash -login")))

    menu-separator

    (menuitem
     "&GNU Emacs"
     #:image-left "mini.emacs.xpm"
     #:action (lambda ()
                (execute "/usr/bin/emacs20 -fn 7x14 -bg darkblue \
                 -fg white -geometry 81x62-150+100 -name 'GNU Emacs'")))

;;     (menuitem
;;      "&Emacs 21"
;;      #:image-left "mini.emacs.xpm"
;;      #:action (lambda ()
;;                 (execute "/usr/local/bin/emacs -fn 7x14 -q -l ~bob/.emacs-21 \
;;                 -bg  darkblue -fg white -geometry 80x63+635+86 \
;;                 --icon-type -name 'Emacs 21'")))

    menu-separator

;;     (menuitem
;;      "Netscape 4.7"
;;      #:image-left "mini-netscape.xpm"
;;      #:action (lambda ()
;;                 (execute "/usr/local/netscape/netscape -no-about-splash \
;;                           -no-install -geometry 740x900+350+20")))
;; 
;;     (menuitem
;;      "Netscape 3.04"
;;      #:image-left "mini-netscape.xpm"
;;      #:action (lambda ()
;;   (execute "/usr/local/src/netscape-304/netscape -geometry 740x900+350+20")))


    (menuitem
     "Gzilla"
     #:image-left "mini-gzilla.xpm"
     #:action (lambda () (execute "gzilla")))

    menu-separator

    (menuitem "The Gimp"
              #:image-left "mini-wilbur.xpm"
;; was
;;              #:action (lambda () (execute "gimp")))
              #:action (lambda () (execute "~/.gimp-script")))

    (menuitem "Sketch"
              #:image-left "mini-fractal.xpm"
              #:action (lambda () (execute "sketch")))

    menu-separator

    (menuitem "&xcolors"
              #:image-left "mini.rainbow.xpm"
              #:action (lambda () (execute "xcolors")))

    menu-separator

    (menuitem "&Constraints"
	      #:submenu (lambda () (ui-constraints-toggle-menu)))

    (menuitem "Constraint &investigator"
	      #:action (thunk start-constraint-investigator))

    (menuitem "Turn &on Constraint Solver"
	      #:action (thunk enable-constraint-solver))

;;;; Uncomment the following Debian menus
;;;; only if you have loaded the file that contains them.
;;;; See above for how to load that file.

;;     menu-separator
;;     (menuitem "Debian Menus" #:image-left debian-i)
;;     menu-separator
;;     (menuitem "&Apps"           #:action /Debian/Apps)
;;     (menuitem "&Games"          #:action /Debian/Games)
;;     (menuitem "&Screen"         #:action /Debian/Screen)
;;     (menuitem "S&ystem"         #:action /Debian/System)
;;     (menuitem "&WindowManagers" #:action /Debian/WindowManagers)
;;     (menuitem "&XShells"        #:action /Debian/XShells)

    menu-separator

    (menuitem "Desks"
              #:image-left "/usr/X11R6/lib/tkdesk/images/ficons16/desk.xpm"
              #:action desk-menu)

    menu-separator

    (menuitem
     "Restart scwm"
     #:image-left "mini-start.xpm"
     #:action (lambda () (restart-function) (restart "scwm")))

    menu-separator
    (menuitem
     "Quit scwm"
     #:image-left "mini-cross.xpm"
     #:action quit-verify))))

;;; end main root menu ;;;


;;; middle mouse root menu ;;;

;; need this to run scwmrepl
(define (run-scwm-in-xterm) (execute "xterm -e scwmrepl"))

;; menu-for-preferences  is used by the middle mouse root menu
(define menu-for-preferences
  (menu
   (list
    (menu-title "Preferences" #f)
    menu-separator

    (menuitem "Scwm &Options...." #:action (lambda () (scwm-options-dialog)))

    (menuitem "Change background color..."
              #:action (lambda ()
                         (prompt-color
                          "New background color"
                          (lambda (c) (set-background-color! c))
                          #:title "Background color?")))

    ;; global themes are in
    ;;     /usr/local/share/scwm/themes
    ;;  as tar.gz files that Scwm reads automagically
    (menuitem "Change global theme"
              #:submenu
              (lambda () (menu-global-theme #t)))

    (menuitem "Scwm interaction"
              #:action run-scwm-in-xterm)

    (menuitem "Info on a window"
              #:action window-info))))

;; middle mouse button on root window
(define (popup-ops) (popup-menu window-ops-menu))

;; middle mouse button on root window; bound to popup-ops
(define window-ops-menu
  (menu
   (list
    (menu-title "Window Ops" #f)
    menu-separator
    (menuitem "Move" #:action interactive-move)
    (menuitem "Resize" #:action interactive-resize)
    (menuitem "Raise" #:action raise-window)
    (menuitem "Lower" #:action lower-window)
;;    (menuitem "Print" #:action print-window)
    (menuitem "(Un)Window-Shade" #:action toggle-window-shade)
    (menuitem "(De)Iconify" #:action toggle-iconify)
    (menuitem "(Un)Maximize" #:action vertical-toggle-maximize)
    (menuitem "(Un)Stick" #:action toggle-stick)
    (menuitem "(Un)Keep On Top" #:action toggle-on-top)
    menu-separator
    (menuitem "&Preferences" #:image-left "mini-prefs.xpm"
              #:action 'menu-for-preferences)
    menu-separator
    (menuitem "Close" #:action close-window)
    (menuitem "Delete" #:action delete-window)
    (menuitem "Destroy" #:action destroy-window)
    menu-separator
    (menuitem "Restart scwm" #:action (lambda ()
                                        (restart-function)
                                        (restart "scwm")))
    menu-separator
    (menuitem "Refresh Screen" #:action refresh))))

;;; end middle mouse root menu ;;;


;;; titlebar mouse menu ;;;

;;  bindings for mouse buttons on the title bar
;;  are created in a section below

;; leftmost button on title bar
(define (popup-small-ops)
  (popup-menu (make-small-window-ops-menu (get-window))))

;; leftmost button on title bar
(define (make-small-window-ops-menu ww)
  (menu (list
         (menu-title "Small Ops" #:image-left windows-i)
         menu-separator
         (menuitem "Re&size" #:image-left resize-i
                   #:action interactive-resize)
         menu-separator
         (menuitem "Info" #:image-left quest-i
              #:action  window-info)

         (menuitem "More"
                   #:action
                   (menu (list
                          (menuitem "&Raise"
                                    #:action raise-window)
                          (menuitem "&Lower"
                                    #:action lower-window)
;;                           (menuitem (if (sticky? ww) "Un&stick" "&Stick")
;;                                     #:action toggle-stick)
;;                           (menuitem (if (window-shaded? ww)
;;                                         "Unwindow-S&hade" "Window-S&hade")
;;                                     #:action toggle-window-shade)
;;                           (menuitem (if (kept-on-top? ww)
;;                                         "UnKeep On Top" "Keep On Top")
;;                                     #:action toggle-on-top)
)))
         (menuitem "Decorations"
                   #:image-left decor-i
                   #:action
                   (menu (map (lambda (dec)
                                (menuitem
                                 (car dec) #:action
                                 (lambda () (style-one-window ww #:use-decor
                                                              (cdr dec)))))
                              decor-list)))
         menu-separator
         (menuitem "&Close" #:image-left cross-i
                   #:action close-window)
         (menuitem "&Delete" #:image-left bomb-smaller-i #:action delete-window)
         (menuitem "&Destroy" #:image-left bomb-i #:action destroy-window))))

    ;; ---------------------------;;
    ;; how title bar buttons look ;;
    ;; ---------------------------;;

(define prog-face (make-face '((relief raised)) '((pixmap mini-program-icon))))
(define edit-face (make-face '((relief raised)) '((pixmap "mini-edit.xpm"))))
(define term-face (make-face '((relief raised)) '((pixmap "mini-term.xpm"))))

(define iconify-face
;;  (make-face '((relief raised)) '((pixmap "mini.iconify.xpm")))


;;  (make-face '((relief flat))
;; 	     '((pixmap "mini-shrink-windows-full.xpm")))
  (make-face '((relief raised))
 ;;; 3 stacked square panels like stills of a window being minimized
	     '((relief-pattern
		((80 20 #f) (80 60 #f) (60 60 #f) (60 40 #f) (60 70 #f)
			    (40 70 #f) (40 60 #f) (40 85 #f) (15 85 #f)
			    (15 60 #t) (40 60 #t) (30 60 #t) (30 40 #t)
			    (60 40 #t) (45 40 #t) (45 20 #t) (80 20 #t)))))
)

(define stylized-X-face         ; Stylized X for closing window
  (make-face '((relief raised))
             '((relief-pattern
                ((20 20 #t) (30 20 #t) (50 40 #t) (70 20 #t) (80 20 #t)
                 (80 30 #f) (60 50 #f) (80 80 #f) (70 80 #f) (50 60 #f)
                 (30 80 #f) (20 80 #f) (20 70 #f) (40 50 #t) (20 30 #f)
                 (20 20 #t))))))

(define up-down-arrow-face      ; Vertical Line with arrowheads on
  (make-face '((relief raised)) ; top and bottom for toggling vert-maximize
             '((relief-pattern
                ((50 10 #t) (25 35 #t) (40 35 #t) (40 60 #t) (25 60 #t)
                 (50 85 #t) (75 60 #f) (60 60 #f) (60 35 #f) (75 35 #f)
                 (50 10 #f) (50 10 #t))))))



    ;; ----------------------------------------;;
    ;; how to bind a mouse button to an action ;;
    ;; ----------------------------------------;;

;; As of 1999 Sep 28, title bar buttons are numbered in two different
;; ways, depending on which functions are called.

;; The old way, now deprecated, referred to button-1, button-2,
;; button-3,  and so on.  The sequence on the title bar went like this:

;;    left side            right side
;;    1  3  5                 6  4  2

;; This sequence is used by  `set-button-face!' to determine which
;; button location receives which face

;; However, titlebar buttons are now labeled `left-button-1',
;; `left-button-2', `right-button-2',`right-button-1', and so on.

;; The sequence on the title bar goes like this:

;; left side                                            right side
;; left-button-1 left-button-2       right-button-2 right-button-1

;; This sequence is used by `bind-mouse' to determine which button
;; location carries out which action when pressed.

;; The `set-button-face!' function takes the arguments:
;;
;;    BUTTON-NUMBER  ACTION
;;
;; where the BUTTON-NUMBER is 1, 3, 5 for the left side and 6, 4, 2
;; for the right side of the titlebar.


;; In a titlebar, the `bind-mouse' function takes the arguments:
;;
;;    TITLE-BAR-BUTTON-NAME  MOUSE-BUTTON  PROCEDURE-INVOKED
;;
;; where TITLE-BAR-BUTTON-NAME is a string giving the mouse button number
;; MOUSE-BUTTON is the left, middle, or right mouse button,
;; numbered 1, 2, 3
;;
;; More generally speaking,  TITLE-BAR-BUTTON-NAME  is  CONTEXTS
;; and is a list of event-contexts (e.g., '(left-button-1 frame-sides))
;;
;; The contexts include:
;; 'window
;; 'title
;; 'icon
;; 'root
;; 'frame-corners
;; 'frame-sides
;; 'client-window
;; 'root-window
;; 'left-button-N  (N=1-5)
;; 'right-button-N (N=1-5)


    ;; -----------------------------;;
    ;; set button faces on titlebar ;;
    ;; -----------------------------;;

;; This adds the button faces to the titlebar, in all decors.

;; left-most button, the action of which is a menu
(map (lambda (decor)
       (with-decor (cdr decor) (set-button-face! 1 prog-face )))
     decor-list)

;; second to left-most button, the action of which is to toggle size
(map (lambda (decor)
       (with-decor (cdr decor) (set-button-face! 3 up-down-arrow-face)))
     decor-list)

;; second to right-most button, the action of which is to iconify
(map (lambda (decor)
       (with-decor (cdr decor) (set-button-face! 4 iconify-face)))
     decor-list)

;; right-most button, the action of which to delete the window
(map (lambda (decor)
       (with-decor (cdr decor) (set-button-face! 2 stylized-X-face)))
     decor-list)

    ;; -------------------------------;;
    ;; titlebar button mouse bindings ;;
    ;; -------------------------------;;

;; context:            left-most titlebar button
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  popup-small-ops
(bind-mouse 'left-button-1 1 popup-small-ops)

;; context:            second to left-most titlebar button
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  vertical-toggle-maximize
(bind-mouse 'left-button-2 1 vertical-toggle-maximize)

;; context:            second to right-most titlebar button
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  iconify
(bind-mouse 'right-button-2 1 animated-iconify)

;; context:            right-most titlebar button
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  delete-window
(bind-mouse 'right-button-1 1 delete-window)

    ;;;; end titlebar button mouse bindings ;;;;


    ;; -------------------------------------;;
    ;; Mouse button bindings in root window ;;
    ;; -------------------------------------;;

;;; root menus ;;;

;; context:            root window
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  popup-main-root-menu
(bind-mouse 'root 1 popup-main-root-menu)

;; context:            root window
;; mouse button:       number two, which is middle mouse button
;; procedure invoked:  popup-ops
(bind-mouse 'root 2 popup-ops)

;; context:            root window
;; mouse button:       number three, which is right mouse button
;; procedure invoked:  show-window-list-menu
(bind-mouse 'root 3
            (lambda ()
              (show-window-list-menu #t
                                     #:by-resource #t
                                     #:show-last-focus-time #t
                                     #:show-geometry #t)))

;; context:            root window
;; mouse button:       Meta (e.g., ALT) key and right mouse button, together
;; procedure invoked:  popup-menu
(bind-mouse 'root "M-3" (lambda () (popup-menu desk-menu)))

    ;;;; end mouse button bindings in root window ;;;;


    ;; ------------------------------------------------------;;
    ;; Mouse button bindings in corners and sides of windows ;;
    ;; ------------------------------------------------------;;

;; context:            window corners
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  resize-or-raise
(bind-mouse 'frame-corners 1 resize-or-raise)

(bind-mouse 'frame-corners 2 popup-small-ops)

(bind-mouse 'frame-sides 1 resize-or-raise)

(bind-mouse 'frame-sides 2 move-or-raise)

;;;; Example: how to bind mouse button in two contexts
;; context:            window corners and window sides
;; mouse button:       number two, which is middle mouse button
;; procedure invoked:  popup-small-ops
;; (bind-mouse '(frame-corners frame-sides) 2 popup-small-ops)



;; context:            titlebar (not a button)
;; mouse button:       number two, which is middle mouse button
;; procedure invoked:  toggle-raise
(bind-mouse 'title 2 toggle-raise)

;;; Bind mouse button to one action for single click,
;;; second action for double click

;; First define the action using double-click as one mouse-event-type
(define (move-or-shade)
  (case (mouse-event-type)
    ((double-click) (toggle-window-shade))
    (else (move-or-raise))))

;; context:            titlebar (not a button)
;; mouse button:       number one, which is left mouse button
;; procedure invoked:  move-or-shade
(bind-mouse 'title 1 move-or-shade)

    ;;;; end mouse button bindings in corners and sides of windows ;;;;



    ;; ---------------------------------------;;
    ;; Mouse button bindings inside of window ;;
    ;; ---------------------------------------;;

;; Meta-Mouse-3 anywhere in window moves or shades it
;; context:            anyhwere in a window
;; mouse button:       number three, which is right mouse button
;; procedure invoked:  move-or-shade
(bind-mouse 'window "M-3" move-or-shade)

;; Meta-Mouse-2 closes a window
;; either by deleting (friendly) or destroying it.
;; context:            window
;; mouse button:       Meta (e.g., ALT) key and middle mouse button, together
;; procedure invoked:  close-window
(bind-mouse 'window "M-2" close-window)

    ;;;; end mouse button bindings inside of window ;;;;


    ;;---------------------------------;;
    ;; Mouse button bindings for icons ;;
    ;;---------------------------------;;

;; Either deiconify or move an icon
(define (move-or-deiconify)
  (case (mouse-event-type)
    ((motion) (interactive-move))
    ((double-click) (deiconify))))

;; /usr/local/share/scwm/modules/app/scwm/
;; /u/scwm/scheme

(bind-mouse 'icon 1 deiconify-window)
(bind-mouse 'icon 2 move-or-deiconify)

    ;;;; end mouse button bindings for icons ;;;;


;; (use-modules
;;  (app scwm  fvwm-compat) (app scwm  fvwm-eval) (app scwm  fvwm-module))


    ;;--------------------------------;;
    ;; key binding for window context ;;
    ;;--------------------------------;;

;; I find I use this key binding all the time!
(bind-key 'window "M-z" animated-iconify)

    ;;;; end key binding for window context ;;;;



    ;;----------------------------------;;
    ;; key binding to move the viewport ;;
    ;;----------------------------------;;

(bind-key 'all "C-Left" (lambda () (move-viewport (%x -100) 0)))
(bind-key 'all "C-Right" (lambda () (move-viewport (%x 100) 0)))
(bind-key 'all "C-Up" (lambda () (move-viewport 0 (%y -100))))
(bind-key 'all "C-Down" (lambda () (move-viewport 0 (%y 100))))

;; Also, you can rotate among the current window using a keyboard command.
;; I don't use these because I usually have too many windows for this
;; to be efficient.

;; (bind-key 'all "M-Tab"
;;           (lambda () (next-window #:only visible? #:except iconified?)))
;;
;; (bind-key 'all "M-S-Tab"
;;           (lambda () (prev-window #:only visible? #:except iconified?)))

    ;;;; end key binding to move the viewport ;;;;


    ;;---------------------------;;
    ;; key binding for emergency ;;
    ;;---------------------------;;

;; This binding came as part of the distribution.

;; This works in all contexts

;; in case of emergency, hit Control-Meta-Shift-Q
(bind-key 'all "C-M-S-q" quit)

;;;; Normally, you quit your X Windows session by closing applications
;;;; and then pressing Meta-Ctrl-Backspace (you may use your Alt key for Meta)
;;;; or by using the  mouse to `Quit scwm".

    ;;;; end key bindings for emergency ;;;;



    ;;--------------------------------------;;
    ;; Preferences from scwm-options-dialog ;;
    ;;--------------------------------------;;

(load-preferences)


    ;;----------------------------------;;
    ;; init-function: last item in file ;;
    ;;----------------------------------;;


;; this function appears to me to server as a hook; it was defined
;; earlier in this file

(init-function)

;; (make-message-window "Starting SCWM ... done ")

;;;;;;;;;;;;;;;; end of ~/spare-blue.scwmrc  file ;;;;;;;;;;;;;;;;

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Dec  9 12:00:07 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA10992
	for scwm-discuss-outgoing; Thu, 9 Dec 1999 12:00:07 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from forcix.burse.uni-hamburg.de (die.burse.uni-hamburg.de [134.100.252.249])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA10989
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 9 Dec 1999 12:00:02 -0500
Received: by forcix.burse.uni-hamburg.de (Postfix, from userid 666)
	id AA5B616827; Thu,  9 Dec 1999 18:01:04 +0100 (CET)
To: Greg Harvey <Greg.Harvey@thezone.net>
Cc: Sam Steingold <sds@goems.com>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of      Gwm-2.0
References: <qrryab7kjas.fsf@clavicle.cs.washington.edu> <384C4D80.3643E874@tech.com.au> <qrrg0xfipi4.fsf@clavicle.cs.washington.edu> <384CBB4B.E22E443@alum.mit.edu> <uln76k6fu.fsf@ksp.com> <19991208105833.B6262@youkaidi.irisa.fr> <384EECCF.C437E8EC@goems.com> <m3u2lse4g1.fsf@behemoth.dethfart.org>
From: forcer <forcer@mindless.com>
Date: 09 Dec 1999 18:01:04 +0100
In-Reply-To: Greg Harvey's message of "09 Dec 1999 08:01:10 -0330"
Message-ID: <hhhfhsvyjz.fsf@forcix.burse.uni-hamburg.de>
Lines: 39
X-Mailer: Gnus v5.7/Emacs 20.4
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Greg Harvey <Greg.Harvey@thezone.net> writes:

> Sam Steingold <sds@goems.com> writes:
>
> > guile is just one (r4rs, but not r5rs) implementation of a language 
> > which lacks an ANSI/ISO standard, an object system, a decent type
> > system,
> > hash tables &c.
> > 
> > I don't care that these things might be available in guile - they are
> > not part
> > of r5rs, so when I use them, I am stuck with one implementation.
> 
> Didn't you also say
> 
> > wake up - it's late 90-ies, there are many ANSI CL implementations
> > around, some of which (clisp, cmucl) are even OSS! (and have FFI so you
> > can hook into them your own primitives easily).
> > you don't have to re-invent the wheel!
> 
> And the FFI for any particular cl is more portable? There must have
> been a section left out of my copy of the hyperspec...

Please...
Not Yet Another Pointless Common Lisp vs. Scheme war.
Both have their nice sides, both have their disadvantages, and
each of them as adapted things from the other.

If you don't like the choice in language of a group of people who
do a project, do it yourself.

It's sad that the followers of the two best languages around are
so aggressive against each other.

	- Jorgen

-- 
((email . "forcer@mindless.com")       (www . "http://forcix.cx/")
 (irc   . "forcer@#StarWars (IRCnet)") (gpg . "/other/forcer.gpg"))

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Dec  9 15:39:28 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA11463
	for scwm-discuss-outgoing; Thu, 9 Dec 1999 15:39:28 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from venus.kstream.com (venus.kstream.com [38.156.71.12])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA11460
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 9 Dec 1999 15:39:01 -0500
Received: from SAM.ksp.com (SAM [38.156.71.103]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0)
	id XN3J6S7C; Thu, 9 Dec 1999 15:38:07 -0500
To: Greg Harvey <Greg.Harvey@thezone.net>
Cc: Hubert Canon <Hubert.Canon@irisa.fr>, Chris <chris@tech.com.au>,
        scwm-discuss@SCWM.MIT.EDU
Subject: Re: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of      Gwm-2.0
References: <qrryab7kjas.fsf@clavicle.cs.washington.edu> <384C4D80.3643E874@tech.com.au> <qrrg0xfipi4.fsf@clavicle.cs.washington.edu> <384CBB4B.E22E443@alum.mit.edu> <uln76k6fu.fsf@ksp.com> <19991208105833.B6262@youkaidi.irisa.fr> <384EECCF.C437E8EC@goems.com> <m3u2lse4g1.fsf@behemoth.dethfart.org>
Reply-To: sds@goems.com
X-Attribution: Sam
X-Disclaimer: You should not expect anyone to agree with me.
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Harvey's message of "Thu Dec 09 05:37:53 EST 1999"
Date: 09 Dec 1999 15:38:02 -0500
Message-ID: <ud7sf4zpx.fsf@ksp.com>
Lines: 29
X-Mailer: Gnus v5.7/Emacs 20.4
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>> In message <m3u2lse4g1.fsf@behemoth.dethfart.org>
>>>> On the subject of "Re: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of      Gwm-2.0"
>>>> Sent on Thu Dec 09 05:37:53 EST 1999
>>>> Honorable Greg Harvey <Greg.Harvey@thezone.net> writes:
 >> Sam Steingold <sds@goems.com> writes:
 >> 
 >> > wake up - it's late 90-ies, there are many ANSI CL implementations
 >> > around, some of which (clisp, cmucl) are even OSS! (and have FFI so you
 >> > can hook into them your own primitives easily).
 >> > you don't have to re-invent the wheel!
 >> 
 >> And the FFI for any particular cl is more portable? 

no. but porting from one FFI to another is a lot less hassle than
porting from guile to scheme48.

 >> Also, don't neglect the little fact that neither of the OSS
 >> implementations is ansi-cl.

both CLISP and CMUCL are striving for ansi-cl compliance.
both are pretty good at that. please report uncompliances as bugs.

no implementation I know of is 100% ansi-cl compliant.

-- 
Sam Steingold (http://www.podval.org/~sds/)
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Those who value Life above Freedom are destined to lose both.


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Dec  9 16:45:46 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA11658
	for scwm-discuss-outgoing; Thu, 9 Dec 1999 16:45:46 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from venus.kstream.com (venus.kstream.com [38.156.71.12])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA11655
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 9 Dec 1999 16:45:40 -0500
Received: from SAM.ksp.com (SAM [38.156.71.103]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0)
	id XN3J6S81; Thu, 9 Dec 1999 16:45:31 -0500
To: forcer <forcer@mindless.com>
Cc: Greg Harvey <Greg.Harvey@thezone.net>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of      Gwm-2.0
References: <qrryab7kjas.fsf@clavicle.cs.washington.edu> <384C4D80.3643E874@tech.com.au> <qrrg0xfipi4.fsf@clavicle.cs.washington.edu> <384CBB4B.E22E443@alum.mit.edu> <uln76k6fu.fsf@ksp.com> <19991208105833.B6262@youkaidi.irisa.fr> <384EECCF.C437E8EC@goems.com> <m3u2lse4g1.fsf@behemoth.dethfart.org> <hhhfhsvyjz.fsf@forcix.burse.uni-hamburg.de>
Reply-To: sds@goems.com
X-Attribution: Sam
X-Disclaimer: You should not expect anyone to agree with me.
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: forcer's message of "Thu Dec 09 11:04:35 EST 1999"
Date: 09 Dec 1999 16:45:23 -0500
Message-ID: <u1z8vkcuk.fsf@ksp.com>
Lines: 14
X-Mailer: Gnus v5.7/Emacs 20.4
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

 >> It's sad that the followers of the two best languages around are
 >> so aggressive against each other.

lisp is an ideology (not all ideology is bad).
it is a well-known fact that people tolerate wildly remote ideologies
easier than a small deviation from the party line.

http://www.netfunny.com/rhf/jokes/97/Jul/tolerance.html

-- 
Sam Steingold (http://www.podval.org/~sds/)
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Our business is run on trust.  We trust you will pay in advance.


From owner-scwm-discuss@SCWM.MIT.EDU  Thu Dec  9 19:15:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA12165
	for scwm-discuss-outgoing; Thu, 9 Dec 1999 19:15:50 -0500
Received: from mail.nf.net (firma.thezone.net [192.75.13.101])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA12162
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 9 Dec 1999 19:15:44 -0500
Received: from behemoth.dethfart.org (n151h183.thezone.net [198.165.151.183])
	by mail.nf.net (8.9.3/8.9.3) with ESMTP id UAA02621;
	Thu, 9 Dec 1999 20:45:28 -0330 (NST)
Received: (from greg@localhost)
	by behemoth.dethfart.org (8.8.7/8.8.7) id UAA00982;
	Thu, 9 Dec 1999 20:44:31 -0330
X-Authentication-Warning: behemoth.dethfart.org: greg set sender to Greg.Harvey@thezone.net using -f
To: Hubert Canon <Hubert.Canon@irisa.fr>
Cc: Chris <chris@tech.com.au>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of      Gwm-2.0
References: <qrryab7kjas.fsf@clavicle.cs.washington.edu> <384C4D80.3643E874@tech.com.au> <qrrg0xfipi4.fsf@clavicle.cs.washington.edu> <384CBB4B.E22E443@alum.mit.edu> <uln76k6fu.fsf@ksp.com> <19991208105833.B6262@youkaidi.irisa.fr> <384EECCF.C437E8EC@goems.com> <m3u2lse4g1.fsf@behemoth.dethfart.org> <ud7sf4zpx.fsf@ksp.com>
From: Greg Harvey <Greg.Harvey@thezone.net>
Date: 09 Dec 1999 20:44:31 -0330
Message-ID: <m3g0xbhct4.fsf@behemoth.dethfart.org>
Lines: 39
X-Mailer: Gnus v5.6.43/Emacs 20.3
Original-Sender: Greg.Harvey@thezone.net
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Sam Steingold <sds@goems.com> writes:

> >>>> In message <m3u2lse4g1.fsf@behemoth.dethfart.org>
> >>>> On the subject of "Re: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of      Gwm-2.0"
> >>>> Sent on Thu Dec 09 05:37:53 EST 1999
> >>>> Honorable Greg Harvey <Greg.Harvey@thezone.net> writes:
>  >> Sam Steingold <sds@goems.com> writes:
>  >> 
>  >> > wake up - it's late 90-ies, there are many ANSI CL implementations
>  >> > around, some of which (clisp, cmucl) are even OSS! (and have FFI so you
>  >> > can hook into them your own primitives easily).
>  >> > you don't have to re-invent the wheel!
>  >> 
>  >> And the FFI for any particular cl is more portable? 
> 
> no. but porting from one FFI to another is a lot less hassle than
> porting from guile to scheme48.

If you're only doing calls to libraries that have no knowledge of
lisp. If you want to work with lisp values, you have a much larger
hassle on your hands.

>  >> Also, don't neglect the little fact that neither of the OSS
>  >> implementations is ansi-cl.
> 
> both CLISP and CMUCL are striving for ansi-cl compliance.
> both are pretty good at that. please report uncompliances as bugs.
> 
> no implementation I know of is 100% ansi-cl compliant.

Which makes the whole standard point moot.

In any case, talk is cheap; if someone were to write a cl extensible
window manager and it proved to have significant advantages over
existing non-cl lisp window managers, most people wouldn't be too long
switching.

-- 
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Dec  9 19:29:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA12242
	for scwm-discuss-outgoing; Thu, 9 Dec 1999 19:29:47 -0500
Received: from mail.nf.net (firma.thezone.net [192.75.13.101])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA12239
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 9 Dec 1999 19:29:44 -0500
Received: from behemoth.dethfart.org (n154h157.thezone.net [198.165.154.157])
	by mail.nf.net (8.9.3/8.9.3) with ESMTP id UAA23414;
	Thu, 9 Dec 1999 20:59:31 -0330 (NST)
Received: (from greg@localhost)
	by behemoth.dethfart.org (8.8.7/8.8.7) id UAA01040;
	Thu, 9 Dec 1999 20:58:35 -0330
X-Authentication-Warning: behemoth.dethfart.org: greg set sender to Greg.Harvey@thezone.net using -f
To: forcer <forcer@mindless.com>
Cc: Sam Steingold <sds@goems.com>, scwm-discuss@SCWM.MIT.EDU
Subject: Re: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of      Gwm-2.0
References: <qrryab7kjas.fsf@clavicle.cs.washington.edu> <384C4D80.3643E874@tech.com.au> <qrrg0xfipi4.fsf@clavicle.cs.washington.edu> <384CBB4B.E22E443@alum.mit.edu> <uln76k6fu.fsf@ksp.com> <19991208105833.B6262@youkaidi.irisa.fr> <384EECCF.C437E8EC@goems.com> <m3u2lse4g1.fsf@behemoth.dethfart.org> <hhhfhsvyjz.fsf@forcix.burse.uni-hamburg.de>
From: Greg Harvey <Greg.Harvey@thezone.net>
Date: 09 Dec 1999 20:58:34 -0330
Message-ID: <m3bt7zhc5p.fsf@behemoth.dethfart.org>
Lines: 51
X-Mailer: Gnus v5.6.43/Emacs 20.3
Original-Sender: Greg.Harvey@thezone.net
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

forcer <forcer@mindless.com> writes:

> Greg Harvey <Greg.Harvey@thezone.net> writes:
> 
> > Sam Steingold <sds@goems.com> writes:
> >
> > > guile is just one (r4rs, but not r5rs) implementation of a language 
> > > which lacks an ANSI/ISO standard, an object system, a decent type
> > > system,
> > > hash tables &c.
> > > 
> > > I don't care that these things might be available in guile - they are
> > > not part
> > > of r5rs, so when I use them, I am stuck with one implementation.
> > 
> > Didn't you also say
> > 
> > > wake up - it's late 90-ies, there are many ANSI CL implementations
> > > around, some of which (clisp, cmucl) are even OSS! (and have FFI so you
> > > can hook into them your own primitives easily).
> > > you don't have to re-invent the wheel!
> > 
> > And the FFI for any particular cl is more portable? There must have
> > been a section left out of my copy of the hyperspec...
> 
> Please...
> Not Yet Another Pointless Common Lisp vs. Scheme war.

It's not a war. I'd feel a bit stupid fighting on both sides of a war
;).

> Both have their nice sides, both have their disadvantages, and
> each of them as adapted things from the other.
> 
> If you don't like the choice in language of a group of people who
> do a project, do it yourself.
> 
> It's sad that the followers of the two best languages around are
> so aggressive against each other.

That wasn't agressive (I actually prefer programming cl to scheme), I
was just pointing out that arguing against using one of the
extension-oriented schemes vs. using cl on the basis of the the
existance of a standard is a bit pointless here. cl is great, but it
does prefer a one language view of the world, which isn't always what
you want. In any case, it's totally off topic for a mailing list about
a *scheme* window manager, so let's just drop it, unless someone's
going to produce a link for the `ultimate window manager' using cl.

-- 
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Dec 10 06:59:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA15782
	for scwm-discuss-outgoing; Fri, 10 Dec 1999 06:59:32 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from mailhostnew.tbit.dk (mailhostnew.tbit.dk [194.182.135.150])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA15779
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 10 Dec 1999 06:59:26 -0500
Received: from chl (chl.tbit.dk [194.182.135.65])
	by mailhostnew.tbit.dk (8.9.3/8.9.3) with ESMTP id NAA22725;
	Fri, 10 Dec 1999 13:00:17 +0100 (MET)
Received: by tbit.dk
	via sendmail from stdin
	id <m11wOhg-000O62C@chl> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Fri, 10 Dec 1999 12:59:16 +0100 (CET) 
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Good news... kindof...
References: <199912091155.WAA01036@zappa.>
From: Christian Lynbech <chl@tbit.dk>
Date: 10 Dec 1999 12:59:16 +0100
In-Reply-To: Glenn Trigg's message of "Thu, 9 Dec 1999 22:55:42 +1100"
Message-ID: <ofemcvj9bf.fsf@chl.tbit.dk>
Lines: 18
User-Agent: Gnus/5.070099 (Pterodactyl Gnus v0.99) Emacs/20.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> "Glenn" == Glenn Trigg <ggt@netspace.net.au> writes:

Glenn> Somehow I had managed to get the impression that menu titles
Glenn> were made like:

Glenn>     (menuitem "Desks")
Glenn>     menu-title

They were, some time back, but it changed.


---------------------------+--------------------------------------------------
Christian Lynbech          | Ericsson Telebit A/S                       
Fax:   +45 8628 8186       | Fabrikvej 11, DK-8260 Viby J
Phone: +45 8628 8177 + 28  | email: chl@tbit.dk --- URL: http://www.tbit.dk
---------------------------+--------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Dec 10 10:15:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA16106
	for scwm-discuss-outgoing; Fri, 10 Dec 1999 10:15:19 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from venus.kstream.com (venus.kstream.com [38.156.71.12])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA16102
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 10 Dec 1999 10:15:14 -0500
Received: from SAM.ksp.com (SAM [38.156.71.103]) by venus.kstream.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0)
	id XN3J6TG0; Fri, 10 Dec 1999 10:15:04 -0500
To: Greg Harvey <Greg.Harvey@thezone.net>
Cc: Hubert Canon <Hubert.Canon@irisa.fr>, Chris <chris@tech.com.au>,
        scwm-discuss@SCWM.MIT.EDU
Subject: Re: ["Greg J. Badros" <gjb@cs.washington.edu>] Re: Preannouncement of      Gwm-2.0
References: <qrryab7kjas.fsf@clavicle.cs.washington.edu> <384C4D80.3643E874@tech.com.au> <qrrg0xfipi4.fsf@clavicle.cs.washington.edu> <384CBB4B.E22E443@alum.mit.edu> <uln76k6fu.fsf@ksp.com> <19991208105833.B6262@youkaidi.irisa.fr> <384EECCF.C437E8EC@goems.com> <m3u2lse4g1.fsf@behemoth.dethfart.org> <ud7sf4zpx.fsf@ksp.com> <m3g0xbhct4.fsf@behemoth.dethfart.org>
Reply-To: sds@goems.com
X-Attribution: Sam
X-Disclaimer: You should not expect anyone to agree with me.
Mail-Copies-To: never
From: Sam Steingold <sds@goems.com>
In-Reply-To: Greg Harvey's message of "Thu Dec 09 18:36:53 EST 1999"
Date: 10 Dec 1999 10:14:52 -0500
Message-ID: <uu2lqj09f.fsf@ksp.com>
Lines: 13
X-Mailer: Gnus v5.7/Emacs 20.4
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

 >> > no implementation I know of is 100% ansi-cl compliant.
 >> Which makes the whole standard point moot.

come on - nothing is 100% standard compliant.
standards are good - that's why we have so many of them.

and yes, let's stop this stupid thread.

-- 
Sam Steingold (http://www.podval.org/~sds/)
Micros**t is not the answer.  Micros**t is a question, and the answer is Linux,
(http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation.
Sex is like air.  It's only a big deal if you can't get any.


From owner-scwm-discuss@SCWM.MIT.EDU  Fri Dec 10 15:48:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA16563
	for scwm-discuss-outgoing; Fri, 10 Dec 1999 15:48:27 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from seldon.dtek.chalmers.se (9dcfQwRhM5mAR0ZAAe9iqIfDMfrDQlqU@seldon.dtek.chalmers.se [129.16.30.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA16551;
	Fri, 10 Dec 1999 15:48:12 -0500
Received: from parmer.dtek.chalmers.se (SAr5Ov1eWz9bk8LN9BD0NNNrJJucsCLp@parmer.dtek.chalmers.se [129.16.30.87])
	by seldon.dtek.chalmers.se (8.8.8/8.8.8) with ESMTP id VAA10252;
	Fri, 10 Dec 1999 21:48:00 +0100 (MET)
Received: (from d4jonas@localhost)
	by parmer.dtek.chalmers.se (8.9.3/8.9.3) id VAA14964;
	Fri, 10 Dec 1999 21:47:58 +0100 (MET)
To: scwm-discuss@scwm.mit.edu, scwm-users@scwm.mit.edu
Subject: SCWMDoc is abandoned.
X-No-Archive: Yes
Mail-Copies-To: never
Organization: The Deciples of Albericht Nibelungen
From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Date: 10 Dec 1999 21:47:58 +0100
Message-ID: <wtnvh66ploh.fsf@parmer.dtek.chalmers.se>
Lines: 33
User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


For about one year ago I started a project to write a document which
would give the newcommer to SCWM a introduction to how to do certain
things.

Regarding that almost nothing has been written since the first parts,
which were finnished shortly after the project began, during 1999 and
since I had got very little response from the SCWM-users (Greg has
come with some input) - and I need that input dearly - and I find
myself using a TTY more then I use X11 - together with a slight
despair regarding the task, have I decided to abandon the prject "SCWM
Documentation" (aka. SCWMDoc).

The LaTeX-source is GPL:ed and awailable from my homepage so anyone
that finds himself inclined to continue the work can readily do
so. Anytime the Gnu Documentation Licence is released it would be a
Good Thing to switch licence - if anyone cares.

It would be a good thing to remove any links to my SCWMDoc-page since
I will most likely remove it during X-mas. This is the first, last and
only notification regarding the removal.

If anyone takes up the fallen cloak[1], please notify me.

I really don't think anyone will shred any tears regarding my decision,
since I've only got approximate 10 mails regarding SCWMDoc in 12 month.


Footnotes: 
[1]  Litterly translation of a Swedish proverb.
-- 
(   GPG/PGP key   @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Dec 10 16:34:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA16794
	for scwm-discuss-outgoing; Fri, 10 Dec 1999 16:34:08 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA16781;
	Fri, 10 Dec 1999 16:33:59 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id NAA03244;
	Fri, 10 Dec 1999 13:33:50 -0800
To: scwm-discuss@SCWM.MIT.EDU
Cc: scwm-users@SCWM.MIT.EDU
Subject: Re: SCWMDoc is abandoned.
References: <wtnvh66ploh.fsf@parmer.dtek.chalmers.se>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 10 Dec 1999 13:33:50 -0800
In-Reply-To: Jonas Steverud's message of "10 Dec 1999 21:47:58 +0100"
Message-ID: <qrr7limlbup.fsf@clavicle.cs.washington.edu>
Lines: 17
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jonas Steverud <d4jonas@dtek.chalmers.se> writes:

> For about one year ago I started a project to write a document which
> would give the newcommer to SCWM a introduction to how to do certain
> things.

Thanks for your efforts, and I'm sorry there hasn't been more support
for them.  I know I'm too busy with other stuff to put a lot of energy
into separately-maintained documentation materials.

I do hope to continue to improve Scwm's documentation, though I'm most
interested in a better user's manual.  I'd love to see someone else pick 
up the introductory-tutorial bit that you've started.

Thanks, and best of luck as you move on to other things.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec 13 09:17:52 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA28228
	for scwm-discuss-outgoing; Mon, 13 Dec 1999 09:17:52 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from 255.255.255.255 ([203.83.70.34])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id JAA28222
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Dec 1999 09:17:45 -0500
Date: Mon, 13 Dec 1999 09:17:45 -0500
From: Mailer <Mailer@Mailer.com>
To: <scwm-discuss@scwm.mit.edu>
Message-Id: <419.435798.33265833Mailer@Mailer.com>
Subject: Win 100 M for $1 (18 days left) y2klottery.com
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

 http://www.y2klottery.com


From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec 13 12:01:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA28616
	for scwm-discuss-outgoing; Mon, 13 Dec 1999 12:01:10 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from seldon.dtek.chalmers.se (mveKy81aAtM5bbD3eMnb0Sxivg2PEnVf@seldon.dtek.chalmers.se [129.16.30.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA28613
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Dec 1999 12:01:04 -0500
Received: from licia.dtek.chalmers.se (6kBYZRsrjPK3R3j8MvO4KStPu/HBJcFA@licia.dtek.chalmers.se [129.16.30.88])
	by seldon.dtek.chalmers.se (8.8.8/8.8.8) with ESMTP id SAA16426
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Dec 1999 18:00:50 +0100 (MET)
Received: (from d4jonas@localhost)
	by licia.dtek.chalmers.se (8.9.3/8.9.3) id SAA25314;
	Mon, 13 Dec 1999 18:00:49 +0100 (MET)
To: scwm-discuss@scwm.mit.edu
Subject: [0.99.5.1] H-gradients not supported?
X-No-Archive: Yes
Mail-Copies-To: never
Organization: The Deciples of Albericht Nibelungen
From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Date: 13 Dec 1999 18:00:49 +0100
Message-ID: <wtniu22g4hq.fsf@licia.dtek.chalmers.se>
Lines: 32
User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I had the following in my .scwmrc for 0.8:

(with-decor js-common-decor
	    (title-style #:justify 'left #:font font1
			 #:relief 'flat
			 #:h-gradient (list 20 (list "navy blue" 20) 
					    "navyblue" "black") 
			 #:inactive 
			 (list #:h-gradient 
			       (list 40 (list "Midnightblue" 20) 
				     "Midnightblue" "black")))

But 0.99.5.1 does not like that. Have I missed something?

(And where are the example files in 0.99.5.1? Like gjb.scwmrc?)

/Jonas, not very up-to-date.
- -- 
(   GPG/PGP key   @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (SunOS)
Comment: Processed by Mailcrypt and Gnu Privacy Guard <www.gnupg.org>

iD8DBQE4VSY5YFmxFYdMVIkRAsLdAJ9nUOGLcGEGwVSIxuJeyJSZ3s5s4QCePh0R
RgmO5BIK7w+2AELWLTy8Ls0=
=sowx
-----END PGP SIGNATURE-----

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec 13 12:21:11 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA28721
	for scwm-discuss-outgoing; Mon, 13 Dec 1999 12:21:11 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from seldon.dtek.chalmers.se (3hyTsmi+RSfMqplUjxia61qZKvrbJu73@seldon.dtek.chalmers.se [129.16.30.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA28716
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Dec 1999 12:21:06 -0500
Received: from licia.dtek.chalmers.se (8zlKUltyRSwCyuxXn2/jjv5PV4JindRJ@licia.dtek.chalmers.se [129.16.30.88])
	by seldon.dtek.chalmers.se (8.8.8/8.8.8) with ESMTP id SAA19741
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Dec 1999 18:20:55 +0100 (MET)
Received: (from d4jonas@localhost)
	by licia.dtek.chalmers.se (8.9.3/8.9.3) id SAA27884;
	Mon, 13 Dec 1999 18:20:54 +0100 (MET)
To: scwm-discuss@scwm.mit.edu
Subject: Re: [0.99.5.1] H-gradients not supported?
References: <wtniu22g4hq.fsf@licia.dtek.chalmers.se>
X-No-Archive: Yes
Mail-Copies-To: never
Organization: The Deciples of Albericht Nibelungen
From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Date: 13 Dec 1999 18:20:54 +0100
In-Reply-To: Jonas Steverud's message of "13 Dec 1999 18:00:49 +0100"
Message-ID: <wtn902yg3k9.fsf@licia.dtek.chalmers.se>
Lines: 10
User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jonas Steverud <d4jonas@dtek.chalmers.se> writes:

[...]
> (And where are the example files in 0.99.5.1? Like gjb.scwmrc?)

I found those.

-- 
(   GPG/PGP key   @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec 13 14:22:02 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA29169
	for scwm-discuss-outgoing; Mon, 13 Dec 1999 14:22:02 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from seldon.dtek.chalmers.se (oNlTpmS+JvhYg4uOxpeAY5tHHOvOL8AA@seldon.dtek.chalmers.se [129.16.30.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA29165
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Dec 1999 14:21:55 -0500
Received: from bayta.dtek.chalmers.se (mjg+BKMSY7RnVTJwvC4mM3sNT2ZqXls1@bayta.dtek.chalmers.se [129.16.30.97])
	by seldon.dtek.chalmers.se (8.8.8/8.8.8) with ESMTP id UAA05267
	for <scwm-discuss@scwm.mit.edu>; Mon, 13 Dec 1999 20:21:43 +0100 (MET)
Received: (from d4jonas@localhost)
	by bayta.dtek.chalmers.se (8.9.3/8.9.3) id UAA18623;
	Mon, 13 Dec 1999 20:21:42 +0100 (MET)
To: scwm-discuss@scwm.mit.edu
Subject: [0.99.5.1] Strange mini-icons
X-No-Archive: Yes
Mail-Copies-To: never
Organization: The Deciples of Albericht Nibelungen
From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Date: 13 Dec 1999 20:21:42 +0100
Message-ID: <wtniu224pfd.fsf@bayta.dtek.chalmers.se>
Lines: 16
User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


My .scwmrc can be found at
<URL:http://www.dtek.chalmers.se/~d4jonas/Temp/scwmrc.gz>.

My setup looks like
<URL:http://www.dtek.chalmers.se/~d4jonas/Temp/scwm.dump.jpg>.

Note the "buttons"! And I find no minimize-button!

Huh? Any ideas?

TIA!

-- 
(   GPG/PGP key   @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Dec 14 09:59:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA00833
	for scwm-discuss-outgoing; Tue, 14 Dec 1999 09:59:40 -0500
Received: from icomm.ca (icomm.ca [216.126.72.23])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA00820;
	Tue, 14 Dec 1999 09:59:25 -0500
Received: from localhost (skeezix@localhost)
	by icomm.ca (8.9.3/8.9.3) with ESMTP id JAA30649;
	Tue, 14 Dec 1999 09:58:52 -0500
X-Authentication-Warning: icomm.ca: skeezix owned process doing -bs
Date: Tue, 14 Dec 1999 09:58:52 -0500 (EST)
From: Jeff Mitchell <skeezix@skeleton.org>
X-Sender: skeezix@icomm.ca
Reply-To: skeezix@skeleton.org
To: Jonas Steverud <d4jonas@dtek.chalmers.se>
cc: scwm-discuss@SCWM.MIT.EDU, scwm-users@SCWM.MIT.EDU
Subject: Re: SCWMDoc is abandoned.
In-Reply-To: <wtnvh66ploh.fsf@parmer.dtek.chalmers.se>
Message-ID: <Pine.LNX.4.10.9912140957290.9277-100000@icomm.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On 10 Dec 1999, Jonas Steverud wrote:

> If anyone takes up the fallen cloak[1], please notify me.

	interesting :)

> I really don't think anyone will shred any tears regarding my decision,
> since I've only got approximate 10 mails regarding SCWMDoc in 12 month.

	Few people send emails to maintainers of things (excepting Greg of
course :). I think quite a few (or at least me) downloaded SCWMDoc, but
found it not complete enough to be really useful. Certainly there was
interest in it, though. Good luck with new endeavors, and for gods sake
why are you using a TTY? :)

		Jeff

--
"It's murder out there. You can't even travel around in your own micro
circuits without permission from 'Master Control Program'. I mean,
sending *ME* down here to play games.... Who does he calculate he is?"
-- Peter Jurasik as Crom, _Tron_


From owner-scwm-discuss@SCWM.MIT.EDU  Wed Dec 15 03:33:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id DAA02349
	for scwm-discuss-outgoing; Wed, 15 Dec 1999 03:33:59 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from pub.jlonline.com ([202.102.24.9])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id DAA02346
	for <scwm-discuss@scwm.mit.edu>; Wed, 15 Dec 1999 03:33:25 -0500
Received: from sheila ([202.102.65.246]) by pub.jlonline.com
          (Netscape Messaging Server 4.05) with ESMTP id FMRX5301.28X for
          <scwm-discuss@scwm.mit.edu>; Wed, 15 Dec 1999 16:34:15 +0800 
Received: from zw by sheila with local (Exim 2.05 #1 (Debian))
	id 11yPlr-0000yV-00; Thu, 16 Dec 1999 09:31:55 +0800
To: scwm-discuss@scwm.mit.edu
Subject: Re: SCWMDoc is abandoned.
References: <Pine.LNX.4.10.9912140957290.9277-100000@icomm.ca>
From: zhaoway <zhaoway7@990.net>
Date: 16 Dec 1999 09:31:55 +0800
In-Reply-To: Jeff Mitchell's message of "Tue, 14 Dec 1999 09:58:52 -0500 (EST)"
Message-ID: <87vh5zr7qs.fsf@sheila.i-did-not-set--mail-host-address--so-shoot-me>
Lines: 28
User-Agent: Gnus/5.070099 (Pterodactyl Gnus v0.99) XEmacs/21.1 (Bryce Canyon)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jeff Mitchell <skeezix@skeleton.org> writes:

> On 10 Dec 1999, Jonas Steverud wrote:
> > If anyone takes up the fallen cloak[1], please notify me.
> 
> 	interesting :)

I'm planning to take this. I will setup the home-page for SCWMDoc
later this week, hopefully. I'm quite new to the whole Emacs/Lisp/Scheme
stuff. But I'm learning fast anyways. ;-) I'm probably *not* another
Joe Winidiot. (See debian-devel) ;-) I'm using Gnus! ;-)

> 	Few people send emails to maintainers of things (excepting Greg of
> course :). I think quite a few (or at least me) downloaded SCWMDoc, but
> found it not complete enough to be really useful. Certainly there was
> interest in it, though. Good luck with new endeavors, and for gods sake
> why are you using a TTY? :)

Thanks. And I surely will need help from this list. ;-)
I'm using TTY too, for now. ;-) And my .scwmrc is trying its best
to simulate those VC's. You know, when I press C-S-e, it will launch
XEmacs *full screenly* on a new desk. I can't do this under Enlightenment,
you know. ;-) My another dream is that I can simulate mouse clicks w/
key press. Scwm can do some w/ default configuration. But it can not
*hold down* the mouse button. I'm still wondering how could I do this.

-- 
Please Cc: me when replying. Thanks.

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Dec 15 11:51:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA05447
	for scwm-discuss-outgoing; Wed, 15 Dec 1999 11:51:27 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA05444
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 15 Dec 1999 11:51:19 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id IAA06539;
	Wed, 15 Dec 1999 08:50:54 -0800
To: zhaoway <zhaoway7@990.net>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: SCWMDoc is abandoned.
References: <Pine.LNX.4.10.9912140957290.9277-100000@icomm.ca> <87vh5zr7qs.fsf@sheila.i-did-not-set--mail-host-address--so-shoot-me>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 15 Dec 1999 08:50:54 -0800
In-Reply-To: zhaoway's message of "16 Dec 1999 09:31:55 +0800"
Message-ID: <qrrso14xi4x.fsf@clavicle.cs.washington.edu>
Lines: 37
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

zhaoway <zhaoway7@990.net> writes:

> Jeff Mitchell <skeezix@skeleton.org> writes:
> 
> > On 10 Dec 1999, Jonas Steverud wrote:
> > > If anyone takes up the fallen cloak[1], please notify me.
> > 
> > 	interesting :)
> 
> I'm planning to take this. I will setup the home-page for SCWMDoc
> later this week, hopefully. I'm quite new to the whole Emacs/Lisp/Scheme
> stuff. But I'm learning fast anyways. ;-) I'm probably *not* another
> Joe Winidiot. (See debian-devel) ;-) I'm using Gnus! ;-)

Excellent.

> 
> > 	Few people send emails to maintainers of things (excepting Greg of
> > course :). I think quite a few (or at least me) downloaded SCWMDoc, but
> > found it not complete enough to be really useful. Certainly there was
> > interest in it, though. Good luck with new endeavors, and for gods sake
> > why are you using a TTY? :)
> 
> Thanks. And I surely will need help from this list. ;-)
> I'm using TTY too, for now. ;-) And my .scwmrc is trying its best
> to simulate those VC's. You know, when I press C-S-e, it will launch
> XEmacs *full screenly* on a new desk. I can't do this under Enlightenment,
> you know. ;-) My another dream is that I can simulate mouse clicks w/
> key press. Scwm can do some w/ default configuration. But it can not
> *hold down* the mouse button. I'm still wondering how could I do this.

No, it can, I believe.  Just have one key press send only a button down, 
and make another send the button-up event.  I've not tested it, but Scwm 
is meant to support that interaction.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Dec 17 16:44:04 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA14954
	for scwm-discuss-outgoing; Fri, 17 Dec 1999 16:44:04 -0500
Received: from mailhop1.nyroc.rr.com (mailhop1-0.nyroc.rr.com [24.92.226.120])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA14950
	for <scwm-discuss@scwm.mit.edu>; Fri, 17 Dec 1999 16:43:57 -0500
Received: from mailout1.nyroc.rr.com ([24.92.226.81])
          by mailhop1.nyroc.rr.com (Post.Office MTA v3.5.3 release 223
          ID# 0-59787U250000L250000S0V35) with ESMTP id com
          for <scwm-discuss@scwm.mit.edu>; Fri, 17 Dec 1999 16:41:45 -0500
Received: from heart.cs.rochester.edu ([24.24.58.252])
          by mailout1.nyroc.rr.com (Post.Office MTA v3.5.3 release 223
          ID# 0-59787U250000L250000S0V35) with ESMTP id com
          for <scwm-discuss@scwm.mit.edu>; Fri, 17 Dec 1999 16:41:26 -0500
Received: (from zsh@localhost)
	by heart.cs.rochester.edu (8.9.3/8.9.3) id QAA02926;
	Fri, 17 Dec 1999 16:43:02 -0500
X-Authentication-Warning: tiger.jia.vnet: zsh set sender to zsh@cs.rochester.edu using -f
To: scwm-discuss@scwm.mit.edu
Subject: scwm crashes when close Gnome About Window
X-Attribution: ZSH
Organization: U of Rochester
X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/
 ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{
 *q|<EDbQtg9{wfQuI,#r#{'A,\!95my:/,]"s,O4nzqxNL.}WrHA>ddto|nkt"$r,K$[)"|6,elPH=
 GJ6Q
From: Shenghuo ZHU <zsh@cs.rochester.edu>
Date: 17 Dec 1999 16:43:00 -0500
Message-ID: <2nhfhh5jmj.fsf@tiger.jia.vnet>
Lines: 17
User-Agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.2 (Hecate)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

--=-=-=


Scwm (latest CVS) crashes when close Gnome About Window, because
Scr.Hilite points to a destroyed window.

Here is the patch.

-- 
Shenghuo

1999-12-17 16:31:05  Shenghuo ZHU  <zsh@cs.rochester.edu>

	* decor.c (s_set_window_decor_x): Use decor reference.
	* add_window.c (AddWindow): Ditto.
	* add_window.c (DestroyScwmWindow): Set Scr.Hilite.


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=hilit.diff

Index: ChangeLog
===================================================================
RCS file: /anoncvs/scwm/src/ChangeLog,v
retrieving revision 1.639
diff -u -r1.639 ChangeLog
--- ChangeLog	1999/12/08 00:47:03	1.639
+++ ChangeLog	1999/12/17 21:36:05
@@ -1,3 +1,9 @@
+1999-12-17 16:31:05  Shenghuo ZHU  <zsh@cs.rochester.edu>
+
+	* decor.c (s_set_window_decor_x): Use decor reference.
+	* add_window.c (AddWindow): Ditto.
+	* add_window.c (DestroyScwmWindow): Set Scr.Hilite.
+
 Tue Dec  7 16:26:37 1999  Greg J. Badros  <gjb@cs.washington.edu>
 
 	* events.c (s_handle_pending_events): Do not dispatch events when
Index: add_window.c
===================================================================
RCS file: /anoncvs/scwm/src/add_window.c,v
retrieving revision 1.134
diff -u -r1.134 add_window.c
--- add_window.c	1999/12/06 01:32:24	1.134
+++ add_window.c	1999/12/17 21:36:06
@@ -77,6 +77,7 @@
 #include "placement.h"
 #include "callbacks.h"
 #include "cursor.h"
+#include "decor.h"
 #ifdef HAVE_LIBSM_LIBICE
 #include "session-manager.h"
 #endif
@@ -345,6 +346,7 @@
   psw->HiBackColor = SCM_BOOL_F;
 
   psw->fl = &Scr.DefaultDecor;
+  DECORREF(Scr.DefaultDecor.scmdecor);
   psw->buttons = 0;
 
   GetMwmHints(psw);
@@ -829,6 +831,10 @@
    */
   if (!psw)
     return;
+
+  if (Scr.Hilite==psw) {
+    Scr.Hilite=NULL;
+  }
 
   call1_hooks(window_close_hook, psw->schwin);
 
Index: decor.c
===================================================================
RCS file: /anoncvs/scwm/src/decor.c,v
retrieving revision 1.64
diff -u -r1.64 decor.c
--- decor.c	1999/12/04 20:34:37	1.64
+++ decor.c	1999/12/17 21:36:06
@@ -286,6 +286,9 @@
 
   old_height = psw->fl->TitleHeight;
 
+  if (psw->fl != NULL) DECORUNREF(psw->fl->scmdecor);
+  if (fl != NULL) DECORREF(decor);
+
   psw->fl = fl;
 
   extra_height = psw->fl->TitleHeight - old_height;

--=-=-=--

From owner-scwm-discuss@SCWM.MIT.EDU  Fri Dec 17 17:29:36 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA15142
	for scwm-discuss-outgoing; Fri, 17 Dec 1999 17:29:36 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA15139
	for <scwm-discuss@SCWM.MIT.EDU>; Fri, 17 Dec 1999 17:29:31 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id OAA08205;
	Fri, 17 Dec 1999 14:29:18 -0800
To: Shenghuo ZHU <zsh@cs.rochester.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: scwm crashes when close Gnome About Window
References: <2nhfhh5jmj.fsf@tiger.jia.vnet>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 17 Dec 1999 14:29:18 -0800
In-Reply-To: Shenghuo ZHU's message of "17 Dec 1999 16:43:00 -0500"
Message-ID: <qrrr9glrykh.fsf@clavicle.cs.washington.edu>
Lines: 13
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Shenghuo ZHU <zsh@cs.rochester.edu> writes:

> --=-=-=
> 
> 
> Scwm (latest CVS) crashes when close Gnome About Window, because
> Scr.Hilite points to a destroyed window.
> 
> Here is the patch.

Great, thanks!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Dec 18 02:50:41 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id CAA15935
	for scwm-discuss-outgoing; Sat, 18 Dec 1999 02:50:41 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from pub.jlonline.com ([202.102.24.9])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id CAA15932
	for <scwm-discuss@scwm.mit.edu>; Sat, 18 Dec 1999 02:50:30 -0500
Received: from sheila ([202.102.65.139]) by pub.jlonline.com
          (Netscape Messaging Server 4.05) with ESMTP id FMXF7902.RGJ for
          <scwm-discuss@scwm.mit.edu>; Sat, 18 Dec 1999 15:52:21 +0800 
Received: from zw by sheila with local (Exim 2.05 #1 (Debian))
	id 11zJOg-00003s-00; Sat, 18 Dec 1999 20:55:42 +0800
To: scwm-discuss@scwm.mit.edu
Subject: SCWMDoc re-launched :-)
From: zhaoway <zhaoway7@990.net>
Date: 18 Dec 1999 20:55:42 +0800
Message-ID: <87ln6s4ddd.fsf@sheila.i-did-not-set--mail-host-address--so-shoot-me>
Lines: 23
User-Agent: Gnus/5.070099 (Pterodactyl Gnus v0.99) XEmacs/21.1 (Bryce Canyon)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


Hi, Jonas and Greg and all other Scwm users,

I'm happy to inform you that I have setup the new home-page for SCWMDoc at
http://www.zhaoway.com/SCWMDoc/

SCWMDoc was launched by Jonas about one year ago. The effort is trying to
provide new comers to Scwm an easy beginning by providing them Documents.

I am the new maintainer of SCWMDoc since Jonas resigned. Please send your
comments, suggestions, and/or criticizes to me, not Jonas.

The documentation hereby provided on the SCWMDoc home-page was mainly written
by Jonas. (I changed the project home-page, and pointed out that Jonas is no
longer the maintainer.) Thank you, Jonas! The Copyright is GNU friendly. (it
will be some kind of GNU Document License, when there is one.)

The home-page is very rough for now. And the documentation is not satisfying
most of the Scwm users. :-) I will try my best, anyways. :-)

-- 
zhaoway 
Homepage: http://www.zhaoway.com/

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Dec 18 15:26:50 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA19213
	for scwm-discuss-outgoing; Sat, 18 Dec 1999 15:26:50 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA19210
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 18 Dec 1999 15:26:46 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id MAA32170;
	Sat, 18 Dec 1999 12:26:23 -0800
To: zhaoway <zhaoway7@990.net>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: SCWMDoc re-launched :-)
References: <87ln6s4ddd.fsf@sheila.i-did-not-set--mail-host-address--so-shoot-me>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 18 Dec 1999 12:26:23 -0800
In-Reply-To: zhaoway's message of "18 Dec 1999 20:55:42 +0800"
Message-ID: <qrrr9gkov0w.fsf@clavicle.cs.washington.edu>
Lines: 15
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

zhaoway <zhaoway7@990.net> writes:

> Hi, Jonas and Greg and all other Scwm users,
> 
> I'm happy to inform you that I have setup the new home-page for SCWMDoc at
> http://www.zhaoway.com/SCWMDoc/

Excellent-- thanks for picking up this very worthwhile project!  I'll
update the Scwm web page later today!

And thanks again to Jonas for his work in getting it off the ground!

<snip>

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Dec 18 15:33:47 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA19297
	for scwm-discuss-outgoing; Sat, 18 Dec 1999 15:33:47 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from seldon.dtek.chalmers.se (yftFicGAmI0ay+he3ivnaX4IYuBsWKza@seldon.dtek.chalmers.se [129.16.30.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA19294
	for <scwm-discuss@scwm.mit.edu>; Sat, 18 Dec 1999 15:33:44 -0500
Received: from licia.dtek.chalmers.se (3ZUYQHIhnMJHvZGU5i5esPyYxb8Ysh+F@licia.dtek.chalmers.se [129.16.30.88])
	by seldon.dtek.chalmers.se (8.8.8/8.8.8) with ESMTP id VAA07167
	for <scwm-discuss@scwm.mit.edu>; Sat, 18 Dec 1999 21:33:29 +0100 (MET)
Received: (from d4jonas@localhost)
	by licia.dtek.chalmers.se (8.9.3/8.9.3) id VAA09853;
	Sat, 18 Dec 1999 21:33:28 +0100 (MET)
To: scwm-discuss@scwm.mit.edu
Subject: Re: SCWMDoc re-launched :-)
References: <87ln6s4ddd.fsf@sheila.i-did-not-set--mail-host-address--so-shoot-me>
X-No-Archive: Yes
Mail-Copies-To: never
Organization: The Deciples of Albericht Nibelungen
From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Date: 18 Dec 1999 21:33:28 +0100
In-Reply-To: zhaoway's message of "18 Dec 1999 20:55:42 +0800"
Message-ID: <wtnr9gkgfaf.fsf@licia.dtek.chalmers.se>
Lines: 48
User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

zhaoway <zhaoway7@990.net> writes:

> I'm happy to inform you that I have setup the new home-page for SCWMDoc at
> http://www.zhaoway.com/SCWMDoc/

I am of course very happy thay zhaoway has continued what I started
one year ago, the writing of SCWMDoc - a documentation of SCWM aimed
at the complete newcommer.

I wish zhaoway good luck and hope that you all help him. Even just
pointing out spelling errors is a contributions since the maintainer
will then feel that someone out there *cares*.

I will try to help zhaoway by contributing some texts now and then,
but those contributions will probably be rare.

> Thank you, Jonas!

And thank *you* who continue with the task!


> The Copyright is GNU friendly. (it
> will be some kind of GNU Document License, when there is one.)

For those who do not know: FSF is working on a GDL which is very much
like the GPL, but it is specifically aimed at documentation like
SCWMDoc. The ordinary GPL has it flaws when it is applied to
texts. I've read a draft some month ago but do not know when it will
be "released".


Once again: Thanks zhaoway, and good luck.

/Jonas, feeling a tad sad about having to leave his "child"...
- -- 
(   GPG/PGP key   @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (SunOS)
Comment: Processed by Mailcrypt and Gnu Privacy Guard <www.gnupg.org>

iD8DBQE4W++OYFmxFYdMVIkRAsAKAJsE3NP6haV4r5KLyJ+NcdwGhRLxLACcCLiu
fww5LU7xi/01gP6282sszjU=
=8ENZ
-----END PGP SIGNATURE-----

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Dec 18 16:13:48 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA19550
	for scwm-discuss-outgoing; Sat, 18 Dec 1999 16:13:48 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA19547
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 18 Dec 1999 16:13:45 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id NAA07134;
	Sat, 18 Dec 1999 13:13:33 -0800
To: exile@21stcentury.net (exile)
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Preannouncement of Gwm-2.0
References: <199912061606.LAA20454@mail01.infonautics.com> <384C4882.522AA2B2@tech.com.au> <qrrk8mriq8e.fsf@clavicle.cs.washington.edu> <m2zovnd3qx.fsf@21stcentury.net> <qrr9037im08.fsf@clavicle.cs.washington.edu> <m2k8mr60h0.fsf@21stcentury.net>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 18 Dec 1999 13:13:33 -0800
In-Reply-To: exile@21stcentury.net's message of "06 Dec 1999 19:47:23 -0500"
Message-ID: <qrraen8osua.fsf@clavicle.cs.washington.edu>
Lines: 33
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

exile@21stcentury.net (exile) writes:

<snip>

>  I was thinking something like the customize buffer in emacs... I've
>  not really tried the emacs mode you've already put together. Primarily
>  because it didn't install as it was supposed to and I've not been able
>  to find the damnable .el file. I just downloaded it again... we'll see
>  what happens.

Should be in utilities/emacs/scwm.el

Remember, "find" is your friend; you could use:

find . -name "*.el" -print

And please file a bug report (and ideally a patch) if you still have
problems with Scwm.el.

<snip>

>  I'm using your window manager. I thought it was probably the best
>  suited to "extend." I was thinking of tying it into some sort of
>  knowledge base, speech synthesis, etc. Adding some interactive
>  functions and so forth. I'm still learning scheme though so that
>  may be in the future some. I do have a fairly nice theme started
>  :} again... seeing as I'm still learnng this that's taking some time.

Sounds interesting... we've got voice recognition now on platforms that
support IBM's ViaVoice so this stuff might all integrate really nicely.
Keep me posted, for sure.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Dec 18 16:24:43 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA19656
	for scwm-discuss-outgoing; Sat, 18 Dec 1999 16:24:43 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA19653
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 18 Dec 1999 16:24:40 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id NAA07229;
	Sat, 18 Dec 1999 13:24:29 -0800
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: [0.99.5.1] H-gradients not supported?
References: <wtniu22g4hq.fsf@licia.dtek.chalmers.se>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 18 Dec 1999 13:24:29 -0800
In-Reply-To: Jonas Steverud's message of "13 Dec 1999 18:00:49 +0100"
Message-ID: <qrr4sdgosc2.fsf@clavicle.cs.washington.edu>
Lines: 30
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jonas Steverud <d4jonas@dtek.chalmers.se> writes:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> I had the following in my .scwmrc for 0.8:
> 
> (with-decor js-common-decor
> 	    (title-style #:justify 'left #:font font1
> 			 #:relief 'flat
> 			 #:h-gradient (list 20 (list "navy blue" 20) 
> 					    "navyblue" "black") 
> 			 #:inactive 
> 			 (list #:h-gradient 
> 			       (list 40 (list "Midnightblue" 20) 
> 				     "Midnightblue" "black")))
> 
> But 0.99.5.1 does not like that. Have I missed something?

What is the error?  Are you doing a:

(use-scwm-modules decor)

before trying the above?  

Can you give me a minimal (or at least really small) .scwmrc that
reproduces the problem?

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Dec 18 16:31:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA19771
	for scwm-discuss-outgoing; Sat, 18 Dec 1999 16:31:23 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA19768
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 18 Dec 1999 16:31:20 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id NAA07525;
	Sat, 18 Dec 1999 13:31:10 -0800
To: scwm-discuss@SCWM.MIT.EDU
Subject: Re: [0.99.5.1] Strange mini-icons
References: <wtniu224pfd.fsf@bayta.dtek.chalmers.se>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 18 Dec 1999 13:31:10 -0800
In-Reply-To: Jonas Steverud's message of "13 Dec 1999 20:21:42 +0100"
Message-ID: <qrr1z8kos0x.fsf@clavicle.cs.washington.edu>
Lines: 18
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Jonas Steverud <d4jonas@dtek.chalmers.se> writes:

> My .scwmrc can be found at
> <URL:http://www.dtek.chalmers.se/~d4jonas/Temp/scwmrc.gz>.
> 
> My setup looks like
> <URL:http://www.dtek.chalmers.se/~d4jonas/Temp/scwm.dump.jpg>.
> 
> Note the "buttons"! And I find no minimize-button!
> 
> Huh? Any ideas?

It works for me as long as I change the .xpm files to ones that I can
find on my system.  What version of Scwm are you using?  See the
./scwm-bug-report-information script if you need to report a bug.

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Dec 18 16:36:49 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA19854
	for scwm-discuss-outgoing; Sat, 18 Dec 1999 16:36:49 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA19837
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 18 Dec 1999 16:36:10 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id NAA07947;
	Sat, 18 Dec 1999 13:35:47 -0800
To: Stephen Tell <tell@cs.unc.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Trouble building cassowary on HP
References: <Pine.GHP.4.10.9910281745560.13155-100000@rukbat.cs.unc.edu>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 18 Dec 1999 13:35:46 -0800
In-Reply-To: Stephen Tell's message of "Thu, 28 Oct 1999 18:03:43 -0400 (EDT)"
Message-ID: <qrryaasnd8t.fsf@clavicle.cs.washington.edu>
Lines: 42
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Stephen Tell <tell@cs.unc.edu> writes:

> I decided to try and see if I could build a "full" scwm with constraints
> on HP-UX.
> 
> GTL built and installed OK, and Cassowary's build and install proceded
> without error, using gcc/g++ 2.95.1

I've just released Cassowary-0.54a;  perhaps you could try it and see if
the same problem occurs.  I've tested it against g++-2.95.2.

http://www.cs.washington.edu/research/constraints/cassowary/

<snip>

> I tried running the cltests.scm in the guile directory, but it is unable to
> find the module:
> guile -s cltests.scm
> ERROR: no such module (cassowary constraints)

This I think I've fixed as well.

> 
> Also, I think the guile installation may be slightly wrong: 
> 
> configure.in sets cassoguiledir=$GUILE_PKGDATA_DIR/site/cassowary;
> Shouldn't this be based on guile's pkglibdir instead of pkgdatadir?
> pktlibdir is in $prefix/share, which is in fact shared across several
> architectures here.  Fine for scheme code, but that isn't going to work
> for shared libraries or other binaries.

I fixed this in 0.54, I hope.  Let me know if not.

> I guess for now I get to build Scwm-0.95.1 plain-vanilla once again.

Let me know what I can do to help getting 0.54a working with Scwm for
you.

Thanks, and sorry for my slow response.  I've been busy with papers and
with Guile hacking lately.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Dec 18 16:58:16 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id QAA20120
	for scwm-discuss-outgoing; Sat, 18 Dec 1999 16:58:16 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id QAA20117
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 18 Dec 1999 16:58:11 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id NAA10083;
	Sat, 18 Dec 1999 13:57:44 -0800
To: zhaoway <zhaoway7@990.net>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: SCWMDoc re-launched :-)
References: <87ln6s4ddd.fsf@sheila.i-did-not-set--mail-host-address--so-shoot-me>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 18 Dec 1999 13:57:44 -0800
In-Reply-To: zhaoway's message of "18 Dec 1999 20:55:42 +0800"
Message-ID: <qrrvh5voqsn.fsf@clavicle.cs.washington.edu>
Lines: 38
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

zhaoway <zhaoway7@990.net> writes:

> Hi, Jonas and Greg and all other Scwm users,
> 
> I'm happy to inform you that I have setup the new home-page for SCWMDoc at
> http://www.zhaoway.com/SCWMDoc/
> 
> SCWMDoc was launched by Jonas about one year ago. The effort is trying to
> provide new comers to Scwm an easy beginning by providing them Documents.
> 
> I am the new maintainer of SCWMDoc since Jonas resigned. Please send your
> comments, suggestions, and/or criticizes to me, not Jonas.

Couple quick comments:

Scwm now means "Scheme Constraints Window Manager", not configurable.
Almost no window manager is *not* configurable, so I changed the C to
mean Constraints also as an attempt to increase visibility of the
constraint features that Scwm provides.

Fig 1, the buttons are now named left-button-1, left-button-2, etc., and 
right-button-1, etc.  the old names are depracated.

Several hyphens an en-dashes are used when em-dashes should be used.

The def of Virtual Desktop on p. 4, sect 3 makes it seems like they are
synonymous with "Workplace", but the def of Workplace is different.

As a general comment, I'd like to see the document written in a less
chatty style.

Also, it'd be nice to reference the main Scwm site and the developers
(see the THANKS file).  Some screenshots would snazz it up quite a lot.

<snip>

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Dec 18 17:33:12 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA20288
	for scwm-discuss-outgoing; Sat, 18 Dec 1999 17:33:12 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from playground.lan (qmailr@skaro-2-129.mdm.mke.execpc.com [169.207.139.195])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with SMTP id RAA20285
	for <scwm-discuss@scwm.mit.edu>; Sat, 18 Dec 1999 17:32:39 -0500
Received: (qmail 532 invoked by uid 1000); 18 Dec 1999 22:31:05 -0000
Date: 18 Dec 1999 22:31:05 -0000
Message-ID: <19991218223105.531.qmail@playground.lan>
From: "A. P. Garcia" <apg@execpc.com>
To: gjb@cs.washington.edu, zhaoway7@990.net
Subject: Re: SCWMDoc re-launched :-)
Cc: scwm-discuss@scwm.mit.edu
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

no way


> Fig 1, the buttons are now named left-button-1, left-button-2, etc., and 
> right-button-1, etc.  the old names are depracated.
                                              ^
                                              ^
I know that spelling comments are hair-on-fire-evil in email discussions,
but I just can't get over the shock.  I never thought I would see the day
that Greg would do such a thing.

Truly ominous.  Maybe those millenium prophets are right...

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Dec 18 17:39:18 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA20341
	for scwm-discuss-outgoing; Sat, 18 Dec 1999 17:39:18 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA20337
	for <scwm-discuss@scwm.mit.edu>; Sat, 18 Dec 1999 17:39:12 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id OAA10695;
	Sat, 18 Dec 1999 14:39:00 -0800
To: "A. P. Garcia" <apg@execpc.com>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: SCWMDoc re-launched :-)
References: <19991218223105.531.qmail@playground.lan>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 18 Dec 1999 14:39:00 -0800
In-Reply-To: "A. P. Garcia"'s message of "18 Dec 1999 22:31:05 -0000"
Message-ID: <qrrhfhfoovv.fsf@clavicle.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"A. P. Garcia" <apg@execpc.com> writes:

> no way
> 
> 
> > Fig 1, the buttons are now named left-button-1, left-button-2, etc., and 
> > right-button-1, etc.  the old names are depracated.
>                                               ^
>                                               ^
> I know that spelling comments are hair-on-fire-evil in email discussions,
> but I just can't get over the shock.  I never thought I would see the day
> that Greg would do such a thing.

Ugh... I'm glad I don't read my own emails or I'd've been more appalled
than you are. :-)

> Truly ominous.  Maybe those millenium prophets are right...

:-)

I'll try to get back to my usual grammatically- and spelling-correct
self.  I definitely don't want to turn into Rasterman! :-)

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sat Dec 18 17:46:56 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA20526
	for scwm-discuss-outgoing; Sat, 18 Dec 1999 17:46:56 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA20523
	for <scwm-discuss@scwm.mit.edu>; Sat, 18 Dec 1999 17:46:52 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id OAA10774;
	Sat, 18 Dec 1999 14:46:42 -0800
To: scwm-discuss@scwm.mit.edu
Subject: Another paper
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 18 Dec 1999 14:46:42 -0800
Message-ID: <qrrbt7nooj1.fsf@clavicle.cs.washington.edu>
Lines: 26
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I just added a link to yet another paper about Scwm to our web page:

http://scwm.mit.edu/

This one I've submitted to CHI-2000 Conference on Human Factors in
Computing Systems.  It is predominantly the tale of a discount usability 
study on the constraints interface of Scwm.  Here is the abstract:

"Constraints are an important user interface technology.  We developed
Scwm as a testbed for exploring UIs for constraint-based layout. Its
constraint interface in- cludes a toolbar for adding relationships and
an \inves- tigator" for viewing and manipulating the constraints.  We
performed a discount usability study with six users and learned that our
interface was sucient for them to complete the tasks, but also
uncovered numerous us- ability issues. We have improved our interface
from that feedback and suggest more studies testing our other in-
teraction paradigms including constraint inference and
voice-recognition."

Of course, there are still the links to the Usenix and the AAAI papers
on Scwm.  The Usenix paper gives the most low level detail, the AAAI
paper gives the most information about intelligent window layout and
constraints.  Feedback is appreciated, as always.

Greg


From owner-scwm-discuss@SCWM.MIT.EDU  Sat Dec 18 21:50:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA20921
	for scwm-discuss-outgoing; Sat, 18 Dec 1999 21:50:44 -0500
Received: from 21stcentury.net (24-136-21-198.na.21stcentury.net [24.136.21.198])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA20918
	for <scwm-discuss@SCWM.MIT.EDU>; Sat, 18 Dec 1999 21:50:38 -0500
Received: (from exile@localhost)
	by 21stcentury.net (8.9.3/8.9.3) id UAA00612;
	Sat, 18 Dec 1999 20:31:25 -0500
X-Authentication-Warning: 21stcentury.net: exile set sender to exile@21stcentury.net using -f
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Preannouncement of Gwm-2.0
References: <199912061606.LAA20454@mail01.infonautics.com> <384C4882.522AA2B2@tech.com.au> <qrrk8mriq8e.fsf@clavicle.cs.washington.edu> <m2zovnd3qx.fsf@21stcentury.net> <qrr9037im08.fsf@clavicle.cs.washington.edu> <m2k8mr60h0.fsf@21stcentury.net> <qrraen8osua.fsf@clavicle.cs.washington.edu>
From: exile@21stcentury.net (exile)
Date: 18 Dec 1999 20:31:25 -0500
In-Reply-To: "Greg J. Badros"'s message of "18 Dec 1999 13:13:33 -0800"
Message-ID: <m2vh5vogwi.fsf@21stcentury.net>
Lines: 63
User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Greg J. Badros" <gjb@cs.washington.edu> writes:
}exile@21stcentury.net (exile) writes:
}
}<snip>
}
}>  I was thinking something like the customize buffer in emacs... I've
}>  not really tried the emacs mode you've already put together. Primarily
}>  because it didn't install as it was supposed to and I've not been able
}>  to find the damnable .el file. I just downloaded it again... we'll see
}>  what happens.
}
}Should be in utilities/emacs/scwm.el

 Mandrake... This time next week it should be Debian...  I was under the
 impression that the install script would stick it in with my system's
 .el files. I deleted the source directory.

 I did download the file again... I just dumped it in my home directory.
 :} Works fine. It's not exactly what I had in mind though. I was thinking
 something closer to the customize buffers emacs uses to set options. I've
 messed with things a bit since then... I'm not sure that would be practical.

}Remember, "find" is your friend; you could use:
}
}find . -name "*.el" -print

 I've looked... apparently I misunderstood but thank you.

}And please file a bug report (and ideally a patch) if you still have
}problems with Scwm.el.

 I wasn't sure if it was a bug or something I did wrong...
 I don't think I'd know how to write the patch.

}<snip>
}
}>  I'm using your window manager. I thought it was probably the best
}>  suited to "extend." I was thinking of tying it into some sort of
}>  knowledge base, speech synthesis, etc. Adding some interactive
}>  functions and so forth. I'm still learning scheme though so that
}>  may be in the future some. I do have a fairly nice theme started
}>  :} again... seeing as I'm still learnng this that's taking some time.
}
}Sounds interesting... we've got voice recognition now on platforms that
}support IBM's ViaVoice so this stuff might all integrate really nicely.
}Keep me posted, for sure.

 I saw that {:} After the fact}... I have via voice installed on my win
 partition. That makes life much easier. Looks like I'll have to keep the
 soundblaster installed or find out if it works with my PAS-16.

 :} The way it looks now... It may be some time before I'm able to
 contribute anything useful. I do have the theme I mentioned in the works
 though. It's slow going but it is going. Maybe I can scrape some textures
 together like faux leather, wood, steel, etc... That's the biggest part
 of the look of things. If you need any particular buttons, bars, levers,
 etc... let me know.

-- 
  {exile} - http://www.freespeech.org/apophysis {v6.1} - ICQ# 47439354

                                   "It is god's will that I inflame."
                                                           {exile}

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec 19 04:47:32 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id EAA24098
	for scwm-discuss-outgoing; Sun, 19 Dec 1999 04:47:32 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from seldon.dtek.chalmers.se (hFfRcelrlBB++ViepveYPXxt5IrCvmUY@seldon.dtek.chalmers.se [129.16.30.6])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id EAA24095
	for <scwm-discuss@scwm.mit.edu>; Sun, 19 Dec 1999 04:47:27 -0500
Received: from licia.dtek.chalmers.se (0d7Bcl7oyChN+UIfqM3v56KTYW8yVL8X@licia.dtek.chalmers.se [129.16.30.88])
	by seldon.dtek.chalmers.se (8.8.8/8.8.8) with ESMTP id KAA11022
	for <scwm-discuss@scwm.mit.edu>; Sun, 19 Dec 1999 10:47:13 +0100 (MET)
Received: (from d4jonas@localhost)
	by licia.dtek.chalmers.se (8.9.3/8.9.3) id KAA08029;
	Sun, 19 Dec 1999 10:47:12 +0100 (MET)
To: scwm-discuss@scwm.mit.edu
Subject: Re: [0.99.5.1] H-gradients not supported?
References: <wtniu22g4hq.fsf@licia.dtek.chalmers.se> <qrr4sdgosc2.fsf@clavicle.cs.washington.edu>
X-No-Archive: Yes
Mail-Copies-To: never
Organization: The Deciples of Albericht Nibelungen
From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Date: 19 Dec 1999 10:47:12 +0100
In-Reply-To: "Greg J. Badros"'s message of "18 Dec 1999 13:24:29 -0800"
Message-ID: <wtng0wznty7.fsf@licia.dtek.chalmers.se>
Lines: 67
User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Greg J. Badros" <gjb@cs.washington.edu> writes:

> Jonas Steverud <d4jonas@dtek.chalmers.se> writes:
[...]
> > I had the following in my .scwmrc for 0.8:
> > 
> > (with-decor js-common-decor
[...]
> > But 0.99.5.1 does not like that. Have I missed something?
> 
> What is the error?

Sorry for not adding it. Slipped my mind.

These are some old errormessages:
-------------8<---------------
scwm> (with-decor js-common-decor (title-style #:h-gradient (list 20 (list "navy blue" 20) "navyblue" "black")))

Backtrace:
0* (with-decor js-common-decor (title-style #:h-gradient (list 20 # ...)))
1  [call-with-decor #<decor 135119944> #<procedure ()>]
   ...
2  [dynamic-wind #<procedure ()> #<procedure ()> ...]
3* [#<procedure ()>]
4* [title-style #:h-gradient (20 ("navy blue" 20) "navyblue" ...)]
5  (begin (let* (# #) (let* # "Set the title style in the current decor.
FONT is the window title font, a font object or a string.

[documentation snipped...]

current state, and returning everything else about the title
to their default state." ...)))
   ...
6  [set-title-face! ...
7*  [make-face () ((gradient #))]

/usr//share/scwm-modules/app/scwm/face.scm:201:26: In procedure make-face in expression (make-face all-flags all-specs):
/usr//share/scwm-modules/app/scwm/face.scm:201:26: Wrong type argument in position 1: #f

-------------8<---------------

-------------8<---------------
/usr/bin/X11/convert: No such file or directory
/usr/bin/X11/convert: No such file or directory
[Scwm][nocolor]: <<ERROR>> can't alloc color color gradient navyblue to black
-------------8<---------------

When I got them I do not know for 100 % since they are old. But they
are the reason I removed h-gradients from my .scwmrc.

> (use-scwm-modules decor)
> 
> before trying the above?  

Yes. Trying to use decore.scwmrc as .scwmrc (and modifying the
path variables) crashes SCWM when I switch to someone using
h-grads. Don't have a trace yet.

> Can you give me a minimal (or at least really small) .scwmrc that
> reproduces the problem?

This was just a small and short answer. I'll get back to you on this
after the holidays.

-- 
(   GPG/PGP key   @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec 19 05:37:26 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA24263
	for scwm-discuss-outgoing; Sun, 19 Dec 1999 05:37:26 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from zappa. (ppphost1.aus.compgen.com [203.43.78.90] (may be forged))
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA24259
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 19 Dec 1999 05:37:19 -0500
Received: (from ggt@localhost)
	by zappa. (8.9.3/8.9.3) id VAA00630;
	Sun, 19 Dec 1999 21:30:46 +1100
Date: Sun, 19 Dec 1999 21:30:46 +1100
From: Glenn Trigg <ggt@netspace.net.au>
Message-Id: <199912191030.VAA00630@zappa.>
X-Mailer: Privtool [V0.90 Beta GT010] (i586-pc-linux-gnu/Gtk+)
Reply-To: ggt@linuxfan.com
Subject: 'nother stack trace
To: gjb@cs.washington.edu
Cc: scwm-discuss@SCWM.MIT.EDU
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

This one seems to be a bit different from the others of late.

(and just to let you know the crashing is still quite regular for me :-)

Glenn

#0  0x401ea311 in ?? () from /lib/libc.so.6
#1  0x401eb58c in ?? () from /lib/libc.so.6
#2  0x4018fd6d in scm_ithrow (key=1076906224, args=1081323632, noreturn=1)
    at throw.c:722
#3  0x401357dc in scm_error (key=1076906224, subr=0x0, 
    message=0x401a0528 <Address 0x401a0528 out of bounds>, args=1081323648, 
    rest=8564) at error.c:78
#4  0x40135d38 in scm_misc_error (subr=0x0, 
    message=0x401a0528 <Address 0x401a0528 out of bounds>, args=1081323648)
    at error.c:240
#5  0x40135d96 in scm_wta (arg=17, 
    pos=0x401a0528 <Address 0x401a0528 out of bounds>, s_subr=0x0)
    at error.c:255
#6  0x4014beb6 in scm_gc_mark (p=17) at gc.c:612
#7  0x80803f3 in mark_window ()

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec 19 05:37:25 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id FAA24262
	for scwm-discuss-outgoing; Sun, 19 Dec 1999 05:37:25 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from zappa. (ppphost1.aus.compgen.com [203.43.78.90] (may be forged))
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id FAA24256
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 19 Dec 1999 05:37:13 -0500
Received: (from ggt@localhost)
	by zappa. (8.9.3/8.9.3) id VAA00621;
	Sun, 19 Dec 1999 21:15:44 +1100
Date: Sun, 19 Dec 1999 21:15:44 +1100
From: Glenn Trigg <ggt@netspace.net.au>
Message-Id: <199912191015.VAA00621@zappa.>
X-Mailer: Privtool [V0.90 Beta GT010] (i586-pc-linux-gnu/Gtk+)
Reply-To: ggt@linuxfan.com
Subject: background colo[u]r
To: gjb@cs.washington.edu
Cc: scwm-discuss@SCWM.MIT.EDU
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

G'day,

Has set-background-color! disappeared? I can't seem to find it anywhere &
scwm-apropos doesn't show it.

Glenn

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec 19 12:35:00 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA24757
	for scwm-discuss-outgoing; Sun, 19 Dec 1999 12:35:00 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA24754
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 19 Dec 1999 12:34:54 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id JAA05071;
	Sun, 19 Dec 1999 09:34:38 -0800
To: ggt@linuxfan.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: background colo[u]r
References: <199912191015.VAA00621@zappa.>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 19 Dec 1999 09:34:38 -0800
In-Reply-To: Glenn Trigg's message of "Sun, 19 Dec 1999 21:15:44 +1100"
Message-ID: <qrrn1r6n8b5.fsf@clavicle.cs.washington.edu>
Lines: 10
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Glenn Trigg <ggt@netspace.net.au> writes:

> G'day,
> 
> Has set-background-color! disappeared? I can't seem to find it anywhere &
> scwm-apropos doesn't show it.

Try apropos on just "background" -- I think it's set-window-background!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec 19 12:36:15 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA24770
	for scwm-discuss-outgoing; Sun, 19 Dec 1999 12:36:15 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA24767
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 19 Dec 1999 12:35:56 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id JAA05077;
	Sun, 19 Dec 1999 09:35:41 -0800
To: ggt@linuxfan.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: 'nother stack trace
References: <199912191030.VAA00630@zappa.>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 19 Dec 1999 09:35:41 -0800
In-Reply-To: Glenn Trigg's message of "Sun, 19 Dec 1999 21:30:46 +1100"
Message-ID: <qrrk8man89e.fsf@clavicle.cs.washington.edu>
Lines: 12
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Glenn Trigg <ggt@netspace.net.au> writes:

> This one seems to be a bit different from the others of late.
> 
> (and just to let you know the crashing is still quite regular for me :-)

Have you tried the patch to the guile GC that Greg Harvey posted?
Things are better for me, but then again, my usage pattern changed
pretty dramatically during the period I was seeing lots of crashes (I
was doing some usability tests).

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec 19 15:22:08 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA25153
	for scwm-discuss-outgoing; Sun, 19 Dec 1999 15:22:08 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from zappa. (root@dialup-t1-54.Melbourne.netspace.net.au [210.15.250.54])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA25150
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 19 Dec 1999 15:22:01 -0500
Received: (from ggt@localhost)
	by zappa. (8.9.3/8.9.3) id HAA00293;
	Mon, 20 Dec 1999 07:20:06 +1100
Date: Mon, 20 Dec 1999 07:20:06 +1100
From: Glenn Trigg <ggt@netspace.net.au>
Message-Id: <199912192020.HAA00293@zappa.>
X-Mailer: Privtool [V0.90 Beta GT010] (i586-pc-linux-gnu/Gtk+)
In-Reply-To: <qrrn1r6n8b5.fsf@clavicle.cs.washington.edu> from ""Greg J. Badros" <gjb@cs.washington.edu>"
Reply-To: ggt@linuxfan.com
Subject: Re: background colo[u]r
To: gjb@cs.washington.edu
Cc: scwm-discuss@SCWM.MIT.EDU
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Greg J. Badros" <gjb@cs.washington.edu> said :

> Glenn Trigg <ggt@netspace.net.au> writes:
> 
> > G'day,
> > 
> > Has set-background-color! disappeared? I can't seem to find it anywhere &
> > scwm-apropos doesn't show it.
> 
> Try apropos on just "background" -- I think it's set-window-background!

But that is just for a window's background color, I'm talking about the root
background color.

desk-background.scm seems to be still trying to use set-background-color!
and also system.scwmrc.

Glenn

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec 19 15:26:59 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA25231
	for scwm-discuss-outgoing; Sun, 19 Dec 1999 15:26:59 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA25228
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 19 Dec 1999 15:26:56 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id MAA20500;
	Sun, 19 Dec 1999 12:26:44 -0800
To: ggt@linuxfan.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: background colo[u]r
References: <199912192020.HAA00293@zappa.>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 19 Dec 1999 12:26:44 -0800
In-Reply-To: Glenn Trigg's message of "Mon, 20 Dec 1999 07:20:06 +1100"
Message-ID: <qrr1z8in0cb.fsf@clavicle.cs.washington.edu>
Lines: 28
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Glenn Trigg <ggt@netspace.net.au> writes:

> "Greg J. Badros" <gjb@cs.washington.edu> said :
> 
> > Glenn Trigg <ggt@netspace.net.au> writes:
> > 
> > > G'day,
> > > 
> > > Has set-background-color! disappeared? I can't seem to find it anywhere &
> > > scwm-apropos doesn't show it.
> > 
> > Try apropos on just "background" -- I think it's set-window-background!
> 
> But that is just for a window's background color, I'm talking about the root
> background color.
> 
> desk-background.scm seems to be still trying to use set-background-color!
> and also system.scwmrc.

Oh, that one.

It's defined in modules/background -- my background.x file registers the 
procedure, but for some reason it's not getting into background.doc (but 
generating scwm.sgml still ignores them, I believe, so that shouldn't
matter.  Just double check  that that directory was built and installed
cleanly.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec 19 15:59:38 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA25441
	for scwm-discuss-outgoing; Sun, 19 Dec 1999 15:59:38 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from hecky.acns.nwu.edu (hecky.acns.nwu.edu [129.105.16.51])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA25438
	for <scwm-discuss@scwm.mit.edu>; Sun, 19 Dec 1999 15:59:33 -0500
Received: (from mailnull@localhost)
	by hecky.acns.nwu.edu (8.8.7/8.8.7) id OAA09054
	for <scwm-discuss@scwm.mit.edu>; Sun, 19 Dec 1999 14:59:22 -0600 (CST)
Received: from milwaukee (coconut028028.nuts.nwu.edu [165.124.28.28]) by hecky.acns.nwu.edu via smap (V2.0)
	id xma009035; Sun, 19 Dec 99 14:59:17 -0600
Received: from david by milwaukee with local (Exim 3.11 #1 (Debian))
	id 11znR0-0004Wx-00
	for <scwm-discuss@scwm.mit.edu>; Sun, 19 Dec 1999 15:00:06 -0600
Date: Sun, 19 Dec 1999 15:00:06 -0600
From: "David J. Kanter" <djkanter@nwu.edu>
To: Scwm listserv <scwm-discuss@scwm.mit.edu>
Subject: Is Debian's unstable scwm terribly broken...
Message-ID: <19991219150006.A16844@milwaukee>
Mail-Followup-To: Scwm listserv <scwm-discuss@scwm.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
X-Organization: Northwestern University
X-Operating-System: Linux milwaukee 2.2.13
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

...or is it me? Granted, I'm totally new to scwm, but when trying to run
the GUI-based options, I get nothing. Whether I run it from the menu, or
type scwm-conf, I get nothing.

Here's the output from my .SCWM-errors file (after running startscwm). This
is the Debian Potato package "out of the box". Sorry for the length:

Exec-ing wm as scwm

[Scwm][make-image]: <<WARNING>> Image file was not found: `scwm-logo-0.xpm'

;;; WARNING (no code for module gtk)

;;; WARNING (no code for module gdk)
ERROR: In procedure scm_fport_buffer_add:
ERROR: Bad file descriptor
[Scwm][bind-key]: <<WARNING>> Unbound modifier H-
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-r'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-A-M-C-d'
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-2
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-3
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-1
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-S-1
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-A-1
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-S-2
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-M-3
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-S-KP_4'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-S-KP_2'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-S-KP_8'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-S-KP_6'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-z'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_7'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_8'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_9'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_4'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_5'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_6'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_1'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_2'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_3'
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for C-A-H-1
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for C-A-H-3
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-4
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-C-4
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-M-4
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-5
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-C-5
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-M-5
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-q'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-m'
sh: /home/david/.xclients: No such file or directory
ERROR: Unbound variable: vertical-toggle-maximize

ERROR: Unbound variable: menu-window-move

ERROR: Unbound variable: describe-key

ERROR: Unbound variable: describe-mouse

ERROR: Unbound variable: window-task-switcher-menu

ERROR: Unbound variable: window-task-switcher-menu-backwards

ERROR: Unbound variable: popup-applications

ERROR: Unbound variable: popup-applications

ERROR: Unbound variable: popup-utilities

ERROR: Unbound variable: popup-multimedia

ERROR: Unbound variable: vertical-toggle-maximize

ERROR: Unbound variable: horizontal-toggle-maximize

ERROR: Unbound variable: both-toggle-maximize

ERROR: Unbound variable: show-icon-list-menu

ERROR: Unbound variable: load-preferences

ERROR: uninterned symbol? 

ERROR: Unbound variable: show-window-list-menu

scwmmessages:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"

-- 
David J. Kanter
djkanter@nwu.edu

"Humans have an innate tendency to attribute significance to anomalies
and coincidences."
  -- John Allen Paulos, mathematics professor at Temple University

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec 19 21:36:05 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id VAA25902
	for scwm-discuss-outgoing; Sun, 19 Dec 1999 21:36:05 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from pub.jlonline.com ([202.102.24.9])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id VAA25899
	for <scwm-discuss@scwm.mit.edu>; Sun, 19 Dec 1999 21:35:12 -0500
Received: from sheila ([202.102.65.141]) by pub.jlonline.com
          (Netscape Messaging Server 4.05) with ESMTP id FN0PYD00.X96;
          Mon, 20 Dec 1999 10:37:25 +0800 
Received: from zw by sheila with local (Exim 2.05 #1 (Debian))
	id 1202uk-0000EJ-00; Mon, 20 Dec 1999 21:31:50 +0800
To: "David J. Kanter" <djkanter@nwu.edu>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Is Debian's unstable scwm terribly broken...
References: <19991219150006.A16844@milwaukee>
From: zhaoway <zhaoway7@990.net>
Date: 20 Dec 1999 21:31:50 +0800
In-Reply-To: "David J. Kanter"'s message of "Sun, 19 Dec 1999 15:00:06 -0600"
Message-ID: <87902pbuwp.fsf@sheila.i-did-not-set--mail-host-address--so-shoot-me>
Lines: 49
User-Agent: Gnus/5.070099 (Pterodactyl Gnus v0.99) XEmacs/21.1 (Bryce Canyon)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> "DJK" == David J Kanter <djkanter@nwu.edu> writes:

    DJK> Here's the output from my .SCWM-errors file (after running
    DJK> startscwm). This is the Debian Potato package "out of the
    DJK> box". Sorry for the length:

    [snip]

    DJK> [Scwm][make-image]: <<WARNING>> Image file was not found:
    DJK> `scwm-logo-0.xpm'

you have to get the scwm-icons package, i forget if there is one in potato,
the scwm-icons on my potato :-) was packaged by myself. and cassowary and
GTL. :-) (Seems that debian folks didn't package the cassowary and the GTL?
License problem? dunno.) the scwm.deb in potato, when compiling, let the
cassowary et al. being disabled(?)

    DJK> ;;; WARNING (no code for module gtk)
    DJK> ;;; WARNING (no code for module gdk) ERROR: In procedure
    DJK> scm_fport_buffer_add: ERROR: Bad file descriptor

yup, i got the same error. dunno why. i simply disabled the related module.
:-) Hope somebody could clarify me. :-)

    DJK> [Scwm][bind-key]: <<WARNING>> Unbound modifier H-
    DJK> [Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-r'
    DJK> [Scwm][bind-key]: <<WARNING>> Ignoring key binding

    [snip]

Oh... :-) the miserable ``H'' is a Hyper(?) key on Sun's keyboard. Guess most
i386/PC don't have this. :-) the i386-specific debian package should disable
this. file out a bug report against it? :-) Quick fix is to edit your .scwmrc
to commented out those ``H'' :-)

    [snip]

Oh, here is another problem towards the ``startscwm'' script. Greg, :-)

I use .Xmodmap to switch my Ctrl and Caps-Lock. when I use startx to start,
the switch is done. but when i use startscwm to start the whole stuff, the
switch is done twice(?), i.e. not done. :-) If i comment out the section
in startscwm processing .Xmodmap, then all is OK. Guess it should be commented
out? :-)


-- 
zhaoway 
Wu-Wei-Wu: http://www.zhaoway.com/

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec 20 00:04:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA26120
	for scwm-discuss-outgoing; Mon, 20 Dec 1999 00:04:58 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from pub.jlonline.com ([202.102.24.9])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA26117
	for <scwm-discuss@scwm.mit.edu>; Mon, 20 Dec 1999 00:04:48 -0500
Received: from sheila ([202.102.65.131]) by pub.jlonline.com
          (Netscape Messaging Server 4.05) with ESMTP id FN0WV800.PAU for
          <scwm-discuss@scwm.mit.edu>; Mon, 20 Dec 1999 13:06:44 +0800 
Received: from zw by sheila with local (Exim 2.05 #1 (Debian))
	id 1205Kz-0000Ft-00; Tue, 21 Dec 1999 00:07:05 +0800
To: scwm-discuss@scwm.mit.edu
Subject: Re: SCWMDoc re-launched :-)
References: <87ln6s4ddd.fsf@sheila.i-did-not-set--mail-host-address--so-shoot-me> <qrrvh5voqsn.fsf@clavicle.cs.washington.edu>
From: zhaoway <zhaoway7@990.net>
Date: 21 Dec 1999 00:07:04 +0800
In-Reply-To: "Greg J. Badros"'s message of "18 Dec 1999 13:57:44 -0800"
Message-ID: <87d7s1a95j.fsf@sheila.i-did-not-set--mail-host-address--so-shoot-me>
Lines: 74
User-Agent: Gnus/5.070099 (Pterodactyl Gnus v0.99) XEmacs/21.1 (Bryce Canyon)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> "gjb" == Greg J Badros <gjb@cs.washington.edu> writes:

    gjb> Couple quick comments:

Thanks! :-)

    gjb> Scwm now means "Scheme Constraints Window Manager", not
    gjb> configurable.  Almost no window manager is *not*
    gjb> configurable, so I changed the C to mean Constraints also as
    gjb> an attempt to increase visibility of the constraint features
    gjb> that Scwm provides.

OK. I know. Though I myself are not very familiar with Constraints. :-)
I played with it few times after I packaged cassowary and GTL (for debian.
no, I'm not a debian member.) Now, I'm busy upgrading my slink to potato.
thru telephone line. terrible! :-)

    gjb> Fig 1, the buttons are now named left-button-1,
    gjb> left-button-2, etc., and right-button-1, etc.  the old names
    gjb> are depracated.

I will fix it during this week, and hopefully add some more text to
SCWMDoc. :-)

    gjb> Several hyphens an en-dashes are used when em-dashes should
    gjb> be used.

I will check it. Sorry for the rough setup. :-)

    gjb> The def of Virtual Desktop on p. 4, sect 3 makes it seems
    gjb> like they are synonymous with "Workplace", but the def of
    gjb> Workplace is different.

I noticed it. But, :-)
I will correct this later this week. hmmm, can someone give me a clear
def for Workplace. I have to admit that I'm not quite familiar with it.

There're different Desktops. Lota wm support that. like enlightenment.
It's a rectangular. and your mouse can not cross the bar of them.

There're virtual desktops. In the default config of scwm, i can C-S-M-Up/
Down/Right/Left to move into that 3x3 virtual desktops in one ``real''
desktop. And that the VD in Scwm doesn't need the X to support that. :-)
I like VD very much, while quite a lot of my mates here hate it. :-) I mean
the VD from your /etc/X11/XF86Config screen section. (Some X server support
that feature, while some do not.) I.e. a Virtual Desktop is a rectangular
where your mouse could jump the bar between 'em. Some WM get this feature
from the config of X itself. some support it from within. :-)

I think that those KDE-alike desktop one/two/three/... is just Desktops.
There's no real Virtual Desktop in KDE alone. I.e. kwm.

I used blackbox only a very short time. There i got the word Workplace(?).
But i don't know what's the difference from the definition of Desktop.
from the mouse-point-of-view.

Please someone clarify/correct me. (I'm stupid. :-)

    gjb> As a general comment, I'd like to see the document written in
    gjb> a less chatty style.

Oh? :-) I will try my best. But, maybe you've already noticed that I like
``:-)'' :-), OK, i will try my best.

    gjb> Also, it'd be nice to reference the main Scwm site and the
    gjb> developers (see the THANKS file).  Some screenshots would
    gjb> snazz it up quite a lot.

Sure. definitely. I will rewrite the THANKS section of SCWMDoc. :-)
And collect those amazing Screenshots. :-) And the links section. :-)

-- 
zhaoway 
Wu-Wei-Wu: http://www.zhaoway.com/

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec 20 00:07:33 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA26149
	for scwm-discuss-outgoing; Mon, 20 Dec 1999 00:07:33 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from news.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA26144
	for <scwm-discuss@scwm.mit.edu>; Mon, 20 Dec 1999 00:07:18 -0500
Received: from mizar (r3p020.ntt.it [194.75.44.20]) by news.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id GAA18682 for <scwm-discuss@scwm.mit.edu>; Mon, 20 Dec 1999 06:07:31 +0100 (NFT)
Received: from cesco by mizar with local (Exim 3.03 #1 (Debian))
	id 11zoJV-0000Jj-00
	for <scwm-discuss@scwm.mit.edu>; Sun, 19 Dec 1999 22:56:25 +0100
Date: Sun, 19 Dec 1999 22:56:24 +0100
From: Francesco Tapparo <cesco@ntt.it>
To: Scwm listserv <scwm-discuss@scwm.mit.edu>
Subject: Re: Is Debian's unstable scwm terribly broken...
Message-ID: <19991219225624.A1165@ntt.it>
Reply-To: cesco@debian.org
Mail-Followup-To: Scwm listserv <scwm-discuss@scwm.mit.edu>
References: <19991219150006.A16844@milwaukee>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
In-Reply-To: <19991219150006.A16844@milwaukee>; from djkanter@nwu.edu on Sun, Dec 19, 1999 at 03:00:06PM -0600
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Sun, Dec 19, 1999 at 03:00:06PM -0600, David J. Kanter wrote:
> ...or is it me?

No, it's a bug in my package.
My package works, but there is some bug exposed by your configuration.

> Granted, I'm totally new to scwm, but when trying to run
> the GUI-based options, I get nothing. Whether I run it from the menu, or
> type scwm-conf, I get nothing.
> 
> Here's the output from my .SCWM-errors file (after running startscwm). This
> is the Debian Potato package "out of the box". Sorry for the length:
> 
> Exec-ing wm as scwm
> 
> [Scwm][make-image]: <<WARNING>> Image file was not found: `scwm-logo-0.xpm'
> 
> ;;; WARNING (no code for module gtk)
> 
> ;;; WARNING (no code for module gdk)

Do you have libguilegtk0 installed? what version? 

> ERROR: In procedure scm_fport_buffer_add:
> ERROR: Bad file descriptor

This is bad.

> [Scwm][bind-key]: <<WARNING>> Unbound modifier H-
[snipped]
these are harmless

> sh: /home/david/.xclients: No such file or directory

harmless

> ERROR: Unbound variable: vertical-toggle-maximize

Hmm

> 
> ERROR: Unbound variable: menu-window-move

I think these are only an effect of previous problems

> ERROR: Unbound variable: show-window-list-menu
> 
> scwmmessages:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"

can you please file a bug against scwm?

> 
> -- 
> David J. Kanter
> djkanter@nwu.edu
> 
> "Humans have an innate tendency to attribute significance to anomalies
> and coincidences."
>   -- John Allen Paulos, mathematics professor at Temple University
> 

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec 20 06:25:53 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id GAA29297
	for scwm-discuss-outgoing; Mon, 20 Dec 1999 06:25:53 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from zappa. (ppphost1.aus.compgen.com [203.43.78.90])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id GAA29294
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 20 Dec 1999 06:25:46 -0500
Received: (from ggt@localhost)
	by zappa. (8.9.3/8.9.3) id WAA01879;
	Mon, 20 Dec 1999 22:23:30 +1100
Date: Mon, 20 Dec 1999 22:23:30 +1100
From: Glenn Trigg <ggt@netspace.net.au>
Message-Id: <199912201123.WAA01879@zappa.>
X-Mailer: Privtool [V0.90 Beta GT010] (i586-pc-linux-gnu/Gtk+)
In-Reply-To: <qrr1z8in0cb.fsf@clavicle.cs.washington.edu> from ""Greg J. Badros" <gjb@cs.washington.edu>"
Reply-To: ggt@linuxfan.com
Subject: Re: background colo[u]r
To: gjb@cs.washington.edu
Cc: scwm-discuss@SCWM.MIT.EDU
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

"Greg J. Badros" <gjb@cs.washington.edu> said :

> It's defined in modules/background -- my background.x file registers the 
> procedure, but for some reason it's not getting into background.doc (but 
> generating scwm.sgml still ignores them, I believe, so that shouldn't
> matter.  Just double check  that that directory was built and installed
> cleanly.

Yep. I think I see where the problem is happening now. It seems to related
to the wrapper script I wrote for running the debuggable version of scwm &
guile and to save the core files automatically. Somehow the module libraries
don't seem to be picked up. Can anyone point out what is wrong with this
script? ...

#!/bin/zsh

# Set the environment suitable for debugging non-installed components of scwm
# and guile.

limit coredumpsize 8M

export GUILE_LOAD_PATH=${HOME}/src/guile-1.3.4
export SCWM_LOAD_PATH=${HOME}/src/scwm:${HOME}/src/scwm/lib

export LD_LIBRARY_PATH=${GUILE_LOAD_PATH}/libguile/.libs:${GUILE_LOAD_PATH}/qt/.libs

cnt=0

until $HOME/src/scwm/src/scwm --segv-just-stop; do
  if [[ -e core ]]; then
    echo 'Moving core.'
    mv core $HOME/src/scwm/core.$$.$cnt
    ((cnt++))
  fi
  echo 'Restarting scwm.'
done

Regards,

Glenn

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec 20 12:52:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA29691
	for scwm-discuss-outgoing; Mon, 20 Dec 1999 12:52:44 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA29688
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 20 Dec 1999 12:52:39 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id JAA22079;
	Mon, 20 Dec 1999 09:52:26 -0800
To: ggt@linuxfan.com
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: background colo[u]r
References: <199912201123.WAA01879@zappa.>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 20 Dec 1999 09:52:26 -0800
In-Reply-To: Glenn Trigg's message of "Mon, 20 Dec 1999 22:23:30 +1100"
Message-ID: <qrrhfhdlcth.fsf@clavicle.cs.washington.edu>
Lines: 31
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Glenn Trigg <ggt@netspace.net.au> writes:

> "Greg J. Badros" <gjb@cs.washington.edu> said :
> 
> > It's defined in modules/background -- my background.x file registers the 
> > procedure, but for some reason it's not getting into background.doc (but 
> > generating scwm.sgml still ignores them, I believe, so that shouldn't
> > matter.  Just double check  that that directory was built and installed
> > cleanly.
> 
> Yep. I think I see where the problem is happening now. It seems to related
> to the wrapper script I wrote for running the debuggable version of scwm &
> guile and to save the core files automatically. Somehow the module libraries
> don't seem to be picked up. Can anyone point out what is wrong with this
> script? ...
> 
> #!/bin/zsh
> 
> # Set the environment suitable for debugging non-installed components of scwm
> # and guile.
> 
> limit coredumpsize 8M
> 
> export GUILE_LOAD_PATH=${HOME}/src/guile-1.3.4
> export SCWM_LOAD_PATH=${HOME}/src/scwm:${HOME}/src/scwm/lib

I use the $HOME/scwm/modules directory in my SCWM_LOAD_PATH and run the
make-devtest script in that directory to get my modules somewhere that
an un-installed Scwm binary will find them.

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec 20 17:38:30 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA30294
	for scwm-discuss-outgoing; Mon, 20 Dec 1999 17:38:30 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from news.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA30291
	for <scwm-discuss@scwm.mit.edu>; Mon, 20 Dec 1999 17:38:17 -0500
Received: from mizar (r2p008.ntt.it [194.73.94.136]) by news.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id XAA33036 for <scwm-discuss@scwm.mit.edu>; Mon, 20 Dec 1999 23:38:31 +0100 (NFT)
Received: from cesco by mizar with local (Exim 3.03 #1 (Debian))
	id 120BTd-0000OV-00
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 20 Dec 1999 23:40:25 +0100
Date: Mon, 20 Dec 1999 23:40:25 +0100
From: Francesco Tapparo <cesco@ntt.it>
To: scwm-discuss@scwm.mit.edu
Subject: Re: Is Debian's unstable scwm terribly broken...
Message-ID: <19991220234025.B1247@ntt.it>
Reply-To: cesco@debian.org
Mail-Followup-To: scwm-discuss@SCWM.MIT.EDU
References: <19991219150006.A16844@milwaukee> <87902pbuwp.fsf@sheila.i-did-not-set--mail-host-address--so-shoot-me>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
In-Reply-To: <87902pbuwp.fsf@sheila.i-did-not-set--mail-host-address--so-shoot-me>; from zhaoway7@990.net on Mon, Dec 20, 1999 at 09:31:50PM +0800
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Mon, Dec 20, 1999 at 09:31:50PM +0800, zhaoway wrote:
> >>>>> "DJK" == David J Kanter <djkanter@nwu.edu> writes:
> 
>     DJK> Here's the output from my .SCWM-errors file (after running
>     DJK> startscwm). This is the Debian Potato package "out of the
>     DJK> box". Sorry for the length:
> 
>     [snip]
> 
>     DJK> [Scwm][make-image]: <<WARNING>> Image file was not found:
>     DJK> `scwm-logo-0.xpm'
> 
> you have to get the scwm-icons package, i forget if there is one in potato,
> the scwm-icons on my potato :-) was packaged by myself.

the needed icons are included in scwm*deb. 
The scwm-logo-* are too big to justify its inclusion in the package, IMHO.

> and cassowary and
> GTL. :-) (Seems that debian folks didn't package the cassowary and the GTL?
> License problem? dunno.)

Yes, license problems: cassawary has proprietary restrictions.

> the scwm.deb in potato, when compiling, let the
> cassowary et al. being disabled(?)
> 
>     DJK> ;;; WARNING (no code for module gtk)
>     DJK> ;;; WARNING (no code for module gdk) ERROR: In procedure
>     DJK> scm_fport_buffer_add: ERROR: Bad file descriptor
> 
> yup, i got the same error. dunno why. i simply disabled the related module.
> :-) Hope somebody could clarify me. :-)

I suspect you have not libguilegtk0 installed. I suspect this is a bug in
scwm*deb (it should depends from it).

On a more general note: if someone see someone strange in my package, please
file a bug against it. A stock potato scwm _must_ work if you have respected
all the dependencies, otherwise my package has a bug.
Please help me to make a good debian package for Debian 2.2.

> 
>     DJK> [Scwm][bind-key]: <<WARNING>> Unbound modifier H-
>     DJK> [Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-r'
>     DJK> [Scwm][bind-key]: <<WARNING>> Ignoring key binding
> 
>     [snip]
> 
> Oh... :-) the miserable ``H'' is a Hyper(?) key on Sun's keyboard. Guess most
> i386/PC don't have this. :-) the i386-specific debian package should disable
> this. file out a bug report against it? :-) Quick fix is to edit your .scwmrc
> to commented out those ``H'' :-)

Perhaps a solution would be to susbitute the modifiers string (as "H-w") with
something as (hypher "-w"), so I could redefine hypher if Hypher is not bound.
What do you think about it, Greg? Is this a clean solution?

> 
>     [snip]
> 
> Oh, here is another problem towards the ``startscwm'' script. Greg, :-)
> 
> I use .Xmodmap to switch my Ctrl and Caps-Lock. when I use startx to start,
> the switch is done. but when i use startscwm to start the whole stuff, the
> switch is done twice(?), i.e. not done. :-) If i comment out the section
> in startscwm processing .Xmodmap, then all is OK. Guess it should be commented
> out? :-)
> 
> 
> -- 
> zhaoway 
> Wu-Wei-Wu: http://www.zhaoway.com/
> 

-- 
Francesco Tapparo			       
scwm maintainer for Debian

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec 20 18:07:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA30458
	for scwm-discuss-outgoing; Mon, 20 Dec 1999 18:07:58 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA30455
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 20 Dec 1999 18:07:49 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id PAA24074;
	Mon, 20 Dec 1999 15:07:24 -0800
To: cesco@debian.org
Cc: scwm-discuss@SCWM.MIT.EDU
Subject: Re: Is Debian's unstable scwm terribly broken...
References: <19991219150006.A16844@milwaukee> <87902pbuwp.fsf@sheila.i-did-not-set--mail-host-address--so-shoot-me> <19991220234025.B1247@ntt.it>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 20 Dec 1999 15:07:24 -0800
In-Reply-To: Francesco Tapparo's message of "Mon, 20 Dec 1999 23:40:25 +0100"
Message-ID: <qrrso0xmcsz.fsf@clavicle.cs.washington.edu>
Lines: 24
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

Francesco Tapparo <cesco@ntt.it> writes:

<snip>

> the needed icons are included in scwm*deb. 
> The scwm-logo-* are too big to justify its inclusion in the package, IMHO.

I've been meaning to make a smaller dozen of these images so that they'd 
not be so big.

<snip>

> Perhaps a solution would be to susbitute the modifiers string (as "H-w") with
> something as (hypher "-w"), so I could redefine hypher if Hypher is not bound.
> What do you think about it, Greg? Is this a clean solution?

I'll update system.scwmrc to do something pretty close to this.  I won't 
have time to make it nice until the holidays.  I'll commit the quick
version of the change shortly.

<snip>

Thanks,
Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec 20 19:57:14 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id TAA30765
	for scwm-discuss-outgoing; Mon, 20 Dec 1999 19:57:14 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from hecky.acns.nwu.edu (hecky.acns.nwu.edu [129.105.16.51])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id TAA30762
	for <scwm-discuss@scwm.mit.edu>; Mon, 20 Dec 1999 19:57:11 -0500
Received: (from mailnull@localhost)
	by hecky.acns.nwu.edu (8.8.7/8.8.7) id SAA01186
	for <scwm-discuss@scwm.mit.edu>; Mon, 20 Dec 1999 18:57:01 -0600 (CST)
Received: from milwaukee (areca028095.nuts.nwu.edu [165.124.28.95]) by hecky.acns.nwu.edu via smap (V2.0)
	id xma001159; Mon, 20 Dec 99 18:56:44 -0600
Received: from david by milwaukee with local (Exim 3.11 #1 (Debian))
	id 120DcD-00061d-00
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 20 Dec 1999 18:57:25 -0600
Date: Mon, 20 Dec 1999 18:57:25 -0600
From: "David J. Kanter" <djkanter@nwu.edu>
To: Scwm listserv <scwm-discuss@scwm.mit.edu>
Subject: Re: Is Debian's unstable scwm terribly broken...
Message-ID: <19991220185725.A21553@milwaukee>
Mail-Followup-To: Scwm listserv <scwm-discuss@SCWM.MIT.EDU>
References: <19991219150006.A16844@milwaukee> <19991219225624.A1165@ntt.it>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
In-Reply-To: <19991219225624.A1165@ntt.it>; from cesco@ntt.it on Sun, Dec 19, 1999 at 10:56:24PM +0100
X-Organization: Northwestern University
X-Operating-System: Linux milwaukee 2.2.13
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Sun, Dec 19, 1999 at 10:56:24PM +0100, Francesco Tapparo wrote:
> Do you have libguilegtk0 installed? what version? 

Nope. Apparently it wasn't dowloaded when I ran apt-get install scwm. The
version listed today is 1.0.1.cvs.1. I'll check it out.

> can you please file a bug against scwm?

Sure. I'll check out how to do it.

-- 
David J. Kanter
djkanter@nwu.edu

"Humans have an innate tendency to attribute significance to anomalies
and coincidences."
  -- John Allen Paulos, mathematics professor at Temple University

From owner-scwm-discuss@SCWM.MIT.EDU  Mon Dec 20 22:06:10 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id WAA31006
	for scwm-discuss-outgoing; Mon, 20 Dec 1999 22:06:10 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from hecky.acns.nwu.edu (hecky.acns.nwu.edu [129.105.16.51])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id WAA31003
	for <scwm-discuss@scwm.mit.edu>; Mon, 20 Dec 1999 22:05:26 -0500
Received: (from mailnull@localhost)
	by hecky.acns.nwu.edu (8.8.7/8.8.7) id VAA21658
	for <scwm-discuss@scwm.mit.edu>; Mon, 20 Dec 1999 21:05:05 -0600 (CST)
Received: from milwaukee (dika028132.nuts.nwu.edu [165.124.28.132]) by hecky.acns.nwu.edu via smap (V2.0)
	id xma021638; Mon, 20 Dec 99 21:04:58 -0600
Received: from david by milwaukee with local (Exim 3.11 #1 (Debian))
	id 120Fay-0006Bp-00
	for <scwm-discuss@SCWM.MIT.EDU>; Mon, 20 Dec 1999 21:04:16 -0600
Date: Mon, 20 Dec 1999 21:04:16 -0600
From: "David J. Kanter" <djkanter@nwu.edu>
To: Scwm listserv <scwm-discuss@scwm.mit.edu>
Subject: Re: Is Debian's unstable scwm terribly broken...
Message-ID: <19991220210416.A23769@milwaukee>
Mail-Followup-To: Scwm listserv <scwm-discuss@SCWM.MIT.EDU>
References: <19991219150006.A16844@milwaukee> <19991219225624.A1165@ntt.it>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
In-Reply-To: <19991219225624.A1165@ntt.it>; from cesco@ntt.it on Sun, Dec 19, 1999 at 10:56:24PM +0100
X-Organization: Northwestern University
X-Operating-System: Linux milwaukee 2.2.13
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Sun, Dec 19, 1999 at 10:56:24PM +0100, Francesco Tapparo wrote:
> Do you have libguilegtk0 installed? what version? 

I installed the above package. However, the Window Opertations or
Preferences still do not work. Interestingly, now there is not additional
menu attached to the Preferences (or was it Window Opertations) menu. There
used to be things like Reload .Xresources and Change background color.
They're not there anymore.

I'll attach my new ~/.SCWM-errors. I filed a bug report about libguilegtk0
not being included in the dependency list for scwm.

Hope all of this is helping.

****************************************************************************

Exec-ing wm as scwm
[Scwm][make-image]: <<WARNING>> Image file was not found: `scwm-logo-0.xpm'
Unable to connect to UNIX socket /tmp/.esd/socket
ERROR: In procedure dynamic-link:
ERROR: /usr/lib/libguiledlopenhelper.so: cannot open shared object file: No such file or directory
ERROR: In procedure dynamic-link:
ERROR: /usr/lib/libguiledlopenhelper.so: cannot open shared object file: No such file or directory
[Scwm][bind-key]: <<WARNING>> Unbound modifier H-
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-r'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-A-M-C-d'
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-1
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-S-1
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-A-1
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-S-2
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-M-3
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-S-KP_4'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-S-KP_2'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-S-KP_8'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-S-KP_6'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-z'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_7'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_8'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_9'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_4'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_5'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_6'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_1'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_2'
[Scwm][bind-key]: <<WARNING>> No matching keycode for symbol `C-M-KP_3'
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-4
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-C-4
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-M-4
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-5
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-C-5
[Scwm][bind-mouse]: <<WARNING>> Ignoring mouse bind/unbind request for H-M-5
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-q'
[Scwm][bind-key]: <<WARNING>> Ignoring key binding `H-m'
sh: /home/david/.xclients: No such file or directory

-- 
David J. Kanter
djkanter@nwu.edu

"Humans have an innate tendency to attribute significance to anomalies
and coincidences."
  -- John Allen Paulos, mathematics professor at Temple University

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Dec 21 00:49:19 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA31234
	for scwm-discuss-outgoing; Tue, 21 Dec 1999 00:49:19 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from pub.jlonline.com ([202.102.24.9])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA31231
	for <scwm-discuss@scwm.mit.edu>; Tue, 21 Dec 1999 00:49:09 -0500
Received: from sheila ([202.102.65.9]) by pub.jlonline.com
          (Netscape Messaging Server 4.05) with ESMTP id FN2TLC00.C4M for
          <scwm-discuss@scwm.mit.edu>; Tue, 21 Dec 1999 13:51:12 +0800 
Received: from zw by sheila with local (Exim 2.05 #1 (Debian))
	id 120Tqb-00008S-00; Wed, 22 Dec 1999 02:17:21 +0800
To: scwm-discuss@scwm.mit.edu
Subject: Re: Is Debian's unstable scwm terribly broken...
References: <19991219150006.A16844@milwaukee> <87902pbuwp.fsf@sheila.i-did-not-set--mail-host-address--so-shoot-me> <19991220234025.B1247@ntt.it>
From: zhaoway <zhaoway7@990.net>
Date: 22 Dec 1999 02:17:21 +0800
In-Reply-To: Francesco Tapparo's message of "Mon, 20 Dec 1999 23:40:25 +0100"
Message-ID: <87g0www43y.fsf@sheila.i-did-not-set--mail-host-address--so-shoot-me>
Lines: 23
User-Agent: Gnus/5.070099 (Pterodactyl Gnus v0.99) XEmacs/21.1 (Bryce Canyon)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> "cesco" == Francesco Tapparo <cesco@ntt.it>

    cesco> Yes, license problems: cassawary has proprietary
    cesco> restrictions.

I understand. I checked the /usr/share/doc/scwm, didn't find
that you've mentioned about this. :-) Hope you do. Thanks. :-)
Hmm, I will file a bug report if you wish. :-)
Guess this should be in debian-devel? :-) hehe...

    DJK> ;;; WARNING (no code for module gtk) ;;; WARNING (no code for
    DJK> module gdk) ERROR: In procedure scm_fport_buffer_add: ERROR:
    DJK> Bad file descriptor

    cesco> I suspect you have not libguilegtk0 installed. I suspect
    cesco> this is a bug in scwm*deb (it should depends from it).

Sorry, it's me that hadn't apt-get'ed libguilegtk0. :-) Just did it
yesterday night. I will re-check this morning. :-)

-- 
zhaoway 
Wu-Wei-Wu: http://www.zhaoway.com/

From owner-scwm-discuss@SCWM.MIT.EDU  Tue Dec 21 18:49:03 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id SAA02191
	for scwm-discuss-outgoing; Tue, 21 Dec 1999 18:49:03 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from cathcart.sysc.pdx.edu (cathcart.sysc.pdx.edu [131.252.30.67])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id SAA02188
	for <scwm-discuss@SCWM.MIT.EDU>; Tue, 21 Dec 1999 18:48:57 -0500
Received: (from marcusd@localhost)
	by cathcart.sysc.pdx.edu (8.9.3/8.9.3/Debian/GNU) id PAA22653;
	Tue, 21 Dec 1999 15:48:44 -0800
To: Scwm listserv <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: Is Debian's unstable scwm terribly broken...
References: <19991219150006.A16844@milwaukee> <19991219225624.A1165@ntt.it>
From: mgd@swarm.org (Marcus G. Daniels)
Date: 21 Dec 1999 15:48:43 -0800
In-Reply-To: Francesco Tapparo's message of "Sun, 19 Dec 1999 22:56:24 +0100"
Message-ID: <rfiso0vyhwk.fsf@cathcart.sysc.pdx.edu>
Lines: 209
User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


DK> ERROR: In procedure scm_fport_buffer_add: ERROR: Bad file
DK> descriptor

I get this too on sparc-sun-solaris-2.7, using today's Guile/SCWM
sources from CVS.

(gdb) run -d anl2:0
Starting program: /packages/bin/scwm -d anl2:0
Starting...
Starting reading scwm modules

;;; WARNING (no code for module gtk)

;;; WARNING (no code for module gdk)
Error loading module: (app scwm winops-menu)
ERROR: In procedure scm_fport_buffer_add:
ERROR: Bad file number

Program received signal SIGBUS, Bus error.
0xfee46138 in _free_unlocked () from /usr/lib/libc.so.1
(gdb) bt
#0  0xfee46138 in _free_unlocked () from /usr/lib/libc.so.1
#1  0xfee460f0 in free () from /usr/lib/libc.so.1
#2  0xff032cc0 in fport_close (port=1634497125)
    at /src/sourceware/guile/guile-core/libguile/fports.c:718
#3  0xff032cf4 in fport_free (port=2754768)
    at /src/sourceware/guile/guile-core/libguile/fports.c:728
#4  0xff034850 in scm_gc_sweep ()
    at /src/sourceware/guile/guile-core/libguile/gc.c:1269
#5  0xff033914 in scm_igc (what=0xffffffff <Address 0xffffffff out of bounds>)
    at /src/sourceware/guile/guile-core/libguile/gc.c:604
#6  0xff033684 in scm_gc_for_alloc (ncells=1, freelistp=0x711ec)
    at /src/sourceware/guile/guile-core/libguile/gc.c:442
#7  0xff033740 in scm_gc_for_newcell ()
    at /src/sourceware/guile/guile-core/libguile/gc.c:455
#8  0xff01a470 in scm_acons (w=626272, x=495832, y=10612)
    at /src/sourceware/guile/guile-core/libguile/alist.c:69
#9  0xff02eb7c in scm_deval (x=10612, env=500384)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3040
#10 0xff02c1fc in scm_deval (x=623872, env=500384)
    at /src/sourceware/guile/guile-core/libguile/eval.c:2116
#11 0xff02c1fc in scm_deval (x=623768, env=507880)
    at /src/sourceware/guile/guile-core/libguile/eval.c:2116
#12 0xff02f778 in scm_dapply (proc=641176, arg1=10612, args=534128)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3438
#13 0xff0298c0 in scm_apply (proc=2466904, arg1=505752, args=534368)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3245
#14 0xff06168c in scm_sym2vcell (sym=505752, thunk=2466904, definep=8564)
    at /src/sourceware/guile/guile-core/libguile/symbols.c:109
#15 0xff024048 in scm_lookupcar (vloc=608216, genv=10612, check=1)
    at /src/sourceware/guile/guile-core/libguile/eval.c:332
#16 0xff02d70c in scm_deval (x=608216, env=607488)
    at /src/sourceware/guile/guile-core/libguile/eval.c:2520
#17 0xff02ab5c in scm_eval_3 (obj=608216, copyp=0, env=607488)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3795
#18 0xff02ac0c in scm_eval_x (obj=608216)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3829
#19 0xff03da54 in load (data=0x25da90)
    at /src/sourceware/guile/guile-core/libguile/load.c:95
#20 0xff020a10 in scm_internal_dynamic_wind (before=0xff03da04 <swap_port>, 
    inner=0xff03da3c <load>, after=0xff03da04 <swap_port>, 
    inner_data=0x25da90, guard_data=0xffbec53c)
    at /src/sourceware/guile/guile-core/libguile/dynwind.c:195
#21 0xff03dbb0 in scm_primitive_load (filename=2481352)
    at /src/sourceware/guile/guile-core/libguile/load.c:125
#22 0xff02e078 in scm_deval (x=10612, env=2480840)
    at /src/sourceware/guile/guile-core/libguile/eval.c:2730
#23 0xff02f778 in scm_dapply (proc=1312056, arg1=10612, args=2480840)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3438
#24 0xff0298c0 in scm_apply (proc=2481328, arg1=10612, args=10612)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3245
#25 0xff0208a8 in scm_dynamic_wind (thunk1=2481224, thunk2=2481328, 
    thunk3=2481184) at /src/sourceware/guile/guile-core/libguile/dynwind.c:137
#26 0xff02e9ec in scm_deval (x=632888, env=2481232)
    at /src/sourceware/guile/guile-core/libguile/eval.c:2991
#27 0xff02b53c in scm_deval (x=675304, env=2481336)
    at /src/sourceware/guile/guile-core/libguile/eval.c:1946
#28 0xff02f778 in scm_dapply (proc=1326024, arg1=10612, args=2481608)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3438
#29 0xff0298c0 in scm_apply (proc=2481864, arg1=10612, args=10612)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3245
#30 0xff0208a8 in scm_dynamic_wind (thunk1=2481888, thunk2=2481864, 
    thunk3=2481832) at /src/sourceware/guile/guile-core/libguile/dynwind.c:137
#31 0xff02e9ec in scm_deval (x=675456, env=2481896)
    at /src/sourceware/guile/guile-core/libguile/eval.c:2991
#32 0xff02b53c in scm_deval (x=1328608, env=2481896)
    at /src/sourceware/guile/guile-core/libguile/eval.c:1946
#33 0xff02c1fc in scm_deval (x=655904, env=2486240)
    at /src/sourceware/guile/guile-core/libguile/eval.c:2116
#34 0xff02b53c in scm_deval (x=658520, env=2486272)
    at /src/sourceware/guile/guile-core/libguile/eval.c:1946
#35 0xff02c118 in scm_deval (x=1390400, env=2490368)
    at /src/sourceware/guile/guile-core/libguile/eval.c:2106
#36 0xff02c118 in scm_deval (x=1391424, env=2490392)
    at /src/sourceware/guile/guile-core/libguile/eval.c:2106
#37 0xff02f778 in scm_dapply (proc=1393560, arg1=10612, args=2490392)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3438
#38 0xff0298c0 in scm_apply (proc=2490472, arg1=2490640, args=471440)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3245
#39 0xff02a4c4 in scm_for_each (proc=2490472, arg1=2490440, args=10612)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3642
#40 0xff02e698 in scm_deval (x=10612, env=2490480)
    at /src/sourceware/guile/guile-core/libguile/eval.c:2885
#41 0xff02f6e0 in scm_dapply (proc=951400, arg1=1043216, args=2490512)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3435
#42 0xff0298c0 in scm_apply (proc=2490616, arg1=10612, args=10612)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3245
#43 0xff064760 in scm_body_thunk (body_data=0xffbeda78)
    at /src/sourceware/guile/guile-core/libguile/throw.c:365
#44 0xff0643f8 in scm_internal_catch (tag=9076, 
    body=0xff064748 <scm_body_thunk>, body_data=0xffbeda78, 
    handler=0xff064768 <scm_handle_by_proc>, handler_data=0xffbedadc)
    at /src/sourceware/guile/guile-core/libguile/throw.c:220
#45 0xff064b04 in scm_catch (tag=9076, thunk=2490616, handler=2490584)
    at /src/sourceware/guile/guile-core/libguile/throw.c:565
#46 0xff02e9ec in scm_deval (x=1042544, env=2490688)
    at /src/sourceware/guile/guile-core/libguile/eval.c:2991
#47 0xff02f778 in scm_dapply (proc=1042512, arg1=10612, args=2490688)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3438
#48 0xff0298c0 in scm_apply (proc=1041168, arg1=1841288, args=471440)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3245
#49 0xff02a214 in scm_map (proc=1041168, arg1=1837040, args=10612)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3596
#50 0xff02e698 in scm_deval (x=10612, env=1837480)
    at /src/sourceware/guile/guile-core/libguile/eval.c:2885
#51 0xff02ab5c in scm_eval_3 (obj=1842456, copyp=0, env=1840992)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3795
#52 0xff02ac0c in scm_eval_x (obj=1842456)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3829
#53 0x279c4 in scwm_body_eval_x (body_data=0xffbee2b4)
    at /src/scwm/src/callbacks.c:661
#54 0xff064600 in scm_internal_lazy_catch (tag=9076, 
    body=0x279b8 <scwm_body_eval_x>, body_data=0xffbee2b4, handler=0xfffff000, 
    handler_data=0x0) at /src/sourceware/guile/guile-core/libguile/throw.c:297
#55 0xff0646fc in cwss_body (data=0xffbee230)
    at /src/sourceware/guile/guile-core/libguile/throw.c:332
#56 0xff0643f8 in scm_internal_catch (tag=9076, body=0xff0646cc <cwss_body>, 
    body_data=0xffbee230, handler=0x27bb8 <scwm_handle_error>, 
    handler_data=0x58b90)
    at /src/sourceware/guile/guile-core/libguile/throw.c:220
#57 0xff064740 in scm_internal_stack_catch (tag=9076, 
    body=0x279b8 <scwm_body_eval_x>, body_data=0xffbee2b4, 
    handler=0x27bb8 <scwm_handle_error>, handler_data=0x58b90)
    at /src/sourceware/guile/guile-core/libguile/throw.c:346
#58 0x27a3c in scwm_body_load (body_data=0x2b74)
    at /src/scwm/src/callbacks.c:667
#59 0xff0643f8 in scm_internal_catch (tag=9076, body=0x279cc <scwm_body_load>, 
    body_data=0xffbee4b4, handler=0x36c84 <cwdr_no_unwind_handler>, 
    handler_data=0xffbee3d8)
    at /src/sourceware/guile/guile-core/libguile/throw.c:220
#60 0x36db8 in scm_internal_cwdr_no_unwind (body=0x279cc <scwm_body_load>, 
    body_data=0xffbee4b4, handler=0x707dc <scm_handle_by_message_noexit>, 
    handler_data=0x58b90, stack_start=0xf7e68)
    at /src/scwm/src/guile-compat.c:111
#61 0x27cc8 in safe_load (fname=1015112) at /src/scwm/src/callbacks.c:739
#62 0xff02e078 in scm_deval (x=10612, env=1011032)
    at /src/sourceware/guile/guile-core/libguile/eval.c:2730
#63 0xff02ab5c in scm_eval_3 (obj=1015344, copyp=0, env=1014672)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3795
#64 0xff02ac0c in scm_eval_x (obj=1015344)
    at /src/sourceware/guile/guile-core/libguile/eval.c:3829
#65 0x279c4 in scwm_body_eval_x (body_data=0xffbee9a4)
    at /src/scwm/src/callbacks.c:661
#66 0xff064600 in scm_internal_lazy_catch (tag=9076, 
    body=0x279b8 <scwm_body_eval_x>, body_data=0xffbee9a4, handler=0xfffff000, 
    handler_data=0x0) at /src/sourceware/guile/guile-core/libguile/throw.c:297
#67 0xff0646fc in cwss_body (data=0xffbee920)
    at /src/sourceware/guile/guile-core/libguile/throw.c:332
#68 0xff0643f8 in scm_internal_catch (tag=9076, body=0xff0646cc <cwss_body>, 
    body_data=0xffbee920, handler=0x27bb8 <scwm_handle_error>, 
    handler_data=0x58b90)
    at /src/sourceware/guile/guile-core/libguile/throw.c:220
#69 0xff064740 in scm_internal_stack_catch (tag=9076, 
    body=0x279b8 <scwm_body_eval_x>, body_data=0xffbee9a4, 
    handler=0x27bb8 <scwm_handle_error>, handler_data=0x58b90)
    at /src/sourceware/guile/guile-core/libguile/throw.c:346
#70 0x27b34 in scwm_body_eval_str (body_data=0x2b74)
    at /src/scwm/src/callbacks.c:667
#71 0xff0643f8 in scm_internal_catch (tag=9076, 
    body=0x27ac0 <scwm_body_eval_str>, body_data=0x5dae8, 
    handler=0x36c84 <cwdr_no_unwind_handler>, handler_data=0xffbeeac8)
    at /src/sourceware/guile/guile-core/libguile/throw.c:220
#72 0x36db8 in scm_internal_cwdr_no_unwind (body=0x27ac0 <scwm_body_eval_str>, 
    body_data=0x5dae8, handler=0x707dc <scm_handle_by_message_noexit>, 
    handler_data=0x58b90, stack_start=0x73260)
    at /src/scwm/src/guile-compat.c:111
#73 0x27d14 in scwm_safe_eval_str (
    string=0x5dae8 "(let ((home-scwmrc       (string-append (getenv \"HOME\") \"/\" \".scwmrc\"))      (system-scwmrc \"/common/share/scwm/scwmrc/system.scwmrc\")) (if (access? home-scwmrc R_OK)     (safe-load home-scwmrc)     ("...)
    at /src/scwm/src/callbacks.c:753
#74 0x47810 in scwm_main (argc=3, argv=0xffbef2bc) at /src/scwm/src/scwm.c:1126
#75 0xff037b34 in gh_launch_pad (closure=0x46cc4, argc=3, argv=0xffbef2bc)
    at /src/sourceware/guile/guile-core/libguile/gh_init.c:60
#76 0xff03abac in invoke_main_func (body_data=0xffbef158)
    at /src/sourceware/guile/guile-core/libguile/init.c:561
#77 0xff064600 in scm_internal_lazy_catch (tag=9076, 
    body=0xff03ab8c <invoke_main_func>, body_data=0xffbef158, 
    handler=0xfffff000, handler_data=0x0)
    at /src/sourceware/guile/guile-core/libguile/throw.c:297
#78 0xff03ab54 in scm_boot_guile_1 (base=0xffbef154, closure=0xffbef158)
    at /src/sourceware/guile/guile-core/libguile/init.c:536
#79 0xff03a7b4 in scm_boot_guile (argc=3, argv=0xffbef2bc, 
    main_func=0xff037b24 <gh_launch_pad>, closure=0x46cc4)
    at /src/sourceware/guile/guile-core/libguile/init.c:392
#80 0xff037b70 in gh_enter (argc=3, argv=0xffbef2bc, 
    c_main_prog=0x46cc4 <scwm_main>)
    at /src/sourceware/guile/guile-core/libguile/gh_init.c:70
#81 0x46cbc in main (argc=3, argv=0xffbef2bc) at /src/scwm/src/scwm.c:589
(gdb) 

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Dec 22 00:55:27 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id AAA02653
	for scwm-discuss-outgoing; Wed, 22 Dec 1999 00:55:27 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from clavicle.cs.washington.edu (gjb@clavicle.cs.washington.edu [128.95.4.125])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id AAA02650
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 22 Dec 1999 00:55:22 -0500
Received: (from gjb@localhost)
	by clavicle.cs.washington.edu (8.9.3/8.9.3) id VAA29476;
	Tue, 21 Dec 1999 21:55:06 -0800
To: mgd@swarm.org (Marcus G. Daniels)
Cc: Scwm listserv <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: Is Debian's unstable scwm terribly broken...
References: <19991219150006.A16844@milwaukee> <19991219225624.A1165@ntt.it> <rfiso0vyhwk.fsf@cathcart.sysc.pdx.edu>
From: "Greg J. Badros" <gjb@cs.washington.edu>
Date: 21 Dec 1999 21:55:06 -0800
In-Reply-To: mgd@swarm.org's message of "21 Dec 1999 15:48:43 -0800"
Message-ID: <qrrwvq7ldtx.fsf@clavicle.cs.washington.edu>
Lines: 16
X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko"
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

mgd@swarm.org (Marcus G. Daniels) writes:

> DK> ERROR: In procedure scm_fport_buffer_add: ERROR: Bad file
> DK> descriptor
> 
> I get this too on sparc-sun-solaris-2.7, using today's Guile/SCWM
> sources from CVS.
> 

I recommend guile-1.3.4 with Scwm;  I don't test regularly against CVS
versions of Guile because it's just too hard to have the interpreter
*and* the WM changing simultaneously.

Thanks for the bug report!

Greg

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Dec 22 11:55:40 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id LAA05856
	for scwm-discuss-outgoing; Wed, 22 Dec 1999 11:55:40 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from cathcart.sysc.pdx.edu (cathcart.sysc.pdx.edu [131.252.30.67])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id LAA05853
	for <scwm-discuss@SCWM.MIT.EDU>; Wed, 22 Dec 1999 11:55:34 -0500
Received: (from marcusd@localhost)
	by cathcart.sysc.pdx.edu (8.9.3/8.9.3/Debian/GNU) id IAA25751;
	Wed, 22 Dec 1999 08:55:20 -0800
To: "Greg J. Badros" <gjb@cs.washington.edu>
Cc: mgd@swarm.org (Marcus G. Daniels),
        Scwm listserv <scwm-discuss@SCWM.MIT.EDU>
Subject: Re: Is Debian's unstable scwm terribly broken...
References: <19991219150006.A16844@milwaukee> <19991219225624.A1165@ntt.it> <rfiso0vyhwk.fsf@cathcart.sysc.pdx.edu> <qrrwvq7ldtx.fsf@clavicle.cs.washington.edu>
From: mgd@swarm.org (Marcus G. Daniels)
Date: 22 Dec 1999 08:55:19 -0800
In-Reply-To: "Greg J. Badros"'s message of "21 Dec 1999 21:55:06 -0800"
Message-ID: <rfi902mj4p4.fsf@cathcart.sysc.pdx.edu>
Lines: 47
User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

>>>>> "GB" == Greg J Badros <gjb@cs.washington.edu> writes:

GB> I recommend guile-1.3.4 with Scwm; I don't test regularly against
GB> CVS versions of Guile because it's just too hard to have the
GB> interpreter *and* the WM changing simultaneously.

The symptom is the same with 1.3.4 and scwm-0.99.5.1. 

I munged Guile as follows to get scwm to run.  This is not
a patch or even a hypothesis.  No time to investigate, sorry.

Index: fports.c
===================================================================
RCS file: /cvs/guile/guile/guile-core/libguile/fports.c,v
retrieving revision 1.56
diff -c -r1.56 fports.c
*** fports.c	1999/12/16 20:48:04	1.56
--- fports.c	1999/12/22 16:52:46
***************
*** 660,668 ****
--- 660,670 ----
  		}
  	      pt->write_pos = pt->write_buf + remaining;
  	    }
+ #if 0
  	  if (!terminating)
  	    scm_syserror ("fport_flush");
  	  else
+ #endif
  	    {
  	      const char *msg = "Error: could not flush file-descriptor ";
  	      char buf[11];
***************
*** 714,723 ****
--- 716,727 ----
      scm_syserror ("fport_close");
    if (pt->read_buf == pt->putback_buf)
      pt->read_buf = pt->saved_read_buf;
+ #if 0
    if (pt->read_buf != &pt->shortbuf)
      free (pt->read_buf);
    if (pt->write_buf != &pt->shortbuf)
      free (pt->write_buf);
+ #endif
    free ((char *) fp);
    return rv;
  }

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Dec 22 13:39:34 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA06052
	for scwm-discuss-outgoing; Wed, 22 Dec 1999 13:39:34 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from news.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA06049
	for <scwm-discuss@scwm.mit.edu>; Wed, 22 Dec 1999 13:39:26 -0500
Received: from mizar (r3p068.ntt.it [194.75.44.68]) by news.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id TAA30000; Wed, 22 Dec 1999 19:39:47 +0100 (NFT)
Received: from cesco by mizar with local (Exim 3.03 #1 (Debian))
	id 120oKR-0000Ht-00; Wed, 22 Dec 1999 17:09:31 +0100
Date: Wed, 22 Dec 1999 17:09:31 +0100
From: Francesco Tapparo <cesco@ntt.it>
To: Scwm listserv <scwm-discuss@scwm.mit.edu>
Cc: 53183@bugs.debian.org
Subject: Re: Is Debian's unstable scwm terribly broken...
Message-ID: <19991222170931.B920@ntt.it>
Reply-To: cesco@debian.org
Mail-Followup-To: Scwm listserv <scwm-discuss@SCWM.MIT.EDU>,
	53183@bugs.debian.org
References: <19991219150006.A16844@milwaukee> <19991219225624.A1165@ntt.it> <19991220210416.A23769@milwaukee>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
In-Reply-To: <19991220210416.A23769@milwaukee>; from djkanter@nwu.edu on Mon, Dec 20, 1999 at 09:04:16PM -0600
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Mon, Dec 20, 1999 at 09:04:16PM -0600, David J. Kanter wrote:
> On Sun, Dec 19, 1999 at 10:56:24PM +0100, Francesco Tapparo wrote:
> > Do you have libguilegtk0 installed? what version? 

CC-ed 53183@bugs.debian.org (thanks for reporting the bug, David!)

> 
> I installed the above package. However, the Window Opertations or
> Preferences still do not work. Interestingly, now there is not additional
> menu attached to the Preferences (or was it Window Opertations) menu. There
> used to be things like Reload .Xresources and Change background color.
> They're not there anymore.
> 
> I'll attach my new ~/.SCWM-errors. I filed a bug report about libguilegtk0
> not being included in the dependency list for scwm.
> 
> Hope all of this is helping.
> 
> ****************************************************************************
> 
> Exec-ing wm as scwm
> [Scwm][make-image]: <<WARNING>> Image file was not found: `scwm-logo-0.xpm'
> Unable to connect to UNIX socket /tmp/.esd/socket

I suspect this is the lacking of esound (of course another Reccomends).

> ERROR: In procedure dynamic-link:
> ERROR: /usr/lib/libguiledlopenhelper.so: cannot open shared object file: No such file or directory
> ERROR: In procedure dynamic-link:
> ERROR: /usr/lib/libguiledlopenhelper.so: cannot open shared object file: No such file or directory
[snipped]
hmm

> sh: /home/david/.xclients: No such file or directory
> 
> -- 
> David J. Kanter
> djkanter@nwu.edu
> 
> "Humans have an innate tendency to attribute significance to anomalies
> and coincidences."
>   -- John Allen Paulos, mathematics professor at Temple University
> 

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Wed Dec 22 13:39:51 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id NAA06057
	for scwm-discuss-outgoing; Wed, 22 Dec 1999 13:39:51 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from news.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id NAA06054
	for <scwm-discuss@scwm.mit.edu>; Wed, 22 Dec 1999 13:39:47 -0500
Received: from mizar (r3p068.ntt.it [194.75.44.68]) by news.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id TAA24892; Wed, 22 Dec 1999 19:39:52 +0100 (NFT)
Received: from cesco by mizar with local (Exim 3.03 #1 (Debian))
	id 120oXD-0000IO-00; Wed, 22 Dec 1999 17:22:43 +0100
Date: Wed, 22 Dec 1999 17:22:43 +0100
From: Francesco Tapparo <cesco@ntt.it>
To: zhaoway <zhaoway7@990.net>
Cc: scwm-discuss@scwm.mit.edu
Subject: Re: Is Debian's unstable scwm terribly broken...
Message-ID: <19991222172243.C920@ntt.it>
Reply-To: cesco@debian.org
Mail-Followup-To: zhaoway <zhaoway7@990.net>, scwm-discuss@SCWM.MIT.EDU
References: <19991219150006.A16844@milwaukee> <87902pbuwp.fsf@sheila.i-did-not-set--mail-host-address--so-shoot-me> <19991220234025.B1247@ntt.it> <87g0www43y.fsf@sheila.i-did-not-set--mail-host-address--so-shoot-me>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
In-Reply-To: <87g0www43y.fsf@sheila.i-did-not-set--mail-host-address--so-shoot-me>; from zhaoway7@990.net on Wed, Dec 22, 1999 at 02:17:21AM +0800
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Wed, Dec 22, 1999 at 02:17:21AM +0800, zhaoway wrote:
> >>>>> "cesco" == Francesco Tapparo <cesco@ntt.it>
> 
>     cesco> Yes, license problems: cassawary has proprietary
>     cesco> restrictions.
> 
> I understand. I checked the /usr/share/doc/scwm, didn't find
> that you've mentioned about this. :-) Hope you do. Thanks. :-)

I inserted a brief note in my local scwm package.

> Hmm, I will file a bug report if you wish. :-)

The bug reports are always useful, particularly if they have a patch to
solve the bug ;>

> Guess this should be in debian-devel? :-) hehe...

I do'nt think so, the Cassowary license is pretty clear.
Did you read it?

> 
>     DJK> ;;; WARNING (no code for module gtk) ;;; WARNING (no code for
>     DJK> module gdk) ERROR: In procedure scm_fport_buffer_add: ERROR:
>     DJK> Bad file descriptor
> 
>     cesco> I suspect you have not libguilegtk0 installed. I suspect
>     cesco> this is a bug in scwm*deb (it should depends from it).
> 
> Sorry, it's me that hadn't apt-get'ed libguilegtk0. :-) Just did it
> yesterday night. I will re-check this morning. :-)

of course it was my package the culprit here: I've missed the Depends:
libguilegtk0 line.

> 
> -- 
> zhaoway 
> Wu-Wei-Wu: http://www.zhaoway.com/
> 

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Dec 23 10:03:28 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id KAA09942
	for scwm-discuss-outgoing; Thu, 23 Dec 1999 10:03:28 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from news.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id KAA09939
	for <scwm-discuss@scwm.mit.edu>; Thu, 23 Dec 1999 10:03:18 -0500
Received: from mizar (r3p125.ntt.it [194.75.44.125]) by news.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id QAA22922 for <scwm-discuss@scwm.mit.edu>; Thu, 23 Dec 1999 16:02:59 +0100 (NFT)
Received: from cesco by mizar with local (Exim 3.03 #1 (Debian))
	id 1219ob-00008O-00
	for <scwm-discuss@scwm.mit.edu>; Thu, 23 Dec 1999 16:06:05 +0100
Date: Thu, 23 Dec 1999 16:06:05 +0100
From: Francesco Tapparo <cesco@ntt.it>
To: scwm-discuss@scwm.mit.edu
Subject: preliminary version of a gtk-enabled message
Message-ID: <19991223160605.A487@ntt.it>
Reply-To: cesco@debian.org
Mail-Followup-To: scwm-discuss@scwm.mit.edu
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="pf9I7BMVVzbSWLtt"
User-Agent: Mutt/1.0i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk


--pf9I7BMVVzbSWLtt
Content-Type: text/plain; charset=us-ascii

I wrote a preliminary version of a message function using gtk and not
xmessage. Of course the objective is to replace the xmessage-enabled message.
Because it is very low quality right now, I put it in its module, under
the name gtkmessage. I would like to have some feedback about it.
Here are some shortcomings of this implementation:

1) suggested-size is a mess
2) suggested size should deduce the window size using the font size of the
message, but I do'nt know how to find that.
3) the message window should be scrolled (if all the screen does not suffice
for the message)
4) most important: the window border break the words, a rather unpleasant
effect.

If someone need some feature in this widget, please let me know.

cheers

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it


--pf9I7BMVVzbSWLtt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="gtkmessage.scm"

;;;; (C) 1999 Francesco Tapparo
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2, or (at your option)
;;;; any later version.
;;;;
;;;; This program is distributed in the hope that it will be useful,
;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;;; GNU General Public License for more details.
;;;;
;;;; You should have received a copy of the GNU General Public License
;;;; along with this software; see the file COPYING.  If not, write to
;;;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
;;;; Boston, MA 02111-1307 USA
;;;;
;;;; END OF LICENSE

(define-module (app scwm gtkmessage)
  :use-module (app scwm base)
  :use-module (app scwm optargs)
  :use-module (gtk gtk))

(define (suggested-size text)
  (let* ((text-lenght (gtk-text-get-length text))
	 (char-width 8)
	 (char-height 12)
	 (char-area (* char-width char-height))
	 (total-area (* char-area text-lenght))
	 (ratio-width-height 12)
	 (width (cond ((< text-lenght 80)
		       (* char-width (+ text-lenght
					2)))
		      (#t
		       (min
			(max 
			 (+ (truncate (sqrt (* total-area
					       ratio-width-height)))
			    (+ char-width 1)))
			(%x 80)))))
	 (height (+ 
		  (truncate (/ total-area width))
		  (* 2 char-height))))
    (cons width height)))
  

(define (quit-toolbar win)
  (let* ((bar (gtk-alignment-new 1 0.5 0 0))
	 (quit-button (gtk-button-new-with-label "close")))
    (gtk-signal-connect quit-button "clicked" (lambda ()
						(gtk-widget-destroy  win)))
    (gtk-container-add bar quit-button)
    bar))


(define*-public (gtkmessage message
			    #&key 
			    xsize
			    ysize)
  "It display a message on the display, using a gtk window
MESSAGE is a string representing the message to be displayed on the screen.
XSIZE and YSIZE are two numbers representing the sizes of the message window.
If XSIZE(YSIZE) is not given, gtkmessage try to use reasonable values deduced
from the string length"
  (let* ((msgwin (gtk-window-new 'dialog))
	 (msg (gtk-text-new #f #f))
	 (quitbut (gtk-button-new-with-label "close"))
	 (box (gtk-vbox-new #f 1)))
    
    (gtk-text-insert msg #f #f #f message -1)
    (gtk-text-set-line-wrap msg 10)
    (gtk-container-add msgwin box)
    (gtk-container-add box msg)
    (gtk-container-add box (quit-toolbar msgwin))
    (gtk-widget-set-usize msg 
			  (cond ((not (bound? xsize))
				 (car (suggested-size msg)))
				(#t
				 xsize))
			  (cond ((not (bound? ysize))
				 (cdr (suggested-size msg)))
				(#t
				 ysize)))
    (gtk-widget-show-all msgwin)))
--pf9I7BMVVzbSWLtt--

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Dec 23 14:32:57 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id OAA10237
	for scwm-discuss-outgoing; Thu, 23 Dec 1999 14:32:57 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from thig.blarg.net (root@thig.blarg.net [206.124.128.18])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id OAA10234
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 23 Dec 1999 14:32:51 -0500
Received: from potato.hanchrow.org (vp005.atm01.sea.blarg.net [206.124.138.5])
	by thig.blarg.net (8.9.3/8.9.3) with ESMTP id LAA07519
	for <scwm-discuss@SCWM.MIT.EDU>; Thu, 23 Dec 1999 11:32:32 -0800
Received: by blarg.net
	via sendmail from stdin
	id <m121DyS-000ylKC@potato.hanchrow.org> (Debian Smail3.2.0.102)
	for scwm-discuss@SCWM.MIT.EDU; Thu, 23 Dec 1999 11:32:32 -0800 (PST) 
To: scwm-discuss@SCWM.MIT.EDU
Subject: dumb question about focus and next-window
From: Eric Hanchrow <offby1@blarg.net>
Date: 23 Dec 1999 11:32:32 -0800
Message-ID: <87n1r14fn3.fsf@potato.hanchrow.org>
Lines: 48
User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I haven't used scwm in a few versions, and apparantly its behavior has
changed slightly ... and I don't know how to change my .scwmrc to
accommodate it.

Specifically: I'm using scwm 0.99.5.1 (and guile 1.3.4).  I've got the
following in my .scwmrc

    (bind-key 'all "s-Tab" 
              (lambda ()
                (next-window
                 #:only visible?
                 #:except iconified-window?
                 )))

The intent is that, when I press s-Tab, the window that's currently on
top will get sent to the bottom, and the next window will be visible
(and have the focus).  In other words, I'm trying to duplicate the
behavior of Alt+Tab in Microsoft Windows.

However, the behavior I see is that, while the next window indeed gets
the focus, it doesn't raise.  That is, it remains obscured by
whichever windows happen to be on top of it.

Now, I assume there are two ways I can fix this: I can change my focus
policy so that focussed windows *always* get raised.  But that's sort
of a drastic change, and I'd rather not make it if possible.  The
other way, I assume, would be for me to add an extra statement to my
anonymous function, something like this:

    (bind-key 'all "s-Tab" 
              (lambda ()
                (next-window

                 (lambda (win)
                   (focus-window win)
                   (raise-window win))

                 #:only visible?
                 #:except iconified-window?
                 )))

However, as you can see, I don't really know what I'm doing here; the
above doesn't seem to work any differently than the first version.

I assume the answer is simple, but I wasn't able to find a pertinent
example in the documentation.  Any ideas how I can do this?

Thanks

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Dec 23 15:45:44 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id PAA10416
	for scwm-discuss-outgoing; Thu, 23 Dec 1999 15:45:44 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from news.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id PAA10413
	for <scwm-discuss@scwm.mit.edu>; Thu, 23 Dec 1999 15:45:38 -0500
Received: from mizar (r1p004.ntt.it [194.73.94.4]) by news.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id VAA29332 for <scwm-discuss@scwm.mit.edu>; Thu, 23 Dec 1999 21:46:00 +0100 (NFT)
Received: from cesco by mizar with local (Exim 3.03 #1 (Debian))
	id 121F7v-0000me-00
	for <scwm-discuss@scwm.mit.edu>; Thu, 23 Dec 1999 21:46:23 +0100
Date: Thu, 23 Dec 1999 21:46:23 +0100
From: Francesco Tapparo <cesco@ntt.it>
To: scwm-discuss@scwm.mit.edu
Subject: applications lists
Message-ID: <19991223214623.A2941@ntt.it>
Reply-To: cesco@debian.org
Mail-Followup-To: scwm-discuss@scwm.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

The actual system.scwmrc creates some applications menus using applications
list.
The Debian system.scwmrc has the following definition of menu-root-start:

(define menu-root-start
  (cond ((eq? (vendor?) 'debian)
	 (make-debianapps-menu  #:image-side "scwm-gnu-linux.xpm"
	  			#:image-align 'bottom	
				#:color-bg-image-side "blue"))
	(#t
	 (menu
	  (list 
	   (menu-title "Start" #:image-left "mini-exp.xpm")
	   [snipped]
          #:action 'menu-quit-verify))
	  #:image-side "scwm-gnu-linux.xpm"
	  #:image-align 'bottom
	  #:color-bg-image-side "blue"))))

the #t part is the upstream menu, and vendor? is a function returning 'debian 
if the system is debian one.
My objective was to permit to the debian scwm users to have a functional
menus with little effort even if they ahve not the menu package installed.

It would be a lot more comfortable for me, and these users (those without
menu installed) if the applications lists would be in a separate file. So
I/they can upgrade the system.scwmrc and have my/their modified applications
lists without any rewriting.

I think to something simple, as 
        (load "applists.scm")
or, if we want to be sophisticated, modify 
make-menuitems-from-menu-information-list so that it can pick a file as 
argument.

Sound my idea sensible?

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec 26 09:15:04 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id JAA21642
	for scwm-discuss-outgoing; Sun, 26 Dec 1999 09:15:04 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from news.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id JAA21639
	for <scwm-discuss@scwm.mit.edu>; Sun, 26 Dec 1999 09:14:57 -0500
Received: from mizar (r3p070.ntt.it [194.75.44.70]) by news.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id PAA15312 for <scwm-discuss@scwm.mit.edu>; Sun, 26 Dec 1999 15:15:08 +0100 (NFT)
Received: from cesco by mizar with local (Exim 3.03 #1 (Debian))
	id 122EVV-00007S-00
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 26 Dec 1999 15:18:49 +0100
Date: Sun, 26 Dec 1999 15:18:49 +0100
From: Francesco Tapparo <cesco@ntt.it>
To: scwm-discuss@scwm.mit.edu
Subject: Re: preliminary version of a gtk-enabled message
Message-ID: <19991226151849.A369@ntt.it>
Reply-To: cesco@debian.org
Mail-Followup-To: scwm-discuss@SCWM.MIT.EDU
References: <19991223160605.A487@ntt.it>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
In-Reply-To: <19991223160605.A487@ntt.it>; from cesco@ntt.it on Thu, Dec 23, 1999 at 04:06:05PM +0100
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Thu, Dec 23, 1999 at 04:06:05PM +0100, Francesco Tapparo wrote:
> I wrote a preliminary version of a message function using gtk and not
> xmessage. Of course the objective is to replace the xmessage-enabled message.
> Because it is very low quality right now, I put it in its module, under
> the name gtkmessage. I would like to have some feedback about it.
> Here are some shortcomings of this implementation:

This is my second version. It use a label widget, instead of a text one,
because the label calculate its dimensions. This idea is stolen from
xmessage; actually xmessage create a label widget, get its' dimension and
the use those to resize a text widget. I do'nt know how to get the size of a
widget in guile-gtk, so I'm using directly a label. 
Now the quality is rather good (it uses a technique similar to the technique
used by xmessage).

Knows someone how to get the size of a gtk widget.

Here's the code:


;;;; (C) 1999 Francesco Tapparo
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2, or (at your option)
;;;; any later version.
;;;;
;;;; This program is distributed in the hope that it will be useful,
;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;;; GNU General Public License for more details.
;;;;
;;;; You should have received a copy of the GNU General Public License
;;;; along with this software; see the file COPYING.  If not, write to
;;;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
;;;; Boston, MA 02111-1307 USA
;;;;
;;;; END OF LICENSE
;;;;
;;;;   25/12/1999       Francesco Tapparo
;;;;                    gtkmessage use a label widget to calculate 
;;;;                    automatically the dimensions (trick stolen from
;;;;                    xmessage)
;;;;                    message is a #&key value; removed xsize and ysize
;;;;                    the close button is more small


(define-module (app scwm gtkmessage)
  :use-module (app scwm base)
  :use-module (app scwm optargs)
  :use-module (gtk gtk))

(define (quit-toolbar win)
  (let* ((bar (gtk-alignment-new 1 0.5 0 0))
	 (quit-button (gtk-button-new-with-label "close")))
    (gtk-signal-connect quit-button "clicked" (lambda ()
						(gtk-widget-destroy  win)))
    (gtk-container-add bar quit-button)
    bar))


(define*-public (gtkmessage #&key 
			    message)
  "It display a message on the display, using a gtk window
MESSAGE is a string representing the message to be displayed on the screen."
  (let* ((msgwin (gtk-window-new 'dialog))
	 (msg (gtk-label-new message))
	 (box (gtk-vbox-new #f 1)))
    (gtk-container-add msgwin box)
    (gtk-container-add box msg)
    (gtk-hseparator-new)
    (gtk-container-add box (quit-toolbar msgwin))
    (gtk-widget-show-all msgwin)))







> 
> 1) suggested-size is a mess
> 2) suggested size should deduce the window size using the font size of the
> message, but I do'nt know how to find that.
> 3) the message window should be scrolled (if all the screen does not suffice
> for the message)
> 4) most important: the window border break the words, a rather unpleasant
> effect.
> 
> If someone need some feature in this widget, please let me know.
> 
> cheers
> 
> -- 
> Francesco Tapparo				 |	cesco@debian.org
> fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it
> 

> ;;;; (C) 1999 Francesco Tapparo
> ;;;;
> ;;;; This program is free software; you can redistribute it and/or modify
> ;;;; it under the terms of the GNU General Public License as published by
> ;;;; the Free Software Foundation; either version 2, or (at your option)
> ;;;; any later version.
> ;;;;
> ;;;; This program is distributed in the hope that it will be useful,
> ;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
> ;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> ;;;; GNU General Public License for more details.
> ;;;;
> ;;;; You should have received a copy of the GNU General Public License
> ;;;; along with this software; see the file COPYING.  If not, write to
> ;;;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
> ;;;; Boston, MA 02111-1307 USA
> ;;;;
> ;;;; END OF LICENSE
> 
> (define-module (app scwm gtkmessage)
>   :use-module (app scwm base)
>   :use-module (app scwm optargs)
>   :use-module (gtk gtk))
> 
> (define (suggested-size text)
>   (let* ((text-lenght (gtk-text-get-length text))
> 	 (char-width 8)
> 	 (char-height 12)
> 	 (char-area (* char-width char-height))
> 	 (total-area (* char-area text-lenght))
> 	 (ratio-width-height 12)
> 	 (width (cond ((< text-lenght 80)
> 		       (* char-width (+ text-lenght
> 					2)))
> 		      (#t
> 		       (min
> 			(max 
> 			 (+ (truncate (sqrt (* total-area
> 					       ratio-width-height)))
> 			    (+ char-width 1)))
> 			(%x 80)))))
> 	 (height (+ 
> 		  (truncate (/ total-area width))
> 		  (* 2 char-height))))
>     (cons width height)))
>   
> 
> (define (quit-toolbar win)
>   (let* ((bar (gtk-alignment-new 1 0.5 0 0))
> 	 (quit-button (gtk-button-new-with-label "close")))
>     (gtk-signal-connect quit-button "clicked" (lambda ()
> 						(gtk-widget-destroy  win)))
>     (gtk-container-add bar quit-button)
>     bar))
> 
> 
> (define*-public (gtkmessage message
> 			    #&key 
> 			    xsize
> 			    ysize)
>   "It display a message on the display, using a gtk window
> MESSAGE is a string representing the message to be displayed on the screen.
> XSIZE and YSIZE are two numbers representing the sizes of the message window.
> If XSIZE(YSIZE) is not given, gtkmessage try to use reasonable values deduced
> from the string length"
>   (let* ((msgwin (gtk-window-new 'dialog))
> 	 (msg (gtk-text-new #f #f))
> 	 (quitbut (gtk-button-new-with-label "close"))
> 	 (box (gtk-vbox-new #f 1)))
>     
>     (gtk-text-insert msg #f #f #f message -1)
>     (gtk-text-set-line-wrap msg 10)
>     (gtk-container-add msgwin box)
>     (gtk-container-add box msg)
>     (gtk-container-add box (quit-toolbar msgwin))
>     (gtk-widget-set-usize msg 
> 			  (cond ((not (bound? xsize))
> 				 (car (suggested-size msg)))
> 				(#t
> 				 xsize))
> 			  (cond ((not (bound? ysize))
> 				 (cdr (suggested-size msg)))
> 				(#t
> 				 ysize)))
>     (gtk-widget-show-all msgwin)))

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Sun Dec 26 17:18:58 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id RAA22069
	for scwm-discuss-outgoing; Sun, 26 Dec 1999 17:18:58 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from news.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id RAA22066
	for <scwm-discuss@scwm.mit.edu>; Sun, 26 Dec 1999 17:18:54 -0500
Received: from mizar (r3p008.ntt.it [194.75.44.8]) by news.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id XAA21992 for <scwm-discuss@scwm.mit.edu>; Sun, 26 Dec 1999 23:19:14 +0100 (NFT)
Received: from cesco by mizar with local (Exim 3.03 #1 (Debian))
	id 122KAW-0000Q8-00
	for <scwm-discuss@SCWM.MIT.EDU>; Sun, 26 Dec 1999 21:21:32 +0100
Date: Sun, 26 Dec 1999 21:21:32 +0100
From: Francesco Tapparo <cesco@ntt.it>
To: Scwm listserv <scwm-discuss@scwm.mit.edu>
Subject: Re: Is Debian's unstable scwm terribly broken...
Message-ID: <19991226212132.A1601@ntt.it>
Reply-To: cesco@debian.org
Mail-Followup-To: Scwm listserv <scwm-discuss@SCWM.MIT.EDU>
References: <19991219150006.A16844@milwaukee> <19991219225624.A1165@ntt.it>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
In-Reply-To: <19991219225624.A1165@ntt.it>; from cesco@ntt.it on Sun, Dec 19, 1999 at 10:56:24PM +0100
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

On Sun, Dec 19, 1999 at 10:56:24PM +0100, Francesco Tapparo wrote:
> On Sun, Dec 19, 1999 at 03:00:06PM -0600, David J. Kanter wrote:
> > ...or is it me?
> 
> No, it's a bug in my package.
> My package works, but there is some bug exposed by your configuration.

To all the people having problems with scwm_0.99.5.1-2: I've uploaded
scwm_0.99.5.1-3; this should fix a lot (I hope) of configuration related bugs.
Here's the changelog:

scwm (0.99.5.1-3) unstable; urgency=low

  * update the menu generator (thanks for the hint to Greg Badros): now
    the menus are more pretty
  * begun the modularization of system.scwmrc: put the menus reader in a
    module (module sent upstream)
  * added a modified std-menus module, with new menus
  * added the directory /etc/X11/scwm/modules/app/scwm for the
    customized/added system modules
  * added a Reccomends: libguilegtk0, esound
  * added cassowary.txt, explaining the reason why scwm is not linked to
    the cassowary library
  * the Hyper bindings are now activated only if there is a Hyper key
  * added a gtkmessage module, so scwm does not need xmessage anymore: code
    sent upstream
  * added the "about scwm" menu entry (I've been removed because it did'nt
    work without xmessage)
  * added debhelper to the building dependences
  * removed doc-base support, because it is now in the scwm-doc package
  * removed Suggests: gqview; it was not really useful
  * added Suggests: scwm-doc
  * corrected type Build-depends: it is Build-Depends!

 -- Francesco Tapparo <cesco@debian.org>  Sat, 25 Dec 1999 11:19:25 +0100

Thanks for all the input I've received.

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

From owner-scwm-discuss@SCWM.MIT.EDU  Thu Dec 30 12:48:23 1999
Received: (from mjrdmo@localhost)
	by SCWM.MIT.EDU (8.8.7/8.8.7) id MAA04338
	for scwm-discuss-outgoing; Thu, 30 Dec 1999 12:48:23 -0500
X-Authentication-Warning: SCWM.MIT.EDU: mjrdmo set sender to owner-scwm-discuss@jetbaby.mit.edu using -f
Received: from news.ntt.it (w2.ntt.it [194.73.95.85])
	by SCWM.MIT.EDU (8.8.7/8.8.7) with ESMTP id MAA04335
	for <scwm-discuss@scwm.mit.edu>; Thu, 30 Dec 1999 12:48:18 -0500
Received: from mizar (r3p041.ntt.it [194.75.44.41]) by news.ntt.it (AIX4.2/UCB 8.7/8.7) with ESMTP id SAA29116 for <scwm-discuss@scwm.mit.edu>; Thu, 30 Dec 1999 18:48:37 +0100 (NFT)
Received: from cesco by mizar with local (Exim 3.03 #1 (Debian))
	id 123jjR-00004m-00
	for <scwm-discuss@scwm.mit.edu>; Thu, 30 Dec 1999 18:51:25 +0100
Date: Thu, 30 Dec 1999 18:51:25 +0100
From: Francesco Tapparo <cesco@ntt.it>
To: scwm-discuss@scwm.mit.edu
Subject: scwm.c
Message-ID: <19991230185125.A277@ntt.it>
Reply-To: cesco@debian.org
Mail-Followup-To: scwm-discuss@scwm.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
Sender: owner-scwm-discuss@SCWM.MIT.EDU
Precedence: bulk

I found some code in scwm.c, I do'nt understand:

It seems, scwm try to loca $HOME/.scwm.language-territory and
$HOME/.scwm.locale-fullname (if I18N is defined).

I do'nt understand what function have these files, even if I understand it's
something related to internationalization/locallization issues.

Thanks for every answer.

-- 
Francesco Tapparo				 |	cesco@debian.org
fight for your software freedoms: www.fsf.org    |      tapparo@mat.unimi.it

