emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master e48c60e 2/2: Document ispell comment/string checking commands in


From: Št?pán N?mec
Subject: master e48c60e 2/2: Document ispell comment/string checking commands in the user manual
Date: Wed, 26 Aug 2020 07:20:06 -0400 (EDT)

branch: master
commit e48c60e7c9b4d6e5a11fc11cdd5dded868321b80
Author: Štěpán Němec <stepnem@gmail.com>
Commit: Štěpán Němec <stepnem@gmail.com>

    Document ispell comment/string checking commands in the user manual
    
    * doc/emacs/fixit.texi (Spelling): Mention
    'ispell-comments-and-strings' and 'ispell-comment-or-string-at-point'.
    (bug#6411)
---
 doc/emacs/fixit.texi | 11 ++++++++++-
 etc/NEWS             |  4 ++--
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/doc/emacs/fixit.texi b/doc/emacs/fixit.texi
index 6633848..db77ae4 100644
--- a/doc/emacs/fixit.texi
+++ b/doc/emacs/fixit.texi
@@ -277,6 +277,10 @@ Check and correct spelling in the region.
 @item M-x ispell-message
 Check and correct spelling in a draft mail message, excluding cited
 material.
+@item M-x ispell-comments-and-strings
+Check and correct spelling of comments and strings in the buffer or region.
+@item M-x ispell-comment-or-string-at-point
+Check the comment or string at point.
 @item M-x ispell-change-dictionary @key{RET} @var{dict} @key{RET}
 Restart the spell-checker process, using @var{dict} as the dictionary.
 @item M-x ispell-kill-ispell
@@ -304,6 +308,8 @@ region; @pxref{Disabled Transient Mark}.)
 @findex ispell
 @findex ispell-buffer
 @findex ispell-region
+@findex ispell-comments-and-strings
+@findex ispell-comment-or-string-at-point
 @cindex spell-checking the active region
   Similarly, the command @kbd{M-x ispell} performs spell-checking in
 the region if one is active, or in the entire buffer otherwise.  The
@@ -312,7 +318,10 @@ explicitly perform spell-checking on the entire buffer or 
the region
 respectively.  To check spelling in an email message you are writing,
 use @w{@kbd{M-x ispell-message}}; that command checks the whole buffer,
 except for material that is indented or appears to be cited from other
-messages.  @xref{Sending Mail}.
+messages.  @xref{Sending Mail}.  When dealing with source code, you
+can use @kbd{M-x ispell-comments-and-strings} or @w{@kbd{M-x
+ispell-comment-or-string-at-point}} to check only comments or string
+literals.
 
   When one of these commands encounters what appears to be an
 incorrect word, it asks you what to do.  It usually displays a list of
diff --git a/etc/NEWS b/etc/NEWS
index 05105a1..5cb6fcb 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -383,11 +383,11 @@ The menu-bar Help menu now has a "Show Recent Inputs" 
item under the
 
 ** Ispell
 
----
++++
 *** 'ispell-comments-and-strings' now accepts START and END arguments,
 defaulting to active region when used interactively.
 
----
++++
 *** New command 'ispell-comment-or-string-at-point' is provided.
 
 ---



reply via email to

[Prev in Thread] Current Thread [Next in Thread]