emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: HTML exports issues: none not working, and issues with #+TITLE
@ 2016-11-07 19:30 Frederick Giasson
  2016-11-08 11:07 ` Nicolas Goaziou
  0 siblings, 1 reply; 9+ messages in thread
From: Frederick Giasson @ 2016-11-07 19:30 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I upgraded to Emacs 25.1 and Org-mode 9.0 (latest from Elpa) and I am 
experiencing two issues with export:


   (1) The header parameter ":exports none" doesn't appear to be 
working. With the following code, the code block is exported to HTML:

=============

#+BEGIN_SRC elisp :results silent :exports none
(setq org-html-htmlize-output-type 'inline-css)
#+END_SRC
=============


   (2) As soon as I have a non-empty #+TITLE: defined in a org-mode 
file, I am getting this kind of error with exporting in HTML (or any 
other formats):

=============

#+TITLE test

=============

returns:

=============

apply: Wrong type argument: listp, #("test" 0 4 (:parent (#0)))

=============



Thanks,


Fred

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

* Re: Bug: HTML exports issues: none not working, and issues with #+TITLE
  2016-11-07 19:30 Bug: HTML exports issues: none not working, and issues with #+TITLE Frederick Giasson
@ 2016-11-08 11:07 ` Nicolas Goaziou
  2016-11-08 12:51   ` Frederick Giasson
  0 siblings, 1 reply; 9+ messages in thread
From: Nicolas Goaziou @ 2016-11-08 11:07 UTC (permalink / raw)
  To: Frederick Giasson; +Cc: emacs-orgmode

Hello,

Frederick Giasson <fred@fgiasson.com> writes:

> I upgraded to Emacs 25.1 and Org-mode 9.0 (latest from Elpa) and I am 
> experiencing two issues with export:
>
>
>    (1) The header parameter ":exports none" doesn't appear to be 
> working. With the following code, the code block is exported to HTML:
>
> =============
>
> #+BEGIN_SRC elisp :results silent :exports none
> (setq org-html-htmlize-output-type 'inline-css)
> #+END_SRC
>
> =============
>
>
>    (2) As soon as I have a non-empty #+TITLE: defined in a org-mode 
> file, I am getting this kind of error with exporting in HTML (or any 
> other formats):
>
> =============
>
> #+TITLE test
>
> =============
>
> returns:
>
> =============
>
> apply: Wrong type argument: listp, #("test" 0 4 (:parent (#0)))
>
> =============

This seem to indicate you have a mixed installation. See, e.g.,
<http://permalink.gmane.org/gmane.emacs.orgmode/110092>.

Regards,

-- 
Nicolas Goaziou

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

* Re: Bug: HTML exports issues: none not working, and issues with #+TITLE
  2016-11-08 11:07 ` Nicolas Goaziou
@ 2016-11-08 12:51   ` Frederick Giasson
  2016-11-08 13:20     ` Frederick Giasson
  0 siblings, 1 reply; 9+ messages in thread
From: Frederick Giasson @ 2016-11-08 12:51 UTC (permalink / raw)
  To: emacs-orgmode

Hi Nicolas,
> This seem to indicate you have a mixed installation. See, e.g.,
> <http://permalink.gmane.org/gmane.emacs.orgmode/110092>.

I am getting a 404 error for that page, would you have another link for 
that thread?

Thanks,

Fred

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

* Re: Bug: HTML exports issues: none not working, and issues with #+TITLE
  2016-11-08 12:51   ` Frederick Giasson
@ 2016-11-08 13:20     ` Frederick Giasson
  2016-11-21 19:16       ` Peter Davis
  0 siblings, 1 reply; 9+ messages in thread
From: Frederick Giasson @ 2016-11-08 13:20 UTC (permalink / raw)
  To: emacs-orgmode

Hi Nicolas,

Thanks anyway, this answer led me to do some more research. What did 
work for me is this:

     http://emacs.stackexchange.com/a/16616/13925

Only running C-u M-x org-reload was fixing the issue, but when I 
restarted Emacs, it was restarting. Doing org-reload, uninstall and 
re-install fixed the issue.


Thanks,

Fred
> Hi Nicolas,
>> This seem to indicate you have a mixed installation. See, e.g.,
>> <http://permalink.gmane.org/gmane.emacs.orgmode/110092>.
>
> I am getting a 404 error for that page, would you have another link 
> for that thread?
>
> Thanks,
>
> Fred
>

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

* Re: Bug: HTML exports issues: none not working, and issues with #+TITLE
  2016-11-08 13:20     ` Frederick Giasson
@ 2016-11-21 19:16       ` Peter Davis
  2016-11-22  8:00         ` Alan Schmitt
  2016-11-23  0:21         ` Peter Davis
  0 siblings, 2 replies; 9+ messages in thread
From: Peter Davis @ 2016-11-21 19:16 UTC (permalink / raw)
  To: emacs-orgmode

This suggests the following, but I don't know how to do any of this:


The full sequence of steps that worked for me:

From the command line:
 - Run emacs without loading the init file: emacs -q

In emacs:
 - run C-u M-x org-reload
 - Use package-list-packages to uninstall org: select it then d x
 - Use package-list-packages to reinstall org: select it then i x

After restarting emacs, everything worked.

I'm on a Mac, and don't know how to start the Emacs.app without loading
the init file.

Also, org-mode doesn't show up in the package list.

Any clues?

Thanks,
-pd



On Tue, Nov 8, 2016, at 08:20 AM, Frederick Giasson wrote:
> Hi Nicolas,
> 
> Thanks anyway, this answer led me to do some more research. What did 
> work for me is this:
> 
>      http://emacs.stackexchange.com/a/16616/13925
> 
> Only running C-u M-x org-reload was fixing the issue, but when I 
> restarted Emacs, it was restarting. Doing org-reload, uninstall and 
> re-install fixed the issue.
> 
> 
> Thanks,
> 
> Fred
> > Hi Nicolas,
> >> This seem to indicate you have a mixed installation. See, e.g.,
> >> <http://permalink.gmane.org/gmane.emacs.orgmode/110092>.
> >
> > I am getting a 404 error for that page, would you have another link 
> > for that thread?
> >
> > Thanks,
> >
> > Fred
> >
> 
> 


-- 
  Peter Davis
  www.techcurmudgeon.com

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

* Re: Bug: HTML exports issues: none not working, and issues with #+TITLE
  2016-11-21 19:16       ` Peter Davis
@ 2016-11-22  8:00         ` Alan Schmitt
  2016-11-22 13:18           ` Peter Davis
  2016-11-23  0:21         ` Peter Davis
  1 sibling, 1 reply; 9+ messages in thread
From: Alan Schmitt @ 2016-11-22  8:00 UTC (permalink / raw)
  To: Peter Davis; +Cc: emacs-orgmode

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

On 2016-11-21 14:16, Peter Davis <pfd@pfdstudio.com> writes:

> I'm on a Mac, and don't know how to start the Emacs.app without loading
> the init file.

This is how I do it:
open /Applications/Emacs.app -n --args -Q -l ~/tmp/emacs_debug/init.el

the '-n' says to open the application again even if it's already opened
(i.e., you'll have two emacses running if one was already running). The
'--args' lets you pass arguments to the application. Here I give the
'-Q' argument and a file to use as init file. Note that files must have
an absolute path name.

Best,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-10: 401.57, 2015-10: 398.29

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

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

* Re: Bug: HTML exports issues: none not working, and issues with #+TITLE
  2016-11-22  8:00         ` Alan Schmitt
