GNU bug report logs - #13200
24.1.50; Ruby Mode Indentation after Here Docs

Previous Next

Package: emacs;

Reported by: Daniel Doherty <ded-law <at> ddoherty.net>

Date: Sun, 16 Dec 2012 20:02:02 UTC

Severity: normal

Found in version 24.1.50

Fixed in version 24.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Daniel Doherty <ded-law <at> ddoherty.net>
Cc: 13200 <at> debbugs.gnu.org
Subject: bug#13200: 24.1.50; Ruby Mode Indentation after Here Docs
Date: Sun, 16 Dec 2012 19:30:59 -0100
[Message part 1 (text/plain, inline)]
Daniel Doherty <ded-law <at> ddoherty.net> writes:

> I have attached a small file that demonstrates the problem, which
> appears to happen following a here-doc.

Can't reproduce with recent ruby-mode. The version string below shows
you're using an Emacs that's older than even the current stable version
(24.2). Could you try with a version from from emacs24 or trunk?

> In GNU Emacs 24.1.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10)
>  of 2012-08-17 on saturn

If obtaining the full build is too much trouble, you can download and
evaluate just ruby-mode.el:
http://bzr.savannah.gnu.org/lh/emacs/trunk/files/head:/lisp/progmodes/
(the download buttons are in the rightmost column)

Also please check that you're not using "ruby-mode 1.1" from Marmalade.
Evaluating (find-library-name "ruby-mode") should return a path inside
the Emacs tree.

Attaching your example file after reindenting (C-x h C-M-\).
[test-quote-reindented.rb (application/octet-stream, attachment)]

This bug report was last modified 12 years and 155 days ago.

Previous Next


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