Richard M. Stallman [Fri, 21 Jun 2002 12:31:33 +0000 (12:31 +0000)]
Allow arbitrary keys for scrolling, add a third
scrolling speed, fix an unwind-protect.
(mouse-wheel-scroll-amount): Now a three-element list.
(mouse-wheel-scroll-down-slow, mouse-wheel-scroll-up-slow)
(mouse-wheel-scroll-down-normal, mouse-wheel-scroll-up-normal)
(mouse-wheel-scroll-down-fast, mouse-wheel-scroll-up-fast): New functions.
Richard M. Stallman [Fri, 21 Jun 2002 09:53:01 +0000 (09:53 +0000)]
(edmacro-fix-menu-commands):
Discard `help-echo' events. Handle (menu-bar) events.
Simplify by converting key sequence to a list and then back to vector.
Andreas Schwab [Fri, 21 Jun 2002 08:35:50 +0000 (08:35 +0000)]
(find-file-read-args): Add new argument `mustmatch' and
pass it down to read-file-name.
(find-file, find-file-other-window, find-file-other-frame)
(find-file-read-only, find-file-read-only-other-window)
(find-file-read-only-other-frame): Use it and fix prompts.
Stefan Monnier [Thu, 20 Jun 2002 17:40:38 +0000 (17:40 +0000)]
* progmodes/ada-mode.el: Update copyright notice.
Synchronize with GNAT release 3.15a1.
Do not attempt to load ada-support, which is only for compatibility
with older Emacs versions, and is not needed for Emacs 21.
(ada-continuation-indent): New variable.
New contextual menu: "List local reference", faster than "List References".
(ada-mode): New alignment rules provided by S. Leake.
(ada-mode): Add support for which-function-mode.
Fix various calls to count-lines, that didn't work correctly when the
buffer was narrowed.
(ada-get-current-indent): Fix indentation of named parameter lists and
nested boolean expressions.
(ada-indent-on-previous-lines): Fix indentation of labels.
(ada-search-prev-end-stmt): Fix searching of the previous end-statement,
specially with regards to nested subprograms.
(comment-region advice): Initially disabled, for better compatibility with
other modes.
(ada-fill-comment-paragraph): Fixed (no longer worked with Emacs 21).
* progmodes/ada-xref.el: Update copyright notice.
(ada-xref-create-ali): The default is now not to create automatically the
ALI files by compiling the unit, since this isn't always reliable and
requires an up-to-date project file.
(ada-prj-default-comp-cmd): No longer use gcc directly to compile
a file, but use gnatmake instead, since this gives access to the GNAT
project files.
(ada-xref-search-with-egrep): New variable, suggested by P. Waroquiers.
(ada-load-project-hook): New variable, for support of GNAT project files.
(ada-update-project-menu): Fix the detection of the project file name.
(ada-add-keymap): Change key binding for ada-find-file, that conflicted
with another binding in ada-mode.el.
(ada-add-menu): New menu "List Local References", to list the reference
to the entity only in the current file, instead of looking in the whole
project. Much faster.
(ada-find-references): New parameters arg and local-only.
(ada-find-any-references): New parameters local-only and append.
(ada-goto-declaration): Fix handling of predefined entities in xref.
(ada-get-all-references): Updated to the new xref format in GNAT 3.15,
still compatible with GNAT 3.14 of course. Fix various calls to
count-lines, that didn't work correctly when the buffer was narrowed.
Stefan Monnier [Thu, 20 Jun 2002 17:31:56 +0000 (17:31 +0000)]
Update copyright notice.
(ada-xref-create-ali): The default is now not to create automatically the
ALI files by compiling the unit, since this isn't always reliable and
requires an up-to-date project file.
(ada-prj-default-comp-cmd): No longer use gcc directly to compile
a file, but use gnatmake instead, since this gives access to the GNAT
project files.
(ada-xref-search-with-egrep): New variable, suggested by P. Waroquiers.
(ada-load-project-hook): New variable, for support of GNAT project files.
(ada-update-project-menu): Fix the detection of the project file name.
(ada-add-keymap): Change key binding for ada-find-file, that conflicted
with another binding in ada-mode.el.
(ada-add-menu): New menu "List Local References", to list the reference
to the entity only in the current file, instead of looking in the whole
project. Much faster.
(ada-find-references): New parameters arg and local-only.
(ada-find-any-references): New parameters local-only and append.
(ada-goto-declaration): Fix handling of predefined entities in xref.
(ada-get-all-references): Updated to the new xref format in GNAT 3.15,
still compatible with GNAT 3.14 of course. Fix various calls to
count-lines, that didn't work correctly when the buffer was narrowed.
Stefan Monnier [Thu, 20 Jun 2002 17:17:32 +0000 (17:17 +0000)]
Update copyright. Improve `revision' info.
(ada-prj-load-directory): Make sure we do not use one of the new Emacs 21
dialogs to select the file, since we want a directory name only.
(ada-customize): Add support for the new GNAT project files.
Francesco Potortì [Thu, 20 Jun 2002 11:48:31 +0000 (11:48 +0000)]
Use, together with etags.el, an optimised form of tags,
which are almost always unnamed. etags.el looks for an explicit
tag name, then for an implicit one. See make_tag for details.
The change is both forwards and backwards compatible.
(make_tag): New function (was the disabled function new_pfnote).
(make_C_tag): Use it.
Stefan Monnier [Tue, 18 Jun 2002 21:50:30 +0000 (21:50 +0000)]
(cvs-vc-command-advice): Handle the case where args
are passed to `cvs' before the command name.
(cvs-fileinfo-kill): Mark old FIs as up-to-date rather than dead.
Andrew Choi [Tue, 18 Jun 2002 05:33:25 +0000 (05:33 +0000)]
2002-06-17 Andrew Choi <akochoi@shaw.ca>
* macterm.c (mac_scroll_area): Set foreground and backcolor to
black and white before scrolling. Restore frame background and
foreground color after scrolling.
(do_window_update): Call XClearWindow before calling expose_frame.
(make_mac_frame): Don't set FRAME_BACKGROUND_PIXEL and
FRAME_FOREGROUND_PIXEL of frame.
Stefan Monnier [Mon, 17 Jun 2002 18:45:54 +0000 (18:45 +0000)]
(read_key_sequence): Be more careful with first_unbound.
Lookup keys in function-key-map immediately so that key-translation-map
can be applied earlier.
Remove function_key_possible and key_translation_possible, replaced
by checking `keytran_start < t'.
Richard M. Stallman [Mon, 17 Jun 2002 16:26:04 +0000 (16:26 +0000)]
Rename Trailing Whitespace to Useless Whitespace
and move it.
New node Fringes.
Document display-time-mail-file and display-time-mail-directory.
Rearange and rewrite the Cursor Display node
and updated info on cursor appearance in nonselected windows.
Richard M. Stallman [Mon, 17 Jun 2002 16:12:47 +0000 (16:12 +0000)]
(describe-char): Moved from mule-diag.el, renamed
from describe-char-after. Now calls describe-text-properties.
(describe-property-list): Renamed from describe-text-properties.
(describe-text-properties): Renamed from describe-text-at.
New arg OUTPUT-BUFFER.
(describe-text-properties-1):
New subroutine, broken out from describe-text-properties.
Output a newline before each section of the output.
Kai Großjohann [Mon, 17 Jun 2002 11:50:12 +0000 (11:50 +0000)]
Remove unnecessary prev/next/up pointers in @node
commands.
(Top): Don't include it in DVI output.
(History): Explain $- and $+.
(Built-ins): New node. Document `cd'.
Andrew Choi [Mon, 17 Jun 2002 06:06:03 +0000 (06:06 +0000)]
2002-06-17 Andrew Choi <akochoi@shaw.ca>
* mac.c (do_applescript): Call initialize_applescript if necessary
when first called. Dispose of result_desc only when there is no
error.
(Fdo_applescript): Use %d format specifier instead of %ld.
Andrew Choi [Sun, 16 Jun 2002 23:08:57 +0000 (23:08 +0000)]
In src/:
2002-06-16 Andrew Choi <akochoi@shaw.ca>
* fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of
Vdefault_fontset to Monaco with mac-roman coding.
* mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine
init_process before and after inclusion of Carbon/Carbon.h, resp.
* macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and
cursor_gc.
(add_font_name_table_entry): New function.
(init_font_name_table): Use add_font_name_table_entry; add italic,
bold, and bold-italic entries for truetype fonts.
* xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces
for Mac too.
(try_font_list) [MAC_OS]: If no font matches given registry, try
fonts with any registry matching face_family.
(realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font
here.
* s/darwin.h: If autoconf detects the Ncurses library, define
LIBS_TERMCAP to -lncurses to use it.
In lisp/:
2002-06-16 Andrew Choi <akochoi@shaw.ca>
* term/mac-win.el (scalable-fonts-allowed): Set to t.