Commit graph

35 commits

Author SHA1 Message Date
Eli Zaretskii
8a30aaa378 Update author's email address. 2000-10-24 09:15:44 +00:00
Sam Steingold
4ff3fcc7d7 progmodes/cmacexp.el (c-macro-preprocessor): Find the Solaris cpp. 1999-11-02 23:19:22 +00:00
Stefan Monnier
767d12f23e Use make-temp-file. 1999-10-15 16:03:59 +00:00
Eli Zaretskii
77f9071128 (c-macro-expansion): Use small-temporary-file-directory when non-nil. 1999-09-02 12:38:02 +00:00
Richard M. Stallman
fc416240b9 (c-macro-expansion):
Use temporary-file-directory.  Choose temp file name properly.
1998-05-16 17:52:29 +00:00
Richard M. Stallman
84195ec425 (c-macro-expansion): Use system-tmp-directory. 1998-05-16 03:44:02 +00:00
Richard M. Stallman
d322f0096d (c-macro-expand): Add autoload cookie. 1997-08-25 17:18:44 +00:00
Richard M. Stallman
b96d6bbdda Delete RCS version header. 1997-06-23 02:10:46 +00:00
Richard M. Stallman
00ed33e7ab Add defgroup; use defcustom for user vars. 1997-04-13 07:51:54 +00:00
Richard M. Stallman
b4ec679c1e (c-macro-preprocessor): New clause for Solaris. 1996-06-07 22:59:27 +00:00
Karl Heuer
32cdf3f63e (c-macro-expansion): Delete ??! trigraph in uniquestring.
Use same syntax table in outbuf as in inbuf.
Insert newline instead of space at end, for
proprocessors which don't like truncated lines.
1996-05-21 15:42:13 +00:00
Karl Heuer
9e9094f771 (c-macro-expansion): Correct bug in creating tempname. 1996-05-21 14:51:17 +00:00
Richard M. Stallman
9596811a3d Comment change. 1996-03-02 06:37:35 +00:00
Richard M. Stallman
68dff3ca9c (c-macro-preprocessor): Define a preprocessor name
which is valid on MS-DOS.

(c-macro-expansion): Do not rely on ``/tmp/'' being present; use
environment variables as alternatives (MSDOS).  Use
`shell-file-name' rather than ``sh''.  Redirect `stderr' with
`call-process-region' option, not from the shell.  Handle shells
which don't return exit code from `cpp' (MSDOS).  Put messages
from `cpp' inside a comment, to avoid messing up syntax highlighting.
1996-01-29 05:26:21 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Richard M. Stallman
a9132c1f5f Require cc-mode. 1995-10-26 03:14:40 +00:00
Francesco Potortì
521fffcd6f * cmacexp.el (c-macro-expansion): put the unique string before the
first #line directive (instead of after), preceded by a newline.
1995-03-07 15:24:44 +00:00
Richard M. Stallman
43427c5b4a (c-macro-prompt-flag): Set default back to nil. 1994-09-05 04:33:23 +00:00
Francesco Potortì
3332766c74 * cmacexp.el (c-macro-prompt-flag): set default to t.
(c-macro-expand): buffer-flush-undo is outdated.
	(c-macro-expansion): make exit-status a local variable.
1994-09-01 11:05:40 +00:00
Richard M. Stallman
eb426f3a08 (c-macro-expansion): If the CPP output is empty, just show error messages. 1994-08-13 23:55:09 +00:00
Richard M. Stallman
440c10f882 Doc fixes.
(c-macro-expansion): Capture and display CPP error messages.
1994-08-07 17:23:44 +00:00
Karl Heuer
d733c5ec03 Update copyright. 1994-05-03 22:46:37 +00:00
Richard M. Stallman
074521be7e (c-macro-expansion): changed the algorithm to allow
__FILE__ and __LINE__ directives to be expanded correctly.
(c-macro-expansion): use a forth optional argument DISPLAY meaning
it should print messages at the start and end of preprocessing.
All callers changed.
(c-macro-expand): Don't display message here.
1994-04-21 18:40:14 +00:00
Richard M. Stallman
9c32788e36 Doc fixes.
(c-macro-expansion): Handle a and b comment styles.
(c-macro-shrink-window-flag): Renamed from c-macro-shrink-window-p.
(c-macro-prompt-flag): Renamed from c-macro-prompt-p.
1994-04-20 06:19:14 +00:00
Richard M. Stallman
89fb82d613 Provide cmacexp.
(c-macro-prompt-p): Renamed from c-macro-always-prompt-p.
(c-macro-cppflags): Var renamed from c-macro-default-cppflags.
(c-macro-expand): Don't handle C-u C-u specially.
Compute message here in var mymsg.
Clear buffer-auto-save-file-name.
(c-macro-display-buffer): Now takes no argument.
Use point-max to get large number.
(c-macro-default-message, c-macro-eval): Functions deleted.
(c-macro-expansion): Use startinstring as the char to insert.
1994-04-20 06:12:03 +00:00
Richard M. Stallman
1dc5112cb7 (c-macro-display-buffer): Delete special view-mode hack.
(c-macro-expansion): Parse from 1 to START just once.
Avoid counting lines.  Use ???!!!???!!! to mark start of
the region we want to look at.
1994-02-25 06:27:24 +00:00
Richard M. Stallman
6c61e6a9bc (c-macro-expand): Check inhibit-read-only. 1994-02-07 05:40:46 +00:00
Richard M. Stallman
4af1f50975 Properly check in the total rewrite installed months ago. 1994-02-07 05:39:56 +00:00
Eric S. Raymond
e41b2db1da Added or corrected Commentary sections 1993-03-22 03:27:18 +00:00
Richard M. Stallman
c584550897 (c-macro-expand): Use expanded name to write or delete.
Send two eofs.
1993-01-30 03:43:24 +00:00
Eric S. Raymond
9750e079dd entered into RCS 1992-07-22 04:22:30 +00:00
Eric S. Raymond
e516799970 *** empty log message *** 1992-07-16 21:47:34 +00:00
Eric S. Raymond
c0274f385f *** empty log message *** 1992-05-30 23:54:21 +00:00
Richard M. Stallman
46450482e7 *** empty log message *** 1992-04-17 12:21:09 +00:00
Jim Blandy
c17d15d0be Initial revision 1991-07-04 17:05:02 +00:00