1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-15 12:25:25 -08:00
Commit graph

8356 commits

Author SHA1 Message Date
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
Richard M. Stallman
c6ec9f6e89 (get_keyelt): Cached equiv-key data is now a sublist. 1994-02-21 21:50:02 +00:00
Richard M. Stallman
0da7cff11d Whitespace change. 1994-02-21 21:41:01 +00:00
Karl Heuer
5e2ec73efb (shrink-window-if-larger-than-buffer): Don't shrink if the window that would
expand is the minibuffer.
1994-02-21 21:40:59 +00:00
Richard M. Stallman
b5b4d63605 (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.
1994-02-21 06:46:09 +00:00
Richard M. Stallman
47bad81c75 (picture-mode-map): Replace delete-backward-char
like backward-delete-char-untabify.
1994-02-21 02:49:58 +00:00
Roland McGrath
26e0a910b0 Move config.h after system includes. 1994-02-20 19:45:18 +00:00
Roland McGrath
4f480b74d7 [BSD]: #undef WCOREDUMP before defining it. 1994-02-20 19:34:12 +00:00
Richard M. Stallman
e27fc6d3d3 (BSD_PGRPS): Add #undef.
(TAB3): Defined.
(NEED_ERRNO, NO_TERMIO, HAVE_TERMIOS, HAVE_UNION_WAIT): Defined.
1994-02-20 07:10:37 +00:00
Richard M. Stallman
08068cb6da (install-arch-dep, install-arch-indep):
New targets split up former do-install rule.
(do-install): Target deleted.
1994-02-20 03:25:09 +00:00
Richard M. Stallman
5c044f551e (Fframe_visible_p): Do FRAME_SAMPLE_VISIBILITY first. 1994-02-20 02:50:13 +00:00
Richard M. Stallman
c9fc1599af (x_window_to_frame): Add parens for clarity. 1994-02-19 22:57:12 +00:00
Richard M. Stallman
1dea5a8319 (XTread_socket--cases KeyPress, EnterNotify, LeaveNotify)
(cases FocusIn, FocusOut): Use x_any_window_to_frame.
1994-02-19 22:56:21 +00:00
Richard M. Stallman
364e6904f3 *** empty log message *** 1994-02-19 20:53:26 +00:00
Richard M. Stallman
ffab2bd62c (get_keyelt): Discard keyboard equivalents
stored in a menu keymap element.
1994-02-19 06:29:30 +00:00
Richard M. Stallman
fa6d54d9a0 Find and display keyboard equivalents of menu items.
(menu_item_equiv_key): New function.
(single_keymap_panes): Call it.
1994-02-19 06:29:10 +00:00
Richard M. Stallman
7cd96b42c5 (calendar-string-to-mayan-long-count): Don't
assume that periods must end numbers.  Look for digit runs explicitly.
1994-02-19 02:05:53 +00:00
Richard M. Stallman
44d798af46 (substitute-key-definition): Don't discard menu strings. 1994-02-19 00:01:46 +00:00
Richard M. Stallman
2eb9adabed (lisp-complete-symbol): Doc fix. 1994-02-18 23:51:41 +00:00
Richard M. Stallman
313558ae31 (mouse-delete-max-match): Set len properly. 1994-02-18 23:51:12 +00:00
Richard M. Stallman
acd622ccdb Initial revision 1994-02-18 22:50:05 +00:00
Richard M. Stallman
70d949eaab Comment changes. 1994-02-18 22:42:29 +00:00
Richard M. Stallman
fc429cfe81 Initial revision 1994-02-18 22:40:27 +00:00
Fred Pierresteguy
d2a5919f78 *** empty log message *** 1994-02-18 22:38:14 +00:00
Richard M. Stallman
231ce25241 (Fx_parse_geometry): Don't call check_x. 1994-02-18 20:11:20 +00:00
Richard M. Stallman
2b64612dcb (gud-mode): Define C-c C-l in gud buffer. 1994-02-18 20:10:05 +00:00
Richard M. Stallman
4561b08b0a Comment change. 1994-02-18 19:46:53 +00:00
Richard M. Stallman
7d95a391f2 Initial revision 1994-02-18 19:46:18 +00:00
Fred Pierresteguy
def0304293 entered into RCS 1994-02-18 13:38:55 +00:00
Fred Pierresteguy
0b96f00bb4 *** empty log message *** 1994-02-18 13:24:41 +00:00
Fred Pierresteguy
b3eaa88e04 (popup_selection_callback): Clean up code. Remove code in #if 0 directive.
(popup_down_callback): Likewise.
1994-02-18 11:03:38 +00:00
Richard M. Stallman
1b975aff44 (gnu_bits): Use unsigned char. 1994-02-18 06:28:50 +00:00