bpt/emacs.git
21 years agoBreak the line after the return type in function definition.
Richard M. Stallman [Fri, 4 Apr 2003 21:15:53 +0000 (21:15 +0000)]
Break the line after the return type in function definition.

21 years ago(refill-fill-paragraph-at): Don't skip prefix since markers work right.
Stefan Monnier [Fri, 4 Apr 2003 21:02:36 +0000 (21:02 +0000)]
(refill-fill-paragraph-at): Don't skip prefix since markers work right.

21 years ago(refill-fill-paragraph-at): Undo last fix.
Stefan Monnier [Fri, 4 Apr 2003 21:01:44 +0000 (21:01 +0000)]
(refill-fill-paragraph-at): Undo last fix.

21 years ago(fill-paragraph): Don't skip prefix now that markers work right.
Stefan Monnier [Fri, 4 Apr 2003 20:57:54 +0000 (20:57 +0000)]
(fill-paragraph): Don't skip prefix now that markers work right.

21 years ago(fill-delete-newlines): Remove trailing whitespace.
Stefan Monnier [Fri, 4 Apr 2003 20:56:10 +0000 (20:56 +0000)]
(fill-delete-newlines): Remove trailing whitespace.

21 years ago(find-file-of-tag-noselect, find-file-of-tag): New helper functions.
Juanma Barranquero [Fri, 4 Apr 2003 20:02:58 +0000 (20:02 +0000)]
(find-file-of-tag-noselect, find-file-of-tag): New helper functions.
(snarf-tag-function): Doc string is changed.  Explained about new optional
argument, `use-explicit'.
(etags-snarf-tag): Added one optional argument `use-explicit'.
(file-of-tag-function): Doc string is changed.  Explained about new optional
argument, `relative'.
(file-of-tag): Doc string is changed.  Explained about new optional argument,
`relative'.  Pass `relative' to `file-of-tag-function'.
(etags-file-of-tag): Added new argument `relative`.
(list-tags): Set `buffer-read-only' to t after making the major mode
apropos-mode.
(etags-list-tags): Used `make-text-button' instead of `add-text-properties'.
Used `snarf-tag-function', `goto-tag-location-function' and `find-file-of-tag'
instead of `find-tag-other-window' (it's too simple).
(find-tag-in-order): Used `find-file-of-tag-noselect' instead of `find-file'.
(etags-tags-apropos): Used `find-file-of-tag-noselect' instead of `find-file'.
Do not use `etags-goto-tag-location` directly; use `goto-tag-location-function'
instead.  Print relative file paths instead of complete ones in *Tags List*
buffer, so lines in the buffer become shorter.
(etags-tags-apropos-additional): Use `make-text-button' instead of
`add-text-properties'.

21 years ago*** empty log message ***
Stefan Monnier [Fri, 4 Apr 2003 17:24:46 +0000 (17:24 +0000)]
*** empty log message ***

21 years ago(tramp-send-string): Handle empty string.
Andreas Schwab [Fri, 4 Apr 2003 11:33:54 +0000 (11:33 +0000)]
(tramp-send-string): Handle empty string.

21 years ago(Fformat): Use a copy of FORMAT string so that we can
Kenichi Handa [Fri, 4 Apr 2003 10:47:26 +0000 (10:47 +0000)]
(Fformat): Use a copy of FORMAT string so that we can
destructively change "%S" to "%s".

21 years ago(easy-menu-define): Don't make a defvar for nil.
Richard M. Stallman [Thu, 3 Apr 2003 23:15:47 +0000 (23:15 +0000)]
(easy-menu-define): Don't make a defvar for nil.
(easy-menu-convert-item-1): Doc fix.
(easy-menu-change): Call easy-menu-create-menu.

21 years ago(read-quoted-char): Remember the input char
Richard M. Stallman [Thu, 3 Apr 2003 23:13:38 +0000 (23:13 +0000)]
(read-quoted-char): Remember the input char
before translation thru function-key-map, and use that for unreading.

21 years ago(shadow-parse-fullname): Renamed from shadow-parse-fullpath.
Richard M. Stallman [Thu, 3 Apr 2003 23:11:06 +0000 (23:11 +0000)]
(shadow-parse-fullname): Renamed from shadow-parse-fullpath.
(shadow-parse-name): Renamed from shadow-parse-path.
(shadow-make-fullname): Renamed from shadow-make-fullpath.
(shadow-replace-name-component): Was shadow-replace-path-component.
Callers of the above functions changed.

(shadow-expand-cluster-in-file-name): Doc fix.
(shadow-same-site, shadow-file-match): Doc fix.
(shadow-define-literal-group): Doc fix.

21 years ago(kmacro-end-and-call-macro): Doc fix.
Richard M. Stallman [Thu, 3 Apr 2003 23:01:45 +0000 (23:01 +0000)]
(kmacro-end-and-call-macro): Doc fix.

21 years ago(hexl-find-file): Ignore user's value of default-major-mode.
Richard M. Stallman [Thu, 3 Apr 2003 23:01:12 +0000 (23:01 +0000)]
(hexl-find-file): Ignore user's value of default-major-mode.

21 years ago(hack-local-variables-prop-line): New arg MODE-ONLY.
Richard M. Stallman [Thu, 3 Apr 2003 23:00:22 +0000 (23:00 +0000)]
(hack-local-variables-prop-line): New arg MODE-ONLY.
(hack-local-variables): When MODE-ONLY is set, pass it along to
hack-local-variables-prop-line.

21 years ago(delete-active-region): Don't explicitly deactivate mark.
Richard M. Stallman [Thu, 3 Apr 2003 22:58:49 +0000 (22:58 +0000)]
(delete-active-region): Don't explicitly deactivate mark.

21 years ago*** empty log message ***
Juanma Barranquero [Thu, 3 Apr 2003 16:09:02 +0000 (16:09 +0000)]
*** empty log message ***

21 years agoRequire button.el.
Juanma Barranquero [Thu, 3 Apr 2003 15:57:45 +0000 (15:57 +0000)]
Require button.el.
(etags-tags-apropos): Use make-text-button instead of add-text-properties.  Use
snarf-tag-function and etags-goto-tag-location instead of find-tag-other-window
(it's too simple).

21 years agoFix previous change.
Juanma Barranquero [Thu, 3 Apr 2003 15:49:40 +0000 (15:49 +0000)]
Fix previous change.

21 years ago(number-sequence): Shorten the code.
Kenichi Handa [Thu, 3 Apr 2003 02:49:16 +0000 (02:49 +0000)]
(number-sequence): Shorten the code.

21 years ago*** empty log message ***
Kenichi Handa [Thu, 3 Apr 2003 02:43:32 +0000 (02:43 +0000)]
*** empty log message ***

21 years ago(number-sequence): New function.
Kenichi Handa [Thu, 3 Apr 2003 02:43:11 +0000 (02:43 +0000)]
(number-sequence): New function.

21 years agoFix the malayalam line.
Kenichi Handa [Thu, 3 Apr 2003 01:59:08 +0000 (01:59 +0000)]
Fix the malayalam line.

21 years ago(choose_face_font): Make sure *NEEDS_OVERSTRIKE is always set.
Miles Bader [Thu, 3 Apr 2003 01:40:58 +0000 (01:40 +0000)]
(choose_face_font): Make sure *NEEDS_OVERSTRIKE is always set.

21 years ago(fill-newline): Don't leave markers before the prefix.
Stefan Monnier [Thu, 3 Apr 2003 00:53:49 +0000 (00:53 +0000)]
(fill-newline): Don't leave markers before the prefix.

21 years ago(refill-fill-paragraph-at): Don't preserve the trailing space since
Stefan Monnier [Wed, 2 Apr 2003 23:57:17 +0000 (23:57 +0000)]
(refill-fill-paragraph-at): Don't preserve the trailing space since
fill.el doesn't remove it anymore.
(refill-mode): Reset fill-paragraph-function even if it was nil.

21 years ago(fill-delete-newlines): Don't add a trailing space.
Stefan Monnier [Wed, 2 Apr 2003 23:40:36 +0000 (23:40 +0000)]
(fill-delete-newlines): Don't add a trailing space.

21 years ago(fill-region-as-paragraph): Remove obsolete `save-restriction'.
Stefan Monnier [Wed, 2 Apr 2003 23:04:09 +0000 (23:04 +0000)]
(fill-region-as-paragraph): Remove obsolete `save-restriction'.
Don't remove space at end of paragraph: it makes refill.el unusable.
(fill-paragraph, fill-comment-paragraph): Don't add newline at EOP.

21 years ago*** empty log message ***
Juanma Barranquero [Wed, 2 Apr 2003 21:38:43 +0000 (21:38 +0000)]
*** empty log message ***

21 years ago(sort-reorder-buffer): Fix saving of markers at the end of the sorted region.
Juanma Barranquero [Wed, 2 Apr 2003 21:37:53 +0000 (21:37 +0000)]
(sort-reorder-buffer): Fix saving of markers at the end of the sorted region.

21 years ago(woman-xref): Removed.
Juanma Barranquero [Wed, 2 Apr 2003 21:24:56 +0000 (21:24 +0000)]
(woman-xref): Removed.
(woman-mode): Use `Man-highlight-references' instead of `WoMan-highlight-references'.
(WoMan-highlight-references): Removed.