@ 2016-11-22 13:18           ` Peter Davis
  0 siblings, 0 replies; 9+ messages in thread
From: Peter Davis @ 2016-11-22 13:18 UTC (permalink / raw)
  To: emacs-orgmode



On Tue, Nov 22, 2016, at 03:00 AM, Alan Schmitt wrote:
> On 2016-11-21 14:16, Peter Davis <pfd@pfdstudio.com> writes:
> 
> > I'm on a Mac, and don't know how to start the Emacs.app without loading
> > the init file.
> 
> This is how I do it:
> open /Applications/Emacs.app -n --args -Q -l ~/tmp/emacs_debug/init.el
> 
> the '-n' says to open the application again even if it's already opened
> (i.e., you'll have two emacses running if one was already running). The
> '--args' lets you pass arguments to the application. Here I give the
> '-Q' argument and a file to use as init file. Note that files must have
> an absolute path name.
> 
> Best,
> 
> Alan


Thank you, Alan. I did finally manage to open an un-init-ialized emacs
and followed the other instructions, but I still can't get export to
work.

Thanks,
-pd


-- 
  Peter Davis
  www.techcurmudgeon.com

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

* Re: Bug: HTML exports issues: none not working, and issues with #+TITLE
  2016-11-21 19:16       ` Peter Davis
  2016-11-22  8:00         ` Alan Schmitt
@ 2016-11-23  0:21         ` Peter Davis
  2016-11-25 18:52           ` Peter Davis
  1 sibling, 1 reply; 9+ messages in thread
From: Peter Davis @ 2016-11-23  0:21 UTC (permalink / raw)
  To: emacs-orgmode

So I figured out how to do all these things, but it doesn't work.

Does anyone know how to fix this export problem?  I just installed emacs
from <https://emacsformacosx.com/> on a new MacBook Pro.

Emacs version: GNU Emacs 25.1.1 (x86_64-apple-darwin13.4.0, NS
appkit-1265.21 Version 10.9.5 (Build 13F1911)) of 2016-09-20

Org version: Org mode version 9.0.1 (9.0.1-elpa @
/Users/peterdavis/.emacs.d/elpa/org-20161118/)

Any clues?

Thank you!
-pd


On Mon, Nov 21, 2016, at 02:16 PM, Peter Davis wrote:
> This suggests the following, but I don't know how to do any of this:
> 
> 
> The full sequence of steps that worked for me:
> 
> From the command line:
>  - Run emacs without loading the init file: emacs -q
> 
> In emacs:
>  - run C-u M-x org-reload
>  - Use package-list-packages to uninstall org: select it then d x
>  - Use package-list-packages to reinstall org: select it then i x
> 
> After restarting emacs, everything worked.
> 
> I'm on a Mac, and don't know how to start the Emacs.app without loading
> the init file.
> 
> Also, org-mode doesn't show up in the package list.
> 
> Any clues?
> 
> Thanks,
> -pd
> 
> 
> 
> On Tue, Nov 8, 2016, at 08:20 AM, Frederick Giasson wrote:
> > Hi Nicolas,
> > 
> > Thanks anyway, this answer led me to do some more research. What did 
> > work for me is this:
> > 
> >      http://emacs.stackexchange.com/a/16616/13925
> > 
> > Only running C-u M-x org-reload was fixing the issue, but when I 
> > restarted Emacs, it was restarting. Doing org-reload, uninstall and 
> > re-install fixed the issue.
> > 
> > 
> > Thanks,
> > 
> > Fred
> > > Hi Nicolas,
> > >> This seem to indicate you have a mixed installation. See, e.g.,
> > >> <http://permalink.gmane.org/gmane.emacs.orgmode/110092>.
> > >
> > > I am getting a 404 error for that page, would you have another link 
> > > for that thread?
> > >
> > > Thanks,
> > >
> > > Fred
> > >
> > 
> > 
> 
> 
> -- 
>   Peter Davis
>   www.techcurmudgeon.com


-- 
  Peter Davis
  www.techcurmudgeon.com

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

* Re: Bug: HTML exports issues: none not working, and issues with #+TITLE
  2016-11-23  0:21         ` Peter Davis
