Your message dated Fri, 24 Jul 2009 20:27:39 +0200 (CEST)
with message-id <[email protected]>
has caused the   report #487517,
regarding indent: [rfe] better support for gettext macros
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(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.)


-- 
487517: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487517
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Hello.

Received this from the Debian BTS:

---------- Forwarded message ----------
From: Hamish <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Date: Sun, 22 Jun 2008 23:39:09 +1200
Subject: Bug#487517: indent: [rfe] better support for gettext macros

Package: indent
Version: 2.2.9-7
Severity: wishlist
Tags: l10n

Hi,

At the GRASS GIS project (grass.osgeo.org) we are preparing to re-indent 
our c. 1M SLOC codebase. Trials have shown that indent sometimes does 
not do well with the _("") gettext macros used for i18n of messages.
For example,

indent produces:
 G_fatal_error
        (_
         ("Can't get projection info of current location

better would be to break lines like:
 G_fatal_error(
        _("Can't get projection info ....



CLI rules used:
$ indent -bad -bap -bbb -br -bli0 -bls -cli0 -ncs -fc1 -hnl -i4 \
    -nbbo -nbc -nbfda -nbfde -ncdb -ncdw -nce -nfca -npcs -nprs \
    -npsl -nsc -nsob -saf -sai -saw -sbi0 -ss -ts8 -ut main.c

Example code which upon indent'ing shows the behaviour:
  http://trac.osgeo.org/grass/browser/grass/trunk/raster/r.sun/main.c

refs:
  http://thread.gmane.org/gmane.comp.gis.grass.devel/26820/focus=27382
  http://trac.osgeo.org/grass/browser/grass/trunk/SUBMITTING#L229



thanks,
Hamish


--- End Message ---

Reply via email to