all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Setting numecir values according to symbol
@ 2022-10-30  4:31 Heime
  2022-10-30 12:54 ` Stefan Monnier via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 5+ messages in thread
From: Heime @ 2022-10-30  4:31 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor

Am currently implementing a system that sets the minibuffer completion framework for emacs.
I set the numeric value of "mbcomplt" according the value of a variable "armg" which is a symbol.

Perhaps I can implement the setting of "mbcomplt" in a much more straightforward manner than
using the following implementation.

  (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)))





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-31 11:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2022-10-30 22:12     ` Heime
2022-10-31 11:25       ` Emanuel Berg

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.