Commit graph

87 commits

Author SHA1 Message Date
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Stefan Monnier
85e17b4fff (sentence-end-without-space): Fix safety predicate.
(sentence-end-double-space, sentence-end-without-period)
(paragraph-ignore-fill-prefix): Tighten the safety predicate.
2006-04-29 13:59:04 +00:00
Stefan Monnier
49011d4697 (sentence-end-double-space, sentence-end-without-period)
(sentence-end-without-space, page-delimiter, paragraph-ignore-fill-prefix):
Tighten up a bit the safety predicate.
2006-04-26 05:28:47 +00:00
Reiner Steib
3e45722587 * subr.el (string-or-null-p): New function.
* textmodes/paragraphs.el (sentence-end): Use string-or-null-p.

* textmodes/ispell.el (ispell-local-dictionary): Use
string-or-null-p.

* files.el: Update comment about safe-local-variable declarations.
2006-04-06 19:20:38 +00:00
Reiner Steib
6c07f4d42a * files.el: Move some `safe-local-variable' declarations to the
respective files.

* textmodes/ispell.el (ispell-check-comments)
(ispell-local-dictionary): Mark as safe.

* abbrev.el (abbrev-mode): Mark as safe.

* add-log.el (change-log-default-name): Mark as safe.

* textmodes/reftex-vars.el (reftex-vref-is-default)
(reftex-fref-is-default, reftex-level-indent)
(reftex-guess-label-type): Mark as safe.

* textmodes/fill.el (colon-double-space): Mark as safe.

* textmodes/paragraphs.el (paragraph-start, paragraph-separate)
(sentence-end-double-space, sentence-end-without-period)
(sentence-end-without-space, sentence-end, sentence-end-base)
(page-delimiter, paragraph-ignore-fill-prefix): Mark as safe.
2006-04-06 15:36:24 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Stefan Monnier
75538b71d2 (sentence-end-base): Use real chars, so as
not to unnecessarily expose emacs-mule's internal char codes.
2005-10-25 04:56:18 +00:00
Richard M. Stallman
f4b80eb14c (sentence-end-base): New variable.
(sentence-end): Use sentence-end-base.
2005-10-21 18:56:56 +00:00
Thien-Thi Nguyen
3731a85096 Update years in copyright notice; nfc. 2005-08-06 17:48:15 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Richard M. Stallman
94ed093133 (mark-paragraph): New arg ALLOW-EXTEND
enables the feature to extend the existing region.
2004-12-29 01:35:21 +00:00
Juri Linkov
d9954576c9 * textmodes/paragraphs.el (mark-paragraph):
Extend the region when mark is active in transient-mark-mode,
regardless of the last command.  Doc fix.
2004-12-13 03:11:09 +00:00
Luc Teirlinck
51d7369eb8 (sentence-end-double-space)
(sentence-end-without-period, sentence-end-without-space)
(sentence-end): Doc fixes.
2004-10-09 18:49:01 +00:00
Luc Teirlinck
30857a614a (forward-paragraph): Avoid args-out-of-range error when point winds up
at the beginning of the buffer and hard newlines are enabled.
2004-09-29 22:23:43 +00:00
Luc Teirlinck
c28e534b74 (use-hard-newlines): Make it into a permanent local. 2004-09-06 00:39:16 +00:00
Richard M. Stallman
7f2081e390 (sentence-end): Add 0x5397d as close brace. 2004-06-13 22:03:53 +00:00
Richard M. Stallman
668d1efc1c (sentence-end): Match unicode curly quotes as a close quote. 2004-05-22 21:53:38 +00:00
Juri Linkov
32e40471c9 (sentence-end) <function>: New fun with default value taken
from the variable `sentence-end'.
(sentence-end) <defcustom>: Set default to nil.  Doc fix.
Add nil const to :type.
(sentence-end-without-period, sentence-end-double-space)
(sentence-end-without-space): Doc fix.
(forward-sentence): Use function `sentence-end' instead of
variable `sentence-end'.
2004-04-18 22:08:03 +00:00
Eli Zaretskii
279dffd676 * net/telnet.el (telnet-interrupt-subjob): Move doc string to the correct place.
* progmodes/icon.el (icon-indent-command): Ditto.
* textmodes/paragraphs.el (repunctuate-sentences): Ditto.
2004-02-16 19:35:20 +00:00
Kenichi Handa
9402a4b9ff (sentence-end-without-space): New variable.
(sentence-end): Define using sentence-end-without-space.
2004-01-27 07:31:36 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
d320a41dbf (repunctuate-sentences): New function. 2003-05-23 12:46:38 +00:00
Kenichi Handa
cc4fe8d2d2 (sentence-end): Add Chinese and Japanese characters. 2003-02-24 04:50:59 +00:00
Juanma Barranquero
db95369be0 Trailing whitespace deleted. 2003-02-04 13:30:45 +00:00
Markus Rost
eacd92dd02 (use-hard-newlines): Add group. 2002-11-18 04:18:23 +00:00
Stefan Monnier
de24b07719 (forward-paragraph): Keep track of remaining paragraphs to skip more carefully. 2002-10-10 18:01:57 +00:00
Stefan Monnier
7b462fc6c4 (forward-paragraph): Return the steps left. 2002-10-03 23:00:19 +00:00
Kai Großjohann
be0d25b686 * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
when repeated.
        * textmodes/paragraphs.el (mark-paragraph): Ditto.
