[Orgmode] cannot run makefile on mac os x tiger
Both the default emacs (21) and carbon emacs (22) do not work in the makefile. Does anybody know of an easy workaround? Thanks. /opt/local/bin/emacs -batch -q -eval "(progn (add-to-list (quote load-path) (expand-file-name \"./lisp/\")) (add-to-list (quote load-path) \"/usr/local/share/emacs/site-lisp\"))" -f batch-byte-compile lisp/org-macs.el Symbol's value as variable is void: carbon-emacs-package-portable-mode make: *** [lisp/org-macs.elc] Error 255 /usr/bin/emacs -batch -q -eval "(progn (add-to-list (quote load-path) (expand-file-name \"./lisp/\")) (add-to-list (quote load-path) \"/usr/local/share/emacs/site-lisp\"))" -f batch-byte-compile lisp/org-macs.el Cannot open load file: /Applications/Emacs.app/Contents/MacOS/libexec/fns-21.2.1.el make: *** [lisp/org-macs.elc] Error 255 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: cannot run makefile on mac os x tiger
Apologies. Works better from a shell that is not inside emacs. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-export-sweave
On Thu, Sep 18 2008, Carsten Dominik wrote: > These regular expressions are incorrect. \\s- is the way to denote > whitespace. However, since that also includes newlines, I prefer to > write "[ \t]" in such cases. Carsten-- Thanks for the tip. I now to get dumped into r-mode correctly when I hit C-c ' inside the regions defined in the attached patch. There's one annoying quirk left, though. When coming out of r-mode by hitting C-c ' in the Org Edit Src Example buffer, the line that ends the example (#+latex: \end{Scode}) is concatenated to the last line of the source code, regardless of how many new lines are included at the end of the source code in the temporary buffer. #+latex: \begin{Scode} a <- 3 #+latex: \end{Scode} goes to #+latex: \begin{Scode} a <- 3#+latex: \end{Scode} Any suggestions on how to preserve the formatting of the end marker? Thanks, /au diff --git a/lisp/org.el b/lisp/org.el index 3143e13..75f25f8 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5562,6 +5562,8 @@ the language, a switch telling of the content should be in a single line." ("^#\\+begin_example.*\n" "^#\\+end_example" "fundamental") ("^#\\+html:" "\n" "html" single-line) ("^#\\+begin_html.*\n" "\n#\\+end_html" "html") + ("^[ \t]*begin{scode}\\({.*}\\)?\\s-+" "^[ \t]*end{scode}\\({.*}\\)?\\s-+" "r") + ("^#\\+latex:[ \t]*begin{scode}\\({.*}\\)?\\s-+" "^#\\+latex:[ \t]*end{scode}\\({.*}\\)?\\s-+" "r") ("^#\\+begin_latex.*\n" "\n#\\+end_latex" "latex") ("^#\\+latex:" "\n" "latex" single-line) ("^#\\+begin_ascii.*\n" "\n#\\+end_ascii" "fundamental") -- Austin Frank http://aufrank.net GPG Public Key (D7398C2F): http://aufrank.net/personal.asc ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-export-sweave
Hi Austin, try starting the second regular expression (the one denoting the end line) with \n. In this way, the \n remains outside the narrowed region. See for example how the +#begin_html line does it, just above you own code. Maybe you only looked at the #+begin_example, where I made the same mistake, sorry about hat. I am pushing a fix to the git repo where you can now add your own stuff cleanly using a variable: (setq org-edit-src-region-extra '(("^[ ]*begin{scode}\\({.*}\\)?\\s-+" "\n[ \\t]*end{scode}\\ ({.*}\\)?\\s-+" "r") ("^#\\+latex:[ ]*begin{scode}\\({.*}\\)?\\s-+" "\n#\\+latex: [ ]*end{scode}\\({.*}\\)?\\s-+" "r"))) HTH - Carsten On Sep 23, 2008, at 12:18 AM, Austin Frank wrote: On Thu, Sep 18 2008, Carsten Dominik wrote: These regular expressions are incorrect. \\s- is the way to denote whitespace. However, since that also includes newlines, I prefer to write "[ \t]" in such cases. Carsten-- Thanks for the tip. I now to get dumped into r-mode correctly when I hit C-c ' inside the regions defined in the attached patch. There's one annoying quirk left, though. When coming out of r-mode by hitting C-c ' in the Org Edit Src Example buffer, the line that ends the example (#+latex: \end{Scode}) is concatenated to the last line of the source code, regardless of how many new lines are included at the end of the source code in the temporary buffer. #+latex: \begin{Scode} a <- 3 #+latex: \end{Scode} goes to #+latex: \begin{Scode} a <- 3#+latex: \end{Scode} Any suggestions on how to preserve the formatting of the end marker? Thanks, /au diff --git a/lisp/org.el b/lisp/org.el index 3143e13..75f25f8 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5562,6 +5562,8 @@ the language, a switch telling of the content should be in a single line." ("^#\\+begin_example.*\n" "^#\\+end_example" "fundamental") ("^#\\+html:" "\n" "html" single-line) ("^#\\+begin_html.*\n" "\n#\\+end_html" "html") + ("^[ \t]*begin{scode}\\({.*}\\)?\\s-+" "^[ \t]*\\\ \end{scode}\\({.*}\\)?\\s-+" "r") + ("^#\\+latex:[ \t]*begin{scode}\\({.*}\\)?\\s-+" "^#\\ +latex:[ \t]*end{scode}\\({.*}\\)?\\s-+" "r") ("^#\\+begin_latex.*\n" "\n#\\+end_latex" "latex") ("^#\\+latex:" "\n" "latex" single-line) ("^#\\+begin_ascii.*\n" "\n#\\+end_ascii" "fundamental") -- Austin Frank http://aufrank.net GPG Public Key (D7398C2F): http://aufrank.net/personal.asc ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode