all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [Org-mode] Stop exporting user@hostname to html
@ 2010-03-26  3:15 John Hendy
  2010-03-26  7:07 ` Carsten Dominik
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: John Hendy @ 2010-03-26  3:15 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 578 bytes --]

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 <username@hostname> <jwhendy@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

[-- Attachment #1.2: Type: text/html, Size: 769 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

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

* Re: [Org-mode] Stop exporting user@hostname to html
  2010-03-26  3:15 [Org-mode] Stop exporting user@hostname to html John Hendy
@ 2010-03-26  7:07 ` Carsten Dominik
  2010-03-26  7:09 ` Jan Böcker
  2010-03-26  7:15 ` David Maus
  2 siblings, 0 replies; 10+ messages in thread
From: Carsten Dominik @ 2010-03-26  7:07 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode


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 <username@hostname>
> | Date: 2010-03-25 21:56:05 CDT
> | HTML generated by org-mode 6.34trans in emacs 23
> \--------------
>


The reason that it says username@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: you@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

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

* Re: [Org-mode] Stop exporting user@hostname to html
  2010-03-26  3:15 [Org-mode] Stop exporting user@hostname to html John Hendy
  2010-03-26  7:07 ` Carsten Dominik
@ 2010-03-26  7:09 ` Jan Böcker
  2010-03-26  7:15 ` David Maus
  2 siblings, 0 replies; 10+ messages in thread
From: Jan Böcker @ 2010-03-26  7:09 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode

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 <username@hostname> <mailto:jwhendy@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

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

* Re: [Org-mode] Stop exporting user@hostname to html
  2010-03-26  3:15 [Org-mode] Stop exporting user@hostname to html John Hendy
  2010-03-26  7:07 ` Carsten Dominik
  2010-03-26  7:09 ` Jan Böcker
@ 2010-03-26  7:15 ` David Maus
       [not found]   ` <17810.1269615894@gamaville.dokosmarshall.org>
  2 siblings, 1 reply; 10+ messages in thread
From: David Maus @ 2010-03-26  7:15 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 924 bytes --]

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 <username@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.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

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

* Re: [Org-mode] Stop exporting user@hostname to html
       [not found]   ` <17810.1269615894@gamaville.dokosmarshall.org>
@ 2010-03-26 15:59     ` David Maus
  2010-03-26 17:01       ` John Hendy
  2010-03-26 20:34       ` Carsten Dominik
  0 siblings, 2 replies; 10+ messages in thread
From: David Maus @ 2010-03-26 15:59 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode


[-- Attachment #1.1.1: Type: text/plain, Size: 1339 bytes --]

Nick Dokos wrote:
>David Maus <dmaus@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 <username@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.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.1.2: fix-docstring-author-info.diff --]
[-- Type: application/octet-stream, Size: 434 bytes --]

diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index cd89539..a57a256 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -312,7 +312,7 @@ headline  Only export the headline, but skip the tree below it."
   "Non-nil means insert author name and email into the exported file.
 
 This option can also be set with the +OPTIONS line,
-e.g. \"author-info:nil\"."
+e.g. \"author:nil\"."
   :group 'org-export-general
   :type 'boolean)
 

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

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

* Re: [Org-mode] Stop exporting user@hostname to html
  2010-03-26 15:59     ` David Maus
@ 2010-03-26 17:01       ` John Hendy
  2010-03-26 20:34       ` Carsten Dominik
  1 sibling, 0 replies; 10+ messages in thread
From: John Hendy @ 2010-03-26 17:01 UTC (permalink / raw)
  To: David Maus; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 2650 bytes --]

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 <dmaus@ictsoc.de> wrote:

> Nick Dokos wrote:
> >David Maus <dmaus@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 <username@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.... dmjena@jabber.org
> Email..... dmaus@ictsoc.de
>

[-- Attachment #1.2: Type: text/html, Size: 3639 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

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

* Re: [Org-mode] Stop exporting user@hostname to html
  2010-03-26 15:59     ` David Maus
  2010-03-26 17:01       ` John Hendy
@ 2010-03-26 20:34       ` Carsten Dominik
  2010-03-26 22:04         ` John Hendy
  1 sibling, 1 reply; 10+ messages in thread
From: Carsten Dominik @ 2010-03-26 20:34 UTC (permalink / raw)
  To: David Maus; +Cc: emacs-orgmode

Applied, thanks.

- Carsten

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

> Nick Dokos wrote:
>> David Maus <dmaus@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 <username@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.... dmjena@jabber.org
> Email..... dmaus@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

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

* Re: [Org-mode] Stop exporting user@hostname to html
  2010-03-26 20:34       ` Carsten Dominik
@ 2010-03-26 22:04         ` John Hendy
  2010-03-26 22:13           ` Carsten Dominik
  2010-03-26 22:15           ` Nick Dokos
  0 siblings, 2 replies; 10+ messages in thread
From: John Hendy @ 2010-03-26 22:04 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 2222 bytes --]

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.dominik@gmail.com>wrote:

> Applied, thanks.
>
> - Carsten
>
>
> On Mar 26, 2010, at 4:59 PM, David Maus wrote:
>
>  Nick Dokos wrote:
>>
>>> David Maus <dmaus@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 <username@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.... dmjena@jabber.org
>> Email..... dmaus@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
>

[-- Attachment #1.2: Type: text/html, Size: 4593 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

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

* Re: [Org-mode] Stop exporting user@hostname to html
  2010-03-26 22:04         ` John Hendy
@ 2010-03-26 22:13           ` Carsten Dominik
  2010-03-26 22:15           ` Nick Dokos
  1 sibling, 0 replies; 10+ messages in thread
From: Carsten Dominik @ 2010-03-26 22:13 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode


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.dominik@gmail.com 
> > wrote:
> Applied, thanks.
>
> - Carsten
>
>
> On Mar 26, 2010, at 4:59 PM, David Maus wrote:
>
> Nick Dokos wrote:
> David Maus <dmaus@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 <username@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.... dmjena@jabber.org
> Email..... dmaus@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

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

* Re: [Org-mode] Stop exporting user@hostname to html
  2010-03-26 22:04         ` John Hendy
  2010-03-26 22:13           ` Carsten Dominik
@ 2010-03-26 22:15           ` Nick Dokos
  1 sibling, 0 replies; 10+ messages in thread
From: Nick Dokos @ 2010-03-26 22:15 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode, Carsten Dominik

John Hendy <jw.hendy@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

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

end of thread, other threads:[~2010-03-26 23:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-26  3:15 [Org-mode] Stop exporting user@hostname to html John Hendy
2010-03-26  7:07 ` Carsten Dominik
2010-03-26  7:09 ` Jan Böcker
2010-03-26  7:15 ` David Maus
     [not found]   ` <17810.1269615894@gamaville.dokosmarshall.org>
2010-03-26 15:59     ` David Maus
2010-03-26 17:01       ` John Hendy
2010-03-26 20:34       ` Carsten Dominik
2010-03-26 22:04         ` John Hendy
2010-03-26 22:13           ` Carsten Dominik
2010-03-26 22:15           ` Nick Dokos

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.