From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ABcJK2dquF43fgAA0tVLHw (envelope-from ) for ; Sun, 10 May 2020 20:56:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id VSotF3VquF5cMAAAbx9fmQ (envelope-from ) for ; Sun, 10 May 2020 20:56:21 +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 ACC40940DC5 for ; Sun, 10 May 2020 20:56:18 +0000 (UTC) Received: from localhost ([::1]:41790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXszj-0004AV-Gy for larch@yhetil.org; Sun, 10 May 2020 16:56:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXszL-0004AN-KJ for emacs-orgmode@gnu.org; Sun, 10 May 2020 16:55:55 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:58082) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXszJ-0001eR-Jb for emacs-orgmode@gnu.org; Sun, 10 May 2020 16:55:54 -0400 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 3869645F2D; Sun, 10 May 2020 16:55:51 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=SsMFZkNgA2ESpqzWEUbyfbowViI=; b=a24WTV u2iZ3V6yqRF+fm7sPX3LkhliLB+vJxRpxJ3tTP9oVHVmhavW5/Gapjj1w4+DpA/x tSvVpUtd8Xe+YUKKGfV+MWJYCA6CFs1Cp1EnMO1KVe903aPzoUY5UFKLPbRdE034 rvsDFDCdCsFrh/4SUcgi8ABdpJKEycPcZ8iJo= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 2B44145F2B; Sun, 10 May 2020 16:55:51 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=15wTejfwyA3OgkqE1wlSF6lGIMD7o73jPLCjv3Jh7ng=; b=sY6oHkPn/f3FylKuhU/0sHG8iP54B/4iGqU/kmwtpt74kzILxN47YclwOvGwlgaq+fYULz81CzePBRNFN8slthIGyZg/9YFGN7xsth6wIzjBmTZ3m/fqYzpNo6ip5nYINcH2nx1tVa458n2sG6enG6pueCW1APYCNQM9oAwX3aw= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id A45D745F2A; Sun, 10 May 2020 16:55:50 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: orgmode@pm.me, emacs-orgmode@gnu.org Subject: Re: Possible bug with columnview and active dates In-Reply-To: <87pnbb5z3x.fsf@kyleam.com> References: <87d07bd2nj.fsf@kyleam.com> <87pnbb5z3x.fsf@kyleam.com> Date: Sun, 10 May 2020 20:55:49 +0000 Message-ID: <87mu6f5x2i.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: A17E574A-9300-11EA-8152-C28CBED8090B-24757444!pb-smtp1.pobox.com Received-SPF: pass client-ip=64.147.108.70; envelope-from=kyle@kyleam.com; helo=pb-smtp1.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/10 16:55:51 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 X-Spam-Score: -1.21 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=a24WTV u; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=sY6oHkPn; dmarc=none; 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-Scan-Result: default: False [-1.21 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.53918905381198]; DWL_DNSWL_FAIL(0.00)[kyleam.com:server fail,209.51.188.17:server fail]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.08), country: US(-0.00), ip: 209.51.188.17(-0.54)]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[pobox.com:+,kyleam.com:+]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[kyle@kyleam.com,emacs-orgmode-bounces@gnu.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[pobox.com:s=sasl,kyleam.com:s=mesmtp]; URIBL_BLOCKED(0.00)[pobox.com:dkim,kyleam.com:dkim]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[kyleam.com]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[209.51.188.17:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; RCVD_COUNT_SEVEN(0.00)[7]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: XZxYTtjjoqz5 Kyle Meyer writes: > While I think it's be fair to consider this a regression, I'm leery of s/it's be/it's/ > restoring the original behavior of stripping the brackets given how long > the current behavior has been around. Instead I think it'd be better to > update the documentation and tweak the output on colview's end. For the "tweaking the output part", it looks this is already possible on the user's end via org-columns-modify-value-for-display-function. Here's a lightly tested function that I think does what you want: (defun my/org-columns-remove-brackets (_title value) (and (string-match org-ts-regexp value) (match-string 1 value))) (setq org-columns-modify-value-for-display-function #'my/org-columns-remove-brackets)