From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: [Org-mode] Stop exporting user@hostname to html Date: Fri, 26 Mar 2010 11:01:48 -0600 Message-ID: References: <87tys3h7uc.wl%dmaus@ictsoc.de> <17810.1269615894@gamaville.dokosmarshall.org> <871vf7gjko.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0887064619==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NvCux-0001Pi-NT for emacs-orgmode@gnu.org; Fri, 26 Mar 2010 13:01:55 -0400 Received: from [140.186.70.92] (port=55540 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NvCuw-0001OW-0h for emacs-orgmode@gnu.org; Fri, 26 Mar 2010 13:01:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NvCus-0006uw-Cj for emacs-orgmode@gnu.org; Fri, 26 Mar 2010 13:01:53 -0400 Received: from mail-px0-f179.google.com ([209.85.216.179]:37989) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NvCus-0006ub-4r for emacs-orgmode@gnu.org; Fri, 26 Mar 2010 13:01:50 -0400 Received: by pxi9 with SMTP id 9so2271270pxi.6 for ; Fri, 26 Mar 2010 10:01:49 -0700 (PDT) In-Reply-To: <871vf7gjko.wl%dmaus@ictsoc.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David Maus Cc: emacs-orgmode@gnu.org --===============0887064619== Content-Type: multipart/alternative; boundary=0016e64cce947a004b0482b71ef2 --0016e64cce947a004b0482b71ef2 Content-Type: text/plain; charset=ISO-8859-1 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 wrote: > Nick Dokos wrote: > >David Maus 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 > >> >| 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 > --0016e64cce947a004b0482b71ef2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 n= ot 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 actuall= y 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 re= sult 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 htm= l 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 speci= fy 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&g= t; 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/hostna= me thingy
>> >there. I have Author set via #+AUTHOR. I can't find any re= ference 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. =A0But 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 i= s
author:nil.

(attached patch fixes typo)

=A0-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

--0016e64cce947a004b0482b71ef2-- --===============0887064619== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0887064619==--