all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Arthur Miller <arthur.miller@live.com>
Cc: emacs-devel@gnu.org
Subject: Re: Question about xref and adding "find all references" button to built-in help
Date: Tue, 21 Sep 2021 17:02:05 +0300	[thread overview]
Message-ID: <7e23fdcd-ac2a-ce00-cad8-d779d1607faa@yandex.ru> (raw)
In-Reply-To: <AM9PR09MB49771D4D50935CF453C2D9FC96A19@AM9PR09MB4977.eurprd09.prod.outlook.com>

On 21.09.2021 13:32, Arthur Miller wrote:

>> Or perhaps this feature will be mostly used by people who already have an Emacs
>> sources checked out anyway.
> User have to have sources installed; I don't plan on parsing elc files, it was
> more of a wild thought, but to get somthing going, user would need to have
> sources installed in some way; compressed, uncompressed or dev sources. I don't
> know though if I have to decompress sources myself or Emacs does that
> auto. Nobody cared to answer any of questions I asked in the patch proposal for
> the source inlined in help buffers.

When we're talking about find-definition, it might be already taken care 
of by find-func and tramp-archive (someone needs to test, though).

But as far as "find references" goes, we're scanning the sources with 
external programs. There is 'zgrep', but I'm not sure how to set up its 
automatic use best.

>> Ah, I see it now. You wanted to show the "Find all references" button printed by
>> Helpful.
> 
> Yeah. But without the button :). You were thinkng on the presentation of
> results?

I figured that's what the screenshots were about.

> For there I just meant a buffer with a list of links or buttons, I
> don't know what else. Would there be some better option?

A button somewhere near the end might be a good idea. I don't know -- 
it's a fairly arbitrary choice that you could start with the rest of the 
work first, get it installed, and then post a question on emacs-devel 
(or wherever) whether people want to see the button as well.



      reply	other threads:[~2021-09-21 14:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-19 20:17 Question about xref and adding "find all references" button to built-in help Arthur Miller
2021-09-19 23:32 ` Dmitry Gutov
2021-09-20  5:47   ` Arthur Miller
2021-09-20 12:49     ` Dmitry Gutov
2021-09-20 20:52       ` Arthur Miller
2021-09-20 23:37         ` Dmitry Gutov
2021-09-21 10:32           ` Arthur Miller
2021-09-21 14:02             ` Dmitry Gutov [this message]

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=7e23fdcd-ac2a-ce00-cad8-d779d1607faa@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=arthur.miller@live.com \
    --cc=emacs-devel@gnu.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.