From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: [BUG] Use of period in org-read-date broken Date: Fri, 23 Oct 2015 09:41:11 -0500 Message-ID: <87a8r97im0.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpdWw-0005J8-JF for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 10:41:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpdWt-0007gF-Av for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 10:41:18 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:55426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpdWt-0007fa-4s for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 10:41:15 -0400 Received: from archdesk (wcnat-96-123.wheaton.edu [209.147.96.123]) by mail.messagingengine.com (Postfix) with ESMTPA id AA8966801E3 for ; Fri, 23 Oct 2015 10:41:11 -0400 (EDT) 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: Org Mode The commit e802936f4b39f8b1e56cc015f34aa655565afe7f broke the use of the period at the beginning of the minibuffer as a means to jump to the current day. Steps to replicate: 1. Evaluate (org-read-date) 2. Use Shift-Left to go to the previous date. 3. Type a period at beginning of minibuffer prompt. Expected behavior: The calendar should jump to the current day and no period should be inserted in the minibuffer. That is the behavior that always worked in the past and the behavior that is intended in lines 16772 to 16777 of org.el. Actual behavior: A period is inserted in the minibuffer and the calendar does not jump to the current day. Here is the problematic commit: --8<---------------cut here---------------start------------->8--- commit e802936f4b39f8b1e56cc015f34aa655565afe7f Author: Kyle Meyer Date: Sun Sep 27 12:27:52 2015 -0400 Pass LIMIT argument to org-looking-back * lisp/org-mouse.el (org-mouse-insert-item): (org-mouse-context-menu): * lisp/org-pcomplete.el (org-thing-at-point): * lisp/org.el (org-read-date-minibuffer-local-map): (org-timestamp-change): Provide LIMIT argument to org-looking-back. * lisp/org.el (org-read-date-minibuffer-local-map): (org-insert-heading): Replace looking-back with org-looking-back. As of Emacs 25, the LIMIT argument to looking-back is advertised as a required argument. --8<---------------cut here---------------end--------------->8--- Thanks, Matt