emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Current patches for XEmacs
@ 2012-04-05 19:33 Michael Sperber
  2012-04-05 20:09 ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Sperber @ 2012-04-05 19:33 UTC (permalink / raw)
  To: emacs-orgmode


https://github.com/mikesperber/org-mode

has two patches for org-mode that are needed to get org-mode
superficially working on XEmacs:

https://github.com/mikesperber/org-mode/commit/18a83ce61fb420e85987e77f8506c01023a22c16

* org.el (org-kill-line): Access `visual-line-mode' only if it's
	bound.

https://github.com/mikesperber/org-mode/commit/b088bfff32d024ec67fcf8ee0812244128198d93

* org-footnote.el (org-footnote-normalize): Correctly pass keyword
	arguments to `org-export-preprocess-string'.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

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

* Re: Current patches for XEmacs
  2012-04-05 19:33 Current patches for XEmacs Michael Sperber
@ 2012-04-05 20:09 ` Bastien
  2012-04-07 19:00   ` Only use `visual-line-mode if it's bound`[WAS: Current patches for XEmacs] Michael Sperber
  2012-04-07 19:03   ` Fix bug in `org-footnote-normalize' [WAS: " Michael Sperber
  0 siblings, 2 replies; 4+ messages in thread
From: Bastien @ 2012-04-05 20:09 UTC (permalink / raw)
  To: Michael Sperber; +Cc: emacs-orgmode

Hi Michael,

Michael Sperber <sperber@deinprogramm.de> writes:

> https://github.com/mikesperber/org-mode
>
> has two patches for org-mode that are needed to get org-mode
> superficially working on XEmacs:

Thanks for this.

Can you send each patch in a separate email using 
`git format-patch'?

Thanks!

-- 
 Bastien

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

* Only use `visual-line-mode if it's bound`[WAS: Current patches for XEmacs]
  2012-04-05 20:09 ` Bastien
@ 2012-04-07 19:00   ` Michael Sperber
  2012-04-07 19:03   ` Fix bug in `org-footnote-normalize' [WAS: " Michael Sperber
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Sperber @ 2012-04-07 19:00 UTC (permalink / raw)
  To: emacs-orgmode

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


Bastien <bzg@gnu.org> writes:

> Can you send each patch in a separate email using 
> `git format-patch'?

Attached.  The second one will follow shortly.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

[-- Attachment #2: Type: text/plain, Size: 985 bytes --]

From 18a83ce61fb420e85987e77f8506c01023a22c16 Mon Sep 17 00:00:00 2001
From: Mike Sperber <sperber@deinprogramm.de>
Date: Wed, 4 Apr 2012 09:48:05 +0200
Subject: [PATCH] Only use `visual-line-mode' if it's bound.

	* org.el (org-kill-line): Access `visual-line-mode' only if it's
	bound.
---
 lisp/org.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index b83700f..8d9d793 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -20793,7 +20793,7 @@ depending on context."
 		(not (y-or-n-p "Kill hidden subtree along with headline? ")))
 	    (error "C-k aborted - would kill hidden subtree")))
     (call-interactively
-     (if visual-line-mode 'kill-visual-line 'kill-line)))
+     (if (and (boundp 'visual-line-mode) visual-line-mode) 'kill-visual-line 'kill-line)))
    ((looking-at (org-re ".*?\\S-\\([ \t]+\\(:[[:alnum:]_@#%:]+:\\)\\)[ \t]*$"))
     (kill-region (point) (match-beginning 1))
     (org-set-tags nil t))
-- 
1.7.0.5


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

* Fix bug in `org-footnote-normalize' [WAS: Current patches for XEmacs]
  2012-04-05 20:09 ` Bastien
  2012-04-07 19:00   ` Only use `visual-line-mode if it's bound`[WAS: Current patches for XEmacs] Michael Sperber
@ 2012-04-07 19:03   ` Michael Sperber
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Sperber @ 2012-04-07 19:03 UTC (permalink / raw)
  To: emacs-orgmode

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


Bastien <bzg@gnu.org> writes:

> Can you send each patch in a separate email using 
> `git format-patch'?

Here's the second one.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

[-- Attachment #2: Type: text/plain, Size: 980 bytes --]

From b088bfff32d024ec67fcf8ee0812244128198d93 Mon Sep 17 00:00:00 2001
From: Mike Sperber <sperber@deinprogramm.de>
Date: Wed, 4 Apr 2012 09:21:44 +0200
Subject: [PATCH 1/2] Fix bug ion `org-footnote-normalize'.

	* org-footnote.el (org-footnote-normalize): Correctly pass keyword
	arguments to `org-export-preprocess-string'.
---
 lisp/org-footnote.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el
index 03b95d0..1987779 100644
--- a/lisp/org-footnote.el
+++ b/lisp/org-footnote.el
@@ -705,7 +705,7 @@ Additional note on `org-footnote-insert-pos-for-preprocessor':
 				     (org-combine-plists
 				      export-props
 				      '(:todo-keywords t :tags t :priority t))))
-				(org-export-preprocess-string def parameters))
+				(apply #'org-export-preprocess-string def parameters))
 			    def)
 			  ;; Reference beginning position is a marker
 			  ;; to preserve it during further buffer
-- 
1.7.0.5


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

end of thread, other threads:[~2012-04-07 19:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-05 19:33 Current patches for XEmacs Michael Sperber
2012-04-05 20:09 ` Bastien
2012-04-07 19:00   ` Only use `visual-line-mode if it's bound`[WAS: Current patches for XEmacs] Michael Sperber
2012-04-07 19:03   ` Fix bug in `org-footnote-normalize' [WAS: " Michael Sperber

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