[tw] Mat's @ttention plugin

289 views
Skip to first unread message

Coda Coder

unread,
Apr 20, 2017, 8:46:18 AM4/20/17
to tiddl...@googlegroups.com
http://attention.tiddlyspot.com/

Just stumbled on this excellent little plugin yesterday. Thanks Mat!

I had to change it a bit - I didn't want it to work via the
ViewTemplate, so I hacked off the tag, removed the last div and call the
roam macro where I need it.

I'd also like to hide the source-push-@ call somehow...


Mat

unread,
Apr 20, 2017, 7:31:54 PM4/20/17
to TiddlyWiki
Glad you like it :-)


I had to change it a bit - I didn't want it to work via the
ViewTemplate, so I hacked off the tag, removed the last div and call the
roam macro where I need it.

Yeah, if I recall, the first version (cherrypicker) had a separate macro. The limitation is of course that you can no longer do your "pushing" off the cuff as you write and have it appear automatically wherever.
 

I'd also like to hide the source-push-@ call somehow...

Yes, this is definitely part of a much extended version I have in mind where one should be able to assign arbitrary start and end markers that control what happens to the encompassed segment. The markers would be visible/hidden depending on which marker it is. For example, we should be able to easily highlight text segments without the markers being visible in view mode. I guess this can be called "arbitrary parser rules".

What I have in mind would be much smoother if the user could mark a text and then select markers, perhaps via some text-completion tool. Just the other day, I found Simplete by none other than Grand TWizard FND! It is not made for TW though. And there is Alain Dutechs edit-comptext which is great already with the @ttention plugin... but it is, as far as I know, not maintained and I've found some glitches.

Anyway, if you make something useful of @ttention, please share.

<:-)

David Gifford

unread,
Apr 21, 2017, 8:08:16 AM4/21/17
to TiddlyWiki
Nice, somehow that one got past me when Mat put it out. I might play around with it so it gives me blue bullets. I, too, would find it more useful if in view mode the originating tiddler didn't show the @ symbol, just the text.

Dave

Alex Hough

unread,
Apr 21, 2017, 8:21:31 AM4/21/17
to TiddlyWiki
I like it too

if there was a way to drag the chucks appearing in the tiddler onto a list or create NewHereWithAttentionAlerts


It's inspired my subconcious:

TiddlyWiki is all about bringing little bits of information together as quick enough so that your train of thought it not interupted by the process

Alex

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/58bf8336-7f86-422d-8b69-546ae9f23e20%40googlegroups.com.

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

David Gifford

unread,
Apr 21, 2017, 8:59:24 AM4/21/17
to TiddlyWiki
Initial thoughts: a modified version of these would be great for taking notes on electronic books, then have the notes and quotes show up in topic related tiddlers.

1. Create tiddler for an electronic book you are reading.
2. Paste or type notes and quotes from the book into the tiddler. Add page #
3. Wrap each note or quote with the topic @[[Topic name]] Note or quote/@. The notes and quotes appear in tiddlers for those topics. The bullet that looks like a radio button would take you to the source of the quote.

If someone were to package this just right (see below for initial ideas), this could be a great TiddlyWiki edition: a way to gather info on topics just by taking notes on books without having to transfer the information from one tiddler to the other. Just go through the book tiddler and mark the quotes by topic, and create the topic tiddlers from the links. This is exciting.

Ideas for such an edition:

1. Instead of initial bullets, there could be a full link to the originating tiddler at the end of the text, separated by a long dash. So you what appears is: Quote (page 16) --- Author, Title.  (the part after the dash being a link to [[Author, Title]])
2. Add spacing between the list items so the notes are separated by a little white space.
3. Ditching the color background, since for this edition the function would be creating a list of notes, not highlighting additions from other tiddlers in a tiddler with its own text.

Thanks for getting my creative juices flowing this morning!



On Thursday, April 20, 2017 at 7:46:18 AM UTC-5, Coda Coder wrote:

Alex Hough

unread,
Apr 21, 2017, 9:12:47 AM4/21/17
to TiddlyWiki
edition: a way to gather info on topics just by taking notes on books without having to transfer the information from one tiddler to the other. Just go through the book tiddler and mark the quotes by topic, and create the topic tiddlers from the links.

Or... if Steve SUNY is reading.. coding in Grounded Theory...

I agree, its an exciting development

Alex

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
Message has been deleted

David Gifford

unread,
Apr 21, 2017, 9:38:41 AM4/21/17
to TiddlyWiki
Wow, that was easy. The attached file is an example to illustrate what I was describing about using @ttention to create topic notes just by adding notes to a book tiddler.

Dave
attentionexperiment.html

codacoder...@outlook.com

unread,
Apr 21, 2017, 12:11:01 PM4/21/17
to TiddlyWiki


On Thursday, April 20, 2017 at 6:31:54 PM UTC-5, Mat wrote:
Glad you like it :-)

I had to change it a bit - I didn't want it to work via the
ViewTemplate, so I hacked off the tag, removed the last div and call the
roam macro where I need it.

