Eduardo Mercovich | 4 Sep 16:51 2015
Picon

(no subject)

Hello everbody. 

I'm an emacs/org-mode newbie but I'm learning, so please forgive me if
this is obvious for you.

A couple days ago I updated org from the packages-list. 

Now, when I'm trying to use a simple org table (typing TAB, for
example), I get: 
"org-get-limited-outline-regexp: Variable binding depth exceeds
max-specpdl-size"

Also, while trying to export a document to html, I get: 
"Variable binding depth exceeds max-specpdl-size"

Looking up, I saw that this is a mechanisms to protect against infinite
recursions, so I tried to increase the limit -just to get the exporting
done- putting in my .emacs this:

(setq max-specpdl-size 15000)
(setq max-lisp-eval-depth 15000)

But, no luck. 

Any pointer about what could be happening, or how to solve it? 
Thanks a lot in advance... :)

--

-- 
e

(Continue reading)

Fernando Varesi | 4 Sep 14:14 2015
Picon

Bug: org-shitmeta(up/down) does not seem to handle subtrees and items properly [8.3.1 (8.3.1-95-g1dbb25-elpa <at> /home/fvaresi/.emacs.d/elpa/org-20150831/)]

Hi. First of all I apologize if this report does not comply in any way to the standards, since it's my first report.

Steps to reproduce:
1. Create an outline with 2 headlines, each of them having their own drawers.
2. Move the pointer to the headline.
3. Hit M-S-down.

Expected Behavior:
M-S-up/down should move the subtree/item up/down when pointer is in a headline/item.

Current Behavior:
Only the headline is moved, even inside a drawer if it's present.

Debugging:
I checked the functions org-shiftmetaup and org-shiftmetadown, and the cond does not check for
org-at-heading-p nor org-at-item-bullet.

Fix:
You'll notice in my configuration I added hooks for org-shiftmetaup-hook and org-shiftmetadown-hook.
This produces the expected behavior, but I think these conds should be added to the function itself. I'm
not sure org-at-item-bullet is the right predicate, but it worked for me.

Thanks,

Fernando.

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback
(Continue reading)

Rainer M Krug | 4 Sep 12:14 2015
Picon

Tangling from indirect buffer

Hi

it seems that tangling from an indirect buffer does not work. Is this by
design or a bug?

Would it be possible to make this possible? I am working a lot in
indirect buffers (one subfolder R packages, another analysis of data, a
third one results) and would very much like to tangle from them instead of
having to go back to the actual buffer.

Thanks,

Rainer

--

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer <at> krugs.de

Skype:      RMkrug
(Continue reading)

Rainer M Krug | 4 Sep 12:11 2015
Picon

SOLVED: Error when tangling subtree - but works for whole document

The problem is that tangling in an indirect buffer does not work.

I'll post another email concerning this.

Thanks,

Rainer

Rainer M Krug <Rainer <at> krugs.de> writes:

> Hi
>
> I get an error #(wrong-type-argument stringp nil)# when I tangle a
> subtree, but tangling the whole document works.
>
> ,----
> | GNU Emacs 24.5.1 (x86_64-apple-darwin14.5.0, Carbon Version 157
> | AppKit 1348.17) of 2015-08-28 on Rainers-MacBook-Pro.local
> | Org-mode version 8.3.1 (release_8.3.1-166-g5bfdfc  <at>  /Users/rainerkrug/.emacs.d/org-mode/lisp/)
> `----
>
> The backtrace is below
>
> Let me know if you need any further info
>
> Thanks,
>
> Rainer
>

(Continue reading)

Tamas Papp | 4 Sep 09:22 2015
Picon

ob-R ignores ess-eval-visibly?

Hi,

I prefer ESS not to wait for results of evaluating R code, especially if
it takes a longer time (eg estimating a model in RStan, 1-2 minutes), so
I have

(setq ess-eval-visibly 'nowait)

But I find that ob-R ignores this, eg evaluating

#+BEGIN_SRC R :results none
  Sys.sleep(10)
#+END_SRC

I looked at the source and I think I understand why this is: the results
need to be inserted into the buffer. However, could there be an
exception for :results none, when they are not needed? Then I could put
code which takes a long time into these blocks, and they would not block
my Emacs.

Best,

Tamas

Keith M Swartz | 4 Sep 08:29 2015
Picon

Question about todo subheadings and logbook

Hi all,

I'm currently using org-mode 8.3.1, and I'm curious about a particular behavior.

If I start to type an item, and then use the C-c C-t shortcut to mark it as a TODO item, it automatically creates a drawer and adds a LOGBOOK entry to it. Custom settings are as follows:

(setq org-log-into-drawer 'LOGBOOK
      org-log-state-notes-into-drawer 'LOGBOOK)

I often want to add a subheading (sub-task) to this todo item, so I'll hit Alt-Enter to do this. When I do, it creates the subheading /between/ the original todo and the drawer. Is that correct?

My preference - and what I would have assumed to be the correct behavior - would be to have the subheadings appear /after/ the logbook drawer, as each subtask can also have a todo state and its own logbook.

I figure there's probably a quick change I can make to org-insert-todo-subheading or some other function, but wanted to see if: a) this is how it's supposed to work, and b) if there was an easier way to achieve what I want, maybe just some keyboard shortcut I'm missing.

Thanks,
Keith
--

Keith M Swartz
oneroadkms <at> gmail.com

Rafael | 4 Sep 00:06 2015
Picon

<at> <at> beamer:some code <at> <at> in math mode


Apparently the shortcut  <at>  <at> beamer:some code <at>  <at>  does not work in math
mode. This:

----------
This is a test  <at>  <at> beamer:some code <at>  <at>  to check
\(x= <at>  <at> beamer:y <at>  <at> \)
----------

exports (in beamer export) to:

----------
This is a test some code to check
\(x= <at>  <at> beamer:y <at>  <at> \)
----------

Could it be made to work in math mode too? I want to apply this
solution: http://tex.stackexchange.com/a/60692/250 to one presentation.

Regards,
Rafael

Thomas S. Dye | 3 Sep 21:15 2015

Re: merge trees?

Aloha Matt,

Matt Price <moptop99 <at> gmail.com> writes:

> sounds interesting, can you send me a copy of the source? I don't usei
> nternal links very much!

Here is a link to the course syllabus and schedule, so you can see the
result:

http://www.tsdye.com/anth_323/anth_323_syllabus.html

My students seem to appreciate the Course Calendar and they definitely
appreciate the ReadTheOrg style.

I've attached the Org mode source, which probably depends on some code
in my library of Babel.  At least you'll be able to see how I structure
the file and use internal links.  I really like using the ID properties
for internal links to headlines, so I'm free to change the headline text
without breaking the link.

Also, there is a bunch of material in the attached file related to
exporting slide-show lectures to pdf, which you can ignore.  I've
stripped out the lecture content because it's not relevant to your
query.

All the best,
Tom


--

-- 
Thomas S. Dye
http://www.tsdye.com
Kalev Takkis | 3 Sep 19:42 2015
Picon

Babel, var vrom property drawer in function call?


Hi list,

Is there a way to use variables defined as :var: in :PROPERTIES: drawer in function call? Such as

** Some heading
   :PROPERTIES:
   :var:      par1="smth"
   :END:

   #+call: some-function(parameter=par1)


Better yet, is there a way to have the function itself to figure out which properties are in effect in a place where a function is called from? What I mean is, when i have a code block

#+name: some-function
#+begin_src sh :results code
   echo $par1
#+end_src

defined under ** Some heading, evaluating the function will echo the value of par1. But when the function is defined somewhere where par1 is not defined, calling it under ** Some heading with #+call doesn't work. Can I somehow instruct org to automatically use the parameter value from the place where the function is called with #+call, rather than where its body is defined?

All the best,
Kalev
Matt Price | 3 Sep 19:07 2015
Picon

merge trees?

Eveyr year at this time, I struggle with the structure of my course syllabi, and move bits an pieces around with wild abandon.  At the end of my struggles, my course outline will be filled with headings like this:
------------------------
** <2015-10-06 Tue> Spatial History
Thinking about the visual presentation of information, especially in map form
*** Readings
+ Franco Moretti, /Graphs, Maps, Trees/, ch. 1 ([[http://2012.hackinghistory.ca/wp-content/uploads/2012/09/placing-history.pdf][Graphs]]).
+ Knowles, A. K. “GIS and History.” [[http://2012.hackinghistory.ca/wp-content/uploads/2012/09/pariser-filter-bubble.pdf][/Placing History: How Maps, Spatial Data, and GIS Are Changing Historical Scholarship/]] (2008): 1–13.
+ Bondenhamer, David J. “History and GIS: Implications for the Discipline.” /Placing History: How Maps, Spatial Data, and GIS Are Changing Historical Scholarship/ (2008): 219-234.
+ Theibault, John. “[[http://writinghistory.trincoll.edu/evidence/theibault-2012-spring/][Visualizations and Historical Arguments]].” Writing History in the Digital Age, March 23, 2012.
*** Lab: Google Maps and Javascript
--------------------------

Unfortunately, the Seminar topics, labs, and readings do not always match up very well. It occurs to me that it would be preferable to maintain separate trees of seminar topics and labs, and merge them, so eg:

* Topics
** Introduction
** Crowds and Publics
** Spatial History

* Labs
** Intro to HTML
** Styling with CSS
** The Google Maps Javascript API

The two subtrees can be manipulated independently, then merged to create something like:

* Schedule
** <2015-09-15>
*** Seminar: Introduction
*** Lab: Intro to HTML

(each subheading will also include content, e.g., a description of the class, some lab instructions, etc.).

Is there an easy way to do this already? Or is the best thing to do to write a piece of elisp that generates the appropriate structure using org-element, and put that code in a babel block? And if the latter, does anyone, um, want to write the code for me?

Many thanks for your help,
Matt
Tobias Frischholz | 3 Sep 17:06 2015

shell scripts in yasnippet?

Hi there,

right now I’m tinkering around with yasnippet.
I was wondering if there’s a possibility to run a shell script and write its results in the text file.

Specifically, I’m want to run “fortune” and put the results in a #+BEGIN_QUOTE…#+END_QUOTE block.
Would that be possible?
Best regards,
Tobias Frischholz



Gmane