[Orgmode] Strange tag search behavior

2009-08-26 Thread Scott Randby

The test file shown below produces strange behavior when doing a tag search. 
This behavior is described after the file. The Org-Mode version is 6.29trans on 
GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.14.4) of 2009-08-01 on 
leucaena, modified by Debian.

--
* Grades
** Student 1 :student1:
*** Homework :homework:
|--+---+---+---+---+---|
| Homework | 1 | 2 | 3 | 4 | 5 |
|--+---+---+---+---+---|
|  |   |   |   |   |   |
|--+---+---+---+---+---|
*** 
*** Attendance:attendance:

x = did not attend
|+---+---+---+---+---|
| Attendance |   |   |   |   |   |
|+---+---+---+---+---|
| Day| 1 | 2 | 3 | 4 | 5 |
||   |   |   |   |   |
|+---+---+---+---+---|
*** 
** Student 2 :student2:

*** Homework :homework:
|--+---+---+---+---+---|
| Homework | 1 | 2 | 3 | 4 | 5 |
|--+---+---+---+---+---|
|  |   |   |   |   |   |
|--+---+---+---+---+---|
*** 
*** Attendance:attendance:

x = did not attend
|+---+---+---+---+---|
| Attendance |   |   |   |   |   |
|+---+---+---+---+---|
| Day| 1 | 2 | 3 | 4 | 5 |
||   |   |   |   |   |
|+---+---+---+---+---|
*** 
** Student 3 :student3:

*** Homework :homework:
|--+---+---+---+---+---|
| Homework | 1 | 2 | 3 | 4 | 5 |
|--+---+---+---+---+---|
|  |   |   |   |   |   |
|--+---+---+---+---+---|
*** 
*** Attendance:attendance:

x = did not attend
|+---+---+---+---+---|
| Attendance |   |   |   |   |   |
|+---+---+---+---+---|
| Day| 1 | 2 | 3 | 4 | 5 |
||   |   |   |   |   |
|+---+---+---+---+---|
*** 
** Student 4 :student4:

*** Homework :homework:
|--+---+---+---+---+---|
| Homework | 1 | 2 | 3 | 4 | 5 |
|--+---+---+---+---+---|
|  |   |   |   |   |   |
|--+---+---+---+---+---|
*** 
*** Attendance:attendance:

x = did not attend
|+---+---+---+---+---|
| Attendance |   |   |   |   |   |
|+---+---+---+---+---|
| Day| 1 | 2 | 3 | 4 | 5 |
||   |   |   |   |   |
|+---+---+---+---+---|
*** 
--


To see the strange behavior, do the following.
M-S- (to place the cursor at the beginning of the file)
C-c \ student1+attendance|student2+attendance
C-u 2 C-n
TAB
C-u 6 C-n
TAB

Instead of the cursor going to the first column of the table (which is what should 
occur), the following USUALLY occurs (sometimes something else wrong happens): the table 
is folded and the cursor appears at the end of the line x= did not attend...

Now hit TAB and the *** Attendance subtree is folded (usually).

TAB
C-u 6 C-n
TAB
and the correct behavior occurs.

This behavior doesn't happen if the tag search doesn't include an or.

I rely on these type of searches. I haven't encountered this problem in 
previous versions of Org-Mode. How is this issue fixed?

Scott Randby
(1) 



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


Re: [Orgmode] Strange tag search behavior

2009-08-27 Thread Scott Randby

Carsten Dominik wrote:

Hi Scott,

this has to do with the fact that these searched create a view
as compact as possible, and do not unhide the headline after
a matching line.  So this leave an invisibility overlay just after the 
exposed headline and table.  The TAB causes a table-realignment, and the 
process of deleting and resinserting the table then causes problems.


I have fixed this problem now, but watch out for other related issues.
One way to avoid these inconsistent states it to turn on 
`org-show-following-heading'.


Thanks Carsten. I'll upgrade and test. I don't really want to turn on 
org-show-following-heading because I don't like the way it works in some 
cases.

Scott



HTH

- Carsten

On Aug 26, 2009, at 9:47 PM, Scott Randby wrote:

The test file shown below produces strange behavior when doing a tag 
search. This behavior is described after the file. The Org-Mode 
version is 6.29trans on GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ 
Version 2.14.4) of 2009-08-01 on leucaena, modified by Debian.


--
* Grades
** Student 1 :student1:
*** Homework :homework:
|--+---+---+---+---+---|
| Homework | 1 | 2 | 3 | 4 | 5 |
|--+---+---+---+---+---|
|  |   |   |   |   |   |
|--+---+---+---+---+---|
*** *** Attendance:attendance:
x = did not attend
|+---+---+---+---+---|
| Attendance |   |   |   |   |   |
|+---+---+---+---+---|
| Day| 1 | 2 | 3 | 4 | 5 |
||   |   |   |   |   |
|+---+---+---+---+---|
*** ** Student 2 :student2:
*** Homework :homework:
|--+---+---+---+---+---|
| Homework | 1 | 2 | 3 | 4 | 5 |
|--+---+---+---+---+---|
|  |   |   |   |   |   |
|--+---+---+---+---+---|
*** *** Attendance:attendance:
x = did not attend
|+---+---+---+---+---|
| Attendance |   |   |   |   |   |
|+---+---+---+---+---|
| Day| 1 | 2 | 3 | 4 | 5 |
||   |   |   |   |   |
|+---+---+---+---+---|
*** ** Student 3 :student3:
*** Homework :homework:
|--+---+---+---+---+---|
| Homework | 1 | 2 | 3 | 4 | 5 |
|--+---+---+---+---+---|
|  |   |   |   |   |   |
|--+---+---+---+---+---|
*** *** Attendance:attendance:
x = did not attend
|+---+---+---+---+---|
| Attendance |   |   |   |   |   |
|+---+---+---+---+---|
| Day| 1 | 2 | 3 | 4 | 5 |
||   |   |   |   |   |
|+---+---+---+---+---|
*** ** Student 4 :student4:
*** Homework :homework:
|--+---+---+---+---+---|
| Homework | 1 | 2 | 3 | 4 | 5 |
|--+---+---+---+---+---|
|  |   |   |   |   |   |
|--+---+---+---+---+---|
*** *** Attendance:attendance:
x = did not attend
|+---+---+---+---+---|
| Attendance |   |   |   |   |   |
|+---+---+---+---+---|
| Day| 1 | 2 | 3 | 4 | 5 |
||   |   |   |   |   |
|+---+---+---+---+---|
*** --

To see the strange behavior, do the following.
M-S- (to place the cursor at the beginning of the file)
C-c \ student1+attendance|student2+attendance
C-u 2 C-n
TAB
C-u 6 C-n
TAB

Instead of the cursor going to the first column of the table (which is 
what should occur), the following USUALLY occurs (sometimes something 
else wrong happens): the table is folded and the cursor appears at the 
end of the line x= did not attend...


Now hit TAB and the *** Attendance subtree is folded (usually).

TAB
C-u 6 C-n
TAB
and the correct behavior occurs.

This behavior doesn't happen if the tag search doesn't include an or.

I rely on these type of searches. I haven't encountered this problem 
in previous versions of Org-Mode. How is this issue fixed?


Scott Randby
(1)

___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] visual-line-mode

2009-10-21 Thread Scott Randby
Quintana Seguí wrote:
 Hello,

 I have a problem relating /emphasis/ which leads to a question related
 to visual-line-mode.

 b) Are visual-line-mode and org-mode good friends?

I've found that one must exit visual-line-mode before converting an
org file to html. Weird things can happen if you forget to exit before
the conversion.

Scott Randby


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


Re: [O] wolfram's computable document format

2011-07-21 Thread Scott Randby
On 07/21/2011 05:41 PM, David O'Toole wrote:
 http://www.wolfram.com/cdf/
 
 Looks nice, and could be very interesting to orgmoders.
 
 

Mathematica is required to make a CDF document and the required reader
is at least 100 MB in size. I think Sage is a superior alternative.

Scott Randby



[O] LaTeX Export Packages

2011-07-29 Thread Scott Randby
The package hyperref is one of the default packages listed in
org-export-latex-default-packages-alist. I want to add some options to
this package for some files but not for others.

I have tried adding the following to my file:

#+LATEX_HEADER:
\usepackage[colorlinks=true,urlcolor=blue,linkcolor=blue]{hyperref}

When I export, I get an error because hyperref appears twice in the TEX
file.

1. I don't want to edit the exported LaTeX file to add the hyperref
options.

2. I don't want to customize org-export-latex-default-packages-alist to
include the options for hyperref because I don't always want those options.

3. I don't want to delete hyperref from
org-export-latex-default-packages-alist because I might forget to add it
in some file that will be exported to LaTeX.

4. I'd rather not customize my .emacs because the options I want for
hyperref vary from file to file.

I would like some way to add options in an org-mode file to the packages
that appear in org-export-latex-default-packages-alist. Maybe something
similar to #+LaTeX_CLASS_OPTIONS: will be possible. But this doesn't
look easy to me. Should I learn how to do publishing?

Scott Randby



Re: [O] LaTeX Export Packages

2011-07-30 Thread Scott Randby
On 07/29/2011 04:59 PM, Ista Zahn wrote:
 Hi Scott,
 Untested, but I think you can use
 #+LATEX_HEADER: \hypersetup{colorlinks=true,urlcolor=blue,linkcolor=blue}

That worked. Thanks.

Scott

 
 Best,
 Ista
 
 On Fri, Jul 29, 2011 at 4:55 PM, Scott Randby sran...@gmail.com wrote:
 The package hyperref is one of the default packages listed in
 org-export-latex-default-packages-alist. I want to add some options to
 this package for some files but not for others.

 I have tried adding the following to my file:

 #+LATEX_HEADER:
 \usepackage[colorlinks=true,urlcolor=blue,linkcolor=blue]{hyperref}

 When I export, I get an error because hyperref appears twice in the TEX
 file.

 1. I don't want to edit the exported LaTeX file to add the hyperref
 options.

 2. I don't want to customize org-export-latex-default-packages-alist to
 include the options for hyperref because I don't always want those options.

 3. I don't want to delete hyperref from
 org-export-latex-default-packages-alist because I might forget to add it
 in some file that will be exported to LaTeX.

 4. I'd rather not customize my .emacs because the options I want for
 hyperref vary from file to file.

 I would like some way to add options in an org-mode file to the packages
 that appear in org-export-latex-default-packages-alist. Maybe something
 similar to #+LaTeX_CLASS_OPTIONS: will be possible. But this doesn't
 look easy to me. Should I learn how to do publishing?

 Scott Randby


 
 
 



Re: [O] Refresh of http://orgmode.org

2011-12-13 Thread Scott Randby
On 12/12/2011 06:39 PM, Bastien wrote:
 Dear all,
 
 I made a small refresh of the website.
 
 http://orgmode.org
 
 - random quote (taken from worg/org-quotes.org)
 - random screenshot
 - twitter feed
 - g+/flattr/fb buttons
 - french translation (http://orgmode.org/fr/)
 
 If you want to help with the translation in your language, 
 please send your public key and I will give you push access.
 This is just a bunch of .org files, only 1 hour needed to
 translate the whole website.
 
 Hope you like it!
 

The random screenshot I saw was one of mine. :)

Scott Randby



[O] mailto link problem

2011-12-29 Thread Scott Randby
This might be off-topic, but there has been discussion about this issue
before on this list.

http://comments.gmane.org/gmane.emacs.orgmode/22550

The problem is that the above discussion doesn't solve my problem. So
here it is.

On my old system (Ubuntu 10.04, Emacs 23.3, Org-Mode 7.8.02, default
browser Firefox, default mail client Thunderbird), I could click on a
mailto link in an org file and Firefox would open up Thunderbird. I
could then put in the message and send it via Thunderbird. No problems.

On my new system (Xubuntu 11.10, Emacs 24.0.92.1, Org-Mode 7.8.02,
default browser Firefox, default mail client Thunderbird), an Emacs
window in message-mode is opened when I click on a mailto link in an
org-mode file. This is not what I want, I want the behavior to be like
it was in my old system.

My old system just worked without me customizing any variables. I didn't
change org-follow-link, org-link-mailto-program, mail-user-agent, etc. I
didn't mess around with /etc/mailcap or other stuff. The Emacs variables
on my new system are identical to those I used with my old system and
the html stuff in /etc/mailcap looks identical. I don't understand why
the two systems behave differently.

Please don't suggest that I switch to Gnus or something. I don't have
time to switch, Thunderbird is easy to set up, it handles HTML well, it
reads feeds nicely, and I use the External Editor plug-in
(http://globs.org/articles.php?pg=2lng=en) and emacsclient to write my
email using Emacs (as I am doing now). I keep my email addresses in org
files and I would like to be able to just click on a mailto link to
connect to Thunderbird instead of doing a kill and yank routine.



Re: [O] mailto link problem

2011-12-29 Thread Scott Randby
On 12/29/2011 05:42 PM, Nick Dokos wrote:


 and if that's the case for you as well, then org is off the
 hook: you have to look downstream from browse-url to figure
 out where it's going off the rails. In particular, check
 if browse-url-mailto-function is set: if it is, try setting
 it to nil and see if that gets things  back on track (not tested,
 not guaranteed).


Setting browse-url-mailto-function to nil worked. That must be a new
variable for Emacs 24. At least it isn't in the browse-url group of
Emacs 23.3. Its default value is emacs-mail. Thanks a bunch, I only
spent most of today trying to figure out this issue.

Scott




Re: [O] mailto link problem

2011-12-29 Thread Scott Randby
On 12/29/2011 05:55 PM, Nick Dokos wrote:

 One more thing - try the following from the command line:

   firefox --remote openURL(mailto:sran...@gmail.com)

 If that gets you back into emacs, then emacs is off the hook: a visit to
 about:config in firefox is indicated.

Good suggestion. I had already checked to make sure that Firefox would
open a mailto url in Thunderbird, but I didn't do it via the command
line. I'd never thought about running Firefox from the command line.

Scott



Re: [O] Minimal overhead Org-mode blogging system

2012-01-20 Thread Scott Randby
On 01/20/2012 01:19 PM, Chris Gray wrote:
 On Thu, 19 Jan 2012 23:15:16 +0100, Steinar Bang s...@dod.no wrote:
 Puneeth Chaganti puncha...@gmail.com:

 This is totally home brew stuff.  

 Well, thank you for sharing this home brew stuff.
 I've been trying to use the other org based blog solutions, but they
 have all failed for some reason or other, and they have also seemed
 abandoned.
 
 Have another look at ikiwiki.  Either plugin for org works (I am the
 author of one of them), and the nice thing is that it is a really
 complete system.  It has plugins [1] for just about anything you could
 want to do with a blog or wiki, and is generally well-engineered.
 
 If you have any trouble with my plugin, please open an issue on github.
 I promise it's not abandoned. :)
 
 Cheers,
 Chris
 
 [1] http://ikiwiki.info/plugins/

Unless this plugin does not have org in its name, then it cannot be
found on this page. What plugin are you talking about?

Scott Randby

 
 



Re: [O] Org expert mode?

2011-03-10 Thread Scott Randby
On 03/10/2011 05:05 AM, Bastien wrote:
 So I naturally thought of something like an Org Expert mode: when
 turned off, the UI would *not* give access to complex features and
 perhaps display more helpful messages on simple ones; when turned on,
 Org would have a less verbose UI (think of the C-c C-e window, do we
 really want to *read* it all the times?) and give access to all the
 complex features.

While I don't consider myself to be an org-mode expert, I have been
using it for several years to keep track of appointments, make web
pages, take notes, and record grades. I've never found things like the
C-c C-e window to be a problem even though 99% of the time I'll do
something like C-c C-e h without looking at the window. But I appreciate
that window the 1% of the time I do look at it because it shows me that
there are features available that might be useful in the future. The
window provides an easy opportunity for learning and exploration.

If there is a basic mode that somehow hides complex features, then some
users may never become aware of those features and what they might do
with those features. I've discovered so much because nothing in org-mode
is hidden or separated. The manual provides an excellent introduction
for new users and it allows them to decide which features they wish to
start with, which features they can ignore, and which features they
might want to learn about in the future.

I think everything should be turned on by default. It is easier for an
expert to figure out how to turn something off than it is for the
non-expert to turn something on. And I've never found a feature that I
don't use getting in the way of my work.

Scott Randby



[O] HTML Export Broken

2011-03-14 Thread Scott Randby
I just upgraded to org-mode 7.5 and I'm encountering a weird problem.

Suppose I have the following text in a file.

 This is a @btest@/b of tags.

 This is a @banother test of tags.

If I do C-c C-e h on this file, I get the following HTML code.

pThis is a @lt;btest/b of tags.
/p
p
This is a banother test of tags.
/p

It appears that org-mode is converting only the last @tag that appears
in a line into an HTML tag. Is this a bug or am I doing something wrong?
Help.

Scott Randby



[O] Another HTML Export Question

2011-03-14 Thread Scott Randby
The org files I export to HTML contain the following:

* COMMENT Setup
#+OPTIONS: H:3 num:nil skip:nil toc:t author:t

With org-mode 7.4, this setup would give me the following postamble:

div id=postamble
p class=date Date: 2011-03-12 16:09:53 EST/p
p class=creatorHTML generated by org-mode 7.4 in emacs 23/p
/div

With org-mode 7.5, I get this postamble:

div id=postamble
p class=creatorOrg version 7.5 with Emacs version 23/p
a href=http://validator.w3.org/check?uri=referer;Validate XHTML 1.0/a
/div

1. There is no timestamp with org-mode 7.5. I want a timestamp and I
can't get a timestamp by putting timestamp:t in the options line.

2. I want to get rid of the link for the validator. I can't find mention
of this in the manual.

3. How do I change the text of the creator line?

Honestly, I've never had so many problems with an upgrade of org-mode.
I'm going back to 7.4 until HTML export is fixed and explained clearly
in the manual.

Scott Randby



[O] An HTML Export Observation

2011-03-14 Thread Scott Randby
When I look at the Org Export HTML Group for customization, I get the
following:

Org Export Html Validation Link: Show Value
   State: UNINITIALIZED, you should not see this.
   Link to HTML validation service.

Org Export Html With Timestamp: Hide Value Toggle  off (nil)
   State: UNINITIALIZED, you should not see this.
   If non-nil, write timestamp into the exported HTML text. More

The other variables in this group are also uninitialized. The other org
export groups (such as Org Export LaTeX) do not contain uninitialized
variables. Why is it that the variables I need the most do not work?

Scott Randby



Re: [O] An HTML Export Observation

2011-03-15 Thread Scott Randby
On 03/15/2011 09:14 AM, Bastien wrote:
 Hi Scott,

 Scott Randby sran...@gmail.com writes:

 When I look at the Org Export HTML Group for customization, I get the
 following:

 Org Export Html Validation Link: Show Value
State: UNINITIALIZED, you should not see this.
Link to HTML validation service.

 Org Export Html With Timestamp: Hide Value Toggle  off (nil)
State: UNINITIALIZED, you should not see this.
If non-nil, write timestamp into the exported HTML text. More

 The other variables in this group are also uninitialized. The other org
 export groups (such as Org Export LaTeX) do not contain uninitialized
 variables. Why is it that the variables I need the most do not work?

 There was a typo in the definition of the custom type of
 `org-export-html-protect-char-alist'.  I just fixed this.  Please
 confirm you don't have this error again.


Almost everything is fixed now. The variables in the Org Export HTML
Group work as they should, and the @tag issue is fixed. Thanks to
everyone for their help. But there is one remaining issue -- I can't get
timestamps in the postamble.

First, I am using org-mode release_7.5.41.g187b.

In my document, I have the following:
#+OPTIONS: H:3 num:nil skip:nil toc:t author:t timestamp:t email:t creator:t

I looked through the export variables for anything that mentioned
timestamps and the following now appears in my .emacs:
 '(org-export-html-with-timestamp t)
 '(org-export-time-stamp-file t)
 '(org-export-with-timestamps t)

But when I do C-c C-e h on the document, the author, email, and creator
appear in the postamble, but no timestamp.

I can get the timestamp if I put the following in my .emacs (following
the instructions given by Nick Dokos):
(setq org-export-html-postamble p class=\author\Author: %a
(%e)/p\np class=\date\Date: %d/p\np class=\creator\Generated
by %c/p\n)

However, I would rather have the above in my document instead of my
.emacs, but Nick says he can't get that to work. I saw in the manual
that one may set up a project and publish it. Then one could set the
:html-postamble option for the project, but I don't have time right now
to learn how to set up a project.

Scott Randby



Re: [O] Another HTML Export Question

2011-03-15 Thread Scott Randby
Hi Bastien,


 1. There is no timestamp with org-mode 7.5. I want a timestamp and I
 can't get a timestamp by putting timestamp:t in the options line.

 Fixed now.

