Commit Graph

3963 Commits

Author SHA1 Message Date
John Wiegley 63fbf2aab8 Add new parameter to the `org-clock-out' command
(org-clock-out): Accept new third parameter `at-time', which permits a
clock to be clocked out at a specific time.  Note that no attempt is
made to verify that the clock out time is later than the clock in time.
2009-10-16 22:08:01 -04:00
John Wiegley a5150cca5d Prevent mode-line timers from being duplicated
(org-clock-in): Before creating `org-clock-mode-line-timer', check to
make sure an older timer is not currently running.
2009-10-16 22:06:09 -04:00
John Wiegley 080babb885 Added three new utility functions to org.el
(org-files-list): New utility function for returning a list of all open
org-mode buffers, plus all files used to build the agenda buffer.  Note
that not all the files will necessarily be visited by a buffer at time
of call.

(org-entry-beginning-position): Like the function
`line-beginning-position', this inline function returns the beginning
position of the current heading/entry.

(org-entry-end-position): Like the function `line-end-position', this
inline function returns the end position of the current heading/entry.
2009-10-16 22:00:50 -04:00
Eric Schulte 28e6ff8d66 org-babel: adding python support (along the same lines as ruby) 2009-10-16 17:05:31 -06:00
Eric Schulte 770305a650 org-babel: adding ruby support for returning "code" results 2009-10-16 17:05:13 -06:00
Eric Schulte 430a3bf6ad org-babel: "code" results type for returning results in of source code syntax
This includes the required changes to org-babel.el and a
language-specific implementation for emacs-lisp.  The emacs-lisp
changes are from a patch by Benny Andresen.
2009-10-16 17:04:55 -06:00
Carsten Dominik c2719b7e06 Avoid compact agendas for mobile staging 2009-10-16 18:10:14 +02:00
Carsten Dominik c0c56217ff Fix all todo line bug in org-mobile.el 2009-10-16 17:07:38 +02:00
Dan Davison 6ab0d43e80 Merge commit 'org/master' into ded-org-src 2009-10-15 10:32:09 -04:00
Dan Davison 8bd1eb5d4b Merge commit 'org/master' into ded-org-src 2009-10-15 10:29:23 -04:00
Carsten Dominik 93f3968e3f Another mobile fix. 2009-10-15 15:33:11 +02:00
Carsten Dominik 6846edeba3 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2009-10-15 10:24:15 +02:00
Carsten Dominik 77a9f4ecf1 Minor fixes 2009-10-15 07:59:15 +02:00
Carsten Dominik 12d1fd35cc Improve error message 2009-10-15 07:08:44 +02:00
Dan Davison 9592b6f1bd New variable org-src-ask-before-returning-to-edit-buffer
If an active edit buffer exists for a source block, and this variable
is non-nil, then org-edit-src-code will not ask before returning to
the edit buffer, and future saves will overwrite the source block's
contents.
2009-10-14 18:43:25 -04:00
Eric Schulte b0c1758c2a org-babel: dot improvements
for more information on the dot family of tools see
http://www.graphviz.org/
2009-10-14 16:03:40 -06:00
Carsten Dominik d48d06eec8 Reset start position for finding new changes in org-mobile.el 2009-10-14 17:26:10 +02:00
Carsten Dominik a8a74fc9e3 Fix problem in org-mobile.el when there are no custom agenda commands 2009-10-14 17:18:37 +02:00
Carsten Dominik 4fe057f4aa Search view: Search for substrings rather than boolen workd lists
The default in search view is not that the search expression is
searched for as a substring, i.e. the different words must occur in
direct sequence.  The old way is only used it the first word in
the search string is preceded by a plus or a minus.

This was, more-or-less, requested by John Wiegley.
2009-10-14 13:36:36 +02:00
Carsten Dominik 33c75c6e29 Agenda filtering: Make `- SPC' a filter that selects entries without tags
Request by John Wiegley.
2009-10-14 12:45:04 +02:00
Carsten Dominik c285e1178c Improve documentation 2009-10-13 20:47:24 +02:00
Carsten Dominik 680e17848e Document the function `org-outline-level' 2009-10-13 09:48:35 +02:00
Carsten Dominik 851caa74f9 Change default for org-inlinetask-export to t 2009-10-13 00:00:19 +02:00
Carsten Dominik 7a7fa921f7 Fix bugs in org-mobile.el 2009-10-12 23:59:43 +02:00
Dan Davison 23b4026937 org-src-mode: maintain relative location of point when lines are protected 2009-10-12 12:13:08 -04:00
Carsten Dominik 206c717410 Implement what is needed for MobileOrg build 18 2009-10-12 15:19:10 +02:00
Carsten Dominik 7d327d48c4 Skip encoding step when writing out the batch agenda 2009-10-12 14:52:47 +02:00
Carsten Dominik cc0a819186 Re-introduce the variable `org-inlinetask-export' 2009-10-12 09:28:02 +02:00
Carsten Dominik db607b3e2f More fixed to mobile support 2009-10-12 09:21:37 +02:00
Carsten Dominik 06bcedfd15 Fix bug in mobile interaction 2009-10-11 18:09:55 +02:00
Carsten Dominik 60d4ccc259 Make index.org READONLY 2009-10-10 23:32:18 +02:00
Carsten Dominik 9cc4c8288e Merge branch 'MobileOrg' 2009-10-10 23:01:46 +02:00
Carsten Dominik 4a49e40daf Rewrite of org-mobile.org, for MobileOrg build 18 2009-10-10 23:01:33 +02:00
Carsten Dominik 545d59d0b9 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2009-10-10 16:54:27 +02:00
Carsten Dominik 0a7e68575f Remove inlinetask END line when excluded from export 2009-10-10 16:54:13 +02:00
Eric Schulte 0444ca8661 org-babel: haskell lhs2tex export now responds to prefix argument 2009-10-09 11:44:27 -06:00
Dan Davison e079584e56 org-babel: make tangling honour org-src-preserve-indentation
This allows python code to be tangled (i.e. extracted) correctly by
org-babel-tangle. Previously, if e.g. methods of a class were in
separate blocks, then they would be incorrectly indented as top-level
functions in the tangled output.
2009-10-08 12:29:37 -04:00
Dan Davison 8dff317e33 One docstring improvement and 2 docstring typos. 2009-10-08 12:29:16 -04:00
Dan Davison 8da6520429 Prevent point movement when switching between org and code buffers.
Keep point in the same location relative to surrounding text when
switching between org and code buffers.
2009-10-08 12:29:04 -04:00
Dan Davison d1eacbcbe8 Optionally prevent altering indentation of source code.
New customizable variable org-src-preserve-indentation, if non-nil,
prevents automatic removal of rectangular blocks of leading whitespace
in source code blocks. This is necessary when embedding python code in
an org file with a view to extracting all python blocks into a single
file (because whitespace indentation is critical in python code). The
changes in this commit also fix two bugs:

