0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-13 23:09:55 +00:00
Commit graph

345 commits

Author SHA1 Message Date
Carsten Dominik 012eabc35f Links: Make C-c C-o on a headline offer all links in headline and entry text 2009-08-28 10:42:37 +02:00
Carsten Dominik bbc27c011a Agenda: When in separate frame, mark the frame dedicated.
Henry Atting writes:

> If org agenda is displayed in an other frame then windows aren*t
> restored when quitting, I have to kill the frame manually.  I
> really would like it to behave like e.g. gnus-other-frame which
> automatically kills his frame on quitting.
2009-08-27 18:18:28 +02:00
Carsten Dominik fa36f186b2 New keys for switching the agenda through time.
The new keys are b and f.  This used to be on the cursor keys, but
they do now again do cursor motion.

This is a significant change in the UI, I hope this will not cause too
many problems.
2009-08-27 16:08:55 +02:00
Carsten Dominik 99f507daf5 Keep byte compiler happy 2009-08-27 15:18:25 +02:00
Carsten Dominik 350691164b Avoid calling `goto-line' from lisp programs 2009-08-27 10:24:09 +02:00
Carsten Dominik 632d7813ec Agenda: New submode to show entry text inline with the agenda entries.
The key access it `E'.
2009-08-27 09:56:46 +02:00
Carsten Dominik d0bee84a32 Force visual line motion off in the agenda 2009-08-27 07:42:12 +02:00
Bernt Hansen 64d3186ff6 Fix agenda bulk refile bug
Fix bulk refiling in the agenda due to commit
9ec5529 (Fix jumping to last refile location in agenda, 2009-08-20)

This restores the original behaviour.
2009-08-26 10:29:24 -04:00
Carsten Dominik c2265b4145 Improve following links from the agenda
`C-c C-o' in the agenda will now offer links visible in the agenda
line and also links in the entry text of the original outline node.
2009-08-26 13:09:26 +02:00
Carsten Dominik 7284206c6a Merge branch 'for-carsten' of git://git.norang.ca/org-mode
Conflicts:
	lisp/org-agenda.el
2009-08-26 06:40:45 +02:00
Carsten Dominik 8a72889e39 Agenda: Improve of the command `org-agenda-open-link'
It can now handle multiple links in the entry, as well as entry text
pulled in via `E'.
2009-08-25 22:45:58 +02:00
Bernt Hansen 9ec5529af0 Fix jumping to last refile location in agenda
C-u C-u C-c C-w now goes to the last refile location in the agenda.
This is the same behaviour as org-refile (when used in an org file)
2009-08-25 10:05:14 -04:00
Carsten Dominik 0688613ca8 Test implementation for agenda showing some amount of entry text 2009-08-24 18:43:10 +02:00
Carsten Dominik 158a5d8fe6 Improve documentation on inclusion if inactive timestamps. 2009-08-18 07:17:15 +01:00
Carsten Dominik ca699a970d Agenda: Fix problem with block entries.
This bug was caused by commit
8c177dc832, and reported by Matt
Lundin.  The problem was that this commit tried to remove the text
propertes of the MATCH part of an agenda command.  However, in block
commands, the MATCH part is not a string.
2009-08-18 06:31:33 +01:00
John Wiegley 5acac25dc1 All completing-read behavior for iswitchb users
This is enabled using org-completion-use-iswitchb, and follows the same
model of usage as for ido users.
2009-08-15 01:14:04 +02:00
Carsten Dominik 7d5fe030e3 Get rid of unnecessary prompt in agenda view
Patch by Bernt Hansen

http://thread.gmane.org/gmane.emacs.orgmode/16485
2009-08-14 20:47:39 +02:00
Carsten Dominik 8c177dc832 Avoid text properties on elements in custom variables 2009-08-14 17:18:14 +02:00
Carsten Dominik ab2ed6adb8 Agenda: avoid some duplicate entries
New variable `org-agenda-skip-scheduled-if-deadline-is-shown' to avoid
that a entry shows up in the agenda for today for both a scheduling
and a deadline entry.  See the docstring of the variables for more
details.
2009-08-07 23:59:22 +02:00
Carsten Dominik 0af5133334 Mark running clock in the agenda.
If the entry currently being clocked is present in the agenda, mark it.
2009-08-07 11:00:16 +02:00
Carsten Dominik 0622debb55 Agenda: Add a command to toggle the bulk mark. 2009-08-07 07:22:22 +02:00
Carsten Dominik bfdd3d3fd3 Push version number to 6.29trans 2009-08-06 12:07:20 +02:00
Carsten Dominik 0864163024 Release 6.29c 2009-08-06 06:26:23 +02:00
Carsten Dominik d6b37ddbea Release 6.29b 2009-08-05 12:34:30 +02:00
Carsten Dominik 1c25048e48 Release 6.29a 2009-08-04 23:54:22 +02:00
Carsten Dominik d67a9be8a2 Release 6.29 2009-08-04 23:06:39 +02:00
Carsten Dominik babd053bd6 Fix bulk agenda processing with parents and children in the loop
Bernt Hansen writes:

> Every so often I run into a situation where bulk refiling
> doesn't work anymore.
>
> I currently have 15 items in my refile.org file that I want
> to refile to other locations.  I marked a few of them and
> bulk refiled them just fine.  Then I marked a few more and B
> r fails with "Cannot find entry for marker #<marker at
> 297156 in norang.org>"
>
> I think this happens when I mark multiple tasks in the same
> subtree (i.e. the parent and a sibling) and refile both to
> the same location.  After that it gets confused.
>
> If I have a task like this in refile.org
>
> #+FILETAGS: REFILE
> * Test
> ** Test 2
>
> and run a tags match on REFILE I see both tasks.  Mark both
> with m in the agenda and B r to some other location.  It
> refiles the first (and this moves the sibling too) and then
> it's broken after that.
>
> I get the following backtrace
>
> Debugger entered--Lisp error: (error "Cannot find entry for
> marker #<marker at 297156 in norang.org>")

Indeed the happens because, when a parent gets refiled or
achieved, any entries corresponding to its children are
removed from the agenda.

We address this issue by

- sorting the markers, to make sure parents will be handled
  before children

- No longer throwing an error when a bulk action entry no
  longer is present in the agenda - most likely it was taken
  care of together with its parent.
2009-08-04 22:46:08 +02:00
Carsten Dominik 2eecb4c43c Fix white-space errors 2009-08-03 17:30:30 +02:00
Carsten Dominik 31ceed47ff New minor mode org-indent-mode
This mode implements outline indentation similar to clean view, but in
a dynamic and virtual way, at display time.
2009-08-03 06:24:24 +02:00
Bastien Guerry 7cdff7b1eb New timer functionality to set a timer from a headline.
This commit defines three new functions in org-timer.el:

- org-timer-set-timer, bound to `C-c C-x ;' in Org buffers
  and to `;' in Org agenda buffers.   This function sets a
  timer for the headline the cursor is currently it.  Up to
  three timers can be set.

- org-timer-show-remaining-time: this shows the remaining
  time for the last set timer.

- org-timer-reset-timers: this reset all timers.

This functionality was requested by Samuel Wales and emulates
that of tea-time.el -- see the emacswiki doc about tea-time.el:

  http://www.emacswiki.org/emacs/tea-time
2009-07-27 02:54:17 +08:00
Carsten Dominik d19ebd84c3 Agenda bulk commands: Add Schedule and Deadline
Agenda bulk commands on marked entries now can also set the scheduling
date or a deadline.  Normally, all entries will be set to the
specified date.  However, when writing the change as "++5d" or "++2w",
then each time stamp will independently be shifted by that amount.
2009-07-02 17:10:03 +02:00
Carsten Dominik b5edb36f94 Fix bug with matching sublevels 2009-06-28 08:45:56 +02:00
Carsten Dominik e5d6bd0cc0 Load org-icalendar when exporting agenda file to ics 2009-06-27 23:39:09 +02:00
Carsten Dominik f648323253 Push version number to 6.28trans 2009-06-26 17:26:50 +02:00
Carsten Dominik cd4e52a5ef Release 6.28d 2009-06-26 17:23:27 +02:00
Carsten Dominik 94812099b0 Agenda: Add more keys to the view dispatcher 2009-06-26 17:22:48 +02:00
Carsten Dominik 00ddc4dba7 Release 6.28c 2009-06-26 09:27:50 +02:00
Carsten Dominik 5bbd1cb2df Use better keys for Bulk action selection 2009-06-26 09:27:08 +02:00
Carsten Dominik dfe2186724 Fix typos 2009-06-26 07:04:22 +02:00
Carsten Dominik e7ffcc1d4d Release 6.28b 2009-06-25 09:01:20 +02:00
Carsten Dominik 7906427aa6 Release 6.28 2009-06-25 08:59:59 +02:00
Carsten Dominik 9bf59dd0b5 Keep byte compiler happy 2009-06-25 07:29:32 +02:00
Carsten Dominik 2e3a26ae35 Agenda: Refile and bulk action
This commit implements refiling directly from the agenda.

It also implements a mechanism for selecting a number of entries in
the agenda and then executing a command on all of them.  Possible
actions include archive, refile, todo state setting, and more.
2009-06-24 21:50:42 +02:00
Carsten Dominik c76aaf8037 Agenda: Update agenda line after clocking out.
This was a request by Manish
2009-06-22 13:46:02 +02:00
Carsten Dominik e9028c2d0d Stuck projects: Honor `org-agenda-overriding-header'. 2009-06-18 23:34:29 +02:00
Carsten Dominik 8faf8271fe Improve a docstring 2009-06-18 09:56:59 +02:00
Carsten Dominik 379b24cc63 Fix whitespace issues 2009-06-08 08:00:46 +02:00
Carsten Dominik 96989dc01e Agenda: Allow custom command options to work better
When the agenda buffer for an agenda series is created, this was so
far done without the options of the custom agenda command in  place.
This meant that some options would not take effect, because the only
place where that did would have an effect was during creation of that
buffer.

This commit makes sure that the global options of an agenda series are
in fact in place when the buffer is created.
2009-06-04 09:23:57 +02:00
Carsten Dominik ae7b8f6b12 Push version number to 6.27trans 2009-05-26 15:41:44 +02:00
Carsten Dominik 0421dead4b Release 6.27a 2009-05-25 16:04:45 +02:00