help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: text properties in tex mode


From: Kostas Oikonomou
Subject: Re: text properties in tex mode
Date: Tue, 07 Oct 2008 09:42:43 -0400
User-agent: Thunderbird 2.0.0.14 (X11/20080505)



martin rudalics wrote:

You should have complained instantaneously ;-)

I will work on that :-)

After adding these lines to your .emacs and restarting Emacs could you
please go in a buffer in LaTeX mode, type

C-h v RET facemenu-add-face-function RET

and tell me what Emacs prints?

facemenu-add-face-function is a variable defined in `facemenu.el'.
Its value is nil
Local in buffer nperf.tex; global value is nil

Documentation:
Function called at beginning of text to change or nil.
This function is passed the FACE to set and END of text to change, and must return a string which is inserted. It may set `facemenu-end-add-face'.

You can customize this variable.

 > So this is a bug in TeX/LaTeX mode?

I suppose TeX mode breaks this with

  (set (make-local-variable 'facemenu-add-face-function)
       (lambda (face end)
     (or (cdr (assq face tex-face-alist))
         (error "Face %s not configured for %s mode" face mode-name))))

 > I have never filed an Emacs bug report before, how do you go about it?

 From the Emacs Help menu select Send Bug Report... choose an appropriate
subject and write what you did to produce the bug.  If you can't (or
don't want to) send the report from Emacs itself, copy the From:, To:,
and Subject: fields as well as the entire remaining text to the
respective fields of your preferred mail composer and send them as
usual.

martin





reply via email to

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