Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Type nomen gives ncmen in TSE45.

11 views
Skip to first unread message

Christer Gustafsson

unread,
Jan 29, 2025, 6:00:50 AMJan 29
to sem...@googlegroups.com
TSE is started with one macro of mine being loaded. In TSE3.2 when I type "nomen" then nomen is put into the editing buffer.

In tse4.5 when I type "nomen" then ncmen gets put into the buffer. When I first noticed this I guessed it was related to some nerve-defect in my elderly body: a finger in the left hand got substituted for a finger in my right hand.

The test by means of 3.2 rules out my macro (decades old) as the culprit.

Hopefully someone has a suggestion where I should start to search for the root of this bizarre behaviour.

Best regards,
Christer

knud van eeden

unread,
Jan 29, 2025, 6:19:50 AMJan 29
to sem...@googlegroups.com
You could isolate (e.g. the line where, e.g. using putting before and after lines this 'Warn( "before1" ), Warn( "after1" ), Warn( "before2" ) Warn( "after2" ), ...) in your TSE macro this 'nomen' / 'ncmen' is input, take that out in a separate
little program, see if it reproduces and work from there.

with friendly greetings
Knud van Eeden

--

---
You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/semware/CABn5qtBdPnM3Tt7GMgr-Cnge0KwOeCxts80sFJRLQDYECTfRaQ%40mail.gmail.com.

Carlo Hogeveen

unread,
Jan 29, 2025, 6:27:20 AMJan 29
to sem...@googlegroups.com

Christer,

Suggestion for another test to exclude your macro:
Start TSE 4.5, use menu Macro -> Purge and select your macro name.
Retry Macro -> Purge to confirm that your macro is gone.
Then type "nomen" again. Does the problem persist?

I have not been able to think of a likely scenario that would have a general cause.

Further questions to narrow down the problem:
Are TSE 3.2 and 4.5 on the same computer and operating system?
When opening the Macro Purge menu, do you see other macros than "cuamark" and yours?
For TSE 4.5 do you use the GUI version (g32.exe), the Console version (e32.exe), or the Linux version?

Carlo
--

---
You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mailto:semware+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/semware/CABn5qtBdPnM3Tt7GMgr-Cnge0KwOeCxts80sFJRLQDYECTfRaQ%40mail.gmail.com?utm_medium=email&utm_source=footer.

knud van eeden

unread,
Jan 29, 2025, 6:28:49 AMJan 29
to sem...@googlegroups.com
> putting this at strategic locations before and after lines of your program: Warn( "before1" ), Warn( "after1" ) ...

They call that method also a 
  
 "poor man's debugger"

but it is very effective in general and used by me all the time in different TSE and other computer languages, instead of a full debugger program.

It allows you to isolate quickly in a program where the issue is
(e.g. using binary search to rule out large parts of the program, first eliminating half of the program lines, then a quarter, then 1/8th and so on...).


Christer Gustafsson

unread,
Jan 29, 2025, 6:32:48 AMJan 29
to sem...@googlegroups.com
Sorry. I was unclear: The word "nomen" is not part of my macro. Think of my problem like this: Start TSE4.5, start a new document and start to type the word nomen. Then the new document just holds the word ncmen.

Bizarre, isn't it?
Christer

Christer Gustafsson

unread,
Jan 29, 2025, 6:50:34 AMJan 29
to sem...@googlegroups.com
  1. Purge macros. Checked that my macro was purged. Confirmed that it was gone. The ncmen error is till there.
  2. Tse3.2 and TSE 4.5 are in the same PC.
  3. Macro Purge sees mymacro, cumark and template. Purged all but cumark. ncmen is still there.
  4. I use the g32 although I use the Windows prompt-window. When I switched to e32 then the error is no longer there!
Thanks a lot for rapid help from this group!
Christer

To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/semware/000e01db7240%24c0a7afd0%2441f70f70%24%40ecarlo.nl.

Carlo Hogeveen

unread,
Jan 29, 2025, 7:07:44 AMJan 29
to sem...@googlegroups.com

Christer,

Great to hear!

To state the obvious,
The Template macro is now the main suspect.
Temporarily purging it from the GUI version of TSE should solve your problem there too.
If so, then permanently solve the problem either by deleting "Template" from GUI TSE's Macro AutoLoad List menu and restarting TSE, or by reconfiguring the offending Template definition.

Carlo



knud van eeden

unread,
Jan 29, 2025, 7:27:47 AMJan 29
to sem...@googlegroups.com
1. As a next step download and install somewhere temporarily the latest TSE version 4.50.2

New release of TSE is now available.  Get it here:


and see if it still reproduces.

2. If check with another keyboard (e.g. use the onscreen keyboard) 

3. Or try to reproduce it with TSE 4.50.2 on another computer.


knud van eeden

unread,
Jan 29, 2025, 7:31:55 AMJan 29
to sem...@googlegroups.com
> 2. If check with another keyboard (e.g. use the onscreen keyboard)

To run the Microsoft Windows On Screen Keyboard:

1. Open a run box or open a cmd.exe box

2. Type the command

    osk

3. That will start an onscreen keyboard (it will also rule out any finger influence, if any of course, as you use the mouse
to input now).

knud van eeden

unread,
Jan 29, 2025, 7:55:53 AMJan 29
to sem...@googlegroups.com
As suggested this 'template' macro is very likely to be the culprit.

To remove e.g. this 'c' > 'o' replacement:

1. Run TSE

2. Load the file which shows the issue with your file extension (e.g. .txt)

3. Execute macro 'Template' 

   (menu TSE > 'Macro' > 'Execute' > type template > press <Enter>.

   you should see nothing happening.

4. Then press <CTRL TAB> to open the template menu

5. That will show you a menu (see screenshot)

6. Select 'List Templates'

7. Now search in the list for e.g. something with

    nomen

    ncmen

    o

    c

    ...

8. When found delete that option by pressing <Del>
and confirming the deletion

9. Otherwise do the same here:

    Press <Ctrl Enter> to see *all* templates

   and search again.


Inline image


Christer Gustafsson

unread,
Jan 29, 2025, 9:48:30 AMJan 29
to sem...@googlegroups.com
Thank you all for the good suggestions of how to solve the problem as well as to find its root.

For me I am now very happy that TSE once again is in a good condition. This means that I can run both tse32\g32 and tse45\e32 without any change whatsoever to the macros myMacro, cumark and template.

Best regards from a Drammen in bad January weather (melting snow)
Christer

Reply all
Reply to author
Forward
0 new messages