unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* even though there is no code for setting the default font, why this error comes?
@ 2009-06-09  7:59 Anand Dhanakshirur
  2009-06-09  8:42 ` Peter Dyballa
  0 siblings, 1 reply; 6+ messages in thread
From: Anand Dhanakshirur @ 2009-06-09  7:59 UTC (permalink / raw)
  To: emacs help

[-- Attachment #1: Type: text/plain, Size: 545 bytes --]

Hi,
when i started emacs,
This error came
> An error has occurred while loading `/export/home1/asd/.emacs.elc':
>
> error: Font 
> `-sony-fixed-medium-r-normal--13-120-100-100-c-80-iso8859-1' is not 
> defined
there is no code for setting the default font.
earlier the following code was there.

;;set the default font to fontset 16 dot .
(set-default-font
 "-sony-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1")


No i have removed the code from .emacs.
even then this error is coming,
What is the reason?
and how to fix it?
rgds,
Anand

[-- Attachment #2: asd.vcf --]
[-- Type: text/x-vcard, Size: 177 bytes --]

begin:vcard
fn:Anand Dhanakshirur
n:Dhanakshirur;Anand
email;internet:asd@cdotb.ernet.in
tel;work:(080)-25119295
tel;cell:9886178750
x-mozilla-html:FALSE
version:2.1
end:vcard


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

* Re: even though there is no code for setting the default font, why this error comes?
  2009-06-09  7:59 even though there is no code for setting the default font, why this error comes? Anand Dhanakshirur
@ 2009-06-09  8:42 ` Peter Dyballa
  2009-06-09  9:03   ` Anand Dhanakshirur
       [not found]   ` <mailman.284.1244537616.2239.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Peter Dyballa @ 2009-06-09  8:42 UTC (permalink / raw)
  To: asd; +Cc: emacs help


Am 09.06.2009 um 09:59 schrieb Anand Dhanakshirur:

> What is the reason?

The specified font is not found on your system.

> and how to fix it?

Install the specified font. Or specify an existing font.

--
Greetings

   Pete

A lot of us are working harder than we want, at things we don't like  
to do. Why? ...In order to afford the sort of existence we don't care  
to live.
				– Bradford Angier





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

* Re: even though there is no code for setting the default font, why this error comes?
  2009-06-09  8:42 ` Peter Dyballa
@ 2009-06-09  9:03   ` Anand Dhanakshirur
  2009-06-09  9:05     ` Peter Dyballa
  2009-06-09  9:05     ` tomas
       [not found]   ` <mailman.284.1244537616.2239.help-gnu-emacs@gnu.org>
  1 sibling, 2 replies; 6+ messages in thread
From: Anand Dhanakshirur @ 2009-06-09  9:03 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: emacs help

[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]

Hi,
Thanks,
Earlier in my .emacs i had set the font by putting the code like this.
> (set-default-font
>  "-sony-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1")
I wanted small size so i tried to change 16 to 13.
But this gave error while byte compiling,
error was
> error: Font 
> `-sony-fixed-medium-r-normal--13-120-100-100-c-80-iso8859-1' is not 
> defined 
agreed.(true)
so i reverted back to 16.
But then it gave the  same error.
I am not setting the default font ( i have removed the code itself),


But some where in my .emacs file, there seems to be code of setting the 
default font to
-sony-fixed-medium-r-normal--13-120-100-100-c-80-iso8859-1

this is am not able find it in my .emacs file.


Peter Dyballa wrote:
>
> Am 09.06.2009 um 09:59 schrieb Anand Dhanakshirur:
>
>> What is the reason?
>
> The specified font is not found on your system.
>
>> and how to fix it?
>
> Install the specified font. Or specify an existing font.
>
> -- 
> Greetings
>
>   Pete
>
> A lot of us are working harder than we want, at things we don't like 
> to do. Why? ...In order to afford the sort of existence we don't care 
> to live.
>                 – Bradford Angier
>


[-- Attachment #2: asd.vcf --]
[-- Type: text/x-vcard, Size: 177 bytes --]

begin:vcard
fn:Anand Dhanakshirur
n:Dhanakshirur;Anand
email;internet:asd@cdotb.ernet.in
tel;work:(080)-25119295
tel;cell:9886178750
x-mozilla-html:FALSE
version:2.1
end:vcard


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

* Re: even though there is no code for setting the default font, why this error comes?
  2009-06-09  9:03   ` Anand Dhanakshirur
@ 2009-06-09  9:05     ` Peter Dyballa
  2009-06-09  9:05     ` tomas
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2009-06-09  9:05 UTC (permalink / raw)
  To: asd; +Cc: emacs help


Am 09.06.2009 um 11:03 schrieb Anand Dhanakshirur:

> this is am not able find it in my .emacs file.


It can be an X resource, and it can be also a default setting from  
inside GNU Emacs, i.e., its Lisp core.

Check with xfontsel what your system has, then make a choice and tell  
GNU Emacs to use your choice.

--
Greetings

   Pete

We have to expect it, otherwise we would be surprised.







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

* Re: even though there is no code for setting the default font, why this error comes?
  2009-06-09  9:03   ` Anand Dhanakshirur
  2009-06-09  9:05     ` Peter Dyballa
@ 2009-06-09  9:05     ` tomas
  1 sibling, 0 replies; 6+ messages in thread
From: tomas @ 2009-06-09  9:05 UTC (permalink / raw)
  To: Anand Dhanakshirur; +Cc: Peter Dyballa, emacs help

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Jun 09, 2009 at 02:33:39PM +0530, Anand Dhanakshirur wrote:
> Hi,
> Thanks,

[...]

> this is am not able find it in my .emacs file.

Hi,

try starting Emacs like this:

  emacs --debug-init

...it should go into debug mode as soon as the error happens, thus maybe
pointing you in the right direction.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFKLiXuBcgs9XrR2kYRAtzcAJsHJNIdN2bDErx2Dbp8CejaMjo7rwCffQFw
YQMfu/Mda4UdR9vNSmPEJPQ=
=1ska
-----END PGP SIGNATURE-----




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

* Re: even though there is no code for setting the default font, why  this error comes?
       [not found]   ` <mailman.284.1244537616.2239.help-gnu-emacs@gnu.org>
@ 2009-06-09 12:47     ` Jason Rumney
  0 siblings, 0 replies; 6+ messages in thread
From: Jason Rumney @ 2009-06-09 12:47 UTC (permalink / raw)
  To: help-gnu-emacs

On Jun 9, 5:03 pm, Anand Dhanakshirur <a...@cdotb.ernet.in> wrote:

> But this gave error while byte compiling,

Your problem seems to stem from this action. Delete .emacs.elc to
solve it.


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

end of thread, other threads:[~2009-06-09 12:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-09  7:59 even though there is no code for setting the default font, why this error comes? Anand Dhanakshirur
2009-06-09  8:42 ` Peter Dyballa
2009-06-09  9:03   ` Anand Dhanakshirur
2009-06-09  9:05     ` Peter Dyballa
2009-06-09  9:05     ` tomas
     [not found]   ` <mailman.284.1244537616.2239.help-gnu-emacs@gnu.org>
2009-06-09 12:47     ` Jason Rumney

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).