Roland McGrath [Fri, 7 Jun 1996 17:31:33 +0000 (17:31 +0000)]
Fri Jun 7 13:06:53 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* etags.el (tag-lines-already-matched): Remove defvar.
(initialize-new-tags-table): Don't make that var local.
(tag-lines-already-matched): Add docless defvar near find-tag-in-order
defun; this is a global state variable for that one function.
(find-tag-in-order): Move clearing of tag-lines-already-matched out of
loop. Make it a list of markers and search it with member; it is now
global, not buffer-local in the tags table, and records all matches in
any tags table during a single find-tag loop. When we run out of
matches, clear it and null out the markers.
Richard M. Stallman [Fri, 7 Jun 1996 14:28:16 +0000 (14:28 +0000)]
(smtpmail-send-it): Fix error messages.
(smtpmail-deduce-address-list): Bind recipient-address-list with let.
(smtpmail-via-smtp): Bind greeting, n, process-buffer.
Richard M. Stallman [Thu, 6 Jun 1996 17:07:00 +0000 (17:07 +0000)]
(init_winsock): Dynamically link to SetHandleInformation.
(sys_socket): If possible, use SetHandleInformation to make socket
handle non-inheritable to avoid a bug in NT.
Richard M. Stallman [Tue, 4 Jun 1996 16:17:22 +0000 (16:17 +0000)]
(buffer-file-numbers-unique): New variable;
initialize to nil for windows-nt.
(find-buffer-visiting): Skip search for buffer based
on buffer-file-number if these are not unique.
Richard M. Stallman [Mon, 3 Jun 1996 21:18:55 +0000 (21:18 +0000)]
(normalize_filename): New function.
(dostounix_filename, unixtodos_filename): Use it.
(readdir): Convert upper case file names to lower case
if win32-downcase-file-names is non-nil.
Richard M. Stallman [Mon, 3 Jun 1996 17:21:03 +0000 (17:21 +0000)]
(mouse-show-mark): Use temporary highlighting if possible instead of a pause.
(mouse-drag-region): Use mouse-show-mark to do temp highlighting.
(mouse-save-then-kill): Call mouse-show-mark for a new selection
if we have a window system.
Richard M. Stallman [Mon, 3 Jun 1996 15:44:32 +0000 (15:44 +0000)]
(CHOOSE_NEWEST_EXE): New parameter macro.
Not defined by default.
(WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
(WinMain): Convert backslashes to slashes in env var values.
Richard M. Stallman [Sat, 1 Jun 1996 12:19:27 +0000 (12:19 +0000)]
(reset_modifiers): Only clear a modifier if the modifier key has been
detected to have been released since Emacs lost focus.
(win32_wnd_proc): Have Windows translate VK_NUMLOCK and VK_SCROLL key
downs; don't reset the modifier state when Emacs loses focus.
Richard M. Stallman [Sat, 1 Jun 1996 02:23:06 +0000 (02:23 +0000)]
(Fexpand_file_name) [WINDOWSNT]: Don't strip trailing /
when newdir is just "//".
(Ffile_name_directory) [WINDOWSNT]: Return Qnil if filename is a
partial UNC name such as "//foo".
Roland McGrath [Sun, 26 May 1996 23:12:01 +0000 (23:12 +0000)]
(mail-abbrev-expand-hook): Disable abbrev mode temporarily while working,
to avoid recursion in indent-relative expanding part of the abbrev
expansion as an abbrev itself.
Karl Heuer [Sat, 25 May 1996 17:49:03 +0000 (17:49 +0000)]
(Vwin32_mouse_move_interval): New lisp variable.
(syms_of_win32fns): Add Vwin32_mouse_move_interval to syms.
(saved_mouse_msg): Renamed to saved_mouse_button_msg.
(timer_id): Renamed to mouse_button_timer.
(saved_mouse_move_msg, mouse_move_timer): New variables.
(win_msg_worker): Delete WM_TIMER code.
(win32_wnd_proc): Handle WM_TIMER events here. Use separate timers
for mouse down and mouse move (including scroll bar drag) events.
Add new handling code for WM_VSCROLL and WM_MOUSEMOVE events.
Only filter WM_MOUSEMOVE events when a button is held down.
Always pass on message to DefWindowProc after calling
TranslateMessage. Reset keyboard modifiers when losing focus.
(win32_wnd_proc): When passing modifier keystrokes back
to Windows, invoke TranslateMessage on them.
Richard M. Stallman [Tue, 21 May 1996 18:09:43 +0000 (18:09 +0000)]
Include buffer.h.
(set_frame_menubar): Make sure input is unblocked
when we call create_menu_items.
Switch temporarily to proper buffer, bind inhibit-quit to t,
and run the same hooks as in smenu.c.
(syms_of_win32menu): Initialize and staticpro Qdebug_on_next_call.
Richard M. Stallman [Tue, 21 May 1996 18:04:41 +0000 (18:04 +0000)]
(ncurses): Check this after checking fns like strerror.
(HAVE_NCURSES): Look for library named ncurses.
(setlocale): Check for it.
(*-*-sysv4.2*): If no /usr/ccs/lib/cpp, use /lib/cpp.
Karl Heuer [Tue, 21 May 1996 15:42:13 +0000 (15:42 +0000)]
(c-macro-expansion): Delete ??! trigraph in uniquestring.
Use same syntax table in outbuf as in inbuf.
Insert newline instead of space at end, for
proprocessors which don't like truncated lines.