Gavin Smith <[email protected]> writes:

> A pretest release for Texinfo has been uploaded to
>
> https://alpha.gnu.org/gnu/texinfo/texinfo-6.5.92.tar.xz

This reminded me I have a patch Iʼve been meaning to submit to
you. Thereʼs an addition to texinfo.el that Iʼm planning to submit to
emacs-27 that should probably be documented in texinfo. The doc change
currently looks like this:

--- doc/texinfo.texi    (revision 8006)
+++ doc/texinfo.texi    (working copy)
@@ -21901,6 +21901,17 @@
 Insert @code{@@noindent} and put the
 cursor at the beginning of the next line.

+@item  C-c C-c r
+@itemx M-x texinfo-insert-dwim-@@ref
+@findex texinfo-insert-dwim-@@ref
+This function and binding were added in Emacs 27.1
+Insert one of @code{@@pxref@{@}}, @code{@@xref@{@}}, or
+@code{@@ref@{@}} based on the text around point; calling it after a
+parenthesis results in @code{@@pxref@{@}}, at the beginning of a
+sentence yields @code{@@xref@{@}}, any other location (including
+inside a word), will result in @code{@@ref@{@}}.  Puts the cursor
+between the braces.
+
 @item  C-c C-c s
 @itemx M-x texinfo-insert-@@samp
 @findex texinfo-insert-@@samp

Reply via email to