emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Sperber <sperber@deinprogramm.de>
To: emacs-orgmode@gnu.org
Cc: carsten.dominik@gmail.com
Subject: [PATCH] Fix minor glitches on XEmacs
Date: Wed, 22 Dec 2010 10:54:12 +0100	[thread overview]
Message-ID: <y9ltyi6b0aj.fsf@deinprogramm.de> (raw)

[-- 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

                 reply	other threads:[~2010-12-22  9:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=y9ltyi6b0aj.fsf@deinprogramm.de \
    --to=sperber@deinprogramm.de \
    --cc=carsten.dominik@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).