From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AHNfKBq4wGH8jgAAgWs5BA (envelope-from ) for ; Mon, 20 Dec 2021 18:06:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gPYtJBq4wGFELwAAB5/wlQ (envelope-from ) for ; Mon, 20 Dec 2021 17:06:34 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4DE572350 for ; Mon, 20 Dec 2021 18:06:34 +0100 (CET) Received: from localhost ([::1]:44956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzM7N-0003DQ-DF for larch@yhetil.org; Mon, 20 Dec 2021 12:06:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzKYS-0004c0-9q for emacs-orgmode@gnu.org; Mon, 20 Dec 2021 10:26:24 -0500 Received: from [2a00:1450:4864:20::134] (port=37666 helo=mail-lf1-x134.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzKYL-0001NR-M3 for emacs-orgmode@gnu.org; Mon, 20 Dec 2021 10:26:23 -0500 Received: by mail-lf1-x134.google.com with SMTP id bq20so21442958lfb.4 for ; Mon, 20 Dec 2021 07:25:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=c8DBQNdceWYBk2xXw9WJ5Pbr2g/gtaWYGutcS82JeN8=; b=AFeuQfW3zkB8CZ8kKLS92Bq4m3ipFXH3pdiMcZHp9jkraWeao3QM+sK25KHIMBXEHZ tMR2rVjuBUtjNBeEKCzpoQsnfQiwTGM44fdOwpeb3H6ANxgiB2+9qI3CfX74ZXtkj5xZ tfJoY+MzZ3VJ1MjbmUf4BjI7bzNcpr2aWACOG6Z/hlIMdj10sWbqEq60XrULINB9tAHR Evzh30L/fshQF+OKSt3D++OFsxLbX5CuUUv39AtN259R9NIlz5dm/cUUHrbcjLXGcK2t grSWVVsI5khJEfbY5VV6z/5qZVGjTpnlhQSVDRw3sZCMS/KPuaJqLv6PsghCl92PGCdQ lhKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=c8DBQNdceWYBk2xXw9WJ5Pbr2g/gtaWYGutcS82JeN8=; b=7AV7ee4wFlk6JM+UoJjV6J7u5gwrVVaSVvjWw3qdpEWfI1FjZslYLgb0/0lqrX4PV0 rrYBzP/4WN9O5jzm5patLYNQCpvuWfrzlqU+VQ0qYGCWFtwxYYxn6dqGROiyAHawPLrD 6cgyUUV1FhfwLJChNUQ8Tui6agDNgKjuFSfdqaysHmYBIeZqYTz7zVtfhCjnKqKV7S1c ZW3RJ+JAFCDv0xCXpobo8IQV3JsoWlRQDugEmY3BVFAYAALbs1nPMypEyIkG39jJbLNf XFuN9HeB/Omjxc+3RbHXv+odfuykfy00bNkYKbS6JY0HBtBxScKsuulx5gpU1S1c7JLg V60g== X-Gm-Message-State: AOAM530Jwy+YWQTgTyCSn481j6wM5Zch0vk6xwE15kO8tZS3PRSRqtb0 eBP9bSMlMwUvjTQpRvQPmkyf0c21aZoY6idXIag= X-Google-Smtp-Source: ABdhPJyWhZHbAWbUqBNY4J+4TaAYggFCVcvIUM0zeF2jhRnHmuD/BcNgk/BgH++WaDneSPHWhw7sRA== X-Received: by 2002:a2e:95cb:: with SMTP id y11mr15440167ljh.431.1640012187263; Mon, 20 Dec 2021 06:56:27 -0800 (PST) Received: from localhost ([141.105.67.194]) by smtp.gmail.com with ESMTPSA id a13sm590678lff.104.2021.12.20.06.56.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Dec 2021 06:56:26 -0800 (PST) From: Ihor Radchenko To: Samuel Wales Subject: Re: next-error for agenda searches In-Reply-To: References: <87y24graas.fsf@localhost> Date: Mon, 20 Dec 2021 22:57:47 +0800 Message-ID: <87k0fzl3x0.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::134 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=yantar92@gmail.com; helo=mail-lf1-x134.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640019994; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=c8DBQNdceWYBk2xXw9WJ5Pbr2g/gtaWYGutcS82JeN8=; b=Xp1iQpdAV0Bo7+1phPLdqJ19vfngcOQlWh42rZQNDdNFcdqUmfC7Gfs/hVEe5XGtsQKuZA dOliJL1dLJwflg1cM9OqJvvxdn79qJCdBdtndOUJQ4RKD4ncV8hKcxWba4fHz9rR0ifLaM ZRp/5q8XXJ2zMwwLgs8uHBzDftyFbmcGVNI4Z8bNpxF/D5LRHaKATY0mgS7ju/JmgKjZoi K6Z2eTvD3XGBI3JrixyY7LxpGNdD4Y3S28YZdEvpTVZXbr4SGL02GWIwhYS0OLhVdbfiY2 9Xwspg3F5xI9LF3WWZVZDL6iumCyteEbz4bV73LzwS/p/r2PCoadKb+qbw3Mdg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640019994; a=rsa-sha256; cv=none; b=cjt7s0L5p7hCrcEZ9YRmZtGwnPmQKHrR2rEf/SInokHOcom80NWS8hK3LcRoPLHqj1ykec 5ZULzIxPOhskAXEryLzVy6XudLdmz3+0nkllwVGB4EhSvIYHTi5JX1A3+s8JeIgvRKwwhz QZLYNQ+QIq/HO2GPXXHsCLen/iVwMjYqFYaQbWFf1Txz6oKMcc04/VaUy2W79Adp2O9Yw6 VeQAmSwJKNrtZBM4uDzCfzSHwLbShXCtCR55hJ9hIPPz7EUUMeMg0pGrUzZ+T3OITC6bq6 ouPWfni0Us/lDcH3ZeScbO34DS3DLMvTkjYIteivyboQGvXek06IoHmXt2kcmA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=AFeuQfW3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.52 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=AFeuQfW3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4DE572350 X-Spam-Score: -3.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: p/fYafjU1dJr Samuel Wales writes: > On 12/19/21, Ihor Radchenko wrote: >> multiple agenda views is not an uncommon workflow. You may have daily > > i think this is a strong objection. multiple simultaneous agenda > views seems to sink my suggestion. > > can one have multiple simultaneous c-c / buffers? and multiple > grep/occur/compilation shell minor mode? I am not sure what you mean by multiple C-c / buffers. org-sparse-tree does not create new buffers, just changes visibility of the current buffer. > or a grep buffer and an occur buffer and a compilation shell minor > mode buffer simultaneously? what disambiguates those? > > idk what is done in such cases. perhaps there is an assumption of a > single set of errors at a time, or some buffer local thing. According to next-error docstring, only the last grep/occur/compilation result is used. In theory, we can also do the same for agendas and AFAIU it is even not that hard to implement. If more people are interested, I do not see why next-error integration cannot be included into Org. >>> furthermore, the next-closest thing, follow mode, puts point in wrong >>> window. also, 'canonical visibility is not present so i cannot see >>> everything [this might or might not be fixable by user]. >> >> Can you elaborate? > > well it is moot because of the accessibility issue, but it is > unsuitable for the next-error task. point in wrong window so you have > to switch. some things hidden so you have to make visible is all i > meant. again, moot so no suggestions needed here. FYI, there is org-fold-show-context-detail. You can customise how much is revealed when jumping to an entry from agenda view. >> Might be useful. Also, I personally prefer org-quickpeek in agenda. > > can't seem to find that package but next-error allows editing not just peeking. I referred to http://github.com/alphapapa/org-quick-peek It cannot help with editing though. > but basically i have had org for a long time and i am not able to > maintain my forest as well as i need to. Hmm... I myself went through several refactors of my Org file structures. Exactly because things become unmaintainable over time. It is hard to design a good structure without enough experience with the old one. I usually take things slowly and keep old and new structures together. New things are going to the new structure and old things are moved from old to new bit by bit (there is simply a daily 5 min task for this). Hope it helps. > my suggestion was for org's sake and i didn't think this much detail > would be needed at the time. i used my computer use time to do the > best i could, but it seems that more detail was needed, and that > detail needed discussion. my bad. Now it is quite clear for me what you meant. The idea is reasonable. > n.b. i've been on the list for years, and many core features of org, > and parts thereof, were actually... my suggestions :). Now, when I looked, mailbox search revealed the truth :) I only casually followed the list until the beginning of this year. > but sometimes i miss the mark apparently, especially lately. as in this case. > > still, not sure why multiple grep buffers or grep with occur or c-c /, > etc. are compatible but multiple simultaneous agenda not so. Simultaneous agendas can be compatible, as I mentioned above. Just need to take the last generated agenda/occur/grep/etc. It will follow the existing next-error logic. Best, Ihor