(gud-new-keymap): New function.
(gud-xdb-find-file, gud-dbx-find-file, gud-sdb-find-file, gud-gdb-find-file):
Use it for keymap inheritance.
(gud-mode): Use gud-new-keymap, so inherit keymaps..
(tempo-insert-template): Quoted transient-mark-mode
Expansion around region now puts point at the first mark.
(tempo-region-start, tempo-region-stop): New variables
(tempo-insert-template, tempo-insert): Don't affect the
mark. Check for Transient Mark mode
(tempo-find-match-string): Removed the stupid 1+ again
(tempo-use-tag-list): Set tempo-match-finder to completion-function.
(tempo-match-finder): Renamed variable from
tempo-default-match-finder. Change the value too.
(tempo-collection, tempo-dirty-collection): New variables.
(tempo-user-elements): New variable.
(tempo-insert): New argument ON-REGION.
New elements 'l and 'r. Use tempo-is-user-element.
(tempo-is-user-element): New function.
(tempo-invalidate-collection, tempo-build-collection): New functions.
(tempo-find-match-string): Reinserted bugfix for re-search-backward.
(tempo-complete-tag): Complete rewrite.
(term-if-emacs19, term-if-xemacs, term-ifnot-xemacs): New macros
to conditionalize at compile-time for different emacs versions.
(various places): Use them (instead of term-is-XXXX).
(term-is-emacs19): Removed, no longer needed.
Change keybindings to not use C-c LETTER, for
term-char-mode, term-line-mode. Keybindings for term-pager-enable
and term-pager-disable replaced by one for term-pager-toggle.
(term-pager-toggle): New function.
(term-fake-pager-enable, term-fake-pager-disable):
Define as aliases, so that menubar code will find proper keybindings.
(term-char-mode): Make no-op if already in char mode.
(term-line-mode): Make no-op if already in line mode.
(term-mode-map): Add keybinding for no-op term-line-mode, so
code to display menubar keybindings doesn't lose it. (Needed
as long as char-mode and line-mode share term-terminal-menu.)
(term-raw-escape-map): Likewise for term-char-mode.
(term-char-mode, term-line-mode): Better documentation strings.
Added menubar for pager sub-mode.
(term-command-hook): Disabled the feature that allowed
inferior to send a lisp command to emacs - too big a security hole.
(rmail-summary-update-highlight): New function.
(rmail-summary-goto-msg): Use it.
(rmail-summary-rmail-update): Move the summary highlight.
(rmail-summary-mark-deleted): Do nothing if rmail-summary-overlay
has a nil face-property.
(rmail-new-summary): Make the summary-on-top kludge
more restricted in when it is used.
(do-auto-fill): Fill, don't fill, or fill-and-justify
depending on setting of justification text-property. Respect
left-margin and right-margin text properties.
(open-line, indent-new-comment-line): Inherit when inserting.
(newline-and-indent, reindent-then-newline-and-indent): Doc fix.
(set-justification): New function.
(set-justification-{none,left,right,full,center}): New functions.
(fill-region-as-paragraph, fill-region, justify-current-line): New
arg NOSQUEEZE defeats normal removal of extra whitespace.
(fill-region-as-paragraph, fill-region)
(fill-nonuniform-paragraphs, fill-individual-paragraphs):
Arg JUSTIFY-FLAG (JUSTIFYP) renamed to JUSTIFY.
(fill-region-as-paragraph): Obey left-margin; fill-prefix starts
after left-margin. Disable filling if JUSTIFY == none, but indent to
margin anyway.
Adaptive-fill removes text-props from fill-prefixes it finds.
Adaptive-fill no longer has to notice left-margin: std fill does that.
Use fill-column and canonically-space-region functions.
(canonically-space-region): New fn split from fill-region-as-paragraph.
(fill-region): New args NOSQUEEZE (as above) and TO-EOP.
(default-justification): New variable.
(current-left-margin, fill-column, justification): New functions.
(fill-paragraph): Use fill-region-as-paragraph when possible.
(justify-current-line): New arguments; different kinds of
justification handled. Uses left-margin and fill-column functions.
Karl Heuer [Wed, 18 Jan 1995 20:47:36 +0000 (20:47 +0000)]
[!emacs] (SWITCH_ENUM_CAST): New macro, from emacs/lisp.h
(re_compile_fastmap, re_match_2_internal): Use that macro instead of testing
SWITCH_ENUM_BUG.
* etags.c (longopts, print_help, main): Use -I as abbreviation
for the --ignore-indentation option.
(main): Do not print an error message for unknown options.
(gud-gdb-find-file): Propagate debug menu to found buffers.
(gud-dbx-find-file, gud-xdb-find-file, gud-sdb-find-file, gud-perldb-find-file):
Likewise.
(gud-menu-map): New variable.
(gud-mode): Use gud-menu-map and move the menu-setting outside.
(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.
(fill-region-as-paragraph): Don't modify newline
at end of paragraph, to make sure text-properties are preserved.
(fill-paragraph): Call fill-region, not fill-region-as-paragraph,
to avoid clobbering paragraph-internal hard-newlines.
(fill-region): If use-hard-newlines is on, divide into
"paragraphs" by breaking at every hard newline, temporarily
ignoring paragraph-start.
(open-line, split-line, next-line): Use `newline'
function to insert newline so it will be marked hard if appropriate.
(indent-new-comment-line): Use `newline' function, unless called
with (new) argument.
(do-auto-fill): Call indent-new-comment-line with argument to
make newline soft.