From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daimrod Subject: Re: Filters lost after reviving buried, sticky agenda Date: Tue, 23 Jun 2015 11:15:45 +0200 Message-ID: <87wpyuwzsu.fsf@gmail.com> References: <877fssro5z.fsf@tu-dresden.de> <87bng9rrm1.fsf@gmail.com> <87twtzho03.fsf@pierrot.dokosmarshall.org> <871th2yfo5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7KJ8-0005rc-Q1 for emacs-orgmode@gnu.org; Tue, 23 Jun 2015 05:15:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7KJ5-0006Iv-UI for emacs-orgmode@gnu.org; Tue, 23 Jun 2015 05:15:54 -0400 Received: from smtptls1-lmb.cpub.univ-nantes.fr ([193.52.103.110]:46446 helo=smtp-tls.univ-nantes.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7KJ5-0006Ic-8I for emacs-orgmode@gnu.org; Tue, 23 Jun 2015 05:15:51 -0400 In-Reply-To: <871th2yfo5.fsf@gmail.com> (daimrod@gmail.com's message of "Tue, 23 Jun 2015 10:47:38 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: emacs-orgmode@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Err, I should have tested it before sending the patch, sorry. Here is an updated version of the second patch : --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0002-lisp-org-agenda.el-Fix-non-persistent-category-filte.patch Content-Transfer-Encoding: quoted-printable From=2011ef3cc8dd804a9498edc856350d5e57d9ce3fff Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Gr=3DC3=3DA9goire=3D20Jadi?=3D Date: Tue, 23 Jun 2015 10:42:25 +0200 Subject: [PATCH 2/2] lisp/org-agenda.el: Fix non-persistent category filters in sticky agenda * lisp/org-agenda.el (org-agenda-prepare): Use the correct key for category filter. `org-agenda-prepare-window' uses 'cat whereas `org-agenda-prepare' used 'ca= r. =2D-- lisp/org-agenda.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index a07eead..32509a5 100644 =2D-- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -3647,7 +3647,7 @@ FILTER-ALIST is an alist of filters we need to apply = when (list `(tag . ,org-agenda-tag-filter) `(re . ,org-agenda-regexp-filter) `(effort . ,org-agenda-effort-filter) =2D `(car . ,org-agenda-category-filter)))))) + `(cat . ,org-agenda-category-filter)))))) (if (org-agenda-use-sticky-p) (progn (put 'org-agenda-tag-filter :preset-filter nil) =2D-=20 1.9.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Best, =2D-=20 Daimrod/Greg --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJViSPBAAoJEBNzVHcrZRiUk3sP/ij9jPjGLZvEccXCycNWB0Zw WkyfbPZrpiCu5U+0yA2bJd7KqdES6zORz5iWJRi6GGAco6oOzlGrfpz2nOdh+dj8 IfQeUCU507W6miL/LLuc/D8TQZJLGtxQJmEYntFeazaofl6S0XAn4AdNQxh6uLPG Q5bsrN0cmjxZX5apI0kX4iykKQdruu1dfTgoeBaOxR3sU1Z2WofIzftpMrcNu8e0 HEg+l2T9px6peAui1LcFbvD1L2TdtlvubyY+aCG6y87HSomHJIueqK9mvnL+pN/N cNafYLKgmMvGV42D9bcZ8CggN8sREZwBzOQHhDJLlpGW0ganiZsIUXgcxLIcy09H iilrveV29JtBC8BpsADYd/F6G05WQTlHwibkuBwE+xWvyIA7PvoK0G9DfdWk78zL YTnLSgMa3DDsEVcJdXHjenwq3j5IVqpnR6cOYmbWYfLqKTOdqL7RA/Ft+iwIXsi9 4kReDyowkor+pig+aVQqa10NbpJdyXl9THXjijfBeU/SHFb5CDM7KNk5StoJ+iyv RhPVj3twckF+MpaFuw4yszEvNj/ZvO8vVeqwIYiFp7o3N2oY30LSRHOhY0LTtyT/ B2YYmnoy1EJLbLVOyD3eEI0KEkGNVMSXc2bWDhtL2pPXdnssJ6voO+KfKl4QEend hY2UpRlP6sts58oKNs8d =XOU4 -----END PGP SIGNATURE----- --==-=-=--