From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: [RFC] C-c C-c in agenda Date: Tue, 28 Jan 2020 13:46:22 +0100 Message-ID: <84mua721gh.fsf@gmail.com> References: <84mua8c4zh.fsf@gmail.com> <87lfpr25lb.fsf@gnu.org> <875zgv244r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52122) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwQGB-00015g-Bm for emacs-orgmode@gnu.org; Tue, 28 Jan 2020 07:46:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwQGA-0002uT-Ib for emacs-orgmode@gnu.org; Tue, 28 Jan 2020 07:46:27 -0500 In-Reply-To: <875zgv244r.fsf@gnu.org> (Bastien's message of "Tue, 28 Jan 2020 12:48:36 +0100") 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Bastien Cc: emacs-orgmode@gnu.org Bastien writes: >> I've now tested this and see how it can be useful, but having C-c C-c >> perform this unique deactivation in agenda view seems unfinished. > > Also, when columns are activated in an agenda view, org-columns-map > already bind C-c C-c to org-columns-toggle-or-columns-quit, so C-c C-c > already deactivate the column view in agenda buffer. > > Or do I miss something? You miss the lines which have not been transformed into columns by column view, and I think that's all. > (I'm not sure what org-columns--toggle does, but that's another > story.) Yes, but maybe this fits in here as a sub story. The function does the toggling part described in the manual #v+ =E2=80=98C-c C-c=E2=80=99 (=E2=80=98org-columns-toggle-or-columns-quit=E2= =80=99) When there is a checkbox at point, toggle it. Else exit column view. #v- This functionality looks very special to me but possibly someone enjoys this behavior daily. >> I suggest C-c C-c can also call `org-agenda-set-tags' when the column >> view is not activated. > > I just added this. Okay, thanks.