Re: Issues with japanese support

Masayuki Ataka <[email protected]>
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
From: Ralf Angeli <[email protected]>
Subject: Re: Issues with japanese support
Date: Wed, 02 Mar 2005 21:56:54 +0100

> > Ralf wrote that the checks for the text property were removed.
> > The reason to strip the check is it works only in Emacs 21.X
> > and Emacs 21.X does not use fill-space text property.  That is
> > no problem.
> >
> > But we can see fill-space text property in LaTeX-fill-newline.
> [...]
> > Ikumi's question is `What for this fill-space text property is set?'
> > If this property is not used, it is something like a garbage.
> 
> Argh, when looking at what Emacs 21 does, I forgot that we actually
> set the property in other compatibility code.  If you think that
> checking for the property in `LaTeX-fill-delete-newlines' is useful,
> please add the code from `fill-delete-newlines' I left out.

In CVS Emacs, 'fill-space is used for checking double space
after period, using variable `sentence-end-without-space', which
is not available in Emacs 21.4.

> The code setting the text property in `LaTeX-fill-newline' should not
> be removed because the text property is checked in
> `fill-delete-newlines' and therefore is useful in Emacs 22 (the

Okay.
This is another suggestion from Ikumi:
   Do not set 'fill-space if Emacs < 22.1.

It seems good to me.

> upcoming release).
> 
Really? Xp

> > He also suggested that we should set this text property
> > nonsticky as fill.el in CVS Emacs do [1], if this fill-space
> > is necessary.
> >
> > [1] fill.el in CVS Emacs
> > (add-to-list 'text-property-default-nonsticky '(fill-space . t))
> 
> Okay.

If we do not set 'fill-space, we don't need above code no more.

best,
---
email: [email protected]
Name:: Masayuki Ataka // (Japan)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.