emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Bastien
Subject: Re: [O] [PATCH] Locally scope the variable `org-agenda-tag-filter' in `org-agenda-filter-by-tag'
Date: Sun, 14 Apr 2013 10:43:29 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Hi Muchenxuan,

sorry for the delay.  The patch isn't applicable anymore and it has
problems too.

Muchenxuan Tong <address@hidden> writes:

> * 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 global variable
> `org-agenda-tag-filter' is set. Thus, the variable
> `org-agenda-tag-filter' shouldn't be set in advance.
>
> Modifying the global one will be done anyway in
> `org-agenda-filter-apply', which happens after
> calling (org-agenda-entry-text-mode).

The main problem comes from mixing overlays from hiding entries
(through filtering) and from showing entry text.  I don't think there
is a simple solution to this, but let us know if you find one.

Thanks,

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]