Re: [O] Refiling list items

2012-01-17 Thread Jeff Horn
On Wed, Aug 17, 2011 at 05:32, Bastien b...@altern.org wrote:
 I pushed three small changes to the org-refile interface:

 1. before prompting the user for a refile target, put the point at the
   beginning of the region/subtree to refile.  This will make sure
   everyone understands we are refiling headlines, not text.

 2. Improve the prompt itself, explicitely saying whether we are refiling
   a subtree or a region (containing subtree(s)).

 3. Add a new option `org-refile-active-region-within-subtree' which,
   when turned on, allows the user to refile the active region, turning
   the first line into a headline using `org-toggle-heading'.

 I think these are improvements going in the right direction -- let me
 know what you think.  On the overall, I'm with Nicolas in thinking that
 we need to be extra careful when we try to extend a functionality to
 heterogeneous elements.

I've just come across an instance when this functionality was useful
again. I like the solution you've implemented, Bastien. There's just a
small problem I see right now, which pops up in particular with the
example outline from my OP.

,[ Sample Outline ]
| * Headline 1
| - List level 1
|   - List level 2
| * Headline 2
| Some text.
`

Selecting the region with the second line and third line, inclusive
(the plain list under Heading 1), refiling with
`org-refile-active-region-within-subtree' toggled on produces the
following outline:

,[ Results ]
| * Headline 1
| 2
| * Headline 2
| Some text.
| ** List level 1
|   - List level
`

As you can see, the digit at the end of the list gets orphaned.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] [BUG] org-agenda-switch-to fails with void function org-pop-to-buffer-same-window

2012-01-10 Thread Jeff Horn
Daniel's solution didn't end up working for some reason. After
spending over an hour on it this evening, I couldn't get git-cloned
org to work. I was running into an odd problem with 'cyclic variable
indirection' or something like that. In a trouble-shooting step, I
moved the git-cloned org out of the way, and site org took over.

Turns out, site org in Aquamacs Dev is the current stable version of
org. I suppose I might run into an issue here or there, but for now
all seems to be working. Since I've never really actively participated
in development and I ran smoothly over a year without needing to
report a bug, I don't seem to be losing much.

Cheers, all, and thanks for your suggestions.

On Sat, Dec 31, 2011 at 11:46, Nick Dokos nicholas.do...@hp.com wrote:
 Jeff Horn jrhorn...@gmail.com wrote:

 Manually loading `org-mode/lisp/org-compat.el` loads the missing
 function. Is it weird to have so much functionality depend on a
 compatibility library? (I don't do software for a living, this is an
 innocent question.)

 Also, does anyone have a clue as to why org-compat.el isn't being
 loaded automatically?


 This is (most probably) a red herring: the problem is probably a
 frankenstein org mode install (bits and pieces loaded from various
 places).

 Daniel Doherty posted an answer (in another thread - see
 http://thread.gmane.org/gmane.emacs.orgmode/50526/focus=50574 for
 details). I added that proposed solution to the FAQ on worg but I don't
 use starter-kit, so feel free to correct and clarify appropriately. In
 particular, if you (Jeff) can verify that it solves your problem, that
 would go a long way towards putting this problem to bed - permanently, I
 hope.

 Thanks,
 Nick


 On Fri, Dec 30, 2011 at 16:14, Jeff Horn jrhorn...@gmail.com wrote:
  It looks like git org-mode is at the front of my load-path
  already. I'm assuming that emacs' load-path works similar to a shell
  load-path, with lower-indexed directories being searched (and used)
  before higher-indexed ones.
 
  This bug is really messing with my workflow. Anything else I should
  try?
 
  ,[ load-path ]
  | (~/.emacs.d/elpa/color-theme-6.6.1/themes ~/completion ~/test
  | /Users/jrhorn424/.emacs.d/src
  | /Users/jrhorn424/.emacs.d/src/ado-mode
  | /Users/jrhorn424/.emacs.d/src/deft
  | /Users/jrhorn424/.emacs.d/src/markdown-mode
  | /Users/jrhorn424/.emacs.d/src/org-mode
  | /Users/jrhorn424/.emacs.d/src/w3m
  | /Users/jrhorn424/.emacs.d/src/ado-mode/info
  | /Users/jrhorn424/.emacs.d/src/ado-mode/lisp
  | /Users/jrhorn424/.emacs.d/src/ado-mode/plan for highlighting.oo3
  | /Users/jrhorn424/.emacs.d/src/ado-mode/scripts
  | /Users/jrhorn424/.emacs.d/src/ado-mode/templates
  | /Users/jrhorn424/.emacs.d/src/org-mode/BUGFIXING
  | /Users/jrhorn424/.emacs.d/src/org-mode/EXPERIMENTAL
  | /Users/jrhorn424/.emacs.d/src/org-mode/UTILITIES
  | /Users/jrhorn424/.emacs.d/src/org-mode/contrib
  | /Users/jrhorn424/.emacs.d/src/org-mode/etc
  | /Users/jrhorn424/.emacs.d/src/org-mode/lisp
  | /Users/jrhorn424/.emacs.d/src/org-mode/testing
  `
 
  On Sun, Dec 18, 2011 at 13:55, Jeff Horn jrhorn...@gmail.com wrote:
  I'll have to look into that. I'm using Eric Schulte's starter kit, so
  I doubt initialization is a problem. I haven't changed anything in my
  initialization other than a color theme in quite some time.
 
  On Thu, Dec 15, 2011 at 11:58, Sean O'Halpin sean.ohal...@gmail.com 
  wrote:
  On Thu, Dec 15, 2011 at 1:26 AM, Jeff Horn jrhorn...@gmail.com wrote:
  Recently did a fresh pull, which seems to have broken 
  org-agenda-switch-to.
 
  To reproduce, open an agenda buffer, navigate to a line you want to
  inspect, press [RET]. On my machine, this calls autopair, then falls
  back to org-agenda-switch-to. Autopair doesn't seem to be causing the
  problem, since it persists even if I call =M-x org-agenda-switch-to=
  instead of pressing [RET].
 
  Org-mode version 7.8.02 (release_7.8.02.3.gfb8c)
  GNU Emacs 24.0.90.3 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
  of 2011-12-14 on braeburn.aquamacs.org - Aquamacs Distribution 3.xdev
 
  Can anyone reproduce?
 
 
  I recently had a similar problem with =org-pop-to-buffer-same-window=
  . It turned out that after switching to using =org-babel-load-file= to
  load my init file, emacs was then using the org-mode installed in
  site-lisp rather than my local git copy.
 
  I fixed this by setting =load-path= to point to my local git copy of
  org-mode before calling =org-babel-load-file=.
 
  HTH.
 
  Regards,
  Sean
 
 
 
  --
  Jeffrey Horn
  http://www.failuretorefrain.com/jeff/
 
 
 
  --
  Jeffrey Horn
  http://www.failuretorefrain.com/jeff/



 --
 Jeffrey Horn
 http://www.failuretorefrain.com/jeff/




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] error Capture abort: (void-function org-pop-to-buffer-same-window)

2012-01-05 Thread Jeff Horn
This did not fix the issue for me.

1) Install org from ELPA.
2) Place (package-initialize) in `init.el`.
2.5) Remove .elc files.
3) Restart emacs.

On Sat, Dec 31, 2011 at 14:33, Eric Belpaire eric.belpa...@orange.fr wrote:
 Daniel,

 One soultion proposed elsewhere on this list is to do
 (package-initialize) in the primary init.el before starter-kit gets
 going.  That way, it picks up the elpa version of org from the git-go.


 I confirm that this solution fixed my issue.
 Thanks, Eric



-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] error Capture abort: (void-function org-pop-to-buffer-same-window)

2012-01-05 Thread Jeff Horn
Thanks, Dan. This fits my preferences for loading org exactly. One
small hitch, however. No errors were produced during startup, but
trying to open the agenda (C-a a) produces the following error:

Debugger entered--Lisp error: (void-function org-babel-result-hide-spec)

It's probably unrelated, but since your solution is the only change
I've made I'm not sure what's triggering it.

On Thu, Jan 5, 2012 at 12:20, Daniel E. Doherty ded-...@ddoherty.net wrote:
 Jeff,

 What I actually did is the following:

 1. Define the following function in a file called ded-org-load.el

 == ded-org-load.el ===
 (require 'cl)

 (defun ded-add-local-org-to-load-path (dir-list)
  Add any org directory found in DIR-LIST to the front of the load-path
  (let ((local-dirs dir-list)
        (org-dirs '())
        (org-dir nil))
    (dolist (dir (reverse local-dirs) org-dir)
      (when (setq org-dirs
                (remove* ^org
                         (directory-files (expand-file-name dir 
 starter-kit-dir))
                         :test-not 'string-match))
        (setq org-dir dir))
      (when org-dirs
        ;; Sort org-dirs by date to get most recent to car position
        (setq org-dirs (sort org-dirs (lambda (x y) (string-lessp y x
        (setq org-dir (concat starter-kit-dir org-dir / (car org-dirs)))
        (add-to-list 'load-path org-dir)
 =

 2. In the main init file, in my case ~/.emacs.d/init.el, I added the
 following line to load that function before any org-babel stuff takes
 place.
  init.el =
 ;; remember this directory
 (setq starter-kit-dir
      (file-name-directory (or load-file-name (buffer-file-name

 ;;; These lines added to Eric Schulte's starter-kit init.el
 ;; put package version of org to the front of the load path
 (load-file (concat starter-kit-dir src/ded-org-load.el))
 (ded-add-local-org-to-load-path '(src elpa el-get))

 ;; load up the starter kit
 (org-babel-load-file (expand-file-name starter-kit.org starter-kit-dir))

 ;;; init.el ends here
 (put 'narrow-to-page 'disabled nil)
 ==

 3. The effect of the function is to look for the most recent org
 distribution in the src elpa and el-get directories, in that order
 of preference and add that directory to the front of the load-path so it
 shadows the version that comes distributed with Emacs 24.

 Hope this helps.

 Dan



-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] [BUG] org-agenda-switch-to fails with void function org-pop-to-buffer-same-window

2011-12-30 Thread Jeff Horn
It looks like git org-mode is at the front of my load-path
already. I'm assuming that emacs' load-path works similar to a shell
load-path, with lower-indexed directories being searched (and used)
before higher-indexed ones.

This bug is really messing with my workflow. Anything else I should
try?

,[ load-path ]
| (~/.emacs.d/elpa/color-theme-6.6.1/themes ~/completion ~/test
| /Users/jrhorn424/.emacs.d/src
| /Users/jrhorn424/.emacs.d/src/ado-mode
| /Users/jrhorn424/.emacs.d/src/deft
| /Users/jrhorn424/.emacs.d/src/markdown-mode
| /Users/jrhorn424/.emacs.d/src/org-mode
| /Users/jrhorn424/.emacs.d/src/w3m
| /Users/jrhorn424/.emacs.d/src/ado-mode/info
| /Users/jrhorn424/.emacs.d/src/ado-mode/lisp
| /Users/jrhorn424/.emacs.d/src/ado-mode/plan for highlighting.oo3
| /Users/jrhorn424/.emacs.d/src/ado-mode/scripts
| /Users/jrhorn424/.emacs.d/src/ado-mode/templates
| /Users/jrhorn424/.emacs.d/src/org-mode/BUGFIXING
| /Users/jrhorn424/.emacs.d/src/org-mode/EXPERIMENTAL
| /Users/jrhorn424/.emacs.d/src/org-mode/UTILITIES
| /Users/jrhorn424/.emacs.d/src/org-mode/contrib
| /Users/jrhorn424/.emacs.d/src/org-mode/etc
| /Users/jrhorn424/.emacs.d/src/org-mode/lisp
| /Users/jrhorn424/.emacs.d/src/org-mode/testing
`

On Sun, Dec 18, 2011 at 13:55, Jeff Horn jrhorn...@gmail.com wrote:
 I'll have to look into that. I'm using Eric Schulte's starter kit, so
 I doubt initialization is a problem. I haven't changed anything in my
 initialization other than a color theme in quite some time.

 On Thu, Dec 15, 2011 at 11:58, Sean O'Halpin sean.ohal...@gmail.com wrote:
 On Thu, Dec 15, 2011 at 1:26 AM, Jeff Horn jrhorn...@gmail.com wrote:
 Recently did a fresh pull, which seems to have broken org-agenda-switch-to.

 To reproduce, open an agenda buffer, navigate to a line you want to
 inspect, press [RET]. On my machine, this calls autopair, then falls
 back to org-agenda-switch-to. Autopair doesn't seem to be causing the
 problem, since it persists even if I call =M-x org-agenda-switch-to=
 instead of pressing [RET].

 Org-mode version 7.8.02 (release_7.8.02.3.gfb8c)
 GNU Emacs 24.0.90.3 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
 of 2011-12-14 on braeburn.aquamacs.org - Aquamacs Distribution 3.xdev

 Can anyone reproduce?


 I recently had a similar problem with =org-pop-to-buffer-same-window=
 . It turned out that after switching to using =org-babel-load-file= to
 load my init file, emacs was then using the org-mode installed in
 site-lisp rather than my local git copy.

 I fixed this by setting =load-path= to point to my local git copy of
 org-mode before calling =org-babel-load-file=.

 HTH.

 Regards,
 Sean



 --
 Jeffrey Horn
 http://www.failuretorefrain.com/jeff/



-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] [BUG] org-agenda-switch-to fails with void function org-pop-to-buffer-same-window

2011-12-30 Thread Jeff Horn
Manually loading `org-mode/lisp/org-compat.el` loads the missing
function. Is it weird to have so much functionality depend on a
compatibility library? (I don't do software for a living, this is an
innocent question.)

Also, does anyone have a clue as to why org-compat.el isn't being
loaded automatically?

On Fri, Dec 30, 2011 at 16:14, Jeff Horn jrhorn...@gmail.com wrote:
 It looks like git org-mode is at the front of my load-path
 already. I'm assuming that emacs' load-path works similar to a shell
 load-path, with lower-indexed directories being searched (and used)
 before higher-indexed ones.

 This bug is really messing with my workflow. Anything else I should
 try?

 ,[ load-path ]
 | (~/.emacs.d/elpa/color-theme-6.6.1/themes ~/completion ~/test
 | /Users/jrhorn424/.emacs.d/src
 | /Users/jrhorn424/.emacs.d/src/ado-mode
 | /Users/jrhorn424/.emacs.d/src/deft
 | /Users/jrhorn424/.emacs.d/src/markdown-mode
 | /Users/jrhorn424/.emacs.d/src/org-mode
 | /Users/jrhorn424/.emacs.d/src/w3m
 | /Users/jrhorn424/.emacs.d/src/ado-mode/info
 | /Users/jrhorn424/.emacs.d/src/ado-mode/lisp
 | /Users/jrhorn424/.emacs.d/src/ado-mode/plan for highlighting.oo3
 | /Users/jrhorn424/.emacs.d/src/ado-mode/scripts
 | /Users/jrhorn424/.emacs.d/src/ado-mode/templates
 | /Users/jrhorn424/.emacs.d/src/org-mode/BUGFIXING
 | /Users/jrhorn424/.emacs.d/src/org-mode/EXPERIMENTAL
 | /Users/jrhorn424/.emacs.d/src/org-mode/UTILITIES
 | /Users/jrhorn424/.emacs.d/src/org-mode/contrib
 | /Users/jrhorn424/.emacs.d/src/org-mode/etc
 | /Users/jrhorn424/.emacs.d/src/org-mode/lisp
 | /Users/jrhorn424/.emacs.d/src/org-mode/testing
 `

 On Sun, Dec 18, 2011 at 13:55, Jeff Horn jrhorn...@gmail.com wrote:
 I'll have to look into that. I'm using Eric Schulte's starter kit, so
 I doubt initialization is a problem. I haven't changed anything in my
 initialization other than a color theme in quite some time.

 On Thu, Dec 15, 2011 at 11:58, Sean O'Halpin sean.ohal...@gmail.com wrote:
 On Thu, Dec 15, 2011 at 1:26 AM, Jeff Horn jrhorn...@gmail.com wrote:
 Recently did a fresh pull, which seems to have broken org-agenda-switch-to.

 To reproduce, open an agenda buffer, navigate to a line you want to
 inspect, press [RET]. On my machine, this calls autopair, then falls
 back to org-agenda-switch-to. Autopair doesn't seem to be causing the
 problem, since it persists even if I call =M-x org-agenda-switch-to=
 instead of pressing [RET].

 Org-mode version 7.8.02 (release_7.8.02.3.gfb8c)
 GNU Emacs 24.0.90.3 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
 of 2011-12-14 on braeburn.aquamacs.org - Aquamacs Distribution 3.xdev

 Can anyone reproduce?


 I recently had a similar problem with =org-pop-to-buffer-same-window=
 . It turned out that after switching to using =org-babel-load-file= to
 load my init file, emacs was then using the org-mode installed in
 site-lisp rather than my local git copy.

 I fixed this by setting =load-path= to point to my local git copy of
 org-mode before calling =org-babel-load-file=.

 HTH.

 Regards,
 Sean



 --
 Jeffrey Horn
 http://www.failuretorefrain.com/jeff/



 --
 Jeffrey Horn
 http://www.failuretorefrain.com/jeff/



-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] [BUG] org-agenda-switch-to fails with void function org-pop-to-buffer-same-window

2011-12-18 Thread Jeff Horn
I'll have to look into that. I'm using Eric Schulte's starter kit, so
I doubt initialization is a problem. I haven't changed anything in my
initialization other than a color theme in quite some time.

On Thu, Dec 15, 2011 at 11:58, Sean O'Halpin sean.ohal...@gmail.com wrote:
 On Thu, Dec 15, 2011 at 1:26 AM, Jeff Horn jrhorn...@gmail.com wrote:
 Recently did a fresh pull, which seems to have broken org-agenda-switch-to.

 To reproduce, open an agenda buffer, navigate to a line you want to
 inspect, press [RET]. On my machine, this calls autopair, then falls
 back to org-agenda-switch-to. Autopair doesn't seem to be causing the
 problem, since it persists even if I call =M-x org-agenda-switch-to=
 instead of pressing [RET].

 Org-mode version 7.8.02 (release_7.8.02.3.gfb8c)
 GNU Emacs 24.0.90.3 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
 of 2011-12-14 on braeburn.aquamacs.org - Aquamacs Distribution 3.xdev

 Can anyone reproduce?


 I recently had a similar problem with =org-pop-to-buffer-same-window=
 . It turned out that after switching to using =org-babel-load-file= to
 load my init file, emacs was then using the org-mode installed in
 site-lisp rather than my local git copy.

 I fixed this by setting =load-path= to point to my local git copy of
 org-mode before calling =org-babel-load-file=.

 HTH.

 Regards,
 Sean



-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



[O] [BUG] org-agenda-switch-to fails with void function org-pop-to-buffer-same-window

2011-12-14 Thread Jeff Horn
Recently did a fresh pull, which seems to have broken org-agenda-switch-to.

To reproduce, open an agenda buffer, navigate to a line you want to
inspect, press [RET]. On my machine, this calls autopair, then falls
back to org-agenda-switch-to. Autopair doesn't seem to be causing the
problem, since it persists even if I call =M-x org-agenda-switch-to=
instead of pressing [RET].

Org-mode version 7.8.02 (release_7.8.02.3.gfb8c)
GNU Emacs 24.0.90.3 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
of 2011-12-14 on braeburn.aquamacs.org - Aquamacs Distribution 3.xdev

Can anyone reproduce?

,[ Full Backtrace ]
| Debugger entered--Lisp error: (void-function
|   org-pop-to-buffer-same-window) (org-pop-to-buffer-same-window
|   buffer) (let* ((marker (or (org-get-at-bol (quote org-marker))
|   (org-agenda-error))) (buffer (marker-buffer marker)) (pos
|   (marker-position marker))) (org-pop-to-buffer-same-window buffer)
|   (and delete-other-windows (delete-other-windows)) (widen) (goto-char
|   pos) (when (eq major-mode (quote org-mode)) (org-show-context (quote
|   agenda)) (save-excursion (and (outline-next-heading)
|   (org-flag-heading nil))) (when (outline-invisible-p) (show-entry
|   (if (and org-return-follows-link (not (org-get-at-bol (quote
|   org-marker))) (org-in-regexp org-bracket-link-regexp))
|   (org-open-link-from-string (match-string 0)) (let* ((marker (or
|   (org-get-at-bol (quote org-marker)) (org-agenda-error))) (buffer
|   (marker-buffer marker)) (pos (marker-position marker)))
|   (org-pop-to-buffer-same-window buffer) (and delete-other-windows
|   (delete-other-windows)) (widen) (goto-char pos) (when (eq major-mode
|   (quote org-mode)) (org-show-context (quote agenda)) (save-excursion
|   (and (outline-next-heading) (org-flag-heading nil))) (when
|   (outline-invisible-p) (show-entry) org-agenda-switch-to()
|   call-interactively(org-agenda-switch-to) (let ((cua-delete-selection
|   (not autopair-autowrap)) (blink-matching-paren (not
|   autopair-action))) (call-interactively beyond-autopair)) (let*
|   ((autopair-emulation-alist nil) (beyond-cua (let ((cua--keymap-alist
|   nil)) (autopair-original-binding))) (beyond-autopair
|   (autopair-original-binding))) (when autopair-autowrap (setq
|   autopair-wrap-action (autopair-calculate-wrap-action))) (setq
|   this-original-command beyond-cua) (when (and (featurep (quote
|   paredit)) (string-match paredit (symbol-name beyond-cua))) (setq
|   autopair-action nil)) (let ((cua-delete-selection (not
|   autopair-autowrap)) (blink-matching-paren (not autopair-action)))
|   (call-interactively beyond-autopair))) autopair-fallback( ) (let
|   ((pair (autopair-find-pair (char-before (when (and pair (eq
|   (char-syntax pair) 41) (eq (char-after) pair)) (setq autopair-action
|   (list (quote newline) pair (point (autopair-fallback (kbd
|   RET))) autopair-newline() call-interactively(autopair-newline nil
|   nil)
`
-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] [bug] Org link dialog escapes URL spaces incorrectly

2011-12-14 Thread Jeff Horn
On Sun, Nov 13, 2011 at 12:32, Nick Dokos nicholas.do...@hp.com wrote:
 Good enough for me. I don't remember whether you supplied a patch for this
 (sorry, no time to check atm) but if you did, maybe the OP can test it and
 make sure that it does what he expected (or maybe he's done that already -
 I can't remember and I'm completely discombobulated right now, even more than
 usual).

I was sorry to hear about your family emergency. I hope you are feeling better.

I just tried with the latest source, and the problem still exists for me.

Org-mode version 7.8.02 (release_7.8.02.3.gfb8c)
GNU Emacs 24.0.90.3 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
of 2011-12-14 on braeburn.aquamacs.org - Aquamacs Distribution 3.xdev

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] [bug] Org link dialog escapes URL spaces incorrectly

2011-11-04 Thread Jeff Horn
I just pulled the latest org-mode. The problem persists for me, even
though it was reported as fixed in a previous thread. Can anyone
replicate with the latest org?

Org-mode version 7.7 (release_7.7.513.g2a5877)
GNU Emacs 24.0.50.3 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
of 2011-08-10 on braeburn.aquamacs.org - Aquamacs Distribution 3.xdev

On Tue, Nov 1, 2011 at 22:02, Jeff Horn jrhorn...@gmail.com wrote:
 Org-mode version 7.7 (release_7.7.404.ga17c.dirty)
 GNU Emacs 24.0.50.3 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
 of 2011-08-10 on braeburn.aquamacs.org - Aquamacs Distribution 3.xdev

 Inserting a link through the link dialog doesn't escape URLs with
 spaces properly. Where a space is '%20', org will insert the link as
 '%2520'. I'm not certain of URL escape codes, but could org be trying
 to escape the % sign? Perhaps a missing slash in a regexp somewhere?

 1) Use =C-c C-l= to use dialog. Paste a link, like the following.

 http://www.dartmouth.edu/~dirwin/Did%20France%20Cause%20the%20Great%20Depression.pdf

 2) Use =C-c C-o= to open the link. Be weirded out about a 404. Inspect URL.

 ,[ Actual ]
 | - [ ] 
 [[http://www.dartmouth.edu/~dirwin/Did%2520France%2520Cause%2520the%2520Great%2520Depression.pdf][Link
 Description]]
 `

 ,[ Expected ]
 | - [ ] 
 [[http://www.dartmouth.edu/~dirwin/Did%20France%20Cause%20the%20Great%20Depression.pdf][Link
 Description]]
 `

 --
 Jeffrey Horn
 http://www.failuretorefrain.com/jeff/




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



[O] [bug] Org link dialog escapes URL spaces incorrectly

2011-11-01 Thread Jeff Horn
Org-mode version 7.7 (release_7.7.404.ga17c.dirty)
GNU Emacs 24.0.50.3 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
of 2011-08-10 on braeburn.aquamacs.org - Aquamacs Distribution 3.xdev

Inserting a link through the link dialog doesn't escape URLs with
spaces properly. Where a space is '%20', org will insert the link as
'%2520'. I'm not certain of URL escape codes, but could org be trying
to escape the % sign? Perhaps a missing slash in a regexp somewhere?

1) Use =C-c C-l= to use dialog. Paste a link, like the following.

http://www.dartmouth.edu/~dirwin/Did%20France%20Cause%20the%20Great%20Depression.pdf

2) Use =C-c C-o= to open the link. Be weirded out about a 404. Inspect URL.

,[ Actual ]
| - [ ] 
[[http://www.dartmouth.edu/~dirwin/Did%2520France%2520Cause%2520the%2520Great%2520Depression.pdf][Link
Description]]
`

,[ Expected ]
| - [ ] 
[[http://www.dartmouth.edu/~dirwin/Did%20France%20Cause%20the%20Great%20Depression.pdf][Link
Description]]
`

--
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] Refiling list items

2011-08-22 Thread Jeff Horn
On Wed, Aug 17, 2011 at 05:32, Bastien b...@altern.org wrote:
 I think these are improvements going in the right direction -- let me
 know what you think.  On the overall, I'm with Nicolas in thinking that
 we need to be extra careful when we try to extend a functionality to
 heterogeneous elements.

Bastien, thanks so much for adding this functionality. I've recently
moved and it has taken the better part of a week to get settled. I'll
test soon and share my comments!

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] Prettier Org-mode Export

2011-08-11 Thread Jeff Horn
Across github, documentation appears to be in the format
$user.github.com/$repo, while source code appears to be in the format
github.com/$user/$repo.

https://github.com/pavpanchekha/org-project

Still, it would be useful to add the link to the documentation.

On Thu, Aug 11, 2011 at 13:40, John Hendy jw.he...@gmail.com wrote:
 On Thu, Aug 11, 2011 at 12:11 AM, Pavel Panchekha
 pavpanche...@gmail.com wrote:

 I put together a few styles that I use for publishing Org-mode files to
 HTML --- I use this mostly for literate programs, but I think it should
 be usefully in general.  In any case, hope this is useful to someone.

 http://pavpanchekha.github.com/org-project/


 I looked in About and Source code but it is not apparent to me
 where one downloads the mentioned files... Where do I download
 org-project.setup and so on?


 Thanks,
 John


 Thanks,
 John

 --
 Pavel Panchekha







-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] Refiling list items

2011-08-10 Thread Jeff Horn
On Wed, Aug 10, 2011 at 06:05, Nicolas Goaziou n.goaz...@gmail.com wrote:
 From my point of view, lists cannot be a subset of headlines. Indeed,
 headlines are global structural elements, whereas items are local
 structural elements. In other words, moving an item outside of its
 scope, which is the list it belongs, will remove any structural meaning
 it has.

I don't disagree.

 For example, what is the point of moving an un-ordered item into an
 ordered list, or, worse, an un-ordered item into a description list?
 Sure, the item being moved and the destination list may share the same
 structure, but it's only a part of the equation.

I frequently use description lists as a quick way to get something
like bold inline headers for lists of test answers and questions.
Often, extended answers will be a description list item of several
paragraphs, or several paragraphs with sublists thrown in. The latter
doesn't work well. I agree I should probably figure out a better way
to organize this information, but it just feels natural at the time
and doesn't seem worth the trouble to fix after the fact.

 My point is that outside of its list, an item is just plain text.

 Thus, why not take that into account? Instead of creating a magical
 function to refile items anywhere, let's just extend `org-refile' to
 work on a region of text which is not a sub-tree.

 At the moment, org-refile understands the concept of region, but checks
 if that region holds a sub-tree. What about removing that check, and
 adapt the code to text without trees? It will then be the user's problem
 if he wants to match apples and oranges. Furthermore, as a side effect,
 refiling an item would simply mean selecting it and using refile
 interface.

Brilliant!

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] Refiling list items

2011-08-08 Thread Jeff Horn
On Mon, Aug 8, 2011 at 20:20, Nick Dokos nicholas.do...@hp.com wrote:
 Jeff Horn jrhorn...@gmail.com wrote:

  What would be the specifications of that function? Would it only send
  the item at point to the end of the headline specified through the
  refile interface?

 I hope its clear that this is all above my head. I know enough to make
 suggestions, but not contribute to implementing them. That makes me a
 free-rider, but a free-rider that recognizes he's at the mercy of
 others' talents.


 Ah, no - you don't get off that easily! This is not implementing
 anything.  He is asking about your expectations:

 I haven't read the thread (apologies) but ISTR you provided such a
 description to begin with. What Nicolas is asking is: what should happen
 in other cases of interest? You may want to cover just that one special
 case, but an implementation has to worry about *all* cases[fn:1]:
 otherwise, there *will* be bug reports in the very near future and guess
 who their target will be (hint: it won't be you :-) )

I see, thanks Nicholas. As a start, in a subjectively ideal world,
org-refile-list-item would work on list items:

1) and their children to arbitrary depth
2) in the current buffer, or any agenda file
3) using either path-like headline specification or IDO completion

But I'd settle for an in-buffer restriction like Florian used. I just
noticed org-goto makes the manual workaround a bit easier.

I guess this really amounts to the first time I've ever been convinced
that treating list items like headlines would be useful to me. At
least, it feels like list items might benefit from being a proper
subset of headlines. I don't remember what the disadvantages of such a
move would be, but I suspect there's a lot of tacit knowledge in the
codebase already.

 Hope-your-sense-of-humor-is-working-today-ly yours,

It is. :)

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] Refiling list items

2011-08-08 Thread Jeff Horn
On Mon, Aug 8, 2011 at 20:40, Jeff Horn jrhorn...@gmail.com wrote:
 I see, thanks Nicholas. As a start, in a subjectively ideal world,
 org-refile-list-item would work on list items:

 1) and their children to arbitrary depth
 2) in the current buffer, or any agenda file
 3) using either path-like headline specification or IDO completion

 But I'd settle for an in-buffer restriction like Florian used. I just
 noticed org-goto makes the manual workaround a bit easier.

I should also note that having the only valid refile *target* as a
headline would be OK. More specifically, a list item refiled to a
target headline should be placed at the highest (list) level possible
within the headline, as my OP might have suggested. It would be nice
to have child hierarchy maintained in the move, however.

I don't expect a list item to be refiled to another arbitrary list
item. As a user, I wouldn't want to navigate that completion list.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] Refiling list items

2011-08-07 Thread Jeff Horn
Would someone throw me a bone? I couldn't find anything on gmane, but
I my gmane-fu isn't the strongest. :D

On Sat, Aug 6, 2011 at 14:54, Jeff Horn jrhorn...@gmail.com wrote:
 Should org-refile be able to refile list items? I suspect it would be
 non-trivial to add this functionality if it isn't already there, but I
 feel a bit overwhelmed keeping notes as headlines, particularly
 because I like to leave soft wrapping off and have a hard wrap at 80
 columns.

 ,[ Sample Outline ]
 | * Headline 1
 | - List level 1
 |   - List level 2
 | * Headline 2
 | Some text.
 `

 If I attempt to refile the item - List level 1 to the second headline, I get

 ,[ Mangled Outline ]
 | * Headline 2
 | Some text.
 | ** Headline 1
 | - List level 1
 |   - List level 2
 `

 when the following is expected

 ,[ Expected Outline ]
 | * Headline 1
 | * Headline 2
 | - List level 1
 |  - List level 2
 |  Some text.
 `

 Where the list items appear before or after Some text. depending on
 refile variables.

 --
 Jeffrey Horn
 http://www.failuretorefrain.com/jeff/




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



[O] Refiling list items

2011-08-06 Thread Jeff Horn
Should org-refile be able to refile list items? I suspect it would be
non-trivial to add this functionality if it isn't already there, but I
feel a bit overwhelmed keeping notes as headlines, particularly
because I like to leave soft wrapping off and have a hard wrap at 80
columns.

,[ Sample Outline ]
| * Headline 1
| - List level 1
|   - List level 2
| * Headline 2
| Some text.
`

If I attempt to refile the item - List level 1 to the second headline, I get

,[ Mangled Outline ]
| * Headline 2
| Some text.
| ** Headline 1
| - List level 1
|   - List level 2
`

when the following is expected

,[ Expected Outline ]
| * Headline 1
| * Headline 2
| - List level 1
|  - List level 2
|  Some text.
`

Where the list items appear before or after Some text. depending on
refile variables.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] Org Mobile Writing App (a la Epistle/Paragraft)

2011-07-25 Thread Jeff Horn
I'd be interested in something like this! Maybe the standard org file
format will increase development activity for mobile devices.

On Sat, Jul 23, 2011 at 14:17, tycho garen ga...@tychoish.com wrote:
 I must confess that I've fallen onto the Tablet bandwagon, and despite
 the alure of having a more functional mobile-org,I went for an android
 tablet (to match the phone, and because I'm not a mac user.) Largely I
 think it's great, and while I've got a mobile-org setup that I like
 well enough, I found myself saying wouldn't it rock, if... a few
 times and I just wanted to float the idea with you.

 While I think mobile-org is a great concept for making all of the task
 planning and organization features of org more accessible on the go,
 it's not quite so good for taking notes and doing the kind of writing
 that I spend most of my waking hours doing these days.

 I've been using a really delightful little app called
 [Epistle](http://kooklab.com/epistle.html) which renders markdown text
 (a fetish of mine that predates org-mode,) that works with dropbox. I
 think I learned about this from someone on the list. I suspect it's a
 lot like Paragraft for those of you on the otherside.

 I've created a little script that links all of my org-files into a
 place where Epistle can see them in dropbox
 (http://tychoish.com/code/epistle-linker/), and while the rendering
 doesn't work, it is nice to be able to read and edit these files. I've
 also, as an aside created some procmail and shell glue that takes
 emails and inserts them into an org-file so that I can capture stuff
 on the go using the email program. That's here:

 http://tychoish.com/code/org-mail/

 Wouldn't it be nice to have something like Epistle for org-mode? It
 might just render org-mode text to HTML, and frankly that would be
 enough for me. Org-indent equivalent, syntax highlighting, and
 collapsing trees (probably in that order) might be nice as well, but I
 think the key is simple and quick...

 I'm not a developer, so I can't promise to start making an app this
 instant if there's interest, but if anyone's bored and thinks this
 might be a good idea (or knows of something that might work better for
 this.) I'd love to hear about it.

 Cheers,
 Sam

 --
 tycho(ish) @
 ga...@tychoish.com
 http://tychoish.com/
 don't get it right, get it written -- james thurber




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] [ANN] neo - No Emacs Org in Python

2011-04-19 Thread Jeff Horn
I think the biggest benefit of a project like this is the doors it
opens for web development and mobile applications. Good luck!

On Tue, Apr 19, 2011 at 1:59 PM, Olivier Schwander
olivier.schwan...@chadok.info wrote:
 Dear Org users,

 I am pleased to do the first announce of neo, which stands for No Emacs
 Org. The goal of this project is to provide a full implementation of
 Org usable in Python.

 Current features
 ~
  - Org file parser
  - Agenda builder
  - Todo-list builder
  - Custom todo keywords
  - Command line interface for agenda and todo-lists

 Limitations
 
  - Read-only (no org file modifications support)
  - No drawers parsing
  - No exporters
  - No formaters parsing (like ==, //, ** and so on, it will wait for 
 exporters)
  - No filtering support

 Roadmap
 
  - Filtering based on tags
  - Write support for changing todo keywords
  - Capture action in the cli
  - Exporter for HTML

 Ideas of possible applications
 ~~~
  - Command line interface
  - Web applications (for GTD like http://hiveminder.com, or even a wiki)
  - Batch export on a server without emacs
  - Integration with others tools (like vim)
  - Qt/Gtk user interface

 This is not a release (I need to do more tests, and add some
 documentation), but more a request for comments, ideas or possible
 improvement. You can fetch the sources with


  darcs get http://chadok.info/darcs/neo

 and have a look at the repository on http://redmine.chadok.info/projects/neo

 The package can be installed with the usual Python tools (python
 setup.py build/install). Then launch the command 'neo' to see the help (or
 simply launch neo in the sources directory).

 Cheers,

 Olivier






-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] [ANN] neo - No Emacs Org in Python

2011-04-19 Thread Jeff Horn
On Tue, Apr 19, 2011 at 4:52 PM, Olivier Schwander
olivier.schwan...@chadok.info wrote:
 What seems more feasible in the current state is a web application which
 use my python library on the server side and some js/web2.0/buzzword in
 a fancy web page for the frontend. In this case, you may use any data
 source you want (google docs, dropbox, regular webdav or even plain old
 filesystem).

In my completely amateur opinion, it sounds like a job for wsgi.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] [ANN] org-bibtex.el --- convert between Org headings and bibtex entries

2011-04-19 Thread Jeff Horn
This looks great! I haven't quite read all the code, but I wonder how
this would work on files where bib entries are in their own headline
or mixed into the document ad hoc. Is this designed for a document
with *only* bibtex headlines?

On Tue, Apr 19, 2011 at 7:52 PM, Eric Schulte schulte.e...@gmail.com wrote:
 Hi,

 In an attempt to organize my reading notes, I've written the following
 tool which allows both for exporting Org-mode headlines with bibtex
 meta-data to bibtex entries, and for reading existing bibtex entries
 into Org-mode headings.

 One nice feature of these functions is the ability to check that all
 required fields are present in a given headline based on the bibtex type
 (e.g., :article, :inproceedings), and prompt for missing fields.

 See the top of the elisp file for more usage information.
 https://github.com/eschulte/org-bibtex/blob/master/org-bibtex.el

 Cheers -- Eric

 --
 Eric Schulte
 http://cs.unm.edu/~eschulte/





-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] Continuation of main section text after subsections

2011-04-18 Thread Jeff Horn
There are interesting ways to break away from traditional document
structure using inline-tasks, which (without keywords) are really
inline headlines that don't break structure.

See the discussion which starts here:
http://thread.gmane.org/gmane.emacs.orgmode/40597

It branches a bit, but you can use gmane's search to track the
discussion if you want more info.

On Mon, Apr 18, 2011 at 12:42 PM, Colin Fraizer orgm...@cfraizer.com wrote:
 Wow, I missed that part of the discussion, but it sounds very much like what
 I want.

 Thank you.

 -Original Message-
 From: emacs-orgmode-bounces+orgmode=cfraizer@gnu.org
 [mailto:emacs-orgmode-bounces+orgmode=cfraizer@gnu.org] On Behalf Of
 Marcel van der Boom
 Sent: Monday, April 18, 2011 12:17 PM
 To: emacs-orgmode@gnu.org
 Subject: Re: [O] Continuation of main section text after subsections


 On ma 18-apr-2011 11:34
 Colin Fraizer orgm...@cfraizer.com wrote:

 Was there ever a conclusion from this discussion?

 My personal conclusion was, given proper outlining and no or very few
 assumptions about indentation preferences, it would be very difficult or
 confusing to implement.

 The amount of alternatives given in the thread gave me enough food for a
 while to try out if those would be sufficient. So far, the inline tasks (see
 below) seem to fit my need the best, although their use feels a bit like a
 hack to me.

 I think I want something very similar to what Mr. van der Boom
 requested. I have outlines that contain varying amounts of text
 (paragraphs) and then, to avoid forgetting some task, I add a TODO
 item somewhere in the middle. That TODO item absorbs all the text
 following it until the next headline at the same or higher level.

 This specific functionality might be already available by using the 'inline
 tasks' I mentioned above See the function 'org-inlinetask-insert-task'.

 marcel

 --
 Marcel van der Boom  -- http://hsdev.com/mvdb.vcf
 HS-Development BV    -- http://www.hsdev.com
 So! web applications -- http://make-it-so.info
 Cobra build          -- http://cobra.mrblog.nl







-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] ascii export problem/bug?

2011-04-13 Thread Jeff Horn
Do you have org-install.el in your init file?

On Wed, Apr 13, 2011 at 8:08 AM, Scott Otterson sco...@sharpleaf.org wrote:
 When I start emacs and then edit an org file, ascii export fails (M-x
 org-export [return key] a).  No export file is created and I see the
 following message:
     Autoloading failed to define function org-export-as-ascii
 But if I type:
     M-x org-customize
 then export works.  The other way I can get this to work is to manually load
 org-ascii.el (which came with the org mode distribution).
 This is with org-mode version 7.5.
 Scott





-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] Re: Using orgmode to take inline notes for research

2011-04-07 Thread Jeff Horn
2011/4/7 John Hendy jw.he...@gmail.com:
 I can't have something set up right. I was doubtful that I was going
 this source block thing right when Eric posted his suggestion for
 notes in code blocks. So, I pasted this into my org-mode file and
 evaluated it. Is that not what I'm supposed to do? At the top of the
 resultant pdf, I get:
 snip

Try pasting Seb's code into the *scratch* buffer, not the org-mode
buffer. Once you evaluate it in the scratch buffer, you should be to
make inline-tasks/headlines as normal and export to pdf to get the
style defined by the lisp code. From reading it, it should be the
headline content in small caps, followed by a line return, and text
notes.

If you like it, you can add the customizations to an init file, or use
the customize interface to set things up.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] Using orgmode to take inline notes for research

2011-04-06 Thread Jeff Horn
On Wed, Apr 6, 2011 at 12:33 PM, John Hendy jw.he...@gmail.com wrote:
 So... if I were just interested in my notes (say I wanted to just push
 the notes to my blog or share them without all the other text), it
 might get odd to see all of those headlines. Can one export just the
 text and hide the headline text altogether? And would this also create
 the appearance of simply paragraphs one after the other, or would
 there be some increased spacing between different chunks?

AFAIK, inline-tasks don't have to have headlines. For instance:

,[ org-inlinetask example ]
| *** NOTES
| Test note with a headline word.
| *** END
|
| ***
| Test note with blank headline.
| *** END
`

exports to ASCII as:

,[ ASCII export ]
|  -- NOTES
|  ¦ Test note with a headline word.
|
|  --
|  ¦ Test note with blank headline.
`

 Lastly, it would be fantastic to have a toggle on the style used for
 export of these. I would love to be able to have the inline notes
 perhaps indented a little bit, but when exporting them alone, to turn
 that off.

That's out of my depth. Maybe someone else has a suggestion?

 Thanks for the suggestion!

No problem. As a note for others searching on this, I'll just go ahead
and re-iterate that if you don't want a particular inline-task to be
printed, just add the :noexport: tag to the headline.

Sebastian, or others: One is able to add properties to inline-style
headlines correct? John could add an HTML container class property and
use a stylesheet to play with HTML export, including indentation,
but I don't know if there is any equivalent help from the LaTeX
exporter.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] Using orgmode to take inline notes for research

2011-04-05 Thread Jeff Horn
Have you tried using org-inline-task without a TODO keyword? These
super-deep headlines aren't treated as headlines, so they don't
break doc structure, but they are foldable, and unlike COMMENT keyword
headlines, they're printable. The only problem I've run into is have a
lot to say in an inline note. In that case, one could just insert
plaintext between the pseudo-headings of the inline note (try it to
see what I mean). I haven't tried printing these long notes, but I
imagine it would work.

On Tue, Apr 5, 2011 at 10:02 PM, John Hendy jw.he...@gmail.com wrote:
 Hi,


 One thing I really like to use orgmode for is research. Lately,
 there's a mass of stuff on-line that I've been reading though and am
 about to start reading through a series of articles and had the idea
 to yank them into org for inline notes.

 My current experiment has been:
 - wget the website page
 - run a custom script of simple sed stuff to get the major stuff
 converted (i  /i - /, quote; - , etc.)
 - turn things into headlines where applicable
 - manually tweak the rest

 What I'd like to do is find some way to take notes in the article and
 would like some suggestions from anyone who's done this. On one hand,
 I see the idea of keeping a separate headline for notes, and for a
 series of articles, my file might look like this:
 ,---
 | * Article 1
 | ** Notes on article 1
 | * Article 2
 | ** Notes on article 2
 `---

 One advantage to this is that I could very easily add :noexport: to my
 notes and print off a hard copy of the article if I want it, and it
 would also be easy to tag my notes :notes: and then replace-string to
 turn the Article :export: into :noexport: and :notes: into :export:.
 Then I'd have an easy to print copy of my notes for each article.

 On the other hand, I like quoting when I use notes, and could see it
 as advantageous to have something like:
 ,---
 | * Article 1
 | It goes along and says x, y, and z.
 | --- Me: that's interesting and here are my thoughts.
 |
 | It continues along saying all kinds of other things and my comments
 are interjected whenever I want.
 `---

 I think that might be more useful for studying things later, as I get
 to see an annotated version with my thoughts at the time I read it.
 What it *doesn't* allow for is the easy printing of both the article
 and the notes separately if I want.

 Would someone suggest a way that I might be able to have the best of
 both worlds? Some of my own not-at-all-hashed-out-ideas included:
 - using footnotes since org has easy ways to jump from one to another,
 but this would be tough when it came to actual footnotes, which there
 will definitely be plenty of.

 - highlighting the text I want to quote and then using refile somehow
 to send it off to my notes section with my comments. This would be
 cool if I could, at the same time, add an org-mode link to and from
 the notes and original section, but also if I could turn that link off
 when I export to PDF so I don't have hypertext to a non-existent link
 if I don't export my notes as well.

 Part of the reason that keeping notes/article separate is that I have
 others interested in the articles and, if I need to send them a copy,
 I want to get my junk out of there and have the original. I suppose I
 could just keep two copies, though?

 I think this idea could be useful to others and actually wouldn't
 doubt if someone has an awesome setup for something like this already.


 Thanks for any suggestions!
 John





-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



[O] [OT] Another way org-mode is different

2011-03-23 Thread Jeff Horn
See http://cl.ly/5TwV.

The relevant quote:
There’s no perceived value in open source for mentoring,
facilitation, disciplining of unruly users, training of newcomers or
non-technical users, etc., which are needed to support both designers
of any gender and women in any role.

This is definitely not true of org-mode. I have had more extensive
interactions with the Erics, Carsten, and Bastien, but *everyone* on
this list has been helpful in learning not just org-mode, but emacs,
literate programming and research, figuring out git, and becoming a
contributor as well as a user.

Thanks. You're all my mentors.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] Abstract

2011-03-08 Thread Jeff Horn
Hi Andrea,

I usually use org-special-blocks with the the `#+begin_abstract`
block, as follows:

#+begin_src org

#+begin_abstract
This is the abstract. Write a summary here.
#+end_abstract

#+end_src

This has the additional nice side-benefit of wrapping the paragraph in
a div with class abstract on HTML export.

HTH

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] latex fragments, dvipng and mathjax

2011-03-08 Thread Jeff Horn
Another advantage of MathJax:

1) It degrades nicely in browsers without MathML (all webkit browsers)
2) Equations are still copy-and-pasteable into Word, if you're into
that sort of thing.

 That forces HTML-CSS output and from what I can see on the mathjax site,
 that should improve things - but it doesn't for me, so I'm still not out
 of the woods. Maybe MathJax doesn't know where to get the TeX fonts?

I thought MathJax used custom fonts, which is the bulk of the 100 MB
installation, since each glyph is its own image. I could be wrong
about this.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] Version 7.5: org-export-html-preamble no longer supports function

2011-03-08 Thread Jeff Horn
See http://article.gmane.org/gmane.emacs.orgmode/37360/match=preamble

On Tue, Mar 8, 2011 at 9:12 PM, Bill Jackson w...@jacksonhost.com wrote:
 In version 7.4, org-export-html-preamble and org-export-html-postamble could
 be set to the name of a function that was passed an option plist.  This
 appears to no longer be supported in 7.5.

 I used this functionality when publishing to generate a preamble and
 postamble to integrate the generated pages into my website, which included a
 common page layout, header bar, and footer.  I was able to define options in
 org-export-inbuffer-options-extra, define values for these options in a .org
 file, and incorporate them into the preamble via the option plist passed to
 the org-export-html-preamble function.

 Is there another way in version 7.5 that I can generate custom preambles and
 postambles incorporating variables from each file at the time of publishing?


 With much thanks,
 Bill





-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



[O] [feature request] org-post-export-hook

2011-03-04 Thread Jeff Horn
Would it be trivial to add a post-export hook? If so, it would be
helpful for me.

I've been experimenting with latexmk for document compilation. If I
add `latexmk -CA` (it cleans extraneous files) to the command sequence
for `org-latex-to-pdf-process`, I trigger an annoying notification
that the PDF file wasn't produced, and the *Org Export PDF Output* (or
whatever) buffer is overwritten with this new command's output (not
very interesting).

Perhaps it would be best to have a general `org-post-export-hook` and
specific `org-post-latex-export-hook` and `org-post-html-export-hook`.
It wouldn't make sense to run `latexmk -CA` when producing a webpage,
afterall.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



[O] Re: [feature request] org-post-export-hook

2011-03-04 Thread Jeff Horn
On Fri, Mar 4, 2011 at 5:40 PM, Jeff Horn jrhorn...@gmail.com wrote:
 I've been experimenting with latexmk for document compilation. If I
 add `latexmk -CA` (it cleans extraneous files) to the command sequence
 for `org-latex-to-pdf-process`, I trigger an annoying notification
 that the PDF file wasn't produced, and the *Org Export PDF Output* (or
 whatever) buffer is overwritten with this new command's output (not
 very interesting).

Oops! Adding the `-CA` flag instead of `-c` wipes out pdf files!
Still, the output log buffer is destroyed, and that's not good for me
(I make many errors when typing up tables, drawing tikz pictures,
etc.).

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



[O] [OT] Custom inline reply quotes

2011-03-03 Thread Jeff Horn
Hey orgsters,

What MUA/package/magic are you using to get custom inline replies with
the sender's initials? Perhaps you'll reply to this message and it
will look like:

 On this date user Jeffrey Horn (JH) said:
JH  Hey orgsters,
JH  What MUA/package/magic...

Googling reply inline email client initials is entertaining, but
hardly enlightening.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/



Re: [O] [babel][bug] Export latex table using noweb suddenly broken?

2011-03-02 Thread Jeff Horn
That's weird. This is what I get. Sorry I forgot to post it with the message:

- begin tex source --
\section{Endogenizing Policy}
\label{sec-1}

TEst table export.

\begin{verbatim}
\begin{table}[htb!]
\centering

\begin{tabular}{}
\toprule
Expectation  Pre-policy  Post-policy  Cycle Summary \\
\midrule
Larger gov't sector  $\downarrow C$, $\downarrow U$, $\uparrow K$,
$\uparrow Y$  $\downarrow C$, $\downarrow U$, $\downarrow K$,
$\downarrow Y$  SR $\uparrow Y$, LR $\downarrow Y$ \\
Smaller gov't sector  $\uparrow C$, $\uparrow U$,  $\downarrow K$,
$\downarrow Y$  $\uparrow C$, $\uparrow U$, $\uparrow K$, $\uparrow
Y$  SR $\downarrow Y$, LR $\uparrow Y$ \\
\bottomrule
\end{tabular}

\end{table}
\end{verbatim}
- end tex source --

On Wed, Mar 2, 2011 at 9:38 AM, Eric Schulte schulte.e...@gmail.com wrote:
 Hi Jeff,

 When I export your org-mode file below (or when I simply evaluate the
 code block with C-c C-c) it results in the following content under
 Endogenizing Policy header, which appears correct to me.

 --8---cut here---start-8---
 \section{Endogenizing Policy}
 \label{sec-1}

 Test table export.

 \begin{table}[htb!]
 \centering

 \begin{tabular}{}
 \toprule
 Expectation  Pre-policy  Post-policy  Cycle Summary \\
 \midrule
 Larger gov't sector  $\downarrow C$, $\downarrow U$, $\uparrow K$, $\uparrow 
 Y$  $\downarrow C$, $\downarrow U$, $\downarrow K$, $\downarrow Y$  SR 
 $\uparrow Y$, LR $\downarrow Y$ \\
 Smaller gov't sector  $\uparrow C$, $\uparrow U$,  $\downarrow K$, 
 $\downarrow Y$  $\uparrow C$, $\uparrow U$, $\uparrow K$, $\uparrow Y$  SR 
 $\downarrow Y$, LR $\uparrow Y$ \\
 \bottomrule
 \end{tabular}

 \end{table}
 --8---cut here---end---8---

 Best -- Eric

 Jeff Horn jrhorn...@gmail.com writes:

 Hey orgsters,

 A sample document like the one below was compiling fine on an older
 git commit, say about 10 days ago. Now, the tabular environment is
 wrapped in latex verbatim. It's as if it is no longer respecting the
 :noweb header.

 - begin org doc --
 #+TITLE:     Table Export Test

 * Endogenizing Policy
 Test table export.
 #+source: tab-export
 #+begin_src latex :exports results :results latex :noweb yes
   \begin{table}[htb!]
   \centering
   booktabs(table=tab-test,align=,env=tabular)
   \end{table}
  #+end_src
 ** Tables                                                         :noexport:
 #+tblname: tab-test
 | Expectation          | Pre-policy
               | Post-policy
         | Cycle Summary                      |
 |--+-++|
 | Larger gov't sector  | $\downarrow C$, $\downarrow U$, $\uparrow K$,
 $\uparrow Y$  | $\downarrow C$, $\downarrow U$, $\downarrow K$,
 $\downarrow Y$ | SR $\uparrow Y$, LR $\downarrow Y$ |
 | Smaller gov't sector | $\uparrow C$, $\uparrow U$,  $\downarrow K$,
 $\downarrow Y$ | $\uparrow C$, $\uparrow U$, $\uparrow K$, $\uparrow
 Y$         | SR $\downarrow Y$, LR $\uparrow Y$ |
 -- end org doc --

 Can anyone else confirm?




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

--
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] [babel][bug] Export latex table using noweb suddenly broken?

2011-03-02 Thread Jeff Horn
On Wed, Mar 2, 2011 at 1:41 PM, Eric Schulte schulte.e...@gmail.com wrote:

 If you add :results latex to the code block does that fix the problem?
 Similarly if you evaluate the code block interactively in the org-mode
 buffer, are the results inserted in a latex block or in an example
 block?

Thanks for your help! I already had :results latex in the header,
and I haven't changed any default header setting. The code evaluated
in buffer into a latex block, but without the verbatim environment. It
works now for some reason.

Earlier today, I manually re-loaded org-table.el because I thought a
function wasn't loading (turns out it just wasn't interactive). Should
I manually require org-table in an init file? (I'm using the
starter-kit, BTW)

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[O] [babel][bug] Export latex table using noweb suddenly broken?

2011-03-01 Thread Jeff Horn
Hey orgsters,

A sample document like the one below was compiling fine on an older
git commit, say about 10 days ago. Now, the tabular environment is
wrapped in latex verbatim. It's as if it is no longer respecting the
:noweb header.

- begin org doc --
#+TITLE: Table Export Test

* Endogenizing Policy
Test table export.
#+source: tab-export
#+begin_src latex :exports results :results latex :noweb yes
  \begin{table}[htb!]
  \centering
  booktabs(table=tab-test,align=,env=tabular)
  \end{table}
 #+end_src
** Tables :noexport:
#+tblname: tab-test
| Expectation  | Pre-policy
  | Post-policy
| Cycle Summary  |
|--+-++|
| Larger gov't sector  | $\downarrow C$, $\downarrow U$, $\uparrow K$,
$\uparrow Y$  | $\downarrow C$, $\downarrow U$, $\downarrow K$,
$\downarrow Y$ | SR $\uparrow Y$, LR $\downarrow Y$ |
| Smaller gov't sector | $\uparrow C$, $\uparrow U$,  $\downarrow K$,
$\downarrow Y$ | $\uparrow C$, $\uparrow U$, $\uparrow K$, $\uparrow
Y$ | SR $\downarrow Y$, LR $\uparrow Y$ |
-- end org doc --

Can anyone else confirm?

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] Let's stick to one list for now

2011-02-28 Thread Jeff Horn
On Mon, Feb 28, 2011 at 12:53 PM, Dan Davison dandavis...@gmail.com wrote:
 Julien Danjou jul...@danjou.info writes:

 On Mon, Feb 28 2011, Bastien wrote:

 The point is that there's no gain in telling people to add [DEV] since
 they will forget (I will), and there is _no_ lose by splitting a list. I

 Hi Julien,

 No, I disagree with that. The two lists would have distinct compositions of 
 the
 reader audience and that does have downsides. For example,

I would also like to re-emphasize my disagreement with Julien's
opinion. There is something to lose by splitting the list, as I
mentioned in the main thread: the mixture was entirely useful for me,
and *quite* pedagogical. I think the readership would be asymmetric in
the case of a split list. Research in behavioral economics suggests
people should be given sane defaults to prevent a harmful status quo
bias. I don't think most users ever attempt to read devel lists.

I'd also like to register a theory as to why users don't read devel
lists, and why this works for some other software: devs condescend to
handle user issues. Most open source software is created by people who
need the tool for personal use. They aren't necessarily interested in
your corner cases. For org-mode, this isn't the case; I've never felt
anything but welcomed by the people who usually develop. A split list
might also hurt this natural connection devs have with org-mode users.

Relationships are *especially* important where there aren't market
forces (read: price) to discipline developers into listening to users
demands. That's the truth about any platform (two-sided) market with a
zero price.

This may sound admittedly contrived, and a bit pumped up in regard to
the size of the effect. But there is a difference between small,
noticeable, and highly personal changes and a _no_ lose scenario.
Top-down policies have to be made with these small effects in mind,
with an eye toward unintended consequences of a change.

(Strawman alert. Begging Julien's pardon...)

But, Julien might say, my concerns count just as much as yours, and
I don't really like managing all this user mail. That is true. But
you are a power user and have many tools at your disposal to automate
mail handling. There is a relatively easy end solution. A top-down
change messes with the community ecosystem. Future users' concerns
should count for something, even if not a full measure.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] Worg 404 Not Found

2011-02-28 Thread Jeff Horn
I have a rather old copy of Worg from January, but it was right after
the server move. I don't have a copy of that file or directory either.

2011/2/28 Sébastien Vauban wxhgmqzgw...@spammotel.com:
 Hi,

 The file http://orgmode.org/worg/sources/emacs.el, referenced in
 http://orgmode.org/worg/worg-setup.html, is not found on Worg.

 I tried to fix it myself, but I don't find any `sources' directory on my local
 copy of Worg either. Neither do I find a file named `emacs.el'...

 Best regards,
  Seb

 --
 Sébastien Vauban


 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Splitting mailing list

2011-02-27 Thread Jeff Horn
If the lists were split, I likely would have never submitted my first
patch. I've learned more about programming and computing from the
org-mode list than any other list. I'm in favor of the status quo.

I make heavy use of mail tags. I almost always delete [PATCH] mails
immediately, and pay special attention to [babel] mails, since I'm
starting to use it more heavily.

With modern filters and thread scoring, splitting may not be that
beneficial on the whole.

On Sun, Feb 27, 2011 at 6:43 AM, Bastien b...@altern.org wrote:
 Hi Julien,

 Julien Danjou jul...@danjou.info writes:

 How about splitting the mailing list in a user and a development list?

 I am in favor of using a [DEV] tag and stick to one single list.

 The path from users to developers (and to core Org developers) is
 a continuum, keeping this continuum on one list is a good thing.

 What other people think?

 --
  Bastien

 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Splitting mailing list

2011-02-27 Thread Jeff Horn
On Sun, Feb 27, 2011 at 4:20 PM, Jeff Horn jrhorn...@gmail.com wrote:
 If the lists were split, I likely would have never submitted my first
 patch. I've learned more about programming and computing from the
 org-mode list than any other list. I'm in favor of the status quo.

I fired off the e-mail before reading other responses. I should point
out that while Julien is right that Devs can read the user list as
well, I'm not certain that users would read the dev list if they were
split. I certainly avoided most dev discussions on other lists, but
I've learned a lot from org-mode. But, I'm only one data point...

 With modern filters and thread scoring, splitting may not be that
 beneficial on the whole.

Again, I spoke prematurely. Is it possible to funnel dev traffic to
the user list, so subscriptions look like this?

| mail source | mail receipt   |
|-+|
| dev list| dev and user lists |
| user list   | user list  |

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] any CSS examples for org-export-as-html?

2011-02-27 Thread Jeff Horn
The author of the following site uses org-mode to maintain his website:

http://almostobsolete.net/

His style sheet makes the website feel like it is in org-mode,
particularly how links are fontified. That stylesheet served as the
basis for my website style for a while.

On Sat, Feb 26, 2011 at 10:49 PM, ishi soichi soichi...@gmail.com wrote:
 Thank you for the info.
 It looks nice.
 soichi

 2011/2/27 Puneeth Chaganti puncha...@gmail.com

 Hi,

 On Sun, Feb 27, 2011 at 5:10 AM, ishi soichi soichi...@gmail.com wrote:
  Hi. I am looking for some CSS examples for org-export-as-html outputs.
  After implementing the command, org-export-as-html, org files give an
  html
  output, which will be shown neatly in browser.
  But it is not good enough for viewers.   I can write CSS from scratch
  but it
  is better if there is some examples from which I can start.
  Could anyone give me URLs or whatever?

 Both Orgmode's main page and the wiki, Worg, are published from
 org-mode files. I guess this might be a good place to start,

 http://orgmode.org/org.css
 http://orgmode.org/worg/style/worg.css
 http://orgmode.org/worg/style/worg-classic.css
 http://orgmode.org/worg/style/worg-zenburn.css

 --
 Puneeth


 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode





-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [BUG] ? Stray \end{LIST} in latex export

2011-02-27 Thread Jeff Horn
I noticed this last week and can reproduce it. I was just preparing a
bug report on this very problem, and my test file is similar to yours.

Minimal org setup.
Org-mode version 7.4 (release_7.4.501.gc6dbde.dirty)
GNU Emacs 24.0.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
of 2011-02-10 on braeburn.aquamacs.org - Aquamacs Distribution 3.xdev

On Sat, Feb 26, 2011 at 1:45 PM, Kieran Healy kjhe...@gmail.com wrote:
 I've had the following issue with recent org-mode builds (since early 
 January, I think). A document with an itemized list in it does not export 
 properly to latex: the export process inserts/leaves behind a stray 
 \end{LIST} statement which breaks the .tex file. For example, doing C-c C-e l 
 on this document:

 
 #+TITLE: Example
 #+AUTHOR: Example

 ** Example
 - Lorem ipsum dolor sit amet
 - Lorem ipsum dolor sit amet

 The end.
 

 gives the following relevant bit of output:

 \Section{Example}
 \label{sec-1}

 \begin{itemize}
 \item Lorem ipsum dolor sit amet
 \item Lorem ipsum dolor sit amet
 \end{itemize}
 \end{LIST}

 The end.

 I initially assumed this was some error in my own org-mode export setup, as 
 list export is so common I thought it surely would have been reported. But I 
 can reproduce this on a default org-mode install, so now I'm wondering 
 whether it is in fact a bug.

 --
 Kieran Healy :: http://www.kieranhealy.org


-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [BUG] ? Stray \end{LIST} in latex export

2011-02-27 Thread Jeff Horn
 I'm using the most recent git checkout, on GNU Emacs 23.2.94.1 
 (x86_64-apple-darwin10.6.0, Carbon Version 1.6.0 AppKit 1038.35) of 
 2011-02-22.

 Also, it might be relevant that exporting the same test file to HTML gives 
 this:

 ul
 liLorem ipsum dolor sit amet
 /li
 liLorem ipsum dolor sit amet
 /div

Is the /div hanging as well? It would make sense that whatever
regexp/code isolates an entire list block could cause both exporters
to fail in a similar way.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: [BUG] ? Stray \end{LIST} in latex export

2011-02-27 Thread Jeff Horn
Just pulled. The following org src:

#+begin_src org
#+TITLE: Test LaTeX Exporter and Lists
#+AUTHOR:Jeffrey Horn
#+EMAIL: jrhorn...@gmail.com
#+DATE:  2011-02-27 Sun
#+DESCRIPTION: Whenever a plain list is used in org and exported to
LaTeX, an \end{LIST} declaration appears in the .tex file and
generates compilation errors by ending the document prematurely.

* A Simple List
  The following list is exported correctly, except for an extra
=\end{LIST}= declaration after the last list item.
  1) A list item
  2) Another item

* Relevant Settings
  I'm not sure what is causing the problem, but these may be relevant:

  | variable   | setting |
  |+-|
  | org-list-ending-method | indent  |
  | ...| ... |

  org-special-blocks is enabled.
#+end_src

produces the following tex src (snipped the preamble):

#+begin_src latex
\begin{document}



\title{Test \LaTeX{} Exporter and Lists}
\author{Jeffrey Horn}
\date{2011-02-27 Sun}
\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}

\section{A Simple List}
\label{sec-1}

The following list is exported correctly, except for an extra
\texttt{\textbackslash{}end\{LIST\}} declaration after the last list
item.
\begin{enumerate}
\item A list item
\item Another item
\end{enumerate}
\end{LIST}
\section{Relevant Settings}
\label{sec-2}

I'm not sure what is causing the problem, but these may be relevant:


\begin{center}
\begin{tabular}{ll}
 variable  setting   \\
\hline
 org-list-ending-methodindent\\
 \ldots{}  \ldots{}  \\
\end{tabular}
\end{center}



org-special-blocks is enabled.

\end{document}
#+end_src

The bug is definitely still present for me.

On Sun, Feb 27, 2011 at 5:47 PM, Nicolas n.goaz...@gmail.com wrote:
 Hello,

 Jeff Horn jrhorn...@gmail.com writes:

 I noticed this last week and can reproduce it. I was just preparing a
 bug report on this very problem, and my test file is similar to yours.

 Minimal org setup.
 Org-mode version 7.4 (release_7.4.501.gc6dbde.dirty)
 GNU Emacs 24.0.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
 of 2011-02-10 on braeburn.aquamacs.org - Aquamacs Distribution 3.xdev

 I cannot reproduce this. Could you try to upgrade to a more recent
 version, just in case?

 Regards,

 --
 Nicolas




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] question about indirect buffers for capture and line-breaks

2011-02-24 Thread Jeff Horn
What happens if you use (auto-fill-mode -1) intead?

,[ C-h f auto-fill-mode RET ]
| auto-fill-mode is an interactive compiled Lisp function in
| `simple.el'.
|
| (auto-fill-mode optional ARG)
|
| Toggle Auto Fill mode.
| With ARG, turn Auto Fill mode on if and only if ARG is positive.
| In Auto Fill mode, inserting a space at a column beyond `current-fill-column'
| automatically breaks the line at a previous space.
|
| The value of `normal-auto-fill-function' specifies the function to use
| for `auto-fill-function' when turning Auto Fill mode on.
`

I think nil counts as a positive number. Maybe that's a bug? I dunno.

On Thu, Feb 24, 2011 at 7:33 AM, Filippo A. Salustri
salus...@ryerson.ca wrote:
 Hi,
 I've turned off hard line breaks for various reasons.  I do it like this:

 (add-hook 'org-mode-hook
           '(lambda ()
              (auto-fill-mode nil)
              (visual-line-mode t)))

 However, in the indirect buffers used by capture, hard line breaks are still
 in place.
 I've looked, but can't find an explanation of how to control this.
 Can anyone advise me?
 Cheers.
 Fil

 --
 Filippo A. Salustri, Ph.D., P.Eng.
 Mechanical and Industrial Engineering
 Ryerson University
 350 Victoria St, Toronto, ON
 M5B 2K3, Canada
 Tel: 416/979-5000 ext 7749
 Fax: 416/979-5265
 Email: salus...@ryerson.ca
 http://deseng.ryerson.ca/~fil/

 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode





-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] question about indirect buffers for capture and line-breaks

2011-02-24 Thread Jeff Horn
Yep.

Evaluate the following two lines in the scratch buffer:

(auto-fill-mode -1)
(auto-fill-mode nil)

The first returns nil every time. The second returns true every time. Funky.

On Thu, Feb 24, 2011 at 11:07 AM, Jeff Horn jrhorn...@gmail.com wrote:
 What happens if you use (auto-fill-mode -1) intead?

 ,[ C-h f auto-fill-mode RET ]
 | auto-fill-mode is an interactive compiled Lisp function in
 | `simple.el'.
 |
 | (auto-fill-mode optional ARG)
 |
 | Toggle Auto Fill mode.
 | With ARG, turn Auto Fill mode on if and only if ARG is positive.
 | In Auto Fill mode, inserting a space at a column beyond 
 `current-fill-column'
 | automatically breaks the line at a previous space.
 |
 | The value of `normal-auto-fill-function' specifies the function to use
 | for `auto-fill-function' when turning Auto Fill mode on.
 `

 I think nil counts as a positive number. Maybe that's a bug? I dunno.

 On Thu, Feb 24, 2011 at 7:33 AM, Filippo A. Salustri
 salus...@ryerson.ca wrote:
 Hi,
 I've turned off hard line breaks for various reasons.  I do it like this:

 (add-hook 'org-mode-hook
           '(lambda ()
              (auto-fill-mode nil)
              (visual-line-mode t)))

 However, in the indirect buffers used by capture, hard line breaks are still
 in place.
 I've looked, but can't find an explanation of how to control this.
 Can anyone advise me?
 Cheers.
 Fil

 --
 Filippo A. Salustri, Ph.D., P.Eng.
 Mechanical and Industrial Engineering
 Ryerson University
 350 Victoria St, Toronto, ON
 M5B 2K3, Canada
 Tel: 416/979-5000 ext 7749
 Fax: 416/979-5265
 Email: salus...@ryerson.ca
 http://deseng.ryerson.ca/~fil/

 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode





 --
 Jeffrey Horn
 http://www.failuretorefrain.com/jeff/




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [babel] Including TikZ diagrams as figures in export

2011-02-21 Thread Jeff Horn
On Sun, Feb 20, 2011 at 8:56 PM, Erik Iverson er...@ccbr.umn.edu wrote:
 See http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-LaTeX.html
 and search for tikz for an example.  I think you do need to use the :file
 argument
 for this to have org-mode take care of it automatically.

Thanks for the link. I was glad to find out I could include a TikZ
library in the code block instead of the LaTeX header!

 Alternatively, you could just include *all* the latex you want, including
 constructing your own figure environment and caption and refs, in the latex
 code block.

This is the workaround I've used thus far. I don't like it very much,
since it is fragile w.r.t. HTML export.

 4) (optional) To be able to seamlessly export to both LaTeX and HTML

 So should the HTML exporter generate a PNG file then, as opposed to PDF?
 This is possible, but requires some 'conditional' elisp code in your :file
 source block argument.  I think I can help if that's indeed what you want.

This would be handy information to have, but definitely not a top
priority ATM. (That is, if you're busy, feel free to put this on low
priority!)

 And somewhat unrelated, is :results now deprecated in favor of
 :exports? What about :file? I'm sufficiently new to babel that these all
 seem like they could be taken care of with a single header argument with
 many options...

 Not deprecated at all according to my understanding:

 :results determines how the results are collected from a process. So, in R,
 we
 might want the standard output ':results output' or we might just want the
 last
 value returned by the code block, ':results value'.  This determines what is
 inserted into the org-mode buffer or the export stream when the code block
 is evaluated.

 :exports determines if the code and/or the results will be inserted upon
 exporting. *If* the results are inserted, then :results will determine how.

 :file is useful for code blocks that generate graphical output, such as
 tikz.
 This will divert the output into the named file, and exporting will insert
 that file.  In the org-mode buffer, a link will be inserted. If a png file
 is
 generated, it can even be displayed inline in the org-mode buffer if you
 turn
 on that functionality.

This was also extremely helpful in clarifying my thinking. I
particularly liked the interplay between exports/results. I need more
practice, and more time with the docs. :)

Jeff

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [babel] Including TikZ diagrams as figures in export

2011-02-21 Thread Jeff Horn
Andreas,

Thanks for the example. I particularly like the use of the noweb to
make the blocks work together. I'll adopt this technique until the
exporter is modified (no rush, Eric!). This is a great workable
solution.

Jeff

On Mon, Feb 21, 2011 at 11:44 AM, Andreas Leha
andreas.l...@med.uni-goettingen.de wrote:
 Hi Jeffrey,

 the attached sample file works for me.

 The html is only sub-optimal, though, as it just includes a link to a
 pdf file.

 Cheers,
 Andreas



 Am 21.02.2011 02:56, schrieb Erik Iverson:
 Jeffrey,

 Now, I'd like to integrate them into an org document. I'd like:
 1) To use babel to handle the TikZ source

 This is possible.

 2) To wrap the resulting drawing in a figure environment for
 automatic numbering and centering

 See
 http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-LaTeX.html
 and search for tikz for an example.  I think you do need to use the
 :file argument
 for this to have org-mode take care of it automatically.

 Alternatively, you could just include *all* the latex you want, including
 constructing your own figure environment and caption and refs, in the
 latex
 code block.

 3) To be able to refer to the figure elsewhere in the document

 Should be possible with either approach above.

 4) (optional) To be able to seamlessly export to both LaTeX and HTML

 So should the HTML exporter generate a PNG file then, as opposed to PDF?
 This is possible, but requires some 'conditional' elisp code in your
 :file
 source block argument.  I think I can help if that's indeed what you
 want.

 And somewhat unrelated, is :results now deprecated in favor of
 :exports? What about :file? I'm sufficiently new to babel that
 these all seem like they could be taken care of with a single header
 argument with many options...

 Not deprecated at all according to my understanding:

 :results determines how the results are collected from a process. So,
 in R, we
 might want the standard output ':results output' or we might just want
 the last
 value returned by the code block, ':results value'.  This determines
 what is
 inserted into the org-mode buffer or the export stream when the code
 block
 is evaluated.

 :exports determines if the code and/or the results will be inserted upon
 exporting. *If* the results are inserted, then :results will determine
 how.

 :file is useful for code blocks that generate graphical output, such
 as tikz.
 This will divert the output into the named file, and exporting will
 insert
 that file.  In the org-mode buffer, a link will be inserted. If a png
 file is
 generated, it can even be displayed inline in the org-mode buffer if
 you turn
 on that functionality.


 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode


 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode





-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [babel] Including TikZ diagrams as figures in export

2011-02-21 Thread Jeff Horn
On Mon, Feb 21, 2011 at 11:57 AM, Eric Schulte schulte.e...@gmail.com wrote:
 :results is not deprecated, the Org manual maintains an up-to-date list
 of code block header arguments.
 http://orgmode.org/manual/Working-With-Source-Code.html

Thanks for your eternal patience, with regard to me RTFM. Google
search for org mode are a reflex now, since Worg usually has specific
use examples (sometimes good blog posts turn up, too). But searching
for org mode babel usually makes my head spin.

I really dig literate research, but am mostly ignorant of the
techniques, so its hard for to know what to search for. But, headers
are an example where I could have easily found the answer if I read
the manual.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [babel] Passing an org table block to Eric Schulte's booktabs function

2011-02-21 Thread Jeff Horn
I've recently tried getting pretty tables in LaTeX export using Eric
Schulte's function from Worg:


http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-LaTeX.html#sec-5_2

The problem is that passing the table to the function produces an
error, specifically wrong type of argument: listp.

Any ideas about what to do differently? Here's a quick example:

* Test Table
Have a look at Table \ref{tab:example}.
#+srcname: es-booktabs
#+begin_src emacs-lisp :var table='((:head) hline (:body)) :exports none
(flet ((to-tab (tab)
   (orgtbl-to-generic
(mapcar (lambda (lis)
  (if (listp lis)
  (mapcar (lambda (el)
(if (stringp el)
el
  (format %S el))) lis)
lis)) tab)
(list :lend   :sep:hline \\hline
  (org-fill-template
   
\\toprule
%table
\\bottomrule\n
   (list
(cons table
  ;; only use \midrule if it looks like there are column headers
  (if (equal 'hline (second table))
  (concat (to-tab (list (first table)))
  \n\\midrule\n
  (to-tab (cddr table)))
(to-tab table))
#+end_src
#+srcname: tab-example
#+begin_src org :results replace :exports none
   ,||   | Column Player | |
   ,|+---+---+-|
   ,| /  |  |   ||
   ,||   | A | B   |
   ,| Row Player | A | 1,2   | 3,4 |
   ,|| B | 5,6   | 7,8 |
#+end_src
#+begin_src latex :noweb yes
 \begin{table}[htb!]
   \centering
   \caption{A test table}
   \label{tab:example}
   \begin{tabular}{rl}
 es-booktabs(table=tab-example)
   \end{tabular}
 \end{table}
#+end_src

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [BUG] htmlp and latexp

2011-02-18 Thread Jeff Horn
Thanks to Andreas, Christian, Bastien, and Nick. I didn't know about
org-reload, so that bit is handy. Faster than restarting emacs.

This bug is gone now. My backtrace also indicated org-ex-bibtex.el was
the culprit for me.

On Fri, Feb 18, 2011 at 3:49 AM, Bastien bastien.gue...@wikimedia.fr wrote:
 Hi Andreas,

 Andreas Leha andreas.l...@med.uni-goettingen.de writes:

 I did not send to the list, so I resend my last email below.  But for me
 I found the issue:  org-exp-bibtex.el is the problem.

 Fixed, thanks.

 --
  Bastien

 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [BUG] htmlp and latexp

2011-02-17 Thread Jeff Horn
I'm still encountering this bug.

Org-mode version 7.4 (release_7.4.418.g373c)

This looks like an old release, which is odd. I'm using Eric Schulte's
starter kit, and anyway just switched to the org master branch and
pulled down the latest commits. 'make clean', 'make info', and 'make
lisp/org-install.el' were my next steps.

Is it right to take the last 6 chars and search for a commit through
the web interface? It isn't turning up anything, and that string is
starting look familiar to me.

On Thu, Feb 17, 2011 at 5:50 AM, Jambunathan K kjambunat...@gmail.com wrote:
 Andreas Leha andreas.l...@med.uni-goettingen.de writes:

 Hi all,

 to make this explicit:  I can not export to latex any more, but instead
 I get
  Exporting to LaTeX...
  when: Symbol's value as variable is void: htmlp

 Org HEAD
 GNU emacs 23.2.1 (debian squeeze)

 This is my failing org-file:
 * Test
   test


 Have you tried recent head?
 Enable stacktrace: M-x toggle-debug-on-error
 Also include M-x org-version?

 Jambunathan K.


 - Andreas


 Am 16.02.2011 11:03, schrieb Bastien:
 Hi Dan,

 Dan Davison dandavis...@gmail.com writes:


 Commit ed6d6760268 removed variables htmlp and latexp from
 `org-export-preprocess-string'. Nothing wrong with that, but I think it
 has broken export for those using org-special-blocks, which contains

 #+begin_src emacs-lisp
 (defvar htmlp)
 (defvar latexp)
 (defun org-special-blocks-make-special-cookies ()
   Adds special cookies when #+begin_foo and #+end_foo tokens are
 seen.  This is run after a few special cases are taken care of.
   (when (or htmlp latexp)
     (goto-char (point-min))
 ...
 #+end_src

 Fixed thanks.


 IIuc htmlp and latexp occur occasionally in org code as somewhat
 unofficial ways to test am I in the middle of export?.

 Now there is a uniform and official (!) way of getting the backend the
 user is currently exporting to:

   (eq backend 'html)

 ...


 They also occur in org-exp-blocks, but in deprecated code, so not a
 priority to fix.

 I fixed them there too.

 Thanks for reporting this!




 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [PATCH] Simplifying the handling of HTML preamble/postamble

2011-02-10 Thread Jeff Horn
This looks great to me. Seems like a relatively more sane or perhaps
more intuitive way of doing things. Solves the problem I had
earlier, and makes it clear that these variables can be set in an init
file.

On Thu, Feb 10, 2011 at 11:25 AM, Manuel Giraud
manuel.gir...@univ-nantes.fr wrote:
 Bastien bastien.gue...@wikimedia.fr writes:

 As for org-export-html-preamble and -postamble being t by default, it's
 a mistake I made.  I think they should default to nil.  But I'd welcome
 another opinion!

 For the postamble maybe. But for the preamble, I don't think it is a
 good idea to remove the h1 title by default (but maybe I'm wrong : how
 is it done in others export formats?)

 --
 Manuel Giraud

 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Export error. Have a look at my backtrace?

2011-02-08 Thread Jeff Horn
Hey orgsters,

Export started behaving weirdly for me earlier this week. When I
export to HTML or ASCII to a temporary buffer, I get the attached
backtrace. This occurs in emacs 24 (Aquamacs) with org-mode 7.4. The
error does not occur if I export to file.

Also, exporting to a temporary buffer works as expected in emacs 23.2
with org-mode 7.4 in terminal emacs.

Error occurs with every file I have tried in the past few days. Can
anyone else reproduce? I'll come up with a minimal working example if
needed.

Thanks for any pointers.

Jeff

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/


html-subtree-export-backtrace
Description: Binary data
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Export error. Have a look at my backtrace?

2011-02-08 Thread Jeff Horn
Forwarded to Aquamacs. Thanks.

On Tue, Feb 8, 2011 at 11:55 AM, Lawrence Mitchell we...@gmx.li wrote:
 Jeff Horn wrote:

 Hey orgsters,

 Export started behaving weirdly for me earlier this week. When I
 export to HTML or ASCII to a temporary buffer, I get the attached
 backtrace. This occurs in emacs 24 (Aquamacs) with org-mode 7.4. The
 error does not occur if I export to file.

 Also, exporting to a temporary buffer works as expected in emacs 23.2
 with org-mode 7.4 in terminal emacs.

 Error occurs with every file I have tried in the past few days. Can
 anyone else reproduce? I'll come up with a minimal working example if
 needed.

 This is an Aquamacs specific issue, I believe.  What happens is
 that Emacs tries to guess the major mode of the temporary
 buffer.  Aquamacs has the following entry in either
 magic-mode-alist, or magic-fallback-mode-alist.

 (objc-mode-buffer-check . objc-mode)

 So it calls the objc-mode-buffer-check function, and puts the
 buffer in objc-mode if the former returns non-nil.  Here's the
 definition of said function:

 (defun objc-mode-buffer-check ()
   (if (string-match \\.m$ buffer-file-name)
       (save-restriction
        (narrow-to-region (point-min)
                          (min (point-max)
                               (+ (point-min) magic-mode-regexp-match-limit)))
        (looking-at \\(.\\|\n\\)*#\\(include\\|define\\|import\\)


 The culprit is the first line, this function should first check
 that buffer-file-name is a string before trying to match against
 it.  So you should probably shout at the Aquamacs developers :P.

 Lawrence
 --
 Lawrence Mitchell we...@gmx.li


 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Automatic noexport tag based on rules?

2011-02-08 Thread Jeff Horn
I'm not handy with emacs-lisp, but perhaps someone could whip up a
handy function that iterates org-refile over each TODO heading to move
it into a new, top-level * Tasks headline?

Then you can tag the tasks headline with :noexport:. This would
destroy the context, but I find keeping tasks in a separate heading
fine for most of *my* medium sized projects. YMMV.

On Tue, Feb 8, 2011 at 7:29 PM, John Hendy jw.he...@gmail.com wrote:
 Hi,

 My apologies if this has been discussed. I couldn't find it. I write
 everything from work in org-mode for several reasons. Primarily, it's my
 documentation system for research in order to properly document Intellectual
 Property (IP) information. It's also for todos and contacts. When it comes
 to exporting my notes into PDF for use in an IP notebook... I dont' want my
 todos in there.
 Is there a way to automatically tag TODOs with :noexport:?
 Or simply add the TODO category to the noexport category altogether?
 I haven't turned up anything quite along these lines. One post suggested
 using TODO keyword COMMENT [1], but that just seems to perhaps exclude
 from export (didn't try) but I know for sure it removes it from agenda view.
 I want TODOs in agenda but don't want them showing up with my LaTeX export.
 I typically print out my work to-date each month or so and have to comb
 through my org file for that month, manually adding :noexport: to my TODOs.
 Even if I still do this for a few things here and there... it will save me a
 lot of time.
 I suppose I could keep a separate TODO.org file, but I really like the
 process of being able to add them anywhere -- it seems more natural to do
 that in the flow, particularly in meetings, than to constantly switch
 buffers or even use remember to keep sending things related to the current
 topic away to their own island.
 I'm 80% confident that the answer is ridiculously simply and I just haven't
 searched the right thing. Thanks for enlightening me!

 Thanks,
 John
 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode





-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] IMPORTANT: let's make the biggest gift of FLOSS history!

2011-02-07 Thread Jeff Horn
I don't see the Flattr button. Maybe I have to wait for the next publishing?

On Mon, Feb 7, 2011 at 9:46 AM, Bastien bastien.gue...@wikimedia.fr wrote:
 Hi folks,

 I've been aware of Flattr since it was out.  After careful thinking, I
 placed a flattr button on Org's landing page, near the paypal button:

  http://orgmode.org

 The nice thing about flattr is that it's more than a donation button,
 it's also an ecology of projects helping each others.  Depending on the
 amounts collected there, maybe Org-mode's community can take ownership
 on this flattr account and decide what projects she wants to help.

 For example, let's say that we've been flattr'ed by people active in
 taskwarrior and in taskjuggler, then we could decide to flattr them
 back.

 Let's see how it goes!

 --
  Bastien

 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Using HTML export variables in subtrees

2011-02-07 Thread Jeff Horn
On Sun, Feb 6, 2011 at 7:13 PM, Bastien bastien.gue...@wikimedia.fr wrote:
 Is there a way to turn off the automatic post-amble for HTML export
 without adding a publishing project?

 Does `org-export-html-postamble' helps?

 ,
 | Postamble, to be inserted just before /body.  Set by publishing
 | functions.  This may also be a function, building and inserting the
 | postamble.
 `

Thanks, Bastien. I ended up BINDing the variable to nil in the file.
This is fine for a file-level change, but I was hoping for something
that could be used in the subtree. But, for now I have a workaround.

One thing that isn't clear to me: is it OK to set these in
initialization files? They do not have customization entries, and are
usually controlled through org-publish projects.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] CV with org?

2011-02-07 Thread Jeff Horn
I asked about this a few months ago. I think org is great for a CV,
but I'm thinking of just going with LaTeX for this in the future.

http://thread.gmane.org/gmane.emacs.orgmode/35201

I have about 100 lines of LaTeX source that takes care of everything
except the plain lists that populate the section headings. I ended up
using a template I found online, which is the reason for all the LaTeX
in my source file.

http://jblevins.org/projects/cv-template/



On Mon, Feb 7, 2011 at 11:06 AM, Andrea Crotti
andrea.crott...@gmail.com wrote:
 Long time ago I wrote my CV with latex and the currvita package.

 Now before I just modify that maybe some of you has a better option to
 create it in org-mode.

 I can still use currvita in orgmode of course, but if there is a better
 option I would be glad to hear it :)
 Thanks


 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Using HTML export variables in subtrees

2011-02-07 Thread Jeff Horn
Is there a way to turn off the automatic post-amble for HTML export
without adding a publishing project? I am making extensive use of
subtree exporting, and I'd like to turn off the automatic postamble
for some some of these subtrees.

Adding a file local variable didn't work (I suspect) because the
variables are used by publishing functions and those functions are
looking somewhere else. In any case, `org-export-html-auto-postamble`
doesn't seem exposed to user customization.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] IMPORTANT: let's make the biggest gift of FLOSS history!

2011-02-07 Thread Jeff Horn
Great! Looks like I was the first. Consider yourself flattr'd.

On Mon, Feb 7, 2011 at 6:31 PM, Bastien bastien.gue...@wikimedia.fr wrote:
 suvayu ali fatkasuvayu+li...@gmail.com writes:

 On Mon, Feb 7, 2011 at 10:13 AM, Jeff Horn jrhorn...@gmail.com wrote:
 I don't see the Flattr button. Maybe I have to wait for the next
 publishing?

 I can see it, so maybe all you need is a forced refresh? (C-S-r for
 firefox)

 Yes it's there -- just under the donation button.

 And yes, orgmode.org needs a design refresh...  :)

 --
  Bastien




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Choosing css for Worg

2011-02-04 Thread Jeff Horn
There was some recent discussion of using multiple stylesheets on
Worg. I'm a fan of implementing something on the server. In the
meantime, I ran across Stylebot and thought it might be useful for
both creating and using (and sharing!) custom style sheets for Worg.
It's a Chrome extension to interactively create user style sheets,
share them, or select others' sheets:

http://thechangelog.com/post/3105212029/stylebot-adapt-the-web-s-appearance

On Thu, Feb 3, 2011 at 9:48 AM, Jason Dunsmore
emacs-orgm...@dunsmor.com wrote:
 Jambunathan K kjambunat...@gmail.com writes:

 Emacswiki has a nice and easy way to choose CSS for the page it
 renders. Look for `use it' links in the below page.

 http://www.emacswiki.org/emacs/CSS

 Is there anything similar for org/worg pages?

 Hi Jambunathan,

 You can use a browser extension for this:
 https://addons.mozilla.org/en-US/firefox/addon/style-sheet-chooser-ii/
 https://chrome.google.com/extensions/detail/daodklicmmjhcacgkjpianadkdkbkbce

 Also, see the recent discussion:
 http://thread.gmane.org/gmane.emacs.orgmode/31506/focus=36462

 It doesn't look like there are alternate style sheets for non-Worg pages
 on orgmode.org, but you can probably use a browser extension to
 customize those as well.

 Regards,
 Jason

 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [BUG] adding new plain lists item changes previous one it it ends in a number on a single lijne followed by a dot

2011-02-03 Thread Jeff Horn
On Thu, Feb 3, 2011 at 11:47 AM, Nicolas Goaziou n.goaz...@gmail.com wrote:
 It is certainly doable, but it wouldn't help for the problem at hand.
 There is already a way to not use dots (this is the solution you
 envision), but only parenthesis, as numbered items separators.

Is there a variable? It would appear there is. It seems like it should
solve the problem. Anyone know why it doesn't?

,[ org-plain-list-ordered-item-terminator ]
| The character that makes a line with leading number an ordered list item.
| Valid values are ?. and ?).  To get both terminators, use t.  While
| ?. may look nicer, it creates the danger that a line with leading
| number may be incorrectly interpreted as an item.  ?) therefore is
| the safe choice.
`

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: The way tags are exported in HTML (without colons!) -- no workaround for searches!

2011-02-03 Thread Jeff Horn
2011/2/3 Sébastien Vauban wxhgmqzgw...@spammotel.com:
 What about really adding the colon marker, so that one can easily find tags in
 the exported file?

Use the CSS content property.

http://www.w3schools.com/Css/pr_gen_content.asp

As an example, check out the links and how they are styled at

http://almostobsolete.net/

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Repeating TODO are shown every day in the agenda

2011-02-02 Thread Jeff Horn
On Wed, Feb 2, 2011 at 4:39 AM, Bastien bastien.gue...@wikimedia.fr wrote:
 Detlef Steuer detlef.ste...@gmx.de writes:

 And if this is not currently possible, that would be a welcome
 addition to org-mode's features!  I definitely have use cases for such
 a setting.

 The attached patch implements it.

 When org-agenda-repeating-timestamp-show-all is set to a list of TODO
 keywords, repeating agenda items will only be displayed if they have
 this TODO keywords.

 Unless anyone objects against this change, I'm willing to commit it.

 In the meantime, I welcome tests/feedback.

 Thanks to you and Jeff for this idea!

Bastien,

I like this change. But for me, when I mark a repeating task with the
keyword APPT as DONE, the task is re-scheduled with the TODO keyword
instead of APPT. It usually isn't a big deal, but I means I can't use
the patch as intended.

Would it be difficult to add a REPEAT_VISIBLE property that defaults
to t, but when nil hides a repeating task for all future days?

Maybe I have something setup incorrectly that is making repeated tasks
TODO instead of their original keyword. If so, I could modify my
configuration and the patch would work as expected (for my use case,
anyway).

Thanks again!

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Repeating TODO are shown every day in the agenda

2011-02-02 Thread Jeff Horn
On Wed, Feb 2, 2011 at 1:35 PM, Bastien bastien.gue...@wikimedia.fr wrote:
 Have a look at `org-todo-repeat-to-state':

 ,[ org-todo-repeat-to-state ]
 | The TODO state to which a repeater should return the repeating task.
 | By default this is the first task in a TODO sequence, or the previous state
 | in a TODO_TYP set.  But you can specify another task here.
 | alternatively, set the :REPEAT_TO_STATE: property of the entry.
 `

Thanks, Bastien. This property will work nicely.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [BUG] adding new plain lists item changes previous one it it ends in a number on a single lijne followed by a dot

2011-02-02 Thread Jeff Horn
I can reproduce this in org-mode 7.4 with emacs 24.

This occurs most often for me when listing a bibliography in a plain
list when I have auto-fill-mode on.

On Wed, Feb 2, 2011 at 2:20 PM, Gregor Zattler telegr...@gmx.net wrote:
 Dear org-mode developers,

 adding a new list item via M-RET (org-insert-heading) may change
 text in a previous list item, if this ends in a number on a
 single line followed by a dot:

 ---
 - Several astonishing things happened in
  2007.
 - And then there was another item.X
 ---

 When typing M-RET with cursor at X I would expect the following
 outcome (again with X marking the cursor position):

 ---
 - Several astonishing things happened in
  2007.
 - And then there was another item.
 - X
 ---

 This is the correct result when using Emacs 23.2 with its
 org-mode 6.33.


 But with today's org-mode Org-mode version 7.5
 (release_7.4.300.g0b7c) I instead get:

 ---
 - Several astonishing things happened in
    1.
 - And then there was another item.
 - X
 ---

 Note that   2007. has changed to     1. in line 2.


 The same bug is present in the maintenance version Org-mode
 version 7.5 (release_7.4.3.g76a2).


 This only happens when the number is followed by a dot.  Without
 the dot both new versions of org-mode do not change the number on
 the last line of the first item.


 I did all tests with emacs -nw -Q and with Emacs 23.2 and
 24.0.50 as of 2011-01-16.


 Fixing bugs in org-mode is beyond me.

 Ciao; Gregor
 --
  -... --- .-. . -.. ..--.. ...-.-

 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: Trackpad horizontal scrolling (was: [Orgmode] Re: [OT-emacs] Scrolling horizontally)

2011-02-01 Thread Jeff Horn
On Tue, Feb 1, 2011 at 2:00 PM, Tassilo Horn tass...@member.fsf.org wrote:
 (global-set-key (kbd mouse-7) (lambda ()
                                    (interactive)
                                    (scroll-left 1)))
 (global-set-key (kbd mouse-6) (lambda ()
                                    (interactive)
                                    (scroll-right 1)))

Thanks for the snippet Tassilo. I tried this out in the minibuffer and
it didn't work. =C-h k two-finger-swipe-left-gesture= (a motion, not
a binding) produced nothing. However, =C-h k two-finger-swipe-down=
actually produced =C-h k wheeldown=, so I can see that mouse-6 isn't
a valid button for the trackpad on my Mac (Snow Leopard). It might be
an Aquamacs thing, or perhaps a driver issue.

I simply don't know enough to debug further or provide more info.


-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [OT-emacs] Scrolling horizontally

2011-02-01 Thread Jeff Horn
On Tue, Feb 1, 2011 at 10:53 AM, Marcelo de Moraes Serpa
celose...@gmail.com wrote:
 I haven't checked if AquaMacs has any improvements on this side,
 anyone out there that could share something? I also noticed that
 there's a tendency of people prefering to use cocoa over aquamacs in
 the emacs osx community, not sure why.

Aquamacs does not scroll with the trackpad, AFAIK. I'm using the 3.x
devel version.

I've posted on the OSX Emacs list a few weeks ago why I started out
hating Aquamacs, and then grew to use it every day. The short: the
defaults are annoying, and until recently (version 2) it was difficult
(for me) to figure out where to store preferences, and the order in
which they were executed.

It took a good bit of configuring, but I like it now. I use Aquamacs
for its keyboard bindings, mostly. I'm not big on emacs bundles, since
I use devel versions of the plugins I use most frequently.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Overlays and elisp code

2011-01-31 Thread Jeff Horn
I can reproduce this. emacs 23.1 and org 7.4

On Mon, Jan 31, 2011 at 5:04 AM, Andrea Crotti
andrea.crott...@gmail.com wrote:
 I found a strange behaviour which might be a bug, but maybe of my
 configuration.

 This is org mode version:
 Org-mode version 7.4 (release_7.4.199.g8be1.dirty)
 and emacs:
 GNU Emacs 23.2.1 (x86_64-apple-darwin10.3.0, NS apple-appkit-1038.29)
  of 2010-05-09 on linc

 To reproduce the bug I do
 - go over an elisp code block
 - C-c ' to edit in the overlay
 - C-c ' to go back when done

 And it works perfectly, BUT if for example I remove a parenthesis before
 pressing C-c ', I can't go back.

 C-c ' becomes undefined and I have to kill both the overlay and the
 original buffer.

 While I was writing I also found the cause of the problem, Paredit!
 Removing the hook from emacs-lisp-mode-hook fixes this, but paredit is
 really useful with elisp, maybe someone has an idea of why this happens?


 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Repeating TODO are shown every day in the agenda

2011-01-29 Thread Jeff Horn
On Sat, Jan 29, 2011 at 3:08 PM, Matt Lundin m...@imapmail.org wrote:
 (setq org-agenda-repeating-timestamp-show-all nil)

Matt,

Is there a way to set this on a per-todo basis? I want some repeating
items (e.g. class schedules) to repeat, but not others (like my daily
review).

Jeff

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Make text below heading not part of the heading

2011-01-27 Thread Jeff Horn
On Thu, Jan 27, 2011 at 5:14 AM, Leo Alekseyev dnqu...@gmail.com wrote:
 control over folding is not entirely satisfactory. It doesn't look hard to 
 fix,
 but unfortunately it seems that everyone is content with the status quo...

Be the engine of change you want to see in the world. I don't know
elisp, but I'm hardly interested in blocking new feature development.
I've contributed a small bit to Worg and to the documentation, so I
can tell you it is relatively easy to get started contributing. Why
not write a patch for folding?

http://orgmode.org/worg/org-contribute.html

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Make text below heading not part of the heading

2011-01-26 Thread Jeff Horn
On Wed, Jan 26, 2011 at 3:55 PM, Marcelo de Moraes Serpa
celose...@gmail.com wrote:
 Would the current behavior be considered a bug or a feature?

I consider it a feature. I don't know what your use case is (why you
want to do this), but if you want to callout particular information,
as a header, without messing with folding, I suggest trying
org-inlinetask-insert-task. You can delete the TODO keyword if it
pops up.

You could also use list items instead of headers if you want to
visually separate text from the body, like a note to self.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Commas in org source blocks

2011-01-25 Thread Jeff Horn
The manual doesn't make explicit mention of org as a Babel source
language. Well, it isn't listed in the supported languages, and an
org mode org source block site search via Google didn't turn up the
info I'm looking for.

Basically, I tried using example blocks for a table I wrote, but noted
that the key commands for org tables didn't work in the indirect
buffer. Of course, I switched the example block to a source block, and
specified org as the language.

After editing in the indirect buffer, there are commas prepended to
each line in the orignal buffer. These are not in the indirect buffer.
Is this the intended behavior? See screenshot for reference.

http://cl.ly/4C7P

TIA

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Commas in org source blocks

2011-01-25 Thread Jeff Horn
On Tue, Jan 25, 2011 at 2:36 PM, Eric Schulte schulte.e...@gmail.com wrote:
 There is support for Org code blocks, evaluation will generally result
 in returning a modified (possibly exported) version of the code block
 body.

OK. When I evaluated the block, I got an error about no function
being defined for org export. I might need to require babel in my init
file to get it to trigger the autoloads. Could there be another issue?

 Yes, this is the intended behavior.  The commas protect your enclosing
 source file from markup embedded in the org code block, otherwise a
 top-level headline in the body of a code block could break outline
 folding for the containing org file.

Thanks. I haven't used babel much until recently, so thanks for your
patience and helpful response!

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Commas in org source blocks

2011-01-25 Thread Jeff Horn
On Tue, Jan 25, 2011 at 4:32 PM, Eric Schulte schulte.e...@gmail.com wrote:
 yes, you will need to add org-mode to you list of supported languages
 along the directions in http://orgmode.org/manual/Languages.html

 I'll update the manual to reflect org-mode as a valid language.

Done, and thanks. One last follow up. I have the following in an org
source block (it is a child of a list item, and I like the indirect
buffer):

#+begin_src org
,||   | Column Player | |
,|+---+---+-|
,| /  |  |   ||
,||   | A | B   |
,| Row Player | A | 1,2   | 3,4 |
,|| B | 5,6   | 7,8 |
#+end_src

When I export to HTML or ASCII, the table isn't produced. I was half
expecting an org table (not an HTML table, of course) or at least a
verbatim environment. Adding 'exports: code' didn't change anything.
Any recommendations?

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Commas in org source blocks

2011-01-25 Thread Jeff Horn
On Tue, Jan 25, 2011 at 8:48 PM, Eric Schulte schulte.e...@gmail.com wrote:
 Jeff Horn jrhorn...@gmail.com writes:

 On Tue, Jan 25, 2011 at 4:32 PM, Eric Schulte schulte.e...@gmail.com wrote:
 yes, you will need to add org-mode to you list of supported languages
 along the directions in http://orgmode.org/manual/Languages.html

 I'll update the manual to reflect org-mode as a valid language.

 Done, and thanks. One last follow up. I have the following in an org
 source block (it is a child of a list item, and I like the indirect
 buffer):

 #+begin_src org
         ,|            |   | Column Player |     |
         ,|+---+---+-|
         ,| /          |  |               |    |
         ,|            |   | A             | B   |
         ,| Row Player | A | 1,2           | 3,4 |
         ,|            | B | 5,6           | 7,8 |
 #+end_src

 When I export to HTML or ASCII, the table isn't produced. I was half
 expecting an org table (not an HTML table, of course) or at least a
 verbatim environment. Adding 'exports: code' didn't change anything.
 Any recommendations?

 Yes, the org-mode language has some weird default header argument which
 make its use different from other languages, specifically for every
 language but org-mode by default :results has the value of replace.
 Try the following to export org-mode plain or as quoted code.

 #+begin_src org :results replace :exports results
        ,|            |   | Column Player |     |
        ,|+---+---+-|
        ,| /          |  |               |    |
        ,|            |   | A             | B   |
        ,| Row Player | A | 1,2           | 3,4 |
        ,|            | B | 5,6           | 7,8 |
 #+end_src

 #+begin_src org :results replace :exports code
        ,|            |   | Column Player |     |
        ,|+---+---+-|
        ,| /          |  |               |    |
        ,|            |   | A             | B   |
        ,| Row Player | A | 1,2           | 3,4 |
        ,|            | B | 5,6           | 7,8 |
 #+end_src

 Cheers -- Eric


Many thanks, Eric. That did the trick!

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [OT] Importing plain text attachments into Org

2011-01-24 Thread Jeff Horn
 Students will email me their papers every week.  I have no desire to
 download, print, and read a bunch of .doc files by hand every week.

I don't have direct answers to your other questions, but have a look
at catdoc and antiword (I prefer the latter) for reading docs on the
command line. I spotted an interesting article on how to use emacs to
open doc files using antiword, but haven't tried it yet.

http://www.emacswiki.org/emacs/AntiWord

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Clocking repeating tasks

2011-01-24 Thread Jeff Horn
I just started using clocking and effort to plan my work, and I have a
lot of repeating tasks. I'd like the clock summary to reflect how much
I've worked on the task recently.

Is there a variable to control how the clock summary is generated? In
particular, I'm looking for it to only sum the clocks from the last
time the task was marked DONE.

I see three possible solutions, but none were obviously mentioned in
the manual or on Worg.
1) A variable exists to control this, and I don't know about it
2) I could work around it by having the clock cleared on DONE (I
don't like destroying data)
3) Or, the task shoved into a clock history drawer or something (I
don't know how to implement this myself)

TIA

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Clocking repeating tasks

2011-01-24 Thread Jeff Horn
On Mon, Jan 24, 2011 at 10:37 AM, Bernt Hansen be...@norang.ca wrote:
 The clocking total for the task on the modeline should reflect how much
 time you have clocked since the last time you marked the task DONE.
 org-mode records a property LAST_REPEAT which had the time you completed
 the task last.  The modeline clock value counts minutes since that time.

 The modeline should have both your current clocking total time (since
 last repeat) and the effort limit displayed (as the limit).

Indeed, the mode line does display effort. However, it has the sum of
all clocks compared against the effort level. Same thing for the
clocksum column in the agenda columns display. I'm not sure why I'm
not getting the expected behavior. I'll be able to work on this more
later in the day.

Did you customize any variables to get this behavior?

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Clocking repeating tasks

2011-01-24 Thread Jeff Horn
On Mon, Jan 24, 2011 at 1:18 PM, Bernt Hansen be...@norang.ca wrote:
 No - I tested it with a minimal emacs setup and it worked out of the
 box for me.

Thanks again for your help, Bernt. Something wonky happened on that
task, and it was a week ago the last time I performed it. I don't
pretend to remember what I did then.

It works on other tasks, at least after an emacs restart. I do
remember this happening before, and dropping clocking because I found
it annoying. That was several versions ago, and before I knew much
about emacs at all...

Oh well. Works now. Thanks for testing!

Jeff

PS - Would you mind sharing what you throw in your minimal init file?
Or do you whip one up for each testing task?

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Clocking repeating tasks

2011-01-24 Thread Jeff Horn
Perfect. Thanks to Matt and Bernt for sharing this!

On Mon, Jan 24, 2011 at 7:52 PM, Matt Lundin m...@imapmail.org wrote:
 Hi Jeff,

 Jeff Horn jrhorn...@gmail.com writes:

 PS - Would you mind sharing what you throw in your minimal init file?
 Or do you whip one up for each testing task?

 There's a nice example on the FAQ:

 http://orgmode.org/worg/org-faq.html#minimal-emacs

 Best,
 Matt




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [OT] emacsclient -t (was Re: [OT] Have you also got hooked by Vim?)

2011-01-21 Thread Jeff Horn
On Thu, Jan 20, 2011 at 11:00 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote:
 Matt Lundin m...@imapmail.org writes:

 Jeff Horn jrhorn...@gmail.com writes:

 On Wed, Jan 19, 2011 at 9:51 PM, Matt Lundin m...@imapmail.org wrote:
 alias emacs=emacsclient -t -a /usr/bin/emacs

 Thanks for sharing this. My manual doesn't mention the -t flag. What
 does it do? (I didn't know about -a, but it looks nifty)


 Now that I consider this further (and read the emacs man page), I'm not
 sure if the -t flag is correct here. (It may be new to emacs 24).

 In any case, -nw is the tried and true flag for doing this.

 IIRC, -t is the same as -nw and is present from emacs 23.1 (maybe
 earlier) onwards.  Very useful when connecting from a non-graphical
 terminal (e.g. a mobile phone) to an existing Emacs running on
 X... something I do frequently via =screen= for emulating a persistent
 connection.

So IIUC, I have a windowed Emacsen running on a box where I work. If I
run `emacsclient -t somefile.txt` from an SSH connection to that box,
it uses the server that was started by the windowed emacs, but instead
of opening the file in the windowed emacs, it re-routes it to my SSH
session?

This would be extremely useful to me. However, when I tried that on my
box just now, the terminal session froze and the windowed emacs was
brought to the front without the correct buffer being displayed...
wonder what I'm doing wrong... This is in my bash profile:

function ec(){
emacsclient $1 --alternate-editor= -t 
}

Any clues?

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: [OT] emacsclient -t (was Re: [OT] Have you also got hooked by Vim?)

2011-01-21 Thread Jeff Horn
On Fri, Jan 21, 2011 at 12:41 PM, Jeff Horn jrhorn...@gmail.com wrote:
 On Thu, Jan 20, 2011 at 11:00 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote:
 Matt Lundin m...@imapmail.org writes:

 Jeff Horn jrhorn...@gmail.com writes:

 On Wed, Jan 19, 2011 at 9:51 PM, Matt Lundin m...@imapmail.org wrote:
 alias emacs=emacsclient -t -a /usr/bin/emacs

 Thanks for sharing this. My manual doesn't mention the -t flag. What
 does it do? (I didn't know about -a, but it looks nifty)


 Now that I consider this further (and read the emacs man page), I'm not
 sure if the -t flag is correct here. (It may be new to emacs 24).

 In any case, -nw is the tried and true flag for doing this.

 IIRC, -t is the same as -nw and is present from emacs 23.1 (maybe
 earlier) onwards.  Very useful when connecting from a non-graphical
 terminal (e.g. a mobile phone) to an existing Emacs running on
 X... something I do frequently via =screen= for emulating a persistent
 connection.

 So IIUC, I have a windowed Emacsen running on a box where I work. If I
 run `emacsclient -t somefile.txt` from an SSH connection to that box,
 it uses the server that was started by the windowed emacs, but instead
 of opening the file in the windowed emacs, it re-routes it to my SSH
 session?

 This would be extremely useful to me. However, when I tried that on my
 box just now, the terminal session froze and the windowed emacs was
 brought to the front without the correct buffer being displayed...
 wonder what I'm doing wrong... This is in my bash profile:

 function ec(){
    emacsclient $1 --alternate-editor= -t 
 }

 Any clues?

Always too quick to e-mail... the trailing  was causing issues. I
want this when I'm sitting at the box, but don't when I'm not. Time to
figure out how to write a conditional for bash...

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Worg needs some reorganizing

2011-01-20 Thread Jeff Horn
On Thu, Jan 20, 2011 at 11:44 AM, Eric Schulte schulte.e...@gmail.com wrote:
 For managing alternate stylesheets I use the style chooser extension
 for Chrome which adds a dropdown menu to the url-bar whenever a page
 provides alternate style sheets and has the nice feature of remembering
 your last selection for a page next time you return.

 https://chrome.google.com/extensions/detail/daodklicmmjhcacgkjpianadkdkbkbce

Eric,

This is much better than Stylish for this sort of thing. Thanks for sharing.

Others,

Can we include multiple alternate stylesheets in the headers? The
screenshot from that extension Eric mentioned make me think it is
possible...

What I'm saying is, I'd like Eric's zenburn style put in the headers
in addition to the New Worg already there. :D

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Worg needs some reorganizing

2011-01-20 Thread Jeff Horn
On Thu, Jan 20, 2011 at 6:22 AM, Dan Davison dandavis...@gmail.com wrote:
 I strongly second this. In fact I'll stick my neck out more: Worg is
 great, but for tutorials on org-mode, HTML export is often the wrong
 format for obvious reasons (i.e. unless you go to some trouble, it
 conceals a lot of the org syntax). I'm tempted to suggest that htmlized
 output should be the default format for many org tutorials on Worg.

I respectfully disagree with your assertion. When someone writes a
document properly, i.e. in a literate fashion, i.e. using org source
blocks, the right syntax is shown at the right time. Please see the
manual as an example.

Now, I'm no fan of nerfing choices in order to force anyone to do
things The Right Way (tm), but it bears mentioning.

I see no harm in publishing using org-publish-org-to-org with htmlize.
We could even add a link in the footer or header of each page that
links to the htmlized source. I do *not* agree in making it the
default format for any page.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Worg needs some reorganizing

2011-01-20 Thread Jeff Horn
On Thu, Jan 20, 2011 at 12:41 PM, Dan Davison dandavis...@gmail.com wrote:
 All of which could be solved with some effort. My point is: what does
 the HTML export of this document really offer over the verbatim
 htmlized one?

I'll concede. I seem to have spoken out of turn, since I haven't
authored any tutorials, and I hadn't run into the specific issues you
cite. I do wonder if wrapping the code in org blocks does fix the
problem, as Jason suggests...

To address the above quoted, I think reading a page in org syntax
might put off new learners. My head still spins when looking at some
babel documents, since I don't make regular use of it. When I click on
a link, especially in a Wiki, I expect to see a webpage, not source.
YMMV.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Worg needs some reorganizing

2011-01-20 Thread Jeff Horn
On Thu, Jan 20, 2011 at 12:48 PM, Dan Davison dandavis...@gmail.com wrote:
 On Thu, Jan 20, 2011 at 5:41 PM, Dan Davison dandavis...@gmail.com wrote:
 On Thu, Jan 20, 2011 at 5:02 PM, Jeff Horn jrhorn...@gmail.com wrote:

 On Thu, Jan 20, 2011 at 6:22 AM, Dan Davison dandavis...@gmail.com wrote:
  I strongly second this. In fact I'll stick my neck out more: Worg is
  great, but for tutorials on org-mode, HTML export is often the wrong
  format for obvious reasons (i.e. unless you go to some trouble, it
  conceals a lot of the org syntax). I'm tempted to suggest that htmlized
  output should be the default format for many org tutorials on Worg.

 I respectfully disagree with your assertion. When someone writes a
 document properly, i.e. in a literate fashion, i.e. using org source
 blocks, the right syntax is shown at the right time.

 So I think we both have babel documents in mind -- i.e. ones with
 active code blocks. The trouble with using org source blocks to render
 the org syntax in HTML is that the content must be duplicated. I know
 from experience that it is easy to let the pedagogical org block get
 out of sync with its functional counterpart.

 Another possibility is that a new header arg (perhaps :exports org)
 could be added to babel, which would have the effect of wrapping the
 block in an org src block on export.

That's quite elegant. Certainly takes the tedium out of fixing already
broken pages.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Worg needs some reorganizing

2011-01-20 Thread Jeff Horn
On Thu, Jan 20, 2011 at 11:16 AM, Nick Dokos nicholas.do...@hp.com wrote:
 Matt Lundin m...@imapmail.org wrote:

 Nick Dokos nicholas.do...@hp.com writes:

  Matt Lundin m...@imapmail.org wrote:
 
  So the new, flat FAQ is up and running. And, of course, all are
  welcome to suggest or contribute further refinements.
 
 
  Blue (or purple or similar color) text on black background is unreadable -
  at least to my eyes.

 I agree. I reverted the black background.

 If a dark background is preferred, we'll need to make sure that we
 export an entire dark color theme (such as zenburn) with
 org-export-htmlize-generate-css.

 As it stood, we were simply using a black background with colors
 exported from a light theme (e.g, dark blue headlines). Needless to say,
 this made the text unreadable. :)


 Much better!

Nick,

This is what I see when I visit the FAQ page.[1] The TOC column seems
to be very narrow. I'm using Chrome with the Next Worg stylesheet.

Footnotes:
[1] http://cl.ly/47Cn

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Worg needs some reorganizing

2011-01-20 Thread Jeff Horn
On Thu, Jan 20, 2011 at 1:46 PM, Eric Schulte schulte.e...@gmail.com wrote:
 Jeff Horn jrhorn...@gmail.com writes:

 On Thu, Jan 20, 2011 at 11:16 AM, Nick Dokos nicholas.do...@hp.com wrote:
 Matt Lundin m...@imapmail.org wrote:

 Nick Dokos nicholas.do...@hp.com writes:

  Matt Lundin m...@imapmail.org wrote:
 
  So the new, flat FAQ is up and running. And, of course, all are
  welcome to suggest or contribute further refinements.
 
 
  Blue (or purple or similar color) text on black background is unreadable 
  -
  at least to my eyes.

 I agree. I reverted the black background.

 If a dark background is preferred, we'll need to make sure that we
 export an entire dark color theme (such as zenburn) with
 org-export-htmlize-generate-css.

 As it stood, we were simply using a black background with colors
 exported from a light theme (e.g, dark blue headlines). Needless to say,
 this made the text unreadable. :)


 Much better!

 Nick,

 This is what I see when I visit the FAQ page.[1] The TOC column seems
 to be very narrow. I'm using Chrome with the Next Worg stylesheet.


 I believe the Next Worg stylesheet is very old and not a product of
 the current round of CSS updates.  Once the arternative stylesheets are
 updated to reflect this most recent development round I would imagine
 that the Next Worg stylesheet will disappear.


In that case, it looks great!

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Org-beamer problems

2011-01-19 Thread Jeff Horn
What version of org-mode are your running? What version of emacs? If
you haven't done so already, try upgrading to the latest version of
org and seeing if that solves the problem.

=M-x org-version RET=
=M-x emacs-version RET=

See the latest development version of org:

http://orgmode.org/index.html#sec-3_2

On Wed, Jan 19, 2011 at 2:03 AM, Bill Moran bill1mo...@gmail.com wrote:
 I've been trying to follow the various tutorials on the web
 to do beamer in org-mode. I've used beamer, latex and emacs
 for many years but am finding that none of the examples on
 the web work totally s intended in my attempts to use
 org-mode with beamer.

 I have copied verbatim several examples such as from here:

 http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html#sec-4_1

 When I run  them I get the following problems - plus others
 I will go into later if necessary:

 1. The title page does not have a title - just the date.
 When I check the latex file created from the org file I
 notice that a \maketitle command occurs outside a frame environment
 - whereas in beamer I normally use \titlepage inside a frame
 environment to create the titlepage.

 2. \alert command does not work - even with the additions to .emacs
 suggested here:
  http://www.mail-archive.com/emacs-orgmode@gnu.org/msg21507.html
 (And there are no errors in running the .emacs file)
 Always the @ symbol appears in the latex created from org as @.

 I wonder whether there is some configuration I am missing.
 Other aspects of the slides are normal - bullets and
 frametitles specifically.




 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Worg needs some reorganizing

2011-01-19 Thread Jeff Horn
On Wed, Jan 19, 2011 at 12:34 PM, Jason Dunsmore
emacs-orgm...@dunsmor.com wrote:
 I think this might be unnecessary (hitting Back, typing the Home
 key, or middle clicking at the top of the scroll bar can all already do
 this).

I'm not an expert, but that is not very accessible. Shouldn't be a
problem with modern text browsers, but I remember this being an
accessibility recommendation for FAQish pages at my previous
university.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Worg needs some reorganizing

2011-01-19 Thread Jeff Horn
On Wed, Jan 19, 2011 at 2:18 PM, Jason Dunsmore
emacs-orgm...@dunsmor.com wrote:
 Does anybody know why some pages have inline CSS?  For example:

The publishing projects for the affected pages may not have the the
:style-default key set to nil. The relevant variable is
`org-export-html-style-include-default`.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Worg needs some reorganizing

2011-01-19 Thread Jeff Horn
On Wed, Jan 19, 2011 at 1:32 PM, Jason Dunsmore
emacs-orgm...@dunsmor.com wrote:
 Jeff Horn jrhorn...@gmail.com writes:

 On Wed, Jan 19, 2011 at 12:34 PM, Jason Dunsmore
 emacs-orgm...@dunsmor.com wrote:
 I think this might be unnecessary (hitting Back, typing the Home
 key, or middle clicking at the top of the scroll bar can all already do
 this).

 I'm not an expert, but that is not very accessible. Shouldn't be a
 problem with modern text browsers, but I remember this being an
 accessibility recommendation for FAQish pages at my previous
 university.

 Hm, that sounds a bit like folklore.  Is there some accessibility
 standard we can follow, and should we (how up-to-date are these
 documents relative to modern accessible browsers)?  I noticed every
 other project FAQ I came across doesn't do this:

 http://wiki.apache.org/httpd/FAQ
 https://git.wiki.kernel.org/index.php/GitFaq
 http://kb.mozillazine.org/Firefox_:_FAQs

I'll happily concede the point. And, the linked FAQs are easily
navigable in W3M. Honestly, it was a reflex. I learned all sorts of
rules of thumb working with the media department as a student at
NCSU.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Bibtex and beamer

2011-01-19 Thread Jeff Horn
On Wed, Jan 19, 2011 at 4:14 PM, Andrea Crotti
andrea.crott...@gmail.com wrote:
 Only one thing is not clear, how do I tell org-mode to call
 pdflatex/bibtex enough times to get all the links correctly setup.

If you're using a *nix system, you might try customizing
`org-latex-to-pdf-process` with texi2dvi.

I've been having intermittent issues with bibtex and beamer. Not sure
what did it on my end, but I flip between texi2dvi for
beamer/latex/bibtex usage, and shell command sequence (what you
mention) for publishing PDFs on my personal website (like my CV).

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Worg needs some reorganizing

2011-01-19 Thread Jeff Horn
On Wed, Jan 19, 2011 at 9:24 PM, Matt Lundin m...@imapmail.org wrote:
 I believe these pages have not been exported since we turned off the
 inline css publishing option; i.e., they have not been touched since
 that time, so the publishing mechanism does not export them.

Matt,

I was going to grep through the repo and touch all the files that
haven't changed since then. Obviously, that's not really possible
since the org files don't contain this CSS. :-) Perhaps Jason could
give us a list of the affected files? Something like

   grep -r 'CDATA' *

in the Worg root might do the trick.

Also, I was rather doomed to failure anyway. Touching a file doesn't
change its contents, so git won't think anything has changed. (I know,
it's a Duh)

Maybe once we find the files, we could use a script add a whitespace
character to the end of each org file and republish?

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [OT] Have you also got hooked by Vim?

2011-01-19 Thread Jeff Horn
On Wed, Jan 19, 2011 at 9:51 PM, Matt Lundin m...@imapmail.org wrote:
 alias emacs=emacsclient -t -a /usr/bin/emacs

Matt,

Thanks for sharing this. My manual doesn't mention the -t flag. What
does it do? (I didn't know about -a, but it looks nifty)

 (As an aside, finger memory is truly remarkable. I imagine others have
 the same experience, but somehow the hands magically sort out the keys
 for each editor without my having to think about it.)

I wish I could say the same. It usually takes 15 keystrokes, a marred
buffer, and a restart of vim before my fingers figure out they aren't
in Kansas anymore...

PS - This thread prompted me to look into `ed`. Normally, I'd resist
learning yet-another-editor, but with such a short man page, who can
resist?

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Worg needs some reorganizing

2011-01-18 Thread Jeff Horn
On Tue, Jan 18, 2011 at 3:39 AM, Bastien bastien.gue...@wikimedia.fr wrote:
 Jeff Horn jrhorn...@gmail.com writes:

 Jason seems to be garnering a lot of votes, but Eric's zenburn
 emulation makes my eyes happy. If Jason wins out, I suppose I could
 always just read Worg in emacs... :D

 Or use Eric zenburn-like css by selecting it as an alternative
 stylesheet in Firefox : View - Page Style - [select stylesheet].

 I don't know how to make this choice persistent from Firefox and I
 don't know if this feature is available for other browsers, but it
 is certainly worth having several stylesheet available.

I've seen some sites with alternate style sheets built into the page.
Usually a drop down menu in the upper right corner of the page to
select and load a stylesheet.

I'm not sure how it is implemented, but I suspect it's javascript,
since the new stylesheet is loaded automatically, without a refresh,
when the user clicks it.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Worg needs some reorganizing

2011-01-18 Thread Jeff Horn
On Tue, Jan 18, 2011 at 11:13 AM, Eric Schulte schulte.e...@gmail.com wrote:
 Is there a consensus on removing Javascript folding from *all* pages on
 Worg.  I think this would be an improvement both for the readability and
 stylistic coherence of the site.

+1 from me. Also, is the custom worg search box well-liked (pressing
s on a page)? Why not just create a custom google search restricted
to the org subdirectory (I don't know if subdirectories are possible)
and add the search box on each page?

If you can't restrict to subdirectory, we could just point a CNAME
redirect from orgmode.org/worg/ to worg.orgmode.org and use a
google custom search for that subdomain.

Jeff

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


  1   2   3   >