all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: No line break within [[foo bar]] (wikipedia)
Date: Sun, 20 Apr 2003 15:21:25 +0200	[thread overview]
Message-ID: <848yu52tka.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: shr87xqzny.fsf@tux.gnu.franken.de

Karl Eichwalder <keichwa@gmx.net> 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)

  reply	other threads:[~2003-04-20 13:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-14 19:04 No line break within [[foo bar]] (wikipedia) Karl Eichwalder
2003-03-15  9:45 ` Kai Großjohann
2003-04-20  4:37 ` Karl Eichwalder
2003-04-20  8:40   ` Kai Großjohann
2003-04-20  9:35     ` Karl Eichwalder
2003-04-20 13:21       ` Kai Großjohann [this message]
2003-04-20 17:15         ` Karl Eichwalder
2003-04-20 16:06   ` Stefan Monnier
2003-04-21  6:49     ` Karl Eichwalder
2003-04-21 13:52       ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=848yu52tka.fsf@lucy.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.