GNU bug report logs - #19649
24.4; OPascal Mode Incorrect Backslash String Parsing

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Erik Knowles <eknowles@HIDDEN>; dated Wed, 21 Jan 2015 21:33:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at>

Received: (at submit) by; 21 Jan 2015 21:32:35 +0000
From debbugs-submit-bounces <at> Wed Jan 21 16:32:35 2015
Received: from localhost ([]:52139
	by with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at>>)
	id 1YE2t8-00044y-AK
	for submit <at>; Wed, 21 Jan 2015 16:32:35 -0500
Received: from ([]:53611)
 by with esmtp (Exim 4.80)
 (envelope-from <eknowles@HIDDEN>) id 1YE2t5-00044h-Kd
 for submit <at>; Wed, 21 Jan 2015 16:32:32 -0500
Received: from Debian-exim by with spam-scanned (Exim 4.71)
 (envelope-from <eknowles@HIDDEN>) id 1YE2sy-0006j2-SA
 for submit <at>; Wed, 21 Jan 2015 16:32:26 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,MIME_QP_LONG_LINE
 autolearn=disabled version=3.3.2
Received: from ([2001:4830:134:3::11]:60257)
 by with esmtp (Exim 4.71)
 (envelope-from <eknowles@HIDDEN>) id 1YE2sy-0006ix-PM
 for submit <at>; Wed, 21 Jan 2015 16:32:24 -0500
Received: from ([2001:4830:134:3::10]:55333)
 by with esmtp (Exim 4.71)
 (envelope-from <eknowles@HIDDEN>) id 1YE2sx-0007rw-Am
 for bug-gnu-emacs@HIDDEN; Wed, 21 Jan 2015 16:32:24 -0500
Received: from Debian-exim by with spam-scanned (Exim 4.71)
 (envelope-from <eknowles@HIDDEN>) id 1YE2ss-0006ik-64
 for bug-gnu-emacs@HIDDEN; Wed, 21 Jan 2015 16:32:23 -0500
Received: from ([]:59385
 by with esmtp (Exim 4.71)
 (envelope-from <eknowles@HIDDEN>) id 1YE2sr-0006ib-VD
 for bug-gnu-emacs@HIDDEN; Wed, 21 Jan 2015 16:32:18 -0500
Received: from A6 ([::ffff:])
 (AUTH: PLAIN eknowles@HIDDEN)
 by with ESMTPA; Wed, 21 Jan 2015 14:32:15 -0700
 id 0000000000010007.0000000054C01ADF.00000135
From: Erik Knowles <eknowles@HIDDEN>
To: bug-gnu-emacs@HIDDEN
X-Mailer: Barca 2.8 (4400) - Licensed Version
Date: Wed, 21 Jan 2015 14:31:55 -0700
Message-ID: <2015121143155.666675@A6>
Subject: 24.4; OPascal Mode Incorrect Backslash String Parsing
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at>
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <>
List-Unsubscribe: <>, 
 <mailto:debbugs-submit-request <at>>
List-Archive: <>
List-Post: <mailto:debbugs-submit <at>>
List-Help: <mailto:debbugs-submit-request <at>>
List-Subscribe: <>, 
 <mailto:debbugs-submit-request <at>>
Errors-To: debbugs-submit-bounces <at>
Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
X-Spam-Score: -5.0 (-----)

OPascal mode incorrectly parses strings where the last string character ends=
 in a 
backslash; e.g.

a:=3D'This is a string\' ;

(Parsing fails to note the end of the string and the following chunk of=
 buffer is all
assigned string constant face.)

The backslash is treated as an escape character, which it is not in Object=
 Pascal. My
work around is to add the following to an opascal-mode-hook function:

  (modify-syntax-entry ?\\ ".")

The preferred fix would of course to be to make a similar change to the
opascal-mode-syntax-table initialization in opascal.el.


In GNU Emacs 24.4.1 (i686-pc-cygwin)
 of 2014-11-14 on desktop-new
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/usr/sbin
 --libexecdir=3D/usr/libexec --datadir=3D/usr/share --localstatedir=3D/var=
 --libdir=3D/usr/lib --datarootdir=3D/usr/share --docdir=3D/usr/share/doc/emacs
 --htmldir=3D/usr/share/doc/emacs/html -C --with-w32 'CFLAGS=3D-ggdb -O2 -pipe

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Apropos

Minor modes in effect:
  helm-match-plugin-mode: t
  helm-occur-match-plugin-mode: t
  semantic-minor-modes-format: ((:eval (if (or semantic-highlight-edits-mode=
 semantic-show-unmatched-syntax-mode)  S)))
  tempbuf-mode: t
  show-paren-mode: t
  global-highlight-changes-mode: t
  highlight-changes-visible-mode: t
  recentf-mode: t
  multi-web-global-mode: t
  xterm-mouse-mode: t
  global-auto-complete-mode: t
  shell-dirtrack-mode: t
  auto-image-file-mode: t
  global-semanticdb-minor-mode: t
  global-semantic-idle-scheduler-mode: t
  semantic-mode: t
  ido-everywhere: t
  which-function-mode: t
  global-subword-mode: t
  subword-mode: t
  delete-selection-mode: t
  cua-mode: t
  desktop-save-mode: t
  auto-compile-on-load-mode: t
  auto-compile-on-save-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: (only . t)

Load-path shadows:
/d/cygwin/home/Erik/.emacs.d/indent hides /usr/share/emacs/24.4/lisp/indent
/d/cygwin/home/Erik/.emacs.d/elpa/python-20120402/python hides=

(shadow mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies=
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045=
mail-utils apropos reporter helm-misc helm-command helm-elisp helm-eval=
helm-files ffap helm-buffers helm-elscreen helm-tags helm-bookmark=
 helm-adaptive helm-info
helm-net browse-url xml url url-proxy url-privacy url-expand url-methods=
url-cookie url-domsuf url-util url-parse url-vars mailcap bookmark=
 helm-locate helm-help
helm-org org org-macro org-footnote org-pcomplete org-list org-faces=
 org-entities noutline
outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp=
ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs cal-menu=
cal-loaddefs helm-match-plugin helm-grep helm-regexp helm-plugin=
 helm-external helm-utils
helm helm-source whitespace add-log find-func pp misearch multi-isearch=
 help-mode debug
semantic/tag-write less-css-mode css-mode smie derived semantic/html=
semantic/wisent/javascript-jv semantic/wisent/js-wy semantic/java=
 semantic/doc js json
thingatpt cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align=
 cc-engine cc-vars
cc-defs coffee-mode semantic/imenu semantic/sb semantic/sort=
semantic/db-file data-debug cedet-files semantic/wisent/python=
semantic/db-find semantic/db-ref semantic/decorate/mode semantic/decorate=
semantic/dep semantic/wisent/python-wy semantic/wisent=
 semantic/wisent/wisent nxml-uchnm
rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse=
rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap=
nxml-glyph nxml-enc xmltok server cl-macs ibuf-ext ibuffer warnings flymake=
ispell rainbow-delimiters thesaurus fill-column-indicator dos windmove paren=
hilit-chg auto-complete-config image-dired xterm-title xterm-frobs key-chord=
generic-x recentf-buffer recentf tree-widget wid-edit multi-web-mode tempbuf=
dirtrack init-terminal-fix cl tabbar xt-mouse auto-complete popup tramp=
auth-source gnus-util time-date mm-util mail-prsvr password-cache=
 tramp-loaddefs trampver
shell format-spec saveplace backup-dir backup-each-save bash-completion=
 thumbs image-file
log4j-mode autorevert filenotify skeleton grep compile pascal-mode+ opascal=
speedbar sb-image dframe python rx semantic/db-mode semantic/db gv=
semantic/idle semantic/format ezimage semantic/tag-ls semantic/find=
semantic/util-modes semantic/util semantic semantic/tag semantic/lex=
 semantic/fw eieio
eieio-core mode-local cedet ido which-func superword subword org-install=
imenu edmacro kmacro delsel cua-base sunrise-commander easy-mmode term ehelp=
 sort hl-line
find-dired pcomplete comint ansi-color ring esh-var esh-io esh-cmd esh-opt=
esh-proc esh-arg eldoc esh-groups eshell esh-module esh-util esh-mode=
 enriched dired-x
dired-aux dired desktop frameset jka-compr auto-compile byte-opt packed=
 cl-loaddefs cl-lib
bytecomp byte-compile cconv ac-octave-autoloads epc-autoloads=
concurrent-autoloads fill-column-indicator-autoloads=
 flymake-cursor-autoloads advice
help-fns flymake-python-pyflakes-autoloads grep-a-lot-autoloads=
google-autoloads log4j-mode-autoloads info easymenu=
pager-autoloads python-autoloads python-environment-autoloads=
tidy-autoloads package epg-config tooltip electric uniquify ediff-hook=
lisp-float-type mwheel w32-common-fns disp-table w32-win w32-vars tool-bar=
 dnd fontset
image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode=
 register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax=
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=
chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer=
 nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5 base64=
 format env
code-pages mule custom widget hashtable-print-readable backquote=
dbusbind gfilenotify w32 multi-tty emacs)

Memory information:
((conses 8 931524 114890)
 (symbols 24 50772 0)
 (miscs 20 5332 2184)
 (strings 16 135878 19291)
 (string-bytes 1 3818602)
 (vectors 8 69944)
 (vector-slots 4 1287297 29642)
 (floats 8 1526 833)
 (intervals 28 62996 32)
 (buffers 512 96))

Acknowledgement sent to Erik Knowles <eknowles@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#19649; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.