However, I suspect there is something wrong in XEmacs 21.4 and I don't think the above patch is a right solution. In relation to this, the same problem occurs in XEmacs 21.4 also by sieve-mode and sieve-manage-mode-menu.