From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Halliday Newsgroups: gmane.emacs.help Subject: (next-error) and buffer popups Date: Mon, 18 May 2015 02:06:49 -0700 (PDT) Message-ID: <9bbb76e9-381c-47e7-ae73-1901b493d28a@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1431940225 15295 80.91.229.3 (18 May 2015 09:10:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 May 2015 09:10:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 18 11:10:25 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YuH43-0002wU-3X for geh-help-gnu-emacs@m.gmane.org; Mon, 18 May 2015 11:10:23 +0200 Original-Received: from localhost ([::1]:39711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuH3x-0002sk-A9 for geh-help-gnu-emacs@m.gmane.org; Mon, 18 May 2015 05:10:17 -0400 X-Received: by 10.236.30.226 with SMTP id k62mr33044991yha.24.1431940010054; Mon, 18 May 2015 02:06:50 -0700 (PDT) X-Received: by 10.140.23.50 with SMTP id 47mr305335qgo.24.1431940010038; Mon, 18 May 2015 02:06:50 -0700 (PDT) Original-Path: usenet.stanford.edu!z60no1728897qgd.1!news-out.google.com!k20ni29924qgd.0!nntp.google.com!z60no1730549qgd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=83.244.128.25; posting-account=kRukCAoAAAANs-vsVh9dFwo5kp5pwnPz Original-NNTP-Posting-Host: 83.244.128.25 User-Agent: G2/1.0 Injection-Date: Mon, 18 May 2015 09:06:50 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:212190 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104474 Archived-At: Hello all, I typically have a couple of emacs frames on my desktop because I have a mu= lti-monitor setup. I usually have the compile buffer open in one of the secondary frames, but = the behaviour of (next-error) is a bit frustrating because it will always o= pen the compile buffer in a new window in whatever frame I invoke it from. = This results in two windows in my field of view showing the same informatio= n. Is there an alternative to (next-error) which does the same "jump to error = in source" behaviour but doesn't popup the compile buffer? The following lo= gic would be perfect: (when (compile-buffer-not-visible) (popup-compile-buffer-in-current-frame)) (goto-errored-source-file-and-line) Best regards, Sam