1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-23 04:53:12 -08:00
Commit graph

6037 commits

Author SHA1 Message Date
Karl Heuer
df5d008dfd Install DOC* in docdir. 1994-02-24 21:18:49 +00:00
Richard M. Stallman
effdbe0d08 (*-sysv4.1): Set NON_GNU_CPP. 1994-02-24 20:41:49 +00:00
Karl Heuer
294634fb26 (direct_output_forward_char): Use Fget_char_property to test for invisibility. 1994-02-24 20:08:54 +00:00
Karl Heuer
ef4d2f9e96 (direct_output_for_insert): Fix comment. 1994-02-24 20:04:27 +00:00
Karl Heuer
67406ef460 (compute_motion, vmotion): Use Fget_char_property to test for invisibility. 1994-02-24 20:01:13 +00:00
Karl Heuer
3ae8ced7cb (try_window, display_text_line): Use Fget_char_property to test for invisibility. 1994-02-24 20:00:34 +00:00
Karl Heuer
e885523c6e (try_window): Add #ifdef USE_TEXT_PROPERTIES around call to Fget_text_property. 1994-02-24 19:42:35 +00:00
Karl Heuer
99830d6315 (Fget_char_property): Fix docstring. 1994-02-24 19:24:37 +00:00
Karl Heuer
f5957179cf (Fget_char_property): New function. 1994-02-24 19:18:32 +00:00
Richard M. Stallman
42db568779 Formerly INSTALL.~20~ 1994-02-24 19:15:08 +00:00
Karl Heuer
0fa767e7a9 (sort_overlays): Allow for null window. 1994-02-24 19:08:19 +00:00
Richard M. Stallman
9b63095b62 Don't force os=-hpux for hp9k2... and hp9k3... 1994-02-24 18:06:41 +00:00
Fred Pierresteguy
31ac8d8c42 (x_window): Call XChangeWindowAttributes with the standard
event set to make all these events reach the Emacs frame.
1994-02-24 12:54:54 +00:00
Richard M. Stallman
78589e07a8 (Fx_popup_menu): Allow t as position, meaning use mouse pos.
Allow nil as position, meaning just precompute equiv-key data.
Mouse events have coords in pixel units.

(menu_item_equiv_key): Cached equiv-key data is a sublist.

Most of file rewritten.
(menu_items, menu_items_*): New variables.
(MENU_ITEMS_*): New macros.
(init_menu_items, discard_menu_items, push_menu_pane, push_menu_item)
(finish_menu_items): New functions.
(menu_item_enabled_p): New function.
(keymap_panes, single_keymap_panes): Major rewrite; most args changed.
(list_of_panes, list_of_items): Major rewrite; most args changed.
(Fx_popup_menu): Major rewrite.  Now independent of display mechanism.
No more conditionals here.
(set_menu_items, free_menu_items): Functions deleted.
(xmenu_show): Both versions rewritten to work from menu_items
and to do all the conditionalized things that were in Fx_popup_menu.
(unread_menu_bar_button, other_menu_bar_item_p): New functions.
(check_mouse_other_menu_bar): New function.
1994-02-24 08:07:16 +00:00
Richard M. Stallman
1db4cfb25b (Fy_or_n_p): Use a popup menu if reached via mouse command.
(Fyes_or_no_p): Likewise.
1994-02-24 08:02:10 +00:00
Richard M. Stallman
411acee307 (mouse_get_pos): Don't convert to glyph units. 1994-02-24 06:22:50 +00:00
Richard M. Stallman
2b5c9e71c3 (construct_mouse_click): Don't convert to glyph units.
(XTmouse_position): Don't convert to glyph units.

