#3263·ranger

Hide actions.py's helper functions from the command line

Author: hutCreated Aug 10, 2026Updated Aug 10, 2026
Labelsbug

ranger.core.actions.Actions.get_macros appears to be a helper function, but is also exposed to the command line, i.e. you can run :get_macros as a command in ranger, to do precisely nothing at all.

It should not be exposed. We can't just delete it, since others may rely on this (see https://github.com/ranger/ranger/blob/master/examples/plugin_new_macro.py ), so we need another way to prevent it from showing up from the command line.

There are probably more examples like these.