1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-17 16:41:17 -08:00
Commit graph

26840 commits

Author SHA1 Message Date
Karl Heuer
afee915020 (DECODE_FILE, ENCODE_FILE):
Use code_convert_string_norecord.
1998-06-03 14:41:27 +00:00
Karl Heuer
ecec61c199 (code_convert_string_norecord): New function.
Does encoding or decoding but doesn't set Vlast_coding_system_used.
1998-06-03 14:41:07 +00:00
Karl Heuer
961c963df3 (find-function-noselect): Don't call
format twice with the error message.  Quote the function name
before splicing into regexp.
1998-06-03 14:39:19 +00:00
Karl Heuer
13cef08d9d (list-character-sets-1): New subroutine.
(list-character-sets): Use it.
(list-coding-systems-1): New subroutine.
(list-coding-systems): Use it.
(list-input-methods-1): New subroutine.
(list-input-methods): Use it.
(mule-diag): Avoid method of displaying text in *Help* then copying it.
Instead, insert it directly into *Mule-Diagnosis*.
Use list-character-sets-1, list-coding-systems-1, list-input-methods-1.
Copy the code from list-fontsets and list-coding-categories.
Improve the display buffer's header.
1998-06-03 14:38:07 +00:00
Karl Heuer
ca597f41ea (toggle-read-only): When exiting View mode, locally
set view-read-only to t so another toggle will re-enable View mode.
1998-06-03 14:37:00 +00:00
Karl Heuer
72b5cb89c3 (View-exit-and-edit): Bind view-no-disable-on-exit to nil. 1998-06-03 14:35:38 +00:00
Karl Heuer
074c438cbb (sys_subshell): Cast arg to chdir.
(init_sys_modes): Cast arg to setbuf or setvbuf.
1998-06-02 15:52:04 +00:00
Karl Heuer
ac52ebd5d8 (syms_of_keyboard): Doc fix for suggest-key-bindings. 1998-06-02 15:49:47 +00:00
Dave Love
f734a13ec4 (normal-top-level-add-subdirs-to-load-path): Ignore
CVS directories too.
1998-06-02 13:21:13 +00:00
Kenichi Handa
5d76bc89d4 (string_to_non_ascii_char): Don't check the arg
EXCLUDE_TAIL_GARBAGE for an invalid composite characters.
1998-06-02 08:10:36 +00:00
Karl Heuer
b4854a2383 (customize-group, customize-group-other-window)
(custom-buffer-create, custom-buffer-create-other-window)
(customize-browse): Use pop-to-buffer.
(same-window-regexps): Add autoload to add regexp to match custom bfrs.
1998-06-02 06:56:44 +00:00
Karl Heuer
4643e92f8f (Info-exit): Use quit-window. 1998-06-02 06:55:39 +00:00
Karl Heuer
72f69d0fb3 (rmail-toggle-header): Preserve point
and window-start (more or less) when reverting to original header.
1998-06-02 06:54:40 +00:00
Kenichi Handa
8a8147d64b (detect_coding_mask): Initilize local variable C. 1998-06-02 03:54:18 +00:00
Karl Heuer
b70b2dd2c0 (shrink-window-if-larger-than-buffer):
Switch to the specified window and its buffer at the outset.
(count-windows): Doc fix.
1998-06-01 21:49:43 +00:00
Karl Heuer
5f7493ac69 (archive-extract): Fix handling of 'view option. 1998-06-01 21:47:36 +00:00
Karl Heuer
cd00fd3695 (apropos-variable): Fixed argument to apropos-command.
(apropos-command): Let `var-predicate' have higher priority than
`do-all'.
1998-06-01 21:46:44 +00:00
Karl Heuer
4c45295b18 (help-setup-xref): Change all callers to
use (function args...) instead of (function . arg).  Doc fix.
(help-follow): Put (point) at front of elts of help-xref-stack.
(help-xref-stack): Elt format now (POSITION FUNCTION ARGS).
(help-xref-stack-item): Doc fix.
(help-xref-go-back): Assume new format for help-xref-stack.
(help-follow): Look for prop on previous char if next char has none.
Avoid error at beginning or end of buffer.
(describe-bindings): New optional arg BUFFER.
Use help-setup-xref.
1998-06-01 21:11:47 +00:00
Karl Heuer
70cf9f0803 (event-apply-alt-modifier, etc): Doc fixes. 1998-06-01 21:10:43 +00:00
Karl Heuer
6524291c22 (main): Test `initialized' before clearing *Messages*. 1998-06-01 21:08:28 +00:00
Karl Heuer
42d720cfa9 (SOCKLEN_TYPE): Define as int. 1998-06-01 21:07:32 +00:00
Richard M. Stallman
c15cfd1faa Remember the last TWO strings skipped with #@.
(prev_saved_doc_string*): New variables.
(Fload): Initalize prev_saved_doc_string.
(read1): Copy saved_doc_string to prev_saved_doc_string
before storing a new string in saved_doc_string.
(read_list): Look in prev_saved_doc_string as well as
in saved_doc_string.

(read1): Swap saved_doc_string_length and
prev_saved_doc_string_length.
(read_list): Negate docstring position if negative before checking
against saved_doc_string_length et al.

(read_vector): Add bytecodeflag parameter, which is
nonzero when reading a bytecode object.  If
`load-force-doc-strings' is t when reading a lazily-loaded
bytecode vector, the loaded docstring must be treated as unibyte
and passed to Fread to obtain the actual bytecode string and
constants vector.
(read1): Add extra parameter to read_vector calls.

(read1): Enable saving of doc strings on WINDOWSNT.
(read_list): Call get_doc_string instead of read_doc_string, when
forced to load doc strings.
1998-06-01 21:03:23 +00:00
Karl Heuer
05b44e9027 (Fcall_process): Avoid initializer on auto struct. 1998-06-01 20:49:47 +00:00
Dave Love
4fa91cfecc (sgml-font-lock-keywords-1): Add -. as
NMCHARs.  Elide upper case (see font-lock-defaults).  Generalize
comment declaration not to exclude markup.
1998-06-01 16:51:52 +00:00
Andrew Innes
124abc748d Use 1 as explicit value of empty #defines. 1998-06-01 14:23:44 +00:00
Andrew Innes
65ae11d9d1 (LOCAL_FLAGS): Define HAVE_CONFIG_H. 1998-06-01 14:09:53 +00:00
Andrew Innes
4822b2e57f (sys_wait): Rename to wait. 1998-06-01 14:09:21 +00:00
Andrew Innes
14fa0be5e2 Undefine _WINSOCKAPI_. 1998-06-01 14:01:14 +00:00
Andrew Innes
69407fcd98 (CFLAGS): Do not define HAVE_NTGUI. 1998-06-01 14:00:12 +00:00
Andrew Innes
efca9fdc86 (LOCAL_FLAGS): Define HAVE_NTGUI if appropriate. 1998-06-01 13:59:17 +00:00
Karl Heuer
ad8cf30fea (install-arch-indep): Don't die if site-lisp/ isn't writable. 1998-06-01 03:46:31 +00:00
Karl Heuer
cadf50ff82 (Finsert_file_contents): Fix char signedness mismatches. 1998-06-01 03:32:52 +00:00
Karl Heuer
c292461fc5 (doprnt1): Fix char signedness mismatches. 1998-06-01 03:32:00 +00:00
Karl Heuer
6d4279ab93 (Fredraw_frame): Don't erase frame or its glyph records
if it hasn't got any.
1998-06-01 03:12:04 +00:00
Karl Heuer
2576f5d270 (which-func-ff-hook): If imenu gets error,
clear which-func-mode.
1998-06-01 03:09:43 +00:00
Karl Heuer
d1208263cd (grep): Fix previous change. 1998-06-01 03:08:53 +00:00
Karl Heuer
4527adca68 Many doc fixes. 1998-06-01 03:08:00 +00:00
Karl Heuer
9e16922146 (tar-extract): Pass HIGHEST=t to detect-coding-region. 1998-06-01 03:06:48 +00:00
Karl Heuer
d5dae4e1b6 (keyboard-quit): Doc fix. 1998-06-01 03:04:39 +00:00
Karl Heuer
2c02e31305 Bind f2 and C-x 6 prefixes
only via an autoload, not when this file is loaded.
1998-06-01 03:03:00 +00:00
Karl Heuer
6e2c88407b (coding-system-mnemonic): Don't crash if arg is nil. 1998-06-01 03:01:30 +00:00
Karl Heuer
3d1ef62e40 (easy-mmode-define-minor-mode): Add missing format arg. 1998-06-01 02:59:23 +00:00
Geoff Voelker
556a263f57 (w32_fatal_reload_error): Update error message. 1998-05-30 23:42:16 +00:00
Geoff Voelker
eb9ea53f9c (sys_rename): Handle filenames with accented characters.
(stat): Handle "c:/.." and "/.." specially.
1998-05-30 23:41:57 +00:00
Geoff Voelker
a5b56dcda1 (sys_spawnve): Place Emacs pid in EM_PARENT_PROCESS_ID. 1998-05-30 23:41:48 +00:00
Geoff Voelker
69062c2f48 (VS_VERSION_INFO): Define. 1998-05-30 23:37:53 +00:00
Geoff Voelker
97e3c91bbd (getppid): Look for EM_PARENT_PROCESS_ID. 1998-05-30 23:37:12 +00:00
Dave Love
35e9c644ca (finder-known-keywords): Fix `convenience' entry. 1998-05-30 17:57:14 +00:00
Karl Heuer
e096c7f17f (distclean): Delete config.stamp, stamp-oldxmenu. 1998-05-30 15:48:11 +00:00
Richard M. Stallman
db133cb603 (cperl-style-alist): New variable, since `c-mode'
is no longer loaded.
- (Somebody who uses the styles should check that they work OK!)
- (a lot of work is needed, especially with new
  `cperl-fix-line-spacing').
Old value of style is memorized when choosing a new style, may be
restored from the same menu.
(cperl-perldoc, cperl-pod-to-manpage): New commands; thanks to
Anthony Foiani <afoiani@uswest.com> and Nick Roberts
<Nick.Roberts@src.bae.co.uk>.
(`Perl doc', `Regexp'): New submenus (latter to allow short displays).
(cperl-clobber-lisp-bindings): New cfg variable.
(cperl-find-pods-heres): $a->y() is not y///.
(cperl-after-block-p): Add save-excursion.
(cperl-init-faces): Was failing.
Init faces when loading `ps-print'.
(cperl-toggle-autohelp): New command.
(cperl-electric-paren): `while SPACE LESS' was buggy.
(cperl-init-faces): `-text' in `[-text => 1]' was not highlighted.
(cperl-after-block-p): was FALSE after `sub f {}'.
(cperl-electric-keyword): `foreachmy', `formy' expanded too,
Expands `=pod-directive'.
(cperl-linefeed): behaves reasonable in POD-directive lines.
(cperl-message-electric-keyword): new cfg variable.
(cperl-electric-keyword): print a message, governed by
`cperl-message-electric-keyword'.
(cperl-electric-paren): Typing `}' was not checking for being
block or not.
(cperl-beautify-regexp-piece): Did not know about lookbehind;
finding *which* level to work with was not intuitive.
(cperl-beautify-levels): New command.
(cperl-electric-keyword): Allow here-docs contain `=head1'
and friends for keyword expansion.
Fix for broken `font-lock-unfontify-region-function'.  Should
preserve `syntax-table' properties even with `lazy-lock'.
(cperl-indent-region-fix-else): New command.
(cperl-fix-line-spacing): New command.
(cperl-invert-if-unless): New command (C-c C-t and in Menu).
(cperl-hints): mention 20.2's goods/bads.
(cperl-extra-newline-before-brace-multiline): Started to use it.
(cperl-break-one-line-blocks-when-indent): New cfg variable.
(cperl-fix-hanging-brace-when-indent): New cfg variable.
(cperl-merge-trailing-else): New cfg variable.
Workaround for another `font-lock's `syntax-table' text-property bug.
`zerop' could be applied to nil.
At last, may work with `font-lock' without setting `cperl-font-lock'.
(cperl-indent-region-fix-constructs): Renamed from
`cperl-indent-region-fix-constructs'.
(cperl-fix-line-spacing): could be triggered inside strings, would not
know what to do with BLOCKs of map/printf/etc.
(cperl-merge-trailing-else): Handle `continue' too.
(cperl-fix-line-spacing): Likewise.
(cperl-calculate-indent): Knows about map/printf/etc before {BLOCK};
treat after-comma lines as continuation lines.
(cperl-mode): `continue' made electric.
(cperl-electric-keyword): Electric `do' inserts `do/while'.
(cperl-fontify-syntaxically): New function.
(cperl-syntaxify-by-font-lock): New cfg variable.
Make syntaxification to be autoredone via `font-lock',
switched on by `cperl-syntaxify-by-font-lock', off by default so far.
Remove some commented out chunks.
(cperl-set-style-back): Old value of style is memorized when
choosing a new style, may be restored from the same menu.
Mode-documentation added to micro-docs.
(cperl-praise): updated.
(cperl-toggle-construct-fix): New command.  Added on C-c C-w and menu.
(auto-fill-mode): added on C-c C-f and menu.
(cperl-style-alist): `PerlStyle' style added.
(cperl-find-pods-heres): Message for termination of scan corrected.
(cperl-speed): New variable with hints.
(cperl-electric-else): Make backspace electric after
expansion of `else/continue' too.
Fixed customization to honor cperl-hairy.
Created customization groups.
All the compile-time warnings fixed.
(cperl-syntaxify-by-font-lock): Interaction with `font-lock-hot-pass'
fixed.
(cperl-after-block-and-statement-beg): It is BLOCK if we reach lim
when backup sexp.
(cperl-after-block-p, cperl-after-expr-p): Likewise.
(cperl-indent-region): Make a marker for END - text added/removed.
(cperl-style-alist): Include `cperl-merge-trailing-else'
where the value is clear.
(cperl-styles-entries): Likewise.
(cperl-tips, cperl-problems): Improvements to docs.
1998-05-30 15:43:16 +00:00