home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.elm
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!gatech!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sun4nl!fwi.uva.nl!janw
- From: janw@fwi.uva.nl (Jan Wortelboer)
- Subject: Re: Elm 2.4 PL6: "Saving" from Options menu screws up weedout list
- Message-ID: <1992Nov6.134537.10538@fwi.uva.nl>
- Sender: news@fwi.uva.nl
- Nntp-Posting-Host: mail.fwi.uva.nl
- Organization: FWI, University of Amsterdam
- References: <Bx9rD3.IJM@unix.amherst.edu>
- Date: Fri, 6 Nov 1992 13:45:37 GMT
- Lines: 48
-
- twpierce@unix.amherst.edu (Tim Pierce) writes:
-
- >We've noticed now that *every* time you hit `>' from the Options menu
- >to save your options in elmrc, Elm prepends the user's personal
- >weedout list with a copy of all the options in the global elm.rc. If
- >you do this three or four times, your weedout list becomes too long to
- >enter Elm, and you have to edit elmrc manually. No other elmrc option
- >appears to be adversely affected by `>'.
-
- >Our environment is a DECstation 5000/240 with Ultrix 4.2a and Elm 2.4
- >PL6.
-
- This is correct, (eh a bug). It duplicates the entry's from the global
- elm.rc. I have a simple patch to correct this.
- It will however still copy the global weedout headers to your local
- elmrc if they where not already in it.
-
- Jan.
-
- Elm Version and Identification Information:
-
- Elm 2.4 PL6, of October 1, 1992
-
-
- *** src/read_rc.c.dist Wed Oct 28 10:59:51 1992
- --- src/read_rc.c Fri Nov 6 14:20:08 1992
- ***************
- *** 691,698 ****
- --- 691,700 ----
- for (i=0, len = strlen(header); i< len; i++)
- if (header[i] == '_') header[i] = ' ';
-
- + if(!matches_weedlist(header)) {
- strcpy(weedlist[weedcount], header);
- weedcount++;
- + }
- /* since this used both for system defaults and user's */
- if (equal(header, "*end-of-defaults*")) break;
- }
-
-
-
-
- --
- Jan Wortelboer, University of Amsterdam
- Computer Science Department Email: janw@fwi.uva.nl
- Unix Kruislaan 403 Kamer F003 Phone: +31 20 525 7501
- systems manager 1098 SJ AMSTERDAM Fax : +31 20 525 7490
-