Yes, it works now. Thanks.


 2. I want to get rid of the link for the validator. I can't find mention
 of this in the manual.

 I added a subsection about exporting the HTML preamble and postamble,
 and I mention `org-export-html-validation-link' there.

This clears things up.


 3. How do I change the text of the creator line?

 You cannot.

Bummer.


 Honestly, I've never had so many problems with an upgrade of org-mode.
 I'm going back to 7.4 until HTML export is fixed and explained clearly
 in the manual.

 Let me know if it is.

 Also, if you can help make the manual clearer, that would be
 appreciated.

I have been planning to go through the entire manual. I hope to get to
that this summer.

The timestamps are fixed, but there are two new issues. First, I get
weird HTML in the postamble for the email address.

With org-mode release_7.5.43.gdf38 I get the following when I export:

  p class=emaila href=mailto:a
href=mailto:sran...@gmail.com;sran...@gmail.com/alt;a
href=mailto:sran...@gmail.com;sran...@gmail.com/agt;/p

I used to get (with 7.4):

  p class=author Author: Scott P. Randby
  a href=mailto:sran...@gmail.com;lt;sran...@gmail.comgt;/a
  /p

I think the code for the email line should be:

  p class=emaila
href=mailto:sran...@gmail.com;lt;sran...@gmail.comgt;/a/p

The second issue is that the following now appears at the end of my HTML
documents:

  br/br/hr/p!-- hhmts start -- !-- hhmts end --/p

This appears to have something to do with the
org-export-html-html-helper-timestamp variable. If I change that
variable to an empty string, then I don't get the code (of course).
However, it seems to me this code shouldn't appear unless the user wants
it to appear. It didn't appear when I was using version 7.4.

Scott Randby



Re: [O] An HTML Export Observation

2011-03-15 Thread Scott Randby
On 03/15/2011 11:53 AM, Bastien wrote:
 Hi Scott,
 
 Scott Randby sran...@gmail.com writes:
 
 First, I am using org-mode release_7.5.41.g187b.
 
 Please make sure to pull after this commit:
 
 http://orgmode.org/w/?p=org-mode.git;a=commit;h=1b02fe8c6e3693a321bfc4d2da52fa64a7d22590
 
  '(org-export-html-with-timestamp t)
 
 This control the insertion of html-helper timestamp section.

This answers the question I asked in the email I just sent. Thanks.

 
  '(org-export-time-stamp-file t)
 
 This is the one you want. (:time-stamp-file in a publishing project).
 
  '(org-export-with-timestamps t)

 But when I do C-c C-e h on the document, the author, email, and creator
 appear in the postamble, but no timestamp.
 
 It works here with latest git.
 



Re: [O] Slow movement in large buffers

2011-03-15 Thread Scott Randby
On 03/15/2011 12:11 PM, Chris Randle wrote:
 Hi Matt
 
 On 2011-03-15 03:25, Matt Lundin wrote:
 I've been navigating the org-issues file (14000+ lines) and have
 found movement within the file to be fairly slow. Sometimes Emacs
 will lock up for several seconds.
 snip
 Do others have the same experience? If so, does anyone have any tips
 on how to diagnose this further?
 
 I keep all my info in one big Org-mode file which is currently just shy
 of 115,000 lines. There's the occasional stutter of a fraction of a
 second when I move across closed nodes containing large chunks, but it's
 still perfectly acceptable (to me, anyway!).
 
 My PC is an Intel dual-core 2.66GHz with 4GB RAM, so nothing
 earth-shattering.
 

I have a netbook running an Intel dual-core 1.66GHz and 2GB RAM. I
opened up org-issues.org and navigated through it without difficulty.
There was a delay for about a second when I unfolded the Development
Tasks headline, but there were no delays after that. Vertical movement
is instantaneous.

Scott Randby



[O] Another HTML Export Problem

2011-03-15 Thread Scott Randby
Some links are not exporting properly with org release_7.5.52.g0dc16. It
seems that any link that contains  does not export correctly. Take
the four links given below.

[[http://scripts.sil.org/cms/scripts/page.php?site_id=nrsiid=xetex][XeTeX]]

http://scripts.sil.org/cms/scripts/page.php?site_id=nrsiid=xetex

[[http://www.casio.com/products/Calculators__Dictionaries/][Casio]]

http://www.casio.com/products/Calculators__Dictionaries/


These links are incorrectly exported by version 7.5 as:

p
@lt;a
href=http://scripts.sil.org/cms/scripts/page.php?site_id=nrsiamp;amp;id=xetexgt;XeTeX/a
/p

p
@lt;a
href=http://scripts.sil.org/cms/scripts/page.php?site_id=nrsiamp;amp;id=xetexgt;http://scripts.sil.org/cms/scripts/page.php?sitesubid/sub=nrsiamp;amp;id=xetex/a
/p

p
@lt;a
href=http://www.casio.com/products/Calculators_amp;amp;_Dictionaries/gt;Casio/a
/p

p
@lt;a
href=http://www.casio.com/products/Calculators_amp;amp;_Dictionaries/gt;http://www.casio.com/products/Calculatorssubamp/sub;amp;subDictionaries/sub//a
/p

With version 7.4, the links are correctly exported as:

p
a
href=http://scripts.sil.org/cms/scripts/page.php?site_id=nrsiamp;id=xetex;XeTeX/a
/p

p
a
href=http://scripts.sil.org/cms/scripts/page.php?site_id=nrsiamp;id=xetex;http://scripts.sil.org/cms/scripts/page.php?site_id=nrsiamp;id=xetex/a
/p

p
a
href=http://www.casio.com/products/Calculators_amp;_Dictionaries/;Casio/a
/p

p
a
href=http://www.casio.com/products/Calculators_amp;_Dictionaries/;http://www.casio.com/products/Calculators_amp;_Dictionaries//a
/p

Scott Randby



Re: [O] Another HTML Export Problem

2011-03-17 Thread Scott Randby
On 03/17/2011 04:07 AM, Bastien wrote:
 Hi Scott,
 
 Bastien b...@altern.org writes:
 
 If you can, please test this patch.  I'm not applying it right now as 
 I want to make sure to apply a safe and complete patch.
 
 I've applied this patch now.

Hi Bastien,

It works and doesn't break anything else as far as I can tell. Thanks
for fixing this. I'm sorry I couldn't test the patch, but I want to
learn how to do such things sometime. I'll stick with reporting any bugs
I find for now.

Scott



[O] Links and visual-line-mode

2011-06-01 Thread Scott Randby
This is a problem that has been bugging me for some time because I use
visual-line-mode a lot when I'm working on my org-mode files.

Say I have visual-line-mode turned on when I'm editing an org-mode file.
If I do C-c C-l, put in the link address, hit Enter, put in a
description, and hit Enter, then the long lines in the document are no
longer wrapped even though (Org Wrap) still appears on the mode line.
The only way I've been able to get wrapping back is to do M-x
visual-line-mode twice (which is just leaving the mode and then bringing
it back. This is very inconvenient, especially when I want to enter
several links. Is this a bug or is there an easy way to remind Emacs
that it is in visual-line-mode and that it should wrap long lines?

I have org-mode 7.5 on Emacs 23.2.1

Scott Randby



Re: [O] Links and visual-line-mode

2011-06-01 Thread Scott Randby
On 06/01/2011 10:49 PM, Nick Dokos wrote:
 Scott Randby sran...@gmail.com wrote:
 
 This is a problem that has been bugging me for some time because I use
 visual-line-mode a lot when I'm working on my org-mode files.

 Say I have visual-line-mode turned on when I'm editing an org-mode file.
 If I do C-c C-l, put in the link address, hit Enter, put in a
 description, and hit Enter, then the long lines in the document are no
 longer wrapped even though (Org Wrap) still appears on the mode line.
 The only way I've been able to get wrapping back is to do M-x
 visual-line-mode twice (which is just leaving the mode and then bringing
 it back. This is very inconvenient, especially when I want to enter
 several links. Is this a bug or is there an easy way to remind Emacs
 that it is in visual-line-mode and that it should wrap long lines?

 I have org-mode 7.5 on Emacs 23.2.1

 
 Cannot reproduce this either on emacs 23.1.1 or emacs 24.0.50 - the only
 versions I have available here. org-mode is from earlier today.
 
 The word-wrap documentation suggests some interaction with
 truncate-lines and truncate-partial-width-windows, so that might be a
 path of investigation.  But when I try setting truncate-lines to t
 (which does truncate long lines even though Wrap is still on the mode
 line) and then do (visual-line-mode 1), the variable is set back to nil
 again. In any case, inserting links does not cause any other changes, no
 matter what I set the variable to.

In my .emacs, I have pop-up-windows set to nil. If I change that setting
to t, then visual-line-mode keeps working when C-c C-l is used to insert
a link. Changing pop-up-windows back to nil causes the bad behavior.

One reason I want pop-up-windows to be set to nil is because I
frequently use C-x C-b to look at the buffer list. If pop-up-windows is
set to t, then C-x C-b opens the buffer list in a pop-up window while
the active cursor is in the other window. This is ridiculous.

I found this message about org-mode and pop-up windows in the mailing
list archives:

http://lists.gnu.org/archive/html/emacs-orgmode/2009-04/msg00712.html

While the issue described is not the same as mine, the complaint about
org-mode not playing nice when pop-up-windows is set to nil is still valid.

Scott

 
 Nick
 



Re: [O] Links and visual-line-mode

2011-06-02 Thread Scott Randby
On 06/02/2011 01:58 AM, Nick Dokos wrote:
 Scott Randby sran...@gmail.com wrote:
 
 On 06/01/2011 10:49 PM, Nick Dokos wrote:
 Scott Randby sran...@gmail.com wrote:

 This is a problem that has been bugging me for some time because I use
 visual-line-mode a lot when I'm working on my org-mode files.

 Say I have visual-line-mode turned on when I'm editing an org-mode file.
 If I do C-c C-l, put in the link address, hit Enter, put in a
 description, and hit Enter, then the long lines in the document are no
 longer wrapped even though (Org Wrap) still appears on the mode line.
 The only way I've been able to get wrapping back is to do M-x
 visual-line-mode twice (which is just leaving the mode and then bringing
 it back. This is very inconvenient, especially when I want to enter
 several links. Is this a bug or is there an easy way to remind Emacs
 that it is in visual-line-mode and that it should wrap long lines?

 I have org-mode 7.5 on Emacs 23.2.1


 Cannot reproduce this either on emacs 23.1.1 or emacs 24.0.50 - the only
 versions I have available here. org-mode is from earlier today.

 The word-wrap documentation suggests some interaction with
 truncate-lines and truncate-partial-width-windows, so that might be a
 path of investigation.  But when I try setting truncate-lines to t
 (which does truncate long lines even though Wrap is still on the mode
 line) and then do (visual-line-mode 1), the variable is set back to nil
 again. In any case, inserting links does not cause any other changes, no
 matter what I set the variable to.

 In my .emacs, I have pop-up-windows set to nil. If I change that setting
 to t, then visual-line-mode keeps working when C-c C-l is used to insert
 a link. Changing pop-up-windows back to nil causes the bad behavior.

 One reason I want pop-up-windows to be set to nil is because I
 frequently use C-x C-b to look at the buffer list. If pop-up-windows is
 set to t, then C-x C-b opens the buffer list in a pop-up window while
 the active cursor is in the other window. This is ridiculous.

 I found this message about org-mode and pop-up windows in the mailing
 list archives:

 http://lists.gnu.org/archive/html/emacs-orgmode/2009-04/msg00712.html

 While the issue described is not the same as mine, the complaint about
 org-mode not playing nice when pop-up-windows is set to nil is still valid.

 
 Yes, with pop-up-windows set to nil, I can reproduce it too.
 The problem is that truncate-lines is set to t inside org-insert-link.
 When I comment that out, I get the behavior you expect. The question is:
 why is truncate-lines set to t? I don't know the answer to that, but it
 seems to be unnecessary: I think it could be let-bound instead or explicitly
 reset to its former value afterwards.

I will set pop-up-windows to t for now, but I hope the matter is
investigated further to see if truncate-lines must be set to t in
org-insert-link or if the code can be changed as you suggest.

Thanks for your help.

Scott

 
 The problems described by Samuel in the link you provided may be caused 
 by the same setting, but I haven't looked in detail.
 
 Nick
 



Re: [O] Links and visual-line-mode

2011-06-02 Thread Scott Randby
On 06/02/2011 12:41 PM, Nick Dokos wrote:
 Carsten Dominik carsten.domi...@gmail.com wrote:
 
 
 Thanks Nick.  Seems like Emacs is not sure in which
 buffer it is at that moment, because it has not yet been displayed.
 Could you please try to following paranoid patch?

 Thanks.

 - Carsten

 diff --git a/lisp/org.el b/lisp/org.el
 index 1ca03f4..b43a877 100644
 --- a/lisp/org.el
 +++ b/lisp/org.el
 @@ -8889,7 +8889,8 @@ Use TAB to complete link prefixes, then RET for =
 type-specific completion support
(reverse org-stored-links) \n
(let ((cw (selected-window)))
  (select-window (get-buffer-window *Org Links* 'visible))
 -(setq truncate-lines t)
 +(with-current-buffer *Org Links*
 +  (set (make-local-variable 'truncate-lines) t))
  (unless (pos-visible-in-window-p (point-max))
(org-fit-window-to-buffer))
  (and (window-live-p cw) (select-window cw)))

 
 Both this and the simpler
 
 -(setq truncate-lines t)
 +(with-current-buffer *Org Links*
 +  (setq truncate-lines t))
 
 seem to work in my simple test.

I looked at several different scenarios using Nick's solution and they
all worked fine. I didn't try Carsten's solution.

Scott

 
 Nick
 
 



Re: [O] Links and visual-line-mode

2011-06-03 Thread Scott Randby
On 06/02/2011 04:20 PM, Sebastien Vauban wrote:
 Hi all,
 
 Scott Randby wrote:
 One reason I want pop-up-windows to be set to nil is because I
 frequently use C-x C-b to look at the buffer list. If pop-up-windows is
 set to t, then C-x C-b opens the buffer list in a pop-up window while
 the active cursor is in the other window. This is ridiculous.
 
 Just on that one point, a trick read in Emacs Lisp programming IIRC:
 
 #+begin_src emacs-lisp
   ;; rebind `C-x C-b'
   (global-set-key (kbd C-x C-b) 'buffer-menu)
   ;; `buffer-menu' moves point in the window which lists your buffers
 #+end_src

Thanks for this. I've never wanted to eliminate all pop-up windows, and
this allows me to keep them and have C-x C-b work like I want it to
work. Emacs, org-mode, and the org-mode community are the best!

This is off-topic and it is certainly not new to long-time users of
Emacs, but I found the following discussion of the buffer menu on
EmacsWiki to be most enlightening.

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

Scott



Re: [O] C-c - broken

2011-06-06 Thread Scott Randby
On 06/06/2011 09:44 AM, Marvin Doyley wrote:
 Hi there,
 
 I use to use C-c - to convert headlines to plain list, but for some reason
 when I do this it tries to make a table of content, see below
 
 TABLE-OF-CONTENTS on ~/Documents/General/O/org/planner.org
 SPC=view TAB=goto RET=goto+hide [q]uit [r]escan [l]abels [f]ollow [x]r
 [?]Help
 --
 
 
 Does anybody now how to fix this (i.e., get it to behave the old way)

I had a similar issue, but its occurrence was not consistent. In my
case, the headline would remain a headline. It seemed to happen only
when the last line of the file was a headline and only that headline
wouldn't change to a list item. When I would reload the file (M-x
revert-buffer), C-c - would function normally usually but not always. It
is weird and I haven't had the time to figure out exactly when this bad
behavior occurs.

Scott Randby



Re: [O] Chapter headings

2014-03-29 Thread Scott Randby
On 03/28/2014 10:18 PM, Steven Arntson wrote:
 Back in my mac-user days I used a program called Scrivener that would
 renumber chapters on the fly if I dragged them to new positions. I think
 I was missing that functionality a little, but now that I think about
 it, I shouldn't miss it. It didn't add anything. My next project will be
 to learn more about exporting. I'm sure I will have questions as I
 encounter that ...


One of the wonderful features of Org is the ability to rearrange
headlines easily without worrying about numbering. You can switch
headlines around at will and Org takes care of all the numbering when
you export.

Scott Randby



Re: [O] exporting α/β to latex/pdf

2014-05-04 Thread Scott Randby
On 05/04/2014 11:13 AM, Sharon Kimble wrote:
 I have these two symbols showing in my org-mode buffer with no 
 problems ╭ │ alpha (ER-α) and beta (ER-β) ╰
 
 but they are not exported to latex/pdf. How then can I do so 
 please?

Are you using LaTeX markup to get these symbols? Use $\alpha$ and
$\beta$ to get these two symbols.

Scott Randby




Re: [O] Virtualenv and HTML5 Help

2014-05-07 Thread Scott Randby
On 05/07/2014 04:17 PM, Thomas Marek wrote:
 
 *HTML5 Export:*
 *
 *
 I'm trying to export my org-files in 'html5', as opposed to the default
 'xhtml-strict'. The manual says to set [ org-html-html5-fancy ] to t. I
 tried searching for [ org-html-html5-fancy ] in [ M-x org-customize ]
 but I couldn't find it. I tried adding [ (setq org-html-html5-fancy t) ]
 to my init.el, but nothing happened. I'm not at all proficient in
 emacs-lisp so my syntax may be wrong. The manual also says I can set [
 html5-fancy ] in an options line. I'm not really sure how to do this. I
 tried [ #+OPTIONS html5-fancy: t ] but it didn't do anything.
 
  1. How can I export to 'html5' instead of 'xhtml-strict' in org version
 7.9.3f and Emacs version 24.3.1?
  2. Is there any way I can view and customize the back-end that parses
 the org file to produce the html?
 

I believe you need to upgrade your org to version 8 for (setq
org-html-html5-fancy t) to work.

Scott Randby

 
 I appreciate any help you can offer.
 
 - M



Re: [O] Pandoc users, how do you use it with org-mode, and why?

2014-05-22 Thread Scott Randby
On 05/21/2014 02:33 PM, Eric S Fraga wrote:
 On Wednesday, 21 May 2014 at 13:01, Grant Rettke wrote:
 Hi,

 Lately been hearing great things about Pandoc's ability to export to ebook
 formats and more.

 Folks that use both Pandoc and org-mode: how do you use them together, and
 why?
 
 I've only recently started using pandoc and I have exactly one use case:
 the need, in some cases, to produce a .docx document with
 mathematics.  Pandoc will convert LaTeX to docx and handles equations
 reasonably well (not perfect but better than any other alternative I
 have found to date).  The LaTeX generated by org is usually perfectly
 fine.

I've been playing around with Pandoc, and I've found that its ability to
convert LaTeX to docx is rather limited. While it will convert equations
and mathematical expressions reasonably well, it is not able to convert
arrays that use things such as \hline or other formatting commands. This
isn't surprising to me, but it means that arrays with special formatting
need to be altered before using Pandoc.

Scott Randby



Re: [Orgmode] Org-Info.js Issue

2009-03-04 Thread Scott Randby
Sebastian Rose wrote:
 Hi Scott,


 this is fixed now in v.0.1.0.4

Thanks, it works. I do have some suggestions for the title.

1. Unfortunately, I cannot use the ftoc:t option. For reasons I won't
go into here, I cannot have the table of contents displayed on one
side of the page. If I use ftoc:t, then the table of contents will
always be displayed at the top which is not what I need.

What I need is for the title to be independent of the table of contents.

2. I like the idea of having the title always visible in
info-view-mode. However, others may not. Is it possible to add a title
display option to the code? That way the user could decide which
option to use. Maybe something like this:

To always display the title in info-view-mode, add the following to
the org file:

#+INFOJS_OPT: infotitledisplay:always

To never display the title in info-view-mode, add the following to the org file:

#+INFOJS_OPT: infotitledisplay:never

To only display the title above the table of contents in
info-view-mode, add the following to the org file:

#+INFOJS_OPT: infotitledisplay:top

I think the default should be either infotitledisplay:always or
infotitledisplay:top with my preference being
infotitledisplay:always. In plain-view-mode it makes sense to me to
have the title at the top, I don't see any need to have title display
options for this mode.

Unfortunately, my knowledge of Javascript is very limited, so I'm not
able to write the code for these options at this time. But I'd be
happy to test any changes you make.

Scott



 As always, the script is available on repo_or_cz:

 http://repo.or.cz/w/Worg.git?a=blob_plain;f=code/org-info-js/org-info.js;hb=e11bc7fe538a513d899f4d006bf5f887f35dd8ce

 Regards,

   Sebastian

 Sebastian Rose sebastian_r...@gmx.de writes:
 Hi Scott,


 thanks for the report.

 The handling of the title is one of the weak points of the script
 (another one being the text before first headline).

 The reason might be, that I was never sure what to do with it in
 info-view-mode, plain-view-mode, TOC hidden, TOC.

 In info-view-mode, the title is displayed on top as `Top: title', which
 is not what one might expect.

 Look at http://orgmode.org/worg/org-faq.php - there the title is always
 visible (fixed toc).


 Should we do it that way?


 As the docs say, the slides mode is very experimental...


 Regards,

Sebastian



 sran...@uakron.edu writes:
 Hi again,

 Sorry for the multiple messages.

 I just noticed one other thing. When I go from slide mode to plain mode, the
 full table of contents will not be displayed unless I reload the page.

 Scott Randby




 ___
 Emacs-orgmode mailing list
 Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Org-Info.js Issue

2009-03-04 Thread Scott Randby
Sebastian Rose wrote:
 in info-view-mode the title is by default in the first section to avoid
 scrolling.

Alright, now I understand the issue.


 But you may pull the latest version and append '_title-above' to the
 `view:' option, to leave it above regardless of view-mode.


 #+INFOJS_OPT: view:info_title-above
 #+INFOJS_OPT: view:plain_title-above

Great.

Thanks for your work and quick responses.

Scott


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


[Orgmode] Tag Searches

2009-03-04 Thread Scott Randby
Hi,

Whenever a tag search is done, the beginning of the lines containing
the desired tags are highlighted (in yellow with my setup). I can see
why this is desired behavior, but I don't want my tag searches to
highlight anything. First, I don't like the way the highlighting
looks, and second, the highlighting forces me to do C-u C-c C-c twice
if I want to recompute the values in a table. Being lazy, I only want
to do C-u C-c C-c once.

So, is there a way to set org-mode so that it won't highlight the
results of a tag search? I've tried customizing various variables, but
nothing I've tried works, and I can't find anything about this in the
manual.

Oh yes, I'm using org-mode 6.23 in emacs 22 though this has been an
issue for me all the versions of org-mode I've used.

Scott Randby


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


Re: [O] Support Freemind/Freeplane export

2013-03-10 Thread Scott Randby
On 03/03/2013 08:33 PM, François Pinard wrote:
 Jambunathan K kjambunat...@gmail.com writes:
 
 How many people are going to read HTML code?  [...]  In short, the
 concern you have raised is more cosmetic than functional.
 
 Replying to the org-mode mailing list.  I did not closely followed the
 discussion, so maybe I'm missing the point.
 
 A lot of people are not going to read HTML, but it does not mean that
 nobody does.  Many people still read HTML code, for a variety of
 reasons.  I find HTML code should stay as legible as possible.

I agree. I read the HTML code that org generates and there other are
people who read the same code and don't use org. Legibility of the code
generated by org is a necessity for me.

Scott Randby



[O] Org Community

2013-03-10 Thread Scott Randby
Last September, I attended a talk given by the lead developers of a
prominent free software project. One of the developers spoke about the
importance of maintaining a friendly community that does not drive
people away. In particular, the developer emphasized that the
community is more important than the code.

The org community has been wonderful since I've started using org. My
questions on even the most basic matters have been answered with
respect and clarity. Even though I'm a mere user of org, I've never
hesitated to participate in a discussion on the mailing list.

However, I am concerned about the future of org. There is one
individual who is poisoning the atmosphere by engaging in unfair and
unfounded name calling that simply should not be included in messages
to this list. Now this person wants to take some of their
contributions out of org. The developer of the talk I attended called
this tactic hostage taking and said that it is better for the
community to let hostage takers go their own way. The project and
community are more important than the code. The code can be written by
others, or the community can decide to go in a different
direction. Giving in to hostage takers leads to more hostage taking
and the decline of the project.

Many of the users of org find it to be irreplaceable. We don't want to
see org fall apart because of dissension in the community. I'm not
saying that we shouldn't have dissent and disagreement. No, those are
essential for a vigorous and healthy project. It is hateful and
untruthful personal attacks that we should not accept no matter how
significant the code contributions of those making the attacks.

Scott Randby



Re: [O] OT: Annotating PDF Org

2013-05-09 Thread Scott Randby
On 05/07/2013 11:02 PM, Paul Rudin wrote:
 Russell Adams rlad...@adamsinfoserv.com writes:
 
 Given the emacs and Org oriented nature of this group, I'd like to
 know if anyone has found a good Orgish (ie: portable, text, etc) to
 annotate PDFs?

 Features would be items like highlighting blocks, adding notes
 (margins or sticky notes), and saving to either a sidecar file in a
 text format (ala Org) or directly appending the PDF.
 
 
 I realise this doesn't answer your question exactly, but I use xournal
 for adding highlights and notes to pdfs on linux. It does save the notes
 in a sidecar file, but its not a text file. There's an option to save
 a new pdf with the annotations included.

I've also used Xournal for marking up and adding notes to PDF files, but
the new PDF is blurry if the original PDF came from a LaTeX file.

Scott Randby



[O] Org 8.0 HTML Export

2013-05-19 Thread Scott Randby
I'm working on switching to 8.0 and I'm having a few difficulties. I use
my own style sheet for web pages, and I figured out that I needed to
change #+STYLE: to #+HTML_HEAD: in order to use my style sheet. However,
I don't want to include the default style and the default script when I
export. I've been looking around in the ORG-NEWS file and the
documentation, but I don't see anything different than what I have now.
I have this in my init.el:

(setq org-export-html-style )
(setq org-export-html-style-include-default nil)
(setq org-export-html-style-include-scripts nil)
(setq org-export-html-table-tag table)

What do I need to change?

Thanks,
Scott Randby



Re: [O] Org 8.0 HTML Export

2013-05-20 Thread Scott Randby
On 05/20/2013 05:22 AM, Suvayu Ali wrote:
 Hi Scott,
 
 On Sun, May 19, 2013 at 09:08:18PM -0400, Scott Randby wrote:
 I'm working on switching to 8.0 and I'm having a few difficulties. I use
 my own style sheet for web pages, and I figured out that I needed to
 change #+STYLE: to #+HTML_HEAD: in order to use my style sheet. However,
 I don't want to include the default style and the default script when I
 export. I've been looking around in the ORG-NEWS file and the
 documentation, but I don't see anything different than what I have now.
 I have this in my init.el:

 (setq org-export-html-style )
 (setq org-export-html-style-include-default nil)
 (setq org-export-html-style-include-scripts nil)
 (setq org-export-html-table-tag table)

 What do I need to change?
 
 http://orgmode.org/worg/org-8.0.html#sec-5
 
 Hope this helps,
 

Thanks, that worked.

Scott Randby



[O] Customizing Org 8.0 Export

2013-05-20 Thread Scott Randby
First, I am using Org version 8.0.3-140-g84bae8.

I'm having some weird customization issues that I don't know how to
resolve.

When Emacs is started, not all the org variables are visible or
available for customization. Here is an example involving HTML export
customization.

1. Start Emacs
2. M-x customize-group org-export-html
   - None of the org-html variables appear on the list.
3. M-x customize-variable org-html-head
   - Changes to org-export-html-head
4. Open up an org file to export to HTML
5. C-c C-e h h
6. M-x customize-group org-export-html
   - Now the org-html variables appear
7. M-x customize-variable org-html-head
   - Works

I can live with the above behavior, but I have a problem when it comes
to customizing LaTeX export.

1. In a manner similar to the org-html variable situation described
   above, variables such as org-latex-classes are not available for
   customization when Emacs is started. One must do C-c C-e l p on an
   org file to make these variables available.

2. I want to put the following in my init.el:

 (add-to-list 'org-latex-classes
 '(notesclass
   \\documentclass{article}
   (\\section{%s} . \\newsection{%s})
   (\\subsection{%s} . \\newsubsection{%s})))

But when I do, I get the following on startup:

  Warning (initialization): An error occurred while loading
  `/home/srandby/.emacs.d/init.el':

  Symbol's value as variable is void: org-latex-classes

  To ensure normal operation, you should investigate and remove
  the cause of the error in your initialization file.  Start
  Emacs with the `--debug-init' option to view a complete error
  backtrace.

This means I cannot put the above code in my init.el file where I
want it to be.

Is there any way to make all of org's variables available for
customization on startup?

Scott Randby




Re: [O] Customizing Org 8.0 Export

2013-05-21 Thread Scott Randby
On 05/21/2013 01:25 AM, John Hendy wrote:
 On May 20, 2013 9:03 PM, Scott Randby sran...@gmail.com wrote:
 Is there any way to make all of org's variables available for
 customization on startup?

 
 Yes, see the original exporter announcement:
 
 http://article.gmane.org/gmane.emacs.orgmode/65574
 
 Section 3.0 calls out two methods of setting available backends. I'm
 guessing you are customizing org-export-backends vs (require 'ox-backend).
 Try requiring the backend and all associated variables will be there on
 startup.
 
 John

Thanks for the solution.

This is the second time in a row I've been referred to the original
exporter announcement. I'm sorry that my questions are so basic, but I
put off switching to 8.0 because my understanding of how org and Emacs
work is not very deep and I know little elisp. Once I have things set
up, I leave them alone and get to work. I'm very grateful to this list
for helping me figure out things that, in hindsight, are obvious.

Scott Randby



Re: [O] Customizing Org 8.0 Export

2013-05-21 Thread Scott Randby
On 05/21/2013 10:48 AM, John Hendy wrote:
 On Tue, May 21, 2013 at 8:53 AM, Scott Randby sran...@gmail.com wrote:
 On 05/21/2013 01:25 AM, John Hendy wrote:
 On May 20, 2013 9:03 PM, Scott Randby sran...@gmail.com wrote:
 Is there any way to make all of org's variables available for
 customization on startup?


 Yes, see the original exporter announcement:

 http://article.gmane.org/gmane.emacs.orgmode/65574

 Section 3.0 calls out two methods of setting available backends. I'm
 guessing you are customizing org-export-backends vs (require 'ox-backend).
 Try requiring the backend and all associated variables will be there on
 startup.

 John

 Thanks for the solution.

 This is the second time in a row I've been referred to the original
 exporter announcement. I'm sorry that my questions are so basic, but I
 put off switching to 8.0 because my understanding of how org and Emacs
 work is not very deep and I know little elisp. Once I have things set
 up, I leave them alone and get to work. I'm very grateful to this list
 for helping me figure out things that, in hindsight, are obvious.
 
 No problem, and I wouldn't say it was *that* obvious :) I found this
 document extremely helpful:
 - http://orgmode.org/worg/org-8.0.html
 
 I also started (and should really update again/maintain!) this as a
 landing place for documenting other things as they come up:
 - http://orgmode.org/worg/exporters/ox-overview.html
 
 And have a blog post walking through setting things up here, if it helps:
 - 
 http://jwhendy.blogspot.com/2013/03/migrating-to-new-org-mode-exporter-org.html

Thanks for these links. I have been to the org-8.0.html page before, but
I only read part of it. If I would just read through all these nice
pages, then there would be no problem setting things up. But my approach
to Emacs and org is rather haphazard --- I pick up those things I need
and ignore all the rest. My init.el file is a sorry mess. One of these
days I'll go through everything methodically.

 
 
 Good luck! We're all learning here, so no worries on the mailing list.
 More things for Google to index for users stumbling on this after you!

Yes, this list is great. I've asked simple questions on other lists and
received nasty RTFM responses.

 
 
 John
 

 Scott Randby
 



[O] org-export-html-date-format-string

2013-05-21 Thread Scott Randby
I'm having trouble customizing the variable
org-export-html-date-format-string. Before I tried to customize it, I
would get the date in the postamble when I exported to html:

  p class=dateCreated: 2013-05-21 Tue 12:44/p

The original string for the variable is: %Y-%m-%dT%R%z

I don't want this string, so I changed it to %F%T%Z which didn't give
any date when I exported. So I changed the string to %Y-%m-%d and still
had no date after export. Changing back to the default string doesn't
work either.

This seems like a bug. Here is what is in my init.el after customization:

 '(org-export-html-date-format-string %Y-%m-%dT%R%z)

 '(org-html-postamble t)

 '(org-html-postamble-format (quote ((en p class=\author\Author:
%a /p p class=\date\Date: %d/p p class=\creator\%c/p

Here is the html of the postamble after export:

  div id=postamble class=status
  p class=authorAuthor: Scott P. Randby /p
  p class=dateDate: /p
  p class=creatora
  href=http://www.gnu.org/software/emacs/;Emacs/a 24.2.1 (a
  href=http://orgmode.org;Org/a mode 8.0.3)/p
  /div

How do I get the date variable to work?

Scott Randby



Re: [O] org-export-html-date-format-string

2013-05-21 Thread Scott Randby
I solved the problem by putting the following in the file to be exported:

#+DATE: [2013-05-21 Tue 14:45]

However, this means I have to remember to change the date every time I
export. Is there an easier way to do this?

Scott Randby

On 05/21/2013 01:49 PM, Scott Randby wrote:
 I'm having trouble customizing the variable
 org-export-html-date-format-string. Before I tried to customize it, I
 would get the date in the postamble when I exported to html:
 
   p class=dateCreated: 2013-05-21 Tue 12:44/p
 
 The original string for the variable is: %Y-%m-%dT%R%z
 
 I don't want this string, so I changed it to %F%T%Z which didn't give
 any date when I exported. So I changed the string to %Y-%m-%d and still
 had no date after export. Changing back to the default string doesn't
 work either.
 
 This seems like a bug. Here is what is in my init.el after customization:
 
  '(org-export-html-date-format-string %Y-%m-%dT%R%z)
 
  '(org-html-postamble t)
 
  '(org-html-postamble-format (quote ((en p class=\author\Author:
 %a /p p class=\date\Date: %d/p p class=\creator\%c/p
 
 Here is the html of the postamble after export:
 
   div id=postamble class=status
   p class=authorAuthor: Scott P. Randby /p
   p class=dateDate: /p
   p class=creatora
   href=http://www.gnu.org/software/emacs/;Emacs/a 24.2.1 (a
   href=http://orgmode.org;Org/a mode 8.0.3)/p
   /div
 
 How do I get the date variable to work?
 
 Scott Randby
 



Re: [O] org-export-html-date-format-string

2013-05-21 Thread Scott Randby
On 05/21/2013 02:55 PM, Nicolas Goaziou wrote:
 Hello,
 
 Scott Randby sran...@gmail.com writes:
 
 I'm having trouble customizing the variable
 org-export-html-date-format-string.
 
 Use `org-html-metadata-timestamp-format' instead.

Thanks. This worked after I replaced %d with %T in the format string for
org-html-postamble-format.

 
 
 Regards,
 



[O] skip:t option not working

2013-08-09 Thread Scott Randby
I cannot get the skip:t option to work with HTML export. This option is
listed in the manual, and it worked before Org-8. Am I missing
something? Below is a simple sample in which skip:t doesn't work, even
with emacs -q. I'm using Emacs 24.2.1 with Org 8.0.3.

Scott Randby


This text should be skipped upon export.

* Test section

This is the text in a test section.

#+OPTIONS: skip:t toc:nil
#+TITLE:
-



Re: [O] skip:t option not working

2013-08-10 Thread Scott Randby
On 08/09/2013 10:58 PM, Nick Dokos wrote:
 Scott Randby sran...@gmail.com writes:
 
 I cannot get the skip:t option to work with HTML export. This option is
 listed in the manual, and it worked before Org-8. Am I missing
 something? Below is a simple sample in which skip:t doesn't work, even
 with emacs -q. I'm using Emacs 24.2.1 with Org 8.0.3.

 
 I don't think it exists any longer.
 

If the option no longer exists, then it might be a good idea to remove
it from the manual.



Re: [O] skip:t option not working

2013-08-10 Thread Scott Randby
On 08/10/2013 02:00 PM, Nick Dokos wrote:
 Scott Randby sran...@gmail.com writes:
 
 On 08/09/2013 10:58 PM, Nick Dokos wrote:
 Scott Randby sran...@gmail.com writes:

 I cannot get the skip:t option to work with HTML export. This option is
 listed in the manual, and it worked before Org-8. Am I missing
 something? Below is a simple sample in which skip:t doesn't work, even
 with emacs -q. I'm using Emacs 24.2.1 with Org 8.0.3.


 I don't think it exists any longer.


 If the option no longer exists, then it might be a good idea to remove
 it from the manual.

 
 Indeed, but afaict, it's no longer in the current (8.0.7) manual. Are
 you looking at an older version of the manual perhaps? I might have
 missed the reference of course, in which case if you post the details,
 somebody will fix it.
 

You can find a reference to the skip option on this page:

http://orgmode.org/manual/Export-options.html

It seems that this is the old 12.2 page, but it still links up to the
8.0.7 manual. No wonder I've been confused. The correct 12.2 page is
given by this link:

http://orgmode.org/manual/Export-back_002dends.html#Export-back_002dends

The current export options (which I missed before) are now in section 12.3:

http://orgmode.org/manual/Export-settings.html#Export-settings

I think the website needs to be cleaned up a bit.

Scott Randby



[O] LaTeX export question

2013-08-20 Thread Scott Randby
Whenever I export an org file to LaTeX, the LaTeX file always gives me
these lines in the preamble right before \begin{document} (name these
lines Block 1):

\hypersetup{
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={}}

I'd like Block 1 to not appear when I export because I give values to
its options in my org file as follows:

#+LATEX_HEADER: \hypersetup{pdfauthor={Scott}, pdftitle={Title},
 pdfsubject={Subject}, pdfkeywords={Key}, pdfproducer={Emacs Org},
 pdfcreator={Creator}}

The above header is exported properly, but it appears before Block 1 in
the preamble of the LaTeX file which means its values are overridden by
the values of Block 1. Hence no keywords, subject, or creator in the
resulting PDF unless I edit the LaTeX file and delete Block 1.

How do I stop the appearance of Block 1 when I export an org file to
LaTeX? I'd rather not be forced to edit the LaTeX file before I make a
PDF.

Scott Randby



Re: [O] LaTeX export question

2013-08-20 Thread Scott Randby
On 08/20/2013 12:02 PM, Thomas S. Dye wrote:
 Aloha Scott,
 
 Scott Randby sran...@gmail.com writes:
 
 Whenever I export an org file to LaTeX, the LaTeX file always gives me
 these lines in the preamble right before \begin{document} (name these
 lines Block 1):

 \hypersetup{
   pdfkeywords={},
   pdfsubject={},
   pdfcreator={}}

 I'd like Block 1 to not appear when I export because I give values to
 its options in my org file as follows:
 
   (setq org-latex-with-hyperref nil)
 
 hth,
 Tom
 

Thanks.

Scott



Re: [O] skip:t option not working

2013-09-02 Thread Scott Randby
On 09/02/2013 01:47 AM, Carsten Dominik wrote:

 On 10.8.2013, at 20:46, Scott Randby sran...@gmail.com wrote:

 On 08/10/2013 02:00 PM, Nick Dokos wrote:
 Scott Randby sran...@gmail.com writes:

 On 08/09/2013 10:58 PM, Nick Dokos wrote:
 Scott Randby sran...@gmail.com writes:

 I cannot get the skip:t option to work with HTML export. This option is
 listed in the manual, and it worked before Org-8. Am I missing
 something? Below is a simple sample in which skip:t doesn't work, even
 with emacs -q. I'm using Emacs 24.2.1 with Org 8.0.3.


 I don't think it exists any longer.


 If the option no longer exists, then it might be a good idea to remove
 it from the manual.


 Indeed, but afaict, it's no longer in the current (8.0.7) manual. Are
 you looking at an older version of the manual perhaps? I might have
 missed the reference of course, in which case if you post the details,
 somebody will fix it.


 You can find a reference to the skip option on this page:

 http://orgmode.org/manual/Export-options.html

 It seems that this is the old 12.2 page, but it still links up to the
 8.0.7 manual. No wonder I've been confused. The correct 12.2 page is
 given by this link:

 http://orgmode.org/manual/Export-back_002dends.html#Export-back_002dends

 The current export options (which I missed before) are now in section 12.3:

 http://orgmode.org/manual/Export-settings.html#Export-settings

 I think the website needs to be cleaned up a bit.

 Is this still an issue?

The following page still exists on the website:

  http://orgmode.org/manual/Export-options.html

Its title is 12.2 Export options and the Up navigation link
(http://orgmode.org/manual/Exporting.html#Exporting) on the page leads
to the Exporting page (section 12) of the current manual.

In the current manual, section 12.2 is Export back-ends.

Scott Randby




Re: [O] A tutorial on using ox-rss.el to publish an Emacs-made blog

2013-09-25 Thread Scott Randby
On Wed, Sep 25, 2013 at 10:31 AM, Bastien b...@gnu.org wrote:
 Hi all,

 reading Sacha's post on blogging with Emacs* pushed me to write this
 small tutorial on how to use ox-rss.el to write/publish a blog with
 Emacs and Org:

 http://bzg.fr/blogging-from-emacs.html

 Enjoy!

 * 
 http://sachachua.com/blog/2013/09/when-i-blog-with-emacs-and-when-i-blog-with-something-else/

 --
  Bastien



Thank you very much for this wonderful post.

Scott Randby



[O] Setting the PDF viewer

2013-10-26 Thread Scott Randby
If I have a file:./paper.pdf link in an Org document, the PDF opens
using GV when I click on the link. I like GV, but it doesn't support
links. How do I change the PDF viewer for file:./paper.pdf external
links?

Scott Randby



Re: [O] Setting the PDF viewer

2013-10-26 Thread Scott Randby
On 10/26/2013 11:26 AM, Oleh wrote:
 The variable to set is `org-file-apps'.
 Here's what I have currently:

 (setq org-file-apps '((auto-mode . emacs)
 (\\.x?html?\\' . firefox %s)
 (\\.pdf\\' . evince \%s\)
   (\\.pdf::\\([0-9]+\\)\\' . evince \%s\ -p %1)
   (\\.pdf.xoj . xournal %s)))

 Just change evince to your favorite viewer.
 And make sure that you're calling `org-return' to open (it's bound to C-m).

 Oleh


This is exactly what I need and it has the added benefit of showing me
how to open XOJ files in Xournal via an external link in an Org
file. Many thanks.

Scott

 On Sat, Oct 26, 2013 at 5:14 PM, Scott Randby sran...@gmail.com wrote:
 If I have a file:./paper.pdf link in an Org document, the PDF opens
 using GV when I click on the link. I like GV, but it doesn't support
 links. How do I change the PDF viewer for file:./paper.pdf external
 links?

 Scott Randby





Re: [O] Copy Sub-tree

2013-10-28 Thread Scott Randby
Put point on the subtree headline and then C-c C-x M-w.

Scott Randby

On Mon, Oct 28, 2013 at 1:18 PM, Sam Flint swfl...@flintfam.org wrote:
 Is there a speed command or command in general to copy a subtree to the
 clipboard or to another file?

 Thanks,
 Sam
 --
 Sam Flint
 swfl...@flintfam.org
 freenode: swflint
 (402) 517-8468
 http://flintfam.org/~swflint
 BAFBF3FF




Re: [O] Copy Sub-tree

2013-10-28 Thread Scott Randby
On Mon, Oct 28, 2013 at 1:18 PM, Sam Flint swfl...@flintfam.org wrote:
 Is there a speed command or command in general to copy a subtree to the
 clipboard or to another file?

 Thanks,
 Sam
 --
 Sam Flint
 swfl...@flintfam.org
 freenode: swflint
 (402) 517-8468
 http://flintfam.org/~swflint
 BAFBF3FF


I forgot something.

Copy a subtree: C-c C-x M-w
Paste a subtree: C-c C-x C-y

Scott Randby



Re: [O] publishuing in html5

2013-12-10 Thread Scott Randby
On 12/09/2013 02:53 PM, Nick Dokos wrote:
 Catonano caton...@gmail.com writes:
 
 I' m trying to follow the examples at this page

 http://orgmode.org/manual/HTML-doctypes.html#HTML-doctypes

 to transform

  #+BEGIN_ASIDE
  Lorem ipsum
  #+END_ASIDE

 in

  aside
pLorem ipsum/p
  /aside

 but it doesn't work, I still get

 div class=aside
 p
 Lorem ipsum
 /p

 /div

 I tried to both include the directive in the group in the project
 definition AND using

 #+HTML_HTML5_FANCY: t

 
 Try
 
 --8---cut here---start-8---
 #+HTML_DOCTYPE: html5
 #+OPTIONS: html5-fancy:t
 
 #+BEGIN_ASIDE
 Lorem Ipsum
 #+END_ASIDE
 --8---cut here---end---8---
 

I cannot get the html5-fancy:t option to work when I set it in a file in
the manner described above. It only works when I set
org-html-html5-fancy to t in my init file.

I'm using Org 8.0.3 and Emacs 24.2.1. Do I need to upgrade my version of
Org?

Scott Randby


 in level-0.org

 What am I missing ?
 
 Nick
 
 
 



Re: [O] publishuing in html5

2013-12-11 Thread Scott Randby
On 12/11/2013 07:58 AM, Nick Dokos wrote:
 Scott Randby sran...@gmail.com writes:
 
 On 12/09/2013 02:53 PM, Nick Dokos wrote:
 Catonano caton...@gmail.com writes:

 I' m trying to follow the examples at this page

 http://orgmode.org/manual/HTML-doctypes.html#HTML-doctypes

 to transform

  #+BEGIN_ASIDE
  Lorem ipsum
  #+END_ASIDE

 in

  aside
pLorem ipsum/p
  /aside

 but it doesn't work, I still get

 div class=aside
 p
 Lorem ipsum
 /p

 /div

 I tried to both include the directive in the group in the project
 definition AND using

 #+HTML_HTML5_FANCY: t


 Try

 --8---cut here---start-8---
 #+HTML_DOCTYPE: html5
 #+OPTIONS: html5-fancy:t

 #+BEGIN_ASIDE
 Lorem Ipsum
 #+END_ASIDE
 --8---cut here---end---8---


 I cannot get the html5-fancy:t option to work when I set it in a file in
 the manner described above. It only works when I set
 org-html-html5-fancy to t in my init file.

 
 Did you C-c C-c on the #+OPTIONS line (or otherwise reinitialize the
 mode of the file)?
 

I tried C-c C-c on the #+OPTIONS line and I tried killing the file and
opening it up again---neither works. I looked in the manual (section
12.3) and noticed that html5-fancy: is not on the list of arguments
recognized by the #+OPTIONS keyword.



Re: [O] publishuing in html5

2013-12-11 Thread Scott Randby
On 12/11/2013 10:04 AM, Nick Dokos wrote:
 Scott Randby sran...@gmail.com writes:
 
 
 I tried C-c C-c on the #+OPTIONS line and I tried killing the file and
 opening it up again---neither works. I looked in the manual (section
 12.3) and noticed that html5-fancy: is not on the list of arguments
 recognized by the #+OPTIONS keyword.
 
 It's documented in section 12.6.2, HTML doctypes.

Yes, I had seen that documentation earlier, but I can't get it to work.
I have no idea what the trouble could be. Any suggestions?

 
 Nick
 
 
 



[O] Leading headline of a subtree tag export

2013-12-11 Thread Scott Randby
I had a file with the following structure:

#+OPTIONS: tags:nil
* Grades
** Student :studenttag:
:PROPERTIES:
:EXPORT_FILE_NAME: Exported-Grades/studenttag
:END:
*** Totals :totals:
Content

Whenever I exported the entire file, no tags were exported (what I
want). However, whenever I exported the Student subtree, the tag for
that subtree was exported (not what I want) but the tag for the Totals
subtree was not exported (what I want). Then I tried the following:

#+OPTIONS: tags:nil
* Grades
** Student :studenttag:
:PROPERTIES:
:EXPORT_FILE_NAME: Exported-Grades/studenttag
:EXPORT_OPTIONS: tags:nil
:END:
*** Totals :totals:
Content

The tag for the Student subtree is still exported when I export the
Student subtree. How do I prevent this tag from being exported when I
export the subtree?

Scott Randby



Re: [O] publishuing in html5

2013-12-11 Thread Scott Randby
On 12/11/2013 10:24 AM, Nicolas Goaziou wrote:
 Hello,
 
 Scott Randby sran...@gmail.com writes:
 
 On 12/11/2013 10:04 AM, Nick Dokos wrote:
 Scott Randby sran...@gmail.com writes:


 I tried C-c C-c on the #+OPTIONS line and I tried killing the file and
 opening it up again---neither works. I looked in the manual (section
 12.3) and noticed that html5-fancy: is not on the list of arguments
 recognized by the #+OPTIONS keyword.

 It's documented in section 12.6.2, HTML doctypes.

 Yes, I had seen that documentation earlier, but I can't get it to work.
 I have no idea what the trouble could be. Any suggestions?
 
 You also need to set `org-html-doctype' to html5 or some such in order
 to make html5-fancy effective.

I already have the following in my file:

#+HTML_DOCTYPE: html5

Scott

 
 
 Regards,
 



Re: [O] publishuing in html5

2013-12-11 Thread Scott Randby
On 12/11/2013 11:03 AM, Nicolas Goaziou wrote:
 Scott Randby sran...@gmail.com writes:
 
 I already have the following in my file:

 #+HTML_DOCTYPE: html5
 
 You need to upgrade Org then.

Okay, I will do that.

Scott

 
 
 Regards,
 



Re: [O] Leading headline of a subtree tag export

2013-12-11 Thread Scott Randby
On 12/11/2013 10:57 AM, Nicolas Goaziou wrote:
 Hello,
 
 Scott Randby sran...@gmail.com writes:
 
 I had a file with the following structure:

 #+OPTIONS: tags:nil
 * Grades
 ** Student :studenttag:
 :PROPERTIES:
 :EXPORT_FILE_NAME: Exported-Grades/studenttag
 :END:
 *** Totals :totals:
 Content

 Whenever I exported the entire file, no tags were exported (what I
 want). However, whenever I exported the Student subtree, the tag for
 that subtree was exported (not what I want) but the tag for the Totals
 subtree was not exported (what I want). Then I tried the following:

 #+OPTIONS: tags:nil
 * Grades
 ** Student :studenttag:
 :PROPERTIES:
 :EXPORT_FILE_NAME: Exported-Grades/studenttag
 :EXPORT_OPTIONS: tags:nil
 :END:
 *** Totals :totals:
 Content

 The tag for the Student subtree is still exported when I export the
 Student subtree. How do I prevent this tag from being exported when I
 export the subtree?
 
 During a subtree export, the root headline becomes document's title, so
 tags:nil no longer applies. By default everything is included, todo
 keyword and tags.
 
 You can specify another title with :EXPORT_TITLE:, e.g.
 
   :EXPORT_TITLE: Student

That worked. Thanks.

Scott

 
 
 Regards,
 



Re: [O] publishuing in html5

2013-12-15 Thread Scott Randby
On 12/14/2013 12:01 PM, Catonano wrote:
 2013/12/11 Nicolas Goaziou n.goaz...@gmail.com
 
 Scott Randby sran...@gmail.com writes:

 I already have the following in my file:

 #+HTML_DOCTYPE: html5

 You need to upgrade Org then.


 I have Org 8.2.4 and it doesn't work anyway
 

I upgraded Org and my problems were solved. I now have the following in
my file:

#+HTML_DOCTYPE: html5
#+OPTIONS: html5-fancy:t

Scott Randby



Re: [O] publishuing in html5

2013-12-20 Thread Scott Randby
On 12/18/2013 05:04 AM, Catonano wrote:
 Nicolas,
 
 2013/12/15 Nicolas Goaziou n.goaz...@gmail.com
 
 Hello,

 Catonano caton...@gmail.com writes:

 I made a temporary repository here
 https://github.com/humanitiesNerd/exploring-org-mode

 in case anyone wants to take a look

 In configuration.el you use

   :org-html-html5-fancy 1

 but it should be

   :html-html5-fancy 1


 Regards,

 --
 Nicolas Goaziou

 
 thank you so much for your suggestion !
 
 I tried but it still doesn't work.
 
 That is, this block
 
 #+ATTR_HTML: :controls controls :width 350
 #+BEGIN_VIDEO
 #+HTML: source src=movie.mp4 type=video/mp4
 #+HTML: source src=movie.ogg type=video/ogg
  Your browser does not support the video tag.
 #+END_VIDEO
 
 
 gets translated to
 
 div controls=controls width=350 class=video
 source src=movie.mp4 type=video/mp4
 source src=movie.ogg type=video/ogg
 p
 Your browser does not support the video tag.
 /p
 
 /div

Here is an example that works for me:

--8---cut here---start-8---
#+HTML_DOCTYPE: html5
#+OPTIONS: html5-fancy:t

#+ATTR_HTML: :controls controls :preload metadata : width 350
#+BEGIN_VIDEO
#+BEGIN_HTML
  source src=video.webm /
  Your browser does not support the codevideo/code tag.
#+END_HTML
#+END_VIDEO

#+ATTR_HTML: :controls controls :id aud-tag :preload metadata
#+BEGIN_AUDIO
#+BEGIN_HTML
  source src=audio.ogg /
  source src=audio.mp3 /
  Your browser does not support the codeaudio/code tag.
#+END_HTML
#+END_AUDIO
--8---cut here---end---8---

Scott Randby

 
 
 As for my versions of Org-mode, Emacs and operating system, I'm gonna write
 about it in a minute
 
 Thanks again
 



Re: [O] Feature request: filling of long captions

2014-02-06 Thread Scott Randby
On Thu, Feb 6, 2014 at 3:43 AM, Bastien b...@gnu.org wrote:
 Hi Andreas,

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

 Would it be possible to have filling of captions?

 I guess so.

 Ideally that would mean at least two things: auto-fill and M-q
 working on long captions.

 Yes.

 Could you list other options that are good candidates for such
 auto-filling fonctionality?  We'd better implement them all at
 once.

Filling of table formulas would be nice.

Scott Randby


 Thanks,

 --
  Bastien




[O] Weird List Behavior with Links

2012-09-12 Thread Scott Randby
I just discovered some weird behavior. Suppose a list of links like
the following is made in an org file.

- http://orgmode.org/
- http://www.gnu.org/software/emacs/
- http://www.fsf.org/

Put the mark somewhere in the first link and hit C-c C-l. Hit Enter,
put in a description, and hit Enter. Notice how the second link on
the list is now inactive.

After playing around with this, I found that the following list makes
the second link on the list inactive as soon as the second bracket in
the first item is added.

- [[http://orgmode.org/
- http://www.gnu.org/software/emacs/
- http://www.fsf.org/

For me, this is a bug.

Org-mode version 7.9.1
GNU Emacs 24.2.1

Scott Randby



Re: [O] Weird List Behavior with Links

2012-09-13 Thread Scott Randby
On 09/12/2012 09:20 PM, Bastien wrote:
 Scott Randby sran...@gmail.com writes:

 I just discovered some weird behavior. Suppose a list of links like
 the following is made in an org file.

 Fixed, thanks.


This is one of the things I love about org. Report a bug and it is
fixed in less than an hour. Fantastic.

Scott



Re: [O] Offer for taking over maintainership

2013-02-13 Thread Scott Randby
On 02/13/2013 04:41 PM, Russell Adams wrote:
 It would probably be most peaceful not to discuss Jambunathan's offer on
 this forum.   I expect that the count of +1s to the offer will
 communicate the list's collective opinion.
 
 I've ignored Jambunathan so far, hoping that not feeding the troll
 will make it go away. I understand he's contributed significant code,
 but his combative attitude is an instant turn off. I can't imagine a
 team leader (which is what I consider a maintainer) having such a
 negative attitude. Often team leads require better people skills than
 coding skills because most of their time is spent in team management,
 I see no evidence of superior skills being demonstrated here.
 
 I'll also point out that I can always tell when Bastien comes back
 from an announced vacation, suddenly my inbox fills up with replies to
 everything that hasn't been answered yet. I'm impressed with Bastien's
 staying power and people skills, he needs no replacement.
 

I'm in 100% agreement with this excellent statement.

Scott Randby



Re: [O] How do teachers use org-mode

2012-02-02 Thread Scott Randby
I use org-mode to keep track of grades and all other information I
collect on students. I make great use of tables, table formulas, tags,
headlines, and lists. I can compute a grade in milliseconds. Entering
data is a snap. Since everything is plain text, I can add comments with
ease and use git to keep track of everything.

Scott Randby

On 01/31/2012 11:10 PM, Venkatesh Choppella wrote:
 Dear Org-mode users:
 
 I am using  org-mode this semester  to host my course notes.   For me
 org-mode was a god-send, since I had been struggling to organize
 course notes in plain html  before that.
 
 The course pages done in org-mode are at
 
  -  http://pascal.iiit.ac.in/~itws2
 
  - http://pascal.iiit.ac.in/~tipl
 
 
 In the Information Technology  workshop course I am teaching this
 semester,  we have introduced emacs and org-mode as part of the
 course's curriculum to 1st year (freshman) students.   As part of the
 course, they  are required to do  their lab reports in Org-mode.
 Emacs continues to be  a difficult climb for many students, but
 org-mode is an important motivator.  I expect that most of the 180
 students in class will become comfortable with emacs by the end of the
 semester.
 
 
 I am interested to  hear from others who have used org-mode as part of
 their teaching activities.
 
 Sincerely,
 
 Venkatesh Choppella
 IIIT Hyderabad
 Gachibowli, Hyderabad 500 032
 India
 
 



Re: [O] Export to multiple HTML files?

2012-03-04 Thread Scott Randby
On 02/27/2012 12:19 PM, Avdi Grimm wrote:
 Is there a way to export a single Org file to a bunch of HTML files,
 one for each heading of a given level? E.g. the way the Org manual is
 presented at http://orgmode.org/manual ? (yes, I realize that's Info
 not org-mode)I thought I remembered that being possible, but now I
 can't find it.

This would be a really nice feature to have. I would use it instead of
the convoluted process I use now.

Scott Randby



Re: [O] Org, Org-mode, Orgmode, Org Mode

2012-06-02 Thread Scott Randby
On 06/02/2012 04:10 PM, Sebastien Vauban wrote:
 Bastien,

 Bastien wrote:
 Hi Achim and Thorsten,

 Achim Gratz strom...@nexgo.de writes:

 So my question still stands, which variant is the preferred one if any
 and should we work to standardize it across all documentation?

 The documentation standards states:

  - Prefer Org mode to Org-mode or org-mode.  This is simply
because it reflects an existing convention in The Emacs Manual which
consistently documents mode names in this form -- Text mode,
Outline mode, Mail mode etc.

 I think it should also apply for the website.

 I updated the website to use Org mode instead of Org-mode and
 Org-Mode.

 Though, if we look at the doc, we see:

 --8---cut here---start-8---
 Org Mode Manual
 ***

 This manual is for Org version 7.8.10 (release_7.8.10-568-gc84cda).
 --8---cut here---end---8---

 ie:

 - one time with capital M
 - once where Org only is used

 Best regards,
   Seb


My habit is to use Org-mode when I introduce Org mode to others. I do
this so that it is understood that I'm not talking about an organization
and so that others realize that Org mode is a mode of Emacs. But this is
only a habit.

Scott Randby



Re: [O] no visual-line-mode for tables

2012-08-24 Thread Scott Randby
On 08/24/2012 08:48 AM, Bastien wrote:
 Hi Frieder,
 
 Frieder Wittmann frieder.wittm...@googlemail.com writes:
 
 And yes, Im spreading the word. 
 
 Thanks for the nice words and for spreading the world :)
 
 The next release comes with 128 person to thank.  
 That tells certainly a lot.
 
 Is there a way to have visual-line-mode on, but deactivated for tables, so
 that you would have to scroll to the side to read the full table?
 
 Sadly enough, I don't know of any fix for this at the moment.
 

I second the desire for such a feature. Unfortunately, I do not have
enough knowledge to figure out how to implement it.

Scott Randby



Re: [Orgmode] Poll: Who is using these commands

2010-05-08 Thread Scott Randby

On 05/08/2010 05:14 AM, Carsten Dominik wrote:

Hi everyone,

I am wondering:

How many of your are using these keys

C-c C-f
C-c C-b
C-c C-n
C-c C-p

for navigation through the outline? These are first class keys,
and I would have good uses for these keys if most people don't actually
use them.


I use all of these frequently. Please don't change them.

Scott Randby



Another question:

C-c C-v currently make the TODO sparse tree.

I would like to put this tree on `C-c / t' which would be quite logical
and free up another first class key.

