unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs --batch and --geometry (no joke)
@ 2011-03-15 16:31 Sven Bretfeld
  2011-03-15 17:47 ` Peter Dyballa
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Bretfeld @ 2011-03-15 16:31 UTC (permalink / raw)
  To: help-gnu-emacs

Hi to all

This might seem an absurd question. I'm looking for a possibility to
start emacs --batch with geometry parameters. Of course, I know that
emacs --batch will have no frame.

The reason is this: I start emacs --batch as a cronjob to regularly
create some html files of org-agenda-views (org-export-as-html). How the
html files look like is dependent on the frame-size in which the export
is done. So, in batch-mode there are many line-breaks and the output
looks ugly. The default frame-size set in a load-file is ignored, as
well as a --geometry option.

It would be an option to execute the export function with run-at-time
within my always running Emacs session (daemon), but since the function
needs some time to finish, my workflow would be interrupted for about 20
seconds.

The only workaround I can imagine, is an always running independent
Emacs session which runs the function regularly via run-at-time. 

Are there other ideas?

Thanks for help,

Sven



^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <mailman.9.1300206698.1264.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2011-03-16 12:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-15 16:31 emacs --batch and --geometry (no joke) Sven Bretfeld
2011-03-15 17:47 ` Peter Dyballa
     [not found] <mailman.9.1300206698.1264.help-gnu-emacs@gnu.org>
2011-03-15 21:41 ` Tim X
2011-03-16 12:33   ` Sven Bretfeld

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).