Julien Danjou
0d0edd6d21
org-agenda: rework ndays and span handling
...
* org-agenda.el (org-agenda-custom-commands-local-options):
Allow org-agenda-span to be a symbol.
(org-agenda-ndays): Make obsolete.
(org-agenda-span): New variable superseding org-agenda-ndays.
(org-agenda-menu): Use org-agenda-current-span.
(org-agenda-current-span): New local variable storing current
span.
(org-agenda-list): Take a span instead of ndays as argument.
This function is now responsible for computing the ndays based
on span.
(org-agenda-ndays-to-span): Return span only if number of days
really matches.
(org-agenda-span-to-ndays): New function.
(org-agenda-manipulate-query): Use org-agenda-compute-starting-span.
(org-agenda-goto-today): Use org-agenda-compute-starting-span.
(org-agenda-later): Do not give compute a new span, use the
current one.
(org-agenda-day-view, org-agenda-week-view)
(org-agenda-month-view, org-agenda-year-view): Stop touching
org-agenda-ndays.
(org-agenda-change-time-span): Only compute starting-span.
(org-agenda-compute-starting-span): New function derived from
the old org-agenda-compute-time-span.
(org-agenda-set-mode-name): Compute mode based on
org-agenda-current-span.
(org-agenda-span-name): New function.
* org-mouse.el: Replace Replace org-agenda-ndays by
org-agenda-current-span.
* org.texi, orgguide.texi: Replace org-agenda-ndays by
org-agenda-span. Add a paragraph about org-agenda-span and say that
org-agenda-ndays is now deprecated.
This patch is pretty huge, so I'll give a bit of context about it.
I'm weird, but I used org-agenda-ndays set to 14. Unfortunately, this
settings was interpreted as a month view. Pressing 'f' key to see later,
would show me the next month, which was not at all what I wanted.
On the same idea, day view or week view would change my org-agenda-ndays
settings, which I think is not a good idea. Changing user setting is *bad*.
:-)
So I rewrote the things this way:
- Rename org-agenda-span to org-agenda-current-span
Which has the same meaning has before, except it can be numeric.
- Rename org-agenda-ndays to org-agenda-span
I think the name is better choosen. You can set it to a symbol instead of
only a numeric value. That means you can set it to 'month and it will show
you the number of days of the current month in your agenda. Better than
30. But you can still set it to 30, or 31, or whatever you want.
- Do not change org-agenda-span. Never.
- Use org-agenda-current-span for navigation.
That means if you press 'f', it will shows you really the next
org-agenda-current-span ndays, and not something based on "I think you
want a weekly view".
2010-12-03 13:07:31 +01:00
Bastien Guerry
6630edbd0f
Set version number to 7.3
2010-11-07 14:52:14 +01:00
Carsten Dominik
82af72eef7
Push version number to 7.02trans
2010-10-29 09:11:46 +02:00
Nicolas Goaziou
60fcd2fa7e
Replace non-interactive use of `org-next-item' and `org-previous-item'.
...
* org.el (org-skip-over-state-notes): do not compute bottom point at
each item.
* org-mouse.el (org-mouse-for-each-item): use `org-apply-on-list'
instead of moving to each item.
2010-09-12 18:53:18 +02:00
Carsten Dominik
6268cceec3
Mention release 7.01 on the website, push release number to 7.01trans
2010-07-19 08:33:24 +02:00
Philip Rooke
ebf808f9aa
Correct some docstrings [part 4]
...
Same rationale as previous patches in this series.
Phil
2010-07-16 21:00:36 +02:00
Carsten Dominik
c86a3fc4aa
Push version number to 6.36trans
2010-05-09 06:24:20 +02:00
Carsten Dominik
88100d1580
Release 6.36a
2010-05-09 06:13:54 +02:00
Carsten Dominik
56ba0892e5
Simplify XEmacs key bindings
2010-04-21 08:38:09 +02:00
Carsten Dominik
43bf1bbbd7
Push version number to 6.35trans
2010-04-15 12:24:55 +02:00
Carsten Dominik
6f3026edf1
Release 6.35g
2010-04-08 20:15:15 +02:00
Carsten Dominik
a589c7a22e
Release 6.35f
2010-04-08 10:36:32 +02:00
Carsten Dominik
50e5924d8a
Release 6.35e
2010-04-07 16:33:52 +02:00
Carsten Dominik
f722763f8a
Release 6.35d
2010-04-07 16:26:42 +02:00
Carsten Dominik
d65ed03be6
Update copyright notices and fix wrong version tags
2010-04-07 16:26:10 +02:00
Carsten Dominik
cafbe1d038
Release 6.35c
2010-04-07 08:58:25 +02:00
Carsten Dominik
b213c0f31e
Release 6.35b
2010-04-07 07:54:14 +02:00
Carsten Dominik
08d0d2fa20
Release 6.35
2010-04-06 09:16:36 +02:00
Carsten Dominik
06e74afce3
Version number to 6.34trans
2010-01-20 10:13:21 +01:00
Carsten Dominik
a1709ba641
Release 6.34c
2010-01-18 00:10:11 +01:00
Carsten Dominik
2f2f9441d4
Release 6.34b
2010-01-14 23:06:55 +01:00
Carsten Dominik
c077142241
Release 6.34a
2010-01-12 08:53:44 +01:00
Carsten Dominik
288c724335
Release 6.34
2010-01-10 10:57:53 +01:00
Carsten Dominik
275b6627a6
Release 3.34
2010-01-10 10:54:52 +01:00
Carsten Dominik
db5c9d73ec
Introduce compatibility code for looking-back
2009-11-23 12:44:49 +01:00
Carsten Dominik
62a7301a5e
Push release number to 6.33trans
2009-11-20 20:20:31 +01:00
Carsten Dominik
24061fddd1
Release 6.33f
2009-11-20 15:15:05 +01:00
Carsten Dominik
37e9b1c51f
Release 6.33e
2009-11-20 13:58:31 +01:00
Carsten Dominik
24a49967f1
Release 6.33d
2009-11-20 12:34:50 +01:00
Carsten Dominik
c7371cc7fe
Push version number to 6.33trans
2009-11-15 09:46:43 +01:00
Carsten Dominik
6bc6379dfe
Release 6.33c
2009-11-15 08:00:52 +01:00
Carsten Dominik
6c977c41c3
Release 6.33b
2009-11-14 16:25:31 +01:00
Carsten Dominik
b8a6721a68
Release 6.33a
2009-11-13 23:22:18 +01:00
Carsten Dominik
5ca6635993
Push version number to 6.33a
2009-11-13 22:54:22 +01:00
Carsten Dominik
82ee0cc583
Release 6.33
2009-11-13 07:10:51 +01:00
Carsten Dominik
272263a48e
Get rid of org-agenda-keymap
2009-11-06 16:54:26 +01:00
Carsten Dominik
7c0a16e256
Use with-current-buffer instead of save-excursion set-buffer where possible
...
Patch by Stefan Monnier
2009-11-05 22:59:18 +01:00
Carsten Dominik
58562167b4
Version number to 6.32trans
2009-10-27 18:23:19 +01:00
Carsten Dominik
e0949896f7
Release 6.32b
2009-10-27 18:22:28 +01:00
Carsten Dominik
037b685d50
Push version number to 6.32trans
2009-10-27 09:25:30 +01:00
Carsten Dominik
fcd2ef541f
Release 6.32
2009-10-26 08:57:21 +01:00
Carsten Dominik
6b0a251eea
Push version number to 6.31trans
2009-10-01 11:57:17 +02:00
Carsten Dominik
1b37d5e07c
Release 6.31a
2009-10-01 09:13:58 +02:00
Carsten Dominik
c11e0b44ae
Release 6.31
2009-09-30 16:03:17 +02:00
Carsten Dominik
291a6db848
Release number back to 6.30trans
2009-09-04 10:39:01 +02:00
Carsten Dominik
12ab55ca43
Release 6.30d
2009-09-03 13:53:46 +02:00
Carsten Dominik
adfa87282d
Push version number to 6.30trans
2009-09-03 08:10:36 +02:00
Carsten Dominik
63e1714288
Release 6.30c
2009-09-02 14:40:56 +02:00
Carsten Dominik
fc332703bf
Release 6.30b
2009-09-02 11:33:10 +02:00
Carsten Dominik
1d04b205e6
Release 6.30a
2009-09-02 09:00:23 +02:00
Carsten Dominik
db70cdb13b
Release 6.30
2009-09-01 06:09:23 +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
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
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
00ddc4dba7
Release 6.28c
2009-06-26 09:27:50 +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
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
Carsten Dominik
b681c7b26e
Release 6.27
2009-05-23 08:22:04 +02:00
Carsten Dominik
69e6d249aa
Push version number to 6.26trans
2009-04-22 09:08:13 +02:00
Carsten Dominik
73854f435d
Release 6.26d
2009-04-22 06:42:17 +02:00
Carsten Dominik
595e9603ac
Release 6.26c
2009-04-21 20:26:27 +02:00
Carsten Dominik
e0cd12716a
Release 6.26b
2009-04-21 10:21:36 +02:00
Carsten Dominik
b8a5f1a7fc
Release 6.26a
2009-04-19 22:31:36 +02:00
Carsten Dominik
ba66d2c8ae
Release 6.26
2009-04-19 08:38:49 +02:00
Carsten Dominik
ef2ee3df5d
Version number pushed to 6.25trans
2009-04-07 18:43:42 +02:00
Carsten Dominik
eef47f820f
Release 6.25d
2009-04-05 15:29:45 +02:00
Carsten Dominik
e2eebc83a1
Release 6.25c
2009-04-05 08:45:39 +02:00
Carsten Dominik
5624263d97
Release 6.25b
2009-04-03 19:18:41 +02:00
Carsten Dominik
1426f8bcfd
Release 6.25a
2009-04-02 18:24:52 +02:00
Carsten Dominik
aeb5cb98d6
Release 6.25
2009-04-01 16:00:39 +02:00
Carsten Dominik
3ab4f4b618
Fix key bindings in org-mouse for XEmacs
2009-03-30 23:45:40 +02: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
722fc9a490
Version number to 6.24trans
2009-03-14 08:03:10 +01:00
Carsten Dominik
c8b6a9cc60
Release 6.24c
2009-03-12 12:51:17 +01:00
Carsten Dominik
680d8cb440
Release 6.24b
2009-03-10 17:50:17 +01:00
Carsten Dominik
7e8a387184
Release 6.24a
2009-03-09 05:37:09 +01:00
Carsten Dominik
20828f3176
Release 6.24
2009-03-05 21:11:18 +01:00
Carsten Dominik
c91bca9d1c
Push version number to 6.23trans
2009-02-26 21:32:04 +01:00
Carsten Dominik
6c8beec225
Release 6.23b
2009-02-22 18:37:24 +01:00
Carsten Dominik
482216f300
Release 6.23a
2009-02-21 15:18:39 +01:00
Carsten Dominik
82f2fca21e
Release 6.23
2009-02-20 11:16:03 +01:00
Carsten Dominik
492a5b5ea9
Version number: Push to 6.22trans
2009-02-13 07:45:42 +01:00
Carsten Dominik
bc5b0056e7
Release 6.22b
2009-02-10 20:21:33 +01:00
Carsten Dominik
e592c77846
Release 6.22a
2009-02-10 10:11:23 +01:00
Carsten Dominik
8d213584ff
Release 6.22
2009-02-10 08:23:35 +01:00
Carsten Dominik
93ec228f36
Push version number to 6.21trans
2009-02-03 00:06:22 +01:00
Carsten Dominik
0b424cb238
Release 6.21b
2009-02-02 21:42:20 +01:00
Carsten Dominik
2fa17ebf74
Release 6.21a
2009-02-02 14:23:54 +01:00
Carsten Dominik
193fab0788
Release 6.21
2009-02-02 12:18:44 +01:00
Carsten Dominik
c1296074f2
Release 6.20i
2009-02-01 00:16:43 +01:00
Carsten Dominik
924110aecc
Release 6.20h
2009-01-30 18:31:37 +01:00
Carsten Dominik
f99b00f61c
Release 6.20g
2009-01-30 09:20:41 +01:00
Carsten Dominik
bb3570eae9
Release 6.20f
2009-01-29 15:29:07 +01:00
Carsten Dominik
11fa49dd21
Release 6.20e
2009-01-29 14:13:30 +01:00
Carsten Dominik
317f08c69b
Release 6.20d
2009-01-29 10:38:35 +01:00
Carsten Dominik
435ac059bf
Release 6.20c
2009-01-28 14:35:50 +01:00
Carsten Dominik
bc19e4df69
Release 6.20b
2009-01-28 14:04:56 +01:00
Carsten Dominik
16f7c4f384
Release 6.20a
2009-01-28 12:28:54 +01:00
Carsten Dominik
b81f597de0
Release 6.20
2009-01-28 09:30:12 +01:00
Carsten Dominik
78b4ca8cfc
Release 6.19e
2009-01-27 11:44:49 +01:00
Carsten Dominik
2860252c9e
Minor fixes, and release 6.19d
2009-01-27 09:11:34 +01:00
Carsten Dominik
c848dae4be
Release 6.19c
2009-01-27 09:02:13 +01:00
Carsten Dominik
ea446a6ff7
Release 6.19b
2009-01-26 08:22:14 +01:00
Carsten Dominik
5e965557b3
Release 6.19a
2009-01-25 16:08:16 +01:00
Carsten Dominik
41e51dfef4
Release 6.19
2009-01-25 13:41:09 +01:00
Carsten Dominik
19351e35c2
Version number: pushed to 6.18trans
2009-01-21 17:59:42 +01:00
Carsten Dominik
5f814319eb
Release 6.18c
2009-01-21 10:34:03 +01:00
Carsten Dominik
d164a22da6
Release 6.18a
2009-01-21 10:24:46 +01:00
Carsten Dominik
b76b28f2a7
Release 6.18
2009-01-20 10:23:26 +01:00
Carsten Dominik
03d324ac2b
Export: Better detection of images that can be inlined.
...
Two new variables, `org-export-html-inline-image-extensions' and
`org-export-latex-inline-image-extensions' now define the file
extensions that will be considered for inlining images. The default
for HTML is png, jpg, jpeg, and gif files. The default for LaTeX is
png, jpg, jpeg, and pdf, assuming processing with `pdflatex'.
For LaTeX export, this can lead to conflicts for links that point
to non-image PDF files. To avoid that such a link will be inlined by
accident, always give a description text for such a link, one that is
not equal to the path.
2009-01-18 19:14:10 +01:00
Carsten Dominik
fd82530eed
Include changes from downstream Emacs.
...
Glenn Morris and Juanma Barranquero have fixed typos and more.
2009-01-18 08:12:12 +01:00
Carsten Dominik
34867369df
Push version number to 6.17trans
2009-01-07 13:27:02 +01:00
Carsten Dominik
6b686333fb
Release 6.17c
2009-01-06 23:35:50 +01:00
Carsten Dominik
621d11687d
Update copyright notice to 2009
2009-01-06 10:47:36 +01:00
Carsten Dominik
da36bd29ab
Release 6.17b
2009-01-06 09:56:42 +01:00
Carsten Dominik
35c0798d69
Release 6.17a
2009-01-05 13:25:58 +01:00
Carsten Dominik
2f38ef0c60
Release 6.17
2009-01-04 09:00:34 +01:00
Carsten Dominik
8915859c08
Version number back to 6.16trans.
2008-12-25 11:10:02 +01:00
Carsten Dominik
20f2f8e1e1
Release 6.16c
2008-12-25 11:06:35 +01:00
Carsten Dominik
a8282e38c3
Version number: Pushed to 6.16trans.
2008-12-22 07:35:14 +01:00
Carsten Dominik
f35b0549ec
Release 6.16a
2008-12-21 12:47:50 +01:00
Carsten Dominik
d89284b240
Release 6.16
2008-12-20 11:16:01 +01:00
Carsten Dominik
952c6b9901
Version number to 6.15trans.
2008-12-19 09:14:00 +01:00
Carsten Dominik
8ff0c60894
Release 6.15f
2008-12-18 23:38:53 +01:00
Carsten Dominik
2075b26a92
Pushing version number to 6.15trans.
2008-12-18 09:04:15 +01:00
Carsten Dominik
ec702aa4ba
Release 6.15d.
2008-12-17 11:52:55 +01:00
Carsten Dominik
181235f605
Release 6.15c.
2008-12-17 09:59:25 +01:00
Carsten Dominik
9029d93e3a
Release 6.15b.
2008-12-17 09:18:32 +01:00
Bernt Hansen
20a9ad7af9
Fix typos in org-mouse.el
2008-12-16 12:20:22 -05:00
Bernt Hansen
48af653457
Whitespace
2008-12-16 12:20:21 -05:00
Carsten Dominik
96d9a2e467
Release 6.15a
2008-12-16 10:40:42 +01:00
Carsten Dominik
67a50839e9
Release 6.15
2008-12-16 08:30:55 +01:00
Carsten Dominik
c5ca477c38
Pushed version number to 6.14trans.
2008-12-10 23:34:16 +01:00
Carsten Dominik
7b6ad9054e
Release 6.14.
2008-12-06 07:34:30 +01:00
Carsten Dominik
0e157c59ba
6.14pre01
...
Moving toward a release.
2008-12-05 14:55:58 +01:00
Carsten Dominik
db782da26b
Remove unnecessary whitespace.
2008-12-04 15:33:43 +01:00
Carsten Dominik
825fdfa95e
Change version number to 6.13trans.
2008-11-25 20:42:53 +01:00
Carsten Dominik
eb48aaa7c1
Release 6.13a.
2008-11-24 12:22:56 +01:00
Carsten Dominik
1ba1ac5045
Merge changes from downstream Emacs.
2008-11-24 12:21:40 +01:00
Carsten Dominik
06edd56942
Release 6.13
2008-11-23 08:10:04 +01:00
Carsten Dominik
5810f0a8c9
6.13pre05
...
Getting close.....
2008-11-22 10:25:55 +01:00
Carsten Dominik
a99a1814fa
Enhance XEmacs compatibility by avoiding `indent-to' calls.
2008-11-21 17:44:05 +01:00
Carsten Dominik
db5c609be9
6.13pre04
2008-11-21 13:35:45 +01:00