all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-devel@gnu.org
Cc: XEmacs Beta Discussion <xemacs-beta@xemacs.org>
Subject: coding problem, with older GNU emacs or Xemacs; auto-capitalize.el
Date: Sat, 16 Apr 2016 08:33:07 +0000	[thread overview]
Message-ID: <878u0ear7g.fsf@mat.ucm.es> (raw)

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	other threads:[~2016-04-16  8:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-16  8:33 Uwe Brauer [this message]
2016-04-16  9:12 ` coding problem, with older GNU emacs or Xemacs; auto-capitalize.el Eli Zaretskii
2016-04-16 17:53   ` Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878u0ear7g.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-devel@gnu.org \
    --cc=xemacs-beta@xemacs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.