[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: coding problem, with older GNU emacs or Xemacs; auto-capitalize.el
From: |
Eli Zaretskii |
Subject: |
Re: coding problem, with older GNU emacs or Xemacs; auto-capitalize.el |
Date: |
Sat, 16 Apr 2016 12:12:33 +0300 |
> From: Uwe Brauer <address@hidden>
> Date: Sat, 16 Apr 2016 08:33:07 +0000
> Cc: XEmacs Beta Discussion <address@hidden>
>
> the nifty but not much used auto-capitalize.el had a bug in buffers
> which are using AUCTeX Latex mode. That bug has been fixed thanks to
> Mosè Mosè, but the original code is in emacs wiki and contains some
> strange coding and lines
>
> - it starts with
> ;;; auto-capitalize.el --- Automatically capitalize (or upcase) words
> ;;; -*-unibyte: t; coding: iso-8859-1;-*-
> ;; Copyright � 1998,2001,2002,2005 Kevin Rodgers
For Emacs, just remove all that stuff, it's unnecessary.
> What would be an more appropriate coding (which should work in GNU emacs,
> Xemacs (including Xemacs no mule)?
I have no idea how XEmacs works wrt this, so no comment here.
> - more worrying are these lines
>
> (if (featurep 'xemacs)
> "\\<\\([A-Z�-��-�]?[a-z�-��-�]+\\.\\)+\\="
> "\\<\\([[:upper:]]?[[:lower:]]+\\.\\)+\\=")))
Once again, the funny stuff is only for XEmacs, so I think you are
asking in the wrong place. The Emacs branch of this is clear, and
doesn't need any encoding-related tricks.
> That seems much more an Xemacs issue than GNU emacs. I just want to make
> sure what will be the best choice for the coding so that the code keeps
> working for newer/older versions of GNU emacs and Xemacs (Mule and no
> Mule).
I think you should ask on the XEmacs list, not here.