all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Lars Ingebrigtsen <larsi@gnus.org>,
	Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Cc: 23455@debbugs.gnu.org
Subject: bug#23455: 25.0.93; profiler-report doesn't configure xref for elisp
Date: Tue, 30 Jul 2019 02:15:58 +0300	[thread overview]
Message-ID: <c65f7cb8-7406-d237-65ae-041461a1b50d@yandex.ru> (raw)
In-Reply-To: <87ftmqb4w0.fsf@mouse.gnus.org>

On 28.07.2019 17:38, Lars Ingebrigtsen wrote:

> The following patch seems to make `M-.' work as expected in the report
> buffers, but I'm wholly unfamiliar with how xref works -- I just
> cargo-culted the code in elisp-mode.el.
> 
> Perhaps somebody who knows how this works can say whether it looks OK:

It does, thanks. Please feel free to install.

> diff --git a/lisp/profiler.el b/lisp/profiler.el
> index ee11ff68c5..92495e2de8 100644
> --- a/lisp/profiler.el
> +++ b/lisp/profiler.el
> @@ -615,9 +615,12 @@ profiler-report-setup-buffer
>         (profiler-report-render-calltree))
>       buffer))
>   
> +(defun profiler--xref-backend () 'elisp)

You could also use elisp--xref-backend directly, but this way we'll have 
a direct place for future improvements.





  reply	other threads:[~2019-07-29 23:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-05  2:09 bug#23455: 25.0.93; profiler-report doesn't configure xref for elisp Juliusz Chroboczek
2019-07-28 14:38 ` Lars Ingebrigtsen
2019-07-29 23:15   ` Dmitry Gutov [this message]
2019-07-30 10:05     ` Lars Ingebrigtsen

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c65f7cb8-7406-d237-65ae-041461a1b50d@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=23455@debbugs.gnu.org \
    --cc=jch@pps.univ-paris-diderot.fr \
    --cc=larsi@gnus.org \
    /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 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.