From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: Oddities with dynamic modules Date: Thu, 21 Mar 2019 21:58:11 +0100 Message-ID: References: <83y3b4wdw9.fsf@gnu.org> <83tvhal45r.fsf@gnu.org> <83h8bwt1on.fsf@gnu.org> <83bm24t0hv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="172924"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 21 22:03:28 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h74qW-000isR-AQ for ged-emacs-devel@m.gmane.org; Thu, 21 Mar 2019 22:03:28 +0100 Original-Received: from localhost ([127.0.0.1]:46820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h74qV-0003eF-C3 for ged-emacs-devel@m.gmane.org; Thu, 21 Mar 2019 17:03:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h74ll-00006X-5D for emacs-devel@gnu.org; Thu, 21 Mar 2019 16:58:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h74lk-0007TL-6V for emacs-devel@gnu.org; Thu, 21 Mar 2019 16:58:33 -0400 Original-Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]:33535) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h74lc-0007OX-Ge; Thu, 21 Mar 2019 16:58:24 -0400 Original-Received: by mail-ot1-x334.google.com with SMTP id q24so77640otk.0; Thu, 21 Mar 2019 13:58:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=EZ80eLGZZnrzZLo7FyZRZ/vesDylm6CVxDJcTrdqUq8=; b=Tud0HVQq0mpu9HSTgbG+dO3/+hcvV4K8bPtWLz0r7wryrloH1J8WvUsIor1FaJU/kB +sZWxIhpMjdRKDMUJdGpRjxibOn+rAYl4H6AZ11mc7ms+lCFdQAmhhPJy9lvPKZQ7Tqo x1didxcxP86fhkV852WCNVPxbNP9d+lyuH55CV3WbJMqb5yvPtTDyhzzMkY/vhUYTiLz EVdph6t8PayEhDAKKW4ksaiRY0qKlb4uHCinbH3xAx4Y5ks+7nai8Fx1xM+6PY0j+fJh 7PxddJDwIVw/6Gy9TxLwgXqD/MeNcWyqTmUIFGae7+rzFua/VeIbNdBZfQ0a7dZaXI3y O3Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=EZ80eLGZZnrzZLo7FyZRZ/vesDylm6CVxDJcTrdqUq8=; b=apCzfoq5D8VqR7AhUB/O09nEn6b/lAowNeuvNoswrcOItWEOn8KJ83bcbU38ctQX3E Qr67ZLMn5HMM7810YsqNTOZsLSDmVv1z3ke5jIWJ+1a+Orhfm9LwJnTd6eRg/5i0QSy3 fE8zlwD/1YxBczSkM+1qBJD6xGLcIu5hSSdM5VDnz88kV3+0BknLYxd/+p7C25LMVcJX HC9gXynXVhXfWb1wQ6iwDMVcADRVM2RIDQUpr0msMRECjq0YXhrRfYy/8gwwSOpM7bf1 W+D/pXBV4HKEwBnio6mQLqB3TB4UJDi9/Qc60SpB9AnD3NC9DfsmBiiB8giiUPtcCaom YcvA== X-Gm-Message-State: APjAAAVLYRR2VbTJiNsVpWg0cN1Y7AY6ZpxvxFN5fctjxjKKI/9AKFTf 0MV9D1pv6srtkDdJcINM1cMgCuv0X3Bq8mMH+4yEpQ== X-Google-Smtp-Source: APXvYqwipZq/qvjrd19zyb5U3B8BaKi8Zl2oLWcTakNTnBrlxj2Fye3etaAhP/gK4By7lM0luG5Bz0bQP58utmVLlNc= X-Received: by 2002:a9d:62c8:: with SMTP id z8mr4111494otk.144.1553201902815; Thu, 21 Mar 2019 13:58:22 -0700 (PDT) In-Reply-To: <83bm24t0hv.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::334 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:234490 Archived-At: Am Do., 21. M=C3=A4rz 2019 um 21:51 Uhr schrieb Eli Zaretskii : > > > From: Philipp Stephani > > Date: Thu, 21 Mar 2019 21:34:39 +0100 > > Cc: Emacs developers > > > > potentially superfluous functions can't be removed any more, so this > > question seems to be of largely historical interest. > > No, it's not only of historical interest, because we can add > functions. That's true, and I agree for those we should find some clearer critera than "best judgment" or philosophical vague principles like "simplicity." Each addition should be discussed separately. Possible criteria could be: 1. Is it possible to obtain the functionality by calling existing functions? ("completeness") 2. Is it very difficult to replicate the functionality with the existing API, and the difficulty would be reduced significantly by introducing a new function? ("simplicity") 3. Is there a huge performance benefit in introducing a specialized functio= n? If none of these are fulfilled, then the function should probably not be added ("simplicity"). For example, I'd vote for adding timespec and bignum conversion functions based on (2).