[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

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 b...@gnu.org wrote: I'm tempted to apply the

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 b...@gnu.org wrote: Hi Muchenxuan, Muchenxuan Tong demon...@gmail.com writes: 1. Assume that the content is: * Hello :LOGBOOK: - Note taken on [2013-04-22 Mon 16:57] \\ hello :END: 2. Fold it, so

[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

[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 |

[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

[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

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

2013-01-21 Thread Muchenxuan Tong
Achim Gratz Stromeko at 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 new bug: when-let is not defined in GNU Emacs. Regards

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 demon...@gmail.com 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: I've applied the patch. Please do

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

2013-02-16 Thread Muchenxuan Tong
: Hi Muchenxuan, Muchenxuan Tong demon...@gmail.com 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 would suggest: define a block agenda listing the various categories, then use `org-agenda-max-todos' in each

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

2012-03-14 Thread Muchenxuan Tong
by the functions in org-exp.el falsely identifies the formula as INVISIBLE target. By: Muchenxuan Tong

[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