bpt/emacs.git
21 years ago*** empty log message ***
Stefan Monnier [Thu, 5 Jun 2003 01:28:15 +0000 (01:28 +0000)]
*** empty log message ***

21 years ago(sgml-parse-tag-backward): Try and detect
Stefan Monnier [Thu, 5 Jun 2003 01:14:23 +0000 (01:14 +0000)]
(sgml-parse-tag-backward): Try and detect
when we're starting from within a tag.
(sgml-get-context): When called from inside a tag, do something useful.
Rename the arg now that it's never used for `full' context anymore.
(sgml-calculate-indent): Make `lcon' an argument.
Return nil when we don't know what to do.
If the initial lcon turns out to be wrong, try again.
(sgml-indent-line): If sgml-calculate-indent returns nil, don't indent.

21 years ago(coordinates_in_window): Convert X and Y to window
Kim F. Storm [Thu, 5 Jun 2003 00:36:28 +0000 (00:36 +0000)]
(coordinates_in_window): Convert X and Y to window
relative coordinates inside mode-line and header-line parts.
Convert X and Y to margin area relative coordinates inside left
and right display margin parts.

21 years ago*** empty log message ***
Kim F. Storm [Thu, 5 Jun 2003 00:36:09 +0000 (00:36 +0000)]
*** empty log message ***

21 years ago(add_system_logical_colors_to_map): New function.
Jason Rumney [Thu, 5 Jun 2003 00:01:03 +0000 (00:01 +0000)]
(add_system_logical_colors_to_map): New function.
(Fx_open_connection): Use it.

21 years ago(allocate_pty): Revert part of the previous patch.
Stefan Monnier [Wed, 4 Jun 2003 23:21:11 +0000 (23:21 +0000)]
(allocate_pty): Revert part of the previous patch.
(Faccept_process_output): Simplify.

21 years ago(Info-fontify-node): Individually refill menus and
Kim F. Storm [Wed, 4 Jun 2003 23:15:29 +0000 (23:15 +0000)]
(Info-fontify-node): Individually refill menus and
paragraphs to preserve menu items and varying indentation.
Only color first 9 menu items differently.

21 years ago*** empty log message ***
Kim F. Storm [Wed, 4 Jun 2003 23:13:18 +0000 (23:13 +0000)]
*** empty log message ***

21 years agoAdd new maintainer.
Juanma Barranquero [Wed, 4 Jun 2003 22:23:31 +0000 (22:23 +0000)]
Add new maintainer.

21 years ago*** empty log message ***
Jason Rumney [Wed, 4 Jun 2003 22:09:45 +0000 (22:09 +0000)]
*** empty log message ***

21 years ago(enum event_kind): Remove MOUSE_WHEEL_EVENT.
Jason Rumney [Wed, 4 Jun 2003 22:08:47 +0000 (22:08 +0000)]
(enum event_kind): Remove MOUSE_WHEEL_EVENT.

21 years ago(Qmouse_wheel, mouse_wheel_syms, lispy_mouse_wheel_names): Remove.
Jason Rumney [Wed, 4 Jun 2003 22:05:52 +0000 (22:05 +0000)]
(Qmouse_wheel, mouse_wheel_syms, lispy_mouse_wheel_names): Remove.
(syms_of_keyboard): Remove Qmouse_wheel and mouse_wheel_syms.
Always define drag_and_drop_syms.

21 years ago(XTread_socket): Map mouse wheel events to Emacs
Jason Rumney [Wed, 4 Jun 2003 22:03:44 +0000 (22:03 +0000)]
(XTread_socket): Map mouse wheel events to Emacs
WHEEL_EVENT events.

21 years agoNo need to bind wheel events specially.
Jason Rumney [Wed, 4 Jun 2003 21:54:08 +0000 (21:54 +0000)]
No need to bind wheel events specially.

21 years ago(mouse-wheel-down-event, mouse-wheel-up-event):
Jason Rumney [Wed, 4 Jun 2003 21:53:00 +0000 (21:53 +0000)]
(mouse-wheel-down-event, mouse-wheel-up-event):
Default to new wheel-up and wheel-down events on MacOS.

21 years ago(yank-excluded-properties): Expand documentation string.
Luc Teirlinck [Wed, 4 Jun 2003 21:13:41 +0000 (21:13 +0000)]
(yank-excluded-properties): Expand documentation string.

21 years ago*** empty log message ***
Luc Teirlinck [Wed, 4 Jun 2003 21:10:29 +0000 (21:10 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Stefan Monnier [Wed, 4 Jun 2003 19:26:51 +0000 (19:26 +0000)]
*** empty log message ***

21 years ago_buffer_size): If coding->type is
Kenichi Handa [Wed, 4 Jun 2003 12:43:09 +0000 (12:43 +0000)]
_buffer_size): If coding->type is
coding_type_ccl, double magnification on CRLF encoding.

21 years ago*** empty log message ***
Richard M. Stallman [Wed, 4 Jun 2003 09:48:59 +0000 (09:48 +0000)]
*** empty log message ***

21 years ago(lm-keywords-finder-p): Use with-no-warnings.
Richard M. Stallman [Wed, 4 Jun 2003 09:48:50 +0000 (09:48 +0000)]
(lm-keywords-finder-p): Use with-no-warnings.

21 years ago*** empty log message ***
Richard M. Stallman [Wed, 4 Jun 2003 09:42:47 +0000 (09:42 +0000)]
*** empty log message ***

21 years ago(gud-minor-mode-type): Move defvar up.
Richard M. Stallman [Wed, 4 Jun 2003 09:42:37 +0000 (09:42 +0000)]
(gud-minor-mode-type): Move defvar up.

21 years ago(compilation-next-error): When moving fwd,
Richard M. Stallman [Wed, 4 Jun 2003 09:31:46 +0000 (09:31 +0000)]
(compilation-next-error): When moving fwd,
compare position of point with the errors.

21 years ago(Expressions): Delete C-M-DEL.
Richard M. Stallman [Wed, 4 Jun 2003 09:30:10 +0000 (09:30 +0000)]
(Expressions): Delete C-M-DEL.

21 years ago(Shell Options): Clarify comint-scroll-show-maximum-output.
Richard M. Stallman [Wed, 4 Jun 2003 09:28:58 +0000 (09:28 +0000)]
(Shell Options): Clarify comint-scroll-show-maximum-output.
comint-move-point-for-output renamed from comint-scroll-to-bottom-on-output.

21 years agoDon't mention etc/ORDERS.
Richard M. Stallman [Wed, 4 Jun 2003 09:26:40 +0000 (09:26 +0000)]
Don't mention etc/ORDERS.

21 years ago(Init Rebinding): Replace previous change with xref.
Richard M. Stallman [Wed, 4 Jun 2003 09:26:06 +0000 (09:26 +0000)]
(Init Rebinding): Replace previous change with xref.
(Non-ASCII Rebinding): Explain that issue more briefly here.

21 years agoUpdate the example and explanation about let and buffer-local bindings.
Richard M. Stallman [Wed, 4 Jun 2003 09:25:00 +0000 (09:25 +0000)]
Update the example and explanation about let and buffer-local bindings.

21 years agobase64-decode-string returns unibyte string.
Richard M. Stallman [Wed, 4 Jun 2003 09:03:40 +0000 (09:03 +0000)]
base64-decode-string returns unibyte string.

21 years ago(dired-get-filename): Err for . and .. in usual case.
Richard M. Stallman [Wed, 4 Jun 2003 09:02:55 +0000 (09:02 +0000)]
(dired-get-filename): Err for . and .. in usual case.
(dired-get-file-for-visit): Specify no-error to dired-get-filename,
and check for real errors here.
(dired-unmark-all-files): Specify no-error to dired-get-filename.

21 years ago(list-buffers-noselect): Use window-inside-edges
Richard M. Stallman [Wed, 4 Jun 2003 09:00:22 +0000 (09:00 +0000)]
(list-buffers-noselect): Use window-inside-edges
to compute the number of offset spaces.
(list-buffers-noselect): Use Buffer-menu-buffer+size to
indent the dashes properly.  Put some in fixed-pitch.

21 years ago(desktop-create-buffer): Undo last change.
Juanma Barranquero [Tue, 3 Jun 2003 23:35:20 +0000 (23:35 +0000)]
(desktop-create-buffer): Undo last change.
(desktop-kill, desktop-save, desktop-remove): Use expand-directory rather than
concat to construct desktop filename.
(desktop-kill, desktop-read, desktop-change-dir): Ensure desktop-dirname is a
directory name.
(desktop-change-dir): Fix bug when DIR was relative.

21 years ago(after-find-file): Fix arguments of call to `sit-for'.
Juanma Barranquero [Tue, 3 Jun 2003 23:23:06 +0000 (23:23 +0000)]
(after-find-file): Fix arguments of call to `sit-for'.

21 years ago(last-sexp-toggle-display): Remove stale comment.
Juanma Barranquero [Tue, 3 Jun 2003 23:14:25 +0000 (23:14 +0000)]
(last-sexp-toggle-display): Remove stale comment.

21 years ago(update_tool_bar): Add missing UNGCPRO.
Stefan Monnier [Tue, 3 Jun 2003 22:36:13 +0000 (22:36 +0000)]
(update_tool_bar): Add missing UNGCPRO.

21 years ago(Info-extract-menu-node-name): Remove unused arg `errmessage'.
Stefan Monnier [Tue, 3 Jun 2003 21:44:53 +0000 (21:44 +0000)]
(Info-extract-menu-node-name): Remove unused arg `errmessage'.
(Info-follow-reference): Update corresponding call.
(Info-node-spec-re): New const.
(Info-complete-menu-item): Use it to only allow : when necessary.
(Info-fontify-node): USe it as well.  Fixup typo.

21 years ago(info-fontify-node): Use better help-echo text.
Stefan Monnier [Tue, 3 Jun 2003 20:56:59 +0000 (20:56 +0000)]
(info-fontify-node): Use better help-echo text.

21 years ago(Info-fontify-node): Use :align-to display prop.
Stefan Monnier [Tue, 3 Jun 2003 20:28:21 +0000 (20:28 +0000)]
(Info-fontify-node): Use :align-to display prop.
Use `invisible' rather than `display' prop to hide text.

21 years ago(Info-mode-hook): Obey obsolete `Info-fontify'.
Stefan Monnier [Tue, 3 Jun 2003 19:54:42 +0000 (19:54 +0000)]
(Info-mode-hook): Obey obsolete `Info-fontify'.
(Info-find-in-tag-table-1): Remove unused vars.
(Info-display-images-node): Remove unused var paragraph-markers.
(Info-header-line): Remove.
(Info-select-node): Don't set it.
(Info-search): Remove unused var `current'.
(Info-follow-reference): Remove unused var `beg'.
(Info-extract-menu-node-name): Remove unused var `i'.
(Info-complete-menu-item): Use `with-current-buffer'.
(Info-index): Remove unused var `rnode'.
(Info-mode): Set header-line-format to check text-properties directly.
(Info-find-emacs-command-nodes): Remove unused var `found' and `exact'.
(Info-fontify-node): Use `push'.
(Info-speedbar-hierarchy-buttons): Use `dolist'.
(Info-speedbar-goto-node, Info-speedbar-fetch-file-nodes):
Check the return value of `string-match'.
(Info-speedbar-fetch-file-nodes): Factor out common code.

21 years ago*** empty log message ***
Stefan Monnier [Tue, 3 Jun 2003 19:15:59 +0000 (19:15 +0000)]
*** empty log message ***

21 years ago* gtkutil.c (make_menu_item): Make sure we don't crash on a NULL
Jan Djärv [Tue, 3 Jun 2003 17:38:41 +0000 (17:38 +0000)]
* gtkutil.c (make_menu_item): Make sure we don't crash on a NULL
  menu item label.

21 years ago(init_buffer_once): Make kill-buffer-hook permanent-local.
Stefan Monnier [Tue, 3 Jun 2003 13:30:08 +0000 (13:30 +0000)]
(init_buffer_once): Make kill-buffer-hook permanent-local.

21 years ago(custom-get-fresh-buffer): Test for nonexistence buffer.
Lute Kamstra [Tue, 3 Jun 2003 11:24:42 +0000 (11:24 +0000)]
(custom-get-fresh-buffer): Test for nonexistence buffer.

21 years ago*** empty log message ***
Richard M. Stallman [Tue, 3 Jun 2003 11:13:08 +0000 (11:13 +0000)]
*** empty log message ***

21 years ago(Fwindow_edges): Doc fix.
Richard M. Stallman [Tue, 3 Jun 2003 11:12:48 +0000 (11:12 +0000)]
(Fwindow_edges): Doc fix.
(Fwindow_pixel_edges, Fwindow_inside_edges)
(Fwindow_inside_pixel_edges): New functions.
(syms_of_window): defsubr them.

21 years ago(WINDOW_LEFT_FRINGE_COLS, WINDOW_RIGHT_FRINGE_COLS)
Richard M. Stallman [Tue, 3 Jun 2003 11:11:56 +0000 (11:11 +0000)]
(WINDOW_LEFT_FRINGE_COLS, WINDOW_RIGHT_FRINGE_COLS)
(WINDOW_MODE_LINE_LINES, WINDOW_HEADER_LINE_LINES): New macros.

21 years ago(eval-last-sexp-1): Add save-excursion.
Richard M. Stallman [Tue, 3 Jun 2003 11:10:31 +0000 (11:10 +0000)]
(eval-last-sexp-1): Add save-excursion.

21 years ago(windmove-reference-loc, windmove-frame-edges): Use window-inside-edges.
Richard M. Stallman [Tue, 3 Jun 2003 11:09:56 +0000 (11:09 +0000)]
(windmove-reference-loc, windmove-frame-edges): Use window-inside-edges.
(windmove-do-window-select): Fix error messages.

21 years ago(after-find-file): Simplify msg if nonexistent directory.
Richard M. Stallman [Tue, 3 Jun 2003 11:08:25 +0000 (11:08 +0000)]
(after-find-file): Simplify msg if nonexistent directory.
(make-directory): Doc fix.

21 years ago(dabbrev--goto-start-of-abbrev): Use minibuffer-prompt-end.
Richard M. Stallman [Tue, 3 Jun 2003 11:07:23 +0000 (11:07 +0000)]
(dabbrev--goto-start-of-abbrev): Use minibuffer-prompt-end.

21 years ago(comint-move-point-for-output): Renamed from
Richard M. Stallman [Tue, 3 Jun 2003 11:06:42 +0000 (11:06 +0000)]
(comint-move-point-for-output): Renamed from
comint-scroll-to-bottom-on-output.  Old name is alias.
Doc fix.  All uses changed.
(comint-scroll-show-maximum-output): Doc fix.

(comint-exec-1): Don't use directory-sep-char.
(comint-dynamic-complete-as-filename): Likewise.

21 years ago(global-map): Delete C-M-delete and C-M-backspace.
Richard M. Stallman [Tue, 3 Jun 2003 11:04:06 +0000 (11:04 +0000)]
(global-map): Delete C-M-delete and C-M-backspace.

21 years agoDelete mention of etc/ORDERS file. Say VMS and Apollo systems were
Richard M. Stallman [Tue, 3 Jun 2003 11:03:20 +0000 (11:03 +0000)]
Delete mention of etc/ORDERS file.  Say VMS and Apollo systems were
supported only in past.

21 years ago(ps-mode): Use autoload cookie in the standard way.
Markus Rost [Tue, 3 Jun 2003 04:15:06 +0000 (04:15 +0000)]
(ps-mode): Use autoload cookie in the standard way.

21 years ago(bibtex-member-of-regexp, bibtex-assoc-of-regexp, bibtex-format-entry)
Stefan Monnier [Mon, 2 Jun 2003 22:41:50 +0000 (22:41 +0000)]
(bibtex-member-of-regexp, bibtex-assoc-of-regexp, bibtex-format-entry)
(bibtex-find-entry, bibtex-autokey-demangle-name, bibtex-string-files-init)
(bibtex-mode): Fix up regexp usage and use match-string.

21 years agoLong overdue merge.
Stefan Monnier [Mon, 2 Jun 2003 22:30:09 +0000 (22:30 +0000)]
Long overdue merge.
Don't require `compile' since it seems unnecessary.
For all internal variables and functions the docstring comments have
been converted into proper docstrings
(bibtex-maintainer-address, bibtex-maintainer-salutation)
(bibtex-version): Remove support for bug reporting.
(bibtex-field-delimiters, bibtex-entry-delimiters)
(bibtex-sort-ignore-string-entries, bibtex-maintain-sorted-entries)
Replace make-variable-buffer-local by make-local-variable for
(bibtex-entry-format): New tag `required-fields'.
(bibtex-maintain-sorted-entries): New var.
(bibtex-sort-entry-class, bibtex-sort-entry-class-alist): New vars.
(bibtex-predefined-month-strings, bibtex-predefined-strings):
Make into alists with pairs (abbreviation expansion).
(bibtex-autokey-titleword-change-strings)
(bibtex-autokey-transcriptions): Make into alists.
Add new replacement pairs.
(bibtex-autokey-use-crossref): New var.
Replace bibtex-autokey-year-use-crossref-entry because updated code
for autokey generation handles crossrefs independently of
particular fields.
(bibtex-reference-key, bibtex-mode-syntax-table):
Remove = because it can't be part of a string's key.
(bibtex-complete-key-cleanup): New var.
(bibtex-complete): Merge bibtex-complete-string and bibtex-complete-key
into it (and bind to M-tab).
(bibtex-valid-entry-re, bibtex-any-valid-entry-re)
(bibtex-valid-entry-whitespace-re, bibtex-empty-field-re)
(bibtex-quoted-string-re): New vars.
(bibtex-field-name-for-parsing): Don't make-variable-buffer-local.
(zmacs-regions): Declare to quieten the byte-compiler.
(bibtex-comment-start): Don't include the space.
(bibtex-font-lock-syntactic-keywords): New var.
(bibtex-font-lock-keywords): Remove the entry for @Comment.
(bibtex-parse-field-string): Merge the functionality of
bibtex-parse-field-string-braced, bibtex-parse-quoted-string and
bibtex-parse-field-string-quoted.
(bibtex-search-forward-field-string): Remove.
(bibtex-parse-association): Use when.
(bibtex-parse-field-name): Use when.
(bibtex-parse-field-text): Use when and cond.
(bibtex-parse-field): Use let.
(bibtex-search-forward-field, bibtex-search-backward-field):
Make bound optional, use let, setq, and cddr.
(bibtex-start-of-field, bibtex-start-of-name-in-field)
(bibtex-end-of-name-in-field): Use nth.
(bibtex-name-in-field, bibtex-text-in-field-bounds)
(bibtex-text-in-field, bibtex-type-in-head, bibtex-key-in-head)
(bibtex-text-in-string): New functions.
(bibtex-reference-key-in-string): New fun.  Merge of
bibtex-start-of-reference-key-in-string and
bibtex-end-of-reference-key-in-string.
(bibtex-parse-string-prefix): Use let and when.
(bibtex-parse-string-postfix): Use when.
(bibtex-search-forward-string, bibtex-search-backward-string):
Use save-excursion and setq.
(bibtex-member-of-regexp): Use let.
(bibtex-assoc-of-regexp): Use caar und let.
(bibtex-skip-to-valid-entry): Return buffer position.
(bibtex-map-entries): Use save-excursion.
(bibtex-progress-message): Simplify.
(bibtex-search-entry): Use skip-chars-forward, when, save-match-data.
(bibtex-move-outside-of-entry): Handle the case that point is before
first entry.
(bibtex-enclosing-field): Use save-excursion, when.
(bibtex-format-field-delimiters): Merge into bibtex-format-entry.
(bibtex-enclosing-entry-maybe-empty-head): Simplify.
(bibtex-format-entry): Simplify.  Handle new tag required-fields of
bibtex-entry-format.
(bibtex-autokey-abbrev): Accept negative values of len.
(bibtex-autokey-get-field, bibtex-autokey-demangle-title): New funs.
(bibtex-autokey-get-namefield, bibtex-autokey-get-namelist)
(bibtex-autokey-get-yearfield-digits, bibtex-autokey-get-yearfield)
(bibtex-autokey-get-titlestring): Remove.
(bibtex-autokey-get-names): Simplify.
(bibtex-autokey-get-titles): Rename to bibtex-autokey-get-title.
(bibtex-autokey-demangle-name): Simplify, avoid error messages.
(bibtex-generate-autokey): Simplify.
(bibtex-parse-keys): Simplify, use push.
(bibtex-parse-strings): New fun similar to bibtex-parse-keys.
(bibtex-string-files-init): New fun.
(bibtex-parse-buffers-stealthily): Use bibtex-parse-keys,
bibtex-string-files-init and bibtex-parse-strings.
(bibtex-complete): Rename to bibtex-complete-internal, use push,
bibtex-reference-key-in-string, no sorting.
(bibtex-complete-string-cleanup): New fun, displays expansion of
completed strings.
(bibtex-choose-completion-string): New fun.  Required for
choose-completion-string-functions.
(bibtex-do-auto-fill): Remove.  Set fill-prefix in bibtex-mode.
(bibtex-pop): Simplify.
(bibtex-mode): Move setting of bibtex-string to bibtex-parse-strings.
Set choose-completion-string-functions.
(bibtex-print-help-message,bibtex-make-field, bibtex-end-of-entry)
(bibtex-count-entries): Simplify.
(bibtex-entry-index, bibtex-lessp): New funs for generalized sorting
scheme of indices, see bibtex-maintain-sorted-entries.
(bibtex-sort-buffer): Use bibtex-lessp for sorting.
(bibtex-find-crossref, bibtex-find-entry): New funs.
(bibtex-find-entry-location): Rename to bibtex-prepare-new-entry, use
bibtex-lessp, Simplify.
(bibtex-validate): Simplify.  Fixe bug of internal variable
questionable-month.
(bibtex-remove-OPT-or-ALT): Use when.
(bibtex-remove-delimiters, bibtex-kill-field, bibtex-kill-entry)
(bibtex-clean-entry, bibtex-fill-entry, bibtex-reformat): Simplify.
(bibtex-convert-alien): Use deactivate-mark rather than the
non-existent bibtex-mark-active variable.
(bibtex-complete-string, bibtex-complete-key): Merge into new
`smart' defun bibtex-complete.
(bibtex-String): Update for new sorting scheme, distinguish empty and
non-empty key strings.

21 years ago(sort-subr): Add `predicate' arg. Remove `sortcar' code.
Stefan Monnier [Mon, 2 Jun 2003 21:19:38 +0000 (21:19 +0000)]
(sort-subr): Add `predicate' arg.  Remove `sortcar' code.

21 years ago(Fsit_for): Don't lie about the number of args.
Stefan Monnier [Mon, 2 Jun 2003 20:39:12 +0000 (20:39 +0000)]
(Fsit_for): Don't lie about the number of args.

21 years agoChanges from yesterday
Jason Rumney [Mon, 2 Jun 2003 19:50:05 +0000 (19:50 +0000)]
Changes from yesterday

21 years agoRevert changes of 2003-03-03 and 2003-05-28.
Juanma Barranquero [Mon, 2 Jun 2003 19:26:18 +0000 (19:26 +0000)]
Revert changes of 2003-03-03 and 2003-05-28.

21 years agoInclude keyboard.h, charset.h, coding.h.
Dave Love [Mon, 2 Jun 2003 18:50:51 +0000 (18:50 +0000)]
Include keyboard.h, charset.h, coding.h.
(xg_create_frame_widgets): Use ENCODE_UTF_8.

21 years ago(ENCODE_UTF_8): New.
Dave Love [Mon, 2 Jun 2003 18:49:53 +0000 (18:49 +0000)]
(ENCODE_UTF_8): New.
(Qutf_8): Declare.

