nobreak-fade.el v.8

2014-06-09 Thread Kevin Ryde
This is some miscellaneous funcs I use in fill-nobreak-predicate.
The latest addition is TeX maths to prevent line breaks when a short
symbol is at the start or end of something like

   $x \blah\blah y$



nobreak-fade.el
Description: application/emacs-lisp
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iD8DBQBTlVg4LFMCIV9q3ToRAm45AKCqTecUrXfTHmdclVroUD0+pegy/wCfcmrE
Hh2qpTZfGbKk7Jm9VpLq2c0=
=o3D0
-END PGP SIGNATURE-
___
gnu-emacs-sources mailing list
gnu-emacs-sources@gnu.org
https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources


Re: nobreak-fade.el v.8

2014-06-09 Thread Emanuel Berg
Kevin Ryde user42_ke...@yahoo.com.au writes:

 This is some miscellaneous funcs I use in
 fill-nobreak-predicate.  The latest addition is TeX
 maths to prevent line breaks when a short symbol is
 at the start or end of something like

 $x \blah\blah y$

Great! I thought of that myself many times when doing
LaTeX. And not only for the example you mention, but
for {\bf boldface} and stuff like that as well. You
type it into ordinary paragraphs (i.e., plain text), so
you want to fill it, but because they are logical
units, you wish to keep them together whenever possible
- also, breaking them often breaks the highlighting, I
have noticed, and it can get really
annoying/nonproductive tilting the text trying to get
it back. I will try this, now.

-- 
underground experts united:
http://user.it.uu.se/~embe8573
___
gnu-emacs-sources mailing list
gnu-emacs-sources@gnu.org
https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources