From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: text search and restriction lock bugs Date: Tue, 5 Sep 2017 14:42:32 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpLcG-0005kP-NP for emacs-orgmode@gnu.org; Tue, 05 Sep 2017 17:42:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpLcB-0006YZ-SV for emacs-orgmode@gnu.org; Tue, 05 Sep 2017 17:42:40 -0400 Received: from mail-ua0-x229.google.com ([2607:f8b0:400c:c08::229]:36032) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dpLcB-0006XY-OG for emacs-orgmode@gnu.org; Tue, 05 Sep 2017 17:42:35 -0400 Received: by mail-ua0-x229.google.com with SMTP id q29so8030731uaf.3 for ; Tue, 05 Sep 2017 14:42:34 -0700 (PDT) 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" To: emacs-orgmode@gnu.org recent maint. these are separate, but 1 and 3 might be related, and 1 and 2 might be related, so i hope you don't mind if i put them together. 1. is it expected behavior that if you do a restriction lock on a subtree, then do a text search, it will include matches from org-agenda-text-search-extra-files? imo it should not. 2. if you remove the restriction lock and refresh the agenda, it will produce different results. imo, should act as if the restriction lock were still in place. g should refresh with the settings that were present at invocation. sometimes you change buffer name, and run a new agenda, so that you can have 2 agendas, one restricted and one not. this makes sense if you think of refreshing as "get what i got, but take into account file /content/ changes", instead of "run again as if you ran the agenda from scratch". the restriction lock is not fontified nicely so it can be desirable to remove it for editing. 3. finally, a user will sometimes bind org-agenda-files to a list that includes some of the org-agenda-text-search-extra-files files. to avoid showing the same match twice, the user currently has to do remove-duplicates. imo the agenda could do remove-duplicates to alleviate that burden. --=20 The Kafka Pandemic: The disease DOES progress. MANY people have died from it. And ANYBODY can get it at any time. "You=E2=80=99ve really gotta quit this and get moving, because this is murd= er by neglect." --- .