From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dr Rainer Woitok Newsgroups: gmane.emacs.help Subject: Re: (interactive) and &optional Date: Sat, 25 Mar 2023 13:35:51 +0100 Message-ID: <25630.60070.913514.100455@woitok.gmail.com> References: <25628.42021.832534.376361@woitok.gmail.com> <87jzz746ma.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33827"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Philip Kaludercic Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 25 13:36:44 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 1pg38V-0008aa-Py for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 25 Mar 2023 13:36:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pg37k-0002xx-N0; Sat, 25 Mar 2023 08:35:56 -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 1pg37j-0002xd-Md for help-gnu-emacs@gnu.org; Sat, 25 Mar 2023 08:35:55 -0400 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pg37i-000797-11 for help-gnu-emacs@gnu.org; Sat, 25 Mar 2023 08:35:55 -0400 Original-Received: by mail-wr1-x434.google.com with SMTP id m2so4223965wrh.6 for ; Sat, 25 Mar 2023 05:35:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679747752; h=references:in-reply-to:subject:cc:to:message-id :content-transfer-encoding:mime-version:date:from:from:to:cc:subject :date:message-id:reply-to; bh=J80cSKbbROT9ojJj+XRTq4YcwHnxXEK8mR6had97+Gc=; b=JnMTzxV5cNqwmsLOAYdFv8ihMzNKah+EWGofKbDLf4O3cSYd+y5gUgaTr+MTuQ8gGR zxSobboEgMl23irLxMiBapLhsTDIBYuaF7a/rZSehrY7LQqln4fi4gqi4kC1Ul6LGpKx U3Zjfq+TrnQAUtP9xOy2KMUWQXVGwA5z0p/OvH0uMYxLVKywfweUhYdtsEHUPQ2zo1r1 X2eStvGxATHJSHw4VUr2AoGM1VmDi+RzZKWhed+JARQGzPvuutcxGwl1A2Pc5VLTjeLE B+CgURs13fjJnEZU205GWMqFQCvrHPpvss05uDDaFlx+P5fGUprcD3RrzvR2xPRMIxau 9GTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679747752; h=references:in-reply-to:subject:cc:to:message-id :content-transfer-encoding:mime-version:date:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=J80cSKbbROT9ojJj+XRTq4YcwHnxXEK8mR6had97+Gc=; b=COwym56rPsQmXTi0PTQc65RCWz3kk4Aoc/Piz4vfxcVxZ7O5iOGktV1XSH5esNPl7j mr+UaB1V+KNDywhV4fIrD3HfUnXcBamnYBwImOdl2cvJhZJ3TikLZ/K0kwTtoqb/KCGy WK3BwN9f9ZW17g2PXMlpxB7VyeBfMg49xUhDzxB6eBRokD1UTjjtLHF4PG5JgrliXYvi Mj7y3peCKnexudIgeEjn47trRZyEKYEqVKV83m0dx02ewTagtZ0Y8GhYFLYYrp/+JnoZ zidhUdX3m0cJCpFbwg0PaoY5905k+fNHCV3Rjq1alYf70x4gfayrZ4B5expghOKhhhpj I4YA== X-Gm-Message-State: AAQBX9dElhzm+VCOBTUgM7/qwclUsfe6nyfF0aO9XHjJUMAP8kzw+Lh2 pJOz0G1aXEHjn7vGZS7LOBc= X-Google-Smtp-Source: AKy350aF4ig3ya30DWd/vI9klWhrhyJdxKYyHSfthhDBIY8015h5mcQqFdRrBRYDDq7Q6Db/lcPsIw== X-Received: by 2002:adf:f6c9:0:b0:2ce:a612:e3a5 with SMTP id y9-20020adff6c9000000b002cea612e3a5mr4652253wrp.50.1679747752314; Sat, 25 Mar 2023 05:35:52 -0700 (PDT) Original-Received: from gmail.com (p200300df0703367dec9d611ecd73f259.dip0.t-ipconnect.de. [2003:df:703:367d:ec9d:611e:cd73:f259]) by smtp.gmail.com with ESMTPSA id a7-20020adff7c7000000b002c70ce264bfsm20733908wrq.76.2023.03.25.05.35.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Mar 2023 05:35:51 -0700 (PDT) X-Google-Original-From: Dr Rainer Woitok In-Reply-To: Msg <87jzz746ma.fsf@posteo.net> of 2023-03-23 19:20:29 +0000 from philipk@posteo.net X-Mailer: VM 8.2.0b under 28.2 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=rainer.woitok@gmail.com; helo=mail-wr1-x434.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: 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:143108 Archived-At: Philip, On Thursday, 2023-03-23 19:20:29 +0000, you wrote: > ... > > as expected, while calling "M-x fun" and then just typing "RET" at the > > prompt returns > > > > val:.\n > > > > that is, an empty symbol or string. > > Right. That's a bit flabbergasting: experimenting some more with my function, I found that "symbolp" really returns t in case of empty responses, mean- ing there really is such a thing as an empty symbol. So how can I test for an empty symbol? There doesn't seem to be a function "symbol-empty- p" while, strictly speaking, "string-empty-p" shouldn't be applyable to symbols at all, should it? Does an empty symbol have an external repre- sentation like an empty list or string, allowing the use of "eq"? Sincerely, Rainer