Karoly Lorentey [Tue, 3 Jan 2006 01:50:46 +0000 (01:50 +0000)]
Overhaul and simplify single_kboard API. Allow calls to `recursive-edit' in process filters. Small fixes.
* lisp/server.el (server-process-filter): Protect `display-splash-screen'
call in a condition-case. Explain why.
* src/callint.c (Fcall_interactively): Update call to
`temporarily_switch_to_single_kboard'.
* src/fns.c (Fy_or_n_p): Ditto.
* src/frame.c (Fdelete_frame): Remove unused variable `count'.
* src/keyboard.c (wrong_kboard_jmpbuf): Remove global variable.
* src/keyboard.c (read_char): Add wrong_kboard_jmpbuf parameter to allow
for recursive calls. Update longjmp invocations. Remember the
original current_kboard, and longjmp to `wrong_kboard_jmpbuf' when a
filter, timer or sentinel changes it. Comment out unnecessary calls to
`record_single_kboard_state' and `any_kboard_state'. Update recursive
calls.
* src/keyboard.c (read_key_sequence): Add `wrong_kboard_jmpbuf' local
variable. Update setjmp and read_char calls. Abort if
interrupted_kboard died in read_char.
* src/keyboard.c (any_kboard_state, single_kboard_state)
(record_single_kboard_state): Comment out obsolete functions.
(push_frame_kboard): Remove function.
(pop_kboard): Switch out of single_kboard mode if the
kboard has been deleted.
(temporarily_switch_to_single_kboard): Change first
parameter to a frame pointer. Throw an error when caller wants to
change kboards while in single_kboard mode.
(restore_kboard_configuration): Abort if pop_kboard changed
the kboard in single_kboard mode.
(Frecursive_edit): Switch to single_kboard mode only in
nested command loops.
(cmd_error, command_loop, command_loop_1, timer_check):
Comment out unnecessary call to `any_kboard_state' and
`record_single_kboard_state'.
* src/keyboard.c (delete_kboard): Exit single_kboard mode if we have just
deleted that kboard.
* src/keyboard.c (interrupt_signal): Use `Fkill_emacs' to exit Emacs, not
`fatal_error_signal'.
* src/keyboard.h (read_char, single_kboard_state)
(record_single_kboard_state): Remove.
(temporarily_switch_to_single_kboard): Update.
* src/lread.c: Include setjmp.h. Update declaration of `read_char'.
(read_filtered_event): Call `read_char' with a local
`wrong_kboard_jmpbuf'.
* src/minibuf.c (read_minibuf): Update call to
`temporarily_switch_to_single_kboard'.
* src/termchar.h (tty_display_info): Rename `previous_terminal_frame'
member to `previous_frame'.
* src/xdisp.c (redisplay_internal): Update references to
`previous_terminal_frame'.
(display_mode_line, Fformat_mode_line): Replace calls to
`push_frame_kboard' with `push_kboard'.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-489
Karoly Lorentey [Tue, 3 Jan 2006 01:22:02 +0000 (01:22 +0000)]
Fix Delete keys under X (for good, this time).
* lisp/simple.el (normal-erase-is-backspace-mode): Fix enabled/disabled logic.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-488
Karoly Lorentey [Mon, 2 Jan 2006 09:07:22 +0000 (09:07 +0000)]
Fix last frame check in server.el.
* lisp/server.el (server-handle-delete-frame): Fix last frame check.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-487
Karoly Lorentey [Mon, 2 Jan 2006 08:35:45 +0000 (08:35 +0000)]
Fix typo in `server-handle-delete-frame'; fix startup echo area message.
* lisp/server.el (server-handle-delete-frame): Fix typo.
* server.el (server-process-filter): Call
`display-startup-echo-area-message' before `display-splash-screen'.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-486
Karoly Lorentey [Mon, 2 Jan 2006 07:54:50 +0000 (07:54 +0000)]
Experimental change: don't restore kboard after temporary changes if Emacs wasn't in single kboard state.
* src/keyboard.c (pop_kboard): Help debugging by not changing
current_kboard unnecessarily.
(temporarily_switch_to_single_kboard, record_single_kboard_state):
Don't push_kboard if we weren't in single kboard state.
Don't pop_kboard if we popped into any kboard state.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-485
Karoly Lorentey [Mon, 2 Jan 2006 07:50:53 +0000 (07:50 +0000)]
Make all frames created in an emacsclient session belong to that client.
* lisp/frame.el (make-frame): Also inherit 'client parameter. Don't
override explicitly specified values with inherited ones.
* server.el (server-delete-client): Delete frames after deleting the tty.
Clear 'client parameter before deleting a frame.
* server.el (server-handle-delete-frame): Delete the client if this was
its last frame.
* startup.el (fancy-splash-default-action): Fix typo in comment.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-484
Karoly Lorentey [Mon, 2 Jan 2006 07:43:46 +0000 (07:43 +0000)]
Install workaround for "X protocol error: BadCursor (invalid Cursor parameter) on protocol request 2"
* lwlib/xlwmenu.c (XlwMenuRealize): Ignore X errors while setting up
cursor shape.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-483
Karoly Lorentey [Sun, 1 Jan 2006 17:11:05 +0000 (17:11 +0000)]
Cosmetic fixes in xfns.c.
* src/xfns.c (Fx_close_connection, Fx_synchronize): Unify argument names
with the rest of the DEFUNs.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-482
Karoly Lorentey [Sat, 31 Dec 2005 07:31:23 +0000 (07:31 +0000)]
Fix typo in docstring of `frame-with-environment'.
* src/frame.c (Fframe_with_environment): Fix typo.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-481
Karoly Lorentey [Sat, 31 Dec 2005 07:10:31 +0000 (07:10 +0000)]
(Hopefully) fix bootstrap error on OpenBSD. (reported by Han Boetes)
* src/terminal.c: Include <stdio.h>.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-480
Karoly Lorentey [Fri, 30 Dec 2005 06:38:50 +0000 (06:38 +0000)]
Don't display the splash screen when no frame was created. (Fixes tty resume.)
* lisp/server.el (server-process-filter): Don't display the splash screen
when no frame was created.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-479
Karoly Lorentey [Fri, 30 Dec 2005 06:15:47 +0000 (06:15 +0000)]
Fix splash screen loosing input events on Emacsclient frames.
* lisp/startup.el (fancy-splash-screens): Use `overriding-local-map'
instead of `overriding-terminal-local-map' for now; the latter doesn't
work right, it looses keypresses to another terminal.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-478
Karoly Lorentey [Fri, 30 Dec 2005 05:30:57 +0000 (05:30 +0000)]
Enhance splash screens to work better with emacsclient.
* lisp/startup.el (fancy-splash-screens): Use
`overriding-terminal-local-map' to set up keymap. Install a
`delete-frame-functions' hook to catch `delete-frame' events. Ignore
`select-window' events to cope better with `focus-follows-mouse'.
Don't switch back to the original buffer if the splash frame has been
killed.
(normal-splash-screen): Don't let-bind `mode-line-format'; it changes
the global binding---setq it instead.
(display-splash-screen): Don't do anything if the splash screen is
already displayed elsewhere.
(fancy-splash-exit, fancy-splash-delete-frame): New functions.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-477
Karoly Lorentey [Fri, 30 Dec 2005 05:29:31 +0000 (05:29 +0000)]
Fix crash in lookup_image on termcap frames.
* src/xdisp.c (get_glyph_string_clip_rects): Add extra parentheses and
braces to prevent compiler warnings.
(calc_pixel_width_or_height): Add xassert to check that the
frame is alive. Don't call `lookup_image' on a termcap frame.
* image.c (lookup_image): Don't initialize `c' until the xasserts have
been run.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-476
Karoly Lorentey [Fri, 30 Dec 2005 05:28:31 +0000 (05:28 +0000)]
Make sure `delete-frame-functions' can not prevent the frame from being deleted.
* frame.c (delete_frame_handler): New function.
(Fdelete_frame): Use it to invoke `delete-frame-functions' safely.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-475
Karoly Lorentey [Thu, 29 Dec 2005 21:11:27 +0000 (21:11 +0000)]
Display "@" in mode-lines of Emacsclient frames.
* lisp/bindings.el (mode-line-client): New variable.
(help-echo): Add it to the default mode-line format.
* lisp/files.el (mode-line-client): Set it as risky.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-474
Karoly Lorentey [Thu, 29 Dec 2005 21:10:33 +0000 (21:10 +0000)]
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
Karoly Lorentey [Thu, 29 Dec 2005 18:26:00 +0000 (18:26 +0000)]
Set `local-environment-variables' to t by default.
* src/callproc.c (syms_of_callproc): Initialize
`Vlocal-environment-variables' to `Qt'.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-472
Karoly Lorentey [Thu, 29 Dec 2005 18:20:26 +0000 (18:20 +0000)]
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
Karoly Lorentey [Thu, 29 Dec 2005 04:57:14 +0000 (04:57 +0000)]
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
Karoly Lorentey [Thu, 29 Dec 2005 04:46:59 +0000 (04:46 +0000)]
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
Karoly Lorentey [Thu, 29 Dec 2005 04:41:02 +0000 (04:41 +0000)]
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
Karoly Lorentey [Thu, 29 Dec 2005 04:31:04 +0000 (04:31 +0000)]
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
Karoly Lorentey [Thu, 29 Dec 2005 02:10:23 +0000 (02:10 +0000)]
Initialize Vprocess_environment to nil.
* src/callproc.c (syms_of_callproc): Initialize Vprocess_environment to nil.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-466
Nick Roberts [Thu, 29 Dec 2005 02:04:36 +0000 (02:04 +0000)]
(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.
Nick Roberts [Thu, 29 Dec 2005 02:03:20 +0000 (02:03 +0000)]
(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.
Nick Roberts [Thu, 29 Dec 2005 02:01:31 +0000 (02:01 +0000)]
*** empty log message ***
Karoly Lorentey [Thu, 29 Dec 2005 01:28:33 +0000 (01:28 +0000)]
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
Karoly Lorentey [Thu, 29 Dec 2005 01:18:49 +0000 (01:18 +0000)]
Fix error during bootstrap.
* lisp/cus-start.el: Fix compilation error.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-464
Dan Nicolaescu [Wed, 28 Dec 2005 23:03:31 +0000 (23:03 +0000)]
* e/eterm-color.ti: Temporarily disable the ri entry.
* e/eterm-color: Regenerate.
Bill Wohler [Wed, 28 Dec 2005 21:54:07 +0000 (21:54 +0000)]
* simple.el (mh-e-user-agent): Move to mh-e/mh-comp.el and autoload.
Stefan Monnier [Wed, 28 Dec 2005 20:13:47 +0000 (20:13 +0000)]
(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.
Luc Teirlinck [Wed, 28 Dec 2005 20:07:06 +0000 (20:07 +0000)]
Remove blank line in @direntry. It is non-standard and recursively
produces blank lines all over the dir file (when using Texinfo 4.8).
Luc Teirlinck [Wed, 28 Dec 2005 20:03:56 +0000 (20:03 +0000)]
*** empty log message ***
Stefan Monnier [Wed, 28 Dec 2005 18:47:12 +0000 (18:47 +0000)]
(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.
Luc Teirlinck [Wed, 28 Dec 2005 17:18:38 +0000 (17:18 +0000)]
(Basic Completion): Update lazy-completion-table examples for removal
of ARGS argument.
Luc Teirlinck [Wed, 28 Dec 2005 17:14:45 +0000 (17:14 +0000)]
*** empty log message ***
Luc Teirlinck [Wed, 28 Dec 2005 16:49:59 +0000 (16:49 +0000)]
(send-mail-function): Fix typo in comment.
Luc Teirlinck [Wed, 28 Dec 2005 16:39:52 +0000 (16:39 +0000)]
(command-line): Use `custom-reevaluate-setting' for `send-mail-function'.
Luc Teirlinck [Wed, 28 Dec 2005 16:38:27 +0000 (16:38 +0000)]
(send-mail-function): Autoload the standard-value.
Luc Teirlinck [Wed, 28 Dec 2005 16:36:18 +0000 (16:36 +0000)]
(lazy-completion-table): Correct typo in docstring.
Jan Djärv [Wed, 28 Dec 2005 10:47:55 +0000 (10:47 +0000)]
* gtkutil.c (xg_get_file_with_chooser): Changed message shown
in file chooser.
Simon Josefsson [Wed, 28 Dec 2005 08:46:05 +0000 (08:46 +0000)]
Fix AUTH PLAIN authentication.
Richard M. Stallman [Wed, 28 Dec 2005 03:44:37 +0000 (03:44 +0000)]
*** empty log message ***
Richard M. Stallman [Wed, 28 Dec 2005 03:44:28 +0000 (03:44 +0000)]
(readevalloop): Set PT and ZV in the proper buffer, not the current one.
Richard M. Stallman [Wed, 28 Dec 2005 03:19:29 +0000 (03:19 +0000)]
(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.
Richard M. Stallman [Wed, 28 Dec 2005 02:56:32 +0000 (02:56 +0000)]
(Fminibuffer_message): Doc fix.
(read_minibuf): Set current_buffer->enable_multibyte_characters sooner.
Richard M. Stallman [Wed, 28 Dec 2005 02:09:45 +0000 (02:09 +0000)]
(do_autoload): Ignore elements of Vautoload_queue where car is not symbol.
Juri Linkov [Wed, 28 Dec 2005 02:02:23 +0000 (02:02 +0000)]
*** empty log message ***
Juri Linkov [Wed, 28 Dec 2005 01:55:16 +0000 (01:55 +0000)]
(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.
Kenichi Handa [Wed, 28 Dec 2005 00:41:37 +0000 (00:41 +0000)]
*** empty log message ***
Richard M. Stallman [Tue, 27 Dec 2005 23:48:05 +0000 (23:48 +0000)]
(glasses-face): More specific custom type.
Richard M. Stallman [Tue, 27 Dec 2005 22:54:13 +0000 (22:54 +0000)]
(set-visited-file-name): Doc fix.
Richard M. Stallman [Tue, 27 Dec 2005 22:49:46 +0000 (22:49 +0000)]
(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.
Bill Wohler [Tue, 27 Dec 2005 22:42:58 +0000 (22:42 +0000)]
(mh-prompt-for-folder): Use can-create argument to suppress creation
of folder if it doesn't exist.
Nick Roberts [Tue, 27 Dec 2005 21:34:19 +0000 (21:34 +0000)]
*** empty log message ***
Nick Roberts [Tue, 27 Dec 2005 21:24:53 +0000 (21:24 +0000)]
(describe-char): Set help-xref-stack-item
explicitly after buffer has been generated. Revert previous
changes for optional buffer argument.
Nick Roberts [Tue, 27 Dec 2005 21:11:50 +0000 (21:11 +0000)]
(help-insert-string): New function. Save buffer
contents in cases where it is impossible to recompute the old
contents.
Nick Roberts [Tue, 27 Dec 2005 21:10:19 +0000 (21:10 +0000)]
*** empty log message ***
Stefan Monnier [Tue, 27 Dec 2005 19:10:44 +0000 (19:10 +0000)]
(mh-process-daemon): Don't change buffer in proc-filter.
Stefan Monnier [Tue, 27 Dec 2005 17:01:01 +0000 (17:01 +0000)]
(url-store-in-cache): Use save-current-buffer.
Stefan Monnier [Tue, 27 Dec 2005 16:59:45 +0000 (16:59 +0000)]
(url-configuration-directory): Don't autoload because the
default value needs to be computed at run-time, not dump-time.
Jan Djärv [Tue, 27 Dec 2005 13:28:15 +0000 (13:28 +0000)]
Formatting
Jan Djärv [Tue, 27 Dec 2005 10:42:57 +0000 (10:42 +0000)]
* frames.texi (Dialog Boxes): Add x-gtk-show-hidden-files.
Jan Djärv [Tue, 27 Dec 2005 10:41:22 +0000 (10:41 +0000)]
* cus-start.el (all): Add x-gtk-show-hidden-files.
Jan Djärv [Tue, 27 Dec 2005 10:40:58 +0000 (10:40 +0000)]
Add x-gtk-show-hidden-files
Jan Djärv [Tue, 27 Dec 2005 10:40:26 +0000 (10:40 +0000)]
* xfns.c: x_show_hidden_files, new variable.
(syms_of_xfns): Defvar it.
* gtkutil.c (xg_toggle_visibility_cb): New function.
(xg_get_file_with_chooser): Add toggle hidden files and a message
to the new file chooser dialog. Show hidden files if
x_show_hidden_files is non-zero.
Jan Djärv [Tue, 27 Dec 2005 10:40:10 +0000 (10:40 +0000)]
* gtkutil.c (xg_toggle_visibility_cb): New function.
(xg_get_file_with_chooser): Add toggle hidden files and a message
to the new file chooser dialog. Show hidden files if
x_show_hidden_files is non-zero.
Jan Djärv [Tue, 27 Dec 2005 10:39:51 +0000 (10:39 +0000)]
* xfns.c: x_show_hidden_files, new variable.
(syms_of_xfns): Defvar it.
Kenichi Handa [Tue, 27 Dec 2005 05:47:21 +0000 (05:47 +0000)]
(lisp_string_width): Check multibyteness of STRING.
Richard M. Stallman [Tue, 27 Dec 2005 04:31:21 +0000 (04:31 +0000)]
(perform-replace): Calculate match-again
before skipping read-only matches.
Richard M. Stallman [Tue, 27 Dec 2005 01:11:01 +0000 (01:11 +0000)]
(paren-showing-faces): New group.
(show-paren-match, show-paren-mismatch): Move to that group.
Richard M. Stallman [Tue, 27 Dec 2005 01:07:36 +0000 (01:07 +0000)]
(button): Put into group `basic-faces'.
Richard M. Stallman [Tue, 27 Dec 2005 01:06:54 +0000 (01:06 +0000)]
Remove faces from group `faces'.
Richard M. Stallman [Mon, 26 Dec 2005 22:11:17 +0000 (22:11 +0000)]
*** empty log message ***
Richard M. Stallman [Mon, 26 Dec 2005 22:11:07 +0000 (22:11 +0000)]
Undo previous change.
Richard M. Stallman [Mon, 26 Dec 2005 22:10:18 +0000 (22:10 +0000)]
(undo.o): Undo previous change.
Richard M. Stallman [Mon, 26 Dec 2005 22:07:42 +0000 (22:07 +0000)]
(last_point_position_window): Declare.
Richard M. Stallman [Mon, 26 Dec 2005 21:22:55 +0000 (21:22 +0000)]
(apropos): Doc fix.
Richard M. Stallman [Mon, 26 Dec 2005 21:21:04 +0000 (21:21 +0000)]
(apropos, apropos-value): Doc fix.
(apropos-documentation): Doc fix.
Richard M. Stallman [Mon, 26 Dec 2005 20:28:10 +0000 (20:28 +0000)]
Fix quoting syntax.
Luc Teirlinck [Mon, 26 Dec 2005 18:36:37 +0000 (18:36 +0000)]
(undo.o): Depend on keyboard.h.
Luc Teirlinck [Mon, 26 Dec 2005 18:35:45 +0000 (18:35 +0000)]
include keyboard.h.
Luc Teirlinck [Mon, 26 Dec 2005 18:35:10 +0000 (18:35 +0000)]
extern last_point_position_window.
Luc Teirlinck [Mon, 26 Dec 2005 18:32:36 +0000 (18:32 +0000)]
*** empty log message ***
Luc Teirlinck [Mon, 26 Dec 2005 18:25:58 +0000 (18:25 +0000)]
*** empty log message ***
Richard M. Stallman [Mon, 26 Dec 2005 16:33:05 +0000 (16:33 +0000)]
Depend on window.h.
(record_point): Save old point from the correct window.
Richard M. Stallman [Mon, 26 Dec 2005 16:31:36 +0000 (16:31 +0000)]
(last_point_position_window): New variable.
(command_loop_1): Set last_point_position_window.
(syms_of_keyboard): Init it.
Richard M. Stallman [Mon, 26 Dec 2005 16:30:21 +0000 (16:30 +0000)]
(undo.o): Depend on window.h.
Stefan Monnier [Mon, 26 Dec 2005 15:57:37 +0000 (15:57 +0000)]
(lazy-completion-table): Remove argument `args'.
Stefan Monnier [Mon, 26 Dec 2005 15:56:49 +0000 (15:56 +0000)]
*** empty log message ***
Stefan Monnier [Mon, 26 Dec 2005 15:54:21 +0000 (15:54 +0000)]
(bibtex-strings, bibtex-reference-keys):
Don't use the `args' argument of lazy-completion-table.
Nick Roberts [Mon, 26 Dec 2005 12:35:35 +0000 (12:35 +0000)]
(describe-char): Bug fix for previous changes: Juggle current buffer.
Nick Roberts [Mon, 26 Dec 2005 11:41:22 +0000 (11:41 +0000)]
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.
Nick Roberts [Mon, 26 Dec 2005 11:40:31 +0000 (11:40 +0000)]
*** empty log message ***
Richard M. Stallman [Mon, 26 Dec 2005 04:51:58 +0000 (04:51 +0000)]
*** empty log message ***
Richard M. Stallman [Mon, 26 Dec 2005 04:51:46 +0000 (04:51 +0000)]
(c-emacs-features): Do parse-partial-sexp at point, in case of narrowing.
Richard M. Stallman [Mon, 26 Dec 2005 04:46:06 +0000 (04:46 +0000)]
(un_autoload): Expect (0 . OFEATURES) in Vautoload_queue to undo a `provide'.
Richard M. Stallman [Mon, 26 Dec 2005 04:45:11 +0000 (04:45 +0000)]
(Fprovide): Store (0 . OFEATURES) in Vautoload_queue.
Karoly Lorentey [Mon, 26 Dec 2005 03:16:59 +0000 (03:16 +0000)]
Merged from miles@gnu.org--gnu-2005 (patch 677)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-677
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-463