From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: org table toggle narrowing and true column hiding Date: Sun, 25 Jun 2017 17:12:33 +0000 Message-ID: <87lgogdm9q.fsf@mat.ucm.es> References: <87o9thk827.fsf@mat.ucm.es> <87mv8z7v80.fsf@nicolasgoaziou.fr> <87podvowxl.fsf@mat.ucm.es> <87r2y94vq0.fsf@nicolasgoaziou.fr> <87fuephz8y.fsf@mat.ucm.es> <87efu93rua.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPB5a-0001DZ-8n for emacs-orgmode@gnu.org; Sun, 25 Jun 2017 13:12:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPB5X-0008Vo-4o for emacs-orgmode@gnu.org; Sun, 25 Jun 2017 13:12:46 -0400 Received: from [195.159.176.226] (port=52226 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dPB5W-0008V2-Uc for emacs-orgmode@gnu.org; Sun, 25 Jun 2017 13:12:43 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dPB5O-00057z-8L for emacs-orgmode@gnu.org; Sun, 25 Jun 2017 19:12:34 +0200 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 >>> "Nicolas" == Nicolas Goaziou writes: > Hello, > Uwe Brauer writes: >> Great thanks I will test this now, I presume this patch is against the >> latest stable version? > No, it is against development version, aka "master" branch. Ok I cloned that branch, applied your patch and run some tests, (using GNU emacs 26) Here are my impressions. - (org-table-hide-column nil) works nicely! I can hide several columns: I start with the first, hide it, move to the second hide etc - however (org-table-hide-column 1) etc did not work as expected, the first column was hidden but when I called (org-table-hide-column 2) that column was not hidden! Then I found out the culprit. I had the cursor on a different column. So (org-table-hide-column 1) seems to work best if the cursor is not on the table! - would it be possible to hide various column on the fly. Either by marking them or running (org-table-hide-column 1 2 3) or something like this. Thanks very much for this, I would it very useful and think it should be included at some point in master. Uwe Brauer