unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* man/cc-mode.ss.
@ 2005-04-11 16:22 Lute Kamstra
  2005-04-12  2:59 ` man/cc-mode.ss Richard Stallman
  0 siblings, 1 reply; 10+ messages in thread
From: Lute Kamstra @ 2005-04-11 16:22 UTC (permalink / raw)


man/cc-mode.texi defines an index for syntactic symbols (@defindex ss)
which results in a file cc-mode.ss when cc-mode.dvi is made.  What
about these changes to deal with that file?

Lute.


Index: man/.cvsignore
===================================================================
RCS file: /cvsroot/emacs/emacs/man/.cvsignore,v
retrieving revision 1.6
diff -c -r1.6 .cvsignore
*** man/.cvsignore	15 Jul 2002 12:06:01 -0000	1.6
--- man/.cvsignore	11 Apr 2005 16:15:24 -0000
***************
*** 18,21 ****
--- 18,22 ----
  *.tps
  *.vr
  *.vrs
+ cc-mode.ss
  Makefile
Index: man/Makefile.in
===================================================================
RCS file: /cvsroot/emacs/emacs/man/Makefile.in,v
retrieving revision 1.63
diff -c -r1.63 Makefile.in
*** man/Makefile.in	27 Dec 2004 19:56:34 -0000	1.63
--- man/Makefile.in	11 Apr 2005 16:15:25 -0000
***************
*** 1,7 ****
  #### Makefile for the Emacs Manual and other documentation.
  
! # Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004
! #  Free Software Foundation, Inc.
  
  # This file is part of GNU Emacs.
  
--- 1,7 ----
  #### Makefile for the Emacs Manual and other documentation.
  
! # Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004,
! #   2005 Free Software Foundation, Inc.
  
  # This file is part of GNU Emacs.
  
***************
*** 323,329 ****
  	$(ENVADD) $(TEXI2DVI) ${srcdir}/flymake.texi
  
  mostlyclean:
! 	rm -f *.log *.cp *.fn *.ky *.pg *.vr core *.tp *.core gnustmp.*
  
  clean: mostlyclean
  	rm -f *.dvi
--- 323,329 ----
  	$(ENVADD) $(TEXI2DVI) ${srcdir}/flymake.texi
  
  mostlyclean:
! 	rm -f *.log *.cp *.fn *.ky *.pg *.vr cc-mode.ss core *.tp *.core gnustmp.*
  
  clean: mostlyclean
  	rm -f *.dvi

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

* Re: man/cc-mode.ss.
  2005-04-11 16:22 man/cc-mode.ss Lute Kamstra
@ 2005-04-12  2:59 ` Richard Stallman
  2005-04-12  8:23   ` man/cc-mode.ss Lute Kamstra
  0 siblings, 1 reply; 10+ messages in thread
From: Richard Stallman @ 2005-04-12  2:59 UTC (permalink / raw)
  Cc: emacs-devel

    man/cc-mode.texi defines an index for syntactic symbols (@defindex ss)
    which results in a file cc-mode.ss when cc-mode.dvi is made.

I think the best solution is to merge that index into another index,
using @synindex.

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

* Re: man/cc-mode.ss.
  2005-04-12  2:59 ` man/cc-mode.ss Richard Stallman
@ 2005-04-12  8:23   ` Lute Kamstra
  2005-04-12 17:24     ` man/cc-mode.ss Richard Stallman
  0 siblings, 1 reply; 10+ messages in thread
From: Lute Kamstra @ 2005-04-12  8:23 UTC (permalink / raw)
  Cc: emacs-devel

Richard Stallman <rms@gnu.org> writes:

>     man/cc-mode.texi defines an index for syntactic symbols (@defindex ss)
>     which results in a file cc-mode.ss when cc-mode.dvi is made.
>
> I think the best solution is to merge that index into another index,
> using @synindex.

That's what cc-mode.texi does:

  @comment Define an index for syntactic symbols.
  @defindex ss

  @comment Combine key, syntactic symbol and concept indices into one.
  @syncodeindex ss cp
  @syncodeindex ky cp

The "@define ss" seems to create the cc-mode.ss file when the dvi file
is made.  It stays empty because of the "@syncodeindex ss cp", though.

Lute.

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

* Re: man/cc-mode.ss.
  2005-04-12  8:23   ` man/cc-mode.ss Lute Kamstra
@ 2005-04-12 17:24     ` Richard Stallman
  2005-04-12 17:55       ` man/cc-mode.ss Lute Kamstra
  0 siblings, 1 reply; 10+ messages in thread
From: Richard Stallman @ 2005-04-12 17:24 UTC (permalink / raw)
  Cc: emacs-devel

    The "@define ss" seems to create the cc-mode.ss file when the dvi file
    is made.  It stays empty because of the "@syncodeindex ss cp", though.

Does it work to delete that @define?

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

* Re: man/cc-mode.ss.
  2005-04-12 17:24     ` man/cc-mode.ss Richard Stallman
@ 2005-04-12 17:55       ` Lute Kamstra
  2005-04-13 18:31         ` man/cc-mode.ss Richard Stallman
  2005-05-01 14:38         ` man/cc-mode.ss Alan Mackenzie
  0 siblings, 2 replies; 10+ messages in thread
From: Lute Kamstra @ 2005-04-12 17:55 UTC (permalink / raw)
  Cc: emacs-devel

Richard Stallman <rms@gnu.org> writes:

>     The "@define ss" seems to create the cc-mode.ss file when the dvi file
>     is made.  It stays empty because of the "@syncodeindex ss cp", though.
>
> Does it work to delete that @define?

Creating a dvi file still works, but makeinfo fails to create info and
html files:

  cc-mode.texi:61: Unknown index `ss' and/or `cp' in @synindex.
  cc-mode.texi:3477: Unknown command `ssindex'.
  ...

So the patch below should do what we want.

Lute.


Index: cc-mode.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/man/cc-mode.texi,v
retrieving revision 1.27
diff -c -r1.27 cc-mode.texi
*** cc-mode.texi	9 Feb 2005 15:50:35 -0000	1.27
--- cc-mode.texi	12 Apr 2005 17:53:10 -0000
***************
*** 55,61 ****
--- 55,63 ----
  @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  
  @comment Define an index for syntactic symbols.
+ @ifnottex
  @defindex ss
+ @end ifnottex
  
  @comment Combine key, syntactic symbol and concept indices into one.
  @syncodeindex ss cp

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

* Re: man/cc-mode.ss.
  2005-04-12 17:55       ` man/cc-mode.ss Lute Kamstra
@ 2005-04-13 18:31         ` Richard Stallman
  2005-05-01 14:38         ` man/cc-mode.ss Alan Mackenzie
  1 sibling, 0 replies; 10+ messages in thread
From: Richard Stallman @ 2005-04-13 18:31 UTC (permalink / raw)
  Cc: emacs-devel

      @comment Define an index for syntactic symbols.
    + @ifnottex
      @defindex ss
    + @end ifnottex

Ok.  (But I sent a suggestion to change makeinfo not to need this.)

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

* Re: man/cc-mode.ss.
  2005-04-12 17:55       ` man/cc-mode.ss Lute Kamstra
  2005-04-13 18:31         ` man/cc-mode.ss Richard Stallman
@ 2005-05-01 14:38         ` Alan Mackenzie
  2005-05-01 23:39           ` man/cc-mode.ss Richard Stallman
  2005-05-09  9:47           ` man/cc-mode.ss Lute Kamstra
  1 sibling, 2 replies; 10+ messages in thread
From: Alan Mackenzie @ 2005-05-01 14:38 UTC (permalink / raw)
  Cc: bug-cc-mode, emacs-devel

Hi, Lute!

On Tue, 12 Apr 2005, Lute Kamstra wrote:

>Richard Stallman <rms@gnu.org> writes:

>>     The "@define ss" seems to create the cc-mode.ss file when the dvi
>>     file is made.  It stays empty because of the "@syncodeindex ss
>>     cp", though.

>> Does it work to delete that @define?

>Creating a dvi file still works, but makeinfo fails to create info and
>html files:

>  cc-mode.texi:61: Unknown index `ss' and/or `cp' in @synindex.
>  cc-mode.texi:3477: Unknown command `ssindex'.
>  ...

>So the patch below should do what we want.

Hang on a mo', that's our file!

Would it be possible to cc CC Mode (at bug-cc-mode@gnu.org) with things
like this, so that we can keep the definitive copy at sourceforge up to
date?

I only saw this thread this morning when I was garbage collecting my
emacs-devel archive.  emacs-devel is a very busy list, much more so than
bug-cc-mode, and it's easy to miss important stuff there when one is just
scanning it rather than reading it intensely.

As a matter of interest, cc-mode.texi is undergoing substantial revision,
and it is thus likely that patches made to a current version can't be
applied automatically to the HEAD version (though this particular patch
might - I haven't tried it yet).

Thanks in advance!

>Lute.


>Index: cc-mode.texi
>===================================================================
>RCS file: /cvsroot/emacs/emacs/man/cc-mode.texi,v
>retrieving revision 1.27
>diff -c -r1.27 cc-mode.texi
>*** cc-mode.texi	9 Feb 2005 15:50:35 -0000	1.27
>--- cc-mode.texi	12 Apr 2005 17:53:10 -0000
>***************
>*** 55,61 ****
>--- 55,63 ----
>  @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

>  @comment Define an index for syntactic symbols.
>+ @ifnottex
>  @defindex ss
>+ @end ifnottex

>  @comment Combine key, syntactic symbol and concept indices into one.
>  @syncodeindex ss cp

-- 
Alan Mackenzie (Munich, Germany)

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

* Re: man/cc-mode.ss.
  2005-05-01 14:38         ` man/cc-mode.ss Alan Mackenzie
