One year ago or so I asked how to construct an interactive
function which allows to choose a list of interactive
Stephen Turnbull suggested something like this:
(defun pandoc-text-2-rtf-or-odt (ch)
(interactive "c1: pnc-txt-2-RTF,2: pnc-txt-2-ODT 3: pnc-txt-2-LaTeX ")
(setq ch (downcase ch))
(call-interactively (cond ((eql ch ?1) #'pandoc-txt-2-rtf)
((eql ch ?2) #'pandoc-txt-2-odt)
((eql ch ?3) #'pandoc-latex-2-rft)
(t (error 'args-out-of-range '(1 2 3 4 ch))))))
That works very nicely and simplified my life.
However when I have more than say four functions, the list
of choices which is displayed in the minibuffer becomes so
long that I cannot see the last element.
Does somebody know how to construct an interactive call which is
displayed in the minibuffer by various lines?
I looked into the code of auctex and org-mode. Both have
functions which display a list of interactive
functions. However these solutions are either very complicated or
very much nested (calls a function which calls another
XEmacs-Beta mailing list