From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/44269 Path: main.gmane.org!not-for-mail From: Benjamin Rutt Newsgroups: gmane.emacs.gnus.general Subject: Re: calendar interface for gnus-delay.el Date: Fri, 12 Apr 2002 11:55:24 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1018627233 8871 127.0.0.1 (12 Apr 2002 16:00:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 12 Apr 2002 16:00:33 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16w3TV-0002Iy-00 for ; Fri, 12 Apr 2002 18:00:33 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16w3P0-00036D-00; Fri, 12 Apr 2002 10:55:54 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 12 Apr 2002 10:56:04 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id KAA26518 for ; Fri, 12 Apr 2002 10:55:53 -0500 (CDT) Original-Received: (qmail 21101 invoked by alias); 12 Apr 2002 15:55:26 -0000 Original-Received: (qmail 21096 invoked from network); 12 Apr 2002 15:55:26 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 12 Apr 2002 15:55:26 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 16w3eq-0003Dc-00 for ; Fri, 12 Apr 2002 18:12:16 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 23 Original-NNTP-Posting-Host: gamma.cis.ohio-state.edu Original-X-Trace: quimby.gnus.org 1018627936 11602 164.107.112.13 (12 Apr 2002 16:12:16 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 12 Apr 2002 16:12:16 GMT X-Face: (&zE&hBC"G~kYNV6dt5#[X'%{!h5@/oUyc`CRNn#d6e2qi%~4N.?_ys_bQ3&7.* I'm a little worried that you are changing the calendar-mode-map. I > wonder if it is possible to do it another way. Good point. I restore the old keybindings when 'RET' or 'q' are pressed, but in the meantime, I have changed calendar-mode-map, which is probably bad. > Another possibility is to create a _new_ calendar buffer (is this > possible?), and then do (use-local-map (copy-keymap > calendar-mode-map)) in the new buffer and then (local-set-key ...). > Then "q" would kill the new buffer. Maybe I should try using define-derived-mode. I could invent a new mode called gnus-delay-calendar-mode. The buffer could start out in calendar mode, but then switch to gnus-delay-calendar-mode and only change the keybindings in that mode. I'll try something like that instead, so I don't change calendar-mode-map, even temporarily. -- Benjamin