Re: [AUCTeX-devel] logs of make with emacs 21 and xemacs (was Re: Auto insertion of ampersands)
I should have fixed all issues, now XEmacs 21.4 compiles flawless for me. I don't have a GNU Emacs 21 binary, please let me know if you still experience problems. Thanks to your effort, compile and install finish without errors on both emacs 21 and xemacs. Unfortunately, there seems to remain incompatibility during the run-time. TAB sometimes raises error. Here is the detail. (1) On emacs 21.4 or xemacs 21.4.22, put the point on the line with a sole ampersand in the following code in the buffer of latex mode. \begin{tabular}{lcr} a b c \\ \end{tabular} (2) Type TAB. Then it signals an error 'Wrong type argument: number-or-marker-p, 0 occurrences'. (Xemacs emits a bit different message, number-char-or-marker-p instead of number-or-marker-p, which I assume essentially the same.) The reason of the error seems to be the return value of the function how-many. Both emacs 21 and xemacs returns the string that reports the number of the occurrence, not the number itself. In addition, xemacs does not seem to accept 'min-colors' in the defface. Xemacs reports the following warnings in the *Warnings* buffer when opening an ordinary latex file. (1) (warning/warning) Unknown req `min-colors' with options `(88)' (2) (warning/warning) Unknown req `min-colors' with options `(88)' (3) (warning/warning) Unknown req `min-colors' with options `(16)' (4) (warning/warning) Unknown req `min-colors' with options `(16)' (5) (warning/warning) Unknown req `min-colors' with options `(8)' (6) (warning/warning) Unknown req `min-colors' with options `(16)' Regards, Ikumi Keita P.S. I just noticed that xemacs raises another error Wrong number of arguments: #subr local-variable-p, 1 every time I open a tex file, once after AUCTeX is activated. ___ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel
Re: [AUCTeX-devel] logs of make with emacs 21 and xemacs (was Re: Auto insertion of ampersands)
2014-07-13 12:06 GMT+02:00 Ikumi Keita ik...@ikumi.que.jp: (1) On emacs 21.4 or xemacs 21.4.22, put the point on the line with a sole ampersand in the following code in the buffer of latex mode. \begin{tabular}{lcr} a b c \\ \end{tabular} (2) Type TAB. Then it signals an error 'Wrong type argument: number-or-marker-p, 0 occurrences'. (Xemacs emits a bit different message, number-char-or-marker-p instead of number-or-marker-p, which I assume essentially the same.) The reason of the error seems to be the return value of the function how-many. Both emacs 21 and xemacs returns the string that reports the number of the occurrence, not the number itself. I redefined `TeX-how-many' to be equal to `how-many' in Emacs = 22, and added a workaround to make `TeX-how-many' return a number in XEmacs and Emacs 21. Thank you. In addition, xemacs does not seem to accept 'min-colors' in the defface. Xemacs reports the following warnings in the *Warnings* buffer when opening an ordinary latex file. (1) (warning/warning) Unknown req `min-colors' with options `(88)' (2) (warning/warning) Unknown req `min-colors' with options `(88)' (3) (warning/warning) Unknown req `min-colors' with options `(16)' (4) (warning/warning) Unknown req `min-colors' with options `(16)' (5) (warning/warning) Unknown req `min-colors' with options `(8)' (6) (warning/warning) Unknown req `min-colors' with options `(16)' I can reproduce this in XEmacs too. Do you mean that this doesn't happen with Emacs 21.4? Is *TeX Help* buffer colored as it should be in Emacs = 22? Since `propertize' doesn't seem to have effect in XEmacs, I'm thinking about setting `TeX-error-description-*' faces to nil there, but I need to know whether we should do the same in Emacs 21 or not. P.S. I just noticed that xemacs raises another error Wrong number of arguments: #subr local-variable-p, 1 every time I open a tex file, once after AUCTeX is activated. I added `(current-buffer)' to all `local-variable-p' calls with a single argument. Bye, Mosè ___ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel
Re: [AUCTeX-devel] logs of make with emacs 21 and xemacs (was Re: Auto insertion of ampersands)
2014-07-12 0:04 GMT+02:00 Mosè Giordano m...@gnu.org: Now XEmacs only complains about the same error reported by GNU Emacs 21.4: !! Wrong type argument ((listp default)) in plain-tex.el and context.el, but I can't understand which is the source of the issue. Do you have ideas? I should have fixed all issues, now XEmacs 21.4 compiles flawless for me. I don't have a GNU Emacs 21 binary, please let me know if you still experience problems. Bye, Mosè ___ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel
Re: [AUCTeX-devel] logs of make with emacs 21 and xemacs (was Re: Auto insertion of ampersands)
Hi Ikumi, 2014-07-09 16:13 GMT+02:00 Ikumi Keita ik...@ikumi.que.jp: Attached are the logs of output of make -k, with configure option --with-emacs=emacs-21.4 and --with-xemacs, respectively. I hope this helps. Thank you for that. I've pushed to the AUCTeX repository a patch that should fix some XEmacs errors. Now XEmacs only complains about the same error reported by GNU Emacs 21.4: !! Wrong type argument ((listp default)) in plain-tex.el and context.el, but I can't understand which is the source of the issue. Do you have ideas? Bye, Mosè ___ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel