comparison lisp/hilit19.el @ 13958:a6908f13121e

(hilit-submit-feedback): Fix message spelling.
author Karl Heuer <kwzh@gnu.org>
date Thu, 04 Jan 1996 23:19:14 +0000
parents 4a57cda2a39a
children 83f275dcd93a
comparison
equal deleted inserted replaced
13957:6468ee5316a4 13958:a6908f13121e
264 ;; documented another "known problem" to "head off gripe mail at the pass." 264 ;; documented another "known problem" to "head off gripe mail at the pass."
265 ;; 265 ;;
266 ;; Revision 2.3 1993/07/27 02:15:49 stig 266 ;; Revision 2.3 1993/07/27 02:15:49 stig
267 ;; (hilit-lookup-face-create) incorporated patch which improves it's behavior 267 ;; (hilit-lookup-face-create) incorporated patch which improves it's behavior
268 ;; with more than one frame... Still can't have bold on the same face in two 268 ;; with more than one frame... Still can't have bold on the same face in two
269 ;; differrent fonts sizes at the same time... 269 ;; different fonts sizes at the same time...
270 ;; 270 ;;
271 ;; Revision 2.2 1993/07/27 02:02:59 stig 271 ;; Revision 2.2 1993/07/27 02:02:59 stig
272 ;; vastly improved the makefile patterns 272 ;; vastly improved the makefile patterns
273 ;; added hook for mh-show-mode 273 ;; added hook for mh-show-mode
274 ;; 274 ;;
438 " [ ] a _MASSIVE_THANK_YOU_ for writing hilit19.el\n" 438 " [ ] a _MASSIVE_THANK_YOU_ for writing hilit19.el\n"
439 " [ ] An invitation to attend the next Hackers Conference\n" 439 " [ ] An invitation to attend the next Hackers Conference\n"
440 " [ ] You're a RIGHTEOUS HACKER, what are your rates?\n" 440 " [ ] You're a RIGHTEOUS HACKER, what are your rates?\n"
441 " [ ] I've used the force and read the source, but I'M CONFUSED\n" 441 " [ ] I've used the force and read the source, but I'M CONFUSED\n"
442 " [ ] a PATCH. (output of 'diff -uw old.el new.el' or 'diff -cw')\n" 442 " [ ] a PATCH. (output of 'diff -uw old.el new.el' or 'diff -cw')\n"
443 " [ ] a SERIOUS AND REPRODUCABLE BUG that is not an EMACS bug\n" 443 " [ ] a SERIOUS AND REPRODUCIBLE BUG that is not an EMACS bug\n"
444 " - I *swear* that it's not already mentioned in the KNOWN BUGS\n" 444 " - I *swear* that it's not already mentioned in the KNOWN BUGS\n"
445 " - I HAVE CHECKED ftp.hackvan.com:/pub/stig/src/elisp/hilit19.el.gz\n" 445 " - I HAVE CHECKED ftp.hackvan.com:/pub/stig/src/elisp/hilit19.el.gz\n"
446 " for a newer release that fixes the problem.\n" 446 " for a newer release that fixes the problem.\n"
447 " >> I HAVE ALSO CHECKED ftp.hackvan.com:/pub/stig/src/elisp/hl319.el.gz\n" 447 " >> I HAVE ALSO CHECKED ftp.hackvan.com:/pub/stig/src/elisp/hl319.el.gz\n"
448 " This is the alpha version...what will become hilit19 (Beta 3.0).\n" 448 " This is the alpha version...what will become hilit19 (Beta 3.0).\n"
470 ;; some further faces for Ada 470 ;; some further faces for Ada
471 (struct black-bold white-bold bold) 471 (struct black-bold white-bold bold)
472 (glob-struct magenta Plum1 default-bold-underline) 472 (glob-struct magenta Plum1 default-bold-underline)
473 (named-param DarkGoldenrod Goldenrod underline) 473 (named-param DarkGoldenrod Goldenrod underline)
474 474
475 ;; and anotherone for LaTeX 475 ;; and another one for LaTeX
476 (crossref DarkGoldenrod Goldenrod underline) 476 (crossref DarkGoldenrod Goldenrod underline)
477 (formula Goldenrod DarkGoldenrod underline) 477 (formula Goldenrod DarkGoldenrod underline)
478 478
479 ;; compilation buffers 479 ;; compilation buffers
480 (active-error default/pink-bold default/DeepPink-bold default-underline) 480 (active-error default/pink-bold default/DeepPink-bold default-underline)
559 ;; This function actually translates and then creates the faces... 559 ;; This function actually translates and then creates the faces...
560 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 560 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
561 561
562 (defun hilit-lookup-face-create (face &optional force) 562 (defun hilit-lookup-face-create (face &optional force)
563 "Get a FACE, or create it if it doesn't exist. In order for it to 563 "Get a FACE, or create it if it doesn't exist. In order for it to
564 properly create the face, the followwing naming convention must be used: 564 properly create the face, the following naming convention must be used:
565 [reverse-](fgcolor[/bgcolor])[-bold][-italic][-underline] 565 [reverse-](fgcolor[/bgcolor])[-bold][-italic][-underline]
566 Example: (hilit-lookup-face-create 'comment-face) might create and return 'red 566 Example: (hilit-lookup-face-create 'comment-face) might create and return 'red
567 567
568 Each color is either the name of an X color (see .../X11/lib/X11/rgb.txt), 568 Each color is either the name of an X color (see .../X11/lib/X11/rgb.txt),
569 a hexadecimal specification of the form \"hex-[0-9A-Fa-f]+\", or \"default\". 569 a hexadecimal specification of the form \"hex-[0-9A-Fa-f]+\", or \"default\".
894 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 894 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
895 ;; 895 ;;
896 ;; ; For the Jargon-impaired, WYSIWYG === What You See Is What You Get 896 ;; ; For the Jargon-impaired, WYSIWYG === What You See Is What You Get
897 ;; ; Sure, it sucks to type. Oh, well. 897 ;; ; Sure, it sucks to type. Oh, well.
898 ;; (defun hilit-wysiwyg-replace () 898 ;; (defun hilit-wysiwyg-replace ()
899 ;; "Replace overstruck text with normal text that's been overlayed with the 899 ;; "Replace overstruck text with normal text that's been overlaid with the
900 ;; appropriate text attribute. Suitable for a find-file hook." 900 ;; appropriate text attribute. Suitable for a find-file hook."
901 ;; (save-excursion 901 ;; (save-excursion
902 ;; (goto-char (point-min)) 902 ;; (goto-char (point-min))
903 ;; (let ((wysb (hilit-lookup-face-create 'wysiwyg-bold)) 903 ;; (let ((wysb (hilit-lookup-face-create 'wysiwyg-bold))
904 ;; (wysu (hilit-lookup-face-create 'wysiwyg-underline)) 904 ;; (wysu (hilit-lookup-face-create 'wysiwyg-underline))
1497 ;; string similar constant to the C one (but a string can be cut on several 1497 ;; string similar constant to the C one (but a string can be cut on several
1498 ;; lines, if terminated by a dash and continued with initial blanks, like 1498 ;; lines, if terminated by a dash and continued with initial blanks, like
1499 ;; this: 1499 ;; this:
1500 ;; "This is a somewhat long - 1500 ;; "This is a somewhat long -
1501 ;; string, written on three - 1501 ;; string, written on three -
1502 ;; succesive lines" 1502 ;; successive lines"
1503 ;; in order to insert a double quote in a string, you have to escape it 1503 ;; in order to insert a double quote in a string, you have to escape it
1504 ;; with a \), bu also a character set constant (named a charset), which 1504 ;; with a \), bu also a character set constant (named a charset), which
1505 ;; uses single quotes instead of double ones. It would seem intuitive to 1505 ;; uses single quotes instead of double ones. It would seem intuitive to
1506 ;; highlight both constants in the same way. 1506 ;; highlight both constants in the same way.
1507 1507