home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / msdos / programm / 9085 < prev    next >
Encoding:
Text File  |  1992-09-08  |  2.3 KB  |  66 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!usc!sol.ctr.columbia.edu!eff!world!levin
  3. From: levin@world.std.com (Levin F Magruder)
  4. Subject: Recommendation on editor for C / Brief only $99 now
  5. Message-ID: <Bu4BEy.91@world.std.com>
  6. Organization: The World Public Access UNIX, Brookline, MA
  7. Date: Sat, 5 Sep 1992 18:30:34 GMT
  8. Lines: 56
  9.  
  10.  
  11. I know/think there's a editors group, but in my opinion this
  12. is a msdos question.  Flame by mail, if necessary.  Thanks.
  13.  
  14. The only programming I do is in C.  What I'd really like is
  15. an emacs clone that works right, but I've given up on DEMACS.
  16. I would keep trying with DEMACS if it ran right under DesqView,
  17. but it still doesn't, right?
  18.  
  19. I've tried qedit, and don't like it.  The version I tried is
  20. about three years old, does anyone think much of it, if it's
  21. changed much since?  (As I recall, you couldn't even write a
  22. macro that would, say, ask for a string at the time of running
  23. the macro, search for that string and do something.)
  24.  
  25. I tried an editor call PE (perfect editor, shareware) and 
  26. dislike it.  Same problem with macros, and it's irritating in
  27. how it handles the ring of loaded files.  I'm forever accidentally
  28. renaming files and quitting files.
  29.  
  30. Brief is on sale from Borland now.  I'd still rather not spend
  31. the $99, but if it's as good as its reputed to be, I guess
  32. I'd take the plunge.  
  33.  
  34. My main criteria is that it can automatically handle braces, etc.
  35. (You'd think that would be simple enough, but I've never been
  36. pleased with the way any editor does it...) and have a quick to
  37. learn and flexible macro language.  And work under Desqview.
  38.  
  39. Those of you who use brief, does it meet these criteria?  Other
  40. suggestions are welcome, bearing in mind that I begrudge even
  41. $99 expense.  I am not a professional programmer, I write little
  42. filters and things like that.
  43.  
  44. An example of how I write follows.  I think it's pretty standard
  45. and auto formatting should be able to indulge my preferences...
  46.  
  47. int proc(char *arg)
  48. {
  49.   char localc ;
  50.   char *cp ;
  51.  
  52.   while(*cp != arg)
  53.   {
  54.     dothis(*cp) ;
  55.     getanother(cp) ;
  56.     eflag = estat(*cp) ;
  57.    }
  58.   
  59.    return(something) ;
  60. }
  61.  
  62. I would like to be able to make it autoexpand ); to ) ; and
  63. }\n to }\n\n if the first non-white char after } \n is not }.
  64.  
  65. Thanks for suggestions.
  66.