unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9090: 24.0.50; void-variable jka-compr-verbose
@ 2011-07-15 14:38 lee
  2011-07-15 17:04 ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: lee @ 2011-07-15 14:38 UTC (permalink / raw)
  To: 9090

This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org.  Please check that
the From: line contains a valid email address.  After a delay of up
to one day, you should receive an acknowledgement at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug.  If you can, give a recipe
starting from `emacs -Q':



When starting emacs, I'm getting a warning "Warning: defvar ignored
because jka-compr-verbose is let-bound".  This leads to errors when
dealing with compressed files and gives backtraces like:

,----
| Debugger entered--Lisp error: (void-variable jka-compr-verbose)
|   jka-compr-insert-file-contents("/home/lee/tmp/emacs-backtrace.txt.gz" t nil nil nil)
|   apply(jka-compr-insert-file-contents ("/home/lee/tmp/emacs-backtrace.txt.gz" t nil nil nil))
|   jka-compr-handler(insert-file-contents "/home/lee/tmp/emacs-backtrace.txt.gz" t nil nil nil)
|   insert-file-contents("~/tmp/emacs-backtrace.txt.gz" t)
|   byte-code([...] [inhibit-read-only filename t insert-file-contents] 3)
|   find-file-noselect-1(#<buffer emacs-backtrace.txt.gz> "~/tmp/emacs-backtrace.txt.gz" nil nil "~/tmp/emacs-backtrace.txt.gz" (76027656 2430))
|   find-file-noselect("~/tmp/emacs-backtrace.txt.gz" nil nil t)
|   find-file("~/tmp/emacs-backtrace.txt.gz" t)
|   call-interactively(find-file nil nil)
`----

As a work-around, I've put (setq jka-compr-verbose t) into my ~/.emacs.



If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/local/share/emacs/24.0.50/etc/DEBUG.


In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, X toolkit)
 of 2011-07-15 on yun
configured using `configure  '--with-x-toolkit=lucid''

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: de_DE.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Summary

Minor modes in effect:
  show-paren-mode: t
  desktop-save-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x b RET ESC x g n u s RET RET C-x b e m TAB i TAB 
RET ESC O A ESC O D ESC O D ESC O D ESC O D ESC O D 
ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC 
O D ESC O D ESC O D ESC O D ESC O D ESC O D ESC O D 
C-@ ESC [ 4 ~ ESC w C-x b RET ESC O A ESC O A ESC [ 
7 ^ ESC y g C-g M SPC ESC < C-s C-y C-s C-s C-s C-s 
C-s C-g c o m p r e s C-s C-s C-s C-g C-g C-g ESC x 
b u g TAB DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL 
DEL DEL DEL r e p o TAB r TAB RET

Recent messages:
Generating summary...done
Mark set
Couldn't fetch article <87y6mmc79m.fsf@kzsu.stanford.edu>
Buffer is read-only: #<buffer *Summary mail.lists.bug-gnu-emacs*>
bunzip2ing 822.bz2...done
Parsing BBDB... (frobnicating...done)
Quit
Mark set
Quit [2 times]
Making completion list...

Load-path shadows:
None found.

Features:
(shadow flyspell ispell emacsbug help-mode view multi-isearch mule-util
sort ansi-color gnus-cite gnus-async gnus-bcklg qp gnus-ml nndraft nnmh
nndoc nnmaildir parse-time rot13 disp-table netrc gnutls network-stream
auth-source eieio assoc starttls tls nnfolder bbdb-gnus bbdb-snarf
mail-extr bbdb-com cl nnml gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg nntp gnus-cache rx gnus-diary gnus-art mm-uu mml2015
epg-config mm-view mml-smime smime password-cache dig mailcap nndiary
nnir gnus-sum gnus-group gnus-undo nnmail mail-source nnoo gnus-start
gnus-spec gnus-int gnus-range message sendmail rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems
nnheader gnus-util mail-utils mm-util mail-prsvr wid-edit jka-compr info
sh-script executable vc-bzr make-mode org-wl org-w3m org-vm org-rmail
org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp
org-exp-blocks org-agenda org-info org-gnus org-docview org-bibtex
org-bbdb cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew
holidays hol-loaddefs appt diary-lib diary-loaddefs remember
org-remember org-datetree org byte-opt warnings bytecomp byte-compile
cconv macroexp advice help-fns advice-preload ob-emacs-lisp ob-tangle
ob-ref ob-lob ob-table org-footnote org-src ob-comint comint ob-keys ob
ob-eval org-complete pcomplete org-list org-faces org-compat
org-entities org-macs noutline outline easy-mmode cal-menu easymenu
calendar cal-loaddefs ring erc-goodies erc erc-backend erc-compat
format-spec thingatpt pp bbdb-autoloads bbdb regexp-opt timezone
saveplace time-date paren cus-start cus-load desktop boxquote rect
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar
dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
cus-face files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process dbusbind dynamic-setting system-font-setting
font-render-setting x-toolkit x multi-tty emacs)





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

* bug#9090: 24.0.50; void-variable jka-compr-verbose
  2011-07-15 14:38 bug#9090: 24.0.50; void-variable jka-compr-verbose lee
@ 2011-07-15 17:04 ` Glenn Morris
  2011-07-15 18:11   ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2011-07-15 17:04 UTC (permalink / raw)
  To: 9090-done

Version: 24.1

lee wrote:

> When starting emacs, I'm getting a warning "Warning: defvar ignored
> because jka-compr-verbose is let-bound".

Fixed.

Recipe:

emacs -Q -l info

(info-insert-file-contents "/usr/share/info/emacs.gz")
M-x find-file RET /usr/share/info/emacs.gz RET





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

* bug#9090: 24.0.50; void-variable jka-compr-verbose
  2011-07-15 17:04 ` Glenn Morris
@ 2011-07-15 18:11   ` Lars Magne Ingebrigtsen
  2011-07-15 18:20     ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-15 18:11 UTC (permalink / raw)
  To: 9090

Glenn Morris <rgm@gnu.org> writes:

>> When starting emacs, I'm getting a warning "Warning: defvar ignored
>> because jka-compr-verbose is let-bound".
>
> Fixed.

Sorry; my fault.  The binding/later-loading thing is pretty annoying in
general, though.

Has changing the way `defvar' works in the presence of let-bindings been
discussed? 

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





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

* bug#9090: 24.0.50; void-variable jka-compr-verbose
  2011-07-15 18:11   ` Lars Magne Ingebrigtsen
@ 2011-07-15 18:20     ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2011-07-15 18:20 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 9090

Lars Magne Ingebrigtsen wrote:

> The binding/later-loading thing is pretty annoying in general, though.

A general solution would be nice, yes. I guess if it were easy to do,
though, the code would do that rather than just emit a warning.

> Has changing the way `defvar' works in the presence of let-bindings been
> discussed? 

Can't remember.





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

end of thread, other threads:[~2011-07-15 18:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-15 14:38 bug#9090: 24.0.50; void-variable jka-compr-verbose lee
2011-07-15 17:04 ` Glenn Morris
2011-07-15 18:11   ` Lars Magne Ingebrigtsen
2011-07-15 18:20     ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).