comparison src/commands.h @ 88155:d7ddb3e565de

sync with trunk
author Henrik Enberg <henrik.enberg@telia.com>
date Mon, 16 Jan 2006 00:03:54 +0000
parents f92c4d87863a
children
comparison
equal deleted inserted replaced
88154:8ce476d3ba36 88155:d7ddb3e565de
1 /* Definitions needed by most editing commands. 1 /* Definitions needed by most editing commands.
2 Copyright (C) 1985, 1994 Free Software Foundation, Inc. 2 Copyright (C) 1985, 1994, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc.
3 4
4 This file is part of GNU Emacs. 5 This file is part of GNU Emacs.
5 6
6 GNU Emacs is free software; you can redistribute it and/or modify 7 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details. 15 GNU General Public License for more details.
15 16
16 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
17 along with GNU Emacs; see the file COPYING. If not, write to 18 along with GNU Emacs; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 Boston, MA 02111-1307, USA. */ 20 Boston, MA 02110-1301, USA. */
20 21
21 22
22 #define Ctl(c) ((c)&037) 23 #define Ctl(c) ((c)&037)
23 24
24 /* Define the names of keymaps, just so people can refer to them in 25 /* Define the names of keymaps, just so people can refer to them in
34 extern Lisp_Object Vminibuffer_local_ns_map; 35 extern Lisp_Object Vminibuffer_local_ns_map;
35 36
36 /* keymap used for minibuffers when doing completion */ 37 /* keymap used for minibuffers when doing completion */
37 extern Lisp_Object Vminibuffer_local_completion_map; 38 extern Lisp_Object Vminibuffer_local_completion_map;
38 39
40 /* keymap used for minibuffers when doing completion in filenames*/
41 extern Lisp_Object Vminibuffer_local_filename_completion_map;
42
39 /* keymap used for minibuffers when doing completion and require a match */ 43 /* keymap used for minibuffers when doing completion and require a match */
40 extern Lisp_Object Vminibuffer_local_must_match_map; 44 extern Lisp_Object Vminibuffer_local_must_match_map;
45
46 /* keymap used for minibuffers when doing completion in filenames
47 and require a match */
48 extern Lisp_Object Vminibuffer_local_must_match_filename_map;
41 49
42 /* Last character of last key sequence. */ 50 /* Last character of last key sequence. */
43 extern Lisp_Object last_command_char; 51 extern Lisp_Object last_command_char;
44 52
45 /* Last input character read as a command, not counting menus 53 /* Last input character read as a command, not counting menus
65 read_key_sequence uses this to delay switch-frame events until the 73 read_key_sequence uses this to delay switch-frame events until the
66 end of the key sequence; Fread_char uses it to put off switch-frame 74 end of the key sequence; Fread_char uses it to put off switch-frame
67 events until a non-ASCII event is acceptable as input. */ 75 events until a non-ASCII event is acceptable as input. */
68 extern Lisp_Object unread_switch_frame; 76 extern Lisp_Object unread_switch_frame;
69 77
70 /* The value of point when the last command was executed. */ 78 /* The value of point when the last command was started. */
71 extern int last_point_position; 79 extern int last_point_position;
72 80
73 /* The buffer that was current when the last command was started. */ 81 /* The buffer that was current when the last command was started. */
74 extern Lisp_Object last_point_position_buffer; 82 extern Lisp_Object last_point_position_buffer;
75 83
84 /* The window that was selected when the last command was started. */
85 extern Lisp_Object last_point_position_window;
86
76 /* Nonzero means ^G can quit instantly */ 87 /* Nonzero means ^G can quit instantly */
77 extern int immediate_quit; 88 extern int immediate_quit;
78 89
79 extern Lisp_Object Vexecuting_macro; 90 extern Lisp_Object Vexecuting_kbd_macro;
80 91
81 /* Nonzero if input is coming from the keyboard */ 92 /* Nonzero if input is coming from the keyboard */
82 93
83 #define INTERACTIVE (NILP (Vexecuting_macro) && !noninteractive) 94 #define INTERACTIVE (NILP (Vexecuting_kbd_macro) && !noninteractive)
84 95
85 /* Set this nonzero to force reconsideration of mode line. */ 96 /* Set this nonzero to force reconsideration of mode line. */
86 97
87 extern int update_mode_lines; 98 extern int update_mode_lines;
88 99
89 /* Nonzero means reading single-character input with prompt 100 /* Nonzero means reading single-character input with prompt
90 so put cursor on minibuffer after the prompt. */ 101 so put cursor on minibuffer after the prompt. */
91 102
92 extern int cursor_in_echo_area; 103 extern int cursor_in_echo_area;
104
105 /* arch-tag: 4f7ca0b7-6a56-4b20-8bf5-b67a99921d1d
106 (do not change this comment) */