[Orgmode] Bug: Infinite loop when org-entry-put is called in buffer not in org-mode [6.33trans]

2009-11-25 Thread David Maus

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


When `org-entry-put' is called in a buffer that is not in org-mode
Emacs enters an infinite loop.

Use this simple function

,
|(defun dmj/debug ()
|  Call me within a buffer not in org-mode and I will hang.
|  (interactive)
|  (org-entry-put (point) Prop Val))
`

Create a new buffer in fundamental mode and enter a headline manually:

*test*
,
| * Headline
`
   
Now call dmj/debug interactivly (M-x dmj/debug RET) and Emacs hangs.

Regards,

  -- David

Emacs  : GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3)
 of 2009-11-15 on elegiac, modified by Debian
Package: Org-mode version 6.33trans

current state:
==
(setq
 org-export-latex-default-class scrartcl
 org-clock-in-switch-to-state STARTED
 org-todo-keyword-faces '((TODO :foreground red :weight bold) (STARTED 
:foreground orange red :weight bold)
  (DONE :foreground light green) (MAYBE 
:foreground tomato)
  (WAITING :foreground tan2 :weight bold) 
(CANCELLED :foreground firebrick))
 org-expiry-insert-created-only-if-todo t
 org-agenda-custom-commands '((r Refile New Notes and Tasks tags 
LEVEL=1+REFILE
   ((org-agenda-todo-ignore-with-date nil)))
  (s Started Tasks todo STARTED
   ((org-agenda-todo-ignore-scheduled nil) 
(org-agenda-todo-ignore-deadlines nil)
(org-agenda-todo-ignore-with-date nil))
   )
  )
 org-agenda-files '(/home/david/Org/XXX)
 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
 org-agenda-tags-column -120
 org-checklist-export-function 'org-export-as-ascii
 org-completion-use-ido t
 org-expiry-created-property-name Created
 org-after-todo-state-change-hook '(org-clock-out-if-current 
org-expiry-insert-created org-checklist)
 org-expiry-expiry-timestamp-active nil
 org-agenda-todo-ignore-scheduled t
 org-todo-state-tags-triggers '((todo (NOTE)) ( (NOTE . t)))
 org-log-redeadline 'time
 org-expiry-created-timestamp-active nil
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tags-exclude-from-inheritance '(NOTE ATTACH APPT)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-todo-keywords '((sequence TODO(t) STARTED(s) | DONE(D@))
 (sequence MAYBE(m) WAITING(w@/!) | CANCELLED(C@)))
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-directory ~/Org
 org-log-reschedule 'time
 org-insert-heading-hook '(org-expiry-insert-created)
 org-after-tags-change-hook '(org-expiry-insert-created)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers 
org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-publish-project-alist '((private-dynamic :base-directory ~/Org/www 
:base-extension org :publishing-directory
  ~/www/private :publishing-function 
(org-publish-org-to-html) :recursive t :author
  David Maus :email maus.da...@gmail.com)
 (private-static :base-directory ~/Org/www 
:base-extension css :publishing-directory
  ~/www/private :publishing-function 
org-publish-attachment :recursive t)
 (private :components (private-dynamic 
private-static)))
 org-mode-hook '(#[nil \300\301\302\303\304$\207 [org-add-hook 
change-major-mode-hook org-show-block-all append local] 5])
 org-refile-targets '((org-agenda-files :maxlevel . 3))
 org-confirm-elisp-link-function 'yes-or-no-p
 org-refile-use-outline-path 'file
 org-expiry-wait +3m
 org-log-into-drawer LOGBOOK
 org-agenda-todo-ignore-with-date t
 org-enforce-todo-dependencies t
 org-insert-heading-respect-content t
 org-occur-hook '(org-first-headline-recenter)
 org-from-is-user-regexp \\David Maus\\
 org-tags-column -120
 org-remember-templates '((todo 116 * TODO %^{Description} %^G\n  
:PROPERTIES:\n  :Created: %U\n  :Ref: %a\n  :END:
   refile.org bottom nil)
  (appt 97
   * %^{Description} :APPT:%^G\n  %^T\n  
:PROPERTIES:\n  :Created: %U\n  :Ref: %a\n  :END:
   refile.org bottom nil)
  (note 110 * %^{Description} %^G:NOTE:\n  
:PROPERTIES:\n  :Created: %U\n  :Ref:  %a\n  :END:
   refile.org bottom nil)
  (mail 109
   * TODO %^{Action} 

Re: [Orgmode] Bug: Floating figure inside bullet list generates invalid latex [6.33trans (release_6.33f.19.g4b6d2)]

2009-11-25 Thread Eric S Fraga
At Tue, 24 Nov 2009 20:43:12 +0100,
Carsten Dominik wrote:
 
 
 On Nov 23, 2009, at 11:15 AM, Eric S Fraga wrote:
 
  At Sun, 22 Nov 2009 23:52:50 +0100,
  Carsten Dominik wrote:
 
  Hi Eric,
 
  I have tried to fix this, please verify, and be on the look-out
  if this patch breaks something else.
 
  This is indeed working now!  Thanks.
 
  However, a similar layout (using Matt's recent suggestion of enclosing
  the image in a center block):
 
  --8---cut here---start-8---
 - This slide consists of a bullet point
 
   #+begin_center
   [[file:mip.png]]
   #+end_center
 
 - a figure (above this point)
  --8---cut here---end---8---
 
  doesn't work.  The same problem arises: the \end{itemize} falls
  between the \begin{center} and \end{center} statements.
 
 This does now work, I think, please verify.
 
 - Carsten
 

Seems to be working just fine!  I've used the lecture notes that I
have just sent you (off-list) to test this and the centring works both
within an item (i.e. indented begin_center directives) and outside the
list but surrounded by lists.

Thanks,
eric


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] latex export and beamer columns

2009-11-25 Thread Eric S Fraga
At Wed, 25 Nov 2009 07:28:36 +0100,
Carsten Dominik wrote:
 
 Hi Eric,
 
 tis works just fine for me.
 
 Here are the values of the two variables:
 
 org-emphasis-alist is a variable defined in `org.el'.
 Its value is
 ((* bold b /b)
  (/ italic i /i)
  (_ underline span style=\text-decoration:underline;\ /
 span)
  (= org-code code /code verbatim)
  (~ org-verbatim code /code verbatim)
  (; org-verbatim i /i verbatim)
  (@ org-warning b /b))
 
 
 org-export-latex-emphasis-alist is a variable defined in `org-latex.el'.
 Its value is
 ((* \\textbf{%s} nil)
  (/ \\emph{%s} nil)
  (_ \\underline{%s} nil)
  (+ \\st{%s} nil)
  (= \\verb t)
  (~ \\verb t)
  (@ \\alert{%s} nil))

These are (approximately: without the ; entry and with bold instead
of org-warning for @ in first list) what I have but it's not working
for me (org up to date as of this morning).  The @text@ does not show
up bold in my emacs window for some reason (and the export still
doesn't convert the @ sign).

Can you please suggest how I might debug this?  It would seem to be
something in my configuration and I can start doing a pruning or
divide-and-conquer type of approach but my emacs initialisation is
rather complex so if any other approach for debugging is available,
that would be good.

Thanks,
eric


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [n...@cs.dal.ca: Re: Bug with time summary in column view?]

2009-11-25 Thread Norbert Zeh
Sorry, this should have gone to the list instead of directly to James.

-N

-- 
And it happened all the time that the compromise between two perfectly
rational alternatives was something that made no sense at all.
  -- Neal Stephenson, Anathem
---BeginMessage---
Hi James,

thanks for looking into this, and fixing it.  I'd be happy to test.
Just one question.  If I don't want to overwrite my stable version of
org mode that's installed and I choose to install the git version in a
separate location, how to I instruct emacs to use the git version
instead of the stable one?

Cheers,
Norbetr

James TD Smith [2009.11.25  205 +]:
 Hi Matt and Norbert,
 
 On 2009-11-24 19:00:18(-0500), Matt Lundin wrote:
  James TD Smith ahktenz...@mohorovi.cc writes:
   On 2009-11-24 16:56:27(-0400), Norbert Zeh wrote:
   I just tried the latest org-mode version 6.33f, and I've run into the
   following problem that is not there with version 6.32b but which I can
   also reproduce with version 6.33c (sorry didn't try any other versions).
  
   I've just tried this with the latest org-mode from git and it seems to
   be working fine. There have been no changes to column view since 6.33f
   was tagged.
  
  I'm experiencing the same problem the OP reports (i.e., no effort or
  clocksum summaries) when viewing columns in the agenda. I reported this
  in an earlier email:
  
  http://article.gmane.org/gmane.emacs.orgmode/19937
 
 Ah, I missed that. Sorry.
 
 I've looked into this further and found what I think was causing it. The code
 which calculates the summaries in the agenda was mixing up properties and
 titles, and failing to find the data it was supposed to be summarising. It
 worked if there was no title set on the column being summarised, which is why
 the test I did earlier seemed OK.
 
 It should be fixed now, there's a patch (b0eaeaa) for this in the bugfixes 
 branch at
 git://yog-sothoth.mohorovi.cc/org-mode.
 
 Can one of you give it a try and confirm it fixes your problem? 
 
 James
 
 --
 |-James TD Smith-email/ahktenz...@mohorovi.cc-|
 
 
 

-- 
And it happened all the time that the compromise between two perfectly
rational alternatives was something that made no sense at all.
  -- Neal Stephenson, Anathem
---End Message---
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Adding to a List With No Heading Doesn't Work as Expected

2009-11-25 Thread Ian Barton
I am not sure if this is intended behaviour or not. If I start a new 
document with no headings and type:


- item 1

then press M_Ret, I get:

- item 1
*

If my document is like:

* Heading
- item 1

M-Ret works as expected.

This is with 6.33 trans.

Ian.


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] How to limit mobileorg agendas to only a subset of my custom agendas?

2009-11-25 Thread Christopher Long

Dear Carsten,

   First, thanks!  I grabbed it.  It works well.  And I see you added a 
few nice options too.


   For those as non-fluent in lisp as I am, don't get caught by the 
typo in moble
(as I did when I first copied the setq into my .emacs file).  You want 
the following text:

(or edit it in the customization).

(setq org-mobile-agendas '(a))

   A couple of follow up questions/comments:

1. I tried to export a timeline, but this produced no output.
Is that expected?  I don't think I made a mistake here.  Is timeline 
outside of the

standard agenda views that are pushable?

(setq org-mobile-agendas '(L))

2. I was able to do a work-around with the month view with a custom command:

(p my timeline agenda  ((org-agenda-ndays 28)))

(setq org-mobile-agendas '(p)) ;; actually I did it in the 
customization screen


Thanks again!

Stoph

P.S. I've been using org-mode for a while, but picked up some additional 
tips

from watching your google talk yesterday.  Thanks for the pointer to it.


Carsten Dominik wrote:


On Nov 23, 2009, at 11:05 PM, Christopher Long wrote:


Dear All,

 Is there a way to limit the custom agendas synced with mobile org?
I didn't see anything on that in previous posts.
 I have a set of custom agendas defined in my .emacs file.  They 
don't exist as individual files (anywhere that I know about) until I 
do a push
command.   I'd really just like ONE of them to sync.  At the moment, 
they all sync slowing things down a lot.


There is now, get the latest git version and then do

(setq org-moble-agendas '(a))

where a is the selection letter of the agenda you'd like to have.

HTH

- Carsten





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Sorting of Lists Beginning with a Link Does Not Work as Expected

2009-11-25 Thread Ian Barton
- [[./benighted_on_the_ben.html][Benighted on the Ben.]] A Winter ascent 
of Glover's Chimney almost leads to bed  breakfast on the summit of Ben 
Nevis.
- [[./route_major.html][Route Major.]] We get lost on the famous route 
on Mont Blanc's southern side.
- [[file:a_walk_in_the_berwyns.org][A Walk in the Berwyns]]  Just to 
show I don't always get lost.
- [[file:castell_helen_gogarth.org][Castell Helen Gogarth]]  Classic 
cliff with a cafe at the top!
- [[file:crowberry_left_fork.org][Crowberry Gully, Left Fork]] Buchaille 
Etive Mor. Much more fun than the ordinary straightforward route.
- [[file:first_pinnacle_rib_tryfan.org][First Pinaccle Rib Tryfan]] How 
not to go climbing with young children.


Again I am not sure if this is expected behaviour. If I try to sort the 
above list using any of the available methods, it doesn't get sorted at all.


Using alpha sort I would expect the list to sort starting with the link 
description and then to consider the rest of the text.


Ian.


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Bug with time summary in column view?

2009-11-25 Thread Matthew Lundin
Hi James, 

James TD Smith ahktenz...@mohorovi.cc writes:

 I'm experiencing the same problem the OP reports (i.e., no effort or
 clocksum summaries) when viewing columns in the agenda. I reported this
 in an earlier email:
 
 http://article.gmane.org/gmane.emacs.orgmode/19937

 Ah, I missed that. Sorry.

 I've looked into this further and found what I think was causing it. The code
 which calculates the summaries in the agenda was mixing up properties and
 titles, and failing to find the data it was supposed to be summarising. It
 worked if there was no title set on the column being summarised, which is why
 the test I did earlier seemed OK.

 It should be fixed now, there's a patch (b0eaeaa) for this in the bugfixes 
 branch at
 git://yog-sothoth.mohorovi.cc/org-mode.

 Can one of you give it a try and confirm it fixes your problem? 

The patch fixes the problem. Thanks.

- Matt


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Bug with time summary in column view?

2009-11-25 Thread Norbert Zeh
Norbert Zeh [2009.11.25  543 -0400]:
 Hi James,
 
 thanks for looking into this, and fixing it.  I'd be happy to test.
 Just one question.  If I don't want to overwrite my stable version of
 org mode that's installed and I choose to install the git version in a
 separate location, how to I instruct emacs to use the git version
 instead of the stable one?
 
 Cheers,
 Norbetr

Alright, while we're at it ;), here's another somewhat unexpected
behaviour.  I'm not even sure this should be considered a bug, but it's
more a matter of defining what the right behaviour should be.

If I have an entry with an effort estimate of, say, 1:00 and it is shown
in today's agenda because it is scheduled today and the deadline is in 2
days, the 1:00 time effort is counted twice in the effort summary for
the day.  To me, this doesn't make much sense, as it's only one task,
not two.  So, if I were to choose how to treat this situation, I would
simply say that all entries shown because of their deadline should not
be listed in this summary.  Then, of course, this may not be the right
rule in all situations.

Any ideas how one could let the user specify on a per-column basis
whether entries shown because of a deadline should be included in the
summary or not?

Cheers,
Norbert


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Bug with time summary in column view?

2009-11-25 Thread Carsten Dominik

Hi James,

thanks for fixing this so quickly.  I have applied the patch.

- Carsten

On Nov 25, 2009, at 3:05 AM, James TD Smith wrote:


Hi Matt and Norbert,

On 2009-11-24 19:00:18(-0500), Matt Lundin wrote:

James TD Smith ahktenz...@mohorovi.cc writes:

On 2009-11-24 16:56:27(-0400), Norbert Zeh wrote:
I just tried the latest org-mode version 6.33f, and I've run into  
the
following problem that is not there with version 6.32b but which  
I can
also reproduce with version 6.33c (sorry didn't try any other  
versions).


I've just tried this with the latest org-mode from git and it  
seems to
be working fine. There have been no changes to column view since  
6.33f

was tagged.


I'm experiencing the same problem the OP reports (i.e., no effort or
clocksum summaries) when viewing columns in the agenda. I reported  
this

in an earlier email:

http://article.gmane.org/gmane.emacs.orgmode/19937


Ah, I missed that. Sorry.

I've looked into this further and found what I think was causing it.  
The code
which calculates the summaries in the agenda was mixing up  
properties and
titles, and failing to find the data it was supposed to be  
summarising. It
worked if there was no title set on the column being summarised,  
which is why

the test I did earlier seemed OK.

It should be fixed now, there's a patch (b0eaeaa) for this in the  
bugfixes branch at

git://yog-sothoth.mohorovi.cc/org-mode.

Can one of you give it a try and confirm it fixes your problem?

James

--
|-James TD Smith-email/ahktenz...@mohorovi.cc-|




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


- Carsten





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [BUG] org-export-pdf-remove-logfiles extensions

2009-11-25 Thread Łukasz Stelmach
Hello.

XeLaTeX[1,2] produces some more files than pdflatex. These are:
 .nav, .snm, .vrb. All named the same as the base file. The list in
org-export-as-pdf should be extended or even made customisable.

[1] http://scripts.sil.org/XeTeX
[2] http://en.wikipedia.org/wiki/XeTeX 

-- 
Miłego dnia,
Łukasz Stelmach



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [BUG] org-export-pdf-remove-logfiles extensions

2009-11-25 Thread Carsten Dominik


On Nov 25, 2009, at 1:56 PM, Łukasz Stelmach wrote:


Hello.

XeLaTeX[1,2] produces some more files than pdflatex. These are:
.nav, .snm, .vrb. All named the same as the base file. The list in
org-export-as-pdf should be extended or even made customisable.

[1] http://scripts.sil.org/XeTeX
[2] http://en.wikipedia.org/wiki/XeTeX


Hi,

Are you using XeTeX with Org-mode?

How exactly, can you white a little HOWTO and post it here?

Thanks

- Carsten



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Blorgit Issue with setf

2009-11-25 Thread Francesco Pizzolante
Hi,

After having updated orgmode and blorgit to their latest versions, I kept
getting the following error:

*ERROR*: Symbol's function definition is void: setf

This error was preventing the creation of any html/latex/pdf files.

After applying this patch, everything is back to normal:

--8---cut here---start-8---
diff --git a/elisp/org-interaction.el b/elisp/org-interaction.el
index 5b4868b..6f87971 100644
--- a/elisp/org-interaction.el
+++ b/elisp/org-interaction.el
@@ -1,4 +1,5 @@
 (require 'org)
+(require 'cl)
--8---cut here---end---8---

Maybe cl is no longer loaded by other packages?

Thanks,
Francesco


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Blorgit Issue with setf

2009-11-25 Thread Francesco Pizzolante
Hi,

After having updated orgmode and blorgit to their latest versions, I kept
getting the following error:

*ERROR*: Symbol's function definition is void: setf

This error was preventing the creation of any html/latex/pdf files.

After applying this patch, everything is back to normal:

--8---cut here---start-8---
diff --git a/elisp/org-interaction.el b/elisp/org-interaction.el
index 5b4868b..6f87971 100644
--- a/elisp/org-interaction.el
+++ b/elisp/org-interaction.el
@@ -1,4 +1,5 @@
 (require 'org)
+(require 'cl)
--8---cut here---end---8---

Maybe cl is no longer loaded by other packages?

Thanks,
Francesco


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [babel] Executing sh-code

2009-11-25 Thread Sébastien Vauban
Hi,

I'm trying to execute code through babel, for the first time -- I did use it
for small examples of LP, but not yet for enhanced work.

This is my first file:

--8---cut here---start-8---
* Prerequisites

#+begin_src sh :session ecm
cd ~/Personal
#+end_src
--8---cut here---end---8---

If I C-c on the command, Emacs hangs -- just doing nothing (like waiting for
something that never comes).

C-g gives this:

--8---cut here---start-8---
Debugger entered--Lisp error: (quit)
  accept-process-output(#process shell)
  (while (progn (goto-char comint-last-input-end) (not ...)) 
(accept-process-output (get-buffer-process buffer)))
  (progn (unless (org-babel-comint-buffer-livep buffer) (error ...)) 
(set-buffer buffer) (while (progn ... ...) (accept-process-output ...)))
  (unwind-protect (progn (unless ... ...) (set-buffer buffer) (while ... ...)) 
(set-match-data save-match-data-internal (quote evaporate)))
  (let ((save-match-data-internal ...)) (unwind-protect (progn ... ... ...) 
(set-match-data save-match-data-internal ...)))
  (save-match-data (unless (org-babel-comint-buffer-livep buffer) (error ...)) 
(set-buffer buffer) (while (progn ... ...) (accept-process-output ...)))
  (save-window-excursion (save-match-data (unless ... ...) (set-buffer buffer) 
(while ... ...)))
  (org-babel-comint-in-buffer buffer (while (progn ... ...) 
(accept-process-output ...)))
  org-babel-comint-wait-for-output(#buffer *shell*)
  (progn (setq sh-buffer (current-buffer)) (org-babel-comint-wait-for-output 
sh-buffer))
  (if newp (progn (setq sh-buffer ...) (org-babel-comint-wait-for-output 
sh-buffer)))
  (when newp (setq sh-buffer (current-buffer)) 
(org-babel-comint-wait-for-output sh-buffer))
  (let* ((session ...) (sh-buffer ...) (newp ...)) (if (and sh-buffer ... ...) 
(setq sh-buffer nil)) (shell sh-buffer) (when newp (setq sh-buffer ...) 
(org-babel-comint-wait-for-output sh-buffer)) (setq org-babel-sh-buffers (cons 
... ...)) session)
  (save-window-excursion (let* (... ... ...) (if ... ...) (shell sh-buffer) 
(when newp ... ...) (setq org-babel-sh-buffers ...) session))
  org-babel-sh-initiate-session-by-key(ecm)
  (org-babel-sh-session-buffer (org-babel-sh-initiate-session-by-key session))
  (if (string= session none) nil (org-babel-sh-session-buffer 
(org-babel-sh-initiate-session-by-key session)))
  (unless (string= session none) (org-babel-sh-session-buffer 
(org-babel-sh-initiate-session-by-key session)))
  org-babel-sh-initiate-session(ecm)
  (let* ((processed-params ...) (session ...) (vars ...) (result-type ...) 
(full-body ...)) (org-babel-sh-evaluate session full-body result-type))
  org-babel-execute:sh(cd ~/Personal\n ((:exports . code) (:nocache) 
(:results . replace) (:session . ecm) (:tangle . )))
  funcall(org-babel-execute:sh cd ~/Personal\n ((:exports . code) 
(:nocache) (:results . replace) (:session . ecm) (:tangle . )))
  (setq result (funcall cmd body params))
  (if (and (not arg) new-hash (equal new-hash old-hash)) (save-excursion 
(goto-char ...) (move-end-of-line 1) (forward-char 1) (setq result ...) 
(message ...) result) (setq result (funcall cmd body params)) (if (eq 
result-type ...) (setq result ...)) (org-babel-insert-result result 
result-params info new-hash) result)
  (let* ((info ...) (lang ...) (params ...) (new-hash ...) (old-hash ...) (body 
...) (result-params ...) (result-type ...) (cmd ...) result) (unless (member 
lang org-babel-interpreters) (error Language is not in 
`org-babel-interpreters': %s lang)) (if (and ... new-hash ...) (save-excursion 
... ... ... ... ... result) (setq result ...) (if ... ...) 
(org-babel-insert-result result result-params info new-hash) result))
  org-babel-execute-src-block(nil (sh cd ~/Personal\n ((:exports . code) 
(:nocache) (:results . replace) (:session . ecm) (:tangle . )) ))
  (progn (org-babel-execute-src-block current-prefix-arg info) t)
  (if info (progn (org-babel-execute-src-block current-prefix-arg info) t) nil)
  (let ((info ...)) (if info (progn ... t) nil))
  org-babel-execute-src-block-maybe()
  run-hook-with-args-until-success(org-babel-execute-src-block-maybe)
  org-ctrl-c-ctrl-c(nil)
  call-interactively(org-ctrl-c-ctrl-c nil nil)
--8---cut here---end---8---

and I have an empty Shell buffer:

--8---cut here---start-8---

[Wed Nov 25 15:13:10]
[...@mundaneum] ~
--8---cut here---end---8---

What am I doing wrong?  Or have I set something wrong (or missing) in my
.emacs file?

--8---cut here---start-8---
(require 'org-babel-init)

;; activate a subset of languages
(require 'org-babel-R)
(require 'org-babel-sh)

;; make pre-built helper functions available
(org-babel-load-library-of-babel)
--8---cut here---end---8---

Anything interesting 

[Orgmode] Re: [BUG] org-export-pdf-remove-logfiles extensions

2009-11-25 Thread Sébastien Vauban
Carsten Dominik wrote:
 On Nov 25, 2009, at 1:56 PM, Łukasz Stelmach wrote:

 XeLaTeX produces some more files than pdflatex. These are: .nav, .snm,
 .vrb. All named the same as the base file.

I don't think those extensions are specific to XeLaTeX. I have them as well as
soon as I use beamer and verbatim code.


 Are you using XeTeX with Org-mode?
 How exactly, can you white a little HOWTO and post it here?

I would be interested as well...

Best regards,
  Seb

-- 
Sébastien Vauban



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: C-a marks whole buffer instead of moving to beginning of line = solved

2009-11-25 Thread Rainer Stengele
Hi Carsten,

solved.

Anyway I could not find the setting at all,
but after upgrading to

GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-11-04 on LENNART-69DE564 
(patched)

(from the emacsw32 site) and in the initial setup switching most of the special 
windows stuff off C-a finally stops marking the whole buffer.


Thanks,
Rainer

Carsten Dominik schrieb:
 
 On Nov 19, 2009, at 3:45 PM, Rainer Stengele wrote:
 
 I get:



 C-a runs the command mark-whole-buffer, which is an interactive
 compiled Lisp function in `simple.el'.

 It is bound to C-a, C-x h, menu-bar edit mark-whole-buffer.

 (mark-whole-buffer)

 Put point at beginning and mark at end of buffer.
 You probably should not use this function in Lisp programs;
 it is usually a mistake for a Lisp function to use any subroutine
 that uses or sets the mark.



 I can't seem to find the beast. I already switched off cua mode.
 How can I find where this setting is done?
 
 Hi Rainer
 
 clear out your .emacs file and add stuff back in until the
 problem appears.  If your .emacs file is big, do the
 adding/removing in a bisecting way.  If it gets frustrating, see
 it as an opportunity toe clean up this file :-)
 
 HTH
 
 - Carsten
 

 Thanks,
 Rainer

 Carsten Dominik schrieb:

 On Nov 18, 2009, at 5:30 PM, Rainer Stengele wrote:

 I have

 Org Special Ctrl A/E: Hide Value Value Menu reversed: true line
 boundary first

 Emacs still marks the whole buffer with C-a instead of setting point
 to begin of line.

 What does `C-h k C-a' give you?

 I guess the culprit must be something like pc-select or cua-mode
 or similar, because C-a on windows is supposed to select the buffer.

 - Carsten


 C-e works as expected.
 Where is emacs overriding my C-a setting? I can't find it.

 Rainer


 Org-mode version 6.33trans
 GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-10-14 on
 LENNART-69DE564 (patched)



 ___
 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

 - Carsten





 ___
 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


 
 - Carsten
 
 
 
 
 
 ___
 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
 



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Collaborating with heretics

2009-11-25 Thread andrea

In university projects I use org-mode for writing assignments and
everything else I need to.

Given that the output is wonderful and it's just text my group mates
were very happy or at least didn't offer another alternative.

But the problem is that those people are not emacs users.
One actually is but he still didn't get the beauty of org-mode.

Anyway in this way they insert text and then I have to fix all the
indentation/style errors that are normally done by people not using it.

So the question is, is there another way to edit org-file not from
inside emacs?

Just simple editing (struct-mode and table-mode) would be more than
enough, it doesn't need to have all the power it has normally



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Collaborate with heretics

2009-11-25 Thread andrea
In university projects I use org-mode for writing assignments and
everything else I need to.

Given that the output is wonderful and it's just text my group mates
were very happy or at least didn't offer another alternative.

But the problem is that those people are not emacs users.
One actually is but he still didn't get the beauty of org-mode.

Anyway in this way they insert text and then I have to fix all the
indentation/style errors that are normally done by people not using it.

So the question is, is there another way to edit org-file not from
inside emacs?

Just simple editing (struct-mode and table-mode) would be more than
enough, it doesn't need to have all the power it has normally



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: [BUG] org-export-pdf-remove-logfiles extensions

2009-11-25 Thread Łukasz Stelmach
Sébastien Vauban wxhgmqzgw...@spammotel.com
writes:

 Carsten Dominik wrote:
 On Nov 25, 2009, at 1:56 PM, Łukasz Stelmach wrote:

 XeLaTeX produces some more files than pdflatex. These are: .nav, .snm,
 .vrb. All named the same as the base file.

 I don't think those extensions are specific to XeLaTeX. I have them as
 well as soon as I use beamer and verbatim code.

It's quite possible.

 Are you using XeTeX with Org-mode?
 How exactly, can you white a little HOWTO and post it here?

 I would be interested as well...


It's nothing special really. The only thing I had to do is change
pdflatex to xelatex in org-latex-to-pdf-process. There are some
slight changes in a preamble too. You have to use some packages to take
full advantage of xelatex. They are

  - xunicode and xltxtra --- for utf-8 input,
  - fontspec --- for convenient access to TTF fonts.

I'am not (Xe)LaTeX guru so I can't explain you anything more.

I am creating a beamer presentation so I had to create my preamble from
scrach and add it to org-export-latex-classes (in fact I M-w C-y-ed it
from the web). However, this reminds me of a drawback I found. There is
no way to put some LaTeX code from the Org document into the preamble.
You can use #+begin_latex only for the body.

I use xelatex because it supports UTF-8 input and TTF fonts much better
than any other tex backend.

-- 
Miłego dnia,
Łukasz Stelmach



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [OT] How do you keep your reference data?

2009-11-25 Thread tycho garen

On Sun, Nov 08, 2009 at 04:24:39PM -0600, Marcelo de Moraes Serpa wrote:
 Information that has no potential next action associated but that still has
 potential reference value and that you'd like to keep around, how and where
 do you keep it ?

I (too) used to be a wiki person, and indeed I kept a pretty active personal
wiki with novels, research for novels, scholarly work, task
management, and the like all within an instance of Ikiwiki that I ran
locally on my laptop. While I liked the fact that I could create new
wiki pages at whim, and that I didn't need to fight to figure out
where the info fitted in my 'system'.

The problem with the wiki system, for me, is that wikis really need at
want some serious ongoing maintenance and attention to prevent entropy
from taking over. Wikis are about collaboration, and the great thing
about wikis when they work a lot of people have to be there doing
little bits of work: editing, writing, cataloging/categorization,
organization and the like. When it was just me, I never wanted to do
that work.

I wrote a couple of posts about how I'm using org-mode to deal with
the instant collection of useless facts and bits of
information. They're located here:

http://www.tychoish.com/2009/09/fact-files/

http://www.tychoish.com/2009/03/fact-file-and-orbital-mechanics/



I'm not an everything in org and nothing but org kind of guy. Here's
how my system works, in brief:

- I have a bunch of org files for major projects and spheres of my
  life: my day/employment job, various major writing projects (mostly
  fiction) have their own folders, I have a 'technology and hacking'
  file, I have a general file, and a couple of other odds and
  ends. These files have notes, tasks, projects, and I mostly edit
  them via org-remember, org-agenda, and a little bit of org-refile,
  alas (it would be better to edit these files more organically.) 

- I also have a data.org file which I use as a fact file as defined
  in the blog posts. It doesn't really have tasks, though I do have a
  couple of reading-related statuses: PROCESS and the like.

- All org files are in their own git repository (~/org/). Major fiction
  projects also have their own git repositories. Smaller projects
  including short fiction, blog writing, and the like all share a
  writing git repository. There's also a repo to track content as it
  relates to my day-job work. 

- I sometimes add specific .org files from other repositories and
  locations, to the agenda view.

It seems to work pretty well.

Cheers,
sam

-- 
tycho(ish) @
ga...@tychoish.com
http://www.tychoish.com/
http://www.cyborginstitute.com/
don't get it right, get it written -- james thurber


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Bug with time summary in column view?

2009-11-25 Thread James TD Smith
Hi Norbert,

On 2009-11-25 08:25:08(-0400), Norbert Zeh wrote:
 Norbert Zeh [2009.11.25  543 -0400]:
 Alright, while we're at it ;), here's another somewhat unexpected
 behaviour.  I'm not even sure this should be considered a bug, but it's
 more a matter of defining what the right behaviour should be.

It seems like a bug to me, in that the effort summary for the day will be wrong.

 If I have an entry with an effort estimate of, say, 1:00 and it is shown
 in today's agenda because it is scheduled today and the deadline is in 2
 days, the 1:00 time effort is counted twice in the effort summary for
 the day.  To me, this doesn't make much sense, as it's only one task,
 not two.  So, if I were to choose how to treat this situation, I would
 simply say that all entries shown because of their deadline should not
 be listed in this summary.  Then, of course, this may not be the right
 rule in all situations.
 
 Any ideas how one could let the user specify on a per-column basis
 whether entries shown because of a deadline should be included in the
 summary or not?

I think this will be quite complicated to fix. There are multiple reasons an
item can appear in the agenda: active timestamps, deadlines, scheduling, and in
log mode clocked time and inactive timestamps, so any solution would need to
handle all of those. As far as column view is concerned each line in the agenda
is a different item.

If we attach a property to each line in the agenda indicating where it came from
(using org ids or similar), the summary calculation code for the agenda could
skip entries it had already seen, though I'm not sure it's the right thing to do
for all summary types.

James

--
|-James TD Smith-email/ahktenz...@mohorovi.cc-|


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Agenda not working or am I misunderstanding how it works?

2009-11-25 Thread U Avalos
I have the following completed todo item:

** DONE pay Yolanda
   DEADLINE: 2009-11-24 Tue CLOSED: [2009-11-25 Wed 11:18]

Yet it still appears in the weekly agenda. Is it not working right or is that 
how it's supposed to work? 

Also, when I hit C-c C-w (show deadlines in current buffer), I get ALL todo 
items, even completed items that are really old. Restricting it with a numeric 
prefix (ex: Esc 5 C-c C-w), doesn't work either. I just get all items plus or 
minus the number of days.


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Again on bookmarks

2009-11-25 Thread andrea
So finally I had a very nice function to export bookmarks to html file
and I could import them into a whatever browser.

This is nice since quicksilver can read them and I can find them
quickly.

But the problem is that the importing must be done manually (I didn't
find any automatic process) and it's boring.

So why going to a browser at all?

I suggest we could create a bookmark entry in the agenda which creates
a big buffer with all the links, maybe filtering the links in local
files or other non interesting things.

The problem with html exporting was also that they were all together for
each file, with a org-mode buffer we could still get the original
structure for every bookmark, and easily go to the original resource.

After it maybe could be possible to write a quicksilver plugin for that
and it will be finally wonderful ;)





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [PATCH] org-export-pdf-remove-logfiles extensions

2009-11-25 Thread Łukasz Stelmach
Carsten Dominik carsten.domi...@gmail.com writes:

 On Nov 25, 2009, at 1:56 PM, Łukasz Stelmach wrote:
 XeLaTeX[1,2] produces some more files than pdflatex. These are:
 .nav, .snm, .vrb. All named the same as the base file. The list in
 org-export-as-pdf should be extended or even made customisable.
 I have fixed this.

That's great. How about this one? I'm just not sure 'sexp is the best
type.

P.S. Is it ok to post patches here?

-- 
Miłego dnia,
Łukasz Stelmach

diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index 09e7067..e2959c1 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -400,6 +400,12 @@ This function should accept the file name as its single argument.
 		  (string :tag Shell command))
 		 (function)))
 
+(defcustom org-export-pdf-logfiles
+  '(aux idx log out toc nav snm vrb)
+  The list of file extensions to consider as LaTeX logfiles.
+  :group 'org-export-pdf
+  :type 'sexp)
+
 (defcustom org-export-pdf-remove-logfiles t
   Non-nil means, remove the logfiles produced by PDF production.
 These are the .aux, .log, .out, and .toc files.
@@ -719,7 +725,7 @@ when PUB-DIR is set, use this as the publishing directory.
 	(error PDF file was not produced)
   (set-window-configuration wconfig)
   (when org-export-pdf-remove-logfiles
-	(dolist (ext '(aux idx log out toc nav snm vrb))
+	(dolist (ext org-export-pdf-logfiles)
 	  (setq file (concat base . ext))
 	  (and (file-exists-p file) (delete-file file
   (message Exporting to PDF...done)
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] latex export and beamer columns

2009-11-25 Thread Eric S Fraga
At Wed, 25 Nov 2009 07:28:36 +0100,
Carsten Dominik wrote:
 
 Hi Eric,
 
 tis works just fine for me.
 
 Here are the values of the two variables:
 
 org-emphasis-alist is a variable defined in `org.el'.
 org-export-latex-emphasis-alist  [...]

Carsten,

I am puzzled.  I can get this to work (and it works very well indeed)
but only if I set these variables through the customisation interface
in Emacs (custom-set-variables) and not if I setq them after loading
the packages as I normally do.  No other variables in org-mode give me
this behaviour.

I haven't yet tried seeing if both variables have to be set through
custom-set-variables or only one of them but will try that later.


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Bug: org-insert-link issues error when list of links is empty [6.33trans (release_6.33f.34.gf806)]

2009-11-25 Thread Bernt Hansen

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


C-c C-l RET when there are no links in the list gives the following
backtrace.  This should probably just report a more user-friendly
error message.

-Bernt

--8---cut here---start-8---
Debugger entered--Lisp error: (args-out-of-range  -1 0)
  substring( -1)
  (equal : (substring link -1))
  (and (equal : (substring link -1)) (member (substring link 0 -1) 
all-prefixes) (setq link (substring link 0 -1)))
  (or (member link all-prefixes) (and (equal : ...) (member ... all-prefixes) 
(setq link ...)))
  (if (or (member link all-prefixes) (and ... ... ...)) (setq link 
(org-link-try-special-completion link)))
  (progn (setq link (let ... ...)) (if (or ... ...) (setq link ...)))
  (unwind-protect (progn (setq link ...) (if ... ...)) 
(set-window-configuration wcf) (kill-buffer *Org Links*))
  (cond (link-location) ((org-in-regexp org-bracket-link-regexp 1) (setq remove 
...) (setq desc ...) (setq link ...)) ((or ... ...) (setq remove ... link ...)) 
((member complete-file ...) (setq link ...)) (t (with-output-to-temp-buffer 
*Org Links* ... ...) (let ... ... ... ... ...) (setq tmphist ...) (setq 
all-prefixes ...) (unwind-protect ... ... ...) (setq entry ...) (or entry ...) 
(if ... ...) (setq desc ...)))
  (let* ((wcf ...) (region ...) (remove ...) (desc region) tmphist (link 
link-location) entry file all-prefixes) (cond (link-location) (... ... ... ...) 
(... ...) (... ...) (t ... ... ... ... ... ... ... ... ...)) (if (string-match 
org-plain-link-re link) (setq link ...)) (when (and buffer-file-name ...) (let* 
... ...)) (when (string-match ^file:\\(.*\\) link) (let* ... ... ... ...)) 
(if org-make-link-description-function (setq desc ...)) (setq desc (read-string 
Description:  desc)) (unless (string-match \\S- desc) (setq desc nil)) (if 
remove (apply ... remove)) (insert (org-make-link-string link desc)))
  org-insert-link(nil)
  call-interactively(org-insert-link)
--8---cut here---end---8---


Emacs  : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2008-11-09 on raven, modified by Debian
Package: Org-mode version 6.33trans (release_6.33f.34.gf806)


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Bug: / RET filter no longer auto-excludes FILETAGS [6.33trans (release_6.33f.34.gf806)]

2009-11-25 Thread Bernt Hansen

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


I have a function that excludes tasks in the agenda using / RET
(auto-exclude.)  This works in release_6.33f but is broken on the
current master.

One of the following commits breaks it:

There are only 'skip'ped commits left to test.
The first bad commit could be any of:
c6186f49b361dcb2ef05bf769c9abf80307bd658
1a0e1a6f07303aa935a643863c7cb85264e73481

Excluding tasks by FILETAGS only breaks for me.

The tag 'MARK' is a

#+FILETAGS: MARK

entry only in mark.org.  Auto Exclusion of the MARK tag no longer
works with the current master.

My auto exclude functions are inline below:

-Bernt

--8---cut here---start-8---
(defun bh/weekday-p ()
  (let ((wday (nth 6 (decode-time
(and ( wday 6)
 ( wday 0

(defun bh/working-p ()
  (let ((hour (nth 2 (decode-time
(and (bh/weekday-p)
 (or (and (= hour 8) (= hour 11))
 (and (= hour 13) (= hour 16))

(defun bh/mark-p ()
  (let ((hour (nth 2 (decode-time
(or (and (bh/weekday-p)
 (or (= hour 8)
 (and (= hour 16) (= hour 20
(and (not (bh/weekday-p))
 (= hour 9)
 (= hour 20)

(defun bh/org-auto-exclude-function (tag)
  (and (cond
((string= tag @home)
 (bh/working-p))
((string= tag @office)
 (not (bh/working-p)))
((string= tag MARK)
 (not (bh/mark-p)))
((or (string= tag @errand) (string= tag PHONE))
 (let ((hour (nth 2 (decode-time
   (or ( hour 8) ( hour 21)
   (concat - tag)))

(setq org-agenda-auto-exclude-function 'bh/org-auto-exclude-function)
--8---cut here---end---8---




Emacs  : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2008-11-09 on raven, modified by Debian
Package: Org-mode version 6.33trans (release_6.33f.34.gf806)



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Again on bookmarks

2009-11-25 Thread Samuel Wales
On 2009-11-25, andrea andrea.crott...@gmail.com wrote:
 I suggest we could create a bookmark entry in the agenda which creates
 a big buffer with all the links, maybe filtering the links in local
 files or other non interesting things.

That can be done with existing features, IIUC.

I don't know if this is what you're considering, but I'd like to use
org as the central place to store all bookmarks, for all browsers, and
sync.  What needs to be done to make that happen, do you suppose?

-- 
Q: How many CDC scientists does it take to change a lightbulb?
A: You only think it's dark. [CDC has denied ME/CFS for 25 years]
=
Retrovirus: http://www.wpinstitute.org/xmrv/xmrv_qa.html


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] column view face for todo keywords

2009-11-25 Thread Patrick Drechsler

Hi,

is it possible to display TODO keywords in their 
non-column-view-font/face while in column view?


Thankful for any pointers,

Patrick



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] question about export to latex

2009-11-25 Thread John Rakestraw
Hi --

I'm trying to construct an org-export-latex-class to use with Philip
Hirschhorn's exam.cls (http://www-math.mit.edu/~psh/#ExamCls). The
basic structure required in the tex file is this:

\begin{questions}
\question
Here's question 1.
\begin{parts}
\part
Here's part a of question 1.
\part
Here's part b of question 1.
\end{parts}
\question
Here's question 2.
\end{questions}

My question is how do I write the class to account for the opening and
closing of the question/part environments and also designate each
individual question/part element. I'm now working with this:


   (\\begin{questions} \\end{questions} \\begin{questions} \\
\\end{questions}) (\\question . \\question*)
   (\\begin{parts} \\end{parts} \\begin{parts} \\
   \\end{parts}) (\\part . \\part*))


but that (a) seems inelegant and (b) introduces a problematic blank
line in the resulting tex file that messes up the numbering scheme in
the resulting pdf.

I'd appreciate any advice and/or pointers to help on this one.

Thanks.

-- 
John Rakestraw


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: agenda: storing searches _really_

2009-11-25 Thread Christoph Groth
I found a solution to my problem:

Christoph Groth c...@falma.de writes:

 I'm using org 6.29c.  To view all items tagged with :work: in my
 agenda I can type

 C-c a a  (to view the current agenda)
 / TAB work RET   (to restrict the display)


 Now I would like to get the same with typing

 C-c a w

(defun my-org-agenda-list-with-filter (filter)
  (org-agenda-list)
  (org-agenda-filter-by-tag-show-all)
  (org-agenda-filter-apply filter))

(setq org-agenda-custom-commands
  '((w Agenda for work
 my-org-agenda-list-with-filter (+work



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Links to dired buffers with patterns?

2009-11-25 Thread Friedrich Delgado Friedrichs
Hiho!

Has anyone cooked up something to store links to dired buffers with
patterns?

(If you don't know what I mean, open a dired buffer pointing at
~/*.jpg for example.)

I can store links to files in the buffer, but not to the whole buffer,
which normally works in dired buffers by storing a link to '.'.

Would be very useful.

-- 
Friedrich Delgado Friedrichs frie...@nomaden.org
 TauPan on Ircnet and Freenode ;)


pgpOtyvjUKTmO.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [PATCH] org-agenda-filter-by-tag: Do not ignore argument CHAR.

2009-11-25 Thread Christoph Groth
---
 lisp/org-agenda.el |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 846e4b0..cf748f0 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -5130,7 +5130,7 @@ to switch to narrowing.
 (effort-prompt )
 (inhibit-read-only t)
 (current org-agenda-filter)
-char a n tag)
+a n tag)
 (unless char
   (message
%s by tag [%s ], [TAB], %s[/]:off, [+-]:narrow, [=?]:effort: 
-- 
1.6.5



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] bug: only first item gets refiled via remember

2009-11-25 Thread Christoph Groth
I think this is a bug.  It is certainly present in org 6.32b:

* Run org-remember
* Enter more then one item, e.g. two TODOs
* Refile somewhere using C-1 C-c C-c

result: only the first item ends up at the intended destination, the
others are lost.



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Agenda not working or am I misunderstanding how it works?

2009-11-25 Thread Bernt Hansen
U Avalos amscopub-m...@yahoo.com writes:

 I have the following completed todo item:

 ** DONE pay Yolanda
DEADLINE: 2009-11-24 Tue CLOSED: [2009-11-25 Wed 11:18]

 Yet it still appears in the weekly agenda. Is it not working right or is that 
 how it's supposed to work? 

A variable controls that - see org-agenda-skip-deadline-if-done.
There's a similar one for scheduled items and timestamped items.

-Bernt


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] latex export and beamer columns

2009-11-25 Thread Carsten Dominik


On Nov 25, 2009, at 7:03 PM, Eric S Fraga wrote:


At Wed, 25 Nov 2009 07:28:36 +0100,
Carsten Dominik wrote:


Hi Eric,

tis works just fine for me.

Here are the values of the two variables:

org-emphasis-alist is a variable defined in `org.el'.
org-export-latex-emphasis-alist  [...]


Carsten,

I am puzzled.  I can get this to work (and it works very well indeed)
but only if I set these variables through the customisation interface
in Emacs (custom-set-variables) and not if I setq them after loading
the packages as I normally do.  No other variables in org-mode give me
this behaviour.

I haven't yet tried seeing if both variables have to be set through
custom-set-variables or only one of them but will try that later.


Hi Eric,

I wrote in my reply that a restart of Emacs is necessary to make the  
work.
The reason is that the information in these variables must be  
converted into  complicated regexp, and that only happens if you do it  
through customize
(which sets the variable and then calls a hook to do the necessary  
updates),

or if you set the variables in Lisp *before* org.el is loaded.

The docstring of org-emphasis-alist says:

Use customize to modify this, or restart Emacs after changing it.

If that is not clear enough, what should I write there?

- Carsten





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] bug: only first item gets refiled via remember

2009-11-25 Thread Carsten Dominik


On Nov 25, 2009, at 11:36 PM, Christoph Groth wrote:


I think this is a bug.  It is certainly present in org 6.32b:

* Run org-remember
* Enter more then one item, e.g. two TODOs
* Refile somewhere using C-1 C-c C-c

result: only the first item ends up at the intended destination, the
others are lost.


Remember is only for single entries, not for multiple ones.

- Carsten





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


- Carsten





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] How lecturers/professors manage weekly classes appts on org?

2009-11-25 Thread Daniel Martins
The question of time ranged notes on the agenda is quite important

How lecturers/professors manage weekly classes appts on org?

How to put some classes on a certain periods? How to skip holidays as
eg remind package do?

Daniel
2009/11/23 Łukasz Stelmach lukasz.stelm...@iem.pw.edu.pl:
 lukasz.stelm...@iem.pw.edu.pl (Łukasz Stelmach) writes:

 Isn't it wrong when a note like this:

 * A very interesting meeting 11:15-12:00
   2009-11-30 Mon--2009-12-01 Tue

 It's funny Markus has asked the same question few days ago in:

 he1hm3$5h...@ger.gmane.org

 What's more ausing is that in fact I also have Project Management
 Workshop :-)

 EOT.

 --
 Miłego dnia,
 Łukasz Stelmach



 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: bug: only first item gets refiled via remember

2009-11-25 Thread Christoph Groth
Carsten Dominik carsten.domi...@gmail.com writes:

 On Nov 25, 2009, at 11:36 PM, Christoph Groth wrote:

 I think this is a bug.  It is certainly present in org 6.32b:

 * Run org-remember
 * Enter more then one item, e.g. two TODOs
 * Refile somewhere using C-1 C-c C-c

 result: only the first item ends up at the intended destination, the
 others are lost.

 Remember is only for single entries, not for multiple ones.

This is certainly not a big issue, but is such a restriction necessary?
I often find it useful to enter several related TODO items into a single
remember buffer.  And if one then presses C-c C-c (as opposed to C-1 C-c
C-c) the entries following the first are not lost.

Christoph



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: How lecturers/professors manage weekly classes appts on org?

2009-11-25 Thread Matt Lundin
Daniel Martins daniel...@gmail.com writes:

 The question of time ranged notes on the agenda is quite important

 How lecturers/professors manage weekly classes appts on org?

 How to put some classes on a certain periods? How to skip holidays as
 eg remind package do?

http://orgmode.org/worg/org-faq.php#diary-sexp-in-org-files

Best, 
Matt


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [PATCH] org-export-pdf-remove-logfiles extensions

2009-11-25 Thread GT
My first mail on the list! Love org-mode by the way.

 XeLaTeX[1,2] produces some more files than pdflatex. These are:
 .nav, .snm, .vrb. All named the same as the base file. The list in
 org-export-as-pdf should be extended or even made customisable.

I second you on this one! That would be nice if the log files list was 
customizable.

I use xelatex and bibtex which leads to additional garbage files such as .blg 
and .bbl.

For the moment, I am cleaning the mess with a unix rm command at the end of 
the latex/bibtex processing, like this:

(setq org-latex-to-pdf-process '(xelatex -interaction nonstopmode %s bibtex 
%b xelatex -interaction nonstopmode %s xelatex -interaction nonstopmode %s 
rm *blg *bbl))

best regards,


GT


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Why I can't publish current file?

2009-11-25 Thread Water Lin

I can use my org to build a project and publish file under Windows XP
using EmacsW32. Here is the link of EmacsW32:
--
http://www.ourcomments.org/Emacs/EmacsW32.html

But while I try to publish the file under Ubuntu, the org provides me a
error message:
-
org-publish-file: Wrong type argument: arrayp, nil
-

But I can still export html using command M-x
org-export-region-as-html.

Why? Any way to trac this problem?

Thanks

Water Lin
-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Why I can't publish current file?

2009-11-25 Thread Nick Dokos
Water Lin water...@ymail.com wrote:

 
 I can use my org to build a project and publish file under Windows XP
 using EmacsW32. Here is the link of EmacsW32:
 --
 http://www.ourcomments.org/Emacs/EmacsW32.html
 
 But while I try to publish the file under Ubuntu, the org provides me a
 error message:
 -
 org-publish-file: Wrong type argument: arrayp, nil
 -
 
 But I can still export html using command M-x
 org-export-region-as-html.
 
 Why? Any way to trac this problem?
 

Yes: get a backtrace.  Also use org-submit-bug-report in order to gather
information about your setup. It is all described in the Org manual,
section 1.4 Feedback or at

http://orgmode.org/manual/Feedback.html#Feedback

Nick




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] column view face for todo keywords

2009-11-25 Thread Carsten Dominik


On Nov 25, 2009, at 9:33 PM, Patrick Drechsler wrote:


Hi,

is it possible to display TODO keywords in their non-column-view- 
font/face while in column view?


No, I don't think it is possible.

- Carsten



Thankful for any pointers,

Patrick



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


- Carsten





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [PATCH] org-agenda-filter-by-tag: Do not ignore argument CHAR.

2009-11-25 Thread Carsten Dominik

Nice catch.  Applied, thanks.

- Carsten

On Nov 25, 2009, at 11:29 PM, Christoph Groth wrote:


---
lisp/org-agenda.el |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 846e4b0..cf748f0 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -5130,7 +5130,7 @@ to switch to narrowing.
(effort-prompt )
(inhibit-read-only t)
(current org-agenda-filter)
-char a n tag)
+a n tag)
(unless char
  (message
   %s by tag [%s ], [TAB], %s[/]:off, [+-]:narrow,  
[=?]:effort: 

--
1.6.5



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


- Carsten





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: bug: only first item gets refiled via remember

2009-11-25 Thread Carsten Dominik


On Nov 26, 2009, at 1:45 AM, Christoph Groth wrote:


Carsten Dominik carsten.domi...@gmail.com writes:


On Nov 25, 2009, at 11:36 PM, Christoph Groth wrote:


I think this is a bug.  It is certainly present in org 6.32b:

* Run org-remember
* Enter more then one item, e.g. two TODOs
* Refile somewhere using C-1 C-c C-c

result: only the first item ends up at the intended destination, the
others are lost.


Remember is only for single entries, not for multiple ones.


This is certainly not a big issue, but is such a restriction  
necessary?


No.

If you want, make me a patch!

- Carsten

I often find it useful to enter several related TODO items into a  
single
remember buffer.  And if one then presses C-c C-c (as opposed to C-1  
C-c

C-c) the entries following the first are not lost.

Christoph



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


- Carsten





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Bug: org-insert-link issues error when list of links is empty [6.33trans (release_6.33f.34.gf806)]

2009-11-25 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Nov 25, 2009, at 7:13 PM, Bernt Hansen wrote:



Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?   
See


http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


C-c C-l RET when there are no links in the list gives the following
backtrace.  This should probably just report a more user-friendly
error message.

-Bernt

--8---cut here---start-8---
Debugger entered--Lisp error: (args-out-of-range  -1 0)
 substring( -1)
 (equal : (substring link -1))
 (and (equal : (substring link -1)) (member (substring link 0 -1)  
all-prefixes) (setq link (substring link 0 -1)))
 (or (member link all-prefixes) (and (equal : ...) (member ... all- 
prefixes) (setq link ...)))
 (if (or (member link all-prefixes) (and ... ... ...)) (setq link  
(org-link-try-special-completion link)))

 (progn (setq link (let ... ...)) (if (or ... ...) (setq link ...)))
 (unwind-protect (progn (setq link ...) (if ... ...)) (set-window- 
configuration wcf) (kill-buffer *Org Links*))
 (cond (link-location) ((org-in-regexp org-bracket-link-regexp 1)  
(setq remove ...) (setq desc ...) (setq link ...)) ((or ... ...)  
(setq remove ... link ...)) ((member complete-file ...) (setq  
link ...)) (t (with-output-to-temp-buffer *Org Links* ... ...)  
(let ... ... ... ... ...) (setq tmphist ...) (setq all-prefixes ...)  
(unwind-protect ... ... ...) (setq entry ...) (or entry ...)  
(if ... ...) (setq desc ...)))
 (let* ((wcf ...) (region ...) (remove ...) (desc region) tmphist  
(link link-location) entry file all-prefixes) (cond (link-location)  
(... ... ... ...) (... ...) (... ...)  
(t ... ... ... ... ... ... ... ... ...)) (if (string-match org-plain- 
link-re link) (setq link ...)) (when (and buffer-file-name ...)  
(let* ... ...)) (when (string-match ^file:\\(.*\\) link)  
(let* ... ... ... ...)) (if org-make-link-description-function (setq  
desc ...)) (setq desc (read-string Description:  desc)) (unless  
(string-match \\S- desc) (setq desc nil)) (if remove (apply ...  
remove)) (insert (org-make-link-string link desc)))

 org-insert-link(nil)
 call-interactively(org-insert-link)
--8---cut here---end---8---


Emacs  : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
of 2008-11-09 on raven, modified by Debian
Package: Org-mode version 6.33trans (release_6.33f.34.gf806)


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


- Carsten





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Bug with time summary in column view?

2009-11-25 Thread Carsten Dominik


On Nov 25, 2009, at 1:25 PM, Norbert Zeh wrote:


Norbert Zeh [2009.11.25  543 -0400]:

Hi James,

thanks for looking into this, and fixing it.  I'd be happy to test.
Just one question.  If I don't want to overwrite my stable version of
org mode that's installed and I choose to install the git version  
in a

separate location, how to I instruct emacs to use the git version
instead of the stable one?

Cheers,
Norbetr


Alright, while we're at it ;), here's another somewhat unexpected
behaviour.  I'm not even sure this should be considered a bug, but  
it's

more a matter of defining what the right behaviour should be.

If I have an entry with an effort estimate of, say, 1:00 and it is  
shown
in today's agenda because it is scheduled today and the deadline is  
in 2

days, the 1:00 time effort is counted twice in the effort summary for
the day.  To me, this doesn't make much sense, as it's only one task,
not two.  So, if I were to choose how to treat this situation, I would
simply say that all entries shown because of their deadline should not
be listed in this summary.  Then, of course, this may not be the right
rule in all situations.

Any ideas how one could let the user specify on a per-column basis
whether entries shown because of a deadline should be included in the
summary or not?


This is, unfortunately, very hard to fix.

A partial remedy could be

(setq org-agenda-skip-scheduled-if-deadline-is-shown t)

but it works the other way round, and I cannot easily make a variable
org-agenda-skip-deadline-if-scheduled-is-shown.

- Carsten



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Sorting of Lists Beginning with a Link Does Not Work as Expected

2009-11-25 Thread Carsten Dominik


On Nov 25, 2009, at 12:04 PM, Ian Barton wrote:

- [[./benighted_on_the_ben.html][Benighted on the Ben.]] A Winter  
ascent of Glover's Chimney almost leads to bed  breakfast on the  
summit of Ben Nevis.
- [[./route_major.html][Route Major.]] We get lost on the famous  
route on Mont Blanc's southern side.
- [[file:a_walk_in_the_berwyns.org][A Walk in the Berwyns]]  Just to  
show I don't always get lost.
- [[file:castell_helen_gogarth.org][Castell Helen Gogarth]]  Classic  
cliff with a cafe at the top!
- [[file:crowberry_left_fork.org][Crowberry Gully, Left Fork]]  
Buchaille Etive Mor. Much more fun than the ordinary straightforward  
route.
- [[file:first_pinnacle_rib_tryfan.org][First Pinaccle Rib Tryfan]]  
How not to go climbing with young children.


Again I am not sure if this is expected behaviour. If I try to sort  
the above list using any of the available methods, it doesn't get  
sorted at all.


Using alpha sort I would expect the list to sort starting with the  
link description and then to consider the rest of the text.


Hi Ian,

the sorting algorithm is not smart enough to analyze links, so this  
will be sorted

the the link URL, which it is.

- Carsten



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [PATCH] org-export-pdf-remove-logfiles extensions

2009-11-25 Thread Carsten Dominik

Hi Lukasz,

I have applied, you patch, thanks.  But...

On Nov 25, 2009, at 6:31 PM, Łukasz Stelmach wrote:


Carsten Dominik carsten.domi...@gmail.com writes:


On Nov 25, 2009, at 1:56 PM, Łukasz Stelmach wrote:

XeLaTeX[1,2] produces some more files than pdflatex. These are:
.nav, .snm, .vrb. All named the same as the base file. The list in
org-export-as-pdf should be extended or even made customisable.

I have fixed this.


That's great. How about this one? I'm just not sure 'sexp is the best
type.


No, I have changed that


P.S. Is it ok to post patches here?


Yes.  But can I convince you to sign the papers with the FSF so that I  
can also accept longer patches from you?


- Carsten



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Sorting of Lists Beginning with a Link Does Not Work as Expected

2009-11-25 Thread Ian Barton

Carsten Dominik wrote:


On Nov 25, 2009, at 12:04 PM, Ian Barton wrote:

- [[./benighted_on_the_ben.html][Benighted on the Ben.]] A Winter 
ascent of Glover's Chimney almost leads to bed  breakfast on the 
summit of Ben Nevis.
- [[./route_major.html][Route Major.]] We get lost on the famous route 
on Mont Blanc's southern side.
- [[file:a_walk_in_the_berwyns.org][A Walk in the Berwyns]]  Just to 
show I don't always get lost.
- [[file:castell_helen_gogarth.org][Castell Helen Gogarth]]  Classic 
cliff with a cafe at the top!
- [[file:crowberry_left_fork.org][Crowberry Gully, Left Fork]] 
Buchaille Etive Mor. Much more fun than the ordinary straightforward 
route.
- [[file:first_pinnacle_rib_tryfan.org][First Pinaccle Rib Tryfan]] 
How not to go climbing with young children.


Again I am not sure if this is expected behaviour. If I try to sort 
the above list using any of the available methods, it doesn't get 
sorted at all.


Using alpha sort I would expect the list to sort starting with the 
link description and then to consider the rest of the text.


Hi Ian,

the sorting algorithm is not smart enough to analyze links, so this will 
be sorted

the the link URL, which it is.


Thanks. I'll sort them manually.

Ian.


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode