unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: < should also do scroll-calendar-right-three-months
Date: Mon, 25 Jul 2005 09:45:15 -0600	[thread overview]
Message-ID: <dc31ec$kuk$1@sea.gmane.org> (raw)
In-Reply-To: <87vf328n3c.fsf@jidanni.org>

Dan Jacobson wrote:
 > rms> What is this in reference to?
 >
 > I'm saying do M-x calendar, see the three months at the bottom half of
 > the screen.  At this point I want the < and > keys to go to the
 > previous and future three months respectively.
 >
 > That is, in the default key assignments
 > "<" should also do scroll-calendar-right-three-months
 > ">" should also do scroll-calendar-left-three-months

1. Those commands are already bound by default to M-v/C-v and
    <prior>/<next>, and you can also get the same effect from
    M-3 C-x < and M-3 C-x >.

2. Who's to say the scrolling commands are the best commands to bind to
    < and >?  (Note that calendar-beginning-of-year and
    calendar-end-of-year are bound to M-< and M->.)  Why do the < and >
    keys need to be bound?

3. DIY:

(add-hook 'calendar-load-hook
           (lambda ()
             (define-key calendar-mode-map "<"
               'scroll-calendar-right-three-months)
             (define-key calendar-mode-map ">"
               'scroll-calendar-left-three-months)))

-- 
Kevin Rodgers

      reply	other threads:[~2005-07-25 15:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-15 23:49 < should also do scroll-calendar-right-three-months Dan Jacobson
     [not found] ` <E1DvSCx-0005h7-Vl@fencepost.gnu.org>
2005-07-22 22:58   ` Dan Jacobson
2005-07-25 15:45     ` Kevin Rodgers [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='dc31ec$kuk$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).