@ 2005-05-01 23:39           ` Richard Stallman
  2005-05-09  9:47           ` man/cc-mode.ss Lute Kamstra
  1 sibling, 0 replies; 10+ messages in thread
From: Richard Stallman @ 2005-05-01 23:39 UTC (permalink / raw)
  Cc: Lute.Kamstra.lists, bug-cc-mode, emacs-devel

    As a matter of interest, cc-mode.texi is undergoing substantial revision,
    and it is thus likely that patches made to a current version can't be
    applied automatically to the HEAD version (though this particular patch
    might - I haven't tried it yet).

When they install their changes, they need to merge with whatever
changes we have made in the Emacs repository.


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20


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

* Re: man/cc-mode.ss.
  2005-05-01 14:38         ` man/cc-mode.ss Alan Mackenzie
  2005-05-01 23:39           ` man/cc-mode.ss Richard Stallman
@ 2005-05-09  9:47           ` Lute Kamstra
  2005-05-09 18:48             ` man/cc-mode.ss Alan Mackenzie
  1 sibling, 1 reply; 10+ messages in thread
From: Lute Kamstra @ 2005-05-09  9:47 UTC (permalink / raw)
  Cc: bug-cc-mode, emacs-devel

Alan Mackenzie <acm@muc.de> writes:

[...]

> Hang on a mo', that's our file!
>
> Would it be possible to cc CC Mode (at bug-cc-mode@gnu.org) with things
> like this, so that we can keep the definitive copy at sourceforge up to
> date?

Sure.  (I didn't realize that CC Mode was maintained outside Emacs' CVS.)

Lute.


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20


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

* Re: man/cc-mode.ss.
  2005-05-09  9:47           ` man/cc-mode.ss Lute Kamstra
@ 2005-05-09 18:48             ` Alan Mackenzie
  0 siblings, 0 replies; 10+ messages in thread
From: Alan Mackenzie @ 2005-05-09 18:48 UTC (permalink / raw)
  Cc: bug-cc-mode, emacs-devel

Hi, Lute!

On Mon, 9 May 2005, Lute Kamstra wrote:

>Alan Mackenzie <acm@muc.de> writes:

>[...]

>> Hang on a mo', that's our file!

>> Would it be possible to cc CC Mode (at bug-cc-mode@gnu.org) with things
>> like this, so that we can keep the definitive copy at sourceforge up to
>> date?

>Sure.  (I didn't realize that CC Mode was maintained outside Emacs' CVS.)

That's kind of what I thought - the maintainer is Martin Stjernholm.

I've applied your patch to cc-mode.texi at sourceforge.  It was a wierd
sort of little incompatibility between makeinfo and the tex processor,
wasn't it?  Maybe half of us should report it to the Texinfo list.

>Lute.

-- 
Alan Mackenzie (Munich, Germany)




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20


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

end of thread, other threads:[~2005-05-09 18:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-11 16:22 man/cc-mode.ss Lute Kamstra
2005-04-12  2:59 ` man/cc-mode.ss Richard Stallman
2005-04-12  8:23   ` man/cc-mode.ss Lute Kamstra
2005-04-12 17:24     ` man/cc-mode.ss Richard Stallman
2005-04-12 17:55       ` man/cc-mode.ss Lute Kamstra
2005-04-13 18:31         ` man/cc-mode.ss Richard Stallman
2005-05-01 14:38         ` man/cc-mode.ss Alan Mackenzie
2005-05-01 23:39           ` man/cc-mode.ss Richard Stallman
2005-05-09  9:47           ` man/cc-mode.ss Lute Kamstra
2005-05-09 18:48             ` man/cc-mode.ss Alan Mackenzie

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