From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: d@teklibre.org.?= (Dave =?UTF-8?Q?T=C3=A4ht) Newsgroups: gmane.emacs.bugs Subject: bug#4153: sentence-end properly constructed now? Date: Thu, 27 Aug 2009 18:04:35 -0600 Organization: Teklibre - http://www.teklibre.com Message-ID: <87bpm0st0s.fsf@mahal.sjds.teklibre.org> Reply-To: Dave =?UTF-8?Q?T=C3=A4ht , ?=.4153@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251432130 3052 80.91.229.12 (28 Aug 2009 04:02:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Aug 2009 04:02:10 +0000 (UTC) To: 4153@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 28 06:02:01 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mgsf2-0003vC-Lh for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Aug 2009 06:02:01 +0200 Original-Received: from localhost ([127.0.0.1]:40898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mgsf1-00030F-SX for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Aug 2009 00:01:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgpYR-0005KZ-E5 for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2009 20:42:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgpYN-0005IV-GY for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2009 20:42:59 -0400 Original-Received: from [199.232.76.173] (port=39460 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgpYM-0005IE-Qj for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2009 20:42:54 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43044) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MgpIv-0005mf-5L for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2009 20:26:57 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7S0Qreo011017; Thu, 27 Aug 2009 17:26:53 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7S0A5Eb007743; Thu, 27 Aug 2009 17:10:05 -0700 Resent-Date: Thu, 27 Aug 2009 17:10:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: d@teklibre.org.?= (Dave =?UTF-8?Q?T=C3=A4ht) Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 28 Aug 2009 00:10:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4153 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4153-submit@emacsbugs.donarmstrong.com id=B4153.12514178985935 (code B ref 4153); Fri, 28 Aug 2009 00:10:05 +0000 Original-Received: (at 4153) by emacsbugs.donarmstrong.com; 28 Aug 2009 00:04:58 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 Original-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) Original-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) Original-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) Original-Received: by mail3.teklibre.org (Postfix, from userid 1000) id D0F32396B31; Thu, 27 Aug 2009 18:04:35 -0600 (CST) X-PGP-FP: D179 9E87 2617 CA13 9A84 E833 A5D7 A325 C395 E2E4 X-PGP: 0xC395E2E4 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 27 Aug 2009 20:42:59 -0400 X-Mailman-Approved-At: Thu, 27 Aug 2009 23:55:23 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30620 Archived-At: -----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-----