Sebastien Vauban | 24 Nov 10:30 2014

[bug] YASnippet (bound to SPC) and Org in `master'

Hello,

In Org `master' (not in `maint'), there is a bug (or conflict or ???)
when one binds `yas-expand' to SPC (the "abbrev-way"), as in the
following minimal Emacs configuration file:

--8<---------------cut here---------------start------------->8---
;; Autoloads.
(add-to-list 'load-path "~/.emacs.d/elpa/yasnippet-20141117.327")
(load-library "yasnippet-autoloads")

;; Enable YASnippet in all buffers.
(yas-global-mode 1)

;; Bind yas-expand to SPC (abbrev-way).
(define-key yas-minor-mode-map (kbd "SPC") 'yas-expand)
--8<---------------cut here---------------end--------------->8---

With the above config, typing SPC after any word in any Org table cell
deletes the whole contents of the cell... [1]

When typing, for example, "Every word gets deleted on pressing SPC...",
you successively only see "Every", then "word", then "gets", ..., and
then finally "SPC..." as the cell contents!

Searching for the difference between `maint' and `master' shows that the
problem occurs since the following commit in `master':

--8<---------------cut here---------------start------------->8---
e8b51c0ce5d6dbd5f2c6cfff2d260a3f5f7ac58f is the first bad commit
(Continue reading)

Nicolas Goaziou | 24 Nov 00:34 2014
Picon

Modifications in org-src.el

Hello,

In an attempt to unify various external editing functions
(`org-edit-fixed-width', `org-edit-src-code'...), I widely modified
"org-src.el".