21 years ago(Qutf_8): New.
Dave Love [Mon, 2 Jun 2003 18:49:29 +0000 (18:49 +0000)]
(Qutf_8): New.
(syms_of_coding): Intern it.

21 years ago(Qutf_8): Moved to coding.c
Dave Love [Mon, 2 Jun 2003 18:48:55 +0000 (18:48 +0000)]
(Qutf_8): Moved to coding.c

21 years ago(ENCODE_MENU_STRING): New.
Dave Love [Mon, 2 Jun 2003 18:48:43 +0000 (18:48 +0000)]
(ENCODE_MENU_STRING): New.
(list_of_panes, list_of_items, digest_single_submenu, xmenu_show):
Use it.

21 years agoUse HAVE_FCNTL_H, not USG5.
Dave Love [Mon, 2 Jun 2003 18:46:55 +0000 (18:46 +0000)]
Use HAVE_FCNTL_H, not USG5.
(syms_of_callproc) <process-environment>: Doc fix.

21 years agoUse HAVE_FCNTL_H, not USG5.
Dave Love [Mon, 2 Jun 2003 18:45:00 +0000 (18:45 +0000)]
Use HAVE_FCNTL_H, not USG5.

21 years ago(font_rescale_ratio): Fix for K&R.
Dave Love [Mon, 2 Jun 2003 18:43:11 +0000 (18:43 +0000)]
(font_rescale_ratio): Fix for K&R.

