1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00
Commit Graph

69 Commits

Author SHA1 Message Date
Eli Zaretskii
46771bb390 Restablished intermediate missing comment header to preserve outline structure.
(allout-beginning-of-current-entry): Wasn't skipping invisible text - fixed.
(allout-open-topic): Was failing when opening a topic at end-of-buffer - fixed.
(allout-minor-mode): Moved nearer to allout-mode function.
2006-03-03 11:38:43 +00:00
Stefan Monnier
31468dcbba Add 2006 copyright. 2006-02-23 16:37:46 +00:00
Eli Zaretskii
773e7e4821 (allout-hidden-p): Move this defsubts before
allout-overlay-interior-modification-handler, where it is first used.
2006-02-17 11:02:27 +00:00
Eli Zaretskii
96b83743d4 Use allout invisible-text overlays instead of
selective display for concealed text.  Also, lots of general
cleanup, and improved compatibility code.
(allout-version) Incremented, corrected, revised, and refined
module commentary.
(provide 'allout): Moved to the bottom, added a require of overlay.
(allout-encrypt-unencrypted-on-saves): Defaults to t instead of
`except-current'.
(allout-write-file-hook-handler): Minimize delay.
(count-trailing-whitespace-region): New function so
auto-encryption of current topic can resituate cursor exactly.
PGP/GPG encryption trims trailing whitespace from lines, which
must be accounted for across encryption then decryption.
(allout-command-prefix): Now defaults to "\C-c<space>" rather than
just plain "\C-c", to avoid intruding on user's keybinding space.
(allout-toggle-current-subtree-encryption): Pass along fetch-pass
parameter, so user request to provide a new password is done.
(allout-outside-normal-auto-fill-function, allout-auto-fill):
Refined mechanism for auto-filling behavior while in allout mode.
(allout-mode): Explicitly specify the mode map in the docstring.
Clarify provision for various write-file hook var names.
Adjusted for invisible-text overlays instead of	selective-display.
(allout-depth): Really return 0 if not within any topic.  This
rectifies `allout-beginning-of-level' and sequence numbering
errors that occur when cutting and pasting numbered topics.
Changed from a in-line subst to a regular function, as well.
(allout-pre-next-prefix): Renamed from allout-pre-next-preface.
(allout-end-of-subtree, allout-end-of-subtree)
(allout-end-of-entry, allout-end-of-current-heading)
(allout-next-visible-heading, allout-open-topic, allout-show-entry)
(allout-show-children, allout-show-to-offshoot)
(allout-hide-current-entry, allout-show-current-entry): Rectified
handling of trailing blank lines between items.
(allout-line-boundary-regexp, set-allout-regexp, allout-depth)
(allout-current-depth, allout-unprotected, allout-hidden-p)
(allout-on-current-heading-p, allout-listify-exposed)
(allout-chart-subtree, allout-goto-prefix)
(allout-back-to-current-heading, allout-get-body-text)
(allout-snug-back, allout-flag-current-subtree, allout-show-all)
(allout-hide-region-body, allout-toggle-subtree-encryption)
(allout-encrypt-string, allout-encrypted-key-info)
(allout-next-topic-pending-encryption, allout-encrypt-decrypted)
(allout-file-vars-section-data): Adjusted for use with
invisible-text overlays instead of selective-display.
(allout-kill-line, allout-kill-topic, allout-yank-processing):
Reworked for use with invisible text overlays.
(allout-current-topic-collapsed-p): New function.
(allout-hide-current-subtree): Use allout-current-topic-collapsed-p
to know when to close the containing topic.
(allout-pre-command-business, allout-post-command-business):
Simplify undo-batching and dynamic isearch exposure.
(allout-set-overlay-category): New for invisible-text overlays.
Sets properties of allout-overlay-category, used by
allout-flag-region to set invisible-text overlay properties.
(allout-get-invisibility-overlay): Get the first qualifying
invisibility overlay, so we can find the extent of it.
(allout-back-to-visible-text): Get to just before the beginnining
of the current invisibility overlay, if any.
(allout-overlay-insert-in-front-handler)
(allout-overlay-interior-modification-handler)
(allout-before-change-handler, allout-isearch-end-handler): New
functions to handle extraordinary actions affecting concealed
text.
(allout-flag-region): Use overlays instead of selective-display
for invisible text - by inheritence from the properties of
allout-overlay-category in mainline emacs, and applied
property-by-property in xemacs, some recent versions of which
don't inherit the properties from the category.  Provisions to
respond to concealed-text edits simplified drastically.
(allout-isearch-rectification, allout-isearch-was-font-lock)
(allout-isearch-expose, allout-enwrap-isearch)
(allout-isearch-abort, allout-pre-was-isearching)
(allout-isearch-prior-pos, allout-isearch-did-quit)
(allout-isearch-dynamic-expose)
(allout-hide-current-entry-completely): Functions deleted.
(allout-undo-aggregation): Explicit undo aggregation no longer
necessary due to transition away from selective-display.
(set-allout-regexp, allout-up-current-level)
(allout-next-visible-heading, allout-forward-current-level)
(allout-open-topic, allout-reindent-body, allout-rebullet-topic)
(allout-kill-line, allout-yank-processing, allout-show-children)
(allout-expose-topic, allout-old-expose-topic)
(allout-listify-exposed, allout-insert-latex-header)
(allout-toggle-subtree-encryption, allout-encrypt-string)
(remove-from-invisibility-spec, allout-hide-current-subtree):
Ditched unused variables.
2006-02-17 10:53:13 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Eli Zaretskii
69027deaaf (eval-when-compile): Remove unnecessary load of 'cl. Add fset of
allout-real-isearch-abort during compile to alleviate unnecessary
byte-compilation warnings.
(allout-mode-p): Move definition of this macro above all uses, or
byte compilation in barren emacs (eg, during emacs build) will
lack the definition.
(allout-mode): Move this variable above any uses, or byte
compilation will fail.
(allout-resolve-xref): Remove use of personal file-reference
function.
(allout-toggle-current-subtree-encryption): Do the current (ie,
visible containing) topic, rather than nearest around point.
Doc fix.
(allout-toggle-subtree-encryption): New function, workhorse that
works on nearest topic containing point.
(allout-encrypt-string): Signal requirement for newer version of pgg.
(allout-resumptions): Doc fix.
2005-12-02 14:09:53 +00:00
Eli Zaretskii
0949617b01 Increment version number to 2.1, and use a literal
rather than RCS $Id$.  Remove autoloads for mailcrypt and crypt++.
Require pgg, pgg-gpg during compilation.
(allout-version): Increment version number to 2.1, and use a literal
rather than RCS $Id$.
(allout-default-encryption-scheme): Removed.
(allout-passphrase-verifier-handling): Renamed from
allout-key-verifier-handling.
(allout-passphrase-verifier-string): Renamed from allout-key-verifier-string.
(allout-file-passphrase-verifier-string): Renamed from
allout-file-key-verifier-string.
(allout-enable-file-variable-adjustment): Simplified.
(allout-passphrase-hint-handling): Renamed from
allout-key-hint-handling and simplified.
(allout-passphrase-hint-string): Renamed from allout-key-hint-string.
(allout-init): Use `find-file-hook' if available, otherwise `find-file-hooks'.
(allout-mode): Use `write-file-functions' if available, otherwise
`local-write-file-hooks' and, instead of making auto-save-hook
buffer local, make the write-file-hook activity contingent to allout-mode.
(allout-mode): Use key-binding substitution placeholders in the docstring.
(allout-kill-line): Spell-out kill ring data structure mutation
instead of using byte-compiler-complaint-provoking `pop'.
(allout-insert-listified): Use `insert' rather than `insert-string'
(allout-toggle-current-subtree-encryption): Updated docstring,
adjust to new gpp-based encryption, use new `allout-encrypted-topic-p'.
(allout-encrypt-string): Totally revamped vis new underlying encryption
facilities.
(allout-mc-activate-passwd): Removed.
(allout-obtain-passphrase): New, more or less replaces
allout-mc-activate-passwd.
(allout-encrypted-key-info): More or less replaces allout-encrypted-text-type.
(outlineify-sticky, outlinify-sticky): Add autoload cookie.
(my-mark-marker): Use `(featurep 'xemacs)' to distinguish between Emacs and
XEmacs.
2005-10-23 08:24:15 +00:00
Eli Zaretskii
d82979ea94 Add autoloads of crypt++ and mailcrypt routines, all for encryption
functionality.
allout customization subgroup now positioned in `outlines' group
instead of prior `editing' group.
(allout-encrypt-string, allout-encryption-produce-work-buffer)
(allout-encrypted-topic-p, allout-encrypted-text-type)
(allout-mc-activate-passwd, allout-create-encryption-key-verifier)
(allout-situate-encryption-key-verifier)
(allout-get-encryption-key-verifier, allout-verify-key)
(allout-next-topic-pending-encryption)
(allout-encrypt-decrypted, allout-encrypted-type-prefix): New
functions.
(outline-topic-encryption-bullet, outline-default-encryption-scheme)
(outline-key-verifier-handling, outline-key-hint-handling)
(outline-encrypt-unencrypted-on-saves): New defcustoms.
(allout-file-key-verifier-string, allout-encryption-scheme)
(allout-key-verifier-string, allout-key-hint-string)
(allout-after-save-decrypt): New variables.
(allout-write-file-hook-handler, allout-auto-save-hook-handler)
(allout-after-saves-handler): New hook functions.
(allout-post-command-business): Do allout-after-save-decrypt.
(allout-enable-file-variable-adjustment): Custom var to enable
mechanism for adding and adjusting settings of Emacs file variables.
(allout-adjust-file-variable, allout-file-vars-section-data): New
functions, implement the mechanism.
(outlineify-sticky): Use the file vars mechanism.
(allout-inhibit-protection, allout-during-write-cue)
(allout-override-protect, allout-before-change-protect): Removed.
(allout-flag-region, allout-open-topic): Revised to adjust
read-only text.
(allout-open-line-not-read-only): Added to facilitate read-only
text based protection.
(allout-kill-line): Revised to adjust read-only text, clue the
user about the inhibition.
(allout-unprotected): Robustified with an unwind-protect.
(allout-shift-in, allout-shift-out): Disallow manually shifting a
topic deeper than the offspring depth of the previous topic -
avoiding confusing "containment discontinuities".
(allout-reindent-bodies): Fixed retention of body relative hanging
indent during promotion of collapsed bodies.
(allout-open-topic): Made it easy to open new topic with same
bullet as current topic - topic creation functions provided with
any universal argument provokes now prompt for bullet, defaulting
to the bullet of the previous topic.
(allout-plain-bullets-string, allout-distinctive-bullets-string):
Plain bullet alternates '.' period and ',' comma only.  All other
bullets are relegated to special status (but customizable).
(allout-end-of-entry): Renamed from 'allout-end-of-current-entry
since it actually operates w.r.t. most immediately containing
entry, visible or not.
(allout-hide-current-entry, allout-show-current-entry): Use the
revised version.
(allout-old-expose-topic): Solidify deprecation.
(allout-end-of-subtree): Added, so we can span concealed as well
as visible topics.
(allout-end-of-current-subtree): Use `allout-end-of-subtree'.
(allout-end-of-current-heading): Tweaked to just respect the first
line.
(allout-get-body-text): Added.
(allout-ascend-to-depth, allout-ascend): Position at end of prefix
when invoked interactively.
(allout-up-current-level): Use `interactive-p'.
(allout-mode, allout-init): Miscellaneous docstring and
operational refinements, as well as hookups of new encryption stuff.
(allout-beginning-of-current-entry): Now works as advertised.
(allout-end-of-current-entry): Relieved of superfluous
allout-show-entry.
(allout-isearch-rectification): Refine condition for isearching
(allout-isearch-abort, allout-enwrap-isearch).
(allout-flag-region, my-region-active-p): Relocated some macros.
(allout-title): Fallback title is '(buffer-name)', not
non-existing '(current-buffer-name)'.
(subst-char-in-string): Define if absent (for some XEmacs versions).
Corrected commentary 'keywords' to legitimate ones.
Updated comentary author info (using my current email address,
obscurified).
2005-10-20 14:59:51 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Richard M. Stallman
b4fb325fc2 (allout-before-change-protect): Fix error message. 2005-07-18 20:24:28 +00:00
Richard M. Stallman
40987d96c5 (allout-isearch-expose): Use isearch-mode-end-hook-quit,
not isearch-mode-end-hook-error.
2005-07-18 18:47:54 +00:00
Juri Linkov
8ff67d1374 (allout-mode): Delete duplicate words. 2005-07-18 15:15:19 +00:00
Juanma Barranquero
635ca79601 (allout-resolve-xref): Fix typos in error strings.
(allout-before-change-protect): Remove unneeded `concat'.
2005-07-18 09:03:05 +00:00
Richard M. Stallman
4185451dc7 (allout-isearch-did-quit): Variable deleted.
(allout-real-isearch-abort): Function name no longer used.
(allout-mode): Do allout-enwrap-isearch whenever feature is wanted.
(allout-isearch-rectification): isearch-mode always exists.
Don't set allout-isearch-did-quit.
(allout-isearch-expose): Check isearch-mode-end-hook-error, not
allout-isearch-did-quit.
(allout-enwrap-isearch): Just add the hook.
(allout-isearch-abort): Function deleted.
(allout-pre-command-business): Avoid warning.
2005-07-16 19:15:35 +00:00
Juanma Barranquero
539d773683 (my-mark-marker, allout-isearch-prior-pos, allout-unprotected,
allout-undo-aggregation, allout-snug-back, allout-post-command-business,
allout-flag-region, isearch-reenable-font-lock, allout-yank,
allout-insert-latex-header, allout-insert-latex-trailer,
allout-latex-verbatim-quote-curr-line, allout-latexify-exposed,
allout-latex-verb-quote): Fix typos in docstrings.
(allout-enwrap-isearch, regexp-sans-escapes): Doc fix.
(allout-unprotected, allout-prefix-data): Improve argument/docstring
consistency.
(allout-chart-subtree): Fix argument spec.
(allout-open-topic): Rename `use_sib_bullet' argument to `use-sib-bullet'.
Doc fix.
2005-07-13 10:15:39 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Nick Roberts
bff05d9ea2 (allout-exposure): Remove macro and obsolete declaration.
Remove references to allout-exposure/change to allout-new-exposure.
2005-05-01 13:43:20 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Richard M. Stallman
65970d645c (allout group): Add :version.
(allout-init): Don't use interactive-p.
(allout-ascend-to-depth, allout-ascend, allout-end-of-level)
(allout-forward-current-level, allout-backward-current-level):
Don't use interactive-p.
2004-11-01 07:32:17 +00:00
Juanma Barranquero
e126900f1e (allout-chart-subtree, allout-rebullet-topic-grunt): Don't mention in the
docstring these arguments meant for internal (recursive) use only.
(allout-char-spec): Comment out (it's not implemented).
(allout-old-expose-topic, allout-exposure): Fix docstring and add obsolescence
declaration.
(allout-flatten-exposed-to-buffer, allout-indented-exposed-to-buffer): Fix typos
in docstring.
(my-mark-marker): Doc fix.
(produce-allout-mode-map, allout-sibling-index, allout-isearch-expose)
(allout-distinctive-bullet, allout-open-topic, allout-reindent-body)
(allout-rebullet-heading, allout-process-exposed, allout-insert-listified)
(allout-latex-verb-quote, allout-insert-latex-header)
(allout-insert-latex-trailer): Make arguments match their use in
docstring.
(allout-primary-bullet, allout-old-style-prefixes, allout-inhibit-protection)
(allout-init, allout-mode, allout-before-change-protect, allout-flag-region):
Use "Emacs" instead of "emacs" in docstrings.
2004-05-21 18:10:21 +00:00
Richard M. Stallman
95c12694a4 (allout-mode-exposure-menu, allout-mode-editing-menu):
(allout-mode-navigation-menu, allout-mode-misc-menu): New defvars.
(allout-prior-bindings, allout-added-bindings): Defvars deleted.
(allout-init): Use find-file-hook, not find-file-hooks.
(allout-mode): Eliminate Emacs 18 support.
Use write-contents-functions, not local-write-file-hooks.
2004-04-17 19:53:58 +00:00
Miles Bader
1f3ddf11e8 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-196
Remove RCS keywords

2004-04-10  Miles Bader  <miles@gnu.org>

   RCS keyword removal (only non-comment changes are enumerated here):

   * lisp/emacs-lisp/bytecomp.el (byte-compile-version): Variable removed.
   (byte-compile-insert-header): Don't use `byte-compile-version'.
   * lisp/url/url-vars.el (url-version): Use the constant string "Emacs"
   instead of calculating something from the RCS `State' keyword
   [the latter is almost entirely useless anyway].
   * lisp/forms.el (forms-version): Variable removed.
   (forms-mode): Don't use `forms-version'.
   * lisp/recentf.el (recentf-version): Variable removed.
   * lisp/progmodes/delphi.el (delphi-version): Variable removed.
   * lisp/progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
2004-04-10 05:55:49 +00:00
Juanma Barranquero
f134d28b2f (allout-mode): Fix docstring. 2004-03-21 15:24:38 +00:00
Juanma Barranquero
45435c0eaf (allout-rebullet-heading): Fix typo in docstring. 2004-03-01 22:45:27 +00:00
Eli Zaretskii
b5ea1dfd17 (allout-mode): Doc fix. 2003-10-16 16:29:14 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
24190da583 (allout-auto-activation, allout-use-mode-specific-leader)
(allout-reindent-bodies, allout-unprotected): Don't quote nil and t in
docstrings.
2003-05-06 17:38:32 +00:00
Juanma Barranquero
42d03dd057 Really fix maintainer's e-mail address. 2003-02-24 17:29:49 +00:00
Juanma Barranquero
d6119ee16e Update maintainer's e-mail address. 2003-02-24 17:28:28 +00:00
Juanma Barranquero
58edceeb14 (allout-pre-command-business): Fix docstring. 2003-02-24 17:27:21 +00:00
Juanma Barranquero
71296446d3 Trailing whitespace deleted. 2003-02-04 11:26:42 +00:00
Markus Rost
9471aeec5c (allout-init): Give report also in case auto-activation was inhibited.
(my-mark-marker): Test for feature 'xemacs instead of a string parse.
2002-12-16 01:01:39 +00:00
Markus Rost
aad94676b7 Avoid name conflicts with outline.el. Use 3 installments to keep
diffs understandable.

Change 3:  Doc changes to adjust to the change to prefix "allout-".
Don't provide 'outline.  Use " Allout" as mode line string, not "
Outl".  Put group 'allout in group 'editing.  Update Copyright notice.
Autoload `allout-init'.
2002-12-16 00:42:23 +00:00
Markus Rost
2265e0170d Avoid name conflicts with outline.el. Use 3 installments to keep
diffs understandable.

Change 2:  Put `quotes' around many function and variable names.
2002-12-16 00:26:22 +00:00
Markus Rost
fd5359c61b Avoid name conflicts with outline.el. Use 3 installments to keep
diffs understandable.

Change 1:  Replace globally string "outline-" with string "allout-".
Replaced 1446 occurrences; there was no string "allout-" before the
change and there seems to be no dependency on outline.el.
2002-12-16 00:20:42 +00:00
Juanma Barranquero
764079389b (my-mark-marker): Fix typo. 2002-08-30 11:03:28 +00:00
Juanma Barranquero
d27081f5c6 (outline-goto-prefix): Fix typo. 2002-07-03 13:19:13 +00:00
Pavel Janík
5162c705f8 (outline-layout): Doc fix. 2002-03-27 20:14:09 +00:00
Pavel Janík
660a1df5d3 Fix Keywords header. 2001-12-09 13:13:13 +00:00
Pavel Janík
eac9cf5f89 (outline-version, outline-open-topic)
(outline-rebullet-heading, outline-insert-listified)
(outline-latex-verbatim-quote-curr-line)
(outline-latexify-one-item, outlineify-sticky): Use insert instead of
insert-string.
2001-11-26 16:24:26 +00:00
Pavel Janík
6a05d05faf Fixes to follow coding conventions. 2001-07-16 11:39:42 +00:00
Eli Zaretskii
33e432b18c Fix the header line, so that finder.el recognizes it. 2001-07-02 10:47:46 +00:00
Gerd Moellmann
124350021f (outline-flag-region): Move macro in front of first
use to avoid a run-time error.
2001-02-26 12:08:29 +00:00
Dave Love
9179616f47 New version from Manheimer. 2000-06-07 13:25:06 +00:00
Richard M. Stallman
edbcb77b91 (isearch-done/outline-provisions): Added `edit'
argument to correspond with the current definition of `isearch-done'.
2000-01-11 05:14:48 +00:00
Dave Love
e548a4f766 Fix Keywords header. 1998-06-15 15:45:22 +00:00
Richard M. Stallman
5b9dfc5963 (outline-end-of-prefix): store-match-data => set-match-data. 1998-03-14 04:41:23 +00:00
Stephen Eglen
4bef911093 Customized. 1998-03-07 18:19:38 +00:00
Richard M. Stallman
968bc2c919 Change maintainer email address. 1997-09-13 20:05:52 +00:00
Karl Heuer
353e2ef2de (outline-auto-activation, outline-layout)
(outline-primary-bullet, outline-plain-bullets-string)
(outline-distinctive-bullets-string, outline-old-style-prefixes)
(outline-stylish-prefixes, outline-file-xref-bullet)
(outline-use-hanging-indents, outline-bullets-string)
(outline-write-file-hook, outline-mode, outline-prefix-data)
(outline-before-change-protect, outline-make-topic-prefix)
(outline-rebullet-current-heading, outline-rebullet-heading)
(outline-listify-exposed, outline-expose-topic)
(outline-old-expose-topic, outline-exposure)
(outline-latex-verbatim-quote-curr-line)
(outline-show-current-subtree, outline-hide-current-subtree)
(outline-hide-current-leaves, outline-new-exposure): Doc fix.
1996-07-13 18:46:08 +00:00