emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-url-hexify-p is not respected
@ 2012-09-09 16:37 James Harkins
  2012-09-10  1:50 ` James Harkins
  0 siblings, 1 reply; 73+ messages in thread
From: James Harkins @ 2012-09-09 16:37 UTC (permalink / raw)
  To: emacs-orgmode

Have to admit, I'm getting a wee bit cross as it's 12:30 at night here, and all I wanted to do was save a link to a beamer-export .org file into another org file, and it keeps giving the link a hex ID that I *do not want*.

I have customized org-url-hexify-p -- C-h v org-url-hexify-p shows:

~~~
org-url-hexify-p is a variable defined in `org.el'.
Its value is nil

Documentation:
When non-nil, hexify URL when creating a link.
~~~

But C-c l creates:

<id:35d46474-b096-4312-a6e9-f3d32b3120f7>

That looks curiously like the hexified link that should not be generated according to the nil value of org-url-hexify-p.

I want the <file:.....> link because <id:...> cannot be resolved after quitting and restarting emacs (which is, IMO, a really massive weakness of org-url-hexify-p's default enabled setting, but I suppose there was a good reason for it).

How do I make org-url-hexify-p behave properly?

Org-mode version 7.9 (release_7.9-34-g4ca67b @ /home/blahblah/share/org-mode.git/lisp/)

Thanks.
hjh


--
James Harkins /// dewdrop world
jamshark70@dewdrop-world.net
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

^ permalink raw reply	[flat|nested] 73+ messages in thread
[parent not found: <CAFniQ7UgwaQ5jO2r7iJ7PbakWfpvsJGZw2FNNf+sawwvKqSUqQ@mail.gmail.com>]
* <M-S-left/right> changed?
@ 2013-01-10  2:38 James Harkins
  0 siblings, 0 replies; 73+ messages in thread
From: James Harkins @ 2013-01-10  2:38 UTC (permalink / raw)
  To: Emacs-orgmode

It seems the behavior of <M-S-left> and <M-S-right> has changed.
Previously, if I selected multiple subtrees and hit M-S-right, all the
subtrees in the region would be demoted (or promoted, if I hit left
instead). Now, the behavior is identical to <M-left/right>: only the
subtree at the point is moved.

Example:

* One
* Two
* Three
* Four

If I position the point at the beginning of the "Two" line, and then
hit C-space down down, the region encompasses both headings. I
expected <M-S-right> to change both into second level entries.
Instead, it demotes "Four" (which is not even in the region).

Intentional decision, or regression? I would argue the latter. The old
behavior was quite useful and I don't know how to get it back.

My current version is:

Org-mode version 7.9.2 (release_7.9.2-882-gf47a71.dirty @
/home/dlm/share/org-mode.git/lisp/)

The only local commit that makes it "dirty" is a change to a
docstring. No code changes. I haven't moved up to 7.9.3 because I just
read a bug report on the list about MobileOrg*, which is essential to
me, so I don't plan to move to that release until I see confirmation
that the fix actually works.

* http://article.gmane.org/gmane.emacs.orgmode/64459

Thanks.
hjh

^ permalink raw reply	[flat|nested] 73+ messages in thread
* New exporter, beamer confusion
@ 2013-02-04  4:00 James Harkins
  2013-02-04  6:39 ` Suvayu Ali
  0 siblings, 1 reply; 73+ messages in thread
From: James Harkins @ 2013-02-04  4:00 UTC (permalink / raw)
  To: Emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2409 bytes --]

During the semester break, I want to switch over to the new exporter.
Currently I'm using export mainly for beamer presentations.

I found the org-e-latex-classes entry in an old e-mail post. With
that, M-x org-export-dispatch l P produces a .tex document that
compiles. But the output is not right.

I've typically done my presentations with sections and frames only, no
sub-(sub-)sections. So I got some improvement over my first test by
removing the subsection lines from Nicolas' example entry:

(add-to-list 'org-e-latex-classes
             '("beamer"
               "\\documentclass[presentation]{beamer}
\[DEFAULT-PACKAGES]
\[PACKAGES]
\[EXTRA]"
               ("\\section{%s}" . "\\section*{%s}")
;               ("\\subsection{%s}" . "\\subsection*{%s}")
;               ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
))

Frame display is still incorrect, though. If I write:

* Section A
** Slide 1
*** Third-level
**** Fourth-level

... I expect "**" in the outline to be the frame title, and the third
and fourth level headings go into the frame's body as bullets. But in
the .tex file, there is no \begin{frame} at all. So I get an
enumeration hard-aligned to the top of the frame:

1. Slide 1
	1.1 Third-level
		1.1.1 Fourth-level

Bottom line question, then, is: How can I convert my setup for the old
exporter (pasted below) over to the new exporter, and get compatible
results without having to restructure dozens of org files?

I'm also attaching a very simple org file that I'm using for testing.

Org-mode version 7.9.2 (release_7.9.2-883-g6fb36e.dirty @
/home/dlm/share/org-mode.git/lisp/) ("Dirty" = A tiny patch I have
submitted for a mobileorg problem, which so far has been ignored.)

hjh

*** OLD EXPORTER SETUP

#+LANGUAGE:  en
#+OPTIONS:   H:10 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport

#+startup: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [bigger]
#+BEAMER_FRAME_LEVEL: 2

#+TITLE:     Applied Techniques for Digital Audio \newline Making
music by programming
#+AUTHOR:    H. James Harkins
#+DATE:      7 November 2012

#+BEGIN_LaTeX
\AtBeginSection[] % Do nothing for \section*
{
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsection]
\end{frame}
}
#+END_LaTeX

* Section
** Frame
*** Bullet in frame

[-- Attachment #2: simple-beamer.org --]
[-- Type: application/octet-stream, Size: 788 bytes --]

#+LANGUAGE:  en
#+OPTIONS:   H:10 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc

#+startup: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation]
#+BEAMER_THEME: default
#+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col) %8BEAMER_opt(Opt)
#+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.0 :ETC

#+TITLE:     Testing new beamer exporter
#+AUTHOR:    H. James Harkins
#+EMAIL:     jamshark70@yaddayadda.com
#+DATE:      7 November 2012

#+BEGIN_LaTeX
\AtBeginSection[] % Do nothing for \section*
{
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsection]
\end{frame}
}
#+END_LaTeX

* Section A
** Slide 1
*** Third-level
**** Fourth-level

[-- Attachment #3: simple-beamer.tex --]
[-- Type: application/x-tex, Size: 1128 bytes --]

^ permalink raw reply	[flat|nested] 73+ messages in thread

end of thread, other threads:[~2013-02-27  9:51 UTC | newest]

Thread overview: 73+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-09 16:37 org-url-hexify-p is not respected James Harkins
2012-09-10  1:50 ` James Harkins
2012-09-10  4:58   ` Nick Dokos
2012-09-10  6:16     ` James Harkins
2012-09-10  6:37       ` Jambunathan K
2012-09-10  6:48         ` James Harkins
2012-09-10  7:12           ` Jambunathan K
     [not found]             ` <CAFniQ7W_5QMUawD2NObyhy2_Y647as-NthobZ9OgAX4NLcVJBw@mail.gmail.com>
2012-09-11 10:22               ` James Harkins
2012-09-11 13:10                 ` Activating modules before org-install (was: org-url-hexify-p is not respected) Memnon Anon
2012-09-11 13:56                   ` Jonathan Leech-Pepin
2012-09-11 17:06                 ` org-url-hexify-p is not respected Charles Philip Chan
2012-09-23 10:05                 ` Bastien
2012-09-26 17:59                   ` Michael Brand
2012-09-26 21:50                     ` Bastien
2012-09-27  6:18                       ` Michael Brand
     [not found]   ` <jamshark70@gmail.com>
2012-08-12  2:55     ` MobileOrg, webdav, correct use of org-mobile-directory? James Harkins
2012-08-12  4:29       ` Nick Dokos
2012-08-12  7:12         ` James Harkins
2012-08-12  8:43           ` Bastien
2012-08-12  8:50             ` James Harkins
2012-08-12 13:11           ` Nick Dokos
2012-08-18 23:25             ` Adam Spiers
2012-08-19  1:35               ` Adam Spiers
2012-08-19  5:49                 ` James Harkins
2012-08-20 20:03                 ` Rémi Vanicat
2012-08-19  2:41               ` Nick Dokos
2012-08-12 11:38         ` James Harkins
2012-08-12 12:40           ` Nick Dokos
2012-08-12 13:12             ` Nick Dokos
2012-09-29 16:34     ` LaTeX beamer export: relative file links? Nick Dokos
2012-09-30  2:04       ` James Harkins
2013-01-10  3:40     ` <M-S-left/right> changed? Nick Dokos
2013-01-10  9:17       ` James Harkins
2013-02-05  7:21     ` New exporter, beamer confusion Nick Dokos
2013-02-05  9:01       ` James Harkins
2013-02-05 13:20         ` Sebastien Vauban
2013-02-05 13:55         ` Nick Dokos
2013-02-05 19:03         ` Nicolas Goaziou
2013-02-06  0:11           ` Eric S Fraga
2013-02-06 18:55             ` Nicolas Goaziou
2013-02-06 22:39               ` Eric S Fraga
2013-02-07 12:31                 ` Nicolas Goaziou
     [not found]                   ` <37646106030B4CA98C6A7717FBD89D50@gmail.com>
     [not found]                     ` <87vca4jigj.fsf@gmail.com>
2013-02-07 14:49                       ` Vincent Beffara
2013-02-07 14:58                         ` Nicolas Goaziou
2013-02-07 17:08                           ` Rasmus
2013-02-07 21:48                             ` Nicolas Goaziou
2013-02-07 23:38                               ` Rasmus
2013-02-08 21:41                                 ` Nicolas Goaziou
2013-02-08 13:40                   ` Eric S Fraga
2013-02-06  2:12           ` James Harkins
2013-02-06  4:35             ` Eric S Fraga
2013-02-06 12:32             ` Rasmus
2013-02-06 13:12               ` Suvayu Ali
2013-02-06 13:45               ` Sebastien Vauban
2013-02-06 19:57             ` Nicolas Goaziou
2013-02-07  1:32               ` James Harkins
2013-02-05  9:36       ` Eric S Fraga
2013-02-25  6:25     ` How to make the new exporter open PDF using evince? James Harkins
2013-02-25  7:01       ` Mike Gauland
2013-02-25  6:52     ` Nick Dokos
2013-02-25 13:06       ` James Harkins
2013-02-26  2:40         ` Martin Marier
2013-02-27  9:51           ` James Harkins
     [not found] <CAFniQ7UgwaQ5jO2r7iJ7PbakWfpvsJGZw2FNNf+sawwvKqSUqQ@mail.gmail.com>
2012-09-29  5:55 ` LaTeX beamer export: relative file links? James Harkins
  -- strict thread matches above, loose matches on Subject: below --
2013-01-10  2:38 <M-S-left/right> changed? James Harkins
2013-02-04  4:00 New exporter, beamer confusion James Harkins
2013-02-04  6:39 ` Suvayu Ali
2013-02-04  8:55   ` James Harkins
2013-02-04 19:51     ` Nicolas Goaziou
2013-02-05  0:09       ` James Harkins
2013-02-05 12:32       ` Eric S Fraga
2013-02-05 18:06         ` Nicolas Goaziou
2013-02-05 23:49           ` Eric S Fraga

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).