home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / mail / elm / 3198 < prev    next >
Encoding:
Text File  |  1992-11-07  |  2.1 KB  |  61 lines

  1. Newsgroups: comp.mail.elm
  2. 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
  3. From: janw@fwi.uva.nl (Jan Wortelboer)
  4. Subject: Re: Elm 2.4 PL6: "Saving" from Options menu screws up weedout list
  5. Message-ID: <1992Nov6.134537.10538@fwi.uva.nl>
  6. Sender: news@fwi.uva.nl
  7. Nntp-Posting-Host: mail.fwi.uva.nl
  8. Organization: FWI, University of Amsterdam
  9. References: <Bx9rD3.IJM@unix.amherst.edu>
  10. Date: Fri, 6 Nov 1992 13:45:37 GMT
  11. Lines: 48
  12.  
  13. twpierce@unix.amherst.edu (Tim Pierce) writes:
  14.  
  15. >We've noticed now that *every* time you hit `>' from the Options menu
  16. >to save your options in elmrc, Elm prepends the user's personal
  17. >weedout list with a copy of all the options in the global elm.rc.  If
  18. >you do this three or four times, your weedout list becomes too long to
  19. >enter Elm, and you have to edit elmrc manually.  No other elmrc option
  20. >appears to be adversely affected by `>'.
  21.  
  22. >Our environment is a DECstation 5000/240 with Ultrix 4.2a and Elm 2.4
  23. >PL6.
  24.  
  25. This is correct, (eh a bug). It duplicates the entry's from the global
  26. elm.rc. I have a simple patch to correct this.
  27. It will however still copy the global weedout headers to your local
  28. elmrc if they where not already in it.
  29.  
  30. Jan.
  31.  
  32. Elm Version and Identification Information:
  33.  
  34.         Elm 2.4 PL6, of October 1, 1992
  35.  
  36.  
  37. *** src/read_rc.c.dist    Wed Oct 28 10:59:51 1992
  38. --- src/read_rc.c    Fri Nov  6 14:20:08 1992
  39. ***************
  40. *** 691,698 ****
  41. --- 691,700 ----
  42.           for (i=0, len = strlen(header); i< len; i++)
  43.             if (header[i] == '_') header[i] = ' ';
  44.   
  45. +             if(!matches_weedlist(header)) {
  46.           strcpy(weedlist[weedcount], header);
  47.           weedcount++;
  48. +         }
  49.   /* since this used both for system defaults and user's */
  50.           if (equal(header, "*end-of-defaults*")) break;
  51.         }
  52.  
  53.  
  54.  
  55.  
  56. -- 
  57. Jan Wortelboer,  University of Amsterdam
  58.                  Computer Science Department  Email: janw@fwi.uva.nl
  59. Unix             Kruislaan 403 Kamer F003     Phone: +31 20 525 7501
  60. systems manager  1098 SJ AMSTERDAM            Fax  : +31 20 525 7490
  61.