From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.devel Subject: Re: on helm substantial differences Date: Wed, 18 Nov 2020 11:38:19 +0000 Message-ID: <87lfey28us.fsf@tcd.ie> References: <87wnymda5g.fsf@mail.linkov.net> <87ima5he8j.fsf@mail.linkov.net> <87mtzfzt9a.fsf@mail.linkov.net> <87lfezd8r0.fsf@mail.linkov.net> <87k0uj58ub.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31947"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: spacibba@aol.com, Jean Louis , andreyk.mad@gmail.com, emacs-devel@gnu.org, rudalics@gmx.at, Stefan Monnier , Gregory Heytings , Eli Zaretskii , Drew Adams To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 18 12:39:39 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kfLoI-0008A7-1m for ged-emacs-devel@m.gmane-mx.org; Wed, 18 Nov 2020 12:39:38 +0100 Original-Received: from localhost ([::1]:53992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfLoH-00041A-2g for ged-emacs-devel@m.gmane-mx.org; Wed, 18 Nov 2020 06:39:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfLnB-0003YX-5o for emacs-devel@gnu.org; Wed, 18 Nov 2020 06:38:29 -0500 Original-Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:34787) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfLn5-0005ed-T3 for emacs-devel@gnu.org; Wed, 18 Nov 2020 06:38:28 -0500 Original-Received: by mail-wr1-x42e.google.com with SMTP id r17so1920078wrw.1 for ; Wed, 18 Nov 2020 03:38:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=tVDwCQ4sUgGYemY3wnzTmsJbN9OezSEC95+UV5Vaj5s=; b=JXXFJKcshS1S7LpRZzRmlzf3Si+AeXoYhNaLsLAbkh9igShV9jqRED/hwKFa+cMBks W4q73AeNu+bcubPjIkH58ylJvD6EeMMXB3dYOtqKFzYP+x36bVLah/jaMA0zT8PdJNzZ 1wAd292tCbEzs54YO0jvRH+5RR6qSpyEdnjYNND5Iwq1uOmd17SqUER4LiXsWBB+ulaG ZZ40pdQzyy6e3e4s0yH9r6/drb+9pQvp/e8OAEcZ5rWS7ljHXh7+BgWDSyOxSO9doHcS bZSRx1c+LjTcjDlzeaTL1btIJ4gm9gkQsW+4Lgoruio7kAvtL2Fo3oqI9vu7tU5CwRgE TCtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=tVDwCQ4sUgGYemY3wnzTmsJbN9OezSEC95+UV5Vaj5s=; b=opXIgtUqCa+jCx6mpD+mVm51Rap9u9vqsIkfiyld6JB0Je3CNceLYBhxqrCKlMtuzH GEqvMrsHMK6GBRYwvnyxenwbU5MY+LQ2/7hQqr8RA5aQZZMwg9vXN0AmICbaPpXGPlf4 YFZ1vhvs44gMXk+I2rCD0eP+hXgaupiWvs5xbTFyAULZ0qIhIcDoyJjiwq/L4FjwvKt6 +vtGS8FAUFHvHeTJqTOnVcX4EW1se9PxUmkbdWlrk7GTf5nO5+5qGZ9G+YGJNprr/HwJ xWEQvkh+snGKXjLVHV8DfZWID3dCr38gHv15Z7M/FQ+LzhLJTZecZ/fa2vg7aEwT5JJZ IWxA== X-Gm-Message-State: AOAM533blk1TW3ven62Cy7S4P8KmowocfWqUd6XmmwT3SNOw3pKt3F2s sJY8Fy1o54qLwbXwysmahwFXWA== X-Google-Smtp-Source: ABdhPJwF7arcFVtwu0TSINk9ft3u71yZyCRmG6kpzq0144+dklzUSOIdNRPTRSQk86lwbEcKHxwldg== X-Received: by 2002:a5d:4d87:: with SMTP id b7mr4614426wru.115.1605699502017; Wed, 18 Nov 2020 03:38:22 -0800 (PST) Original-Received: from localhost ([2a02:8084:20e2:c380:92bd:1bfd:38fc:fae2]) by smtp.gmail.com with ESMTPSA id b4sm2818536wmc.1.2020.11.18.03.38.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Nov 2020 03:38:20 -0800 (PST) In-Reply-To: <87k0uj58ub.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 18 Nov 2020 11:10:20 +0200") Received-SPF: none client-ip=2a00:1450:4864:20::42e; envelope-from=contovob@tcd.ie; helo=mail-wr1-x42e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:259337 Archived-At: Juri Linkov writes: > - (+ (string-width (car s)) > - (string-width (cadr s))) > + (cl-reduce #'+ (mapcar #'string-width s)) Nit: If you're calling mapcar anyway, why not simply (apply #'+ 0 ...)? Thanks, -- Basil