[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35737: xref--original-command
From: |
Dmitry Gutov |
Subject: |
bug#35737: xref--original-command |
Date: |
Sat, 25 May 2019 01:48:28 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 24.05.2019 21:40, Juri Linkov wrote:
Thanks, I tried xref revert and it works fine.
Also I agree with Eli regarding the command name,
documentation and NEWS.
Should be good now.
But I don't want to write a new function. I just need to check
if the xref buffer was created by a particular command.
I think you need to make a choice here.
Do you want to customize your personal Emacs, or do you want to improve
the default behavior?
If it's the former, I think the advice you posted will work as well as
any other solution.
I was kind of expecting the latter.
If despite a chain of indirections, xref still can't distinguish
different commands that created the xref buffer, I'd rather close
this feature request and use 'advice-add' in customization.
Do we really need to be able to distinguish between xref-find-references
and project-find-regexp as well?
TBH, xref--original-command is easy to add, but then we'll have an
internal variable that isn't used anywhere. Somebody will just delete it
someday.
- bug#35737: xref--original-command, Juri Linkov, 2019/05/14
- bug#35737: xref--original-command, Dmitry Gutov, 2019/05/14
- bug#35737: xref--original-command, Juri Linkov, 2019/05/15
- bug#35737: xref--original-command, Dmitry Gutov, 2019/05/15
- bug#35737: xref--original-command, Juri Linkov, 2019/05/16
- bug#35737: xref--original-command, Dmitry Gutov, 2019/05/23
- bug#35737: xref--original-command, Juri Linkov, 2019/05/24
- bug#35737: xref--original-command,
Dmitry Gutov <=
- bug#35737: xref--original-command, Juri Linkov, 2019/05/27
- bug#35737: xref--original-command, Dmitry Gutov, 2019/05/27
- bug#35737: xref--original-command, Dmitry Gutov, 2019/05/27
- bug#35737: xref--original-command, Eli Zaretskii, 2019/05/27
- bug#35737: xref--original-command, Dmitry Gutov, 2019/05/28
- bug#35737: xref--original-command, Eli Zaretskii, 2019/05/28
- bug#35737: xref--original-command, Juri Linkov, 2019/05/28
- bug#35737: xref--original-command, Dmitry Gutov, 2019/05/30