From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: wael-zwaiter@gmx.com Newsgroups: gmane.emacs.help Subject: Re: ispell and flyspell Date: Sat, 2 Jan 2021 17:57:53 +0100 Message-ID: References: <83pn2ne7nu.fsf@gnu.org> <83h7nze2a8.fsf@gnu.org> <83ble7e1b3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7394"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 02 17:58:29 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kvkEX-0001oS-D9 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 02 Jan 2021 17:58:29 +0100 Original-Received: from localhost ([::1]:39916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvkEW-0003RH-GL for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 02 Jan 2021 11:58:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvkE1-0003RB-S8 for help-gnu-emacs@gnu.org; Sat, 02 Jan 2021 11:57:57 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:34605) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvkDz-0006pV-Pe; Sat, 02 Jan 2021 11:57:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1609606673; bh=NBE5yRPhg5zi6wZ0+wFL7IrV/jbdkAYXy0PVqYEYrK0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=WB9VNjDjhuHFqedYvetrKZc4Mhcm1o/0dwYirK80FnnUW2iaZbYZMFX5l6tfB6TZ3 m8s/mZiafiK3/B+wAYTwoPAp9yt+SjlbWy7BmRofKlC/3LiCksYsWf0OvUvBwXJa7i 2EhFqmdKdIkHCdA0pqEFvlJMvuHPfen/EDfQsWZU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs01.server.lan [172.19.170.58]) (via HTTP); Sat, 2 Jan 2021 17:57:53 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <83ble7e1b3.fsf@gnu.org> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:4N+WRKobet+JTj96pZrQd4ohpVADTUDvTZ9a9ObXK8z89UZS18UQJ6hrI5KHoJjpG6MKk WS6lOtV7/1Bn3bamwjR9mfl/uLeGUdKqbhGf9o/rX1J+iS4D1wcSTUP8D55WvaHf9GHdBmYZruty Jl/OuA+ampUYsMHmKLkuSajAtUzcYCSWpOUvS/n1G0OMMBXF5PpOC7Y8PSdoCygOpzLxdhcYlQin 8jF46wDmExt252kAewTS2HFpyXBi/2FxJGaW5n/0mpkLg/ELsypJvAGHCe6AzF93ma4UEVtBVdFU uw= X-UI-Out-Filterresults: notjunk:1;V03:K0:N63HNQpQ+m4=:boKgmya66IVHFa/9W4rQzq hUouIBeeIvBTMNGXE3ai9IgKYH+Q1xCogUdctaWaJasSD8oiRhCtmuP+VoWMXqVmff8MVKL9t wgEhPkeWHnG4pL/xAOpgBBvJOV7VamaUx5vIy483nZcrmTiGx9qAVG3AXQqntRHvigVC+wRie fpdYBDJp0M6WAvDSLUyUAkq024+1eqmbMdPubN3JSu9DjX0NRixDG5CBE/TS61XSmcdBxD9TI k+I94XacS30IEN+OD2IIeA/N1JNUNknrk2S6FmFkEI5msT6d1fw9a0uOl5qgRVE5h9mEVPgv9 MvEwaqoGxDUH0sznR5Dz8O4qjoWs4405zJ5MDBnXRkTJEVNSctc7OKbod97er9MUS/eJBL4Bt 114x9nzPq2XxVEmaXa9WukoiW230UfJgT3u5pIk/pWrqUSH/3OBOGQz+1q1kp5LpR0wVrLQvU fTVWfYztgIOg3oBzmcpdT2koh11B3zH5Cr1vuvNw53Hp5b1LTkbVHEX8YPm1g/xNiqxG8h0ry iFS//aaAhh7NZ1a2BKx95X+YpDfmAyvizKE4K/vV5wfGLNkGVdimCc0pm0ThpDCziyQS0GS3W eG556KPBm3hBQ= Received-SPF: pass client-ip=212.227.17.21; envelope-from=wael-zwaiter@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:126968 Archived-At: 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" > 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 do= c > > > string, so you see what arguments it requires and what is the meanin= g > > > 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. > >