Re: Issues with japanese support

Ralf Angeli <[email protected]>
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
* Masayuki Ataka (2005-03-02) writes:

> From: Ralf Angeli <[email protected]>
[...]
>> >       ;; This else-sentence was copied from the function `fill-delete-newlines'
>> >       ;; in `fill.el' (CVS Emacs, 2005-02-17).
[...]
>> > ;; Is comment appropriate?
>> 
>> Yep.  You could add something like "... and adapted accordingly"
>> because the checks for the fill-space text property were removed.
>> (AFAICS this property is not used in Emacs 21.3.)
>
> 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.

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
upcoming release).

> 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.

Thank you and Ikumi for looking into this.

-- 
Ralf
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.