home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / alt / lucidem / help / 847 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.9 KB  |  59 lines

  1. Path: sparky!uunet!mcsun!Germany.EU.net!Informatik.Uni-Dortmund.DE!fbi-news!grossjoh
  2. From: grossjoh@petty.ls6.informatik.uni-dortmund.de (Kai Grossjohann)
  3. Newsgroups: alt.lucid-emacs.help
  4. Subject: The menu bar and the wicos package
  5. Date: 6 Jan 93 20:01:21
  6. Organization: Universitaet Dortmund, Lehrstuhl Informatik VI
  7. Lines: 45
  8. Distribution: world
  9. Message-ID: <GROSSJOH.93Jan6200121@petty.ls6.informatik.uni-dortmund.de>
  10. Reply-To: Kai Grossjohann <grossjoh@ls6.informatik.uni-dortmund.de>
  11. NNTP-Posting-Host: petty.informatik.uni-dortmund.de
  12. Comments: Hyperbole mail buttons accepted, v3.06.
  13.  
  14. Hi netters,
  15.  
  16. I use wicos and I like it a lot. Also I like the menu bar and its
  17. entry "Buffers". So I copied the relevant functions from menubar.el
  18. and adapted them so that they show a Wicos List. I also managed to
  19. install the new function in the activate-menubar-hook.
  20.  
  21. The problem is: How do I install the new menu item in the default menu
  22. bar? What I did so far is to put the following in my wico-menubar.el
  23. file:
  24.  
  25. ---
  26. (if (not (car (find-menu-item default-menubar (list wico-list-name))))
  27.     (setcdr default-menubar
  28.         (cons (list wico-list-name "" nil nil) (cdr default-menubar))))
  29. (setq current-menubar default-menubar)
  30. ---
  31.  
  32. However, I do not think that it is
  33.  
  34.    (a)    a good idea to always put the Wicos menu item second in the
  35.     menu bar --- what I really want is to put it next to the
  36.     "Buffers" menu item.
  37.  
  38.    (b)    a good idea to muck about with setcdr in this way --- if I
  39.     have to use something it should be safe and work with all
  40.     other packages that put something in the menu bar.
  41.  
  42.  
  43.     Thanks a lot,
  44.         Kai
  45.  
  46.  
  47.  
  48.  
  49. --
  50. --
  51.   Kai Grossjohann            Phone (voice): 49 231 75 30 15
  52.   Baroper Str. 331 App. 510  E-Mail: 
  53.   W-4600 Dortmund 50         grossjoh@ls6.informatik.uni-dortmund.de
  54.   Germany                    
  55. --
  56. There are two ways to solve this problem: the hard way, and the
  57. easy way. Let's start with the hard way.
  58.                         -- W. Schneider, from a Physics lecture
  59.