From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: No line break within [[foo bar]] (wikipedia) Date: Sun, 20 Apr 2003 15:21:25 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <848yu52tka.fsf@lucy.is.informatik.uni-duisburg.de> References: <84of31ftpb.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050845104 16455 80.91.224.249 (20 Apr 2003 13:25:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Apr 2003 13:25:04 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 20 15:25:03 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 197EoY-0004HH-00 for ; Sun, 20 Apr 2003 15:25:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 197Ep3-0005zf-04 for gnu-help-gnu-emacs@m.gmane.org; Sun, 20 Apr 2003 09:25:33 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!p508776a5.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: p508776a5.dip.t-dialin.net (80.135.118.165) Original-X-Trace: fu-berlin.de 1050845018 4629231 80.135.118.165 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:LmNZz0a/gC/FuLM4I8rODeAzQCg= Original-Xref: shelby.stanford.edu gnu.emacs.help:112136 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8635 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8635 Karl Eichwalder writes: > I tried serveral way (w/o understanding what I'm actually doing); here > is the last experiment: > > (defun fill-list-item-nobreak-p () > (save-excursion > (beginning-of-line) > (member (char-after (point)) '(?\* ?\#)))) > > (add-to-list 'fill-nobreak-predicate 'fill-list-item-nobreak-p) After some thinking, it occurs to me that it prevents breaking the line *anywhere* in the `*' line. But maybe you only want to prevent breaking at the `*' character? -- file-error; Data: (Opening input file no such file or directory ~/.signature)