Commit graph

  • dfeccd2d13 Implement extra_keyboard_modifiers properly. * keyboard.c (syms_of_keyboard): Doc fix for extra-keyboard-modifiers; use the same modifier bits as we do for characters. (read_char): Apply all the modifiers in extra_keyboard_modifiers to the input characters, so you can get hyper, super, and the rest of the gang. * xterm.c (x_emacs_to_x_modifiers): New function. (x_convert_modifiers): Renamed to x_x_to_emacs_modifiers, for consistency. Callers changed. (XTread_socket): Apply x_emacs_to_x_modifiers to extra_keyboard_modifiers before setting the state member of the event; this will get all the modifiers on ASCII characters. Jim Blandy 1993-05-04 02:44:42 +00:00
  • f80dc88865 Changes for Emacs 19 from Thorsten Ohl <ohl@chico.harvard.edu>: * s/mach2.h: copied from the Emacs 18.59 distribution. Don't define NO_REMAP, define START_FILES as pre-crt0.o' instead. Define LIB_MATH as -lm', to override the default `-lm -lc' (there is no libc on the NeXT). * ymakefile (STARTFILES): Allow config.h to set this value even if ORDINARY_LINK is defined. * unexnext.c: Fix subdirectories for the machine dependent include files for NeXTStep 3.0; #include <mach/mach.h> and <mach-o/loader.h> instead of <mach.h> and <sys/loader.h>. (getsectbyname): Remove prototype for this; the system #include files take care of that. (malloc_cookie): New variable. (unexec_doit): Set malloc_cookie to the result returned by malloc_freezedry. * emacs.c (main): Declare malloc_cookie to be extern, so that we can get the value set when we dumped and pass it to malloc_jumpstart. * systime.h: The NeXT has a timezone function. Jim Blandy 1993-05-04 02:44:16 +00:00
  • d82222e114 * lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER): New constants, in case we need them. * termhooks.h (alt_modifier, super_modifier, hyper_modifier, shift_modifier, ctrl_modifier, meta_modifier): Define these in terms of the CHAR_mumble macros, to avoid having the same thing defined in two places. Jim Blandy 1993-05-04 02:39:39 +00:00
  • c2e4f49a68 * systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Move these into functions in sysdep.c. * sysdep.c (emacs_get_tty, emacs_set_tty): Here they are. Jim Blandy 1993-05-04 02:39:05 +00:00
  • 7f86bdacd5 * systime.h: Doc fix. (EMACS_SET_USECS): Remember that a usec' is a microsecond, not a millisecond. What's three orders of magnitude between friends? * dispnew.c (Fsit_for, Fsleep_for): Remember to multiply the milliseconds' argument by 1000 to get microseconds. Jim Blandy 1993-05-04 02:36:45 +00:00
  • 68936329c2 * systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Move these into functions in sysdep.c. * sysdep.c (emacs_get_tty, emacs_set_tty): Here they are. Jim Blandy 1993-05-04 02:36:03 +00:00
  • 9a76659df2 * search.c (Freplace_match): Arrange for markers sitting at the beginning or end of the original text to float to the corresponding position in the replacement text. Jim Blandy 1993-05-04 02:35:38 +00:00
  • f42be754b2 Arrange for Fy_or_n_p to put off switch-frame events. * lread.c (read_filtered_char): New function, which contains the code which used to be in Fread_char, Fread_event, and Fread_char_exclusive; there was a lot of common code. (Fread_char, Fread_event, Fread_char_exclusive): Rewrite in terms of read_filtered_char. * lisp.h (read_filtered_char): Declare this extern here. * fns.c (Fy_or_n_p): Call read_filtered_char, arranging to delay switch-frame events. Jim Blandy 1993-05-04 02:35:01 +00:00
  • 59b4254d59 * lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER): New constants, in case we need them. * termhooks.h (alt_modifier, super_modifier, hyper_modifier, shift_modifier, ctrl_modifier, meta_modifier): Define these in terms of the CHAR_mumble macros, to avoid having the same thing defined in two places. Jim Blandy 1993-05-04 02:34:26 +00:00
  • cd8520b9d5 * keymap.c (Fdefine_prefix_command): Doc fix. Jim Blandy 1993-05-04 02:33:19 +00:00
  • 806451194b Implement extra_keyboard_modifiers properly. * keyboard.c (syms_of_keyboard): Doc fix for extra-keyboard-modifiers; use the same modifier bits as we do for characters. (read_char): Apply all the modifiers in extra_keyboard_modifiers to the input characters, so you can get hyper, super, and the rest of the gang. * xterm.c (x_emacs_to_x_modifiers): New function. (x_convert_modifiers): Renamed to x_x_to_emacs_modifiers, for consistency. Callers changed. (XTread_socket): Apply x_emacs_to_x_modifiers to extra_keyboard_modifiers before setting the state member of the event; this will get all the modifiers on ASCII characters. Jim Blandy 1993-05-04 02:32:22 +00:00
  • 9083124bb7 * fileio.c (Fmake_symbolic_link): If a file already exists under the link's filename, delete the file which the link would replace, not the file the link would point at. Jim Blandy 1993-05-04 02:29:57 +00:00
  • 4b16380868 * emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and ':' elsewhere, just have it default to ':' if not #defined, and #define it to be ',' in s/vms.h; OS/2 will need it to be ';'. * s/vms.h (SEPCHAR): #define this to be ','. * s/template.h (SEPCHAR): Mention this. Jim Blandy 1993-05-04 02:29:06 +00:00
  • b07646f519 * systime.h: Doc fix. (EMACS_SET_USECS): Remember that a usec' is a microsecond, not a millisecond. What's three orders of magnitude between friends? * dispnew.c (Fsit_for, Fsleep_for): Remember to multiply the milliseconds' argument by 1000 to get microseconds. Jim Blandy 1993-05-04 02:28:10 +00:00
  • e3fa7dfc18 * data.c (Ffset): Refuse to set the function value of t or nil. Jim Blandy 1993-05-04 02:26:53 +00:00
  • 8b0c35d952 * config.h.in (getenv): Don't test THIS_IS_YMAKEFILE to see if we should exclude the getenv declaration; instead, test NOT_C_CODE. Per suggestion from Francesco Potorti`. * ymakefile (NOT_C_CODE): Define this; it's true, and useful. Jim Blandy 1993-05-04 02:24:42 +00:00
  • 6158b3b00b * buffer.c (syms_of_buffer): Doc fix for buffer-display-table. Jim Blandy 1993-05-04 02:23:12 +00:00
  • d620fb0c44 * emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and ':' elsewhere, just have it default to ':' if not #defined, and #define it to be ',' in s/vms.h; OS/2 will need it to be ';'. * s/vms.h (SEPCHAR): #define this to be ','. * s/template.h (SEPCHAR): Mention this. Jim Blandy 1993-05-04 00:28:07 +00:00
  • 4e4726bc25 * m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/mips.h, m/sps7.h, s/hpux.h, s/usg5-4.h (HAVE_DUP2): Removed; derived by configure script. * s/hpux.h, s/irix3-3.h, s/aix3-1.h (HAVE_GETHOSTNAME): Removed; derived by configure script. Jim Blandy 1993-05-04 00:27:23 +00:00
  • d4198db9a7 * emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and ':' elsewhere, just have it default to ':' if not #defined, and #define it to be ',' in s/vms.h; OS/2 will need it to be ';'. * s/vms.h (SEPCHAR): #define this to be ','. * s/template.h (SEPCHAR): Mention this. Jim Blandy 1993-05-04 00:26:43 +00:00
  • 0efd16a9f7 * m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/mips.h, m/sps7.h, s/hpux.h, s/usg5-4.h (HAVE_DUP2): Removed; derived by configure script. * s/hpux.h, s/irix3-3.h, s/aix3-1.h (HAVE_GETHOSTNAME): Removed; derived by configure script. Jim Blandy 1993-05-04 00:26:07 +00:00
  • e4c61e50a6 * calendar.el: Update reference to the papers in S-P&E. (calendar-print-astro-day-number): Correct spelling error in message string. Jim Blandy 1993-05-03 22:56:42 +00:00
  • 566dd94e41 mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on /[/]/, so change it to /[\/]/. This should work on all Posix-compliant awks. It's slightly wrong with traditional (Unix version 7) awk, since it also allows \, but that's a minor problem compared to awk syntax errors. Paul Eggert 1993-05-03 17:55:22 +00:00
  • af6a9de97d (help-for-help): Use lower case letters for help options. Richard M. Stallman 1993-05-03 15:34:46 +00:00
  • ccb629e40b (string-rectangle): Renamed from fill-rectangle. (string-rectangle-line): Renamed from fill-rectangle-line. Richard M. Stallman 1993-05-03 15:01:18 +00:00
  • d5ec09ce2e * sun-mouse.el (suspend-emacstool): Run suspend-hook, not suspend-hooks. Jim Blandy 1993-05-03 04:05:33 +00:00
  • b22795d3e8 * yow.el (yow): Fix interactive spec. Jim Blandy 1993-05-03 03:41:07 +00:00
  • 15e0fbfaff * subr.el (listify-key-sequence): Use a character constant to decide which bits to flip, not an integer constant. Jim Blandy 1993-05-03 03:40:40 +00:00
  • 684602b92e * sendmail.el (mail-setup): Don't insert "--\n" before the signature. If they want it, they can put it in their .signature file. Jim Blandy 1993-05-03 03:40:10 +00:00
  • 1a786d291b * mouse.el (mouse-buffer-menu): Don't right-justify the buffer name; this doesn't look nice if we use a proportional font. Jim Blandy 1993-05-03 03:38:36 +00:00
  • e084483dea * lucid.el: Comment out fset of set-screen-width properly. Jim Blandy 1993-05-03 03:37:47 +00:00
  • 28dbf5014a * files.el (insert-directory): Undo change of March 23; dereferencing links is inappropriate for dired. Jim Blandy 1993-05-03 03:37:22 +00:00
  • 85dd3810c9 * edebug.el (edebug-display): Call the `mark' function with the FORCE argument non-nil, so that we don't get an error if the mark isn't set yet. Jim Blandy 1993-05-03 03:36:19 +00:00
  • afb1e4b480 * disp-table.el (describe-display-table): Don't use the term "rope"; we're using vectors of characters now. (standard-display-8bit, standard-display-ascii): Set the element of the display table to a vector, not an integer; the latter doesn't mean anything. Jim Blandy 1993-05-03 03:35:53 +00:00
  • f4c0acdb93 * comint.el (comint-match-partial-pathname): Move "---" range in character class in regular expressions to the end of the character class; this way, it meets the POSIX regexp specs. Jim Blandy 1993-05-03 03:35:01 +00:00
  • f33419002e * bytecomp.el (meta-flag): Declare this an obsolete variable. Jim Blandy 1993-05-03 03:34:20 +00:00
  • 3cfb369a5f * make-dist: Distribute configure, as well as configure.in. Oversight. Jim Blandy 1993-05-03 02:08:07 +00:00
  • c5f67786fe * configure.in: Use the AC_PROG_CPP macro, and then use the CPP variable to scan the machine and system description files. Jim Blandy 1993-05-03 02:07:41 +00:00
  • d3245f70ee * configure.in: Use the AC_ALLOCA test. * Makefile.in (ALLOCA): New variable, to be set by ./configure. (lib-src/Makefile): Edit the value of ALLOCA into lib-src/Makefile. Jim Blandy 1993-05-03 02:06:16 +00:00
  • 1770543d43 (find-file-noselect): On VMS, maybe set buffer-file-name to the truename. Depends on find-file-not-true-dirname-list Richard M. Stallman 1993-05-02 12:46:26 +00:00
  • c1be1b3079 Initial revision Jim Blandy 1993-05-01 21:53:52 +00:00
  • c43e436c21 (vc-mode-line): Don't alter key bindings. (vc-toggle-read-only): Put on C-x C-q unconditionally. (vc-mode): Add permanent-local property. Richard M. Stallman 1993-05-01 15:00:34 +00:00
  • 3193071145 Changed. Richard M. Stallman 1993-05-01 14:39:32 +00:00
  • 7df3061492 (Fsuspend_emacs): Doc fix. Richard M. Stallman 1993-05-01 13:20:55 +00:00
  • a1bda481b9 (vc-revert-buffer1): Fix format of compilation-error-list. Richard M. Stallman 1993-05-01 03:09:16 +00:00
  • 2abef901fd Fix syntax error. Doug Evans 1993-04-30 18:52:42 +00:00
  • b0bef8c52f *** empty log message *** Jim Blandy 1993-04-30 16:42:24 +00:00
  • d63887ade9 Accept sh, hms. Steve Chamberlain 1993-04-30 14:49:35 +00:00
  • 1cc2fbeb29 (find-file-noselect): Do set buffer-file-name to the truename, when find-file-visit-truename. Richard M. Stallman 1993-04-30 11:54:04 +00:00
  • caf15d4f18 (vc-match-substring): Renamed from match-substring. (vc-parse-buffer): Use new name. Richard M. Stallman 1993-04-29 17:58:37 +00:00
  • e5f920d7e9 (Fthis_command_keys): Doc fix. Richard M. Stallman 1993-04-29 16:49:24 +00:00
  • 68a752206e (wait_reading_process_input): Move the status_notify call before the set_waiting_for_input call. Richard M. Stallman 1993-04-29 15:57:17 +00:00
  • 24fdffaaa0 (shell-prompt-pattern): Undo last change. Richard M. Stallman 1993-04-29 14:23:22 +00:00
  • dff7d67f26 (up-arrow, down-arrow, left-arrow, right-arrow): Deleted. Richard M. Stallman 1993-04-29 13:57:52 +00:00
  • eabf01d460 (Fexpand_file_name): Undo last change--too risky for now. Richard M. Stallman 1993-04-29 13:17:56 +00:00
  • d9bcdb34a0 (Fdefine_function): New function (same code as Fdefalias). Richard M. Stallman 1993-04-29 13:12:37 +00:00
  • c5e3de70d8 (LOADHIST_ATTACH): New macro. (Vcurrent_load_list, Vload_history): Vars declared. Richard M. Stallman 1993-04-29 02:22:48 +00:00
  • e9c8e24886 (vc-revert-buffer1): Ignore non-marker elts of compilation-error-list. Roland McGrath 1993-04-28 22:48:52 +00:00
  • 0b18a8f6e1 Add compilation-minor-mode to minor-mode-alist and minor-mode-map-alist. (compilation-minor-mode): New defvar. (compilation-minor-mode-map): New defvar; keymap with the bindings from compilation-mode-map except SPC and DEL. (compilation-mode-map): Construct this keymap to inherit from compilation-minor-mode-map. (compilation-setup): New function, code broken out of compilation-mode. (compilation-mode): Call it. (compilation-minor-mode): New function to toggle compilation-minor-mode; if setting it, call compilation-setup. Roland McGrath 1993-04-28 22:44:29 +00:00
  • 9ae11a8907 Installed Aaron Larson's new bibtex.el. See the header comment for details. Eric S. Raymond 1993-04-28 21:19:21 +00:00
  • 8b38db3389 (gnus-inews-organization): If ORGANIZATION is "", set it to nil. Roland McGrath 1993-04-28 20:31:02 +00:00
  • 59c6a78e58 (file-truename): Undo last change. Roland McGrath 1993-04-28 17:33:42 +00:00
  • 5739ce6baf (do_autoload): Fixed the bug in the autoload-saving code. Eric S. Raymond 1993-04-28 17:08:18 +00:00
  • e4c8c838e9 Removed spurious comment (obsoleted by ;;;###autoload). Eric S. Raymond 1993-04-28 17:08:14 +00:00
  • 0d5bbbf750 (hscroll-step): New variable. (hscroll-point-visible): New function. (left-arrow, right-arrow): These use hscroll-point-visible for better auto- scrolling behavior. Eric S. Raymond 1993-04-27 22:01:32 +00:00
  • ac669fa2a9 (un_autoload): Don't try to save old autoload forms when we load something in. Something about the code now conditioned out by UNLOAD was screwing up ordinary autoloads, notably of picture.el. When I figure out what, I'll fix and re-enable this code. Eric S. Raymond 1993-04-27 21:59:59 +00:00
  • ca9c75792e Completed the package entry point's name change from edit-picture to picture-mode. (move-to-column-force, picture-end-of-line): When movement is completed, scroll horizontally if necessary to make point visible. (picture-beginning-of-line): New function. Exists to force horizontal scrolling if the buffer is wide. (picture-mode-map): Instead of rebinding common keystrokes, use substitute-key-definition to remap all keystrokes attached to the corresponding commands. Eric S. Raymond 1993-04-27 21:59:55 +00:00
  • f03e319c88 (gud-format-command): Fix %f expansuuin to send ondly the basename of files to gdb. Eric S. Raymond 1993-04-27 21:59:46 +00:00
  • 8a5066940a (file-truename): Do the right thing when /home/gp2/eric = "". Eric S. Raymond 1993-04-27 21:59:41 +00:00
  • ee6b9d1928 (notify): Bug fix. Treat the body of this function as a critical region. Eric S. Raymond 1993-04-27 21:59:39 +00:00
  • f1cc678fdc (Fexpand_file_name): Don't remove trailing / from NEWDIR if just "/". Roland McGrath 1993-04-26 21:54:00 +00:00
  • d74e816f04 (find-tag-interactive): New function to read args for find-tag et al. (find-tag-noselect, find-tag, find-tag-other-window, find-tag-other-frame, find-tag-regexp): Use it. (find-tag, find-tag-other-window): Take new arg REGEXP-P, pass to find-tag-noselect. (find-tag-regexp): Call either find-tag-other-window or find-tag, rather than find-tag-noselect and switch-to-buffer[-other-window]. (tags-location-stack): New defvar. (find-tag-noselect): If NEXT-P is '-, pop location off tags-location-stack. Roland McGrath 1993-04-26 19:21:01 +00:00
  • 57ef1664fe (read_pending_input): Fix the garbaged-modifiers bug under System Vs previous to r4. Eric S. Raymond 1993-04-26 05:15:13 +00:00
  • 8241d7b92d Doc fixes. Also a few teaks to pacify the byte-compiler. Eric S. Raymond 1993-04-26 05:15:08 +00:00
  • 54f91c5b02 I started to clean this up and make it work under System V, until I hit a wall. Discussion with Jim Blandy reveals that it can no longer be made to work properly at all due to changes in Emacs's terminal-control interface. So it's getting deep-sixed, but these cleanups go in on the outside chance that we want to revive it someday. Eric S. Raymond 1993-04-26 05:15:04 +00:00
  • 10d96c7d2c (global-map): Dyke out the last two event-to-function bindings. These belong in loaddefs.el or the user's .emacs, not in a terminal support package. Also do the right thing and transplant all suspend-emacs bindings to iconify-frame, rather than just C-z. Eric S. Raymond 1993-04-26 05:15:01 +00:00
  • a91b2e223a (cd): Handle leading "~" like an absolute filename. Eric S. Raymond 1993-04-26 05:01:41 +00:00
  • 62f61df0e7 Changed fsets to defaliases. Eric S. Raymond 1993-04-26 04:19:48 +00:00
  • 7e0f6efc87 (comint-mod): Nuked. A call to ring-mod replaces it. (comint-mem): Nuked. A call to member replaces it. Eric S. Raymond 1993-04-25 22:26:51 +00:00
  • d3af54acef Rewritten. A poor choice of representation made the old code excessively complex. The new version is smaller and faster. The interface is unchanged, except that ring-remove now accepts an optional numeric argument specifying the element to remove. Eric S. Raymond 1993-04-25 22:26:48 +00:00
  • 5b08a462d2 Set no-byte-compile local variable t to work around a byte-compiler bug. (gud-def, global-map): Move C-x C-a commands to global map. Restore original C-x SPC global binding. Eric S. Raymond 1993-04-25 22:26:45 +00:00
  • 8c0aaf4075 (vc-diff): Get proper error message when you run this with no prefix arg on an empty buffer. Eric S. Raymond 1993-04-25 22:26:40 +00:00
  • 270967b219 (Fset-window-buffer): Set horizontal-scrolling on a window to zero when we connect it to a new buffer. Eric S. Raymond 1993-04-25 06:15:18 +00:00
  • a97c374aa7 (Qmode-line-format): Describe %l in the doc string. Eric S. Raymond 1993-04-25 06:14:25 +00:00
  • 3ab1f5b5ef (down-arrow): New function. Uses next-line-add-newlines to suppress addition of new lines at end of buffer. (up-arrow): Alias of previous-line, added for consistency. These changes complete terminal-type-independent support for arrow keys. Eric S. Raymond 1993-04-25 06:14:13 +00:00
  • 2f3067de92 (tex-compilation-parse-errors): Added. At the moment, this would have to be applied manually. It's not worth trying to integrate this with the rest of the mode more tightly until we decide whether and how compile's interface is going to change away from a closed subsystem. Eric S. Raymond 1993-04-25 06:14:10 +00:00
  • 231c4e102b (cd): Changed to use to resolve relative cd calls. (cd-absolute): Added. This is actually the old cd code with a changed doc string. (parse-colon-path): Added. Path-to-string exploder --- may be useful elsewhere. Eric S. Raymond 1993-04-25 06:14:06 +00:00
  • 41dc743ded Added and fixed documentation. (ring-rotate): Nuked. It was (a) unused, and (b) totally broken (as in, any attempt to use it died with a type error, and when I patched it to fix that I found its algorithm was broken). (ring-ref): Added doc string. Eric S. Raymond 1993-04-25 06:14:03 +00:00
  • 42d5c01e21 *** empty log message *** Noah Friedman 1993-04-24 10:10:19 +00:00
  • b457cc3bab Replaced all fsets with defaliases. Eric S. Raymond 1993-04-23 07:31:14 +00:00
  • 31e1d9206b All fsets changed to defaliases. Eric S. Raymond 1993-04-23 06:51:44 +00:00
  • f2a2c3d2e3 Some fsets changed to defaliases. Eric S. Raymond 1993-04-23 06:50:51 +00:00
  • 059184ddd5 All fsets changed to defaliases. EOT Eric S. Raymond 1993-04-23 06:50:48 +00:00
  • 38ebcf290b All fsets changed to defaliases. (kill-forward-chars, kill-backward-chars): Deleted. These were internal subroutines used by delete-char and delete-backward-char before those functions were moved into the C kernel. Now nothing uses them. (kill-line): Added kill-whole-line variable. Defaults to nil; a non-nil value causes a kill-line at the beginning of a line to kill the newline as well as the line. I find it very convenient. Emulates Unipress' &kill-lines-magic variable. (next-line): Added next-line-add-newlines variable. If nil, next-line will not insert newlines when invoked at the end of a buffer. This obviates three LCD packages. (left-arrow, right-arrow): New functions. These do backward-char and forward-char first. If line truncation is on, they then scroll left or right as necessary to make sure point is visible. Eric S. Raymond 1993-04-23 06:50:37 +00:00
  • cdccfc0d1c Initial revision Eric S. Raymond 1993-04-23 03:54:38 +00:00
  • c36881cfa6 (define-function): Changed name back to defalisaases to get things in a known-good state. Eric S. Raymond 1993-04-23 03:43:33 +00:00
  • 80df38a283 (Fdefine_function): Changed name back to Fdefalias, so we get things in a known-good state. Eric S. Raymond 1993-04-23 03:40:03 +00:00
  • e12f351912 (BUF_NARROWED, NARROWED): New macros to test whether a region restriction has narrowed the buffer. Eric S. Raymond 1993-04-23 03:06:10 +00:00
  • 2fcf8a07b3 (global-map): Remove function key bindings that duplicate stuff in loaddefs.el. Eric S. Raymond 1993-04-23 02:21:02 +00:00
  • b501435020 Commentary added. (telnet): Doc fix. (rsh): Added entry point for rsh to remote host, per suggestion by Michael McNamara <mac@ardent.com>. No change to any other code. Eric S. Raymond 1993-04-23 02:20:59 +00:00