Thien-Thi Nguyen
39696a778f
(hs-match-data): Delete alias.
...
(hs-hide-block-at-point, hs-find-block-beginning)
(hs-show-block): Use `match-data' directly.
2007-08-24 10:41:57 +00:00
Miles Bader
37cc095b6a
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
2007-08-13 13:41:28 +00:00
Glenn Morris
e7f767c25e
Replace `iff' in doc-strings and comments.
2007-08-08 07:34:30 +00:00
Miles Bader
9aecacd08a
Merge from emacs--rel--22
...
Patches applied:
* emacs--rel--22 (patch 70-73)
- Update from CVS
2007-07-25 Glenn Morris <rgm@gnu.org>
* Relicense all FSF files to GPLv3 or later.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
1a484753b2
Switch license to GPLv3 or later.
2007-07-25 04:29:40 +00:00
Thien-Thi Nguyen
31a0385dee
(hs-hide-all): Use progress reporter.
2007-06-22 08:41:25 +00:00
Thien-Thi Nguyen
77a2bb53c2
(hs-hide-comment-region): Use line-end-position.
...
(hs-hide-block-at-point, hs-show-block): Likewise.
2007-06-22 08:15:02 +00:00
Thien-Thi Nguyen
dce39ca8e3
Untabify; nfc.
2007-06-22 08:03:38 +00:00
Chong Yidong
1fee5894c0
(turn-off-hideshow): Tweak docstring.
2007-03-31 18:33:07 +00:00
Chong Yidong
996ae468d4
(turn-off-hideshow): New function.
...
(hs-minor-mode): Use it instead of a lambda expression in
change-major-mode-hook.
2007-03-31 18:32:05 +00:00
Glenn Morris
b9634f953f
(hs-minor-mode): Turn mode off and show all when switching major mode.
...
(hs-minor-mode, hs-c-start-regexp, hs-block-start-regexp)
(hs-block-start-mdata-select, hs-block-end-regexp)
(hs-forward-sexp-func, hs-adjust-block-beginning): Do not make
these variables permanent-local.
2007-03-04 20:51:17 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
J.D. Smith
c8aab130e9
(hs-already-hidden-p): Move to end of line so hidden blocks will be
...
correctly identified.
2006-11-27 18:08:51 +00:00
Nick Roberts
d91362c9e0
Update copyright for 2006.
2006-02-10 09:00:31 +00:00
Thien-Thi Nguyen
a5b101dc44
(hs-hide-comments-when-hiding-all): Remove autoload cookie.
...
(hs-allow-nesting): New user var.
(hs-discard-overlays): Skip "internal" overlays if nesting allowed.
(hs-hide-block-at-point): When nesting allowed,
if there is already an overlay in place, delete it.
(hs-safety-is-job-n): Delete func; remove call sites.
(hs-hide-level-recursive): Don't pre-clean if nesting allowed.
(hs-overlay-at): New func.
(hs-already-hidden-p, hs-show-block): Use it.
(hs-hide-all): Don't pre-clean if nesting allowed.
(hs-show-all): Temporarily disallow
nesting around call to `hs-discard-overlays'.
2005-09-14 00:29:50 +00:00
Thien-Thi Nguyen
2bbf184223
Comment munging; nfc.
2005-09-14 00:16:25 +00:00
Nick Roberts
034babe1e1
Update copyright for release of 22.1 for progmodes directory.
2005-08-01 08:43:45 +00:00
Lute Kamstra
3a35cf56e7
Update FSF's address.
2005-07-04 17:55:18 +00:00
Thien-Thi Nguyen
01d2bd0234
Update `Maintainer-Version' header comment; nfc.
2005-01-04 05:19:16 +00:00
Thien-Thi Nguyen
d4bb773510
No longer require cl'; dolist' is standard.
2005-01-04 05:15:32 +00:00
Thien-Thi Nguyen
dfdc1af2c6
(hs-set-up-overlay): New user var.
...
(hs-make-overlay): New function.
(hs-isearch-show-temporary): Handle `display' overlay prop specially.
(hs-flag-region): Delete function.
(hs-hide-comment-region): No longer use `hs-flag-region'.
Instead, use `hs-discard-overlays' and `hs-make-overlay'.
(hs-hide-block-at-point): Likewise.
(hs-hide-level-recursive): Use `hs-discard-overlays'.
(hs-hide-all, hs-show-all): Likewise.
(hs-show-block): Likewise.
Also, use overlay prop `hs-b-offset', not `hs-ofs'.
2004-12-26 19:48:10 +00:00
Thien-Thi Nguyen
70d16390a0
Require `cl' when compiling.
...
Remove XEmacs and Emacs 19 compatibility.
Use `dolist' and `add-to-list' for load-time actions.
(hs-discard-overlays): Use `dolist'.
(hs-show-block): Likewise.
2004-12-24 02:08:14 +00:00
Thien-Thi Nguyen
53c403031f
Untabify, reindent; nfc.
2004-12-24 01:57:47 +00:00
Thien-Thi Nguyen
aa7d670003
(hs-inside-comment-p): Fix omission bug:
...
When extending backwards, move outside the current comment first.
2004-12-23 18:22:05 +00:00
Thien-Thi Nguyen
c327c4058f
Rewrite one-armed `if'
...
constructs using either `when' or `unless'.
(hs-grok-mode-type): Elide superfluous `progn'; nfc.
2003-10-18 01:05:54 +00:00
Thien-Thi Nguyen
6e8fcd2193
Thank Michael Ernst; nfc.
2003-09-29 13:24:30 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Thien-Thi Nguyen
90d606ce3e
(hs-special-modes-alist): Clarify MDATA-SELECTOR doc; nfc.
2003-07-22 19:59:35 +00:00
Juanma Barranquero
e7bdfdcf2a
(hs-adjust-block-beginning): Fix typo.
2002-05-16 12:01:17 +00:00
Stefan Monnier
c98cd8bb84
Typo.
2002-04-08 22:47:17 +00:00
Thien-Thi Nguyen
26d654ec0d
Update first-line description.
...
Sync comments w/ maintainer version 5.31.
(hs-isearch-open): Default value now `code'.
Fix docstring to use "code blocks" vs "comment blocks",
as opposed to "block" vs "comment".
(hs-flag-region): Accept `hs-isearch-open' value
of `block' as synonymous w/ `code'.
(hs-hide-block-at-point): For code blocks, pass `code'
to `hs-flag-region' instead of `block'.
2001-08-27 22:23:09 +00:00
Stefan Monnier
3f3960a544
(hs-minor-mode): Use make-local-variable.
2001-07-16 01:55:37 +00:00
Richard M. Stallman
722da89bf4
(hs-minor-mode-map): Use mouse-2, not button-2, when binding
...
hs-mouse-toggle-hiding.
2001-06-26 11:50:16 +00:00
Stefan Monnier
74e87f23e4
Docstring typo.
2001-05-25 20:35:00 +00:00
Thien-Thi Nguyen
82dab959b1
(hs-minor-mode-hook): Include `:version' in defcustom form.
2001-03-14 00:04:50 +00:00
Thien-Thi Nguyen
60470e6567
Update copyright.
...
(hs-minor-mode-map): Change bindings to use `C-c @' prefix.
2001-03-13 23:34:21 +00:00
Thien-Thi Nguyen
9b4a780043
Update author email address.
...
Generally, sync w/ maintainer version 5.22.
(hs-hide-all-non-comment-function): New var.
(hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
(hs-hide-all): Use `hs-hide-all-non-comment-function'.
(hs-show-region): Delete this command.
(hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
2000-09-23 02:37:50 +00:00
Gerd Moellmann
35a11dcb21
Update copyright notice.
2000-07-24 18:36:43 +00:00
Thien-Thi Nguyen
a23c5037e7
(hs-flag-region): No longer use `intangible' overlay property.
...
(hs-toggle-hiding): New command.
(hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
(hs-minor-mode): Move call to `hs-grok-mode-type' early on.
Fix omission bug: Run `hs-minor-mode-hook' for both activation
and deactivation.
2000-02-18 23:35:24 +00:00
Thien-Thi Nguyen
7ddafb955f
Fix buglet in local variables initialization.
2000-01-05 12:34:51 +00:00
Thien-Thi Nguyen
a40efb3bb9
(hs-discard-overlays, hs-flag-region, hs-show-block):
...
Don't use `mapcar' when not accumulating.
2000-01-05 12:22:21 +00:00
Thien-Thi Nguyen
1a8e83dc40
(hs-minor-mode-menu): Fix omission bug; was used but not declared.
...
(hs-discard-overlays, hs-isearch-show, hs-isearch-show-temporary,
hs-find-block-beginning): Add or modify docstrings.
(hs-isearch-show): Rewrite.
1999-12-29 09:00:35 +00:00
Thien-Thi Nguyen
26a0b3991e
Generally, synch w/ maintainer version 5.9.
...
(hs-show-hidden-short-form): Delete var; hard-code uses as `t'.
(hs-minor-mode-hook): Don't initialize.
(hs-special-modes-alist): Rewrite value and docstring.
(hs-minor-mode-prefix): Delete unused var.
(hs-block-start-mdata-select): New var, buffer local.
(hs-headline): New var.
(hs-match-data, hs-forward-sexp): New funcs.
(hs-hide-comment-region): New func.
(hs-discard-overlays, hs-flag-region, hs-hide-block-at-point,
hs-safety-is-job-n, hs-hide-initial-comment-block, hs-inside-comment-p,
hs-grok-mode-type, hs-find-block-beginning, hs-hide-level-recursive,
hs-life-goes-on, hs-already-hidden-p, hs-c-like-adjust-block-beginning,
hs-hide-all, hs-show-all, hs-hide-block, hs-show-block, hs-show-region,
hs-hide-level, hs-mouse-toggle-hiding, hs-minor-mode): Rewrite.
(hs-isearch-show): Renamed from `hs-isearch-open-invisible'.
(hs-isearch-show-temporary): New funcs.
(hs-show-block-at-point, java-hs-forward-sexp): Delete funcs.
(hs-hide-all, hs-mouse-toggle-hiding): Don't autoload.
When constructing menu, use `[(shift button2)]' notation.
1999-12-26 11:03:32 +00:00
Dan Nicolaescu
f467e98486
*** empty log message ***
1998-10-02 18:11:14 +00:00
Thien-Thi Nguyen
115db33eb5
*** empty log message ***
1998-09-18 09:41:31 +00:00
Thien-Thi Nguyen
b51900451a
(hs-grok-mode-type) Handle nil comment-start' and comment-end'.
1998-09-13 21:55:51 +00:00
Thien-Thi Nguyen
28f0c4f275
(hs-minor-mode): Use make-local-variable' not make-variable-buffer-local'.
1998-06-12 05:53:52 +00:00
Thien-Thi Nguyen
aaa114d058
Require `easymenu'. Rework to use easymenu. Remove eol ws.
...
(hs-hide-level-recursive, hs-hide-level): Add.
(hs-unbalance-handler-method): Delete.
(hs-show-block-at-point): Always use `top-level' unbalanced-handler case.
1998-06-12 05:32:48 +00:00
Dan Nicolaescu
12ab6a7d3a
(hs-life-goes-on): Use Emacs' native backquote support.
1998-05-17 01:55:17 +00:00
Dan Nicolaescu
b6a386ad60
(hs-special-modes-alist): Improved the regexp for java.
1998-02-02 07:29:59 +00:00