Re: [Orgmode] [misc-new-features 1/5] Add two new special properties, SINCE and SINCE_IA.

2009-07-14 Thread Bastien
Hi James,

welcome back.  Carsten is on vacation for three weeks and I'm
maintaining Org in the meanwhile.

I won't take the decision of adding new special properties without
asking him so I don't apply this patch for now.  But I will use your
patch for a while and see if I find it useful.  If others can test it
as well and give their feedback, even better.

Thanks!

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

 These give the elapsed time since the TIMESTAMP and TIMESTAMP_IA
 properties. This value is in days, as a floating point number.

 For display in column view, this is converted to a human-readable time
 interval in the form 8d 02h 12m 22s.
 ---
  lisp/ChangeLog  |   18 --
  lisp/org-colview.el |   36 
  lisp/org.el |   23 ++-
  3 files changed, 58 insertions(+), 19 deletions(-)

 diff --git a/lisp/ChangeLog b/lisp/ChangeLog
 index 351731d..348ade3 100755
 --- a/lisp/ChangeLog
 +++ b/lisp/ChangeLog
 @@ -1,3 +1,17 @@
 +2009-07-12  James TD Smith  ahktenz...@mohorovi.cc
 +
 + * org-colview.el (org-format-time-period): Formats a time in
 + fractional days as days, hours, mins, seconds.
 + (org-columns-display-here): Add special handling for SINCE and
 + SINCE_IA to format for display.
 +
 + * org.el (org-time-since): Add a function to get the time since an
 + org timestamp.
 + (org-entry-properties): Add two new special properties: SINCE and
 + SINCE_IA. These give the time since any active or inactive
 + timestamp in an entry.
 + (org-special-properties): Add SINCE, SINCE_IA.
 +
  2009-07-08  Carsten Dominik  carsten.domi...@gmail.com
  
   * org-clock.el (org-clock-goto): Find hidden headlines as well.
 @@ -561,7 +575,7 @@
   `org-export-push-to-kill-ring'.
  
   * org-exp.el (org-export-show-temporary-export-buffer): New
 - option. 
 + option.
  
   * org-latex.el (org-export-as-latex): Use
   `org-export-show-temporary-export-buffer'.
 @@ -2861,7 +2875,7 @@
   (org-agenda-change-all-lines, org-tags-sparse-tree)
   (org-time-string-to-absolute, org-small-year-to-year)
   (org-link-escape): Re-apply changes accidentially overwritten
 - by last commit to Emacs.
 + by last commit to Emacs
  
  2008-11-23  Carsten Dominik  carsten.domi...@gmail.com
  
 diff --git a/lisp/org-colview.el b/lisp/org-colview.el
 index 7633b5b..6a89849 100644
 --- a/lisp/org-colview.el
 +++ b/lisp/org-colview.el
 @@ -190,18 +190,19 @@ This is the compiled version of the format.)
 (length property))
   f (format %%-%d.%ds |  width width)
   val (or (cdr ass) )
 - modval (or (and org-columns-modify-value-for-display-function
 - (functionp
 -  org-columns-modify-value-for-display-function)
 - (funcall
 -  org-columns-modify-value-for-display-function
 -  title val))
 -(if (equal property ITEM)
 -(if (org-mode-p)
 -(org-columns-cleanup-item
 - val org-columns-current-fmt-compiled)
 -  (org-agenda-columns-cleanup-item
 -   val pl cphr org-columns-current-fmt-compiled)
 + modval (cond ((and org-columns-modify-value-for-display-function
 +(functionp
 + org-columns-modify-value-for-display-function))
 +   (funcall org-columns-modify-value-for-display-function
 +title val))
 +((equal property ITEM)
 + (if (org-mode-p)
 + (org-columns-cleanup-item
 +  val org-columns-current-fmt-compiled)
 +   (org-agenda-columns-cleanup-item
 +val pl cphr org-columns-current-fmt-compiled)))
 +((or (equal property SINCE) (equal property 
 SINCE_IA))
 + (org-format-time-period val
(setq s2 (org-columns-add-ellipses (or modval val) width))
(setq string (format f s2))
;; Create the overlay
 @@ -1388,6 +1389,17 @@ This will add overlays to the date lines, to show the 
 summary for each day.
  (equal (nth 4 a) (nth 4 fm)))
 (org-columns-compute (car fm)))
  
 +(defun org-format-time-period (interval)
 +  (if (stringp interval)
 +  
 +(let* ((days (floor interval))
 +(frac-hours (* 24 (- interval days)))
 +(hours (floor frac-hours))
 +(minutes (floor (* 60 (- frac-hours hours
 +(seconds (floor (* 60 (- (* 60 (- frac-hours hours)) minutes)
 +  (format %dd %02dh %02dm %02ds days hours minutes seconds
 +
 +
  (provide 'org-colview)
  
  ;; arch-tag: 

Re: [Orgmode] [misc-new-features 5/5] Fix a problem I was having with plots using a script. Org-plot was deleting the data file before gnuplot read it in. I've moved the deletion of the temporary data

2009-07-14 Thread Bastien
Thanks.  Eric, does it look good to you?

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

 ---
  lisp/org-plot.el |   14 +++---
  1 files changed, 7 insertions(+), 7 deletions(-)

 diff --git a/lisp/org-plot.el b/lisp/org-plot.el
 index 0e8f5a2..c9d61b3 100644
 --- a/lisp/org-plot.el
 +++ b/lisp/org-plot.el
 @@ -333,12 +333,12 @@ line directly before or after the table.
(with-temp-buffer
   (if (plist-get params :script) ;; user script
   (progn (insert
 -(org-plot/gnuplot-script data-file num-cols params t))
 -   (insert \n)
 -   (insert-file-contents (plist-get params :script))
 -   (goto-char (point-min))
 -   (while (re-search-forward $datafile nil t)
 - (replace-match data-file nil nil)))
 + (org-plot/gnuplot-script data-file num-cols params t))
 +(insert \n)
 +(insert-file-contents (plist-get params :script))
 +(goto-char (point-min))
 +(while (re-search-forward $datafile nil t)
 +  (replace-match data-file nil nil)))
 (insert
  (org-plot/gnuplot-script data-file num-cols params)))
   ;; graph table
 @@ -346,7 +346,7 @@ line directly before or after the table.
   (gnuplot-send-buffer-to-gnuplot))
;; cleanup
(bury-buffer (get-buffer *gnuplot*))
 -  (delete-file data-file
 +  (run-with-idle-timer 0.1 nil (lambda () (delete-file data-file))
  
  (provide 'org-plot)

-- 
 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] [misc-new-features 3/5] Add an option to sort tags automatically.

2009-07-14 Thread Bastien
Thanks James.

Can people try this and give some feedback if they find it useful?

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

 ---
  lisp/ChangeLog |3 +++
  lisp/org.el|   17 -
  2 files changed, 19 insertions(+), 1 deletions(-)

 diff --git a/lisp/ChangeLog b/lisp/ChangeLog
 index 348ade3..9ce7a17 100755
 --- a/lisp/ChangeLog
 +++ b/lisp/ChangeLog
 @@ -11,6 +11,9 @@
   SINCE_IA. These give the time since any active or inactive
   timestamp in an entry.
   (org-special-properties): Add SINCE, SINCE_IA.
 + (org-tags-sort-function): Add custom declaration for tags
 + sorting function.
 + (org-set-tags): Sort tags if org-tags-sort-function is set
  
  2009-07-08  Carsten Dominik  carsten.domi...@gmail.com
  
 diff --git a/lisp/org.el b/lisp/org.el
 index d08155a..854d09c 100644
 --- a/lisp/org.el
 +++ b/lisp/org.el
 @@ -2337,6 +2337,15 @@ is better to limit inheritance to certain tags using 
 the variables
 (const :tag Yes, do list them t)
 (const :tag List them, indented with leading dots indented)))
  
 +(defcustom org-tags-sort-function nil
 +  When set, tags are sorted using this function as a comparator
 +  :group 'org-tags
 +  :type '(choice
 +   (const :tag No sorting nil)
 +   (const :tag Alphabetical string)
 +   (const :tag Reverse alphabetical string)
 +   (function :tag Custom function nil)))
 +
  (defvar org-tags-history nil
History of minibuffer reads for tags.)
  (defvar org-last-tags-completion-table nil
 @@ -10840,11 +10849,17 @@ With prefix ARG, realign all tags in headings in 
 the current buffer.
 ;; No boolean logic, just a list
 (setq tags (replace-match : t t tags
  
 +  (if org-tags-sort-function
 +   (setq tags (mapconcat 'identity
 + (sort (org-split-string tags (org-re 
 [^[:alnum:]...@]+))
 +   org-tags-sort-function) :)))
 +
(if (string-match \\`[\t ]*\\' tags)
 -  (setq tags )
 +   (setq tags )
   (unless (string-match :$ tags) (setq tags (concat tags :)))
   (unless (string-match ^: tags) (setq tags (concat : tags
  
 +
;; Insert new tags at the correct column
(beginning-of-line 1)
(cond

-- 
 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] [misc-new-features 4/5] Allow org-insert-link to check the X clipboard and the Emacs kill-ring for links, as well as the stored links. This makes getting URLs into org from a browser muc

2009-07-14 Thread Bastien
I think it's a good idea, I will test this a bit further before applying
the patch.  Thanks!

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

 You can customise `org-link-check-clipboards' to check either the X clipboards
 or kill-ring only, or both, or none. If you have the interprogram-cut/paste
 functions set, you probably only want to use the kill-ring only.
 ---
  lisp/ChangeLog |5 
  lisp/org.el|   66 ---
  2 files changed, 53 insertions(+), 18 deletions(-)

 diff --git a/lisp/ChangeLog b/lisp/ChangeLog
 index 9ce7a17..662a585 100755
 --- a/lisp/ChangeLog
 +++ b/lisp/ChangeLog
 @@ -14,6 +14,11 @@
   (org-tags-sort-function): Add custom declaration for tags
   sorting function.
   (org-set-tags): Sort tags if org-tags-sort-function is set
 + (org-link-check-clipboards): Add a custom option for
 + clipboard link checking
 + (org-insert-link): If enabled, check the X clipboard and emacs
 + kill ring for strings which look like links, and include them in
 + the stored links to select from.
  
  2009-07-08  Carsten Dominik  carsten.domi...@gmail.com
  
 diff --git a/lisp/org.el b/lisp/org.el
 index 854d09c..47fb0b6 100644
 --- a/lisp/org.el
 +++ b/lisp/org.el
 @@ -1024,6 +1024,15 @@ to use.
:group 'org-link
:type 'function)
  
 +(defcustom org-link-check-clipboards nil
 +  Should org-insert-link check clipboards for links
 +  :group 'org-link
 +  :type '(choice
 +   (const :tag Just stored links nil)
 +   (const :tag The X11 clipboards x)
 +   (const :tag The Emacs kill-ring emacs)
 +   (const :tag Both both)))
 +
  (defgroup org-link-store nil
Options concerning storing links in Org-mode.
:tag Org Store Link
 @@ -7323,6 +7332,7 @@ used as the link location instead of reading one 
 interactively.
(desc region)
tmphist ; byte-compile incorrectly complains about this
(link link-location)
 +  (stored-links org-stored-links)
entry file all-prefixes)
  (cond
   (link-location) ; specified by arg, just use it.
 @@ -7342,26 +7352,46 @@ used as the link location instead of reading one 
 interactively.
   ((member complete-file '((4) (16)))
;; Completing read for file names.
(setq link (org-file-complete-link complete-file)))
 - (t
 -  ;; Read link, with completion for stored links.
 -  (with-output-to-temp-buffer *Org Links*
 - (princ Insert a link.
 + (t ;; Read link, with completion for stored links.
 +  ;;Check clipboards/kill ring for links
 +  (when org-link-check-clipboards
 + (setq stored-links
 +   (append stored-links
 +   (mapcar
 +(lambda (x) (list x Link from clipboard))
 +(remove
 + nil
 + (remove-duplicates
 +  (mapcar
 +   (lambda (x)
 + (when (and x (string-match org-link-types-re x)) x))
 +   (append (when
 +   (or (eq org-link-check-clipboards 'x)
 +   (eq org-link-check-clipboards 'both))
 + (list (org-get-x-clipboard 'PRIMARY)
 +   (org-get-x-clipboard 'CLIPBOARD)
 +   (org-get-x-clipboard 'SECONDARY)))
 +   (when
 +   (or (eq org-link-check-clipboards 'emacs)
 +   (eq org-link-check-clipboards 'both))
 + (mapcar 'org-no-properties 
 kill-ring))
 + (with-output-to-temp-buffer *Org Links*
 +   (princ Insert a link.
  Use TAB to complete link prefixes, then RET for type-specific completion 
 support\n)
 - (when org-stored-links
 -   (princ \nStored links are available with up/down or M-p/n (most 
 recent with RET):\n\n)
 -   (princ (mapconcat
 -   (lambda (x)
 - (if (nth 1 x) (concat (car x)  ( (nth 1 x) )) (car x)))
 -   (reverse org-stored-links) \n
 -  (let ((cw (selected-window)))
 - (select-window (get-buffer-window *Org Links*))
 +   (when stored-links
 + (princ \nStored links are available with up/down or M-p/n 
 (most recent with RET):\n\n)
 + (princ (mapconcat
 + (lambda (x)
 +   (if (nth 1 x) (concat (car x)  ( (nth 1 x) )) (car 
 x)))
 + (reverse stored-links) \n
 + (let ((cw (selected-window)))
 +   (select-window (get-buffer-window *Org Links*))
   (setq truncate-lines t)
   (unless (pos-visible-in-window-p (point-max))
 (org-fit-window-to-buffer))
   (and (window-live-p cw) (select-window cw)))
;; Fake a link history, containing the stored links.
 -  (setq tmphist (append (mapcar 'car 

Re: [Orgmode] [misc-new-features 2/5] Bugfixes, documentation and custom options for org-checklist.

2009-07-14 Thread Bastien
I will apply this one tomorrow.  Note that your changelog announces
changes to org.texi that your patch don't contain.  

Thanks!

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

 * contrib/lisp/org-checklist.el
   - Fix some problems with the print/export feature in org-checklist.
   - Add custom options for this module
   - Fix some interaction with a2ps
   - Only reset checkboxes if TODO state is done.

 * doc/org.texi
   - Add documentation for org-checklist

 * lisp/org.el
   - Add org-checklist to org-modules
 ---
  contrib/ChangeLog |   16 ++
  contrib/lisp/org-checklist.el |   67 +++-
  lisp/org.el   |1 +
  3 files changed, 69 insertions(+), 15 deletions(-)

 diff --git a/contrib/ChangeLog b/contrib/ChangeLog
 index 7e62df0..6a5c2a2 100644
 --- a/contrib/ChangeLog
 +++ b/contrib/ChangeLog
 @@ -1,3 +1,19 @@
 +2009-07-12  James TD Smith  ahktenz...@mohorovi.cc
 +
 + * lisp/org-checklist.el (org-checklist): Add a custom group for
 + org-checklist. The options are all for the unchecked items export
 + function.
 + (org-checklist-export-time-format): Allow customising the
 + timestamp appended to the saved unchecked items list
 + (org-checklist-export-function): Allow customising the output
 + format for the unchecked items list.
 + (org-checklist-export-params): Options for the exporter.
 + (org-checklist-a2ps-params): Printing options.
 + (org-make-checklist-export): Use values from custom vars. Printing
 + is now controlled by the PRINT_EXPORT property in the entry, and
 + the user is only asked if it is missing. Pass the switches to
 + a2ps-buffer properly.
 +
  2009-06-20  Carsten Dominik  carsten.domi...@gmail.com
  
   * README: List new file org-export-generic.el
 diff --git a/contrib/lisp/org-checklist.el b/contrib/lisp/org-checklist.el
 index 26d228f..4ebf91b 100644
 --- a/contrib/lisp/org-checklist.el
 +++ b/contrib/lisp/org-checklist.el
 @@ -42,11 +42,37 @@
  ;;
  ;;; Code:
  (require 'org)
 +(load a2ps-print)
  
 -(defvar export-time-format %Y%m%d%H%M
 -  format of timestamp appended to export file)
 -(defvar export-function 'org-export-as-ascii
 -  function used to prepare the export file for printing)
 +(defgroup org-checklist nil
 +  Extended checklist handling for org
 +  :tag Org-checklist
 +  :group 'org)
 +
 +(defcustom org-checklist-export-time-format %Y%m%d%H%M
 +  The format of timestamp appended to LIST_EXPORT_BASENAME to
 +  make the name of the export file.
 +  :link '(function-link format-time-string)
 +  :group 'org-checklist
 +  :type 'string)
 +
 +(defcustom org-checklist-export-function 'org-export-as-ascii
 +  function used to prepare the export file for printing
 +  :group 'org-checklist
 +  :type '(radio (function-item :tag ascii text org-export-as-ascii)
 + (function-item :tag HTML  org-export-as-html)
 + (function-item :tag LaTeX :value org-export-as-latex)
 + (function-item :tag XOXO :value org-export-as-xoxo)))
 +
 +(defcustom org-checklist-export-params nil
 +  options for the export function file for printing
 +  :group 'org-checklist
 +  :type '(repeat string))
 +
 +(defcustom org-checklist-a2ps-params nil
 +  options for a2ps for printing
 +  :group 'org-checklist
 +  :type '(repeat string))
  
  (defun org-reset-checkbox-state-maybe ()
Reset all checkboxes in an entry if the `RESET_CHECK_BOXES' property is 
 set
 @@ -54,23 +80,30 @@
(if (org-entry-get (point) RESET_CHECK_BOXES)
(org-reset-checkbox-state-subtree)))
  
 +
  (defun org-make-checklist-export ()
Produce a checklist containing all unchecked items from a list
  of checkbox items
(interactive *)
(if (org-entry-get (point) LIST_EXPORT_BASENAME)
 -  (let* ((export-file (concat (org-entry-get (point) 
 LIST_EXPORT_BASENAME)
 -   - (format-time-string export-time-format)
 +  (let* ((export-file (concat (org-entry-get (point) 
 LIST_EXPORT_BASENAME nil)
 +   - (format-time-string
 +org-checklist-export-time-format)
 .org))
 +  (print (case (org-entry-get (point) PRINT_EXPORT nil)
 +   (( nil nil) nil)
 +   (t t)
 +   (nil (y-or-n-p Print list? 
exported-lines
 -  title)
 +  title Checklist export)
   (save-restriction
 (save-excursion
   (org-narrow-to-subtree)
 + (org-update-checkbox-count-maybe)
   (org-show-subtree)
   (goto-char (point-min))
 - (if (looking-at org-complex-heading-regexp)
 - (setq title (match-string 4)))
 + (when (looking-at org-complex-heading-regexp)
 +   (setq title (match-string 4)))
   (goto-char (point-min))
   (let ((end (point-max)))
 (while ( (point) end)
 @@ 

Re: [Orgmode] [misc-new-features 2/5] Bugfixes, documentation and custom options for org-checklist.

2009-07-14 Thread James TD Smith
Hi Bastien,

On 2009-07-14 14:09:12(+0200), Bastien wrote:
 I will apply this one tomorrow.  Note that your changelog announces
 changes to org.texi that your patch don't contain.

I started the patch before the documentation for modules in contrib was
moved to Worg. I pushed the docs just now.

The changelog is fixed in the version in my git repo.

James

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


___
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] Org Special Ctrl A/E, option reversed

2009-07-14 Thread Rainer Stengele
hi all,

,
| Org Special Ctrl A/E: Hide Value Value Menu after stars/bullet and before 
tags first
|State: EDITED, shown value does not take effect until you set or save it.
|Non-nil means `C-a' and `C-e' behave specially in headlines and items. 
Hide Rest
|
|When t, `C-a' will bring back the cursor to the beginning of the
|headline text, i.e. after the stars and after a possible TODO keyword.
|In an item, this will be the position after the bullet.
|When the cursor is already at that position, another `C-a' will bring
|it to the beginning of the line.
|
|`C-e' will jump to the end of the headline, ignoring the presence of tags
|in the headline.  A second `C-e' will then jump to the true end of the
|line, after any tags.
|
|When set to the symbol `reversed', the first `C-a' or `C-e' works normally,
|and only a directly following, identical keypress will bring the cursor
|to the special positions.
|
|This may also be a cons cell where the behavior for `C-a' and `C-e' is
|set separately.
| Groups: Org Edit Structure
`


How can I set this variable to reversed, as indicated in the paragraph before 
the last one?
The Value Menu does not include such a value.

Rainer




___
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-style folding for a .emacs

2009-07-14 Thread Scot Becker
Thanks Eric, Michael and Dan, for the assistance.

Both options look good (outline-minor-mode and a literate org file).

 My first draft of this request for help actually included
consideration of a  literate org file, but I deleted it, since I
thought it would be too complex, and your work (Dan) was too far from
finished to be usable by someone of Not A Lot of Time.  If I can make
it work, this does sound even more powerful than the
outline-minor-mode solution.  I had two reasons for the request: first
it was just to have a modular init file without actually making it
modular (i.e. by folding it org-like), the second was to make an init
file that might be of use to others, especially Emacs beginners, for
which an org-rich literate solution would be nice, both for its
folding and for links to the full range of things that org supports
(or can be made to support).

Thanks all for the examples.  I'll give it a try.

Scot


___
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] problems cloning using the http protocol

2009-07-14 Thread Dias Badekas

At work being behind a corporate firewall I have no choice but to use
the http protocol inorder to get the latest development of orgmode.

unfortunately it doesn't seem to work.
Here's what I get:

bash export http_proxy=http://user:p...@proxyhostname:80/
bash git clone http://repo.or.cz/r/org-mode.git
  Initialized empty Git repository in 
/home/dias/Mystuff/Emacs/downloads/org-mode/.git/
  Cannot get remote repository information.
  Perhaps git-update-server-info needs to be run there?

Can this be fixed ?


___
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-style folding for a .emacs

2009-07-14 Thread Sébastien Vauban
Hello Michael,

 Does anyone have a recipe for easy org-style folding of an elisp file? I'd
 like to divide my .emacs into segments to make it easier to oversee and
 navigate.

I asked myself this question a couple of days ago. Telepathy. For real.
Good it has been asked, and answered.

In my case, I am very interested as well by the literate programming approach.
But I will comment on this later.


 In summary, add the following to your ~/.emacs.el:

 (defun th-outline-regexp ()
  Calculate the outline regexp for the current mode.
  (let ((comment-starter (replace-regexp-in-string
  [[:space:]]+  comment-start)))
(when (string= comment-start ;)
  (setq comment-starter ;;))
(concat ^ comment-starter \\*+)))

 (defun th-outline-minor-mode-init ()
  (interactive)
  (setq outline-regexp (th-outline-regexp)))

 (add-hook 'outline-minor-mode-hook
   'th-outline-minor-mode-init)

 and add the following as the top line of your ~/.emacs.el:

 ; -*- mode: emacs-lisp; mode: outline-minor; -*-

 Now you can add ;;* and ;;**, etc as headings in your .emacs.el and
 cycle using M-tab, M-left and M-right will collapse or expand all
 headings respectively. I am guessing you mean to make segments such as
 ;;* SHORTCUTS and ;;* VARIABLES, this will do that, but not too much
 more.

Done.

Though, is there a way to get the font used for org-levels in the Emacs config
file?  That would really greatly improve the readability, then!

Best regards,
  Seb

-- 
Sébastien Vauban



___
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] problems cloning using the http protocol

2009-07-14 Thread Scot Becker
Just tried:
   git clone http://repo.or.cz/r/org-mode.git

behind my corporate firewall, and it worked.  It's slow, however.  So
I don't think the problem is on the server end.  Did you try any other
projects (using git+http proxy)?

I don't suppose anyone knows how to git org develpment releases
sometimes behind an http proxy and sometimes directly (as on a laptop
that is sometimes behind a firewall, and sometimes not.)  I couldn't
make this to work.

Scot


___
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] problems cloning using the http protocol

2009-07-14 Thread Giovanni Ridolfi

--- Mar 14/7/09, Dias Badekas dbade...@aia.gr ha scritto:
 At work being behind a corporate firewall I have no choice
 but to use
 the http protocol inorder to get the latest development of
 orgmode.

why don't you download the zip file?

http://orgmode.org/index.html#sec-3.2

For people who cannot use git, we provide zip 
or tar.gz snapshot release files corresponding 
to the latest git version. 

cheers,
Giovanni 





___
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] problems cloning using the http protocol

2009-07-14 Thread Scot Becker
thanks, Nick

On Tue, Jul 14, 2009 at 2:26 PM, Nick Dokosnicholas.do...@hp.com wrote:
 Scot Becker scot.bec...@gmail.com wrote:

 I don't suppose anyone knows how to git org develpment releases
 sometimes behind an http proxy and sometimes directly (as on a laptop
 that is sometimes behind a firewall, and sometimes not.)  I couldn't
 make this to work.


 AFAIK, with just an http proxy, you are stuck with http.

 If your company provides a SOCKS proxy (a big if, I know), then you can
 forego http and always use git. You'd need to set up a SOCKS client
 (dante or tsocks), do a little configuration and then if you are behind
 the firewall, you'd do e.g. ``socksify git pull'', rather than ``git pull''.

 HTH,
 Nick



___
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] problems cloning using the http protocol

2009-07-14 Thread Nick Dokos
Scot Becker scot.bec...@gmail.com wrote:

 I don't suppose anyone knows how to git org develpment releases
 sometimes behind an http proxy and sometimes directly (as on a laptop
 that is sometimes behind a firewall, and sometimes not.)  I couldn't
 make this to work.
 

AFAIK, with just an http proxy, you are stuck with http.

If your company provides a SOCKS proxy (a big if, I know), then you can
forego http and always use git. You'd need to set up a SOCKS client
(dante or tsocks), do a little configuration and then if you are behind
the firewall, you'd do e.g. ``socksify git pull'', rather than ``git pull''.

HTH,
Nick


___
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 Report for emacs 23 and follow-mode

2009-07-14 Thread Cian OConnor

Hi,

I'm using a fairly recent build of Emacs 23 on windows (23.0.94.1), and 
while follow-mode seems to work fine for ordinary files, it does not 
work in .org files. Instead I get a blank screen for the second buffer. 
I'm using the latest version of org-mode (from the website, not CVS).


Interestingly it seems to be working fine for the Agenda mode.

I cleared out my .emacs file and this didn't make any difference, so I 
don't think its anything weird in my config, though I can try again if 
this is not replicable for anyone.


Feel a bit bad posting a bug report as my first message on this list, so 
I'll try and leave on a high note. Fantastic program! Totally in love.


Cian O'Connor


___
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: Bug Report for emacs 23 and follow-mode

2009-07-14 Thread Cian OConnor
How embarrassing. I was getting mixed up with indirect buffers. So while 
the bug report is technically valid, it seems fairly unimportant...


Did I mention what a great product this is..?

Cian OConnor wrote:

Hi,

I'm using a fairly recent build of Emacs 23 on windows (23.0.94.1), 
and while follow-mode seems to work fine for ordinary files, it does 
not work in .org files. Instead I get a blank screen for the second 
buffer. I'm using the latest version of org-mode (from the website, 
not CVS).


Interestingly it seems to be working fine for the Agenda mode.

I cleared out my .emacs file and this didn't make any difference, so I 
don't think its anything weird in my config, though I can try again if 
this is not replicable for anyone.


Feel a bit bad posting a bug report as my first message on this list, 
so I'll try and leave on a high note. Fantastic program! Totally in love.


Cian O'Connor



___
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: Bug Report for emacs 23 and follow-mode

2009-07-14 Thread Scot Becker
No trouble.  And welcome to the list.

I'm not exactly sure what you meant by mixed up with indirect
buffers and technically valid, but unimportant.  So do post back if
you think there is still a significant bug.

Scot


On Tue, Jul 14, 2009 at 2:45 PM, Cian OConnorcian.ocon...@gmail.com wrote:
 How embarrassing. I was getting mixed up with indirect buffers. So while the
 bug report is technically valid, it seems fairly unimportant...

 Did I mention what a great product this is..?

 Cian OConnor wrote:

 Hi,

 I'm using a fairly recent build of Emacs 23 on windows (23.0.94.1), and
 while follow-mode seems to work fine for ordinary files, it does not work in
 .org files. Instead I get a blank screen for the second buffer. I'm using
 the latest version of org-mode (from the website, not CVS).

 Interestingly it seems to be working fine for the Agenda mode.

 I cleared out my .emacs file and this didn't make any difference, so I
 don't think its anything weird in my config, though I can try again if this
 is not replicable for anyone.

 Feel a bit bad posting a bug report as my first message on this list, so
 I'll try and leave on a high note. Fantastic program! Totally in love.

 Cian O'Connor


 ___
 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] Proper way to link external files into a project?

2009-07-14 Thread Andreas Rottmann
Hi!

I'd like to include several files into an org-mode project that live
outside the project tree. I tried to just symlink them into the
appropriate place into my project, and thought that might suffice to get
them published correctly, but that doesn't work out, as org-mode doesn't
consider the symlink's name, but the true filename; for example, I
have this:

(setq org-publish-project-alist
  '((homepage
 :base-directory ~/homepage
 :base-extension org
 :publishing-directory ~/public_html
 ...)
...))

% ls -l ~/homepage/software/SPE.org
lrwxrwxrwx 1 rotty rotty 26 Jul 14 15:01 /home/rotty/homepage/software/SPE.org 
- /home/rotty/src/spe/README

org-mode publishes this as ~/public_html/README.html, while I'd like it
to use ~/public_html/software/SPE.html.

After playing around with EDebug for a while, I've come up with the
following horrible hack, which does what I want, but is nowhere near a
general solution:

diff --git a/lisp/org-publish.el b/lisp/org-publish.el
index 38e1c7b..2c42685 100644
--- a/lisp/org-publish.el
+++ b/lisp/org-publish.el
@@ -414,6 +414,9 @@ PUB-DIR is the publishing directory.
 	 (init-buf (current-buffer))
 	 (init-point (point))
 	 (init-buf-string (buffer-string))
+ ;; dirty hack to allow symlinking; this is likely to
+ ;; break stuff --rotty
+ (buffer-file-name filename)
 	 export-buf-or-file)
 	;; run hooks before exporting
 	(run-hooks 'org-publish-before-export-hook)
@@ -501,8 +504,8 @@ See `org-publish-org-to' to the list of arguments.
 (setq tmp-pub-dir
 	  (file-name-directory
 	   (concat pub-dir
-		   (and (string-match (regexp-quote base-dir) ftname)
-			(substring ftname (match-end 0))
+		   (and (string-match (regexp-quote base-dir) filename)
+			(substring filename (match-end 0))
 (if (listp publishing-function)
 	;; allow chain of publishing functions
 	(mapc (lambda (f)

Is there a proper way to do this?

Regards, Rotty
-- 
Andreas Rottmann -- http://rotty.yi.org/
___
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] org-export-blocks

2009-07-14 Thread Simon Mullis
Hi All,

I'm looking at org-export-blocks; specifically exporting ascii
diagrams with ditaa.

I've got my diagram, I'm in org-mode. How can I actually start the
export?  C-c C-e does not give me the option to export anything other
than the usual suspects (html, calendar, ascii etc etc)... I know
the diagram works fine running ditaa directly.

I'm using org-mode 6.14 and Gnu/Emacs 23.0.91.1(Ubuntu Jaunty)

Thanks in advance for any pointers or tips

SM


___
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] [misc-new-features 3/5] Add an option to sort tags automatically.

2009-07-14 Thread James TD Smith
Hi Bastien,

On 2009-07-14 13:59:11(+0200), Bastien wrote:
 Thanks James.

 Can people try this and give some feedback if they find it useful?

Sure. I wrote it because I thought having tags in alphabetical order would look
better, but I think it also makes the tags easier to read. For example if you
have many entries with similar tags it's much easier to compare the tag lists
when they are ordered.

I'm thinking about writing a sort function which would sort by tag group as well
as the tag name. I have tag groups for things like location, activity type,
people I need to work with etc and putting those in a consistent order would
make it easier to pick out the relevant information quickly.

James

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


___
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: [SOLVED] org-export-blocks

2009-07-14 Thread Simon Mullis
Hi,

Fixed...

I had to add

(load /usr/share/org-mode/lisp/org-exp-blocks.el)

to my .emacs

Thanks

SM

(a 10+ year Vi/Vim veteran who turned to the light a few months ago...)

2009/7/14 Simon Mullis si...@mullis.co.uk:
 Hi All,

 I'm looking at org-export-blocks; specifically exporting ascii
 diagrams with ditaa.

 I've got my diagram, I'm in org-mode. How can I actually start the
 export?  C-c C-e does not give me the option to export anything other
 than the usual suspects (html, calendar, ascii etc etc)... I know
 the diagram works fine running ditaa directly.

 I'm using org-mode 6.14 and Gnu/Emacs 23.0.91.1(Ubuntu Jaunty)

 Thanks in advance for any pointers or tips

 SM




-- 
Simon Mullis
_
si...@mullis.co.uk


___
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] Feature request: javascript expand collapse

2009-07-14 Thread Xin Shi
Hello  Experts,

I'm wondering if it's easy to implement the javascript expand collapse in
the published page.

For example: in this page:

http://en.wikipedia.org/wiki/Emacs

One can click the [hide]  or [show] beside the Contents.


Probably in the org file, we can use:

 A Detailed section  [+]

to indicate this collapse?

[This might be  work for Sebastian again :-), but I think this feature shall
be useful. ]

Thanks!

Xin
___
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] problems cloning using the http protocol

2009-07-14 Thread Richard Riley
Giovanni Ridolfi giovanni.rido...@yahoo.it writes:

 --- Mar 14/7/09, Dias Badekas dbade...@aia.gr ha scritto:
 At work being behind a corporate firewall I have no choice
 but to use
 the http protocol inorder to get the latest development of
 orgmode.

 why don't you download the zip file?

 http://orgmode.org/index.html#sec-3.2

 For people who cannot use git, we provide zip 
 or tar.gz snapshot release files corresponding 
 to the latest git version. 

 cheers,
 Giovanni 

I would guess that it's not as up to date (or is it dynamically
generated on request?) and its not possible to simply git pull the
latest which is a great boon.



___
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: problems cloning using the http protocol

2009-07-14 Thread Bernt Hansen
Scot Becker scot.bec...@gmail.com writes:

 Just tried:
git clone http://repo.or.cz/r/org-mode.git

 behind my corporate firewall, and it worked.  It's slow, however.

HTTP will always be slower than the git protocol.  HTTP is dumb so there
is no way to transfer only part of a pack that contains the objects you
are missing.  You'll get the entire pack file each time via the HTTP
protocol.

 So I don't think the problem is on the server end.  Did you try any
 other projects (using git+http proxy)?

 I don't suppose anyone knows how to git org develpment releases
 sometimes behind an http proxy and sometimes directly (as on a laptop
 that is sometimes behind a firewall, and sometimes not.)  I couldn't
 make this to work.

There are multiple options

UNTESTED

You might be able to get away with creating a second remote for the
project like this:

[remote origin]
fetch = +refs/heads/*:refs/remotes/origin/*
url = http://repo.or.cz/r/org-mode.git

[remote origin2]
url = git://repo.or.cz/org-mode.git
fetch = +refs/heads/*:refs/remotes/origin/*

then

  git fetch origin
  uses the HTTP protocol

and

  git fetch origin2
  uses the git protocol

You can set up origin to be whichever you use more often (or switch as
required.)  The only differences between these remotes are:

  - name of the remote - you can name it anything you like
  - the fetch = lines are identical - using the same remote ref
'refs/remotes/origin'.  This should work okay since the repos are
physically the same
  - the url specifies the transport method to use.



Just use two remotes

origin for your fast git protocol access
http for your slow http protocol access

then you'll have remotes like origin/master and http/master

If you can't git pull origin, you can manually git fetch http and git
merge http/master or whatever is appropriate



I carry my org-mode.git around on my USB stick -- so I can just
clone/pull/fetch from that without internet access.  I'll update my
workstation/laptop repo when it has net access and then push to the usb
stick.

HTH,
Bernt


___
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] html export of src: extra newlines

2009-07-14 Thread Bill White
Org seems to insert extra newlines when exporting src to html.  You can
see the output at http://members.wolfram.com/billw/RomanCalendar.html
(search for gregorianFromAbsolute) - there's a large amount of vertical
space between the two function definitions.

Is there some way to avoid exporting all those newlines?

 - GNU Emacs 23.0.94.1 (i686-pc-linux-gnu, GTK+ Version 2.16.1) of
   2009-05-28 on billw-desktop
 - Org-mode version 6.27trans

Here's the relevant part of my .org file:

,
| #+begin_src mma
| absoluteFromGregorian[{year_Integer, month_Integer, day_Integer}] :=
|   DateDifference[epoch, {year, month, day}]
| 
| gregorianFromAbsolute[abs_Integer] := 
|   DatePlus[epoch, abs]
| #+end_src
`

I export the whole project via 'C-c C-e P' - here's the generated html:

,
| pre class=src src-mma
| span style=color: #ff;absoluteFromGregorian/span[{year_Integer, 
month_Integer, day_Integer}] :=
|   DateDifference[epoch, {year, month, day}]
| 
| 
| 
| span style=color: #ff;gregorianFromAbsolute/span[abs_Integer] := 
|   DatePlus[epoch, abs]
| /pre
`

Here's the relevant part of org-publish-project-alist:

,
| ;;
| (members.wolfram.com-org-notes
|  :base-directory ~/org/members.wolfram.com
|  :base-extension org
|  :publishing-directory ~/org/000-published/members.wolfram.com/
|  :recursive t
|  :publishing-function org-publish-org-to-html
|  :headline-levels 4 ; Just the default for this project.
|  :auto-preamble t
|  )
| (members.wolfram.com-org-static
|  :base-directory ~/org/members.wolfram.com
|  :base-extension css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf
|  :publishing-directory ~/org/000-published/members.wolfram.com/
|  :recursive t
|  :publishing-function org-publish-attachment)
| (members.wolfram.com :components (members.wolfram.com-org-notes 
members.wolfram.com-org-static))
| ;;
`

Thanks!

bw
-- 
Bill White . bi...@wolfram.com . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
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] [misc-new-features 1/5] Add two new special properties, SINCE and SINCE_IA.

2009-07-14 Thread James TD Smith
Hi Bastien,

On 2009-07-14 13:48:09(+0200), Bastien wrote:
 Hi James,

 welcome back.  Carsten is on vacation for three weeks and I'm
 maintaining Org in the meanwhile.

Thanks. I'd forgotten Carsten was away.

 I won't take the decision of adding new special properties without
 asking him so I don't apply this patch for now.  But I will use your
 patch for a while and see if I find it useful.  If others can test it
 as well and give their feedback, even better.

I use this mostly to check the age of entries when reviewing my todo lists;
either to cull old tasks I haven't started and aren't interested in any more, 
or to
remind me that I haven't worked on a task for a while and ought to do so.

I used to use the TIMESTAMP and TIMESTAMP_IA properties for this, and the new
properties work in more or less the same way but display the results
differently.

James

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


___
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] html export of src: extra newlines

2009-07-14 Thread Dan Davison
Bill White bi...@wolfram.com writes:

 Org seems to insert extra newlines when exporting src to html.  You can
 see the output at http://members.wolfram.com/billw/RomanCalendar.html
 (search for gregorianFromAbsolute) - there's a large amount of vertical
 space between the two function definitions.

 Is there some way to avoid exporting all those newlines?


  - GNU Emacs 23.0.94.1 (i686-pc-linux-gnu, GTK+ Version 2.16.1) of
2009-05-28 on billw-desktop
  - Org-mode version 6.27trans

 Here's the relevant part of my .org file:

 ,
 | #+begin_src mma
 | absoluteFromGregorian[{year_Integer, month_Integer, day_Integer}] :=
 |   DateDifference[epoch, {year, month, day}]
 | 
 | gregorianFromAbsolute[abs_Integer] := 
 |   DatePlus[epoch, abs]
 | #+end_src
 `

I tried exporting this fragment using C-c C-e h, and could not replicate
this (org and html below). Maybe it would be revealing to try exporting
the org buffer directly using C-c C-e h (org-export-as-html), and seeing
if the problem occurs then with your setup?

Dan

Details
---
I downloaded mma-mode just now from

http://www.itwm.fhg.de/as/asemployees/wichmann/mma.html

is that the same as yours?

,[ C-h v mma-version RET ]
| mma-version is a variable defined in `mma.el'.
| Its value is $Revision: 1.1 $
| 
| Documentation:
| The Revision number of mma.el.
| You should add this number when reporting bugs.
| 
| [back]
`

Here's my org

--8---cut here---start-8---
#+title: mathematica example

* here's the block
#+begin_src mma
  absoluteFromGregorian[{year_Integer, month_Integer, day_Integer}] :=
DateDifference[epoch, {year, month, day}]
  
  gregorianFromAbsolute[abs_Integer] := 
DatePlus[epoch, abs]
#+end_src
and that was it
--8---cut here---end---8---

and here's the relevant bit of the html I got

--8---cut here---start-8---
pre class=src src-mmaspan style=color: #7fffd4; font-weight: 
bold;absoluteFromGregorian/span[{year_Integer, month_Integer, day_Integer}] 
:=
DateDifference[epoch, {year, month, day}]

span style=color: #7fffd4; font-weight: 
bold;gregorianFromAbsolute/span[abs_Integer] := 
DatePlus[epoch, abs]
/pre
--8---cut here---end---8---




 I export the whole project via 'C-c C-e P' - here's the generated html:

 ,
 | pre class=src src-mma
 | span style=color: #ff;absoluteFromGregorian/span[{year_Integer, 
 month_Integer, day_Integer}] :=
 |   DateDifference[epoch, {year, month, day}]
 | 
 | 
 | 
 | span style=color: #ff;gregorianFromAbsolute/span[abs_Integer] := 
 |   DatePlus[epoch, abs]
 | /pre
 `




 Here's the relevant part of org-publish-project-alist:

 ,
 | ;;
 | (members.wolfram.com-org-notes
 |  :base-directory ~/org/members.wolfram.com
 |  :base-extension org
 |  :publishing-directory ~/org/000-published/members.wolfram.com/
 |  :recursive t
 |  :publishing-function org-publish-org-to-html
 |  :headline-levels 4 ; Just the default for this project.
 |  :auto-preamble t
 |  )
 | (members.wolfram.com-org-static
 |  :base-directory ~/org/members.wolfram.com
 |  :base-extension css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf
 |  :publishing-directory ~/org/000-published/members.wolfram.com/
 |  :recursive t
 |  :publishing-function org-publish-attachment)
 | (members.wolfram.com :components (members.wolfram.com-org-notes 
 members.wolfram.com-org-static))
 | ;;
 `

 Thanks!

 bw


___
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] html export of src: extra newlines

2009-07-14 Thread Bill White
On Tue Jul 14 2009 at 13:24, Dan Davison davi...@stats.ox.ac.uk wrote:

 Bill White bi...@wolfram.com writes:

 Org seems to insert extra newlines when exporting src to html.  You can
 see the output at http://members.wolfram.com/billw/RomanCalendar.html
 (search for gregorianFromAbsolute) - there's a large amount of vertical
 space between the two function definitions.

Argh!  I just now updated my org-mode and emacs, and all is well -
whatever caused the problem, it's gone now:
http://members.wolfram.com/billw/RomanCalendar.html

Next time, I'll be sure to try the latest version first.

Thanks for taking a look -

bw

 replicate this (org and html below). Maybe it would be revealing to
 try exporting the org buffer directly using C-c C-e h
 (org-export-as-html), and seeing if the problem occurs then with your
 setup?

 Dan

 Details
 ---
 I downloaded mma-mode just now from

 http://www.itwm.fhg.de/as/asemployees/wichmann/mma.html

 is that the same as yours?

 ,[ C-h v mma-version RET ]
 | mma-version is a variable defined in `mma.el'.
 | Its value is $Revision: 1.1 $
 | 
 | Documentation:
 | The Revision number of mma.el.
 | You should add this number when reporting bugs.
 | 
 | [back]
 `


Cheers -

bw
-- 
Bill White . bi...@wolfram.com . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
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] Cannot get clock history persist to work...

2009-07-14 Thread Steve Cothern
Hi Folks,

 

Subject says it all.  I am following Bernt's excellent web resource in
getting up and going on Org mode.  I confirm that the history is being
saved in ~/.emacs.d/org-clock-save.el.  I have tried both

 

(setq org-clock-persistence-insinuate)

and 

(org-clock-persistence-insinuate)

 

and have also tried using (require 'org-clock).  Nothing works.  Is
there any other obvious thing I should check?  I am currently using
6.28d with Emacs 22.3.1 on OS X 10.5.7.  A shallow pass with 6.28e
reveals the same behavior.

 

TIA,

 

Steve

 

;;

;; Resume clocking tasks when emacs is restarted

(setq org-clock-persistence-insinuate)

;;

;; Yes it's long... but more is better ;)

(setq org-clock-history-length 35)

;; Resume clocking task on clock-in if the clock is open

(setq org-clock-in-resume t)

;; Change task state to STARTED when clocking in

(setq org-clock-in-switch-to-state STARTED)

;; Save clock data and notes in the LOGBOOK drawer

(setq org-clock-into-drawer t)

;; Sometimes I change tasks I'm clocking quickly - this removes clocked
tasks with 0:00 duration

(setq org-clock-out-remove-zero-time-clocks t)

;; Don't clock out when moving task to a done state

(setq org-clock-out-when-done nil)

;; Save the running clock and all clock history when exiting Emacs, load
it on startup

(setq org-clock-persist t)

 

--

J. Steven Cothern

Senior Software Engineer

j2 Global Communications, Inc.

voice (805) 692-4192

jConnect (805) 456-0425 

.

 



This email, its contents and attachments contain information from j2 Global 
Communications, Inc. and/or its affiliates which may be privileged, 
confidential or otherwise protected from disclosure. The information is 
intended to be for the addressee(s) only.  If you are not an addressee, any 
disclosure, copy, distribution, or use of the contents of this message is 
prohibited.  If you have received this email in error please notify the sender 
by reply e-mail and delete the original message and any copies. j2 Global 
Communications. 6922 Hollywood Blvd., Hollywood, CA 90028..
___
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: problems cloning using the http protocol

2009-07-14 Thread Scot Becker
Bernt,

 HTTP will always be slower than the git protocol.  HTTP is dumb so there
 is no way to transfer only part of a pack that contains the objects you
 are missing.  You'll get the entire pack file each time via the HTTP
 protocol.

Ah, that explains it.  That makes the benefit of git via http vs. the
devel.tar.gz somewhat less.


Thanks for your explanations.  That helps.  Git is a wide wide world
of which I have only seen a sliver.

Scot


___
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] Quick aquamacs related windowing question

2009-07-14 Thread Robert Goldman
I use org-mode on Aquamacs, and have some problems with the windowing.
E.g., when I schedule an item created with remember, aquamacs opens the
*Calendar* window in a different frame, then after I choose the date, I
am incorrectly left in that frame, instead of being returned to the
remember buffer.  This means that my C-c C-c to save the note is
rejected (because it's meaningless in the *Calendar* buffer), and I have
to return the focus to the remember buffer by hand.

Does anyone else see this in aquamacs?  Or, if you use aquamacs and you
DON'T see this, would you let me know?  I'd appreciate it, because it
would help me track down this problem...

I suspect the problem is that (at least on aquamacs) save-excursion
isn't doing what I expect it to do across frames.

Thanks!





___
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] Quick aquamacs related windowing question

2009-07-14 Thread Nick Dokos
Robert Goldman rpgold...@sift.info wrote:

 I use org-mode on Aquamacs, and have some problems with the windowing.
 E.g., when I schedule an item created with remember, aquamacs opens the
 *Calendar* window in a different frame, then after I choose the date, I
 am incorrectly left in that frame, instead of being returned to the
 remember buffer.  This means that my C-c C-c to save the note is
 rejected (because it's meaningless in the *Calendar* buffer), and I have
 to return the focus to the remember buffer by hand.
 
 Does anyone else see this in aquamacs?  Or, if you use aquamacs and you
 DON'T see this, would you let me know?  I'd appreciate it, because it
 would help me track down this problem...
 
 I suspect the problem is that (at least on aquamacs) save-excursion
 isn't doing what I expect it to do across frames.
 

I don't know about aquamacs, but when I set calendar-setup to
calendar-only (I usually leave it at nil which foregoes frames altogether),
and try org-remember with C-c C-s to schedule it from the remember
buffer, I get the calendar frame and the following error:

Debugger entered--Lisp error: (wrong-type-argument window-live-p nil)
  select-window(nil)
  org-eval-in-calendar(nil t)
  byte-code(...)
  org-read-date(nil to-time nil nil nil nil)
  byte-code(...)
  org-add-planning-info(scheduled nil closed)
  org-schedule(nil)
  call-interactively(org-schedule nil nil)

If I try to schedule an item in an org file, I get the frame but clicking on
a date does not seem to do anything. So maybe org cannot deal with separate
calendar frames.

Thanks,
Nick

Versions:
GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2009-07-06 on 
gamaville.dokosmarshall.org
Org-mode version 6.28trans - commit c1d00fa463f797b4b42accaccf4bc0f32ad12994
 Author: Carsten Dominik carsten.domi...@gmail.com
 Date:   Mon Jul 6 17:00:03 2009 +0200



___
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] Exporting to PDF without a title

2009-07-14 Thread Manuel Amador
Hi,

Is there a way of exporting to PDF from org-mode without generating a
title? (alternatively, how can I skip the \maketitle command in the
latex file when exporting to PDF)

Manuel


___
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] Proper way to link external files into a project?

2009-07-14 Thread Sebastian Rose
Andreas Rottmann a.rottm...@gmx.at writes:
 Hi!

 I'd like to include several files into an org-mode project that live
 outside the project tree. I tried to just symlink them into the
 appropriate place into my project, and thought that might suffice to get
 them published correctly, but that doesn't work out, as org-mode doesn't
 consider the symlink's name, but the true filename; for example, I
 have this:


First of all: How about hardlinks?


Second:

  See
  http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php#sec-7.1 
  
  That shows how you can share files between projects, simply by pulling
  them in through a special export  project.
  I use this technique a lot. One advantage is that each project has a
  complete set of files.
  The drawbacks are minor for my use-case, but that might vary. But as
  linking was enough, this approach should be fine.




   Sebastian


___
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] Comments in Org-mode

2009-07-14 Thread Manuel Amador
Hi everybody, 

I think I have found a bug (or a feature!). Sometimes when
writing documents I tend to comment out a line by adding a #
in the column 0. However, after doing this in a line at the
middle of the document, I get the following behavior:


* Random stuff

  Some initial things. 
   
# Then I comment this line out

  But when I keep writing a sufficiently long line such that  
# the cursor moves to the next line, a # character creeps in!
# and will keep appearing for the remainder of the document. 
--

The last two starting # characters are unintentional, they are
put there automatically by emacs. 

(I am using fill-mode, my org-mode is from the git repository,
and my version of emacs is 23.0.91.1 running in Ubuntu)

Manuel 


___
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] Exporting to PDF without a title

2009-07-14 Thread Russell Adams
Add this at the end of the file, and then do M-x normal-mode.

#+ Local Variables:
#+ org-export-latex-title-command: 
#+ End:


On Tue, Jul 14, 2009 at 03:45:03PM -0700, Manuel Amador wrote:
 Hi,
 
 Is there a way of exporting to PDF from org-mode without generating a
 title? (alternatively, how can I skip the \maketitle command in the
 latex file when exporting to PDF)
 
 Manuel
 
 
 ___
 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
 


--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
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] Comments in Org-mode

2009-07-14 Thread Russell Adams
I just tried that in 6.24b with auto-fill-mode, and no problems.

On Tue, Jul 14, 2009 at 05:09:30PM -0700, Manuel Amador wrote:
 Hi everybody, 
 
 I think I have found a bug (or a feature!). Sometimes when
 writing documents I tend to comment out a line by adding a #
 in the column 0. However, after doing this in a line at the
 middle of the document, I get the following behavior:
 
 
 * Random stuff
 
   Some initial things. 

 # Then I comment this line out
 
   But when I keep writing a sufficiently long line such that  
 # the cursor moves to the next line, a # character creeps in!
 # and will keep appearing for the remainder of the document. 
 --
 
 The last two starting # characters are unintentional, they are
 put there automatically by emacs. 
 
 (I am using fill-mode, my org-mode is from the git repository,
 and my version of emacs is 23.0.91.1 running in Ubuntu)
 
 Manuel 
 
 
 ___
 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
 


--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
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] doc bug

2009-07-14 Thread Samuel Wales
The docstring for org-tags-match-list-sublevels should
probably mention 'indented.

Thanks.

-- 
Myalgic encephalomyelitis causes death and severe suffering.
You can get it any time and never recover.  Conflicts of
interest are destroying research.  Do science and justice
matter to you?  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


___
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] Comments in Org-mode

2009-07-14 Thread Sebastian Rose
Russell Adams rlad...@adamsinfoserv.com writes:
 I just tried that in 6.24b with auto-fill-mode, and no problems.



Same here. Maybe it's the old emacs development-snappshot?
There where quite some bugs - it's not a release version.

I know I saw that problem...

I use the current emacs CVS version and it's fine.


emacs 23.1.50.1, org-mode 6.24a, Debian testing.


  Sebastian


___
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] Comments in Org-mode

2009-07-14 Thread Manuel Amador
Hi Sebastian and Russell,

You are correct. The problem appears after I comment a region in org-mode with:

M-x comment-region enter # enter

After that, every time auto-fill does its magic, I get a # at the
beginning of each new line.

Manuel


On Tue, Jul 14, 2009 at 6:14 PM, Sebastian Rosesebastian_r...@gmx.de wrote:
 Russell Adams rlad...@adamsinfoserv.com writes:
 I just tried that in 6.24b with auto-fill-mode, and no problems.



 Same here. Maybe it's the old emacs development-snappshot?
 There where quite some bugs - it's not a release version.

 I know I saw that problem...

 I use the current emacs CVS version and it's fine.


 emacs 23.1.50.1, org-mode 6.24a, Debian testing.


  Sebastian


 ___
 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] Org Special Ctrl A/E, option reversed

2009-07-14 Thread Brian van den Broek

Rainer Stengele said unto the world at 14/07/09 05:25 AM:

hi all,

,
| Org Special Ctrl A/E: Hide Value Value Menu after stars/bullet and before 
tags first
|State: EDITED, shown value does not take effect until you set or save it.
|Non-nil means `C-a' and `C-e' behave specially in headlines and items. 
Hide Rest

snip

|When set to the symbol `reversed', the first `C-a' or `C-e' works normally,
|and only a directly following, identical keypress will bring the cursor
|to the special positions.

snip

| Groups: Org Edit Structure
`

How can I set this variable to reversed, as indicated in the paragraph before 
the last one?
The Value Menu does not include such a value.

Rainer




Hi Rainer,

Put

(setq org-special-ctrl-a/e 'reversed)

into your .emacs.

Best,

Brian vdB


___
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] Exporting to PDF without a title

2009-07-14 Thread Manuel Amador
Perfect, this works. Thanks!


On Tue, Jul 14, 2009 at 5:42 PM, Russell Adamsrlad...@adamsinfoserv.com wrote:
 Add this at the end of the file, and then do M-x normal-mode.

 #+ Local Variables:
 #+ org-export-latex-title-command: 
 #+ End:


 On Tue, Jul 14, 2009 at 03:45:03PM -0700, Manuel Amador wrote:
 Hi,

 Is there a way of exporting to PDF from org-mode without generating a
 title? (alternatively, how can I skip the \maketitle command in the
 latex file when exporting to PDF)

 Manuel


 ___
 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



 --
 Russell Adams                            rlad...@adamsinfoserv.com

 PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

 Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


 ___
 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] Comments in Org-mode

2009-07-14 Thread Russell Adams
Wow! I can duplicate that!

I did the same, and started typing after a region I had used
comment-region on, and it commented new lines after that during fill.



On Tue, Jul 14, 2009 at 08:45:32PM -0700, Manuel Amador wrote:
 Hi Sebastian and Russell,
 
 You are correct. The problem appears after I comment a region in org-mode 
 with:
 
 M-x comment-region enter # enter
 
 After that, every time auto-fill does its magic, I get a # at the
 beginning of each new line.
 
 Manuel
 
 
 On Tue, Jul 14, 2009 at 6:14 PM, Sebastian Rosesebastian_r...@gmx.de wrote:
  Russell Adams rlad...@adamsinfoserv.com writes:
  I just tried that in 6.24b with auto-fill-mode, and no problems.
 
 
 
  Same here. Maybe it's the old emacs development-snappshot?
  There where quite some bugs - it's not a release version.
 
  I know I saw that problem...
 
  I use the current emacs CVS version and it's fine.
 
 
  emacs 23.1.50.1, org-mode 6.24a, Debian testing.
 
 
  ?Sebastian
 
 
  ___
  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
 


--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
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] Comments in Org-mode

2009-07-14 Thread Samuel Wales
As far as I know, I fixed it in the thread whose subject is
Protecting comment lines from fill-paragraph.

On Tue, Jul 14, 2009 at 21:52, Russell Adamsrlad...@adamsinfoserv.com wrote:
 Wow! I can duplicate that!

 I did the same, and started typing after a region I had used
 comment-region on, and it commented new lines after that during fill.



 On Tue, Jul 14, 2009 at 08:45:32PM -0700, Manuel Amador wrote:
 Hi Sebastian and Russell,

 You are correct. The problem appears after I comment a region in org-mode 
 with:

 M-x comment-region enter # enter

 After that, every time auto-fill does its magic, I get a # at the
 beginning of each new line.

 Manuel


 On Tue, Jul 14, 2009 at 6:14 PM, Sebastian Rosesebastian_r...@gmx.de wrote:
  Russell Adams rlad...@adamsinfoserv.com writes:
  I just tried that in 6.24b with auto-fill-mode, and no problems.
 
 
 
  Same here. Maybe it's the old emacs development-snappshot?
  There where quite some bugs - it's not a release version.
 
  I know I saw that problem...
 
  I use the current emacs CVS version and it's fine.
 
 
  emacs 23.1.50.1, org-mode 6.24a, Debian testing.
 
 
  ?Sebastian
 
 
  ___
  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



 --
 Russell Adams                            rlad...@adamsinfoserv.com

 PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

 Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


 ___
 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




-- 
Myalgic encephalomyelitis makes you die decades early (Jason
et al. 2006) and suffer severely.  Conflicts of interest are
destroying research.  Silence = death.  Again.
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


___
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-style folding for a .emacs

2009-07-14 Thread Eric Schulte
Scot Becker scot.bec...@gmail.com writes:

 Thanks Eric, Michael and Dan, for the assistance.

 Both options look good (outline-minor-mode and a literate org file).

  My first draft of this request for help actually included
 consideration of a  literate org file, but I deleted it, since I
 thought it would be too complex, and your work (Dan) was too far from
 finished to be usable by someone of Not A Lot of Time.  If I can make
 it work, this does sound even more powerful than the
 outline-minor-mode solution. 

Hi Scot,

I've added some simplifying functions to the literate programming
functionality of org-babel.  It should now be easy to embed your elisp
initialization into org-mode files.  Specifically there is now a new
`org-babel-load-file' function which can load the elisp portions of
org-mode files in the same manner as the normal `load-file' command.

To use this you need to clone the latest version of org-babel[1], and
then add the following to your emacs initialization (this worked for me
when a base emacs emacs -Q).

--8---cut here---start-8---
(add-to-list 'load-path ~/path/to/org/lisp)
(add-to-list 'load-path ~/path/to/org-babel/lisp)
(require 'org-babel-init)
;; now you can load your org-mode files with embedded elisp
(org-babel-load-file ~/path/to/org-mode-file.org)
;; for example
(org-babel-load-file ~/path/to/org-babel/test-tangle.org)
--8---cut here---end---8---

Hopefully this will provide the literate programming functionality
without too much trouble.

Cheers -- Eric

 I had two reasons for the request: first it was just to have a modular
 init file without actually making it modular (i.e. by folding it
 org-like), the second was to make an init file that might be of use to
 others, especially Emacs beginners, for which an org-rich literate
 solution would be nice, both for its folding and for links to the full
 range of things that org supports (or can be made to support).

 Thanks all for the examples.  I'll give it a try.

 Scot


 ___
 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

Footnotes: 
[1]  git clone git://github.com/eschulte/org-babel.git



___
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] Comments in Org-mode

2009-07-14 Thread Manuel Amador
Samuel,

Thanks for replying. The thread that you mentioned however, seems to
be concerned with a different issue.

My issue shows up not just in a line right after a commented line, but
could happen anywhere later in the text. That is, after the
comment-region command is used, every time a new line is automatically
created, it starts with #.

Manuel

On Tue, Jul 14, 2009 at 10:06 PM, Samuel Walessamolog...@gmail.com wrote:
 As far as I know, I fixed it in the thread whose subject is
 Protecting comment lines from fill-paragraph.

 On Tue, Jul 14, 2009 at 21:52, Russell Adamsrlad...@adamsinfoserv.com wrote:
 Wow! I can duplicate that!

 I did the same, and started typing after a region I had used
 comment-region on, and it commented new lines after that during fill.



 On Tue, Jul 14, 2009 at 08:45:32PM -0700, Manuel Amador wrote:
 Hi Sebastian and Russell,

 You are correct. The problem appears after I comment a region in org-mode 
 with:

 M-x comment-region enter # enter

 After that, every time auto-fill does its magic, I get a # at the
 beginning of each new line.

 Manuel


 On Tue, Jul 14, 2009 at 6:14 PM, Sebastian Rosesebastian_r...@gmx.de 
 wrote:
  Russell Adams rlad...@adamsinfoserv.com writes:
  I just tried that in 6.24b with auto-fill-mode, and no problems.
 
 
 
  Same here. Maybe it's the old emacs development-snappshot?
  There where quite some bugs - it's not a release version.
 
  I know I saw that problem...
 
  I use the current emacs CVS version and it's fine.
 
 
  emacs 23.1.50.1, org-mode 6.24a, Debian testing.
 
 
  ?Sebastian
 
 
  ___
  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



 --
 Russell Adams                            rlad...@adamsinfoserv.com

 PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

 Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


 ___
 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




 --
 Myalgic encephalomyelitis makes you die decades early (Jason
 et al. 2006) and suffer severely.  Conflicts of interest are
 destroying research.  Silence = death.  Again.
 http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


 ___
 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] Comments in Org-mode

2009-07-14 Thread Samuel Wales
I do not experience the problem you describe.

Did you try the solution anyway?  If it doesn't work, there are things to try.

On Tue, Jul 14, 2009 at 22:23, Manuel Amadoramador.man...@gmail.com wrote:
 Samuel,

 Thanks for replying. The thread that you mentioned however, seems to
 be concerned with a different issue.

 My issue shows up not just in a line right after a commented line, but
 could happen anywhere later in the text. That is, after the
 comment-region command is used, every time a new line is automatically
 created, it starts with #.

 Manuel

 On Tue, Jul 14, 2009 at 10:06 PM, Samuel Walessamolog...@gmail.com wrote:
 As far as I know, I fixed it in the thread whose subject is
 Protecting comment lines from fill-paragraph.

 On Tue, Jul 14, 2009 at 21:52, Russell Adamsrlad...@adamsinfoserv.com 
 wrote:
 Wow! I can duplicate that!

 I did the same, and started typing after a region I had used
 comment-region on, and it commented new lines after that during fill.



 On Tue, Jul 14, 2009 at 08:45:32PM -0700, Manuel Amador wrote:
 Hi Sebastian and Russell,

 You are correct. The problem appears after I comment a region in org-mode 
 with:

 M-x comment-region enter # enter

 After that, every time auto-fill does its magic, I get a # at the
 beginning of each new line.

 Manuel


 On Tue, Jul 14, 2009 at 6:14 PM, Sebastian Rosesebastian_r...@gmx.de 
 wrote:
  Russell Adams rlad...@adamsinfoserv.com writes:
  I just tried that in 6.24b with auto-fill-mode, and no problems.
 
 
 
  Same here. Maybe it's the old emacs development-snappshot?
  There where quite some bugs - it's not a release version.
 
  I know I saw that problem...
 
  I use the current emacs CVS version and it's fine.
 
 
  emacs 23.1.50.1, org-mode 6.24a, Debian testing.
 
 
  ?Sebastian
 
 
  ___
  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



 --
 Russell Adams                            rlad...@adamsinfoserv.com

 PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

 Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


 ___
 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




 --
 Myalgic encephalomyelitis makes you die decades early (Jason
 et al. 2006) and suffer severely.  Conflicts of interest are
 destroying research.  Silence = death.  Again.
 http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


 ___
 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





-- 
Myalgic encephalomyelitis makes you die decades early (Jason
et al. 2006) and suffer severely.  Conflicts of interest are
destroying research.  Silence = death.  Again.
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


___
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 Special Ctrl A/E, option reversed

2009-07-14 Thread Rainer Stengele

On 15.07.2009 05:47, Brian van den Broek wrote:

Rainer Stengele said unto the world at 14/07/09 05:25 AM:

hi all,

,
| Org Special Ctrl A/E: Hide Value Value Menu after stars/bullet and
before tags first
| State: EDITED, shown value does not take effect until you set or
save it.
| Non-nil means `C-a' and `C-e' behave specially in headlines and
items. Hide Rest

snip

| When set to the symbol `reversed', the first `C-a' or `C-e' works
normally,
| and only a directly following, identical keypress will bring the cursor
| to the special positions.

snip

| Groups: Org Edit Structure
`

How can I set this variable to reversed, as indicated in the
paragraph before the last one?
The Value Menu does not include such a value.

Rainer




Hi Rainer,

Put

(setq org-special-ctrl-a/e 'reversed)

into your .emacs.

Best,

Brian vdB


___
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




Hi Brian,

thanks, that's intuitive ...
I just thought the value could be set in the variable customisation.
Have a nice day,

Rainer



___
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 Special Ctrl A/E, option reversed

2009-07-14 Thread Rainer Stengele

On 15.07.2009 05:47, Brian van den Broek wrote:

Rainer Stengele said unto the world at 14/07/09 05:25 AM:

hi all,

,
| Org Special Ctrl A/E: Hide Value Value Menu after stars/bullet and
before tags first
| State: EDITED, shown value does not take effect until you set or
save it.
| Non-nil means `C-a' and `C-e' behave specially in headlines and
items. Hide Rest

snip

| When set to the symbol `reversed', the first `C-a' or `C-e' works
normally,
| and only a directly following, identical keypress will bring the cursor
| to the special positions.

snip

| Groups: Org Edit Structure
`

How can I set this variable to reversed, as indicated in the
paragraph before the last one?
The Value Menu does not include such a value.

Rainer




Hi Rainer,

Put

(setq org-special-ctrl-a/e 'reversed)

into your .emacs.

Best,

Brian vdB


___
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




Hi Brian,

thanks, that's intuitive ...
I just thought the value could be set in the variable customisation.
Have a nice day,

Rainer


___
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