emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Burtzlaff <andy13@gmx.net>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: getting Firefox tabs into org on a mac
Date: Sun, 25 Oct 2009 00:42:21 +0200	[thread overview]
Message-ID: <20091025004221.69d463c7.andy13@gmx.net> (raw)
In-Reply-To: <20524da70910231131w633472a6ve0e1337b09216b07@mail.gmail.com>

Hi Samuel,

thanks for taking the time to report your findings and ideas.

On Fri, 23 Oct 2009 11:31:32 -0700
Samuel Wales <samologist@gmail.com> wrote:

> Hi Andreas,
> 
> On Tue, Oct 20, 2009 at 01:12, Andreas Burtzlaff <andy13@gmx.net> wrote:
> > I will add an entry to the tab context menu tonight to do this in one
> > step.
> 
> Thanks, kind of you.
> 
> > Concerning syncing I'm not sure I get your plan entirely. Is the main
> > purpose of it to synchronize the tabs between different browsers?
> 
> Yes, that would be nice.  Also, you don't want to save a
> duplicate of the same tab.

So this is a special case of having a list/tree of bookmarks
sychronized between Org, Firefox and other browsers.
It needs communication from Emacs to the browser plugin, which I had
working once. I'll try to revive that code when I get time.

> It might be useful to have more than one remember template:
> one for saving all tabs and one for saving one tab.

In the updated documentation take a look at the option
"List of characters specifying available remember templates".

> Another
> idea is to have a button on the status line that you can
> left click on to remember one tab.

Ok, that would save one click at the expense of the
status bar's cleaness. Would the middle mouse button do?

> 
> Apparent bugs and suggestions follow.  (Others not
> developing Fireforg need not read.)
> 
> ===
> 
> There was a setting that I didn't understand having to do
> with using DOI.  Perhaps how this works can be explained.
> Does it use the net?  You might want to mention that it
> stands for digital object identifier.

It searches for a Digital Object Identifier in the hmtl code of the
site shown. If "Prefetch links to extract" is enabled, it does so also
for all links in a website after it is loaded.
I've updated the documentation.

> I had to change head -1 to head -n 1 in the pull script to
> fix an error in head.  head is /sw/bin/head, perhaps from
> some fink or macports package.

That's fixed, thanks.

> Perhaps the error messages in emacs and ff can explain what
> you need to do to fix them.  Also, perhaps common
> non-working states can be checked for.  That would make it
> easier.
> 
> I used your suggested template:
> 
>   ("fireforg" ?w  "* %:description \n %:link %!")
> 
> Sometimes, nothing happens.  Other times, emacs opens a
> buffer that is blank.  It expects you to do c-x # to finish
> the buffer.  Currently nothing is happening, so I can't
> describe that one more fully.
> 
> At one point I got this error message.
> 
>   error in process filter: Setting current directory: no such
>   file or directory,
>   /Users/.../fireforg/org-protocol:/remember:/http%3A%2F%2F...

That all is a symptom of org-protocol not having been initialized.

> It might be nice to document whether any of the options will
> slow Firefox or Emacs down.  (Even if none of them do.)

Yes, done that.

> I noticed that the Read It Later extension no longer has a
> button.  Might be a coincidence.

I can't reproduce this with either order of installation. If this
persists could you please check whether there are any errors in
"Tools"->"Error console" concerning either of the plugins?

> Perhaps giving git instructions would make it easier to dl
> the .sh, .xpi, and .el all at once.  "git clone
> http://repo.or.cz/w/org-fireforg.git" did not work.
> (Something about corruption; I don't have the output now.)

git clone http://repo.or.cz/r/org-fireforg.git

The directory "w" shows the website for the project.

 -- Andreas

> That is all the bug reporting I can do.  I will have to stop
> trying to get Fireforg to work.  I cannot make further
> attempts as debugging requires far too much physical use of
> keyboard and mouse.
> 
> Thanks.
> 
> 
> On Tue, Oct 20, 2009 at 17:00, Andreas Burtzlaff <andy13@gmx.net> wrote:
> > On Tue, 20 Oct 2009 10:12:42 +0200
> > Andreas Burtzlaff <andy13@gmx.net> wrote:
> >
> >> On Mon, 19 Oct 2009 20:40:54 -0700
> >> Samuel Wales <samologist@gmail.com> wrote:
> >>
> >> > I have a huge number of Firefox tabs that I want to get into
> >> > org.  Figuring out how has gotten complicated, despite good
> >> > documentation out there.
> >> >
> >> > I want simply title and url for each tab.
> >> >
> >> > Maybe like this:
> >> >
> >> >   * Firefox tabs
> >> >     * Public Git Hosting - Worg.git/summary
> >> >   http://repo.or.cz/w/Worg.git
> >> >     * Google Search
> >> >   http://www.google.com
> >> >
> >> > Would be nice to get fancier by allowing annotations (for
> >> > use by fireforg?).  And allowing syncing back and forth.
> >> > But first, I just want to get started.
> >> >
> >> > I envision two ways of doing this.  Maybe there are more.
> >> >
> >> >   1) Have emacs or a script convert one of the folders in
> >> >      the bookmark file to an org outline as above.
> >> >   2) Have org-mac-protocol set up for individual tabs to be
> >> >      clicked to get them remembered.
> >> >
> >> > If I do (2), then I'd want it to be easy.  That is, without
> >> > having to switch from mouse to keyboard.  But does (2) work
> >> > on a Mac?  Last I heard, org-mac-protocol works for Safari,
> >> > but not Firefox.
> >>
> >> Fireforg has a workaround for Macs:
> >> http://orgmode.org/worg/org-devel.php#sec-1.2.6
> >>
> >> So you could select the tabs one after another and trigger remember
> >> from the Fireforg status bar menu. (This menu is accessible by right
> >> clicking on the status bar entry.)
> >>
> >> I will add an entry to the tab context menu tonight to do this in one
> >> step.
> >
> > With the latest version it is possible to pass all tabs to remember
> > by selecting "All tabs"-> "remember (..)" in the status bar menu.
> > This only makes sense when using a remember template that stores the
> > note automatically ("%!" in the template string).
> >
> > Your proposed format would be:
> > "* %:description \n %:link %!"
> >
> > If the mac workaround is enabled and the latest version of pull.sh is used, then
> > this should also work on a Mac.
> >
> > Andreas
> >
> >> Concerning syncing I'm not sure I get your plan entirely. Is the main
> >> purpose of it to synchronize the tabs between different browsers?
> >>
> >> Andreas
> >>
> >> > Ideas very welcome.  I am stuck here.
> >> >
> >> > Thanks.
> >> >
> >> >
> >> > P.S.  I /also/ have a huge number of Safari tabs and a huge
> >> > number of emacs-w3m tabs.  I've found those also difficult
> >> > to orgify.  So ideas here are also welcome.  But Firefox is
> >> > more important now.
> >> >
> >> >
> >> > _______________________________________________
> >> > Emacs-orgmode mailing list
> >> > Remember: use `Reply All' to send replies to the list.
> >> > Emacs-orgmode@gnu.org
> >> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> >>
> >>
> >> _______________________________________________
> >> Emacs-orgmode mailing list
> >> Remember: use `Reply All' to send replies to the list.
> >> Emacs-orgmode@gnu.org
> >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> >

  parent reply	other threads:[~2009-10-24 22:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-20  3:40 getting Firefox tabs into org on a mac Samuel Wales
2009-10-20  8:12 ` Andreas Burtzlaff
2009-10-21  0:00   ` Andreas Burtzlaff
2009-10-23 18:31     ` Samuel Wales
2009-10-23 19:56       ` Samuel Wales
2009-10-24 22:53         ` Andreas Burtzlaff
2009-10-24 22:42       ` Andreas Burtzlaff [this message]
2009-10-20 10:22 ` James TD Smith
2009-10-21  3:45   ` Samuel Wales

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091025004221.69d463c7.andy13@gmx.net \
    --to=andy13@gmx.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).