X-Loop: help-debbugs@HIDDEN Subject: bug#46794: 28.0.50; octave-mode: parse error in debug mode Resent-From: Juang Dse <juangdse@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 26 Feb 2021 13:27:02 +0000 Resent-Message-ID: <handler.46794.B.161434599618409 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 46794 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 46794 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.161434599618409 (code B ref -1); Fri, 26 Feb 2021 13:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Feb 2021 13:26:36 +0000 Received: from localhost ([127.0.0.1]:40447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lFd8e-0004mr-1T for submit <at> debbugs.gnu.org; Fri, 26 Feb 2021 08:26:36 -0500 Received: from lists.gnu.org ([209.51.188.17]:54954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <juangdse@HIDDEN>) id 1lFd8b-0004mj-TJ for submit <at> debbugs.gnu.org; Fri, 26 Feb 2021 08:26:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <juangdse@HIDDEN>) id 1lFd8b-0006Ec-NL for bug-gnu-emacs@HIDDEN; Fri, 26 Feb 2021 08:26:33 -0500 Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]:37380) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <juangdse@HIDDEN>) id 1lFd8Z-0001tt-Sa for bug-gnu-emacs@HIDDEN; Fri, 26 Feb 2021 08:26:33 -0500 Received: by mail-qk1-x72c.google.com with SMTP id n28so7458056qkk.4 for <bug-gnu-emacs@HIDDEN>; Fri, 26 Feb 2021 05:26:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=WUnadWvRZVcldOnWodmxoLBIDl6qeRHmXrYV0s4QAAo=; b=NRD7om1JqyuDjXyOru92MQZPxt33nQP2ZAT3TifusVzNdqs+L1XQqlzJi7fDPS+WJI aEAsdHuTNfrLm8bgb/0TiKyhGJMgW3U+2hpfyW2pB005m8okFMXQItGVH6/Y0NOF+Klb vTzQmVXLWFX2ZF4tsq/rrKLskhCWAJ+bVVAv3HHbTIoSinDCCNB8lZe/UiibtF4WciKK KKJ/kZ3I3hK/XYdpZpQv/ec3p50985hr/lbIIH9cckEM7WC3IYbKODKkvoAVCHF3vqjS RY9pqktUUstE1JbP/iMQ2wCTem/9dbU4eW8eWwo8gslx714zJsrnQ4B/ocfZcDS1yszT tU4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=WUnadWvRZVcldOnWodmxoLBIDl6qeRHmXrYV0s4QAAo=; b=RnD067QC1izNDw29vupZnVSYiIKyciLuJGiEVMEokjArKNFIFv8ToVDeBCsN4A65lS rsT6zJEVAB+x6mb/siGGK+lVr194opwL6+XOvT0+afNY9+wRhwJik4blnTXWgy5GIKTb SuPabh/0gWc7UbwyhDkqgiIUmHsRrvYURwjAJMo783GTxfPanhlU1XpvQ44vYR5+1c1v 94J41x+GWCeeTmCHc+cjT3tf0L9e+Z4Vr98AlV/9aUnRHHMqzno+AUjzAPBj9hi8rw7O auGQPmr8TSHuI2OEwnOXPZJqrHRfZ2/mKt50ja49qnC1zhC5z1jS2oVmsHHVGVSuIEMH lG6A== X-Gm-Message-State: AOAM532RkDz3KUJve2eDoaVNzE5hDK/+bl8FOH61QC+S2rfA1WkNTopT 4Jz+SSzT5+eDe9ftkgR9GSTVpd/5L5e/M048ZpjuQUVLAUX7kw== X-Google-Smtp-Source: ABdhPJzeombHAzKlwk+ezBDMfgXDy8HVBfPFwRTyPWDf9fN/YpafjxgbcKWWexWMhV/sW4rgSlSD6dbSpJyROAcAEyg= X-Received: by 2002:ae9:e40b:: with SMTP id q11mr2633175qkc.318.1614345990417; Fri, 26 Feb 2021 05:26:30 -0800 (PST) MIME-Version: 1.0 From: Juang Dse <juangdse@HIDDEN> Date: Fri, 26 Feb 2021 14:26:47 +0100 Message-ID: <CAGEcx2SN6CCLQScJ-xyR0yGd5k-v9eckynMSWHSsAKHPSVpW0A@HIDDEN> Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::72c; envelope-from=juangdse@HIDDEN; helo=mail-qk1-x72c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) Suppose the file ------------------- # hoo.m function hoo () for j = 1 : 10 y(j) = j ; endfor endfunction ------------------- is in the search path (e.g. same directory). Then execute dbstop hoo hoo() ; from within emacs (octave-send-line twice), and in the file hoo.m mark the region of the for-loop, followed by octave-send-region. The following error is thrown: debug> debug> debug> for j = 1 : 10 y(j) = j ; endfor > > debug> error: parse error: syntax error >>> endfor ^ ------------------------------------------------------------------------------ In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.17.4) Repository revision: 90ac40570280f4f423b55a2d9eea5a44317a66e3 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 System Description: Manjaro Linux Configured using: 'configure --prefix=/opt/emacs --without-docs --with-x-toolkit=no' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY OLDXMENU PDUMPER PNG RSVG SOUND THREADS TIFF X11 XDBE XIM XPM ZLIB Major mode: Octave Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-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 Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils compile text-property-search cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cl-loaddefs cl-lib octave smie easymenu comint ansi-color ring iso-transl 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 tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer 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 cl-preloaded nadvice button loaddefs faces cus-face macroexp files window 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 cairo x multi-tty make-network-process emacs)
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Juang Dse <juangdse@HIDDEN> Subject: bug#46794: Acknowledgement (28.0.50; octave-mode: parse error in debug mode) Message-ID: <handler.46794.B.161434599618409.ack <at> debbugs.gnu.org> References: <CAGEcx2SN6CCLQScJ-xyR0yGd5k-v9eckynMSWHSsAKHPSVpW0A@HIDDEN> X-Gnu-PR-Message: ack 46794 X-Gnu-PR-Package: emacs Reply-To: 46794 <at> debbugs.gnu.org Date: Fri, 26 Feb 2021 13:27:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 46794 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 46794: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D46794 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#46794: 28.0.50; octave-mode: parse error in debug mode Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 19 Jun 2022 14:03:01 +0000 Resent-Message-ID: <handler.46794.B46794.165564733310655 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 46794 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juang Dse <juangdse@HIDDEN> Cc: 46794 <at> debbugs.gnu.org Received: via spool by 46794-submit <at> debbugs.gnu.org id=B46794.165564733310655 (code B ref 46794); Sun, 19 Jun 2022 14:03:01 +0000 Received: (at 46794) by debbugs.gnu.org; 19 Jun 2022 14:02:13 +0000 Received: from localhost ([127.0.0.1]:52738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1o2vVF-0002lT-37 for submit <at> debbugs.gnu.org; Sun, 19 Jun 2022 10:02:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:51196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1o2vV8-0002c3-En for 46794 <at> debbugs.gnu.org; Sun, 19 Jun 2022 10:02:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6a8OIvZbLpSainQ1cMSGXm6H+fqhI20DVgSr+2CCZmg=; b=DbQi2dxDIgCwmgBXryKj0bBhNG khL+Q+2doXD5N0TqXiYql2HolZIM+2aK/d7P8A0CahzewP6aMMLq52j39QUuJ1Rdi7Sa4K4wSeleZ bZbwrDKWIDku0jXUO38+88sEdmNU0+gF4aa7y+7Wr52CgJzFigf3sXL7TEHbJ82gKYFQ=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1o2vV0-0006cA-0o; Sun, 19 Jun 2022 16:02:00 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> References: <CAGEcx2SN6CCLQScJ-xyR0yGd5k-v9eckynMSWHSsAKHPSVpW0A@HIDDEN> Date: Sun, 19 Jun 2022 16:01:57 +0200 In-Reply-To: <CAGEcx2SN6CCLQScJ-xyR0yGd5k-v9eckynMSWHSsAKHPSVpW0A@HIDDEN> (Juang Dse's message of "Fri, 26 Feb 2021 14:26:47 +0100") Message-ID: <87a6a8vjje.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Juang Dse <juangdse@HIDDEN> writes: > Suppose the file > > # hoo.m > function hoo () > for j = 1 : 10 > y(j) = j ; > endfor > endfunction > > is in the search path (e.g. same directory). Then exec [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Juang Dse <juangdse@HIDDEN> writes: > Suppose the file > ------------------- > # hoo.m > function hoo () > for j = 1 : 10 > y(j) = j ; > endfor > endfunction > ------------------- > is in the search path (e.g. same directory). Then execute > dbstop hoo > hoo() ; > > from within emacs (octave-send-line twice), and in the file hoo.m mark > the region of the for-loop, followed by octave-send-region. The > following error is thrown: > > debug> debug> debug> for j = 1 : 10 > y(j) = j ; > endfor > >> > debug> error: parse error: > > syntax error > >>>> endfor > ^ (I'm going through old bug reports that unfortunately weren't resolved at the time.) I'm not very familiar with Octave mode, but if I understand correctly, the complaint here is that if you've entered debugging mode in the inferior Octave buffer, then you can't use octave-send-region successfully until you've exited debugging mode again? I'm not sure whether that's as it should be or not -- anybody else familiar with Octave? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.