Gerd Moellmann
f964dfcb0d
Added support for indenting existing scripts.
...
(sh-mode-map): Added new bindings.
(sh-mode): Updated mode doc-string for new commands, added
make-local-variable calls, initialize mode-specific variables.
(sh-indent-line): Renamed to sh-basic-indent-line; sh-indent-line
is now a different function.
(sh-header-marker): Changed docstring.
(sh-set-shell): Initialize mode-specific variables.
(sh-case, sh-for, sh-if, sh-indexed-loop, sh-repeat, sh-select)
(sh-tmp-file, sh-until, sh-until, sh-while, sh-while-getopts):
Changed these define-skeleton calls to work with user-specified
indentation settings.
(sh-basic-indent-line, sh-blink, sh-calculate-indent)
(sh-check-paren-in-case, sh-check-rule, sh-do-nothing)
(sh-electric-hash, sh-electric-less, sh-electric-rparen)
(sh-find-prev-matching, sh-find-prev-switch, sh-get-indent-info)
(sh-get-indent-var-for-line, sh-get-kw, sh-get-word)
(sh-goto-match-for-done, sh-goto-matching-case, sh-goto-matching-if)
(sh-guess-basic-offset, sh-handle-after-case-label)
(sh-handle-prev-case, sh-handle-prev-case-alt-end, sh-handle-prev-do)
(sh-handle-prev-done, sh-handle-prev-else, sh-handle-prev-esac)
(sh-handle-prev-fi, sh-handle-prev-if, sh-handle-prev-open)
(sh-handle-prev-rc-case, sh-handle-prev-then, sh-handle-this-close)
(sh-handle-this-do, sh-handle-this-done, sh-handle-this-else)
(sh-handle-this-esac, sh-handle-this-fi, sh-handle-this-rc-case)
(sh-handle-this-then, sh-help-string-for-variable)
(sh-in-comment-or-string, sh-indent-line, sh-learn-buffer-indent)
(sh-learn-line-indent, sh-load-style, sh-make-vars-local, sh-mark-init)
(sh-mark-line, sh-mkword-regexpr, sh-mkword-regexp)
(sh-must-be-shell-mode, sh-must-support-indent, sh-name-style)
(sh-prev-line, sh-prev-stmt, sh-prev-thing, sh-read-variable)
(sh-remove-our-text-properties, sh-rescan-buffer)
(sh-reset-indent-vars-to-global-values, sh-safe-backward-sexp)
(sh-safe-forward-sexp, sh-save-styles-to-buffer, sh-scan-buffer)
(sh-scan-case, sh-search-word, sh-set-char-syntax)
(sh-set-here-doc-region, sh-set-indent, sh-set-var-value)
(sh-show-indent, sh-this-is-a-continuation, sh-var-value): New
functions.
(sh-debug, sh-electric-rparen-needed, sh-here-doc-syntax)
(sh-indent-supported, sh-kw, sh-kw-alist, sh-kws-for-done)
(sh-learned-buffer-hook, sh-make-vars-local, sh-regexp-for-done)
(sh-special-keywords, sh-special-syntax, sh-st-punc, sh-styles-alist)
(sh-var-list): New variables.
1999-10-12 12:30:38 +00:00
Gerd Moellmann
4b9347b308
Add sh-script changes.
1999-10-12 12:28:42 +00:00
Gerd Moellmann
b07ea410a3
(quickurl-list-insert): `count-lines' was returning
...
a value one line to high if the cursor wasn't at the start of a
line. A `beginning-of-line' is now performed before making the
call to `count-lines'.
1999-10-12 11:48:43 +00:00
Gerd Moellmann
b581dd19c0
Patch from RMS.
1999-10-12 11:39:28 +00:00
Dave Love
9832d51d60
Avoid strneq.
1999-10-11 17:14:12 +00:00
Stefan Monnier
9c610b03c4
(vc-backend-diff): get rid of the autoloaded advice.
1999-10-11 09:53:03 +00:00
Dave Love
96e7a9191b
#
1999-10-11 09:45:52 +00:00
Gerd Moellmann
b358f91c16
Use "pop3" as the POP service name on all platforms,
...
instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
has been the standard service name since RFC 1340 was published in
July 1992, so I think it's safe to start using it by default.
1999-10-10 23:09:04 +00:00
Gerd Moellmann
99b62845fe
Add patch from rms around line 1870.
1999-10-10 21:25:17 +00:00
Gerd Moellmann
dace7f4e1c
(auto-save-interval): Fix doc string.
1999-10-10 21:09:05 +00:00
Stefan Monnier
4f875c8780
(compile): removed debugging print.
1999-10-10 19:22:20 +00:00
Stefan Monnier
6f0e64299a
(compile, bootstrap-compile): don't use setwins: I'm an idiot.
1999-10-10 19:19:48 +00:00
Stefan Monnier
e2fa1e81c0
.
1999-10-10 19:18:47 +00:00
Stefan Monnier
fdb9d1d98c
(compile, bootstrap-compile): forgot `;' after $(setwins).
1999-10-10 19:09:47 +00:00
Stefan Monnier
77162a4f00
.
1999-10-10 01:46:11 +00:00
Stefan Monnier
aa501770af
(dontcompile): look for the DONTCOMPILE variable rather
...
than the obsolete dontcompilefiles pseudo-rule in lisp/Makefile.
1999-10-10 01:45:54 +00:00
Phillip Rulon
a04f1a93c6
(Fsingle_key_description): Make tem big enough.
...
(describe_buffer_bindings): Make buf big enough.
1999-10-10 01:39:53 +00:00
Stefan Monnier
3f4c23f984
(setwins): generalized a little.
...
(compile, bootstrap-compile, autoloads-with-other-emacs): use it.
1999-10-10 01:32:09 +00:00
Phillip Rulon
3f72fac865
(map-y-or-n-p): If we read -1, for end of keyboard
...
macro, try again.
1999-10-10 01:22:34 +00:00
Stefan Monnier
f6ac5659c8
.
1999-10-10 00:42:15 +00:00
Stefan Monnier
80c382e5c2
(setwins): abstract out the command to find subdirectories
...
and fix it to also ignore subdirectories of CVS (f.ex. CVS/Base).
(custom-deps, finder-data, autoloads, update-subdirs, updates): use it.
1999-10-10 00:41:59 +00:00
Stefan Monnier
c652cdb8c2
.
1999-10-09 23:52:56 +00:00
Stefan Monnier
610a641856
Initial revision, known outside of Emacs as version 1.8.
1999-10-09 23:52:39 +00:00
Richard M. Stallman
73fb36f17c
(print): When removing objects from Vprint_number_table,
...
only scan the newly added objects.
(print_preprocess): If OBJ is a gensym, and print-continuous-numbering,
unconditionally force it to stay in the table.
1999-10-09 22:58:37 +00:00
Gerd Moellmann
85177c862b
*** empty log message ***
1999-10-09 19:58:13 +00:00
Gerd Moellmann
209061be86
(prepare_image_for_display): Don't try to load image if
...
loading it failed before.
(lookup_image, prepare_image_for_display): Remember if loading the
image failed.
(xpm_load): Add missing UNBLOCK_INPUT.
1999-10-09 19:47:16 +00:00
Gerd Moellmann
a7ac64a901
(struct image): New member load_failed_p.
1999-10-09 19:46:41 +00:00
Richard M. Stallman
700fa9d176
(uninstall, install-arch-indep, install-arch-dep):
...
Unset CDPATH to prevent cd from generating output.
1999-10-09 19:13:48 +00:00
Richard M. Stallman
a2743e6764
*** empty log message ***
1999-10-09 19:13:07 +00:00
Gerd Moellmann
f77a4a8a2f
Add entry for face `menu'.
1999-10-09 19:06:49 +00:00
Richard M. Stallman
29b677db48
*** empty log message ***
1999-10-09 18:07:32 +00:00
Phillip Rulon
d177c58352
*** empty log message ***
1999-10-09 01:22:21 +00:00
Phillip Rulon
330bd7c39b
* hexl.el (hexl-mode): Do nothing if already in hexl mode.
1999-10-09 01:19:36 +00:00
Phillip Rulon
62f1e1cd59
(region): Doc fix.
1999-10-09 00:56:34 +00:00
Phillip Rulon
7fce61e947
*** empty log message ***
1999-10-09 00:55:19 +00:00
Phillip Rulon
b988a84237
(get_local_map): Use indirect_function,
...
not Findirect_function.
1999-10-09 00:50:15 +00:00
Phillip Rulon
2727132911
*** empty log message ***
1999-10-08 23:57:58 +00:00
Phillip Rulon
ab418c6df0
(ispell-dictionary-alist-6): Don't use "-C" option for Russian.
1999-10-08 23:54:57 +00:00
Gerd Moellmann
96ff0f098f
(bootstrap-compile): New target. Compile Lisp
...
files with ../src/temacs.
1999-10-08 23:25:05 +00:00
Phillip Rulon
f1aba51233
(unexec): Don't get confused by a short section
...
just before the bss section.
1999-10-08 23:08:28 +00:00
Gerd Moellmann
b02b54a8ba
(regexp-opt-try-suffix): New function.
...
(regexp-opt-group): Use it to get common suffixes in STRINGS.
If STRINGS is nil, return "" rather than nil.
1999-10-08 23:06:15 +00:00
Gerd Moellmann
57f707e72d
(compile): Compile files one by one. Set load-path to
...
current directory and subdirectories when compiling.
1999-10-08 21:54:44 +00:00
Stefan Monnier
11e4de5d25
.
1999-10-08 21:44:24 +00:00
Stefan Monnier
9acbdbcb1f
(Fmake_temp_name): forgot the \n\ in the docstring
1999-10-08 21:43:21 +00:00
Stefan Monnier
a1f973fb9a
(Fmake_temp_name): add a ref to `make-temp-file' in the docstring.
1999-10-08 21:42:32 +00:00
Stefan Monnier
37e2d8f4b2
also ignore CVS subdirs.
1999-10-08 21:28:05 +00:00
Dave Love
db48e1aa5c
#
1999-10-08 20:12:54 +00:00
Dave Love
d67f47e43d
ange-ftp item.
1999-10-08 16:52:38 +00:00
Dave Love
711f235227
#
1999-10-08 15:56:42 +00:00
Phillip Rulon
059c2e18d1
* hexl.el (hexlify-buffer): Move point in proper range
...
if it is too large.
(hexl-after-revert-hook): Update hexl-max-address.
(hexl-address-to-marker): Doc fix.
1999-10-08 15:42:32 +00:00