21 years ago(toplevel): Require button.
Juanma Barranquero [Wed, 2 Apr 2003 21:22:38 +0000 (21:22 +0000)]
(toplevel): Require button.
(Man-header-file-path): New option.
(Man-synopsis-regexp, Man-files-regexp, Man-include-regexp)
(Man-file-name-regexp, Man-normal-file-prefix-regexp, Man-header-regexp)
(Man-normal-file-regexp): New variables.
(Man-mode-map): Inherited from `button-buffer-map'.  Don't define "\r" and
mouse-2 directly.  These key are defined in `button-buffer-map'.
(Man-xref-man-page, Man-xref-header-file, Man-xref-normal-file): New buttons.
`Man-xref-man-page' comes from woman.el.
(man-follow-mouse): Removed.
(Man-fontify-manpage): Use `Man-highlight-references' instead of calling
`add-text-properties' directly.
(Man-highlight-references, Man-highlight-references0): New functions.
(Man-view-header-file): New function.

21 years ago(asm-calculate-indentation, asm-indent-line): New functions.
Stefan Monnier [Wed, 2 Apr 2003 16:48:11 +0000 (16:48 +0000)]
(asm-calculate-indentation, asm-indent-line): New functions.
(asm-mode): Use them in indent-line-function.
Set tab-always-indent to nil to stay closer to previous tab behavior.
Set comment-add.  Remove space at end of comment-add.
(asm-newline): Obsolete.  Use newline-and-indent instead.
(asm-mode-map): Remove TAB binding.
(asm-code-level-empty-comment-pattern)
(asm-flush-left-empty-comment-pattern)
(asm-inline-empty-comment-pattern): Remove.
(asm-comment): Use newcomment functions instead.
(asm-colon): Don't tab if colon is not after a label.
(asm-line-matches, asm-pop-comment-level): Remove.

21 years ago(top-level): Quote second arg to
Kai Großjohann [Wed, 2 Apr 2003 10:41:40 +0000 (10:41 +0000)]
(top-level): Quote second arg to
`eval-after-load'.

21 years ago(scroll-bar-mode): Correctly specify `nil' choice.
Miles Bader [Wed, 2 Apr 2003 04:31:22 +0000 (04:31 +0000)]
(scroll-bar-mode): Correctly specify `nil' choice.

21 years ago(asm-mode-syntax-table): Setup entries that do not depend on asm-comment-char.
Stefan Monnier [Tue, 1 Apr 2003 23:09:13 +0000 (23:09 +0000)]
(asm-mode-syntax-table): Setup entries that do not depend on asm-comment-char.
(asm-mode-map): Declare and init at the same time.
(asm-code-level-empty-comment-pattern)
(asm-flush-left-empty-comment-pattern)
(asm-inline-empty-comment-pattern): Use \s< so they do not depend
on asm-comment-char.  Turn them into constants.
(asm-mode): Simplify.
(asm-line-matches): Remove unused arg.

21 years ago*** empty log message ***
Dave Love [Tue, 1 Apr 2003 18:08:13 +0000 (18:08 +0000)]
*** empty log message ***

21 years agoDoc fixes.
Dave Love [Tue, 1 Apr 2003 18:03:13 +0000 (18:03 +0000)]
Doc fixes.
(display-time-mail-face): Change :type and default to nil.
(display-time-mail-icon): Use pbm, not xbm.
(display-time-mail-string): New.
(display-time-string-forms): Use display-time-mail-string.  Add
checks in display property.

21 years ago*** empty log message ***
Dave Love [Tue, 1 Apr 2003 10:23:35 +0000 (10:23 +0000)]
*** empty log message ***

21 years agoUse transparent/opaque `colours'.
Dave Love [Tue, 1 Apr 2003 10:22:39 +0000 (10:22 +0000)]
Use transparent/opaque `colours'.

21 years ago(xpm_lookup_color): Grok "opaque".
Dave Love [Tue, 1 Apr 2003 10:04:38 +0000 (10:04 +0000)]
(xpm_lookup_color): Grok "opaque".

21 years ago*** empty log message ***
Kim F. Storm [Tue, 1 Apr 2003 09:57:22 +0000 (09:57 +0000)]
*** empty log message ***

