From: Bernt Hansen <bernt@norang.ca>
To: Bastien <bzg@altern.org>
Cc: Achim Gratz <Stromeko@nexgo.de>, emacs-orgmode@gnu.org
Subject: Re: Opening (for the first time) a 10-line Org doc takes 4 seconds
Date: Tue, 15 Jan 2013 20:49:48 -0500 [thread overview]
Message-ID: <87vcaxyk03.fsf@norang.ca> (raw)
In-Reply-To: <87wqvrsqcp.fsf@bzg.ath.cx> (Bastien's message of "Sat, 05 Jan 2013 14:37:26 +0100")
Bastien <bzg@altern.org> writes:
> Achim Gratz <Stromeko@nexgo.de> writes:
>
>> Bastien writes:
>>> What earlier version of Emacs does not behave like the current Emacs 24
>>> trunk with respect to this issue,
>>
>> Emacs 22 doesn't have any autoloads for Org at all, so nothing works.
>>
>> Emacs 23 has some autoload definitions from its built-in Org version(s),
>> but there have been many changes to function/library name pairs in later
>> versions of Org, so I'd generally expect this to be broken, but maybe
>> not overtly if org gets loaded first (but org-version is not present as
>> an autoloaded function for example).
>>
>> Emacs 24.x should be mostly clean, but there have been some additional
>> autoloads in Babel that would be missing.
>
> All this I know -- I'm a bit stubborn but I read and learn :)
>
> Let me restate my question.
>
> Let's say that someone uses Emacs 23.2 with Org from Git. This user
> has this line in her ~/.emacs.el before any other Org configuration:
>
> (add-to-list 'load-path "~/git/org-mode/lisp/")
>
> My assumption is that C-h f org-mode RET will show that org-mode is
> an autoloaded function in "~/git/org-mode/lisp/" -- as it does for
> me (using Emacs 24).
>
> Is that so? (I can't test Org with Emacs 23.2 right now.)
For the record here is the output on my Emacs:
GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1) of 2013-01-08
on murphy, modified by Debian
Current git head: release_7.9.3d-826-gbe0d87d
,----[ minimal.emacs ]
| (add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp"))
| (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
| (require 'org)
|
| (global-set-key "\C-cl" 'org-store-link)
| (global-set-key "\C-ca" 'org-agenda)
| (global-set-key "\C-cb" 'org-iswitchb)
`----
,----[ minimal-emacs ]
| #!/bin/sh
| TESTEL=
| TESTFILE=/tmp/test.el
| if test -e $TESTFILE
| then
| TESTEL="-l /tmp/test.el"
| fi
| emacs -q -l ~/minimal.emacs $TESTEL $1
`----
,----[ C-h f org-mode RET ]
| org-mode is an interactive compiled Lisp function in `org.el'.
|
| (org-mode)
|
| Outline-based notes management and organizer, alias
| "Carsten's outline-mode for keeping track of everything."
|
| Org-mode develops organizational tasks around a NOTES file which
| contains information about projects as plain text. Org-mode is
| implemented on top of outline-mode, which is ideal to keep the content
| of large files well structured. It supports ToDo items, deadlines and
| time stamps, which magically appear in the diary listing of the Emacs
| calendar. Tables are easily created with a built-in table editor.
| Plain text URL-like links connect to websites, emails (VM), Usenet
| messages (Gnus), BBDB entries, and any files related to the project.
| For printing and sharing of notes, an Org-mode file (or a part of it)
| can be exported as a structured ASCII or HTML file.
|
| The following commands are available:
|
| key binding
| --- -------
|
| C-a org-beginning-of-line
| C-c Prefix Command
| C-e org-end-of-line
| TAB org-cycle
| C-j org-return-indent
| C-k org-kill-line
| RET org-return
| C-y org-yank
| ESC Prefix Command
| | org-force-self-insert
| C-# org-table-rotate-recalc-marks
| C-' org-cycle-agenda-files
| C-, org-cycle-agenda-files
| <C-S-down> org-shiftcontroldown
| <C-S-left> org-shiftcontrolleft
| <C-S-return> org-insert-todo-heading-respect-content
| <C-S-right> org-shiftcontrolright
| <C-S-up> org-shiftcontrolup
| <C-return> org-insert-heading-respect-content
| <C-tab> org-force-cycle-archived
| <M-S-down> org-shiftmetadown
| <M-S-left> org-shiftmetaleft
| <M-S-return> org-insert-todo-heading
| <M-S-right> org-shiftmetaright
| <M-S-up> org-shiftmetaup
| <M-down> org-metadown
| <M-left> org-metaleft
| <M-return> org-meta-return
| <M-right> org-metaright
| <M-up> org-metaup
| <S-down> org-shiftdown
| <S-iso-lefttab> org-shifttab
| <S-left> org-shiftleft
| <S-return> org-table-copy-down
| <S-right> org-shiftright
| <S-tab> org-shifttab
| <S-up> org-shiftup
| <backtab> org-shifttab
| <remap> Prefix Command
| <tab> org-cycle
|
| M-TAB pcomplete
| M-RET org-insert-heading
| C-M-t org-transpose-element
| M-a org-backward-sentence
| M-e org-forward-sentence
| M-h org-mark-element
| M-{ org-backward-element
| M-} org-forward-element
|
| C-c C-a org-attach
| C-c C-b org-backward-heading-same-level
| C-c C-c org-ctrl-c-ctrl-c
| C-c C-d org-deadline
| C-c C-e org-export
| C-c C-f org-forward-heading-same-level
| C-c C-j org-goto
| C-c C-k org-kill-note-or-show-branches
| C-c C-l org-insert-link
| C-c RET org-ctrl-c-ret
| C-c C-o org-open-at-point
| C-c C-q org-set-tags-command
| C-c C-r org-reveal
| C-c C-s org-schedule
| C-c C-t org-todo
| C-c C-v Prefix Command
| C-c C-w org-refile
| C-c C-x Prefix Command
| C-c C-y org-evaluate-time-range
| C-c C-z org-add-note
| C-c ESC Prefix Command
| C-c C-^ org-up-element
| C-c C-_ org-down-element
| C-c SPC org-table-blank-field
| C-c ! org-time-stamp-inactive
| C-c # org-update-statistics-cookies
| C-c $ org-archive-subtree
| C-c % org-mark-ring-push
| C-c & org-mark-ring-goto
| C-c ' org-edit-special
| C-c * org-ctrl-c-star
| C-c + org-table-sum
| C-c , org-priority
| C-c - org-ctrl-c-minus
| C-c . org-time-stamp
| C-c / org-sparse-tree
| C-c : org-toggle-fixed-width-section
| C-c ; org-toggle-comment
| C-c < org-date-from-calendar
| C-c = org-table-eval-formula
| C-c > org-goto-calendar
| C-c ? org-table-field-info
| C-c @ org-mark-subtree
| C-c [ org-agenda-file-to-front
| C-c \ org-match-sparse-tree
| C-c ] org-remove-file
| C-c ^ org-sort
| C-c ` org-table-edit-field
| C-c { org-table-toggle-formula-debugger
| C-c | org-table-create-or-convert-from-region
| C-c } org-table-toggle-coordinate-overlays
| C-c ~ org-table-create-with-table.el
| C-c C-* org-list-make-subtree
|
| <remap> <delete-backward-char> org-delete-backward-char
| <remap> <delete-char> org-delete-char
| <remap> <outline-backward-same-level>
| org-backward-heading-same-level
| <remap> <outline-demote> org-demote-subtree
| <remap> <outline-forward-same-level>
| org-forward-heading-same-level
| <remap> <outline-insert-heading>
| org-ctrl-c-ret
| <remap> <outline-mark-subtree> org-mark-subtree
| <remap> <outline-promote> org-promote-subtree
| <remap> <self-insert-command> org-self-insert-command
| <remap> <show-branches> org-kill-note-or-show-branches
| <remap> <show-subtree> org-show-subtree
| <remap> <transpose-words> org-transpose-words
|
| C-c C-M-l org-insert-all-links
| C-c M-w org-copy
|
| C-c C-v C-a org-babel-sha1-hash
| C-c C-v C-b org-babel-execute-buffer
| C-c C-v C-c org-babel-check-src-block
| C-c C-v C-d org-babel-demarcate-block
| C-c C-v C-e org-babel-execute-maybe
| C-c C-v C-f org-babel-tangle-file
| C-c C-v TAB org-babel-view-src-block-info
| C-c C-v C-j org-babel-insert-header-arg
| C-c C-v C-l org-babel-load-in-session
| C-c C-v C-n org-babel-next-src-block
| C-c C-v C-o org-babel-open-src-block-result
| C-c C-v C-p org-babel-previous-src-block
| C-c C-v C-r org-babel-goto-named-result
| C-c C-v C-s org-babel-execute-subtree
| C-c C-v C-t org-babel-tangle
| C-c C-v C-u org-babel-goto-src-block-head
| C-c C-v C-v org-babel-expand-src-block
| C-c C-v C-x org-babel-do-key-sequence-in-edit-buffer
| C-c C-v C-z org-babel-switch-to-session
| C-c C-v ESC Prefix Command
| C-c C-v I org-babel-view-src-block-info
| C-c C-v a org-babel-sha1-hash
| C-c C-v b org-babel-execute-buffer
| C-c C-v c org-babel-check-src-block
| C-c C-v d org-babel-demarcate-block
| C-c C-v e org-babel-execute-maybe
| C-c C-v f org-babel-tangle-file
| C-c C-v g org-babel-goto-named-src-block
| C-c C-v h org-babel-describe-bindings
| C-c C-v i org-babel-lob-ingest
| C-c C-v j org-babel-insert-header-arg
| C-c C-v l org-babel-load-in-session
| C-c C-v n org-babel-next-src-block
| C-c C-v o org-babel-open-src-block-result
| C-c C-v p org-babel-previous-src-block
| C-c C-v r org-babel-goto-named-result
| C-c C-v s org-babel-execute-subtree
| C-c C-v t org-babel-tangle
| C-c C-v u org-babel-goto-src-block-head
| C-c C-v v org-babel-expand-src-block
| C-c C-v x org-babel-do-key-sequence-in-edit-buffer
| C-c C-v z org-babel-switch-to-session-with-code
|
| C-c C-x C-a org-archive-subtree-default
| C-c C-x C-b org-toggle-checkbox
| C-c C-x C-c org-columns
| C-c C-x C-d org-clock-display
| C-c C-x C-f org-emphasize
| C-c C-x TAB org-clock-in
| C-c C-x C-j org-clock-goto
| C-c C-x C-l org-preview-latex-fragment
| C-c C-x RET Prefix Command
| C-c C-x C-n org-next-link
| C-c C-x C-o org-clock-out
| C-c C-x C-p org-previous-link
| C-c C-x C-q org-clock-cancel
| C-c C-x C-r org-clock-report
| C-c C-x C-s org-advertized-archive-subtree
| C-c C-x C-t org-toggle-time-stamp-overlays
| C-c C-x C-u org-dblock-update
| C-c C-x C-v org-toggle-inline-images
| C-c C-x C-w org-cut-special
| C-c C-x C-x org-clock-in-last
| C-c C-x C-y org-paste-special
| C-c C-x C-z org-resolve-clocks
| C-c C-x ESC Prefix Command
| C-c C-x ! org-reload
| C-c C-x , org-timer-pause-or-continue
| C-c C-x - org-timer-item
| C-c C-x . org-timer
| C-c C-x 0 org-timer-start
| C-c C-x : org-timer-cancel-timer
| C-c C-x ; org-timer-set-timer
| C-c C-x < org-agenda-set-restriction-lock
| C-c C-x > org-agenda-remove-restriction-lock
| C-c C-x A org-archive-to-archive-sibling
| C-c C-x E org-inc-effort
| C-c C-x G org-feed-goto-inbox
| C-c C-x P org-set-property-and-value
| C-c C-x [ org-reftex-citation
| C-c C-x \ org-toggle-pretty-entities
| C-c C-x _ org-timer-stop
| C-c C-x a org-toggle-archive-tag
| C-c C-x b org-tree-to-indirect-buffer
| C-c C-x c org-clone-subtree-with-time-shift
| C-c C-x d org-insert-drawer
| C-c C-x e org-set-effort
| C-c C-x f org-footnote-action
| C-c C-x g org-feed-update-all
| C-c C-x i org-insert-columns-dblock
| C-c C-x o org-toggle-ordered-property
| C-c C-x p org-set-property
| C-c C-x v org-copy-visible
|
| C-c C-v C-M-h org-babel-mark-block
|
| C-c C-x C-M-v org-redisplay-inline-images
| C-c C-x M-w org-copy-special
|
| C-c C-x RET g org-mobile-pull
| C-c C-x RET p org-mobile-push
|
|
|
| In addition to any hooks its parent mode `outline-mode' might have run,
| this mode runs the hook `org-mode-hook', as the final step
| during initialization.
`----
next prev parent reply other threads:[~2013-01-16 1:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-18 22:48 Opening (for the first time) a 10-line Org doc takes 4 seconds Sebastien Vauban
2012-12-18 23:33 ` Bastien
2012-12-19 9:05 ` Sebastien Vauban
2012-12-23 8:52 ` Bastien
2012-12-19 15:09 ` Achim Gratz
2013-01-05 11:39 ` Bastien
2013-01-05 12:01 ` Achim Gratz
2013-01-05 12:37 ` Bastien
2013-01-05 13:23 ` Achim Gratz
2013-01-05 13:37 ` Bastien
2013-01-16 1:49 ` Bernt Hansen [this message]
2013-01-16 17:04 ` Achim Gratz
2013-01-05 12:39 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vcaxyk03.fsf@norang.ca \
--to=bernt@norang.ca \
--cc=Stromeko@nexgo.de \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).