help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pressing enter sometimes starts giving "wrong type argument: stringp


From: Ian Zimmerman
Subject: Re: Pressing enter sometimes starts giving "wrong type argument: stringp, nil"
Date: Wed, 29 Jul 2015 18:01:13 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

On 2015-07-29 18:43 -0500, Evan Driscoll wrote:

> Occasionally emacs will start producing an error when I press enter,
> displaying "wrong type argument: stringp, nil" in the minibuffer and
> not moving the point down a line. It still actually inserts the
> newline though. In other words, what I get is something like the
> following. If I have the following document where <> is the location
> of the point:
> 
>     abc<>
>     def
> 
> and press enter, what I get is
> 
>     abc<>
> 
>     def

>     Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>       looking-at(nil)
>       c-forward-sws()
>       c-mask-paragraph(nil t do-auto-fill)
>       c-do-auto-fill()
>       self-insert-command(1)
>       newline(nil)
>       call-interactively(newline nil nil)

Does it persist when you disable auto-fill?

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]