À--htdig_noindex--> PDP-10 Archive: emactzjsglib.emacs from mit_emacs_170_tecoq(� g)�0 Ã_head> À-- SiteSearch Google -->
Ã_tr> Ã_table>
Trailing-Edge - PDP-10 ArchivesÃ_A> - mit_emacs_170_tecoq( g)0 - emactzjsglib.emacsÃ_strong>
There are no other files named jsglib.emacs in the archive.
À--/htdig_noindex-->
!* -*- TECO -*- !
!* Reconstructed from a sourceless library.!

!~FILENAME~:! !Macros for assorted functions!
JSGLIB
g^R Uppercase MACRO code:! !^R Capitalize a line of MACRO codVI

    .[1 0L    M(m.m^R_Set/Pop_Mark)
   :S ;  
 
    :I*case_convert m(m.m&_Save_Region_and_Query)f"e q1 j'
    :,.f f(@fc q1 j)
Ã_PRE>
!Date File:!SMC Write file with edit date line.
Follow b9filename as string argument.  "1+"+" says called b9^X^S<span class="naked_sign">; </span><span class="naked_aural">(èlŠ)</span>inhibits
calling & Set Mode Line and auta-save reinitialization.  Also inhibits setting
filenames (in case the9are _^RSV).
"-1," as argumen4inhibits updating the buffer's file cdate as well.
If no4at top level (can'4switch files now), doesn't update anything about the
current buffer, but does return the written file's creation date so the caller
can store it.!

    QBuffer_Index[2
    0F[ VB 2 2 2 2 0F[VZW
    :F"L Q.F - Q..F "E        Q:.B(21(kp)) F"N FS D FILE'''
    5,1F Write_File [1 ET1
    F[ D FILE 0FS D VERS E!?F] D FILE    .m FS OF C DATE3¹p    EFJ
    qComment_Start[0
    q0"e :i0 ; '
    0fo..q Comment_Begin f"n u0'
    G0 .31    FS O FILEF8
<
    I

    21J 21,(S:.)K    :L .[4
    qComment_End u0
    q0"n G0'    Q4J ]2 2 2 9I    0,Q2 2 FS FD CONVERT    9!?IEdit_by_ FS X UNAME F8
<
    L c+.J 33]05¹po @EI    FS OF C DATE [2
<
    HP EF    0FS MODIFIED    0FS X MODIFIED    +1"E FS R GETTY"E ONoPrint''

    FS O FILE [1 FS R GETTY"E :FT'
    :I*C FS ECHO DIS
    @FTWritten:_1 FS ECHO LINES-1"N @FT
'
    0FS ECHO ACTIVE    Q..F - Q.F"N ê0Ã0È0ë0'

    FS Z U:.B(Q2 + )
    FS ^R M DLY FS ^R M CNT
    :"L        Q2 2 U:.B(Q2 + 8)        FS OF VERS F"G U:.B(21 + 9)
                        1FS MODE CH''

    "N 0,100'
    FS D FILEU1
    M(M.MSet_Visited_Filename)1    0,100
Ã_PRE>
!^R Displa9curren4line number:! !^R Coun4lines before this one (drs)!

    .[..0 0l @ft_Line_ b,.m(m.m&_Count_lines) @:= q..0 j 0fs echo act
Ã_PRE>
!BBN Date:! ! Write BBN TECO style edit message a4star4of file.
Inserts name of presumed output file, time and date of edit and user.
If given non-zero argument, acts like newer BBN TECOs (includes site, etc.)!
  j g( qComment_Begin f"e w qComment_Start f"e 7:i* <span class="naked_sign">; </span><span class="naked_aural">(èlŠ)</span>'' )
  f f"e i[ g( fs machine ) i]'

  qBuffer_Filenames f"n f[ d file'
  <i g( fs ds name ) >i g( fs d fn1 ) .i g( fs d f¬ ) .i
  fs d versi f"e 71:< e[ er e] >"e fs if vers' + 1' \i,_
  0,-1fs fd conv fs x unam [0 f f"n i,_Edit_by 0  ' "# i,_Ed: 0'  fqComment_End"g gComment_End'i

    
Ã_PRE>
!^R Uppercase Macro Region:!SM Uppercase a Region of Macro Code!
    MM ^R_Narrow_Bounds_to_Region
    BJ    1:<
        < 1 MM ^R_Uppercase_Macro_Code
	  1L
	  .-Z <span class="naked_sign">; </span><span class="naked_aural">(èlŠ)</span>>>    H @V
    MM ^R_Set_Bounds_Full    
Ã_html</div><div class="naked_ctrl"> <form action="/index.cgi/larger-text" method="get" name="gate"> <p><a href="http://altstyle.alfasado.net">AltStyle</a> k0ˆ0c0f0 YÛcU0Œ0_0Ú0ü0¸0 <a href="http://pdp-10.trailing-edge.com/mit_emacs_170_teco_1220/01/emacs/jsglib.emacs.html">(-&gt;ª0ê0¸0Ê0ë0)</a> / <label>¢0É0ì0¹0: <input type="text" name="naked_post_url" value="http://pdp-10.trailing-edge.com/mit_emacs_170_teco_1220/01/emacs/jsglib.emacs.html" size="22" /></label> <label>â0ü0É0: <select name="naked_post_mode"> <option value="default">Ç0Õ0©0ë0È0</option> <option value="speech">ó—ðXÖ0é0¦0¶0</option> <option value="ruby">ë0Ó0ØNM0</option> <option value="contrast">M‘r‚ÍSâŽ</option> <option value="larger-text" selected="selected">‡eW[áb'Y</option> <option value="mobile">â0Ð0¤0ë0</option> </select> <input type="submit" value="hˆ:y" /> </p> </form> </div>
Google Ã_td> Ã_input> Ã_input>
 
Ã_input> Ã_input>
Ã_input> Ã_input> Ã_input> Ã_td>