[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: texinfo-6.5.92 pretest
From: |
Robert Pluim |
Subject: |
Re: texinfo-6.5.92 pretest |
Date: |
Wed, 06 Feb 2019 19:06:26 +0100 |
Gavin Smith <address@hidden> writes:
> On 2/4/19, Robert Pluim <address@hidden> wrote:
>> 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:
>
> Please let us know when your feature has been accepted into Emacs.
Iʼve just committed it to emacs as 6ed9d0057d , it will appear in 27.1
when that is released.
The texinfo patch is below. I have a copyright assigment in place
for emacs, I can do one for texinfo as well (or place the change in
the public domain).
Index: doc/texinfo.texi
===================================================================
--- doc/texinfo.texi (revision 8006)
+++ doc/texinfo.texi (working copy)
@@ -21901,6 +21901,18 @@
Insert @code{@@noindent} and put the
cursor at the beginning of the next line.
address@hidden C-c C-c r
address@hidden M-x texinfo-insert-dwim-@@ref
address@hidden texinfo-insert-dwim-@@ref
+This function and binding were added in Emacs 27.1
+Inserts one of @code{@@address@hidden@}}, @code{@@address@hidden@}}, or
address@hidden@@address@hidden@}} based on the text around point; calling it
near an
+unclosed preceding open parenthesis results in @code{@@address@hidden@}}, at
+the beginning of a sentence or at @code{(point-min)} yields
address@hidden@@address@hidden@}}, any other location (including inside a
word), will
+result in @code{@@address@hidden@}}. A numeric argument says how many words
+the braces should surround. Puts the cursor between the braces.
+
@item C-c C-c s
@itemx M-x texinfo-insert-@@samp
@findex texinfo-insert-@@samp