From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9223 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Red Gnus 0.74: Undo menu in *Group* buffer Date: 16 Dec 1996 21:46:18 +0100 Sender: larsi@proletcult.slip.ifi.uio.no Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035149279 17133 80.91.224.250 (20 Oct 2002 21:27:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:27:59 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.4/8.8.4) with SMTP id MAA20905 for ; Mon, 16 Dec 1996 12:55:51 -0800 Original-Received: from proletcult.slip.ifi.uio.no (larsi@ppp13.larris.ifi.uio.no [129.240.68.113]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Mon, 16 Dec 1996 21:46:40 +0100 Original-Received: (from larsi@localhost) by proletcult.slip.ifi.uio.no (8.8.2/8.8.2) id VAA04440; Mon, 16 Dec 1996 21:46:27 +0100 Original-To: ding@ifi.uio.no In-Reply-To: Per Abrahamsen's message of 11 Dec 1996 09:25:36 +0100 Original-Lines: 35 X-Mailer: Red Gnus v0.76/Emacs 19.34 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > Lars Magne Ingebrigtsen writes: > > > Yup. However, the `undo' menu is installed in the minor mode map > > `gnus-undo-mode-map'. Is there any way to keep it in that map (so if > > the user switches the minor mode off the menu entry disappears), but > > display it in a more sensible position? > > Why is it a mode? Because it's something that can (theoretically) be switched on in all buffers. The group buffer (kinda) supports it now, but I think that the summary buffer should do so as well. So it makes sense to have it as a minor mode. > Anyway, I think you should just make it a normal entry that is > inactive if gnus-undo-mode is not set. > > I.e. > > [ "Undo" gnus-undo gnus-undo-mode ] That would be possible, but it would be nicer not to "hard-code" this. What's the magic incantation to insert a menu bar entry into some menu? I seem to be having some problems groking the menu code... (Hey! I got my ppp link back up! (And I learned how to talk to the Xyplex server at the same time.) Three awful, awful, *awful* days without any real contact with ifi's mail server. The horror of it all! *gack*) -- (domestic pets only, the antidote for overdose, milk.) larsi@ifi.uio.no * Lars Ingebrigtsen