1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-16 09:50:25 +00:00
Commit Graph

32776 Commits

Author SHA1 Message Date
Karoly Lorentey
c28443026f Show the splash screen on Emacsclient frames. Show *scratch* by default.
* lisp/server.el (server-process-filter): Show the Emacs splash screen
  and startup echo area message.  Display the *scratch* buffer by
  default.

* lisp/startup.el (fancy-splash-screens): Restore previous buffer, even
  if it's *scratch*.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-473
2005-12-29 21:10:33 +00:00
Karoly Lorentey
6ed8eeffb3 Rename struct device' to struct terminal'. Rename some terminal-related functions similarly.
* src/termhooks.h (struct device): Rename to `terminal'.  Rename member
  `next_device' to `next_terminal'.
  (device_list): Rename to `terminal_list'.
  (FRAME_DEVICE): Rename to `FRAME_TERMINAL'.
  (DEVICE_TERMINAL_CODING): Rename to `TERMINAL_TERMINAL_CODING'.
  (TERMINAL_KEYBOARD_CODING): Rename to `TERMINAL_KEYBOARD_CODING'.
  (DEVICE_ACTIVE_P): Rename to `TERMINAL_ACTIVE_P'.
  Update declarations and macro definitions.

* src/termchar.h (tty_display_info): Rename member `device' to `terminal'.
  (FRAME_TTY): Update for renames.

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

* src/frame.h (frame): Rename `device' member to `terminal'.
  (FRAME_KBOARD, FRAME_LIVE_P, Qdevice, Qdisplay_live_p):
  Update for renames.

* src/lisp.h (set_process_environment): Rename to `set_global_environment'.
  (device): Rename to `terminal'.

* src/dispextern.h: Update declarations and macro definitions.

* src/terminal.c (device_list): Rename to `terminal_list'.
  (next_device_id): Rename to `next_terminal_id'.
  (initial_device): Rename to `initial_terminal'.
  (get_device): Rename to `get_terminal'.
  (create_device): Rename to `create_terminal'.
  (mark_devices): Rename to `mark_terminals'.
  (delete_device): Rename to `delete_terminal'.
  (Fdelete_display): Rename to `Fdelete_terminal'.
  (Fframe_terminal): Move here from frame.c.
  (Fdisplay_live_p): Rename to `Fterminal_live_p'.
  (Fdisplay_list): Rename to `Fterminal_list'.
  (Fdisplay_name): Rename to `Fterminal_name'.
  (init_initial_device): Rename to `init_initial_terminal'.
  (delete_initial_device): Rename to `delete_initial_terminal'.
  (ring_bell, update_begin, update_end, set_terminal_window)
  (cursor_to, raw_cursor_to, clear_to_end, clear_frame)
  (clear_end_of_line, write_glyphs, insert_glyphs, delete_glyphs)
  (ins_del_lines, get_terminal_param, store_terminal_param)
  (Fterminal_parameters, Fterminal_parameter)
  (Fmodify_terminal_parameters, Fset_terminal_parameter)
  (syms_of_terminal): Update for renames.

* src/term.c (get_tty_device): Rename to `get_tty_terminal'.  Update.
  (Fdisplay_tty_type): Rename to `Ftty_type'.
  (Fdisplay_controlling_tty_p): Rename to `Fcontrolling_tty_p'.
  (delete_tty, tty_set_terminal_modes, tty_reset_terminal_modes)
  (Ftty_display_color_p, Ftty_display_color_cells, get_named_tty)
  (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output)
  (init_tty, maybe_fatal, delete_tty, syms_of_term): Update for rename.

* src/frame.c (Qdevice): Rename to `Qterminal'.
  (Qdisplay_live_p): Rename to `Qterminal_live_p'.
  (terminal_frame_count): Rename to `tty_frame_count'.
  (Fframe_display): Move to terminal.c, rename to `Fframe_terminal'.
  (make_frame_without_minibuffer, make_initial_frame)
  (make_terminal_frame, Fmodify_frame_parameters)
  (do_switch_frame, Fdelete_frame, Fmouse_position)
  (Fmouse_pixel_position, Fraise_frame, Flower_frame)
  (Fredirect_frame_focus, set_term_frame_name, syms_of_frame):
  Update for renames.

* src/xdisp.c (message2_nolog, message3_nolog, redisplay_internal)
  (set_vertical_scroll_bar, redisplay_window, check_x_display_info)
  (x_set_scroll_bar_foreground, x_set_scroll_bar_background)
  (Fx_create_frame, Fxw_display_color_p, Fx_display_grayscale_p)
  (Fx_display_pixel_width, Fx_display_pixel_height)
  (Fx_display_planes, Fx_display_color_cells)
  (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version)
  (Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width)
  (Fx_display_backing_store, Fx_display_visual_class)
  (Fx_display_save_under, Fx_close_connection, x_create_tip_frame):
  Update for renames.