(XTmouse_position): Use x_any_window_to_frame.
1994-02-24 06:22:23 +00:00
Richard M. Stallman
5384466ade (Fmouse_position): Convert to glyph units. 1994-02-24 06:20:30 +00:00
Richard M. Stallman
9e20143afc (make_lispy_movement, make_lispy_event):
In non-scrollbar mouse case, return coords in pixel units.
1994-02-24 06:19:34 +00:00
Richard M. Stallman
d8858cfe4a (ELF_BSS_SECTION_NAME): New macro (config.h may override).
(unexec): Use it.
1994-02-24 05:40:30 +00:00
Richard M. Stallman
dcdffbf66a (Fkill_buffer): Call the Vkill_buffer_query_functions.
(syms_of_buffer): Make Lisp var for kill-buffer-query-functions.
1994-02-24 05:34:16 +00:00
Richard M. Stallman
88902b356e (kill-emacs-query-functions): New variable.
(save-buffers-kill-emacs): Use it.
1994-02-24 04:00:41 +00:00
Richard M. Stallman
cedb118cc8 (Info-build-node-completions): Add a call to widen.
(Info-goto-emacs-command-node): Fix paren error.  Fix typo in message.
(Info-restore-point): Use iteration instead of recursion.
1994-02-24 03:25:46 +00:00
Richard M. Stallman
2512acba30 (debug, debug-on-entry): Doc strings. 1994-02-23 23:17:34 +00:00
Karl Heuer
165c67142a *** empty log message *** 1994-02-23 23:04:30 +00:00
Richard M. Stallman
1c5ceaf673 Include usg5-4.h.
(LIBS_SYSTEM, LINKER, START_FILES, LIB_STANDARD): Definitions moved here.
1994-02-23 19:47:45 +00:00
Richard M. Stallman
7aa5f3bc6d [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
(LD_SWITCH_MACHINE): Definitions moved here.
1994-02-23 19:47:30 +00:00
Richard M. Stallman
fbe92c1d7a NEWSOS5 conditional deleted.
[NEWSOS5] (START_FILES, LIB_STANDARD, C_DEBUG_SWITCH)
(C_OPTIMIZE_SWITCH, LD_SWITCH_MACHINE): Definitions moved away.
1994-02-23 19:47:11 +00:00
Karl Heuer
a2bb8f73f2 (byte-compile-file): Return nil on failure. 1994-02-23 19:17:57 +00:00
Karl Heuer
1c1fce3feb (main, get_time): Don't crash on invalid input. 1994-02-23 17:43:05 +00:00
Richard M. Stallman
dfe05faccc (jka-compr-partial-uncompress): Make dd give you
one more block than you think you need.

(jka-compr-dd-blocksize): Change default value to 256.
1994-02-23 16:18:10 +00:00
Richard M. Stallman
c52de5eb23 *** empty log message *** 1994-02-23 08:39:25 +00:00
Richard M. Stallman
e55c21bea7 (posn-x-y): New function.
(posn-col-row): Convert coords from pixels to glyph units.
1994-02-23 05:08:28 +00:00
Richard M. Stallman
6e2f6f4518 Removed all support for Emacs-18:
Removed autoload for `backquote'.
Removed arglist specifications for `documentation' and `fset'.
(ad-emacs19-p, ad-use-jwz-compiler): Removed these variables.
(ad-lemacs-p, ad-v19-compiled-p, ad-subr-arglist,
ad-make-advised-docstring): Removed reference to `ad-emacs19-p'.
(ad-compiled-p): Renamed from `ad-v19-compiled-p'.  Removed old
definition of `ad-compiled-p'.
(ad-compiled-code): Renamed from `ad-v19-compiled-code'.
(ad-arglists, ad-docstring, ad-interactive-form): Use new names.
(ad-body-forms): Always return nil for compiled definitions.
(ad-compile-function): Simplified, because the v19 incarnation of
`byte-compile' can compile macros.
(ad-real-byte-codify): Removed.
(ad-execute-defadvices): Removed. The `defadvice's it contained
are now at the top level.
(ad-advised-byte-code-definition): Renamed to `ad-advised-byte-code'
and removed the definition of `ad-advised-byte-code' via `fset'.
(ad-advised-byte-code-definition, ad-recover-byte-code,
ad-stop-advice, ad-recover-normality): Removed
`ad-real-byte-codify'-cation of their definitions.
(ad-adjust-stack-sizes): Removed.
(ad-enable-definition-hooks, ad-disable-definition-hooks):
Removed v19 conditionalization.

Fixed the problematic interaction between the
byte-compiler and Advice when `ad-activate-on-definition' was t which
resulted in erroneous compilation of nested `defun/defmacro's:
(byte-compile-from-buffer, byte-compile-top-level): Advised
to temporarily deactivate the advice of `defun/defmacro'.
(ad-advised-definers, ad-advised-byte-compilers): New variables.
(ad-enable-definition-hooks, ad-disable-definition-hooks):
En/disable the advised byte-compiler entry points.

(defadvice): Implement a `freeze' option which expands
the `defadvice' into a redefining and dumpable `defun/defmacro'
whose documentation can be written to the `DOC' file. Frozen
advices cannot be undone, hence, they do not need any Advice
runtime support.
(ad-defadvice-flags): Add `freeze' flag.
(ad-make-advised-docstring, ad-make-single-advice-docstring):
New STYLE option for `plain' and `freeze' styles. Slightly
changed the default formatting of advised docstrings.
(ad-make-plain-docstring, ad-make-freeze-docstring): New functions.

(ad-recover-all, ad-scan-byte-code-for-fsets):
Removed unused condition variable `ignore-errors'.

(ad-save-real-definition): New macro to save real
definitions of functions used by Advice.
Use `ad-save-real-definition' to save definitions of `fset',
`byte-code' and now also `documentation'.
(ad-subr-arglist, ad-docstring, ad-make-advised-docstring):
Use `ad-real-documentation' to avoid interference with the
advised version of `documentation'.

(ad-execute-defadvices): Copy advice infos.

(ad-start-advice-on-load): Default changed to t.
1994-02-23 03:57:07 +00:00
Edward M. Reingold
c93b9aaef9 Fix calendar-cursor-to-date to handle starred days correctly. 1994-02-23 02:38:23 +00:00
Richard M. Stallman
a1d2b64a33 (Finsert_file_contents): If REPLACE, always do lseek.
Exit main loop if INSERTED reaches TOTAL.
1994-02-23 00:33:13 +00:00
Karl Heuer
5170c9cbeb (rmail-insert-inbox-text): Recognize the spool directory even if symlinks are
present.
1994-02-23 00:29:43 +00:00
Karl Heuer
109ebdd473 New variable docdir to control where the docstring file goes. 1994-02-22 23:57:13 +00:00
Karl Heuer
e408046f80 Use docdir to initialize PATH_DOC in paths.h. 1994-02-22 23:56:15 +00:00
Karl Heuer
9e7b7d21ec New path PATH_DOC for doc-directory. 1994-02-22 23:51:48 +00:00
Karl Heuer
35a2f4b8cb (syms_of_callproc): New variable Vdoc_directory.
(init_callproc_1): Initialize it.
1994-02-22 23:50:27 +00:00
Karl Heuer
ba87052134 (get_doc_string, Snarf_documentation): Use new variable doc_directory. 1994-02-22 23:49:01 +00:00
Karl Heuer
c65be0e127 New variable doc_directory. 1994-02-22 23:46:42 +00:00
Karl Heuer
82d1475f40 When --run-in-place, don't inherit archlibdir. 1994-02-22 21:54:40 +00:00
Karl Heuer
4316524204 Move extern declarations to top of file. 1994-02-22 19:43:28 +00:00
Karl Heuer
bae98299b4 (get_time): Simplify; avoid calling index.
(main): exit on EOF.
1994-02-22 19:22:11 +00:00
Richard M. Stallman
5a1a5fd7f7 (calendar-cursor-to-date): Fix search string so it
correctly moves past a starred date.
1994-02-22 04:46:12 +00:00
Richard M. Stallman
0aafc97556 (make_lispy_event): For menu bar event in USE_X_TOOLKIT
case, convert x position to glyphs after map_event_to_object.
Call window_from_coordinates later on.
1994-02-22 00:45:38 +00:00
Richard M. Stallman
c8dba2407c (construct_menu_click): Undo previous change. 1994-02-22 00:43:04 +00:00
Richard M. Stallman
b849c41360 (x_had_errors_p): New function.
(construct_menu_click): Convert x pos from pixels to glyphs.
Move function after pixel_to_glyph_coords.

[!USE_X_TOOLKIT] (x_any_window_to_frame):
Define as x_window_to_frame.
1994-02-21 21:54:33 +00:00