summaryrefslogtreecommitdiff
path: root/lisp/newcomment.el
Commit message (Collapse)AuthorAgeFilesLines
* (comment-normalize-vars): Initialize properly if comment-start was nil.Stefan Monnier2003-11-251-4/+4
|
* (comment-indent): Don't call indent-according-to-mode if the line has code.Stefan Monnier2003-10-241-4/+12
| | | | Don't try to line up with something that's too far left.
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* (uncomment-region): Remove padding coming fromStefan Monnier2003-07-041-2/+6
| | | | comment-start rather than just from comment-padding.
* (comment-empty-lines): New var.Stefan Monnier2003-05-301-1/+11
| | | | (comment-region-internal): Use it.
* (comment-indent): Try to align to adjacent comments.Stefan Monnier2003-05-101-11/+32
| | | | | | (comment-with-narrowing): Actually use the arguments. (comment-valid-prefix-p): Rename from comment-valid-prefix and fix to actually use its argument.
* (comment-indent): Be more careful when insertingStefan Monnier2003-05-091-2/+2
| | | | the space, and insert it before setting `begpos'.
* (comment-normalize-vars): Add docstring.Stefan Monnier2003-05-061-0/+4
|
* (comment-set-column, comment-kill, comment-or-uncomment-region):Stefan Monnier2003-05-061-0/+3
| | | | Call comment-normalize-vars since these functions are autoloaded.
* (comment-search-forward): Delete autoload cookie.Richard M. Stallman2003-05-061-1/+0
|
* (comment-search-forward): Add autoload cookie.Richard M. Stallman2003-05-031-0/+1
|
* (comment-normalize-vars): Fix regexp.Stefan Monnier2003-04-231-4/+17
| | | | | Prompt the user for the comment-start to use rather than signalling an error. (uncomment-region): Don't leave half-removed comment markers.
* (comment-use-syntax): Add autoload cookie.Richard M. Stallman2003-04-191-0/+2
|
* (comment-indent): Ensure space before added comment.Dave Love2003-02-131-0/+4
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-4/+4
|
* (defgroup comment): Remove autoload cookie.Markus Rost2002-11-121-1/+0
|
* (comment-with-narrowing): Use the `declare' thingy.Stefan Monnier2002-09-131-2/+1
|
* (uncomment-region): Fix let/let* use.Juanma Barranquero2002-09-111-14/+14
|
* (uncomment-region): Be more careful with `='.Stefan Monnier2002-09-101-10/+14
|
* (comment-make-extra-lines): Only use theStefan Monnier2002-09-031-15/+28
| | | | | dummy `=' char when there's really nothing else. Don't remove spaces if it leads to an incorrect comment.
* (comment-region): Force `lines' when `block' is set.Stefan Monnier2002-08-121-2/+2
|
* (comment-normalize-vars): Refresh the comment-foo-skipStefan Monnier2002-06-181-3/+6
| | | | regexp when they don't match comment-foo any more.
* (comment-fill-column): Fix :type spec.Stefan Monnier2002-04-301-2/+2
|
* (comment-fill-column): New var.Stefan Monnier2002-04-291-13/+28
| | | | | | (comment-indent): Use it. (comment-or-uncomment-region): New fun. (comment-dwim): Use it.
* (comment-column): Docstring improvement.Stefan Monnier2002-04-081-3/+4
|
* (comment-forward): Use forward-comment to skipStefan Monnier2002-03-041-5/+5
| | | | over whitespace (or comments) even when comment-use-syntax is nil.
* Fix typo.Pavel Janík2002-01-131-2/+2
|
* (comment-indent): Jump to the middle of empty comments.Stefan Monnier2001-12-141-3/+10
|
* New bug.Stefan Monnier2001-12-021-1/+2
|
* New bug.Stefan Monnier2001-11-291-1/+2
|
* (comment-column, comment-style, comment-multi-line)Stefan Monnier2001-11-191-9/+7
| | | | | | | (comment-auto-fill-only-comments): Remove :group arg. (comment-padding): Add :type. (comment-indent-new-line): Ignore comment-auto-fill-only-comments if called interactively.
* (comment-indent): Fix misindentation for comment-only lines.Stefan Monnier2001-11-191-21/+26
| | | | | (comment-indent-new-line): Only obey comment-multi-line if the comment-ender is not the end-of-line.
* (comment-normalize-vars): Handle a nil comment-padding.Stefan Monnier2001-11-131-1/+2
|
* (comment-region-internal): Don't rebindStefan Monnier2001-10-121-9/+2
| | | | invisibility_spec now that the C routines handle it correctly.
* (comment-indent): Be a little more robust in caseStefan Monnier2001-10-111-11/+39
| | | | | | | | | comment-indent-function does funny things. (comment-normalize-vars): Autoload. (comment-region-internal): Fiddle with the visibility spec. (comment-valid-prefix): New function. (comment-indent-new-line): Use it. Ignore adaptive-fill-prefixes that would turn comment-text into non-comment-text.
* (comment-normalize-vars): Use " \t" rather thanStefan Monnier2001-09-271-2/+4
| | | | "\\s-" when defining comment-end-skip.
* (comment-indent): Don't insert a fixed number of spaces.Stefan Monnier2001-09-011-5/+3
|
* *** empty log message ***Stefan Monnier2001-09-011-3/+5
|
* (comment-beginning): Make sure the comment-startStefan Monnier2001-08-211-3/+17
| | | | we found isn't a comment-end (in cases where confusion is possible).
* (comment-normalize-vars): Use [ \t] for the trailingStefan Monnier2001-03-021-11/+16
| | | | spaces in default comment-start-skip settings rather than \s-.
* (comment-forward): Skip the comment-start beforeStefan Monnier2001-02-221-1/+2
| | | | searching for the comment-end.
* Remove useless Version.Stefan Monnier2000-12-181-2/+1
|
* (comment-indent-new-line): Use delete-horizontal-spaceStefan Monnier2000-12-111-3/+2
| | | | (so as to obey the field property in the minibuffer).
* Fix copyright years.Dave Love2000-12-061-4/+4
| | | | (comment-region, comment-dwim): Doc fix.
* (comment-indent): Save excursion around call to comment-indent-function.Stefan Monnier2000-11-291-2/+2
|
* (comment-indent): Insert comment before callingStefan Monnier2000-11-211-35/+40
| | | | | comment-indent-function. Don't insert in column 0. (comment-dwim): Indent before inserting comment.
* (comment-indent): Paren typo.Stefan Monnier2000-11-141-9/+10
|
* (comment-indent-default): Stick \s<\s< to the leftStefan Monnier2000-11-141-2/+4
| | | | when it follows non-comment text on the line.
* (comment-indent-default): Autoload.Stefan Monnier2000-10-081-1/+2
|
* (comment-indent):Stefan Monnier2000-10-051-24/+35
| | | | | | Delegate to indent-according-to-mode if comment-indent-function returns nil. (comment-indent-default): New function. (comment-indent-function): Use it and document the new semantics.