* Print functions gone
@ 2005-10-02 22:18 Joe Bush
2005-10-03 15:59 ` Kevin Rodgers
[not found] ` <mailman.9563.1128355467.20277.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 9+ messages in thread
From: Joe Bush @ 2005-10-02 22:18 UTC (permalink / raw)
Somehow, I've managed to kill all print functions in my emacs
(21.2.1). Print Buffer or Postscript Print Buffer commands now return
'Symbol's variable is void: \213'. I've had no trouble printing in the
past, and figure I've erased a file needed by emacs to print.
Can someone point me to the dependencies required by both print
functions?
Thanks.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Print functions gone
2005-10-02 22:18 Print functions gone Joe Bush
@ 2005-10-03 15:59 ` Kevin Rodgers
[not found] ` <mailman.9563.1128355467.20277.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 9+ messages in thread
From: Kevin Rodgers @ 2005-10-03 15:59 UTC (permalink / raw)
Joe Bush wrote:
> Somehow, I've managed to kill all print functions in my emacs
> (21.2.1). Print Buffer or Postscript Print Buffer commands now return
> 'Symbol's variable is void: \213'. I've had no trouble printing in the
> past, and figure I've erased a file needed by emacs to print.
That seems unlikely. Try `M-x set-variable RET debug-on-error RET t RET'
and then post the *Backtrace* buffer that is displayed when you try to
print.
> Can someone point me to the dependencies required by both print
> functions?
lpr.el[c] requires no additional libraries.
ps-print.el[c] requires lpr.el[c] and faces.el[c]
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Print functions gone
[not found] ` <mailman.9563.1128355467.20277.help-gnu-emacs@gnu.org>
@ 2005-10-05 5:41 ` Joe Bush
2005-10-05 15:41 ` Kevin Rodgers
[not found] ` <mailman.9851.1128527205.20277.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 9+ messages in thread
From: Joe Bush @ 2005-10-05 5:41 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 3578 bytes --]
Kevin Rodgers <ihs_4664@yahoo.com> writes:
> Joe Bush wrote:
> > Somehow, I've managed to kill all print functions in my emacs
> > (21.2.1). Print Buffer or Postscript Print Buffer commands now return
> > 'Symbol's variable is void: \213'. I've had no trouble printing in the
> > past, and figure I've erased a file needed by emacs to print.
>
> That seems unlikely. Try `M-x set-variable RET debug-on-error RET t RET'
> and then post the *Backtrace* buffer that is displayed when you try to
> print.
>
> > Can someone point me to the dependencies required by both print
> > functions?
>
> lpr.el[c] requires no additional libraries.
> ps-print.el[c] requires lpr.el[c] and faces.el[c]
>
> --
> Kevin Rodgers
Thanks for the reply, Kevin.
Following is the *backtrace* buffer:
--------------------------------------------------------------------------
Debugger entered--Lisp error: (error "Cannot return from the debugger in an error")
eval-buffer(#<buffer *load*> nil "lpr" nil t)
load-with-code-conversion("/usr/local/share/emacs/21.2/site-lisp/lpr.el.gz" "lpr" nil t)
require(lpr)
byte-code("ÄÅ!ÆÇ!\x0e\0ÈÉ!ÊË!\x18\0ËÌMÊÍ!\"\0ÍÎMÊÏ!,\0ÏÐMÊÑ!6\0ÑÒMÊÓ!@\0ÓÔMÊÕ!J\0ÕÖM×ØÙ\"×ÚÛ\"×ÜÝ\"×Þß\"×àá\"×âã\"×äå\"×æç\"×èé\"×êë\"×ìí\"×îï\"×ðñ\"×òó\"×ôõ\"×ö÷\"×øù\"×úû\"×üý\"×þÿ\"×@\0A\0\"×B\0C\0\"×D\0E\0\"ÊF\0!Ý\0×G\0F\0\"æ\0×G\0H\0\"Â\bB\x10 I\0>\x12Ã\bB\x10 J\0>\x13K\0L\0M\0N\0O\0P\0Q\0R\0&\aK\0S\0M\0T\0U\0V\0W\0X\0Q\0Y\0Q\0L\0&\vK\0Z\0M\0[\0W\0X\0O\0\\\0Q\0S\0& K\0]\0M\0^\0W\0X\0O\0_\0Q\0S\0& K\0`\0M\0a\0W\0X\0O\0b\0Q\0S\0& K\0c\0M\0d\0W\0X\0O\0e\0Q\0S\0& K\0f\0M\0g\0W\0X\0O\0h\0Q\0S\0& K\0i\0M\0j\0W\0X\0O\0k\0Q\0S\0Q\0l\0&\vK\0m\0M\0n\0W\0X\0O\0o\0Q\0S\0& K\0p\0M\0q\0W\0X\0O\0r\0Q\0S\0& K\0s\0M\0t\0W\0X\0O\0u\0Q\0S\0& K\0v\0M\0w\0W\0X\0O\0x\0Q\0S\0& K\0y\0M\0z\0W\0X\0O\0{\0Q\0S\0& K\0|\0M\0}\0W\0X\0O\0~\0Q\0S\0& " [current-load-list system-type ps-windows-system ps-lp-system require lpr featurep lisp-float-type error "`ps-print' requires floating point support" fboundp set-buffer-multibyte #[(arg) "\b\x11" [arg enable-multibyte-characters] 2] string-as-unibyte #[(arg) "\b" [arg] 1] string-as-multibyte #[(arg) "\b" [arg] 1] char-charset #[(arg) "À" [ascii] 1] charset-after #[(&optional arg) "Á\bf!" [arg char-charset] 2] line-beginning-position #[(&optional n) "\b\x0f\0\bÁU\x0f\0\bSy `)" [n 1 beginning-of-line] 2] defalias ps-x-color-instance-p color-instance-p ps-x-color-instance-rgb-components color-instance-rgb-components ps-x-color-name color-name ps-x-color-specifier-p color-specifier-p ps-x-copy-coding-system copy-coding-system ps-x-device-class device-class ps-x-extent-end-position extent-end-position ps-x-extent-face extent-face ps-x-extent-priority extent-priority ps-x-extent-start-position extent-start-position ps-x-face-font-instance face-font-instance ps-x-find-coding-system find-coding-system ps-x-font-instance-properties font-instance-properties ...] 12)
-------------------------------------------------------------------------------
Copies of lpr.el, lpr.elc, ps-print.el, ps-print.elc, faces.el & faces.elc are present in
/usr/local/share/emacs/21.2/lisp, while lpr.el.gz is present in
/usr/local/share/emacs/21.2/site-lisp.
-Joe.
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Print functions gone
2005-10-05 5:41 ` Joe Bush
@ 2005-10-05 15:41 ` Kevin Rodgers
2005-10-05 17:27 ` Edward O'Connor
[not found] ` <mailman.9867.1128533522.20277.help-gnu-emacs@gnu.org>
[not found] ` <mailman.9851.1128527205.20277.help-gnu-emacs@gnu.org>
1 sibling, 2 replies; 9+ messages in thread
From: Kevin Rodgers @ 2005-10-05 15:41 UTC (permalink / raw)
Joe Bush wrote:
> Following is the *backtrace* buffer:
>
>
--------------------------------------------------------------------------
> Debugger entered--Lisp error: (error "Cannot return from the debugger
in an error")
> eval-buffer(#<buffer *load*> nil "lpr" nil t)
>
load-with-code-conversion("/usr/local/share/emacs/21.2/site-lisp/lpr.el.gz"
"lpr" nil t)
> require(lpr)
>
byte-code("??!???!?\x0e-------------------------------------------------------------------------------
Why did you cut off the buffer there? I'll just assume that lpr was
required by ps-print.
> Copies of lpr.el, lpr.elc, ps-print.el, ps-print.elc, faces.el &
faces.elc are present in
> /usr/local/share/emacs/21.2/lisp, while lpr.el.gz is present in
> /usr/local/share/emacs/21.2/site-lisp.
What is lpr.el.gz doing in the site-lisp directory? Unless you know a
good reason for that, I'd delete it so that lpr.elc is loaded from the
lisp directory.
(Since when does require/load look for files ending in ".el.gz"?)
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Print functions gone
2005-10-05 15:41 ` Kevin Rodgers
@ 2005-10-05 17:27 ` Edward O'Connor
[not found] ` <mailman.9867.1128533522.20277.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 9+ messages in thread
From: Edward O'Connor @ 2005-10-05 17:27 UTC (permalink / raw)
Kevin Rodgers wrote:
> (Since when does require/load look for files ending in ".el.gz"?)
This happens if you have `auto-compression-mode' enabled.
>From src/ChangeLog.9:
2001-10-11 Stefan Monnier <monnier@cs.yale.edu>
* lread.c (Vload_suffixes, default_suffixes): New vars.
(openp): Take a lisp list of suffixes.
Check for file-name-handlers even if the file was absolute already.
(syms_of_lread): Declare load-suffixes.
>From lisp/ChangeLog.9:
2001-10-12 Stefan Monnier <monnier@cs.yale.edu>
* jka-compr.el (jka-compr-load-suffixes): New var.
(jka-compr-install): Add its content to load-suffixes.
(jka-compr-uninstall): Remove its content from load-suffixes.
Ted
--
Edward O'Connor
hober0@gmail.com
Ense petit placidam sub libertate quietem.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Print functions gone
[not found] ` <mailman.9851.1128527205.20277.help-gnu-emacs@gnu.org>
@ 2005-10-06 4:54 ` Joe Bush
0 siblings, 0 replies; 9+ messages in thread
From: Joe Bush @ 2005-10-06 4:54 UTC (permalink / raw)
Kevin Rodgers <ihs_4664@yahoo.com> writes:
> Joe Bush wrote:
> > Following is the *backtrace* buffer:
> >
> >
> --------------------------------------------------------------------------
> > Debugger entered--Lisp error: (error "Cannot return from the
> debugger in an error")
> > eval-buffer(#<buffer *load*> nil "lpr" nil t)
> >
> load-with-code-conversion("/usr/local/share/emacs/21.2/site-lisp/lpr.el.gz"
> "lpr" nil t)
> > require(lpr)
> >
> byte-code("??!???!?\x0e-------------------------------------------------------------------------------
>
> Why did you cut off the buffer there? I'll just assume that lpr was
> required by ps-print.
>
> > Copies of lpr.el, lpr.elc, ps-print.el, ps-print.elc, faces.el &
> faces.elc are present in
> > /usr/local/share/emacs/21.2/lisp, while lpr.el.gz is present in
> > /usr/local/share/emacs/21.2/site-lisp.
>
> What is lpr.el.gz doing in the site-lisp directory? Unless you know a
> good reason for that, I'd delete it so that lpr.elc is loaded from the
> lisp directory.
>
> (Since when does require/load look for files ending in ".el.gz"?)
>
> --
> Kevin Rodgers
I didn't cut it off. It had lines over 79 characters long, and Gnus
asked about that, as well as unprintable characters. I clicked on 'OK' to send for both
questions.
Maybe the newsgroup software truncated it. I can send it directly to
you, if that's OK.
-Joe.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Print functions gone
[not found] ` <mailman.9867.1128533522.20277.help-gnu-emacs@gnu.org>
@ 2005-10-06 5:00 ` Joe Bush
2005-10-07 16:33 ` Kevin Rodgers
[not found] ` <mailman.10284.1128703103.20277.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 9+ messages in thread
From: Joe Bush @ 2005-10-06 5:00 UTC (permalink / raw)
Edward O'Connor <hober0@gmail.com> writes:
> Kevin Rodgers wrote:
>
>> (Since when does require/load look for files ending in ".el.gz"?)
>
> This happens if you have `auto-compression-mode' enabled.
>
>>From src/ChangeLog.9:
>
> 2001-10-11 Stefan Monnier <monnier@cs.yale.edu>
>
> * lread.c (Vload_suffixes, default_suffixes): New vars.
> (openp): Take a lisp list of suffixes.
> Check for file-name-handlers even if the file was absolute already.
> (syms_of_lread): Declare load-suffixes.
>
>>From lisp/ChangeLog.9:
>
> 2001-10-12 Stefan Monnier <monnier@cs.yale.edu>
>
> * jka-compr.el (jka-compr-load-suffixes): New var.
> (jka-compr-install): Add its content to load-suffixes.
> (jka-compr-uninstall): Remove its content from load-suffixes.
>
>
> Ted
>
> --
> Edward O'Connor
> hober0@gmail.com
>
> Ense petit placidam sub libertate quietem.
I do enable 'auto-compression-mode'. Could that be part of the
problem?
-Joe.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Print functions gone
2005-10-06 5:00 ` Joe Bush
@ 2005-10-07 16:33 ` Kevin Rodgers
[not found] ` <mailman.10284.1128703103.20277.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 9+ messages in thread
From: Kevin Rodgers @ 2005-10-07 16:33 UTC (permalink / raw)
Joe Bush wrote:
> I do enable 'auto-compression-mode'. Could that be part of the
> problem?
It is obviously part of the problem, but the bigger part is the
lpr.el.gz file in your site-lisp directory.
When you set debug-on-error to t, the *Backtrace* buffer shows:
eval-buffer(#<buffer *load*> nil "lpr" nil t)
Take a look at the buffer named " *load*": C-x b C-q SPC *load* RET
Does it look normal? If so, go to the beginning of the code: C-M-S ^(
and then repeatedly run `C-M-f C-x e' to see which form is signalling
the error.
Also, try comparing the site-lisp/lpr.el.gz file to lisp/lpr.el, with
M-x ediff-files. If there are no differences, or if the differences are
not desirable, just delete the site-lisp/lpr.el.gz file.
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Print functions gone - Solved, Thanks Kevin!
[not found] ` <mailman.10284.1128703103.20277.help-gnu-emacs@gnu.org>
@ 2005-10-09 19:09 ` Joe Bush
0 siblings, 0 replies; 9+ messages in thread
From: Joe Bush @ 2005-10-09 19:09 UTC (permalink / raw)
Kevin Rodgers <ihs_4664@yahoo.com> writes:
> Joe Bush wrote:
> > I do enable 'auto-compression-mode'. Could that be part of the
> > problem?
>
> It is obviously part of the problem, but the bigger part is the
> lpr.el.gz file in your site-lisp directory.
>
> When you set debug-on-error to t, the *Backtrace* buffer shows:
> eval-buffer(#<buffer *load*> nil "lpr" nil t)
>
> Take a look at the buffer named " *load*": C-x b C-q SPC *load* RET
> Does it look normal? If so, go to the beginning of the code: C-M-S ^(
> and then repeatedly run `C-M-f C-x e' to see which form is signalling
> the error.
>
> Also, try comparing the site-lisp/lpr.el.gz file to lisp/lpr.el, with
> M-x ediff-files. If there are no differences, or if the differences are
> not desirable, just delete the site-lisp/lpr.el.gz file.
>
> --
> Kevin Rodgers
You were right. I removed lpr.el.gz from site-lisp, and printing came
right back.
As I now recall, I was trying to put the extra packages I'd collected
into a directory where emacs' automated extra package installer could
see and list them. I thought they would show up under the 'Code local to your
system' heading, and read somewhere that it looked in one of the two
site-lisp directorys. I guess that one isn't it..
Thanks again.
Joe.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-10-09 19:09 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-02 22:18 Print functions gone Joe Bush
2005-10-03 15:59 ` Kevin Rodgers
[not found] ` <mailman.9563.1128355467.20277.help-gnu-emacs@gnu.org>
2005-10-05 5:41 ` Joe Bush
2005-10-05 15:41 ` Kevin Rodgers
2005-10-05 17:27 ` Edward O'Connor
[not found] ` <mailman.9867.1128533522.20277.help-gnu-emacs@gnu.org>
2005-10-06 5:00 ` Joe Bush
2005-10-07 16:33 ` Kevin Rodgers
[not found] ` <mailman.10284.1128703103.20277.help-gnu-emacs@gnu.org>
2005-10-09 19:09 ` Print functions gone - Solved, Thanks Kevin! Joe Bush
[not found] ` <mailman.9851.1128527205.20277.help-gnu-emacs@gnu.org>
2005-10-06 4:54 ` Print functions gone Joe Bush
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).