Opinions, veto-attempts?


Thanks!

- Carsten





___
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


Re: [Orgmode] Poll: Who is using these commands

2010-05-08 Thread Scott Randby

On 05/08/2010 04:22 PM, Friedrich Delgado Friedrichs wrote:

Hi!
Carsten Dominik schrieb:

I am wondering:

How many of your are using these keys

C-c C-f
C-c C-b
C-c C-n
C-c C-p


Never. I always use the speed commands since they became available.


The problem I have with speed commands is that, according to the manual, they only work 
when the cursor is at the beginning of a headline. I need commands that work 
when the cursor is anywhere on the headline.

Scott Randby




for navigation through the outline?  These are first class keys,
and I would have good uses for these keys if most people don't
actually use them.

Another question:

C-c C-v   currently make the TODO sparse tree.


I use that one quite often. If you decided to use it for something
else, I would override it in my config.





___
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] Poll: Who is using these commands

2010-05-09 Thread Scott Randby

On 05/09/2010 07:43 AM, Carsten Dominik wrote:


On May 9, 2010, at 12:03 AM, Scott Randby wrote:


On 05/08/2010 04:22 PM, Friedrich Delgado Friedrichs wrote:

Hi!
Carsten Dominik schrieb:

I am wondering:

How many of your are using these keys

C-c C-f
C-c C-b
C-c C-n
C-c C-p


Never. I always use the speed commands since they became available.


The problem I have with speed commands is that, according to the
manual, they only work when the cursor is at the beginning of a
headline. I need commands that work when the cursor is anywhere on
the headline.


Hi Scott,

what do you think about C-M-f, C-M-b, C-M-n, C-M-p as alternative bindings?
These seem to make *a lot* of sense, because, as many here have pointed
out,
they are so much better repeatable (Keep C-M- down, press the character.)

- Carsten


If you want to go with these, then C-c C-u and C-c C-j should also be changed. 
However, I am concerned that C-M-f, C-M-b, C-M-n, C-M-p, C-M-u, and C-M-j are 
already bound to other useful functions. I don't use these functions myself, 
but after looking over what they do, I can see that changing these bindings 
might interfere with the work of some.

Scott


___
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] Poll: Who is using these commands

2010-05-10 Thread Scott Randby

On 05/10/2010 02:33 AM, Carsten Dominik wrote:


On May 9, 2010, at 12:03 AM, Scott Randby wrote:


On 05/08/2010 04:22 PM, Friedrich Delgado Friedrichs wrote:

Hi!
Carsten Dominik schrieb:

I am wondering:

How many of your are using these keys

C-c C-f
C-c C-b
C-c C-n
C-c C-p


Never. I always use the speed commands since they became available.


The problem I have with speed commands is that, according to the
manual, they only work when the cursor is at the beginning of a
headline. I need commands that work when the cursor is anywhere on
the headline.


How about if C-M-a went back to the beginning of the heading and then
you use speed commands? Would that be an alternative, or is that one
command to much?


I don't really care for this alternative as it make motion a 2 command process.

Scott



- Carsten



Scott Randby




for navigation through the outline? These are first class keys,
and I would have good uses for these keys if most people don't
actually use them.

Another question:

C-c C-v currently make the TODO sparse tree.


I use that one quite often. If you decided to use it for something
else, I would override it in my config.





___
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


- Carsten







___
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] Poll: Who is using these commands

2010-05-11 Thread Scott Randby

On 05/10/2010 02:33 AM, Carsten Dominik wrote:


On May 9, 2010, at 12:03 AM, Scott Randby wrote:


On 05/08/2010 04:22 PM, Friedrich Delgado Friedrichs wrote:

Hi!
Carsten Dominik schrieb:

I am wondering:

How many of your are using these keys

C-c C-f
C-c C-b
C-c C-n
C-c C-p


Never. I always use the speed commands since they became available.


The problem I have with speed commands is that, according to the
manual, they only work when the cursor is at the beginning of a
headline. I need commands that work when the cursor is anywhere on
the headline.


How about if C-M-a went back to the beginning of the heading and then
you use speed commands? Would that be an alternative, or is that one
command to much?


I don't understand why C-M-a should be bound to take one back to the beginning 
of a heading when C-a already does this. With the proposed changes, one might 
press C-M-a and then C-M-p which is a total of 4 keys, when the current set-up 
is to press C-c C-p which is only 3 keys.  I'm not in favor of increasing the 
number of keys one needs to press to perform a basic motion.

Scott



- Carsten



Scott Randby




for navigation through the outline? These are first class keys,
and I would have good uses for these keys if most people don't
actually use them.

Another question:

C-c C-v currently make the TODO sparse tree.


I use that one quite often. If you decided to use it for something
else, I would override it in my config.





___
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


- Carsten







___
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-mode release 7.01

2010-07-19 Thread Scott Randby
On 07/19/2010 10:55 AM, Manish wrote:
 There is more happening in Org than I can try out and integrate in my
 workflow at a sane pace.. the backlog has been growing for a while now.
 One Carsten was difficult to keep pace with and now we have others too.
 Sheesh. :)  Can't thank you all enough for your hard work.

I have to agree. Org-mode has many features that I don't use but would
like to use. Someday, I'll get completely organized with org-mode, but
I'll have to settle for partly organized for now. It took forever before
I upgraded to 6.36c, and now we have wonderful 7.01. Well, at least
there is a new toy to think about getting. Org-mode is the best mode.

Scott Randby

___
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] HTML Export Problem

2010-08-30 Thread Scott Randby
Whenever I export to HTML, I get the following:

HTML generated by org-mode TAG=7.01g in emacs 23

I would like to get rid of the TAG= (which wasn't present in earlier
org-mode versions) without having to edit the HTML.
How do I do this?

Scott Randby

___
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] HTML Export Problem

2010-08-31 Thread Scott Randby
On 08/30/2010 10:10 PM, Nick Dokos wrote:
 Scott Randby sran...@gmail.com wrote:
 
 Whenever I export to HTML, I get the following:

 HTML generated by org-mode TAG=7.01g in emacs 23

 I would like to get rid of the TAG= (which wasn't present in earlier
 org-mode versions) without having to edit the HTML.
 How do I do this?

 
 This was fixed on Aug. 7, so you need to get a more recent version (I
 think 7.01h had it fixed.)

Thanks, I'll upgrade sometime. I just realized I have one machine that
has 6.36c and another machine that has 7.01g. I might as well upgrade
both at the same time.

Scott

 
 See http://thread.gmane.org/gmane.emacs.orgmode/27988
 
 Nick
 

___
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] Tags in Agenda View

2010-09-19 Thread Scott Randby
Is there any way to set org-mode so that tags don't appear in the agenda
view? I've been looking around to see if this can be done, but I haven't
been able to find anything. If this cannot be done, then I request the
feature of allowing tags to be excluded from the agenda view.

Scott Randby

___
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] Bastien is going to become the maintainer of Org mode in January

2010-11-16 Thread Scott Randby
When I first started using org-mode, the way I do my work became more
efficient and much easier. Now, if I want to do something new, I first
take a look at the org-mode manual to see if I can use org-mode to do
the new thing. I haven't been able to fit org-mode into everything, but
I haven't given up trying.

Carsten, thank you so much for developing and maintaining org-mode. Not
only is it an utterly great piece of software, but the community around
it is very friendly and open, something which I credit to you. Every
time I've sent a ridiculous question to the mailing list, I've received
a polite and helpful response. On other lists, the response would have
been RTFM.

Bastien, I think org-mode will be in very fine hands when you take over.
It is clear to me that under your leadership org-mode will continue to
improve for a long time to come.

Scott Randby

On 11/15/2010 06:51 AM, Carsten Dominik wrote:
 Dear all,
 
 after 7 years of responsibility for Org-mode, it is time for
 me to let go and step down as the maintainer of Org-mode.
 
 This has not been an easy decision to make.  Org-mode has
 been a very important part of my life during these years
 and given me as much energy as it has taken.  I am proud of
 this creation and extremely grateful for the opportunity
 to work with the absolutely outstanding community around
 it.  But the day-to-day responsibilities have worn me down,
 and I need to step back, move on, and focus on other things.
 
 I am very excited that I have found Bastien Guerry willing
 to take over.  Bastien has been involved with this project
 almost from the beginning and I believe he knows more
 about both the spirit and the technicalities of Org-mode
 than anybody else.  I am sure he will do an excellent job.
 There is a core of very knowledgeable and great people who
 carry the project together.  I hope very much that everyone
 will be helping out Bastien just like you have all helped
 me - then this will be a very smooth transition.
 
 As a formal date for the transition we have picked January 1st
 2011.  Until then, I will spend time to clean up where I can,
 and to document the maintainer tasks in the new README_maintainer
 file in the git repo.  On January 1st I will also switch the
 Donate button on the web page to point to an account owned
 by Bastien, to help him offset any costs involved with his
 contribution of time and money (like the web server that he
 has been sponsoring so far).  If you always wanted to throw
 a donation in my direction but have not found the right
 moment to do so - this is still possible until the end of
 December.
 
 I am not going to disappear from the project.  I will still
 be on the mailing list, answering questions when I can, and
 contribute code and fixes when I find time to do so.  Maybe,
 with the daily tasks taken off my hands, I will even be able
 to write bigger chunks of code.  But all of this will be on
 a much less regular basis than the daily flush of emails I
 am sending out now.
 
 I hope very much that you will all continue to enjoy a life
 in plain text :)
 
 With kind regards
 
 - Carsten
 
 
 ___
 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


Re: [O] OrgStruct: start with collapsed view

2014-10-31 Thread Scott Randby

On 10/30/2014 08:41 AM, Thorsten Jolitz wrote:

Karl Voit devn...@karl-voit.at writes:


Hi!

* Thorsten Jolitz tjol...@gmail.com wrote:

Marcin Borkowski mb...@wmi.amu.edu.pl writes:


And now there's another problem: I'd like to have my init file
collapsed to only headlines on opening.  Since I visit my init file
through a custom command (which finds it and turns on orgstruct), I
don't need to use file local variables for that - I just need a
command to do it.  So:

how do I (programmatically, in elisp) collapse the view of
an orgstruct .el file?


Try 'org-overview'. Both, 'org-overview' and 'show-all' work
with outshine too, so they should work with org-struct.


I also transformed my 3657 lines of init.el to OrgStruct.

Similar to Marcin, I want to see a collapsed view of my headings
when I open my init.el file. org-overview gives me a weird view of
all lines that start a parenthesis on top level (defun, setq, ...)
and not my top level OrgStruct comment lines.

Has somebody successfully managed to get a collapsed init.el view
when opening the file?


Not a solution, but an alternative (and an interesting experiment):

What if you try navi-mode with your orgstruct init.el? It works with
outshine and with org-mode, so maybe with orgstruct too?


I found this on http://orgmode.org/worg/org-tutorials/org-outside-org.html.

  orgstruct currently does NOT work with outorg and navi-mode...

Scott Randby



I always have the source file in 'show-all' mode side-by-side with its
*Navi* buffer that give me the overview (and dozens of other views
too). Constantly changing visibility in a file is to much action and
distraction IMO, I rather have a 2nd buffer for the overview.

Let me know if it works, I did not try navi-mode with orgstruct yet.





Re: [O] Large LaTeX project in single file or using publishing

2014-11-26 Thread Scott Randby
On Wed, Nov 26, 2014 at 2:00 PM, Jacob Gerlach jacobgerl...@gmail.com wrote:
 Hello list,

 I'm starting writing my thesis, for which I hope to remain in org-mode
 rather than regular LaTeX.

 I am working on adapting a thesis LaTeX template into org-mode. The template
 is set up with a main.tex having several individual files (chapters,
 appendices, etc) \include'd.

 I believe that I could parallel this using org's publishing mechanism. An
 alternate approach would be to use one single file, since I can simply fold
 chapters to focus my workflow.

 My first concern is losing the ability to use internal links if I use
 separate files. Another thought is compilation time if I use one file and
 must always run pdflatex over the entire document. I'm sure there are
 pitfalls either way that I'm not yet aware of.

You don't have to compile the whole document every time. You can
export a subtree: C-c C-e, C-s changes the export scope.

Scott Randby


 Any input or advice you can provide would be greatly appreciated.

 Regards,
 Jake



Re: [O] Bug: bad fontification

2015-01-03 Thread Scott Randby

On 01/03/2015 03:29 PM, Oleh wrote:

Hello,

Here's a minimal file for which fontification fails:

 * DONE =foo=
 CLOSED: [2015-01-03 Sat 21:21]
 CLOCK: [2015-01-03 Sat 21:20]--[2015-01-03 Sat 21:21] =  0:01
 * TODO =bar=

TODO is highlighted with a verbatim face. The problem goes away
if I add a newline after =bar=.



I've been unable to duplicate this problem. Perhaps a setting you use 
messes up the fontification.


Scott Randby


regards,
Oleh






Re: [O] [ANN] [OT] New Android app (Orgzly)

2015-01-22 Thread Scott Randby

On 01/22/2015 05:02 PM, Marcin Borkowski wrote:


Now the question is: what is the most appropriate place to *inform*
about his project.  If not the Org-mode discussion list, I really don't
know.  (I assume that nobody denies his *right* to license his work
according to his wishes, of course, for if not, another explanation
would be that this project doesn't have any right to *exist* in the
first place.)


Since we cannot view the code of this software, then we have no way of 
determining before we use it if it has any purpose other than its stated 
purpose. For all we know, it contains some nasty code that takes over 
your system and deletes all of your files or worse.


