> Uwe Brauer <[email protected]> writes:

   > Hehe, just what David said.  I guess you mean 24.1, right?  And the
   > answer is no.  "Very, very recent" means a Git version of emacs which is
   > more recent than 4 days.  So 25.1 will the first release have that
   > feature.

I looked it up again, I meant 24.4.1, which however is not recent enough.


   > Not exactly sure what you mean, but when you write \alpha the greek
   > letter will be displayed, and when you then continue writing quux so
   > that it becomes \alphaquux, it will be displayed "normally" again
   > (assuming that you didn't define a pretty char for \alphaquux, of
   > course).

What I mean is this:

    -  when I use x-symbol-mode (a minor mode) typing \alpha gives  α.
       Lets call this prettifying.  

    -  when I turn x-symbol-mode off,   α is displayed again as \alpha.
       Lets call this un-prettifying.


latex-pretty-symbols.el which I found in the net is neither a minor mode
nor does it provide a un-prettifying function.

Now your implementation seems also not to be a minor mode the question I
wanted to ask is, does it provide a un-prettifying function?


   > prettify-symbols-mode


   > I don't use folding but there's the option `TeX-fold-auto' which will
   > fold macros automatically as soon as you've inserted them using `C-c
   > RET' (TeX-insert-macro).  Of course that won't help if you just write
   > out the macros.


Right 
   > You could try adding the lambda which is added to
   > `TeX-after-insert-macro-hook' by `TeX-fold-mode' to the buffer local
   > value of `post-command-hook'.  Maybe that gives you some as-you-type
   > folding.

Ok I thought about this hook and I fiddled around with post-command-hook
some time ago in a different context. In my experience this hook leads
to performance problems.


_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to