Richard M. Stallman [Fri, 25 Feb 1994 19:35:58 +0000 (19:35 +0000)]
(help-menu-map): Variable deleted, and its binding.
(mouse-select-window): New command, now on mode-line mouse-1.
(mouse-delete-other-windows): Now on mode-line mouse-2.
(mouse-split-window-horizontally): Now on mode-line C-mouse-2.
Fred Pierresteguy [Fri, 25 Feb 1994 09:29:20 +0000 (09:29 +0000)]
(XTread_socket): For case ConfigureNotify, call x_any_window_to_frame.
[USE_X_TOOLKIT]: Call XTranslateCoordinates for case ConfigureNotify
when send_event is 0 and when the event is relative to toplevel widget.
Richard M. Stallman [Fri, 25 Feb 1994 06:27:24 +0000 (06:27 +0000)]
(c-macro-display-buffer): Delete special view-mode hack.
(c-macro-expansion): Parse from 1 to START just once.
Avoid counting lines. Use ???!!!???!!! to mark start of
the region we want to look at.
Richard M. Stallman [Fri, 25 Feb 1994 00:57:37 +0000 (00:57 +0000)]
(byte-compile-from-buffer, byte-compile-top-level):
Removed advice. Byte-compilation problem is now taken care of
directly by the compiler.
(ad-advised-byte-compilers): Removed.
(ad-enable-definition-hooks, ad-disable-definition-hooks): Removed
activation of the advised byte-compiler entry points.
(ad-lemacs-p): Removed variable.
(ad-lemacs-p): New macro for compile-time conditionalization.
Richard M. Stallman [Fri, 25 Feb 1994 00:54:15 +0000 (00:54 +0000)]
(byte-compile-protect-from-advice): New macro that
temporarily deactivates advice of `defun/defmacro' while BODY is run.
(byte-compile-from-buffer, byte-compile-top-level): Use
`byte-compile-protect-from-advice' to protect compilation.
Richard M. Stallman [Thu, 24 Feb 1994 08:07:16 +0000 (08:07 +0000)]
(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.
Richard M. Stallman [Thu, 24 Feb 1994 03:25:46 +0000 (03:25 +0000)]
(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.
Richard M. Stallman [Wed, 23 Feb 1994 03:57:07 +0000 (03:57 +0000)]
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-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'.
Richard M. Stallman [Tue, 22 Feb 1994 00:45:38 +0000 (00:45 +0000)]
(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.
Richard M. Stallman [Mon, 21 Feb 1994 06:46:09 +0000 (06:46 +0000)]
(single_keymap_panes): Properly skip help-string if any.
Rename item2 to item_string.
GCPRO some things.
(menu_item_equiv_key): Use either VECTORP or STRINGP, not both.