[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 42c0b8f: Documentation followup for bug#32029
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master 42c0b8f: Documentation followup for bug#32029 |
Date: |
Sat, 7 Jul 2018 05:02:06 -0400 (EDT) |
branch: master
commit 42c0b8f3f27c8700f1f432649f2466aab9127061
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Documentation followup for bug#32029
* etc/NEWS: Mention 'xref-find-definitions-at-mouse'
* doc/emacs/maintaining.texi (Looking Up Identifiers):
Document 'xref-find-definitions-at-mouse'.
---
doc/emacs/maintaining.texi | 7 +++++++
etc/NEWS | 7 +++++++
2 files changed, 14 insertions(+)
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index df8c447..024fd97 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -1813,6 +1813,8 @@ Find definitions of identifier, but display it in another
window
@item C-x 5 .@: @key{RET}
Find definition of identifier, and display it in a new frame
(@code{xref-find-definitions-other-frame}).
address@hidden M-x xref-find-definitions-at-mouse
+Find definition of identifier at mouse click.
@item M-,
Go back to where you previously invoked @kbd{M-.} and friends
(@code{xref-pop-marker-stack}).
@@ -1853,6 +1855,11 @@ former is @address@hidden 4 .}}
(@code{xref-find-definitions-other-window}), and the latter is
@address@hidden 5 .}} (@code{xref-find-definitions-other-frame}).
+ The command @code{xref-find-definitions-at-mouse} works like
address@hidden, but it looks for the identifier name at
+or around the place of a mouse event. This command is intended to be
+bound to a mouse event, such as @kbd{C-M-mouse-1}, for example.
+
@findex xref-find-apropos
@kindex C-M-.
The command @kbd{C-M-.} (@code{xref-find-apropos}) finds the
diff --git a/etc/NEWS b/etc/NEWS
index c92ee6e..375f040 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -265,6 +265,13 @@ them to the 'browse-url' function, like the other
protocols: ftp,
http, and https. This allows to have references to local HTML files,
for example.
+** Xref
+
++++
+*** New command 'xref-find-definitions-at-mouse'.
+This command finds definitions of the identifier at the place of a
+mouse click event, and is intended to be bound to a mouse event.
+
** Ecomplete
*** The ecomplete sorting has changed to a decay-based algorithm.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 42c0b8f: Documentation followup for bug#32029,
Eli Zaretskii <=