GNU bug report logs - #25468
26.0.50; Can't load htmlfontify if shell binary doesn't exist

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Tue, 17 Jan 2017 14:21:02 UTC

Severity: minor

Found in version 26.0.50

Done: Philipp Stephani <p.stephani2 <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: 25468 <at> debbugs.gnu.org
Subject: bug#25468: 26.0.50; Can't load htmlfontify if shell binary doesn't exist
Date: Tue, 17 Jan 2017 17:27:27 +0000
[Message part 1 (text/plain, inline)]
Philipp Stephani <p.stephani2 <at> gmail.com> schrieb am Di., 17. Jan. 2017 um
15:21 Uhr:

>
> $ SHELL=/doesnotexist src/emacs -Q -batch -l htmlfontify ; echo $?
> Searching for program: No such file or directory, /doesnotexist
> 255
>
> This is of course a rather rare edge case, but I think that
> unavailability of a shell shouldn't prevent htmlfontify from loading.
> The shell is only used to initialize hfy-etags-cmd, this variable could
> simply be initialized to nil if no shell is found, similar to when no
> etags binary is found.
>

I've attached a patch.
[Message part 2 (text/html, inline)]
[0001-Don-t-error-when-loading-htmlfontify-without-shell.txt (text/plain, attachment)]

This bug report was last modified 8 years and 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.