unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Dani Moncayo <dmoncayo@gmail.com>
Cc: 36593@debbugs.gnu.org
Subject: bug#36593: (wrong-type-argument integer-or-marker-p nil) when deleting char in C file
Date: Thu, 11 Jul 2019 07:28:26 -0400	[thread overview]
Message-ID: <87tvbs24kl.fsf@gmail.com> (raw)
In-Reply-To: <CAH8Pv0hS6H7eRPGoq6LxOk-KGzf7uk6mzEpvzaXH=38JycMXEQ@mail.gmail.com> (Dani Moncayo's message of "Thu, 11 Jul 2019 11:42:11 +0200")

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 <dmoncayo@gmail.com> 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) #<bytecode 0xe4814d>)(c-change-expand-fl-region)
  mapc(#f(compiled-function (fn) #<bytecode 0xe4814d>) (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)





      reply	other threads:[~2019-07-11 11:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-11  9:42 bug#36593: Dani Moncayo
2019-07-11 11:28 ` Noam Postavsky [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tvbs24kl.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=36593@debbugs.gnu.org \
    --cc=dmoncayo@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).