Actually, this is kind of aimed at Adrian again, but I know he's vacationing
this week. Hopefully he'll see it when he returns.
Noticed another minor bug w/ the newest released clearcase.el that shows
itself under XEmacs, but if I do the same thing in Vanilla Emacs w/ the XEmacs
clearcase.el it functions ok there...
Basically I have this little helper function (a bastardized version of
;; load all files on a specific branch (should probably prompt for dirname
(defun my-clearcase-find-files-on-branch (&optional branch)
(interactive "sBranch name: ")
(let ((viewtag (clearcase-fprop-viewtag default-directory)))
(let* ((ignore (message (concat "Running command 'find /vobs/IPL -version
'version(.../" branch "/LATEST)' -print")))
(ret (clearcase-ct-blocking-call "find"
(files (split-string ret)) ;; ret is a big string, need to split
;; it into a list of individual files
(if (zerop (length ret))
(message "No files found")
(message "Running command...done. Loading files into buffers...")
(mapcar 'find-file files)
And running this in the current XEmacs (21.4.16) under Solaris (not Windoze)
with the recently released clearcase.el, the only buffers that get the
ClearCase menu on the menubar are the ones that are in Fundamental mode still
- any that go into another mode (like C++ code) lose that menu entry (even
though the modeline still indicates that it's in ClearCase mode).
[Note that if I do this in Vanilla Emacs, all the buffers have the menu item
as expected (not even sure why I tried that).]
Also, if I toggle clearcase-mode "off" in one of these buffers that don't
the menu, it does appear to turn off (the minor mode info dissappears from the
modeline). Then if I toggle it "on" again, the menu item appears (and be
functional), but the modeline info doesn't reappear...
[Note that last oddity appears in Vanilla Emacs as well.]
I've tried to debug it a little, but haven't made much headway yet and I'm
sure how much time I'll have to devote to it so figured I'd toss this out
there for Adrian to consider when he returns, in case he needs something to
do.:) I'll continue trying to debug it as I can and report back if I figure
Charles K. Hines <ckh(a)requesttech.com> <chuck.hines(a)baesystems.com>
Principal Scientist at ReQuest Technologies Inc. (http://www.ReQuestTech.com/
"Oooh, you've touched my inner child...and HE'S REALLY MAD!"
(The Black Knight Ghost in "Scooby-Doo 2")