From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.help Subject: Re: Inserting Schedule in Org-Mode requires calendar buffer Date: Wed, 18 Nov 2020 02:32:41 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8692"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Cc: Help Gnu Emacs To: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 18 00:33:42 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kfATm-000284-C6 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 18 Nov 2020 00:33:42 +0100 Original-Received: from localhost ([::1]:49184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfATl-0004m2-Ch for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 17 Nov 2020 18:33:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfASx-0004lk-4o for help-gnu-emacs@gnu.org; Tue, 17 Nov 2020 18:32:51 -0500 Original-Received: from static.rcdrun.com ([95.85.24.50]:50225) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfASv-0005iw-BO for help-gnu-emacs@gnu.org; Tue, 17 Nov 2020 18:32:50 -0500 Original-Received: from localhost ([::ffff:41.202.241.56]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002C0007.000000005FB45D9E.000071A9; Tue, 17 Nov 2020 23:32:45 +0000 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=95.85.24.50; envelope-from=bugs@gnu.support; helo=static.rcdrun.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/17 15:48:56 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125325 Archived-At: * Christopher Dimech [2020-11-18 01:59]: SCHEDULED: <2020-11-18 Wed> > > Sent: Tuesday, November 17, 2020 at 11:13 PM > > From: "Jean Louis" > > To: "Christopher Dimech" > > Cc: "Help Gnu Emacs" > > Subject: Re: Inserting Schedule in Org-Mode requires calendar buffer > > > > * Christopher Dimech [2020-11-18 01:07]: > > > > Sent: Tuesday, November 17, 2020 at 11:02 PM > > > > From: "Jean Louis" > > > > To: "Christopher Dimech" > > > > Cc: "Help Gnu Emacs" > > > > Subject: Re: Inserting Schedule in Org-Mode requires calendar buffer > > > > > > > > * Christopher Dimech [2020-11-18 00:56]: > > > > > When I want to insert a schedule in Org-Mode, I need to have the > > > > > calendar buffer in emacs to work. Is there some customary way > > > > > that people include in their init file for emacs. > > > > > > > > When inserting schedule item with C-c C-s the calendar buffer is > > > > opening automatically. Do you see it opening automatically? > > > > > > The problem occurs when hitting 'C-c <'. > > > > On my side it just inserts in the buffer: <2020-11-18 Wed> but does > > not ask me automatically for calendar to be chosen. The documentation says: > > > > ‘C-c <’ (‘org-date-from-calendar’) > > Insert a timestamp corresponding to point date in the calendar. > > Suppose I load Emacs and hit 'C-c <' > > Emacs tells me "No buffer named *Calendar*" Now I get it, I can also see that. I can also observe when I first enter schedule with C-c C-s then calendar buffer disappears and right after I could use C-c < That means you need to open at least one time calendar as function C-c < must somehow get where the cursor is in calendar buffer or where the cursor was in calendar buffer. Namely when I insert schedule with C-c C-s and insert date, the calendar buffer is not killed or removed, it is still activated rather buried that I do not see it. That is why the function C-c < works as it looks into calendar buffer that is there but not visible in front of me. I do not think that is any bug. Open calendar buffer and then invoke the function.