From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Burtzlaff Subject: Re: getting Firefox tabs into org on a mac Date: Sun, 25 Oct 2009 00:42:21 +0200 Message-ID: <20091025004221.69d463c7.andy13@gmx.net> References: <20524da70910192040r2858d89ew90d8d955ec5caf7f@mail.gmail.com> <20091020101242.dbd48ea8.andy13@gmx.net> <20091021020007.379d80b9.andy13@gmx.net> <20524da70910231131w633472a6ve0e1337b09216b07@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N1pJF-0005hi-8d for emacs-orgmode@gnu.org; Sat, 24 Oct 2009 18:42:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N1pJA-0005fF-96 for emacs-orgmode@gnu.org; Sat, 24 Oct 2009 18:42:04 -0400 Received: from [199.232.76.173] (port=52774 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1pJ9-0005f9-Tn for emacs-orgmode@gnu.org; Sat, 24 Oct 2009 18:41:59 -0400 Received: from mail.gmx.net ([213.165.64.20]:35577) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1N1pJ9-0008LR-BA for emacs-orgmode@gnu.org; Sat, 24 Oct 2009 18:41:59 -0400 In-Reply-To: <20524da70910231131w633472a6ve0e1337b09216b07@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Wales Cc: emacs-orgmode@gnu.org Hi Samuel, thanks for taking the time to report your findings and ideas. On Fri, 23 Oct 2009 11:31:32 -0700 Samuel Wales wrote: > Hi Andreas, > > On Tue, Oct 20, 2009 at 01:12, Andreas Burtzlaff 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 wrote: > > On Tue, 20 Oct 2009 10:12:42 +0200 > > Andreas Burtzlaff wrote: > > > >> On Mon, 19 Oct 2009 20:40:54 -0700 > >> Samuel Wales 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 > >