emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ken Harris <kengruven@gmail.com>
To: emacs-orgmode@gnu.org
Subject: C-a and C-e in org-mode
Date: Wed, 28 Jan 2009 13:58:32 -0800	[thread overview]
Message-ID: <d97bec7a0901281358k1516c276r665efa8d410609b@mail.gmail.com> (raw)

Hello, org-mode!

I've been using org-mode recently, and overall it's pretty nice, but
one thing doesn't seem to work quite right.

I have org-special-ctrl-a/e set to nil (the default, I think).  I
think this means that C-e should work just like normal.
Unfortunately, C-u C-e fails with "Wrong type argument: integerp,
(4)".  If I use an explicit prefix (like C-u 4 C-e) it works fine.

It's been a while since I've written any Emacs Lisp, but I guess (4)
is the default prefix argument and end-of-line doesn't know how to
parse that when coming in as a normal arg.  This is probably an easy
fix (and maybe I'll write a patch later, if I have some spare time).

C-a seems to always go to the start-of-line, regardless of the prefix
argument (implicit or explicit).  That looks like a slightly deeper
problem.

Anyway, thanks for the neat mode!


- Ken

             reply	other threads:[~2009-01-28 21:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-28 21:58 Ken Harris [this message]
2009-01-29 23:16 ` Carsten Dominik
2009-02-03  1:46   ` Ken Harris
2009-02-03 15:22     ` Carsten Dominik
2009-02-03 15:34     ` Dale Smith
2009-02-03 15:40       ` Manish
2009-02-15 21:09     ` Carsten Dominik

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=d97bec7a0901281358k1516c276r665efa8d410609b@mail.gmail.com \
    --to=kengruven@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: C-a and C-e in org-mode' \
    /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

Code repositories for project(s) associated with this 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).