emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christopher Schmidt <christopher@ch.ristopher.com>
To: emacs-orgmode@gnu.org
Subject: Re: orgstuct++ does not lurk silently in the shadow
Date: Sun, 29 Apr 2012 13:05:38 +0200	[thread overview]
Message-ID: <20120429110535.956AE20268@saturn.ch.ristopher.com> (raw)
In-Reply-To: <87ipgmkc3y.fsf@gnu.org> (Bastien's message of "Thu, 26 Apr 2012 12:42:57 +0200")

Bastien <bzg@gnu.org> writes:

> This should be fixed now in master.

Thank you so much for fixing this.

There is still one major issue, though.  Consider this text:

,--------
| >> rms
| >> foo
| >>
| >> org-mode
`--------

Place the point somewhere in the first or second line and do a M-q.
Vanilla message-mode correctly recognises the paragraph prefix whereas
an use of Org's enhancements breaks this.

Other than that, disabling orgstruct++-mode after enabling it breaks
everything.  I get tons of "Lisp nesting exceeds `max-lisp-eval-depth'",
even when doing simple things like moving around the buffer or trying to
execute and extended command.

For the record, I use Gnus and Org master (b5f4b52).  This is how my
integration is set up:

#+begin_src emacs-lisp
(add-hook 'gnus-message-setup-hook
      (lambda ()
        (turn-on-orgtbl)
        (turn-on-orgstruct++)
        (set (make-local-variable 'org-footnote-auto-label) 'plain)
        (set
         (make-local-variable 'org-footnote-tag-for-non-org-mode-files)
         nil)))

(define-key message-mode-map (kbd "C-c f")
  (lambda ()
    (interactive)
    (save-restriction
      (my-message-narrow-to-body)
      (org-footnote-action))))

(add-hook 'message-send-hook
      (lambda ()
        (save-restriction
          (my-message-narrow-to-body)
          (org-footnote-normalize))))
#+end-src

        Christopher

  parent reply	other threads:[~2012-04-29 11:05 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-08  7:08 orgstuct++ does not lurk silently in the shadow Christopher Schmidt
2012-03-08 13:38 ` orgstruct++ does not lurk silently in the shadow (was: orgstuct++ does not lurk silently in the shadow) Christopher Schmidt
2012-04-25  7:44 ` orgstuct++ does not lurk silently in the shadow Eric Fraga
2012-04-26 10:42   ` Bastien
2012-04-29  6:40     ` Eric Fraga
2012-04-29  6:48       ` Eric Fraga
2012-04-29  8:38       ` Bastien
2012-04-29 11:05     ` Christopher Schmidt [this message]
2012-04-29 12:27       ` Christopher Schmidt
2012-05-01 17:43       ` Bastien
2012-05-03  9:56         ` Eric Fraga
2012-05-03 12:28           ` Bastien
2012-05-03 12:58             ` Nicolas Goaziou
2012-05-03 13:12               ` Bastien
2012-05-03 13:17                 ` Nicolas Goaziou
2012-05-03 13:45                   ` Bastien
2012-05-03 15:53                     ` Nicolas Goaziou
2012-05-05 13:46               ` Bastien
2012-05-05 15:51                 ` Nicolas Goaziou
2012-05-05 16:18                   ` Bastien
2012-05-05 16:19                     ` Nicolas Goaziou
2012-05-05 16:22                   ` Bastien
2012-05-05 16:30                     ` Nicolas Goaziou
2012-05-06  8:07                       ` Bastien
2012-05-06 14:09                         ` Eric Fraga
2012-05-06 14:27                           ` Thorsten Jolitz
2012-05-06 15:47                           ` Bastien
2012-05-07  4:23                             ` Eric S Fraga
2012-05-08 12:31                               ` Bastien
2012-05-08 23:54                                 ` Eric S Fraga

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=20120429110535.956AE20268@saturn.ch.ristopher.com \
    --to=christopher@ch.ristopher.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 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).