1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

29 Commits

Author SHA1 Message Date
Dave Love
c0b08eb017 Use imenu-case-fold-search. 1997-12-12 17:10:08 +00:00
Richard M. Stallman
f80235e34f (pascal-mode-syntax-table): _ is now a symbol constituent.
(pascal-indent-case): Removed unnecessary calls to marker-position.
(pascal-indent-declaration): Editing a parameterlist at the end of
a buffer does not hang.  Removed unnecessary call to marker-position.
(pascal-get-lineup-indent): Removed unused variable.
Now indents parameterlist correctly.
(pascal-completion-response): Removed unused variable.
1997-08-04 19:42:32 +00:00
Richard M. Stallman
896546cd9b Add provide call. 1997-06-22 18:57:55 +00:00
Richard M. Stallman
9d3d895d11 Comment change. 1997-05-30 07:30:02 +00:00
Richard M. Stallman
f0cca206dc Add defgroup; use defcustom for user vars. 1997-04-15 23:38:27 +00:00
Richard M. Stallman
e936de0b97 (pascal-mode): Set comment-start. 1997-04-15 23:30:35 +00:00
Richard M. Stallman
e7e09325ce (pascal-mode): Make comment-indent-function buffer local. 1996-12-07 20:33:22 +00:00
Richard M. Stallman
7c9097d02f (pascal-indent-declaration): Avoid infinite loop
if edpos is at end of buffer.
1996-10-26 16:05:58 +00:00
Richard M. Stallman
a0bd2457ad (pascal-end-of-statement, pascal-calculate-indent):
Set parse-sexp-ignore-comments to t before parsing.
(pascal-indent-case): Save position of cursor, and restores it
after reindenting the code.
1996-05-13 16:25:13 +00:00
Richard M. Stallman
2e952aac2f (pascal-declaration-end): Now locates the end of a parameterlist correctly.
(electric-pascal-tab): Never indented a line when
pascal-tab-always-indent was set to nil.
(pascal-indent-case): Now locates the end of a case-statement correctly.
1996-03-07 05:53:10 +00:00
Erik Naggum
e451cded20 Update comment preamble. 1996-01-15 05:56:38 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
4a6fd75f1d (pascal-auto-newline, pascal-mode, electric-pascal-hash):
Doc fix.
1996-01-04 23:46:19 +00:00
Richard M. Stallman
be01074898 Comment change. 1995-10-30 17:35:01 +00:00
Richard M. Stallman
105ad0da85 (pascal-mode): Set comment-start.
(pascal-toggle-completions): Doc fix.
1995-08-17 22:08:36 +00:00
Richard M. Stallman
69b354ebc8 (pascal-mode): Added imenu support.
(pascal-imenu-generic-expression): New variable.
1995-07-27 18:50:02 +00:00
Karl Heuer
f8c25f1b67 Update copyright. 1995-04-07 02:21:52 +00:00
Richard M. Stallman
e7d795eba3 (pascal-mode-syntax-table): Give \ punctuation syntax. 1995-03-23 20:40:48 +00:00
Richard M. Stallman
9566dc1547 (pascal-*-completion, pascal-comp-defun)
(pascal-complete-word, pascal-completion-response, pascal-completion)
(pascal-get-completion-decl): Rename some internal variables
to start with 'pascal-'.
(pascal-str, pascal-all, pascal-pred, pascal-flag)
(pascal-buffer-to use): New dummy variables.
1995-01-24 03:27:54 +00:00
Richard M. Stallman
9f51be8988 (pascal-mode-map, pascal-outline-map):
C-c C-b now inserts block.  C-c C-d does goto-defun.
`#' calls on electric-pascal-hash.
(pascal-calculate-indent, pascal-indent-alist)
(electric-pascal-tab, pascal-indent-case):
Better handling of indent within case.  Support for CPP.
The `;' in the last statement of a subblock may be omitted.
(electric-pascal-hash): New function.
1995-01-17 20:53:31 +00:00
Simon Marshall
7fa28db0ca * pascal.el: (pascal-mode): Set font-lock-defaults. 1994-10-12 09:02:43 +00:00
Richard M. Stallman
210cf16d31 (pascal-font-lock-keywords): New variable.
(pascal-mode): Set comment-start-skip and comment-end.
Set font-lock-keywords locally.
1994-10-07 10:10:07 +00:00
Richard M. Stallman
3a3ee4454b (pascal-auto-lineup): New variable.
(pascal-end-of-statement): New function.
(pascal-indent-command): Now does optional lineups of : and =.
(pascal-indent-case): Uses pascal-end-of-statement to skip the
case statements.

(pascal-indent-declaration): Indent correctly
when record blocks are used within parameterlists.
(pascal-declaration-beg): Strange -0 argument removed.
(pascal-type-completion): Fix typo in regexp.
(pascal-get-lineup-indent): Use match-end instead of end-of-line.
1994-09-03 03:34:55 +00:00
Richard M. Stallman
7383caaa1c (pascal-outline-map): Move pascal-outline-goto-defun to C-c C-d. 1994-04-18 01:06:31 +00:00
Richard M. Stallman
81aca4f425 (pascal-indent-case): Handle comma separated list.
(pascal-set-auto-comments): No comment after record block.
(pascal-seperator-keywords): Renamed to pascal-separator-keywords.
(pascal-get-lineup-indent): Handle multiple declarations on same line.
1994-03-12 06:29:57 +00:00
Richard M. Stallman
f6807db3d6 (pascal-calculate-indent): Fixed indentation bug
in for-loops, with-structures and else-structures.
(pascal-noindent-re): Add `else'.
1994-03-02 19:41:24 +00:00
Richard M. Stallman
7e0dd87e24 (pascal-sub-block-re): Recognize for and with. 1994-03-01 22:28:47 +00:00
Richard M. Stallman
da4ce263a3 Many doc fixes.
(pascal-get-beg-of-line, pascal-get-end-of-line):
Use defsubst.  Renamed from get-...
(pascal-within-string): Use defsubst.
(delete-whitespaces): Function deleted;
callers use delete-horizontal-space instead.
(pascal-string-diff): Renamed from string-diff.

Complete rewrite.  Added an outline- minor-mode and completion.
1994-02-01 18:14:56 +00:00
Richard M. Stallman
1a2b6c5271 Initial revision 1993-11-08 14:46:50 +00:00