1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-18 12:00:38 -07:00
Commit graph

58590 commits

Author SHA1 Message Date
Karoly Lorentey
f0caabd962 Add two pending bugs to README.multi-tty.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-392
2005-08-25 12:03:34 +00:00
Karoly Lorentey
507633649f Apply patch from CVS trunk to fix recenter on ttys.
* src/window.c (window_internal_height): Remove bogus make_number call.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-391
2005-08-04 00:50:01 +00:00
Karoly Lorentey
d51abf2262 Work around crashes in X session management after normal shutdown of X server.
* src/xsmfns.c (x_session_close): New function.
* src/xterm.h: Declare it.

* src/xterm.c (XTread_socket): Don't call x_session_check_input for
  secondary displays.
  (x_term_init): Do not initialize X session management when the initial
  display was a tty frame.
  (x_delete_display): Close X session management when we close its display.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-390
2005-08-04 00:46:55 +00:00
Karoly Lorentey
e682e37ece Don't let window-system-default-frame-alist override parameters specified manually.
* lisp/frame.el (make-frame): Append window-system-default-frame-alist to
  parameters before calling frame-creation-function.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-389
2005-07-22 03:24:10 +00:00
Karoly Lorentey
c6c53c3e65 Fix broken emacsclient resume on Solaris (by Dan Nicolaescu).
* lib-src/emacsclient.c (handle_sigcont): Reestablish signal handler. (Dan Nicolaescu)

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-388
2005-07-13 16:15:50 +00:00
Karoly Lorentey
f3d3467760 Fix dumb error leading to national keys not working on ttys.
* lisp/international/encoded-kb.el (encoded-kbd-setup-display): Fix
  broken condition before set-input-mode.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-387
2005-07-12 11:09:18 +00:00
Karoly Lorentey
ac09dc1ec3 Rename function-key-map to local-function-key-map, and global-function-key-map to function-key-map. Same for key-translation-map.
* src/keyboard.h (struct kboard): Rename member 'Vfunction_key_map' to
  'Vlocal_function_key_map', and 'Vkey_translation_map' to
  'Vlocal_key_translation_map'.
  (Vfunction_key_map, Vkey_translation_map): New declarations.

* src/keyboard.c (Vfunction_key_map): New variable.
  (Vglobal_key_translation_map): Rename to Vglobal_key_translation_map.
  (read_key_sequence, init_kboard, syms_of_keyboard, mark_kboards): Update.
* src/keymap.c (Fdescribe_buffer_bindings): Update.
* src/term.c (term_get_fkeys_1): Update.

* lisp/double.el (double-setup): Replace global-key-translation-map with key-translation-map.
* lisp/international/encoded-kb.el (encoded-kbd-setup-display): Ditto.
* lisp/international/iso-transl.el: Ditto.
* lisp/obsolete/iso-acc.el (iso-accents-customize): Ditto.

* lisp/edmacro.el (edmacro-format-keys): Use terminal-local binding of
  local-function-key-map instead of function-key-map.
* lisp/emulation/cua-base.el (cua--pre-command-handler): Ditto.
* lisp/isearch.el (isearch-other-meta-char): Ditto.
* lisp/subr.el (read-quoted-char): Ditto.
* lisp/term/vt200.el: Ditto.
* lisp/term/vt201.el: Ditto.
* lisp/term/vt220.el: Ditto.
* lisp/term/vt240.el: Ditto.
* lisp/term/vt300.el: Ditto.
* lisp/term/vt320.el: Ditto.
* lisp/term/vt400.el: Ditto.
* lisp/term/vt420.el: Ditto.

* lisp/simple.el (normal-erase-is-backspace-mode): Add todo note.
* lisp/xt-mouse.el: Ditto.

* lisp/term/AT386.el: Adapt for renaming of function-key-map to local-function-key-map.
* lisp/term/internal.el: Ditto.
* lisp/term/iris-ansi.el: Ditto.
* lisp/term/lk201.el: Ditto.
* lisp/term/mac-win.el: Ditto.
* lisp/term/news.el: Ditto.
* lisp/term/rxvt.el: Ditto.
* lisp/term/sun.el: Ditto.
* lisp/term/tvi970.el: Ditto.
* lisp/term/wyse50.el: Ditto.
* lisp/term/x-win.el (x-setup-function-keys): Ditto.
* lisp/term/xterm.el: Ditto.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-386
2005-07-12 10:55:24 +00:00
Karoly Lorentey
a9d63618b0 README update.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-385
2005-07-11 00:21:10 +00:00
Karoly Lorentey
e5373d7516 Fix compilation error in select_frame_for_redisplay.
* src/xdisp.c (select_frame_for_redisplay): Fix xassert.


