On Tuesday, October 5, 2004 at 08:04:05, Matthieu Moy wrote:
> Robert Widhopf-Fenk <[EMAIL PROTECTED]> writes:
> 
> > Would it be an option to let it stay longer, i.e. until the
> > next key/mouse event?
> 
> Ah, this is because you have (setq tla-switch-to-buffer-mode
> 'single-window). The buffer doesn't "disapear", it's just that
> another buffer replaces it.
> 
> I've tried a fix for that, Try to upgrade and tell me if it's OK.

Well I use XEmacs ... ;-/

Signaling: (void-function compare-window-configurations)
  (compare-window-configurations cur (current-window-configuration))
  (if (compare-window-configurations cur (current-window-configuration)) (progn 
(split-window-vertically) (other-window 1)))
  (when (compare-window-configurations cur (current-window-configuration)) 
(split-window-vertically) (other-window 1))
  (let ((cur ...)) (other-window 1) (when (compare-window-configurations cur 
...) (split-window-vertically) (other-window 1)))
  (if (eq tla-switch-to-buffer-mode (quote single-window)) (let (...) 
(other-window 1) (when ... ... ...)))
  (when (eq tla-switch-to-buffer-mode (quote single-window)) (let (...) 
(other-window 1) (when ... ... ...)))
  (let ((message ...)) (switch-to-buffer (get-buffer-create "*tla-tip*")) 
(tla-tips-mode) (let (...) (erase-buffer) (insert ... "\n\n") (insert message) 
(newline 2) (insert ...)) (when (eq tla-switch-to-buffer-mode ...) (let ... ... 
...)))
  tla-tips-popup-number(2)
  tla-tips-popup()
  (if tla-tips-enabled (tla-tips-popup))
  (when tla-tips-enabled (tla-tips-popup))
  tla-tips-popup-maybe()
  #<compiled-function nil "...(26)" [dir log-buffer default-directory 
save-buffer require xtla-tips tla-tips-popup-maybe tla-commit lambda (output 
error status args) kill-buffer] 5 nil nil>()
  call-interactively(tla-log-edit-done)

> Note that I've enabled the tip only for commit. I think this is a
> rather good compromise : You should commit rather regularly, not too
> often, not too rarely, and this happen at a time you can free your
> mind for a few seconds (whereas the tip buffer would be a bit
> disturbing in an operation where people are supposed to be
> concentrated).

This is very clever ....

> I've used it for a few days, and I'm happy with it. Well, no, I'm
> unhappy: I didn't learn anything with it since I'm the author of all
> the tips ;-)

I would really love to do more, but time ...

Bye Robert

Reply via email to