Internal differences

17 views
Skip to first unread message

H P

unread,
Nov 16, 2025, 10:04:35 AM11/16/25
to sem...@googlegroups.com
Sammy,

There are some internal differences of which I can't say it's a bug but it's a bit strange.
The following is all in the macromenu.
When usingh the options Execute, Purge, Show Loaded I get the macronames in uppercase.
However if I use the Autoload List they are shown in lowercase.

Trying to get the loaded macros with a script also results in uppercase.
===============================
Integer loaded_macros_id = 0

Proc list_startup()

    PushLocation()
    PushBlock()
    MarkLine(1, NumLines())
    GotoBufferId(loaded_macros_id)
    CopyBlock()
    PopBlock()
    PopLocation()

End  list_startup

Proc Main()

    loaded_macros_id = NewFile()
    Hook(_LIST_STARTUP_, list_startup)
    PushKey(<Escape>)
    PurgeMacro()
    UnHook(list_startup)

    PurgeMacro(SplitPath(CurrMacroFileName(), _NAME_))

End  Main

===============================

Also I can do a Execute and the macro of course is executed but when I use Show Loaded I don't expect it also to be executed but like, when clicking on one, it loads the source of that macro hence the word Show.


Met vriendelijke groet,
With kind regards,
Muy atentamente,
Mit Freundliche Gruß,
Sinceramente,


H. Pikaar

Henri...@gmail.com

knud van eeden

unread,
Nov 16, 2025, 12:06:44 PM11/16/25
to sem...@googlegroups.com
FYIO

1. In TSE menu > 'Macro' > 'Purge' the filenames have since day 1
been shown in upper case. Probably similar for 'Show Loaded'.
See screenshot.

Also in TSE for Linux they are shown in that case as upper case only (see screenshot)

2. In general of course filenames in Microsoft Windows are case insensitive, so
not really a big issue,

In Linux (e.g. non-WSL) it is something else, 
there filenames are case sensitive, so one has to be precise in general and
follow that rule, otherwise e.g. file not found or similar.

4. But e.g. in 'Purge' this is just for TSE's internal information, TSE knows
how to handle it, given that the TSE macro name is in lower case or upper case 
or camel case or whatever else case.

5. Regarding 'Autoload' and some other 'Macro' menu options it was not really reproduced or seen
happening, e.g. AutoLoad' shows here lower case if macro name input was lower case.

6. This behavior should have been there thus already there for many years from the beginning day 1
and I assume all these commands are for TSE internal usage only, so no output of the filename is given
back to the user, so probably not relevant at all in general what the case is in these circumstances.

with friendly greetings
Knud van Eeden

Inline image

Inline image


--

---
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/CAAR3jqEiwOuPBy2YHrwCxMBrOyYgpZ84BOYGEiH93WTK2p1nEA%40mail.gmail.com.

knud van eeden

unread,
Nov 16, 2025, 12:16:45 PM11/16/25
to sem...@googlegroups.com
And being it made UPPER CASE has some usage, e.g. it increases the distinction,
for example in 'Show loaded' you see that the 'COMPILE' macro name is 
in upper case, while its sub parts are camel case (e.g. 'AddCompiler')

Similar to pronouncing the difference between DIRECTORY NAMES in upper case and filenames in lower case or camel case.

Inline image




knud van eeden

unread,
Nov 16, 2025, 12:53:31 PM11/16/25
to sem...@googlegroups.com
FYIO

1. If one really needs the original filenames, one can run the TSE macro 'hidden.s'


2. -Select from list e.g. '[Loaded & public macros'

3. That will show a screen output similar to the following:


Inline image

Inline image


Reply all
Reply to author
Forward
0 new messages