21 years agoFix build on Mac OS X with Carbon.
Andrew Choi [Tue, 1 Apr 2003 01:09:13 +0000 (01:09 +0000)]
Fix build on Mac OS X with Carbon.

21 years ago(indian-font-char-index-table): Fix the
Kenichi Handa [Tue, 1 Apr 2003 01:06:19 +0000 (01:06 +0000)]
(indian-font-char-index-table): Fix the
order of CDAC fonts.

21 years ago(frame.c.x): Add dependency on BLOCKINPUT_H_GROUP.
Kim F. Storm [Mon, 31 Mar 2003 22:45:50 +0000 (22:45 +0000)]
(frame.c.x): Add dependency on BLOCKINPUT_H_GROUP.
(xdisp.c.x): Fix to use BLOCKINPUT_H_GROUP.

21 years ago*** empty log message ***
Kim F. Storm [Mon, 31 Mar 2003 22:45:30 +0000 (22:45 +0000)]
*** empty log message ***

21 years ago(frame.o): Add dependency on blockinput.h and files
Kim F. Storm [Mon, 31 Mar 2003 22:41:23 +0000 (22:41 +0000)]
(frame.o): Add dependency on blockinput.h and files
included from it (atimer.h and systime.h).

21 years ago(reveal-post-command): Remove buggy debugging code.
Stefan Monnier [Mon, 31 Mar 2003 22:26:26 +0000 (22:26 +0000)]
(reveal-post-command): Remove buggy debugging code.

21 years ago(pop-global-mark-quick-repeat): Remove defcustom.
Kim F. Storm [Mon, 31 Mar 2003 21:49:09 +0000 (21:49 +0000)]
(pop-global-mark-quick-repeat): Remove defcustom.
(set-mark-command): Unconditionally repeat pop-global-mark without
C-x prefix.  Fix doc.

21 years ago(cua-set-mark): Unconditionally repeat
Kim F. Storm [Mon, 31 Mar 2003 21:48:39 +0000 (21:48 +0000)]
(cua-set-mark): Unconditionally repeat
pop-global-mark without C-x prefix.  Fix doc.

21 years ago*** empty log message ***
Nick Roberts [Mon, 31 Mar 2003 21:43:21 +0000 (21:43 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Juanma Barranquero [Mon, 31 Mar 2003 21:32:25 +0000 (21:32 +0000)]
*** empty log message ***

21 years ago($(BLD)/frame.$(O)): Add dependency on blockinput.h and files included from it.
Juanma Barranquero [Mon, 31 Mar 2003 21:31:05 +0000 (21:31 +0000)]
($(BLD)/frame.$(O)): Add dependency on blockinput.h and files included from it.

21 years ago(gdb-inferior-io-mode): Remove Unix pathname for cat
Nick Roberts [Mon, 31 Mar 2003 21:23:45 +0000 (21:23 +0000)]
(gdb-inferior-io-mode): Remove Unix pathname for cat
so that it can run on NT also.

21 years ago(x_set_scroll_bar_default_width): Define return value as void.
Juanma Barranquero [Mon, 31 Mar 2003 21:16:55 +0000 (21:16 +0000)]
(x_set_scroll_bar_default_width): Define return value as void.

21 years ago(x_wm_set_icon_position): Define return value as void.
Juanma Barranquero [Mon, 31 Mar 2003 21:15:51 +0000 (21:15 +0000)]
(x_wm_set_icon_position): Define return value as void.

21 years ago(display_x_get_resource): Use Display_Info argument, not x_display_info.
Juanma Barranquero [Mon, 31 Mar 2003 21:00:47 +0000 (21:00 +0000)]
(display_x_get_resource): Use Display_Info argument, not x_display_info.

21 years ago(reveal-post-command): Better error handling and debugging.
Stefan Monnier [Mon, 31 Mar 2003 20:56:14 +0000 (20:56 +0000)]
(reveal-post-command): Better error handling and debugging.

21 years agoFix compilation for --with-x=no.
Kim F. Storm [Mon, 31 Mar 2003 20:41:41 +0000 (20:41 +0000)]
Fix compilation for --with-x=no.

21 years ago(EMACS_CLASS): Remove. Use generic define.
Kim F. Storm [Mon, 31 Mar 2003 20:36:37 +0000 (20:36 +0000)]
(EMACS_CLASS): Remove.  Use generic define.
(struct w32_display_info): Fix type of xrdb member.
(enum FULLSCREEN_*): Remove.
Remove prototypes for generic functions (in frame.h).

21 years agoRemove unnecessary extern declarations.
Kim F. Storm [Mon, 31 Mar 2003 20:36:31 +0000 (20:36 +0000)]
Remove unnecessary extern declarations.
(x_fullscreen_adjust): Remove. Use generic instead.
(x_redisplay_interface): Add x_frame_parm_handlers member.

21 years agoThe following changes consolidates the common code related to
Kim F. Storm [Mon, 31 Mar 2003 20:36:21 +0000 (20:36 +0000)]
The following changes consolidates the common code related to
frame-parameter handling from the xfns.c, w32fns.c, and macfns.c
files into frame.c.

* xfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame
parameters now defined in frame.h and frame.c.
(Vx_resource_name): Remove. Use generic var.
(enum x_frame_parms): Remove (bogus, unused enum).
(check_x_display_info): Make non-static (for frame.c).
(struct x_frame_parm_table, x_frame_parms): Remove.
(init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params)
(x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font)
(x_set_border_width, x_set_internal_border_width, x_set_visibility)
(x_change_window_heights, x_set_autoraise, x_set_autolower)
(x_set_vertical_scroll_bars, x_set_scroll_bar_width)
(validate_x_resource_name, Fx_get_resource, x_get_resource_string)
(x_default_parameter, Fx_parse_geometry, x_figure_window_size):
Remove.  Use generic functions instead.
(enum resource_types): Remove.
(x_set_scroll_bar_default_width): New global function (for frame.c).
(Fx_create_frame): Depend on x_figure_window_size to add space for
toolbar and setup size_hint_flags.
(x_frame_parm_handlers): New table for redisplay_interface.
(syms_of_xfns): Don't intern/staticpro removed vars.

21 years agoRemove extern decl for frame parameter vars.
Kim F. Storm [Mon, 31 Mar 2003 20:36:05 +0000 (20:36 +0000)]
Remove extern decl for frame parameter vars.

21 years ago(change_window_heights): Add prototype.
Kim F. Storm [Mon, 31 Mar 2003 20:35:57 +0000 (20:35 +0000)]
(change_window_heights): Add prototype.

21 years agoRemove extern decl for frame parameter vars.
Kim F. Storm [Mon, 31 Mar 2003 20:35:51 +0000 (20:35 +0000)]
Remove extern decl for frame parameter vars.
(change_window_heights): New generic function;
replaces x_change_window_heights.  All users changed.

21 years ago(EMACS_CLASS): Remove. Use generic define.
Kim F. Storm [Mon, 31 Mar 2003 20:35:43 +0000 (20:35 +0000)]
(EMACS_CLASS): Remove.  Use generic define.
(struct w32_display_info): Fix type of xrdb member.
(enum FULLSCREEN_*): Remove.
(x_fullscreen_adjust): Remove prototype.

21 years agoRemove unnecessary extern declarations.
Kim F. Storm [Mon, 31 Mar 2003 20:35:36 +0000 (20:35 +0000)]
Remove unnecessary extern declarations.
(x_fullscreen_adjust): Remove. Use generic instead.
(x_redisplay_interface): Add w32_frame_parm_handlers member.

21 years ago(x_get_string_resource): Use XrmDatabase.
Kim F. Storm [Mon, 31 Mar 2003 20:35:24 +0000 (20:35 +0000)]
(x_get_string_resource): Use XrmDatabase.

21 years ago(XrmDatabase): New (dummy) typedef.
Kim F. Storm [Mon, 31 Mar 2003 20:35:17 +0000 (20:35 +0000)]
(XrmDatabase): New (dummy) typedef.

21 years ago* w32fns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame
Kim F. Storm [Mon, 31 Mar 2003 20:35:09 +0000 (20:35 +0000)]
* w32fns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame
parameters now defined in frame.h and frame.c.
(Vx_resource_name): Remove. Use generic var.
(enum x_frame_parms): Remove (bogus, unused enum).
(check_x_display_info): Make non-static (for frame.c).
(struct x_frame_parm_table, x_frame_parms): Remove.
(init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params)
(x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font)
(x_set_border_width, x_set_internal_border_width, x_set_visibility)
(x_change_window_heights, x_set_autoraise, x_set_autolower)
(x_set_vertical_scroll_bars, x_set_scroll_bar_width)
(validate_x_resource_name, Fx_get_resource, x_get_resource_string)
(x_default_parameter, Fx_parse_geometry, x_figure_window_size):
Remove.  Use generic functions instead.
(enum resource_types): Remove.
(x_set_scroll_bar_default_width): New global function (for frame.c).
(Fx_create_frame): Depend on x_figure_window_size to add space for
toolbar and setup size_hint_flags.
(w32_frame_parm_handlers): New table for redisplay_interface.
(syms_of_w32fns): Don't intern/staticpro removed vars.

21 years ago(EMACS_CLASS): Remove.
Kim F. Storm [Mon, 31 Mar 2003 20:34:56 +0000 (20:34 +0000)]
(EMACS_CLASS): Remove.
(struct mac_display_info): Add xrdb member.
(struct mac_output): Add want_fullscreen member.

21 years agoRemove unnecessary extern declarations.
Kim F. Storm [Mon, 31 Mar 2003 20:34:48 +0000 (20:34 +0000)]
Remove unnecessary extern declarations.
(x_redisplay_interface): Add mac_frame_parm_handlers member.

21 years ago(Qauto_raise, Qauto_lower, ...): Remove vars for frame
Kim F. Storm [Mon, 31 Mar 2003 20:34:30 +0000 (20:34 +0000)]
(Qauto_raise, Qauto_lower, ...): Remove vars for frame
parameters now defined in frame.h and frame.c.
(Vx_resource_name): Remove. Use generic var.
(check_x_display_info): Make non-static (for frame.c).
(struct x_frame_parm_table, x_frame_parms): Remove.
(init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params)
(x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font)
(x_set_border_width, x_set_internal_border_width, x_set_visibility)
(x_change_window_heights, x_set_autoraise, x_set_autolower)
(x_set_vertical_scroll_bars, x_set_scroll_bar_width)
(validate_x_resource_name, Fx_get_resource, x_get_resource_string)
(x_default_parameter, Fx_parse_geometry, x_figure_window_size):
Remove.  Use generic functions instead.
(enum resource_types): Remove.
(x_set_scroll_bar_default_width): New global function (for frame.c).
(mac_frame_parm_handlers): New table for redisplay_interface.
(syms_of_macfns): Don't intern/staticpro removed vars.

21 years ago(Qauto_raise, Qauto_lower, ...): Declare extern all frame
Kim F. Storm [Mon, 31 Mar 2003 20:34:17 +0000 (20:34 +0000)]
(Qauto_raise, Qauto_lower, ...): Declare extern all frame
parameter related vars defined in frame.c.
(EMACS_CLASS): Define here.
(enum FULLSCREEN_*): Define here.
(x_set_scroll_bar_default_width, x_wm_set_icon_position)
(x_set_offset, x_new_font, x_new_fontset): Add prototypes.
(x_fullscreen_adjust, x_set_frame_parameters, x_report_frame_params)
(x_set_fullscreen, x_set_line_spacing, x_set_screen_gamma, x_set_font)
(x_set_fringe_width, x_set_border_width, x_set_internal_border_width)
(x_set_visibility, x_set_autoraise, x_set_autolower)
(x_set_unsplittable, x_set_vertical_scroll_bars)
(x_set_scroll_bar_width, x_icon_type, validate_x_resource_name)
(x_figure_window_size): Add prototypes.

21 years agoInclude blockinput.h.
Kim F. Storm [Mon, 31 Mar 2003 20:33:58 +0000 (20:33 +0000)]
Include blockinput.h.
(Vx_resource_name, Vx_resource_class, Qx_frame_parameter)
(Qx_resource_name, Qface_set_after_frame_default): Define vars here.
(Qauto_raise, Qauto_lower, ...): Define all frame parameter
related vars here.
(struct frame_parm_table, frame_parms): New table for describing
frame parameters and their associated Q-variable.
The order of the parameters corresponds to the sequence of the
frame_parm_handlers table in redisplay_interface.
(x_fullscreen_move, x_set_frame_parameters)
(x_report_frame_params, x_set_fullscreen, x_set_line_spacing)
(x_set_screen_gamma, x_set_font, x_set_fringe_width)
(x_set_border_width, x_set_internal_border_width, x_set_visibility)
(x_set_autoraise, x_set_autolower, x_set_unsplittable)
(x_set_vertical_scroll_bars, x_set_scroll_bar_width, x_icon_type):
Generic functions for processing of frame parameters.
(validate_x_resource_name, xrdb_get_resource, Fx_get_resource)
(display_x_get_resource, x_get_resource_string): Functions for
generic access to X resources.
(x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg)
(x_default_parameter, Fx_parse_geometry): Functions for generic
access to frame parameters.
(x_figure_window_size): Generic calculation of frame size. Fixed
to add space needed for tool bar.  Also setup size_hint_flags.
(syms_of_frame): Intern and staticpro frame parameter variables.
Defvar_lisp Vx_resource_class and Vx_resource_name here.
Defsubr Sx_get_resource and Sx_parse_geometry.

21 years ago(frame_parm_handler): New typedef.
Kim F. Storm [Mon, 31 Mar 2003 20:33:14 +0000 (20:33 +0000)]
(frame_parm_handler): New typedef.
(struct redisplay_interface): New member frame_parm_handlers.
(enum resource_types): Move declaration here.
(x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg)
(x_default_parameter): Add prototypes.

21 years ago*** empty log message ***
Kim F. Storm [Mon, 31 Mar 2003 20:25:02 +0000 (20:25 +0000)]
*** empty log message ***

21 years ago(mode-line-major-mode-keymap): New variable.
Juanma Barranquero [Mon, 31 Mar 2003 20:24:56 +0000 (20:24 +0000)]
(mode-line-major-mode-keymap): New variable.
(mode-line-minor-mode-help): New function, bound to mode-line-minor-mode-keymap.
(mode-line-modes): Split mode-line-mode definitions to mode-name,
mode-line-process and minor-mode-alist. For mode-name,
mode-line-major-mode-keymap is used.

21 years ago(describe-minor-mode, describe-minor-mode-from-indicator,
Juanma Barranquero [Mon, 31 Mar 2003 20:22:58 +0000 (20:22 +0000)]
(describe-minor-mode, describe-minor-mode-from-indicator,
lookup-minor-mode-from-indicator): New functions.

21 years ago(asm-mode): Support skipping C lang style comments.
Juanma Barranquero [Mon, 31 Mar 2003 20:16:01 +0000 (20:16 +0000)]
(asm-mode): Support skipping C lang style comments.

21 years ago(file-relative-name): Remove superfluous `and'.
Kai Großjohann [Mon, 31 Mar 2003 16:05:50 +0000 (16:05 +0000)]
(file-relative-name): Remove superfluous `and'.
Clarify docstring.  From Lars Hansen.

21 years ago(ccl-decode-mule-utf-16-le): Don't assume the signature bytes.
Kenichi Handa [Mon, 31 Mar 2003 01:48:48 +0000 (01:48 +0000)]
(ccl-decode-mule-utf-16-le): Don't assume the signature bytes.
(ccl-decode-mule-utf-16-be): Likewise.
(ccl-encode-mule-utf-16-le): Don't produce the signature bytes.
(ccl-encode-mule-utf-16-be): Likewise.

21 years ago(sh-mode): Add doc-specs for commands and variables.
Juanma Barranquero [Sun, 30 Mar 2003 20:31:23 +0000 (20:31 +0000)]
(sh-mode): Add doc-specs for commands and variables.

21 years ago(x_insert_glyphs): Fix swapped width and height
Andreas Schwab [Sun, 30 Mar 2003 15:39:26 +0000 (15:39 +0000)]
(x_insert_glyphs): Fix swapped width and height
parameters for shift_glyphs_for_insert.

21 years ago(x_redisplay_interface): Add missing entry for
Andreas Schwab [Sun, 30 Mar 2003 15:35:32 +0000 (15:35 +0000)]
(x_redisplay_interface): Add missing entry for
draw_vertical_window_border.

21 years ago(Top): Undo the previous renaming.
Richard M. Stallman [Sun, 30 Mar 2003 04:17:10 +0000 (04:17 +0000)]
(Top): Undo the previous renaming.
(emacs-other-name, emacs-other-dir, emacs-other-file-name): Deleted.

21 years ago(utf-translate-cjk-mode): Minor mode,
Kai Großjohann [Sat, 29 Mar 2003 17:11:42 +0000 (17:11 +0000)]
(utf-translate-cjk-mode): Minor mode,
replaces variable utf-translate-cjk which must be set via Custom.

21 years ago(Fexpand_file_name): In the no-handler case, after
Kai Großjohann [Sat, 29 Mar 2003 16:34:35 +0000 (16:34 +0000)]
(Fexpand_file_name): In the no-handler case, after
expanding, look again for a handler and invoke it.  This is needed
for filenames like "/foo/../user@host:/bar/../baz" -- the first
expansion produces "/user@host:/bar/../baz" which needs to be
expanded again for the finame result "/user@host:/baz".

21 years ago(file-relative-name): If FILENAME and DIRECTORY are on
Kai Großjohann [Sat, 29 Mar 2003 15:31:07 +0000 (15:31 +0000)]
(file-relative-name): If FILENAME and DIRECTORY are on
different drives (on DOS/Windows) or use different handlers, do
like `expand-file-name' on FILENAME and return an absolute name.
From Lars Hansen <larsh@math.ku.dk>.

21 years ago* tramp.el: Version 2.0.31 released.
Kai Großjohann [Sat, 29 Mar 2003 15:16:57 +0000 (15:16 +0000)]
* tramp.el: Version 2.0.31 released.
(tramp-handle-expand-file-name): Do not allow ".." to
cross file handler boundaries, so that "/user@host:/../foo"
expands to itself, rather than "/foo".  This is intended to work
in conjunction with a change in `file-relative-name' which makes
sure to use absolute file names if FILE and DIRECTORY have
different handlers.
(tramp-handle-insert-directory): Comment out XEmacs
kludge.  Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.

* Makefile.in (../info/tramp): Compile Emacs, instead of XEmacs,
version of manual.

* tramp.texi (Auto-save and Backup): New node.

21 years ago(with-category-table): Use `make-symbol' to avoid variable capture.
John Paul Wallington [Sat, 29 Mar 2003 02:57:19 +0000 (02:57 +0000)]
(with-category-table): Use `make-symbol' to avoid variable capture.
Set table within `unwind-protect'.  Ensure table is restored in
correct buffer.  Add docstring.  Basically, copy `with-syntax-table'.

21 years agoIf system-type is not for Windows, prefer japanese-iso-8bit.
Kenichi Handa [Sat, 29 Mar 2003 02:35:08 +0000 (02:35 +0000)]
If system-type is not for Windows, prefer japanese-iso-8bit.

21 years ago* gtkutil.c (xg_tool_bar_item_expose_callback): Reduce size
Jan Djärv [Fri, 28 Mar 2003 20:33:01 +0000 (20:33 +0000)]
* gtkutil.c (xg_tool_bar_item_expose_callback): Reduce size
of area to be redrawn for better performance.

21 years ago(iconify-or-deiconify-frame): Define for compatibility with packages
Juanma Barranquero [Fri, 28 Mar 2003 17:49:49 +0000 (17:49 +0000)]
(iconify-or-deiconify-frame): Define for compatibility with packages
that use it.

21 years ago(checkdoc-display-status-buffer): Fix docstring.
Juanma Barranquero [Fri, 28 Mar 2003 17:38:50 +0000 (17:38 +0000)]
(checkdoc-display-status-buffer): Fix docstring.
(checkdoc-interactive, checkdoc-message-interactive): Make them perform spell
checking when appropriate.
(checkdoc-interactive-loop): Fix docstring and a few typos.
(checkdoc-interactive-ispell-loop)
(checkdoc-message-interactive-ispell-loop): New functions.
(checkdoc-next-error): Fix docstring.
(checkdoc-this-string-valid-engine): Fix typo.
(checkdoc-ispell-docstring-engine): Do test for checkdoc-autofix-flag = nil.

21 years ago*** empty log message ***
Jonathan Yavner [Fri, 28 Mar 2003 16:56:13 +0000 (16:56 +0000)]
*** empty log message ***

21 years agoNo error when marking functions whose body just returns a constant. Handle
Jonathan Yavner [Fri, 28 Mar 2003 16:45:19 +0000 (16:45 +0000)]
No error when marking functions whose body just returns a constant.  Handle
screwy top-level macros that create functions and store them as properties of
symbols.  Support for CL's function* macro.

21 years ago(xt_action_hook): Unset dragging so the reset does take place.
Stefan Monnier [Fri, 28 Mar 2003 14:45:30 +0000 (14:45 +0000)]
(xt_action_hook): Unset dragging so the reset does take place.

21 years ago(xm_scroll_callback): Undo a tiny bit of the previous change.
Stefan Monnier [Fri, 28 Mar 2003 14:25:14 +0000 (14:25 +0000)]
(xm_scroll_callback): Undo a tiny bit of the previous change.

21 years ago(take_vertical_position_into_account): Remove.
Stefan Monnier [Fri, 28 Mar 2003 14:22:11 +0000 (14:22 +0000)]
(take_vertical_position_into_account): Remove.
(xt_action_hook): Call set_vertical_scroll_bar if needed.
(XM_SB_MIN, XM_SB_RANGE): Remove (min is now set to 0).
(xm_scroll_callback, x_create_toolkit_scroll_bar)
(x_set_toolkit_scroll_bar_thumb): Simplify.
(x_scroll_bar_expose): Only compile if !USE_TOOLKIT_SCROLL_BARS.
(XTread_socket): Remove unused var.
(x_make_frame_invisible): Replace goto with else.