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 ms0.migadu.com with LMTPS id 0GLDGDWbXWFCKQAAgWs5BA (envelope-from ) for ; Wed, 06 Oct 2021 14:48:53 +0200 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 4K1YFDWbXWFiXAAAbx9fmQ (envelope-from ) for ; Wed, 06 Oct 2021 12:48:53 +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 0DC752D2D for ; Wed, 6 Oct 2021 14:48:53 +0200 (CEST) Received: from localhost ([::1]:33568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mY6Ls-0003h1-6j for larch@yhetil.org; Wed, 06 Oct 2021 08:48:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY6LL-0003e0-9H for emacs-orgmode@gnu.org; Wed, 06 Oct 2021 08:48:19 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:62285) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY6LJ-0004c0-Dd for emacs-orgmode@gnu.org; Wed, 06 Oct 2021 08:48:19 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 1A08240006; Wed, 6 Oct 2021 12:48:13 +0000 (UTC) From: Nicolas Goaziou To: Ihor Radchenko Subject: Re: [PATCH] The align of time is not beautiful as 9.4 when I update to org 9.5. References: <3afe1bba.2f48.17c350d0a41.Coremail.tumashu@163.com> <877detcjry.fsf@localhost> <87fsthm71h.fsf@nicolasgoaziou.fr> <87r1d1axfa.fsf@localhost> Date: Wed, 06 Oct 2021 14:48:13 +0200 In-Reply-To: <87r1d1axfa.fsf@localhost> (Ihor Radchenko's message of "Mon, 04 Oct 2021 18:36:57 +0800") Message-ID: <87pmsil3oy.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.194; envelope-from=mail@nicolasgoaziou.fr; helo=relay2-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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: , Cc: Max Nikulin , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633524533; 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; bh=HgCqJVgrV6s6ATIZXz9lcdQui97YvM4UGM+sGl6bCag=; b=QCXQcQaaLuxsMasH049icUHdjNpKLjN+HDSmqGUqQqSgt6fre/zBNP8HbD3VUxr6VLiDTE MjSs6VbAisbtXwVgv3Vwn11sA6FbhZktoaN/4iEO4zWdw3ohOhrMN2AtG7PWSJM4gNSMPc of1fWIf9Q1idQpZiapKeetnWavESBPE25c/4990R32YAPEyPkPGPhds3ZYIF7r3ugTpPop N3J0nSM4DtG9m/uri8PQH403LOAZtIA/swEC9BTWD/IB4rb1UlxDNacUa9cozVbUs3ybEm 33W2KHh9LDqnH5WclXEjJgLtziHDg23dwm8J57BLngANd1gdFc6ObFpC/WPq3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633524533; a=rsa-sha256; cv=none; b=ipjKVKWwCS2n9DA0NHm6MB2yHPtu7Znn2BL2FZDi/ah5bkToX5y+oOXm6FZV41+bUH0+94 TdM4cEMgkt/QdLcXjM2ZwVI542Cr8F53WnVDIvl3BY6ffMbzwlJkreZSjLKIdUYR30rWVX kLQul0de0PBm6AYSBBD3B76VLI2m8IPZYL1TT+dG8rVGnFWRPgLl6QUBPfg6ORv4wP8fNx WWYHhnyRATiTE7CMvRdge3/OPYYDP5b+MGUy3t7xORSAcxQNxddv/Db9vRjotcGlifttjK 5Nwt1kBOp+DiLamwAUW4uexDtxOwy4e48QTdRGdEsatE4G74eqcDrKpQ1+H4zA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=none; 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-Migadu-Queue-Id: 0DC752D2D X-Spam-Score: -2.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5qN2ZjsHYPue Hello, Ihor Radchenko writes: > Nicolas Goaziou writes: > >> Also, the fix belongs to `org-get-time-of-day', which is also >> responsible for formatting the output. > > I doubt so. `org-get-time-of-day' is used to format ending time in time > ranges. If we force fixed width in `org-get-time-of-day', we may have > something like " 8:00- 9:00" instead of " 8:00-9:00". On the other > hand, the current behaviour for non-nil org-agenda-timegrid-use-ampm, we > already have "8am- 9am" even without the patch. > > WDYT? Fair enough. I think I should not even try to understand "org-agenda.el". Regards, -- Nicolas Goaziou