From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian Eure Newsgroups: gmane.emacs.help Subject: Re: Making forward-word work with curly apostrophes Date: Mon, 3 Aug 2009 16:58:28 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1249351936 21418 80.91.229.12 (4 Aug 2009 02:12:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Aug 2009 02:12:16 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: A.Politz Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 04 04:12:09 2009 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.50) id 1MY9VZ-0004Hy-78 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Aug 2009 04:12:09 +0200 Original-Received: from localhost ([127.0.0.1]:33863 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MY9VY-0002gi-Jj for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Aug 2009 22:12:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MY7QO-0006k8-Ho for help-gnu-emacs@gnu.org; Mon, 03 Aug 2009 19:58:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MY7QJ-0006b2-CY for help-gnu-emacs@gnu.org; Mon, 03 Aug 2009 19:58:39 -0400 Original-Received: from [199.232.76.173] (port=34406 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MY7QI-0006aT-Tk for help-gnu-emacs@gnu.org; Mon, 03 Aug 2009 19:58:35 -0400 Original-Received: from mail.digg.com ([64.191.203.36]:56176) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MY7QI-0004UR-6t for help-gnu-emacs@gnu.org; Mon, 03 Aug 2009 19:58:34 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.digg.com (Postfix) with ESMTP id 356D7A85095; Mon, 3 Aug 2009 16:58:29 -0700 (PDT) X-Virus-Scanned: amavisd-new at d242.digg.internal Original-Received: from mail.digg.com ([127.0.0.1]) by localhost (mail.digg.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mXX+v9NmUsEN; Mon, 3 Aug 2009 16:58:28 -0700 (PDT) Original-Received: from [10.2.16.50] (diggstage01.digg.com [64.191.203.34]) by mail.digg.com (Postfix) with ESMTP id DF335A85094; Mon, 3 Aug 2009 16:58:28 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.935.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:66719 Archived-At: On Aug 2, 2009, at 3:46 PM, A.Politz wrote: > > Apart from syntax-class, 2 chars form a word boundary, if they do > not share a common character category. You need to do something > like this: > > (let ((latin ?l) > (other > (aref (category-set-mnemonics > (char-category-set ?=92)) 0))) > (add-to-list 'word-combining-categories > (cons latin other)) > (add-to-list 'word-combining-categories > (cons other latin))) > Perfect, this is what I needed. I mentioned something like this in a bug report before, but it got =20 wontfixed. Basically, a bunch of symbols which are used in latin =20 scripts (like directional quotes) are categorized (incorrectly, I =20 believe) as CJK. I'll report it again and see if I can get it fixed. - Ian=