1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-23 07:18:53 +00:00
Commit Graph

1918 Commits

Author SHA1 Message Date
Carsten Dominik
098cf35983 Clock: Clock out when done also in indirect buffers
Chris Randle writes:

>  I have one giant Org-mode file for everything. I frequently use
>  `C-c C-x b' to take the current node and show it in a new frame
>  with narrow subtree so that I can concentrate on just that region
>  of my file. Rather like hoist in GrandView, if anyone remembers
>  that.
>
>  My Org Manual (6.24b) says "The indirect buffer...will contain
>  the entire buffer, but will be narrowed to the current
>  tree. Editing the indirect buffer will also change the original
>  buffer, but without affecting visibility in that buffer.
>
>  I've noticed that, when working in the new frame, changing the
>  TODO state of any item within the frame to DONE (when it is the
>  currently clocked in item) does not stop the clock. Going back to
>  my main frame and doing the same thing there on the same item
>  does stop the clock.
>
>  I haven't altered `org-clock-out-when-done', and Emacs reports
>  its value as t.

This was caused by the fact that markers seem to point to the
base buffer always, so we need to check if the current buffer's
base buffer is equal to the marker buffer.
2009-03-23 21:02:23 +01:00
Carsten Dominik
19f700a606 Bugfix: Add explamation mark to post-emphasis characters
Reported by Baoqiu Cui.
2009-03-23 11:14:29 +01:00
Carsten Dominik
1aabee4a8a Read-date: New hook
The new hook `org-read-date-minibuffer-setup-hook'.
2009-03-22 17:04:46 +01:00
Carsten Dominik
dacc545856 org-mac-message.el: New functions to access flagged mail
Chritopher Suckling writes:

>  All,
>
>  For various reasons (mainly Spotlight and an excess of HTML mail
>  send by employers), I've migrated back to Mail.app after some
>  time in Mutt (and how I miss the speed and threading).
>
>  I habitually flag mails that need attention at a later date, and
>  rather than use both org-mode and Mail.app to keep track of what
>  needs doing, I've written a couple of hybrid elisp AppleScript
>  functions to suck links to my flagged email into org-mode.
>

org-mac-message.el now contains these new functions.
2009-03-22 16:02:54 +01:00
Carsten Dominik
ebb5988e9d Remember: Allow backup files for remember buffers
When setting the variable `org-remember-back-directory', each
remember buffer created will now get its own unique file name in that
directory.  So if you, by accident, overwrite a remember buffer or
remove it before storing it, there will be a backup.
2009-03-22 15:25:17 +01:00
Carsten Dominik
4d4e052b6f Fix typos 2009-03-21 23:37:48 +01:00
Carsten Dominik
225e2111fe Mouse: Create better TODO menu
The TODO keyword made with org-mouse.el now calls org-todo to change
the keyword, so that the logging and note-taking works properly.
2009-03-21 19:39:17 +01:00
Carsten Dominik
d6e81d3150 Documentation: Better info about S-cursor keys 2009-03-21 18:38:58 +01:00
Carsten Dominik
c7718a1999 Tables: Make M-a and M-e go to beginning and end of table field
This commit overloads the sentence commands M-a and M-e so that they
will work on table fields in tables.
2009-03-21 18:25:11 +01:00
Carsten Dominik
922fe1e05f Column view: Force truncate-lines while column view is active 2009-03-21 18:25:03 +01:00
Carsten Dominik
d9d7398edd Column view: Exclude archived trees, for speed. 2009-03-21 18:25:01 +01:00
Carsten Dominik
7924dcb1bf New face for items switched in agenda to DONE.
Items are listed in the agenda sometimes in bright colors, to draw
attention to important tasks or deadlines.  When such an item is
switched to DONE, the state change is reflected by the new TODO
keyword, but the line itself might still be bright.  Org de-emphasizes
the line by changing the face of the line.  It used to change it to
the face `org-done', but now we use a new, independent face
`org-agenda-done'.
2009-03-21 18:25:01 +01:00
Carsten Dominik
132dc95042 Agenda: No longer indent matching sublevels by dots.
When a tags/property match does match an entry and its sublevels, the
sublevels used to be indented by dots, to indicate that the matches
likely result from tag inheritance.  This is now no longer the
default, but you can get it back with

   (setq org-tags-match-list-sublevels 'indented)
2009-03-21 18:25:01 +01:00
Carsten Dominik
0dea2ba3df LaTeX export: Apply macros also in header 2009-03-21 18:24:53 +01:00
Carsten Dominik
ba9bb1525b LaTeX export: Fix bug in export of checkboxes with checked status
Patch by Baoqiu Cui
2009-03-21 18:24:51 +01:00
Carsten Dominik
76ac6dce68 Bugfix: Fix indentation problems
David Maus writes:

>  When I start to clock a headline (C-c C-x C-i) that does not have a
>  LOGBOOK drawer orgmode inserts one but removes the indentation of the
>  first line below the headline:
>
>  Example:
>
>  * TODO Do something
>   Do this, do that etc.
>
>  after C-c C-x C-i becomes
>
>  * TODO Do something
>   :LOGBOOK:
>   CLOCK: [2009-03-20 Fr 19:03]--[2009-03-20 Fr 19:03] =>  0:00
>   :END:
>  Do this, do that etc.

Fixed with this commit, a patch written by Peter Jones.
2009-03-21 18:24:51 +01:00
Carsten Dominik
4f70034a94 LaTeX export: Better handling of levels below the headline boundary
Outline levels below the headline boundary are now treated better, as
proper list.  The variable `org-export-latex-low-levels' can now also
be `itemize' or `enumerate', to get the corresponding list structure.
The new default is `itemize', to make it parallel with the behavior in
HTML.
2009-03-21 18:24:36 +01:00
Carsten Dominik
cf6cdd5c44 Checkboxes: New face
Checkboxes not have their own face.  This can be used to make them
look different.  Default is still just bold.
2009-03-20 14:09:10 +01:00
Carsten Dominik
5d958f13b3 Export: Fix bug when exporting to temporary buffer
When exporting to a temporary buffer, images to replace LaTeX
fragments cannot be produced, because there is no useful location
where they can be put.  Therefore, these images are not produced in
this case.
2009-03-20 14:06:33 +01:00
Carsten Dominik
d48a1e49e2 Refile: Don't error for self-refile when only going to a place
Refiling checks if an entry is refiled to itself.  Of course, this
check is irrelevant when using refile to jump to a location.
2009-03-19 10:48:43 +01:00
Carsten Dominik
aaedf7d01a Stuck projects: Search subtree of un-stuck projects
This commit implements an important change:  When, during a
stuck-project search, a project tree is identified as not stuck, so
far the search would continue after the end of the project tree.  From
now on, the search continues in the subtree, so that stuck subprojects
can still be identified.
2009-03-19 10:47:04 +01:00
Carsten Dominik
7059914423 Export: Improve centering, verse, and blockquote export
In verse environments, line breaks are now enforced both in LaTeX and
in HTML.  Centering is now implemented using a div rather than a
paragraph, so that there may be several paragraphs in the centering
environment.  Blockquotes now also may have several paragraphs.
2009-03-19 09:29:58 +01:00
Carsten Dominik
a6596a3945 Add icon file 2009-03-19 08:28:42 +01:00
Carsten Dominik
d303a4c3d7 Add vector versions of the unicorn logo 2009-03-18 09:09:56 +01:00
Carsten Dominik
5a286e45da Bugfix: Make mouse click on tags do a tags search.
This used to work, but the tags search part was no longer reached
because of a bug in the sequence of checking regular expressions.
2009-03-17 11:59:51 +01:00
Carsten Dominik
ad11d7f675 Centering: Implement markup for centered text. 2009-03-16 22:14:15 +01:00
Carsten Dominik
4ec5a19ecf LaTeX Export: Fix vertical lines in tables 2009-03-16 21:43:20 +01:00
Carsten Dominik
8d29f3d427 Export: Improve documentation about htmlize-output-style. 2009-03-16 21:41:14 +01:00
Carsten Dominik
ae2cf50782 Alan E Davis writes:
>  Feature Request: that the pdf saved automatically from agenda be
>  immediately displayed
>  The saving of a pdf is a really nice feature.  I had hacked
>  org-agenda, I think, to automatically do this.  However, it would
>  be nicer if immediate display were optional.  I don't know
>  whether \C-u makes sense as a prefix to saving a file with \C-x
>  \C-w.  Perhaps not.

Why not, C-c C-x C-w is a fine idea for this.  It should now work.
2009-03-15 16:46:44 +01:00
Carsten Dominik
95b00738e3 Minor fix 2009-03-15 16:39:12 +01:00
Carsten Dominik
e217a11329 Docstrings: Fix typos. 2009-03-15 14:44:52 +01:00
Carsten Dominik
fd4670fe67 Sparse tree: New tree for times after a certain date.
Keys are `C-c / a', this command is for symmetry with `C-c / b'.
2009-03-15 14:39:48 +01:00
Carsten Dominik
3d2e1c0f04 Notes: Remove empty drawer if note is aborted.
When a note is taken, the new drawer is created before the note is
taken.  Now the drawer is removed again if the note gets aborted and
if the drawer is empty.
2009-03-15 14:04:39 +01:00
Carsten Dominik
e56c7097f4 Bugfix: Adding stars with C-c *
When calling C-c * before the first headline, the results where wrong.
Fixed now.
2009-03-15 12:27:49 +01:00
Carsten Dominik
e5c0da5c48 Date prompt: Use own history
The date prompt now has its own history.
2009-03-15 12:19:12 +01:00
Carsten Dominik
107803c6c3 ASCII export: Improve export of description lists
The list bullet is now removed, and the double colon is replaced by a
single colon.
2009-03-15 12:12:17 +01:00
Bastien Guerry
730ef5f5f6 Fix bug in `org-toggle-fixed-width-section'.
Fixed-width sections start with a column followed by a space.
This function now toggle fixed-width sections accordingly to
the manual.
2009-03-14 17:33:15 +01:00
Carsten Dominik
439b4ba088 Incorporate changes from downstream Emacs 2009-03-14 08:50:11 +01:00
Carsten Dominik
5dc13cc945 Fix typo. 2009-03-14 08:39:43 +01:00
Carsten Dominik
8461b96e79 LaTeX export: Automatically choose \verb delimiter 2009-03-14 08:36:48 +01:00
Carsten Dominik
722fc9a490 Version number to 6.24trans 2009-03-14 08:03:10 +01:00
Carsten Dominik
acfcb14c82 Time stamps: Changing time ranges as a block.
Anupam Sengupta writes:

>  I routinely use time ranges (and occasionally time-stamp ranges)
>  in my org files to document the scheduled block of time for a
>  meeting or activity.  As an example, I will mark meetings as:
>
>  * A Meeting
>   <2009-03-12 Thu 10:00-11:00>
>
>  As often happens with meetings, rescheduling needs to be done and
>  I use S-<up> or S-<down> on the time-stamp to make the
>  modifications.  While this works fine, it usually leads to a
>  duplication when the *time* part of the time-stamp needs to be
>  changed.
>
>  For the same example above, if the time-block has now changed to
>  11:00-12:00, then I need to do S-<up> on both the "10:00" and the
>  "11:00" string.  I.e,
>
>
>  * A Meeting
>   <2009-03-12 Thu 11:00-11:00>
>                    ^
>                    +---------------- After the first S-<up>
>
>  * A Meeting
>   <2009-03-12 Thu 11:00-12:00>
>                          ^
>                          +---------------- After the second S-<up>
>
>  Can we have a feature (with a toggle option perhaps) which would
>  *move* the block (i.e., both time entries) by the same amount
>  when either one is moved in the same direction. I.e., the
>  proposal is to have:
>
>  * A Meeting
>   <2009-03-12 Thu 11:00-12:00>
>                    ^     ^
>                    |     |
>                    |     +---------- Automatically shifted
>                    +---------------- After the S-<up>

This is in fact how changing time works in many applications, and
it does make sense here as well.  The commits implements this
change.

It also implements a way to change the start time of an entry from
the agenda.  The date is normally changed with S-right/left.
Now, if you add a C-u prefix, the hour will be changed.  If you
immediately press S-right/left again, hours will continue to be
changed.

A double prefix will do the same for minutes.
2009-03-14 08:02:09 +01:00
Carsten Dominik
f9a107f605 org-mtags.el: Support for literal docbook code 2009-03-13 07:34:59 +01:00
Carsten Dominik
cf71b88515 org-exp-bibtex.el: More improvements
Better error message, more general citation key matching.
2009-03-12 18:26:55 +01:00
Carsten Dominik
c8b6a9cc60 Release 6.24c 2009-03-12 12:51:17 +01:00
Carsten Dominik
9c32f810bd org-exp-bibtex.el: New version with sorting and more. 2009-03-12 12:49:34 +01:00
Carsten Dominik
80ec053008 HTML export: Protect explicit target links
If a link is [[#name][desc]], the href wil be exacty href="#name".
So starting a link target with # will indicate that there will be an
explicit target for this.
2009-03-12 11:38:44 +01:00
Carsten Dominik
b0416ae0a9 Bugfix: Fix install-info-debian target in Makefile 2009-03-12 07:31:57 +01:00
Carsten Dominik
a13d52efb0 Acknowledgments: Add Nick Dokos to the all of fame :-) 2009-03-11 17:23:28 +01:00
Carsten Dominik
6cda490b12 Cloning tasks
New command to clone tasks, with time stamps shifted.
2009-03-11 15:13:59 +01:00