emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Bastien <bzg@altern.org>
Cc: "emacs-orgmode@gnu.org Mailing List" <emacs-orgmode@gnu.org>,
	Meng Weng Wong <mengwong@gmail.com>
Subject: Re: suggestion: M-m should move point to first word on line
Date: Tue, 12 Feb 2013 17:33:29 +1030	[thread overview]
Message-ID: <87halidnem.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87a9rahofk.fsf@bzg.ath.cx> (Bastien's message of "Mon, 11 Feb 2013 16:15:27 +0100")

[-- Attachment #1: Type: text/plain, Size: 1165 bytes --]

Bastien <bzg@altern.org> writes:

[...]

> Not to override `M-m' but perhaps to define "*" as a syntactic
> whitespace character.
>
> Patch attached -- use with caution.  I tested it a bit and it seems
> to work, but not all tests pass and there may be side-effects that I
> could not observe.

Bastien,

this seems to cause a problem with org-ctrl-c-minus when trying to cycle
a bullet point past +.  That is, it works if the bullet is - so you can
cycle to the next which is + but you cannot cycle past that.

I've tried this batch with org up to date a few minutes ago (ignore my
signature info below as this emacs is running a slightly older
org).  Emacs was started with -Q.

Debug trace:

,----
| Debugger entered--Lisp error: (args-out-of-range 85 88)
|   replace-match(" " nil nil "*" 1)
|   org-cycle-list-bullet(nil)
|   call-interactively(org-cycle-list-bullet)
|   org-ctrl-c-minus()
|   call-interactively(org-ctrl-c-minus nil nil)
`----

Point was at column 0 of the first item in the attached minimal org
file.

I hope that's enough info...

Thanks,
eric

-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 and Org 7.9.3e-975-g1eccd2

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: examplebug.org --]
[-- Type: text/org, Size: 155 bytes --]

#+TITLE:     examplebug.org
#+AUTHOR:    Eric S Fraga

* cycling list bullet points
  + the first item
  + the second item
  + and the third and last item

  reply	other threads:[~2013-02-12  7:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-08  2:42 suggestion: M-m should move point to first word on line Meng Weng Wong
2013-02-08  4:35 ` Yagnesh Raghava Yakkala
2013-02-11 15:15 ` Bastien
2013-02-12  7:03   ` Eric S Fraga [this message]
2013-02-12  7:33     ` Bastien
2013-02-12 22:42       ` Eric S Fraga
2013-02-15 11:02       ` 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=87halidnem.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=mengwong@gmail.com \
    /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).