emacs-devel
[Top][All Lists]
Advanced

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

address@hidden: partial-completion-mode error]


From: Richard Stallman
Subject: address@hidden: partial-completion-mode error]
Date: Mon, 07 Aug 2006 01:00:54 -0400

Would someone please DTRT and ack?

------- Start of forwarded message -------
To: address@hidden
From: Dan Nicolaescu <address@hidden>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 04 Aug 2006 18:26:36 -0700
Subject: partial-completion-mode error
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed 
        version=3.0.4


Doing:

emacs -q
M-x partial-completion-mode RET

C-x C-f /usr/share/X11/xkb/symbols/pc TAB TAB

I get an error: Wrong type argument: sequencep, t

The error seems to be thrown by the `aref' in the following code in
PC-do-completion because `prefix' is nil:

            (if (and (not (eq mode 'help))
                     (setq prefix (try-completion (PC-chunk-after basestr skip) 
(mapcar 'list poss))))
                (let ((first t) i)
                  ;; Retain capitalization of user input even if
                  ;; completion-ignore-case is set.
                  (if (eq mode 'word)
                      (setq prefix (PC-chop-word prefix basestr)))
                  (goto-char (+ beg (length dirname)))
                  (while (and (progn
                                (setq i 0) ; index into prefix string
                                (while (< i (length prefix))
                                  (if (and (< (point) end)
                                           (eq (downcase (aref prefix i))
                                               (downcase (following-char))))
                                      ;; same char (modulo case); no action


The /usr/share/X11/xkb/symbols/ contains besides the "pc" file a "pc~"
file. If the "pc~" file is not present, no error is generated. 

Can somebody please take a look at this? 

Thanks
        --dan


_______________________________________________
emacs-pretest-bug mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------




reply via email to

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