From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrew Pennebaker Newsgroups: gmane.emacs.help Subject: Java tab indentation breaks Date: Thu, 18 Apr 2013 16:12:11 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bdca5c2c32c9604daa83727 X-Trace: ger.gmane.org 1366315944 3958 80.91.229.3 (18 Apr 2013 20:12:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Apr 2013 20:12:24 +0000 (UTC) To: Emacs Help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 18 22:12:28 2013 Return-path: Envelope-to: geh-help-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 1USvC0-0004nL-Di for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Apr 2013 22:12:28 +0200 Original-Received: from localhost ([::1]:48124 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USvBz-0007OB-GZ for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Apr 2013 16:12:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USvBm-0007Nj-5H for help-gnu-emacs@gnu.org; Thu, 18 Apr 2013 16:12:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1USvBk-0006Ww-Bi for help-gnu-emacs@gnu.org; Thu, 18 Apr 2013 16:12:14 -0400 Original-Received: from mail-ia0-x22c.google.com ([2607:f8b0:4001:c02::22c]:62100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USvBk-0006Wl-70 for help-gnu-emacs@gnu.org; Thu, 18 Apr 2013 16:12:12 -0400 Original-Received: by mail-ia0-f172.google.com with SMTP id k38so2793913iah.17 for ; Thu, 18 Apr 2013 13:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=+oDhq/zpRxXkTb8rcyUJSt0EmLvE499f98Jg9iKc+cc=; b=eBk+ru6T+7vZMc7VU+CMsWejzL3Fx+vZenOs4JjTftX1a2XawzZHhSXQ7/vH9HNnKN d60FACiZVkTi4xxRQv+Sjejke4/g442fbFjRk2rYmwPQAx5rulMeD0ljOTjUbXWEpK2C sT9Fx4/e64jzwjjajsZ82FTOnrzfaPD6bqhQ8IsDN5qeMjKDy/5QyvKbhr3m9ErV+9Em uAL2laHsT6AP12nurylNG+0K9Mx8OdoGZCroa9F3Q0ieSZ5p2PXWsSvcZbAdXBlVqV/S R9cIlHtHaMYEewNfMqzRdQQn0px2Z7RMX2VoloL3N5/gAGUT+p6haFlNs3b5HpPIan9h cQ4A== X-Received: by 10.50.66.237 with SMTP id i13mr3995003igt.84.1366315931731; Thu, 18 Apr 2013 13:12:11 -0700 (PDT) Original-Received: by 10.42.147.133 with HTTP; Thu, 18 Apr 2013 13:12:11 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c02::22c X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90237 Archived-At: --047d7bdca5c2c32c9604daa83727 Content-Type: text/plain; charset=ISO-8859-1 When I try to indent in java-mode, Emacs throws an error. Trace: $ emacs -nw C-x h DEL M-x java-mode public class Test { RET TAB Minibuffer: Error evaluating offset + for inclass: Got invalid value tab-width C-h v tab-width 8 System: $ specs emacs os Specs: specs 0.4 https://github.com/mcandre/specs#readme emacs --version GNU Emacs 24.2.1 Copyright (C) 2012 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. systeminfo | findstr /B /C:"OS Name" /C:"OS Version" OS Name: Microsoft Windows XP Professional OS Version: 5.1.2600 Service Pack 3 Build 2600 -- Cheers, Andrew Pennebaker www.yellosoft.us --047d7bdca5c2c32c9604daa83727 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
When I try to indent in java-mode, Emacs throws= an error.

Trace:

$ emacs -nw
<= div>C-x h DEL
M-x java-mode
public class Test { RET=
TAB
Minibuffer:=A0Error evaluating offset + for = inclass: Got invalid value tab-width

C= -h v tab-width
8

Syste= m:

$ specs emacs os
Specs:

specs 0.4
emacs --version
GNU Emacs 24.2.1
Copyright (= C) 2012 Free Software Foundation, Inc.
GNU Emacs comes with ABSOL= UTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more = information about these matters, see the file named COPYING.

=
systeminfo | findstr /B /C:"OS Name" /C:"OS Versi= on"
OS Name: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Microsoft Windows XP Prof= essional
OS Version: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A05.1.2600 Serv= ice Pack 3 Build 2600

--
Chee= rs,

Andrew Pennebaker
--047d7bdca5c2c32c9604daa83727--