From unknown Fri Jun 20 05:38:37 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#5326 <5326@debbugs.gnu.org> To: bug#5326 <5326@debbugs.gnu.org> Subject: Status: 23.1; sgml-fill-nobreak docstring Reply-To: bug#5326 <5326@debbugs.gnu.org> Date: Fri, 20 Jun 2025 12:38:37 +0000 retitle 5326 23.1; sgml-fill-nobreak docstring reassign 5326 emacs submitter 5326 Kevin Ryde severity 5326 minor tag 5326 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 05 18:19:17 2010 Received: (at submit) by debbugs.gnu.org; 5 Jan 2010 23:19:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSIgG-0001Oz-PO for submit@debbugs.gnu.org; Tue, 05 Jan 2010 18:19:16 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSIgC-0001OP-DH for submit@debbugs.gnu.org; Tue, 05 Jan 2010 18:19:16 -0500 Received: from mx10.gnu.org ([199.232.76.166]:51549) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSIg8-0000pV-Fd for submit@debbugs.gnu.org; Tue, 05 Jan 2010 18:19:08 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NSIg5-0008IW-Lj for submit@debbugs.gnu.org; Tue, 05 Jan 2010 18:19:07 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,UNPARSEABLE_RELAY autolearn=ham version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:55146) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSIg5-0008I6-ET for submit@debbugs.gnu.org; Tue, 05 Jan 2010 18:19:05 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSIg4-0006gC-Ka for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2010 18:19:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSIg0-0006as-6j for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2010 18:19:04 -0500 Received: from [199.232.76.173] (port=56583 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSIfz-0006aQ-SA for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2010 18:18:59 -0500 Received: from mailout2-16.pacific.net.au ([125.255.80.143]:54727 helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSIfz-0008FQ-51 for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2010 18:18:59 -0500 Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.2.162]) by mailout2.pacific.net.au (Postfix) with ESMTP id 03A2F1AAC36 for ; Wed, 6 Jan 2010 10:18:55 +1100 (EST) Received: from blah.blah (ppp26FC.dyn.pacific.net.au [61.8.38.252]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id 282258C26 for ; Wed, 6 Jan 2010 10:18:53 +1100 (EST) Received: from gg by blah.blah with local (Exim 4.71) (envelope-from ) id 1NSIfl-00034c-0T for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2010 10:18:45 +1100 From: Kevin Ryde To: bug-gnu-emacs@gnu.org Subject: 23.1; sgml-fill-nobreak docstring Date: Wed, 06 Jan 2010 10:18:44 +1100 Message-ID: <87my0sta23.fsf@blah.blah> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.4 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) --=-=-= sgml-fill-nobreak might helpfully have a docstring to tell you want its nobreaking condition is. I don't think it would show up in customize or anything as such, but C-h v fill-nobreak-predicate in sgml-mode shows it and you can follow it from there to see what it does. 2010-01-05 Kevin Ryde * textmodes/sgml-mode.el (sgml-fill-nobreak): Turn comment into docstring. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=sgml-mode.el.nobreak-docstring.diff --- sgml-mode.el.~1.146.~ 2009-12-06 10:10:20.000000000 +1100 +++ sgml-mode.el 2010-01-03 16:33:19.000000000 +1100 @@ -1,7 +1,7 @@ ;;; sgml-mode.el --- SGML- and HTML-editing modes -*- coding: utf-8 -*- ;; Copyright (C) 1992, 1995, 1996, 1998, 2001, 2002, 2003, 2004, -;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +;; 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. ;; Author: James Clark ;; Maintainer: FSF @@ -417,7 +417,12 @@ (format-mode-line mode-name)))))) (defun sgml-fill-nobreak () - ;; Don't break between a tag name and its first argument. + "Don't break between a tag name and its first argument. +This function is designed for use in `fill-nobreak-predicate'. + + + ^ ^ + | no break here | but still allowed here" (save-excursion (skip-chars-backward " \t") (and (not (zerop (skip-syntax-backward "w_"))) --=-=-= In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.16.5) of 2009-09-14 on raven, modified by Debian configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 05 19:13:55 2010 Received: (at control) by debbugs.gnu.org; 6 Jan 2010 00:13:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSJX9-0002U1-2V for submit@debbugs.gnu.org; Tue, 05 Jan 2010 19:13:55 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSJX7-0002Tw-Ud for control@debbugs.gnu.org; Tue, 05 Jan 2010 19:13:54 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NSJX3-0002lk-Q2; Tue, 05 Jan 2010 19:13:49 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19267.54717.570510.972224@fencepost.gnu.org> Date: Tue, 5 Jan 2010 19:13:49 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: green X-Ran: qI{%A|33'%h]#NntKKpQ7h}bhdGZ_iy0}l+#lkgo8$w(g(P(r?2@-i[E0R(_LQ}LMo-]=. X-Debbugs-No-Ack: yes X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) forcemerge 5257 5328 severity 5326 minor From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 05 23:39:38 2010 Received: (at 5326) by debbugs.gnu.org; 6 Jan 2010 04:39:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSNgI-0005ds-5y for submit@debbugs.gnu.org; Tue, 05 Jan 2010 23:39:38 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSNgG-0005dn-Hq for 5326@debbugs.gnu.org; Tue, 05 Jan 2010 23:39:37 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlQGADuiQ0vO+KPG/2dsb2JhbACBRdImhDAEiik X-IronPort-AV: E=Sophos;i="4.49,226,1262581200"; d="scan'208";a="53107473" Received: from 206-248-163-198.dsl.teksavvy.com (HELO ceviche.home) ([206.248.163.198]) by ironport2-out.pppoe.ca with ESMTP; 05 Jan 2010 23:39:32 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 5F91CB4077; Tue, 5 Jan 2010 23:39:32 -0500 (EST) From: Stefan Monnier To: Kevin Ryde Subject: Re: bug#5326: 23.1; sgml-fill-nobreak docstring Message-ID: References: <87my0sta23.fsf@blah.blah> Date: Tue, 05 Jan 2010 23:39:32 -0500 In-Reply-To: <87my0sta23.fsf@blah.blah> (Kevin Ryde's message of "Wed, 06 Jan 2010 10:18:44 +1100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 5326 Cc: 5326@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.4 (--) > sgml-fill-nobreak might helpfully have a docstring to tell you want its > nobreaking condition is. I don't think it would show up in customize or > anything as such, but C-h v fill-nobreak-predicate in sgml-mode shows it > and you can follow it from there to see what it does. > 2010-01-05 Kevin Ryde > * textmodes/sgml-mode.el (sgml-fill-nobreak): Turn comment into > docstring. Feel free to install it, Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 08 16:38:24 2010 Received: (at 5326) by debbugs.gnu.org; 8 Jan 2010 21:38:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NTMXH-0007zy-Ih for submit@debbugs.gnu.org; Fri, 08 Jan 2010 16:38:23 -0500 Received: from mailout2-2.pacific.net.au ([61.8.2.225] helo=mailout2.pacific.net.au) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NTMXF-0007zs-8L for 5326@debbugs.gnu.org; Fri, 08 Jan 2010 16:38:22 -0500 Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout2.pacific.net.au (Postfix) with ESMTP id 3ACBF1AAF98; Sat, 9 Jan 2010 08:38:15 +1100 (EST) Received: from blah.blah (ppp2E37.dyn.pacific.net.au [61.8.46.55]) by mailproxy2.pacific.net.au (Postfix) with ESMTP id B758327405; Sat, 9 Jan 2010 08:38:14 +1100 (EST) Received: from gg by blah.blah with local (Exim 4.71) (envelope-from ) id 1NTMWO-0001iU-9e; Sat, 09 Jan 2010 08:37:28 +1100 From: Kevin Ryde To: Stefan Monnier Subject: Re: bug#5326: 23.1; sgml-fill-nobreak docstring References: <87my0sta23.fsf@blah.blah> Date: Sat, 09 Jan 2010 08:37:28 +1100 In-Reply-To: (Stefan Monnier's message of "Tue, 05 Jan 2010 23:39:32 -0500") Message-ID: <87k4vse0rr.fsf@blah.blah> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 5326 Cc: 5326@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) Stefan Monnier writes: > > Feel free to install it, If only I could! Alas the new bizaar is unusable for a slow link. I might withdraw my commit perms for the time being. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 27 19:13:46 2010 Received: (at control) by debbugs.gnu.org; 28 Jan 2010 00:13:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NaI14-0003WI-8V for submit@debbugs.gnu.org; Wed, 27 Jan 2010 19:13:46 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NaI12-0003WB-1C for control@debbugs.gnu.org; Wed, 27 Jan 2010 19:13:44 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NaI0y-0002kj-9B; Wed, 27 Jan 2010 19:13:40 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19296.54964.237486.393967@fencepost.gnu.org> Date: Wed, 27 Jan 2010 19:13:40 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: magenta X-Ran: jqeI@9]N2j9L=T5y{46XM$yis^=8-t%A[c3H.k}5+~~"#Nf)E5)8*?XxH+0T%:q./m!M*2 X-Debbugs-No-Ack: yes X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) tags 5032 moreinfo reassign 5032 emacs,w32 reassign 5040 emacs,w32 severity 5042 wishlist reassign 5074 emacs,w32 severity 5105 minor tags 5173 patch severity 5183 minor severity 5184 minor submitter 5195 monnier@iro.umontreal.ca unarchive 5227 unmerge 5227 tags 5251 patch severity 5290 wishlist reassign 5299 emacs,w32 tags 5326 patch reopen 5336 severity 5336 serious retitle 5336 DOC file is arch dependent reassign 5349 emacs,ns severity 5433 wishlist close 5456 reassign 5464 emacs,w32 reassign 5465 emacs,w32 reassign 5480 emacs,gnus reassign 5482 emacs,w32 reassign 5484 emacs,etags tags 5484 patch From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 05 21:29:47 2011 Received: (at control) by debbugs.gnu.org; 6 Mar 2011 02:29:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw3j8-0007BY-SJ for submit@debbugs.gnu.org; Sat, 05 Mar 2011 21:29:47 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw3j6-0007BN-Tq for control@debbugs.gnu.org; Sat, 05 Mar 2011 21:29:45 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Pw3j1-0002CS-Oa for control@debbugs.gnu.org; Sat, 05 Mar 2011 21:29:39 -0500 Date: Sat, 05 Mar 2011 21:29:39 -0500 Message-Id: Subject: control message for bug 5326 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) close 5326 24.1 From unknown Fri Jun 20 05:38:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 03 Apr 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator