From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#7322: 23.1; tqs-escape-syntax-error Date: Wed, 03 Nov 2010 12:47:12 +0100 Message-ID: <4CD14BC0.80709@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1288788623 6920 80.91.229.12 (3 Nov 2010 12:50:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 3 Nov 2010 12:50:23 +0000 (UTC) To: 7322@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 03 13:50:19 2010 Return-path: Envelope-to: geb-bug-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 1PDcnC-0005UW-HS for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Nov 2010 13:50:19 +0100 Original-Received: from localhost ([127.0.0.1]:38408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDcnB-0002Vs-QX for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Nov 2010 08:50:17 -0400 Original-Received: from [140.186.70.92] (port=40374 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDccf-0004e1-35 for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2010 08:39:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDcDV-0002i6-HK for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2010 08:13:26 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDcDV-0002i2-Fl for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2010 08:13:25 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PDbl4-0000OQ-MC; Wed, 03 Nov 2010 07:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Nov 2010 11:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7322 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.12887846031500 (code B ref -1); Wed, 03 Nov 2010 11:44:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Nov 2010 11:43:23 +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 1PDbkR-0000O9-A9 for submit@debbugs.gnu.org; Wed, 03 Nov 2010 07:43:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PDbkO-0000O4-J8 for submit@debbugs.gnu.org; Wed, 03 Nov 2010 07:43:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDboe-000715-FM for submit@debbugs.gnu.org; Wed, 03 Nov 2010 07:47:45 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:33005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDbod-00070w-Gp for submit@debbugs.gnu.org; Wed, 03 Nov 2010 07:47:44 -0400 Original-Received: from [140.186.70.92] (port=59264 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDboa-0006ro-1a for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2010 07:47:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDboW-000706-9z for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2010 07:47:38 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:55912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDboV-0006zZ-Th for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2010 07:47:36 -0400 Original-Received: from noname.home (brln-4dbc46e8.pool.mediaWays.net [77.188.70.232]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MaG7g-1Oy8GT0Gvw-00KH82; Wed, 03 Nov 2010 12:47:33 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 X-Provags-ID: V02:K0:Di24o6IOBPeGYgS2l7AOL4bj7Z3PpD0ToKKuquC7iEl 2+rKGqAPn1WVfoMRwfcKnpDialIP9cVR1ConAuJJVPeor0qG/H d5PDJOPiqjRhPUB3TUGFlC1RkJAmIXKAV2H8HqvrOaAr+rjOcy ynaR5ZoA5zYb6XapZM+tS34PbJCn1UhhQ+y8Nn1f4XfVbeqVRL aC5xJc1MYVHatRnd3VZpBxMOVj/ucow4qNDKbOL5Ks= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 03 Nov 2010 07:44:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41380 Archived-At: Hi, editing python code, the following code concatenates strings with variables: """(beginning-of-form-base \"""" + string1 + """\" \"""" + string2 + """\" nil nil nil nil t))))""" while " + string1 +" is highlighted correctly, " + string2 + " has string face wrongly. Also `ppss' falsely indicates being inside a string. BTW everything is fine with an alternative coding using singlequotes: """(beginning-of-form-base \"""" + string1 + '\" \"' + string2 + """\" nil nil nil nil t))))""" The bug however exists. Thanks all Andreas -- https://code.launchpad.net/~a-roehler/python-mode/python-mode-components https://code.launchpad.net/s-x-emacs-werkstatt/ In GNU Emacs 23.1.1 (i586-suse-linux-gnu, GTK+ Version 2.20.1) of 2010-07-05 Windowing system distributor `The X.Org Foundation', version 11.0.10800000 configured using `configure '--with-pop' '--without-hesiod' '--with-kerberos' '--with-kerberos5' '--with-xim' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--with-x' '--with-sound' '--with-sync-input' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-rsvg' '--with-dbus' '--without-gpm' '--with-x-toolkit=gtk' '--x-includes=/usr/include' '--x-libraries=/usr/lib:/usr/share/X11' '--with-xft' '--with-libotf' '--with-m17n-flt' '--build=i586-suse-linux' 'build_alias=i586-suse-linux' 'CC=gcc-4.3' 'CFLAGS=-fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -D_GNU_SOURCE -std=gnu89 -pipe -Wno-pointer-sign -Wno-unused-variable -Wno-unused-label -Wno-unprototyped-calls -fno-optimize-sibling-calls -DSYSTEM_PURESIZE_EXTRA=55000 -DSITELOAD_PURESIZE_EXTRA=10000 ' 'LDFLAGS=-Wl,-O2 -Wl,--hash-size=65521'' 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: de_DE.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Python Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-j ; ; SPC C-x C-e C-x C-f p r o g a r p o y y t t h l i s t a C-h f p y t h o n m - m o d e C-x 1 M-x r e p o r t - e m a c s - b u Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark saved where search started Mark set