emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Michael Gauland <mikelygee@no8wireless.co.nz>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Wrap: override default
Date: Mon, 24 Dec 2012 09:43:59 +0100	[thread overview]
Message-ID: <87txrbsuuo.fsf@bzg.ath.cx> (raw)
In-Reply-To: <loom.20121210T223309-244@post.gmane.org> (Michael Gauland's message of "Mon, 10 Dec 2012 21:34:18 +0000 (UTC)")

Hi Michael,

Michael Gauland <mikelygee@no8wireless.co.nz> writes:

>  		(setq end (point-marker))
>  		;; possibly wrap result
>  		(cond
> -		 ((assoc :wrap (nth 2 info))
> +		 ((and (assoc :wrap (nth 2 info))
> +		       (cdr (assoc :wrap (nth 2 info))))
>  		  (let ((name (or (cdr (assoc :wrap (nth 2 info))) "RESULTS")))
>  		    (funcall wrap (concat "#+BEGIN_" name) (concat "#+END_" name))))
>  		 ((member "html" result-params)

Well, the patch is wrong, if (cdr (assoc :wrap (nth 2 info)))
is in the (and ...) sexp, no need to have it in the (or ...)
sexp?

I'll mark it as "not applicable".  I let you propose another
patch if you still need to fix an issue in this area.

Thanks!

-- 
 Bastien

  parent reply	other threads:[~2012-12-24  8:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-10 21:34 [PATCH] Wrap: override default Michael Gauland
2012-12-13 22:37 ` Bastien
2012-12-24  8:43 ` Bastien [this message]
2012-12-24 20:15   ` Michael Gauland

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=87txrbsuuo.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=mikelygee@no8wireless.co.nz \
    /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).