emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Editing HTML blocks: no special environment to edit here
Date: Thu, 22 Aug 2013 08:02:22 -0400	[thread overview]
Message-ID: <87ob8qx7ap.fsf@gmail.com> (raw)
In-Reply-To: 2013-08-22T12-00-35@devnull.Karl-Voit.at

Karl Voit <devnull@Karl-Voit.at> writes:

> * Nicolas Goaziou <n.goaziou@gmail.com> wrote:
>> Hello,
>>
>> Karl Voit <devnull@Karl-Voit.at> writes:
>>
>>> Can someone please test her/his current setup if BEGIN_HTML-blocks
>>> can be edited by <C-c '> ? Thanks!
>>
>> I can.
>
> Damn.
>

I can too: Org-mode version 8.0.7 (release_8.0.7-380-g2a28de @
/home/nick/elisp/org-mode/lisp/)

> However, I did a fresh "git pull" (release_8.0.7-384-g6fdc23) and
> still get this behavior:
>
> #+BEGIN_HTML
>   bar
> #+END_HTML
>
> ... cannot be edited via «C-c '».
>
>
> Then I replaced by ~/.emacs with a file containing only the
> following lines:
>
>   ;; set paths to manually installed Org-mode (from git)
>   (add-to-list 'load-path "~/.emacs.d/contrib/org-mode/contrib/lisp")
>   (add-to-list 'load-path (expand-file-name "~/.emacs.d/contrib/org-mode/lisp"))
>
> ... and started using: «emacs --no-site-file org/test.org». This
> should eliminate all local settings.
>
> With «Org-mode version 8.0.7 (release_8.0.7-384-g6fdc23 @
> /home/vk/.emacs.d/contrib/org-mode/lisp/)» I still can not edit HTML
> blocks :-(
>
>
> I am no Emacs pro. However, I tend to think that this is a bug in
> Org-mode.
>
> Or: what else can I check on my side?

Maybe you can edebug-defun the function org-edit-special and step
through it to see where it goes astray in the html case.

-- 
Nick

  reply	other threads:[~2013-08-22 12:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-21  9:12 Editing HTML blocks: no special environment to edit here Karl Voit
2013-08-22  8:55 ` Karl Voit
2013-08-22  8:57   ` Nicolas Goaziou
2013-08-22 11:07     ` Karl Voit
2013-08-22 12:02       ` Nick Dokos [this message]
2013-08-22 13:03         ` Karl Voit
2013-08-22 13:59           ` Nicolas Goaziou
2013-08-22 14:46             ` Karl Voit
2013-08-22 16:38               ` Suvayu Ali
2013-08-22 17:44                 ` Editing HTML blocks: no special environment to edit here - solved Karl Voit

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=87ob8qx7ap.fsf@gmail.com \
    --to=ndokos@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 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).