From: jeff stern <jas.61803@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: org-special-ctrl-a/e broken [7.9.3f (release_7.9.3f-1447-gb2e1d6-git @ org-loaddefs.el can not be found!)]
Date: Thu, 7 Mar 2013 20:16:03 -0800 [thread overview]
Message-ID: <CALMHRHHwTWGR6=1BVy23rwE1qjHHjt1UFGfWbC=e3jdQDhtutw@mail.gmail.com> (raw)
Hi, all.
i am noticing that in at least the latest git pull version of
org-mode, org-special-ctrl-a/e (if setq'd to t) does not work
correctly in Org-mode version 7.9.3f (release_7.9.3f-1447-gb2e1d6-git
but does work correctly in Org-mode version 7.8.03
(release_7.8.03.268.g9706.dirty).
I run neither version fully installed - -just run via source in a
subdir which is on my load-path (~/git/org-mode/lisp).
I am running GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version
2.24.10) of 2012-11-08 on lakoocha, modified by Debian (on Ubuntu
12.10). (My emacs does have an org-mode built-in (apparently 7.8.11)
which gets 'redefined' every time I start up, because of my git-pulled
org-mode in the load-path. I don't know how to get rid of it.
However, that is true both when I am running org-mode 7.8.03 and
7.9.3f..)
Because of a 2nd bug which I also experience only in 7.9.3f, I cannot
post this bug via M-x org-submit-bug-report, either. (I get as far as
being prompted (in the minibuffer) with: "Include your Org-mode
configuration (yes or no)" and I type yes and then in the mini-buffer
returns the message, "Wrong type argument: stringp, nil", and I am
returned only to the blank *scratch* buffer.)
Fortunately, I saved my previous org-mode git directory (7.8.03), and
can switch back and forth between that and the new one (7.9.3f) and
restart emacs each time to test and confirm.
Erroneous behavior has 2 parts:
1) C-a: When (setq org-special-ctrl-a/e t) in the newest org-mode, C-a
doesn't work correctly when on a header. Repeated presses of C-a
toggle point back and forth between 1st star in the headline (or a
later star if #+startup indent is specified and on a 2nd or more level
headline) and the first character of text after the todo keyword.
2) C-e: C-e doesn't work at all. Whether on a headline line, or in
normal text, C-e only results in minibuffer message: Symbol's function
definition is void: org-element-at-point
Expected Behavior:
Of course, correct behavior (as I experience it when running org-mode
7.8.03) is that C-a (no matter how many times typed) takes point ONLY
to 1st character of headline title text following any TODO keyword.
Correct behavior for C-e is to take point only to just after the last
char of headline title text (but before any trailing tags).
Again, reverting to 7.8.03 org-mode, and restarting emacs, the problem
goes away. Or setting org-special-ctrl-a/e nil makes problem go away
when using newest org-mode, but of course just reverts to normal
behavior (point on stars or tags, etc.)
Let me know if I can be any more specific.
All behavior can be reproduced with minimal.emacs and test.org as
below. "current state" reflects that setup.
Thanks for any suggestions or help..
Jeff Stern
I start with:
================================================================================
$ emacs24-x -Q -l ~/minimal.emacs
================================================================================
where ~/minimal.emacs is:
================================================================================
(add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp"))
(add-to-list 'auto-mode-alist '("\\.\\(org\\ |org_archive\\|txt\\)$"
. org-mode))
(setq org-agenda-files '("~/test.org"))
(require 'org-install)
(require 'org-habit)
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)
;; test turning on or off
(setq org-special-ctrl-a/e t)
================================================================================
and ~/test.org is:
================================================================================
Hello this is a minimal test file for org-mode
* TODO Heading 1 :TODAY:
** TODO Heading 2 :TOMORROW:
*** NEXT Heading 3 :WEDNESDAY:
================================================================================
Emacs : GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)
of 2012-11-08 on lakoocha, modified by Debian
Package: Org-mode version 7.9.3f (release_7.9.3f-1447-gb2e1d6-git @
org-loaddefs.el can not be found!)
current state:
==============
(setq
org-tab-first-hook '(org-hide-block-toggle-maybe
org-src-native-tab-command-maybe
org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
org-occur-hook '(org-first-headline-recenter)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-confirm-shell-link-function 'yes-or-no-p
org-special-ctrl-a/e t
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-babel-pre-tangle-hook '(save-buffer)
org-mode-hook '((lambda nil
(org-add-hook (quote change-major-mode-hook)
(quote org-show-block-all) (quote append) (quote local))
)
(lambda nil
(org-add-hook (quote change-major-mode-hook)
(quote org-babel-show-result-all) (quote append)
(quote local))
)
org-babel-result-hide-spec org-babel-hide-all-hashes)
org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
org-babel-execute-safely-maybe)
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
org-cycle-hide-inline-tasks org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-confirm-elisp-link-function 'yes-or-no-p
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-agenda-files '("~/test.org")
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
)
next reply other threads:[~2013-03-08 4:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-08 4:16 jeff stern [this message]
2013-03-08 4:39 ` org-special-ctrl-a/e broken [7.9.3f (release_7.9.3f-1447-gb2e1d6-git @ org-loaddefs.el can not be found!)] Nick Dokos
2013-03-08 4:50 ` Jambunathan K
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALMHRHHwTWGR6=1BVy23rwE1qjHHjt1UFGfWbC=e3jdQDhtutw@mail.gmail.com' \
--to=jas.61803@gmail.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.