Paul Eggert
333f9019e2
Spelling fixes.
2011-12-11 21:32:49 -08:00
Chong Yidong
ac6c8639bd
Fix more minor mode docstrings.
...
* lisp/emulation/cua-base.el (cua-mode):
* lisp/mail/footnote.el (footnote-mode):
* lisp/mail/mailabbrev.el (mail-abbrevs-mode):
* lisp/net/xesam.el (xesam-minor-mode):
* lisp/progmodes/bug-reference.el (bug-reference-mode):
* lisp/progmodes/cap-words.el (capitalized-words-mode):
* lisp/progmodes/compile.el (compilation-minor-mode)
(compilation-shell-minor-mode):
* lisp/progmodes/gud.el (gud-tooltip-mode):
* lisp/progmodes/hideif.el (hide-ifdef-mode):
* lisp/progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
* lisp/progmodes/subword.el (subword-mode):
* lisp/progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
* lisp/progmodes/which-func.el (which-function-mode):
* lisp/term/tvi970.el (tvi970-set-keypad-mode):
* lisp/term/vt100.el (vt100-wide-mode):
* lisp/textmodes/flyspell.el (flyspell-mode):
* lisp/textmodes/ispell.el (ispell-minor-mode):
* lisp/textmodes/nroff-mode.el (nroff-electric-mode):
* lisp/textmodes/paragraphs.el (use-hard-newlines):
* lisp/textmodes/refill.el (refill-mode):
* lisp/textmodes/reftex.el (reftex-mode):
* lisp/textmodes/rst.el (rst-minor-mode):
* lisp/textmodes/sgml-mode.el (html-autoview-mode)
(sgml-electric-tag-pair-mode):
* lisp/textmodes/tex-mode.el (latex-electric-env-pair-mode):
* lisp/vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
* lisp/emulation/crisp.el (crisp-mode):
* lisp/emacs-lisp/eldoc.el (eldoc-mode):
* lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
minor mode behavior.
* lisp/erc/erc-fill.el (erc-fill-mode):
* lisp/erc/erc-track.el (erc-track-minor-mode): Doc fix.
* lisp/erc/erc.el (define-erc-module): Fix autogenerated docstring to
reflect Emacs 24 minor mode changes.
* lisp/gnus/gnus-cite.el (gnus-message-citation-mode): Doc fix (in Emacs 24,
calling a minor mode from Lisp with nil arg enables it, so we have to
make the working a bit ambiguous here).
2011-10-19 20:26:14 -04:00
Juanma Barranquero
e02f48d76b
lisp/progmodes/*.el: Lexical-binding cleanup.
2011-04-22 20:44:26 +02:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Glenn Morris
5ed619e0a3
Use line-end-position rather than end-of-line, etc.
...
* textmodes/texnfo-upd.el (texinfo-start-menu-description)
(texinfo-update-menu-region-beginning, texinfo-menu-first-node)
(texinfo-delete-existing-pointers, texinfo-find-pointer)
(texinfo-clean-up-node-line, texinfo-insert-node-lines)
(texinfo-multiple-files-update):
* textmodes/table.el (table--probe-cell-left-up)
(table--probe-cell-right-bottom):
* textmodes/picture.el (picture-tab-search):
* textmodes/page-ext.el (pages-copy-header-and-position)
(pages-directory-for-addresses):
* progmodes/vera-mode.el (vera-get-offset):
* progmodes/simula.el (simula-calculate-indent):
* progmodes/python.el (python-pdbtrack-overlay-arrow):
* progmodes/prolog.el (end-of-prolog-clause):
* progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
* progmodes/icon.el (indent-icon-exp):
* progmodes/etags.el (tag-re-match-p):
* progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
* progmodes/ebnf2ps.el (ebnf-begin-file):
* progmodes/dcl-mode.el (dcl-back-to-indentation-1)
(dcl-save-local-variable):
* play/life.el (life-setup):
* play/gametree.el (gametree-looking-at-ply):
* nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
* mail/sendmail.el (mail-mode-auto-fill):
* emacs-lisp/lisp-mode.el (calculate-lisp-indent):
* emacs-lisp/edebug.el (edebug-overlay-arrow):
* emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
* woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
(woman-tab-to-tab-stop, WoMan-warn-ignored):
* type-break.el (type-break-file-keystroke-count):
* term.el (term-replace-by-expanded-history-before-point)
(term-skip-prompt, term-extract-string):
* speedbar.el (speedbar-edit-line, speedbar-expand-line)
(speedbar-contract-line, speedbar-toggle-line-expansion)
(speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
(speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
* sort.el (sort-skip-fields):
* skeleton.el (skeleton-internal-list):
* simple.el (line-move-finish, line-move-to-column):
* shell.el (shell-forward-command):
* misc.el (copy-from-above-command):
* makesum.el (double-column):
* ebuff-menu.el (electric-buffer-update-highlight):
* dired.el (dired-move-to-end-of-filename):
* dframe.el (dframe-popup-kludge):
* bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
* arc-mode.el (archive-get-lineno):
Use line-end-position and line-beginning-position.
* net/ange-ftp.el, progmodes/hideif.el, reposition.el:
Same, but only in comments.
2010-11-06 13:23:42 -07:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Glenn Morris
6b13eef029
Comment (add Marick as co-author, based on ack.texi and authors.el and
...
initial version of the file).
2009-01-10 23:28:51 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Glenn Morris
b1fc2b5014
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 07:25:26 +00:00
Dan Nicolaescu
61acee9902
* progmodes/asm-mode.el (asm-mode-map):
...
* progmodes/hideif.el (hide-ifdef-mode-menu): Add :help.
* progmodes/m4-mode.el (m4-mode-map): Add menu.
2008-04-21 05:02:06 +00:00
Stefan Monnier
fb970f91df
(hif-factor): Handle unary minus.
2008-04-12 04:38:45 +00:00
Stefan Monnier
d302e5cfe3
(hif-token-alist): New var.
...
(hif-token-regexp, hif-tokenize): Use it.
(hif-mathify-binop): New macro.
(hif-plus, hif-minus, hif-notequal, hif-greater, hif-less)
(hif-greater-equal, hif-less-equal): Use it.
(hif-logior, hif-logand): New functions.
(hif-math): Accept | and & as well.
2008-04-05 03:32:05 +00:00
Glenn Morris
881c0f33dd
Remove out-of-date section of commentary.
2008-01-24 04:46:59 +00:00
Martin Rudalics
c23346134d
(hide-ifdef-shadow): Add version number for defcustom.
...
(hide-ifdef-shadow): Add version number for defface.
2008-01-23 10:29:49 +00:00
Glenn Morris
0dedb2bee0
(hide-ifdef-initially, hide-ifdef-read-only)
...
(hide-ifdef-lines, hide-ifdef-shadow, hide-ifdef-shadow):
Remove autoload cookies.
2008-01-22 06:56:23 +00:00
Glenn Morris
adcc05dc92
Move defcustoms and defface to start of file.
2008-01-21 04:46:12 +00:00
Martin Rudalics
f3a221cf73
(hide-ifdef-shadow): New option.
...
(hide-ifdef-shadow): New face.
(hide-ifdef-toggle-shadowing): New function to toggle between
shadowing and making code invisible.
(hide-ifdef-mode-submap): Add binding for
hide-ifdef-toggle-shadowing.
(hide-ifdef-mode-menu): Add entry for
hide-ifdef-toggle-shadowing.
(hide-ifdef-region-internal): Give new overlay hide-ifdef
property. Shadow text when hide-ifdef-shadow is non-nil.
(hif-show-ifdef-region): Remove overlays with hide-ifdef
property set.
(hif-hide-line): Use when instead of if.
(hide-ifdef-initially, hide-ifdef-read-only, hide-ifdef-lines):
Remove unneeded * from doc-strings.
2008-01-19 16:29:08 +00:00
Glenn Morris
4e643dd23c
Add 2008 to copyright years.
2008-01-07 02:11:00 +00:00
Nick Roberts
47aef245fc
(hide-ifdef-mode-menu): Put hide-ifdef commands
...
on menu bar.
2008-01-06 21:29:20 +00:00
Glenn Morris
1a484753b2
Switch license to GPLv3 or later.
2007-07-25 04:29:40 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Eli Zaretskii
d689858f8a
(show-ifdef-block): Fix bug where parts of a hidden block remained hidden if
...
`hide-ifdef-lines' is non-nil.
2006-05-20 17:27:07 +00:00
Nick Roberts
d91362c9e0
Update copyright for 2006.
2006-02-10 09:00:31 +00:00
Nick Roberts
034babe1e1
Update copyright for release of 22.1 for progmodes directory.
2005-08-01 08:43:45 +00:00
Stefan Monnier
521b27480a
(hide-ifdef-use-define-alist): Pass a list of
...
strings rather than a list of symbols to the completion function.
2005-07-07 04:31:17 +00:00
Lute Kamstra
3a35cf56e7
Update FSF's address.
2005-07-04 17:55:18 +00:00
Lute Kamstra
0f06a4df3f
(hide-ifdef-mode): Specify :group.
2005-04-04 09:25:36 +00:00
Kim F. Storm
48d66f99eb
(hide-ifdef-use-define-alist): Use
...
completing-read. Suggested by Juan-Leon Lahoz Garcia.
2005-02-22 20:52:39 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Juanma Barranquero
a1506d2977
Trailing whitepace deleted.
2003-02-04 13:24:35 +00:00
Andreas Schwab
2dc2ec3d49
Augment expression parser to handle conditional expressions.
2002-03-06 15:12:01 +00:00
Stefan Monnier
f1259a53b0
(hif-nexttoken): Move to before first def.
2001-12-01 18:20:52 +00:00
Stefan Monnier
f71d927d8b
(hide-ifdef-mode): Only modify
...
`change-major-mode-hook' locally. Reset invisibility spec.
2001-11-30 23:58:24 +00:00
Stefan Monnier
5b5907acb7
Fix copyright year.
2001-11-28 20:55:38 +00:00
Stefan Monnier
722fa77ffa
(hif-end-of-line): New function.
...
(hide-ifdef-mode): Set line-move-ignore-invisible.
(hide-ifdef-region-internal): New function.
(hide-ifdef-region): Use it.
(hif-defined): Return an integer.
(hif-infix-to-prefix): Remove.
(hif-tokenize): Parse from the buffer rather than from a string.
Correctly tokenize integers. Use forward-comment.
(hif-expr): Use hif-or.
(hif-term): Use hif-and.
(hif-factor): Use hif-not. Handle numbers properly.
Don't require parenthesis around `defined's argument.
(hif-and, hif-or, hif-not): New funs.
(hif-canonicalize): Pass a region to hif-tokenize. Use hif-not.
(hif-hide-line): Don't hide the \n before the line.
(hif-possibly-hide): Correctly handle numeric evaluation results.
2001-11-28 20:53:28 +00:00
Stefan Monnier
067d92a1b8
Misc cleanup.
...
(hide-ifdef-mode-submap): Put the def in the defvar.
Use substitute-key-definition.
(hide-ifdef-mode): Use define-minor-mode.
(hif-outline-flag-region): Remove.
(hif-show-all): Define in terms of hif-show-ifdef-region.
(hif-after-revert-function): Rename from hif-before-revert-function.
(hide-ifdef-region, hif-show-ifdef-region): Use overlays.
(hif-tokenize): Use with-syntax-table.
(hif-make-range): Use `else' also for `else-p'.
(hif-range-else-p): Remove.
(hif-find-range): Simplify.
(hif-hide-line): Don't bother preserving buffer-modified-p.
(hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
Don't use selective-display and inhibit-read-only.
2001-11-28 04:12:47 +00:00
Pavel Janík
5553563924
Some fixes to follow coding conventions in files maintained by FSF.
2001-07-15 16:15:35 +00:00
Gerd Moellmann
f367dfc1d6
Change authors' mail address.
2000-08-15 12:39:23 +00:00
Gerd Moellmann
482bb01b8b
Correct author's email address. Fix typo in comment.
2000-07-19 15:51:05 +00:00
Stefan Monnier
16fdbdceda
(hif-compress-define-list)
...
(hide-ifdef-use-define-alist): Don't quote lambda.
2000-06-12 05:22:26 +00:00
Gerd Moellmann
d8f1319a79
Use new backquote syntax.
1999-11-21 14:50:21 +00:00
Dave Love
b6339cee8e
(hide-ifdef-mode): Add autoload cookie.
1999-09-13 22:43:15 +00:00
Andreas Schwab
4e391a67d1
(hide-ifdef-env, hif-outside-read-only):
...
Move declaration before first use.
(hif-parse-if-exp, hif-nexttoken, hif-expr, hif-term, hif-eq-expr,
hif-math, hif-factor): Rename token to hif-token and token-list to
hif-token-list.
(hif-token, hif-token-list): Declare them.
(hif-find-ifdef-block): Return cons of top and bottom point
instead of setting dynamically bound variables.
(hide-ifdef-block, show-ifdef-block): Use return value of
hif-find-ifdef-block.
1998-10-13 09:52:54 +00:00
Andreas Schwab
28d16ed35b
Customized.
1998-01-26 11:29:46 +00:00
Richard M. Stallman
958ef4fe21
(hif-greater, hif-less, hif-greater-equal)
...
(hif-less-equal): New functions.
(hif-tokenize): Handle new tokens >, <, >=, <=.
(hif-eq-expr): Handle parsing these new tokens.
(hif-token-regexp): Match >, <. >=, <=
1997-08-25 17:06:42 +00:00
Richard M. Stallman
2fe16d3bc0
(hif-token-regexp): Move ! after !=.
1996-09-13 21:53:55 +00:00
Richard M. Stallman
46b9324699
(hide-ifdef-mode): Doc fix.
1996-05-05 17:27:24 +00:00
Erik Naggum
b578f267af
Update FSF's address.
1996-01-14 07:34:30 +00:00