1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-04 06:31:13 -08:00
emacs/src
Karoly Lorentey b8299c66e3 Make terminal_coding and keyboard_coding display-local.
src/coding.c: Include frame.h and termhooks.h.
(terminal_coding, keyboard_coding): Remove.
(Fset_terminal_coding_system_internal, Fterminal_coding_system):
Use the selected frame's terminal coding system.
(Fset_safe_terminal_coding_system_internal): Fix typo.
(Fset_keyboard_coding_system_internal, Fkeyboard_coding_system):
Use the selected frame's keyboard coding system.
(init_coding_once): Don't initialize keyboard_coding and terminal_coding.

src/coding.h (terminal_coding, keyboard_coding): Remove.

src/termhooks.h (terminal_coding, keyboard_coding): New members of
struct display.
(FRAME_TERMINAL_CODING, FRAME_KEYBOARD_CODING): New macros.

src/termchar.h (kboard): Cosmetic change.

src/term.c (encode_terminal_code): Add coding parameter.
(tty_write_glyphs): Use the display-local terminal coding system.
(create_display): Allocate and initialize coding systems.
(delete_display): Free coding systems.

src/xdisp.c (decode_mode_spec): Use display-local coding systems.

src/Makefile.in: Fix dependencies for termchar.h and termhooks.h.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-167
2004-05-23 01:53:23 +00:00
..
bitmaps
m (XPNTR): Don't redefine. 2003-11-18 00:17:42 +00:00
s Changes for Cygwin unexec() support, changes in Cygwin itself. 2004-04-12 19:42:52 +00:00
.dbxinit
.gdbinit Merged in changes from CVS trunk. 2004-05-22 22:52:43 +00:00
.gitignore Add .gdb_history 2004-01-21 05:47:54 +00:00
abbrev.c (Finsert_abbrev_table_description): Doc fix. 2004-02-24 03:32:29 +00:00
acldef.h Add arch taglines 2003-09-01 15:45:59 +00:00
alloc.c Merged in changes from CVS trunk. 2004-05-18 19:12:15 +00:00
alloca.c Fix the prototype for xfree. 2004-01-30 17:12:40 +00:00
atimer.c Move include stdio.h to same place as in other files. 2004-02-09 15:39:49 +00:00
atimer.h Don't include lisp.h. 2003-09-19 14:36:22 +00:00
blockinput.h (INPUT_BLOCKED_P): New macro. 2004-05-17 23:06:16 +00:00
buffer.c (syms_of_buffer) <cursor-type>: Doc fix. 2004-04-30 22:53:40 +00:00
buffer.h (GET_OVERLAYS_AT): New macro. 2004-05-17 22:46:34 +00:00
bytecode.c (mark_byte_stack, unmark_byte_stack): Ignore the markbit. 2003-09-11 21:58:32 +00:00
callint.c (Fkey_description): Change callers. 2004-04-16 21:19:16 +00:00
callproc.c Define synch_process_termsig. 2004-01-26 23:39:08 +00:00
casefiddle.c Add arch taglines 2003-09-01 15:45:59 +00:00
casetab.c Add arch taglines 2003-09-01 15:45:59 +00:00
category.c (Fdefine_category, Fcategory_docstring) 2004-02-20 03:40:19 +00:00
category.h Add arch taglines 2003-09-01 15:45:59 +00:00
ccl.c (Fccl_execute_on_string): Fix setting elements of STATUS. 2004-05-14 12:41:32 +00:00
ccl.h Add arch taglines 2003-09-01 15:45:59 +00:00
ChangeLog Add support for new '\_<' and '\_>' regexp operators, matching the 2004-05-19 16:38:34 +00:00
ChangeLog.1 Add arch taglines 2003-09-01 15:45:59 +00:00
ChangeLog.2 Add arch taglines 2003-09-01 15:45:59 +00:00
ChangeLog.3 Add arch taglines 2003-09-01 15:45:59 +00:00
ChangeLog.4 Add arch taglines 2003-09-01 15:45:59 +00:00
ChangeLog.5 Add arch taglines 2003-09-01 15:45:59 +00:00
ChangeLog.6 Add arch taglines 2003-09-01 15:45:59 +00:00
ChangeLog.7 Add arch taglines 2003-09-01 15:45:59 +00:00
ChangeLog.8 Add arch taglines 2003-09-01 15:45:59 +00:00
ChangeLog.9 Add arch taglines 2003-09-01 15:45:59 +00:00
charset.c (Fget_unused_iso_final_char): Fix typos in docstring. 2004-05-10 17:51:27 +00:00
charset.h (SINGLE_BYTE_CHAR_P): Fix macro to avoid warnings from GCC. 2004-04-04 21:00:49 +00:00
chpdef.h Add arch taglines 2003-09-01 15:45:59 +00:00
cm.c Implemented suspending of emacsclient frames. 2004-02-28 01:23:39 +00:00
cm.h Separate frame-local, tty-dependent parameters from tty-local parameters. 2004-01-01 17:55:53 +00:00
cmds.c (Fend_of_line): Doc fix. 2004-02-16 19:12:46 +00:00
coding.c Make terminal_coding and keyboard_coding display-local. 2004-05-23 01:53:23 +00:00
coding.h Make terminal_coding and keyboard_coding display-local. 2004-05-23 01:53:23 +00:00
commands.h Add arch taglines 2003-09-01 15:45:59 +00:00
composite.c *** empty log message *** 2003-12-26 11:39:22 +00:00
composite.h Add arch taglines 2003-09-01 15:45:59 +00:00
config.in MULTI_KBOARD support for ttys. Input-related bugfixes for X+tty sessions. 2004-01-02 02:54:17 +00:00
COPYING Moved back. 2001-12-09 10:14:33 +00:00
cxux-crt0.s Add arch taglines 2003-09-01 15:45:59 +00:00
data.c (Fset_default): Make argument names match their use in docstring. 2004-05-16 00:55:09 +00:00
dired.c (Ffile_attributes): Don't pass extra nil arg to file-handler. 2004-04-15 21:02:33 +00:00
dispextern.h Merged in changes from CVS trunk. 2004-05-01 19:23:22 +00:00
dispnew.c Merged in changes from CVS trunk. 2004-04-23 14:44:11 +00:00
disptab.h Add arch taglines 2003-09-01 15:45:59 +00:00
doc.c (Fkey_description): Change callers. 2004-04-16 21:19:16 +00:00
doprnt.c Add arch taglines 2003-09-01 15:45:59 +00:00
dosfns.c Add arch taglines 2003-09-01 15:45:59 +00:00
dosfns.h Add arch taglines 2003-09-01 15:45:59 +00:00
ecrt0.c Add arch taglines 2003-09-01 15:45:59 +00:00
editfns.c (Finsert_buffer_substring): Make argument names match their use in 2004-05-07 22:27:57 +00:00
emacs.c Merged in changes from CVS trunk. 2004-05-18 19:12:15 +00:00
epaths.in Add arch taglines 2003-09-01 15:45:59 +00:00
eval.c (Fcommandp): Simplify. 2004-03-29 00:51:43 +00:00
fileio.c Merged in changes from CVS trunk. 2004-05-11 09:12:09 +00:00
filelock.c Add arch taglines 2003-09-01 15:45:59 +00:00
filemode.c Add arch taglines 2003-09-01 15:45:59 +00:00
firstfile.c Add arch taglines 2003-09-01 15:45:59 +00:00
floatfns.c (Flogb): Don't use VALMASK. 2003-11-05 16:45:11 +00:00
fns.c (count_combining): Delete it. 2004-05-10 03:56:43 +00:00
fontset.c Merged in changes from CVS trunk. 2004-04-23 14:44:11 +00:00
fontset.h Add arch taglines 2003-09-01 15:45:59 +00:00
frame.c Fix background-mode on terminal frames (Dan Nicolaescu). 2004-03-11 01:11:38 +00:00
frame.h Fix background-mode on terminal frames (Dan Nicolaescu). 2004-03-11 01:11:38 +00:00
fringe.c Trivial cleanup in fringe.c, missing from previous patch. 2004-03-19 23:21:11 +00:00
getloadavg.c Add arch taglines 2003-09-01 15:45:59 +00:00
getpagesize.h Add arch taglines 2003-09-01 15:45:59 +00:00
gmalloc.c (__default_morecore): Use bss_sbrk(), not __sbrk(), before Cygwin unexec. 2004-04-12 19:41:56 +00:00
gnu.h Add arch taglines 2003-09-01 15:45:59 +00:00
gtkutil.c * gtkutil.c (xg_update_scrollbar_pos): Call XClearWindow to clear 2004-05-03 15:27:48 +00:00
gtkutil.h Implement multiple display handling for GTK. 2003-11-16 16:05:24 +00:00
hftctl.c Add arch taglines 2003-09-01 15:45:59 +00:00
image.c Support XPM on Carbon Emacs. Does not 2004-05-12 02:23:37 +00:00
indent.c Merged in changes from CVS trunk. 2004-05-07 14:20:00 +00:00
indent.h Add arch taglines 2003-09-01 15:45:59 +00:00
insdel.c * insdel.c (adjust_markers_for_insert): Call fix_start_end_in_overlays. 2004-03-25 18:05:29 +00:00
intervals.c (graft_intervals_into_buffer): Handle over_used when splitting UNDER. 2003-09-30 12:33:19 +00:00
intervals.h Trivial cleanups to get rid of GCC warnings. 2004-03-19 23:19:04 +00:00
ioctl.h Add arch taglines 2003-09-01 15:45:59 +00:00
keyboard.c Merged in changes from CVS trunk. 2004-05-18 19:12:15 +00:00
keyboard.h Merged in changes from CVS HEAD 2004-02-28 04:52:40 +00:00
keymap.c Merged in changes from CVS trunk. 2004-04-23 14:44:11 +00:00
keymap.h (Fkey_description): Fix prototype. 2004-04-16 21:17:02 +00:00
lastfile.c Define my_endbss[] for Cygwin unexec() support. 2004-04-12 19:40:35 +00:00
lisp.h Merged in changes from CVS trunk. 2004-05-18 19:12:15 +00:00
lread.c Merged in changes from CVS trunk. 2004-04-27 15:53:30 +00:00
mac.c (struct my_group): Added. 2003-11-22 23:00:59 +00:00
macfns.c Various fixes to support USE_LSB_TAG with carbon emacs. Mostly fixing 2004-05-14 03:07:12 +00:00
macgui.h Inserting Yamomotosan's changes for MacOSX image support, better support 2004-02-26 17:46:48 +00:00
macmenu.c Various fixes to support USE_LSB_TAG with carbon emacs. Mostly fixing 2004-05-14 03:07:12 +00:00
macros.c Add arch taglines 2003-09-01 15:45:59 +00:00
macros.h Add arch taglines 2003-09-01 15:45:59 +00:00
macterm.c Merged in changes from CVS trunk. 2004-05-18 19:12:15 +00:00
macterm.h Merged in changes from CVS trunk. 2004-05-18 19:12:15 +00:00
Makefile.in Make terminal_coding and keyboard_coding display-local. 2004-05-23 01:53:23 +00:00
makefile.w32-in Add "-*- makefile -*-" mode tag. 2004-04-23 00:24:35 +00:00
marker.c Add arch taglines 2003-09-01 15:45:59 +00:00
md5.c Add arch taglines 2003-09-01 15:45:59 +00:00
md5.h Add arch taglines 2003-09-01 15:45:59 +00:00
mem-limits.h Add arch taglines 2003-09-01 15:45:59 +00:00
minibuf.c Merged in changes from CVS HEAD 2004-02-17 01:52:25 +00:00
mktime.c Add arch taglines 2003-09-01 15:45:59 +00:00
msdos.c Merged in changes from CVS trunk. 2004-05-18 19:12:15 +00:00
msdos.h Add arch taglines 2003-09-01 15:45:59 +00:00
ndir.h Add arch taglines 2003-09-01 15:45:59 +00:00
param.h Add arch taglines 2003-09-01 15:45:59 +00:00
point.h Add arch taglines 2003-09-01 15:45:59 +00:00
pre-crt0.c Add arch taglines 2003-09-01 15:45:59 +00:00
prefix-args.c Add arch taglines 2003-09-01 15:45:59 +00:00
print.c (print): Reset print_depth before to call print_object. 2004-05-19 07:38:57 +00:00
process.c Merged in changes from CVS trunk. 2004-05-18 19:12:15 +00:00
process.h * process.h: Add extern to synch_process_termsig. 2004-01-27 09:40:23 +00:00
puresize.h Set up PURE_P() for Cygwin unexec() support. 2004-04-12 19:40:10 +00:00
ralloc.c Add arch taglines 2003-09-01 15:45:59 +00:00
README
regex.c Add support for new '\_<' and '\_>' regexp operators, matching the 2004-05-19 16:38:34 +00:00
regex.h Merged in changes from CVS HEAD 2003-12-28 16:03:57 +00:00
region-cache.c Move include stdio.h to same place as in other files. 2004-02-09 15:39:49 +00:00
region-cache.h Add arch taglines 2003-09-01 15:45:59 +00:00
scroll.c Eliminated updating_frame. 2004-04-16 15:03:58 +00:00
search.c (trivial_regexp_p): \_ is no longer a trivial regexp. 2004-05-19 16:32:59 +00:00
sheap.c Changes from arch/CVS synchronization 2004-04-13 23:32:57 +00:00
sound.c Add arch taglines 2003-09-01 15:45:59 +00:00
stamp-h.in Stamp file for config.in 2002-04-15 13:14:45 +00:00
strftime.c Add arch taglines 2003-09-01 15:45:59 +00:00
sunfns.c Remove period at end of error message. 2003-11-16 16:17:09 +00:00
syntax.c (Fmodify_syntax_entry): Fix docstring. 2004-05-07 22:26:29 +00:00
syntax.h (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY_INT): Avoid 2004-05-02 18:46:39 +00:00
sysdep.c Merged in changes from CVS HEAD 2004-02-28 04:52:40 +00:00
sysselect.h Add arch taglines 2003-09-01 15:45:59 +00:00
syssignal.h Merged in changes from CVS trunk. 2004-05-07 14:20:00 +00:00
systime.h Add arch taglines 2003-09-01 15:45:59 +00:00
systty.h Add arch taglines 2003-09-01 15:45:59 +00:00
syswait.h Add arch taglines 2003-09-01 15:45:59 +00:00
temacs.opt
term.c Make terminal_coding and keyboard_coding display-local. 2004-05-23 01:53:23 +00:00
termcap.c (tgetst1): Scan for "%pN"; if all 2003-12-25 12:13:59 +00:00
termchar.h Make terminal_coding and keyboard_coding display-local. 2004-05-23 01:53:23 +00:00
termhooks.h Make terminal_coding and keyboard_coding display-local. 2004-05-23 01:53:23 +00:00
terminfo.c Add arch taglines 2003-09-01 15:45:59 +00:00
termopts.h Add a level of indirection to terminal characteristics. 2003-12-24 18:55:24 +00:00
textprop.c (get_char_property_and_overlay): Use GET_OVERLAYS_AT. 2004-05-17 22:48:07 +00:00
tparam.c (tparam1): Add handling for `%pN', which 2003-12-24 07:31:42 +00:00
uaf.h Add arch taglines 2003-09-01 15:45:59 +00:00
undo.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexaix.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexalpha.c Don't include varargs.h. 2003-09-17 13:30:23 +00:00
unexapollo.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexconvex.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexcw.c Changes from arch/CVS synchronization 2004-04-13 23:32:57 +00:00
unexec.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexelf.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexenix.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexhp9k800.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexmacosx.c unexecmacos.x (unexec_copy): Do not copy more than was requested (count) 2004-01-28 06:07:36 +00:00
unexmips.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexnext.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexsni.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexsol.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexsunos4.c Add arch taglines 2003-09-01 15:45:59 +00:00
unexw32.c Add arch taglines 2003-09-01 15:45:59 +00:00
vlimit.h Add arch taglines 2003-09-01 15:45:59 +00:00
vm-limit.c Add arch taglines 2003-09-01 15:45:59 +00:00
w16select.c Add arch taglines 2003-09-01 15:45:59 +00:00
w32.c Rename w32_num_mouse_buttons from Vw32_num_mouse_buttons. 2004-05-17 21:33:16 +00:00
w32.h Add arch taglines 2003-09-01 15:45:59 +00:00
w32bdf.c Remove period at end of error message. 2003-11-16 16:17:09 +00:00
w32bdf.h Add arch taglines 2003-09-01 15:45:59 +00:00
w32console.c Prefix RIF functions with w32con_ to avoid namespace clash with term.c. 2004-05-18 19:48:51 +00:00
w32fns.c Fix last change for non USE_LISP_UNION_TYPE case. 2004-05-18 20:26:26 +00:00
w32gui.h Add arch taglines 2003-09-01 15:45:59 +00:00
w32heap.c [USE_LSB_TAG]: Don't check heap location. 2004-05-18 07:53:53 +00:00
w32heap.h Add arch taglines 2003-09-01 15:45:59 +00:00
w32inevt.c (w32_console_mouse_position, do_mouse_event, key_event): Don't mix 2004-05-17 20:44:46 +00:00
w32inevt.h (w32_console_mouse_position): Fix prototype. 2004-02-27 23:49:09 +00:00
w32menu.c (add_menu_item, w32_menu_display_help) [USE_LISP_UNION_TYPE]: Cast 2004-05-18 19:53:08 +00:00
w32proc.c (create_child): Use INTMASK. 2004-05-18 22:09:25 +00:00
w32reg.c Add arch taglines 2003-09-01 15:45:59 +00:00
w32select.c (Fw32_set_clipboard_data): Get sequence number after closing the clipboard. 2004-04-18 18:34:03 +00:00
w32term.c Merged in changes from CVS trunk. 2004-05-18 19:12:15 +00:00
w32term.h Merged in changes from CVS trunk. 2004-05-22 22:52:43 +00:00
w32xfns.c Add arch taglines 2003-09-01 15:45:59 +00:00
widget.c Add arch taglines 2003-09-01 15:45:59 +00:00
widget.h Add arch taglines 2003-09-01 15:45:59 +00:00
widgetprv.h Add arch taglines 2003-09-01 15:45:59 +00:00
window.c Merged in changes from CVS trunk. 2004-05-18 19:12:15 +00:00
window.h Merged in changes from CVS trunk. 2004-04-23 14:44:11 +00:00
xdisp.c Make terminal_coding and keyboard_coding display-local. 2004-05-23 01:53:23 +00:00
xfaces.c Merged in changes from CVS trunk. 2004-05-18 19:12:15 +00:00
xfns.c Merged in changes from CVS trunk. 2004-05-18 19:12:15 +00:00
xmenu.c Merged in changes from CVS HEAD 2004-01-12 16:36:35 +00:00
xrdb.c Add arch taglines 2003-09-01 15:45:59 +00:00
xselect.c Merged in changes from CVS HEAD 2004-02-17 01:52:25 +00:00
xsmfns.c Merged in changes from CVS HEAD 2004-02-28 04:52:40 +00:00
xterm.c Merged in changes from CVS trunk. 2004-04-27 15:53:30 +00:00
xterm.h Merged in changes from CVS trunk. 2004-04-23 14:44:11 +00:00

This directory contains the source files for the C component of GNU Emacs.
Nothing in this directory is needed for using Emacs once it is built
and installed, if the dumped Emacs (on Unix systems) or the Emacs
executable and map files (on VMS systems) are copied elsewhere.

See the files ../README and then ../INSTALL for installation instructions.

Under GNU and Unix systems, the file `Makefile.in' is used as a
template by the script `../configure' to produce `Makefile.c'.  The
same script then uses `cpp' to produce the machine-dependent
`Makefile' from `Makefile.c'; `Makefile' is the file which actually
controls the compilation of Emacs.  Most of this should work
transparently to the user; you should only need to run `../configure',
and then type `make'.

See the file VMSBUILD in this directory for instructions on compiling,
linking and building Emacs on VMS.

The files `*.com' and `temacs.opt' are used on VMS only.
The files `vlimit.h', `ioclt.h' and `param.h' are stubs to
allow compilation on VMS with the minimum amount of #ifdefs.

`uaf.h' contains VMS uaf structure definitions.  This is only needed if
you define READ_SYSUAF.  This should only be done for single-user
systems where you are not overly concerned with security, since it
either requires that you install Emacs with SYSPRV or make SYSUAF.DAT
world readable.  Otherwise, Emacs can determine information about the
current user, but no one else.