Ralf Angeli schrieb am 14.11.2005 18:14: > * Christoph Bier (2005-11-14) writes: > >>Ralf Angeli schrieb am 13.11.2005 19:38: >> >>>Yes, multi-line constructs will not be fontified correctly. >> >>That's what I expected. But I did not know what is meant by >>"multi-line constructs" because of automatic line wrapping (correct >>expression?). > > I don't know what you mean with automatic line wrapping. Do you mean > the functionality provided by `auto-fill-mode', [...]
Yes. >>Now I found a multi-line construct (very long graphic >>name). > > Do you mean a continuation line? See (info "(emacs)Continuation Lines"). Yes. > That's not what I am talking about. What I mean are constructs which > span more than one line (and thereby one ore more linebreaks), > e.g. some words in quotation marks like in the following example: > > text text text text text text text text text ``quote quote quote > quote quote'' text text text text text text text text text Ah ok , thanks for explanation! >>[Help by code] > > Better use this slightly changed function: > > (defun TeX-scramble-buffer () > (interactive) > (goto-char (point-min)) > (while (not (eobp)) > (cond > ((looking-at "\\w+") > (replace-match (make-string (length (match-string 0)) ?x)) > (goto-char (match-end 0))) > ((looking-at "\\\\") > (goto-char (TeX-find-macro-end)))) > (forward-char))) Thanks, again. [...] Best, Christoph -- +++ Typografie-Regeln: http://www.zvisionwelt.de/typokurz.pdf (1.4) _______________________________________________ auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex
