1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 03:20:39 -08:00
Commit graph

15870 commits

Author SHA1 Message Date
Miles Bader
a30ccae670 (recentf-mode): Variable removed.
(recentf-mode): Use `define-minor-mode'.
2000-10-25 11:38:08 +00:00
Dave Love
f4b020f69a Don't
inherit from global-map and don't nullify menu-bar and tool-bar
bindings since keymap properties DTRT.
2000-10-25 09:55:35 +00:00
Miles Bader
ff4dcd4b53 *** empty log message *** 2000-10-25 07:36:30 +00:00
Miles Bader
a850ac03f0 (widget-field-at): New function.
(widget-at, widget-field-activate): Use it.
(widget-tabable-at): Use `widget-at'.
(widget-specify-field): If the terminating character of the widget
  field (which is read-only) is a newline, put it into a special
  `boundary' field so that C-n/C-p act more naturally.
(widget-field-end): Also don't subtract one if a special
  `boundary' field has been added after the widget field.
2000-10-25 07:16:44 +00:00
Miles Bader
ebe2a441bf *** empty log message *** 2000-10-25 05:38:31 +00:00
Miles Bader
8b9a0f4516 (widget-beginning-of-line, widget-end-of-line):
Replace with aliases of the normal emacs b-o-l/e-o-l functions.
(widget-field-keymap, widget-text-keymap):
  Don't bind C-a/C-e.
2000-10-25 05:37:15 +00:00
Miles Bader
c7c800d8d1 (comint-output-filter, comint-send-input):
Don't bother adding stickiness fields to overlays to fool the field
  code, since it should notice the overlay insertion-types now.
2000-10-25 05:21:54 +00:00
Gerd Moellmann
53df4dda9d *** empty log message *** 2000-10-24 21:19:27 +00:00
Gerd Moellmann
70f57a7251 (ps-generate): Fix odd/even pages printing bug. 2000-10-24 21:17:40 +00:00
Gerd Moellmann
395be66e04 Now there is a column formatting mechanism.
Modified to customization mechanisms convention.  Doc fix.
(columns): New group for delim-col.
(delimit-columns-before, delimit-columns-after)
(delimit-columns-format, delimit-columns-extra, delimit-columns-start)
(delimit-columns-end): New vars.
(delimit-columns-customize, delimit-columns-format): New funs.
(delimit-columns-region, delimit-columns-rectangle)
(delimit-columns-rectangle-line): Modified to support column
formatting.
2000-10-24 21:17:06 +00:00
Gerd Moellmann
0a9ad6144d (authors-aliases): Add some more aliases.
(authors): Set file coding system to iso-2022-7bit.  Add
file-local variables to output buffer.
2000-10-24 20:41:46 +00:00
Gerd Moellmann
fe50b6abd8 (after-find-file): Don't print any warnings if
WARN is nil.
2000-10-24 15:18:19 +00:00
Gerd Moellmann
9acc387375 *** empty log message *** 2000-10-24 15:11:21 +00:00
Gerd Moellmann
53bb90cad6 (after-find-file): Don't print a message ``New file''
if WARN is nil.
2000-10-24 15:06:14 +00:00
Dave Love
a98397797d *** empty log message *** 2000-10-24 12:40:08 +00:00
Gerd Moellmann
63e1b552d0 *** empty log message *** 2000-10-24 12:32:53 +00:00
Gerd Moellmann
7f779379f6 (widget-field-keymap, widget-text-keymap): Define
the tool-bar map as nil, as for the menu-bar.  Otherwise, we'll
get duplicate tool-bar entries because we'll see the global ones
on more than one path through keymaps.
2000-10-24 12:27:45 +00:00
Dave Love
bc35d341ca (log-edit): Add :version and a :group for vc. 2000-10-24 11:27:41 +00:00
Gerd Moellmann
1946f901c6 *** empty log message *** 2000-10-24 11:23:14 +00:00
Gerd Moellmann
c7f18fbafd (defun-prompt-regexp): Doc fix. 2000-10-24 11:22:48 +00:00
Gerd Moellmann
df0267b85b *** empty log message *** 2000-10-24 11:05:37 +00:00
Kenichi Handa
2bd8a1db5e (fit-window-to-buffer): Adjust point of the window buffer, not that of
the current buffer.
2000-10-24 10:52:22 +00:00
Kenichi Handa
ae3b264bca *** empty log message *** 2000-10-24 10:52:06 +00:00
Eli Zaretskii
23afac0140 *** empty log message *** 2000-10-24 09:17:31 +00:00
Eli Zaretskii
8a30aaa378 Update author's email address. 2000-10-24 09:15:44 +00:00
Miles Bader
22d1a4ed04 *** empty log message *** 2000-10-24 06:22:03 +00:00
Miles Bader
c698842f20 (face-spec-set-match-display):
Add `graphic' display type (the inverse of `tty').
  Use `display-graphic-p' instead of the window-system variable.
2000-10-24 06:16:20 +00:00
Kenichi Handa
8aa87e0698 (isearch-with-input-method): Call input-method-function with the first
event in unread-command-events.
2000-10-24 01:34:25 +00:00
Kenichi Handa
f408aa480f *** empty log message *** 2000-10-24 01:34:06 +00:00
Miles Bader
94fe8a31c7 (face-default-spec, face-user-default-spec): Make defsubsts. 2000-10-24 01:17:23 +00:00
Dave Love
b7e03a6759 *** empty log message *** 2000-10-23 21:05:41 +00:00
Dave Love
3b6d80f1ed (tool-bar-add-item-from-menu)
(tool-bar-add-item): Set foreground and background for XBM icons.
2000-10-23 18:00:51 +00:00
Dave Love
46c519de2c *** empty log message *** 2000-10-23 17:51:33 +00:00
Andrew Choi
8f47302e25 Andrew Choi <akochoi@i-cable.com>
* international/mule-conf.el (mac-roman-lower, mac-roman-upper):
        New charsets.

        * term/mac-win.el: Remove definitions of mac-roman-lower and
        mac-roman-upper, require dired, and define instead of set
        mac-ready-for-drag-n-drop to avoid compilation error.

        * src/macterm.c (XTread_socket): check whether Lisp variable
        mac-ready-for-drag-n-drop is bound rather than non-nil value.
2000-10-23 17:49:59 +00:00
Dave Love
fa2c768f76 (latin1-char-displayable-p): New
function (from Handa).
(latin1-display-check-font): Use it.
2000-10-23 17:47:06 +00:00
Andrew Innes
446c097e30 (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
superfluous calls to subst-char-in-string; instead apply
expand-file-name after convert-standard-filename to ensure
expected directory separators are used.
2000-10-23 17:40:16 +00:00
Dave Love
0dcf8835e3 (imenu--create-keymap-2): Build menu with menu-item
using :key-sequence, making it much more usable.  Use nconc, not
append.
(imenu--create-keymap-1): Avoid append.
2000-10-23 17:24:54 +00:00
Eli Zaretskii
379b70e730 (Info-file-list-for-emacs): Add an entry for Eshell. 2000-10-23 15:50:51 +00:00
Dave Love
85c766e9ed Remove bits redundant with define-minor-mode. 2000-10-23 12:35:01 +00:00
Miles Bader
3b6542bab5 (byte-compile-file): Bind `byte-compile-last-logged-file' to nil. 2000-10-23 10:27:47 +00:00
Miles Bader
cb3069bb5e [the following changes fix a bug where `define-minor-mode' didn't
correctly generate :require clauses for defcustoms in compiled files]

(byte-compile-last-logged-file):
  New variable.
(byte-compile-log-file, byte-compile-log-1):
  Don't set `byte-compile-current-file' to nil.
  Instead set `byte-compile-last-logged-file' to it.
  Test whether byte-compile-current-file equals byte-compile-last-logged-file
    instead of whether its nil.
2000-10-23 09:16:47 +00:00
Stefan Monnier
6db6243bda *** empty log message *** 2000-10-23 08:43:03 +00:00
Stefan Monnier
7850e18845 Fix var names in doc.
(refill-mode): Don't bother with make-local-hook anymore.
2000-10-23 07:35:30 +00:00
Miles Bader
e01cd227f6 (woman-italic-face, woman-bold-face, woman-unknown-face):
Add dark-background variants.
(woman-default-faces):
  Renamed from `woman-colour-faces'.
  Set using the stored defaults, rather than using hard-wired colors.
(woman-monochrome-faces):
  Renamed from `woman-black-faces'.
  Just make the foreground `unspecified' rather than "black".
(woman-menu):
  Rename menu entries accordingly.
2000-10-23 05:37:24 +00:00
Miles Bader
96c2938fc9 (face-user-default-spec, face-default-spec): New functions.
(face-spec-choose, face-spec-set): Document nil-SPEC behavior.
(frame-set-background-mode, face-set-after-frame-default):
  Use `face-user-default-spec'.  Simplify code slightly.
2000-10-23 05:32:59 +00:00
Miles Bader
984905989e (header-line): Make more reasonable on mono/grayscale displays. 2000-10-23 04:50:20 +00:00
Andrew Choi
1a578e9be2 Initial check-in: changes for building Emacs under Mac OS.
2000-10-23  Andrew Choi  <akochoi@i-cable.com>

	* dispextern.h [macintosh]: Include macgui.h instead of macterm.h.

	* dispnew.c [macintosh]: Include macterm.h.
	(init_display) [macintosh]: initialization for window system.

	* emacs.c (main) [macintosh]: Call syms_of_textprop,
	syms_of_macfns, syms_of_ccl, syms_of_fontset, syms_of_xterm,
	syms_of_search, x_term_init, and init_keyboard before calling
	init_window_once.  Also, call syms_of_xmenu.

	* fontset.c (syms_of_fontset) [macintosh]: Set ASCII font of
	default fontset to Monaco.

	* frame.c [macintosh]: Include macterm.h.  Remove declarations of
	NewMacWindow and DisposeMacWindow.
	(make_terminal_frame) [macintosh]: Call make_mac_terminal_frame
	instead of calling NewMacWindow and setting fields of
	f->output_data.mac directly.  Call init_frame_faces.
	(Fdelete_frame) [macintosh]: Remove unused code.
	(Fmodify_frame_parameters) [macintosh]: Call
	x_set_frame_parameters instead of mac_set_frame_parameters.

	* frame.h [macintosh]: Define menu_bar_lines field in struct
	frame.  Define FRAME_EXTERNAL_MENU_BAR macro.

	* keyboard.c [macintosh]: Include macterm.h.
	(kbd_buffer_get_event) [macintosh]: Generate delete_window_event
	and menu_bar_activate_event type events as for X and NT.
	(make_lispy_event) [macintosh]: Construct lisp events of type
	MENU_BAR_EVENT as for X and NT.

	* sysdep.c [macintosh]: Remove declaration for sys_signal.
	Include stdlib.h.  Remove definition of Vx_bitmap_file_path.
	(sys_subshell) [macintosh]: Remove definition entirely.
	(init_sys_modes) [macintosh]: Do not initialize Vwindow_system and
	Vwindow_system_version here.  Remove initialization of
	Vx_bitmap_file_path.
	(read_input_waiting): Correct the number of parameters passed to
	read_socket_hook.
	Move all Macintosh functions to mac/mac.c.

	* term.c [macintosh]: Include macterm.h.

	* window.c [macintosh]: Include macterm.h.

	* xdisp.c [macintosh]: Include macterm.h.  Declare
	set_frame_menubar and pending_menu_activation.
	(echo_area_display) [macintosh]: Do not return if terminal frame
	is the selected frame.
	(update_menu_bar) [macintosh]: Check FRAME_EXTERNAL_MENU_BAR (f).
	Allow only the selected frame to set menu bar.
	(redisplay_window) [macintosh]: Obtain menu bar to redisplay by
	calling FRAME_EXTERNAL_MENU_BAR (f).
	(display_menu_bar) [macintosh]: Check FRAME_MAC_P (f).

	* xfaces.c [macintosh]: Include macterm.h.  Define x_display_info
	and check_x.  Declare XCreateGC.  Define x_create_gc and
	x_free_gc.  Initialize font_sort_order.
	(x_face_list_fonts) [macintosh]: Use the same code as WINDOWSNT,
	but call x_list_fonts instead of w32_list_fonts.
	(Finternal_face_x_get_resource) [macintosh]: Do not call
	display_x_get_resource.
	(prepare_face_for_display) [macintosh]: Set xgcv.font.
	(realize_x_face) [macintosh]: Load the font if it is specified in
	ATTRS.
	(syms_of_xfaces) [macintosh]: Initialize Vscalable_fonts_allowed
	to Qt.

	* cus-edit.el (custom-button-face): Use 3D look for mac.
	(custom-button-pressed-face): Likewise.

	* faces.el (set-face-attributes-from-resources): Handle mac frames
	in the same way as x and w32 frames.
	(face-valid-attribute-values): Likewise.
	(read-face-attribute): Likewise.
	(defined-colors): Likewise.
	(color-defined-p): Likewise.
	(color-values): Likewise.
	(display-grayscale-p): Likewise.
	(face-set-after-frame-default): Likewise.
	(mode-line): Same default face as for x and w32.
	(tool-bar): Likewise.

	* frame.el: Remove call to frame-notice-user-settings at end of
	the file.

	* info.el (Info-fontify-node): make underlines invisible for mac
	as for x, pc, and w32 frame types.

	* term/mac-win.el: New file.
2000-10-22 16:50:16 +00:00
Dave Love
aaaf7be7c8 *** empty log message *** 2000-10-22 16:28:19 +00:00
André Spiegel
5392d654c4 # 2000-10-22 15:45:05 +00:00
André Spiegel
10b48cc413 (vc-checkout): Added `-p' suffix in call to vc-make-version-backups-p;
use vc-make-version-backup to actually make the backup.
(vc-version-other-window, vc-version-backup-file): Handle both
automatic and manual backups.
(vc-revert-file): Use vc-delete-automatic-version-backups to get rid
of all of them.
2000-10-22 15:37:51 +00:00