From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 01 04:40:57 2017 Received: (at submit) by debbugs.gnu.org; 1 Feb 2017 09:40:57 +0000 Received: from localhost ([127.0.0.1]:52835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYrPM-0002kZ-UI for submit@debbugs.gnu.org; Wed, 01 Feb 2017 04:40:57 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYrPL-0002kL-Ic for submit@debbugs.gnu.org; Wed, 01 Feb 2017 04:40:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYrPF-0005Fc-F8 for submit@debbugs.gnu.org; Wed, 01 Feb 2017 04:40:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM, RCVD_IN_SORBS_SPAM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39606) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cYrPF-0005FY-Bd for submit@debbugs.gnu.org; Wed, 01 Feb 2017 04:40:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYrPD-0003kG-TJ for bug-gnu-emacs@gnu.org; Wed, 01 Feb 2017 04:40:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYrP9-0005EL-TR for bug-gnu-emacs@gnu.org; Wed, 01 Feb 2017 04:40:47 -0500 Received: from mout.gmx.net ([212.227.17.20]:59055) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cYrP9-0005DU-CM for bug-gnu-emacs@gnu.org; Wed, 01 Feb 2017 04:40:43 -0500 Received: from rqn17961lx ([84.168.148.54]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MYtId-1cvBeI1ydP-00Vgj5; Wed, 01 Feb 2017 10:40:37 +0100 From: Reiner Steib To: bug-gnu-emacs@gnu.org Subject: 25.1; SMIE: error in smie-indent--rule X-Face: .*T0'iU(sujq_j9\J>-d4fg; N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Date: Wed, 01 Feb 2017 10:40:36 +0100 Message-ID: <877f5az1t7.fsf@marauder.physik.uni-ulm.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:8y27tQzl+I8Dee678czNmWXTJxokD5HCt6xRrd/DlzXcCyd75dR EWa3hW138ztkWWUhHMVr2juJRNyMWNvOduDcDAbA7TI2UyCDIX48SmG5FOK+CQAxPnOyEoZ 2PeEhXj4p4syPwWOc4VEHquTsDQiX6xG+ZnOQG4s05K2ejtPQH7k0BbFHVILGJIB3lKHhRb aompXQOZJdlVCQVJa8yUA== X-UI-Out-Filterresults: notjunk:1;V01:K0:RrRQV3TjEng=:UR/DGUJk9MBpRW/ekTlVza ohFyhNIryawEJtMDVajeq2gVDlbMeYgNtuGK6vqtAQ57YIbBeC4Jg8wSnGO34SNvhosxKHWvm G8XhyJw8lc1Dlx3a8H/kiCiaohM/QTbl8xsAoDytxOI1iCETpb/pDet35nn4lSY4+J3Y+6aPx vNP3CZgELY+wgpgcbDQarvTFEJPifHrQSf5VuNDbcLuoWSvc1PSt1n8A6uG2hOCdwVEELVqAV gHr5+qqBUeD8/Hqki3APWXKRgpYTjZYqp35hJuYIEyJzuBkCr92tejqpXcChrkYoHNlwt6dmA DNaUAu8KvoVYpzy+q47nMRUxctBpZokcde21RdaH0GeZQE63ICRlwU/ao69ou07wbrE0FbZQx TRUTfk6Tazuly1BbyB0ykWUiaIwvL64swxN5xMFZnmpBWtQ6o3TfcL1zsZqB16ZAor2HnoTsw 7Fi06rHgthSR1NL58lECxViVC9rOzmPxzvDMk5uQOSkLdiQ1/KlRkDxHZMxQ8uLC/Xe2voEhr GGFeNanGxwPiOX4vEMmmBVc4KHn862fDIJ/W8bmGWKicy+Lokste/lhXfjPLJCjvuOj4oUqrN d7Zhy0wwQJ0p/nJBzzORO0UJ+9O1m5bS8BlCBIW1NM7KYuE5gNS81Zl86MmcFf6YZnk+ndjvh glDvg4ouSFHdxpxUkiiBs+kv6RVdZLJsvLLW5Jpp9cYUYOyRNErevIYb2dwOCxYHnMGP4Brg6 KCaRd8ti6jjTxTNEfe82UFU81DOBTQEXCM8EYhvQFFq3MWEZdlRsAmZ5/vIF2tjLdXmX/bZsS OGufl56 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.6 (---) Recipe: (I don't see this bug in GNU Emacs 24.3.1., but in GNU Emacs 25.1.1.) $ emacs -Q --eval "(progn (add-hook 'sh-set-shell-hook 'sh-learn-buffer-indent) (setq debug-on-error t))" smie-bug.sh %%% test-file: smie-bug.sh #! /bin/bash awk -F\; '\ { if ($5 ~ "^[0-9]{1,3}" && ( ($16 ~ "l7" && $4 ~ "O" ) || \ ($16 ~ "b" && $4 ~ "c" ) || \ ($16 ~ "s|c|l" ) ) ) \ { print $5 "\r" } }' \ a.csv > r.csv # # awk -F\; -v q=\' '{ # printf("update foo bar"); # }' < s1.csv > s2.sql %%% %%% Backtrace Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p noindent) smie-indent--rule(:after "{" 242 nil 239) smie-indent-after-keyword() run-hook-with-args-until-success(smie-indent-after-keyword) smie-indent-calculate() smie-config--get-trace() smie-config--guess(1 295) smie-config-guess() sh-learn-buffer-indent() run-hooks(sh-set-shell-hook) sh-set-shell("/bin/bash" nil nil) sh-mode() set-auto-mode-0(sh-mode nil) set-auto-mode() normal-mode(t) after-find-file(nil t) find-file-noselect-1(# ".../tmp/smie-bug.sh" nil nil ".../tmp/smie-bug.sh" (0 (31798 . 32572))) find-file-noselect(".../tmp/smie-bug.sh") #[1285 "[bytecode]" [file-name-absolute-p message "Ignoring relative file name (%s) due to nil default-directory" expand-file-name command-line-normalize-file-name find-file-noselect 0 1 move-to-column] 10 "\n\n(fn DISPLAYABLE-BUFFERS DIR LINE COLUMN NAME)"]((nil) ".../tmp/" (0) (0) "smie-bug.sh") command-line-1(("--eval" "(progn (add-hook 'sh-set-shell-hook sh-learn-buffer-indent) (setq debug-on-error t))" "smie-bug.sh")) command-line() normal-top-level() %%% In GNU Emacs 25.1.1 (i686-w64-mingw32) of 2016-09-17 built on LAPHROAIG Windowing system distributor 'Microsoft Corp.', version 6.1.7601 Configured using: 'configure --host=i686-w64-mingw32 --without-dbus --without-compress-install CFLAGS=-static' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: C.ISO-8859-1 locale-coding-system: cp1252 Major mode: Debugger Minor modes in effect: tooltip-mode: t global-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 buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Setting up indent for shell type bash Indentation variables are now local. Indentation setup for shell type bash Analyzing the buffer... Entering debugger... Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils help-mode easymenu cl-loaddefs pcase cl-lib debug sh-script smie executable time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core 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 charscript case-table epa-hook jka-cmpr-hook help simple abbrev 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 w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 8 98151 5364) (symbols 32 20410 0) (miscs 32 83 223) (strings 16 19000 4247) (string-bytes 1 500915) (vectors 8 13312) (vector-slots 4 460032 5782) (floats 8 174 129) (intervals 28 322 53) (buffers 520 24)) Bye, Reiner. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 10:34:33 2019 Received: (at 25597) by debbugs.gnu.org; 26 Jul 2019 14:34:33 +0000 Received: from localhost ([127.0.0.1]:43116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr1In-0006p3-2M for submit@debbugs.gnu.org; Fri, 26 Jul 2019 10:34:33 -0400 Received: from quimby.gnus.org ([80.91.231.51]:36166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr1Il-0006oq-4l for 25597@debbugs.gnu.org; Fri, 26 Jul 2019 10:34:31 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hr1Ig-0008NO-LA; Fri, 26 Jul 2019 16:34:29 +0200 From: Lars Ingebrigtsen To: Reiner Steib Subject: Re: bug#25597: 25.1; SMIE: error in smie-indent--rule References: <877f5az1t7.fsf@marauder.physik.uni-ulm.de> Date: Fri, 26 Jul 2019 16:34:26 +0200 In-Reply-To: <877f5az1t7.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Wed, 01 Feb 2017 10:40:36 +0100") Message-ID: <87h878lv9p.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: Reiner Steib writes: > Recipe: > (I don't see this bug in GNU Emacs 24.3.1., but in GNU Emacs 25.1.1.) > > $ emacs -Q --eval "(progn > (add-hook 'sh-set-shell-hook 'sh-learn-buffer-indent) > (setq debug-on-error t))" smie [...] 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: 0.0 (/) X-Debbugs-Envelope-To: 25597 Cc: 25597@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Reiner Steib writes: > Recipe: > (I don't see this bug in GNU Emacs 24.3.1., but in GNU Emacs 25.1.1.) > > $ emacs -Q --eval "(progn > (add-hook 'sh-set-shell-hook 'sh-learn-buffer-indent) > (setq debug-on-error t))" smie-bug.sh > > %%% test-file: smie-bug.sh > #! /bin/bash > > awk -F\; '\ > { if ($5 ~ "^[0-9]{1,3}" && > ( ($16 ~ "l7" && $4 ~ "O" ) || \ > ($16 ~ "b" && $4 ~ "c" ) || \ > ($16 ~ "s|c|l" ) ) ) \ > { print $5 "\r" } }' \ > a.csv > r.csv > # > > # awk -F\; -v q=\' '{ > # printf("update foo bar"); > # }' < s1.csv > s2.sql > %%% I tried this recipe in Emacs 24.5, and I got the same backtrace as you: > %%% Backtrace > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p > noindent) > smie-indent--rule(:after "{" 242 nil 239) > smie-indent-after-keyword() > run-hook-with-args-until-success(smie-indent-after-keyword) But on the trunk, I just get a message saying "Nothing to change", so it looks like this has been fixed by now, and I'm closing this bug report. If you're still seeing this in Emacs 27, please reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 10:34:36 2019 Received: (at control) by debbugs.gnu.org; 26 Jul 2019 14:34:36 +0000 Received: from localhost ([127.0.0.1]:43119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr1Iq-0006pJ-At for submit@debbugs.gnu.org; Fri, 26 Jul 2019 10:34:36 -0400 Received: from quimby.gnus.org ([80.91.231.51]:36184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr1Io-0006pB-Qa for control@debbugs.gnu.org; Fri, 26 Jul 2019 10:34:35 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hr1Im-0008Nk-5h for control@debbugs.gnu.org; Fri, 26 Jul 2019 16:34:34 +0200 Date: Fri, 26 Jul 2019 16:34:31 +0200 Message-Id: <87ftmslv9k.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #25597 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: close 25597 quit 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: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 25597 quit From unknown Tue Aug 19 14:22:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 24 Aug 2019 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator