]> code.delx.au - gnu-emacs/log
gnu-emacs
29 years agoInitial revision
Richard M. Stallman [Sun, 14 Aug 1994 09:22:39 +0000 (09:22 +0000)]
Initial revision

29 years ago(compute_motion): Use WIN's frame, not selected one.
Richard M. Stallman [Sun, 14 Aug 1994 09:15:39 +0000 (09:15 +0000)]
(compute_motion): Use WIN's frame, not selected one.

29 years agoUninstall "$(EMACS)", not "emacs".
Richard M. Stallman [Sun, 14 Aug 1994 06:58:19 +0000 (06:58 +0000)]
Uninstall "$(EMACS)", not "emacs".

29 years ago(easy-menu-define): Doc fix.
Richard M. Stallman [Sun, 14 Aug 1994 04:09:30 +0000 (04:09 +0000)]
(easy-menu-define): Doc fix.

29 years ago(pid_t): New definition.
Richard M. Stallman [Sun, 14 Aug 1994 02:47:35 +0000 (02:47 +0000)]
(pid_t): New definition.
(vfork): Definition deleted.

29 years ago(xmenu_show): Unconditionally update x_mouse_grabbed and Vmouse_depressed.
Richard M. Stallman [Sun, 14 Aug 1994 00:42:40 +0000 (00:42 +0000)]
(xmenu_show): Unconditionally update x_mouse_grabbed and Vmouse_depressed.

29 years ago(iso-tex2iso-trans-tab): Put the sequences with braces
Richard M. Stallman [Sat, 13 Aug 1994 23:58:50 +0000 (23:58 +0000)]
(iso-tex2iso-trans-tab): Put the sequences with braces
before corresponding ones without.  Escape ? in patterns.
(iso-translate-conventions): Don't widen.
(iso-german-tex-p): Preserve narrowing.

29 years ago(c-macro-expansion): If the CPP output is empty, just show error messages.
Richard M. Stallman [Sat, 13 Aug 1994 23:55:09 +0000 (23:55 +0000)]
(c-macro-expansion): If the CPP output is empty, just show error messages.

29 years ago(window_loop, case UNSHOW_BUFFER):
Richard M. Stallman [Sat, 13 Aug 1994 23:13:10 +0000 (23:13 +0000)]
(window_loop, case UNSHOW_BUFFER):
When we delete a frame, skip all the windows on that frame.

29 years ago(i[34]86-*-*): For SCO 3.2v4, set NON_GNU_CPP.
Richard M. Stallman [Sat, 13 Aug 1994 20:35:42 +0000 (20:35 +0000)]
(i[34]86-*-*): For SCO 3.2v4, set NON_GNU_CPP.

29 years ago(mouse-set-mark): Select the window before saving point.
Richard M. Stallman [Sat, 13 Aug 1994 20:29:54 +0000 (20:29 +0000)]
(mouse-set-mark): Select the window before saving point.

29 years ago(rmail-retry-failure): Narrow to just the old header
Richard M. Stallman [Sat, 13 Aug 1994 17:36:00 +0000 (17:36 +0000)]
(rmail-retry-failure): Narrow to just the old header
for calling mail-fetch-field.

(rmail-maybe-display-summary): Don't set summary window
height if its frame isn't split.
If summary is in some frame, just use that.

29 years agoentered into RCS
Richard M. Stallman [Sat, 13 Aug 1994 05:26:42 +0000 (05:26 +0000)]
entered into RCS

29 years ago(NEED_SIOCTL): moved from isc-4.0.h, and disabled BROKEN_TIOCGWINSZ since it
Karl Heuer [Fri, 12 Aug 1994 23:16:00 +0000 (23:16 +0000)]
(NEED_SIOCTL): moved from isc-4.0.h, and disabled BROKEN_TIOCGWINSZ since it
works fine when you use <sioctl.h>.
(C_SWITCH_SYSTEM): Add -D_SYSV3 to ensure availability of traditional
non-standard functions.

29 years agoNEED_SIOCTL: moved to isc-3.0.h.
Karl Heuer [Fri, 12 Aug 1994 23:12:32 +0000 (23:12 +0000)]
NEED_SIOCTL: moved to isc-3.0.h.

29 years ago*** empty log message ***
Richard M. Stallman [Fri, 12 Aug 1994 23:09:15 +0000 (23:09 +0000)]
*** empty log message ***

29 years ago(x_new_font): Don't set filename = full_name if that's null.
Richard M. Stallman [Fri, 12 Aug 1994 05:23:38 +0000 (05:23 +0000)]
(x_new_font): Don't set filename = full_name if that's null.

29 years ago(FRAME_SUPPORT): Add faces.elc.
Richard M. Stallman [Thu, 11 Aug 1994 22:57:41 +0000 (22:57 +0000)]
(FRAME_SUPPORT): Add faces.elc.

29 years ago(Freplace_match): Treat caseless initial like a lowercase initial.
Richard M. Stallman [Thu, 11 Aug 1994 22:57:20 +0000 (22:57 +0000)]
(Freplace_match): Treat caseless initial like a lowercase initial.

29 years ago(menu-bar-file-menu): Compare Files renamed to Compare.
Richard M. Stallman [Thu, 11 Aug 1994 21:50:39 +0000 (21:50 +0000)]
(menu-bar-file-menu): Compare Files renamed to Compare.
(menu-bar-ediff-menu): Add one element for compare-windows.

29 years agoUndo change in condition for defining the menu bar items.
Richard M. Stallman [Thu, 11 Aug 1994 21:48:37 +0000 (21:48 +0000)]
Undo change in condition for defining the menu bar items.
Use purify-flag once again.

29 years ago(gnus-summary-mode-map): Delete unusable `Sort Summary' item.
Richard M. Stallman [Thu, 11 Aug 1994 21:46:50 +0000 (21:46 +0000)]
(gnus-summary-mode-map): Delete unusable `Sort Summary' item.

29 years ago(compilation-set-window-height): Add save-excursion.
Richard M. Stallman [Thu, 11 Aug 1994 21:45:47 +0000 (21:45 +0000)]
(compilation-set-window-height): Add save-excursion.

29 years ago(frame-notice-user-settings): If we change the frame's font,
Richard M. Stallman [Thu, 11 Aug 1994 21:38:02 +0000 (21:38 +0000)]
(frame-notice-user-settings): If we change the frame's font,
call frame-update-faces.

29 years ago*** empty log message ***
Richard Kenner [Thu, 11 Aug 1994 21:00:10 +0000 (21:00 +0000)]
*** empty log message ***

