all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Is there a way to jump to the next warning in EMCAS/AUCTEX?
@ 2008-08-23  2:44 ning.jiang04
  2008-08-23  3:40 ` Pascal J. Bourguignon
  0 siblings, 1 reply; 7+ messages in thread
From: ning.jiang04 @ 2008-08-23  2:44 UTC (permalink / raw)
  To: help-gnu-emacs

Just switched to EMACS/AUCTEX from TeXnicCenter. Everything work very
good, and I am not looking back. However, one feature that
TeXnicCenter has is press F10 to jump to the next warning, such as
next undefined references or citations. I didn't find a way to do this
using EMACS.

Does anyone know how to do this?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is there a way to jump to the next warning in EMCAS/AUCTEX?
  2008-08-23  2:44 Is there a way to jump to the next warning in EMCAS/AUCTEX? ning.jiang04
@ 2008-08-23  3:40 ` Pascal J. Bourguignon
  2008-08-23 18:15   ` Reiner Steib
  0 siblings, 1 reply; 7+ messages in thread
From: Pascal J. Bourguignon @ 2008-08-23  3:40 UTC (permalink / raw)
  To: help-gnu-emacs

ning.jiang04@gmail.com writes:

> Just switched to EMACS/AUCTEX from TeXnicCenter. Everything work very
> good, and I am not looking back. However, one feature that
> TeXnicCenter has is press F10 to jump to the next warning, such as
> next undefined references or citations. I didn't find a way to do this
> using EMACS.
>
> Does anyone know how to do this?

http://www.ihateyoujulia.com/?id=21b147b55bd720a09773dcda43ebd042

It seems to be the TeX-next-error command, bound on C-c `

If you want to bind it on F10, put:

   (global-set-key [f10] 'TeX-next-error)

in your ~/.emacs


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
Our enemies are innovative and resourceful, and so are we. They never
stop thinking about new ways to harm our country and our people, and
neither do we. -- Georges W. Bush


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is there a way to jump to the next warning in EMCAS/AUCTEX?
  2008-08-23  3:40 ` Pascal J. Bourguignon
@ 2008-08-23 18:15   ` Reiner Steib
  2008-08-25 14:27     ` Ted Zlatanov
  0 siblings, 1 reply; 7+ messages in thread
From: Reiner Steib @ 2008-08-23 18:15 UTC (permalink / raw)
  To: help-gnu-emacs

On Sat, Aug 23 2008, Pascal J. Bourguignon wrote:

>    (global-set-key [f10] 'TeX-next-error)

It doesn't make much sense to bind this command globally.  Better set
it locally in TeX modes (e.g. via `TeX-mode-hook').

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is there a way to jump to the next warning in EMCAS/AUCTEX?
  2008-08-23 18:15   ` Reiner Steib
@ 2008-08-25 14:27     ` Ted Zlatanov
  2008-08-25 19:49       ` Reiner Steib
  0 siblings, 1 reply; 7+ messages in thread
From: Ted Zlatanov @ 2008-08-25 14:27 UTC (permalink / raw)
  To: help-gnu-emacs

On Sat, 23 Aug 2008 20:15:10 +0200 Reiner Steib <reinersteib+gmane@imap.cc> wrote: 

RS> On Sat, Aug 23 2008, Pascal J. Bourguignon wrote:
>> (global-set-key [f10] 'TeX-next-error)

RS> It doesn't make much sense to bind this command globally.  Better set
RS> it locally in TeX modes (e.g. via `TeX-mode-hook').

It's even better to use `next-error', which works for other compilation
and grep/occur buffers.  It should work in TeX-mode as well; if it
doesn't please let me know and I'll take a look.

There's also `previous-error' to go backwards, which can be handy as well.

Ted


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is there a way to jump to the next warning in EMCAS/AUCTEX?
  2008-08-25 14:27     ` Ted Zlatanov
@ 2008-08-25 19:49       ` Reiner Steib
  2008-08-25 20:06         ` Ralf Angeli
  2008-08-27 15:17         ` Ted Zlatanov
  0 siblings, 2 replies; 7+ messages in thread
From: Reiner Steib @ 2008-08-25 19:49 UTC (permalink / raw)
  To: help-gnu-emacs

On Mon, Aug 25 2008, Ted Zlatanov wrote:

> On Sat, 23 Aug 2008, Reiner Steib <reinersteib+gmane@imap.cc> wrote: 
> RS> On Sat, Aug 23 2008, Pascal J. Bourguignon wrote:
>>> (global-set-key [f10] 'TeX-next-error)
>
> RS> It doesn't make much sense to bind this command globally.  Better set
> RS> it locally in TeX modes (e.g. via `TeX-mode-hook').
>
> It's even better to use `next-error', which works for other compilation
> and grep/occur buffers.  It should work in TeX-mode as well; if it
> doesn't please let me know and I'll take a look.

In contract to AUCTeX's `TeX-next-error', `next-error' doesn't jump
from the TeX file to the output buffer. 

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is there a way to jump to the next warning in EMCAS/AUCTEX?
  2008-08-25 19:49       ` Reiner Steib
@ 2008-08-25 20:06         ` Ralf Angeli
  2008-08-27 15:17         ` Ted Zlatanov
  1 sibling, 0 replies; 7+ messages in thread
From: Ralf Angeli @ 2008-08-25 20:06 UTC (permalink / raw)
  To: help-gnu-emacs

* Reiner Steib (2008-08-25) writes:

> In contract to AUCTeX's `TeX-next-error', `next-error' doesn't jump
> from the TeX file to the output buffer. 

JFTR, AUCTeX remaps the key bindings of `next-error' to
`TeX-next-error'.  So you can use e.g. `M-g n' if you are used to it
from other Emacs components.

-- 
Ralf


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is there a way to jump to the next warning in EMCAS/AUCTEX?
  2008-08-25 19:49       ` Reiner Steib
  2008-08-25 20:06         ` Ralf Angeli
@ 2008-08-27 15:17         ` Ted Zlatanov
  1 sibling, 0 replies; 7+ messages in thread
From: Ted Zlatanov @ 2008-08-27 15:17 UTC (permalink / raw)
  To: help-gnu-emacs

On Mon, 25 Aug 2008 21:49:20 +0200 Reiner Steib <reinersteib+gmane@imap.cc> wrote: 

RS> In contract to AUCTeX's `TeX-next-error', `next-error' doesn't jump
RS> from the TeX file to the output buffer. 

Is this by design or should it be fixed?  Seems like a design decision;
`next-error' is supposed to be consistent across all Emacs modes where
it makes sense; in this particular case only the keybindings are
preserved but not the command itself, as Ralf Angeli mentioned.

Ted


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-08-27 15:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-23  2:44 Is there a way to jump to the next warning in EMCAS/AUCTEX? ning.jiang04
2008-08-23  3:40 ` Pascal J. Bourguignon
2008-08-23 18:15   ` Reiner Steib
2008-08-25 14:27     ` Ted Zlatanov
2008-08-25 19:49       ` Reiner Steib
2008-08-25 20:06         ` Ralf Angeli
2008-08-27 15:17         ` Ted Zlatanov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.