aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/hideshow.el
Commit message (Collapse)AuthorAgeFilesLines
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* (hs-minor-mode-menu): Compare `hs-isearch-open' with t instead ofJuri Linkov2008-02-281-1/+1
| | | | `comment' in :selected for "Code and Comment blocks" menu item.
* * progmodes/hideshow.el (hs-minor-mode-menu): Add some options toDan Nicolaescu2008-02-281-4/+21
| | | | | | | | the menu. * vc.el (vc-deduce-fileset, vc-next-action, vc-start-entry) (vc-finish-logentry): Check for vc-status-mode, not only for vc-dired-mode.
* * textmodes/bibtex.el: Remove support for hideshow minor mode asRoland Winkler2008-02-251-1/+1
| | | | | | it duplicates the bibtex support in progmodes/hideshow.el. * progmodes/hideshow.el (hs-special-modes-alist): Allow bibtex entry that do not start at the beginning of a line.
* (hs-minor-mode-map): Move menu creation toDan Nicolaescu2008-02-171-15/+16
| | | | top level.
* Remove the minor-mode bookkeeping. MoveDan Nicolaescu2008-02-161-58/+38
| | | | | | make-variable-buffer-local code after the corresponding defvar. (hs-minor-mode-map): Define and initialize in one step. (hs-minor-mode): Change from defun to define-minor-mode.
* * erc-ibuffer.el (erc-channel-modes):Stefan Monnier2008-01-041-3/+4
| | | | | | | | | | | | | | | * bs.el (bs--sort-by-mode, bs--get-mode-name): * imenu.el (imenu-add-to-menubar): * makesum.el (make-command-summary): * mouse.el (mouse-major-mode-menu, mouse-popup-menubar, mouse-buffer-menu): * msb.el (msb--mode-menu-cond): * calc/calc-embed.el (calc-do-embedded): * emacs-lisp/helper.el (Helper-describe-mode): * mail/emacsbug.el (report-emacs-bug): * progmodes/hideshow.el (hs-grok-mode-type): * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function): * textmodes/table.el (*table--cell-describe-mode): Pass mode-name through format-mode-line.
* (hs-match-data): Delete alias.Thien-Thi Nguyen2007-08-241-8/+3
| | | | | (hs-hide-block-at-point, hs-find-block-beginning) (hs-show-block): Use `match-data' directly.
* Merge from emacs--rel--22Miles Bader2007-08-131-3/+3
|\ | | | | | | Revision: [email protected]/emacs--devo--0--patch-851
| * Replace `iff' in doc-strings and comments.Glenn Morris2007-08-081-3/+3
| |
* | Merge from emacs--rel--22Miles Bader2007-07-261-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--rel--22 (patch 70-73) - Update from CVS 2007-07-25 Glenn Morris <[email protected]> * Relicense all FSF files to GPLv3 or later. Revision: [email protected]/emacs--devo--0--patch-828
| * Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
| |
* | (hs-hide-all): Use progress reporter.Thien-Thi Nguyen2007-06-221-4/+4
| |
* | (hs-hide-comment-region): Use line-end-position.Thien-Thi Nguyen2007-06-221-5/+4
| | | | | | | | (hs-hide-block-at-point, hs-show-block): Likewise.
* | Untabify; nfc.Thien-Thi Nguyen2007-06-221-4/+4
|/
* (turn-off-hideshow): Tweak docstring.Chong Yidong2007-03-311-1/+1
|
* (turn-off-hideshow): New function.Chong Yidong2007-03-311-2/+6
| | | | | (hs-minor-mode): Use it instead of a lambda expression in change-major-mode-hook.
* (hs-minor-mode): Turn mode off and show all when switching major mode.Glenn Morris2007-03-041-4/+10
| | | | | | | (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.
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (hs-already-hidden-p): Move to end of line so hidden blocks will beJ.D. Smith2006-11-271-0/+1
| | | | correctly identified.
* Update copyright for 2006.Nick Roberts2006-02-101-1/+1
|
* (hs-hide-comments-when-hiding-all): Remove autoload cookie.Thien-Thi Nguyen2005-09-141-41/+49
| | | | | | | | | | | | | | (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'.
* Comment munging; nfc.Thien-Thi Nguyen2005-09-141-10/+12
|
* Update copyright for release of 22.1 for progmodes directory.Nick Roberts2005-08-011-1/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* Update `Maintainer-Version' header comment; nfc.Thien-Thi Nguyen2005-01-041-1/+1
|
* No longer require `cl'; `dolist' is standard.Thien-Thi Nguyen2005-01-041-1/+0
|
* (hs-set-up-overlay): New user var.Thien-Thi Nguyen2004-12-261-36/+81
| | | | | | | | | | | | | (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'.
* Require `cl' when compiling.Thien-Thi Nguyen2004-12-241-60/+25
| | | | | | | 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.
* Untabify, reindent; nfc.Thien-Thi Nguyen2004-12-241-45/+45
|
* (hs-inside-comment-p): Fix omission bug:Thien-Thi Nguyen2004-12-231-14/+15
| | | | When extending backwards, move outside the current comment first.
* Rewrite one-armed `if'Thien-Thi Nguyen2003-10-181-42/+40
| | | | | constructs using either `when' or `unless'. (hs-grok-mode-type): Elide superfluous `progn'; nfc.
* Thank Michael Ernst; nfc.Thien-Thi Nguyen2003-09-291-1/+1
|
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* (hs-special-modes-alist): Clarify MDATA-SELECTOR doc; nfc.Thien-Thi Nguyen2003-07-221-2/+3
|
* (hs-adjust-block-beginning): Fix typo.Juanma Barranquero2002-05-161-1/+1
|
* Typo.Stefan Monnier2002-04-081-1/+1
|
* Update first-line description.Thien-Thi Nguyen2001-08-271-32/+73
| | | | | | | | | | | | 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'.
* (hs-minor-mode): Use make-local-variable.Stefan Monnier2001-07-161-2/+1
|
* (hs-minor-mode-map): Use mouse-2, not button-2, when bindingRichard M. Stallman2001-06-261-1/+1
| | | | hs-mouse-toggle-hiding.
* Docstring typo.Stefan Monnier2001-05-251-1/+1
|
* (hs-minor-mode-hook): Include `:version' in defcustom form.Thien-Thi Nguyen2001-03-141-1/+2
|
* Update copyright.Thien-Thi Nguyen2001-03-131-14/+14
| | | | (hs-minor-mode-map): Change bindings to use `C-c @' prefix.
* Update author email address.Thien-Thi Nguyen2000-09-231-92/+99
| | | | | | | | | | 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.
* Update copyright notice.Gerd Moellmann2000-07-241-1/+1
|
* (hs-flag-region): No longer use `intangible' overlay property.Thien-Thi Nguyen2000-02-181-13/+20
| | | | | | | | | (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.
* Fix buglet in local variables initialization.Thien-Thi Nguyen2000-01-051-1/+2
|
* (hs-discard-overlays, hs-flag-region, hs-show-block):Thien-Thi Nguyen2000-01-051-31/+34
| | | | Don't use `mapcar' when not accumulating.
* (hs-minor-mode-menu): Fix omission bug; was used but not declared.Thien-Thi Nguyen1999-12-291-4/+19
| | | | | | | (hs-discard-overlays, hs-isearch-show, hs-isearch-show-temporary, hs-find-block-beginning): Add or modify docstrings. (hs-isearch-show): Rewrite.