all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Edward Welbourne <eddy@opera.com>
To: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: C-comments in sgml-mode's html-mode
Date: Tue, 24 Jul 2007 17:46:36 +0200	[thread overview]
Message-ID: <E1IDMaq-0000Fn-22@whorl> (raw)
In-Reply-To: <46A611DE.8080501@gmail.com> (lennart.borgman@gmail.com)

> If you put point in the help buffer at `css-mode.el' and press RET it 
> will open the file css-mode.el. Could you please look at the beginning 
> of that file and show us what it says (version, author etc)?

(defvar cssm-version "0.11.zap1"
  "The current version number of css-mode.")
;;; copyright (c) 1998 Lars Marius Garshol, larsga@ifi.uio.no
;;; $Id: css-mode.el,v 1.9 2000/01/05 21:21:56 larsga Exp $
;;; Modified by John Zaitseff, 3rd November 2004.

and I can confirm <quote src="C-h v cssm-version RET">

cssm-version is a variable defined in `css-mode.el'.
Its value is "0.11.zap1"


Documentation:
The current version number of css-mode.

</quote> and this coincides with what I find early in
/usr/share/emacs22/site-lisp/css-mode/css-mode.elc
shortly after

;;; Compiled by root@opera.com on Wed Jul 18 10:39:53 2007
;;; from file /usr/share/emacs22/site-lisp/css-mode/css-mode.el
;;; in Emacs version 22.1.1
;;; with all optimizations.

which is odd, because the .el file it mentions doesn't exist.  In
load-path, "/usr/share/emacs22/site-lisp/css-mode" appears before
"/usr/share/emacs/site-lisp/css-mode".

> If you in this file do

>    C-h v buffer-file-name RET

> you can see where that file is located.

buffer-file-name is a variable defined in `C source code'.
Its value is 
"/usr/share/emacs/site-lisp/css-mode/css-mode.el"
Local in buffer css-mode.el; global value is nil
Automatically becomes buffer-local when set in any fashion.


Documentation:
Name of file visited in current buffer, or nil if not visiting a file.

> This does not happen for me when starting with emacs -q. Nor does it 
> happen for you with -Q.

confirmed, also for .mk; and also using --no-site-file instead of -q
or -Q (so my .emacs is innocent :-)

> Can you please do

>    M-x find-library RET site-start RET

> and show us the file?

<quote src="/etc/emacs/site-start.el">

;; Emacsen independent startup file.  All of the various installed
;; flavors of emacs (emacs 19, emacs 20, xemacs) will load this file
;; at startup.  Make sure any code you put here is emacs flavor
;; independent.

;; Package maintainers: do not have Debian packages edit this file.
;; See the policy manual for the proper way to handle Emacs package
;; initialization code.


</quote> containing *no* code.  The policy document referenced is
/usr/share/doc/emacsen-common/debian-emacs-policy.gz
and makes clear that this file is "the sole domain of the local system
admin" which would fit with it being empty.  I configure ~/.emacs
rather than the site ...

	Eddy.

  reply	other threads:[~2007-07-24 15:46 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-19 11:33 M-x compile re-uses name of old compilation buffer, contrary to documentation Edward Welbourne
2007-07-20 13:42 ` Richard Stallman
2007-07-20 14:54   ` Edward Welbourne
2007-07-21 10:23     ` martin rudalics
2007-07-23 11:50       ` C-comments in sgml-mode's html-mode Edward Welbourne
2007-07-23 12:02         ` Lennart Borgman (gmail)
2007-07-23 13:24           ` Edward Welbourne
2007-07-23 14:51             ` martin rudalics
2007-07-23 17:49               ` Edward Welbourne
2007-07-23 12:27         ` martin rudalics
2007-07-23 16:59           ` Edward Welbourne
2007-07-23 18:41             ` martin rudalics
2007-07-24  8:57               ` Edward Welbourne
2007-07-24 13:01                 ` martin rudalics
2007-07-24 13:51                   ` Edward Welbourne
2007-07-24 14:51                     ` Lennart Borgman (gmail)
2007-07-24 15:46                       ` Edward Welbourne [this message]
2007-07-24 16:47                         ` martin rudalics
2007-07-24 20:05                           ` Edward Welbourne
2007-07-25  7:59                             ` martin rudalics
2007-07-24 20:42                           ` Edward Welbourne
2007-07-24 21:53                           ` Lennart Borgman (gmail)
2007-07-24 22:05                             ` Dan Nicolaescu
2007-07-25  8:19                               ` martin rudalics
2007-07-25  8:48                                 ` Edward Welbourne
2007-07-24 16:44                     ` martin rudalics
2007-07-24 14:39                   ` Edward Welbourne

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=E1IDMaq-0000Fn-22@whorl \
    --to=eddy@opera.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=lennart.borgman@gmail.com \
    /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.