From: Emanuel Berg <incal@dataswamp.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Setting numecir values according to symbol
Date: Sun, 30 Oct 2022 14:01:51 +0100 [thread overview]
Message-ID: <87sfj54g8w.fsf@dataswamp.org> (raw)
In-Reply-To: jwvcza95v89.fsf-monnier+emacs@gnu.org
Stefan Monnier via Users list for the GNU Emacs text editor wrote:
>> (defvar mbcomplt 0)
>>
>> (cond
>> ((eq armg 'auto) (setq mbcomplt 0)
>> ((eq armg 'icomplt-horz) (setq mbcomplt 1)
>> ((eq armg 'icomplt-vert) (setq mbcomplt 2)
>> ((eq armg 'ivy) (setq mbcomplt 3)
>> ((eq armg 'vertico) (setq mbcomplt 4)
>> ((eq armg 'helm) (setq mbcomplt 5)))
>
> Without giving more info about how you're using those two
> vars, it's hard to tell, but my crystal ball tells that
> you're probably better off getting rid of `mbcomplt` and
> using `armg` instead.
Because one variable shouldn't be functionally dependent on
another ...
--
underground experts united
https://dataswamp.org/~incal
next prev parent reply other threads:[~2022-10-30 13:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-30 4:31 Setting numecir values according to symbol Heime
2022-10-30 12:54 ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-10-30 13:01 ` Emanuel Berg [this message]
2022-10-30 22:12 ` Heime
2022-10-31 11:25 ` Emanuel Berg
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sfj54g8w.fsf@dataswamp.org \
--to=incal@dataswamp.org \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.