Each time when I open a new file using emacsclient -t -q file.txt, mode-line-frame-identification number keep increases. What is the reason for it, and can I reaccess to previously numbered frames?


Is it possible to keep it at 1, or when emacsclient starts connect to F1 instead of incrementing its value?


Every time you connect to emacs with emacsclient -t, it creates a new frame, hence the number keeps increasing. Those frames are destroyed when you disconnect with C-x #, so there's no way to get back to them.

If you want to change what's displayed in the mode-line, you can change mode-line-format to remove or replace mode-line-frame-identification.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.