emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] Fix minor glitches on XEmacs
@ 2010-12-22  9:54 Michael Sperber
  0 siblings, 0 replies; only message in thread
From: Michael Sperber @ 2010-12-22  9:54 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: carsten.dominik

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


I had to apply this patch to make things work on XEmacs.

First hunk: `calc-trail' does not appear to be used in `ob-calc'

Second hunk: This seems to be a genuine bug (I don't see a '+' syntax
class on GNU Emacs, either), and this is just my guess as to the fix.

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

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

diff --git a/lisp/ob-calc.el b/lisp/ob-calc.el
index 287bad3..5263c83 100644
--- a/lisp/ob-calc.el
+++ b/lisp/ob-calc.el
@@ -29,7 +29,6 @@
 ;;; Code:
 (require 'ob)
 (require 'calc)
-(require 'calc-trail)
 (eval-when-compile (require 'ob-comint))
 
 (defvar org-babel-default-header-args:calc nil
diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index 9dca4f5..6b92a7a 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -1860,7 +1860,7 @@ Also, store forcedalignment information found in such lines."
     (goto-char (point-min))
     (while (re-search-forward re-plain-link nil t)
       (unless (org-string-match-p
-	       "\\[\\[\\S+:\\S-*?\\<"
+	       "\\[\\[\\Sw+:\\S-*?\\<"
 	       (buffer-substring (point-at-bol) (match-beginning 0)))
 	(goto-char (1- (match-end 0)))
 	(org-if-unprotected-at (1+ (match-beginning 0))

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-12-22  9:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-22  9:54 [PATCH] Fix minor glitches on XEmacs 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).