[tw] Re: Is there a way to use datetime module to add tomorrows date in a tag?

2014-10-05 Thread Stephan Hradek
P.S. planned enhancements "Last Christmas" :D and "Easter calculation".

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is there a way to use datetime module to add tomorrows date in a tag?

2014-10-05 Thread Stephan Hradek
Uploaded again(?) and added capabilities to calculate stuff like "Christmas 
last year"
<> 


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Automatic password lock after timeout

2014-10-05 Thread Matthias Gruenewald
Hello community,

I'm using TW classic for years now. It is the best productivity tool! Now I 
would like to switch to TW5. I really like the new option to encrypt all 
tiddlers. But sometimes I leave the wiki open when going away from my PC at 
work. It would be great if there would be an option to automatically lock 
the wiki after a period of no-activity.

I tried to implement a plugin by using the javascript from this page: 
http://stackoverflow.com/questions/667555/detecting-idle-time-in-javascript-elegantly.
 
But it seems that some document references are not accessible from a 
tiddler's javascript code (e.g., $document). Any idea how to solve this?

Bye

Matthias

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Change IP server address

2014-10-05 Thread iani

Hello, 

this is what I use to boot my tiddlywikis on a server:

Following command is run on a remote login shell with ssh:

tiddlywiki --server 8086 "$:/core/save/all" "text/plain" "text/html" "iani" 
"" "larigot.avarts.ionio.gr" &
Then I can see my wiki at: 

http://larigot.avarts.ionio.gr:8086

Note: When I issue the command, the current path of the shell must be the 
top level of the folder containing the wiki that I want to serve.

You can change the port number or the name of the server to suit your needs.

Iannis Zannos 


On Monday, September 29, 2014 9:15:22 PM UTC+3, Jackson Pires wrote:
>
> Hi!
>
> How I can change the ip address and port from server listener?
> It's possible to let the server listen any incoming request on a specific 
> port?
>
> These my questions are because after I run the server (like below), and 
> I'm trying to request via browser from other computer on the same lan, the 
> server never response the resquest.
>
> *~$ tiddlywiki sotipafwiki --server*
> *Serving on 127.0.0.1:8080 *
> *(press ctrl-C to exit)*
>
> In other test I run the script:
>
> *var http = require('http');*
> *http.createServer(function (req, res) {*
> *  res.writeHead(200, {'Content-Type': 'text/plain'});*
> *  res.end('Hello World\n');*
> *}).listen(1337, '127.0.0.1');*
> *console.log('Server running at http://127.0.0.1:1337/' 
> );*
>
> Then I get the same error, but when I change the ip address for nothing, 
> the resquests are accepted.
>
>
> *var http = require('http');*
> *http.createServer(function (req, res) {*
> *  res.writeHead(200, {'Content-Type': 'text/plain'});*
> *  res.end('Hello World\n');*
> *}).listen(1337, '');*
> *console.log('Server running at http://127.0.0.1:1337/' 
> );*
>
>
> Sorry my noob questions, and sorry my poor english.
>
>
> -- 
> "Não sejas sábio aos seus próprios olhos..."
> ==
>
>
> Jackson Pires de O. S. Júnior 
> ~~~
> Paulo Afonso - BA
>
> About me: http://about.me/jacksonpires
> Mania de Concurseiro: http://maniadeconcurseiro.com.br
> Aulas de Ruby on Rails para iniciantes: 
> http://www.youtube.com/user/jacksonpiresjr
>
> 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is there a way to use datetime module to add tomorrows date in a tag?

2014-10-05 Thread Stephan Hradek
"Is not working" is not a proper error description.

Anyhow: I just realized: My change did not save :( It's not there. Don't 
know what happend.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] How to use JS functionality after importing JS file in TW

2014-10-05 Thread Andreas Hahn

Hi Shash,

I don't think there is a mechanism that lets you execute JavaScript 
tiddlers. The only way is through the plugin/module system [1].
However, I was thinking of a plugin that lets you execute JavaScript 
Tiddlers on messages, which basically would let you implement GUI's 
where button clicks or other actions trigger a JS Tiddler to execute. So 
that would be another option.


/Andreas


[1] http://tiddlywiki.com/#Modules:Modules%20ModuleType

Am 06.10.2014 05:34, schrieb Shash:

Hi All,

I want to understand how to use the javascript files in TW. I have 
imported JS file and named the content as Javascript Code 
(application\javascript) but I dont know how to use the functionality 
the JS file gives. Any links to learn and understand this would be of 
great help.


Thanks!

Regards
Shash
--
You received this message because you are subscribed to the Google 
Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to tiddlywiki+unsubscr...@googlegroups.com 
.
To post to this group, send email to tiddlywiki@googlegroups.com 
.

Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] How to use JS functionality after importing JS file in TW

2014-10-05 Thread Shash
Hi All,

I want to understand how to use the javascript files in TW. I have imported 
JS file and named the content as Javascript Code (application\javascript) 
but I dont know how to use the functionality the JS file gives. Any links 
to learn and understand this would be of great help.

Thanks!

Regards
Shash 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is there a way to use datetime module to add tomorrows date in a tag?

2014-10-05 Thread Shash
Hello Stephan,


On Monday, October 6, 2014 3:45:02 AM UTC+5:30, Stephan Hradek wrote:
>
>
>
> Am Sonntag, 5. Oktober 2014 22:58:28 UTC+2 schrieb Shash:
>>
>> If I am OK with the size of moment.js , Can you please guide me on how to 
>> get it to work in TW. 
>>
> No. As I neither know that module nor have any need to learn it.
>  
>
>> I looked at the developer documentation but it led me blinking and 
>> scratching head. :(
>>
> Time for you to learn more, I guess ;)
>  
>
>> A step by step guide is highly appreciable as I would also like to 
>> incorporate a few more js modules into my personal wiki.
>>
> Maybe someone else can provide that guidance. I can't.
>
> Ah - Sorry! You replied to Mario.
>
> Anyhow... Go back to tiddlystuff and try out the enhanced dateTime macro 
> allowing you to write:
>
> <>
>

I imported both the $:/macros/skeeve/dateTime.js and dateTimeMacro again 
but this is not working. Is there something else i need to import  or is 
there something I am missing. Thanks!
 

>
> which will give you tomorrow's date.
>
> Or
>
> <>
>
> which will give you today's date last year.
>

 Thanks!
Shash

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] http://tiddlywiki.com/ shows a blank screen in IE9 with TW 5.0.6-beta?

2014-10-05 Thread Saithota
Hi All,

Thanks for helping me. I tried using classic.tiddlywiki and it worked well . 
Please I also need one more help. I wanted to know that, for example if i use 
the html file and save it on my machine and want to forward it to my colleagues 
with readonly access and also I do not want any one to download, though they 
download the file they should not edit it. Is this possible to do in a simpler 
way? I was thinking to put a password? I am not sure how to do this, please 
could you suggest me. I really need your help.


Thanks,
Sai

> On Jun 30, 2014, at 10:19 AM, Jeremy Ruston  wrote:
> 
> Hi Sai
> 
> I'm afraid that TiddlyWiki version 5 won't work in IE9; I believe it works in 
> IE10, and definitely works in IE11.
> 
> If you're able to, the best recommendation is to use Firefox with the 
> TiddlyFox extension,
> 
> Best wishes
> 
> Jeremy
> 
> 
>> On Mon, Jun 30, 2014 at 2:58 PM, Sai Thota  wrote:
>> Hi ,
>>  
>> Please can someone help me out. Basically, Im from science background. I'm 
>> not sure how all these works but my manager wanted me to create a 
>> tiddlywiki. So I started researching how to start and it's very interesting. 
>> I created some tiddlers but when i tried to save by clicking save changes 
>> but it is showing RIGHT CLICK HERE to download/save main TiddlyWiki file. 
>> I'm using IE 9.0.8112.16421.
>>  
>> Thank You!
>>  
>> 
>>> On Friday, January 10, 2014 11:07:39 AM UTC-5, Jeremy Ruston wrote:
>>> Hi Jens
>>> 
 SCRIPT438: Objektet understøtter ikke egenskaben eller metoden 
 'defineProperty'  (My translation: The object doesn't support the 
 attribute or method 'defineProperty'
 tiddlywiki.com, linje 6988 tegn 2
 
 Does this help?
>>> 
>>> Yes, as expected it is falling over a JavaScript feature that is not 
>>> present in IE9. That particular feature can be faked in JavaScript:
>>> 
>>> https://github.com/inexorabletash/polyfill/blob/master/es5.js#L75
>>> 
>>> So, it may be possible to create a plugin that plugs some of the holes in 
>>> IE9. It's not something that I'm keen to give much attention to right now, 
>>> though, as there's so much to do to get where I want with contemporary 
>>> browsers. It's a good area for a contributor to work, though; it doesn't 
>>> require extensive knowledge of TW5's internals.
>>> 
>>> Best wishes
>>> 
>>> Jeremy
>>> 
>>>  
 
 
 
> On Thursday, January 9, 2014 11:31:01 PM UTC+1, Jeremy Ruston wrote:
> Hi Jens
> 
> I'm not hopeful that TW5 will ever run properly on IE9; even though it's 
> better than previous versions, it's still pretty eccentric by HTML5 
> standards. But static HTML generated by HTML5 should work on anything, 
> even back to Netscape 4.
> 
> Are you able to open developer tools with F12 and look for any JavaScript 
> errors?
> 
> Many thanks,
> 
> Jeremy.
> 
> 
> 
> 
> 
>> On Thu, Jan 9, 2014 at 2:14 PM, Jens Ulrik Jacobsen  
>> wrote:
>> To be more precise it's IE9.0.8812.16421.
>> 
>> When I mark all, copy and paste the "content" into a text editor, I end 
>> up with 270 newline-characters.
>> 
>> This happens at work and at home.
>> 
>> No problems with Firefox.
>> 
>> I'm almost certain, that TW 5.0.5-beta worked with IE9.
>> 
>> -- 
>> You received this message because you are subscribed to the Google 
>> Groups "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send 
>> an email to tiddlywiki+...@googlegroups.com.
>> To post to this group, send email to tiddl...@googlegroups.com.
>> 
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 
> 
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.com
>>> 
>>> 
>>> 
>>> -- 
>>> Jeremy Ruston
>>> mailto:jeremy...@gmail.com
> 
> 
> 
> -- 
> Jeremy Ruston
> mailto:jeremy.rus...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] My custom TW5 theme

2014-10-05 Thread James Anderson
This might be of interest to some people working with tiddlywiki:

I have been spending some of my free time customizing TW5, including a 
theme for my webpage called "phasersonkill"

You can see the current result here http://welford.github.io/

It was originally based on seamless, and keeps a search bar at the top 
which can be used to bring down a scrollable area of the results. This 
works well on mobile where there can be limited horizontal screen space. (/ 
or alt+q can be used to jump to the search input)

I also made the results transclude any links to my twexe plugin buttons so 
that specific commands can be run straight from the search results. This 
last feature is on windows hta version only, but my idea was to have one 
TW5 for making notes at home use hta and add a twexe command to export a 
subset of the tw5 as my homepage in html.

Any feedback welcome.

Regards,
James




-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Having trouble figuring uto tuse Markdown

2014-10-05 Thread Jeremy Ruston
Hi Nathan




It sounds like you are performing the correct steps.








restarted the tiddlywiki service (i tried refresh bhut it didnt bring up 
markdown. Now with the new service running, I still don't have markdown.




​Does the Markdown plugin show up in control panel?




Best wishes




Jeremy












Amy i doing something wrong here?







-- 

You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.

To post to this group, send email to tiddlywiki@googlegroups.com.

Visit this group at http://groups.google.com/group/tiddlywiki.

For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] codemirror TW5 mode support?

2014-10-05 Thread Ed Dixon
I do appreciate efforts to make this available. I may not have the
understanding of TW architecture to make these types of modifications yet,
 but I do clearly understand my need and desired use for this plugin. It is
my hope to offer a very flexible student note book that can be used with
all grade levels and subjects, providing as many of the tools needed as
possible and all self contained for the student in the book itself. Having
taught for many decades and in many different learning environments
(K-college), I have discovered that a tool like this will only be utilized
if it meets all the basic student / teacher needs and depending on subject
much of the required software may not be as available to the student as we
would like both in and out of the classroom making even a local server with
Learning Management System and TW Iframes ineffective. By providing
portable equivalents to the most common tools needed to make notes for as
many use cases as possible and integrating those with the existing tagging
and note taking tools we can give something of real utility to the
students. Due to TW5's common format, single file design, and with the
awesome work of several here (TW for Scholars and NoteStorm) we can provide
much of this needed functionality already for the organization and citation
of the student notes and efforts. What I would like to see is added tools
to allow the student to add these notes based on the discipline under study
and where native language text may not be the only language used. For
example for math we have Ka-Lite which is awesome and provides exactly what
I am talking about for several disciplines, for computer classes we could
have CodeMirror with these issues addressed but in order to do so we need
to support features that may not be common to the basic TW main editor
purpose and this type of "config tiddler" to support plugins within the
plugin in a modular plugin design (if I am understanding that goal
correctly) to add themes and programming languages, and features such as
folding, I agree would be preferred.

