aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNick Roberts2007-01-19 04:17:28 +0000
committerNick Roberts2007-01-19 04:17:28 +0000
commit89955f2e0238e309c3e03375b7a06fa8c0c6227e (patch)
treee279771c94d07cd349a808e09d8aa304b6dbd9cf /src
parentacb385291600f2f127091112e526a498fc2d102b (diff)
downloademacs-89955f2e0238e309c3e03375b7a06fa8c0c6227e.tar.gz
emacs-89955f2e0238e309c3e03375b7a06fa8c0c6227e.zip
Reformat documentation so that first sentence
displays properly with "help user-defined" (like apropos).
Diffstat (limited to 'src')
-rw-r--r--src/.gdbinit73
1 files changed, 43 insertions, 30 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index 6ba71e2f6e2..7a96d3b9733 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -158,7 +158,7 @@ define ppt
158 printf " SZ=%d\n", $t->gap_size 158 printf " SZ=%d\n", $t->gap_size
159end 159end
160document ppt 160document ppt
161Print point, beg, end, narrow, and gap for current buffer. 161Print point beg end narrow and gap for current buffer.
162end 162end
163 163
164# Print out iterator given as first arg 164# Print out iterator given as first arg
@@ -312,7 +312,7 @@ define pcursorx
312 printf "y=%d x=%d vpos=%d hpos=%d", $cp->y, $cp->x, $cp->vpos, $cp->hpos 312 printf "y=%d x=%d vpos=%d hpos=%d", $cp->y, $cp->x, $cp->vpos, $cp->hpos
313end 313end
314document pcursorx 314document pcursorx
315Pretty print a window cursor 315Pretty print a window cursor.
316end 316end
317 317
318define pcursor 318define pcursor
@@ -321,7 +321,7 @@ define pcursor
321 printf "\n" 321 printf "\n"
322end 322end
323document pcursor 323document pcursor
324Pretty print the output_cursor 324Pretty print the output_cursor.
325end 325end
326 326
327define pwinx 327define pwinx
@@ -381,7 +381,7 @@ define pwinx
381end 381end
382document pwinx 382document pwinx
383Pretty print a window structure. 383Pretty print a window structure.
384Takes one argument, a pointer to a window structure 384Takes one argument, a pointer to a window structure.
385end 385end
386 386
387define pwin 387define pwin
@@ -447,7 +447,7 @@ define pgx
447end 447end
448document pgx 448document pgx
449Pretty print a glyph structure. 449Pretty print a glyph structure.
450Takes one argument, a pointer to a glyph structure 450Takes one argument, a pointer to a glyph structure.
451end 451end
452 452
453define pg 453define pg
@@ -520,7 +520,7 @@ define xtype
520 end 520 end
521end 521end
522document xtype 522document xtype
523Print the type of $, assuming it is an Emacs Lisp value. 523Print the type of $ assuming it is an Emacs Lisp value.
524If the first type printed is Lisp_Vector or Lisp_Misc, 524If the first type printed is Lisp_Vector or Lisp_Misc,
525a second line gives the more precise type. 525a second line gives the more precise type.
526end 526end
@@ -532,7 +532,8 @@ define xvectype
532 echo \n 532 echo \n
533end 533end
534document xvectype 534document xvectype
535Print the size or vector subtype of $, assuming it is a vector or pseudovector. 535Print the size or vector subtype of $.
536This command assumes that $ is a vector or pseudovector.
536end 537end
537 538
538define xmisctype 539define xmisctype
@@ -541,7 +542,7 @@ define xmisctype
541 echo \n 542 echo \n
542end 543end
543document xmisctype 544document xmisctype
544Print the specific type of $, assuming it is some misc type. 545Print the specific type of $ assuming it is some misc type.
545end 546end
546 547
547define xint 548define xint
@@ -549,7 +550,7 @@ define xint
549 print $int 550 print $int
550end 551end
551document xint 552document xint
552Print $, assuming it is an Emacs Lisp integer. This gets the sign right. 553Print $ assuming it is an Emacs Lisp integer. This gets the sign right.
553end 554end
554 555
555define xptr 556define xptr
@@ -557,7 +558,7 @@ define xptr
557 print (void *) $ptr 558 print (void *) $ptr
558end 559end
559document xptr 560document xptr
560Print the pointer portion of $, assuming it is an Emacs Lisp value. 561Print the pointer portion of $ assuming it is an Emacs Lisp value.
561end 562end
562 563
563define xmarker 564define xmarker
@@ -565,7 +566,7 @@ define xmarker
565 print (struct Lisp_Marker *) $ptr 566 print (struct Lisp_Marker *) $ptr
566end 567end
567document xmarker 568document xmarker
568Print $ as a marker pointer, assuming it is an Emacs Lisp marker value. 569Print $ as a marker pointer assuming it is an Emacs Lisp marker value.
569end 570end
570 571
571define xoverlay 572define xoverlay
@@ -573,7 +574,8 @@ define xoverlay
573 print (struct Lisp_Overlay *) $ptr 574 print (struct Lisp_Overlay *) $ptr
574end 575end
575document xoverlay 576document xoverlay
576Print $ as a overlay pointer, assuming it is an Emacs Lisp overlay value. 577Print $ as a overlay pointer.
578This command assumes that $ is an Emacs Lisp overlay value.
577end 579end
578 580
579define xmiscfree 581define xmiscfree
@@ -581,7 +583,8 @@ define xmiscfree
581 print (struct Lisp_Free *) $ptr 583 print (struct Lisp_Free *) $ptr
582end 584end
583document xmiscfree 585document xmiscfree
584Print $ as a misc free-cell pointer, assuming it is an Emacs Lisp Misc value. 586Print $ as a misc free-cell pointer.
587This command assumes that $ is an Emacs Lisp Misc value.
585end 588end
586 589
587define xintfwd 590define xintfwd
@@ -589,7 +592,8 @@ define xintfwd
589 print (struct Lisp_Intfwd *) $ptr 592 print (struct Lisp_Intfwd *) $ptr
590end 593end
591document xintfwd 594document xintfwd
592Print $ as an integer forwarding pointer, assuming it is an Emacs Lisp Misc value. 595Print $ as an integer forwarding pointer.
596This command assumes that $ is an Emacs Lisp Misc value.
593end 597end
594 598
595define xboolfwd 599define xboolfwd
@@ -597,7 +601,8 @@ define xboolfwd
597 print (struct Lisp_Boolfwd *) $ptr 601 print (struct Lisp_Boolfwd *) $ptr
598end 602end
599document xboolfwd 603document xboolfwd
600Print $ as a boolean forwarding pointer, assuming it is an Emacs Lisp Misc value. 604Print $ as a boolean forwarding pointer.
605This command assumes that $ is an Emacs Lisp Misc value.
601end 606end
602 607
603define xobjfwd 608define xobjfwd
@@ -605,7 +610,8 @@ define xobjfwd
605 print (struct Lisp_Objfwd *) $ptr 610 print (struct Lisp_Objfwd *) $ptr
606end 611end
607document xobjfwd 612document xobjfwd
608Print $ as an object forwarding pointer, assuming it is an Emacs Lisp Misc value. 613Print $ as an object forwarding pointer.
614This command assumes that $ is an Emacs Lisp Misc value.
609end 615end
610 616
611define xbufobjfwd 617define xbufobjfwd
@@ -613,7 +619,8 @@ define xbufobjfwd
613 print (struct Lisp_Buffer_Objfwd *) $ptr 619 print (struct Lisp_Buffer_Objfwd *) $ptr
614end 620end
615document xbufobjfwd 621document xbufobjfwd
616Print $ as a buffer-local object forwarding pointer, assuming it is an Emacs Lisp Misc value. 622Print $ as a buffer-local object forwarding pointer.
623This command assumes that $ is an Emacs Lisp Misc value.
617end 624end
618 625
619define xkbobjfwd 626define xkbobjfwd
@@ -621,7 +628,8 @@ define xkbobjfwd
621 print (struct Lisp_Kboard_Objfwd *) $ptr 628 print (struct Lisp_Kboard_Objfwd *) $ptr
622end 629end
623document xkbobjfwd 630document xkbobjfwd
624Print $ as a kboard-local object forwarding pointer, assuming it is an Emacs Lisp Misc value. 631Print $ as a kboard-local object forwarding pointer.
632This command assumes that $ is an Emacs Lisp Misc value.
625end 633end
626 634
627define xbuflocal 635define xbuflocal
@@ -629,7 +637,8 @@ define xbuflocal
629 print (struct Lisp_Buffer_Local_Value *) $ptr 637 print (struct Lisp_Buffer_Local_Value *) $ptr
630end 638end
631document xbuflocal 639document xbuflocal
632Print $ as a buffer-local-value pointer, assuming it is an Emacs Lisp Misc value. 640Print $ as a buffer-local-value pointer.
641This command assumes that $ is an Emacs Lisp Misc value.
633end 642end
634 643
635define xsymbol 644define xsymbol
@@ -673,7 +682,8 @@ define xprocess
673 echo \n 682 echo \n
674end 683end
675document xprocess 684document xprocess
676Print the address of the struct Lisp_process which the Lisp_Object $ points to. 685Print the address of the struct Lisp_process to which $ points.
686This command assumes that $ is a Lisp_Object.
677end 687end
678 688
679define xframe 689define xframe
@@ -685,7 +695,7 @@ define xframe
685 echo \n 695 echo \n
686end 696end
687document xframe 697document xframe
688Print $ as a frame pointer, assuming it is an Emacs Lisp frame value. 698Print $ as a frame pointer assuming it is an Emacs Lisp frame value.
689end 699end
690 700
691define xcompiled 701define xcompiled
@@ -694,7 +704,8 @@ define xcompiled
694 output ($->contents[0])@($->size & 0xff) 704 output ($->contents[0])@($->size & 0xff)
695end 705end
696document xcompiled 706document xcompiled
697Print $ as a compiled function pointer, assuming it is an Emacs Lisp compiled value. 707Print $ as a compiled function pointer.
708This command assumes that $ is an Emacs Lisp compiled value.
698end 709end
699 710
700define xwindow 711define xwindow
@@ -721,7 +732,8 @@ define xwinconfig
721 print (struct save_window_data *) $ptr 732 print (struct save_window_data *) $ptr
722end 733end
723document xwinconfig 734document xwinconfig
724Print $ as a window configuration pointer, assuming it is an Emacs Lisp window configuration value. 735Print $ as a window configuration pointer.
736This command assumes that $ is an Emacs Lisp window configuration value.
725end 737end
726 738
727define xsubr 739define xsubr
@@ -766,7 +778,7 @@ define xbuffer
766 echo \n 778 echo \n
767end 779end
768document xbuffer 780document xbuffer
769Set $ as a buffer pointer, assuming it is an Emacs Lisp buffer value. 781Set $ as a buffer pointer assuming it is an Emacs Lisp buffer value.
770Print the name of the buffer. 782Print the name of the buffer.
771end 783end
772 784
@@ -775,7 +787,8 @@ define xhashtable
775 print (struct Lisp_Hash_Table *) $ptr 787 print (struct Lisp_Hash_Table *) $ptr
776end 788end
777document xhashtable 789document xhashtable
778Set $ as a hash table pointer, assuming it is an Emacs Lisp hash table value. 790Set $ as a hash table pointer.
791This command assumes that $ is an Emacs Lisp hash table value.
779end 792end
780 793
781define xcons 794define xcons
@@ -785,7 +798,7 @@ define xcons
785 echo \n 798 echo \n
786end 799end
787document xcons 800document xcons
788Print the contents of $, assuming it is an Emacs Lisp cons. 801Print the contents of $ assuming it is an Emacs Lisp cons.
789end 802end
790 803
791define nextcons 804define nextcons
@@ -794,7 +807,7 @@ define nextcons
794end 807end
795document nextcons 808document nextcons
796Print the contents of the next cell in a list. 809Print the contents of the next cell in a list.
797This assumes that the last thing you printed was a cons cell contents 810This command assumes that the last thing you printed was a cons cell contents
798(type struct Lisp_Cons) or a pointer to one. 811(type struct Lisp_Cons) or a pointer to one.
799end 812end
800define xcar 813define xcar
@@ -803,7 +816,7 @@ define xcar
803 print/x ($type == Lisp_Cons ? ((struct Lisp_Cons *) $ptr)->car : 0) 816 print/x ($type == Lisp_Cons ? ((struct Lisp_Cons *) $ptr)->car : 0)
804end 817end
805document xcar 818document xcar
806Print the car of $, assuming it is an Emacs Lisp pair. 819Print the car of $ assuming it is an Emacs Lisp pair.
807end 820end
808 821
809define xcdr 822define xcdr
@@ -812,7 +825,7 @@ define xcdr
812 print/x ($type == Lisp_Cons ? ((struct Lisp_Cons *) $ptr)->u.cdr : 0) 825 print/x ($type == Lisp_Cons ? ((struct Lisp_Cons *) $ptr)->u.cdr : 0)
813end 826end
814document xcdr 827document xcdr
815Print the cdr of $, assuming it is an Emacs Lisp pair. 828Print the cdr of $ assuming it is an Emacs Lisp pair.
816end 829end
817 830
818define xlist 831define xlist
@@ -1007,7 +1020,7 @@ define which
1007 set debug_print (which_symbols ($arg0)) 1020 set debug_print (which_symbols ($arg0))
1008end 1021end
1009document which 1022document which
1010 Print symbols which references a given lisp object, 1023 Print symbols which references a given lisp object
1011 either as its symbol value or symbol function. 1024 either as its symbol value or symbol function.
1012end 1025end
1013 1026