1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 16:41:45 -08:00
Commit graph

1240 commits

Author SHA1 Message Date
Karl Heuer
d1208263cd (grep): Fix previous change. 1998-06-01 03:08:53 +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
Karl Heuer
a46fddeb85 (compilation-scroll-output): Correct the :version
keyword to be a string.
1998-05-30 15:00:07 +00:00
Dave Love
2c0b59e3eb (f90-comment-indent): Don't attempt to indent trailing comment as
code.
(f90-looking-at-if-then): Don't lose with scan-lists on bad syntax.
1998-05-25 11:25:48 +00:00
Richard M. Stallman
7cd960e6e0 (grep-tag-default): New function.
(grep): New default arg when prefix arg is specified.
1998-05-24 01:10:12 +00:00
Richard M. Stallman
2f4027021e (vhdl-customize-colors):
Renamed from vhdl-use-default-colors, and sense reversed.
(vhdl-customize-faces):
Renamed from vhdl-use-default-faces, and sense reversed.
(vhdl-font-lock-init, vhdl-ps-init): Implement those changes.
(vhdl-submit-bug-report): Use new variable names.
1998-05-23 19:59:27 +00:00
Dan Nicolaescu
12ab6a7d3a (hs-life-goes-on): Use Emacs' native backquote support. 1998-05-17 01:55:17 +00:00
Richard M. Stallman
fc416240b9 (c-macro-expansion):
Use temporary-file-directory.  Choose temp file name properly.
1998-05-16 17:52:29 +00:00
Richard M. Stallman
84195ec425 (c-macro-expansion): Use system-tmp-directory. 1998-05-16 03:44:02 +00:00
Richard M. Stallman
ced7b4a427 (sh-shell-file): Add cmdproxy to MS shells. 1998-05-07 19:18:29 +00:00
Andreas Schwab
aa53db6a6e * progmodes/compile.el (compilation-directory-stack): Doc fix.
(compilation-mode): Accept optional parameter and initialize
mode-name from it.
(compile-internal): Pass name-of-mode to compilation-mode.  Don't
set mode-name here.
(compilation-minor-mode): Don't let mode-line-process change.
(compilation-next-error-locus): Use forward-char instead of
move-to-column.
(compilation-parse-errors): Set default-directory from head of
compilation-directory-stack.
1998-05-04 08:35:40 +00:00
Eli Zaretskii
eee86eff46 (sh-shell-file): If $SHELL evaluates to
one of MS-DOS or MS-Windows shells, use "bin/sh" instead.
1998-05-03 15:57:33 +00:00
Richard M. Stallman
d06ad999da (perl-mode): Add autoload cookie. 1998-04-30 03:22:20 +00:00
Dave Love
e9feb305f5 (fortran-mode-map): Bind M-^. Use \M-, not \e elsewhere. 1998-04-28 17:54:11 +00:00
Dan Nicolaescu
cd32a7baa4 *** empty log message *** 1998-04-20 02:34:53 +00:00
Dan Nicolaescu
daa02ea5db *** empty log message *** 1998-04-18 20:43:38 +00:00
Dan Nicolaescu
42dfe0ad13 *** empty log message *** 1998-04-18 19:48:40 +00:00
Dave Love
93a7d76ffe (scheme-imenu-generic-expression,
dsssl-imenu-generic-expression): Remove leading space in submenus.
1998-04-17 20:46:21 +00:00
Dave Love
37c3edc4d1 Move eval-when-compile off top level. 1998-04-15 16:25:44 +00:00
Dave Love
20ecf81c6f Don't eval-*and*-compile font-lock stuff. 1998-04-14 20:57:00 +00:00
Karl Heuer
23cec91f9a (vhdl-loop, vhdl-while-loop): Add backslash. 1998-04-10 09:28:12 +00:00
Stephen Eglen
e4df16d007 Customize 1998-04-09 12:31:57 +00:00
Dan Nicolaescu
1c36bac652 *** empty log message *** 1998-04-09 05:47:28 +00:00
Dave Love
2d060bebe7 (fortran-fill-paragraph): This is the one
which must return t, not:
(fortran-fill-statement):
1998-04-08 18:08:59 +00:00
Dave Love
1eb6bf70dc Use regexp-opt and eval-and-compile to
build font-lock patterns.
(fortran-mode): Define indent-region-function,
indent-line-function.
(fortran-tab-mode-string): Make buffer-local.
(fortran-comment-indent-style): Custom tweak.
(fortran-comment-region, fortran-electric-line-number,
fortran-analyze-depth, fortran-break-before-delimiters,
fortran-mode): Doc fix.
(fortran-startup-message, bug-fortran-mode): Variables
deleted.
(fortran-font-lock-keywords-1): Add "select", "case"; allow
double-quoted strings.
(fortran-mode-map): Add fill-paragraph menu item.  Don't
define \t.
(fortran-mode): Make `fill-column' buffer-local; set
`fill-paragraph-function', `indent-region-function',
`indent-line-function'.
(calculate-fortran-indent): Renamed to:
(fortran-calculate-indent):
(fortran-split-line): Simplify.
(fortran-remove-continuation): New function.
(fortran-join-line): Use it.
(fortran-end-prog-re1, fortran-end-prog-re): New variables.
(beginning-of-fortran-subprogram, end-of-fortran-subprogram):
Use them.
(fortran-blink-matching-if, fortran-blink-matching-do,
fortran-indent-new-line): Bind case-fold-search.
(fortran-end-do, fortran-beginning-do, fortran-end-if,
fortran-beginning-if): Bind case-fold-search.  Allow labelled
blocks.  Use fortran-end-prog-re.
(fortran-if-start-re): New variable.
(fortran-calculate-indent): Allow labelled blocks.  Simplify the
conds.  Make select case indentation work.
(fortran-is-in-string-p): Ignore Emacs 18 bug kluge.
(fortran-fill): Allow double quotes in check for string.
(fortran-fill-paragraph): New function.
(fortran-fill-statement): New function.
1998-04-07 18:59:44 +00:00
Richard M. Stallman
4d60e093d5 (compilation-error-regexp-alist):
Handle f90 in  DEC AXP OSF/1 cc  pattern.
1998-03-20 04:41:13 +00:00
Richard M. Stallman
aded9c1ea2 (simula-match-string-or-comment): store-match-data => set-match-data. 1998-03-14 04:53:37 +00:00
Richard M. Stallman
eef4375a10 (fortran-match-!-comment): store-match-data => set-match-data. 1998-03-14 04:53:12 +00:00
Dave Love
22dcd0d12b (scheme-mode-variables): Set font-lock-defaults locally.
(scheme-font-lock-keywords-1, scheme-font-lock-keywords-2,
scheme-font-lock-keywords): Moved here from font-lock.el.
(dsssl-mode): Move font-lock-defaults setting and running hooks.
1998-03-10 22:51:23 +00:00
Richard M. Stallman
3c3d11e776 (c-emacs-features): Var moved to cc-vars.el. 1998-03-08 06:55:27 +00:00
Richard M. Stallman
abfbd5639b (c-emacs-features): Var moved from cc-defs.el. 1998-03-08 06:55:04 +00:00
Richard M. Stallman
461688a195 Don't require cc-defs. 1998-03-08 06:53:15 +00:00
Richard M. Stallman
e5caa08e54 (c-initialize-cc-mode): Moved require's to top level.
(c-initialize-on-load): Variable removed.
1998-03-08 06:52:23 +00:00
Richard M. Stallman
717d3be71d (c-Java-javadoc-paragraph-start): New variable for use in c-fill-paragraph. 1998-03-08 06:51:26 +00:00
Richard M. Stallman
f23da29ac2 (c-fill-paragraph): Bind fill-paragraph-function to
nil when calling fill-paragraph, to avoid bogus recursion which
will signal an error.

(c-fill-paragraph): Always keep point in the same
relative position.  Fill comment before point if there's nothing
else on the same line.  Fill block comments after code a little
better.  Try harder to find a good fill-prefix when point is on a
block comment ender line.  Use c-Java-javadoc-paragraph-start in
block comments in Java mode.  Leave block comment ender alone when
c-hanging-comment-ender-p is nil and point is on that line.
Detect paragraph-separate in multiparagraph comments.  Fix for bug
that may strip the `*' off `*/' if fill-prefix ends with `*' and
c-hanging-comment-ender-p is t.  Added filling of multiline string
literals.  Always return t to disable filling in any unhandled
area, i.e. actual code where fill-paragraph only mess things up.
1998-03-08 06:50:21 +00:00
Richard M. Stallman
b2acd78958 (c-inside-bracelist-p): Fix for enum test.
(c-collect-line-comments): Require same comment start column.

(c-guess-basic-syntax): Fixes for nesting of and
repeated defun-open's inside extern and namespace clauses.  This
is done by passing a relpos to `inextern-lang' and `innamespace'.
Also, the relpos in `defun-open' is no longer always bol.  It's
always bol when on the top level, however.  Changed cases: 5A.5, 5I, 14A.

(c-forward-token-1, c-backward-token-1): New functions to move by tokens.
c-guess-basic-syntax): Fixes for Java 1.1 array initialization brace lists.
1998-03-08 06:49:04 +00:00
Richard M. Stallman
419277c5b8 (c-enable-xemacs-performance-kludge-p): New variable. 1998-03-08 06:45:26 +00:00
Richard M. Stallman
7591cf05f5 (select-tags-table-quit): Use quit-window. 1998-03-08 00:22:03 +00:00
Richard M. Stallman
5904765365 (makefile-browser-quit): Use quit-window. 1998-03-08 00:21:26 +00:00
Dave Love
dc6579acc0 (fortran-column-ruler-fixed,
fortran-column-ruler-tab): Doc fix.
(fortran-mode-map): Bind fortran-narrow-to-subprogram.
(bug-fortran-mode): Variable deleted.
1998-03-06 19:14:13 +00:00
Karl Heuer
9b3d0a18fa (make-mode): Provide make-mode, not makefile. 1998-02-27 22:11:43 +00:00
Dave Love
9b7dee8699 (compilation-error-regexp-alist): Allow initial
program name in first pattern.
1998-02-24 12:45:02 +00:00
Stephen Eglen
ccc3ce39b4 Commented out line 471 (miniperl entry in interpreter-mode-alist)
Removed stray =06 entry on line 4445.
Customized.
1998-02-22 20:03:39 +00:00
Stephen Eglen
5636765c52 Customized. 1998-02-22 19:51:45 +00:00
Simon Marshall
883212ce69 Changed font-lock-reference-face to font-lock-constant-face. 1998-02-20 14:58:27 +00:00
Richard M. Stallman
f014d22e07 (c-copy-tree): New function.
(c-initialize-builtin-style): Use c-copy-tree.
1998-02-17 07:26:46 +00:00
Richard M. Stallman
87f235fb1b (c-enable-xemacs-performance-kludge-p): New variable.
(c-default-style): Start doc string with *.

(c-default-style): Renamed from c-site-default-style.
1998-02-17 07:14:36 +00:00
Richard M. Stallman
0bacd8d0b2 (c-make-styles-buffer-local): Take an optional argument which switches
between make-variable-buffer-local and make-local-variable.  Generalize.

(c-offsets-alist): Three new syntactic symbols: innamespace,
namespace-open, namespace-close.  These support C++ namespace blocks.
Also, new syntactic symbol cpp-macro-cont, by default bound to
c-lineup-dont-change.  This symbol is assigned to subsequent lines of
a multi-line C preprocess macro definition.

(c-style-alist): "jdk" style for conformance with Sun's JDK style.

(c-set-style-2, c-initialize-builtin-style): Don't special case
"cc-mode", it's a derived style.  Fix setup of derived style
"cc-mode".  Introduce the new default style "user" which contains all
user customizations.
1998-02-17 07:13:59 +00:00
Richard M. Stallman
77e31a8d08 (c-mode, c++-mode, objc-mode, java-mode): Set
imenu-case-fold-search to nil.

(java-mode): Set c-method-key to nil.  I don't think this is necessary
for Java, and besides, the old value was inherited from Objective-C
which was clearly not right.

(c++-mode): Set c-extra-toplevel-key to c-C++-extra-toplevel-key.
(c-initialize-on-load): New variable, *not* customized.
1998-02-17 07:11:40 +00:00
Richard M. Stallman
f1063b2f66 Imenu support changed. 1998-02-17 07:10:49 +00:00