From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.devel,gmane.emacs.xemacs.beta Subject: coding problem, with older GNU emacs or Xemacs; auto-capitalize.el Date: Sat, 16 Apr 2016 08:33:07 +0000 Message-ID: <878u0ear7g.fsf@mat.ucm.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1460795615 24964 80.91.229.3 (16 Apr 2016 08:33:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Apr 2016 08:33:35 +0000 (UTC) Cc: XEmacs Beta Discussion To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 16 10:33:26 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1arLfQ-0001qT-LF for ged-emacs-devel@m.gmane.org; Sat, 16 Apr 2016 10:33:24 +0200 Original-Received: from localhost ([::1]:51310 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arLfQ-0006tZ-5o for ged-emacs-devel@m.gmane.org; Sat, 16 Apr 2016 04:33:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arLfN-0006ro-6i for emacs-devel@gnu.org; Sat, 16 Apr 2016 04:33:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arLfJ-0004bQ-63 for emacs-devel@gnu.org; Sat, 16 Apr 2016 04:33:21 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:45583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arLfJ-0004bM-01 for emacs-devel@gnu.org; Sat, 16 Apr 2016 04:33:17 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1arLfE-0001lF-Fp for emacs-devel@gnu.org; Sat, 16 Apr 2016 10:33:12 +0200 Original-Received: from 182.red-79-144-193.dynamicip.rima-tde.net ([79.144.193.182]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Apr 2016 10:33:12 +0200 Original-Received: from oub by 182.red-79-144-193.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Apr 2016 10:33:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 182.red-79-144-193.dynamicip.rima-tde.net Mail-Copies-To: never User-Agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:V3EiS+pgrGJozLL7HwxaCl7l8NA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:202983 gmane.emacs.xemacs.beta:39587 Archived-At: 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