[Orgmode] Horizontal lines in tables

2007-11-28 Thread D. Kapetanakis
Thanks for 5.14.

works pretty good except that when I try to export in HTML an org file
containing a table with a first horizontal line like the following

|+|
| 172141 ||
|+|
|  16000 | 20582162-6 |
|  2 ||
|   7725 | 20582165-1 |
|   5000 | 20582166-9 |
|   1000 ||
|+|
| 221866 ||
#+TBLFM: @7$1=vsum(@[EMAIL PROTECTED])


I get

mapconcat: Args out of range: [2], 1

while if I delete the first line (the horizontal) I get HTML but the
horizontal line inside the table does not get transformed to an html
horizontal line.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

**




___
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] Restricting the agenda to the current subtree

2007-11-28 Thread Rick Moynihan

Bastien wrote:

Hi Rick,

Rick Moynihan [EMAIL PROTECTED] writes:


Firstly is it possible to bind this to a simple key-chord though as I'm
finding

C-a   a

A little unwieldy.


You can still press `C-c a 0' instead -- this keybinding is kept for
backward compatibility.


Also, how about implementing another follow command, that does the
opposite of following movements in the agenda view and displaying them
in the file.  i.e. When enabled it uses the org-goto interface to follow
movements within the file and display the restricted agenda view in
another window.


I'm not sure to understand.  


Do you mean: while browsing an org file with org-goto, display the
current entry in an agenda view when available?  


Yes, but an appropriately filtered agenda view to the current subtree.

Maybe you could give a

try to `org-toc.el': when the info mode is on and you are browsing the
table of contents, it displays any timestamp the entry may have (which I
find more light than building agenda views successively...)


Thanks for this, when I find the time I'll take a look at it.

R.


___
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] Horizontal lines in tables

2007-11-28 Thread Dimitris Kapetanakis
Thanks for 5.14.



works pretty good except that when I try to export in HTML an org file
containing a table with a first horizontal line like the following



|+|

| 172141 ||

|+|

|  16000 | 20582162-6 |

|  2 ||

|   7725 | 20582165-1 |

|   5000 | 20582166-9 |

|   1000 ||

|+|

| 221866 ||

#+TBLFM: @7$1=vsum(@[EMAIL PROTECTED])





I get



mapconcat: Args out of range: [2], 1



while if I delete the first line (the horizontal) I get HTML but the
horizontal line inside the table does not get transformed to an html
horizontal line.
___
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] Horizontal lines in tables

2007-11-28 Thread Carsten Dominik
Fixed, thanks.

- Carsten

On 11/28/07, Dimitris Kapetanakis [EMAIL PROTECTED] wrote:


 Thanks for 5.14.



 works pretty good except that when I try to export in HTML an org file
 containing a table with a first horizontal line like the following



 |+|

 | 172141 ||

 |+|

 |  16000 | 20582162-6 |

 |  2 ||

 |   7725 | 20582165-1 |

 |   5000 | 20582166-9 |

 |   1000 ||

 |+|

 | 221866 ||

 #+TBLFM: @7$1=vsum(@[EMAIL PROTECTED])





 I get



 mapconcat: Args out of range: [2], 1



 while if I delete the first line (the horizontal) I get HTML but the
 horizontal line inside the table does not get transformed to an html
 horizontal line.
 ___
 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Bug with org-startup-folded?

2007-11-28 Thread Wanrong Lin

Hi,

I like to have newly opened org-mode files in overview (folded) mode. 
With org-startup-folded set to t, this seems to only work partially. 
That is, when I firstly open an file, say xyz.org file, the file is 
unfolded. But if I kill the buffer, and open the same file again, it 
will be folded. At first I thought this is because the interference from 
the session package. But I removed that package and nothing changed. I 
am using the latest (5.15) org-mode.


Thanks if someone can look into this.

Wanrong


___
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] emphasis customization error

2007-11-28 Thread Scott Otterson

While in the customization group Org Font Lock, I get this error message:

   scan error: unbalanced parenthesis, 22124, 47405

After I have set org hide emphasis markers to on and have clicked 
the set for current session button.


I'm using emacs 22.1.1 and org 5.15

Scott


___
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] Re: Feature request: custom clock headings

2007-11-28 Thread Tom Weissmann
Bastien bzg at altern.org writes:

 Looks nice.  Can you share your advice on this list?  Thanks!

Yes, of course:

(defvar org-custom-clock-heading nil
  Function that returns a custom \(propertised\) value for the
`org-clock-heading' variable.
Called with point at the new clock)


(defadvice org-clock-in (after org-clock-in-custom-modeline activate)
  Customise the modeline
NB this feature has been requested and may be standard in future versions of
Org-mode
  (when org-custom-clock-heading
(let ((custom-heading (funcall org-custom-clock-heading)))
  (when custom-heading
(setq org-clock-heading custom-heading)
(org-update-mode-line)

 






___
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] Re: [Org-mode 5.14] -- org-remember

2007-11-28 Thread John Rakestraw
Hi --

 For example, if you have `org-remember' bound to `C-c r',
   then `C-u C-c r n' will get you to the file and headline
   given in the template associated with the letter n.

Just tried this out. When I do 'C-u C-c r' I get this in the minibuffer:

Wrong type argument: integer-or-marker-p, nil

When I do 'C-c r' I get the selection list of remember templates as 
expeted.

-- 
John Rakestraw


signature.asc
Description: PGP signature
___
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] Org-mode version 5.15

2007-11-28 Thread James TD Smith
Thanks to Carsten for another org-mode release.

I have found and fixed a few bugs in 5.15:

The code for the %c escape in org-remember-apply-templates caused remember to
stop working if the kill-ring was empty (current-kill raises an error if the 
kill
ring is empty). It also didn't check the X selection, so it wouldn't work
properly if x-select-enable-clipboard is nil (some of us like having two
clipboards :).

org-clock-cancel did not remove the clock information from the modeline.

org-clock-in was using the third matched group of the org-todo-line regex as the
clock string. This included the tags for the entry, so with the default
org-tags-column setting of -80 the clock string was far too long for any entry
with tags. The patch changes this to use org-complex-heading-regex, which can
extract just the title.

The patch attatched fixes all three of these.

Also, 'provide.el' appears to be missing from the tarball.

James
--- org-5.15/org.el 2007-11-28 15:15:16.0 +
+++ org-5.15.mine/org.el2007-11-29 02:27:15.0 +
@@ -12950,7 +12950,14 @@
   (nth 1 entry)
 org-default-notes-file))
 (headline (nth 2 entry))
-(v-c (current-kill 0)) ;; FIXME: protection needed?
+(v-c (if (or (and (eq window-system 'x)
+  (x-cut-buffer-or-selection-value))
+ (bound-and-true-p x-last-selected-text)
+ (bound-and-true-p x-last-selected-text-primary))
+ x-last-selected-text-primary
+   (if ( (length kill-ring) 0)
+   (current-kill 0)
+ nil)))
 (v-t (format-time-string (car org-time-stamp-formats) 
(org-current-time)))
 (v-T (format-time-string (cdr org-time-stamp-formats) 
(org-current-time)))
 (v-u (concat [ (substring v-t 1 -1) ]))
@@ -17673,8 +17680,8 @@
   (if (and org-clock-heading-function
   (functionp org-clock-heading-function))
  (setq org-clock-heading (funcall org-clock-heading-function))
-   (if (looking-at org-todo-line-regexp)
-   (setq org-clock-heading (match-string 3))
+   (if (looking-at org-complex-heading-regexp)
+   (setq org-clock-heading (match-string 4))
  (setq org-clock-heading ???)))
   (setq org-clock-heading (propertize org-clock-heading 'face nil))
   (org-clock-find-position)
@@ -17793,6 +17800,9 @@
 (set-buffer (marker-buffer org-clock-marker))
 (goto-char org-clock-marker)
 (delete-region (1- (point-at-bol)) (point-at-eol)))
+  (setq global-mode-string
+   (delq 'org-mode-line-string global-mode-string))
+  (force-mode-line-update)
   (message Clock canceled))
 
 (defun org-clock-goto (optional delete-windows)
___
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] Org-mode version 5.15

2007-11-28 Thread Carsten Dominik
I applied the patch and fixed the problem with provide.el,  thatnk you.

- Carsten

On 11/29/07, James TD Smith [EMAIL PROTECTED] wrote:
 Thanks to Carsten for another org-mode release.

 I have found and fixed a few bugs in 5.15:

 The code for the %c escape in org-remember-apply-templates caused remember to
 stop working if the kill-ring was empty (current-kill raises an error if the 
 kill
 ring is empty). It also didn't check the X selection, so it wouldn't work
 properly if x-select-enable-clipboard is nil (some of us like having two
 clipboards :).

 org-clock-cancel did not remove the clock information from the modeline.

 org-clock-in was using the third matched group of the org-todo-line regex as 
 the
 clock string. This included the tags for the entry, so with the default
 org-tags-column setting of -80 the clock string was far too long for any entry
 with tags. The patch changes this to use org-complex-heading-regex, which can
 extract just the title.

 The patch attatched fixes all three of these.

 Also, 'provide.el' appears to be missing from the tarball.

 James

 ___
 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [Org-mode 5.14] -- org-remember

2007-11-28 Thread Carsten Dominik
I cannot reproduce this, can you make me a backtrace, please?

- Carsten

On 11/28/07, John Rakestraw [EMAIL PROTECTED] wrote:
 Hi --

  For example, if you have `org-remember' bound to `C-c r',
then `C-u C-c r n' will get you to the file and headline
given in the template associated with the letter n.

 Just tried this out. When I do 'C-u C-c r' I get this in the minibuffer:

 Wrong type argument: integer-or-marker-p, nil

 When I do 'C-c r' I get the selection list of remember templates as
 expeted.

 --
 John Rakestraw

 ___
 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: search for dates as tag or property

2007-11-28 Thread Carsten Dominik
On 11/28/07, Fabian Braennstroem [EMAIL PROTECTED] wrote:
 Hi to you both,

 Carsten Dominik schrieb am 11/28/2007 07:29 AM:
  Fabian,
 
  this will be possible in 5.15.

 Works great! Thanks! The  simulation data management system
 gets better and better :-)
 For the update of my links I use a small python, which does
 the update manually without a hook; though just for the main
 simulation directory link... the next step will be the
 automatic insertion for the properties.
 Is there a function which puts all links of the current tree
 in a kill-ring, which I could use for an external python script?

No.


 BTW: The small tutorial will follow a bit later :-)

Great, I'm looking forward to reading it.

- 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