21 years agoUse HAVE_FCNTL_H, not _POSIX_VERSION.
Dave Love [Mon, 2 Jun 2003 18:42:13 +0000 (18:42 +0000)]
Use HAVE_FCNTL_H, not _POSIX_VERSION.

21 years agoUse HAVE_SYS_RESOURCE_H, HAVE_SYS_VLIMIT_H.
Dave Love [Mon, 2 Jun 2003 18:39:39 +0000 (18:39 +0000)]
Use HAVE_SYS_RESOURCE_H, HAVE_SYS_VLIMIT_H.

21 years ago[HAVE_FCNTL_H]: Include fcntl.h.
Dave Love [Mon, 2 Jun 2003 18:36:33 +0000 (18:36 +0000)]
[HAVE_FCNTL_H]: Include fcntl.h.

21 years agoDoc fixes.
Dave Love [Mon, 2 Jun 2003 18:31:29 +0000 (18:31 +0000)]
Doc fixes.

21 years ago(lm-synopsis): Use relative filenames correctly. Show the synopsis to
Lute Kamstra [Mon, 2 Jun 2003 10:23:19 +0000 (10:23 +0000)]
(lm-synopsis): Use relative filenames correctly.  Show the synopsis to
the user when appropriate.  Do not kill buffers that were created
outside `lm-synopsis'.

21 years ago(Fset_buffer_multibyte): Fix previous change.
Kenichi Handa [Mon, 2 Jun 2003 00:54:20 +0000 (00:54 +0000)]
(Fset_buffer_multibyte): Fix previous change.

21 years ago*** empty log message ***
Kenichi Handa [Mon, 2 Jun 2003 00:54:06 +0000 (00:54 +0000)]
*** empty log message ***

21 years ago(Fset_buffer_multibyte): Correctly recover a narrowed
Kenichi Handa [Sun, 1 Jun 2003 23:28:42 +0000 (23:28 +0000)]
(Fset_buffer_multibyte): Correctly recover a narrowed
region when a buffer is changed to unibyte.

21 years agoVersion 1.6
Juanma Barranquero [Sun, 1 Jun 2003 23:07:31 +0000 (23:07 +0000)]
Version 1.6
Take into account changes made to the display margins, fringes and
scroll-bar handling.
(ruler-mode-margins-char): Removed.  Not used anymore.
(ruler-mode-pad-face, ruler-mode-fringes-face): New faces.
(ruler-mode-margins-face): New definition.  Moved.
(ruler-mode-left-fringe-cols)
(ruler-mode-right-fringe-cols)
(ruler-mode-left-scroll-bar-cols)
(ruler-mode-right-scroll-bar-cols): Reimplemented.  Moved.
(ruler-mode-full-window-width)
(ruler-mode-window-col): New functions.
(ruler-mode-mouse-set-left-margin)
(ruler-mode-mouse-set-right-margin)
(ruler-mode-mouse-add-tab-stop)
(ruler-mode-mouse-del-tab-stop): Reimplemented.
(ruler-mode-mouse-current-grab-object): Renamed to...
(ruler-mode-dragged-symbol): New.
(ruler-mode-mouse-grab-any-column): Use it.  Cleaned up.
(ruler-mode-mouse-drag-any-column): Likewise.
(ruler-mode-mouse-drag-any-column-iteration): Simplified.
(ruler-mode): Restore previous `header-line-format' if
`ruler-mode-header-line-format-old' has a local binding in current
buffer.
(ruler-mode-left-margin-help-echo)
(ruler-mode-right-margin-help-echo): Removed.
(ruler-mode-margin-help-echo)
(ruler-mode-fringe-help-echo): New constants.
(ruler-mode-ruler): Use them.  Reimplemented.

21 years ago(mouse-wheel-down-event, mouse-wheel-up-event):
Jason Rumney [Sun, 1 Jun 2003 22:14:30 +0000 (22:14 +0000)]
(mouse-wheel-down-event, mouse-wheel-up-event):
Default to new wheel-up and wheel-down events on Windows.

21 years agoNo need to bind wheel events specially.
Jason Rumney [Sun, 1 Jun 2003 22:13:07 +0000 (22:13 +0000)]
No need to bind wheel events specially.

21 years agoMake last change compile on MSVC
Jason Rumney [Sun, 1 Jun 2003 21:48:53 +0000 (21:48 +0000)]
Make last change compile on MSVC

21 years ago(Qmouse_wheel): Declare only if MAC_OSX defined.
Jason Rumney [Sun, 1 Jun 2003 21:40:38 +0000 (21:40 +0000)]
(Qmouse_wheel): Declare only if MAC_OSX defined.
(mouse_wheel_syms, lispy_mouse_wheel_names): Likewise.
(discard_mouse_events): Discard WHEEL_EVENT events too.
(lispy_wheel_names, wheel_syms): New.
(syms_of_keyboard): Init and staticpro `wheel_syms'.  Init and
staticpro `Qmouse_wheel' and `mouse_wheel_syms' only if MAC_OSX
defined.
(make_lispy_event): Added WHEEL_EVENT handler.

21 years ago(enum event_kind): Added new WHEEL_EVENT event.
Jason Rumney [Sun, 1 Jun 2003 21:39:26 +0000 (21:39 +0000)]
(enum event_kind): Added new WHEEL_EVENT event.
Declare MOUSE_WHEEL_EVENT only if MAC_OSX defined.

21 years ago(construct_mouse_wheel): Construct WHEEL_EVENT.
Jason Rumney [Sun, 1 Jun 2003 21:38:37 +0000 (21:38 +0000)]
(construct_mouse_wheel): Construct WHEEL_EVENT.
(w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs
WHEEL_EVENT events.

21 years ago(custom-get-fresh-buffer): Be extra paranoid,
Stefan Monnier [Sun, 1 Jun 2003 18:40:10 +0000 (18:40 +0000)]
(custom-get-fresh-buffer): Be extra paranoid,
just in case some used a file of the wrong name.

21 years ago(openp): Make sure STR is a string.
Stefan Monnier [Sun, 1 Jun 2003 18:03:00 +0000 (18:03 +0000)]
(openp): Make sure STR is a string.

21 years ago(sh-is-quoted-p): New fun.
Stefan Monnier [Sun, 1 Jun 2003 17:36:41 +0000 (17:36 +0000)]
(sh-is-quoted-p): New fun.
(sh-font-lock-paren): Use it to allow \C in case patterns.
(sh-get-indent-info): Check the \n before the line for string-status.
(sh-feature): Remove unused var `function'.
(sh-get-indent-info): Remove unused variables.
(sh-prev-thing): Remove unused vars `going', `n', and `found'.
(sh-set-indent): Remove unused var `new-val' and `val0'.
(sh-learn-buffer-indent): Remove unused vars `last-pos' and `lines'.
(sh-guess-basic-offset): Remove unused var `return' and `j'.

21 years ago2003-06-01 Michael Kifer <kifer@cs.stonybrook.edu>
Michael Kifer [Sun, 1 Jun 2003 17:17:10 +0000 (17:17 +0000)]
2003-06-01  Michael Kifer  <kifer@cs.stonybrook.edu>

* desktop.el (desktop-create-buffer): Added (desktop-first-buffer) to
the let-statement to avoid the startup error that desktop-first-buffer
is undefined.

21 years ago(Man-name-regexp): Also match Latin-1 soft hyphen.
Andreas Schwab [Sun, 1 Jun 2003 17:09:32 +0000 (17:09 +0000)]
(Man-name-regexp): Also match Latin-1 soft hyphen.
(Man-build-references-alist): Handle Latin-1 soft hyphen.

21 years ago*** empty log message ***
Stefan Monnier [Sun, 1 Jun 2003 00:55:17 +0000 (00:55 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Stefan Monnier [Sat, 31 May 2003 23:36:11 +0000 (23:36 +0000)]
*** empty log message ***

21 years ago(lisp, shortlisp): byte-run, float-sup, map-ynp, and
John Paul Wallington [Sat, 31 May 2003 22:18:22 +0000 (22:18 +0000)]
(lisp, shortlisp): byte-run, float-sup, map-ynp, and
timer are in lisp/emacs-lisp.

21 years ago(view-file, view-file-other-window, view-file-other-frame):
Stefan Monnier [Sat, 31 May 2003 17:53:24 +0000 (17:53 +0000)]
(view-file, view-file-other-window, view-file-other-frame):
Signal an error when trying to visit an inexistent file.

21 years ago(vc-call-backend): Give better error message when backend function is missing.
Stefan Monnier [Sat, 31 May 2003 17:43:28 +0000 (17:43 +0000)]
(vc-call-backend): Give better error message when backend function is missing.
(vc-find-file-hook): USe unless.  Merge if and cond.

21 years ago(vc-directory-exclusion-list): Add MCVS and .svn.
Stefan Monnier [Sat, 31 May 2003 16:47:57 +0000 (16:47 +0000)]
(vc-directory-exclusion-list): Add MCVS and .svn.
(vc-checkin-hook): Adjust option to new name.

21 years ago(log-edit-maximum-comment-ring-size, log-edit-comment-ring)
Stefan Monnier [Sat, 31 May 2003 16:43:30 +0000 (16:43 +0000)]
(log-edit-maximum-comment-ring-size, log-edit-comment-ring)
(log-edit-comment-ring-index, log-edit-last-comment-match): Rename vars from
vc-maximum-comment-ring-size, vc-comment-ring, vc-comment-ring-index,
and vc-last-comment-match.
(log-edit-new-comment-index, log-edit-previous-comment)
(log-edit-next-comment, log-edit-comment-search-backward)
(log-edit-comment-search-forward, log-edit-comment-to-change-log):
Rename funs from vc-new-comment-index, vc-previous-comment,
vc-next-comment, vc-comment-search-reverse, vc-comment-search-forward,
and vc-comment-to-change-log.

21 years ago(iswitchb-buffer-ignore): Update custom type to allow functions.
Stephen Eglen [Sat, 31 May 2003 16:21:25 +0000 (16:21 +0000)]
(iswitchb-buffer-ignore): Update custom type to allow functions.

21 years ago(iconify-or-deiconify-frame): Move to frame.el.
Stefan Monnier [Sat, 31 May 2003 16:03:11 +0000 (16:03 +0000)]
(iconify-or-deiconify-frame): Move to frame.el.

21 years ago(widget-specify-insert): Simplify.
Stefan Monnier [Sat, 31 May 2003 15:33:09 +0000 (15:33 +0000)]
(widget-specify-insert): Simplify.
(widget-editable-list-entry-create): Don't assume that %d and %i are
in the format string.
(widget-map-buttons): Remove unused var `parent'.
(widget-move): Remove unused shadowed var `new'.
(widget-color-action): Remove unused var `pos'.

21 years ago(custom-get-fresh-buffer): New fun.
Stefan Monnier [Sat, 31 May 2003 15:23:00 +0000 (15:23 +0000)]
(custom-get-fresh-buffer): New fun.
(custom-buffer-create, custom-buffer-create-other-window)
(customize-browse): Use it instead of killing buffers.
(custom-bury-buffer): Obey the argument.
(custom-variable-reset-saved, custom-variable-reset-standard):
Remove unused var `comment-widget'.
(custom-face-edit-deactivate): Remove unused var `to'.
(custom-save-variables): Remove unused var `sep'.