emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Setup for switching between 2 org-mode configurations (demo/productive)?
@ 2013-10-03  7:33 M
  2013-10-03  8:02 ` Karl Voit
  2013-10-31  0:44 ` Alexander Baier
  0 siblings, 2 replies; 9+ messages in thread
From: M @ 2013-10-03  7:33 UTC (permalink / raw)
  To: emacs orgmode-mailinglist


Hi,

I'd like to set up org-mode in a way to separate my personal data from my
gerenal settings.

Why?
I'd like to be able to quickly and easily create tutorials or minimal
examples with sample data without having to worry about publishing
private/personal information anywhere.
So I'm searching for a way to "disable" all personal data with one command
and easily re-enable them later.

I assume that some of you already have something like that or can recommend
a way for doing so?
I'm using Mercurial for versioning my org-mode files (but honestly I have no
ideas about the advanced features of version control like branching,
merging, etc., I'm just abusing it for regularly storing backups of my setup
and data and making a diff, if something got messed up or accidently
deleted).

Kind regards

Martin

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Setup for switching between 2 org-mode configurations (demo/productive)?
  2013-10-03  7:33 Setup for switching between 2 org-mode configurations (demo/productive)? M
@ 2013-10-03  8:02 ` Karl Voit
  2013-10-03 11:39   ` Nick Dokos
  2013-10-31  0:44 ` Alexander Baier
  1 sibling, 1 reply; 9+ messages in thread
From: Karl Voit @ 2013-10-03  8:02 UTC (permalink / raw)
  To: emacs-orgmode

* M <Elwood151@web.de> wrote:
>
> Hi,

Hi!

> I'd like to set up org-mode in a way to separate my personal data from my
> gerenal settings.
> and easily re-enable them later.
[...]
> I assume that some of you already have something like that or can recommend
> a way for doing so?

I by myself did chose a manual attempt so far: temporarily modifying
org-agenda-files to one demo file [1] and sticking to this demo file
only while showing stuff.

With my Memacs setup (see sig), I gave up selecting stuff that might
be private because every daily agenda shows private stuff (in case
or displaying archive files is enabled).

To demonstrate Memacs, I wrote a small shell script that finds days
where I got no time-stamp in my Org-mode files. (Fun act: I found
only a handful within the last years!). This way, I chose September
15th 2008 for [2]. I created dummy entries for a demo scenario and
stick to this single "artificial" day only. :-)

  1. e.g., https://github.com/novoid/org-mode-workshop/blob/master/featureshow/org-mode-teaser.org
  2. http://arxiv.org/abs/1304.1332
-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
       > get Memacs from https://github.com/novoid/Memacs <

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Setup for switching between 2 org-mode configurations (demo/productive)?
  2013-10-03  8:02 ` Karl Voit
@ 2013-10-03 11:39   ` Nick Dokos
  2013-10-03 17:41     ` Karl Voit
  2013-10-14  4:00     ` Noorul Islam K M
  0 siblings, 2 replies; 9+ messages in thread
From: Nick Dokos @ 2013-10-03 11:39 UTC (permalink / raw)
  To: emacs-orgmode

Karl Voit <devnull@Karl-Voit.at> writes:

> * M <Elwood151@web.de> wrote:
>>
>> Hi,
>
> Hi!
>
>> I'd like to set up org-mode in a way to separate my personal data from my
>> gerenal settings.
>> and easily re-enable them later.
> [...]
>> I assume that some of you already have something like that or can recommend
>> a way for doing so?
>
> I by myself did chose a manual attempt so far: temporarily modifying
> org-agenda-files to one demo file [1] and sticking to this demo file
> only while showing stuff.
>
> With my Memacs setup (see sig), I gave up selecting stuff that might
> be private because every daily agenda shows private stuff (in case
> or displaying archive files is enabled).
>

It may be worth considering running in a virtual machine.

-- 
Nick

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Setup for switching between 2 org-mode configurations (demo/productive)?
  2013-10-03 11:39   ` Nick Dokos
@ 2013-10-03 17:41     ` Karl Voit
  2013-10-14  4:00     ` Noorul Islam K M
  1 sibling, 0 replies; 9+ messages in thread
From: Karl Voit @ 2013-10-03 17:41 UTC (permalink / raw)
  To: emacs-orgmode

* Nick Dokos <ndokos@gmail.com> wrote:
> Karl Voit <devnull@Karl-Voit.at> writes:
>
>> With my Memacs setup (see sig), I gave up selecting stuff that might
>> be private because every daily agenda shows private stuff (in case
>> or displaying archive files is enabled).
>>
>
> It may be worth considering running in a virtual machine.

If I had to do this on a monthly basis or similar, you are
absolutely right, yes. 

However, unfortunately I give Org-mode/Memacs demos probably twice a
year or so. It's not worth the hazzle/disk space/effort.

-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
       > get Memacs from https://github.com/novoid/Memacs <

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Setup for switching between 2 org-mode configurations (demo/productive)?
  2013-10-03 11:39   ` Nick Dokos
  2013-10-03 17:41     ` Karl Voit
@ 2013-10-14  4:00     ` Noorul Islam K M
  2013-10-14  5:01       ` M
  1 sibling, 1 reply; 9+ messages in thread
From: Noorul Islam K M @ 2013-10-14  4:00 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

Nick Dokos <ndokos@gmail.com> writes:

> Karl Voit <devnull@Karl-Voit.at> writes:
>
>> * M <Elwood151@web.de> wrote:
>>>
>>> Hi,
>>
>> Hi!
>>
>>> I'd like to set up org-mode in a way to separate my personal data from my
>>> gerenal settings.
>>> and easily re-enable them later.
>> [...]
>>> I assume that some of you already have something like that or can recommend
>>> a way for doing so?
>>
>> I by myself did chose a manual attempt so far: temporarily modifying
>> org-agenda-files to one demo file [1] and sticking to this demo file
>> only while showing stuff.
>>
>> With my Memacs setup (see sig), I gave up selecting stuff that might
>> be private because every daily agenda shows private stuff (in case
>> or displaying archive files is enabled).
>>
>
> It may be worth considering running in a virtual machine.

And RAM and CPU cycles being cheap these days, I second this suggestion. 

Take a look at 

http://docs.vagrantup.com/v2/getting-started/

Thanks and Regards
Noorul

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Setup for switching between 2 org-mode configurations (demo/productive)?
  2013-10-14  4:00     ` Noorul Islam K M
@ 2013-10-14  5:01       ` M
  2013-10-14  5:22         ` Iannis Zannos
  2013-10-15  2:31         ` Mike McLean
  0 siblings, 2 replies; 9+ messages in thread
From: M @ 2013-10-14  5:01 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Karl Voit, Nick Dokos, Noorul Islam K M

Thank you for your comments and suggestions!

Running a virtual machine for the second setup is an interesting idea, but
it is problematic, as I'm using MacOS X 10.6 and AFAIK it is not permitted
to run it in a VM.
I'm currently working with org-mode under OS X (Aquamacs) at home and under
Windows 7 at work.
(For a VM with Windows I'd need a second license and for using LINUX in the
VM I'd have a 3rd operating system to fiddle with).

I could however create a second user account in OS X for such purpose and
then try to sync the "shared" parts of the emacs/org-mode configuration
files.

I thought that it should be easy (give I know, how) to have 2 branches in my
mercurial repository, one for the "general settings" and one also containing
my private data.

Another solution might be to have 2 different stages of emacs/org-mode
configuration files and if necessary "reset" emacs and org-mode by a command
and then only load the "public" configuration for demo purpose.

Kind regards

Martin

> Von: Noorul Islam K M <noorul@noorul.com>
> Datum: Mon, 14 Oct 2013 09:30:15 +0530
> An: Nick Dokos <ndokos@gmail.com>
> Cc: <emacs-orgmode@gnu.org>
> Betreff: Re: [O] Setup for switching between 2 org-mode configurations
> (demo/productive)?
> 
> Nick Dokos <ndokos@gmail.com> writes:
> 
>> Karl Voit <devnull@Karl-Voit.at> writes:
>> 
>>> * M <Elwood151@web.de> wrote:

>>>> I'd like to set up org-mode in a way to separate my personal data from my
>>>> gerenal settings.
>>>> and easily re-enable them later.
>>> [...]
>>>> I assume that some of you already have something like that or can recommend
>>>> a way for doing so?
>>> 
>>> I by myself did chose a manual attempt so far: temporarily modifying
>>> org-agenda-files to one demo file [1] and sticking to this demo file
>>> only while showing stuff.
>> 
>> It may be worth considering running in a virtual machine.
> 
> And RAM and CPU cycles being cheap these days, I second this suggestion.
> 
> Take a look at 
> 
> http://docs.vagrantup.com/v2/getting-started/
> 
> Thanks and Regards
> Noorul
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Setup for switching between 2 org-mode configurations (demo/productive)?
  2013-10-14  5:01       ` M
@ 2013-10-14  5:22         ` Iannis Zannos
  2013-10-15  2:31         ` Mike McLean
  1 sibling, 0 replies; 9+ messages in thread
From: Iannis Zannos @ 2013-10-14  5:22 UTC (permalink / raw)
  To: M; +Cc: Karl Voit, Nick Dokos, emacs-orgmode, Noorul Islam K M

[-- Attachment #1: Type: text/plain, Size: 2416 bytes --]

Hello Martin,

for situations like this I would consider switching between branches on
Git. If you are using Mercurial, maybe there is a similar possibility.

Iannis Z.


On Mon, Oct 14, 2013 at 8:01 AM, M <Elwood151@web.de> wrote:

> Thank you for your comments and suggestions!
>
> Running a virtual machine for the second setup is an interesting idea, but
> it is problematic, as I'm using MacOS X 10.6 and AFAIK it is not permitted
> to run it in a VM.
> I'm currently working with org-mode under OS X (Aquamacs) at home and under
> Windows 7 at work.
> (For a VM with Windows I'd need a second license and for using LINUX in the
> VM I'd have a 3rd operating system to fiddle with).
>
> I could however create a second user account in OS X for such purpose and
> then try to sync the "shared" parts of the emacs/org-mode configuration
> files.
>
> I thought that it should be easy (give I know, how) to have 2 branches in
> my
> mercurial repository, one for the "general settings" and one also
> containing
> my private data.
>
> Another solution might be to have 2 different stages of emacs/org-mode
> configuration files and if necessary "reset" emacs and org-mode by a
> command
> and then only load the "public" configuration for demo purpose.
>
> Kind regards
>
> Martin
>
> > Von: Noorul Islam K M <noorul@noorul.com>
> > Datum: Mon, 14 Oct 2013 09:30:15 +0530
> > An: Nick Dokos <ndokos@gmail.com>
> > Cc: <emacs-orgmode@gnu.org>
> > Betreff: Re: [O] Setup for switching between 2 org-mode configurations
> > (demo/productive)?
> >
> > Nick Dokos <ndokos@gmail.com> writes:
> >
> >> Karl Voit <devnull@Karl-Voit.at> writes:
> >>
> >>> * M <Elwood151@web.de> wrote:
>
> >>>> I'd like to set up org-mode in a way to separate my personal data
> from my
> >>>> gerenal settings.
> >>>> and easily re-enable them later.
> >>> [...]
> >>>> I assume that some of you already have something like that or can
> recommend
> >>>> a way for doing so?
> >>>
> >>> I by myself did chose a manual attempt so far: temporarily modifying
> >>> org-agenda-files to one demo file [1] and sticking to this demo file
> >>> only while showing stuff.
> >>
> >> It may be worth considering running in a virtual machine.
> >
> > And RAM and CPU cycles being cheap these days, I second this suggestion.
> >
> > Take a look at
> >
> > http://docs.vagrantup.com/v2/getting-started/
> >
> > Thanks and Regards
> > Noorul
> >
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 3670 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Setup for switching between 2 org-mode configurations (demo/productive)?
  2013-10-14  5:01       ` M
  2013-10-14  5:22         ` Iannis Zannos
@ 2013-10-15  2:31         ` Mike McLean
  1 sibling, 0 replies; 9+ messages in thread
From: Mike McLean @ 2013-10-15  2:31 UTC (permalink / raw)
  To: M; +Cc: Karl Voit, Nick Dokos, emacs-orgmode, Noorul Islam K M

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]


On Oct 14, 2013, at 1:01 AM, M <Elwood151@web.de> wrote:

> Running a virtual machine for the second setup is an interesting idea, but
> it is problematic, as I'm using MacOS X 10.6 and AFAIK it is not permitted
> to run it in a VM.

It is allowed according to the license as long as it is on Apple hardware. So running VMWare Fusion or Parallels on OS X, with another copy of OS X as the guest would be a possible solution.

[-- Attachment #2: Type: text/html, Size: 2712 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Setup for switching between 2 org-mode configurations (demo/productive)?
  2013-10-03  7:33 Setup for switching between 2 org-mode configurations (demo/productive)? M
  2013-10-03  8:02 ` Karl Voit
@ 2013-10-31  0:44 ` Alexander Baier
  1 sibling, 0 replies; 9+ messages in thread
From: Alexander Baier @ 2013-10-31  0:44 UTC (permalink / raw)
  To: emacs-orgmode

M <Elwood151@web.de> writes:

> Hi,
>
> I'd like to set up org-mode in a way to separate my personal data from my
> gerenal settings.
>
> Why?
> I'd like to be able to quickly and easily create tutorials or minimal
> examples with sample data without having to worry about publishing
> private/personal information anywhere.
> So I'm searching for a way to "disable" all personal data with one command
> and easily re-enable them later.
>
> I assume that some of you already have something like that or can recommend
> a way for doing so?
> I'm using Mercurial for versioning my org-mode files (but honestly I have no
> ideas about the advanced features of version control like branching,
> merging, etc., I'm just abusing it for regularly storing backups of my setup
> and data and making a diff, if something got messed up or accidently
> deleted).
>
> Kind regards
>
> Martin

You might want to watch Cask.el [1] as you might be able to configure a
little emacs instace with only those things that you need for that demo
fairly easily. There are certainly some interesting things there.


Regards,
  Alex

___
[1]  https://github.com/cask/cask

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-10-31  0:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-03  7:33 Setup for switching between 2 org-mode configurations (demo/productive)? M
2013-10-03  8:02 ` Karl Voit
2013-10-03 11:39   ` Nick Dokos
2013-10-03 17:41     ` Karl Voit
2013-10-14  4:00     ` Noorul Islam K M
2013-10-14  5:01       ` M
2013-10-14  5:22         ` Iannis Zannos
2013-10-15  2:31         ` Mike McLean
2013-10-31  0:44 ` Alexander Baier

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).