[GRASS-dev] [GRASS GIS] #2437: order parameters in g.remove window

#2437: order parameters in g.remove window
-------------------------+--------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.remove | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
On the 'required' tab of the g.remove function you first need to select
the data type from a list. Below one need to type the map name search
pattern.

I have no clue if that is specific for my computer, but for the latter
(the map name search pattern) I have to scroll down as the list of data
types is longer then the height of the g.remove screen.

I only ever need to select raster or vector (and I guess those are amongst
the most used by the majority of users), so the scrolling to get to the
bottom could be avoided by first being presented by the map name search
pattern box and than the data type. For me that order makes more sense
anyway, but that is just a personal preference.But having rsi problems,
anything that could reduce the use of the mouse, however little, would be
welcome (I know, I can use the command line more, and I try as much as
possible).

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
-------------------------+--------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.remove | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by annakrat):

Yes, I am not satisfied either, I always overlook it and I go to the
Pattern tab and use the exclude instead of the pattern option. So beside
the change of order, we should also consider renaming the 'Pattern' tab to
'Exclusion' perhaps? Or move exclude option to Optional? I personally
don't use exclusion very often.

Changing the order between type and pattern would mean that you would
write:

{{{
g.remove "mymap_*" type=rast
}}}
instead of

{{{
g.remove rast pattern="mymap_*"
}}}

unless we do some special trick in the GUI which I would try to avoid.
Would this change of the first parameter do any harm?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
-------------------------+--------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.remove | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by hcho):

I think that the current order makes it easier to implement a list of maps
drop down. It's better to restrict map types first and then search for and
list related maps in the drop down. Since we moved away from single option
per map type, we may need some trick in the GUI.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
-------------------------+--------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.remove | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by annakrat):

Replying to [comment:2 hcho]:
> I think that the current order makes it easier to implement a list of
maps drop down. It's better to restrict map types first and then search
for and list related maps in the drop down. Since we moved away from
single option per map type, we may need some trick in the GUI.

done in r62191, testing is welcome of course.

The order - type, pattern - makes sense. I removed some unused types
(#2440) so the pattern is now hopefully visible without scrolling. So we
might perhaps close this ticket after testing and backporting.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
-------------------------+--------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.remove | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by neteler):

Replying to [comment:3 annakrat]:
> done in r62191, testing is welcome of course.

There is a small issue now: clicking on "Map name exclusion pattern" in
the GUI windows of g.remove now prints the word "element" into the
terminal:

{{{
GRASS 7.1.svn (nc_spm_08_grass7):~/software/grass71 > g.remove
element
element
}}}

(clicked twice in this test).

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
-------------------------+--------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.remove | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by annakrat):

Replying to [comment:4 neteler]:
> Replying to [comment:3 annakrat]:
> > done in r62191, testing is welcome of course.
>
> There is a small issue now: clicking on "Map name exclusion pattern" in
the GUI windows of g.remove now prints the word "element" into the
terminal:

Sorry, I forgot a print statement, removed in r62193.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
-------------------------+--------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.remove | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by hcho):

I just noticed two issues with the new g.list/remove GUI map selectors.
They should not append @ mapset name and should support multiple
selection.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
-------------------------+--------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.remove | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by annakrat):

Replying to [comment:6 hcho]:
> I just noticed two issues with the new g.list/remove GUI map selectors.
They should not append @ mapset name and should support multiple
selection.

I fixed appending the mapset in r62220.

If it is not in the interface of the module, gui can't know it should be
multiple. As you wrote earlier, multiple pattern is handled by the module,
which is the problem.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437#comment:7&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
-------------------------+--------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.remove | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by annakrat):

Replying to [comment:7 annakrat]:
> Replying to [comment:6 hcho]:
> > I just noticed two issues with the new g.list/remove GUI map
selectors. They should not append @ mapset name and should support
multiple selection.
>
> I fixed appending the mapset in r62220.

Hm, it started to output warnings about illegal character *. Not sure what
to do about that...

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437#comment:8&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
-------------------------+--------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.remove | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by annakrat):

Replying to [comment:8 annakrat]:
> Replying to [comment:7 annakrat]:
> > Replying to [comment:6 hcho]:
> > > I just noticed two issues with the new g.list/remove GUI map
selectors. They should not append @ mapset name and should support
multiple selection.
> >
> > I fixed appending the mapset in r62220.
>
> Hm, it started to output warnings about illegal character *. Not sure
what to do about that...
>

