Support Windows Extenstions and EOL with Dropbox

How could Trunk be improved?

Support Windows Extenstions and EOL with Dropbox

Postby a3r » Wed Nov 17, 2010 4:33 am

Any chance we can have an option to add the ".txt" extension for Windows users? Maybe just do this when the "Windows Friendly" option is selected for exporting. Converting end of line would be good too.

The Dropbox addition is really great. Keep up the good work.

Andrew
a3r
 
Posts: 39
Joined: Fri Oct 02, 2009 3:39 am

Re: Support Windows Extenstions and EOL with Dropbox

Postby mgkennard » Sat Nov 27, 2010 3:56 pm

For 2.5.0 I will look at supporting file extensions. .mkd would be the most logical file extension as it is commonly used for Markdown files - however for Windows users .txt would also be appropriate.

Not being a Windows user myself how big a deal is the EOL thing? Unless you are using Notepad then most editors I assume will deal with the UNIX/Mac line endings...

Matthew
Apps On The Move
mgkennard
Site Admin
 
Posts: 763
Joined: Mon Jul 21, 2008 2:40 pm

Re: Support Windows Extenstions and EOL with Dropbox

Postby a3r » Mon Nov 29, 2010 5:10 am

Windows associates file extensions with applications, so I can tell Windows to associate ".mkd" with the application I want to edit the file. Having no file extension eliminates the association, so any file extension is preferable to none.

It is true that there are text editors that will view files with the Mac/UNIX EOL correctly. I just wanted to point out the common use case for Windows. A separate problem for many editors is noted in this thread http://www.appsonthemove.com/forum/viewtopic.php?f=13&t=469&p=1063 and lead to files with strange EOL sequences that confuses many editors.

Thanks,
Andrew
a3r
 
Posts: 39
Joined: Fri Oct 02, 2009 3:39 am

Re: Support Windows Extenstions and EOL with Dropbox

Postby Zettt » Tue Nov 30, 2010 1:08 pm

To be honest, I've never seen a program using mkd as extension. I could be wrong, though, and on Windows all applications are indeed using mkd. On the Mac however the extension(s) used are .md and .mdown.
It is questionable whether .mkd couldn't also been used...
Zettt
 
Posts: 4
Joined: Tue Nov 30, 2010 12:52 pm

Re: Support Windows Extenstions and EOL with Dropbox

Postby tub78 » Tue Nov 30, 2010 4:09 pm

While it might involve a little more work, couldn't the filename extension be configurable?

Thanks again for an awesome app,
- Stu
tub78
 
Posts: 27
Joined: Wed Oct 13, 2010 4:20 am

Re: Support Windows Extenstions and EOL with Dropbox

Postby Zettt » Thu Dec 02, 2010 4:25 pm

Since the update yesterday, Trunk has no problems anymore with files named foo/bar.txt. That means you can now simply put an extension at the end of a file and it won't crash Trunk.
Zettt
 
Posts: 4
Joined: Tue Nov 30, 2010 12:52 pm

Re: Support Windows Extenstions and EOL with Dropbox

Postby BrianEnigma » Fri Dec 03, 2010 12:52 am

I think I'm missing something in my understanding of how Trunk Notes deals with file extensions. Initially, I migrated about 40 of my notes out of another system and into Trunk. I can see them on my Mac's dropbox folder and can awkwardly open them in a text editor. For double-click opening to work -- and more importantly, for Spotlight and LaunchBar to index the files -- I'd prefer to have Trunk append a file extension when uploading. I found the file extension toggle in Trunk's preferences, but it doesn't seem to do anything when syncing or creating notes. I then renamed all of my Dropbox files to have a .txt extension and re-synced, but now I have double notes in dropbox, each with and without an extension. What am I doing wrong?
BrianEnigma
 
Posts: 1
Joined: Fri Dec 03, 2010 12:45 am

Re: Support Windows Extenstions and EOL with Dropbox

Postby mgkennard » Sat Dec 04, 2010 11:43 am

Hello,

The file extension setting relates to the Trunk Notes backups rather than the Dropbox syncing. Of course this is really a bug and it should apply to both features. I will fix this in a future version of Trunk Notes.

Matthew
Apps On The Move
mgkennard
Site Admin
 
Posts: 763
Joined: Mon Jul 21, 2008 2:40 pm


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest

cron