From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup? Date: Sun, 23 May 2021 17:41:32 -0400 Message-ID: <49dc18ee-6c69-6d52-54e4-2cc73360b101@gmail.com> References: <802d6ebd-7003-d2b6-de6e-cd33d8b5404f@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33896"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 Cc: emacs-devel@gnu.org To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 23 23:42:23 2021 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 1lkvra-0008eH-MY for ged-emacs-devel@m.gmane-mx.org; Sun, 23 May 2021 23:42:22 +0200 Original-Received: from localhost ([::1]:52746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkvrZ-0006u6-PQ for ged-emacs-devel@m.gmane-mx.org; Sun, 23 May 2021 17:42:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkvqq-0006F4-SI for emacs-devel@gnu.org; Sun, 23 May 2021 17:41:36 -0400 Original-Received: from mail-qv1-xf36.google.com ([2607:f8b0:4864:20::f36]:36492) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lkvqo-0004MT-TA for emacs-devel@gnu.org; Sun, 23 May 2021 17:41:36 -0400 Original-Received: by mail-qv1-xf36.google.com with SMTP id ez19so13268104qvb.3 for ; Sun, 23 May 2021 14:41:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=9vsUL/R6TnAVwdx/NSt1BBrl0fZpuAFkLyMe1T0Ibp0=; b=CMKdHVdr9OGMtyIkwlSgEOQXeAJZmwVfqHEnkE0Ey7QitPZ6Lem9vHYsmX9ayIreC/ hosgLHuf0+ZejWwgG6cdN4IzWj2okdlSFnYzOlL0ZPVy2BnoqudVwrhIR/pM6Eopz7Cf lPvnAE08YhoHopl/Z2F2k/Ko7NgGNWYukV4pzz15560hGhyoqk79HgmCPNQoJ+D/u3ej ptBmTqq6MN9/AW3088ydCAlIvoWcG/BW81MEB/f5LTXVhOTMquEIfXlZ/Wcwx4R3LtiJ RaZoXR4MbEPEMuO/d+qFaRX/XB34HV3aNCur9wD/hCQfOyEedAd1dQXjUsshzeqe24Bj CiBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=9vsUL/R6TnAVwdx/NSt1BBrl0fZpuAFkLyMe1T0Ibp0=; b=FXKqqA3r/qeCdKtBNQh7RP9pd9U6sq43Et78zk8nXPCLJ5JIAwtAE/sQE21P5v5r8h jnyHkqmS4RHGq4bBpxgunR0u/1naf7mjQlNGstKArJROArWm/lPJv15u+fkb+BRaKHCH eCMyJt3W8lWovOTuTYBLsB/IUnFSdaSRIr+VAvQm6GcCy7rgMqrPW/Souf8rk14ohZvU CNi8PSZJTvhyQajnD9I8s2+4JAC9D7zj+UTxuCykd6iglbtFJ4tJ/QZtJ15yqfOGIXpG u5/Vk6egptNfD7SqKAXKXb8hl+kw0jNjRk/4UJq50mURm11M5xWW3qUTFVnlE7TRTgbl zY6A== X-Gm-Message-State: AOAM53312r+5usS+aPRZDH2gu2VZ1typvbXFy1cbyJjbOpfd+2ff+Iz9 mfhEFxNEUsbMjEZxydtABNmzFvocUns= X-Google-Smtp-Source: ABdhPJyTNBddluvagtSZY0BWjx61aPw9si4OLrmVPzk16owu/vBi5SYSq7MaVopDFZaToBSPibjN4w== X-Received: by 2002:a0c:8ec8:: with SMTP id y8mr8221271qvb.23.1621806093692; Sun, 23 May 2021 14:41:33 -0700 (PDT) Original-Received: from [192.168.1.11] (c-24-61-240-80.hsd1.ma.comcast.net. [24.61.240.80]) by smtp.googlemail.com with ESMTPSA id l4sm9139638qkp.48.2021.05.23.14.41.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 23 May 2021 14:41:33 -0700 (PDT) In-Reply-To: Content-Language: en-GB Received-SPF: pass client-ip=2607:f8b0:4864:20::f36; envelope-from=cpitclaudel@gmail.com; helo=mail-qv1-xf36.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, NICE_REPLY_A=-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: 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:269707 Archived-At: On 5/23/21 4:23 PM, Arthur Miller wrote: > Clément Pit-Claudel writes: > >> On 5/22/21 5:46 PM, Arthur Miller wrote: >>> 2. Would it be possible, not too inneficient, complicated etc, if obarray >>> or hashmap, whichever is used for symbol lookup by Emacs, could be defined >>> as BLV, so that Emacs would lookup symbols similar as it does for buffer >>> local variables? >> >> We have debated doing this in Flycheck with an explicit obarray (properties of Flycheck checkers are stored as symbol properties). > > Ok, cool, interesting. What have you come up with then? Is there some > public mail archive where discussion is archived? https://github.com/flycheck/flycheck/issues/1762#issuecomment-749826601