aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2011-08-25 12:06:56 -0700
committerPaul Eggert2011-08-25 12:06:56 -0700
commita974cdce9b9121158e623a3fab6ad731ff5d48ec (patch)
tree689bdfe3830c42dea926a04079d9da9cfcbc9200
parent011ba6eaacfa50cc9871d0cfea34e8f0a7a5bc43 (diff)
parente25be79236edca0e26a9fcd81b7f2a3746e8f9ef (diff)
downloademacs-a974cdce9b9121158e623a3fab6ad731ff5d48ec.tar.gz
emacs-a974cdce9b9121158e623a3fab6ad731ff5d48ec.zip
Merge from trunk.
-rw-r--r--doc/emacs/ChangeLog17
-rw-r--r--doc/emacs/calendar.texi2
-rw-r--r--doc/emacs/dired.texi2
-rw-r--r--doc/emacs/display.texi68
-rw-r--r--doc/emacs/emacs.texi129
-rw-r--r--doc/emacs/misc.texi581
-rw-r--r--doc/emacs/picture-xtra.texi10
-rw-r--r--doc/emacs/rmail.texi2
-rw-r--r--doc/emacs/text.texi91
-rw-r--r--doc/lispref/ChangeLog7
-rw-r--r--doc/lispref/display.texi17
-rw-r--r--lisp/ChangeLog20
-rw-r--r--lisp/buff-menu.el4
-rw-r--r--lisp/emacs-lisp/derived.el4
-rw-r--r--lisp/mail/smtpmail.el8
-rw-r--r--lisp/net/quickurl.el20
-rw-r--r--lisp/org/ChangeLog1565
-rw-r--r--lisp/window.el22
-rw-r--r--src/ChangeLog28
-rw-r--r--src/bidi.c71
-rw-r--r--src/buffer.c32
-rw-r--r--src/dispextern.h5
-rw-r--r--src/xdisp.c103
23 files changed, 1439 insertions, 1369 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 6874ef75ef8..9050efa83d0 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,20 @@
12011-08-25 Chong Yidong <cyd@stupidchicken.com>
2
3 * misc.texi (Printing): Convert subnodes into subsections.
4
5 * text.texi (Two-Column): Move into Text chapter.
6
7 * picture-xtra.texi (Picture Mode): Group with Editing Binary
8 Files section. Convert from chapter into section.
9
10 * display.texi (Narrowing): Move into display chapter.
11
12 * sending.texi (Sending Mail):
13 * rmail.texi (Rmail):
14 * misc.texi (Gnus, Document View):
15 * dired.texi (Dired):
16 * emacs.texi: Group the mail, rmail, and gnus chapters together.
17
12011-08-07 Juri Linkov <juri@jurta.org> 182011-08-07 Juri Linkov <juri@jurta.org>
2 19
3 * dired.texi (Operating on Files): Rewrite according to the fact 20 * dired.texi (Operating on Files): Rewrite according to the fact
diff --git a/doc/emacs/calendar.texi b/doc/emacs/calendar.texi
index 9de223854c1..71a2dba7d08 100644
--- a/doc/emacs/calendar.texi
+++ b/doc/emacs/calendar.texi
@@ -2,7 +2,7 @@
2@c Copyright (C) 1985-1987, 1993-1995, 1997, 2000-2011 2@c Copyright (C) 1985-1987, 1993-1995, 1997, 2000-2011
3@c Free Software Foundation, Inc. 3@c Free Software Foundation, Inc.
4@c See file emacs.texi for copying conditions. 4@c See file emacs.texi for copying conditions.
5@node Calendar/Diary, Document View, Dired, Top 5@node Calendar/Diary
6@chapter The Calendar and the Diary 6@chapter The Calendar and the Diary
7@cindex calendar 7@cindex calendar
8@findex calendar 8@findex calendar
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi
index 80ccd1d10f9..d536547e293 100644
--- a/doc/emacs/dired.texi
+++ b/doc/emacs/dired.texi
@@ -2,7 +2,7 @@
2@c Copyright (C) 1985-1987, 1993-1995, 1997, 2000-2011 2@c Copyright (C) 1985-1987, 1993-1995, 1997, 2000-2011
3@c Free Software Foundation, Inc. 3@c Free Software Foundation, Inc.
4@c See file emacs.texi for copying conditions. 4@c See file emacs.texi for copying conditions.
5@node Dired, Calendar/Diary, Rmail, Top 5@node Dired
6@chapter Dired, the Directory Editor 6@chapter Dired, the Directory Editor
7@c This node is referenced in the tutorial. When renaming or deleting 7@c This node is referenced in the tutorial. When renaming or deleting
8@c it, the tutorial needs to be adjusted. 8@c it, the tutorial needs to be adjusted.
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi
index bfbfb355c9c..cc7f70cf574 100644
--- a/doc/emacs/display.texi
+++ b/doc/emacs/display.texi
@@ -15,6 +15,8 @@ want to see, and how to display it.
15* Scrolling:: Commands to move text up and down in a window. 15* Scrolling:: Commands to move text up and down in a window.
16* Auto Scrolling:: Redisplay scrolls text automatically when needed. 16* Auto Scrolling:: Redisplay scrolls text automatically when needed.
17* Horizontal Scrolling:: Moving text left and right in a window. 17* Horizontal Scrolling:: Moving text left and right in a window.
18* Narrowing:: Restricting display and editing to a portion
19 of the buffer.
18* Follow Mode:: Follow mode lets two windows scroll as one. 20* Follow Mode:: Follow mode lets two windows scroll as one.
19* Faces:: How to change the display style using faces. 21* Faces:: How to change the display style using faces.
20* Standard Faces:: Emacs' predefined faces. 22* Standard Faces:: Emacs' predefined faces.
@@ -300,6 +302,72 @@ a lower bound for automatic horizontal scrolling. Automatic scrolling
300will continue to scroll the window, but never farther to the right 302will continue to scroll the window, but never farther to the right
301than the amount you previously set by @code{scroll-left}. 303than the amount you previously set by @code{scroll-left}.
302 304
305@node Narrowing
306@section Narrowing
307@cindex widening
308@cindex restriction
309@cindex narrowing
310@cindex accessible portion
311
312 @dfn{Narrowing} means focusing in on some portion of the buffer,
313making the rest temporarily inaccessible. The portion which you can
314still get to is called the @dfn{accessible portion}. Canceling the
315narrowing, which makes the entire buffer once again accessible, is
316called @dfn{widening}. The bounds of narrowing in effect in a buffer
317are called the buffer's @dfn{restriction}.
318
319 Narrowing can make it easier to concentrate on a single subroutine or
320paragraph by eliminating clutter. It can also be used to limit the
321range of operation of a replace command or repeating keyboard macro.
322
323@table @kbd
324@item C-x n n
325Narrow down to between point and mark (@code{narrow-to-region}).
326@item C-x n w
327Widen to make the entire buffer accessible again (@code{widen}).
328@item C-x n p
329Narrow down to the current page (@code{narrow-to-page}).
330@item C-x n d
331Narrow down to the current defun (@code{narrow-to-defun}).
332@end table
333
334 When you have narrowed down to a part of the buffer, that part appears
335to be all there is. You can't see the rest, you can't move into it
336(motion commands won't go outside the accessible part), you can't change
337it in any way. However, it is not gone, and if you save the file all
338the inaccessible text will be saved. The word @samp{Narrow} appears in
339the mode line whenever narrowing is in effect.
340
341@kindex C-x n n
342@findex narrow-to-region
343 The primary narrowing command is @kbd{C-x n n} (@code{narrow-to-region}).
344It sets the current buffer's restrictions so that the text in the current
345region remains accessible, but all text before the region or after the
346region is inaccessible. Point and mark do not change.
347
348@kindex C-x n p
349@findex narrow-to-page
350@kindex C-x n d
351@findex narrow-to-defun
352 Alternatively, use @kbd{C-x n p} (@code{narrow-to-page}) to narrow
353down to the current page. @xref{Pages}, for the definition of a page.
354@kbd{C-x n d} (@code{narrow-to-defun}) narrows down to the defun
355containing point (@pxref{Defuns}).
356
357@kindex C-x n w
358@findex widen
359 The way to cancel narrowing is to widen with @kbd{C-x n w}
360(@code{widen}). This makes all text in the buffer accessible again.
361
362 You can get information on what part of the buffer you are narrowed down
363to using the @kbd{C-x =} command. @xref{Position Info}.
364
365 Because narrowing can easily confuse users who do not understand it,
366@code{narrow-to-region} is normally a disabled command. Attempting to use
367this command asks for confirmation and gives you the option of enabling it;
368if you enable the command, confirmation will no longer be required for
369it. @xref{Disabling}.
370
303@node Follow Mode 371@node Follow Mode
304@section Follow Mode 372@section Follow Mode
305@cindex Follow mode 373@cindex Follow mode
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi
index e8fb42db0bb..24a7e6d62e6 100644
--- a/doc/emacs/emacs.texi
+++ b/doc/emacs/emacs.texi
@@ -187,36 +187,28 @@ Major Structures of Emacs
187Advanced Features 187Advanced Features
188* Modes:: Major and minor modes alter Emacs' basic behavior. 188* Modes:: Major and minor modes alter Emacs' basic behavior.
189* Indentation:: Editing the white space at the beginnings of lines. 189* Indentation:: Editing the white space at the beginnings of lines.
190* Text:: Commands and modes for editing English. 190* Text:: Commands and modes for editing human languages.
191* Programs:: Commands and modes for editing programs. 191* Programs:: Commands and modes for editing programs.
192* Building:: Compiling, running and debugging programs. 192* Building:: Compiling, running and debugging programs.
193* Maintaining:: Features for maintaining large programs. 193* Maintaining:: Features for maintaining large programs.
194* Abbrevs:: Defining text abbreviations to reduce 194* Abbrevs:: Defining text abbreviations to reduce
195 the number of characters you must type. 195 the number of characters you must type.
196@c AFAICS, the tex stuff generates its own index and does not use this one. 196* Dired:: Directory and file manager.
197@ifnottex 197* Calendar/Diary:: Calendar and diary facilities.
198* Picture Mode:: Editing pictures made up of characters using
199 the quarter-plane screen model.
200@end ifnottex
201* Sending Mail:: Sending mail in Emacs. 198* Sending Mail:: Sending mail in Emacs.
202* Rmail:: Reading mail in Emacs. 199* Rmail:: Reading mail in Emacs.
203* Dired:: You can "edit" a directory to manage files in it.
204* Calendar/Diary:: The calendar and diary facilities.
205* Document View:: Viewing PDF, PS and DVI files.
206* Gnus:: A flexible mail and news reader. 200* Gnus:: A flexible mail and news reader.
201* Document View:: Viewing PDF, PS and DVI files.
207* Shell:: Executing shell commands from Emacs. 202* Shell:: Executing shell commands from Emacs.
208* Emacs Server:: Using Emacs as an editing server. 203* Emacs Server:: Using Emacs as an editing server.
209* Printing:: Printing hardcopies of buffers or regions. 204* Printing:: Printing hardcopies of buffers or regions.
210* Sorting:: Sorting lines, paragraphs or pages within Emacs. 205* Sorting:: Sorting lines, paragraphs or pages within Emacs.
211* Narrowing:: Restricting display and editing to a portion 206@ifnottex
212 of the buffer. 207* Picture Mode:: Editing pictures made up of text characters.
213* Two-Column:: Splitting apart columns to edit them 208@end ifnottex
214 in side-by-side windows. 209* Editing Binary Files:: Editing binary files with Hexl mode.
215* Editing Binary Files::Using Hexl mode to edit binary files.
216* Saving Emacs Sessions:: Saving Emacs state from one session to the next. 210* Saving Emacs Sessions:: Saving Emacs state from one session to the next.
217* Recursive Edit:: A command can allow you to do editing 211* Recursive Edit:: Performing edits while "within another command".
218 "within the command". This is called a
219 "recursive editing level".
220* Emulation:: Emulating some other editors with Emacs. 212* Emulation:: Emulating some other editors with Emacs.
221* Hyperlinking:: Following links in buffers. 213* Hyperlinking:: Following links in buffers.
222* Amusements:: Various games and hacks. 214* Amusements:: Various games and hacks.
@@ -350,6 +342,8 @@ Controlling the Display
350* Scrolling:: Commands to move text up and down in a window. 342* Scrolling:: Commands to move text up and down in a window.
351* Auto Scrolling:: Redisplay scrolls text automatically when needed. 343* Auto Scrolling:: Redisplay scrolls text automatically when needed.
352* Horizontal Scrolling:: Moving text left and right in a window. 344* Horizontal Scrolling:: Moving text left and right in a window.
345* Narrowing:: Restricting display and editing to a portion
346 of the buffer.
353* Follow Mode:: Follow mode lets two windows scroll as one. 347* Follow Mode:: Follow mode lets two windows scroll as one.
354* Faces:: How to change the display style using faces. 348* Faces:: How to change the display style using faces.
355* Standard Faces:: Emacs' predefined faces. 349* Standard Faces:: Emacs' predefined faces.
@@ -577,6 +571,7 @@ Commands for Human Languages
577* Nroff Mode:: Editing input to the formatter nroff. 571* Nroff Mode:: Editing input to the formatter nroff.
578* Formatted Text:: Editing formatted text directly in WYSIWYG fashion. 572* Formatted Text:: Editing formatted text directly in WYSIWYG fashion.
579* Text Based Tables:: Editing text-based tables in WYSIWYG fashion. 573* Text Based Tables:: Editing text-based tables in WYSIWYG fashion.
574* Two-Column:: Splitting text columns into separate windows.
580 575
581Filling Text 576Filling Text
582 577
@@ -885,52 +880,6 @@ Editing Pictures
885* Rectangles in Picture:: Clearing and superimposing rectangles. 880* Rectangles in Picture:: Clearing and superimposing rectangles.
886@end ifnottex 881@end ifnottex
887 882
888Sending Mail
889
890* Mail Format:: Format of the mail being composed.
891* Mail Headers:: Details of some standard mail header fields.
892* Mail Aliases:: Abbreviating and grouping mail addresses.
893* Mail Commands:: Special commands for editing mail being composed.
894* Mail Signature:: Adding a signature to every message.
895* Mail Amusements:: Distracting the NSA; adding fortune messages.
896* Mail Methods:: Using alternative mail-composition methods.
897
898Mail Commands
899
900* Mail Sending:: Commands to send the message.
901* Header Editing:: Commands to move to header fields and edit them.
902* Citing Mail:: Quoting a message you are replying to.
903* Mail Misc:: Attachments, spell checking, etc.
904
905Reading Mail with Rmail
906
907* Rmail Basics:: Basic concepts of Rmail, and simple use.
908* Rmail Scrolling:: Scrolling through a message.
909* Rmail Motion:: Moving to another message.
910* Rmail Deletion:: Deleting and expunging messages.
911* Rmail Inbox:: How mail gets into the Rmail file.
912* Rmail Files:: Using multiple Rmail files.
913* Rmail Output:: Copying message out to files.
914* Rmail Labels:: Classifying messages by labeling them.
915* Rmail Attributes:: Certain standard labels, called attributes.
916* Rmail Reply:: Sending replies to messages you are viewing.
917* Rmail Summary:: Summaries show brief info on many messages.
918* Rmail Sorting:: Sorting messages in Rmail.
919* Rmail Display:: How Rmail displays a message; customization.
920* Rmail Coding:: How Rmail handles decoding character sets.
921* Rmail Editing:: Editing message text and headers in Rmail.
922* Rmail Digest:: Extracting the messages from a digest message.
923* Rmail Rot13:: Reading messages encoded in the rot13 code.
924* Movemail:: More details of fetching new mail.
925* Remote Mailboxes:: Retrieving mail from remote mailboxes.
926* Other Mailbox Formats:: Retrieving mail from local mailboxes in
927 various formats.
928
929Summaries
930
931* Rmail Make Summary:: Making various sorts of summaries.
932* Rmail Summary Edit:: Manipulating messages from the summary.
933
934Dired, the Directory Editor 883Dired, the Directory Editor
935 884
936* Dired Enter:: How to invoke Dired. 885* Dired Enter:: How to invoke Dired.
@@ -1014,6 +963,52 @@ Document Viewing
1014* Slicing:: Specifying which part of pages should be displayed. 963* Slicing:: Specifying which part of pages should be displayed.
1015* Conversion:: Influencing and triggering conversion. 964* Conversion:: Influencing and triggering conversion.
1016 965
966Sending Mail
967
968* Mail Format:: Format of the mail being composed.
969* Mail Headers:: Details of some standard mail header fields.
970* Mail Aliases:: Abbreviating and grouping mail addresses.
971* Mail Commands:: Special commands for editing mail being composed.
972* Mail Signature:: Adding a signature to every message.
973* Mail Amusements:: Distracting the NSA; adding fortune messages.
974* Mail Methods:: Using alternative mail-composition methods.
975
976Mail Commands
977
978* Mail Sending:: Commands to send the message.
979* Header Editing:: Commands to move to header fields and edit them.
980* Citing Mail:: Quoting a message you are replying to.
981* Mail Misc:: Attachments, spell checking, etc.
982
983Reading Mail with Rmail
984
985* Rmail Basics:: Basic concepts of Rmail, and simple use.
986* Rmail Scrolling:: Scrolling through a message.
987* Rmail Motion:: Moving to another message.
988* Rmail Deletion:: Deleting and expunging messages.
989* Rmail Inbox:: How mail gets into the Rmail file.
990* Rmail Files:: Using multiple Rmail files.
991* Rmail Output:: Copying message out to files.
992* Rmail Labels:: Classifying messages by labeling them.
993* Rmail Attributes:: Certain standard labels, called attributes.
994* Rmail Reply:: Sending replies to messages you are viewing.
995* Rmail Summary:: Summaries show brief info on many messages.
996* Rmail Sorting:: Sorting messages in Rmail.
997* Rmail Display:: How Rmail displays a message; customization.
998* Rmail Coding:: How Rmail handles decoding character sets.
999* Rmail Editing:: Editing message text and headers in Rmail.
1000* Rmail Digest:: Extracting the messages from a digest message.
1001* Rmail Rot13:: Reading messages encoded in the rot13 code.
1002* Movemail:: More details of fetching new mail.
1003* Remote Mailboxes:: Retrieving mail from remote mailboxes.
1004* Other Mailbox Formats:: Retrieving mail from local mailboxes in
1005 various formats.
1006
1007Rmail Summaries
1008
1009* Rmail Make Summary:: Making various sorts of summaries.
1010* Rmail Summary Edit:: Manipulating messages from the summary.
1011
1017Gnus 1012Gnus
1018 1013
1019* Buffers of Gnus:: The group, summary, and article buffers. 1014* Buffers of Gnus:: The group, summary, and article buffers.
@@ -1494,15 +1489,13 @@ Lisp programming.
1494@c Includes vc1-xtra, emerge-xtra. 1489@c Includes vc1-xtra, emerge-xtra.
1495@include maintaining.texi 1490@include maintaining.texi
1496@include abbrevs.texi 1491@include abbrevs.texi
1497@ifnottex
1498@include picture-xtra.texi
1499@end ifnottex
1500@include sending.texi
1501@include rmail.texi
1502@c Includes dired-xtra. 1492@c Includes dired-xtra.
1503@include dired.texi 1493@include dired.texi
1504@c Includes cal-xtra. 1494@c Includes cal-xtra.
1505@include calendar.texi 1495@include calendar.texi
1496@include sending.texi
1497@include rmail.texi
1498@c Includes picture-xtra.texi
1506@include misc.texi 1499@include misc.texi
1507@include custom.texi 1500@include custom.texi
1508@include trouble.texi 1501@include trouble.texi
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 426610e65b9..e43a8adce74 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -10,9 +10,9 @@ else: viewing ``document files'', reading netnews, running shell
10commands and shell subprocesses, using a single shared Emacs for 10commands and shell subprocesses, using a single shared Emacs for
11utilities that expect to run an editor as a subprocess, printing 11utilities that expect to run an editor as a subprocess, printing
12hardcopy, sorting text, narrowing display to part of the buffer, 12hardcopy, sorting text, narrowing display to part of the buffer,
13editing double-column files and binary files, saving an Emacs session 13editing binary files, saving an Emacs session for later resumption,
14for later resumption, following hyperlinks, browsing images, emulating 14following hyperlinks, browsing images, emulating other editors, and
15other editors, and various diversions and amusements. 15various diversions and amusements.
16 16
17@end iftex 17@end iftex
18 18
@@ -20,187 +20,7 @@ other editors, and various diversions and amusements.
20@raisesections 20@raisesections
21@end ifnottex 21@end ifnottex
22 22
23@node Document View, Gnus, Calendar/Diary, Top 23@node Gnus
24@section Document Viewing
25@cindex DVI file
26@cindex PDF file
27@cindex PS file
28@cindex Postscript file
29@cindex OpenDocument file
30@cindex Microsoft Office file
31@cindex DocView mode
32@cindex mode, DocView
33@cindex document viewer (DocView)
34@findex doc-view-mode
35
36DocView mode (@code{doc-view-mode}) is a viewer for DVI, Postscript
37(PS), PDF, OpenDocument, and Microsoft Office documents. It provides
38features such as slicing, zooming, and searching inside documents. It
39works by converting the document to a set of images using the
40@command{gs} (GhostScript) command and other external tools
41@footnote{@code{gs} is a hard requirement. For DVI files,
42@code{dvipdf} or @code{dvipdfm} is needed. For OpenDocument and
43Microsoft Office documents, the @code{unoconv} tool is needed.}, and
44displaying those images.
45
46@findex doc-view-toggle-display
47@findex doc-view-toggle-display
48@cindex doc-view-minor-mode
49 When you visit a document file with the exception of Postscript
50files, Emacs automatically switches to DocView mode if possible
51@footnote{The needed external tools for this document type have to be
52available, emacs needs to run in a graphical frame, and PNG image
53support has to be compiled into emacs. If any of these requirements
54is not fulfilled, DocView falls back to an appropriate mode.}. When
55you visit a Postscript file, Emacs switches to PS mode, a major mode
56for editing Postscript files as text; however, it also enables DocView
57minor mode, so you can type @kbd{C-c C-c} to view the document with
58DocView. (PDF and DVI files, unlike Postscript files, are not usually
59human-editable.) In either case, repeating @kbd{C-c C-c}
60(@code{doc-view-toggle-display}) toggles between DocView and the file
61text.
62
63 You can explicitly toggle DocView mode with the command @code{M-x
64doc-view-mode}, and DocView minor mode with the command @code{M-x
65doc-view-minor-mode}.
66
67 When DocView mode starts, it displays a welcome screen and begins
68formatting the file, page by page. It displays the first page once
69that has been formatted.
70
71@findex doc-view-enlarge
72@findex doc-view-shrink
73@vindex doc-view-resolution
74 When in DocView mode, you can enlarge or shrink the document with
75@kbd{+} (@code{doc-view-enlarge}) and @kbd{-}
76(@code{doc-view-shrink}). To specify the default size for DocView,
77set or customize the variable @code{doc-view-resolution}.
78
79 To kill the DocView buffer, type @kbd{k}
80(@code{doc-view-kill-proc-and-buffer}). To bury it, type @kbd{q}
81(@code{quit-window}).
82
83@menu
84* Navigation:: Navigation inside DocView buffers.
85* Searching:: Searching inside documents.
86* Slicing:: Specifying which part of pages should be displayed.
87* Conversion:: Influencing and triggering conversion.
88@end menu
89
90@node Navigation
91@subsection Navigation
92
93When in DocView mode, you can scroll the current page using the usual
94Emacs movement keys: @kbd{C-p}, @kbd{C-n}, @kbd{C-b}, @kbd{C-f}, and
95the arrow keys.
96
97@vindex doc-view-continuous
98 By default, the line-motion keys @kbd{C-p} and @kbd{C-n} stop
99scrolling at the beginning and end of the current page, respectively.
100However, if you change the variable @code{doc-view-continuous} to a
101non-@code{nil} value, then @kbd{C-p} displays the previous page if you
102are already at the beginning of the current page, and @kbd{C-n}
103displays the next page if you are at the end of the current page.
104
105@findex doc-view-next-page
106@findex doc-view-previous-page
107 You can also display the next page by typing @kbd{n}, @key{next} or
108@kbd{C-x ]} (@code{doc-view-next-page}). To display the previous
109page, type @kbd{p}, @key{prior} or @kbd{C-x [}
110(@code{doc-view-previous-page}).
111
112@findex doc-view-scroll-up-or-next-page
113@findex doc-view-scroll-down-or-previous-page
114 The @key{SPC} (@code{doc-view-scroll-up-or-next-page}) key is a
115convenient way to advance through the document. It scrolls within the
116current page or advances to the next. @key{DEL} moves backwards in a
117similar way (@code{doc-view-scroll-down-or-previous-page}).
118
119@findex doc-view-first-page
120@findex doc-view-last-page
121@findex doc-view-goto-page
122 To go to the first page, type @kbd{M-<}
123(@code{doc-view-first-page}); to go to the last one, type @kbd{M->}
124(@code{doc-view-last-page}). To jump to a page by its number, type
125@kbd{M-g M-g} or @kbd{M-g g} (@code{doc-view-goto-page}).
126
127@node Searching
128@subsection Searching
129
130While in DocView mode, you can search the file's text for a regular
131expression (@pxref{Regexps}). The interface for searching is inspired
132by @code{isearch} (@pxref{Incremental Search}).
133
134@findex doc-view-search
135@findex doc-view-search-backward
136@findex doc-view-show-tooltip
137 To begin a search, type @kbd{C-s} (@code{doc-view-search}) or
138@kbd{C-r} (@code{doc-view-search-backward}). This reads a regular
139expression using a minibuffer, then echoes the number of matches found
140within the document. You can move forward and back among the matches
141by typing @kbd{C-s} and @kbd{C-r}. DocView mode has no way to show
142the match inside the page image; instead, it displays a tooltip (at
143the mouse position) listing all matching lines in the current page.
144To force display of this tooltip, type @kbd{C-t}
145(@code{doc-view-show-tooltip}).
146
147 To start a new search, use the search command with a prefix
148argument; i.e., @kbd{C-u C-s} for a forward search or @kbd{C-u C-r}
149for a backward search.
150
151@node Slicing
152@subsection Slicing
153
154Documents often have wide margins for printing. They are annoying
155when reading the document on the screen, because they use up screen
156space and can cause inconvenient scrolling.
157
158@findex doc-view-set-slice
159@findex doc-view-set-slice-using-mouse
160 With DocView you can hide these margins by selecting a @dfn{slice}
161of pages to display. A slice is a rectangle within the page area;
162once you specify a slice in DocView, it applies to whichever page you
163look at.
164
165 To specify the slice numerically, type @kbd{s s}
166(@code{doc-view-set-slice}); then enter the top left pixel position
167and the slice's width and height.
168@c ??? how does this work?
169
170 A more convenient graphical way to specify the slice is with @kbd{s
171m} (@code{doc-view-set-slice-using-mouse}), where you use the mouse to
172select the slice.
173@c ??? How does this work?
174
175@findex doc-view-reset-slice
176 To cancel the selected slice, type @kbd{s r}
177(@code{doc-view-reset-slice}). Then DocView shows the entire page
178including its entire margins.
179
180@node Conversion
181@subsection Conversion
182
183@vindex doc-view-cache-directory
184@findex doc-view-clear-cache
185For efficiency, DocView caches the images produced by @command{gs}.
186The name of this directory is given by the variable
187@code{doc-view-cache-directory}. You can clear the cache directory by
188typing @code{M-x doc-view-clear-cache}.
189
190@findex doc-view-kill-proc
191@findex doc-view-kill-proc-and-buffer
192 To force a reconversion of the currently viewed document, type
193@kbd{r} or @kbd{g} (@code{revert-buffer}). To kill the converter
194process associated with the current buffer, type @kbd{K}
195(@code{doc-view-kill-proc}). The command @kbd{k}
196(@code{doc-view-kill-proc-and-buffer}) kills the converter process and
197the DocView buffer.
198
199 The zoom commands @kbd{+} (@code{doc-view-enlarge}) and @kbd{-}
200(@code{doc-view-shrink}) need to reconvert the document at the new
201size. The current page is converted first.
202
203@node Gnus, Shell, Document View, Top
204@section Gnus 24@section Gnus
205@cindex Gnus 25@cindex Gnus
206@cindex reading netnews 26@cindex reading netnews
@@ -411,82 +231,187 @@ for @var{regexp}.
411 231
412@end table 232@end table
413 233
414@ignore 234@node Document View
415@node Where to Look 235@section Document Viewing
416@subsection Where to Look Further 236@cindex DVI file
237@cindex PDF file
238@cindex PS file
239@cindex Postscript file
240@cindex OpenDocument file
241@cindex Microsoft Office file
242@cindex DocView mode
243@cindex mode, DocView
244@cindex document viewer (DocView)
245@findex doc-view-mode
417 246
418@c Too many references to the name of the manual if done with xref in TeX! 247DocView mode (@code{doc-view-mode}) is a viewer for DVI, Postscript
419Gnus is powerful and customizable. Here are references to a few 248(PS), PDF, OpenDocument, and Microsoft Office documents. It provides
420@ifnottex 249features such as slicing, zooming, and searching inside documents. It
421additional topics: 250works by converting the document to a set of images using the
251@command{gs} (GhostScript) command and other external tools
252@footnote{@code{gs} is a hard requirement. For DVI files,
253@code{dvipdf} or @code{dvipdfm} is needed. For OpenDocument and
254Microsoft Office documents, the @code{unoconv} tool is needed.}, and
255displaying those images.
422 256
423@end ifnottex 257@findex doc-view-toggle-display
424@iftex 258@findex doc-view-toggle-display
425additional topics in @cite{The Gnus Manual}: 259@cindex doc-view-minor-mode
260 When you visit a document file with the exception of Postscript
261files, Emacs automatically switches to DocView mode if possible
262@footnote{The needed external tools for this document type have to be
263available, emacs needs to run in a graphical frame, and PNG image
264support has to be compiled into emacs. If any of these requirements
265is not fulfilled, DocView falls back to an appropriate mode.}. When
266you visit a Postscript file, Emacs switches to PS mode, a major mode
267for editing Postscript files as text; however, it also enables DocView
268minor mode, so you can type @kbd{C-c C-c} to view the document with
269DocView. (PDF and DVI files, unlike Postscript files, are not usually
270human-editable.) In either case, repeating @kbd{C-c C-c}
271(@code{doc-view-toggle-display}) toggles between DocView and the file
272text.
426 273
427@itemize @bullet 274 You can explicitly toggle DocView mode with the command @code{M-x
428@item 275doc-view-mode}, and DocView minor mode with the command @code{M-x
429Follow discussions on specific topics.@* 276doc-view-minor-mode}.
430See section ``Threading.''
431 277
432@item 278 When DocView mode starts, it displays a welcome screen and begins
433Read digests. See section ``Document Groups.'' 279formatting the file, page by page. It displays the first page once
280that has been formatted.
434 281
435@item 282@findex doc-view-enlarge
436Refer to and jump to the parent of the current article.@* 283@findex doc-view-shrink
437See section ``Finding the Parent.'' 284@vindex doc-view-resolution
285 When in DocView mode, you can enlarge or shrink the document with
286@kbd{+} (@code{doc-view-enlarge}) and @kbd{-}
287(@code{doc-view-shrink}). To specify the default size for DocView,
288set or customize the variable @code{doc-view-resolution}.
438 289
439@item 290 To kill the DocView buffer, type @kbd{k}
440Refer to articles by using Message-IDs included in the messages.@* 291(@code{doc-view-kill-proc-and-buffer}). To bury it, type @kbd{q}
441See section ``Article Keymap.'' 292(@code{quit-window}).
442 293
443@item 294@menu
444Save articles. See section ``Saving Articles.'' 295* Navigation:: Navigation inside DocView buffers.
296* Searching:: Searching inside documents.
297* Slicing:: Specifying which part of pages should be displayed.
298* Conversion:: Influencing and triggering conversion.
299@end menu
445 300
446@item 301@node Navigation
447Have Gnus score articles according to various criteria, like author 302@subsection Navigation
448name, subject, or string in the body of the articles.@*
449See section ``Scoring.''
450 303
451@item 304When in DocView mode, you can scroll the current page using the usual
452Send an article to a newsgroup.@* 305Emacs movement keys: @kbd{C-p}, @kbd{C-n}, @kbd{C-b}, @kbd{C-f}, and
453See section ``Composing Messages.'' 306the arrow keys.
454@end itemize
455@end iftex
456@ifnottex
457@itemize @bullet
458@item
459Follow discussions on specific topics.@*
460@xref{Threading, , Reading Based on Conversation Threads,
461gnus, The Gnus Manual}.
462 307
463@item 308@vindex doc-view-continuous
464Read digests. @xref{Document Groups, , , gnus, The Gnus Manual}. 309 By default, the line-motion keys @kbd{C-p} and @kbd{C-n} stop
310scrolling at the beginning and end of the current page, respectively.
311However, if you change the variable @code{doc-view-continuous} to a
312non-@code{nil} value, then @kbd{C-p} displays the previous page if you
313are already at the beginning of the current page, and @kbd{C-n}
314displays the next page if you are at the end of the current page.
465 315
466@item 316@findex doc-view-next-page
467Refer to and jump to the parent of the current article.@* 317@findex doc-view-previous-page
468@xref{Finding the Parent, , , gnus, The Gnus Manual}. 318 You can also display the next page by typing @kbd{n}, @key{next} or
319@kbd{C-x ]} (@code{doc-view-next-page}). To display the previous
320page, type @kbd{p}, @key{prior} or @kbd{C-x [}
321(@code{doc-view-previous-page}).
469 322
470@item 323@findex doc-view-scroll-up-or-next-page
471Refer to articles by using Message-IDs included in the messages.@* 324@findex doc-view-scroll-down-or-previous-page
472@xref{Article Keymap, , , gnus, The Gnus Manual}. 325 The @key{SPC} (@code{doc-view-scroll-up-or-next-page}) key is a
326convenient way to advance through the document. It scrolls within the
327current page or advances to the next. @key{DEL} moves backwards in a
328similar way (@code{doc-view-scroll-down-or-previous-page}).
473 329
474@item 330@findex doc-view-first-page
475Save articles. @xref{Saving Articles, , , gnus, The Gnus Manual}. 331@findex doc-view-last-page
332@findex doc-view-goto-page
333 To go to the first page, type @kbd{M-<}
334(@code{doc-view-first-page}); to go to the last one, type @kbd{M->}
335(@code{doc-view-last-page}). To jump to a page by its number, type
336@kbd{M-g M-g} or @kbd{M-g g} (@code{doc-view-goto-page}).
476 337
477@item 338@node Searching
478Have Gnus score articles according to various criteria, like author 339@subsection Searching
479name, subject, or string in the body of the articles.@*
480@xref{Scoring, , , gnus, The Gnus Manual}.
481 340
482@item 341While in DocView mode, you can search the file's text for a regular
483Send an article to a newsgroup.@* 342expression (@pxref{Regexps}). The interface for searching is inspired
484@xref{Composing Messages, , , gnus, The Gnus Manual}. 343by @code{isearch} (@pxref{Incremental Search}).
485@end itemize 344
486@end ifnottex 345@findex doc-view-search
487@end ignore 346@findex doc-view-search-backward
347@findex doc-view-show-tooltip
348 To begin a search, type @kbd{C-s} (@code{doc-view-search}) or
349@kbd{C-r} (@code{doc-view-search-backward}). This reads a regular
350expression using a minibuffer, then echoes the number of matches found
351within the document. You can move forward and back among the matches
352by typing @kbd{C-s} and @kbd{C-r}. DocView mode has no way to show
353the match inside the page image; instead, it displays a tooltip (at
354the mouse position) listing all matching lines in the current page.
355To force display of this tooltip, type @kbd{C-t}
356(@code{doc-view-show-tooltip}).
357
358 To start a new search, use the search command with a prefix
359argument; i.e., @kbd{C-u C-s} for a forward search or @kbd{C-u C-r}
360for a backward search.
361
362@node Slicing
363@subsection Slicing
364
365Documents often have wide margins for printing. They are annoying
366when reading the document on the screen, because they use up screen
367space and can cause inconvenient scrolling.
368
369@findex doc-view-set-slice
370@findex doc-view-set-slice-using-mouse
371 With DocView you can hide these margins by selecting a @dfn{slice}
372of pages to display. A slice is a rectangle within the page area;
373once you specify a slice in DocView, it applies to whichever page you
374look at.
375
376 To specify the slice numerically, type @kbd{s s}
377(@code{doc-view-set-slice}); then enter the top left pixel position
378and the slice's width and height.
379@c ??? how does this work?
380
381 A more convenient graphical way to specify the slice is with @kbd{s
382m} (@code{doc-view-set-slice-using-mouse}), where you use the mouse to
383select the slice.
384@c ??? How does this work?
385
386@findex doc-view-reset-slice
387 To cancel the selected slice, type @kbd{s r}
388(@code{doc-view-reset-slice}). Then DocView shows the entire page
389including its entire margins.
390
391@node Conversion
392@subsection Conversion
393
394@vindex doc-view-cache-directory
395@findex doc-view-clear-cache
396For efficiency, DocView caches the images produced by @command{gs}.
397The name of this directory is given by the variable
398@code{doc-view-cache-directory}. You can clear the cache directory by
399typing @code{M-x doc-view-clear-cache}.
488 400
489@node Shell, Emacs Server, Gnus, Top 401@findex doc-view-kill-proc
402@findex doc-view-kill-proc-and-buffer
403 To force a reconversion of the currently viewed document, type
404@kbd{r} or @kbd{g} (@code{revert-buffer}). To kill the converter
405process associated with the current buffer, type @kbd{K}
406(@code{doc-view-kill-proc}). The command @kbd{k}
407(@code{doc-view-kill-proc-and-buffer}) kills the converter process and
408the DocView buffer.
409
410 The zoom commands @kbd{+} (@code{doc-view-enlarge}) and @kbd{-}
411(@code{doc-view-shrink}) need to reconvert the document at the new
412size. The current page is converted first.
413
414@node Shell
490@section Running Shell Commands from Emacs 415@section Running Shell Commands from Emacs
491@cindex subshell 416@cindex subshell
492@cindex shell commands 417@cindex shell commands
@@ -1788,7 +1713,7 @@ not compatible with @code{lpr}.
1788@end menu 1713@end menu
1789 1714
1790@node PostScript, PostScript Variables,, Printing 1715@node PostScript, PostScript Variables,, Printing
1791@section PostScript Hardcopy 1716@subsection PostScript Hardcopy
1792 1717
1793 These commands convert buffer contents to PostScript, 1718 These commands convert buffer contents to PostScript,
1794either printing it or leaving it in another Emacs buffer. 1719either printing it or leaving it in another Emacs buffer.
@@ -1878,7 +1803,7 @@ supports ISO 8859-1 characters.
1878@end ifnottex 1803@end ifnottex
1879 1804
1880@node PostScript Variables, Printing Package, PostScript, Printing 1805@node PostScript Variables, Printing Package, PostScript, Printing
1881@section Variables for PostScript Hardcopy 1806@subsection Variables for PostScript Hardcopy
1882 1807
1883@vindex ps-lpr-command 1808@vindex ps-lpr-command
1884@vindex ps-lpr-switches 1809@vindex ps-lpr-switches
@@ -1973,7 +1898,7 @@ includes a single directory @file{/usr/local/share/emacs/fonts/bdf}.
1973described in the Lisp files @file{ps-print.el} and @file{ps-mule.el}. 1898described in the Lisp files @file{ps-print.el} and @file{ps-mule.el}.
1974 1899
1975@node Printing Package,, PostScript Variables, Printing 1900@node Printing Package,, PostScript Variables, Printing
1976@section Printing Package 1901@subsection Printing Package
1977@cindex Printing package 1902@cindex Printing package
1978 1903
1979 The basic Emacs facilities for printing hardcopy can be extended 1904 The basic Emacs facilities for printing hardcopy can be extended
@@ -1999,7 +1924,7 @@ to print, you start the print job using the @samp{Print} button (click
1999further information on the various options, use the @samp{Interface 1924further information on the various options, use the @samp{Interface
2000Help} button. 1925Help} button.
2001 1926
2002@node Sorting, Narrowing, Printing, Top 1927@node Sorting
2003@section Sorting Text 1928@section Sorting Text
2004@cindex sorting 1929@cindex sorting
2005 1930
@@ -2134,163 +2059,13 @@ rectangle moves along with the text inside the rectangle.
2134 Many of the sort commands ignore case differences when comparing, if 2059 Many of the sort commands ignore case differences when comparing, if
2135@code{sort-fold-case} is non-@code{nil}. 2060@code{sort-fold-case} is non-@code{nil}.
2136 2061
2137@node Narrowing, Two-Column, Sorting, Top 2062@c Picture Mode documentation
2138@section Narrowing 2063@ifnottex
2139@cindex widening 2064@include picture-xtra.texi
2140@cindex restriction 2065@end ifnottex
2141@cindex narrowing
2142@cindex accessible portion
2143
2144 @dfn{Narrowing} means focusing in on some portion of the buffer,
2145making the rest temporarily inaccessible. The portion which you can
2146still get to is called the @dfn{accessible portion}. Canceling the
2147narrowing, which makes the entire buffer once again accessible, is
2148called @dfn{widening}. The bounds of narrowing in effect in a buffer
2149are called the buffer's @dfn{restriction}.
2150
2151 Narrowing can make it easier to concentrate on a single subroutine or
2152paragraph by eliminating clutter. It can also be used to limit the
2153range of operation of a replace command or repeating keyboard macro.
2154
2155@table @kbd
2156@item C-x n n
2157Narrow down to between point and mark (@code{narrow-to-region}).
2158@item C-x n w
2159Widen to make the entire buffer accessible again (@code{widen}).
2160@item C-x n p
2161Narrow down to the current page (@code{narrow-to-page}).
2162@item C-x n d
2163Narrow down to the current defun (@code{narrow-to-defun}).
2164@end table
2165
2166 When you have narrowed down to a part of the buffer, that part appears
2167to be all there is. You can't see the rest, you can't move into it
2168(motion commands won't go outside the accessible part), you can't change
2169it in any way. However, it is not gone, and if you save the file all
2170the inaccessible text will be saved. The word @samp{Narrow} appears in
2171the mode line whenever narrowing is in effect.
2172
2173@kindex C-x n n
2174@findex narrow-to-region
2175 The primary narrowing command is @kbd{C-x n n} (@code{narrow-to-region}).
2176It sets the current buffer's restrictions so that the text in the current
2177region remains accessible, but all text before the region or after the
2178region is inaccessible. Point and mark do not change.
2179
2180@kindex C-x n p
2181@findex narrow-to-page
2182@kindex C-x n d
2183@findex narrow-to-defun
2184 Alternatively, use @kbd{C-x n p} (@code{narrow-to-page}) to narrow
2185down to the current page. @xref{Pages}, for the definition of a page.
2186@kbd{C-x n d} (@code{narrow-to-defun}) narrows down to the defun
2187containing point (@pxref{Defuns}).
2188
2189@kindex C-x n w
2190@findex widen
2191 The way to cancel narrowing is to widen with @kbd{C-x n w}
2192(@code{widen}). This makes all text in the buffer accessible again.
2193
2194 You can get information on what part of the buffer you are narrowed down
2195to using the @kbd{C-x =} command. @xref{Position Info}.
2196
2197 Because narrowing can easily confuse users who do not understand it,
2198@code{narrow-to-region} is normally a disabled command. Attempting to use
2199this command asks for confirmation and gives you the option of enabling it;
2200if you enable the command, confirmation will no longer be required for
2201it. @xref{Disabling}.
2202
2203@node Two-Column, Editing Binary Files, Narrowing, Top
2204@section Two-Column Editing
2205@cindex two-column editing
2206@cindex splitting columns
2207@cindex columns, splitting
2208
2209 Two-column mode lets you conveniently edit two side-by-side columns of
2210text. It uses two side-by-side windows, each showing its own
2211buffer.
2212
2213 There are three ways to enter two-column mode:
2214 2066
2215@table @asis
2216@item @kbd{@key{F2} 2} or @kbd{C-x 6 2}
2217@kindex F2 2
2218@kindex C-x 6 2
2219@findex 2C-two-columns
2220Enter two-column mode with the current buffer on the left, and on the
2221right, a buffer whose name is based on the current buffer's name
2222(@code{2C-two-columns}). If the right-hand buffer doesn't already
2223exist, it starts out empty; the current buffer's contents are not
2224changed.
2225
2226This command is appropriate when the current buffer is empty or contains
2227just one column and you want to add another column.
2228
2229@item @kbd{@key{F2} s} or @kbd{C-x 6 s}
2230@kindex F2 s
2231@kindex C-x 6 s
2232@findex 2C-split
2233Split the current buffer, which contains two-column text, into two
2234buffers, and display them side by side (@code{2C-split}). The current
2235buffer becomes the left-hand buffer, but the text in the right-hand
2236column is moved into the right-hand buffer. The current column
2237specifies the split point. Splitting starts with the current line and
2238continues to the end of the buffer.
2239
2240This command is appropriate when you have a buffer that already contains
2241two-column text, and you wish to separate the columns temporarily.
2242
2243@item @kbd{@key{F2} b @var{buffer} @key{RET}}
2244@itemx @kbd{C-x 6 b @var{buffer} @key{RET}}
2245@kindex F2 b
2246@kindex C-x 6 b
2247@findex 2C-associate-buffer
2248Enter two-column mode using the current buffer as the left-hand buffer,
2249and using buffer @var{buffer} as the right-hand buffer
2250(@code{2C-associate-buffer}).
2251@end table
2252 2067
2253 @kbd{@key{F2} s} or @kbd{C-x 6 s} looks for a column separator, which 2068@node Editing Binary Files
2254is a string that appears on each line between the two columns. You can
2255specify the width of the separator with a numeric argument to
2256@kbd{@key{F2} s}; that many characters, before point, constitute the
2257separator string. By default, the width is 1, so the column separator
2258is the character before point.
2259
2260 When a line has the separator at the proper place, @kbd{@key{F2} s}
2261puts the text after the separator into the right-hand buffer, and
2262deletes the separator. Lines that don't have the column separator at
2263the proper place remain unsplit; they stay in the left-hand buffer, and
2264the right-hand buffer gets an empty line to correspond. (This is the
2265way to write a line that ``spans both columns while in two-column
2266mode'': write it in the left-hand buffer, and put an empty line in the
2267right-hand buffer.)
2268
2269@kindex F2 RET
2270@kindex C-x 6 RET
2271@findex 2C-newline
2272 The command @kbd{C-x 6 @key{RET}} or @kbd{@key{F2} @key{RET}}
2273(@code{2C-newline}) inserts a newline in each of the two buffers at
2274corresponding positions. This is the easiest way to add a new line to
2275the two-column text while editing it in split buffers.
2276
2277@kindex F2 1
2278@kindex C-x 6 1
2279@findex 2C-merge
2280 When you have edited both buffers as you wish, merge them with
2281@kbd{@key{F2} 1} or @kbd{C-x 6 1} (@code{2C-merge}). This copies the
2282text from the right-hand buffer as a second column in the other buffer.
2283To go back to two-column editing, use @kbd{@key{F2} s}.
2284
2285@kindex F2 d
2286@kindex C-x 6 d
2287@findex 2C-dissociate
2288 Use @kbd{@key{F2} d} or @kbd{C-x 6 d} to dissociate the two buffers,
2289leaving each as it stands (@code{2C-dissociate}). If the other buffer,
2290the one not current when you type @kbd{@key{F2} d}, is empty,
2291@kbd{@key{F2} d} kills it.
2292
2293@node Editing Binary Files, Saving Emacs Sessions, Two-Column, Top
2294@section Editing Binary Files 2069@section Editing Binary Files
2295 2070
2296@cindex Hexl mode 2071@cindex Hexl mode
diff --git a/doc/emacs/picture-xtra.texi b/doc/emacs/picture-xtra.texi
index 0dcfc7a9627..43a2dbc4704 100644
--- a/doc/emacs/picture-xtra.texi
+++ b/doc/emacs/picture-xtra.texi
@@ -5,7 +5,7 @@
5@c This file is included either in emacs-xtra.texi (when producing the 5@c This file is included either in emacs-xtra.texi (when producing the
6@c printed version) or in the main Emacs manual (for the on-line version). 6@c printed version) or in the main Emacs manual (for the on-line version).
7@node Picture Mode 7@node Picture Mode
8@chapter Editing Pictures 8@section Editing Pictures
9@cindex pictures 9@cindex pictures
10@cindex making pictures out of text characters 10@cindex making pictures out of text characters
11@findex picture-mode 11@findex picture-mode
@@ -59,7 +59,7 @@ Additional extensions to Picture mode can be found in
59@end menu 59@end menu
60 60
61@node Basic Picture 61@node Basic Picture
62@section Basic Editing in Picture Mode 62@subsection Basic Editing in Picture Mode
63 63
64@findex picture-forward-column 64@findex picture-forward-column
65@findex picture-backward-column 65@findex picture-backward-column
@@ -124,7 +124,7 @@ modes), or one of the picture rectangle commands (@pxref{Rectangles in
124Picture}). 124Picture}).
125 125
126@node Insert in Picture 126@node Insert in Picture
127@section Controlling Motion after Insert 127@subsection Controlling Motion after Insert
128 128
129@findex picture-movement-up 129@findex picture-movement-up
130@findex picture-movement-down 130@findex picture-movement-down
@@ -188,7 +188,7 @@ same direction as motion after ``insertion'' currently does, while @kbd{C-c
188C-b} (@code{picture-motion-reverse}) moves in the opposite direction. 188C-b} (@code{picture-motion-reverse}) moves in the opposite direction.
189 189
190@node Tabs in Picture 190@node Tabs in Picture
191@section Picture Mode Tabs 191@subsection Picture Mode Tabs
192 192
193@kindex M-TAB @r{(Picture mode)} 193@kindex M-TAB @r{(Picture mode)}
194@findex picture-tab-search 194@findex picture-tab-search
@@ -228,7 +228,7 @@ up the picture. You can do this by setting the variable
228@code{indent-tabs-mode} to @code{nil}. 228@code{indent-tabs-mode} to @code{nil}.
229 229
230@node Rectangles in Picture 230@node Rectangles in Picture
231@section Picture Mode Rectangle Commands 231@subsection Picture Mode Rectangle Commands
232@cindex rectangles and Picture mode 232@cindex rectangles and Picture mode
233@cindex Picture mode and rectangles 233@cindex Picture mode and rectangles
234 234
diff --git a/doc/emacs/rmail.texi b/doc/emacs/rmail.texi
index ad22ae921e0..0a9594d3798 100644
--- a/doc/emacs/rmail.texi
+++ b/doc/emacs/rmail.texi
@@ -2,7 +2,7 @@
2@c Copyright (C) 1985-1987, 1993-1995, 1997, 2001-2011 2@c Copyright (C) 1985-1987, 1993-1995, 1997, 2001-2011
3@c Free Software Foundation, Inc. 3@c Free Software Foundation, Inc.
4@c See file emacs.texi for copying conditions. 4@c See file emacs.texi for copying conditions.
5@node Rmail, Dired, Sending Mail, Top 5@node Rmail
6@chapter Reading Mail with Rmail 6@chapter Reading Mail with Rmail
7@cindex Rmail 7@cindex Rmail
8@cindex reading mail 8@cindex reading mail
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi
index e3f5c05d8da..0b0e4867ae5 100644
--- a/doc/emacs/text.texi
+++ b/doc/emacs/text.texi
@@ -70,6 +70,7 @@ for editing such pictures.
70* Nroff Mode:: Editing input to the formatter nroff. 70* Nroff Mode:: Editing input to the formatter nroff.
71* Formatted Text:: Editing formatted text directly in WYSIWYG fashion. 71* Formatted Text:: Editing formatted text directly in WYSIWYG fashion.
72* Text Based Tables:: Editing text-based tables in WYSIWYG fashion. 72* Text Based Tables:: Editing text-based tables in WYSIWYG fashion.
73* Two-Column:: Splitting text columns into separate windows.
73@end menu 74@end menu
74 75
75@node Words 76@node Words
@@ -2837,3 +2838,93 @@ then inserts the generated table in the proper syntax into the
2837destination buffer. The default destination buffer is 2838destination buffer. The default destination buffer is
2838@code{table.@var{lang}}, where @var{lang} is the language you 2839@code{table.@var{lang}}, where @var{lang} is the language you
2839specified. 2840specified.
2841
2842@node Two-Column
2843@section Two-Column Editing
2844@cindex two-column editing
2845@cindex splitting columns
2846@cindex columns, splitting
2847
2848 Two-column mode lets you conveniently edit two side-by-side columns of
2849text. It uses two side-by-side windows, each showing its own
2850buffer.
2851
2852 There are three ways to enter two-column mode:
2853
2854@table @asis
2855@item @kbd{@key{F2} 2} or @kbd{C-x 6 2}
2856@kindex F2 2
2857@kindex C-x 6 2
2858@findex 2C-two-columns
2859Enter two-column mode with the current buffer on the left, and on the
2860right, a buffer whose name is based on the current buffer's name
2861(@code{2C-two-columns}). If the right-hand buffer doesn't already
2862exist, it starts out empty; the current buffer's contents are not
2863changed.
2864
2865This command is appropriate when the current buffer is empty or contains
2866just one column and you want to add another column.
2867
2868@item @kbd{@key{F2} s} or @kbd{C-x 6 s}
2869@kindex F2 s
2870@kindex C-x 6 s
2871@findex 2C-split
2872Split the current buffer, which contains two-column text, into two
2873buffers, and display them side by side (@code{2C-split}). The current
2874buffer becomes the left-hand buffer, but the text in the right-hand
2875column is moved into the right-hand buffer. The current column
2876specifies the split point. Splitting starts with the current line and
2877continues to the end of the buffer.
2878
2879This command is appropriate when you have a buffer that already contains
2880two-column text, and you wish to separate the columns temporarily.
2881
2882@item @kbd{@key{F2} b @var{buffer} @key{RET}}
2883@itemx @kbd{C-x 6 b @var{buffer} @key{RET}}
2884@kindex F2 b
2885@kindex C-x 6 b
2886@findex 2C-associate-buffer
2887Enter two-column mode using the current buffer as the left-hand buffer,
2888and using buffer @var{buffer} as the right-hand buffer
2889(@code{2C-associate-buffer}).
2890@end table
2891
2892 @kbd{@key{F2} s} or @kbd{C-x 6 s} looks for a column separator, which
2893is a string that appears on each line between the two columns. You can
2894specify the width of the separator with a numeric argument to
2895@kbd{@key{F2} s}; that many characters, before point, constitute the
2896separator string. By default, the width is 1, so the column separator
2897is the character before point.
2898
2899 When a line has the separator at the proper place, @kbd{@key{F2} s}
2900puts the text after the separator into the right-hand buffer, and
2901deletes the separator. Lines that don't have the column separator at
2902the proper place remain unsplit; they stay in the left-hand buffer, and
2903the right-hand buffer gets an empty line to correspond. (This is the
2904way to write a line that ``spans both columns while in two-column
2905mode'': write it in the left-hand buffer, and put an empty line in the
2906right-hand buffer.)
2907
2908@kindex F2 RET
2909@kindex C-x 6 RET
2910@findex 2C-newline
2911 The command @kbd{C-x 6 @key{RET}} or @kbd{@key{F2} @key{RET}}
2912(@code{2C-newline}) inserts a newline in each of the two buffers at
2913corresponding positions. This is the easiest way to add a new line to
2914the two-column text while editing it in split buffers.
2915
2916@kindex F2 1
2917@kindex C-x 6 1
2918@findex 2C-merge
2919 When you have edited both buffers as you wish, merge them with
2920@kbd{@key{F2} 1} or @kbd{C-x 6 1} (@code{2C-merge}). This copies the
2921text from the right-hand buffer as a second column in the other buffer.
2922To go back to two-column editing, use @kbd{@key{F2} s}.
2923
2924@kindex F2 d
2925@kindex C-x 6 d
2926@findex 2C-dissociate
2927 Use @kbd{@key{F2} d} or @kbd{C-x 6 d} to dissociate the two buffers,
2928leaving each as it stands (@code{2C-dissociate}). If the other buffer,
2929the one not current when you type @kbd{@key{F2} d}, is empty,
2930@kbd{@key{F2} d} kills it.
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 4bf615328b1..ca9c93b563d 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,10 @@
12011-08-25 Eli Zaretskii <eliz@gnu.org>
2
3 * display.texi (Specified Space): Mention that `space' specs
4 influence bidi reordering.
5 (Bidirectional Display): Explain how to use `(space . PROPS)' for
6 separating fields with bidirectional content.
7
12011-08-24 Eli Zaretskii <eliz@gnu.org> 82011-08-24 Eli Zaretskii <eliz@gnu.org>
2 9
3 * display.texi (Bidirectional Display): Document return value in 10 * display.texi (Bidirectional Display): Document return value in
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 0593eba8f05..bf7cd126a26 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -3794,6 +3794,10 @@ with a @dfn{pixel ascent} specification (@pxref{Pixel Specification}).
3794non-graphic terminals, but the other space properties in this section 3794non-graphic terminals, but the other space properties in this section
3795are not. 3795are not.
3796 3796
3797 Note that space properties are treated as paragraph separators for
3798the purposes of reordering bidirectional text for display.
3799@xref{Bidirectional Display}, for the details.
3800
3797@node Pixel Specification 3801@node Pixel Specification
3798@subsection Pixel Specification for Spaces 3802@subsection Pixel Specification for Spaces
3799@cindex spaces, pixel specification 3803@cindex spaces, pixel specification
@@ -6126,8 +6130,8 @@ with bidirectional content can be displayed @emph{to the left} of the
6126preceding field, producing a jumbled display and messing up the 6130preceding field, producing a jumbled display and messing up the
6127expected layout. 6131expected layout.
6128 6132
6129 To countermand this, you can use one of the following techniques for 6133 To countermand this, we recommend that you use one of the following
6130forcing correct order of fields on display: 6134techniques for forcing correct order of fields on display:
6131 6135
6132@itemize @minus 6136@itemize @minus
6133@item 6137@item
@@ -6146,6 +6150,15 @@ Include the tab character in the field separator. The tab character
6146plays the role of @dfn{segment separator} in the @acronym{UBA} 6150plays the role of @dfn{segment separator} in the @acronym{UBA}
6147reordering, whose effect is to make each field a separate segment, and 6151reordering, whose effect is to make each field a separate segment, and
6148thus reorder them separately. 6152thus reorder them separately.
6153
6154@cindex @code{space} display spec, and bidirectional text
6155@item
6156Separate fields with a @code{display} property or overlay with the
6157property value of the form @code{(space . PROPS)} (@pxref{Specified
6158Space}). This display specification is treated by Emacs as a
6159@dfn{paragraph separator}; the text before and after the separator is
6160reordered separately, which avoids the influence of any field on its
6161neighboring fields.
6149@end itemize 6162@end itemize
6150 6163
6151@defun bidi-string-mark-left-to-right string 6164@defun bidi-string-mark-left-to-right string
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 762779cc01e..064e745d1f5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,23 @@
12011-08-25 Eli Zaretskii <eliz@gnu.org>
2
3 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
4 bidi-string-mark-left-to-right; they are unnecessary now.
5
62011-08-25 Deniz Dogan <deniz@dogan.se>
7
8 * net/quickurl.el: Documentation typo fixes.
9
102011-08-25 Chong Yidong <cyd@stupidchicken.com>
11
12 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13
142011-08-25 Glenn Morris <rgm@gnu.org>
15
16 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17
18 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19 (smtpmail-via-smtp): Handle nil response from smtp.
20
12011-08-24 Juri Linkov <juri@jurta.org> 212011-08-24 Juri Linkov <juri@jurta.org>
2 22
3 * proced.el (proced-marked): Inherit from `error' instead of 23 * proced.el (proced-marked): Inherit from `error' instead of
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el
index 2eac33d8157..2be74cf5efb 100644
--- a/lisp/buff-menu.el
+++ b/lisp/buff-menu.el
@@ -681,9 +681,9 @@ For more information, see the function `buffer-menu'."
681 (string-width tail) 681 (string-width tail)
682 2)) 682 2))
683 Buffer-menu-short-ellipsis 683 Buffer-menu-short-ellipsis
684 (bidi-string-mark-left-to-right tail)))) 684 tail)))
685 ;; Don't put properties on (buffer-name). 685 ;; Don't put properties on (buffer-name).
686 (setq name (bidi-string-mark-left-to-right name))) 686 (setq name (copy-sequence name)))
687 (add-text-properties 0 (length name) name-props name) 687 (add-text-properties 0 (length name) name-props name)
688 (add-text-properties 0 (length size) size-props size) 688 (add-text-properties 0 (length size) size-props size)
689 (let ((name+space-width (- Buffer-menu-buffer+size-width 689 (let ((name+space-width (- Buffer-menu-buffer+size-width
diff --git a/lisp/emacs-lisp/derived.el b/lisp/emacs-lisp/derived.el
index 4fda2bf1d52..81932f9940a 100644
--- a/lisp/emacs-lisp/derived.el
+++ b/lisp/emacs-lisp/derived.el
@@ -133,10 +133,10 @@ BODY can start with a bunch of keyword arguments. The following keyword
133 Declare the customization group that corresponds to this mode. 133 Declare the customization group that corresponds to this mode.
134 The command `customize-mode' uses this. 134 The command `customize-mode' uses this.
135:syntax-table TABLE 135:syntax-table TABLE
136 Use TABLE instead of the default. 136 Use TABLE instead of the default (CHILD-syntax-table).
137 A nil value means to simply use the same syntax-table as the parent. 137 A nil value means to simply use the same syntax-table as the parent.
138:abbrev-table TABLE 138:abbrev-table TABLE
139 Use TABLE instead of the default. 139 Use TABLE instead of the default (CHILD-abbrev-table).
140 A nil value means to simply use the same abbrev-table as the parent. 140 A nil value means to simply use the same abbrev-table as the parent.
141 141
142Here is how you could define LaTeX-Thesis mode as a variant of LaTeX mode: 142Here is how you could define LaTeX-Thesis mode as a variant of LaTeX mode:
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el
index 40fbb072594..69c49c471c0 100644
--- a/lisp/mail/smtpmail.el
+++ b/lisp/mail/smtpmail.el
@@ -88,6 +88,7 @@ The default value would be \"smtp\" or 25."
88 88
89(defcustom smtpmail-smtp-user nil 89(defcustom smtpmail-smtp-user nil
90 "User name to use when looking up credentials." 90 "User name to use when looking up credentials."
91 :version "24.1"
91 :type '(choice (const nil) string) 92 :type '(choice (const nil) string)
92 :group 'smtpmail) 93 :group 'smtpmail)
93 94
@@ -677,7 +678,7 @@ The list is in preference order.")
677 (throw 'done (format "No greeting: %s" greeting))) 678 (throw 'done (format "No greeting: %s" greeting)))
678 (when (>= code 400) 679 (when (>= code 400)
679 (throw 'done (format "Connection not allowed: %s" greeting)))) 680 (throw 'done (format "Connection not allowed: %s" greeting))))
680 681
681 (with-current-buffer process-buffer 682 (with-current-buffer process-buffer
682 (set-buffer-process-coding-system 'raw-text-unix 'raw-text-unix) 683 (set-buffer-process-coding-system 'raw-text-unix 'raw-text-unix)
683 (make-local-variable 'smtpmail-read-point) 684 (make-local-variable 'smtpmail-read-point)
@@ -730,7 +731,7 @@ The list is in preference order.")
730 731
731 (when (member 'xusr supported-extensions) 732 (when (member 'xusr supported-extensions)
732 (smtpmail-command-or-throw process (format "XUSR"))) 733 (smtpmail-command-or-throw process (format "XUSR")))
733 734
734 ;; MAIL FROM:<sender> 735 ;; MAIL FROM:<sender>
735 (let ((size-part 736 (let ((size-part
736 (if (or (member 'size supported-extensions) 737 (if (or (member 'size supported-extensions)
@@ -769,7 +770,7 @@ The list is in preference order.")
769 ) 770 )
770 ((and auth-mechanisms 771 ((and auth-mechanisms
771 (not ask-for-password) 772 (not ask-for-password)
772 (= (car result) 530)) 773 (eq (car result) 530))
773 ;; We got a "530 auth required", so we close and try 774 ;; We got a "530 auth required", so we close and try
774 ;; again, this time asking the user for a password. 775 ;; again, this time asking the user for a password.
775 (smtpmail-send-command process "QUIT") 776 (smtpmail-send-command process "QUIT")
@@ -796,6 +797,7 @@ The list is in preference order.")
796 nil) 797 nil)
797 ((and auth-mechanisms 798 ((and auth-mechanisms
798 (not ask-for-password) 799 (not ask-for-password)
800 (integerp (car result))
799 (>= (car result) 550) 801 (>= (car result) 550)
800 (<= (car result) 554)) 802 (<= (car result) 554))
801 ;; We got a "550 relay not permitted" (or the like), 803 ;; We got a "550 relay not permitted" (or the like),
diff --git a/lisp/net/quickurl.el b/lisp/net/quickurl.el
index c3da1707165..712f0b0c924 100644
--- a/lisp/net/quickurl.el
+++ b/lisp/net/quickurl.el
@@ -1,4 +1,4 @@
1;;; quickurl.el --- insert an URL based on text at point in buffer 1;;; quickurl.el --- insert a URL based on text at point in buffer
2 2
3;; Copyright (C) 1999-2011 Free Software Foundation, Inc. 3;; Copyright (C) 1999-2011 Free Software Foundation, Inc.
4 4
@@ -24,7 +24,7 @@
24 24
25;;; Commentary: 25;;; Commentary:
26;; 26;;
27;; This package provides a simple method of inserting an URL based on the 27;; This package provides a simple method of inserting a URL based on the
28;; text at point in the current buffer. This is part of an on-going effort 28;; text at point in the current buffer. This is part of an on-going effort
29;; to increase the information I provide people while reducing the ammount 29;; to increase the information I provide people while reducing the ammount
30;; of typing I need to do. No-doubt there are undiscovered Emacs packages 30;; of typing I need to do. No-doubt there are undiscovered Emacs packages
@@ -90,7 +90,7 @@
90;; Customize options. 90;; Customize options.
91 91
92(defgroup quickurl nil 92(defgroup quickurl nil
93 "Insert an URL based on text at point in buffer." 93 "Insert a URL based on text at point in buffer."
94 :version "21.1" 94 :version "21.1"
95 :group 'abbrev 95 :group 'abbrev
96 :prefix "quickurl-") 96 :prefix "quickurl-")
@@ -194,14 +194,14 @@ in your ~/.emacs (after loading/requiring quickurl).")
194(defvar quickurl-list-last-buffer nil 194(defvar quickurl-list-last-buffer nil
195 "`current-buffer' when `quickurl-list' was called.") 195 "`current-buffer' when `quickurl-list' was called.")
196 196
197;; Functions for working with an URL entry. 197;; Functions for working with a URL entry.
198 198
199(defun quickurl-url-commented-p (url) 199(defun quickurl-url-commented-p (url)
200 "Does the URL have a comment?" 200 "Does the URL have a comment?"
201 (listp (cdr url))) 201 (listp (cdr url)))
202 202
203(defun quickurl-make-url (keyword url &optional comment) 203(defun quickurl-make-url (keyword url &optional comment)
204 "Create an URL from KEYWORD, URL and (optionaly) COMMENT." 204 "Create a URL from KEYWORD, URL and (optionaly) COMMENT."
205 (if (and comment (not (zerop (length comment)))) 205 (if (and comment (not (zerop (length comment))))
206 (list keyword url comment) 206 (list keyword url comment)
207 (cons keyword url))) 207 (cons keyword url)))
@@ -230,7 +230,7 @@ Note that this function is a setfable place."
230 (setf (cdr ,url) ,store))) 230 (setf (cdr ,url) ,store)))
231 231
232(defun quickurl-url-comment (url) 232(defun quickurl-url-comment (url)
233 "Get the comment from an URL. 233 "Get the comment from a URL.
234 234
235If the URL has no comment an empty string is returned. Also note that this 235If the URL has no comment an empty string is returned. Also note that this
236function is a setfable place." 236function is a setfable place."
@@ -304,7 +304,7 @@ Also display a `message' saying what the URL was unless SILENT is non-nil."
304 304
305;;;###autoload 305;;;###autoload
306(defun* quickurl (&optional lookup) 306(defun* quickurl (&optional lookup)
307 "Insert an URL based on LOOKUP. 307 "Insert a URL based on LOOKUP.
308 308
309If not supplied LOOKUP is taken to be the word at point in the current 309If not supplied LOOKUP is taken to be the word at point in the current
310buffer, this default action can be modifed via 310buffer, this default action can be modifed via
@@ -323,7 +323,7 @@ buffer, this default action can be modifed via
323 323
324;;;###autoload 324;;;###autoload
325(defun quickurl-ask (lookup) 325(defun quickurl-ask (lookup)
326 "Insert an URL, with `completing-read' prompt, based on LOOKUP." 326 "Insert a URL, with `completing-read' prompt, based on LOOKUP."
327 (interactive 327 (interactive
328 (list 328 (list
329 (progn 329 (progn
@@ -335,7 +335,7 @@ buffer, this default action can be modifed via
335 (quickurl-insert url)))) 335 (quickurl-insert url))))
336 336
337(defun quickurl-grab-url () 337(defun quickurl-grab-url ()
338 "Attempt to grab a word/url pair from point in the current buffer. 338 "Attempt to grab a word/URL pair from point in the current buffer.
339 339
340Point should be somewhere on the URL and the word is taken to be the thing 340Point should be somewhere on the URL and the word is taken to be the thing
341that is returned from calling `quickurl-grab-lookup-function' once a 341that is returned from calling `quickurl-grab-lookup-function' once a
@@ -369,7 +369,7 @@ It is assumed that the URL is either \"unguarded\" or is wrapped inside an
369(defun quickurl-add-url (word url comment) 369(defun quickurl-add-url (word url comment)
370 "Allow the user to interactively add a new URL associated with WORD. 370 "Allow the user to interactively add a new URL associated with WORD.
371 371
372See `quickurl-grab-url' for details on how the default word/url combination 372See `quickurl-grab-url' for details on how the default word/URL combination
373is decided." 373is decided."
374 (interactive (let ((word-url (quickurl-grab-url))) 374 (interactive (let ((word-url (quickurl-grab-url)))
375 (list (read-string "Word: " (quickurl-url-keyword word-url)) 375 (list (read-string "Word: " (quickurl-url-keyword word-url))
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog
index fe05fa685ed..9c0c62ccdf6 100644
--- a/lisp/org/ChangeLog
+++ b/lisp/org/ChangeLog
@@ -31,15 +31,14 @@
31 31
322011-07-28 Bastien Guerry <bzg@gnu.org> 322011-07-28 Bastien Guerry <bzg@gnu.org>
33 33
34 * org-publish.el (org-publish-find-title): bugfix: kill buffers 34 * org-publish.el (org-publish-find-title): Bugfix: kill buffers
35 unless they were already visited. 35 unless they were already visited.
36 (org-sitemap-sort-files, org-sitemap-sort-folders) 36 (org-sitemap-sort-files, org-sitemap-sort-folders)
37 (org-sitemap-ignore-case, org-sitemap-requested) 37 (org-sitemap-ignore-case, org-sitemap-requested)
38 (org-sitemap-date-format, org-sitemap-file-entry-format): use 38 (org-sitemap-date-format, org-sitemap-file-entry-format): Use
39 a correct prefix. 39 a correct prefix.
40 (org-publish-projects): Make sure to delete .orgx files. 40 (org-publish-projects): Make sure to delete .orgx files.
41 (org-publish-index-generate-theindex.inc): Small docstring 41 (org-publish-index-generate-theindex.inc): Small docstring fix.
42 fix.
43 42
442011-07-28 Bastien Guerry <bzg@gnu.org> 432011-07-28 Bastien Guerry <bzg@gnu.org>
45 44
@@ -52,15 +51,15 @@
52 51
532011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 522011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
54 53
55 * org-list.el: search blank lines down to the end of the item 54 * org-list.el: Search blank lines down to the end of the item
56 instead of stopping at the item, in order to possibly match such 55 instead of stopping at the item, in order to possibly match such
57 lines within the item. 56 lines within the item.
58 57
592011-07-28 Bastien Guerry <bzg@gnu.org> 582011-07-28 Bastien Guerry <bzg@gnu.org>
60 59
61 * org-latex.el (org-export-latex-href-format): docstring fix to 60 * org-latex.el (org-export-latex-href-format): Docstring fix to
62 reflect the fact that you can use only one "%s". 61 reflect the fact that you can use only one "%s".
63 (org-export-latex-links): allow `org-export-latex-href-format' to 62 (org-export-latex-links): Allow `org-export-latex-href-format' to
64 have only one "%s". 63 have only one "%s".
65 64
662011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 652011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
@@ -73,7 +72,7 @@
73 72
742011-07-28 Bastien Guerry <bzg@gnu.org> 732011-07-28 Bastien Guerry <bzg@gnu.org>
75 74
76 * org-capture.el (org-capture-templates): docstring fix. 75 * org-capture.el (org-capture-templates): Docstring fix.
77 76
782011-07-28 Eric Schulte <schulte.eric@gmail.com> 772011-07-28 Eric Schulte <schulte.eric@gmail.com>
79 78
@@ -81,7 +80,7 @@
81 code blocks. 80 code blocks.
82 81
83 * ob-keys.el (org-babel-key-bindings): Key bindings for 82 * ob-keys.el (org-babel-key-bindings): Key bindings for
84 org-babel-view-src-block-info. 83 `org-babel-view-src-block-info'.
85 84
862011-07-28 Bastien Guerry <bzg@gnu.org> 852011-07-28 Bastien Guerry <bzg@gnu.org>
87 86
@@ -98,7 +97,7 @@
98 97
992011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 982011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
100 99
101 * org-footnote.el (org-footnote-create-definition): when skipping 100 * org-footnote.el (org-footnote-create-definition): When skipping
102 already written footnotes definition, the algorithme would assume 101 already written footnotes definition, the algorithme would assume
103 each one was only one-line long. 102 each one was only one-line long.
104 103
@@ -106,22 +105,22 @@
106 105
107 * org-table.el (org-table-eval-formula): Fix bug when a formula 106 * org-table.el (org-table-eval-formula): Fix bug when a formula
108 "range" is just one cell. 107 "range" is just one cell.
109 (org-table-time-string-to-seconds): don't check whether 108 (org-table-time-string-to-seconds): Don't check whether we
110 we manipulate a string. 109 manipulate a string.
111 110
1122011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 1112011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
113 112
114 * org-exp.el (org-export-mark-list-end) 113 * org-exp.el (org-export-mark-list-end)
115 (org-export-mark-list-properties): don't remove the ending regexp 114 (org-export-mark-list-properties): Don't remove the ending regexp
116 when it consists in blank lines. 115 when it consists in blank lines.
117 116
118 * org-list.el (org-list-parse-list): ditto, but remove it 117 * org-list.el (org-list-parse-list): Ditto, but remove it
119 completely when it isn't made of blank lines (i.e. during export 118 completely when it isn't made of blank lines (i.e. during export
120 process). 119 process).
121 120
1222011-07-28 Bastien Guerry <bzg@gnu.org> 1212011-07-28 Bastien Guerry <bzg@gnu.org>
123 122
124 * org-table.el (org-table-time-string-to-seconds): match either 123 * org-table.el (org-table-time-string-to-seconds): Match either
125 HH:MM:SS or HH:MM (instead of MM:SS). 124 HH:MM:SS or HH:MM (instead of MM:SS).
126 125
1272011-07-28 Bastien Guerry <bzg@gnu.org> 1262011-07-28 Bastien Guerry <bzg@gnu.org>
@@ -137,12 +136,12 @@
137 variables as of Org version 7.7 as you can already export the 136 variables as of Org version 7.7 as you can already export the
138 timestamp from the preamble or the postamble. 137 timestamp from the preamble or the postamble.
139 (org-export-html-before-content-div): Delete variable. 138 (org-export-html-before-content-div): Delete variable.
140 (org-export-html-content-div): obsolete variable as of 7.7. 139 (org-export-html-content-div): Obsolete variable as of 7.7.
141 (org-export-html-divs): New variable to define divs used in 140 (org-export-html-divs): New variable to define divs used in
142 HTML export. 141 HTML export.
143 (org-export-as-html): Now the preamble and the postamble are 142 (org-export-as-html): Now the preamble and the postamble are
144 surrounded by a <div ...>. The name of the div is defined 143 surrounded by a <div ...>. The name of the div is defined through
145 through `org-export-html-divs'. 144 `org-export-html-divs'.
146 145
1472011-07-28 Bastien Guerry <bzg@gnu.org> 1462011-07-28 Bastien Guerry <bzg@gnu.org>
148 147
@@ -151,22 +150,21 @@
151 150
1522011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 1512011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
153 152
154 * org-macs.el (org-with-limited-levels): some functions, like 153 * org-macs.el (org-with-limited-levels): Some functions, like
155 `org-back-to-heading', being deeply based on outline-mode, still 154 `org-back-to-heading', being deeply based on outline-mode, still
156 refer to `outline-regexp' instead of `org-outline-regexp'. 155 refer to `outline-regexp' instead of `org-outline-regexp'.
157 156
1582011-07-28 Bastien Guerry <bzg@gnu.org> 1572011-07-28 Bastien Guerry <bzg@gnu.org>
159 158
160 * org.el (org-refile-get-targets): new optional argument 159 * org.el (org-refile-get-targets): New optional argument
161 `excluded-entries' to exclude entries from the targets. 160 `excluded-entries' to exclude entries from the targets.
162 (org-refile-get-location): From an org-mode buffer, exclude 161 (org-refile-get-location): From an org-mode buffer, exclude
163 current heading and subheadings from the list of targets when 162 current heading and subheadings from the list of targets when
164 org-refile-use-cache is nil. 163 `org-refile-use-cache' is nil.
165 164
1662011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 1652011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
167 166
168 * org.el (org-imenu-get-tree): note to self: headlines start at 167 * org.el (org-imenu-get-tree): Headlines start at bol.
169 bol.
170 168
1712011-07-28 Eric Schulte <schulte.eric@gmail.com> 1692011-07-28 Eric Schulte <schulte.eric@gmail.com>
172 170
@@ -174,37 +172,38 @@
174 172
1752011-07-28 Eric Schulte <schulte.eric@gmail.com> 1732011-07-28 Eric Schulte <schulte.eric@gmail.com>
176 174
177 * ob.el (org-babel-sha1-hash): Only call copy-seq on proper lists. 175 * ob.el (org-babel-sha1-hash): Only call `copy-seq' on proper
176 lists.
178 177
1792011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 1782011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
180 179
181 * org.el (org-kill-is-subtree-p): matched string needs to start at 180 * org.el (org-kill-is-subtree-p): Matched string needs to start at
182 bol. 181 bol.
183 182
1842011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 1832011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
185 184
186 * org.el (org-paste-subtree, org-kill-is-subtree-p) 185 * org.el (org-paste-subtree, org-kill-is-subtree-p)
187 (org-yank-folding-would-swallow-text, org-yank-generic): use 186 (org-yank-folding-would-swallow-text, org-yank-generic): Use
188 `org-with-limited-levels' macro. 187 `org-with-limited-levels' macro.
189 188
1902011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 1892011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
191 190
192 * org-macs.el (org-with-limited-levels): also modify, when 191 * org-macs.el (org-with-limited-levels): Also modify, when
193 appropriate, `org-outline-regexp-at-bol'. 192 appropriate, `org-outline-regexp-at-bol'.
194 193
1952011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 1942011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
196 195
197 * org.el (org-timestamp-change): some locales don't use the same 196 * org.el (org-timestamp-change): Some locales don't use the same
198 length for date abbreviations. Set a marker at origin in case 197 length for date abbreviations. Set a marker at origin in case
199 length of new timestamp is different. 198 length of new timestamp is different.
200 199
2012011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 2002011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
202 201
203 * org.el (org-imenu-get-tree): browse only true headlines. 202 * org.el (org-imenu-get-tree): Browse only true headlines.
204 203
2052011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 2042011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
206 205
207 * org-archive.el (org-archive-subtree): while it might be possible 206 * org-archive.el (org-archive-subtree): While it might be possible
208 to archive an headline of a temporary buffer (i.e. not visiting a 207 to archive an headline of a temporary buffer (i.e. not visiting a
209 file), it wouldn't be really sensical. 208 file), it wouldn't be really sensical.
210 209
@@ -212,13 +211,13 @@
212 211
213 * org-archive.el (org-extract-archive-file) 212 * org-archive.el (org-extract-archive-file)
214 (org-extract-archive-heading, org-archive-subtree): 213 (org-extract-archive-heading, org-archive-subtree):
215 buffer-file-name is nil in an indirect buffer. Thus, use 214 `buffer-file-name' is nil in an indirect buffer. Thus, use
216 (buffer-file-name (buffer-base-buffer)), which will, in any case, 215 `(buffer-file-name (buffer-base-buffer))', which will, in any
217 return the file-name. 216 case, return the file name.
218 217
2192011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 2182011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
220 219
221 * org-capture.el (org-capture): if dired isn't loaded, 220 * org-capture.el (org-capture): If dired isn't loaded,
222 `dired-buffers' isn't defined, and %F will fail. 221 `dired-buffers' isn't defined, and %F will fail.
223 222
2242011-07-28 Eric Schulte <schulte.eric@gmail.com> 2232011-07-28 Eric Schulte <schulte.eric@gmail.com>
@@ -232,19 +231,19 @@
232 231
2332011-07-28 Eric Schulte <schulte.eric@gmail.com> 2322011-07-28 Eric Schulte <schulte.eric@gmail.com>
234 233
235 * ob.el (org-babel-execute-src-block): Replaced call to defunct 234 * ob.el (org-babel-execute-src-block): Replace call to defunct
236 function `org-babel-result-hash'. 235 function `org-babel-result-hash'.
237 236
2382011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 2372011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
239 238
240 * org-footnote.el (org-footnote-in-valid-context-p): avoid cited 239 * org-footnote.el (org-footnote-in-valid-context-p): Avoid cited
241 lines and headers in message-mode. 240 lines and headers in `message-mode'.
242 (org-footnote-at-reference-p): remove check for cited lines, this 241 (org-footnote-at-reference-p): Remove check for cited lines, this
243 is now handled by the previous function. Refactor. 242 is now handled by the previous function. Refactor.
244 243
2452011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 2442011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
246 245
247 * org-capture.el (org-capture): if no file is associated to 246 * org-capture.el (org-capture): If no file is associated to
248 current buffer, check dired buffer and try to retreive a possibly 247 current buffer, check dired buffer and try to retreive a possibly
249 directory associated. 248 directory associated.
250 249
@@ -258,16 +257,16 @@
258 257
2592011-07-28 Bastien Guerry <bzg@gnu.org> 2582011-07-28 Bastien Guerry <bzg@gnu.org>
260 259
261 * org.el (org-refile-get-location): exclude current heading from 260 * org.el (org-refile-get-location): Exclude current heading from
262 the refile table. 261 the refile table.
263 262
2642011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 2632011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
265 264
266 * org-footnote.el (org-footnote-at-reference-p): test if match is 265 * org-footnote.el (org-footnote-at-reference-p): Test if match is
267 in cited text, when replying to a message. 266 in cited text, when replying to a message.
268 (org-footnote-new): do not create a new footnote at bol, as it might 267 (org-footnote-new): Do not create a new footnote at bol, as it
269 be seen as a definition. 268 might be seen as a definition.
270 (org-footnote-at-definition-p): ignore definitions in forbidden 269 (org-footnote-at-definition-p): Ignore definitions in forbidden
271 blocks, as it is already the case for references. 270 blocks, as it is already the case for references.
272 271
2732011-07-28 Matt Lundin <mdl@imapmail.org> 2722011-07-28 Matt Lundin <mdl@imapmail.org>
@@ -283,11 +282,11 @@
283 282
2842011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 2832011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
285 284
286 * org-list.el (org-list-insert-item): actualize code comments. 285 * org-list.el (org-list-insert-item): Actualize code comments.
287 (org-insert-item): for consistency, point cannot be moved at 286 (org-insert-item): For consistency, point cannot be moved at a
288 a surprising place when the user is being asked to choose a new 287 surprising place when the user is being asked to choose a new
289 description term to insert in the list. Point should stay where the 288 description term to insert in the list. Point should stay where
290 user called the command. 289 the user called the command.
291 290
2922011-07-28 Bastien Guerry <bzg@gnu.org> 2912011-07-28 Bastien Guerry <bzg@gnu.org>
293 292
@@ -318,20 +317,20 @@
3182011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 3172011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
319 318
320 * org.el (org-update-parent-todo-statistics): COOKIE_DATA should 319 * org.el (org-update-parent-todo-statistics): COOKIE_DATA should
321 be checked for parent, not current headline. Also, this function 320 be checked for parent, not current headline. Also, this function
322 doesn't need to be interactive. 321 doesn't need to be interactive.
323 322
3242011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 3232011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
325 324
326 * org-list.el (org-list-send-item, org-list-struct-apply-struct) 325 * org-list.el (org-list-send-item, org-list-struct-apply-struct)
327 (org-apply-on-list, org-toggle-checkbox): make markers point 326 (org-apply-on-list, org-toggle-checkbox): Make markers point
328 nowhere when they have become useless. 327 nowhere when they have become useless.
329 328
3302011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 3292011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
331 330
332 * org-list.el (org-list-insert-item): when insertion point is in 331 * org-list.el (org-list-insert-item): When insertion point is in
333 some white line after the end of the list, remove all unnecessary 332 some white line after the end of the list, remove all unnecessary
334 white lines there before proceeding. Also refactor a snippet of 333 white lines there before proceeding. Also refactor a snippet of
335 code. 334 code.
336 335
3372011-07-28 Bastien Guerry <bzg@gnu.org> 3362011-07-28 Bastien Guerry <bzg@gnu.org>
@@ -341,15 +340,15 @@
341 340
3422011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 3412011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
343 342
344 * org.el (org-fontify-meta-lines-and-blocks-1): blocks cannot be 343 * org.el (org-fontify-meta-lines-and-blocks-1): Blocks cannot be
345 correctly fontified when the buffer is missing a final newline. 344 correctly fontified when the buffer is missing a final newline.
346 345
3472011-07-28 Bastien Guerry <bzg@gnu.org> 3462011-07-28 Bastien Guerry <bzg@gnu.org>
348 347
349 * ob.el (org-babel-strip-protective-commas): Return `nil' instead 348 * ob.el (org-babel-strip-protective-commas): Return `nil' instead
350 of an error if no argument is given. 349 of an error if no argument is given.
351 (org-babel-parse-src-block-match): Make sure body is defined 350 (org-babel-parse-src-block-match): Make sure body is defined in
352 in the let construct. 351 the let construct.
353 352
3542011-07-28 Jon Anders Skorpen <jonas@ifi.uio.no> (tiny change) 3532011-07-28 Jon Anders Skorpen <jonas@ifi.uio.no> (tiny change)
355 354
@@ -358,13 +357,13 @@
358 357
3592011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 3582011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
360 359
361 * org-footnote.el (org-footnote-normalize): footnote section 360 * org-footnote.el (org-footnote-normalize): Footnote section
362 should be inserted only if there are footnotes to insert. 361 should be inserted only if there are footnotes to insert.
363 362
3642011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 3632011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
365 364
366 * org-footnote.el (org-footnote-at-definition-p) 365 * org-footnote.el (org-footnote-at-definition-p)
367 (org-footnote-normalize): do not grab signature in the definition 366 (org-footnote-normalize): Do not grab signature in the definition
368 of the last footnote. 367 of the last footnote.
369 368
3702011-07-28 Eric Schulte <schulte.eric@gmail.com> 3692011-07-28 Eric Schulte <schulte.eric@gmail.com>
@@ -376,55 +375,55 @@
376 375
3772011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 3762011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
378 377
379 * org-exp.el (org-export-preprocess-string): add the possibility 378 * org-exp.el (org-export-preprocess-string): Add the possibility
380 to call recursively the function. Also change order of some 379 to call recursively the function. Also change order of some
381 function calls. Comment export process for footnotes. 380 function calls. Comment export process for footnotes.
382 381
383 * org-footnote.el (org-footnote-normalize): change the export 382 * org-footnote.el (org-footnote-normalize): Change the export
384 specific parameter to hold properties of export. Thus, the 383 specific parameter to hold properties of export. Thus, the
385 function can send every footnote definition in the buffer through 384 function can send every footnote definition in the buffer through
386 `org-export-process-string'. 385 `org-export-process-string'.
387 386
3882011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 3872011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
389 388
390 * org-latex.el (org-export-latex-preprocess): first insert 389 * org-latex.el (org-export-latex-preprocess): First insert
391 footnotes in the temporary buffer so their contents can properly 390 footnotes in the temporary buffer so their contents can properly
392 be protected from further transformations if required. 391 be protected from further transformations if required.
393 392
3942011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 3932011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
395 394
396 * org-list.el (org-list-indent-offset): new variable. 395 * org-list.el (org-list-indent-offset): New variable.
397 (org-list-struct-fix-ind): make use of the new variable. 396 (org-list-struct-fix-ind): Make use of the new variable.
398 397
3992011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 3982011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
400 399
401 * org-latex.el (org-export-latex-list-parameters): complete 400 * org-latex.el (org-export-latex-list-parameters): Complete
402 default value with cbtrans option. 401 default value with cbtrans option.
403 402
404 * org-list.el (org-list-to-latex): set a more consistent default 403 * org-list.el (org-list-to-latex): Set a more consistent default
405 value. 404 value.
406 405
4072011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 4062011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
408 407
409 * org-list.el (org-list-swap-items): move it to a meaningful 408 * org-list.el (org-list-swap-items): Move it to a meaningful
410 position in source code (i.e. before any function using it), and 409 position in source code (i.e. before any function using it), and
411 rename it to an easier name. 410 rename it to an easier name.
412 411
4132011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 4122011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
414 413
415 * org-list.el (org-list-separating-blank-lines-number): if there 414 * org-list.el (org-list-separating-blank-lines-number): If there
416 are blank lines already in the whole list, add a blank line. 415 are blank lines already in the whole list, add a blank line.
417 416
4182011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 4172011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
419 418
420 * org-list.el (org-list-use-circular-move): new variable. 419 * org-list.el (org-list-use-circular-move): New variable.
421 (org-previous-item, org-next-item): make use of the new variable. 420 (org-previous-item, org-next-item): Make use of the new variable.
422 (org-move-item-down, org-move-item-up): make use of the new 421 (org-move-item-down, org-move-item-up): Make use of the new
423 variable. Simplify code. 422 variable. Simplify code.
424 423
4252011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 4242011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
426 425
427 * org-list.el (org-list-delete-item, org-list-send-item): new 426 * org-list.el (org-list-delete-item, org-list-send-item): New
428 functions. 427 functions.
429 428
4302011-07-28 Bastien Guerry <bzg@gnu.org> 4292011-07-28 Bastien Guerry <bzg@gnu.org>
@@ -440,7 +439,7 @@
440 439
4412011-07-28 Bastien Guerry <bzg@gnu.org> 4402011-07-28 Bastien Guerry <bzg@gnu.org>
442 441
443 * org-capture.el (org-capture-finalize): bugfix about inserted 442 * org-capture.el (org-capture-finalize): Bugfix about inserted
444 blank line when killing the capture buffer and 443 blank line when killing the capture buffer and
445 `org-blank-before-new-entry' tells to not insert anything before a 444 `org-blank-before-new-entry' tells to not insert anything before a
446 heading. 445 heading.
@@ -459,8 +458,8 @@
459 458
460 * org.el (org-last-set-property): New variable. 459 * org.el (org-last-set-property): New variable.
461 (org-read-property-name): Use the new variable: the prompt 460 (org-read-property-name): Use the new variable: the prompt
462 defaults to the last property set, unless there is a property 461 defaults to the last property set, unless there is a property in
463 in the line at point. 462 the line at point.
464 463
4652011-07-28 David Maus <dmaus@ictsoc.de> 4642011-07-28 David Maus <dmaus@ictsoc.de>
466 465
@@ -505,15 +504,15 @@
505 504
5062011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 5052011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
507 506
508 * org-list.el (org-plain-list-ordered-item-terminator): remove 507 * org-list.el (org-plain-list-ordered-item-terminator): Remove
509 incorrect assumption. 508 incorrect assumption.
510 509
5112011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 5102011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
512 511
513 * org-footnote.el (org-footnote-forbidden-blocks): add missing 512 * org-footnote.el (org-footnote-forbidden-blocks): Add missing
514 exporter specific blocks. 513 exporter specific blocks.
515 514
516 * org-list.el (org-list-forbidden-blocks): ditto. 515 * org-list.el (org-list-forbidden-blocks): Ditto.
517 516
5182011-07-28 Bastien Guerry <bzg@gnu.org> 5172011-07-28 Bastien Guerry <bzg@gnu.org>
519 518
@@ -527,7 +526,7 @@
527 526
5282011-07-28 Bastien Guerry <bzg@gnu.org> 5272011-07-28 Bastien Guerry <bzg@gnu.org>
529 528
530 * org.el (org-timestamp-up, org-timestamp-down): mention time 529 * org.el (org-timestamp-up, org-timestamp-down): Mention time
531 changes in the docstring. 530 changes in the docstring.
532 531
5332011-07-28 Bastien Guerry <bzg@gnu.org> 5322011-07-28 Bastien Guerry <bzg@gnu.org>
@@ -538,15 +537,15 @@
538 537
5392011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 5382011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
540 539
541 * org-list.el (org-list-in-valid-context-p): use `org-in-block-p'. 540 * org-list.el (org-list-in-valid-context-p): Use `org-in-block-p'.
542 541
5432011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 5422011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
544 543
545 * org.el (org-in-block-p): new function. 544 * org.el (org-in-block-p): new function.
546 545
547 * org-footnote.el (org-footnote-forbidden-blocks): new variable. 546 * org-footnote.el (org-footnote-forbidden-blocks): New variable.
548 (org-footnote-in-valid-context-p): new function. 547 (org-footnote-in-valid-context-p): New function.
549 (org-footnote-at-reference-p): use new function. Allow inline 548 (org-footnote-at-reference-p): Use new function. Allow inline
550 footnotes to start at bol. 549 footnotes to start at bol.
551 550
5522011-07-28 Bastien Guerry <bzg@gnu.org> 5512011-07-28 Bastien Guerry <bzg@gnu.org>
@@ -556,7 +555,7 @@
556 555
5572011-07-28 Bastien Guerry <bzg@gnu.org> 5562011-07-28 Bastien Guerry <bzg@gnu.org>
558 557
559 * org-ascii.el (org-export-as-utf8): fix call to 558 * org-ascii.el (org-export-as-utf8): Fix call to
560 `org-called-interactively-p': it requires an argument. Also fix 559 `org-called-interactively-p': it requires an argument. Also fix
561 the docstring. 560 the docstring.
562 561
@@ -575,13 +574,13 @@
5752011-07-28 Bastien Guerry <bzg@gnu.org> 5742011-07-28 Bastien Guerry <bzg@gnu.org>
576 575
577 * org-publish.el 576 * org-publish.el
578 (org-publish-cache-file-needs-publishing): only check against .org 577 (org-publish-cache-file-needs-publishing): Only check against .org
579 files. 578 files.
580 579
5812011-07-28 Bastien Guerry <bzg@gnu.org> 5802011-07-28 Bastien Guerry <bzg@gnu.org>
582 581
583 * org.el (org-mode): Use org-default as 582 * org.el (org-mode): Use `org-default' as the default face in
584 the default face in org-mode. 583 org-mode.
585 584
5862011-07-28 Bastien Guerry <bzg@gnu.org> 5852011-07-28 Bastien Guerry <bzg@gnu.org>
587 586
@@ -592,16 +591,16 @@
592 591
5932011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 5922011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
594 593
595 * org-exp.el (org-export-preprocess-string): if the last subtree 594 * org-exp.el (org-export-preprocess-string): If the last subtree
596 is a task, footnotes may be removed along with the subtree. This 595 is a task, footnotes may be removed along with the subtree. This
597 patch ensures footnotes are put at the end of the buffer after the 596 patch ensures footnotes are put at the end of the buffer after the
598 subtree has been removed. 597 subtree has been removed.
599 598
6002011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 5992011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
601 600
602 * org-footnote.el (org-footnote-at-reference-p): verify that what 601 * org-footnote.el (org-footnote-at-reference-p): Verify that what
603 looks like a footnote doesn't belong to a link. 602 looks like a footnote doesn't belong to a link.
604 (org-footnote-next-reference-or-definition): check more strictly 603 (org-footnote-next-reference-or-definition): Check more strictly
605 footnote definitions. 604 footnote definitions.
606 605
6072011-07-28 Deech <deech@deech-ThinkPad-X200.(none)> (tiny change) 6062011-07-28 Deech <deech@deech-ThinkPad-X200.(none)> (tiny change)
@@ -628,9 +627,8 @@
628 627
6292011-07-28 Bastien Guerry <bzg@gnu.org> 6282011-07-28 Bastien Guerry <bzg@gnu.org>
630 629
631 * org-table.el 630 * org-table.el (org-table-time-seconds-to-string): Use
632 (org-table-time-seconds-to-string): use `org-format-seconds' 631 `org-format-seconds' instead of `format-seconds'.
633 instead of `format-seconds'.
634 632
6352011-07-28 David Maus <dmaus@ictsoc.de> 6332011-07-28 David Maus <dmaus@ictsoc.de>
636 634
@@ -647,7 +645,7 @@
647 * org-freemind.el (org-freemind-convert-links-helper) 645 * org-freemind.el (org-freemind-convert-links-helper)
648 (org-freemind-convert-text-p, org-freemind-write-mm-buffer) 646 (org-freemind-convert-text-p, org-freemind-write-mm-buffer)
649 (org-freemind-get-node-style): Use org-string-match-p for backward 647 (org-freemind-get-node-style): Use org-string-match-p for backward
650 compatibility with Emacs22. 648 compatibility with Emacs 22.
651 649
6522011-07-28 David Maus <dmaus@ictsoc.de> 6502011-07-28 David Maus <dmaus@ictsoc.de>
653 651
@@ -657,7 +655,7 @@
6572011-07-28 David Maus <dmaus@ictsoc.de> 6552011-07-28 David Maus <dmaus@ictsoc.de>
658 656
659 * ob-haskell.el (org-babel-haskell-export-to-lhs): Call 657 * ob-haskell.el (org-babel-haskell-export-to-lhs): Call
660 kill-buffer with argument indiciating to kill current 658 `kill-buffer' with argument indiciating to kill current
661 buffer. Emacs 22 compatibility. 659 buffer. Emacs 22 compatibility.
662 660
6632011-07-28 David Maus <dmaus@ictsoc.de> 6612011-07-28 David Maus <dmaus@ictsoc.de>
@@ -667,13 +665,12 @@
667 665
6682011-07-28 Bastien Guerry <bzg@gnu.org> 6662011-07-28 Bastien Guerry <bzg@gnu.org>
669 667
670 * org.el (org-add-planning-info): fix 668 * org.el (org-add-planning-info): Fix issues with timestamps not
671 issues with timestamps not being inserted at the same position. 669 being inserted at the same position.
672 670
6732011-07-28 Bastien Guerry <bzg@gnu.org> 6712011-07-28 Bastien Guerry <bzg@gnu.org>
674 672
675 * org-table.el 673 * org-table.el (org-table-time-string-to-seconds)
676 (org-table-time-string-to-seconds)
677 (org-table-time-seconds-to-string): New functions. 674 (org-table-time-seconds-to-string): New functions.
678 (org-table-eval-formula): Implement the "T" (time) flag for 675 (org-table-eval-formula): Implement the "T" (time) flag for
679 computing durations. 676 computing durations.
@@ -687,8 +684,8 @@
687 684
688 * org.el (org-fontify-meta-lines-and-blocks-1): Include header 685 * org.el (org-fontify-meta-lines-and-blocks-1): Include header
689 lines. 686 lines.
690 (org-additional-option-like-keywords): Include data as a synonym for 687 (org-additional-option-like-keywords): Include data as a synonym
691 results. 688 for results.
692 689
6932011-07-28 Eric Schulte <schulte.eric@gmail.com> 6902011-07-28 Eric Schulte <schulte.eric@gmail.com>
694 691
@@ -697,18 +694,18 @@
697 694
6982011-07-28 Eric Schulte <schulte.eric@gmail.com> 6952011-07-28 Eric Schulte <schulte.eric@gmail.com>
699 696
700 * ob-ref.el (org-babel-ref-goto-headline-id): Don't let org-id 697 * ob-ref.el (org-babel-ref-goto-headline-id): Don't let `org-id'
701 rescan all IDs when trying to resolve a reference. 698 rescan all IDs when trying to resolve a reference.
702 699
7032011-07-28 Julien Barnier <julien@nozav.org> 7002011-07-28 Julien Barnier <julien@nozav.org>
704 701
705 * org.el (org-fontify-meta-lines-and-blocks-1): Fix test for src 702 * org.el (org-fontify-meta-lines-and-blocks-1): Fix test for src
706 blocks lang attribute 703 blocks lang attribute.
707 704
7082011-07-28 Eric S Fraga <e.fraga@ucl.ac.uk> 7052011-07-28 Eric S Fraga <e.fraga@ucl.ac.uk>
709 706
710 * org-latex.el (org-export-latex-timestamp-inactive-markup): 707 * org-latex.el (org-export-latex-timestamp-inactive-markup): New
711 New option to allow different markup for inactive timestamps. 708 option to allow different markup for inactive timestamps.
712 709
7132011-07-28 Eric Schulte <schulte.eric@gmail.com> 7102011-07-28 Eric Schulte <schulte.eric@gmail.com>
714 711
@@ -718,31 +715,31 @@
718 715
7192011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 7162011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
720 717
721 * org-list.el (org-list-full-item-re): allow counter and check-box 718 * org-list.el (org-list-full-item-re): Allow counter and check-box
722 to be separated by white spaces. 719 to be separated by white spaces.
723 (org-list-struct-apply-struct): reflect changes made to 720 (org-list-struct-apply-struct): Reflect changes made to
724 `org-list-full-item-re'. 721 `org-list-full-item-re'.
725 722
726 * org-html.el (org-html-export-list-line): recognize spaces 723 * org-html.el (org-html-export-list-line): Recognize spaces
727 between counter and check-boxes as valid. 724 between counter and check-boxes as valid.
728 725
729 * org-docbook.el (org-export-docbook-list-line): ditto. 726 * org-docbook.el (org-export-docbook-list-line): Ditto.
730 727
7312011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 7282011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
732 729
733 * org-list.el (org-list-insert-item): make sure point is moved to 730 * org-list.el (org-list-insert-item): Make sure point is moved to
734 the specified POS before starting the function. 731 the specified POS before starting the function.
735 732
7362011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 7332011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
737 734
738 * org.el (org-activate-footnote-links): properly fontify inline 735 * org.el (org-activate-footnote-links): Properly fontify inline
739 footnotes. 736 footnotes.
740 (org-set-font-lock-defaults): apply changes to previous function. 737 (org-set-font-lock-defaults): Apply changes to previous function.
741 738
7422011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 7392011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
743 740
744 * org-footnote.el (org-footnote-at-reference-p): first check if 741 * org-footnote.el (org-footnote-at-reference-p): First check if
745 point is at the beginning of a footnote. Indeed `org-in-regexp' 742 point is at the beginning of a footnote. Indeed `org-in-regexp'
746 first checks backwards and might find an incorrect footnote if 743 first checks backwards and might find an incorrect footnote if
747 they are side-by-side. 744 they are side-by-side.
748 745
@@ -751,7 +748,7 @@
751 * org-agenda.el (org-agenda-compact-blocks): Improve docstring. 748 * org-agenda.el (org-agenda-compact-blocks): Improve docstring.
752 (org-agenda-block-separator): Add nil to docstring and customization. 749 (org-agenda-block-separator): Add nil to docstring and customization.
753 (org-prepare-agenda): Skip agenda block separator additionally if 750 (org-prepare-agenda): Skip agenda block separator additionally if
754 org-agenda-block-separator is nil. 751 `org-agenda-block-separator' is nil.
755 (org-agenda-overriding-header): Improve docstring. 752 (org-agenda-overriding-header): Improve docstring.
756 753
7572011-07-28 Bastien Guerry <bzg@gnu.org> 7542011-07-28 Bastien Guerry <bzg@gnu.org>
@@ -776,65 +773,65 @@
7762011-07-28 Michael Markert <markert.michael@googlemail.com> 7732011-07-28 Michael Markert <markert.michael@googlemail.com>
777 774
778 * ob.el (org-babel-sha1-hash): Adding optional argument KIND to 775 * ob.el (org-babel-sha1-hash): Adding optional argument KIND to
779 all org-called-interactively-p function invocations. 776 all `org-called-interactively-p' function invocations.
780 777
781 * org-agenda.el (org-agenda-redo): Adding optional argument KIND 778 * org-agenda.el (org-agenda-redo): Adding optional argument KIND
782 to all org-called-interactively-p function invocations. 779 to all `org-called-interactively-p' function invocations.
783 (org-agenda-show-1): Adding optional argument KIND to all 780 (org-agenda-show-1): Adding optional argument KIND to all
784 org-called-interactively-p function invocations. 781 `org-called-interactively-p' function invocations.
785 (org-agenda-set-tags): Adding optional argument KIND to all 782 (org-agenda-set-tags): Adding optional argument KIND to all
786 org-called-interactively-p function invocations. 783 `org-called-interactively-p' function invocations.
787 784
788 * org-ascii.el (org-export-as-latin1): Adding optional argument 785 * org-ascii.el (org-export-as-latin1): Adding optional argument
789 KIND to all org-called-interactively-p function invocations. 786 KIND to all `org-called-interactively-p' function invocations.
790 (org-export-as-latin1-to-buffer): Adding optional argument KIND to 787 (org-export-as-latin1-to-buffer): Adding optional argument KIND to
791 all org-called-interactively-p function invocations. 788 all `org-called-interactively-p' function invocations.
792 (org-export-as-utf8-to-buffer): Adding optional argument KIND to all 789 (org-export-as-utf8-to-buffer): Adding optional argument KIND to all
793 org-called-interactively-p function invocations. 790 `org-called-interactively-p' function invocations.
794 (org-export-region-as-ascii): Adding optional argument KIND to all 791 (org-export-region-as-ascii): Adding optional argument KIND to all
795 org-called-interactively-p function invocations. 792 `org-called-interactively-p' function invocations.
796 793
797 * org-docbook.el (org-export-region-as-docbook): Adding optional 794 * org-docbook.el (org-export-region-as-docbook): Adding optional
798 argument KIND to all org-called-interactively-p function 795 argument KIND to all `org-called-interactively-p' function
799 invocations. 796 invocations.
800 797
801 * org-html.el (org-export-region-as-html): Adding optional 798 * org-html.el (org-export-region-as-html): Adding optional
802 argument KIND to all org-called-interactively-p function 799 argument KIND to all `org-called-interactively-p' function
803 invocations. 800 invocations.
804 801
805 * org-latex.el (org-export-region-as-latex): Adding optional 802 * org-latex.el (org-export-region-as-latex): Adding optional
806 argument KIND to all org-called-interactively-p function 803 argument KIND to all `org-called-interactively-p' function
807 invocations. 804 invocations.
808 805
809 * org-table.el (org-table-blank-field): Adding optional argument 806 * org-table.el (org-table-blank-field): Adding optional argument
810 KIND to all org-called-interactively-p function invocations. 807 KIND to all `org-called-interactively-p' function invocations.
811 (org-table-current-column): Adding optional argument KIND to all 808 (org-table-current-column): Adding optional argument KIND to all
812 org-called-interactively-p function invocations. 809 `org-called-interactively-p' function invocations.
813 (org-table-current-dline): Adding optional argument KIND to all 810 (org-table-current-dline): Adding optional argument KIND to all
814 org-called-interactively-p function invocations. 811 `org-called-interactively-p' function invocations.
815 (org-table-sort-lines): Adding optional argument KIND to all 812 (org-table-sort-lines): Adding optional argument KIND to all
816 org-called-interactively-p function invocations. 813 `org-called-interactively-p' function invocations.
817 (org-table-sum): Adding optional argument KIND to all 814 (org-table-sum): Adding optional argument KIND to all
818 org-called-interactively-p function invocations. 815 `org-called-interactively-p' function invocations.
819 (org-table-rotate-recalc-marks): Adding optional argument KIND to 816 (org-table-rotate-recalc-marks): Adding optional argument KIND to
820 all org-called-interactively-p function invocations. 817 all `org-called-interactively-p' function invocations.
821 (org-table-eval-formula): Adding optional argument KIND to all 818 (org-table-eval-formula): Adding optional argument KIND to all
822 org-called-interactively-p function invocations. 819 `org-called-interactively-p' function invocations.
823 (orgtbl-send-table): Adding optional argument KIND to all 820 (orgtbl-send-table): Adding optional argument KIND to all
824 org-called-interactively-p function invocations. 821 `org-called-interactively-p' function invocations.
825 822
826 * org.el (org-mode): Adding optional argument KIND to all 823 * org.el (org-mode): Adding optional argument KIND to all
827 org-called-interactively-p function invocations. 824 `org-called-interactively-p' function invocations.
828 (org-copy-subtree): Adding optional argument KIND to all 825 (org-copy-subtree): Adding optional argument KIND to all
829 org-called-interactively-p function invocations. 826 `org-called-interactively-p' function invocations.
830 (org-paste-subtree): Adding optional argument KIND to all 827 (org-paste-subtree): Adding optional argument KIND to all
831 org-called-interactively-p function invocations. 828 `org-called-interactively-p' function invocations.
832 (org-store-link): Adding optional argument KIND to all 829 (org-store-link): Adding optional argument KIND to all
833 org-called-interactively-p function invocations. 830 `org-called-interactively-p' function invocations.
834 (org-todo): Adding optional argument KIND to all 831 (org-todo): Adding optional argument KIND to all
835 org-called-interactively-p function invocations. 832 `org-called-interactively-p' function invocations.
836 (org-occur): Adding optional argument KIND to all 833 (org-occur): Adding optional argument KIND to all
837 org-called-interactively-p function invocations. 834 `org-called-interactively-p' function invocations.
838 835
8392011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 8362011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
840 837
@@ -1171,7 +1168,7 @@
11712011-07-28 Jambunathan K <kjambunathan@gmail.com> 11682011-07-28 Jambunathan K <kjambunathan@gmail.com>
1172 1169
1173 * org-exp.el (org-export-format-source-code-or-example): 1170 * org-exp.el (org-export-format-source-code-or-example):
1174 Simplify. Also add `org-native-text' as a text property to the 1171 Simplify. Also add `org-native-text' as a text property to the
1175 formatted text and throw error for unknown backends. 1172 formatted text and throw error for unknown backends.
1176 1173
11772011-07-28 Jambunathan K <kjambunathan@gmail.com> 11742011-07-28 Jambunathan K <kjambunathan@gmail.com>
@@ -1185,16 +1182,15 @@
1185 * org-exp.el (org-export-backends): New variable. 1182 * org-exp.el (org-export-backends): New variable.
1186 (org-export-select-backend-specific-text): Use above 1183 (org-export-select-backend-specific-text): Use above
1187 variable. Also mark text between #+BACKEND and 1184 variable. Also mark text between #+BACKEND and
1188 #+BEGIN_BACKEND...#+END_BACKEND with org-native-text 1185 #+BEGIN_BACKEND...#+END_BACKEND with org-native-text property.
1189 property. This text property is currently used only by the new 1186 This text property is currently used only by the new line-oriented
1190 line-oriented generic exporter (which is not yet part of the 1187 generic exporter (which is not yet part of the repo).
1191 repo).
1192 1188
11932011-07-28 Jambunathan K <kjambunathan@gmail.com> 11892011-07-28 Jambunathan K <kjambunathan@gmail.com>
1194 1190
1195 * org-exp.el (org-export): Reserve keys 'o' and 'O' for 1191 * org-exp.el (org-export): Reserve keys 'o' and 'O' for
1196 OpenDocumentText export and bind them to org-export-as-odt and 1192 OpenDocumentText export and bind them to `org-export-as-odt' and
1197 org-export-as-odt-and-open. 1193 `org-export-as-odt-and-open'.
1198 1194
11992011-07-28 Eric Schulte <schulte.eric@gmail.com> 11952011-07-28 Eric Schulte <schulte.eric@gmail.com>
1200 1196
@@ -1208,29 +1204,29 @@
1208 1204
12092011-07-28 Eric Schulte <schulte.eric@gmail.com> 12052011-07-28 Eric Schulte <schulte.eric@gmail.com>
1210 1206
1211 * ob-C.el (ob-tangle): initialize variable from ob-tangle. 1207 * ob-C.el (ob-tangle): initialize variable from `ob-tangle'.
1212 1208
1213 * ob-asymptote.el (ob-tangle): initialize variable from ob-tangle. 1209 * ob-asymptote.el (ob-tangle): initialize variable from `ob-tangle'.
1214 1210
1215 * ob-awk.el (ob-tangle): initialize variable from ob-tangle. 1211 * ob-awk.el (ob-tangle): initialize variable from `ob-tangle'.
1216 1212
1217 * ob-clojure.el (ob-tangle): initialize variable from ob-tangle. 1213 * ob-clojure.el (ob-tangle): initialize variable from `ob-tangle'.
1218 1214
1219 * ob-haskell.el (ob-tangle): initialize variable from ob-tangle. 1215 * ob-haskell.el (ob-tangle): initialize variable from `ob-tangle'.
1220 1216
1221 * ob-latex.el (ob-tangle): initialize variable from ob-tangle. 1217 * ob-latex.el (ob-tangle): initialize variable from `ob-tangle'.
1222 1218
1223 * ob-lisp.el (ob-tangle): initialize variable from ob-tangle. 1219 * ob-lisp.el (ob-tangle): initialize variable from `ob-tangle'.
1224 1220
1225 * ob-ocaml.el (ob-tangle): initialize variable from ob-tangle. 1221 * ob-ocaml.el (ob-tangle): initialize variable from `ob-tangle'.
1226 1222
1227 * ob-perl.el (ob-tangle): initialize variable from ob-tangle. 1223 * ob-perl.el (ob-tangle): initialize variable from `ob-tangle'.
1228 1224
1229 * ob-python.el (ob-tangle): initialize variable from ob-tangle. 1225 * ob-python.el (ob-tangle): initialize variable from `ob-tangle'.
1230 1226
1231 * ob-ruby.el (ob-tangle): initialize variable from ob-tangle. 1227 * ob-ruby.el (ob-tangle): initialize variable from `ob-tangle'.
1232 1228
1233 * ob-tangle.el (ob-tangle): initialize variable from ob-tangle. 1229 * ob-tangle.el (ob-tangle): initialize variable from `ob-tangle'.
1234 1230
12352011-07-28 Eric Schulte <schulte.eric@gmail.com> 12312011-07-28 Eric Schulte <schulte.eric@gmail.com>
1236 1232
@@ -1310,9 +1306,8 @@
1310 1306
13112011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change) 13072011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
1312 1308
1313 * org.el (org-find-dblock): 1309 * org.el (org-find-dblock, org-clocktable-try-shift): Make regexp
1314 (org-clocktable-try-shift): Make regexp work also when #+begin 1310 work also when #+begin line is indentex.
1315 line is indentex.
1316 1311
13172011-07-28 Eric Schulte <schulte.eric@gmail.com> 13122011-07-28 Eric Schulte <schulte.eric@gmail.com>
1318 1313
@@ -1398,28 +1393,33 @@
1398 `interactive-p'. 1393 `interactive-p'.
1399 (org-export-as-utf8-to-buffer): Replacing call to now-defunct function 1394 (org-export-as-utf8-to-buffer): Replacing call to now-defunct function
1400 `interactive-p'. 1395 `interactive-p'.
1401 (org-export-region-as-ascii): Replacing call to now-defunct function 1396 (org-export-region-as-ascii): Replacing call to now-defunct
1402 `interactive-p'.Replacing call to now-defunct function `interactive-p'. 1397 function `interactive-p'.Replacing call to now-defunct function
1398 `interactive-p'.
1403 1399
1404 * org-docbook.el: Replacing call to now-defunct function 1400 * org-docbook.el: Replacing call to now-defunct function
1405 `interactive-p'. 1401 `interactive-p'.
1406 (org-export-region-as-docbook): Replacing call to now-defunct function 1402 (org-export-region-as-docbook): Replacing call to now-defunct
1407 `interactive-p'.Replacing call to now-defunct function `interactive-p'. 1403 function `interactive-p'.Replacing call to now-defunct function
1404 `interactive-p'.
1408 1405
1409 * org-html.el: Replacing call to now-defunct function 1406 * org-html.el: Replacing call to now-defunct function
1410 `interactive-p'. 1407 `interactive-p'.
1411 (org-export-region-as-html): Replacing call to now-defunct function 1408 (org-export-region-as-html): Replacing call to now-defunct
1412 `interactive-p'.Replacing call to now-defunct function `interactive-p'. 1409 function `interactive-p'.Replacing call to now-defunct function
1410 `interactive-p'.
1413 1411
1414 * org-latex.el: Replacing call to now-defunct function 1412 * org-latex.el: Replacing call to now-defunct function
1415 `interactive-p'. 1413 `interactive-p'.
1416 (org-export-region-as-latex): Replacing call to now-defunct function 1414 (org-export-region-as-latex): Replacing call to now-defunct
1417 `interactive-p'.Replacing call to now-defunct function `interactive-p'. 1415 function `interactive-p'.Replacing call to now-defunct function
1416 `interactive-p'.
1418 1417
1419 * org-macs.el: Replacing call to now-defunct function 1418 * org-macs.el: Replacing call to now-defunct function
1420 `interactive-p'. 1419 `interactive-p'.
1421 (org-called-interactively-p): Replacing call to now-defunct function 1420 (org-called-interactively-p): Replacing call to now-defunct
1422 `interactive-p'.Replacing call to now-defunct function `interactive-p'. 1421 function `interactive-p'.Replacing call to now-defunct function
1422 `interactive-p'.
1423 1423
1424 * org-table.el: Replacing call to now-defunct function 1424 * org-table.el: Replacing call to now-defunct function
1425 `interactive-p'. 1425 `interactive-p'.
@@ -1442,7 +1442,8 @@
1442 (orgtbl-send-table): Replacing call to now-defunct function `interactive-p'. 1442 (orgtbl-send-table): Replacing call to now-defunct function `interactive-p'.
1443 1443
1444 * org.el: Replacing call to now-defunct function `interactive-p'. 1444 * org.el: Replacing call to now-defunct function `interactive-p'.
1445 (org-mode): Replacing call to now-defunct function `interactive-p'. 1445 (org-mode): Replacing call to now-defunct function
1446 `interactive-p'.
1446 (org-copy-subtree): Replacing call to now-defunct function 1447 (org-copy-subtree): Replacing call to now-defunct function
1447 `interactive-p'. 1448 `interactive-p'.
1448 (org-paste-subtree): Replacing call to now-defunct function 1449 (org-paste-subtree): Replacing call to now-defunct function
@@ -1476,8 +1477,8 @@
1476 1477
14772011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 14782011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
1478 1479
1479 * org-html.el (org-export-as-html): 1480 * org-html.el (org-export-as-html, org-html-level-start): Only
1480 (org-html-level-start): Only convert section number underscores to dashes. 1481 convert section number underscores to dashes.
1481 1482
14822011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 14832011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
1483 1484
@@ -1527,8 +1528,8 @@
1527 1528
15282011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> (tiny change) 15292011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> (tiny change)
1529 1530
1530 * org-list.el (org-list-to-latex): the enumerate environment in 1531 * org-list.el (org-list-to-latex): The enumerate environment in
1531 latex increments the counter before using it. Therefore, org-mode 1532 latex increments the counter before using it. Therefore, org-mode
1532 should set the enumeration counter to the desired value minus one. 1533 should set the enumeration counter to the desired value minus one.
1533 1534
15342011-07-28 Michael Brand <michael.ch.brand@gmail.com> (tiny change) 15352011-07-28 Michael Brand <michael.ch.brand@gmail.com> (tiny change)
@@ -1538,17 +1539,17 @@
1538 1539
15392011-07-28 Christian Egli <christian.egli@sbszh.ch> 15402011-07-28 Christian Egli <christian.egli@sbszh.ch>
1540 1541
1541 * org-taskjuggler.el (org-taskjuggler-clean-effort): handle any 1542 * org-taskjuggler.el (org-taskjuggler-clean-effort): Handle any
1542 effort that is accepted by `org-duration-string-to-minutes´. 1543 effort that is accepted by `org-duration-string-to-minutes´.
1543 1544
15442011-07-28 Julien Barnier <julien@nozav.org> 15452011-07-28 Julien Barnier <julien@nozav.org>
1545 1546
1546 * ob-sh.el (org-babel-sh-evaluate) : when sending input to comint, 1547 * ob-sh.el (org-babel-sh-evaluate): When sending input to comint,
1547 wait until previous line execution is finished 1548 wait until previous line execution is finished.
1548 1549
1549 * ob-comint.el (org-babel-comint-with-output) : when looking for 1550 * ob-comint.el (org-babel-comint-with-output): When looking for
1550 end-of-evaluation indicator, search forward for the indicator 1551 end-of-evaluation indicator, search forward for the indicator
1551 before searching forward for the prompt 1552 before searching forward for the prompt.
1552 1553
15532011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 15542011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
1554 1555
@@ -1556,11 +1557,11 @@
1556 1557
15572011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 15582011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
1558 1559
1559 * org.el (org-auto-align-tags): change docstring. 1560 * org.el (org-auto-align-tags): Change docstring.
1560 (org-update-parent-todo-statistics): keep tags aligned even when 1561 (org-update-parent-todo-statistics): Keep tags aligned even when
1561 statistics cookies are shifting them. 1562 statistics cookies are shifting them.
1562 1563
1563 * org-list.el (org-update-checkbox-count): keep tags aligned even 1564 * org-list.el (org-update-checkbox-count): Keep tags aligned even
1564 when statistics cookies are shifting them. 1565 when statistics cookies are shifting them.
1565 1566
15662011-07-28 Lawrence Mitchell <wence@gmx.li> 15672011-07-28 Lawrence Mitchell <wence@gmx.li>
@@ -1571,7 +1572,7 @@
15712011-07-28 Lawrence Mitchell <wence@gmx.li> 15722011-07-28 Lawrence Mitchell <wence@gmx.li>
1572 1573
1573 * ob.el (org-babel-result-regexp): Use non-shy group around 1574 * ob.el (org-babel-result-regexp): Use non-shy group around
1574 org-babel-data-names. 1575 `org-babel-data-names'.
1575 1576
15762011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 15772011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
1577 1578
@@ -1608,7 +1609,7 @@
1608 `org-activate-mark'. 1609 `org-activate-mark'.
1609 1610
1610 * org-compat.el (org-activate-mark): New function. Provide 1611 * org-compat.el (org-activate-mark): New function. Provide
1611 `activate-mark' if not present (e.g. Emacs22). 1612 `activate-mark' if not present (e.g. Emacs 22).
1612 1613
16132011-07-28 David Maus <dmaus@ictsoc.de> 16142011-07-28 David Maus <dmaus@ictsoc.de>
1614 1615
@@ -1640,7 +1641,7 @@
1640 * org.el (org-self-insert-command): Use `delete-char' instead of 1641 * org.el (org-self-insert-command): Use `delete-char' instead of
1641 `delete-backward-char'. 1642 `delete-backward-char'.
1642 1643
1643 * org-table.el (orgtbl-self-insert-command): Dto. 1644 * org-table.el (orgtbl-self-insert-command): Ditto.
1644 1645
16452011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 16462011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
1646 1647
@@ -1653,7 +1654,7 @@
1653 1654
16542011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 16552011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
1655 1656
1656 * org-latex.el (org-export-latex-preprocess): add 1657 * org-latex.el (org-export-latex-preprocess): Add
1657 `original-indentation' property to footnotes so they cannot 1658 `original-indentation' property to footnotes so they cannot
1658 possibly end a list by being less indented than the item they 1659 possibly end a list by being less indented than the item they
1659 belong to. 1660 belong to.
@@ -1683,33 +1684,33 @@
16832011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 16842011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
1684 1685
1685 * org.el (org-self-insert-command): Catch the case of 1686 * org.el (org-self-insert-command): Catch the case of
1686 buffer-undo-list eq t. 1687 `buffer-undo-list' eq t.
1687 1688
16882011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 16892011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
1689 1690
1690 * org.el (org-toggle-heading): region should be considered as made 1691 * org.el (org-toggle-heading): Region should be considered as made
1691 of full lines, without the last one if region-end is at bol. 1692 of full lines, without the last one if region-end is at bol.
1692 Removed unused variables. Refactored and commented code. 1693 Removed unused variables. Refactored and commented code.
1693 1694
16942011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 16952011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
1695 1696
1696 * org.el (org-toggle-item): when region includes an headline less 1697 * org.el (org-toggle-item): When region includes an headline less
1697 indented than first one, set it as the new reference. 1698 indented than first one, set it as the new reference.
1698 1699
16992011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 17002011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
1700 1701
1701 * org-list.el (org-list-to-subtree): if the list is before first 1702 * org-list.el (org-list-to-subtree): If the list is before first
1702 heading and `org-odd-levels-only' is non-nil, the first item gets 1703 heading and `org-odd-levels-only' is non-nil, the first item gets
1703 two stars instead of one. 1704 two stars instead of one.
1704 1705
1705 * org.el (org-reduced-level): a level of 0 was reduced to 1 with 1706 * org.el (org-reduced-level): A level of 0 was reduced to 1 with
1706 `org-odd-levels-only' non-nil. 1707 `org-odd-levels-only' non-nil.
1707 1708
17082011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 17092011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
1709 1710
1710 * org.el (org-toggle-item): converting an heading to an item would 1711 * org.el (org-toggle-item): Converting an heading to an item would
1711 sometimes insert unnecessary spaces before it, and unwanted space 1712 sometimes insert unnecessary spaces before it, and unwanted space
1712 with `org-indent-mode' on. Changing some text into an item 1713 with `org-indent-mode' on. Changing some text into an item
1713 wouldn't always preserve indentation. 1714 wouldn't always preserve indentation.
1714 1715
17152011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 17162011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
@@ -1717,21 +1718,21 @@
1717 * org-capture.el (org-capture-current-plist): Improve docstring. 1718 * org-capture.el (org-capture-current-plist): Improve docstring.
1718 (org-capture-put): Add docstring. 1719 (org-capture-put): Add docstring.
1719 (org-capture-get): Add docstring. 1720 (org-capture-get): Add docstring.
1720 (org-capture-member): Add LOCAL argument. Add docstring. 1721 (org-capture-member): Add LOCAL argument. Add docstring.
1721 (org-capture-set-target-location): Store the time received from a date 1722 (org-capture-set-target-location): Store the time received from a
1722 prompt into the :prompt-time property. 1723 date prompt into the :prompt-time property.
1723 1724
17242011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 17252011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
1725 1726
1726 * org-exp.el (org-export-mark-list-properties): even if context is 1727 * org-exp.el (org-export-mark-list-properties): Even if context is
1727 invalid, mark list item with `list-context' property. 1728 invalid, mark list item with `list-context' property.
1728 1729
1729 * org-list.el (org-list-forbidden-blocks): add exporters specific 1730 * org-list.el (org-list-forbidden-blocks): Add exporters specific
1730 blocks to the list of forbidden blocks. 1731 blocks to the list of forbidden blocks.
1731 1732
17322011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 17332011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
1733 1734
1734 * org-list.el (org-sort-list): function tries to intern 1735 * org-list.el (org-sort-list): Function tries to intern
1735 getkey-func before it is defined, so it's always nil. 1736 getkey-func before it is defined, so it's always nil.
1736 1737
17372011-07-28 Eric Schulte <schulte.eric@gmail.com> 17382011-07-28 Eric Schulte <schulte.eric@gmail.com>
@@ -1750,7 +1751,7 @@
1750 1751
17512011-07-28 Eric Schulte <schulte.eric@gmail.com> 17522011-07-28 Eric Schulte <schulte.eric@gmail.com>
1752 1753
1753 * ob-sh.el (ob-ref): Uses ob-ref to resolve the value of the 1754 * ob-sh.el (ob-ref): Uses `ob-ref' to resolve the value of the
1754 :stdin header argument. 1755 :stdin header argument.
1755 (org-babel-execute:sh): Use the :stdin header argument. 1756 (org-babel-execute:sh): Use the :stdin header argument.
1756 (org-babel-sh-var-to-sh): Split the bulk of this function off into a 1757 (org-babel-sh-var-to-sh): Split the bulk of this function off into a
@@ -1827,11 +1828,11 @@
1827 1828
18282011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 18292011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
1829 1830
1830 * org-list.el (org-list-separating-blank-lines-number): fix 1831 * org-list.el (org-list-separating-blank-lines-number): Fix
1831 confusion between point and item beginning. Now, if no information 1832 confusion between point and item beginning. Now, if no
1832 is avalaible, truly follow user preference when it inserts blank 1833 information is avalaible, truly follow user preference when it
1833 lines manually. 1834 inserts blank lines manually.
1834 (org-list-insert-item): send correct argument to the preceding 1835 (org-list-insert-item): Send correct argument to the preceding
1835 function. 1836 function.
1836 1837
18372011-07-28 Eric Schulte <schulte.eric@gmail.com> 18382011-07-28 Eric Schulte <schulte.eric@gmail.com>
@@ -1845,7 +1846,7 @@
1845 1846
18462011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 18472011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
1847 1848
1848 * org.el (org-indent-line-function): don't include #+include 1849 * org.el (org-indent-line-function): Don't include #+include
1849 lines. 1850 lines.
1850 1851
18512011-07-28 Eric Schulte <schulte.eric@gmail.com> 18522011-07-28 Eric Schulte <schulte.eric@gmail.com>
@@ -1854,7 +1855,8 @@
1854 org-babel-check-src-block. 1855 org-babel-check-src-block.
1855 1856
1856 * ob.el (org-babel-expand-src-block): Fit within 80 cols. 1857 * ob.el (org-babel-expand-src-block): Fit within 80 cols.
1857 (org-babel-edit-distance): Returns the edit distance of two strings. 1858 (org-babel-edit-distance): Returns the edit distance of two
1859 strings.
1858 (org-babel-check-src-block): Check a code block for errors. 1860 (org-babel-check-src-block): Check a code block for errors.
1859 1861
18602011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change) 18622011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
@@ -1866,9 +1868,9 @@
1866 1868
1867 * org-table.el 1869 * org-table.el
1868 (org-table-exit-follow-field-mode-when-leaving-table): New option. 1870 (org-table-exit-follow-field-mode-when-leaving-table): New option.
1869 (org-table-check-inside-data-field): New optional argument `noerror'. 1871 (org-table-check-inside-data-field): New optional argument
1870 When set, the function will only return nil instead of throwing an 1872 `noerror'. When set, the function will only return nil instead of
1871 error. 1873 throwing an error.
1872 (org-table-edit-field): Interpret double prefix argument, and improve 1874 (org-table-edit-field): Interpret double prefix argument, and improve
1873 the properties of the editing window. 1875 the properties of the editing window.
1874 (org-table-follow-field-mode): New minor mode. 1876 (org-table-follow-field-mode): New minor mode.
@@ -1884,12 +1886,12 @@
1884 1886
18852011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 18872011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
1886 1888
1887 * org-list.el (org-list-full-item-re): allow description term to 1889 * org-list.el (org-list-full-item-re): Allow description term to
1888 have a newline character after the colons. 1890 have a newline character after the colons.
1889 1891
18902011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 18922011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
1891 1893
1892 * org-list.el (org-sort-list): no longer ignore with-case 1894 * org-list.el (org-sort-list): No longer ignore with-case
1893 argument: the function sorted case-sensitively, regardless of 1895 argument: the function sorted case-sensitively, regardless of
1894 argument. 1896 argument.
1895 1897
@@ -1927,12 +1929,12 @@
19272011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 19292011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
1928 1930
1929 * org-latex.el (org-export-latex-preprocess): Pipe index entries 1931 * org-latex.el (org-export-latex-preprocess): Pipe index entries
1930 through org-export-latex-fontify-headline. 1932 through `org-export-latex-fontify-headline'.
1931 1933
19322011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 19342011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
1933 1935
1934 * org-exp.el (org-export-add-options-to-plist): Fix the option 1936 * org-exp.el (org-export-add-options-to-plist): Fix the option
1935 parser 1937 parser.
1936 1938
19372011-07-28 Robert P. Goldman <rpgoldman@real-time.com> (tiny change) 19392011-07-28 Robert P. Goldman <rpgoldman@real-time.com> (tiny change)
1938 1940
@@ -1947,7 +1949,7 @@
19472011-07-28 Matt Lundin <mdl@imapmail.org> 19492011-07-28 Matt Lundin <mdl@imapmail.org>
1948 1950
1949 * org-agenda.el (org-agenda-open-link): Pass entire text of agenda 1951 * org-agenda.el (org-agenda-open-link): Pass entire text of agenda
1950 line to org-offer-links-in-entry. 1952 line to `org-offer-links-in-entry'.
1951 1953
19522011-07-28 Michael Markert <markert.michael@googlemail.com> 19542011-07-28 Michael Markert <markert.michael@googlemail.com>
1953 1955
@@ -1963,8 +1965,8 @@
1963 existing headline. 1965 existing headline.
1964 (org-bibtex-export-arbitrary-fields) 1966 (org-bibtex-export-arbitrary-fields)
1965 (org-bibtex-treat-headline-as-title): Fix typos 1967 (org-bibtex-treat-headline-as-title): Fix typos
1966 (org-bibtex-fleshout): Don't upcase optional field; remove ":" from 1968 (org-bibtex-fleshout): Don't upcase optional field; remove ":"
1967 type completion. 1969 from type completion.
1968 1970
19692011-07-28 Matt Lundin <mdl@imapmail.org> 19712011-07-28 Matt Lundin <mdl@imapmail.org>
1970 1972
@@ -1977,11 +1979,11 @@
1977 1979
19782011-07-28 Tom Dye <tsd@tsdye.com> 19802011-07-28 Tom Dye <tsd@tsdye.com>
1979 1981
1980 * org-bibtex.el: Added crossref field to other fields 1982 * org-bibtex.el: Added crossref field to other fields.
1981 1983
19822011-07-28 Tom Dye <tsd@tsdye.com> 19842011-07-28 Tom Dye <tsd@tsdye.com>
1983 1985
1984 * org-bibtex.el: Add crossref option to incollection 1986 * org-bibtex.el: Add crossref option to incollection.
1985 1987
19862011-07-28 Matt Lundin <mdl@imapmail.org> 19882011-07-28 Matt Lundin <mdl@imapmail.org>
1987 1989
@@ -1995,15 +1997,16 @@
1995 1997
19962011-07-28 Matt Lundin <mdl@imapmail.org> 19982011-07-28 Matt Lundin <mdl@imapmail.org>
1997 1999
1998 * org-bibtex.el (org-bibtex-tags): New variable 2000 * org-bibtex.el (org-bibtex-tags): New variable.
1999 (org-bibtex-tags-are-keywords): New variable 2001 (org-bibtex-tags-are-keywords): New variable.
2000 (org-bibtex-no-export-tags): New variable 2002 (org-bibtex-no-export-tags): New variable.
2001 (org-bibtex-headline): Export tags as comma-separated bibtex keywords 2003 (org-bibtex-headline): Export tags as comma-separated bibtex
2002 (org-bibtex-read): Import bibtex keywords field as tags 2004 keywords.
2005 (org-bibtex-read): Import bibtex keywords field as tags.
2003 2006
20042011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr> 20072011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
2005 2008
2006 * org-publish.el (org-publish-find-date): optimization 2009 * org-publish.el (org-publish-find-date): Optimization.
2007 2010
20082011-07-28 Tassilo Horn <tassilo@member.fsf.org> 20112011-07-28 Tassilo Horn <tassilo@member.fsf.org>
2009 2012
@@ -2014,12 +2017,13 @@
2014 2017
2015 * org-publish.el (org-publish-project-alist): Document new 2018 * org-publish.el (org-publish-project-alist): Document new
2016 :sitemap-sans-extension property. 2019 :sitemap-sans-extension property.
2017 (org-publish-org-sitemap): Use new sitemap-sans-extension setting. 2020 (org-publish-org-sitemap): Use new `sitemap-sans-extension'
2021 setting.
2018 2022
20192011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 20232011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
2020 2024
2021 * org.el (org-remove-uninherited-tags): Renamed from 2025 * org.el (org-remove-uninherited-tags): Renamed from
2022 org-remove-iniherited-tags. 2026 `org-remove-iniherited-tags'.
2023 (org-scan-tags): Fix typo in function call. 2027 (org-scan-tags): Fix typo in function call.
2024 (org-get-tags-at): Fix typo in function call. 2028 (org-get-tags-at): Fix typo in function call.
2025 2029
@@ -2069,8 +2073,9 @@
2069 2073
2070 * org-bibtex.el (org-bibtex-export-arbitrary-fields): New option. 2074 * org-bibtex.el (org-bibtex-export-arbitrary-fields): New option.
2071 (org-bibtex-key-property): New option. 2075 (org-bibtex-key-property): New option.
2072 (org-bibtex-put): Make use of new `org-bibtex-key-property' variable. 2076 (org-bibtex-put): Make use of new `org-bibtex-key-property'
2073 (org-bibtex-headline): Make use of new 2077 variable.
2078 (org-bibtex-headline): Make use of new
2074 `org-bibtex-export-arbitrary-fields' and `org-bibtex-key-property' 2079 `org-bibtex-export-arbitrary-fields' and `org-bibtex-key-property'
2075 variables. 2080 variables.
2076 (org-bibtex-autokey): Make use of new `org-bibtex-key-property' 2081 (org-bibtex-autokey): Make use of new `org-bibtex-key-property'
@@ -2133,20 +2138,20 @@
2133 2138
21342011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 21392011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2135 2140
2136 * org-exp.el (org-export-preprocess-string): mark list end before 2141 * org-exp.el (org-export-preprocess-string): Mark list end before
2137 expanding macros. Thus, a macro inside a list and containing blank 2142 expanding macros. Thus, a macro inside a list and containing
2138 lines cannot break the list structure. 2143 blank lines cannot break the list structure.
2139 (org-export-preprocess-apply-macros): multi-lines macros get 2144 (org-export-preprocess-apply-macros): Multi-lines macros get
2140 indented with the same indentation as the first line. Thus, we are 2145 indented with the same indentation as the first line. Thus, we
2141 sure that every line belongs to the same list as the first line, if 2146 are sure that every line belongs to the same list as the first
2142 such list exists. Also add comments in code. 2147 line, if such list exists. Also add comments in code.
2143 2148
21442011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 21492011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
2145 2150
2146 * org-agenda.el (org-agenda-clock-consistency-checks): New option. 2151 * org-agenda.el (org-agenda-clock-consistency-checks): New option.
2147 (org-agenda-list): Handle display change to clock check. 2152 (org-agenda-list): Handle display change to clock check.
2148 (org-agenda-get-progress): Show only clock entries if we are doing the 2153 (org-agenda-get-progress): Show only clock entries if we are doing
2149 consistency check. 2154 the consistency check.
2150 (org-agenda-show-clocking-issues): New function. 2155 (org-agenda-show-clocking-issues): New function.
2151 (org-agenda-check-clock-gap): New function. 2156 (org-agenda-check-clock-gap): New function.
2152 (org-agenda-view-mode-dispatch): Offer consistency check. 2157 (org-agenda-view-mode-dispatch): Offer consistency check.
@@ -2158,7 +2163,7 @@
2158 2163
21592011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 21642011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2160 2165
2161 * org-list.el (org-list-struct): when walking down the list, the 2166 * org-list.el (org-list-struct): When walking down the list, the
2162 function would not pay attention to drawers or blocks indentation. 2167 function would not pay attention to drawers or blocks indentation.
2163 Thus, such constructs couldn't consistently end an item or a list. 2168 Thus, such constructs couldn't consistently end an item or a list.
2164 This patch ensures line indentation is stored (if applicable) 2169 This patch ensures line indentation is stored (if applicable)
@@ -2167,7 +2172,7 @@
21672011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 21722011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
2168 2173
2169 * org-exp.el (org-export): Add EXPORT_FILE_NAME to the enclosing 2174 * org-exp.el (org-export): Add EXPORT_FILE_NAME to the enclosing
2170 tree properties 2175 tree properties.
2171 2176
21722011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 21772011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
2173 2178
@@ -2178,36 +2183,35 @@
2178 2183
2179 * org-exp.el (org-export): Go to next heading before searching 2184 * org-exp.el (org-export): Go to next heading before searching
2180 backward, so make this also work if we are on the headline of the 2185 backward, so make this also work if we are on the headline of the
2181 entry with the property... 2186 entry with the property.
2182 2187
21832011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 21882011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
2184 2189
2185 * org.el (org-promote): 2190 * org.el (org-promote):
2186 (org-demote): Soften the previous change, by only removing the 2191 (org-demote): Soften the previous change, by only removing the
2187 flyspell function from after-change functions, because that was the 2192 flyspell function from after-change functions, because that was
2188 one causing the slowdown - at least much of it. 2193 the one causing the slowdown - at least much of it.
2189 2194
21902011-07-28 Eric Schulte <schulte.eric@gmail.com> 21952011-07-28 Eric Schulte <schulte.eric@gmail.com>
2191 2196
2192 * org.el (org-promote): 2197 * org.el (org-promote, org-demote): Turn off
2193 (org-demote): Turn off after-change-functions to speed up the 2198 after-change-functions to speed up the reindentation of text.
2194 reindentation of text.
2195 2199
21962011-07-28 Eric Schulte <schulte.eric@gmail.com> 22002011-07-28 Eric Schulte <schulte.eric@gmail.com>
2197 2201
2198 * ob-ocaml.el (org-babel-ocaml-read-list): Using 2202 * ob-ocaml.el (org-babel-ocaml-read-list): Use
2199 `org-babel-script-escape'. 2203 `org-babel-script-escape'.
2200 (org-babel-ocaml-read-array): Using `org-babel-script-escape'. 2204 (org-babel-ocaml-read-array): Use `org-babel-script-escape'.
2201 2205
22022011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr> 22062011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
2203 2207
2204 * org-html.el (org-html-handle-links): add an alternate for inline 2208 * org-html.el (org-html-handle-links): Add an alternate for inline
2205 images 2209 images
2206 2210
22072011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 22112011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
2208 2212
2209 * org-agenda.el (org-agenda-bulk-action): Do not use the entries 2213 * org-agenda.el (org-agenda-bulk-action): Do not use the entries
2210 variable before it is defined 2214 variable before it is defined.
2211 2215
22122011-07-28 Eric Schulte <schulte.eric@gmail.com> 22162011-07-28 Eric Schulte <schulte.eric@gmail.com>
2213 2217
@@ -2221,16 +2225,17 @@
2221 2225
22222011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr> 22262011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
2223 2227
2224 * org-html.el (org-html-make-link): correct a bug in coderef link. 2228 * org-html.el (org-html-make-link): Correct a bug in coderef link.
2225 2229
22262011-07-28 Bernt Hansen <bernt@norang.ca> 22302011-07-28 Bernt Hansen <bernt@norang.ca>
2227 2231
2228 * org-agenda.el (org-agenda-filter-by-tag): Fix variable name typo 2232 * org-agenda.el (org-agenda-filter-by-tag): Fix variable name
2233 typo.
2229 2234
22302011-07-28 Bernt Hansen <bernt@norang.ca> 22352011-07-28 Bernt Hansen <bernt@norang.ca>
2231 2236
2232 * org-agenda.el (org-agenda-get-timestamps): Fix agenda display 2237 * org-agenda.el (org-agenda-get-timestamps): Fix agenda display
2233 when headlines are missing 2238 when headlines are missing.
2234 2239
22352011-07-28 Bastien Guerry <bzg@gnu.org> 22402011-07-28 Bastien Guerry <bzg@gnu.org>
2236 2241
@@ -2263,13 +2268,11 @@
2263 2268
22642011-07-28 Julien Danjou <julien@danjou.info> 22692011-07-28 Julien Danjou <julien@danjou.info>
2265 2270
2266 * org.el (org-entry-get): 2271 * org.el (org-entry-get, org-entry-delete, org-entry-put)
2267 (org-entry-delete): 2272 (org-property-values, org-delete-property-globally): Use
2268 (org-entry-put): 2273 `org-re-property'.
2269 (org-property-values): 2274 (org-re-property): New function allowing to build a regexp to
2270 (org-delete-property-globally): Use org-re-property. 2275 match a property.
2271 (org-re-property): New function allowing to build a regexp to match a
2272 property.
2273 2276
22742011-07-28 Julien Danjou <julien@danjou.info> 22772011-07-28 Julien Danjou <julien@danjou.info>
2275 2278
@@ -2291,9 +2294,9 @@
2291 2294
22922011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 22952011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2293 2296
2294 * org-list.el (org-list-in-valid-context-p): renamed from 2297 * org-list.el (org-list-in-valid-context-p): Renamed from
2295 org-list-in-valid-block-p. 2298 `org-list-in-valid-block-p'.
2296 (org-at-item-p,org-list-search-generic): use renamed function. 2299 (org-at-item-p,org-list-search-generic): Use renamed function.
2297 2300
22982011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 23012011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2299 2302
@@ -2303,21 +2306,21 @@
2303 2306
23042011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 23072011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2305 2308
2306 * org-latex.el: pay attention to end of footnote. Before closing 2309 * org-latex.el: Pay attention to end of footnote. Before closing
2307 the command, ensure that list is properly closed or that last link 2310 the command, ensure that list is properly closed or that last link
2308 is separated from the curly brace. 2311 is separated from the curly brace.
2309 2312
23102011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 23132011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2311 2314
2312 * org.el (org-indent-line-function): footnote definition must stay 2315 * org.el (org-indent-line-function): Footnote definition must stay
2313 at column 0 to be recognized as such. Body below can have normal 2316 at column 0 to be recognized as such. Body below can have normal
2314 indentation, so it should ignore its definition when computing 2317 indentation, so it should ignore its definition when computing
2315 indentation. 2318 indentation.
2316 2319
23172011-07-28 Bastien Guerry <bzg@gnu.org> 23202011-07-28 Bastien Guerry <bzg@gnu.org>
2318 2321
2319 * org-protocol.el (org-protocol-remember) 2322 * org-protocol.el (org-protocol-remember, org-protocol-capture):
2320 (org-protocol-capture): More appropriate message. 2323 More appropriate message.
2321 2324
23222011-07-28 Bastien Guerry <bzg@gnu.org> 23252011-07-28 Bastien Guerry <bzg@gnu.org>
2323 2326
@@ -2333,7 +2336,7 @@
23332011-07-28 Bernt Hansen <bernt@norang.ca> 23362011-07-28 Bernt Hansen <bernt@norang.ca>
2334 2337
2335 * org-agenda.el: Remove obsolete code for adding todo list in 2338 * org-agenda.el: Remove obsolete code for adding todo list in
2336 front of the agenda 2339 front of the agenda.
2337 2340
23382011-07-28 Lawrence Mitchell <wence@gmx.li> 23412011-07-28 Lawrence Mitchell <wence@gmx.li>
2339 2342
@@ -2357,7 +2360,7 @@
23572011-07-28 Eric Schulte <schulte.eric@gmail.com> 23602011-07-28 Eric Schulte <schulte.eric@gmail.com>
2358 2361
2359 * ob-lisp.el (org-babel-execute:lisp): Turn vectors into lists 2362 * ob-lisp.el (org-babel-execute:lisp): Turn vectors into lists
2360 before reading by elisp 2363 before reading by elisp.
2361 (org-bable-lisp-vector-to-list): Stub of a vector->list function, 2364 (org-bable-lisp-vector-to-list): Stub of a vector->list function,
2362 should be replaced with a cl-vector->el-vector function. 2365 should be replaced with a cl-vector->el-vector function.
2363 2366
@@ -2376,7 +2379,7 @@
2376 2379
23772011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 23802011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
2378 2381
2379 * org-beamer.el (org-beamer-environments-extra): Fix docstring 2382 * org-beamer.el (org-beamer-environments-extra): Fix docstring.
2380 2383
23812011-07-28 Lawrence Mitchell <wence@gmx.li> 23842011-07-28 Lawrence Mitchell <wence@gmx.li>
2382 2385
@@ -2385,7 +2388,7 @@
2385 2388
23862011-07-28 Lawrence Mitchell <wence@gmx.li> 23892011-07-28 Lawrence Mitchell <wence@gmx.li>
2387 2390
2388 * org-html.el (org-export-as-html) (org-html-level-start): Fix 2391 * org-html.el (org-export-as-html, org-html-level-start): Fix
2389 logic for section number printing when NUM is an integer. 2392 logic for section number printing when NUM is an integer.
2390 2393
23912011-07-28 Lawrence Mitchell <wence@gmx.li> 23942011-07-28 Lawrence Mitchell <wence@gmx.li>
@@ -2396,7 +2399,7 @@
23962011-07-28 Lawrence Mitchell <wence@gmx.li> 23992011-07-28 Lawrence Mitchell <wence@gmx.li>
2397 2400
2398 * org.el (org-point-at-end-of-empty-headline): Bind 2401 * org.el (org-point-at-end-of-empty-headline): Bind
2399 case-fold-search to nil. 2402 `case-fold-search' to nil.
2400 2403
24012011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 24042011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
2402 2405
@@ -2413,10 +2416,10 @@
2413 2416
2414 * org.el (org-ts-regexp-both): Add "]" to class of characters that 2417 * org.el (org-ts-regexp-both): Add "]" to class of characters that
2415 should not be matched. 2418 should not be matched.
2416 (org-ts-regexp0): 2419 (org-ts-regexp0, org-ts-regexp1): Do not start a class with
2417 (org-ts-regexp1): Do not start a class with "^]-+", because that tries 2420 "^]-+", because that tries to (not) match characters between "]"
2418 to (not) match characters between "]" and "+". Instead, move the "-" 2421 and "+". Instead, move the "-" to the end of the class where it
2419 to the end of the class where it causes no harm. 2422 causes no harm.
2420 2423
24212011-07-28 Eric Schulte <schulte.eric@gmail.com> 24242011-07-28 Eric Schulte <schulte.eric@gmail.com>
2422 2425
@@ -2427,7 +2430,7 @@
2427 2430
2428 * ob-tangle.el (org-babel-tangle-collect-blocks): Brought the link 2431 * ob-tangle.el (org-babel-tangle-collect-blocks): Brought the link
2429 extraction code into line with a newer version of the 2432 extraction code into line with a newer version of the
2430 org-store-link function. 2433 `org-store-link' function.
2431 2434
24322011-07-28 Eric Schulte <schulte.eric@gmail.com> 24352011-07-28 Eric Schulte <schulte.eric@gmail.com>
2433 2436
@@ -2439,8 +2442,8 @@
2439 2442
24402011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 24432011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2441 2444
2442 * org-list.el: move org-update-checkbox-count-maybe call outside 2445 * org-list.el: Move `org-update-checkbox-count-maybe' call outside
2443 of save-excursion to get back to original position. 2446 of ̀save-excursion' to get back to original position.
2444 2447
24452011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 24482011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
2446 2449
@@ -2455,11 +2458,14 @@
2455 2458
24562011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 24592011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
2457 2460
2458 * org-ascii.el (org-export-as-ascii): 2461 * org-ascii.el (org-export-as-ascii): Pass the :done-tasks
2462 property to the export preprocessor.
2459 2463
2460 * org-docbook.el (org-export-as-docbook): 2464 * org-docbook.el (org-export-as-docbook): Pass the :done-tasks
2465 property to the export preprocessor.
2461 2466
2462 * org-html.el (org-export-as-html): 2467 * org-html.el (org-export-as-html): Pass the :done-tasks property
2468 to the export preprocessor.
2463 2469
2464 * org-latex.el (org-export-as-latex): Pass the :done-tasks 2470 * org-latex.el (org-export-as-latex): Pass the :done-tasks
2465 property to the export preprocessor. 2471 property to the export preprocessor.
@@ -2481,14 +2487,14 @@
2481 2487
24822011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 24882011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2483 2489
2484 * org-list.el (org-toggle-checkbox): build value of 2490 * org-list.el (org-toggle-checkbox): Build value of
2485 org-keyword-time-regexp instead of using it directly, as it's 2491 org-keyword-time-regexp instead of using it directly, as it's
2486 buffer-local, and function might be called outside Org. 2492 buffer-local, and function might be called outside Org.
2487 2493
24882011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 24942011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2489 2495
2490 * org-list.el (org-list-struct,org-in-item-p): don't assume end of 2496 * org-list.el (org-list-struct,org-in-item-p): Don't assume end of
2491 blocks or drawers necessarily start somewhere. It it isn't the 2497 blocks or drawers necessarily start somewhere. It it isn't the
2492 case, treat them as normal text. 2498 case, treat them as normal text.
2493 2499
24942011-07-28 Eric Schulte <schulte.eric@gmail.com> 25002011-07-28 Eric Schulte <schulte.eric@gmail.com>
@@ -2504,14 +2510,14 @@
2504 2510
25052011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 25112011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2506 2512
2507 * org-list.el (org-list-checkbox): when called from an headline, 2513 * org-list.el (org-list-checkbox): When called from an headline,
2508 function would normally skip drawers, but not if a SCHEDULED or 2514 function would normally skip drawers, but not if a SCHEDULED or
2509 DEADLINE keyword is standing before the drawer. Also avoid 2515 DEADLINE keyword is standing before the drawer. Also avoid
2510 problems if function is called in buffers not is Org mode. 2516 problems if function is called in buffers not is Org mode.
2511 2517
25122011-07-28 Bastien Guerry <bzg@gnu.org> 25182011-07-28 Bastien Guerry <bzg@gnu.org>
2513 2519
2514 * org-clock.el (org-clock-report): change the scope of the 2520 * org-clock.el (org-clock-report): Change the scope of the
2515 inserted clock report depending on whether the point is within a 2521 inserted clock report depending on whether the point is within a
2516 subtree (:scope subtree) or not (:scope file). 2522 subtree (:scope subtree) or not (:scope file).
2517 2523
@@ -2541,7 +2547,7 @@
2541 2547
25422011-07-28 Bastien Guerry <bzg@gnu.org> 25482011-07-28 Bastien Guerry <bzg@gnu.org>
2543 2549
2544 * org-protocol.el (org-protocol-do-capture): allow template keys 2550 * org-protocol.el (org-protocol-do-capture): Allow template keys
2545 of two characters. 2551 of two characters.
2546 (org-protocol-default-template-key): Update the docstring to 2552 (org-protocol-default-template-key): Update the docstring to
2547 reflect the change in `org-protocol-do-capture'. 2553 reflect the change in `org-protocol-do-capture'.
@@ -2582,21 +2588,21 @@
2582 2588
25832011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 25892011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2584 2590
2585 * org-list.el (org-in-item-p): re-build org-drawer-regexp, 2591 * org-list.el (org-in-item-p): Re-build `org-drawer-regexp',
2586 whatever the major mode is. 2592 whatever the major mode is.
2587 2593
25882011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 25942011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2589 2595
2590 * org-inlinetask.el (org-inlinetask-export-templates): fix default 2596 * org-inlinetask.el (org-inlinetask-export-templates): Fix default
2591 templates. 2597 templates.
2592 (org-inlinetask-export-handler): Ensure contents of inline task, if 2598 (org-inlinetask-export-handler): Ensure contents of inline task,
2593 any, starts and ends with a newline character. Refactor and comment 2599 if any, starts and ends with a newline character. Refactor and
2594 code. 2600 comment code.
2595 2601
25962011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 26022011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
2597 2603
2598 * org-capture.el (org-datetree-find-date-create): Lower-case for 2604 * org-capture.el (org-datetree-find-date-create): Lower-case for
2599 variable names in define-function form. 2605 variable names in `define-function' form.
2600 2606
26012011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 26072011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
2602 2608
@@ -2610,7 +2616,7 @@
2610 2616
26112011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 26172011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2612 2618
2613 * org-latex.el (org-export-latex-preprocess): last brace shouldn't 2619 * org-latex.el (org-export-latex-preprocess): Last brace shouldn't
2614 be on the same line as a list end marker. 2620 be on the same line as a list end marker.
2615 2621
26162011-07-28 Julien Danjou <julien@danjou.info> 26222011-07-28 Julien Danjou <julien@danjou.info>
@@ -2633,10 +2639,10 @@
2633 2639
26342011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 26402011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2635 2641
2636 * org-list.el (org-list-to-generic): set a default term for 2642 * org-list.el (org-list-to-generic): Set a default term for
2637 ill-formed description lists. Do not insert newline characters 2643 ill-formed description lists. Do not insert newline characters
2638 unless told to. 2644 unless told to.
2639 (org-list-to-texinfo,org-list-to-html): apply changes to 2645 (org-list-to-texinfo,org-list-to-html): Apply changes to
2640 `org-list-parse-liste'. 2646 `org-list-parse-liste'.
2641 2647
26422011-07-28 Bastien Guerry <bzg@gnu.org> 26482011-07-28 Bastien Guerry <bzg@gnu.org>
@@ -2661,16 +2667,16 @@
2661 2667
2662 * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness): 2668 * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
2663 Compute the leafiness of a node. 2669 Compute the leafiness of a node.
2664 (org-taskjuggler-open-task, org-export-as-taskjuggler): Mark a node as 2670 (org-taskjuggler-open-task, org-export-as-taskjuggler): Mark a
2665 a milestone if it is a leaf and has no effort. 2671 node as a milestone if it is a leaf and has no effort.
2666 2672
26672011-07-28 Christian Egli <christian.egli@alumni.ethz.ch> 26732011-07-28 Christian Egli <christian.egli@alumni.ethz.ch>
2668 2674
2669 * org-taskjuggler.el (org-export-taskjuggler-target-version): 2675 * org-taskjuggler.el (org-export-taskjuggler-target-version):
2670 (org-taskjuggler-targeting-tj3-p): Add some minimal infrastructure to 2676 (org-taskjuggler-targeting-tj3-p): Add some minimal infrastructure
2671 handle export to both tj2 and tj3. 2677 to handle export to both tj2 and tj3.
2672 (org-taskjuggler-open-task): Use a different way to purge allocations 2678 (org-taskjuggler-open-task): Use a different way to purge
2673 for tj2 and tj3. 2679 allocations for tj2 and tj3.
2674 2680
26752011-07-28 Matt Lundin <mdl@imapmail.org> 26812011-07-28 Matt Lundin <mdl@imapmail.org>
2676 2682
@@ -2799,7 +2805,7 @@
2799 2805
28002011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 28062011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2801 2807
2802 * org-list.el (org-list-parse-list): fixed regexp. 2808 * org-list.el (org-list-parse-list): Fixed regexp.
2803 2809
28042011-07-28 David Maus <dmaus@ictsoc.de> 28102011-07-28 David Maus <dmaus@ictsoc.de>
2805 2811
@@ -2832,8 +2838,8 @@
2832 2838
28332011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 28392011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2834 2840
2835 * org.el (org-fill-paragraph): fill-forward-paragraph function has 2841 * org.el (org-fill-paragraph): `fill-forward-paragraph' function
2836 been introduced with emacs 23.1. 2842 has been introduced with emacs 23.1.
2837 2843
28382011-07-28 Bastien Guerry <bzg@gnu.org> 28442011-07-28 Bastien Guerry <bzg@gnu.org>
2839 2845
@@ -2856,18 +2862,18 @@
2856 2862
28572011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 28632011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2858 2864
2859 * org.el (org-adaptive-fill-function): when a region is specified 2865 * org.el (org-adaptive-fill-function): When a region is specified
2860 first line of paragraph isn't skipped, so fill-paragraph have to 2866 first line of paragraph isn't skipped, so fill-paragraph have to
2861 be computed even if point is at an item. 2867 be computed even if point is at an item.
2862 2868
28632011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 28692011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2864 2870
2865 * org-list.el (org-list-in-valid-block-p): new function. 2871 * org-list.el (org-list-in-valid-block-p): New function.
2866 (org-at-item-p,org-list-search-generic): use new function. 2872 (org-at-item-p,org-list-search-generic): Use new function.
2867 2873
28682011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 28742011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2869 2875
2870 * org.el (org-indent-line-function): text in both a list and a 2876 * org.el (org-indent-line-function): Text in both a list and a
2871 valid block is indented with regards to current item, not to block 2877 valid block is indented with regards to current item, not to block
2872 boundaries. 2878 boundaries.
2873 2879
@@ -2905,7 +2911,7 @@
2905 2911
29062011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 29122011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2907 2913
2908 * org-timer.el (org-timer-item): save-excursion prevents 2914 * org-timer.el (org-timer-item): `save-excursion' prevents
2909 `org-list-struct' to get the list structure when point isn't on 2915 `org-list-struct' to get the list structure when point isn't on
2910 the first line of the item. 2916 the first line of the item.
2911 2917
@@ -2918,7 +2924,7 @@
29182011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 29242011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2919 2925
2920 * org-list.el (org-update-checkbox-count): Ensure cookies on an 2926 * org-list.el (org-update-checkbox-count): Ensure cookies on an
2921 heading are correctly updated when checkboxes are hidden. It 2927 heading are correctly updated when checkboxes are hidden. It
2922 allows, for example, to use C-c C-x C-b on a collapsed tree and 2928 allows, for example, to use C-c C-x C-b on a collapsed tree and
2923 still get the update. 2929 still get the update.
2924 2930
@@ -2974,19 +2980,19 @@
29742011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 29802011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2975 2981
2976 * org-inlinetask.el (org-inlinetask-promote) 2982 * org-inlinetask.el (org-inlinetask-promote)
2977 (org-inlinetask-demote): new functions. 2983 (org-inlinetask-demote): New functions.
2978 2984
29792011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 29852011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2980 2986
2981 * org.el (org-demote-subtree,org-promote-subtree): wrap 2987 * org.el (org-demote-subtree,org-promote-subtree): Wrap
2982 org-map-tree into org-with-limited-levels macro, so it avoids 2988 `org-map-tree' into `org-with-limited-levels' macro, so it avoids
2983 operating on inline tasks. 2989 operating on inline tasks.
2984 2990
29852011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 29912011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
2986 2992
2987 * org.el (org-narrow-to-subtree): ensure `org-back-to-heading' 2993 * org.el (org-narrow-to-subtree): ensure `org-back-to-heading'
2988 will move point to a real heading and not an inline task by 2994 will move point to a real heading and not an inline task by
2989 wraping function into a org-with-limited-levels macro. 2995 wraping function into a `org-with-limited-levels' macro.
2990 2996
29912011-07-28 Bastien Guerry <bzg@gnu.org> 29972011-07-28 Bastien Guerry <bzg@gnu.org>
2992 2998
@@ -3211,17 +3217,17 @@
3211 3217
32122011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 32182011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3213 3219
3214 * org-exp.el (org-export-mark-list-end): change end marker 3220 * org-exp.el (org-export-mark-list-end): Change end marker.
3215 3221
3216 * org-docbook.el (org-export-docbook-list-line): use new marker. 3222 * org-docbook.el (org-export-docbook-list-line): Use new marker.
3217 3223
3218 * org-html.el (org-html-export-list-line): use new marker 3224 * org-html.el (org-html-export-list-line): Use new marker.
3219 3225
3220 * org-latex.el (org-export-latex-lists): use new marker 3226 * org-latex.el (org-export-latex-lists): Use new marker.
3221 3227
32222011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 32282011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3223 3229
3224 * org-latex.el (org-export-latex-lists): make sure markers used 3230 * org-latex.el (org-export-latex-lists): Make sure markers used
3225 for export are taken into account by temporarily setting an 3231 for export are taken into account by temporarily setting an
3226 appropriate value for `org-list-ending-method'. 3232 appropriate value for `org-list-ending-method'.
3227 3233
@@ -3270,14 +3276,14 @@
3270 3276
32712011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 32772011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3272 3278
3273 * org.el (org-open-at-point): if a link to a radio target is the 3279 * org.el (org-open-at-point): If a link to a radio target is the
3274 first, (resp. the last), element of a buffer, function cannot find 3280 first, (resp. the last), element of a buffer, function cannot find
3275 the property change required to get its boundaries, and 3281 the property change required to get its boundaries, and
3276 `buffer-substring' is called with an invalid nil argument. 3282 `buffer-substring' is called with an invalid nil argument.
3277 3283
32782011-07-28 Bastien Guerry <bzg@gnu.org> 32842011-07-28 Bastien Guerry <bzg@gnu.org>
3279 3285
3280 * org-table.el (org-table-copy-down): fix docstring. 3286 * org-table.el (org-table-copy-down): Fix docstring.
3281 3287
32822011-07-28 Eric Schulte <schulte.eric@gmail.com> 32882011-07-28 Eric Schulte <schulte.eric@gmail.com>
3283 3289
@@ -3304,19 +3310,19 @@
3304 3310
33052011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 33112011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3306 3312
3307 * org-list.el (org-list-insert-item): when computing size of item 3313 * org-list.el (org-list-insert-item): When computing size of item
3308 being inserted, function has to take into account that indentation 3314 being inserted, function has to take into account that indentation
3309 may not only be made of spaces. 3315 may not only be made of spaces.
3310 3316
33112011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 33172011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3312 3318
3313 * org-clock.el (org-clock-find-position): if a list was adjacent 3319 * org-clock.el (org-clock-find-position): If a list was adjacent
3314 to some clocks and a drawer was going to be created, only the 3320 to some clocks and a drawer was going to be created, only the
3315 first element of the list would make it into the drawer. 3321 first element of the list would make it into the drawer.
3316 3322
33172011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 33232011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3318 3324
3319 * org-list.el (org-toggle-checkbox): fix bug where top item in 3325 * org-list.el (org-toggle-checkbox): Fix bug where top item in
3320 list was omitted when checking boxes. 3326 list was omitted when checking boxes.
3321 3327
33222011-07-28 Dan Davison <dandavison7@gmail.com> 33282011-07-28 Dan Davison <dandavison7@gmail.com>
@@ -3353,8 +3359,8 @@
3353 3359
33542011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 33602011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3355 3361
3356 * org-list.el (org-cycle-item-indentation): do not break an 3362 * org-list.el (org-cycle-item-indentation): Do not break an
3357 indentation cycle because visibility cycling is requested. This 3363 indentation cycle because visibility cycling is requested. This
3358 happens when an item becomes a parent, due to indentation change. 3364 happens when an item becomes a parent, due to indentation change.
3359 Not considered empty anymore, the function cannot change its 3365 Not considered empty anymore, the function cannot change its
3360 indentation again. 3366 indentation again.
@@ -3378,11 +3384,11 @@
3378 (org-babel-insert-result): Writing code block results to lists has 3384 (org-babel-insert-result): Writing code block results to lists has
3379 been updated to reflect the new list structure. 3385 been updated to reflect the new list structure.
3380 (org-babel-result-end): Remove a previous change to end-of-list 3386 (org-babel-result-end): Remove a previous change to end-of-list
3381 marker detection 3387 marker detection.
3382 3388
33832011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 33892011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3384 3390
3385 * org-list.el (org-cycle-item-indentation): each time the function 3391 * org-list.el (org-cycle-item-indentation): Each time the function
3386 moves item back to child position, a white space is added to the 3392 moves item back to child position, a white space is added to the
3387 line. 3393 line.
3388 3394
@@ -3398,9 +3404,9 @@
3398 3404
33992011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 34052011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3400 3406
3401 * org.el (org-ctrl-c-ctrl-c): call `org-list-send-list' only when 3407 * org.el (org-ctrl-c-ctrl-c): Call `org-list-send-list' only when
3402 cursor it at very first item of the list, as specified in the 3408 cursor it at very first item of the list, as specified in the
3403 manual. Also refactored the list part of the function a bit. 3409 manual. Also refactored the list part of the function a bit.
3404 3410
34052011-07-28 Bastien Guerry <bzg@gnu.org> 34112011-07-28 Bastien Guerry <bzg@gnu.org>
3406 3412
@@ -3418,606 +3424,609 @@
3418 3424
34192011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 34252011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3420 3426
3421 * org-list.el (org-toggle-checkbox, org-update-checkbox-count): no 3427 * org-list.el (org-toggle-checkbox, org-update-checkbox-count): No
3422 need to wrap org-entry-get in ignore-errors since commit 3428 need to wrap `org-entry-get' in `ignore-errors'.
3423 7dd425cc5d42fb297f547f713edfdc936f9271f0
3424 3429
34252011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 34302011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3426 3431
3427 * org.el (org-toggle-item, org-toggle-heading): make sure every 3432 * org.el (org-toggle-item, org-toggle-heading): Make sure every
3428 sub-item in a list is changed into a sub-heading and sub-headings 3433 sub-item in a list is changed into a sub-heading and sub-headings
3429 are translated into sub-items. Also ignore inline tasks in the 3434 are translated into sub-items. Also ignore inline tasks in the
3430 process. 3435 process.
3431 3436
34322011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 34372011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3433 3438
3434 * org-exp.el (org-export-select-backend-specific-text): add 3439 * org-exp.el (org-export-select-backend-specific-text): Add
3435 `original-indentation' property when replacing #+begin_backend and 3440 `original-indentation' property when replacing #+begin_backend and
3436 #+backend blocks with their content. This is needed for lists, as 3441 #+backend blocks with their content. This is needed for lists, as
3437 they must know if the block belonged to them. 3442 they must know if the block belonged to them.
3438 3443
34392011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 34442011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3440 3445
3441 * org-html.el (org-html-export-list-line): insert a newline 3446 * org-html.el (org-html-export-list-line): Insert a newline
3442 character before ending an item, as anchor could be on a line 3447 character before ending an item, as anchor could be on a line
3443 going to be deleted, like a drawer ending string. 3448 going to be deleted, like a drawer ending string.
3444 3449
3445 * org-list.el (org-list-to-html): same. 3450 * org-list.el (org-list-to-html): Same.
3446 3451
34472011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 34522011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3448 3453
3449 * org.el (org-set-autofill-regexps): use `org-item-re' in 3454 * org.el (org-set-autofill-regexps): Use `org-item-re' in
3450 `paragraph-start' to recognize alphabetical lists. 3455 `paragraph-start' to recognize alphabetical lists.
3451 (org-fill-paragraph): enforce a pre-computed fill-prefix before 3456 (org-fill-paragraph): Enforce a pre-computed fill-prefix before
3452 calling fill-paragraph when point in in an item. Also prevent 3457 calling `fill-paragraph' when point in in an item. Also prevent
3453 paragraphs getting merged into an adjacent list upon filling. 3458 paragraphs getting merged into an adjacent list upon filling.
3454 (org-adaptive-fill-function): make sure to determine real fill-prefix 3459 (org-adaptive-fill-function): Make sure to determine real
3455 for auto-fill. 3460 fill-prefix for auto-fill.
3456 (org-auto-fill-function): use a pre-computed fill-prefix before 3461 (org-auto-fill-function): Use a pre-computed fill-prefix before
3457 calling do-auto-fill. 3462 calling `do-auto-fill'.
3458 3463
3459 * org-list.el (org-list-item-body-column): new function 3464 * org-list.el (org-list-item-body-column): New function.
3460 3465
34612011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 34662011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3462 3467
3463 * org-inlinetask.el (org-inlinetask-at-task-p) 3468 * org-inlinetask.el (org-inlinetask-at-task-p)
3464 (org-inlinetask-toggle-visibility): new functions. 3469 (org-inlinetask-toggle-visibility): New functions.
3465 3470
3466 * org-list.el (org-list-set-item-visibility): new function. 3471 * org-list.el (org-list-set-item-visibility): New function.
3467 3472
3468 * org.el (org-cycle, org-cycle-internal-local): separate lists and 3473 * org.el (org-cycle, org-cycle-internal-local): Separate lists and
3469 inline tasks from headlines. 3474 inline tasks from headlines.
3470 (org-outline-level): do not consider lists as headlines. 3475 (org-outline-level): Do not consider lists as headlines. Cycling
3471 Cycling visibility is using different tools. 3476 visibility is using different tools.
3472 3477
34732011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 34782011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3474 3479
3475 * org-list.el (org-list-struct): mark items less indented than top 3480 * org-list.el (org-list-struct): Mark items less indented than top
3476 item of the list, so that they will be modified. 3481 item of the list, so that they will be modified.
3477 (org-list-struct-apply-struct): compare struct's indentation with 3482 (org-list-struct-apply-struct): Compare struct's indentation with
3478 line's indentation instead of old-struct's. This is needed because 3483 line's indentation instead of old-struct's. This is needed
3479 `org-list-struct' automatically fixes indentation so changes might not 3484 because `org-list-struct' automatically fixes indentation so
3480 be seen otherwise. 3485 changes might not be seen otherwise.
3481 3486
3482 * org.el (org-ctrl-c-ctrl-c): small refactoring. 3487 * org.el (org-ctrl-c-ctrl-c): Small refactoring.
3483 3488
34842011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 34892011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3485 3490
3486 * org-list.el (org-update-checkbox-count): when a part of the 3491 * org-list.el (org-update-checkbox-count): When a part of the
3487 buffer is processed to count checkboxes, lists are read from top 3492 buffer is processed to count checkboxes, lists are read from top
3488 to bottom, but inside lists (in drawers, blocks, or inline tasks) 3493 to bottom, but inside lists (in drawers, blocks, or inline tasks)
3489 are skipped. Thus, cookies cannot be updated. This patch enforces 3494 are skipped. Thus, cookies cannot be updated. This patch
3490 reading of such lists if counter is itself in a special context. 3495 enforces reading of such lists if counter is itself in a special
3496 context.
3491 3497
34922011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 34982011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3493 3499
3494 * org-list.el (org-list-struct-apply-struct): inline tasks along 3500 * org-list.el (org-list-struct-apply-struct): Inline tasks along
3495 with their content must stay at column 0 even if the item is 3501 with their content must stay at column 0 even if the item is
3496 gaining indentation. Moreover, fix indentation of text in an 3502 gaining indentation. Moreover, fix indentation of text in an
3497 inline task, now it can be in such a task within a list. 3503 inline task, now it can be in such a task within a list.
3498 3504
34992011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 35052011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3500 3506
3501 * org-list.el (org-at-item-p): also verify context is valid. 3507 * org-list.el (org-at-item-p): Also verify context is valid.
3502 Otherwise it would recognize valid items where org-in-item-p 3508 Otherwise it would recognize valid items where `org-in-item-p'
3503 wouldn't. 3509 wouldn't.
3504 (org-in-item-p, org-list-struct-apply-struct): use shorter version of 3510 (org-in-item-p, org-list-struct-apply-struct): Use shorter version
3505 org-at-item-p. 3511 of org-at-item-p.
3506 (org-cycle-list-bullet): fix typo. 3512 (org-cycle-list-bullet): Fix typo.
3507 (org-list-parse-list): avoid calling org-at-item-p two times by using 3513 (org-list-parse-list): Avoid calling `org-at-item-p' two times by
3508 an appropriate regexp 3514 using an appropriate regexp.
3509 3515
3510 * org.el (org-indent-line-function): use an appropriate regexp 3516 * org.el (org-indent-line-function): Use an appropriate regexp
3511 instead of calling org-at-item-p two times. 3517 instead of calling `org-at-item-p' two times.
3512 3518
35132011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 35192011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3514 3520
3515 * org-list.el (org-in-item-p): When point was just after 3521 * org-list.el (org-in-item-p): When point was just after
3516 org-list-end-re, check wouldn't be done for starting line. So, if 3522 org-list-end-re, check wouldn't be done for starting line. So, if
3517 the first line was an item, it wouln't be noticed and function 3523 the first line was an item, it wouln't be noticed and function
3518 would return nil. Simplify and comment code. 3524 would return nil. Simplify and comment code.
3519 3525
35202011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 35262011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3521 3527
3522 * org.el (org-toggle-item): when used on normal text, ensure every 3528 * org.el (org-toggle-item): When used on normal text, ensure every
3523 line in region is included in the new item, regardless of its 3529 line in region is included in the new item, regardless of its
3524 original indentation. 3530 original indentation.
3525 3531
35262011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 35322011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3527 3533
3528 * org-list.el (org-list-struct-apply-struct): if end of list was 3534 * org-list.el (org-list-struct-apply-struct): If end of list was
3529 at eol, for example, with list inside a block, the last list 3535 at eol, for example, with list inside a block, the last list
3530 wouldn't be shifted. Thus, the patch ensures no blank lines is 3536 wouldn't be shifted. Thus, the patch ensures no blank lines is
3531 skipped. 3537 skipped.
3532 3538
35332011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 35392011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3534 3540
3535 * org.el (org-toggle-item): Now accepts a prefix argument. When 3541 * org.el (org-toggle-item): Now accepts a prefix argument. When
3536 used without argument on normal text, it will make the whole 3542 used without argument on normal text, it will make the whole
3537 region one item. With an argument, it defaults to old behavior: 3543 region one item. With an argument, it defaults to old behavior:
3538 change each line in region into an item. 3544 change each line in region into an item.
3539 3545
35402011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 35462011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3541 3547
3542 * org.el (org-return): when called from inside an item with the 3548 * org.el (org-return): When called from inside an item with the
3543 indent flag, function should keep text moved inside the item. This 3549 indent flag, function should keep text moved inside the item.
3544 allows to use C-j to separate lines in an item: cursor won't go 3550 This allows to use C-j to separate lines in an item: cursor won't
3545 back to column 0. 3551 go back to column 0.
3546 3552
35472011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 35532011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3548 3554
3549 * org-list.el (org-list-struct): when a line has org-example 3555 * org-list.el (org-list-struct): when a line has org-example
3550 property, skip the entire block. This is needed during export, for 3556 property, skip the entire block. This is needed during export,
3551 example when src blocks in org markup contain lists, and are 3557 for example when src blocks in org markup contain lists, and are
3552 returned verbatim because org isn't in the list of interpreted 3558 returned verbatim because org isn't in the list of interpreted
3553 languages. 3559 languages.
3554 3560
35552011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 35612011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3556 3562
3557 * org-list.el (org-in-item-p): handle special cases when function 3563 * org-list.el (org-in-item-p): Handle special cases when function
3558 is called with cursor amidst `org-list-end-re' or at an inline 3564 is called with cursor amidst `org-list-end-re' or at an inline
3559 task. 3565 task.
3560 3566
35612011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 35672011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3562 3568
3563 * ob.el (org-babel-result-end): apply renaming. 3569 * ob.el (org-babel-result-end): Apply renaming.
3564 3570
3565 * org-exp.el (org-export-mark-list-properties): apply renaming. 3571 * org-exp.el (org-export-mark-list-properties): Apply renaming.
3566 3572
3567 * org-list.el (org-list-prevs-alist): renamed from 3573 * org-list.el (org-list-prevs-alist): Renamed from
3568 org-list-struct-prev-alist. 3574 `org-list-struct-prev-alist'.
3569 (org-list-parents-alist): renamed from org-list-struct-parent-alist. 3575 (org-list-parents-alist): Renamed from `org-list-struct-parent-alist'.
3570 (org-list-write-struct): renamed from org-list-struct-fix-struct. 3576 (org-list-write-struct): Renamed from `org-list-struct-fix-struct'.
3571 (org-list-parse-list, org-sort-list, org-list-indent-item-generic, 3577 (org-list-parse-list, org-sort-list, org-list-indent-item-generic)
3572 org-toggle-checkbox, org-update-checkbox-count, org-cycle-list-bullet, 3578 (org-toggle-checkbox, org-update-checkbox-count)
3573 org-list-repair, org-insert-item, org-move-item-up, org-move-item-up, 3579 (org-cycle-list-bullet, org-list-repair, org-insert-item)
3574 org-move-item-down, org-next-item, org-previous-item, 3580 (org-move-item-up, org-move-item-up, org-move-item-down)
3575 org-end-of-item-list, org-beginning-of-item-list, org-apply-on-list): 3581 (org-next-item, org-previous-item, org-end-of-item-list)
3576 apply renaming. 3582 (org-beginning-of-item-list, org-apply-on-list): Apply renaming.
3577 (org-get-bullet): removed function, as it is not needed anymore. 3583 (org-get-bullet): Removed function, as it is not needed anymore.
3578 3584
35792011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 35852011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3580 3586
3581 * org-list.el (org-list-insert-item-generic): change arguments. 3587 * org-list.el (org-list-insert-item-generic): Change arguments.
3582 The function now accepts structure and previous items alist. This 3588 The function now accepts structure and previous items alist. This
3583 allow to insert an item programmatically more easily. 3589 allows to insert an item programmatically more easily.
3584 (org-insert-item): Apply changes to org-list-insert-item-generic. The 3590 (org-insert-item): Apply changes to
3585 function now takes care about repairing structure and updating 3591 `org-list-insert-item-generic'. The function now takes care about
3586 checkboxes. 3592 repairing structure and updating checkboxes.
3587 3593
3588 * org-timer.el (org-timer-item): Apply changes to 3594 * org-timer.el (org-timer-item): Apply changes to
3589 org-list-insert-item-generic. The function now takes care about 3595 `org-list-insert-item-generic'. The function now takes care about
3590 repairing structure. 3596 repairing structure.
3591 3597
35922011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 35982011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3593 3599
3594 * org-list.el (org-list-make-subtree): function now uses 3600 * org-list.el (org-list-make-subtree): Function now uses
3595 org-list-parse-list mechanism. 3601 `org-list-parse-list mechanism'.
3596 (org-list-make-subtrees): removed function. 3602 (org-list-make-subtrees): Removed function.
3597 (org-list-to-generic): added a parameter and every parameter can be a 3603 (org-list-to-generic): Added a parameter and every parameter can
3598 sexp returning a string, for finer control. 3604 be a sexp returning a string, for finer control.
3599 (org-list-to-html, org-list-to-latex, org-list-to-texinfo): slight 3605 (org-list-to-html, org-list-to-latex, org-list-to-texinfo): Slight
3600 modifications to apply changes to org-list-to-generic. 3606 modifications to apply changes to `org-list-to-generic'.
3601 (org-list-to-subtree): new function. 3607 (org-list-to-subtree): New function.
3602 3608
36032011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 36092011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3604 3610
3605 * org.el (org-beginning-of-line): apply changes to 3611 * org.el (org-beginning-of-line): Apply changes to
3606 `org-item-beginning-re' to correct sub-expression reference. 3612 `org-item-beginning-re' to correct sub-expression reference.
3607 3613
36082011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 36142011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3609 3615
3610 * org-docbook.el (org-export-docbook-list-line): even with 3616 * org-docbook.el (org-export-docbook-list-line): Even with
3611 alphabetical lists, Org shouldn't enforce a particular list type 3617 alphabetical lists, Org shouldn't enforce a particular list type
3612 to exporters. This is a job for style files. 3618 to exporters. This is a job for style files.
3613 3619
3614 * org-html.el (org-html-export-list-line): ib idem. 3620 * org-html.el (org-html-export-list-line): Ib idem.
3615 3621
36162011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 36222011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3617 3623
3618 * org-list.el (org-at-item-counter-p): new function. 3624 * org-list.el (org-at-item-counter-p): New function.
3619 (org-list-parse-list): handle counters and list depth. 3625 (org-list-parse-list): Handle counters and list depth.
3620 (org-list-to-generic): a special string is used when an item has a 3626 (org-list-to-generic): A special string is used when an item has a
3621 counter. 3627 counter.
3622 (org-list-to-latex): use new special string for counters. This fixes 3628 (org-list-to-latex): Use new special string for counters. This
3623 the counter bug in LaTeX export, as the enumi counter was the only one 3629 fixes the counter bug in LaTeX export, as the enumi counter was
3624 modified. 3630 the only one modified.
3625 3631
3626 * org-latex.el (org-export-latex-lists): use new 3632 * org-latex.el (org-export-latex-lists): Use new
3627 `org-list-parse-list' output. 3633 `org-list-parse-list' output.
3628 3634
36292011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 36352011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3630 3636
3631 * org-list.el (org-list-get-list-type): new function. 3637 * org-list.el (org-list-get-list-type): New function.
3632 (org-list-parse-list): use new function. 3638 (org-list-parse-list): Use new function.
3633 3639
3634 * org-html.el (org-html-export-list-line): use new function. 3640 * org-html.el (org-html-export-list-line): Use new function.
3635 3641
3636 * org-docbook.el (org-export-docbook-list-line): use new function. 3642 * org-docbook.el (org-export-docbook-list-line): Use new function.
3637 3643
36382011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 36442011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3639 3645
3640 * org-list.el (org-alphabetical-lists): new variable 3646 * org-list.el (org-alphabetical-lists): New variable
3641 (org-item-re, org-list-full-item, org-cycle-list-bullet, 3647 (org-item-re, org-list-full-item, org-cycle-list-bullet)
3642 org-list-struct-fix-bul, org-list-inc-bullet-maybe): reflect 3648 (org-list-struct-fix-bul, org-list-inc-bullet-maybe): Reflect
3643 introduction of the new variable. 3649 introduction of the new variable.
3644 (org-item-beginning-re): changed into a function, so any modification 3650 (org-item-beginning-re): Changed into a function, so any
3645 of `org-alphabetical-lists' will not require reloading Org. 3651 modification of `org-alphabetical-lists' will not require
3646 (org-at-item-p, org-toggle-checkbox, org-update-checkbox-count, 3652 reloading Org.
3647 org-list-parse-list, org-list-send-list): reflect changes to 3653 (org-at-item-p, org-toggle-checkbox, org-update-checkbox-count)
3654 (org-list-parse-list, org-list-send-list): Reflect changes to
3648 `org-item-beginning-re'. 3655 `org-item-beginning-re'.
3649 (org-list-use-alpha-bul-p): new function. 3656 (org-list-use-alpha-bul-p): New function.
3650 3657
3651 * org.el (org-check-for-hidden): reflect changes to 3658 * org.el (org-check-for-hidden): Reflect changes to
3652 `org-item-beginning-re'. 3659 `org-item-beginning-re'.
3653 3660
3654 * org-capture.el (org-capture-place-item): reflect changes to 3661 * org-capture.el (org-capture-place-item): Reflect changes to
3655 `org-item-beginning-re'. 3662 `org-item-beginning-re'.
3656 3663
3657 * org-docbook.el (org-export-docbook-list-line): handle new type 3664 * org-docbook.el (org-export-docbook-list-line): handle New type
3658 of items. 3665 of items.
3659 3666
3660 * org-exp.el (org-export-mark-list-end) 3667 * org-exp.el (org-export-mark-list-end)
3661 (org-export-mark-list-properties): reflect changes to 3668 (org-export-mark-list-properties): Reflect changes to
3662 `org-item-beginning-re'. 3669 `org-item-beginning-re'.
3663 3670
3664 * org-html.el (org-html-export-list-line): handle new type of 3671 * org-html.el (org-html-export-list-line): Handle new type of
3665 items. 3672 items.
3666 3673
3667 * org-latex.el (org-export-latex-lists): handle new type of items 3674 * org-latex.el (org-export-latex-lists): Handle new type of items
3668 and reflect changes to `org-item-beginning-re'. 3675 and reflect changes to `org-item-beginning-re'.
3669 3676
3670 * org-ascii.el (org-export-ascii-preprocess): handle new counters. 3677 * org-ascii.el (org-export-ascii-preprocess): Handle new counters.
3671 3678
36722011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 36792011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3673 3680
3674 * org-list.el (org-list-end-re): removed function and made it a 3681 * org-list.el (org-list-end-re): Removed function and made it a
3675 variable. There's no need for the overhead of calling the function 3682 variable. There's no need for the overhead of calling the
3676 every at every line in a list. User will have to reload Org if he 3683 function every at every line in a list. User will have to reload
3677 change value of either `org-list-end-regexp' or 3684 Org if he change value of either `org-list-end-regexp' or
3678 `org-empty-line-terminates-plain-lists'. 3685 `org-empty-line-terminates-plain-lists'.
3679 (org-in-item-p,org-list-struct,org-list-parse-list): apply change. 3686 (org-in-item-p,org-list-struct,org-list-parse-list): Apply change.
3680 3687
3681 * org-exp.el (org-export-mark-list-end) 3688 * org-exp.el (org-export-mark-list-end)
3682 (org-export-mark-list-properties): apply change 3689 (org-export-mark-list-properties): Apply change
3683 3690
3684 * org-latex.el (org-export-latex-lists): apply change. Also 3691 * org-latex.el (org-export-latex-lists): Apply change. Also
3685 prevent items with org-example property to be considered as real 3692 prevent items with org-example property to be considered as real
3686 items. 3693 items.
3687 3694
36882011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 36952011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3689 3696
3690 * org-inlinetask.el (org-inlinetask-export-templates): slightly 3697 * org-inlinetask.el (org-inlinetask-export-templates): Slightly
3691 modify templates so environment boundaries don't interfere with 3698 modify templates so environment boundaries don't interfere with
3692 content of task. Unprotect content of task so it might benefit 3699 content of task. Unprotect content of task so it might benefit
3693 from further transformations. Set original-indentation property to 3700 from further transformations. Set original-indentation property to
3694 a high value to ensure that task is always in the last item of the 3701 a high value to ensure that task is always in the last item of the
3695 list. Also, apply templates later in export process. 3702 list. Also, apply templates later in export process.
3696 3703
3697 * org-list.el (org-list-struct): fix inline task skipping. 3704 * org-list.el (org-list-struct): Fix inline task skipping.
3698 3705
36992011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 37062011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3700 3707
3701 * org-latex.el (org-export-latex-lists): Search for unprotected 3708 * org-latex.el (org-export-latex-lists): Search for unprotected
3702 items only, and redefine `org-at-item'. This change is required 3709 items only, and redefine `org-at-item'. This change is required
3703 when verbatim lists are inserted during export, usually by Babel. 3710 when verbatim lists are inserted during export, usually by Babel.
3704 3711
37052011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 37122011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3706 3713
3707 * ob.el (org-babel-result-end): end position is end of current 3714 * ob.el (org-babel-result-end): End position is end of current
3708 sublist instead of bottom point, as results might be inserted in a 3715 sublist instead of bottom point, as results might be inserted in a
3709 list themselves. 3716 list themselves.
3710 3717
37112011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 37182011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3712 3719
3713 * org-list.el (org-list-automatic-rules): removed insert rule. 3720 * org-list.el (org-list-automatic-rules): Removed insert rule.
3714 (org-list-insert-item-generic): removed code preventing user to insert 3721 (org-list-insert-item-generic): Removed code preventing user to
3715 another item in a block within a list. It is because new list context 3722 insert another item in a block within a list. It is because new
3716 make it impossible to see if a point in a block is also in a list. 3723 list context make it impossible to see if a point in a block is
3724 also in a list.
3717 3725
37182011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 37262011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3719 3727
3720 * org-exp.el (org-export-preprocess-string): mark list endings 3728 * org-exp.el (org-export-preprocess-string): Mark list endings
3721 before babel blocks preprocessing starts, so blank lines that may 3729 before babel blocks preprocessing starts, so blank lines that may
3722 be inserted do not break list's structure. Then, mark list with 3730 be inserted do not break list's structure. Then, mark list with
3723 special properties required by exporters. Thus output from babel 3731 special properties required by exporters. Thus output from babel
3724 can easily be included in lists. 3732 can easily be included in lists.
3725 (org-export-mark-list-end): new function 3733 (org-export-mark-list-end): New function.
3726 (org-export-mark-list-properties): new function 3734 (org-export-mark-list-properties): New function.
3727 (org-export-mark-lists): removed function. It was split into the two 3735 (org-export-mark-lists): Removed function. It was split into the
3728 preceding functions. 3736 two preceding functions.
3729 3737
37302011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 37382011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3731 3739
3732 * org-list.el (org-update-checkbox-count): do not recompute every 3740 * org-list.el (org-update-checkbox-count): Do not recompute every
3733 list before next heading when there are more than one cookie in an 3741 list before next heading when there are more than one cookie in an
3734 headline. Moreover, ignore the case where cookie is inserted 3742 headline. Moreover, ignore the case where cookie is inserted
3735 neither at an heading nor at an item. 3743 neither at an heading nor at an item.
3736 3744
37372011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 37452011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3738 3746
3739 * org-list.el (org-sort-list): fix number of arguments to 3747 * org-list.el (org-sort-list): Fix number of arguments to
3740 `org-list-repair', plus make end-record go to end of item before 3748 `org-list-repair', plus make `end-record' go to end of item before
3741 any blank line to keep them from being swallowed in the sorting. 3749 any blank line to keep them from being swallowed in the sorting.
3742 3750
37432011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 37512011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3744 3752
3745 * org-list.el (org-list-forbidden-blocks): variable renamed from 3753 * org-list.el (org-list-forbidden-blocks): Renamed from
3746 org-list-blocks. 3754 `org-list-blocks'.
3747 (org-list-export-context): new variable 3755 (org-list-export-context): New variable.
3748 3756
37492011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 37572011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3750 3758
3751 * org-list.el (org-list-search-generic): renamed form 3759 * org-list.el (org-list-search-generic): Renamed form
3752 org-search-unenclosed-generic to reflect now behavior. Now, match 3760 `org-search-unenclosed-generic' to reflect the new behavior. Now,
3753 can only be in a valid context for lists, as determined by 3761 match can only be in a valid context for lists, as determined by
3754 `org-list-context'. 3762 `org-list-context'.
3755 (org-list-search-backward): renamed from 3763 (org-list-search-backward): Renamed from
3756 org-search-backward-unenclosed. 3764 `org-search-backward-unenclosed'.
3757 (org-list-search-forward): renamed from org-search-forward-unenclosed. 3765 (org-list-search-forward): Renamed from
3758 (org-toggle-checkbox,org-update-checkbox-count): use new functions. 3766 `org-search-forward-unenclosed'.
3759 (org-sort-list): using default regexp search functions as context is 3767 (org-toggle-checkbox,org-update-checkbox-count): Use new
3760 not required in this case. 3768 functions.
3769 (org-sort-list): Using default regexp search functions as context
3770 is not required in this case.
3761 3771
37622011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 37722011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3763 3773
3764 * org-exp.el (org-export-mark-lists): new function, replacing 3774 * org-exp.el (org-export-mark-lists): New function, replacing
3765 org-export-mark-list-ending. It adds information as text 3775 org-export-mark-list-ending. It adds information as text
3766 properties to every list, before changes done by exporter destruct 3776 properties to every list, before changes done by exporter destruct
3767 them. 3777 them.
3768 3778
37692011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 37792011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3770 3780
3771 * org-list.el (org-list-get-first-item): new alias for 3781 * org-list.el (org-list-get-first-item): New alias for
3772 org-list-get-list-begin 3782 `org-list-get-list-begin'.
3773 (org-list-get-last-item): new function 3783 (org-list-get-last-item): New function.
3774 (org-list-get-list-end): use org-list-get-last-item 3784 (org-list-get-list-end): Use `org-list-get-last-item'.
3775 3785
37762011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 37862011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3777 3787
3778 * org.el (org-get-string-indentation): moved in generally useful 3788 * org.el (org-get-string-indentation): Moved in generally useful
3779 functions section, as it wasn't specific to plain lists and that 3789 functions section, as it wasn't specific to plain lists and that
3780 no code was using it in org-list.el. 3790 no code was using it in org-list.el.
3781 3791
37822011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 37922011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3783 3793
3784 * org.el (org-skip-over-state-notes,org-store-log-note): use new 3794 * org.el (org-skip-over-state-notes,org-store-log-note): Use new
3785 accessors. 3795 accessors.
3786 3796
37872011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 37972011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3788 3798
3789 * org-list.el (org-list-indent-item-generic): remove error 3799 * org-list.el (org-list-indent-item-generic): Remove error
3790 messages happening before process. This belongs to interactive 3800 messages happening before process. This belongs to interactive
3791 functions. 3801 functions.
3792 (org-indent-item,org-indent-item-tree) 3802 (org-indent-item,org-indent-item-tree)
3793 (org-outdent-item,org-outdent-item-tree): ensure point or region 3803 (org-outdent-item,org-outdent-item-tree): Ensure point or region
3794 is correct before computing list structure. Return an error 3804 is correct before computing list structure. Return an error
3795 message otherwise. 3805 message otherwise.
3796 3806
37972011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 38072011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3798 3808
3799 * org-list.el (org-apply-on-list): use new structures. Function is 3809 * org-list.el (org-apply-on-list): Use new structures. Function
3800 now applied in reverse order so modifications do not change 3810 is now applied in reverse order so modifications do not change
3801 positions of items in buffer. 3811 positions of items in buffer.
3802 3812
38032011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 38132011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3804 3814
3805 * org-list.el (org-list-parse-list): rewrite of function to allow 3815 * org-list.el (org-list-parse-list): Rewrite of function to allow
3806 text following a sub-list in the same item. See docstring for an 3816 text following a sub-list in the same item. See docstring for an
3807 example of output. 3817 example of output.
3808 (org-list-to-generic): use new parsing function. 3818 (org-list-to-generic): Use new parsing function.
3809 (org-list-to-latex,org-list-to-html): minor change for clearer 3819 (org-list-to-latex,org-list-to-html): Minor change for clearer
3810 export. 3820 export.
3811 3821
38122011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 38222011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3813 3823
3814 * org-list.el (org-list-has-child-p): renamed from 3824 * org-list.el (org-list-has-child-p): Renamed from
3815 org-list-get-child. Returning first child is only useful as a 3825 `org-list-get-child'. Returning first child is only useful as a
3816 predicate, as we're allowing an item to have more than one 3826 predicate, as we are allowing an item to have more than one
3817 sub-list. 3827 sub-list.
3818 (org-list-indent-item-generic): use `org-list-has-child-p' instead of 3828 (org-list-indent-item-generic): Use `org-list-has-child-p' instead
3819 org-list-get-child. 3829 of org-list-get-child.
3820 (org-in-item-p): also return item beginning when list starts at 3830 (org-in-item-p): Also return item beginning when list starts at
3821 context beginning. 3831 context beginning.
3822 (org-list-get-parent): use of `org-list-struct-parent-alist' helper 3832 (org-list-get-parent): Use of `org-list-struct-parent-alist'
3823 function is not optional anymore. 3833 helper function is not optional anymore.
3824 (org-list-get-all-items): shorten code with the help of cl.el. 3834 (org-list-get-all-items): Shorten code with the help of cl.el.
3825 (org-list-get-children): now returns all children of item, even if 3835 (org-list-get-children): Now returns all children of item, even if
3826 they do not belong to the same list. Renamed from 3836 they do not belong to the same list. Renamed from
3827 org-list-get-all-children. 3837 `org-list-get-all-children'.
3828 (org-list-get-list-begin): function wasn't return value when item was 3838 (org-list-get-list-begin): Function wasn't return value when item
3829 already the first item of the list at point. 3839 was already the first item of the list at point.
3830 (org-list-get-list-end): function wasn't return value when item was 3840 (org-list-get-list-end): Function wasn't return value when item
3831 already the last item of the list at point. 3841 was already the last item of the list at point.
3832 (org-list-struct-fix-box,org-update-checkbox-count): now uses 3842 (org-list-struct-fix-box,org-update-checkbox-count): Now uses
3833 `org-list-get-children'. 3843 `org-list-get-children'.
3834 3844
38352011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 38452011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3836 3846
3837 * org.el (org-indent-line-function): Indentation of item's body 3847 * org.el (org-indent-line-function): Indentation of item's body
3838 starts just after the bullet, not after a checkbox. Moreover, As 3848 starts just after the bullet, not after a checkbox. Moreover, As
3839 `org-in-item-p' also returns item beginning position when point is 3849 `org-in-item-p' also returns item beginning position when point is
3840 in a list, do not compute it a second time. 3850 in a list, do not compute it a second time.
3841 3851
38422011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 38522011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3843 3853
3844 * org.el (org-ctrl-c-ctrl-c): when called at a list item, replace 3854 * org.el (org-ctrl-c-ctrl-c): When called at a list item, replace
3845 usage `org-repair-list', forcing another reading of the list, with 3855 usage `org-repair-list', forcing another reading of the list, with
3846 only needed subroutines. 3856 only needed subroutines.
3847 3857
38482011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 38582011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3849 3859
3850 * org-list.el (org-list-separating-blank-lines-number): use new 3860 * org-list.el (org-list-separating-blank-lines-number): Use new
3851 accessors. 3861 accessors.
3852 (org-list-insert-item-generic): use list structures to insert a new 3862 (org-list-insert-item-generic): Use list structures to insert a
3853 item. 3863 new item.
3854 (org-list-exchange-items): refactor and comment code. Now return new 3864 (org-list-exchange-items): Refactor and comment code. Now return
3855 struct instead of modifying it, as list sorting would sometimes eat 3865 new struct instead of modifying it, as list sorting would
3856 first item. 3866 sometimes eat first item.
3857 (org-move-item-down,org-move-item-up): reflect changes to 3867 (org-move-item-down,org-move-item-up): Reflect changes to
3858 `org-list-exchange-items'. 3868 `org-list-exchange-items'.
3859 (org-insert-item): as `org-in-item-p' also computes item beginning 3869 (org-insert-item): As `org-in-item-p' also computes item beginning
3860 when applicable, reuse the result. 3870 when applicable, reuse the result.
3861 3871
38622011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 38722011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3863 3873
3864 * org-list.el (org-list-in-item-p): unify methods for this 3874 * org-list.el (org-list-in-item-p): Unify methods for this
3865 predicate. 3875 predicate.
3866 (org-list-in-item-p-with-indent): removed function 3876 (org-list-in-item-p-with-indent): Removed function.
3867 (org-list-ending-between): removed function 3877 (org-list-ending-between): Removed function.
3868 (org-list-maybe-skip-block): removed function 3878 (org-list-maybe-skip-block): Removed function.
3869 (org-list-in-item-p-with-regexp): removed function 3879 (org-list-in-item-p-with-regexp): Removed function.
3870 (org-list-top-point-with-regexp): removed function 3880 (org-list-top-point-with-regexp): Removed function.
3871 (org-list-top-point-with-indent): removed function 3881 (org-list-top-point-with-indent): Removed function.
3872 (org-list-bottom-point-with-indent): removed function 3882 (org-list-bottom-point-with-indent): Removed function.
3873 (org-list-bottom-point-with-regexp): removed function 3883 (org-list-bottom-point-with-regexp): Removed function.
3874 (org-list-get-item-same-level): removed function 3884 (org-list-get-item-same-level): Removed function.
3875 (org-list-top-point): removed function 3885 (org-list-top-point): Removed function.
3876 (org-list-bottom-point): removed function 3886 (org-list-bottom-point): Removed function.
3877 (org-get-item-beginning): renamed to org-list-get-item-begin to be 3887 (org-get-item-beginning): Renamed to `org-list-get-item-begin' to
3878 consistent with naming policy of non-interactive functions. 3888 be consistent with naming policy of non-interactive functions.
3879 (org-get-beginning-of-list): removed function 3889 (org-get-beginning-of-list): Removed function.
3880 (org-beginning-of-item-list): use new accessors 3890 (org-beginning-of-item-list): Use new accessors.
3881 (org-get-end-of-list): removed function 3891 (org-get-end-of-list): Removed function.
3882 (org-end-of-list): use new accessors 3892 (org-end-of-list): Use new accessors.
3883 (org-get-end-of-item): removed function 3893 (org-get-end-of-item): Removed function.
3884 (org-end-of-item): use new accessors 3894 (org-end-of-item): Use new accessors.
3885 (org-get-previous-item): removed function 3895 (org-get-previous-item): Removed function.
3886 (org-previous-item): use new accessors 3896 (org-previous-item): Use new accessors.
3887 (org-get-next-item): removed function 3897 (org-get-next-item): Removed function.
3888 (org-next-item): use new accessors 3898 (org-next-item): Use new accessors.
3889 (org-end-of-item-before-blank): renamed to
3890 (org-list-get-item-end-before-blank): Use new accessors. 3899 (org-list-get-item-end-before-blank): Use new accessors.
3891 3900
38922011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 39012011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3893 3902
3894 * org-list.el (org-list-repair): removed optional argument 3903 * org-list.el (org-list-repair): Removed optional argument
3895 FORCE-BULLET. The job of this interactive function is to 3904 FORCE-BULLET. The job of this interactive function is to
3896 completely fix a list at point. Changing bullets is a separate 3905 completely fix a list at point. Changing bullets is a separate
3897 task. Also removed others optional arguments TOP and BOTTOM to 3906 task. Also removed others optional arguments TOP and BOTTOM to
3898 follow the new structures. 3907 follow the new structures.
3899 (org-list-indent-item-generic): remove need for TOP and BOTTOM. STRUCT 3908 (org-list-indent-item-generic): Remove need for TOP and BOTTOM.
3900 is a new required argument. This avoids computing a list structure 3909 STRUCT is a new required argument. This avoids computing a list
3901 many times when function is called more than once in a row, for 3910 structure many times when function is called more than once in a
3902 example in org-cycle-item-indentation. Use new accessors. Now, also 3911 row, for example in `org-cycle-item-indentation'. Use new
3903 call `org-update-checkbox-count-maybe'. 3912 accessors. Now, also call `org-update-checkbox-count-maybe'.
3904 (org-outdent-item,org-indent-item,org-outdent-item-tree,org-indent-item-tree): 3913 (org-outdent-item, org-indent-item, org-outdent-item-tree)
3905 remove need for TOP and BOTTOM. 3914 (org-indent-item-tree): Remove need for TOP and BOTTOM.
3906 (org-list-insert-item-generic): reflect changes to `org-list-repair'. 3915 (org-list-insert-item-generic): Reflect changes to `org-list-repair'.
3907 (org-list-exchange-items): use new accessors. Now modify struct to 3916 (org-list-exchange-items): Use new accessors. Now modify struct
3908 avoid re-reading it later. 3917 to avoid re-reading it later.
3909 (org-move-item-down): reflect changes to `org-list-repair'. Use new 3918 (org-move-item-down): Reflect changes to `org-list-repair'. Use
3919 new accessors.
3920 (org-move-item-up): Reflect changes to `org-list-repair'. Use new
3910 accessors. 3921 accessors.
3911 (org-move-item-up): reflect changes to `org-list-repair'. Use new 3922 (org-cycle-list-bullet): Use new structures. Also use a shortcut
3912 accessors. 3923 to `org-list-struct-fix-struct' in order to avoid unnecessary
3913 (org-cycle-list-bullet): use new structures. Also use a shortcut to 3924 fixes, like `org-list-struct-fix-box'
3914 `org-list-struct-fix-struct' in order to avoid unnecessary fixes, like 3925 (org-sort-list): Use of new structures. Renamed an internal
3915 `org-list-struct-fix-box' 3926 function for a little more clarity.
3916 (org-sort-list): use of new structures. Renamed an internal function 3927 (org-cycle-item-indentation): Remove dependency on
3917 for a little more clarity. 3928 `org-list-repair'. Use new accessors.
3918 (org-cycle-item-indentation): remove dependency on org-list-repair. 3929 (org-list-get-child): Correct bug when asking for the child of the
3919 Use new accessors. 3930 last item.
3920 (org-list-get-child): correct bug when asking for the child of the 3931 (org-list-exchange-items): Use new accessors.
3921 last item
3922 (org-list-exchange-items): use new accessors.
3923 3932
39242011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 39332011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3925 3934
3926 * org-list.el (org-list-blocks): new variable 3935 * org-list.el (org-list-blocks): New variable.
3927 (org-list-context): new function 3936 (org-list-context): New function.
3928 (org-list-full-item-re): new variable 3937 (org-list-full-item-re): New variable.
3929 (org-list-struct-assoc-at-point): use new varible 3938 (org-list-struct-assoc-at-point): Use new varible.
3930 (org-list-struct): rewrite of function. Now, list data is collected by 3939 (org-list-struct): Rewrite of function. Now, list data is
3931 looking at the list line after line. It reads the whole list each time 3940 collected by looking at the list line after line. It reads the
3932 because reading only a subtree was not enough for some operations, 3941 whole list each time because reading only a subtree was not enough
3933 like fixing checkboxes. It also removes the need to get 3942 for some operations, like fixing checkboxes. It also removes the
3934 `org-list-top-point' and `org-list-bottom-point' first. An added data 3943 need to get `org-list-top-point' and `org-list-bottom-point'
3935 is the position of item ending. This aims to be able to have list 3944 first. An added data is the position of item ending. This aims
3936 followed by text inside an item. 3945 to be able to have list followed by text inside an item.
3937 (org-list-struct-assoc-end): new function 3946 (org-list-struct-assoc-end): New function.
3938 (org-list-struct-parent-alist): new function 3947 (org-list-struct-parent-alist): New function.
3939 (org-list-get-parent): new function 3948 (org-list-get-parent): New function.
3940 (org-list-get-child): new function 3949 (org-list-get-child): New function.
3941 (org-list-get-next-item): new function 3950 (org-list-get-next-item): New function.
3942 (org-list-get-prev-item): new function 3951 (org-list-get-prev-item): New function.
3943 (org-list-get-subtree): use helper function `org-list-struct-prev-alist'. 3952 (org-list-get-subtree): Use helper function `org-list-struct-prev-alist'.
3944 (org-list-get-all-items): new function 3953 (org-list-get-all-items): New function.
3945 (org-list-get-all-children): new function 3954 (org-list-get-all-children): New function.
3946 (org-list-get-top-point): new function 3955 (org-list-get-top-point): New function.
3947 (org-list-get-bottom-point): new function 3956 (org-list-get-bottom-point): New function.
3948 (org-list-get-counter): new function 3957 (org-list-get-counter): New function.
3949 (org-list-get-item-end): new function 3958 (org-list-get-item-end): New function.
3950 (org-list-struct-fix-bul): rewrite for cleaner code. Make use of new 3959 (org-list-struct-fix-bul): Rewrite for cleaner code. Make use of
3951 accessors. 3960 new accessors.
3952 (org-list-struct-fix-ind): make use of new accessors. 3961 (org-list-struct-fix-ind): Make use of new accessors.
3953 (org-list-struct-fix-box): new function 3962 (org-list-struct-fix-box): New function.
3954 (org-list-struct-fix-checkboxes): removed function 3963 (org-list-struct-fix-checkboxes): Removed function.
3955 (org-list-struct-outdent): use new accessors. Use the fact that there 3964 (org-list-struct-outdent): Use new accessors. Use the fact that
3956 is no longer a virtual item at beginning of structure. 3965 there is no longer a virtual item at beginning of structure.
3957 (org-list-struct-indent): use helper functions 3966 (org-list-struct-indent): Use helper functions
3958 `org-list-struct-prev-alist' and `org-list-struct-parent-alist'. Also 3967 `org-list-struct-prev-alist' and `org-list-struct-parent-alist'.
3959 use new accessors. 3968 Also use new accessors.
3960 (org-list-struct-fix-struct): comment function. Call directly 3969 (org-list-struct-fix-struct): Comment function. Call directly
3961 `org-list-struct-apply-struct', without removing unchanged items 3970 `org-list-struct-apply-struct', without removing unchanged items
3962 first. 3971 first.
3963 (org-list-struct-apply-struct): comment function. Rewrite using new 3972 (org-list-struct-apply-struct): Comment function. Rewrite using
3964 accessors. Use new variable `org-list-full-item-re'. 3973 new accessors. Use new variable `org-list-full-item-re'.
3965 (org-list-shift-item-indentation): removed function, now included in 3974 (org-list-shift-item-indentation): Removed function, now included
3966 `org-list-struct-apply-struct' because it is too specific. 3975 in `org-list-struct-apply-struct' because it is too specific.
3967 3976
39682011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 39772011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3969 3978
3970 * org-list.el (org-toggle-checkbox): use structures to fix 3979 * org-list.el (org-toggle-checkbox): Use structures to fix
3971 checkboxes of a list 3980 checkboxes of a list.
3972 (org-update-checkbox-count): use structures to update cookies 3981 (org-update-checkbox-count): Use structures to update cookies.
3973 3982
39742011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 39832011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3975 3984
3976 * org-list.el (org-list-struct-fix-checkboxes): new function 3985 * org-list.el (org-list-struct-fix-checkboxes): New function.
3977 (org-checkbox-blocked-p): removed function 3986 (org-checkbox-blocked-p): Removed function.
3978 3987
39792011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 39882011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
3980 3989
3981 * org-list.el (org-list-get-all-items): new function 3990 * org-list.el (org-list-get-all-items): New function.
3982 (org-list-get-all-children): new function 3991 (org-list-get-all-children): New function.
3983 (org-list-get-nth): new function 3992 (org-list-get-nth): New function.
3984 (org-list-set-nth): new function 3993 (org-list-set-nth): New function.
3985 (org-list-get-ind): new function 3994 (org-list-get-ind): New function.
3986 (org-list-set-ind): new function 3995 (org-list-set-ind): New function.
3987 (org-list-get-bullet): new function 3996 (org-list-get-bullet): New function.
3988 (org-list-set-bullet): new function 3997 (org-list-set-bullet): New function.
3989 (org-list-get-checkbox): new function 3998 (org-list-get-checkbox): New function.
3990 (org-list-set-checkbox): new function 3999 (org-list-set-checkbox): New function.
3991 (org-list-struct-fix-bul): use new accessors 4000 (org-list-struct-fix-bul): Use new accessors.
3992 (org-list-repair): use new accessors 4001 (org-list-repair): Use new accessors.
3993 (org-list-indent-item-generic): make use of accessors 4002 (org-list-indent-item-generic): Make use of accessors.
3994 (org-list-get-parent): renamed from org-list-struct-get-parent 4003 (org-list-get-parent): Renamed from `org-list-struct-get-parent'.
3995 (org-list-get-child): renamed from org-list-struct-get-child 4004 (org-list-get-child): Renamed from `org-list-struct-get-child'.
3996 (org-list-struct-fix-ind): make use of accessors 4005 (org-list-struct-fix-ind): Make use of accessors.
3997 (org-list-get-next-item): new function 4006 (org-list-get-next-item): New function.
3998 (org-list-get-subtree): new function 4007 (org-list-get-subtree): New function.
3999 4008
40002011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 40092011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
4001 4010
4002 * org-list.el (org-list-struct-assoc-at-point): add checkbox to 4011 * org-list.el (org-list-struct-assoc-at-point): Add checkbox to
4003 list structure 4012 list structure.
4004 4013
4005 * org-list.el (org-list-struct-assoc-at-point): add checkbox as 4014 * org-list.el (org-list-struct-assoc-at-point): Add checkbox as
4006 value in structure 4015 value in structure.
4007 4016
4008 * org-list.el (org-list-struct-apply-struct): also apply 4017 * org-list.el (org-list-struct-apply-struct): Also apply
4009 checkboxes 4018 checkboxes.
4010 4019
40112011-07-28 Bastien Guerry <bzg@gnu.org> 40202011-07-28 Bastien Guerry <bzg@gnu.org>
4012 4021
4013 * org-latex.el (org-export-latex-content): bind local variables 4022 * org-latex.el (org-export-latex-content): Bind local variables
4014 for export in the temporary export buffer. 4023 for export in the temporary export buffer.
4015 4024
40162011-07-28 David Maus <dmaus@ictsoc.de> 40252011-07-28 David Maus <dmaus@ictsoc.de>
4017 4026
4018 * org-protocol.el (org-protocol-unhex-single-byte-sequence) 4027 * org-protocol.el (org-protocol-unhex-single-byte-sequence)
4019 (org-protocol-unhex-string, org-protocol-unhex-compound): Change date 4028 (org-protocol-unhex-string, org-protocol-unhex-compound): Change
4020 of obsolete declaration to 2011-02-17. 4029 date of obsolete declaration to 2011-02-17.
4021 4030
40222011-07-28 David Maus <dmaus@ictsoc.de> 40312011-07-28 David Maus <dmaus@ictsoc.de>
4023 4032
@@ -4115,10 +4124,10 @@
4115 4124
41162011-07-28 Bastien Guerry <bzg@gnu.org> 41252011-07-28 Bastien Guerry <bzg@gnu.org>
4117 4126
4118 * org-publish.el (org-publish-cache-ctime-of-src): improve 4127 * org-publish.el (org-publish-cache-ctime-of-src): Improve
4119 docstring. 4128 docstring.
4120 (org-publish-find-title): New option to explicitly reset the 4129 (org-publish-find-title): New option to explicitly reset the title
4121 title in the cache. 4130 in the cache.
4122 (org-publish-format-file-entry): Use this new option. 4131 (org-publish-format-file-entry): Use this new option.
4123 4132
41242011-07-28 Dan Davison <dandavison7@gmail.com> 41332011-07-28 Dan Davison <dandavison7@gmail.com>
@@ -4130,19 +4139,20 @@
41302011-07-28 Dan Davison <dandavison7@gmail.com> 41392011-07-28 Dan Davison <dandavison7@gmail.com>
4131 4140
4132 * org-exp.el (org-export-format-source-code-or-example): Allow 4141 * org-exp.el (org-export-format-source-code-or-example): Allow
4133 empty string as second element in minted/listings options 4142 empty string as second element in minted/listings options.
4134 4143
41352011-07-28 Dan Davison <dandavison7@gmail.com> 41442011-07-28 Dan Davison <dandavison7@gmail.com>
4136 4145
4137 * org-exp.el (org-export-format-source-code-or-example): Support 4146 * org-exp.el (org-export-format-source-code-or-example): Support
4138 new user-customizable options 4147 new user-customizable options.
4139 (org-export-latex-custom-lang-environments): Ensure new variable is defined 4148 (org-export-latex-custom-lang-environments): Ensure new variable
4140 (org-export-latex-listings-options): Ensure new variable is defined 4149 is defined.
4141 (org-export-latex-minted-options): Ensure new variable is defined 4150 (org-export-latex-listings-options): Ensure new variable is defined.
4151 (org-export-latex-minted-options): Ensure new variable is defined.
4142 4152
41432011-07-28 Bastien Guerry <bzg@gnu.org> 41532011-07-28 Bastien Guerry <bzg@gnu.org>
4144 4154
4145 * org-html.el (org-export-as-html): handle the case when 4155 * org-html.el (org-export-as-html): Handle the case when
4146 `org-export-html-validation-link' is nil to keep backward 4156 `org-export-html-validation-link' is nil to keep backward
4147 compatible with the old default value of this variable. 4157 compatible with the old default value of this variable.
4148 4158
@@ -4154,19 +4164,19 @@
41542011-07-28 Christian Moe <mail@christianmoe.com> (tiny change) 41642011-07-28 Christian Moe <mail@christianmoe.com> (tiny change)
4155 4165
4156 * org-bbdb.el (org-bbdb-export): When a link description has been 4166 * org-bbdb.el (org-bbdb-export): When a link description has been
4157 added by org-export-normalize-links, use path instead (remove the 4167 added by `org-export-normalize-links', use path instead (remove
4158 `bbdb:' prefix). 4168 the `bbdb:' prefix).
4159 4169
41602011-07-28 Bastien Guerry <bzg@gnu.org> 41702011-07-28 Bastien Guerry <bzg@gnu.org>
4161 4171
4162 * org-ascii.el (org-export-ascii-underline): Put the level's 4172 * org-ascii.el (org-export-ascii-underline): Put the level's
4163 characters in the right order, as documented by the docstring. 4173 characters in the right order, as documented by the docstring.
4164 (org-ascii-level-start): select the right char for underlining 4174 (org-ascii-level-start): Select the right char for underlining
4165 headlines. 4175 headlines.
4166 4176
41672011-07-28 Bastien Guerry <bzg@gnu.org> 41772011-07-28 Bastien Guerry <bzg@gnu.org>
4168 4178
4169 * org-src.el (org-edit-src-code): allow to edit source code from 4179 * org-src.el (org-edit-src-code): Allow to edit source code from
4170 modes derived from Org. 4180 modes derived from Org.
4171 4181
41722011-07-28 Niels Giesen <niels.giesen@gmail.com> 41822011-07-28 Niels Giesen <niels.giesen@gmail.com>
@@ -4187,8 +4197,7 @@
4187 Send a message when no entry is marked. 4197 Send a message when no entry is marked.
4188 (org-agenda-bulk-action): Fix bug about scattering deadlines. 4198 (org-agenda-bulk-action): Fix bug about scattering deadlines.
4189 Send an error when trying to scatter outside an agenda or a 4199 Send an error when trying to scatter outside an agenda or a
4190 timeline view. Silently fail when trying to scatter sexp 4200 timeline view. Silently fail when trying to scatter sexp entries.
4191 entries.
4192 4201
41932011-07-28 Bastien Guerry <bzg@gnu.org> 42022011-07-28 Bastien Guerry <bzg@gnu.org>
4194 4203
@@ -4219,11 +4228,12 @@
4219 4228
4220 * org-src.el (org-edit-src-code): When generating the code edit 4229 * org-src.el (org-edit-src-code): When generating the code edit
4221 buffer, it is necessary for several variables to inherit their 4230 buffer, it is necessary for several variables to inherit their
4222 values from the parent org buffer. These changes collect all such 4231 values from the parent org buffer. These changes collect all such
4223 variables together into a single association list of 4232 variables together into a single association list of
4224 (variable-name value) pairs. In addition, a new variable is added 4233 `(variable-name value)' pairs. In addition, a new variable is
4225 to the list: `org-edit-src-content-indentation'. This has the 4234 added to the list: `org-edit-src-content-indentation'. This has
4226 effect that a buffer local value can be used for that variable. 4235 the effect that a buffer local value can be used for that
4236 variable.
4227 4237
42282011-07-28 Dan Davison <dandavison7@gmail.com> 42382011-07-28 Dan Davison <dandavison7@gmail.com>
4229 4239
@@ -4246,12 +4256,12 @@
42462011-07-28 Dan Davison <dandavison7@gmail.com> 42562011-07-28 Dan Davison <dandavison7@gmail.com>
4247 4257
4248 * org.el (org-open-at-point): Fix bug when using prefix arg to 4258 * org.el (org-open-at-point): Fix bug when using prefix arg to
4249 construct `org-link-search' call. Rename prefix arg with a more 4259 construct `org-link-search' call. Rename prefix arg with a more
4250 generic name, to reflect its diverse uses in this function. 4260 generic name, to reflect its diverse uses in this function.
4251 4261
42522011-07-28 Rémi Vanicat <vanicat@debian.org> 42622011-07-28 Rémi Vanicat <vanicat@debian.org>
4253 4263
4254 * org-icalendar.el (org-icalendar-use-UTC-date-time): remove. 4264 * org-icalendar.el (org-icalendar-use-UTC-date-time): Remove.
4255 (org-icalendar-date-time-format): New custom variable. 4265 (org-icalendar-date-time-format): New custom variable.
4256 (org-icalendar-use-UTC-date-timep): New function. 4266 (org-icalendar-use-UTC-date-timep): New function.
4257 (org-ical-ts-to-string): Use the new variable. 4267 (org-ical-ts-to-string): Use the new variable.
@@ -4268,25 +4278,25 @@
4268 4278
42692011-07-28 Bastien <bastien.guerry@wikimedia.fr> 42792011-07-28 Bastien <bastien.guerry@wikimedia.fr>
4270 4280
4271 * org-capture.el (org-capture-templates): document currentfile for 4281 * org-capture.el (org-capture-templates): Document "currentfile"
4272 capture template. 4282 for capture template.
4273 (org-capture-templates): Allow to use currentfile for capture 4283 (org-capture-templates): Allow to use currentfile for capture
4274 templates. 4284 templates.
4275 (org-capture-set-target-location): Handle currentfile as a way 4285 (org-capture-set-target-location): Handle currentfile as a way to
4276 to setting the capture buffer. 4286 setting the capture buffer.
4277 4287
42782011-07-28 Bastien Guerry <bzg@gnu.org> 42882011-07-28 Bastien Guerry <bzg@gnu.org>
4279 4289
4280 * ob.el (org-babel-params-from-properties): don't wrap 4290 * ob.el (org-babel-params-from-properties): Don't wrap
4281 org-entry-get into condition-case. 4291 `org-entry-get' into `condition-case'.
4282 4292
42832011-07-28 Dan Davison <dandavison7@gmail.com> 42932011-07-28 Dan Davison <dandavison7@gmail.com>
4284 4294
4285 * org.el (org-entry-get): Don't look for a property drawer if we 4295 * org.el (org-entry-get): Don't look for a property drawer if we
4286 are before the first heading in the file. 4296 are before the first heading in the file.
4287 (org-entry-get-with-inheritance): Don't attempt to move up the tree if 4297 (org-entry-get-with-inheritance): Don't attempt to move up the
4288 we are before the first heading in the file. Also, enclose less of the 4298 tree if we are before the first heading in the file. Also,
4289 function in the save-excursion. 4299 enclose less of the function in the `save-excursion'.
4290 4300
42912011-07-28 Dan Davison <dandavison7@gmail.com> 43012011-07-28 Dan Davison <dandavison7@gmail.com>
4292 4302
@@ -4306,37 +4316,37 @@
4306 4316
43072011-07-28 Bastien Guerry <bzg@gnu.org> 43172011-07-28 Bastien Guerry <bzg@gnu.org>
4308 4318
4309 * org-info.el (org-info-store-link): use "#" to separate the info 4319 * org-info.el (org-info-store-link): Use "#" to separate the info
4310 file and the node. 4320 file and the node.
4311 (org-info-follow-link): use both "#" to separate the info file 4321 (org-info-follow-link): Use both "#" to separate the info file and
4312 and the node. Continue to use ":" for backward compatibility. 4322 the node. Continue to use ":" for backward compatibility.
4313 4323
43142011-07-28 Bastien Guerry <bzg@gnu.org> 43242011-07-28 Bastien Guerry <bzg@gnu.org>
4315 4325
4316 * org-icalendar.el (org-icalendar-honor-noexport-tag): New custom 4326 * org-icalendar.el (org-icalendar-honor-noexport-tag): New custom
4317 variable. 4327 variable.
4318 (org-print-icalendar-entries): Use this new variable to 4328 (org-print-icalendar-entries): Use this new variable to prevent
4319 prevent export of entries with a :noexport: tag. 4329 export of entries with a :noexport: tag.
4320 4330
43212011-07-28 Bastien Guerry <bzg@gnu.org> 43312011-07-28 Bastien Guerry <bzg@gnu.org>
4322 4332
4323 * org-exp.el (org-export-initial-scope): new custom variable. 4333 * org-exp.el (org-export-initial-scope): New custom variable.
4324 (org-export): Use this new variable. If there is an active 4334 (org-export): Use this new variable. If there is an active
4325 region, tell it when prompting the user for an export command. 4335 region, tell it when prompting the user for an export command.
4326 Also change the way the function handles selection of buffer 4336 Also change the way the function handles selection of buffer and
4327 and subtree export. 4337 subtree export.
4328 4338
43292011-07-28 Bastien Guerry <bzg@gnu.org> 43392011-07-28 Bastien Guerry <bzg@gnu.org>
4330 4340
4331 * org-html.el (org-export-html-auto-preamble) 4341 * org-html.el (org-export-html-auto-preamble)
4332 (org-export-html-auto-postamble): Remove. 4342 (org-export-html-auto-postamble): Remove.
4333 (org-export-html-preamble, org-export-html-postamble): Turn 4343 (org-export-html-preamble, org-export-html-postamble): Turn into
4334 into custom variables. Update the docstrings. 4344 custom variables. Update the docstrings.
4335 (org-export-html-preamble-format) 4345 (org-export-html-preamble-format)
4336 (org-export-html-postamble-format): New custom variables. 4346 (org-export-html-postamble-format): New custom variables.
4337 (org-export-as-html): Use org-export-html-postamble-format and 4347 (org-export-as-html): Use `org-export-html-postamble-format' and
4338 org-export-html-preamble-format. 4348 `org-export-html-preamble-format'.
4339 (org-export-html-title-format): delete. 4349 (org-export-html-title-format): Delete.
4340 4350
43412011-07-28 Eric Schulte <schulte.eric@gmail.com> 43512011-07-28 Eric Schulte <schulte.eric@gmail.com>
4342 4352
@@ -4353,14 +4363,14 @@
43532011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr> 43632011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
4354 4364
4355 * org-publish.el (org-publish-sitemap-date-format) 4365 * org-publish.el (org-publish-sitemap-date-format)
4356 (org-publish-sitemap-file-entry-format): new custom variables. 4366 (org-publish-sitemap-file-entry-format): New custom variables.
4357 (org-publish-projects): use these variables to format the sitemap 4367 (org-publish-projects): Use these variables to format the sitemap
4358 entries. 4368 entries.
4359 4369
43602011-07-28 Ulf Stegemann <ulf-news@zeitform.de> 43702011-07-28 Ulf Stegemann <ulf-news@zeitform.de>
4361 4371
4362 * org-gnus.el (org-gnus-store-link): Allow org-link creation from 4372 * org-gnus.el (org-gnus-store-link): Allow `org-link' creation
4363 message-mode. 4373 from `message-mode'.
4364 4374
43652011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 43752011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
4366 4376
@@ -4370,21 +4380,21 @@
4370 4380
43712011-07-28 Julien Danjou <julien@danjou.info> 43812011-07-28 Julien Danjou <julien@danjou.info>
4372 4382
4373 * org-agenda.el (org-agenda): Kill all local variables. This 4383 * org-agenda.el (org-agenda): Kill all local variables. This
4374 assures we are not keeping buffer variable from an old agenda view 4384 assures we are not keeping buffer variable from an old agenda view
4375 when switching to a new custom agenda. 4385 when switching to a new custom agenda.
4376 4386
43772011-07-28 Julien Danjou <julien@danjou.info> 43872011-07-28 Julien Danjou <julien@danjou.info>
4378 4388
4379 * org-crypt.el (org-encrypt-string): New function. 4389 * org-crypt.el (org-encrypt-string): New function.
4380 (org-encrypt-entry): Use org-encrypt-string to encrypt, so we use cached 4390 (org-encrypt-entry): Use org-encrypt-string to encrypt, so we use
4381 crypted values. 4391 cached crypted values.
4382 (org-decrypt-entry): Store crypted text in decrypted text. 4392 (org-decrypt-entry): Store crypted text in decrypted text.
4383 4393
43842011-07-28 Dan Davison <dandavison7@gmail.com> 43942011-07-28 Dan Davison <dandavison7@gmail.com>
4385 4395
4386 * ob-exp.el (org-babel-exp-lob-one-liners): Only replace the match 4396 * ob-exp.el (org-babel-exp-lob-one-liners): Only replace the match
4387 if a non-nil result is returned 4397 if a non-nil result is returned.
4388 4398
43892011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 43992011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
4390 4400
@@ -4393,7 +4403,7 @@
4393 4403
43942011-07-28 Bastien Guerry <bzg@gnu.org> 44042011-07-28 Bastien Guerry <bzg@gnu.org>
4395 4405
4396 * org.el (org-update-parent-todo-statistics): fix bug when 4406 * org.el (org-update-parent-todo-statistics): Fix bug when
4397 updating statistics from the column view. 4407 updating statistics from the column view.
4398 4408
43992011-07-28 Bastien Guerry <bzg@gnu.org> 44092011-07-28 Bastien Guerry <bzg@gnu.org>
@@ -4412,11 +4422,12 @@
44122011-07-28 Julien Danjou <julien@danjou.info> 44222011-07-28 Julien Danjou <julien@danjou.info>
4413 4423
4414 * org-faces.el (org-special-keyword): Make it inherited from 4424 * org-faces.el (org-special-keyword): Make it inherited from
4415 font-lock-keyword-face. 4425 `font-lock-keyword-face'.
4416 4426
44172011-07-28 Julien Danjou <julien@danjou.info> 44272011-07-28 Julien Danjou <julien@danjou.info>
4418 4428
4419 * org-faces.el (org-link): Make org-link inherits from link face. 4429 * org-faces.el (org-link): Make `org-link' inherits from `link'
4430 face.
4420 4431
44212011-07-28 Bastien Guerry <bzg@gnu.org> 44322011-07-28 Bastien Guerry <bzg@gnu.org>
4422 4433
@@ -4445,7 +4456,7 @@
4445 4456
44462011-07-28 Jason Dunsmore <emacs-orgmode@dunsmor.com> (tiny change) 44572011-07-28 Jason Dunsmore <emacs-orgmode@dunsmor.com> (tiny change)
4447 4458
4448 * org-html.el (org-html-handle-time-stamps): fix bug when 4459 * org-html.el (org-html-handle-time-stamps): Fix bug when
4449 exporting inactive timestamps. 4460 exporting inactive timestamps.
4450 4461
44512011-07-28 Bastien Guerry <bzg@gnu.org> 44622011-07-28 Bastien Guerry <bzg@gnu.org>
@@ -4459,8 +4470,7 @@
4459 4470
44602011-07-28 Bastien Guerry <bzg@gnu.org> 44712011-07-28 Bastien Guerry <bzg@gnu.org>
4461 4472
4462 * org-archive.el (org-archive-save-context-info): Fix docstring 4473 * org-archive.el (org-archive-save-context-info): Fix docstring.
4463 typo.
4464 4474
44652011-07-28 Julien Danjou <julien@danjou.info> 44752011-07-28 Julien Danjou <julien@danjou.info>
4466 4476
@@ -4471,8 +4481,8 @@
4471 4481
44722011-07-28 Julien Danjou <julien@danjou.info> 44822011-07-28 Julien Danjou <julien@danjou.info>
4473 4483
4474 * org-agenda.el (org-agenda-list): Use org-agenda-current-span as 4484 * org-agenda.el (org-agenda-list): Use `org-agenda-current-span'
4475 a possible default span if it is set. 4485 as a possible default span if it is set.
4476 4486
44772011-07-28 Dan Davison <dandavison7@gmail.com> 44872011-07-28 Dan Davison <dandavison7@gmail.com>
4478 4488
@@ -4480,15 +4490,15 @@
4480 (org-edit-src-code): Get rid of help message in echo area. 4490 (org-edit-src-code): Get rid of help message in echo area.
4481 4491
4482 * ob.el (org-babel-do-in-edit-buffer): Do not pass 'quietly 4492 * ob.el (org-babel-do-in-edit-buffer): Do not pass 'quietly
4483 argument to org-edit-src-code as this has been removed 4493 argument to org-edit-src-code as this has been removed.
4484 4494
44852011-07-28 Bastien Guerry <bzg@gnu.org> 44952011-07-28 Bastien Guerry <bzg@gnu.org>
4486 4496
4487 * org-latex.el (org-export-latex-emphasis-alist): use 4497 * org-latex.el (org-export-latex-emphasis-alist): Use
4488 \protectedtexttt for the =...= emphasis and \verb for the ~...~ 4498 \protectedtexttt for the =...= emphasis and \verb for the ~...~
4489 emphasis. 4499 emphasis.
4490 (org-export-latex-use-verb): now defaults to t. 4500 (org-export-latex-use-verb): Now defaults to t.
4491 (org-export-latex-emph-format): distinguish between =...= and 4501 (org-export-latex-emph-format): Distinguish between =...= and
4492 ~...~ emphasis. 4502 ~...~ emphasis.
4493 4503
44942011-07-28 Julien Danjou <julien@danjou.info> 45042011-07-28 Julien Danjou <julien@danjou.info>
@@ -4502,12 +4512,12 @@
4502 4512
45032011-07-28 Dan Davison <dandavison7@gmail.com> 45132011-07-28 Dan Davison <dandavison7@gmail.com>
4504 4514
4505 * ob-ref.el (org-babel-ref-resolve): save-window-excursion when 4515 * ob-ref.el (org-babel-ref-resolve): `save-window-excursion' when
4506 resolving references. 4516 resolving references.
4507 4517
45082011-07-28 Bastien Guerry <bzg@gnu.org> 45182011-07-28 Bastien Guerry <bzg@gnu.org>
4509 4519
4510 * org-html.el (org-export-html-html-helper-timestamp): use <hr/> 4520 * org-html.el (org-export-html-html-helper-timestamp): Use <hr/>
4511 instead of <hr> to keep w3c validator happy. 4521 instead of <hr> to keep w3c validator happy.
4512 4522
45132011-07-28 Dan Davison <dandavison7@gmail.com> 45232011-07-28 Dan Davison <dandavison7@gmail.com>
@@ -4523,8 +4533,8 @@
4523 4533
45242011-07-28 Eric Schulte <schulte.eric@gmail.com> 45342011-07-28 Eric Schulte <schulte.eric@gmail.com>
4525 4535
4526 * ob.el (org-babel-result-end): Replace call to org-in-item-p to 4536 * ob.el (org-babel-result-end): Replace call to `org-in-item-p' to
4527 the more specific org-at-item-p. 4537 the more specific `org-at-item-p'.
4528 4538
45292011-07-28 Eric Schulte <schulte.eric@gmail.com> 45392011-07-28 Eric Schulte <schulte.eric@gmail.com>
4530 4540
@@ -4576,17 +4586,18 @@
45762011-07-28 Dan Davison <dandavison7@gmail.com> 45862011-07-28 Dan Davison <dandavison7@gmail.com>
4577 4587
4578 * org-latex.el (org-export-as-latex): Process export property list 4588 * org-latex.el (org-export-as-latex): Process export property list
4579 with `org-export-process-option-filters' early in latex export 4589 with `org-export-process-option-filters' early in latex export.
4580 4590
45812011-07-28 Julien Danjou <julien@danjou.info> 45912011-07-28 Julien Danjou <julien@danjou.info>
4582 4592
4583 * org.el: Remove org-invisible-p: outline-invisible-p is available 4593 * org.el: Remove `org-invisible-p': `outline-invisible-p' is
4584 in Emacs 22 and in recent XEmacs 21. Replace in various files. 4594 available in Emacs 22 and in recent XEmacs 21. Replace in various
4595 files.
4585 4596
45862011-07-28 Julien Danjou <julien@danjou.info> 45972011-07-28 Julien Danjou <julien@danjou.info>
4587 4598
4588 * org-agenda.el (org-agenda-get-progress): Fix regexp for statep: 4599 * org-agenda.el (org-agenda-get-progress): Fix regexp for statep:
4589 it must has \\ at the end of the line. This avoid matching the 4600 it must has \\ at the end of the line. This avoid matching the
4590 following heading when there's no newline between the logged state 4601 following heading when there's no newline between the logged state
4591 and the next heading. 4602 and the next heading.
4592 4603
@@ -4596,9 +4607,8 @@
4596 4607
45972011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 46082011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
4598 4609
4599 * org.el (org-current-level): 4610 * org.el (org-current-level, org-store-link, org-mark-subtree):
4600 (org-store-link): 4611 Use `org-with-limited-levels'.
4601 (org-mark-subtree): Use `org-with-limited-levels'.
4602 4612
46032011-07-28 Jan Seeger <jan.seeger@thenybble.de> (tiny change) 46132011-07-28 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
4604 4614
@@ -4638,7 +4648,7 @@
46382011-07-28 Julien Danjou <julien@danjou.info> 46482011-07-28 Julien Danjou <julien@danjou.info>
4639 4649
4640 * org-agenda.el (org-agenda-get-blocks): Fix time of start/end of 4650 * org-agenda.el (org-agenda-get-blocks): Fix time of start/end of
4641 events with range. This display things like: <2011-01-22 Sat 4651 events with range. This display things like: <2011-01-22 Sat
4642 14:00>--<2011-01-23 Sun 20:00> correctly, with the event starting 4652 14:00>--<2011-01-23 Sun 20:00> correctly, with the event starting
4643 at 14:00 and ending at 20:00. 4653 at 14:00 and ending at 20:00.
4644 4654
@@ -4650,7 +4660,7 @@
4650 4660
46512011-07-28 Dan Davison <dandavison7@gmail.com> 46612011-07-28 Dan Davison <dandavison7@gmail.com>
4652 4662
4653 * ob.el (org-babel-merge-params): docstring typo. 4663 * ob.el (org-babel-merge-params): Docstring typo.
4654 4664
46552011-07-28 Dan Davison <dandavison7@gmail.com> 46652011-07-28 Dan Davison <dandavison7@gmail.com>
4656 4666
@@ -4660,11 +4670,11 @@
46602011-07-28 Dan Davison <dandavison7@gmail.com> 46702011-07-28 Dan Davison <dandavison7@gmail.com>
4661 4671
4662 * ob.el (org-babel-get-src-block-info): Alter order of merge 4672 * ob.el (org-babel-get-src-block-info): Alter order of merge
4663 arguments 4673 arguments.
4664 4674
46652011-07-28 Dan Davison <dandavison7@gmail.com> 46752011-07-28 Dan Davison <dandavison7@gmail.com>
4666 4676
4667 * ob-python.el: Test whether non-nil buffer is #<killed buffer> 4677 * ob-python.el: Test whether non-nil buffer is #<killed buffer>.
4668 4678
46692011-07-28 Eric Schulte <schulte.eric@gmail.com> 46792011-07-28 Eric Schulte <schulte.eric@gmail.com>
4670 4680
@@ -4696,12 +4706,12 @@
4696 4706
4697 * org-exp.el (org-export-handle-include-files): Support :lines 4707 * org-exp.el (org-export-handle-include-files): Support :lines
4698 property. 4708 property.
4699 (org-get-file-contents): New argument lines to include specify a range 4709 (org-get-file-contents): New argument lines to include specify a
4700 of lines to include. 4710 range of lines to include.
4701 4711
47022011-07-28 Bastien Guerry <bzg@gnu.org> 47122011-07-28 Bastien Guerry <bzg@gnu.org>
4703 4713
4704 * org.el (org-fast-tag-selection): Fix bug when assigning keys 4714 * org.el (org-fast-tag-selection): Fix bug when assigning keys.
4705 4715
47062011-07-28 Lawrence Mitchell <wence@gmx.li> 47162011-07-28 Lawrence Mitchell <wence@gmx.li>
4707 4717
@@ -4714,9 +4724,9 @@
4714 4724
47152011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 47252011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
4716 4726
4717 * org-complete.el (pcomplete/org-mode/link): 4727 * org-complete.el (pcomplete/org-mode/link)
4718 (pcomplete/org-mode/todo): 4728 (pcomplete/org-mode/todo, pcomplete/org-mode/prop): Copy list
4719 (pcomplete/org-mode/prop): Copy list before uniquifying. 4729 before uniquifying.
4720 4730
47212011-07-28 Eric Schulte <schulte.eric@gmail.com> 47312011-07-28 Eric Schulte <schulte.eric@gmail.com>
4722 4732
@@ -4727,15 +4737,15 @@
4727 4737
47282011-07-28 Bastien Guerry <bzg@gnu.org> 47382011-07-28 Bastien Guerry <bzg@gnu.org>
4729 4739
4730 * org.el (org-refile-check-position): send a more explicit message 4740 * org.el (org-refile-check-position): Send a more explicit message
4731 on how to clear the cache before refiling again. 4741 on how to clear the cache before refiling again.
4732 4742
47332011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 47432011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
4734 4744
4735 * org-agenda.el (org-agenda-skip-function-global): New option. 4745 * org-agenda.el (org-agenda-skip-function-global): New option.
4736 (org-agenda-skip-eval): New function. 4746 (org-agenda-skip-eval): New function.
4737 (org-agenda-skip): Use `org-agenda-skip-eval' and also check for the 4747 (org-agenda-skip): Use `org-agenda-skip-eval' and also check for
4738 global skipping condition. 4748 the global skipping condition.
4739 4749
47402011-07-28 David Maus <dmaus@ictsoc.de> 47502011-07-28 David Maus <dmaus@ictsoc.de>
4741 4751
@@ -4753,10 +4763,6 @@
4753 * ob.el (org-babel-update-block-body): Literal argument to 4763 * ob.el (org-babel-update-block-body): Literal argument to
4754 `replace-match' to allow insertion of text containing '\'. 4764 `replace-match' to allow insertion of text containing '\'.
4755 4765
47562011-07-28 Tassilo Horn <tassilo@member.fsf.org>
4757
4758 * org-gnus.el (org-gnus-store-link):
4759
47602011-07-28 Eric Schulte <schulte.eric@gmail.com> 47662011-07-28 Eric Schulte <schulte.eric@gmail.com>
4761 4767
4762 * ob-ref.el (org-babel-ref-parse): Allow passing empty strings 4768 * ob-ref.el (org-babel-ref-parse): Allow passing empty strings
@@ -4776,7 +4782,7 @@
47762011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 47822011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
4777 4783
4778 * org.el (org-sort-entries): Fix sorting with a bold emphasis at 4784 * org.el (org-sort-entries): Fix sorting with a bold emphasis at
4779 bol 4785 bol.
4780 4786
47812011-07-28 Eric Schulte <schulte.eric@gmail.com> 47872011-07-28 Eric Schulte <schulte.eric@gmail.com>
4782 4788
@@ -4791,8 +4797,8 @@
47912011-07-28 Eric Schulte <schulte.eric@gmail.com> 47972011-07-28 Eric Schulte <schulte.eric@gmail.com>
4792 4798
4793 * ob.el (org-babel-temp-file): Ensure that 4799 * ob.el (org-babel-temp-file): Ensure that
4794 org-babel-temporary-directory is bound before using. 4800 `org-babel-temporary-directory' is bound before using.
4795 (org-babel-remove-temporary-directory): Safer error throwing. 4801 (org-babel-remove-temporary-directory): Safer error throwing.
4796 4802
47972011-07-28 niels giesen <niels.giesen@gmail.com> 48032011-07-28 niels giesen <niels.giesen@gmail.com>
4798 4804
@@ -4819,11 +4825,12 @@
4819 4825
4820 * org.el (org-occur-next-match): New function. 4826 * org.el (org-occur-next-match): New function.
4821 (org-mode): Set the variable `next-error-function'. 4827 (org-mode): Set the variable `next-error-function'.
4822 (org-highlight-new-match): Add an `org-type' property to the overlays. 4828 (org-highlight-new-match): Add an `org-type' property to the
4829 overlays.
4823 4830
48242011-07-28 Eric Schulte <schulte.eric@gmail.com> 48312011-07-28 Eric Schulte <schulte.eric@gmail.com>
4825 4832
4826 * ob-calc.el: No longer require `calc-trail' on XEmacs 4833 * ob-calc.el: No longer require `calc-trail' on XEmacs.
4827 4834
48282011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 48352011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
4829 4836
@@ -4831,11 +4838,10 @@
4831 4838
48322011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 48392011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
4833 4840
4834 * org-special-blocks.el (htmlp): 4841 * org-special-blocks.el (htmlp, latexp, line): Add defvars for
4835 (latexp): 4842 dynamically scoped variables.
4836 (line): Add defvars for dynamically scoped variables.
4837 4843
4838 * org.el (org-modules): Move org-special-blocks into the core 4844 * org.el (org-modules): Move `org-special-blocks' into the core
4839 modules section. 4845 modules section.
4840 4846
48412011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 48472011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
@@ -4848,10 +4854,10 @@
4848 4854
48492011-07-28 Bernt Hansen <bernt@norang.ca> 48552011-07-28 Bernt Hansen <bernt@norang.ca>
4850 4856
4851 * org-agenda.el (org-agenda-goto): Display invisible entry text 4857 * org-agenda.el (org-agenda-goto): Display invisible entry text.
4852 4858
4853 * org-agenda.el (org-agenda-switch-to): Display invisible entry 4859 * org-agenda.el (org-agenda-switch-to): Display invisible entry
4854 text 4860 text.
4855 4861
48562011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 48622011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
4857 4863
@@ -4965,8 +4971,8 @@
4965 send graphical output to file by means of the ":results graphics" 4971 send graphical output to file by means of the ":results graphics"
4966 directive. 4972 directive.
4967 (org-babel-expand-body:R): Use `org-babel-R-graphical-output-file' 4973 (org-babel-expand-body:R): Use `org-babel-R-graphical-output-file'
4968 when constructing the R code to evaluate, which may be augmented with 4974 when constructing the R code to evaluate, which may be augmented
4969 code implementing the writing of graohical output to file. 4975 with code implementing the writing of graohical output to file.
4970 (org-babel-execute:R): Use `org-babel-R-graphical-output-file' to 4976 (org-babel-execute:R): Use `org-babel-R-graphical-output-file' to
4971 determine whether R is taking responsibility for writing output to 4977 determine whether R is taking responsibility for writing output to
4972 file; if so, this is signalled to ob.el by returning a nil result. 4978 file; if so, this is signalled to ob.el by returning a nil result.
@@ -4977,8 +4983,9 @@
4977 of src block execution. 4983 of src block execution.
4978 (org-babel-execute-src-block): Use `org-babel-format-result' when 4984 (org-babel-execute-src-block): Use `org-babel-format-result' when
4979 writing to file. 4985 writing to file.
4980 (org-babel-open-src-block-result): Use `org-babel-format-result' when 4986 (org-babel-open-src-block-result): Use `org-babel-format-result'
4981 displaying results in a buffer; name results buffer differently. 4987 when displaying results in a buffer. Name results buffer
4988 differently.
4982 4989
49832011-07-28 Dan Davison <dandavison7@gmail.com> 49902011-07-28 Dan Davison <dandavison7@gmail.com>
4984 4991
@@ -4999,10 +5006,12 @@
4999 5006
50002011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> 50072011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
5001 5008
5002 * org-inlinetask.el (org-inlinetask-in-task-p): small refactoring, 5009 * org-inlinetask.el (org-inlinetask-in-task-p): Small refactoring,
5003 do not modify match data either. 5010 do not modify match data either.
5004 (org-inlinetask-goto-end): small refactoring, remove case-sensitivity. 5011 (org-inlinetask-goto-end): Small refactoring, remove
5005 (org-inlinetask-goto-beginning): small refactoring, remove case-sensitivity. 5012 case-sensitivity.
5013 (org-inlinetask-goto-beginning): Small refactoring, remove
5014 case-sensitivity.
5006 5015
50072011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 50162011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
5008 5017
@@ -5085,8 +5094,8 @@
5085 5094
50862011-07-28 Lawrence Mitchell <wence@gmx.li> 50952011-07-28 Lawrence Mitchell <wence@gmx.li>
5087 5096
5088 * org.el (org-make-target-link-regexp): regexp-quote target before 5097 * org.el (org-make-target-link-regexp): `regexp-quote' target
5089 replacing whitespace. 5098 before replacing whitespace.
5090 5099
50912011-07-28 Eric Schulte <schulte.eric@gmail.com> 51002011-07-28 Eric Schulte <schulte.eric@gmail.com>
5092 5101
@@ -5101,7 +5110,7 @@
51012011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 51102011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
5102 5111
5103 * org-latex.el (org-export-latex-first-lines): Anchor outline 5112 * org-latex.el (org-export-latex-first-lines): Anchor outline
5104 regexp during LaTeX tree export 5113 regexp during LaTeX tree export.
5105 5114
51062011-07-28 Konrad Hinsen <konrad.hinsen@fastmail.net> 51152011-07-28 Konrad Hinsen <konrad.hinsen@fastmail.net>
5107 5116
@@ -5123,7 +5132,7 @@
5123 5132
5124 * org.el (org-entry-properties): Stop scanning for timestamps if a 5133 * org.el (org-entry-properties): Stop scanning for timestamps if a
5125 specific timestamp property (e.g., DEADLINE, SCHEDULED, etc.) is 5134 specific timestamp property (e.g., DEADLINE, SCHEDULED, etc.) is
5126 requested and a match is found. Also, if a specific timestamp 5135 requested and a match is found. Also, if a specific timestamp
5127 property is requested, do not push non-relevant timestamps onto 5136 property is requested, do not push non-relevant timestamps onto
5128 property list. 5137 property list.
5129 5138
@@ -5140,9 +5149,9 @@
5140 5149
51412011-07-28 Achim Gratz <Stromeko@nexgo.de> 51502011-07-28 Achim Gratz <Stromeko@nexgo.de>
5142 5151
5143 * org.el: remove spurious linebreak introduced by earlier patch. 5152 * org.el: Remove spurious linebreak introduced by earlier patch.
5144 5153
5145 * ob.el, ob-ref.el: remove double fix of the same problem. 5154 * ob.el, ob-ref.el: Remove double fix of the same problem.
5146 5155
51472011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 51562011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
5148 5157
@@ -5150,7 +5159,7 @@
5150 5159
51512011-07-28 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> 51602011-07-28 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl>
5152 5161
5153 * org-html.el (org-export-html-mathjax-template): displaymath 5162 * org-html.el (org-export-html-mathjax-template): Displaymath
5154 environment and MathJax. 5163 environment and MathJax.
5155 5164
51562011-07-28 Carsten Dominik <carsten.dominik@gmail.com> 51652011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
diff --git a/lisp/window.el b/lisp/window.el
index fb9d38c6503..e68af18ab8e 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -2795,7 +2795,7 @@ displayed there."
2795 (let* ((buffer (window-normalize-buffer buffer-or-name))) 2795 (let* ((buffer (window-normalize-buffer buffer-or-name)))
2796 ;; If `buffer-or-name' is not on the selected frame we unrecord it 2796 ;; If `buffer-or-name' is not on the selected frame we unrecord it
2797 ;; although it's not "here" (call it a feature). 2797 ;; although it's not "here" (call it a feature).
2798 (unrecord-buffer buffer) 2798 (bury-buffer-internal buffer)
2799 ;; Handle case where `buffer-or-name' is nil and the current buffer 2799 ;; Handle case where `buffer-or-name' is nil and the current buffer
2800 ;; is shown in the selected window. 2800 ;; is shown in the selected window.
2801 (cond 2801 (cond
@@ -2928,12 +2928,9 @@ one. If non-nil, reset `quit-restore' parameter to nil."
2928 (eq (window-buffer window) (nth 1 quit-restore))) 2928 (eq (window-buffer window) (nth 1 quit-restore)))
2929 (window-dedicated-p window)) 2929 (window-dedicated-p window))
2930 (setq deletable (window-deletable-p window))) 2930 (setq deletable (window-deletable-p window)))
2931 ;; WINDOW can be deleted. 2931 ;; Check if WINDOW's frame can be deleted.
2932 (unrecord-buffer buffer)
2933 (if (eq deletable 'frame) 2932 (if (eq deletable 'frame)
2934 ;; WINDOW's frame can be deleted.
2935 (delete-frame (window-frame window)) 2933 (delete-frame (window-frame window))
2936 ;; Just delete WINDOW.
2937 (delete-window window)) 2934 (delete-window window))
2938 ;; If the previously selected window is still alive, select it. 2935 ;; If the previously selected window is still alive, select it.
2939 (when (window-live-p (nth 2 quit-restore)) 2936 (when (window-live-p (nth 2 quit-restore))
@@ -2944,17 +2941,17 @@ one. If non-nil, reset `quit-restore' parameter to nil."
2944 ;; in the first place. 2941 ;; in the first place.
2945 (eq (window-buffer window) (nth 3 quit-restore))) 2942 (eq (window-buffer window) (nth 3 quit-restore)))
2946 (setq resize (with-current-buffer buffer temp-buffer-resize-mode)) 2943 (setq resize (with-current-buffer buffer temp-buffer-resize-mode))
2947 ;; Unrecord buffer.
2948 (unrecord-buffer buffer)
2949 (unrecord-window-buffer window buffer) 2944 (unrecord-window-buffer window buffer)
2950 ;; Display buffer stored in the quit-restore parameter. 2945 ;; Display buffer stored in the quit-restore parameter.
2951 (set-window-dedicated-p window nil) 2946 (set-window-dedicated-p window nil)
2952 (set-window-buffer window (nth 0 quit-restore)) 2947 (set-window-buffer window (nth 0 quit-restore))
2953 (set-window-start window (nth 1 quit-restore)) 2948 (set-window-start window (nth 1 quit-restore))
2954 (set-window-point window (nth 2 quit-restore)) 2949 (set-window-point window (nth 2 quit-restore))
2955 (when (and resize (/= (nth 4 quit-restore) (window-total-size window))) 2950 (and resize
2956 (window-resize 2951 (/= (nth 4 quit-restore) (window-total-size window))
2957 window (- (nth 4 quit-restore) (window-total-size window)))) 2952 (window-resize window
2953 (- (nth 4 quit-restore)
2954 (window-total-size window))))
2958 ;; Reset the quit-restore parameter. 2955 ;; Reset the quit-restore parameter.
2959 (set-window-parameter window 'quit-restore nil) 2956 (set-window-parameter window 'quit-restore nil)
2960 (when (window-live-p (nth 5 quit-restore)) 2957 (when (window-live-p (nth 5 quit-restore))
@@ -2963,11 +2960,12 @@ one. If non-nil, reset `quit-restore' parameter to nil."
2963 ;; Otherwise, show another buffer in WINDOW and reset the 2960 ;; Otherwise, show another buffer in WINDOW and reset the
2964 ;; quit-restore parameter. 2961 ;; quit-restore parameter.
2965 (set-window-parameter window 'quit-restore nil) 2962 (set-window-parameter window 'quit-restore nil)
2966 (unrecord-buffer buffer)
2967 (switch-to-prev-buffer window 'bury-or-kill))) 2963 (switch-to-prev-buffer window 'bury-or-kill)))
2968 2964
2969 ;; Kill WINDOW's old-buffer if requested 2965 ;; Kill WINDOW's old-buffer if requested
2970 (if kill (kill-buffer buffer)))) 2966 (if kill
2967 (kill-buffer buffer)
2968 (bury-buffer-internal buffer))))
2971 2969
2972;;; Splitting windows. 2970;;; Splitting windows.
2973(defsubst window-split-min-size (&optional horizontal) 2971(defsubst window-split-min-size (&optional horizontal)
diff --git a/src/ChangeLog b/src/ChangeLog
index 49d5325c224..b5ba1d74f8a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,4 +1,4 @@
12011-08-24 Paul Eggert <eggert@cs.ucla.edu> 12011-08-25 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Integer and memory overflow issues (Bug#9196). 3 Integer and memory overflow issues (Bug#9196).
4 4
@@ -422,6 +422,32 @@
422 (gs_load): Use printmax_t to print the widest integers possible. 422 (gs_load): Use printmax_t to print the widest integers possible.
423 Check for integer overflow when computing image height and width. 423 Check for integer overflow when computing image height and width.
424 424
4252011-08-25 Eli Zaretskii <eliz@gnu.org>
426
427 * xdisp.c (compute_display_string_pos): Return 2 in DISP_PROP when
428 the display spec is of the form `(space ...)'.
429 (handle_display_spec): Return the value returned by
430 handle_single_display_spec, not just 1 or zero.
431 (handle_single_display_spec): If the display spec is of the form
432 `(space ...)', and specifies display in the text area, return 2
433 rather than 1.
434 (try_cursor_movement): Check for the need to scroll more
435 accurately, and prefer exact match for point under bidi. Don't
436 advance `row' beyond the last row of the window.
437
438 * dispextern.h (struct bidi_it): Rename the disp_prop_p member
439 into disp_prop; all users changed.
440
441 * bidi.c (bidi_fetch_char): If compute_display_string_pos returns
442 DISP_PROP = 2, substitute the u+2029 PARAGRAPH SEPARATOR character
443 for the text covered by the display property.
444
4452011-08-25 Chong Yidong <cyd@stupidchicken.com>
446
447 * buffer.c (Fbury_buffer_internal): Rename from Funrecord_buffer.
448 Change return value to nil.
449 (Frecord_buffer): Delete unused function.
450
4252011-08-24 Eli Zaretskii <eliz@gnu.org> 4512011-08-24 Eli Zaretskii <eliz@gnu.org>
426 452
427 * xdisp.c (Fcurrent_bidi_paragraph_direction): For unibyte 453 * xdisp.c (Fcurrent_bidi_paragraph_direction): For unibyte
diff --git a/src/bidi.c b/src/bidi.c
index 433c2cea2dc..564d985f890 100644
--- a/src/bidi.c
+++ b/src/bidi.c
@@ -553,7 +553,7 @@ bidi_cache_iterator_state (struct bidi_it *bidi_it, int resolved)
553 bidi_cache[idx].next_for_ws = bidi_it->next_for_ws; 553 bidi_cache[idx].next_for_ws = bidi_it->next_for_ws;
554 bidi_cache[idx].ignore_bn_limit = bidi_it->ignore_bn_limit; 554 bidi_cache[idx].ignore_bn_limit = bidi_it->ignore_bn_limit;
555 bidi_cache[idx].disp_pos = bidi_it->disp_pos; 555 bidi_cache[idx].disp_pos = bidi_it->disp_pos;
556 bidi_cache[idx].disp_prop_p = bidi_it->disp_prop_p; 556 bidi_cache[idx].disp_prop = bidi_it->disp_prop;
557 } 557 }
558 558
559 bidi_cache_last_idx = idx; 559 bidi_cache_last_idx = idx;
@@ -827,7 +827,7 @@ bidi_init_it (EMACS_INT charpos, EMACS_INT bytepos, int frame_window_p,
827 bidi_it->prev_for_neutral.orig_type = UNKNOWN_BT; 827 bidi_it->prev_for_neutral.orig_type = UNKNOWN_BT;
828 bidi_it->sor = L2R; /* FIXME: should it be user-selectable? */ 828 bidi_it->sor = L2R; /* FIXME: should it be user-selectable? */
829 bidi_it->disp_pos = -1; /* invalid/unknown */ 829 bidi_it->disp_pos = -1; /* invalid/unknown */
830 bidi_it->disp_prop_p = 0; 830 bidi_it->disp_prop = 0;
831 /* We can only shrink the cache if we are at the bottom level of its 831 /* We can only shrink the cache if we are at the bottom level of its
832 "stack". */ 832 "stack". */
833 if (bidi_cache_start == 0) 833 if (bidi_cache_start == 0)
@@ -907,19 +907,22 @@ bidi_char_at_pos (EMACS_INT bytepos, const unsigned char *s, int unibyte)
907 907
908/* Fetch and return the character at BYTEPOS/CHARPOS. If that 908/* Fetch and return the character at BYTEPOS/CHARPOS. If that
909 character is covered by a display string, treat the entire run of 909 character is covered by a display string, treat the entire run of
910 covered characters as a single character u+FFFC, and return their 910 covered characters as a single character, either u+2029 or u+FFFC,
911 combined length in CH_LEN and NCHARS. DISP_POS specifies the 911 and return their combined length in CH_LEN and NCHARS. DISP_POS
912 character position of the next display string, or -1 if not yet 912 specifies the character position of the next display string, or -1
913 computed. DISP_PROP_P non-zero means that there's really a display 913 if not yet computed. DISP_PROP non-zero means that there's really
914 string at DISP_POS, as opposed to when we searched till DISP_POS 914 a display string at DISP_POS, as opposed to when we searched till
915 without findingone. When the next character is at or beyond that 915 DISP_POS without finding one. If DISP_PROP is 2, it means the
916 position, the function updates DISP_POS with the position of the 916 display spec is of the form `(space ...)', which is replaced with
917 next display string. STRING->s is the C string to iterate, or NULL 917 u+2029 to handle it as a paragraph separator. When the next
918 if iterating over a buffer or a Lisp string; in the latter case, 918 character is at or beyond that position, the function updates
919 STRING->lstring is the Lisp string. */ 919 DISP_POS with the position of the next display string. STRING->s
920 is the C string to iterate, or NULL if iterating over a buffer or a
921 Lisp string; in the latter case, STRING->lstring is the Lisp
922 string. */
920static inline int 923static inline int
921bidi_fetch_char (EMACS_INT bytepos, EMACS_INT charpos, EMACS_INT *disp_pos, 924bidi_fetch_char (EMACS_INT bytepos, EMACS_INT charpos, EMACS_INT *disp_pos,
922 int *disp_prop_p, struct bidi_string_data *string, 925 int *disp_prop, struct bidi_string_data *string,
923 int frame_window_p, EMACS_INT *ch_len, EMACS_INT *nchars) 926 int frame_window_p, EMACS_INT *ch_len, EMACS_INT *nchars)
924{ 927{
925 int ch; 928 int ch;
@@ -933,7 +936,7 @@ bidi_fetch_char (EMACS_INT bytepos, EMACS_INT charpos, EMACS_INT *disp_pos,
933 { 936 {
934 SET_TEXT_POS (pos, charpos, bytepos); 937 SET_TEXT_POS (pos, charpos, bytepos);
935 *disp_pos = compute_display_string_pos (&pos, string, frame_window_p, 938 *disp_pos = compute_display_string_pos (&pos, string, frame_window_p,
936 disp_prop_p); 939 disp_prop);
937 } 940 }
938 941
939 /* Fetch the character at BYTEPOS. */ 942 /* Fetch the character at BYTEPOS. */
@@ -943,9 +946,9 @@ bidi_fetch_char (EMACS_INT bytepos, EMACS_INT charpos, EMACS_INT *disp_pos,
943 *ch_len = 1; 946 *ch_len = 1;
944 *nchars = 1; 947 *nchars = 1;
945 *disp_pos = endpos; 948 *disp_pos = endpos;
946 *disp_prop_p = 0; 949 *disp_prop = 0;
947 } 950 }
948 else if (charpos >= *disp_pos && *disp_prop_p) 951 else if (charpos >= *disp_pos && *disp_prop)
949 { 952 {
950 EMACS_INT disp_end_pos; 953 EMACS_INT disp_end_pos;
951 954
@@ -953,9 +956,23 @@ bidi_fetch_char (EMACS_INT bytepos, EMACS_INT charpos, EMACS_INT *disp_pos,
953 property. Hopefully, it will never be needed. */ 956 property. Hopefully, it will never be needed. */
954 if (charpos > *disp_pos) 957 if (charpos > *disp_pos)
955 abort (); 958 abort ();
956 /* Return the Unicode Object Replacement Character to represent 959 /* Text covered by `display' properties and overlays with
957 the entire run of characters covered by the display string. */ 960 display properties or display strings is handled as a single
958 ch = 0xFFFC; 961 character that represents the entire run of characters
962 covered by the display property. */
963 if (*disp_prop == 2)
964 {
965 /* `(space ...)' display specs are handled as paragraph
966 separators for the purposes of the reordering; see UAX#9
967 section 3 and clause HL1 in section 4.3 there. */
968 ch = 0x2029;
969 }
970 else
971 {
972 /* All other display specs are handled as the Unicode Object
973 Replacement Character. */
974 ch = 0xFFFC;
975 }
959 disp_end_pos = compute_display_string_end (*disp_pos, string); 976 disp_end_pos = compute_display_string_end (*disp_pos, string);
960 *nchars = disp_end_pos - *disp_pos; 977 *nchars = disp_end_pos - *disp_pos;
961 if (*nchars <= 0) 978 if (*nchars <= 0)
@@ -1013,11 +1030,11 @@ bidi_fetch_char (EMACS_INT bytepos, EMACS_INT charpos, EMACS_INT *disp_pos,
1013 /* If we just entered a run of characters covered by a display 1030 /* If we just entered a run of characters covered by a display
1014 string, compute the position of the next display string. */ 1031 string, compute the position of the next display string. */
1015 if (charpos + *nchars <= endpos && charpos + *nchars > *disp_pos 1032 if (charpos + *nchars <= endpos && charpos + *nchars > *disp_pos
1016 && *disp_prop_p) 1033 && *disp_prop)
1017 { 1034 {
1018 SET_TEXT_POS (pos, charpos + *nchars, bytepos + *ch_len); 1035 SET_TEXT_POS (pos, charpos + *nchars, bytepos + *ch_len);
1019 *disp_pos = compute_display_string_pos (&pos, string, frame_window_p, 1036 *disp_pos = compute_display_string_pos (&pos, string, frame_window_p,
1020 disp_prop_p); 1037 disp_prop);
1021 } 1038 }
1022 1039
1023 return ch; 1040 return ch;
@@ -1125,7 +1142,7 @@ bidi_paragraph_init (bidi_dir_t dir, struct bidi_it *bidi_it, int no_default_p)
1125 int ch; 1142 int ch;
1126 EMACS_INT ch_len, nchars; 1143 EMACS_INT ch_len, nchars;
1127 EMACS_INT pos, disp_pos = -1; 1144 EMACS_INT pos, disp_pos = -1;
1128 int disp_prop_p = 0; 1145 int disp_prop = 0;
1129 bidi_type_t type; 1146 bidi_type_t type;
1130 const unsigned char *s; 1147 const unsigned char *s;
1131 1148
@@ -1173,7 +1190,7 @@ bidi_paragraph_init (bidi_dir_t dir, struct bidi_it *bidi_it, int no_default_p)
1173 bytepos = pstartbyte; 1190 bytepos = pstartbyte;
1174 if (!string_p) 1191 if (!string_p)
1175 pos = BYTE_TO_CHAR (bytepos); 1192 pos = BYTE_TO_CHAR (bytepos);
1176 ch = bidi_fetch_char (bytepos, pos, &disp_pos, &disp_prop_p, 1193 ch = bidi_fetch_char (bytepos, pos, &disp_pos, &disp_prop,
1177 &bidi_it->string, 1194 &bidi_it->string,
1178 bidi_it->frame_window_p, &ch_len, &nchars); 1195 bidi_it->frame_window_p, &ch_len, &nchars);
1179 type = bidi_get_type (ch, NEUTRAL_DIR); 1196 type = bidi_get_type (ch, NEUTRAL_DIR);
@@ -1198,7 +1215,7 @@ bidi_paragraph_init (bidi_dir_t dir, struct bidi_it *bidi_it, int no_default_p)
1198 break; 1215 break;
1199 /* Fetch next character and advance to get past it. */ 1216 /* Fetch next character and advance to get past it. */
1200 ch = bidi_fetch_char (bytepos, pos, &disp_pos, 1217 ch = bidi_fetch_char (bytepos, pos, &disp_pos,
1201 &disp_prop_p, &bidi_it->string, 1218 &disp_prop, &bidi_it->string,
1202 bidi_it->frame_window_p, &ch_len, &nchars); 1219 bidi_it->frame_window_p, &ch_len, &nchars);
1203 pos += nchars; 1220 pos += nchars;
1204 bytepos += ch_len; 1221 bytepos += ch_len;
@@ -1335,7 +1352,7 @@ bidi_resolve_explicit_1 (struct bidi_it *bidi_it)
1335 bidi_it->ch_len = 1; 1352 bidi_it->ch_len = 1;
1336 bidi_it->nchars = 1; 1353 bidi_it->nchars = 1;
1337 bidi_it->disp_pos = (string_p ? bidi_it->string.schars : ZV); 1354 bidi_it->disp_pos = (string_p ? bidi_it->string.schars : ZV);
1338 bidi_it->disp_prop_p = 0; 1355 bidi_it->disp_prop = 0;
1339 } 1356 }
1340 else 1357 else
1341 { 1358 {
@@ -1343,7 +1360,7 @@ bidi_resolve_explicit_1 (struct bidi_it *bidi_it)
1343 display string, treat the entire run of covered characters as 1360 display string, treat the entire run of covered characters as
1344 a single character u+FFFC. */ 1361 a single character u+FFFC. */
1345 curchar = bidi_fetch_char (bidi_it->bytepos, bidi_it->charpos, 1362 curchar = bidi_fetch_char (bidi_it->bytepos, bidi_it->charpos,
1346 &bidi_it->disp_pos, &bidi_it->disp_prop_p, 1363 &bidi_it->disp_pos, &bidi_it->disp_prop,
1347 &bidi_it->string, bidi_it->frame_window_p, 1364 &bidi_it->string, bidi_it->frame_window_p,
1348 &bidi_it->ch_len, &bidi_it->nchars); 1365 &bidi_it->ch_len, &bidi_it->nchars);
1349 } 1366 }
@@ -2078,7 +2095,7 @@ bidi_level_of_next_char (struct bidi_it *bidi_it)
2078 struct bidi_string_data bs = bidi_it->string; 2095 struct bidi_string_data bs = bidi_it->string;
2079 bidi_type_t chtype; 2096 bidi_type_t chtype;
2080 int fwp = bidi_it->frame_window_p; 2097 int fwp = bidi_it->frame_window_p;
2081 int dpp = bidi_it->disp_prop_p; 2098 int dpp = bidi_it->disp_prop;
2082 2099
2083 if (bidi_it->nchars <= 0) 2100 if (bidi_it->nchars <= 0)
2084 abort (); 2101 abort ();
diff --git a/src/buffer.c b/src/buffer.c
index 5a6484e3105..37d2975c8c7 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1698,27 +1698,16 @@ record_buffer (Lisp_Object buffer)
1698 call1 (Vrun_hooks, Qbuffer_list_update_hook); 1698 call1 (Vrun_hooks, Qbuffer_list_update_hook);
1699} 1699}
1700 1700
1701DEFUN ("record-buffer", Frecord_buffer, Srecord_buffer, 1, 1, 0,
1702 doc: /* Move BUFFER to the front of the buffer list.
1703Return BUFFER. */)
1704 (Lisp_Object buffer)
1705{
1706 CHECK_BUFFER (buffer);
1707
1708 record_buffer (buffer);
1709
1710 return buffer;
1711}
1712 1701
1713 /* Move BUFFER to the end of the buffer (a)lists. Do nothing if the 1702/* Move BUFFER to the end of the buffer (a)lists. Do nothing if the
1714 buffer is killed. For the selected frame's buffer list this moves 1703 buffer is killed. For the selected frame's buffer list this moves
1715 BUFFER to its end even if it was never shown in that frame. If 1704 BUFFER to its end even if it was never shown in that frame. If
1716 this happens we have a feature, hence `unrecord-buffer' should be 1705 this happens we have a feature, hence `unrecord-buffer' should be
1717 called only when BUFFER was shown in the selected frame. */ 1706 called only when BUFFER was shown in the selected frame. */
1718 1707
1719DEFUN ("unrecord-buffer", Funrecord_buffer, Sunrecord_buffer, 1, 1, 0, 1708DEFUN ("bury-buffer-internal", Fbury_buffer_internal, Sbury_buffer_internal,
1720 doc: /* Move BUFFER to the end of the buffer list. 1709 1, 1, 0,
1721Return BUFFER. */) 1710 doc: /* Move BUFFER to the end of the buffer list. */)
1722 (Lisp_Object buffer) 1711 (Lisp_Object buffer)
1723{ 1712{
1724 Lisp_Object aelt, aelt_cons, tem; 1713 Lisp_Object aelt, aelt_cons, tem;
@@ -1746,7 +1735,7 @@ Return BUFFER. */)
1746 if (!NILP (Vrun_hooks)) 1735 if (!NILP (Vrun_hooks))
1747 call1 (Vrun_hooks, Qbuffer_list_update_hook); 1736 call1 (Vrun_hooks, Qbuffer_list_update_hook);
1748 1737
1749 return buffer; 1738 return Qnil;
1750} 1739}
1751 1740
1752DEFUN ("set-buffer-major-mode", Fset_buffer_major_mode, Sset_buffer_major_mode, 1, 1, 0, 1741DEFUN ("set-buffer-major-mode", Fset_buffer_major_mode, Sset_buffer_major_mode, 1, 1, 0,
@@ -6017,8 +6006,7 @@ Functions running this hook are `get-buffer-create',
6017 defsubr (&Sother_buffer); 6006 defsubr (&Sother_buffer);
6018 defsubr (&Sbuffer_enable_undo); 6007 defsubr (&Sbuffer_enable_undo);
6019 defsubr (&Skill_buffer); 6008 defsubr (&Skill_buffer);
6020 defsubr (&Srecord_buffer); 6009 defsubr (&Sbury_buffer_internal);
6021 defsubr (&Sunrecord_buffer);
6022 defsubr (&Sset_buffer_major_mode); 6010 defsubr (&Sset_buffer_major_mode);
6023 defsubr (&Scurrent_buffer); 6011 defsubr (&Scurrent_buffer);
6024 defsubr (&Sset_buffer); 6012 defsubr (&Sset_buffer);
diff --git a/src/dispextern.h b/src/dispextern.h
index 9cefea27e1c..f0be8ec136b 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -1861,8 +1861,9 @@ struct bidi_it {
1861 bidi_dir_t sor; /* direction of start-of-run in effect */ 1861 bidi_dir_t sor; /* direction of start-of-run in effect */
1862 int scan_dir; /* direction of text scan, 1: forw, -1: back */ 1862 int scan_dir; /* direction of text scan, 1: forw, -1: back */
1863 EMACS_INT disp_pos; /* position of display string after ch */ 1863 EMACS_INT disp_pos; /* position of display string after ch */
1864 int disp_prop_p; /* if non-zero, there really is a 1864 int disp_prop; /* if non-zero, there really is a
1865 `display' property/string at disp_pos */ 1865 `display' property/string at disp_pos;
1866 if 2, the property is a `space' spec */
1866 int stack_idx; /* index of current data on the stack */ 1867 int stack_idx; /* index of current data on the stack */
1867 /* Note: Everything from here on is not copied/saved when the bidi 1868 /* Note: Everything from here on is not copied/saved when the bidi
1868 iterator state is saved, pushed, or popped. So only put here 1869 iterator state is saved, pushed, or popped. So only put here
diff --git a/src/xdisp.c b/src/xdisp.c
index e7aee09682b..5f7020ba379 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -3143,11 +3143,15 @@ next_overlay_change (EMACS_INT pos)
3143 text property whose value is a string. STRING is data about the 3143 text property whose value is a string. STRING is data about the
3144 string to iterate; if STRING->lstring is nil, we are iterating a 3144 string to iterate; if STRING->lstring is nil, we are iterating a
3145 buffer. FRAME_WINDOW_P is non-zero when we are displaying a window 3145 buffer. FRAME_WINDOW_P is non-zero when we are displaying a window
3146 on a GUI frame. */ 3146 on a GUI frame. DISP_PROP is set to zero if we searched
3147 MAX_DISP_SCAN characters forward without finding any display
3148 strings, non-zero otherwise. It is set to 2 if the display string
3149 uses any kind of `(space ...)' spec that will produce a stretch of
3150 white space in the text area. */
3147EMACS_INT 3151EMACS_INT
3148compute_display_string_pos (struct text_pos *position, 3152compute_display_string_pos (struct text_pos *position,
3149 struct bidi_string_data *string, 3153 struct bidi_string_data *string,
3150 int frame_window_p, int *disp_prop_p) 3154 int frame_window_p, int *disp_prop)
3151{ 3155{
3152 /* OBJECT = nil means current buffer. */ 3156 /* OBJECT = nil means current buffer. */
3153 Lisp_Object object = 3157 Lisp_Object object =
@@ -3160,8 +3164,9 @@ compute_display_string_pos (struct text_pos *position,
3160 EMACS_INT lim = 3164 EMACS_INT lim =
3161 (charpos < eob - MAX_DISP_SCAN) ? charpos + MAX_DISP_SCAN : eob; 3165 (charpos < eob - MAX_DISP_SCAN) ? charpos + MAX_DISP_SCAN : eob;
3162 struct text_pos tpos; 3166 struct text_pos tpos;
3167 int rv = 0;
3163 3168
3164 *disp_prop_p = 1; 3169 *disp_prop = 1;
3165 3170
3166 if (charpos >= eob 3171 if (charpos >= eob
3167 /* We don't support display properties whose values are strings 3172 /* We don't support display properties whose values are strings
@@ -3170,7 +3175,7 @@ compute_display_string_pos (struct text_pos *position,
3170 /* C strings cannot have display properties. */ 3175 /* C strings cannot have display properties. */
3171 || (string->s && !STRINGP (object))) 3176 || (string->s && !STRINGP (object)))
3172 { 3177 {
3173 *disp_prop_p = 0; 3178 *disp_prop = 0;
3174 return eob; 3179 return eob;
3175 } 3180 }
3176 3181
@@ -3187,9 +3192,11 @@ compute_display_string_pos (struct text_pos *position,
3187 || !EQ (Fget_char_property (make_number (charpos - 1), Qdisplay, 3192 || !EQ (Fget_char_property (make_number (charpos - 1), Qdisplay,
3188 object), 3193 object),
3189 spec)) 3194 spec))
3190 && handle_display_spec (NULL, spec, object, Qnil, &tpos, bufpos, 3195 && (rv = handle_display_spec (NULL, spec, object, Qnil, &tpos, bufpos,
3191 frame_window_p)) 3196 frame_window_p)))
3192 { 3197 {
3198 if (rv == 2)
3199 *disp_prop = 2;
3193 return charpos; 3200 return charpos;
3194 } 3201 }
3195 3202
@@ -3201,7 +3208,7 @@ compute_display_string_pos (struct text_pos *position,
3201 CHARPOS (tpos) = XFASTINT (pos); 3208 CHARPOS (tpos) = XFASTINT (pos);
3202 if (CHARPOS (tpos) >= lim) 3209 if (CHARPOS (tpos) >= lim)
3203 { 3210 {
3204 *disp_prop_p = 0; 3211 *disp_prop = 0;
3205 break; 3212 break;
3206 } 3213 }
3207 if (STRINGP (object)) 3214 if (STRINGP (object))
@@ -3212,8 +3219,10 @@ compute_display_string_pos (struct text_pos *position,
3212 if (!STRINGP (object)) 3219 if (!STRINGP (object))
3213 bufpos = CHARPOS (tpos); 3220 bufpos = CHARPOS (tpos);
3214 } while (NILP (spec) 3221 } while (NILP (spec)
3215 || !handle_display_spec (NULL, spec, object, Qnil, &tpos, bufpos, 3222 || !(rv = handle_display_spec (NULL, spec, object, Qnil, &tpos,
3216 frame_window_p)); 3223 bufpos, frame_window_p)));
3224 if (rv == 2)
3225 *disp_prop = 2;
3217 3226
3218 return CHARPOS (tpos); 3227 return CHARPOS (tpos);
3219} 3228}
@@ -4075,7 +4084,9 @@ handle_display_prop (struct it *it)
4075/* Subroutine of handle_display_prop. Returns non-zero if the display 4084/* Subroutine of handle_display_prop. Returns non-zero if the display
4076 specification in SPEC is a replacing specification, i.e. it would 4085 specification in SPEC is a replacing specification, i.e. it would
4077 replace the text covered by `display' property with something else, 4086 replace the text covered by `display' property with something else,
4078 such as an image or a display string. 4087 such as an image or a display string. If SPEC includes any kind or
4088 `(space ...) specification, the value is 2; this is used by
4089 compute_display_string_pos, which see.
4079 4090
4080 See handle_single_display_spec for documentation of arguments. 4091 See handle_single_display_spec for documentation of arguments.
4081 frame_window_p is non-zero if the window being redisplayed is on a 4092 frame_window_p is non-zero if the window being redisplayed is on a
@@ -4092,6 +4103,7 @@ handle_display_spec (struct it *it, Lisp_Object spec, Lisp_Object object,
4092 EMACS_INT bufpos, int frame_window_p) 4103 EMACS_INT bufpos, int frame_window_p)
4093{ 4104{
4094 int replacing_p = 0; 4105 int replacing_p = 0;
4106 int rv;
4095 4107
4096 if (CONSP (spec) 4108 if (CONSP (spec)
4097 /* Simple specerties. */ 4109 /* Simple specerties. */
@@ -4110,11 +4122,11 @@ handle_display_spec (struct it *it, Lisp_Object spec, Lisp_Object object,
4110 { 4122 {
4111 for (; CONSP (spec); spec = XCDR (spec)) 4123 for (; CONSP (spec); spec = XCDR (spec))
4112 { 4124 {
4113 if (handle_single_display_spec (it, XCAR (spec), object, overlay, 4125 if ((rv = handle_single_display_spec (it, XCAR (spec), object,
4114 position, bufpos, replacing_p, 4126 overlay, position, bufpos,
4115 frame_window_p)) 4127 replacing_p, frame_window_p)))
4116 { 4128 {
4117 replacing_p = 1; 4129 replacing_p = rv;
4118 /* If some text in a string is replaced, `position' no 4130 /* If some text in a string is replaced, `position' no
4119 longer points to the position of `object'. */ 4131 longer points to the position of `object'. */
4120 if (!it || STRINGP (object)) 4132 if (!it || STRINGP (object))
@@ -4126,11 +4138,11 @@ handle_display_spec (struct it *it, Lisp_Object spec, Lisp_Object object,
4126 { 4138 {
4127 int i; 4139 int i;
4128 for (i = 0; i < ASIZE (spec); ++i) 4140 for (i = 0; i < ASIZE (spec); ++i)
4129 if (handle_single_display_spec (it, AREF (spec, i), object, overlay, 4141 if ((rv = handle_single_display_spec (it, AREF (spec, i), object,
4130 position, bufpos, replacing_p, 4142 overlay, position, bufpos,
4131 frame_window_p)) 4143 replacing_p, frame_window_p)))
4132 { 4144 {
4133 replacing_p = 1; 4145 replacing_p = rv;
4134 /* If some text in a string is replaced, `position' no 4146 /* If some text in a string is replaced, `position' no
4135 longer points to the position of `object'. */ 4147 longer points to the position of `object'. */
4136 if (!it || STRINGP (object)) 4148 if (!it || STRINGP (object))
@@ -4139,9 +4151,10 @@ handle_display_spec (struct it *it, Lisp_Object spec, Lisp_Object object,
4139 } 4151 }
4140 else 4152 else
4141 { 4153 {
4142 if (handle_single_display_spec (it, spec, object, overlay, 4154 if ((rv = handle_single_display_spec (it, spec, object, overlay,
4143 position, bufpos, 0, frame_window_p)) 4155 position, bufpos, 0,
4144 replacing_p = 1; 4156 frame_window_p)))
4157 replacing_p = rv;
4145 } 4158 }
4146 4159
4147 return replacing_p; 4160 return replacing_p;
@@ -4517,8 +4530,17 @@ handle_single_display_spec (struct it *it, Lisp_Object spec, Lisp_Object object,
4517 4530
4518 if (valid_p && !display_replaced_p) 4531 if (valid_p && !display_replaced_p)
4519 { 4532 {
4533 int retval = 1;
4534
4520 if (!it) 4535 if (!it)
4521 return 1; 4536 {
4537 /* Callers need to know whether the display spec is any kind
4538 of `(space ...)' spec that is about to affect text-area
4539 display. */
4540 if (CONSP (value) && EQ (XCAR (value), Qspace) && NILP (location))
4541 retval = 2;
4542 return retval;
4543 }
4522 4544
4523 /* Save current settings of IT so that we can restore them 4545 /* Save current settings of IT so that we can restore them
4524 when we are finished with the glyph property value. */ 4546 when we are finished with the glyph property value. */
@@ -4576,6 +4598,7 @@ handle_single_display_spec (struct it *it, Lisp_Object spec, Lisp_Object object,
4576 it->method = GET_FROM_STRETCH; 4598 it->method = GET_FROM_STRETCH;
4577 it->object = value; 4599 it->object = value;
4578 *position = it->position = start_pos; 4600 *position = it->position = start_pos;
4601 retval = 1 + (it->area == TEXT_AREA);
4579 } 4602 }
4580#ifdef HAVE_WINDOW_SYSTEM 4603#ifdef HAVE_WINDOW_SYSTEM
4581 else 4604 else
@@ -4593,7 +4616,7 @@ handle_single_display_spec (struct it *it, Lisp_Object spec, Lisp_Object object,
4593 } 4616 }
4594#endif /* HAVE_WINDOW_SYSTEM */ 4617#endif /* HAVE_WINDOW_SYSTEM */
4595 4618
4596 return 1; 4619 return retval;
4597 } 4620 }
4598 4621
4599 /* Invalid property or property not supported. Restore 4622 /* Invalid property or property not supported. Restore
@@ -5554,7 +5577,7 @@ forward_to_next_line_start (struct it *it, int *skipped_p,
5554 if (it->bidi_it.disp_pos < limit) 5577 if (it->bidi_it.disp_pos < limit)
5555 { 5578 {
5556 it->bidi_it.disp_pos = limit; 5579 it->bidi_it.disp_pos = limit;
5557 it->bidi_it.disp_prop_p = 0; 5580 it->bidi_it.disp_prop = 0;
5558 } 5581 }
5559 do { 5582 do {
5560 bprev = it->bidi_it; 5583 bprev = it->bidi_it;
@@ -14568,19 +14591,39 @@ try_cursor_movement (Lisp_Object window, struct text_pos startp, int *scroll_ste
14568 14591
14569 do 14592 do
14570 { 14593 {
14594 int at_zv_p = 0, exact_match_p = 0;
14595
14571 if (MATRIX_ROW_START_CHARPOS (row) <= PT 14596 if (MATRIX_ROW_START_CHARPOS (row) <= PT
14572 && PT <= MATRIX_ROW_END_CHARPOS (row) 14597 && PT <= MATRIX_ROW_END_CHARPOS (row)
14573 && cursor_row_p (row)) 14598 && cursor_row_p (row))
14574 rv |= set_cursor_from_row (w, row, w->current_matrix, 14599 rv |= set_cursor_from_row (w, row, w->current_matrix,
14575 0, 0, 0, 0); 14600 0, 0, 0, 0);
14576 /* As soon as we've found the first suitable row 14601 /* As soon as we've found the exact match for point,
14577 whose ends_at_zv_p flag is set, we are done. */ 14602 or the first suitable row whose ends_at_zv_p flag
14578 if (rv 14603 is set, we are done. */
14579 && MATRIX_ROW (w->current_matrix, w->cursor.vpos)->ends_at_zv_p) 14604 at_zv_p =
14605 MATRIX_ROW (w->current_matrix, w->cursor.vpos)->ends_at_zv_p;
14606 if (!at_zv_p)
14607 {
14608 struct glyph_row *candidate =
14609 MATRIX_ROW (w->current_matrix, w->cursor.vpos);
14610 struct glyph *g =
14611 candidate->glyphs[TEXT_AREA] + w->cursor.hpos;
14612 EMACS_INT endpos = MATRIX_ROW_END_CHARPOS (candidate);
14613
14614 exact_match_p =
14615 (BUFFERP (g->object) && g->charpos == PT)
14616 || (INTEGERP (g->object)
14617 && (g->charpos == PT
14618 || (g->charpos == 0 && endpos - 1 == PT)));
14619 }
14620 if (rv && (at_zv_p || exact_match_p))
14580 { 14621 {
14581 rc = CURSOR_MOVEMENT_SUCCESS; 14622 rc = CURSOR_MOVEMENT_SUCCESS;
14582 break; 14623 break;
14583 } 14624 }
14625 if (MATRIX_ROW_BOTTOM_Y (row) == last_y)
14626 break;
14584 ++row; 14627 ++row;
14585 } 14628 }
14586 while (((MATRIX_ROW_CONTINUATION_LINE_P (row) 14629 while (((MATRIX_ROW_CONTINUATION_LINE_P (row)
@@ -14592,7 +14635,9 @@ try_cursor_movement (Lisp_Object window, struct text_pos startp, int *scroll_ste
14592 loop before all the candidates were examined, signal 14635 loop before all the candidates were examined, signal
14593 to the caller that this method failed. */ 14636 to the caller that this method failed. */
14594 if (rc != CURSOR_MOVEMENT_SUCCESS 14637 if (rc != CURSOR_MOVEMENT_SUCCESS
14595 && (!rv || MATRIX_ROW_CONTINUATION_LINE_P (row))) 14638 && !(rv
14639 && !MATRIX_ROW_CONTINUATION_LINE_P (row)
14640 && !row->continued_p))
14596 rc = CURSOR_MOVEMENT_MUST_SCROLL; 14641 rc = CURSOR_MOVEMENT_MUST_SCROLL;
14597 else if (rv) 14642 else if (rv)
14598 rc = CURSOR_MOVEMENT_SUCCESS; 14643 rc = CURSOR_MOVEMENT_SUCCESS;