From: wael-zwaiter@gmx.com
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: ispell and flyspell
Date: Sat, 2 Jan 2021 17:57:53 +0100 [thread overview]
Message-ID: <trinity-ba7417d6-f3bd-4398-8d55-e43d930cb2ab-1609606673117@3c-app-mailcom-bs01> (raw)
In-Reply-To: <83ble7e1b3.fsf@gnu.org>
Have now made this code. Would start-of-paragraph-text and
end-of-paragraph-text work better?.
(defun spelt-paragraph ()
(interactive)
(let ((prg-bounds (bounds-of-thing-at-point 'paragraph)))
(when prg-bounds
(let ( (beg (point))
(end (cdr prg-bounds)))
(ispell-region beg end)))))
> Sent: Saturday, January 02, 2021 at 10:14 PM
> From: "Eli Zaretskii" <eliz@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: ispell and flyspell
>
> > From: wael-zwaiter@gmx.com
> > Cc: help-gnu-emacs@gnu.org
> > Date: Sat, 2 Jan 2021 17:34:12 +0100
> >
> > > > (2 (ispell-region)
> > >
> > > When you call a function, it is highly recommended to consult its doc
> > > string, so you see what arguments it requires and what is the meaning
> > > of each argument. You _must_ supply the mandatory arguments, they
> > > cannot be omitted when calling from Lisp.
> >
> > I know, but aw unsure what commands to use for the arguments to get
> > the beginning and end of the paragraph.
>
> "M-x apropos RET paragraph RET" is your friend.
>
> In this case, I suggest using start-of-paragraph-text and
> end-of-paragraph-text.
>
>
next prev parent reply other threads:[~2021-01-02 16:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-02 12:26 ispell and flyspell wael-zwaiter
2021-01-02 14:27 ` Eli Zaretskii
2021-01-02 15:35 ` wael-zwaiter
2021-01-02 16:23 ` Eli Zaretskii
2021-01-02 16:34 ` wael-zwaiter
2021-01-02 16:44 ` Eli Zaretskii
2021-01-02 16:57 ` wael-zwaiter [this message]
2021-01-02 17:11 ` Eli Zaretskii
2021-01-02 17:21 ` wael-zwaiter
2021-01-02 17:47 ` Eli Zaretskii
2021-01-02 17:52 ` wael-zwaiter
2021-01-02 17:53 ` Eli Zaretskii
2021-01-02 17:57 ` wael-zwaiter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=trinity-ba7417d6-f3bd-4398-8d55-e43d930cb2ab-1609606673117@3c-app-mailcom-bs01 \
--to=wael-zwaiter@gmx.com \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).