From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Simen =?UTF-8?Q?Heggest=C3=B8yl?= Newsgroups: gmane.emacs.bugs Subject: bug#8843: 23.3; Scheme-mode: Faulty syntax highlighting Date: Sun, 12 Jun 2011 14:16:34 +0200 Message-ID: <87aadn5jod.fsf@ifi.uio.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1307901286 30565 80.91.229.12 (12 Jun 2011 17:54:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Jun 2011 17:54:46 +0000 (UTC) To: 8843@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 12 19:54:42 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QVorx-00005n-QM for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Jun 2011 19:54:42 +0200 Original-Received: from localhost ([::1]:55981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVorw-0005Qh-MO for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Jun 2011 13:54:40 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVl92-0006tF-SU for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2011 09:56:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QVl91-0001xJ-AB for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2011 09:56:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVl91-0001x4-1G for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2011 09:56:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QVl90-0004OS-6x; Sun, 12 Jun 2011 09:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simen =?UTF-8?Q?Heggest=C3=B8yl?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Jun 2011 13:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8843 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.130788695316872 (code B ref -1); Sun, 12 Jun 2011 13:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Jun 2011 13:55:53 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QVl8p-0004O3-6m for submit@debbugs.gnu.org; Sun, 12 Jun 2011 09:55:53 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QVjXL-0002AI-Gm for submit@debbugs.gnu.org; Sun, 12 Jun 2011 08:13:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QVjXF-0006Cp-4R for submit@debbugs.gnu.org; Sun, 12 Jun 2011 08:12:58 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:43986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVjXE-0006Cl-Sm for submit@debbugs.gnu.org; Sun, 12 Jun 2011 08:12:56 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVjXD-0004P8-3L for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2011 08:12:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QVjXB-0006CW-Js for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2011 08:12:54 -0400 Original-Received: from mail-out1.uio.no ([129.240.10.57]:36884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVjXB-0006C0-0m for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2011 08:12:53 -0400 Original-Received: from mail-mx1.uio.no ([129.240.10.29]) by mail-out1.uio.no with esmtp (Exim 4.75) (envelope-from ) id 1QVjX8-0003s3-Hb for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2011 14:12:50 +0200 Original-Received: from tul-1x-dhcp123.studby.uio.no ([193.157.253.127] helo=archtop) by mail-mx1.uio.no with esmtp (Exim 4.76) (envelope-from ) id 1QVjX8-0005Z9-3A for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2011 14:12:50 +0200 X-UiO-Ratelimit-Test: rcpts/h 1 msgs/h 1 sum rcpts/h 2 sum msgs/h 2 total rcpts 717 max rcpts/h 255 ratelimit 0 X-UiO-Spam-info: not spam, SpamAssassin (score=-0.0, required=5.0, autolearn=disabled, FSL_HELO_NON_FQDN_1=0.001, HELO_NO_DOMAIN=0.001, T_RP_MATCHES_RCVD=-0.01, uiobl=NO, uiouri=NO) X-UiO-Scanned: AD297BEAFB1A4FFBD35C02F45DE2A666EA353092 X-UiO-SPAM-Test: remote_host: 193.157.253.127 spam_score: 0 maxlevel 80 minaction 2 bait 0 mail/h: 1 total 33 max/h 2 blacklist 0 greylist 0 ratelimit 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Sun, 12 Jun 2011 09:55:50 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 12 Jun 2011 09:56:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Sun, 12 Jun 2011 13:54:27 -0400 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:47099 Archived-At: How to trig the bug, starting from emacs -Q: 1. Type: M-x scheme-mode RET 2. Type: (define abc=C3=A6=C3=B8=C3=A5) The string is highlighted until the "=C3=A6=C3=B8=C3=A5"-part. =C3=86, =C3= =B8 and =C3=A5 are common letters in some Nordic alphabets. Also, the word movement commands (forward-word etc.) doesn't seem to treat =C3=A6, =C3=B8 and =C3=A5 as part= of the word. I think this is faulty, as =C3=A6/=C3=86, =C3=B8/=C3=98 and =C3=A5/= =C3=85 are all legit Scheme-symbols. Lisp-mode and emacs-lisp-mode seem to handle these characters as expected. This may be a problem for other foreign characters too, I don't know. Output from the 'locale' program: LANG=3Den_US.UTF-8 LC_CTYPE=3D"en_US.UTF-8" LC_NUMERIC=3D"en_US.UTF-8" LC_TIME=3D"en_US.UTF-8" LC_COLLATE=3D"en_US.UTF-8" LC_MONETARY=3D"en_US.UTF-8" LC_MESSAGES=3D"en_US.UTF-8" LC_PAPER=3D"en_US.UTF-8" LC_NAME=3D"en_US.UTF-8" LC_ADDRESS=3D"en_US.UTF-8" LC_TELEPHONE=3D"en_US.UTF-8" LC_MEASUREMENT=3D"en_US.UTF-8" LC_IDENTIFICATION=3D"en_US.UTF-8" LC_ALL=3D In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.4) of 2011-06-12 on archtop Windowing system distributor `The X.Org Foundation', version 11.0.11002000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Scheme Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x s c h e m e - m o d e ( d e f i n e SPC=20 a b c =C3=A6 =C3=B8 =C3=A5 ) M-x r e p o r t - Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util time-date mail-extr message sendmail regexp-opt format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug scheme tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)