I will probably have to revert this and do test for this specific case in
the gui which I wanted to avoid. However, the problem with multiple
selection is not just problem of the gui, but also pygrass can't currently
handle it simply because g.list interface breaks rules.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437#comment:9&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
-------------------------+--------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.remove | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by hcho):

Replying to [comment:9 annakrat]:
> Replying to [comment:8 annakrat]:
> > Replying to [comment:7 annakrat]:
> > > Replying to [comment:6 hcho]:
> > > > I just noticed two issues with the new g.list/remove GUI map
selectors. They should not append @ mapset name and should support
multiple selection.
> > >
> > > I fixed appending the mapset in r62220.
> >
> > Hm, it started to output warnings about illegal character *. Not sure
what to do about that...
> >
>
> I will probably have to revert this and do test for this specific case
in the gui which I wanted to avoid. However, the problem with multiple
selection is not just problem of the gui, but also pygrass can't currently
handle it simply because g.list interface breaks rules.

Hmm... One way would be to change the type of pattern=/exclude= to
multiple and use their {{{answer}}} variable, not {{{answers}}}. The help
message would be {{{pattern=string[,string,...]}}}, which can be
misleading because it doesn't take multiple pattern strings, but it only
takes multiple map names and a single pattern string. But, it works both
in GUI and command line.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437#comment:10&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
-------------------------+--------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.remove | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by hcho):

Replying to [comment:10 hcho]:
> Replying to [comment:9 annakrat]:
> > Replying to [comment:8 annakrat]:
> > > Replying to [comment:7 annakrat]:
> > > > Replying to [comment:6 hcho]:
> > > > > I just noticed two issues with the new g.list/remove GUI map
selectors. They should not append @ mapset name and should support
multiple selection.
> > > >
> > > > I fixed appending the mapset in r62220.
> > >
> > > Hm, it started to output warnings about illegal character *. Not
sure what to do about that...
> > >
> >
> > I will probably have to revert this and do test for this specific case
in the gui which I wanted to avoid. However, the problem with multiple
selection is not just problem of the gui, but also pygrass can't currently
handle it simply because g.list interface breaks rules.
>
> Hmm... One way would be to change the type of pattern=/exclude= to
multiple and use their {{{answer}}} variable, not {{{answers}}}. The help
message would be {{{pattern=string[,string,...]}}}, which can be
misleading because it doesn't take multiple pattern strings, but it only
takes multiple map names and a single pattern string. But, it works both
in GUI and command line.

If GUI allows for both multiple map selection and manual pattern typing.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437#comment:11&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
-------------------------+--------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.remove | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by hcho):

Replying to [comment:11 hcho]:
> Replying to [comment:10 hcho]:
> > Replying to [comment:9 annakrat]:
> > > Replying to [comment:8 annakrat]:
> > > > Replying to [comment:7 annakrat]:
> > > > > Replying to [comment:6 hcho]:
> > > > > > I just noticed two issues with the new g.list/remove GUI map
selectors. They should not append @ mapset name and should support
multiple selection.
> > > > >
> > > > > I fixed appending the mapset in r62220.
> > > >
> > > > Hm, it started to output warnings about illegal character *. Not
sure what to do about that...
> > > >
> > >
> > > I will probably have to revert this and do test for this specific
case in the gui which I wanted to avoid. However, the problem with
multiple selection is not just problem of the gui, but also pygrass can't
currently handle it simply because g.list interface breaks rules.
> >
> > Hmm... One way would be to change the type of pattern=/exclude= to
multiple and use their {{{answer}}} variable, not {{{answers}}}. The help
message would be {{{pattern=string[,string,...]}}}, which can be
misleading because it doesn't take multiple pattern strings, but it only
takes multiple map names and a single pattern string. But, it works both
in GUI and command line.
>
> If GUI allows for both multiple map selection and manual pattern typing.

Still the {{{@MAPSET}}} problem needs to be fixed in GUI.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437#comment:12&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
-------------------------+--------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.remove | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by glynn):

Replying to [comment:10 hcho]:

> which can be misleading because it doesn't take multiple pattern
strings, but it only takes multiple map names and a single pattern string.

There seems to be two problems here.

