1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-18 08:51:45 -08:00
Commit graph

46951 commits

Author SHA1 Message Date
Kim F. Storm
2cdbe73edf Make (many) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
(make_lispy_event): Use window positions returned from
window_from_coordinates when constructing the lisp event for
MOUSE_CLICK_EVENT and DRAG_N_DROP_EVENT, rather than calculating
(incorrect) values locally.
(make_lispy_movement): Use window positions returned from
window_from_coordinates when constructing the lisp event, rather
than calculating (incorrect) values locally.
2003-05-24 21:59:25 +00:00
Kim F. Storm
b45afe99ed (struct frame): Rename members height to text_lines,
width to text_cols, window_height to total_lines, window_width to
total_cols, new_height to new_text_lines, new_width to
new_text_cols.  All uses changed.
(struct frame): New members which consolidate common members of
x_output, w32_output, and mac_output structures: left_pos,
top_pos, pixel_height, pixel_width, x_pixels_diff, y_pixels_diff,
win_gravity, size_hint_flags, border_width, internal_border_width,
line_height, fringe_cols, left_fringe_width, right_fringe_width,
want_fullscreen.  All uses changed.
(struct frame): New member column_width contaning the canonical
column width, analogue to line_height.  All uses changed.
(struct frame): Rename members scroll_bar_pixel_width to
config_scroll_bar_width, and scroll_bar_cols to
config_scroll_bar_cols.  All uses changed.
(struct frame): New member scroll_bar_actual_width which
consolidates and renames the vertical_scroll_bar_extra member of
x_output, w32_output, and mac_output structures.  All uses changed.
(FRAME_PIXEL_HEIGHT): Renamed from PIXEL_HEIGHT and moved
from x/w32/macterm.h files.  All uses changed.  Also change code
which referred to f->output_data...->pixel_height.
(FRAME_PIXEL_WIDTH): Renamed from PIXEL_WIDTH and moved
from x/w32/macterm.h files.  All uses changed. 	Also change code
which referred to f->output_data...->pixel_width.
(FRAME_LINES): Renamed from FRAME_HEIGHT.  All uses changed.
Also change code which referred to f->height.
(FRAME_COLS): Renamed from FRAME_WIDTH.  All uses changed.
Also change code which referred to f->width.
(FRAME_NEW_HEIGHT, FRAME_NEW_WIDTH): Remove macros; change uses
to update new_text_lines and new_text_cols members directly.
(FRAME_CONFIG_SCROLL_BAR_WIDTH): Renamed from
FRAME_SCROLL_BAR_PIXEL_WIDTH.  All uses changed.
(FRAME_CONFIG_SCROLL_BAR_COLS): Renamed from
FRAME_SCROLL_BAR_COLS.  All uses changed.
(FRAME_LEFT_SCROLL_BAR_COLS, FRAME_RIGHT_SCROLL_BAR_COLS):
Renamed from FRAME_LEFT_SCROLL_BAR_WIDTH and
FRAME_RIGHT_SCROLL_BAR_WIDTH, resp.  All uses changed.
(FRAME_SCROLL_BAR_AREA_WIDTH, FRAME_LEFT_SCROLL_BAR_AREA_WIDTH)
(FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH): New macros.
(FRAME_TOTAL_COLS): Renamed from FRAME_WINDOW_WIDTH.
(SET_FRAME_COLS): Renamed from SET_FRAME_WIDTH.
(FRAME_TOTAL_COLS_ARG): Renamed from FRAME_WINDOW_WIDTH_ARG.
(WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Remove unused macro.
(WINDOW_VERTICAL_SCROLL_BAR_HEIGHT): Remove unused macro.
(FRAME_LINE_HEIGHT): Renamed from CANON_Y_UNIT.  Unconditionally
return line_height member (it now has proper value also for
non-window frames).
(FRAME_COLUMN_WIDTH): Renamed from CANON_X_UNIT.  Unconditionally
return new column_width member (rather than the default font width).
(FRAME_FRINGE_COLS, FRAME_LEFT_FRINGE_WIDTH)
(FRAME_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_... and moved
from x/w32/macterm.h files.  Unconditionally return corresponding
member of frame structure (they now have proper values also for
non-window frames).
(FRAME_TOTAL_FRINGE_WIDTH): Renamed from FRAME_FRINGE_WIDTH.
Calculate return value from left and right widths.
(FRAME_INTERNAL_BORDER_WIDTH): Unconditionally return
internal_border_width member (has proper value for non-window frame).
(FRAME_PIXEL_X_FROM_CANON_X): Renamed from PIXEL_X_FROM_CANON_X.
(FRAME_PIXEL_Y_FROM_CANON_Y): Renamed from PIXEL_Y_FROM_CANON_Y.
(FRAME_CANON_X_FROM_PIXEL_X): Renamed from CANON_X_FROM_PIXEL_X.
(FRAME_CANON_Y_FROM_PIXEL_Y): Renamed from CANON_Y_FROM_PIXEL_Y.
(FRAME_LINE_TO_PIXEL_Y): Renamed from CHAR_TO_PIXEL_ROW,
consolidated from xterm.h, macterm.h, and w32term.h.
(FRAME_COL_TO_PIXEL_X): Renamed from CHAR_TO_PIXEL_COL,
consolidated from xterm.h, macterm.h, and w32term.h.
(FRAME_TEXT_COLS_TO_PIXEL_WIDTH): Renamed from
CHAR_TO_PIXEL_WIDTH consolidated from x/mac/w32term.h.
(FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Renamed from
CHAR_TO_PIXEL_HEIGHT consolidated from x/mac/w32term.h.
(FRAME_PIXEL_Y_TO_LINE): Renamed from PIXEL_TO_CHAR_ROW
consolidated from x/mac/w32term.h.
(FRAME_PIXEL_X_TO_COL): Renamed from PIXEL_TO_CHAR_COL
consolidated from x/mac/w32term.h.
(FRAME_PIXEL_WIDTH_TO_TEXT_COLS): Renamed from
PIXEL_TO_CHAR_WIDTH consolidated from x/mac/w32term.h.
(FRAME_PIXEL_HEIGHT_TO_TEXT_LINES): Renamed from
PIXEL_TO_CHAR_HEIGHT consolidated from x/mac/w32term.h.
2003-05-24 21:58:07 +00:00
Kim F. Storm
5af5757be4 Make (many) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
(make_frame): Initialize left_fringe_width, right_fringe_width,
fringe_cols, scroll_bar_actual_width, border_width,
internal_border_width, column_width, line_height, x_pixels_diff,
y_pixels_diff, want_fullscreen, size_hint_flags, and win_gravity
members with values suitable for a non-window frames.
2003-05-24 21:57:45 +00:00
Kim F. Storm
7df0201613 Make (many) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
(mode_line_string): No need to adjust width for mode lines, as it
is already adjusted by the caller.
(marginal_area_string): Handle fringes inside/outside margins.
2003-05-24 21:57:05 +00:00
Kim F. Storm
87388f9d42 (struct glyph_matrix): Rename members window_left_x
to window_left_col, window_top_y to window_top_line. All uses
changed.
(FRAME_INTERNAL_BORDER_WIDTH_SAFE): Remove macro; can now safely
use FRAME_INTERNAL_BORDER_WIDTH macro instead as
internal_border_width is now set to 0 for non-window frames.
(WINDOW_DISPLAY_PIXEL_WIDTH, WINDOW_DISPLAY_PIXEL_HEIGHT)
(WINDOW_DISPLAY_MODE_LINE_HEIGHT, WINDOW_DISPLAY_HEADER_LINE_HEIGHT)
(WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, WINDOW_DISPLAY_TEXT_HEIGHT)
(WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X)
(WINDOW_DISPLAY_TOP_EDGE_PIXEL_Y, WINDOW_DISPLAY_BOTTOM_EDGE_PIXEL_Y)
(WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y)
(FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y)
(WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH)
(WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, WINDOW_WANTS_MODELINE_P):
Move to window.h and renamed [see window.h changes].
(WINDOW_AREA_TO_FRAME_PIXEL_X, WINDOW_AREA_PIXEL_WIDTH)
(WINDOW_DISPLAY_TEXT_AREA_PIXEL_WIDTH): Remove macros.
(WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): Use
WINDOW_TOTAL_LINES.
(frame_update_line_height): Remove prototype.
2003-05-24 21:56:19 +00:00
Kim F. Storm
7e10f2544c (struct buffer): Rename members measured in columns:
left_margin_width to left_margin_cols, right_margin_width to
right_margin_cols.  All uses changed.
New members left_fringe_width, right_fringe_width,
fringes_outside_margins for per-buffer fringe settings.
New members scroll_bar_width and vertical_scroll_bar_type for
per-buffer scroll bar settings.
2003-05-24 21:55:09 +00:00
Kim F. Storm
2ad8731a6b (init_buffer_once): Set buffer_defaults and
buffer_local_flags for new buffer-local variables
left_fringe_width, right_fringe_width, fringes_outside_margins,
scroll_bar_width, and vertical_scroll_bar_type.
(syms_of_buffer): Defvar_per_buffer them, and defvar_lisp_nopro
default-* variables for them.
2003-05-24 21:54:43 +00:00
Kim F. Storm
0416870b31 Major changes for fringes and oter window elements. 2003-05-24 21:52:57 +00:00
Andreas Schwab
016bd3c08f *** empty log message *** 2003-05-24 20:18:13 +00:00
Andreas Schwab
0bded0655a (insert-directory): Preserve CR in a file name. 2003-05-24 20:16:33 +00:00
Andreas Schwab
58f9937928 (find_safe_codings): Fix last change. 2003-05-24 20:11:55 +00:00
Andreas Schwab
25ca0bca00 Regenerated. 2003-05-24 19:31:42 +00:00
Andreas Schwab
4e05abbe6f (AH_BOTTOM) [MAC_OSX]: Do not redefine bcopy,
bzero, and bcmp.
2003-05-24 19:28:34 +00:00
Stefan Monnier
25d887f06f (iconify-or-deiconify-frame): Move to frame.el. 2003-05-24 16:22:20 +00:00
Stefan Monnier
2a89019f01 *** empty log message *** 2003-05-24 16:16:34 +00:00
Stefan Monnier
c3ef508488 (iconify-or-deiconify-frame): Move to frame.el.
Turn on mouse-wheel support by default.
2003-05-24 16:13:06 +00:00
Stefan Monnier
3db7df063f (iconify-or-deiconify-frame): Move from term/x-win.el. 2003-05-24 16:11:17 +00:00
Stefan Monnier
017be6c780 (read_key_sequence): Adjust fkey and keytran when dropping `down' events. 2003-05-24 14:52:10 +00:00
Kai Großjohann
de4e4519e4 Version 2.0.34 (of Tramp) released. 2003-05-24 14:10:53 +00:00
Kai Großjohann
b25a52ccdc Version 2.0.34 (of Tramp) released.
(tramp-handle-file-symlink-p): If target of symlink is absolute,
return a Tramp filename.  (Ie, return "/user@host:/target" instead
of "/target".)
(tramp-handle-file-truename): Deal with new return value from
`file-symlink-p'.
(tramp-handle-expand-file-name): Make default method explicit in
file name.
(tramp-unified-filenames): Move to an earlier spot in the file.
(top-level): If tramp-unified-filenames is set and we're running
on XEmacs, load tramp-efs.
(tramp-wait-for-shell-prompt, tramp-barf-if-no-shell-prompt): New
functions, used by tramp-send-command-internal.
(tramp-open-connection-setup-interactive-shell): Simplify using
`tramp-send-command-internal'.
(tramp-send-command-internal): New function.
(tramp-methods): New entries "remsh" and "remcp" are like "rsh"
and "rcp" but invoke "remsh" instead of "rsh".  This is useful on
Cray systems, for instance.  Unify tramp-rsh-program,
tramp-telnet-program, tramp-su-program into tramp-login-program.
Likewise with tramp-login-args, tramp-copy-program,
tramp-copy-args, tramp-copy-keep-date-arg.  Users changed.  New
method plink1; like plink but pass "-1" to force protocol version
1.
(tramp-default-method): Use plink as the default on machines where
the plink program is present.
(tramp-completion-file-name-handler): Add safe-magic property.
(tramp-shell-prompt-pattern): Allow ANSI escapes at
end of prompt.  (ANSI escapes elsewhere in the prompt are
recognized properly already.)
2003-05-24 14:10:15 +00:00
Thien-Thi Nguyen
4dacadcc41 (x_window): Fix typo. 2003-05-24 08:58:03 +00:00
Stefan Monnier
d49b7f88eb Use push' and replace regi-pos' by equivalents.
(sc-emacs-features): Remove.  Use better tests instead.
(sc-minor-mode): Use define-minor-mode.
(sc-mode-string, sc-set-mode-string): Remove.
Use a better modeline expression instead.
(sc-completing-read, sc-read-string, sc-submatch, sc-member)
(sc-string-text): Remove those compatibility functions.
2003-05-24 00:34:15 +00:00
Stefan Monnier
1a89be1e46 (display_mode_element): Increase max depth.
Simplify the error handling code.  Use a different error string
for the case where we hit the depth limit.
2003-05-23 23:32:55 +00:00
Nick Roberts
6d7cff7217 (gdba): Accommodate Fortran programs.
(gud-gdba-command-name): Use -noasync in all cases (as Fortran
seems to require it also).
(gdb-source-info): Parse correctly when compilation directory
specifies host also (IRIX).
2003-05-23 22:38:15 +00:00
Nick Roberts
47ab64b21f *** empty log message *** 2003-05-23 22:35:40 +00:00
Stefan Monnier
8a769de647 (cvs-temp-buffer): Kill running process in displayed buffers.
(cvs-make-cvs-buffer): Fix up format of the header.
2003-05-23 19:31:02 +00:00
Stefan Monnier
319830ce91 *** empty log message *** 2003-05-23 18:51:34 +00:00
Dave Love
bb9460011e (define-ccl-program): Doc fix. 2003-05-23 18:15:45 +00:00
Stefan Monnier
0362881420 (Vfundamental_mode_abbrev_table): Don't declare. 2003-05-23 18:14:36 +00:00
Stefan Monnier
f66cca4e87 (reset_buffer_local_variables): Remove redundant setting. 2003-05-23 18:11:50 +00:00
André Spiegel
c685fcef6b # 2003-05-23 17:58:46 +00:00
André Spiegel
63274db139 (vc-cvs-checkout): Don't leave the branch when REV is t.
From Don Provan <dprovan@bivio.net>.
2003-05-23 17:57:29 +00:00
Stefan Monnier
8bee10187c (perl-font-lock-syntactic-keywords): Match more cases of /.../ patterns. 2003-05-23 15:49:16 +00:00
Richard M. Stallman
b85a38e9e1 *** empty log message *** 2003-05-23 13:35:36 +00:00
Lute Kamstra
6e06af92df Remove unnecessary entry. 2003-05-23 13:03:48 +00:00
Richard M. Stallman
4d308b5a2c (forms--mode-commands1): Bind \t, not `tab'.
(forms--mode-commands): Don't bind \t in the maps where
we call forms--mode-commands1.
2003-05-23 12:48:06 +00:00
Richard M. Stallman
d320a41dbf (repunctuate-sentences): New function. 2003-05-23 12:46:38 +00:00
Richard M. Stallman
a28fe04bbd (archive-lzh-summarize): Calculate correct total
header size for LZH level 1 header.
2003-05-23 12:45:49 +00:00
Lute Kamstra
d547e25f45 (checkdoc-file-comments-engine): Use
`lm-commentary-end' to find the end of the commentary section.
2003-05-23 10:10:24 +00:00
Lute Kamstra
c7dff41d3f Make the description of the library more
accurate.
(lm-any-header): New user option.
(lm-section-start): New function; rewrite of `lm-section-mark'.
(lm-section-mark): Make alias of `lm-section-start'.
(lm-section-end): New function.
(lm-code-start): New function; rewrite of `lm-code-mark'.
(lm-code-mark): Make alias of `lm-code-start'.
(lm-commentary-start): New function; rewrite of
`lm-commentary-mark'.
(lm-commentary-mark): Make alias of `lm-commentary-start'.
(lm-commentary-end): New function.
(lm-history-start): New function; rewrite of `lm-history-mark'.
(lm-history-mark): Make alias of `lm-history-start'.
(lm-commentary): Use `lm-commentary-end' to find the end of the
commentary section.
2003-05-23 10:08:34 +00:00
Miles Bader
ac902a0103 Fix mismatched @def/@end pairs (inadvertently nested?). 2003-05-23 01:22:32 +00:00
Stefan Monnier
8fb7ff735c (define-skeleton): Use the `no-self-insert' property.
(skeleton-proxy-new): Fix docstring.  Remove broken interactive spec.
Rely on use `no-self-insert' rather than `skeleton-abbrev-cleanup'.
(skeleton-internal-1): Add a `recursive' argument.
(skeleton-internal-list): Use it to propagate `recursive'.
2003-05-23 00:59:12 +00:00
Stefan Monnier
9ac97b346f *** empty log message *** 2003-05-22 21:40:50 +00:00
Stefan Monnier
4d170362e6 Summary: MIME support added for e-mail processing that
skips encoded regions.  Allow user to skip saving Fcc messages with
large attachments.  Fixed region skipping bug with multi-line
comments - e.g.  tex $ regions spanning multiple lines.
Added support for postscript and uuencoded regions.
Redundant dictionary file names purged.
Dictionary definition field name changed from "Character Set"
to "Coding System".  Fixed bug in reloading dictionaries.
Modified headers to reflect new version.  XEmacs menu now adds
customize item.
(ispell-check-version): No longer an aliased function.
Returns library path if not called interactively.
Variable `temporary-file-directory' protected if not loaded.
(check-ispell-version): Now the alias for `ispell-check-version'.
(ispell-message-fcc-skip): New variable that determines if and when
to query about saving Fcc copy of message if an attachment is large.
(ispell-skip-html): Declared buffer-local.
(ispell-local-dictionary-alist): Docstring expanded.
Tag name changed from "Character Set" to "Coding System".
(ispell-dictionary-alist-1): Removed redundant command-line option to
load brasileiro, british, and castellano dictionary files.
(ispell-dictionary-alist-2): Removed redundant command-line option to
load czech dictionary file.
(ispell-dictionary-alist-3): Moved francais-tex here.
(ispell-dictionary-alist-4): Removed german and german8 dictionaries.
The deutsch ones are the correct definitions.  `nederlands'
and `nederlands8' dictionaries moved here.
(ispell-dictionary-alist-5): `polish' and `portugues' dictionaries
moved here.  Removed redundant command-line option to `norsk'
and `portugues'.
(ispell-dictionary-alist-6): Removed redundant command-line option to
load `russian' and `slovak' dictionary files.
(ispell-dictionary-alist): Tag name changed from "Character Set" to
"Coding System".
(ispell-version): Updated to 3.6.
(ispell-library-directory): Calls non-deprecated function.
(ispell-valid-dictionary-list): New function returning all valid
dictionaries on machine.
(ispell-checking-message): Documentation string improved.
(ispell-skip-region-alist): Added uuencoded and postscript region
skipping.  Improved http/e-mail/file regexp to not match `/.\w'.
(ispell-html-skip-alists): New variable for html region support.
(ispell-send-string): Removed redundant xemacs check.
(ispell-word): Fix spelling error in documentation string, added
extent information to support highlighting in ispell-minor-mode.
(ispell-command-loop): Disable horizontal scrollbar in XEmacs
choices buffer.
(ispell-show-choices): Directly select `choices-window'.
(ispell-help): Use default buffer size for electric help.
(ispell-adjusted-window-height): Correct for xemacs detection.
(ispell-start-process): Don't double specify dictionary file name.
(ispell-init-process): Set `ispell-library-path' each call.
(ispell-change-dictionary): Now only completes valid dictionaries.
(ispell-region): Add support for MIME region skipping and Fcc
message query for large attachments.
(ispell-begin-skip-region-regexp): Add documentation string.
Added message support and cleaned up code for generic and html regions.
(ispell-begin-skip-region): Function is now requires alist argument.
(ispell-begin-tex-skip-regexp): Added comments and support
improved html and message regions.
(ispell-skip-region-list): New function for MIME and region skipping.
(ispell-tex-arg-end): Add documentation string.
(ispell-ignore-fcc): New function to query saving Fcc message.
(ispell-skip-region): Calculate alist for key match dynamically,
html skipping pushed to alists.
(ispell-get-line): Add support for multi-line comment regions.
(ispell): Check that variables to continue spelling are bound.
(ispell-message-text-end): Postscript and uuencoded regions now
supported as MIME regions, rather than as end-of-message region.
(ispell-mime-multipartp): New function supporting MIME.
(ispell-mime-skip-part): New function supporting MIME.
(ispell-message): Add MIME support.
(ispell-buffer-local-parsing): Variable `ispell-skip-html' now local.
(ispell-buffer-local-dict): Fixed bug for detecting and reloading
new dictionary.
2003-05-22 21:34:00 +00:00
Juanma Barranquero
1463a05d84 *** empty log message *** 2003-05-22 21:06:42 +00:00
Juanma Barranquero
3aeea9e980 (Creating Strings): Update split-string specification and examples. 2003-05-22 21:05:25 +00:00
Juanma Barranquero
6a64662696 (split-string): Implement specification that splitting on explicit separators
retains null fields.  Add new argument OMIT-NULLS.  Special-case (split-string
"a string").
2003-05-22 20:59:57 +00:00
Dave Love
7933722aa4 *** empty log message *** 2003-05-22 20:01:37 +00:00
Dave Love
1d28afaf27 (difftime) [!HAVE_DIFFTIME]: Define.
(strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
2003-05-22 20:01:19 +00:00
Kai Großjohann
99ffa7daf7 (Indentation): Explain the concepts.
(Just Spaces): Explain why preventing tabs for indentation might
be useful.
2003-05-22 14:53:58 +00:00