org-mode
Forum rules
Share your brain ;)
Share your brain ;)
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: org-mode
ahh yes -thanks. excuse me!
oh yes, much nicer.
so [[link-location][desc]] smart :)
oh yes, much nicer.
so [[link-location][desc]] smart :)
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: org-mode
someone needs to explain all this shit:
do I link the hashhash, or not? I take it tilde is a swap or a temp file?
OK OK. dealt with it. removed all that, still no idea whay it makes those ##files.org##
Code: Select all
wux@dimholt:~$ ls orgy/
##contacts.org##~ contacts.org #company.org# #ticket.org# work.org
#contacts.org# contacts.org~ ##ticket.org## #ticket.org#~ work.org~
OK OK. dealt with it. removed all that, still no idea whay it makes those ##files.org##
Re: org-mode
If you've opened #file# and emacs then autosaves that file, I would assume it becomes ##file##
Re: org-mode
#file# is autosave, just so you can revert easily if something goes wrong
file~ is a backup copy.
If you want to prevent spamming your directories with backups, you can do something like this:
file~ is a backup copy.
If you want to prevent spamming your directories with backups, you can do something like this:
Code: Select all
(setq backup-directory-alist '((".*" . "~/.emacs.d/backup"))
version-control t ; Version number for backup files
delete-old-versions t)
(setq auto-save-list-file-prefix "~/.emacs.d/autosave/"
auto-save-file-name-transforms '((".*" "~/.emacs.d/autosave/" t)))
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: org-mode
note: if you try to sync/copy a directory with autosaved files (like # or ~ in their name), this won't always work with FUSE (for example ExtFS). It will require you to rename or delete them anyway then. So the idea of Gekko is a good one, simply turn off the tilde or make it use another extension, and don't link to backup or autosave files.
..gnutella..
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: org-mode
Thank you, bet you are regretting wuxmacs now...
It's working fairly nicely, the odd things are; to swap buffer from vertical to horzontal, is a bit crazy (I just close, reopen with the window taller than wide)
this: http://emacs.stackexchange.com/question ... rnal-links
I guess that line goes in emacs.d/somewhere?
Got the thing set up nice, need to do the 'open on that page' by default.
not sure if i need the contacts set by column, looks pretty, but rather too long.
I guess I can make tags instead of column entries, the column didn't export any useful data as HTML (I'd like a web view.)
so not sure what the difference/benefits would be.
It's working fairly nicely, the odd things are; to swap buffer from vertical to horzontal, is a bit crazy (I just close, reopen with the window taller than wide)
this: http://emacs.stackexchange.com/question ... rnal-links
I guess that line goes in emacs.d/somewhere?
Got the thing set up nice, need to do the 'open on that page' by default.
not sure if i need the contacts set by column, looks pretty, but rather too long.
I guess I can make tags instead of column entries, the column didn't export any useful data as HTML (I'd like a web view.)
so
Code: Select all
* contacts
** contact, name
phone: 232323
email: [email protected]
etc...
** another, contact
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: org-mode
You want horizontal split by default?
in ~/.emacs , save and re-evaluate (using "M-x eval-buffer")
Code: Select all
(setq split-height-threshold 0)
(setq split-width-threshold 0)
..gnutella..
Re: org-mode
Something useful (YMMV):
Code: Select all
(setq org-log-done 'time
org-hide-emphasis-markers t
org-refile-targets '((org-agenda-files . (:maxlevel . 6)))
org-agenda-start-on-weekday nil
org-agenda-include-diary t
org-agenda-use-time-grid t
;; Follow links by pressing ENTER on them
org-return-follows-link t)
(setq org-directory (expand-file-name "~/org/")
org-default-notes-file
(expand-file-name "organizer.org" org-directory))
;; Use visual-line-mode
(add-hook 'org-mode-hook #'visual-line-mode)
;; Define TODO workflow states
(setq org-todo-keywords
'("TODO(t)" "WAITING(w)" "INFO(i)"
"|" "CANCELLED(c)" "DONE(x)"))
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: org-mode
About export to HTML, that's something like C-c C-e h h
I am not sure if this is what you mean or actually want. Can you elaborate a bit?
http://orgmode.org/manual/Handling-links.html
Maybe you actually want something like a spreadsheet functionality? That does work: http://orgmode.org/worg/org-tutorials/o ... intro.html
Sorry for being a bit slow :D
I am not sure if this is what you mean or actually want. Can you elaborate a bit?
http://orgmode.org/manual/Handling-links.html
Maybe you actually want something like a spreadsheet functionality? That does work: http://orgmode.org/worg/org-tutorials/o ... intro.html
Sorry for being a bit slow :D
..gnutella..
Re: org-mode
I use ox-pandoc for pretty HTML exports, with a custom CSS:
You need latest pandoc for this, I grabbed it from here.
Code: Select all
(setq org-pandoc-options '((standalone . t)))
;; Use external css for html5
(let ((stylesheet (expand-file-name
(locate-user-emacs-file "etc/pandoc.css"))))
(setq org-pandoc-options-for-html5
`((css . ,(concat "file://" stylesheet)))))
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: org-mode
Thanks for all the links and things.
so I have a ticket TODO list, with the cust details link to the contacts file, 'file:contacts.org::Name'
There is some, 'no new header, create y/n?' error, I've googled and I think that can be silenced.
both of those buffers (ticket and contacts) are likely open all the time anyway - that all works fine.
Normal html comes out fine, not a prob - it just doesn't contain the customer details just the ** TODO header, it ignores the :PROPERTIES:
Can't really show you -a bit like this :)
all one sees on the html is "1.2 Joe, Debian" thats it, it's probably an export option I missed.
I hate spreadsheets with a passion - so anything like that isn't really what I want. It just that listing type order of tags looked useful when I was searching for a contact list template, everyone else seems to use another thing (ie abook), might as well have it emacs (see, I'm getting into the spirit of the thing!)
just a list of all the details the contacts need to have on them. So I would definitely need a Name:, Adress: type things, so I suppose the tags stay.
Don't worry about slow. I have a long way to go.
so I have a ticket TODO list, with the cust details link to the contacts file, 'file:contacts.org::Name'
There is some, 'no new header, create y/n?' error, I've googled and I think that can be silenced.
both of those buffers (ticket and contacts) are likely open all the time anyway - that all works fine.
Normal html comes out fine, not a prob - it just doesn't contain the customer details just the ** TODO header, it ignores the :PROPERTIES:
Can't really show you -a bit like this :)
Code: Select all
** Joe, Debian
:PROPERTIES:
:Company: Company
:Email: [email protected]
:Phone:
:Mobile:
:END:
I hate spreadsheets with a passion - so anything like that isn't really what I want. It just that listing type order of tags looked useful when I was searching for a contact list template, everyone else seems to use another thing (ie abook), might as well have it emacs (see, I'm getting into the spirit of the thing!)
just a list of all the details the contacts need to have on them. So I would definitely need a Name:, Adress: type things, so I suppose the tags stay.
Don't worry about slow. I have a long way to go.
Re: org-mode
Try adding this to your Org file:
Code: Select all
#+OPTIONS: tags:t prop:t d:t
- franksinistra
- Ivana Fukalot
- Posts: 1093
- Joined: Mon Jan 27, 2014 2:03 am
- Location: 印尼国
Re: org-mode
if you're willing to install extension : http://orgmode.org/worg/org-contrib/
Then do M-x org-contacts, and you're all set
Then do M-x org-contacts, and you're all set
rice no more.
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: org-mode
^ yeah the one that bails:
https://julien.danjou.info/software/org-contacts.el
didn't fancy that one :)
^^ whaddas that do?
c-x c-s is slightly better than :w though..
https://julien.danjou.info/software/org-contacts.el
didn't fancy that one :)
^^ whaddas that do?
c-x c-s is slightly better than :w though..
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: org-mode
yeah, ok so - why the 't' at the end of each option?
it still didn't dump the html, it's on both (only) org files.
not really important.
it still didn't dump the html, it's on both (only) org files.
not really important.
Re: org-mode
The 't' is to enable them (as opposed to 'nil' to disable them).
From this file org:
I get this html file doing "C-c C-e h o": http://www.boccaperta.com/wuxie.html
I am using Org 8.3.4.
From this file org:
Code: Select all
#+STARTUP: showall
#+OPTIONS: prop:t
** Joe, Debian
:PROPERTIES:
:Company: Company
:Email: [email protected]
:Phone:
:Mobile:
:END:
I am using Org 8.3.4.
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: org-mode
^ thanks - that's what I thought it should look like.
I'll have a look once I'm at my desk.
I'll have a look once I'm at my desk.
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: org-mode
^ I get the same - just the ** headers.
can't get an ascii file either. weird.
Emacs 24.5.1 (Org mode 8.2.10) it says.
removed the columns and made it like yours:
I give up, doesn't matter
can't get an ascii file either. weird.
Emacs 24.5.1 (Org mode 8.2.10) it says.
removed the columns and made it like yours:
Code: Select all
#+STARTUP: showall
#+OPTIONS: prop:t
* Contacts
** Last, Name
:PROPERTIES:
:Company: company
[...etc...]
:END: