Re: [Daniel Burrows <[email protected]>] Bug#292886: Phantom spaces appearing in TeX documents; related to fill?
[email protected] (Frank Küster)
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
Ralf Angeli <[email protected]> schrieb: > * David Kastrup (2005-02-01) writes: > >> I think it would be both more flexible and robust to just run the bug >> reporting command itself (answering return to any possible prompt), >> then dump the resulting mail buffer up to a possible signature. Here >> would be how to do that: >> >> yes|emacs -batch --eval '(progn(TeX-submit-bug-report)(princ(buffer-substring (point)(or(search-forward "\n-- \n" nil t)(point-max)))))' 2>/dev/null > > This produces nothing here. Omitting the redirection of stderr I get > "Symbol's function definition is void: TeX-submit-bug-report". That's > a bit surprising because `TeX-submit-bug-report' is being autoloaded > in tex-site.el and I have `(require 'tex-site)' in my .emacs file. Strange. Does -batch imply -q? > The command will only give me the wanted output if I add a `(require > 'tex-site)' before the call to `TeX-submit-bug-report' (and adapt the > quoting). How is that done? I could use it because the preview-latex package of Debian loads preview-latex.el only cond (eq window-system 'x), which is not true in batch mode. Regards, Frank -- Frank Küster Inst. f. Biochemie der Univ. Zürich Debian Developer