>>>>> "satoru" == satoru takeuchi <[EMAIL PROTECTED]> writes:

satoru> Hi, At Mon, 25 Feb 2008 10:41:55 +1100, Peter Chubb wrote: ...
>> I'm using quilt-el with xemacs. After editing for a while, I always
>> see `Wrong type argument: stringp, nil' when doing push or pop
>> operations.  Quilt-push and quilt-pop operations are pretty slow,
>> too.

satoru> Does it happen on another quilt repository, or on just one?
satoru> And what in case of issuing other commands like quilt-top?

It happens with all the quilt repositories I have.

It happens with quilt-push, quilt-pop, quilt-goto, and quilt-push-all
but not with quilt-applied, quilt-files or quilt-top.  All the
commands that have to update buffer status --- the problem is in
quilt-revert.

I've fixed it for now with this patch (warning, may be space-mangled):


*** quilt.el~  Tue Feb 26 21:20:38 2008 
--- quilt.el    Tue Feb 26 21:19:53 2008 
*************** 
*** 164,175 **** 
          (if (and (quilt-owned-p fn) 
                   (not (buffer-modified-p))) 
              (revert-or-hook-buffer)))))) 
!   (defun revert-list (buffers) 
!     (if (not (car buffers)) 
        nil 
!       (revert (car buffers)) 
!       (revert-list (cdr buffers)))) 
!   (revert-list (buffer-list))) 
   
  (defun quilt-push (arg) 
    "Push next patch, force with prefix arg" 
--- 164,178 ---- 
          (if (and (quilt-owned-p fn) 
                   (not (buffer-modified-p))) 
              (revert-or-hook-buffer)))))) 
! ;;  (defun revert-list (buffers) 
! ;;    (if (not (car buffers)) 
! ;;    nil 
! ;;      (revert (car buffers)) 
! ;;      (revert-list (cdr buffers)))) 
!   (dolist (buffer (buffer-list)) 
!     (if (string-match (buffer-name buffer) "^ ") 
        nil 
!       (revert buffer)))) 
   
--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au           ERTOS within National ICT Australia
--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au           ERTOS within National ICT Australia



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to