From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dirk Gouders Newsgroups: gmane.emacs.bugs Subject: mh-print-msg Date: Thu, 15 Jul 2004 16:51:12 +0200 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <200407151451.i6FEpC1b087850@musashi.et.bocholt.fh-gelsenkirchen.de> Reply-To: Dirk Gouders NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1089903158 16004 80.91.224.253 (15 Jul 2004 14:52:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Jul 2004 14:52:38 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 15 16:52:20 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bl7at-0005lJ-00 for ; Thu, 15 Jul 2004 16:52:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bl7dM-00051P-Qe for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Jul 2004 10:54:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bl7dK-000519-J4 for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2004 10:54:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bl7dH-00050x-Eo for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2004 10:54:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bl7dH-00050u-CC for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2004 10:54:47 -0400 Original-Received: from [193.175.197.63] (helo=alice.et.bocholt.fh-gelsenkirchen.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Bl7aW-0004gE-8o for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2004 10:51:56 -0400 Original-Received: from musashi.et.bocholt.fh-gelsenkirchen.de (musashi.et.bocholt.fh-gelsenkirchen.de [193.175.197.95]) by alice.et.bocholt.fh-gelsenkirchen.de (8.12.9/8.12.9) with ESMTP id i6FEpmZp026973 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 15 Jul 2004 16:51:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by musashi.et.bocholt.fh-gelsenkirchen.de (8.12.11/8.12.11) with ESMTP id i6FEpC1b087850 for ; Thu, 15 Jul 2004 16:51:12 +0200 (CEST) (envelope-from hank@musashi.et.bocholt.fh-gelsenkirchen.de) Original-To: bug-gnu-emacs@gnu.org X-Scanned-By: MIMEDefang 2.43 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:8417 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:8417 This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.3.1 (i386--freebsd, X toolkit, Xaw3d scroll bars) of 2004-07-15 on musashi.et.bocholt.fh-gelsenkirchen.de configured using `configure --prefix=/usr/local i386--freebsd' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil locale-coding-system: nil default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: The function mh-print-msg did not work on my machine. So, I debugged the function and saw, that it does a (expand-file-name "mhl" mh-lib) to generate the command to format the mail before printing. On my machine, the variable mh-lib is set to /usr/local/etc/nmh and this directory does not contain the program mhl. I recognized that there is another variable mh-lib-progs that is set to the directory where the program mhl actually exists. So, I am wondering, if the variable mh-lib-progs should be used to generate the format command. If so, here is a patch for the necessary changes: diff -r -u emacs-21.3/lisp/mail/mh-funcs.el emacs-21.3_mod/lisp/mail/mh-funcs.el --- emacs-21.3/lisp/mail/mh-funcs.el Sun Jul 15 21:53:53 2001 +++ emacs-21.3_mod/lisp/mail/mh-funcs.el Thu Jul 15 16:46:19 2004 @@ -211,7 +211,7 @@ (let ((print-command (if (numberp msg-or-seq) (format "%s -nobell -clear %s %s | %s" - (expand-file-name "mhl" mh-lib) + (expand-file-name "mhl" mh-lib-progs) (mh-msg-filename msg-or-seq) (if (stringp mhl-formfile) (format "-form %s" mhl-formfile) Recent input: M-x m h - r m a i l M-f 2 0 0 4 l M-x b u C-x o C-x o C-x 1 C-s b u g C-s C-s C-s C-s C-s C-s Recent messages: inc +inbox...done No new mail Collecting folder names...done Scanning +2004...done Loading mh-funcs...done Printing message...done Making completion list... Loading view...done Making completion list... [2 times] Loading emacsbug...done