init.el I have the below setting for the initial frame position:
(setq default-frame-alist '((top . 80) (left . 300) (width . 85) (height . 45)))
When I open a file in a new frame, it overlaps the previous frame.
How do I set the position of the new frame to be, for example,
x width and
y height from the previous frame?
This is so that the new frame will not overlap with the previous frame and all open frames (windows) will be clearly visible.