Re: [Daniel Burrows <[email protected]>] Bug#292886: Phantom spaces appearing in TeX documents; related to fill?

David Kastrup <[email protected]>
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
David Kastrup <[email protected]> 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 also appears to work for preview-report-bug.  report-emacs-bug,
> however, appears to get terribly confused when it tries to report the
> (nonexisting) keystroke history.

Forget the last sentence.  I looked more closely.  Just write
(progn (report-emacs-bug "")(princ ...
and everything is fine.  report-emacs-bug takes at least one argument.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.