From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id yIosEty32WVZRQAAqHPOHw:P1 (envelope-from ) for ; Sat, 24 Feb 2024 10:33:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yIosEty32WVZRQAAqHPOHw (envelope-from ) for ; Sat, 24 Feb 2024 10:33:16 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ur1YogDe; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708767196; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=3UIZpqPZhuTy6G15i2GG/b/dLFwSyxDFVWtU9kmPiIA=; b=PJnIpZcN3WvxQJYiHKxOYUlBWlQ0ifZDqotwEpQONYtzGX5ZFKGZvcgmMGwEkq/gbqYpz7 0wYAXZ38pD+VvgRTQoI8OmK6kmsLxCRX5aX+6BUCQbur/Ipi75TtgRhU/OSRPosLQul4lz SouLrZ1YjibybO+Cl+6qgMcMI/PYoRHoUr5jbgjZvElkHIzMQhY34DyJ4LGHjO0gABf8Sr UNmgAH+UkRJbBo1E3LJC9Q6FR9rp81mHWJhAyS2WPT8ACboVXqV6Z+OJkabRSvgOo1Skvs dC3qmvxwn+1rXs7LBKFcUzagnDUHXvA+RWf8fRexDGph2JI5yo0kD0MEAQKIuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ur1YogDe; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708767196; a=rsa-sha256; cv=none; b=RZaa5VoLxbIMOkhSWAJ+lYaaH5vNqxBV6FieJeHf386dXehysF7NK7VYwAibzrk+JumhuK eSIcCbc4kT0SeVFHoWQ4EMoc7vgl16umP2rR/Z6jQRhHyrYsU91/O9ISyJlK3ORxOP9IvC WH0/BM2kXBQ5Br72T5bsYTydR6q2AkTsVqH6nyJmxTh4p7Orloo4W7yJI6f3Dx63cPip1f fnfvL5/ANkJt9lwU7fKIztt9oRNASWcOfBuMYP8K1A6qPfuZaD1bQncJd6KnZrU9BrjlOp GKkea8zjkPWHWxJhX/dnFbS0GippN3AHDSLKsrU8hNFMZehEMWX7glBKpjkDyA== 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 0A08544285 for ; Sat, 24 Feb 2024 10:33:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdoOM-0001o4-P1; Sat, 24 Feb 2024 04:32:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rdoOG-0001nM-QS for emacs-orgmode@gnu.org; Sat, 24 Feb 2024 04:32:20 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rdoOE-0004ib-Jp for emacs-orgmode@gnu.org; Sat, 24 Feb 2024 04:32:16 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 3151C240027 for ; Sat, 24 Feb 2024 10:32:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1708767130; bh=VfBpmBQrZ4DQ/Nc76LdLqiNpj+1GVlMfqFPYnA2TL1Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Ur1YogDeiZq0WAvzCIih7LNuiUEzRtd6T6qwh6CFsyLLDZc1g6s7my4lKNsCusE5k rfBMI+l0ccWDKYMuCfa7T5mADfgIv5KSyrvAkZzpn1p7XtgKbd/Wn0hZzwcxG4+TCc lNS5BGyj+hJqgjK12pjt/i+mAIzdJoYnad/XoUaulqrUT7FXUsqXHuWgJnIr2PGSHs fZb/T6j9s6tEjnfnuyrCyZdyIxzks60vJknszoeAT/2ihNsfOQfXODbf/cKvH+xZKy ifb3puTdkrwhDhfIp73KwRkipnxmCsySBpdk6eJubMuI8aMBTsDR8O1j1UVx8UfHaJ VVUAjLChyI5Mg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ThhVK2T9Bz9rxL; Sat, 24 Feb 2024 10:32:09 +0100 (CET) From: Ihor Radchenko To: John Mathena Cc: emacs-orgmode@gnu.org Subject: Re: org-agenda-filter-by-category not working in block agendas due to inconsistent truncation In-Reply-To: References: Date: Sat, 24 Feb 2024 09:35:53 +0000 Message-ID: <87sf1iuruu.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.81 X-Spam-Score: -6.81 X-Migadu-Queue-Id: 0A08544285 X-Migadu-Scanner: mx13.migadu.com X-TUID: eea3HXOf9fKM John Mathena writes: > The category of items in an "agenda" block view as returned by > org-agenda-get-category are truncated based on the value of the prefix > format; this isn't the case for e.g. the tags-todo view. For instance, > if an item has a category "marathon training", and your agenda and > tags-todo views both have prefix formats of " %8.8:c ", calling > org-agenda-get-category on that item while it's being displayed in the > agenda will yield a category of "marathon", while calling it on the > same item in the tags-todo view will yield "marathon training". Thanks for reporting! Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=19db45f2c -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at