2002-02-17 15:08:31 +00:00
Kai Großjohann
cad113ae34 * lisp/simple.el (mark-word): Mark more if repeated.
* lisp/textmodes/paragraphs.el (mark-paragraph): Ditto.
(mark-end-of-sentence): Ditto.
2002-02-15 08:53:15 +00:00
Kai Großjohann
f48b59a233 (mark-paragraph): Clarify doc. Clarify
error message.  Suggestion from Richard M. Stallman.
2001-11-30 17:18:27 +00:00
Stefan Monnier
629261c740 (sentence-end-double-space, sentence-end-without-period): Move from fill.el.
(forward-paragraph): Use `parstart' and `parsep' for temp variables
rather than rebinding `paragraph-start' and `paragraph-separate'.
2001-10-30 06:46:49 +00:00
Stefan Monnier
07187d5515 (use-hard-newlines): Use define-minor-mode.
(paragraph-start): Change default to the `text-mode' value.
2001-10-30 05:57:43 +00:00
Gerd Moellmann
ea2c64784d (forward-sentence): Avoid building
a regexp from sentence-end.  From Kenichi Handa <handa@etl.go.jp>.
2001-08-07 09:57:32 +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
Eli Zaretskii
ac1470eb03 (sentence-end): Doc fix. 2001-04-22 08:35:45 +00:00
Gerd Moellmann
3fe35f35c0 (forward-sentence): Put the sentence-end
regexp in parentheses when building the regexp for searching
backwards.
2001-04-10 14:55:03 +00:00
Dave Love
8919155a8f (sentence-end): Doc fix. 2001-02-07 23:33:35 +00:00
Stefan Monnier
3f5dc0b030 Typo. 2000-12-18 03:19:54 +00:00
Dave Love
275cf1b274 (kill-paragraph, backward-kill-paragraph)
(backward-kill-sentence, kill-sentence): Likewise.
2000-02-23 23:10:32 +00:00
Gerd Moellmann
17cca868c5 (forward-sentence, forward-paragraph):
When constraining the final position to the current field,
don't use the ONLY-IN-LINE mode of constrain-to-field.
(forward-sentence): Likewise.
(forward-paragraph, forward-sentence): Likewise.
(backward-kill-paragraph, backward-kill-sentence): Remove code to
constrain the kill to an field, as the movement commands now
do this.
(backward-kill-sentence):
Remove minibuffer-prompt hack.
Constrain to any input field.
1999-10-17 12:51:19 +00:00
Richard M. Stallman
779e6e56f2 (backward-kill-sentence): Don't test minibuffer-prompt-end here.
(forward-sentence): Do handle it here.
(backward-kill-paragraph): Don't test it here.
(forward-paragraph): Handle it here.
1999-09-05 23:44:56 +00:00
Gerd Moellmann
3574d3781d (backward-kill-paragraph): Don't move
point into mini-buffer prompt.
(backward-kill-sentence): Ditto.
1999-08-21 19:31:34 +00:00
Dave Love
4ea1d5dd95 (kill-paragraph, backward-kill-paragraph, kill-sentence)
(backward-kill-sentence): Add * to interactive spec.
1999-07-20 15:56:11 +00:00
Dave Love
220dae7218 (sentence-end): Doc fix. 1999-03-12 18:47:42 +00:00
Richard M. Stallman
9d7c4eb554 (paragraph-separate): Doc fix. 1999-02-13 11:52:52 +00:00
Karl Heuer
a994501e32 (use-hard-newlines): Doc fix. 1998-09-13 03:41:13 +00:00
Dave Love
9181be6961 (use-hard-newlines): Doc fix. 1998-09-09 19:59:31 +00:00
Richard M. Stallman
eeb0f32736 (forward-paragraph): Fix the logic for handling beginning of buffer
in the "no fill-prefix" case.
1998-08-08 21:31:12 +00:00
Richard M. Stallman
bde0f7ca6e (use-hard-newlines): Un-customized. 1997-08-25 17:06:01 +00:00
Richard M. Stallman
e45502331b Customized. 1997-08-22 21:59:21 +00:00