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

Bill Denney Bill Denney <bill@givebillmoney.com>, 296376@bugs.debian.org
Mon, 21 Feb 2005 22:03:15 -0500


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