emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* patch for org-confluence.el to add menu entry
@ 2020-04-09 19:16 Richard Kim
  2020-04-11 21:04 ` Nicolas Goaziou
  2020-05-22 15:27 ` Bastien
  0 siblings, 2 replies; 5+ messages in thread
From: Richard Kim @ 2020-04-09 19:16 UTC (permalink / raw)
  To: emacs-orgmode

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

I would like to suggest the following patch so that I can easily export 
to Confluence wiki format using the usual org-mode export mechanism.

Given the trivial change, I don't think I need to sign any papers.
However I have already signed copyright forms with FSF years ago.

#+begin_src diff
diff --git a/contrib/lisp/ox-confluence.el b/contrib/lisp/ox-confluence.el
index b521b247..c12d1a05 100644
--- a/contrib/lisp/ox-confluence.el
+++ b/contrib/lisp/ox-confluence.el
@@ -60,7 +60,10 @@
 		     (template . org-confluence-template)
 		     (timestamp . org-confluence-timestamp)
 		     (underline . org-confluence-underline)
-		     (verbatim . org-confluence-verbatim)))
+		     (verbatim . org-confluence-verbatim))
+  :menu-entry
+  '(?f "Export to Confluence"
+       ((?f "As Confluence buffer" org-confluence-export-as-confluence))))
 
 (defcustom org-confluence-lang-alist
   '(("sh" . "bash"))
#+end_src




[-- Attachment #2: Type: text/html, Size: 6710 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: patch for org-confluence.el to add menu entry
  2020-04-09 19:16 patch for org-confluence.el to add menu entry Richard Kim
@ 2020-04-11 21:04 ` Nicolas Goaziou
  2020-04-11 23:48   ` Richard Kim
  2020-05-22 15:27 ` Bastien
  1 sibling, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2020-04-11 21:04 UTC (permalink / raw)
  To: Richard Kim; +Cc: emacs-orgmode

Hello,

Richard Kim <Richard.Kim1@synopsys.com> writes:

> I would like to suggest the following patch so that I can easily export 
> to Confluence wiki format using the usual org-mode export mechanism.

Sure. Could you write a proper commit message and send it again?

Thank you.

Regards,

-- 
Nicolas Goaziou


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: patch for org-confluence.el to add menu entry
  2020-04-11 21:04 ` Nicolas Goaziou
@ 2020-04-11 23:48   ` Richard Kim
  2020-04-12  9:10     ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Kim @ 2020-04-11 23:48 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

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

How about this:

Add key binding for converting org mode to Confluence wiki, i.e.,
'C-x C-e f f' converts current org buffer to a temporary buffer
holding Confluence wiki markup.

This key binding takes effect only when org-confluence.el file
in contrib directory is loaded first.

-------------------------------------------------------

As far as I now, there is no way to make this new key binding work
along with autoload so that it just works.  I think org-confluence.el
has to be loaded first for the key binding to take effect.  I just
need to do (load "org-confluence") in my startup file.

________________________________
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Sent: Saturday, April 11, 2020 2:04 PM
To: Richard Kim <kimr@synopsys.com>
Cc: emacs-orgmode@gnu.org <emacs-orgmode@gnu.org>
Subject: Re: patch for org-confluence.el to add menu entry

Hello,

Richard Kim <Richard.Kim1@synopsys.com> writes:

> I would like to suggest the following patch so that I can easily export
> to Confluence wiki format using the usual org-mode export mechanism.

Sure. Could you write a proper commit message and send it again?

Thank you.

Regards,

--
Nicolas Goaziou

[-- Attachment #2: Type: text/html, Size: 3249 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: patch for org-confluence.el to add menu entry
  2020-04-11 23:48   ` Richard Kim
@ 2020-04-12  9:10     ` Nicolas Goaziou
  0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Goaziou @ 2020-04-12  9:10 UTC (permalink / raw)
  To: Richard Kim; +Cc: emacs-orgmode

Hello,

Richard Kim <Richard.Kim1@synopsys.com> writes:

> Add key binding for converting org mode to Confluence wiki, i.e.,
> 'C-x C-e f f' converts current org buffer to a temporary buffer
> holding Confluence wiki markup.
>
> This key binding takes effect only when org-confluence.el file
> in contrib directory is loaded first.

Thank you. 

However, I meant a commit message using "git format-patch", for proper
attribution.

Regards,

-- 
Nicolas Goaziou


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: patch for org-confluence.el to add menu entry
  2020-04-09 19:16 patch for org-confluence.el to add menu entry Richard Kim
  2020-04-11 21:04 ` Nicolas Goaziou
@ 2020-05-22 15:27 ` Bastien
  1 sibling, 0 replies; 5+ messages in thread
From: Bastien @ 2020-05-22 15:27 UTC (permalink / raw)
  To: Richard Kim; +Cc: emacs-orgmode

Hi Richard,

Richard Kim <Richard.Kim1@synopsys.com> writes:

> I would like to suggest the following patch so that I can easily
> export to Confluence wiki format using the usual org-mode export
> mechanism.

I added the menu entry here:
https://code.orgmode.org/bzg/org-mode/commit/cd336c2a

For future contributions as patches, please read this page:
https://orgmode.org/worg/org-contribute.html

Thanks,

-- 
 Bastien


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-05-22 15:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-09 19:16 patch for org-confluence.el to add menu entry Richard Kim
2020-04-11 21:04 ` Nicolas Goaziou
2020-04-11 23:48   ` Richard Kim
2020-04-12  9:10     ` Nicolas Goaziou
2020-05-22 15:27 ` Bastien

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).