unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* xfaces.c: error: `ngcs' undeclared
@ 2005-02-03 13:19 Robert J. Chassell
  2005-02-03 13:46 ` Lute Kamstra
  0 siblings, 1 reply; 13+ messages in thread
From: Robert J. Chassell @ 2005-02-03 13:19 UTC (permalink / raw


Today's GNU Emacs CVS snapshot, Thu, 2005 Feb  3  13:07 UTC
GNU Emacs 21.3.50.45 (i686-pc-linux-gnu, GTK+ Version 2.4.14)

`make bootfast' fails with this error:

    xfaces.c: In function `x_free_gc':
    xfaces.c:741: error: `ngcs' undeclared (first use in this function)

Interestingly, I downloaded an instance of xfaces.c on 2005 Jan 10.
It has compiled OK since, but not this morning.

I then downloaded a new instance.  The new file is identical to the
previous version and generates the same error when I run `make
bootfast' again.

-- 
    Robert J. Chassell                         
    bob@rattlesnake.com                         GnuPG Key ID: 004B4AC8
    http://www.rattlesnake.com                  http://www.teak.cc

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

* Re: xfaces.c: error: `ngcs' undeclared
  2005-02-03 13:19 xfaces.c: error: `ngcs' undeclared Robert J. Chassell
@ 2005-02-03 13:46 ` Lute Kamstra
  2005-02-03 14:45   ` Lute Kamstra
  2005-02-03 15:39   ` Robert J. Chassell
  0 siblings, 2 replies; 13+ messages in thread
From: Lute Kamstra @ 2005-02-03 13:46 UTC (permalink / raw
  Cc: emacs-devel

"Robert J. Chassell" <bob@rattlesnake.com> writes:

> Today's GNU Emacs CVS snapshot, Thu, 2005 Feb  3  13:07 UTC
> GNU Emacs 21.3.50.45 (i686-pc-linux-gnu, GTK+ Version 2.4.14)
>
> `make bootfast' fails with this error:
>
>     xfaces.c: In function `x_free_gc':
>     xfaces.c:741: error: `ngcs' undeclared (first use in this function)
>
> Interestingly, I downloaded an instance of xfaces.c on 2005 Jan 10.
> It has compiled OK since, but not this morning.
>
> I then downloaded a new instance.  The new file is identical to the
> previous version and generates the same error when I run `make
> bootfast' again.

See my message on emacs-pretest-bug.  The problem is clear.  It's just
that Miles Bader and Kim F. Storm seem to disagree on best the
solution.  As a temporary solution, you can revert src/dispextern.h to
the previous version.

Lute.

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

* Re: xfaces.c: error: `ngcs' undeclared
  2005-02-03 13:46 ` Lute Kamstra
@ 2005-02-03 14:45   ` Lute Kamstra
  2005-02-03 15:39   ` Robert J. Chassell
  1 sibling, 0 replies; 13+ messages in thread
From: Lute Kamstra @ 2005-02-03 14:45 UTC (permalink / raw
  Cc: emacs-devel

Kim Storm just solved the problem.

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

* Re: xfaces.c: error: `ngcs' undeclared
  2005-02-03 13:46 ` Lute Kamstra
  2005-02-03 14:45   ` Lute Kamstra
@ 2005-02-03 15:39   ` Robert J. Chassell
  2005-02-03 16:01     ` Kim F. Storm
  1 sibling, 1 reply; 13+ messages in thread
From: Robert J. Chassell @ 2005-02-03 15:39 UTC (permalink / raw


Lute Kamstra <Lute.Kamstra.lists@xs4all.nl> wrote

   As a temporary solution, you can revert src/dispextern.h to
   the previous version.

Thanks!  

Fortunately, a more recent CVS snapshot, Thu, 2005 Feb 3 14:42 UTC
builds without reported error using `make bootfast'.  Kim fixed
xassert.

All looks well.

-- 
    Robert J. Chassell                         
    bob@rattlesnake.com                         GnuPG Key ID: 004B4AC8
    http://www.rattlesnake.com                  http://www.teak.cc

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

* Re: xfaces.c: error: `ngcs' undeclared
  2005-02-03 15:39   ` Robert J. Chassell
@ 2005-02-03 16:01     ` Kim F. Storm
  2005-02-03 16:50       ` Robert J. Chassell
  0 siblings, 1 reply; 13+ messages in thread
From: Kim F. Storm @ 2005-02-03 16:01 UTC (permalink / raw
  Cc: emacs-devel

"Robert J. Chassell" <bob@rattlesnake.com> writes:

>  Kim fixed xassert.
>
> All looks well.

But be prepared for crashes!!!  Save your work often!

I already had one crash in vertical-motion.

I'm not sure it is valid or bogus assert, but I was not able
to debug it as my gdb session had problems too :-(

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

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

* Re: xfaces.c: error: `ngcs' undeclared
  2005-02-03 16:01     ` Kim F. Storm
@ 2005-02-03 16:50       ` Robert J. Chassell
  2005-02-03 22:46         ` Miles Bader
  2005-02-04  9:58         ` Kim F. Storm
  0 siblings, 2 replies; 13+ messages in thread
From: Robert J. Chassell @ 2005-02-03 16:50 UTC (permalink / raw
  Cc: emacs-devel

   But be prepared for crashes!!!  Save your work often!

Does it disable auto-save mode?  Otherwise, we can depend on Emacs.
Over the past two decades, I have often been auto-saved.

-- 
    Robert J. Chassell                         
    bob@rattlesnake.com                         GnuPG Key ID: 004B4AC8
    http://www.rattlesnake.com                  http://www.teak.cc

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

* Re: xfaces.c: error: `ngcs' undeclared
  2005-02-03 16:50       ` Robert J. Chassell
@ 2005-02-03 22:46         ` Miles Bader
  2005-02-04  9:58         ` Kim F. Storm
  1 sibling, 0 replies; 13+ messages in thread
From: Miles Bader @ 2005-02-03 22:46 UTC (permalink / raw
  Cc: emacs-devel, Kim F. Storm

On Thu, 3 Feb 2005 16:50:22 +0000 (UTC), Robert J. Chassell
<bob@rattlesnake.com> wrote:
>    But be prepared for crashes!!!  Save your work often!
> 
> Does it disable auto-save mode?  Otherwise, we can depend on Emacs.
> Over the past two decades, I have often been auto-saved.

Nah.   Auto-save works fine.  An emacs crash is still annoying, but a
lot less annoying than a crash in most programs .... :-/

I've been running with xassert turned on for a long time, so it's not
too bad -- and it does catch real bugs (several recently, as you can
see on this mailing list).

-Miles
-- 
Do not taunt Happy Fun Ball.

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

* Re: xfaces.c: error: `ngcs' undeclared
  2005-02-03 16:50       ` Robert J. Chassell
  2005-02-03 22:46         ` Miles Bader
@ 2005-02-04  9:58         ` Kim F. Storm
  2005-02-04 13:25           ` Miles Bader
  1 sibling, 1 reply; 13+ messages in thread
From: Kim F. Storm @ 2005-02-04  9:58 UTC (permalink / raw
  Cc: emacs-devel

"Robert J. Chassell" <bob@rattlesnake.com> writes:

>    But be prepared for crashes!!!  Save your work often!
>
> Does it disable auto-save mode?  

No.  But still, some work is not always saved (e.g. if you work in a
shell buffer, or while composing a mail message).

>                                  Otherwise, we can depend on Emacs.
> Over the past two decades, I have often been auto-saved.

Sure.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

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

* Re: xfaces.c: error: `ngcs' undeclared
  2005-02-04  9:58         ` Kim F. Storm
@ 2005-02-04 13:25           ` Miles Bader
  2005-02-04 15:09             ` Kim F. Storm
  0 siblings, 1 reply; 13+ messages in thread
From: Miles Bader @ 2005-02-04 13:25 UTC (permalink / raw
  Cc: bob, emacs-devel

On Fri, 04 Feb 2005 10:58:03 +0100, Kim F. Storm <storm@cua.dk> wrote:
> > Does it disable auto-save mode?
> 
> No.  But still, some work is not always saved (e.g. if you work in a
> shell buffer, or while composing a mail message).

Mail composition buffers are auto-saved; Gnus also checkpoints its
state whenever you exit a group.  I find the main annoyance is process
state.

One habit I have adopted since using starting to use the development
version of Emacs is creating scratch buffers by doing "C-x C-f
/tmp/foo" rather than just "C-x b foo", which ensures that they're
autosaved too.

-Miles
-- 
Do not taunt Happy Fun Ball.

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

* Re: xfaces.c: error: `ngcs' undeclared
  2005-02-04 13:25           ` Miles Bader
@ 2005-02-04 15:09             ` Kim F. Storm
  2005-02-04 16:12               ` Miles Bader
  0 siblings, 1 reply; 13+ messages in thread
From: Kim F. Storm @ 2005-02-04 15:09 UTC (permalink / raw
  Cc: bob, emacs-devel, miles

Miles Bader <snogglethorpe@gmail.com> writes:

> On Fri, 04 Feb 2005 10:58:03 +0100, Kim F. Storm <storm@cua.dk> wrote:
>> > Does it disable auto-save mode?
>> 
>> No.  But still, some work is not always saved (e.g. if you work in a
>> shell buffer, or while composing a mail message).
>
> Mail composition buffers are auto-saved; Gnus also checkpoints its
> state whenever you exit a group.  I find the main annoyance is process
> state.

Auto-save doesn't guarantee that everything you wrote is saved...
And you process state gets lost.

Also, one thing which has bitten me more than once is while
debugging something with gdb -- if emacs crashes on you,
your gdb session is lost -- any you may have worked for a long
time to get into an interesting state in your program...

>
> One habit I have adopted since using starting to use the development
> version of Emacs is creating scratch buffers by doing "C-x C-f
> /tmp/foo" rather than just "C-x b foo", which ensures that they're
> autosaved too.
>
> -Miles
> -- 
> Do not taunt Happy Fun Ball.
>
>

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

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

* Re: xfaces.c: error: `ngcs' undeclared
  2005-02-04 15:09             ` Kim F. Storm
@ 2005-02-04 16:12               ` Miles Bader
  2005-02-04 16:28                 ` Romain Francoise
  0 siblings, 1 reply; 13+ messages in thread
From: Miles Bader @ 2005-02-04 16:12 UTC (permalink / raw
  Cc: bob, emacs-devel, miles

On Fri, 04 Feb 2005 16:09:42 +0100, Kim F. Storm <storm@cua.dk> wrote:
> Auto-save doesn't guarantee that everything you wrote is saved...

Sure, but it gets pretty damn close -- I don't think I've ever lost
more than about half a sentence due to a crash, even if it happens
when I'm actively entering text.

-Miles
-- 
Do not taunt Happy Fun Ball.

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

* Re: xfaces.c: error: `ngcs' undeclared
  2005-02-04 16:12               ` Miles Bader
@ 2005-02-04 16:28                 ` Romain Francoise
  2005-02-05  0:39                   ` Miles Bader
  0 siblings, 1 reply; 13+ messages in thread
From: Romain Francoise @ 2005-02-04 16:28 UTC (permalink / raw


Miles Bader <snogglethorpe@gmail.com> writes:

> Sure, but it gets pretty damn close -- I don't think I've ever lost
> more than about half a sentence due to a crash, even if it happens
> when I'm actively entering text.

Did you by any chance set `auto-save-interval' to a very small value?

-- 
Romain Francoise <romain@orebokech.com> | They're nothing but scared
it's a miracle -- http://orebokech.com/ | little mice.

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

* Re: xfaces.c: error: `ngcs' undeclared
  2005-02-04 16:28                 ` Romain Francoise
@ 2005-02-05  0:39                   ` Miles Bader
  0 siblings, 0 replies; 13+ messages in thread
From: Miles Bader @ 2005-02-05  0:39 UTC (permalink / raw


On Fri, 04 Feb 2005 17:28:38 +0100, Romain Francoise
<romain@orebokech.com> wrote:
> > Sure, but it gets pretty damn close -- I don't think I've ever lost
> > more than about half a sentence due to a crash, even if it happens
> > when I'm actively entering text.
> 
> Did you by any chance set `auto-save-interval' to a very small value?

No, it's at the standard setting (300 chars).  You'd think I should
lose an average of 150 characters (about 3 sentences :-), but it never
seems to be that much...

-Miles
-- 
Do not taunt Happy Fun Ball.

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

end of thread, other threads:[~2005-02-05  0:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-03 13:19 xfaces.c: error: `ngcs' undeclared Robert J. Chassell
2005-02-03 13:46 ` Lute Kamstra
2005-02-03 14:45   ` Lute Kamstra
2005-02-03 15:39   ` Robert J. Chassell
2005-02-03 16:01     ` Kim F. Storm
2005-02-03 16:50       ` Robert J. Chassell
2005-02-03 22:46         ` Miles Bader
2005-02-04  9:58         ` Kim F. Storm
2005-02-04 13:25           ` Miles Bader
2005-02-04 15:09             ` Kim F. Storm
2005-02-04 16:12               ` Miles Bader
2005-02-04 16:28                 ` Romain Francoise
2005-02-05  0:39                   ` Miles Bader

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