all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Insignificant typo re: `C-c / T' coded cases?
@ 2014-04-20 23:31 Brady Trainor
  2014-04-21  7:26 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Brady Trainor @ 2014-04-20 23:31 UTC (permalink / raw)
  To: emacs-orgmode


Org-mode version 8.2.5h (8.2.5h-106-gfaa170-elpa @ 
c:/Users/user-name/AppData/Roaming/.emacs.d/elpa/org-20140414/)

TLDR version: Should `?T' not appear twice?

  ____________
/

(defun org-sparse-tree (&optional arg type)
...
(cond
...
  ((equal ans ?T)
   (org-show-todo-tree '(4)))
  ((member ans '(?T ?m))
   (call-interactively 'org-match-sparse-tree))
  ((member ans '(?p ?P))
...

\____________


Longer version: (if my confusion was not clear yet.)

In the above code from org.el, I don't understand what the (?T ?m) pair 
are doing, as there is a ?T in the previous block.

Wouldn't the second appearance of T never be checked for? If I press T, 
I should just get
     "Show entries with a specific TODO keyword."
and not
     "Show entries selected by a tags/property match."
which the m would give. (Sentences from describe function.)

Am I reading the code correctly?



Brady

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

* Re: Insignificant typo re: `C-c / T' coded cases?
  2014-04-20 23:31 Insignificant typo re: `C-c / T' coded cases? Brady Trainor
@ 2014-04-21  7:26 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2014-04-21  7:26 UTC (permalink / raw)
  To: Brady Trainor; +Cc: emacs-orgmode

Hello,

Brady Trainor <algebrat@uw.edu> writes:

> Org-mode version 8.2.5h (8.2.5h-106-gfaa170-elpa @
> c:/Users/user-name/AppData/Roaming/.emacs.d/elpa/org-20140414/)
>
> TLDR version: Should `?T' not appear twice?

This should be fixed. Thank you.


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2014-04-21  7:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-20 23:31 Insignificant typo re: `C-c / T' coded cases? Brady Trainor
2014-04-21  7:26 ` Nicolas Goaziou

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.