From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Timestamp: Forward or backward by a week Date: Tue, 15 May 2012 10:57:47 -0400 Message-ID: <4031.1337093867@alphaville> References: <3306.1337090863@alphaville> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUJCF-0006VF-VP for emacs-orgmode@gnu.org; Tue, 15 May 2012 10:58:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUJCA-0004qE-QJ for emacs-orgmode@gnu.org; Tue, 15 May 2012 10:57:55 -0400 Received: from g1t0029.austin.hp.com ([15.216.28.36]:17057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUJCA-0004oX-L7 for emacs-orgmode@gnu.org; Tue, 15 May 2012 10:57:50 -0400 In-Reply-To: Message from SW of "Tue\, 15 May 2012 14\:24\:42 -0000." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: SW Cc: emacs-orgmode@gnu.org SW wrote: > Nick Dokos hp.com> writes: > > > > Should I just bind ``C-u 7 S-right`` and ``C-u 7 S-left``? > > > I wouldn't bother but I'm not you: if you really want to, you can > > define a trivial function > > > > (defun sw-one-week-bump () > > (org-timestamp-up-day 7)) > > > > and bind it. > > > > (info "(emacs) Customizing Key Bindings") > > > > > PS. Not sure how much emacs you know - if any/all of this is obvious, > > please disregard. > > :) Thanks. I'm an "advanced beginner" with Emacs, so the example was helpful. > > Aside: Hitting ``M-: (info "(emacs) Customizing Key Bindings")`` gives me an > error about the info file not existing. I installed Emacs 23.2.1 in CrunchBang > Linux (Debian Stable) and (IIRC) org-mode 7.8.06 via a Debian package. Any ideas? > I don't know if there is a separate doc package on your distro (or any distro for that matter): I generally install emacs from source and both the emacs and elisp info files are built and installed along with it. Nick PS. C-x C-e will evaluate a form in any bufferm, with no need for ``M-: foo RET''