On Fri, 15 Sep 2006, Jean-Marc Lasgouttes wrote:

> Angus> Why don't you loop over all commands in the sequence and 
> Angus> establish if any actions are disabled? There are no if-blocks to 
> Angus> complicate the logic.
> 
> Because action 2 may not be possible until action 1 has been done (for 
> example, action 1 opens a math inset and action 2 is a math-only 
> operation).

None of the attribues say if an LFUN only works in math-mode, do they? 
(That information might be interesting to tabulate for the users though)

Which of the following LFUNs only work in math-mode?  I'd be grateful if 
someone can tell me, or tell me how I can find out without resorting to 
trial and error.

Are there any other cases like that, i.e. some LFUNs do *not* work in 
math-mode?

||accent-acute                   ||                               ||
||accent-breve                   ||                               ||
||accent-caron                   ||                               ||
||accent-cedilla                 ||                               ||
||accent-circle                  ||                               ||
||accent-circumflex              ||                               ||
||accent-dot                     ||                               ||
||accent-grave                   ||                               ||
||accent-hungarian-umlaut        ||                               ||
||accent-macron                  ||                               ||
||accent-ogonek                  ||                               ||
||accent-special-caron           ||                               ||
||accent-tie                     ||                               ||
||accent-tilde                   ||                               ||
||accent-umlaut                  ||                               ||
||accent-underbar                ||                               ||
||accent-underdot                ||                               ||
||all-changes-accept             ||                               ||
||all-changes-reject             ||                               ||
||all-insets-toggle              ||ReadOnly                       ||
||appendix                       ||                               ||
||backward-select                ||ReadOnly | SingleParUpdate     ||
||bibitem-insert                 ||                               ||
||bibtex-database-add            ||                               ||
||bibtex-database-del            ||                               ||
||bookmark-goto                  ||ReadOnly                       ||
||bookmark-save                  ||ReadOnly                       ||
||box-insert                     ||                               ||
||branch-insert                  ||                               ||
||break-line                     ||                               ||
||break-paragraph                ||                               ||
||break-paragraph-keep-layout    ||                               ||
||break-paragraph-skip           ||                               ||
||buffer-auto-save               ||                               ||
||buffer-begin                   ||ReadOnly                       ||
||buffer-begin-select            ||ReadOnly                       ||
||buffer-child-open              ||ReadOnly                       ||
||buffer-chktex                  ||ReadOnly                       ||
||buffer-close                   ||ReadOnly                       ||
||buffer-end                     ||ReadOnly                       ||
||buffer-end-select              ||ReadOnly                       ||
||buffer-export                  ||ReadOnly                       ||
||buffer-export-custom           ||ReadOnly                       ||
||buffer-import                  ||NoBuffer                       ||
||buffer-language                ||                               ||
||buffer-new                     ||NoBuffer                       ||
||buffer-new-template            ||NoBuffer                       ||
||buffer-next                    ||ReadOnly                       ||
||buffer-params-apply            ||                               ||
||buffer-previous                ||ReadOnly                       ||
||buffer-print                   ||ReadOnly                       ||
||buffer-reload                  ||ReadOnly                       ||
||buffer-save-as-default         ||                               ||
||buffer-switch                  ||ReadOnly                       ||
||buffer-toggle-compression      ||                               ||
||buffer-toggle-read-only        ||ReadOnly                       ||
||buffer-update                  ||ReadOnly                       ||
||buffer-view                    ||ReadOnly                       ||
||buffer-write                   ||ReadOnly                       ||
||buffer-write-as                ||ReadOnly                       ||
||build-program                  ||ReadOnly                       ||
||cancel                         ||NoBuffer                       ||
||caption-insert                 ||                               ||
||cell-backward                  ||                               ||
||cell-forward                   ||                               ||
||cell-split                     ||                               ||
||change-accept                  ||                               ||
||change-reject                  ||                               ||
||changes-merge                  ||                               ||
||changes-output                 ||                               ||
||changes-track                  ||                               ||
||char-backward                  ||ReadOnly | NoUpdate            ||
||char-forward                   ||ReadOnly | NoUpdate            ||
||chars-transpose                ||                               ||
||charstyle-insert               ||                               ||
||citation-insert                ||                               ||
||clipboard-paste                ||                               ||
||command-execute                ||NoBuffer                       ||
||command-prefix                 ||NoBuffer                       ||
||command-sequence               ||NoBuffer                       ||
||copy                           ||ReadOnly                       ||
||cut                            ||                               ||
||date-insert                    ||                               ||
||delete-backward                ||SingleParUpdate                ||
||delete-backward-skip           ||                               ||
||delete-forward                 ||SingleParUpdate                ||
||delete-forward-skip            ||                               ||
||depth-decrement                ||                               ||
||depth-increment                ||                               ||
||dialog-disconnect-inset        ||                               ||
||dialog-hide                    ||                               ||
||dialog-show                    ||NoBuffer                       ||
||dialog-show-new-inset          ||                               ||
||dialog-update                  ||NoBuffer                       ||
||dots-insert                    ||                               ||
||down                           ||ReadOnly | NoUpdate            ||
||down-select                    ||ReadOnly | SingleParUpdate     ||
||drop-layouts-choice            ||ReadOnly                       ||
||end-of-sentence-period-insert  ||                               ||
||environment-insert             ||                               ||
||error-next                     ||ReadOnly                       ||
||ert-insert                     ||                               ||
||escape                         ||ReadOnly                       ||
||external-edit                  ||                               ||
||file-insert                    ||                               ||
||file-insert-ascii              ||                               ||
||file-insert-ascii-para         ||                               ||
||file-new                       ||NoBuffer                       ||
||file-open                      ||NoBuffer                       ||
||float-insert                   ||                               ||
||float-list                     ||                               ||
||float-wide-insert              ||                               ||
||font-bold                      ||                               ||
||font-code                      ||                               ||
||font-default                   ||                               ||
||font-emph                      ||                               ||
||font-frak                      ||                               ||
||font-free-apply                ||                               ||
||font-free-update               ||                               ||
||font-ital                      ||                               ||
||font-noun                      ||                               ||
||font-roman                     ||                               ||
||font-sans                      ||                               ||
||font-size                      ||                               ||
||font-state                     ||ReadOnly                       ||
||font-underline                 ||                               ||
||footnote-insert                ||                               ||
||forward-select                 ||ReadOnly | SingleParUpdate     ||
||graphics-edit                  ||                               ||
||help-open                      ||NoBuffer | Argument            ||
||hfill-insert                   ||                               ||
||html-insert                    ||                               ||
||hyphenation-point-insert       ||                               ||
||index-insert                   ||                               ||
||index-print                    ||                               ||
||inset-apply                    ||                               ||
||inset-dissolve                 ||                               ||
||inset-insert                   ||                               ||
||inset-settings                 ||ReadOnly                       ||
||keymap-off                     ||ReadOnly                       ||
||keymap-primary                 ||ReadOnly                       ||
||keymap-secondary               ||ReadOnly                       ||
||keymap-toggle                  ||ReadOnly                       ||
||label-goto                     ||ReadOnly                       ||
||label-insert                   ||                               ||
||language                       ||                               ||
||layout                         ||                               ||
||layout-paragraph               ||ReadOnly                       ||
||layout-tabular                 ||                               ||
||ligature-break-insert          ||                               ||
||line-begin                     ||ReadOnly | NoUpdate            ||
||line-begin-select              ||ReadOnly | SingleParUpdate     ||
||line-delete-forward            ||     }                         ||
||line-end                       ||ReadOnly | NoUpdate            ||
||line-end-select                ||ReadOnly | SingleParUpdate     ||
||line-insert                    ||                               ||
||list-insert                    ||                               ||
||lyx-quit                       ||NoBuffer                       ||
||lyxrc-apply                    ||NoBuffer                       ||
||marginalnote-insert            ||                               ||
||mark-off                       ||ReadOnly                       ||
||mark-on                        ||ReadOnly                       ||
||mark-toggle                    ||ReadOnly                       ||
||math-bigdelim                  ||                               ||
||math-delim                     ||                               ||
||math-display                   ||                               ||
||math-extern                    ||                               ||
||math-import-selection          ||                               ||
||math-insert                    ||                               ||
||math-limits                    ||                               ||
||math-macro                     ||                               ||
||math-matrix                    ||                               ||
||math-mode                      ||                               ||
||math-mutate                    ||                               ||
||math-nonumber                  ||                               ||
||math-number                    ||                               ||
||math-size                      ||                               ||
||math-space                     ||                               ||
||math-subscript                 ||                               ||
||math-superscript               ||                               ||
||menu-open                      ||NoBuffer                       ||
||menu-separator-insert          ||                               ||
||message                        ||NoBuffer                       ||
||meta-prefix                    ||NoBuffer                       ||
||next-inset-toggle              ||ReadOnly                       ||
||note-insert                    ||                               ||
||note-next                      ||ReadOnly                       ||
||optional-insert                ||                               ||
||outline-down                   ||                               ||
||outline-in                     ||                               ||
||outline-out                    ||                               ||
||outline-up                     ||                               ||
||pagebreak-insert               ||                               ||
||paragraph-down                 ||ReadOnly | NoUpdate            ||
||paragraph-down-select          ||ReadOnly                       ||
||paragraph-goto                 ||ReadOnly                       ||
||paragraph-move-down            ||                               ||
||paragraph-move-up              ||                               ||
||paragraph-params-apply         ||                               ||
||paragraph-spacing              ||                               ||
||paragraph-up                   ||ReadOnly | NoUpdate            ||
||paragraph-up-select            ||ReadOnly                       ||
||paste                          ||                               ||
||preferences-save               ||NoBuffer                       ||
||primary-selection-paste        ||                               ||
||quote-insert                   ||                               ||
||reconfigure                    ||NoBuffer                       ||
||redo                           ||                               ||
||reference-next                 ||ReadOnly                       ||
||repeat                         ||NoBuffer                       ||
||screen-down                    ||ReadOnly | NoUpdate            ||
||screen-down-select             ||ReadOnly                       ||
||screen-font-update             ||NoBuffer                       ||
||screen-recenter                ||ReadOnly                       ||
||screen-up                      ||ReadOnly | NoUpdate            ||
||screen-up-select               ||ReadOnly                       ||
||self-insert                    ||SingleParUpdate                ||
||server-char-after              ||ReadOnly                       ||
||server-get-font                ||ReadOnly                       ||
||server-get-layout              ||ReadOnly                       ||
||server-get-name                ||ReadOnly                       ||
||server-get-xy                  ||ReadOnly                       ||
||server-goto-file-row           ||                               ||
||server-notify                  ||ReadOnly                       ||
||server-set-xy                  ||ReadOnly                       ||
||set-color                      ||ReadOnly | NoBuffer            ||
||space-insert                   ||                               ||
||tabular-feature                ||                               ||
||tabular-insert                 ||                               ||
||textclass-apply                ||                               ||
||textclass-load                 ||                               ||
||theorem-insert                 ||                               ||
||thesaurus-entry                ||ReadOnly                       ||
||toc-insert                     ||                               ||
||toc-view                       ||ReadOnly                       ||
||toggle-cursor-follows-scrollbar ||ReadOnly                       ||
||tooltips-toggle                ||NoBuffer                       ||
||undo                           ||                               ||
||up                             ||ReadOnly | NoUpdate            ||
||up-select                      ||ReadOnly | SingleParUpdate     ||
||url-insert                     ||                               ||
||vc-check-in                    ||ReadOnly                       ||
||vc-check-out                   ||ReadOnly                       ||
||vc-register                    ||ReadOnly                       ||
||vc-revert                      ||ReadOnly                       ||
||vc-undo-last                   ||ReadOnly                       ||
||word-backward                  ||ReadOnly | NoUpdate            ||
||word-backward-select           ||ReadOnly | SingleParUpdate     ||
||word-capitalize                ||                               ||
||word-delete-backward           ||                               ||
||word-delete-forward            ||                               ||
||word-find                      ||ReadOnly                       ||
||word-find-backward             ||ReadOnly                       ||
||word-find-forward              ||ReadOnly                       ||
||word-forward                   ||ReadOnly | NoUpdate            ||
||word-forward-select            ||ReadOnly | SingleParUpdate     ||
||word-lowcase                   ||                               ||
||word-replace                   ||                               ||
||word-select                    ||ReadOnly                       ||
||word-upcase                    ||                               ||
||words-count                    ||ReadOnly                       ||
||wrap-insert                    ||                               ||


/C

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr

Reply via email to