unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4153: error in `sentence-end-base'
@ 2009-08-15 13:11 ` Štěpán Němec
  2009-08-20 20:30   ` bug#4153: marked as done (error in `sentence-end-base') Emacs bug Tracking System
  0 siblings, 1 reply; 3+ messages in thread
From: Štěpán Němec @ 2009-08-15 13:11 UTC (permalink / raw)
  To: bug-gnu-emacs

 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






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#4153: error in `sentence-end-base'
@ 2009-08-15 21:56 Chong Yidong
  0 siblings, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2009-08-15 21:56 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: stepnem, 4153

> 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?





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#4153: marked as done (error in `sentence-end-base')
  2009-08-15 13:11 ` bug#4153: error in `sentence-end-base' Štěpán Němec
@ 2009-08-20 20:30   ` Emacs bug Tracking System
  0 siblings, 0 replies; 3+ messages in thread
From: Emacs bug Tracking System @ 2009-08-20 20:30 UTC (permalink / raw)
  To: Kenichi Handa

[-- Attachment #1: Type: text/plain, Size: 838 bytes --]

Your message dated Tue, 18 Aug 2009 10:22:36 +0900
with message-id <E1MdDPI-0006La-OL@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 owner@emacsbugs.donarmstrong.com
immediately.)


-- 
4153: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4153
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3808 bytes --]

From: "Štěpán Němec" <stepnem@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: error in `sentence-end-base'
Date: Sat, 15 Aug 2009 15:11:09 +0200
Message-ID: <20090815131109.GA3701@headley>

 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



[-- Attachment #3: Type: message/rfc822, Size: 3076 bytes --]

From: Kenichi Handa <handa@m17n.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: stepnem@gmail.com, 4153-done@emacsbugs.donarmstrong.com
Subject: Re: error in `sentence-end-base'
Date: Tue, 18 Aug 2009 10:22:36 +0900
Message-ID: <E1MdDPI-0006La-OL@etlken>

In article <874os8n3lq.fsf@cyd.mit.edu>, Chong Yidong <cyd@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@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@m17n.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-20 20:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <E1MdDPI-0006La-OL@etlken>
2009-08-15 13:11 ` bug#4153: error in `sentence-end-base' Štěpán Němec
2009-08-20 20:30   ` bug#4153: marked as done (error in `sentence-end-base') Emacs bug Tracking System
2009-08-15 21:56 bug#4153: error in `sentence-end-base' Chong Yidong

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).