all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [BUG] Use of period in org-read-date broken
@ 2015-10-23 14:41 Matt Lundin
  2015-10-23 15:26 ` Kyle Meyer
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Lundin @ 2015-10-23 14:41 UTC (permalink / raw)
  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 <kyle@kyleam.com>
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG] Use of period in org-read-date broken
  2015-10-23 14:41 [BUG] Use of period in org-read-date broken Matt Lundin
@ 2015-10-23 15:26 ` Kyle Meyer
  0 siblings, 0 replies; 2+ messages in thread
From: Kyle Meyer @ 2015-10-23 15:26 UTC (permalink / raw)
  To: Matt Lundin; +Cc: Org Mode

Matt Lundin <mdl@imapmail.org> writes:

> The commit e802936f4b39f8b1e56cc015f34aa655565afe7f broke the use of the
> period at the beginning of the minibuffer as a means to jump to the
> current day.

Thanks.  Fixed by 8c763ab.

--
Kyle

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-23 15:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-23 14:41 [BUG] Use of period in org-read-date broken Matt Lundin
2015-10-23 15:26 ` Kyle Meyer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.