One is that the meaning of pattern=/exclude= may change depending upon
whether -r/-e are used. I thought that we had already learned that making
the semantics of one option change according to the value given for other
options is a bad idea.

The other is that there seems to be confusion over the meaning of
pattern=/exclude= in the absence of -r/-e. Is it a list of map names, or a
glob pattern? It can't be both unless both G_parser() and the GUI
recognise "list of map names or string" as a distinct type. "list of map
names" won't allow the use of glob patterns because G_parser() will
complain about illegal characters and "string" won't work insofar as the
GUI won't provide a browser interface for it.

One solution would be to add a separate option (e.g. names=) which accepts
multiple valid map names, mark pattern= and names= as mutually exclusive.
names= would support multiple options and some form of browsing, pattern=
would be a plain string. Similarly for exclusion.

Another solution would be rename g.remove to e.g. g.mremove, remove the
pretence about pattern=/exclude= being something other than "arbitrary
string", and add a g.remove script which would be a thin wrapper around
g.mremove (possibly the only difference would be to re-declare the types
of the pattern=/exclude= options).

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437#comment:13&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
--------------------------------------------------+-------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.list, g.remove, g.mlist, g.mremove | Platform: All
      Cpu: Unspecified |
--------------------------------------------------+-------------------------
Changes (by wenzeslaus):

  * keywords: g.remove => g.list, g.remove, g.mlist, g.mremove

Comment:

Replying to [comment:13 glynn]:
> Replying to [comment:10 hcho]:
>
> > which can be misleading because it doesn't take multiple pattern
strings, but it only takes multiple map names and a single pattern string.
>
> There seems to be two problems here.
>
> One is that the meaning of pattern=/exclude= may change depending upon
whether -r/-e are used. I thought that we had already learned that making
the semantics of one option change according to the value given for other
options is a bad idea.
>
> The other is that there seems to be confusion over the meaning of
pattern=/exclude= in the absence of -r/-e. Is it a list of map names, or a
glob pattern? It can't be both unless both G_parser() and the GUI
recognise "list of map names or string" as a distinct type. "list of map
names" won't allow the use of glob patterns because G_parser() will
complain about illegal characters and "string" won't work insofar as the
GUI won't provide a browser interface for it.
>
I generally agree, I perhaps mentioned this several times. For the future,
we need some higher level types. Some types are in "standard options" but
they are not exposed. Another example of higher level types would be
binary file and text file (as opposed to any file), GUI is now providing
direct/interactive input box for binary files. With "color rules file" we
can provide a GUI editor with preview besides the textual input.

However, for this case, I think that the following is better option.

> One solution would be to add a separate option (e.g. names=) which
accepts multiple valid map names, mark pattern= and names= as mutually
exclusive. names= would support multiple options and some form of
browsing, pattern= would be a plain string. Similarly for exclusion.
>
This is quite simple and it also solves the problem I was afraid of: users
seeing the option named pattern and not willing to use it because they
want to input a map name not some pattern they don't understand. Option
named `names` fits well with this use case. `maps` would be more
consistent but it would not be precise and `names` goes well with
`pattern`.

> Another solution would be rename g.remove to e.g. g.mremove, remove the
pretence about pattern=/exclude= being something other than "arbitrary
string", and add a g.remove script which would be a thin wrapper around
g.mremove (possibly the only difference would be to re-declare the types
of the pattern=/exclude= options).

This might go against the reasons for doing this whole thing, reducing the
complexity of interface and maintenance cost by reducing the number of
modules:

  * http://osgeo-org.1560.x6.nabble.com/g-mlist-list-multiple-types-from-
all-mapsets-td5142385.html

Or were there some other reasons?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437#comment:14&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
--------------------------------------------------+-------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.list, g.remove, g.mlist, g.mremove | Platform: All
      Cpu: Unspecified |
--------------------------------------------------+-------------------------

Comment(by hcho):