* xterm.c (handle_one_xevent): Initialize `f' to NULL.
  (x_delete_device): Rename to `x_delete_terminal'.
  (x_create_device): Rename to `x_create_terminal'.
  (XTset_terminal_modes, XTreset_terminal_modes)
  (XTread_socket, x_connection_closed, x_term_init)
  (x_term_init, x_delete_display): Update for renames.

* src/dispnew.c (Fredraw_frame, Fsend_string_to_terminal)
  (Fsend_string_to_terminal, init_display): Update for renames.

* src/keyboard.c (push_frame_kboard, pop_kboard, pop_kboard)
  (kbd_buffer_get_event, read_avail_input, tty_read_avail_input)
  (interrupt_signal, Fset_output_flow_control)
  (Fset_input_meta_mode, Fset_quit_char, delete_kboard)
  (syms_of_keyboard): Update for renames.

* src/alloc.c (mark_devices): Update declaration.
  (Fgarbage_collect): Update for renames.

* src/coding.c (Fset_terminal_coding_system_internal)
  (Fterminal_coding_system4)
  (Fset_keyboard_coding_system_internal)
  (Fkeyboard_coding_system): Update for renames.

* src/data.c (Fterminal_local_value, Fset_terminal_local_value):
  Update for renames.

* src/minibuf.c (read_minibuf): Update for renames.

* src/sysdep.c (init_sys_modes, reset_sys_modes): Update for renames.

* xselect.c (x_handle_selection_clear): Update for renames.

* lisp/files.el (save-buffers-kill-display): Rename to `save-buffers-kill-terminal'.
  (save-buffers-kill-terminal, ctl-x-map): Update for renames.

* frame.el (make-frame): Rename 'device frame parameter to 'terminal.  Update.
  (frames-on-display-list, framep-on-display, suspend-frame): Update for renames.
  (selected-display): Rename to `selected-terminal'.

* server.el (server-save-buffers-kill-display): Rename to
  `server-save-buffers-kill-terminal'.
  (server-delete-client, server-handle-delete-frame)
  (server-handle-suspend-tty, server-process-filter)
  (server-switch-buffer): Update for renames.

* startup.el (normal-splash-screen, normal-splash-screen): Update for renames.

* talk.el (talk): Update for renames.

* termdev.el (terminal-id): Update for renames.

* xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
  (turn-off-xterm-mouse-tracking-on-terminal)
  (xterm-mouse-handle-delete-frame): Update for renames.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-471
2005-12-29 18:20:26 +00:00
Karoly Lorentey
17ccbd91f6 Update environment-related doc strings.
* lisp/env.el (setenv, getenv): Update doc strings.

* src/callproc.c (Fgetenv_internal, syms_of_callproc): Update doc strings.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-470
2005-12-29 04:57:14 +00:00
Karoly Lorentey
01999e9d53 Merged from miles@gnu.org--gnu-2005 (patch 681)
Patches applied:

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

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-469
2005-12-29 04:46:59 +00:00
Karoly Lorentey
e583523a10 Merged from miles@gnu.org--gnu-2005 (patch 678-680)
Patches applied:

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

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

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

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-468
2005-12-29 04:41:02 +00:00
Karoly Lorentey
da8e8fc14f Store local environment in frame (not terminal) parameters.
* src/callproc.c (child_setup, getenv_internal, Fgetenv_internal):
  Store the local environment in a frame (not terminal) parameter.
  Update doc strings.
  (syms_of_callproc): Update doc strings.
  (Qenvironment): Moved to frame.c. 

* lisp/env.el (read-envvar-name, setenv, getenv, environment): Use frame
  parameters to store the local environment, not terminal parameters.

* server.el (server-process-filter): Store the local environment in a
  frame (not terminal) parameter.  Do not try to decode environment
  strings.

* lisp/frame.el (make-frame): Set up the 'environment frame parameter,
  when needed.

* src/frame.c (Qenvironment): Move here from callproc.c.
  (Fdelete_frame): Don't allow other frames to refer to a deleted frame
  in their 'environment parameter.
  (Fframe_with_environment): New function.
  (syms_of_frame): Defsubr it.  Initialize and staticpro Qenvironment.

