# HG changeset patch # User Nick Roberts # Date 1169180248 0 # Node ID f4d4f6f361cc980dcfcc0642a338cc3c3e7b8dbf # Parent b34df1edeaf4636268a040b214cec7d67e952d87 Reformat documentation so that first sentence displays properly with "help user-defined" (like apropos). diff -r b34df1edeaf4 -r f4d4f6f361cc src/.gdbinit --- a/src/.gdbinit Fri Jan 19 04:17:00 2007 +0000 +++ b/src/.gdbinit Fri Jan 19 04:17:28 2007 +0000 @@ -158,7 +158,7 @@ printf " SZ=%d\n", $t->gap_size end document ppt -Print point, beg, end, narrow, and gap for current buffer. +Print point beg end narrow and gap for current buffer. end # Print out iterator given as first arg @@ -312,7 +312,7 @@ printf "y=%d x=%d vpos=%d hpos=%d", $cp->y, $cp->x, $cp->vpos, $cp->hpos end document pcursorx -Pretty print a window cursor +Pretty print a window cursor. end define pcursor @@ -321,7 +321,7 @@ printf "\n" end document pcursor -Pretty print the output_cursor +Pretty print the output_cursor. end define pwinx @@ -381,7 +381,7 @@ end document pwinx Pretty print a window structure. -Takes one argument, a pointer to a window structure +Takes one argument, a pointer to a window structure. end define pwin @@ -447,7 +447,7 @@ end document pgx Pretty print a glyph structure. -Takes one argument, a pointer to a glyph structure +Takes one argument, a pointer to a glyph structure. end define pg @@ -520,7 +520,7 @@ end end document xtype -Print the type of $, assuming it is an Emacs Lisp value. +Print the type of $ assuming it is an Emacs Lisp value. If the first type printed is Lisp_Vector or Lisp_Misc, a second line gives the more precise type. end @@ -532,7 +532,8 @@ echo \n end document xvectype -Print the size or vector subtype of $, assuming it is a vector or pseudovector. +Print the size or vector subtype of $. +This command assumes that $ is a vector or pseudovector. end define xmisctype @@ -541,7 +542,7 @@ echo \n end document xmisctype -Print the specific type of $, assuming it is some misc type. +Print the specific type of $ assuming it is some misc type. end define xint @@ -549,7 +550,7 @@ print $int end document xint -Print $, assuming it is an Emacs Lisp integer. This gets the sign right. +Print $ assuming it is an Emacs Lisp integer. This gets the sign right. end define xptr @@ -557,7 +558,7 @@ print (void *) $ptr end document xptr -Print the pointer portion of $, assuming it is an Emacs Lisp value. +Print the pointer portion of $ assuming it is an Emacs Lisp value. end define xmarker @@ -565,7 +566,7 @@ print (struct Lisp_Marker *) $ptr end document xmarker -Print $ as a marker pointer, assuming it is an Emacs Lisp marker value. +Print $ as a marker pointer assuming it is an Emacs Lisp marker value. end define xoverlay @@ -573,7 +574,8 @@ print (struct Lisp_Overlay *) $ptr end document xoverlay -Print $ as a overlay pointer, assuming it is an Emacs Lisp overlay value. +Print $ as a overlay pointer. +This command assumes that $ is an Emacs Lisp overlay value. end define xmiscfree @@ -581,7 +583,8 @@ print (struct Lisp_Free *) $ptr end document xmiscfree -Print $ as a misc free-cell pointer, assuming it is an Emacs Lisp Misc value. +Print $ as a misc free-cell pointer. +This command assumes that $ is an Emacs Lisp Misc value. end define xintfwd @@ -589,7 +592,8 @@ print (struct Lisp_Intfwd *) $ptr end document xintfwd -Print $ as an integer forwarding pointer, assuming it is an Emacs Lisp Misc value. +Print $ as an integer forwarding pointer. +This command assumes that $ is an Emacs Lisp Misc value. end define xboolfwd @@ -597,7 +601,8 @@ print (struct Lisp_Boolfwd *) $ptr end document xboolfwd -Print $ as a boolean forwarding pointer, assuming it is an Emacs Lisp Misc value. +Print $ as a boolean forwarding pointer. +This command assumes that $ is an Emacs Lisp Misc value. end define xobjfwd @@ -605,7 +610,8 @@ print (struct Lisp_Objfwd *) $ptr end document xobjfwd -Print $ as an object forwarding pointer, assuming it is an Emacs Lisp Misc value. +Print $ as an object forwarding pointer. +This command assumes that $ is an Emacs Lisp Misc value. end define xbufobjfwd @@ -613,7 +619,8 @@ print (struct Lisp_Buffer_Objfwd *) $ptr end document xbufobjfwd -Print $ as a buffer-local object forwarding pointer, assuming it is an Emacs Lisp Misc value. +Print $ as a buffer-local object forwarding pointer. +This command assumes that $ is an Emacs Lisp Misc value. end define xkbobjfwd @@ -621,7 +628,8 @@ print (struct Lisp_Kboard_Objfwd *) $ptr end document xkbobjfwd -Print $ as a kboard-local object forwarding pointer, assuming it is an Emacs Lisp Misc value. +Print $ as a kboard-local object forwarding pointer. +This command assumes that $ is an Emacs Lisp Misc value. end define xbuflocal @@ -629,7 +637,8 @@ print (struct Lisp_Buffer_Local_Value *) $ptr end document xbuflocal -Print $ as a buffer-local-value pointer, assuming it is an Emacs Lisp Misc value. +Print $ as a buffer-local-value pointer. +This command assumes that $ is an Emacs Lisp Misc value. end define xsymbol @@ -673,7 +682,8 @@ echo \n end document xprocess -Print the address of the struct Lisp_process which the Lisp_Object $ points to. +Print the address of the struct Lisp_process to which $ points. +This command assumes that $ is a Lisp_Object. end define xframe @@ -685,7 +695,7 @@ echo \n end document xframe -Print $ as a frame pointer, assuming it is an Emacs Lisp frame value. +Print $ as a frame pointer assuming it is an Emacs Lisp frame value. end define xcompiled @@ -694,7 +704,8 @@ output ($->contents[0])@($->size & 0xff) end document xcompiled -Print $ as a compiled function pointer, assuming it is an Emacs Lisp compiled value. +Print $ as a compiled function pointer. +This command assumes that $ is an Emacs Lisp compiled value. end define xwindow @@ -721,7 +732,8 @@ print (struct save_window_data *) $ptr end document xwinconfig -Print $ as a window configuration pointer, assuming it is an Emacs Lisp window configuration value. +Print $ as a window configuration pointer. +This command assumes that $ is an Emacs Lisp window configuration value. end define xsubr @@ -766,7 +778,7 @@ echo \n end document xbuffer -Set $ as a buffer pointer, assuming it is an Emacs Lisp buffer value. +Set $ as a buffer pointer assuming it is an Emacs Lisp buffer value. Print the name of the buffer. end @@ -775,7 +787,8 @@ print (struct Lisp_Hash_Table *) $ptr end document xhashtable -Set $ as a hash table pointer, assuming it is an Emacs Lisp hash table value. +Set $ as a hash table pointer. +This command assumes that $ is an Emacs Lisp hash table value. end define xcons @@ -785,7 +798,7 @@ echo \n end document xcons -Print the contents of $, assuming it is an Emacs Lisp cons. +Print the contents of $ assuming it is an Emacs Lisp cons. end define nextcons @@ -794,7 +807,7 @@ end document nextcons Print the contents of the next cell in a list. -This assumes that the last thing you printed was a cons cell contents +This command assumes that the last thing you printed was a cons cell contents (type struct Lisp_Cons) or a pointer to one. end define xcar @@ -803,7 +816,7 @@ print/x ($type == Lisp_Cons ? ((struct Lisp_Cons *) $ptr)->car : 0) end document xcar -Print the car of $, assuming it is an Emacs Lisp pair. +Print the car of $ assuming it is an Emacs Lisp pair. end define xcdr @@ -812,7 +825,7 @@ print/x ($type == Lisp_Cons ? ((struct Lisp_Cons *) $ptr)->u.cdr : 0) end document xcdr -Print the cdr of $, assuming it is an Emacs Lisp pair. +Print the cdr of $ assuming it is an Emacs Lisp pair. end define xlist @@ -1007,7 +1020,7 @@ set debug_print (which_symbols ($arg0)) end document which - Print symbols which references a given lisp object, + Print symbols which references a given lisp object either as its symbol value or symbol function. end