From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: 3 dots vanish at end of filled line Date: Thu, 20 Oct 2005 14:11:14 +0300 Organization: JURTA Message-ID: <878xwoft8t.fsf@jurta.org> References: <200510072121.j97LLI217457@f7.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129811768 3174 80.91.229.2 (20 Oct 2005 12:36:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2005 12:36:08 +0000 (UTC) Cc: bob@rattlesnake.com, emacs-devel@gnu.org, karl@freefriends.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 20 14:36:03 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ESZdw-0001yV-49 for ged-emacs-devel@m.gmane.org; Thu, 20 Oct 2005 14:35:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESZdu-0001Fs-Ne for ged-emacs-devel@m.gmane.org; Thu, 20 Oct 2005 08:35:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ESYVJ-0007pV-2H for emacs-devel@gnu.org; Thu, 20 Oct 2005 07:22:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ESYVG-0007p8-Jg for emacs-devel@gnu.org; Thu, 20 Oct 2005 07:22:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESYVF-0007p2-UI for emacs-devel@gnu.org; Thu, 20 Oct 2005 07:22:34 -0400 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ESYVD-0004RF-8l; Thu, 20 Oct 2005 07:22:31 -0400 Original-Received: from mail.neti.ee (80-235-33-178-dsl.mus.estpak.ee [80.235.33.178]) by Relayhost1.neti.ee (Postfix) with ESMTP id 21AD21F82; Thu, 20 Oct 2005 14:22:27 +0300 (EEST) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Mon, 10 Oct 2005 00:14:34 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:44406 Archived-At: > In Texinfo mode, it should also treat any use of @enddots{} > as the end of a sentence. Can someone try to set that up? The following patch does that: Index: lisp/textmodes/texinfo.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/textmodes/texinfo.el,v retrieving revision 1.111 diff -c -r1.111 texinfo.el *** lisp/textmodes/texinfo.el 31 Aug 2005 10:32:55 -0000 1.111 --- lisp/textmodes/texinfo.el 20 Oct 2005 09:08:10 -0000 *************** *** 593,598 **** --- 593,608 ---- (concat "\b\\|@[a-zA-Z]*[ \n]\\|" paragraph-separate)) (make-local-variable 'paragraph-start) (setq paragraph-start (concat "\b\\|@[a-zA-Z]*[ \n]\\|" paragraph-start)) + ;; Append a copy of `sentence-end' where [.?!] is replaced with @(end)dots{} + ;; to the default value of `sentence-end'. + (make-local-variable 'sentence-end) + (setq sentence-end (concat (sentence-end) "\\|" + (if sentence-end-without-period "\\w \\|") + "\\(@\\(end\\)?dots{}[]\"'\xd0c9\x5397d)}]*" + (if sentence-end-double-space + "\\($\\| $\\|\t\\| \\)" "\\($\\|[\t ]\\)") + "\\|[" sentence-end-without-space "]+\\)" + "[ \t\n]*")) (make-local-variable 'adaptive-fill-mode) (setq adaptive-fill-mode nil) (make-local-variable 'fill-column) -- Juri Linkov http://www.jurta.org/emacs/