From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 11 05:42:30 2019 Received: (at submit) by debbugs.gnu.org; 11 Jul 2019 09:42:31 +0000 Received: from localhost ([127.0.0.1]:37027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlVaw-0005Qc-FV for submit@debbugs.gnu.org; Thu, 11 Jul 2019 05:42:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:59643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlVat-0005QS-V7 for submit@debbugs.gnu.org; Thu, 11 Jul 2019 05:42:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48409) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlVas-000160-MF for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 05:42:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlVar-0007g6-GP for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 05:42:26 -0400 Received: from mail-yb1-xb41.google.com ([2607:f8b0:4864:20::b41]:40155) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hlVar-0007eE-5W for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 05:42:25 -0400 Received: by mail-yb1-xb41.google.com with SMTP id i14so2062777ybp.7 for ; Thu, 11 Jul 2019 02:42:24 -0700 (PDT) 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=xLu/PGZLZrs3K2Q3lEU6HdkORQ1REAuC68TI6wU9mbI=; b=KXLsDmZUhbz6SCv/+ZQvO42DcXkfbr0ubToXUc4v/FeP7YxrBmjt6UxHU99jsECiX3 tUoQgGHLrxMvqt7GLBvotFnqb3lWSS87Jtadnv3TY8GLEkHIjVOy0RFYc+LWJ53vhz4K HlN2wf31NxnUCydmOs54kT0NsGL3l+KcBSOh2QO/hB9aXNX7gT+YU8YBU4YSJTcp/7bN OP5vVXcryLG+YWYq+MkOY9xGCEMBngdWKmq3xfOg7Wg53nkSO+Rvh8vIxzQI8Rzx7WeO tL4aNgJgo1AT7vnKsnfoeMvLHHDL4ADlE9LlpMO6rJ0W2hFRQ6NoDiRUAKzyCRcJaP+b nhkA== 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=xLu/PGZLZrs3K2Q3lEU6HdkORQ1REAuC68TI6wU9mbI=; b=O9AKGaYcKulQLFq4+4miqGYrGBOqHXWBBq4LgxefI6zIjBloxRPVVHAle3tAmLD3qO fs0jwlYVX4K5SCn2JHA39DQx2/QRIKiYfc39JoFpLEMVZqj0T5Hu39ujwtJOo68j2J9o fddwTg4JbHhmxgT49krv+vc5iML8Fm6DOIUtqXdNzxbDogo3nvL6YcQuHFbr11mbxSQs GNQ6uLieixqFedWM+GxZ2UHTlfCZKLXs9iUgrvekzH2K2Xt2ErAOLflQc5jS89Ov9B/l Tmqzl7K3ZymioTYdIlTaGf8ssYGal8Z7/tBDY0tTCbRvEgla8nk+0gjjnREfS1mxVy/o cOgg== X-Gm-Message-State: APjAAAV8FhkQq8QnByUI1EqIhawRufctAQoAKunayZ3h+846ybcQR4xL YVO0OQeZMSnXhsmQf/2IlWm0NWh45dq143sw9r8L7nRj X-Google-Smtp-Source: APXvYqxk7ZVngAh4u7BY+2X+8rG0s11wNikTde13G3giliribygIP/Lzv3SKd8Fq8cbSkLX9YZtFjyPwMZQV0cMY2e4= X-Received: by 2002:a25:65c6:: with SMTP id z189mr1465822ybb.480.1562838142716; Thu, 11 Jul 2019 02:42:22 -0700 (PDT) MIME-Version: 1.0 From: Dani Moncayo Date: Thu, 11 Jul 2019 11:42:11 +0200 Message-ID: Subject: To: bug-gnu-emacs Content-Type: multipart/mixed; boundary="00000000000056ab74058d649c7b" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::b41 X-Spam-Score: 0.7 (/) 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: -0.3 (/) --00000000000056ab74058d649c7b Content-Type: text/plain; charset="UTF-8" Recipe from "emacs -Q": * Visit the attached file. * Try to delete the second character in line 2. At that moment, I see the following error: c-forward-name: Wrong type argument: integer-or-marker-p, nil -- Dani Moncayo In GNU Emacs 26.2 (build 1, x86_64-pc-cygwin) of 2019-04-15 built on moufang2 Repository revision: 3eb72f90eb994355ed13a136386f4cc0e1f7fd06 Windowing system distributor 'Microsoft Corp.', version 6.3.9600 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. c-forward-name: Wrong type argument: integer-or-marker-p, nil Configured using: 'configure --srcdir=/home/kbrown/src/cygemacs/emacs-26.2-1.x86_64/src/emacs-26.2 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/emacs --htmldir=/usr/share/doc/emacs/html -C --with-w32 'CFLAGS=-ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/home/kbrown/src/cygemacs/emacs-26.2-1.x86_64/build=/usr/src/debug/emacs-26.2-1 -fdebug-prefix-map=/home/kbrown/src/cygemacs/emacs-26.2-1.x86_64/src/emacs-26.2=/usr/src/debug/emacs-26.2-1' CPPFLAGS= LDFLAGS=' Configured features: XPM JPEG TIFF GIF PNG IMAGEMAGICK SOUND DBUS GLIB NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS XIM THREADS LCMS2 Important settings: value of $LANG: C.ISO-8859-1 locale-coding-system: iso-latin-1-unix Major mode: C/*l 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 abbrev-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cl-loaddefs cl-lib elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel disp-table term/w32-win w32-win w32-vars term/common-win 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 gfilenotify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 117211 8204) (symbols 48 22508 2) (miscs 40 39 158) (strings 32 35475 1105) (string-bytes 1 1043992) (vectors 16 17218) (vector-slots 8 528979 11656) (floats 8 53 217) (intervals 56 368 226) (buffers 992 12)) --00000000000056ab74058d649c7b Content-Type: application/octet-stream; name="fp.c" Content-Disposition: attachment; filename="fp.c" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jxyhdyhe0 LyqFKi8KLy9p8wo= --00000000000056ab74058d649c7b-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 11 07:28:40 2019 Received: (at 36593) by debbugs.gnu.org; 11 Jul 2019 11:28:40 +0000 Received: from localhost ([127.0.0.1]:37094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlXFg-00081v-3c for submit@debbugs.gnu.org; Thu, 11 Jul 2019 07:28:40 -0400 Received: from mail-io1-f46.google.com ([209.85.166.46]:41213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlXFd-00081c-U5; Thu, 11 Jul 2019 07:28:38 -0400 Received: by mail-io1-f46.google.com with SMTP id j5so7515627ioj.8; Thu, 11 Jul 2019 04:28:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=2GpmTGzg/pwoY7qwKvCTcp9webhHn1gCConxQ84DsLg=; b=Hc4q5NZ3gXs2Jpm9BEsFtvGPWXck2noQTp+5L3xrT2v3rFeSwVoib8C/b4dnSPDUTE UnACCbUmAhVhVVjYKhP6cA3RGjhSHZRBR8rapoOF89rS935UVlxGGgFVx3BuJxq4efLe 8/sY7BUe9oR0lJ8ESq52zdVD+sbAbXxEnqfBVDz1U8p38++cPIYPFNu5PdimJjA4QQxF 6+lvyg8U6XOAASjABe5c0yODITnxN294HOT/DbdwAVQH8ohlU5gtpofkw6zSpqagX6mj Q9MwfusYScwSlRSkxsaMgp5nXnVbrcdMJpEAu+ZtB2BOZlAQG3KkRIgMtQBXwy+G5TtR m0lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=2GpmTGzg/pwoY7qwKvCTcp9webhHn1gCConxQ84DsLg=; b=SmGvNCBP/94utLekW/ANvmPSsLHf6PB1LOBhFJvgsHZnLbT9s1uQKIJkwcLxn4YP6U nKNlPX9AaAGKQk2sKYULq0HSa5xmxg7MB36UR+NoP6LUwg79dkuol2qfrhYTFokXk/OM wB81mMXj54mmQgLXfw5CTQQCGSnw7GEXTNqwElZ8d8+PgwGjwla4wqysMtmvoJO5CS8J eJEEhVgwJ96ioSeFjg+9jG78UkKxLFNAJHYlXD3kXFJwpL4F84wjMfhRXSACUKxrBTk9 I9sxijyRi1jett9enLVcUCSrVBUAtApXtZmbN18VlCxeCCdZYffb4ILyFDNAbdSEpYNK 73hg== X-Gm-Message-State: APjAAAWAaVyE6sPoDElWMPYxkGISTaAieV33q2hNNj/DONMJwwsHWiuY muEmaiXbEdGTA4rLxl2/woGsQsxF X-Google-Smtp-Source: APXvYqz0nhVr4dUV260rUXu2rUOZHWvQVH9gE8A6cBZIxRKBhIUCcSFCy93o9PkmFDshXHC0UroMnA== X-Received: by 2002:a02:c916:: with SMTP id t22mr3942492jao.24.1562844508228; Thu, 11 Jul 2019 04:28:28 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id f17sm5297002ioc.2.2019.07.11.04.28.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Jul 2019 04:28:27 -0700 (PDT) From: Noam Postavsky To: Dani Moncayo Subject: Re: bug#36593: (wrong-type-argument integer-or-marker-p nil) when deleting char in C file References: Date: Thu, 11 Jul 2019 07:28:26 -0400 In-Reply-To: (Dani Moncayo's message of "Thu, 11 Jul 2019 11:42:11 +0200") Message-ID: <87tvbs24kl.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.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 the administrator of that system for details. Content preview: retitle 36593 (wrong-type-argument integer-or-marker-p nil) when deleting char in C file found 36593 26.2 tags 36593 fixed close 36593 27.1 quit Dani Moncayo writes: > Recipe from "emacs -Q": > > * Visit the attached file. > * Try to delete the second character in line 2. Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (npostavs[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.166.46 listed in list.dnswl.org] 1.3 PDS_NO_HELO_DNS High profile HELO but no A record X-Debbugs-Envelope-To: 36593 Cc: 36593@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: 0.3 (/) retitle 36593 (wrong-type-argument integer-or-marker-p nil) when deleting char in C file found 36593 26.2 tags 36593 fixed close 36593 27.1 quit Dani Moncayo writes: > Recipe from "emacs -Q": > > * Visit the attached file. > * Try to delete the second character in line 2. Seems to be fixed in master. Here's the backtrace from emacs-26 for the record: Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) c-forward-sws() c-forward-name() c-forward-declarator(nil) c-fl-decl-end(8) c-change-expand-fl-region(8 8 1) #f(compiled-function (fn) #)(c-change-expand-fl-region) mapc(#f(compiled-function (fn) #) (c-depropertize-new-text c-parse-quotes-after-change c-extend-font-lock-region-for-macros c-neutralize-syntax-in-CPP c-change-expand-fl-region)) c-after-change(8 8 1) delete-char(1) c-electric-delete-forward(nil) funcall-interactively(c-electric-delete-forward nil) call-interactively(c-electric-delete-forward nil nil) command-execute(c-electric-delete-forward) From unknown Fri Jun 13 10:21:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 09 Aug 2019 11:24:08 +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