From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 9CB8FBC57 for ; Wed, 26 May 2010 08:27:09 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AloEAItc/EuK54gDgWdsb2JhbACDFpsEFQEBFiIirnOQboElgwRqBINh X-IronPort-AV: E=Sophos;i="4.53,302,1272837600"; d="scan'208";a="60035503" Received: from rouge.crans.org ([138.231.136.3]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 26 May 2010 08:27:08 +0200 Received: from localhost (localhost.crans.org [127.0.0.1]) by rouge.crans.org (Postfix) with ESMTP id 52FBD8285; Wed, 26 May 2010 08:27:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at crans.org Received: from rouge.crans.org ([10.231.136.3]) by localhost (rouge.crans.org [10.231.136.3]) (amavisd-new, port 10024) with LMTP id fgBHr25hv0QV; Wed, 26 May 2010 08:27:08 +0200 (CEST) Received: from [192.168.39.1] (fbx.up7.fr [88.185.141.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by rouge.crans.org (Postfix) with ESMTPSA id 160DF8075; Wed, 26 May 2010 08:27:07 +0200 (CEST) Message-ID: <4BFCBF3B.1050205@glondu.net> Date: Wed, 26 May 2010 08:27:07 +0200 From: =?UTF-8?B?U3TDqXBoYW5lIEdsb25kdQ==?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: Sam Steingold Cc: caml-list Subject: Re: [Caml-list] new emacs tuareg mode release References: <4BFAAB04.40906@gnu.org> <1274726488.2066.30.camel@io> <1274733364.2066.35.camel@io> <4BFB2148.5060603@colba.net> In-Reply-To: X-Enigmail-Version: 0.95.7 OpenPGP: id=49881AD3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; emacs:01 tuareg:01 emacs:01 buffer:01 buffer:01 backtrace:01 debugger:01 byte-code:01 semantics:01 cheers:01 phane:98 steph:98 phane:98 caml-list:01 behaviour:01 Sam Steingold a =C3=A9crit : >> I have the same problem with 22.3.1 >> >> playing around, this construction seems to be causing some invalid mo= difier >> errors: >> (skip-syntax-backward "\s-") >> >> in tuareg-find-colon-typespec and other places >=20 > what kind of error? > I.e., start emacs like this: > $ emacs -q --no-site-file > and type in the *scratch* buffer and tell me what you type and cut and > paste the error message from the *Messages* buffer. On emacs 22.3.1, (skip-syntax-backward "\s-") gives the backtrace: Debugger entered--Lisp error: (error "Invalid modifier in string") read(#) preceding-sexp() eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp) recursive-edit() byte-code("\306^P @\307=3D\203!^@\310\311\312\"\210\313\311!\211^ZA@)\242\314=3D\203!^@\310= \315\312\"\210\316^K!\210\317 \210\320 !\210\f\203c^@\321ed\"^MV\203W^@eb\210\322^$ debug(error (error "Invalid modifier in string")) read(#) preceding-sexp() eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp) (and nothing in *Messages*) By the way, I wasn't able to find documentation for this construct. The "\s" is responsible, but I have no idea what is its semantics. I have not been able to observe a behaviour different than with just (skip-syntax-backward "-"). Cheers, --=20 St=C3=A9phane