Gnus development mailing list
 help / color / mirror / Atom feed
From: Benjamin Rutt <rutt+news@cis.ohio-state.edu>
Subject: Re: calendar interface for gnus-delay.el
Date: Fri, 12 Apr 2002 11:55:24 -0400	[thread overview]
Message-ID: <wc3zo08lxn7.fsf@gamma.cis.ohio-state.edu> (raw)
In-Reply-To: <vafit6xglku.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de>

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> 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



  reply	other threads:[~2002-04-12 15:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-09  4:15 Benjamin Rutt
2002-04-12 12:14 ` Kai Großjohann
2002-04-12 15:55   ` Benjamin Rutt [this message]
2002-04-12 16:56     ` Kai Großjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wc3zo08lxn7.fsf@gamma.cis.ohio-state.edu \
    --to=rutt+news@cis.ohio-state.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).