Looks like editing macros with arguments is working (including the previously non-working case of nested macros of the same kind). Display on screen is not exactly correct (yet), and the internals need to be cleaned up before this goes in officially. Anyway, it would be nice if someone else could try out the patch against current CVS under http://mathematik.htwm.de/tmp/mathed_macro.diff or http://mathematik.htwm.de/tmp/mathed_macro.diff.gz and give me some feedback. It's 24k gzipped, so I do not really want to send it to the list. Note that the behaviour has changed: When the mathcursor moves 'into' a macro, the macro is expanded on display into a box like this: --------------------------- | Macro: #1 + #2 + #1 | | | | #1: [] | | | | #2: [] | --------------------------- The macro's arguments can now be entered into the [] When the cursor leaves the box, the box currently collapses to "#1 + #2 + #1", but this will be changed to show the "real" arguments instead of the placeholders. Andre' -- André Pönitz ............................................. [EMAIL PROTECTED]