Opening externally a file does not affect any more neither the state of the panes, nor the history of the "quick view" function.
Got finally ridden of all those heavy overlays. Hiding/showing attributes is now visibly ligther.
This function is effectively a no-op when the sr-autoload-extensions variable is customized to be nil. Used in autoload cookies.
C-c is intercepted anyway, so these bindings do not interfer with the normal use of term-mode.
Other bindings won't work as expected, since the user input is passed character-by-character to the underlying shell process.
The previous version of these cookies caused the whole SC to load at startup. Now extensions are only required after the SC core has been loaded.
When the Sunrise pane buffer is being restored, the other one might still not be (the naïve use of 0.1s timer is no solution (besides being totally misguided, as the desktop functionality tried to call the minor mode function, and thus `sr-modeline-toggle', right away anyway)) and trying to use the usual pane/window switching functions is going to result in an error. Meanwhile, `sr-modeline-refresh' does all that is needed for a single pane.
It turns out that `unload-feature' fails to remove unnamed hook functions (leading to bugs such as unbound variable evaluation). Using lambdas in documentation-accessible code is usually a bad idea anyway, as they are harder to inspect, esp. when compiled.
- the restorable modes have to be autoloaded (cf. eg. the documentation string of `desktop-buffer-mode-handlers') - activate `sr-mode' in the restored buffer - execute the code in proper context - mark `dired-subdir-alist' permanent-local to prevent its being blown away when switching from `dired-mode' - other minor fixes (use `assq' instead of `assoc' for comparing symbols, use `when' instead of one-armed `if')
This makes it possible to immediately distinguish Sunrise and Dired buffers from their names only, have both Dired and Sunrise buffers visiting the same directory etc.
…s no longer adviced.
+Minor improvements in management of graphical highlight.