emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

coding problem, with older GNU emacs or Xemacs; auto-capitalize.el


From: Uwe Brauer
Subject: coding problem, with older GNU emacs or Xemacs; auto-capitalize.el
Date: Sat, 16 Apr 2016 08:33:07 +0000
User-agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.1.50 (gnu/linux)

Hello

 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

What would be an more appropriate coding (which should work in GNU emacs,
Xemacs (including Xemacs no mule)?


    -  more worrying are these lines

 (if (featurep 'xemacs)
"\\<\\([A-Z�-��-�]?[a-z�-��-�]+\\.\\)+\\="
"\\<\\([[:upper:]]?[[:lower:]]+\\.\\)+\\=")))

I am not sure they will be sent correctly.

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).

Any advice is appreciated.

thanks

Uwe Brauer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]