From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#27491: Indentation issue in emacs Date: Mon, 26 Jun 2017 21:27:07 +0300 Message-ID: <87tw32bo5g.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPYk2-0008Jb-Ts for bug-guix@gnu.org; Mon, 26 Jun 2017 14:28:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPYjy-0004Gr-U9 for bug-guix@gnu.org; Mon, 26 Jun 2017 14:28:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36723) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dPYjy-0004GF-QL for bug-guix@gnu.org; Mon, 26 Jun 2017 14:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dPYjy-000546-Bj for bug-guix@gnu.org; Mon, 26 Jun 2017 14:28:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Arun Isaac's message of "Mon, 26 Jun 2017 02:35:52 +0530") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Arun Isaac Cc: 27491@debbugs.gnu.org Arun Isaac (2017-06-26 02:35 +0530) wrote: > I'm not entirely sure this is the right place to report this > bug. If I should report this bug elsewhere, please direct me. > > When I indent the `emacs-which-key' package definition in > gnu/packages/emacs.scm using `indent-region', the description gets > indented wrongly. The "(or as many as space allows given your settings)" > part of the description string gets indented as though it were an > S-expression. Here is the description of 'emacs-which-key' package. (description "@code{emacs-which-key} is a minor mode for Emacs that displays the key bindings following your currently entered incomplete comma= nd (a prefix) in a popup. For example, after enabling the minor mode if you enter C-x and wait for the default of 1 second, the minibuffer will expand with all of the available key bindings that follow C-x (or as many as space allows given your settings).") What you describe happens because of this line: (a prefix) in a popup. For example, after enabling the minor mode if you As you see, it starts with "(" and Emacs doesn't like such things. Commit 7c125ce02=C2=B9 fixed such descriptions 2 years ago. Perhaps it's time to repeat this commit :-) =C2=B9 http://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D7c125ce02384c= ff462a3ed84ac77153921e1c2a5 --=20 Alex