emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Re: planner-accomplishments errors


From: Sacha Chua
Subject: [emacs-wiki-discuss] Re: planner-accomplishments errors
Date: Sat, 04 Sep 2004 01:20:45 +0900
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

address@hidden writes:

> I seem to be unable to use planner-accomplishments.  If I try M-x 
> planner-accomplishments-show, I get this backtrace:
> Signaling: (void-function derived-mode-p)

Oh, blast. Sorry, GNU Emacs-ism, I think. derived-mode-p is in subr.
On XEmacs, you may need to load 'derived. Could you try that?
Temporary workaround: use planner-derived-mode-p, which uses equal
under XEmacs.

> Signaling: (wrong-type-argument integer-or-marker-p "\\(\\s-*\\)|")
>   narrow-to-region(362 "\\(\\s-*\\)|")
>   (save-restriction (narrow-to-region begin end) (untabify (point-min) 
> (point-max)) (setq fullexp (concat regexp ",")) (save-excursion 
> (get-buffer-create "  *arx-buf*  *") (set-buffer "  *arx-buf*  *") 
> (erase-buffer) (insert fullexp) (goto-char ...) (while ... ...) (setq fullexp 
> ...)) (while (setq end-pos ...) (setq end-pos ...) (setq min-column 0 
> min-char 9999) (setq regexp ...) (goto-char ...) (while ... ... ...) 
> (goto-char ...) (setq min-column ...) (while ... ... ...) (setq 
> last-start-column ... start-pos ...)))
>   (save-excursion (save-restriction (narrow-to-region begin end) (untabify 
> ... ...) (setq fullexp ...) (save-excursion ... ... ... ... ... ... ...) 
> (while ... ... ... ... ... ... ... ... ... ...)))
>   (let (min-column min-char (start-pos 0) end-pos fullexp 
> (old-case-fold-search case-fold-search) (last-start-column 0) sep-string) 
> (setq case-fold-search fold-case) (save-excursion (save-restriction ... ... 
> ... ... ...)) (setq case-fold-search old-case-fold-search))
>   align-regexp(1 362 "\\(\\s-*\\)|" 1 1 t)

This is align-regexp's fault, I think! <laugh> Try commenting out
the following lines in planner-accomplishments-format-table:

      (when (fboundp 'align-regexp)
        (align-regexp (point-min) (point-max) "\\(\\s-*\\)|" 1 1 t))

If it works, then we might need to put in compatibility code for released
versions of Emacs...

-- 
Sacha Chua <address@hidden> - open source geekette
interests: emacs, gnu/linux, making computer science education fun
wearable computing, personal information management
http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C




reply via email to

[Prev in Thread] Current Thread [Next in Thread]