git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-384
2005-07-11 00:19:34 +00:00
Karoly Lorentey
6d93dbff63 Cosmetic changes in server.el.
* lisp/server.el: Use `device' instead of `display' or `display-id' in
  variable and client parameter names.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-383
2005-07-11 00:12:27 +00:00
Karoly Lorentey
7e59217d26 Rename struct display' to struct device'. Update function, parameter and variable names accordingly.
* src/termhooks.h (struct device): Rename to `struct device'.
  Rename member `next_display' to `next_device'.
  Rename member `delete_display_hook' to `delete_device_hook'.
  (FRAME_DISPLAY): Rename to FRAME_DEVICE.
  (DISPLAY_ACTIVE_P): Rename to DEVICE_ACTIVE_P.
  (DISPLAY_TERMINAL_CODING): Rename to DEVICE_TERMINAL_CODING.
  (DISPLAY_KEYBOARD_CODING): Rename to DEVICE_KEYBOARD_CODING.

* src/frame.h (stuct frame): Rename `display' member to `device'.

* src/xterm.h (x_display_info): Rename member `frame_display' to `device'.

* src/termchar.h (struct tty_display_info): Rename `display' member to `device'.

* src/keyboard.c (push_display_kboard): Rename to push_device_kboard.

* lisp/frame.el (make-frame): Rename frame parameter `display-id' to `device'.
* src/frame.c (Fmake_terminal_frame): Ditto.
* src/xfns.c (Fx_create_frame): Ditto.

* src/term.c (display_list): Rename to device_list.
* src/term.c (initial_display): Rename to initial_device.
* src/term.c (next_display_id): Rename to next_device_id.
* src/term.c (get_display): Rename to get_device.
* src/term.c (get_tty_display): Rename to get_tty_device.
* src/term.c (get_named_tty_display): Rename to get_named_tty.
* src/term.c (init_initial_display): Rename to init_initial_device.
* src/term.c (delete_initial_display): Rename to delete_initial_device.
* src/term.c (create_display): Rename to create_device.
* src/term.c (delete_display): Rename to delete_device.

* src/xfns.c (check_x_display_info): Document that the function allows
  display ids as well.

* src/xterm.c (x_delete_frame_display): Rename to x_delete_device.
* src/xterm.c (x_create_frame_display): Rename to x_create_device.

* src/coding.c: Update.
* src/dispextern.h: Update.
* src/data.c: Update.
* src/dispnew.c: Update.
* src/frame.c: Update.
* src/frame.h: Update.
* src/keyboard.c: Update.
* src/keyboard.h: Update.
* src/lisp.h: Update.
* src/sysdep.c: Update.
* src/term.c: Update.
* src/xdisp.c: Update.
* src/xselect.c: Update.
* src/xterm.c: Update.

* src/prefix-args.c: Include stdlib.h for exit.


git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-382
2005-07-11 00:05:55 +00:00
Karoly Lorentey
a4c6993d4a Rename term_init to init_tty.
* src/term.c (term_init): Rename to init_tty.

* src/dispextern.h (term_init): Rename to init_tty.

* src/dispnew.c (init_display): Update.
* src/frame.c (Fmake_terminal_frame): Update.
* src/term.c (tty_setup_colors): Update comment.



git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-381
2005-07-10 22:25:28 +00:00
Karoly Lorentey
3e6f836c7b README update.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-380
2005-07-10 22:18:46 +00:00
Karoly Lorentey
19d9c7bbbf At long last, fix annoying SELECTED_FRAME crashes after unexpected connection failures. Yay!
* src/xdisp.c (select_frame_for_redisplay): Add xassert for FRAME_LIVE_P.
  (unwind_redisplay): Don't restore previous frame if it has been deleted.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-379
2005-07-10 20:44:37 +00:00
Karoly Lorentey
520c4dfd15 Fix compilation error in src/term.c.
* src/term.c (term_init): Move maybe_fatal declaration to top-level to
  prevent complaints from GCC 4.0.


