texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] enums patch


From: Stéphane Payrard
Subject: Re: [Texmacs-dev] enums patch
Date: Thu, 12 Sep 2002 18:09:47 -0400
User-agent: Mutt/1.4i

On (12/09/02 16:16), Joris van der Hoeven wrote:
> From: Joris van der Hoeven <address@hidden>
> To: address@hidden
> Subject: Re: [Texmacs-dev] enums patch
> Reply-To: address@hidden
> Date: Thu, 12 Sep 2002 16:16:17 +0200 (MET DST)
> 
> 
> > I will probably rewrite it better and send it tomorrow.  Let me say
> > that symbolic defined in enums are follow no consistant convention and
> > that all upper case suck big time.  I can fix it with a Perl script.
> > Similar remarks for class names.
> 
> I have been looking to the patch in more detail.
> I am not sure that it would really be a good thing to apply it,
> because many of the #define's are really definitions of constants
> or masks and *not* new litterals in some new enumeration class.
> In fact the latter case only occurs a few times and
> I am not sure about making a specific modification for this.
> 

I don't remember anything against using enums for a set of masks over
a given integer even if I cannot find an example of this out of hand
in the litterature.  I probably can find it if you want it to be
convinced.  But really, I don't mind much these being enums or loose
consts even if I like to group related material. 

What I don't like is the use of the preprocessor when C++ provides
better alternatives. Everything that is preprocessed is lost to
the later stage of compilation.


On a previous mail, you talked about window manager (more specifically
maximization of windows) and how I can help.  Really I am no
specialist.  This stuff is documented in the ICCCM
(http://tronche.com/gui/X/icccm) and recent additions at
http://freedesktop.org/standards.  My hope is that we will get this
for free through the QT API.



--
  stef






reply via email to

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