๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
20 messages
20 total messages Started by June Bug Sun, 25 Jun 2017 17:44
(40tude dialog) Save but not close draft?
#262174
Author: June Bug
Date: Sun, 25 Jun 2017 17:44
5 lines
1005 bytes
How do you just save a draft in 40-Tude dialog without always having to
first close it and then dig it back up from your Folders tab?


         https://s11.postimg.org/f8lfbulvn/save_draft.gif
Re: (40tude dialog) Save but not close draft?
#262166
Author: Bernd Rose
Date: Sun, 25 Jun 2017 18:33
19 lines
2176 bytes
On Sun, 25 Jun 2017 17:44:42 +0000 (UTC), June Bug wrote:

> How do you just save a draft in 40-Tude dialog without always having to
> first close it and then dig it back up from your Folders tab?

There is no such command. But every time, the "Drafts" folder gets the
focus, all content from open Message Composition windows is flushed to
the Dialog database. 

So, if you wish to temporarily save (usually long) drafted texts without 
closing the Message Composition window, you just need to get the focus to 
the main Dialog window. Provided, that you set the focus to the "Drafts" 
folder when doing so for the first time and kept it there, you'll need no 
extra clicks. (I.e.: you don't need to unselect the "Drafts" folder and 
reselect it. And neither is it necessary, that the message you wish to 
quick-save has the focus inside "Drafts". The "Drafts"-Folder focus is 
sufficient.)

Bernd
Re: (40tude dialog) Save but not close draft?
#262167
Author: June Bug
Date: Sun, 25 Jun 2017 19:56
43 lines
2821 bytes
Responding to what Bernd Rose <b.rose.tmpbox@arcor.de> wrote:

>> How do you just save a draft in 40-Tude dialog without always having to
>> first close it and then dig it back up from your Folders tab?
> 
> There is no such command. 

That is good to know but it's rare for a "composition" tool to not just 
have a periodic "save" command.

Can we "make" a command with the dialog script and give it a keystroke?

> But every time, the "Drafts" folder gets the
> focus, all content from open Message Composition windows is flushed to
> the Dialog database. 

That explains the oddity that sometimes I see things in the drafts folder 
like "()" where I don't understand how they got there - but that wasn't the 
original question.

> So, if you wish to temporarily save (usually long) drafted texts without 
> closing the Message Composition window, you just need to get the focus to 
> the main Dialog window.

You are right that some compositions take a long time, with lots of windows 
back and forth as I paste information from multiple sources, where I just 
want to save the thing (and maybe to come back later but more often just to 
make sure I don't accidentally lose all my work).

> Provided, that you set the focus to the "Drafts" 
> folder when doing so for the first time and kept it there, you'll need no 
> extra clicks. (I.e.: you don't need to unselect the "Drafts" folder and 
> reselect it. And neither is it necessary, that the message you wish to 
> quick-save has the focus inside "Drafts". The "Drafts"-Folder focus is 
> sufficient.)

That's interesting. Very interesting. So what you're saying is that I can 
click on "Folders" and then on "Drafts" and then I can compose a new 
message, which, you're saying, will automatically be saved as I compose it?

Still - wouldn't it be easier to just have a keypress to save the current 
draft?
Re: (40tude dialog) Save but not close draft?
#262168
Author: Bernd Rose
Date: Sun, 25 Jun 2017 20:46
45 lines
3491 bytes
On Sun, 25 Jun 2017 19:56:56 +0000 (UTC), June Bug wrote:

>> But every time, the "Drafts" folder gets the
>> focus, all content from open Message Composition windows is flushed to
>> the Dialog database. 
> 
> That explains the oddity that sometimes I see things in the drafts folder 
> like "()" where I don't understand how they got there - but that wasn't the 
> original question.

Those are drafts for messages with (currently) no subject.

> That's interesting. Very interesting. So what you're saying is that I can 
> click on "Folders" and then on "Drafts" and then I can compose a new 
> message, which, you're saying, will automatically be saved as I compose it?

No. You can compose a message in any state of the main window. While you
do so, the message in question is just stored in memory. Whenever you
activate the "Drafts" folder inside the main Dialog Window, though, 
Dialog performs a status check of all saved drafts /with/ *and* /without/ 
currently open Message Composition window. To acquire the correct status
for currently open Message Composition windows, Dialog flushes its content
from memory buffer to the Dialog database on disk.

The saving to disk is *not* done in /background/, but only when the Drafts
folder gets an active focus in /foreground/.
 
> Still - wouldn't it be easier to just have a keypress to save the current 
> draft?

Once you have set the focus to the "Drafts" folder in the main Dialog 
window, it is a matter of <Alt+Tab> + <Alt+Tab>, aka switching back and
force between Main and Composition window.

When scripting, a timer event would probably the best way to go. But, IMHO,
it isn't worth the effort. Auto-save would only be useful against Dialog
crashes. Despite any auto-saved intermediate state, the Dialog Database
isn't guaranteed to give you a clean pointer to that state for currently
open Composition windows, anyway, after a crash. 

So, if you are really concerned about Dialog crashing while writing a long 
message, better compose it inside an /external/ text editor and copy&paste 
it from there, once you are done with writing.

Bernd
Re: (40tude dialog) Save but not close draft?
#262169
Author: VanguardLH
Date: Sun, 25 Jun 2017 20:56
41 lines
2982 bytes
June Bug wrote:

> Bernd Rose <b.rose.tmpbox@arcor.de> wrote:
> 
>>> How do you just save a draft in 40-Tude dialog without always having to
>>> first close it and then dig it back up from your Folders tab?
>> 
>> There is no such command. 
> 
> That is good to know but it's rare for a "composition" tool to not just 
> have a periodic "save" command.
> 
> Can we "make" a command with the dialog script and give it a keystroke?

Seems a lot of work (write the Delphi/Pascal code, test it, create a
toolbar button, assign the macro to it) just to compensate for 2 mouse
clicks (click on Drafts folder, click back in compose window).

I didn't see any candidate scripts to modify for a Save function at
http://dialog.datalist.org/scripts/script_library.html.  The author
never provided help or documentation on what functions and their
arguments and their types that are callable from scripts.

Aside (to Bernd): Do you know what happened to Marcus Moennig?  Did he
die?  It happens to all of us.

You could use Autohokey or AutoIt to define a macro to do the 2 mouse
clicks.  Be sure the macro is active only when a Dialog window has
focus.  Again, another program to learn along with macro coding and
testing to do 2 mouse clicks.

Because of web forms that crash or fail that cause me to lose all
content when they update the page or move to another one (and moving
back doesn't have all my inputs), I've gotten used to copying the input
into the clipboard.  I use a clipboard manager (Clipmate, although
ClipMagic is good, too) that lets me save multiple clips rather than
overwriting just one clip.  I can get back to the web form and paste in
all the content that I copied before hitting the submit button.  I've
done that, too, with large Usenet posts, especially when they are left
open for a long time.  Power outages happen, crashes happen,
interruptions happen, priorities require dumping the composition, etc.
Re: (40tude dialog) Save but not close draft?
#262172
Author: Bernd Rose
Date: Sun, 25 Jun 2017 21:53
27 lines
2545 bytes
On Sun, 25 Jun 2017 15:56:10 -0500, VanguardLH wrote:

> Aside (to Bernd): Do you know what happened to Marcus Moennig?  Did he
> die?  It happens to all of us.

Quite the opposite: Married, child(ren?), further education, new job(s).

He seemed to have worked on Dialog for about a year after releasing .41;
but from what I read in several groups, the switch to the new memory
manager (cf. .85) and some other things didn't really work out. The
other things in life became more important and he even stopped using
Dialog for his own Usenet postings. - After some .98 (or so) I only 
saw him once in a while posting using Firefox...

Please note: I don't know him personally. The above is all just info
I stumbled across over the years.
 
[Crash safeguarding]
> I've gotten used to copying the input into the clipboard.

That's a method I also use sometimes. But only with texts of minor
importance. Without an auto-saving clipboard manager, this wouldn't
preventing data loss from a system crash or power outage, though.
That's why I usually compose long texts with somewhat more than
average importance as external (temporary) text files.

Bernd
Re: (40tude dialog) Save but not close draft?
#262171
Author: June Bug
Date: Sun, 25 Jun 2017 22:11
22 lines
1732 bytes
Responding to what VanguardLH <V@nguard.LH> wrote:

> Seems a lot of work (write the Delphi/Pascal code, test it, create a
> toolbar button, assign the macro to it) just to compensate for 2 mouse
> clicks (click on Drafts folder, click back in compose window).
> 
> I didn't see any candidate scripts to modify for a Save function at
> http://dialog.datalist.org/scripts/script_library.html.

Thanks for checking on a message-save command for us.

It would have been a nice custom script tied to "Control+Z" for example, to
just save the current draft. Or to re-defined the existing "Save and close
draft" to just "Save draft".

Something like this, but which actually works.

 Program SaveDraft;
   Begin
    ADo('Export');
   End.
Re: (40tude dialog) Save but not close draft?
#262173
Author: tlvp
Date: Sun, 25 Jun 2017 22:25
11 lines
1413 bytes
On Sun, 25 Jun 2017 17:44:42 +0000 (UTC), June Bug wrote:

> How do you just save a draft in 40-Tude dialog without always having to
> first close it and then dig it back up from your Folders tab?
> 
> 
>          https://s11.postimg.org/f8lfbulvn/save_draft.gif

In the composition window, hit Action, and select either 
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: (40tude dialog) Save but not close draft?
#262175
Author: tlvp
Date: Sun, 25 Jun 2017 22:30
18 lines
1568 bytes
On Sun, 25 Jun 2017 17:44:42 +0000 (UTC), June Bug wrote:

> How do you just save a draft in 40-Tude dialog without always having to
> first close it and then dig it back up from your Folders tab?
> 
> 
>          https://s11.postimg.org/f8lfbulvn/save_draft.gif

In the message composition window, hit the Action menu, and select one of

: Send later
: Save and close draft

You'll find the saved message in either Outbox or Drafts, /selon le cas/.

HTH. Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: (40tude dialog) Save but not close draft?
#262176
Author: tlvp
Date: Sun, 25 Jun 2017 22:37
18 lines
1569 bytes
On Sun, 25 Jun 2017 17:44:42 +0000 (UTC), June Bug wrote:

> How do you just save a draft in 40-Tude dialog without always having to
> first close it and then dig it back up from your Folders tab?
> 
> 
>          https://s11.postimg.org/f8lfbulvn/save_draft.gif

In the message composition window, hit the Action menu, and select one of

: Send later
: Save and close draft

You'll find the saved message in either Outbox or Drafts, /selon le cas/.

HTH. Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: (40tude dialog) Save but not close draft?
#262177
Author: tlvp
Date: Sun, 25 Jun 2017 22:40
16 lines
1636 bytes
On Sun, 25 Jun 2017 18:25:19 -0400, tlvp wrote:

> On Sun, 25 Jun 2017 17:44:42 +0000 (UTC), June Bug wrote:
> 
>> How do you just save a draft in 40-Tude dialog without always having to
>> first close it and then dig it back up from your Folders tab?
>> 
>> 
>>          https://s11.postimg.org/f8lfbulvn/save_draft.gif
> 
> In the composition window, hit Action, and select either

Apologies. Several inadvertent Send-ings while experimenting with the
Action menu. /Mea culpa/. Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: (40tude dialog) Save but not close draft?
#262178
Author: VanguardLH
Date: Sun, 25 Jun 2017 22:40
16 lines
1603 bytes
tlvp wrote:

> June Bug wrote:
> 
>> How do you just save a draft in 40-Tude dialog without always having to
>> first close it and then dig it back up from your Folders tab?
>> 
>>          https://s11.postimg.org/f8lfbulvn/save_draft.gif
> 
> In the composition window, hit Action, and select either

All entries under the Action menu result in closing the composition
window.  The OP wanted to do a save without exiting his composition
session, similar to how hitting Ctrl+S does a save without close in
other apps.  Bernd's suggestion is probably as close as the OP will get
to save-without-exit.
Re: (40tude dialog) Save but not close draft?
#262179
Author: June Bug
Date: Sun, 25 Jun 2017 22:43
23 lines
1676 bytes
Responding to what tlvp <mPiOsUcB.EtLlLvEp@att.net> wrote:

>>          https://s11.postimg.org/f8lfbulvn/save_draft.gif
> 
> In the message composition window, hit the Action menu, and select one of
> 
>: Send later
>: Save and close draft
> 
> You'll find the saved message in either Outbox or Drafts, /selon le cas/.

I probably wasn't clear that I'm trying to avoid having the current message
being closed on me when all I want to do is save it. Those methods above
all close the current draft.

I tried this custom script to just save the draft without closing it but it
didn't work.

 Program SaveDraft;
   Begin
    ADo('Export');
   End.
Re: (40tude dialog) Save but not close draft?
#262180
Author: tlvp
Date: Mon, 26 Jun 2017 02:13
12 lines
1634 bytes
On Sun, 25 Jun 2017 22:43:48 +0000 (UTC), June Bug wrote:

> I'm trying to avoid having the current message
> being closed on me when all I want to do is save it. Those methods above
> all close the current draft.

Ah, sorry. I didn't get that (though VanguardLH did, and explained it too).
If all you want to do is save it, do a [Ctrl]+[A] followed by a [Ctrl]+[C],
and you'll have saved it (to your copy/paste buffer), without closing it.
'Zat help? Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: (40tude dialog) Save but not close draft?
#262181
Author: June Bug
Date: Mon, 26 Jun 2017 02:47
21 lines
1822 bytes
Responding to what tlvp <mPiOsUcB.EtLlLvEp@att.net> wrote:

> Ah, sorry. I didn't get that (though VanguardLH did, and explained it too).
> If all you want to do is save it, do a [Ctrl]+[A] followed by a [Ctrl]+[C],
> and you'll have saved it (to your copy/paste buffer), without closing it.
> 'Zat help? Cheers, -- tlvp

Thanks for that advice, since it appears that there isn't any way to get
Dialog "save and close" to just "save and keep open". 

Multiple workarounds are now in place from focusing on the Folder tab and
then the Drafts inside that Folder tab (although I usually have Outbox
focused on) to copy and paste to another file to this copy and paste to the
clipboard.

I just wish there were the simple command:
Program SaveDraft;
   Begin
    ADo('SaveContentsOfCompositionWindowToDraft');
   End.
Re: (40tude dialog) Save but not close draft?
#262182
Author: tlvp
Date: Mon, 26 Jun 2017 18:04
11 lines
1566 bytes
On Mon, 26 Jun 2017 02:47:13 +0000 (UTC), June Bug wrote:

> ... clipboard ...

Yes. Sorry I couldn't be of better service. Meanwhile, thanks for reminding
me: what I called "copy/paste buffer" (for want of a better term) is just
"clipboard" (Word 2000's Clippy keeps making me forget that's what I want).

Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: (40tude dialog) Save but not close draft?
#262183
Author: VanguardLH
Date: Mon, 26 Jun 2017 23:46
35 lines
2662 bytes
June Bug wrote:

> Responding to what tlvp <mPiOsUcB.EtLlLvEp@att.net> wrote:
> 
>> Ah, sorry. I didn't get that (though VanguardLH did, and explained it too).
>> If all you want to do is save it, do a [Ctrl]+[A] followed by a [Ctrl]+[C],
>> and you'll have saved it (to your copy/paste buffer), without closing it.
>> 'Zat help? Cheers, -- tlvp
> 
> Thanks for that advice, since it appears that there isn't any way to get
> Dialog "save and close" to just "save and keep open". 
> 
> Multiple workarounds are now in place from focusing on the Folder tab and
> then the Drafts inside that Folder tab (although I usually have Outbox
> focused on) to copy and paste to another file to this copy and paste to the
> clipboard.
> 
> I just wish there were the simple command:
> Program SaveDraft;
>    Begin
>     ADo('SaveContentsOfCompositionWindowToDraft');
>    End.

Alas, as Bernd mentioned, that doesn't help when Dialog or the OS hangs
or crashes which is [hopefully] an unexpected event.  A different editor
that does periodic automatic background saves, like every few minutes,
would mean not losing it all or all changes since the last time you did
Ctrl+A & Ctrl+C.

Since the author (Marcus Mรถnnig) abandoned Dialog back in 2005, there
won't be any further changes until his lifestyle changes and he gets
bored to revisit his software.  Although I don't have the time now, I
haven't found any source code for anyone else to pick up the flag.
Could be it's not open source and Marcus didn't publish it for public
consumption.
Re: (40tude dialog) Save but not close draft?
#262184
Author: June Bug
Date: Tue, 27 Jun 2017 02:03
15 lines
1605 bytes
Responding to what VanguardLH <V@nguard.LH> wrote:

>  A different editor
> that does periodic automatic background saves, like every few minutes,
> would mean not losing it all or all changes since the last time you did
> Ctrl+A & Ctrl+C.

I use the vim editor on Windows normally but I have never been able to
figure out how to get Dialog to use it for the composing of composition
windows.

It has been years though since I gave up so maybe it was just my setup.

Do you use an external editor for message reply compositions by default?
Re: (40tude dialog) Save but not close draft?
#262185
Author: VanguardLH
Date: Tue, 27 Jun 2017 03:21
19 lines
1863 bytes
June Bug wrote:

> Responding to what VanguardLH <V@nguard.LH> wrote:
> 
>>  A different editor
>> that does periodic automatic background saves, like every few minutes,
>> would mean not losing it all or all changes since the last time you did
>> Ctrl+A & Ctrl+C.
> 
> I use the vim editor on Windows normally but I have never been able to
> figure out how to get Dialog to use it for the composing of composition
> windows.
> 
> It has been years though since I gave up so maybe it was just my setup.
> 
> Do you use an external editor for message reply compositions by default?

Dialog doesn't have an option to designate an external editor.  I've not
seen a script to do that, either.
Re: (40tude dialog) Save but not close draft?
#262186
Author: Bernd Rose
Date: Tue, 27 Jun 2017 06:06
35 lines
3010 bytes
On Mon, 26th Jun 2017 18:46:24 -0500, VanguardLH wrote:

[40tude Dialog]
> Although I don't have the time now, I
> haven't found any source code for anyone else to pick up the flag.
> Could be it's not open source and Marcus didn't publish it for public
> consumption.

It is closed source. And several individuals tried to get Marcus to
release it. (Sometimes just to investigate some seemingly bugs, in 
other cases with clear intention to pick development up.) Marcus 
always made it clear, though, (AFAICT) that he has no intention to
release the code.

The reasoning behind that decision isn't understood. From what I can
see, the program doesn't use any undocumented libraries. Nor does the
binary code look bad in a way, that would suggest sloppy programming
style. And it shouldn't be a problem of missing source comments or
sth. like that, because Marcus had been shown via Mantis bug tracker,
that he instead did a more thorough job on such matters, than most.
The "donators star" creation code could be left out of the source
when going public, to protect it. So, this shouldn't also a problem.

Maybe, he just fears that anybody picking up, may just turn out to
be a "flash in the pan" or write code not up to his standards. Which
both might reflect on him as well. Further development might also
lure him back to the project. (Out whatever reason.) So he might just
play it safe.

It also is highly unlikely, that he ever picks up development, himself.
I can't remember, when I last saw him posting anywhere on Usenet.

All just speculation, though...

Bernd
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads