GNU bug report logs -
#5326
23.1; sgml-fill-nobreak docstring
Previous Next
Reported by: Kevin Ryde <user42 <at> zip.com.au>
Date: Tue, 5 Jan 2010 23:20:03 UTC
Severity: minor
Tags: patch
Fixed in version 24.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5326 in the body.
You can then email your comments to 5326 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5326
; Package
emacs
.
(Tue, 05 Jan 2010 23:20:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kevin Ryde <user42 <at> zip.com.au>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 05 Jan 2010 23:20:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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 <user42 <at> zip.com.au>
* textmodes/sgml-mode.el (sgml-fill-nobreak): Turn comment into
docstring.
[sgml-mode.el.nobreak-docstring.diff (text/x-diff, inline)]
--- 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 <jjc <at> jclark.com>
;; 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'.
+
+ <a href=\"some://where\" type=\"text/plain\">
+ ^ ^
+ | no break here | but still allowed here"
(save-excursion
(skip-chars-backward " \t")
(and (not (zerop (skip-syntax-backward "w_")))
[Message part 3 (text/plain, inline)]
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=''
Severity set to 'minor' from 'normal'
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 06 Jan 2010 00:14:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5326
; Package
emacs
.
(Wed, 06 Jan 2010 04:40:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 5326 <at> debbugs.gnu.org (full text, mbox):
> 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 <user42 <at> zip.com.au>
> * textmodes/sgml-mode.el (sgml-fill-nobreak): Turn comment into
> docstring.
Feel free to install it,
Stefan
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5326
; Package
emacs
.
(Fri, 08 Jan 2010 21:39:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 5326 <at> debbugs.gnu.org (full text, mbox):
Stefan Monnier <monnier <at> iro.umontreal.ca> 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.
Added tag(s) patch.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 28 Jan 2010 00:14:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 24.1, send any further explanations to
5326 <at> debbugs.gnu.org and Kevin Ryde <user42 <at> zip.com.au>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 06 Mar 2011 02:30:04 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 03 Apr 2011 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 14 years and 81 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.