From xemacs-m  Mon Jun 23 15:57:51 1997
Received: from bittersweet.inetarena.com (karlheg@bittersweet.inetarena.com [206.129.216.38])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id PAA03808
	for <xemacs-beta@xemacs.org>; Mon, 23 Jun 1997 15:57:49 -0500 (CDT)
Received: (from karlheg@localhost)
	by bittersweet.inetarena.com (8.8.5/8.8.5) id NAA05847;
	Mon, 23 Jun 1997 13:56:55 -0700
To: Hrvoje Niksic <hniksic@srce.hr>
Cc: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: [PATCH] winmgr-mode
References: <kigd8pdjuud.fsf@jagor.srce.hr>
X-Face: /Q}=yl}1_v7nP)xXo5XjG8+tl@=uVu7o5u6)f]zN?+<hB!K.m9:[|*p34jVN`O;:XZXVSy>/\R>qDt(t8w!-i{(y0"`jFw^uk8inzO9wXabd'CdjUWfC\GHi:6nO*YC89#-qD>Q4r%9!V"<RYJ=7D#$";q=zML5'!=wvXk^$`6FT=5CMofQX)WUKt0p:OKl.mFOXx/D
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: karlheg@inetarena.com (Karl M. Hegbloom)
Date: 23 Jun 1997 13:56:55 -0700
In-Reply-To: Hrvoje Niksic's message of "23 Jun 1997 15:46:02 +0200"
Message-ID: <87en9tavhk.fsf@bittersweet.inetarena.com>
Lines: 41
X-Mailer: Gnus v5.4.59/XEmacs 20.3(beta8) - "Copenhagen"


 I've added one.  This will be fairly universal on Debian Linux
systems with Fvwm2 installed.  I don't know about other window
managers, other Linux distributions, or other unices, though.

 It should be made to fit more systems; if everyone would send the
location of the directory where their window manager files are, in
cases where it's not just one file matched by the patterns already
given by Hrvoje, I'll add them.

 On Debian, we have a subdirectory with window manager configuration
files that are read by the main "/etc/X11/fvwm2/system.fvwm2rc"
file.[1] It reads system wide ones, as well as user-customized
versions in their "~/.fvwm2/" directories.  When a package is
installed, it places a menu definition file in a subdirectory of
"/usr/lib/", and runs a tool that generates a menu entry for fvwm2, as
well as for any html or Info documentation. The files there are named
with "*.hook" suffixes.


--- files.el~	Mon Jun 23 13:20:10 1997
+++ files.el	Mon Jun 23 13:27:15 1997
@@ -1223,6 +1223,7 @@
     ("/app-defaults/" . xrdb-mode)
     ("\\.[^/]*wm\\'" . winmgr-mode)
     ("\\.[^/]*wm2?rc" . winmgr-mode)
+    ("/\\.fvwm2/\\|/X11/fvwm2/" . winmgr-mode)
     )
 "Alist of filename patterns vs. corresponding major mode functions.
 Each element looks like (REGEXP . FUNCTION) or (REGEXP FUNCTION NON-NIL).


Footnotes: 
[1]  It's not using m4 yet.


-- 
Karl M. Hegbloom <karlheg@inetarena.com>           finger or ytalk:
http://www.inetarena.com/~karlheg           karlheg@bittersweet.inetarena.com
Portland, OR  USA
Debian GNU 1.3  Linux 2.1.36 AMD K5 PR-133

