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.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3076 invoked from network); 10 Aug 2023 18:16:29 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 10 Aug 2023 18:16:29 -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 1qUACx-00GTQH-0T for ml@inbox.vuxu.org; Thu, 10 Aug 2023 13:16:27 -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 1qUACw-003mEs-0v for ml@inbox.vuxu.org; Thu, 10 Aug 2023 13:16:26 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1qUACt-003mEj-1u for ding@lists.math.uh.edu; Thu, 10 Aug 2023 13:16:23 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qUACm-00C0aP-1O for ding@lists.math.uh.edu; Thu, 10 Aug 2023 13:16:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=m/6GsxTzcPwJXwj60fs2WSc6Eh2HsOJpVYbqU2lWb3g=; b=HlFn7YBzuvVblepurYkhpJIay9 NmlXe5Ip6AcCWJZwo3J+9Rw5BiI1qrawPZWVZhP1FTr7qRPIwmGFvQGdvA8a707M5xmtjCOhQUS9q QgTvBItfPkyatd9uW10V2kkOijLlrqMj0uF5IwoyPUoVWvt/8vpDNvvv6ugexjBiQR64=; Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qUACe-0006mJ-Bf for ding@gnus.org; Thu, 10 Aug 2023 20:16:10 +0200 Received: by mail-pg1-x532.google.com with SMTP id 41be03b00d2f7-5650ec45a7cso817093a12.3 for ; Thu, 10 Aug 2023 11:16:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bobnewell-net.20221208.gappssmtp.com; s=20221208; t=1691691365; x=1692296165; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:organization:in-reply-to:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=m/6GsxTzcPwJXwj60fs2WSc6Eh2HsOJpVYbqU2lWb3g=; b=acONwKhA97o7eK4f4Yvo0MQNqJE4rqvu4p4r9hPZLjB4wPhbgjGcBqPACBc2s75KgV 67a0UD5t/yUTO1/MKpo8aprm4kG0F4f2+MOixCJDs6mJCPgc097qvcsASeT0SYS5tlWg bfBq1m/0gMnON1WLKBqrKtDuDEl8sOQ7tHz7wiR+coy4K0kf0FgQY/nc6VvQlIKB9V2C dG/YPpHz90qyr2QR0mg/B8KB2jXxzlzydGcUlwqLtBA89C+yb0+PBvHVgVZIA69ktZCV 2Y38U8Ewuid+SfegNxwSVqgYGXOgAK21s32FbpuTpwpdNelg5N+Atj8BBJlKpxqREojU TBkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691691365; x=1692296165; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:organization:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=m/6GsxTzcPwJXwj60fs2WSc6Eh2HsOJpVYbqU2lWb3g=; b=MUy0FOC6udjtS3lOV2oaMOLMzYd+6nsUe3VZi7HxYWIdy2zuEJ8u4eB+slDKnuaYgW irV//CfM2SQyA4mUQlEvl91ETCx08b71ZRfEjvduQww0vH5NuDDRoL3EIz4fXlo0PrrV cCwXAArgm1zIut4act7B/AgFeCPsnKGUuHuJvQwyZxIP5SDSRl/OYaZgRzVHPea5f4w4 3iwESlFpwh5i9zGjH8H5udXWUNMr2qFkmzZtIfPS+GXp8uqcjdEtxLYB4Ht0GtPn806F g3TDphASvNJ4nkzoeOtK2cRLXRd6Bz+Z40dR24EkNJIQpI8Fa6rhmkhiajIeh2V/NQsY zgkw== X-Gm-Message-State: AOJu0YwIZeBhXTmnhXkxi4GCZfSKLTFETDZmuGpg9/utNz5Wea9G7/D2 dP7Yw9vlSwyCv2PZnWEZCwer1kAfSxupLDaFnHM= X-Google-Smtp-Source: AGHT+IG2IQQadYvI6J4caMPFFfox1D+eYBZdNBzguOg2MOgnwVUHFsO99mDmkPt+7IOLxpjprifBFQ== X-Received: by 2002:a05:6a20:9712:b0:10f:52e2:49ec with SMTP id hr18-20020a056a20971200b0010f52e249ecmr2844484pzc.53.1691691365059; Thu, 10 Aug 2023 11:16:05 -0700 (PDT) Received: from localhost (dhcp-141-239-241-54.hawaiiantel.net. [141.239.241.54]) by smtp.gmail.com with ESMTPSA id x27-20020a056a00271b00b006827c26f147sm1823459pfv.138.2023.08.10.11.16.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Aug 2023 11:16:04 -0700 (PDT) From: Bob Newell To: ding Subject: Re: gnus-alias-get-something In-Reply-To: <87r0obz73t.fsf@thaodan.de> (=?utf-8?Q?=22Bj=C3=B6rn?= Bidar"'s message of "Thu, 10 Aug 2023 10:31:18 +0300") Organization: Avi Gobbler Publishing References: <875y5o0y39.eaeaqgsgh@djtil.aqads.com> <87msyza55t.jbtx@yqjrpoh.ysrusv.net> <87r0obz73t.fsf@thaodan.de> Date: Thu, 10 Aug 2023 08:16:02 -1000 Message-ID: <87pm3udaql.bxcl@ppgx.lolkrvl.org> User-Agent: Safari/5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: Precedence: bulk Bj=C3=B6rn Bidar writes: > Should it be? > (setq gnus-alias-identity-alist > '(=20 > ("aol" > nil > "Bob Newell " > nil > (("BCC" . "bobnewell@bobnewell.net")) ;; extra headers > nil > #'rjn-make-sig-string > ) > > You have write the function name as a reference, the bare name makes it > look like a variable. > I've tried it both ways and #'rjn-make-sig-string returns a symbolp error while the bare rjn-make-sig-string works! Yes, I know, this is absolutely contrary to expectations. The relevant code fragment from gnus-alias.el is this ;; what is it, list or function? (cond ;; ......................... ;; a function ((functionp first-elem) ;; call function; if it returns non-nil, use the identity (when (funcall first-elem) (setq identity (cadr current-choice)) )) The functionp test passes and then the funcall works on the bare name but not on the #' prefixed name. The ways of Gnus! --=20 Bob Newell Honolulu, Hawai`i - Via GNU/Linux/Emacs/Gnus/BBDB