Hi Mosè, Mosè Giordano <m...@gnu.org> writes:
> I tested the patch in XEmacs 21.4.24, seems to work. If I set > `alignat' to 5 I get 9 &s, is it correct, right? They should be > 2 * ncols - 1, no? Thanks! Yes, 2 * ncols - 1 is the logic; it seems to work. I have patched the other style files with same code, will push them later. For the one `replace-regexp-in-string' in tex.el, I think this should fix it: diff --git a/tex.el b/tex.el index 64e5ea26..9f201746 100644 --- a/tex.el +++ b/tex.el @@ -1919,8 +1919,16 @@ If the Emacs frame isn't raised, customize (require 'url-util) (url-unhex-string (aref (url-generic-parse-url file) 6))) ;; For Emacs 21 compatibility, which doesn't have the - ;; url package. - (file-error (replace-regexp-in-string "^file://" "" file)))) + ;; url package. Also cater compat code for XEmacs + ;; which does not have `replace-regexp-in-string': + (file-error (if (featurep 'xemacs) + (with-temp-buffer + (insert file) + (goto-char (point-max)) + (re-search-backward "^file://" nil t) + (replace-match "") + (buffer-string)) + (replace-regexp-in-string "^file://" "" file))))) (flc (or (apply #'TeX-source-correlate-handle-TeX-region file linecol) (apply #'list file linecol))) (file (car flc)) Do you have Evince? Can you give it a roll? TIA. Best, Arash _______________________________________________ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel