[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxuum::document_ft

Title:DOCUMENT T1.0
Notice:**New notesfile (DOCUMENT.NOTE) now available (see note 897)**
Moderator:CLOSET::ADLER
Created:Mon Feb 09 1987
Last Modified:Thu Oct 31 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:897
Total number of notes:4397

770.0. "LSE V1.0 User Comments" by COOKIE::JOHNSTON () Thu Aug 06 1987 17:16

head^E expands to <HEAD>.  I would have expected a listing of head 
levels instead, and even the subhead tags.


Rose
T.RTitleUserPersonal
Name
DateLines
770.1It's getting easierCOOKIE::JOHNSTONThu Aug 06 1987 17:185
I like the addition of [<P>] after <CHAPTER> !
                       {text}


Very nice!
770.2LSE featureTLE::MICHAELSKaren MichaelsThu Aug 06 1987 17:3411
re: < Note 770.0 by COOKIE::JOHNSTON >

>> head^E expands to <HEAD>.  I would have expected a listing of head 
>> levels instead, and even the subhead tags.

This is a feature of LSE.  If you expand a name that exactly matches that token
you will get the expansion of the token.  To get what you want you must expand
"hea".  You will not get "subhead" this way, you will only get tags that begin
with "hea".  To get "subhead" you will have to expand "subh". 

         ---Karen
770.3Yes, but, but...COOKIE::JOHNSTONFri Aug 07 1987 14:5513
Re: .2

Well, alright, if you say so!  Somehow I'd gotten the notion that a tag
should expand into its full construct (between < >) only when the 
user-provided string was unique to the tag; "head" is not unique, hence
my expectation. "head1" is unique, so I would expect the full construct.

Somehow, I'll learn to cope with it as is... |-)


Rose


770.4See 592.5; LSE has to pick oneTOKLAS::FELDMANPDS, our next successMon Aug 10 1987 14:096
    See note 592.5 for a more detailed explanation of LSE's behavior.
    
    The trick here, of course, is to simply get into the habit of typing
    hea<EXPAND> instead of head<EXPAND>.
    
       Gary
770.5LSE's exact match does just what I wantCASEE::CLARKWard ClarkWed Aug 12 1987 12:3119
    Because I hate typing "<" and ">", I especially like being able to type
    "P^E" to begin a paragraph.  I know that I'd hate to have the EXPAND
    give me the following menu:

	P : Labels a paragraph.
	PAGE : Begins a new page of text.
	PARAMDEFLIST : Parameter definition list tag software templates.
	PARENDCHAR : Labels a character to appear in parentheses.
	PART : Labels the beginning of a part.
	PART_PAGE : Begins a divider page for a new part in a document.
	PREFACE : Preface section
	PREFACE_SECTION : Preface section
	PRINT_DATE : Print date
	PROFILE : Template for document profile.
	PROJECT-SPECIFIC-TAGNAME : Sets meaningful tags for a reference template.
	PROMPT : Prompt tag.
	PROMPTS : PROMPTS tag for software templates.

    -- Ward
770.6Born again LSE-user...COOKIE::JOHNSTONWed Aug 12 1987 15:298
Points well-taken; you've converted me! 

But Theo, make it even *easier* on yourself and define your backspace key to 
be <p>!  You'll get <p> in one keystroke instead of 2 or 3.  I hate typing
^anything, so I've defined my keypad keys to move, expand, delete, etc.


Rose
770.7Good ideaGLORY::OVERTONThu Aug 13 1987 11:196
    re. -1
    
    Could you tell us (naive users) how?
    
    
    
770.8DEFINE KEYIJSAPL::KLERKTheo de KlerkTue Aug 25 1987 05:316
Re. -.2:  If this "Theo" is me, I wonder where my reply is/went

Re. -.1:  Using an LSE initialization file with the  DEFINE KEY command
          will probably do the definition for you

Theo
770.9Here's a sample LSEINI.LSE fileCOOKIE::JOHNSTONWed Aug 26 1987 12:4549
Attached is the LSEINI.LSE file I use to define my keypad.  
I defined many of the same keys I used in EDT.  At the suggestion of a 
helpful person, I also defined EDT in my login.com to resolve to LSE; it 
was the only way I could seem to force myself to consistently use LSE 
(everytime I edited a file I wanted to type "EDT").


Rose



modify language sdml/right_margin=65/wrap
set insert

define command "set_terminal_to_132" "do ""set screen width=132"",""set right_margin 127""" 
define command "set_terminal_to_80" "do ""set screen width=80"",""set right_margin 70""" 
define command "set_terminal_to_65" "do ""set screen width=80"",""set right_margin 65""" 
define command "swap_character" "do ""erase character/indicated"",""goto character/forward"",""unerase character"""
define command "two_buffers" "do ""set screen window=2"",""previous window"",""goto file/create"" 
define command "one_window" "do ""set screen window=1""

define key "bs_key" "ENTER TEXT <P>"
define key/if_state=gold "E" "EXIT"
define key/if_state=gold "F" "Fill"
define key/if_state=gold "I" "READ_FILE"
define key/if_state=gold "O" "one_window"
define key/if_state=gold "Q" "QUIT"
define key/if_state=gold "T" "two_buffers"
define key/if_state=gold "ENTER" "SUBSTITUTE"
define key/if_state=gold "W" "WRITE/SELECT_RANGE"
define key/if_state=gold "P" "WRITE/BUFFER=$PASTE"
define key/if_state=gold "N" "set_terminal_to_132"
define key/if_state=gold "M" "set_terminal_to_80"
define key/if_state=gold "S" "swap_character"
define key/if_state=gold "left" "repeat 50 shift/forward"
define key/if_state=gold "right" "repeat 50 shift/reverse"
define key "ctrl_d_key" "previous window"
define key/if_state=gold "ctrl_t_key" "set screen window=1"
define key/if_state=gold kp3 "erase placeholder"
define key kp0 "goto line"
define key kp1 "goto word"
define key kp3 "goto line/end"
define key kp4 "set forward"
define key kp5 "set reverse"
define key kp7 "set_terminal_to_65"
define key kp8 "goto placeholder"
define key kp9 "expand"