From: "Sven Bretfeld" <sven.bretfeld@gmx.ch>
To: help-gnu-emacs@gnu.org
Subject: emacs --batch and --geometry (no joke)
Date: 15 Mar 2011 17:31:22 +0100 [thread overview]
Message-ID: <87hbb4cplx.fsf@gmx.ch> (raw)
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
next reply other threads:[~2011-03-15 16:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-15 16:31 Sven Bretfeld [this message]
2011-03-15 17:47 ` emacs --batch and --geometry (no joke) 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hbb4cplx.fsf@gmx.ch \
--to=sven.bretfeld@gmx.ch \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.