From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: ispell-region with M-$ in transient-mark-mode Date: Thu, 20 Jan 2005 16:43:04 -0600 (CST) Message-ID: <200501202243.j0KMh4Z25026@raven.dms.auburn.edu> References: <87zmz7m2qr.fsf@jurta.org> <01c4fd95$Blat.v2.2.2$b13f8120@zahav.net.il> <87651u6w4g.fsf@jurta.org> <01c4fde1$Blat.v2.2.2$f4f851c0@zahav.net.il> <87hdldkgim.fsf@jurta.org> <01c4fe50$Blat.v2.2.2$b25e9bc0@zahav.net.il> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1106261859 12162 80.91.229.6 (20 Jan 2005 22:57:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Jan 2005 22:57:39 +0000 (UTC) Cc: juri@jurta.org, eliz@gnu.org, k.stevens@ieee.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 20 23:57:22 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CrlEv-00073z-00 for ; Thu, 20 Jan 2005 23:57:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CrlK6-0007m0-W8 for ged-emacs-devel@m.gmane.org; Thu, 20 Jan 2005 18:02:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CrlJa-0007XT-FC for emacs-devel@gnu.org; Thu, 20 Jan 2005 18:02:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CrlJW-0007UW-Vl for emacs-devel@gnu.org; Thu, 20 Jan 2005 18:02:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CrlJW-0007TY-RD for emacs-devel@gnu.org; Thu, 20 Jan 2005 18:02:06 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Crl1w-00069n-0R; Thu, 20 Jan 2005 17:43:56 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j0KMhi9N025166; Thu, 20 Jan 2005 16:43:44 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j0KMh4Z25026; Thu, 20 Jan 2005 16:43:04 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: geoff@cs.hmc.edu In-reply-to: (message from Geoff Kuenning on 20 Jan 2005 23:00:56 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:32434 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32434 Geoff Kuenning wrote: >> Instead of this, I propose to call the command `ispell' which already >> checks a region or a buffer depending on the values of `transient-mark-mode' >> and `mark-active'. > > IMHO this is a good idea. In general, if we can do something useful > and sufficiently intuitive instead of throwing an error, we should. How would this work for those of us who don't use transient-mark-mode? Would it always just check the current region? No, ispell always checks the entire buffer if transient-merk-mode is off: ispell is an interactive autoloaded Lisp function in `ispell'. (ispell) Interactively check a region or buffer for spelling errors. If `transient-mark-mode' is on, and a region is active, spell-check that region. Otherwise spell-check the buffer. Sincerely, Luc.