[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set-buffer-major-mode problem

From: Joe Casadonte
Subject: set-buffer-major-mode problem
Date: 27 Nov 2001 22:44:59 -0500
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.1.1 (i386-mingw-nt5.0.2195)
 of 2001-10-27 on ISTARI
configured using `configure --with-gcc (2.95)'
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: ENU
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

When visiting a file via find-file, if the file has no discernible
mode (i.e. no known file extension, and no -*- mode: foo -*- magic)
AND the path to the file includes a directory starting with ".h", then
the file will be put into C++ mode.  Example:


will visit the file in C++ mode, but:


will visit the file in the default mode.


Joe Casadonte

         Llama Fresh Farms => http://www.northbound-train.com
   Gay Media Resource List => http://www.northbound-train.com/gaymedia.html
            Perl for Win32 => http://www.northbound-train.com/perlwin32.html
               Emacs Stuff => http://www.northbound-train.com/emacs.html
          Music CD Trading => http://www.northbound-train.com/cdr.html
                       Live Free, that's the message!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]