29 years ago(mouse-drag-mode-line): New function (from mldrag.el,
Richard M. Stallman [Thu, 11 Aug 1994 20:35:31 +0000 (20:35 +0000)]
(mouse-drag-mode-line): New function (from mldrag.el,
but changed a little).  Put it on mode-line down-mouse-1.
(mouse-select-window): Bind to mode-line drag-mouse-1.

29 years ago(one-window-p): Doc fix.
Richard M. Stallman [Thu, 11 Aug 1994 20:25:20 +0000 (20:25 +0000)]
(one-window-p): Doc fix.

29 years ago(Fdefine_key): Fix error message.
Richard M. Stallman [Thu, 11 Aug 1994 19:45:41 +0000 (19:45 +0000)]
(Fdefine_key): Fix error message.
(Fsingle_key_description): Likewise.

29 years ago*** empty log message ***
Richard M. Stallman [Thu, 11 Aug 1994 07:18:04 +0000 (07:18 +0000)]
*** empty log message ***

29 years ago(copy-face): Ignore errors in set-face-font.
Richard M. Stallman [Thu, 11 Aug 1994 07:11:51 +0000 (07:11 +0000)]
(copy-face): Ignore errors in set-face-font.

29 years ago(display_text_line): Make previous change #ifdef HAVE_X_WINDOWS.
Richard M. Stallman [Thu, 11 Aug 1994 03:47:40 +0000 (03:47 +0000)]
(display_text_line): Make previous change #ifdef HAVE_X_WINDOWS.

29 years ago(POSIX_SIGNALS): Define it.
Richard M. Stallman [Thu, 11 Aug 1994 03:42:57 +0000 (03:42 +0000)]
(POSIX_SIGNALS): Define it.
(PTY_TTY_NAME_SPRINTF): New overriding definition.
(sigsetmask): Add #undefs.

29 years ago(POSIX_SIGNALS, PTY_TTY_NAME_SPRINTF, sigsetmask):
Richard M. Stallman [Thu, 11 Aug 1994 03:42:18 +0000 (03:42 +0000)]
(POSIX_SIGNALS, PTY_TTY_NAME_SPRINTF, sigsetmask):
Delete those things (moved to sol2-3.h).

29 years ago(HAVE_VFORK): Deleted.
Richard M. Stallman [Thu, 11 Aug 1994 03:38:09 +0000 (03:38 +0000)]
(HAVE_VFORK): Deleted.
(vfork): Define as emacs_vfork.

29 years ago(show-paren-command-hook): Cope if matching-paren gives nil.
Richard M. Stallman [Thu, 11 Aug 1994 02:42:22 +0000 (02:42 +0000)]
(show-paren-command-hook): Cope if matching-paren gives nil.

29 years ago(tags-table-including): Inside loop: if CORE-ONLY skip all consecutive
Roland McGrath [Wed, 10 Aug 1994 23:34:39 +0000 (23:34 +0000)]
(tags-table-including): Inside loop: if CORE-ONLY skip all consecutive
tables not in core; else extend computed list.

29 years ago(Fwindow_end): Undo previous change.
Richard M. Stallman [Wed, 10 Aug 1994 20:32:38 +0000 (20:32 +0000)]
(Fwindow_end): Undo previous change.

29 years ago(LIBS_MACHINE): If SOLARIS2_4, don't define this.
Richard M. Stallman [Wed, 10 Aug 1994 19:28:38 +0000 (19:28 +0000)]
(LIBS_MACHINE): If SOLARIS2_4, don't define this.

29 years ago(rmail-forward): Anchor `mail-header-separator' on both
Richard M. Stallman [Wed, 10 Aug 1994 07:02:35 +0000 (07:02 +0000)]
(rmail-forward): Anchor `mail-header-separator' on both
sides to match whole line, not just initial substring.

29 years ago*** empty log message ***
Richard M. Stallman [Wed, 10 Aug 1994 06:38:39 +0000 (06:38 +0000)]
*** empty log message ***

29 years ago(view-lossage): Handle buffers and frames in recent-keys.
Richard M. Stallman [Wed, 10 Aug 1994 04:08:26 +0000 (04:08 +0000)]
(view-lossage): Handle buffers and frames in recent-keys.

29 years ago(ediff-find-file, ediff-patch-file): Handle symlinks.
Richard M. Stallman [Wed, 10 Aug 1994 03:39:47 +0000 (03:39 +0000)]
(ediff-find-file, ediff-patch-file): Handle symlinks.

Check ediff-if-lucid when setting up Emacs 19 menus.

(ediff-save-buffer): Added option for saving diff output.

(ediff-fine-diff-buffer, ediff-ignore-similar-regions): New variables.
(ediff-no-fine-diffs): Macro added.
(ediff-next-difference, ediff-previous-difference)
(ediff-make-fine-diffs): Enabled a new feature that allows one to
skip over the difference regions where the only differences are
the white space and newlines.
(ediff-toggle-autorefine): Fixed a bug that caused error when the
current difference is <= 0 or > ediff-number-of-differences.

29 years ago(record_asynch_buffer_change): Do nothing except when waiting_for_user_input_p.
Richard M. Stallman [Wed, 10 Aug 1994 03:21:20 +0000 (03:21 +0000)]
(record_asynch_buffer_change): Do nothing except when waiting_for_user_input_p.

29 years agoCheck more specifically for i*86-sun-sunos.
Richard M. Stallman [Wed, 10 Aug 1994 03:20:52 +0000 (03:20 +0000)]
Check more specifically for i*86-sun-sunos.

29 years agoRequire calendar.
Richard M. Stallman [Tue, 9 Aug 1994 23:26:27 +0000 (23:26 +0000)]
Require calendar.

29 years agoComment change.
Richard M. Stallman [Tue, 9 Aug 1994 23:26:13 +0000 (23:26 +0000)]
Comment change.

29 years ago(rmail-abort-edit): Call `rmail-highlight-headers'.
Richard M. Stallman [Tue, 9 Aug 1994 23:09:27 +0000 (23:09 +0000)]
(rmail-abort-edit): Call `rmail-highlight-headers'.

29 years agotype-break-time-sum: New function.
Noah Friedman [Tue, 9 Aug 1994 21:21:28 +0000 (21:21 +0000)]
type-break-time-sum: New function.
type-break-schedule: Use it.
Make interactive again.

type-break-guestimate-keystroke-threshold: Use `N' interactive spec, not `n'.

type-break-demo-boring: Show elapsed time of break, or number of minutes
left for good break.

(top level): Do not call type-break-mode.

29 years agoUse <> to delimit email address.
Richard M. Stallman [Tue, 9 Aug 1994 20:43:48 +0000 (20:43 +0000)]
Use <> to delimit email address.

29 years ago[USG5_4] (SVR4): Defined.
Richard M. Stallman [Tue, 9 Aug 1994 19:33:08 +0000 (19:33 +0000)]
[USG5_4] (SVR4): Defined.

29 years ago(define-mail-alias): Avoid error if DEFINITION is "".
Richard M. Stallman [Tue, 9 Aug 1994 05:52:47 +0000 (05:52 +0000)]
(define-mail-alias): Avoid error if DEFINITION is "".

29 years ago(appt-check): Update on first wakeup after midnight
Richard M. Stallman [Tue, 9 Aug 1994 05:42:35 +0000 (05:42 +0000)]
(appt-check): Update on first wakeup after midnight
even if that's not precisely 12:01.

29 years ago(Fwindow_end): If window_end_valid is nil, return nil.
Richard M. Stallman [Tue, 9 Aug 1994 04:29:53 +0000 (04:29 +0000)]
(Fwindow_end): If window_end_valid is nil, return nil.

29 years ago*** empty log message ***
Richard M. Stallman [Tue, 9 Aug 1994 04:23:51 +0000 (04:23 +0000)]
*** empty log message ***

29 years ago[MULTI_FRAME] (PURESIZE): Increased.
Richard M. Stallman [Tue, 9 Aug 1994 03:57:21 +0000 (03:57 +0000)]
[MULTI_FRAME] (PURESIZE): Increased.

29 years ago(Info-last-menu-item): Fix gross logic errors.
Richard M. Stallman [Tue, 9 Aug 1994 01:41:08 +0000 (01:41 +0000)]
(Info-last-menu-item): Fix gross logic errors.
(Info-last-preorder): After going thru menu item, go to end.
(Info-scroll-up): Set window-start if it's out of range.
Once menu start is on or above screen, start using menu items.
(Info-scroll-down): Set window-start if it's out of range.
If there's a menu item, always use menu.

29 years ago(mail-alias-file): Add autoload cookie.
Richard M. Stallman [Mon, 8 Aug 1994 23:23:33 +0000 (23:23 +0000)]
(mail-alias-file): Add autoload cookie.

29 years ago(x-fixed-font-alist): Add clean 5x8 and clean 6x8.
Richard M. Stallman [Mon, 8 Aug 1994 10:16:47 +0000 (10:16 +0000)]
(x-fixed-font-alist): Add clean 5x8 and clean 6x8.

29 years ago(Fpos_visible_in_window_p): Do something reasonable
Richard M. Stallman [Mon, 8 Aug 1994 10:14:32 +0000 (10:14 +0000)]
(Fpos_visible_in_window_p): Do something reasonable
if w->start is outside the buffer bounds.

29 years ago(XTread_socket): Don't test X_IO_BUG; make that code unconditional.
Richard M. Stallman [Mon, 8 Aug 1994 10:13:24 +0000 (10:13 +0000)]
(XTread_socket): Don't test X_IO_BUG; make that code unconditional.
(x_noop_count, x_term_init): Likewise.

29 years agoFormerly tasks.texi.~12~
Richard M. Stallman [Mon, 8 Aug 1994 09:54:51 +0000 (09:54 +0000)]
Formerly tasks.texi.~12~

29 years ago(compilation-set-window-height): New function,
Richard M. Stallman [Mon, 8 Aug 1994 09:02:40 +0000 (09:02 +0000)]
(compilation-set-window-height): New function,
broken out from compile-internal.
Don't change window height if it is the frame root window.
(compile-internal): Call it.
(compilation-goto-locus): Call it.
Use any visible frame already showing the compilation buffer.

29 years ago[SYSV_IPC] (main): Make a separate process
Richard M. Stallman [Mon, 8 Aug 1994 07:08:17 +0000 (07:08 +0000)]
[SYSV_IPC] (main): Make a separate process
so we can listen for multiple requests.

29 years ago(gnus-start-news-server): Fix the call to `error'.
Richard M. Stallman [Mon, 8 Aug 1994 04:38:37 +0000 (04:38 +0000)]
(gnus-start-news-server): Fix the call to `error'.

29 years ago(Info-additional-directory-list): New variable.
Richard M. Stallman [Sun, 7 Aug 1994 23:35:47 +0000 (23:35 +0000)]
(Info-additional-directory-list): New variable.
(Info-find-node): Use it.

29 years ago(completion-base-size): New variable.
Richard M. Stallman [Sun, 7 Aug 1994 18:11:58 +0000 (18:11 +0000)]
(completion-base-size): New variable.
(completion-list-mode): Make it local.
(choose-completion): Pass its value to choose-completion-string.
(choose-completion-string): New arg base-size.
Use that when deciding how much to delete.

29 years ago(PC-do-completion): Set completion-base-size.
Richard M. Stallman [Sun, 7 Aug 1994 18:10:48 +0000 (18:10 +0000)]
(PC-do-completion): Set completion-base-size.

29 years ago(mouse-choose-completion): Pass completion-base-size value
Richard M. Stallman [Sun, 7 Aug 1994 18:09:18 +0000 (18:09 +0000)]
(mouse-choose-completion): Pass completion-base-size value
to choose-completion-string.

29 years agoDoc fixes.
Richard M. Stallman [Sun, 7 Aug 1994 17:23:44 +0000 (17:23 +0000)]
Doc fixes.
(c-macro-expansion): Capture and display CPP error messages.

29 years ago(PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman [Sun, 7 Aug 1994 07:58:18 +0000 (07:58 +0000)]
(PTY_TTY_NAME_SPRINTF): New definition.
(sigsetmask): Add #undef.

(SOLARIS2_4): Defined.

Discard old contents of file.  Instead, undef C_SWITCH_SYSTEM and
const, so that we use GCC without -traditional.
(HAVE_VFORK): Defined.

29 years ago(tex-mode): Accept documentclass when checking Slitex.
Richard M. Stallman [Sun, 7 Aug 1994 06:47:57 +0000 (06:47 +0000)]
(tex-mode): Accept documentclass when checking Slitex.

29 years ago(Faccessible_keymaps): Fix previous change.
Richard M. Stallman [Sun, 7 Aug 1994 06:40:55 +0000 (06:40 +0000)]
(Faccessible_keymaps): Fix previous change.

29 years ago(compute_glyph_face_1): New function.
Richard M. Stallman [Sun, 7 Aug 1994 04:51:57 +0000 (04:51 +0000)]
(compute_glyph_face_1): New function.

29 years ago(display_text_line): Use the face properties of the overlay arrow, if any.
Richard M. Stallman [Sun, 7 Aug 1994 04:50:05 +0000 (04:50 +0000)]
(display_text_line): Use the face properties of the overlay arrow, if any.

29 years agoRequire timezone when loading this file.
Richard M. Stallman [Sun, 7 Aug 1994 01:03:41 +0000 (01:03 +0000)]
Require timezone when loading this file.
Move the provide call to the end.

29 years agoentered into RCS
Richard M. Stallman [Sun, 7 Aug 1994 00:25:52 +0000 (00:25 +0000)]
entered into RCS

29 years ago(choose-completion): Bury or iconify the completion list
Richard M. Stallman [Sat, 6 Aug 1994 21:51:31 +0000 (21:51 +0000)]
(choose-completion): Bury or iconify the completion list
using code copied from mouse-choose-completion.

29 years ago(indent-c-exp): Preserve point when handling comments.
Richard M. Stallman [Sat, 6 Aug 1994 21:22:51 +0000 (21:22 +0000)]
(indent-c-exp): Preserve point when handling comments.

29 years ago(byte-after-unbind-ops): Fix paren error wrt doc string.
Richard M. Stallman [Sat, 6 Aug 1994 19:25:24 +0000 (19:25 +0000)]
(byte-after-unbind-ops): Fix paren error wrt doc string.

29 years ago(font-lock-hack-keywords): Delete debugging code.
Richard M. Stallman [Sat, 6 Aug 1994 05:02:00 +0000 (05:02 +0000)]
(font-lock-hack-keywords): Delete debugging code.

29 years ago(Fuse_global_map, Fuse_local_map): Call record_asynch_buffer_change.
Richard M. Stallman [Sat, 6 Aug 1994 03:48:16 +0000 (03:48 +0000)]
(Fuse_global_map, Fuse_local_map): Call record_asynch_buffer_change.

29 years ago(tex-mode): Check for documentclass like documentstyle.
Richard M. Stallman [Sat, 6 Aug 1994 03:22:23 +0000 (03:22 +0000)]
(tex-mode): Check for documentclass like documentstyle.

29 years ago(save-buffer): Unconditionally make a backup with 2 or
Richard M. Stallman [Sat, 6 Aug 1994 03:19:35 +0000 (03:19 +0000)]
(save-buffer): Unconditionally make a backup with 2 or
3 C-u's even if make-backup-files is nil.

29 years ago(Info-directory-list): Doc fix.
Richard M. Stallman [Sat, 6 Aug 1994 02:58:22 +0000 (02:58 +0000)]
(Info-directory-list): Doc fix.

29 years ago(x-fixed-font-alist): Regularize how fonts are specified.
Richard M. Stallman [Fri, 5 Aug 1994 19:31:42 +0000 (19:31 +0000)]
(x-fixed-font-alist): Regularize how fonts are specified.

29 years ago(display-time-filter): pm starts at 12, not 13.
Richard M. Stallman [Fri, 5 Aug 1994 18:56:32 +0000 (18:56 +0000)]
(display-time-filter): pm starts at 12, not 13.

29 years ago(ad-subr-arglist): Adapted to new DOC file format.
Richard M. Stallman [Fri, 5 Aug 1994 05:31:36 +0000 (05:31 +0000)]
(ad-subr-arglist): Adapted to new DOC file format.

29 years ago(font-lock-syntax-table): New syntax table.
Richard M. Stallman [Fri, 5 Aug 1994 05:11:30 +0000 (05:11 +0000)]
(font-lock-syntax-table): New syntax table.
(font-lock-hack-keywords): Use it temporarily here.
(font-lock-set-defaults): Set up special syntax table for C and C++.

29 years ago(select-tags-table): Doc fix.
Richard M. Stallman [Fri, 5 Aug 1994 04:33:20 +0000 (04:33 +0000)]
(select-tags-table): Doc fix.

29 years ago(isearch-mode-map): Delete mouse-2, down-mouse-2 bindings.
Richard M. Stallman [Fri, 5 Aug 1994 04:15:20 +0000 (04:15 +0000)]
(isearch-mode-map): Delete mouse-2, down-mouse-2 bindings.

29 years ago(Fread_file_name_internal): Call double_dollars when `changed' is set.
Richard M. Stallman [Thu, 4 Aug 1994 23:36:07 +0000 (23:36 +0000)]
(Fread_file_name_internal): Call double_dollars when `changed' is set.

29 years ago(frame-delete-all): Copy the whole alist first.
Richard M. Stallman [Thu, 4 Aug 1994 23:31:12 +0000 (23:31 +0000)]
(frame-delete-all): Copy the whole alist first.

29 years ago[SOLARIS2] (VALBITS, GCTYPEBITS): New definitions.
Richard M. Stallman [Thu, 4 Aug 1994 23:30:09 +0000 (23:30 +0000)]
[SOLARIS2] (VALBITS, GCTYPEBITS): New definitions.

29 years agoInitial revision
Richard M. Stallman [Thu, 4 Aug 1994 23:29:11 +0000 (23:29 +0000)]
Initial revision

29 years agoHandle solaris 2.4.
Richard M. Stallman [Thu, 4 Aug 1994 23:21:24 +0000 (23:21 +0000)]
Handle solaris 2.4.

29 years agoInclude config.h first thing.
Richard M. Stallman [Thu, 4 Aug 1994 23:15:35 +0000 (23:15 +0000)]
Include config.h first thing.

29 years ago(Fdefine_function, Fdefalias): Handle advice as in Ffset.
Richard M. Stallman [Thu, 4 Aug 1994 22:57:13 +0000 (22:57 +0000)]
(Fdefine_function, Fdefalias): Handle advice as in Ffset.
(Qad_advice_info): Lisp and C names renamed from Qadvice_info.
(Qad_activate): C name renamed from Qactivate_advice.

29 years ago(rmail-select-summary): Preserve rmail buffer's value of
Richard M. Stallman [Thu, 4 Aug 1994 22:33:36 +0000 (22:33 +0000)]
(rmail-select-summary): Preserve rmail buffer's value of
rmail-total-messages even while summary buffer is current.

29 years ago(byte-compile-protect-from-advice): Macro deleted.
Richard M. Stallman [Thu, 4 Aug 1994 21:47:55 +0000 (21:47 +0000)]
(byte-compile-protect-from-advice): Macro deleted.
(byte-compile-from-buffer, byte-compile-top-level): Don't use it.

29 years agoNew handling of automatic advice activation that
Richard M. Stallman [Thu, 4 Aug 1994 21:40:49 +0000 (21:40 +0000)]
New handling of automatic advice activation that
exploits modified built-in versions of `fset' and `defalias' which
take care of this functionality directly:
(ad-start-advice-on-load, ad-activate-on-definition)
(ad-definition-hooks, ad-enable-definition-hooks, ad-defined-function)
(ad-advised-definers, ad-advised-byte-compilers, byte-constant)
(byte-constant-limit, byte-constant2, byte-fset)
(ad-byte-code-fset-regexp): Variables deleted.
(ad-activate-defined-function, ad-find-fset-in-byte-code)
(ad-scan-byte-code-for-fsets, ad-advised-byte-code)
(ad-recover-byte-code, ad-enable-definition-hooks)
(ad-disable-definition-hooks): Functions deleted.
(defun, defmacro, fset, defalias, define-function)
(byte-compile-from-buffer, byte-compile-top-level): Removed `defadvice'
for these functions.
(ad-save-real-definitions): Removed saving of `byte-code'.
(ad-activate-off): New dummy function.
(ad-activate-on): New name for `ad-activate'.  All calls changed.
(ad-with-auto-activation-disabled): New macro prevents automatic
advice activation.
(ad-safe-fset): New function, used instead of `ad-real-fset'.
(ad-compile-function): Disable automatic advice activation while
compiling, because `byte-compile' uses `fset'.
(ad-activate-on): Renamed from `ad-activate'.  Avoid recursive calls.
(ad-activate-on-top-level): New variable.
(ad-start-advice, ad-stop-advice, ad-recover-normality): Modified to
achieve de/activation of automatic advice activation by setting the
definition of `ad-activate' to `ad-activate-on' or `ad-activate-off'.
(ad-start-advice): Is now called unconditionally when Advice is loaded.

Made compilation behavior of advised definitions customizable, since
loading the byte-compiler takes some time and is not always worth the
cost, e.g., if one only wants to make a few simple modifications:
(ad-default-compilation-action): New variable which specifies whether
to compile an advised definition in case the COMPILE argument to
`ad-activate-on' or one of its friends was supplied as nil.
(ad-preactivate-advice): Supply negative COMPILE argument to prevent
compilation.
(ad-should-compile): New function.
(ad-activate-advised-definition): Use `ad-should-compile' to determine
whether an advised definition should get compiled.
(ad-activate-on, ad-update, ad-activate-regexp, ad-update-regexp)
(ad-activate-all): Doc fixes.
(ad-update): Leave handling of COMPILE up to `ad-activate-on'.

Extracted construction of freeze-advices from `defadvice':
(ad-make-freeze-definition): New function.
(defadvice): Use `ad-make-freeze-definition' to construct frozen defs.