Re: [Orgmode] [Org-mode] Stop exporting u...@hostname to html

2010-03-26 Thread Jan Böcker
On 26.03.2010 04:15, John Hendy wrote:
 Perhaps a silly question: just wondering if it's possible to stop having
 this at the bottom of every html file I export:
 
 /-
 | Author: John W. Henderson usern...@hostname mailto:jwhe...@zenwalk
 | Date: 2010-03-25 21:56:05 CDT
 | HTML generated by org-mode 6.34trans in emacs 23
 \--
 
 I'm all for the date and supporting people knowing this is from
 org-mode/emacs but I don't really want the username/hostname thingy
 there. I have Author set via #+AUTHOR. I can't find any reference to
 host/hostname in the manual and with other google searches.
 
 Thanks,
 John
 

Hi John,

that's your email address - at least what org mode guesses it might be,
because it does not know.

You can set this with #+EMAIL.

Unfortunately, from what I gather from (info (org) Export options),
there seems to be no way to turn the email address off independently.

The manual says:
author:turn on/off inclusion of author name/email into exported file

So it seems author and email address can only be switched on/off together.

HTH, Jan


___
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] Stop exporting u...@hostname to html

2010-03-26 Thread David Maus
Hi John,

John Hendy wrote:

Perhaps a silly question: just wondering if it's possible to stop
having this at the bottom of every html file I export:

/-
| Author: John W. Henderson usern...@hostname
| Date: 2010-03-25 21:56:05 CDT
| HTML generated by org-mode 6.34trans in emacs 23
\--

I'm all for the date and supporting people knowing this is from
org-mode/emacs but I don't really want the username/hostname thingy
there. I have Author set via #+AUTHOR. I can't find any reference to
host/hostname in the manual and with other google searches.

You *should* be able to suppress the author info by setting the
property :author-info to nil in the publish project alist.

However, it looks like there's a malfunction on Org's side: Setting
this option to nil does have no effect.

HTH
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgp93zkhNONx2.pgp
Description: PGP signature
___
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] Stop exporting u...@hostname to html

2010-03-26 Thread Carsten Dominik


On Mar 26, 2010, at 4:15 AM, John Hendy wrote:

Perhaps a silly question: just wondering if it's possible to stop  
having this at the bottom of every html file I export:


/-
| Author: John W. Henderson usern...@hostname
| Date: 2010-03-25 21:56:05 CDT
| HTML generated by org-mode 6.34trans in emacs 23
\--




The reason that it says usern...@hostname is because
you have not set up `user-mail-address'.

But you are raising a bigger issue - I guess we should not export the  
email

address in this way at all.

I'm all for the date and supporting people knowing this is from org- 
mode/emacs but I don't really want the username/hostname thingy  
there. I have Author set via #+AUTHOR. I can't find any reference to  
host/hostname in the manual and with other google searches.




You can also set the email address with #+EMAIL: y...@there.org

However, I have just checked in a change that turns off
exporting the email address alltogether.  If you want it back,
use

   (setq org-export-email-info t)

- 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] Stop exporting u...@hostname to html

2010-03-26 Thread David Maus
Nick Dokos wrote:
David Maus dm...@ictsoc.de wrote:

 Perhaps a silly question: just wondering if it's possible to stop
 having this at the bottom of every html file I export:

 /-
 | Author: John W. Henderson usern...@hostname
 | Date: 2010-03-25 21:56:05 CDT
 | HTML generated by org-mode 6.34trans in emacs 23
 \--

 I'm all for the date and supporting people knowing this is from
 org-mode/emacs but I don't really want the username/hostname thingy
 there. I have Author set via #+AUTHOR. I can't find any reference to
 host/hostname in the manual and with other google searches.

 You *should* be able to suppress the author info by setting the
 property :author-info to nil in the publish project alist.

 However, it looks like there's a malfunction on Org's side: Setting
 this option to nil does have no effect.


Setting it globally by setting the variable org-export-author-info to
nil seems to work OK.  But setting it in the file #+OPTIONS line:

#+OPTIONS: author-info:nil

does not seem to work, so there seems to be a disconnect there.

It's a typo in the variables docstring: The infile option is
author:nil.

(attached patch fixes typo)

 -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


fix-docstring-author-info.diff
Description: Binary data


pgpMgaEQAm717.pgp
Description: PGP signature
___
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] Stop exporting u...@hostname to html

2010-03-26 Thread John Hendy
Thanks for the replies.

- Carsten: Guessing that I need to pull from git to have this new behavior?
--- I'm guessing it's new as (setq org-export-email-info nil) did not have
an effect for me (would indicate that perhaps this variable does not exist
in my version?)

- Re. the variable/option name: I didn't check the org-exporg.el file... I
was going by the options listed here:
http://orgmode.org/manual/Export-options.html. Based on the replies, I think
I'm correct in saying that there actually is no variable to target just the
email portion of the author's info, right? It's either author name + email
or nothing? This has been my result when using '#+OPTIONS: author:nil'
--- I'm guessing this is why Carsten implemented the above.

--- To clarify, I'm not setting up to export a 'whole project' I just
use 'C-c C-e b' to export an html of what I'm working on. Just looking to
change the behavior when exporting one .org file. I have seen the page for
the kit-and-kaboodle export of a whole tree and just wanted to clarify that
I'm not doing that. They may use the same method but since I'm new I don't
know so I wanted to specify my purpose.


John


On Fri, Mar 26, 2010 at 9:59 AM, David Maus dm...@ictsoc.de wrote:

 Nick Dokos wrote:
 David Maus dm...@ictsoc.de wrote:

  Perhaps a silly question: just wondering if it's possible to stop
  having this at the bottom of every html file I export:
 
  /-
  | Author: John W. Henderson usern...@hostname
  | Date: 2010-03-25 21:56:05 CDT
  | HTML generated by org-mode 6.34trans in emacs 23
  \--
 
  I'm all for the date and supporting people knowing this is from
  org-mode/emacs but I don't really want the username/hostname thingy
  there. I have Author set via #+AUTHOR. I can't find any reference to
  host/hostname in the manual and with other google searches.
 
  You *should* be able to suppress the author info by setting the
  property :author-info to nil in the publish project alist.
 
  However, it looks like there's a malfunction on Org's side: Setting
  this option to nil does have no effect.
 

 Setting it globally by setting the variable org-export-author-info to
 nil seems to work OK.  But setting it in the file #+OPTIONS line:

 #+OPTIONS: author-info:nil

 does not seem to work, so there seems to be a disconnect there.

 It's a typo in the variables docstring: The infile option is
 author:nil.

 (attached patch fixes typo)

  -- David
 --
 OpenPGP... 0x99ADB83B5A4478E6
 Jabber dmj...@jabber.org
 Email. dm...@ictsoc.de

___
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] Stop exporting u...@hostname to html

2010-03-26 Thread Carsten Dominik

Applied, thanks.

- Carsten

On Mar 26, 2010, at 4:59 PM, David Maus wrote:


Nick Dokos wrote:

David Maus dm...@ictsoc.de wrote:



Perhaps a silly question: just wondering if it's possible to stop
having this at the bottom of every html file I export:



/-
| Author: John W. Henderson usern...@hostname
| Date: 2010-03-25 21:56:05 CDT
| HTML generated by org-mode 6.34trans in emacs 23
\--



I'm all for the date and supporting people knowing this is from
org-mode/emacs but I don't really want the username/hostname thingy
there. I have Author set via #+AUTHOR. I can't find any reference  
to

host/hostname in the manual and with other google searches.


You *should* be able to suppress the author info by setting the
property :author-info to nil in the publish project alist.

However, it looks like there's a malfunction on Org's side: Setting
this option to nil does have no effect.




Setting it globally by setting the variable org-export-author-info to
nil seems to work OK.  But setting it in the file #+OPTIONS line:



#+OPTIONS: author-info:nil



does not seem to work, so there seems to be a disconnect there.


It's a typo in the variables docstring: The infile option is
author:nil.

(attached patch fixes typo)

-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de
fix-docstring-author- 
info.diff___

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] Stop exporting u...@hostname to html

2010-03-26 Thread John Hendy
So, to get your change... do I need the current git version? Or a fresh
org-export.el?

On Fri, Mar 26, 2010 at 2:34 PM, Carsten Dominik
carsten.domi...@gmail.comwrote:

 Applied, thanks.

 - Carsten


 On Mar 26, 2010, at 4:59 PM, David Maus wrote:

  Nick Dokos wrote:

 David Maus dm...@ictsoc.de wrote:


  Perhaps a silly question: just wondering if it's possible to stop
 having this at the bottom of every html file I export:


  /-
 | Author: John W. Henderson usern...@hostname
 | Date: 2010-03-25 21:56:05 CDT
 | HTML generated by org-mode 6.34trans in emacs 23
 \--


  I'm all for the date and supporting people knowing this is from
 org-mode/emacs but I don't really want the username/hostname thingy
 there. I have Author set via #+AUTHOR. I can't find any reference to
 host/hostname in the manual and with other google searches.


 You *should* be able to suppress the author info by setting the
 property :author-info to nil in the publish project alist.

 However, it looks like there's a malfunction on Org's side: Setting
 this option to nil does have no effect.


  Setting it globally by setting the variable org-export-author-info to
 nil seems to work OK.  But setting it in the file #+OPTIONS line:


  #+OPTIONS: author-info:nil


  does not seem to work, so there seems to be a disconnect there.


 It's a typo in the variables docstring: The infile option is
 author:nil.

 (attached patch fixes typo)

 -- David
 --
 OpenPGP... 0x99ADB83B5A4478E6
 Jabber dmj...@jabber.org
 Email. dm...@ictsoc.de

 fix-docstring-author-info.diff___
 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

___
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] Stop exporting u...@hostname to html

2010-03-26 Thread Carsten Dominik


On Mar 26, 2010, at 11:04 PM, John Hendy wrote:

So, to get your change... do I need the current git version? Or a  
fresh org-export.el?


Applied, thanks means, you will have this change with the next git  
pull


- Carsten



On Fri, Mar 26, 2010 at 2:34 PM, Carsten Dominik carsten.domi...@gmail.com 
 wrote:

Applied, thanks.

- Carsten


On Mar 26, 2010, at 4:59 PM, David Maus wrote:

Nick Dokos wrote:
David Maus dm...@ictsoc.de wrote:

Perhaps a silly question: just wondering if it's possible to stop
having this at the bottom of every html file I export:

/-
| Author: John W. Henderson usern...@hostname
| Date: 2010-03-25 21:56:05 CDT
| HTML generated by org-mode 6.34trans in emacs 23
\--

I'm all for the date and supporting people knowing this is from
org-mode/emacs but I don't really want the username/hostname thingy
there. I have Author set via #+AUTHOR. I can't find any reference to
host/hostname in the manual and with other google searches.

You *should* be able to suppress the author info by setting the
property :author-info to nil in the publish project alist.

However, it looks like there's a malfunction on Org's side: Setting
this option to nil does have no effect.


Setting it globally by setting the variable org-export-author-info to
nil seems to work OK.  But setting it in the file #+OPTIONS line:

#+OPTIONS: author-info:nil

does not seem to work, so there seems to be a disconnect there.

It's a typo in the variables docstring: The infile option is
author:nil.

(attached patch fixes typo)

-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de
fix-docstring-author- 
info.diff___

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



- 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] Stop exporting u...@hostname to html

2010-03-26 Thread Nick Dokos
John Hendy jw.he...@gmail.com wrote:

 So, to get your change... do I need the current git version? Or a fresh 
 org-export.el?
 

If you are talking about org-export-email-info, you need to pull the
current git version: there were changes in multiple files to do this.
If you are talking about org-export-author-info, that has been there
all the time (except for the documentation bug fix that David sent in).

HTH,
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] [Org-mode] Stop exporting u...@hostname to html

2010-03-25 Thread John Hendy
Perhaps a silly question: just wondering if it's possible to stop having
this at the bottom of every html file I export:

/-
| Author: John W. Henderson usern...@hostname jwhe...@zenwalk
| Date: 2010-03-25 21:56:05 CDT
| HTML generated by org-mode 6.34trans in emacs 23
\--

I'm all for the date and supporting people knowing this is from
org-mode/emacs but I don't really want the username/hostname thingy there. I
have Author set via #+AUTHOR. I can't find any reference to host/hostname in
the manual and with other google searches.

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