From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: No Wayman Newsgroups: gmane.emacs.bugs Subject: bug#51602: 29.0.50; Slow completion on Windows 10 when symbol name contains unicode Date: Thu, 04 Nov 2021 15:51:53 -0400 Message-ID: <87ee7vsmua.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16698"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.4; emacs 29.0.50 To: 51602@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 04 21:11:21 2021 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 1mij4y-0003yi-Bn for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Nov 2021 21:11:20 +0100 Original-Received: from localhost ([::1]:53842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mij4w-0006f5-DN for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Nov 2021 16:11:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mij4h-0006ex-6C for bug-gnu-emacs@gnu.org; Thu, 04 Nov 2021 16:11:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60346) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mij4g-000453-Ea for bug-gnu-emacs@gnu.org; Thu, 04 Nov 2021 16:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mij4g-00080k-2k for bug-gnu-emacs@gnu.org; Thu, 04 Nov 2021 16:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: No Wayman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Nov 2021 20:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51602 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163605663630758 (code B ref -1); Thu, 04 Nov 2021 20:11:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Nov 2021 20:10:36 +0000 Original-Received: from localhost ([127.0.0.1]:43659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mij4F-000801-P7 for submit@debbugs.gnu.org; Thu, 04 Nov 2021 16:10:36 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:55488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mij4E-0007zu-0X for submit@debbugs.gnu.org; Thu, 04 Nov 2021 16:10:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mij4D-0006ZN-T5 for bug-gnu-emacs@gnu.org; Thu, 04 Nov 2021 16:10:33 -0400 Original-Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]:44759) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mij4B-0003q4-Fe for bug-gnu-emacs@gnu.org; Thu, 04 Nov 2021 16:10:33 -0400 Original-Received: by mail-qk1-x72f.google.com with SMTP id bj27so5209818qkb.11 for ; Thu, 04 Nov 2021 13:10:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:user-agent:message-id:mime-version :content-transfer-encoding; bh=OFkO6k3i24tNrl9uRCu0pgW3JkkR6pPNhTdzTfbnJH0=; b=BVxYMDkeKcYBD3k6tea5oR8sKxivIBIkY6liCEMefBOWSUI1T3pzKhdb5i5IwKGJ07 XyBwwu1vfHbDwv9i6eO7YXrbUIUxrphRb/UGqH8DMn9BcAOz4rVHRfdg3rtIfBxa9S4R F3S3Sgh3NX6jUYLNXIZsMvS+TH4SsDIljYxTe1aHFpvvbW5l6wKKdO1K2LEADAe3PLCn 9RcICL1dh/7wtUwBpz9SOMZdXFq5VSiRU9kVvgc82TvFc/UaAP0xZFH1gyQq5BAu8KV0 xTJ/0Fyhs42XbxVsGIJu2l+Msbb8gx0eRUjaLCwNsBdhr4uNp2Xzo5ABkrryZbDUs4GB F80A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:user-agent:message-id :mime-version:content-transfer-encoding; bh=OFkO6k3i24tNrl9uRCu0pgW3JkkR6pPNhTdzTfbnJH0=; b=QR61libT6UIZgqGpOHTEx3bxlA67LtOuaRWcGZNu0FIptw48zgO3z4lavxoAaPbNBJ NtbuA/EgngC/qXVAzSyKE/zrLYzCSYv4i9Rk3qJiHckUYfjOzn7ihRsmTVDVucGh+bIy gmZ/bC6QLueb+ejY8M40TeiExN0eG9dLOnAe34x34K7eTVWwSze1mmn7XZcG8ZZ5MdDK BkkzQ3FGj4k/9RjqgsiqrZxpvVyZyx9kxXFnsPXP+7QykLJ2TBcFqUXvn87oSIskFQHA cxaZKnDti2qm7sRl3F3tXeLnB/ril9bG8dilb9+GF305Z81UNr7sYnNigUOLcPYSJ4iS 1M5w== X-Gm-Message-State: AOAM5330SbrkvmhXuiAeUejsttn/lNBl19uDV/x3E17LZlZurYgDX+xS cI+QXh0obxLWsmH//BGWPIPmwgAxV/Y= X-Google-Smtp-Source: ABdhPJwbSKjAWtgyo3XlTHxm8tchn9K6bUz0y6ZU4tCj6Xy/ZmdT72Fukdmt0nX4IzK3G7dW3cswmA== X-Received: by 2002:a37:9c4:: with SMTP id 187mr6768389qkj.425.1636056629635; Thu, 04 Nov 2021 13:10:29 -0700 (PDT) Original-Received: from nbook ([2601:82:c200:166d:bca:38db:ac6b:21be]) by smtp.gmail.com with ESMTPSA id q14sm4277846qtl.73.2021.11.04.13.10.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Nov 2021 13:10:29 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::72f; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qk1-x72f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.bugs:218947 Archived-At: This is a bug that was reported to straight.el's repository.=20 According to the user's report, it is reproducible from emacs -Q=20 without straight.el. I asked them to report it here, but they=20 refused (citing a "previous unpleasant experience with=20 bugs-gnu-emacs"). To reproduce: 1. emacs -Q 2. define the following command: (defun test=E0=B2=A0-=E0=B2=A0 ()=20 (interactive) nil) 3. Attempt completion They claim completion will "hang" for some time. They also claim=20 including the command in an init file will cause the init time to=20 take 5 seconds longer. User claims Emacs 26, 27.2 and current master branch are all=20 affected when built on Windows 10 (Home and Enterprise using=20 MSYS2). We have a single alias in straight.el which includes =E0=B2=A0-=E0=B2=A0 in= the=20 symbol name. My reading of: https://www.gnu.org/software/emacs/manual/html_node/elisp/Symbol-Type.html seems to indicate that unicode characters in a symbol name should=20 be fine. Is that my misunderstanding? Initial report: https://github.com/raxod502/straight.el/issues/877 I'm unable to verify the reproduction case myself, as I don't have=20 access to a Windows machine. Apologies in advance if this is noise.