;ELC   
;;; compiled by jwz@thalidomide on Tue Mar 29 02:01:22 1994
;;; from file /th/jwz/emacs19/lisp/packages/webster.el
;;; emacs version 19.10 Lucid (beta10).
;;; bytecomp version 2.22; 22-dec-93.
;;; optimization is on.
;;; this file uses opcodes which do not exist in Emacs 18.

(if (and (boundp 'emacs-version)
	 (or (and (boundp 'epoch::version) epoch::version)
	     (string-lessp emacs-version "19")))
    (error "This file was compiled for Emacs 19."))

(defvar webster-host "agate.berkeley.edu" "\
The host to use as a webster server.")
(defvar webster-port "2627" "\
The port to connect to. Either 103 or 2627")
(defvar webster-process nil "\
The current webster process")
(defvar webster-process-name "webster" "\
The current webster process")
(defvar webster-buffer nil "\
The current webster process")
(defvar webster-running nil "\
Used to determine when connection is established")
(fset 'webster-initial-filter #[(proc string) "p	qˆdbˆÂ!Ä=¬‰ÅÇÈ!ˆª§ÉÊ\"«�ÅÌÍ!!ˆÏÐ!ˆª�ÉÑ\"«‰ÅÒÓ\"ˆq)‡" [this-buffer webster-buffer process-status webster-process run t webster-running message "Webster died" string-match "No such host" string kill-buffer process-buffer proc error "No such host." "]" set-process-filter webster-filter] 3])
(defvar webster-reformat t "\
*Set this to t if you want the webster output to be prettied up, and
for the \\[webster] prompt to do completion across the set of words known
to be in the dictionary (words you've looked up, or which appeared in 
definitions as crossreferences.)")
(byte-code "ÀÁMˆÂÃÄ\"ÆÇM‡" [webster-filter #[(proc string) "pÀqˆÄ!Æ=¬‡ÇÈ!ˆ‚– ÉÊ\"«˜ÇÌ!ˆÍ!ˆÏÐÑÀ#ˆÒbˆÇÓ!ˆªâÉÔ\"«…ÕcˆªÖÉÖ\"«…×cˆªÊÉØ\"®…ÉÙ\"‰­•ÛÜÒZOÝP\"ˆÞdbˆÞ)¬¡dbˆ`cˆà`áâ$ˆ)ã!«ˆã!`À“ˆ	­­ä!å &'(«‡èã!!ˆ'­”é'!ˆdbˆêë'!S!ˆé&!**‡" [nil endp this-buffer webster-buffer process-status webster-process run message "Webster died" string-match "Connection closed" string "Closing webster connection..." kill-process proc replace-regexp "Process webster killed" "" 1 "Closing webster connection...Done." "SPELLING 0" "...Word not found in webster\n" "SPELLING 1" "...Spelled correctly\n" "€" " " end-def-message webster-filter 0 "\n\n" t now delete-char-in-region "" " " process-mark get-buffer-window selected-window window webster-window webster-reformat select-window recenter window-height] 7] make-vector 511 0 webster-completion-table webster-intern #[(string) "ÀÁ\n\"«Ž\nÃ‰”O\nÃ•ÄOPªlÅ\n—\"‡" [string-match "\\." string 0 nil intern webster-completion-table] 4]] 3)
(defvar webster-fontify (string-match "Lucid" emacs-version) "\
*Set to t to use the Lucid GNU Emacs font-change mechanism.")
(byte-code "ÀÁ!«ÕÂÃ!¬ŒÄÁÃ!!¬…ÅÆÃ\"ˆÂÇ!¬ŒÄÁÇ!!¬…ÅÈÇ\"ˆÂÉ!¬ŒÄÁÉ!!¬…ÅÊÉ\"ˆÂË!¬ŒÄÁË!!¬…ÅÌË\"ˆÂÍ!¬ŒÄÁÍ!!¬…ÅÇÍ\"ˆÎÏM‡" [fboundp make-face find-face webster face-differs-from-default-p copy-face default webster-bold bold webster-italic italic webster-bold-italic bold-italic webster-small webster-fontify #[(start end face &optional highlight) "À	\np#Ä\"ˆ­…ÇÆÈ#)‡" [make-extent start end e set-extent-face face highlight set-extent-property t] 4]] 3)
(fset 'webster-reformat #[(end) "??…÷	bˆÂÄÅÂÆ#ˆ«”ŠÈÉ!ˆÊË!«‰ÇÉ”É•ÌÆ$ˆ)ÊÍ!¬†ÊÎ!…öÉyˆ`ÏÒÓÂÔ#ˆ`}ˆbˆÒÕÂÆ#«‰Ö×!ˆØ ˆªpbˆm„àÊÙ!«†Ô”Ô•|ˆÊÚ!«Ç«‡Ç`Ô•Û#ˆÔ•bˆÊÜ!«ŠŠÔ•SbˆÕcˆ)ÊÝ!«ˆÞ`Ô•S{!ˆ«‰Ç`Ô•SÌÆ$ˆÔ•SbˆÊÙ!«*Éyˆª%Êß!«§àá ˆhâU«ƒãª�äcˆåÂwˆ«ÇŠÔyˆ`)`Û#ˆ‚` Êæ!«³É”É•{'Ô”Ô•|ˆÕcˆè'GZjˆ'é±ˆê«‹ÇŠÔyˆ`)`Û#ˆ)‚` Êë!«ÉÉ”É•{Ï”Ï•{,',íš¬ƒî'Ô”Ô•|ˆÕcˆè'GZjˆ'ã±ˆ,é±ˆï«‹ÇŠÔyˆ`)`Û#ˆ*‚` Êð!«àÉ”É•{Ï”Ï•{ñ”ñ•{2,'2óš¬ƒî,,íš¬ƒî'Ô”Ô•|ˆÕcˆè'GZjˆ'ã±ˆ,ã±ˆô2õ±ˆö«‹ÇŠÔyˆ`)`Û#ˆ+‚` Ê÷!«±à`Ô•bˆÒø!ˆi9V«ŽbˆÕcˆújˆÒø!ˆƒ` Ç`û#ˆ‚` Êü!«’èá ˆÕcˆàjˆÉuˆ‚` hýU«‘Êþ!«Œá ˆàÿcˆ‚` Ê�@ !«±`Ô•|ˆÕcˆá ˆãcˆèÊ�A !ƒ` «ˆÇ``ñ\\Ì#ˆÔ•bˆ�B cˆ‚` `�C ÂwˆÊ�D !¬‡Ê�E !«´`Ô•{F«ˆÇ`Ô•ÌÆ$ˆ�G �H F\"«‘FÔ‰”OFÔ•ÂOPFªdÞF!ˆ)�I Âwˆi9Vƒ` bˆÕcˆá ˆjˆîÂwˆ�I Âwˆ‚` *ebˆÊÕ!«†ÖÉ!ˆªudbˆÓcˆ~)‡" [webster-reformat end nil case-fold-search re-search-backward "^[A-Z]+" t webster-fontify previous-line 1 looking-at "^DEFINE \\([^ \n]+\\)" webster-bold "^DEFINITION [0-9]" "^SPELLING" 2 indent p search-forward "\n\n" 0 "\n" delete-char -1 just-one-space " *\n" "^[0-9]+ " webster-bold-italic "[^\n0-9]+ [0-9]" "[a-z]+\\( [a-z]+\\)*[ \n]" webster-intern " *[0-9]+\\. " 5 delete-horizontal-space 10 "  " "\n  " "0-9. " " *\\([0-9]+\\): *" n 6 " : " 9 " *\\([0-9]+\\)\\([a-z]+\\): *" m "a" " " 12 " *\\([0-9]+\\)\\([a-z]+\\)\\([0-9]+\\): *" 3 o "1" "(" ") : " 17 " *\\\\" "\\" fill-column 18 webster-italic " *\\[" 93 " *:" "\n " " *SYN *" "syn " "see " " ,:;-" "\\([A-Z][-A-Z]+[A-Z]\\)\\( [A-Z][-A-Z]*[A-Z]\\)*" "[a-z][-a-z]*\\(\\.[a-z][-a-z]*\\)+" s string-match "\\." "^ \\"] 5 "\
Clean up the output of the webster server, and gather words for the 
completion table."])
(fset 'delete-char-in-region #[(start end char1 char2) "bˆ	ÂHÃÆ#­’ÇÈ!ˆ`ÉZf	U«mÇÈ!ˆªg‡" [start char2 0 search-forward char1 end t delete-char -1 1] 4])
(fset 'webster #[(arg) "Áš«ƒÂ ÃÄ\"‡" [arg "" current-word webster-send-request "DEFINE"] 3 "\
Look up a word in the Webster's dictionary.
Open a network login connection to a webster host if necessary.
Communication with host is recorded in a buffer *webster*." (byte-code "ÀÁ ÂQÃ«‰ÇÉ‰$ªƒÊ!—*C‡" ["Look up word in webster (" current-word "): " t completion-ignore-case prompt webster-reformat completing-read webster-completion-table nil read-string] 5)])
(fset 'webster-endings #[(arg) "Áš«ƒÂ ÃÄ\"‡" [arg "" current-word webster-send-request "ENDINGS"] 3 "\
Look up endings for a word in the Webster's dictionary.
Open a network login connection to a webster host if necessary.
Communication with host is recorded in a buffer *webster*." (byte-code "ÀÁÂ ÃQ!C‡" [read-string "Find endings for word in webster (" current-word "): "] 4)])
(fset 'webster-spell #[(arg) "Áš«ƒÂ ÃÄ\"‡" [arg "" current-word webster-send-request "SPELL"] 3 "\
Look spelling for a word in the Webster's dictionary.
Open a network login connection to a webster host if necessary.
Communication with host is recorded in a buffer *webster*." (byte-code "ÀÁÂ ÃQ!C‡" [read-string "Try to spell word in webster (" current-word "): "] 4)])
(fset 'webster-send-request #[(kind word) "ÀÁ!ˆÂÄÆ°«Œ	«ˆÊ	!Ë=¬ÈÌÍÎQ!ˆÏÐ!¬‡ÑÓ\"ª…ÐÓ\"pqˆÕ ˆqˆ)Ö!	×	Ø\"ˆÙ	\"ˆÚ¬…Ü ˆªwÝÚ\"ˆÙ	ÄÆR\")‡" [require shell "open " webster-host " " webster-port "\n" webster-command webster-buffer webster-process process-status run message "Attempting to connect to server " "..." fboundp make-shell make-comint webster-process-name "telnet" this-buffer webster-mode get-process set-process-filter webster-initial-filter process-send-string nil webster-running accept-process-output display-buffer kind word] 6])
(fset 'webster-quit #[nil "ÀÁ\n\"ˆÃ!ˆÀÅ\n\"ˆÆ ‡" [message "Closing connection to %s..." webster-host kill-process webster-process "Closing connection to %s...done" bury-buffer] 3 "\
Close connection and quit webster-mode.  Buffer is not deleted." nil])
(byte-code "ÀÁ!¬‚ÂÂ‡" [boundp webster-mode-map nil] 2)
(fset 'webster-mode #[nil "À ˆÁÃÅ!ˆÇÈ!‡" [kill-all-local-variables webster-mode major-mode "Webster" mode-name use-local-map webster-mode-map run-hooks webster-mode-hook] 2 "\
Major mode for interacting with on-line Webster's dictionary.
\\{webster-mode-map}
Use webster-mode-hook for customization." nil])
(byte-code "¬®Á ÂÃÄ#ˆÂÅÆ#ˆÂÇÈ#ˆÂÉÊ#ˆÂËÌ#ˆÍÎ\"«†ÂÐÑ#ˆÁ‡" [webster-mode-map make-sparse-keymap define-key "?" describe-mode "d" webster "e" webster-endings "q" webster-quit "s" webster-spell string-match "Lucid" emacs-version button2 webster-xref-word] 4)
(fset 'webster-xref-word #[(event) "ÀÁ\n!!ÄÅ\n!Æ#È	«’ŠqˆÊ!Ë!{)	ªŽÌ «†Í 	ª„ÎÏ!ˆÐÑ	\"«‘	Ò‰”O	Ò•ÈOP	ªhÓÔ	–\"ˆdbˆÕ	!+‡" [window-buffer event-window event buffer extent-at event-point highlight extent nil text extent-start-position extent-end-position x-selection-owner-p x-get-selection error "click on a highlighted word to define" string-match "\\." 0 message "looking up %s..." webster] 4 "\
Define the highlighted word under the mouse.
Words which are known to have definitions are highlighted when the mouse
moves over them.  You may define any word by selecting it with the left
mouse button and then clicking middle." "e"])
