From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: Re: < should also do scroll-calendar-right-three-months Date: Mon, 25 Jul 2005 09:45:15 -0600 Message-ID: References: <87ek9z6353.fsf@jidanni.org> <87vf328n3c.fsf@jidanni.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1122306475 22016 80.91.229.2 (25 Jul 2005 15:47:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Jul 2005 15:47:55 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 25 17:47:54 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dx5AH-0005MX-Rt for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Jul 2005 17:46:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dx5CV-00034t-Cz for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Jul 2005 11:49:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dx5CL-0002yG-S1 for bug-gnu-emacs@gnu.org; Mon, 25 Jul 2005 11:48:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dx5CI-0002wk-8m for bug-gnu-emacs@gnu.org; Mon, 25 Jul 2005 11:48:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dx5CI-0002wa-0u for bug-gnu-emacs@gnu.org; Mon, 25 Jul 2005 11:48:54 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Dx5KQ-0004JB-GK for bug-gnu-emacs@gnu.org; Mon, 25 Jul 2005 11:57:18 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Dx59a-0005F7-JL for bug-gnu-emacs@gnu.org; Mon, 25 Jul 2005 17:46:06 +0200 Original-Received: from 207.167.42.60 ([207.167.42.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Jul 2005 17:46:06 +0200 Original-Received: from ihs_4664 by 207.167.42.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Jul 2005 17:46:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Lines: 31 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.60 User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: <87vf328n3c.fsf@jidanni.org> X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:12593 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:12593 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 /, 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