Bug#418110: documentation at top of pcomplete.el should not tell users to (load "pcmpl-auto")

2007-04-09 Thread Glenn Morris
"Jason Spiro" wrote:

> Remove the line
> ;;   (load "pcmpl-auto")
> from the top-of-file comments; just (add-hook 'shell-mode-hook
> 'pcomplete-shell-setup) works fine on its own.

Corrected, thanks.



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



Bug#418110: documentation at top of pcomplete.el should not tell users to (load "pcmpl-auto")

2007-04-06 Thread Jason Spiro

Package: emacs-snapshot
Version: 1:20070302-1
X-Debbugs-CC: emacs-pretest-bug@gnu.org,[EMAIL PROTECTED]
Severity: minor

Hi all, I noticed a minor issue which affects Emacs in Debian, and
which I think also affects upstream Emacs 22.  The documentation at
the top of pcomplete.el[1] says near the beginning:

;; To use pcomplete with shell-mode, for example, you will need the
;; following in your .emacs file:
;;
;;   (load "pcmpl-auto")
;;   (add-hook 'shell-mode-hook 'pcomplete-shell-setup)

But (load "pcmpl-auto") causes Emacs to give the error:

"An error has occurred while loading `/home/j/.emacs':
File error: Cannot open load file, pcmpl-auto
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace."

Solution:

Remove the line
;;   (load "pcmpl-auto")
from the top-of-file comments; just (add-hook 'shell-mode-hook
'pcomplete-shell-setup) works fine on its own.

Note:  Please use "Reply to All" to reply to this message.

[1] You can view the source online at
http://www.koders.com/lisp/fid6869CAE869B78DF8BC1F12A395430EF4DC40BBB9.aspx?s=TV+Raman


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