Re: [Orgmode] Writing raw [1], *aa*, without being interpreted

2007-08-21 Thread Daniel Clemente
   Hi,
   the problem is: I don't want to use fixed font or any special
formatting for the [1]; I want that the [1] is integrated normally in
the text.
   This applies to all Org-mode syntax. Ex: /text/, *text*, ...
   Therefore we need something to avoid interpreting the Org-mode
syntax. Maybe escape manually a caracter: \[1], maybe a block:
\{[1]\}, maybe a null token inside the interpreted string:
[\don't_interpret{}1], ...

-- Daniel.

2007/8/21, Carsten Dominik [EMAIL PROTECTED]:
 Hi Daniel,

 in the next version, also something like

 With
 #+HTML: [1]
 #+ASCII: [1]
 #+LaTeX: [1]
 you can make a footnote.

 will work.  Silly, but still does the trick.

 - Carsten

 On Aug 18, 2007, at 12:19, Daniel Clemente wrote:

  Hi,
in a file I would like to write following line:
  
   „Writing [1] you can create a footnote.
  
 
But then [1] is interpreted as a footnote. I have tried escaping it:
  \[1\] =[1]= \\[1\\] @span[1]@/span etc. but it doesn't work; it's
  always interpreted as a footnote.
How can these 3 characters [1] be written on a file?
 
Of course, disabling footnotes (#+OPTION f:nil) is not a solution
  since I do want to use them eventually.
 
I expected to find this information in the manual, page 75 (example:
  point 11.5.4), but there's nothing about it. I think it's missing a
  type of literal element:  literalthis goes [1] *aa* /aa/
  unprocessed./literal
 
Any idea?
 
Greetings,
  Daniel
 
 
  ___
  Emacs-orgmode mailing list
  Emacs-orgmode@gnu.org
  http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 
 

 --
 Carsten Dominik
 Sterrenkundig Instituut Anton Pannekoek
 Universiteit van Amsterdam
 Kruislaan 403
 NL-1098SJ Amsterdam
 phone: +31 20 525 7477




___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] log entries order question (feature request?)

2007-08-21 Thread Carsten Dominik

Hi Maxim,

this will be the option `org-log-states-order-reversed' in the next
version, you need to set it to nil, default is t.

- Carsten

On Aug 16, 2007, at 15:47, Maxim Loginov wrote:


hi all

I prefer to log activity when doing something with project and set
(setq org-log-done '(state)) in my ~/.emacs.  Usually I change TODO
state several times during project completition and every change the
new log entry appeared on top, just after header.  It is more natural
to add them at the bottom, so you can read log more naturally, from
top (start) to bottom (finish).  Here is an example of typical project
after completion:

* DONE write a paper
- State DONE   [2007-08-16 Thu 20:42] \\
  journal accepted the paper, will be published
  in october
- State WAITING[2007-08-16 Thu 20:41] \\
  boss sad ok, sent paper to journal
- State WAITING[2007-08-16 Thu 20:37] \\
  first draft is ready, sent to boss, waiting
  for comments from him
- State NEXT   [2007-08-16 Thu 20:36] \\
  ok, now I have time to start

but I'd prefer to have it like this:

* DONE write a paper
- State NEXT   [2007-08-16 Thu 20:36] \\
  ok, now I have time to start
- State WAITING[2007-08-16 Thu 20:37] \\
  first draft is ready, sent to boss, waiting
  for comments from him
- State WAITING[2007-08-16 Thu 20:41] \\
  boss sad ok, sent paper to journal
- State DONE   [2007-08-16 Thu 20:42] \\
  journal accepted the paper, will be published
  in october

is there option for this? or is it possible to implement?

thanks
Maxim



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




--
Carsten Dominik
Sterrenkundig Instituut Anton Pannekoek
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: postponing todos

2007-08-21 Thread Carsten Dominik


On Aug 11, 2007, at 16:29, [EMAIL PROTECTED] wrote:


Regarding 'Re: [Orgmode] postponing todos'; Carsten Dominik adds:




I would like to have a solution for the following problem: I browse
TODOs in my agenda view and I would like to postpone them, so
agenda buffers don't list them until a certain date. []



This is what scheduling is for, and then you use the daily/weekly
agenda instead of the todo list to see those entries.  To schedule,
[]


Dear Carsten, your reply was as always most helpful and full of
information, thanks.  However that is not good for me.  I use
org-tags-view all the time, because that way only those tasks get 
listed

that I can actually do (based on context).  I would like to have an
option, that when turned on means that org-tags-view lists all the 
TODOs

that aren't scheduled in the future.


This can be achieved, as has been shown by you and by Bastien, using
special user-defined commands.

Another option, maybe simpler, is to use the local options in agenda
custom commands to insert a function into `org-agenda-skip-function'.

For example, I can write this function:

(defun org-agenda-skip-if-scheduled ()
  Function that can be used in `org-agenda-skip-function',
to skip entries that have been scheduled.
  (let (beg end)
(org-back-to-heading t)
(setq beg (point)) ; beginning of headline
(outline-next-heading)
(setq end (point)) ; end of entry below heading
(goto-char beg)
(if (re-search-forward org-scheduled-time-regexp end t)
end   ; skip, and continue search after END
  nil ; Don't skip, use this entry.
)))

and then define a custom command like this:

(setq org-agenda-custom-commands
'((b tags @SHOP
((org-agenda-skip-function org-agenda-skip-if-scheduled)

org-agenda-skip-function should *never* be set with `setq' or so,
but you can use the options field in custom commands to temporarily
assign a value.

The next version will have two functions,
org-agenda-skip-if-scheduled and
org-agenda-skip-if-scheduled-or-deadline
built-in, so it will be easier to find entries that have no deadline 
and/or

have not been scheduled.  For your specific application, I guess you
also have to look at the timestamp and see if it is in the future.
Having seen your other lisp code, I guess you can do this yourself.

Hope this helps.

- Carsten



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Org-mode files - no fontification

2007-08-21 Thread Kiermeier, Andreas \(PIRSA - SARDI\)
Dear all,

I'm having a problem with getting org-mode to work 'properly'. The
functionality of the various key bindings appears to work without a
problem, but there is absolutely no fontification.

I've have the following lines in my _emacs file.

;; Turn global font locking on
(global-font-lock-mode t) 

(setq load-path (cons d:/emacs/site-lisp/org load-path))
(require 'org)
(add-to-list 'auto-mode-alist '(\\.org\\' . org-mode))
(define-key global-map \C-cl 'org-store-link)
(define-key global-map \C-ca 'org-agenda)

Possibly related to the fontification problem is the display of links -
they always remain as [[link][description]]. I've checked in the Org
menu entry for Hyperlinks - I am using Descriptive Links:.

The minor modes active in my .org file are:

Enabled minor modes: Auto-Compression Auto-Fill Column-Number
Display-Time Encoded-Kbd File-Name-Shadow Font-Lock Global-Font-Lock
Line-Number Menu-Bar Mouse-Wheel Shell-Dirtrack Show-Paren Tooltip
Transient-Mark Unify-8859-On-Encoding Utf-Translate-Cjk


I'm using Windows XP, GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of
2007-06-02, Org-Mode 5.04 (same problem with the version that shipped
with Emacs).

TIA for any pointers.

Cheers,

Andreas

_
Dr Andreas Kiermeier
Senior Statistician
Food Innovation  Safety
South Australian Research  Development Institute
33 Flemington Street, Glenside, SA, 5065

Ph: +61 8 8207 7884
Fax:+61 8 8207 7854
Mob:0423 028 565

Email: [EMAIL PROTECTED]
Web:   http://www.sardi.sa.gov.au/
My Web: http://andreas.kiermeier.googlepages.com/
_
You will find my GPG public key on my personal website.

The information contained within this email is confidential and may be
the subject of legal privilege. This email is intended solely for the
addressee, and if you are not the intended recipient you must not
disclose, copy, use or distribute this email or any of its attachments.
If you have received this email in error, please advise the sender
immediately via email reply, delete the message and any attachments from
your system, and destroy any copies made. PIRSA makes no representation
that this mail or any attached files are free from viruses or other
defects. It is the recipient's responsibility to check the email and any
attached files for viruses or other defects. 


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] include file contents in org files?

2007-08-21 Thread Bastien
Rainer Stengele [EMAIL PROTECTED] writes:

 I'd like to have the initial lines (configuration) of any org file be
 the same.

Perhaps we can use Tempo [1] or Templates [2] for this?

Here is an example using Tempo:

--8---cut here---start-8---
(require 'tempo)

(tempo-define-template org-initial-options
   '(#+STARTUP: overview
#+TAGS: @HOME(h) @IGN @KUNDE(k) @UNTERWEGS(u)
#+TAGS: BESORGEN(b) COMPUTER(c) EMAIL(e) IGNORE(r) INFO(i)
#+STARTUP: hidestars
#+SEQ_TODO: TODO INARBEIT | DONE CANCELED DELEGATED)
   nil
   Insert initial options in Org files.)

(define-abbrev org-mode-abbrev-table options 
  'tempo-template-org-initial-options)
--8---cut here---end---8---

Then just type options at the very beginning of a new Org file, then
press C-x a e, it will expand into the desired options.

Regards,

Notes: 
[1]  http://www.emacswiki.org/cgi-bin/wiki/TempoMode
[2]  http://www.emacswiki.org/cgi-bin/wiki/TemplatesMode

-- 
Bastien


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] include file contents in org files?

2007-08-21 Thread Eddward DeVilla
On 8/21/07, Rainer Stengele [EMAIL PROTECTED] wrote:
 Dear list,

 I'd like to have the initial lines (configuration) of any org file be
 the same. Yes, I could configure everything in my .emacs file - but I
 want to see my configuration - TAGS etc. - at the beginning of my org
 files.
 If I change anything in for example the TAGS section I have to do the
 change in each and every org files I use - which is stupid.
 Is there a possibility to include a file and show it maybe between a
 ruler set?

I've wanted something like that myself so that my org files /could/
stand on their own, but so I would need to edit them all if my
preferred defaults were to change.  Ultimately, I've settled on having
an emacs config that I can move with my files.  At some point I want
to use a package (I can't remember the name) that can split custom
configuration into multiple files.

What might be nice is to be able to put a token at the top of the file
to export the config from custom (or as much as reasonable) into the
file using a config name.  So in custom you set a configuration name
(say eddwards-org-config) and at the top of your file you put

#+INLINE_CONFIG: eddwards-org-config

and org-mode would insert the configuration after it, replace any
config line that might already be there.  If the keyword in the file
doesn't match what is in custom or if there isn't a name given in the
file or custom, then do not insert anything in the file.  Org could
maybe update all of the agenda files as appropriate.

The reason for the name is so I can receive a file from someone else
(say my brother) and not have the config info in his file overlaid
with mine, distorting how he intended the file to be seen.  That would
cover my needs for org, but I'll still probably get a custom splitter
since I'm starting to use emace for more things and I have at least
three separate machine I use it on and I'd like to share some of the
customizations.

Edd


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode