On Fri, 2006-09-01 at 14:54 +0200, Werner LEMBERG wrote:
> > .pev prints the current environment state, followed by the state of
> > all the environments in the environment dictionary (if the current
> > environment is one of these, it is simply flagged as "CURRENT
> > ENVIRONMENT", and not reprinted).
>
> Nick, can you provide a ChangeLog entry, together with updates to the
> various documentation files? Look into the ChangeLog for the
> implementation of, say, `.fzoom', to see which files are affected.
>
>
> Werner
Here you are (in doing this, I noticed I had failed to update
man/groff.man ... additional patch attached for that):
2006-09-01 Nick Stoughton <[EMAIL PROTECTED]>
Add a request, '.pev' to print environment information
(similar to .pnr and .ptr to print number registers and traps).
* src/roff/troff/env.h: add member function print_env to the
environment object
* src/roff/troff/env.cpp: (environment::print_env): New function
to print a given environment state.
(print_env) New global function to iterate through the
environments, printing each one.
* doc/groff.texinfo (Debugging), man/groff.man: Document .pev request
--
Nick
--- man/groff.man.orig 2006-09-01 09:30:30.000000000 -0700
+++ man/groff.man 2006-09-01 09:32:46.000000000 -0700
@@ -1,9 +1,9 @@
'\" t
.ig
groff.man
-Last update: 11 Jul 2006
+Last update: 1 Sep 2006
This file is part of groff, the GNU roff type-setting system.
Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006
@@ -1948,8 +1948,12 @@
.
.REQ .pc c
Page number character.
.
+.REQ .pev
+Print the current environment and each defined environment
+state to stderr.
+.
.REQ .pi program
Pipe output to
.I program
(nroff only).
_______________________________________________
Groff mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff