[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ispell and flyspell
From: |
wael-zwaiter |
Subject: |
Re: ispell and flyspell |
Date: |
Sat, 2 Jan 2021 17:57:53 +0100 |
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.
>
>
- ispell and flyspell, wael-zwaiter, 2021/01/02
- Re: ispell and flyspell, Eli Zaretskii, 2021/01/02
- Re: ispell and flyspell, wael-zwaiter, 2021/01/02
- Re: ispell and flyspell, Eli Zaretskii, 2021/01/02
- Re: ispell and flyspell, wael-zwaiter, 2021/01/02
- Re: ispell and flyspell, Eli Zaretskii, 2021/01/02
- Re: ispell and flyspell,
wael-zwaiter <=
- Re: ispell and flyspell, Eli Zaretskii, 2021/01/02
- Re: ispell and flyspell, wael-zwaiter, 2021/01/02
- Re: ispell and flyspell, Eli Zaretskii, 2021/01/02
- Re: ispell and flyspell, wael-zwaiter, 2021/01/02
- Re: ispell and flyspell, Eli Zaretskii, 2021/01/02
- Re: ispell and flyspell, wael-zwaiter, 2021/01/02