[Pkg-octave-devel] Bug#296376: marked as done (octave2.1-emacsen: Emacs indents the comments immediately under a function too much)

Debian Bug Tracking System owner@bugs.debian.org
Mon, 21 Feb 2005 21:18:04 -0800


Your message dated Mon, 21 Feb 2005 23:06:30 -0600
with message-id <16922.48598.503209.540692@basebud.nulle.part>
and subject line [Pkg-octave-devel] Bug#296376: octave2.1-emacsen: Emacs indents the comments immediately under a function too much
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Feb 2005 03:03:46 +0000
>From bill@denney.homeip.net Mon Feb 21 19:03:46 2005
Return-path: <bill@denney.homeip.net>
Received: from rwcrmhc11.comcast.net [204.127.198.35] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D3QKw-0003mA-00; Mon, 21 Feb 2005 19:03:46 -0800
Received: from denney.homeip.net ([68.85.116.34])
          by comcast.net (rwcrmhc11) with ESMTP
          id <2005022203031501300qg6kse>; Tue, 22 Feb 2005 03:03:15 +0000
Received: from bill by denney.homeip.net with local (Exim 3.36 #1 (Debian))
	id 1D3QKR-0006Au-00
	for <submit@bugs.debian.org>; Mon, 21 Feb 2005 22:03:15 -0500
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Bill Denney <bill@givebillmoney.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: octave2.1-emacsen: Emacs indents the comments immediately under a function
 too much
X-Mailer: reportbug 3.8
Date: Mon, 21 Feb 2005 22:03:15 -0500
Message-Id: <E1D3QKR-0006Au-00@denney.homeip.net>
Sender: Bill Denney <bill@denney.homeip.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: octave2.1-emacsen
Version: 2.1.64-1
Severity: minor

When I'm editing octave functions in emacs, the first comment under the 
function line gets indented by 4 tabs.  I tried turning off Fill mode, 
but that didn't help.

Example text that causes the problem:

-- Begin function
function thistime = gettime(...)

				# get the time in
-- End function

When I want it to just look like

-- Begin function
function thistime = gettime(...)

# get the time in
-- End function

It has the same behavior if I use # or % for the comment marker, and it 
happens upon pressing space (as opposed to other characters).

Thanks,

Bill

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages octave2.1-emacsen depends on:
ii  debianutils                   2.8.4      Miscellaneous utilities specific t
ii  emacs21 [emacsen]             21.3+1-8   The GNU Emacs editor
ii  octave2.1                     2.1.64-1   The GNU Octave language for numeri

-- no debconf information

---------------------------------------
Received: (at 296376-done) by bugs.debian.org; 22 Feb 2005 05:07:01 +0000
>From edd@debian.org Mon Feb 21 21:07:01 2005
Return-path: <edd@debian.org>
Received: from rwcrmhc13.comcast.net [204.127.198.39] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D3SGD-0004IF-00; Mon, 21 Feb 2005 21:07:01 -0800
Received: from basebud.nulle.part (c-24-14-160-2.client.comcast.net[24.14.160.2])
          by comcast.net (rwcrmhc13) with ESMTP
          id <2005022205063101500l50ere>; Tue, 22 Feb 2005 05:06:31 +0000
Received: from edd by basebud.nulle.part with local (Exim 4.34)
	id 1D3SFi-0002YA-Gh; Mon, 21 Feb 2005 23:06:30 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16922.48598.503209.540692@basebud.nulle.part>
Date: Mon, 21 Feb 2005 23:06:30 -0600
To: Bill Denney <denney@seas.upenn.edu>
Cc: 296376-done@bugs.debian.org
Subject: Re: [Pkg-octave-devel] Bug#296376: octave2.1-emacsen: Emacs indents
 the comments immediately under a function too much
In-Reply-To: <Pine.LNX.4.62.0502212348550.24397@denney.homeip.net>
References: <E1D3QKR-0006Au-00@denney.homeip.net>
	<16922.45205.677818.126936@basebud.nulle.part>
	<Pine.LNX.4.62.0502212348550.24397@denney.homeip.net>
X-Mailer: VM 7.19 under Emacs 21.3.1
From: Dirk Eddelbuettel <edd@debian.org>
Delivered-To: 296376-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


On 21 February 2005 at 23:50, Bill Denney wrote:
| > | It has the same behavior if I use # or % for the comment marker, and 
| > | it happens upon pressing space (as opposed to other characters).
| >
| > Designed that way, as I recall. Try ## to enfore beginning-of-line.
| >
| > Could you try that and report back -- we may be able to close this one
| > quickly.
| 
| That works.

Cool. Bug closed.

Dirk

-- 
Better to have an approximate answer to the right question than a precise 
answer to the wrong question.  --  John Tukey as quoted by John Chambers