How can we see that we're on the NEW Publish page or editing a current one from inside the code.

I checked with $publish->ID it returns Publish ID just in case of recent Publish also.

Please advise a solution.

Thanks ahead of time.

can you really use add_action for example:

function editing_flag(){
     //set a flag to the post being edited

then in one.perl, you see if the flag is placed like:

    echo 'the post is being edited';

but recall to unflag it when you're done editing. case a concept