From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Malakhovski Subject: Re: Bug: Regressions from 8.2.10 (8.2.10-35-g19a7d6-elpaplus) to master/maint Date: Wed, 28 Oct 2015 14:29:49 +0000 Message-ID: <874mhbawwy.fsf@yin.lan> References: <87611v2ese.fsf@yin.lan> <87r3kj9ese.fsf@nicolasgoaziou.fr> <8737wz2cgo.fsf@yin.lan> <871tcidfmn.fsf@nicolasgoaziou.fr> <87si4y2493.fsf@yin.lan> <878u6nnuxd.fsf@yin.lan> <87vb9rp0u6.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrRju-0003tI-Nq for emacs-orgmode@gnu.org; Wed, 28 Oct 2015 10:30:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrRjm-000165-O4 for emacs-orgmode@gnu.org; Wed, 28 Oct 2015 10:30:10 -0400 Received: from fujibayashi-1-pt.tunnel.tserv10.par1.ipv6.he.net ([2001:470:1f12:446::2]:24293 helo=tricoro.koumakan.jp) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrRjm-00015W-Fh for emacs-orgmode@gnu.org; Wed, 28 Oct 2015 10:30:02 -0400 In-Reply-To: <87vb9rp0u6.fsf@fastmail.fm> 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: Matt Lundin Cc: Bastien Guerry , emacs-orgmode@gnu.org, Nicolas Goaziou Matt Lundin writes: > Jan Malakhovski writes: > >> I'm pretty sure that there are other org-mode users that are weeping >> silently since that change. Suppose you have more than a screen of clock >> lines in LOGBOOK under a heading (I have headings that have thousands). >> (org-agenda-goto) before 9f5e698679aecbed872a2030e4157e5e2b1d87e0 is >> very helpful when moving CLOCK lines between headings (think "refile >> CLOCK line") or editing overlaps or gaps: you or click on the >> heading and here you are at the CLOCK, but after >> 9f5e698679aecbed872a2030e4157e5e2b1d87e0 you have to *retype* the date >> and time into search, which is annoying to say the least. > > Try typing RET in the agenda. That calls org-agenda-switch-to, which > brings you to the relevant clock information in the agenda.(However, if > the information is tucked away in a LOGBOOK, it remains somewhat > inconveniently hidden from view). Judging by the names and default key bindings alone I'd prefer org-agenda-switch-to to do the new org-agenda-goto thing, and org-agenda-goto have the previous behavior. This kinda makes more sense to me, see below. In any case, current org-agenda-switch-to behavior is no replacement for old org-agenda-goto: 1) I'm not aware of a key sequence to do org-reveal for drawers (in org-agenda-goto it's a nontrivial piece of code). 2) Even if there is such a sequence, the drawer should be open by default. >> I'm willing to listen, but I seriously doubt there's such a compelling >> argument defending the change. Even when out of `org-agenda-list` in >> plain `org-agenda`, jumping to SCHEDULED or DEADLINE lines is nicer than >> to the heading itself. > > I disagree that jumping to the SCHEDULED or DEADLINE lines from a normal > agenda is always nicer than jumping to the headline. I can easily change > planning info from within the agenda. But I cannot change the text of > the headline itself -- that is usually why I jump from the agenda. If > nothing else, we should have both options, which we seem to currently > have with the difference between TAB (org-agenda-goto) and RET > (org-agenda-switch-to). However, I am not sure how intentional this is, > as I can find nothing highlighting this difference in the documentation. Okay, that is a pretty valid use case, but even then, (below starts here) org file syntax requires SCHEDULED and DEADLINE to be just under the heading, which means that you can navigate to the heading pretty easily, where as with CLOCK lines you can not. Which is why, I think, both org-agenda-goto and org-agenda-goto-mouse should have the old behavior, but, in principle, I can imagine and doing different things in plain org-agenda and org-agenda-list. So, to sum up, I see three possible solutions: 1) org-agenda-goto and org-agenda-goto-mouse jump to a line with the timestamp (old org-agenda-goto behavior), org-agenda-switch-to jumps to the heading (current org-agenda-goto behavior). (I vote for this). 2) org-agenda-switch-to gets the org-agenda-goto behavior. (I can live with it, but I think it is less pretty.) 3) org-agenda-goto and *-mouse (or just their key bindings) do different things in plain agenda and in agenda-list. (Seems complicated.) Cheers, Jan