From stepnem@gmail.com Sat Aug 15 06:11:13 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 15 Aug 2009 13:11:14 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7FDBCcn028622 for ; Sat, 15 Aug 2009 06:11:13 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1McJ2N-0008OX-Ri for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 09:11:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1McJ2J-0008OK-4m for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 09:11:11 -0400 Received: from [199.232.76.173] (port=43900 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McJ2J-0008OH-0K for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 09:11:07 -0400 Received: from mail-fx0-f219.google.com ([209.85.220.219]:42398) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1McJ2I-0005nO-Lw for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 09:11:06 -0400 Received: by fxm19 with SMTP id 19so1648827fxm.2 for ; Sat, 15 Aug 2009 06:11:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition :content-transfer-encoding:user-agent; bh=E8qpq3M4wbpRnozRF2rGfco7OaGpBdcQ/Y4grqjttyI=; b=IDIoPbN6cHrfdQ/RyHMSrg0CWL4eoqwZYeH/N6g1j/xzvCWHuefUBM9rFJsjXc4qoE ZTHDXmSY8wv1m2NjGq82rdAtYflovihkDsI+ijhwSXWCpZ0/7cGTOhlWwkjDvB4I8Cww CS1l2EcCzvIpVOl4btMl4SDrSICtXdoyU9iuY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:content-transfer-encoding:user-agent; b=tKpUOToF35bAWBhSW2UtkrKBlj+bFLuuLklvNXxKLHx/PdYhPhGrWllVJOt1ojlpJR l0F19Qh3sFMtJgCefFFhBU3D5XXbiFaWW+vKCbfeqlwsUxvJngYM5Ct5OLFA/dk7T2/b 1vHUqtqJrITfJ6vImnxV4HjF3J/PKOB0afzaQ= Received: by 10.204.117.66 with SMTP id p2mr1165930bkq.112.1250341865017; Sat, 15 Aug 2009 06:11:05 -0700 (PDT) Received: from localhost (topol.nat.praha12.net [78.102.11.1]) by mx.google.com with ESMTPS id p17sm3008281fka.12.2009.08.15.06.11.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 15 Aug 2009 06:11:04 -0700 (PDT) Date: Sat, 15 Aug 2009 15:11:09 +0200 From: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= To: bug-gnu-emacs@gnu.org Subject: error in `sentence-end-base' Message-ID: <20090815131109.GA3701@headley> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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 From cyd@stupidchicken.com Sat Aug 15 14:55:19 2009 Received: (at 4153) by emacsbugs.donarmstrong.com; 15 Aug 2009 21:55:20 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.6 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7FLtIrB023090 for <4153@emacsbugs.donarmstrong.com>; Sat, 15 Aug 2009 14:55:19 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 5C8AE57E21C; Sat, 15 Aug 2009 17:56:17 -0400 (EDT) From: Chong Yidong To: Kenichi Handa Cc: stepnem@gmail.com, 4153@debbugs.gnu.org Subject: Re: error in `sentence-end-base' Date: Sat, 15 Aug 2009 17:56:17 -0400 Message-ID: <874os8n3lq.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > 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: > > "[.?!][]\"'=E2=80=9D=E2=80=9D)}]*" > > 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? From handa@m17n.org Mon Aug 17 18:22:40 2009 Received: (at 4153-done) by emacsbugs.donarmstrong.com; 18 Aug 2009 01:22:41 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.1 required=4.0 tests=AWL,FOURLA,IMPRONONCABLE_2, SPF_HELO_PASS autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7I1McvH016083 for <4153-done@emacsbugs.donarmstrong.com>; Mon, 17 Aug 2009 18:22:40 -0700 Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id n7I1Mbcc006501; Tue, 18 Aug 2009 10:22:38 +0900 (JST) env-from (handa@m17n.org) Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id n7I1MbUZ007255; Tue, 18 Aug 2009 10:22:37 +0900 (JST) env-from (handa@m17n.org) Received: by smtp3.aist.go.jp with ESMTP id n7I1MaFx008016; Tue, 18 Aug 2009 10:22:36 +0900 (JST) env-from (handa@m17n.org) Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1MdDPI-0006La-OL; Tue, 18 Aug 2009 10:22:36 +0900 From: Kenichi Handa To: Chong Yidong CC: stepnem@gmail.com, 4153-done@debbugs.gnu.org In-reply-to: <874os8n3lq.fsf@cyd.mit.edu> (message from Chong Yidong on Sat, 15 Aug 2009 17:56:17 -0400) Subject: Re: error in `sentence-end-base' References: <874os8n3lq.fsf@cyd.mit.edu> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: Date: Tue, 18 Aug 2009 10:22:36 +0900 In article <874os8n3lq.fsf@cyd.mit.edu>, Chong Yidong 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 * 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 From d@teklibre.org Thu Aug 27 17:04:58 2009 Received: (at 4153) by emacsbugs.donarmstrong.com; 28 Aug 2009 00:04:58 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.7 required=4.0 tests=BLOGSPOT,FVGT_m_MULTI_ODD, MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2,PGPSIGNATURE autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mainmail.teklibre.org (toutatis.isc.org [149.20.54.64]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7S04vPE005932 for <4153@emacsbugs.donarmstrong.com>; Thu, 27 Aug 2009 17:04:58 -0700 Received: from localhost (localhost [127.0.0.1]) by mainmail.teklibre.org (Postfix) with ESMTP id 42D5C3DA16E for <4153@emacsbugs.donarmstrong.com>; Thu, 27 Aug 2009 17:04:52 -0700 (PDT) Received: from mainmail.teklibre.org ([127.0.0.1]) by localhost (toutatis.sql1.isc.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vrksiNLdhnn6 for <4153@emacsbugs.donarmstrong.com>; Thu, 27 Aug 2009 17:04:52 -0700 (PDT) Received: from mail3.teklibre.org (unknown [IPv6:2001:470:b9d7::31]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail3.teklibre.org", Issuer "CA Cert Signing Authority" (verified OK)) by mainmail.teklibre.org (Postfix) with ESMTPS id CD62C3DA13E for <4153@emacsbugs.donarmstrong.com>; Thu, 27 Aug 2009 17:04:50 -0700 (PDT) Received: by mail3.teklibre.org (Postfix, from userid 1000) id D0F32396B31; Thu, 27 Aug 2009 18:04:35 -0600 (CST) From: d@teklibre.org (Dave =?utf-8?Q?T=C3=A4ht?=) To: 4153@debbugs.gnu.org Subject: sentence-end properly constructed now? Organization: Teklibre - http://www.teklibre.com X-PGP-FP: D179 9E87 2617 CA13 9A84 E833 A5D7 A325 C395 E2E4 X-PGP: 0xC395E2E4 Date: Thu, 27 Aug 2009 18:04:35 -0600 Message-ID: <87bpm0st0s.fsf@mahal.sjds.teklibre.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am curious if this bug resolves the problem I was encountering with sentence-forward and sentence-backward in the post 22 versions of emacs I have had available to me. I also ran into it in http://www.emacswiki.org/emacs/auto-capitalize.el which irked me enough to try and find the cause of the problem. Is sentence-end getting properly constructed now? ... elided ... ;; auto-capitalize.el ;; 1 Jun 2009: It does not work with Aquamacs 1.7/GNUEmacs 22. Only the first word in the buffer ;; (or the first word typed after mode activation) is capitalized. ;; Maybe the code is too old (1998). -- Rikal ;; No. ;; The reason why this code bit is failing is that sentence-end is not ;; getting constructed for some reason in paragraphs.el: ;; (message "%s" sentence-end) ;; returns null in the post 22 versions of emacs I tried. ;; According to the documentation, sentence-end is supposed to be automatically ;; constructed from the other regexps defined there. It isn't. I did not ;; dig any further. ;; This also explains why sentence-forward and sentence-backward (M-e, ;; M-a respectively) are not working in the current emacs-snapshot. (I do not have ;; emacs 23.1 installed on the machine I am on, but this does sound like ;; it is also a problem in 23.1) ;; To keep me going I just did a: ;; (setq sentence-end "[.?!][]\"')]*\\($\\| $\\|\t\\| \\)[ \t\n]*" ) ;; in my main .emacs file, and this makes auto-capitalization.el work for me. ;; Maybe this is related to bug 4153 which is reported as fixed in emacs head? ;; 28 Aug 2009 -- dtaht - -- Dave Taht http://the-edge.blogspot.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8+ iEYEARECAAYFAkqXHxEACgkQpdejJcOV4uRU2gCguFaf5/CGeq/riyrB3tbFY8Cs no8An0ELJkkXVml6xBzBqp7mdB+3TTJ0 =q/1C -----END PGP SIGNATURE----- From rgm@gnu.org Thu Aug 27 21:11:51 2009 Received: (at 4153) by emacsbugs.donarmstrong.com; 28 Aug 2009 04:11:52 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-7.8 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7S4Bo9p021260 for <4153@emacsbugs.donarmstrong.com>; Thu, 27 Aug 2009 21:11:51 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MgsoW-0007WB-5I; Fri, 28 Aug 2009 00:11:48 -0400 From: Glenn Morris To: d@teklibre.org Cc: 4153@debbugs.gnu.org Subject: Re: bug#4153: sentence-end properly constructed now? References: <87bpm0st0s.fsf@mahal.sjds.teklibre.org> X-Spook: Consul KGB mindwar eternity server Bin Laden Vickie X-Ran: >H#nX?GcK5s.M+{.(Eqr{."oI\55V[[m@mH\sg\C\CiTusy6uLdbtO#VqPQ{6ySJ5g"StG X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 28 Aug 2009 00:11:48 -0400 In-Reply-To: <87bpm0st0s.fsf@mahal.sjds.teklibre.org> (Dave's message of "Thu, 27 Aug 2009 18:04:35 -0600") Message-ID: <2afxbcr30b.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Dave =?UTF-8?Q?T=C3=A4ht wrote: > I am curious if this bug resolves the problem I was encountering with > sentence-forward and sentence-backward in the post 22 versions of emacs > I have had available to me. > > I also ran into it in http://www.emacswiki.org/emacs/auto-capitalize.el > which irked me enough to try and find the cause of the problem. No, it is totally unrelated. Your issue is explained in the NEWS for Emacs 22, and in the documentation of the variable sentence-end: The value nil means to use the default value defined by the function `sentence-end'. You should always use this function to obtain the value of this variable. So auto-capitalize should use sentence-end the function, not the variable. > ;; The reason why this code bit is failing is that sentence-end is not > ;; getting constructed for some reason in paragraphs.el: > > ;; (message "%s" sentence-end) ;; returns null in the post 22 versions of emacs I tried. From unknown Sun Jun 22 11:38:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 25 Sep 2009 14:24:21 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator