Gnus development mailing list
 help / color / mirror / Atom feed
* Gnus in emacs-snapshot-nox
@ 2010-08-19  5:38 Alok G Singh
  2010-08-19 18:41 ` Reiner Steib
  0 siblings, 1 reply; 3+ messages in thread
From: Alok G Singh @ 2010-08-19  5:38 UTC (permalink / raw)
  To: ding

When attempting to run Gnus, I get an error. The full backtrace is:

Debugger entered--Lisp error: (void-variable image-load-path)
  image-search-load-path("gnus/toggle-subscription.xpm")
  gmm-image-load-path-for-library("gnus" "gnus/toggle-subscription.xpm" $
  gnus-group-make-tool-bar()
  gnus-group-mode()
  gnus-group-setup-buffer()
  gnus-group-list-groups(nil)
  byte-code("^H\204^N^@ \204^N^@\306 \210\202Q^@\307\310!\210\311\n!^S\f$
  gnus-1(nil nil nil)
  gnus(nil)
  call-interactively(gnus nil nil)
  command-execute(gnus)
  command-line-1(("-f" "gnus"))
  command-line()
  normal-top-level()

Gnus was invoked as emacs -nw -f gnus. From the backtrace it appears that Gnus
is failing to create a toolbar for the group buffer. I presume Gnus should not
attempt to do so when under nox. 

I do have a (setq gnus-use-toolbar nil) in my .gnus but this seems to have no
effect. In fact, I can't find such a variable at all.

Any help appreciated.
--
Alok




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Gnus in emacs-snapshot-nox
  2010-08-19  5:38 Gnus in emacs-snapshot-nox Alok G Singh
@ 2010-08-19 18:41 ` Reiner Steib
  2010-08-20  3:43   ` Alok G. Singh
  0 siblings, 1 reply; 3+ messages in thread
From: Reiner Steib @ 2010-08-19 18:41 UTC (permalink / raw)
  To: Alok G. Singh; +Cc: ding

On Thu, Aug 19 2010, Alok G Singh wrote:

> When attempting to run Gnus, I get an error. The full backtrace is:
>
> Debugger entered--Lisp error: (void-variable image-load-path)
>   image-search-load-path("gnus/toggle-subscription.xpm")
>   gmm-image-load-path-for-library("gnus" "gnus/toggle-subscription.xpm" $
>   gnus-group-make-tool-bar()
>   gnus-group-mode()
[...]
>
> Gnus was invoked as emacs -nw -f gnus. From the backtrace it appears
> that Gnus is failing to create a toolbar for the group buffer. I
> presume Gnus should not attempt to do so when under nox.

`gmm-image-load-path-for-library' in `gnus-group-make-tool-bar' is
called only if `tool-bar-mode' is non-nil:

  (when (and (not (featurep 'xemacs))
	     (boundp 'tool-bar-mode)
	     tool-bar-mode
	     ;; The Gnus 5.10.6 code checked (default-value 'tool-bar-mode).
	     ;; Why?  --rsteib
	     (or (not gnus-group-tool-bar-map) force))

When I start "emacs -nw -Q", `tool-bar-mode' is nil.  Please show the
output of `<f1> v tool-bar-mode RET'.

> I do have a (setq gnus-use-toolbar nil) in my .gnus but this seems to have no
> effect. In fact, I can't find such a variable at all.

Correct.  So setting it has no effect at all for Gnus.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Gnus in emacs-snapshot-nox
  2010-08-19 18:41 ` Reiner Steib
@ 2010-08-20  3:43   ` Alok G. Singh
  0 siblings, 0 replies; 3+ messages in thread
From: Alok G. Singh @ 2010-08-20  3:43 UTC (permalink / raw)
  To: ding

Reiner Steib wrote:

> When I start "emacs -nw -Q", `tool-bar-mode' is nil.  Please show the
> output of `<f1> v tool-bar-mode RET'.

I did have a (setq tool-bar-mode -1) in my .emacs. Changing the -1 to
nil fixed the problem. Sorry for the noise.

-- 
Alok

Love is what you've been through with somebody.
		-- James Thurber




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-20  3:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-19  5:38 Gnus in emacs-snapshot-nox Alok G Singh
2010-08-19 18:41 ` Reiner Steib
2010-08-20  3:43   ` Alok G. Singh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).