From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: texinfo-fill-workaround.el -- no break after @: when filling Date: Thu, 01 Sep 2005 00:00:54 -0400 Organization: Bell Sympatico Message-ID: <87d5ntfnh5.fsf-monnier+gnu.emacs.sources__36481.9313319915$1125547638$gmane$org@gnu.org> References: <873bq8d7yd.fsf-monnier+gnu.emacs.sources@gnu.org> <87iry0jb0h.fsf-monnier+gnu.emacs.sources@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1125547638 12713 80.91.229.2 (1 Sep 2005 04:07:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Sep 2005 04:07:18 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 01 06:07:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EAgKu-000613-WE for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Sep 2005 06:06:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EAgP6-0002n3-Fn for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Sep 2005 00:10:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!news-in.mts.net!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.sources,gnu.emacs.help Original-Followup-To: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:BKDBasWVluVOeaZu4L5gJdUsbCQ= Original-Lines: 20 Original-NNTP-Posting-Host: 67.71.35.136 Original-X-Complaints-To: abuse@sympatico.ca Original-X-Trace: news20.bellglobal.com 1125547254 67.71.35.136 (Thu, 01 Sep 2005 00:00:54 EDT) Original-NNTP-Posting-Date: Thu, 01 Sep 2005 00:00:54 EDT Original-Xref: shelby.stanford.edu gnu.emacs.sources:11162 gnu.emacs.help:133606 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:29145 Archived-At: > and a similarly tiny function for no break after which I think much improves human readability > http://www.emacswiki.org/cgi-bin/wiki/HtmlMode In Emacs-22, this is already done for all tags: (defun sgml-fill-nobreak () ;; Don't break between a tag name and its first argument. (save-excursion (skip-chars-backward " \t") (and (not (zerop (skip-syntax-backward "w_"))) (skip-chars-backward "/?!") (eq (char-before) ?<)))) Only problem is that with