Yeah, if I recall, the first version (cherrypicker) had a separate macro. The limitation is of course that you can no longer do your "pushing" off the cuff as you write and have it appear automatically wherever.
 

Depends what you mean... I have a set of tiddlers that don't use the regular ViewTemplate and it's these tiddlers which should receive the pushes - the normal/standard tiddlers don't require them. Hence...

I removed the ViewTemplate tag
removed the "cherry-area" div
tagged the plugin as macro and renamed it
(Aside: I also renamed the macros to have "attention-" prepended)

Now I can push from anywhere into those "special" tiddlers that need it - works great.  And of course, if I decide later I actually *do* want them everywhere, I can re-add the ViewTemplate tag.

 

I'd also like to hide the source-push-@ call somehow...

Yes, this is definitely part of a much extended version I have in mind where one should be able to assign arbitrary start and end markers that control what happens to the encompassed segment. The markers would be visible/hidden depending on which marker it is. For example, we should be able to easily highlight text segments without the markers being visible in view mode. I guess this can be called "arbitrary parser rules".

What I have in mind would be much smoother if the user could mark a text and then select markers, perhaps via some text-completion tool. Just the other day, I found Simplete by none other than Grand TWizard FND! It is not made for TW though. And there is Alain Dutechs edit-comptext which is great already with the @ttention plugin... but it is, as far as I know, not maintained and I've found some glitches.


Wow, edit-comptext is a pretty sweet tool - (glitches: doesn't work in Opera/Win7 - no biggy, I use Firefox for TW).

But back to @ttention...

I'm developing an authoring tool for TW5 (I guess it would be better as an "edition" but I'm not ready yet).  The tools are designed to aid an author writing a book. Book chapters have titles like "1-010" (chapter 1, section 010) "3-060" (chapter 3, section 060). The name of a chapter-section -- "Jack meets Jill" -- is stored in a subtitle field. (These are the tiddlers that are typically *not* viewed via the standard ViewTemplate).

In addition, I use specialized tiddlers for things like "plot", "character", "keystages", "location", "problems" etc. So I have "1-010-plot", "1-010-location", "1-010-problems" etc.

I already have the ability to add annotations/notes etc "inline" in chapter tiddlers -- all of which can be controlled (made visible/invisible) globally and individually. What I've been missing is the ability to *push*... that's why I jumped on @ttention. For example, if I'm working on plot and I'm editing "1-020-plot" and I decide "Jack" has red hair instead of dark brown, I can push the note to 1-010, indeed, *any/all* previous chapters-sections. This is *extremely* useful and so *direct* it saves a bunch of searching/opening/editing/saving/closing. So, yeah, thanks again!

I don't know if my use-case makes sense to you... or if it touches on any of the future ideas you mentioned above (confession: I didn't quite follow where you were going).

Regards...


David Gifford

unread,
Apr 21, 2017, 1:10:52 PM4/21/17
to TiddlyWiki
Hi guys

Just a follow up...here is a link to a practice run I did with the attention viewtemplate (tweaked), with some notes I took yesterday.

http://giffmex.org/experiments/attentionexperiment.html

To see a tour, I recommend opening the link to Ezra-Nehemiah, then trying the list filter, then opening a topic, then clicking on the gray bibliographic text under one of the notes.

Dave


On Thursday, April 20, 2017 at 7:46:18 AM UTC-5, Coda Coder wrote:

Mark S.

unread,
Apr 21, 2017, 6:49:03 PM4/21/17
to TiddlyWiki
The complication I see is that there is no delimiter to say when the title is complete. So if you have "@Yet Another Tiddler TWO" portions of it will show up in "Yet Another Tiddler" and "Yet Another Tiddler TWO". Maybe this situation is too contrived? Then again, it might be useful if you wanted summarize all the notes you pushed to various Journals in April into one april tiddler like "Journal 2017-04-"

Mark

codacoder...@outlook.com

unread,
Apr 21, 2017, 11:24:03 PM4/21/17
to TiddlyWiki


On Friday, April 21, 2017 at 5:49:03 PM UTC-5, Mark S. wrote:
The complication I see is that there is no delimiter to say when the title is complete.

The @ symbol begins the text. The /@ pair of symbols ENDS the text

@title like this./@

If the title contains spaces...

@[[title with spaces]] works like this\@


Mat

unread,
Apr 25, 2017, 4:18:18 PM4/25/17
to TiddlyWiki
@Mark and @codacoder


Mark S. wrote:
The complication I see is that there is no delimiter to say when the title is complete.

The @ symbol begins the text. The /@ pair of symbols ENDS the text

Coda is right but I should take the opportunity to mention that I actually wanted the same start and end marker initially. Or, to clarify, I figure the startmarker could be:
 " @" and end marker "@ " i.e with space characters to left or right because an attention message is probably @written like this@ ...buuuut it would also have to take such things as line or paragraph starts/endings and also things @like this@, i.e with a comma after the end. I wasn't clever enough to work out a regexp for all the cases so I gave up on it for now. If there are any regex-perts among us, please raise your hand ;-)

<:-)
Reply all
Reply to author
Forward
0 new messages