unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Heime <heimeborgia@protonmail.com>
Cc: Jean Louis <bugs@gnu.support>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: [External] : Re: Functions with multiple optional arguments
Date: Mon, 17 Oct 2022 17:38:16 +0000	[thread overview]
Message-ID: <SJ0PR10MB5488CA37ADD52EC03E1D9ECAF3299@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <cG4WPovM9ttfhZ27IFM0rGkUCtmec8MHXu0udTy8nvqFS1qoxB4b7aMJjt-FVOmnS6SpcmZr5hzYs66WVAg_giaUyF2y_c9PJXIYDoV7E1Q=@protonmail.com>

> Your adaptation is much neater.  Did not realise that equality
> on symbols should be (eq 'actm 'nogo) rather than (eq actm 'nogo).
> Do you have time to describe what does wrong with (eq actm 'nogo)?

No.  In fact, I meant to write (eq actm 'nogo).
Quoting actm was a typo - you want to test its
value.  (eq actm 'nogo) is what it should be.

(eq 'actm 'nogo) will never be non-nil - those
are different values (symbols).

      reply	other threads:[~2022-10-17 17:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-16 21:04 Functions with multiple optional arguments Heime via Users list for the GNU Emacs text editor
2022-10-17  1:48 ` Emanuel Berg
2022-10-17  4:05 ` Jean Louis
2022-10-17  4:18   ` Emanuel Berg
2022-10-17 21:12     ` Jean Louis
2022-10-17 21:36       ` Emanuel Berg
2022-10-20 21:00         ` Jean Louis
2022-10-21  3:29           ` Emanuel Berg
2022-10-23  4:47             ` Jean Louis
2022-10-24  3:07               ` Emanuel Berg
2022-10-25  5:25                 ` Emanuel Berg
2022-10-17  5:42   ` Heime
2022-10-17 16:24     ` Heime
2022-10-17 16:52       ` [External] : " Drew Adams
2022-10-17 17:28         ` Heime
2022-10-17 17:38           ` Drew Adams [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SJ0PR10MB5488CA37ADD52EC03E1D9ECAF3299@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=bugs@gnu.support \
    --cc=heimeborgia@protonmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).