1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
Commit Graph

39 Commits

Author SHA1 Message Date
Juanma Barranquero
71296446d3 Trailing whitespace deleted. 2003-02-04 11:26:42 +00:00
Stefan Monnier
be227f220d (format-decode): Be careful with the order in `format'. 2002-11-08 02:38:54 +00:00
Richard M. Stallman
8a2f1176c4 (format-annotate-function): Copy multibyte flag
and selective-display into the new temp buffer.
2002-06-21 09:53:47 +00:00
Richard M. Stallman
34f30f79b3 (format-alist): Document new element PRESERVE.
(format-write-file): Implement PRESERVE elt for a format.
2002-06-11 19:26:45 +00:00
Richard M. Stallman
92308d3a2a (format-deannotate-region): Doc fix. 2002-04-03 15:29:25 +00:00
Richard M. Stallman
d0fc7e3b95 (format-replace-strings, format-subtract-regions)
(format-annotate-region, format-annotate-location)
(format-annotate-atomic-property-change)
(format-annotate-single-property-change): Doc fixes.
2002-01-05 09:06:53 +00:00
Pavel Janík
0b1ce6ba98 Doc fix. 2002-01-01 19:16:54 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Eli Zaretskii
3e2246457e (format-alist): Doc fix. Suggested by Alex Schroeder <alex@gnu.org>. 2001-06-15 07:26:20 +00:00
Gerd Moellmann
021cfbea75 (format-decode): Don't change buffer's undo list. 2000-12-04 13:32:26 +00:00
Gerd Moellmann
10fa00732b (format-encode-run-method): Fix error message to say
`encode' instead of `decode'.  Use save-window-excursion around
shell-command-on-region as in format-decode-run-method because
shell-command-on-region can display a buffer with error output.
(format-decode): Don't record undo information for the decoding.
(format-annotate-function): Add parameter FORMAT-COUNT.  Make
that number part of the temporary buffer name so that more than
one decoding using a temporary buffer can happen safely.
2000-08-17 20:24:27 +00:00
Dave Love
f1d6fe6965 (format-alist): Use iso-cvt functions for SGML/HTML. 2000-03-29 18:37:25 +00:00
Gerd Moellmann
f0a6c717e2 (format-annotate-single-property-change): Handle
properties.with dotted-list values.
(format-proper-list-p): New function.
2000-02-21 13:00:25 +00:00
Gerd Moellmann
f3bbef8728 (top-level): Give display' property format-list-atomic-p.
(format-annotate-single-property-change): Test that property.
If present, treat list property values like atoms.
1999-07-21 21:43:03 +00:00
Dave Love
7cc45a35b1 (format-encode-run-method, format-decode-run-method): Fix previous change. 1999-02-18 15:46:31 +00:00
Richard M. Stallman
2c3ac81d09 (format-replace-strings): Fix value of TO in REVERSE case. 1999-02-14 06:00:44 +00:00
Dave Love
823139fba4 Doc fixes.
(format-encode-run-method): Have things happen in the right
buffer.  Deal with errors from method.  Set
coding-system-for-write.
(format-decode-run-method): Have things happen in the right
buffer.  Deal with errors from method.  Set
coding-system-for-read.
(format-alist): Use nil instead of unmatchable regexps.
1999-01-23 21:52:40 +00:00
Richard M. Stallman
271af23306 (format-alist): Use -f when running recode. 1998-05-13 05:23:56 +00:00
Karl Heuer
0b14021912 (format-deannotate-region): In case of unmatched tags,
avoid using nil where end position is expected.
1997-10-16 23:31:55 +00:00
Richard M. Stallman
228282068d (format-subtract-regions): New function.
(format-property-increment-region): New function.

(format-deannotate-region): When multiple annotations
go into a single text property, split the outer annotations (with
format-subtract-regions) instead of resetting them; use lists of
regions instead of a single number for the text property start.

(format-deannotate-region): Don't change extents of
enclosing annotations of the same kind.

(format-deannotate-region): Use
property-increment-region to add to numeric properties.
1997-08-30 23:25:29 +00:00
Richard M. Stallman
952936e8a9 (format-encode-run-method, format-decode-run-method): Put error
output from shell command in temp buffer, not data buffer.
(format-alist): Typo fix.
1997-08-15 23:42:26 +00:00
Richard M. Stallman
34fbecde23 (format-annotate-atomic-property-change): Fix prev change. 1997-08-15 19:30:25 +00:00
Richard M. Stallman
d1ae737bff (format-alist): Doc fix. 1997-08-09 08:01:07 +00:00
Richard M. Stallman
5f52559528 (format-annotate-single-property-change,
format-annotate-atomic-property-change): move code that interprets
nil as 0 inside test that property is numeric.
1997-08-09 02:38:14 +00:00
Richard M. Stallman
e5a60108a2 (format-annotate-atomic-property-change):
Look thru all elements of PROP-ALIST for a number,
if OLD and NEW are numbers.
1997-08-05 04:44:55 +00:00
Richard M. Stallman
8d0dd9d2dd (format-alist): Don't handle compression here. 1997-07-09 04:20:46 +00:00
Richard M. Stallman
c84cf2bf12 (format-insert-file): Fix arg order to format-decode. 1997-06-04 19:06:35 +00:00
Boris Goldowsky
2df566e666 Fix bug that caused crash on certain tags with parameters 1997-01-31 19:53:54 +00:00
Richard M. Stallman
4c8a3b19ec (format-alist): Change defconst to defvar. 1996-12-16 00:56:13 +00:00
Richard M. Stallman
d1abb42fc8 (format-alist): Doc fix.
(format-annotate-function): New argument ORIG-BUF, passed on to TO-FN.
(format-encode-region): Let TO-FN know that our current buffer is
its ORIG-BUF.
1996-09-01 03:25:54 +00:00
Richard M. Stallman
059a4a904f (format-deannotate-region): Fixed bug that created
double marking of multi-annotation text-properties (eg, bold-italic).
1996-02-01 00:19:50 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
fa1f61e5fe (format-annotate-atomic-property-change): Doc fix. 1996-01-04 23:37:04 +00:00
Erik Naggum
a8581027ba Correct initial line typo. 1995-10-30 21:55:54 +00:00
Richard M. Stallman
be01074898 Comment change. 1995-10-30 17:35:01 +00:00
Karl Heuer
ce6af52bd2 (format-find-file, format-insert-file): New functions. 1995-06-09 01:23:01 +00:00
Boris Goldowsky
7865eac640 Change email address for Boris. 1995-06-05 20:43:19 +00:00
Karl Heuer
732be46569 Update copyright. 1995-04-07 01:20:53 +00:00
Boris Goldowsky
029894b956 Initial revision 1995-03-17 18:14:30 +00:00