1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-26 07:33:39 +00:00

Change default values of some variables.

This commit is contained in:
Carsten Dominik 2009-02-01 23:49:03 +01:00
parent bf014fbb8b
commit 2949012f0f
4 changed files with 39 additions and 27 deletions

View File

@ -968,12 +968,13 @@ headline marker like @samp{****}.
Depending on the variables @code{org-yank-adjusted-subtrees} and
@code{org-yank-folded-subtrees}, Org's internal @code{yank} command will
paste subtrees folded and in a clever way, using the same command as @kbd{C-c
C-x C-y}. With the default settings, level adjustment will take place and
yanked trees will be folded unless doing so would swallow text previously
visible. Any prefix argument to this command will force a normal @code{yank}
to be executed, with the prefix passed along. A good way to force a normal
yank is @kbd{C-u C-y}. If you use @code{yank-pop} after a yank, it will yank
previous kill items plainly, without adjustment and folding.
C-x C-y}. With the default settings, not level adjustment will take place,
but the yanked tree will be folded unless doing so would swallow text
previously visible. Any prefix argument to this command will force a normal
@code{yank} to be executed, with the prefix passed along. A good way to
force a normal yank is @kbd{C-u C-y}. If you use @code{yank-pop} after a
yank, it will yank previous kill items plainly, without adjustment and
folding.
@kindex C-c C-w
@item C-c C-w
Refile entry or region to a different location. @xref{Refiling notes}.
@ -2794,7 +2795,8 @@ link and description parts of the link.
@c
@cindex following links
@kindex C-c C-o
@item C-c C-o
@kindex RET
@item C-c C-o @r{or} @key{RET}
Open link at point. This will launch a web browser for URLs (using
@command{browse-url-at-point}), run VM/MH-E/Wanderlust/Rmail/Gnus/BBDB for
the corresponding links, and execute the command in a shell link. When the
@ -3231,15 +3233,13 @@ key after each keyword, in parenthesis. For example:
(sequence "|" "CANCELED(c)")))
@end lisp
If you then press @code{C-u C-c C-t} followed by the selection key, the
entry will be switched to this state. @key{SPC} can be used to remove
any TODO keyword from an entry. Should you like this way of selecting
TODO states a lot, you might want to set the variable
@code{org-use-fast-todo-selection} to @code{t} and make this behavior
the default. Check also the variable
If you then press @code{C-c C-t} followed by the selection key, the entry
will be switched to this state. @key{SPC} can be used to remove any TODO
keyword from an entry.@footnote{Check also the variable
@code{org-fast-tag-selection-include-todo}, it allows to change the TODO
state through the tags interface (@pxref{Setting tags}), in case you
like to mingle the two concepts.
state through the tags interface (@pxref{Setting tags}), in case you like to
mingle the two concepts. Note that this means you need to come up with
unique keys across both sets of keywords.}
@node Per-file keywords, Faces for TODO keywords, Fast access to TODO states, TODO extensions
@subsection Setting up keywords for individual files

View File

@ -1,3 +1,13 @@
2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
* org.el (org-yank-adjusted-subtrees, org-return-follows-link)
(org-use-fast-todo-selection, org-tags-column): New default
setting for variables, based on a poll what typical uses use.
* org-agenda.el (org-agenda-sorting-strategy)
(org-agenda-tags-column): New default setting for variables, based
on a poll what typical uses use.
2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
* org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming

View File

@ -781,9 +781,9 @@ a grid line."
:group 'org-agenda)
(defcustom org-agenda-sorting-strategy
'((agenda time-up category-keep priority-down)
(todo category-keep priority-down)
(tags category-keep priority-down)
'((agenda time-up priority-down category-keep)
(todo priority-down category-keep)
(tags priority-down category-keep)
(search category-keep))
"Sorting structure for the agenda items of a single day.
This is a list of symbols which will be used in sequence to determine
@ -1014,7 +1014,7 @@ When this is the symbol `prefix', only remove tags when
(defvaralias 'org-agenda-remove-tags-when-in-prefix
'org-agenda-remove-tags))
(defcustom org-agenda-tags-column -80
(defcustom org-agenda-tags-column (if (featurep 'xemacs) -79 -80)
"Shift tags in agenda items to this column.
If this number is positive, it specifies the column. If it is negative,
it means that the tags should be flushright to that column. For example,

View File

@ -689,7 +689,7 @@ text after the yank would be swallowed into a folded tree by this action."
:group 'org-edit-structure
:type 'boolean)
(defcustom org-yank-adjusted-subtrees t
(defcustom org-yank-adjusted-subtrees nil
"Non-nil means, when yanking subtrees, adjust the level.
With this setting, `org-paste-subtree' is used to insert the subtree, see
this function for details."
@ -1113,7 +1113,7 @@ Needs to be set before org.el is loaded."
:group 'org-link-follow
:type 'boolean)
(defcustom org-return-follows-link nil
(defcustom org-return-follows-link t
"Non-nil means, on links RET will follow the link.
Needs to be set before org.el is loaded."
:group 'org-link-follow
@ -1565,7 +1565,7 @@ more information."
:type '(choice (const sequence)
(const type)))
(defcustom org-use-fast-todo-selection 'prefix
(defcustom org-use-fast-todo-selection t
"Non-nil means, use the fast todo selection scheme with C-c C-t.
This variable describes if and under what circumstances the cycling
mechanism for TODO keywords will be replaced by a single-key, direct
@ -1636,8 +1636,9 @@ TODO state changes
"Non-nil means, undone TODO entries will block switching the parent to DONE.
Also, if a parent has an :ORDERED: property, switching an entry to DONE will
be blocked if any prior sibling is not yet done.
You need to set this variable through the customize interface, or to
restart emacs after changing the value."
This variable needs to be set before org.el is loaded, and you need to
restart Emacs after a change to make the change effective. The only way
to change is while Emacs is running is through the customize interface."
:set (lambda (var val)
(set var val)
(if val
@ -1653,8 +1654,9 @@ restart emacs after changing the value."
When this is nil, checkboxes have no influence on switching TODO states.
When non-nil, you first need to check off all check boxes before the TODO
entry can be switched to DONE.
You need to set this variable through the customize interface, or to
restart emacs after changing the value."
This variable needs to be set before org.el is loaded, and you need to
restart Emacs after a change to make the change effective. The only way
to change is while Emacs is running is through the customize interface."
:set (lambda (var val)
(set var val)
(if val
@ -2043,7 +2045,7 @@ displaying the tags menu is not even shown, until you press C-c again."
"Non-nil means, fast tags selection interface will also offer TODO states.
This is an undocumented feature, you should not rely on it.")
(defcustom org-tags-column (if (featurep 'xemacs) -79 -80)
(defcustom org-tags-column (if (featurep 'xemacs) -76 -77)
"The column to which tags should be indented in a headline.
If this number is positive, it specifies the column. If it is negative,
it means that the tags should be flushright to that column. For example,