From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Quintus Newsgroups: gmane.emacs.bugs Subject: bug#11613: 24.1.50; ruby-mode highlighting/indentation issues Date: Sat, 02 Jun 2012 14:08:56 +0200 Message-ID: <4FCA0258.4050803@quintilianus.eu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1338663990 8241 80.91.229.3 (2 Jun 2012 19:06:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Jun 2012 19:06:30 +0000 (UTC) To: 11613@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 02 21:06:27 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SateW-0001gp-Bh for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Jun 2012 21:06:20 +0200 Original-Received: from localhost ([::1]:41216 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SateW-0002zy-3J for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Jun 2012 15:06:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SateS-0002zi-Uv for bug-gnu-emacs@gnu.org; Sat, 02 Jun 2012 15:06:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SateR-0003v6-3n for bug-gnu-emacs@gnu.org; Sat, 02 Jun 2012 15:06:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SateR-0003uf-0E for bug-gnu-emacs@gnu.org; Sat, 02 Jun 2012 15:06:15 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Satg9-0002b4-NE for bug-gnu-emacs@gnu.org; Sat, 02 Jun 2012 15:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Quintus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Jun 2012 19:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11613 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13386640269910 (code B ref -1); Sat, 02 Jun 2012 19:08:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Jun 2012 19:07:06 +0000 Original-Received: from localhost ([127.0.0.1]:54888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SatfG-0002Zm-1z for submit@debbugs.gnu.org; Sat, 02 Jun 2012 15:07:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57238) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SanC2-0001qc-B5 for submit@debbugs.gnu.org; Sat, 02 Jun 2012 08:12:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SanAE-0000Ro-8n for submit@debbugs.gnu.org; Sat, 02 Jun 2012 08:10:39 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:37292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SanAE-0000Rk-5Y for submit@debbugs.gnu.org; Sat, 02 Jun 2012 08:10:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SanAC-0002Zp-BO for bug-gnu-emacs@gnu.org; Sat, 02 Jun 2012 08:10:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SanAA-0000RM-DF for bug-gnu-emacs@gnu.org; Sat, 02 Jun 2012 08:10:35 -0400 Original-Received: from h1934006.stratoserver.net ([85.214.128.240]:51822 helo=mail.pegasus-alpha.eu) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SanAA-0000RI-3O for bug-gnu-emacs@gnu.org; Sat, 02 Jun 2012 08:10:34 -0400 Original-Received: from [192.168.178.25] (dtmd-4d052daf.pool.mediaWays.net [77.5.45.175]) by mail.pegasus-alpha.eu (Postfix) with ESMTPSA id EAE72111C03F for ; Sat, 2 Jun 2012 14:10:30 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Sat, 02 Jun 2012 15:07:04 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:60632 Archived-At: The following Ruby code snippets have indentation or syntax highlighting problems in ruby-mode: --------------------------------- ary = %w[deg abs def] breaks(indentation) sym = :@symbol_not_ivar sym = :"this is a symbol, not a string" str = "This is \#{no interpolation} despite the #" #@comment, not ruby code. Whole line highlighted despite the #. # This is a comment and cannot have #{interpolation} in it. --------------------------------- None of these is obfuscated or unusual code and is seen every now and then in normal Ruby code (the last one mostly in documentation comments), hence they should be highlighted/indented properly. Greetings, Marvin In GNU Emacs 24.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of 2012-06-02 on hades Configured using: `configure '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=/usr/lib' '--mandir=/usr/share/man' '--without-sound' '--with-xft' '--with-x-toolkit=gtk' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Ruby Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC [ > 1 ; 2 8 0 2 ; 0 c ESC x r e p o r t - e m TAB RET Recent messages: ("emacs" "foobar.rb") For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils ruby-mode time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)