From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.bugs Subject: bug#24405: 24.5; Possibly ``forward-word`` doesn't respect ``word-combining-categories`` for word boundaries on changing between latin/phonetic scripts. Date: Sat, 10 Sep 2016 11:33:45 +0300 Message-ID: <87mvjgupau.fsf@gavenkoa.example.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1473496526 6322 195.159.176.226 (10 Sep 2016 08:35:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Sep 2016 08:35:26 +0000 (UTC) To: 24405@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 10 10:35:20 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bidks-0000g7-Jf for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Sep 2016 10:35:18 +0200 Original-Received: from localhost ([::1]:33638 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bidkq-0004Bi-L6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Sep 2016 04:35:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bidkg-00048L-DX for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2016 04:35:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bidkc-0005NJ-8H for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2016 04:35:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bidkc-0005NE-56 for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2016 04:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bidkb-0002lB-VC for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2016 04:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Oleksandr Gavenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Sep 2016 08:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24405 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147349645110541 (code B ref -1); Sat, 10 Sep 2016 08:35:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Sep 2016 08:34:11 +0000 Original-Received: from localhost ([127.0.0.1]:55118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bidjj-0002jt-SS for submit@debbugs.gnu.org; Sat, 10 Sep 2016 04:34:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bidjh-0002jO-Df for submit@debbugs.gnu.org; Sat, 10 Sep 2016 04:34:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bidjb-0005E2-6F for submit@debbugs.gnu.org; Sat, 10 Sep 2016 04:34:00 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:36020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bidjb-0005Dt-3B for submit@debbugs.gnu.org; Sat, 10 Sep 2016 04:33:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bidjY-0003xF-Vj for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2016 04:33:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bidjT-0005CT-Pu for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2016 04:33:55 -0400 Original-Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]:35988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bidjT-0005CP-Ig for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2016 04:33:51 -0400 Original-Received: by mail-lf0-x236.google.com with SMTP id g62so58297470lfe.3 for ; Sat, 10 Sep 2016 01:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=kfiiHCFb2s2jGKfkofEKs6Iv1g1K6v+loeE8dtLdwgI=; b=yTZ33QH7C9knKnFIoQBoMAKhiQ+dEUAIL2XrMes8TiuCE65kwV7sfldrU7w1eGG8IM ZZc541y7eU4F8xT0OV+3G035qN0uaY1NWEAmPALyDyWUfLinowe5lvKOohV+pT4KdzCN 8E18Wmnnvc4RL4SZmtKaR5iFTcG2nuS9k0eVqMLNzYGgAWleOPhH83M8q9fRp4YumB1P zpQmNQVF+bIQYzOPx2toM83xm/K4KFe5rPKm8dQkCIzDgHxv/rzCHo+B7sI8HD+eA+j4 5mBEbHtvf73ce3OrywUnPIBc18nHOdFvb0nOcwrlED7vA2mupqpT1x/5AxHUX6k0Kx4A bw/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=kfiiHCFb2s2jGKfkofEKs6Iv1g1K6v+loeE8dtLdwgI=; b=RVxuK5Yz5eov1OXDxtxmoEl0WIbX9lySdUrb2WYei5BHyGtvSvaeo3mURhTPrCuu9Q LjSkcoQ/gHgdQdV4tHg0vRN5KA9qji191MyAJynTFIro1Q42XLNoOKa9xRyqfSW/c5K7 ANThy8CqqHGDN47urd4o2ZBXc0k5HUZdUDCyjlE/SUHkFoMklXQ3q2/qXC4tJP3JeUWw p1EICoShgByGi2msFSB7VDk2Ny8CYn6sw5FABUXJbL+LkdrNo3WAw/z6e8hdA5VjGMVy uh28bjD1yed4Vd1Suo+x9benJzs1+gE2KX/An8Qxh24/K41TB9xnrvVrdwJGwrmEAtXn khNg== X-Gm-Message-State: AE9vXwMpT/qy5EFKZpBmjV/eGxN9BjhyViuCh0Aw7PNrvLqSGOLyY5CQS6deauuhwm4zwQ== X-Received: by 10.46.32.227 with SMTP id g96mr415569lji.30.1473496429693; Sat, 10 Sep 2016 01:33:49 -0700 (PDT) Original-Received: from desktop ([46.185.21.165]) by smtp.gmail.com with ESMTPSA id b71sm1301099lfb.42.2016.09.10.01.33.48 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Sep 2016 01:33:48 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123140 Archived-At: Evaluate following form by C-x C-e: (let ((word-combining-categories '((?l . ?y) (?y . ?l) (?l . ?l))) (word-separating-categories nil)) (forward-word)) Hello=D0=9F=D1=80=D0=B8=D0=B2LL=D0=B6=C9=AA=C9=99=CA=8Ahel=C9=99=CA=8Aai= =C9=AAa My pointer stopped between =CA=8Ah. I have: (aref char-script-table ?=CA=8A) phonetic (aref char-script-table ?h) latin (aref char-script-table ?=D0=B6) cyrillic (category-set-mnemonics (char-category-set ?=CA=8A)) ".Ljl" (category-set-mnemonics (char-category-set ?h)) ".Lalr" (category-docstring ?y) "Cyrillic" (category-docstring ?l) "Latin" I expect that point moved to last character before new line. Seems that: (?l . ?y) (?y . ?l) has effect because pointer moved across Cyrillic/Latin and Cyrillic/Phonetic scripts but refused to move through Latin/Phonetic scripts. If it is intended behavior how will I make Emacs to move across Latin/Phone= tic scripts? See also: http://emacs.stackexchange.com/questions/21131/does-word-syntax-take-scri= pt-into-account In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.6) of 2016-01-22 on binet, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11803000 System Description: Debian GNU/Linux testing (stretch) --=20 http://defun.work/