GNU bug report logs - #27920
25.2; Elisp indentation breaks when function docstring matches "^("

Previous Next

Package: emacs;

Reported by: Ryan <rct <at> thompsonclan.org>

Date: Wed, 2 Aug 2017 16:46:01 UTC

Severity: wishlist

Tags: fixed

Found in versions 25.0.50, 25.0.50.1, 25.1, 25.2

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


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

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Ryan <rct <at> thompsonclan.org>
Cc: 27920 <at> debbugs.gnu.org
Subject: Re: bug#27920: 25.2;
 Elisp indentation breaks when function docstring matches "^("
Date: Tue, 28 Nov 2017 21:32:07 -0500
unmerge 27920
tags 27920 = fixed
close 27920 26.1
quit

Ryan <rct <at> thompsonclan.org> writes:

> When editing Emacs Lisp code, if I write a function whose docstring
> contains a line beginning with an open paren, Emacs refuses to
> auto-indent any line in the function body. Removing the offenting
> parenthesis or adding a non-paren character before it on the same line
> allow Emacs to indent the body once again. Here's an example function
> that triggers the bug:

This bug was marked as wontfix, but I accidentally fixed it while fixing
Bug#25122, sorry.  ;)




This bug report was last modified 7 years and 226 days ago.

Previous Next


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