Roland McGrath [Mon, 7 Feb 1994 22:19:05 +0000 (22:19 +0000)]
(autoload-trim-file-name): New function.
(generate-file-autoloads): Bind print-readably to t for Lucid.
Use autoload-trim-file-name on FILE when inserting the name.
Scan written text and fix up ^L to \f and ( at bol to \(.
(update-file-autoloads): When we find a later file's section, set FOUND to
'new. If FOUND is 'new after loop, check file for autoload cookies and
don't call generate-file-autoloads if none.
(update-directory-autoloads): Get absolute file names from directory-files.
(batch-update-autoloads): Rewrite from jwz to process later files in a
directory after one file errs.
Richard M. Stallman [Mon, 7 Feb 1994 20:47:23 +0000 (20:47 +0000)]
(insert-diary-entry,insert-weekly-diary-entry,
insert-monthly-diary-entry,insert-yearly-diary-entry,
insert-anniversary-diary-entry,insert-block-diary-entry,
insert-cyclic-diary-entry,insert-hebrew-diary-entry,
insert-monthly-hebrew-diary-entry,insert-yearly-hebrew-diary-entry,
insert-islamic-diary-entry,insert-monthly-islamic-diary-entry,
insert-yearly-islamic-diary-entry):
Use new error arg to calendar-cursor-to-date.
Richard M. Stallman [Mon, 7 Feb 1994 20:42:44 +0000 (20:42 +0000)]
(calendar-mode-line-format): Change "current" to "today".
(calendar-cursor-to-date): Add optional parameter to cause error
signal when cursor is not on a date---this allows lots of
simplifications throughout the code.
(calendar-forward-month,calendar-set-mark,
calendar-exchange-point-and-mark,calendar-count-days-region,
calendar-print-day-of-year,calendar-print-iso-date,
calendar-print-julian-date,calendar-print-islamic-date,
calendar-print-hebrew-date,calendar-print-astro-day-number): Use simplification.
Roland McGrath [Mon, 7 Feb 1994 05:08:36 +0000 (05:08 +0000)]
(update-file-autoloads): Never ask the user where to put a new section.
While searching the file, look for an alphabetically later file's section,
and insert the new section before it.
Roland McGrath [Mon, 7 Feb 1994 02:24:01 +0000 (02:24 +0000)]
(global-mark-ring, global-mark-ring-max): New variables.
(push-mark): Also push a marker on the global-mark-ring.
(pop-global-mark): New function; on C-x C-@, C-x C-SPC.
Richard M. Stallman [Sun, 6 Feb 1994 08:04:54 +0000 (08:04 +0000)]
(fix_glyph): New function.
(display_text_line, display_string): Use fix_glyph.
(copy_rope): Function deleted.
(copy_part_of_rope): Merge the glyph's face using compute_glyph_face.
Take frame as additional arg.
(display_text_line): Use copy_part_of_rope always, not copy_rope.
Pass the frame as arg.
(display_string): Likewise.
(display_count_lines): Pass new arg to scan_buffer.
(display_menu_bar): Pass explicit max arg to display_string.
(display_string): New arg OBEY_WINDOW_WIDTH. All callers changed.
Richard M. Stallman [Sun, 6 Feb 1994 02:07:44 +0000 (02:07 +0000)]
Add defvars for many vars already being used.
(emerge-options-menu, emerge-merge-menu, emerge-move-menu): New vars.
(emerge-setup-fixed-keymaps): Set up emerge-move-menu,
emerge-merge-menu and emerge-options-menu. Put them into
emerge-fast-keymap.
(emerge-set-keys): Put them into the emerge-edit-keymap.
(emerge-minor-modes-list): Add defvar.
(emerge-before-flag, emerge-after-flag): Move defvars up.
(emerge-files-remote, emerge-files-with-ancestor-remote):
(emerge-remote-exit): Var exit-func renamed to emerge-exit-func.
Richard M. Stallman [Sat, 5 Feb 1994 02:23:44 +0000 (02:23 +0000)]
(desktop-internal-v2s): Allow saving of markers and subrs.
(desktop-delay-hook): New variable.
(desktop-read): Run desktop-delay-hook.
(desktop-globals-to-save): Save register-alist.
Always make desktop-locals-to-save local.
(desktop-value-to-string): Make sure floating point numbers are
output with maximum accuracy.
(desktop-bug-report): New function.
(desktop-internal-v2s): New function.
(desktop-value-to-string): Use above function.
(desktop-buffers-not-to-save): Add regexp for "nn" temporary files.
(desktop-save, <top-level>): Remove support for Emacs 18, because
it's not worth the effort and didn't work anymore, anyway.
(desktop-save): Needn't bind `print-escape-newlines' anymore.
Richard M. Stallman [Sat, 5 Feb 1994 02:19:28 +0000 (02:19 +0000)]
(string-rectangle): Make operate-on-rectangle convert tabs.
(string-rectangle-line): After inserting string, insert the same
width of whitespace that we deleted earlier.
(operate-on-rectangle): Operate even if width is 0.
(open-rectangle-line): Clean up.
Richard M. Stallman [Fri, 4 Feb 1994 20:20:00 +0000 (20:20 +0000)]
(Using NON_GNU_CPP): Don't lose if it has spaces.
If CPP was inherited from environment, don't use NON_GNU_CPP.
(NON_GNU_CC): Likewise.
(handling with_gcc): Use explicit if in the `no' case.
(cc_specified): New variable; if set, don't use NON_GNU_CC.
Richard M. Stallman [Fri, 4 Feb 1994 01:04:15 +0000 (01:04 +0000)]
(define-mode-clone): Renamed from mode-clone.
Swap args PARENT and CHILD.
Don't use clone-run-setup-function.
(clone-run-setup-function): Function deleted.
Michael I. Bushnell [Thu, 3 Feb 1994 23:48:59 +0000 (23:48 +0000)]
Rms (in his change to comment-region on Feb 1) decided to make
`interactive' in the function backward-word all upper case. Needless
to say, this isn't such a good idea.
Richard M. Stallman [Thu, 3 Feb 1994 19:39:21 +0000 (19:39 +0000)]
(record_first_change): Check for buffer-undo-list = t.
Make an undo boundary if appropriate. Set last_undo_buffer.
(record_property_change): Use BUFFER, not current_buffer,
when testing undo_list.