From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.help Subject: Re: Understanding Word Boundaries Date: Sun, 27 Jun 2010 05:05:42 +0200 Message-ID: References: <4C2691F1.5020802@mousecar.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1277608038 28987 80.91.229.12 (27 Jun 2010 03:07:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Jun 2010 03:07:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: gebser@mousecar.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 27 05:07:17 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OSiD1-00023A-73 for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Jun 2010 05:07:16 +0200 Original-Received: from localhost ([127.0.0.1]:43460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSiCj-00040h-8J for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Jun 2010 23:06:45 -0400 Original-Received: from [140.186.70.92] (port=46219 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSiCK-0003xG-EP for help-gnu-emacs@gnu.org; Sat, 26 Jun 2010 23:06:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OSiCE-0004yF-Cp for help-gnu-emacs@gnu.org; Sat, 26 Jun 2010 23:06:15 -0400 Original-Received: from mail-ww0-f41.google.com ([74.125.82.41]:53187) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSiCE-0004y5-6m for help-gnu-emacs@gnu.org; Sat, 26 Jun 2010 23:06:14 -0400 Original-Received: by wwf26 with SMTP id 26so2073799wwf.0 for ; Sat, 26 Jun 2010 20:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=V8v2A4aFLSYzLDn/a/Jr0Vn0Lz+TCs0A8jZblKaJj18=; b=E7V1AHX5Tvjt83IN9i4p1wSlveV/u6Vn2rFbBTcm0jX1rNvMOb1Q/mg/1FGpnKoEEc Thmx5pcwwOkvtXHTFBvXkO+4Tiu9SXUSUng7Kg4LHHfvrDAD7CCFu+l4d0b/yS0L8Tsh fIkWVPnLStI9XCTXkm+6BuMjkD+KNqgN2Qbow= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=pebSuuwdM8jxIKJ3toRoS2XZm3wCl2NcnGYljshVibRyXR4ndOk7nYoxoFjfd4sj3R 8CGZR4VeJnu/b1twLdgjiCFEcA5LxpKcQuQg5hVhuYYmBmVBdimSEBNcDgMddPrURmnb T3Ix71X4Ne3kcevReI4T2+3QQ0r1fon7DL38M= Original-Received: by 10.216.93.2 with SMTP id k2mr2184716wef.56.1277607972356; Sat, 26 Jun 2010 20:06:12 -0700 (PDT) Original-Received: by 10.216.183.75 with HTTP; Sat, 26 Jun 2010 20:05:42 -0700 (PDT) In-Reply-To: <4C2691F1.5020802@mousecar.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73985 Archived-At: 2010/6/27 ken : > > On 06/26/2010 06:53 AM Paul Drummond wrote: >> Thanks for the responses guys. >> >> I think the point I am trying to make here is that it's a *big* task to >> fix word boundaries for every case (every word-related key binding >> multiplied by each language/major mode I use!). >> >> I presume that Emacs hackers either a) put up with it or b) spend a lot >> of time fixing each case until they are happy. >> >> I suspect the answer is b. ;-) >> >> I wish there was a single minor-mode that fixes all the word boundary >> issues for every major-mode I use! =A0I can but dream. =A0 Or maybe I wi= ll >> get round to doing it myself one day! =A0;) >> >> Cheers, >> Paul Drummond > > > Is it possible to specify word boundaries for a particular mode? > Yes, it's part of the syntax table. See e.g. `modify-syntax-entry'. Regarding camel case word jumping, see subword-mode (previously known as c-subword-mode) which is part of Emacs. --=20 Deniz Dogan