[Orgmode] How is C-c > and C-c < meant to be used?

2007-10-21 Thread Charles Cave

I am writing a tutorial on org-mode and dates and was exploring
the C-c >  and C-c < commands.

I am not sure how they are meant to be used, so I am asking list
members who uses these functions?

It appears that C-c > opens up a calendar window which you can scroll
around and select a date. Entering C-c < anywhere in the buffer
will paste that date.  

I don't see applications for this. Ideas?


Charles


___
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


Re: [Orgmode] can't publish attached files to a remote site

2007-10-21 Thread Bastien
"François Puitg" <[EMAIL PROTECTED]> writes:

> After hitting C-c C-e P, the connexion is established and a bunch of
> tramp messages are displayed in the minibuffer.  The org file is
> correctly exported and published, but the attached source file is not:
> at some point, I get a wrong type arg error: number-char-or-marker-p,
> (0 . 7498).

org-publish uses eshell/cp to publish attachments.  Looks like your
problem comes from eshell/cp not being aware of this Tramp syntax? 

Could you check this further please?  Maybe going through the tramp
messages could help, but I'm not sure.

Thanks,

-- 
Bastien


___
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


Re: [Orgmode] (no subject)

2007-10-21 Thread Bastien
"Kevin Brubeck Unhammer" <[EMAIL PROTECTED]> writes:

> Carsten Dominik <[EMAIL PROTECTED]> writes:
>
>>- The agenda dispatcher
>>  + `<' cycles through restriction states.
>
> Is there still a reason for the agenda timeline ("L") having to be
> restricted to the current buffer?

Please check these threads:

  
http://search.gmane.org/?query=timeline+all+agenda-files&group=gmane.emacs.orgmode
 
>From the manual:

  The timeline summarizes all time-stamped items from a single Org-mode
  file in a _time-sorted view_.  The main purpose of this command is to
  give an overview over events in a project.

You can still create your own agenda view displaying the agenda for any
number of days by using `org-agenda-ndays':

 (setq org-agenda-custom-commands
   '(("n" agenda ""
  ((org-agenda-ndays 100)

But this can take longer than displaying the timeline for just one file.

HTH,

-- 
Bastien


___
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


Re: [Orgmode] Does org-stuck-project work?

2007-10-21 Thread Bastien
Wanrong Lin <[EMAIL PROTECTED]> writes:

>  (setq org-stuck-project
>  '("/PROJECT" ("APPOINT") ("NextAction" "Buy") "\\"))

"\\" should work.

`\>' matches the empty string, but only at the end of a word.

-- 
Bastien


___
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


[Orgmode] can't publish attached files to a remote site

2007-10-21 Thread Fran�ois Puitg
Hello,

First of all, thanks for 5.13a release.

The examplefrom  the Org-mode  Manual(section 13.2.2, "complex
publishing configuration")  doesn't  follow the  tramp filename syntax
(that I use below). Am I already missing something here ?

I've tried to publish the following org file (test.org):

blah blah blah
[[file:test.c][test]]

where test.c is just:

int main(void) {return 0;}

Both test.org and test.c are in the same directory.

I've the following setup in my init.el:

(setq org-publish-project-alist
  `(.../...
("TESTorg"
 :base-directory "~/Devel/Emacs/Org/"
 :publishing-directory
 "/[EMAIL PROTECTED]/")
("TESTsources"
 :base-directory "~/Devel/Emacs/Org/"
 :base-extension "c"
 :publishing-directory
 "/[EMAIL PROTECTED]/"
 :publishing-function org-publish-attachment)
("TEST" :components ("TESTorg" "TESTsources"

After hitting C-c C-e P,  the connexion is established  and a bunch of
tramp messages are   displayed in  the  minibuffer.  The org file   is
correctly exported and published, but the attached source file is not:
at some point, I get  a wrong type arg error: number-char-or-marker-p,
(0 . 7498).

Oh, and I can't use EFS because I need ssh.

Backtrace, and system information below.


-- Frnçs


Debugger entered--Lisp error: (wrong-type-argument number-char-or-marker-p (0 . 
7498))
  eshell-shuffle-files("cp" "copying" ("/home/fran/Devel/Emacs/Org/test.c") 
"/[EMAIL PROTECTED]/" copy-file nil t nil)
  (let ((target ...) ange-cache) (setcdr (last args 2) nil) 
(eshell-shuffle-files "cp" "copying" args target (quote copy-file) nil (if ... 
1 ...) preserve))
  (if (and t (string-match eshell-tar-regexp ...) (or ... ...)) 
(eshell-shorthand-tar-command "cp" args) (let (... ange-cache) (setcdr ... nil) 
(eshell-shuffle-files "cp" "copying" args target ... nil ... preserve)) nil)
  (let ((len ...)) (if (or ... ...) (error "%s: missing destination file or 
directory" "cp")) (if (= len 1) (nconc args ...)) (setq args 
(eshell-stringify-list ...)) (if (and t ... ...) (eshell-shorthand-tar-command 
"cp" args) (let ... ... ...) nil))
  (eshell-mvcpln-template "cp" "copying" (quote copy-file) 
eshell-cp-interactive-query eshell-cp-overwrite-files preserve)
  (progn (if archive (setq preserve t no-dereference t recursive t)) 
(eshell-mvcpln-template "cp" "copying" (quote copy-file) 
eshell-cp-interactive-query eshell-cp-overwrite-files preserve))
  eval((progn (if archive (setq preserve t no-dereference t recursive t)) 
(eshell-mvcpln-template "cp" "copying" (quote copy-file) 
eshell-cp-interactive-query eshell-cp-overwrite-files preserve)))
  byte-code("..." [body-forms name last-value options args nil 0 :show-usage 
throw eshell-usage eshell-show-usage eshell-process-args eval append progn] 5)
  byte-code("..." [usage-msg eshell-usage (byte-code "ÅGÆU«Çs«ˆÈÉÊ  \"\"ˆË 
#ÌÍÎC\"!Ň" [body-forms name last-value options args nil 0 :show-usage 
throw eshell-usage eshell-show-usage eshell-process-args eval append progn] 5) 
error] 2)
  eshell-do-opt("cp" ((?a "archive" nil archive "same as -dpR") (?d 
"no-dereference" nil no-dereference "preserve links") (?f "force" nil force 
"remove existing destinations, never prompt") (?i "interactive" nil interactive 
"request confirmation if target already exists") (?n "preview" nil preview 
"don't change anything on disk") (?p "preserve" nil preserve "preserve file 
attributes if possible") (?R "recursive" nil recursive "copy directories 
recursively") (?v "verbose" nil verbose "explain what is being done") (nil 
"help" nil nil "show this usage screen") :preserve-args :external "cp" 
:show-usage :usage "[OPTION]... SOURCE DEST\n   or:  cp [OPTION]... SOURCE... 
DIRECTORY\nCopy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.") ((if 
archive (setq preserve t no-dereference t recursive t)) (eshell-mvcpln-template 
"cp" "copying" (quote copy-file) eshell-cp-interactive-query 
eshell-cp-overwrite-files preserve)))
  eshell/cp("/home/fran/Devel/Emacs/Org/test.c" "/[EMAIL PROTECTED]/")
  (let ((destination ...)) (eshell/cp filename destination))
  org-publish-attachment((:base-directory "~/Devel/Emacs/Org/" :base-extension 
"c" :publishing-directory "/[EMAIL PROTECTED]/" :publishing-function 
org-publish-attachment) "/home/fran/Devel/Emacs/Org/test.c")
  funcall(org-publish-attachment (:base-directory "~/Devel/Emacs/Org/" 
:base-extension "c" :publishing-directory "/[EMAIL PROTECTED]/" 
:publishing-function org-publish-attachment) 
"/home/fran/Devel/Emacs/Org/test.c")
  (if (listp publishing-function) (mapc (lambda ... ...) publishing-function) 
(funcall publishing-function plist f))
  (progn (if (listp publishing-function) (mapc ... publishing-function) 
(funcall publishing-function plist f)) (org-publish-update-timestamp f))
  (if (org-publish-needed-p f) (progn (if ... ... ...) 
(org-publish-update-timestamp f)))
 

[Orgmode] (no subject)

2007-10-21 Thread Kevin Brubeck Unhammer
Carsten Dominik <[EMAIL PROTECTED]> writes:

>- The agenda dispatcher
>  + `<' cycles through restriction states.

Is there still a reason for the agenda timeline ("L") having to be
restricted to the current buffer?

--
Kevin Brubeck Unhammer


___
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