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: Thu, 4 Jul 2024 13:16:32 -0400 Message-ID: <8A7EBBD1-45FF-45E2-900A-56408341E978@gmail.com> References: <86r0cpicwt.fsf@gnu.org> <86msmxafog.fsf@gnu.org> <1FFF1E0D-A0E0-4EB9-AC97-AEB0BFADFBBC@gmail.com> <86cynt87y3.fsf@gnu.org> 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="34572"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Adam Porter , 71572@debbugs.gnu.org, jonas@bernoul.li, Paul Eggert To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 04 19:18:32 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 1sPQ6K-0008pQ-Ai for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Jul 2024 19:18:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPQ5r-0006RE-Ka; Thu, 04 Jul 2024 13:18:03 -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 1sPQ5p-0006Op-Cw for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2024 13:18:01 -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 1sPQ5p-0006Om-39 for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2024 13:18:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sPQ5q-0007zr-Jv for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2024 13:18: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: Thu, 04 Jul 2024 17:18: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.172011347430724 (code B ref 71572); Thu, 04 Jul 2024 17:18:02 +0000 Original-Received: (at 71572) by debbugs.gnu.org; 4 Jul 2024 17:17:54 +0000 Original-Received: from localhost ([127.0.0.1]:42892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sPQ5i-0007zU-HN for submit@debbugs.gnu.org; Thu, 04 Jul 2024 13:17:54 -0400 Original-Received: from mail-ot1-f54.google.com ([209.85.210.54]:57756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sPQ5g-0007zD-B6 for 71572@debbugs.gnu.org; Thu, 04 Jul 2024 13:17:53 -0400 Original-Received: by mail-ot1-f54.google.com with SMTP id 46e09a7af769-7034d975f18so337540a34.3 for <71572@debbugs.gnu.org>; Thu, 04 Jul 2024 10:17:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720113403; x=1720718203; 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=l5y930XUHq5+w0527au5mmDTGn4iZHK4hkHoBYpBKXg=; b=ZcK0GjeiOkLEVV5sA07I+ppdLfYR4tVEQXOeSoYunCN+HFI02kx7o2qO+r/gi/TV11 0Esgdm9KS3EUszgix0lw9oNwh5rQju9PDwSVKykofALgeXROEMTssCHY/HCoNXWpsKQy EZTN/hpHX6bo/DNM/NTqhDNPlWwg6AAd2DqehhmNJOiUfrGWZWRkPZgG/B3cdRI4Ho1y 4qTgB6dzegg6Fzf+Q5WrgA3QuXzwKlYKJxW+7ZgJ6vh4NpTZS84NCBROVzzjhsZ7w29l Z2ybyIsfTu6vXMRljNNf9dugXr4DA8UraDSalPK11jqCYPSJLdI8++TRdu0Htzlxo62w BZ7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720113403; x=1720718203; 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=l5y930XUHq5+w0527au5mmDTGn4iZHK4hkHoBYpBKXg=; b=ioakP/fqYYIxWxCw3vdoWDQZwaKu578KpbwH0Wlooc318pmo8CjqoNgiQ71cfHdYrB e5Au3GfgIZV/oYVTbxQnFzELkXMA6OrjXTNVcT0ipfj6iPY8mEkKAov37Yyk42Zqh0k1 BmSrrijGBcc1+C5CMci1RBFrt5+JiRITgQbX+zyC22Y9DW8lb/hBGLIZzrspCtj+P1d5 e57rlhT4PRkjtqolYP897uR+vUYZMEfWB7AYUDNREsDYoDFmjerp6a8S7QRzmPrsf8PK +0VWIraZh5bXeBacHNHeGugMumB2nbRfUU9P32SLtKLP0E5Sd0b418MgaCbMaQC83tUJ ujUA== X-Forwarded-Encrypted: i=1; AJvYcCXPzidJVkUzbSQqKglaV7VE8RGwVZN8XvvDerTEFNJFSN4wK80noJRrP9BcLl74r6vu1Qx/4xpA/LVwOJ6XWOx05YRDstQ= X-Gm-Message-State: AOJu0Yxskjhk7AehekdAZwmu6/Tu66gh06r6IFoEuZWMy3hoxgJQ5EhS 77oGJ03WNwBE1XMeAWZQw+ieexbHYV9ov6w6as1R1Gr7nYhD8O/3 X-Google-Smtp-Source: AGHT+IHq8FzTBGbyGDb7FjL0CSc3s32La4X5NiOmGdXp2C1l7N5I6OeTjy/3//3yLi+QqmIhEXkU+A== X-Received: by 2002:a9d:6d92:0:b0:702:1f38:a86e with SMTP id 46e09a7af769-7034a757498mr2759975a34.12.1720113403505; Thu, 04 Jul 2024 10:16:43 -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 af79cd13be357-79d6926472asm692029085a.7.2024.07.04.10.16.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jul 2024 10:16:42 -0700 (PDT) In-Reply-To: <86cynt87y3.fsf@gnu.org> 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:288381 Archived-At: > On Jul 4, 2024, at 11:59=E2=80=AFAM, Eli Zaretskii = wrote: >=20 >> From: JD Smith >> Date: Thu, 4 Jul 2024 11:27:41 -0400 >> Cc: Paul Eggert , >> 71572@debbugs.gnu.org, >> Adam Porter , >> jonas@bernoul.li >>=20 >>> The second item sounds like a useful feature, so maybe an optional >>> behavior could provide it as well? >>=20 >> I've expanded the call format to (delay &optional readable abbrev = half) , with READABLE=3D'expanded an option to get the "1 hour 11 min" = expanded format, i.e. one larger and one smaller unit (if appropriate). = Patch below. >=20 > Still no documentation... It seems sensible to finalize the design before documenting. Where do = you think the documentation should go?=