From: Karl Eichwalder <keichwa@gmx.net>
Subject: Re: No line break within [[foo bar]] (wikipedia)
Date: Mon, 21 Apr 2003 08:49:02 +0200 [thread overview]
Message-ID: <sh8yu4pcpt.fsf@tux.gnu.franken.de> (raw)
In-Reply-To: 5ly925jgqg.fsf@rum.cs.yale.edu
"Stefan Monnier" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu> writes:
> (defun fill-open-link-nobreak-p ()
> (save-excursion
> (and (re-search-backward "\\(\\[\\[\\)\\|\\]\\]"
> (line-beginning-position)
> t)
> (match-end 1))))
Thanks!
> You can't. It is meant to pinpoint places where breaking is a bad idea,
> but if there's no good place to break the line, the line will be broken
> at a bad point.
Okay, I see.
> Try to use auto-fill-inhibit-regexp instead (although I don't think
> it's obeyed by M-q).
This somehow works, at least for "^\\*"; it does not work for ":" or
"#" -- these signs seem to interfere with other line breaking rules.
I guess I'll have to disable filling for wikipedia text files all
together and to go for a longlines or flowed mode.
--
| ,__o
http://www.gnu.franken.de/ke/ | _-\_<,
ke@suse.de (work) / keichwa@gmx.net (home) | (*)/'(*)
next prev parent reply other threads:[~2003-04-21 6:49 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
2003-04-20 17:15 ` Karl Eichwalder
2003-04-20 16:06 ` Stefan Monnier
2003-04-21 6:49 ` Karl Eichwalder [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sh8yu4pcpt.fsf@tux.gnu.franken.de \
--to=keichwa@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).