3

I don't know why, but since recently my Emacs is behaving strangely. As usual I compiled using C-c C-c to call LaTeX, then there were errors and it asked me to type (as usual) C-c '. but when I did it just commented out the whole paragraph, which is the same effect as C-c %. C-c % still works the same and typing ' produces the same letter, i.e., '. so I somehow have my doubts that it is related to the keyboard, but not out of the question, of course. I can't recall having done any setting changes or changes to my setup since the last time it worked perfectly, but i am not completely sure.

I'm running Emacs under Ubuntu, Latex/MP Fly Ref are the automatically hooked modes.

Does anyone have an idea?

4
  • 2
    To see errors you have to use C-c ` (backtick), not C-c '. C-h k C-c ' explains you what's going on: C-c ' runs the command TeX-comment-or-uncomment-paragraph, which is an interactive compiled Lisp function in `tex.el'. It is bound to C-c %, C-c ', <menu-bar> <LaTeX> <Comment or Uncomment Paragraph>.
    – giordano
    Feb 7, 2014 at 9:54
  • thank you very much! that did the whole trick... yday i was also trying the backtick command, but that did also create some strange outcome and so i was lost in how to check errors. do not know why my memory told me that i usually used C-c ' .... now it works just perfectly :)
    – dps_kane
    Feb 8, 2014 at 10:07
  • @giordano Sounds like an answer :-) Mar 23, 2014 at 13:57
  • @SeanAllred Done :-).
    – giordano
    Mar 23, 2014 at 14:35

1 Answer 1

5

To see errors you have to use C-c ` (backtick), not C-c '. C-h k C-c ' (C-h k is bound to describe-key ) explains you what's going on:

C-c ' runs the command TeX-comment-or-uncomment-paragraph, which is an
interactive compiled Lisp function in `tex.el'.

It is bound to C-c %, C-c ', <menu-bar> <LaTeX> <Comment or Uncomment
Paragraph>.

(TeX-comment-or-uncomment-paragraph)

Comment or uncomment current paragraph.

You can see the other key bindings for TeX-next-error with C-h f TeX-next-error RET:

TeX-next-error is an interactive autoloaded compiled Lisp function in
`tex-buf.el'.

It is bound to C-c `, C-x `, M-g n, M-g M-n.

(TeX-next-error REPARSE)

Find the next error in the TeX output buffer.
With C-u prefix, start from the beginning of the errors.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .