annotate lisp/forms-pass.el @ 25358:9747bbf3e480
Call change_frame_size and do_pending_window_change with
new parameter.
Remove conditional compilation on
NO_PROMPT_IN_BUFFER.
(get_next_display_element): Display \r as ^M.
(minibuffer_scroll_overlap): Removed because not used
anywhere.
(unwind_redisplay): Return nil.
(clear_garbaged_frames): New.
(redisplay_internal): Use it.
(echo_area_display): Ditto.
(resize_mini_window): Mew.
(display_echo_area_1): Use it to resize echo area window.
(redisplay_internal): Use it to resize active mini-window.
(echo_area_glyphs, echo_area_message,
echo_area_glyphs_length, previous_echo_glyphs,
previous_echo_area_message, previous_echo_area_glyphs_length):
Removed.
(Vmessage_stack, echo_area_buffer, echo_buffer,
display_last_displayed_message_p, Vwith_echo_area_save_vector): New.
(message2_nolog): Use set_message and clear_message.
(message3): Rename parameter len to nbytes to make clear what
it is.
(message3_nolog): Ditto. Use set_message and clear_message.
(update_echo_area): Rewritten.
(with_echo_area_buffer): New.
(with_echo_area_buffer_unwind_data, unwind_with_area_buffer): New.
(setup_echo_area_for_printing): New.
(display_echo_area, display_echo_area_1): New.
(current_message, current_message_1): New.
(push_message, restore_message, pop_message,
check_message_stack): New.
(truncate_echo_area): Rewritten.
(truncate_message_1): New.
(set_message, set_message_1, clear_message): New.
(echo_area_display): Rewritten.
(redisplay_internal): Check for needed echo area update
differently.
(redisplay_preserve_echo_area): Rewritten.
(redisplay_window): Check for mini-window displaying echo area
message differently.
(syms_of_xdisp): Initialize Vmessage_stack and echo area buffers.
Remove initialzation of removed variables.
(init_xdisp): Remove references to removed variables.
author |
Gerd Moellmann <gerd@gnu.org> |
date |
Sat, 21 Aug 1999 19:30:44 +0000 |
parents |
84acc3adcd63 |
children |
67b464da13ec |
rev |
line source |
13337
|
1 ;;; forms-pass.el --- passwd file demo for forms-mode
|
|
2
|
306
|
3 ;; This demo visits your passwd file.
|
275
|
4
|
306
|
5 ;; use yp if present
|
|
6 (or (file-exists-p (setq forms-file "/var/yp/src/passwd"))
|
|
7 (setq forms-file "/etc/passwd"))
|
|
8
|
275
|
9 (setq forms-read-only t) ; to make sure
|
|
10 (setq forms-field-sep ":")
|
|
11 (setq forms-number-of-fields 7)
|
306
|
12
|
275
|
13 (setq forms-format-list
|
306
|
14 (list
|
|
15 "====== Visiting " forms-file " ======\n\n"
|
275
|
16 "User : " 1
|
|
17 " Uid: " 3
|
|
18 " Gid: " 4
|
|
19 "\n\n"
|
|
20 "Name : " 5
|
|
21 "\n\n"
|
|
22 "Home : " 6
|
|
23 "\n\n"
|
|
24 "Shell: " 7
|
|
25 "\n"))
|