On the wish list: I have seen some work on Music Notation (a subject near
and dear to me) but no standout ready as of yet that I am aware of. The
addition of d3.org and current discussions with working with SVG elements
in TW5 brings hope that a mind map based on tagging or fields is in the not
too distant future. Providing multi-language support in the editor as a
drop-down choice would also be a useful tool where the student could choose
a language other than native to support foreign language courses, and
support for a greater number of external file types where the student could
save a copy of linked files to a TWStore folder that could accompany the
TW5 file on a thumb-drive providing temporary storage of specific course
resources (like a weekly video assignment, or book in pdf format, etc)
would in my opinion pretty much wrap this up and we are already so close. A
lot of this functionality is already available and I am sure others have
developed work arounds to include useful items I haven't even thought of
here. But I think by now you get the idea.

Some concerns I have specific to this discussion (and please keep in mind I
am primarily a computer use trainer) is the use of modes, themes, and
language auto completion features within the CM editor. Having CM as the
main editor is not as important (in my opinion) as having these features
supported (perhaps as a second editor?) The reason Modes are important to
me is that I have taught classes in using VIM and EMACS and having a VIM
native language editor in the browser would have been a dream come true for
me in teaching those classes. As it was, the students had to reboot the
windows machines (without gvim installation rights) using live cds then
drop to shell just to get to a vim editor and was the greatest hinderance
in effectively showing the best features vim provides (same true of EMACS).
Having taught computer classes for a very long time I have discovered that
the student gains much more confidence and will use the program much more
where personalization or customization features (such as the CM themes) are
available and take much pride in setting up "their" system which in this
case is the editor itself and will result in the student using it much
more. The other features like code folding, autocompletion, etc make the
experience much more like working in a full IDE and could be just enough to
provide needed experience with those concepts so that a full IDE
environment might not be necessary depending on course. So to me it is not
about having those features because they are there but because of the
utility provided to both teacher and student in having them but there is a
real need to control the setup of the editor for each use case. Not to
mention the functionality all of this provides to a real designer /
developer using these tools both in TiddlyWiki and for other projects.

Of greater concern to me

[tw] Re: Is there a way to use datetime module to add tomorrows date in a tag?

2014-10-05 Thread Stephan Hradek


Am Sonntag, 5. Oktober 2014 22:58:28 UTC+2 schrieb Shash:
>
> If I am OK with the size of moment.js , Can you please guide me on how to 
> get it to work in TW. 
>
No. As I neither know that module nor have any need to learn it.
 

> I looked at the developer documentation but it led me blinking and 
> scratching head. :(
>
Time for you to learn more, I guess ;)
 

> A step by step guide is highly appreciable as I would also like to 
> incorporate a few more js modules into my personal wiki.
>
Maybe someone else can provide that guidance. I can't.

Ah - Sorry! You replied to Mario.

Anyhow... Go back to tiddlystuff and try out the enhanced dateTime macro 
allowing you to write:

<>

which will give you tomorrow's date.

Or

<>

which will give you today's date last year.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is there a way to use datetime module to add tomorrows date in a tag?

2014-10-05 Thread Shash
If I am OK with the size of moment.js , Can you please guide me on how to 
get it to work in TW. 

