From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bvraghav@iitk.ac.in (B.V. Raghav) Newsgroups: gmane.emacs.bugs Subject: bug#23987: 24.5; Icy with Ggtags Problem Date: Fri, 22 Jul 2016 17:36:14 +0530 Organization: Indian Institute of Technology, Kanpur Message-ID: <87a8h96fnt.fsf@ram.bvr.dp.lan> References: <87zipk2kq4.fsf@ram.bvr.dp.lan> <3010c050-4257-4c00-82be-9a0437e2a4cc@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1469189242 4756 80.91.229.3 (22 Jul 2016 12:07:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2016 12:07:22 +0000 (UTC) Cc: 23987@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 22 14:07:13 2016 Return-path: Envelope-to: geb-bug-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 1bQZEW-00070U-TZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Jul 2016 14:07:13 +0200 Original-Received: from localhost ([::1]:46940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQZEW-0008An-0W for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Jul 2016 08:07:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQZEQ-0008Ai-4y for bug-gnu-emacs@gnu.org; Fri, 22 Jul 2016 08:07:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQZEL-0007qt-UZ for bug-gnu-emacs@gnu.org; Fri, 22 Jul 2016 08:07:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQZEL-0007qp-R1 for bug-gnu-emacs@gnu.org; Fri, 22 Jul 2016 08:07:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bQZEL-0001R9-Hy for bug-gnu-emacs@gnu.org; Fri, 22 Jul 2016 08:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: bvraghav@iitk.ac.in (B.V. Raghav) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Jul 2016 12:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23987 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23987-submit@debbugs.gnu.org id=B23987.14691891815478 (code B ref 23987); Fri, 22 Jul 2016 12:07:01 +0000 Original-Received: (at 23987) by debbugs.gnu.org; 22 Jul 2016 12:06:21 +0000 Original-Received: from localhost ([127.0.0.1]:60857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bQZDh-0001QI-3k for submit@debbugs.gnu.org; Fri, 22 Jul 2016 08:06:21 -0400 Original-Received: from mail2.iitk.ac.in ([202.3.77.186]:52082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bQZDe-0001Q7-AS for 23987@debbugs.gnu.org; Fri, 22 Jul 2016 08:06:19 -0400 Original-Received: from smtp.cc.iitk.ac.in (smtp.cc.iitk.ac.in [172.31.1.22]) by mail2.iitk.ac.in (Postfix) with ESMTP id 8C9A210001AC; Fri, 22 Jul 2016 17:36:14 +0530 (IST) Original-Received: from ram.bvr.dp.lan.iitk.ac.in (unknown [172.20.240.119]) (Authenticated sender: bvraghav) by smtp.cc.iitk.ac.in (Postfix) with ESMTPA id 813C848; Fri, 22 Jul 2016 17:36:14 +0530 (IST) In-Reply-To: <3010c050-4257-4c00-82be-9a0437e2a4cc@default> (Drew Adams's message of "Thu, 21 Jul 2016 09:44:44 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:121412 Archived-At: Drew Adams writes: [I have no knowledge about what was written here.] > > This is my suggestion, FWIW: > > (defun compilation-auto-jump (buffer pos) > (when (buffer-live-p buffer) ; <=========================== > (with-current-buffer buffer > (goto-char pos) > (let ((win (get-buffer-window buffer 0))) > (when win (set-window-point win pos))) > (when compilation-auto-jump-to-first-error > (compile-goto-error))))) > > Seems like a no-brainer... This function did not help the use case, but a sanity check does not seemingly harm. So I keep it as an override in my init.el. Thanks, r -- (B.V. Raghav) Ph.D. Student, Design Programme, IIT Kanpur