* frame.h (Qenvironment): Declare.
* lisp.h (Fframe_with_environment): EXFUN it.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-467
2005-12-29 04:31:04 +00:00
Nick Roberts
d0b9c14d9f (gdb-tooltip-print, gdb-tooltip-print-1):
Display name of expression instead of convenience variable.
(gdb-post-prompt): Only call gdb-get-changed-registers if needed.
2005-12-29 02:04:36 +00:00
Nick Roberts
cf84aa19f5 (gud-tooltip-dereference): Rename from toggle-gud-tooltip-dereference.
(gud-tooltip-print-command): Move concatenation of "*" to expr to...
(gud-tooltip-tips): ...here when dereferencing.
2005-12-29 02:03:20 +00:00
Nick Roberts
bc2051e4ed *** empty log message *** 2005-12-29 02:01:31 +00:00
Karoly Lorentey
5990851d42 Fix semantics of let-binding `process-environment'.
* lisp/env.el: Require cl for byte compilation. (For `block' and `return'.)
  (read-envvar-name): Update for rename.  Include `process-environment'
  as well.
  (setenv): Update for rename also handle `process-environment'.  Update doc.
  (getenv): Update doc.
  (environment): New function.
  (let-environment): New macro.

* lisp/font-lock.el (lisp-font-lock-keywords-2): Add `let-environment'.

* src/callproc.c (Vglobal_environment): New variable, taking over the
  previous role of `Vprocess_environment', which is now something else.
  (add_env): New function.
  (child_setup): Use it.
  (child_setup, getenv_internal): Rename Vprocess_environment to
  Vglobal_environment.  Handle the new Vprocess_environment.
  (Fgetenv_internal, egetenv): Update doc.
  (set_process_environment): Rename to `set_global_environment'.  Rename
  Vprocess_environment to Vglobal_environment.
  (syms_of_callproc): Rename process-environment to global-environment,
  add new process-environment, update docs.

* src/emacs.c (main): Call set_global_environment instead of
  set_process_environment.

* fileio.c (Fread_file_name): Update comment.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-465
2005-12-29 01:28:33 +00:00
Karoly Lorentey
b2a300dc19 Fix error during bootstrap.
* lisp/cus-start.el: Fix compilation error.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-464
2005-12-29 01:18:49 +00:00
Bill Wohler
0d887b77b1 * simple.el (mh-e-user-agent): Move to mh-e/mh-comp.el and autoload. 2005-12-28 21:54:07 +00:00
Stefan Monnier
97461c846c (vc-annotate-display): Replace optional arg `color-map' with
compulsory arg `ratio'.  Inline body of vc-annotate-time-span.
(vc-annotate-display-autoscale): Adjust call.
(vc-annotate-display-default): Adjust call.  Make arg compulsory.
Fix interactive spec.
(vc-annotate-time-span): Remove.
(vc-annotate-oldest-in-map): Rename from vc-annotate-car-last-cons.
(vc-annotate-mode-menu, vc-annotate-display-autoscale)
(vc-annotate-display-select): Use new name.
2005-12-28 20:13:47 +00:00
Stefan Monnier
07a95b81f4 (vc-annotate-mode-map): Remove obsolete binding.
(vc-annotate-mode-menu): Remove left-over redundant declaration.
Correct the construction of span entries.  Simplify.
(vc-annotate-display-select): Fix the nil case.
(vc-annotate): Remove obsolete (and now broken) code.
(vc-annotate-extract-revision-at-line): Remove obsolete code.
(vc-annotate-time-span): Remove unused arg `quantize'.  Simplify.
2005-12-28 18:47:12 +00:00
Luc Teirlinck
ba45513111 *** empty log message *** 2005-12-28 17:14:45 +00:00
Luc Teirlinck
4adc30a4ae (send-mail-function): Fix typo in comment. 2005-12-28 16:49:59 +00:00
Luc Teirlinck
a496452fd7 (command-line): Use custom-reevaluate-setting' for send-mail-function'. 2005-12-28 16:39:52 +00:00
Luc Teirlinck
5e7f11bc15 (send-mail-function): Autoload the standard-value. 2005-12-28 16:38:27 +00:00
Luc Teirlinck
3cf212510b (lazy-completion-table): Correct typo in docstring. 2005-12-28 16:36:18 +00:00
Simon Josefsson
c3f69831cb Fix AUTH PLAIN authentication. 2005-12-28 08:46:05 +00:00
Richard M. Stallman
6281e1e84d *** empty log message *** 2005-12-28 03:44:37 +00:00
Richard M. Stallman
18e980c2ae (mouse-drag-region-1): When remapping mouse-1 to mouse-2, go back to
previously selected window, so it's selected when mouse-2 command runs.
2005-12-28 03:19:29 +00:00
Juri Linkov
84116a137c *** empty log message *** 2005-12-28 02:02:23 +00:00
Juri Linkov
2fd54bf88c (describe-text-sexp): Use square brackets for
button [Show] to distinguish it from the property value `show'.
(describe-property-list): Use `insert-text-button' with
`help-face' type instead of putting face in quotes, because button
is not created automatically for a list of faces.
(describe-text-properties-1): Put button-type value in quotes to
distinguish from plain text "button".
(describe-char): Display code point values in hex.  Don't use
`symbol-name' for `current-input-method' because it is a string.
Use `insert-text-button' with `help-face' type instead of putting
hardcoded face in quotes, because button is not created automatically.
2005-12-28 01:55:16 +00:00
Richard M. Stallman
2926b5fba6 (glasses-face): More specific custom type. 2005-12-27 23:48:05 +00:00
Richard M. Stallman
1af5710156 (set-visited-file-name): Doc fix. 2005-12-27 22:54:13 +00:00
Richard M. Stallman
51978cac9a (flyspell-external-point-words):
Use local var buffer-scan-pos to advance scan for next misspelling.
Advance it only after we find the misspelling.
New criteria for finding the misspelling in the buffer.
2005-12-27 22:49:46 +00:00
Bill Wohler
13fe29bd54 (mh-prompt-for-folder): Use can-create argument to suppress creation
of folder if it doesn't exist.
2005-12-27 22:42:58 +00:00
Nick Roberts
ee79234b76 *** empty log message *** 2005-12-27 21:34:19 +00:00
Nick Roberts
bfd9411056 (describe-char): Set help-xref-stack-item
explicitly after buffer has been generated.  Revert previous
changes for optional  buffer argument.
2005-12-27 21:24:53 +00:00
Nick Roberts
ee90fe9213 (help-insert-string): New function. Save buffer
contents in cases where it is impossible to recompute the old
contents.
2005-12-27 21:11:50 +00:00
Nick Roberts
6280f20d84 *** empty log message *** 2005-12-27 21:10:19 +00:00
Stefan Monnier
2bd87afb91 (mh-process-daemon): Don't change buffer in proc-filter. 2005-12-27 19:10:44 +00:00
Stefan Monnier
32d5ce4db4 (url-store-in-cache): Use save-current-buffer. 2005-12-27 17:01:01 +00:00
Stefan Monnier
d476efde68 (url-configuration-directory): Don't autoload because the
default value needs to be computed at run-time, not dump-time.
2005-12-27 16:59:45 +00:00
Jan Djärv
edd4b3ab76 * cus-start.el (all): Add x-gtk-show-hidden-files. 2005-12-27 10:41:22 +00:00
Jan Djärv
91b5a2041e Add x-gtk-show-hidden-files 2005-12-27 10:40:58 +00:00
Richard M. Stallman
c0b457636e (perform-replace): Calculate match-again
before skipping read-only matches.
2005-12-27 04:31:21 +00:00
Richard M. Stallman
d6f0f3e069 (paren-showing-faces): New group.
(show-paren-match, show-paren-mismatch): Move to that group.
2005-12-27 01:11:01 +00:00
Richard M. Stallman
21b9448f56 (button): Put into group `basic-faces'. 2005-12-27 01:07:36 +00:00
Richard M. Stallman
618142d989 Remove faces from group `faces'. 2005-12-27 01:06:54 +00:00
Richard M. Stallman
d7504d5c73 *** empty log message *** 2005-12-26 22:11:17 +00:00
Richard M. Stallman
543e570f73 (apropos): Doc fix. 2005-12-26 21:22:55 +00:00
Richard M. Stallman
2a4ec7e1ef (apropos, apropos-value): Doc fix.
(apropos-documentation): Doc fix.
2005-12-26 21:21:04 +00:00
Richard M. Stallman
119f6f171a Fix quoting syntax. 2005-12-26 20:28:10 +00:00
Stefan Monnier
1d5e15d046 (lazy-completion-table): Remove argument `args'. 2005-12-26 15:57:37 +00:00
Stefan Monnier
2784fcc9de (bibtex-strings, bibtex-reference-keys):
Don't use the `args' argument of lazy-completion-table.
2005-12-26 15:54:21 +00:00
Nick Roberts
a06b8fd888 (describe-char): Bug fix for previous changes: Juggle current buffer. 2005-12-26 12:35:35 +00:00
Nick Roberts
e5a5c80cd5 2005-12-27 Nick Roberts <nickrob@snap.net.nz>
* descr-text.el (describe-char): Add optional argument for buffer.
	Set buffer appropriately.  Call help-setup-xref.
	Suggested by Stefan Monnier.

2005-12-27  Juri Linkov  <juri@jurta.org>

	* descr-text.el (help-fns): Require.  Don't require button for
	byte compilation.
	(describe-text-widget): Add help echo for first button.  Use
	'help-info for second.
	(describe-property-list): Use 'help-argument-name instead of 'italic.
	(describe-text-category): Prompt in minibuffer.  Call help-setup-xref.
	(describe-char): Use 'help-character-set.  Add help echo.  Use
	'help-input-method.  Remove superfluous insert.
2005-12-26 11:41:22 +00:00
Nick Roberts
0932395f4a *** empty log message *** 2005-12-26 11:40:31 +00:00