From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Samuel Wales Newsgroups: gmane.emacs.help Subject: Re: curious why private variables are rare Date: Mon, 2 Oct 2023 16:56:54 -0700 Message-ID: References: <87zgck1ncm.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6916"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 03 01:57:42 2023 Return-path: Envelope-to: geh-help-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 1qnSnG-0001Rp-Fq for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 03 Oct 2023 01:57:42 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnSma-0005n7-Sy; Mon, 02 Oct 2023 19:57:00 -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 1qnSmZ-0005mz-MS for help-gnu-emacs@gnu.org; Mon, 02 Oct 2023 19:56:59 -0400 Original-Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qnSmX-00062O-Sh for help-gnu-emacs@gnu.org; Mon, 02 Oct 2023 19:56:59 -0400 Original-Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-503178a0d7fso61513e87.1 for ; Mon, 02 Oct 2023 16:56:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696291015; x=1696895815; darn=gnu.org; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=cUiGt9fpm4eZ1PottHVlpmZcvFp/zvFuEF0XX8A9Y2s=; b=I3wzHaUrkOB8s6XoMaV1aX7LP+X78qbMAO2N5RUmaTxXsbx+q3Iy6FXgaUIpdDgk4X yuBhcEXyFBm5mWBSvd+HAuqkDeuu7watgSMXH/U++pdVJNscDH7Dmdr6vQaIfZwaGnmY oSXvK43UFiEYUmA1aaXa3sZ1ftjUM+fSPc/osAChKWyknWiUX9M+9rpR704FSv4aZT5s JBnPTtW3u7mNCJ198ov5SYV+MaoXMI1pjCudSdHevVq1wqGs51NXBosydV3SYO/smzpZ /y0zoouNioUH4csFhWuxhpttQGY6WTSBUdPeoEXTd1ZcErDvDbVsQxRuIqwMaQOEvZ4x PIDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696291015; x=1696895815; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cUiGt9fpm4eZ1PottHVlpmZcvFp/zvFuEF0XX8A9Y2s=; b=B0Ae47J2piS4Z9obdlQ3Np3uWqqpedF0Aizukb0QJRGPuGeRLM7ScPOUDsbmw7Vgok sz4H0GGGZ01gciHnUwFekR1NwxLcIz4Foe6iMMKzuxQswD3GyJSR4QzHesKh6dGFk4qC OV1YKhBxPVRKPR2jCZQoIT3yFZE2yF1qniHJsxIXedphfXrzsz6nnuppCAMYAavO2XMB G14sY5EVeEsGYWqxv1mjvk/hhviKyapRWOxTfZVDyaOk+6rqwHXdeJdxL+TElm3BUd8P 7NWNSbLqwWU9hR8YKwySCei/tfBX1EAJci8UaU5cf9M7KHNvkz10fUk7E7HhvAjj/igM HJdQ== X-Gm-Message-State: AOJu0Ywxjcc6QpTvM5HuernUAjcaJax9AlH0AfQEdgtai5hs3V6uLkfI +ZkLcMM/xA7UaijdPOkOFHHpaKgCEh43iMHjeATNSdk90YUFaVfd X-Google-Smtp-Source: AGHT+IE4GxuyJiQrzUq+Ha3+cavkkrVNH9RgRGPHwgHIKl6DDpYfuscidQutdKLEurTNAjaZJ0stob5S+CxqIebVzIk= X-Received: by 2002:ac2:59ce:0:b0:4ff:8980:2217 with SMTP id x14-20020ac259ce000000b004ff89802217mr10592485lfn.2.1696291014823; Mon, 02 Oct 2023 16:56:54 -0700 (PDT) Original-Received: by 2002:a05:6520:485:b0:272:37a9:8c91 with HTTP; Mon, 2 Oct 2023 16:56:54 -0700 (PDT) In-Reply-To: <87zgck1ncm.fsf@dataswamp.org> Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=samologist@gmail.com; helo=mail-lf1-x129.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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145200 Archived-At: discoverd a possible bug in 27 with privte vriables. in the following c-h f does not take you to the cl-defun. (let (private-alist (unique-string (format "%s" (gensym "cleandiff-unify--xyzzy--")))) (define-key cleandiff-mode-map "U" 'cleandiff-unify) ;; this code works but possibly needs improving ;; c-h f fails to go to the correct location goes to bob (cl-defun cleandiff-unify ;; actually consider log 4 (arg &aux (prefix (cond ((= arg 1) 'usual) ((= arg 4) 'extra) ((= arg 16) 'clear) ((= arg 64) 'update)))) On 11/21/22, Emanuel Berg wrote: > Stefan Monnier via Users list for the GNU Emacs text editor wrote: > >> warnings [...] unknown function > > Yes, but as you know, shut it up with `declare-function', e.g. > > (declare-function australian-survivor nil) > > -- > underground experts united > https://dataswamp.org/~incal > > > -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com