Closed sfranky closed 6 years ago
By default Config_autoSaveSession=auto
, which restores the previous window settings, if the window id is still found. You may try Config_autoSaveSession=ask
in Config.ini or start a new instance of the Emacs window, if not already done.
Regarding the rule: The first two fields are interpreted as regular expressions; you may try Config_rule=ConsoleWindowClass;.*emacs.exe;;1;1;2;1;0;0;
.
thanks very much for your reply. I'm not sure I understood what you said, but I think it mostly works if I close and reopen the window, so thanks. When is the session saved? What does it mean when it asks me if I want to restore an old session? The regex solution worked, but I don't understand why the full name one would not, since it's the program itself that is giving me the suggestion for the name. Am I missing something?
Config_maintenanceInterval
(by default every 5 seconds).Config_autoSaveSession=ask
bug.n shows a yes/no-pop-up regarding the session restore, if you restart bug.n. If the answer is "yes", ist restores the values of the bug.n-internal configuration variables and tries to restore the window position/hide/...-status of known windows (by window id).Manager_getWindowInfo
-function I was lazy and just wanted to give a copyable string to paste into Config.ini and have a starting point for creating a rule. I have to admit, that the documentation is not clear about this..*
was just lazy -- again -- on my part ;-) You may have a look at the AutoHotkey Regular Expressions (RegEx) - Quick Reference.ok many thanks, everything clearer now! thanks again for all your work, this program is a godsend !!
Hi guys! lovely tool, thanks for making this!
what does it mean when a rule is not obeyed? could there be something wrong in my .ini file? e.g. I fire up Emacs, which has a secondary cmdprompt window show up. I'm doing #i to see the rule, I get
Config_rule=ConsoleWindowClass;C:\Program Files\emacs\bin\emacs.exe;;1;1;128;1;0;0;
I then copy this in my .ini file and change e.g. the tag to 2, or float status, save and reload. Nothing changes. If I do #i, I get the same. Any ideas? thanks!