octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: the competition's expm vs ours


From: Thomas Weber
Subject: Re: the competition's expm vs ours
Date: Wed, 10 Dec 2008 11:09:01 +0100

Am Mittwoch, den 10.12.2008, 10:52 +0100 schrieb Jaroslav Hajek:
> On Wed, Dec 10, 2008 at 10:25 AM, Thomas Weber
> <address@hidden> wrote:
> > Am Mittwoch, den 10.12.2008, 07:19 +0100 schrieb Jaroslav Hajek:
> >> On Tue, Dec 9, 2008 at 10:47 PM, Thomas Weber
> >> <address@hidden> wrote:
> >> > On Tue, Dec 09, 2008 at 08:55:33PM +0100, Jaroslav Hajek wrote:
> >> >> > Yes, but then the customizations for the files depend on users
> >> >> > individual settings.
> >> >>
> >> >> Which is good, isn't it?
> >> >
> >> > No, it isn't. I can adapt to whatever style Octave chooses, but please:
> >> > only *one* style, and that one enforced with an iron fist.
> >> >
> >>
> >> I must be missing something important here. What *style* are you talking 
> >> about?
> >> The coding style, incl. indenting & whitespace, is part of the source,
> >> and that should be fixed.
> >
> > Yes, and Emacs C++ mode sets some default (ie, indent is 2 spaces, ...)
> >
> >> But I still don't see what good is this:
> >> /*
> >> ;;; Local Variables: ***
> >> ;;; mode: C++ ***
> >> ;;; End: ***
> >> */
> >>
> >> What does it do, other than telling Emacs that this is a C++ source?
> >> Isn't it possible to configure Emacs so that it can tell from the file
> >> extension?
> >
> > Yes, but I'm thinking more along the lines that different projects may
> > have different source guidelines for C++ files.
> >
> 
> Huh. So Emacs' default C++ settings exactly match Octave's coding
> standards? I'm just missing the style information here.
I hope they do. I have nothing configured in Emacs with regards to C++
and John has never complained. Actually, I used vim quite a lot in the
past for the actual editing. Before sending a diff, I just opened the
file  in Emacs and let Emacs re-indent the lines.

        Thomas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]