]> code.delx.au - gnu-emacs/log
gnu-emacs
24 years agoDocument Foldout.
Dave Love [Sun, 26 Mar 2000 18:11:33 +0000 (18:11 +0000)]
Document Foldout.

24 years ago(Visiting): List wildcard chars. Mention find-file-wildcards.
Dave Love [Sun, 26 Mar 2000 17:56:47 +0000 (17:56 +0000)]
(Visiting): List wildcard chars.  Mention find-file-wildcards.
(File Archives): Archiving programs _are_ needed (but not tar).
(Remote Files): Xref quoted file names.
(Quoted File Names): Can quote * as [*].

24 years ago*** empty log message ***
Dave Love [Sun, 26 Mar 2000 17:51:09 +0000 (17:51 +0000)]
*** empty log message ***

24 years agoDoc fixes.
Dave Love [Sun, 26 Mar 2000 17:07:06 +0000 (17:07 +0000)]
Doc fixes.
(file-truename): Include `[' in wildcard characters.
(automount-dir-prefix): Customize.
(find-file-wildcards): Add :version.
(find-file-noselect): Simplify a mapcar call.

24 years ago(lisp-eval-defun): Make arglist compatible with inf-lisp version.
Dave Love [Sun, 26 Mar 2000 16:36:17 +0000 (16:36 +0000)]
(lisp-eval-defun): Make arglist compatible with inf-lisp version.
(eval-defun-1): Fix custom-declare-variable case.

24 years ago*** empty log message ***
Gerd Moellmann [Sun, 26 Mar 2000 16:27:11 +0000 (16:27 +0000)]
*** empty log message ***

24 years ago(reset_buffer): Initialize buffer's cursor_type.
Gerd Moellmann [Sun, 26 Mar 2000 16:25:09 +0000 (16:25 +0000)]
(reset_buffer): Initialize buffer's cursor_type.
(init_buffer_once): Set default cursor_type value to t.
Mark cursor_type as local everywhere.
(syms_of_buffer): New per-buffer variable cursor-type.

24 years ago(x_display_and_set_cursor): Choose cursor depending
Gerd Moellmann [Sun, 26 Mar 2000 16:24:24 +0000 (16:24 +0000)]
(x_display_and_set_cursor): Choose cursor depending
on buffer-local value of cursor_type.
(x_draw_bar_cursor): Add parameter WIDTH.

24 years ago*** empty log message ***
Gerd Moellmann [Sun, 26 Mar 2000 14:13:40 +0000 (14:13 +0000)]
*** empty log message ***

24 years ago(bootstrap-lisp-1, bootstrap-list, bootstrap-src):
Gerd Moellmann [Sun, 26 Mar 2000 14:13:03 +0000 (14:13 +0000)]
(bootstrap-lisp-1, bootstrap-list, bootstrap-src):
New targets.
(bootstrap): Rewritten in terms of the new targets above.  Make
info files, too.

24 years ago(defvar_per_buffer): Use new macros for per-buffer
Gerd Moellmann [Sun, 26 Mar 2000 14:09:59 +0000 (14:09 +0000)]
(defvar_per_buffer): Use new macros for per-buffer
variables.

24 years ago(struct buffer): Remove member local_var_flags,
Gerd Moellmann [Sun, 26 Mar 2000 14:08:52 +0000 (14:08 +0000)]
(struct buffer): Remove member local_var_flags,
add local_flags.
(MAX_BUFFER_LOCAL_VARS): New macro.
(BUFFER_LOCAL_VAR_OFFSET, BUFFER_LOCAL_VAR_IDX)
(BUFFER_HAS_LOCAL_VALUE_P, SET_BUFFER_HAS_LOCAL_VALUE_P)
(BUFFER_LOCAL_IDX, BUFFER_LOCAL_DEFAULT_VALUE, BUFFER_LOCAL_VALUE)
(BUFFER_LOCAL_SYMBOL, BUFFER_LOCAL_TYPE): New macros.

24 years ago(print_object): Use new macros for per-buffer
Gerd Moellmann [Sun, 26 Mar 2000 14:08:22 +0000 (14:08 +0000)]
(print_object): Use new macros for per-buffer
variables.

24 years ago(Fset_category_table): Use new macros for per-buffer
Gerd Moellmann [Sun, 26 Mar 2000 14:07:56 +0000 (14:07 +0000)]
(Fset_category_table): Use new macros for per-buffer
variables.

24 years ago(buffer_permanent_local_flags): Make a char array.
Gerd Moellmann [Sun, 26 Mar 2000 14:07:30 +0000 (14:07 +0000)]
(buffer_permanent_local_flags): Make a char array.
(max_buffer_local_idx): New variable.
(reset_buffer_local_variables, Fbuffer_local_variables): Rewritten
for new handling of per-buffer variables.
(buffer_slot_type_mismatch): Use new macros for per-buffer vars.
(init_buffer_once): Initialize per-buffer vars differently.
Set max_buffer_local_idx.

24 years ago(Fset_syntax_table): Use new macros for per-buffer
Gerd Moellmann [Sun, 26 Mar 2000 14:06:41 +0000 (14:06 +0000)]
(Fset_syntax_table): Use new macros for per-buffer
variables.

24 years ago(do_symval_forwarding, store_symval_forwarding)
Gerd Moellmann [Sun, 26 Mar 2000 14:05:44 +0000 (14:05 +0000)]
(do_symval_forwarding, store_symval_forwarding)
(find_symbol_value, set_internal, default_value, Fset_default)
(Fkill_local_variable, Flocal_variable_p): Use new macros for
per-buffer variables.

24 years ago(bootstrap-emacs): Use `mv -f' instead of `mv'.
Gerd Moellmann [Sun, 26 Mar 2000 14:05:11 +0000 (14:05 +0000)]
(bootstrap-emacs): Use `mv -f' instead of `mv'.