git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-378
2005-07-10 20:35:39 +00:00
Karoly Lorentey
c6fb7c433c Merged from miles@gnu.org--gnu-2005 (patch 474)
Patches applied:

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-474
   Update from CVS

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-377
2005-07-10 19:26:29 +00:00
Karoly Lorentey
cc7d6d6f6d Merged from miles@gnu.org--gnu-2005 (patch 470-473)
Patches applied:

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-470
   Update from CVS

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-471
   Update from CVS

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-472
   Update from CVS

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-473
   Update from CVS

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-376
2005-07-10 19:23:59 +00:00
Lute Kamstra
9750d7720a *** empty log message *** 2005-07-07 11:20:45 +00:00
Juanma Barranquero
a653724b13 (occur-rename-buffer): Use `generate-new-buffer' also when called
non-interactively.  Doc fix.
2005-07-07 10:04:01 +00:00
Kim F. Storm
f567c48870 (Frecenter): Remove superfluous settings of iarg. 2005-07-07 09:36:18 +00:00
Kim F. Storm
ae12ecd756 (Frecenter): Fix last change (set iarg before use). 2005-07-07 09:33:29 +00:00
Kim F. Storm
a96b333ce4 *** empty log message *** 2005-07-07 09:33:13 +00:00
Lute Kamstra
9d42fe6f84 *** empty log message *** 2005-07-07 09:27:54 +00:00
Lute Kamstra
0df0b0e953 (elide-head-headers-to-hide): Recognize the FSF's new address as well. 2005-07-07 09:27:04 +00:00
Lute Kamstra
cf00671d1f Delete file. The GNU Task List is obsolete and has been replaced by
http://savannah.gnu.org/projects/tasklist.
2005-07-07 08:39:54 +00:00
Lute Kamstra
60b34e064f Update versionnumber' and year'. Update Emacs's version to 22.
(Starting Emacs): Delete sentence to fix formatting problems.
(Multiple Windows): Clarify first sentence.  Mention C-x 5 1.
(Formatting): Update the binding of set face.
(International Character Sets): set-language-environment is bound to
C-x RET l
2005-07-07 08:07:37 +00:00
Kenichi Handa
43b557d507 (make-coding-system): Describe
`ascii-incompatible' property in the docstring.
(set-file-name-coding-system): Signal an error if coding-system is
ascii-incompatible.
(set-keyboard-coding-system): Likewise.
2005-07-07 06:23:10 +00:00
Kenichi Handa
4a6cbbc416 (set-default-coding-systems): Don't
set default-file-name-coding-system and
default-keyboard-coding-system if coding-system is
ASCII-incompatible.
2005-07-07 06:20:13 +00:00
Kenichi Handa
a9be26751c Declare that all UTF-16-based coding
systems ASCII-incompatible.
2005-07-07 06:18:59 +00:00
Stefan Monnier
a5717394ea (CSI-map, SS3-map, GOLD-map, GOLD-CSI-map)
(GOLD-SS3-map): Initialize in declaration.
(tpu-set-mode-line): Don't throw away other minor mode strings when
turning off the mode.
(tpu-set-match, tpu-match-beginning, tpu-check-match)
(tpu-show-match-markers): Use the insertion-type rather than the +1
offset kludge for tpu-match-beginning-mark.
(tpu-edt-mode): Use define-minor-mode.
(minibuffer-local-must-match-map, minibuffer-local-map): Try to avoid
using the escape sequence and use the real key name instead.
(tpu-reset-control-keys): Don't copy a keymap needlessly.
(tpu-arrow-history): Simplify.
(tpu-edt-on): Set control keys after changing the global map.
(tpu-edt-on, tpu-edt-off): Work unconditionally.
2005-07-07 04:59:32 +00:00
Nick Roberts
67bb20fadb Require font-lock for displaying errors.
Used by gdb-ui.el.
2005-07-07 04:59:06 +00:00
Nick Roberts
811ade5c23 *** empty log message *** 2005-07-07 04:58:07 +00:00
Stefan Monnier
521b27480a (hide-ifdef-use-define-alist): Pass a list of
strings rather than a list of symbols to the completion function.
2005-07-07 04:31:17 +00:00
Juanma Barranquero
ed6773fa23 (hi-lock-find-patterns): Protect also against invalid values for the pattern
lists which are `read'able but not `append'able (like symbols).
2005-07-07 01:51:48 +00:00
Richard M. Stallman
dc2204be4f *** empty log message *** 2005-07-06 22:12:32 +00:00
Richard M. Stallman
4362c7142f (Regexp Search): Clarify what re-search-forward does when the search fails. 2005-07-06 22:12:01 +00:00
Richard M. Stallman
f6b434405b (Frecenter): When arg is inside the scroll margin, move it out of the margin. 2005-07-06 22:06:15 +00:00
Jason Rumney
47bdd30500 Add note about change to default value of w32-use-full-screen-buffer. 2005-07-06 21:55:51 +00:00
Jason Rumney
3fb1d72bcb (initialize_w32_display): Detect when the console
dimensions are insane, and default to 80x25 instead.
(w32_use_full_screen_buffer): default to NIL.
2005-07-06 21:36:31 +00:00
Richard M. Stallman
7ea8834e08 (flymake-float-time): Instead of with-no-warnings, test for xemacs.
(flymake-replace-regexp-in-string): Test fboundp of replace-in-string
to avoid warning.
2005-07-06 19:03:21 +00:00
Juanma Barranquero
d25dfeedfc (w32-fixed-font-alist): Fix typo in `defcustom' tag. 2005-07-06 13:58:31 +00:00
Lute Kamstra
edfaf76da9 Regenerate. 2005-07-06 12:07:32 +00:00
Lute Kamstra
e6a304f077 Fix capitalization. 2005-07-06 12:03:35 +00:00
YAMAMOTO Mitsuharu
dd15724de4 (mac_draw_vertical_window_border): Use foreground of
VERTICAL_BORDER_FACE_ID for vertical border line.
(mac_encode_char): Call check_ccl_update in advance.
(mac_to_x_fontname, x_font_name_to_mac_font_name)
(init_font_name_table, mac_do_list_fonts, XLoadQueryFont): Don't
assume that font family length is less than 32.
(x_compute_min_glyph_bounds): Make static.
(x_load_font): Never set fonts_changed_p to zero.
2005-07-06 08:44:00 +00:00
Lute Kamstra
57985b44c9 *** empty log message *** 2005-07-06 08:38:36 +00:00
Karoly Lorentey
e519a50bf7 Handle and document that delete-frame' may call functions in delete-frame-functions' twice.
* src/frame.c (syms_of_frame): Add warning to `delete-frame-functions' description.

