comparison lisp/gnus/gnus.el @ 90197:b7da78284d4c

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-65 Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 425-445) - Remove "-face" suffix from gnus faces - Update from CVS - Remove "-face" suffix from MH-E faces - Remove "-face" suffix from cc-mode faces - Remove "-face" suffix from eshell faces - Remove "-face" suffix from ediff faces - Implement tty vertical-divider face - Rename vertical-divider face to vertical-border - Change escape-glyph color on dark backgrounds back to cyan - Update reference to renamed Buffer-menu-buffer face
author Miles Bader <miles@gnu.org>
date Fri, 24 Jun 2005 01:59:52 +0000
parents 01137c1fdbe9 53e7abe8917f
children f9a65d7ebd29
comparison
equal deleted inserted replaced
90196:82d495f87e7b 90197:b7da78284d4c
355 ) 355 )
356 356
357 ;; We define these group faces here to avoid the display 357 ;; We define these group faces here to avoid the display
358 ;; update forced when creating new faces. 358 ;; update forced when creating new faces.
359 359
360 (defface gnus-group-news-1-face 360 (defface gnus-group-news-1
361 '((((class color) 361 '((((class color)
362 (background dark)) 362 (background dark))
363 (:foreground "PaleTurquoise" :bold t)) 363 (:foreground "PaleTurquoise" :bold t))
364 (((class color) 364 (((class color)
365 (background light)) 365 (background light))
366 (:foreground "ForestGreen" :bold t)) 366 (:foreground "ForestGreen" :bold t))
367 (t 367 (t
368 ())) 368 ()))
369 "Level 1 newsgroup face." 369 "Level 1 newsgroup face."
370 :group 'gnus-group) 370 :group 'gnus-group)
371 371 ;; backward-compatibility alias
372 (defface gnus-group-news-1-empty-face 372 (put 'gnus-group-news-1-face 'face-alias 'gnus-group-news-1)
373
374 (defface gnus-group-news-1-empty
373 '((((class color) 375 '((((class color)
374 (background dark)) 376 (background dark))
375 (:foreground "PaleTurquoise")) 377 (:foreground "PaleTurquoise"))
376 (((class color) 378 (((class color)
377 (background light)) 379 (background light))
378 (:foreground "ForestGreen")) 380 (:foreground "ForestGreen"))
379 (t 381 (t
380 ())) 382 ()))
381 "Level 1 empty newsgroup face." 383 "Level 1 empty newsgroup face."
382 :group 'gnus-group) 384 :group 'gnus-group)
383 385 ;; backward-compatibility alias
384 (defface gnus-group-news-2-face 386 (put 'gnus-group-news-1-empty-face 'face-alias 'gnus-group-news-1-empty)
387
388 (defface gnus-group-news-2
385 '((((class color) 389 '((((class color)
386 (background dark)) 390 (background dark))
387 (:foreground "turquoise" :bold t)) 391 (:foreground "turquoise" :bold t))
388 (((class color) 392 (((class color)
389 (background light)) 393 (background light))
390 (:foreground "CadetBlue4" :bold t)) 394 (:foreground "CadetBlue4" :bold t))
391 (t 395 (t
392 ())) 396 ()))
393 "Level 2 newsgroup face." 397 "Level 2 newsgroup face."
394 :group 'gnus-group) 398 :group 'gnus-group)
395 399 ;; backward-compatibility alias
396 (defface gnus-group-news-2-empty-face 400 (put 'gnus-group-news-2-face 'face-alias 'gnus-group-news-2)
401
402 (defface gnus-group-news-2-empty
397 '((((class color) 403 '((((class color)
398 (background dark)) 404 (background dark))
399 (:foreground "turquoise")) 405 (:foreground "turquoise"))
400 (((class color) 406 (((class color)
401 (background light)) 407 (background light))
402 (:foreground "CadetBlue4")) 408 (:foreground "CadetBlue4"))
403 (t 409 (t
404 ())) 410 ()))
405 "Level 2 empty newsgroup face." 411 "Level 2 empty newsgroup face."
406 :group 'gnus-group) 412 :group 'gnus-group)
407 413 ;; backward-compatibility alias
408 (defface gnus-group-news-3-face 414 (put 'gnus-group-news-2-empty-face 'face-alias 'gnus-group-news-2-empty)
415
416 (defface gnus-group-news-3
409 '((((class color) 417 '((((class color)
410 (background dark)) 418 (background dark))
411 (:bold t)) 419 (:bold t))
412 (((class color) 420 (((class color)
413 (background light)) 421 (background light))
414 (:bold t)) 422 (:bold t))
415 (t 423 (t
416 ())) 424 ()))
417 "Level 3 newsgroup face." 425 "Level 3 newsgroup face."
418 :group 'gnus-group) 426 :group 'gnus-group)
419 427 ;; backward-compatibility alias
420 (defface gnus-group-news-3-empty-face 428 (put 'gnus-group-news-3-face 'face-alias 'gnus-group-news-3)
429
430 (defface gnus-group-news-3-empty
421 '((((class color) 431 '((((class color)
422 (background dark)) 432 (background dark))
423 ()) 433 ())
424 (((class color) 434 (((class color)
425 (background light)) 435 (background light))
426 ()) 436 ())
427 (t 437 (t
428 ())) 438 ()))
429 "Level 3 empty newsgroup face." 439 "Level 3 empty newsgroup face."
430 :group 'gnus-group) 440 :group 'gnus-group)
431 441 ;; backward-compatibility alias
432 (defface gnus-group-news-4-face 442 (put 'gnus-group-news-3-empty-face 'face-alias 'gnus-group-news-3-empty)
443
444 (defface gnus-group-news-4
433 '((((class color) 445 '((((class color)
434 (background dark)) 446 (background dark))
435 (:bold t)) 447 (:bold t))
436 (((class color) 448 (((class color)
437 (background light)) 449 (background light))
438 (:bold t)) 450 (:bold t))
439 (t 451 (t
440 ())) 452 ()))
441 "Level 4 newsgroup face." 453 "Level 4 newsgroup face."
442 :group 'gnus-group) 454 :group 'gnus-group)
443 455 ;; backward-compatibility alias
444 (defface gnus-group-news-4-empty-face 456 (put 'gnus-group-news-4-face 'face-alias 'gnus-group-news-4)
457
458 (defface gnus-group-news-4-empty
445 '((((class color) 459 '((((class color)
446 (background dark)) 460 (background dark))
447 ()) 461 ())
448 (((class color) 462 (((class color)
449 (background light)) 463 (background light))
450 ()) 464 ())
451 (t 465 (t
452 ())) 466 ()))
453 "Level 4 empty newsgroup face." 467 "Level 4 empty newsgroup face."
454 :group 'gnus-group) 468 :group 'gnus-group)
455 469 ;; backward-compatibility alias
456 (defface gnus-group-news-5-face 470 (put 'gnus-group-news-4-empty-face 'face-alias 'gnus-group-news-4-empty)
471
472 (defface gnus-group-news-5
457 '((((class color) 473 '((((class color)
458 (background dark)) 474 (background dark))
459 (:bold t)) 475 (:bold t))
460 (((class color) 476 (((class color)
461 (background light)) 477 (background light))
462 (:bold t)) 478 (:bold t))
463 (t 479 (t
464 ())) 480 ()))
465 "Level 5 newsgroup face." 481 "Level 5 newsgroup face."
466 :group 'gnus-group) 482 :group 'gnus-group)
467 483 ;; backward-compatibility alias
468 (defface gnus-group-news-5-empty-face 484 (put 'gnus-group-news-5-face 'face-alias 'gnus-group-news-5)
485
486 (defface gnus-group-news-5-empty
469 '((((class color) 487 '((((class color)
470 (background dark)) 488 (background dark))
471 ()) 489 ())
472 (((class color) 490 (((class color)
473 (background light)) 491 (background light))
474 ()) 492 ())
475 (t 493 (t
476 ())) 494 ()))
477 "Level 5 empty newsgroup face." 495 "Level 5 empty newsgroup face."
478 :group 'gnus-group) 496 :group 'gnus-group)
479 497 ;; backward-compatibility alias
480 (defface gnus-group-news-6-face 498 (put 'gnus-group-news-5-empty-face 'face-alias 'gnus-group-news-5-empty)
499
500 (defface gnus-group-news-6
481 '((((class color) 501 '((((class color)
482 (background dark)) 502 (background dark))
483 (:bold t)) 503 (:bold t))
484 (((class color) 504 (((class color)
485 (background light)) 505 (background light))
486 (:bold t)) 506 (:bold t))
487 (t 507 (t
488 ())) 508 ()))
489 "Level 6 newsgroup face." 509 "Level 6 newsgroup face."
490 :group 'gnus-group) 510 :group 'gnus-group)
491 511 ;; backward-compatibility alias
492 (defface gnus-group-news-6-empty-face 512 (put 'gnus-group-news-6-face 'face-alias 'gnus-group-news-6)
513
514 (defface gnus-group-news-6-empty
493 '((((class color) 515 '((((class color)
494 (background dark)) 516 (background dark))
495 ()) 517 ())
496 (((class color) 518 (((class color)
497 (background light)) 519 (background light))
498 ()) 520 ())
499 (t 521 (t
500 ())) 522 ()))
501 "Level 6 empty newsgroup face." 523 "Level 6 empty newsgroup face."
502 :group 'gnus-group) 524 :group 'gnus-group)
503 525 ;; backward-compatibility alias
504 (defface gnus-group-news-low-face 526 (put 'gnus-group-news-6-empty-face 'face-alias 'gnus-group-news-6-empty)
527
528 (defface gnus-group-news-low
505 '((((class color) 529 '((((class color)
506 (background dark)) 530 (background dark))
507 (:foreground "DarkTurquoise" :bold t)) 531 (:foreground "DarkTurquoise" :bold t))
508 (((class color) 532 (((class color)
509 (background light)) 533 (background light))
510 (:foreground "DarkGreen" :bold t)) 534 (:foreground "DarkGreen" :bold t))
511 (t 535 (t
512 ())) 536 ()))
513 "Low level newsgroup face." 537 "Low level newsgroup face."
514 :group 'gnus-group) 538 :group 'gnus-group)
515 539 ;; backward-compatibility alias
516 (defface gnus-group-news-low-empty-face 540 (put 'gnus-group-news-low-face 'face-alias 'gnus-group-news-low)
541
542 (defface gnus-group-news-low-empty
517 '((((class color) 543 '((((class color)
518 (background dark)) 544 (background dark))
519 (:foreground "DarkTurquoise")) 545 (:foreground "DarkTurquoise"))
520 (((class color) 546 (((class color)
521 (background light)) 547 (background light))
522 (:foreground "DarkGreen")) 548 (:foreground "DarkGreen"))
523 (t 549 (t
524 ())) 550 ()))
525 "Low level empty newsgroup face." 551 "Low level empty newsgroup face."
526 :group 'gnus-group) 552 :group 'gnus-group)
527 553 ;; backward-compatibility alias
528 (defface gnus-group-mail-1-face 554 (put 'gnus-group-news-low-empty-face 'face-alias 'gnus-group-news-low-empty)
555
556 (defface gnus-group-mail-1
529 '((((class color) 557 '((((class color)
530 (background dark)) 558 (background dark))
531 (:foreground "aquamarine1" :bold t)) 559 (:foreground "aquamarine1" :bold t))
532 (((class color) 560 (((class color)
533 (background light)) 561 (background light))
534 (:foreground "DeepPink3" :bold t)) 562 (:foreground "DeepPink3" :bold t))
535 (t 563 (t
536 (:bold t))) 564 (:bold t)))
537 "Level 1 mailgroup face." 565 "Level 1 mailgroup face."
538 :group 'gnus-group) 566 :group 'gnus-group)
539 567 ;; backward-compatibility alias
540 (defface gnus-group-mail-1-empty-face 568 (put 'gnus-group-mail-1-face 'face-alias 'gnus-group-mail-1)
569
570 (defface gnus-group-mail-1-empty
541 '((((class color) 571 '((((class color)
542 (background dark)) 572 (background dark))
543 (:foreground "aquamarine1")) 573 (:foreground "aquamarine1"))
544 (((class color) 574 (((class color)
545 (background light)) 575 (background light))
546 (:foreground "DeepPink3")) 576 (:foreground "DeepPink3"))
547 (t 577 (t
548 (:italic t :bold t))) 578 (:italic t :bold t)))
549 "Level 1 empty mailgroup face." 579 "Level 1 empty mailgroup face."
550 :group 'gnus-group) 580 :group 'gnus-group)
551 581 ;; backward-compatibility alias
552 (defface gnus-group-mail-2-face 582 (put 'gnus-group-mail-1-empty-face 'face-alias 'gnus-group-mail-1-empty)
583
584 (defface gnus-group-mail-2
553 '((((class color) 585 '((((class color)
554 (background dark)) 586 (background dark))
555 (:foreground "aquamarine2" :bold t)) 587 (:foreground "aquamarine2" :bold t))
556 (((class color) 588 (((class color)
557 (background light)) 589 (background light))
558 (:foreground "HotPink3" :bold t)) 590 (:foreground "HotPink3" :bold t))
559 (t 591 (t
560 (:bold t))) 592 (:bold t)))
561 "Level 2 mailgroup face." 593 "Level 2 mailgroup face."
562 :group 'gnus-group) 594 :group 'gnus-group)
563 595 ;; backward-compatibility alias
564 (defface gnus-group-mail-2-empty-face 596 (put 'gnus-group-mail-2-face 'face-alias 'gnus-group-mail-2)
597
598 (defface gnus-group-mail-2-empty
565 '((((class color) 599 '((((class color)
566 (background dark)) 600 (background dark))
567 (:foreground "aquamarine2")) 601 (:foreground "aquamarine2"))
568 (((class color) 602 (((class color)
569 (background light)) 603 (background light))
570 (:foreground "HotPink3")) 604 (:foreground "HotPink3"))
571 (t 605 (t
572 (:bold t))) 606 (:bold t)))
573 "Level 2 empty mailgroup face." 607 "Level 2 empty mailgroup face."
574 :group 'gnus-group) 608 :group 'gnus-group)
575 609 ;; backward-compatibility alias
576 (defface gnus-group-mail-3-face 610 (put 'gnus-group-mail-2-empty-face 'face-alias 'gnus-group-mail-2-empty)
611
612 (defface gnus-group-mail-3
577 '((((class color) 613 '((((class color)
578 (background dark)) 614 (background dark))
579 (:foreground "aquamarine3" :bold t)) 615 (:foreground "aquamarine3" :bold t))
580 (((class color) 616 (((class color)
581 (background light)) 617 (background light))
582 (:foreground "magenta4" :bold t)) 618 (:foreground "magenta4" :bold t))
583 (t 619 (t
584 (:bold t))) 620 (:bold t)))
585 "Level 3 mailgroup face." 621 "Level 3 mailgroup face."
586 :group 'gnus-group) 622 :group 'gnus-group)
587 623 ;; backward-compatibility alias
588 (defface gnus-group-mail-3-empty-face 624 (put 'gnus-group-mail-3-face 'face-alias 'gnus-group-mail-3)
625
626 (defface gnus-group-mail-3-empty
589 '((((class color) 627 '((((class color)
590 (background dark)) 628 (background dark))
591 (:foreground "aquamarine3")) 629 (:foreground "aquamarine3"))
592 (((class color) 630 (((class color)
593 (background light)) 631 (background light))
594 (:foreground "magenta4")) 632 (:foreground "magenta4"))
595 (t 633 (t
596 ())) 634 ()))
597 "Level 3 empty mailgroup face." 635 "Level 3 empty mailgroup face."
598 :group 'gnus-group) 636 :group 'gnus-group)
599 637 ;; backward-compatibility alias
600 (defface gnus-group-mail-low-face 638 (put 'gnus-group-mail-3-empty-face 'face-alias 'gnus-group-mail-3-empty)
639
640 (defface gnus-group-mail-low
601 '((((class color) 641 '((((class color)
602 (background dark)) 642 (background dark))
603 (:foreground "aquamarine4" :bold t)) 643 (:foreground "aquamarine4" :bold t))
604 (((class color) 644 (((class color)
605 (background light)) 645 (background light))
606 (:foreground "DeepPink4" :bold t)) 646 (:foreground "DeepPink4" :bold t))
607 (t 647 (t
608 (:bold t))) 648 (:bold t)))
609 "Low level mailgroup face." 649 "Low level mailgroup face."
610 :group 'gnus-group) 650 :group 'gnus-group)
611 651 ;; backward-compatibility alias
612 (defface gnus-group-mail-low-empty-face 652 (put 'gnus-group-mail-low-face 'face-alias 'gnus-group-mail-low)
653
654 (defface gnus-group-mail-low-empty
613 '((((class color) 655 '((((class color)
614 (background dark)) 656 (background dark))
615 (:foreground "aquamarine4")) 657 (:foreground "aquamarine4"))
616 (((class color) 658 (((class color)
617 (background light)) 659 (background light))
618 (:foreground "DeepPink4")) 660 (:foreground "DeepPink4"))
619 (t 661 (t
620 (:bold t))) 662 (:bold t)))
621 "Low level empty mailgroup face." 663 "Low level empty mailgroup face."
622 :group 'gnus-group) 664 :group 'gnus-group)
665 ;; backward-compatibility alias
666 (put 'gnus-group-mail-low-empty-face 'face-alias 'gnus-group-mail-low-empty)
623 667
624 ;; Summary mode faces. 668 ;; Summary mode faces.
625 669
626 (defface gnus-summary-selected-face '((t 670 (defface gnus-summary-selected '((t (:underline t)))
627 (:underline t)))
628 "Face used for selected articles." 671 "Face used for selected articles."
629 :group 'gnus-summary) 672 :group 'gnus-summary)
630 673 ;; backward-compatibility alias
631 (defface gnus-summary-cancelled-face 674 (put 'gnus-summary-selected-face 'face-alias 'gnus-summary-selected)
675
676 (defface gnus-summary-cancelled
632 '((((class color)) 677 '((((class color))
633 (:foreground "yellow" :background "black"))) 678 (:foreground "yellow" :background "black")))
634 "Face used for cancelled articles." 679 "Face used for cancelled articles."
635 :group 'gnus-summary) 680 :group 'gnus-summary)
636 681 ;; backward-compatibility alias
637 (defface gnus-summary-high-ticked-face 682 (put 'gnus-summary-cancelled-face 'face-alias 'gnus-summary-cancelled)
683
684 (defface gnus-summary-high-ticked
638 '((((class color) 685 '((((class color)
639 (background dark)) 686 (background dark))
640 (:foreground "pink" :bold t)) 687 (:foreground "pink" :bold t))
641 (((class color) 688 (((class color)
642 (background light)) 689 (background light))
643 (:foreground "firebrick" :bold t)) 690 (:foreground "firebrick" :bold t))
644 (t 691 (t
645 (:bold t))) 692 (:bold t)))
646 "Face used for high interest ticked articles." 693 "Face used for high interest ticked articles."
647 :group 'gnus-summary) 694 :group 'gnus-summary)
648 695 ;; backward-compatibility alias
649 (defface gnus-summary-low-ticked-face 696 (put 'gnus-summary-high-ticked-face 'face-alias 'gnus-summary-high-ticked)
697
698 (defface gnus-summary-low-ticked
650 '((((class color) 699 '((((class color)
651 (background dark)) 700 (background dark))
652 (:foreground "pink" :italic t)) 701 (:foreground "pink" :italic t))
653 (((class color) 702 (((class color)
654 (background light)) 703 (background light))
655 (:foreground "firebrick" :italic t)) 704 (:foreground "firebrick" :italic t))
656 (t 705 (t
657 (:italic t))) 706 (:italic t)))
658 "Face used for low interest ticked articles." 707 "Face used for low interest ticked articles."
659 :group 'gnus-summary) 708 :group 'gnus-summary)
660 709 ;; backward-compatibility alias
661 (defface gnus-summary-normal-ticked-face 710 (put 'gnus-summary-low-ticked-face 'face-alias 'gnus-summary-low-ticked)
711
712 (defface gnus-summary-normal-ticked
662 '((((class color) 713 '((((class color)
663 (background dark)) 714 (background dark))
664 (:foreground "pink")) 715 (:foreground "pink"))
665 (((class color) 716 (((class color)
666 (background light)) 717 (background light))
667 (:foreground "firebrick")) 718 (:foreground "firebrick"))
668 (t 719 (t
669 ())) 720 ()))
670 "Face used for normal interest ticked articles." 721 "Face used for normal interest ticked articles."
671 :group 'gnus-summary) 722 :group 'gnus-summary)
672 723 ;; backward-compatibility alias
673 (defface gnus-summary-high-ancient-face 724 (put 'gnus-summary-normal-ticked-face 'face-alias 'gnus-summary-normal-ticked)
725
726 (defface gnus-summary-high-ancient
674 '((((class color) 727 '((((class color)
675 (background dark)) 728 (background dark))
676 (:foreground "SkyBlue" :bold t)) 729 (:foreground "SkyBlue" :bold t))
677 (((class color) 730 (((class color)
678 (background light)) 731 (background light))
679 (:foreground "RoyalBlue" :bold t)) 732 (:foreground "RoyalBlue" :bold t))
680 (t 733 (t
681 (:bold t))) 734 (:bold t)))
682 "Face used for high interest ancient articles." 735 "Face used for high interest ancient articles."
683 :group 'gnus-summary) 736 :group 'gnus-summary)
684 737 ;; backward-compatibility alias
685 (defface gnus-summary-low-ancient-face 738 (put 'gnus-summary-high-ancient-face 'face-alias 'gnus-summary-high-ancient)
739
740 (defface gnus-summary-low-ancient
686 '((((class color) 741 '((((class color)
687 (background dark)) 742 (background dark))
688 (:foreground "SkyBlue" :italic t)) 743 (:foreground "SkyBlue" :italic t))
689 (((class color) 744 (((class color)
690 (background light)) 745 (background light))
691 (:foreground "RoyalBlue" :italic t)) 746 (:foreground "RoyalBlue" :italic t))
692 (t 747 (t
693 (:italic t))) 748 (:italic t)))
694 "Face used for low interest ancient articles." 749 "Face used for low interest ancient articles."
695 :group 'gnus-summary) 750 :group 'gnus-summary)
696 751 ;; backward-compatibility alias
697 (defface gnus-summary-normal-ancient-face 752 (put 'gnus-summary-low-ancient-face 'face-alias 'gnus-summary-low-ancient)
753
754 (defface gnus-summary-normal-ancient
698 '((((class color) 755 '((((class color)
699 (background dark)) 756 (background dark))
700 (:foreground "SkyBlue")) 757 (:foreground "SkyBlue"))
701 (((class color) 758 (((class color)
702 (background light)) 759 (background light))
703 (:foreground "RoyalBlue")) 760 (:foreground "RoyalBlue"))
704 (t 761 (t
705 ())) 762 ()))
706 "Face used for normal interest ancient articles." 763 "Face used for normal interest ancient articles."
707 :group 'gnus-summary) 764 :group 'gnus-summary)
708 765 ;; backward-compatibility alias
709 (defface gnus-summary-high-undownloaded-face 766 (put 'gnus-summary-normal-ancient-face 'face-alias 'gnus-summary-normal-ancient)
767
768 (defface gnus-summary-high-undownloaded
710 '((((class color) 769 '((((class color)
711 (background light)) 770 (background light))
712 (:bold t :foreground "cyan4")) 771 (:bold t :foreground "cyan4"))
713 (((class color) (background dark)) 772 (((class color) (background dark))
714 (:bold t :foreground "LightGray")) 773 (:bold t :foreground "LightGray"))
715 (t (:inverse-video t :bold t))) 774 (t (:inverse-video t :bold t)))
716 "Face used for high interest uncached articles." 775 "Face used for high interest uncached articles."
717 :group 'gnus-summary) 776 :group 'gnus-summary)
718 777 ;; backward-compatibility alias
719 (defface gnus-summary-low-undownloaded-face 778 (put 'gnus-summary-high-undownloaded-face 'face-alias 'gnus-summary-high-undownloaded)
779
780 (defface gnus-summary-low-undownloaded
720 '((((class color) 781 '((((class color)
721 (background light)) 782 (background light))
722 (:italic t :foreground "cyan4" :bold nil)) 783 (:italic t :foreground "cyan4" :bold nil))
723 (((class color) (background dark)) 784 (((class color) (background dark))
724 (:italic t :foreground "LightGray" :bold nil)) 785 (:italic t :foreground "LightGray" :bold nil))
725 (t (:inverse-video t :italic t))) 786 (t (:inverse-video t :italic t)))
726 "Face used for low interest uncached articles." 787 "Face used for low interest uncached articles."
727 :group 'gnus-summary) 788 :group 'gnus-summary)
728 789 ;; backward-compatibility alias
729 (defface gnus-summary-normal-undownloaded-face 790 (put 'gnus-summary-low-undownloaded-face 'face-alias 'gnus-summary-low-undownloaded)
791
792 (defface gnus-summary-normal-undownloaded
730 '((((class color) 793 '((((class color)
731 (background light)) 794 (background light))
732 (:foreground "cyan4" :bold nil)) 795 (:foreground "cyan4" :bold nil))
733 (((class color) (background dark)) 796 (((class color) (background dark))
734 (:foreground "LightGray" :bold nil)) 797 (:foreground "LightGray" :bold nil))
735 (t (:inverse-video t))) 798 (t (:inverse-video t)))
736 "Face used for normal interest uncached articles." 799 "Face used for normal interest uncached articles."
737 :group 'gnus-summary) 800 :group 'gnus-summary)
738 801 ;; backward-compatibility alias
739 (defface gnus-summary-high-unread-face 802 (put 'gnus-summary-normal-undownloaded-face 'face-alias 'gnus-summary-normal-undownloaded)
803
804 (defface gnus-summary-high-unread
740 '((t 805 '((t
741 (:bold t))) 806 (:bold t)))
742 "Face used for high interest unread articles." 807 "Face used for high interest unread articles."
743 :group 'gnus-summary) 808 :group 'gnus-summary)
744 809 ;; backward-compatibility alias
745 (defface gnus-summary-low-unread-face 810 (put 'gnus-summary-high-unread-face 'face-alias 'gnus-summary-high-unread)
811
812 (defface gnus-summary-low-unread
746 '((t 813 '((t
747 (:italic t))) 814 (:italic t)))
748 "Face used for low interest unread articles." 815 "Face used for low interest unread articles."
749 :group 'gnus-summary) 816 :group 'gnus-summary)
750 817 ;; backward-compatibility alias
751 (defface gnus-summary-normal-unread-face 818 (put 'gnus-summary-low-unread-face 'face-alias 'gnus-summary-low-unread)
819
820 (defface gnus-summary-normal-unread
752 '((t 821 '((t
753 ())) 822 ()))
754 "Face used for normal interest unread articles." 823 "Face used for normal interest unread articles."
755 :group 'gnus-summary) 824 :group 'gnus-summary)
756 825 ;; backward-compatibility alias
757 (defface gnus-summary-high-read-face 826 (put 'gnus-summary-normal-unread-face 'face-alias 'gnus-summary-normal-unread)
827
828 (defface gnus-summary-high-read
758 '((((class color) 829 '((((class color)
759 (background dark)) 830 (background dark))
760 (:foreground "PaleGreen" 831 (:foreground "PaleGreen"
761 :bold t)) 832 :bold t))
762 (((class color) 833 (((class color)
765 :bold t)) 836 :bold t))
766 (t 837 (t
767 (:bold t))) 838 (:bold t)))
768 "Face used for high interest read articles." 839 "Face used for high interest read articles."
769 :group 'gnus-summary) 840 :group 'gnus-summary)
770 841 ;; backward-compatibility alias
771 (defface gnus-summary-low-read-face 842 (put 'gnus-summary-high-read-face 'face-alias 'gnus-summary-high-read)
843
844 (defface gnus-summary-low-read
772 '((((class color) 845 '((((class color)
773 (background dark)) 846 (background dark))
774 (:foreground "PaleGreen" 847 (:foreground "PaleGreen"
775 :italic t)) 848 :italic t))
776 (((class color) 849 (((class color)
779 :italic t)) 852 :italic t))
780 (t 853 (t
781 (:italic t))) 854 (:italic t)))
782 "Face used for low interest read articles." 855 "Face used for low interest read articles."
783 :group 'gnus-summary) 856 :group 'gnus-summary)
784 857 ;; backward-compatibility alias
785 (defface gnus-summary-normal-read-face 858 (put 'gnus-summary-low-read-face 'face-alias 'gnus-summary-low-read)
859
860 (defface gnus-summary-normal-read
786 '((((class color) 861 '((((class color)
787 (background dark)) 862 (background dark))
788 (:foreground "PaleGreen")) 863 (:foreground "PaleGreen"))
789 (((class color) 864 (((class color)
790 (background light)) 865 (background light))
791 (:foreground "DarkGreen")) 866 (:foreground "DarkGreen"))
792 (t 867 (t
793 ())) 868 ()))
794 "Face used for normal interest read articles." 869 "Face used for normal interest read articles."
795 :group 'gnus-summary) 870 :group 'gnus-summary)
871 ;; backward-compatibility alias
872 (put 'gnus-summary-normal-read-face 'face-alias 'gnus-summary-normal-read)
796 873
797 874
798 ;;; 875 ;;;
799 ;;; Gnus buffers 876 ;;; Gnus buffers
800 ;;; 877 ;;;
834 (defvar gnus-group-buffer "*Group*") 911 (defvar gnus-group-buffer "*Group*")
835 912
836 (eval-and-compile 913 (eval-and-compile
837 (autoload 'gnus-play-jingle "gnus-audio")) 914 (autoload 'gnus-play-jingle "gnus-audio"))
838 915
839 (defface gnus-splash-face 916 (defface gnus-splash
840 '((((class color) 917 '((((class color)
841 (background dark)) 918 (background dark))
842 (:foreground "#888888")) 919 (:foreground "#888888"))
843 (((class color) 920 (((class color)
844 (background light)) 921 (background light))
845 (:foreground "#888888")) 922 (:foreground "#888888"))
846 (t 923 (t
847 ())) 924 ()))
848 "Face for the splash screen." 925 "Face for the splash screen."
849 :group 'gnus) 926 :group 'gnus)
927 ;; backward-compatibility alias
928 (put 'gnus-splash-face 'face-alias 'gnus-splash)
850 929
851 (defun gnus-splash () 930 (defun gnus-splash ()
852 (save-excursion 931 (save-excursion
853 (switch-to-buffer (gnus-get-buffer-create gnus-group-buffer)) 932 (switch-to-buffer (gnus-get-buffer-create gnus-group-buffer))
854 (let ((buffer-read-only nil)) 933 (let ((buffer-read-only nil))
923 ("shadow" . ,(cadr gnus-logo-colors)) 1002 ("shadow" . ,(cadr gnus-logo-colors))
924 ("oort" . "#eeeeee") 1003 ("oort" . "#eeeeee")
925 ("background" . ,(face-background 'default)))) 1004 ("background" . ,(face-background 'default))))
926 (:type pbm :file "gnus.pbm" 1005 (:type pbm :file "gnus.pbm"
927 ;; Account for the pbm's blackground. 1006 ;; Account for the pbm's blackground.
928 :background ,(face-foreground 'gnus-splash-face) 1007 :background ,(face-foreground 'gnus-splash)
929 :foreground ,(face-background 'default)) 1008 :foreground ,(face-background 'default))
930 (:type xbm :file "gnus.xbm" 1009 (:type xbm :file "gnus.xbm"
931 ;; Account for the xbm's blackground. 1010 ;; Account for the xbm's blackground.
932 :background ,(face-foreground 'gnus-splash-face) 1011 :background ,(face-foreground 'gnus-splash)
933 :foreground ,(face-background 'default)))))) 1012 :foreground ,(face-background 'default))))))
934 (when image 1013 (when image
935 (let ((size (image-size image))) 1014 (let ((size (image-size image)))
936 (insert-char ?\n (max 0 (round (- (window-height) 1015 (insert-char ?\n (max 0 (round (- (window-height)
937 (or y (cdr size)) 1) 2))) 1016 (or y (cdr size)) 1) 2)))
971 (let* ((pheight (count-lines (point-min) (point-max))) 1050 (let* ((pheight (count-lines (point-min) (point-max)))
972 (wheight (window-height)) 1051 (wheight (window-height))
973 (rest (- wheight pheight))) 1052 (rest (- wheight pheight)))
974 (insert (make-string (max 0 (* 2 (/ rest 3))) ?\n))) 1053 (insert (make-string (max 0 (* 2 (/ rest 3))) ?\n)))
975 ;; Fontify some. 1054 ;; Fontify some.
976 (put-text-property (point-min) (point-max) 'face 'gnus-splash-face) 1055 (put-text-property (point-min) (point-max) 'face 'gnus-splash)
977 (setq gnus-simple-splash t))) 1056 (setq gnus-simple-splash t)))
978 (goto-char (point-min)) 1057 (goto-char (point-min))
979 (setq mode-line-buffer-identification (concat " " gnus-version)) 1058 (setq mode-line-buffer-identification (concat " " gnus-version))
980 (set-buffer-modified-p t)) 1059 (set-buffer-modified-p t))
981 1060