all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ian Eure <ian@digg.com>
To: emacs-pretest-bug@gnu.org
Subject: bug#1729: 23.0.60; (require 'cc-langs) causes an error
Date: Mon, 29 Dec 2008 09:35:44 -0800	[thread overview]
Message-ID: <2C20774F-2A3E-42DA-9ED0-ED8003B4DAA2@digg.com> (raw)

If you eval the following code:

(require 'cc-mode)
(require 'cc-langs)

The following error is triggered:

`c-lang-defconst' must be used in a file

This seems to be a bug. It appears that either (c-get-current-file) is  
buggy, or ‘load-in-progress isn’t being set correctly when (require)  
is called.


In GNU Emacs 23.0.60.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43)
  of 2008-12-22 on neutron.local
Windowing system distributor `Apple', version  
97.112.112.108.101.45.97.112.112.107.105.116.45.57.52.57.46.52.51
configured using `configure  '--with-ns''

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: nil
   value of $XMODIFIERS: nil
   locale-coding-system: nil
   default-enable-multibyte-characters: t

Major mode: Grep

Minor modes in effect:
   diff-auto-refine-mode: t
   erc-track-mode: t
   erc-track-minor-mode: t
   erc-spelling-mode: t
   erc-ring-mode: t
   erc-pcomplete-mode: t
   erc-netsplit-mode: t
   erc-match-mode: t
   erc-button-mode: t
   erc-fill-mode: t
   erc-autojoin-mode: t
   erc-irccontrols-mode: t
   erc-noncommands-mode: t
   erc-readonly-mode: t
   erc-scrolltobottom-mode: t
   twit-mode: t
   yas/minor-mode: t
   shell-dirtrack-mode: t
   ime-bindings: t
   show-paren-mode: t
   recentf-mode: t
   iswitchb-mode: t
   auto-insert-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
   global-auto-composition-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
   abbrev-mode: t

Recent input:
1 M-` C-x b s h e l <return> c <backspace> M-> c d
SPC ~ . . e m <tab> <backspace> <backspace> <backspace>
<backspace> / . e m <tab> <return> s v n u <return>
M-` M-` M-` C-v C-s c - d e f i n e - s <backspace>
M-< C-s d e f i n e - l a n g - c o n C-n C-p M-< C-s
c c - l a n g s C-s C-n C-p M-< C-v C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-x
C-f C-g <down-mouse-1> <mouse-movement> <mouse-1> M-x
g r e p <return> M-" C-y C-e <return> c c C-_ M-x M-p
<return> M-p SPC * e l <backspace> <backspace> <backspace>
c c * e l . g z C-a z C-e <return> C-s c o m m e n
t - <backspace> SPC o u t SPC r e g C-n C-o C-o C-_
C-_ C-p C-p C-p C-a C-p M-< C-s m u s t SPC b e SPC
u s e d SPC i n SPC C-n C-p M-x M-p <return> M-" m
u s t SPC b e SPC u s e d SPC i n SPC a SPC f i l e
C-e SPC C-a z C-e c c * e l . g z <return> C-x ` C-p
C-p C-p C-p M-m C-p C-p C-p M-m C-n C-n C-n C-n C-n
C-n C-s c - g e t - c u r r e n t - f i l e C-s C-s
C-s C-s C-s C-p M-< C-g C-s c - l a n g - d e f c o
n s t C-s C-n C-p <down-mouse-1> <mouse-1> <menu-bar>
<help-menu> <send-emacs-bug-report>

Recent messages:
Mark saved where search started
Undo! [2 times]
Mark set
Mark saved where search started
Grep finished with no matches found
uncompressing cc-defs.el.gz...done
Mark saved where search started
Mark set
Quit
Mark saved where search started





             reply	other threads:[~2008-12-29 17:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <7fr5qlrnev.fsf@fencepost.gnu.org>
2008-12-29 17:35 ` Ian Eure [this message]
2009-12-24  4:45   ` bug#1729: marked as done (23.0.60; (require 'cc-langs) causes an error) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2C20774F-2A3E-42DA-9ED0-ED8003B4DAA2@digg.com \
    --to=ian@digg.com \
    --cc=1729@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.