* lisp/frame.el (terminal-handle-delete-frame): Check that the frame is alive.
* lisp/server.el (server-handle-delete-frame): Ditto.  Remove bogus comment.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-375
2005-07-06 01:41:56 +00:00
Karoly Lorentey
626ea340bc Small enhancements.
* lisp/international/mule-cmds.el (set-locale-environment): Use
  server-getenv, not getenv.

* lisp/server.el (server-handle-delete-frame): Add note on possible race
  condition.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-374
2005-07-06 00:42:58 +00:00
Karoly Lorentey
4400e7648c Implement rudimentary Lisp-level terminal parameters.
* lisp/frame.el (terminal-id, terminal-parameters, terminal-parameter) 
  (set-terminal-parameter, terminal-handle-delete-frame): New functions.
  (delete-frame-functions): Add to `delete-frame-functions' hook.
  (terminal-parameter-alist): New variable.

* lisp/international/encoded-kb.el (saved-input-mode): Delete variable.
  (encoded-kbd-setup-display): Store the saved input method as a terminal
  parameter.


git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-373
2005-07-06 00:41:41 +00:00
Karoly Lorentey
d5dc920668 Merged from miles@gnu.org--gnu-2005 (patch 469)
Patches applied:

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-469
   Update from CVS

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-372
2005-07-05 22:22:24 +00:00
Karoly Lorentey
41be4f66fd Merged from miles@gnu.org--gnu-2005 (patch 83-87, 449-468)
Patches applied:

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-449
   Update from CVS

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-450
   Update from CVS

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-451
   Update from CVS

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-452
   Update from CVS

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-453
   Update from CVS: lisp/subr.el (add-to-ordered-list): Doc fix.

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-454
   Update from CVS

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-455
   Update from CVS

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-456
   Update from CVS

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-457
   Update from CVS

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-458
   Merge from gnus--rel--5.10

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-459
   Update from CVS

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-460
   Update from CVS

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-461
   Merge from gnus--rel--5.10

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-462
   Update from CVS

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-463
   Update from CVS

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-464
   Merge from gnus--rel--5.10

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-465
   Update from CVS

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-466
   Update from CVS

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-467
   Update from CVS

 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-468
   Update from CVS

 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-83
   Merge from emacs--cvs-trunk--0

 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-84
   Merge from emacs--cvs-trunk--0

 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-85
   Update from CVS

 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-86
   Update from CVS

 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-87
   Update from CVS

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-371
2005-07-05 22:12:55 +00:00