From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: JD Smith Newsgroups: gmane.emacs.bugs Subject: bug#71572: [PATCH] seconds-to-string-approximate Date: Sat, 6 Jul 2024 15:29:01 -0400 Message-ID: References: <86r0cpicwt.fsf@gnu.org> <86msmxafog.fsf@gnu.org> <3530cd89-b5a2-4b25-95bf-1896c8ee4aef@cs.ucla.edu> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32303"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Adam Porter , 71572@debbugs.gnu.org, Eli Zaretskii , jonas@bernoul.li To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 06 21:31:28 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sQB84-0008EQ-1T for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Jul 2024 21:31:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQB7e-0001Ve-21; Sat, 06 Jul 2024 15:31:02 -0400 Original-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 1sQB7c-0001VI-2t for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2024 15:31:00 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sQB7b-0000cZ-Mq for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2024 15:30:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sQB7e-0001ww-Gz for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2024 15:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: JD Smith Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Jul 2024 19:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71572 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 71572-submit@debbugs.gnu.org id=B71572.17202942257443 (code B ref 71572); Sat, 06 Jul 2024 19:31:02 +0000 Original-Received: (at 71572) by debbugs.gnu.org; 6 Jul 2024 19:30:25 +0000 Original-Received: from localhost ([127.0.0.1]:46765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQB73-0001vz-1o for submit@debbugs.gnu.org; Sat, 06 Jul 2024 15:30:25 -0400 Original-Received: from mail-qt1-f181.google.com ([209.85.160.181]:53569) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQB70-0001vh-ER for 71572@debbugs.gnu.org; Sat, 06 Jul 2024 15:30:23 -0400 Original-Received: by mail-qt1-f181.google.com with SMTP id d75a77b69052e-444fdb6c1cfso16325961cf.3 for <71572@debbugs.gnu.org>; Sat, 06 Jul 2024 12:30:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720294153; x=1720898953; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=DKkfZNnrjh+Vdv0ndkuy+nMvhR0xzGYuE6zCY9bPzXQ=; b=mQhsPRQaOW12neAawkG2vPS1qwrTdAbzuBHl8hhHRvZp0agrErmtiNEClqEq892PrU 3NkFzofuCIbW3EV6Pc9UyvGx/ozPH48+Ober3TUaHuZNUikl8LYXGf8cUGWjiS8gGU2p sPLB8iY4yL4beqrTy9Sw7fhrQsINx0L2LFbETBjGbBYl0a7O9ertzkr32z9akgywRwdT CKoo0hx5+yu28cACBn0llhHh8qjS0TE0TRpmTAA0IzTJXERk907VFEB/ABx5pjawp6Lm lfRcgYzITweKloHQiSTSsdb/AEgDQGg51OiMIur/TANuHJcBmTlLdz/cMmzsP+Dj1soM sKbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720294153; x=1720898953; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DKkfZNnrjh+Vdv0ndkuy+nMvhR0xzGYuE6zCY9bPzXQ=; b=m6EuYlKp/WwDlEM/LyuS81q9/rr/nVltVeMdS6tThwl08x+iqhe4uUUdGnG149Xa8g KYl0P01L0rHBoL5Vbx5GvTzJA0mzOU8a++spfUtX/VypFpmcYttmclZ4ESgF90RDCGQc nxXMMh3JF0YbxSc/5DkeF+T2ElD7iDv+M1FTSA9O/3tyv6GxUsvN0LIMVNnWh5iw850J 5A3tTl5BZemriE5347LIcg4E5r8ygF407ZRqgPn4SGyX5+KpNQY2jYm7RtC/puBKCzgC NsN65ONeahYG+jnQTpsklSJPC5aHt82xabgTmByoYlk2g93O5vkAySliwkQ2TQxEg7N2 H6wQ== X-Forwarded-Encrypted: i=1; AJvYcCVDnSIM8LYdyehsmbs3SkJWNox3ERHUXLr2bsuzPeuo1/isedHmTcKGwH2v44w8iA0KXXIJcNRWaP/LJfVro5FHARjWdFM= X-Gm-Message-State: AOJu0YyholY5Ozp1oeWnc49WNVhKN7WQ3a8vn/M9TDjokkPNvcKpK0Va MhNOarWqK/VUsYhVOa8bCSU7x+FF4IfOampBpj5SSVOgXr76miGo X-Google-Smtp-Source: AGHT+IH8VTet0zk6uPM/V0/0Yz2VIXSYTvYyZgv+WgoNpHTGoRKLTJhzmq55bwv83/zHxyvUPNoEFw== X-Received: by 2002:a05:622a:1815:b0:447:e532:b370 with SMTP id d75a77b69052e-447e532badbmr18692291cf.10.1720294153040; Sat, 06 Jul 2024 12:29:13 -0700 (PDT) Original-Received: from smtpclient.apple (cm-24-53-187-34.buckeyecom.net. [24.53.187.34]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-446514984b6sm80609521cf.68.2024.07.06.12.29.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Jul 2024 12:29:12 -0700 (PDT) In-Reply-To: <3530cd89-b5a2-4b25-95bf-1896c8ee4aef@cs.ucla.edu> X-Mailer: Apple Mail (2.3774.600.62) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288518 Archived-At: > On Jul 4, 2024, at 3:09=E2=80=AFAM, Paul Eggert = wrote: >=20 > On 7/4/24 06:29, Eli Zaretskii wrote: >=20 >> . seconds-to-string lacks the "1 hour 11 min" output format >=20 > That format could be confusing with negative delays, e.g., "-1 hour 11 = min". Does anyone share this concern for negative delays? I wouldn't have = trouble interpreting that (and negative delays are likely the rare = case). > I'm not sold on the "half" argument; seems like a cuteness rather than = a feature that's all that useful (among other things, it assumes Unicode = or something like it). Is this an actual problem, i.e. do we universally avoid unicode in core = files? We could drop the HALF, but it's to me quite useful when = rounding to just a few weeks or months. > What's really going on here is that there's an optional argument = specifying style and I imagine that style preferences will differ = (Mastodon style, etc.). There are 1000 different ways to come at this; we currently offer 17 = "styles": 16 "readable" plus the original seconds-to-string style. > Is there an ISO or similar standard for this sort of thing? I've never seen one if so. Any other thoughts?