I looked at the developer documentation but it led me blinking and 
scratching head. :(

A step by step guide is highly appreciable as I would also like to 
incorporate a few more js modules into my personal wiki.

Thanks!
Shash

On Monday, October 6, 2014 2:01:32 AM UTC+5:30, Stephan Hradek wrote:
>
>
>
> Am Sonntag, 5. Oktober 2014 22:05:26 UTC+2 schrieb PMario:
>>
>> Adding ~100kbyte or 32k(minified) just to get the date right. .. imo a 
>> bit of an overkill. 
>> -m
>>
> Thanks for looking that up, Mario. I 100% agree. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Having trouble figuring uto tuse Markdown

2014-10-05 Thread Nathan Gleaves
Looks like it would just work, the markdown plugin is included in the base 
install from npm, i created a new tiddlywiki with 

tiddlywiki mynewwiki --init server

The start the tiddlywiki node process with

tiddlywiki mynewwiki --server

This works fine, it comes up in the browser. I can create and edit 
tiddlers, but i cant select from the content type drop down markdown. The 
markdown shadow plugins are not present in more>shadows

the info file didn't include the markdown plugin so i added it like so

{
"plugins": [
"tiddlywiki/tiddlyweb",
"tiddlywiki/filesystem",
"tiddlywiki/codemirror",
"tiddlywiki/highlight",
"tiddlywiki/markdown"
],
"themes": [
"tiddlywiki/vanilla",
"tiddlywiki/snowwhite"
]
}

restarted the tiddlywiki service (i tried refresh bhut it didnt bring up 
markdown. Now with the new service running, I still don't have markdown.


Amy i doing something wrong here?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to show the current filename in a tiddler?

2014-10-05 Thread PMario
On Sunday, October 5, 2014 10:33:36 PM UTC+2, Stephan Hradek wrote:
>
> Am Sonntag, 5. Oktober 2014 22:30:36 UTC+2 schrieb PMario:
>>
>> Sorry, but I don't understand why you need the name as a macro in a 
>> tiddler. It's part of the URL bar of the browser. 
>>
>> Sometimes it's ueseful. For example: I had instructions where the user 
> downloaded the TW file as a template. Before working on it, he should give 
> it a new name, so there was something in it, comparing the current name 
> with the default name and showing instructions when they matched. 
>

ok. that makes sense. I'll create a little js macro.
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to show the current filename in a tiddler?

2014-10-05 Thread Stephan Hradek


Am Sonntag, 5. Oktober 2014 22:30:36 UTC+2 schrieb PMario:
>
> Sorry, but I don't understand why you need the name as a macro in a 
> tiddler. It's part of the URL bar of the browser. 
>
> Sometimes it's ueseful. For example: I had instructions where the user 
downloaded the TW file as a template. Before working on it, he should give 
it a new name, so there was something in it, comparing the current name 
with the default name and showing instructions when they matched. 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is there a way to use datetime module to add tomorrows date in a tag?

2014-10-05 Thread Stephan Hradek


Am Sonntag, 5. Oktober 2014 22:05:26 UTC+2 schrieb PMario:
>
> Adding ~100kbyte or 32k(minified) just to get the date right. .. imo a bit 
> of an overkill. 
> -m
>
Thanks for looking that up, Mario. I 100% agree. 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to show the current filename in a tiddler?

2014-10-05 Thread PMario
On Sunday, October 5, 2014 7:10:07 PM UTC+2, Uwe wrote:
>
> to get back the filename "index.html" (without the quotation marks) would 
> be all I need.
>

Sorry, but I don't understand why you need the name as a macro in a 
tiddler. It's part of the URL bar of the browser. 
So it's always visible, or are you using TiddlyDesktop?
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is there a way to use datetime module to add tomorrows date in a tag?

2014-10-05 Thread PMario
On Sunday, October 5, 2014 8:38:20 PM UTC+2, Shash wrote:
>
> If possible can you please get moment.js working for TW. I just googled 
> for some info and it seems that it is a very good one with immense scope. I 
> am not a JS guy and hence requesting for that to get it work in TW.
>

Adding ~100kbyte or 32k(minified) just to get the date right. .. imo a bit 
of an overkill. 
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] codemirror TW5 mode support?

2014-10-05 Thread TheDiveO
While I agree on a modular codemirror distribution based on TW5's 
incredibly useful plugin mechanism, there is one thing missing at the 
moment: the dreaded config tiddler. I would like to suggest that we modify 
the existing codemirror wrapper to iterate over all module library tiddlers 
that are also tagged as, say $:/tags/Codemirrorlib. This would allow end 
users to simply add codemirror plugins to their TW5s without having to wire 
up all the pieces through the codemirror config tiddler.

What do you think?

As for your naming suggestion ... I would like to see codemirror or at 
least cm in the name ... otherwise we may see name clashes with other 
tiddlywiki plugins?

Am Sonntag, 5. Oktober 2014 01:06:09 UTC+2 schrieb PMario:
>
> On Saturday, October 4, 2014 7:02:31 PM UTC+2, Danielo Rodríguez wrote:
>>
>>
>> The codemirror plugin was initially created by Jeremy, as a proof of 
>>> concept. Then someone hardcoded several cm keyboard bindings (cm plugins) 
>>> into the TW cm-plugin, to make it more useful: emacs, vim, sublime. The 
>>> result is pure bloat. ... CM keyboard bindings are plugins for a reason. 
>>> ... nobody needs them all. 
>>
>>
>> I think you are talking about me here. 
>>
>
> no. I just did a summary out of my memory. 
>
>  
>
>> Maybe we can start discussing how Codemirror plugin should work.
>>
>>-  We need a control panel. In that control panel we want to 
>>- Define which kind of tiddlers codemirror should edit.
>>
>> There is a edit type mapping already: 
> https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/codemirror/EditorTypeMappings.multids
>
>
>>- Define which theme do we want
>>
>> No theme. The cm default settings are fine. Other themes are plugins. 
> Same with additional language modes.
>
>
>>- Define what keybinding do we want
>>
>> Default cm keyboard handling is fine for most users. Every other key 
> bindings are plugins. 
>
>
>>- We need a way the control panel can detect installed plugins 
>>
>> imo the $:/ControlPanel already detects plugins. TW defines a structure, 
> how plugins are packaged. They can have there own readme + docs
> Active plugins can add there own tabs to the ControlPanel. So the user can 
> adjust settings. All mechanisms are part of the core.
>
>
>>- How should be a plugin structure be? Same naming as the original 
>>codemirro?
>>
>> If it's an addon or keymap or mode in cm, it is a plugin for TW. 
> I think we should name the plugins exactly in the same way as cm does. So 
> there should be less confusion. 
>
> -mario
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] TW5 Can't save when path contains greek letters

2014-10-05 Thread aravias
I can't save the wiki when the destination path contains a folder with 
greek letters in windows 7.

I end up with js error

[Exception... "Component returned failure code: 0x80520015 
(NS_ERROR_FILE_ACCESS_DENIED) [nsIFileOutputStream.init]"  nsresult: 
"0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)"  location: "JS frame :: 
chrome://tiddlyfox/content/overlay.js :: TiddlyFox.saveFile :: line 98"  
data: no]

any solution to this?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is there a way to use datetime module to add tomorrows date in a tag?

2014-10-05 Thread Shash
Hi Stephan,

If possible can you please get moment.js working for TW. I just googled for 
some info and it seems that it is a very good one with immense scope. I am 
not a JS guy and hence requesting for that to get it work in TW.

Thanks!
Regards
Shash 

On Sunday, October 5, 2014 11:46:33 PM UTC+5:30, Stephan Hradek wrote:
>
> Not yet
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is there a way to use datetime module to add tomorrows date in a tag?

2014-10-05 Thread Stephan Hradek
Not yet

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Is there a way to use datetime module to add tomorrows date in a tag?

2014-10-05 Thread Shash
Hi All,

I am using datetime module by Stephan like below

<$set name="tag" value=<>>

My question is, is there a way to make it set a date of tomorrow instead of 
today?

Regards
Shash

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TWC calling showPopup from inside Javascript

2014-10-05 Thread skye riquelme
Bump

Em sexta-feira, 3 de outubro de 2014 19h50min21s UTC-3, skye riquelme 
escreveu:
>
> Hi Eric and Thanks
>
> my code now looks like this...
>
> var uploadDoc="";
> if(itemDetails[1]=="uploadDoc")
> {
> uploadDoc=' label="uploadable">localStorage.docTipo="temaDocumento";localStorage.fonte="'+itemDetails[0]+'";place.setAttribute("tid","Upload_PDF");place.setAttribute("popupClass","sticky");place.setAttribute("width","400px");config.macros.showPopup.click.apply(place,event);<  
> Logos/smallPDF.png "" notext>'+'>';
>
> }
> display+='|'+show+'[[fonte|'+itemDetails[10]+']]{{floatright{'+uploadDoc+'