* Re: Article: Synchronizing org Files Using bzr and git
2009-03-03 13:42 Article: Synchronizing org Files Using bzr and git Ian Barton
@ 2009-03-03 18:49 ` Mark Elston
2009-03-04 10:32 ` Ian Barton
2009-03-04 6:31 ` Yuval Hager
` (2 subsequent siblings)
3 siblings, 1 reply; 15+ messages in thread
From: Mark Elston @ 2009-03-03 18:49 UTC (permalink / raw)
To: Ian Barton; +Cc: emacs-orgmode Mailinglist
Just a note. Be careful of the use of colors. For example,
you have quoted strings in yellow in section 3.3. This color
makes the strings almost invisible on my screen. This makes
it hard to read.
Also, is there a single-page or pdf version of this material?
Mark
* Ian Barton wrote (on 3/3/2009 5:42 AM):
> I have been working on an article on syncing org files using a version
> control system for a while. The recent posts about using a usb stick
> motivated me to try and finish it.
>
> You can see the html version at
> http://www.ian-barton.com/ian-barton/org_vcs/org_vcs.html and get the
> current version from github at
> git://github.com/geekinthesticks/org-vcs.git .
>
> This is still a work in progress, but I would welcome any comments.
> Since it's available via github and I am lazy, please feel free to edit
> it yourself:)
>
> A couple of observations:
>
> I have tried to strike a balance between describing something that works
> and avoiding too many minutiae of VCS options.
>
> I am using bzr myself (although I might switch). I am aware that most
> people on the list use git, so I have tried to give both git and bzr
> examples. If the git ones are wrong, please let me know!
>
> If Carsten thinks it's suitable I would be happy for the article to end
> up on worg, or wherever he thinks appropriate.
>
> Ian.
>
>
> _______________________________________________
> 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
>
>
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Article: Synchronizing org Files Using bzr and git
2009-03-03 18:49 ` Mark Elston
@ 2009-03-04 10:32 ` Ian Barton
2009-03-04 14:37 ` Bernt Hansen
0 siblings, 1 reply; 15+ messages in thread
From: Ian Barton @ 2009-03-04 10:32 UTC (permalink / raw)
To: emacs-orgmode Mailinglist
Mark Elston wrote:
> Just a note. Be careful of the use of colors. For example,
> you have quoted strings in yellow in section 3.3. This color
> makes the strings almost invisible on my screen. This makes
> it hard to read.
>
> Also, is there a single-page or pdf version of this material?
>
Mark,
Sorry about the yellow I hadn't noticed it. I am trying to fix it, but
it seems to be defeating my very limited css skills. The css generated
by org is:
<pre class="src src-emacs-shell">
*~
</pre>
<pre class="src src-emacs-shell">
bzr add *.org
</pre>
In my stylesheet I am trying things like:
pre.src {
font-style: bold;
color: black;
}
span.src-emacs-shell {color: black;}
However, I can't get the span (which should affect the quoted text) to
work. I would appreciate it if someone could point me in the righ direction.
Once I have sorted this I will generate a PDF version.
Ian.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Article: Synchronizing org Files Using bzr and git
2009-03-04 10:32 ` Ian Barton
@ 2009-03-04 14:37 ` Bernt Hansen
2009-03-04 14:56 ` Carsten Dominik
2009-03-04 15:01 ` Sebastian Rose
0 siblings, 2 replies; 15+ messages in thread
From: Bernt Hansen @ 2009-03-04 14:37 UTC (permalink / raw)
To: Ian Barton; +Cc: emacs-orgmode Mailinglist
Ian Barton <lists@manor-farm.org> writes:
> Mark Elston wrote:
>> Just a note. Be careful of the use of colors. For example,
>> you have quoted strings in yellow in section 3.3. This color
>> makes the strings almost invisible on my screen. This makes
>> it hard to read.
>>
>> Also, is there a single-page or pdf version of this material?
>>
> Mark,
> Sorry about the yellow I hadn't noticed it. I am trying to fix it, but
> it seems to be defeating my very limited css skills. The css generated
> by org is:
>
> <pre class="src src-emacs-shell">
> *~
> </pre>
>
> <pre class="src src-emacs-shell">
> bzr add *.org
> </pre>
>
> In my stylesheet I am trying things like:
>
> pre.src {
> font-style: bold;
> color: black;
>
> }
>
> span.src-emacs-shell {color: black;}
>
> However, I can't get the span (which should affect the quoted text) to
> work. I would appreciate it if someone could point me in the righ
> direction.
>
> Once I have sorted this I will generate a PDF version.
The span has a hardcoded style element which specifies the colour
<span style="color: rgb(255, 255, 85);">"Imported sources."</span>
I don't think you will be able to override that with CSS. You need to
somehow remove the embedded style from the exported source.
-Bernt
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: Article: Synchronizing org Files Using bzr and git
2009-03-04 14:37 ` Bernt Hansen
@ 2009-03-04 14:56 ` Carsten Dominik
2009-03-04 15:01 ` Sebastian Rose
1 sibling, 0 replies; 15+ messages in thread
From: Carsten Dominik @ 2009-03-04 14:56 UTC (permalink / raw)
To: Bernt Hansen; +Cc: emacs-orgmode Mailinglist
On Mar 4, 2009, at 3:37 PM, Bernt Hansen wrote:
> Ian Barton <lists@manor-farm.org> writes:
>
>> Mark Elston wrote:
>>> Just a note. Be careful of the use of colors. For example,
>>> you have quoted strings in yellow in section 3.3. This color
>>> makes the strings almost invisible on my screen. This makes
>>> it hard to read.
>>>
>>> Also, is there a single-page or pdf version of this material?
>>>
>> Mark,
>> Sorry about the yellow I hadn't noticed it. I am trying to fix it,
>> but
>> it seems to be defeating my very limited css skills. The css
>> generated
>> by org is:
>>
>> <pre class="src src-emacs-shell">
>> *~
>> </pre>
>>
>> <pre class="src src-emacs-shell">
>> bzr add *.org
>> </pre>
>>
>> In my stylesheet I am trying things like:
>>
>> pre.src {
>> font-style: bold;
>> color: black;
>>
>> }
>>
>> span.src-emacs-shell {color: black;}
>>
>> However, I can't get the span (which should affect the quoted text)
>> to
>> work. I would appreciate it if someone could point me in the righ
>> direction.
>>
>> Once I have sorted this I will generate a PDF version.
>
> The span has a hardcoded style element which specifies the colour
>
> <span style="color: rgb(255, 255, 85);">"Imported sources."</span>
>
> I don't think you will be able to override that with CSS. You need to
> somehow remove the embedded style from the exported source.
I think this is related to the value of org-export-htmlize-output-type.
It should be `inline-css' or `css', seems to me that you have set it
to `font'.
- Carsten
>
>
> -Bernt
>
>
> _______________________________________________
> 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: Article: Synchronizing org Files Using bzr and git
2009-03-04 14:37 ` Bernt Hansen
2009-03-04 14:56 ` Carsten Dominik
@ 2009-03-04 15:01 ` Sebastian Rose
2009-03-04 22:21 ` Ian Barton
1 sibling, 1 reply; 15+ messages in thread
From: Sebastian Rose @ 2009-03-04 15:01 UTC (permalink / raw)
To: Bernt Hansen; +Cc: emacs-orgmode Mailinglist
Bernt Hansen <bernt@norang.ca> writes:
>> Mark,
>> Sorry about the yellow I hadn't noticed it. I am trying to fix it, but
>> it seems to be defeating my very limited css skills. The css generated
>> by org is:
>>
>> <pre class="src src-emacs-shell">
>> *~
>> </pre>
>>
>> <pre class="src src-emacs-shell">
>> bzr add *.org
>> </pre>
>>
>> In my stylesheet I am trying things like:
>>
>> pre.src {
>> font-style: bold;
>> color: black;
>>
>> }
>>
>> span.src-emacs-shell {color: black;}
>>
>> However, I can't get the span (which should affect the quoted text) to
>> work. I would appreciate it if someone could point me in the righ
>> direction.
>>
>> Once I have sorted this I will generate a PDF version.
>
> The span has a hardcoded style element which specifies the colour
>
> <span style="color: rgb(255, 255, 85);">"Imported sources."</span>
>
> I don't think you will be able to override that with CSS. You need to
> somehow remove the embedded style from the exported source.
M-x customize-variable RET htmlize-output-type
and set it to `css' or `inline-css'.
Your setting is `font'
Best,
--
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.: +49 (0)511 - 36 58 472
Fax: +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Http: www.emma-stil.de
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: Article: Synchronizing org Files Using bzr and git
2009-03-04 15:01 ` Sebastian Rose
@ 2009-03-04 22:21 ` Ian Barton
0 siblings, 0 replies; 15+ messages in thread
From: Ian Barton @ 2009-03-04 22:21 UTC (permalink / raw)
To: emacs-orgmode Mailinglist
Sebastian Rose wrote:
> Bernt Hansen <bernt@norang.ca> writes:
>>> Mark,
>>> Sorry about the yellow I hadn't noticed it. I am trying to fix it, but
>>> it seems to be defeating my very limited css skills. The css generated
>>> by org is:
>>>
>>> <pre class="src src-emacs-shell">
>>> *~
>>> </pre>
>>>
>>> <pre class="src src-emacs-shell">
>>> bzr add *.org
>>> </pre>
>>>
>>> In my stylesheet I am trying things like:
>>>
>>> pre.src {
>>> font-style: bold;
>>> color: black;
>>>
>>> }
>>>
>>> span.src-emacs-shell {color: black;}
>>>
>>> However, I can't get the span (which should affect the quoted text) to
>>> work. I would appreciate it if someone could point me in the righ
>>> direction.
>>>
>>> Once I have sorted this I will generate a PDF version.
>> The span has a hardcoded style element which specifies the colour
>>
>> <span style="color: rgb(255, 255, 85);">"Imported sources."</span>
>>
>> I don't think you will be able to override that with CSS. You need to
>> somehow remove the embedded style from the exported source.
>
>
> M-x customize-variable RET htmlize-output-type
>
> and set it to `css' or `inline-css'.
>
> Your setting is `font'
>
Thanks Sebastien - my setting was already inline-css. I tried switching
to css and that has fixed the problem.
Ian.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Article: Synchronizing org Files Using bzr and git
2009-03-03 13:42 Article: Synchronizing org Files Using bzr and git Ian Barton
2009-03-03 18:49 ` Mark Elston
@ 2009-03-04 6:31 ` Yuval Hager
2009-03-04 11:42 ` Carsten Dominik
2009-03-04 12:16 ` Cameron Horsburgh
3 siblings, 0 replies; 15+ messages in thread
From: Yuval Hager @ 2009-03-04 6:31 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 653 bytes --]
On Tuesday 03 March 2009, Ian Barton wrote:
> I have been working on an article on syncing org files using a version
> control system for a while. The recent posts about using a usb stick
> motivated me to try and finish it.
>
> You can see the html version at
> http://www.ian-barton.com/ian-barton/org_vcs/org_vcs.html and get the
> current version from github at
> git://github.com/geekinthesticks/org-vcs.git .
>
Thank you for the writeup - very useful! It came exactly on time when I plan
to start doing exactly that. :)
the HTML export is quite annoying, so reading this on org-mode or pdf was much
preferred on my end.
--y
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Article: Synchronizing org Files Using bzr and git
2009-03-03 13:42 Article: Synchronizing org Files Using bzr and git Ian Barton
2009-03-03 18:49 ` Mark Elston
2009-03-04 6:31 ` Yuval Hager
@ 2009-03-04 11:42 ` Carsten Dominik
2009-03-06 10:33 ` Ian Barton
2009-03-04 12:16 ` Cameron Horsburgh
3 siblings, 1 reply; 15+ messages in thread
From: Carsten Dominik @ 2009-03-04 11:42 UTC (permalink / raw)
To: Ian Barton; +Cc: emacs-orgmode Mailinglist
Hi Ian,
nice work!
On Mar 3, 2009, at 2:42 PM, Ian Barton wrote:
> I have been working on an article on syncing org files using a
> version control system for a while. The recent posts about using a
> usb stick motivated me to try and finish it.
>
> You can see the html version at http://www.ian-barton.com/ian-barton/org_vcs/org_vcs.html
> and get the current version from github at git://github.com/
> geekinthesticks/org-vcs.git .
>
> This is still a work in progress, but I would welcome any comments.
> Since it's available via github and I am lazy, please feel free to
> edit it yourself:)
>
> A couple of observations:
>
> I have tried to strike a balance between describing something that
> works and avoiding too many minutiae of VCS options.
>
> I am using bzr myself (although I might switch). I am aware that
> most people on the list use git, so I have tried to give both git
> and bzr examples. If the git ones are wrong, please let me know!
>
> If Carsten thinks it's suitable I would be happy for the article to
> end up on worg, or wherever he thinks appropriate.
First of all, I do not control in any way what gets on Worg.
Bastien set up Worg as user-edited content, and this is what
it should be.
If you aks my opinion, I think your tutorial is *exactly* what
Worg was made for! I have not studied it in detail, but
it looks useful, addresses a subject that has almost become
a FAQ. And if it is up on Worg, bugs will be fixed
and improvements made.
So please feel free to add your tutorial to Worg.
The best place would be the org-tutorial directory, and
you should then make a link from the index.org in that
same directory. After pushing, it will take 1.5 hours or
less to appear on the web.
Thanks!
- Carsten
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Article: Synchronizing org Files Using bzr and git
2009-03-04 11:42 ` Carsten Dominik
@ 2009-03-06 10:33 ` Ian Barton
2009-03-06 15:35 ` Carsten Dominik
2009-03-11 15:19 ` Yuval Hager
0 siblings, 2 replies; 15+ messages in thread
From: Ian Barton @ 2009-03-06 10:33 UTC (permalink / raw)
To: emacs-orgmode Mailinglist
> First of all, I do not control in any way what gets on Worg.
> Bastien set up Worg as user-edited content, and this is what
> it should be.
>
> If you aks my opinion, I think your tutorial is *exactly* what
> Worg was made for! I have not studied it in detail, but
> it looks useful, addresses a subject that has almost become
> a FAQ. And if it is up on Worg, bugs will be fixed
> and improvements made.
>
> So please feel free to add your tutorial to Worg.
> The best place would be the org-tutorial directory, and
> you should then make a link from the index.org in that
> same directory. After pushing, it will take 1.5 hours or
> less to appear on the web.
>
OK, it's now on Worg.
Ian.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Article: Synchronizing org Files Using bzr and git
2009-03-06 10:33 ` Ian Barton
@ 2009-03-06 15:35 ` Carsten Dominik
2009-03-11 15:19 ` Yuval Hager
1 sibling, 0 replies; 15+ messages in thread
From: Carsten Dominik @ 2009-03-06 15:35 UTC (permalink / raw)
To: Ian Barton; +Cc: emacs-orgmode Mailinglist
On Mar 6, 2009, at 11:33 AM, Ian Barton wrote:
>> First of all, I do not control in any way what gets on Worg.
>> Bastien set up Worg as user-edited content, and this is what
>> it should be.
>> If you aks my opinion, I think your tutorial is *exactly* what
>> Worg was made for! I have not studied it in detail, but
>> it looks useful, addresses a subject that has almost become
>> a FAQ. And if it is up on Worg, bugs will be fixed
>> and improvements made.
>> So please feel free to add your tutorial to Worg.
>> The best place would be the org-tutorial directory, and
>> you should then make a link from the index.org in that
>> same directory. After pushing, it will take 1.5 hours or
>> less to appear on the web.
> OK, it's now on Worg.
Great work, thanks!
- Carsten
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Article: Synchronizing org Files Using bzr and git
2009-03-06 10:33 ` Ian Barton
2009-03-06 15:35 ` Carsten Dominik
@ 2009-03-11 15:19 ` Yuval Hager
2009-03-11 16:39 ` Ian Barton
1 sibling, 1 reply; 15+ messages in thread
From: Yuval Hager @ 2009-03-11 15:19 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 1658 bytes --]
On Friday 06 March 2009, Ian Barton wrote:
> > First of all, I do not control in any way what gets on Worg.
> > Bastien set up Worg as user-edited content, and this is what
> > it should be.
> >
> > If you aks my opinion, I think your tutorial is *exactly* what
> > Worg was made for! I have not studied it in detail, but
> > it looks useful, addresses a subject that has almost become
> > a FAQ. And if it is up on Worg, bugs will be fixed
> > and improvements made.
> >
> > So please feel free to add your tutorial to Worg.
> > The best place would be the org-tutorial directory, and
> > you should then make a link from the index.org in that
> > same directory. After pushing, it will take 1.5 hours or
> > less to appear on the web.
>
> OK, it's now on Worg.
>
I can't find it (I'm rather new to all this).
One thing that confused me is that I tried to work with two machines,
without a server. Figuring git is distributed, I thought I do not need a
server, and I tried to follow the tutorial. Obviously, I got hit when I
performed a 'git push' onto a non-bare repository (now I know what these
things mean ;).
I now know not to use 'push' and can get along fine with just 'pull'-ing. I
think the tutorial might be better if you either mention how to work
without a server, or just put a big note not to push onto a non-server
branch (There is a note there, but it was probably not big enough for me ;)
Thanks for a great tutorial. You made me cross the git barrier. Once I'm on
the other side, nothing would take me back (same way I felt about org-mode
after seeing Russell Adams' video).
--
yuval
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: Article: Synchronizing org Files Using bzr and git
2009-03-11 15:19 ` Yuval Hager
@ 2009-03-11 16:39 ` Ian Barton
2009-03-11 20:20 ` Alan E. Davis
0 siblings, 1 reply; 15+ messages in thread
From: Ian Barton @ 2009-03-11 16:39 UTC (permalink / raw)
To: Yuval Hager; +Cc: emacs-orgmode
> One thing that confused me is that I tried to work with two machines,
> without a server. Figuring git is distributed, I thought I do not need a
> server, and I tried to follow the tutorial. Obviously, I got hit when I
> performed a 'git push' onto a non-bare repository (now I know what these
> things mean ;).
> I now know not to use 'push' and can get along fine with just 'pull'-ing. I
> think the tutorial might be better if you either mention how to work
> without a server, or just put a big note not to push onto a non-server
> branch (There is a note there, but it was probably not big enough for me ;)
>
> Thanks for a great tutorial. You made me cross the git barrier. Once I'm on
> the other side, nothing would take me back (same way I felt about org-mode
> after seeing Russell Adams' video).
Yuval,
Thanks for the comments. I want to improve the git section. One thing
that's easy with bzr is to just push your changes to a remote server, or
a usb stick in one operation, even if the remote repo doesn't exist.
Using git this seems to be problematic. You can't use push unless there
is a repo already there. You can create a blank repo ready to push into,
but for the lazy this requires two steps instead on one. It is supposed
to be possible to use git clone to create the repo and populate in a
single step. However, I seem to fall into a syntactic black hole here
and just end up creating a new repo locally.
Ian.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re: Article: Synchronizing org Files Using bzr and git
2009-03-11 16:39 ` Ian Barton
@ 2009-03-11 20:20 ` Alan E. Davis
0 siblings, 0 replies; 15+ messages in thread
From: Alan E. Davis @ 2009-03-11 20:20 UTC (permalink / raw)
To: Ian Barton; +Cc: Yuval Hager, emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 1012 bytes --]
Before Ian posted his document, I had started to condense the suggestions I
had received from an earlier query into a HOWTO of sorts. I cannot sit
down with this right now, but for your interest, maybe this outline will
help?
One important issue for me on a GNU/Linux (Ubuntu) box has been
permissions. Either I have had to give completely permissive permissions
to both users on both machines, to the org.git repo on the USB stick, or
ensure that both users have the same UID number and GID numbers on both
machines. My stick is a linux, ext3, partition.
Since I started using a bare repo on the stick, all has been well. MUch
better.
A PDF is attached.
Alan
--
Alan Davis
"An inviscid theory of flow renders the screw useless, but the need for one
non-existent." ---Lord Raleigh (John William Strutt), or
else his son, who was also a scientist.
It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
---- Bertrand Russell
[-- Attachment #1.2: Type: text/html, Size: 1118 bytes --]
[-- Attachment #2: GitBareRepo.pdf --]
[-- Type: application/pdf, Size: 43306 bytes --]
[-- Attachment #3: Type: text/plain, Size: 204 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Article: Synchronizing org Files Using bzr and git
2009-03-03 13:42 Article: Synchronizing org Files Using bzr and git Ian Barton
` (2 preceding siblings ...)
2009-03-04 11:42 ` Carsten Dominik
@ 2009-03-04 12:16 ` Cameron Horsburgh
3 siblings, 0 replies; 15+ messages in thread
From: Cameron Horsburgh @ 2009-03-04 12:16 UTC (permalink / raw)
To: Ian Barton; +Cc: emacs-orgmode Mailinglist
On Tue, Mar 03, 2009 at 01:42:56PM +0000, Ian Barton wrote:
> I have been working on an article on syncing org files using a version
> control system for a while. The recent posts about using a usb stick
> motivated me to try and finish it.
>
> You can see the html version at
> http://www.ian-barton.com/ian-barton/org_vcs/org_vcs.html and get the
> current version from github at
> git://github.com/geekinthesticks/org-vcs.git .
>
Hi Ian,
This tutorial was great. I've been using bzr for most of my text files
(including org) for some time now, and I'm glad I'm not the only one!
I picked up on a couple of things I hadn't thought of, so thanks!
I just want to point out a ssmall typo. In Section 8.2.1 'Moving Your
Data from bzr to git' you say...
,----
|
| Like most things this is easy once you know how. You need the bzr fast-export plugin.
|
`----
I think you mean the 'fast import' plug-in. The rest of the paragraph
makes this pretty clear, but I can see some poor newbie trying to
figure this out!
Well done, and I look forward to seeing any additions you might make.
--
Cameron Horsburgh
Blog: http://spiritcry.wordpress.com/
^ permalink raw reply [flat|nested] 15+ messages in thread