1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-20 20:50:53 -08:00
Commit graph

212 commits

Author SHA1 Message Date
Dan Nicolaescu
153ef845b8 * progmodes/idlw-help.el: Require browse-url unconditionally, it
is available by default.
(idlwave-help-browse-url-available): Change default to t.

* emulation/edt.el (defgroup, defcustom): Remove definition.
(eval-when-compile): Remove.
(c-mark-function):
* textmodes/reftex-dcr.el (bibtex-beginning-of-entry):
* textmodes/fill.el (comment-search-forward)
(comment-string-strip):
* progmodes/prolog.el (comint-mode, comint-send-string)
(comint-send-region, comint-send-eof):
* progmodes/dcl-mode.el (imenu-default-create-index-function):
* emulation/viper-util.el (viper-forward-Word):
* emulation/vi.el (c-mark-function):
* emulation/edt-vt100.el (vt100-wide-mode):
* emacs-lisp/timer.el (diary-entry-time): Declare as functions.

* url-mailto.el (mail-send-and-exit):
* url-http.el (url-dav-file-attributes):
* url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal):
Declare as functions.

* url-privacy.el (url-device-type): Define unconditionally.
2007-11-20 00:57:10 +00:00
Dan Nicolaescu
72229917b1 (fill-nobreak-p): Replace obsolete alias
line-move-invisible-p with invisible-p, it was removed on
2007-08-29.
2007-10-26 20:35:31 +00:00
Juri Linkov
64b53a1f5a (fill-paragraph): When the region is active, don't try other `or' branches
regardless of the value returned by fill-region; just return t.
2007-10-20 23:55:30 +00:00
Juanma Barranquero
fdd2ae6d90 (fill-individual-paragraphs): Fix typo in docstring. 2007-10-18 13:29:30 +00:00
Juanma Barranquero
3e4dfbb6bd (fill-individual-paragraphs): Doc fix.
(adaptive-fill-function): Doc fix.  Remove * from docstring.
2007-10-18 13:27:04 +00:00
Juri Linkov
b2d35abb42 (fill-paragraph-or-region): Remove function at the request of RMS.
(fill-paragraph): Change `arg' to optional `justify'.  Add interactive
arg `region'.  Fix docstring.  At the first `or' branch add call to
`fill-region' if it the region is active in transient-mark-mode.
2007-10-18 00:06:33 +00:00
Juri Linkov
e65f7c9677 (fill-paragraph-or-region): New function. 2007-10-06 22:15:10 +00:00
Glenn Morris
5a9dffec38 Switch license to GPLv3 or later. 2007-07-25 04:24:43 +00:00
Stefan Monnier
4b880ac124 (canonically-space-region): Make the second arg
a marker if it's not already the case.
2007-05-25 15:00:22 +00:00
Eli Zaretskii
a9bdfaa4e4 (fill-paragraph): Doc fix. 2007-04-28 09:32:26 +00:00
Stefan Monnier
03832c9d5b (fill-move-to-break-point): Don't inhibit
fill-nobreak-predicate when the break is past fill-column.
2007-04-20 18:24:05 +00:00
Chong Yidong
1b7e3006a8 Revert last change. 2007-04-20 14:08:36 +00:00
Chong Yidong
5d53900f80 (fill-move-to-break-point): Don't bind fill-nobreak-predicate. 2007-04-20 14:01:37 +00:00
Richard M. Stallman
bbc02d0063 (fill-paragraph-function): Doc fix.
(fill-paragraph): Bind fill-paragraph-function to t to avoid recursion.
2007-01-28 07:13:10 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Juanma Barranquero
743a6977d4 (fill-region): Doc fix. 2007-01-10 15:28:11 +00:00
Stefan Monnier
af5debda92 (fill-comment-paragraph): Improve comment. 2007-01-07 20:11:47 +00:00
Michaël Cadilhac
fafc582ba8 (fill-comment-paragraph): Document 2006-12-24 change.
Suggested by Stefan Monnier.
2006-12-29 21:39:47 +00:00
Richard M. Stallman
c98f736548 (fill-paragraph): Check for a minibuffer
rather than for being in a minibuffer window.
2006-12-26 02:54:41 +00:00
Michaël Cadilhac
2a096cafa0 (fill-comment-paragraph): Prevent the use of an optimized comment regexp if
`comment-start-skip' uses a ^.
2006-12-24 20:23:31 +00:00
Richard M. Stallman
708ca5aaaf (fill-minibuffer-function): New function.
(fill-paragraph): Bind fill-paragraph-function to fill-minibuffer-function.
2006-11-06 16:01:53 +00:00
Richard M. Stallman
4e05bbf511 (adaptive-fill-regexp): Don't match (1)' or 1.' 2006-09-08 12:02:54 +00:00
Stefan Monnier
4a3608f504 (fill-single-word-nobreak-p): Allow breaking before
last word, if it's not the end of the paragraph.
2006-09-06 16:35:18 +00:00
Stefan Monnier
5fc5b7e842 (fill-region-as-paragraph): Refine last change. 2006-07-09 05:20:42 +00:00
Stefan Monnier
55f6a28058 (fill-delete-prefix): Don't ignore excessively long prefixes.
(fill-region-as-paragraph): Don't round up to a whole line.
(fill-comment-paragraph): Don't include the code-before-the-comment
when calling fill-region-as-paragraph.
2006-07-07 19:04:49 +00:00
Stefan Monnier
119d72b62c (colon-double-space): Tighten the safety predicate. 2006-04-29 13:57:38 +00:00
Stefan Monnier
a1c43d02e9 (colon-double-space): Tighten up a bit the safety predicate. 2006-04-26 05:27:48 +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
Juri Linkov
74f36ff05e (fill-single-word-nobreak-p): Use `sentence-end'. 2005-12-30 05:59:16 +00:00
Juri Linkov
08150aa07e (fill-nobreak-p): Fix first two rules to skip backward only
space (instead of space and period) before looking at sentence end.
2005-10-21 08:50:28 +00:00
Juanma Barranquero
8ad8316c3e (fill-nonuniform-paragraphs): Improve argument/docstring consistency.
(canonically-space-region, fill-context-prefix, fill-french-nobreak-p,
fill-delete-newlines, fill-comment-paragraph, justify-current-line):
"?\ " -> "?\s".
2005-08-09 14:05:24 +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
Stefan Monnier
d95da8d3b2 (fill-match-adaptive-prefix): New function.
(fill-context-prefix): Use it to avoid guessing absurdly long prefixes.
Remove unused vars `start' and `firstline'.
(fill-nobreak-p): Fix line-move-invisible -> line-move-invisible-p.
(justify-current-line, fill-individual-paragraphs): Remove unused vars.
2005-06-13 19:33:21 +00:00
Eli Zaretskii
b48e52066f (fill-context-prefix): Try `adaptive-fill-function'
BEFORE `adaptive-fill-regexp' when determining a fill prefix.
(adaptive-file-function): Minor amendment to doc-string.
2005-06-11 13:49:56 +00:00
Juanma Barranquero
f530778210 Specify missing group (and type, if simple) in defcustom. 2005-05-19 19:06:19 +00:00
Kenichi Handa
7c315e1cff (fill-text-properties-at): New function.
(fill-newline): Use fill-text-properties-at instead of
text-properties-at.
2005-03-31 04:45:27 +00:00
Kenichi Handa
ac249c4c50 Change encoding to iso-2022-7bit and add coding: tag.
(adaptive-fill-regexp): Add more bullets.
(fill-french-nobreak-p): Add Latin-1 and Latin-9 guillemets in
regexps.
2005-03-11 02:04:21 +00:00
Richard M. Stallman
1637ed8767 (fill-comment-paragraph): Handle indent-tabs-mode.
(fill-delete-newlines): Call sentence-end as function.
(fill-nobreak-p, canonically-space-region): Likewise.
(fill-nobreak-p): If this break point is at the end of the line,
don't consider the newline which follows as a reason to return t.
2004-07-20 20:51:26 +00:00
Juri Linkov
20796cbc49 (canonically-space-region, fill-nobreak-p, fill-delete-newlines):
Use function `sentence-end' instead of variable `sentence-end'.
2004-04-18 22:08:54 +00:00
Stefan Monnier
8b44bc0665 (fill-comment-paragraph): Obey indent-tabs-mode. 2004-04-04 20:18:44 +00:00
Juri Linkov
4efbcf613d (fill): Fix Info link. 2004-03-25 10:41:49 +00:00
Stefan Monnier
e4b7444db4 (fill) <defgroup>: Move from cus-edit.el.
(enable-kinsoku): Make it a defcustom.
(fill-comment-paragraph): Don't rely on fill-prefix to bound the
paragraph to same-comment-start-marker.
2004-03-08 01:07:13 +00:00
Stefan Monnier
5a7139eec2 (fill-comment-paragraph): Be more careful when
recognizing leading comment on code line.
2004-03-04 00:29:50 +00:00
Stefan Monnier
f5e8505176 (fill-paragraph): Don't check comment-start-skip,
only comment-start (in case the mode hasn't set it).
2004-03-02 22:19:19 +00:00
Kenichi Handa
f43a0b9824 (fill-delete-newlines): Don't add a space if a
setence ends with one of a character in
sentence-end-without-space.
2004-01-27 07:34:35 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
50ef8ff267 (fill-comment-paragraph): Construct a regexp
to match the specific mark rather than reusing comment-start-skip.
2003-07-22 20:40:38 +00:00
Stefan Monnier
e3d2084cb1 (text-property-default-nonsticky): Add fill-space.
(fill-delete-newlines): Respect the new property.
(fill-newline): Use the property instead of leaving "spurious" spaces.
2003-04-30 21:01:05 +00:00