From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Pascal Quesseveur Newsgroups: gmane.emacs.bugs Subject: bug#36348: 26.2; Indentation problem with Delphi inline variables Date: Mon, 24 Jun 2019 09:38:40 +0200 Message-ID: <83k1db8mbj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="179689"; mail-complaints-to="usenet@blaine.gmane.org" To: 36348@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 24 09:39:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hfJZH-000kV5-9O for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Jun 2019 09:39:11 +0200 Original-Received: from localhost ([::1]:48578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfJZF-0003pY-SD for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Jun 2019 03:39:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56586) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfJZA-0003p3-4C for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 03:39:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfJZ8-0004qf-Kw for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 03:39:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41933) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hfJZ8-0004qV-Gd for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 03:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hfJZ8-0006rQ-A8 for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 03:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pascal Quesseveur Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jun 2019 07:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36348 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.156136193226352 (code B ref -1); Mon, 24 Jun 2019 07:39:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jun 2019 07:38:52 +0000 Original-Received: from localhost ([127.0.0.1]:55477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfJYx-0006qx-MX for submit@debbugs.gnu.org; Mon, 24 Jun 2019 03:38:52 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:42011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfJYv-0006qp-MH for submit@debbugs.gnu.org; Mon, 24 Jun 2019 03:38:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56515) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfJYu-0003oo-3W for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 03:38:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfJYs-0004ez-Ne for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 03:38:48 -0400 Original-Received: from smtp6-g21.free.fr ([212.27.42.6]:1686) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hfJYs-0004cA-EQ for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 03:38:46 -0400 Original-Received: from dagon (unknown [IPv6:2a01:e34:ef19:c0f0:b0a6:58d4:ec2b:f090]) (Authenticated sender: pascal.quesseveur) by smtp6-g21.free.fr (Postfix) with ESMTPSA id 8DD337802D7 for ; Mon, 24 Jun 2019 07:38:40 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] [fuzzy] 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: 209.51.188.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:161196 Archived-At: Indentation doesn't work properly when using inline variable introduced by Delphi 10.3 (using Emacs 26.2, opascal, opascal-indent-level is 3): for i := 0 to str.Length - 1 do Write (str.Chars[i]); for var i := 0 to str.Length - 1 do Write (str.Chars[i]); In GNU Emacs 26.2 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2019-04-12 built on lgw01-amd64-060 Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Ubuntu 18.04.2 LTS Configured using: 'configure --build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib --program-suffix=26 --with-modules --with-file-notification=inotify --with-mailutils --with-x=yes --with-x-toolkit=gtk3 --with-xwidgets --with-lcms2 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs26-CYbeHB/emacs26-26.2~1.gitfd1b34b=. -fstack-protector-strong -Wformat -Werror=format-security -no-pie' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -no-pie'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LIBSYSTEMD LCMS2 Important settings: value of $LANG: fr_FR.UTF-8 locale-coding-system: utf-8-unix Major mode: Summary Minor modes in effect: display-time-mode: t shell-dirtrack-mode: t icomplete-mode: t auto-image-file-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/local/emacs-site/lisp/bbdb/bbdb-vcard-export hides /home/local/emacs-site/lisp/utils/bbdb-vcard-export /usr/share/emacs/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/26.2/lisp/textmodes/ispell /usr/share/emacs/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/26.2/lisp/textmodes/flyspell Features: (shadow warnings emacsbug flow-fill url-http url-gw url-auth url-queue url-cache gnus-fun mm-archive sort smiley gnus-cite gnus-bcklg gnus-async qp gnus-ml disp-table gnus-topic nndraft nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nnml utf-7 nnfolder cl-extra help-mode gnus-cache network-stream nsm starttls gnus-demon nntp elec-pair highlight-current-line color-theme time tumblesocks tumblesocks-view tumblesocks-compose markdown-mode thingatpt noutline outline htmlize tumblesocks-user tumblesocks-api json map oauth sasl sasl-anonymous sasl-login sasl-plain hex-util hmac-sha1 shr svg xml dom browse-url html2help footnote muse-odf muse-xml muse-help muse-bbcode muse-blosxom muse-wiki muse-texinfo texnfo-upd texinfo muse-latex muse-html muse-docbook muse-xml-common cus-edit cus-start cus-load muse-publish muse-project muse-protocols muse-regexps muse muse-nested-tags muse-mode u-vm-color org-import-icalendar icalendar diary-lib diary-loaddefs bbdb-gnus gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader bbdb-snarf mail-extr bbdb-com smtpmail sendmail message rmc puny dired-explore dired-sort-menu wid-edit acid dired-arc file-op dired-x dired dired-loaddefs rfc822 mml mml-sec gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader bbdb-vcard-export bbdb-export bbdb-autoloads bbdb timezone tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete parse-time format-spec which idb gud comint ansi-color ring jsee javadoc-lookup ido seq jserial jswat qproj-java jdok tempo url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core eieio-loaddefs password-cache url-vars mailcap xml-parse doxymacs qproj-cpp qproj server dos-indent generic generic-x cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs w3m-load lunar solar cal-dst cal-tex cal-iso cal-menu calendar cal-loaddefs epa-file epa derived epg epg-config preview prv-emacs info reporter desktop frameset latex tex-buf tex font-latex tex-site ps-mule ipp cl-seq cl-macs cl gv easymenu printing ps-print ps-print-loaddefs ps-def lpr genconv icomplete+ easy-mmode icomplete edmacro kmacro cl-loaddefs cl-lib advice image-file paren time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded 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 threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 734770 64386) (symbols 48 112551 2) (miscs 40 1112 393) (strings 32 173012 10074) (string-bytes 1 6028761) (vectors 16 66422) (vector-slots 8 1165711 31400) (floats 8 1171 900) (intervals 56 928 423) (buffers 992 37)) -- Pascal Quesseveur