Your message dated Sat, 30 Aug 2008 13:32:28 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#354054: Octave indenting
has caused the Debian Bug report #354054,
regarding [vim-runtime] Add indent script for octave
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
354054: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=354054
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: vim
Version: 1:6.4-007+1
Severity: minor


$cat test.m
for i=1:4
for j=1:4
disp(i*j)
end
end

To format this code, I selected all the 5 lines using V and hit =

But this resulted in the code being formatted as

for i=1:4
        for j=1:4
                disp(i*j)
end
end

I think it is better to indent the code as

for i=1:4
        for j=1:4
                disp(i*j)
        end
end

as that is what one would get, if the user is entering the program line by line
to begin with.

BTW, .m files are octave programs. The above code is a valid octave program. I
am filing it as a minor since it is a cosmetic issue and does not affect the
functionality of the vim as such.

thanks
raju

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-686-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages vim depends on:
ii  libc6                        2.3.6-1     GNU C Library: Shared libraries an
ii  libgpmg1                     1.19.6-19   General Purpose Mouse - shared lib
ii  libncurses5                  5.5-1       Shared libraries for terminal hand
ii  vim-common                   1:6.4-007+1 Vi IMproved - Common files
ii  vim-runtime                  1:6.4-007+1 Vi IMproved - Runtime files

vim recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
tag 354054 wontfix
thanks

On Fri, Dec 21, 2007 at 09:33:49PM -0500, James Vega wrote:
> Vim doesn't currently have an indent script for octave files which is
> why the automatic indenting via = doesn't work.
> [...]
> I'm downgrading this to wishlist in case someone sees it and decides
> they want to implement such an indent script.

Now closing the bug as any effort to create an indent script should be
pushed upstream by the script author instead of via Debian.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to