Release 4.71
This commit is contained in:
parent
49c42c816a
commit
41887136c1
381
org
381
org
|
@ -5,7 +5,7 @@ START-INFO-DIR-ENTRY
|
||||||
* Org Mode: (org). Outline-based notes management and organizer
|
* Org Mode: (org). Outline-based notes management and organizer
|
||||||
END-INFO-DIR-ENTRY
|
END-INFO-DIR-ENTRY
|
||||||
|
|
||||||
This manual is for Org-mode (version 4.70).
|
This manual is for Org-mode (version 4.71).
|
||||||
|
|
||||||
Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation
|
Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ File: org, Node: Top, Next: Introduction, Prev: (dir), Up: (dir)
|
||||||
Org Mode Manual
|
Org Mode Manual
|
||||||
***************
|
***************
|
||||||
|
|
||||||
This manual is for Org-mode (version 4.70).
|
This manual is for Org-mode (version 4.71).
|
||||||
|
|
||||||
Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation
|
Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation
|
||||||
|
|
||||||
|
@ -620,10 +620,14 @@ The following commands jump to other headlines in the buffer.
|
||||||
`C-c C-j'
|
`C-c C-j'
|
||||||
Jump to a different place without changing the current outline
|
Jump to a different place without changing the current outline
|
||||||
visibility. Shows the document structure in a temporary buffer,
|
visibility. Shows the document structure in a temporary buffer,
|
||||||
where you can use visibility cycling (<TAB>) to find your
|
where you can use the following keys to find your destination:
|
||||||
destination. After pressing <RET>, the cursor moves to the
|
<TAB> Cycle visibility.
|
||||||
selected location in the original buffer, and the headings
|
<down> / <up> Next/previous visible headline.
|
||||||
hierarchy above it is made visible.
|
n / p Next/previous visible headline.
|
||||||
|
f / b Next/previous headline same level.
|
||||||
|
u One level up.
|
||||||
|
0-9 Digit argument.
|
||||||
|
<RET> Select this location.
|
||||||
|
|
||||||
|
|
||||||
File: org, Node: Structure editing, Next: Archiving, Prev: Motion, Up: Document structure
|
File: org, Node: Structure editing, Next: Archiving, Prev: Motion, Up: Document structure
|
||||||
|
@ -2199,8 +2203,7 @@ For specific link types, the following keywords will be defined:
|
||||||
info | %:file %:node
|
info | %:file %:node
|
||||||
calendar | %:date"
|
calendar | %:date"
|
||||||
|
|
||||||
If you would like to have the cursor in a specific position after the
|
To place the cursor after template expansion use:
|
||||||
template has been expanded:
|
|
||||||
|
|
||||||
%? After completing the template, position cursor here.
|
%? After completing the template, position cursor here.
|
||||||
|
|
||||||
|
@ -2225,17 +2228,21 @@ target file - if you press <RET>, the value specified for the template
|
||||||
is used. Then the command offers the headings tree of the selected
|
is used. Then the command offers the headings tree of the selected
|
||||||
file, with the cursor position at the default headline (if you had
|
file, with the cursor position at the default headline (if you had
|
||||||
specified one in the template). You can either immediately press <RET>
|
specified one in the template). You can either immediately press <RET>
|
||||||
to get the note placed there. Or you can use vertical cursor motion
|
to get the note placed there. Or you can use the following keys to
|
||||||
(<up> and <down>) and visibility cycling (<TAB>) to find a better
|
find a better location:
|
||||||
place. Pressing <RET> or <left> or <right> then leads to the following
|
<TAB> Cycle visibility.
|
||||||
|
<down> / <up> Next/previous visible headline.
|
||||||
|
n / p Next/previous visible headline.
|
||||||
|
f / b Next/previous headline same level.
|
||||||
|
u One level up.
|
||||||
|
Pressing <RET> or <left> or <right> then leads to the following
|
||||||
result.
|
result.
|
||||||
|
|
||||||
Cursor Key Note gets inserted
|
Cursor Key Note gets inserted
|
||||||
position
|
position
|
||||||
buffer-start <RET> as level 2 heading at end of file
|
buffer-start <RET> as level 2 heading at end of file
|
||||||
on headline <RET> as sublevel of the heading at cursor
|
on headline <RET> as sublevel of the heading at cursor
|
||||||
<left> as same level, before current heading
|
<left>/<right>as same level, before/after current heading
|
||||||
<right> as same level, after current heading
|
|
||||||
not on <RET> at cursor position, level taken from context.
|
not on <RET> at cursor position, level taken from context.
|
||||||
headline Or use prefix arg to specify level
|
headline Or use prefix arg to specify level
|
||||||
manually.
|
manually.
|
||||||
|
@ -4254,7 +4261,9 @@ the typeset result of these fragments, and upon export to HTML, all
|
||||||
fragments will be converted to images and inlined into the HTML
|
fragments will be converted to images and inlined into the HTML
|
||||||
document. For this to work you need to be on a system with a working
|
document. For this to work you need to be on a system with a working
|
||||||
LaTeX installation. You also need the `dvipng' program, available at
|
LaTeX installation. You also need the `dvipng' program, available at
|
||||||
`http://sourceforge.net/projects/dvipng/'.
|
`http://sourceforge.net/projects/dvipng/'. The LaTeX header that will
|
||||||
|
be used when processing a fragment can be configured with the variable
|
||||||
|
`org-format-latex-header'.
|
||||||
|
|
||||||
LaTeX fragments don't need any special marking at all. The following
|
LaTeX fragments don't need any special marking at all. The following
|
||||||
snippets will be identified as LaTeX source code:
|
snippets will be identified as LaTeX source code:
|
||||||
|
@ -5109,17 +5118,17 @@ File: org, Node: Triggering publication, Prev: Sample configuration, Up: Publ
|
||||||
Once org-publish is properly configured, you can publish with the
|
Once org-publish is properly configured, you can publish with the
|
||||||
following functions:
|
following functions:
|
||||||
|
|
||||||
`C-c C-e c'
|
`C-c C-e C'
|
||||||
Prompt for a specific project and publish all files that belong to
|
Prompt for a specific project and publish all files that belong to
|
||||||
it.
|
it.
|
||||||
|
|
||||||
`C-c C-e p'
|
`C-c C-e P'
|
||||||
Publish the project containing the current file.
|
Publish the project containing the current file.
|
||||||
|
|
||||||
`C-c C-e f'
|
`C-c C-e F'
|
||||||
Publish only the current file.
|
Publish only the current file.
|
||||||
|
|
||||||
`C-c C-e a'
|
`C-c C-e A'
|
||||||
Publish all projects.
|
Publish all projects.
|
||||||
|
|
||||||
Org uses timestamps to track when a file has changed. The above
|
Org uses timestamps to track when a file has changed. The above
|
||||||
|
@ -6948,173 +6957,173 @@ Ref: Visibility cycling-Footnote-123934
|
||||||
Ref: Visibility cycling-Footnote-223992
|
Ref: Visibility cycling-Footnote-223992
|
||||||
Ref: Visibility cycling-Footnote-324042
|
Ref: Visibility cycling-Footnote-324042
|
||||||
Node: Motion24312
|
Node: Motion24312
|
||||||
Node: Structure editing25096
|
Node: Structure editing25266
|
||||||
Node: Archiving27922
|
Node: Archiving28092
|
||||||
Node: ARCHIVE tag28480
|
Node: ARCHIVE tag28650
|
||||||
Node: Moving subtrees30273
|
Node: Moving subtrees30443
|
||||||
Node: Sparse trees31584
|
Node: Sparse trees31754
|
||||||
Ref: Sparse trees-Footnote-133716
|
Ref: Sparse trees-Footnote-133886
|
||||||
Ref: Sparse trees-Footnote-233898
|
Ref: Sparse trees-Footnote-234068
|
||||||
Node: Plain lists34013
|
Node: Plain lists34183
|
||||||
Ref: Plain lists-Footnote-137782
|
Ref: Plain lists-Footnote-137952
|
||||||
Ref: Plain lists-Footnote-238140
|
Ref: Plain lists-Footnote-238310
|
||||||
Node: Tables38324
|
Node: Tables38494
|
||||||
Node: Built-in table editor38838
|
Node: Built-in table editor39008
|
||||||
Node: Narrow columns45857
|
Node: Narrow columns46027
|
||||||
Ref: Narrow columns-Footnote-147790
|
Ref: Narrow columns-Footnote-147960
|
||||||
Node: orgtbl-mode47836
|
Node: orgtbl-mode48006
|
||||||
Node: The spreadsheet48640
|
Node: The spreadsheet48810
|
||||||
Node: References49727
|
Node: References49897
|
||||||
Ref: References-Footnote-153856
|
Ref: References-Footnote-154026
|
||||||
Node: Formula syntax for Calc54145
|
Node: Formula syntax for Calc54315
|
||||||
Node: Formula syntax for Lisp56611
|
Node: Formula syntax for Lisp56781
|
||||||
Node: Field formulas57880
|
Node: Field formulas58050
|
||||||
Node: Column formulas59188
|
Node: Column formulas59358
|
||||||
Node: Editing and debugging formulas60787
|
Node: Editing and debugging formulas60957
|
||||||
Node: Updating the table64940
|
Node: Updating the table65110
|
||||||
Node: Advanced features65975
|
Node: Advanced features66145
|
||||||
Node: Hyperlinks70500
|
Node: Hyperlinks70670
|
||||||
Node: Link format71273
|
Node: Link format71443
|
||||||
Node: Internal links72566
|
Node: Internal links72736
|
||||||
Ref: Internal links-Footnote-174491
|
Ref: Internal links-Footnote-174661
|
||||||
Node: Radio targets74623
|
Node: Radio targets74793
|
||||||
Node: External links75314
|
Node: External links75484
|
||||||
Node: Handling links77718
|
Node: Handling links77888
|
||||||
Ref: Handling links-Footnote-182828
|
Ref: Handling links-Footnote-182998
|
||||||
Ref: Handling links-Footnote-283065
|
Ref: Handling links-Footnote-283235
|
||||||
Node: Link abbreviations83139
|
Node: Link abbreviations83309
|
||||||
Node: Search options84818
|
Node: Search options84988
|
||||||
Ref: Search options-Footnote-186598
|
Ref: Search options-Footnote-186768
|
||||||
Node: Custom searches86679
|
Node: Custom searches86849
|
||||||
Node: Remember87727
|
Node: Remember87897
|
||||||
Node: Setting up remember88714
|
Node: Setting up remember88884
|
||||||
Node: Remember templates89296
|
Node: Remember templates89466
|
||||||
Ref: Remember templates-Footnote-192610
|
Ref: Remember templates-Footnote-192732
|
||||||
Node: Storing notes92708
|
Node: Storing notes92830
|
||||||
Node: TODO items94516
|
Node: TODO items94798
|
||||||
Node: TODO basics95499
|
Node: TODO basics95781
|
||||||
Node: TODO extensions97198
|
Node: TODO extensions97480
|
||||||
Node: Workflow states98017
|
Node: Workflow states98299
|
||||||
Ref: Workflow states-Footnote-199192
|
Ref: Workflow states-Footnote-199474
|
||||||
Node: TODO types99285
|
Node: TODO types99567
|
||||||
Ref: TODO types-Footnote-1100868
|
Ref: TODO types-Footnote-1101150
|
||||||
Node: Multiple sets in one file100950
|
Node: Multiple sets in one file101232
|
||||||
Node: Per file keywords102561
|
Node: Per file keywords102843
|
||||||
Ref: Per file keywords-Footnote-1103850
|
Ref: Per file keywords-Footnote-1104132
|
||||||
Node: Priorities104051
|
Node: Priorities104333
|
||||||
Node: Breaking down tasks105297
|
Node: Breaking down tasks105579
|
||||||
Ref: Breaking down tasks-Footnote-1105817
|
Ref: Breaking down tasks-Footnote-1106099
|
||||||
Node: Checkboxes105913
|
Node: Checkboxes106195
|
||||||
Node: Timestamps108668
|
Node: Timestamps108950
|
||||||
Node: Time stamps109202
|
Node: Time stamps109484
|
||||||
Ref: Time stamps-Footnote-1112696
|
Ref: Time stamps-Footnote-1112978
|
||||||
Ref: Time stamps-Footnote-2112812
|
Ref: Time stamps-Footnote-2113094
|
||||||
Node: Creating timestamps112967
|
Node: Creating timestamps113249
|
||||||
Node: The date/time prompt115625
|
Node: The date/time prompt115907
|
||||||
Ref: The date/time prompt-Footnote-1117586
|
Ref: The date/time prompt-Footnote-1117868
|
||||||
Node: Custom time format117692
|
Node: Custom time format117974
|
||||||
Node: Repeating items119250
|
Node: Repeating items119532
|
||||||
Node: Progress logging121060
|
Node: Progress logging121342
|
||||||
Node: Closing items121706
|
Node: Closing items121988
|
||||||
Ref: Closing items-Footnote-1122640
|
Ref: Closing items-Footnote-1122922
|
||||||
Ref: Closing items-Footnote-2122709
|
Ref: Closing items-Footnote-2122991
|
||||||
Node: Tracking TODO state changes122782
|
Node: Tracking TODO state changes123064
|
||||||
Node: Clocking work time123638
|
Node: Clocking work time123920
|
||||||
Ref: Clocking work time-Footnote-1127284
|
Ref: Clocking work time-Footnote-1127566
|
||||||
Ref: Clocking work time-Footnote-2127362
|
Ref: Clocking work time-Footnote-2127644
|
||||||
Node: Tags127488
|
Node: Tags127770
|
||||||
Node: Tag inheritance128250
|
Node: Tag inheritance128532
|
||||||
Node: Setting tags129187
|
Node: Setting tags129469
|
||||||
Ref: Setting tags-Footnote-1133710
|
Ref: Setting tags-Footnote-1133992
|
||||||
Ref: Setting tags-Footnote-2133822
|
Ref: Setting tags-Footnote-2134104
|
||||||
Node: Tag searches133905
|
Node: Tag searches134187
|
||||||
Node: Agenda views136616
|
Node: Agenda views136898
|
||||||
Node: Agenda files138561
|
Node: Agenda files138843
|
||||||
Ref: Agenda files-Footnote-1139527
|
Ref: Agenda files-Footnote-1139809
|
||||||
Ref: Agenda files-Footnote-2139676
|
Ref: Agenda files-Footnote-2139958
|
||||||
Node: Agenda dispatcher139869
|
Node: Agenda dispatcher140151
|
||||||
Node: Built-in agenda views141560
|
Node: Built-in agenda views141842
|
||||||
Node: Weekly/Daily agenda142138
|
Node: Weekly/Daily agenda142420
|
||||||
Node: Global TODO list144267
|
Node: Global TODO list144549
|
||||||
Node: Matching headline tags146539
|
Node: Matching headline tags146821
|
||||||
Node: Timeline147610
|
Node: Timeline147892
|
||||||
Node: Stuck projects148276
|
Node: Stuck projects148558
|
||||||
Node: Presentation and sorting149975
|
Node: Presentation and sorting150257
|
||||||
Node: Categories150766
|
Node: Categories151048
|
||||||
Node: Time-of-day specifications151430
|
Node: Time-of-day specifications151712
|
||||||
Node: Sorting of agenda items153401
|
Node: Sorting of agenda items153683
|
||||||
Node: Agenda commands154683
|
Node: Agenda commands154965
|
||||||
Node: Custom agenda views161412
|
Node: Custom agenda views161694
|
||||||
Node: Storing searches162087
|
Node: Storing searches162369
|
||||||
Node: Block agenda163999
|
Node: Block agenda164281
|
||||||
Node: Setting Options165229
|
Node: Setting Options165511
|
||||||
Node: Batch processing167941
|
Node: Batch processing168223
|
||||||
Node: Embedded LaTeX169071
|
Node: Embedded LaTeX169353
|
||||||
Ref: Embedded LaTeX-Footnote-1170163
|
Ref: Embedded LaTeX-Footnote-1170445
|
||||||
Node: Math symbols170353
|
Node: Math symbols170635
|
||||||
Node: Subscripts and Superscripts171118
|
Node: Subscripts and Superscripts171400
|
||||||
Node: LaTeX fragments171962
|
Node: LaTeX fragments172244
|
||||||
Ref: LaTeX fragments-Footnote-1174070
|
Ref: LaTeX fragments-Footnote-1174478
|
||||||
Node: Processing LaTeX fragments174332
|
Node: Processing LaTeX fragments174740
|
||||||
Node: CDLaTeX mode175278
|
Node: CDLaTeX mode175686
|
||||||
Ref: CDLaTeX mode-Footnote-1177762
|
Ref: CDLaTeX mode-Footnote-1178170
|
||||||
Node: Exporting177910
|
Node: Exporting178318
|
||||||
Node: ASCII export179224
|
Node: ASCII export179632
|
||||||
Node: HTML export180514
|
Node: HTML export180922
|
||||||
Node: Export commands181133
|
Node: Export commands181541
|
||||||
Node: Quoting HTML tags181944
|
Node: Quoting HTML tags182352
|
||||||
Node: Links182574
|
Node: Links182982
|
||||||
Node: Images183271
|
Node: Images183679
|
||||||
Ref: Images-Footnote-1184142
|
Ref: Images-Footnote-1184550
|
||||||
Node: CSS support184203
|
Node: CSS support184611
|
||||||
Ref: CSS support-Footnote-1185522
|
Ref: CSS support-Footnote-1185930
|
||||||
Node: XOXO export185635
|
Node: XOXO export186043
|
||||||
Node: iCalendar export186074
|
Node: iCalendar export186482
|
||||||
Node: Text interpretation187293
|
Node: Text interpretation187701
|
||||||
Node: Comment lines187835
|
Node: Comment lines188243
|
||||||
Node: Initial text188230
|
Node: Initial text188638
|
||||||
Node: Enhancing text189904
|
Node: Enhancing text190312
|
||||||
Ref: Enhancing text-Footnote-1191766
|
Ref: Enhancing text-Footnote-1192174
|
||||||
Node: Export options191856
|
Node: Export options192264
|
||||||
Node: Publishing193749
|
Node: Publishing194157
|
||||||
Ref: Publishing-Footnote-1194545
|
Ref: Publishing-Footnote-1194953
|
||||||
Node: Configuration194741
|
Node: Configuration195149
|
||||||
Node: Project alist195459
|
Node: Project alist195867
|
||||||
Node: Sources and destinations196525
|
Node: Sources and destinations196933
|
||||||
Node: Selecting files197255
|
Node: Selecting files197663
|
||||||
Node: Publishing action198003
|
Node: Publishing action198411
|
||||||
Node: Publishing options199236
|
Node: Publishing options199644
|
||||||
Node: Publishing links201388
|
Node: Publishing links201796
|
||||||
Node: Project page index202901
|
Node: Project page index203309
|
||||||
Node: Sample configuration203679
|
Node: Sample configuration204087
|
||||||
Node: Simple example204171
|
Node: Simple example204579
|
||||||
Node: Complex example204844
|
Node: Complex example205252
|
||||||
Node: Triggering publication206920
|
Node: Triggering publication207328
|
||||||
Node: Miscellaneous207605
|
Node: Miscellaneous208013
|
||||||
Node: Completion208239
|
Node: Completion208647
|
||||||
Node: Customization209710
|
Node: Customization210118
|
||||||
Node: In-buffer settings210293
|
Node: In-buffer settings210701
|
||||||
Node: The very busy C-c C-c key214770
|
Node: The very busy C-c C-c key215178
|
||||||
Node: Clean view216414
|
Node: Clean view216822
|
||||||
Node: TTY keys218991
|
Node: TTY keys219399
|
||||||
Node: Interaction220601
|
Node: Interaction221009
|
||||||
Node: Cooperation220998
|
Node: Cooperation221406
|
||||||
Node: Conflicts223740
|
Node: Conflicts224148
|
||||||
Node: Bugs225332
|
Node: Bugs225740
|
||||||
Node: Extensions and Hacking226828
|
Node: Extensions and Hacking227236
|
||||||
Node: Extensions227424
|
Node: Extensions227832
|
||||||
Node: Tables in arbitrary syntax229371
|
Node: Tables in arbitrary syntax229779
|
||||||
Node: Radio tables230448
|
Node: Radio tables230856
|
||||||
Node: A LaTeX example232951
|
Node: A LaTeX example233359
|
||||||
Ref: A LaTeX example-Footnote-1236597
|
Ref: A LaTeX example-Footnote-1237005
|
||||||
Ref: A LaTeX example-Footnote-2236745
|
Ref: A LaTeX example-Footnote-2237153
|
||||||
Node: Translator functions237180
|
Node: Translator functions237588
|
||||||
Ref: Translator functions-Footnote-1240289
|
Ref: Translator functions-Footnote-1240697
|
||||||
Node: Dynamic blocks240377
|
Node: Dynamic blocks240785
|
||||||
Node: Special agenda views242349
|
Node: Special agenda views242757
|
||||||
Ref: Special agenda views-Footnote-1244628
|
Ref: Special agenda views-Footnote-1245036
|
||||||
Node: History and Acknowledgments244888
|
Node: History and Acknowledgments245296
|
||||||
Node: Index250748
|
Node: Index251156
|
||||||
Node: Key Index281729
|
Node: Key Index282137
|
||||||
|
|
||||||
End Tag Table
|
End Tag Table
|
||||||
|
|
13
org-mouse.el
13
org-mouse.el
|
@ -3,7 +3,7 @@
|
||||||
;; Copyright (c) 2006 Piotr Zielinski
|
;; Copyright (c) 2006 Piotr Zielinski
|
||||||
;;
|
;;
|
||||||
;; Author: Piotr Zielinski <piotr dot zielinski at gmail dot com>
|
;; Author: Piotr Zielinski <piotr dot zielinski at gmail dot com>
|
||||||
;; Version: 0.24
|
;; Version: 0.24a
|
||||||
;; $Id: org-mouse.el 817 2007-02-01 00:28:02Z pz215 $
|
;; $Id: org-mouse.el 817 2007-02-01 00:28:02Z pz215 $
|
||||||
;;
|
;;
|
||||||
;; The latest version of this file is available from
|
;; The latest version of this file is available from
|
||||||
|
@ -548,6 +548,9 @@ SCHEDULED: or DEADLINE: or ANYTHINGLIKETHIS:"
|
||||||
(set-match-data ',match)
|
(set-match-data ',match)
|
||||||
(apply ',function rest)))))
|
(apply ',function rest)))))
|
||||||
|
|
||||||
|
(defun org-mouse-todo-keywords ()
|
||||||
|
(if (boundp 'org-todo-keywords-1) org-todo-keywords-1 org-todo-keywords))
|
||||||
|
|
||||||
(defun org-mouse-match-todo-keyword ()
|
(defun org-mouse-match-todo-keyword ()
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(org-back-to-heading)
|
(org-back-to-heading)
|
||||||
|
@ -616,10 +619,10 @@ SCHEDULED: or DEADLINE: or ANYTHINGLIKETHIS:"
|
||||||
(org-mouse-remove-match-and-spaces))))]
|
(org-mouse-remove-match-and-spaces))))]
|
||||||
)))
|
)))
|
||||||
((and (org-mouse-looking-at "\\b\\w+" "a-zA-Z0-9_")
|
((and (org-mouse-looking-at "\\b\\w+" "a-zA-Z0-9_")
|
||||||
(member (match-string 0) org-todo-keywords))
|
(member (match-string 0) (org-mouse-todo-keywords)))
|
||||||
(popup-menu
|
(popup-menu
|
||||||
`(nil
|
`(nil
|
||||||
,@(org-mouse-keyword-replace-menu org-todo-keywords)
|
,@(org-mouse-keyword-replace-menu (org-mouse-todo-keywords))
|
||||||
"--"
|
"--"
|
||||||
["Check TODOs" org-show-todo-tree t]
|
["Check TODOs" org-show-todo-tree t]
|
||||||
["List all TODO keywords" org-todo-list t]
|
["List all TODO keywords" org-todo-list t]
|
||||||
|
@ -758,7 +761,8 @@ SCHEDULED: or DEADLINE: or ANYTHINGLIKETHIS:"
|
||||||
,@(org-mouse-tag-menu))
|
,@(org-mouse-tag-menu))
|
||||||
("TODO Status"
|
("TODO Status"
|
||||||
,@(progn (org-mouse-match-todo-keyword)
|
,@(progn (org-mouse-match-todo-keyword)
|
||||||
(org-mouse-keyword-replace-menu org-todo-keywords 1)))
|
(org-mouse-keyword-replace-menu (org-mouse-todo-keywords)
|
||||||
|
1)))
|
||||||
["Show Tags"
|
["Show Tags"
|
||||||
(with-current-buffer org-mouse-main-buffer (org-agenda-show-tags))
|
(with-current-buffer org-mouse-main-buffer (org-agenda-show-tags))
|
||||||
:visible (not org-mouse-direct)]
|
:visible (not org-mouse-direct)]
|
||||||
|
@ -1028,7 +1032,6 @@ SCHEDULED: or DEADLINE: or ANYTHINGLIKETHIS:"
|
||||||
["Exit and Release Buffers" org-agenda-exit t]
|
["Exit and Release Buffers" org-agenda-exit t]
|
||||||
))))
|
))))
|
||||||
|
|
||||||
|
|
||||||
(defun org-mouse-get-gesture (event)
|
(defun org-mouse-get-gesture (event)
|
||||||
(let ((startxy (posn-x-y (event-start event)))
|
(let ((startxy (posn-x-y (event-start event)))
|
||||||
(endxy (posn-x-y (event-end event))))
|
(endxy (posn-x-y (event-end event))))
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
;; Keywords: hypermedia, outlines
|
;; Keywords: hypermedia, outlines
|
||||||
;; Version:
|
;; Version:
|
||||||
|
|
||||||
;; $Id: org-publish.el,v 1.78 2006/09/10 06:41:23 dto Exp dto $
|
;; $Id: org-publish.el,v 1.80 2007/03/22 02:31:03 dto Exp dto $
|
||||||
|
|
||||||
;; This file is free software; you can redistribute it and/or modify
|
;; This file is free software; you can redistribute it and/or modify
|
||||||
;; it under the terms of the GNU General Public License as published by
|
;; it under the terms of the GNU General Public License as published by
|
||||||
|
@ -319,6 +319,7 @@ whether file should be published."
|
||||||
(if (not (file-exists-p timestamp))
|
(if (not (file-exists-p timestamp))
|
||||||
;; create file
|
;; create file
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
|
(make-directory (file-name-directory timestamp) :parents)
|
||||||
(write-file timestamp)
|
(write-file timestamp)
|
||||||
(kill-buffer (current-buffer)))))
|
(kill-buffer (current-buffer)))))
|
||||||
rtn))
|
rtn))
|
||||||
|
@ -549,9 +550,10 @@ default is 'index.org'."
|
||||||
(interactive (list (completing-read "Project name: " org-publish-project-alist
|
(interactive (list (completing-read "Project name: " org-publish-project-alist
|
||||||
nil t)
|
nil t)
|
||||||
current-prefix-arg))
|
current-prefix-arg))
|
||||||
|
(save-window-excursion
|
||||||
(let ((org-publish-use-timestamps-flag (if force nil t))
|
(let ((org-publish-use-timestamps-flag (if force nil t))
|
||||||
(plists (org-publish-get-plists project-name)))
|
(plists (org-publish-get-plists project-name)))
|
||||||
(mapcar 'org-publish-plist plists)))
|
(mapcar 'org-publish-plist plists))))
|
||||||
|
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
@ -559,11 +561,12 @@ default is 'index.org'."
|
||||||
"Publish the project associated with the current file.
|
"Publish the project associated with the current file.
|
||||||
With prefix argument, force publishing all files in project."
|
With prefix argument, force publishing all files in project."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
|
(save-window-excursion
|
||||||
(let* ((project-name (org-publish-get-project-from-filename (buffer-file-name)))
|
(let* ((project-name (org-publish-get-project-from-filename (buffer-file-name)))
|
||||||
(org-publish-use-timestamps-flag (if force nil t)))
|
(org-publish-use-timestamps-flag (if force nil t)))
|
||||||
(if (not project-name)
|
(if (not project-name)
|
||||||
(error (format "File %s is not part of any known project." (buffer-file-name))))
|
(error (format "File %s is not part of any known project." (buffer-file-name))))
|
||||||
(org-publish project-name)))
|
(org-publish project-name))))
|
||||||
|
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
@ -571,9 +574,10 @@ With prefix argument, force publishing all files in project."
|
||||||
"Publish the current file.
|
"Publish the current file.
|
||||||
With prefix argument, force publish the file."
|
With prefix argument, force publish the file."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
|
(save-window-excursion
|
||||||
(let ((org-publish-use-timestamps-flag
|
(let ((org-publish-use-timestamps-flag
|
||||||
(if force nil t)))
|
(if force nil t)))
|
||||||
(org-publish-file (buffer-file-name))))
|
(org-publish-file (buffer-file-name)))))
|
||||||
|
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
@ -581,10 +585,11 @@ With prefix argument, force publish the file."
|
||||||
"Publish all projects.
|
"Publish all projects.
|
||||||
With prefix argument, force publish all files."
|
With prefix argument, force publish all files."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
|
(save-window-excursion
|
||||||
(let ((org-publish-use-timestamps-flag
|
(let ((org-publish-use-timestamps-flag
|
||||||
(if force nil t))
|
(if force nil t))
|
||||||
(plists (org-publish-get-plists)))
|
(plists (org-publish-get-plists)))
|
||||||
(mapcar 'org-publish-plist plists)))
|
(mapcar 'org-publish-plist plists))))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
142
org.el
142
org.el
|
@ -5,7 +5,7 @@
|
||||||
;; Author: Carsten Dominik <dominik at science dot uva dot nl>
|
;; Author: Carsten Dominik <dominik at science dot uva dot nl>
|
||||||
;; Keywords: outlines, hypermedia, calendar, wp
|
;; Keywords: outlines, hypermedia, calendar, wp
|
||||||
;; Homepage: http://www.astro.uva.nl/~dominik/Tools/org/
|
;; Homepage: http://www.astro.uva.nl/~dominik/Tools/org/
|
||||||
;; Version: 4.70
|
;; Version: 4.71
|
||||||
;;
|
;;
|
||||||
;; This file is part of GNU Emacs.
|
;; This file is part of GNU Emacs.
|
||||||
;;
|
;;
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
|
|
||||||
;;; Version
|
;;; Version
|
||||||
|
|
||||||
(defconst org-version "4.70"
|
(defconst org-version "4.71"
|
||||||
"The version number of the file org.el.")
|
"The version number of the file org.el.")
|
||||||
(defun org-version ()
|
(defun org-version ()
|
||||||
(interactive)
|
(interactive)
|
||||||
|
@ -1368,6 +1368,7 @@ taken from the (otherwise obsolete) variable `org-todo-interpretation'."
|
||||||
|
|
||||||
(defvar org-todo-keywords-1 nil)
|
(defvar org-todo-keywords-1 nil)
|
||||||
(make-variable-buffer-local 'org-todo-keywords-1)
|
(make-variable-buffer-local 'org-todo-keywords-1)
|
||||||
|
(defvar org-todo-keywords-for-agenda nil)
|
||||||
(defvar org-not-done-keywords nil)
|
(defvar org-not-done-keywords nil)
|
||||||
(make-variable-buffer-local 'org-not-done-keywords)
|
(make-variable-buffer-local 'org-not-done-keywords)
|
||||||
(defvar org-done-keywords nil)
|
(defvar org-done-keywords nil)
|
||||||
|
@ -2232,6 +2233,18 @@ This is a property list with the following properties:
|
||||||
:group 'org-latex
|
:group 'org-latex
|
||||||
:type 'plist)
|
:type 'plist)
|
||||||
|
|
||||||
|
(defcustom org-format-latex-header "\\documentclass{article}
|
||||||
|
\\usepackage{fullpage} % do not remove
|
||||||
|
\\usepackage{amssymb}
|
||||||
|
\\usepackage[usenames]{color}
|
||||||
|
\\usepackage{amsmath}
|
||||||
|
\\usepackage{latexsym}
|
||||||
|
\\usepackage[mathscr]{eucal}
|
||||||
|
\\pagestyle{empty} % do not remove"
|
||||||
|
"The document header used for processing LaTeX fragments."
|
||||||
|
:group 'org-latex
|
||||||
|
:type 'string)
|
||||||
|
|
||||||
(defgroup org-export nil
|
(defgroup org-export nil
|
||||||
"Options for exporting org-listings."
|
"Options for exporting org-listings."
|
||||||
:tag "Org Export"
|
:tag "Org Export"
|
||||||
|
@ -2642,12 +2655,24 @@ This option can also be set with the +OPTIONS line, e.g. \"@:nil\"."
|
||||||
|
|
||||||
(defcustom org-export-html-table-tag
|
(defcustom org-export-html-table-tag
|
||||||
"<table border=\"2\" cellspacing=\"0\" cellpadding=\"6\" rules=\"groups\" frame=\"hsides\">"
|
"<table border=\"2\" cellspacing=\"0\" cellpadding=\"6\" rules=\"groups\" frame=\"hsides\">"
|
||||||
"The HTML tag used to start a table.
|
"The HTML tag that is used to start a table.
|
||||||
This must be a <table> tag, but you may change the options like
|
This must be a <table> tag, but you may change the options like
|
||||||
borders and spacing."
|
borders and spacing."
|
||||||
:group 'org-export-html
|
:group 'org-export-html
|
||||||
:type 'string)
|
:type 'string)
|
||||||
|
|
||||||
|
(defcustom org-export-table-header-tags '("<th>" . "</th>")
|
||||||
|
"The opening tag for table header fields.
|
||||||
|
This is customizable so that alignment options can be specified."
|
||||||
|
:group 'org-export-tables
|
||||||
|
:type '(cons (string :tag "Opening tag") (string :tag "Closing tag")))
|
||||||
|
|
||||||
|
(defcustom org-export-table-data-tags '("<td>" . "</td>")
|
||||||
|
"The opening tag for table data fields.
|
||||||
|
This is customizable so that alignment options can be specified."
|
||||||
|
:group 'org-export-tables
|
||||||
|
:type '(cons (string :tag "Opening tag") (string :tag "Closing tag")))
|
||||||
|
|
||||||
(defcustom org-export-html-with-timestamp nil
|
(defcustom org-export-html-with-timestamp nil
|
||||||
"If non-nil, write `org-export-html-html-helper-timestamp'
|
"If non-nil, write `org-export-html-html-helper-timestamp'
|
||||||
into the exported HTML text. Otherwise, the buffer will just be saved
|
into the exported HTML text. Otherwise, the buffer will just be saved
|
||||||
|
@ -4036,7 +4061,7 @@ between words."
|
||||||
(if org-fontify-done-headline
|
(if org-fontify-done-headline
|
||||||
(list (concat "^[*]+ +\\<\\("
|
(list (concat "^[*]+ +\\<\\("
|
||||||
(mapconcat 'regexp-quote org-done-keywords "\\|")
|
(mapconcat 'regexp-quote org-done-keywords "\\|")
|
||||||
"\\)\\(.*\\)\\>")
|
"\\)\\(.*\\)")
|
||||||
'(1 'org-done t) '(2 'org-headline-done t))
|
'(1 'org-done t) '(2 'org-headline-done t))
|
||||||
(list (concat "^[*]+ +\\<\\("
|
(list (concat "^[*]+ +\\<\\("
|
||||||
(mapconcat 'regexp-quote org-done-keywords "\\|")
|
(mapconcat 'regexp-quote org-done-keywords "\\|")
|
||||||
|
@ -4804,6 +4829,7 @@ is signaled in this case."
|
||||||
(setq folded (org-invisible-p)))
|
(setq folded (org-invisible-p)))
|
||||||
(outline-end-of-subtree))
|
(outline-end-of-subtree))
|
||||||
(outline-next-heading)
|
(outline-next-heading)
|
||||||
|
(if (not (bolp)) (insert "\n"))
|
||||||
(setq end (point))
|
(setq end (point))
|
||||||
;; Find insertion point, with error handling
|
;; Find insertion point, with error handling
|
||||||
(goto-char beg)
|
(goto-char beg)
|
||||||
|
@ -5340,7 +5366,7 @@ If the cursor is not in an item, throw an error."
|
||||||
(if (catch 'exit
|
(if (catch 'exit
|
||||||
(while t
|
(while t
|
||||||
(beginning-of-line 0)
|
(beginning-of-line 0)
|
||||||
(if (< (point) limit) (throw 'exit nil))
|
(if (or (bobp) (< (point) limit)) (throw 'exit nil))
|
||||||
|
|
||||||
(if (looking-at "[ \t]*$")
|
(if (looking-at "[ \t]*$")
|
||||||
(setq ind1 ind-empty)
|
(setq ind1 ind-empty)
|
||||||
|
@ -12478,7 +12504,7 @@ used to insert the time stamp into the buffer to include the time."
|
||||||
(calendar-forward-day (- (time-to-days default-time)
|
(calendar-forward-day (- (time-to-days default-time)
|
||||||
(calendar-absolute-from-gregorian
|
(calendar-absolute-from-gregorian
|
||||||
(calendar-current-date))))
|
(calendar-current-date))))
|
||||||
(org-eval-in-calendar nil)
|
(org-eval-in-calendar nil t)
|
||||||
(let* ((old-map (current-local-map))
|
(let* ((old-map (current-local-map))
|
||||||
(map (copy-keymap calendar-mode-map))
|
(map (copy-keymap calendar-mode-map))
|
||||||
(minibuffer-local-map (copy-keymap minibuffer-local-map)))
|
(minibuffer-local-map (copy-keymap minibuffer-local-map)))
|
||||||
|
@ -12576,13 +12602,13 @@ used to insert the time stamp into the buffer to include the time."
|
||||||
(format "%04d-%02d-%02d %02d:%02d" year month day hour minute)
|
(format "%04d-%02d-%02d %02d:%02d" year month day hour minute)
|
||||||
(format "%04d-%02d-%02d" year month day)))))
|
(format "%04d-%02d-%02d" year month day)))))
|
||||||
|
|
||||||
(defun org-eval-in-calendar (form)
|
(defun org-eval-in-calendar (form &optional keepdate)
|
||||||
"Eval FORM in the calendar window and return to current window.
|
"Eval FORM in the calendar window and return to current window.
|
||||||
Also, store the cursor date in variable org-ans2."
|
Also, store the cursor date in variable org-ans2."
|
||||||
(let ((sw (selected-window)))
|
(let ((sw (selected-window)))
|
||||||
(select-window (get-buffer-window "*Calendar*"))
|
(select-window (get-buffer-window "*Calendar*"))
|
||||||
(eval form)
|
(eval form)
|
||||||
(when (calendar-cursor-to-date)
|
(when (and (not keepdate) (calendar-cursor-to-date))
|
||||||
(let* ((date (calendar-cursor-to-date))
|
(let* ((date (calendar-cursor-to-date))
|
||||||
(time (encode-time 0 0 0 (nth 1 date) (nth 0 date) (nth 2 date))))
|
(time (encode-time 0 0 0 (nth 1 date) (nth 0 date) (nth 2 date))))
|
||||||
(setq org-ans2 (format-time-string "%Y-%m-%d" time))))
|
(setq org-ans2 (format-time-string "%Y-%m-%d" time))))
|
||||||
|
@ -12591,7 +12617,8 @@ Also, store the cursor date in variable org-ans2."
|
||||||
;; Update the prompt to show new default date
|
;; Update the prompt to show new default date
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(when (and (re-search-forward "\\[[-0-9]+\\]" nil t)
|
(when (and org-ans2
|
||||||
|
(re-search-forward "\\[[-0-9]+\\]" nil t)
|
||||||
(get-text-property (match-end 0) 'field))
|
(get-text-property (match-end 0) 'field))
|
||||||
(let ((inhibit-read-only t))
|
(let ((inhibit-read-only t))
|
||||||
(replace-match (concat "[" org-ans2 "]") t t)
|
(replace-match (concat "[" org-ans2 "]") t t)
|
||||||
|
@ -13620,6 +13647,11 @@ The following commands are available:
|
||||||
`(unless (get-text-property (point) 'org-protected)
|
`(unless (get-text-property (point) 'org-protected)
|
||||||
,@body))
|
,@body))
|
||||||
|
|
||||||
|
(defmacro org-unmodified (&rest body)
|
||||||
|
"Execute body without changing buffer-modified-p."
|
||||||
|
`(set-buffer-modified-p
|
||||||
|
(prog1 (buffer-modified-p) ,@body)))
|
||||||
|
|
||||||
(defmacro org-with-remote-undo (_buffer &rest _body)
|
(defmacro org-with-remote-undo (_buffer &rest _body)
|
||||||
"Execute BODY while recording undo information in two buffers."
|
"Execute BODY while recording undo information in two buffers."
|
||||||
(declare (indent 1) (debug t))
|
(declare (indent 1) (debug t))
|
||||||
|
@ -14046,6 +14078,7 @@ Optional argument FILE means, use this file instead of the current."
|
||||||
(defvar org-agenda-buffer-name "*Org Agenda*")
|
(defvar org-agenda-buffer-name "*Org Agenda*")
|
||||||
(defvar org-pre-agenda-window-conf nil)
|
(defvar org-pre-agenda-window-conf nil)
|
||||||
(defun org-prepare-agenda ()
|
(defun org-prepare-agenda ()
|
||||||
|
(setq org-todo-keywords-for-agenda nil)
|
||||||
(if org-agenda-multi
|
(if org-agenda-multi
|
||||||
(progn
|
(progn
|
||||||
(setq buffer-read-only nil)
|
(setq buffer-read-only nil)
|
||||||
|
@ -14055,6 +14088,8 @@ Optional argument FILE means, use this file instead of the current."
|
||||||
(narrow-to-region (point) (point-max)))
|
(narrow-to-region (point) (point-max)))
|
||||||
(org-agenda-maybe-reset-markers 'force)
|
(org-agenda-maybe-reset-markers 'force)
|
||||||
(org-prepare-agenda-buffers (org-agenda-files))
|
(org-prepare-agenda-buffers (org-agenda-files))
|
||||||
|
(setq org-todo-keywords-for-agenda
|
||||||
|
(org-uniquify org-todo-keywords-for-agenda))
|
||||||
(let* ((abuf (get-buffer-create org-agenda-buffer-name))
|
(let* ((abuf (get-buffer-create org-agenda-buffer-name))
|
||||||
(awin (get-buffer-window abuf)))
|
(awin (get-buffer-window abuf)))
|
||||||
(cond
|
(cond
|
||||||
|
@ -14102,6 +14137,8 @@ Optional argument FILE means, use this file instead of the current."
|
||||||
(set-buffer (org-get-agenda-file-buffer file))
|
(set-buffer (org-get-agenda-file-buffer file))
|
||||||
(widen)
|
(widen)
|
||||||
(setq bmp (buffer-modified-p))
|
(setq bmp (buffer-modified-p))
|
||||||
|
(setq org-todo-keywords-for-agenda
|
||||||
|
(append org-todo-keywords-for-agenda org-todo-keywords-1))
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(remove-text-properties (point-min) (point-max) pall)
|
(remove-text-properties (point-min) (point-max) pall)
|
||||||
(when org-agenda-skip-archived-trees
|
(when org-agenda-skip-archived-trees
|
||||||
|
@ -14506,24 +14543,23 @@ for a keyword. A numeric prefix directly selects the Nth keyword in
|
||||||
(require 'calendar)
|
(require 'calendar)
|
||||||
(org-compile-prefix-format 'todo)
|
(org-compile-prefix-format 'todo)
|
||||||
(org-set-sorting-strategy 'todo)
|
(org-set-sorting-strategy 'todo)
|
||||||
|
(org-prepare-agenda)
|
||||||
(let* ((today (time-to-days (current-time)))
|
(let* ((today (time-to-days (current-time)))
|
||||||
(date (calendar-gregorian-from-absolute today))
|
(date (calendar-gregorian-from-absolute today))
|
||||||
(kwds org-todo-keywords-1)
|
(kwds org-todo-keywords-for-agenda)
|
||||||
(completion-ignore-case t)
|
(completion-ignore-case t)
|
||||||
(org-select-this-todo-keyword
|
(org-select-this-todo-keyword
|
||||||
(if (stringp arg) arg
|
(if (stringp arg) arg
|
||||||
(and arg (integerp arg) (> arg 0)
|
(and arg (integerp arg) (> arg 0)
|
||||||
(nth (1- arg) org-todo-keywords-1))))
|
(nth (1- arg) kwds))))
|
||||||
rtn rtnall files file pos)
|
rtn rtnall files file pos)
|
||||||
(when (equal arg '(4))
|
(when (equal arg '(4))
|
||||||
(setq org-select-this-todo-keyword
|
(setq org-select-this-todo-keyword
|
||||||
(completing-read "Keyword (or KWD1|K2D2|...): "
|
(completing-read "Keyword (or KWD1|K2D2|...): "
|
||||||
(mapcar 'list org-todo-keywords-1)
|
(mapcar 'list kwds) nil nil)))
|
||||||
nil nil)))
|
|
||||||
(and (equal 0 arg) (setq org-select-this-todo-keyword nil))
|
(and (equal 0 arg) (setq org-select-this-todo-keyword nil))
|
||||||
(org-prepare-agenda)
|
|
||||||
(org-set-local 'org-last-arg arg)
|
(org-set-local 'org-last-arg arg)
|
||||||
(org-set-local 'org-todo-keywords-1 kwds)
|
;FIXME (org-set-local 'org-todo-keywords-for-agenda kwds)
|
||||||
(setq org-agenda-redo-command
|
(setq org-agenda-redo-command
|
||||||
'(org-todo-list (or current-prefix-arg org-last-arg)))
|
'(org-todo-list (or current-prefix-arg org-last-arg)))
|
||||||
(setq files (org-agenda-files)
|
(setq files (org-agenda-files)
|
||||||
|
@ -14544,13 +14580,15 @@ for a keyword. A numeric prefix directly selects the Nth keyword in
|
||||||
(add-text-properties pos (1- (point)) (list 'face 'org-warning))
|
(add-text-properties pos (1- (point)) (list 'face 'org-warning))
|
||||||
(setq pos (point))
|
(setq pos (point))
|
||||||
(unless org-agenda-multi
|
(unless org-agenda-multi
|
||||||
(insert
|
(insert "Available with `N r': (0)ALL")
|
||||||
"Available with `N r': (0)ALL "
|
(let ((n 0) s)
|
||||||
(let ((n 0))
|
(mapc (lambda (x)
|
||||||
(mapconcat (lambda (x)
|
(setq s (format "(%d)%s" (setq n (1+ n)) x))
|
||||||
(format "(%d)%s" (setq n (1+ n)) x))
|
(if (> (+ (current-column) (string-width s) 1) (frame-width))
|
||||||
org-todo-keywords-1 " "))
|
(insert "\n "))
|
||||||
"\n"))
|
(insert " " s))
|
||||||
|
kwds))
|
||||||
|
(insert "\n"))
|
||||||
(add-text-properties pos (1- (point)) (list 'face 'org-level-3)))
|
(add-text-properties pos (1- (point)) (list 'face 'org-level-3)))
|
||||||
(when rtnall
|
(when rtnall
|
||||||
(insert (org-finalize-agenda-entries rtnall) "\n"))
|
(insert (org-finalize-agenda-entries rtnall) "\n"))
|
||||||
|
@ -16726,15 +16764,8 @@ The images can be removed again with \\[org-ctrl-c-ctrl-c]."
|
||||||
(fg (or (plist-get options :foreground) "Black"))
|
(fg (or (plist-get options :foreground) "Black"))
|
||||||
(bg (or (plist-get options :background) "Transparent")))
|
(bg (or (plist-get options :background) "Transparent")))
|
||||||
(with-temp-file texfile
|
(with-temp-file texfile
|
||||||
(insert "\\documentclass{article}
|
(insert org-format-latex-header
|
||||||
\\usepackage{fullpage}
|
"\n\\begin{document}\n" string "\n\\end{document}\n"))
|
||||||
\\usepackage{amssymb}
|
|
||||||
\\usepackage[usenames]{color}
|
|
||||||
\\usepackage{amsmath}
|
|
||||||
\\usepackage{latexsym}
|
|
||||||
\\usepackage[mathscr]{eucal}
|
|
||||||
\\pagestyle{empty}
|
|
||||||
\\begin{document}\n" string "\n\\end{document}\n"))
|
|
||||||
(let ((dir default-directory))
|
(let ((dir default-directory))
|
||||||
(condition-case nil
|
(condition-case nil
|
||||||
(progn
|
(progn
|
||||||
|
@ -16864,6 +16895,7 @@ The images can be removed again with \\[org-ctrl-c-ctrl-c]."
|
||||||
"Skip lines starting with \"#\" and subtrees starting with COMMENT."
|
"Skip lines starting with \"#\" and subtrees starting with COMMENT."
|
||||||
(let ((re1 (concat "^\\(\\*+\\)[ \t]+" org-comment-string))
|
(let ((re1 (concat "^\\(\\*+\\)[ \t]+" org-comment-string))
|
||||||
(re2 "^\\(\\*+\\)[ \t\n\r]")
|
(re2 "^\\(\\*+\\)[ \t\n\r]")
|
||||||
|
(case-fold-search nil)
|
||||||
rtn line level)
|
rtn line level)
|
||||||
(while (setq line (pop lines))
|
(while (setq line (pop lines))
|
||||||
(cond
|
(cond
|
||||||
|
@ -17387,8 +17419,9 @@ translations. There is currently no way for users to extend this.")
|
||||||
(let ((end (save-excursion (outline-next-heading) (point))))
|
(let ((end (save-excursion (outline-next-heading) (point))))
|
||||||
(when (re-search-forward "^[ \t]*[^# \t\r\n].*\n" end t)
|
(when (re-search-forward "^[ \t]*[^# \t\r\n].*\n" end t)
|
||||||
;; Mark the line so that it will not be exported as normal text.
|
;; Mark the line so that it will not be exported as normal text.
|
||||||
|
(org-unmodified
|
||||||
(add-text-properties (match-beginning 0) (match-end 0)
|
(add-text-properties (match-beginning 0) (match-end 0)
|
||||||
(list :org-license-to-kill t))
|
(list :org-license-to-kill t)))
|
||||||
;; Return the title string
|
;; Return the title string
|
||||||
(org-trim (match-string 0))))))
|
(org-trim (match-string 0))))))
|
||||||
|
|
||||||
|
@ -17463,10 +17496,6 @@ underlined headlines. The default is 3."
|
||||||
(setq-default org-todo-line-regexp org-todo-line-regexp)
|
(setq-default org-todo-line-regexp org-todo-line-regexp)
|
||||||
(let* ((opt-plist (org-combine-plists (org-default-export-plist)
|
(let* ((opt-plist (org-combine-plists (org-default-export-plist)
|
||||||
(org-infile-export-plist)))
|
(org-infile-export-plist)))
|
||||||
(region
|
|
||||||
(buffer-substring
|
|
||||||
(if (org-region-active-p) (region-beginning) (point-min))
|
|
||||||
(if (org-region-active-p) (region-end) (point-max))))
|
|
||||||
(custom-times org-display-custom-times)
|
(custom-times org-display-custom-times)
|
||||||
(org-ascii-current-indentation '(0 . 0))
|
(org-ascii-current-indentation '(0 . 0))
|
||||||
(level 0) line txt
|
(level 0) line txt
|
||||||
|
@ -17496,6 +17525,10 @@ underlined headlines. The default is 3."
|
||||||
; (quote-re (concat "^\\(\\*+\\)\\([ \t]*" org-quote-string "\\>\\)"))
|
; (quote-re (concat "^\\(\\*+\\)\\([ \t]*" org-quote-string "\\>\\)"))
|
||||||
(todo nil)
|
(todo nil)
|
||||||
(lang-words nil)
|
(lang-words nil)
|
||||||
|
(region
|
||||||
|
(buffer-substring
|
||||||
|
(if (org-region-active-p) (region-beginning) (point-min))
|
||||||
|
(if (org-region-active-p) (region-end) (point-max))))
|
||||||
(lines (org-skip-comments
|
(lines (org-skip-comments
|
||||||
(org-split-string
|
(org-split-string
|
||||||
(org-cleaned-string-for-export
|
(org-cleaned-string-for-export
|
||||||
|
@ -17506,7 +17539,8 @@ underlined headlines. The default is 3."
|
||||||
"[\r\n]")))
|
"[\r\n]")))
|
||||||
thetoc have-headings first-heading-pos)
|
thetoc have-headings first-heading-pos)
|
||||||
|
|
||||||
(remove-text-properties (point-min) (point-max) '(:org-license-to-kill t))
|
(org-unmodified
|
||||||
|
(remove-text-properties (point-min) (point-max) '(:org-license-to-kill t)))
|
||||||
|
|
||||||
(setq org-last-level 1)
|
(setq org-last-level 1)
|
||||||
(org-init-section-numbers)
|
(org-init-section-numbers)
|
||||||
|
@ -18001,7 +18035,8 @@ associated with a file."
|
||||||
rpl path desc descp desc1 desc2 link
|
rpl path desc descp desc1 desc2 link
|
||||||
)
|
)
|
||||||
|
|
||||||
(remove-text-properties (point-min) (point-max) '(:org-license-to-kill t))
|
(org-unmodified
|
||||||
|
(remove-text-properties (point-min) (point-max) '(:org-license-to-kill t)))
|
||||||
|
|
||||||
(message "Exporting...")
|
(message "Exporting...")
|
||||||
|
|
||||||
|
@ -18536,8 +18571,10 @@ lang=\"%s\" xml:lang=\"%s\">
|
||||||
(string-match org-table-number-regexp x))
|
(string-match org-table-number-regexp x))
|
||||||
(incf (aref fnum i)))
|
(incf (aref fnum i)))
|
||||||
(if head
|
(if head
|
||||||
(concat "<th>" x "</th>")
|
(concat (car org-export-table-header-tags) x
|
||||||
(concat "<td>" x "</td>")))
|
(cdr org-export-table-header-tags))
|
||||||
|
(concat (car org-export-table-data-tags) x
|
||||||
|
(cdr org-export-table-data-tags))))
|
||||||
fields "")
|
fields "")
|
||||||
"</tr>")
|
"</tr>")
|
||||||
html)))
|
html)))
|
||||||
|
@ -18593,15 +18630,19 @@ But it has the disadvantage, that no cell- or row-spanning is allowed."
|
||||||
(progn
|
(progn
|
||||||
(if field-buffer
|
(if field-buffer
|
||||||
(progn
|
(progn
|
||||||
(setq html (concat
|
(setq
|
||||||
|
html
|
||||||
|
(concat
|
||||||
html
|
html
|
||||||
"<tr>"
|
"<tr>"
|
||||||
(mapconcat
|
(mapconcat
|
||||||
(lambda (x)
|
(lambda (x)
|
||||||
(if (equal x "") (setq x empty))
|
(if (equal x "") (setq x empty))
|
||||||
(if head
|
(if head
|
||||||
(concat "<th>" x "</th>\n")
|
(concat (car org-export-table-header-tags) x
|
||||||
(concat "<td>" x "</td>\n")))
|
(cdr org-export-table-header-tags))
|
||||||
|
(concat (car org-export-table-data-tags) x
|
||||||
|
(cdr org-export-table-data-tags))))
|
||||||
field-buffer "\n")
|
field-buffer "\n")
|
||||||
"</tr>\n"))
|
"</tr>\n"))
|
||||||
(setq head nil)
|
(setq head nil)
|
||||||
|
@ -18748,6 +18789,10 @@ stacked delimiters is N. Escaping delimiters is not possible."
|
||||||
"\\(\\(?:\\*\\|[-+]?[^-+*!@#$%^_ \t\r\n,:\"?<>~;./{}=()]+\\)\\)\\)")
|
"\\(\\(?:\\*\\|[-+]?[^-+*!@#$%^_ \t\r\n,:\"?<>~;./{}=()]+\\)\\)\\)")
|
||||||
"The regular expression matching a sub- or superscript.")
|
"The regular expression matching a sub- or superscript.")
|
||||||
|
|
||||||
|
;(let ((s "a\\_b"))
|
||||||
|
; (and (string-match org-match-substring-regexp s)
|
||||||
|
; (conca t (match-string 1 s) ":::" (match-string 2 s))))
|
||||||
|
|
||||||
(defun org-export-html-convert-sub-super (string)
|
(defun org-export-html-convert-sub-super (string)
|
||||||
"Convert sub- and superscripts in STRING to HTML."
|
"Convert sub- and superscripts in STRING to HTML."
|
||||||
(let (key c (s 0) (requireb (eq org-export-with-sub-superscripts '{})))
|
(let (key c (s 0) (requireb (eq org-export-with-sub-superscripts '{})))
|
||||||
|
@ -18762,9 +18807,9 @@ stacked delimiters is N. Escaping delimiters is not possible."
|
||||||
string (replace-match
|
string (replace-match
|
||||||
(concat (match-string 1 string)
|
(concat (match-string 1 string)
|
||||||
"<" key ">" c "</" key ">")
|
"<" key ">" c "</" key ">")
|
||||||
t t string)))
|
t t string))))
|
||||||
(while (string-match "\\\\\\([_^]\\)" string)
|
(while (string-match "\\\\\\([_^]\\)" string)
|
||||||
(setq string (replace-match (match-string 1 string) t t string))))
|
(setq string (replace-match (match-string 1 string) t t string)))
|
||||||
string))
|
string))
|
||||||
|
|
||||||
(defun org-export-html-convert-emphasize (string)
|
(defun org-export-html-convert-emphasize (string)
|
||||||
|
@ -20075,6 +20120,12 @@ really on, so that the block visually is on the match."
|
||||||
(throw 'exit t)))
|
(throw 'exit t)))
|
||||||
nil))))
|
nil))))
|
||||||
|
|
||||||
|
(defun org-uniquify (list)
|
||||||
|
"Remove duplicate elements from LIST."
|
||||||
|
(let (res)
|
||||||
|
(mapc (lambda (x) (add-to-list 'res x 'append)) list)
|
||||||
|
res))
|
||||||
|
|
||||||
(defun org-delete-all (elts list)
|
(defun org-delete-all (elts list)
|
||||||
"Remove all elements in ELTS from LIST."
|
"Remove all elements in ELTS from LIST."
|
||||||
(while elts
|
(while elts
|
||||||
|
@ -20211,6 +20262,7 @@ not an indirect buffer"
|
||||||
;; fill the headline as well.
|
;; fill the headline as well.
|
||||||
(org-set-local 'comment-start-skip "^#+[ \t]*")
|
(org-set-local 'comment-start-skip "^#+[ \t]*")
|
||||||
(org-set-local 'paragraph-separate "\f\\|\\*\\|[ ]*$\\|[ \t]*[:|]")
|
(org-set-local 'paragraph-separate "\f\\|\\*\\|[ ]*$\\|[ \t]*[:|]")
|
||||||
|
;; FIXME!!!!!!! (org-set-local 'paragraph-separate "\f\\|[ ]*$")
|
||||||
;; The paragraph starter includes hand-formatted lists.
|
;; The paragraph starter includes hand-formatted lists.
|
||||||
(org-set-local 'paragraph-start
|
(org-set-local 'paragraph-start
|
||||||
"\f\\|[ ]*$\\|\\([*\f]+\\)\\|[ \t]*\\([-+*][ \t]+\\|[0-9]+[.)][ \t]+\\)\\|[ \t]*[:|]")
|
"\f\\|[ ]*$\\|\\([*\f]+\\)\\|[ \t]*\\([-+*][ \t]+\\|[0-9]+[.)][ \t]+\\)\\|[ \t]*[:|]")
|
||||||
|
|
53
org.texi
53
org.texi
|
@ -3,8 +3,8 @@
|
||||||
@setfilename ../info/org
|
@setfilename ../info/org
|
||||||
@settitle Org Mode Manual
|
@settitle Org Mode Manual
|
||||||
|
|
||||||
@set VERSION 4.70
|
@set VERSION 4.71
|
||||||
@set DATE March 2007
|
@set DATE April 2007
|
||||||
|
|
||||||
@dircategory Emacs
|
@dircategory Emacs
|
||||||
@direntry
|
@direntry
|
||||||
|
@ -717,10 +717,16 @@ Backward to higher level heading.
|
||||||
@item C-c C-j
|
@item C-c C-j
|
||||||
Jump to a different place without changing the current outline
|
Jump to a different place without changing the current outline
|
||||||
visibility. Shows the document structure in a temporary buffer, where
|
visibility. Shows the document structure in a temporary buffer, where
|
||||||
you can use visibility cycling (@key{TAB}) to find your destination.
|
you can use the following keys to find your destination:
|
||||||
After pressing @key{RET}, the cursor moves to the selected location in
|
@example
|
||||||
the original buffer, and the headings hierarchy above it is made
|
@key{TAB} @r{Cycle visibility.}
|
||||||
visible.
|
@key{down} / @key{up} @r{Next/previous visible headline.}
|
||||||
|
n / p @r{Next/previous visible headline.}
|
||||||
|
f / b @r{Next/previous headline same level.}
|
||||||
|
u @r{One level up.}
|
||||||
|
0-9 @r{Digit argument.}
|
||||||
|
@key{RET} @r{Select this location.}
|
||||||
|
@end example
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@node Structure editing, Archiving, Motion, Document structure
|
@node Structure editing, Archiving, Motion, Document structure
|
||||||
|
@ -2460,8 +2466,7 @@ calendar | %:date"
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@noindent
|
@noindent
|
||||||
If you would like to have the cursor in a specific position after the
|
To place the cursor after template expansion use:
|
||||||
template has been expanded:
|
|
||||||
|
|
||||||
@example
|
@example
|
||||||
%? @r{After completing the template, position cursor here.}
|
%? @r{After completing the template, position cursor here.}
|
||||||
|
@ -2481,17 +2486,25 @@ target file - if you press @key{RET}, the value specified for the
|
||||||
template is used. Then the command offers the headings tree of the
|
template is used. Then the command offers the headings tree of the
|
||||||
selected file, with the cursor position at the default headline (if you
|
selected file, with the cursor position at the default headline (if you
|
||||||
had specified one in the template). You can either immediately press
|
had specified one in the template). You can either immediately press
|
||||||
@key{RET} to get the note placed there. Or you can use vertical cursor
|
@key{RET} to get the note placed there. Or you can use the following
|
||||||
motion (@key{up} and @key{down}) and visibility cycling (@key{TAB}) to
|
keys to find a better location:
|
||||||
find a better place. Pressing @key{RET} or @key{left} or @key{right}
|
@example
|
||||||
|
@key{TAB} @r{Cycle visibility.}
|
||||||
|
@key{down} / @key{up} @r{Next/previous visible headline.}
|
||||||
|
n / p @r{Next/previous visible headline.}
|
||||||
|
f / b @r{Next/previous headline same level.}
|
||||||
|
u @r{One level up.}
|
||||||
|
@c 0-9 @r{Digit argument.}
|
||||||
|
@end example
|
||||||
|
@noindent
|
||||||
|
Pressing @key{RET} or @key{left} or @key{right}
|
||||||
then leads to the following result.
|
then leads to the following result.
|
||||||
|
|
||||||
@multitable @columnfractions 0.2 0.1 0.7
|
@multitable @columnfractions 0.2 0.15 0.65
|
||||||
@item @b{Cursor position} @tab @b{Key} @tab @b{Note gets inserted}
|
@item @b{Cursor position} @tab @b{Key} @tab @b{Note gets inserted}
|
||||||
@item buffer-start @tab @key{RET} @tab as level 2 heading at end of file
|
@item buffer-start @tab @key{RET} @tab as level 2 heading at end of file
|
||||||
@item on headline @tab @key{RET} @tab as sublevel of the heading at cursor
|
@item on headline @tab @key{RET} @tab as sublevel of the heading at cursor
|
||||||
@item @tab @key{left} @tab as same level, before current heading
|
@item @tab @key{left}/@key{right} @tab as same level, before/after current heading
|
||||||
@item @tab @key{right} @tab as same level, after current heading
|
|
||||||
@item not on headline @tab @key{RET}
|
@item not on headline @tab @key{RET}
|
||||||
@tab at cursor position, level taken from context.
|
@tab at cursor position, level taken from context.
|
||||||
Or use prefix arg to specify level manually.
|
Or use prefix arg to specify level manually.
|
||||||
|
@ -4679,7 +4692,9 @@ preview the typeset result of these fragments, and upon export to HTML,
|
||||||
all fragments will be converted to images and inlined into the HTML
|
all fragments will be converted to images and inlined into the HTML
|
||||||
document. For this to work you need to be on a system with a working
|
document. For this to work you need to be on a system with a working
|
||||||
La@TeX{} installation. You also need the @file{dvipng} program,
|
La@TeX{} installation. You also need the @file{dvipng} program,
|
||||||
available at @url{http://sourceforge.net/projects/dvipng/}.
|
available at @url{http://sourceforge.net/projects/dvipng/}. The LaTeX
|
||||||
|
header that will be used when processing a fragment can be configured
|
||||||
|
with the variable @code{org-format-latex-header}.
|
||||||
|
|
||||||
La@TeX{} fragments don't need any special marking at all. The following
|
La@TeX{} fragments don't need any special marking at all. The following
|
||||||
snippets will be identified as LaTeX source code:
|
snippets will be identified as LaTeX source code:
|
||||||
|
@ -5605,13 +5620,13 @@ Once org-publish is properly configured, you can publish with the
|
||||||
following functions:
|
following functions:
|
||||||
|
|
||||||
@table @kbd
|
@table @kbd
|
||||||
@item C-c C-e c
|
@item C-c C-e C
|
||||||
Prompt for a specific project and publish all files that belong to it.
|
Prompt for a specific project and publish all files that belong to it.
|
||||||
@item C-c C-e p
|
@item C-c C-e P
|
||||||
Publish the project containing the current file.
|
Publish the project containing the current file.
|
||||||
@item C-c C-e f
|
@item C-c C-e F
|
||||||
Publish only the current file.
|
Publish only the current file.
|
||||||
@item C-c C-e a
|
@item C-c C-e A
|
||||||
Publish all projects.
|
Publish all projects.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
|
BIN
orgcard.pdf
BIN
orgcard.pdf
Binary file not shown.
|
@ -1,5 +1,5 @@
|
||||||
% Reference Card for Org Mode
|
% Reference Card for Org Mode
|
||||||
\def\orgversionnumber{4.70}
|
\def\orgversionnumber{4.71}
|
||||||
\def\versionyear{2007} % latest update
|
\def\versionyear{2007} % latest update
|
||||||
\def\year{2007} % latest copyright year
|
\def\year{2007} % latest copyright year
|
||||||
%
|
%
|
||||||
|
|
Loading…
Reference in New Issue