These changes are mostly internal and no user-visible change (besides
bug fixes) is expected. However I removed some functions, not used in
the code base, and changed a few signatures (`org-edit-src-code' and
`org-edit-src-exit').

I also added export block sub-editing.

Please report anything suspicious in this area.

Regards,

--

-- 
Nicolas Goaziou                                                0x80A93738

yggdrasil | 23 Nov 22:38 2014
Picon

#+BIBLIOGRAPHY multiple entries

I am trying to figure out how to use multipe bibliography files in
org-mode. What I've used so far is the #+BIBLIOGRAPHY statement which
lets me enter one .bib file, but I have been unable to use more than one
file. How would one go about to achieve this?

I use 
#+BIBLIOGRAPHY mybibliographyfile plain 
which works, but
#+BIBLIOGRAPHY myfirstbibliographyfile mysecondbibliographyfile plain 
does not.

Cheers,

Johnny

Vicente Vera | 23 Nov 16:57 2014
Picon

Export backends are loaded after code block evaluation

Org-mode version 8.3beta (release_8.3beta-584-g3953cb  <at> 
/usr/local/share/emacs/site-lisp/org/)
GNU Emacs 25.0.50.1 (i686-pc-linux-gnu, GTK+ Version 3.14.4) of 2014-11-17

Hello. Just noticed that after evaluating a code block with C-c C-c
(org-babel-execute-src-block?) all export backends stored in
'org-export-backends' are loaded---or 'required'---automatically. Once
I commented out my 'org-export-backends' setup those backends weren't
loaded, but the default ones did (ascii html icalendar latex).

Is this the intended behavior? Tried to grep my way through Org's
source files looking for a clue with no success.

Also, is there a way to prevent this from happening? It doesn't seem
extremely necessary to me.

Marcin Borkowski | 23 Nov 16:44 2014
Picon

Custom export backend based on HTML: how to implement own blocks?

Hello,

I'd like to (ab)use the "underline" syntax for something else.
Basically, I'd like to translate

_underlined_

to

<span class="my-own"><variant>underlined<variant></span>

and

_underlined|with variant_

to

<span class="my own"><variant>underlined</variant><variant>with
variant</variant></span>

but only if the underlining is between

#+BEGIN_MYBLOCK
...
#+END_MYBLOCK

How to achieve this?  In particular, I'd like to know:

1. How can I know (in org-html-underline, for instance) whether I am in
a MYBLOCK or not?
(Continue reading)

James Harkins | 23 Nov 15:05 2014

Beamer export, file-link format

I'm using org + beamer, and I've put in some links like this:

\href{media/something.mp3}{Listen: Something}

I want "Listen: Something" to appear in another color. LaTeX is steadfastly refusing to do this: all links
appear in the normal document font and color.

Hyperref is invoked in the preamble like so:

\usepackage{hyperref}

That is, I am not using "hidelinks" for this presentation.

What do I need to do so that the links stand out in the export?

hjh

Karl Voit | 23 Nov 13:41 2014
Picon

yasnippet and Org-mode: depressing relationship

Hi!

If you're using Org-mode together with yasnippet: how do you do it
without getting performance issues or expand-key troubles?

Background with a specific issue:

My yas-specific init-lines:
  #+BEGIN_EXAMPLE
  812:(require 'yasnippet)
  813:(setq yas-root-directory "~/.emacs.d/snippets")
  814:(yas-load-directory yas-root-directory)
  887:(add-hook 'org-mode-hook 'yas-minor-mode-on)
  888:(setq yas-indent-line 'fixed) ;; fixes Org-mode issue with yasnippets: https://github.com/capitaomorte/yasnippet/iss
  #+END_EXAMPLE

- Org-mode version 8.3beta (release_8.3beta-544-g77f088) from Git
- yasnippet (version 0.8.0beta) (Github)
- GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2)

Issue: Whenever I change table cells via TAB, it takes twelve
seconds with 100% CPU core:

org-table-next-field very slow:
#+BEGIN_EXAMPLE
- command-execute                           31397  99%
 - call-interactively                       31397  99%
  - yas-expand                              31298  98%
   - yas--fallback                          31298  98%
    - call-interactively                    31298  98%
(Continue reading)

James Harkins | 23 Nov 03:59 2014

Documentation for NOBLOCKING property?

Just now, I needed to exempt a couple of subtrees from TODO dependency blocking. I found that you can do this
by setting a subtree property NOBLOCKING.

This option appears to be undocumented (by which I mean, it isn't mentioned in the manual's dependency
checking page, and a web search for "orgmode todo noblocking" turned up pages about TODOs but none with any
obvious reference to noblocking). I found the property by grepping the .el sources for "blocked" to find
the org-todo function, and then scanning the function until I found something that looked like property access.

Was it intentional to omit this from the documentation?

hjh

Vinh Nguyen | 22 Nov 23:17 2014
Picon

disable title-format "<h1>%s</h1>\n" when exporting html

Dear list,

I would like my org html exporter to not include the title as an H1
header.  According to this
(http://orgmode.org/worg/org-contrib/org-export-generic.html), I think
I could do it by setting it to blank in my init file.  However, I'd
like to keep as is the default, but would like to disable the
inclusion of

"<h1>%s</h1>\n"

for each project/org file by itself.  Is there any way to set this
option within the org file?  Thanks for your help.

-- Vinh

aditya siram | 22 Nov 21:06 2014
Picon

[Babel] Detangling with Noweb references.

Hi all,
I would like detangling to work even where there are Noweb references in code chunks.

My reason for this is that I've have hit the following case several times and haven't found a satisfactory answer yet:
1. I would like to break up the code within braces or parens into their own chunks
2. I would like to be able to detangle the code in those chunks. This effectively means ( I think ) that Noweb style references are not a possibility currently.
3. I don't want chunks that simply open and close parens/braces.

An example might look like:
method {
    code;
    code;
    /* --- Chunk 1 --- */
       ....
    /* --- End --- */
    code;
    /* --- Chunk 2 --- */
       ...
    /* --- End --- */
}

Can anyone think of an alternative. And if not does anyone have any interest in this functionality or is someone already working on  this?

Thanks!
-deech

Roberto Huelga | 22 Nov 20:51 2014
Picon

Patch org-capture-set-target-location

Patch proposal for org-capture-set-target-location

The idea is that when somebody use the function or file+function targets you can make the template subheading from the heading where the custom-function set the point.
org-capture-set-target-loction force the org-capture-plist :exact-position to (point).
So the template is inserted in the same level not as subheading

With my patch the custom-function can (org-capture-put :exact-position nil), and now if point its placed in a heading the template is created as his subheading.

For a use case can look at the following emacs.stackexchange question

http://emacs.stackexchange.com/questions/3750/org-capture-files-entry-under-wrong-datetree/3765#3765

Thanks.

Roberto Huelga.

Gmane