unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: uzibalqa <uzibalqa@proton.me>,
	uzibalqa via Users list for the GNU Emacs text editor
	<help-gnu-emacs@gnu.org>
Subject: RE: [External] : Execute commands with unless on symbols
Date: Sat, 8 Oct 2022 16:24:29 +0000	[thread overview]
Message-ID: <SJ0PR10MB5488CFA244D6A1EDD5A6F571F35E9@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <Ygm5AdII_NxmCZ7fsiSnfNojYr3Vy-xF7-ZP9FjRkh8yBGkhXUfWaIG51xgACC5sfk6Re9CsYae7cuDJPU1z6qLihqAJdzBWq6BOlNKlaUo=@proton.me>

> (defconst modust-statck 'go)
> (unless modust-statck

Yes.  Doesn't that do what you ask?

On the other hand, `defconst' is specifically
intended to give the message to human readers
that neither humans nor code are expected to
change the value of the variable.  It's a
proclamation to human readers that the var is
really a constant.

And if it's really a constant, then why test
it (e.g. with `unless')?  Either you should
use `defvar' or you just do XYZ instead of
(unless modust-statck XYZ).  No?

  reply	other threads:[~2022-10-08 16:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-08 16:08 Execute commands with unless on symbols uzibalqa
2022-10-08 16:24 ` Drew Adams [this message]
2022-10-08 17:12   ` [External] : " uzibalqa

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=SJ0PR10MB5488CFA244D6A1EDD5A6F571F35E9@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=uzibalqa@proton.me \
    /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).