unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* speedbar & emacsclient
@ 2006-05-10 13:07 Martin Slouf
  0 siblings, 0 replies; only message in thread
From: Martin Slouf @ 2006-05-10 13:07 UTC (permalink / raw)


hello,

im encountering a strange (ie. unwanted) behaviour of speedbar while running a
lot of emacsclient created frames/buffers.

I usually edit my mail from mutt using emacsclient for qucik startup.  when i
close the emacsclient frame, i end up in a mutt and send email.

so far, so good.

But sometime (dont know when or why, maybe it has something to do with the
focus) the mail i have just editted (the file from /tmp/mutt-......) is shown
in my speedbar.  speedbar is changed to normal buffer and i have to close it
and re-open with (speedbar) command.

i use custom hooks for server-visit-hook and server-done-hook.  In
server-done-hook i call kill-buffer to properly close the file.

- - - -

(defun emacsclient-custom2()
  "Usage in server-done-hook"
  (if window-system
      (progn (kill-buffer (buffer-name))
    	     (delete-frame))))
(add-hook 'server-done-hook '(lambda() (emacsclient-custom2)))

- - - -

any solution to this (ie. close the emacsclient window and leave the speedbar
untouched)?

thanks.

martin.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-10 13:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-10 13:07 speedbar & emacsclient Martin Slouf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).