From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 20280 invoked from network); 9 Aug 2023 20:18:13 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 9 Aug 2023 20:18:13 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qTpd7-00Ffu1-0o for ml@inbox.vuxu.org; Wed, 09 Aug 2023 15:18:10 -0500 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.96) (envelope-from ) id 1qTpd6-003kIL-1h for ml@inbox.vuxu.org; Wed, 09 Aug 2023 15:18:04 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1qTpd3-003kIC-2D for ding@lists.math.uh.edu; Wed, 09 Aug 2023 15:18:01 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qTpd2-00FftM-0e for ding@lists.math.uh.edu; Wed, 09 Aug 2023 15:18:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=AHcu+X3r2XI84fK3y0R4QbXr5yaRvF7y8/VLoJ43bCg=; b=L5pYuak5fy2TbTVNo5NhaYOpQl D6saHhYyPQdRuixvUAmuNDO7abDtztFUJ6Z4dPDQoJa6zy56vfEF4vZPjP9C6jeVAzXjr9whtVK9j TpeVCPk22z0+inQwR5CmsZ/ridWZdwvm+ff199u6drg76pEcBw1cJi8IfrkCUqc9A2RM=; Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qTpcu-00046Q-6D for ding@gnus.org; Wed, 09 Aug 2023 22:17:54 +0200 Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-686fc0d3c92so142916b3a.0 for ; Wed, 09 Aug 2023 13:17:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bobnewell-net.20221208.gappssmtp.com; s=20221208; t=1691612269; x=1692217069; h=mime-version:user-agent:message-id:date:organization:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=AHcu+X3r2XI84fK3y0R4QbXr5yaRvF7y8/VLoJ43bCg=; b=zc5rgM2WjC75W/7wNKzDP1NtGJNZE6y7kQEeme3USa0QJPsDKPdug2hJgkZJBUMHgT CYy3pNS7mcYvFEz78YacWNdyEtSu3PJpLHpWbHZ5gyuR8iF6uVHtVBiRy0HF5oBhN7AL sNfsi2172JVAOZJcZyRpSS+Gdmph6PbvC2/2SvtCkN8wBF3UmfeORK9ETSE0imf6D6B8 hw41knJWR8R7VuatVypsO3oD20K1tNIkmcROqemJuqO/gCa5FoPCP9k8DCnHve66CJ78 Cy4bpycsDeB2Bq6GFXJePczj+gId+0Tog0E/I34/3s7re1a9bpRMdDxXqC0/rFkuH6JG PuaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691612269; x=1692217069; h=mime-version:user-agent:message-id:date:organization:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AHcu+X3r2XI84fK3y0R4QbXr5yaRvF7y8/VLoJ43bCg=; b=L/Dn7muIGMY8v7NUHPyg2KgM/YsPEWn6BWzmHF4FBGewMZr9YFmJuuY4AGAYHllRXk d7pHCjlSeebQX2Xi5o0W5uYNsQVlr6iO1ISc0eaB7nAvjvZF4SHIeRXmG9vYrok3XVz/ loD0T4aSS4i+Agl5LE33SyybEDrJN0JUabKEyKfxcMgQeIkTHUqjKze7acNYmAiRd6x9 xGah5rhM0ucEW2zLCj0YRmSUGJzFbYDnIoh3jgPJ+4JMPkbHvNV8kK5GdzFhcAU7Y+so dlG0JLGg/KpLZdX0sNI0g6phzQOddV4Db2wLmv1Zz04StPDQrPKUMwB9HP7m/tusJQy/ TH8w== X-Gm-Message-State: AOJu0YxthvZVTOBzFGFYs0oCYnmFX0UXLLCZMXwwKSPLg3jGKvoOJFs4 pImyEhEwYHzVDOjMLwh1EIYhKhkyFBbtzo7z2Vw= X-Google-Smtp-Source: AGHT+IEYtfMEPU+v9kZSzGXS0WFGQWcNQrsINnIOso17dKF+2VOigoqmEkxrWrIfbss3qBmzyqONCQ== X-Received: by 2002:a05:6a00:84e:b0:66c:9e97:aece with SMTP id q14-20020a056a00084e00b0066c9e97aecemr255737pfk.10.1691612268961; Wed, 09 Aug 2023 13:17:48 -0700 (PDT) Received: from localhost (dhcp-141-239-241-54.hawaiiantel.net. [141.239.241.54]) by smtp.gmail.com with ESMTPSA id s24-20020aa78298000000b00640dbbd7830sm3144pfm.18.2023.08.09.13.17.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 13:17:47 -0700 (PDT) From: Bob Newell To: ding Subject: gnus-alias-get-something Organization: Avi Gobbler Publishing Date: Wed, 09 Aug 2023 10:17:46 -1000 Message-ID: <875y5o0y39.eaeaqgsgh@djtil.aqads.com> User-Agent: Chrome/5.5 MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk Aloha everyone, The docs for gnus-alias-identity-alist seem to indicate that an element of the list can be a function that returns a string. I have a need for that in the signature field, which gnus-alias.el accesses like this: (defun gnus-alias-get-sig (ID) "Return the SIGNATURE portion of ID." (gnus-alias-get-something ID 6)) But we also have this: (defsubst gnus-alias-get-something (ID N) "Return the Nth something from ID." (let ((rv (nth N ID))) (if (and (stringp rv) (= (length rv) 0)) nil rv))) I tried this on the signature field: (concat start-lisp-home ".signature") where start-lisp-home is previously defined as "~/data/elisp" and got a symbolp error. Any insights appreciated. Probably user error! -- Bob Newell Honolulu, Hawai`i - Via GNU/Linux/Emacs/Gnus/BBDB