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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Kenichi Handa <handa <at> m17n.org>
Subject: bug#4153: marked as done (error in `sentence-end-base')
Date: Thu, 20 Aug 2009 20:30:21 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 18 Aug 2009 10:22:36 +0900
with message-id <E1MdDPI-0006La-OL <at> etlken>
and subject line Re: error in `sentence-end-base'
has caused the Emacs bug report #4153,
regarding error in `sentence-end-base'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)


-- 
4153: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4153
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Štěpán Němec <stepnem <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: error in `sentence-end-base'
Date: Sat, 15 Aug 2009 15:11:09 +0200
 Hello,
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; I suppose one of them should be different -- `U+2019 RIGHT SINGLE
QUOTATION MARK' perhaps?

 I observed the error in the latest git sources and 23.1.50.1
emacs-snapshot package.


 Štěpán Němec


[Message part 3 (message/rfc822, inline)]
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.