24 years ago(hook): Use `dolist' instead of CL's `mapc'.
Stefan Monnier [Sun, 26 Mar 2000 00:12:35 +0000 (00:12 +0000)]
(hook): Use `dolist' instead of CL's `mapc'.

24 years ago(load-history): Fix doc string.
Dave Love [Sat, 25 Mar 2000 12:37:51 +0000 (12:37 +0000)]
(load-history): Fix doc string.

24 years ago*** empty log message ***
Gerd Moellmann [Fri, 24 Mar 2000 22:56:35 +0000 (22:56 +0000)]
*** empty log message ***

24 years ago(x_term_init): Unblock input around call1.
Gerd Moellmann [Fri, 24 Mar 2000 22:54:35 +0000 (22:54 +0000)]
(x_term_init): Unblock input around call1.

24 years ago(COMPILE_FIRST): New macro.
Gerd Moellmann [Fri, 24 Mar 2000 22:51:40 +0000 (22:51 +0000)]
(COMPILE_FIRST): New macro.
(compile-files): Compile files from COMPILE_FIRST first.

24 years ago(byte-compile-eval): Disable new code.
Gerd Moellmann [Fri, 24 Mar 2000 22:50:34 +0000 (22:50 +0000)]
(byte-compile-eval): Disable new code.