- Setting org-edit-src-content-indentation to zero resulted in an
  infinite loop in org-edit-src-exit.

- Fixed width regions are defined by lines starting with a colon, with
  optional leading whitespace. However, if there was any leading
  whitespace, org-edit-src-exit behaved incorrectly, causing the leading
  whitespace to grow.
2009-10-08 12:28:53 -04:00
Carsten Dominik a26640ef26 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2009-10-08 08:46:20 +02:00
Carsten Dominik d5821a91ba Fix indentation issue with planning line
Reported by Matt Lundin
2009-10-08 08:46:10 +02:00
Eric Schulte c0d54a9a6b org-babel: Haskell lhs export: ensure all \[begin|end]{code} statements start at the first column 2009-10-07 16:01:24 -06:00
Eric Schulte 27df66d8da org-babel: added :session to the header-arguments allowed in headline properties 2009-10-07 12:46:23 -06:00
Carsten Dominik 21a8656af6 Fix bug with agenda category 2009-10-07 10:32:58 +02:00
Carsten Dominik 7ce8e87b8e Fix typo
Patch by Mikael Fornius
2009-10-07 08:13:18 +02:00
Carsten Dominik 523ab0baee LaTeX export: Don't format tables in protected regions 2009-10-07 08:10:05 +02:00
Carsten Dominik e59e619a8f Make "C-c '" also edit #+MACRO definitions, including multiline 2009-10-06 18:42:24 +02:00
Carsten Dominik e72df7e2e4 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
Conflicts:
	lisp/org-agenda.el
2009-10-06 12:03:54 +02:00
Carsten Dominik f042ee7ce5 Allow limited length prefix format specifier %n.mc 2009-10-06 12:02:30 +02:00