To trust this software because the developer seems to have good 
intentions is foolish. When I saw the announcement, I interpreted it as 
saying this: Gee, here is some neat software I wrote. You can't see the 
code, but trust me, I'm good. I'll open up part of the code maybe 
sometime, but for now you can try it out for free. I'm not going to cut 
you off later and make you pay to continue using this wonderful thing. 
And no, it doesn't do anything bad like steal information or trash 
systems. Trust me. No thanks, I say. Promote this somewhere else.


Scott Randby



Re: [O] [ANN] [OT] New Android app (Orgzly)

2015-01-22 Thread Scott Randby
+1 for not using this list for cost free promotion of proprietary software.

Scott Randby

On Thu, Jan 22, 2015 at 11:41 AM, Jose E. Marchesi jema...@gnu.org wrote:

 *NOTE* It's about an app which is *not* open source (some parts of code
 will opened, see below).  If you have a problem with that, you can stop
 reading right about now...

 Please stop using the GNU mailing lists to promote proprietary software.




Re: [O] [ANN] [OT] New Android app (Orgzly)

2015-01-23 Thread Scott Randby
On Fri, Jan 23, 2015 at 3:53 AM, Rainer M Krug rai...@krugs.de wrote:
 Scott Randby sran...@gmail.com writes:

 On 01/22/2015 05:02 PM, Marcin Borkowski wrote:

 Now the question is: what is the most appropriate place to *inform*
 about his project.  If not the Org-mode discussion list, I really don't
 know.  (I assume that nobody denies his *right* to license his work
 according to his wishes, of course, for if not, another explanation
 would be that this project doesn't have any right to *exist* in the
 first place.)

 Since we cannot view the code of this software, then we have no way of
 determining before we use it if it has any purpose other than its
 stated purpose. For all we know, it contains some nasty code that
 takes over your system and deletes all of your files or worse.

 To trust this software because the developer seems to have good
 intentions is foolish. When I saw the announcement, I interpreted it
 as saying this: Gee, here is some neat software I wrote. You can't
 see the code, but trust me, I'm good. I'll open up part of the code
 maybe sometime, but for now you can try it out for free. I'm not going
 to cut you off later and make you pay to continue using this wonderful
 thing. And no, it doesn't do anything bad like steal information or
 trash systems. Trust me. No thanks, I say. Promote this somewhere
 else.

 I just want to state here that not everybody feels the same as you.

I wasn't expecting that everybody would feel the way I feel about the
matter. It is clear from the discussion that some feel fine with this
software because it is alleged to do something desireable. I don't
feel fine with it because it is closed, and I have the same distrust
of the other pieces of proprietary software that have been promoted on
this list through the years.

Scott


 Cheers,

 Rainer


 Scott Randby



 --
 Rainer M. Krug
 email: Raineratkrugsdotde
 PGP: 0x0F52F982



Re: [O] html preamble

2015-03-24 Thread Scott Randby

On 03/23/2015 04:12 PM, hymie! wrote:

So my next task is to learn about the HTML preamble.


From reading the docs, it looks like all of my org files have to share a

single HTML preamble, which is set in my .emacs file through either the
org-html-preamble variable, the org-html-preamble-format variable, or the
org-publish-project-alist variable.  There is no way to tell a specific Org
file This is your HTML preamble.  Is that correct?

Why are there two different variables org-html-preamble-format and
org-html-preamble if the org-html-preamble variable can perform all of the
tasks of org-html-preamble-format and more?

Finally, how do I get the current date into the preamble?  I see that I can
specifically set a date, and I see the current date in a comment at the top
of my exported HTML, but I can't figure out how to get the current date out
of the comment and into my preamble.



I don't know if this helps, but I have postamble requirements in each 
file that I export. I believe you can do the same for the preamble. 
Below is an example from one of my files.



* COMMENT Postamble Settings

#+BEGIN_SRC emacs-lisp

;; Turn off postamble creation
(setq org-html-postamble nil)

;; Turn on postamble creation (default)
(setq org-html-postamble t)

;; Postamble format for lessons
(setq org-html-postamble-format (quote ((en p 
class=\author\Author: %a /p

p class=\email\Email: %e/p
p class=\creator\%c/p

;; Postamble format for non-lesson pages (default)
(setq org-html-postamble-format (quote ((en p 
class=\author\Author: %a /p

p class=\email\Email: %e/p
p class=\date\Date: %T/p
p class=\creator\%c/p

#+END_SRC


Scott Randby



[O] Firefox 36 and Links

2015-02-26 Thread Scott Randby
I know this isn't exactly a question about org, but it affects org, so 
I'm hoping someone on this list might be willing to help me.


The -remote command line option has been removed from Firefox 36:


https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options#-remote_remote_command

As a result, web links in an org file no longer open in Firefox when I 
click on them. This is mentioned as a comment at the following link:


  https://bugzilla.mozilla.org/show_bug.cgi?id=1080319#c19

I found a patch here:

  http://comments.gmane.org/gmane.emacs.bugs/99694

I can't get the patch to work with Emacs 24.3 or 24.2. This could be due 
to my very poor knowledge of elisp or that the patch isn't compatible 
with those versions of Emacs.


I see that the patch has been put into 24.5, but I'd prefer to use a 
stable version of Emacs.


I'm confused about how to proceed. Should I wait for the next stable 
release of Emacs, or is there a solution I can use now?


Scott Randby



Re: [O] Firefox 36 and Links

2015-02-26 Thread Scott Randby

On 02/26/2015 06:33 PM, Nick Dokos wrote:

Nick Dokos ndo...@gmail.com writes:


Scott Randby sran...@gmail.com writes:


   http://comments.gmane.org/gmane.emacs.bugs/99694

I can't get the patch to work with Emacs 24.3 or 24.2. This could be
due to my very poor knowledge of elisp or that the patch isn't
compatible with those versions of Emacs.



Oh, it's probably that gmane replaces @ signs with at to confuse
stupid address harvesters (which it will probably do to this message as
well :) ).

Try getting the patch from the emacs bug mailing list:

http://lists.gnu.org/archive/html/bug-gnu-emacs/2015-02/msg00751.html



... and if whitespace is a problem, try ignoring it:

  patch -p1 -l  browse-url.patch

or

  git apply --ignore-whitespace browse-url.patch

worked for me on 24.3.



I'm sorry, it appears that I don't have enough knowledge to do this 
correctly. I've been meaning to learn how to work with git, but I 
haven't been able to find the time to learn it. I don't install Emacs 
from git, so I'll just wait until the next version that fixes the 
problem comes out.










[O] Update tables 8.3.1

2015-08-08 Thread Scott Randby
I'm beginning to wonder if upgrading to 8.3.1 is a mistake. I had no 
trouble at all with 8.2.10, but many problems with 8.3.1. My latest 
issue follows.


When I update a table (using C-u C-c *, or C-u C-c C-c, or M-x 
org-table-recalculate), the table doesn't update and I get the following 
error message:


  Wrong type argument: number-or-marker-p, (4)

The number in parentheses varies depending on the table. Here are two 
examples of table formulas I have, formulas which worked perfectly until 
I upgraded to 8.3.1:


  #+TBLFM: $tot=vsum(@..@);%.2f

  #+TBLFM: $13=vsum($3..$12);%.1f::$qs=$q1+$q2;%.1f

I can provide example tables if necessary.

I tried the example table given in section 3.5.10 of the documentation 
and I get the same error.


|---+-++++---+--|
|   | Student | Prob 1 | Prob 2 | Prob 3 | Total | Note |
|---+-++++---+--|
| ! | | P1 | P2 | P3 |   Tot |  |
| # | Maximum | 10 | 15 | 25 |50 | 10.0 |
| ^ | | m1 | m2 | m3 |mt |  |
|---+-++++---+--|
| # | Peter   | 10 |  8 | 23 |41 |  8.2 |
| # | Sam |  2 |  4 |  3 | 9 |  1.8 |
|---+-++++---+--|
|   | Average ||||  25.0 |  |
| ^ | ||||at |  |
| $ | max=50  ||||   |  |
|---+-++++---+--|
#+TBLFM: $6=vsum($P1..$P3)::$7=10*$Tot/$max;%.1f::$at=vmean(@-II..@-I);%.1f

Error message: Wrong type argument: number-or-marker-p, (6)

I will appreciate any help with this issue. If it can't be fixed, I will 
have to downgrade to 8.2.10.


Scott Randby



[O] LaTeX special characters 8.3.1

2015-08-08 Thread Scott Randby
Until 8.3.1, I needed to use \% in an org document in order to get the % 
symbol displayed when exporting to LaTeX. I just discovered that \% 
messes up the exported document, and that using % only works. I've also 
experimented with \$ and $ and found the same behavior.


I've looked through the 8.3.1 changes document, but I can't find 
reference to this change. Since I use special characters frequently, I 
need more information about this change. Where can I find it?


Scott Randby



[O] 8.3.1 and org-latex-with-hyperref

2015-08-08 Thread Scott Randby
What happened to the variable org-latex-with-hyperref? It is missing in 
8.3.1 and I need it. I have this set to nil so that I can can use the 
following in my documents


#+LATEX_HEADER: \hypersetup{...}

How do I now prevent org from automatically inserting \hypersetup{...} 
when exporting to LaTeX?


Scott Randby



Re: [O] 8.3.1 and org-latex-with-hyperref

2015-08-08 Thread Scott Randby
Sorry for the noise, I figured out how to prevent the automatic 
insertion of \hypersetup{...} by deleting the settings for 
org-latex-hyperref-template


Scott Randby



Re: [O] LaTeX special characters 8.3.1

2015-08-08 Thread Scott Randby

On 08/08/2015 02:52 PM, Rasmus wrote:

Scott Randby sran...@gmail.com writes:


Until 8.3.1, I needed to use \% in an org document in order to get the
% symbol displayed when exporting to LaTeX. I just discovered that \%
messes up the exported document, and that using % only works. I've
also experimented with \$ and $ and found the same behavior.

I've looked through the 8.3.1 changes document, but I can't find
reference to this change. Since I use special characters frequently, I
need more information about this change. Where can I find it?


% Is exported as \% in latex.

$ is a mess.  It's uses some heuristic to determine if it's a math snippet
or a currency symbol.

You can always use a snippet, @@latex:%@@ which is exported literally in
the backend before the colon.

Hope it helps,


Yes, that helps. Thank you.


Rasmus





Re: [O] 8.3.1 and org-latex-with-hyperref

2015-08-08 Thread Scott Randby

On 08/08/2015 02:50 PM, Rasmus wrote:

Scott Randby sran...@gmail.com writes:


Sorry for the noise, I figured out how to prevent the automatic
insertion of \hypersetup{...} by deleting the settings for
org-latex-hyperref-template


I'm curious to know what you are missing in org-latex-hyperref-template?
What do you need in order to use the provided method?


Nothing is missing. I had difficulties with the default \hypersetup{...} 
with an old version of org, and my habit became to use my own 
\hypersetup{...} instead. Since I now have a huge number of documents 
with my own setup, it isn't worth it to go and change all of them.


Scott



Thanks,
Rasmus





Re: [O] Update tables 8.3.1

2015-08-08 Thread Scott Randby

On 08/08/2015 05:18 PM, Rasmus wrote:

Hi Scott,

Scott Randby sran...@gmail.com writes:


I'm beginning to wonder if upgrading to 8.3.1 is a mistake. I had no
trouble at all with 8.2.10, but many problems with 8.3.1. My latest
issue follows.


We appreciate your bug reports.  If you have got the time, please keep
testing Org 8.3 and let us know about errors you find.


When I update a table (using C-u C-c *, or C-u C-c C-c, or M-x
org-table-recalculate), the table doesn't update and I get the following
error message:

Wrong type argument: number-or-marker-p, (4)


I see this as well.


I can provide example tables if necessary.


The example below is sufficient.


I tried the example table given in section 3.5.10 of the documentation
and I get the same error.

|---+-++++---+--|
|   | Student | Prob 1 | Prob 2 | Prob 3 | Total | Note |
|---+-++++---+--|
| ! | | P1 | P2 | P3 |   Tot |  |
| # | Maximum | 10 | 15 | 25 |50 | 10.0 |
| ^ | | m1 | m2 | m3 |mt |  |
|---+-++++---+--|
| # | Peter   | 10 |  8 | 23 |41 |  8.2 |
| # | Sam |  2 |  4 |  3 | 9 |  1.8 |
|---+-++++---+--|
|   | Average ||||  25.0 |  |
| ^ | ||||at |  |
| $ | max=50  ||||   |  |
|---+-++++---+--|

#+TBLFM: $6=vsum($P1..$P3)::$7=10*$Tot/$max;%.1f::$at=vmean(@-II..@-I);%.1f

Error message: Wrong type argument: number-or-marker-p, (6)

I will appreciate any help with this issue. If it can't be fixed, I will
have to downgrade to 8.2.10.


Can you try the attached patch?  It seems to work on the example from the
manual, but you likely have more straining examples at hand.


I applied the patch, and tried it on several tables which have simple 
and complex formulas. It works on those tables. Thanks for your help.


Scott



Thanks,
Rasmus





Re: [O] Stable releases

2015-08-13 Thread Scott Randby

On 08/13/2015 05:32 AM, Eric S Fraga wrote:

On Wednesday, 12 Aug 2015 at 15:06, Scott Randby wrote:

[...]


If there are no stable releases, then maybe the web site should not
say: Stable version 8.3.1 (Aug. 2015). Perhaps stable should just
be eliminated from that phrase. Certainly, the use of stable
confused me.


I guess it's a matter of interpretation.  The word stable can mean
different things.  In this context, it is the opposite of labile and
specifically in comparison with the continually changing git version.

Stable does not unfortunately mean bug-free nor does it mean anything
with respect to the previous stable version.


I never expect any version to be bug free.







  1   2   3   >