GNU bug report logs - #4153
error in `sentence-end-base'

Previous Next

Package: emacs;

Reported by: Štěpán Němec <stepnem <at> gmail.com>

Date: Sat, 15 Aug 2009 13:15:04 UTC

Severity: normal

Done: Kenichi Handa <handa <at> m17n.org>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 4153-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Kenichi Handa <handa <at> m17n.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: stepnem <at> gmail.com, 4153-done <at> debbugs.gnu.org
Subject: Re: error in `sentence-end-base'
Date: Tue, 18 Aug 2009 10:22:36 +0900
In article <874os8n3lq.fsf <at> cyd.mit.edu>, Chong Yidong <cyd <at> stupidchicken.com> writes:

> > there is obviously an error in the `sentence-end-base' variable,
> > defined in lisp/textmodes/paragraphs.el (and also set in sgml-mode.el
> > and texinfo.el) as:
> >
> > "[.?!][]\"'””)}]*"
> >
> >  There are two `U+201D RIGHT DOUBLE QUOTATION MARK' characters in the
> > class

> The first cheracter has code-point 0x2149, and the second one has
> code-point 0x727D; both code-points refer to the character 8221.

> IIUC, this is some hold-over from pre-unicode Emacs.  Handa, could you
> verify this?  I assume it's ok to remove one of these characters?

Yes.  I've just installed these changes.

2009-08-18  Kenichi Handa  <handa <at> m17n.org>

	* textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
	(sentence-end-without-space): Delete duplicated chars.
	(sentence-end-base): Likewise.

	* textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
	(html-mode): Delete duplicated chars from sentence-end-base.

	* textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
	(texinfo-mode): Delete duplicated chars from sentence-end-base.

---
Kenichi Handa
handa <at> m17n.org



This bug report was last modified 15 years and 273 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.