Steve Youngs <steve@xxxxxxxxxxx> writes:
> Yo bug team:
>
> (this bug report written from a gnuclient session of the currently
> broken running(?) SXEmacs/XWEM session).
>
[...]
>
> So the next thing I tried was to remove the stuff in my xwemrc.el that
> saved/loaded my frames config and replaced it with:
>
> (xwem-restore-frames-config "/path/to/frames-conf.el")
>
> And that produced an error on the next restart...
>
> ,----[ xwem-error ]
> | (1) (initialization/error) An error has occurred while loading
> /home/steve/.sxemacs/init.el:
> |
> | Wrong type argument: XCreateWindow, X-Dpy-p, nil
> |
> | To ensure normal operation, you should investigate the cause of the error
> | in your initialization file and remove it. Use the `-debug-init' option
> | to SXEmacs to view a complete error backtrace.
> |
> `----
> Maybe that's important? I dunno.
No, sure it will fail, since you did it at time when xwem is not
started
>
> As to the strange behaviour of H-x 5 5... it does indeed go away if I
> run a virgin XWEM (ie no ~/.xwem/xwemrc.el). So it _must_ be
> something in my config. Evgeny, could you please take a look...
yes, that is follow-mouse focusing .. i'll provide fix to this problem
>
> (progn
> (require 'ffi-curl)
> (curl:download "http://www.xwem.org/xwemrc.el"
> "/tmp/steve-xwemrc.el")
> (find-file "/tmp/steve-xwemrc.el"))
>
> :-)
hehe, nice configuration!
;; Transparent frames (no, not transparent clients)
(add-hook 'xwem-frame-creation-hook 'xwem-frame-transparency)
This part causes your problem, use:
;; Transparent frames (no, not transparent clients)
(require 'xwem-frametrans)
(add-hook 'xwem-frame-creation-hook
(lambda (frame)
(xwem-frame-transparency frame t)))
instead. Anyway, i'll provide some fixing to xwem-frametrans aswell
There is an aspect, you did not required 'xwem-frametrans, so at time
when frame configuration restored 'xwem-frametrans was not loaded, so
xwem was not having any idea about 'transparency property of restored
frames, this property simple was set without any additional actions
(such as creating/applying xmask, etc), but .. but when frames are
restored from one-time-desktop `xwem-frame-creation-hook' is run and
`xwem-frame-transparency' tried to turn off transparency thinking that
transparency is enabled(because property is set), so it tries to
remove xmask and shape and fails, because there no masks and no shape
changes ..
Next commit(along with change above to your xwemrc.el) will fix your
problems ..
BTW i surprized that you dont use
(customize-set-variable 'xwem-minibuffer-emacs-frames-has-minibuffer nil)
:)
Thanks Steve!
--
lg
|