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

Dirk Eddelbuettel Dirk Eddelbuettel <edd@debian.org>, 296376@bugs.debian.org
Mon, 21 Feb 2005 22:09:57 -0600


On 21 February 2005 at 22:03, Bill Denney wrote:
| 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).

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.

Dirk

| 
| 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
| 
| 
| _______________________________________________
| Pkg-octave-devel mailing list
| Pkg-octave-devel@lists.alioth.debian.org
| http://lists.alioth.debian.org/mailman/listinfo/pkg-octave-devel

-- 
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