24 years ago*** empty log message ***
Richard M. Stallman [Fri, 24 Mar 2000 21:26:10 +0000 (21:26 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Gerd Moellmann [Fri, 24 Mar 2000 20:56:46 +0000 (20:56 +0000)]
*** empty log message ***

24 years ago(open_paren_in_column_0_is_defun_start): New variable.
Gerd Moellmann [Fri, 24 Mar 2000 20:49:56 +0000 (20:49 +0000)]
(open_paren_in_column_0_is_defun_start): New variable.
(find_defun_start): Consider an open parenthesis in column 0
a defun start only if open_paren_in_column_0_is_defun_start is set.
(syms_of_syntax): New variable open-paren-in-column-0-is-defun-start.

24 years agoRequire CL at compile-time only.
Gerd Moellmann [Fri, 24 Mar 2000 20:46:12 +0000 (20:46 +0000)]
Require CL at compile-time only.

24 years ago(msb--choose-file-menu): Use `(apply #'list ...)'
Gerd Moellmann [Fri, 24 Mar 2000 20:45:10 +0000 (20:45 +0000)]
(msb--choose-file-menu): Use `(apply #'list ...)'
instead of copy-list which is a function from CL.
(msb--choose-menu, msb--mode-menu-cond)
(msb--create-buffer-menu-2): Use dolist instead of mapc.
(msb--init-file-alist): Use mapcar instead of mapcan.
(msb--aggregate-alist): Use mapcar instead of mapcan.  Fix
`(' in column 0 in doc string.
(msb--add-separators): Use mapcar instead of mapcan.

24 years ago(beginning-of-defun-raw): Add regexp
Gerd Moellmann [Fri, 24 Mar 2000 20:42:41 +0000 (20:42 +0000)]
(beginning-of-defun-raw): Add regexp
matching open parenthesis in column 0 to defun-prompt-regexp
only if open-paren-in-column-0-is-defun-start is set.

24 years ago* eval.c (Fautoload): Add entry in load-history (if after dump).
Stefan Monnier [Fri, 24 Mar 2000 20:25:34 +0000 (20:25 +0000)]
* eval.c (Fautoload): Add entry in load-history (if after dump).
* lread.c (load-history): Update docstring.

24 years ago*** empty log message ***
Stefan Monnier [Fri, 24 Mar 2000 18:45:23 +0000 (18:45 +0000)]
*** empty log message ***

24 years ago(byte-compile-warning-types, byte-compile-warnings): New warning `noruntime'.
Stefan Monnier [Fri, 24 Mar 2000 18:37:48 +0000 (18:37 +0000)]
(byte-compile-warning-types, byte-compile-warnings): New warning `noruntime'.
(byte-compile-constants, byte-compile-variables): Fix docstring.
(byte-compile-initial-macro-environment): Use `byte-compile-eval' to
execute `eval-whenc-compile's body.
(byte-compile-unresolved-functions): Fix docstring.
(byte-compile-eval): New function.
(byte-compile-callargs-warn): Check if the function will be available
at runtime (via property `byte-compile-noruntime').
(byte-compile-print-syms): New function.
(byte-compile-warn-about-unresolved-functions): Also warn about
`noruntime' functions (and use `byte-compile-print-syms').
(byte-compile-file): Capitalize the message.

24 years ago(Fvertical_motion): Always use the current buffer.
Gerd Moellmann [Fri, 24 Mar 2000 13:31:20 +0000 (13:31 +0000)]
(Fvertical_motion): Always use the current buffer.
Temporarily change the window's buffer, if necessary.

24 years ago*** empty log message ***
Gerd Moellmann [Fri, 24 Mar 2000 12:21:51 +0000 (12:21 +0000)]
*** empty log message ***

24 years ago(bootstrap-clean): If $(emacs) exists, build
Gerd Moellmann [Fri, 24 Mar 2000 12:14:43 +0000 (12:14 +0000)]
(bootstrap-clean): If $(emacs) exists, build
loaddefs.el first.  A loaddefs.el that's not up-to-date might
cause a bootstrap failure because things don't autoload as
expected.

24 years ago(rmail-confirm-expunge): New user-option.
Gerd Moellmann [Fri, 24 Mar 2000 12:12:58 +0000 (12:12 +0000)]
(rmail-confirm-expunge): New user-option.
(rmail-expunge): Ask for confirmation depending on the setting
of rmail-confirm-expunge.

24 years ago*** empty log message ***
Dave Love [Thu, 23 Mar 2000 21:20:46 +0000 (21:20 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Gerd Moellmann [Thu, 23 Mar 2000 15:09:56 +0000 (15:09 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Gerd Moellmann [Thu, 23 Mar 2000 13:56:58 +0000 (13:56 +0000)]
*** empty log message ***

24 years agoSkip banner page fix.
Gerd Moellmann [Thu, 23 Mar 2000 13:54:25 +0000 (13:54 +0000)]
Skip banner page fix.
(ps-print-version): New version number (5.1.2).
(ps-begin-file, ps-end-file, ps-generate): Code fix.

24 years agoChanged the type of parameter passed to the
Gerd Moellmann [Thu, 23 Mar 2000 13:53:14 +0000 (13:53 +0000)]
Changed the type of parameter passed to the
function defined by `quickurl-format-function'. Before only the
text of the URL was passed. Now the whole URL structure is passed
and the function is responsible for extracting the parts it
requires.  Changed the default of `quickurl-format-function'
accordingly.
(quickurl-insert): Changed the `funcall' of
`quickurl-format-function' to match the above change.
(quickurl-list-insert): Changed the `url' case so that it makes
use of `quickurl-format-function', previous to this the format was
hard wired.

24 years agoEliminate SkipFirstPage.
Gerd Moellmann [Thu, 23 Mar 2000 13:49:59 +0000 (13:49 +0000)]
Eliminate SkipFirstPage.

24 years ago*** empty log message ***
Gerd Moellmann [Thu, 23 Mar 2000 12:00:47 +0000 (12:00 +0000)]
*** empty log message ***

24 years agoChange some spellings for the X Window System.
Gerd Moellmann [Thu, 23 Mar 2000 11:57:22 +0000 (11:57 +0000)]
Change some spellings for the X Window System.

24 years ago(fast_find_position): Make sure not to consider rows
Gerd Moellmann [Thu, 23 Mar 2000 11:49:14 +0000 (11:49 +0000)]
(fast_find_position): Make sure not to consider rows
not visible in the window.

24 years ago(enum syntaxcode): Provide default for non-Emacs.
Stefan Monnier [Thu, 23 Mar 2000 04:36:34 +0000 (04:36 +0000)]
(enum syntaxcode): Provide default for non-Emacs.
(re_compile_fastmap, re_match_2_internal): Undo Dave's previous fix.

24 years ago(makefile-warn-suspicious-lines): clean
Stefan Monnier [Thu, 23 Mar 2000 02:39:58 +0000 (02:39 +0000)]
(makefile-warn-suspicious-lines): clean
up the code and the regexp and make sure the cursor is temporarily
moved to the suspicious line while querying the user.

24 years ago*** empty log message ***
Jason Rumney [Wed, 22 Mar 2000 23:18:10 +0000 (23:18 +0000)]
*** empty log message ***

24 years ago(single_submenu): Set help string to NULL if none.
Jason Rumney [Wed, 22 Mar 2000 23:15:30 +0000 (23:15 +0000)]
(single_submenu): Set help string to NULL if none.
(w32_menu_show): Set help string correctly.
(add-menu-item): Set help string in MIIM_DATA for menu item.
Load SetMenuItemInfoA explicitly.
(w32_menu_display_help): New function.

24 years agoRestore previous use of browse-url-maybe-new-window.
Dave Love [Wed, 22 Mar 2000 23:06:18 +0000 (23:06 +0000)]
Restore previous use of browse-url-maybe-new-window.

24 years ago(w32-charset-info-alist): Initialize.
Jason Rumney [Wed, 22 Mar 2000 23:01:04 +0000 (23:01 +0000)]
(w32-charset-info-alist): Initialize.

24 years ago(w32_wnd_proc): Handle WM_MENUSELECT message.
Jason Rumney [Wed, 22 Mar 2000 22:29:41 +0000 (22:29 +0000)]
(w32_wnd_proc): Handle WM_MENUSELECT message.
(QCdata): Moved to xdisp.c.
Include fontset.h after dispextern.h.
(Fx_create_frame): Do not create fontset.
(w32_load_system_font): Doc fix.
(Fx_close_connection): Free full_name if it is not shared.

24 years agoInclude frame.h and dispextern.h before fontset.h.
Jason Rumney [Wed, 22 Mar 2000 21:50:25 +0000 (21:50 +0000)]
Include frame.h and dispextern.h before fontset.h.

24 years ago(w32bdf.obj): Update dependencies.
Jason Rumney [Wed, 22 Mar 2000 21:46:29 +0000 (21:46 +0000)]
(w32bdf.obj): Update dependencies.

24 years agoChanges towards better type safety regarding intervals, primarily
Ken Raeburn [Wed, 22 Mar 2000 21:44:05 +0000 (21:44 +0000)]
Changes towards better type safety regarding intervals, primarily
regarding the "parent" handle.  These just separate out the different
usages based on the type of parent (interval vs lisp object); later
changes will do type checking and enforcement.

* intervals.h (NULL_INTERVAL): Cast to INTERVAL type.
(INT_LISPLIKE): New macro.
(NULL_INTERVAL_P): Use it.
(INTERVAL_HAS_PARENT, INTERVAL_HAS_OBJECT, SET_INTERVAL_PARENT,
SET_INTERVAL_OBJECT, INTERVAL_PARENT, COPY_INTERVAL_PARENT,
GET_INTERVAL_OBJECT, INTERVAL_PARENT_OR_NULL): New macros.

* alloc.c (make_interval, gc_sweep): Use new macros; eliminate all
explicit references to "parent" field of struct interval and
associated unclean type conversions.
* intervals.c (create_root_interval, root_interval, rotate_right,
rotate_left, balance_possible_root_interval, split_interval_right,
split_interval_left, interval_start_pos, find_interval,
next_interval, previous_interval, update_interval,
adjust_intervals_for_insertion, delete_node, delete_interval,
adjust_intervals_for_deletion, merge_interval_right,
merge_interval_left, reproduce_tree, graft_intervals_into_buffer,
copy_intervals_to_string): Likewise.
* intervals.h (AM_LEFT_CHILD, AM_RIGHT_CHILD, RESET_INTERVAL):
Likewise.
* syntax.c (update_syntax_table): Likewise.

* intervals.c (reproduce_tree_obj): New function, like
reproduce_tree but takes a Lisp_Object for the parent.  Declare
with prototype.
(graft_intervals_into_buffer): Use it when appropriate.
(reproduce_tree): Declare with prototype.
(balance_possible_root_interval): Check that the parent is a lisp
object before trying to examine its type.

24 years ago(re_compile_fastmap, re_match_2_internal): Fix cast to re_opcode_t.
Dave Love [Wed, 22 Mar 2000 14:25:38 +0000 (14:25 +0000)]
(re_compile_fastmap, re_match_2_internal): Fix cast to re_opcode_t.

24 years ago*** empty log message ***
Gerd Moellmann [Wed, 22 Mar 2000 12:17:51 +0000 (12:17 +0000)]
*** empty log message ***

24 years agoN-up last page fix.
Gerd Moellmann [Wed, 22 Mar 2000 12:14:56 +0000 (12:14 +0000)]
N-up last page fix.
(ps-print-version): New version number (5.1.1).
(ps-end-file, ps-end-job, ps-generate): Code fix.

24 years agoDefine command only for language level 1.
Gerd Moellmann [Wed, 22 Mar 2000 12:13:46 +0000 (12:13 +0000)]
Define command only for language level 1.

24 years ago(LIBS_TERMCAP): Undef.
Gerd Moellmann [Wed, 22 Mar 2000 12:08:40 +0000 (12:08 +0000)]
(LIBS_TERMCAP): Undef.

24 years ago(lface_same_font_attributes_p): Compare font attributes
Gerd Moellmann [Wed, 22 Mar 2000 12:08:11 +0000 (12:08 +0000)]
(lface_same_font_attributes_p): Compare font attributes
as strings only if both are known to be strings.

24 years ago(CHAR_CHARSET, CHARSET_LEADING_CODE_BASE): Add default
Stefan Monnier [Wed, 22 Mar 2000 04:18:10 +0000 (04:18 +0000)]
(CHAR_CHARSET, CHARSET_LEADING_CODE_BASE): Add default
definitions for non-Emacs compilation.
(enum re_opcode_t): Remove (not)wordchar and move (not)syntaxspec
outside of `#ifdef emacs'.
(print_partial_compiled_pattern): Update.
(regex_compile): Use (not)syntaxspec(Sword) instead of (not)wordchar.
(re_compile_fastmap): Merge handling of charset and charset_not (for
emacs and non-emacs compilation as well).
Similarly for (not)categoryspec and (not)syntaxspec.
Don't use the fastmap when reaching `anychar' since the added
complexity is not justified.
(re_match_2_internal): Merge (not)wordchar (emacs and non-emacs)
and (not)syntaxspec.  Merge (not)categoryspec.

24 years ago(find-file-run-dired): Update docstring.
Stefan Monnier [Wed, 22 Mar 2000 03:10:07 +0000 (03:10 +0000)]
(find-file-run-dired): Update docstring.
(find-directory-functions): New hook.
(find-file-noselect): Run find-directory-functions rather than
calling dired directly.

24 years agoAdd an entry for PCL-CVS' global menu.
Stefan Monnier [Wed, 22 Mar 2000 03:05:09 +0000 (03:05 +0000)]
Add an entry for PCL-CVS' global menu.

24 years ago* pcvs.el: Add a minimal leading commentary.
Stefan Monnier [Wed, 22 Mar 2000 02:57:23 +0000 (02:57 +0000)]
* pcvs.el: Add a minimal leading commentary.
(cvs-make-cvs-buffer): Change the header part by removing the startup
message and adding a `Module' entry.  Also replace the FOOTER and
HEADER special fileinfos with the new support in ewoc for updating
its own footer and header.
(cvs-update-header): Update to use the header/footer of the ewoc.
(cvs-mode): Use define-derived-mode and set truncate-lines to t.
(cvs-is-within-p): New function.
(cvs-mode-run): Take advantage of `save-some-buffers's new ability
to only examine some subset of the buffers.
* pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
`format' instead of our own ad-hoc functions.
Remove HEADER and FOOTER cases, now handled in the EWOC.
(cvs-fileinfo<): Remove HEADER and FOOTER cases.
* pcvs-parse.el (cvs-parse-run-table): Change message for unknown
output to avoid scaring the user.
(cvs-parse-table): Catch message for non-up-to-date commits.
* pcvs-defs.el (cvs-startup-message): Remove.
(cvs-global-menu): New autoloaded menu.
* pcvs-util.el (cvs-string-fill): Remove.
* emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
(ewoc--refresh-node): Don't take the whole EWOC but only the relevant
PP part of it and also make it work for footers and headers.
(ewoc-create): Drop POS and BUFFER arguments.
Use the DLL's dummy node to store the end-of-footer position.
(ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
(ewoc-refresh): Remove unused `header' variable.
(ewoc-(get|set)-hf): New functions.

24 years ago[!HAVE_WINDOW_SYSTEM] (FACE_SUITABLE_FOR_CHAR_P,
Kenichi Handa [Wed, 22 Mar 2000 01:58:18 +0000 (01:58 +0000)]
[!HAVE_WINDOW_SYSTEM] (FACE_SUITABLE_FOR_CHAR_P,
FACE_FOR_CHAR): Define them differently for the configuration of
--without-x.

24 years ago*** empty log message ***
Kenichi Handa [Wed, 22 Mar 2000 01:51:06 +0000 (01:51 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Stefan Monnier [Wed, 22 Mar 2000 01:49:53 +0000 (01:49 +0000)]
*** empty log message ***

24 years ago(log-view-(msg|file)-(prev|next)): Rename from
Stefan Monnier [Wed, 22 Mar 2000 01:10:09 +0000 (01:10 +0000)]
(log-view-(msg|file)-(prev|next)): Rename from
log-view-*-(message|file) and use easy-mmode-define-navigation.
(log-view-message-re): Match SCCS format as well.
And match the revision line rather than the dashed separator line.
(log-view-mode): Use the new define-derived-mode.
(log-view-current-tag): Fill in with an actual implementation.

24 years ago(cvs-status-mode): Use define-derived-mode.
Stefan Monnier [Wed, 22 Mar 2000 01:08:08 +0000 (01:08 +0000)]
(cvs-status-mode): Use define-derived-mode.

24 years ago(cvs-status-(prev|next)): Rename from
Stefan Monnier [Wed, 22 Mar 2000 01:01:36 +0000 (01:01 +0000)]
(cvs-status-(prev|next)): Rename from
cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
(cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
to let the output "breathe" a little more (more readable).

24 years ago(smerge-auto-leave): New function and variable.
Stefan Monnier [Wed, 22 Mar 2000 00:54:55 +0000 (00:54 +0000)]
(smerge-auto-leave): New function and variable.
(smerge-basic-map): Rename from smerge-basic-keymap.
Change the bindings for smerge-diff-*.
(smerge-*-map): Use easy-mmode-defmap.
(smerge-(next|prev)): Use easy-mmode-define-navigation.
(smerge-keep-*): Use smerge-auto-leave.

24 years ago*** empty log message ***
Stefan Monnier [Wed, 22 Mar 2000 00:39:25 +0000 (00:39 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jason Rumney [Tue, 21 Mar 2000 22:20:57 +0000 (22:20 +0000)]
*** empty log message ***

24 years ago(custom-button-face) [w32]: Use same face as x.
Jason Rumney [Tue, 21 Mar 2000 21:58:32 +0000 (21:58 +0000)]
(custom-button-face) [w32]: Use same face as x.
(custom-button-pressed-face) [w32]: Likewise.

24 years ago*** empty log message ***
Gerd Moellmann [Tue, 21 Mar 2000 21:53:43 +0000 (21:53 +0000)]
*** empty log message ***

24 years ago(tags-case-fold-search): New user-option.
Gerd Moellmann [Tue, 21 Mar 2000 21:47:47 +0000 (21:47 +0000)]
(tags-case-fold-search): New user-option.
(tags-loop-eval): New function.  Bind case-fold-search around eval
depending on the value of tags-case-fold-search.
(tags-loop-continue): Use tags-loop-eval.
(find-tag-in-order): Bind case-fold-search depending on the value
of tags-case-fold-search.

24 years ago*** empty log message ***
Dave Love [Tue, 21 Mar 2000 17:43:59 +0000 (17:43 +0000)]
*** empty log message ***

24 years ago(Fset_fontset_font, Ffontset_font): Fix newlines in doc string.
Dave Love [Tue, 21 Mar 2000 17:31:48 +0000 (17:31 +0000)]
(Fset_fontset_font, Ffontset_font): Fix newlines in doc string.

24 years ago(diff-mode-*-map): use `easy-mmode-defmap'.
Stefan Monnier [Tue, 21 Mar 2000 16:59:17 +0000 (16:59 +0000)]
(diff-mode-*-map): use `easy-mmode-defmap'.
(diff-end-of-hunk): Return the end position for use in
`easy-mmode-define-navigation'.
(diff-recenter): Remove.
(diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
of `easy-mmode-define-navigation'.
(diff-kill-*): Rename `diff-*-kill' (for consistency with the
previous renaming) and fix to use new names.
(diff-merge-strings): Use \n as separator: simpler, faster.
(diff-mode): Use `define-derived-mode'.

24 years ago(easy-mmode-define-navigation): Only use `ding' for interactive use
Stefan Monnier [Tue, 21 Mar 2000 16:53:06 +0000 (16:53 +0000)]
(easy-mmode-define-navigation): Only use `ding' for interactive use
else, use `error' (to enable the caller to react to the problem).

24 years ago(check_lface_attrs) [GLYPH_DEBUG]: Fix syntax error.
Gerd Moellmann [Tue, 21 Mar 2000 16:13:31 +0000 (16:13 +0000)]
(check_lface_attrs) [GLYPH_DEBUG]: Fix syntax error.
(lface_fully_specified_p): Don't check contents of
LFACE_FONT_INDEX because that attribute is optional.
(realize_x_face): Remove now unwarranted xassert.

24 years ago* derived.el (define-derived-mode): Don't autoload anymore.
Stefan Monnier [Tue, 21 Mar 2000 15:35:06 +0000 (15:35 +0000)]
* derived.el (define-derived-mode): Don't autoload anymore.
Prefer the macro-only version provided by easy-mmode.el.
* emacs-lisp/easy-mmode.el (define-derived-mode): New name for
`easy-mmode-define-derived-mode'.
Use `combine-run-hooks'.
(easy-mmode-define-navigation): New macro.

24 years ago(combine-run-hooks): New function.
Stefan Monnier [Tue, 21 Mar 2000 15:28:44 +0000 (15:28 +0000)]
(combine-run-hooks): New function.

24 years ago*** empty log message ***
Kenichi Handa [Tue, 21 Mar 2000 00:50:39 +0000 (00:50 +0000)]
*** empty log message ***

24 years ago(fontset.o): Depend on dispextern.h.
Kenichi Handa [Tue, 21 Mar 2000 00:45:04 +0000 (00:45 +0000)]
(fontset.o): Depend on dispextern.h.

24 years agoInclude fontset.h after dispextern.h.
Kenichi Handa [Tue, 21 Mar 2000 00:43:55 +0000 (00:43 +0000)]
Include fontset.h after dispextern.h.
(x_per_char_metric): Don't try FONT->default_char.  Even if
pcm->width is zero, glyph bits may exist.
(x_encode_char): Always initialize char2b->byte1.
(x_get_char_face_and_encoding): Call FACE_FOR_CHAR to get face_id.
(x_get_glyph_face_and_encoding): New arg two_byte_p.  Caller
changed.
(x_append_glyph): Set glyph->glyph_not_available_p.
(x_produce_glyphs): Set it->glyph_not_available_p.  Don't set
it->charset.  Handle the case that per char metric is not
available.  If it->multibyte_p is zero and it->c is a multibyte
character, convert it to a unibyte character.
(struct glyph_string): Delete member `charset'.
(x_set_mouse_face_gc): Call FACE_FOR_CHAR to get face_id.  Handle
the case that per char metric is not available correctly.
(x_fill_glyph_string): Handle the case that the specific glyph is
not available correctly.
(BUILD_CHAR_GLYPH_STRINGS): Don't set s->charset.
(BUILD_COMPOSITE_GLYPH_STRING): Likewise.
(x_new_font): Call FS_LOAD_FONT, not fs_load_font.
(x_new_fontset): Call fontset_ascii to get ASCII font name of the
fontset.  Don't call FS_LOAD_FONT.

24 years ago(Qx_charset_registry, Vface_default_registry):
Kenichi Handa [Tue, 21 Mar 2000 00:43:10 +0000 (00:43 +0000)]
(Qx_charset_registry, Vface_default_registry):
Variables removed.
(clear_font_table, frame_update_line_height, load_face_font):
Adjusted for the change of fontset implementation.
(load_face_fontset_font): Function removed.
(pixel_point_size): New function.
(font_list): Argument type changed.  Caller changed.
(LFACE_FONT): New macro.
(check_lface_attrs): Check attr[LFACE_FONT_INDEX].
(set_lface_from_font_name): Type of arg FONTNAME is changed to
Lisp_Object.  Determine the font name by actually loading a font
by the specified pattern.  Set LFACE_FONT (lface) to the specified
pattern.  Even if a font is not found, don't try alternatives.
(Finternal_set_lisp_face_attribute): Handle `font' slot in lface.
(set_font_frame_param): If `font' is specified in lface, use it.
(Finternal_get_lisp_face_attribute): Handle `font' slot in lface.
(lface_same_font_attributes_p): Likewise.
(make_realized_face): Arguent changed.  Caller changed.  Set
face->ascii_face to face itself.
(free_realized_face): Free face->fontset if face is for ASCII.
(face_suitable_for_iso8859_1_p, face_suitable_for_charset_p,
deduce_unibyte_registry, x_charset_registry): Functions removed.
(free_realized_multibyte_face): New function.
(lookup_face, lookup_named_face, lookup_derived_face): Argument
changed.  Caller changed.
(try_font_list): Argument type changed.
(face_fontset): Check `font' slot of ATTRS, not `family' slot.
(choose_face_font): Argument changed.  Handle fontset properly.
(choose_face_fontset_font): Function removed.
(realize_default_face, realize_named_face): Don't remove the
former face here.
(realize_face): Argument changed.  Caller changed.  Remove face
with the arg former_face_id in advance.  Load font for the new
face.
(realize_x_face): Argument changed.  Caller changed.  For a
multibyte character, share fontset with base_face.  For a single
byte character, make a new realized fontset.  Don't load a font
here.
(realize_tty_face): Argument changed.  Caller changed.
(compute_char_face): Call FACE_FOR_CHAR, not FACE_FOR_CHARSET.
(face_at_buffer_position): Don't check multibyte_p for returning
DEFAULT_FACE_ID.
(face_at_string_position): Call FACE_SUITABLE_FOR_CHAR_P, not
FACE_SUITABLE_FOR_CHARSET_P.
(syms_of_xfaces): Remove code for Qx_charset_registry and
Vface_default_registry.

24 years ago(Fx_create_frame): Don't cal fs_register_fontset.
Kenichi Handa [Tue, 21 Mar 2000 00:42:32 +0000 (00:42 +0000)]
(Fx_create_frame): Don't cal fs_register_fontset.
(x_create_tip_frame): Likewise.
(Fx_close_connection): Free full_name of font_info.

24 years ago(charset_at_position): Function removed.
Kenichi Handa [Tue, 21 Mar 2000 00:41:41 +0000 (00:41 +0000)]
(charset_at_position): Function removed.
(init_iterator): Don't set member charset of struct `it'.
(handle_face_prop, reseat_to_string, set_iterator_to_next,
next_element_from_display_vector, insert_left_trunc_glyphs):
Likewise.
(face_before_or_after_it_pos): Call FACE_FOR_CHAR, not
FACE_FOR_CHARSET.
(get_next_display_element, append_space,
extend_face_to_end_of_line): Likewise.

24 years ago(XMenuActivate): Args to lookup_derived_face changed.
Kenichi Handa [Tue, 21 Mar 2000 00:40:54 +0000 (00:40 +0000)]
(XMenuActivate): Args to lookup_derived_face changed.

24 years ago(struct frame): Member `fontset_data' removed.
Kenichi Handa [Tue, 21 Mar 2000 00:39:29 +0000 (00:39 +0000)]
(struct frame): Member `fontset_data' removed.
(FRAME_FONTSET_DATA): Macro removed.

24 years ago(make_frame): Don't allocate f->fontset_data.
Kenichi Handa [Tue, 21 Mar 2000 00:39:10 +0000 (00:39 +0000)]
(make_frame): Don't allocate f->fontset_data.
(Fdelete_frame): Don't free f->fontset_data.

24 years ago(FONT_NOT_OPENED, FONT_NOT_FOUND): Macros removed.
Kenichi Handa [Tue, 21 Mar 2000 00:38:44 +0000 (00:38 +0000)]
(FONT_NOT_OPENED, FONT_NOT_FOUND): Macros removed.
(struct fontset_info, struct fontset_data): Structs removed.
(allloc_fontset_data, free_fontset_data, fs_regiser_fontset,
Vglobale_fontset_alist, font_idx_temp): Externs removed.
(fs_load_font, fs_query_fontset): Adjusted for new argument.
(fs_free_face_fontset, fontset_font_pattern,
face_suitable_for_char_p, face_for_char,
make_fontset_for_ascii_face): Extern them.
(FS_LOAD_FONT): Adjusted for the change of fontset implementation.
(FS_LOAD_FACE_FONT): New macro.

24 years agoAll codes rewritten or adjusted for the change of
Kenichi Handa [Tue, 21 Mar 2000 00:38:14 +0000 (00:38 +0000)]
All codes rewritten or adjusted for the change of
fontset implementation.  Now fontset is represented by char table.
(Vglobal_fontset_alist, font_idx_temp, my_strcasetbl): Variables
removed.
(my_strcasecmp): Function removed.
(Vfontset_table, next_fontset_id, Vdefault_fontset): New
variables.
(AREF, ASIZE): New macros.
(FONTSET_FROM_ID, FONTSET_ID, FONTSET_NAME, FONTSET_FRAME,
FONTSET_ASCII, FONTSET_BASE, BASE_FONTSET_P, FONTSET_REF,
FONTSET_REF_VIA_BASE, FONTSET_SET): New macros.
(fontset_ref, fontset_ref_via_base, fontset_set, make_fontset,
fontset_id_valid_p, font_family_registry, fontset_name,
fontset_ascii, free_face_fontset, face_suitable_for_char_p,
face_for_char, make_fontset_for_ascii_face, fontset_font_pattern):
New functions.
(fs_load_font): New arg FACE.  Caller changed.
(fs_query_fontset): Argument changed.  Caller changed.
(Fquery_fontset): call fs_query_fontset.
(fs_register_fontset, alloc_fontset_data, free_fontset_data):
Functions removed.
(clear_fontset_elements, check_registry_encoding,
check_fontset_name): New functions.
(syms_of_fontset): Set char-table-extra-slots property of fontset
to 3.  Staticpro and initialize Vfontset_table and
Vdefault_fontset.  Defsubr fontset_font and fontset_list.

24 years ago(optimize_sub_char_table): New function.
Kenichi Handa [Tue, 21 Mar 2000 00:37:25 +0000 (00:37 +0000)]
(optimize_sub_char_table): New function.
(Foptimize_char_table): New function.
(syms_of_fns): Defsubr Soptimize_char_table.

24 years ago(struct glyph): New member glyph_not_available_p.
Kenichi Handa [Tue, 21 Mar 2000 00:36:45 +0000 (00:36 +0000)]
(struct glyph): New member glyph_not_available_p.
Use 22 bits for face_id.
(enum lface_attribute_index): Add LFACE_FONT_INDEX.
(struct face): Delete member registry, new member ascii_face.
(FACE_SUITABLE_FOR_CHAR_P): Renamed from
FACE_SUITABLE_FOR_CHARSET_P.  Caller changed.
(FACE_FOR_CHAR): Renamed from FACE_FOR_CHARSET.  Caller changed.
(struct it): Delete member charset, new member
glyph_not_available_p.

24 years ago(mark_face_cache): Don't mark face->registry.
Kenichi Handa [Tue, 21 Mar 2000 00:36:12 +0000 (00:36 +0000)]
(mark_face_cache): Don't mark face->registry.

24 years agoFontsets related initialization is simplified.
Kenichi Handa [Tue, 21 Mar 2000 00:34:45 +0000 (00:34 +0000)]
Fontsets related initialization is simplified.