From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aLfXDdOtv1/NfAAA0tVLHw (envelope-from ) for ; Thu, 26 Nov 2020 13:29:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iH+yCdOtv1/SBwAA1q6Kng (envelope-from ) for ; Thu, 26 Nov 2020 13:29:55 +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 76C2F94043A for ; Thu, 26 Nov 2020 13:29:54 +0000 (UTC) Received: from localhost ([::1]:53668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiHLN-0003ZO-EJ for larch@yhetil.org; Thu, 26 Nov 2020 08:29:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiHKo-0003ZH-5l for emacs-orgmode@gnu.org; Thu, 26 Nov 2020 08:29:18 -0500 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:41983) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kiHKg-0003Lo-Qb for emacs-orgmode@gnu.org; Thu, 26 Nov 2020 08:29:17 -0500 Received: by mail-pg1-x533.google.com with SMTP id s63so1755218pgc.8 for ; Thu, 26 Nov 2020 05:29:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=vyDbRVcVzLGOfkBk6MhY0165DhdiDn4OHtyRpI9qXnA=; b=fMIpKxzqmRabYGVUEBPXESHVnDCRpRGyVGTn2TuQzQZhjcMZ3HVxtJtY8syp3kuskg R25lO3DzbyXS7+102MMveDoJEnALQ0NJFHY0wF7x+JbGReGThsfmogzyNLYzWkSBAreu fsu8ATfGgSI9fmNKCGEnKQsz03Fkptv2r0KY8Pe5CYX+/eSE+8zWOQ1GKzOpTpINo4u2 cp6MF2z9U9FkIqJMBPp+ahcjbBJ+Cp4o8FzwCeildcTvVqHxYYoOS9vM0ndKM7D3wZVk /79oPqMu8R/rAKoKvSg+y8rmOZ7IKvFpaTubOrsJfH1J0S0Ljvz7KcumpZ6GvWSJmHuf K8+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=vyDbRVcVzLGOfkBk6MhY0165DhdiDn4OHtyRpI9qXnA=; b=n0f/ml//Zfx7zN4NhKNlcpTKECqcNUUXkCnDYHXXTg1LuPiPTKgqJ7xkRQqe0BJOiQ sZYWoW/VRk4jYJa0OswjtyVMTH+ca+hV9jLS2zCgFM6sVZlyB1es2Ru5W5cSplWulGXh 2m9r1bsOqf1nY3DAO9MQMpPz6H0xOKPxsp3o95PaYrVWhXJp59oof7nOhis4U8mcaUoE gJyl06OswM7Ck1SgKk8B32jQgU0KLPpG7kLuiVHzZR4Fp7YYwNd4Q8kvzrx9RdFV1mux jNohiJfHZxrh/+1fLt2dSof7Nqi2IBgB7AQIuMG9gV4ebuV+a08eOpA2uDPUYUuGj4s9 +B0w== X-Gm-Message-State: AOAM531X8hdekEZOuIDh8HR6yJj5Kio1NvTyDbtFA7oZhgtKM3s98COZ k8YSBk330RxSNJm5sHEpNs0= X-Google-Smtp-Source: ABdhPJwpISbwOCQMZWX5tV2Z5+CD8DPeUz5GNIMulRBu1L4IYav8hQ2faf88viQSO/BWrS5cKhOxrw== X-Received: by 2002:aa7:96f7:0:b029:196:692f:82d with SMTP id i23-20020aa796f70000b0290196692f082dmr2807169pfq.66.1606397348735; Thu, 26 Nov 2020 05:29:08 -0800 (PST) Received: from localhost ([23.27.206.160]) by smtp.gmail.com with ESMTPSA id w18sm4897120pfi.216.2020.11.26.05.29.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:29:07 -0800 (PST) From: Ihor Radchenko To: Jean Louis Subject: Re: One vs many directories In-Reply-To: References: <87mtz84om9.fsf@localhost> <87360yegmg.fsf@web.de> <87h7pdc0q8.fsf@web.de> <87ft4xbqwm.fsf@localhost> Date: Thu, 26 Nov 2020 21:27:56 +0800 Message-ID: <87wny89rj7.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::533; envelope-from=yantar92@gmail.com; helo=mail-pg1-x533.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Dr. Arne Babenhauserheide" , Texas Cyberthal , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: inc X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=fMIpKxzq; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 1.79 X-TUID: 7bjcXUHfFygF > Sorry for that vague expression. Let us say I open Completions buffer > I can switch into it, inspect it, ask for defined keys, evaluate with > M-:, Emacs allows me to remain in the window and go to other > window. Agenda buffer does not do that, this is probably because it > just waits for any key and does not allow anything else. That means I > will open Agenda and I cannot switch to other window, so I will close > agenda to switch. Maybe I have 10 TODO keywords, I have to open file, > I open Agenda again, aha, T... then close agenda, open file see > keyword, then open agenda again. Repetitions without end and user is > unable to use multiple windows. This really need not be so. It appears to me (correct me if I am wrong) that you haven't tried agenda multi-occur/keyword/etc searches. The way it works is that you only need to select type of search from agenda dispatcher window (the one you are criticising). Later, when you actually enter the search string, you are left with an ordinary Emacs prompt. You are free to leave the minibuffer and switch to other buffers searching for the keywords you are interested in. In general, there are two types of agenda searches available from agenda dispatcher: 1. Most are free-hand searches where you need to type a search string: - match TAGS/PROP/TODO query - search for keywords - multi-occur - first two searches, but limited only to TODO tasks 2. Pre-defined searches where search string was set in advance (by developers or by user via org-agenda-custom-commands): - agenda listing tasks relevant to current week or day - all TODO entries - FLAGGED entries - stuck projects The first type will let you leave search prompt as soon as you select what type of search you are about to enter. The second type does not really need entering any extra text - it is predefined. > You know how agenda is made like the 1985 BASIC menu in Commodore > C=64, but even back then there was better interface for such menus. FYI. Transient.el - menu dispatcher in popular magit package also does not let you switch buffers. So, apparently many people would not agree that it is so terrible design. P.S. Nothing prevents you from calling, i.e. M-x org-occur or binding it to a key of your choice. Best, Ihor Jean Louis writes: > * Ihor Radchenko [2020-11-25 14:48]: >> > When I do C-c a it runs (org-agenda) but I do not have "g" and I am on >> > development version. The C-c a window is made so that I cannot go with >> > cursor inside and that I cannot even expect the key map neither invoke >> > command by M-x and I cannot even M-: >> >> C-c a will first show so-called agenda dispatcher asking you what kind >> of agenda view you want to get. You need to press a key according to >> the popup window (i.e. `t' to see all not done items). Then, you will >> get the proper agenda buffer with all the keymaps set and `g' bound to >> refreshing the chosen agenda view in the buffer. >> >> > All that is wrong and not aligned to Emacs common interface. It is bug >> > that bugs. Agenda buffer should allow users those standard Emacs >> > features. >> >> I am wondering what is the common Emacs interface you refer to. I am not >> aware about any standard way to prompt user while also showing detailed >> description of what to expect from different choices. > > Sorry for that vague expression. Let us say I open Completions buffer > I can switch into it, inspect it, ask for defined keys, evaluate with > M-:, Emacs allows me to remain in the window and go to other > window. Agenda buffer does not do that, this is probably because it > just waits for any key and does not allow anything else. That means I > will open Agenda and I cannot switch to other window, so I will close > agenda to switch. Maybe I have 10 TODO keywords, I have to open file, > I open Agenda again, aha, T... then close agenda, open file see > keyword, then open agenda again. Repetitions without end and user is > unable to use multiple windows. This really need not be so. > > If I open packages' list I can keep the buffer and move to other > buffer while looking into that list. > > You know how agenda is made like the 1985 BASIC menu in Commodore > C=64, but even back then there was better interface for such menus.