GNU bug report logs - #26642
25.1; Lisp Mode: open paren at start of line in doc string messes up top level form detection

Previous Next

Package: emacs;

Reported by: Philipp Matthias Schäfer <philipp.matthias.schaefer <at> posteo.de>

Date: Mon, 24 Apr 2017 18:21:02 UTC

Severity: wishlist

Tags: fixed

Merged with 20284, 20761

Found in versions 25.0.50, 25.0.50.1, 25.1, 25.2

Fixed in version 27.1

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

Bug is archived. No further changes may be made.

Full log


Message #17 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 104 days ago.

Previous Next


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