GNU bug report logs - #15224
24.3; newline does not move point to next line

Previous Next

Package: emacs;

Reported by: Nils Anders Danielsson <nad <at> cse.gu.se>

Date: Fri, 30 Aug 2013 15:49:02 UTC

Severity: normal

Found in version 24.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 15224 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Nils Anders Danielsson <nad <at> cse.gu.se>
Cc: 15224 <at> debbugs.gnu.org
Subject: Re: bug#15224: 24.3; newline does not move point to next line
Date: Wed, 14 Aug 2019 20:48:21 -0700
Nils Anders Danielsson <nad <at> cse.gu.se> writes:

> Bug description
> ---------------
>
> In some situations newline fails to move point to the next line, even
> though the newly inserted line is blank.
>
> To reproduce the bug, run the following command:
>
>   emacs -Q --eval '(progn (fundamental-mode)
>
>                           (modify-syntax-entry ?/  ". 124b")
>                           (modify-syntax-entry ?*  ". 23")
>                           (modify-syntax-entry ?\n "> b")
>
>                           (setq comment-start "// ")
>
>                           (auto-fill-mode 1)
>                           (setq fill-column 9)
>                           (setq comment-auto-fill-only-comments t)
>
>                           (insert "/*  //x  x")
>                           (newline))'
>
> Expected result: A newline character should be inserted, and point
> should move to the next line.
>
> Actual result: A newline character is inserted, but point is not moved.
> The *Messages* buffer contains the following message:
>
>   comment-search-backward: Beginning of buffer

(I'm going through old bug reports that have unfortunately gotten no
responses yet.)

I'm unable to reproduce this bug in Emacs 27, so I'm guessing it's been
fixed in the intervening years.  If you can still see this bug in Emacs
27, please reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 6 years and 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.