package emacs24-common
tags 768904 + patch upstream
thanks

On 10-Nov-2014, Rob Browning wrote:
> Rob Browning <r...@defaultvalue.org> writes:
> > Aha?
> >   http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18813
> 
> And if that is the cause, perhaps this will fix it:
> 
> --- a/lisp/gnus.el
> +++ b/lisp/gnus.el
> @@ -327,7 +327,8 @@ be set in `.emacs' instead."
>        (defun gnus-mode-line-buffer-identification (line)
>       (let ((str (car-safe line))
>             (load-path (append (mm-image-load-path) load-path)))
> -       (if (and (stringp str)
> +       (if (and (display-graphic-p)
> +                (stringp str)
>                  (string-match "^Gnus:" str))
>             (progn (add-text-properties
>                     0 5
> 
> If you're comfortable editing
> /usr/share/emacs/24.4/lisp/gnus/gnus.el.gz. to add that
> "(display-graphic-p)" test, please let me know if it helps.

I saved a modified version to my ‘$HOME/.emacs.d/lib/’ directory,
byte-compiled it, and now:

    $ emacs -f gnus

starts successfully and runs normally.

This works around the issue for me; I can leave that file in my
customisation directory, and wait for Debian's Emacs to gain the patch.

-- 
 \       “Anyone who puts a small gloss on [a] fundamental technology, |
  `\          calls it proprietary, and then tries to keep others from |
_o__)           building on it, is a thief.” —Tim O'Reilly, 2000-01-25 |
Ben Finney <b...@benfinney.id.au>

Attachment: signature.asc
Description: Digital signature

Reply via email to