@ 2016-11-25 18:52           ` Peter Davis
  0 siblings, 0 replies; 9+ messages in thread
From: Peter Davis @ 2016-11-25 18:52 UTC (permalink / raw)
  To: emacs-orgmode

It turns out I somehow had org 9.0.1 on my load path. Moving this
elsewhere and restarting emacs got me back to org 8.2.10, in which
export works.

So now I have to wonder ... what's the right way to upgrade org
versions?

Thanks!

-pd


On Tue, Nov 22, 2016, at 07:21 PM, Peter Davis wrote:
> So I figured out how to do all these things, but it doesn't work.
> 
> Does anyone know how to fix this export problem?  I just installed emacs
> from <https://emacsformacosx.com/> on a new MacBook Pro.
> 
> Emacs version: GNU Emacs 25.1.1 (x86_64-apple-darwin13.4.0, NS
> appkit-1265.21 Version 10.9.5 (Build 13F1911)) of 2016-09-20
> 
> Org version: Org mode version 9.0.1 (9.0.1-elpa @
> /Users/peterdavis/.emacs.d/elpa/org-20161118/)
> 
> Any clues?
> 
> Thank you!
> -pd
> 
> 
> On Mon, Nov 21, 2016, at 02:16 PM, Peter Davis wrote:
> > This suggests the following, but I don't know how to do any of this:
> > 
> > 
> > The full sequence of steps that worked for me:
> > 
> > From the command line:
> >  - Run emacs without loading the init file: emacs -q
> > 
> > In emacs:
> >  - run C-u M-x org-reload
> >  - Use package-list-packages to uninstall org: select it then d x
> >  - Use package-list-packages to reinstall org: select it then i x
> > 
> > After restarting emacs, everything worked.
> > 
> > I'm on a Mac, and don't know how to start the Emacs.app without loading
> > the init file.
> > 
> > Also, org-mode doesn't show up in the package list.
> > 
> > Any clues?
> > 
> > Thanks,
> > -pd
> > 
> > 
> > 
> > On Tue, Nov 8, 2016, at 08:20 AM, Frederick Giasson wrote:
> > > Hi Nicolas,
> > > 
> > > Thanks anyway, this answer led me to do some more research. What did 
> > > work for me is this:
> > > 
> > >      http://emacs.stackexchange.com/a/16616/13925
> > > 
> > > Only running C-u M-x org-reload was fixing the issue, but when I 
> > > restarted Emacs, it was restarting. Doing org-reload, uninstall and 
> > > re-install fixed the issue.
> > > 
> > > 
> > > Thanks,
> > > 
> > > Fred
> > > > Hi Nicolas,
> > > >> This seem to indicate you have a mixed installation. See, e.g.,
> > > >> <http://permalink.gmane.org/gmane.emacs.orgmode/110092>.
> > > >
> > > > I am getting a 404 error for that page, would you have another link 
> > > > for that thread?
> > > >
> > > > Thanks,
> > > >
> > > > Fred
> > > >
> > > 
> > > 
> > 
> > 
> > -- 
> >   Peter Davis
> >   www.techcurmudgeon.com
> 
> 
> -- 
>   Peter Davis
>   www.techcurmudgeon.com


-- 
  Peter Davis
  www.techcurmudgeon.com

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

end of thread, other threads:[~2016-11-25 18:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-07 19:30 Bug: HTML exports issues: none not working, and issues with #+TITLE Frederick Giasson
2016-11-08 11:07 ` Nicolas Goaziou
2016-11-08 12:51   ` Frederick Giasson
2016-11-08 13:20     ` Frederick Giasson
2016-11-21 19:16       ` Peter Davis
2016-11-22  8:00         ` Alan Schmitt
2016-11-22 13:18           ` Peter Davis
2016-11-23  0:21         ` Peter Davis
2016-11-25 18:52           ` Peter Davis

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).