I've tried posting this on comp.emacs.xemacs but have had no responses so far...
I tried using clearcase-submit-bug-report but the e-mail bounced with
a user unknown error for <esler(a)rational.com>.
Emacs: XEmacs 21.4 (patch 12) "Portable Code" [Lucid] (sparc-sun-solaris2.8,
Mule) of Mon Mar 10 2003 on gax
Package: clearcase.el </main/161>
I tend to have many different buffers open in clearcase-mode at the
same time for extended periods of time. Frequently, when I've
finished working with them, I'll switch to a shell-mode buffer and do
a mass-checkin with "cleartool ci -all -cvi -s | xargs cleartool ci
...". After doing this, I'll run a function that I've written which
calls revert-buffer on all of the unmodified buffers with associated
files. At this point, all of the cached clearcase-mode file
properties are out of sync. To work around this, I've written the
(defun clearcase-revert-buffer-properties (&optional buffer)
(list (get-buffer (read-buffer "Buffer name: " (current-buffer)
(let ((buffer (or buffer (current-buffer))))
(let* ((file (buffer-file-name buffer))
(properties (clearcase-fprop-read-properties file)))
(clearcase-fprop-store-properties file properties)
This does the trick with the unfortunate drawback that redraw-modeline
does not actually cause the modeline to display the correct thing. Is
there a better way for me to do this; i.e. better way to resync the
clearcase-fprop with the actual state of the file and redraw the
modeline? Thanks in advance for any help.
BTW, is there any good way to tell which modes are being used by a
buffer? One can get the buffer local value of major-mode for the
major mode but what about the minor modes?
Show replies by date