Hi,

I have run into the same problem with C-cC-c no longer working when
using emacs-snapshot. With the help of Romain Francoise I think I have
found the problem. In post.el it says:

(defun post-body-says-attach ()
  "Check if attach appears in the body."
  (post-goto-body)
  
  ;; Aargh it's annoying that how-many returns a string,
  ;; "13 occurences" instead of a number, 13.
  (let ((total-attach (string-to-int (how-many post-attachment-regexp))))
    ;; And this mess is just to catch the unlikely false alarm of
    ;; "attach" being in the signature, but not in the body.
    (if (> total-attach 0)
        (progn (post-goto-signature)
               (> total-attach (string-to-int (how-many
                                               post-attachment-regexp)))))))

With Emacs 22 'how-many' now does what the post.el author wants, ie it
returns an integer. Removing 'string-to-int' from the above code seems
to cure the problem. Of course, this is not the right solution since it
would break on Emacs <22, but I leave that for somebody with better Lisp
knowledge ...

cheerio
ralf


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

Reply via email to