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