view lisp/gnus/catchup.xpm @ 83014:f5cadabb36dd

Support for opening X frames from a tty session. lisp/cus-face.el (custom-declare-face): Handle multiple concurrent display methods correctly. lisp/faces.el (x-create-frame-with-faces): Set the window-system frame parameter instead of frame-creation-function. (tty-create-frame-with-faces): Ditto. lisp/frame.el (frame-creation-function): Removed. (frame-creation-function-alist): New variable. (frame-initialize): Use initial-window-system instead of window-system. Add window-system parameter to initial-frame-alist. Removed tty initialization, it was moved to frame-creation-function-alist. (frame-notice-user-settings): Use initial-window-system instead of window-system. (make-frame-on-display): Make sure term/x-win is loaded. Added window-system parameter for make-frame. (make-frame-on-tty): Removed unnecessary autoload declaration. Added window-system parameter for make-frame. (make-frame): Use frame-creation-function-alist to determine the function to use depending on the specified window system. (select-frame-by-name): Use the window-system function instead of the variable. lisp/startup.el (window-system): New variable (previously built-in, now frame-local). (normal-top-level, command-line): Use initial-window-system instead of window-system. lisp/loadup.el: Load startup.el before faces.el, for the window-system variable. lisp/term/x-win.el: Check for the x-create-frame function instead of window-system to see if X is available. Don't exit Emacs if the display can not be opened when X is not the initial display method. Set up frame-creation-function-alist instead of frame-creation-function. Provide the x-win feature. src/dispnew.c (Vwindow_system): Renamed to Vinitial_window_system. (init_display, syms_of_display): Updated to use Vinitial_window_system instead of Vwindow_system. src/emacs.c (shut_down_emacs): Updated to use Vinitial_window_system instead of Vwindow_system. src/keyboard.c (Fset_input_mode): Call reset_all_sys_modes, not reset_sys_modes. Ditto for init_all_sys_modes. Process the quit parameter correctly. src/sysdep.c (init_sys_modes, reset_sys_modes): Unconditionally set up the terminal. We don't get called if there is nothing to do anymore. (sys_select): Use Vinitial_window_system, not Vwindow_system. src/window.h (Vwindow_system): Renamed to Vinitial_window_system. src/xfns.c (Fx_create_frame): Don't check_x. We initialize it anyway. (x_display_info_for_name, Fx_open_connection): Don't look at Vinitial_window_system. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-54
author Karoly Lorentey <lorentey@elte.hu>
date Sun, 11 Jan 2004 21:59:40 +0000
parents 354a5b33d058
children 55fd4f77387a
line wrap: on
line source

/* XPM */
static char *magick[] = {
/* columns rows colors chars-per-pixel */
"24 24 43 1",
"  c Gray0",
". c #099909990999",
"X c Gray6",
"o c #133313331333",
"O c Gray9",
"+ c Gray11",
"@ c Gray12",
"# c #23f323f323f3",
"$ c Gray15",
"% c #2ff12ff12ff1",
"& c #3fff3fff3fff",
"* c Gray25",
"= c #4ccc4ccc4ccc",
"- c #519151915191",
"; c #53ed53ed53ed",
": c #565b565b565b",
"> c Gray35",
", c #5b1a5b1a5b1a",
"< c #5fe95fe95fe9",
"1 c #626262626262",
"2 c Gray40",
"3 c #67e767e767e7",
"4 c Gray42",
"5 c #6fff6fff6fff",
"6 c Gray45",
"7 c Gray46",
"8 c #77e977e977e9",
"9 c #7bdb7bdb7bdb",
"0 c #7ccc7ccc7ccc",
"q c Gray50",
"w c #866586658665",
"e c Gray56",
"r c Gray60",
"t c #9bcb9bcb9bcb",
"y c #9fff9fff9fff",
"u c #a7c7a7c7a7c7",
"i c #af0eaf0eaf0e",
"p c Gray70",
"a c Gray75",
"s c Gray81",
"d c #dfffdfffdfff",
"f c #efffefffefff",
"g c Gray100",
/* pixels */
"aaaaaaaaaaaaaaaaaaaaaaaa",
"aaaaaaaaaaaaaaaaaaaaaaaa",
"aaaaaaaaaaaaaaaaaaaaaaaa",
"aaaaaa7$$*uaaaaaaaaareep",
"aaaaaa$rr6<aaaaaaaae;==>",
"aaaaaa7<r6<aaaaaaaa<6rr$",
"9&&&&&&>6;aaaareeeee#rw*",
"&aqqagga@<<<7e7qqqqqq=:u",
"33e4qgggsaa%1Oa&&&ggge<a",
"17a9ygf7%%%%#=$aa%ggga<a",
"7aa&gga<aaaae$>ae7ggya<a",
"aa;sgg;uaaaapepa<agg&a<a",
"au;&&&%aaaaaaaae<aaa;a6.",
"a<aggg%aaaaaaaa3qqq&e<:o",
"r7<5gg%aaaaaaaaXyggqeaue",
"6gs$6fa=re6666=s@egy3rrr",
"ga>r=aa=r6 <qqdd3=yg&rrr",
"&>er=aa=r6 aggg=wr&g&rrr",
"rrrrr$a<:6 @$$$rri=d5qrr",
"rrrrr<===6$wrrrrrr6&qo6r",
"rrrrrrrrrewrrrrrrr6   oq",
"rrrrrrrrrrrrrrrrrrrrrrrr",
"rrrrrrrrrrrrrrrrrrrrrrrr",
"rrrrrrrrrrrrrrrrrrrrrrrr"
};