auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] Re: Extremely slow input


From: Christoph Bier
Subject: [AUCTeX] Re: Extremely slow input
Date: Mon, 14 Nov 2005 18:31:03 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.8) Gecko/20050927 Debian/1.7.8-1sarge3 Mnenhy/0.7.1

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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]