From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lele Gaifax Newsgroups: gmane.emacs.bugs Subject: bug#29246: 26.0.90; Wrong type argument: integer-or-marker-p, nil in flymake--highlight-line Date: Fri, 10 Nov 2017 17:08:07 +0100 Message-ID: <87po8qi0bc.fsf@metapensiero.it> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1510330155 5246 195.159.176.226 (10 Nov 2017 16:09:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Nov 2017 16:09:15 +0000 (UTC) To: 29246@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 10 17:09:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDBrj-00017w-0y for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Nov 2017 17:09:11 +0100 Original-Received: from localhost ([::1]:42396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDBrq-0003EB-A0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Nov 2017 11:09:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDBrf-0003Dn-54 for bug-gnu-emacs@gnu.org; Fri, 10 Nov 2017 11:09:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDBra-0005Ik-3b for bug-gnu-emacs@gnu.org; Fri, 10 Nov 2017 11:09:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53893) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eDBrZ-0005IS-VH for bug-gnu-emacs@gnu.org; Fri, 10 Nov 2017 11:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eDBrZ-0005Yu-Q5 for bug-gnu-emacs@gnu.org; Fri, 10 Nov 2017 11:09:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lele Gaifax Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Nov 2017 16:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29246 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.151033011021338 (code B ref -1); Fri, 10 Nov 2017 16:09:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Nov 2017 16:08:30 +0000 Original-Received: from localhost ([127.0.0.1]:34341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDBr4-0005Y6-33 for submit@debbugs.gnu.org; Fri, 10 Nov 2017 11:08:30 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDBr1-0005Xp-26 for submit@debbugs.gnu.org; Fri, 10 Nov 2017 11:08:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDBqu-0004XT-Nd for submit@debbugs.gnu.org; Fri, 10 Nov 2017 11:08:21 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46407) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eDBqu-0004XP-Jv for submit@debbugs.gnu.org; Fri, 10 Nov 2017 11:08:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDBqs-0003A8-8i for bug-gnu-emacs@gnu.org; Fri, 10 Nov 2017 11:08:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDBqn-0004PG-4R for bug-gnu-emacs@gnu.org; Fri, 10 Nov 2017 11:08:18 -0500 Original-Received: from mail.arstecnica.it ([144.76.81.238]:53410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDBqm-0004N6-Qp for bug-gnu-emacs@gnu.org; Fri, 10 Nov 2017 11:08:13 -0500 Original-Received: from nautilus (assp.arstecnica.it [192.168.1.102]) by mail.arstecnica.it (Postfix) with ESMTPSA id 60DD183EF8D for ; Fri, 10 Nov 2017 16:08:08 +0000 (UTC) Original-Received: from nautilus ([31.44.165.109] helo=nautilus) by assp.arstecnica.it with SMTPS(AES256-GCM-SHA384) (2.3.3); 10 Nov 2017 16:08:07 +0000 X-Assp-Version: 2.3.3(14029) on assp.arstecnica.it X-Assp-ID: assp.arstecnica.it m1-30088-07786 X-Assp-Session: B3CABC2C (mail 1) X-Assp-Envelope-From: lele@metapensiero.it X-Assp-Intended-For: bug-gnu-emacs@gnu.org X-Assp-Client-TLS: yes X-Assp-Server-TLS: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: 208.118.235.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:139736 Archived-At: I recompiled my Emacs this morning, to get advantage of the fix to issue #29174: In GNU Emacs 26.0.90 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.22.25) of 2017-11-10 built on nautilus Repository revision: e6f1fd40916afb692bd25e845ee87e73549201f4 I got an error with the following backtrace, keeping the backspace key pres= sed to delete a dozen of characters on the last line of a Python buffer: Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) make-overlay(nil nil) (and t (make-overlay (progn (or (and (memq (type-of diagnostic) cl-struct= -flymake--diag-tags) t) (signal 'wrong-type-argument (list 'flymake--diag d= iagnostic))) (aref diagnostic 2)) (progn (or (and (memq (type-of diagnostic= ) cl-struct-flymake--diag-tags) t) (signal 'wrong-type-argument (list 'flym= ake--diag diagnostic))) (aref diagnostic 3)))) (let* ((ov (and t (make-overlay (progn (or (and (memq (type-of diagnostic= ) cl-struct-flymake--diag-tags) t) (signal 'wrong-type-argument (list 'flym= ake--diag diagnostic))) (aref diagnostic 2)) (progn (or (and (memq (type-of= diagnostic) cl-struct-flymake--diag-tags) t) (signal 'wrong-type-argument = (list 'flymake--diag diagnostic))) (aref diagnostic 3)))))) (if ov (progn (= let ((alist (assoc-default (progn (or (and (memq (type-of diagnostic) cl-st= ruct-flymake--diag-tags) t) (signal 'wrong-type-argument (list 'flymake--di= ag diagnostic))) (aref diagnostic 4)) flymake-diagnostic-types-alist))) (ov= erlay-put ov 'category (assoc-default 'flymake-category alist)) (let* ((--c= l-var-- alist) (v nil) (k nil)) (while (consp --cl-var--) (setq v (car --cl= -var--) k (car-safe (prog1 v (setq v (cdr v))))) (if (eq k 'category) (prog= n) (overlay-put ov k v)) (setq --cl-var-- (cdr --cl-var--))) nil)) (let* ((= --cl-default-maybe-- (function (lambda (prop value) (if (or (plist-member (= overlay-properties ov) prop) (let ((cat (overlay-get ov 'flymake-category))= ) (and cat (plist-member (symbol-plist cat) prop)))) nil (overlay-put ov pr= op value)))))) (progn (funcall --cl-default-maybe-- 'bitmap 'flymake-error-= bitmap) (funcall --cl-default-maybe-- 'face 'flymake-error) (funcall --cl-d= efault-maybe-- 'before-string (flymake--fringe-overlay-spec (overlay-get ov= 'bitmap))) (funcall --cl-default-maybe-- 'help-echo (function (lambda (win= dow _ov pos) (let ((save-selected-window--state (internal--before-with-sele= cted-window window))) (save-current-buffer (unwind-protect (progn (select-w= indow (car save-selected-window--state) 'norecord) (mapconcat (function fly= make--diag-text) (flymake-diagnostics pos) "\n")) (internal--after-with-sel= ected-window save-selected-window--state))))))) (funcall --cl-default-maybe= -- 'severity (warning-numeric-level :error)) (funcall --cl-default-maybe-- = 'priority (+ 100 (overlay-get ov 'severity))))) (overlay-put ov 'evaporate = t) (overlay-put ov 'flymake-diagnostic diagnostic)))) flymake--highlight-line(#s(flymake--diag :buffer # :beg ni= l :end nil :type :note :text "W292 no newline at end of file" :backend nil)) #f(compiled-function (diag) #)(#s(flymake--diag :buff= er # :beg nil :end nil :type :note :text "W292 no newline at= end of file" :backend nil)) mapc(#f(compiled-function (diag) #) (#s(flymake--diag= :buffer # :beg 2915 :end 2916 :type :error :text "F821 unde= fined name 'pdb'" :backend python-flymake) #s(flymake--diag :buffer # :beg nil :end nil :type :note :text "W292 no newline at end of fi= le" :backend nil))) flymake--handle-report(python-flymake backend-token989 (#s(flymake--diag = :buffer # :beg 2915 :end 2916 :type :error :text "F821 undef= ined name 'pdb'" :backend python-flymake) #s(flymake--diag :buffer # :beg nil :end nil :type :note :text "W292 no newline at end of fil= e" :backend nil))) apply(flymake--handle-report python-flymake backend-token989 (#s(flymake-= -diag :buffer # :beg 2915 :end 2916 :type :error :text "F821= undefined name 'pdb'" :backend python-flymake) #s(flymake--diag :buffer #<= buffer ddl.py> :beg nil :end nil :type :note :text "W292 no newline at end = of file" :backend nil))) #f(compiled-function (&rest args) #)((#s(flymake--dia= g :buffer # :beg 2915 :end 2916 :type :error :text "F821 und= efined name 'pdb'" :backend python-flymake) #s(flymake--diag :buffer # :beg nil :end nil :type :note :text "W292 no newline at end of f= ile" :backend nil))) python--flymake-parse-output(# # #= f(compiled-function (&rest args) #)) #f(compiled-function (proc event) #)(# "exited abnormally with code 1\n") Thanks&bye, so-sorry-to-bother-you-again-ly, lele. --=20 nickname: Lele Gaifax | Quando vivr=C3=B2 di quello che ho pensato ieri real: Emanuele Gaifas | comincer=C3=B2 ad aver paura di chi mi copia. lele@metapensiero.it | -- Fortunato Depero, 1929.