From: bvraghav@iitk.ac.in (B.V. Raghav)
To: Drew Adams <drew.adams@oracle.com>
Cc: 23987@debbugs.gnu.org
Subject: bug#23987: 24.5; Icy with Ggtags Problem
Date: Fri, 22 Jul 2016 17:36:14 +0530 [thread overview]
Message-ID: <87a8h96fnt.fsf@ram.bvr.dp.lan> (raw)
In-Reply-To: <3010c050-4257-4c00-82be-9a0437e2a4cc@default> (Drew Adams's message of "Thu, 21 Jul 2016 09:44:44 -0700 (PDT)")
Drew Adams <drew.adams@oracle.com> 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
next prev parent reply other threads:[~2016-07-22 12:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-14 17:27 bug#23987: 24.5; Icy with Ggtags Problem B.V. Raghav
2016-07-20 7:42 ` Glenn Morris
2016-07-21 16:44 ` Drew Adams
2016-07-22 12:06 ` B.V. Raghav [this message]
2016-07-22 14:01 ` Drew Adams
2016-07-22 14:51 ` B.V. Raghav
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a8h96fnt.fsf@ram.bvr.dp.lan \
--to=bvraghav@iitk.ac.in \
--cc=23987@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).