Replying to [comment:14 wenzeslaus]:
> Replying to [comment:13 glynn]:
> > Replying to [comment:10 hcho]:
> >
> > > which can be misleading because it doesn't take multiple pattern
strings, but it only takes multiple map names and a single pattern string.
> >
> > There seems to be two problems here.
> >
> > One is that the meaning of pattern=/exclude= may change depending upon
whether -r/-e are used. I thought that we had already learned that making
the semantics of one option change according to the value given for other
options is a bad idea.
> >
> > The other is that there seems to be confusion over the meaning of
pattern=/exclude= in the absence of -r/-e. Is it a list of map names, or a
glob pattern? It can't be both unless both G_parser() and the GUI
recognise "list of map names or string" as a distinct type. "list of map
names" won't allow the use of glob patterns because G_parser() will
complain about illegal characters and "string" won't work insofar as the
GUI won't provide a browser interface for it.
> >
> I generally agree, I perhaps mentioned this several times. For the
future, we need some higher level types. Some types are in "standard
options" but they are not exposed. Another example of higher level types
would be binary file and text file (as opposed to any file), GUI is now
providing direct/interactive input box for binary files. With "color rules
file" we can provide a GUI editor with preview besides the textual input.
>
> However, for this case, I think that the following is better option.
>
> > One solution would be to add a separate option (e.g. names=) which
accepts multiple valid map names, mark pattern= and names= as mutually
exclusive. names= would support multiple options and some form of
browsing, pattern= would be a plain string. Similarly for exclusion.
> >
> This is quite simple and it also solves the problem I was afraid of:
users seeing the option named pattern and not willing to use it because
they want to input a map name not some pattern they don't understand.
Option named `names` fits well with this use case. `maps` would be more
consistent but it would not be precise and `names` goes well with
`pattern`.

I agree with you that this solution is better than the other because the
main reason of replacing g.list/remove was to reduce redundancy. These two
additional options would act as a wrapper around the pattern options.
{{{names=}}} and {{{exclude_names=}}} should solve this issue in GUI. In
command line, it's up to the user which one to use for a list of map names
because the pattern options can handle a list of map names as well.

>
> > Another solution would be rename g.remove to e.g. g.mremove, remove
the pretence about pattern=/exclude= being something other than "arbitrary
string", and add a g.remove script which would be a thin wrapper around
g.mremove (possibly the only difference would be to re-declare the types
of the pattern=/exclude= options).
>
> This might go against the reasons for doing this whole thing, reducing
the complexity of interface and maintenance cost by reducing the number of
modules:
>
> * http://osgeo-org.1560.x6.nabble.com/g-mlist-list-multiple-types-from-
all-mapsets-td5142385.html
>
> Or were there some other reasons?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437#comment:15&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
--------------------------------------------------+-------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.list, g.remove, g.mlist, g.mremove | Platform: All
      Cpu: Unspecified |
--------------------------------------------------+-------------------------

Comment(by hcho):

I just added names= and ignores= in r62244. These options take a list of
filenames and convert it to a glob pattern.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437#comment:16&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
--------------------------------------------------+-------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.list, g.remove, g.mlist, g.mremove | Platform: All
      Cpu: Unspecified |
--------------------------------------------------+-------------------------

Comment(by annakrat):

I noticed that this:

{{{
g.remove type=rast names=test@user1
}}}

gives error:

{{{
WARNING: Illegal filename <test@user1>. Character <@> not allowed.
ERROR: Illegal filenames not allowed in the names option.
}}}

In the previous version of g.remove, full name was working. I like the
previous behavior more but of course the mapset is not really needed.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437#comment:17&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
--------------------------------------------------+-------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.list, g.remove, g.mlist, g.mremove | Platform: All
      Cpu: Unspecified |
--------------------------------------------------+-------------------------

Comment(by glynn):

Replying to [comment:17 annakrat]:

> In the previous version of g.remove, full name was working. I like the
previous behavior more but of course the mapset is not really needed.

Even so, a fully-qualified name should be accepted provided that the
mapset is the current mapset. Code which executes GRASS modules should be
able to use fully-qualified names throughout.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2437#comment:18&gt;
GRASS GIS <http://grass.osgeo.org>

#2437: order parameters in g.remove window
--------------------------------------------------+-------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.list, g.remove, g.mlist, g.mremove | Platform: All
      Cpu: Unspecified |
--------------------------------------------------+-------------------------

Comment(by hcho):

Replying to [comment:18 glynn]:
> Replying to [comment:17 annakrat]:
>
> > In the previous version of g.remove, full name was working. I like the
previous behavior more but of course the mapset is not really needed.
>
> Even so, a fully-qualified name should be accepted provided that the
mapset is the current mapset. Code which executes GRASS modules should be
able to use fully-qualified names throughout.

This behavior is now fixed in r62303.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2437#comment:19&gt;
GRASS GIS <http://grass.osgeo.org>