Daiki Ueno writes: > XeCycle writes: > >> This is the debug trace when I try to display a signed message: >> >>> Debugger entered--Lisp error: (wrong-number-of-arguments #[(target >>> old new) "\303 >>> #\207" [old new target replace-regexp-in-string] 4] 4) >>> mm-replace-in-string("\ntest encrypt.\n" "\n" "\n" t) > > So I guess the culprit is a third-party replace-regexp-in-string defined > somewhere. Could you check where it is defined, with C-h f > replace-regexp-in-string? It showed these: > replace-regexp-in-string is a compiled Lisp function in > `subr.el'. > (replace-regexp-in-string REGEXP REP STRING &optional FIXEDCASE > LITERAL SUBEXP START) I checked the file `subr.el', it is the one that comes with Emacs. What's up with it? -- Carl Lei (XeCycle) Department of Physics, Shanghai Jiao Tong University OpenPGP public key: 7795E591 Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591