From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Danny YUE Newsgroups: gmane.emacs.help Subject: Re: Key bindings for org calendar selection Date: Tue, 21 Mar 2017 20:42:43 +0800 Message-ID: <87var2n6m4.fsf@gmail.com> References: <87zigg843u.fsf@gmail.com> <12738593-2f19-0d49-1d6c-f3b1ffaddfc3@xgm.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1490100265 26779 195.159.176.226 (21 Mar 2017 12:44:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 21 Mar 2017 12:44:25 +0000 (UTC) User-Agent: mu4e 0.9.18; emacs 25.2.1 Cc: Florian Lindner , Help Gnu Emacs mailing list To: Filipe Silva Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 21 13:44:19 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqJ95-0005kr-E9 for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Mar 2017 13:44:15 +0100 Original-Received: from localhost ([::1]:39375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqJ9B-0001rL-04 for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Mar 2017 08:44:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqJ8j-0001rB-78 for help-gnu-emacs@gnu.org; Tue, 21 Mar 2017 08:43:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqJ8e-00038s-Tk for help-gnu-emacs@gnu.org; Tue, 21 Mar 2017 08:43:53 -0400 Original-Received: from mail-pf0-x22a.google.com ([2607:f8b0:400e:c00::22a]:34180) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cqJ8e-00037B-Nj for help-gnu-emacs@gnu.org; Tue, 21 Mar 2017 08:43:48 -0400 Original-Received: by mail-pf0-x22a.google.com with SMTP id p189so56576996pfp.1 for ; Tue, 21 Mar 2017 05:43:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=DuL2cf/PpR7gtWhUrV428vCjUYZE2Izicls6Ul/7TsA=; b=RBvcTo9yKnp3yAell9ZBveOxycC+0XMLlsznx58Aqrcwz8fQM4Uk0MXiLwdTsyZabn 4+UrxKZro4W3Oh4xnGZIsffD3lyz42xoksk0wFkGtS4NbpOfsyOV3v+HKzMdgmJD4A4o cTvzyi86ZjWNkOruuzrTrt8JXZDiNl0JeVHpkF+n6WH8I2rNrgFp2LIBuqAM6r2+mlYT E2n3yX9LpvfiZfjijbJ6P+8lEHTx8qJ8Pi6k1MCYvk3MQwbzWkTRux4WK94Qaq+OKptT dGtAbz2Tmxicg2MEnIr2MdLPaAiUSeJkc1qrax+t00U6sl4tE4VfREaYetznVGAMyaSV cbaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=DuL2cf/PpR7gtWhUrV428vCjUYZE2Izicls6Ul/7TsA=; b=kc363ooWKTNVJsr6D7WzGZkVZG0tQ5kiKH6xJwdZHAwwAqZy2RSpUdB22Fp8VIgLdW C5N4Um2lV9RRSHw96EQwODDJq7zERa58QNSNJFZScCYQBe+Qzt9gCARMJABh3M0aURpE Z//NJPwDrB1Azm0nnR1uuFu2S/q7Pnuh0gI4DhD/FaAo+5Hp7vCYAM6wZMzRHLlAmh/G sSA29gpTYjh+R/FotE7omQRG5uBd+SBXRd3u4Mg31LG+8xx4fIhfkPyXeKvTvvFC44q+ rUwP0oFjGzjQTFzVH4Z+gxrJOHA3TPs7g20TOCXSZ8KZQ7WVSQbpuWBHorZhA7anlwH7 POzw== X-Gm-Message-State: AFeK/H29tzLjKcfUHTQPY4FuIT1Hgp4tSRfge6FGH7AC5ZR0erYsXHZVZMZlxB4OvHt+YA== X-Received: by 10.98.223.76 with SMTP id u73mr39984114pfg.147.1490100227468; Tue, 21 Mar 2017 05:43:47 -0700 (PDT) Original-Received: from localhost (23.83.238.120.16clouds.com. [23.83.238.120]) by smtp.gmail.com with ESMTPSA id x15sm39891258pgc.16.2017.03.21.05.43.45 (version=TLS1_2 cipher=AES128-GCM-SHA256 bits=128/128); Tue, 21 Mar 2017 05:43:46 -0700 (PDT) In-reply-to: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::22a X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112619 Archived-At: Seriously...I have never known this before. Thanks for that. By the way Florian, just to make it clear - when I said "shortcut" I mean the mini-language. Sorry for the misunderstanding. You are right. "+2w +3d" does not work, you have to "+17d", which seems to be stupid sometimes... I personally usually just look at the small calendar and type a date, such as 3/21 or 3-21 and it will be recognized. Danny On 2017-03-21 10:00, Filipe Silva wrote: > for completeness, the section you are interested in is here: > > Choose date at cursor in calendar. > mouse-1 Select date by clicking on it. > * S-/ One day forward/backward. > S-/ One week forward/backward.* > M-S-/ One month forward/backward. > > / < Scroll calendar forward/backward by one month. > M-v / C-v Scroll calendar forward/backward by 3 months. > M-S-/ Scroll calendar forward/backward by one year. > > > On Tue, Mar 21, 2017 at 6:58 AM, Filipe Silva > wrote: > >> Yes I've suffered with that too. The org-manual is not really crystal >> clear about this, but here you go: http://orgmode.org/manual/The- >> date_002ftime-prompt.html#The-date_002ftime-prompt >> >> basically, you can move around in the calendar using: shift + an arrow >> key. Also you have the entire calendar mini language at your disposal. >> >> >> >> >> On Tue, Mar 21, 2017 at 5:10 AM, Florian Lindner >> wrote: >> >>> Am 20.03.2017 um 14:33 schrieb Danny YUE: >>> > Well, >>> >>> Hey, >>> >>> > I think that small calendar is only for your convenience to see the date >>> > you choose, not really a interactive date picker... >>> > >>> > For me, I always uses the shortcut for dates. For example "+1w" chooses >>> > the same day in next week, "+1d" for the next day etc. >>> >>> How can I set the date to 2 weeks and 3 days in future? "+2w +3d" does >>> not work, it ignores the +2d. How can I move to a >>> date, without selecting it and closing the picker? >>> >>> > Seriously if you get to know the meaning of shortcuts, org way will be >>> > definitely faster than moving around in a calendar. :-) >>> >>> Well, I try to learn these shortcuts, but find them documented nowhere. >>> As I said, the shortcuts from the Emacs calendar >>> did not work, neither do work the shortcuts from the interactive org-mode >>> calendar help. >>> >>> Are you aware of any documentation of shortcuts for the calendar? >>> >>> Best, >>> Florian >>> >>> > Danny >>> > >>> > >>> > On 2017-03-20 13:24, Florian Lindner wrote: >>> >> This is a cross-post from emacs.orgmode, since I got no replies for 3 >>> weeks. >>> >> >>> >> Hello, >>> >> >>> >> the usual emacs calendar (M-x calendar) can be controlled using these >>> key bindings: >>> >> https://www.gnu.org/software/emacs/manual/html_node/emacs/Ca >>> lendar-Unit-Motion.html >>> >> >>> >> But how can the calendar be controlled when invoked by org-mode, e.g. >>> by C-c C-s to set a scheduled date on an entry? >>> >> The key bindings from standard calendar do not work, neither editing >>> the mini buffer works out. >>> >> >>> >> Thanks, >>> >> Florian >>> > >>> > >>> > >>> >>> >>> >>> >>