From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Gemini Lasswell Newsgroups: gmane.emacs.bugs Subject: bug#25068: 25.1; Edebug fails to instrument code which uses propertized strings Date: Tue, 29 Nov 2016 15:10:16 -0800 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1480461076 25275 195.159.176.226 (29 Nov 2016 23:11:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 Nov 2016 23:11:16 +0000 (UTC) To: 25068@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 30 00:11:09 2016 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 1cBrYK-0005c4-3F for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Nov 2016 00:11:08 +0100 Original-Received: from localhost ([::1]:39675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBrYN-0008PA-Uc for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Nov 2016 18:11:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBrYH-0008P3-N2 for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2016 18:11:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBrYE-00060u-HE for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2016 18:11:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59447) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cBrYE-00060i-DQ for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2016 18:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cBrYE-0004RF-8V for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2016 18:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gemini Lasswell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Nov 2016 23:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25068 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.148046104017033 (code B ref -1); Tue, 29 Nov 2016 23:11:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Nov 2016 23:10:40 +0000 Original-Received: from localhost ([127.0.0.1]:46613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBrXs-0004Qf-Jt for submit@debbugs.gnu.org; Tue, 29 Nov 2016 18:10:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBrXr-0004QS-4H for submit@debbugs.gnu.org; Tue, 29 Nov 2016 18:10:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBrXk-0005vx-Ni for submit@debbugs.gnu.org; Tue, 29 Nov 2016 18:10:33 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:60150) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cBrXk-0005vr-Jm for submit@debbugs.gnu.org; Tue, 29 Nov 2016 18:10:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBrXj-0008Nj-Ar for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2016 18:10:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBrXg-0005ux-03 for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2016 18:10:31 -0500 Original-Received: from aibo.runbox.com ([91.220.196.211]:39724) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cBrXf-0005uX-Ob for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2016 18:10:27 -0500 Original-Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cBrXd-0004rh-AS for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2016 00:10:25 +0100 Original-Received: from c-24-22-244-161.hsd1.wa.comcast.net ([24.22.244.161] helo=rainbow.local) by mailfront12.runbox.com with esmtpsa (uid:179284 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1cBrXX-0001Sv-D9 for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2016 00:10:20 +0100 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:126275 Archived-At: Edebug gives an error message if you try to use it on code which uses strings with text properties. To reproduce, using emacs -Q if you like, enter the following code into *scratch* and type C-u C-M-x: (defun my-fun () (message "%s" #("abcd" 1 3 (face italic)))) This results in the error message: "Invalid read syntax: "Bad char after #" Here is the backtrace: Debugger entered--Lisp error: (invalid-read-syntax "Bad char after #") signal(invalid-read-syntax ("Bad char after #")) edebug-syntax-error("Bad char after #") edebug-read-function(#) edebug-read-storing-offsets(#) edebug-read-list(#) edebug-read-storing-offsets(#) edebug-read-list(#) edebug-read-storing-offsets(#) edebug-read-and-maybe-wrap-form1() edebug-read-and-maybe-wrap-form() edebug-read-top-level-form() edebug-eval-defun((4)) apply(edebug-eval-defun (4)) eval-defun((4)) funcall-interactively(eval-defun (4)) call-interactively(eval-defun nil nil) command-execute(eval-defun) In GNU Emacs 25.1.1 (x86_64-apple-darwin15.6.0, NS appkit-1404.47 Version 10.11.6 (Build 15G1004)) of 2016-10-09 built on rainbow.local Windowing system distributor 'Apple', version 10.3.1404 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/25.1/share/info/emacs --prefix=/usr/local/Cellar/emacs/25.1 --without-x --with-xml2 --without-dbus --with-gnutls --with-imagemagick --with-rsvg --with-ns --disable-ns-self-contained' Configured features: JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction 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 line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set edebug-syntax-error: Invalid read syntax: "Bad char after #" 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 help-mode mail-prsvr mail-utils edebug easymenu cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win ucs-normalize 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 kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 198711 10003) (symbols 48 20106 0) (miscs 40 50 167) (strings 32 16048 5094) (string-bytes 1 457556) (vectors 16 33450) (vector-slots 8 658299 4717) (floats 8 160 49) (intervals 56 222 0) (buffers 976 17))