[O] License issue for a clone in a commercial editor

2012-06-28 Thread Muchenxuan Tong
Hi. I just started a clone of some features of Org mode to the markdown mode of a commercial editor (Sublime Text 2); it's available at https://github.com/demon386/SmartMarkdown It's based on Python and until now I haven't referred to the implementation of Org. However, plan-text table is very

[O] [PATCH] Check org-timer-display in org-timer-set-mode-line when, value is 'off

2012-08-28 Thread Muchenxuan Tong
Check org-timer-display in org-timer-set-mode-line when value is 'off * lisp/org-timer.el (org-timer-set-mode-line): Check org-timer-display when value is 'off. This solves the error of (org-timer-set-mode-line 'off) when org-timer-display is 'mode-line. In this case frame-title-format may n

[O] Feature suggestion: VISIBILITY: n children

2013-01-03 Thread Muchenxuan Tong
Right now for 'VISIBILITY' property Org has the following options: folded, children, content, all I think one more flexible options--n children--would be useful (n is a integer) It restricts how many top children you can see under the current headline. This is inspired by Things for Mac app,

[O] [PATCH] Bug fix: delete indirect buffer's window only when it exists.

2013-01-21 Thread Muchenxuan Tong
Bug fix: delete indirect buffer's window only when it exists. * org-agenda.el (org-agenda-quit): Delete indirect buffer's window only when it exists. When indirect buffer's window doesn't exist, the original logic will delete the current window. TINYCHANGE diff --git a/lisp/org-agenda.el b/lisp/

Re: [O] [PATCH] Bug fix: delete indirect buffer's window only when it exists.

2013-01-21 Thread Muchenxuan Tong
Achim Gratz nexgo.de> writes: > > Muchenxuan Tong writes: > > Bug fix: delete indirect buffer's window only when it exists. > > * org-agenda.el (org-agenda-quit): Delete indirect buffer's window > > only when it exists. > > Introduces a ne

Re: [O] [PATCH] Bug fix: delete indirect buffer's window only when it exists.

2013-01-22 Thread Muchenxuan Tong
Ok. Thanks. On 22 Jan 2013, at 21:25, Bastien wrote: > Hi Muchenxuan, > > Muchenxuan Tong writes: > >> Thanks for pointing out. It's my fault, when-let is defined in slime.el >> and not the Emacs core library. >> >> The following patch should be OK: &

[O] Bug: CLOCK_MODELINE_TOTAL and org-todo-yesterday

2012-02-17 Thread Muchenxuan Tong
*as if the task is done today*, which is not desirable. By: Muchenxuan Tong

[O] Bug: Falsely identify Table formula as INVISIBLE target

2012-03-14 Thread Muchenxuan Tong
disappear. I think this is caused by the functions in org-exp.el falsely identifies the formula as INVISIBLE target. By: Muchenxuan Tong

Re: [O] Feature: Group and limit items in agenda

2013-02-10 Thread Muchenxuan Tong
at 6:41 PM, Bastien wrote: > Hi Muchenxuan, > > Muchenxuan Tong writes: > > > * Motivation > > - Sacha Chua proposed a solution for viewing top three tasks by > > context ( > http://sachachua.com/blog/2012/12/emacs-org-display-subset-tasks-context/) > > - In

Re: [O] Feature: Group and limit items in agenda

2013-02-16 Thread Muchenxuan Tong
can use defadvice anyway :) On Mon, Feb 11, 2013 at 9:42 PM, Bastien wrote: > Hi Muchenxuan, > > Muchenxuan Tong writes: > > > My intention is to limit the number of tasks in each category. > > Did you check (info "(org)Block Agenda") ? > > That's the way I

[O] [PATCH] Locally scope the variable `org-agenda-tag-filter' in `org-agenda-filter-by-tag'

2013-03-20 Thread Muchenxuan Tong
* lisp/org-agenda.el: Introduce a local variable tag-filter to replace the global variable `org-agenda-tag-filter'. This relates to the bug when trying to filter by tag in agenda view with entry-text shown. In `org-agenda-filter-apply' -> `org-agenda-entry-text-mode', it shows error when the glo

[O] Bug: Append new heading when :END: exists

2013-04-22 Thread Muchenxuan Tong
1. Assume that the content is: * Hello :LOGBOOK: - Note taken on [2013-04-22 Mon 16:57] \\ hello :END: 2. Fold it, so that it becomes * Hello… 3. Put the cursor at the end of the heading, and press M-RET or C-RET * Hello…(here) The new "*" will be in the beginning of :END:, which is in

Re: [O] Bug: Append new heading when :END: exists

2013-04-22 Thread Muchenxuan Tong
I checked the code of `org-insert-heading'. One potential factor: when folded, and putting cursor and the end of heading, the cursor is supposed to be :END: (here) and it's not judged as a heading. On Tue, Apr 23, 2013 at 2:57 AM, Bastien wrote: > I'm tempted to apply the following patch, as

Re: [O] Bug: Append new heading when :END: exists

2013-04-24 Thread Muchenxuan Tong
Cool! Thanks! On Wed, Apr 24, 2013 at 3:57 PM, Bastien wrote: > Hi Muchenxuan, > > Muchenxuan Tong writes: > > > 1. Assume that the content is: > > * Hello > > :LOGBOOK: > > - Note taken on [2013-04-22 Mon 16:57] \\ > > hello > >

[O] [PATCH] save-restriction in `org-mobile-push'

2013-07-18 Thread Muchenxuan Tong
* lisp/org-mobile.el (org-mobile-push): add `save-restriction' The fact that pushing org-file loses my narrow context annoys me. TINYCHANGE --- lisp/org-mobile.el | 35 ++- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/lisp/org-mobile.el b/lisp/o

[O] [PATCH] org-mac-link: Improve grabbing behavior for Chrome.

2014-03-22 Thread Muchenxuan Tong
* contrib/lisp/org-mac-link.el (org-as-mac-chrome-get-frontmost-url): Improve AppleScript used for grabbing information from Chrome. Now it's shorter and doesn't require switching to the app. Also, starting and ending quote are trimmed only when necessary. --- contrib/lisp/org-mac-link.el |