Re: [O] Exporting to beamerposter
Titus von der Malsburg malsb...@posteo.de writes: I’d like to use org-mode to create an academic poster like this one However, this doesn’t work for two reasons: 1.) Org mode ignores that I want blocks and instead uses frame environments. I'm not sure if that's possible but you could try setting org-beamer-frame-level to a 0 value. My question: What do I have to do in org to get the desired structure in Latex? This structure would be something like the following: #+BEGIN_SRC latex \begin{columns} \begin{column}{0.48\columnwidth} \begin{block}{Introduction} This poster is about \end{block} \begin{block}{Design} To test A we did B. \end{block} \end{column} #+END_SRC You could try something like the following (not tested) --8---cut here---start-8--- * First column:B_columns: :PROPERTIES: :BEAMER_COL: .48 :BEAMER_env: columns :END: ** Introduction This poster is about ** Design To test A we did B --8---cut here---end---8--- Julien.
Re: [O] Why not push?
Hello, Bastien Guerry b...@gnu.org writes: I pushed a tiny clean up here. Next question is: why not using (split-string STRING SEPARATORS t) ? It's a first step. It would be nice to get rid of `org-split-string' altogether in the long run. We may make `org-split-string' an obsolete alias for `split-string', and update code base accordingly. Regards, -- Nicolas Goaziou
Re: [O] [ANN] org-link-edit.el --- Slurp and barf with Org links
Hello, Bastien Guerry b...@gnu.org writes: Rasmus ras...@gmx.us writes: Did you/will you add it to contrib? Yes, that would help discovering it. Wasn't it a goal to slowly move away from contrib/ and use either ELPA or core instead? Regards, -- Nicolas Goaziou
Re: [O] Why not push?
Nicolas Goaziou m...@nicolasgoaziou.fr writes: It's a first step. It would be nice to get rid of `org-split-string' altogether in the long run. We may make `org-split-string' an obsolete alias for `split-string', and update code base accordingly. Agreed. I was unclear, I meant: why not using split-string instead of org-split-string. -- Bastien
Re: [O] org-src-fontify-natively stops working in 8.3
Hi Kyle, Kyle Meyer k...@kyleam.com writes: I'll restore the use of font-lock-fontify-buffer and leave a comment to make sure it isn't reverted again. Ouch. I've been bitten by this before, if my memory is correct. Let's fix those regressions within the next hour and release 8.3.1 to propagate them. Thanks, -- Bastien
Re: [O] [ANN] Release 8.3
Hi Achim, Achim Gratz strom...@nexgo.de writes: Just a few statistics: these are 2936 commits since the 8.2 release 23 months ago, 2390 commits on top of 8.2.10 and 1361 of those after the 8.3beta release 13 months ago. Thanls - we clearly need a shorter and steadier release cycle! -- Bastien
Re: [O] [ANN] org-link-edit.el --- Slurp and barf with Org links
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Wasn't it a goal to slowly move away from contrib/ and use either ELPA or core instead? Yes, it is still a goal -- but we don't know when this will happen so in the meantime, adding a package to contrib/ is okay. -- Bastien
Re: [O] [ANN] org-link-edit.el --- Slurp and barf with Org links
Aloha all, IMHO, this should be in core, along with a function (if it doesn't exist) to remove a link from the description text. All the best, Tom Bastien Guerry b...@gnu.org writes: Nicolas Goaziou m...@nicolasgoaziou.fr writes: Wasn't it a goal to slowly move away from contrib/ and use either ELPA or core instead? Yes, it is still a goal -- but we don't know when this will happen so in the meantime, adding a package to contrib/ is okay. -- Thomas S. Dye http://www.tsdye.com
Re: [O] Exporting to beamerposter
On Tuesday, 4 Aug 2015 at 22:24, Titus von der Malsburg wrote: I’d like to use org-mode to create an academic poster like this one (random example found using Google): [...] What I would like to write in org is something like the following: Beamer is fully supported in org and especially columns. The attached creates a (very boring) poster which has two columns within a single frame which is the poster. Does this do what you want? Export via C-c C-e l P -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3beta-1315-ga3b2b7 #+startup: beamer #+latex_header: \usepackage[orientation=portrait,size=a0,scale=1.4,debug]{beamerposter} #+options: toc:nil num:nil * The poster title ** Left column :BMCOL: :PROPERTIES: :BEAMER_col: 0.48 :END: *** First block :B_block: :PROPERTIES: :BEAMER_env: block :END: - first item - second item - third item *** Second block :B_block: :PROPERTIES: :BEAMER_env: block :END: - first item - second item - third item *** Third block :B_block: :PROPERTIES: :BEAMER_env: block :END: - first item - second item - third item ** Right column :BMCOL: :PROPERTIES: :BEAMER_col: 0.48 :END: *** First block :B_block: :PROPERTIES: :BEAMER_env: block :END: - first item - second item - third item *** Second block :B_block: :PROPERTIES: :BEAMER_env: block :END: - first item - second item - third item *** Third block :B_block: :PROPERTIES: :BEAMER_env: block :END: - first item - second item - third item
Re: [O] Trouble with autofill mode
Eric S Fraga e.fr...@ucl.ac.uk writes: For LaTeX directives that I used to always put in #+latex: lines when I needed these within a paragraph, I now increasingly use @@latex:...@@. FYI, you could make it smelt to just @@l:...@@ with: --8---cut here---start-8--- (add-to-list 'org-export-snippet-translation-alist '(l . latex)) --8---cut here---end---8--- Best regards, Seb -- Sebastien Vauban
Re: [O] Trouble with autofill mode
On Wednesday, 5 Aug 2015 at 10:17, Sebastien Vauban wrote: Eric S Fraga e.fr...@ucl.ac.uk writes: For LaTeX directives that I used to always put in #+latex: lines when I needed these within a paragraph, I now increasingly use @@latex:...@@. FYI, you could make it smelt to just @@l:...@@ with: (add-to-list 'org-export-snippet-translation-alist '(l . latex)) Cute! Org has something for everything. :-) Thanks. (mind you, pabbrev means that typing @@l TAB usually gives me what I want!) -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3beta-1315-ga3b2b7
Re: [O] How can I make mdframed+minted work for multi-page source code blocks?
I forgot to mention that I have this in my emacs setup related to ox-latex and minted: (setq org-latex-listings 'minted) (setq org-latex-packages-alist '( ;; % 0 paragraph indent, adds vertical space between paragraphs ;; http://en.wikibooks.org/wiki/LaTeX/Paragraph_Formatting ( parskip) ;; Code blocks syntax highlighting ( minted) ; Comment this if org-latex-create-formula-image-program ;; is set to dvipng. minted package can't be loaded ;; when using dvipng to show latex previews ;; ( minted nil) ; Uncomment this if org-latex-create-formula-image-program ;;; is set to dvipng ;; Graphics package for more complicated figures ( tikz) ;; Prevent tables/figures from one section to float into another section ;; http://tex.stackexchange.com/questions/279/how-do-i-ensure-that-figures-appear-in-the-section-theyre-associated-with (section placeins) ;; It doesn't seem below packages are required ;; ;; Packages suggested to be added for previewing latex fragments ;; ;; http://orgmode.org/worg/org-tutorials/org-latex-preview.html ;; (usenames color) ; HAD TO COMMENT IT OUT BECAUSE OF CLASH WITH placeins pkg (mathscr eucal) ( latexsym) ;; Prevent an image from floating to a different location ;; http://tex.stackexchange.com/questions/8625/force-figure-placement-in-text ( float) ( caption) )) ;; H option is from the `float' package. That prevents the images from floating around. ;; (setq org-latex-default-figure-position htb) ; default - figures are floating (setq org-latex-default-figure-position H) ; figures are NOT floating ;; minted package options (applied to embedded source codes) ;; https://github.com/gpoore/minted (setq org-latex-minted-options '((linenos) (numbersep 5pt) (frame none) ; box frame is created by the mdframed package (framesep2mm) ;; (fontfamily zi4) ; required only when using pdflatex ; instead of xelatex ;; minted 2.0 specific features (breaklines) ; line wrapping within code blocks )) -- Kaushal Modi On Aug 4, 2015 11:30 PM, Kaushal kaushal.m...@gmail.com wrote: I am using org-mode version 8.3 and the latest build of emacs from git master. I am trying to make mdframed+minted work with source code blocks having captions. Here is a minimum working example: https://gist.githubusercontent.com/kaushalmodi/a9d05fe94d5641d0084f/raw/0ff356e8cfafbec53d91fa3b73a59226e5cd9825/minted-multiple-pages.org The example is short; just the source code block is big so that it spans multiple pages. I am trying to get the code block parts on each page to be completely boxed (borders on all 4 sides). Currently only the code blocks in in-between pages gets borders only on the sides. The first part of code block on the first page gets borders on top and sides. And the last part of the code block on the last page gets borders on bottom and on sides. Here is the generated pdf: https://dl.dropboxusercontent.com/u/10985/minted-multiple-pages.pdf (You can ignore the lines crossing the borders as I will work on fixing those once I gets the borders right). Please let me know if there is any other way to get the following using *minted*: - Split code blocks on each page be completely boxed. - The code block be captioned. - The code block be properly listed in List of Listings - Be able to customize the border lines, code background and line numbers. -- Kaushal Modi
Re: [O] create a send plain text/pdf email with current header function?
thx both John and Matt I went on and used johns function he recommended (since i needed a simple text only export) and it works flawlessly :) John: just a quick follow up though with that function you kindly shred email-heading it opens up a buffer and you insert the email address. is it possible to have a function that sends to a prefixed email address (ie myself :)). also can the function then just do it in the background without even opening the buffer? since i want to send it to a prefixed email i dont really need to see it and press C-c C-c. This isnt really important so if its complicated please feel free to ignore ;-) best Z On Sat, Aug 1, 2015 at 6:24 PM, John Kitchin johnrkitc...@gmail.com wrote: You probably could use the function here https://github.com/jkitchin/jmax/blob/master/email.el#L51 for the email part after you find the heading you want to send. I think there is some code there to send a pdf too. On August 1, 2015, at 10:49 AM, Xebar Saram zelt...@gmail.com wrote: Hi all i find that i keep copy pasting food recipes (which i collect with org obviously) to my email client and then sending it over to the phone to use in the kitchen (which reminds Me really should get a emacs touch screen for the kitchen..though my wife would get a stroke if she sees that ;-))..anyway, anyone knows how one (with almost none to zero elisp skills) create such a function? all i need is locate the recipe (header) and then send the header and sub headers as text or pdf to my email best! Z
Re: [O] org-src-fontify-natively stops working in 8.3
I've released 8.3.1 with this fix. Thanks, -- Bastien
Re: [O] [ANN] org-link-edit.el --- Slurp and barf with Org links
Thomas S. Dye t...@tsdye.com writes: IMHO, this should be in core, along with a function (if it doesn't exist) to remove a link from the description text. Yes, we should consider this. Let's find some good keybinding, we cannot rely on hydra for this. Thanks, -- Bastien
Re: [O] org-src-fontify-natively stops working in 8.3
Thanks guys! On Aug 5, 2015 7:34 AM, Bastien Guerry b...@gnu.org wrote: I've released 8.3.1 with this fix. Thanks, -- Bastien
Re: [O] create a send plain text/pdf email with current header function?
* Automatic send email to myself #+BEGIN_SRC emacs-lisp (defun email-heading-to-me () Send the current org-mode heading as the body of an email, with headline as the subject. (interactive) (save-excursion (org-mark-subtree) (let ((content (buffer-substring (point) (mark))) (SUBJECT (nth 4 (org-heading-components (compose-mail y...@email.here SUBJECT) (message-goto-body) (insert content) (message-send) (message-kill-buffer #+END_SRC #+RESULTS: : email-heading-to-me Xebar Saram writes: thx both John and Matt I went on and used johns function he recommended (since i needed a simple text only export) and it works flawlessly :) John: just a quick follow up though with that function you kindly shred email-heading it opens up a buffer and you insert the email address. is it possible to have a function that sends to a prefixed email address (ie myself :)). also can the function then just do it in the background without even opening the buffer? since i want to send it to a prefixed email i dont really need to see it and press C-c C-c. This isnt really important so if its complicated please feel free to ignore ;-) best Z On Sat, Aug 1, 2015 at 6:24 PM, John Kitchin johnrkitc...@gmail.com wrote: You probably could use the function here https://github.com/jkitchin/jmax/blob/master/email.el#L51 for the email part after you find the heading you want to send. I think there is some code there to send a pdf too. On August 1, 2015, at 10:49 AM, Xebar Saram zelt...@gmail.com wrote: Hi all i find that i keep copy pasting food recipes (which i collect with org obviously) to my email client and then sending it over to the phone to use in the kitchen (which reminds Me really should get a emacs touch screen for the kitchen..though my wife would get a stroke if she sees that ;-))..anyway, anyone knows how one (with almost none to zero elisp skills) create such a function? all i need is locate the recipe (header) and then send the header and sub headers as text or pdf to my email best! Z -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu
[O] sudo uninstall org? Can it be done?
Seeing that org-mode had a new version I did a git pull, make autoloads, make doc, make config, sudo make install, and then restarted emacs which failed to start saying - ╭ │org-babel-safe-header-args , and I think it said something about the | function being void. | ╰ So I commented my git pathway out of my init.org, and restarted emacs, which started okay. I tried to uninstall my new org with 'sudo make uninstall' but it couldn't find a target for it. So I tried to install org with the package manager, which installed okay. I restarted emacs and got exactly the same error message, word-for-word. So I'm now running with org-mode - ╭ │Org-mode version 8.2.10 (release_8.2.10 @ /usr/local/share/emacs/24.5.50/lisp/org/) ╰ How can I remove this version please? How can I install the package manager version of org without the 'org-babel-etc' error message please? Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk TGmeds = http://www.tgmeds.org.uk Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.3 signature.asc Description: PGP signature
Re: [O] How can I make mdframed+minted work for multi-page source code blocks?
Actually everyone can ignore this; I have a working hack. On Wed, Aug 5, 2015 at 6:55 AM Kaushal kaushal.m...@gmail.com wrote: I forgot to mention that I have this in my emacs setup related to ox-latex and minted: (setq org-latex-listings 'minted) (setq org-latex-packages-alist '( ;; % 0 paragraph indent, adds vertical space between paragraphs ;; http://en.wikibooks.org/wiki/LaTeX/Paragraph_Formatting ( parskip) ;; Code blocks syntax highlighting ( minted) ; Comment this if org-latex-create-formula-image-program ;; is set to dvipng. minted package can't be loaded ;; when using dvipng to show latex previews ;; ( minted nil) ; Uncomment this if org-latex-create-formula-image-program ;;; is set to dvipng ;; Graphics package for more complicated figures ( tikz) ;; Prevent tables/figures from one section to float into another section ;; http://tex.stackexchange.com/questions/279/how-do-i-ensure-that-figures-appear-in-the-section-theyre-associated-with (section placeins) ;; It doesn't seem below packages are required ;; ;; Packages suggested to be added for previewing latex fragments ;; ;; http://orgmode.org/worg/org-tutorials/org-latex-preview.html ;; (usenames color) ; HAD TO COMMENT IT OUT BECAUSE OF CLASH WITH placeins pkg (mathscr eucal) ( latexsym) ;; Prevent an image from floating to a different location ;; http://tex.stackexchange.com/questions/8625/force-figure-placement-in-text ( float) ( caption) )) ;; H option is from the `float' package. That prevents the images from floating around. ;; (setq org-latex-default-figure-position htb) ; default - figures are floating (setq org-latex-default-figure-position H) ; figures are NOT floating ;; minted package options (applied to embedded source codes) ;; https://github.com/gpoore/minted (setq org-latex-minted-options '((linenos) (numbersep 5pt) (frame none) ; box frame is created by the mdframed package (framesep2mm) ;; (fontfamily zi4) ; required only when using pdflatex ; instead of xelatex ;; minted 2.0 specific features (breaklines) ; line wrapping within code blocks )) -- Kaushal Modi On Aug 4, 2015 11:30 PM, Kaushal kaushal.m...@gmail.com wrote: I am using org-mode version 8.3 and the latest build of emacs from git master. I am trying to make mdframed+minted work with source code blocks having captions. Here is a minimum working example: https://gist.githubusercontent.com/kaushalmodi/a9d05fe94d5641d0084f/raw/0ff356e8cfafbec53d91fa3b73a59226e5cd9825/minted-multiple-pages.org The example is short; just the source code block is big so that it spans multiple pages. I am trying to get the code block parts on each page to be completely boxed (borders on all 4 sides). Currently only the code blocks in in-between pages gets borders only on the sides. The first part of code block on the first page gets borders on top and sides. And the last part of the code block on the last page gets borders on bottom and on sides. Here is the generated pdf: https://dl.dropboxusercontent.com/u/10985/minted-multiple-pages.pdf (You can ignore the lines crossing the borders as I will work on fixing those once I gets the borders right). Please let me know if there is any other way to get the following using *minted*: - Split code blocks on each page be completely boxed. - The code block be captioned. - The code block be properly listed in List of Listings - Be able to customize the border lines, code background and line numbers. -- Kaushal Modi
[O] [DEV] Bump Emacs requirement to 24.4?
Hello, Just to be sure, can we require Emacs 24.4 for development version (a.k.a. Org 8.4)? As a data point, Debian stable provides it. Also, what is the status of XEmacs support? AFAIU Org 8.3 doesn't build on XEmacs but no one is complaining. We may as well drop it and ignore most of org-compat.el. WDYT? Regards, -- Nicolas Goaziou0x80A93738
Re: [O] [DEV] Bump Emacs requirement to 24.4?
+1 On Wed, Aug 5, 2015 at 3:38 PM Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Hello, Just to be sure, can we require Emacs 24.4 for development version (a.k.a. Org 8.4)? As a data point, Debian stable provides it. Also, what is the status of XEmacs support? AFAIU Org 8.3 doesn't build on XEmacs but no one is complaining. We may as well drop it and ignore most of org-compat.el. WDYT? Regards, -- Nicolas Goaziou0x80A93738
Re: [O] [DEV] Bump Emacs requirement to 24.4?
On Wed, Aug 05, 2015 at 09:39:19PM +0200, Nicolas Goaziou wrote: Hello, Just to be sure, can we require Emacs 24.4 for development version (a.k.a. Org 8.4)? As a data point, Debian stable provides it. Also, what is the status of XEmacs support? AFAIU Org 8.3 doesn't build on XEmacs but no one is complaining. We may as well drop it and ignore most of org-compat.el. Agreed to both :). -- Suvayu Open source is the future. It sets us free.
Re: [O] [DEV] Bump Emacs requirement to 24.4?
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Just to be sure, can we require Emacs 24.4 for development version (a.k.a. Org 8.4)? As a data point, Debian stable provides it. Are the any differences between 24.4 and 24.5 that we care about? wrt the distros I care about: - Arch and Fedora are on both on 24.5. - CentOS7 is still 24.3. So is Slackware. Rasmus -- m-mm-mmm- bacon!
Re: [O] [DEV] Bump Emacs requirement to 24.4?
Hi Nicolas, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Just to be sure, can we require Emacs 24.4 for development version (a.k.a. Org 8.4)? As a data point, Debian stable provides it. Before discussion 24.4 vs say 24.3... why? What compatibility code is a burden today? Also, what is the status of XEmacs support? AFAIU Org 8.3 doesn't build on XEmacs but no one is complaining. We may as well drop it and ignore most of org-compat.el. I'm all for dropping XEmacs support. -- Bastien
Re: [O] comment trees in 8.3
git maint - new git maint caused this. On 8/5/15, Samuel Wales samolog...@gmail.com wrote: agenda shows them. org-agenda-skip-comment-trees is non-nil.
[O] comment trees in 8.3
agenda shows them. org-agenda-skip-comment-trees is non-nil.
Re: [O] [DEV] Bump Emacs requirement to 24.4?
Bastien Guerry b...@gnu.org writes: Before discussion 24.4 vs say 24.3... why? What compatibility code is a burden today? 24.3 is the minimum required to drop `org-link-escape-browser', which is currently buggy. 24.4 fixes `split-string' and introduces many changes at the lisp level (variadic functions...). 24.5, OTOH, is very boring. Regards,
Re: [O] Exporting to beamerposter
Thank you, Eric! I had to add ignoreheading to the top-level heading because the title of the poster is handled via the #+TITLE attribute, but otherwise it works nicely. It’s a little unfortunate that the wrap-all heading is needed because it doesn’t serve a purpose. I tried a couple of things to get rid of it but nothing worked because top-level elements are translated to frames and each frame starts a new page, which we don’t want on a poster. For more fancy layouts, one has to be a little creative and sprinkle the document generously with dummy headings with ignoreheadings-attribute to make the LaTeX come out correctly but I think I’m getting the hang of it. I’ll publish the poster on Gist when I’m finished. Hopefully, that will make it easier for other people to get started with posters in org. Titus On 2015-08-05 Wed 01:08, Eric S Fraga wrote: On Tuesday, 4 Aug 2015 at 22:24, Titus von der Malsburg wrote: I’d like to use org-mode to create an academic poster like this one (random example found using Google): [...] What I would like to write in org is something like the following: Beamer is fully supported in org and especially columns. The attached creates a (very boring) poster which has two columns within a single frame which is the poster. Does this do what you want? Export via C-c C-e l P signature.asc Description: PGP signature
Re: [O] comment trees in 8.3
Samuel Wales samolog...@gmail.com wrote: git maint - new git maint caused this. On 8/5/15, Samuel Wales samolog...@gmail.com wrote: agenda shows them. org-agenda-skip-comment-trees is non-nil. I can't reproduce this running emacs -Q with the current master (b5f5d66) and Emacs 24.5.1 using the following test file as the sole agenda file. * TODO yes DEADLINE: 2015-08-05 Wed * TODO COMMENT no DEADLINE: 2015-08-05 Wed Running org-agenda-list shows only the 'yes' heading. Setting org-agenda-skip-comment-trees to nil and running again shows both. -- Kyle
Re: [O] comment trees in 8.3
24.4.1 can repro with -Q and this old testcase code and restriction lock and org-agenda-list. === ;;; ;;;alpha-org-testcase.el ;;; ;;;minimal testcase for org ;;; ;;; dorg=your-org-dir delorgsrc=your-org-src-dir emacs -Q -l alpha-org-testcase.el ;;; ;;; ;;;for my use i do this: ;;; mep=t emacs -Q -l $del/tests-and-publish/alpha-org-testcase.el \ --geometry +0+0 \ --geometry 60x30 \ $dorg/tests--org--xyzzy-big/comment.org ;;; (require 'cl) ;;my org files use these (setq org-odd-levels-only t) ;; (setf org-export-initial-scope 'subtree) ;;fix abominations (blink-cursor-mode 0) (setf visible-bell 'top-bottom) ;;basics (defun alpha-add-path (p) (setq load-path (cons p load-path))) (alpha-add-path (concat (getenv delorgsrc) /lisp)) (add-to-list 'auto-mode-alist '(\\.org$ . org-mode)) (require 'org-install) (setq org-agenda-files (list (substitute-in-file-name $dorg/todo-new--a.org))) ;;; ;;;stuff make things easier ;;; (setq org-completion-use-ido t) (setf org-outline-path-complete-in-steps nil) ;;; ;;;compatibility fixes ;;; ;; ;;fix compatibility bug in org [2011-05-25 Wed 08:59] ;; (when (= emacs-major-version 22) ;; (defun activate-mark () ;; Activate the mark. ;; (when (mark t) ;; (setq mark-active t) ;; (unless transient-mark-mode ;; (setq transient-mark-mode 'lambda)) ;; (when (and select-active-regions ;; (display-selections-p)) ;; (x-set-selection 'PRIMARY (current-buffer)) ;; ;;[2011-05-25 Wed 09:23] fix compatibility bug in Org. ;; ;;this is redefinition. it is for 22 for export. ;; (defcustom select-active-regions nil ;; If non-nil, an active region automatically becomes the window selection. ;; :type 'boolean ;; :group 'killing ;; :version 23.1) ;;; ;;;accessibility fixes ;;; (defun p () (interactive) (message fixing pop-up-windows) ;;i have /pop-up-windows/ set to nil, which works for most of ;;emacs. for org, i do the following. i need all of this just ;;as i need the large font above for accessibility reasons. ;; ;;(setf (cdr (assoc* 'file org-link-frame-setup)) 'find-file) (pushnew '(file . find-file) org-link-frame-setup :test #'equal) ;;it might be nice to have a 'dedicated-buffer option (setf org-indirect-buffer-display 'current-window) ;;could make pop kill the buffer ;;;(setf org-display-internal-link-with-indirect-buffer t) (setf org-src-window-setup 'current-window) (add-hook 'org-capture-mode-hook 'delete-other-windows) (defadvice org-agenda-set-tags (around fix-windows activate compile) Restore windows. (save-window-excursion ad-do-it)) (defadvice org-export (after fix-windows activate compile) Delete other windows after every export. (delete-other-windows)) (setf pop-up-windows nil) ;;for emacs i do this (add-to-list 'same-window-regexps \\*Customize.*) ;notwork? (setf Man-notify-method 'pushy) (add-to-list 'same-window-regexps \\*Man .*) ;notwork (add-to-list 'same-window-regexps \\*.*\\*) (add-to-list 'same-window-buffer-names *Remember*) (add-to-list 'same-window-buffer-names *Help*) (add-to-list 'same-window-buffer-names *Apropos*) (add-to-list 'same-window-buffer-names *Summary*) (add-to-list 'same-window-buffer-names *Compile-Log*) (add-to-list 'same-window-buffer-names *Ibuffer*) (add-to-list 'same-window-buffer-names *Ibuffer*) (message done fixing pop-up-windows)) (when (getenv mep) ;;it is i (defconst alpha-alpha-p t) (require 'org) (p) ;;necessary for large fonts (scroll-bar-mode -1)) ;;; ;;;basic org features likely to affect many bug reports ;;; (setq org-todo-keywords '((type NAKA(i) TODO(T) MAYBE(y) DOUBTFUL(l) | MOOT(m (setq org-agenda-window-setup 'current-window)
Re: [O] [DEV] Bump Emacs requirement to 24.4?
On Wed, 05 Aug 2015 23:51:32 +0200 Rasmus ras...@gmx.us wrote: Nicolas Goaziou m...@nicolasgoaziou.fr writes: Just to be sure, can we require Emacs 24.4 for development version (a.k.a. Org 8.4)? As a data point, Debian stable provides it. Are the any differences between 24.4 and 24.5 that we care about? wrt the distros I care about: - Arch and Fedora are on both on 24.5. - CentOS7 is still 24.3. So is Slackware. SUSE Linux Enterprise 12 and openSUSE 13.2 also have 24.3. The package for future openSUSE:42 is 24.3, too. Best regards Robert
Re: [O] create a send plain text/pdf email with current header function?
Perfect! (as always i might add John ;)) thx so muxh Z On Wed, Aug 5, 2015 at 9:38 PM, John Kitchin jkitc...@andrew.cmu.edu wrote: * Automatic send email to myself #+BEGIN_SRC emacs-lisp (defun email-heading-to-me () Send the current org-mode heading as the body of an email, with headline as the subject. (interactive) (save-excursion (org-mark-subtree) (let ((content (buffer-substring (point) (mark))) (SUBJECT (nth 4 (org-heading-components (compose-mail y...@email.here SUBJECT) (message-goto-body) (insert content) (message-send) (message-kill-buffer #+END_SRC #+RESULTS: : email-heading-to-me Xebar Saram writes: thx both John and Matt I went on and used johns function he recommended (since i needed a simple text only export) and it works flawlessly :) John: just a quick follow up though with that function you kindly shred email-heading it opens up a buffer and you insert the email address. is it possible to have a function that sends to a prefixed email address (ie myself :)). also can the function then just do it in the background without even opening the buffer? since i want to send it to a prefixed email i dont really need to see it and press C-c C-c. This isnt really important so if its complicated please feel free to ignore ;-) best Z On Sat, Aug 1, 2015 at 6:24 PM, John Kitchin johnrkitc...@gmail.com wrote: You probably could use the function here https://github.com/jkitchin/jmax/blob/master/email.el#L51 for the email part after you find the heading you want to send. I think there is some code there to send a pdf too. On August 1, 2015, at 10:49 AM, Xebar Saram zelt...@gmail.com wrote: Hi all i find that i keep copy pasting food recipes (which i collect with org obviously) to my email client and then sending it over to the phone to use in the kitchen (which reminds Me really should get a emacs touch screen for the kitchen..though my wife would get a stroke if she sees that ;-))..anyway, anyone knows how one (with almost none to zero elisp skills) create such a function? all i need is locate the recipe (header) and then send the header and sub headers as text or pdf to my email best! Z -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu
Re: [O] sudo uninstall org? Can it be done?
Sharon Kimble boudic...@skimble.plus.com writes: ╭ │org-babel-safe-header-args , and I think it said something about the | function being void. | ╰ A similar error is also reported here: https://www.reddit.com/r/emacs/comments/3fuq11/org_83_released/ Anyone knows how to reproduce and fix this? -- Bastien
Re: [O] sudo uninstall org? Can it be done?
I had this problem too, but only on one of my machines. In my case it was triggered by (require 'ob-R). Running byte-compile-file on ob-R.el fixed it for me. I don't know what that means, but maybe it will give someone a clue as to how to track this down. best, Ista On Aug 5, 2015 6:23 PM, Bastien Guerry b...@gnu.org wrote: Sharon Kimble boudic...@skimble.plus.com writes: ╭ │org-babel-safe-header-args , and I think it said something about the | function being void. | ╰ A similar error is also reported here: https://www.reddit.com/r/emacs/comments/3fuq11/org_83_released/ Anyone knows how to reproduce and fix this? -- Bastien